@vkontakte/videoplayer 1.1.21 → 1.1.22
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 +10 -10
- package/es2015.esm.js +10 -10
- package/es2018.cjs.js +10 -10
- package/es2018.esm.js +10 -10
- package/esnext.cjs.js +10 -10
- package/esnext.esm.js +10 -10
- package/evergreen.esm.js +10 -10
- package/package.json +2 -2
package/es2018.cjs.js
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* @vkontakte/videoplayer v1.1.
|
|
3
|
-
*
|
|
4
|
-
* https://st.mycdn.me/static/vkontakte-videoplayer/1-1-
|
|
2
|
+
* @vkontakte/videoplayer v1.1.22
|
|
3
|
+
* Fri, 28 Apr 2023 10:47:37 GMT
|
|
4
|
+
* https://st.mycdn.me/static/vkontakte-videoplayer/1-1-22/doc/
|
|
5
5
|
*/
|
|
6
|
-
"use strict";var
|
|
7
|
-
`)},ys=(t,e,i)=>{const n=t.info,{width:l,height:o}=Oe(i.ui.playerSize),r={version:Qo,viewport:`${l}x${o}`,volume:Math.round(Oe(i.state.volume$)*100)},s=i.videoId;s&&(r.id=s),n.currentFormat$.getValue()&&(r.provider=n.currentFormat$.getValue()),n.hostname$.getValue()&&(r.cdn=n.hostname$.getValue());const d=n.intrinsicVideoSize$.getValue();d&&(r.videoSize=`${d.width}x${d.height}`);const m=n.currentBuffer$.getValue();m&&(r.buffer=Math.max(m.end-Oe(i.state.positionExact$),0));const f=n.throughputEstimation$.getValue();f&&(r.speed=f);const p=n.videoBitrate$.getValue();return p&&(r.bitrate=p),r};var On=typeof globalThis!="undefined"?globalThis:typeof window!="undefined"?window:typeof global!="undefined"?global:typeof self!="undefined"?self:{},Ei=function(t){return t&&t.Math==Math&&t},Wt=Ei(typeof globalThis=="object"&&globalThis)||Ei(typeof window=="object"&&window)||Ei(typeof self=="object"&&self)||Ei(typeof On=="object"&&On)||function(){return this}()||Function("return this")(),Yt=function(t){try{return!!t()}catch(e){return!0}},ks=Yt,Fi=!ks(function(){var t=function(){}.bind();return typeof t!="function"||t.hasOwnProperty("prototype")}),Ps=Fi,Yo=Function.prototype,Fn=Yo.apply,jn=Yo.call,Ss=typeof Reflect=="object"&&Reflect.apply||(Ps?jn.bind(Fn):function(){return jn.apply(Fn,arguments)}),Ko=Fi,Go=Function.prototype,hn=Go.call,Vs=Ko&&Go.bind.bind(hn,hn),Nt=Ko?Vs:function(t){return function(){return hn.apply(t,arguments)}},Xo=Nt,As=Xo({}.toString),Cs=Xo("".slice),ji=function(t){return Cs(As(t),8,-1)},Es=ji,Ts=Nt,Jo=function(t){if(Es(t)==="Function")return Ts(t)},gn=typeof document=="object"&&document.all,Ms=typeof gn=="undefined"&&gn!==void 0,Zo={all:gn,IS_HTMLDDA:Ms},xo=Zo,Ls=xo.all,yt=xo.IS_HTMLDDA?function(t){return typeof t=="function"||t===Ls}:function(t){return typeof t=="function"},$o={},Ns=Yt,fi=!Ns(function(){return Object.defineProperty({},1,{get:function(){return 7}})[1]!=7}),zs=Fi,Ti=Function.prototype.call,vi=zs?Ti.bind(Ti):function(){return Ti.apply(Ti,arguments)},er={},tr={}.propertyIsEnumerable,ir=Object.getOwnPropertyDescriptor,Is=ir&&!tr.call({1:2},1);er.f=Is?function(e){var i=ir(this,e);return!!i&&i.enumerable}:tr;var nr=function(t,e){return{enumerable:!(t&1),configurable:!(t&2),writable:!(t&4),value:e}},Rs=Nt,Bs=Yt,Os=ji,Ki=Object,Fs=Rs("".split),js=Bs(function(){return!Ki("z").propertyIsEnumerable(0)})?function(t){return Os(t)=="String"?Fs(t,""):Ki(t)}:Ki,Vn=function(t){return t==null},Ds=Vn,Hs=TypeError,An=function(t){if(Ds(t))throw Hs("Can't call method on "+t);return t},qs=js,Us=An,Qs=function(t){return qs(Us(t))},Dn=yt,lr=Zo,Ws=lr.all,mi=lr.IS_HTMLDDA?function(t){return typeof t=="object"?t!==null:Dn(t)||t===Ws}:function(t){return typeof t=="object"?t!==null:Dn(t)},or={},Gi=or,Xi=Wt,Ys=yt,Hn=function(t){return Ys(t)?t:void 0},rr=function(t,e){return arguments.length<2?Hn(Gi[t])||Hn(Xi[t]):Gi[t]&&Gi[t][e]||Xi[t]&&Xi[t][e]},Ks=Nt,sr=Ks({}.isPrototypeOf),Gs=typeof navigator!="undefined"&&String(navigator.userAgent)||"",ar=Wt,Ji=Gs,qn=ar.process,Un=ar.Deno,Qn=qn&&qn.versions||Un&&Un.version,Wn=Qn&&Qn.v8,ut,Ri;Wn&&(ut=Wn.split("."),Ri=ut[0]>0&&ut[0]<4?1:+(ut[0]+ut[1]));!Ri&&Ji&&(ut=Ji.match(/Edge\/(\d+)/),(!ut||ut[1]>=74)&&(ut=Ji.match(/Chrome\/(\d+)/),ut&&(Ri=+ut[1])));var Xs=Ri,Yn=Xs,Js=Yt,cr=!!Object.getOwnPropertySymbols&&!Js(function(){var t=Symbol();return!String(t)||!(Object(t)instanceof Symbol)||!Symbol.sham&&Yn&&Yn<41}),Zs=cr,ur=Zs&&!Symbol.sham&&typeof Symbol.iterator=="symbol",xs=rr,$s=yt,ea=sr,ta=ur,ia=Object,dr=ta?function(t){return typeof t=="symbol"}:function(t){var e=xs("Symbol");return $s(e)&&ea(e.prototype,ia(t))},na=String,la=function(t){try{return na(t)}catch(e){return"Object"}},oa=yt,ra=la,sa=TypeError,fr=function(t){if(oa(t))return t;throw sa(ra(t)+" is not a function")},aa=fr,ca=Vn,vr=function(t,e){var i=t[e];return ca(i)?void 0:aa(i)},Zi=vi,xi=yt,$i=mi,ua=TypeError,da=function(t,e){var i,n;if(e==="string"&&xi(i=t.toString)&&!$i(n=Zi(i,t))||xi(i=t.valueOf)&&!$i(n=Zi(i,t))||e!=="string"&&xi(i=t.toString)&&!$i(n=Zi(i,t)))return n;throw ua("Can't convert object to primitive value")},bn={},fa={get exports(){return bn},set exports(t){bn=t}},va=!0,Kn=Wt,ma=Object.defineProperty,pa=function(t,e){try{ma(Kn,t,{value:e,configurable:!0,writable:!0})}catch(i){Kn[t]=e}return e},ha=Wt,ga=pa,Gn="__core-js_shared__",ba=ha[Gn]||ga(Gn,{}),wa=ba,Xn=wa;(fa.exports=function(t,e){return Xn[t]||(Xn[t]=e!==void 0?e:{})})("versions",[]).push({version:"3.27.2",mode:"pure",copyright:"\xA9 2014-2023 Denis Pushkarev (zloirock.ru)",license:"https://github.com/zloirock/core-js/blob/v3.27.2/LICENSE",source:"https://github.com/zloirock/core-js"});var _a=An,ya=Object,mr=function(t){return ya(_a(t))},ka=Nt,Pa=mr,Sa=ka({}.hasOwnProperty),Di=Object.hasOwn||function(e,i){return Sa(Pa(e),i)},Va=Nt,Aa=0,Ca=Math.random(),Ea=Va(1 .toString),Ta=function(t){return"Symbol("+(t===void 0?"":t)+")_"+Ea(++Aa+Ca,36)},Ma=Wt,La=bn,Jn=Di,Na=Ta,za=cr,Ia=ur,li=Ma.Symbol,en=La("wks"),Ra=Ia?li.for||li:li&&li.withoutSetter||Na,pi=function(t){return Jn(en,t)||(en[t]=za&&Jn(li,t)?li[t]:Ra("Symbol."+t)),en[t]},Ba=vi,Zn=mi,xn=dr,Oa=vr,Fa=da,ja=pi,Da=TypeError,Ha=ja("toPrimitive"),qa=function(t,e){if(!Zn(t)||xn(t))return t;var i=Oa(t,Ha),n;if(i){if(e===void 0&&(e="default"),n=Ba(i,t,e),!Zn(n)||xn(n))return n;throw Da("Can't convert object to primitive value")}return e===void 0&&(e="number"),Fa(t,e)},Ua=qa,Qa=dr,pr=function(t){var e=Ua(t,"string");return Qa(e)?e:e+""},Wa=Wt,$n=mi,wn=Wa.document,Ya=$n(wn)&&$n(wn.createElement),Ka=function(t){return Ya?wn.createElement(t):{}},Ga=fi,Xa=Yt,Ja=Ka,hr=!Ga&&!Xa(function(){return Object.defineProperty(Ja("div"),"a",{get:function(){return 7}}).a!=7}),Za=fi,xa=vi,$a=er,e1=nr,t1=Qs,i1=pr,n1=Di,l1=hr,el=Object.getOwnPropertyDescriptor;$o.f=Za?el:function(e,i){if(e=t1(e),i=i1(i),l1)try{return el(e,i)}catch(n){}if(n1(e,i))return e1(!xa($a.f,e,i),e[i])};var o1=Yt,r1=yt,s1=/#|\.prototype\./,hi=function(t,e){var i=c1[a1(t)];return i==d1?!0:i==u1?!1:r1(e)?o1(e):!!e},a1=hi.normalize=function(t){return String(t).replace(s1,".").toLowerCase()},c1=hi.data={},u1=hi.NATIVE="N",d1=hi.POLYFILL="P",f1=hi,tl=Jo,v1=fr,m1=Fi,p1=tl(tl.bind),h1=function(t,e){return v1(t),e===void 0?t:m1?p1(t,e):function(){return t.apply(e,arguments)}},gr={},g1=fi,b1=Yt,w1=g1&&b1(function(){return Object.defineProperty(function(){},"prototype",{value:42,writable:!1}).prototype!=42}),_1=mi,y1=String,k1=TypeError,br=function(t){if(_1(t))return t;throw k1(y1(t)+" is not an object")},P1=fi,S1=hr,V1=w1,Mi=br,il=pr,A1=TypeError,tn=Object.defineProperty,C1=Object.getOwnPropertyDescriptor,nn="enumerable",ln="configurable",on="writable";gr.f=P1?V1?function(e,i,n){if(Mi(e),i=il(i),Mi(n),typeof e=="function"&&i==="prototype"&&"value"in n&&on in n&&!n[on]){var l=C1(e,i);l&&l[on]&&(e[i]=n.value,n={configurable:ln in n?n[ln]:l[ln],enumerable:nn in n?n[nn]:l[nn],writable:!1})}return tn(e,i,n)}:tn:function(e,i,n){if(Mi(e),i=il(i),Mi(n),S1)try{return tn(e,i,n)}catch(l){}if("get"in n||"set"in n)throw A1("Accessors not supported");return"value"in n&&(e[i]=n.value),e};var E1=fi,T1=gr,M1=nr,L1=E1?function(t,e,i){return T1.f(t,e,M1(1,i))}:function(t,e,i){return t[e]=i,t},Li=Wt,N1=Ss,z1=Jo,I1=yt,R1=$o.f,B1=f1,$t=or,O1=h1,ei=L1,nl=Di,F1=function(t){var e=function(i,n,l){if(this instanceof e){switch(arguments.length){case 0:return new t;case 1:return new t(i);case 2:return new t(i,n)}return new t(i,n,l)}return N1(t,this,arguments)};return e.prototype=t.prototype,e},j1=function(t,e){var i=t.target,n=t.global,l=t.stat,o=t.proto,r=n?Li:l?Li[i]:(Li[i]||{}).prototype,s=n?$t:$t[i]||ei($t,i,{})[i],c=s.prototype,a,d,m,f,p,w,b,y,N;for(f in e)a=B1(n?f:i+(l?".":"#")+f,t.forced),d=!a&&r&&nl(r,f),w=s[f],d&&(t.dontCallGetSet?(N=R1(r,f),b=N&&N.value):b=r[f]),p=d&&b?b:e[f],!(d&&typeof w==typeof p)&&(t.bind&&d?y=O1(p,Li):t.wrap&&d?y=F1(p):o&&I1(p)?y=z1(p):y=p,(t.sham||p&&p.sham||w&&w.sham)&&ei(y,"sham",!0),ei(s,f,y),o&&(m=i+"Prototype",nl($t,m)||ei($t,m,{}),ei($t[m],f,p),t.real&&c&&(a||!c[f])&&ei(c,f,p)))},D1=mi,H1=ji,q1=pi,U1=q1("match"),Q1=function(t){var e;return D1(t)&&((e=t[U1])!==void 0?!!e:H1(t)=="RegExp")},W1=pi,Y1=W1("toStringTag"),wr={};wr[Y1]="z";var K1=String(wr)==="[object z]",G1=K1,X1=yt,Ii=ji,J1=pi,Z1=J1("toStringTag"),x1=Object,$1=Ii(function(){return arguments}())=="Arguments",e0=function(t,e){try{return t[e]}catch(i){}},t0=G1?Ii:function(t){var e,i,n;return t===void 0?"Undefined":t===null?"Null":typeof(i=e0(e=x1(t),Z1))=="string"?i:$1?Ii(e):(n=Ii(e))=="Object"&&X1(e.callee)?"Arguments":n},i0=t0,n0=String,l0=function(t){if(i0(t)==="Symbol")throw TypeError("Cannot convert a Symbol value to a string");return n0(t)},o0=br,r0=function(){var t=o0(this),e="";return t.hasIndices&&(e+="d"),t.global&&(e+="g"),t.ignoreCase&&(e+="i"),t.multiline&&(e+="m"),t.dotAll&&(e+="s"),t.unicode&&(e+="u"),t.unicodeSets&&(e+="v"),t.sticky&&(e+="y"),e},s0=vi,a0=Di,c0=sr,u0=r0,ll=RegExp.prototype,d0=function(t){var e=t.flags;return e===void 0&&!("flags"in ll)&&!a0(t,"flags")&&c0(ll,t)?s0(u0,t):e},Cn=Nt,f0=mr,v0=Math.floor,rn=Cn("".charAt),m0=Cn("".replace),sn=Cn("".slice),p0=/\$([$&'`]|\d{1,2}|<[^>]*>)/g,h0=/\$([$&'`]|\d{1,2})/g,g0=function(t,e,i,n,l,o){var r=i+t.length,s=n.length,c=h0;return l!==void 0&&(l=f0(l),c=p0),m0(o,c,function(a,d){var m;switch(rn(d,0)){case"$":return"$";case"&":return t;case"`":return sn(e,0,i);case"'":return sn(e,r);case"<":m=l[sn(d,1,-1)];break;default:var f=+d;if(f===0)return a;if(f>s){var p=v0(f/10);return p===0?a:p<=s?n[p-1]===void 0?rn(d,1):n[p-1]+rn(d,1):a}m=n[f-1]}return m===void 0?"":m})},b0=j1,w0=vi,En=Nt,ol=An,_0=yt,y0=Vn,k0=Q1,ti=l0,P0=vr,S0=d0,V0=g0,A0=pi,C0=va,E0=A0("replace"),T0=TypeError,_r=En("".indexOf),M0=En("".replace),rl=En("".slice),L0=Math.max,sl=function(t,e,i){return i>t.length?-1:e===""?i:_r(t,e,i)};b0({target:"String",proto:!0},{replaceAll:function(e,i){var n=ol(this),l,o,r,s,c,a,d,m,f,p=0,w=0,b="";if(!y0(e)){if(l=k0(e),l&&(o=ti(ol(S0(e))),!~_r(o,"g")))throw T0("`.replaceAll` does not allow non-global regexes");if(r=P0(e,E0),r)return w0(r,e,n,i);if(C0&&l)return M0(ti(n),e,i)}for(s=ti(n),c=ti(e),a=_0(i),a||(i=ti(i)),d=c.length,m=L0(1,d),p=sl(s,c,0);p!==-1;)f=a?ti(i(c,p,s)):V0(c,s,p,[],void 0,i),b+=rl(s,w,p)+f,w=p+d,p=sl(s,c,p+m);return w<s.length&&(b+=rl(s,w)),b}});var N0=rr,z0=N0,I0=z0,R0=I0("String","replaceAll"),B0=R0,O0=B0,F0=O0,j0=F0,D0=j0;exports.InterfaceLanguage=void 0;(function(t){t.RU="ru",t.EN="en"})(exports.InterfaceLanguage||(exports.InterfaceLanguage={}));const H0={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_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_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_debug_overlay:"\u0422\u0435\u0445\u043D\u0438\u0447\u0435\u0441\u043A\u0430\u044F \u0438\u043D\u0444\u043E\u0440\u043C\u0430\u0446\u0438\u044F",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",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"},q0={mobile_unmute:"Unmute",auto_quality_invariant:"Auto",auto_quality:"Auto ({actual})",auto_quality_option:"Auto",menu_quality:"Quality",menu_playback_rate:"Playback rate",menu_report:"Report a problem",menu_pip:"Picture in picture",menu_chromecast:"Chromecast stream",menu_copy_debug:"Copy debug info",menu_debug_overlay:"Tech stats",submenu_quality:"Quality",submenu_playback_rate:"Playback rate",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"},Tn=new Map;Tn.set(exports.InterfaceLanguage.EN,q0);Tn.set(exports.InterfaceLanguage.RU,H0);const yr=(t,e,i)=>{var n;const l=(n=Tn.get(t))===null||n===void 0?void 0:n[e];return de.isNullable(l)?e+Object.values(i!=null?i:{}).join(" "):i?D0(l,/{(\w+?)}/g,(o,r)=>{var s;return(s=i[r])!==null&&s!==void 0?s:""}):l},Te=(t,e)=>{const{interfaceLanguage$:i}=Qe(),n=Oe(i);return yr(n,t,e)};var _n="data:image/svg+xml,%3csvg width='24' height='24' fill='none' xmlns='http://www.w3.org/2000/svg'%3e%3cpath d='M13.25 2.833c.222.74.378 1.479 1.574 2.19a.574.574 0 0 0 .12.05c1.355.35 2.028-.021 2.654-.439.663-.442.86-.314 1.124-.053l.644.643c.294.294.412.412 0 1.178-.366.68-.779 1.313-.435 2.662a.469.469 0 0 0 .05.12c.71 1.206 1.448 1.418 2.186 1.566.78.156.83.386.833.757v.91c0 .416 0 .583-.833.833-.74.222-1.479.378-2.19 1.574a.469.469 0 0 0-.05.12c-.35 1.355.021 2.028.439 2.654.442.663.314.86.053 1.124l-.643.644c-.294.294-.412.412-1.178 0-.68-.366-1.313-.779-2.662-.435a.464.464 0 0 0-.12.05c-1.206.71-1.418 1.448-1.566 2.186-.156.78-.386.83-.757.833h-.91c-.416 0-.583 0-.833-.833-.222-.74-.378-1.479-1.574-2.19a.468.468 0 0 0-.12-.05c-1.355-.35-2.028.021-2.654.439-.663.442-.86.314-1.124.053l-.644-.643c-.294-.294-.412-.412 0-1.178.366-.68.779-1.313.435-2.662a.466.466 0 0 0-.05-.12c-.71-1.206-1.448-1.418-2.186-1.566-.78-.156-.83-.386-.833-.757v-.91c0-.416 0-.583.833-.833.74-.222 1.479-.378 2.19-1.574a.467.467 0 0 0 .05-.12c.35-1.355-.021-2.028-.439-2.654-.442-.663-.314-.86-.053-1.124l.643-.644c.294-.294.412-.412 1.178 0 .68.366 1.313.779 2.662.435a.467.467 0 0 0 .12-.05c1.206-.71 1.418-1.448 1.566-2.186.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' fill='white'/%3e%3c/svg%3e",U0="data:image/svg+xml,%3csvg height='24' width='24' xmlns='http://www.w3.org/2000/svg'%3e%3cg fill='none' fill-rule='evenodd'%3e%3cpath d='M0 0h24v24H0z'/%3e%3cpath 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' fill='white' fill-rule='nonzero'/%3e%3c/g%3e%3c/svg%3e",Q0="data:image/svg+xml,%3csvg width='24' height='24' viewBox='0 0 24 24' fill='none' xmlns='http://www.w3.org/2000/svg'%3e%3cpath d='M14.3377 4L7.6623 4C6.85427 3.99999 6.19339 3.99998 5.65632 4.04386C5.10041 4.08928 4.59833 4.18617 4.12944 4.42508C3.39561 4.79898 2.79898 5.39561 2.42508 6.12944C2.18617 6.59833 2.08928 7.10041 2.04386 7.65632C1.99998 8.19339 1.99999 8.85426 2 9.66229V12.3837C1.99999 13.1917 1.99998 13.8525 2.04386 14.3896C2.08928 14.9455 2.18617 15.4476 2.42508 15.9165C2.79898 16.6503 3.39561 17.2469 4.12944 17.6208C4.59833 17.8598 5.10041 17.9566 5.65632 18.0021C6.1934 18.0459 6.85424 18.0459 7.66229 18.0459L10.1 18.0459C10.5971 18.0459 11 17.643 11 17.1459C11 16.6489 10.5971 16.2459 10.1 16.2459L7.7 16.2459C6.84507 16.2459 6.258 16.2452 5.80289 16.208C5.3583 16.1717 5.11947 16.1051 4.94662 16.017C4.55148 15.8157 4.23022 15.4944 4.02889 15.0993C3.94082 14.9264 3.87421 14.6876 3.83789 14.243C3.8007 13.7879 3.8 13.2008 3.8 12.3459V9.7C3.8 8.84507 3.8007 8.258 3.83789 7.8029C3.87421 7.3583 3.94082 7.11947 4.02889 6.94662C4.23022 6.55148 4.55148 6.23022 4.94662 6.02889C5.11947 5.94082 5.3583 5.87421 5.8029 5.83789C6.258 5.8007 6.84507 5.8 7.7 5.8L14.3 5.8C15.1549 5.8 15.742 5.8007 16.1971 5.83789C16.6417 5.87421 16.8805 5.94082 17.0534 6.02889C17.4485 6.23022 17.7698 6.55148 17.9711 6.94662C18.0592 7.11947 18.1258 7.3583 18.1621 7.8029C18.1993 8.258 18.2 8.84507 18.2 9.7V11.1C18.2 11.5971 18.6029 12 19.1 12C19.5971 12 20 11.5971 20 11.1V9.6623C20 8.85425 20 8.1934 19.9561 7.65632C19.9107 7.10041 19.8138 6.59833 19.5749 6.12944C19.201 5.39561 18.6044 4.79898 17.8706 4.42508C17.4017 4.18617 16.8996 4.08928 16.3437 4.04386C15.8066 3.99998 15.1457 3.99999 14.3377 4Z' fill='white'/%3e%3cpath d='M13.1907 14.9555C13 15.3299 13 15.8199 13 16.8V17.2C13 18.1801 13 18.6701 13.1907 19.0445C13.3585 19.3738 13.6262 19.6415 13.9555 19.8093C14.3299 20 14.8199 20 15.8 20H19.2C20.1801 20 20.6701 20 21.0445 19.8093C21.3738 19.6415 21.6415 19.3738 21.8093 19.0445C22 18.6701 22 18.1801 22 17.2V16.8C22 15.8199 22 15.3299 21.8093 14.9555C21.6415 14.6262 21.3738 14.3585 21.0445 14.1907C20.6701 14 20.1801 14 19.2 14H15.8C14.8199 14 14.3299 14 13.9555 14.1907C13.6262 14.3585 13.3585 14.6262 13.1907 14.9555Z' fill='white'/%3e%3cpath d='M6.35684 9.62964C6.35908 9.63192 6.36132 9.63418 6.36358 9.63644L8.92721 12.2H7.89998C7.40292 12.2 6.99998 12.6029 6.99998 13.1C6.99998 13.5971 7.40292 14 7.89998 14H11.1C11.5971 14 12 13.5971 12 13.1V9.90005C12 9.40299 11.5971 9.00005 11.1 9.00005C10.6029 9.00005 10.2 9.40299 10.2 9.90005V10.9219L7.6703 8.3975L7.53642 8.26363C7.18495 7.91216 6.6151 7.91216 6.26363 8.26363C5.91216 8.6151 5.91216 9.18495 6.26363 9.53642L6.35684 9.62964Z' fill='white'/%3e%3c/svg%3e",W0="data:image/svg+xml,%3csvg width='15' height='5' fill='none' xmlns='http://www.w3.org/2000/svg'%3e%3cpath 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' fill='%2370C1FF'/%3e%3c/svg%3e",Y0="data:image/svg+xml,%3csvg width='15' height='6' fill='none' xmlns='http://www.w3.org/2000/svg'%3e%3cpath d='M11.516 5h1.107C14.103 5 15 4.065 15 2.5S14.103 0 12.623 0h-1.107C11.191 0 11 .2 11 .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-.468zM6.516 5c.325 0 .516-.198.516-.536V2.922h1.936v1.542c0 .338.191.536.516.536S10 4.802 10 4.464V.54C10 .198 9.809 0 9.484 0s-.516.198-.516.54v1.531H7.032V.54c0-.342-.191-.54-.516-.54S6 .198 6 .54v3.989c0 .338.191.471.516.471z' fill='%2370C1FF'/%3e%3cpath fill-rule='evenodd' clip-rule='evenodd' d='M3.338 4.909A3.9 3.9 0 0 1 2.5 5C1.037 5 0 4.135 0 2.553 0 .983 1.037 0 2.5 0 3.96 0 5 .984 5 2.553c0 .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.037C3.947 1.517 3.307.9 2.5.9c-.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' fill='%2370C1FF'/%3e%3c/svg%3e",K0="data:image/svg+xml,%3csvg width='15' height='6' fill='none' xmlns='http://www.w3.org/2000/svg'%3e%3cpath 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' fill='%2370C1FF'/%3e%3cpath fill-rule='evenodd' clip-rule='evenodd' 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' fill='%2370C1FF'/%3e%3c/svg%3e",G0="data:image/svg+xml,%3csvg width='15' height='5' fill='none' xmlns='http://www.w3.org/2000/svg'%3e%3cpath 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' fill='%2370C1FF'/%3e%3cpath fill-rule='evenodd' clip-rule='evenodd' 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.995a1.46 1.46 0 0 0-.547.44c-.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.43.52.52 0 0 1-.204.437c-.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' fill='%2370C1FF'/%3e%3c/svg%3e",X0="data:image/svg+xml,%3csvg width='15' height='5' fill='none' xmlns='http://www.w3.org/2000/svg'%3e%3cpath 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-4 0c.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' fill='%2370C1FF'/%3e%3c/svg%3e",kr="data:image/svg+xml,%3csvg height='16' width='16' xmlns='http://www.w3.org/2000/svg'%3e%3cpath 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' fill='white'/%3e%3c/svg%3e",al="data:image/svg+xml,%3csvg width='12' height='16' fill='none' xmlns='http://www.w3.org/2000/svg'%3e%3cpath 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' fill='white'/%3e%3c/svg%3e",J0="data:image/svg+xml,%3csvg width='24' height='24' fill='none' xmlns='http://www.w3.org/2000/svg'%3e%3cpath fill-rule='evenodd' clip-rule='evenodd' 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' fill='white'/%3e%3c/svg%3e",Z0="data:image/svg+xml,%3csvg width='24' height='24' fill='none' xmlns='http://www.w3.org/2000/svg'%3e%3cpath fill-rule='evenodd' clip-rule='evenodd' 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 4H16.812a2.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-.093.284-.022.655-.023 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.093-.284.022-.655.023-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' fill='white'/%3e%3c/svg%3e",x0="data:image/svg+xml,%3csvg width='24' height='24' fill='none' xmlns='http://www.w3.org/2000/svg'%3e%3cpath 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' fill='white'/%3e%3c/svg%3e";const Pr=t=>{if(document.queryCommandSupported&&document.queryCommandSupported("copy")){const e=document.createElement("textarea");e.textContent=t,e.style.position="absolute",e.style.top="-9999px",document.body.appendChild(e),e.select();try{document.execCommand("copy")}finally{document.body.removeChild(e)}}};function $0(t){Se(t,"v-1gdbwrb",".icon.v-1gdbwrb{display:block;width:24px;height:24px}.wave.v-1gdbwrb{animation-duration:1s;animation-iteration-count:infinite}.wave1.v-1gdbwrb{animation-name:v-1gdbwrb-wave1}.wave2.v-1gdbwrb{animation-name:v-1gdbwrb-wave2}.wave3.v-1gdbwrb{animation-name:v-1gdbwrb-wave3}@keyframes v-1gdbwrb-wave1{0%{opacity:0.3}33%{opacity:1}66%{opacity:1}100%{opacity:1}}@keyframes v-1gdbwrb-wave2{0%{opacity:0.3}33%{opacity:0.3}66%{opacity:1}100%{opacity:1}}@keyframes v-1gdbwrb-wave3{0%{opacity:0.3}33%{opacity:0.3}66%{opacity:0.3}100%{opacity:1}}")}function cl(t){let e,i,n,l;function o(c,a){if(c[1]===Ve.ChromecastState.AVAILABLE)return ic;if(c[1]===Ve.ChromecastState.CONNECTED)return tc;if(c[1]===Ve.ChromecastState.CONNECTING)return ec}let r=o(t),s=r&&r(t);return{c(){e=g("div"),s&&s.c(),u(e,"class",i=Lt(t[0])+" v-1gdbwrb"),u(e,"role","button"),u(e,"tabindex","0")},m(c,a){M(c,e,a),s&&s.m(e,null),n||(l=oe(e,"click",t[4]),n=!0)},p(c,a){r!==(r=o(c))&&(s&&s.d(1),s=r&&r(c),s&&(s.c(),s.m(e,null))),a&1&&i!==(i=Lt(c[0])+" v-1gdbwrb")&&u(e,"class",i)},d(c){c&&T(e),s&&s.d(),n=!1,l()}}}function ec(t){let e,i,n,l,o,r,s;return{c(){e=Me("svg"),i=Me("g"),n=Me("path"),l=Me("path"),o=Me("path"),r=Me("path"),s=Me("path"),u(n,"class","wave wave1 v-1gdbwrb"),u(n,"d","M1 18v3h3c0-1.66-1.34-3-3-3z"),u(n,"opacity",".3"),u(n,"fill","#fff"),u(l,"class","wave wave2 v-1gdbwrb"),u(l,"d","M1 14v2c2.76 0 5 2.24 5 5h2c0-3.87-3.13-7-7-7z"),u(l,"opacity",".3"),u(l,"fill","#fff"),u(o,"class","wave wave3 v-1gdbwrb"),u(o,"d","M1 10v2a9 9 0 0 1 9 9h2c0-6.08-4.93-11-11-11z"),u(o,"opacity",".3"),u(o,"fill","#fff"),u(r,"d","M21 3H3c-1.1 0-2 .9-2 2v3h2V5h18v14h-7v2h7c1.1 0 2-.9 2-2V5c0-1.1-.9-2-2-2z"),u(r,"fill","#fff"),u(s,"d","M0 0h24v24H0z"),u(i,"fill","none"),u(i,"fill-rule","evenodd"),u(e,"class","icon v-1gdbwrb"),u(e,"width","22"),u(e,"height","22"),u(e,"viewBox","0 0 24 24"),u(e,"xmlns","http://www.w3.org/2000/svg")},m(c,a){M(c,e,a),v(e,i),v(i,n),v(i,l),v(i,o),v(i,r),v(i,s)},d(c){c&&T(e)}}}function tc(t){let e,i,n,l;return{c(){e=Me("svg"),i=Me("g"),n=Me("path"),l=Me("path"),u(n,"d","M1 18v3h3c0-1.66-1.34-3-3-3zm0-4v2c2.76 0 5 2.24 5 5h2c0-3.87-3.13-7-7-7zm18-7H5v1.63c3.96 1.28 7.09 4.41 8.37 8.37H19V7zM1 10v2a9 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"),u(n,"fill","#fff"),u(l,"d","M0 0h24v24H0z"),u(i,"fill","none"),u(i,"fill-rule","evenodd"),u(e,"class","icon v-1gdbwrb"),u(e,"width","22"),u(e,"height","22"),u(e,"viewBox","0 0 24 24"),u(e,"xmlns","http://www.w3.org/2000/svg")},m(o,r){M(o,e,r),v(e,i),v(i,n),v(i,l)},d(o){o&&T(e)}}}function ic(t){let e,i,n,l;return{c(){e=Me("svg"),i=Me("g"),n=Me("path"),l=Me("path"),u(n,"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"),u(n,"fill","#fff"),u(l,"d","M0 0h24v24H0z"),u(i,"fill","none"),u(i,"fill-rule","evenodd"),u(e,"class","icon v-1gdbwrb"),u(e,"width","22"),u(e,"height","22"),u(e,"viewBox","0 0 24 24"),u(e,"xmlns","http://www.w3.org/2000/svg")},m(o,r){M(o,e,r),v(e,i),v(i,n),v(i,l)},d(o){o&&T(e)}}}function nc(t){let e,i=t[1]!==Ve.ChromecastState.NOT_AVAILABLE&&cl(t);return{c(){i&&i.c(),e=ct()},m(n,l){i&&i.m(n,l),M(n,e,l)},p(n,[l]){n[1]!==Ve.ChromecastState.NOT_AVAILABLE?i?i.p(n,l):(i=cl(n),i.c(),i.m(e.parentNode,e)):i&&(i.d(1),i=null)},i:B,o:B,d(n){i&&i.d(n),n&&T(e)}}}function lc(t,e,i){let n,{className:l=""}=e;const r=Qe().state.chromecastState$;Q(t,r,a=>i(3,n=a));let s;function c(a){ft.call(this,t,a)}return t.$$set=a=>{"className"in a&&i(0,l=a.className)},t.$$.update=()=>{t.$$.dirty&8&&i(1,s=n)},[l,s,r,n,c]}class Sr extends be{constructor(e){super(),ge(this,e,lc,nc,me,{className:0},$0)}}function oc(t){Se(t,"v-w3pect","ul.v-w3pect.v-w3pect{margin:0;padding:0}.menu.v-w3pect.v-w3pect{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-w3pect.v-w3pect{width:100%}.menu-desktop.v-w3pect.v-w3pect{position:absolute;right:0;bottom:0}.menu-mobile.v-w3pect.v-w3pect{width:100%;background:var(--videplayer-mobile-settings-bg);font-size:15px;line-height:50px}.hidden.v-w3pect.v-w3pect{visibility:hidden;opacity:0}.menu-mobile.hidden.v-w3pect.v-w3pect{display:none}.menu-subList.v-w3pect.v-w3pect{min-width:134px;padding-bottom:0}.item.v-w3pect.v-w3pect{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-w3pect.v-w3pect{padding:0 14px}.item-quality.item-mobile.v-w3pect.v-w3pect{flex-direction:row-reverse}.quality-title-mobile.v-w3pect.v-w3pect{flex-grow:1}.item.v-w3pect.v-w3pect:hover{background-color:rgba(255, 255, 255, 0.08)}.item-mobile.v-w3pect.v-w3pect:hover{background:var(--videplayer-mobile-settings-bg)}.menu-subList.v-w3pect .item.v-w3pect{color:rgba(255, 255, 255, 0.9)}.menu-subList.v-w3pect .item.v-w3pect:last-child{margin-bottom:4px}.menu-icon.v-w3pect.v-w3pect{margin-right:16px}.chromecast-item{padding-right:16px}.menu-title.v-w3pect.v-w3pect{flex-grow:1;margin-right:24px;overflow:hidden;text-overflow:ellipsis}.menu-value.v-w3pect.v-w3pect{position:relative;opacity:0.7}.menu-valueIcon.v-w3pect.v-w3pect{position:absolute;top:10px;margin-left:4px;width:15px}.menu-valueIcon-list.v-w3pect.v-w3pect{position:absolute;top:12px;width:15px;right:6px}.menu-divider.v-w3pect.v-w3pect{background-color:rgba(255, 255, 255, 0.3);height:1px;margin-bottom:4px}.menu-header.v-w3pect.v-w3pect{color:var(--white);cursor:pointer;justify-content:space-between;display:flex}.menu-header-back-icon.v-w3pect.v-w3pect{width:16px;height:24px}.menu-header.v-w3pect:hover .menu-header-back-icon.v-w3pect{opacity:0.8;transition:opacity 0.2s}.itemIcon.v-w3pect.v-w3pect{margin-right:auto;opacity:0.9}.items.v-w3pect.v-w3pect::-webkit-scrollbar{width:8px}.items.v-w3pect.v-w3pect::-webkit-scrollbar-track{box-shadow:none;background-color:#3a3a3a;border-radius:4px}.items.v-w3pect.v-w3pect::-webkit-scrollbar-thumb{min-height:40px;border-radius:5px;background-color:#666;border:1px solid transparent;background-clip:padding-box}.items.v-w3pect.v-w3pect::-webkit-scrollbar-thumb:hover{background-color:#777}.items-mobile.v-w3pect.v-w3pect{overflow-y:auto;max-height:160px;text-align:left}.close.v-w3pect.v-w3pect{position:relative;width:12px;height:12px;padding:12px;margin-right:-12px}.close.v-w3pect.v-w3pect:before,.close.v-w3pect.v-w3pect:after{position:absolute;left:18px;content:' ';height:12px;width:2px;background-color:var(--white)}.close.v-w3pect.v-w3pect:before{transform:rotate(45deg)}.close.v-w3pect.v-w3pect:after{transform:rotate(-45deg)}")}function ul(t,e,i){const n=t.slice();return n[49]=e[i],n}function dl(t,e,i){const n=t.slice();return n[52]=e[i],n}function fl(t){let e,i,n,l,o,r,s,c;return{c(){e=g("div"),i=g("div"),i.textContent=`${Te("submenu_settings")}`,n=L(),l=g("div"),o=L(),r=g("div"),u(l,"class","close v-w3pect"),u(e,"class","item menu-header v-w3pect"),E(e,"item-mobile",t[0]),u(r,"class","menu-divider v-w3pect")},m(a,d){M(a,e,d),v(e,i),v(e,n),v(e,l),M(a,o,d),M(a,r,d),s||(c=oe(l,"click",t[26]),s=!0)},p(a,d){d[0]&1&&E(e,"item-mobile",a[0])},d(a){a&&T(e),a&&T(o),a&&T(r),s=!1,c()}}}function vl(t){let e,i;return{c(){e=g("img"),u(e,"class","menu-valueIcon v-w3pect"),Ee(e.src,i=t[7])||u(e,"src",i),u(e,"alt","")},m(n,l){M(n,e,l)},p(n,l){l[0]&128&&!Ee(e.src,i=n[7])&&u(e,"src",i)},d(n){n&&T(e)}}}function ml(t){let e,i,n,l,o,r,s,c,a,d,m;return{c(){e=g("li"),i=g("img"),l=L(),o=g("div"),o.textContent=`${Te("menu_playback_rate")}`,r=L(),s=g("div"),c=_e(t[11]),a=_e("x"),u(i,"class","menu-icon v-w3pect"),Ee(i.src,n=U0)||u(i,"src",n),u(i,"alt",""),u(o,"class","menu-title v-w3pect"),u(s,"class","menu-value v-w3pect"),u(e,"class","item v-w3pect"),u(e,"role","menuitemradio"),u(e,"tabindex","0"),E(e,"item-mobile",t[0])},m(f,p){M(f,e,p),v(e,i),v(e,l),v(e,o),v(e,r),v(e,s),v(s,c),v(s,a),d||(m=oe(e,"click",t[30]),d=!0)},p(f,p){p[0]&2048&&Le(c,f[11]),p[0]&1&&E(e,"item-mobile",f[0])},d(f){f&&T(e),d=!1,m()}}}function pl(t){let e,i,n,l,o,r,s,c,a,d,m,f,p,w,b,y,N,_,S,D,R,F,I=t[23]&&rc(t),k=t[3]&&hl(t);return{c(){I&&I.c(),e=L(),k&&k.c(),i=L(),n=g("li"),l=g("img"),r=L(),s=g("div"),s.textContent=`${Te("menu_report")}`,c=L(),a=g("li"),d=g("img"),f=L(),p=g("div"),p.textContent=`${Te("menu_copy_debug")}`,w=L(),b=g("li"),y=g("img"),_=L(),S=g("div"),S.textContent=`${Te("menu_debug_overlay")}`,u(l,"class","menu-icon v-w3pect"),Ee(l.src,o=J0)||u(l,"src",o),u(l,"alt",""),u(s,"class","menu-title v-w3pect"),u(n,"class","item item-mobile v-w3pect"),u(n,"role","menuitemradio"),u(n,"tabindex","0"),u(d,"class","menu-icon v-w3pect"),Ee(d.src,m=Z0)||u(d,"src",m),u(d,"alt",""),u(p,"class","menu-title v-w3pect"),u(a,"class","item item-mobile v-w3pect"),u(a,"role","menuitemradio"),u(a,"tabindex","0"),u(y,"class","menu-icon v-w3pect"),Ee(y.src,N=x0)||u(y,"src",N),u(y,"alt",""),u(S,"class","menu-title v-w3pect"),u(b,"class","item item-mobile v-w3pect"),u(b,"role","menuitemradio"),u(b,"tabindex","0")},m(O,C){I&&I.m(O,C),M(O,e,C),k&&k.m(O,C),M(O,i,C),M(O,n,C),v(n,l),v(n,r),v(n,s),M(O,c,C),M(O,a,C),v(a,d),v(a,f),v(a,p),M(O,w,C),M(O,b,C),v(b,y),v(b,_),v(b,S),D=!0,R||(F=[oe(n,"click",t[33]),oe(a,"click",t[34]),oe(b,"click",t[35])],R=!0)},p(O,C){O[23]&&I.p(O,C),O[3]?k?(k.p(O,C),C[0]&8&&h(k,1)):(k=hl(O),k.c(),h(k,1),k.m(i.parentNode,i)):k&&(se(),P(k,1,1,()=>{k=null}),ae())},i(O){D||(h(k),D=!0)},o(O){P(k),D=!1},d(O){I&&I.d(O),O&&T(e),k&&k.d(O),O&&T(i),O&&T(n),O&&T(c),O&&T(a),O&&T(w),O&&T(b),R=!1,lt(F)}}}function rc(t){let e,i,n,l,o,r,s;return{c(){e=g("li"),i=g("img"),l=L(),o=g("div"),o.textContent=`${Te("menu_pip")}`,u(i,"class","menu-icon v-w3pect"),Ee(i.src,n=Q0)||u(i,"src",n),u(i,"alt",""),u(o,"class","menu-title v-w3pect"),u(e,"class","item item-mobile v-w3pect"),u(e,"role","menuitemradio"),u(e,"tabindex","0")},m(c,a){M(c,e,a),v(e,i),v(e,l),v(e,o),r||(s=oe(e,"click",t[32]),r=!0)},p:B,d(c){c&&T(e),r=!1,s()}}}function hl(t){let e,i,n,l,o,r,s;return i=new Sr({props:{className:"chromecast-item"}}),{c(){e=g("li"),x(i.$$.fragment),n=L(),l=g("div"),l.textContent=`${Te("menu_chromecast")}`,u(l,"class","menu-title v-w3pect"),u(e,"class","item item-mobile v-w3pect"),u(e,"role","menuitemradio"),u(e,"tabindex","0")},m(c,a){M(c,e,a),J(i,e,null),v(e,n),v(e,l),o=!0,r||(s=oe(e,"click",t[25]),r=!0)},p:B,i(c){o||(h(i.$$.fragment,c),o=!0)},o(c){P(i.$$.fragment,c),o=!1},d(c){c&&T(e),Z(i),r=!1,s()}}}function gl(t){let e,i;return{c(){e=g("img"),u(e,"class","itemIcon v-w3pect"),Ee(e.src,i=kr)||u(e,"src",i),u(e,"alt","")},m(n,l){M(n,e,l)},p:B,d(n){n&&T(e)}}}function bl(t){let e,i;return{c(){e=g("img"),u(e,"class","menu-valueIcon-list v-w3pect"),Ee(e.src,i=t[36](t[52].value))||u(e,"src",i),u(e,"alt","")},m(n,l){M(n,e,l)},p(n,l){l[0]&2&&!Ee(e.src,i=n[36](n[52].value))&&u(e,"src",i)},d(n){n&&T(e)}}}function wl(t){let e,i,n,l=t[52].displayValue+"",o,r,s,c,a,d,m=t[52].selected&&gl(),f=!t[0]&&bl(t);function p(){return t[43](t[52])}return{c(){e=g("li"),m&&m.c(),i=L(),n=g("div"),o=_e(l),r=L(),f&&f.c(),s=L(),u(n,"class","v-w3pect"),E(n,"quality-title-mobile",t[0]),u(e,"class","item item-quality v-w3pect"),u(e,"data-value",c=t[52].value),u(e,"role","menuitemradio"),u(e,"tabindex","0"),E(e,"item-mobile",t[0])},m(w,b){M(w,e,b),m&&m.m(e,null),v(e,i),v(e,n),v(n,o),v(e,r),f&&f.m(e,null),v(e,s),a||(d=oe(e,"click",p),a=!0)},p(w,b){t=w,t[52].selected?m?m.p(t,b):(m=gl(),m.c(),m.m(e,i)):m&&(m.d(1),m=null),b[0]&2&&l!==(l=t[52].displayValue+"")&&Le(o,l),b[0]&1&&E(n,"quality-title-mobile",t[0]),t[0]?f&&(f.d(1),f=null):f?f.p(t,b):(f=bl(t),f.c(),f.m(e,s)),b[0]&2&&c!==(c=t[52].value)&&u(e,"data-value",c),b[0]&1&&E(e,"item-mobile",t[0])},d(w){w&&T(e),m&&m.d(),f&&f.d(),a=!1,d()}}}function _l(t){let e,i;return{c(){e=g("img"),u(e,"class","itemIcon v-w3pect"),Ee(e.src,i=kr)||u(e,"src",i),u(e,"alt","")},m(n,l){M(n,e,l)},p:B,d(n){n&&T(e)}}}function yl(t){let e,i,n,l=t[49].displayValue+"",o,r,s,c,a,d=t[49].selected&&_l();function m(){return t[44](t[49])}return{c(){e=g("li"),d&&d.c(),i=L(),n=g("div"),o=_e(l),r=L(),u(n,"class","v-w3pect"),E(n,"quality-title-mobile",t[0]),u(e,"class","item item-quality v-w3pect"),u(e,"data-value",s=t[49].value),u(e,"role","menuitemradio"),u(e,"tabindex","0"),E(e,"item-mobile",t[0])},m(f,p){M(f,e,p),d&&d.m(e,null),v(e,i),v(e,n),v(n,o),v(e,r),c||(a=oe(e,"click",m),c=!0)},p(f,p){t=f,t[49].selected?d?d.p(t,p):(d=_l(),d.c(),d.m(e,i)):d&&(d.d(1),d=null),p[0]&4096&&l!==(l=t[49].displayValue+"")&&Le(o,l),p[0]&1&&E(n,"quality-title-mobile",t[0]),p[0]&4096&&s!==(s=t[49].value)&&u(e,"data-value",s),p[0]&1&&E(e,"item-mobile",t[0])},d(f){f&&T(e),d&&d.d(),c=!1,a()}}}function sc(t){let e,i,n,l,o,r,s,c,a,d,m,f,p,w,b,y,N,_,S,D,R,F,I,k,O,C,Y,q,H,U,X,fe,K,j,te,Ne,ke,ie,Ke,ne,ce=t[0]&&fl(t),we=t[7]&&!t[0]&&vl(t),pe=!t[10]&&ml(t),ve=t[0]&&pl(t),Pe=t[1],he=[];for(let z=0;z<Pe.length;z+=1)he[z]=wl(dl(t,Pe,z));let ye=t[12],ue=[];for(let z=0;z<ye.length;z+=1)ue[z]=yl(ul(t,ye,z));return{c(){e=g("div"),i=g("div"),ce&&ce.c(),n=L(),l=g("ul"),o=g("li"),r=g("img"),c=L(),a=g("div"),a.textContent=`${Te("menu_quality")}`,d=L(),m=g("div"),f=_e(t[8]),p=L(),we&&we.c(),w=L(),pe&&pe.c(),b=L(),ve&&ve.c(),y=L(),N=g("div"),_=g("div"),S=g("img"),R=L(),F=g("div"),F.textContent=`${Te("submenu_quality")}`,I=L(),k=g("div"),O=L(),C=g("ul");for(let z=0;z<he.length;z+=1)he[z].c();Y=L(),q=g("div"),H=g("div"),U=g("img"),fe=L(),K=g("div"),K.textContent=`${Te("submenu_playback_rate")}`,j=L(),te=g("div"),Ne=L(),ke=g("ul");for(let z=0;z<ue.length;z+=1)ue[z].c();u(r,"class","menu-icon v-w3pect"),Ee(r.src,s=_n)||u(r,"src",s),u(r,"alt",""),u(a,"class","menu-title v-w3pect"),u(m,"class","menu-value v-w3pect"),u(o,"class","item v-w3pect"),u(o,"role","menuitemradio"),u(o,"tabindex","0"),E(o,"item-mobile",t[0]),u(l,"class","items v-w3pect"),E(l,"items-mobile",t[0]),u(i,"class","menu v-w3pect"),u(i,"role","menu"),E(i,"menu-desktop",!t[0]),E(i,"menu-mobile",t[0]),E(i,"hidden",!t[4]),Ee(S.src,D=al)||u(S,"src",D),u(S,"class","menu-header-back-icon v-w3pect"),u(S,"alt",""),u(_,"class","item menu-header v-w3pect"),E(_,"item-mobile",t[0]),u(k,"class","menu-divider v-w3pect"),u(C,"class","items v-w3pect"),u(C,"style",t[9]),E(C,"items-mobile",t[0]),u(N,"class","menu menu-subList v-w3pect"),E(N,"menu-desktop",!t[0]),E(N,"menu-mobile",t[0]),E(N,"hidden",!t[5]),Ee(U.src,X=al)||u(U,"src",X),u(U,"class","menu-header-back-icon v-w3pect"),u(U,"alt",""),u(H,"class","item menu-header v-w3pect"),E(H,"item-mobile",t[0]),u(te,"class","menu-divider v-w3pect"),u(ke,"class","items v-w3pect"),E(ke,"items-mobile",t[0]),u(q,"class","menu menu-subList v-w3pect"),E(q,"menu-desktop",!t[0]),E(q,"menu-mobile",t[0]),E(q,"hidden",!t[6]),u(e,"class","v-w3pect"),E(e,"hidden",!t[2]),E(e,"container-mobile",t[0])},m(z,$){M(z,e,$),v(e,i),ce&&ce.m(i,null),v(i,n),v(i,l),v(l,o),v(o,r),v(o,c),v(o,a),v(o,d),v(o,m),v(m,f),v(m,p),we&&we.m(m,null),v(l,w),pe&&pe.m(l,null),v(l,b),ve&&ve.m(l,null),v(e,y),v(e,N),v(N,_),v(_,S),v(_,R),v(_,F),v(N,I),v(N,k),v(N,O),v(N,C);for(let le=0;le<he.length;le+=1)he[le].m(C,null);v(e,Y),v(e,q),v(q,H),v(H,U),v(H,fe),v(H,K),v(q,j),v(q,te),v(q,Ne),v(q,ke);for(let le=0;le<ue.length;le+=1)ue[le].m(ke,null);ie=!0,Ke||(ne=[oe(o,"click",t[27]),oe(_,"click",t[31]),oe(H,"click",t[31])],Ke=!0)},p(z,$){if(z[0]?ce?ce.p(z,$):(ce=fl(z),ce.c(),ce.m(i,n)):ce&&(ce.d(1),ce=null),(!ie||$[0]&256)&&Le(f,z[8]),z[7]&&!z[0]?we?we.p(z,$):(we=vl(z),we.c(),we.m(m,null)):we&&(we.d(1),we=null),(!ie||$[0]&1)&&E(o,"item-mobile",z[0]),z[10]?pe&&(pe.d(1),pe=null):pe?pe.p(z,$):(pe=ml(z),pe.c(),pe.m(l,b)),z[0]?ve?(ve.p(z,$),$[0]&1&&h(ve,1)):(ve=pl(z),ve.c(),h(ve,1),ve.m(l,null)):ve&&(se(),P(ve,1,1,()=>{ve=null}),ae()),(!ie||$[0]&1)&&E(l,"items-mobile",z[0]),(!ie||$[0]&1)&&E(i,"menu-desktop",!z[0]),(!ie||$[0]&1)&&E(i,"menu-mobile",z[0]),(!ie||$[0]&16)&&E(i,"hidden",!z[4]),(!ie||$[0]&1)&&E(_,"item-mobile",z[0]),$[0]&268435459|$[1]&32){Pe=z[1];let le;for(le=0;le<Pe.length;le+=1){const ee=dl(z,Pe,le);he[le]?he[le].p(ee,$):(he[le]=wl(ee),he[le].c(),he[le].m(C,null))}for(;le<he.length;le+=1)he[le].d(1);he.length=Pe.length}if((!ie||$[0]&512)&&u(C,"style",z[9]),(!ie||$[0]&1)&&E(C,"items-mobile",z[0]),(!ie||$[0]&1)&&E(N,"menu-desktop",!z[0]),(!ie||$[0]&1)&&E(N,"menu-mobile",z[0]),(!ie||$[0]&32)&&E(N,"hidden",!z[5]),(!ie||$[0]&1)&&E(H,"item-mobile",z[0]),$[0]&536875009){ye=z[12];let le;for(le=0;le<ye.length;le+=1){const ee=ul(z,ye,le);ue[le]?ue[le].p(ee,$):(ue[le]=yl(ee),ue[le].c(),ue[le].m(ke,null))}for(;le<ue.length;le+=1)ue[le].d(1);ue.length=ye.length}(!ie||$[0]&1)&&E(ke,"items-mobile",z[0]),(!ie||$[0]&1)&&E(q,"menu-desktop",!z[0]),(!ie||$[0]&1)&&E(q,"menu-mobile",z[0]),(!ie||$[0]&64)&&E(q,"hidden",!z[6]),(!ie||$[0]&4)&&E(e,"hidden",!z[2]),(!ie||$[0]&1)&&E(e,"container-mobile",z[0])},i(z){ie||(h(ve),ie=!0)},o(z){P(ve),ie=!1},d(z){z&&T(e),ce&&ce.d(),we&&we.d(),pe&&pe.d(),ve&&ve.d(),Bn(he,z),Bn(ue,z),Ke=!1,lt(ne)}}}function ac(t,e,i){let n,l,o,r,s,c,a,d,m,f,p;var w=this&&this.__awaiter||function(ee,ot,Ge,We){function rt(Ze){return Ze instanceof Ge?Ze:new Ge(function(Xe){Xe(Ze)})}return new(Ge||(Ge=Promise))(function(Ze,Xe){function dt(Re){try{it(We.next(Re))}catch($e){Xe($e)}}function vt(Re){try{it(We.throw(Re))}catch($e){Xe($e)}}function it(Re){Re.done?Ze(Re.value):rt(Re.value).then(dt,vt)}it((We=We.apply(ee,ot||[])).next())})};let{supportLink:b}=e;const y=Qe(),N=y.state.currentQuality$;Q(t,N,ee=>i(41,c=ee));const _=y.state.availableQualities$;Q(t,_,ee=>i(1,s=ee));const S=y.state.isAutoQualityEnabled$;Q(t,S,ee=>i(40,r=ee));const D=y.state.currentPlaybackRate$;Q(t,D,ee=>i(11,f=ee));const R=y.state.availablePlaybackRates$;Q(t,R,ee=>i(12,p=ee));const F=y.ui.settingsMenuVisible;Q(t,F,ee=>i(2,a=ee));const I=y.ui.isMobile;Q(t,I,ee=>i(0,o=ee));const k=y.ui.isFullscreen;Q(t,k,ee=>i(39,l=ee));const O=y.state.isLive$;Q(t,O,ee=>i(10,m=ee));const C=y.ui.playerSize;Q(t,C,ee=>i(38,n=ee));const Y=y.ui.debugPanelVisible,q=y.webApi.pictureInPictureApi,H=y.state.chromecastState$;Q(t,H,ee=>i(42,d=ee));let U;const X=()=>y.actions.internal.toggleChromecast();let fe=!0,K=!1,j=!1;function te(){F.set(!1)}function Ne(){i(4,fe=!1),i(5,K=!0)}function ke(ee){y.actions.internal.setQuality(ee),te()}function ie(ee){y.actions.internal.setPlaybackRate(ee),te()}function Ke(){i(4,fe=!1),i(6,j=!0)}function ne(){i(4,fe=!0),i(5,K=!1),i(6,j=!1)}const ce=()=>w(void 0,void 0,void 0,function*(){q!=null&&q.isActive()?yield q==null?void 0:q.remove():yield q==null?void 0:q.request(),te()});function we(){window.open(b,"_blank"),te(),y.actions.internal.pause()}function pe(){Pr(y.actions.internal.getDebugTextData()),te()}function ve(){Y.set(!0),te()}function Pe(ee){switch(ee){case Ve.VideoQuality.Q_720P:return W0;case Ve.VideoQuality.Q_1080P:return X0;case Ve.VideoQuality.Q_1440P:return Y0;case Ve.VideoQuality.Q_2160P:return K0;case Ve.VideoQuality.Q_4320P:return G0}}function he(ee,ot,Ge){if(!ee)return"...";const We=ot.find(Ze=>Ze.value===ee),rt=We?We.displayValue:ee;return Ge?ee===Ve.VideoQuality.INVARIANT?Te("auto_quality_invariant"):Te("auto_quality",{actual:rt}):rt}let ye,ue,z;const $=ee=>ke(ee.value),le=ee=>ie(ee.value);return t.$$set=ee=>{"supportLink"in ee&&i(37,b=ee.supportLink)},t.$$.update=()=>{t.$$.dirty[1]&2048&&i(3,U=d!==Ve.ChromecastState.NOT_AVAILABLE),t.$$.dirty[0]&4&&a&&(i(4,fe=!0),i(5,K=!1),i(6,j=!1)),t.$$.dirty[1]&1024&&i(7,ye=Pe(c)),t.$$.dirty[0]&2|t.$$.dirty[1]&1536&&i(8,ue=he(c,s,r)),t.$$.dirty[0]&1|t.$$.dirty[1]&384&&i(9,z=o&&l?`max-height: ${Math.round(n.height*.6)}px`:"")},[o,s,a,U,fe,K,j,ye,ue,z,m,f,p,N,_,S,D,R,F,I,k,O,C,q,H,X,te,Ne,ke,ie,Ke,ne,ce,we,pe,ve,Pe,b,n,l,r,c,d,$,le]}class Vr extends be{constructor(e){super(),ge(this,e,ac,sc,me,{supportLink:37},oc,[-1,-1])}}var cc="data:image/svg+xml,%3csvg width='34' height='24' fill='none' xmlns='http://www.w3.org/2000/svg'%3e%3cpath fill-rule='evenodd' clip-rule='evenodd' 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' fill='white'/%3e%3crect x='15' y='3' width='17' height='11' rx='5.5' fill='%23689FF8'/%3e%3cpath d='M24.516 11h1.107C27.103 11 28 10.066 28 8.5S27.103 6 25.623 6h-1.107c-.325 0-.516.2-.516.537v3.923c0 .342.191.54.516.54zm.516-.854V6.852h.468c.91 0 1.5.616 1.5 1.648 0 1.066-.577 1.646-1.5 1.646h-.468zM19.516 11c.325 0 .516-.198.516-.536V8.922h1.936v1.542c0 .338.191.537.516.537s.516-.199.516-.537V6.54c0-.342-.191-.54-.516-.54s-.516.198-.516.54v1.531h-1.936V6.54c0-.342-.191-.54-.516-.54S19 6.198 19 6.54v3.989c0 .338.191.472.516.472z' fill='white'/%3e%3c/svg%3e",uc="data:image/svg+xml,%3csvg width='40' height='24' fill='none' xmlns='http://www.w3.org/2000/svg'%3e%3cpath fill-rule='evenodd' clip-rule='evenodd' 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' fill='white'/%3e%3cpath d='M15 8.5A5.5 5.5 0 0 1 20.5 3h12a5.5 5.5 0 1 1 0 11h-12A5.5 5.5 0 0 1 15 8.5z' fill='%23689FF8'/%3e%3cpath d='M30.516 11h1.107C33.103 11 34 10.066 34 8.5S33.103 6 31.623 6h-1.107c-.325 0-.516.2-.516.537v3.923c0 .342.191.54.516.54zm.516-.854V6.852h.468c.91 0 1.5.616 1.5 1.648 0 1.066-.577 1.646-1.5 1.646h-.468zM25.516 11c.325 0 .516-.198.516-.536V8.922h1.936v1.542c0 .338.191.537.516.537s.516-.199.516-.537V6.54c0-.342-.191-.54-.516-.54s-.516.198-.516.54v1.531h-1.936V6.54c0-.342-.191-.54-.516-.54S25 6.198 25 6.54v3.989c0 .338.191.472.516.472z' fill='white'/%3e%3cpath fill-rule='evenodd' clip-rule='evenodd' d='M22.338 10.909c-.254.06-.58.091-.838.091-1.463 0-2.5-.865-2.5-2.447C19 6.983 20.037 6 21.5 6c1.46 0 2.5.984 2.5 2.553 0 .863-.274 1.46-.777 1.88l.193.29a.5.5 0 1 1-.832.554l-.246-.368zm-.52-.78-.234-.352a.5.5 0 0 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' fill='white'/%3e%3c/svg%3e",dc="data:image/svg+xml,%3csvg width='34' height='24' fill='none' xmlns='http://www.w3.org/2000/svg'%3e%3cpath fill-rule='evenodd' clip-rule='evenodd' 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' fill='white'/%3e%3crect x='15' y='3' width='17' height='11' rx='5.5' fill='%23689FF8'/%3e%3cpath d='M24.517 11c.325 0 .516-.198.516-.536v-.97l.492-.517 1.46 1.74c.16.205.304.284.516.284a.491.491 0 0 0 .499-.5c0-.14-.068-.287-.222-.478l-1.47-1.73 1.51-1.425c.13-.137.182-.25.182-.393A.474.474 0 0 0 27.515 6c-.171 0-.301.065-.445.222L25.064 8.25h-.03V6.54c0-.342-.192-.54-.517-.54s-.516.198-.516.54v3.924c0 .338.191.537.516.537z' fill='white'/%3e%3cpath fill-rule='evenodd' clip-rule='evenodd' d='m21.551 7.052-1.51 2.052h1.51V7.052zm.949 2.052V6.832c0-.81-1.089-1.14-1.556-.48l-1.805 2.469a.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 1 0 0-.9H22.5z' fill='white'/%3e%3c/svg%3e",fc="data:image/svg+xml,%3csvg width='34' height='24' fill='none' xmlns='http://www.w3.org/2000/svg'%3e%3cpath fill-rule='evenodd' clip-rule='evenodd' 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' fill='white'/%3e%3crect x='15' y='3' width='17' height='11' rx='5.5' fill='%23689FF8'/%3e%3cpath d='M24.513 11c.323 0 .513-.198.513-.537v-.97l.49-.516 1.475 1.738c.16.205.302.284.513.284A.49.49 0 0 0 28 10.5c0-.14-.068-.287-.22-.478l-1.486-1.729 1.526-1.425c.129-.137.18-.25.18-.393A.473.473 0 0 0 27.517 6c-.17 0-.299.065-.441.222l-2.02 2.027h-.03V6.54c0-.342-.19-.54-.513-.54S24 6.198 24 6.54v3.923c0 .339.19.537.513.537z' fill='white'/%3e%3cpath fill-rule='evenodd' clip-rule='evenodd' d='M21 6c-.353 0-.671.057-.952.173a1.493 1.493 0 0 0-.654.484c-.154.208-.23.445-.23.71 0 .423.208.756.613.995a1.46 1.46 0 0 0-.547.44c-.154.203-.23.441-.23.71 0 .288.084.548.252.777l.001.002c.173.224.412.398.712.523.302.125.647.186 1.035.186.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.428 2.428 0 0 0 21 6zm-.573.964c.136-.105.323-.16.573-.16.25 0 .434.055.564.16h.001a.512.512 0 0 1 .203.43c0 .19-.07.333-.203.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-.188a.636.636 0 0 1-.234-.523z' fill='white'/%3e%3c/svg%3e",vc="data:image/svg+xml,%3csvg width='38' height='24' fill='none' xmlns='http://www.w3.org/2000/svg'%3e%3cpath fill-rule='evenodd' clip-rule='evenodd' 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' fill='white'/%3e%3crect x='15' y='3' width='21' height='11' rx='5.5' fill='%23689FF8'/%3e%3cpath d='M28.516 11h1.107C31.103 11 32 10.066 32 8.5S31.103 6 29.623 6h-1.107c-.325 0-.516.2-.516.537v3.923c0 .342.191.54.516.54zm.516-.854V6.852h.468c.91 0 1.5.616 1.5 1.648 0 1.066-.577 1.646-1.5 1.646h-.468zM23.516 11c.325 0 .516-.198.516-.536V8.922h1.936v1.542c0 .338.191.537.516.537s.516-.199.516-.537V6.54c0-.342-.191-.54-.516-.54s-.516.198-.516.54v1.531h-1.936V6.54c0-.342-.191-.54-.516-.54S23 6.198 23 6.54v3.989c0 .338.191.472.516.472zm-4 0c.325 0 .516-.198.516-.537V9h1.332c.27 0 .441-.154.441-.41 0-.253-.174-.407-.44-.407h-1.333V6.854h1.5c.28 0 .468-.16.468-.427 0-.266-.185-.427-.468-.427h-2.016c-.325 0-.516.198-.516.537v3.926c0 .339.191.537.516.537z' fill='white'/%3e%3c/svg%3e";function mc(t){Se(t,"v-1qf7s4g",".settingsButton-icon.v-1qf7s4g{display:block;width:40px;height:24px}.settingsButton-icon.mobile.v-1qf7s4g{width:auto}")}function pc(t){let e,i,n,l,o,r,s;return{c(){e=g("div"),i=g("div"),n=g("img"),Ee(n.src,l=t[7](t[2],t[1]))||u(n,"src",l),u(n,"alt",""),u(i,"class","settingsButton-icon v-1qf7s4g"),E(i,"mobile",t[1]),u(e,"class",o=Lt(t[0])+" v-1qf7s4g"),u(e,"aria-label",Te("aria_open_settings")),u(e,"tabindex","-1"),u(e,"role","button")},m(c,a){M(c,e,a),v(e,i),v(i,n),r||(s=oe(e,"click",t[6]),r=!0)},p(c,[a]){a&6&&!Ee(n.src,l=c[7](c[2],c[1]))&&u(n,"src",l),a&2&&E(i,"mobile",c[1]),a&1&&o!==(o=Lt(c[0])+" v-1qf7s4g")&&u(e,"class",o)},i:B,o:B,d(c){c&&T(e),r=!1,s()}}}function hc(t,e,i){let n,l,o,{className:r=""}=e;const s=Qe(),c=s.state.currentQuality$;Q(t,c,p=>i(2,o=p));const a=s.ui.settingsMenuVisible;Q(t,a,p=>i(8,n=p));const d=s.ui.isMobile;Q(t,d,p=>i(1,l=p));function m(){a.set(!n)}function f(p,w){if(w)return _n;switch(p){case Ve.VideoQuality.Q_720P:return cc;case Ve.VideoQuality.Q_1080P:return vc;case Ve.VideoQuality.Q_1440P:return uc;case Ve.VideoQuality.Q_2160P:return dc;case Ve.VideoQuality.Q_4320P:return fc;default:return _n}}return t.$$set=p=>{"className"in p&&i(0,r=p.className)},[r,l,o,c,a,d,m,f]}class Ar extends be{constructor(e){super(),ge(this,e,hc,pc,me,{className:0},mc)}}const Mt=t=>{if(!isFinite(t))return"00:00";let e=Math.round(t);const i=Math.floor(e/(60*60));e-=i*(60*60);const n=Math.floor(e/60);return e-=n*60,(i>0?[i,n,e]:[n,e]).map(o=>o>9?String(o):`0${o}`).join(":")};function gc(t){Se(t,"v-1bjfp5n",".time.v-1bjfp5n{display:flex;align-items:center;font-weight:500;font-variant-numeric:tabular-nums}.current.v-1bjfp5n{position:relative}.duration.v-1bjfp5n{opacity:0.7}.duration.v-1bjfp5n:before{content:' / ';white-space:pre}")}function kl(t){let e,i;return{c(){e=g("span"),i=_e(t[2]),u(e,"class","duration v-1bjfp5n")},m(n,l){M(n,e,l),v(e,i)},p(n,l){l&4&&Le(i,n[2])},d(n){n&&T(e)}}}function bc(t){let e,i,n,l,o,r=t[0]&&kl(t);return{c(){e=g("div"),i=g("span"),n=_e(t[3]),l=L(),r&&r.c(),u(i,"class","current v-1bjfp5n"),u(e,"class",o="time "+t[1]+" v-1bjfp5n")},m(s,c){M(s,e,c),v(e,i),v(i,n),v(e,l),r&&r.m(e,null)},p(s,[c]){c&8&&Le(n,s[3]),s[0]?r?r.p(s,c):(r=kl(s),r.c(),r.m(e,null)):r&&(r.d(1),r=null),c&2&&o!==(o="time "+s[1]+" v-1bjfp5n")&&u(e,"class",o)},i:B,o:B,d(s){s&&T(e),r&&r.d()}}}function wc(t,e,i){let{duration:n}=e,{position:l}=e,{showDuration:o=!0}=e,{className:r=""}=e,s,c;return t.$$set=a=>{"duration"in a&&i(4,n=a.duration),"position"in a&&i(5,l=a.position),"showDuration"in a&&i(0,o=a.showDuration),"className"in a&&i(1,r=a.className)},t.$$.update=()=>{t.$$.dirty&16&&i(2,s=Mt(n)),t.$$.dirty&32&&i(3,c=Mt(l))},[o,r,s,c,n,l]}class _c extends be{constructor(e){super(),ge(this,e,wc,bc,me,{duration:4,position:5,showDuration:0,className:1},gc)}}const yc=500,Pl=3e3,Sl=2e3,kc=3e3,Pc=6e3,Sc=300,Cr="vk_player_preferred_volume",Er="vk_player_prefer_volume_mute",yn="vk_player_debug_panel_opened",Hi=1,Vc=.05,Vl=1,Al=.05,Cl=10,Tr=300,Ac="https://vk.com/support?act=new&from=v",Cc=500;var tt;(function(t){t.ArrowLeft="ArrowLeft",t.ArrowUp="ArrowUp",t.ArrowRight="ArrowRight",t.ArrowDown="ArrowDown",t.Comma="Comma",t.Period="Period",t.Space="Space",t.KeyM="KeyM",t.KeyF="KeyF",t.KeyK="KeyK",t.KeyL="KeyL",t.KeyJ="KeyJ"})(tt||(tt={}));function Ec(t){Se(t,"v-mgwd2i",".slider.v-mgwd2i.v-mgwd2i{position:relative;height:var(--videoplayer-slider-height);border-radius:var(--videoplayer-slider-radius);background:var(--videoplayer-slider-bg);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-mgwd2i.v-mgwd2i{cursor:default}.slider.v-mgwd2i.v-mgwd2i:before{content:'';position:absolute;left:0;right:0;top:calc(-1 * (var(--videoplayer-controls-height) - var(--videoplayer-slider-height)) / 2);height:var(--videoplayer-controls-height)}.bars.v-mgwd2i.v-mgwd2i{position:absolute;width:100%;height:100%;border-radius:var(--videoplayer-slider-radius);overflow:hidden}.loaded.v-mgwd2i.v-mgwd2i{position:absolute;left:-100%;width:100%;height:100%;border-radius:var(--videoplayer-slider-radius);background:var(--videoplayer-slider-loaded-bg);transition:transform 0.2s}.filled.v-mgwd2i.v-mgwd2i{position:absolute;left:-100%;width:100%;height:100%;border-radius:var(--videoplayer-slider-radius);background-color:var(--videoplayer-slider-filled-bg)}.slider.square.v-mgwd2i.v-mgwd2i,.slider.square.v-mgwd2i>.bars.v-mgwd2i,.slider.square.v-mgwd2i .loaded.v-mgwd2i,.slider.square.v-mgwd2i .filled.v-mgwd2i{border-radius:unset}.filled.active-live.v-mgwd2i.v-mgwd2i{background-color:var(--videoplayer-slider-filled-active-live-bg)}.filled.ads.v-mgwd2i.v-mgwd2i{background-color:var(--videoplayer-slider-filled-ads)}.handleWrap.v-mgwd2i.v-mgwd2i{position:absolute;left:-100%;width:100%}.handle.v-mgwd2i.v-mgwd2i{position:absolute;width:var(--videoplayer-slider-handle-size);height:var(--videoplayer-slider-handle-size);right:calc(-1 * var(--videoplayer-slider-handle-size) / 2);top:calc((var(--videoplayer-slider-height) - var(--videoplayer-slider-handle-size)) / 2);border-radius:50%;background-color:var(--videoplayer-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-mgwd2i.v-mgwd2i{background-color:var(--videoplayer-slider-filled-active-live-bg)}.slider.v-mgwd2i:hover .handle.v-mgwd2i,.slider-dragging.v-mgwd2i .handle.v-mgwd2i{visibility:visible;opacity:1;transform:scale(1)}.slider-dragging.v-mgwd2i .handle.v-mgwd2i{transform:scale(1.3)}.slider-vertical.v-mgwd2i.v-mgwd2i{position:absolute;left:-26px;top:-18px;transform-origin:0 0;transform:rotate(-90deg)}.hidden.v-mgwd2i.v-mgwd2i{visibility:hidden;opacity:0}")}function Tc(t){let e,i,n,l,o,r,s,c,a,d,m,f,p,w;return{c(){e=g("div"),i=g("div"),n=g("div"),o=L(),r=g("div"),c=L(),a=g("div"),d=g("div"),u(n,"class","loaded v-mgwd2i"),u(n,"style",l=`transform: translateX(${t[6]*100}%);`),u(r,"class","filled v-mgwd2i"),u(r,"style",s=`transform: translateX(${t[7]*100}%);`),E(r,"active-live",t[3]),E(r,"ads",t[4]),u(i,"class","bars v-mgwd2i"),u(d,"class","handle v-mgwd2i"),E(d,"active-live",t[3]),u(a,"class","handleWrap v-mgwd2i"),u(a,"style",m=`transform: translateX(${t[8]*100}%);`),E(a,"hidden",t[4]),u(e,"class",f="slider "+t[0]+" v-mgwd2i"),u(e,"aria-label",t[9]),u(e,"aria-valuemin",t[10]),u(e,"aria-valuemax",t[11]),u(e,"aria-valuenow",t[12]),u(e,"aria-valuetext",t[13]),u(e,"role","slider"),u(e,"tabindex","0"),E(e,"slider-dragging",t[15]),E(e,"hidden",t[1]),E(e,"slider-vertical",t[2]),E(e,"no-handle",t[4]),E(e,"square",t[5])},m(b,y){M(b,e,y),v(e,i),v(i,n),v(i,o),v(i,r),v(e,c),v(e,a),v(a,d),t[27](e),p||(w=[oe(e,"pointerdown",Dt(t[16])),oe(e,"pointermove",Dt(t[17])),oe(e,"pointerup",Dt(t[18])),oe(e,"pointerenter",Dt(t[19])),oe(e,"pointerleave",Dt(t[20]))],p=!0)},p(b,[y]){y&64&&l!==(l=`transform: translateX(${b[6]*100}%);`)&&u(n,"style",l),y&128&&s!==(s=`transform: translateX(${b[7]*100}%);`)&&u(r,"style",s),y&8&&E(r,"active-live",b[3]),y&16&&E(r,"ads",b[4]),y&8&&E(d,"active-live",b[3]),y&256&&m!==(m=`transform: translateX(${b[8]*100}%);`)&&u(a,"style",m),y&16&&E(a,"hidden",b[4]),y&1&&f!==(f="slider "+b[0]+" v-mgwd2i")&&u(e,"class",f),y&512&&u(e,"aria-label",b[9]),y&1024&&u(e,"aria-valuemin",b[10]),y&2048&&u(e,"aria-valuemax",b[11]),y&4096&&u(e,"aria-valuenow",b[12]),y&8192&&u(e,"aria-valuetext",b[13]),y&32769&&E(e,"slider-dragging",b[15]),y&3&&E(e,"hidden",b[1]),y&5&&E(e,"slider-vertical",b[2]),y&17&&E(e,"no-handle",b[4]),y&33&&E(e,"square",b[5])},i:B,o:B,d(b){b&&T(e),t[27](null),p=!1,lt(w)}}}function Mc(t,e,i){let{className:n=""}=e,{isHidden:l=!1}=e,{isVertical:o=!1}=e,{isActiveLive:r=!1}=e,{isAds:s=!1}=e,{squareBorders:c=!1}=e,a,d,{onPointerDown:m=B}=e,{onHandleMove:f=B}=e,{onPointerUp:p=B}=e,{onPointerEnter:w=B}=e,{onPointerMove:b=B}=e,{onPointerLeave:y=B}=e,{loadedProgress:N=0}=e,{filledProgress:_=0}=e,{handleProgress:S=0}=e,{ariaLabel:D=""}=e,{ariaValueMin:R=void 0}=e,{ariaValueMax:F=void 0}=e,{ariaValueNow:I=void 0}=e,{ariaValueText:k=""}=e,O=!1;function C(j){if(O)return;i(15,O=!0),d=a.getBoundingClientRect();const te=X(j.clientX,j.clientY);m(te),a.setPointerCapture(j.pointerId)}function Y(j){const te=X(j.clientX,j.clientY),Ne=fe(j.clientX);b(te,Ne),O&&f(te)}function q(j){if(!O)return;i(15,O=!1);const te=X(j.clientX,j.clientY);p(te)}function H(j){d=a.getBoundingClientRect();const te=X(j.clientX,j.clientY),Ne=fe(j.clientX);w(te,Ne)}function U(){y()}function X(j,te){return o?Math.max(0,Math.min(1,(d.height-(te-d.top))/d.height)):Math.min(Math.max(j-d.x,0),d.width)/d.width}function fe(j){return Math.min(Math.max(j-d.x,0),d.width)}function K(j){nt[j?"unshift":"push"](()=>{a=j,i(14,a)})}return t.$$set=j=>{"className"in j&&i(0,n=j.className),"isHidden"in j&&i(1,l=j.isHidden),"isVertical"in j&&i(2,o=j.isVertical),"isActiveLive"in j&&i(3,r=j.isActiveLive),"isAds"in j&&i(4,s=j.isAds),"squareBorders"in j&&i(5,c=j.squareBorders),"onPointerDown"in j&&i(21,m=j.onPointerDown),"onHandleMove"in j&&i(22,f=j.onHandleMove),"onPointerUp"in j&&i(23,p=j.onPointerUp),"onPointerEnter"in j&&i(24,w=j.onPointerEnter),"onPointerMove"in j&&i(25,b=j.onPointerMove),"onPointerLeave"in j&&i(26,y=j.onPointerLeave),"loadedProgress"in j&&i(6,N=j.loadedProgress),"filledProgress"in j&&i(7,_=j.filledProgress),"handleProgress"in j&&i(8,S=j.handleProgress),"ariaLabel"in j&&i(9,D=j.ariaLabel),"ariaValueMin"in j&&i(10,R=j.ariaValueMin),"ariaValueMax"in j&&i(11,F=j.ariaValueMax),"ariaValueNow"in j&&i(12,I=j.ariaValueNow),"ariaValueText"in j&&i(13,k=j.ariaValueText)},[n,l,o,r,s,c,N,_,S,D,R,F,I,k,a,O,C,Y,q,H,U,m,f,p,w,b,y,K]}class Mn extends be{constructor(e){super(),ge(this,e,Mc,Tc,me,{className:0,isHidden:1,isVertical:2,isActiveLive:3,isAds:4,squareBorders:5,onPointerDown:21,onHandleMove:22,onPointerUp:23,onPointerEnter:24,onPointerMove:25,onPointerLeave:26,loadedProgress:6,filledProgress:7,handleProgress:8,ariaLabel:9,ariaValueMin:10,ariaValueMax:11,ariaValueNow:12,ariaValueText:13},Ec)}}function Lc(t){Se(t,"v-7xwnio",".icon.v-7xwnio.v-7xwnio{display:block;width:24px;height:24px}.icon.v-7xwnio .cross.v-7xwnio{visibility:hidden}.icon[data-value='off'].v-7xwnio .wave1.v-7xwnio,.icon[data-value='off'].v-7xwnio .wave2.v-7xwnio{visibility:hidden}.icon[data-value='off'].v-7xwnio .cross.v-7xwnio{visibility:visible}.icon[data-value='mid'].v-7xwnio .wave2.v-7xwnio,.icon[data-value='min'].v-7xwnio .wave2.v-7xwnio{visibility:hidden}.no-volumeBar.v-7xwnio.v-7xwnio{padding-right:8px}.volumeBar.v-7xwnio.v-7xwnio{display:flex;align-items:center;margin:0 8px;position:relative;width:70px}.volumeBar-slider-vertical{width:50px !important}.volumeBar-vertical.v-7xwnio.v-7xwnio{padding:0;width:0}")}function El(t){let e,i,n;return i=new Mn({props:{className:t[0]?"volumeBar-slider-vertical":"",isHidden:t[0]&&!t[2],isVertical:t[0],onPointerDown:t[7],onHandleMove:t[8],onPointerUp:t[9],onPointerEnter:t[0]?t[10]:B,onPointerLeave:t[0]?t[11]:B,ariaLabel:"\u041F\u043E\u043B\u0437\u0443\u043D\u043E\u043A \u0433\u0440\u043E\u043C\u043A\u043E\u0441\u0442\u0438",ariaValueMin:0,ariaValueMax:100,ariaValueNow:Math.round(t[4]*100),ariaValueText:`${Math.round(t[4]*100)}%`,filledProgress:t[4],handleProgress:t[4]}}),{c(){e=g("div"),x(i.$$.fragment),u(e,"class","volumeBar v-7xwnio"),E(e,"volumeBar-vertical",t[0])},m(l,o){M(l,e,o),J(i,e,null),n=!0},p(l,o){const r={};o&1&&(r.className=l[0]?"volumeBar-slider-vertical":""),o&5&&(r.isHidden=l[0]&&!l[2]),o&1&&(r.isVertical=l[0]),o&1&&(r.onPointerEnter=l[0]?l[10]:B),o&1&&(r.onPointerLeave=l[0]?l[11]:B),o&16&&(r.ariaValueNow=Math.round(l[4]*100)),o&16&&(r.ariaValueText=`${Math.round(l[4]*100)}%`),o&16&&(r.filledProgress=l[4]),o&16&&(r.handleProgress=l[4]),i.$set(r),(!n||o&1)&&E(e,"volumeBar-vertical",l[0])},i(l){n||(h(i.$$.fragment,l),n=!0)},o(l){P(i.$$.fragment,l),n=!1},d(l){l&&T(e),Z(i)}}}function Nc(t){let e,i,n,l,o,r,s,c,a,d,m,f=t[1]&&El(t);return{c(){e=g("div"),i=Me("svg"),n=Me("g"),l=Me("path"),o=Me("path"),r=Me("path"),s=L(),f&&f.c(),c=ct(),u(l,"class","wave2 v-7xwnio"),u(l,"d","M12.980843 18.8227621c-.032051 1.2070086-.6704932 1.608931-1.8287519.6202507-1.7185995-1.4687545-3.60887471-3.1942931-4.24215929-3.7215065-.63217937-.528454-1.64491897-.6202511-3.07284859-.6202511-1.42682441 0-1.81505873-.6202511-1.81505873-1.2405016s-.01369327-1.8288162-.01369327-2.001246c0-.0549443.00464608-.085056.01369327-.1291845.01954957-.0953551-.05817756-.9728525 0-1.591076.08510106-.90556663.38823432-1.24050252 1.81505873-1.24050252 1.42792962 0 2.44066922-.09179716 3.07284859-.62025109.63328458-.52845393 2.52355979-2.25275186 4.24215929-3.72150644 1.1582587-.98868024 1.7967003-.58675756 1.8287514.62025106.0431031 1.60645033 5e-7 3.85020301 5e-7 6.68226949 0 2.8295855.0431032 5.3568042 0 6.9632545zm2.9004386-8.7040437c-.3417088-.34170872-.3417088-.89572808 0-1.23743683.3417087-.34170876.8957281-.34170876 1.2374368 0 .1762598.17625972.4111566.46988072.6409943.87209686C18.1429358 10.4240187 18.375 11.1782274 18.375 12s-.2320642 1.5759813-.6152873 2.2466216c-.2298377.4022161-.4647345.6958371-.6409943.8720968-.3417087.3417088-.8957281.3417088-1.2374368 0-.3417088-.3417087-.3417088-.8957281 0-1.2374368.0737402-.0737403.2138434-.2488693.3590057-.5029032C16.4820642 12.9552687 16.625 12.4907274 16.625 12s-.1429358-.9552687-.3847127-1.3783784c-.1451623-.2540339-.2852655-.4291629-.3590057-.5029032zm3-1.99999997c-.3417088-.34170875-.3417088-.89572811 0-1.23743686.3417087-.34170876.8957281-.34170876 1.2374368 0 .2637116.26371158.6207023.73969919.9665078 1.43131016.5167785 1.03355701.842501 2.25503497.8892639 3.71655167-.0467629 1.4032299-.3724854 2.6247079-.8892639 3.6582649-.3458055.6916109-.7027962 1.1675985-.9665078 1.4313101-.3417087.3417088-.8957281.3417088-1.2374368 0-.3417088-.3417087-.3417088-.8957281 0-1.2374368.1375896-.1375897.3825507-.4642045.638697-.9764971.4071252-.8142505.6673665-1.7901701.7054825-2.8756411-.038116-1.1437578-.2983573-2.11967743-.7054825-2.93392787-.2561463-.51229266-.5011074-.83890747-.638697-.9764971z"),u(o,"class","wave1 v-7xwnio"),u(o,"d","M12.980843 18.8227621c-.032051 1.2070086-.6704932 1.608931-1.8287519.6202507-1.7185995-1.4687545-3.60887471-3.1942931-4.24215929-3.7215065-.63217937-.528454-1.64491897-.6202511-3.07284859-.6202511-1.42682441 0-1.81505873-.6202511-1.81505873-1.2405016s-.01369327-1.8288162-.01369327-2.001246c0-.0549443.00464608-.085056.01369327-.1291845.01954957-.0953551-.05817756-.9728525 0-1.591076.08510106-.90556663.38823432-1.24050252 1.81505873-1.24050252 1.42792962 0 2.44066922-.09179716 3.07284859-.62025109.63328458-.52845393 2.52355979-2.25275186 4.24215929-3.72150644 1.1582587-.98868024 1.7967003-.58675756 1.8287514.62025106.0431031 1.60645033 5e-7 3.85020301 5e-7 6.68226949 0 2.8295855.0431032 5.3568042 0 6.9632545zm2.9004386-8.7040437c-.3417088-.34170872-.3417088-.89572808 0-1.23743683.3417087-.34170876.8957281-.34170876 1.2374368 0 .1762598.17625972.4111566.46988072.6409943.87209686C18.1429358 10.4240187 18.375 11.1782274 18.375 12s-.2320642 1.5759813-.6152873 2.2466216c-.2298377.4022161-.4647345.6958371-.6409943.8720968-.3417087.3417088-.8957281.3417088-1.2374368 0-.3417088-.3417087-.3417088-.8957281 0-1.2374368.0737402-.0737403.2138434-.2488693.3590057-.5029032C16.4820642 12.9552687 16.625 12.4907274 16.625 12s-.1429358-.9552687-.3847127-1.3783784c-.1451623-.2540339-.2852655-.4291629-.3590057-.5029032z"),u(r,"class","cross v-7xwnio"),u(r,"d","M20 10.7625631l2.3812816-2.38128153c.3417087-.34170876.8957281-.34170876 1.2374368 0 .3417088.34170875.3417088.89572811 0 1.23743686L21.2374369 12l2.3812815 2.3812816c.3417088.3417087.3417088.8957281 0 1.2374368-.3417087.3417088-.8957281.3417088-1.2374368 0L20 13.2374369l-2.3812816 2.3812815c-.3417087.3417088-.8957281.3417088-1.2374368 0-.3417088-.3417087-.3417088-.8957281 0-1.2374368L18.7625631 12l-2.3812815-2.38128157c-.3417088-.34170875-.3417088-.89572811 0-1.23743686.3417087-.34170876.8957281-.34170876 1.2374368 0zm-7.019157 8.060199c-.032051 1.2070086-.6704932 1.608931-1.8287519.6202507-1.7185995-1.4687545-3.60887471-3.1942931-4.24215929-3.7215065-.63217937-.528454-1.64491897-.6202511-3.07284859-.6202511-1.42682441 0-1.81505873-.6202511-1.81505873-1.2405016s-.01369327-1.8288162-.01369327-2.001246c0-.0549443.00464608-.085056.01369327-.1291845.01954957-.0953551-.05817756-.9728525 0-1.591076.08510106-.90556663.38823432-1.24050252 1.81505873-1.24050252 1.42792962 0 2.44066922-.09179716 3.07284859-.62025109.63328458-.52845393 2.52355979-2.25275186 4.24215929-3.72150644 1.1582587-.98868024 1.7967003-.58675756 1.8287514.62025106.0431031 1.60645033 5e-7 3.85020301 5e-7 6.68226949 0 2.8295855.0431032 5.3568042 0 6.9632545z"),u(n,"fill","#fff"),u(n,"fill-rule","evenodd"),u(i,"xmlns","http://www.w3.org/2000/svg"),u(i,"class","icon v-7xwnio"),u(i,"data-value",t[3]),u(e,"tabindex","0"),u(e,"role","button"),u(e,"class","v-7xwnio"),E(e,"no-volumeBar",!t[1])},m(p,w){M(p,e,w),v(e,i),v(i,n),v(n,l),v(n,o),v(n,r),M(p,s,w),f&&f.m(p,w),M(p,c,w),a=!0,d||(m=[oe(e,"mouseenter",function(){Ue(t[0]?t[12]:B)&&(t[0]?t[12]:B).apply(this,arguments)}),oe(e,"mouseleave",function(){Ue(t[0]?t[13]:B)&&(t[0]?t[13]:B).apply(this,arguments)}),oe(e,"click",t[17])],d=!0)},p(p,[w]){t=p,(!a||w&8)&&u(i,"data-value",t[3]),(!a||w&2)&&E(e,"no-volumeBar",!t[1]),t[1]?f?(f.p(t,w),w&2&&h(f,1)):(f=El(t),f.c(),h(f,1),f.m(c.parentNode,c)):f&&(se(),P(f,1,1,()=>{f=null}),ae())},i(p){a||(h(f),a=!0)},o(p){P(f),a=!1},d(p){p&&T(e),p&&T(s),f&&f.d(p),p&&T(c),d=!1,lt(m)}}}function zc(t,e,i){let n,l,{isVerticalVolume:o=!1}=e,{isAudioAvailable:r=!0}=e;const s=Qe(),c=s.state.volume$;Q(t,c,q=>i(15,n=q));const a=s.state.muted$;Q(t,a,q=>i(16,l=q));const d=s.actions.internal.setVolume;let m=!1,f,p,w,b,y=1,N=!1;function _(q){y=n,d(q)}function S(q){d(q)}function D(q){const H=q;d(H,H===0?y:H)}function R(){N=!0}function F(){N=!1,O()}function I(){clearTimeout(f),i(2,m=!0)}function k(){O()}function O(){f=window.setTimeout(()=>{N||i(2,m=!1)},Sc)}function C(q,H){return H?"off":q>.5?"max":q>.2?"mid":q>0?"min":"off"}function Y(q){ft.call(this,t,q)}return t.$$set=q=>{"isVerticalVolume"in q&&i(0,o=q.isVerticalVolume),"isAudioAvailable"in q&&i(1,r=q.isAudioAvailable)},t.$$.update=()=>{t.$$.dirty&65538&&i(14,p=!r||l),t.$$.dirty&49152&&i(3,w=C(n,p)),t.$$.dirty&49152&&i(4,b=p?0:n)},[o,r,m,w,b,c,a,_,S,D,R,F,I,k,p,n,l,Y]}class Ic extends be{constructor(e){super(),ge(this,e,zc,Nc,me,{isVerticalVolume:0,isAudioAvailable:1},Lc)}}function Rc(t){Se(t,"v-1fkqq1h",".container.v-1fkqq1h{display:flex;align-items:center;height:100%;transition:var(--videoplayer-button-hover-transition);will-change:opacity;cursor:pointer;-webkit-tap-highlight-color:transparent}.container.v-1fkqq1h:hover{opacity:0.8}.disabled.v-1fkqq1h{pointer-events:none}")}function Bc(t){let e,i,n;const l=t[3].default,o=ts(l,t,t[2],null);return{c(){e=g("div"),o&&o.c(),u(e,"class",i="container "+t[0]+" v-1fkqq1h"),E(e,"disabled",t[1])},m(r,s){M(r,e,s),o&&o.m(e,null),n=!0},p(r,[s]){o&&o.p&&(!n||s&4)&&ns(o,l,r,r[2],n?is(l,r[2],s,null):ls(r[2]),null),(!n||s&1&&i!==(i="container "+r[0]+" v-1fkqq1h"))&&u(e,"class",i),(!n||s&3)&&E(e,"disabled",r[1])},i(r){n||(h(o,r),n=!0)},o(r){P(o,r),n=!1},d(r){r&&T(e),o&&o.d(r)}}}function Oc(t,e,i){let{$$slots:n={},$$scope:l}=e,{className:o=""}=e,{disabled:r=!1}=e;return t.$$set=s=>{"className"in s&&i(0,o=s.className),"disabled"in s&&i(1,r=s.disabled),"$$scope"in s&&i(2,l=s.$$scope)},[o,r,l,n]}class kt extends be{constructor(e){super(),ge(this,e,Oc,Bc,me,{className:0,disabled:1},Rc)}}function Fc(t){Se(t,"v-daygaf",".icon.v-daygaf{display:block;width:24px;height:24px}")}function jc(t){let e;return{c(){e=Me("path"),u(e,"class","_enter"),u(e,"d","M10.5 19c0 .5522847-.4477153 1-1 1H5c-.55228475 0-1-.4477153-1-1v-4.5c0-.5522847.44771525-1 1-1s1 .4477153 1 1v2.0715l3.36290054-3.3643932.00012963-.0001296c.39052429-.3905243 1.02368923-.3905243 1.41421353 0l.0157791.0157791.0001297.0001296c.3904527.3905959.3903366 1.0237609-.0002593 1.4142136L7.4285 18H9.5c.5522847 0 1 .4477153 1 1zM18 7.4285l-3.3629005 3.3643932c-.0000432.0000432-.0000865.0000864-.0001297.0001296-.3905243.3905243-1.0236892.3905243-1.4142135 0l-.0157791-.0157791c-.0000433-.0000432-.0000865-.0000864-.0001297-.0001296-.3904527-.3905959-.3903366-1.02376087.0002593-1.41421356L16.5715 6H14.5c-.5522847 0-1-.44771525-1-1s.4477153-1 1-1H19c.5522847 0 1 .44771525 1 1v4.5c0 .5522847-.4477153 1-1 1s-1-.4477153-1-1z")},m(i,n){M(i,e,n)},d(i){i&&T(e)}}}function Dc(t){let e;return{c(){e=Me("path"),u(e,"class","_exit"),u(e,"d","M4.57969048 13.9787492c0-.5464165.44295809-.9893746.9893746-.9893746h4.45218572c.5464165 0 .9893746.4429581.9893746.9893746v4.4521857c0 .5464165-.4429581.9893746-.9893746.9893746-.54641651 0-.98937461-.4429581-.98937461-.9893746v-2.0494895l-3.3196551 3.3211319-.00012963.0001297c-.39052429.3905243-1.02368927.3905243-1.41421356 0l-.00058487-.0005849-.00012964-.0001297c-.39045268-.3905958-.3903366-1.0237608.00025929-1.4142135l3.32113189-3.3196551H5.56906508c-.54641651 0-.9893746-.4429581-.9893746-.9893746zM14.9681238 7.61855457l3.3196551-3.32113189.0001296-.00012966c.3905243-.39052429 1.0236893-.39052429 1.4142136 0l.0005849.00058488.0001296.00012965c.3904527.39059589.3903366 1.02376086-.0002593 1.41421354l-3.3211319 3.3196551h2.0494895c.5464165 0 .9893746.4429581.9893746.98937461 0 .5464165-.4429581.9893746-.9893746.9893746h-4.4415603c-.5522847 0-1-.4477153-1-1V5.56906508c0-.54641651.4429581-.9893746.9893746-.9893746s.9893746.44295809.9893746.9893746z")},m(i,n){M(i,e,n)},d(i){i&&T(e)}}}function Hc(t){let e,i,n,l,o;function r(a,d){return a[0]?Dc:jc}let s=r(t),c=s(t);return{c(){e=g("div"),i=Me("svg"),n=Me("g"),c.c(),u(n,"fill","#fff"),u(n,"fill-rule","evenodd"),u(i,"class","icon v-daygaf"),u(i,"xmlns","http://www.w3.org/2000/svg"),u(e,"role","button"),u(e,"tabindex","0")},m(a,d){M(a,e,d),v(e,i),v(i,n),c.m(n,null),l||(o=oe(e,"click",t[2]),l=!0)},p(a,[d]){s!==(s=r(a))&&(c.d(1),c=s(a),c&&(c.c(),c.m(n,null)))},i:B,o:B,d(a){a&&T(e),c.d(),l=!1,o()}}}function qc(t,e,i){let n;const o=Qe().ui.isFullscreen;Q(t,o,s=>i(0,n=s));function r(s){ft.call(this,t,s)}return[n,o,r]}class Uc extends be{constructor(e){super(),ge(this,e,qc,Hc,me,{},Fc)}}var kn="data:image/svg+xml,%3csvg width='24' height='24' fill='none' xmlns='http://www.w3.org/2000/svg'%3e%3cpath 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' fill='white'/%3e%3c/svg%3e",Tl="data:image/svg+xml,%3csvg width='24' height='24' fill='none' xmlns='http://www.w3.org/2000/svg'%3e%3cpath 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' fill='white'/%3e%3c/svg%3e",Qc="data:image/svg+xml,%3csvg width='24' height='24' fill='none' xmlns='http://www.w3.org/2000/svg'%3e%3cpath 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' fill='white'/%3e%3c/svg%3e";class Mr{constructor(){this.isRequested=!1,this.videoElement=void 0,this.externalEventHandlers={},this.eventHandlers={enterpictureinpicture:this.onEnterPictureInPicture.bind(this),leavepictureinpicture:this.onLeavePictureInPicture.bind(this),resize:jo(this.onResize.bind(this),Tr)}}isSupported(){return document.pictureInPictureEnabled}isActive(){return this.isSupported()&&!!document.pictureInPictureElement}async revealPictureInPicture(){this.isRequested&&(this.unregistryEventHandlers(),await this.request(),this.registryEventHandlers())}async hidePictureInPicture(){this.isRequested&&(this.unregistryEventHandlers(),await this.remove(),this.registryEventHandlers())}async request(){var e;if(!(!this.isSupported()||this.isActive()))try{await((e=this.videoElement)===null||e===void 0?void 0:e.requestPictureInPicture())}catch(i){this.isRequested=!1}}async remove(){!this.isSupported()||!this.isActive||await document.exitPictureInPicture()}updateVideoElement(e){this.isSupported()&&(this.videoElement=e)}registryEventHandlers(){var e,i;(e=this.videoElement)===null||e===void 0||e.addEventListener("enterpictureinpicture",this.eventHandlers.enterpictureinpicture),(i=this.videoElement)===null||i===void 0||i.addEventListener("leavepictureinpicture",this.eventHandlers.leavepictureinpicture)}registryExternalEventHandlers(e){this.externalEventHandlers={...e}}unregistryEventHandlers(){var e,i;(e=this.videoElement)===null||e===void 0||e.removeEventListener("enterpictureinpicture",this.eventHandlers.enterpictureinpicture),(i=this.videoElement)===null||i===void 0||i.removeEventListener("leavepictureinpicture",this.eventHandlers.leavepictureinpicture)}onEnterPictureInPicture(e){var i,n;this.isRequested=!0,e.pictureInPictureWindow.addEventListener("resize",this.eventHandlers.resize),(n=(i=this.externalEventHandlers).enterpictureinpicture)===null||n===void 0||n.call(i,e)}onLeavePictureInPicture(e){var i,n;this.isRequested=!1,e.pictureInPictureWindow.removeEventListener("resize",this.eventHandlers.resize),(n=(i=this.externalEventHandlers).leavepictureinpicture)===null||n===void 0||n.call(i,e)}onResize(e){var i,n;(n=(i=this.externalEventHandlers).resize)===null||n===void 0||n.call(i,e)}}const Wc=460,Yc=280;class Kc{isSupported(){return"documentPictureInPicture"in window}isActive(){return this.isSupported()&&!!documentPictureInPicture.window}setPlayerDomElement(e,i){this.playerDomElement=e,this.playerParentShadowRoot=i}async request(){var e,i;!this.isSupported()||!this.playerDomElement||!this.playerParentShadowRoot||(this.pipWindow=await documentPictureInPicture.requestWindow({width:Wc,height:Yc,copyStyleSheets:!0}),(e=this.pipWindow)===null||e===void 0||e.document.body.append(this.playerDomElement),(i=this.pipWindow)===null||i===void 0||i.addEventListener("unload",n=>{!this.playerDomElement||!this.playerParentShadowRoot||this.playerParentShadowRoot.append(this.playerDomElement)}))}async remove(){return new Promise(e=>{documentPictureInPicture.window.close(),e()})}}var ui;(function(t){t.AUTO="auto"})(ui||(ui={}));var Ce;(function(t){t.Thumb="thumb",t.Video="video",t.Ads="ads",t.Crashed="crashed"})(Ce||(Ce={}));var _t;(function(t){t.Preroll="preroll",t.Midroll="midroll",t.Postroll="postroll"})(_t||(_t={}));var qe;(function(t){t.INACTIVE="inactive",t.PLAYING="playing",t.PAUSED="paused"})(qe||(qe={}));function Pn(t){return t instanceof Mr}function Gc(t){return t instanceof Kc}function Xc(t){Se(t,"v-1kcq5gq",".container-mobile.v-1kcq5gq{width:var(--videoplayer-big-play-size);height:var(--videoplayer-big-play-size);display:flex;align-items:center;justify-content:center;position:relative}.icon.v-1kcq5gq{display:block;width:24px;height:24px}.icon-mobile.v-1kcq5gq{position:relative;width:48px;height:48px}.icon-background-mobile.v-1kcq5gq{position:absolute;top:0;left:0;border-radius:var(--videoplayer-big-play-radius);background-color:var(--videoplayer-big-play-bg-color);width:100%;height:100%}")}function Jc(t){let e,i,n,l,o,r;return{c(){e=g("div"),i=g("img"),Ee(i.src,n=t[2])||u(i,"src",n),u(i,"class","icon v-1kcq5gq"),u(i,"alt",""),u(e,"class",l=Lt(t[0])+" v-1kcq5gq"),u(e,"role","button"),u(e,"tabindex","0")},m(s,c){M(s,e,c),v(e,i),o||(r=oe(e,"click",function(){Ue(t[1])&&t[1].apply(this,arguments)}),o=!0)},p(s,c){t=s,c&4&&!Ee(i.src,n=t[2])&&u(i,"src",n),c&1&&l!==(l=Lt(t[0])+" v-1kcq5gq")&&u(e,"class",l)},d(s){s&&T(e),o=!1,r()}}}function Zc(t){let e,i,n,l,o,r,s;return{c(){e=g("div"),i=g("div"),n=L(),l=g("img"),u(i,"class","icon-background-mobile v-1kcq5gq"),Ee(l.src,o=t[2])||u(l,"src",o),u(l,"class","icon-mobile v-1kcq5gq"),u(l,"alt",""),u(e,"class","container-mobile v-1kcq5gq"),u(e,"role","button"),u(e,"tabindex","0")},m(c,a){M(c,e,a),v(e,i),v(e,n),v(e,l),r||(s=oe(e,"click",function(){Ue(t[1])&&t[1].apply(this,arguments)}),r=!0)},p(c,a){t=c,a&4&&!Ee(l.src,o=t[2])&&u(l,"src",o)},d(c){c&&T(e),r=!1,s()}}}function xc(t){let e;function i(o,r){return o[3]?Zc:Jc}let n=i(t),l=n(t);return{c(){l.c(),e=ct()},m(o,r){l.m(o,r),M(o,e,r)},p(o,[r]){n===(n=i(o))&&l?l.p(o,r):(l.d(1),l=n(o),l&&(l.c(),l.m(e.parentNode,e)))},i:B,o:B,d(o){l.d(o),o&&T(e)}}}function $c(t,e,i){let n,l,o,{isEnded:r}=e,{isAds:s}=e,{playbackState:c}=e,{adPlaybackState:a}=e,{className:d=""}=e,{handlePlayClick:m}=e,{repeatPlaylist:f}=e,{isOneVideoPlaylist:p}=e;const b=Qe().ui.isMobile;Q(t,b,_=>i(3,o=_));function y(_,S){return S?Qc:_===Ve.PlaybackState.PLAYING?Tl:kn}function N(_){return _===qe.PLAYING?Tl:kn}return t.$$set=_=>{"isEnded"in _&&i(5,r=_.isEnded),"isAds"in _&&i(6,s=_.isAds),"playbackState"in _&&i(7,c=_.playbackState),"adPlaybackState"in _&&i(8,a=_.adPlaybackState),"className"in _&&i(0,d=_.className),"handlePlayClick"in _&&i(9,m=_.handlePlayClick),"repeatPlaylist"in _&&i(10,f=_.repeatPlaylist),"isOneVideoPlaylist"in _&&i(11,p=_.isOneVideoPlaylist)},t.$$.update=()=>{t.$$.dirty&480&&i(2,n=s?N(a):y(c,r)),t.$$.dirty&3680&&i(1,l=!s&&r&&!p?f:m)},[d,l,n,o,b,r,s,c,a,m,f,p]}class Ln extends be{constructor(e){super(),ge(this,e,$c,xc,me,{isEnded:5,isAds:6,playbackState:7,adPlaybackState:8,className:0,handlePlayClick:9,repeatPlaylist:10,isOneVideoPlaylist:11},Xc)}}var Lr="data:image/svg+xml,%3csvg width='26' height='24' fill='none' xmlns='http://www.w3.org/2000/svg'%3e%3cpath 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' fill='white'/%3e%3c/svg%3e";function eu(t){Se(t,"v-1tmb7ku",".container-mobile-prev.v-1tmb7ku{margin-right:12px}.container-mobile-next.v-1tmb7ku{margin-right:12px}.disabled.v-1tmb7ku{opacity:0.4;pointer-events:none}.icon.v-1tmb7ku{display:block;height:24px}.icon-mobile.v-1tmb7ku{height:32px}.icon-prev.v-1tmb7ku{transform:scaleX(-1)}")}function tu(t){let e,i,n,l,o;return{c(){e=g("div"),i=g("img"),u(i,"class","icon v-1tmb7ku"),Ee(i.src,n=Lr)||u(i,"src",n),u(i,"alt",""),E(i,"icon-prev",t[1]==="prev"),u(e,"role","button"),u(e,"tabindex","0"),u(e,"class","v-1tmb7ku"),E(e,"disabled",t[0])},m(r,s){M(r,e,s),v(e,i),l||(o=oe(e,"click",t[5]),l=!0)},p(r,s){s&2&&E(i,"icon-prev",r[1]==="prev"),s&1&&E(e,"disabled",r[0])},d(r){r&&T(e),l=!1,o()}}}function iu(t){let e,i,n,l,o;return{c(){e=g("div"),i=g("img"),u(i,"class","icon-mobile v-1tmb7ku"),Ee(i.src,n=Lr)||u(i,"src",n),u(i,"alt",""),E(i,"icon-prev",t[1]==="prev"),u(e,"role","button"),u(e,"tabindex","0"),u(e,"class","v-1tmb7ku"),E(e,"container-mobile-prev",t[1]==="prev"),E(e,"container-mobile-next",t[1]==="next"),E(e,"disabled",t[0])},m(r,s){M(r,e,s),v(e,i),l||(o=oe(e,"click",t[4]),l=!0)},p(r,s){s&2&&E(i,"icon-prev",r[1]==="prev"),s&2&&E(e,"container-mobile-prev",r[1]==="prev"),s&2&&E(e,"container-mobile-next",r[1]==="next"),s&1&&E(e,"disabled",r[0])},d(r){r&&T(e),l=!1,o()}}}function nu(t){let e;function i(o,r){return o[2]?iu:tu}let n=i(t),l=n(t);return{c(){l.c(),e=ct()},m(o,r){l.m(o,r),M(o,e,r)},p(o,[r]){n===(n=i(o))&&l?l.p(o,r):(l.d(1),l=n(o),l&&(l.c(),l.m(e.parentNode,e)))},i:B,o:B,d(o){l.d(o),o&&T(e)}}}function lu(t,e,i){let n,{disabled:l=!1}=e,{type:o}=e;const s=Qe().ui.isMobile;Q(t,s,d=>i(2,n=d));function c(d){ft.call(this,t,d)}function a(d){ft.call(this,t,d)}return t.$$set=d=>{"disabled"in d&&i(0,l=d.disabled),"type"in d&&i(1,o=d.type)},[l,o,n,s,c,a]}class qi extends be{constructor(e){super(),ge(this,e,lu,nu,me,{disabled:0,type:1},eu)}}var Nr="data:image/svg+xml,%3csvg width='24' height='24' fill='none' xmlns='http://www.w3.org/2000/svg'%3e%3cpath fill-rule='evenodd' clip-rule='evenodd' 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' fill='white'/%3e%3c/svg%3e";function ou(t){Se(t,"v-j4644b",".no-hover.v-j4644b{pointer-events:none}.icon.v-j4644b{display:block;width:24px;height:24px}")}function ru(t){let e,i;return{c(){e=g("img"),Ee(e.src,i=Nr)||u(e,"src",i),u(e,"class","icon v-j4644b"),u(e,"alt","")},m(n,l){M(n,e,l)},p:B,d(n){n&&T(e)}}}function su(t){let e,i,n,l,o;return{c(){e=g("a"),i=g("img"),Ee(i.src,n=Nr)||u(i,"src",n),u(i,"class","icon v-j4644b"),u(i,"alt",""),u(e,"href","https://vk.com/video"),u(e,"target","_blank"),u(e,"rel","noreferrer")},m(r,s){M(r,e,s),v(e,i),l||(o=oe(e,"click",t[2]),l=!0)},p:B,d(r){r&&T(e),l=!1,o()}}}function au(t){let e,i;function n(r,s){return r[1]?su:ru}let l=n(t),o=l(t);return{c(){e=g("div"),o.c(),u(e,"class",i=Lt(t[0])+" v-j4644b"),u(e,"role","button"),u(e,"tabindex","0"),E(e,"no-hover",!t[1])},m(r,s){M(r,e,s),o.m(e,null)},p(r,[s]){l===(l=n(r))&&o?o.p(r,s):(o.d(1),o=l(r),o&&(o.c(),o.m(e,null))),s&1&&i!==(i=Lt(r[0])+" v-j4644b")&&u(e,"class",i),s&3&&E(e,"no-hover",!r[1])},i:B,o:B,d(r){r&&T(e),o.d()}}}function cu(t,e,i){let{className:n=""}=e,{logoClickable:l=!1}=e;function o(r){ft.call(this,t,r)}return t.$$set=r=>{"className"in r&&i(0,n=r.className),"logoClickable"in r&&i(1,l=r.logoClickable)},[n,l,o]}class zr extends be{constructor(e){super(),ge(this,e,cu,au,me,{className:0,logoClickable:1},ou)}}var uu="data:image/svg+xml,%3csvg viewBox='0 0 42 20' xmlns='http://www.w3.org/2000/svg'%3e%3cpath 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' fill='none' stroke='white' stroke-width='2'/%3e%3cpath 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' fill='%23f0f2f5' fill-rule='evenodd'/%3e%3c/svg%3e",du="data:image/svg+xml,%3csvg width='42' height='20' fill='none' xmlns='http://www.w3.org/2000/svg'%3e%3crect width='42' height='20' rx='5' fill='%23FF3347'/%3e%3cpath fill-rule='evenodd' clip-rule='evenodd' 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' fill='%23F2F3F5'/%3e%3c/svg%3e";function fu(t){Se(t,"v-rwtbzf",".icon.v-rwtbzf{display:block;width:42px;height:20px}")}function vu(t){let e,i,n,l,o;return{c(){e=g("div"),i=g("img"),Ee(i.src,n=t[0])||u(i,"src",n),u(i,"class","icon v-rwtbzf"),u(i,"alt",""),u(e,"role","button"),u(e,"tabindex","0")},m(r,s){M(r,e,s),v(e,i),l||(o=oe(e,"click",t[2]),l=!0)},p(r,[s]){s&1&&!Ee(i.src,n=r[0])&&u(i,"src",n)},i:B,o:B,d(r){r&&T(e),l=!1,o()}}}function mu(t,e,i){let{isActiveLive:n=!1}=e,l="";function o(r){ft.call(this,t,r)}return t.$$set=r=>{"isActiveLive"in r&&i(1,n=r.isActiveLive)},t.$$.update=()=>{t.$$.dirty&2&&i(0,l=n?du:uu)},[l,n,o]}class pu extends be{constructor(e){super(),ge(this,e,mu,vu,me,{isActiveLive:1},fu)}}var Ml="data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24'%3e%3cg fill='none' fill-rule='evenodd'%3e%3cpath d='M0 0h24v24H0z'/%3e%3cpath fill='white' 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'/%3e%3c/g%3e%3c/svg%3e",Ll="data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24'%3e%3cg fill='none' fill-rule='evenodd'%3e%3cpath d='M0 0h24v24H0z'/%3e%3cpath fill='white' fill-rule='nonzero' d='M21.657 17.657a.9.9 0 1 1-1.273-1.273 6.2 6.2 0 0 0 0-8.768.9.9 0 1 1 1.273-1.273 8 8 0 0 1 0 11.314ZM19.11 15.11a.9.9 0 0 1-1.273-1.273 2.6 2.6 0 0 0 0-3.676.9.9 0 1 1 1.273-1.273 4.4 4.4 0 0 1 0 6.222ZM5 15a2 2 0 0 1-2-2v-2a2 2 0 0 1 2-2h2.765l5.514-5.307A2.481 2.481 0 0 1 15 3a1 1 0 0 1 1 1v16a1 1 0 0 1-1 1c-.641 0-1.258-.25-1.72-.695L7.79 15H5Z'/%3e%3c/g%3e%3c/svg%3e";function hu(t){Se(t,"v-dsbe5p",".container.v-dsbe5p{display:flex;height:32px;align-items:center;padding:0 8px}.expanded.v-dsbe5p{background-color:rgba(0, 0, 0, 0.56);border-radius:6px}.icon.v-dsbe5p{width:24px;height:24px}.text.v-dsbe5p{font-size:15px;margin-left:8px}")}function Nl(t){let e;return{c(){e=g("span"),e.textContent=`${Te("mobile_unmute")}`,u(e,"class","text v-dsbe5p")},m(i,n){M(i,e,n)},p:B,d(i){i&&T(e)}}}function gu(t){let e,i,n,l,o,r,s=t[0]&&Nl();return{c(){e=g("div"),i=g("img"),l=L(),s&&s.c(),Ee(i.src,n=t[0]?Ll:Ml)||u(i,"src",n),u(i,"class","icon v-dsbe5p"),u(i,"alt",""),u(e,"class","container v-dsbe5p"),E(e,"expanded",t[0])},m(c,a){M(c,e,a),v(e,i),v(e,l),s&&s.m(e,null),o||(r=oe(e,"click",t[1]),o=!0)},p(c,[a]){a&1&&!Ee(i.src,n=c[0]?Ll:Ml)&&u(i,"src",n),c[0]?s?s.p(c,a):(s=Nl(),s.c(),s.m(e,null)):s&&(s.d(1),s=null),a&1&&E(e,"expanded",c[0])},i:B,o:B,d(c){c&&T(e),s&&s.d(),o=!1,r()}}}function bu(t,e,i){let{expanded:n=!1}=e;function l(o){ft.call(this,t,o)}return t.$$set=o=>{"expanded"in o&&i(0,n=o.expanded)},[n,l]}class Ir extends be{constructor(e){super(),ge(this,e,bu,gu,me,{expanded:0},hu)}}function wu(t){Se(t,"v-1bwjmdb",'.tooltip-wrapper.v-1bwjmdb{position:relative;display:block}.tooltip.v-1bwjmdb{position:absolute;opacity:0;visibility:hidden;transition:opacity 200ms, visibility 200ms;bottom:100%;transform:translateX(-50%)}.tooltip.v-1bwjmdb: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)}.content.v-1bwjmdb{display:inline-block;padding:6px 10px;border-radius:3px;color:var(--white);background-color:rgba(41, 41, 41, .8)}.tooltip.active.v-1bwjmdb{opacity:1;visibility:visible}')}function _u(t){let e,i,n,l,o;return{c(){e=g("div"),i=g("div"),n=g("div"),l=_e(t[0]),u(n,"class","content v-1bwjmdb"),u(i,"class","tooltip v-1bwjmdb"),E(i,"active",t[1]),u(e,"class","tooltip-wrapper v-1bwjmdb"),u(e,"style",o=`transform: translate(${t[2]}px, ${t[3]}px);`)},m(r,s){M(r,e,s),v(e,i),v(i,n),v(n,l)},p(r,[s]){s&1&&Le(l,r[0]),s&2&&E(i,"active",r[1]),s&12&&o!==(o=`transform: translate(${r[2]}px, ${r[3]}px);`)&&u(e,"style",o)},i:B,o:B,d(r){r&&T(e)}}}function yu(t,e,i){let{content:n=""}=e,{active:l=!1}=e,{translateXPx:o=0}=e,{translateYPx:r=0}=e;return t.$$set=s=>{"content"in s&&i(0,n=s.content),"active"in s&&i(1,l=s.active),"translateXPx"in s&&i(2,o=s.translateXPx),"translateYPx"in s&&i(3,r=s.translateYPx)},[n,l,o,r]}class ku extends be{constructor(e){super(),ge(this,e,yu,_u,me,{content:0,active:1,translateXPx:2,translateYPx:3},wu)}}function zl(t){let e,i;return e=new ku({props:{content:t[5],active:t[4],translateXPx:t[6],translateYPx:-16}}),{c(){x(e.$$.fragment)},m(n,l){J(e,n,l),i=!0},p(n,l){const o={};l&32&&(o.content=n[5]),l&16&&(o.active=n[4]),l&64&&(o.translateXPx=n[6]),e.$set(o)},i(n){i||(h(e.$$.fragment,n),i=!0)},o(n){P(e.$$.fragment,n),i=!1},d(n){Z(e,n)}}}function Pu(t){let e,i,n,l=(!t[8]||t[8]&&t[7])&&zl(t);return i=new Mn({props:{isActiveLive:t[9],ariaLabel:Te("aria_timeline"),ariaValueMin:0,ariaValueMax:t[0],ariaValueNow:Math.round(t[3]*100),ariaValueText:Te("aria_timeline_value",{position:t[2],duration:t[1]}),loadedProgress:t[10],filledProgress:t[3],handleProgress:t[3],onPointerDown:t[17],onHandleMove:t[18],onPointerMove:t[21],onPointerUp:t[19],onPointerEnter:t[20],onPointerLeave:t[22]}}),{c(){l&&l.c(),e=L(),x(i.$$.fragment)},m(o,r){l&&l.m(o,r),M(o,e,r),J(i,o,r),n=!0},p(o,[r]){!o[8]||o[8]&&o[7]?l?(l.p(o,r),r&384&&h(l,1)):(l=zl(o),l.c(),h(l,1),l.m(e.parentNode,e)):l&&(se(),P(l,1,1,()=>{l=null}),ae());const s={};r&512&&(s.isActiveLive=o[9]),r&1&&(s.ariaValueMax=o[0]),r&8&&(s.ariaValueNow=Math.round(o[3]*100)),r&6&&(s.ariaValueText=Te("aria_timeline_value",{position:o[2],duration:o[1]})),r&1024&&(s.loadedProgress=o[10]),r&8&&(s.filledProgress=o[3]),r&8&&(s.handleProgress=o[3]),i.$set(s)},i(o){n||(h(l),h(i.$$.fragment,o),n=!0)},o(o){P(l),P(i.$$.fragment,o),n=!1},d(o){l&&l.d(o),o&&T(e),Z(i,o)}}}function Su(t,e,i){let n,l,o,r,s,c;const a=Qe(),d=a.state.bufferedProgress$;Q(t,d,U=>i(10,c=U));const m=a.state.positionWithScrubbing$;Q(t,m,U=>i(23,o=U));const f=a.state.duration$;Q(t,f,U=>i(0,l=U));const p=a.state.isLive$;Q(t,p,U=>i(7,n=U));const w=a.state.isActiveLive$;Q(t,w,U=>i(9,s=U));const b=a.ui.isMobile;Q(t,b,U=>i(8,r=U));let y,N,_,S=!1,D="",R=0;function F(U){a.actions.internal.startScrubbing(U)}function I(U){a.actions.internal.progressScrubbing(U)}function k(U){a.actions.internal.completeScrubbing(U)}function O(U,X){q(U,X),i(4,S=!0)}function C(U,X){q(U,X)}function Y(){i(4,S=!1)}function q(U,X){i(6,R=X),i(5,D=H(U))}function H(U){const X=Mt((n?1-U:U)*l);return n?`-${X}`:X}return t.$$.update=()=>{t.$$.dirty&1&&i(1,y=Mt(l)),t.$$.dirty&8388608&&i(2,N=Mt(o)),t.$$.dirty&8388609&&i(3,_=o/l)},[l,y,N,_,S,D,R,n,r,s,c,d,m,f,p,w,b,F,I,k,O,C,Y,o]}let Vu=class extends be{constructor(e){super(),ge(this,e,Su,Pu,me,{})}};function Au(t){let e,i;return e=new Mn({props:{ariaValueMin:0,ariaValueMax:t[0],ariaValueNow:Math.round(t[3]*100),ariaValueText:Te("aria_timeline_value",{position:t[2],duration:t[1]}),filledProgress:t[3],isAds:!0,squareBorders:t[4]}}),{c(){x(e.$$.fragment)},m(n,l){J(e,n,l),i=!0},p(n,[l]){const o={};l&1&&(o.ariaValueMax=n[0]),l&8&&(o.ariaValueNow=Math.round(n[3]*100)),l&6&&(o.ariaValueText=Te("aria_timeline_value",{position:n[2],duration:n[1]})),l&8&&(o.filledProgress=n[3]),l&16&&(o.squareBorders=n[4]),e.$set(o)},i(n){i||(h(e.$$.fragment,n),i=!0)},o(n){P(e.$$.fragment,n),i=!1},d(n){Z(e,n)}}}function Cu(t,e,i){let n,{position:l=0}=e,{duration:o=0}=e;const s=Qe().ui.isMobile;Q(t,s,m=>i(4,n=m));let c,a,d;return t.$$set=m=>{"position"in m&&i(6,l=m.position),"duration"in m&&i(0,o=m.duration)},t.$$.update=()=>{t.$$.dirty&1&&i(1,c=Mt(o)),t.$$.dirty&64&&i(2,a=Mt(l)),t.$$.dirty&65&&i(3,d=l/o)},[o,c,a,d,n,s,l]}class Rr extends be{constructor(e){super(),ge(this,e,Cu,Au,me,{position:6,duration:0})}}function Eu(t){Se(t,"v-17msmwz",".timeline.v-17msmwz{display:flex;align-items:center;width:100%;min-width:86px;margin:0 6px}.timeline-stub.v-17msmwz{width:100%;min-width:20px}")}function Tu(t){let e;return{c(){e=g("div"),u(e,"class","timeline-stub v-17msmwz")},m(i,n){M(i,e,n)},p:B,i:B,o:B,d(i){i&&T(e)}}}function Mu(t){let e,i,n,l,o;const r=[Nu,Lu],s=[];function c(a,d){return a[0]?0:1}return i=c(t),n=s[i]=r[i](t),{c(){e=g("div"),n.c(),u(e,"class",l="timeline "+t[1]+" v-17msmwz")},m(a,d){M(a,e,d),s[i].m(e,null),o=!0},p(a,d){let m=i;i=c(a),i===m?s[i].p(a,d):(se(),P(s[m],1,1,()=>{s[m]=null}),ae(),n=s[i],n?n.p(a,d):(n=s[i]=r[i](a),n.c()),h(n,1),n.m(e,null)),(!o||d&2&&l!==(l="timeline "+a[1]+" v-17msmwz"))&&u(e,"class",l)},i(a){o||(h(n),o=!0)},o(a){P(n),o=!1},d(a){a&&T(e),s[i].d()}}}function Lu(t){let e,i;return e=new Vu({}),{c(){x(e.$$.fragment)},m(n,l){J(e,n,l),i=!0},p:B,i(n){i||(h(e.$$.fragment,n),i=!0)},o(n){P(e.$$.fragment,n),i=!1},d(n){Z(e,n)}}}function Nu(t){let e,i;return e=new Rr({props:{position:t[3],duration:t[4]}}),{c(){x(e.$$.fragment)},m(n,l){J(e,n,l),i=!0},p(n,l){const o={};l&8&&(o.position=n[3]),l&16&&(o.duration=n[4]),e.$set(o)},i(n){i||(h(e.$$.fragment,n),i=!0)},o(n){P(e.$$.fragment,n),i=!1},d(n){Z(e,n)}}}function zu(t){let e,i,n,l;const o=[Mu,Tu],r=[];function s(c,a){return c[2]?0:1}return e=s(t),i=r[e]=o[e](t),{c(){i.c(),n=ct()},m(c,a){r[e].m(c,a),M(c,n,a),l=!0},p(c,[a]){let d=e;e=s(c),e===d?r[e].p(c,a):(se(),P(r[d],1,1,()=>{r[d]=null}),ae(),i=r[e],i?i.p(c,a):(i=r[e]=o[e](c),i.c()),h(i,1),i.m(n.parentNode,n))},i(c){l||(h(i),l=!0)},o(c){P(i),l=!1},d(c){r[e].d(c),c&&T(n)}}}function Iu(t,e,i){let n,l,o,{isAds:r=!1}=e,{canRewindLive:s}=e,{isHidden:c=!1}=e,{className:a=""}=e;const d=Qe(),m=d.state.isLive$;Q(t,m,b=>i(10,n=b));const f=d.ads.duration;Q(t,f,b=>i(4,o=b));const p=d.ads.position;Q(t,p,b=>i(3,l=b));let w;return t.$$set=b=>{"isAds"in b&&i(0,r=b.isAds),"canRewindLive"in b&&i(8,s=b.canRewindLive),"isHidden"in b&&i(9,c=b.isHidden),"className"in b&&i(1,a=b.className)},t.$$.update=()=>{t.$$.dirty&1793&&i(2,w=!c&&(!n||n&&s||r))},[r,a,w,l,o,m,f,p,s,c,n]}class Br extends be{constructor(e){super(),ge(this,e,Iu,zu,me,{isAds:0,canRewindLive:8,isHidden:9,className:1},Eu)}}function Ru(t){Se(t,"v-17mht85",`.wrapper-bottom.v-17mht85.v-17mht85{pointer-events:none;position:absolute;width:100%;bottom:0;left:0;height:var(--videoplayer-controls-gradient-height);background:linear-gradient(
|
|
6
|
+
"use strict";var V0=require("@vkontakte/videoplayer-core/es2018.cjs.js"),R6=require("lodash/debounce.js"),o0=require("@vkontakte/videoplayer-shared/es2018.cjs.js"),It=require("@vkontakte/videoplayer-statistics/es2018.cjs.js"),Xn=require("lodash/cloneDeepWith.js");function R(){}function xn(t,e){for(const i in e)t[i]=e[i];return t}function O6(t){return t()}function zt(){return Object.create(null)}function J0(t){t.forEach(O6)}function D0(t){return typeof t=="function"}function v0(t,e){return t!=t?e==e:t!==e||t&&typeof t=="object"||typeof t=="function"}let P1;function C0(t,e){return P1||(P1=document.createElement("a")),P1.href=e,t===P1.href}function Jn(t){return Object.keys(t).length===0}function Vt(t,...e){if(t==null)return R;const i=t.subscribe(...e);return i.unsubscribe?()=>i.unsubscribe():i}function B0(t){let e;return Vt(t,i=>e=i)(),e}function Q(t,e,i){t.$$.on_destroy.push(Vt(e,i))}function $n(t,e,i,n){if(t){const l=Z6(t,e,i,n);return t[0](l)}}function Z6(t,e,i,n){return t[1]&&n?xn(i.ctx.slice(),t[1](n(e))):i.ctx}function el(t,e,i,n){if(t[2]&&n){const l=t[2](n(i));if(e.dirty===void 0)return l;if(typeof l=="object"){const o=[],r=Math.max(e.dirty.length,l.length);for(let s=0;s<r;s+=1)o[s]=e.dirty[s]|l[s];return o}return e.dirty|l}return e.dirty}function tl(t,e,i,n,l,o){if(l){const r=Z6(e,i,n,o);t.p(r,l)}}function il(t){if(t.ctx.length>32){const e=[],i=t.ctx.length/32;for(let n=0;n<i;n++)e[n]=-1;return e}return-1}function Ne(t){return t==null?"":t}function v(t,e){t.appendChild(e)}function _0(t,e,i){const n=nl(t);if(!n.getElementById(e)){const l=g("style");l.id=e,l.textContent=i,ll(n,l)}}function nl(t){if(!t)return document;const e=t.getRootNode?t.getRootNode():t.ownerDocument;return e&&e.host?e:t.ownerDocument}function ll(t,e){return v(t.head||t,e),e.sheet}function T(t,e,i){t.insertBefore(e,i||null)}function E(t){t.parentNode&&t.parentNode.removeChild(t)}function Bt(t,e){for(let i=0;i<t.length;i+=1)t[i]&&t[i].d(e)}function g(t){return document.createElement(t)}function S0(t){return document.createElementNS("http://www.w3.org/2000/svg",t)}function g0(t){return document.createTextNode(t)}function z(){return g0(" ")}function $0(){return g0("")}function r0(t,e,i,n){return t.addEventListener(e,i,n),()=>t.removeEventListener(e,i,n)}function Je(t){return function(e){return e.preventDefault(),t.call(this,e)}}function ol(t){return function(e){return e.stopPropagation(),t.call(this,e)}}function u(t,e,i){i==null?t.removeAttribute(e):t.getAttribute(e)!==i&&t.setAttribute(e,i)}function rl(t){return Array.from(t.childNodes)}function A0(t,e){e=""+e,t.wholeText!==e&&(t.data=e)}function f1(t,e,i,n){i===null?t.style.removeProperty(e):t.style.setProperty(e,i,n?"important":"")}function H(t,e,i){t.classList[i?"add":"remove"](e)}let h1;function m1(t){h1=t}function B1(){if(!h1)throw new Error("Function called outside component initialization");return h1}function i1(t){B1().$$.on_mount.push(t)}function F6(t){B1().$$.on_destroy.push(t)}function sl(t,e){return B1().$$.context.set(t,e),e}function al(t){return B1().$$.context.get(t)}function de(t,e){const i=t.$$.callbacks[e.type];i&&i.slice().forEach(n=>n.call(this,e))}const d1=[],x0=[],A1=[],mt=[],cl=Promise.resolve();let pt=!1;function ul(){pt||(pt=!0,cl.then(j6))}function ht(t){A1.push(t)}function dl(t){mt.push(t)}const Y1=new Set;let r1=0;function j6(){if(r1!==0)return;const t=h1;do{try{for(;r1<d1.length;){const e=d1[r1];r1++,m1(e),fl(e.$$)}}catch(e){throw d1.length=0,r1=0,e}for(m1(null),d1.length=0,r1=0;x0.length;)x0.pop()();for(let e=0;e<A1.length;e+=1){const i=A1[e];Y1.has(i)||(Y1.add(i),i())}A1.length=0}while(d1.length);for(;mt.length;)mt.pop()();pt=!1,Y1.clear(),m1(t)}function fl(t){if(t.fragment!==null){t.update(),J0(t.before_update);const e=t.dirty;t.dirty=[-1],t.fragment&&t.fragment.p(t.ctx,e),t.after_update.forEach(ht)}}const E1=new Set;let e1;function a0(){e1={r:0,c:[],p:e1}}function c0(){e1.r||J0(e1.c),e1=e1.p}function h(t,e){t&&t.i&&(E1.delete(t),t.i(e))}function _(t,e,i,n){if(t&&t.o){if(E1.has(t))return;E1.add(t),e1.c.push(()=>{E1.delete(t),n&&(i&&t.d(1),n())}),t.o(e)}else n&&n()}const vl=typeof window!="undefined"?window:typeof globalThis!="undefined"?globalThis:global;function ml(t,e,i){const n=t.$$.props[e];n!==void 0&&(t.$$.bound[n]=i,i(t.$$.ctx[n]))}function i0(t){t&&t.c()}function $(t,e,i,n){const{fragment:l,after_update:o}=t.$$;l&&l.m(e,i),n||ht(()=>{const r=t.$$.on_mount.map(O6).filter(D0);t.$$.on_destroy?t.$$.on_destroy.push(...r):J0(r),t.$$.on_mount=[]}),o.forEach(ht)}function e0(t,e){const i=t.$$;i.fragment!==null&&(J0(i.on_destroy),i.fragment&&i.fragment.d(e),i.on_destroy=i.fragment=null,i.ctx=[])}function pl(t,e){t.$$.dirty[0]===-1&&(d1.push(t),ul(),t.$$.dirty.fill(0)),t.$$.dirty[e/31|0]|=1<<e%31}function m0(t,e,i,n,l,o,r,s=[-1]){const a=h1;m1(t);const c=t.$$={fragment:null,ctx:[],props:o,update:R,not_equal:l,bound:zt(),on_mount:[],on_destroy:[],on_disconnect:[],before_update:[],after_update:[],context:new Map(e.context||(a?a.$$.context:[])),callbacks:zt(),dirty:s,skip_bound:!1,root:e.target||a.$$.root};r&&r(c.root);let f=!1;if(c.ctx=i?i(t,e.props||{},(m,p,...d)=>{const b=d.length?d[0]:p;return c.ctx&&l(c.ctx[m],c.ctx[m]=b)&&(!c.skip_bound&&c.bound[m]&&c.bound[m](b),f&&pl(t,m)),p}):[],c.update(),f=!0,J0(c.before_update),c.fragment=n?n(c.ctx):!1,e.target){if(e.hydrate){const m=rl(e.target);c.fragment&&c.fragment.l(m),m.forEach(E)}else c.fragment&&c.fragment.c();e.intro&&h(t.$$.fragment),$(t,e.target,e.anchor,e.customElement),j6()}m1(a)}class p0{$destroy(){e0(this,1),this.$destroy=R}$on(e,i){if(!D0(i))return R;const n=this.$$.callbacks[e]||(this.$$.callbacks[e]=[]);return n.push(i),()=>{const l=n.indexOf(i);l!==-1&&n.splice(l,1)}}$set(e){this.$$set&&!Jn(e)&&(this.$$.skip_bound=!0,this.$$set(e),this.$$.skip_bound=!1)}}const s1=[];function $e(t,e){return{subscribe:O0(t,e).subscribe}}function O0(t,e=R){let i;const n=new Set;function l(s){if(v0(t,s)&&(t=s,i)){const a=!s1.length;for(const c of n)c[1](),s1.push(c,t);if(a){for(let c=0;c<s1.length;c+=2)s1[c][0](s1[c+1]);s1.length=0}}}function o(s){l(s(t))}function r(s,a=R){const c=[s,a];return n.add(c),n.size===1&&(i=e(l)||R),s(t),()=>{n.delete(c),n.size===0&&(i(),i=null)}}return{set:l,update:o,subscribe:r}}function ye(t,e,i){const n=!Array.isArray(t),l=n?[t]:t,o=e.length<2;return $e(i,r=>{let s=!1;const a=[];let c=0,f=R;const m=()=>{if(c)return;f();const d=e(n?a[0]:a,r);o?r(d):f=D0(d)?d:R},p=l.map((d,b)=>Vt(d,C=>{a[b]=C,c&=~(1<<b),s&&m()},()=>{c|=1<<b}));return s=!0,m(),function(){J0(p),f()}})}const D6="1.1.22",hl="es2018.cjs.js",U6=Symbol("storeContext"),gl=t=>{sl(U6,t)},F0=()=>{const t=al(U6);return o0.assertNonNullable(t,"Store context is empty!"),t},R0=(t,e)=>$e(t.getValue(),i=>{const n=t.subscribe(l=>{i(l),e==null||e(l)});return()=>n.unsubscribe()}),bl=(t,e,i)=>{var n,l,o,r;const s=t.info,{width:a,height:c}=B0(i.ui.playerSize),f=(l=(n=s.throughputEstimation$.getValue())===null||n===void 0?void 0:n.toFixed(0))!==null&&l!==void 0?l:0,m=(r=(o=s.rttEstimation$.getValue())===null||o===void 0?void 0:o.toFixed(0))!==null&&r!==void 0?r:0,p=s.isAutoQualityEnabled$.getValue()?"auto":"manual",d={Version:`${hl}@${D6}`,Browser:navigator.userAgent,"United video id":i.videoId,"Content host":s.hostname$.getValue(),"Connection type":s.httpConnectionType$.getValue()+(s.httpConnectionReused$.getValue()?" (reused)":""),Throughput:`${f}Kbps @ ${m}ms RTT`,Format:s.currentFormat$.getValue(),"Available Formats":Object.keys(e.sources).join(", "),Quality:`${p} ${s.currentQuality$.getValue()}`,"Available qualities":s.availableQualities$.getValue().join(", "),Position:`${B0(i.state.positionExact$)}s`,State:`${B0(i.playerPhase)} ${s.playbackState$.getValue()}`,"Player size":`${a}x${c}`,URL:window.location.href,Errors:B0(i.state.errorLog$).map(({id:b})=>b).join(", ")};return Object.entries(d).map(([b,C])=>`${b}: ${C}`).join(`
|
|
7
|
+
`)},Cl=(t,e,i)=>{const n=t.info,{width:l,height:o}=B0(i.ui.playerSize),r={version:D6,viewport:`${l}x${o}`,volume:Math.round(B0(i.state.volume$)*100)},s=i.videoId;s&&(r.id=s),n.currentFormat$.getValue()&&(r.provider=n.currentFormat$.getValue()),n.hostname$.getValue()&&(r.cdn=n.hostname$.getValue());const f=n.intrinsicVideoSize$.getValue();f&&(r.videoSize=`${f.width}x${f.height}`);const m=n.currentBuffer$.getValue();m&&(r.buffer=Math.max(m.end-B0(i.state.positionExact$),0));const p=n.throughputEstimation$.getValue();p&&(r.speed=p);const d=n.videoBitrate$.getValue();return d&&(r.bitrate=d),r};var Rt=typeof globalThis!="undefined"?globalThis:typeof window!="undefined"?window:typeof global!="undefined"?global:typeof self!="undefined"?self:{},L1=function(t){return t&&t.Math==Math&&t},n1=L1(typeof globalThis=="object"&&globalThis)||L1(typeof window=="object"&&window)||L1(typeof self=="object"&&self)||L1(typeof Rt=="object"&&Rt)||function(){return this}()||Function("return this")(),l1=function(t){try{return!!t()}catch(e){return!0}},_l=l1,R1=!_l(function(){var t=function(){}.bind();return typeof t!="function"||t.hasOwnProperty("prototype")}),wl=R1,q6=Function.prototype,Ot=q6.apply,Zt=q6.call,yl=typeof Reflect=="object"&&Reflect.apply||(wl?Zt.bind(Ot):function(){return Zt.apply(Ot,arguments)}),Q6=R1,W6=Function.prototype,gt=W6.call,kl=Q6&&W6.bind.bind(gt,gt),Ie=Q6?kl:function(t){return function(){return gt.apply(t,arguments)}},G6=Ie,Vl=G6({}.toString),Pl=G6("".slice),O1=function(t){return Pl(Vl(t),8,-1)},Ll=O1,Sl=Ie,Y6=function(t){if(Ll(t)==="Function")return Sl(t)},bt=typeof document=="object"&&document.all,Ml=typeof bt=="undefined"&&bt!==void 0,K6={all:bt,IS_HTMLDDA:Ml},X6=K6,Hl=X6.all,Ve=X6.IS_HTMLDDA?function(t){return typeof t=="function"||t===Hl}:function(t){return typeof t=="function"},x6={},Al=l1,g1=!Al(function(){return Object.defineProperty({},1,{get:function(){return 7}})[1]!=7}),El=R1,S1=Function.prototype.call,b1=El?S1.bind(S1):function(){return S1.apply(S1,arguments)},J6={},$6={}.propertyIsEnumerable,en=Object.getOwnPropertyDescriptor,Tl=en&&!$6.call({1:2},1);J6.f=Tl?function(e){var i=en(this,e);return!!i&&i.enumerable}:$6;var tn=function(t,e){return{enumerable:!(t&1),configurable:!(t&2),writable:!(t&4),value:e}},Nl=Ie,Il=l1,zl=O1,K1=Object,Bl=Nl("".split),Rl=Il(function(){return!K1("z").propertyIsEnumerable(0)})?function(t){return zl(t)=="String"?Bl(t,""):K1(t)}:K1,Pt=function(t){return t==null},Ol=Pt,Zl=TypeError,Lt=function(t){if(Ol(t))throw Zl("Can't call method on "+t);return t},Fl=Rl,jl=Lt,Dl=function(t){return Fl(jl(t))},Ft=Ve,nn=K6,Ul=nn.all,C1=nn.IS_HTMLDDA?function(t){return typeof t=="object"?t!==null:Ft(t)||t===Ul}:function(t){return typeof t=="object"?t!==null:Ft(t)},ln={},X1=ln,x1=n1,ql=Ve,jt=function(t){return ql(t)?t:void 0},on=function(t,e){return arguments.length<2?jt(X1[t])||jt(x1[t]):X1[t]&&X1[t][e]||x1[t]&&x1[t][e]},Ql=Ie,rn=Ql({}.isPrototypeOf),Wl=typeof navigator!="undefined"&&String(navigator.userAgent)||"",sn=n1,J1=Wl,Dt=sn.process,Ut=sn.Deno,qt=Dt&&Dt.versions||Ut&&Ut.version,Qt=qt&&qt.v8,ue,N1;Qt&&(ue=Qt.split("."),N1=ue[0]>0&&ue[0]<4?1:+(ue[0]+ue[1]));!N1&&J1&&(ue=J1.match(/Edge\/(\d+)/),(!ue||ue[1]>=74)&&(ue=J1.match(/Chrome\/(\d+)/),ue&&(N1=+ue[1])));var Gl=N1,Wt=Gl,Yl=l1,an=!!Object.getOwnPropertySymbols&&!Yl(function(){var t=Symbol();return!String(t)||!(Object(t)instanceof Symbol)||!Symbol.sham&&Wt&&Wt<41}),Kl=an,cn=Kl&&!Symbol.sham&&typeof Symbol.iterator=="symbol",Xl=on,xl=Ve,Jl=rn,$l=cn,eo=Object,un=$l?function(t){return typeof t=="symbol"}:function(t){var e=Xl("Symbol");return xl(e)&&Jl(e.prototype,eo(t))},to=String,io=function(t){try{return to(t)}catch(e){return"Object"}},no=Ve,lo=io,oo=TypeError,dn=function(t){if(no(t))return t;throw oo(lo(t)+" is not a function")},ro=dn,so=Pt,fn=function(t,e){var i=t[e];return so(i)?void 0:ro(i)},$1=b1,et=Ve,tt=C1,ao=TypeError,co=function(t,e){var i,n;if(e==="string"&&et(i=t.toString)&&!tt(n=$1(i,t))||et(i=t.valueOf)&&!tt(n=$1(i,t))||e!=="string"&&et(i=t.toString)&&!tt(n=$1(i,t)))return n;throw ao("Can't convert object to primitive value")},Ct={},uo={get exports(){return Ct},set exports(t){Ct=t}},fo=!0,Gt=n1,vo=Object.defineProperty,mo=function(t,e){try{vo(Gt,t,{value:e,configurable:!0,writable:!0})}catch(i){Gt[t]=e}return e},po=n1,ho=mo,Yt="__core-js_shared__",go=po[Yt]||ho(Yt,{}),bo=go,Kt=bo;(uo.exports=function(t,e){return Kt[t]||(Kt[t]=e!==void 0?e:{})})("versions",[]).push({version:"3.27.2",mode:"pure",copyright:"\xA9 2014-2023 Denis Pushkarev (zloirock.ru)",license:"https://github.com/zloirock/core-js/blob/v3.27.2/LICENSE",source:"https://github.com/zloirock/core-js"});var Co=Lt,_o=Object,vn=function(t){return _o(Co(t))},wo=Ie,yo=vn,ko=wo({}.hasOwnProperty),Z1=Object.hasOwn||function(e,i){return ko(yo(e),i)},Vo=Ie,Po=0,Lo=Math.random(),So=Vo(1 .toString),Mo=function(t){return"Symbol("+(t===void 0?"":t)+")_"+So(++Po+Lo,36)},Ho=n1,Ao=Ct,Xt=Z1,Eo=Mo,To=an,No=cn,v1=Ho.Symbol,it=Ao("wks"),Io=No?v1.for||v1:v1&&v1.withoutSetter||Eo,_1=function(t){return Xt(it,t)||(it[t]=To&&Xt(v1,t)?v1[t]:Io("Symbol."+t)),it[t]},zo=b1,xt=C1,Jt=un,Bo=fn,Ro=co,Oo=_1,Zo=TypeError,Fo=Oo("toPrimitive"),jo=function(t,e){if(!xt(t)||Jt(t))return t;var i=Bo(t,Fo),n;if(i){if(e===void 0&&(e="default"),n=zo(i,t,e),!xt(n)||Jt(n))return n;throw Zo("Can't convert object to primitive value")}return e===void 0&&(e="number"),Ro(t,e)},Do=jo,Uo=un,mn=function(t){var e=Do(t,"string");return Uo(e)?e:e+""},qo=n1,$t=C1,_t=qo.document,Qo=$t(_t)&&$t(_t.createElement),Wo=function(t){return Qo?_t.createElement(t):{}},Go=g1,Yo=l1,Ko=Wo,pn=!Go&&!Yo(function(){return Object.defineProperty(Ko("div"),"a",{get:function(){return 7}}).a!=7}),Xo=g1,xo=b1,Jo=J6,$o=tn,e3=Dl,t3=mn,i3=Z1,n3=pn,ei=Object.getOwnPropertyDescriptor;x6.f=Xo?ei:function(e,i){if(e=e3(e),i=t3(i),n3)try{return ei(e,i)}catch(n){}if(i3(e,i))return $o(!xo(Jo.f,e,i),e[i])};var l3=l1,o3=Ve,r3=/#|\.prototype\./,w1=function(t,e){var i=a3[s3(t)];return i==u3?!0:i==c3?!1:o3(e)?l3(e):!!e},s3=w1.normalize=function(t){return String(t).replace(r3,".").toLowerCase()},a3=w1.data={},c3=w1.NATIVE="N",u3=w1.POLYFILL="P",d3=w1,ti=Y6,f3=dn,v3=R1,m3=ti(ti.bind),p3=function(t,e){return f3(t),e===void 0?t:v3?m3(t,e):function(){return t.apply(e,arguments)}},hn={},h3=g1,g3=l1,b3=h3&&g3(function(){return Object.defineProperty(function(){},"prototype",{value:42,writable:!1}).prototype!=42}),C3=C1,_3=String,w3=TypeError,gn=function(t){if(C3(t))return t;throw w3(_3(t)+" is not an object")},y3=g1,k3=pn,V3=b3,M1=gn,ii=mn,P3=TypeError,nt=Object.defineProperty,L3=Object.getOwnPropertyDescriptor,lt="enumerable",ot="configurable",rt="writable";hn.f=y3?V3?function(e,i,n){if(M1(e),i=ii(i),M1(n),typeof e=="function"&&i==="prototype"&&"value"in n&&rt in n&&!n[rt]){var l=L3(e,i);l&&l[rt]&&(e[i]=n.value,n={configurable:ot in n?n[ot]:l[ot],enumerable:lt in n?n[lt]:l[lt],writable:!1})}return nt(e,i,n)}:nt:function(e,i,n){if(M1(e),i=ii(i),M1(n),k3)try{return nt(e,i,n)}catch(l){}if("get"in n||"set"in n)throw P3("Accessors not supported");return"value"in n&&(e[i]=n.value),e};var S3=g1,M3=hn,H3=tn,A3=S3?function(t,e,i){return M3.f(t,e,H3(1,i))}:function(t,e,i){return t[e]=i,t},H1=n1,E3=yl,T3=Y6,N3=Ve,I3=x6.f,z3=d3,a1=ln,B3=p3,c1=A3,ni=Z1,R3=function(t){var e=function(i,n,l){if(this instanceof e){switch(arguments.length){case 0:return new t;case 1:return new t(i);case 2:return new t(i,n)}return new t(i,n,l)}return E3(t,this,arguments)};return e.prototype=t.prototype,e},O3=function(t,e){var i=t.target,n=t.global,l=t.stat,o=t.proto,r=n?H1:l?H1[i]:(H1[i]||{}).prototype,s=n?a1:a1[i]||c1(a1,i,{})[i],a=s.prototype,c,f,m,p,d,b,C,S,L;for(p in e)c=z3(n?p:i+(l?".":"#")+p,t.forced),f=!c&&r&&ni(r,p),b=s[p],f&&(t.dontCallGetSet?(L=I3(r,p),C=L&&L.value):C=r[p]),d=f&&C?C:e[p],!(f&&typeof b==typeof d)&&(t.bind&&f?S=B3(d,H1):t.wrap&&f?S=R3(d):o&&N3(d)?S=T3(d):S=d,(t.sham||d&&d.sham||b&&b.sham)&&c1(S,"sham",!0),c1(s,p,S),o&&(m=i+"Prototype",ni(a1,m)||c1(a1,m,{}),c1(a1[m],p,d),t.real&&a&&(c||!a[p])&&c1(a,p,d)))},Z3=C1,F3=O1,j3=_1,D3=j3("match"),U3=function(t){var e;return Z3(t)&&((e=t[D3])!==void 0?!!e:F3(t)=="RegExp")},q3=_1,Q3=q3("toStringTag"),bn={};bn[Q3]="z";var W3=String(bn)==="[object z]",G3=W3,Y3=Ve,T1=O1,K3=_1,X3=K3("toStringTag"),x3=Object,J3=T1(function(){return arguments}())=="Arguments",$3=function(t,e){try{return t[e]}catch(i){}},e2=G3?T1:function(t){var e,i,n;return t===void 0?"Undefined":t===null?"Null":typeof(i=$3(e=x3(t),X3))=="string"?i:J3?T1(e):(n=T1(e))=="Object"&&Y3(e.callee)?"Arguments":n},t2=e2,i2=String,n2=function(t){if(t2(t)==="Symbol")throw TypeError("Cannot convert a Symbol value to a string");return i2(t)},l2=gn,o2=function(){var t=l2(this),e="";return t.hasIndices&&(e+="d"),t.global&&(e+="g"),t.ignoreCase&&(e+="i"),t.multiline&&(e+="m"),t.dotAll&&(e+="s"),t.unicode&&(e+="u"),t.unicodeSets&&(e+="v"),t.sticky&&(e+="y"),e},r2=b1,s2=Z1,a2=rn,c2=o2,li=RegExp.prototype,u2=function(t){var e=t.flags;return e===void 0&&!("flags"in li)&&!s2(t,"flags")&&a2(li,t)?r2(c2,t):e},St=Ie,d2=vn,f2=Math.floor,st=St("".charAt),v2=St("".replace),at=St("".slice),m2=/\$([$&'`]|\d{1,2}|<[^>]*>)/g,p2=/\$([$&'`]|\d{1,2})/g,h2=function(t,e,i,n,l,o){var r=i+t.length,s=n.length,a=p2;return l!==void 0&&(l=d2(l),a=m2),v2(o,a,function(c,f){var m;switch(st(f,0)){case"$":return"$";case"&":return t;case"`":return at(e,0,i);case"'":return at(e,r);case"<":m=l[at(f,1,-1)];break;default:var p=+f;if(p===0)return c;if(p>s){var d=f2(p/10);return d===0?c:d<=s?n[d-1]===void 0?st(f,1):n[d-1]+st(f,1):c}m=n[p-1]}return m===void 0?"":m})},g2=O3,b2=b1,Mt=Ie,oi=Lt,C2=Ve,_2=Pt,w2=U3,u1=n2,y2=fn,k2=u2,V2=h2,P2=_1,L2=fo,S2=P2("replace"),M2=TypeError,Cn=Mt("".indexOf),H2=Mt("".replace),ri=Mt("".slice),A2=Math.max,si=function(t,e,i){return i>t.length?-1:e===""?i:Cn(t,e,i)};g2({target:"String",proto:!0},{replaceAll:function(e,i){var n=oi(this),l,o,r,s,a,c,f,m,p,d=0,b=0,C="";if(!_2(e)){if(l=w2(e),l&&(o=u1(oi(k2(e))),!~Cn(o,"g")))throw M2("`.replaceAll` does not allow non-global regexes");if(r=y2(e,S2),r)return b2(r,e,n,i);if(L2&&l)return H2(u1(n),e,i)}for(s=u1(n),a=u1(e),c=C2(i),c||(i=u1(i)),f=a.length,m=A2(1,f),d=si(s,a,0);d!==-1;)p=c?u1(i(a,d,s)):V2(a,s,d,[],void 0,i),C+=ri(s,b,d)+p,b=d+f,d=si(s,a,d+m);return b<s.length&&(C+=ri(s,b)),C}});var E2=on,T2=E2,N2=T2,I2=N2("String","replaceAll"),z2=I2,B2=z2,R2=B2,O2=R2,Z2=O2;exports.InterfaceLanguage=void 0;(function(t){t.RU="ru",t.EN="en"})(exports.InterfaceLanguage||(exports.InterfaceLanguage={}));const F2={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_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_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_debug_overlay:"\u0422\u0435\u0445\u043D\u0438\u0447\u0435\u0441\u043A\u0430\u044F \u0438\u043D\u0444\u043E\u0440\u043C\u0430\u0446\u0438\u044F",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",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"},j2={mobile_unmute:"Unmute",auto_quality_invariant:"Auto",auto_quality:"Auto ({actual})",auto_quality_option:"Auto",menu_quality:"Quality",menu_playback_rate:"Playback rate",menu_report:"Report a problem",menu_pip:"Picture in picture",menu_chromecast:"Chromecast stream",menu_copy_debug:"Copy debug info",menu_debug_overlay:"Tech stats",submenu_quality:"Quality",submenu_playback_rate:"Playback rate",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"},Ht=new Map;Ht.set(exports.InterfaceLanguage.EN,j2);Ht.set(exports.InterfaceLanguage.RU,F2);const _n=(t,e,i)=>{var n;const l=(n=Ht.get(t))===null||n===void 0?void 0:n[e];return o0.isNullable(l)?e+Object.values(i!=null?i:{}).join(" "):i?Z2(l,/{(\w+?)}/g,(o,r)=>{var s;return(s=i[r])!==null&&s!==void 0?s:""}):l},H0=(t,e)=>{const{interfaceLanguage$:i}=F0(),n=B0(i);return _n(n,t,e)};var wt="data:image/svg+xml,%3csvg width='24' height='24' fill='none' xmlns='http://www.w3.org/2000/svg'%3e%3cpath d='M13.25 2.833c.222.74.378 1.479 1.574 2.19a.574.574 0 0 0 .12.05c1.355.35 2.028-.021 2.654-.439.663-.442.86-.314 1.124-.053l.644.643c.294.294.412.412 0 1.178-.366.68-.779 1.313-.435 2.662a.469.469 0 0 0 .05.12c.71 1.206 1.448 1.418 2.186 1.566.78.156.83.386.833.757v.91c0 .416 0 .583-.833.833-.74.222-1.479.378-2.19 1.574a.469.469 0 0 0-.05.12c-.35 1.355.021 2.028.439 2.654.442.663.314.86.053 1.124l-.643.644c-.294.294-.412.412-1.178 0-.68-.366-1.313-.779-2.662-.435a.464.464 0 0 0-.12.05c-1.206.71-1.418 1.448-1.566 2.186-.156.78-.386.83-.757.833h-.91c-.416 0-.583 0-.833-.833-.222-.74-.378-1.479-1.574-2.19a.468.468 0 0 0-.12-.05c-1.355-.35-2.028.021-2.654.439-.663.442-.86.314-1.124.053l-.644-.643c-.294-.294-.412-.412 0-1.178.366-.68.779-1.313.435-2.662a.466.466 0 0 0-.05-.12c-.71-1.206-1.448-1.418-2.186-1.566-.78-.156-.83-.386-.833-.757v-.91c0-.416 0-.583.833-.833.74-.222 1.479-.378 2.19-1.574a.467.467 0 0 0 .05-.12c.35-1.355-.021-2.028-.439-2.654-.442-.663-.314-.86-.053-1.124l.643-.644c.294-.294.412-.412 1.178 0 .68.366 1.313.779 2.662.435a.467.467 0 0 0 .12-.05c1.206-.71 1.418-1.448 1.566-2.186.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' fill='white'/%3e%3c/svg%3e",D2="data:image/svg+xml,%3csvg height='24' width='24' xmlns='http://www.w3.org/2000/svg'%3e%3cg fill='none' fill-rule='evenodd'%3e%3cpath d='M0 0h24v24H0z'/%3e%3cpath 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' fill='white' fill-rule='nonzero'/%3e%3c/g%3e%3c/svg%3e",U2="data:image/svg+xml,%3csvg width='15' height='5' fill='none' xmlns='http://www.w3.org/2000/svg'%3e%3cpath 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' fill='%2370C1FF'/%3e%3c/svg%3e",q2="data:image/svg+xml,%3csvg width='15' height='6' fill='none' xmlns='http://www.w3.org/2000/svg'%3e%3cpath d='M11.516 5h1.107C14.103 5 15 4.065 15 2.5S14.103 0 12.623 0h-1.107C11.191 0 11 .2 11 .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-.468zM6.516 5c.325 0 .516-.198.516-.536V2.922h1.936v1.542c0 .338.191.536.516.536S10 4.802 10 4.464V.54C10 .198 9.809 0 9.484 0s-.516.198-.516.54v1.531H7.032V.54c0-.342-.191-.54-.516-.54S6 .198 6 .54v3.989c0 .338.191.471.516.471z' fill='%2370C1FF'/%3e%3cpath fill-rule='evenodd' clip-rule='evenodd' d='M3.338 4.909A3.9 3.9 0 0 1 2.5 5C1.037 5 0 4.135 0 2.553 0 .983 1.037 0 2.5 0 3.96 0 5 .984 5 2.553c0 .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.037C3.947 1.517 3.307.9 2.5.9c-.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' fill='%2370C1FF'/%3e%3c/svg%3e",Q2="data:image/svg+xml,%3csvg width='15' height='6' fill='none' xmlns='http://www.w3.org/2000/svg'%3e%3cpath 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' fill='%2370C1FF'/%3e%3cpath fill-rule='evenodd' clip-rule='evenodd' 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' fill='%2370C1FF'/%3e%3c/svg%3e",W2="data:image/svg+xml,%3csvg width='15' height='5' fill='none' xmlns='http://www.w3.org/2000/svg'%3e%3cpath 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' fill='%2370C1FF'/%3e%3cpath fill-rule='evenodd' clip-rule='evenodd' 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.995a1.46 1.46 0 0 0-.547.44c-.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.43.52.52 0 0 1-.204.437c-.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' fill='%2370C1FF'/%3e%3c/svg%3e",G2="data:image/svg+xml,%3csvg width='15' height='5' fill='none' xmlns='http://www.w3.org/2000/svg'%3e%3cpath 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-4 0c.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' fill='%2370C1FF'/%3e%3c/svg%3e",wn="data:image/svg+xml,%3csvg height='16' width='16' xmlns='http://www.w3.org/2000/svg'%3e%3cpath 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' fill='white'/%3e%3c/svg%3e",ai="data:image/svg+xml,%3csvg width='12' height='16' fill='none' xmlns='http://www.w3.org/2000/svg'%3e%3cpath 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' fill='white'/%3e%3c/svg%3e",Y2="data:image/svg+xml,%3csvg width='24' height='24' fill='none' xmlns='http://www.w3.org/2000/svg'%3e%3cpath fill-rule='evenodd' clip-rule='evenodd' 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' fill='white'/%3e%3c/svg%3e",K2="data:image/svg+xml,%3csvg width='24' height='24' fill='none' xmlns='http://www.w3.org/2000/svg'%3e%3cpath fill-rule='evenodd' clip-rule='evenodd' 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 4H16.812a2.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-.093.284-.022.655-.023 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.093-.284.022-.655.023-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' fill='white'/%3e%3c/svg%3e",X2="data:image/svg+xml,%3csvg width='24' height='24' fill='none' xmlns='http://www.w3.org/2000/svg'%3e%3cpath 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' fill='white'/%3e%3c/svg%3e";const yn=t=>{if(document.queryCommandSupported&&document.queryCommandSupported("copy")){const e=document.createElement("textarea");e.textContent=t,e.style.position="absolute",e.style.top="-9999px",document.body.appendChild(e),e.select();try{document.execCommand("copy")}finally{document.body.removeChild(e)}}};function x2(t){_0(t,"v-w3pect","ul.v-w3pect.v-w3pect{margin:0;padding:0}.menu.v-w3pect.v-w3pect{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-w3pect.v-w3pect{width:100%}.menu-desktop.v-w3pect.v-w3pect{position:absolute;right:0;bottom:0}.menu-mobile.v-w3pect.v-w3pect{width:100%;background:var(--videplayer-mobile-settings-bg);font-size:15px;line-height:50px}.hidden.v-w3pect.v-w3pect{visibility:hidden;opacity:0}.menu-mobile.hidden.v-w3pect.v-w3pect{display:none}.menu-subList.v-w3pect.v-w3pect{min-width:134px;padding-bottom:0}.item.v-w3pect.v-w3pect{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-w3pect.v-w3pect{padding:0 14px}.item-quality.item-mobile.v-w3pect.v-w3pect{flex-direction:row-reverse}.quality-title-mobile.v-w3pect.v-w3pect{flex-grow:1}.item.v-w3pect.v-w3pect:hover{background-color:rgba(255, 255, 255, 0.08)}.item-mobile.v-w3pect.v-w3pect:hover{background:var(--videplayer-mobile-settings-bg)}.menu-subList.v-w3pect .item.v-w3pect{color:rgba(255, 255, 255, 0.9)}.menu-subList.v-w3pect .item.v-w3pect:last-child{margin-bottom:4px}.menu-icon.v-w3pect.v-w3pect{margin-right:16px}.chromecast-item{padding-right:16px}.menu-title.v-w3pect.v-w3pect{flex-grow:1;margin-right:24px;overflow:hidden;text-overflow:ellipsis}.menu-value.v-w3pect.v-w3pect{position:relative;opacity:0.7}.menu-valueIcon.v-w3pect.v-w3pect{position:absolute;top:10px;margin-left:4px;width:15px}.menu-valueIcon-list.v-w3pect.v-w3pect{position:absolute;top:12px;width:15px;right:6px}.menu-divider.v-w3pect.v-w3pect{background-color:rgba(255, 255, 255, 0.3);height:1px;margin-bottom:4px}.menu-header.v-w3pect.v-w3pect{color:var(--white);cursor:pointer;justify-content:space-between;display:flex}.menu-header-back-icon.v-w3pect.v-w3pect{width:16px;height:24px}.menu-header.v-w3pect:hover .menu-header-back-icon.v-w3pect{opacity:0.8;transition:opacity 0.2s}.itemIcon.v-w3pect.v-w3pect{margin-right:auto;opacity:0.9}.items.v-w3pect.v-w3pect::-webkit-scrollbar{width:8px}.items.v-w3pect.v-w3pect::-webkit-scrollbar-track{box-shadow:none;background-color:#3a3a3a;border-radius:4px}.items.v-w3pect.v-w3pect::-webkit-scrollbar-thumb{min-height:40px;border-radius:5px;background-color:#666;border:1px solid transparent;background-clip:padding-box}.items.v-w3pect.v-w3pect::-webkit-scrollbar-thumb:hover{background-color:#777}.items-mobile.v-w3pect.v-w3pect{overflow-y:auto;max-height:160px;text-align:left}.close.v-w3pect.v-w3pect{position:relative;width:12px;height:12px;padding:12px;margin-right:-12px}.close.v-w3pect.v-w3pect:before,.close.v-w3pect.v-w3pect:after{position:absolute;left:18px;content:' ';height:12px;width:2px;background-color:var(--white)}.close.v-w3pect.v-w3pect:before{transform:rotate(45deg)}.close.v-w3pect.v-w3pect:after{transform:rotate(-45deg)}")}function ci(t,e,i){const n=t.slice();return n[42]=e[i],n}function ui(t,e,i){const n=t.slice();return n[45]=e[i],n}function di(t){let e,i,n,l,o,r,s,a;return{c(){e=g("div"),i=g("div"),i.textContent=`${H0("submenu_settings")}`,n=z(),l=g("div"),o=z(),r=g("div"),u(l,"class","close v-w3pect"),u(e,"class","item menu-header v-w3pect"),H(e,"item-mobile",t[0]),u(r,"class","menu-divider v-w3pect")},m(c,f){T(c,e,f),v(e,i),v(e,n),v(e,l),T(c,o,f),T(c,r,f),s||(a=r0(l,"click",t[22]),s=!0)},p(c,f){f[0]&1&&H(e,"item-mobile",c[0])},d(c){c&&E(e),c&&E(o),c&&E(r),s=!1,a()}}}function fi(t){let e,i;return{c(){e=g("img"),u(e,"class","menu-valueIcon v-w3pect"),C0(e.src,i=t[6])||u(e,"src",i),u(e,"alt","")},m(n,l){T(n,e,l)},p(n,l){l[0]&64&&!C0(e.src,i=n[6])&&u(e,"src",i)},d(n){n&&E(e)}}}function vi(t){let e,i,n,l,o,r,s,a,c,f,m;return{c(){e=g("li"),i=g("img"),l=z(),o=g("div"),o.textContent=`${H0("menu_playback_rate")}`,r=z(),s=g("div"),a=g0(t[10]),c=g0("x"),u(i,"class","menu-icon v-w3pect"),C0(i.src,n=D2)||u(i,"src",n),u(i,"alt",""),u(o,"class","menu-title v-w3pect"),u(s,"class","menu-value v-w3pect"),u(e,"class","item v-w3pect"),u(e,"role","menuitemradio"),u(e,"tabindex","0"),H(e,"item-mobile",t[0])},m(p,d){T(p,e,d),v(e,i),v(e,l),v(e,o),v(e,r),v(e,s),v(s,a),v(s,c),f||(m=r0(e,"click",t[26]),f=!0)},p(p,d){d[0]&1024&&A0(a,p[10]),d[0]&1&&H(e,"item-mobile",p[0])},d(p){p&&E(e),f=!1,m()}}}function mi(t){let e,i,n,l,o,r,s,a,c,f,m,p,d,b,C,S,L,N,k;return{c(){e=g("li"),i=g("img"),l=z(),o=g("div"),o.textContent=`${H0("menu_report")}`,r=z(),s=g("li"),a=g("img"),f=z(),m=g("div"),m.textContent=`${H0("menu_copy_debug")}`,p=z(),d=g("li"),b=g("img"),S=z(),L=g("div"),L.textContent=`${H0("menu_debug_overlay")}`,u(i,"class","menu-icon v-w3pect"),C0(i.src,n=Y2)||u(i,"src",n),u(i,"alt",""),u(o,"class","menu-title v-w3pect"),u(e,"class","item item-mobile v-w3pect"),u(e,"role","menuitemradio"),u(e,"tabindex","0"),u(a,"class","menu-icon v-w3pect"),C0(a.src,c=K2)||u(a,"src",c),u(a,"alt",""),u(m,"class","menu-title v-w3pect"),u(s,"class","item item-mobile v-w3pect"),u(s,"role","menuitemradio"),u(s,"tabindex","0"),u(b,"class","menu-icon v-w3pect"),C0(b.src,C=X2)||u(b,"src",C),u(b,"alt",""),u(L,"class","menu-title v-w3pect"),u(d,"class","item item-mobile v-w3pect"),u(d,"role","menuitemradio"),u(d,"tabindex","0")},m(B,A){T(B,e,A),v(e,i),v(e,l),v(e,o),T(B,r,A),T(B,s,A),v(s,a),v(s,f),v(s,m),T(B,p,A),T(B,d,A),v(d,b),v(d,S),v(d,L),N||(k=[r0(e,"click",t[28]),r0(s,"click",t[29]),r0(d,"click",t[30])],N=!0)},p:R,d(B){B&&E(e),B&&E(r),B&&E(s),B&&E(p),B&&E(d),N=!1,J0(k)}}}function pi(t){let e,i;return{c(){e=g("img"),u(e,"class","itemIcon v-w3pect"),C0(e.src,i=wn)||u(e,"src",i),u(e,"alt","")},m(n,l){T(n,e,l)},p:R,d(n){n&&E(e)}}}function hi(t){let e,i;return{c(){e=g("img"),u(e,"class","menu-valueIcon-list v-w3pect"),C0(e.src,i=t[31](t[45].value))||u(e,"src",i),u(e,"alt","")},m(n,l){T(n,e,l)},p(n,l){l[0]&2&&!C0(e.src,i=n[31](n[45].value))&&u(e,"src",i)},d(n){n&&E(e)}}}function gi(t){let e,i,n,l=t[45].displayValue+"",o,r,s,a,c,f,m=t[45].selected&&pi(),p=!t[0]&&hi(t);function d(){return t[37](t[45])}return{c(){e=g("li"),m&&m.c(),i=z(),n=g("div"),o=g0(l),r=z(),p&&p.c(),s=z(),u(n,"class","v-w3pect"),H(n,"quality-title-mobile",t[0]),u(e,"class","item item-quality v-w3pect"),u(e,"data-value",a=t[45].value),u(e,"role","menuitemradio"),u(e,"tabindex","0"),H(e,"item-mobile",t[0])},m(b,C){T(b,e,C),m&&m.m(e,null),v(e,i),v(e,n),v(n,o),v(e,r),p&&p.m(e,null),v(e,s),c||(f=r0(e,"click",d),c=!0)},p(b,C){t=b,t[45].selected?m?m.p(t,C):(m=pi(),m.c(),m.m(e,i)):m&&(m.d(1),m=null),C[0]&2&&l!==(l=t[45].displayValue+"")&&A0(o,l),C[0]&1&&H(n,"quality-title-mobile",t[0]),t[0]?p&&(p.d(1),p=null):p?p.p(t,C):(p=hi(t),p.c(),p.m(e,s)),C[0]&2&&a!==(a=t[45].value)&&u(e,"data-value",a),C[0]&1&&H(e,"item-mobile",t[0])},d(b){b&&E(e),m&&m.d(),p&&p.d(),c=!1,f()}}}function bi(t){let e,i;return{c(){e=g("img"),u(e,"class","itemIcon v-w3pect"),C0(e.src,i=wn)||u(e,"src",i),u(e,"alt","")},m(n,l){T(n,e,l)},p:R,d(n){n&&E(e)}}}function Ci(t){let e,i,n,l=t[42].displayValue+"",o,r,s,a,c,f=t[42].selected&&bi();function m(){return t[38](t[42])}return{c(){e=g("li"),f&&f.c(),i=z(),n=g("div"),o=g0(l),r=z(),u(n,"class","v-w3pect"),H(n,"quality-title-mobile",t[0]),u(e,"class","item item-quality v-w3pect"),u(e,"data-value",s=t[42].value),u(e,"role","menuitemradio"),u(e,"tabindex","0"),H(e,"item-mobile",t[0])},m(p,d){T(p,e,d),f&&f.m(e,null),v(e,i),v(e,n),v(n,o),v(e,r),a||(c=r0(e,"click",m),a=!0)},p(p,d){t=p,t[42].selected?f?f.p(t,d):(f=bi(),f.c(),f.m(e,i)):f&&(f.d(1),f=null),d[0]&2048&&l!==(l=t[42].displayValue+"")&&A0(o,l),d[0]&1&&H(n,"quality-title-mobile",t[0]),d[0]&2048&&s!==(s=t[42].value)&&u(e,"data-value",s),d[0]&1&&H(e,"item-mobile",t[0])},d(p){p&&E(e),f&&f.d(),a=!1,c()}}}function J2(t){let e,i,n,l,o,r,s,a,c,f,m,p,d,b,C,S,L,N,k,B,A,y,M,V,W,I,G,j,O,U,x,d0,X,Z,n0,E0,b0,P0,W0,f0=t[0]&&di(t),l0=t[6]&&!t[0]&&fi(t),J=!t[9]&&vi(t),h0=t[0]&&mi(t),L0=t[1],Y=[];for(let F=0;F<L0.length;F+=1)Y[F]=gi(ui(t,L0,F));let w0=t[11],u0=[];for(let F=0;F<w0.length;F+=1)u0[F]=Ci(ci(t,w0,F));return{c(){e=g("div"),i=g("div"),f0&&f0.c(),n=z(),l=g("ul"),o=g("li"),r=g("img"),a=z(),c=g("div"),c.textContent=`${H0("menu_quality")}`,f=z(),m=g("div"),p=g0(t[7]),d=z(),l0&&l0.c(),b=z(),J&&J.c(),C=z(),h0&&h0.c(),S=z(),L=g("div"),N=g("div"),k=g("img"),A=z(),y=g("div"),y.textContent=`${H0("submenu_quality")}`,M=z(),V=g("div"),W=z(),I=g("ul");for(let F=0;F<Y.length;F+=1)Y[F].c();G=z(),j=g("div"),O=g("div"),U=g("img"),d0=z(),X=g("div"),X.textContent=`${H0("submenu_playback_rate")}`,Z=z(),n0=g("div"),E0=z(),b0=g("ul");for(let F=0;F<u0.length;F+=1)u0[F].c();u(r,"class","menu-icon v-w3pect"),C0(r.src,s=wt)||u(r,"src",s),u(r,"alt",""),u(c,"class","menu-title v-w3pect"),u(m,"class","menu-value v-w3pect"),u(o,"class","item v-w3pect"),u(o,"role","menuitemradio"),u(o,"tabindex","0"),H(o,"item-mobile",t[0]),u(l,"class","items v-w3pect"),H(l,"items-mobile",t[0]),u(i,"class","menu v-w3pect"),u(i,"role","menu"),H(i,"menu-desktop",!t[0]),H(i,"menu-mobile",t[0]),H(i,"hidden",!t[3]),C0(k.src,B=ai)||u(k,"src",B),u(k,"class","menu-header-back-icon v-w3pect"),u(k,"alt",""),u(N,"class","item menu-header v-w3pect"),H(N,"item-mobile",t[0]),u(V,"class","menu-divider v-w3pect"),u(I,"class","items v-w3pect"),u(I,"style",t[8]),H(I,"items-mobile",t[0]),u(L,"class","menu menu-subList v-w3pect"),H(L,"menu-desktop",!t[0]),H(L,"menu-mobile",t[0]),H(L,"hidden",!t[4]),C0(U.src,x=ai)||u(U,"src",x),u(U,"class","menu-header-back-icon v-w3pect"),u(U,"alt",""),u(O,"class","item menu-header v-w3pect"),H(O,"item-mobile",t[0]),u(n0,"class","menu-divider v-w3pect"),u(b0,"class","items v-w3pect"),H(b0,"items-mobile",t[0]),u(j,"class","menu menu-subList v-w3pect"),H(j,"menu-desktop",!t[0]),H(j,"menu-mobile",t[0]),H(j,"hidden",!t[5]),u(e,"class","v-w3pect"),H(e,"hidden",!t[2]),H(e,"container-mobile",t[0])},m(F,q){T(F,e,q),v(e,i),f0&&f0.m(i,null),v(i,n),v(i,l),v(l,o),v(o,r),v(o,a),v(o,c),v(o,f),v(o,m),v(m,p),v(m,d),l0&&l0.m(m,null),v(l,b),J&&J.m(l,null),v(l,C),h0&&h0.m(l,null),v(e,S),v(e,L),v(L,N),v(N,k),v(N,A),v(N,y),v(L,M),v(L,V),v(L,W),v(L,I);for(let t0=0;t0<Y.length;t0+=1)Y[t0].m(I,null);v(e,G),v(e,j),v(j,O),v(O,U),v(O,d0),v(O,X),v(j,Z),v(j,n0),v(j,E0),v(j,b0);for(let t0=0;t0<u0.length;t0+=1)u0[t0].m(b0,null);P0||(W0=[r0(o,"click",t[23]),r0(N,"click",t[27]),r0(O,"click",t[27])],P0=!0)},p(F,q){if(F[0]?f0?f0.p(F,q):(f0=di(F),f0.c(),f0.m(i,n)):f0&&(f0.d(1),f0=null),q[0]&128&&A0(p,F[7]),F[6]&&!F[0]?l0?l0.p(F,q):(l0=fi(F),l0.c(),l0.m(m,null)):l0&&(l0.d(1),l0=null),q[0]&1&&H(o,"item-mobile",F[0]),F[9]?J&&(J.d(1),J=null):J?J.p(F,q):(J=vi(F),J.c(),J.m(l,C)),F[0]?h0?h0.p(F,q):(h0=mi(F),h0.c(),h0.m(l,null)):h0&&(h0.d(1),h0=null),q[0]&1&&H(l,"items-mobile",F[0]),q[0]&1&&H(i,"menu-desktop",!F[0]),q[0]&1&&H(i,"menu-mobile",F[0]),q[0]&8&&H(i,"hidden",!F[3]),q[0]&1&&H(N,"item-mobile",F[0]),q[0]&16777219|q[1]&1){L0=F[1];let t0;for(t0=0;t0<L0.length;t0+=1){const Q0=ui(F,L0,t0);Y[t0]?Y[t0].p(Q0,q):(Y[t0]=gi(Q0),Y[t0].c(),Y[t0].m(I,null))}for(;t0<Y.length;t0+=1)Y[t0].d(1);Y.length=L0.length}if(q[0]&256&&u(I,"style",F[8]),q[0]&1&&H(I,"items-mobile",F[0]),q[0]&1&&H(L,"menu-desktop",!F[0]),q[0]&1&&H(L,"menu-mobile",F[0]),q[0]&16&&H(L,"hidden",!F[4]),q[0]&1&&H(O,"item-mobile",F[0]),q[0]&33556481){w0=F[11];let t0;for(t0=0;t0<w0.length;t0+=1){const Q0=ci(F,w0,t0);u0[t0]?u0[t0].p(Q0,q):(u0[t0]=Ci(Q0),u0[t0].c(),u0[t0].m(b0,null))}for(;t0<u0.length;t0+=1)u0[t0].d(1);u0.length=w0.length}q[0]&1&&H(b0,"items-mobile",F[0]),q[0]&1&&H(j,"menu-desktop",!F[0]),q[0]&1&&H(j,"menu-mobile",F[0]),q[0]&32&&H(j,"hidden",!F[5]),q[0]&4&&H(e,"hidden",!F[2]),q[0]&1&&H(e,"container-mobile",F[0])},i:R,o:R,d(F){F&&E(e),f0&&f0.d(),l0&&l0.d(),J&&J.d(),h0&&h0.d(),Bt(Y,F),Bt(u0,F),P0=!1,J0(W0)}}}function $2(t,e,i){let n,l,o,r,s,a,c,f,m,p,{supportLink:d}=e;const b=F0(),C=b.state.currentQuality$;Q(t,C,Y=>i(36,a=Y));const S=b.state.availableQualities$;Q(t,S,Y=>i(1,s=Y));const L=b.state.isAutoQualityEnabled$;Q(t,L,Y=>i(35,r=Y));const N=b.state.currentPlaybackRate$;Q(t,N,Y=>i(10,m=Y));const k=b.state.availablePlaybackRates$;Q(t,k,Y=>i(11,p=Y));const B=b.ui.settingsMenuVisible;Q(t,B,Y=>i(2,c=Y));const A=b.ui.isMobile;Q(t,A,Y=>i(0,o=Y));const y=b.ui.isFullscreen;Q(t,y,Y=>i(34,l=Y));const M=b.state.isLive$;Q(t,M,Y=>i(9,f=Y));const V=b.ui.playerSize;Q(t,V,Y=>i(33,n=Y));const W=b.ui.debugPanelVisible;let I=!0,G=!1,j=!1;function O(){B.set(!1)}function U(){i(3,I=!1),i(4,G=!0)}function x(Y){b.actions.internal.setQuality(Y),O()}function d0(Y){b.actions.internal.setPlaybackRate(Y),O()}function X(){i(3,I=!1),i(5,j=!0)}function Z(){i(3,I=!0),i(4,G=!1),i(5,j=!1)}function n0(){window.open(d,"_blank"),O(),b.actions.internal.pause()}function E0(){yn(b.actions.internal.getDebugTextData()),O()}function b0(){W.set(!0),O()}function P0(Y){switch(Y){case V0.VideoQuality.Q_720P:return U2;case V0.VideoQuality.Q_1080P:return G2;case V0.VideoQuality.Q_1440P:return q2;case V0.VideoQuality.Q_2160P:return Q2;case V0.VideoQuality.Q_4320P:return W2}}function W0(Y,w0,u0){if(!Y)return"...";const F=w0.find(t0=>t0.value===Y),q=F?F.displayValue:Y;return u0?Y===V0.VideoQuality.INVARIANT?H0("auto_quality_invariant"):H0("auto_quality",{actual:q}):q}let f0,l0,J;const h0=Y=>x(Y.value),L0=Y=>d0(Y.value);return t.$$set=Y=>{"supportLink"in Y&&i(32,d=Y.supportLink)},t.$$.update=()=>{t.$$.dirty[0]&4&&c&&(i(3,I=!0),i(4,G=!1),i(5,j=!1)),t.$$.dirty[1]&32&&i(6,f0=P0(a)),t.$$.dirty[0]&2|t.$$.dirty[1]&48&&i(7,l0=W0(a,s,r)),t.$$.dirty[0]&1|t.$$.dirty[1]&12&&i(8,J=o&&l?`max-height: ${Math.round(n.height*.6)}px`:"")},[o,s,c,I,G,j,f0,l0,J,f,m,p,C,S,L,N,k,B,A,y,M,V,O,U,x,d0,X,Z,n0,E0,b0,P0,d,n,l,r,a,h0,L0]}class kn extends p0{constructor(e){super(),m0(this,e,$2,J2,v0,{supportLink:32},x2,[-1,-1])}}var er="data:image/svg+xml,%3csvg width='34' height='24' fill='none' xmlns='http://www.w3.org/2000/svg'%3e%3cpath fill-rule='evenodd' clip-rule='evenodd' 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' fill='white'/%3e%3crect x='15' y='3' width='17' height='11' rx='5.5' fill='%23689FF8'/%3e%3cpath d='M24.516 11h1.107C27.103 11 28 10.066 28 8.5S27.103 6 25.623 6h-1.107c-.325 0-.516.2-.516.537v3.923c0 .342.191.54.516.54zm.516-.854V6.852h.468c.91 0 1.5.616 1.5 1.648 0 1.066-.577 1.646-1.5 1.646h-.468zM19.516 11c.325 0 .516-.198.516-.536V8.922h1.936v1.542c0 .338.191.537.516.537s.516-.199.516-.537V6.54c0-.342-.191-.54-.516-.54s-.516.198-.516.54v1.531h-1.936V6.54c0-.342-.191-.54-.516-.54S19 6.198 19 6.54v3.989c0 .338.191.472.516.472z' fill='white'/%3e%3c/svg%3e",tr="data:image/svg+xml,%3csvg width='40' height='24' fill='none' xmlns='http://www.w3.org/2000/svg'%3e%3cpath fill-rule='evenodd' clip-rule='evenodd' 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' fill='white'/%3e%3cpath d='M15 8.5A5.5 5.5 0 0 1 20.5 3h12a5.5 5.5 0 1 1 0 11h-12A5.5 5.5 0 0 1 15 8.5z' fill='%23689FF8'/%3e%3cpath d='M30.516 11h1.107C33.103 11 34 10.066 34 8.5S33.103 6 31.623 6h-1.107c-.325 0-.516.2-.516.537v3.923c0 .342.191.54.516.54zm.516-.854V6.852h.468c.91 0 1.5.616 1.5 1.648 0 1.066-.577 1.646-1.5 1.646h-.468zM25.516 11c.325 0 .516-.198.516-.536V8.922h1.936v1.542c0 .338.191.537.516.537s.516-.199.516-.537V6.54c0-.342-.191-.54-.516-.54s-.516.198-.516.54v1.531h-1.936V6.54c0-.342-.191-.54-.516-.54S25 6.198 25 6.54v3.989c0 .338.191.472.516.472z' fill='white'/%3e%3cpath fill-rule='evenodd' clip-rule='evenodd' d='M22.338 10.909c-.254.06-.58.091-.838.091-1.463 0-2.5-.865-2.5-2.447C19 6.983 20.037 6 21.5 6c1.46 0 2.5.984 2.5 2.553 0 .863-.274 1.46-.777 1.88l.193.29a.5.5 0 1 1-.832.554l-.246-.368zm-.52-.78-.234-.352a.5.5 0 0 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' fill='white'/%3e%3c/svg%3e",ir="data:image/svg+xml,%3csvg width='34' height='24' fill='none' xmlns='http://www.w3.org/2000/svg'%3e%3cpath fill-rule='evenodd' clip-rule='evenodd' 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' fill='white'/%3e%3crect x='15' y='3' width='17' height='11' rx='5.5' fill='%23689FF8'/%3e%3cpath d='M24.517 11c.325 0 .516-.198.516-.536v-.97l.492-.517 1.46 1.74c.16.205.304.284.516.284a.491.491 0 0 0 .499-.5c0-.14-.068-.287-.222-.478l-1.47-1.73 1.51-1.425c.13-.137.182-.25.182-.393A.474.474 0 0 0 27.515 6c-.171 0-.301.065-.445.222L25.064 8.25h-.03V6.54c0-.342-.192-.54-.517-.54s-.516.198-.516.54v3.924c0 .338.191.537.516.537z' fill='white'/%3e%3cpath fill-rule='evenodd' clip-rule='evenodd' d='m21.551 7.052-1.51 2.052h1.51V7.052zm.949 2.052V6.832c0-.81-1.089-1.14-1.556-.48l-1.805 2.469a.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 1 0 0-.9H22.5z' fill='white'/%3e%3c/svg%3e",nr="data:image/svg+xml,%3csvg width='34' height='24' fill='none' xmlns='http://www.w3.org/2000/svg'%3e%3cpath fill-rule='evenodd' clip-rule='evenodd' 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' fill='white'/%3e%3crect x='15' y='3' width='17' height='11' rx='5.5' fill='%23689FF8'/%3e%3cpath d='M24.513 11c.323 0 .513-.198.513-.537v-.97l.49-.516 1.475 1.738c.16.205.302.284.513.284A.49.49 0 0 0 28 10.5c0-.14-.068-.287-.22-.478l-1.486-1.729 1.526-1.425c.129-.137.18-.25.18-.393A.473.473 0 0 0 27.517 6c-.17 0-.299.065-.441.222l-2.02 2.027h-.03V6.54c0-.342-.19-.54-.513-.54S24 6.198 24 6.54v3.923c0 .339.19.537.513.537z' fill='white'/%3e%3cpath fill-rule='evenodd' clip-rule='evenodd' d='M21 6c-.353 0-.671.057-.952.173a1.493 1.493 0 0 0-.654.484c-.154.208-.23.445-.23.71 0 .423.208.756.613.995a1.46 1.46 0 0 0-.547.44c-.154.203-.23.441-.23.71 0 .288.084.548.252.777l.001.002c.173.224.412.398.712.523.302.125.647.186 1.035.186.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.428 2.428 0 0 0 21 6zm-.573.964c.136-.105.323-.16.573-.16.25 0 .434.055.564.16h.001a.512.512 0 0 1 .203.43c0 .19-.07.333-.203.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-.188a.636.636 0 0 1-.234-.523z' fill='white'/%3e%3c/svg%3e",lr="data:image/svg+xml,%3csvg width='38' height='24' fill='none' xmlns='http://www.w3.org/2000/svg'%3e%3cpath fill-rule='evenodd' clip-rule='evenodd' 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' fill='white'/%3e%3crect x='15' y='3' width='21' height='11' rx='5.5' fill='%23689FF8'/%3e%3cpath d='M28.516 11h1.107C31.103 11 32 10.066 32 8.5S31.103 6 29.623 6h-1.107c-.325 0-.516.2-.516.537v3.923c0 .342.191.54.516.54zm.516-.854V6.852h.468c.91 0 1.5.616 1.5 1.648 0 1.066-.577 1.646-1.5 1.646h-.468zM23.516 11c.325 0 .516-.198.516-.536V8.922h1.936v1.542c0 .338.191.537.516.537s.516-.199.516-.537V6.54c0-.342-.191-.54-.516-.54s-.516.198-.516.54v1.531h-1.936V6.54c0-.342-.191-.54-.516-.54S23 6.198 23 6.54v3.989c0 .338.191.472.516.472zm-4 0c.325 0 .516-.198.516-.537V9h1.332c.27 0 .441-.154.441-.41 0-.253-.174-.407-.44-.407h-1.333V6.854h1.5c.28 0 .468-.16.468-.427 0-.266-.185-.427-.468-.427h-2.016c-.325 0-.516.198-.516.537v3.926c0 .339.191.537.516.537z' fill='white'/%3e%3c/svg%3e";function or(t){_0(t,"v-1qf7s4g",".settingsButton-icon.v-1qf7s4g{display:block;width:40px;height:24px}.settingsButton-icon.mobile.v-1qf7s4g{width:auto}")}function rr(t){let e,i,n,l,o,r,s;return{c(){e=g("div"),i=g("div"),n=g("img"),C0(n.src,l=t[7](t[2],t[1]))||u(n,"src",l),u(n,"alt",""),u(i,"class","settingsButton-icon v-1qf7s4g"),H(i,"mobile",t[1]),u(e,"class",o=Ne(t[0])+" v-1qf7s4g"),u(e,"aria-label",H0("aria_open_settings")),u(e,"tabindex","-1"),u(e,"role","button")},m(a,c){T(a,e,c),v(e,i),v(i,n),r||(s=r0(e,"click",t[6]),r=!0)},p(a,[c]){c&6&&!C0(n.src,l=a[7](a[2],a[1]))&&u(n,"src",l),c&2&&H(i,"mobile",a[1]),c&1&&o!==(o=Ne(a[0])+" v-1qf7s4g")&&u(e,"class",o)},i:R,o:R,d(a){a&&E(e),r=!1,s()}}}function sr(t,e,i){let n,l,o,{className:r=""}=e;const s=F0(),a=s.state.currentQuality$;Q(t,a,d=>i(2,o=d));const c=s.ui.settingsMenuVisible;Q(t,c,d=>i(8,n=d));const f=s.ui.isMobile;Q(t,f,d=>i(1,l=d));function m(){c.set(!n)}function p(d,b){if(b)return wt;switch(d){case V0.VideoQuality.Q_720P:return er;case V0.VideoQuality.Q_1080P:return lr;case V0.VideoQuality.Q_1440P:return tr;case V0.VideoQuality.Q_2160P:return ir;case V0.VideoQuality.Q_4320P:return nr;default:return wt}}return t.$$set=d=>{"className"in d&&i(0,r=d.className)},[r,l,o,a,c,f,m,p]}class Vn extends p0{constructor(e){super(),m0(this,e,sr,rr,v0,{className:0},or)}}const Te=t=>{if(!isFinite(t))return"00:00";let e=Math.round(t);const i=Math.floor(e/(60*60));e-=i*(60*60);const n=Math.floor(e/60);return e-=n*60,(i>0?[i,n,e]:[n,e]).map(o=>o>9?String(o):`0${o}`).join(":")};function ar(t){_0(t,"v-1bjfp5n",".time.v-1bjfp5n{display:flex;align-items:center;font-weight:500;font-variant-numeric:tabular-nums}.current.v-1bjfp5n{position:relative}.duration.v-1bjfp5n{opacity:0.7}.duration.v-1bjfp5n:before{content:' / ';white-space:pre}")}function _i(t){let e,i;return{c(){e=g("span"),i=g0(t[2]),u(e,"class","duration v-1bjfp5n")},m(n,l){T(n,e,l),v(e,i)},p(n,l){l&4&&A0(i,n[2])},d(n){n&&E(e)}}}function cr(t){let e,i,n,l,o,r=t[0]&&_i(t);return{c(){e=g("div"),i=g("span"),n=g0(t[3]),l=z(),r&&r.c(),u(i,"class","current v-1bjfp5n"),u(e,"class",o="time "+t[1]+" v-1bjfp5n")},m(s,a){T(s,e,a),v(e,i),v(i,n),v(e,l),r&&r.m(e,null)},p(s,[a]){a&8&&A0(n,s[3]),s[0]?r?r.p(s,a):(r=_i(s),r.c(),r.m(e,null)):r&&(r.d(1),r=null),a&2&&o!==(o="time "+s[1]+" v-1bjfp5n")&&u(e,"class",o)},i:R,o:R,d(s){s&&E(e),r&&r.d()}}}function ur(t,e,i){let{duration:n}=e,{position:l}=e,{showDuration:o=!0}=e,{className:r=""}=e,s,a;return t.$$set=c=>{"duration"in c&&i(4,n=c.duration),"position"in c&&i(5,l=c.position),"showDuration"in c&&i(0,o=c.showDuration),"className"in c&&i(1,r=c.className)},t.$$.update=()=>{t.$$.dirty&16&&i(2,s=Te(n)),t.$$.dirty&32&&i(3,a=Te(l))},[o,r,s,a,n,l]}class dr extends p0{constructor(e){super(),m0(this,e,ur,cr,v0,{duration:4,position:5,showDuration:0,className:1},ar)}}const fr=500,wi=3e3,yi=2e3,vr=3e3,mr=6e3,pr=300,Pn="vk_player_preferred_volume",Ln="vk_player_prefer_volume_mute",yt="vk_player_debug_panel_opened",F1=1,hr=.05,ki=1,Vi=.05,Pi=10,Sn=300,gr="https://vk.com/support?act=new&from=v",br=500;var Y0;(function(t){t.ArrowLeft="ArrowLeft",t.ArrowUp="ArrowUp",t.ArrowRight="ArrowRight",t.ArrowDown="ArrowDown",t.Comma="Comma",t.Period="Period",t.Space="Space",t.KeyM="KeyM",t.KeyF="KeyF",t.KeyK="KeyK",t.KeyL="KeyL",t.KeyJ="KeyJ"})(Y0||(Y0={}));function Cr(t){_0(t,"v-mgwd2i",".slider.v-mgwd2i.v-mgwd2i{position:relative;height:var(--videoplayer-slider-height);border-radius:var(--videoplayer-slider-radius);background:var(--videoplayer-slider-bg);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-mgwd2i.v-mgwd2i{cursor:default}.slider.v-mgwd2i.v-mgwd2i:before{content:'';position:absolute;left:0;right:0;top:calc(-1 * (var(--videoplayer-controls-height) - var(--videoplayer-slider-height)) / 2);height:var(--videoplayer-controls-height)}.bars.v-mgwd2i.v-mgwd2i{position:absolute;width:100%;height:100%;border-radius:var(--videoplayer-slider-radius);overflow:hidden}.loaded.v-mgwd2i.v-mgwd2i{position:absolute;left:-100%;width:100%;height:100%;border-radius:var(--videoplayer-slider-radius);background:var(--videoplayer-slider-loaded-bg);transition:transform 0.2s}.filled.v-mgwd2i.v-mgwd2i{position:absolute;left:-100%;width:100%;height:100%;border-radius:var(--videoplayer-slider-radius);background-color:var(--videoplayer-slider-filled-bg)}.slider.square.v-mgwd2i.v-mgwd2i,.slider.square.v-mgwd2i>.bars.v-mgwd2i,.slider.square.v-mgwd2i .loaded.v-mgwd2i,.slider.square.v-mgwd2i .filled.v-mgwd2i{border-radius:unset}.filled.active-live.v-mgwd2i.v-mgwd2i{background-color:var(--videoplayer-slider-filled-active-live-bg)}.filled.ads.v-mgwd2i.v-mgwd2i{background-color:var(--videoplayer-slider-filled-ads)}.handleWrap.v-mgwd2i.v-mgwd2i{position:absolute;left:-100%;width:100%}.handle.v-mgwd2i.v-mgwd2i{position:absolute;width:var(--videoplayer-slider-handle-size);height:var(--videoplayer-slider-handle-size);right:calc(-1 * var(--videoplayer-slider-handle-size) / 2);top:calc((var(--videoplayer-slider-height) - var(--videoplayer-slider-handle-size)) / 2);border-radius:50%;background-color:var(--videoplayer-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-mgwd2i.v-mgwd2i{background-color:var(--videoplayer-slider-filled-active-live-bg)}.slider.v-mgwd2i:hover .handle.v-mgwd2i,.slider-dragging.v-mgwd2i .handle.v-mgwd2i{visibility:visible;opacity:1;transform:scale(1)}.slider-dragging.v-mgwd2i .handle.v-mgwd2i{transform:scale(1.3)}.slider-vertical.v-mgwd2i.v-mgwd2i{position:absolute;left:-26px;top:-18px;transform-origin:0 0;transform:rotate(-90deg)}.hidden.v-mgwd2i.v-mgwd2i{visibility:hidden;opacity:0}")}function _r(t){let e,i,n,l,o,r,s,a,c,f,m,p,d,b;return{c(){e=g("div"),i=g("div"),n=g("div"),o=z(),r=g("div"),a=z(),c=g("div"),f=g("div"),u(n,"class","loaded v-mgwd2i"),u(n,"style",l=`transform: translateX(${t[6]*100}%);`),u(r,"class","filled v-mgwd2i"),u(r,"style",s=`transform: translateX(${t[7]*100}%);`),H(r,"active-live",t[3]),H(r,"ads",t[4]),u(i,"class","bars v-mgwd2i"),u(f,"class","handle v-mgwd2i"),H(f,"active-live",t[3]),u(c,"class","handleWrap v-mgwd2i"),u(c,"style",m=`transform: translateX(${t[8]*100}%);`),H(c,"hidden",t[4]),u(e,"class",p="slider "+t[0]+" v-mgwd2i"),u(e,"aria-label",t[9]),u(e,"aria-valuemin",t[10]),u(e,"aria-valuemax",t[11]),u(e,"aria-valuenow",t[12]),u(e,"aria-valuetext",t[13]),u(e,"role","slider"),u(e,"tabindex","0"),H(e,"slider-dragging",t[15]),H(e,"hidden",t[1]),H(e,"slider-vertical",t[2]),H(e,"no-handle",t[4]),H(e,"square",t[5])},m(C,S){T(C,e,S),v(e,i),v(i,n),v(i,o),v(i,r),v(e,a),v(e,c),v(c,f),t[27](e),d||(b=[r0(e,"pointerdown",Je(t[16])),r0(e,"pointermove",Je(t[17])),r0(e,"pointerup",Je(t[18])),r0(e,"pointerenter",Je(t[19])),r0(e,"pointerleave",Je(t[20]))],d=!0)},p(C,[S]){S&64&&l!==(l=`transform: translateX(${C[6]*100}%);`)&&u(n,"style",l),S&128&&s!==(s=`transform: translateX(${C[7]*100}%);`)&&u(r,"style",s),S&8&&H(r,"active-live",C[3]),S&16&&H(r,"ads",C[4]),S&8&&H(f,"active-live",C[3]),S&256&&m!==(m=`transform: translateX(${C[8]*100}%);`)&&u(c,"style",m),S&16&&H(c,"hidden",C[4]),S&1&&p!==(p="slider "+C[0]+" v-mgwd2i")&&u(e,"class",p),S&512&&u(e,"aria-label",C[9]),S&1024&&u(e,"aria-valuemin",C[10]),S&2048&&u(e,"aria-valuemax",C[11]),S&4096&&u(e,"aria-valuenow",C[12]),S&8192&&u(e,"aria-valuetext",C[13]),S&32769&&H(e,"slider-dragging",C[15]),S&3&&H(e,"hidden",C[1]),S&5&&H(e,"slider-vertical",C[2]),S&17&&H(e,"no-handle",C[4]),S&33&&H(e,"square",C[5])},i:R,o:R,d(C){C&&E(e),t[27](null),d=!1,J0(b)}}}function wr(t,e,i){let{className:n=""}=e,{isHidden:l=!1}=e,{isVertical:o=!1}=e,{isActiveLive:r=!1}=e,{isAds:s=!1}=e,{squareBorders:a=!1}=e,c,f,{onPointerDown:m=R}=e,{onHandleMove:p=R}=e,{onPointerUp:d=R}=e,{onPointerEnter:b=R}=e,{onPointerMove:C=R}=e,{onPointerLeave:S=R}=e,{loadedProgress:L=0}=e,{filledProgress:N=0}=e,{handleProgress:k=0}=e,{ariaLabel:B=""}=e,{ariaValueMin:A=void 0}=e,{ariaValueMax:y=void 0}=e,{ariaValueNow:M=void 0}=e,{ariaValueText:V=""}=e,W=!1;function I(Z){if(W)return;i(15,W=!0),f=c.getBoundingClientRect();const n0=x(Z.clientX,Z.clientY);m(n0),c.setPointerCapture(Z.pointerId)}function G(Z){const n0=x(Z.clientX,Z.clientY),E0=d0(Z.clientX);C(n0,E0),W&&p(n0)}function j(Z){if(!W)return;i(15,W=!1);const n0=x(Z.clientX,Z.clientY);d(n0)}function O(Z){f=c.getBoundingClientRect();const n0=x(Z.clientX,Z.clientY),E0=d0(Z.clientX);b(n0,E0)}function U(){S()}function x(Z,n0){return o?Math.max(0,Math.min(1,(f.height-(n0-f.top))/f.height)):Math.min(Math.max(Z-f.x,0),f.width)/f.width}function d0(Z){return Math.min(Math.max(Z-f.x,0),f.width)}function X(Z){x0[Z?"unshift":"push"](()=>{c=Z,i(14,c)})}return t.$$set=Z=>{"className"in Z&&i(0,n=Z.className),"isHidden"in Z&&i(1,l=Z.isHidden),"isVertical"in Z&&i(2,o=Z.isVertical),"isActiveLive"in Z&&i(3,r=Z.isActiveLive),"isAds"in Z&&i(4,s=Z.isAds),"squareBorders"in Z&&i(5,a=Z.squareBorders),"onPointerDown"in Z&&i(21,m=Z.onPointerDown),"onHandleMove"in Z&&i(22,p=Z.onHandleMove),"onPointerUp"in Z&&i(23,d=Z.onPointerUp),"onPointerEnter"in Z&&i(24,b=Z.onPointerEnter),"onPointerMove"in Z&&i(25,C=Z.onPointerMove),"onPointerLeave"in Z&&i(26,S=Z.onPointerLeave),"loadedProgress"in Z&&i(6,L=Z.loadedProgress),"filledProgress"in Z&&i(7,N=Z.filledProgress),"handleProgress"in Z&&i(8,k=Z.handleProgress),"ariaLabel"in Z&&i(9,B=Z.ariaLabel),"ariaValueMin"in Z&&i(10,A=Z.ariaValueMin),"ariaValueMax"in Z&&i(11,y=Z.ariaValueMax),"ariaValueNow"in Z&&i(12,M=Z.ariaValueNow),"ariaValueText"in Z&&i(13,V=Z.ariaValueText)},[n,l,o,r,s,a,L,N,k,B,A,y,M,V,c,W,I,G,j,O,U,m,p,d,b,C,S,X]}class At extends p0{constructor(e){super(),m0(this,e,wr,_r,v0,{className:0,isHidden:1,isVertical:2,isActiveLive:3,isAds:4,squareBorders:5,onPointerDown:21,onHandleMove:22,onPointerUp:23,onPointerEnter:24,onPointerMove:25,onPointerLeave:26,loadedProgress:6,filledProgress:7,handleProgress:8,ariaLabel:9,ariaValueMin:10,ariaValueMax:11,ariaValueNow:12,ariaValueText:13},Cr)}}function yr(t){_0(t,"v-7xwnio",".icon.v-7xwnio.v-7xwnio{display:block;width:24px;height:24px}.icon.v-7xwnio .cross.v-7xwnio{visibility:hidden}.icon[data-value='off'].v-7xwnio .wave1.v-7xwnio,.icon[data-value='off'].v-7xwnio .wave2.v-7xwnio{visibility:hidden}.icon[data-value='off'].v-7xwnio .cross.v-7xwnio{visibility:visible}.icon[data-value='mid'].v-7xwnio .wave2.v-7xwnio,.icon[data-value='min'].v-7xwnio .wave2.v-7xwnio{visibility:hidden}.no-volumeBar.v-7xwnio.v-7xwnio{padding-right:8px}.volumeBar.v-7xwnio.v-7xwnio{display:flex;align-items:center;margin:0 8px;position:relative;width:70px}.volumeBar-slider-vertical{width:50px !important}.volumeBar-vertical.v-7xwnio.v-7xwnio{padding:0;width:0}")}function Li(t){let e,i,n;return i=new At({props:{className:t[0]?"volumeBar-slider-vertical":"",isHidden:t[0]&&!t[2],isVertical:t[0],onPointerDown:t[7],onHandleMove:t[8],onPointerUp:t[9],onPointerEnter:t[0]?t[10]:R,onPointerLeave:t[0]?t[11]:R,ariaLabel:"\u041F\u043E\u043B\u0437\u0443\u043D\u043E\u043A \u0433\u0440\u043E\u043C\u043A\u043E\u0441\u0442\u0438",ariaValueMin:0,ariaValueMax:100,ariaValueNow:Math.round(t[4]*100),ariaValueText:`${Math.round(t[4]*100)}%`,filledProgress:t[4],handleProgress:t[4]}}),{c(){e=g("div"),i0(i.$$.fragment),u(e,"class","volumeBar v-7xwnio"),H(e,"volumeBar-vertical",t[0])},m(l,o){T(l,e,o),$(i,e,null),n=!0},p(l,o){const r={};o&1&&(r.className=l[0]?"volumeBar-slider-vertical":""),o&5&&(r.isHidden=l[0]&&!l[2]),o&1&&(r.isVertical=l[0]),o&1&&(r.onPointerEnter=l[0]?l[10]:R),o&1&&(r.onPointerLeave=l[0]?l[11]:R),o&16&&(r.ariaValueNow=Math.round(l[4]*100)),o&16&&(r.ariaValueText=`${Math.round(l[4]*100)}%`),o&16&&(r.filledProgress=l[4]),o&16&&(r.handleProgress=l[4]),i.$set(r),(!n||o&1)&&H(e,"volumeBar-vertical",l[0])},i(l){n||(h(i.$$.fragment,l),n=!0)},o(l){_(i.$$.fragment,l),n=!1},d(l){l&&E(e),e0(i)}}}function kr(t){let e,i,n,l,o,r,s,a,c,f,m,p=t[1]&&Li(t);return{c(){e=g("div"),i=S0("svg"),n=S0("g"),l=S0("path"),o=S0("path"),r=S0("path"),s=z(),p&&p.c(),a=$0(),u(l,"class","wave2 v-7xwnio"),u(l,"d","M12.980843 18.8227621c-.032051 1.2070086-.6704932 1.608931-1.8287519.6202507-1.7185995-1.4687545-3.60887471-3.1942931-4.24215929-3.7215065-.63217937-.528454-1.64491897-.6202511-3.07284859-.6202511-1.42682441 0-1.81505873-.6202511-1.81505873-1.2405016s-.01369327-1.8288162-.01369327-2.001246c0-.0549443.00464608-.085056.01369327-.1291845.01954957-.0953551-.05817756-.9728525 0-1.591076.08510106-.90556663.38823432-1.24050252 1.81505873-1.24050252 1.42792962 0 2.44066922-.09179716 3.07284859-.62025109.63328458-.52845393 2.52355979-2.25275186 4.24215929-3.72150644 1.1582587-.98868024 1.7967003-.58675756 1.8287514.62025106.0431031 1.60645033 5e-7 3.85020301 5e-7 6.68226949 0 2.8295855.0431032 5.3568042 0 6.9632545zm2.9004386-8.7040437c-.3417088-.34170872-.3417088-.89572808 0-1.23743683.3417087-.34170876.8957281-.34170876 1.2374368 0 .1762598.17625972.4111566.46988072.6409943.87209686C18.1429358 10.4240187 18.375 11.1782274 18.375 12s-.2320642 1.5759813-.6152873 2.2466216c-.2298377.4022161-.4647345.6958371-.6409943.8720968-.3417087.3417088-.8957281.3417088-1.2374368 0-.3417088-.3417087-.3417088-.8957281 0-1.2374368.0737402-.0737403.2138434-.2488693.3590057-.5029032C16.4820642 12.9552687 16.625 12.4907274 16.625 12s-.1429358-.9552687-.3847127-1.3783784c-.1451623-.2540339-.2852655-.4291629-.3590057-.5029032zm3-1.99999997c-.3417088-.34170875-.3417088-.89572811 0-1.23743686.3417087-.34170876.8957281-.34170876 1.2374368 0 .2637116.26371158.6207023.73969919.9665078 1.43131016.5167785 1.03355701.842501 2.25503497.8892639 3.71655167-.0467629 1.4032299-.3724854 2.6247079-.8892639 3.6582649-.3458055.6916109-.7027962 1.1675985-.9665078 1.4313101-.3417087.3417088-.8957281.3417088-1.2374368 0-.3417088-.3417087-.3417088-.8957281 0-1.2374368.1375896-.1375897.3825507-.4642045.638697-.9764971.4071252-.8142505.6673665-1.7901701.7054825-2.8756411-.038116-1.1437578-.2983573-2.11967743-.7054825-2.93392787-.2561463-.51229266-.5011074-.83890747-.638697-.9764971z"),u(o,"class","wave1 v-7xwnio"),u(o,"d","M12.980843 18.8227621c-.032051 1.2070086-.6704932 1.608931-1.8287519.6202507-1.7185995-1.4687545-3.60887471-3.1942931-4.24215929-3.7215065-.63217937-.528454-1.64491897-.6202511-3.07284859-.6202511-1.42682441 0-1.81505873-.6202511-1.81505873-1.2405016s-.01369327-1.8288162-.01369327-2.001246c0-.0549443.00464608-.085056.01369327-.1291845.01954957-.0953551-.05817756-.9728525 0-1.591076.08510106-.90556663.38823432-1.24050252 1.81505873-1.24050252 1.42792962 0 2.44066922-.09179716 3.07284859-.62025109.63328458-.52845393 2.52355979-2.25275186 4.24215929-3.72150644 1.1582587-.98868024 1.7967003-.58675756 1.8287514.62025106.0431031 1.60645033 5e-7 3.85020301 5e-7 6.68226949 0 2.8295855.0431032 5.3568042 0 6.9632545zm2.9004386-8.7040437c-.3417088-.34170872-.3417088-.89572808 0-1.23743683.3417087-.34170876.8957281-.34170876 1.2374368 0 .1762598.17625972.4111566.46988072.6409943.87209686C18.1429358 10.4240187 18.375 11.1782274 18.375 12s-.2320642 1.5759813-.6152873 2.2466216c-.2298377.4022161-.4647345.6958371-.6409943.8720968-.3417087.3417088-.8957281.3417088-1.2374368 0-.3417088-.3417087-.3417088-.8957281 0-1.2374368.0737402-.0737403.2138434-.2488693.3590057-.5029032C16.4820642 12.9552687 16.625 12.4907274 16.625 12s-.1429358-.9552687-.3847127-1.3783784c-.1451623-.2540339-.2852655-.4291629-.3590057-.5029032z"),u(r,"class","cross v-7xwnio"),u(r,"d","M20 10.7625631l2.3812816-2.38128153c.3417087-.34170876.8957281-.34170876 1.2374368 0 .3417088.34170875.3417088.89572811 0 1.23743686L21.2374369 12l2.3812815 2.3812816c.3417088.3417087.3417088.8957281 0 1.2374368-.3417087.3417088-.8957281.3417088-1.2374368 0L20 13.2374369l-2.3812816 2.3812815c-.3417087.3417088-.8957281.3417088-1.2374368 0-.3417088-.3417087-.3417088-.8957281 0-1.2374368L18.7625631 12l-2.3812815-2.38128157c-.3417088-.34170875-.3417088-.89572811 0-1.23743686.3417087-.34170876.8957281-.34170876 1.2374368 0zm-7.019157 8.060199c-.032051 1.2070086-.6704932 1.608931-1.8287519.6202507-1.7185995-1.4687545-3.60887471-3.1942931-4.24215929-3.7215065-.63217937-.528454-1.64491897-.6202511-3.07284859-.6202511-1.42682441 0-1.81505873-.6202511-1.81505873-1.2405016s-.01369327-1.8288162-.01369327-2.001246c0-.0549443.00464608-.085056.01369327-.1291845.01954957-.0953551-.05817756-.9728525 0-1.591076.08510106-.90556663.38823432-1.24050252 1.81505873-1.24050252 1.42792962 0 2.44066922-.09179716 3.07284859-.62025109.63328458-.52845393 2.52355979-2.25275186 4.24215929-3.72150644 1.1582587-.98868024 1.7967003-.58675756 1.8287514.62025106.0431031 1.60645033 5e-7 3.85020301 5e-7 6.68226949 0 2.8295855.0431032 5.3568042 0 6.9632545z"),u(n,"fill","#fff"),u(n,"fill-rule","evenodd"),u(i,"xmlns","http://www.w3.org/2000/svg"),u(i,"class","icon v-7xwnio"),u(i,"data-value",t[3]),u(e,"tabindex","0"),u(e,"role","button"),u(e,"class","v-7xwnio"),H(e,"no-volumeBar",!t[1])},m(d,b){T(d,e,b),v(e,i),v(i,n),v(n,l),v(n,o),v(n,r),T(d,s,b),p&&p.m(d,b),T(d,a,b),c=!0,f||(m=[r0(e,"mouseenter",function(){D0(t[0]?t[12]:R)&&(t[0]?t[12]:R).apply(this,arguments)}),r0(e,"mouseleave",function(){D0(t[0]?t[13]:R)&&(t[0]?t[13]:R).apply(this,arguments)}),r0(e,"click",t[17])],f=!0)},p(d,[b]){t=d,(!c||b&8)&&u(i,"data-value",t[3]),(!c||b&2)&&H(e,"no-volumeBar",!t[1]),t[1]?p?(p.p(t,b),b&2&&h(p,1)):(p=Li(t),p.c(),h(p,1),p.m(a.parentNode,a)):p&&(a0(),_(p,1,1,()=>{p=null}),c0())},i(d){c||(h(p),c=!0)},o(d){_(p),c=!1},d(d){d&&E(e),d&&E(s),p&&p.d(d),d&&E(a),f=!1,J0(m)}}}function Vr(t,e,i){let n,l,{isVerticalVolume:o=!1}=e,{isAudioAvailable:r=!0}=e;const s=F0(),a=s.state.volume$;Q(t,a,j=>i(15,n=j));const c=s.state.muted$;Q(t,c,j=>i(16,l=j));const f=s.actions.internal.setVolume;let m=!1,p,d,b,C,S=1,L=!1;function N(j){S=n,f(j)}function k(j){f(j)}function B(j){const O=j;f(O,O===0?S:O)}function A(){L=!0}function y(){L=!1,W()}function M(){clearTimeout(p),i(2,m=!0)}function V(){W()}function W(){p=window.setTimeout(()=>{L||i(2,m=!1)},pr)}function I(j,O){return O?"off":j>.5?"max":j>.2?"mid":j>0?"min":"off"}function G(j){de.call(this,t,j)}return t.$$set=j=>{"isVerticalVolume"in j&&i(0,o=j.isVerticalVolume),"isAudioAvailable"in j&&i(1,r=j.isAudioAvailable)},t.$$.update=()=>{t.$$.dirty&65538&&i(14,d=!r||l),t.$$.dirty&49152&&i(3,b=I(n,d)),t.$$.dirty&49152&&i(4,C=d?0:n)},[o,r,m,b,C,a,c,N,k,B,A,y,M,V,d,n,l,G]}class Pr extends p0{constructor(e){super(),m0(this,e,Vr,kr,v0,{isVerticalVolume:0,isAudioAvailable:1},yr)}}function Lr(t){_0(t,"v-1fkqq1h",".container.v-1fkqq1h{display:flex;align-items:center;height:100%;transition:var(--videoplayer-button-hover-transition);will-change:opacity;cursor:pointer;-webkit-tap-highlight-color:transparent}.container.v-1fkqq1h:hover{opacity:0.8}.disabled.v-1fkqq1h{pointer-events:none}")}function Sr(t){let e,i,n;const l=t[3].default,o=$n(l,t,t[2],null);return{c(){e=g("div"),o&&o.c(),u(e,"class",i="container "+t[0]+" v-1fkqq1h"),H(e,"disabled",t[1])},m(r,s){T(r,e,s),o&&o.m(e,null),n=!0},p(r,[s]){o&&o.p&&(!n||s&4)&&tl(o,l,r,r[2],n?el(l,r[2],s,null):il(r[2]),null),(!n||s&1&&i!==(i="container "+r[0]+" v-1fkqq1h"))&&u(e,"class",i),(!n||s&3)&&H(e,"disabled",r[1])},i(r){n||(h(o,r),n=!0)},o(r){_(o,r),n=!1},d(r){r&&E(e),o&&o.d(r)}}}function Mr(t,e,i){let{$$slots:n={},$$scope:l}=e,{className:o=""}=e,{disabled:r=!1}=e;return t.$$set=s=>{"className"in s&&i(0,o=s.className),"disabled"in s&&i(1,r=s.disabled),"$$scope"in s&&i(2,l=s.$$scope)},[o,r,l,n]}class Pe extends p0{constructor(e){super(),m0(this,e,Mr,Sr,v0,{className:0,disabled:1},Lr)}}function Hr(t){_0(t,"v-daygaf",".icon.v-daygaf{display:block;width:24px;height:24px}")}function Ar(t){let e;return{c(){e=S0("path"),u(e,"class","_enter"),u(e,"d","M10.5 19c0 .5522847-.4477153 1-1 1H5c-.55228475 0-1-.4477153-1-1v-4.5c0-.5522847.44771525-1 1-1s1 .4477153 1 1v2.0715l3.36290054-3.3643932.00012963-.0001296c.39052429-.3905243 1.02368923-.3905243 1.41421353 0l.0157791.0157791.0001297.0001296c.3904527.3905959.3903366 1.0237609-.0002593 1.4142136L7.4285 18H9.5c.5522847 0 1 .4477153 1 1zM18 7.4285l-3.3629005 3.3643932c-.0000432.0000432-.0000865.0000864-.0001297.0001296-.3905243.3905243-1.0236892.3905243-1.4142135 0l-.0157791-.0157791c-.0000433-.0000432-.0000865-.0000864-.0001297-.0001296-.3904527-.3905959-.3903366-1.02376087.0002593-1.41421356L16.5715 6H14.5c-.5522847 0-1-.44771525-1-1s.4477153-1 1-1H19c.5522847 0 1 .44771525 1 1v4.5c0 .5522847-.4477153 1-1 1s-1-.4477153-1-1z")},m(i,n){T(i,e,n)},d(i){i&&E(e)}}}function Er(t){let e;return{c(){e=S0("path"),u(e,"class","_exit"),u(e,"d","M4.57969048 13.9787492c0-.5464165.44295809-.9893746.9893746-.9893746h4.45218572c.5464165 0 .9893746.4429581.9893746.9893746v4.4521857c0 .5464165-.4429581.9893746-.9893746.9893746-.54641651 0-.98937461-.4429581-.98937461-.9893746v-2.0494895l-3.3196551 3.3211319-.00012963.0001297c-.39052429.3905243-1.02368927.3905243-1.41421356 0l-.00058487-.0005849-.00012964-.0001297c-.39045268-.3905958-.3903366-1.0237608.00025929-1.4142135l3.32113189-3.3196551H5.56906508c-.54641651 0-.9893746-.4429581-.9893746-.9893746zM14.9681238 7.61855457l3.3196551-3.32113189.0001296-.00012966c.3905243-.39052429 1.0236893-.39052429 1.4142136 0l.0005849.00058488.0001296.00012965c.3904527.39059589.3903366 1.02376086-.0002593 1.41421354l-3.3211319 3.3196551h2.0494895c.5464165 0 .9893746.4429581.9893746.98937461 0 .5464165-.4429581.9893746-.9893746.9893746h-4.4415603c-.5522847 0-1-.4477153-1-1V5.56906508c0-.54641651.4429581-.9893746.9893746-.9893746s.9893746.44295809.9893746.9893746z")},m(i,n){T(i,e,n)},d(i){i&&E(e)}}}function Tr(t){let e,i,n,l,o;function r(c,f){return c[0]?Er:Ar}let s=r(t),a=s(t);return{c(){e=g("div"),i=S0("svg"),n=S0("g"),a.c(),u(n,"fill","#fff"),u(n,"fill-rule","evenodd"),u(i,"class","icon v-daygaf"),u(i,"xmlns","http://www.w3.org/2000/svg"),u(e,"role","button"),u(e,"tabindex","0")},m(c,f){T(c,e,f),v(e,i),v(i,n),a.m(n,null),l||(o=r0(e,"click",t[2]),l=!0)},p(c,[f]){s!==(s=r(c))&&(a.d(1),a=s(c),a&&(a.c(),a.m(n,null)))},i:R,o:R,d(c){c&&E(e),a.d(),l=!1,o()}}}function Nr(t,e,i){let n;const o=F0().ui.isFullscreen;Q(t,o,s=>i(0,n=s));function r(s){de.call(this,t,s)}return[n,o,r]}class Ir extends p0{constructor(e){super(),m0(this,e,Nr,Tr,v0,{},Hr)}}var kt="data:image/svg+xml,%3csvg width='24' height='24' fill='none' xmlns='http://www.w3.org/2000/svg'%3e%3cpath 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' fill='white'/%3e%3c/svg%3e",Si="data:image/svg+xml,%3csvg width='24' height='24' fill='none' xmlns='http://www.w3.org/2000/svg'%3e%3cpath 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' fill='white'/%3e%3c/svg%3e",zr="data:image/svg+xml,%3csvg width='24' height='24' fill='none' xmlns='http://www.w3.org/2000/svg'%3e%3cpath 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' fill='white'/%3e%3c/svg%3e";class Mn{constructor(){this.isRequested=!1,this.videoElement=void 0,this.playerContainer=void 0,this.externalEventHandlers={},this.eventHandlers={enterpictureinpicture:this.onEnterPictureInPicture.bind(this),leavepictureinpicture:this.onLeavePictureInPicture.bind(this),resize:R6(this.onResize.bind(this),Sn)},this.info={isActive$:new o0.ValueSubject(this.isActive())}}isSupported(){return document.pictureInPictureEnabled}isActive(){return this.isSupported()&&!!document.pictureInPictureElement}async revealPictureInPicture(){this.isRequested&&(this.unregistryEventHandlers(),await this.request(),this.registryEventHandlers())}async hidePictureInPicture(){this.isRequested&&(this.unregistryEventHandlers(),await this.remove(),this.registryEventHandlers())}async request(){var e;if(!(!this.isSupported()||this.isActive()))try{await((e=this.videoElement)===null||e===void 0?void 0:e.requestPictureInPicture())}catch(i){this.isRequested=!1}}async remove(){!this.isSupported()||!this.isActive||await document.exitPictureInPicture()}assignPlayerContainer(e){this.isSupported()&&(this.playerContainer=e)}updateVideoElement(){var e;this.isSupported()&&(this.videoElement=(e=this.playerContainer)===null||e===void 0?void 0:e.querySelector("video"))}registryEventHandlers(){var e,i;(e=this.videoElement)===null||e===void 0||e.addEventListener("enterpictureinpicture",this.eventHandlers.enterpictureinpicture),(i=this.videoElement)===null||i===void 0||i.addEventListener("leavepictureinpicture",this.eventHandlers.leavepictureinpicture)}registryExternalEventHandlers(e){this.externalEventHandlers={...e}}unregistryEventHandlers(){var e,i;(e=this.videoElement)===null||e===void 0||e.removeEventListener("enterpictureinpicture",this.eventHandlers.enterpictureinpicture),(i=this.videoElement)===null||i===void 0||i.removeEventListener("leavepictureinpicture",this.eventHandlers.leavepictureinpicture)}onEnterPictureInPicture(e){var i,n;this.info.isActive$.next(!0),this.isRequested=!0,e.pictureInPictureWindow.addEventListener("resize",this.eventHandlers.resize),(n=(i=this.externalEventHandlers).enterpictureinpicture)===null||n===void 0||n.call(i,e)}onLeavePictureInPicture(e){var i,n;this.info.isActive$.next(!1),this.isRequested=!1,e.pictureInPictureWindow.removeEventListener("resize",this.eventHandlers.resize),(n=(i=this.externalEventHandlers).leavepictureinpicture)===null||n===void 0||n.call(i,e)}onResize(e){var i,n;(n=(i=this.externalEventHandlers).resize)===null||n===void 0||n.call(i,e)}}const Br=460,Rr=280;class Or{constructor(){this.info={isActive$:new o0.ValueSubject(!1)}}isSupported(){return"documentPictureInPicture"in window}isActive(){return this.isSupported()&&!!documentPictureInPicture.window}setPlayerDomElement(e,i){this.playerDomElement=e,this.playerParentShadowRoot=i}async request(){var e,i;!this.isSupported()||!this.playerDomElement||!this.playerParentShadowRoot||(this.pipWindow=await documentPictureInPicture.requestWindow({width:Br,height:Rr,copyStyleSheets:!0}),(e=this.pipWindow)===null||e===void 0||e.document.body.append(this.playerDomElement),this.info.isActive$.next(!0),(i=this.pipWindow)===null||i===void 0||i.addEventListener("unload",n=>{!this.playerDomElement||!this.playerParentShadowRoot||(this.playerParentShadowRoot.append(this.playerDomElement),this.info.isActive$.next(!1))}))}async remove(){return new Promise(e=>{documentPictureInPicture.window.close(),e()})}}var p1;(function(t){t.AUTO="auto"})(p1||(p1={}));var k0;(function(t){t.Thumb="thumb",t.Video="video",t.Ads="ads",t.Crashed="crashed"})(k0||(k0={}));var ke;(function(t){t.Preroll="preroll",t.Midroll="midroll",t.Postroll="postroll"})(ke||(ke={}));var Z0;(function(t){t.INACTIVE="inactive",t.PLAYING="playing",t.PAUSED="paused"})(Z0||(Z0={}));function I1(t){return t instanceof Mn}function Zr(t){return t instanceof Or}function Fr(t){_0(t,"v-1kcq5gq",".container-mobile.v-1kcq5gq{width:var(--videoplayer-big-play-size);height:var(--videoplayer-big-play-size);display:flex;align-items:center;justify-content:center;position:relative}.icon.v-1kcq5gq{display:block;width:24px;height:24px}.icon-mobile.v-1kcq5gq{position:relative;width:48px;height:48px}.icon-background-mobile.v-1kcq5gq{position:absolute;top:0;left:0;border-radius:var(--videoplayer-big-play-radius);background-color:var(--videoplayer-big-play-bg-color);width:100%;height:100%}")}function jr(t){let e,i,n,l,o,r;return{c(){e=g("div"),i=g("img"),C0(i.src,n=t[2])||u(i,"src",n),u(i,"class","icon v-1kcq5gq"),u(i,"alt",""),u(e,"class",l=Ne(t[0])+" v-1kcq5gq"),u(e,"role","button"),u(e,"tabindex","0")},m(s,a){T(s,e,a),v(e,i),o||(r=r0(e,"click",function(){D0(t[1])&&t[1].apply(this,arguments)}),o=!0)},p(s,a){t=s,a&4&&!C0(i.src,n=t[2])&&u(i,"src",n),a&1&&l!==(l=Ne(t[0])+" v-1kcq5gq")&&u(e,"class",l)},d(s){s&&E(e),o=!1,r()}}}function Dr(t){let e,i,n,l,o,r,s;return{c(){e=g("div"),i=g("div"),n=z(),l=g("img"),u(i,"class","icon-background-mobile v-1kcq5gq"),C0(l.src,o=t[2])||u(l,"src",o),u(l,"class","icon-mobile v-1kcq5gq"),u(l,"alt",""),u(e,"class","container-mobile v-1kcq5gq"),u(e,"role","button"),u(e,"tabindex","0")},m(a,c){T(a,e,c),v(e,i),v(e,n),v(e,l),r||(s=r0(e,"click",function(){D0(t[1])&&t[1].apply(this,arguments)}),r=!0)},p(a,c){t=a,c&4&&!C0(l.src,o=t[2])&&u(l,"src",o)},d(a){a&&E(e),r=!1,s()}}}function Ur(t){let e;function i(o,r){return o[3]?Dr:jr}let n=i(t),l=n(t);return{c(){l.c(),e=$0()},m(o,r){l.m(o,r),T(o,e,r)},p(o,[r]){n===(n=i(o))&&l?l.p(o,r):(l.d(1),l=n(o),l&&(l.c(),l.m(e.parentNode,e)))},i:R,o:R,d(o){l.d(o),o&&E(e)}}}function qr(t,e,i){let n,l,o,{isEnded:r}=e,{isAds:s}=e,{playbackState:a}=e,{adPlaybackState:c}=e,{className:f=""}=e,{handlePlayClick:m}=e,{repeatPlaylist:p}=e,{isOneVideoPlaylist:d}=e;const C=F0().ui.isMobile;Q(t,C,N=>i(3,o=N));function S(N,k){return k?zr:N===V0.PlaybackState.PLAYING?Si:kt}function L(N){return N===Z0.PLAYING?Si:kt}return t.$$set=N=>{"isEnded"in N&&i(5,r=N.isEnded),"isAds"in N&&i(6,s=N.isAds),"playbackState"in N&&i(7,a=N.playbackState),"adPlaybackState"in N&&i(8,c=N.adPlaybackState),"className"in N&&i(0,f=N.className),"handlePlayClick"in N&&i(9,m=N.handlePlayClick),"repeatPlaylist"in N&&i(10,p=N.repeatPlaylist),"isOneVideoPlaylist"in N&&i(11,d=N.isOneVideoPlaylist)},t.$$.update=()=>{t.$$.dirty&480&&i(2,n=s?L(c):S(a,r)),t.$$.dirty&3680&&i(1,l=!s&&r&&!d?p:m)},[f,l,n,o,C,r,s,a,c,m,p,d]}class Et extends p0{constructor(e){super(),m0(this,e,qr,Ur,v0,{isEnded:5,isAds:6,playbackState:7,adPlaybackState:8,className:0,handlePlayClick:9,repeatPlaylist:10,isOneVideoPlaylist:11},Fr)}}var Hn="data:image/svg+xml,%3csvg width='26' height='24' fill='none' xmlns='http://www.w3.org/2000/svg'%3e%3cpath 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' fill='white'/%3e%3c/svg%3e";function Qr(t){_0(t,"v-1tmb7ku",".container-mobile-prev.v-1tmb7ku{margin-right:12px}.container-mobile-next.v-1tmb7ku{margin-right:12px}.disabled.v-1tmb7ku{opacity:0.4;pointer-events:none}.icon.v-1tmb7ku{display:block;height:24px}.icon-mobile.v-1tmb7ku{height:32px}.icon-prev.v-1tmb7ku{transform:scaleX(-1)}")}function Wr(t){let e,i,n,l,o;return{c(){e=g("div"),i=g("img"),u(i,"class","icon v-1tmb7ku"),C0(i.src,n=Hn)||u(i,"src",n),u(i,"alt",""),H(i,"icon-prev",t[1]==="prev"),u(e,"role","button"),u(e,"tabindex","0"),u(e,"class","v-1tmb7ku"),H(e,"disabled",t[0])},m(r,s){T(r,e,s),v(e,i),l||(o=r0(e,"click",t[5]),l=!0)},p(r,s){s&2&&H(i,"icon-prev",r[1]==="prev"),s&1&&H(e,"disabled",r[0])},d(r){r&&E(e),l=!1,o()}}}function Gr(t){let e,i,n,l,o;return{c(){e=g("div"),i=g("img"),u(i,"class","icon-mobile v-1tmb7ku"),C0(i.src,n=Hn)||u(i,"src",n),u(i,"alt",""),H(i,"icon-prev",t[1]==="prev"),u(e,"role","button"),u(e,"tabindex","0"),u(e,"class","v-1tmb7ku"),H(e,"container-mobile-prev",t[1]==="prev"),H(e,"container-mobile-next",t[1]==="next"),H(e,"disabled",t[0])},m(r,s){T(r,e,s),v(e,i),l||(o=r0(e,"click",t[4]),l=!0)},p(r,s){s&2&&H(i,"icon-prev",r[1]==="prev"),s&2&&H(e,"container-mobile-prev",r[1]==="prev"),s&2&&H(e,"container-mobile-next",r[1]==="next"),s&1&&H(e,"disabled",r[0])},d(r){r&&E(e),l=!1,o()}}}function Yr(t){let e;function i(o,r){return o[2]?Gr:Wr}let n=i(t),l=n(t);return{c(){l.c(),e=$0()},m(o,r){l.m(o,r),T(o,e,r)},p(o,[r]){n===(n=i(o))&&l?l.p(o,r):(l.d(1),l=n(o),l&&(l.c(),l.m(e.parentNode,e)))},i:R,o:R,d(o){l.d(o),o&&E(e)}}}function Kr(t,e,i){let n,{disabled:l=!1}=e,{type:o}=e;const s=F0().ui.isMobile;Q(t,s,f=>i(2,n=f));function a(f){de.call(this,t,f)}function c(f){de.call(this,t,f)}return t.$$set=f=>{"disabled"in f&&i(0,l=f.disabled),"type"in f&&i(1,o=f.type)},[l,o,n,s,a,c]}class j1 extends p0{constructor(e){super(),m0(this,e,Kr,Yr,v0,{disabled:0,type:1},Qr)}}var An="data:image/svg+xml,%3csvg width='24' height='24' fill='none' xmlns='http://www.w3.org/2000/svg'%3e%3cpath fill-rule='evenodd' clip-rule='evenodd' 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' fill='white'/%3e%3c/svg%3e";function Xr(t){_0(t,"v-j4644b",".no-hover.v-j4644b{pointer-events:none}.icon.v-j4644b{display:block;width:24px;height:24px}")}function xr(t){let e,i;return{c(){e=g("img"),C0(e.src,i=An)||u(e,"src",i),u(e,"class","icon v-j4644b"),u(e,"alt","")},m(n,l){T(n,e,l)},p:R,d(n){n&&E(e)}}}function Jr(t){let e,i,n,l,o;return{c(){e=g("a"),i=g("img"),C0(i.src,n=An)||u(i,"src",n),u(i,"class","icon v-j4644b"),u(i,"alt",""),u(e,"href","https://vk.com/video"),u(e,"target","_blank"),u(e,"rel","noreferrer")},m(r,s){T(r,e,s),v(e,i),l||(o=r0(e,"click",t[2]),l=!0)},p:R,d(r){r&&E(e),l=!1,o()}}}function $r(t){let e,i;function n(r,s){return r[1]?Jr:xr}let l=n(t),o=l(t);return{c(){e=g("div"),o.c(),u(e,"class",i=Ne(t[0])+" v-j4644b"),u(e,"role","button"),u(e,"tabindex","0"),H(e,"no-hover",!t[1])},m(r,s){T(r,e,s),o.m(e,null)},p(r,[s]){l===(l=n(r))&&o?o.p(r,s):(o.d(1),o=l(r),o&&(o.c(),o.m(e,null))),s&1&&i!==(i=Ne(r[0])+" v-j4644b")&&u(e,"class",i),s&3&&H(e,"no-hover",!r[1])},i:R,o:R,d(r){r&&E(e),o.d()}}}function es(t,e,i){let{className:n=""}=e,{logoClickable:l=!1}=e;function o(r){de.call(this,t,r)}return t.$$set=r=>{"className"in r&&i(0,n=r.className),"logoClickable"in r&&i(1,l=r.logoClickable)},[n,l,o]}class En extends p0{constructor(e){super(),m0(this,e,es,$r,v0,{className:0,logoClickable:1},Xr)}}var ts="data:image/svg+xml,%3csvg width='24' height='24' viewBox='0 0 24 24' fill='none' xmlns='http://www.w3.org/2000/svg'%3e%3cg clip-path='url(%23clip0_4085_178456)'%3e%3cg filter='url(%23filter0_d_4085_178456)'%3e%3cmask id='path-1-outside-1_4085_178456' maskUnits='userSpaceOnUse' x='1.1001' y='3.10001' width='22' height='18' fill='black'%3e%3crect fill='white' x='1.1001' y='3.10001' width='22' height='18'/%3e%3cpath fill-rule='evenodd' clip-rule='evenodd' d='M16.2 5.90001C17.0549 5.90001 17.642 5.90071 18.0971 5.93789C18.5417 5.97422 18.7805 6.04082 18.9534 6.12889C19.3485 6.33023 19.6698 6.65149 19.8711 7.04663C19.9592 7.21947 20.0258 7.4583 20.0621 7.9029C20.0993 8.35801 20.1 8.94508 20.1 9.80001V14.2C20.1 15.0549 20.0993 15.642 20.0621 16.0971C20.0258 16.5417 19.9592 16.7805 19.8711 16.9534C19.6698 17.3485 19.3485 17.6698 18.9534 17.8711C18.7805 17.9592 18.5417 18.0258 18.0971 18.0621C17.642 18.0993 17.0549 18.1 16.2 18.1H15C14.5029 18.1 14.1 18.503 14.1 19C14.1 19.4971 14.5029 19.9 15 19.9H16.2377C17.0458 19.9 17.7066 19.9 18.2437 19.8561C18.7996 19.8107 19.3017 19.7138 19.7706 19.4749C20.5044 19.101 21.101 18.5044 21.4749 17.7706C21.7138 17.3017 21.8107 16.7996 21.8561 16.2437C21.9 15.7066 21.9 15.0458 21.9 14.2378V14.2377V9.7623V9.76221C21.9 8.9542 21.9 8.29338 21.8561 7.75632C21.8107 7.20041 21.7138 6.69833 21.4749 6.22944C21.101 5.49561 20.5044 4.89899 19.7706 4.52508C19.3017 4.28617 18.7996 4.18929 18.2437 4.14387C17.7066 4.09999 17.0458 4.1 16.2377 4.10001H16.2377H6.00005C6.00003 4.10001 6.00002 4.10001 6 4.10001C4.30053 4.10003 2.85715 5.18656 2.3222 6.70008C2.15656 7.16873 2.40219 7.68292 2.87083 7.84856C3.33948 8.0142 3.85367 7.76857 4.01931 7.29993C4.30802 6.48309 5.08707 5.90003 6 5.90001H16.2ZM3.0689 11.5203C3.24466 11.5069 3.42242 11.5 3.60196 11.5C7.41272 11.5 10.502 14.5892 10.502 18.4C10.502 18.5795 10.4951 18.7572 10.4817 18.933C10.4439 19.4286 10.8151 19.861 11.3107 19.8988C11.8063 19.9366 12.2387 19.5655 12.2765 19.0698C12.2934 18.8486 12.302 18.6252 12.302 18.4C12.302 13.5951 8.40683 9.70001 3.60196 9.70001C3.3767 9.70001 3.15328 9.70859 2.93202 9.72547C2.4364 9.76326 2.06527 10.1957 2.10306 10.6913C2.14086 11.1869 2.57328 11.5581 3.0689 11.5203ZM3.60196 15.1C3.44054 15.1 3.28234 15.1115 3.12803 15.1336C2.63601 15.2042 2.17992 14.8626 2.10933 14.3706C2.03875 13.8786 2.38038 13.4225 2.8724 13.3519C3.11112 13.3176 3.35475 13.3 3.60196 13.3C6.41862 13.3 8.70196 15.5833 8.70196 18.4C8.70196 18.6472 8.68431 18.8908 8.65006 19.1295C8.57948 19.6215 8.1234 19.9632 7.63138 19.8926C7.13936 19.822 6.79772 19.3659 6.86831 18.8739C6.89044 18.7196 6.90196 18.5614 6.90196 18.4C6.90196 16.5774 5.4245 15.1 3.60196 15.1ZM2.10202 18.4C2.10202 17.5716 2.77359 16.9 3.60202 16.9C4.43045 16.9 5.10202 17.5716 5.10202 18.4C5.10202 19.2284 4.43045 19.9 3.60202 19.9C2.77359 19.9 2.10202 19.2284 2.10202 18.4Z'/%3e%3c/mask%3e%3cpath fill-rule='evenodd' clip-rule='evenodd' d='M16.2 5.90001C17.0549 5.90001 17.642 5.90071 18.0971 5.93789C18.5417 5.97422 18.7805 6.04082 18.9534 6.12889C19.3485 6.33023 19.6698 6.65149 19.8711 7.04663C19.9592 7.21947 20.0258 7.4583 20.0621 7.9029C20.0993 8.35801 20.1 8.94508 20.1 9.80001V14.2C20.1 15.0549 20.0993 15.642 20.0621 16.0971C20.0258 16.5417 19.9592 16.7805 19.8711 16.9534C19.6698 17.3485 19.3485 17.6698 18.9534 17.8711C18.7805 17.9592 18.5417 18.0258 18.0971 18.0621C17.642 18.0993 17.0549 18.1 16.2 18.1H15C14.5029 18.1 14.1 18.503 14.1 19C14.1 19.4971 14.5029 19.9 15 19.9H16.2377C17.0458 19.9 17.7066 19.9 18.2437 19.8561C18.7996 19.8107 19.3017 19.7138 19.7706 19.4749C20.5044 19.101 21.101 18.5044 21.4749 17.7706C21.7138 17.3017 21.8107 16.7996 21.8561 16.2437C21.9 15.7066 21.9 15.0458 21.9 14.2378V14.2377V9.7623V9.76221C21.9 8.9542 21.9 8.29338 21.8561 7.75632C21.8107 7.20041 21.7138 6.69833 21.4749 6.22944C21.101 5.49561 20.5044 4.89899 19.7706 4.52508C19.3017 4.28617 18.7996 4.18929 18.2437 4.14387C17.7066 4.09999 17.0458 4.1 16.2377 4.10001H16.2377H6.00005C6.00003 4.10001 6.00002 4.10001 6 4.10001C4.30053 4.10003 2.85715 5.18656 2.3222 6.70008C2.15656 7.16873 2.40219 7.68292 2.87083 7.84856C3.33948 8.0142 3.85367 7.76857 4.01931 7.29993C4.30802 6.48309 5.08707 5.90003 6 5.90001H16.2ZM3.0689 11.5203C3.24466 11.5069 3.42242 11.5 3.60196 11.5C7.41272 11.5 10.502 14.5892 10.502 18.4C10.502 18.5795 10.4951 18.7572 10.4817 18.933C10.4439 19.4286 10.8151 19.861 11.3107 19.8988C11.8063 19.9366 12.2387 19.5655 12.2765 19.0698C12.2934 18.8486 12.302 18.6252 12.302 18.4C12.302 13.5951 8.40683 9.70001 3.60196 9.70001C3.3767 9.70001 3.15328 9.70859 2.93202 9.72547C2.4364 9.76326 2.06527 10.1957 2.10306 10.6913C2.14086 11.1869 2.57328 11.5581 3.0689 11.5203ZM3.60196 15.1C3.44054 15.1 3.28234 15.1115 3.12803 15.1336C2.63601 15.2042 2.17992 14.8626 2.10933 14.3706C2.03875 13.8786 2.38038 13.4225 2.8724 13.3519C3.11112 13.3176 3.35475 13.3 3.60196 13.3C6.41862 13.3 8.70196 15.5833 8.70196 18.4C8.70196 18.6472 8.68431 18.8908 8.65006 19.1295C8.57948 19.6215 8.1234 19.9632 7.63138 19.8926C7.13936 19.822 6.79772 19.3659 6.86831 18.8739C6.89044 18.7196 6.90196 18.5614 6.90196 18.4C6.90196 16.5774 5.4245 15.1 3.60196 15.1ZM2.10202 18.4C2.10202 17.5716 2.77359 16.9 3.60202 16.9C4.43045 16.9 5.10202 17.5716 5.10202 18.4C5.10202 19.2284 4.43045 19.9 3.60202 19.9C2.77359 19.9 2.10202 19.2284 2.10202 18.4Z' fill='white'/%3e%3cpath d='M18.0971 5.93789L18.0564 6.43623L18.0971 5.93789ZM18.9534 6.12889L18.7264 6.5744V6.5744L18.9534 6.12889ZM19.8711 7.04663L19.4256 7.27362V7.27362L19.8711 7.04663ZM20.0621 7.9029L19.5638 7.94362V7.94362L20.0621 7.9029ZM20.0621 16.0971L19.5638 16.0564V16.0564L20.0621 16.0971ZM19.8711 16.9534L19.4256 16.7264V16.7264L19.8711 16.9534ZM18.9534 17.8711L18.7264 17.4256V17.4256L18.9534 17.8711ZM18.0971 18.0621L18.1378 18.5605H18.1378L18.0971 18.0621ZM16.2377 19.9L16.2377 19.4H16.2377V19.9ZM18.2437 19.8561L18.2844 20.3545L18.2437 19.8561ZM19.7706 19.4749L19.5436 19.0294V19.0294L19.7706 19.4749ZM21.4749 17.7706L21.9204 17.9976V17.9976L21.4749 17.7706ZM21.8561 16.2437L22.3545 16.2844L21.8561 16.2437ZM21.9 14.2378H21.4V14.2378L21.9 14.2378ZM21.9 9.76221L21.4 9.7622V9.76221H21.9ZM21.8561 7.75632L22.3545 7.71561V7.71561L21.8561 7.75632ZM21.4749 6.22944L21.9204 6.00245V6.00245L21.4749 6.22944ZM19.7706 4.52508L19.5436 4.97058V4.97059L19.7706 4.52508ZM18.2437 4.14387L18.2844 3.64553L18.2437 4.14387ZM16.2377 4.10001V4.60001H16.2377L16.2377 4.10001ZM6 4.10001V3.60001H5.99999L6 4.10001ZM2.3222 6.70008L1.85078 6.53346H1.85078L2.3222 6.70008ZM4.01931 7.29993L3.54789 7.1333V7.13331L4.01931 7.29993ZM6 5.90001V5.40001H5.99999L6 5.90001ZM3.0689 11.5203L3.03087 11.0217H3.03087L3.0689 11.5203ZM10.4817 18.933L10.9803 18.971L10.4817 18.933ZM12.2765 19.0698L12.7751 19.1079L12.2765 19.0698ZM2.93202 9.72547L2.894 9.22691H2.894L2.93202 9.72547ZM2.10306 10.6913L2.60162 10.6533L2.10306 10.6913ZM3.12803 15.1336L3.05702 14.6387H3.05702L3.12803 15.1336ZM2.10933 14.3706L2.60427 14.2996L2.10933 14.3706ZM2.8724 13.3519L2.94341 13.8468H2.94341L2.8724 13.3519ZM8.65006 19.1295L9.145 19.2005V19.2005L8.65006 19.1295ZM7.63138 19.8926L7.56037 20.3875L7.56037 20.3875L7.63138 19.8926ZM6.86831 18.8739L7.36324 18.9449L7.36324 18.9449L6.86831 18.8739ZM18.1378 5.43955C17.6576 5.40031 17.0465 5.40001 16.2 5.40001V6.40001C17.0634 6.40001 17.6264 6.4011 18.0564 6.43623L18.1378 5.43955ZM19.1804 5.68339C18.9252 5.55336 18.6131 5.47839 18.1378 5.43955L18.0564 6.43623C18.4703 6.47005 18.6359 6.52829 18.7264 6.5744L19.1804 5.68339ZM20.3166 6.81963C20.0673 6.33041 19.6696 5.93266 19.1804 5.68339L18.7264 6.5744C19.0274 6.72779 19.2722 6.97256 19.4256 7.27362L20.3166 6.81963ZM20.5605 7.86219C20.5216 7.38687 20.4466 7.07483 20.3166 6.81963L19.4256 7.27362C19.4717 7.36412 19.53 7.52974 19.5638 7.94362L20.5605 7.86219ZM20.6 9.80001C20.6 8.95353 20.5997 8.34242 20.5605 7.86218L19.5638 7.94362C19.5989 8.37359 19.6 8.93662 19.6 9.80001H20.6ZM20.6 14.2V9.80001H19.6V14.2H20.6ZM20.5605 16.1378C20.5997 15.6576 20.6 15.0465 20.6 14.2H19.6C19.6 15.0634 19.5989 15.6264 19.5638 16.0564L20.5605 16.1378ZM20.3166 17.1804C20.4466 16.9252 20.5216 16.6131 20.5605 16.1378L19.5638 16.0564C19.53 16.4703 19.4717 16.6359 19.4256 16.7264L20.3166 17.1804ZM19.1804 18.3166C19.6696 18.0674 20.0673 17.6696 20.3166 17.1804L19.4256 16.7264C19.2722 17.0275 19.0274 17.2722 18.7264 17.4256L19.1804 18.3166ZM18.1378 18.5605C18.6131 18.5216 18.9252 18.4467 19.1804 18.3166L18.7264 17.4256C18.6359 17.4717 18.4703 17.53 18.0564 17.5638L18.1378 18.5605ZM16.2 18.6C17.0465 18.6 17.6576 18.5997 18.1378 18.5605L18.0564 17.5638C17.6264 17.5989 17.0634 17.6 16.2 17.6V18.6ZM15 18.6H16.2V17.6H15V18.6ZM14.6 19C14.6 18.7791 14.7791 18.6 15 18.6V17.6C14.2268 17.6 13.6 18.2268 13.6 19H14.6ZM15 19.4C14.7791 19.4 14.6 19.2209 14.6 19H13.6C13.6 19.7732 14.2268 20.4 15 20.4V19.4ZM16.2377 19.4H15V20.4H16.2377V19.4ZM18.203 19.3578C17.6908 19.3997 17.0532 19.4 16.2377 19.4L16.2377 20.4C17.0383 20.4 17.7224 20.4004 18.2844 20.3545L18.203 19.3578ZM19.5436 19.0294C19.1569 19.2265 18.7278 19.3149 18.203 19.3578L18.2844 20.3545C18.8713 20.3065 19.4465 20.2012 19.9976 19.9204L19.5436 19.0294ZM21.0294 17.5436C20.7035 18.1833 20.1833 18.7035 19.5436 19.0294L19.9976 19.9204C20.8255 19.4986 21.4986 18.8255 21.9204 17.9976L21.0294 17.5436ZM21.3578 16.203C21.3149 16.7279 21.2265 17.1569 21.0294 17.5436L21.9204 17.9976C22.2012 17.4465 22.3065 16.8713 22.3545 16.2844L21.3578 16.203ZM21.4 14.2378C21.4 15.0533 21.3996 15.6908 21.3578 16.203L22.3545 16.2844C22.4004 15.7225 22.4 15.0383 22.4 14.2378L21.4 14.2378ZM21.4 14.2377V14.2378H22.4V14.2377H21.4ZM21.4 9.7623V14.2377H22.4V9.7623H21.4ZM21.4 9.76221V9.7623H22.4V9.76221H21.4ZM21.3578 7.79704C21.3996 8.3092 21.4 8.94673 21.4 9.7622L22.4 9.76221C22.4 8.96167 22.4004 8.27756 22.3545 7.71561L21.3578 7.79704ZM21.0294 6.45644C21.2265 6.84316 21.3149 7.27216 21.3578 7.79704L22.3545 7.71561C22.3065 7.12867 22.2012 6.55351 21.9204 6.00245L21.0294 6.45644ZM19.5436 4.97059C20.1833 5.29655 20.7035 5.81669 21.0294 6.45644L21.9204 6.00245C21.4986 5.17454 20.8255 4.50142 19.9976 4.07958L19.5436 4.97059ZM18.203 4.64221C18.7278 4.68509 19.1569 4.77354 19.5436 4.97058L19.9976 4.07958C19.4465 3.7988 18.8713 3.69348 18.2844 3.64553L18.203 4.64221ZM16.2377 4.60001C17.0532 4.6 17.6908 4.60036 18.203 4.64221L18.2844 3.64553C17.7224 3.59961 17.0383 3.6 16.2377 3.60001L16.2377 4.60001ZM16.2377 4.60001H16.2377V3.60001H16.2377V4.60001ZM6.00005 4.60001H16.2377V3.60001H6.00005V4.60001ZM6.00005 3.60001H6.00005C6.00005 3.60001 6.00005 3.60001 6.00005 3.60001C6.00005 3.60001 6.00005 3.60001 6.00005 3.60001C6.00005 3.60001 6.00005 3.60001 6.00005 3.60001C6.00005 3.60001 6.00005 3.60001 6.00005 3.60001H6.00005C6.00005 3.60001 6.00005 3.60001 6.00005 3.60001H6.00005C6.00005 3.60001 6.00005 3.60001 6.00005 3.60001C6.00005 3.60001 6.00005 3.60001 6.00004 3.60001H6.00004C6.00004 3.60001 6.00004 3.60001 6.00004 3.60001H6.00004C6.00004 3.60001 6.00004 3.60001 6.00004 3.60001C6.00004 3.60001 6.00004 3.60001 6.00004 3.60001C6.00004 3.60001 6.00004 3.60001 6.00004 3.60001C6.00004 3.60001 6.00004 3.60001 6.00004 3.60001H6.00004C6.00004 3.60001 6.00004 3.60001 6.00004 3.60001H6.00004C6.00004 3.60001 6.00004 3.60001 6.00004 3.60001C6.00004 3.60001 6.00004 3.60001 6.00004 3.60001H6.00004C6.00004 3.60001 6.00004 3.60001 6.00004 3.60001H6.00004C6.00004 3.60001 6.00004 3.60001 6.00004 3.60001C6.00004 3.60001 6.00004 3.60001 6.00004 3.60001C6.00004 3.60001 6.00004 3.60001 6.00004 3.60001C6.00004 3.60001 6.00004 3.60001 6.00004 3.60001H6.00004C6.00004 3.60001 6.00004 3.60001 6.00004 3.60001C6.00004 3.60001 6.00004 3.60001 6.00004 3.60001C6.00004 3.60001 6.00004 3.60001 6.00004 3.60001C6.00004 3.60001 6.00004 3.60001 6.00004 3.60001H6.00004C6.00004 3.60001 6.00004 3.60001 6.00004 3.60001H6.00004C6.00004 3.60001 6.00004 3.60001 6.00004 3.60001C6.00004 3.60001 6.00004 3.60001 6.00004 3.60001H6.00004C6.00004 3.60001 6.00004 3.60001 6.00004 3.60001H6.00004C6.00004 3.60001 6.00004 3.60001 6.00004 3.60001C6.00004 3.60001 6.00004 3.60001 6.00004 3.60001C6.00004 3.60001 6.00004 3.60001 6.00004 3.60001C6.00004 3.60001 6.00004 3.60001 6.00004 3.60001H6.00004C6.00004 3.60001 6.00004 3.60001 6.00004 3.60001H6.00004C6.00004 3.60001 6.00004 3.60001 6.00004 3.60001C6.00004 3.60001 6.00004 3.60001 6.00004 3.60001H6.00003C6.00003 3.60001 6.00003 3.60001 6.00003 3.60001H6.00003C6.00003 3.60001 6.00003 3.60001 6.00003 3.60001C6.00003 3.60001 6.00003 3.60001 6.00003 3.60001C6.00003 3.60001 6.00003 3.60001 6.00003 3.60001C6.00003 3.60001 6.00003 3.60001 6.00003 3.60001H6.00003C6.00003 3.60001 6.00003 3.60001 6.00003 3.60001H6.00003C6.00003 3.60001 6.00003 3.60001 6.00003 3.60001C6.00003 3.60001 6.00003 3.60001 6.00003 3.60001H6.00003C6.00003 3.60001 6.00003 3.60001 6.00003 3.60001H6.00003C6.00003 3.60001 6.00003 3.60001 6.00003 3.60001C6.00003 3.60001 6.00003 3.60001 6.00003 3.60001H6.00003C6.00003 3.60001 6.00003 3.60001 6.00003 3.60001H6.00003C6.00003 3.60001 6.00003 3.60001 6.00003 3.60001C6.00003 3.60001 6.00003 3.60001 6.00003 3.60001C6.00003 3.60001 6.00003 3.60001 6.00003 3.60001C6.00003 3.60001 6.00003 3.60001 6.00003 3.60001H6.00003C6.00003 3.60001 6.00003 3.60001 6.00003 3.60001H6.00003C6.00003 3.60001 6.00003 3.60001 6.00003 3.60001C6.00003 3.60001 6.00003 3.60001 6.00003 3.60001H6.00003C6.00003 3.60001 6.00003 3.60001 6.00003 3.60001H6.00003C6.00003 3.60001 6.00003 3.60001 6.00003 3.60001C6.00003 3.60001 6.00003 3.60001 6.00003 3.60001C6.00003 3.60001 6.00003 3.60001 6.00003 3.60001C6.00003 3.60001 6.00003 3.60001 6.00003 3.60001H6.00003C6.00003 3.60001 6.00003 3.60001 6.00003 3.60001H6.00003C6.00003 3.60001 6.00003 3.60001 6.00003 3.60001C6.00003 3.60001 6.00003 3.60001 6.00003 3.60001H6.00003C6.00003 3.60001 6.00003 3.60001 6.00002 3.60001H6.00002C6.00002 3.60001 6.00002 3.60001 6.00002 3.60001C6.00002 3.60001 6.00002 3.60001 6.00002 3.60001H6.00002C6.00002 3.60001 6.00002 3.60001 6.00002 3.60001H6.00002C6.00002 3.60001 6.00002 3.60001 6.00002 3.60001C6.00002 3.60001 6.00002 3.60001 6.00002 3.60001C6.00002 3.60001 6.00002 3.60001 6.00002 3.60001C6.00002 3.60001 6.00002 3.60001 6.00002 3.60001H6.00002C6.00002 3.60001 6.00002 3.60001 6.00002 3.60001H6.00002C6.00002 3.60001 6.00002 3.60001 6.00002 3.60001C6.00002 3.60001 6.00002 3.60001 6.00002 3.60001H6.00002C6.00002 3.60001 6.00002 3.60001 6.00002 3.60001H6.00002C6.00002 3.60001 6.00002 3.60001 6.00002 3.60001C6.00002 3.60001 6.00002 3.60001 6.00002 3.60001C6.00002 3.60001 6.00002 3.60001 6.00002 3.60001C6.00002 3.60001 6.00002 3.60001 6.00002 3.60001H6.00002C6.00002 3.60001 6.00002 3.60001 6.00002 3.60001H6.00002C6.00002 3.60001 6.00002 3.60001 6.00002 3.60001C6.00002 3.60001 6.00002 3.60001 6.00002 3.60001H6.00002C6.00002 3.60001 6.00002 3.60001 6.00002 3.60001H6.00002C6.00002 3.60001 6.00002 3.60001 6.00002 3.60001C6.00002 3.60001 6.00002 3.60001 6.00002 3.60001C6.00002 3.60001 6.00002 3.60001 6.00002 3.60001C6.00002 3.60001 6.00002 3.60001 6.00002 3.60001H6.00002C6.00002 3.60001 6.00002 3.60001 6.00002 3.60001C6.00002 3.60001 6.00002 3.60001 6.00002 3.60001C6.00002 3.60001 6.00002 3.60001 6.00002 3.60001C6.00002 3.60001 6.00002 3.60001 6.00002 3.60001H6.00002C6.00002 3.60001 6.00002 3.60001 6.00002 3.60001H6.00001C6.00001 3.60001 6.00001 3.60001 6.00001 3.60001C6.00001 3.60001 6.00001 3.60001 6.00001 3.60001H6.00001C6.00001 3.60001 6.00001 3.60001 6.00001 3.60001H6.00001C6.00001 3.60001 6.00001 3.60001 6.00001 3.60001C6.00001 3.60001 6.00001 3.60001 6.00001 3.60001C6.00001 3.60001 6.00001 3.60001 6.00001 3.60001C6.00001 3.60001 6.00001 3.60001 6.00001 3.60001H6.00001C6.00001 3.60001 6.00001 3.60001 6.00001 3.60001H6.00001C6.00001 3.60001 6.00001 3.60001 6.00001 3.60001C6.00001 3.60001 6.00001 3.60001 6.00001 3.60001H6.00001C6.00001 3.60001 6.00001 3.60001 6.00001 3.60001H6.00001C6.00001 3.60001 6.00001 3.60001 6.00001 3.60001C6.00001 3.60001 6.00001 3.60001 6.00001 3.60001C6.00001 3.60001 6.00001 3.60001 6.00001 3.60001C6.00001 3.60001 6.00001 3.60001 6.00001 3.60001H6.00001C6.00001 3.60001 6.00001 3.60001 6.00001 3.60001H6.00001C6.00001 3.60001 6.00001 3.60001 6.00001 3.60001C6.00001 3.60001 6.00001 3.60001 6.00001 3.60001H6.00001C6.00001 3.60001 6.00001 3.60001 6.00001 3.60001H6.00001C6.00001 3.60001 6.00001 3.60001 6.00001 3.60001C6.00001 3.60001 6.00001 3.60001 6.00001 3.60001H6.00001C6.00001 3.60001 6.00001 3.60001 6.00001 3.60001H6.00001C6.00001 3.60001 6.00001 3.60001 6.00001 3.60001C6.00001 3.60001 6.00001 3.60001 6.00001 3.60001C6.00001 3.60001 6.00001 3.60001 6.00001 3.60001C6.00001 3.60001 6.00001 3.60001 6.00001 3.60001H6.00001C6.00001 3.60001 6.00001 3.60001 6.00001 3.60001H6.00001C6 3.60001 6 3.60001 6 3.60001C6 3.60001 6 3.60001 6 3.60001H6C6 3.60001 6 3.60001 6 3.60001H6C6 3.60001 6 3.60001 6 3.60001C6 3.60001 6 3.60001 6 3.60001C6 3.60001 6 3.60001 6 3.60001C6 3.60001 6 3.60001 6 3.60001H6C6 3.60001 6 3.60001 6 3.60001H6C6 3.60001 6 3.60001 6 3.60001C6 3.60001 6 3.60001 6 3.60001H6C6 3.60001 6 3.60001 6 3.60001H6C6 3.60001 6 3.60001 6 3.60001C6 3.60001 6 3.60001 6 3.60001H6C6 3.60001 6 3.60001 6 3.60001V4.60001C6 4.60001 6 4.60001 6 4.60001H6C6 4.60001 6 4.60001 6 4.60001C6 4.60001 6 4.60001 6 4.60001H6C6 4.60001 6 4.60001 6 4.60001H6C6 4.60001 6 4.60001 6 4.60001C6 4.60001 6 4.60001 6 4.60001H6C6 4.60001 6 4.60001 6 4.60001H6C6 4.60001 6 4.60001 6 4.60001C6 4.60001 6 4.60001 6 4.60001C6 4.60001 6 4.60001 6 4.60001C6 4.60001 6 4.60001 6 4.60001H6C6 4.60001 6 4.60001 6 4.60001H6C6 4.60001 6 4.60001 6 4.60001C6 4.60001 6 4.60001 6.00001 4.60001H6.00001C6.00001 4.60001 6.00001 4.60001 6.00001 4.60001H6.00001C6.00001 4.60001 6.00001 4.60001 6.00001 4.60001C6.00001 4.60001 6.00001 4.60001 6.00001 4.60001C6.00001 4.60001 6.00001 4.60001 6.00001 4.60001C6.00001 4.60001 6.00001 4.60001 6.00001 4.60001H6.00001C6.00001 4.60001 6.00001 4.60001 6.00001 4.60001H6.00001C6.00001 4.60001 6.00001 4.60001 6.00001 4.60001C6.00001 4.60001 6.00001 4.60001 6.00001 4.60001H6.00001C6.00001 4.60001 6.00001 4.60001 6.00001 4.60001H6.00001C6.00001 4.60001 6.00001 4.60001 6.00001 4.60001C6.00001 4.60001 6.00001 4.60001 6.00001 4.60001H6.00001C6.00001 4.60001 6.00001 4.60001 6.00001 4.60001H6.00001C6.00001 4.60001 6.00001 4.60001 6.00001 4.60001C6.00001 4.60001 6.00001 4.60001 6.00001 4.60001C6.00001 4.60001 6.00001 4.60001 6.00001 4.60001C6.00001 4.60001 6.00001 4.60001 6.00001 4.60001H6.00001C6.00001 4.60001 6.00001 4.60001 6.00001 4.60001H6.00001C6.00001 4.60001 6.00001 4.60001 6.00001 4.60001C6.00001 4.60001 6.00001 4.60001 6.00001 4.60001H6.00001C6.00001 4.60001 6.00001 4.60001 6.00001 4.60001H6.00001C6.00001 4.60001 6.00001 4.60001 6.00001 4.60001C6.00001 4.60001 6.00001 4.60001 6.00001 4.60001C6.00001 4.60001 6.00001 4.60001 6.00001 4.60001C6.00001 4.60001 6.00001 4.60001 6.00001 4.60001H6.00001C6.00001 4.60001 6.00001 4.60001 6.00001 4.60001H6.00001C6.00001 4.60001 6.00001 4.60001 6.00001 4.60001C6.00001 4.60001 6.00001 4.60001 6.00001 4.60001H6.00002C6.00002 4.60001 6.00002 4.60001 6.00002 4.60001H6.00002C6.00002 4.60001 6.00002 4.60001 6.00002 4.60001C6.00002 4.60001 6.00002 4.60001 6.00002 4.60001C6.00002 4.60001 6.00002 4.60001 6.00002 4.60001C6.00002 4.60001 6.00002 4.60001 6.00002 4.60001H6.00002C6.00002 4.60001 6.00002 4.60001 6.00002 4.60001C6.00002 4.60001 6.00002 4.60001 6.00002 4.60001C6.00002 4.60001 6.00002 4.60001 6.00002 4.60001C6.00002 4.60001 6.00002 4.60001 6.00002 4.60001H6.00002C6.00002 4.60001 6.00002 4.60001 6.00002 4.60001H6.00002C6.00002 4.60001 6.00002 4.60001 6.00002 4.60001C6.00002 4.60001 6.00002 4.60001 6.00002 4.60001H6.00002C6.00002 4.60001 6.00002 4.60001 6.00002 4.60001H6.00002C6.00002 4.60001 6.00002 4.60001 6.00002 4.60001C6.00002 4.60001 6.00002 4.60001 6.00002 4.60001C6.00002 4.60001 6.00002 4.60001 6.00002 4.60001C6.00002 4.60001 6.00002 4.60001 6.00002 4.60001H6.00002C6.00002 4.60001 6.00002 4.60001 6.00002 4.60001H6.00002C6.00002 4.60001 6.00002 4.60001 6.00002 4.60001C6.00002 4.60001 6.00002 4.60001 6.00002 4.60001H6.00002C6.00002 4.60001 6.00002 4.60001 6.00002 4.60001H6.00002C6.00002 4.60001 6.00002 4.60001 6.00002 4.60001C6.00002 4.60001 6.00002 4.60001 6.00002 4.60001C6.00002 4.60001 6.00002 4.60001 6.00002 4.60001C6.00002 4.60001 6.00002 4.60001 6.00002 4.60001H6.00002C6.00002 4.60001 6.00002 4.60001 6.00002 4.60001H6.00002C6.00002 4.60001 6.00002 4.60001 6.00002 4.60001C6.00002 4.60001 6.00002 4.60001 6.00002 4.60001H6.00002C6.00003 4.60001 6.00003 4.60001 6.00003 4.60001H6.00003C6.00003 4.60001 6.00003 4.60001 6.00003 4.60001C6.00003 4.60001 6.00003 4.60001 6.00003 4.60001H6.00003C6.00003 4.60001 6.00003 4.60001 6.00003 4.60001H6.00003C6.00003 4.60001 6.00003 4.60001 6.00003 4.60001C6.00003 4.60001 6.00003 4.60001 6.00003 4.60001C6.00003 4.60001 6.00003 4.60001 6.00003 4.60001C6.00003 4.60001 6.00003 4.60001 6.00003 4.60001H6.00003C6.00003 4.60001 6.00003 4.60001 6.00003 4.60001H6.00003C6.00003 4.60001 6.00003 4.60001 6.00003 4.60001C6.00003 4.60001 6.00003 4.60001 6.00003 4.60001H6.00003C6.00003 4.60001 6.00003 4.60001 6.00003 4.60001H6.00003C6.00003 4.60001 6.00003 4.60001 6.00003 4.60001C6.00003 4.60001 6.00003 4.60001 6.00003 4.60001C6.00003 4.60001 6.00003 4.60001 6.00003 4.60001C6.00003 4.60001 6.00003 4.60001 6.00003 4.60001H6.00003C6.00003 4.60001 6.00003 4.60001 6.00003 4.60001H6.00003C6.00003 4.60001 6.00003 4.60001 6.00003 4.60001C6.00003 4.60001 6.00003 4.60001 6.00003 4.60001H6.00003C6.00003 4.60001 6.00003 4.60001 6.00003 4.60001H6.00003C6.00003 4.60001 6.00003 4.60001 6.00003 4.60001C6.00003 4.60001 6.00003 4.60001 6.00003 4.60001H6.00003C6.00003 4.60001 6.00003 4.60001 6.00003 4.60001H6.00003C6.00003 4.60001 6.00003 4.60001 6.00003 4.60001C6.00003 4.60001 6.00003 4.60001 6.00003 4.60001C6.00003 4.60001 6.00003 4.60001 6.00003 4.60001C6.00003 4.60001 6.00003 4.60001 6.00003 4.60001H6.00003C6.00003 4.60001 6.00003 4.60001 6.00003 4.60001H6.00004C6.00004 4.60001 6.00004 4.60001 6.00004 4.60001C6.00004 4.60001 6.00004 4.60001 6.00004 4.60001H6.00004C6.00004 4.60001 6.00004 4.60001 6.00004 4.60001H6.00004C6.00004 4.60001 6.00004 4.60001 6.00004 4.60001C6.00004 4.60001 6.00004 4.60001 6.00004 4.60001C6.00004 4.60001 6.00004 4.60001 6.00004 4.60001C6.00004 4.60001 6.00004 4.60001 6.00004 4.60001H6.00004C6.00004 4.60001 6.00004 4.60001 6.00004 4.60001H6.00004C6.00004 4.60001 6.00004 4.60001 6.00004 4.60001C6.00004 4.60001 6.00004 4.60001 6.00004 4.60001H6.00004C6.00004 4.60001 6.00004 4.60001 6.00004 4.60001H6.00004C6.00004 4.60001 6.00004 4.60001 6.00004 4.60001C6.00004 4.60001 6.00004 4.60001 6.00004 4.60001C6.00004 4.60001 6.00004 4.60001 6.00004 4.60001C6.00004 4.60001 6.00004 4.60001 6.00004 4.60001H6.00004C6.00004 4.60001 6.00004 4.60001 6.00004 4.60001C6.00004 4.60001 6.00004 4.60001 6.00004 4.60001C6.00004 4.60001 6.00004 4.60001 6.00004 4.60001C6.00004 4.60001 6.00004 4.60001 6.00004 4.60001H6.00004C6.00004 4.60001 6.00004 4.60001 6.00004 4.60001H6.00004C6.00004 4.60001 6.00004 4.60001 6.00004 4.60001C6.00004 4.60001 6.00004 4.60001 6.00004 4.60001H6.00004C6.00004 4.60001 6.00004 4.60001 6.00004 4.60001H6.00004C6.00004 4.60001 6.00004 4.60001 6.00004 4.60001C6.00004 4.60001 6.00004 4.60001 6.00004 4.60001C6.00004 4.60001 6.00004 4.60001 6.00004 4.60001C6.00004 4.60001 6.00004 4.60001 6.00004 4.60001H6.00004C6.00004 4.60001 6.00004 4.60001 6.00004 4.60001H6.00004C6.00005 4.60001 6.00005 4.60001 6.00005 4.60001C6.00005 4.60001 6.00005 4.60001 6.00005 4.60001H6.00005C6.00005 4.60001 6.00005 4.60001 6.00005 4.60001H6.00005C6.00005 4.60001 6.00005 4.60001 6.00005 4.60001C6.00005 4.60001 6.00005 4.60001 6.00005 4.60001C6.00005 4.60001 6.00005 4.60001 6.00005 4.60001C6.00005 4.60001 6.00005 4.60001 6.00005 4.60001H6.00005V3.60001ZM5.99999 3.60001C4.08179 3.60003 2.45405 4.82666 1.85078 6.53346L2.79362 6.86671C3.26026 5.54647 4.51927 4.60002 6.00001 4.60001L5.99999 3.60001ZM1.85078 6.53346C1.59311 7.26246 1.97521 8.06232 2.70421 8.31998L3.03745 7.37714C2.82917 7.30352 2.72 7.07499 2.79362 6.86671L1.85078 6.53346ZM2.70421 8.31998C3.43321 8.57765 4.23306 8.19555 4.49073 7.46655L3.54789 7.13331C3.47427 7.34159 3.24574 7.45076 3.03745 7.37714L2.70421 8.31998ZM4.49073 7.46655C4.71088 6.84369 5.3051 6.40002 6.00001 6.40001L5.99999 5.40001C4.86905 5.40003 3.90516 6.1225 3.54789 7.1333L4.49073 7.46655ZM16.2 5.40001H6V6.40001H16.2V5.40001ZM3.60196 11C3.40972 11 3.21928 11.0073 3.03087 11.0217L3.10692 12.0188C3.27004 12.0064 3.43512 12 3.60196 12V11ZM11.002 18.4C11.002 14.3131 7.68886 11 3.60196 11V12C7.13658 12 10.002 14.8654 10.002 18.4H11.002ZM10.9803 18.971C10.9946 18.7826 11.002 18.5922 11.002 18.4H10.002C10.002 18.5668 9.9956 18.7319 9.98317 18.895L10.9803 18.971ZM11.3487 19.4003C11.1284 19.3835 10.9635 19.1913 10.9803 18.971L9.98317 18.895C9.92438 19.6659 10.5017 20.3386 11.2727 20.3974L11.3487 19.4003ZM11.778 19.0318C11.7612 19.2521 11.569 19.417 11.3487 19.4003L11.2727 20.3974C12.0436 20.4561 12.7163 19.8788 12.7751 19.1079L11.778 19.0318ZM11.802 18.4C11.802 18.6125 11.7939 18.8232 11.778 19.0318L12.7751 19.1079C12.7929 18.874 12.802 18.6379 12.802 18.4H11.802ZM3.60196 10.2C8.13069 10.2 11.802 13.8713 11.802 18.4H12.802C12.802 13.319 8.68297 9.20001 3.60196 9.20001V10.2ZM2.97004 10.224C3.17866 10.2081 3.3894 10.2 3.60196 10.2V9.20001C3.364 9.20001 3.1279 9.20908 2.894 9.22691L2.97004 10.224ZM2.60162 10.6533C2.58482 10.433 2.74977 10.2408 2.97004 10.224L2.894 9.22691C2.12304 9.28571 1.54571 9.95836 1.60451 10.7293L2.60162 10.6533ZM3.03087 11.0217C2.8106 11.0385 2.61841 10.8736 2.60162 10.6533L1.60451 10.7293C1.66331 11.5003 2.33596 12.0776 3.10692 12.0188L3.03087 11.0217ZM3.19903 15.6286C3.3299 15.6098 3.46438 15.6 3.60196 15.6V14.6C3.41671 14.6 3.23478 14.6132 3.05702 14.6387L3.19903 15.6286ZM1.6144 14.4416C1.72421 15.207 2.43367 15.7384 3.19903 15.6286L3.05702 14.6387C2.83834 14.6701 2.63564 14.5183 2.60427 14.2996L1.6144 14.4416ZM2.80139 12.857C2.03603 12.9668 1.5046 13.6762 1.6144 14.4416L2.60427 14.2996C2.57289 14.0809 2.72473 13.8782 2.94341 13.8468L2.80139 12.857ZM3.60196 12.8C3.33091 12.8 3.06356 12.8193 2.80139 12.857L2.94341 13.8468C3.15868 13.8159 3.37858 13.8 3.60196 13.8V12.8ZM9.20196 18.4C9.20196 15.3072 6.69476 12.8 3.60196 12.8V13.8C6.14247 13.8 8.20196 15.8595 8.20196 18.4H9.20196ZM9.145 19.2005C9.1826 18.9384 9.20196 18.671 9.20196 18.4H8.20196C8.20196 18.6234 8.18601 18.8432 8.15513 19.0585L9.145 19.2005ZM7.56037 20.3875C8.32574 20.4973 9.0352 19.9659 9.145 19.2005L8.15513 19.0585C8.12376 19.2772 7.92106 19.429 7.70238 19.3977L7.56037 20.3875ZM6.37337 18.8029C6.26357 19.5683 6.79501 20.2777 7.56037 20.3875L7.70238 19.3977C7.48371 19.3663 7.33187 19.1636 7.36324 18.9449L6.37337 18.8029ZM6.40196 18.4C6.40196 18.5376 6.39215 18.672 6.37337 18.8029L7.36324 18.9449C7.38874 18.7671 7.40196 18.5852 7.40196 18.4H6.40196ZM3.60196 15.6C5.14836 15.6 6.40196 16.8536 6.40196 18.4H7.40196C7.40196 16.3013 5.70065 14.6 3.60196 14.6V15.6ZM3.60202 16.4C2.49745 16.4 1.60202 17.2954 1.60202 18.4H2.60202C2.60202 17.8477 3.04973 17.4 3.60202 17.4V16.4ZM5.60202 18.4C5.60202 17.2954 4.70659 16.4 3.60202 16.4V17.4C4.1543 17.4 4.60202 17.8477 4.60202 18.4H5.60202ZM3.60202 20.4C4.70659 20.4 5.60202 19.5046 5.60202 18.4H4.60202C4.60202 18.9523 4.1543 19.4 3.60202 19.4V20.4ZM1.60202 18.4C1.60202 19.5046 2.49745 20.4 3.60202 20.4V19.4C3.04973 19.4 2.60202 18.9523 2.60202 18.4H1.60202Z' fill='black' fill-opacity='0.12' mask='url(%23path-1-outside-1_4085_178456)'/%3e%3c/g%3e%3c/g%3e%3cdefs%3e%3cfilter id='filter0_d_4085_178456' x='-3.40002' y='-1.39999' width='30.8' height='26.8019' filterUnits='userSpaceOnUse' color-interpolation-filters='sRGB'%3e%3cfeFlood flood-opacity='0' result='BackgroundImageFix'/%3e%3cfeColorMatrix in='SourceAlpha' type='matrix' values='0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0' result='hardAlpha'/%3e%3cfeOffset/%3e%3cfeGaussianBlur stdDeviation='2.5'/%3e%3cfeColorMatrix type='matrix' values='0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.16 0'/%3e%3cfeBlend mode='normal' in2='BackgroundImageFix' result='effect1_dropShadow_4085_178456'/%3e%3cfeBlend mode='normal' in='SourceGraphic' in2='effect1_dropShadow_4085_178456' result='shape'/%3e%3c/filter%3e%3cclipPath id='clip0_4085_178456'%3e%3crect width='24' height='24' fill='white'/%3e%3c/clipPath%3e%3c/defs%3e%3c/svg%3e",is="data:image/svg+xml,%3csvg width='24' height='24' viewBox='0 0 24 24' fill='none' xmlns='http://www.w3.org/2000/svg'%3e%3cg clip-path='url(%23clip0_4085_178456)'%3e%3cg filter='url(%23filter0_d_4085_178456)'%3e%3cmask id='path-1-outside-1_4085_178456' maskUnits='userSpaceOnUse' x='1.1001' y='3.10001' width='22' height='18' fill='black'%3e%3crect fill='%232688EB' x='1.1001' y='3.10001' width='22' height='18'/%3e%3cpath fill-rule='evenodd' clip-rule='evenodd' d='M16.2 5.90001C17.0549 5.90001 17.642 5.90071 18.0971 5.93789C18.5417 5.97422 18.7805 6.04082 18.9534 6.12889C19.3485 6.33023 19.6698 6.65149 19.8711 7.04663C19.9592 7.21947 20.0258 7.4583 20.0621 7.9029C20.0993 8.35801 20.1 8.94508 20.1 9.80001V14.2C20.1 15.0549 20.0993 15.642 20.0621 16.0971C20.0258 16.5417 19.9592 16.7805 19.8711 16.9534C19.6698 17.3485 19.3485 17.6698 18.9534 17.8711C18.7805 17.9592 18.5417 18.0258 18.0971 18.0621C17.642 18.0993 17.0549 18.1 16.2 18.1H15C14.5029 18.1 14.1 18.503 14.1 19C14.1 19.4971 14.5029 19.9 15 19.9H16.2377C17.0458 19.9 17.7066 19.9 18.2437 19.8561C18.7996 19.8107 19.3017 19.7138 19.7706 19.4749C20.5044 19.101 21.101 18.5044 21.4749 17.7706C21.7138 17.3017 21.8107 16.7996 21.8561 16.2437C21.9 15.7066 21.9 15.0458 21.9 14.2378V14.2377V9.7623V9.76221C21.9 8.9542 21.9 8.29338 21.8561 7.75632C21.8107 7.20041 21.7138 6.69833 21.4749 6.22944C21.101 5.49561 20.5044 4.89899 19.7706 4.52508C19.3017 4.28617 18.7996 4.18929 18.2437 4.14387C17.7066 4.09999 17.0458 4.1 16.2377 4.10001H16.2377H6.00005C6.00003 4.10001 6.00002 4.10001 6 4.10001C4.30053 4.10003 2.85715 5.18656 2.3222 6.70008C2.15656 7.16873 2.40219 7.68292 2.87083 7.84856C3.33948 8.0142 3.85367 7.76857 4.01931 7.29993C4.30802 6.48309 5.08707 5.90003 6 5.90001H16.2ZM3.0689 11.5203C3.24466 11.5069 3.42242 11.5 3.60196 11.5C7.41272 11.5 10.502 14.5892 10.502 18.4C10.502 18.5795 10.4951 18.7572 10.4817 18.933C10.4439 19.4286 10.8151 19.861 11.3107 19.8988C11.8063 19.9366 12.2387 19.5655 12.2765 19.0698C12.2934 18.8486 12.302 18.6252 12.302 18.4C12.302 13.5951 8.40683 9.70001 3.60196 9.70001C3.3767 9.70001 3.15328 9.70859 2.93202 9.72547C2.4364 9.76326 2.06527 10.1957 2.10306 10.6913C2.14086 11.1869 2.57328 11.5581 3.0689 11.5203ZM3.60196 15.1C3.44054 15.1 3.28234 15.1115 3.12803 15.1336C2.63601 15.2042 2.17992 14.8626 2.10933 14.3706C2.03875 13.8786 2.38038 13.4225 2.8724 13.3519C3.11112 13.3176 3.35475 13.3 3.60196 13.3C6.41862 13.3 8.70196 15.5833 8.70196 18.4C8.70196 18.6472 8.68431 18.8908 8.65006 19.1295C8.57948 19.6215 8.1234 19.9632 7.63138 19.8926C7.13936 19.822 6.79772 19.3659 6.86831 18.8739C6.89044 18.7196 6.90196 18.5614 6.90196 18.4C6.90196 16.5774 5.4245 15.1 3.60196 15.1ZM2.10202 18.4C2.10202 17.5716 2.77359 16.9 3.60202 16.9C4.43045 16.9 5.10202 17.5716 5.10202 18.4C5.10202 19.2284 4.43045 19.9 3.60202 19.9C2.77359 19.9 2.10202 19.2284 2.10202 18.4Z'/%3e%3c/mask%3e%3cpath fill-rule='evenodd' clip-rule='evenodd' d='M16.2 5.90001C17.0549 5.90001 17.642 5.90071 18.0971 5.93789C18.5417 5.97422 18.7805 6.04082 18.9534 6.12889C19.3485 6.33023 19.6698 6.65149 19.8711 7.04663C19.9592 7.21947 20.0258 7.4583 20.0621 7.9029C20.0993 8.35801 20.1 8.94508 20.1 9.80001V14.2C20.1 15.0549 20.0993 15.642 20.0621 16.0971C20.0258 16.5417 19.9592 16.7805 19.8711 16.9534C19.6698 17.3485 19.3485 17.6698 18.9534 17.8711C18.7805 17.9592 18.5417 18.0258 18.0971 18.0621C17.642 18.0993 17.0549 18.1 16.2 18.1H15C14.5029 18.1 14.1 18.503 14.1 19C14.1 19.4971 14.5029 19.9 15 19.9H16.2377C17.0458 19.9 17.7066 19.9 18.2437 19.8561C18.7996 19.8107 19.3017 19.7138 19.7706 19.4749C20.5044 19.101 21.101 18.5044 21.4749 17.7706C21.7138 17.3017 21.8107 16.7996 21.8561 16.2437C21.9 15.7066 21.9 15.0458 21.9 14.2378V14.2377V9.7623V9.76221C21.9 8.9542 21.9 8.29338 21.8561 7.75632C21.8107 7.20041 21.7138 6.69833 21.4749 6.22944C21.101 5.49561 20.5044 4.89899 19.7706 4.52508C19.3017 4.28617 18.7996 4.18929 18.2437 4.14387C17.7066 4.09999 17.0458 4.1 16.2377 4.10001H16.2377H6.00005C6.00003 4.10001 6.00002 4.10001 6 4.10001C4.30053 4.10003 2.85715 5.18656 2.3222 6.70008C2.15656 7.16873 2.40219 7.68292 2.87083 7.84856C3.33948 8.0142 3.85367 7.76857 4.01931 7.29993C4.30802 6.48309 5.08707 5.90003 6 5.90001H16.2ZM3.0689 11.5203C3.24466 11.5069 3.42242 11.5 3.60196 11.5C7.41272 11.5 10.502 14.5892 10.502 18.4C10.502 18.5795 10.4951 18.7572 10.4817 18.933C10.4439 19.4286 10.8151 19.861 11.3107 19.8988C11.8063 19.9366 12.2387 19.5655 12.2765 19.0698C12.2934 18.8486 12.302 18.6252 12.302 18.4C12.302 13.5951 8.40683 9.70001 3.60196 9.70001C3.3767 9.70001 3.15328 9.70859 2.93202 9.72547C2.4364 9.76326 2.06527 10.1957 2.10306 10.6913C2.14086 11.1869 2.57328 11.5581 3.0689 11.5203ZM3.60196 15.1C3.44054 15.1 3.28234 15.1115 3.12803 15.1336C2.63601 15.2042 2.17992 14.8626 2.10933 14.3706C2.03875 13.8786 2.38038 13.4225 2.8724 13.3519C3.11112 13.3176 3.35475 13.3 3.60196 13.3C6.41862 13.3 8.70196 15.5833 8.70196 18.4C8.70196 18.6472 8.68431 18.8908 8.65006 19.1295C8.57948 19.6215 8.1234 19.9632 7.63138 19.8926C7.13936 19.822 6.79772 19.3659 6.86831 18.8739C6.89044 18.7196 6.90196 18.5614 6.90196 18.4C6.90196 16.5774 5.4245 15.1 3.60196 15.1ZM2.10202 18.4C2.10202 17.5716 2.77359 16.9 3.60202 16.9C4.43045 16.9 5.10202 17.5716 5.10202 18.4C5.10202 19.2284 4.43045 19.9 3.60202 19.9C2.77359 19.9 2.10202 19.2284 2.10202 18.4Z' fill='%232688EB'/%3e%3cpath d='M18.0971 5.93789L18.0564 6.43623L18.0971 5.93789ZM18.9534 6.12889L18.7264 6.5744V6.5744L18.9534 6.12889ZM19.8711 7.04663L19.4256 7.27362V7.27362L19.8711 7.04663ZM20.0621 7.9029L19.5638 7.94362V7.94362L20.0621 7.9029ZM20.0621 16.0971L19.5638 16.0564V16.0564L20.0621 16.0971ZM19.8711 16.9534L19.4256 16.7264V16.7264L19.8711 16.9534ZM18.9534 17.8711L18.7264 17.4256V17.4256L18.9534 17.8711ZM18.0971 18.0621L18.1378 18.5605H18.1378L18.0971 18.0621ZM16.2377 19.9L16.2377 19.4H16.2377V19.9ZM18.2437 19.8561L18.2844 20.3545L18.2437 19.8561ZM19.7706 19.4749L19.5436 19.0294V19.0294L19.7706 19.4749ZM21.4749 17.7706L21.9204 17.9976V17.9976L21.4749 17.7706ZM21.8561 16.2437L22.3545 16.2844L21.8561 16.2437ZM21.9 14.2378H21.4V14.2378L21.9 14.2378ZM21.9 9.76221L21.4 9.7622V9.76221H21.9ZM21.8561 7.75632L22.3545 7.71561V7.71561L21.8561 7.75632ZM21.4749 6.22944L21.9204 6.00245V6.00245L21.4749 6.22944ZM19.7706 4.52508L19.5436 4.97058V4.97059L19.7706 4.52508ZM18.2437 4.14387L18.2844 3.64553L18.2437 4.14387ZM16.2377 4.10001V4.60001H16.2377L16.2377 4.10001ZM6 4.10001V3.60001H5.99999L6 4.10001ZM2.3222 6.70008L1.85078 6.53346H1.85078L2.3222 6.70008ZM4.01931 7.29993L3.54789 7.1333V7.13331L4.01931 7.29993ZM6 5.90001V5.40001H5.99999L6 5.90001ZM3.0689 11.5203L3.03087 11.0217H3.03087L3.0689 11.5203ZM10.4817 18.933L10.9803 18.971L10.4817 18.933ZM12.2765 19.0698L12.7751 19.1079L12.2765 19.0698ZM2.93202 9.72547L2.894 9.22691H2.894L2.93202 9.72547ZM2.10306 10.6913L2.60162 10.6533L2.10306 10.6913ZM3.12803 15.1336L3.05702 14.6387H3.05702L3.12803 15.1336ZM2.10933 14.3706L2.60427 14.2996L2.10933 14.3706ZM2.8724 13.3519L2.94341 13.8468H2.94341L2.8724 13.3519ZM8.65006 19.1295L9.145 19.2005V19.2005L8.65006 19.1295ZM7.63138 19.8926L7.56037 20.3875L7.56037 20.3875L7.63138 19.8926ZM6.86831 18.8739L7.36324 18.9449L7.36324 18.9449L6.86831 18.8739ZM18.1378 5.43955C17.6576 5.40031 17.0465 5.40001 16.2 5.40001V6.40001C17.0634 6.40001 17.6264 6.4011 18.0564 6.43623L18.1378 5.43955ZM19.1804 5.68339C18.9252 5.55336 18.6131 5.47839 18.1378 5.43955L18.0564 6.43623C18.4703 6.47005 18.6359 6.52829 18.7264 6.5744L19.1804 5.68339ZM20.3166 6.81963C20.0673 6.33041 19.6696 5.93266 19.1804 5.68339L18.7264 6.5744C19.0274 6.72779 19.2722 6.97256 19.4256 7.27362L20.3166 6.81963ZM20.5605 7.86219C20.5216 7.38687 20.4466 7.07483 20.3166 6.81963L19.4256 7.27362C19.4717 7.36412 19.53 7.52974 19.5638 7.94362L20.5605 7.86219ZM20.6 9.80001C20.6 8.95353 20.5997 8.34242 20.5605 7.86218L19.5638 7.94362C19.5989 8.37359 19.6 8.93662 19.6 9.80001H20.6ZM20.6 14.2V9.80001H19.6V14.2H20.6ZM20.5605 16.1378C20.5997 15.6576 20.6 15.0465 20.6 14.2H19.6C19.6 15.0634 19.5989 15.6264 19.5638 16.0564L20.5605 16.1378ZM20.3166 17.1804C20.4466 16.9252 20.5216 16.6131 20.5605 16.1378L19.5638 16.0564C19.53 16.4703 19.4717 16.6359 19.4256 16.7264L20.3166 17.1804ZM19.1804 18.3166C19.6696 18.0674 20.0673 17.6696 20.3166 17.1804L19.4256 16.7264C19.2722 17.0275 19.0274 17.2722 18.7264 17.4256L19.1804 18.3166ZM18.1378 18.5605C18.6131 18.5216 18.9252 18.4467 19.1804 18.3166L18.7264 17.4256C18.6359 17.4717 18.4703 17.53 18.0564 17.5638L18.1378 18.5605ZM16.2 18.6C17.0465 18.6 17.6576 18.5997 18.1378 18.5605L18.0564 17.5638C17.6264 17.5989 17.0634 17.6 16.2 17.6V18.6ZM15 18.6H16.2V17.6H15V18.6ZM14.6 19C14.6 18.7791 14.7791 18.6 15 18.6V17.6C14.2268 17.6 13.6 18.2268 13.6 19H14.6ZM15 19.4C14.7791 19.4 14.6 19.2209 14.6 19H13.6C13.6 19.7732 14.2268 20.4 15 20.4V19.4ZM16.2377 19.4H15V20.4H16.2377V19.4ZM18.203 19.3578C17.6908 19.3997 17.0532 19.4 16.2377 19.4L16.2377 20.4C17.0383 20.4 17.7224 20.4004 18.2844 20.3545L18.203 19.3578ZM19.5436 19.0294C19.1569 19.2265 18.7278 19.3149 18.203 19.3578L18.2844 20.3545C18.8713 20.3065 19.4465 20.2012 19.9976 19.9204L19.5436 19.0294ZM21.0294 17.5436C20.7035 18.1833 20.1833 18.7035 19.5436 19.0294L19.9976 19.9204C20.8255 19.4986 21.4986 18.8255 21.9204 17.9976L21.0294 17.5436ZM21.3578 16.203C21.3149 16.7279 21.2265 17.1569 21.0294 17.5436L21.9204 17.9976C22.2012 17.4465 22.3065 16.8713 22.3545 16.2844L21.3578 16.203ZM21.4 14.2378C21.4 15.0533 21.3996 15.6908 21.3578 16.203L22.3545 16.2844C22.4004 15.7225 22.4 15.0383 22.4 14.2378L21.4 14.2378ZM21.4 14.2377V14.2378H22.4V14.2377H21.4ZM21.4 9.7623V14.2377H22.4V9.7623H21.4ZM21.4 9.76221V9.7623H22.4V9.76221H21.4ZM21.3578 7.79704C21.3996 8.3092 21.4 8.94673 21.4 9.7622L22.4 9.76221C22.4 8.96167 22.4004 8.27756 22.3545 7.71561L21.3578 7.79704ZM21.0294 6.45644C21.2265 6.84316 21.3149 7.27216 21.3578 7.79704L22.3545 7.71561C22.3065 7.12867 22.2012 6.55351 21.9204 6.00245L21.0294 6.45644ZM19.5436 4.97059C20.1833 5.29655 20.7035 5.81669 21.0294 6.45644L21.9204 6.00245C21.4986 5.17454 20.8255 4.50142 19.9976 4.07958L19.5436 4.97059ZM18.203 4.64221C18.7278 4.68509 19.1569 4.77354 19.5436 4.97058L19.9976 4.07958C19.4465 3.7988 18.8713 3.69348 18.2844 3.64553L18.203 4.64221ZM16.2377 4.60001C17.0532 4.6 17.6908 4.60036 18.203 4.64221L18.2844 3.64553C17.7224 3.59961 17.0383 3.6 16.2377 3.60001L16.2377 4.60001ZM16.2377 4.60001H16.2377V3.60001H16.2377V4.60001ZM6.00005 4.60001H16.2377V3.60001H6.00005V4.60001ZM6.00005 3.60001H6.00005C6.00005 3.60001 6.00005 3.60001 6.00005 3.60001C6.00005 3.60001 6.00005 3.60001 6.00005 3.60001C6.00005 3.60001 6.00005 3.60001 6.00005 3.60001C6.00005 3.60001 6.00005 3.60001 6.00005 3.60001H6.00005C6.00005 3.60001 6.00005 3.60001 6.00005 3.60001H6.00005C6.00005 3.60001 6.00005 3.60001 6.00005 3.60001C6.00005 3.60001 6.00005 3.60001 6.00004 3.60001H6.00004C6.00004 3.60001 6.00004 3.60001 6.00004 3.60001H6.00004C6.00004 3.60001 6.00004 3.60001 6.00004 3.60001C6.00004 3.60001 6.00004 3.60001 6.00004 3.60001C6.00004 3.60001 6.00004 3.60001 6.00004 3.60001C6.00004 3.60001 6.00004 3.60001 6.00004 3.60001H6.00004C6.00004 3.60001 6.00004 3.60001 6.00004 3.60001H6.00004C6.00004 3.60001 6.00004 3.60001 6.00004 3.60001C6.00004 3.60001 6.00004 3.60001 6.00004 3.60001H6.00004C6.00004 3.60001 6.00004 3.60001 6.00004 3.60001H6.00004C6.00004 3.60001 6.00004 3.60001 6.00004 3.60001C6.00004 3.60001 6.00004 3.60001 6.00004 3.60001C6.00004 3.60001 6.00004 3.60001 6.00004 3.60001C6.00004 3.60001 6.00004 3.60001 6.00004 3.60001H6.00004C6.00004 3.60001 6.00004 3.60001 6.00004 3.60001C6.00004 3.60001 6.00004 3.60001 6.00004 3.60001C6.00004 3.60001 6.00004 3.60001 6.00004 3.60001C6.00004 3.60001 6.00004 3.60001 6.00004 3.60001H6.00004C6.00004 3.60001 6.00004 3.60001 6.00004 3.60001H6.00004C6.00004 3.60001 6.00004 3.60001 6.00004 3.60001C6.00004 3.60001 6.00004 3.60001 6.00004 3.60001H6.00004C6.00004 3.60001 6.00004 3.60001 6.00004 3.60001H6.00004C6.00004 3.60001 6.00004 3.60001 6.00004 3.60001C6.00004 3.60001 6.00004 3.60001 6.00004 3.60001C6.00004 3.60001 6.00004 3.60001 6.00004 3.60001C6.00004 3.60001 6.00004 3.60001 6.00004 3.60001H6.00004C6.00004 3.60001 6.00004 3.60001 6.00004 3.60001H6.00004C6.00004 3.60001 6.00004 3.60001 6.00004 3.60001C6.00004 3.60001 6.00004 3.60001 6.00004 3.60001H6.00003C6.00003 3.60001 6.00003 3.60001 6.00003 3.60001H6.00003C6.00003 3.60001 6.00003 3.60001 6.00003 3.60001C6.00003 3.60001 6.00003 3.60001 6.00003 3.60001C6.00003 3.60001 6.00003 3.60001 6.00003 3.60001C6.00003 3.60001 6.00003 3.60001 6.00003 3.60001H6.00003C6.00003 3.60001 6.00003 3.60001 6.00003 3.60001H6.00003C6.00003 3.60001 6.00003 3.60001 6.00003 3.60001C6.00003 3.60001 6.00003 3.60001 6.00003 3.60001H6.00003C6.00003 3.60001 6.00003 3.60001 6.00003 3.60001H6.00003C6.00003 3.60001 6.00003 3.60001 6.00003 3.60001C6.00003 3.60001 6.00003 3.60001 6.00003 3.60001H6.00003C6.00003 3.60001 6.00003 3.60001 6.00003 3.60001H6.00003C6.00003 3.60001 6.00003 3.60001 6.00003 3.60001C6.00003 3.60001 6.00003 3.60001 6.00003 3.60001C6.00003 3.60001 6.00003 3.60001 6.00003 3.60001C6.00003 3.60001 6.00003 3.60001 6.00003 3.60001H6.00003C6.00003 3.60001 6.00003 3.60001 6.00003 3.60001H6.00003C6.00003 3.60001 6.00003 3.60001 6.00003 3.60001C6.00003 3.60001 6.00003 3.60001 6.00003 3.60001H6.00003C6.00003 3.60001 6.00003 3.60001 6.00003 3.60001H6.00003C6.00003 3.60001 6.00003 3.60001 6.00003 3.60001C6.00003 3.60001 6.00003 3.60001 6.00003 3.60001C6.00003 3.60001 6.00003 3.60001 6.00003 3.60001C6.00003 3.60001 6.00003 3.60001 6.00003 3.60001H6.00003C6.00003 3.60001 6.00003 3.60001 6.00003 3.60001H6.00003C6.00003 3.60001 6.00003 3.60001 6.00003 3.60001C6.00003 3.60001 6.00003 3.60001 6.00003 3.60001H6.00003C6.00003 3.60001 6.00003 3.60001 6.00002 3.60001H6.00002C6.00002 3.60001 6.00002 3.60001 6.00002 3.60001C6.00002 3.60001 6.00002 3.60001 6.00002 3.60001H6.00002C6.00002 3.60001 6.00002 3.60001 6.00002 3.60001H6.00002C6.00002 3.60001 6.00002 3.60001 6.00002 3.60001C6.00002 3.60001 6.00002 3.60001 6.00002 3.60001C6.00002 3.60001 6.00002 3.60001 6.00002 3.60001C6.00002 3.60001 6.00002 3.60001 6.00002 3.60001H6.00002C6.00002 3.60001 6.00002 3.60001 6.00002 3.60001H6.00002C6.00002 3.60001 6.00002 3.60001 6.00002 3.60001C6.00002 3.60001 6.00002 3.60001 6.00002 3.60001H6.00002C6.00002 3.60001 6.00002 3.60001 6.00002 3.60001H6.00002C6.00002 3.60001 6.00002 3.60001 6.00002 3.60001C6.00002 3.60001 6.00002 3.60001 6.00002 3.60001C6.00002 3.60001 6.00002 3.60001 6.00002 3.60001C6.00002 3.60001 6.00002 3.60001 6.00002 3.60001H6.00002C6.00002 3.60001 6.00002 3.60001 6.00002 3.60001H6.00002C6.00002 3.60001 6.00002 3.60001 6.00002 3.60001C6.00002 3.60001 6.00002 3.60001 6.00002 3.60001H6.00002C6.00002 3.60001 6.00002 3.60001 6.00002 3.60001H6.00002C6.00002 3.60001 6.00002 3.60001 6.00002 3.60001C6.00002 3.60001 6.00002 3.60001 6.00002 3.60001C6.00002 3.60001 6.00002 3.60001 6.00002 3.60001C6.00002 3.60001 6.00002 3.60001 6.00002 3.60001H6.00002C6.00002 3.60001 6.00002 3.60001 6.00002 3.60001C6.00002 3.60001 6.00002 3.60001 6.00002 3.60001C6.00002 3.60001 6.00002 3.60001 6.00002 3.60001C6.00002 3.60001 6.00002 3.60001 6.00002 3.60001H6.00002C6.00002 3.60001 6.00002 3.60001 6.00002 3.60001H6.00001C6.00001 3.60001 6.00001 3.60001 6.00001 3.60001C6.00001 3.60001 6.00001 3.60001 6.00001 3.60001H6.00001C6.00001 3.60001 6.00001 3.60001 6.00001 3.60001H6.00001C6.00001 3.60001 6.00001 3.60001 6.00001 3.60001C6.00001 3.60001 6.00001 3.60001 6.00001 3.60001C6.00001 3.60001 6.00001 3.60001 6.00001 3.60001C6.00001 3.60001 6.00001 3.60001 6.00001 3.60001H6.00001C6.00001 3.60001 6.00001 3.60001 6.00001 3.60001H6.00001C6.00001 3.60001 6.00001 3.60001 6.00001 3.60001C6.00001 3.60001 6.00001 3.60001 6.00001 3.60001H6.00001C6.00001 3.60001 6.00001 3.60001 6.00001 3.60001H6.00001C6.00001 3.60001 6.00001 3.60001 6.00001 3.60001C6.00001 3.60001 6.00001 3.60001 6.00001 3.60001C6.00001 3.60001 6.00001 3.60001 6.00001 3.60001C6.00001 3.60001 6.00001 3.60001 6.00001 3.60001H6.00001C6.00001 3.60001 6.00001 3.60001 6.00001 3.60001H6.00001C6.00001 3.60001 6.00001 3.60001 6.00001 3.60001C6.00001 3.60001 6.00001 3.60001 6.00001 3.60001H6.00001C6.00001 3.60001 6.00001 3.60001 6.00001 3.60001H6.00001C6.00001 3.60001 6.00001 3.60001 6.00001 3.60001C6.00001 3.60001 6.00001 3.60001 6.00001 3.60001H6.00001C6.00001 3.60001 6.00001 3.60001 6.00001 3.60001H6.00001C6.00001 3.60001 6.00001 3.60001 6.00001 3.60001C6.00001 3.60001 6.00001 3.60001 6.00001 3.60001C6.00001 3.60001 6.00001 3.60001 6.00001 3.60001C6.00001 3.60001 6.00001 3.60001 6.00001 3.60001H6.00001C6.00001 3.60001 6.00001 3.60001 6.00001 3.60001H6.00001C6 3.60001 6 3.60001 6 3.60001C6 3.60001 6 3.60001 6 3.60001H6C6 3.60001 6 3.60001 6 3.60001H6C6 3.60001 6 3.60001 6 3.60001C6 3.60001 6 3.60001 6 3.60001C6 3.60001 6 3.60001 6 3.60001C6 3.60001 6 3.60001 6 3.60001H6C6 3.60001 6 3.60001 6 3.60001H6C6 3.60001 6 3.60001 6 3.60001C6 3.60001 6 3.60001 6 3.60001H6C6 3.60001 6 3.60001 6 3.60001H6C6 3.60001 6 3.60001 6 3.60001C6 3.60001 6 3.60001 6 3.60001H6C6 3.60001 6 3.60001 6 3.60001V4.60001C6 4.60001 6 4.60001 6 4.60001H6C6 4.60001 6 4.60001 6 4.60001C6 4.60001 6 4.60001 6 4.60001H6C6 4.60001 6 4.60001 6 4.60001H6C6 4.60001 6 4.60001 6 4.60001C6 4.60001 6 4.60001 6 4.60001H6C6 4.60001 6 4.60001 6 4.60001H6C6 4.60001 6 4.60001 6 4.60001C6 4.60001 6 4.60001 6 4.60001C6 4.60001 6 4.60001 6 4.60001C6 4.60001 6 4.60001 6 4.60001H6C6 4.60001 6 4.60001 6 4.60001H6C6 4.60001 6 4.60001 6 4.60001C6 4.60001 6 4.60001 6.00001 4.60001H6.00001C6.00001 4.60001 6.00001 4.60001 6.00001 4.60001H6.00001C6.00001 4.60001 6.00001 4.60001 6.00001 4.60001C6.00001 4.60001 6.00001 4.60001 6.00001 4.60001C6.00001 4.60001 6.00001 4.60001 6.00001 4.60001C6.00001 4.60001 6.00001 4.60001 6.00001 4.60001H6.00001C6.00001 4.60001 6.00001 4.60001 6.00001 4.60001H6.00001C6.00001 4.60001 6.00001 4.60001 6.00001 4.60001C6.00001 4.60001 6.00001 4.60001 6.00001 4.60001H6.00001C6.00001 4.60001 6.00001 4.60001 6.00001 4.60001H6.00001C6.00001 4.60001 6.00001 4.60001 6.00001 4.60001C6.00001 4.60001 6.00001 4.60001 6.00001 4.60001H6.00001C6.00001 4.60001 6.00001 4.60001 6.00001 4.60001H6.00001C6.00001 4.60001 6.00001 4.60001 6.00001 4.60001C6.00001 4.60001 6.00001 4.60001 6.00001 4.60001C6.00001 4.60001 6.00001 4.60001 6.00001 4.60001C6.00001 4.60001 6.00001 4.60001 6.00001 4.60001H6.00001C6.00001 4.60001 6.00001 4.60001 6.00001 4.60001H6.00001C6.00001 4.60001 6.00001 4.60001 6.00001 4.60001C6.00001 4.60001 6.00001 4.60001 6.00001 4.60001H6.00001C6.00001 4.60001 6.00001 4.60001 6.00001 4.60001H6.00001C6.00001 4.60001 6.00001 4.60001 6.00001 4.60001C6.00001 4.60001 6.00001 4.60001 6.00001 4.60001C6.00001 4.60001 6.00001 4.60001 6.00001 4.60001C6.00001 4.60001 6.00001 4.60001 6.00001 4.60001H6.00001C6.00001 4.60001 6.00001 4.60001 6.00001 4.60001H6.00001C6.00001 4.60001 6.00001 4.60001 6.00001 4.60001C6.00001 4.60001 6.00001 4.60001 6.00001 4.60001H6.00002C6.00002 4.60001 6.00002 4.60001 6.00002 4.60001H6.00002C6.00002 4.60001 6.00002 4.60001 6.00002 4.60001C6.00002 4.60001 6.00002 4.60001 6.00002 4.60001C6.00002 4.60001 6.00002 4.60001 6.00002 4.60001C6.00002 4.60001 6.00002 4.60001 6.00002 4.60001H6.00002C6.00002 4.60001 6.00002 4.60001 6.00002 4.60001C6.00002 4.60001 6.00002 4.60001 6.00002 4.60001C6.00002 4.60001 6.00002 4.60001 6.00002 4.60001C6.00002 4.60001 6.00002 4.60001 6.00002 4.60001H6.00002C6.00002 4.60001 6.00002 4.60001 6.00002 4.60001H6.00002C6.00002 4.60001 6.00002 4.60001 6.00002 4.60001C6.00002 4.60001 6.00002 4.60001 6.00002 4.60001H6.00002C6.00002 4.60001 6.00002 4.60001 6.00002 4.60001H6.00002C6.00002 4.60001 6.00002 4.60001 6.00002 4.60001C6.00002 4.60001 6.00002 4.60001 6.00002 4.60001C6.00002 4.60001 6.00002 4.60001 6.00002 4.60001C6.00002 4.60001 6.00002 4.60001 6.00002 4.60001H6.00002C6.00002 4.60001 6.00002 4.60001 6.00002 4.60001H6.00002C6.00002 4.60001 6.00002 4.60001 6.00002 4.60001C6.00002 4.60001 6.00002 4.60001 6.00002 4.60001H6.00002C6.00002 4.60001 6.00002 4.60001 6.00002 4.60001H6.00002C6.00002 4.60001 6.00002 4.60001 6.00002 4.60001C6.00002 4.60001 6.00002 4.60001 6.00002 4.60001C6.00002 4.60001 6.00002 4.60001 6.00002 4.60001C6.00002 4.60001 6.00002 4.60001 6.00002 4.60001H6.00002C6.00002 4.60001 6.00002 4.60001 6.00002 4.60001H6.00002C6.00002 4.60001 6.00002 4.60001 6.00002 4.60001C6.00002 4.60001 6.00002 4.60001 6.00002 4.60001H6.00002C6.00003 4.60001 6.00003 4.60001 6.00003 4.60001H6.00003C6.00003 4.60001 6.00003 4.60001 6.00003 4.60001C6.00003 4.60001 6.00003 4.60001 6.00003 4.60001H6.00003C6.00003 4.60001 6.00003 4.60001 6.00003 4.60001H6.00003C6.00003 4.60001 6.00003 4.60001 6.00003 4.60001C6.00003 4.60001 6.00003 4.60001 6.00003 4.60001C6.00003 4.60001 6.00003 4.60001 6.00003 4.60001C6.00003 4.60001 6.00003 4.60001 6.00003 4.60001H6.00003C6.00003 4.60001 6.00003 4.60001 6.00003 4.60001H6.00003C6.00003 4.60001 6.00003 4.60001 6.00003 4.60001C6.00003 4.60001 6.00003 4.60001 6.00003 4.60001H6.00003C6.00003 4.60001 6.00003 4.60001 6.00003 4.60001H6.00003C6.00003 4.60001 6.00003 4.60001 6.00003 4.60001C6.00003 4.60001 6.00003 4.60001 6.00003 4.60001C6.00003 4.60001 6.00003 4.60001 6.00003 4.60001C6.00003 4.60001 6.00003 4.60001 6.00003 4.60001H6.00003C6.00003 4.60001 6.00003 4.60001 6.00003 4.60001H6.00003C6.00003 4.60001 6.00003 4.60001 6.00003 4.60001C6.00003 4.60001 6.00003 4.60001 6.00003 4.60001H6.00003C6.00003 4.60001 6.00003 4.60001 6.00003 4.60001H6.00003C6.00003 4.60001 6.00003 4.60001 6.00003 4.60001C6.00003 4.60001 6.00003 4.60001 6.00003 4.60001H6.00003C6.00003 4.60001 6.00003 4.60001 6.00003 4.60001H6.00003C6.00003 4.60001 6.00003 4.60001 6.00003 4.60001C6.00003 4.60001 6.00003 4.60001 6.00003 4.60001C6.00003 4.60001 6.00003 4.60001 6.00003 4.60001C6.00003 4.60001 6.00003 4.60001 6.00003 4.60001H6.00003C6.00003 4.60001 6.00003 4.60001 6.00003 4.60001H6.00004C6.00004 4.60001 6.00004 4.60001 6.00004 4.60001C6.00004 4.60001 6.00004 4.60001 6.00004 4.60001H6.00004C6.00004 4.60001 6.00004 4.60001 6.00004 4.60001H6.00004C6.00004 4.60001 6.00004 4.60001 6.00004 4.60001C6.00004 4.60001 6.00004 4.60001 6.00004 4.60001C6.00004 4.60001 6.00004 4.60001 6.00004 4.60001C6.00004 4.60001 6.00004 4.60001 6.00004 4.60001H6.00004C6.00004 4.60001 6.00004 4.60001 6.00004 4.60001H6.00004C6.00004 4.60001 6.00004 4.60001 6.00004 4.60001C6.00004 4.60001 6.00004 4.60001 6.00004 4.60001H6.00004C6.00004 4.60001 6.00004 4.60001 6.00004 4.60001H6.00004C6.00004 4.60001 6.00004 4.60001 6.00004 4.60001C6.00004 4.60001 6.00004 4.60001 6.00004 4.60001C6.00004 4.60001 6.00004 4.60001 6.00004 4.60001C6.00004 4.60001 6.00004 4.60001 6.00004 4.60001H6.00004C6.00004 4.60001 6.00004 4.60001 6.00004 4.60001C6.00004 4.60001 6.00004 4.60001 6.00004 4.60001C6.00004 4.60001 6.00004 4.60001 6.00004 4.60001C6.00004 4.60001 6.00004 4.60001 6.00004 4.60001H6.00004C6.00004 4.60001 6.00004 4.60001 6.00004 4.60001H6.00004C6.00004 4.60001 6.00004 4.60001 6.00004 4.60001C6.00004 4.60001 6.00004 4.60001 6.00004 4.60001H6.00004C6.00004 4.60001 6.00004 4.60001 6.00004 4.60001H6.00004C6.00004 4.60001 6.00004 4.60001 6.00004 4.60001C6.00004 4.60001 6.00004 4.60001 6.00004 4.60001C6.00004 4.60001 6.00004 4.60001 6.00004 4.60001C6.00004 4.60001 6.00004 4.60001 6.00004 4.60001H6.00004C6.00004 4.60001 6.00004 4.60001 6.00004 4.60001H6.00004C6.00005 4.60001 6.00005 4.60001 6.00005 4.60001C6.00005 4.60001 6.00005 4.60001 6.00005 4.60001H6.00005C6.00005 4.60001 6.00005 4.60001 6.00005 4.60001H6.00005C6.00005 4.60001 6.00005 4.60001 6.00005 4.60001C6.00005 4.60001 6.00005 4.60001 6.00005 4.60001C6.00005 4.60001 6.00005 4.60001 6.00005 4.60001C6.00005 4.60001 6.00005 4.60001 6.00005 4.60001H6.00005V3.60001ZM5.99999 3.60001C4.08179 3.60003 2.45405 4.82666 1.85078 6.53346L2.79362 6.86671C3.26026 5.54647 4.51927 4.60002 6.00001 4.60001L5.99999 3.60001ZM1.85078 6.53346C1.59311 7.26246 1.97521 8.06232 2.70421 8.31998L3.03745 7.37714C2.82917 7.30352 2.72 7.07499 2.79362 6.86671L1.85078 6.53346ZM2.70421 8.31998C3.43321 8.57765 4.23306 8.19555 4.49073 7.46655L3.54789 7.13331C3.47427 7.34159 3.24574 7.45076 3.03745 7.37714L2.70421 8.31998ZM4.49073 7.46655C4.71088 6.84369 5.3051 6.40002 6.00001 6.40001L5.99999 5.40001C4.86905 5.40003 3.90516 6.1225 3.54789 7.1333L4.49073 7.46655ZM16.2 5.40001H6V6.40001H16.2V5.40001ZM3.60196 11C3.40972 11 3.21928 11.0073 3.03087 11.0217L3.10692 12.0188C3.27004 12.0064 3.43512 12 3.60196 12V11ZM11.002 18.4C11.002 14.3131 7.68886 11 3.60196 11V12C7.13658 12 10.002 14.8654 10.002 18.4H11.002ZM10.9803 18.971C10.9946 18.7826 11.002 18.5922 11.002 18.4H10.002C10.002 18.5668 9.9956 18.7319 9.98317 18.895L10.9803 18.971ZM11.3487 19.4003C11.1284 19.3835 10.9635 19.1913 10.9803 18.971L9.98317 18.895C9.92438 19.6659 10.5017 20.3386 11.2727 20.3974L11.3487 19.4003ZM11.778 19.0318C11.7612 19.2521 11.569 19.417 11.3487 19.4003L11.2727 20.3974C12.0436 20.4561 12.7163 19.8788 12.7751 19.1079L11.778 19.0318ZM11.802 18.4C11.802 18.6125 11.7939 18.8232 11.778 19.0318L12.7751 19.1079C12.7929 18.874 12.802 18.6379 12.802 18.4H11.802ZM3.60196 10.2C8.13069 10.2 11.802 13.8713 11.802 18.4H12.802C12.802 13.319 8.68297 9.20001 3.60196 9.20001V10.2ZM2.97004 10.224C3.17866 10.2081 3.3894 10.2 3.60196 10.2V9.20001C3.364 9.20001 3.1279 9.20908 2.894 9.22691L2.97004 10.224ZM2.60162 10.6533C2.58482 10.433 2.74977 10.2408 2.97004 10.224L2.894 9.22691C2.12304 9.28571 1.54571 9.95836 1.60451 10.7293L2.60162 10.6533ZM3.03087 11.0217C2.8106 11.0385 2.61841 10.8736 2.60162 10.6533L1.60451 10.7293C1.66331 11.5003 2.33596 12.0776 3.10692 12.0188L3.03087 11.0217ZM3.19903 15.6286C3.3299 15.6098 3.46438 15.6 3.60196 15.6V14.6C3.41671 14.6 3.23478 14.6132 3.05702 14.6387L3.19903 15.6286ZM1.6144 14.4416C1.72421 15.207 2.43367 15.7384 3.19903 15.6286L3.05702 14.6387C2.83834 14.6701 2.63564 14.5183 2.60427 14.2996L1.6144 14.4416ZM2.80139 12.857C2.03603 12.9668 1.5046 13.6762 1.6144 14.4416L2.60427 14.2996C2.57289 14.0809 2.72473 13.8782 2.94341 13.8468L2.80139 12.857ZM3.60196 12.8C3.33091 12.8 3.06356 12.8193 2.80139 12.857L2.94341 13.8468C3.15868 13.8159 3.37858 13.8 3.60196 13.8V12.8ZM9.20196 18.4C9.20196 15.3072 6.69476 12.8 3.60196 12.8V13.8C6.14247 13.8 8.20196 15.8595 8.20196 18.4H9.20196ZM9.145 19.2005C9.1826 18.9384 9.20196 18.671 9.20196 18.4H8.20196C8.20196 18.6234 8.18601 18.8432 8.15513 19.0585L9.145 19.2005ZM7.56037 20.3875C8.32574 20.4973 9.0352 19.9659 9.145 19.2005L8.15513 19.0585C8.12376 19.2772 7.92106 19.429 7.70238 19.3977L7.56037 20.3875ZM6.37337 18.8029C6.26357 19.5683 6.79501 20.2777 7.56037 20.3875L7.70238 19.3977C7.48371 19.3663 7.33187 19.1636 7.36324 18.9449L6.37337 18.8029ZM6.40196 18.4C6.40196 18.5376 6.39215 18.672 6.37337 18.8029L7.36324 18.9449C7.38874 18.7671 7.40196 18.5852 7.40196 18.4H6.40196ZM3.60196 15.6C5.14836 15.6 6.40196 16.8536 6.40196 18.4H7.40196C7.40196 16.3013 5.70065 14.6 3.60196 14.6V15.6ZM3.60202 16.4C2.49745 16.4 1.60202 17.2954 1.60202 18.4H2.60202C2.60202 17.8477 3.04973 17.4 3.60202 17.4V16.4ZM5.60202 18.4C5.60202 17.2954 4.70659 16.4 3.60202 16.4V17.4C4.1543 17.4 4.60202 17.8477 4.60202 18.4H5.60202ZM3.60202 20.4C4.70659 20.4 5.60202 19.5046 5.60202 18.4H4.60202C4.60202 18.9523 4.1543 19.4 3.60202 19.4V20.4ZM1.60202 18.4C1.60202 19.5046 2.49745 20.4 3.60202 20.4V19.4C3.04973 19.4 2.60202 18.9523 2.60202 18.4H1.60202Z' fill='black' fill-opacity='0.12' mask='url(%23path-1-outside-1_4085_178456)'/%3e%3c/g%3e%3c/g%3e%3cdefs%3e%3cfilter id='filter0_d_4085_178456' x='-3.40002' y='-1.39999' width='30.8' height='26.8019' filterUnits='userSpaceOnUse' color-interpolation-filters='sRGB'%3e%3cfeFlood flood-opacity='0' result='BackgroundImageFix'/%3e%3cfeColorMatrix in='SourceAlpha' type='matrix' values='0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0' result='hardAlpha'/%3e%3cfeOffset/%3e%3cfeGaussianBlur stdDeviation='2.5'/%3e%3cfeColorMatrix type='matrix' values='0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.16 0'/%3e%3cfeBlend mode='normal' in2='BackgroundImageFix' result='effect1_dropShadow_4085_178456'/%3e%3cfeBlend mode='normal' in='SourceGraphic' in2='effect1_dropShadow_4085_178456' result='shape'/%3e%3c/filter%3e%3cclipPath id='clip0_4085_178456'%3e%3crect width='24' height='24' fill='white'/%3e%3c/clipPath%3e%3c/defs%3e%3c/svg%3e";function ns(t){_0(t,"v-1r19s3f",".icon.v-1r19s3f.v-1r19s3f{display:block;width:24px;height:24px}.chromecast_enabled.v-1r19s3f svg.v-1r19s3f{fill:blue}.chromecast_disabled.v-1r19s3f svg.v-1r19s3f{fill:white}.wave.v-1r19s3f.v-1r19s3f{animation-duration:1s;animation-iteration-count:infinite}.wave1.v-1r19s3f.v-1r19s3f{animation-name:v-1r19s3f-wave1}.wave2.v-1r19s3f.v-1r19s3f{animation-name:v-1r19s3f-wave2}.wave3.v-1r19s3f.v-1r19s3f{animation-name:v-1r19s3f-wave3}@keyframes v-1r19s3f-wave1{0%{opacity:0.3}33%{opacity:1}66%{opacity:1}100%{opacity:1}}@keyframes v-1r19s3f-wave2{0%{opacity:0.3}33%{opacity:0.3}66%{opacity:1}100%{opacity:1}}@keyframes v-1r19s3f-wave3{0%{opacity:0.3}33%{opacity:0.3}66%{opacity:0.3}100%{opacity:1}}")}function ls(t){let e;function i(o,r){if(o[2]===V0.ChromecastState.AVAILABLE)return as;if(o[2]===V0.ChromecastState.CONNECTED)return ss;if(o[2]===V0.ChromecastState.CONNECTING)return rs}let n=i(t),l=n&&n(t);return{c(){l&&l.c(),e=$0()},m(o,r){l&&l.m(o,r),T(o,e,r)},p(o,r){n!==(n=i(o))&&(l&&l.d(1),l=n&&n(o),l&&(l.c(),l.m(e.parentNode,e)))},d(o){l&&l.d(o),o&&E(e)}}}function os(t){let e;function i(o,r){return o[2]!==V0.ChromecastState.CONNECTED?us:cs}let n=i(t),l=n(t);return{c(){l.c(),e=$0()},m(o,r){l.m(o,r),T(o,e,r)},p(o,r){n===(n=i(o))&&l?l.p(o,r):(l.d(1),l=n(o),l&&(l.c(),l.m(e.parentNode,e)))},d(o){l.d(o),o&&E(e)}}}function rs(t){let e,i,n,l,o,r,s;return{c(){e=S0("svg"),i=S0("g"),n=S0("path"),l=S0("path"),o=S0("path"),r=S0("path"),s=S0("path"),u(n,"class","wave wave1 v-1r19s3f"),u(n,"d","M1 18v3h3c0-1.66-1.34-3-3-3z"),u(n,"opacity",".3"),u(n,"fill","#fff"),u(l,"class","wave wave2 v-1r19s3f"),u(l,"d","M1 14v2c2.76 0 5 2.24 5 5h2c0-3.87-3.13-7-7-7z"),u(l,"opacity",".3"),u(l,"fill","#fff"),u(o,"class","wave wave3 v-1r19s3f"),u(o,"d","M1 10v2a9 9 0 0 1 9 9h2c0-6.08-4.93-11-11-11z"),u(o,"opacity",".3"),u(o,"fill","#fff"),u(r,"d","M21 3H3c-1.1 0-2 .9-2 2v3h2V5h18v14h-7v2h7c1.1 0 2-.9 2-2V5c0-1.1-.9-2-2-2z"),u(r,"fill","#fff"),u(s,"d","M0 0h24v24H0z"),u(i,"fill","none"),u(i,"fill-rule","evenodd"),u(e,"class","icon v-1r19s3f"),u(e,"width","22"),u(e,"height","22"),u(e,"viewBox","0 0 24 24"),u(e,"xmlns","http://www.w3.org/2000/svg")},m(a,c){T(a,e,c),v(e,i),v(i,n),v(i,l),v(i,o),v(i,r),v(i,s)},d(a){a&&E(e)}}}function ss(t){let e,i,n,l;return{c(){e=S0("svg"),i=S0("g"),n=S0("path"),l=S0("path"),u(n,"d","M1 18v3h3c0-1.66-1.34-3-3-3zm0-4v2c2.76 0 5 2.24 5 5h2c0-3.87-3.13-7-7-7zm18-7H5v1.63c3.96 1.28 7.09 4.41 8.37 8.37H19V7zM1 10v2a9 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"),u(n,"fill","#fff"),u(l,"d","M0 0h24v24H0z"),u(i,"fill","none"),u(i,"fill-rule","evenodd"),u(e,"class","icon v-1r19s3f"),u(e,"width","22"),u(e,"height","22"),u(e,"viewBox","0 0 24 24"),u(e,"xmlns","http://www.w3.org/2000/svg")},m(o,r){T(o,e,r),v(e,i),v(i,n),v(i,l)},d(o){o&&E(e)}}}function as(t){let e,i,n,l;return{c(){e=S0("svg"),i=S0("g"),n=S0("path"),l=S0("path"),u(n,"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"),u(n,"fill","#fff"),u(l,"d","M0 0h24v24H0z"),u(i,"fill","none"),u(i,"fill-rule","evenodd"),u(e,"class","icon v-1r19s3f"),u(e,"width","22"),u(e,"height","22"),u(e,"viewBox","0 0 24 24"),u(e,"xmlns","http://www.w3.org/2000/svg")},m(o,r){T(o,e,r),v(e,i),v(i,n),v(i,l)},d(o){o&&E(e)}}}function cs(t){let e,i;return{c(){e=g("img"),C0(e.src,i=is)||u(e,"src",i),u(e,"alt","")},m(n,l){T(n,e,l)},p:R,d(n){n&&E(e)}}}function us(t){let e,i;return{c(){e=g("img"),C0(e.src,i=ts)||u(e,"src",i),u(e,"alt","")},m(n,l){T(n,e,l)},p:R,d(n){n&&E(e)}}}function ds(t){let e,i,n,l;function o(a,c){return a[1]?os:ls}let r=o(t),s=r(t);return{c(){e=g("div"),s.c(),u(e,"class",i=Ne(t[0])+" v-1r19s3f"),u(e,"role","button"),u(e,"tabindex","0")},m(a,c){T(a,e,c),s.m(e,null),n||(l=r0(e,"click",t[5]),n=!0)},p(a,[c]){r===(r=o(a))&&s?s.p(a,c):(s.d(1),s=r(a),s&&(s.c(),s.m(e,null))),c&1&&i!==(i=Ne(a[0])+" v-1r19s3f")&&u(e,"class",i)},i:R,o:R,d(a){a&&E(e),s.d(),n=!1,l()}}}function fs(t,e,i){let n,{className:l=""}=e,{isMobile:o=!1}=e;const s=F0().state.chromecastState$;Q(t,s,f=>i(4,n=f));let a;function c(f){de.call(this,t,f)}return t.$$set=f=>{"className"in f&&i(0,l=f.className),"isMobile"in f&&i(1,o=f.isMobile)},t.$$.update=()=>{t.$$.dirty&16&&i(2,a=n)},[l,o,a,s,n,c]}class Tn extends p0{constructor(e){super(),m0(this,e,fs,ds,v0,{className:0,isMobile:1},ns)}}var vs="data:image/svg+xml,%3csvg viewBox='0 0 42 20' xmlns='http://www.w3.org/2000/svg'%3e%3cpath 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' fill='none' stroke='white' stroke-width='2'/%3e%3cpath 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' fill='%23f0f2f5' fill-rule='evenodd'/%3e%3c/svg%3e",ms="data:image/svg+xml,%3csvg width='42' height='20' fill='none' xmlns='http://www.w3.org/2000/svg'%3e%3crect width='42' height='20' rx='5' fill='%23FF3347'/%3e%3cpath fill-rule='evenodd' clip-rule='evenodd' 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' fill='%23F2F3F5'/%3e%3c/svg%3e";function ps(t){_0(t,"v-rwtbzf",".icon.v-rwtbzf{display:block;width:42px;height:20px}")}function hs(t){let e,i,n,l,o;return{c(){e=g("div"),i=g("img"),C0(i.src,n=t[0])||u(i,"src",n),u(i,"class","icon v-rwtbzf"),u(i,"alt",""),u(e,"role","button"),u(e,"tabindex","0")},m(r,s){T(r,e,s),v(e,i),l||(o=r0(e,"click",t[2]),l=!0)},p(r,[s]){s&1&&!C0(i.src,n=r[0])&&u(i,"src",n)},i:R,o:R,d(r){r&&E(e),l=!1,o()}}}function gs(t,e,i){let{isActiveLive:n=!1}=e,l="";function o(r){de.call(this,t,r)}return t.$$set=r=>{"isActiveLive"in r&&i(1,n=r.isActiveLive)},t.$$.update=()=>{t.$$.dirty&2&&i(0,l=n?ms:vs)},[l,n,o]}class bs extends p0{constructor(e){super(),m0(this,e,gs,hs,v0,{isActiveLive:1},ps)}}var Mi="data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24'%3e%3cg fill='none' fill-rule='evenodd'%3e%3cpath d='M0 0h24v24H0z'/%3e%3cpath fill='white' 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'/%3e%3c/g%3e%3c/svg%3e",Hi="data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24'%3e%3cg fill='none' fill-rule='evenodd'%3e%3cpath d='M0 0h24v24H0z'/%3e%3cpath fill='white' fill-rule='nonzero' d='M21.657 17.657a.9.9 0 1 1-1.273-1.273 6.2 6.2 0 0 0 0-8.768.9.9 0 1 1 1.273-1.273 8 8 0 0 1 0 11.314ZM19.11 15.11a.9.9 0 0 1-1.273-1.273 2.6 2.6 0 0 0 0-3.676.9.9 0 1 1 1.273-1.273 4.4 4.4 0 0 1 0 6.222ZM5 15a2 2 0 0 1-2-2v-2a2 2 0 0 1 2-2h2.765l5.514-5.307A2.481 2.481 0 0 1 15 3a1 1 0 0 1 1 1v16a1 1 0 0 1-1 1c-.641 0-1.258-.25-1.72-.695L7.79 15H5Z'/%3e%3c/g%3e%3c/svg%3e";function Cs(t){_0(t,"v-dsbe5p",".container.v-dsbe5p{display:flex;height:32px;align-items:center;padding:0 8px}.expanded.v-dsbe5p{background-color:rgba(0, 0, 0, 0.56);border-radius:6px}.icon.v-dsbe5p{width:24px;height:24px}.text.v-dsbe5p{font-size:15px;margin-left:8px}")}function Ai(t){let e;return{c(){e=g("span"),e.textContent=`${H0("mobile_unmute")}`,u(e,"class","text v-dsbe5p")},m(i,n){T(i,e,n)},p:R,d(i){i&&E(e)}}}function _s(t){let e,i,n,l,o,r,s=t[0]&&Ai();return{c(){e=g("div"),i=g("img"),l=z(),s&&s.c(),C0(i.src,n=t[0]?Hi:Mi)||u(i,"src",n),u(i,"class","icon v-dsbe5p"),u(i,"alt",""),u(e,"class","container v-dsbe5p"),H(e,"expanded",t[0])},m(a,c){T(a,e,c),v(e,i),v(e,l),s&&s.m(e,null),o||(r=r0(e,"click",t[1]),o=!0)},p(a,[c]){c&1&&!C0(i.src,n=a[0]?Hi:Mi)&&u(i,"src",n),a[0]?s?s.p(a,c):(s=Ai(),s.c(),s.m(e,null)):s&&(s.d(1),s=null),c&1&&H(e,"expanded",a[0])},i:R,o:R,d(a){a&&E(e),s&&s.d(),o=!1,r()}}}function ws(t,e,i){let{expanded:n=!1}=e;function l(o){de.call(this,t,o)}return t.$$set=o=>{"expanded"in o&&i(0,n=o.expanded)},[n,l]}class Nn extends p0{constructor(e){super(),m0(this,e,ws,_s,v0,{expanded:0},Cs)}}function ys(t){_0(t,"v-1bwjmdb",'.tooltip-wrapper.v-1bwjmdb{position:relative;display:block}.tooltip.v-1bwjmdb{position:absolute;opacity:0;visibility:hidden;transition:opacity 200ms, visibility 200ms;bottom:100%;transform:translateX(-50%)}.tooltip.v-1bwjmdb: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)}.content.v-1bwjmdb{display:inline-block;padding:6px 10px;border-radius:3px;color:var(--white);background-color:rgba(41, 41, 41, .8)}.tooltip.active.v-1bwjmdb{opacity:1;visibility:visible}')}function ks(t){let e,i,n,l,o;return{c(){e=g("div"),i=g("div"),n=g("div"),l=g0(t[0]),u(n,"class","content v-1bwjmdb"),u(i,"class","tooltip v-1bwjmdb"),H(i,"active",t[1]),u(e,"class","tooltip-wrapper v-1bwjmdb"),u(e,"style",o=`transform: translate(${t[2]}px, ${t[3]}px);`)},m(r,s){T(r,e,s),v(e,i),v(i,n),v(n,l)},p(r,[s]){s&1&&A0(l,r[0]),s&2&&H(i,"active",r[1]),s&12&&o!==(o=`transform: translate(${r[2]}px, ${r[3]}px);`)&&u(e,"style",o)},i:R,o:R,d(r){r&&E(e)}}}function Vs(t,e,i){let{content:n=""}=e,{active:l=!1}=e,{translateXPx:o=0}=e,{translateYPx:r=0}=e;return t.$$set=s=>{"content"in s&&i(0,n=s.content),"active"in s&&i(1,l=s.active),"translateXPx"in s&&i(2,o=s.translateXPx),"translateYPx"in s&&i(3,r=s.translateYPx)},[n,l,o,r]}class Ps extends p0{constructor(e){super(),m0(this,e,Vs,ks,v0,{content:0,active:1,translateXPx:2,translateYPx:3},ys)}}function Ei(t){let e,i;return e=new Ps({props:{content:t[5],active:t[4],translateXPx:t[6],translateYPx:-16}}),{c(){i0(e.$$.fragment)},m(n,l){$(e,n,l),i=!0},p(n,l){const o={};l&32&&(o.content=n[5]),l&16&&(o.active=n[4]),l&64&&(o.translateXPx=n[6]),e.$set(o)},i(n){i||(h(e.$$.fragment,n),i=!0)},o(n){_(e.$$.fragment,n),i=!1},d(n){e0(e,n)}}}function Ls(t){let e,i,n,l=(!t[8]||t[8]&&t[7])&&Ei(t);return i=new At({props:{isActiveLive:t[9],ariaLabel:H0("aria_timeline"),ariaValueMin:0,ariaValueMax:t[0],ariaValueNow:Math.round(t[3]*100),ariaValueText:H0("aria_timeline_value",{position:t[2],duration:t[1]}),loadedProgress:t[10],filledProgress:t[3],handleProgress:t[3],onPointerDown:t[17],onHandleMove:t[18],onPointerMove:t[21],onPointerUp:t[19],onPointerEnter:t[20],onPointerLeave:t[22]}}),{c(){l&&l.c(),e=z(),i0(i.$$.fragment)},m(o,r){l&&l.m(o,r),T(o,e,r),$(i,o,r),n=!0},p(o,[r]){!o[8]||o[8]&&o[7]?l?(l.p(o,r),r&384&&h(l,1)):(l=Ei(o),l.c(),h(l,1),l.m(e.parentNode,e)):l&&(a0(),_(l,1,1,()=>{l=null}),c0());const s={};r&512&&(s.isActiveLive=o[9]),r&1&&(s.ariaValueMax=o[0]),r&8&&(s.ariaValueNow=Math.round(o[3]*100)),r&6&&(s.ariaValueText=H0("aria_timeline_value",{position:o[2],duration:o[1]})),r&1024&&(s.loadedProgress=o[10]),r&8&&(s.filledProgress=o[3]),r&8&&(s.handleProgress=o[3]),i.$set(s)},i(o){n||(h(l),h(i.$$.fragment,o),n=!0)},o(o){_(l),_(i.$$.fragment,o),n=!1},d(o){l&&l.d(o),o&&E(e),e0(i,o)}}}function Ss(t,e,i){let n,l,o,r,s,a;const c=F0(),f=c.state.bufferedProgress$;Q(t,f,U=>i(10,a=U));const m=c.state.positionWithScrubbing$;Q(t,m,U=>i(23,o=U));const p=c.state.duration$;Q(t,p,U=>i(0,l=U));const d=c.state.isLive$;Q(t,d,U=>i(7,n=U));const b=c.state.isActiveLive$;Q(t,b,U=>i(9,s=U));const C=c.ui.isMobile;Q(t,C,U=>i(8,r=U));let S,L,N,k=!1,B="",A=0;function y(U){c.actions.internal.startScrubbing(U)}function M(U){c.actions.internal.progressScrubbing(U)}function V(U){c.actions.internal.completeScrubbing(U)}function W(U,x){j(U,x),i(4,k=!0)}function I(U,x){j(U,x)}function G(){i(4,k=!1)}function j(U,x){i(6,A=x),i(5,B=O(U))}function O(U){const x=Te((n?1-U:U)*l);return n?`-${x}`:x}return t.$$.update=()=>{t.$$.dirty&1&&i(1,S=Te(l)),t.$$.dirty&8388608&&i(2,L=Te(o)),t.$$.dirty&8388609&&i(3,N=o/l)},[l,S,L,N,k,B,A,n,r,s,a,f,m,p,d,b,C,y,M,V,W,I,G,o]}let Ms=class extends p0{constructor(e){super(),m0(this,e,Ss,Ls,v0,{})}};function Hs(t){let e,i;return e=new At({props:{ariaValueMin:0,ariaValueMax:t[0],ariaValueNow:Math.round(t[3]*100),ariaValueText:H0("aria_timeline_value",{position:t[2],duration:t[1]}),filledProgress:t[3],isAds:!0,squareBorders:t[4]}}),{c(){i0(e.$$.fragment)},m(n,l){$(e,n,l),i=!0},p(n,[l]){const o={};l&1&&(o.ariaValueMax=n[0]),l&8&&(o.ariaValueNow=Math.round(n[3]*100)),l&6&&(o.ariaValueText=H0("aria_timeline_value",{position:n[2],duration:n[1]})),l&8&&(o.filledProgress=n[3]),l&16&&(o.squareBorders=n[4]),e.$set(o)},i(n){i||(h(e.$$.fragment,n),i=!0)},o(n){_(e.$$.fragment,n),i=!1},d(n){e0(e,n)}}}function As(t,e,i){let n,{position:l=0}=e,{duration:o=0}=e;const s=F0().ui.isMobile;Q(t,s,m=>i(4,n=m));let a,c,f;return t.$$set=m=>{"position"in m&&i(6,l=m.position),"duration"in m&&i(0,o=m.duration)},t.$$.update=()=>{t.$$.dirty&1&&i(1,a=Te(o)),t.$$.dirty&64&&i(2,c=Te(l)),t.$$.dirty&65&&i(3,f=l/o)},[o,a,c,f,n,s,l]}class In extends p0{constructor(e){super(),m0(this,e,As,Hs,v0,{position:6,duration:0})}}function Es(t){_0(t,"v-17msmwz",".timeline.v-17msmwz{display:flex;align-items:center;width:100%;min-width:86px;margin:0 6px}.timeline-stub.v-17msmwz{width:100%;min-width:20px}")}function Ts(t){let e;return{c(){e=g("div"),u(e,"class","timeline-stub v-17msmwz")},m(i,n){T(i,e,n)},p:R,i:R,o:R,d(i){i&&E(e)}}}function Ns(t){let e,i,n,l,o;const r=[zs,Is],s=[];function a(c,f){return c[0]?0:1}return i=a(t),n=s[i]=r[i](t),{c(){e=g("div"),n.c(),u(e,"class",l="timeline "+t[1]+" v-17msmwz")},m(c,f){T(c,e,f),s[i].m(e,null),o=!0},p(c,f){let m=i;i=a(c),i===m?s[i].p(c,f):(a0(),_(s[m],1,1,()=>{s[m]=null}),c0(),n=s[i],n?n.p(c,f):(n=s[i]=r[i](c),n.c()),h(n,1),n.m(e,null)),(!o||f&2&&l!==(l="timeline "+c[1]+" v-17msmwz"))&&u(e,"class",l)},i(c){o||(h(n),o=!0)},o(c){_(n),o=!1},d(c){c&&E(e),s[i].d()}}}function Is(t){let e,i;return e=new Ms({}),{c(){i0(e.$$.fragment)},m(n,l){$(e,n,l),i=!0},p:R,i(n){i||(h(e.$$.fragment,n),i=!0)},o(n){_(e.$$.fragment,n),i=!1},d(n){e0(e,n)}}}function zs(t){let e,i;return e=new In({props:{position:t[3],duration:t[4]}}),{c(){i0(e.$$.fragment)},m(n,l){$(e,n,l),i=!0},p(n,l){const o={};l&8&&(o.position=n[3]),l&16&&(o.duration=n[4]),e.$set(o)},i(n){i||(h(e.$$.fragment,n),i=!0)},o(n){_(e.$$.fragment,n),i=!1},d(n){e0(e,n)}}}function Bs(t){let e,i,n,l;const o=[Ns,Ts],r=[];function s(a,c){return a[2]?0:1}return e=s(t),i=r[e]=o[e](t),{c(){i.c(),n=$0()},m(a,c){r[e].m(a,c),T(a,n,c),l=!0},p(a,[c]){let f=e;e=s(a),e===f?r[e].p(a,c):(a0(),_(r[f],1,1,()=>{r[f]=null}),c0(),i=r[e],i?i.p(a,c):(i=r[e]=o[e](a),i.c()),h(i,1),i.m(n.parentNode,n))},i(a){l||(h(i),l=!0)},o(a){_(i),l=!1},d(a){r[e].d(a),a&&E(n)}}}function Rs(t,e,i){let n,l,o,{isAds:r=!1}=e,{canRewindLive:s}=e,{isHidden:a=!1}=e,{className:c=""}=e;const f=F0(),m=f.state.isLive$;Q(t,m,C=>i(10,n=C));const p=f.ads.duration;Q(t,p,C=>i(4,o=C));const d=f.ads.position;Q(t,d,C=>i(3,l=C));let b;return t.$$set=C=>{"isAds"in C&&i(0,r=C.isAds),"canRewindLive"in C&&i(8,s=C.canRewindLive),"isHidden"in C&&i(9,a=C.isHidden),"className"in C&&i(1,c=C.className)},t.$$.update=()=>{t.$$.dirty&1793&&i(2,b=!a&&(!n||n&&s||r))},[r,c,b,l,o,m,p,d,s,a,n]}class zn extends p0{constructor(e){super(),m0(this,e,Rs,Bs,v0,{isAds:0,canRewindLive:8,isHidden:9,className:1},Es)}}var Os="data:image/svg+xml,%3csvg width='24' height='24' viewBox='0 0 24 24' fill='none' xmlns='http://www.w3.org/2000/svg'%3e%3cpath d='M14.3377 4L7.6623 4C6.85427 3.99999 6.19339 3.99998 5.65632 4.04386C5.10041 4.08928 4.59833 4.18617 4.12944 4.42508C3.39561 4.79898 2.79898 5.39561 2.42508 6.12944C2.18617 6.59833 2.08928 7.10041 2.04386 7.65632C1.99998 8.19339 1.99999 8.85426 2 9.66229V12.3837C1.99999 13.1917 1.99998 13.8525 2.04386 14.3896C2.08928 14.9455 2.18617 15.4476 2.42508 15.9165C2.79898 16.6503 3.39561 17.2469 4.12944 17.6208C4.59833 17.8598 5.10041 17.9566 5.65632 18.0021C6.1934 18.0459 6.85424 18.0459 7.66229 18.0459L10.1 18.0459C10.5971 18.0459 11 17.643 11 17.1459C11 16.6489 10.5971 16.2459 10.1 16.2459L7.7 16.2459C6.84507 16.2459 6.258 16.2452 5.80289 16.208C5.3583 16.1717 5.11947 16.1051 4.94662 16.017C4.55148 15.8157 4.23022 15.4944 4.02889 15.0993C3.94082 14.9264 3.87421 14.6876 3.83789 14.243C3.8007 13.7879 3.8 13.2008 3.8 12.3459V9.7C3.8 8.84507 3.8007 8.258 3.83789 7.8029C3.87421 7.3583 3.94082 7.11947 4.02889 6.94662C4.23022 6.55148 4.55148 6.23022 4.94662 6.02889C5.11947 5.94082 5.3583 5.87421 5.8029 5.83789C6.258 5.8007 6.84507 5.8 7.7 5.8L14.3 5.8C15.1549 5.8 15.742 5.8007 16.1971 5.83789C16.6417 5.87421 16.8805 5.94082 17.0534 6.02889C17.4485 6.23022 17.7698 6.55148 17.9711 6.94662C18.0592 7.11947 18.1258 7.3583 18.1621 7.8029C18.1993 8.258 18.2 8.84507 18.2 9.7V11.1C18.2 11.5971 18.6029 12 19.1 12C19.5971 12 20 11.5971 20 11.1V9.6623C20 8.85425 20 8.1934 19.9561 7.65632C19.9107 7.10041 19.8138 6.59833 19.5749 6.12944C19.201 5.39561 18.6044 4.79898 17.8706 4.42508C17.4017 4.18617 16.8996 4.08928 16.3437 4.04386C15.8066 3.99998 15.1457 3.99999 14.3377 4Z' fill='white'/%3e%3cpath d='M13.1907 14.9555C13 15.3299 13 15.8199 13 16.8V17.2C13 18.1801 13 18.6701 13.1907 19.0445C13.3585 19.3738 13.6262 19.6415 13.9555 19.8093C14.3299 20 14.8199 20 15.8 20H19.2C20.1801 20 20.6701 20 21.0445 19.8093C21.3738 19.6415 21.6415 19.3738 21.8093 19.0445C22 18.6701 22 18.1801 22 17.2V16.8C22 15.8199 22 15.3299 21.8093 14.9555C21.6415 14.6262 21.3738 14.3585 21.0445 14.1907C20.6701 14 20.1801 14 19.2 14H15.8C14.8199 14 14.3299 14 13.9555 14.1907C13.6262 14.3585 13.3585 14.6262 13.1907 14.9555Z' fill='white'/%3e%3cpath d='M6.35684 9.62964C6.35908 9.63192 6.36132 9.63418 6.36358 9.63644L8.92721 12.2H7.89998C7.40292 12.2 6.99998 12.6029 6.99998 13.1C6.99998 13.5971 7.40292 14 7.89998 14H11.1C11.5971 14 12 13.5971 12 13.1V9.90005C12 9.40299 11.5971 9.00005 11.1 9.00005C10.6029 9.00005 10.2 9.40299 10.2 9.90005V10.9219L7.6703 8.3975L7.53642 8.26363C7.18495 7.91216 6.6151 7.91216 6.26363 8.26363C5.91216 8.6151 5.91216 9.18495 6.26363 9.53642L6.35684 9.62964Z' fill='white'/%3e%3c/svg%3e",Zs="data:image/svg+xml,%3csvg width='24' height='24' viewBox='0 0 24 24' fill='none' xmlns='http://www.w3.org/2000/svg'%3e%3cg clip-path='url(%23clip0_4085_176404)'%3e%3cg filter='url(%23filter0_d_4085_176404)'%3e%3cpath d='M14.3377 4L7.6623 4C6.85427 3.99999 6.19339 3.99998 5.65632 4.04386C5.10041 4.08928 4.59833 4.18617 4.12944 4.42508C3.39561 4.79898 2.79898 5.39561 2.42508 6.12944C2.18617 6.59833 2.08928 7.10041 2.04386 7.65632C1.99998 8.19338 1.99999 8.85426 2 9.66228V12.3837C1.99999 13.1917 1.99998 13.8525 2.04386 14.3896C2.08928 14.9455 2.18617 15.4476 2.42508 15.9165C2.79898 16.6503 3.39561 17.2469 4.12944 17.6208C4.59833 17.8598 5.1004 17.9566 5.65632 18.0021C6.19339 18.0459 6.85424 18.0459 7.66229 18.0459H10.1C10.597 18.0459 11 17.643 11 17.1459C11 16.6489 10.597 16.2459 10.1 16.2459H7.7C6.84507 16.2459 6.258 16.2452 5.8029 16.208C5.3583 16.1717 5.11947 16.1051 4.94662 16.017C4.55148 15.8157 4.23022 15.4944 4.02889 15.0993C3.94082 14.9264 3.87421 14.6876 3.83788 14.243C3.8007 13.7879 3.8 13.2008 3.8 12.3459V9.7C3.8 8.84507 3.8007 8.258 3.83788 7.8029C3.87421 7.3583 3.94082 7.11947 4.02889 6.94662C4.23022 6.55148 4.55148 6.23022 4.94662 6.02889C5.11947 5.94082 5.3583 5.87421 5.8029 5.83788C6.258 5.8007 6.84507 5.8 7.7 5.8L14.3 5.8C15.1549 5.8 15.742 5.8007 16.1971 5.83789C16.6417 5.87421 16.8805 5.94082 17.0534 6.02889C17.4485 6.23022 17.7698 6.55148 17.9711 6.94662C18.0592 7.11947 18.1258 7.3583 18.1621 7.8029C18.1993 8.258 18.2 8.84507 18.2 9.7V11.1C18.2 11.5971 18.6029 12 19.1 12C19.597 12 20 11.5971 20 11.1V9.6623C20 8.85425 20 8.1934 19.9561 7.65632C19.9107 7.10041 19.8138 6.59833 19.5749 6.12944C19.201 5.39561 18.6044 4.79898 17.8705 4.42508C17.4017 4.18617 16.8996 4.08928 16.3437 4.04386C15.8066 3.99998 15.1457 3.99999 14.3377 4Z' fill='%232688EB'/%3e%3cpath d='M13.1907 14.9555C13 15.3299 13 15.8199 13 16.8V17.2C13 18.1801 13 18.6701 13.1907 19.0445C13.3585 19.3738 13.6262 19.6415 13.9555 19.8093C14.3298 20 14.8199 20 15.8 20H19.2C20.1801 20 20.6701 20 21.0445 19.8093C21.3737 19.6415 21.6415 19.3738 21.8092 19.0445C22 18.6701 22 18.1801 22 17.2V16.8C22 15.8199 22 15.3299 21.8092 14.9555C21.6415 14.6262 21.3737 14.3585 21.0445 14.1907C20.6701 14 20.1801 14 19.2 14H15.8C14.8199 14 14.3298 14 13.9555 14.1907C13.6262 14.3585 13.3585 14.6262 13.1907 14.9555Z' fill='%232688EB'/%3e%3cpath d='M11.6431 12.3704C11.6409 12.3681 11.6387 12.3658 11.6364 12.3636L9.07277 9.8H10.1C10.5971 9.8 11 9.39706 11 8.9C11 8.40295 10.5971 8 10.1 8H6.89998C6.40292 8 5.99998 8.40295 5.99998 8.9V12.1C5.99998 12.597 6.40292 13 6.89998 13C7.39704 13 7.79998 12.597 7.79998 12.1V11.0781L10.3297 13.6025L10.4636 13.7364C10.815 14.0878 11.3849 14.0878 11.7363 13.7364C12.0878 13.3849 12.0878 12.8151 11.7363 12.4636L11.6431 12.3704Z' fill='%232688EB'/%3e%3cpath d='M14.3377 3.75L7.6623 3.75L7.65236 3.75C6.85246 3.74999 6.18321 3.74998 5.63596 3.79469C5.06453 3.84138 4.52592 3.94248 4.01594 4.20232C3.23507 4.6002 2.6002 5.23507 2.20232 6.01594C1.94248 6.52592 1.84138 7.06453 1.79469 7.63596C1.74998 8.18321 1.74999 8.85244 1.75 9.65234L1.75 9.66229V12.3837L1.75 12.3936C1.74999 13.1935 1.74998 13.8627 1.79469 14.41C1.84138 14.9814 1.94248 15.52 2.20232 16.03C2.6002 16.8108 3.23507 17.4457 4.01594 17.8436C4.52592 18.1034 5.06453 18.2045 5.63596 18.2512C6.18322 18.2959 6.85243 18.2959 7.65235 18.2959H7.6623H10.1C10.7351 18.2959 11.25 17.781 11.25 17.1459C11.25 16.5108 10.7351 15.9959 10.1 15.9959H7.7C6.84085 15.9959 6.26579 15.995 5.82325 15.9589C5.39401 15.9238 5.19179 15.8614 5.06012 15.7943C4.71202 15.6169 4.42901 15.3339 4.25164 14.9858C4.18455 14.8541 4.12212 14.6519 4.08705 14.2227C4.0509 13.7801 4.05 13.2051 4.05 12.3459V9.7C4.05 8.84085 4.0509 8.26579 4.08705 7.82325C4.12212 7.39401 4.18455 7.19179 4.25164 7.06012C4.42901 6.71202 4.71202 6.429 5.06012 6.25164C5.19179 6.18455 5.39401 6.12212 5.82325 6.08705C6.26579 6.0509 6.84085 6.05 7.7 6.05L14.3 6.05C15.1591 6.05 15.7342 6.0509 16.1767 6.08706C16.606 6.12213 16.8082 6.18455 16.9399 6.25164C17.288 6.42901 17.571 6.71202 17.7483 7.06012C17.8154 7.19179 17.8779 7.39401 17.9129 7.82325C17.9491 8.26579 17.95 8.84085 17.95 9.7V11.1C17.95 11.7351 18.4649 12.25 19.1 12.25C19.7351 12.25 20.25 11.7351 20.25 11.1V9.6623V9.65244C20.25 8.85248 20.25 8.18324 20.2053 7.63596C20.1586 7.06453 20.0575 6.52592 19.7977 6.01594C19.3998 5.23507 18.7649 4.6002 17.984 4.20233C17.4741 3.94248 16.9354 3.84138 16.364 3.79469C15.8168 3.74998 15.1475 3.74999 14.3476 3.75L14.3377 3.75ZM12.968 14.842C12.8516 15.0703 12.7998 15.323 12.7746 15.6302C12.75 15.9322 12.75 16.3082 12.75 16.7888V16.8V17.2V17.2112C12.75 17.6918 12.75 18.0677 12.7746 18.3697C12.7998 18.677 12.8516 18.9297 12.968 19.158C13.1597 19.5343 13.4657 19.8403 13.842 20.032C14.0703 20.1483 14.3229 20.2002 14.6302 20.2253C14.9322 20.25 15.3082 20.25 15.7887 20.25H15.8H19.2H19.2112C19.6917 20.25 20.0677 20.25 20.3697 20.2253C20.677 20.2002 20.9297 20.1483 21.158 20.032C21.5343 19.8403 21.8402 19.5343 22.032 19.158C22.1483 18.9297 22.2002 18.677 22.2253 18.3697C22.25 18.0677 22.25 17.6918 22.25 17.2112V17.2V16.8V16.7888C22.25 16.3082 22.25 15.9322 22.2253 15.6302C22.2002 15.323 22.1483 15.0703 22.032 14.842C21.8402 14.4657 21.5343 14.1597 21.158 13.968C20.9297 13.8517 20.677 13.7998 20.3697 13.7747C20.0677 13.75 19.6917 13.75 19.2112 13.75H19.2H15.8H15.7887C15.3082 13.75 14.9322 13.75 14.6302 13.7747C14.3229 13.7998 14.0703 13.8517 13.842 13.968C13.4657 14.1597 13.1597 14.4657 12.968 14.842ZM11.8218 12.1955L11.8199 12.1936L11.8132 12.1868L11.6364 12.3636L11.8132 12.1868L9.67634 10.05H10.1C10.7351 10.05 11.25 9.53513 11.25 8.9C11.25 8.26488 10.7351 7.75 10.1 7.75H6.89998C6.26485 7.75 5.74998 8.26487 5.74998 8.9V12.1C5.74998 12.7351 6.26485 13.25 6.89998 13.25C7.53511 13.25 8.04998 12.7351 8.04998 12.1V11.6808L10.1529 13.7793L10.1531 13.7795L10.2868 13.9131C10.7359 14.3623 11.464 14.3623 11.9131 13.9131C12.3622 13.464 12.3622 12.7359 11.9131 12.2868L11.8218 12.1955Z' stroke='black' stroke-opacity='0.12' stroke-width='0.5'/%3e%3c/g%3e%3c/g%3e%3cdefs%3e%3cfilter id='filter0_d_4085_176404' x='-3.5' y='-1.5' width='31' height='27' filterUnits='userSpaceOnUse' color-interpolation-filters='sRGB'%3e%3cfeFlood flood-opacity='0' result='BackgroundImageFix'/%3e%3cfeColorMatrix in='SourceAlpha' type='matrix' values='0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0' result='hardAlpha'/%3e%3cfeOffset/%3e%3cfeGaussianBlur stdDeviation='2.5'/%3e%3cfeColorMatrix type='matrix' values='0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.16 0'/%3e%3cfeBlend mode='normal' in2='BackgroundImageFix' result='effect1_dropShadow_4085_176404'/%3e%3cfeBlend mode='normal' in='SourceGraphic' in2='effect1_dropShadow_4085_176404' result='shape'/%3e%3c/filter%3e%3cclipPath id='clip0_4085_176404'%3e%3crect width='24' height='24' fill='%232688EB'/%3e%3c/clipPath%3e%3c/defs%3e%3c/svg%3e";function Fs(t){let e,i;return{c(){e=g("img"),C0(e.src,i=Os)||u(e,"src",i),u(e,"alt","")},m(n,l){T(n,e,l)},p:R,d(n){n&&E(e)}}}function js(t){let e,i;return{c(){e=g("img"),C0(e.src,i=Zs)||u(e,"src",i),u(e,"alt","")},m(n,l){T(n,e,l)},p:R,d(n){n&&E(e)}}}function Ds(t){let e,i,n;function l(s,a){return s[1]?js:Fs}let o=l(t),r=o(t);return{c(){e=g("div"),r.c(),u(e,"class",t[0]),u(e,"role","button"),u(e,"tabindex","0")},m(s,a){T(s,e,a),r.m(e,null),i||(n=r0(e,"click",t[3]),i=!0)},p(s,[a]){o===(o=l(s))&&r?r.p(s,a):(r.d(1),r=o(s),r&&(r.c(),r.m(e,null))),a&1&&u(e,"class",s[0])},i:R,o:R,d(s){s&&E(e),r.d(),i=!1,n()}}}function Us(t,e,i){let n,{className:l=""}=e;const r=F0().ui.isPictureInPictureActive$;Q(t,r,a=>i(1,n=a));function s(a){de.call(this,t,a)}return t.$$set=a=>{"className"in a&&i(0,l=a.className)},[l,n,r,s]}class qs extends p0{constructor(e){super(),m0(this,e,Us,Ds,v0,{className:0})}}function Qs(t){_0(t,"v-17mht85",`.wrapper-bottom.v-17mht85.v-17mht85{pointer-events:none;position:absolute;width:100%;bottom:0;left:0;height:var(--videoplayer-controls-gradient-height);background:linear-gradient(
|
|
8
8
|
180deg,
|
|
9
9
|
rgba(0, 0, 0, 0) 0%,
|
|
10
10
|
rgba(0, 0, 0, 0.02) 19%,
|
|
@@ -13,9 +13,9 @@
|
|
|
13
13
|
rgba(0, 0, 0, 0.60) 100%
|
|
14
14
|
);transition:transform var(--videoplayer-controls-transition-duration)
|
|
15
15
|
var(--videoplayer-controls-transition-fn)}.wrapper-bottom.v-17mht85>.v-17mht85{pointer-events:auto}.wrapper-bottom.ads-timeline-mobile.v-17mht85.v-17mht85{height:5px}.wrapper-middle.v-17mht85.v-17mht85{position:absolute;top:50%;left:50%;transform:translate(-50%,-50%);transition:opacity var(--videoplayer-controls-transition-duration);display:flex;align-items:center}.wrapper-top-right.v-17mht85.v-17mht85{position:absolute;top:16px;right:16px;transition:opacity var(--videoplayer-controls-transition-duration);display:flex}.wrapper-top-left.v-17mht85.v-17mht85{position:absolute;top:12px;left:12px}.controls.v-17mht85.v-17mht85{position:absolute;bottom:0;left:0;right:0;display:flex;align-items:center;height:var(--videoplayer-controls-height);white-space:nowrap;font-size:13px;transition:transform var(--videoplayer-controls-transition-duration)
|
|
16
|
-
var(--videoplayer-controls-transition-fn);will-change:transform;padding:0 16px;box-sizing:border-box}.controls-element+.controls-element{padding-left:8px}.hidden.v-17mht85.v-17mht85{visibility:hidden;opacity:0}.controls-hidden.v-17mht85.v-17mht85{visibility:visible;transform:translateY(100%)}.settings-desktop.v-17mht85.v-17mht85{bottom:42px;right:18px;position:absolute;transition:opacity 0.2s, visibility 0.2s}.settings-mobile.v-17mht85.v-17mht85{position:absolute;top:50%;left:50%;transform:translate(-50%,-50%);transition:opacity var(--videoplayer-controls-transition-duration);display:flex;align-items:center;max-width:320px;width:90%}.overlay-mobile.v-17mht85.v-17mht85{position:absolute;top:0;left:0;width:100%;height:100%;background-color:rgba(0, 0, 0, .3);pointer-events:none;transition:opacity var(--videoplayer-controls-transition-duration)}.wrapper-bottom-fullscreen-desktop.v-17mht85 .controls.v-17mht85{--videoplayer-controls-height:50px;font-size:16px}.wrapper-bottom-fullscreen-desktop.v-17mht85 .ui-time{padding-left:20px;padding-right:15px}.wrapper-bottom-fullscreen-desktop.v-17mht85 .controls-play-button{padding-left:20px;padding-right:11px}.mobile-top-right-button+.mobile-top-right-button{margin-left:24px}@media screen and (orientation: portrait){.wrapper-top-right.wrapper-top-fullscreen-mobile.v-17mht85.v-17mht85{top:36px}.wrapper-top-left.wrapper-top-fullscreen-mobile.v-17mht85.v-17mht85{top:32px}.controls.controls-fullscreen-mobile.v-17mht85.v-17mht85{bottom:36px}}@media screen and (orientation: landscape){.wrapper-top-left.wrapper-top-fullscreen-mobile.v-17mht85.v-17mht85{left:32px}.wrapper-top-right.wrapper-top-fullscreen-mobile.v-17mht85.v-17mht85{right:36px}.controls.controls-fullscreen-mobile.v-17mht85.v-17mht85{left:20px;right:20px;bottom:24px}}`)}function Il(t){let e,i,n,l,o,r,s,c,a,d,m,f,p,w=(!t[27]||t[29])&&Rl(t);r=new Ar({props:{className:"mobile-top-right-button"}});let b=!t[6]&&Bl(t),y=t[7]&&Ol(t);m=new Ln({props:{playbackState:t[32],adPlaybackState:t[33],isAds:t[3],handlePlayClick:t[41],repeatPlaylist:t[14],isEnded:t[34],isOneVideoPlaylist:t[10]}});let N=t[7]&&Fl(t);return{c(){e=g("div"),i=L(),n=g("div"),w&&w.c(),l=L(),o=g("div"),x(r.$$.fragment),s=L(),b&&b.c(),c=L(),a=g("div"),y&&y.c(),d=L(),x(m.$$.fragment),f=L(),N&&N.c(),u(e,"class","overlay-mobile v-17mht85"),E(e,"hidden",!t[26]),u(n,"class","wrapper-top-left v-17mht85"),E(n,"hidden",!t[2]),E(n,"wrapper-top-fullscreen-mobile",t[28]&&t[18]),u(o,"class","wrapper-top-right v-17mht85"),E(o,"hidden",!t[2]),E(o,"wrapper-top-fullscreen-mobile",t[28]&&t[18]),u(a,"class","wrapper-middle v-17mht85"),E(a,"hidden",!t[2]||t[31])},m(_,S){M(_,e,S),M(_,i,S),M(_,n,S),w&&w.m(n,null),M(_,l,S),M(_,o,S),J(r,o,null),v(o,s),b&&b.m(o,null),M(_,c,S),M(_,a,S),y&&y.m(a,null),v(a,d),J(m,a,null),v(a,f),N&&N.m(a,null),p=!0},p(_,S){(!p||S[0]&67108864)&&E(e,"hidden",!_[26]),!_[27]||_[29]?w?(w.p(_,S),S[0]&671088640&&h(w,1)):(w=Rl(_),w.c(),h(w,1),w.m(n,null)):w&&(se(),P(w,1,1,()=>{w=null}),ae()),(!p||S[0]&4)&&E(n,"hidden",!_[2]),(!p||S[0]&268697600)&&E(n,"wrapper-top-fullscreen-mobile",_[28]&&_[18]),_[6]?b&&(se(),P(b,1,1,()=>{b=null}),ae()):b?(b.p(_,S),S[0]&64&&h(b,1)):(b=Bl(_),b.c(),h(b,1),b.m(o,null)),(!p||S[0]&4)&&E(o,"hidden",!_[2]),(!p||S[0]&268697600)&&E(o,"wrapper-top-fullscreen-mobile",_[28]&&_[18]),_[7]?y?(y.p(_,S),S[0]&128&&h(y,1)):(y=Ol(_),y.c(),h(y,1),y.m(a,d)):y&&(se(),P(y,1,1,()=>{y=null}),ae());const D={};S[1]&2&&(D.playbackState=_[32]),S[1]&4&&(D.adPlaybackState=_[33]),S[0]&8&&(D.isAds=_[3]),S[0]&16384&&(D.repeatPlaylist=_[14]),S[1]&8&&(D.isEnded=_[34]),S[0]&1024&&(D.isOneVideoPlaylist=_[10]),m.$set(D),_[7]?N?(N.p(_,S),S[0]&128&&h(N,1)):(N=Fl(_),N.c(),h(N,1),N.m(a,null)):N&&(se(),P(N,1,1,()=>{N=null}),ae()),(!p||S[0]&4|S[1]&1)&&E(a,"hidden",!_[2]||_[31])},i(_){p||(h(w),h(r.$$.fragment,_),h(b),h(y),h(m.$$.fragment,_),h(N),p=!0)},o(_){P(w),P(r.$$.fragment,_),P(b),P(y),P(m.$$.fragment,_),P(N),p=!1},d(_){_&&T(e),_&&T(i),_&&T(n),w&&w.d(),_&&T(l),_&&T(o),Z(r),b&&b.d(),_&&T(c),_&&T(a),y&&y.d(),Z(m),N&&N.d()}}}function Rl(t){let e,i;return e=new Ir({props:{expanded:!t[48]&&t[30]}}),e.$on("click",t[65]),{c(){x(e.$$.fragment)},m(n,l){J(e,n,l),i=!0},p(n,l){const o={};l[0]&1073741824&&(o.expanded=!n[48]&&n[30]),e.$set(o)},i(n){i||(h(e.$$.fragment,n),i=!0)},o(n){P(e.$$.fragment,n),i=!1},d(n){Z(e,n)}}}function Bl(t){let e,i;return e=new zr({props:{className:"mobile-top-right-button",logoClickable:t[5]}}),e.$on("click",t[42]),{c(){x(e.$$.fragment)},m(n,l){J(e,n,l),i=!0},p(n,l){const o={};l[0]&32&&(o.logoClickable=n[5]),e.$set(o)},i(n){i||(h(e.$$.fragment,n),i=!0)},o(n){P(e.$$.fragment,n),i=!1},d(n){Z(e,n)}}}function Ol(t){let e,i;return e=new qi({props:{type:"prev",disabled:!t[9]}}),e.$on("click",function(){Ue(t[13])&&t[13].apply(this,arguments)}),{c(){x(e.$$.fragment)},m(n,l){J(e,n,l),i=!0},p(n,l){t=n;const o={};l[0]&512&&(o.disabled=!t[9]),e.$set(o)},i(n){i||(h(e.$$.fragment,n),i=!0)},o(n){P(e.$$.fragment,n),i=!1},d(n){Z(e,n)}}}function Fl(t){let e,i;return e=new qi({props:{type:"next",disabled:!t[8]}}),e.$on("click",function(){Ue(t[12])&&t[12].apply(this,arguments)}),{c(){x(e.$$.fragment)},m(n,l){J(e,n,l),i=!0},p(n,l){t=n;const o={};l[0]&256&&(o.disabled=!t[8]),e.$set(o)},i(n){i||(h(e.$$.fragment,n),i=!0)},o(n){P(e.$$.fragment,n),i=!1},d(n){Z(e,n)}}}function jl(t){let e,i,n,l,o,r=t[29]&&Dl(t),s=t[33]===qe.PAUSED&&Hl(t);return l=new Rr({props:{position:t[35],duration:t[36]}}),{c(){r&&r.c(),e=L(),s&&s.c(),i=L(),n=g("div"),x(l.$$.fragment),u(n,"class","wrapper-bottom ads-timeline-mobile v-17mht85")},m(c,a){r&&r.m(c,a),M(c,e,a),s&&s.m(c,a),M(c,i,a),M(c,n,a),J(l,n,null),o=!0},p(c,a){c[29]?r?(r.p(c,a),a[0]&536870912&&h(r,1)):(r=Dl(c),r.c(),h(r,1),r.m(e.parentNode,e)):r&&(se(),P(r,1,1,()=>{r=null}),ae()),c[33]===qe.PAUSED?s?(s.p(c,a),a[1]&4&&h(s,1)):(s=Hl(c),s.c(),h(s,1),s.m(i.parentNode,i)):s&&(se(),P(s,1,1,()=>{s=null}),ae());const d={};a[1]&16&&(d.position=c[35]),a[1]&32&&(d.duration=c[36]),l.$set(d)},i(c){o||(h(r),h(s),h(l.$$.fragment,c),o=!0)},o(c){P(r),P(s),P(l.$$.fragment,c),o=!1},d(c){r&&r.d(c),c&&T(e),s&&s.d(c),c&&T(i),c&&T(n),Z(l)}}}function Dl(t){let e,i,n;return i=new Ir({props:{expanded:!1}}),i.$on("click",t[65]),{c(){e=g("div"),x(i.$$.fragment),u(e,"class","wrapper-top-right v-17mht85")},m(l,o){M(l,e,o),J(i,e,null),n=!0},p:B,i(l){n||(h(i.$$.fragment,l),n=!0)},o(l){P(i.$$.fragment,l),n=!1},d(l){l&&T(e),Z(i)}}}function Hl(t){let e,i,n;return i=new Ln({props:{playbackState:t[32],adPlaybackState:t[33],isAds:!0,handlePlayClick:t[41],repeatPlaylist:B,isEnded:!1,isOneVideoPlaylist:!1}}),{c(){e=g("div"),x(i.$$.fragment),u(e,"class","wrapper-middle v-17mht85")},m(l,o){M(l,e,o),J(i,e,null),n=!0},p(l,o){const r={};o[1]&2&&(r.playbackState=l[32]),o[1]&4&&(r.adPlaybackState=l[33]),i.$set(r)},i(l){n||(h(i.$$.fragment,l),n=!0)},o(l){P(i.$$.fragment,l),n=!1},d(l){l&&T(e),Z(i)}}}function ql(t){let e,i,n,l,o,r=t[7]&&!t[3]&&Ul(t);i=new kt({props:{className:"controls-element",$$slots:{default:[Ou]},$$scope:{ctx:t}}});let s=t[7]&&!t[3]&&Ql(t);return{c(){r&&r.c(),e=L(),x(i.$$.fragment),n=L(),s&&s.c(),l=ct()},m(c,a){r&&r.m(c,a),M(c,e,a),J(i,c,a),M(c,n,a),s&&s.m(c,a),M(c,l,a),o=!0},p(c,a){c[7]&&!c[3]?r?(r.p(c,a),a[0]&136&&h(r,1)):(r=Ul(c),r.c(),h(r,1),r.m(e.parentNode,e)):r&&(se(),P(r,1,1,()=>{r=null}),ae());const d={};a[0]&17416|a[1]&14|a[2]&8192&&(d.$$scope={dirty:a,ctx:c}),i.$set(d),c[7]&&!c[3]?s?(s.p(c,a),a[0]&136&&h(s,1)):(s=Ql(c),s.c(),h(s,1),s.m(l.parentNode,l)):s&&(se(),P(s,1,1,()=>{s=null}),ae())},i(c){o||(h(r),h(i.$$.fragment,c),h(s),o=!0)},o(c){P(r),P(i.$$.fragment,c),P(s),o=!1},d(c){r&&r.d(c),c&&T(e),Z(i,c),c&&T(n),s&&s.d(c),c&&T(l)}}}function Ul(t){let e,i;return e=new kt({props:{className:"controls-element",disabled:!t[9],$$slots:{default:[Bu]},$$scope:{ctx:t}}}),{c(){x(e.$$.fragment)},m(n,l){J(e,n,l),i=!0},p(n,l){const o={};l[0]&512&&(o.disabled=!n[9]),l[0]&8704|l[2]&8192&&(o.$$scope={dirty:l,ctx:n}),e.$set(o)},i(n){i||(h(e.$$.fragment,n),i=!0)},o(n){P(e.$$.fragment,n),i=!1},d(n){Z(e,n)}}}function Bu(t){let e,i;return e=new qi({props:{type:"prev",disabled:!t[9]}}),e.$on("click",function(){Ue(t[13])&&t[13].apply(this,arguments)}),{c(){x(e.$$.fragment)},m(n,l){J(e,n,l),i=!0},p(n,l){t=n;const o={};l[0]&512&&(o.disabled=!t[9]),e.$set(o)},i(n){i||(h(e.$$.fragment,n),i=!0)},o(n){P(e.$$.fragment,n),i=!1},d(n){Z(e,n)}}}function Ou(t){let e,i;return e=new Ln({props:{className:"controls-play-button",playbackState:t[32],adPlaybackState:t[33],isAds:t[3],handlePlayClick:t[41],repeatPlaylist:t[14],isEnded:t[34],isOneVideoPlaylist:t[10]}}),{c(){x(e.$$.fragment)},m(n,l){J(e,n,l),i=!0},p(n,l){const o={};l[1]&2&&(o.playbackState=n[32]),l[1]&4&&(o.adPlaybackState=n[33]),l[0]&8&&(o.isAds=n[3]),l[0]&16384&&(o.repeatPlaylist=n[14]),l[1]&8&&(o.isEnded=n[34]),l[0]&1024&&(o.isOneVideoPlaylist=n[10]),e.$set(o)},i(n){i||(h(e.$$.fragment,n),i=!0)},o(n){P(e.$$.fragment,n),i=!1},d(n){Z(e,n)}}}function Ql(t){let e,i;return e=new kt({props:{className:"controls-element",disabled:!t[8],$$slots:{default:[Fu]},$$scope:{ctx:t}}}),{c(){x(e.$$.fragment)},m(n,l){J(e,n,l),i=!0},p(n,l){const o={};l[0]&256&&(o.disabled=!n[8]),l[0]&4352|l[2]&8192&&(o.$$scope={dirty:l,ctx:n}),e.$set(o)},i(n){i||(h(e.$$.fragment,n),i=!0)},o(n){P(e.$$.fragment,n),i=!1},d(n){Z(e,n)}}}function Fu(t){let e,i;return e=new qi({props:{type:"next",disabled:!t[8]}}),e.$on("click",function(){Ue(t[12])&&t[12].apply(this,arguments)}),{c(){x(e.$$.fragment)},m(n,l){J(e,n,l),i=!0},p(n,l){t=n;const o={};l[0]&256&&(o.disabled=!t[8]),e.$set(o)},i(n){i||(h(e.$$.fragment,n),i=!0)},o(n){P(e.$$.fragment,n),i=!1},d(n){Z(e,n)}}}function Wl(t){let e,i;return e=new kt({props:{className:"controls-element",$$slots:{default:[ju]},$$scope:{ctx:t}}}),{c(){x(e.$$.fragment)},m(n,l){J(e,n,l),i=!0},p(n,l){const o={};l[1]&64|l[2]&8192&&(o.$$scope={dirty:l,ctx:n}),e.$set(o)},i(n){i||(h(e.$$.fragment,n),i=!0)},o(n){P(e.$$.fragment,n),i=!1},d(n){Z(e,n)}}}function ju(t){let e,i;return e=new pu({props:{isActiveLive:t[37]}}),e.$on("click",t[63]),{c(){x(e.$$.fragment)},m(n,l){J(e,n,l),i=!0},p(n,l){const o={};l[1]&64&&(o.isActiveLive=n[37]),e.$set(o)},i(n){i||(h(e.$$.fragment,n),i=!0)},o(n){P(e.$$.fragment,n),i=!1},d(n){Z(e,n)}}}function Yl(t){let e,i;return e=new Br({props:{isHidden:!t[23],isAds:t[3],canRewindLive:t[4],className:"controls-element"}}),{c(){x(e.$$.fragment)},m(n,l){J(e,n,l),i=!0},p(n,l){const o={};l[0]&8388608&&(o.isHidden=!n[23]),l[0]&8&&(o.isAds=n[3]),l[0]&16&&(o.canRewindLive=n[4]),e.$set(o)},i(n){i||(h(e.$$.fragment,n),i=!0)},o(n){P(e.$$.fragment,n),i=!1},d(n){Z(e,n)}}}function Kl(t){let e,i;return e=new _c({props:{className:"ui-time controls-element",showDuration:t[20],position:t[3]?t[35]:t[38],duration:t[3]?t[36]:t[39]}}),{c(){x(e.$$.fragment)},m(n,l){J(e,n,l),i=!0},p(n,l){const o={};l[0]&1048576&&(o.showDuration=n[20]),l[0]&8|l[1]&144&&(o.position=n[3]?n[35]:n[38]),l[0]&8|l[1]&288&&(o.duration=n[3]?n[36]:n[39]),e.$set(o)},i(n){i||(h(e.$$.fragment,n),i=!0)},o(n){P(e.$$.fragment,n),i=!1},d(n){Z(e,n)}}}function Gl(t){let e,i;return e=new Br({props:{isHidden:!t[23],isAds:t[3],canRewindLive:t[4],className:"controls-element"}}),{c(){x(e.$$.fragment)},m(n,l){J(e,n,l),i=!0},p(n,l){const o={};l[0]&8388608&&(o.isHidden=!n[23]),l[0]&8&&(o.isAds=n[3]),l[0]&16&&(o.canRewindLive=n[4]),e.$set(o)},i(n){i||(h(e.$$.fragment,n),i=!0)},o(n){P(e.$$.fragment,n),i=!1},d(n){Z(e,n)}}}function Xl(t){let e,i,n,l;e=new kt({props:{className:"controls-element",$$slots:{default:[Du]},$$scope:{ctx:t}}});let o=!t[40]&&!t[3]&&Jl(t);return{c(){x(e.$$.fragment),i=L(),o&&o.c(),n=ct()},m(r,s){J(e,r,s),M(r,i,s),o&&o.m(r,s),M(r,n,s),l=!0},p(r,s){const c={};s[0]&134742016|s[2]&8192&&(c.$$scope={dirty:s,ctx:r}),e.$set(c),!r[40]&&!r[3]?o?(o.p(r,s),s[0]&8|s[1]&512&&h(o,1)):(o=Jl(r),o.c(),h(o,1),o.m(n.parentNode,n)):o&&(se(),P(o,1,1,()=>{o=null}),ae())},i(r){l||(h(e.$$.fragment,r),h(o),l=!0)},o(r){P(e.$$.fragment,r),P(o),l=!1},d(r){Z(e,r),r&&T(i),o&&o.d(r),r&&T(n)}}}function Du(t){let e,i;return e=new Ic({props:{isAudioAvailable:t[27],isVerticalVolume:t[19]}}),e.$on("click",t[64]),{c(){x(e.$$.fragment)},m(n,l){J(e,n,l),i=!0},p(n,l){const o={};l[0]&134217728&&(o.isAudioAvailable=n[27]),l[0]&524288&&(o.isVerticalVolume=n[19]),e.$set(o)},i(n){i||(h(e.$$.fragment,n),i=!0)},o(n){P(e.$$.fragment,n),i=!1},d(n){Z(e,n)}}}function Jl(t){let e,i,n,l,o;i=new Vr({props:{supportLink:t[11]}});let r=t[22]&&Zl(t);return{c(){e=g("div"),x(i.$$.fragment),n=L(),r&&r.c(),l=ct(),u(e,"class","settings-desktop v-17mht85")},m(s,c){M(s,e,c),J(i,e,null),M(s,n,c),r&&r.m(s,c),M(s,l,c),o=!0},p(s,c){const a={};c[0]&2048&&(a.supportLink=s[11]),i.$set(a),s[22]?r?c[0]&4194304&&h(r,1):(r=Zl(s),r.c(),h(r,1),r.m(l.parentNode,l)):r&&(se(),P(r,1,1,()=>{r=null}),ae())},i(s){o||(h(i.$$.fragment,s),h(r),o=!0)},o(s){P(i.$$.fragment,s),P(r),o=!1},d(s){s&&T(e),Z(i),s&&T(n),r&&r.d(s),s&&T(l)}}}function Zl(t){let e,i;return e=new kt({props:{className:"controls-element",$$slots:{default:[Hu]},$$scope:{ctx:t}}}),{c(){x(e.$$.fragment)},m(n,l){J(e,n,l),i=!0},i(n){i||(h(e.$$.fragment,n),i=!0)},o(n){P(e.$$.fragment,n),i=!1},d(n){Z(e,n)}}}function Hu(t){let e,i;return e=new Ar({props:{className:"ui-settings"}}),{c(){x(e.$$.fragment)},m(n,l){J(e,n,l),i=!0},p:B,i(n){i||(h(e.$$.fragment,n),i=!0)},o(n){P(e.$$.fragment,n),i=!1},d(n){Z(e,n)}}}function xl(t){let e,i;return e=new kt({props:{className:"controls-element",$$slots:{default:[qu]},$$scope:{ctx:t}}}),{c(){x(e.$$.fragment)},m(n,l){J(e,n,l),i=!0},p(n,l){const o={};l[0]&32768|l[2]&8192&&(o.$$scope={dirty:l,ctx:n}),e.$set(o)},i(n){i||(h(e.$$.fragment,n),i=!0)},o(n){P(e.$$.fragment,n),i=!1},d(n){Z(e,n)}}}function qu(t){let e,i;return e=new Uc({}),e.$on("click",function(){Ue(t[15])&&t[15].apply(this,arguments)}),{c(){x(e.$$.fragment)},m(n,l){J(e,n,l),i=!0},p(n,l){t=n},i(n){i||(h(e.$$.fragment,n),i=!0)},o(n){P(e.$$.fragment,n),i=!1},d(n){Z(e,n)}}}function $l(t){let e,i,n,l=t[21]&&eo(t),o=!t[6]&&to(t);return{c(){l&&l.c(),e=L(),o&&o.c(),i=ct()},m(r,s){l&&l.m(r,s),M(r,e,s),o&&o.m(r,s),M(r,i,s),n=!0},p(r,s){r[21]?l?(l.p(r,s),s[0]&2097152&&h(l,1)):(l=eo(r),l.c(),h(l,1),l.m(e.parentNode,e)):l&&(se(),P(l,1,1,()=>{l=null}),ae()),r[6]?o&&(se(),P(o,1,1,()=>{o=null}),ae()):o?(o.p(r,s),s[0]&64&&h(o,1)):(o=to(r),o.c(),h(o,1),o.m(i.parentNode,i))},i(r){n||(h(l),h(o),n=!0)},o(r){P(l),P(o),n=!1},d(r){l&&l.d(r),r&&T(e),o&&o.d(r),r&&T(i)}}}function eo(t){let e,i;return e=new kt({props:{className:"controls-element",$$slots:{default:[Uu]},$$scope:{ctx:t}}}),{c(){x(e.$$.fragment)},m(n,l){J(e,n,l),i=!0},p(n,l){const o={};l[2]&8192&&(o.$$scope={dirty:l,ctx:n}),e.$set(o)},i(n){i||(h(e.$$.fragment,n),i=!0)},o(n){P(e.$$.fragment,n),i=!1},d(n){Z(e,n)}}}function Uu(t){let e,i;return e=new Sr({props:{className:"ui-chromecast"}}),e.$on("click",t[62]),{c(){x(e.$$.fragment)},m(n,l){J(e,n,l),i=!0},p:B,i(n){i||(h(e.$$.fragment,n),i=!0)},o(n){P(e.$$.fragment,n),i=!1},d(n){Z(e,n)}}}function to(t){let e,i;return e=new kt({props:{className:"controls-element",disabled:!t[5],$$slots:{default:[Qu]},$$scope:{ctx:t}}}),{c(){x(e.$$.fragment)},m(n,l){J(e,n,l),i=!0},p(n,l){const o={};l[0]&32&&(o.disabled=!n[5]),l[0]&32|l[2]&8192&&(o.$$scope={dirty:l,ctx:n}),e.$set(o)},i(n){i||(h(e.$$.fragment,n),i=!0)},o(n){P(e.$$.fragment,n),i=!1},d(n){Z(e,n)}}}function Qu(t){let e,i;return e=new zr({props:{logoClickable:t[5]}}),e.$on("click",t[42]),{c(){x(e.$$.fragment)},m(n,l){J(e,n,l),i=!0},p(n,l){const o={};l[0]&32&&(o.logoClickable=n[5]),e.$set(o)},i(n){i||(h(e.$$.fragment,n),i=!0)},o(n){P(e.$$.fragment,n),i=!1},d(n){Z(e,n)}}}function io(t){let e,i,n;return i=new Vr({props:{supportLink:t[11]}}),{c(){e=g("div"),x(i.$$.fragment),u(e,"class","settings-mobile v-17mht85")},m(l,o){M(l,e,o),J(i,e,null),n=!0},p(l,o){const r={};o[0]&2048&&(r.supportLink=l[11]),i.$set(r)},i(l){n||(h(i.$$.fragment,l),n=!0)},o(l){P(i.$$.fragment,l),n=!1},d(l){l&&T(e),Z(i)}}}function Wu(t){let e,i,n,l,o,r,s,c,a,d,m,f,p,w,b=t[18]&&!t[3]&&Il(t),y=t[18]&&t[3]&&t[33]!==qe.INACTIVE&&jl(t),N=!t[18]&&ql(t),_=!t[3]&&t[17]&&Wl(t),S=!t[18]&&Yl(t),D=t[25]&&Kl(t),R=t[18]&&Gl(t),F=!t[18]&&Xl(t),I=t[24]&&xl(t),k=!t[18]&&$l(t),O=t[18]&&t[16]&&io(t);return{c(){b&&b.c(),e=L(),y&&y.c(),i=L(),n=g("div"),l=g("div"),N&&N.c(),o=L(),_&&_.c(),r=L(),S&&S.c(),s=L(),D&&D.c(),c=L(),R&&R.c(),a=L(),F&&F.c(),d=L(),I&&I.c(),m=L(),k&&k.c(),f=L(),O&&O.c(),p=ct(),u(l,"class","controls v-17mht85"),E(l,"controls-hidden",!t[2]),E(l,"controls-fullscreen-mobile",t[28]&&t[18]),u(n,"class","wrapper-bottom v-17mht85"),E(n,"hidden",t[1]),E(n,"controls-hidden",!t[2]),E(n,"wrapper-bottom-fullscreen-desktop",t[28]&&!t[18])},m(C,Y){b&&b.m(C,Y),M(C,e,Y),y&&y.m(C,Y),M(C,i,Y),M(C,n,Y),v(n,l),N&&N.m(l,null),v(l,o),_&&_.m(l,null),v(l,r),S&&S.m(l,null),v(l,s),D&&D.m(l,null),v(l,c),R&&R.m(l,null),v(l,a),F&&F.m(l,null),v(l,d),I&&I.m(l,null),v(l,m),k&&k.m(l,null),t[68](n),M(C,f,Y),O&&O.m(C,Y),M(C,p,Y),w=!0},p(C,Y){C[18]&&!C[3]?b?(b.p(C,Y),Y[0]&262152&&h(b,1)):(b=Il(C),b.c(),h(b,1),b.m(e.parentNode,e)):b&&(se(),P(b,1,1,()=>{b=null}),ae()),C[18]&&C[3]&&C[33]!==qe.INACTIVE?y?(y.p(C,Y),Y[0]&262152|Y[1]&4&&h(y,1)):(y=jl(C),y.c(),h(y,1),y.m(i.parentNode,i)):y&&(se(),P(y,1,1,()=>{y=null}),ae()),C[18]?N&&(se(),P(N,1,1,()=>{N=null}),ae()):N?(N.p(C,Y),Y[0]&262144&&h(N,1)):(N=ql(C),N.c(),h(N,1),N.m(l,o)),!C[3]&&C[17]?_?(_.p(C,Y),Y[0]&131080&&h(_,1)):(_=Wl(C),_.c(),h(_,1),_.m(l,r)):_&&(se(),P(_,1,1,()=>{_=null}),ae()),C[18]?S&&(se(),P(S,1,1,()=>{S=null}),ae()):S?(S.p(C,Y),Y[0]&262144&&h(S,1)):(S=Yl(C),S.c(),h(S,1),S.m(l,s)),C[25]?D?(D.p(C,Y),Y[0]&33554432&&h(D,1)):(D=Kl(C),D.c(),h(D,1),D.m(l,c)):D&&(se(),P(D,1,1,()=>{D=null}),ae()),C[18]?R?(R.p(C,Y),Y[0]&262144&&h(R,1)):(R=Gl(C),R.c(),h(R,1),R.m(l,a)):R&&(se(),P(R,1,1,()=>{R=null}),ae()),C[18]?F&&(se(),P(F,1,1,()=>{F=null}),ae()):F?(F.p(C,Y),Y[0]&262144&&h(F,1)):(F=Xl(C),F.c(),h(F,1),F.m(l,d)),C[24]?I?(I.p(C,Y),Y[0]&16777216&&h(I,1)):(I=xl(C),I.c(),h(I,1),I.m(l,m)):I&&(se(),P(I,1,1,()=>{I=null}),ae()),C[18]?k&&(se(),P(k,1,1,()=>{k=null}),ae()):k?(k.p(C,Y),Y[0]&262144&&h(k,1)):(k=$l(C),k.c(),h(k,1),k.m(l,null)),(!w||Y[0]&4)&&E(l,"controls-hidden",!C[2]),(!w||Y[0]&268697600)&&E(l,"controls-fullscreen-mobile",C[28]&&C[18]),(!w||Y[0]&2)&&E(n,"hidden",C[1]),(!w||Y[0]&4)&&E(n,"controls-hidden",!C[2]),(!w||Y[0]&268697600)&&E(n,"wrapper-bottom-fullscreen-desktop",C[28]&&!C[18]),C[18]&&C[16]?O?(O.p(C,Y),Y[0]&327680&&h(O,1)):(O=io(C),O.c(),h(O,1),O.m(p.parentNode,p)):O&&(se(),P(O,1,1,()=>{O=null}),ae())},i(C){w||(h(b),h(y),h(N),h(_),h(S),h(D),h(R),h(F),h(I),h(k),h(O),w=!0)},o(C){P(b),P(y),P(N),P(_),P(S),P(D),P(R),P(F),P(I),P(k),P(O),w=!1},d(C){b&&b.d(C),C&&T(e),y&&y.d(C),C&&T(i),C&&T(n),N&&N.d(),_&&_.d(),S&&S.d(),D&&D.d(),R&&R.d(),F&&F.d(),I&&I.d(),k&&k.d(),t[68](null),C&&T(f),O&&O.d(C),C&&T(p)}}}function Yu(t,e,i){let n,l,o,r,s,c,a,d,m,f,p,w,b,y,N,_,S,D;var R,F;let{hidden:I}=e,{showControls:k}=e,{controlsElementRef:O=void 0}=e,{isAds:C=!1}=e,{canRewindLive:Y}=e,{logoClickable:q}=e,{logoHidden:H}=e,{showNextPrevButtons:U}=e,{nextButtonActive:X}=e,{prevButtonActive:fe}=e,{isOneVideoPlaylist:K=!1}=e,{supportLink:j}=e,{canShowTimeline:te}=e,{playNextVideo:Ne}=e,{playPrevVideo:ke}=e,{repeatPlaylist:ie}=e,{toggleFullscreen:Ke}=e;const ne=Qe(),ce=ne.actions.internal.toggleMuted,we=ne.actions.internal.togglePlay,pe=ne.actions.internal.pause,ve=(R=ne.callbacks)===null||R===void 0?void 0:R.onAudioDoesNotExistHint,Pe=(F=ne.callbacks)===null||F===void 0?void 0:F.onAudioDisabledHint,he=ne.state.duration$;Q(t,he,W=>i(39,S=W));const ye=ne.state.positionWithScrubbing$;Q(t,ye,W=>i(38,_=W));const ue=ne.state.playbackState$;Q(t,ue,W=>i(32,f=W));const z=ne.state.chromecastConnected$;Q(t,z,W=>i(40,D=W));const $=ne.state.isAudioAvailable$;Q(t,$,W=>i(27,n=W));const le=ne.state.isAudioDisabled,ee=ne.state.isEnded$;Q(t,ee,W=>i(34,w=W));const ot=ne.state.isLive$;Q(t,ot,W=>i(17,r=W));const Ge=ne.state.isActiveLive$;Q(t,Ge,W=>i(37,N=W));const We=ne.ui.scrubbingInProgress;Q(t,We,W=>i(31,m=W));const rt=ne.ui.isMobile;Q(t,rt,W=>i(18,s=W));const Ze=ne.ui.mobileUnmuteButtonExpanded;Q(t,Ze,W=>i(30,d=W));const Xe=ne.ui.mobileUnmuteButtonVisible;Q(t,Xe,W=>i(29,a=W));const dt=ne.ui.settingsMenuVisible;Q(t,dt,W=>i(16,l=W));const vt=ne.ads.duration;Q(t,vt,W=>i(36,y=W));const it=ne.ads.position;Q(t,it,W=>i(35,b=W));const Re=ne.ads.playbackState;Q(t,Re,W=>i(33,p=W));const $e=ne.ui.isFullscreen;Q(t,$e,W=>i(28,c=W));const mt=ne.ui.playerSize;Q(t,mt,W=>i(67,o=W));const zt=()=>ne.actions.internal.toggleChromecast(),Pt=()=>ne.actions.internal.switchToActiveLive();let pt,St,It,Rt,Bt,ht,Ot,Kt;function Vt(){le?Pe==null||Pe():n?ce():ve==null||ve()}function Gt(){!le&&n&&Xe.set(!1),Vt()}function Ie(W){nt[W?"unshift":"push"](()=>{O=W,i(0,O)})}return t.$$set=W=>{"hidden"in W&&i(1,I=W.hidden),"showControls"in W&&i(2,k=W.showControls),"controlsElementRef"in W&&i(0,O=W.controlsElementRef),"isAds"in W&&i(3,C=W.isAds),"canRewindLive"in W&&i(4,Y=W.canRewindLive),"logoClickable"in W&&i(5,q=W.logoClickable),"logoHidden"in W&&i(6,H=W.logoHidden),"showNextPrevButtons"in W&&i(7,U=W.showNextPrevButtons),"nextButtonActive"in W&&i(8,X=W.nextButtonActive),"prevButtonActive"in W&&i(9,fe=W.prevButtonActive),"isOneVideoPlaylist"in W&&i(10,K=W.isOneVideoPlaylist),"supportLink"in W&&i(11,j=W.supportLink),"canShowTimeline"in W&&i(66,te=W.canShowTimeline),"playNextVideo"in W&&i(12,Ne=W.playNextVideo),"playPrevVideo"in W&&i(13,ke=W.playPrevVideo),"repeatPlaylist"in W&&i(14,ie=W.repeatPlaylist),"toggleFullscreen"in W&&i(15,Ke=W.toggleFullscreen)},t.$$.update=()=>{t.$$.dirty[2]&32&&i(19,pt=o.width<600),t.$$.dirty[0]&262144|t.$$.dirty[2]&32&&i(20,St=s||o.width>550),t.$$.dirty[0]&262144|t.$$.dirty[2]&32&&i(21,It=s||o.width>450),t.$$.dirty[0]&262144|t.$$.dirty[2]&32&&i(22,Rt=s||o.width>380),t.$$.dirty[0]&262144|t.$$.dirty[2]&48&&i(23,Bt=te&&(s||o.width>300)),t.$$.dirty[0]&262144|t.$$.dirty[2]&32&&i(24,ht=s||o.width>220),t.$$.dirty[0]&131080|t.$$.dirty[2]&32&&i(25,Ot=(!r||C)&&o.width>200),t.$$.dirty[0]&65540&&i(26,Kt=l||k)},[O,I,k,C,Y,q,H,U,X,fe,K,j,Ne,ke,ie,Ke,l,r,s,pt,St,It,Rt,Bt,ht,Ot,Kt,n,c,a,d,m,f,p,w,b,y,N,_,S,D,we,pe,he,ye,ue,z,$,le,ee,ot,Ge,We,rt,Ze,Xe,dt,vt,it,Re,$e,mt,zt,Pt,Vt,Gt,te,o,Ie]}class Ku extends be{constructor(e){super(),ge(this,e,Yu,Wu,me,{hidden:1,showControls:2,controlsElementRef:0,isAds:3,canRewindLive:4,logoClickable:5,logoHidden:6,showNextPrevButtons:7,nextButtonActive:8,prevButtonActive:9,isOneVideoPlaylist:10,supportLink:11,canShowTimeline:66,playNextVideo:12,playPrevVideo:13,repeatPlaylist:14,toggleFullscreen:15},Ru,[-1,-1,-1])}}function Gu(t){Se(t,"v-y9pij4",".container.v-y9pij4.v-y9pij4{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-y9pij4.v-y9pij4{opacity:0;visibility:hidden}.playButton.v-y9pij4.v-y9pij4{position:absolute;top:0;bottom:0;left:0;right:0;margin:auto;width:var(--videoplayer-big-play-size);height:var(--videoplayer-big-play-size);display:flex;align-items:center;justify-content:center}.playButtonBackground.v-y9pij4.v-y9pij4{position:absolute;top:0;bottom:0;left:0;right:0;border-radius:var(--videoplayer-big-play-radius);background-color:var(--videoplayer-big-play-bg-color);transition:background 0.2s, transform 0.2s;transition-timing-function:ease-out;will-change:background, transform}.container.v-y9pij4:hover .playButtonBackground.v-y9pij4{background-color:var(--videoplayer-big-play-hover-bg-color);transform:scale(1.15)}.playButtonIcon.v-y9pij4.v-y9pij4{position:relative;width:48px;height:48px}")}function Xu(t){let e,i,n,l,o,r,s,c,a;return{c(){e=g("div"),i=g("div"),n=g("div"),l=L(),o=g("img"),u(n,"class","playButtonBackground v-y9pij4"),Ee(o.src,r=kn)||u(o,"src",r),u(o,"class","playButtonIcon v-y9pij4"),u(o,"alt",""),u(i,"class","playButton v-y9pij4"),u(e,"class","container v-y9pij4"),u(e,"style",s=`background-color: #222; background-image: url('${t[0]||""}')`),E(e,"hidden",t[1])},m(d,m){M(d,e,m),v(e,i),v(i,n),v(i,l),v(i,o),c||(a=oe(e,"click",function(){Ue(t[2])&&t[2].apply(this,arguments)}),c=!0)},p(d,[m]){t=d,m&1&&s!==(s=`background-color: #222; background-image: url('${t[0]||""}')`)&&u(e,"style",s),m&2&&E(e,"hidden",t[1])},i:B,o:B,d(d){d&&T(e),c=!1,a()}}}function Ju(t,e,i){let{thumbUrl:n}=e,{hidden:l}=e,{startVideo:o}=e;return t.$$set=r=>{"thumbUrl"in r&&i(0,n=r.thumbUrl),"hidden"in r&&i(1,l=r.hidden),"startVideo"in r&&i(2,o=r.startVideo)},[n,l,o]}class Zu extends be{constructor(e){super(),ge(this,e,Ju,Xu,me,{thumbUrl:0,hidden:1,startVideo:2},Gu)}}function xu(t){Se(t,"v-8nkw5s",".container.v-8nkw5s.v-8nkw5s{position:absolute;top:50%;left:50%;transform:translate(-50%, -50%);pointer-events:none;display:flex}.dot.v-8nkw5s.v-8nkw5s:nth-child(1){animation-delay:calc(0 * 180ms)}.dot.v-8nkw5s.v-8nkw5s:nth-child(2){animation-delay:calc(1 * 180ms)}.dot.v-8nkw5s.v-8nkw5s:nth-child(3){animation-delay:calc(2 * 180ms)}@keyframes v-8nkw5s-dot_animation{0%{opacity:0.2}30%{opacity:1}100%{opacity:0.2}}.dot.v-8nkw5s.v-8nkw5s{border-radius:4px;width:8px;height:8px;background:var(--white);animation-duration:750ms;animation-name:v-8nkw5s-dot_animation;animation-iteration-count:infinite}.dot.v-8nkw5s+.dot.v-8nkw5s{margin-left:4px}")}function $u(t){let e;return{c(){e=g("div"),e.innerHTML=`<div class="dot v-8nkw5s"></div>
|
|
16
|
+
var(--videoplayer-controls-transition-fn);will-change:transform;padding:0 16px;box-sizing:border-box}.controls-element+.controls-element{padding-left:8px}.hidden.v-17mht85.v-17mht85{visibility:hidden;opacity:0}.controls-hidden.v-17mht85.v-17mht85{visibility:visible;transform:translateY(100%)}.settings-desktop.v-17mht85.v-17mht85{bottom:42px;right:18px;position:absolute;transition:opacity 0.2s, visibility 0.2s}.settings-mobile.v-17mht85.v-17mht85{position:absolute;top:50%;left:50%;transform:translate(-50%,-50%);transition:opacity var(--videoplayer-controls-transition-duration);display:flex;align-items:center;max-width:320px;width:90%}.overlay-mobile.v-17mht85.v-17mht85{position:absolute;top:0;left:0;width:100%;height:100%;background-color:rgba(0, 0, 0, .3);pointer-events:none;transition:opacity var(--videoplayer-controls-transition-duration)}.wrapper-bottom-fullscreen-desktop.v-17mht85 .controls.v-17mht85{--videoplayer-controls-height:50px;font-size:16px}.wrapper-bottom-fullscreen-desktop.v-17mht85 .ui-time{padding-left:20px;padding-right:15px}.wrapper-bottom-fullscreen-desktop.v-17mht85 .controls-play-button{padding-left:20px;padding-right:11px}.mobile-top-right-button+.mobile-top-right-button{margin-left:24px}@media screen and (orientation: portrait){.wrapper-top-right.wrapper-top-fullscreen-mobile.v-17mht85.v-17mht85{top:36px}.wrapper-top-left.wrapper-top-fullscreen-mobile.v-17mht85.v-17mht85{top:32px}.controls.controls-fullscreen-mobile.v-17mht85.v-17mht85{bottom:36px}}@media screen and (orientation: landscape){.wrapper-top-left.wrapper-top-fullscreen-mobile.v-17mht85.v-17mht85{left:32px}.wrapper-top-right.wrapper-top-fullscreen-mobile.v-17mht85.v-17mht85{right:36px}.controls.controls-fullscreen-mobile.v-17mht85.v-17mht85{left:20px;right:20px;bottom:24px}}`)}function Ti(t){let e,i,n,l,o,r,s,a,c,f,m,p,d,b,C,S=(!t[27]||t[29])&&Ni(t),L=t[21]&&Ii(t),N=t[57]&&Ws(t);a=new Vn({props:{className:"mobile-top-right-button"}});let k=!t[6]&&zi(t),B=t[7]&&Bi(t);d=new Et({props:{playbackState:t[32],adPlaybackState:t[33],isAds:t[3],handlePlayClick:t[41],repeatPlaylist:t[14],isEnded:t[34],isOneVideoPlaylist:t[10]}});let A=t[7]&&Ri(t);return{c(){e=g("div"),i=z(),n=g("div"),S&&S.c(),l=z(),o=g("div"),L&&L.c(),r=z(),N&&N.c(),s=z(),i0(a.$$.fragment),c=z(),k&&k.c(),f=z(),m=g("div"),B&&B.c(),p=z(),i0(d.$$.fragment),b=z(),A&&A.c(),u(e,"class","overlay-mobile v-17mht85"),H(e,"hidden",!t[26]),u(n,"class","wrapper-top-left v-17mht85"),H(n,"hidden",!t[2]),H(n,"wrapper-top-fullscreen-mobile",t[28]&&t[18]),u(o,"class","wrapper-top-right v-17mht85"),H(o,"hidden",!t[2]),H(o,"wrapper-top-fullscreen-mobile",t[28]&&t[18]),u(m,"class","wrapper-middle v-17mht85"),H(m,"hidden",!t[2]||t[31])},m(y,M){T(y,e,M),T(y,i,M),T(y,n,M),S&&S.m(n,null),T(y,l,M),T(y,o,M),L&&L.m(o,null),v(o,r),N&&N.m(o,null),v(o,s),$(a,o,null),v(o,c),k&&k.m(o,null),T(y,f,M),T(y,m,M),B&&B.m(m,null),v(m,p),$(d,m,null),v(m,b),A&&A.m(m,null),C=!0},p(y,M){(!C||M[0]&67108864)&&H(e,"hidden",!y[26]),!y[27]||y[29]?S?(S.p(y,M),M[0]&671088640&&h(S,1)):(S=Ni(y),S.c(),h(S,1),S.m(n,null)):S&&(a0(),_(S,1,1,()=>{S=null}),c0()),(!C||M[0]&4)&&H(n,"hidden",!y[2]),(!C||M[0]&268697600)&&H(n,"wrapper-top-fullscreen-mobile",y[28]&&y[18]),y[21]?L?(L.p(y,M),M[0]&2097152&&h(L,1)):(L=Ii(y),L.c(),h(L,1),L.m(o,r)):L&&(a0(),_(L,1,1,()=>{L=null}),c0()),y[57]&&N.p(y,M),y[6]?k&&(a0(),_(k,1,1,()=>{k=null}),c0()):k?(k.p(y,M),M[0]&64&&h(k,1)):(k=zi(y),k.c(),h(k,1),k.m(o,null)),(!C||M[0]&4)&&H(o,"hidden",!y[2]),(!C||M[0]&268697600)&&H(o,"wrapper-top-fullscreen-mobile",y[28]&&y[18]),y[7]?B?(B.p(y,M),M[0]&128&&h(B,1)):(B=Bi(y),B.c(),h(B,1),B.m(m,p)):B&&(a0(),_(B,1,1,()=>{B=null}),c0());const V={};M[1]&2&&(V.playbackState=y[32]),M[1]&4&&(V.adPlaybackState=y[33]),M[0]&8&&(V.isAds=y[3]),M[0]&16384&&(V.repeatPlaylist=y[14]),M[1]&8&&(V.isEnded=y[34]),M[0]&1024&&(V.isOneVideoPlaylist=y[10]),d.$set(V),y[7]?A?(A.p(y,M),M[0]&128&&h(A,1)):(A=Ri(y),A.c(),h(A,1),A.m(m,null)):A&&(a0(),_(A,1,1,()=>{A=null}),c0()),(!C||M[0]&4|M[1]&1)&&H(m,"hidden",!y[2]||y[31])},i(y){C||(h(S),h(L),h(N),h(a.$$.fragment,y),h(k),h(B),h(d.$$.fragment,y),h(A),C=!0)},o(y){_(S),_(L),_(N),_(a.$$.fragment,y),_(k),_(B),_(d.$$.fragment,y),_(A),C=!1},d(y){y&&E(e),y&&E(i),y&&E(n),S&&S.d(),y&&E(l),y&&E(o),L&&L.d(),N&&N.d(),e0(a),k&&k.d(),y&&E(f),y&&E(m),B&&B.d(),e0(d),A&&A.d()}}}function Ni(t){let e,i;return e=new Nn({props:{expanded:!t[48]&&t[30]}}),e.$on("click",t[68]),{c(){i0(e.$$.fragment)},m(n,l){$(e,n,l),i=!0},p(n,l){const o={};l[0]&1073741824&&(o.expanded=!n[48]&&n[30]),e.$set(o)},i(n){i||(h(e.$$.fragment,n),i=!0)},o(n){_(e.$$.fragment,n),i=!1},d(n){e0(e,n)}}}function Ii(t){let e,i;return e=new Tn({props:{isMobile:t[18],className:"chromecast mobile-top-right-button"}}),e.$on("click",t[64]),{c(){i0(e.$$.fragment)},m(n,l){$(e,n,l),i=!0},p(n,l){const o={};l[0]&262144&&(o.isMobile=n[18]),e.$set(o)},i(n){i||(h(e.$$.fragment,n),i=!0)},o(n){_(e.$$.fragment,n),i=!1},d(n){e0(e,n)}}}function Ws(t){let e,i;return e=new qs({props:{className:"mobile-top-right-button"}}),e.$on("click",t[67]),{c(){i0(e.$$.fragment)},m(n,l){$(e,n,l),i=!0},p:R,i(n){i||(h(e.$$.fragment,n),i=!0)},o(n){_(e.$$.fragment,n),i=!1},d(n){e0(e,n)}}}function zi(t){let e,i;return e=new En({props:{className:"mobile-top-right-button",logoClickable:t[5]}}),e.$on("click",t[42]),{c(){i0(e.$$.fragment)},m(n,l){$(e,n,l),i=!0},p(n,l){const o={};l[0]&32&&(o.logoClickable=n[5]),e.$set(o)},i(n){i||(h(e.$$.fragment,n),i=!0)},o(n){_(e.$$.fragment,n),i=!1},d(n){e0(e,n)}}}function Bi(t){let e,i;return e=new j1({props:{type:"prev",disabled:!t[9]}}),e.$on("click",function(){D0(t[13])&&t[13].apply(this,arguments)}),{c(){i0(e.$$.fragment)},m(n,l){$(e,n,l),i=!0},p(n,l){t=n;const o={};l[0]&512&&(o.disabled=!t[9]),e.$set(o)},i(n){i||(h(e.$$.fragment,n),i=!0)},o(n){_(e.$$.fragment,n),i=!1},d(n){e0(e,n)}}}function Ri(t){let e,i;return e=new j1({props:{type:"next",disabled:!t[8]}}),e.$on("click",function(){D0(t[12])&&t[12].apply(this,arguments)}),{c(){i0(e.$$.fragment)},m(n,l){$(e,n,l),i=!0},p(n,l){t=n;const o={};l[0]&256&&(o.disabled=!t[8]),e.$set(o)},i(n){i||(h(e.$$.fragment,n),i=!0)},o(n){_(e.$$.fragment,n),i=!1},d(n){e0(e,n)}}}function Oi(t){let e,i,n,l,o,r=t[29]&&Zi(t),s=t[33]===Z0.PAUSED&&Fi(t);return l=new In({props:{position:t[35],duration:t[36]}}),{c(){r&&r.c(),e=z(),s&&s.c(),i=z(),n=g("div"),i0(l.$$.fragment),u(n,"class","wrapper-bottom ads-timeline-mobile v-17mht85")},m(a,c){r&&r.m(a,c),T(a,e,c),s&&s.m(a,c),T(a,i,c),T(a,n,c),$(l,n,null),o=!0},p(a,c){a[29]?r?(r.p(a,c),c[0]&536870912&&h(r,1)):(r=Zi(a),r.c(),h(r,1),r.m(e.parentNode,e)):r&&(a0(),_(r,1,1,()=>{r=null}),c0()),a[33]===Z0.PAUSED?s?(s.p(a,c),c[1]&4&&h(s,1)):(s=Fi(a),s.c(),h(s,1),s.m(i.parentNode,i)):s&&(a0(),_(s,1,1,()=>{s=null}),c0());const f={};c[1]&16&&(f.position=a[35]),c[1]&32&&(f.duration=a[36]),l.$set(f)},i(a){o||(h(r),h(s),h(l.$$.fragment,a),o=!0)},o(a){_(r),_(s),_(l.$$.fragment,a),o=!1},d(a){r&&r.d(a),a&&E(e),s&&s.d(a),a&&E(i),a&&E(n),e0(l)}}}function Zi(t){let e,i,n;return i=new Nn({props:{expanded:!1}}),i.$on("click",t[68]),{c(){e=g("div"),i0(i.$$.fragment),u(e,"class","wrapper-top-right v-17mht85")},m(l,o){T(l,e,o),$(i,e,null),n=!0},p:R,i(l){n||(h(i.$$.fragment,l),n=!0)},o(l){_(i.$$.fragment,l),n=!1},d(l){l&&E(e),e0(i)}}}function Fi(t){let e,i,n;return i=new Et({props:{playbackState:t[32],adPlaybackState:t[33],isAds:!0,handlePlayClick:t[41],repeatPlaylist:R,isEnded:!1,isOneVideoPlaylist:!1}}),{c(){e=g("div"),i0(i.$$.fragment),u(e,"class","wrapper-middle v-17mht85")},m(l,o){T(l,e,o),$(i,e,null),n=!0},p(l,o){const r={};o[1]&2&&(r.playbackState=l[32]),o[1]&4&&(r.adPlaybackState=l[33]),i.$set(r)},i(l){n||(h(i.$$.fragment,l),n=!0)},o(l){_(i.$$.fragment,l),n=!1},d(l){l&&E(e),e0(i)}}}function ji(t){let e,i,n,l,o,r=t[7]&&!t[3]&&Di(t);i=new Pe({props:{className:"controls-element",$$slots:{default:[Ys]},$$scope:{ctx:t}}});let s=t[7]&&!t[3]&&Ui(t);return{c(){r&&r.c(),e=z(),i0(i.$$.fragment),n=z(),s&&s.c(),l=$0()},m(a,c){r&&r.m(a,c),T(a,e,c),$(i,a,c),T(a,n,c),s&&s.m(a,c),T(a,l,c),o=!0},p(a,c){a[7]&&!a[3]?r?(r.p(a,c),c[0]&136&&h(r,1)):(r=Di(a),r.c(),h(r,1),r.m(e.parentNode,e)):r&&(a0(),_(r,1,1,()=>{r=null}),c0());const f={};c[0]&17416|c[1]&14|c[2]&262144&&(f.$$scope={dirty:c,ctx:a}),i.$set(f),a[7]&&!a[3]?s?(s.p(a,c),c[0]&136&&h(s,1)):(s=Ui(a),s.c(),h(s,1),s.m(l.parentNode,l)):s&&(a0(),_(s,1,1,()=>{s=null}),c0())},i(a){o||(h(r),h(i.$$.fragment,a),h(s),o=!0)},o(a){_(r),_(i.$$.fragment,a),_(s),o=!1},d(a){r&&r.d(a),a&&E(e),e0(i,a),a&&E(n),s&&s.d(a),a&&E(l)}}}function Di(t){let e,i;return e=new Pe({props:{className:"controls-element",disabled:!t[9],$$slots:{default:[Gs]},$$scope:{ctx:t}}}),{c(){i0(e.$$.fragment)},m(n,l){$(e,n,l),i=!0},p(n,l){const o={};l[0]&512&&(o.disabled=!n[9]),l[0]&8704|l[2]&262144&&(o.$$scope={dirty:l,ctx:n}),e.$set(o)},i(n){i||(h(e.$$.fragment,n),i=!0)},o(n){_(e.$$.fragment,n),i=!1},d(n){e0(e,n)}}}function Gs(t){let e,i;return e=new j1({props:{type:"prev",disabled:!t[9]}}),e.$on("click",function(){D0(t[13])&&t[13].apply(this,arguments)}),{c(){i0(e.$$.fragment)},m(n,l){$(e,n,l),i=!0},p(n,l){t=n;const o={};l[0]&512&&(o.disabled=!t[9]),e.$set(o)},i(n){i||(h(e.$$.fragment,n),i=!0)},o(n){_(e.$$.fragment,n),i=!1},d(n){e0(e,n)}}}function Ys(t){let e,i;return e=new Et({props:{className:"controls-play-button",playbackState:t[32],adPlaybackState:t[33],isAds:t[3],handlePlayClick:t[41],repeatPlaylist:t[14],isEnded:t[34],isOneVideoPlaylist:t[10]}}),{c(){i0(e.$$.fragment)},m(n,l){$(e,n,l),i=!0},p(n,l){const o={};l[1]&2&&(o.playbackState=n[32]),l[1]&4&&(o.adPlaybackState=n[33]),l[0]&8&&(o.isAds=n[3]),l[0]&16384&&(o.repeatPlaylist=n[14]),l[1]&8&&(o.isEnded=n[34]),l[0]&1024&&(o.isOneVideoPlaylist=n[10]),e.$set(o)},i(n){i||(h(e.$$.fragment,n),i=!0)},o(n){_(e.$$.fragment,n),i=!1},d(n){e0(e,n)}}}function Ui(t){let e,i;return e=new Pe({props:{className:"controls-element",disabled:!t[8],$$slots:{default:[Ks]},$$scope:{ctx:t}}}),{c(){i0(e.$$.fragment)},m(n,l){$(e,n,l),i=!0},p(n,l){const o={};l[0]&256&&(o.disabled=!n[8]),l[0]&4352|l[2]&262144&&(o.$$scope={dirty:l,ctx:n}),e.$set(o)},i(n){i||(h(e.$$.fragment,n),i=!0)},o(n){_(e.$$.fragment,n),i=!1},d(n){e0(e,n)}}}function Ks(t){let e,i;return e=new j1({props:{type:"next",disabled:!t[8]}}),e.$on("click",function(){D0(t[12])&&t[12].apply(this,arguments)}),{c(){i0(e.$$.fragment)},m(n,l){$(e,n,l),i=!0},p(n,l){t=n;const o={};l[0]&256&&(o.disabled=!t[8]),e.$set(o)},i(n){i||(h(e.$$.fragment,n),i=!0)},o(n){_(e.$$.fragment,n),i=!1},d(n){e0(e,n)}}}function qi(t){let e,i;return e=new Pe({props:{className:"controls-element",$$slots:{default:[Xs]},$$scope:{ctx:t}}}),{c(){i0(e.$$.fragment)},m(n,l){$(e,n,l),i=!0},p(n,l){const o={};l[1]&64|l[2]&262144&&(o.$$scope={dirty:l,ctx:n}),e.$set(o)},i(n){i||(h(e.$$.fragment,n),i=!0)},o(n){_(e.$$.fragment,n),i=!1},d(n){e0(e,n)}}}function Xs(t){let e,i;return e=new bs({props:{isActiveLive:t[37]}}),e.$on("click",t[65]),{c(){i0(e.$$.fragment)},m(n,l){$(e,n,l),i=!0},p(n,l){const o={};l[1]&64&&(o.isActiveLive=n[37]),e.$set(o)},i(n){i||(h(e.$$.fragment,n),i=!0)},o(n){_(e.$$.fragment,n),i=!1},d(n){e0(e,n)}}}function Qi(t){let e,i;return e=new zn({props:{isHidden:!t[23],isAds:t[3],canRewindLive:t[4],className:"controls-element"}}),{c(){i0(e.$$.fragment)},m(n,l){$(e,n,l),i=!0},p(n,l){const o={};l[0]&8388608&&(o.isHidden=!n[23]),l[0]&8&&(o.isAds=n[3]),l[0]&16&&(o.canRewindLive=n[4]),e.$set(o)},i(n){i||(h(e.$$.fragment,n),i=!0)},o(n){_(e.$$.fragment,n),i=!1},d(n){e0(e,n)}}}function Wi(t){let e,i;return e=new dr({props:{className:"ui-time controls-element",showDuration:t[20],position:t[3]?t[35]:t[38],duration:t[3]?t[36]:t[39]}}),{c(){i0(e.$$.fragment)},m(n,l){$(e,n,l),i=!0},p(n,l){const o={};l[0]&1048576&&(o.showDuration=n[20]),l[0]&8|l[1]&144&&(o.position=n[3]?n[35]:n[38]),l[0]&8|l[1]&288&&(o.duration=n[3]?n[36]:n[39]),e.$set(o)},i(n){i||(h(e.$$.fragment,n),i=!0)},o(n){_(e.$$.fragment,n),i=!1},d(n){e0(e,n)}}}function Gi(t){let e,i;return e=new zn({props:{isHidden:!t[23],isAds:t[3],canRewindLive:t[4],className:"controls-element"}}),{c(){i0(e.$$.fragment)},m(n,l){$(e,n,l),i=!0},p(n,l){const o={};l[0]&8388608&&(o.isHidden=!n[23]),l[0]&8&&(o.isAds=n[3]),l[0]&16&&(o.canRewindLive=n[4]),e.$set(o)},i(n){i||(h(e.$$.fragment,n),i=!0)},o(n){_(e.$$.fragment,n),i=!1},d(n){e0(e,n)}}}function Yi(t){let e,i,n,l;e=new Pe({props:{className:"controls-element",$$slots:{default:[xs]},$$scope:{ctx:t}}});let o=!t[40]&&!t[3]&&Ki(t);return{c(){i0(e.$$.fragment),i=z(),o&&o.c(),n=$0()},m(r,s){$(e,r,s),T(r,i,s),o&&o.m(r,s),T(r,n,s),l=!0},p(r,s){const a={};s[0]&134742016|s[2]&262144&&(a.$$scope={dirty:s,ctx:r}),e.$set(a),!r[40]&&!r[3]?o?(o.p(r,s),s[0]&8|s[1]&512&&h(o,1)):(o=Ki(r),o.c(),h(o,1),o.m(n.parentNode,n)):o&&(a0(),_(o,1,1,()=>{o=null}),c0())},i(r){l||(h(e.$$.fragment,r),h(o),l=!0)},o(r){_(e.$$.fragment,r),_(o),l=!1},d(r){e0(e,r),r&&E(i),o&&o.d(r),r&&E(n)}}}function xs(t){let e,i;return e=new Pr({props:{isAudioAvailable:t[27],isVerticalVolume:t[19]}}),e.$on("click",t[66]),{c(){i0(e.$$.fragment)},m(n,l){$(e,n,l),i=!0},p(n,l){const o={};l[0]&134217728&&(o.isAudioAvailable=n[27]),l[0]&524288&&(o.isVerticalVolume=n[19]),e.$set(o)},i(n){i||(h(e.$$.fragment,n),i=!0)},o(n){_(e.$$.fragment,n),i=!1},d(n){e0(e,n)}}}function Ki(t){let e,i,n,l,o;i=new kn({props:{supportLink:t[11]}});let r=t[22]&&Xi(t);return{c(){e=g("div"),i0(i.$$.fragment),n=z(),r&&r.c(),l=$0(),u(e,"class","settings-desktop v-17mht85")},m(s,a){T(s,e,a),$(i,e,null),T(s,n,a),r&&r.m(s,a),T(s,l,a),o=!0},p(s,a){const c={};a[0]&2048&&(c.supportLink=s[11]),i.$set(c),s[22]?r?a[0]&4194304&&h(r,1):(r=Xi(s),r.c(),h(r,1),r.m(l.parentNode,l)):r&&(a0(),_(r,1,1,()=>{r=null}),c0())},i(s){o||(h(i.$$.fragment,s),h(r),o=!0)},o(s){_(i.$$.fragment,s),_(r),o=!1},d(s){s&&E(e),e0(i),s&&E(n),r&&r.d(s),s&&E(l)}}}function Xi(t){let e,i;return e=new Pe({props:{className:"controls-element",$$slots:{default:[Js]},$$scope:{ctx:t}}}),{c(){i0(e.$$.fragment)},m(n,l){$(e,n,l),i=!0},i(n){i||(h(e.$$.fragment,n),i=!0)},o(n){_(e.$$.fragment,n),i=!1},d(n){e0(e,n)}}}function Js(t){let e,i;return e=new Vn({props:{className:"ui-settings"}}),{c(){i0(e.$$.fragment)},m(n,l){$(e,n,l),i=!0},p:R,i(n){i||(h(e.$$.fragment,n),i=!0)},o(n){_(e.$$.fragment,n),i=!1},d(n){e0(e,n)}}}function xi(t){let e,i;return e=new Pe({props:{className:"controls-element",$$slots:{default:[$s]},$$scope:{ctx:t}}}),{c(){i0(e.$$.fragment)},m(n,l){$(e,n,l),i=!0},p(n,l){const o={};l[0]&32768|l[2]&262144&&(o.$$scope={dirty:l,ctx:n}),e.$set(o)},i(n){i||(h(e.$$.fragment,n),i=!0)},o(n){_(e.$$.fragment,n),i=!1},d(n){e0(e,n)}}}function $s(t){let e,i;return e=new Ir({}),e.$on("click",function(){D0(t[15])&&t[15].apply(this,arguments)}),{c(){i0(e.$$.fragment)},m(n,l){$(e,n,l),i=!0},p(n,l){t=n},i(n){i||(h(e.$$.fragment,n),i=!0)},o(n){_(e.$$.fragment,n),i=!1},d(n){e0(e,n)}}}function Ji(t){let e,i,n,l=t[21]&&$i(t),o=!t[6]&&e6(t);return{c(){l&&l.c(),e=z(),o&&o.c(),i=$0()},m(r,s){l&&l.m(r,s),T(r,e,s),o&&o.m(r,s),T(r,i,s),n=!0},p(r,s){r[21]?l?(l.p(r,s),s[0]&2097152&&h(l,1)):(l=$i(r),l.c(),h(l,1),l.m(e.parentNode,e)):l&&(a0(),_(l,1,1,()=>{l=null}),c0()),r[6]?o&&(a0(),_(o,1,1,()=>{o=null}),c0()):o?(o.p(r,s),s[0]&64&&h(o,1)):(o=e6(r),o.c(),h(o,1),o.m(i.parentNode,i))},i(r){n||(h(l),h(o),n=!0)},o(r){_(l),_(o),n=!1},d(r){l&&l.d(r),r&&E(e),o&&o.d(r),r&&E(i)}}}function $i(t){let e,i;return e=new Pe({props:{className:"controls-element",$$slots:{default:[e4]},$$scope:{ctx:t}}}),{c(){i0(e.$$.fragment)},m(n,l){$(e,n,l),i=!0},p(n,l){const o={};l[0]&262144|l[2]&262144&&(o.$$scope={dirty:l,ctx:n}),e.$set(o)},i(n){i||(h(e.$$.fragment,n),i=!0)},o(n){_(e.$$.fragment,n),i=!1},d(n){e0(e,n)}}}function e4(t){let e,i;return e=new Tn({props:{isMobile:t[18],className:"chromecast"}}),e.$on("click",t[64]),{c(){i0(e.$$.fragment)},m(n,l){$(e,n,l),i=!0},p(n,l){const o={};l[0]&262144&&(o.isMobile=n[18]),e.$set(o)},i(n){i||(h(e.$$.fragment,n),i=!0)},o(n){_(e.$$.fragment,n),i=!1},d(n){e0(e,n)}}}function e6(t){let e,i;return e=new Pe({props:{className:"controls-element",disabled:!t[5],$$slots:{default:[t4]},$$scope:{ctx:t}}}),{c(){i0(e.$$.fragment)},m(n,l){$(e,n,l),i=!0},p(n,l){const o={};l[0]&32&&(o.disabled=!n[5]),l[0]&32|l[2]&262144&&(o.$$scope={dirty:l,ctx:n}),e.$set(o)},i(n){i||(h(e.$$.fragment,n),i=!0)},o(n){_(e.$$.fragment,n),i=!1},d(n){e0(e,n)}}}function t4(t){let e,i;return e=new En({props:{logoClickable:t[5]}}),e.$on("click",t[42]),{c(){i0(e.$$.fragment)},m(n,l){$(e,n,l),i=!0},p(n,l){const o={};l[0]&32&&(o.logoClickable=n[5]),e.$set(o)},i(n){i||(h(e.$$.fragment,n),i=!0)},o(n){_(e.$$.fragment,n),i=!1},d(n){e0(e,n)}}}function t6(t){let e,i,n;return i=new kn({props:{supportLink:t[11]}}),{c(){e=g("div"),i0(i.$$.fragment),u(e,"class","settings-mobile v-17mht85")},m(l,o){T(l,e,o),$(i,e,null),n=!0},p(l,o){const r={};o[0]&2048&&(r.supportLink=l[11]),i.$set(r)},i(l){n||(h(i.$$.fragment,l),n=!0)},o(l){_(i.$$.fragment,l),n=!1},d(l){l&&E(e),e0(i)}}}function i4(t){let e,i,n,l,o,r,s,a,c,f,m,p,d,b,C=t[18]&&!t[3]&&Ti(t),S=t[18]&&t[3]&&t[33]!==Z0.INACTIVE&&Oi(t),L=!t[18]&&ji(t),N=!t[3]&&t[17]&&qi(t),k=!t[18]&&Qi(t),B=t[25]&&Wi(t),A=t[18]&&Gi(t),y=!t[18]&&Yi(t),M=t[24]&&xi(t),V=!t[18]&&Ji(t),W=t[18]&&t[16]&&t6(t);return{c(){C&&C.c(),e=z(),S&&S.c(),i=z(),n=g("div"),l=g("div"),L&&L.c(),o=z(),N&&N.c(),r=z(),k&&k.c(),s=z(),B&&B.c(),a=z(),A&&A.c(),c=z(),y&&y.c(),f=z(),M&&M.c(),m=z(),V&&V.c(),p=z(),W&&W.c(),d=$0(),u(l,"class","controls v-17mht85"),H(l,"controls-hidden",!t[2]),H(l,"controls-fullscreen-mobile",t[28]&&t[18]),u(n,"class","wrapper-bottom v-17mht85"),H(n,"hidden",t[1]),H(n,"controls-hidden",!t[2]),H(n,"wrapper-bottom-fullscreen-desktop",t[28]&&!t[18])},m(I,G){C&&C.m(I,G),T(I,e,G),S&&S.m(I,G),T(I,i,G),T(I,n,G),v(n,l),L&&L.m(l,null),v(l,o),N&&N.m(l,null),v(l,r),k&&k.m(l,null),v(l,s),B&&B.m(l,null),v(l,a),A&&A.m(l,null),v(l,c),y&&y.m(l,null),v(l,f),M&&M.m(l,null),v(l,m),V&&V.m(l,null),t[72](n),T(I,p,G),W&&W.m(I,G),T(I,d,G),b=!0},p(I,G){I[18]&&!I[3]?C?(C.p(I,G),G[0]&262152&&h(C,1)):(C=Ti(I),C.c(),h(C,1),C.m(e.parentNode,e)):C&&(a0(),_(C,1,1,()=>{C=null}),c0()),I[18]&&I[3]&&I[33]!==Z0.INACTIVE?S?(S.p(I,G),G[0]&262152|G[1]&4&&h(S,1)):(S=Oi(I),S.c(),h(S,1),S.m(i.parentNode,i)):S&&(a0(),_(S,1,1,()=>{S=null}),c0()),I[18]?L&&(a0(),_(L,1,1,()=>{L=null}),c0()):L?(L.p(I,G),G[0]&262144&&h(L,1)):(L=ji(I),L.c(),h(L,1),L.m(l,o)),!I[3]&&I[17]?N?(N.p(I,G),G[0]&131080&&h(N,1)):(N=qi(I),N.c(),h(N,1),N.m(l,r)):N&&(a0(),_(N,1,1,()=>{N=null}),c0()),I[18]?k&&(a0(),_(k,1,1,()=>{k=null}),c0()):k?(k.p(I,G),G[0]&262144&&h(k,1)):(k=Qi(I),k.c(),h(k,1),k.m(l,s)),I[25]?B?(B.p(I,G),G[0]&33554432&&h(B,1)):(B=Wi(I),B.c(),h(B,1),B.m(l,a)):B&&(a0(),_(B,1,1,()=>{B=null}),c0()),I[18]?A?(A.p(I,G),G[0]&262144&&h(A,1)):(A=Gi(I),A.c(),h(A,1),A.m(l,c)):A&&(a0(),_(A,1,1,()=>{A=null}),c0()),I[18]?y&&(a0(),_(y,1,1,()=>{y=null}),c0()):y?(y.p(I,G),G[0]&262144&&h(y,1)):(y=Yi(I),y.c(),h(y,1),y.m(l,f)),I[24]?M?(M.p(I,G),G[0]&16777216&&h(M,1)):(M=xi(I),M.c(),h(M,1),M.m(l,m)):M&&(a0(),_(M,1,1,()=>{M=null}),c0()),I[18]?V&&(a0(),_(V,1,1,()=>{V=null}),c0()):V?(V.p(I,G),G[0]&262144&&h(V,1)):(V=Ji(I),V.c(),h(V,1),V.m(l,null)),(!b||G[0]&4)&&H(l,"controls-hidden",!I[2]),(!b||G[0]&268697600)&&H(l,"controls-fullscreen-mobile",I[28]&&I[18]),(!b||G[0]&2)&&H(n,"hidden",I[1]),(!b||G[0]&4)&&H(n,"controls-hidden",!I[2]),(!b||G[0]&268697600)&&H(n,"wrapper-bottom-fullscreen-desktop",I[28]&&!I[18]),I[18]&&I[16]?W?(W.p(I,G),G[0]&327680&&h(W,1)):(W=t6(I),W.c(),h(W,1),W.m(d.parentNode,d)):W&&(a0(),_(W,1,1,()=>{W=null}),c0())},i(I){b||(h(C),h(S),h(L),h(N),h(k),h(B),h(A),h(y),h(M),h(V),h(W),b=!0)},o(I){_(C),_(S),_(L),_(N),_(k),_(B),_(A),_(y),_(M),_(V),_(W),b=!1},d(I){C&&C.d(I),I&&E(e),S&&S.d(I),I&&E(i),I&&E(n),L&&L.d(),N&&N.d(),k&&k.d(),B&&B.d(),A&&A.d(),y&&y.d(),M&&M.d(),V&&V.d(),t[72](null),I&&E(p),W&&W.d(I),I&&E(d)}}}function n4(t,e,i){let n,l,o,r,s,a,c,f,m,p,d,b,C,S,L,N,k,B,A;var y=this&&this.__awaiter||function(D,he,ae,ge){function o1(te){return te instanceof ae?te:new ae(function(we){we(te)})}return new(ae||(ae=Promise))(function(te,we){function Ke(X0){try{He(ge.next(X0))}catch(Ae){we(Ae)}}function Xe(X0){try{He(ge.throw(X0))}catch(Ae){we(Ae)}}function He(X0){X0.done?te(X0.value):o1(X0.value).then(Ke,Xe)}He((ge=ge.apply(D,he||[])).next())})},M,V;let{hidden:W}=e,{showControls:I}=e,{controlsElementRef:G=void 0}=e,{isAds:j=!1}=e,{canRewindLive:O}=e,{logoClickable:U}=e,{logoHidden:x}=e,{showNextPrevButtons:d0}=e,{nextButtonActive:X}=e,{prevButtonActive:Z}=e,{isOneVideoPlaylist:n0=!1}=e,{supportLink:E0}=e,{canShowTimeline:b0}=e,{playNextVideo:P0}=e,{playPrevVideo:W0}=e,{repeatPlaylist:f0}=e,{toggleFullscreen:l0}=e;const J=F0(),h0=J.actions.internal.toggleMuted,L0=J.actions.internal.togglePlay,Y=J.actions.internal.pause,w0=(M=J.callbacks)===null||M===void 0?void 0:M.onAudioDoesNotExistHint,u0=(V=J.callbacks)===null||V===void 0?void 0:V.onAudioDisabledHint,F=J.state.duration$;Q(t,F,D=>i(39,B=D));const q=J.state.positionWithScrubbing$;Q(t,q,D=>i(38,k=D));const t0=J.state.playbackState$;Q(t,t0,D=>i(32,d=D));const Q0=J.state.chromecastConnected$;Q(t,Q0,D=>i(40,A=D));const oe=J.state.isAudioAvailable$;Q(t,oe,D=>i(27,n=D));const K0=J.state.isAudioDisabled,Le=J.state.isEnded$;Q(t,Le,D=>i(34,C=D));const fe=J.state.isLive$;Q(t,fe,D=>i(17,r=D));const ve=J.state.isActiveLive$;Q(t,ve,D=>i(37,N=D));const ze=J.ui.scrubbingInProgress;Q(t,ze,D=>i(31,p=D));const Be=J.ui.isMobile;Q(t,Be,D=>i(18,s=D));const Re=J.ui.mobileUnmuteButtonExpanded;Q(t,Re,D=>i(30,m=D));const re=J.ui.mobileUnmuteButtonVisible;Q(t,re,D=>i(29,f=D));const be=J.ui.settingsMenuVisible;Q(t,be,D=>i(16,l=D));const I0=J.webApi.pictureInPictureApi,me=J.state.chromecastState$;Q(t,me,D=>i(71,a=D));const Oe=J.ads.duration;Q(t,Oe,D=>i(36,L=D));const Ce=J.ads.position;Q(t,Ce,D=>i(35,S=D));const se=J.ads.playbackState;Q(t,se,D=>i(33,b=D));const Se=J.ui.isFullscreen;Q(t,Se,D=>i(28,c=D));const Ze=J.ui.playerSize;Q(t,Ze,D=>i(70,o=D));const Fe=()=>J.actions.internal.toggleChromecast(),je=()=>J.actions.internal.switchToActiveLive();let De,Ue,qe,Me,Qe,We,M0,Ge;function Ye(){K0?u0==null||u0():n?h0():w0==null||w0()}function ee(){return y(this,void 0,void 0,function*(){I0!=null&&I0.isActive()?yield I0==null?void 0:I0.remove():yield I0==null?void 0:I0.request()})}function pe(){!K0&&n&&re.set(!1),Ye()}function _e(D){x0[D?"unshift":"push"](()=>{G=D,i(0,G)})}return t.$$set=D=>{"hidden"in D&&i(1,W=D.hidden),"showControls"in D&&i(2,I=D.showControls),"controlsElementRef"in D&&i(0,G=D.controlsElementRef),"isAds"in D&&i(3,j=D.isAds),"canRewindLive"in D&&i(4,O=D.canRewindLive),"logoClickable"in D&&i(5,U=D.logoClickable),"logoHidden"in D&&i(6,x=D.logoHidden),"showNextPrevButtons"in D&&i(7,d0=D.showNextPrevButtons),"nextButtonActive"in D&&i(8,X=D.nextButtonActive),"prevButtonActive"in D&&i(9,Z=D.prevButtonActive),"isOneVideoPlaylist"in D&&i(10,n0=D.isOneVideoPlaylist),"supportLink"in D&&i(11,E0=D.supportLink),"canShowTimeline"in D&&i(69,b0=D.canShowTimeline),"playNextVideo"in D&&i(12,P0=D.playNextVideo),"playPrevVideo"in D&&i(13,W0=D.playPrevVideo),"repeatPlaylist"in D&&i(14,f0=D.repeatPlaylist),"toggleFullscreen"in D&&i(15,l0=D.toggleFullscreen)},t.$$.update=()=>{t.$$.dirty[2]&256&&i(19,De=o.width<600),t.$$.dirty[0]&262144|t.$$.dirty[2]&256&&i(20,Ue=s||o.width>550),t.$$.dirty[0]&262144|t.$$.dirty[2]&768&&i(21,qe=a!==V0.ChromecastState.NOT_AVAILABLE&&(s||o.width>450)),t.$$.dirty[0]&262144|t.$$.dirty[2]&256&&i(22,Me=s||o.width>380),t.$$.dirty[0]&262144|t.$$.dirty[2]&384&&i(23,Qe=b0&&(s||o.width>300)),t.$$.dirty[0]&262144|t.$$.dirty[2]&256&&i(24,We=s||o.width>220),t.$$.dirty[0]&131080|t.$$.dirty[2]&256&&i(25,M0=(!r||j)&&o.width>200),t.$$.dirty[0]&65540&&i(26,Ge=l||I)},[G,W,I,j,O,U,x,d0,X,Z,n0,E0,P0,W0,f0,l0,l,r,s,De,Ue,qe,Me,Qe,We,M0,Ge,n,c,f,m,p,d,b,C,S,L,N,k,B,A,L0,Y,F,q,t0,Q0,oe,K0,Le,fe,ve,ze,Be,Re,re,be,I0,me,Oe,Ce,se,Se,Ze,Fe,je,Ye,ee,pe,b0,o,a,_e]}class l4 extends p0{constructor(e){super(),m0(this,e,n4,i4,v0,{hidden:1,showControls:2,controlsElementRef:0,isAds:3,canRewindLive:4,logoClickable:5,logoHidden:6,showNextPrevButtons:7,nextButtonActive:8,prevButtonActive:9,isOneVideoPlaylist:10,supportLink:11,canShowTimeline:69,playNextVideo:12,playPrevVideo:13,repeatPlaylist:14,toggleFullscreen:15},Qs,[-1,-1,-1])}}function o4(t){_0(t,"v-y9pij4",".container.v-y9pij4.v-y9pij4{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-y9pij4.v-y9pij4{opacity:0;visibility:hidden}.playButton.v-y9pij4.v-y9pij4{position:absolute;top:0;bottom:0;left:0;right:0;margin:auto;width:var(--videoplayer-big-play-size);height:var(--videoplayer-big-play-size);display:flex;align-items:center;justify-content:center}.playButtonBackground.v-y9pij4.v-y9pij4{position:absolute;top:0;bottom:0;left:0;right:0;border-radius:var(--videoplayer-big-play-radius);background-color:var(--videoplayer-big-play-bg-color);transition:background 0.2s, transform 0.2s;transition-timing-function:ease-out;will-change:background, transform}.container.v-y9pij4:hover .playButtonBackground.v-y9pij4{background-color:var(--videoplayer-big-play-hover-bg-color);transform:scale(1.15)}.playButtonIcon.v-y9pij4.v-y9pij4{position:relative;width:48px;height:48px}")}function r4(t){let e,i,n,l,o,r,s,a,c;return{c(){e=g("div"),i=g("div"),n=g("div"),l=z(),o=g("img"),u(n,"class","playButtonBackground v-y9pij4"),C0(o.src,r=kt)||u(o,"src",r),u(o,"class","playButtonIcon v-y9pij4"),u(o,"alt",""),u(i,"class","playButton v-y9pij4"),u(e,"class","container v-y9pij4"),u(e,"style",s=`background-color: #222; background-image: url('${t[0]||""}')`),H(e,"hidden",t[1])},m(f,m){T(f,e,m),v(e,i),v(i,n),v(i,l),v(i,o),a||(c=r0(e,"click",function(){D0(t[2])&&t[2].apply(this,arguments)}),a=!0)},p(f,[m]){t=f,m&1&&s!==(s=`background-color: #222; background-image: url('${t[0]||""}')`)&&u(e,"style",s),m&2&&H(e,"hidden",t[1])},i:R,o:R,d(f){f&&E(e),a=!1,c()}}}function s4(t,e,i){let{thumbUrl:n}=e,{hidden:l}=e,{startVideo:o}=e;return t.$$set=r=>{"thumbUrl"in r&&i(0,n=r.thumbUrl),"hidden"in r&&i(1,l=r.hidden),"startVideo"in r&&i(2,o=r.startVideo)},[n,l,o]}class a4 extends p0{constructor(e){super(),m0(this,e,s4,r4,v0,{thumbUrl:0,hidden:1,startVideo:2},o4)}}function c4(t){_0(t,"v-8nkw5s",".container.v-8nkw5s.v-8nkw5s{position:absolute;top:50%;left:50%;transform:translate(-50%, -50%);pointer-events:none;display:flex}.dot.v-8nkw5s.v-8nkw5s:nth-child(1){animation-delay:calc(0 * 180ms)}.dot.v-8nkw5s.v-8nkw5s:nth-child(2){animation-delay:calc(1 * 180ms)}.dot.v-8nkw5s.v-8nkw5s:nth-child(3){animation-delay:calc(2 * 180ms)}@keyframes v-8nkw5s-dot_animation{0%{opacity:0.2}30%{opacity:1}100%{opacity:0.2}}.dot.v-8nkw5s.v-8nkw5s{border-radius:4px;width:8px;height:8px;background:var(--white);animation-duration:750ms;animation-name:v-8nkw5s-dot_animation;animation-iteration-count:infinite}.dot.v-8nkw5s+.dot.v-8nkw5s{margin-left:4px}")}function u4(t){let e;return{c(){e=g("div"),e.innerHTML=`<div class="dot v-8nkw5s"></div>
|
|
17
17
|
<div class="dot v-8nkw5s"></div>
|
|
18
|
-
<div class="dot v-8nkw5s"></div>`,u(e,"class","container v-8nkw5s")},m(i,n){
|
|
18
|
+
<div class="dot v-8nkw5s"></div>`,u(e,"class","container v-8nkw5s")},m(i,n){T(i,e,n)},p:R,i:R,o:R,d(i){i&&E(e)}}}class d4 extends p0{constructor(e){super(),m0(this,e,null,u4,v0,{},c4)}}function f4(t){const e=F0();return i1(()=>{e.getAdmanWrapper().startPostroll()}),[]}class v4 extends p0{constructor(e){super(),m0(this,e,f4,null,v0,{})}}function m4(t){_0(t,"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 p4(t){let e,i=H0("playing_ads",{timeleft:t[0]})+"",n;return{c(){e=g("div"),n=g0(i),u(e,"class","container v-17pubzn"),H(e,"container-mobile",t[1])},m(l,o){T(l,e,o),v(e,n)},p(l,[o]){o&1&&i!==(i=H0("playing_ads",{timeleft:l[0]})+"")&&A0(n,i),o&2&&H(e,"container-mobile",l[1])},i:R,o:R,d(l){l&&E(e)}}}function h4(t,e,i){let n,{position:l=0}=e,{duration:o=0}=e;const s=F0().ui.isMobile;Q(t,s,c=>i(1,n=c));let a;return t.$$set=c=>{"position"in c&&i(3,l=c.position),"duration"in c&&i(4,o=c.duration)},t.$$.update=()=>{t.$$.dirty&24&&i(0,a=Te(o-l))},[a,n,s,l,o]}class g4 extends p0{constructor(e){super(),m0(this,e,h4,p4,v0,{position:3,duration:4},m4)}}function b4(t){_0(t,"v-22jj8o",".container.v-22jj8o.v-22jj8o{position:absolute;top:14px;right:16px;padding:4px 8px;font-size:13px;color:#bbb;background:rgba(0, 0, 0, 0.35);border-radius:4px;transition:color .2s}.container-mobile.v-22jj8o.v-22jj8o{bottom:14px;top:unset;font-size:15px;max-width:142px}.icon.v-22jj8o.v-22jj8o{margin-left:4px;position:relative;top:2px;fill:var(--white);transition:fill .2s}.skip.v-22jj8o.v-22jj8o{width:86px}.skippable.v-22jj8o.v-22jj8o{cursor:pointer;color:var(--white)}.skippable.v-22jj8o.v-22jj8o:hover{color:rgba(255, 255, 255, .75)}.skippable.v-22jj8o:hover .icon.v-22jj8o{fill:rgba(255, 255, 255, .75)}")}function C4(t){let e=H0("skip_ads_after",{time:Math.ceil(t[1]-t[0]).toFixed(0)})+"",i;return{c(){i=g0(e)},m(n,l){T(n,i,l)},p(n,l){l&3&&e!==(e=H0("skip_ads_after",{time:Math.ceil(n[1]-n[0]).toFixed(0)})+"")&&A0(i,e)},d(n){n&&E(i)}}}function _4(t){let e,i=H0("skip_ads_now")+"",n,l,o,r,s,a;return{c(){e=g("div"),n=g0(i),l=z(),o=S0("svg"),r=S0("path"),u(r,"fill-rule","evenodd"),u(r,"clip-rule","evenodd"),u(r,"d","M0.263627 0.263605C-0.0878444 0.615078 -0.0878429 1.18493 0.26363 1.5364L4.72723 5.99998L0.263627 10.4636C-0.0878444 10.8151 -0.0878429 11.3849 0.26363 11.7364C0.615103 12.0879 1.18495 12.0879 1.53642 11.7364L6.63642 6.63637C6.98789 6.2849 6.98789 5.71505 6.63642 5.36358L1.53642 0.263602C1.18495 -0.0878686 0.615098 -0.0878673 0.263627 0.263605Z"),u(o,"class","icon v-22jj8o"),u(o,"width","7"),u(o,"height","12"),u(o,"viewBox","0 0 7 12"),u(o,"fill","none"),u(o,"xmlns","http://www.w3.org/2000/svg"),u(e,"class","skip v-22jj8o")},m(c,f){T(c,e,f),v(e,n),v(e,l),v(e,o),v(o,r),s||(a=r0(e,"click",function(){D0(t[2])&&t[2].apply(this,arguments)}),s=!0)},p(c,f){t=c},d(c){c&&E(e),s=!1,a()}}}function w4(t){let e;function i(o,r){return o[3]?_4:C4}let n=i(t),l=n(t);return{c(){e=g("div"),l.c(),u(e,"class","container v-22jj8o"),H(e,"container-mobile",t[4]),H(e,"skippable",t[3])},m(o,r){T(o,e,r),l.m(e,null)},p(o,[r]){n===(n=i(o))&&l?l.p(o,r):(l.d(1),l=n(o),l&&(l.c(),l.m(e,null))),r&16&&H(e,"container-mobile",o[4]),r&8&&H(e,"skippable",o[3])},i:R,o:R,d(o){o&&E(e),l.d()}}}function y4(t,e,i){let n,{position:l=0}=e,{secondsToWatchBeforeSkip:o=0}=e,{skipAd:r=R}=e;const a=F0().ui.isMobile;Q(t,a,f=>i(4,n=f));let c;return t.$$set=f=>{"position"in f&&i(0,l=f.position),"secondsToWatchBeforeSkip"in f&&i(1,o=f.secondsToWatchBeforeSkip),"skipAd"in f&&i(2,r=f.skipAd)},t.$$.update=()=>{t.$$.dirty&3&&i(3,c=l>0&&l>=o)},[l,o,r,c,n,a]}class k4 extends p0{constructor(e){super(),m0(this,e,y4,w4,v0,{position:0,secondsToWatchBeforeSkip:1,skipAd:2},b4)}}function V4(t){_0(t,"v-1wy3dql","button.v-1wy3dql{position:absolute;pointer-events:none;bottom:14px;left:16px;font-size:15px;background:white;border:none;padding:6px 10px;border-radius:6px;color:black}")}function P4(t){let e;return{c(){e=g("button"),e.textContent=`${H0("visit_advertiser")}`,u(e,"class","v-1wy3dql")},m(i,n){T(i,e,n)},p:R,i:R,o:R,d(i){i&&E(e)}}}class L4 extends p0{constructor(e){super(),m0(this,e,null,P4,v0,{},V4)}}function S4(t){_0(t,"v-354ajf",`.container.v-354ajf{width:100%;height:100%}.top-gradient-mobile.v-354ajf{position:absolute;width:100%;height:80px;top:0;left:0;pointer-events:none;background:linear-gradient(
|
|
19
19
|
360deg,
|
|
20
20
|
rgba(0, 0, 0, 0) 0%,
|
|
21
21
|
rgba(0, 0, 0, 0.05) 12%,
|
|
@@ -25,12 +25,12 @@
|
|
|
25
25
|
rgba(0, 0, 0, 0.5) 77%,
|
|
26
26
|
rgba(0, 0, 0, 0.55) 88%,
|
|
27
27
|
rgba(0, 0, 0, 0.65) 100%
|
|
28
|
-
)}`)}function no(t){let e;return{c(){e=g("div"),u(e,"class","top-gradient-mobile v-354ajf")},m(i,n){M(i,e,n)},d(i){i&&T(e)}}}function lo(t){let e,i;return e=new rd({props:{position:t[6],duration:t[7]}}),{c(){x(e.$$.fragment)},m(n,l){J(e,n,l),i=!0},p(n,l){const o={};l&64&&(o.position=n[6]),l&128&&(o.duration=n[7]),e.$set(o)},i(n){i||(h(e.$$.fragment,n),i=!0)},o(n){P(e.$$.fragment,n),i=!1},d(n){Z(e,n)}}}function oo(t){let e,i;return e=new fd({props:{position:t[6],secondsToWatchBeforeSkip:t[8],skipAd:t[10].actions.internal.skipAd}}),{c(){x(e.$$.fragment)},m(n,l){J(e,n,l),i=!0},p(n,l){const o={};l&64&&(o.position=n[6]),l&256&&(o.secondsToWatchBeforeSkip=n[8]),e.$set(o)},i(n){i||(h(e.$$.fragment,n),i=!0)},o(n){P(e.$$.fragment,n),i=!1},d(n){Z(e,n)}}}function ro(t){let e,i;return e=new id({}),{c(){x(e.$$.fragment)},m(n,l){J(e,n,l),i=!0},i(n){i||(h(e.$$.fragment,n),i=!0)},o(n){P(e.$$.fragment,n),i=!1},d(n){Z(e,n)}}}function so(t){let e,i;return e=new pd({}),{c(){x(e.$$.fragment)},m(n,l){J(e,n,l),i=!0},i(n){i||(h(e.$$.fragment,n),i=!0)},o(n){P(e.$$.fragment,n),i=!1},d(n){Z(e,n)}}}function gd(t){let e,i,n,l,o,r,s,c,a=t[0]&&no(),d=t[3]&&lo(t),m=t[4]&&oo(t),f=t[9]&&ro(),p=t[5]&&so();return{c(){e=g("div"),a&&a.c(),i=L(),n=g("video"),l=L(),d&&d.c(),o=L(),m&&m.c(),r=L(),f&&f.c(),s=L(),p&&p.c(),ni(n,"width","100%"),ni(n,"height","100%"),n.playsInline=!0,u(e,"class","container v-354ajf")},m(w,b){M(w,e,b),a&&a.m(e,null),v(e,i),v(e,n),t[22](n),v(e,l),d&&d.m(e,null),v(e,o),m&&m.m(e,null),v(e,r),f&&f.m(e,null),v(e,s),p&&p.m(e,null),t[23](e),c=!0},p(w,[b]){w[0]?a||(a=no(),a.c(),a.m(e,i)):a&&(a.d(1),a=null),w[3]?d?(d.p(w,b),b&8&&h(d,1)):(d=lo(w),d.c(),h(d,1),d.m(e,o)):d&&(se(),P(d,1,1,()=>{d=null}),ae()),w[4]?m?(m.p(w,b),b&16&&h(m,1)):(m=oo(w),m.c(),h(m,1),m.m(e,r)):m&&(se(),P(m,1,1,()=>{m=null}),ae()),w[9]?f?b&512&&h(f,1):(f=ro(),f.c(),h(f,1),f.m(e,s)):f&&(se(),P(f,1,1,()=>{f=null}),ae()),w[5]?p?b&32&&h(p,1):(p=so(),p.c(),h(p,1),p.m(e,null)):p&&(se(),P(p,1,1,()=>{p=null}),ae())},i(w){c||(h(d),h(m),h(f),h(p),c=!0)},o(w){P(d),P(m),P(f),P(p),c=!1},d(w){w&&T(e),a&&a.d(),t[22](null),d&&d.d(),m&&m.d(),f&&f.d(),p&&p.d(),t[23](null)}}}function bd(t,e,i){let n,l,o,r,s,c,{adsSlotId:a=void 0}=e,{adsParams:d=void 0}=e,{adsPreviewParam:m=void 0}=e,{duration:f=0}=e;const p=Qe(),w=p.state.isEnded$;Q(t,w,H=>i(9,c=H));const b=p.ui.isMobile;Q(t,b,H=>i(0,l=H));let y,N,_=!1;const S=p.ads.playbackState;Q(t,S,H=>i(21,n=H));const D=p.ads.canSkip,R=p.ads.duration;Q(t,R,H=>i(7,r=H));const F=p.ads.position;Q(t,F,H=>i(6,o=H));const I=p.ads.secondsToWatchBeforeSkip;Q(t,I,H=>i(8,s=H));let k,O,C;Qt(()=>{const H=new AbortController;let U=()=>{H.abort()};const X=p.getAdmanWrapper();if(!a){X.onAdmanLoadingError();return}const{width:fe,height:K}=Oe(p.ui.playerSize),j=Oe(p.ui.isFullscreen),te=Oe(p.ui.isAutoplay),Ne={width:fe,height:K,isFullscreen:j,isAutoplay:te,adsContainer:y,adsVideoElement:N,slotId:a,params:d,previewParam:m,duration:f};return window.AdmanHTML?(X.initAdman(Ne),_=!0):X.loadAdman(H.signal).then(()=>{X.initAdman(Ne),_=!0}).catch(()=>{X.onAdmanLoadingError()}),()=>{!_&&U()}});function Y(H){nt[H?"unshift":"push"](()=>{N=H,i(2,N)})}function q(H){nt[H?"unshift":"push"](()=>{y=H,i(1,y)})}return t.$$set=H=>{"adsSlotId"in H&&i(17,a=H.adsSlotId),"adsParams"in H&&i(18,d=H.adsParams),"adsPreviewParam"in H&&i(19,m=H.adsPreviewParam),"duration"in H&&i(20,f=H.duration)},t.$$.update=()=>{t.$$.dirty&2097152&&i(3,k=n!==qe.INACTIVE),t.$$.dirty&2097152&&i(4,O=D&&n!==qe.INACTIVE),t.$$.dirty&2097153&&i(5,C=l&&n!==qe.INACTIVE)},[l,y,N,k,O,C,o,r,s,c,p,w,b,S,R,F,I,a,d,m,f,n,Y,q]}class wd extends be{constructor(e){super(),ge(this,e,bd,gd,me,{adsSlotId:17,adsParams:18,adsPreviewParam:19,duration:20},hd)}}function _d(t){Se(t,"v-p5rs9b","ul.v-p5rs9b{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}.hidden.v-p5rs9b{visibility:hidden;opacity:0}li.v-p5rs9b{padding:8px 20px;cursor:pointer;position:relative;display:block;color:rgba(255, 255, 255, 0.72);font-size:13px;white-space:nowrap}li.v-p5rs9b:hover{background:rgba(66, 66, 66, .5);color:var(--white)}")}function yd(t){let e,i,n;return{c(){e=g("li"),e.textContent=`${Te("menu_pip")}`,u(e,"class","v-p5rs9b")},m(l,o){M(l,e,o),i||(n=oe(e,"click",t[8]),i=!0)},p:B,d(l){l&&T(e),i=!1,n()}}}function kd(t){let e,i,n,l,o,r,s,c,a,d=t[4]&&yd(t);return{c(){e=g("ul"),d&&d.c(),i=L(),n=g("li"),n.textContent=`${Te("menu_report")}`,l=L(),o=g("li"),o.textContent=`${Te("menu_copy_debug")}`,r=L(),s=g("li"),s.textContent=`${Te("menu_debug_overlay")}`,u(n,"class","v-p5rs9b"),u(o,"class","v-p5rs9b"),u(s,"class","v-p5rs9b"),ni(e,"top",t[1]+"px"),ni(e,"left",t[0]+"px"),u(e,"class","v-p5rs9b"),E(e,"hidden",!t[2])},m(m,f){M(m,e,f),d&&d.m(e,null),v(e,i),v(e,n),v(e,l),v(e,o),v(e,r),v(e,s),t[12](e),c||(a=[oe(n,"click",t[5]),oe(o,"click",t[6]),oe(s,"click",t[7])],c=!0)},p(m,[f]){m[4]&&d.p(m,f),f&2&&ni(e,"top",m[1]+"px"),f&1&&ni(e,"left",m[0]+"px"),f&4&&E(e,"hidden",!m[2])},i:B,o:B,d(m){m&&T(e),d&&d.d(),t[12](null),c=!1,lt(a)}}}function Pd(t,e,i){var n=this&&this.__awaiter||function(R,F,I,k){function O(C){return C instanceof I?C:new I(function(Y){Y(C)})}return new(I||(I=Promise))(function(C,Y){function q(X){try{U(k.next(X))}catch(fe){Y(fe)}}function H(X){try{U(k.throw(X))}catch(fe){Y(fe)}}function U(X){X.done?C(X.value):O(X.value).then(q,H)}U((k=k.apply(R,F||[])).next())})};let{visible:l=!1}=e,{supportLink:o}=e,{x:r=0}=e,{y:s=0}=e,{playerContainerRef:c=void 0}=e,{controlsContainerRef:a=void 0}=e;const d=Qe(),m=d.ui.contextMenuVisible,f=d.ui.debugPanelVisible,p=d.webApi.pictureInPictureApi;let w;const b=(R,F)=>{if(!w||!c||!a)return;const I=w.getBoundingClientRect(),k=c.getBoundingClientRect(),O=a.getBoundingClientRect();i(0,r=R-k.left),i(1,s=F-k.top),r+I.width>k.width&&i(0,r-=I.width),s+I.height>k.height-O.height&&i(1,s-=I.height)},y=R=>{window.open(o,"_blank"),m.set(!1),d.actions.internal.pause(),R.stopPropagation()},N=R=>{Pr(d.actions.internal.getDebugTextData()),m.set(!1),R.stopPropagation()},_=R=>{f.set(!0),m.set(!1),R.stopPropagation()},S=R=>n(void 0,void 0,void 0,function*(){p!=null&&p.isActive()?yield p==null?void 0:p.remove():yield p==null?void 0:p.request(),m.set(!1),R.stopPropagation()});function D(R){nt[R?"unshift":"push"](()=>{w=R,i(3,w)})}return t.$$set=R=>{"visible"in R&&i(2,l=R.visible),"supportLink"in R&&i(9,o=R.supportLink),"x"in R&&i(0,r=R.x),"y"in R&&i(1,s=R.y),"playerContainerRef"in R&&i(10,c=R.playerContainerRef),"controlsContainerRef"in R&&i(11,a=R.controlsContainerRef)},t.$$.update=()=>{t.$$.dirty&3&&b(r,s)},[r,s,l,w,p,y,N,_,S,o,c,a,D]}class Sd extends be{constructor(e){super(),ge(this,e,Pd,kd,me,{visible:2,supportLink:9,x:0,y:1,playerContainerRef:10,controlsContainerRef:11},_d)}}class Vd{constructor(e){this.value=e,this.next=null}}class an{constructor(e){this.top=null,this.bottom=null,this.size=0,this.maxSize=e}push(e){const i=new Vd(e);this.top?(this.top.next=i,this.top=i):(this.top=i,this.bottom=i),this.size++,this.size>this.maxSize&&this.bottom&&(this.bottom=this.bottom.next)}getValuesFromBottom(){const e=[];let i=this.bottom;for(;i;)e.push(i.value),i=i.next;return e}}function Ad(t){Se(t,"v-1ssl9eb",".container.v-1ssl9eb{display:inline-block;width:120px;height:16px}canvas.v-1ssl9eb{transform:scale(1, -1);margin-top:2px}")}function Cd(t){let e,i;return{c(){e=g("div"),i=g("canvas"),u(i,"class","v-1ssl9eb"),u(e,"class","container v-1ssl9eb")},m(n,l){M(n,e,l),v(e,i),t[3](i)},p:B,i:B,o:B,d(n){n&&T(e),t[3](null)}}}const cn=16,un=120,ao=60;function Ed(t,e,i,n,l){l===0&&(l=1),t.fillStyle="#fff",t.fillRect(e,i,n,l)}function Td(t,e,i){let{values:n=[]}=e,l,o;const r=un/ao;Qt(()=>{i(0,l.width=un,l),i(0,l.height=cn,l),i(2,o=l.getContext("2d"))});function s(c){nt[c?"unshift":"push"](()=>{l=c,i(0,l)})}return t.$$set=c=>{"values"in c&&i(1,n=c.values)},t.$$.update=()=>{if(t.$$.dirty&6&&o){let c=n[0];for(let d=1;d<n.length;d++)n[d]>c&&(c=n[d]);o.clearRect(0,0,un,cn);let a=ao-1;for(let d=n.length-1;d>=0;d--){const m=a*r,f=c>0?cn*(n[d]/c):0;Ed(o,m,0,r,f),a--}}},[l,n,o,s]}class Nn extends be{constructor(e){super(),ge(this,e,Td,Cd,me,{values:1},Ad)}}const Ut={set:(t,e)=>{try{localStorage.setItem(t,JSON.stringify(e))}catch(i){}},get:t=>{try{const e=localStorage.getItem(t);return e?JSON.parse(e):null}catch(e){return null}},remove(t){try{localStorage.removeItem(t)}catch(e){}}};function Md(t){Se(t,"v-1gy2e68",".container.v-1gy2e68.v-1gy2e68.v-1gy2e68{background:rgba(28, 28, 28, 0.8);border-radius:4px;color:#fff;left:20px;position:absolute;top:45px;min-width:160px;font-size:10px;text-align:left}.container-mobile.v-1gy2e68.v-1gy2e68.v-1gy2e68{top:16px;left:16px}button.v-1gy2e68.v-1gy2e68.v-1gy2e68{position:absolute;right:5px;top:3px;cursor:pointer;outline:0;border:none;background-color:transparent;padding:0;color:#fff}.content.v-1gy2e68.v-1gy2e68.v-1gy2e68{padding:5px}.content.v-1gy2e68>div.v-1gy2e68>div.v-1gy2e68{display:inline-block;text-align:right;width:52px;padding:0 5px}")}function co(t){let e,i,n,l,o=t[0].id+"",r;return{c(){e=g("div"),i=g("div"),i.textContent="Video id",n=L(),l=g("span"),r=_e(o),u(i,"class","v-1gy2e68"),u(e,"class","v-1gy2e68")},m(s,c){M(s,e,c),v(e,i),v(e,n),v(e,l),v(l,r)},p(s,c){c&1&&o!==(o=s[0].id+"")&&Le(r,o)},d(s){s&&T(e)}}}function uo(t){let e,i,n,l,o=t[0].provider+"",r;return{c(){e=g("div"),i=g("div"),i.textContent="Provider",n=L(),l=g("span"),r=_e(o),u(i,"class","v-1gy2e68"),u(e,"class","v-1gy2e68")},m(s,c){M(s,e,c),v(e,i),v(e,n),v(e,l),v(l,r)},p(s,c){c&1&&o!==(o=s[0].provider+"")&&Le(r,o)},d(s){s&&T(e)}}}function fo(t){let e,i,n,l,o=t[0].viewport+"",r;return{c(){e=g("div"),i=g("div"),i.textContent="Viewport",n=L(),l=g("span"),r=_e(o),u(i,"class","v-1gy2e68"),u(e,"class","v-1gy2e68")},m(s,c){M(s,e,c),v(e,i),v(e,n),v(e,l),v(l,r)},p(s,c){c&1&&o!==(o=s[0].viewport+"")&&Le(r,o)},d(s){s&&T(e)}}}function vo(t){let e,i,n,l,o=t[0].videoSize+"",r;return{c(){e=g("div"),i=g("div"),i.textContent="Video size",n=L(),l=g("span"),r=_e(o),u(i,"class","v-1gy2e68"),u(e,"class","v-1gy2e68")},m(s,c){M(s,e,c),v(e,i),v(e,n),v(e,l),v(l,r)},p(s,c){c&1&&o!==(o=s[0].videoSize+"")&&Le(r,o)},d(s){s&&T(e)}}}function mo(t){let e,i,n,l,o=t[0].cdn+"",r;return{c(){e=g("div"),i=g("div"),i.textContent="CDN host",n=L(),l=g("span"),r=_e(o),u(i,"class","v-1gy2e68"),u(e,"class","v-1gy2e68")},m(s,c){M(s,e,c),v(e,i),v(e,n),v(e,l),v(l,r)},p(s,c){c&1&&o!==(o=s[0].cdn+"")&&Le(r,o)},d(s){s&&T(e)}}}function po(t){let e,i,n,l,o=t[0].volume+"",r,s;return{c(){e=g("div"),i=g("div"),i.textContent="Volume",n=L(),l=g("span"),r=_e(o),s=_e(" %"),u(i,"class","v-1gy2e68"),u(e,"class","v-1gy2e68")},m(c,a){M(c,e,a),v(e,i),v(e,n),v(e,l),v(l,r),v(l,s)},p(c,a){a&1&&o!==(o=c[0].volume+"")&&Le(r,o)},d(c){c&&T(e)}}}function ho(t){let e,i,n,l,o=t[0].buffer.toFixed(2)+"",r,s;return{c(){e=g("div"),i=g("div"),i.textContent="Buffer",n=L(),l=g("span"),r=_e(o),s=_e(" s"),u(i,"class","v-1gy2e68"),u(e,"class","v-1gy2e68")},m(c,a){M(c,e,a),v(e,i),v(e,n),v(e,l),v(l,r),v(l,s)},p(c,a){a&1&&o!==(o=c[0].buffer.toFixed(2)+"")&&Le(r,o)},d(c){c&&T(e)}}}function go(t){let e,i,n,l,o,r,s=t[0].speed.toFixed(2)+"",c,a,d;return l=new Nn({props:{values:t[5]}}),{c(){e=g("div"),i=g("div"),i.textContent="Network",n=L(),x(l.$$.fragment),o=L(),r=g("span"),c=_e(s),a=_e(" Kbps"),u(i,"class","v-1gy2e68"),u(e,"class","v-1gy2e68")},m(m,f){M(m,e,f),v(e,i),v(e,n),J(l,e,null),v(e,o),v(e,r),v(r,c),v(r,a),d=!0},p(m,f){const p={};f&32&&(p.values=m[5]),l.$set(p),(!d||f&1)&&s!==(s=m[0].speed.toFixed(2)+"")&&Le(c,s)},i(m){d||(h(l.$$.fragment,m),d=!0)},o(m){P(l.$$.fragment,m),d=!1},d(m){m&&T(e),Z(l)}}}function bo(t){let e,i,n,l,o,r,s=t[0].bitrate.toFixed(2)+"",c,a,d;return l=new Nn({props:{values:t[6]}}),{c(){e=g("div"),i=g("div"),i.textContent="V bitrate",n=L(),x(l.$$.fragment),o=L(),r=g("span"),c=_e(s),a=_e(" Kbps"),u(i,"class","v-1gy2e68"),u(e,"class","v-1gy2e68")},m(m,f){M(m,e,f),v(e,i),v(e,n),J(l,e,null),v(e,o),v(e,r),v(r,c),v(r,a),d=!0},p(m,f){const p={};f&64&&(p.values=m[6]),l.$set(p),(!d||f&1)&&s!==(s=m[0].bitrate.toFixed(2)+"")&&Le(c,s)},i(m){d||(h(l.$$.fragment,m),d=!0)},o(m){P(l.$$.fragment,m),d=!1},d(m){m&&T(e),Z(l)}}}function Ld(t){let e,i,n,l,o,r,s,c,a=t[0].version+"",d,m,f,p,w,b,y,N,_,S,D,R,F,I,k,O,C,Y,q,H,U,X,fe,K,j,te,Ne,ke,ie,Ke,ne=t[0].id&&co(t),ce=t[0].provider&&uo(t),we=t[0].viewport&&fo(t),pe=t[0].videoSize&&vo(t),ve=t[0].cdn&&mo(t),Pe=t[0].volume&&po(t),he=t[0].buffer&&ho(t),ye=t[0].speed&&go(t),ue=t[0].bitrate&&bo(t);return K=new Nn({props:{values:t[4]}}),{c(){e=g("div"),i=g("button"),i.textContent="[x]",n=L(),l=g("div"),o=g("div"),r=g("div"),r.textContent="Version",s=L(),c=g("span"),d=_e(a),m=L(),ne&&ne.c(),f=L(),ce&&ce.c(),p=L(),we&&we.c(),w=L(),pe&&pe.c(),b=L(),ve&&ve.c(),y=L(),Pe&&Pe.c(),N=L(),he&&he.c(),_=L(),S=g("div"),D=g("div"),D.textContent="Dropped",R=L(),F=g("span"),I=_e(t[2]),k=_e(" / "),O=_e(t[1]),C=_e(" frames"),Y=L(),ye&&ye.c(),q=L(),ue&&ue.c(),H=L(),U=g("div"),X=g("div"),X.textContent="FPS",fe=L(),x(K.$$.fragment),j=L(),te=g("span"),Ne=_e(t[3]),u(i,"class","close v-1gy2e68"),u(i,"title","\u0437\u0430\u043A\u0440\u044B\u0442\u044C"),u(r,"class","v-1gy2e68"),u(o,"class","v-1gy2e68"),u(D,"class","v-1gy2e68"),u(S,"class","v-1gy2e68"),u(X,"class","v-1gy2e68"),u(U,"class","v-1gy2e68"),u(l,"class","content v-1gy2e68"),u(e,"class","container v-1gy2e68"),E(e,"container-mobile",t[7])},m(z,$){M(z,e,$),v(e,i),v(e,n),v(e,l),v(l,o),v(o,r),v(o,s),v(o,c),v(c,d),v(l,m),ne&&ne.m(l,null),v(l,f),ce&&ce.m(l,null),v(l,p),we&&we.m(l,null),v(l,w),pe&&pe.m(l,null),v(l,b),ve&&ve.m(l,null),v(l,y),Pe&&Pe.m(l,null),v(l,N),he&&he.m(l,null),v(l,_),v(l,S),v(S,D),v(S,R),v(S,F),v(F,I),v(F,k),v(F,O),v(F,C),v(l,Y),ye&&ye.m(l,null),v(l,q),ue&&ue.m(l,null),v(l,H),v(l,U),v(U,X),v(U,fe),J(K,U,null),v(U,j),v(U,te),v(te,Ne),ke=!0,ie||(Ke=oe(i,"click",t[9]),ie=!0)},p(z,[$]){(!ke||$&1)&&a!==(a=z[0].version+"")&&Le(d,a),z[0].id?ne?ne.p(z,$):(ne=co(z),ne.c(),ne.m(l,f)):ne&&(ne.d(1),ne=null),z[0].provider?ce?ce.p(z,$):(ce=uo(z),ce.c(),ce.m(l,p)):ce&&(ce.d(1),ce=null),z[0].viewport?we?we.p(z,$):(we=fo(z),we.c(),we.m(l,w)):we&&(we.d(1),we=null),z[0].videoSize?pe?pe.p(z,$):(pe=vo(z),pe.c(),pe.m(l,b)):pe&&(pe.d(1),pe=null),z[0].cdn?ve?ve.p(z,$):(ve=mo(z),ve.c(),ve.m(l,y)):ve&&(ve.d(1),ve=null),z[0].volume?Pe?Pe.p(z,$):(Pe=po(z),Pe.c(),Pe.m(l,N)):Pe&&(Pe.d(1),Pe=null),z[0].buffer?he?he.p(z,$):(he=ho(z),he.c(),he.m(l,_)):he&&(he.d(1),he=null),(!ke||$&4)&&Le(I,z[2]),(!ke||$&2)&&Le(O,z[1]),z[0].speed?ye?(ye.p(z,$),$&1&&h(ye,1)):(ye=go(z),ye.c(),h(ye,1),ye.m(l,q)):ye&&(se(),P(ye,1,1,()=>{ye=null}),ae()),z[0].bitrate?ue?(ue.p(z,$),$&1&&h(ue,1)):(ue=bo(z),ue.c(),h(ue,1),ue.m(l,H)):ue&&(se(),P(ue,1,1,()=>{ue=null}),ae());const le={};$&16&&(le.values=z[4]),K.$set(le),(!ke||$&8)&&Le(Ne,z[3]),(!ke||$&128)&&E(e,"container-mobile",z[7])},i(z){ke||(h(ye),h(ue),h(K.$$.fragment,z),ke=!0)},o(z){P(ye),P(ue),P(K.$$.fragment,z),ke=!1},d(z){z&&T(e),ne&&ne.d(),ce&&ce.d(),we&&we.d(),pe&&pe.d(),ve&&ve.d(),Pe&&Pe.d(),he&&he.d(),ye&&ye.d(),ue&&ue.d(),Z(K),ie=!1,Ke()}}}function Nd(t,e,i){let n;const l=Qe(),o=l.ui.debugPanelVisible,r=l.ui.isMobile;Q(t,r,S=>i(7,n=S));const s=S=>{Ut.set(yn,!1),o.set(!1),S.stopPropagation()};let c=l.actions.internal.getDebugPanelData(),a=l.actions.internal.getVideoElement(),d=0,m=0,f=0;const p=new an(60),w=new an(60),b=new an(60);let y=[],N=[],_=[];return Qt(()=>{Ut.set(yn,!0),l.actions.internal.startLogging(),a&&(i(2,m=a.getVideoPlaybackQuality().droppedVideoFrames),i(1,d=a.getVideoPlaybackQuality().totalVideoFrames));const S=window.setInterval(()=>{i(0,c=l.actions.internal.getDebugPanelData())},500);let D;return a&&(D=window.setInterval(()=>{if(a){i(2,m=a.getVideoPlaybackQuality().droppedVideoFrames);const R=a.getVideoPlaybackQuality().totalVideoFrames;i(3,f=R-d),i(1,d=R),p.push(f),c.speed&&w.push(c.speed),c.bitrate&&b.push(c.bitrate),i(4,y=p.getValuesFromBottom()),i(5,N=w.getValuesFromBottom()),i(6,_=b.getValuesFromBottom())}},1e3)),()=>{l.actions.internal.stopLogging(),clearInterval(S),D&&clearInterval(D)}}),[c,d,m,f,y,N,_,n,r,s]}class zd extends be{constructor(e){super(),ge(this,e,Nd,Ld,me,{},Md)}}function Id(t){Se(t,"v-1ome55p",".close.v-1ome55p{cursor:pointer;opacity:0.8;transition:opacity 0.2s;position:relative;width:16px;height:16px}.close.v-1ome55p:hover{opacity:1}.close.v-1ome55p:before,.close.v-1ome55p:after{position:absolute;left:8px;content:' ';height:16px;width:2px;background-color:var(--white)}.close.v-1ome55p:before{transform:rotate(45deg)}.close.v-1ome55p:after{transform:rotate(-45deg)}")}function Rd(t){let e,i,n;return{c(){e=g("div"),u(e,"class","close v-1ome55p")},m(l,o){M(l,e,o),i||(n=oe(e,"click",t[0]),i=!0)},p:B,i:B,o:B,d(l){l&&T(e),i=!1,n()}}}function Bd(t){function e(i){ft.call(this,t,i)}return[e]}class Od extends be{constructor(e){super(),ge(this,e,Bd,Rd,me,{},Id)}}function Fd(t){Se(t,"v-8jhsry",`.timer.v-8jhsry{border-radius:50%;transition:background .2s;background:rgba(31, 31, 31, .65);width:50px;height:50px;display:flex;align-items:center;justify-content:space-around}.timer.v-8jhsry:hover{background:rgba(31, 31, 31, .85)
|
|
29
|
-
}.timer-canvas.v-8jhsry{width:50px;height:50px;position:absolute}.timer-play-icon.v-8jhsry{width:22px;height:26px}`)}function
|
|
28
|
+
)}`)}function i6(t){let e;return{c(){e=g("div"),u(e,"class","top-gradient-mobile v-354ajf")},m(i,n){T(i,e,n)},d(i){i&&E(e)}}}function n6(t){let e,i;return e=new g4({props:{position:t[6],duration:t[7]}}),{c(){i0(e.$$.fragment)},m(n,l){$(e,n,l),i=!0},p(n,l){const o={};l&64&&(o.position=n[6]),l&128&&(o.duration=n[7]),e.$set(o)},i(n){i||(h(e.$$.fragment,n),i=!0)},o(n){_(e.$$.fragment,n),i=!1},d(n){e0(e,n)}}}function l6(t){let e,i;return e=new k4({props:{position:t[6],secondsToWatchBeforeSkip:t[8],skipAd:t[10].actions.internal.skipAd}}),{c(){i0(e.$$.fragment)},m(n,l){$(e,n,l),i=!0},p(n,l){const o={};l&64&&(o.position=n[6]),l&256&&(o.secondsToWatchBeforeSkip=n[8]),e.$set(o)},i(n){i||(h(e.$$.fragment,n),i=!0)},o(n){_(e.$$.fragment,n),i=!1},d(n){e0(e,n)}}}function o6(t){let e,i;return e=new v4({}),{c(){i0(e.$$.fragment)},m(n,l){$(e,n,l),i=!0},i(n){i||(h(e.$$.fragment,n),i=!0)},o(n){_(e.$$.fragment,n),i=!1},d(n){e0(e,n)}}}function r6(t){let e,i;return e=new L4({}),{c(){i0(e.$$.fragment)},m(n,l){$(e,n,l),i=!0},i(n){i||(h(e.$$.fragment,n),i=!0)},o(n){_(e.$$.fragment,n),i=!1},d(n){e0(e,n)}}}function M4(t){let e,i,n,l,o,r,s,a,c=t[0]&&i6(),f=t[3]&&n6(t),m=t[4]&&l6(t),p=t[9]&&o6(),d=t[5]&&r6();return{c(){e=g("div"),c&&c.c(),i=z(),n=g("video"),l=z(),f&&f.c(),o=z(),m&&m.c(),r=z(),p&&p.c(),s=z(),d&&d.c(),f1(n,"width","100%"),f1(n,"height","100%"),n.playsInline=!0,u(e,"class","container v-354ajf")},m(b,C){T(b,e,C),c&&c.m(e,null),v(e,i),v(e,n),t[22](n),v(e,l),f&&f.m(e,null),v(e,o),m&&m.m(e,null),v(e,r),p&&p.m(e,null),v(e,s),d&&d.m(e,null),t[23](e),a=!0},p(b,[C]){b[0]?c||(c=i6(),c.c(),c.m(e,i)):c&&(c.d(1),c=null),b[3]?f?(f.p(b,C),C&8&&h(f,1)):(f=n6(b),f.c(),h(f,1),f.m(e,o)):f&&(a0(),_(f,1,1,()=>{f=null}),c0()),b[4]?m?(m.p(b,C),C&16&&h(m,1)):(m=l6(b),m.c(),h(m,1),m.m(e,r)):m&&(a0(),_(m,1,1,()=>{m=null}),c0()),b[9]?p?C&512&&h(p,1):(p=o6(),p.c(),h(p,1),p.m(e,s)):p&&(a0(),_(p,1,1,()=>{p=null}),c0()),b[5]?d?C&32&&h(d,1):(d=r6(),d.c(),h(d,1),d.m(e,null)):d&&(a0(),_(d,1,1,()=>{d=null}),c0())},i(b){a||(h(f),h(m),h(p),h(d),a=!0)},o(b){_(f),_(m),_(p),_(d),a=!1},d(b){b&&E(e),c&&c.d(),t[22](null),f&&f.d(),m&&m.d(),p&&p.d(),d&&d.d(),t[23](null)}}}function H4(t,e,i){let n,l,o,r,s,a,{adsSlotId:c=void 0}=e,{adsParams:f=void 0}=e,{adsPreviewParam:m=void 0}=e,{duration:p=0}=e;const d=F0(),b=d.state.isEnded$;Q(t,b,O=>i(9,a=O));const C=d.ui.isMobile;Q(t,C,O=>i(0,l=O));let S,L,N=!1;const k=d.ads.playbackState;Q(t,k,O=>i(21,n=O));const B=d.ads.canSkip,A=d.ads.duration;Q(t,A,O=>i(7,r=O));const y=d.ads.position;Q(t,y,O=>i(6,o=O));const M=d.ads.secondsToWatchBeforeSkip;Q(t,M,O=>i(8,s=O));let V,W,I;i1(()=>{const O=new AbortController;let U=()=>{O.abort()};const x=d.getAdmanWrapper();if(!c){x.onAdmanLoadingError();return}const{width:d0,height:X}=B0(d.ui.playerSize),Z=B0(d.ui.isFullscreen),n0=B0(d.ui.isAutoplay),E0={width:d0,height:X,isFullscreen:Z,isAutoplay:n0,adsContainer:S,adsVideoElement:L,slotId:c,params:f,previewParam:m,duration:p};return window.AdmanHTML?(x.initAdman(E0),N=!0):x.loadAdman(O.signal).then(()=>{x.initAdman(E0),N=!0}).catch(()=>{x.onAdmanLoadingError()}),()=>{!N&&U()}});function G(O){x0[O?"unshift":"push"](()=>{L=O,i(2,L)})}function j(O){x0[O?"unshift":"push"](()=>{S=O,i(1,S)})}return t.$$set=O=>{"adsSlotId"in O&&i(17,c=O.adsSlotId),"adsParams"in O&&i(18,f=O.adsParams),"adsPreviewParam"in O&&i(19,m=O.adsPreviewParam),"duration"in O&&i(20,p=O.duration)},t.$$.update=()=>{t.$$.dirty&2097152&&i(3,V=n!==Z0.INACTIVE),t.$$.dirty&2097152&&i(4,W=B&&n!==Z0.INACTIVE),t.$$.dirty&2097153&&i(5,I=l&&n!==Z0.INACTIVE)},[l,S,L,V,W,I,o,r,s,a,d,b,C,k,A,y,M,c,f,m,p,n,G,j]}class A4 extends p0{constructor(e){super(),m0(this,e,H4,M4,v0,{adsSlotId:17,adsParams:18,adsPreviewParam:19,duration:20},S4)}}function E4(t){_0(t,"v-p5rs9b","ul.v-p5rs9b{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}.hidden.v-p5rs9b{visibility:hidden;opacity:0}li.v-p5rs9b{padding:8px 20px;cursor:pointer;position:relative;display:block;color:rgba(255, 255, 255, 0.72);font-size:13px;white-space:nowrap}li.v-p5rs9b:hover{background:rgba(66, 66, 66, .5);color:var(--white)}")}function T4(t){let e,i,n;return{c(){e=g("li"),e.textContent=`${H0("menu_pip")}`,u(e,"class","v-p5rs9b")},m(l,o){T(l,e,o),i||(n=r0(e,"click",t[8]),i=!0)},p:R,d(l){l&&E(e),i=!1,n()}}}function N4(t){let e,i,n,l,o,r,s,a,c,f=t[4]&&T4(t);return{c(){e=g("ul"),f&&f.c(),i=z(),n=g("li"),n.textContent=`${H0("menu_report")}`,l=z(),o=g("li"),o.textContent=`${H0("menu_copy_debug")}`,r=z(),s=g("li"),s.textContent=`${H0("menu_debug_overlay")}`,u(n,"class","v-p5rs9b"),u(o,"class","v-p5rs9b"),u(s,"class","v-p5rs9b"),f1(e,"top",t[1]+"px"),f1(e,"left",t[0]+"px"),u(e,"class","v-p5rs9b"),H(e,"hidden",!t[2])},m(m,p){T(m,e,p),f&&f.m(e,null),v(e,i),v(e,n),v(e,l),v(e,o),v(e,r),v(e,s),t[12](e),a||(c=[r0(n,"click",t[5]),r0(o,"click",t[6]),r0(s,"click",t[7])],a=!0)},p(m,[p]){m[4]&&f.p(m,p),p&2&&f1(e,"top",m[1]+"px"),p&1&&f1(e,"left",m[0]+"px"),p&4&&H(e,"hidden",!m[2])},i:R,o:R,d(m){m&&E(e),f&&f.d(),t[12](null),a=!1,J0(c)}}}function I4(t,e,i){var n=this&&this.__awaiter||function(A,y,M,V){function W(I){return I instanceof M?I:new M(function(G){G(I)})}return new(M||(M=Promise))(function(I,G){function j(x){try{U(V.next(x))}catch(d0){G(d0)}}function O(x){try{U(V.throw(x))}catch(d0){G(d0)}}function U(x){x.done?I(x.value):W(x.value).then(j,O)}U((V=V.apply(A,y||[])).next())})};let{visible:l=!1}=e,{supportLink:o}=e,{x:r=0}=e,{y:s=0}=e,{playerContainerRef:a=void 0}=e,{controlsContainerRef:c=void 0}=e;const f=F0(),m=f.ui.contextMenuVisible,p=f.ui.debugPanelVisible,d=f.webApi.pictureInPictureApi;let b;const C=(A,y)=>{if(!b||!a||!c)return;const M=b.getBoundingClientRect(),V=a.getBoundingClientRect(),W=c.getBoundingClientRect();i(0,r=A-V.left),i(1,s=y-V.top),r+M.width>V.width&&i(0,r-=M.width),s+M.height>V.height-W.height&&i(1,s-=M.height)},S=A=>{window.open(o,"_blank"),m.set(!1),f.actions.internal.pause(),A.stopPropagation()},L=A=>{yn(f.actions.internal.getDebugTextData()),m.set(!1),A.stopPropagation()},N=A=>{p.set(!0),m.set(!1),A.stopPropagation()},k=A=>n(void 0,void 0,void 0,function*(){d!=null&&d.isActive()?yield d==null?void 0:d.remove():yield d==null?void 0:d.request(),m.set(!1),A.stopPropagation()});function B(A){x0[A?"unshift":"push"](()=>{b=A,i(3,b)})}return t.$$set=A=>{"visible"in A&&i(2,l=A.visible),"supportLink"in A&&i(9,o=A.supportLink),"x"in A&&i(0,r=A.x),"y"in A&&i(1,s=A.y),"playerContainerRef"in A&&i(10,a=A.playerContainerRef),"controlsContainerRef"in A&&i(11,c=A.controlsContainerRef)},t.$$.update=()=>{t.$$.dirty&3&&C(r,s)},[r,s,l,b,d,S,L,N,k,o,a,c,B]}class z4 extends p0{constructor(e){super(),m0(this,e,I4,N4,v0,{visible:2,supportLink:9,x:0,y:1,playerContainerRef:10,controlsContainerRef:11},E4)}}class B4{constructor(e){this.value=e,this.next=null}}class ct{constructor(e){this.top=null,this.bottom=null,this.size=0,this.maxSize=e}push(e){const i=new B4(e);this.top?(this.top.next=i,this.top=i):(this.top=i,this.bottom=i),this.size++,this.size>this.maxSize&&this.bottom&&(this.bottom=this.bottom.next)}getValuesFromBottom(){const e=[];let i=this.bottom;for(;i;)e.push(i.value),i=i.next;return e}}function R4(t){_0(t,"v-1ssl9eb",".container.v-1ssl9eb{display:inline-block;width:120px;height:16px}canvas.v-1ssl9eb{transform:scale(1, -1);margin-top:2px}")}function O4(t){let e,i;return{c(){e=g("div"),i=g("canvas"),u(i,"class","v-1ssl9eb"),u(e,"class","container v-1ssl9eb")},m(n,l){T(n,e,l),v(e,i),t[3](i)},p:R,i:R,o:R,d(n){n&&E(e),t[3](null)}}}const ut=16,dt=120,s6=60;function Z4(t,e,i,n,l){l===0&&(l=1),t.fillStyle="#fff",t.fillRect(e,i,n,l)}function F4(t,e,i){let{values:n=[]}=e,l,o;const r=dt/s6;i1(()=>{i(0,l.width=dt,l),i(0,l.height=ut,l),i(2,o=l.getContext("2d"))});function s(a){x0[a?"unshift":"push"](()=>{l=a,i(0,l)})}return t.$$set=a=>{"values"in a&&i(1,n=a.values)},t.$$.update=()=>{if(t.$$.dirty&6&&o){let a=n[0];for(let f=1;f<n.length;f++)n[f]>a&&(a=n[f]);o.clearRect(0,0,dt,ut);let c=s6-1;for(let f=n.length-1;f>=0;f--){const m=c*r,p=a>0?ut*(n[f]/a):0;Z4(o,m,0,r,p),c--}}},[l,n,o,s]}class Tt extends p0{constructor(e){super(),m0(this,e,F4,O4,v0,{values:1},R4)}}const t1={set:(t,e)=>{try{localStorage.setItem(t,JSON.stringify(e))}catch(i){}},get:t=>{try{const e=localStorage.getItem(t);return e?JSON.parse(e):null}catch(e){return null}},remove(t){try{localStorage.removeItem(t)}catch(e){}}};function j4(t){_0(t,"v-1gy2e68",".container.v-1gy2e68.v-1gy2e68.v-1gy2e68{background:rgba(28, 28, 28, 0.8);border-radius:4px;color:#fff;left:20px;position:absolute;top:45px;min-width:160px;font-size:10px;text-align:left}.container-mobile.v-1gy2e68.v-1gy2e68.v-1gy2e68{top:16px;left:16px}button.v-1gy2e68.v-1gy2e68.v-1gy2e68{position:absolute;right:5px;top:3px;cursor:pointer;outline:0;border:none;background-color:transparent;padding:0;color:#fff}.content.v-1gy2e68.v-1gy2e68.v-1gy2e68{padding:5px}.content.v-1gy2e68>div.v-1gy2e68>div.v-1gy2e68{display:inline-block;text-align:right;width:52px;padding:0 5px}")}function a6(t){let e,i,n,l,o=t[0].id+"",r;return{c(){e=g("div"),i=g("div"),i.textContent="Video id",n=z(),l=g("span"),r=g0(o),u(i,"class","v-1gy2e68"),u(e,"class","v-1gy2e68")},m(s,a){T(s,e,a),v(e,i),v(e,n),v(e,l),v(l,r)},p(s,a){a&1&&o!==(o=s[0].id+"")&&A0(r,o)},d(s){s&&E(e)}}}function c6(t){let e,i,n,l,o=t[0].provider+"",r;return{c(){e=g("div"),i=g("div"),i.textContent="Provider",n=z(),l=g("span"),r=g0(o),u(i,"class","v-1gy2e68"),u(e,"class","v-1gy2e68")},m(s,a){T(s,e,a),v(e,i),v(e,n),v(e,l),v(l,r)},p(s,a){a&1&&o!==(o=s[0].provider+"")&&A0(r,o)},d(s){s&&E(e)}}}function u6(t){let e,i,n,l,o=t[0].viewport+"",r;return{c(){e=g("div"),i=g("div"),i.textContent="Viewport",n=z(),l=g("span"),r=g0(o),u(i,"class","v-1gy2e68"),u(e,"class","v-1gy2e68")},m(s,a){T(s,e,a),v(e,i),v(e,n),v(e,l),v(l,r)},p(s,a){a&1&&o!==(o=s[0].viewport+"")&&A0(r,o)},d(s){s&&E(e)}}}function d6(t){let e,i,n,l,o=t[0].videoSize+"",r;return{c(){e=g("div"),i=g("div"),i.textContent="Video size",n=z(),l=g("span"),r=g0(o),u(i,"class","v-1gy2e68"),u(e,"class","v-1gy2e68")},m(s,a){T(s,e,a),v(e,i),v(e,n),v(e,l),v(l,r)},p(s,a){a&1&&o!==(o=s[0].videoSize+"")&&A0(r,o)},d(s){s&&E(e)}}}function f6(t){let e,i,n,l,o=t[0].cdn+"",r;return{c(){e=g("div"),i=g("div"),i.textContent="CDN host",n=z(),l=g("span"),r=g0(o),u(i,"class","v-1gy2e68"),u(e,"class","v-1gy2e68")},m(s,a){T(s,e,a),v(e,i),v(e,n),v(e,l),v(l,r)},p(s,a){a&1&&o!==(o=s[0].cdn+"")&&A0(r,o)},d(s){s&&E(e)}}}function v6(t){let e,i,n,l,o=t[0].volume+"",r,s;return{c(){e=g("div"),i=g("div"),i.textContent="Volume",n=z(),l=g("span"),r=g0(o),s=g0(" %"),u(i,"class","v-1gy2e68"),u(e,"class","v-1gy2e68")},m(a,c){T(a,e,c),v(e,i),v(e,n),v(e,l),v(l,r),v(l,s)},p(a,c){c&1&&o!==(o=a[0].volume+"")&&A0(r,o)},d(a){a&&E(e)}}}function m6(t){let e,i,n,l,o=t[0].buffer.toFixed(2)+"",r,s;return{c(){e=g("div"),i=g("div"),i.textContent="Buffer",n=z(),l=g("span"),r=g0(o),s=g0(" s"),u(i,"class","v-1gy2e68"),u(e,"class","v-1gy2e68")},m(a,c){T(a,e,c),v(e,i),v(e,n),v(e,l),v(l,r),v(l,s)},p(a,c){c&1&&o!==(o=a[0].buffer.toFixed(2)+"")&&A0(r,o)},d(a){a&&E(e)}}}function p6(t){let e,i,n,l,o,r,s=t[0].speed.toFixed(2)+"",a,c,f;return l=new Tt({props:{values:t[5]}}),{c(){e=g("div"),i=g("div"),i.textContent="Network",n=z(),i0(l.$$.fragment),o=z(),r=g("span"),a=g0(s),c=g0(" Kbps"),u(i,"class","v-1gy2e68"),u(e,"class","v-1gy2e68")},m(m,p){T(m,e,p),v(e,i),v(e,n),$(l,e,null),v(e,o),v(e,r),v(r,a),v(r,c),f=!0},p(m,p){const d={};p&32&&(d.values=m[5]),l.$set(d),(!f||p&1)&&s!==(s=m[0].speed.toFixed(2)+"")&&A0(a,s)},i(m){f||(h(l.$$.fragment,m),f=!0)},o(m){_(l.$$.fragment,m),f=!1},d(m){m&&E(e),e0(l)}}}function h6(t){let e,i,n,l,o,r,s=t[0].bitrate.toFixed(2)+"",a,c,f;return l=new Tt({props:{values:t[6]}}),{c(){e=g("div"),i=g("div"),i.textContent="V bitrate",n=z(),i0(l.$$.fragment),o=z(),r=g("span"),a=g0(s),c=g0(" Kbps"),u(i,"class","v-1gy2e68"),u(e,"class","v-1gy2e68")},m(m,p){T(m,e,p),v(e,i),v(e,n),$(l,e,null),v(e,o),v(e,r),v(r,a),v(r,c),f=!0},p(m,p){const d={};p&64&&(d.values=m[6]),l.$set(d),(!f||p&1)&&s!==(s=m[0].bitrate.toFixed(2)+"")&&A0(a,s)},i(m){f||(h(l.$$.fragment,m),f=!0)},o(m){_(l.$$.fragment,m),f=!1},d(m){m&&E(e),e0(l)}}}function D4(t){let e,i,n,l,o,r,s,a,c=t[0].version+"",f,m,p,d,b,C,S,L,N,k,B,A,y,M,V,W,I,G,j,O,U,x,d0,X,Z,n0,E0,b0,P0,W0,f0=t[0].id&&a6(t),l0=t[0].provider&&c6(t),J=t[0].viewport&&u6(t),h0=t[0].videoSize&&d6(t),L0=t[0].cdn&&f6(t),Y=t[0].volume&&v6(t),w0=t[0].buffer&&m6(t),u0=t[0].speed&&p6(t),F=t[0].bitrate&&h6(t);return X=new Tt({props:{values:t[4]}}),{c(){e=g("div"),i=g("button"),i.textContent="[x]",n=z(),l=g("div"),o=g("div"),r=g("div"),r.textContent="Version",s=z(),a=g("span"),f=g0(c),m=z(),f0&&f0.c(),p=z(),l0&&l0.c(),d=z(),J&&J.c(),b=z(),h0&&h0.c(),C=z(),L0&&L0.c(),S=z(),Y&&Y.c(),L=z(),w0&&w0.c(),N=z(),k=g("div"),B=g("div"),B.textContent="Dropped",A=z(),y=g("span"),M=g0(t[2]),V=g0(" / "),W=g0(t[1]),I=g0(" frames"),G=z(),u0&&u0.c(),j=z(),F&&F.c(),O=z(),U=g("div"),x=g("div"),x.textContent="FPS",d0=z(),i0(X.$$.fragment),Z=z(),n0=g("span"),E0=g0(t[3]),u(i,"class","close v-1gy2e68"),u(i,"title","\u0437\u0430\u043A\u0440\u044B\u0442\u044C"),u(r,"class","v-1gy2e68"),u(o,"class","v-1gy2e68"),u(B,"class","v-1gy2e68"),u(k,"class","v-1gy2e68"),u(x,"class","v-1gy2e68"),u(U,"class","v-1gy2e68"),u(l,"class","content v-1gy2e68"),u(e,"class","container v-1gy2e68"),H(e,"container-mobile",t[7])},m(q,t0){T(q,e,t0),v(e,i),v(e,n),v(e,l),v(l,o),v(o,r),v(o,s),v(o,a),v(a,f),v(l,m),f0&&f0.m(l,null),v(l,p),l0&&l0.m(l,null),v(l,d),J&&J.m(l,null),v(l,b),h0&&h0.m(l,null),v(l,C),L0&&L0.m(l,null),v(l,S),Y&&Y.m(l,null),v(l,L),w0&&w0.m(l,null),v(l,N),v(l,k),v(k,B),v(k,A),v(k,y),v(y,M),v(y,V),v(y,W),v(y,I),v(l,G),u0&&u0.m(l,null),v(l,j),F&&F.m(l,null),v(l,O),v(l,U),v(U,x),v(U,d0),$(X,U,null),v(U,Z),v(U,n0),v(n0,E0),b0=!0,P0||(W0=r0(i,"click",t[9]),P0=!0)},p(q,[t0]){(!b0||t0&1)&&c!==(c=q[0].version+"")&&A0(f,c),q[0].id?f0?f0.p(q,t0):(f0=a6(q),f0.c(),f0.m(l,p)):f0&&(f0.d(1),f0=null),q[0].provider?l0?l0.p(q,t0):(l0=c6(q),l0.c(),l0.m(l,d)):l0&&(l0.d(1),l0=null),q[0].viewport?J?J.p(q,t0):(J=u6(q),J.c(),J.m(l,b)):J&&(J.d(1),J=null),q[0].videoSize?h0?h0.p(q,t0):(h0=d6(q),h0.c(),h0.m(l,C)):h0&&(h0.d(1),h0=null),q[0].cdn?L0?L0.p(q,t0):(L0=f6(q),L0.c(),L0.m(l,S)):L0&&(L0.d(1),L0=null),q[0].volume?Y?Y.p(q,t0):(Y=v6(q),Y.c(),Y.m(l,L)):Y&&(Y.d(1),Y=null),q[0].buffer?w0?w0.p(q,t0):(w0=m6(q),w0.c(),w0.m(l,N)):w0&&(w0.d(1),w0=null),(!b0||t0&4)&&A0(M,q[2]),(!b0||t0&2)&&A0(W,q[1]),q[0].speed?u0?(u0.p(q,t0),t0&1&&h(u0,1)):(u0=p6(q),u0.c(),h(u0,1),u0.m(l,j)):u0&&(a0(),_(u0,1,1,()=>{u0=null}),c0()),q[0].bitrate?F?(F.p(q,t0),t0&1&&h(F,1)):(F=h6(q),F.c(),h(F,1),F.m(l,O)):F&&(a0(),_(F,1,1,()=>{F=null}),c0());const Q0={};t0&16&&(Q0.values=q[4]),X.$set(Q0),(!b0||t0&8)&&A0(E0,q[3]),(!b0||t0&128)&&H(e,"container-mobile",q[7])},i(q){b0||(h(u0),h(F),h(X.$$.fragment,q),b0=!0)},o(q){_(u0),_(F),_(X.$$.fragment,q),b0=!1},d(q){q&&E(e),f0&&f0.d(),l0&&l0.d(),J&&J.d(),h0&&h0.d(),L0&&L0.d(),Y&&Y.d(),w0&&w0.d(),u0&&u0.d(),F&&F.d(),e0(X),P0=!1,W0()}}}function U4(t,e,i){let n;const l=F0(),o=l.ui.debugPanelVisible,r=l.ui.isMobile;Q(t,r,k=>i(7,n=k));const s=k=>{t1.set(yt,!1),o.set(!1),k.stopPropagation()};let a=l.actions.internal.getDebugPanelData(),c=l.actions.internal.getVideoElement(),f=0,m=0,p=0;const d=new ct(60),b=new ct(60),C=new ct(60);let S=[],L=[],N=[];return i1(()=>{t1.set(yt,!0),l.actions.internal.startLogging(),c&&(i(2,m=c.getVideoPlaybackQuality().droppedVideoFrames),i(1,f=c.getVideoPlaybackQuality().totalVideoFrames));const k=window.setInterval(()=>{i(0,a=l.actions.internal.getDebugPanelData())},500);let B;return c&&(B=window.setInterval(()=>{if(c){i(2,m=c.getVideoPlaybackQuality().droppedVideoFrames);const A=c.getVideoPlaybackQuality().totalVideoFrames;i(3,p=A-f),i(1,f=A),d.push(p),a.speed&&b.push(a.speed),a.bitrate&&C.push(a.bitrate),i(4,S=d.getValuesFromBottom()),i(5,L=b.getValuesFromBottom()),i(6,N=C.getValuesFromBottom())}},1e3)),()=>{l.actions.internal.stopLogging(),clearInterval(k),B&&clearInterval(B)}}),[a,f,m,p,S,L,N,n,r,s]}class q4 extends p0{constructor(e){super(),m0(this,e,U4,D4,v0,{},j4)}}function Q4(t){_0(t,"v-1ome55p",".close.v-1ome55p{cursor:pointer;opacity:0.8;transition:opacity 0.2s;position:relative;width:16px;height:16px}.close.v-1ome55p:hover{opacity:1}.close.v-1ome55p:before,.close.v-1ome55p:after{position:absolute;left:8px;content:' ';height:16px;width:2px;background-color:var(--white)}.close.v-1ome55p:before{transform:rotate(45deg)}.close.v-1ome55p:after{transform:rotate(-45deg)}")}function W4(t){let e,i,n;return{c(){e=g("div"),u(e,"class","close v-1ome55p")},m(l,o){T(l,e,o),i||(n=r0(e,"click",t[0]),i=!0)},p:R,i:R,o:R,d(l){l&&E(e),i=!1,n()}}}function G4(t){function e(i){de.call(this,t,i)}return[e]}class Y4 extends p0{constructor(e){super(),m0(this,e,G4,W4,v0,{},Q4)}}function K4(t){_0(t,"v-8jhsry",`.timer.v-8jhsry{border-radius:50%;transition:background .2s;background:rgba(31, 31, 31, .65);width:50px;height:50px;display:flex;align-items:center;justify-content:space-around}.timer.v-8jhsry:hover{background:rgba(31, 31, 31, .85)
|
|
29
|
+
}.timer-canvas.v-8jhsry{width:50px;height:50px;position:absolute}.timer-play-icon.v-8jhsry{width:22px;height:26px}`)}function X4(t){let e,i,n,l,o,r,s;return{c(){e=g("div"),i=g("canvas"),n=z(),l=S0("svg"),o=S0("g"),r=S0("g"),s=S0("path"),u(i,"class","timer-canvas v-8jhsry"),u(i,"width","100"),u(i,"height","100"),u(s,"class","_play"),u(s,"d","m8.13340613 5.10548415 10.49681277 6.24354325c.3559987.2117494.472936.6720001.2611866 1.0279989-.0638111.1072809-.1533894.1969388-.2606135.2608453l-10.4968128 6.256187c-.35581027.2120659-.81616483.095538-1.02823068-.2602722-.06921066-.1161237-.10574852-.2487949-.10574852-.3839792v-12.49973035c0-.41421357.33578644-.75.75-.75.13495801 0 .26741554.03641567.38340613.1054073z"),u(s,"fill","#fff"),u(r,"fill-rule","nonzero"),u(o,"fill","none"),u(o,"fill-rule","evenodd"),u(l,"class","timer-play-icon v-8jhsry"),u(l,"viewBox","0 0 24 24"),u(l,"xmlns","http://www.w3.org/2000/svg"),u(e,"class","timer v-8jhsry")},m(a,c){T(a,e,c),v(e,i),t[2](i),v(e,n),v(e,l),v(l,o),v(o,r),v(r,s)},p:R,i:R,o:R,d(a){a&&E(e),t[2](null)}}}const x4=5e3;function J4(t,e,i){let{onTimerEnded:n=R}=e,l;i1(()=>{let r;const s=l.getContext("2d");if(!s)return;s.lineWidth=6,s.lineCap="round",s.strokeStyle="#fff";const a=Date.now(),c=()=>{const f=(Date.now()-a)/x4;f<1?(s.clearRect(0,0,100,100),s.beginPath(),s.arc(50,50,47,-Math.PI/2,-Math.PI/2+Math.PI*2*f),s.stroke(),r=requestAnimationFrame(c)):n()};return r=requestAnimationFrame(c),()=>{cancelAnimationFrame(r)}});function o(r){x0[r?"unshift":"push"](()=>{l=r,i(0,l)})}return t.$$set=r=>{"onTimerEnded"in r&&i(1,n=r.onTimerEnded)},[l,n,o]}class $4 extends p0{constructor(e){super(),m0(this,e,J4,X4,v0,{onTimerEnded:1},K4)}}function ea(t){_0(t,"v-kisfwc",".overlay.v-kisfwc{width:100%;height:100%;background:rgba(0, 0, 0, 0.72);position:absolute}.next-video.v-kisfwc{position:absolute;top:50%;left:50%;transform:translate(-50%, -50%);display:flex;width:362px;flex-direction:column}.top.v-kisfwc{display:flex;justify-content:space-between}.caption.v-kisfwc{font-size:11px;font-weight:bold;color:var(--white);text-transform:uppercase;opacity:0.8}.row.v-kisfwc{height:102px;background:rgba(48, 48, 48, .8);cursor:pointer;margin-top:6px;display:flex;flex-direction:row;flex-wrap:wrap;width:100%}.column.v-kisfwc{display:flex;flex-direction:column;flex-basis:50%}.thumb.v-kisfwc{width:100%;height:100%;background:no-repeat center;background-size:cover;display:flex;align-items:center;position:relative;justify-content:space-around}.thumb-overlay.v-kisfwc{width:100%;height:100%;background:var(--black);opacity:0.3;position:absolute}.title.v-kisfwc{padding:10px 16px;font-size:12px;font-weight:bold;color:var(--white);line-height:1.6;max-height:52px;overflow:hidden}")}function g6(t){let e,i;return e=new $4({props:{onTimerEnded:t[2]}}),{c(){i0(e.$$.fragment)},m(n,l){$(e,n,l),i=!0},p(n,l){const o={};l&4&&(o.onTimerEnded=n[2]),e.$set(o)},i(n){i||(h(e.$$.fragment,n),i=!0)},o(n){_(e.$$.fragment,n),i=!1},d(n){e0(e,n)}}}function ta(t){let e,i,n,l,o,r,s,a,c,f,m,p,d,b,C,S,L,N,k,B,A;s=new Y4({}),s.$on("click",t[4]);let y=t[3]&&g6(t);return{c(){e=g("div"),i=z(),n=g("div"),l=g("div"),o=g("div"),o.textContent="\u0441\u043B\u0435\u0434\u0443\u044E\u0449\u0435\u0435 \u0432\u0438\u0434\u0435\u043E",r=z(),i0(s.$$.fragment),a=z(),c=g("div"),f=g("div"),m=g("div"),p=g("div"),d=z(),y&&y.c(),C=z(),S=g("div"),L=g("div"),N=g0(t[0]),u(e,"class","overlay v-kisfwc"),u(o,"class","caption v-kisfwc"),u(l,"class","top v-kisfwc"),u(p,"class","thumb-overlay v-kisfwc"),u(m,"class","thumb v-kisfwc"),u(m,"style",b=`background-image: url('${t[1]}')`),u(f,"class","column v-kisfwc"),u(L,"class","title v-kisfwc"),u(S,"class","column v-kisfwc"),u(c,"class","row v-kisfwc"),u(n,"class","next-video v-kisfwc")},m(M,V){T(M,e,V),T(M,i,V),T(M,n,V),v(n,l),v(l,o),v(l,r),$(s,l,null),v(n,a),v(n,c),v(c,f),v(f,m),v(m,p),v(m,d),y&&y.m(m,null),v(c,C),v(c,S),v(S,L),v(L,N),k=!0,B||(A=r0(c,"click",function(){D0(t[2])&&t[2].apply(this,arguments)}),B=!0)},p(M,[V]){t=M,t[3]?y?(y.p(t,V),V&8&&h(y,1)):(y=g6(t),y.c(),h(y,1),y.m(m,null)):y&&(a0(),_(y,1,1,()=>{y=null}),c0()),(!k||V&2&&b!==(b=`background-image: url('${t[1]}')`))&&u(m,"style",b),(!k||V&1)&&A0(N,t[0])},i(M){k||(h(s.$$.fragment,M),h(y),k=!0)},o(M){_(s.$$.fragment,M),_(y),k=!1},d(M){M&&E(e),M&&E(i),M&&E(n),e0(s),y&&y.d(),B=!1,A()}}}function ia(t,e,i){let{title:n}=e,{thumb:l}=e,{playNextVideo:o}=e,r=!0;const s=()=>i(3,r=!1);return t.$$set=a=>{"title"in a&&i(0,n=a.title),"thumb"in a&&i(1,l=a.thumb),"playNextVideo"in a&&i(2,o=a.playNextVideo)},[n,l,o,r,s]}class na extends p0{constructor(e){super(),m0(this,e,ia,ta,v0,{title:0,thumb:1,playNextVideo:2},ea)}}function la(t,e,i){let{playNextVideo:n}=e;return i1(()=>{n()}),t.$$set=l=>{"playNextVideo"in l&&i(0,n=l.playNextVideo)},[n]}class oa extends p0{constructor(e){super(),m0(this,e,la,null,v0,{playNextVideo:0})}}function ra(t){_0(t,"v-6m6jx8",`.title.v-6m6jx8{position:absolute;pointer-events:none;left:0;top:0;width:100%;height:var(--videoplayer-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(--videoplayer-controls-transition-duration);transition-timing-function:var(--videoplayer-controls-transition-fn);will-change:transform, opacity;background:linear-gradient(
|
|
30
30
|
0deg,
|
|
31
31
|
rgba(0, 0, 0, 0) 0%,
|
|
32
32
|
rgba(0, 0, 0, 0.02) 19%,
|
|
33
33
|
rgba(0, 0, 0, 0.10) 34%,
|
|
34
34
|
rgba(0, 0, 0, 0.40) 60%,
|
|
35
35
|
rgba(0, 0, 0, 0.60) 100%
|
|
36
|
-
)}.hidden.v-6m6jx8{visibility:hidden;transform:translateY(calc(var(--videoplayer-controls-gradient-height) * -1));opacity:0}`)}function Jd(t){let e,i;return{c(){e=g("div"),i=_e(t[0]),u(e,"class","title v-6m6jx8"),E(e,"hidden",t[1])},m(n,l){M(n,e,l),v(e,i)},p(n,[l]){l&1&&Le(i,n[0]),l&2&&E(e,"hidden",n[1])},i:B,o:B,d(n){n&&T(e)}}}function Zd(t,e,i){let{title:n=""}=e,{isHidden:l=!1}=e;return t.$$set=o=>{"title"in o&&i(0,n=o.title),"isHidden"in o&&i(1,l=o.isHidden)},[n,l]}class xd extends be{constructor(e){super(),ge(this,e,Zd,Jd,me,{title:0,isHidden:1},Xd)}}function $d(t){Se(t,"v-1o62kpz",".wrapper.v-1o62kpz{height:100%;background-position:center;background-size:cover;display:flex;align-items:center;justify-content:center;font-size:16px;flex-direction:column}.icon_wrapper.v-1o62kpz{display:flex;flex-direction:column;align-items:center;width:400px}.icon.v-1o62kpz{width:50px;height:50px}.text.v-1o62kpz{margin-top:20px}")}function _o(t){let e,i,n;return{c(){e=g("div"),i=_e("\u0412\u0438\u0434\u0435\u043E \u0432\u043E\u0441\u043F\u0440\u043E\u0438\u0437\u0432\u043E\u0434\u0438\u0442\u0441\u044F \u043D\u0430 "),n=_e(t[1]),u(e,"class","text v-1o62kpz")},m(l,o){M(l,e,o),v(e,i),v(e,n)},p(l,o){o&2&&Le(n,l[1])},d(l){l&&T(e)}}}function ef(t){let e,i,n,l,o,r,s=t[1]&&_o(t);return{c(){e=g("div"),i=g("div"),i.innerHTML='<svg class="icon v-1o62kpz" width="22" height="22" viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg"><g fill="none" fill-rule="evenodd"><path d="M1 18v3h3c0-1.66-1.34-3-3-3zm0-4v2c2.76 0 5 2.24 5 5h2c0-3.87-3.13-7-7-7zm0-4v2a9 9 0 0 1 9 9h2c0-6.08-4.93-11-11-11zm20-7H3c-1.1 0-2 .9-2 2v3h2V5h18v14h-7v2h7c1.1 0 2-.9 2-2V5c0-1.1-.9-2-2-2z" fill="#fff"></path><path d="M0 0h24v24H0z"></path></g></svg>',n=L(),s&&s.c(),u(i,"class","icon_wrapper v-1o62kpz"),u(e,"class","wrapper v-1o62kpz"),u(e,"style",l=`background-image: linear-gradient(0deg, rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.6)), url('${t[0]||""}')`)},m(c,a){M(c,e,a),v(e,i),v(e,n),s&&s.m(e,null),o||(r=oe(e,"click",t[2]),o=!0)},p(c,[a]){c[1]?s?s.p(c,a):(s=_o(c),s.c(),s.m(e,null)):s&&(s.d(1),s=null),a&1&&l!==(l=`background-image: linear-gradient(0deg, rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.6)), url('${c[0]||""}')`)&&u(e,"style",l)},i:B,o:B,d(c){c&&T(e),s&&s.d(),o=!1,r()}}}function tf(t,e,i){let{thumbUrl:n}=e,{chromecastDeviceName:l}=e;function o(r){ft.call(this,t,r)}return t.$$set=r=>{"thumbUrl"in r&&i(0,n=r.thumbUrl),"chromecastDeviceName"in r&&i(1,l=r.chromecastDeviceName)},[n,l,o]}class nf extends be{constructor(e){super(),ge(this,e,tf,ef,me,{thumbUrl:0,chromecastDeviceName:1},$d)}}var lf="data:image/svg+xml,%3csvg viewBox='460 190 130 90' xmlns='http://www.w3.org/2000/svg'%3e%3cpath 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' fill='white' fill-rule='evenodd'/%3e%3c/svg%3e";function of(t){Se(t,"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}.icon.v-zd9h6u{width:200px;height:200px}")}function rf(t){let e,i,n;return{c(){e=g("div"),i=g("img"),Ee(i.src,n=lf)||u(i,"src",n),u(i,"class","icon v-zd9h6u"),u(i,"alt",""),u(e,"class","container v-zd9h6u")},m(l,o){M(l,e,o),v(e,i)},p:B,i:B,o:B,d(l){l&&T(e)}}}class sf extends be{constructor(e){super(),ge(this,e,null,rf,me,{},of)}}function af(t,e,i){let n,l,o,r,s,{isAds:c}=e,{hideContextMenu:a}=e,{toggleFullscreen:d}=e;const m=Qe(),f=m.getLogger().createComponentLog("KeyboardControls component"),p=m.state.playbackState$;Q(t,p,S=>i(13,s=S));const w=m.ads.playbackState;Q(t,w,S=>i(12,r=S));const b=m.state.positionExact$;Q(t,b,S=>i(11,o=S));const y=m.state.duration$;Q(t,y,S=>i(10,l=S));const N=m.state.volume$;Q(t,N,S=>i(9,n=S));const _=S=>{a();const D=S.code;if(S.ctrlKey||S.altKey||S.metaKey)return;const R=s===Ve.PlaybackState.PLAYING||s===Ve.PlaybackState.PAUSED,F=c&&(r===qe.PAUSED||r===qe.PLAYING);if(R||F)switch(f({message:`key down, code: ${D}`}),D){case tt.KeyJ:case tt.ArrowLeft:{if(F)break;const I=Math.max(o-Cl,0);o>0&&m.actions.internal.seekTime(I),S.preventDefault();break}case tt.KeyL:case tt.ArrowRight:{if(F)break;const I=Math.min(o+Cl,l);o<l&&m.actions.internal.seekTime(I),S.preventDefault();break}case tt.ArrowUp:{const I=Math.min(n+Al,Vl);n<Vl&&m.actions.internal.setVolume(I),S.preventDefault();break}case tt.ArrowDown:{const I=Math.max(n-Al,0);n>0&&m.actions.internal.setVolume(I),S.preventDefault();break}case tt.Comma:{S.shiftKey&&(m.actions.internal.decrementPlaybackRate(),S.preventDefault());break}case tt.Period:{S.shiftKey&&(m.actions.internal.incrementPlaybackRate(),S.preventDefault());break}case tt.KeyK:case tt.Space:m.actions.internal.togglePlay(),S.preventDefault();break;case tt.KeyM:m.actions.internal.toggleMuted(),S.preventDefault();break;case tt.KeyF:d(),S.preventDefault();break;default:de.checkNever(D);break}};return t.$$set=S=>{"isAds"in S&&i(5,c=S.isAds),"hideContextMenu"in S&&i(6,a=S.hideContextMenu),"toggleFullscreen"in S&&i(7,d=S.toggleFullscreen)},[p,w,b,y,N,c,a,d,_]}class cf extends be{constructor(e){super(),ge(this,e,af,null,me,{isAds:5,hideContextMenu:6,toggleFullscreen:7,keyDownHandler:8})}get keyDownHandler(){return this.$$.ctx[8]}}function uf(t){Se(t,"v-1c30l04",".double-click-area.v-1c30l04{position:absolute;z-index:1;top:0;height:100%;width:25%;overflow:hidden}.double-click-area.left.v-1c30l04{left:0}.double-click-area.right.v-1c30l04{right:0}.semicircle.v-1c30l04{position:absolute;top:0;width:100%;height:100%;background-color:rgba(0, 0, 0, 0.5)}.semicircle.left.v-1c30l04{left:0;border-top-right-radius:50%;border-bottom-right-radius:50%}.semicircle.right.v-1c30l04{right:0;border-top-left-radius:50%;border-bottom-left-radius:50%}.info.v-1c30l04{position:absolute;top:50%;left:50%;transform:translate(-50%, -50%);display:flex;flex-direction:column;align-items:center;justify-content:center}.triangles-wrapper.v-1c30l04{position:relative;display:flex;margin-bottom:10px;justify-content:center}.triangle.v-1c30l04{width:0;height:0;border-top:6px solid transparent;border-bottom:6px solid transparent;animation:v-1c30l04-blink 500ms infinite;opacity:0}.triangle.right.v-1c30l04:nth-child(1),.triangle.left.v-1c30l04:nth-child(3){animation-delay:0ms}.triangle.right.v-1c30l04:nth-child(2),.triangle.left.v-1c30l04:nth-child(2){animation-delay:100ms}.triangle.right.v-1c30l04:nth-child(3),.triangle.left.v-1c30l04:nth-child(1){animation-delay:200ms}@keyframes v-1c30l04-blink{0%{opacity:0}50%{opacity:1}100%{opacity:0}}.triangle.left.v-1c30l04{border-right:8px solid var(--white)}.triangle.right.v-1c30l04{border-left:8px solid var(--white)}.triangle.v-1c30l04:not(:last-child){margin-right:5px}.step-caption.v-1c30l04{margin:0;text-align:center;font-size:12px;line-height:1;color:var(--white)}")}function yo(t){let e,i,n,l,o,r,s,c,a,d,m,f,p,w,b,y=Te("doubletap_seek_step",{seconds:t[1].toFixed(0)})+"",N;return{c(){e=g("div"),n=L(),l=g("div"),o=g("div"),r=g("div"),c=L(),a=g("div"),m=L(),f=g("div"),w=L(),b=g("p"),N=_e(y),u(e,"class",i="semicircle "+t[0]+" v-1c30l04"),u(r,"class",s="triangle "+t[0]+" v-1c30l04"),u(a,"class",d="triangle "+t[0]+" v-1c30l04"),u(f,"class",p="triangle "+t[0]+" v-1c30l04"),u(o,"class","triangles-wrapper v-1c30l04"),u(b,"class","step-caption v-1c30l04"),u(l,"class","info v-1c30l04")},m(_,S){M(_,e,S),M(_,n,S),M(_,l,S),v(l,o),v(o,r),v(o,c),v(o,a),v(o,m),v(o,f),v(l,w),v(l,b),v(b,N)},p(_,S){S&1&&i!==(i="semicircle "+_[0]+" v-1c30l04")&&u(e,"class",i),S&1&&s!==(s="triangle "+_[0]+" v-1c30l04")&&u(r,"class",s),S&1&&d!==(d="triangle "+_[0]+" v-1c30l04")&&u(a,"class",d),S&1&&p!==(p="triangle "+_[0]+" v-1c30l04")&&u(f,"class",p),S&2&&y!==(y=Te("doubletap_seek_step",{seconds:_[1].toFixed(0)})+"")&&Le(N,y)},d(_){_&&T(e),_&&T(n),_&&T(l)}}}function df(t){let e,i,n,l,o=t[2]&&yo(t);return{c(){e=g("div"),o&&o.c(),u(e,"class",i="double-click-area "+t[0]+" v-1c30l04")},m(r,s){M(r,e,s),o&&o.m(e,null),n||(l=oe(e,"click",ss(t[3]())),n=!0)},p(r,[s]){r[2]?o?o.p(r,s):(o=yo(r),o.c(),o.m(e,null)):o&&(o.d(1),o=null),s&1&&i!==(i="double-click-area "+r[0]+" v-1c30l04")&&u(e,"class",i)},i:B,o:B,d(r){r&&T(e),o&&o.d(),n=!1,l()}}}function ff(t,e,i){let{side:n}=e,{seekStep:l}=e,{handleSingleFirstClick:o}=e,{handleSecondClick:r}=e,s=!1,c=0,a=0;const d=()=>{let f=0;return()=>{f+=1,f===1?c=window.setTimeout(()=>{o(),f=0},300):(window.clearTimeout(c),f=0,r(),i(2,s=!0),a=window.setTimeout(()=>{i(2,s=!1)},500))}};return qo(()=>{window.clearTimeout(c),window.clearTimeout(a)}),t.$$set=m=>{"side"in m&&i(0,n=m.side),"seekStep"in m&&i(1,l=m.seekStep),"handleSingleFirstClick"in m&&i(4,o=m.handleSingleFirstClick),"handleSecondClick"in m&&i(5,r=m.handleSecondClick)},[n,l,s,d,o,r]}class Or extends be{constructor(e){super(),ge(this,e,ff,df,me,{side:0,seekStep:1,handleSingleFirstClick:4,handleSecondClick:5},uf)}}function vf(t,e){var i,n,l,o,r;return t?((r=(o=(l=(n=(i=t.matches)!==null&&i!==void 0?i:t.matchesSelector)!==null&&n!==void 0?n:t.mozMatchesSelector)!==null&&l!==void 0?l:t.msMatchesSelector)!==null&&o!==void 0?o:t.oMatchesSelector)!==null&&r!==void 0?r:t.webkitMatchesSelector).call(t,e):!1}function mf(t){return vf(t,":hover")}const Fr=t=>t>1?Hi:t<0?0:t,ko=t=>Ut.set(Cr,Fr(t)),jr=()=>{const t=parseFloat(Ut.get(Cr));return isNaN(t)?Hi:Fr(t)},Po=t=>Ut.set(Er,t),pf=()=>{const t=Ut.get(Er);return typeof t=="boolean"?t:!1},hf=t=>{if(t.requestFullscreen)return t.requestFullscreen();if(t.msRequestFullscreen)return t.msRequestFullscreen();if(t.webkitRequestFullscreen)return t.webkitRequestFullscreen();if(t.mozRequestFullScreen)return t.mozRequestFullScreen();const e=t.querySelector("video");return e!=null&&e.webkitEnterFullscreen?e.webkitEnterFullscreen():Promise.reject()},gf=t=>t.exitFullscreen?t.exitFullscreen():t.msExitFullscreen?t.msExitFullscreen():t.webkitExitFullscreen?t.webkitExitFullscreen():t.mozCancelFullScreen?t.mozCancelFullScreen():Promise.reject(),bf=t=>{const e=t;return e!=null&&e.webkitExitFullscreen?e==null?void 0:e.webkitExitFullscreen():Promise.reject()},So=()=>{const t=document;return!!(t.fullscreenElement||t.mozFullScreenElement||t.webkitFullscreenElement||t.msFullscreenElement)},wf=t=>{document.addEventListener("fullscreenchange",t),document.addEventListener("webkitfullscreenchange",t),document.addEventListener("mozfullscreenchange",t),document.addEventListener("MSFullscreenChange",t)},_f=t=>{document.removeEventListener("fullscreenchange",t),document.removeEventListener("webkitfullscreenchange",t),document.removeEventListener("mozfullscreenchange",t),document.removeEventListener("MSFullscreenChange",t)},yf=t=>{const e=window.screen;return(async l=>e.orientation?e.orientation.lock(l):e.mozLockOrientation?e.mozLockOrientation(l):e.msLockOrientation?e.msLockOrientation(l):Promise.reject())(((l={width:0,height:0})=>l.width<=l.height?"portrait":"landscape")(t))},{window:kf}=ps;function Pf(t){Se(t,"v-phigzb",".player-wrapper.v-phigzb{--white:#fff;--black:#000;--red:#ff3347;--videoplayer-controls-height:45px;--videoplayer-controls-fullscreen-height:50px;--videoplayer-controls-gradient-height:100px;--videoplayer-controls-transition-duration:0.25s;--videoplayer-controls-transition-fn:cubic-bezier(0.455, 0.03, 0.515, 0.955);--videoplayer-focused-element-shadow:inset 0 0 0 2px #2a5885;--videoplayer-focused-slider-shadow:0 0 0 2px #2a5885;--videoplayer-big-play-size:75px;--videoplayer-big-play-radius:50%;--videoplayer-big-play-bg-color:rgba(0, 0, 0, 0.5);--videoplayer-big-play-hover-bg-color:rgba(0, 0, 0, 0.6);--videoplayer-big-play-icon-width:38px;--videoplayer-big-play-icon-height:33px;--videoplayer-slider-height:5px;--videoplayer-slider-radius:calc(var(--videoplayer-slider-height) / 2);--videoplayer-slider-handle-size:13px;--videoplayer-slider-bg:rgba(255, 255, 255, 0.4);--videoplayer-slider-loaded-bg:rgba(255, 255, 255, 0.4);--videoplayer-slider-filled-bg:var(--white);--videoplayer-slider-filled-active-live-bg:var(--red);--videoplayer-slider-filled-ads:rgba(103, 165, 235, 1);--videoplayer-slider-disabled-color:rgba(248, 248, 248, 0.31);--videplayer-mobile-settings-bg:#2C2D2E;--videoplayer-button-hover-transition:opacity 0.2s;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}.player-wrapper.v-phigzb .player-media{position:absolute;left:0;top:0;width:100%;height:100%;background:var(--black);transition:transform 0.2s ease-in-out}.video-container.v-phigzb,.ads-container.v-phigzb{position:absolute;width:100%;height:100%;left:0;top:0}.video-container.v-phigzb{z-index:0}.nocursor.v-phigzb{cursor:none}.ads-container.v-phigzb{background:var(--black)}.hidden.v-phigzb{visibility:hidden}div{outline:none}")}function Vo(t){let e,i,n,l;e=new Or({props:{side:"left",seekStep:Bi,handleSingleFirstClick:t[68],handleSecondClick:t[98]}});let o=!t[38]&&Ao(t);return{c(){x(e.$$.fragment),i=L(),o&&o.c(),n=ct()},m(r,s){J(e,r,s),M(r,i,s),o&&o.m(r,s),M(r,n,s),l=!0},p(r,s){r[38]?o&&(se(),P(o,1,1,()=>{o=null}),ae()):o?(o.p(r,s),s[1]&128&&h(o,1)):(o=Ao(r),o.c(),h(o,1),o.m(n.parentNode,n))},i(r){l||(h(e.$$.fragment,r),h(o),l=!0)},o(r){P(e.$$.fragment,r),P(o),l=!1},d(r){Z(e,r),r&&T(i),o&&o.d(r),r&&T(n)}}}function Ao(t){let e,i;return e=new Or({props:{side:"right",seekStep:Bi,handleSingleFirstClick:t[68],handleSecondClick:t[99]}}),{c(){x(e.$$.fragment)},m(n,l){J(e,n,l),i=!0},p:B,i(n){i||(h(e.$$.fragment,n),i=!0)},o(n){P(e.$$.fragment,n),i=!1},d(n){Z(e,n)}}}function Co(t){let e,i,n;return i=new wd({props:{adsSlotId:t[5],adsParams:t[6],adsPreviewParam:t[7],duration:t[8]}}),{c(){e=g("div"),x(i.$$.fragment),u(e,"class","ads-container v-phigzb"),E(e,"hidden",t[25]!==Ce.Ads)},m(l,o){M(l,e,o),J(i,e,null),n=!0},p(l,o){const r={};o[0]&32&&(r.adsSlotId=l[5]),o[0]&64&&(r.adsParams=l[6]),o[0]&128&&(r.adsPreviewParam=l[7]),o[0]&256&&(r.duration=l[8]),i.$set(r),(!n||o[0]&33554432)&&E(e,"hidden",l[25]!==Ce.Ads)},i(l){n||(h(i.$$.fragment,l),n=!0)},o(l){P(i.$$.fragment,l),n=!1},d(l){l&&T(e),Z(i)}}}function Eo(t){let e,i,n,l;const o=[Vf,Sf],r=[];function s(c,a){return c[11]?0:1}return e=s(t),i=r[e]=o[e](t),{c(){i.c(),n=ct()},m(c,a){r[e].m(c,a),M(c,n,a),l=!0},p(c,a){let d=e;e=s(c),e===d?r[e].p(c,a):(se(),P(r[d],1,1,()=>{r[d]=null}),ae(),i=r[e],i?i.p(c,a):(i=r[e]=o[e](c),i.c()),h(i,1),i.m(n.parentNode,n))},i(c){l||(h(i),l=!0)},o(c){P(i),l=!1},d(c){r[e].d(c),c&&T(n)}}}function Sf(t){let e,i;return e=new Yd({props:{title:t[15],thumb:t[16],playNextVideo:t[18]}}),{c(){x(e.$$.fragment)},m(n,l){J(e,n,l),i=!0},p(n,l){const o={};l[0]&32768&&(o.title=n[15]),l[0]&65536&&(o.thumb=n[16]),l[0]&262144&&(o.playNextVideo=n[18]),e.$set(o)},i(n){i||(h(e.$$.fragment,n),i=!0)},o(n){P(e.$$.fragment,n),i=!1},d(n){Z(e,n)}}}function Vf(t){let e,i;return e=new Gd({props:{playNextVideo:t[18]}}),{c(){x(e.$$.fragment)},m(n,l){J(e,n,l),i=!0},p(n,l){const o={};l[0]&262144&&(o.playNextVideo=n[18]),e.$set(o)},i(n){i||(h(e.$$.fragment,n),i=!0)},o(n){P(e.$$.fragment,n),i=!1},d(n){Z(e,n)}}}function To(t){let e,i;return e=new xd({props:{title:t[0],isHidden:!t[21]}}),{c(){x(e.$$.fragment)},m(n,l){J(e,n,l),i=!0},p(n,l){const o={};l[0]&1&&(o.title=n[0]),l[0]&2097152&&(o.isHidden=!n[21]),e.$set(o)},i(n){i||(h(e.$$.fragment,n),i=!0)},o(n){P(e.$$.fragment,n),i=!1},d(n){Z(e,n)}}}function Mo(t){let e,i;return e=new nf({props:{thumbUrl:t[1],chromecastDeviceName:t[39]}}),{c(){x(e.$$.fragment)},m(n,l){J(e,n,l),i=!0},p(n,l){const o={};l[0]&2&&(o.thumbUrl=n[1]),l[1]&256&&(o.chromecastDeviceName=n[39]),e.$set(o)},i(n){i||(h(e.$$.fragment,n),i=!0)},o(n){P(e.$$.fragment,n),i=!1},d(n){Z(e,n)}}}function Lo(t){let e,i,n={toggleFullscreen:t[65],hideContextMenu:t[66],isAds:t[25]===Ce.Ads};return e=new cf({props:n}),t[101](e),{c(){x(e.$$.fragment)},m(l,o){J(e,l,o),i=!0},p(l,o){const r={};o[0]&33554432&&(r.isAds=l[25]===Ce.Ads),e.$set(r)},i(l){i||(h(e.$$.fragment,l),i=!0)},o(l){P(e.$$.fragment,l),i=!1},d(l){t[101](null),Z(e,l)}}}function No(t){let e,i,n,l,o;return i=new sf({}),{c(){e=g("div"),x(i.$$.fragment)},m(r,s){M(r,e,s),J(i,e,null),n=!0,l||(o=[oe(e,"contextmenu",Dt(t[67])),oe(e,"click",t[70])],l=!0)},p:B,i(r){n||(h(i.$$.fragment,r),n=!0)},o(r){P(i.$$.fragment,r),n=!1},d(r){r&&T(e),Z(i),l=!1,lt(o)}}}function zo(t){let e,i;return e=new Sd({props:{supportLink:t[3],visible:t[37],playerContainerRef:t[27],controlsContainerRef:t[29],x:t[31],y:t[32]}}),{c(){x(e.$$.fragment)},m(n,l){J(e,n,l),i=!0},p(n,l){const o={};l[0]&8&&(o.supportLink=n[3]),l[1]&64&&(o.visible=n[37]),l[0]&134217728&&(o.playerContainerRef=n[27]),l[0]&536870912&&(o.controlsContainerRef=n[29]),l[1]&1&&(o.x=n[31]),l[1]&2&&(o.y=n[32]),e.$set(o)},i(n){i||(h(e.$$.fragment,n),i=!0)},o(n){P(e.$$.fragment,n),i=!1},d(n){Z(e,n)}}}function Io(t){let e,i;return e=new ed({}),{c(){x(e.$$.fragment)},m(n,l){J(e,n,l),i=!0},i(n){i||(h(e.$$.fragment,n),i=!0)},o(n){P(e.$$.fragment,n),i=!1},d(n){Z(e,n)}}}function Ro(t){let e,i;return e=new zd({}),{c(){x(e.$$.fragment)},m(n,l){J(e,n,l),i=!0},i(n){i||(h(e.$$.fragment,n),i=!0)},o(n){P(e.$$.fragment,n),i=!1},d(n){Z(e,n)}}}function Af(t){let e,i,n,l,o,r,s,c,a,d,m,f,p,w,b,y,N,_,S;i=new Zu({props:{hidden:t[25]!==Ce.Thumb||t[23],thumbUrl:t[1],startVideo:t[63]}});let D=t[11]&&t[36]&&Vo(t),R=t[4]&&t[30]&&Co(t),F=t[22]&&t[15]&&t[16]&&Eo(t),I=!t[11]&&t[25]===Ce.Video&&To(t),k=t[24]&&Mo(t),O=!t[11]&&Lo(t);function C(fe){t[102](fe)}let Y={hidden:t[25]===Ce.Thumb||t[11]&&t[25]===Ce.Ads,showControls:t[21],isAds:t[25]===Ce.Ads,canRewindLive:t[2]&&t[26]!==0,logoClickable:t[9],logoHidden:t[10],showNextPrevButtons:t[12],nextButtonActive:t[13],prevButtonActive:t[14],isOneVideoPlaylist:t[17],supportLink:t[3],canShowTimeline:t[36],playNextVideo:t[18],playPrevVideo:t[19],repeatPlaylist:t[20],toggleFullscreen:t[65]};t[29]!==void 0&&(Y.controlsElementRef=t[29]),m=new Ku({props:Y}),nt.push(()=>hs(m,"controlsElementRef",C));let q=t[23]&&No(t),H=!t[11]&&zo(t),U=t[34]&&Io(),X=t[40]&&Ro();return{c(){e=g("div"),x(i.$$.fragment),n=L(),l=g("div"),D&&D.c(),o=L(),R&&R.c(),r=L(),F&&F.c(),s=L(),I&&I.c(),c=L(),k&&k.c(),a=L(),O&&O.c(),d=L(),x(m.$$.fragment),p=L(),q&&q.c(),w=L(),H&&H.c(),b=L(),U&&U.c(),y=L(),X&&X.c(),u(l,"class","video-container v-phigzb"),E(l,"hidden",t[25]!==Ce.Video),E(l,"nocursor",t[35]),u(e,"class","player-wrapper v-phigzb"),u(e,"tabindex","0")},m(fe,K){M(fe,e,K),J(i,e,null),v(e,n),v(e,l),D&&D.m(l,null),t[100](l),v(e,o),R&&R.m(e,null),v(e,r),F&&F.m(e,null),v(e,s),I&&I.m(e,null),v(e,c),k&&k.m(e,null),v(e,a),O&&O.m(e,null),v(e,d),J(m,e,null),v(e,p),q&&q.m(e,null),v(e,w),H&&H.m(e,null),v(e,b),U&&U.m(e,null),v(e,y),X&&X.m(e,null),t[103](e),N=!0,_||(S=[oe(kf,"blur",t[66]),oe(l,"contextmenu",Dt(t[67])),oe(l,"click",t[69]),oe(e,"mouseenter",function(){Ue(t[11]?B:t[60])&&(t[11]?B:t[60]).apply(this,arguments)}),oe(e,"mouseleave",function(){Ue(t[11]?B:t[61])&&(t[11]?B:t[61]).apply(this,arguments)}),oe(e,"mousemove",function(){Ue(t[11]?B:t[62])&&(t[11]?B:t[62]).apply(this,arguments)}),oe(e,"keydown",function(){Ue(t[11]?B:t[71])&&(t[11]?B:t[71]).apply(this,arguments)})],_=!0)},p(fe,K){t=fe;const j={};K[0]&41943040&&(j.hidden=t[25]!==Ce.Thumb||t[23]),K[0]&2&&(j.thumbUrl=t[1]),i.$set(j),t[11]&&t[36]?D?(D.p(t,K),K[0]&2048|K[1]&32&&h(D,1)):(D=Vo(t),D.c(),h(D,1),D.m(l,null)):D&&(se(),P(D,1,1,()=>{D=null}),ae()),(!N||K[0]&33554432)&&E(l,"hidden",t[25]!==Ce.Video),(!N||K[1]&16)&&E(l,"nocursor",t[35]),t[4]&&t[30]?R?(R.p(t,K),K[0]&1073741840&&h(R,1)):(R=Co(t),R.c(),h(R,1),R.m(e,r)):R&&(se(),P(R,1,1,()=>{R=null}),ae()),t[22]&&t[15]&&t[16]?F?(F.p(t,K),K[0]&4292608&&h(F,1)):(F=Eo(t),F.c(),h(F,1),F.m(e,s)):F&&(se(),P(F,1,1,()=>{F=null}),ae()),!t[11]&&t[25]===Ce.Video?I?(I.p(t,K),K[0]&33556480&&h(I,1)):(I=To(t),I.c(),h(I,1),I.m(e,c)):I&&(se(),P(I,1,1,()=>{I=null}),ae()),t[24]?k?(k.p(t,K),K[0]&16777216&&h(k,1)):(k=Mo(t),k.c(),h(k,1),k.m(e,a)):k&&(se(),P(k,1,1,()=>{k=null}),ae()),t[11]?O&&(se(),P(O,1,1,()=>{O=null}),ae()):O?(O.p(t,K),K[0]&2048&&h(O,1)):(O=Lo(t),O.c(),h(O,1),O.m(e,d));const te={};K[0]&33556480&&(te.hidden=t[25]===Ce.Thumb||t[11]&&t[25]===Ce.Ads),K[0]&2097152&&(te.showControls=t[21]),K[0]&33554432&&(te.isAds=t[25]===Ce.Ads),K[0]&67108868&&(te.canRewindLive=t[2]&&t[26]!==0),K[0]&512&&(te.logoClickable=t[9]),K[0]&1024&&(te.logoHidden=t[10]),K[0]&4096&&(te.showNextPrevButtons=t[12]),K[0]&8192&&(te.nextButtonActive=t[13]),K[0]&16384&&(te.prevButtonActive=t[14]),K[0]&131072&&(te.isOneVideoPlaylist=t[17]),K[0]&8&&(te.supportLink=t[3]),K[1]&32&&(te.canShowTimeline=t[36]),K[0]&262144&&(te.playNextVideo=t[18]),K[0]&524288&&(te.playPrevVideo=t[19]),K[0]&1048576&&(te.repeatPlaylist=t[20]),!f&&K[0]&536870912&&(f=!0,te.controlsElementRef=t[29],vs(()=>f=!1)),m.$set(te),t[23]?q?(q.p(t,K),K[0]&8388608&&h(q,1)):(q=No(t),q.c(),h(q,1),q.m(e,w)):q&&(se(),P(q,1,1,()=>{q=null}),ae()),t[11]?H&&(se(),P(H,1,1,()=>{H=null}),ae()):H?(H.p(t,K),K[0]&2048&&h(H,1)):(H=zo(t),H.c(),h(H,1),H.m(e,b)),t[34]?U?K[1]&8&&h(U,1):(U=Io(),U.c(),h(U,1),U.m(e,y)):U&&(se(),P(U,1,1,()=>{U=null}),ae()),t[40]?X?K[1]&512&&h(X,1):(X=Ro(),X.c(),h(X,1),X.m(e,null)):X&&(se(),P(X,1,1,()=>{X=null}),ae())},i(fe){N||(h(i.$$.fragment,fe),h(D),h(R),h(F),h(I),h(k),h(O),h(m.$$.fragment,fe),h(q),h(H),h(U),h(X),N=!0)},o(fe){P(i.$$.fragment,fe),P(D),P(R),P(F),P(I),P(k),P(O),P(m.$$.fragment,fe),P(q),P(H),P(U),P(X),N=!1},d(fe){fe&&T(e),Z(i),D&&D.d(),t[100](null),R&&R.d(),F&&F.d(),I&&I.d(),k&&k.d(),O&&O.d(),Z(m),q&&q.d(),H&&H.d(),U&&U.d(),X&&X.d(),t[103](null),_=!1,lt(S)}}}let Bi=15;function Cf(t,e,i){let n,l,o,r,s,c,a,d,m,f,p,w,b,y,N,_,S,D,R;var F=this&&this.__awaiter||function(V,ze,Ye,et){function xe(at){return at instanceof Ye?at:new Ye(function(Ai){Ai(at)})}return new(Ye||(Ye=Promise))(function(at,Ai){function Jr(jt){try{Qi(et.next(jt))}catch(Wi){Ai(Wi)}}function Zr(jt){try{Qi(et.throw(jt))}catch(Wi){Ai(Wi)}}function Qi(jt){jt.done?at(jt.value):xe(jt.value).then(Jr,Zr)}Qi((et=et.apply(V,ze||[])).next())})};let{sources:I}=e,{store:k}=e,{title:O}=e,{thumbUrl:C}=e,{preload:Y}=e,{autoplay:q}=e,{volume:H=void 0}=e,{muted:U=void 0}=e,{fromTime:X}=e,{canRewindLive:fe}=e,{supportLink:K}=e,{showAds:j}=e,{adsSlotId:te=void 0}=e,{adsParams:Ne=void 0}=e,{adsPreviewParam:ke=void 0}=e,{duration:ie=void 0}=e,{logoClickable:Ke}=e,{logoHidden:ne}=e,{isMobile:ce}=e,{showNextPrevButtons:we=!1}=e,{nextButtonActive:pe=!1}=e,{prevButtonActive:ve=!1}=e,{endScreenVideoTitle:Pe=void 0}=e,{endScreenVideoThumb:he=void 0}=e,{isOneVideoPlaylist:ye=!1}=e,{outerContainerRef:ue=void 0}=e,{playNextVideo:z=B}=e,{playPrevVideo:$=B}=e,{repeatPlaylist:le=B}=e,{fullScreenTarget:ee=void 0}=e,{failoverHosts:ot=void 0}=e;const Ge=V=>{Re.set(!0),V?ce&&(Kt.set(!0),Ot.set(!0),window.setTimeout(()=>{Ot.set(!1),Tt(Sl)},Pc)):Tt(Sl)};k.setUiCallbacks({onStarted:Ge}),k.getAdmanWrapper().init({switchFromAdsToVideo:k.actions.internal.switchFromAdsToVideo,switchFromVideoToAds:k.actions.internal.switchFromVideoToAds,setMuted:k.actions.external.setMuted},k.ads,{isMobile:k.ui.isMobile,mobileUnmuteButtonVisible:k.ui.mobileUnmuteButtonVisible});const We=k.getLogger().createComponentLog("Root component"),rt=k.state.playbackState$;Q(t,rt,V=>i(107,m=V));const Ze=k.ads.playbackState;Q(t,Ze,V=>i(96,y=V));const Xe=k.state.positionWithScrubbing$;Q(t,Xe,V=>i(93,a=V));const dt=k.state.duration$;Q(t,dt,V=>i(92,c=V));const vt=k.playerPhase;Q(t,vt,V=>i(25,N=V));const it=k.ui.isFullscreen;Q(t,it,V=>i(91,r=V));const Re=k.ui.controlsVisible;Q(t,Re,V=>i(90,o=V));const $e=k.ui.settingsMenuVisible;Q(t,$e,V=>i(106,d=V));const mt=k.ui.scrubbingInProgress;Q(t,mt,V=>i(94,f=V));const zt=k.ui.playerSize,Pt=k.ui.contextMenuVisible;Q(t,Pt,V=>i(37,n=V));const pt=k.ui.debugPanelVisible;Q(t,pt,V=>i(40,R=V));const St=k.state.isLoaderVisible;Q(t,St,V=>i(97,_=V));const It=k.state.isEnded$;Q(t,It,V=>i(89,l=V));const Rt=k.state.chromecastConnected$;Q(t,Rt,V=>i(24,b=V));const Bt=k.state.chromecastDeviceName$;Q(t,Bt,V=>i(39,D=V));const ht=k.ads.postrollPassed;Q(t,ht,V=>i(95,w=V));const Ot=k.ui.mobileUnmuteButtonExpanded,Kt=k.ui.mobileUnmuteButtonVisible,Vt=k.state.isActiveLive$;Q(t,Vt,V=>i(38,S=V));const Gt=k.state.crashed$;Q(t,Gt,V=>i(23,p=V));const Ie=k.webApi.pictureInPictureApi,W=k.state.videoSize$;Q(t,W,V=>i(105,s=V));let Xt=0;k.state.duration$.subscribe(V=>{i(26,Xt=V)}),ws(k);let At,Ft,Ct,gt,Et=null,oi=!1,gi=0,bi=0,Jt,wi,ri,si,_i,ai=!1,yi;function ki(){clearTimeout(gt),Re.set(!0)}function Ui(){Tt(yc)}function Pi(){clearTimeout(gt),Re.set(!0),r&&Ct&&!mf(Ct)&&Tt(kc)}function Tt(V){i(87,gt=window.setTimeout(()=>{if(m===Ve.PlaybackState.PLAYING){if(ce&&d)return;Re.set(!1),$e.set(!1)}},V))}const je=V=>{if(window.ResizeObserver){let ze,Ye;Et=new ResizeObserver(jo(et=>{const xe=et[0];if(xe){if(xe.contentBoxSize){const at=Array.isArray(xe.contentBoxSize)?xe.contentBoxSize[0]:xe.contentBoxSize;ze=at.inlineSize,Ye=at.blockSize}else xe.contentRect&&(ze=xe.contentRect.width,Ye=xe.contentRect.height);zt.set({width:ze,height:Ye})}},Tr)),Et.observe(V)}zt.set({width:V.clientWidth,height:V.clientHeight})},A=V=>{const ze=V;zt.set({width:ze.target.width,height:ze.target.height})},G=(V=!1)=>{i(30,oi=!0),V?k.actions.external.firstStart(j):k.actions.internal.firstStart(j)};Qt(()=>{if(wf(Si),je(At),k.initVideo({container:Ft,sources:I,failoverHosts:ot}),Pn(Ie)){const et=At.querySelector("video");Ie==null||Ie.updateVideoElement(et),Ie==null||Ie.registryEventHandlers(),Ie==null||Ie.registryExternalEventHandlers({resize:A})}X>0&&k.actions.external.seekTime(X);const V=ce?Hi:H!=null?H:jr(),ze=U!=null?U:pf();k.actions.external.setVolume(V),k.actions.external.setMuted(ze),k.getAdmanWrapper().setInitialVolume(ze?0:V),k.ui.isAutoplay.set(q),q?G():Y&&k.actions.internal.preload();const Ye=Boolean(Ut.get(yn));return pt.set(Ye),()=>{_f(Si),Et==null||Et.disconnect(),k.destroy()}}),qo(()=>F(void 0,void 0,void 0,function*(){Pn(Ie)&&(yield Ie==null?void 0:Ie.hidePictureInPicture(),Ie==null||Ie.unregistryEventHandlers())}));function re(){oi?k.actions.external.play():G(!0)}function Ae(){k.actions.external.pause()}function Je(V){ce||k.actions.external.setMuted(V)}function Be(V){ce||V>=0&&V<=1&&k.actions.external.setVolume(V)}function st(V){k.actions.internal.seekTime(V)}const De=V=>{let ze=a+(V==="forward"?Bi:-Bi);ze<0?ze=0:ze>c&&(ze=c-1),st(ze)},bt=()=>{if(So())gf(document),We({message:"exit fullscreen"});else{We({message:"request fullscreen"});const V=ue!=null?ue:At,ze=V.getRootNode(),Ye=ze instanceof ShadowRoot?ze.host:ze,et=ee instanceof HTMLElement&&ee.contains(Ye);hf(ee&&et?ee:V)}},Si=()=>F(void 0,void 0,void 0,function*(){var V,ze,Ye,et;const xe=So();if(xe){try{yield Ie==null?void 0:Ie.remove()}catch(at){We({message:String(at)})}if(ce)try{yield yf(s)}catch(at){We({message:String(at)})}}it.set(xe),k.getAdmanWrapper().setFullscreen(xe),r?(ze=(V=k.callbacks)===null||V===void 0?void 0:V.onFullscreenEnter)===null||ze===void 0||ze.call(V):(et=(Ye=k.callbacks)===null||Ye===void 0?void 0:Ye.onFullscreenExit)===null||et===void 0||et.call(Ye)}),Vi=()=>Pt.set(!1),Dr=V=>{Pt.set(!0),i(31,gi=V.clientX),i(32,bi=V.clientY)},zn=()=>{o?Re.set(!1):(Re.set(!0),clearTimeout(gt),Tt(Pl))},Hr=V=>{if(ce){zn();return}if(n){Vi();return}Vi(),!l&&(k.actions.internal.togglePlay(),$e.set(!1),V.detail===2&&(We({message:"double click on video"}),bt()))},qr=()=>{if(n){Vi();return}},Ur=V=>{Jt.keyDownHandler(V)},Qr=()=>De("backward"),Wr=()=>De("forward");function Yr(V){nt[V?"unshift":"push"](()=>{Ft=V,i(28,Ft)})}function Kr(V){nt[V?"unshift":"push"](()=>{Jt=V,i(33,Jt)})}function Gr(V){Ct=V,i(29,Ct)}function Xr(V){nt[V?"unshift":"push"](()=>{At=V,i(27,At)})}return t.$$set=V=>{"sources"in V&&i(72,I=V.sources),"store"in V&&i(73,k=V.store),"title"in V&&i(0,O=V.title),"thumbUrl"in V&&i(1,C=V.thumbUrl),"preload"in V&&i(74,Y=V.preload),"autoplay"in V&&i(75,q=V.autoplay),"volume"in V&&i(76,H=V.volume),"muted"in V&&i(77,U=V.muted),"fromTime"in V&&i(78,X=V.fromTime),"canRewindLive"in V&&i(2,fe=V.canRewindLive),"supportLink"in V&&i(3,K=V.supportLink),"showAds"in V&&i(4,j=V.showAds),"adsSlotId"in V&&i(5,te=V.adsSlotId),"adsParams"in V&&i(6,Ne=V.adsParams),"adsPreviewParam"in V&&i(7,ke=V.adsPreviewParam),"duration"in V&&i(8,ie=V.duration),"logoClickable"in V&&i(9,Ke=V.logoClickable),"logoHidden"in V&&i(10,ne=V.logoHidden),"isMobile"in V&&i(11,ce=V.isMobile),"showNextPrevButtons"in V&&i(12,we=V.showNextPrevButtons),"nextButtonActive"in V&&i(13,pe=V.nextButtonActive),"prevButtonActive"in V&&i(14,ve=V.prevButtonActive),"endScreenVideoTitle"in V&&i(15,Pe=V.endScreenVideoTitle),"endScreenVideoThumb"in V&&i(16,he=V.endScreenVideoThumb),"isOneVideoPlaylist"in V&&i(17,ye=V.isOneVideoPlaylist),"outerContainerRef"in V&&i(79,ue=V.outerContainerRef),"playNextVideo"in V&&i(18,z=V.playNextVideo),"playPrevVideo"in V&&i(19,$=V.playPrevVideo),"repeatPlaylist"in V&&i(20,le=V.repeatPlaylist),"fullScreenTarget"in V&&i(80,ee=V.fullScreenTarget),"failoverHosts"in V&&i(81,ot=V.failoverHosts)},t.$$.update=()=>{t.$$.dirty[0]&41943040|t.$$.dirty[3]&24&&i(34,wi=(N===Ce.Video&&_||N===Ce.Ads&&y===qe.INACTIVE)&&!p),t.$$.dirty[0]&25165824|t.$$.dirty[2]&402653184&&i(21,ri=(o||b||l)&&!p),t.$$.dirty[0]&8388624|t.$$.dirty[2]&134217728|t.$$.dirty[3]&4&&i(22,si=(j&&w||!j)&&l&&!p),t.$$.dirty[0]&6291456|t.$$.dirty[2]&536870912&&i(35,_i=r&&!(ri||si)),t.$$.dirty[0]&2048|t.$$.dirty[2]&2048&&k.ui.isMobile.set(ce),t.$$.dirty[0]&2048|t.$$.dirty[2]&100663296|t.$$.dirty[3]&2&&(ai!==f&&ce&&(clearTimeout(gt),f?Re.set(!0):Tt(Pl)),i(88,ai=f)),t.$$.dirty[2]&1073741824|t.$$.dirty[3]&1&&i(36,yi=isFinite(a)&&isFinite(c))},[O,C,fe,K,j,te,Ne,ke,ie,Ke,ne,ce,we,pe,ve,Pe,he,ye,z,$,le,ri,si,p,b,N,Xt,At,Ft,Ct,oi,gi,bi,Jt,wi,_i,yi,n,S,D,R,rt,Ze,Xe,dt,vt,it,Re,$e,mt,Pt,pt,St,It,Rt,Bt,ht,Vt,Gt,W,ki,Ui,Pi,G,De,bt,Vi,Dr,zn,Hr,qr,Ur,I,k,Y,q,H,U,X,ue,ee,ot,re,Ae,Je,Be,st,gt,ai,l,o,r,c,a,f,w,y,_,Qr,Wr,Yr,Kr,Gr,Xr]}class Ef extends be{constructor(e){super(),ge(this,e,Cf,Af,me,{sources:72,store:73,title:0,thumbUrl:1,preload:74,autoplay:75,volume:76,muted:77,fromTime:78,canRewindLive:2,supportLink:3,showAds:4,adsSlotId:5,adsParams:6,adsPreviewParam:7,duration:8,logoClickable:9,logoHidden:10,isMobile:11,showNextPrevButtons:12,nextButtonActive:13,prevButtonActive:14,endScreenVideoTitle:15,endScreenVideoThumb:16,isOneVideoPlaylist:17,outerContainerRef:79,playNextVideo:18,playPrevVideo:19,repeatPlaylist:20,fullScreenTarget:80,failoverHosts:81,play:82,pause:83,setMuted:84,setVolume:85,seekTime:86},Pf,[-1,-1,-1,-1])}get play(){return this.$$.ctx[82]}get pause(){return this.$$.ctx[83]}get setMuted(){return this.$$.ctx[84]}get setVolume(){return this.$$.ctx[85]}get seekTime(){return this.$$.ctx[86]}}var Tf="data:image/svg+xml,%3csvg width='57' height='60' fill='none' xmlns='http://www.w3.org/2000/svg'%3e%3cpath 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' fill='%23909499'/%3e%3c/svg%3e";function Mf(t){Se(t,"v-1oqts7t",".playerStub.v-1oqts7t{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}.stubImage.v-1oqts7t{height:60px}.stubImage-white.v-1oqts7t{filter:brightness(0) invert(1)}.title.v-1oqts7t{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 Bo(t){let e,i;return{c(){e=g("div"),i=_e(t[0]),u(e,"class","title v-1oqts7t")},m(n,l){M(n,e,l),v(e,i)},p(n,l){l&1&&Le(i,n[0])},d(n){n&&T(e)}}}function Oo(t){let e,i;return{c(){e=g("img"),Ee(e.src,i=Tf)||u(e,"src",i),u(e,"class","stubImage v-1oqts7t"),u(e,"alt",""),E(e,"stubImage-white",t[1]||"")},m(n,l){M(n,e,l)},p(n,l){l&2&&E(e,"stubImage-white",n[1]||"")},d(n){n&&T(e)}}}function Lf(t){let e,i,n,l=t[0]&&Bo(t),o=(!t[0]||!t[1])&&Oo(t);return{c(){e=g("div"),l&&l.c(),i=L(),o&&o.c(),u(e,"class","playerStub v-1oqts7t"),u(e,"style",n=t[1]?`background-image: url('${t[1]}')`:"")},m(r,s){M(r,e,s),l&&l.m(e,null),v(e,i),o&&o.m(e,null)},p(r,[s]){r[0]?l?l.p(r,s):(l=Bo(r),l.c(),l.m(e,i)):l&&(l.d(1),l=null),!r[0]||!r[1]?o?o.p(r,s):(o=Oo(r),o.c(),o.m(e,null)):o&&(o.d(1),o=null),s&2&&n!==(n=r[1]?`background-image: url('${r[1]}')`:"")&&u(e,"style",n)},i:B,o:B,d(r){r&&T(e),l&&l.d(),o&&o.d()}}}function Nf(t,e,i){let{title:n}=e,{thumbUrl:l}=e;return t.$$set=o=>{"title"in o&&i(0,n=o.title),"thumbUrl"in o&&i(1,l=o.thumbUrl)},[n,l]}class zf extends be{constructor(e){super(),ge(this,e,Nf,Lf,me,{title:0,thumbUrl:1},Mf)}}const If=(t,e)=>t<400||e<225?5:t<640||e<360?0:t<960||e<540?1:t<1280||e<720?2:3,Rf="//ad.mail.ru/static/admanhtml/rbadman-html5.min.js",Bf=2e3,Of=2e3;class Ff{constructor(e){this.adman=null,this.initialVolume=Hi,this.videoElement=null,this.currentAdSection=null,this.actions=null,this.adsState=null,this.uiState=null,this.events={slotRequested$:new de.Subject,started$:new de.Subject,paused$:new de.Subject,resumed$:new de.Subject,ended$:new de.Subject,skipped$:new de.Subject,clicked$:new de.Subject},this.loadAdman=i=>new Promise((n,l)=>{let o;const r=()=>{clearTimeout(o),delete window.admanAsyncInit,window.AdmanHTML?n():l()};de.addScript(Rf,i,Bf).then(()=>{window.AdmanHTML?n():(window.admanAsyncInit=r,o=window.setTimeout(r,Of))}).catch(()=>{l()})}),this.onAdsReady=()=>{this.log({message:"ads ready"}),this.startPreroll()},this.onAdStarted=(i,n)=>{de.assertNonNullable(this.adsState),de.assertNonNullable(this.uiState),de.assertNonNullable(this.actions),this.log({message:`ad started, section: ${i}, banner: ${JSON.stringify(n)}`}),this.events.started$.next(i),n.muted&&(this.setVolume(0),this.actions.setMuted(!0),this.log({message:"ad muted start"}),Oe(this.uiState.isMobile)&&this.uiState.mobileUnmuteButtonVisible.set(!0)),this.adsState.duration.set(n.duration),this.adsState.playbackState.set(qe.PLAYING),this.adsState.canSkip.set(n.allowClose),this.adsState.secondsToWatchBeforeSkip.set(n.allowCloseDelay)},this.onAdTimeRemained=({currentTime:i})=>{de.assertNonNullable(this.adsState),this.adsState.position.set(i)},this.onAdPaused=()=>{de.assertNonNullable(this.adsState),this.log({message:"ad paused"}),this.adsState.playbackState.set(qe.PAUSED)},this.onAdPlayed=()=>{de.assertNonNullable(this.adsState),this.log({message:"ad played"}),this.adsState.playbackState.set(qe.PLAYING)},this.onAdMidrollPoint=()=>{de.assertNonNullable(this.adman),de.assertNonNullable(this.actions),this.log({message:"midroll point"}),this.actions.switchFromVideoToAds(),this.currentAdSection=_t.Midroll,this.adman.start(_t.Midroll)},this.onAdSkipped=()=>{this.log({message:"ad skipped"}),this.switchToVideo()},this.onAdClosed=()=>{this.log({message:"ad closed"}),this.switchToVideo()},this.onAdCompleted=()=>{this.log({message:"ad completed"}),this.events.ended$.next(),this.switchToVideo()},this.onAdClicked=()=>{var i;this.log({message:"ad clicked"}),(i=this.videoElement)===null||i===void 0||i.pause(),this.events.clicked$.next()},this.onAdError=()=>{this.log({message:"ad error"}),this.switchToVideo(!0)},this.log=e.createComponentLog("AdmanWrapper")}init(e,i,n){this.actions=e,this.adsState=i,this.uiState=n}onAdmanLoadingError(){this.log({message:"adman loading error"}),this.switchToVideo(!0)}initAdman(e){const{width:i,height:n,isFullscreen:l,isAutoplay:o,adsContainer:r,adsVideoElement:s,slotId:c,params:a={},duration:d,previewParam:m}=e,f={dl:encodeURIComponent(window.location.href),autoplay:o,player_width:i,player_height:n,puid10:If(i,n),puid11:l?0:1,preview:m,duration:d,...a},p={slot:c,wrapper:r,videoEl:s,videoQuality:n,params:f,browser:{mobile:!1}},w=new window.AdmanHTML;w.setDebug(!1),w.onReady(this.onAdsReady),w.onStarted(this.onAdStarted),w.onPlayed(this.onAdPlayed),w.onPaused(this.onAdPaused),w.adMidrollPoint(this.onAdMidrollPoint),w.onClosed(this.onAdClosed),w.onSkipped(this.onAdSkipped),w.onClicked(this.onAdClicked),w.onTimeRemained(this.onAdTimeRemained),w.onCompleted(this.onAdCompleted),w.onError(this.onAdError),w.init(p),this.adman=w,this.videoElement=s,this.events.slotRequested$.next(),this.log({message:`adman init, config: ${JSON.stringify(p)}`})}switchToVideo(e=!1){if(this.currentAdSection===null&&!e){this.log({message:"switch to video, no currentAdSection. can't switch"});return}de.assertNonNullable(this.actions),de.assertNonNullable(this.adsState),de.assertNonNullable(this.uiState);const i=this.currentAdSection===_t.Postroll;this.adsState.playbackState.set(qe.INACTIVE),this.currentAdSection=null,this.uiState.mobileUnmuteButtonVisible.set(!1),this.log({message:`switch to video, isPostroll: ${i}`}),i&&(this.adsState.postrollPassed.set(!0),this.log({message:"postroll passed"})),this.actions.switchFromAdsToVideo(!i)}togglePlay(){de.assertNonNullable(this.adsState),this.log({message:"toggle play"});const e=Oe(this.adsState.playbackState);e===qe.PLAYING?this.pause():e===qe.PAUSED&&this.play()}setInitialVolume(e){this.log({message:`set initial volume ${e}`}),this.initialVolume=e}setVolume(e){var i;this.log({message:`set volume ${e}`}),(i=this.adman)===null||i===void 0||i.setVolume(e),this.videoElement&&(this.videoElement.volume=e)}setFullscreen(e){var i;this.log({message:`set fullscreen ${e}`}),(i=this.adman)===null||i===void 0||i.setFullscreen(e)}startPreroll(){de.assertNonNullable(this.adman),this.log({message:"start preroll"}),this.setVolume(this.initialVolume),this.currentAdSection=_t.Preroll,this.adman.start(_t.Preroll)}startPostroll(){de.assertNonNullable(this.adman),de.assertNonNullable(this.actions),this.log({message:"start postroll"}),this.actions.switchFromVideoToAds(),this.currentAdSection=_t.Postroll,this.adman.start(_t.Postroll)}play(){de.assertNonNullable(this.adman),this.log({message:"ad play"}),this.adman.resume(),this.events.resumed$.next()}pause(){de.assertNonNullable(this.adman),this.log({message:"ad pause"}),this.adman.pause(),this.events.paused$.next()}skip(){de.assertNonNullable(this.adman),this.log({message:"ad skip"}),this.adman.skip(),this.events.skipped$.next()}setPosition(e,i){var n;(n=this.adman)===null||n===void 0||n.setPosition(Math.floor(e),Math.floor(i))}destroy(){var e;this.log({message:"destroy"}),(e=this.adman)===null||e===void 0||e.destroy()}}const jf=()=>/ipad|iphone|ipod/.test(window.navigator.userAgent.toLowerCase()),Df=t=>{const e=Math.round(t);return isNaN(e)||e<40?"":e>=40&&e<55?50:e>=55&&e<90?60:e>=90&&e<180?120:e>=180?240:""},Hf=(t,e,i)=>{const n=new de.Subscription;return n.add(i.attachTo(t)),n.add(e.slotRequested$.subscribe(()=>{i.logAdSlotRequest()})).add(e.started$.subscribe(l=>{i.logAdStarted(l)})).add(e.paused$.subscribe(()=>{i.logAdPaused()})).add(e.resumed$.subscribe(()=>{i.logAdResumed()})).add(e.ended$.subscribe(()=>{i.logAdEnded()})).add(e.skipped$.subscribe(()=>{i.logAdSkipped()})).add(e.clicked$.subscribe(()=>{i.logAdClicked()})),n},qf=({interfaceLanguage:t,videoId:e,albumId:i,autoplay:n,isLiveCatchUpMode:l,statPlace:o,statAuthToken:r,isAudioDisabled:s,refreshStatAuthToken:c,callbacks:a,webApi:d})=>{const m={isAudioDisabled:s,live:{isLiveCatchUpMode:!!l}},f=new Ve.Player(m),p=new de.Logger,w=new Ff(p),b=d==null?void 0:d.pictureInPictureApi,y=p.createComponentLog("Store");let N,_,S={};const D=Ht([],A=>{let G=[];const re=de.merge(f.events.managedError$,f.events.fatalError$).subscribe(Ae=>{G=[...G,Ae],A(G)});return()=>re.unsubscribe()}),R=Ht(!1,A=>{const G=f.events.fatalError$.subscribe(()=>A(!0));return()=>G.unsubscribe()}),F=Ht(t),I=(...A)=>{const G=Oe(F);return yr(G,...A)},k=Fe(Ce.Thumb),O=wt([R,k],([A,G])=>A?Ce.Crashed:G);y({message:"create store"});const C=A=>{y({message:`init video, config: ${JSON.stringify(A)}`}),f.initVideo(A),N=A},Y=new In.OneStat({movieId:e,albumId:i,place:o,autoplay:n},{apiEnv:In.ApiEnv.VK_ALIAS,refreshAuthToken:c}),q=Hf(f,w.events,Y);Y.authorize(r).catch(A=>{y({message:`onestat auth error ${String(A)}`})});const H=()=>{jf()&&_&&bf(_)},U=new de.Subscription().add(f.experimental.element$.subscribe(A=>{A&&(_=A,A.classList.add("player-media"))})).add(f.events.ended$.subscribe(()=>{var A;H(),(A=a==null?void 0:a.onEnded)===null||A===void 0||A.call(a)})).add(f.events.started$.subscribe(async()=>{var A,G;Pn(b)&&await(b==null?void 0:b.revealPictureInPicture());const re=f.info.muted$.getValue();(A=a==null?void 0:a.onStarted)===null||A===void 0||A.call(a),(G=S.onStarted)===null||G===void 0||G.call(S,re)})).add(f.events.willSeek$.subscribe(({from:A,to:G})=>{var re;(re=a==null?void 0:a.onSeek)===null||re===void 0||re.call(a,A,G)})).add(f.info.position$.subscribe(A=>{var G;const re=f.info.duration$.getValue();(G=a==null?void 0:a.onTimeupdate)===null||G===void 0||G.call(a,re,A),w.setPosition(A,re)})).add(f.events.fatalError$.subscribe(()=>{var A;(A=a==null?void 0:a.onCrashed)===null||A===void 0||A.call(a)})),X=new de.Subscription,fe=()=>{X.add(f.events.log$.subscribe(A=>{console.debug("%c sdk ","background:#9ddcf7;",`sdk component: ${A.component}`,A.message)})).add(p.log$.subscribe(A=>{console.debug("%c ui ","background:#f3da0b;",`ui component: ${A.component}.`,A.message)}))},K=()=>{X.unsubscribe()},j=Ht(f.info.position$.getValue(),A=>{let G,re;const Ae=()=>{const Je=f.info.playbackState$.getValue(),Be=f.info.isLive$.getValue(),st=f.info.duration$.getValue(),De=f.info.position$.getValue();if([Ve.PlaybackState.PLAYING,Ve.PlaybackState.PAUSED].includes(Je)){const bt=Be?De-st:f.getExactTime();bt!==re&&A(bt),re=bt}G=requestAnimationFrame(Ae)};return Ae(),()=>cancelAnimationFrame(G)}),te=He(f.info.playbackState$),Ne=He(f.info.currentBuffer$),ke=He(f.info.isEnded$),ie=He(f.info.isLive$),Ke=He(f.info.volume$),ne=He(f.info.muted$),ce=He(f.info.availableQualities$),we=He(f.info.availableQualitiesFps$),pe=He(f.info.chromecastState$),ve=He(f.info.chromecastDeviceName$),Pe=He(f.info.currentFormat$),he=He(f.info.throughputEstimation$),ye=He(f.info.videoBitrate$),ue=He(f.info.intrinsicVideoSize$),z=He(f.info.duration$),$=He(f.info.isAudioAvailable$);let le=null;const ee=f.info.isBuffering$,ot=Ht(ee.getValue(),A=>{const G=ee.subscribe(re=>{re&&le===null?le=window.setTimeout(()=>{A(ee.getValue()),le=null},Cc):A(re)});return()=>{G.unsubscribe(),le&&clearTimeout(le)}}),Ge=wt([z,ie],([A,G])=>G?-A:A),We=He(f.info.position$),rt=wt([ie,We],([A,G])=>Boolean(A&&G>-de.ACTIVE_LIVE_VALID_DELAY)),Ze=wt([pe],([A])=>A===Ve.ChromecastState.CONNECTED),Xe=Fe(void 0),dt=He(f.info.isAutoQualityEnabled$,A=>A&&Xe.set(void 0)),vt=He(f.info.currentQuality$,()=>Xe.set(void 0)),it=wt([Xe,vt],([A,G])=>A!=null?A:G),Re=wt([ce,we,dt,it,Pe],([A,G,re,Ae,Je])=>{const Be=[];Je!==Ve.VideoFormat.MPEG&&Be.push({value:ui.AUTO,displayValue:I("auto_quality_option"),selected:re});const st=A.filter(De=>De!==Ve.VideoQuality.INVARIANT);for(const De of st){const bt=G[De],Si=De===Ve.VideoQuality.INVARIANT?I("auto_quality_option"):De;Be.push({value:De,displayValue:`${Si}${bt?Df(bt):""}`,selected:re?!1:De===Ae})}return Be}),$e=He(f.info.currentPlaybackRate$),mt=wt([$e],([A])=>{const Je=[];for(let Be=.25;Be<=2;Be+=.25)Je.push({value:Be,displayValue:Be===1?I("playback_rate_1"):I("playback_rate",{multiplier:Be.toString(10)}),selected:A===Be});return Je}),zt=wt([Ne,Ge],([A,G],re)=>{var Ae;return re(((Ae=A==null?void 0:A.end)!==null&&Ae!==void 0?Ae:0)/G)}),Pt=()=>{y({message:"toggle muted"});const A=f.info.muted$.getValue(),Ae=!(f.info.volume$.getValue()===0||A);St(Ae)},pt=(A,G=A,re=!1)=>{var Ae,Je;const Be=!re,st=f.info.muted$.getValue();y({message:`set volume, volume: ${A}, preferredVolume: ${G}, internalCall: ${Be}`}),f.setVolume(A),w.setVolume(A),Be&&((Ae=a==null?void 0:a.onVolumeChange)===null||Ae===void 0||Ae.call(a,A)),ko(G),st&&(f.setMuted(!1),Be&&((Je=a==null?void 0:a.onUnmute)===null||Je===void 0||Je.call(a)),Po(!1))},St=(A,G=!1)=>{var re,Ae,Je;const Be=!G,st=f.info.volume$.getValue();if(y({message:`set muted, currentVolume: ${st}, mute: ${A}, internalCall: ${Be}`}),f.setMuted(A),w.setVolume(A?0:st),Po(A),Be&&(A?(re=a==null?void 0:a.onMute)===null||re===void 0||re.call(a):(Ae=a==null?void 0:a.onUnmute)===null||Ae===void 0||Ae.call(a)),st===0){let De=jr();De===0&&(De=Vc,ko(De)),f.setVolume(De),w.setVolume(De),Be&&((Je=a==null?void 0:a.onVolumeChange)===null||Je===void 0||Je.call(a,De))}},It=()=>{f.prepare()},Rt=()=>{var A,G;if(de.assertNonNullable(je),y({message:"toggle play"}),Oe(je.playerPhase)===Ce.Ads){w.togglePlay();return}f.info.playbackState$.getValue()!==Ve.PlaybackState.PLAYING?(f.info.isEnded$.getValue()&&(y({message:"toggle play, video ended, seek to 0"}),f.seekTime(0)),y({message:"toggle play, call player.play"}),f.play(),(A=a==null?void 0:a.onPlay)===null||A===void 0||A.call(a)):(y({message:"toggle play, call player.pause"}),f.pause(),(G=a==null?void 0:a.onPause)===null||G===void 0||G.call(a))},Bt=A=>{y({message:`set quality, quality: ${A}`}),f.setAutoQuality(A===ui.AUTO),A!==ui.AUTO&&(Xe.set(A),f.setQuality(A))},ht=A=>{f.setPlaybackRate(A)},Ot=()=>{const A=Oe(mt),G=A.findIndex(({selected:Ae})=>Ae);if(G===A.length-1)return;const re=A[G+1];ht(re.value)},Kt=()=>{const A=Oe(mt),G=A.findIndex(({selected:Ae})=>Ae);if(G===0)return;const re=A[G-1];ht(re.value)},Vt=(A,G=!0)=>{if(y({message:`seek to time, time: ${A}`}),f.info.isLive$.getValue()){const re=f.info.duration$.getValue(),Ae=Math.min(0,re+A);f.seekTime(Ae,G)}else f.seekTime(A,G)},Gt=A=>{y({message:`seek to percent, percent: ${A}`});const G=Math.round(Oe(Ge)*A);Vt(G,!1)},Ie=A=>{y({message:`seek external, time: ${A}`}),f.seekTime(f.info.isLive$.getValue()?-A:A)},W=Fe(void 0),Xt=Fe(!1),At=A=>{y({message:`start scrubbing, progress: ${A}`}),Xt.set(!0),Ft(A)},Ft=A=>{W.set(A)};let Ct;const gt=()=>{W.set(void 0),Xt.set(!1)},Et=()=>{clearTimeout(Ct),Ct=window.setTimeout(()=>{gt()},500),_==null||_.removeEventListener("canplay",Et)},oi=A=>{y({message:`complete scrubbing, progress: ${A}`}),Gt(A),Oe(je.ui.isMobile)&&Oe(je.state.currentFormat$)===Ve.VideoFormat.HLS?_==null||_.addEventListener("canplay",Et):gt()},gi=wt([j,Ge,W],([A,G,re],Ae)=>{Ae(de.isNonNullable(re)?re*G:A)}),bi=()=>{y({message:"switch to active live"}),f.seekTime(0)},Jt=()=>w.skip(),wi=(A=!0)=>{de.assertNonNullable(je),y({message:`switch from ads to video, callPlay: ${A}`}),k.set(Ce.Video),A&&f.play()},ri=()=>{de.assertNonNullable(je),y({message:"switch from video to ads"}),je.actions.internal.pause(),H(),k.set(Ce.Ads)},si=()=>(de.assertNonNullable(je),_s(f,N,je)),_i=()=>(de.assertNonNullable(je),ys(f,N,je)),ai=()=>_,yi=()=>{y({message:"toggle chromecast"}),f.toggleChromecast()},ki=A=>{var G;de.assertNonNullable(je);const re=!A;if(Oe(je.playerPhase)===Ce.Ads){y({message:`pause ads, internalCall: ${re}`}),w.pause();return}y({message:`pause video, internalCall: ${re}`}),re&&((G=a==null?void 0:a.onPause)===null||G===void 0||G.call(a)),f.pause()},Ui=A=>{var G;de.assertNonNullable(je);const re=!A;if(Oe(je.playerPhase)===Ce.Ads){y({message:`play ads, internalCall: ${re}`}),w.play();return}y({message:`play video, internalCall: ${re}`}),re&&((G=a==null?void 0:a.onPlay)===null||G===void 0||G.call(a)),f.play()},Pi=(A,G)=>{de.assertNonNullable(je),y({message:`first start, show ads: ${A}, internalCall: ${!G}`}),A?k.set(Ce.Ads):(k.set(Ce.Video),G?f.play():je.actions.internal.togglePlay())},Tt=()=>{Y.destroy(),q.unsubscribe(),U.unsubscribe(),X.unsubscribe(),f.destroy(),w.destroy()},je={interfaceLanguage$:F,initVideo:C,videoId:e,playerPhase:O,state:{positionExact$:j,positionWithScrubbing$:gi,duration$:Ge,playbackState$:te,isLoaderVisible:ot,bufferedProgress$:zt,isLive$:ie,isActiveLive$:rt,isEnded$:ke,muted$:ne,volume$:Ke,currentQuality$:it,isAutoQualityEnabled$:dt,availableQualities$:Re,currentPlaybackRate$:$e,availablePlaybackRates$:mt,chromecastState$:pe,chromecastDeviceName$:ve,chromecastConnected$:Ze,currentFormat$:Pe,throughputEstimation$:he,videoBitrate$:ye,videoSize$:ue,errorLog$:D,crashed$:R,isAudioAvailable$:$,isAudioDisabled:!!s},ui:{controlsVisible:Fe(!1),isFullscreen:Fe(!1),isAutoplay:Fe(!1),contextMenuVisible:Fe(!1),debugPanelVisible:Fe(!1),playerSize:Fe({width:0,height:0}),isMobile:Fe(!1),mobileUnmuteButtonExpanded:Fe(!1),mobileUnmuteButtonVisible:Fe(!1),settingsMenuVisible:Fe(!1),scrubbingInProgress:Xt},ads:{position:Fe(0),duration:Fe(0),playbackState:Fe(qe.INACTIVE),canSkip:Fe(!1),secondsToWatchBeforeSkip:Fe(0),postrollPassed:Fe(!1)},webApi:{pictureInPictureApi:b},actions:{internal:{preload:It,firstStart:A=>Pi(A,!1),pause:()=>ki(!1),togglePlay:Rt,toggleMuted:Pt,setVolume:pt,setQuality:Bt,setPlaybackRate:ht,incrementPlaybackRate:Ot,decrementPlaybackRate:Kt,startScrubbing:At,progressScrubbing:Ft,completeScrubbing:oi,toggleChromecast:yi,switchToActiveLive:bi,switchFromAdsToVideo:wi,switchFromVideoToAds:ri,skipAd:Jt,getDebugTextData:si,getDebugPanelData:_i,getVideoElement:ai,seekTime:A=>Vt(A),startLogging:fe,stopLogging:K},external:{firstStart:A=>Pi(A,!0),play:()=>Ui(!0),pause:()=>ki(!0),seekTime:A=>Ie(A),setMuted:A=>St(A,!0),setVolume:A=>pt(A,A,!0)}},callbacks:a,setUiCallbacks:A=>{S={...A}},getAdmanWrapper:()=>w,getLogger:()=>p,destroy:Tt};return je};class Uf{isSupported(){return"mediaSession"in navigator}setMetaData({title:e,artist:i="",thumbUrl:n=""}){this.isSupported()&&(navigator.mediaSession.metadata=new MediaMetadata({title:e,artist:i,artwork:[{src:n,sizes:"96x96",type:"image/png"},{src:n,sizes:"128x128",type:"image/png"},{src:n,sizes:"192x192",type:"image/png"},{src:n,sizes:"256x256",type:"image/png"},{src:n,sizes:"384x384",type:"image/png"},{src:n,sizes:"512x512",type:"image/png"}]}))}updateActionHandlers(e){this.resetActionHandlers(),this.setActionHandlers(e)}resetActionHandlers(){const e=[["play",null],["pause",null],["stop",null],["nexttrack",null],["previoustrack",null],["seekto",i=>null],["seekbackward",i=>null],["seekforward",i=>null]];this.setActionHandlers(e)}setActionHandlers(e){if(this.isSupported())for(const[i,n]of e)try{navigator.mediaSession.setActionHandler(i,n)}catch(l){throw new Error(`The media session action "${i}" is not supported yet.`)}}}class Qf{static getLatestSupportedVersion(){const e=new Mr;if(e.isSupported())return e}}function Fo(t,e){var i,n;const l=new Set([...Object.keys(t),...Object.keys(e)]),o={};for(const r of l)o[r]=(n=(i=e[r])!==null&&i!==void 0?i:t[r])!==null&&n!==void 0?n:void 0;return o}var dn,fn;const Wf={preload:!0,autoplay:!1,repeat:!1,muted:!1,fromTime:0,canRewindLive:!0,supportLink:Ac,showAds:!1,interfaceLanguage:exports.InterfaceLanguage.RU,logoClickable:!1,logoHidden:!1,isMobile:(fn=(dn=navigator==null?void 0:navigator.userAgentData)===null||dn===void 0?void 0:dn.mobile)!==null&&fn!==void 0?fn:/Mobile|mini|Fennec|Android|iP(ad|od|hone)/.test(navigator.appVersion),isMediaSessionEnabled:!0,isPictureInPictureEnabled:!0,isAudioDisabled:!1,callbacks:{}};class Yf extends HTMLElement{constructor(){var e;super(),this.currentPlayingVideoIndex=0,this.needToRepeatPlaylist=!1,this.config=void 0,this.pictureInPictureApi=void 0,this.mediaSessionApi=void 0,this.unsubscribePlayerPhaseSubscription=void 0,this._shadowRoot=this.attachShadow({mode:"open"}),this.playerContainer=document.createElement("div"),this.playerContainer.style.width="100%",this.playerContainer.style.height="100%",this._shadowRoot.append(this.playerContainer),this.logger=new de.Logger,this.log=this.logger.createComponentLog("VKVideoPlayer"),this.subscription=new de.Subscription,!((e=window==null?void 0:window.videoPlayerConfig)===null||e===void 0)&&e.debugLogs&&this.subscription.add(this.logger.log$.subscribe(i=>{console.log("%c player web component ","background:#77dd77;",`${i.component}`,i.message)}))}connectedCallback(){var e,i;if(Boolean(this.store))return;const l=(e=this.getAttribute("stub-title"))!==null&&e!==void 0?e:void 0,o=(i=this.getAttribute("stub-thumb-url"))!==null&&i!==void 0?i:void 0;this.svelteStubComponent=new zf({target:this.playerContainer,props:{title:l,thumbUrl:o}})}disconnectedCallback(){var e,i,n;(e=this.svelteRootComponent)===null||e===void 0||e.$destroy(),(i=this.svelteStubComponent)===null||i===void 0||i.$destroy(),this.subscription.unsubscribe(),(n=this.unsubscribePlayerPhaseSubscription)===null||n===void 0||n.call(this)}needToShowNextPrevButtons(){return this.config?this.config.videos.length>1:!1}isNextButtonActive(){return this.config?this.needToShowNextPrevButtons()&&(this.currentPlayingVideoIndex<this.config.videos.length-1||this.needToRepeatPlaylist):!1}isPrevButtonActive(){return this.config?this.needToShowNextPrevButtons()&&(this.currentPlayingVideoIndex>0||this.needToRepeatPlaylist):!1}getNextVideoInfo(){if(!this.config)return{nextVideoTitle:void 0,nextVideoThumb:void 0};const e=this.config.videos[this.currentPlayingVideoIndex+1]||{};return{nextVideoTitle:e.title,nextVideoThumb:e.thumbUrl}}createPlayer(e,i={}){if(!this.config)return;const{albumId:n,statPlace:l,statAuthToken:o,refreshStatAuthToken:r,preload:s,autoplay:c,volume:a,muted:d,fromTime:m,canRewindLive:f,supportLink:p,showAds:w,adsSlotId:b,adsParams:y={},adsPreviewParam:N,interfaceLanguage:_,logoClickable:S,logoHidden:D,isMobile:R,isAudioDisabled:F,isLiveCatchUpMode:I,fullScreenTarget:k,failoverHosts:O,callbacks:C}=Fo(this.config,i),{sources:Y,title:q,thumbUrl:H,unitedVideoId:U,duration:X,adsParams:fe={}}=e,K={...y,...fe},j=this.getNextVideoInfo(),te={sources:Y,title:q,thumbUrl:H,unitedVideoId:U,albumId:n,statPlace:l,autoplay:c,muted:d,volume:a,fromTime:m,canRewindLive:f,supportLink:p,showAds:w,adsSlotId:b,adsParams:K,adsPreviewParam:N,duration:X,logoClickable:S,logoHidden:D,isMobile:R,showNextPrevButtons:this.needToShowNextPrevButtons(),nextButtonActive:this.isNextButtonActive(),prevButtonActive:this.isPrevButtonActive(),endScreenVideoTitle:j.nextVideoTitle,endScreenVideoThumb:j.nextVideoThumb,isOneVideoPlaylist:this.isOneVideoPlaylist()},Ne={pictureInPictureApi:this.pictureInPictureApi};this.log({message:`create player, props: ${JSON.stringify(te)}`}),this.store=qf({interfaceLanguage:_,videoId:U,albumId:n,autoplay:c,isLiveCatchUpMode:I,statPlace:l,isAudioDisabled:F,statAuthToken:o,refreshStatAuthToken:r,callbacks:C,webApi:Ne}),this.store.state.currentFormat$.subscribe(ke=>{var ie;(ie=C==null?void 0:C.onCurrentFormatChanged)===null||ie===void 0||ie.call(C,ke)}),this.store.state.throughputEstimation$.subscribe(ke=>{var ie;(ie=C==null?void 0:C.onThroughputEstimationChanged)===null||ie===void 0||ie.call(C,ke)}),this.store.state.videoBitrate$.subscribe(ke=>{var ie;(ie=C==null?void 0:C.onVideoBitrateChanged)===null||ie===void 0||ie.call(C,ke)}),this.initMediaSession(),this.svelteRootComponent=new Ef({target:this.playerContainer,props:{sources:Y,store:this.store,title:q,thumbUrl:H,preload:s,autoplay:c,muted:d,volume:a,fromTime:m,canRewindLive:f,supportLink:p,showAds:w,adsSlotId:b,adsParams:K,adsPreviewParam:N,duration:X,logoClickable:S,logoHidden:D,isMobile:R,failoverHosts:O,fullScreenTarget:k,outerContainerRef:this.playerContainer,showNextPrevButtons:this.needToShowNextPrevButtons(),nextButtonActive:this.isNextButtonActive(),prevButtonActive:this.isPrevButtonActive(),endScreenVideoTitle:j.nextVideoTitle,endScreenVideoThumb:j.nextVideoThumb,isOneVideoPlaylist:this.isOneVideoPlaylist(),playNextVideo:()=>this.playNextVideo(),playPrevVideo:()=>this.playPrevVideo(),repeatPlaylist:()=>this.repeatPlaylist()}})}playNextVideo(){this.config&&(this.currentPlayingVideoIndex++,this.currentPlayingVideoIndex>=this.config.videos.length&&(this.currentPlayingVideoIndex=0),this.log({message:`play next video, index: ${this.currentPlayingVideoIndex}`}),this.createPlayerWithCurrentVideo())}playPrevVideo(){this.config&&(this.currentPlayingVideoIndex--,this.currentPlayingVideoIndex<0&&(this.currentPlayingVideoIndex=this.config.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(){var e;if(!this.config)return;const i=this.config.videos[this.currentPlayingVideoIndex];if(!i){this.log({message:"no next video"});return}(e=this.svelteRootComponent)===null||e===void 0||e.$destroy(),setTimeout(()=>this.createPlayer(i,{autoplay:!0,fromTime:0}),0)}initPlayer(e){var i,n;if(!Array.isArray(e.videos)||e.videos.length===0)throw new Error("empty videos");this.config=Fo(Wf,xr(e,l=>l instanceof HTMLElement?l:void 0)),this.currentPlayingVideoIndex=0,this.pictureInPictureApi=this.config.isPictureInPictureEnabled?Qf.getLatestSupportedVersion():void 0,this.mediaSessionApi=this.config.isMediaSessionEnabled?new Uf:void 0,(i=this.svelteStubComponent)===null||i===void 0||i.$destroy(),(n=this.svelteRootComponent)===null||n===void 0||n.$destroy(),this.createPlayer(e.videos[0]),Gc(this.pictureInPictureApi)&&this.pictureInPictureApi.setPlayerDomElement(this.playerContainer,this._shadowRoot)}isOneVideoPlaylist(){return this.config?this.config.videos.length===1:!1}updateNextVideos(e){var i;if(!this.config)return;this.log({message:`update next videos, videos: ${JSON.stringify(e)}`}),this.config.videos.splice(this.currentPlayingVideoIndex+1),this.config.videos.push(...e);const n=this.getNextVideoInfo();(i=this.svelteRootComponent)===null||i===void 0||i.$set({showNextPrevButtons:this.needToShowNextPrevButtons(),nextButtonActive:this.isNextButtonActive(),prevButtonActive:this.isPrevButtonActive(),endScreenVideoTitle:n.nextVideoTitle,endScreenVideoThumb:n.nextVideoThumb,isOneVideoPlaylist:this.isOneVideoPlaylist()})}initMediaSession(){var e,i;this.mediaSessionApi&&((e=this.unsubscribePlayerPhaseSubscription)===null||e===void 0||e.call(this),this.unsubscribePlayerPhaseSubscription=(i=this.store)===null||i===void 0?void 0:i.playerPhase.subscribe(n=>{n===Ce.Video?this.setupMediaSessionForVideo():n===Ce.Ads&&this.setupMediaSessionForAds()}))}setupMediaSessionForVideo(){if(!(!this.config||!this.mediaSessionApi))try{const{title:e,thumbUrl:i}={...this.config.videos[this.currentPlayingVideoIndex]},n=[["play",()=>this.play()],["pause",()=>this.pause()],["seekto",l=>this.seekTime(l.seekTime)],["nexttrack",()=>this.playNextVideo()],["previoustrack",()=>this.playPrevVideo()]];this.mediaSessionApi.setMetaData({title:e,thumbUrl:i}),this.mediaSessionApi.updateActionHandlers(n)}catch(e){this.log({message:e.message})}}setupMediaSessionForAds(){if(!(!this.config||!this.mediaSessionApi))try{const e="\u0420\u0435\u043A\u043B\u0430\u043C\u0430",i=[["play",()=>this.play()],["pause",()=>this.pause()]];this.mediaSessionApi.setMetaData({title:e}),this.mediaSessionApi.updateActionHandlers(i)}catch(e){this.log({message:e.message})}}play(){var e;this.log({message:"play"}),(e=this.svelteRootComponent)===null||e===void 0||e.play()}pause(){var e;this.log({message:"pause"}),(e=this.svelteRootComponent)===null||e===void 0||e.pause()}stop(){var e,i;if(!this.config)return;this.log({message:"stop"}),(e=this.svelteStubComponent)===null||e===void 0||e.$destroy();const n=this.config.videos[0];n&&((i=this.svelteRootComponent)===null||i===void 0||i.$destroy(),this.createPlayer(n))}setMuted(e){var i;this.log({message:`set muted, muted: ${e}`}),(i=this.svelteRootComponent)===null||i===void 0||i.setMuted(e)}setVolume(e){var i;this.log({message:`set volume, volume: ${e}`}),(i=this.svelteRootComponent)===null||i===void 0||i.setVolume(e)}setRepeat(e){var i;this.log({message:`set repeat, repeat: ${e}`}),this.needToRepeatPlaylist=e,(i=this.svelteRootComponent)===null||i===void 0||i.$set({showNextPrevButtons:this.needToShowNextPrevButtons(),nextButtonActive:this.isNextButtonActive(),prevButtonActive:this.isPrevButtonActive()})}seekTime(e){var i;this.log({message:`seek time, time: ${e}`}),(i=this.svelteRootComponent)===null||i===void 0||i.seekTime(e)}}const Kf=()=>{window.customElements.define("vk-video-player",Yf)};Object.defineProperty(exports,"VideoFormat",{enumerable:!0,get:function(){return Ve.VideoFormat}});Object.defineProperty(exports,"VideoQuality",{enumerable:!0,get:function(){return Ve.VideoQuality}});exports.registerPlayerWebComponent=Kf;
|
|
36
|
+
)}.hidden.v-6m6jx8{visibility:hidden;transform:translateY(calc(var(--videoplayer-controls-gradient-height) * -1));opacity:0}`)}function sa(t){let e,i;return{c(){e=g("div"),i=g0(t[0]),u(e,"class","title v-6m6jx8"),H(e,"hidden",t[1])},m(n,l){T(n,e,l),v(e,i)},p(n,[l]){l&1&&A0(i,n[0]),l&2&&H(e,"hidden",n[1])},i:R,o:R,d(n){n&&E(e)}}}function aa(t,e,i){let{title:n=""}=e,{isHidden:l=!1}=e;return t.$$set=o=>{"title"in o&&i(0,n=o.title),"isHidden"in o&&i(1,l=o.isHidden)},[n,l]}class ca extends p0{constructor(e){super(),m0(this,e,aa,sa,v0,{title:0,isHidden:1},ra)}}function ua(t){_0(t,"v-1o62kpz",".wrapper.v-1o62kpz{height:100%;background-position:center;background-size:cover;display:flex;align-items:center;justify-content:center;font-size:16px;flex-direction:column}.icon_wrapper.v-1o62kpz{display:flex;flex-direction:column;align-items:center;width:400px}.icon.v-1o62kpz{width:50px;height:50px}.text.v-1o62kpz{margin-top:20px}")}function b6(t){let e,i,n;return{c(){e=g("div"),i=g0("\u0412\u0438\u0434\u0435\u043E \u0432\u043E\u0441\u043F\u0440\u043E\u0438\u0437\u0432\u043E\u0434\u0438\u0442\u0441\u044F \u043D\u0430 "),n=g0(t[1]),u(e,"class","text v-1o62kpz")},m(l,o){T(l,e,o),v(e,i),v(e,n)},p(l,o){o&2&&A0(n,l[1])},d(l){l&&E(e)}}}function da(t){let e,i,n,l,o,r,s=t[1]&&b6(t);return{c(){e=g("div"),i=g("div"),i.innerHTML='<svg class="icon v-1o62kpz" width="22" height="22" viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg"><g fill="none" fill-rule="evenodd"><path d="M1 18v3h3c0-1.66-1.34-3-3-3zm0-4v2c2.76 0 5 2.24 5 5h2c0-3.87-3.13-7-7-7zm0-4v2a9 9 0 0 1 9 9h2c0-6.08-4.93-11-11-11zm20-7H3c-1.1 0-2 .9-2 2v3h2V5h18v14h-7v2h7c1.1 0 2-.9 2-2V5c0-1.1-.9-2-2-2z" fill="#fff"></path><path d="M0 0h24v24H0z"></path></g></svg>',n=z(),s&&s.c(),u(i,"class","icon_wrapper v-1o62kpz"),u(e,"class","wrapper v-1o62kpz"),u(e,"style",l=`background-image: linear-gradient(0deg, rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.6)), url('${t[0]||""}')`)},m(a,c){T(a,e,c),v(e,i),v(e,n),s&&s.m(e,null),o||(r=r0(e,"click",t[2]),o=!0)},p(a,[c]){a[1]?s?s.p(a,c):(s=b6(a),s.c(),s.m(e,null)):s&&(s.d(1),s=null),c&1&&l!==(l=`background-image: linear-gradient(0deg, rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.6)), url('${a[0]||""}')`)&&u(e,"style",l)},i:R,o:R,d(a){a&&E(e),s&&s.d(),o=!1,r()}}}function fa(t,e,i){let{thumbUrl:n}=e,{chromecastDeviceName:l}=e;function o(r){de.call(this,t,r)}return t.$$set=r=>{"thumbUrl"in r&&i(0,n=r.thumbUrl),"chromecastDeviceName"in r&&i(1,l=r.chromecastDeviceName)},[n,l,o]}class va extends p0{constructor(e){super(),m0(this,e,fa,da,v0,{thumbUrl:0,chromecastDeviceName:1},ua)}}var ma="data:image/svg+xml,%3csvg viewBox='460 190 130 90' xmlns='http://www.w3.org/2000/svg'%3e%3cpath 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' fill='white' fill-rule='evenodd'/%3e%3c/svg%3e";function pa(t){_0(t,"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}.icon.v-zd9h6u{width:200px;height:200px}")}function ha(t){let e,i,n;return{c(){e=g("div"),i=g("img"),C0(i.src,n=ma)||u(i,"src",n),u(i,"class","icon v-zd9h6u"),u(i,"alt",""),u(e,"class","container v-zd9h6u")},m(l,o){T(l,e,o),v(e,i)},p:R,i:R,o:R,d(l){l&&E(e)}}}class ga extends p0{constructor(e){super(),m0(this,e,null,ha,v0,{},pa)}}function ba(t,e,i){let n,l,o,r,s,{isAds:a}=e,{hideContextMenu:c}=e,{toggleFullscreen:f}=e;const m=F0(),p=m.getLogger().createComponentLog("KeyboardControls component"),d=m.state.playbackState$;Q(t,d,k=>i(13,s=k));const b=m.ads.playbackState;Q(t,b,k=>i(12,r=k));const C=m.state.positionExact$;Q(t,C,k=>i(11,o=k));const S=m.state.duration$;Q(t,S,k=>i(10,l=k));const L=m.state.volume$;Q(t,L,k=>i(9,n=k));const N=k=>{c();const B=k.code;if(k.ctrlKey||k.altKey||k.metaKey)return;const A=s===V0.PlaybackState.PLAYING||s===V0.PlaybackState.PAUSED,y=a&&(r===Z0.PAUSED||r===Z0.PLAYING);if(A||y)switch(p({message:`key down, code: ${B}`}),B){case Y0.KeyJ:case Y0.ArrowLeft:{if(y)break;const M=Math.max(o-Pi,0);o>0&&m.actions.internal.seekTime(M),k.preventDefault();break}case Y0.KeyL:case Y0.ArrowRight:{if(y)break;const M=Math.min(o+Pi,l);o<l&&m.actions.internal.seekTime(M),k.preventDefault();break}case Y0.ArrowUp:{const M=Math.min(n+Vi,ki);n<ki&&m.actions.internal.setVolume(M),k.preventDefault();break}case Y0.ArrowDown:{const M=Math.max(n-Vi,0);n>0&&m.actions.internal.setVolume(M),k.preventDefault();break}case Y0.Comma:{k.shiftKey&&(m.actions.internal.decrementPlaybackRate(),k.preventDefault());break}case Y0.Period:{k.shiftKey&&(m.actions.internal.incrementPlaybackRate(),k.preventDefault());break}case Y0.KeyK:case Y0.Space:m.actions.internal.togglePlay(),k.preventDefault();break;case Y0.KeyM:m.actions.internal.toggleMuted(),k.preventDefault();break;case Y0.KeyF:f(),k.preventDefault();break;default:o0.checkNever(B);break}};return t.$$set=k=>{"isAds"in k&&i(5,a=k.isAds),"hideContextMenu"in k&&i(6,c=k.hideContextMenu),"toggleFullscreen"in k&&i(7,f=k.toggleFullscreen)},[d,b,C,S,L,a,c,f,N]}class Ca extends p0{constructor(e){super(),m0(this,e,ba,null,v0,{isAds:5,hideContextMenu:6,toggleFullscreen:7,keyDownHandler:8})}get keyDownHandler(){return this.$$.ctx[8]}}function _a(t){_0(t,"v-1c30l04",".double-click-area.v-1c30l04{position:absolute;z-index:1;top:0;height:100%;width:25%;overflow:hidden}.double-click-area.left.v-1c30l04{left:0}.double-click-area.right.v-1c30l04{right:0}.semicircle.v-1c30l04{position:absolute;top:0;width:100%;height:100%;background-color:rgba(0, 0, 0, 0.5)}.semicircle.left.v-1c30l04{left:0;border-top-right-radius:50%;border-bottom-right-radius:50%}.semicircle.right.v-1c30l04{right:0;border-top-left-radius:50%;border-bottom-left-radius:50%}.info.v-1c30l04{position:absolute;top:50%;left:50%;transform:translate(-50%, -50%);display:flex;flex-direction:column;align-items:center;justify-content:center}.triangles-wrapper.v-1c30l04{position:relative;display:flex;margin-bottom:10px;justify-content:center}.triangle.v-1c30l04{width:0;height:0;border-top:6px solid transparent;border-bottom:6px solid transparent;animation:v-1c30l04-blink 500ms infinite;opacity:0}.triangle.right.v-1c30l04:nth-child(1),.triangle.left.v-1c30l04:nth-child(3){animation-delay:0ms}.triangle.right.v-1c30l04:nth-child(2),.triangle.left.v-1c30l04:nth-child(2){animation-delay:100ms}.triangle.right.v-1c30l04:nth-child(3),.triangle.left.v-1c30l04:nth-child(1){animation-delay:200ms}@keyframes v-1c30l04-blink{0%{opacity:0}50%{opacity:1}100%{opacity:0}}.triangle.left.v-1c30l04{border-right:8px solid var(--white)}.triangle.right.v-1c30l04{border-left:8px solid var(--white)}.triangle.v-1c30l04:not(:last-child){margin-right:5px}.step-caption.v-1c30l04{margin:0;text-align:center;font-size:12px;line-height:1;color:var(--white)}")}function C6(t){let e,i,n,l,o,r,s,a,c,f,m,p,d,b,C,S=H0("doubletap_seek_step",{seconds:t[1].toFixed(0)})+"",L;return{c(){e=g("div"),n=z(),l=g("div"),o=g("div"),r=g("div"),a=z(),c=g("div"),m=z(),p=g("div"),b=z(),C=g("p"),L=g0(S),u(e,"class",i="semicircle "+t[0]+" v-1c30l04"),u(r,"class",s="triangle "+t[0]+" v-1c30l04"),u(c,"class",f="triangle "+t[0]+" v-1c30l04"),u(p,"class",d="triangle "+t[0]+" v-1c30l04"),u(o,"class","triangles-wrapper v-1c30l04"),u(C,"class","step-caption v-1c30l04"),u(l,"class","info v-1c30l04")},m(N,k){T(N,e,k),T(N,n,k),T(N,l,k),v(l,o),v(o,r),v(o,a),v(o,c),v(o,m),v(o,p),v(l,b),v(l,C),v(C,L)},p(N,k){k&1&&i!==(i="semicircle "+N[0]+" v-1c30l04")&&u(e,"class",i),k&1&&s!==(s="triangle "+N[0]+" v-1c30l04")&&u(r,"class",s),k&1&&f!==(f="triangle "+N[0]+" v-1c30l04")&&u(c,"class",f),k&1&&d!==(d="triangle "+N[0]+" v-1c30l04")&&u(p,"class",d),k&2&&S!==(S=H0("doubletap_seek_step",{seconds:N[1].toFixed(0)})+"")&&A0(L,S)},d(N){N&&E(e),N&&E(n),N&&E(l)}}}function wa(t){let e,i,n,l,o=t[2]&&C6(t);return{c(){e=g("div"),o&&o.c(),u(e,"class",i="double-click-area "+t[0]+" v-1c30l04")},m(r,s){T(r,e,s),o&&o.m(e,null),n||(l=r0(e,"click",ol(t[3]())),n=!0)},p(r,[s]){r[2]?o?o.p(r,s):(o=C6(r),o.c(),o.m(e,null)):o&&(o.d(1),o=null),s&1&&i!==(i="double-click-area "+r[0]+" v-1c30l04")&&u(e,"class",i)},i:R,o:R,d(r){r&&E(e),o&&o.d(),n=!1,l()}}}function ya(t,e,i){let{side:n}=e,{seekStep:l}=e,{handleSingleFirstClick:o}=e,{handleSecondClick:r}=e,s=!1,a=0,c=0;const f=()=>{let p=0;return()=>{p+=1,p===1?a=window.setTimeout(()=>{o(),p=0},300):(window.clearTimeout(a),p=0,r(),i(2,s=!0),c=window.setTimeout(()=>{i(2,s=!1)},500))}};return F6(()=>{window.clearTimeout(a),window.clearTimeout(c)}),t.$$set=m=>{"side"in m&&i(0,n=m.side),"seekStep"in m&&i(1,l=m.seekStep),"handleSingleFirstClick"in m&&i(4,o=m.handleSingleFirstClick),"handleSecondClick"in m&&i(5,r=m.handleSecondClick)},[n,l,s,f,o,r]}class Bn extends p0{constructor(e){super(),m0(this,e,ya,wa,v0,{side:0,seekStep:1,handleSingleFirstClick:4,handleSecondClick:5},_a)}}function ka(t,e){var i,n,l,o,r;return t?((r=(o=(l=(n=(i=t.matches)!==null&&i!==void 0?i:t.matchesSelector)!==null&&n!==void 0?n:t.mozMatchesSelector)!==null&&l!==void 0?l:t.msMatchesSelector)!==null&&o!==void 0?o:t.oMatchesSelector)!==null&&r!==void 0?r:t.webkitMatchesSelector).call(t,e):!1}function Va(t){return ka(t,":hover")}const Rn=t=>t>1?F1:t<0?0:t,_6=t=>t1.set(Pn,Rn(t)),On=()=>{const t=parseFloat(t1.get(Pn));return isNaN(t)?F1:Rn(t)},w6=t=>t1.set(Ln,t),Pa=()=>{const t=t1.get(Ln);return typeof t=="boolean"?t:!1},La=t=>{if(t.requestFullscreen)return t.requestFullscreen();if(t.msRequestFullscreen)return t.msRequestFullscreen();if(t.webkitRequestFullscreen)return t.webkitRequestFullscreen();if(t.mozRequestFullScreen)return t.mozRequestFullScreen();const e=t.querySelector("video");return e!=null&&e.webkitEnterFullscreen?e.webkitEnterFullscreen():Promise.reject()},Sa=t=>t.exitFullscreen?t.exitFullscreen():t.msExitFullscreen?t.msExitFullscreen():t.webkitExitFullscreen?t.webkitExitFullscreen():t.mozCancelFullScreen?t.mozCancelFullScreen():Promise.reject(),Ma=t=>{const e=t;return e!=null&&e.webkitExitFullscreen?e==null?void 0:e.webkitExitFullscreen():Promise.reject()},y6=()=>{const t=document;return!!(t.fullscreenElement||t.mozFullScreenElement||t.webkitFullscreenElement||t.msFullscreenElement)},Ha=t=>{document.addEventListener("fullscreenchange",t),document.addEventListener("webkitfullscreenchange",t),document.addEventListener("mozfullscreenchange",t),document.addEventListener("MSFullscreenChange",t)},Aa=t=>{document.removeEventListener("fullscreenchange",t),document.removeEventListener("webkitfullscreenchange",t),document.removeEventListener("mozfullscreenchange",t),document.removeEventListener("MSFullscreenChange",t)},Ea=t=>{const e=window.screen;return(async l=>e.orientation?e.orientation.lock(l):e.mozLockOrientation?e.mozLockOrientation(l):e.msLockOrientation?e.msLockOrientation(l):Promise.reject())(((l={width:0,height:0})=>l.width<=l.height?"portrait":"landscape")(t))},{window:Ta}=vl;function Na(t){_0(t,"v-phigzb",".player-wrapper.v-phigzb{--white:#fff;--black:#000;--red:#ff3347;--videoplayer-controls-height:45px;--videoplayer-controls-fullscreen-height:50px;--videoplayer-controls-gradient-height:100px;--videoplayer-controls-transition-duration:0.25s;--videoplayer-controls-transition-fn:cubic-bezier(0.455, 0.03, 0.515, 0.955);--videoplayer-focused-element-shadow:inset 0 0 0 2px #2a5885;--videoplayer-focused-slider-shadow:0 0 0 2px #2a5885;--videoplayer-big-play-size:75px;--videoplayer-big-play-radius:50%;--videoplayer-big-play-bg-color:rgba(0, 0, 0, 0.5);--videoplayer-big-play-hover-bg-color:rgba(0, 0, 0, 0.6);--videoplayer-big-play-icon-width:38px;--videoplayer-big-play-icon-height:33px;--videoplayer-slider-height:5px;--videoplayer-slider-radius:calc(var(--videoplayer-slider-height) / 2);--videoplayer-slider-handle-size:13px;--videoplayer-slider-bg:rgba(255, 255, 255, 0.4);--videoplayer-slider-loaded-bg:rgba(255, 255, 255, 0.4);--videoplayer-slider-filled-bg:var(--white);--videoplayer-slider-filled-active-live-bg:var(--red);--videoplayer-slider-filled-ads:rgba(103, 165, 235, 1);--videoplayer-slider-disabled-color:rgba(248, 248, 248, 0.31);--videplayer-mobile-settings-bg:#2C2D2E;--videoplayer-button-hover-transition:opacity 0.2s;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}.player-wrapper.v-phigzb .player-media{position:absolute;left:0;top:0;width:100%;height:100%;background:var(--black);transition:transform 0.2s ease-in-out}.video-container.v-phigzb,.ads-container.v-phigzb{position:absolute;width:100%;height:100%;left:0;top:0}.video-container.v-phigzb{z-index:0}.nocursor.v-phigzb{cursor:none}.ads-container.v-phigzb{background:var(--black)}.hidden.v-phigzb{visibility:hidden}div{outline:none}")}function k6(t){let e,i,n,l;e=new Bn({props:{side:"left",seekStep:z1,handleSingleFirstClick:t[68],handleSecondClick:t[98]}});let o=!t[38]&&V6(t);return{c(){i0(e.$$.fragment),i=z(),o&&o.c(),n=$0()},m(r,s){$(e,r,s),T(r,i,s),o&&o.m(r,s),T(r,n,s),l=!0},p(r,s){r[38]?o&&(a0(),_(o,1,1,()=>{o=null}),c0()):o?(o.p(r,s),s[1]&128&&h(o,1)):(o=V6(r),o.c(),h(o,1),o.m(n.parentNode,n))},i(r){l||(h(e.$$.fragment,r),h(o),l=!0)},o(r){_(e.$$.fragment,r),_(o),l=!1},d(r){e0(e,r),r&&E(i),o&&o.d(r),r&&E(n)}}}function V6(t){let e,i;return e=new Bn({props:{side:"right",seekStep:z1,handleSingleFirstClick:t[68],handleSecondClick:t[99]}}),{c(){i0(e.$$.fragment)},m(n,l){$(e,n,l),i=!0},p:R,i(n){i||(h(e.$$.fragment,n),i=!0)},o(n){_(e.$$.fragment,n),i=!1},d(n){e0(e,n)}}}function P6(t){let e,i,n;return i=new A4({props:{adsSlotId:t[5],adsParams:t[6],adsPreviewParam:t[7],duration:t[8]}}),{c(){e=g("div"),i0(i.$$.fragment),u(e,"class","ads-container v-phigzb"),H(e,"hidden",t[25]!==k0.Ads)},m(l,o){T(l,e,o),$(i,e,null),n=!0},p(l,o){const r={};o[0]&32&&(r.adsSlotId=l[5]),o[0]&64&&(r.adsParams=l[6]),o[0]&128&&(r.adsPreviewParam=l[7]),o[0]&256&&(r.duration=l[8]),i.$set(r),(!n||o[0]&33554432)&&H(e,"hidden",l[25]!==k0.Ads)},i(l){n||(h(i.$$.fragment,l),n=!0)},o(l){_(i.$$.fragment,l),n=!1},d(l){l&&E(e),e0(i)}}}function L6(t){let e,i,n,l;const o=[za,Ia],r=[];function s(a,c){return a[11]?0:1}return e=s(t),i=r[e]=o[e](t),{c(){i.c(),n=$0()},m(a,c){r[e].m(a,c),T(a,n,c),l=!0},p(a,c){let f=e;e=s(a),e===f?r[e].p(a,c):(a0(),_(r[f],1,1,()=>{r[f]=null}),c0(),i=r[e],i?i.p(a,c):(i=r[e]=o[e](a),i.c()),h(i,1),i.m(n.parentNode,n))},i(a){l||(h(i),l=!0)},o(a){_(i),l=!1},d(a){r[e].d(a),a&&E(n)}}}function Ia(t){let e,i;return e=new na({props:{title:t[15],thumb:t[16],playNextVideo:t[18]}}),{c(){i0(e.$$.fragment)},m(n,l){$(e,n,l),i=!0},p(n,l){const o={};l[0]&32768&&(o.title=n[15]),l[0]&65536&&(o.thumb=n[16]),l[0]&262144&&(o.playNextVideo=n[18]),e.$set(o)},i(n){i||(h(e.$$.fragment,n),i=!0)},o(n){_(e.$$.fragment,n),i=!1},d(n){e0(e,n)}}}function za(t){let e,i;return e=new oa({props:{playNextVideo:t[18]}}),{c(){i0(e.$$.fragment)},m(n,l){$(e,n,l),i=!0},p(n,l){const o={};l[0]&262144&&(o.playNextVideo=n[18]),e.$set(o)},i(n){i||(h(e.$$.fragment,n),i=!0)},o(n){_(e.$$.fragment,n),i=!1},d(n){e0(e,n)}}}function S6(t){let e,i;return e=new ca({props:{title:t[0],isHidden:!t[21]}}),{c(){i0(e.$$.fragment)},m(n,l){$(e,n,l),i=!0},p(n,l){const o={};l[0]&1&&(o.title=n[0]),l[0]&2097152&&(o.isHidden=!n[21]),e.$set(o)},i(n){i||(h(e.$$.fragment,n),i=!0)},o(n){_(e.$$.fragment,n),i=!1},d(n){e0(e,n)}}}function M6(t){let e,i;return e=new va({props:{thumbUrl:t[1],chromecastDeviceName:t[39]}}),{c(){i0(e.$$.fragment)},m(n,l){$(e,n,l),i=!0},p(n,l){const o={};l[0]&2&&(o.thumbUrl=n[1]),l[1]&256&&(o.chromecastDeviceName=n[39]),e.$set(o)},i(n){i||(h(e.$$.fragment,n),i=!0)},o(n){_(e.$$.fragment,n),i=!1},d(n){e0(e,n)}}}function H6(t){let e,i,n={toggleFullscreen:t[65],hideContextMenu:t[66],isAds:t[25]===k0.Ads};return e=new Ca({props:n}),t[101](e),{c(){i0(e.$$.fragment)},m(l,o){$(e,l,o),i=!0},p(l,o){const r={};o[0]&33554432&&(r.isAds=l[25]===k0.Ads),e.$set(r)},i(l){i||(h(e.$$.fragment,l),i=!0)},o(l){_(e.$$.fragment,l),i=!1},d(l){t[101](null),e0(e,l)}}}function A6(t){let e,i,n,l,o;return i=new ga({}),{c(){e=g("div"),i0(i.$$.fragment)},m(r,s){T(r,e,s),$(i,e,null),n=!0,l||(o=[r0(e,"contextmenu",Je(t[67])),r0(e,"click",t[70])],l=!0)},p:R,i(r){n||(h(i.$$.fragment,r),n=!0)},o(r){_(i.$$.fragment,r),n=!1},d(r){r&&E(e),e0(i),l=!1,J0(o)}}}function E6(t){let e,i;return e=new z4({props:{supportLink:t[3],visible:t[37],playerContainerRef:t[27],controlsContainerRef:t[29],x:t[31],y:t[32]}}),{c(){i0(e.$$.fragment)},m(n,l){$(e,n,l),i=!0},p(n,l){const o={};l[0]&8&&(o.supportLink=n[3]),l[1]&64&&(o.visible=n[37]),l[0]&134217728&&(o.playerContainerRef=n[27]),l[0]&536870912&&(o.controlsContainerRef=n[29]),l[1]&1&&(o.x=n[31]),l[1]&2&&(o.y=n[32]),e.$set(o)},i(n){i||(h(e.$$.fragment,n),i=!0)},o(n){_(e.$$.fragment,n),i=!1},d(n){e0(e,n)}}}function T6(t){let e,i;return e=new d4({}),{c(){i0(e.$$.fragment)},m(n,l){$(e,n,l),i=!0},i(n){i||(h(e.$$.fragment,n),i=!0)},o(n){_(e.$$.fragment,n),i=!1},d(n){e0(e,n)}}}function N6(t){let e,i;return e=new q4({}),{c(){i0(e.$$.fragment)},m(n,l){$(e,n,l),i=!0},i(n){i||(h(e.$$.fragment,n),i=!0)},o(n){_(e.$$.fragment,n),i=!1},d(n){e0(e,n)}}}function Ba(t){let e,i,n,l,o,r,s,a,c,f,m,p,d,b,C,S,L,N,k;i=new a4({props:{hidden:t[25]!==k0.Thumb||t[23],thumbUrl:t[1],startVideo:t[63]}});let B=t[11]&&t[36]&&k6(t),A=t[4]&&t[30]&&P6(t),y=t[22]&&t[15]&&t[16]&&L6(t),M=!t[11]&&t[25]===k0.Video&&S6(t),V=t[24]&&M6(t),W=!t[11]&&H6(t);function I(d0){t[102](d0)}let G={hidden:t[25]===k0.Thumb||t[11]&&t[25]===k0.Ads,showControls:t[21],isAds:t[25]===k0.Ads,canRewindLive:t[2]&&t[26]!==0,logoClickable:t[9],logoHidden:t[10],showNextPrevButtons:t[12],nextButtonActive:t[13],prevButtonActive:t[14],isOneVideoPlaylist:t[17],supportLink:t[3],canShowTimeline:t[36],playNextVideo:t[18],playPrevVideo:t[19],repeatPlaylist:t[20],toggleFullscreen:t[65]};t[29]!==void 0&&(G.controlsElementRef=t[29]),m=new l4({props:G}),x0.push(()=>ml(m,"controlsElementRef",I));let j=t[23]&&A6(t),O=!t[11]&&E6(t),U=t[34]&&T6(),x=t[40]&&N6();return{c(){e=g("div"),i0(i.$$.fragment),n=z(),l=g("div"),B&&B.c(),o=z(),A&&A.c(),r=z(),y&&y.c(),s=z(),M&&M.c(),a=z(),V&&V.c(),c=z(),W&&W.c(),f=z(),i0(m.$$.fragment),d=z(),j&&j.c(),b=z(),O&&O.c(),C=z(),U&&U.c(),S=z(),x&&x.c(),u(l,"class","video-container v-phigzb"),H(l,"hidden",t[25]!==k0.Video),H(l,"nocursor",t[35]),u(e,"class","player-wrapper v-phigzb"),u(e,"tabindex","0")},m(d0,X){T(d0,e,X),$(i,e,null),v(e,n),v(e,l),B&&B.m(l,null),t[100](l),v(e,o),A&&A.m(e,null),v(e,r),y&&y.m(e,null),v(e,s),M&&M.m(e,null),v(e,a),V&&V.m(e,null),v(e,c),W&&W.m(e,null),v(e,f),$(m,e,null),v(e,d),j&&j.m(e,null),v(e,b),O&&O.m(e,null),v(e,C),U&&U.m(e,null),v(e,S),x&&x.m(e,null),t[103](e),L=!0,N||(k=[r0(Ta,"blur",t[66]),r0(l,"contextmenu",Je(t[67])),r0(l,"click",t[69]),r0(e,"mouseenter",function(){D0(t[11]?R:t[60])&&(t[11]?R:t[60]).apply(this,arguments)}),r0(e,"mouseleave",function(){D0(t[11]?R:t[61])&&(t[11]?R:t[61]).apply(this,arguments)}),r0(e,"mousemove",function(){D0(t[11]?R:t[62])&&(t[11]?R:t[62]).apply(this,arguments)}),r0(e,"keydown",function(){D0(t[11]?R:t[71])&&(t[11]?R:t[71]).apply(this,arguments)})],N=!0)},p(d0,X){t=d0;const Z={};X[0]&41943040&&(Z.hidden=t[25]!==k0.Thumb||t[23]),X[0]&2&&(Z.thumbUrl=t[1]),i.$set(Z),t[11]&&t[36]?B?(B.p(t,X),X[0]&2048|X[1]&32&&h(B,1)):(B=k6(t),B.c(),h(B,1),B.m(l,null)):B&&(a0(),_(B,1,1,()=>{B=null}),c0()),(!L||X[0]&33554432)&&H(l,"hidden",t[25]!==k0.Video),(!L||X[1]&16)&&H(l,"nocursor",t[35]),t[4]&&t[30]?A?(A.p(t,X),X[0]&1073741840&&h(A,1)):(A=P6(t),A.c(),h(A,1),A.m(e,r)):A&&(a0(),_(A,1,1,()=>{A=null}),c0()),t[22]&&t[15]&&t[16]?y?(y.p(t,X),X[0]&4292608&&h(y,1)):(y=L6(t),y.c(),h(y,1),y.m(e,s)):y&&(a0(),_(y,1,1,()=>{y=null}),c0()),!t[11]&&t[25]===k0.Video?M?(M.p(t,X),X[0]&33556480&&h(M,1)):(M=S6(t),M.c(),h(M,1),M.m(e,a)):M&&(a0(),_(M,1,1,()=>{M=null}),c0()),t[24]?V?(V.p(t,X),X[0]&16777216&&h(V,1)):(V=M6(t),V.c(),h(V,1),V.m(e,c)):V&&(a0(),_(V,1,1,()=>{V=null}),c0()),t[11]?W&&(a0(),_(W,1,1,()=>{W=null}),c0()):W?(W.p(t,X),X[0]&2048&&h(W,1)):(W=H6(t),W.c(),h(W,1),W.m(e,f));const n0={};X[0]&33556480&&(n0.hidden=t[25]===k0.Thumb||t[11]&&t[25]===k0.Ads),X[0]&2097152&&(n0.showControls=t[21]),X[0]&33554432&&(n0.isAds=t[25]===k0.Ads),X[0]&67108868&&(n0.canRewindLive=t[2]&&t[26]!==0),X[0]&512&&(n0.logoClickable=t[9]),X[0]&1024&&(n0.logoHidden=t[10]),X[0]&4096&&(n0.showNextPrevButtons=t[12]),X[0]&8192&&(n0.nextButtonActive=t[13]),X[0]&16384&&(n0.prevButtonActive=t[14]),X[0]&131072&&(n0.isOneVideoPlaylist=t[17]),X[0]&8&&(n0.supportLink=t[3]),X[1]&32&&(n0.canShowTimeline=t[36]),X[0]&262144&&(n0.playNextVideo=t[18]),X[0]&524288&&(n0.playPrevVideo=t[19]),X[0]&1048576&&(n0.repeatPlaylist=t[20]),!p&&X[0]&536870912&&(p=!0,n0.controlsElementRef=t[29],dl(()=>p=!1)),m.$set(n0),t[23]?j?(j.p(t,X),X[0]&8388608&&h(j,1)):(j=A6(t),j.c(),h(j,1),j.m(e,b)):j&&(a0(),_(j,1,1,()=>{j=null}),c0()),t[11]?O&&(a0(),_(O,1,1,()=>{O=null}),c0()):O?(O.p(t,X),X[0]&2048&&h(O,1)):(O=E6(t),O.c(),h(O,1),O.m(e,C)),t[34]?U?X[1]&8&&h(U,1):(U=T6(),U.c(),h(U,1),U.m(e,S)):U&&(a0(),_(U,1,1,()=>{U=null}),c0()),t[40]?x?X[1]&512&&h(x,1):(x=N6(),x.c(),h(x,1),x.m(e,null)):x&&(a0(),_(x,1,1,()=>{x=null}),c0())},i(d0){L||(h(i.$$.fragment,d0),h(B),h(A),h(y),h(M),h(V),h(W),h(m.$$.fragment,d0),h(j),h(O),h(U),h(x),L=!0)},o(d0){_(i.$$.fragment,d0),_(B),_(A),_(y),_(M),_(V),_(W),_(m.$$.fragment,d0),_(j),_(O),_(U),_(x),L=!1},d(d0){d0&&E(e),e0(i),B&&B.d(),t[100](null),A&&A.d(),y&&y.d(),M&&M.d(),V&&V.d(),W&&W.d(),e0(m),j&&j.d(),O&&O.d(),U&&U.d(),x&&x.d(),t[103](null),N=!1,J0(k)}}}let z1=15;function Ra(t,e,i){let n,l,o,r,s,a,c,f,m,p,d,b,C,S,L,N,k,B,A;var y=this&&this.__awaiter||function(w,T0,q0,ne){function G0(le){return le instanceof q0?le:new q0(function(V1){V1(le)})}return new(q0||(q0=Promise))(function(le,V1){function Yn(xe){try{W1(ne.next(xe))}catch(G1){V1(G1)}}function Kn(xe){try{W1(ne.throw(xe))}catch(G1){V1(G1)}}function W1(xe){xe.done?le(xe.value):G0(xe.value).then(Yn,Kn)}W1((ne=ne.apply(w,T0||[])).next())})};let{sources:M}=e,{store:V}=e,{title:W}=e,{thumbUrl:I}=e,{preload:G}=e,{autoplay:j}=e,{volume:O=void 0}=e,{muted:U=void 0}=e,{fromTime:x}=e,{canRewindLive:d0}=e,{supportLink:X}=e,{showAds:Z}=e,{adsSlotId:n0=void 0}=e,{adsParams:E0=void 0}=e,{adsPreviewParam:b0=void 0}=e,{duration:P0=void 0}=e,{logoClickable:W0}=e,{logoHidden:f0}=e,{isMobile:l0}=e,{showNextPrevButtons:J=!1}=e,{nextButtonActive:h0=!1}=e,{prevButtonActive:L0=!1}=e,{endScreenVideoTitle:Y=void 0}=e,{endScreenVideoThumb:w0=void 0}=e,{isOneVideoPlaylist:u0=!1}=e,{outerContainerRef:F=void 0}=e,{playNextVideo:q=R}=e,{playPrevVideo:t0=R}=e,{repeatPlaylist:Q0=R}=e,{fullScreenTarget:oe=void 0}=e,{failoverHosts:K0=void 0}=e;const Le=w=>{I0.set(!0),w?l0&&(Me.set(!0),qe.set(!0),window.setTimeout(()=>{qe.set(!1),Ee(yi)},mr)):Ee(yi)};V.setUiCallbacks({onStarted:Le}),V.getAdmanWrapper().init({switchFromAdsToVideo:V.actions.internal.switchFromAdsToVideo,switchFromVideoToAds:V.actions.internal.switchFromVideoToAds,setMuted:V.actions.external.setMuted},V.ads,{isMobile:V.ui.isMobile,mobileUnmuteButtonVisible:V.ui.mobileUnmuteButtonVisible});const fe=V.getLogger().createComponentLog("Root component"),ve=V.state.playbackState$;Q(t,ve,w=>i(107,m=w));const ze=V.ads.playbackState;Q(t,ze,w=>i(96,S=w));const Be=V.state.positionWithScrubbing$;Q(t,Be,w=>i(93,c=w));const Re=V.state.duration$;Q(t,Re,w=>i(92,a=w));const re=V.playerPhase;Q(t,re,w=>i(25,L=w));const be=V.ui.isFullscreen;Q(t,be,w=>i(91,r=w));const I0=V.ui.controlsVisible;Q(t,I0,w=>i(90,o=w));const me=V.ui.settingsMenuVisible;Q(t,me,w=>i(106,f=w));const Oe=V.ui.scrubbingInProgress;Q(t,Oe,w=>i(94,p=w));const Ce=V.ui.playerSize,se=V.ui.contextMenuVisible;Q(t,se,w=>i(37,n=w));const Se=V.ui.debugPanelVisible;Q(t,Se,w=>i(40,A=w));const Ze=V.state.isLoaderVisible;Q(t,Ze,w=>i(97,N=w));const Fe=V.state.isEnded$;Q(t,Fe,w=>i(89,l=w));const je=V.state.chromecastConnected$;Q(t,je,w=>i(24,C=w));const De=V.state.chromecastDeviceName$;Q(t,De,w=>i(39,B=w));const Ue=V.ads.postrollPassed;Q(t,Ue,w=>i(95,b=w));const qe=V.ui.mobileUnmuteButtonExpanded,Me=V.ui.mobileUnmuteButtonVisible,Qe=V.state.isActiveLive$;Q(t,Qe,w=>i(38,k=w));const We=V.state.crashed$;Q(t,We,w=>i(23,d=w));const M0=V.webApi.pictureInPictureApi,Ge=V.state.videoSize$;Q(t,Ge,w=>i(105,s=w));let Ye=0;V.state.duration$.subscribe(w=>{i(26,Ye=w)}),gl(V);let ee,pe,_e,D,he=null,ae=!1,ge=0,o1=0,te,we,Ke,Xe,He,X0=!1,Ae;function D1(){clearTimeout(D),I0.set(!0)}function U1(){Ee(fr)}function y1(){clearTimeout(D),I0.set(!0),r&&_e&&!Va(_e)&&Ee(vr)}function Ee(w){i(87,D=window.setTimeout(()=>{if(m===V0.PlaybackState.PLAYING){if(l0&&f)return;I0.set(!1),me.set(!1)}},w))}const k1=w=>{if(window.ResizeObserver){let T0,q0;he=new ResizeObserver(R6(ne=>{const G0=ne[0];if(G0){if(G0.contentBoxSize){const le=Array.isArray(G0.contentBoxSize)?G0.contentBoxSize[0]:G0.contentBoxSize;T0=le.inlineSize,q0=le.blockSize}else G0.contentRect&&(T0=G0.contentRect.width,q0=G0.contentRect.height);Ce.set({width:T0,height:q0})}},Sn)),he.observe(w)}Ce.set({width:w.clientWidth,height:w.clientHeight})},q1=w=>{const T0=w;Ce.set({width:T0.target.width,height:T0.target.height})},z0=(w=!1)=>{i(30,ae=!0),w?V.actions.external.firstStart(Z):V.actions.internal.firstStart(Z)};i1(()=>{Ha(j0),k1(ee),V.initVideo({container:pe,sources:M,failoverHosts:K0}),I1(M0)&&(M0==null||M0.assignPlayerContainer(ee),M0==null||M0.updateVideoElement(),M0==null||M0.registryEventHandlers(),M0==null||M0.registryExternalEventHandlers({resize:q1})),x>0&&V.actions.external.seekTime(x);const w=l0?F1:O!=null?O:On(),T0=U!=null?U:Pa();V.actions.external.setVolume(w),V.actions.external.setMuted(T0),V.getAdmanWrapper().setInitialVolume(T0?0:w),V.ui.isAutoplay.set(j),j?z0():G&&V.actions.internal.preload();const q0=Boolean(t1.get(yt));return Se.set(q0),()=>{Aa(j0),he==null||he.disconnect(),V.destroy()}}),F6(()=>y(void 0,void 0,void 0,function*(){I1(M0)&&(yield M0==null?void 0:M0.hidePictureInPicture(),M0==null||M0.unregistryEventHandlers())}));function P(){ae?V.actions.external.play():z0(!0)}function K(){V.actions.external.pause()}function s0(w){l0||V.actions.external.setMuted(w)}function y0(w){l0||w>=0&&w<=1&&V.actions.external.setVolume(w)}function U0(w){V.actions.internal.seekTime(w)}const N0=w=>{let T0=c+(w==="forward"?z1:-z1);T0<0?T0=0:T0>a&&(T0=a-1),U0(T0)},ie=()=>{if(y6())Sa(document),fe({message:"exit fullscreen"});else{fe({message:"request fullscreen"});const w=F!=null?F:ee,T0=w.getRootNode(),q0=T0 instanceof ShadowRoot?T0.host:T0,ne=oe instanceof HTMLElement&&oe.contains(q0);La(oe&&ne?oe:w)}},j0=()=>y(void 0,void 0,void 0,function*(){var w,T0,q0,ne;const G0=y6();if(G0){try{yield M0==null?void 0:M0.remove()}catch(le){fe({message:String(le)})}if(l0)try{yield Ea(s)}catch(le){fe({message:String(le)})}}be.set(G0),V.getAdmanWrapper().setFullscreen(G0),r?(T0=(w=V.callbacks)===null||w===void 0?void 0:w.onFullscreenEnter)===null||T0===void 0||T0.call(w):(ne=(q0=V.callbacks)===null||q0===void 0?void 0:q0.onFullscreenExit)===null||ne===void 0||ne.call(q0)}),ce=()=>se.set(!1),Q1=w=>{se.set(!0),i(31,ge=w.clientX),i(32,o1=w.clientY)},Nt=()=>{o?I0.set(!1):(I0.set(!0),clearTimeout(D),Ee(wi))},Zn=w=>{if(l0){Nt();return}if(n){ce();return}ce(),!l&&(V.actions.internal.togglePlay(),me.set(!1),w.detail===2&&(fe({message:"double click on video"}),ie()))},Fn=()=>{if(n){ce();return}},jn=w=>{te.keyDownHandler(w)},Dn=()=>N0("backward"),Un=()=>N0("forward");function qn(w){x0[w?"unshift":"push"](()=>{pe=w,i(28,pe)})}function Qn(w){x0[w?"unshift":"push"](()=>{te=w,i(33,te)})}function Wn(w){_e=w,i(29,_e)}function Gn(w){x0[w?"unshift":"push"](()=>{ee=w,i(27,ee)})}return t.$$set=w=>{"sources"in w&&i(72,M=w.sources),"store"in w&&i(73,V=w.store),"title"in w&&i(0,W=w.title),"thumbUrl"in w&&i(1,I=w.thumbUrl),"preload"in w&&i(74,G=w.preload),"autoplay"in w&&i(75,j=w.autoplay),"volume"in w&&i(76,O=w.volume),"muted"in w&&i(77,U=w.muted),"fromTime"in w&&i(78,x=w.fromTime),"canRewindLive"in w&&i(2,d0=w.canRewindLive),"supportLink"in w&&i(3,X=w.supportLink),"showAds"in w&&i(4,Z=w.showAds),"adsSlotId"in w&&i(5,n0=w.adsSlotId),"adsParams"in w&&i(6,E0=w.adsParams),"adsPreviewParam"in w&&i(7,b0=w.adsPreviewParam),"duration"in w&&i(8,P0=w.duration),"logoClickable"in w&&i(9,W0=w.logoClickable),"logoHidden"in w&&i(10,f0=w.logoHidden),"isMobile"in w&&i(11,l0=w.isMobile),"showNextPrevButtons"in w&&i(12,J=w.showNextPrevButtons),"nextButtonActive"in w&&i(13,h0=w.nextButtonActive),"prevButtonActive"in w&&i(14,L0=w.prevButtonActive),"endScreenVideoTitle"in w&&i(15,Y=w.endScreenVideoTitle),"endScreenVideoThumb"in w&&i(16,w0=w.endScreenVideoThumb),"isOneVideoPlaylist"in w&&i(17,u0=w.isOneVideoPlaylist),"outerContainerRef"in w&&i(79,F=w.outerContainerRef),"playNextVideo"in w&&i(18,q=w.playNextVideo),"playPrevVideo"in w&&i(19,t0=w.playPrevVideo),"repeatPlaylist"in w&&i(20,Q0=w.repeatPlaylist),"fullScreenTarget"in w&&i(80,oe=w.fullScreenTarget),"failoverHosts"in w&&i(81,K0=w.failoverHosts)},t.$$.update=()=>{t.$$.dirty[0]&41943040|t.$$.dirty[3]&24&&i(34,we=(L===k0.Video&&N||L===k0.Ads&&S===Z0.INACTIVE)&&!d),t.$$.dirty[0]&25165824|t.$$.dirty[2]&402653184&&i(21,Ke=(o||C||l)&&!d),t.$$.dirty[0]&8388624|t.$$.dirty[2]&134217728|t.$$.dirty[3]&4&&i(22,Xe=(Z&&b||!Z)&&l&&!d),t.$$.dirty[0]&6291456|t.$$.dirty[2]&536870912&&i(35,He=r&&!(Ke||Xe)),t.$$.dirty[0]&2048|t.$$.dirty[2]&2048&&V.ui.isMobile.set(l0),t.$$.dirty[0]&2048|t.$$.dirty[2]&100663296|t.$$.dirty[3]&2&&(X0!==p&&l0&&(clearTimeout(D),p?I0.set(!0):Ee(wi)),i(88,X0=p)),t.$$.dirty[2]&1073741824|t.$$.dirty[3]&1&&i(36,Ae=isFinite(c)&&isFinite(a))},[W,I,d0,X,Z,n0,E0,b0,P0,W0,f0,l0,J,h0,L0,Y,w0,u0,q,t0,Q0,Ke,Xe,d,C,L,Ye,ee,pe,_e,ae,ge,o1,te,we,He,Ae,n,k,B,A,ve,ze,Be,Re,re,be,I0,me,Oe,se,Se,Ze,Fe,je,De,Ue,Qe,We,Ge,D1,U1,y1,z0,N0,ie,ce,Q1,Nt,Zn,Fn,jn,M,V,G,j,O,U,x,F,oe,K0,P,K,s0,y0,U0,D,X0,l,o,r,a,c,p,b,S,N,Dn,Un,qn,Qn,Wn,Gn]}class Oa extends p0{constructor(e){super(),m0(this,e,Ra,Ba,v0,{sources:72,store:73,title:0,thumbUrl:1,preload:74,autoplay:75,volume:76,muted:77,fromTime:78,canRewindLive:2,supportLink:3,showAds:4,adsSlotId:5,adsParams:6,adsPreviewParam:7,duration:8,logoClickable:9,logoHidden:10,isMobile:11,showNextPrevButtons:12,nextButtonActive:13,prevButtonActive:14,endScreenVideoTitle:15,endScreenVideoThumb:16,isOneVideoPlaylist:17,outerContainerRef:79,playNextVideo:18,playPrevVideo:19,repeatPlaylist:20,fullScreenTarget:80,failoverHosts:81,play:82,pause:83,setMuted:84,setVolume:85,seekTime:86},Na,[-1,-1,-1,-1])}get play(){return this.$$.ctx[82]}get pause(){return this.$$.ctx[83]}get setMuted(){return this.$$.ctx[84]}get setVolume(){return this.$$.ctx[85]}get seekTime(){return this.$$.ctx[86]}}var Za="data:image/svg+xml,%3csvg width='57' height='60' fill='none' xmlns='http://www.w3.org/2000/svg'%3e%3cpath 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' fill='%23909499'/%3e%3c/svg%3e";function Fa(t){_0(t,"v-1oqts7t",".playerStub.v-1oqts7t{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}.stubImage.v-1oqts7t{height:60px}.stubImage-white.v-1oqts7t{filter:brightness(0) invert(1)}.title.v-1oqts7t{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 I6(t){let e,i;return{c(){e=g("div"),i=g0(t[0]),u(e,"class","title v-1oqts7t")},m(n,l){T(n,e,l),v(e,i)},p(n,l){l&1&&A0(i,n[0])},d(n){n&&E(e)}}}function z6(t){let e,i;return{c(){e=g("img"),C0(e.src,i=Za)||u(e,"src",i),u(e,"class","stubImage v-1oqts7t"),u(e,"alt",""),H(e,"stubImage-white",t[1]||"")},m(n,l){T(n,e,l)},p(n,l){l&2&&H(e,"stubImage-white",n[1]||"")},d(n){n&&E(e)}}}function ja(t){let e,i,n,l=t[0]&&I6(t),o=(!t[0]||!t[1])&&z6(t);return{c(){e=g("div"),l&&l.c(),i=z(),o&&o.c(),u(e,"class","playerStub v-1oqts7t"),u(e,"style",n=t[1]?`background-image: url('${t[1]}')`:"")},m(r,s){T(r,e,s),l&&l.m(e,null),v(e,i),o&&o.m(e,null)},p(r,[s]){r[0]?l?l.p(r,s):(l=I6(r),l.c(),l.m(e,i)):l&&(l.d(1),l=null),!r[0]||!r[1]?o?o.p(r,s):(o=z6(r),o.c(),o.m(e,null)):o&&(o.d(1),o=null),s&2&&n!==(n=r[1]?`background-image: url('${r[1]}')`:"")&&u(e,"style",n)},i:R,o:R,d(r){r&&E(e),l&&l.d(),o&&o.d()}}}function Da(t,e,i){let{title:n}=e,{thumbUrl:l}=e;return t.$$set=o=>{"title"in o&&i(0,n=o.title),"thumbUrl"in o&&i(1,l=o.thumbUrl)},[n,l]}class Ua extends p0{constructor(e){super(),m0(this,e,Da,ja,v0,{title:0,thumbUrl:1},Fa)}}const qa=(t,e)=>t<400||e<225?5:t<640||e<360?0:t<960||e<540?1:t<1280||e<720?2:3,Qa="//ad.mail.ru/static/admanhtml/rbadman-html5.min.js",Wa=2e3,Ga=2e3;class Ya{constructor(e){this.adman=null,this.initialVolume=F1,this.videoElement=null,this.currentAdSection=null,this.actions=null,this.adsState=null,this.uiState=null,this.events={slotRequested$:new o0.Subject,started$:new o0.Subject,paused$:new o0.Subject,resumed$:new o0.Subject,ended$:new o0.Subject,skipped$:new o0.Subject,clicked$:new o0.Subject},this.loadAdman=i=>new Promise((n,l)=>{let o;const r=()=>{clearTimeout(o),delete window.admanAsyncInit,window.AdmanHTML?n():l()};o0.addScript(Qa,i,Wa).then(()=>{window.AdmanHTML?n():(window.admanAsyncInit=r,o=window.setTimeout(r,Ga))}).catch(()=>{l()})}),this.onAdsReady=()=>{this.log({message:"ads ready"}),this.startPreroll()},this.onAdStarted=(i,n)=>{o0.assertNonNullable(this.adsState),o0.assertNonNullable(this.uiState),o0.assertNonNullable(this.actions),this.log({message:`ad started, section: ${i}, banner: ${JSON.stringify(n)}`}),this.events.started$.next(i),n.muted&&(this.setVolume(0),this.actions.setMuted(!0),this.log({message:"ad muted start"}),B0(this.uiState.isMobile)&&this.uiState.mobileUnmuteButtonVisible.set(!0)),this.adsState.duration.set(n.duration),this.adsState.playbackState.set(Z0.PLAYING),this.adsState.canSkip.set(n.allowClose),this.adsState.secondsToWatchBeforeSkip.set(n.allowCloseDelay)},this.onAdTimeRemained=({currentTime:i})=>{o0.assertNonNullable(this.adsState),this.adsState.position.set(i)},this.onAdPaused=()=>{o0.assertNonNullable(this.adsState),this.log({message:"ad paused"}),this.adsState.playbackState.set(Z0.PAUSED)},this.onAdPlayed=()=>{o0.assertNonNullable(this.adsState),this.log({message:"ad played"}),this.adsState.playbackState.set(Z0.PLAYING)},this.onAdMidrollPoint=()=>{o0.assertNonNullable(this.adman),o0.assertNonNullable(this.actions),this.log({message:"midroll point"}),this.actions.switchFromVideoToAds(),this.currentAdSection=ke.Midroll,this.adman.start(ke.Midroll)},this.onAdSkipped=()=>{this.log({message:"ad skipped"}),this.switchToVideo()},this.onAdClosed=()=>{this.log({message:"ad closed"}),this.switchToVideo()},this.onAdCompleted=()=>{this.log({message:"ad completed"}),this.events.ended$.next(),this.switchToVideo()},this.onAdClicked=()=>{var i;this.log({message:"ad clicked"}),(i=this.videoElement)===null||i===void 0||i.pause(),this.events.clicked$.next()},this.onAdError=()=>{this.log({message:"ad error"}),this.switchToVideo(!0)},this.log=e.createComponentLog("AdmanWrapper")}init(e,i,n){this.actions=e,this.adsState=i,this.uiState=n}onAdmanLoadingError(){this.log({message:"adman loading error"}),this.switchToVideo(!0)}initAdman(e){const{width:i,height:n,isFullscreen:l,isAutoplay:o,adsContainer:r,adsVideoElement:s,slotId:a,params:c={},duration:f,previewParam:m}=e,p={dl:encodeURIComponent(window.location.href),autoplay:o,player_width:i,player_height:n,puid10:qa(i,n),puid11:l?0:1,preview:m,duration:f,...c},d={slot:a,wrapper:r,videoEl:s,videoQuality:n,params:p,browser:{mobile:!1}},b=new window.AdmanHTML;b.setDebug(!1),b.onReady(this.onAdsReady),b.onStarted(this.onAdStarted),b.onPlayed(this.onAdPlayed),b.onPaused(this.onAdPaused),b.adMidrollPoint(this.onAdMidrollPoint),b.onClosed(this.onAdClosed),b.onSkipped(this.onAdSkipped),b.onClicked(this.onAdClicked),b.onTimeRemained(this.onAdTimeRemained),b.onCompleted(this.onAdCompleted),b.onError(this.onAdError),b.init(d),this.adman=b,this.videoElement=s,this.events.slotRequested$.next(),this.log({message:`adman init, config: ${JSON.stringify(d)}`})}switchToVideo(e=!1){if(this.currentAdSection===null&&!e){this.log({message:"switch to video, no currentAdSection. can't switch"});return}o0.assertNonNullable(this.actions),o0.assertNonNullable(this.adsState),o0.assertNonNullable(this.uiState);const i=this.currentAdSection===ke.Postroll;this.adsState.playbackState.set(Z0.INACTIVE),this.currentAdSection=null,this.uiState.mobileUnmuteButtonVisible.set(!1),this.log({message:`switch to video, isPostroll: ${i}`}),i&&(this.adsState.postrollPassed.set(!0),this.log({message:"postroll passed"})),this.actions.switchFromAdsToVideo(!i)}togglePlay(){o0.assertNonNullable(this.adsState),this.log({message:"toggle play"});const e=B0(this.adsState.playbackState);e===Z0.PLAYING?this.pause():e===Z0.PAUSED&&this.play()}setInitialVolume(e){this.log({message:`set initial volume ${e}`}),this.initialVolume=e}setVolume(e){var i;this.log({message:`set volume ${e}`}),(i=this.adman)===null||i===void 0||i.setVolume(e),this.videoElement&&(this.videoElement.volume=e)}setFullscreen(e){var i;this.log({message:`set fullscreen ${e}`}),(i=this.adman)===null||i===void 0||i.setFullscreen(e)}startPreroll(){o0.assertNonNullable(this.adman),this.log({message:"start preroll"}),this.setVolume(this.initialVolume),this.currentAdSection=ke.Preroll,this.adman.start(ke.Preroll)}startPostroll(){o0.assertNonNullable(this.adman),o0.assertNonNullable(this.actions),this.log({message:"start postroll"}),this.actions.switchFromVideoToAds(),this.currentAdSection=ke.Postroll,this.adman.start(ke.Postroll)}play(){o0.assertNonNullable(this.adman),this.log({message:"ad play"}),this.adman.resume(),this.events.resumed$.next()}pause(){o0.assertNonNullable(this.adman),this.log({message:"ad pause"}),this.adman.pause(),this.events.paused$.next()}skip(){o0.assertNonNullable(this.adman),this.log({message:"ad skip"}),this.adman.skip(),this.events.skipped$.next()}setPosition(e,i){var n;(n=this.adman)===null||n===void 0||n.setPosition(Math.floor(e),Math.floor(i))}destroy(){var e;this.log({message:"destroy"}),(e=this.adman)===null||e===void 0||e.destroy()}}const Ka=()=>/ipad|iphone|ipod/.test(window.navigator.userAgent.toLowerCase()),Xa=t=>{const e=Math.round(t);return isNaN(e)||e<40?"":e>=40&&e<55?50:e>=55&&e<90?60:e>=90&&e<180?120:e>=180?240:""},xa=(t,e,i)=>{const n=new o0.Subscription;return n.add(i.attachTo(t)),n.add(e.slotRequested$.subscribe(()=>{i.logAdSlotRequest()})).add(e.started$.subscribe(l=>{i.logAdStarted(l)})).add(e.paused$.subscribe(()=>{i.logAdPaused()})).add(e.resumed$.subscribe(()=>{i.logAdResumed()})).add(e.ended$.subscribe(()=>{i.logAdEnded()})).add(e.skipped$.subscribe(()=>{i.logAdSkipped()})).add(e.clicked$.subscribe(()=>{i.logAdClicked()})),n},Ja=({interfaceLanguage:t,videoId:e,albumId:i,autoplay:n,isLiveCatchUpMode:l,statPlace:o,statAuthToken:r,isAudioDisabled:s,refreshStatAuthToken:a,callbacks:c,webApi:f})=>{var m;const p={isAudioDisabled:s,live:{isLiveCatchUpMode:!!l}},d=new V0.Player(p),b=new o0.Logger,C=new Ya(b),S=f==null?void 0:f.pictureInPictureApi,L=b.createComponentLog("Store");let N,k,B={};const A=$e([],P=>{let K=[];const s0=o0.merge(d.events.managedError$,d.events.fatalError$).subscribe(y0=>{K=[...K,y0],P(K)});return()=>s0.unsubscribe()}),y=$e(!1,P=>{const K=d.events.fatalError$.subscribe(()=>P(!0));return()=>K.unsubscribe()}),M=$e(t),V=(...P)=>{const K=B0(M);return _n(K,...P)},W=O0(k0.Thumb),I=ye([y,W],([P,K])=>P?k0.Crashed:K);L({message:"create store"});const G=P=>{L({message:`init video, config: ${JSON.stringify(P)}`}),d.initVideo(P),N=P},j=new It.OneStat({movieId:e,albumId:i,place:o,autoplay:n},{apiEnv:It.ApiEnv.VK_ALIAS,refreshAuthToken:a}),O=xa(d,C.events,j);j.authorize(r).catch(P=>{L({message:`onestat auth error ${String(P)}`})});const U=()=>{Ka()&&k&&Ma(k)},x=new o0.Subscription().add(d.experimental.element$.subscribe(P=>{P&&(k=P,P.classList.add("player-media"),I1(S)&&S.updateVideoElement())})).add(d.events.ended$.subscribe(()=>{var P;U(),(P=c==null?void 0:c.onEnded)===null||P===void 0||P.call(c)})).add(d.events.started$.subscribe(async()=>{var P,K;I1(S)&&await(S==null?void 0:S.revealPictureInPicture());const s0=d.info.muted$.getValue();(P=c==null?void 0:c.onStarted)===null||P===void 0||P.call(c),(K=B.onStarted)===null||K===void 0||K.call(B,s0)})).add(d.events.willSeek$.subscribe(({from:P,to:K})=>{var s0;(s0=c==null?void 0:c.onSeek)===null||s0===void 0||s0.call(c,P,K)})).add(d.info.position$.subscribe(P=>{var K;const s0=d.info.duration$.getValue();(K=c==null?void 0:c.onTimeupdate)===null||K===void 0||K.call(c,s0,P),C.setPosition(P,s0)})).add(d.events.fatalError$.subscribe(()=>{var P;(P=c==null?void 0:c.onCrashed)===null||P===void 0||P.call(c)})),d0=new o0.Subscription,X=()=>{d0.add(d.events.log$.subscribe(P=>{console.debug("%c sdk ","background:#9ddcf7;",`sdk component: ${P.component}`,P.message)})).add(b.log$.subscribe(P=>{console.debug("%c ui ","background:#f3da0b;",`ui component: ${P.component}.`,P.message)}))},Z=()=>{d0.unsubscribe()},n0=$e(d.info.position$.getValue(),P=>{let K,s0;const y0=()=>{const U0=d.info.playbackState$.getValue(),N0=d.info.isLive$.getValue(),ie=d.info.duration$.getValue(),j0=d.info.position$.getValue();if([V0.PlaybackState.PLAYING,V0.PlaybackState.PAUSED].includes(U0)){const ce=N0?j0-ie:d.getExactTime();ce!==s0&&P(ce),s0=ce}K=requestAnimationFrame(y0)};return y0(),()=>cancelAnimationFrame(K)}),E0=R0((m=S==null?void 0:S.info.isActive$)!==null&&m!==void 0?m:new o0.ValueSubject(!1)),b0=R0(d.info.playbackState$),P0=R0(d.info.currentBuffer$),W0=R0(d.info.isEnded$),f0=R0(d.info.isLive$),l0=R0(d.info.volume$),J=R0(d.info.muted$),h0=R0(d.info.availableQualities$),L0=R0(d.info.availableQualitiesFps$),Y=R0(d.info.chromecastState$),w0=R0(d.info.chromecastDeviceName$),u0=R0(d.info.currentFormat$),F=R0(d.info.throughputEstimation$),q=R0(d.info.videoBitrate$),t0=R0(d.info.intrinsicVideoSize$),Q0=R0(d.info.duration$),oe=R0(d.info.isAudioAvailable$);let K0=null;const Le=d.info.isBuffering$,fe=$e(Le.getValue(),P=>{const K=Le.subscribe(s0=>{s0&&K0===null?K0=window.setTimeout(()=>{P(Le.getValue()),K0=null},br):P(s0)});return()=>{K.unsubscribe(),K0&&clearTimeout(K0)}}),ve=ye([Q0,f0],([P,K])=>K?-P:P),ze=R0(d.info.position$),Be=ye([f0,ze],([P,K])=>Boolean(P&&K>-o0.ACTIVE_LIVE_VALID_DELAY)),Re=ye([Y],([P])=>P===V0.ChromecastState.CONNECTED),re=O0(void 0),be=R0(d.info.isAutoQualityEnabled$,P=>P&&re.set(void 0)),I0=R0(d.info.currentQuality$,()=>re.set(void 0)),me=ye([re,I0],([P,K])=>P!=null?P:K),Oe=ye([h0,L0,be,me,u0],([P,K,s0,y0,U0])=>{const N0=[];U0!==V0.VideoFormat.MPEG&&N0.push({value:p1.AUTO,displayValue:V("auto_quality_option"),selected:s0});const ie=P.filter(j0=>j0!==V0.VideoQuality.INVARIANT);for(const j0 of ie){const ce=K[j0],Q1=j0===V0.VideoQuality.INVARIANT?V("auto_quality_option"):j0;N0.push({value:j0,displayValue:`${Q1}${ce?Xa(ce):""}`,selected:s0?!1:j0===y0})}return N0}),Ce=R0(d.info.currentPlaybackRate$),se=ye([Ce],([P])=>{const U0=[];for(let N0=.25;N0<=2;N0+=.25)U0.push({value:N0,displayValue:N0===1?V("playback_rate_1"):V("playback_rate",{multiplier:N0.toString(10)}),selected:P===N0});return U0}),Se=ye([P0,ve],([P,K],s0)=>{var y0;return s0(((y0=P==null?void 0:P.end)!==null&&y0!==void 0?y0:0)/K)}),Ze=()=>{L({message:"toggle muted"});const P=d.info.muted$.getValue(),y0=!(d.info.volume$.getValue()===0||P);je(y0)},Fe=(P,K=P,s0=!1)=>{var y0,U0;const N0=!s0,ie=d.info.muted$.getValue();L({message:`set volume, volume: ${P}, preferredVolume: ${K}, internalCall: ${N0}`}),d.setVolume(P),C.setVolume(P),N0&&((y0=c==null?void 0:c.onVolumeChange)===null||y0===void 0||y0.call(c,P)),_6(K),ie&&(d.setMuted(!1),N0&&((U0=c==null?void 0:c.onUnmute)===null||U0===void 0||U0.call(c)),w6(!1))},je=(P,K=!1)=>{var s0,y0,U0;const N0=!K,ie=d.info.volume$.getValue();if(L({message:`set muted, currentVolume: ${ie}, mute: ${P}, internalCall: ${N0}`}),d.setMuted(P),C.setVolume(P?0:ie),w6(P),N0&&(P?(s0=c==null?void 0:c.onMute)===null||s0===void 0||s0.call(c):(y0=c==null?void 0:c.onUnmute)===null||y0===void 0||y0.call(c)),ie===0){let j0=On();j0===0&&(j0=hr,_6(j0)),d.setVolume(j0),C.setVolume(j0),N0&&((U0=c==null?void 0:c.onVolumeChange)===null||U0===void 0||U0.call(c,j0))}},De=()=>{d.prepare()},Ue=()=>{var P,K;if(o0.assertNonNullable(z0),L({message:"toggle play"}),B0(z0.playerPhase)===k0.Ads){C.togglePlay();return}d.info.playbackState$.getValue()!==V0.PlaybackState.PLAYING?(d.info.isEnded$.getValue()&&(L({message:"toggle play, video ended, seek to 0"}),d.seekTime(0)),L({message:"toggle play, call player.play"}),d.play(),(P=c==null?void 0:c.onPlay)===null||P===void 0||P.call(c)):(L({message:"toggle play, call player.pause"}),d.pause(),(K=c==null?void 0:c.onPause)===null||K===void 0||K.call(c))},qe=P=>{L({message:`set quality, quality: ${P}`}),d.setAutoQuality(P===p1.AUTO),P!==p1.AUTO&&(re.set(P),d.setQuality(P))},Me=P=>{d.setPlaybackRate(P)},Qe=()=>{const P=B0(se),K=P.findIndex(({selected:y0})=>y0);if(K===P.length-1)return;const s0=P[K+1];Me(s0.value)},We=()=>{const P=B0(se),K=P.findIndex(({selected:y0})=>y0);if(K===0)return;const s0=P[K-1];Me(s0.value)},M0=(P,K=!0)=>{if(L({message:`seek to time, time: ${P}`}),d.info.isLive$.getValue()){const s0=d.info.duration$.getValue(),y0=Math.min(0,s0+P);d.seekTime(y0,K)}else d.seekTime(P,K)},Ge=P=>{L({message:`seek to percent, percent: ${P}`});const K=Math.round(B0(ve)*P);M0(K,!1)},Ye=P=>{L({message:`seek external, time: ${P}`}),d.seekTime(d.info.isLive$.getValue()?-P:P)},ee=O0(void 0),pe=O0(!1),_e=P=>{L({message:`start scrubbing, progress: ${P}`}),pe.set(!0),D(P)},D=P=>{ee.set(P)};let he;const ae=()=>{ee.set(void 0),pe.set(!1)},ge=()=>{clearTimeout(he),he=window.setTimeout(()=>{ae()},500),k==null||k.removeEventListener("canplay",ge)},o1=P=>{L({message:`complete scrubbing, progress: ${P}`}),Ge(P),B0(z0.ui.isMobile)&&B0(z0.state.currentFormat$)===V0.VideoFormat.HLS?k==null||k.addEventListener("canplay",ge):ae()},te=ye([n0,ve,ee],([P,K,s0],y0)=>{y0(o0.isNonNullable(s0)?s0*K:P)}),we=()=>{L({message:"switch to active live"}),d.seekTime(0)},Ke=()=>C.skip(),Xe=(P=!0)=>{o0.assertNonNullable(z0),L({message:`switch from ads to video, callPlay: ${P}`}),W.set(k0.Video),P&&d.play()},He=()=>{o0.assertNonNullable(z0),L({message:"switch from video to ads"}),z0.actions.internal.pause(),U(),W.set(k0.Ads)},X0=()=>(o0.assertNonNullable(z0),bl(d,N,z0)),Ae=()=>(o0.assertNonNullable(z0),Cl(d,N,z0)),D1=()=>k,U1=()=>{L({message:"toggle chromecast"}),d.toggleChromecast()},y1=P=>{var K;o0.assertNonNullable(z0);const s0=!P;if(B0(z0.playerPhase)===k0.Ads){L({message:`pause ads, internalCall: ${s0}`}),C.pause();return}L({message:`pause video, internalCall: ${s0}`}),s0&&((K=c==null?void 0:c.onPause)===null||K===void 0||K.call(c)),d.pause()},Ee=P=>{var K;o0.assertNonNullable(z0);const s0=!P;if(B0(z0.playerPhase)===k0.Ads){L({message:`play ads, internalCall: ${s0}`}),C.play();return}L({message:`play video, internalCall: ${s0}`}),s0&&((K=c==null?void 0:c.onPlay)===null||K===void 0||K.call(c)),d.play()},k1=(P,K)=>{o0.assertNonNullable(z0),L({message:`first start, show ads: ${P}, internalCall: ${!K}`}),P?W.set(k0.Ads):(W.set(k0.Video),K?d.play():z0.actions.internal.togglePlay())},q1=()=>{j.destroy(),O.unsubscribe(),x.unsubscribe(),d0.unsubscribe(),d.destroy(),C.destroy()},z0={interfaceLanguage$:M,initVideo:G,videoId:e,playerPhase:I,state:{positionExact$:n0,positionWithScrubbing$:te,duration$:ve,playbackState$:b0,isLoaderVisible:fe,bufferedProgress$:Se,isLive$:f0,isActiveLive$:Be,isEnded$:W0,muted$:J,volume$:l0,currentQuality$:me,isAutoQualityEnabled$:be,availableQualities$:Oe,currentPlaybackRate$:Ce,availablePlaybackRates$:se,chromecastState$:Y,chromecastDeviceName$:w0,chromecastConnected$:Re,currentFormat$:u0,throughputEstimation$:F,videoBitrate$:q,videoSize$:t0,errorLog$:A,crashed$:y,isAudioAvailable$:oe,isAudioDisabled:!!s},ui:{controlsVisible:O0(!1),isFullscreen:O0(!1),isAutoplay:O0(!1),contextMenuVisible:O0(!1),debugPanelVisible:O0(!1),playerSize:O0({width:0,height:0}),isMobile:O0(!1),mobileUnmuteButtonExpanded:O0(!1),mobileUnmuteButtonVisible:O0(!1),settingsMenuVisible:O0(!1),scrubbingInProgress:pe,isPictureInPictureActive$:E0},ads:{position:O0(0),duration:O0(0),playbackState:O0(Z0.INACTIVE),canSkip:O0(!1),secondsToWatchBeforeSkip:O0(0),postrollPassed:O0(!1)},webApi:{pictureInPictureApi:S},actions:{internal:{preload:De,firstStart:P=>k1(P,!1),pause:()=>y1(!1),togglePlay:Ue,toggleMuted:Ze,setVolume:Fe,setQuality:qe,setPlaybackRate:Me,incrementPlaybackRate:Qe,decrementPlaybackRate:We,startScrubbing:_e,progressScrubbing:D,completeScrubbing:o1,toggleChromecast:U1,switchToActiveLive:we,switchFromAdsToVideo:Xe,switchFromVideoToAds:He,skipAd:Ke,getDebugTextData:X0,getDebugPanelData:Ae,getVideoElement:D1,seekTime:P=>M0(P),startLogging:X,stopLogging:Z},external:{firstStart:P=>k1(P,!0),play:()=>Ee(!0),pause:()=>y1(!0),seekTime:P=>Ye(P),setMuted:P=>je(P,!0),setVolume:P=>Fe(P,P,!0)}},callbacks:c,setUiCallbacks:P=>{B={...P}},getAdmanWrapper:()=>C,getLogger:()=>b,destroy:q1};return z0};class $a{isSupported(){return"mediaSession"in navigator}setMetaData({title:e,artist:i="",thumbUrl:n=""}){this.isSupported()&&(navigator.mediaSession.metadata=new MediaMetadata({title:e,artist:i,artwork:[{src:n,sizes:"96x96",type:"image/png"},{src:n,sizes:"128x128",type:"image/png"},{src:n,sizes:"192x192",type:"image/png"},{src:n,sizes:"256x256",type:"image/png"},{src:n,sizes:"384x384",type:"image/png"},{src:n,sizes:"512x512",type:"image/png"}]}))}updateActionHandlers(e){this.resetActionHandlers(),this.setActionHandlers(e)}resetActionHandlers(){const e=[["play",null],["pause",null],["stop",null],["nexttrack",null],["previoustrack",null],["seekto",i=>null],["seekbackward",i=>null],["seekforward",i=>null]];this.setActionHandlers(e)}setActionHandlers(e){if(this.isSupported())for(const[i,n]of e)try{navigator.mediaSession.setActionHandler(i,n)}catch(l){throw new Error(`The media session action "${i}" is not supported yet.`)}}}class ec{static getLatestSupportedVersion(){const e=new Mn;if(e.isSupported())return e}}function B6(t,e){var i,n;const l=new Set([...Object.keys(t),...Object.keys(e)]),o={};for(const r of l)o[r]=(n=(i=e[r])!==null&&i!==void 0?i:t[r])!==null&&n!==void 0?n:void 0;return o}var ft,vt;const tc={preload:!0,autoplay:!1,repeat:!1,fromTime:0,canRewindLive:!0,supportLink:gr,showAds:!1,interfaceLanguage:exports.InterfaceLanguage.RU,logoClickable:!1,logoHidden:!1,isMobile:(vt=(ft=navigator==null?void 0:navigator.userAgentData)===null||ft===void 0?void 0:ft.mobile)!==null&&vt!==void 0?vt:/Mobile|mini|Fennec|Android|iP(ad|od|hone)/.test(navigator.appVersion),isMediaSessionEnabled:!0,isPictureInPictureEnabled:!0,isAudioDisabled:!1,callbacks:{}};class ic extends HTMLElement{constructor(){var e;super(),this.currentPlayingVideoIndex=0,this.needToRepeatPlaylist=!1,this.config=void 0,this.pictureInPictureApi=void 0,this.mediaSessionApi=void 0,this.unsubscribePlayerPhaseSubscription=void 0,this._shadowRoot=this.attachShadow({mode:"open"}),this.playerContainer=document.createElement("div"),this.playerContainer.style.width="100%",this.playerContainer.style.height="100%",this._shadowRoot.append(this.playerContainer),this.logger=new o0.Logger,this.log=this.logger.createComponentLog("VKVideoPlayer"),this.subscription=new o0.Subscription,!((e=window==null?void 0:window.videoPlayerConfig)===null||e===void 0)&&e.debugLogs&&this.subscription.add(this.logger.log$.subscribe(i=>{console.log("%c player web component ","background:#77dd77;",`${i.component}`,i.message)}))}connectedCallback(){var e,i;if(Boolean(this.store))return;const l=(e=this.getAttribute("stub-title"))!==null&&e!==void 0?e:void 0,o=(i=this.getAttribute("stub-thumb-url"))!==null&&i!==void 0?i:void 0;this.svelteStubComponent=new Ua({target:this.playerContainer,props:{title:l,thumbUrl:o}})}disconnectedCallback(){var e,i,n;(e=this.svelteRootComponent)===null||e===void 0||e.$destroy(),(i=this.svelteStubComponent)===null||i===void 0||i.$destroy(),this.subscription.unsubscribe(),(n=this.unsubscribePlayerPhaseSubscription)===null||n===void 0||n.call(this)}needToShowNextPrevButtons(){return this.config?this.config.videos.length>1:!1}isNextButtonActive(){return this.config?this.needToShowNextPrevButtons()&&(this.currentPlayingVideoIndex<this.config.videos.length-1||this.needToRepeatPlaylist):!1}isPrevButtonActive(){return this.config?this.needToShowNextPrevButtons()&&(this.currentPlayingVideoIndex>0||this.needToRepeatPlaylist):!1}getNextVideoInfo(){if(!this.config)return{nextVideoTitle:void 0,nextVideoThumb:void 0};const e=this.config.videos[this.currentPlayingVideoIndex+1]||{};return{nextVideoTitle:e.title,nextVideoThumb:e.thumbUrl}}createPlayer(e,i={}){if(!this.config)return;const{albumId:n,statPlace:l,statAuthToken:o,refreshStatAuthToken:r,preload:s,autoplay:a,volume:c,muted:f,fromTime:m,canRewindLive:p,supportLink:d,showAds:b,adsSlotId:C,adsParams:S={},adsPreviewParam:L,interfaceLanguage:N,logoClickable:k,logoHidden:B,isMobile:A,isAudioDisabled:y,isLiveCatchUpMode:M,fullScreenTarget:V,failoverHosts:W,callbacks:I}=B6(this.config,i),{sources:G,title:j,thumbUrl:O,unitedVideoId:U,duration:x,adsParams:d0={}}=e,X={...S,...d0},Z=this.getNextVideoInfo(),n0={sources:G,title:j,thumbUrl:O,unitedVideoId:U,albumId:n,statPlace:l,autoplay:a,muted:f,volume:c,fromTime:m,canRewindLive:p,supportLink:d,showAds:b,adsSlotId:C,adsParams:X,adsPreviewParam:L,duration:x,logoClickable:k,logoHidden:B,isMobile:A,showNextPrevButtons:this.needToShowNextPrevButtons(),nextButtonActive:this.isNextButtonActive(),prevButtonActive:this.isPrevButtonActive(),endScreenVideoTitle:Z.nextVideoTitle,endScreenVideoThumb:Z.nextVideoThumb,isOneVideoPlaylist:this.isOneVideoPlaylist()},E0={pictureInPictureApi:this.pictureInPictureApi};this.log({message:`create player, props: ${JSON.stringify(n0)}`}),this.store=Ja({interfaceLanguage:N,videoId:U,albumId:n,autoplay:a,isLiveCatchUpMode:M,statPlace:l,isAudioDisabled:y,statAuthToken:o,refreshStatAuthToken:r,callbacks:I,webApi:E0}),this.store.state.currentFormat$.subscribe(b0=>{var P0;(P0=I==null?void 0:I.onCurrentFormatChanged)===null||P0===void 0||P0.call(I,b0)}),this.store.state.throughputEstimation$.subscribe(b0=>{var P0;(P0=I==null?void 0:I.onThroughputEstimationChanged)===null||P0===void 0||P0.call(I,b0)}),this.store.state.videoBitrate$.subscribe(b0=>{var P0;(P0=I==null?void 0:I.onVideoBitrateChanged)===null||P0===void 0||P0.call(I,b0)}),this.initMediaSession(),this.svelteRootComponent=new Oa({target:this.playerContainer,props:{sources:G,store:this.store,title:j,thumbUrl:O,preload:s,autoplay:a,muted:f,volume:c,fromTime:m,canRewindLive:p,supportLink:d,showAds:b,adsSlotId:C,adsParams:X,adsPreviewParam:L,duration:x,logoClickable:k,logoHidden:B,isMobile:A,failoverHosts:W,fullScreenTarget:V,outerContainerRef:this.playerContainer,showNextPrevButtons:this.needToShowNextPrevButtons(),nextButtonActive:this.isNextButtonActive(),prevButtonActive:this.isPrevButtonActive(),endScreenVideoTitle:Z.nextVideoTitle,endScreenVideoThumb:Z.nextVideoThumb,isOneVideoPlaylist:this.isOneVideoPlaylist(),playNextVideo:()=>this.playNextVideo(),playPrevVideo:()=>this.playPrevVideo(),repeatPlaylist:()=>this.repeatPlaylist()}})}playNextVideo(){this.config&&(this.currentPlayingVideoIndex++,this.currentPlayingVideoIndex>=this.config.videos.length&&(this.currentPlayingVideoIndex=0),this.log({message:`play next video, index: ${this.currentPlayingVideoIndex}`}),this.createPlayerWithCurrentVideo())}playPrevVideo(){this.config&&(this.currentPlayingVideoIndex--,this.currentPlayingVideoIndex<0&&(this.currentPlayingVideoIndex=this.config.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(){var e;if(!this.config)return;const i=this.config.videos[this.currentPlayingVideoIndex];if(!i){this.log({message:"no next video"});return}(e=this.svelteRootComponent)===null||e===void 0||e.$destroy(),setTimeout(()=>this.createPlayer(i,{autoplay:!0,fromTime:0}),0)}initPlayer(e){var i,n;if(!Array.isArray(e.videos)||e.videos.length===0)throw new Error("empty videos");this.config=B6(tc,Xn(e,l=>l instanceof HTMLElement?l:void 0)),this.currentPlayingVideoIndex=0,this.pictureInPictureApi=this.config.isPictureInPictureEnabled?ec.getLatestSupportedVersion():void 0,this.mediaSessionApi=this.config.isMediaSessionEnabled?new $a:void 0,(i=this.svelteStubComponent)===null||i===void 0||i.$destroy(),(n=this.svelteRootComponent)===null||n===void 0||n.$destroy(),this.createPlayer(e.videos[0]),Zr(this.pictureInPictureApi)&&this.pictureInPictureApi.setPlayerDomElement(this.playerContainer,this._shadowRoot)}isOneVideoPlaylist(){return this.config?this.config.videos.length===1:!1}updateNextVideos(e){var i;if(!this.config)return;this.log({message:`update next videos, videos: ${JSON.stringify(e)}`}),this.config.videos.splice(this.currentPlayingVideoIndex+1),this.config.videos.push(...e);const n=this.getNextVideoInfo();(i=this.svelteRootComponent)===null||i===void 0||i.$set({showNextPrevButtons:this.needToShowNextPrevButtons(),nextButtonActive:this.isNextButtonActive(),prevButtonActive:this.isPrevButtonActive(),endScreenVideoTitle:n.nextVideoTitle,endScreenVideoThumb:n.nextVideoThumb,isOneVideoPlaylist:this.isOneVideoPlaylist()})}initMediaSession(){var e,i;this.mediaSessionApi&&((e=this.unsubscribePlayerPhaseSubscription)===null||e===void 0||e.call(this),this.unsubscribePlayerPhaseSubscription=(i=this.store)===null||i===void 0?void 0:i.playerPhase.subscribe(n=>{n===k0.Video?this.setupMediaSessionForVideo():n===k0.Ads&&this.setupMediaSessionForAds()}))}setupMediaSessionForVideo(){if(!(!this.config||!this.mediaSessionApi))try{const{title:e,thumbUrl:i}={...this.config.videos[this.currentPlayingVideoIndex]},n=[["play",()=>this.play()],["pause",()=>this.pause()],["seekto",l=>this.seekTime(l.seekTime)],["nexttrack",()=>this.playNextVideo()],["previoustrack",()=>this.playPrevVideo()]];this.mediaSessionApi.setMetaData({title:e,thumbUrl:i}),this.mediaSessionApi.updateActionHandlers(n)}catch(e){this.log({message:e.message})}}setupMediaSessionForAds(){if(!(!this.config||!this.mediaSessionApi))try{const e="\u0420\u0435\u043A\u043B\u0430\u043C\u0430",i=[["play",()=>this.play()],["pause",()=>this.pause()]];this.mediaSessionApi.setMetaData({title:e}),this.mediaSessionApi.updateActionHandlers(i)}catch(e){this.log({message:e.message})}}play(){var e;this.log({message:"play"}),(e=this.svelteRootComponent)===null||e===void 0||e.play()}pause(){var e;this.log({message:"pause"}),(e=this.svelteRootComponent)===null||e===void 0||e.pause()}stop(){var e,i;if(!this.config)return;this.log({message:"stop"}),(e=this.svelteStubComponent)===null||e===void 0||e.$destroy();const n=this.config.videos[0];n&&((i=this.svelteRootComponent)===null||i===void 0||i.$destroy(),this.createPlayer(n))}setMuted(e){var i;this.log({message:`set muted, muted: ${e}`}),(i=this.svelteRootComponent)===null||i===void 0||i.setMuted(e)}setVolume(e){var i;this.log({message:`set volume, volume: ${e}`}),(i=this.svelteRootComponent)===null||i===void 0||i.setVolume(e)}setRepeat(e){var i;this.log({message:`set repeat, repeat: ${e}`}),this.needToRepeatPlaylist=e,(i=this.svelteRootComponent)===null||i===void 0||i.$set({showNextPrevButtons:this.needToShowNextPrevButtons(),nextButtonActive:this.isNextButtonActive(),prevButtonActive:this.isPrevButtonActive()})}seekTime(e){var i;this.log({message:`seek time, time: ${e}`}),(i=this.svelteRootComponent)===null||i===void 0||i.seekTime(e)}}const nc=()=>{window.customElements.define("vk-video-player",ic)};Object.defineProperty(exports,"VideoFormat",{enumerable:!0,get:function(){return V0.VideoFormat}});Object.defineProperty(exports,"VideoQuality",{enumerable:!0,get:function(){return V0.VideoQuality}});exports.registerPlayerWebComponent=nc;
|