@volcengine/veplayer 1.11.0 → 1.11.1-rc.1

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.
@@ -1 +0,0 @@
1
- !function(t,r){"object"==typeof exports&&"undefined"!=typeof module?module.exports=r(require("@byted/vestrategy-base")):"function"==typeof define&&define.amd?define(["@byted/vestrategy-base"],r):(t="undefined"!=typeof globalThis?globalThis:t||self).__VESTRATEGY_STRATEGY_ADAPT_RANGE__=r(t.__VESTRATEGY_BASE__)}(this,(function(t){"use strict";var r="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:{};function e(t){return t&&t.__esModule&&Object.prototype.hasOwnProperty.call(t,"default")?t.default:t}var n=function(t){return t&&t.Math==Math&&t},o=n("object"==typeof globalThis&&globalThis)||n("object"==typeof window&&window)||n("object"==typeof self&&self)||n("object"==typeof r&&r)||function(){return this}()||r||Function("return this")(),i=function(t){try{return!!t()}catch(r){return!0}},u=!i((function(){var t=function(){}.bind();return"function"!=typeof t||t.hasOwnProperty("prototype")})),a=u,c=Function.prototype,f=c.apply,s=c.call,l="object"==typeof Reflect&&Reflect.apply||(a?s.bind(f):function(){return s.apply(f,arguments)}),p=u,y=Function.prototype,v=y.call,d=p&&y.bind.bind(v,v),h=p?d:function(t){return function(){return v.apply(t,arguments)}},g=h,b=g({}.toString),m=g("".slice),S=function(t){return m(b(t),8,-1)},O=S,w=h,j=function(t){if("Function"===O(t))return w(t)},P="object"==typeof document&&document.all,T={all:P,IS_HTMLDDA:void 0===P&&void 0!==P},A=T.all,E=T.IS_HTMLDDA?function(t){return"function"==typeof t||t===A}:function(t){return"function"==typeof t},_={},L=!i((function(){return 7!=Object.defineProperty({},1,{get:function(){return 7}})[1]})),R=u,x=Function.prototype.call,F=R?x.bind(x):function(){return x.apply(x,arguments)},C={},D={}.propertyIsEnumerable,M=Object.getOwnPropertyDescriptor,k=M&&!D.call({1:2},1);C.f=k?function(t){var r=M(this,t);return!!r&&r.enumerable}:D;var I,N,V=function(t,r){return{enumerable:!(1&t),configurable:!(2&t),writable:!(4&t),value:r}},G=i,B=S,W=Object,H=h("".split),z=G((function(){return!W("z").propertyIsEnumerable(0)}))?function(t){return"String"==B(t)?H(t,""):W(t)}:W,K=function(t){return null==t},Y=K,U=TypeError,J=function(t){if(Y(t))throw U("Can't call method on "+t);return t},q=z,X=J,$=function(t){return q(X(t))},Q=E,Z=T.all,tt=T.IS_HTMLDDA?function(t){return"object"==typeof t?null!==t:Q(t)||t===Z}:function(t){return"object"==typeof t?null!==t:Q(t)},rt={},et=rt,nt=o,ot=E,it=function(t){return ot(t)?t:void 0},ut=function(t,r){return arguments.length<2?it(et[t])||it(nt[t]):et[t]&&et[t][r]||nt[t]&&nt[t][r]},at=h({}.isPrototypeOf),ct=o,ft="undefined"!=typeof navigator&&String(navigator.userAgent)||"",st=ct.process,lt=ct.Deno,pt=st&&st.versions||lt&&lt.version,yt=pt&&pt.v8;yt&&(N=(I=yt.split("."))[0]>0&&I[0]<4?1:+(I[0]+I[1])),!N&&ft&&(!(I=ft.match(/Edge\/(\d+)/))||I[1]>=74)&&(I=ft.match(/Chrome\/(\d+)/))&&(N=+I[1]);var vt=N,dt=vt,ht=i,gt=o.String,bt=!!Object.getOwnPropertySymbols&&!ht((function(){var t=Symbol();return!gt(t)||!(Object(t)instanceof Symbol)||!Symbol.sham&&dt&&dt<41})),mt=bt&&!Symbol.sham&&"symbol"==typeof Symbol.iterator,St=ut,Ot=E,wt=at,jt=Object,Pt=mt?function(t){return"symbol"==typeof t}:function(t){var r=St("Symbol");return Ot(r)&&wt(r.prototype,jt(t))},Tt=String,At=function(t){try{return Tt(t)}catch(r){return"Object"}},Et=E,_t=At,Lt=TypeError,Rt=function(t){if(Et(t))return t;throw Lt(_t(t)+" is not a function")},xt=Rt,Ft=K,Ct=F,Dt=E,Mt=tt,kt=TypeError,It={exports:{}},Nt=o,Vt=Object.defineProperty,Gt=function(t,r){try{Vt(Nt,t,{value:r,configurable:!0,writable:!0})}catch(e){Nt[t]=r}return r},Bt="__core-js_shared__",Wt=o[Bt]||Gt(Bt,{}),Ht=Wt;(It.exports=function(t,r){return Ht[t]||(Ht[t]=void 0!==r?r:{})})("versions",[]).push({version:"3.31.1",mode:"pure",copyright:"© 2014-2023 Denis Pushkarev (zloirock.ru)",license:"https://github.com/zloirock/core-js/blob/v3.31.1/LICENSE",source:"https://github.com/zloirock/core-js"});var zt=It.exports,Kt=J,Yt=Object,Ut=function(t){return Yt(Kt(t))},Jt=Ut,qt=h({}.hasOwnProperty),Xt=Object.hasOwn||function(t,r){return qt(Jt(t),r)},$t=h,Qt=0,Zt=Math.random(),tr=$t(1..toString),rr=function(t){return"Symbol("+(void 0===t?"":t)+")_"+tr(++Qt+Zt,36)},er=zt,nr=Xt,or=rr,ir=bt,ur=mt,ar=o.Symbol,cr=er("wks"),fr=ur?ar.for||ar:ar&&ar.withoutSetter||or,sr=function(t){return nr(cr,t)||(cr[t]=ir&&nr(ar,t)?ar[t]:fr("Symbol."+t)),cr[t]},lr=F,pr=tt,yr=Pt,vr=function(t,r){var e=t[r];return Ft(e)?void 0:xt(e)},dr=function(t,r){var e,n;if("string"===r&&Dt(e=t.toString)&&!Mt(n=Ct(e,t)))return n;if(Dt(e=t.valueOf)&&!Mt(n=Ct(e,t)))return n;if("string"!==r&&Dt(e=t.toString)&&!Mt(n=Ct(e,t)))return n;throw kt("Can't convert object to primitive value")},hr=TypeError,gr=sr("toPrimitive"),br=function(t,r){if(!pr(t)||yr(t))return t;var e,n=vr(t,gr);if(n){if(void 0===r&&(r="default"),e=lr(n,t,r),!pr(e)||yr(e))return e;throw hr("Can't convert object to primitive value")}return void 0===r&&(r="number"),dr(t,r)},mr=Pt,Sr=function(t){var r=br(t,"string");return mr(r)?r:r+""},Or=tt,wr=o.document,jr=Or(wr)&&Or(wr.createElement),Pr=function(t){return jr?wr.createElement(t):{}},Tr=Pr,Ar=!L&&!i((function(){return 7!=Object.defineProperty(Tr("div"),"a",{get:function(){return 7}}).a})),Er=L,_r=F,Lr=C,Rr=V,xr=$,Fr=Sr,Cr=Xt,Dr=Ar,Mr=Object.getOwnPropertyDescriptor;_.f=Er?Mr:function(t,r){if(t=xr(t),r=Fr(r),Dr)try{return Mr(t,r)}catch(e){}if(Cr(t,r))return Rr(!_r(Lr.f,t,r),t[r])};var kr=i,Ir=E,Nr=/#|\.prototype\./,Vr=function(t,r){var e=Br[Gr(t)];return e==Hr||e!=Wr&&(Ir(r)?kr(r):!!r)},Gr=Vr.normalize=function(t){return String(t).replace(Nr,".").toLowerCase()},Br=Vr.data={},Wr=Vr.NATIVE="N",Hr=Vr.POLYFILL="P",zr=Vr,Kr=Rt,Yr=u,Ur=j(j.bind),Jr=function(t,r){return Kr(t),void 0===r?t:Yr?Ur(t,r):function(){return t.apply(r,arguments)}},qr={},Xr=L&&i((function(){return 42!=Object.defineProperty((function(){}),"prototype",{value:42,writable:!1}).prototype})),$r=tt,Qr=String,Zr=TypeError,te=function(t){if($r(t))return t;throw Zr(Qr(t)+" is not an object")},re=L,ee=Ar,ne=Xr,oe=te,ie=Sr,ue=TypeError,ae=Object.defineProperty,ce=Object.getOwnPropertyDescriptor,fe="enumerable",se="configurable",le="writable";qr.f=re?ne?function(t,r,e){if(oe(t),r=ie(r),oe(e),"function"==typeof t&&"prototype"===r&&"value"in e&&le in e&&!e[le]){var n=ce(t,r);n&&n[le]&&(t[r]=e.value,e={configurable:se in e?e[se]:n[se],enumerable:fe in e?e[fe]:n[fe],writable:!1})}return ae(t,r,e)}:ae:function(t,r,e){if(oe(t),r=ie(r),oe(e),ee)try{return ae(t,r,e)}catch(n){}if("get"in e||"set"in e)throw ue("Accessors not supported");return"value"in e&&(t[r]=e.value),t};var pe=qr,ye=V,ve=L?function(t,r,e){return pe.f(t,r,ye(1,e))}:function(t,r,e){return t[r]=e,t},de=o,he=l,ge=j,be=E,me=_.f,Se=zr,Oe=rt,we=Jr,je=ve,Pe=Xt,Te=function(t){var r=function(e,n,o){if(this instanceof r){switch(arguments.length){case 0:return new t;case 1:return new t(e);case 2:return new t(e,n)}return new t(e,n,o)}return he(t,this,arguments)};return r.prototype=t.prototype,r},Ae=function(t,r){var e,n,o,i,u,a,c,f,s,l=t.target,p=t.global,y=t.stat,v=t.proto,d=p?de:y?de[l]:(de[l]||{}).prototype,h=p?Oe:Oe[l]||je(Oe,l,{})[l],g=h.prototype;for(i in r)n=!(e=Se(p?i:l+(y?".":"#")+i,t.forced))&&d&&Pe(d,i),a=h[i],n&&(c=t.dontCallGetSet?(s=me(d,i))&&s.value:d[i]),u=n&&c?c:r[i],n&&typeof a==typeof u||(f=t.bind&&n?we(u,de):t.wrap&&n?Te(u):v&&be(u)?ge(u):u,(t.sham||u&&u.sham||a&&a.sham)&&je(f,"sham",!0),je(h,i,f),v&&(Pe(Oe,o=l+"Prototype")||je(Oe,o,{}),je(Oe[o],i,u),t.real&&g&&(e||!g[i])&&je(g,i,u)))},Ee=Math.ceil,_e=Math.floor,Le=Math.trunc||function(t){var r=+t;return(r>0?_e:Ee)(r)},Re=function(t){var r=+t;return r!=r||0===r?0:Le(r)},xe=Re,Fe=Math.max,Ce=Math.min,De=function(t,r){var e=xe(t);return e<0?Fe(e+r,0):Ce(e,r)},Me=Re,ke=Math.min,Ie=function(t){return t>0?ke(Me(t),9007199254740991):0},Ne=function(t){return Ie(t.length)},Ve=$,Ge=De,Be=Ne,We=function(t){return function(r,e,n){var o,i=Ve(r),u=Be(i),a=Ge(n,u);if(t&&e!=e){for(;u>a;)if((o=i[a++])!=o)return!0}else for(;u>a;a++)if((t||a in i)&&i[a]===e)return t||a||0;return!t&&-1}},He={includes:We(!0),indexOf:We(!1)},ze={},Ke=Xt,Ye=$,Ue=He.indexOf,Je=ze,qe=h([].push),Xe=function(t,r){var e,n=Ye(t),o=0,i=[];for(e in n)!Ke(Je,e)&&Ke(n,e)&&qe(i,e);for(;r.length>o;)Ke(n,e=r[o++])&&(~Ue(i,e)||qe(i,e));return i},$e=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"],Qe=Xe,Ze=$e,tn=Object.keys||function(t){return Qe(t,Ze)},rn=Ut,en=tn;Ae({target:"Object",stat:!0,forced:i((function(){en(1)}))},{keys:function(t){return en(rn(t))}});var nn=e(rt.Object.keys),on={};on[sr("toStringTag")]="z";var un="[object z]"===String(on),an=un,cn=E,fn=S,sn=sr("toStringTag"),ln=Object,pn="Arguments"==fn(function(){return arguments}()),yn=an?fn:function(t){var r,e,n;return void 0===t?"Undefined":null===t?"Null":"string"==typeof(e=function(t,r){try{return t[r]}catch(e){}}(r=ln(t),sn))?e:pn?fn(r):"Object"==(n=fn(r))&&cn(r.callee)?"Arguments":n},vn=yn,dn=String,hn=function(t){if("Symbol"===vn(t))throw TypeError("Cannot convert a Symbol value to a string");return dn(t)},gn={},bn=L,mn=Xr,Sn=qr,On=te,wn=$,jn=tn;gn.f=bn&&!mn?Object.defineProperties:function(t,r){On(t);for(var e,n=wn(r),o=jn(r),i=o.length,u=0;i>u;)Sn.f(t,e=o[u++],n[e]);return t};var Pn,Tn=ut("document","documentElement"),An=rr,En=zt("keys"),_n=function(t){return En[t]||(En[t]=An(t))},Ln=te,Rn=gn,xn=$e,Fn=ze,Cn=Tn,Dn=Pr,Mn="prototype",kn="script",In=_n("IE_PROTO"),Nn=function(){},Vn=function(t){return"<"+kn+">"+t+"</"+kn+">"},Gn=function(t){t.write(Vn("")),t.close();var r=t.parentWindow.Object;return t=null,r},Bn=function(){try{Pn=new ActiveXObject("htmlfile")}catch(o){}var t,r,e;Bn="undefined"!=typeof document?document.domain&&Pn?Gn(Pn):(r=Dn("iframe"),e="java"+kn+":",r.style.display="none",Cn.appendChild(r),r.src=String(e),(t=r.contentWindow.document).open(),t.write(Vn("document.F=Object")),t.close(),t.F):Gn(Pn);for(var n=xn.length;n--;)delete Bn[Mn][xn[n]];return Bn()};Fn[In]=!0;var Wn=Object.create||function(t,r){var e;return null!==t?(Nn[Mn]=Ln(t),e=new Nn,Nn[Mn]=null,e[In]=t):e=Bn(),void 0===r?e:Rn.f(e,r)},Hn={},zn=Xe,Kn=$e.concat("length","prototype");Hn.f=Object.getOwnPropertyNames||function(t){return zn(t,Kn)};var Yn={},Un=Sr,Jn=qr,qn=V,Xn=function(t,r,e){var n=Un(r);n in t?Jn.f(t,n,qn(0,e)):t[n]=e},$n=De,Qn=Ne,Zn=Xn,to=Array,ro=Math.max,eo=S,no=$,oo=Hn.f,io=function(t,r,e){for(var n=Qn(t),o=$n(r,n),i=$n(void 0===e?n:e,n),u=to(ro(i-o,0)),a=0;o<i;o++,a++)Zn(u,a,t[o]);return u.length=a,u},uo="object"==typeof window&&window&&Object.getOwnPropertyNames?Object.getOwnPropertyNames(window):[];Yn.f=function(t){return uo&&"Window"==eo(t)?function(t){try{return oo(t)}catch(r){return io(uo)}}(t):oo(no(t))};var ao={};ao.f=Object.getOwnPropertySymbols;var co=ve,fo=function(t,r,e,n){return n&&n.enumerable?t[r]=e:co(t,r,e),t},so=qr,lo={},po=sr;lo.f=po;var yo,vo,ho,go=rt,bo=Xt,mo=lo,So=qr.f,Oo=function(t){var r=go.Symbol||(go.Symbol={});bo(r,t)||So(r,t,{value:mo.f(t)})},wo=F,jo=ut,Po=sr,To=fo,Ao=function(){var t=jo("Symbol"),r=t&&t.prototype,e=r&&r.valueOf,n=Po("toPrimitive");r&&!r[n]&&To(r,n,(function(t){return wo(e,this)}),{arity:1})},Eo=yn,_o=un?{}.toString:function(){return"[object "+Eo(this)+"]"},Lo=un,Ro=qr.f,xo=ve,Fo=Xt,Co=_o,Do=sr("toStringTag"),Mo=function(t,r,e,n){if(t){var o=e?t:t.prototype;Fo(o,Do)||Ro(o,Do,{configurable:!0,value:r}),n&&!Lo&&xo(o,"toString",Co)}},ko=E,Io=o.WeakMap,No=ko(Io)&&/native code/.test(String(Io)),Vo=o,Go=tt,Bo=ve,Wo=Xt,Ho=Wt,zo=_n,Ko=ze,Yo="Object already initialized",Uo=Vo.TypeError,Jo=Vo.WeakMap;if(No||Ho.state){var qo=Ho.state||(Ho.state=new Jo);qo.get=qo.get,qo.has=qo.has,qo.set=qo.set,yo=function(t,r){if(qo.has(t))throw Uo(Yo);return r.facade=t,qo.set(t,r),r},vo=function(t){return qo.get(t)||{}},ho=function(t){return qo.has(t)}}else{var Xo=zo("state");Ko[Xo]=!0,yo=function(t,r){if(Wo(t,Xo))throw Uo(Yo);return r.facade=t,Bo(t,Xo,r),r},vo=function(t){return Wo(t,Xo)?t[Xo]:{}},ho=function(t){return Wo(t,Xo)}}var $o={set:yo,get:vo,has:ho,enforce:function(t){return ho(t)?vo(t):yo(t,{})},getterFor:function(t){return function(r){var e;if(!Go(r)||(e=vo(r)).type!==t)throw Uo("Incompatible receiver, "+t+" required");return e}}},Qo=S,Zo=Array.isArray||function(t){return"Array"==Qo(t)},ti=E,ri=Wt,ei=h(Function.toString);ti(ri.inspectSource)||(ri.inspectSource=function(t){return ei(t)});var ni=ri.inspectSource,oi=h,ii=i,ui=E,ai=yn,ci=ni,fi=function(){},si=[],li=ut("Reflect","construct"),pi=/^\s*(?:class|function)\b/,yi=oi(pi.exec),vi=!pi.exec(fi),di=function(t){if(!ui(t))return!1;try{return li(fi,si,t),!0}catch(r){return!1}},hi=function(t){if(!ui(t))return!1;switch(ai(t)){case"AsyncFunction":case"GeneratorFunction":case"AsyncGeneratorFunction":return!1}try{return vi||!!yi(pi,ci(t))}catch(r){return!0}};hi.sham=!0;var gi=!li||ii((function(){var t;return di(di.call)||!di(Object)||!di((function(){t=!0}))||t}))?hi:di,bi=Zo,mi=gi,Si=tt,Oi=sr("species"),wi=Array,ji=function(t){var r;return bi(t)&&(r=t.constructor,(mi(r)&&(r===wi||bi(r.prototype))||Si(r)&&null===(r=r[Oi]))&&(r=void 0)),void 0===r?wi:r},Pi=function(t,r){return new(ji(t))(0===r?0:r)},Ti=Jr,Ai=z,Ei=Ut,_i=Ne,Li=Pi,Ri=h([].push),xi=function(t){var r=1==t,e=2==t,n=3==t,o=4==t,i=6==t,u=7==t,a=5==t||i;return function(c,f,s,l){for(var p,y,v=Ei(c),d=Ai(v),h=Ti(f,s),g=_i(d),b=0,m=l||Li,S=r?m(c,g):e||u?m(c,0):void 0;g>b;b++)if((a||b in d)&&(y=h(p=d[b],b,v),t))if(r)S[b]=y;else if(y)switch(t){case 3:return!0;case 5:return p;case 6:return b;case 2:Ri(S,p)}else switch(t){case 4:return!1;case 7:Ri(S,p)}return i?-1:n||o?o:S}},Fi={forEach:xi(0),map:xi(1),filter:xi(2),some:xi(3),every:xi(4),find:xi(5),findIndex:xi(6),filterReject:xi(7)},Ci=Ae,Di=o,Mi=F,ki=h,Ii=L,Ni=bt,Vi=i,Gi=Xt,Bi=at,Wi=te,Hi=$,zi=Sr,Ki=hn,Yi=V,Ui=Wn,Ji=tn,qi=Hn,Xi=Yn,$i=ao,Qi=_,Zi=qr,tu=gn,ru=C,eu=fo,nu=function(t,r,e){return so.f(t,r,e)},ou=zt,iu=ze,uu=rr,au=sr,cu=lo,fu=Oo,su=Ao,lu=Mo,pu=$o,yu=Fi.forEach,vu=_n("hidden"),du="Symbol",hu="prototype",gu=pu.set,bu=pu.getterFor(du),mu=Object[hu],Su=Di.Symbol,Ou=Su&&Su[hu],wu=Di.TypeError,ju=Di.QObject,Pu=Qi.f,Tu=Zi.f,Au=Xi.f,Eu=ru.f,_u=ki([].push),Lu=ou("symbols"),Ru=ou("op-symbols"),xu=ou("wks"),Fu=!ju||!ju[hu]||!ju[hu].findChild,Cu=Ii&&Vi((function(){return 7!=Ui(Tu({},"a",{get:function(){return Tu(this,"a",{value:7}).a}})).a}))?function(t,r,e){var n=Pu(mu,r);n&&delete mu[r],Tu(t,r,e),n&&t!==mu&&Tu(mu,r,n)}:Tu,Du=function(t,r){var e=Lu[t]=Ui(Ou);return gu(e,{type:du,tag:t,description:r}),Ii||(e.description=r),e},Mu=function(t,r,e){t===mu&&Mu(Ru,r,e),Wi(t);var n=zi(r);return Wi(e),Gi(Lu,n)?(e.enumerable?(Gi(t,vu)&&t[vu][n]&&(t[vu][n]=!1),e=Ui(e,{enumerable:Yi(0,!1)})):(Gi(t,vu)||Tu(t,vu,Yi(1,{})),t[vu][n]=!0),Cu(t,n,e)):Tu(t,n,e)},ku=function(t,r){Wi(t);var e=Hi(r),n=Ji(e).concat(Gu(e));return yu(n,(function(r){Ii&&!Mi(Iu,e,r)||Mu(t,r,e[r])})),t},Iu=function(t){var r=zi(t),e=Mi(Eu,this,r);return!(this===mu&&Gi(Lu,r)&&!Gi(Ru,r))&&(!(e||!Gi(this,r)||!Gi(Lu,r)||Gi(this,vu)&&this[vu][r])||e)},Nu=function(t,r){var e=Hi(t),n=zi(r);if(e!==mu||!Gi(Lu,n)||Gi(Ru,n)){var o=Pu(e,n);return!o||!Gi(Lu,n)||Gi(e,vu)&&e[vu][n]||(o.enumerable=!0),o}},Vu=function(t){var r=Au(Hi(t)),e=[];return yu(r,(function(t){Gi(Lu,t)||Gi(iu,t)||_u(e,t)})),e},Gu=function(t){var r=t===mu,e=Au(r?Ru:Hi(t)),n=[];return yu(e,(function(t){!Gi(Lu,t)||r&&!Gi(mu,t)||_u(n,Lu[t])})),n};Ni||(Su=function(){if(Bi(Ou,this))throw wu("Symbol is not a constructor");var t=arguments.length&&void 0!==arguments[0]?Ki(arguments[0]):void 0,r=uu(t),e=function(t){this===mu&&Mi(e,Ru,t),Gi(this,vu)&&Gi(this[vu],r)&&(this[vu][r]=!1),Cu(this,r,Yi(1,t))};return Ii&&Fu&&Cu(mu,r,{configurable:!0,set:e}),Du(r,t)},eu(Ou=Su[hu],"toString",(function(){return bu(this).tag})),eu(Su,"withoutSetter",(function(t){return Du(uu(t),t)})),ru.f=Iu,Zi.f=Mu,tu.f=ku,Qi.f=Nu,qi.f=Xi.f=Vu,$i.f=Gu,cu.f=function(t){return Du(au(t),t)},Ii&&nu(Ou,"description",{configurable:!0,get:function(){return bu(this).description}})),Ci({global:!0,constructor:!0,wrap:!0,forced:!Ni,sham:!Ni},{Symbol:Su}),yu(Ji(xu),(function(t){fu(t)})),Ci({target:du,stat:!0,forced:!Ni},{useSetter:function(){Fu=!0},useSimple:function(){Fu=!1}}),Ci({target:"Object",stat:!0,forced:!Ni,sham:!Ii},{create:function(t,r){return void 0===r?Ui(t):ku(Ui(t),r)},defineProperty:Mu,defineProperties:ku,getOwnPropertyDescriptor:Nu}),Ci({target:"Object",stat:!0,forced:!Ni},{getOwnPropertyNames:Vu}),su(),lu(Su,du),iu[vu]=!0;var Bu=bt&&!!Symbol.for&&!!Symbol.keyFor,Wu=Ae,Hu=ut,zu=Xt,Ku=hn,Yu=zt,Uu=Bu,Ju=Yu("string-to-symbol-registry"),qu=Yu("symbol-to-string-registry");Wu({target:"Symbol",stat:!0,forced:!Uu},{for:function(t){var r=Ku(t);if(zu(Ju,r))return Ju[r];var e=Hu("Symbol")(r);return Ju[r]=e,qu[e]=r,e}});var Xu=Ae,$u=Xt,Qu=Pt,Zu=At,ta=Bu,ra=zt("symbol-to-string-registry");Xu({target:"Symbol",stat:!0,forced:!ta},{keyFor:function(t){if(!Qu(t))throw TypeError(Zu(t)+" is not a symbol");if($u(ra,t))return ra[t]}});var ea=h([].slice),na=Zo,oa=E,ia=S,ua=hn,aa=h([].push),ca=Ae,fa=ut,sa=l,la=F,pa=h,ya=i,va=E,da=Pt,ha=ea,ga=function(t){if(oa(t))return t;if(na(t)){for(var r=t.length,e=[],n=0;n<r;n++){var o=t[n];"string"==typeof o?aa(e,o):"number"!=typeof o&&"Number"!=ia(o)&&"String"!=ia(o)||aa(e,ua(o))}var i=e.length,u=!0;return function(t,r){if(u)return u=!1,r;if(na(this))return r;for(var n=0;n<i;n++)if(e[n]===t)return r}}},ba=bt,ma=String,Sa=fa("JSON","stringify"),Oa=pa(/./.exec),wa=pa("".charAt),ja=pa("".charCodeAt),Pa=pa("".replace),Ta=pa(1..toString),Aa=/[\uD800-\uDFFF]/g,Ea=/^[\uD800-\uDBFF]$/,_a=/^[\uDC00-\uDFFF]$/,La=!ba||ya((function(){var t=fa("Symbol")();return"[null]"!=Sa([t])||"{}"!=Sa({a:t})||"{}"!=Sa(Object(t))})),Ra=ya((function(){return'"\\udf06\\ud834"'!==Sa("\udf06\ud834")||'"\\udead"'!==Sa("\udead")})),xa=function(t,r){var e=ha(arguments),n=ga(r);if(va(n)||void 0!==t&&!da(t))return e[1]=function(t,r){if(va(n)&&(r=la(n,this,ma(t),r)),!da(r))return r},sa(Sa,null,e)},Fa=function(t,r,e){var n=wa(e,r-1),o=wa(e,r+1);return Oa(Ea,t)&&!Oa(_a,o)||Oa(_a,t)&&!Oa(Ea,n)?"\\u"+Ta(ja(t,0),16):t};Sa&&ca({target:"JSON",stat:!0,arity:3,forced:La||Ra},{stringify:function(t,r,e){var n=ha(arguments),o=sa(La?xa:Sa,null,n);return Ra&&"string"==typeof o?Pa(o,Aa,Fa):o}});var Ca=ao,Da=Ut;Ae({target:"Object",stat:!0,forced:!bt||i((function(){Ca.f(1)}))},{getOwnPropertySymbols:function(t){var r=Ca.f;return r?r(Da(t)):[]}});var Ma=e(rt.Object.getOwnPropertySymbols),ka=i,Ia=vt,Na=sr("species"),Va=function(t){return Ia>=51||!ka((function(){var r=[];return(r.constructor={})[Na]=function(){return{foo:1}},1!==r[t](Boolean).foo}))},Ga=Fi.filter;Ae({target:"Array",proto:!0,forced:!Va("filter")},{filter:function(t){return Ga(this,t,arguments.length>1?arguments[1]:void 0)}});var Ba=rt,Wa=function(t){return Ba[t+"Prototype"]},Ha=Wa("Array").filter,za=at,Ka=Ha,Ya=Array.prototype,Ua=e((function(t){var r=t.filter;return t===Ya||za(Ya,t)&&r===Ya.filter?Ka:r})),Ja={exports:{}},qa=Ae,Xa=i,$a=$,Qa=_.f,Za=L;qa({target:"Object",stat:!0,forced:!Za||Xa((function(){Qa(1)})),sham:!Za},{getOwnPropertyDescriptor:function(t,r){return Qa($a(t),r)}});var tc=rt.Object,rc=Ja.exports=function(t,r){return tc.getOwnPropertyDescriptor(t,r)};tc.getOwnPropertyDescriptor.sham&&(rc.sham=!0);var ec=e(Ja.exports),nc=L,oc=Zo,ic=TypeError,uc=Object.getOwnPropertyDescriptor,ac=nc&&!function(){if(void 0!==this)return!0;try{Object.defineProperty([],"length",{writable:!1}).length=1}catch(t){return t instanceof TypeError}}(),cc=TypeError,fc=function(t){if(t>9007199254740991)throw cc("Maximum allowed index exceeded");return t},sc=Ut,lc=Ne,pc=ac?function(t,r){if(oc(t)&&!uc(t,"length").writable)throw ic("Cannot set read only .length");return t.length=r}:function(t,r){return t.length=r},yc=fc;Ae({target:"Array",proto:!0,arity:1,forced:i((function(){return 4294967297!==[].push.call({length:4294967296},1)}))||!function(){try{Object.defineProperty([],"length",{writable:!1}).push()}catch(t){return t instanceof TypeError}}()},{push:function(t){var r=sc(this),e=lc(r),n=arguments.length;yc(e+n);for(var o=0;o<n;o++)r[e]=arguments[o],e++;return pc(r,e),e}});var vc,dc,hc,gc=Wa("Array").push,bc=at,mc=gc,Sc=Array.prototype,Oc=e((function(t){var r=t.push;return t===Sc||bc(Sc,t)&&r===Sc.push?mc:r})),wc={},jc=L,Pc=Xt,Tc=Function.prototype,Ac=jc&&Object.getOwnPropertyDescriptor,Ec=Pc(Tc,"name"),_c={EXISTS:Ec,PROPER:Ec&&"something"===function(){}.name,CONFIGURABLE:Ec&&(!jc||jc&&Ac(Tc,"name").configurable)},Lc=!i((function(){function t(){}return t.prototype.constructor=null,Object.getPrototypeOf(new t)!==t.prototype})),Rc=Xt,xc=E,Fc=Ut,Cc=Lc,Dc=_n("IE_PROTO"),Mc=Object,kc=Mc.prototype,Ic=Cc?Mc.getPrototypeOf:function(t){var r=Fc(t);if(Rc(r,Dc))return r[Dc];var e=r.constructor;return xc(e)&&r instanceof e?e.prototype:r instanceof Mc?kc:null},Nc=i,Vc=E,Gc=tt,Bc=Wn,Wc=Ic,Hc=fo,zc=sr("iterator"),Kc=!1;[].keys&&("next"in(hc=[].keys())?(dc=Wc(Wc(hc)))!==Object.prototype&&(vc=dc):Kc=!0);var Yc=!Gc(vc)||Nc((function(){var t={};return vc[zc].call(t)!==t}));Vc((vc=Yc?{}:Bc(vc))[zc])||Hc(vc,zc,(function(){return this}));var Uc={IteratorPrototype:vc,BUGGY_SAFARI_ITERATORS:Kc},Jc=Uc.IteratorPrototype,qc=Wn,Xc=V,$c=Mo,Qc=wc,Zc=function(){return this},tf=h,rf=Rt,ef=E,nf=String,of=TypeError,uf=function(t,r,e){try{return tf(rf(Object.getOwnPropertyDescriptor(t,r)[e]))}catch(n){}},af=te,cf=function(t){if("object"==typeof t||ef(t))return t;throw of("Can't set "+nf(t)+" as a prototype")},ff=Object.setPrototypeOf||("__proto__"in{}?function(){var t,r=!1,e={};try{(t=uf(Object.prototype,"__proto__","set"))(e,[]),r=e instanceof Array}catch(n){}return function(e,n){return af(e),cf(n),r?t(e,n):e.__proto__=n,e}}():void 0),sf=Ae,lf=F,pf=_c,yf=function(t,r,e,n){var o=r+" Iterator";return t.prototype=qc(Jc,{next:Xc(+!n,e)}),$c(t,o,!1,!0),Qc[o]=Zc,t},vf=Ic,df=Mo,hf=fo,gf=wc,bf=Uc,mf=pf.PROPER,Sf=bf.BUGGY_SAFARI_ITERATORS,Of=sr("iterator"),wf="keys",jf="values",Pf="entries",Tf=function(){return this},Af=function(t,r,e,n,o,i,u){yf(e,r,n);var a,c,f,s=function(t){if(t===o&&d)return d;if(!Sf&&t in y)return y[t];switch(t){case wf:case jf:case Pf:return function(){return new e(this,t)}}return function(){return new e(this)}},l=r+" Iterator",p=!1,y=t.prototype,v=y[Of]||y["@@iterator"]||o&&y[o],d=!Sf&&v||s(o),h="Array"==r&&y.entries||v;if(h&&(a=vf(h.call(new t)))!==Object.prototype&&a.next&&(df(a,l,!0,!0),gf[l]=Tf),mf&&o==jf&&v&&v.name!==jf&&(p=!0,d=function(){return lf(v,this)}),o)if(c={values:s(jf),keys:i?d:s(wf),entries:s(Pf)},u)for(f in c)(Sf||p||!(f in y))&&hf(y,f,c[f]);else sf({target:r,proto:!0,forced:Sf||p},c);return u&&y[Of]!==d&&hf(y,Of,d,{name:o}),gf[r]=d,c},Ef=function(t,r){return{value:t,done:r}},_f=$,Lf=wc,Rf=$o;qr.f;var xf=Af,Ff=Ef,Cf="Array Iterator",Df=Rf.set,Mf=Rf.getterFor(Cf);xf(Array,"Array",(function(t,r){Df(this,{type:Cf,target:_f(t),index:0,kind:r})}),(function(){var t=Mf(this),r=t.target,e=t.kind,n=t.index++;return!r||n>=r.length?(t.target=void 0,Ff(void 0,!0)):Ff("keys"==e?n:"values"==e?r[n]:[n,r[n]],!1)}),"values"),Lf.Arguments=Lf.Array;var kf={CSSRuleList:0,CSSStyleDeclaration:0,CSSValueList:0,ClientRectList:0,DOMRectList:0,DOMStringList:0,DOMTokenList:1,DataTransferItemList:0,FileList:0,HTMLAllCollection:0,HTMLCollection:0,HTMLFormElement:0,HTMLSelectElement:0,MediaList:0,MimeTypeArray:0,NamedNodeMap:0,NodeList:1,PaintRequestList:0,Plugin:0,PluginArray:0,SVGLengthList:0,SVGNumberList:0,SVGPathSegList:0,SVGPointList:0,SVGStringList:0,SVGTransformList:0,SourceBufferList:0,StyleSheetList:0,TextTrackCueList:0,TextTrackList:0,TouchList:0},If=o,Nf=yn,Vf=ve,Gf=wc,Bf=sr("toStringTag");for(var Wf in kf){var Hf=If[Wf],zf=Hf&&Hf.prototype;zf&&Nf(zf)!==Bf&&Vf(zf,Bf,Wf),Gf[Wf]=Gf.Array}var Kf=i,Yf=Fi.forEach,Uf=function(t,r){var e=[][t];return!!e&&Kf((function(){e.call(null,r||function(){return 1},1)}))}("forEach")?[].forEach:function(t){return Yf(this,t,arguments.length>1?arguments[1]:void 0)};Ae({target:"Array",proto:!0,forced:[].forEach!=Uf},{forEach:Uf});var Jf=Wa("Array").forEach,qf=yn,Xf=Xt,$f=at,Qf=Jf,Zf=Array.prototype,ts={DOMTokenList:!0,NodeList:!0},rs=e((function(t){var r=t.forEach;return t===Zf||$f(Zf,t)&&r===Zf.forEach||Xf(ts,qf(t))?Qf:r})),es=ut,ns=Hn,os=ao,is=te,us=h([].concat),as=es("Reflect","ownKeys")||function(t){var r=ns.f(is(t)),e=os.f;return e?us(r,e(t)):r},cs=$,fs=_,ss=Xn;Ae({target:"Object",stat:!0,sham:!L},{getOwnPropertyDescriptors:function(t){for(var r,e,n=cs(t),o=fs.f,i=as(n),u={},a=0;i.length>a;)void 0!==(e=o(n,r=i[a++]))&&ss(u,r,e);return u}});var ls=e(rt.Object.getOwnPropertyDescriptors),ps={exports:{}},ys=Ae,vs=L,ds=gn.f;ys({target:"Object",stat:!0,forced:Object.defineProperties!==ds,sham:!vs},{defineProperties:ds});var hs=rt.Object,gs=ps.exports=function(t,r){return hs.defineProperties(t,r)};hs.defineProperties.sham&&(gs.sham=!0);var bs=e(ps.exports),ms={exports:{}},Ss=Ae,Os=L,ws=qr.f;Ss({target:"Object",stat:!0,forced:Object.defineProperty!==ws,sham:!Os},{defineProperty:ws});var js=rt.Object,Ps=ms.exports=function(t,r,e){return js.defineProperty(t,r,e)};js.defineProperty.sham&&(Ps.sham=!0);var Ts=e(ms.exports),As=Ae,Es=i,_s=Zo,Ls=tt,Rs=Ut,xs=Ne,Fs=fc,Cs=Xn,Ds=Pi,Ms=Va,ks=vt,Is=sr("isConcatSpreadable"),Ns=ks>=51||!Es((function(){var t=[];return t[Is]=!1,t.concat()[0]!==t})),Vs=function(t){if(!Ls(t))return!1;var r=t[Is];return void 0!==r?!!r:_s(t)};As({target:"Array",proto:!0,arity:1,forced:!Ns||!Ms("concat")},{concat:function(t){var r,e,n,o,i,u=Rs(this),a=Ds(u,0),c=0;for(r=-1,n=arguments.length;r<n;r++)if(Vs(i=-1===r?u:arguments[r]))for(o=xs(i),Fs(c+o),e=0;e<o;e++,c++)e in i&&Cs(a,c,i[e]);else Fs(c+1),Cs(a,c++,i);return a.length=c,a}}),Oo("asyncIterator"),Oo("hasInstance"),Oo("isConcatSpreadable"),Oo("iterator"),Oo("match"),Oo("matchAll"),Oo("replace"),Oo("search"),Oo("species"),Oo("split");var Gs=Ao;Oo("toPrimitive"),Gs();var Bs=ut,Ws=Mo;Oo("toStringTag"),Ws(Bs("Symbol"),"Symbol"),Oo("unscopables"),Mo(o.JSON,"JSON",!0);var Hs=rt.Symbol,zs=sr,Ks=qr.f,Ys=zs("metadata"),Us=Function.prototype;void 0===Us[Ys]&&Ks(Us,Ys,{value:null}),Oo("dispose"),Oo("metadata");var Js=Hs;Oo("asyncDispose");var qs=h,Xs=ut("Symbol"),$s=Xs.keyFor,Qs=qs(Xs.prototype.valueOf),Zs=Xs.isRegisteredSymbol||function(t){try{return void 0!==$s(Qs(t))}catch(r){return!1}};Ae({target:"Symbol",stat:!0},{isRegisteredSymbol:Zs});for(var tl=zt,rl=ut,el=h,nl=Pt,ol=sr,il=rl("Symbol"),ul=il.isWellKnownSymbol,al=rl("Object","getOwnPropertyNames"),cl=el(il.prototype.valueOf),fl=tl("wks"),sl=0,ll=al(il),pl=ll.length;sl<pl;sl++)try{var yl=ll[sl];nl(il[yl])&&ol(yl)}catch(ty){}var vl=function(t){if(ul&&ul(t))return!0;try{for(var r=cl(t),e=0,n=al(fl),o=n.length;e<o;e++)if(fl[n[e]]==r)return!0}catch(ty){}return!1};Ae({target:"Symbol",stat:!0,forced:!0},{isWellKnownSymbol:vl}),Oo("matcher"),Oo("observable"),Ae({target:"Symbol",stat:!0,name:"isRegisteredSymbol"},{isRegistered:Zs}),Ae({target:"Symbol",stat:!0,name:"isWellKnownSymbol",forced:!0},{isWellKnown:vl}),Oo("metadataKey"),Oo("patternMatch"),Oo("replaceAll");var dl=e(Js),hl=h,gl=Re,bl=hn,ml=J,Sl=hl("".charAt),Ol=hl("".charCodeAt),wl=hl("".slice),jl=function(t){return function(r,e){var n,o,i=bl(ml(r)),u=gl(e),a=i.length;return u<0||u>=a?t?"":void 0:(n=Ol(i,u))<55296||n>56319||u+1===a||(o=Ol(i,u+1))<56320||o>57343?t?Sl(i,u):n:t?wl(i,u,u+2):o-56320+(n-55296<<10)+65536}},Pl={codeAt:jl(!1),charAt:jl(!0)}.charAt,Tl=hn,Al=$o,El=Af,_l=Ef,Ll="String Iterator",Rl=Al.set,xl=Al.getterFor(Ll);El(String,"String",(function(t){Rl(this,{type:Ll,string:Tl(t),index:0})}),(function(){var t,r=xl(this),e=r.string,n=r.index;return n>=e.length?_l(void 0,!0):(t=Pl(e,n),r.index+=t.length,_l(t,!1))}));var Fl=e(lo.f("iterator"));function Cl(t){return(Cl="function"==typeof dl&&"symbol"==typeof Fl?function(t){return typeof t}:function(t){return t&&"function"==typeof dl&&t.constructor===dl&&t!==dl.prototype?"symbol":typeof t})(t)}var Dl=e(lo.f("toPrimitive"));function Ml(t){var r=function(t,r){if("object"!==Cl(t)||null===t)return t;var e=t[Dl];if(void 0!==e){var n=e.call(t,r||"default");if("object"!==Cl(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===r?String:Number)(t)}(t,"string");return"symbol"===Cl(r)?r:String(r)}function kl(t,r,e){return(r=Ml(r))in t?Ts(t,r,{value:e,enumerable:!0,configurable:!0,writable:!0}):t[r]=e,t}function Il(t,r){var e=nn(t);if(Ma){var n=Ma(t);r&&(n=Ua(n).call(n,(function(r){return ec(t,r).enumerable}))),Oc(e).apply(e,n)}return e}function Nl(t){for(var r=1;r<arguments.length;r++){var e,n,o=null!=arguments[r]?arguments[r]:{};r%2?rs(e=Il(Object(o),!0)).call(e,(function(r){kl(t,r,o[r])})):ls?bs(t,ls(o)):rs(n=Il(Object(o))).call(n,(function(r){Ts(t,r,ec(o,r))}))}return t}function Vl(t,r){for(var e=0;e<r.length;e++){var n=r[e];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Ts(t,Ml(n.key),n)}}Ae({target:"Object",stat:!0,sham:!L},{create:Wn});var Gl=rt.Object,Bl=e((function(t,r){return Gl.create(t,r)}));Ae({target:"Object",stat:!0},{setPrototypeOf:ff});var Wl=e(rt.Object.setPrototypeOf),Hl=h,zl=Rt,Kl=tt,Yl=Xt,Ul=ea,Jl=u,ql=Function,Xl=Hl([].concat),$l=Hl([].join),Ql={},Zl=Jl?ql.bind:function(t){var r=zl(this),e=r.prototype,n=Ul(arguments,1),o=function(){var e=Xl(n,Ul(arguments));return this instanceof o?function(t,r,e){if(!Yl(Ql,r)){for(var n=[],o=0;o<r;o++)n[o]="a["+o+"]";Ql[r]=ql("C,a","return new C("+$l(n,",")+")")}return Ql[r](t,e)}(r,e.length,e):r.apply(t,e)};return Kl(e)&&(o.prototype=e),o},tp=Zl;Ae({target:"Function",proto:!0,forced:Function.bind!==tp},{bind:tp});var rp=Wa("Function").bind,ep=at,np=rp,op=Function.prototype,ip=e((function(t){var r=t.bind;return t===op||ep(op,t)&&r===op.bind?np:r}));function up(t,r){var e;return(up=Wl?ip(e=Wl).call(e):function(t,r){return t.__proto__=r,t})(t,r)}var ap=gi,cp=At,fp=TypeError,sp=Ae,lp=l,pp=Zl,yp=function(t){if(ap(t))return t;throw fp(cp(t)+" is not a constructor")},vp=te,dp=tt,hp=Wn,gp=i,bp=ut("Reflect","construct"),mp=Object.prototype,Sp=[].push,Op=gp((function(){function t(){}return!(bp((function(){}),[],t)instanceof t)})),wp=!gp((function(){bp((function(){}))})),jp=Op||wp;sp({target:"Reflect",stat:!0,forced:jp,sham:jp},{construct:function(t,r){yp(t),vp(r);var e=arguments.length<3?t:yp(arguments[2]);if(wp&&!Op)return bp(t,r,e);if(t==e){switch(r.length){case 0:return new t;case 1:return new t(r[0]);case 2:return new t(r[0],r[1]);case 3:return new t(r[0],r[1],r[2]);case 4:return new t(r[0],r[1],r[2],r[3])}var n=[null];return lp(Sp,n,r),new(lp(pp,t,n))}var o=e.prototype,i=hp(dp(o)?o:mp),u=lp(t,i,r);return dp(u)?u:i}});var Pp=e(rt.Reflect.construct),Tp=Ut,Ap=Ic,Ep=Lc;Ae({target:"Object",stat:!0,forced:i((function(){Ap(1)})),sham:!Ep},{getPrototypeOf:function(t){return Ap(Tp(t))}});var _p=e(rt.Object.getPrototypeOf);function Lp(t){var r;return(Lp=Wl?ip(r=_p).call(r):function(t){return t.__proto__||_p(t)})(t)}function Rp(t,r){if(r&&("object"===Cl(r)||"function"==typeof r))return r;if(void 0!==r)throw new TypeError("Derived constructors may only return object or undefined");return function(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}(t)}function xp(t){var r=function(){if("undefined"==typeof Reflect||!Pp)return!1;if(Pp.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Pp(Boolean,[],(function(){}))),!0}catch(t){return!1}}();return function(){var e,n=Lp(t);if(r){var o=Lp(this).constructor;e=Pp(n,arguments,o)}else e=n.apply(this,arguments);return Rp(this,e)}}var Fp=He.includes;Ae({target:"Array",proto:!0,forced:i((function(){return!Array(1).includes()}))},{includes:function(t){return Fp(this,t,arguments.length>1?arguments[1]:void 0)}});var Cp=Wa("Array").includes,Dp=tt,Mp=S,kp=sr("match"),Ip=function(t){var r;return Dp(t)&&(void 0!==(r=t[kp])?!!r:"RegExp"==Mp(t))},Np=TypeError,Vp=sr("match"),Gp=Ae,Bp=function(t){if(Ip(t))throw Np("The method doesn't accept regular expressions");return t},Wp=J,Hp=hn,zp=function(t){var r=/./;try{"/./"[t](r)}catch(e){try{return r[Vp]=!1,"/./"[t](r)}catch(n){}}return!1},Kp=h("".indexOf);Gp({target:"String",proto:!0,forced:!zp("includes")},{includes:function(t){return!!~Kp(Hp(Wp(this)),Hp(Bp(t)),arguments.length>1?arguments[1]:void 0)}});var Yp=Wa("String").includes,Up=at,Jp=Cp,qp=Yp,Xp=Array.prototype,$p=String.prototype,Qp=e((function(t){var r=t.includes;return t===Xp||Up(Xp,t)&&r===Xp.includes?Jp:"string"==typeof t||t===$p||Up($p,t)&&r===$p.includes?qp:r})),Zp=new t.Logger("VeStrategy-adapt-range");return function(r){!function(t,r){if("function"!=typeof r&&null!==r)throw new TypeError("Super expression must either be null or a function");t.prototype=Bl(r&&r.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),Ts(t,"prototype",{writable:!1}),r&&up(t,r)}(u,r);var e,n,o,i=xp(u);function u(t){var r,e;return function(t,r){if(!(t instanceof r))throw new TypeError("Cannot call a class as a function")}(this,u),e=i.call(this,t),Zp.update(null===(r=t.ctx.dataCenter)||void 0===r||null===(r=r.getAppConfig())||void 0===r?void 0:r.log),Zp.info("VeStrategyAdaptRangeInit"),e}return e=u,o=[{key:"strategyName",get:function(){return t.StrategyEnums.adaptRange}}],(n=[{key:"getRecommendation",value:function(r){var e,n;if(null===(e=this.config)||void 0===e||!e.enable)return{plugins:[],pluginConfiguration:{},result:{enable:!1}};var o={plugins:[],pluginConfiguration:{},result:{enable:!1}};if(null!=r&&r.vtype&&Qp(n=[t.VType.DASH,t.VType.MP4]).call(n,r.vtype)){var i=this.adaptRange(r);o.result={_vtype:r.vtype,enable:!!i,options:i}}return o}},{key:"adaptRange",value:function(r){var e,n;if(null===(e=this.config)||void 0===e||!e.enable||null==r||!r.vtype||!Qp(n=[t.VType.DASH,t.VType.MP4]).call(n,r.vtype))return Zp.info("adaptRangeNotEnableOrIllegalVType",r),null;var o=this.ctx.featureCenter.getFeatureList(),i=this.config[r.vtype]||{};if(r.videoLabel&&i[r.videoLabel]&&(i=Nl(Nl({},i),i[r.videoLabel])),this.config.whiteList){var u=t.kvMatch.getConfigWithRule(this.config.whiteList,{browserVersion:o.browserVersion,CPUCore:o.cpuCore,browserName:o.browserName,vtype:r.vtype,duration:r.duration});Zp.info("adaptRangeKvMatch",u),u&&(i=Nl(Nl({},i),u))}return i}}])&&Vl(e.prototype,n),o&&Vl(e,o),Ts(e,"prototype",{writable:!1}),u}(t.BaseStrategy)}));
@@ -1 +0,0 @@
1
- !function(t,e){"object"==typeof exports&&"undefined"!=typeof module?module.exports=e(require("@byted/vestrategy-base")):"function"==typeof define&&define.amd?define(["@byted/vestrategy-base"],e):(t="undefined"!=typeof globalThis?globalThis:t||self).__VESTRATEGY_STRATEGY_H265__=e(t.__VESTRATEGY_BASE__)}(this,(function(t){"use strict";var e="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:{};function r(t){return t&&t.__esModule&&Object.prototype.hasOwnProperty.call(t,"default")?t.default:t}var n=function(t){return t&&t.Math==Math&&t},o=n("object"==typeof globalThis&&globalThis)||n("object"==typeof window&&window)||n("object"==typeof self&&self)||n("object"==typeof e&&e)||function(){return this}()||e||Function("return this")(),i=function(t){try{return!!t()}catch(e){return!0}},a=!i((function(){var t=function(){}.bind();return"function"!=typeof t||t.hasOwnProperty("prototype")})),u=a,c=Function.prototype,f=c.apply,s=c.call,l="object"==typeof Reflect&&Reflect.apply||(u?s.bind(f):function(){return s.apply(f,arguments)}),p=a,v=Function.prototype,h=v.call,d=p&&v.bind.bind(h,h),y=p?d:function(t){return function(){return h.apply(t,arguments)}},g=y,m=g({}.toString),b=g("".slice),w=function(t){return b(m(t),8,-1)},S=w,O=y,E=function(t){if("Function"===S(t))return O(t)},j="object"==typeof document&&document.all,T={all:j,IS_HTMLDDA:void 0===j&&void 0!==j},x=T.all,_=T.IS_HTMLDDA?function(t){return"function"==typeof t||t===x}:function(t){return"function"==typeof t},P={},A=!i((function(){return 7!=Object.defineProperty({},1,{get:function(){return 7}})[1]})),L=a,R=Function.prototype.call,k=L?R.bind(R):function(){return R.apply(R,arguments)},I={},C={}.propertyIsEnumerable,N=Object.getOwnPropertyDescriptor,M=N&&!C.call({1:2},1);I.f=M?function(t){var e=N(this,t);return!!e&&e.enumerable}:C;var D,F,G=function(t,e){return{enumerable:!(1&t),configurable:!(2&t),writable:!(4&t),value:e}},B=i,U=w,V=Object,H=y("".split),Y=B((function(){return!V("z").propertyIsEnumerable(0)}))?function(t){return"String"==U(t)?H(t,""):V(t)}:V,z=function(t){return null==t},K=z,W=TypeError,J=function(t){if(K(t))throw W("Can't call method on "+t);return t},q=Y,$=J,X=function(t){return q($(t))},Q=_,Z=T.all,tt=T.IS_HTMLDDA?function(t){return"object"==typeof t?null!==t:Q(t)||t===Z}:function(t){return"object"==typeof t?null!==t:Q(t)},et={},rt=et,nt=o,ot=_,it=function(t){return ot(t)?t:void 0},at=function(t,e){return arguments.length<2?it(rt[t])||it(nt[t]):rt[t]&&rt[t][e]||nt[t]&&nt[t][e]},ut=y({}.isPrototypeOf),ct="undefined"!=typeof navigator&&String(navigator.userAgent)||"",ft=o,st=ct,lt=ft.process,pt=ft.Deno,vt=lt&&lt.versions||pt&&pt.version,ht=vt&&vt.v8;ht&&(F=(D=ht.split("."))[0]>0&&D[0]<4?1:+(D[0]+D[1])),!F&&st&&(!(D=st.match(/Edge\/(\d+)/))||D[1]>=74)&&(D=st.match(/Chrome\/(\d+)/))&&(F=+D[1]);var dt=F,yt=dt,gt=i,mt=o.String,bt=!!Object.getOwnPropertySymbols&&!gt((function(){var t=Symbol();return!mt(t)||!(Object(t)instanceof Symbol)||!Symbol.sham&&yt&&yt<41})),wt=bt&&!Symbol.sham&&"symbol"==typeof Symbol.iterator,St=at,Ot=_,Et=ut,jt=Object,Tt=wt?function(t){return"symbol"==typeof t}:function(t){var e=St("Symbol");return Ot(e)&&Et(e.prototype,jt(t))},xt=String,_t=function(t){try{return xt(t)}catch(e){return"Object"}},Pt=_,At=_t,Lt=TypeError,Rt=function(t){if(Pt(t))return t;throw Lt(At(t)+" is not a function")},kt=Rt,It=z,Ct=function(t,e){var r=t[e];return It(r)?void 0:kt(r)},Nt=k,Mt=_,Dt=tt,Ft=TypeError,Gt={exports:{}},Bt=o,Ut=Object.defineProperty,Vt=function(t,e){try{Ut(Bt,t,{value:e,configurable:!0,writable:!0})}catch(r){Bt[t]=e}return e},Ht="__core-js_shared__",Yt=o[Ht]||Vt(Ht,{}),zt=Yt;(Gt.exports=function(t,e){return zt[t]||(zt[t]=void 0!==e?e:{})})("versions",[]).push({version:"3.31.1",mode:"pure",copyright:"© 2014-2023 Denis Pushkarev (zloirock.ru)",license:"https://github.com/zloirock/core-js/blob/v3.31.1/LICENSE",source:"https://github.com/zloirock/core-js"});var Kt=Gt.exports,Wt=J,Jt=Object,qt=function(t){return Jt(Wt(t))},$t=qt,Xt=y({}.hasOwnProperty),Qt=Object.hasOwn||function(t,e){return Xt($t(t),e)},Zt=y,te=0,ee=Math.random(),re=Zt(1..toString),ne=function(t){return"Symbol("+(void 0===t?"":t)+")_"+re(++te+ee,36)},oe=Kt,ie=Qt,ae=ne,ue=bt,ce=wt,fe=o.Symbol,se=oe("wks"),le=ce?fe.for||fe:fe&&fe.withoutSetter||ae,pe=function(t){return ie(se,t)||(se[t]=ue&&ie(fe,t)?fe[t]:le("Symbol."+t)),se[t]},ve=k,he=tt,de=Tt,ye=Ct,ge=function(t,e){var r,n;if("string"===e&&Mt(r=t.toString)&&!Dt(n=Nt(r,t)))return n;if(Mt(r=t.valueOf)&&!Dt(n=Nt(r,t)))return n;if("string"!==e&&Mt(r=t.toString)&&!Dt(n=Nt(r,t)))return n;throw Ft("Can't convert object to primitive value")},me=TypeError,be=pe("toPrimitive"),we=function(t,e){if(!he(t)||de(t))return t;var r,n=ye(t,be);if(n){if(void 0===e&&(e="default"),r=ve(n,t,e),!he(r)||de(r))return r;throw me("Can't convert object to primitive value")}return void 0===e&&(e="number"),ge(t,e)},Se=Tt,Oe=function(t){var e=we(t,"string");return Se(e)?e:e+""},Ee=tt,je=o.document,Te=Ee(je)&&Ee(je.createElement),xe=function(t){return Te?je.createElement(t):{}},_e=xe,Pe=!A&&!i((function(){return 7!=Object.defineProperty(_e("div"),"a",{get:function(){return 7}}).a})),Ae=A,Le=k,Re=I,ke=G,Ie=X,Ce=Oe,Ne=Qt,Me=Pe,De=Object.getOwnPropertyDescriptor;P.f=Ae?De:function(t,e){if(t=Ie(t),e=Ce(e),Me)try{return De(t,e)}catch(r){}if(Ne(t,e))return ke(!Le(Re.f,t,e),t[e])};var Fe=i,Ge=_,Be=/#|\.prototype\./,Ue=function(t,e){var r=He[Ve(t)];return r==ze||r!=Ye&&(Ge(e)?Fe(e):!!e)},Ve=Ue.normalize=function(t){return String(t).replace(Be,".").toLowerCase()},He=Ue.data={},Ye=Ue.NATIVE="N",ze=Ue.POLYFILL="P",Ke=Ue,We=Rt,Je=a,qe=E(E.bind),$e=function(t,e){return We(t),void 0===e?t:Je?qe(t,e):function(){return t.apply(e,arguments)}},Xe={},Qe=A&&i((function(){return 42!=Object.defineProperty((function(){}),"prototype",{value:42,writable:!1}).prototype})),Ze=tt,tr=String,er=TypeError,rr=function(t){if(Ze(t))return t;throw er(tr(t)+" is not an object")},nr=A,or=Pe,ir=Qe,ar=rr,ur=Oe,cr=TypeError,fr=Object.defineProperty,sr=Object.getOwnPropertyDescriptor,lr="enumerable",pr="configurable",vr="writable";Xe.f=nr?ir?function(t,e,r){if(ar(t),e=ur(e),ar(r),"function"==typeof t&&"prototype"===e&&"value"in r&&vr in r&&!r[vr]){var n=sr(t,e);n&&n[vr]&&(t[e]=r.value,r={configurable:pr in r?r[pr]:n[pr],enumerable:lr in r?r[lr]:n[lr],writable:!1})}return fr(t,e,r)}:fr:function(t,e,r){if(ar(t),e=ur(e),ar(r),or)try{return fr(t,e,r)}catch(n){}if("get"in r||"set"in r)throw cr("Accessors not supported");return"value"in r&&(t[e]=r.value),t};var hr=Xe,dr=G,yr=A?function(t,e,r){return hr.f(t,e,dr(1,r))}:function(t,e,r){return t[e]=r,t},gr=o,mr=l,br=E,wr=_,Sr=P.f,Or=Ke,Er=et,jr=$e,Tr=yr,xr=Qt,_r=function(t){var e=function(r,n,o){if(this instanceof e){switch(arguments.length){case 0:return new t;case 1:return new t(r);case 2:return new t(r,n)}return new t(r,n,o)}return mr(t,this,arguments)};return e.prototype=t.prototype,e},Pr=function(t,e){var r,n,o,i,a,u,c,f,s,l=t.target,p=t.global,v=t.stat,h=t.proto,d=p?gr:v?gr[l]:(gr[l]||{}).prototype,y=p?Er:Er[l]||Tr(Er,l,{})[l],g=y.prototype;for(i in e)n=!(r=Or(p?i:l+(v?".":"#")+i,t.forced))&&d&&xr(d,i),u=y[i],n&&(c=t.dontCallGetSet?(s=Sr(d,i))&&s.value:d[i]),a=n&&c?c:e[i],n&&typeof u==typeof a||(f=t.bind&&n?jr(a,gr):t.wrap&&n?_r(a):h&&wr(a)?br(a):a,(t.sham||a&&a.sham||u&&u.sham)&&Tr(f,"sham",!0),Tr(y,i,f),h&&(xr(Er,o=l+"Prototype")||Tr(Er,o,{}),Tr(Er[o],i,a),t.real&&g&&(r||!g[i])&&Tr(g,i,a)))},Ar=w,Lr=Array.isArray||function(t){return"Array"==Ar(t)},Rr=Math.ceil,kr=Math.floor,Ir=Math.trunc||function(t){var e=+t;return(e>0?kr:Rr)(e)},Cr=function(t){var e=+t;return e!=e||0===e?0:Ir(e)},Nr=Cr,Mr=Math.min,Dr=function(t){return t>0?Mr(Nr(t),9007199254740991):0},Fr=function(t){return Dr(t.length)},Gr=TypeError,Br=function(t){if(t>9007199254740991)throw Gr("Maximum allowed index exceeded");return t},Ur=Oe,Vr=Xe,Hr=G,Yr=function(t,e,r){var n=Ur(e);n in t?Vr.f(t,n,Hr(0,r)):t[n]=r},zr={};zr[pe("toStringTag")]="z";var Kr="[object z]"===String(zr),Wr=Kr,Jr=_,qr=w,$r=pe("toStringTag"),Xr=Object,Qr="Arguments"==qr(function(){return arguments}()),Zr=Wr?qr:function(t){var e,r,n;return void 0===t?"Undefined":null===t?"Null":"string"==typeof(r=function(t,e){try{return t[e]}catch(r){}}(e=Xr(t),$r))?r:Qr?qr(e):"Object"==(n=qr(e))&&Jr(e.callee)?"Arguments":n},tn=_,en=Yt,rn=y(Function.toString);tn(en.inspectSource)||(en.inspectSource=function(t){return rn(t)});var nn=en.inspectSource,on=y,an=i,un=_,cn=Zr,fn=nn,sn=function(){},ln=[],pn=at("Reflect","construct"),vn=/^\s*(?:class|function)\b/,hn=on(vn.exec),dn=!vn.exec(sn),yn=function(t){if(!un(t))return!1;try{return pn(sn,ln,t),!0}catch(e){return!1}},gn=function(t){if(!un(t))return!1;switch(cn(t)){case"AsyncFunction":case"GeneratorFunction":case"AsyncGeneratorFunction":return!1}try{return dn||!!hn(vn,fn(t))}catch(e){return!0}};gn.sham=!0;var mn=!pn||an((function(){var t;return yn(yn.call)||!yn(Object)||!yn((function(){t=!0}))||t}))?gn:yn,bn=Lr,wn=mn,Sn=tt,On=pe("species"),En=Array,jn=function(t){var e;return bn(t)&&(e=t.constructor,(wn(e)&&(e===En||bn(e.prototype))||Sn(e)&&null===(e=e[On]))&&(e=void 0)),void 0===e?En:e},Tn=function(t,e){return new(jn(t))(0===e?0:e)},xn=i,_n=dt,Pn=pe("species"),An=function(t){return _n>=51||!xn((function(){var e=[];return(e.constructor={})[Pn]=function(){return{foo:1}},1!==e[t](Boolean).foo}))},Ln=Pr,Rn=i,kn=Lr,In=tt,Cn=qt,Nn=Fr,Mn=Br,Dn=Yr,Fn=Tn,Gn=An,Bn=dt,Un=pe("isConcatSpreadable"),Vn=Bn>=51||!Rn((function(){var t=[];return t[Un]=!1,t.concat()[0]!==t})),Hn=function(t){if(!In(t))return!1;var e=t[Un];return void 0!==e?!!e:kn(t)};Ln({target:"Array",proto:!0,arity:1,forced:!Vn||!Gn("concat")},{concat:function(t){var e,r,n,o,i,a=Cn(this),u=Fn(a,0),c=0;for(e=-1,n=arguments.length;e<n;e++)if(Hn(i=-1===e?a:arguments[e]))for(o=Nn(i),Mn(c+o),r=0;r<o;r++,c++)r in i&&Dn(u,c,i[r]);else Mn(c+1),Dn(u,c++,i);return u.length=c,u}});var Yn=Zr,zn=String,Kn=function(t){if("Symbol"===Yn(t))throw TypeError("Cannot convert a Symbol value to a string");return zn(t)},Wn={},Jn=Cr,qn=Math.max,$n=Math.min,Xn=function(t,e){var r=Jn(t);return r<0?qn(r+e,0):$n(r,e)},Qn=X,Zn=Xn,to=Fr,eo=function(t){return function(e,r,n){var o,i=Qn(e),a=to(i),u=Zn(n,a);if(t&&r!=r){for(;a>u;)if((o=i[u++])!=o)return!0}else for(;a>u;u++)if((t||u in i)&&i[u]===r)return t||u||0;return!t&&-1}},ro={includes:eo(!0),indexOf:eo(!1)},no={},oo=Qt,io=X,ao=ro.indexOf,uo=no,co=y([].push),fo=function(t,e){var r,n=io(t),o=0,i=[];for(r in n)!oo(uo,r)&&oo(n,r)&&co(i,r);for(;e.length>o;)oo(n,r=e[o++])&&(~ao(i,r)||co(i,r));return i},so=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"],lo=fo,po=so,vo=Object.keys||function(t){return lo(t,po)},ho=A,yo=Qe,go=Xe,mo=rr,bo=X,wo=vo;Wn.f=ho&&!yo?Object.defineProperties:function(t,e){mo(t);for(var r,n=bo(e),o=wo(e),i=o.length,a=0;i>a;)go.f(t,r=o[a++],n[r]);return t};var So,Oo=at("document","documentElement"),Eo=ne,jo=Kt("keys"),To=function(t){return jo[t]||(jo[t]=Eo(t))},xo=rr,_o=Wn,Po=so,Ao=no,Lo=Oo,Ro=xe,ko="prototype",Io="script",Co=To("IE_PROTO"),No=function(){},Mo=function(t){return"<"+Io+">"+t+"</"+Io+">"},Do=function(t){t.write(Mo("")),t.close();var e=t.parentWindow.Object;return t=null,e},Fo=function(){try{So=new ActiveXObject("htmlfile")}catch(o){}var t,e,r;Fo="undefined"!=typeof document?document.domain&&So?Do(So):(e=Ro("iframe"),r="java"+Io+":",e.style.display="none",Lo.appendChild(e),e.src=String(r),(t=e.contentWindow.document).open(),t.write(Mo("document.F=Object")),t.close(),t.F):Do(So);for(var n=Po.length;n--;)delete Fo[ko][Po[n]];return Fo()};Ao[Co]=!0;var Go=Object.create||function(t,e){var r;return null!==t?(No[ko]=xo(t),r=new No,No[ko]=null,r[Co]=t):r=Fo(),void 0===e?r:_o.f(r,e)},Bo={},Uo=fo,Vo=so.concat("length","prototype");Bo.f=Object.getOwnPropertyNames||function(t){return Uo(t,Vo)};var Ho={},Yo=Xn,zo=Fr,Ko=Yr,Wo=Array,Jo=Math.max,qo=w,$o=X,Xo=Bo.f,Qo=function(t,e,r){for(var n=zo(t),o=Yo(e,n),i=Yo(void 0===r?n:r,n),a=Wo(Jo(i-o,0)),u=0;o<i;o++,u++)Ko(a,u,t[o]);return a.length=u,a},Zo="object"==typeof window&&window&&Object.getOwnPropertyNames?Object.getOwnPropertyNames(window):[];Ho.f=function(t){return Zo&&"Window"==qo(t)?function(t){try{return Xo(t)}catch(e){return Qo(Zo)}}(t):Xo($o(t))};var ti={};ti.f=Object.getOwnPropertySymbols;var ei=yr,ri=function(t,e,r,n){return n&&n.enumerable?t[e]=r:ei(t,e,r),t},ni=Xe,oi=function(t,e,r){return ni.f(t,e,r)},ii={},ai=pe;ii.f=ai;var ui,ci,fi,si=et,li=Qt,pi=ii,vi=Xe.f,hi=function(t){var e=si.Symbol||(si.Symbol={});li(e,t)||vi(e,t,{value:pi.f(t)})},di=k,yi=at,gi=pe,mi=ri,bi=function(){var t=yi("Symbol"),e=t&&t.prototype,r=e&&e.valueOf,n=gi("toPrimitive");e&&!e[n]&&mi(e,n,(function(t){return di(r,this)}),{arity:1})},wi=Zr,Si=Kr?{}.toString:function(){return"[object "+wi(this)+"]"},Oi=Kr,Ei=Xe.f,ji=yr,Ti=Qt,xi=Si,_i=pe("toStringTag"),Pi=function(t,e,r,n){if(t){var o=r?t:t.prototype;Ti(o,_i)||Ei(o,_i,{configurable:!0,value:e}),n&&!Oi&&ji(o,"toString",xi)}},Ai=_,Li=o.WeakMap,Ri=Ai(Li)&&/native code/.test(String(Li)),ki=o,Ii=tt,Ci=yr,Ni=Qt,Mi=Yt,Di=To,Fi=no,Gi="Object already initialized",Bi=ki.TypeError,Ui=ki.WeakMap;if(Ri||Mi.state){var Vi=Mi.state||(Mi.state=new Ui);Vi.get=Vi.get,Vi.has=Vi.has,Vi.set=Vi.set,ui=function(t,e){if(Vi.has(t))throw Bi(Gi);return e.facade=t,Vi.set(t,e),e},ci=function(t){return Vi.get(t)||{}},fi=function(t){return Vi.has(t)}}else{var Hi=Di("state");Fi[Hi]=!0,ui=function(t,e){if(Ni(t,Hi))throw Bi(Gi);return e.facade=t,Ci(t,Hi,e),e},ci=function(t){return Ni(t,Hi)?t[Hi]:{}},fi=function(t){return Ni(t,Hi)}}var Yi={set:ui,get:ci,has:fi,enforce:function(t){return fi(t)?ci(t):ui(t,{})},getterFor:function(t){return function(e){var r;if(!Ii(e)||(r=ci(e)).type!==t)throw Bi("Incompatible receiver, "+t+" required");return r}}},zi=$e,Ki=Y,Wi=qt,Ji=Fr,qi=Tn,$i=y([].push),Xi=function(t){var e=1==t,r=2==t,n=3==t,o=4==t,i=6==t,a=7==t,u=5==t||i;return function(c,f,s,l){for(var p,v,h=Wi(c),d=Ki(h),y=zi(f,s),g=Ji(d),m=0,b=l||qi,w=e?b(c,g):r||a?b(c,0):void 0;g>m;m++)if((u||m in d)&&(v=y(p=d[m],m,h),t))if(e)w[m]=v;else if(v)switch(t){case 3:return!0;case 5:return p;case 6:return m;case 2:$i(w,p)}else switch(t){case 4:return!1;case 7:$i(w,p)}return i?-1:n||o?o:w}},Qi={forEach:Xi(0),map:Xi(1),filter:Xi(2),some:Xi(3),every:Xi(4),find:Xi(5),findIndex:Xi(6),filterReject:Xi(7)},Zi=Pr,ta=o,ea=k,ra=y,na=A,oa=bt,ia=i,aa=Qt,ua=ut,ca=rr,fa=X,sa=Oe,la=Kn,pa=G,va=Go,ha=vo,da=Bo,ya=Ho,ga=ti,ma=P,ba=Xe,wa=Wn,Sa=I,Oa=ri,Ea=oi,ja=Kt,Ta=no,xa=ne,_a=pe,Pa=ii,Aa=hi,La=bi,Ra=Pi,ka=Yi,Ia=Qi.forEach,Ca=To("hidden"),Na="Symbol",Ma="prototype",Da=ka.set,Fa=ka.getterFor(Na),Ga=Object[Ma],Ba=ta.Symbol,Ua=Ba&&Ba[Ma],Va=ta.TypeError,Ha=ta.QObject,Ya=ma.f,za=ba.f,Ka=ya.f,Wa=Sa.f,Ja=ra([].push),qa=ja("symbols"),$a=ja("op-symbols"),Xa=ja("wks"),Qa=!Ha||!Ha[Ma]||!Ha[Ma].findChild,Za=na&&ia((function(){return 7!=va(za({},"a",{get:function(){return za(this,"a",{value:7}).a}})).a}))?function(t,e,r){var n=Ya(Ga,e);n&&delete Ga[e],za(t,e,r),n&&t!==Ga&&za(Ga,e,n)}:za,tu=function(t,e){var r=qa[t]=va(Ua);return Da(r,{type:Na,tag:t,description:e}),na||(r.description=e),r},eu=function(t,e,r){t===Ga&&eu($a,e,r),ca(t);var n=sa(e);return ca(r),aa(qa,n)?(r.enumerable?(aa(t,Ca)&&t[Ca][n]&&(t[Ca][n]=!1),r=va(r,{enumerable:pa(0,!1)})):(aa(t,Ca)||za(t,Ca,pa(1,{})),t[Ca][n]=!0),Za(t,n,r)):za(t,n,r)},ru=function(t,e){ca(t);var r=fa(e),n=ha(r).concat(au(r));return Ia(n,(function(e){na&&!ea(nu,r,e)||eu(t,e,r[e])})),t},nu=function(t){var e=sa(t),r=ea(Wa,this,e);return!(this===Ga&&aa(qa,e)&&!aa($a,e))&&(!(r||!aa(this,e)||!aa(qa,e)||aa(this,Ca)&&this[Ca][e])||r)},ou=function(t,e){var r=fa(t),n=sa(e);if(r!==Ga||!aa(qa,n)||aa($a,n)){var o=Ya(r,n);return!o||!aa(qa,n)||aa(r,Ca)&&r[Ca][n]||(o.enumerable=!0),o}},iu=function(t){var e=Ka(fa(t)),r=[];return Ia(e,(function(t){aa(qa,t)||aa(Ta,t)||Ja(r,t)})),r},au=function(t){var e=t===Ga,r=Ka(e?$a:fa(t)),n=[];return Ia(r,(function(t){!aa(qa,t)||e&&!aa(Ga,t)||Ja(n,qa[t])})),n};oa||(Ba=function(){if(ua(Ua,this))throw Va("Symbol is not a constructor");var t=arguments.length&&void 0!==arguments[0]?la(arguments[0]):void 0,e=xa(t),r=function(t){this===Ga&&ea(r,$a,t),aa(this,Ca)&&aa(this[Ca],e)&&(this[Ca][e]=!1),Za(this,e,pa(1,t))};return na&&Qa&&Za(Ga,e,{configurable:!0,set:r}),tu(e,t)},Oa(Ua=Ba[Ma],"toString",(function(){return Fa(this).tag})),Oa(Ba,"withoutSetter",(function(t){return tu(xa(t),t)})),Sa.f=nu,ba.f=eu,wa.f=ru,ma.f=ou,da.f=ya.f=iu,ga.f=au,Pa.f=function(t){return tu(_a(t),t)},na&&Ea(Ua,"description",{configurable:!0,get:function(){return Fa(this).description}})),Zi({global:!0,constructor:!0,wrap:!0,forced:!oa,sham:!oa},{Symbol:Ba}),Ia(ha(Xa),(function(t){Aa(t)})),Zi({target:Na,stat:!0,forced:!oa},{useSetter:function(){Qa=!0},useSimple:function(){Qa=!1}}),Zi({target:"Object",stat:!0,forced:!oa,sham:!na},{create:function(t,e){return void 0===e?va(t):ru(va(t),e)},defineProperty:eu,defineProperties:ru,getOwnPropertyDescriptor:ou}),Zi({target:"Object",stat:!0,forced:!oa},{getOwnPropertyNames:iu}),La(),Ra(Ba,Na),Ta[Ca]=!0;var uu=bt&&!!Symbol.for&&!!Symbol.keyFor,cu=Pr,fu=at,su=Qt,lu=Kn,pu=Kt,vu=uu,hu=pu("string-to-symbol-registry"),du=pu("symbol-to-string-registry");cu({target:"Symbol",stat:!0,forced:!vu},{for:function(t){var e=lu(t);if(su(hu,e))return hu[e];var r=fu("Symbol")(e);return hu[e]=r,du[r]=e,r}});var yu=Pr,gu=Qt,mu=Tt,bu=_t,wu=uu,Su=Kt("symbol-to-string-registry");yu({target:"Symbol",stat:!0,forced:!wu},{keyFor:function(t){if(!mu(t))throw TypeError(bu(t)+" is not a symbol");if(gu(Su,t))return Su[t]}});var Ou=y([].slice),Eu=Lr,ju=_,Tu=w,xu=Kn,_u=y([].push),Pu=Pr,Au=at,Lu=l,Ru=k,ku=y,Iu=i,Cu=_,Nu=Tt,Mu=Ou,Du=function(t){if(ju(t))return t;if(Eu(t)){for(var e=t.length,r=[],n=0;n<e;n++){var o=t[n];"string"==typeof o?_u(r,o):"number"!=typeof o&&"Number"!=Tu(o)&&"String"!=Tu(o)||_u(r,xu(o))}var i=r.length,a=!0;return function(t,e){if(a)return a=!1,e;if(Eu(this))return e;for(var n=0;n<i;n++)if(r[n]===t)return e}}},Fu=bt,Gu=String,Bu=Au("JSON","stringify"),Uu=ku(/./.exec),Vu=ku("".charAt),Hu=ku("".charCodeAt),Yu=ku("".replace),zu=ku(1..toString),Ku=/[\uD800-\uDFFF]/g,Wu=/^[\uD800-\uDBFF]$/,Ju=/^[\uDC00-\uDFFF]$/,qu=!Fu||Iu((function(){var t=Au("Symbol")();return"[null]"!=Bu([t])||"{}"!=Bu({a:t})||"{}"!=Bu(Object(t))})),$u=Iu((function(){return'"\\udf06\\ud834"'!==Bu("\udf06\ud834")||'"\\udead"'!==Bu("\udead")})),Xu=function(t,e){var r=Mu(arguments),n=Du(e);if(Cu(n)||void 0!==t&&!Nu(t))return r[1]=function(t,e){if(Cu(n)&&(e=Ru(n,this,Gu(t),e)),!Nu(e))return e},Lu(Bu,null,r)},Qu=function(t,e,r){var n=Vu(r,e-1),o=Vu(r,e+1);return Uu(Wu,t)&&!Uu(Ju,o)||Uu(Ju,t)&&!Uu(Wu,n)?"\\u"+zu(Hu(t,0),16):t};Bu&&Pu({target:"JSON",stat:!0,arity:3,forced:qu||$u},{stringify:function(t,e,r){var n=Mu(arguments),o=Lu(qu?Xu:Bu,null,n);return $u&&"string"==typeof o?Yu(o,Ku,Qu):o}});var Zu=ti,tc=qt;Pr({target:"Object",stat:!0,forced:!bt||i((function(){Zu.f(1)}))},{getOwnPropertySymbols:function(t){var e=Zu.f;return e?e(tc(t)):[]}}),hi("asyncIterator"),hi("hasInstance"),hi("isConcatSpreadable"),hi("iterator"),hi("match"),hi("matchAll"),hi("replace"),hi("search"),hi("species"),hi("split");var ec=bi;hi("toPrimitive"),ec();var rc=at,nc=Pi;hi("toStringTag"),nc(rc("Symbol"),"Symbol"),hi("unscopables"),Pi(o.JSON,"JSON",!0);var oc,ic,ac,uc=et.Symbol,cc={},fc=A,sc=Qt,lc=Function.prototype,pc=fc&&Object.getOwnPropertyDescriptor,vc=sc(lc,"name"),hc={EXISTS:vc,PROPER:vc&&"something"===function(){}.name,CONFIGURABLE:vc&&(!fc||fc&&pc(lc,"name").configurable)},dc=!i((function(){function t(){}return t.prototype.constructor=null,Object.getPrototypeOf(new t)!==t.prototype})),yc=Qt,gc=_,mc=qt,bc=dc,wc=To("IE_PROTO"),Sc=Object,Oc=Sc.prototype,Ec=bc?Sc.getPrototypeOf:function(t){var e=mc(t);if(yc(e,wc))return e[wc];var r=e.constructor;return gc(r)&&e instanceof r?r.prototype:e instanceof Sc?Oc:null},jc=i,Tc=_,xc=tt,_c=Go,Pc=Ec,Ac=ri,Lc=pe("iterator"),Rc=!1;[].keys&&("next"in(ac=[].keys())?(ic=Pc(Pc(ac)))!==Object.prototype&&(oc=ic):Rc=!0);var kc=!xc(oc)||jc((function(){var t={};return oc[Lc].call(t)!==t}));Tc((oc=kc?{}:_c(oc))[Lc])||Ac(oc,Lc,(function(){return this}));var Ic={IteratorPrototype:oc,BUGGY_SAFARI_ITERATORS:Rc},Cc=Ic.IteratorPrototype,Nc=Go,Mc=G,Dc=Pi,Fc=cc,Gc=function(){return this},Bc=y,Uc=Rt,Vc=_,Hc=String,Yc=TypeError,zc=function(t,e,r){try{return Bc(Uc(Object.getOwnPropertyDescriptor(t,e)[r]))}catch(n){}},Kc=rr,Wc=function(t){if("object"==typeof t||Vc(t))return t;throw Yc("Can't set "+Hc(t)+" as a prototype")},Jc=Object.setPrototypeOf||("__proto__"in{}?function(){var t,e=!1,r={};try{(t=zc(Object.prototype,"__proto__","set"))(r,[]),e=r instanceof Array}catch(n){}return function(r,n){return Kc(r),Wc(n),e?t(r,n):r.__proto__=n,r}}():void 0),qc=Pr,$c=k,Xc=hc,Qc=function(t,e,r,n){var o=e+" Iterator";return t.prototype=Nc(Cc,{next:Mc(+!n,r)}),Dc(t,o,!1,!0),Fc[o]=Gc,t},Zc=Ec,tf=Pi,ef=ri,rf=cc,nf=Ic,of=Xc.PROPER,af=nf.BUGGY_SAFARI_ITERATORS,uf=pe("iterator"),cf="keys",ff="values",sf="entries",lf=function(){return this},pf=function(t,e,r,n,o,i,a){Qc(r,e,n);var u,c,f,s=function(t){if(t===o&&d)return d;if(!af&&t in v)return v[t];switch(t){case cf:case ff:case sf:return function(){return new r(this,t)}}return function(){return new r(this)}},l=e+" Iterator",p=!1,v=t.prototype,h=v[uf]||v["@@iterator"]||o&&v[o],d=!af&&h||s(o),y="Array"==e&&v.entries||h;if(y&&(u=Zc(y.call(new t)))!==Object.prototype&&u.next&&(tf(u,l,!0,!0),rf[l]=lf),of&&o==ff&&h&&h.name!==ff&&(p=!0,d=function(){return $c(h,this)}),o)if(c={values:s(ff),keys:i?d:s(cf),entries:s(sf)},a)for(f in c)(af||p||!(f in v))&&ef(v,f,c[f]);else qc({target:e,proto:!0,forced:af||p},c);return a&&v[uf]!==d&&ef(v,uf,d,{name:o}),rf[e]=d,c},vf=function(t,e){return{value:t,done:e}},hf=X,df=cc,yf=Yi;Xe.f;var gf=pf,mf=vf,bf="Array Iterator",wf=yf.set,Sf=yf.getterFor(bf);gf(Array,"Array",(function(t,e){wf(this,{type:bf,target:hf(t),index:0,kind:e})}),(function(){var t=Sf(this),e=t.target,r=t.kind,n=t.index++;return!e||n>=e.length?(t.target=void 0,mf(void 0,!0)):mf("keys"==r?n:"values"==r?e[n]:[n,e[n]],!1)}),"values"),df.Arguments=df.Array;var Of={CSSRuleList:0,CSSStyleDeclaration:0,CSSValueList:0,ClientRectList:0,DOMRectList:0,DOMStringList:0,DOMTokenList:1,DataTransferItemList:0,FileList:0,HTMLAllCollection:0,HTMLCollection:0,HTMLFormElement:0,HTMLSelectElement:0,MediaList:0,MimeTypeArray:0,NamedNodeMap:0,NodeList:1,PaintRequestList:0,Plugin:0,PluginArray:0,SVGLengthList:0,SVGNumberList:0,SVGPathSegList:0,SVGPointList:0,SVGStringList:0,SVGTransformList:0,SourceBufferList:0,StyleSheetList:0,TextTrackCueList:0,TextTrackList:0,TouchList:0},Ef=o,jf=Zr,Tf=yr,xf=cc,_f=pe("toStringTag");for(var Pf in Of){var Af=Ef[Pf],Lf=Af&&Af.prototype;Lf&&jf(Lf)!==_f&&Tf(Lf,_f,Pf),xf[Pf]=xf.Array}var Rf=uc,kf=pe,If=Xe.f,Cf=kf("metadata"),Nf=Function.prototype;void 0===Nf[Cf]&&If(Nf,Cf,{value:null}),hi("dispose"),hi("metadata");var Mf=Rf;hi("asyncDispose");var Df=y,Ff=at("Symbol"),Gf=Ff.keyFor,Bf=Df(Ff.prototype.valueOf),Uf=Ff.isRegisteredSymbol||function(t){try{return void 0!==Gf(Bf(t))}catch(e){return!1}};Pr({target:"Symbol",stat:!0},{isRegisteredSymbol:Uf});for(var Vf=Kt,Hf=at,Yf=y,zf=Tt,Kf=pe,Wf=Hf("Symbol"),Jf=Wf.isWellKnownSymbol,qf=Hf("Object","getOwnPropertyNames"),$f=Yf(Wf.prototype.valueOf),Xf=Vf("wks"),Qf=0,Zf=qf(Wf),ts=Zf.length;Qf<ts;Qf++)try{var es=Zf[Qf];zf(Wf[es])&&Kf(es)}catch(VI){}var rs=function(t){if(Jf&&Jf(t))return!0;try{for(var e=$f(t),r=0,n=qf(Xf),o=n.length;r<o;r++)if(Xf[n[r]]==e)return!0}catch(VI){}return!1};Pr({target:"Symbol",stat:!0,forced:!0},{isWellKnownSymbol:rs}),hi("matcher"),hi("observable"),Pr({target:"Symbol",stat:!0,name:"isRegisteredSymbol"},{isRegistered:Uf}),Pr({target:"Symbol",stat:!0,name:"isWellKnownSymbol",forced:!0},{isWellKnown:rs}),hi("metadataKey"),hi("patternMatch"),hi("replaceAll");var ns=Mf,os=r(ns),is=y,as=Cr,us=Kn,cs=J,fs=is("".charAt),ss=is("".charCodeAt),ls=is("".slice),ps=function(t){return function(e,r){var n,o,i=us(cs(e)),a=as(r),u=i.length;return a<0||a>=u?t?"":void 0:(n=ss(i,a))<55296||n>56319||a+1===u||(o=ss(i,a+1))<56320||o>57343?t?fs(i,a):n:t?ls(i,a,a+2):o-56320+(n-55296<<10)+65536}},vs={codeAt:ps(!1),charAt:ps(!0)}.charAt,hs=Kn,ds=Yi,ys=pf,gs=vf,ms="String Iterator",bs=ds.set,ws=ds.getterFor(ms);ys(String,"String",(function(t){bs(this,{type:ms,string:hs(t),index:0})}),(function(){var t,e=ws(this),r=e.string,n=e.index;return n>=r.length?gs(void 0,!0):(t=vs(r,n),e.index+=t.length,gs(t,!1))}));var Ss=r(ii.f("iterator"));function Os(t){return(Os="function"==typeof os&&"symbol"==typeof Ss?function(t){return typeof t}:function(t){return t&&"function"==typeof os&&t.constructor===os&&t!==os.prototype?"symbol":typeof t})(t)}var Es={exports:{}},js=Pr,Ts=A,xs=Xe.f;js({target:"Object",stat:!0,forced:Object.defineProperty!==xs,sham:!Ts},{defineProperty:xs});var _s=et.Object,Ps=Es.exports=function(t,e,r){return _s.defineProperty(t,e,r)};_s.defineProperty.sham&&(Ps.sham=!0);var As=Es.exports,Ls=r(As);Pr({target:"Object",stat:!0,sham:!A},{create:Go});var Rs=et.Object,ks=function(t,e){return Rs.create(t,e)},Is=r(ks),Cs=qt,Ns=Ec,Ms=dc;Pr({target:"Object",stat:!0,forced:i((function(){Ns(1)})),sham:!Ms},{getPrototypeOf:function(t){return Ns(Cs(t))}});var Ds=et.Object.getPrototypeOf,Fs=r(Ds),Gs=i,Bs=Qi.forEach,Us=function(t,e){var r=[][t];return!!r&&Gs((function(){r.call(null,e||function(){return 1},1)}))}("forEach")?[].forEach:function(t){return Bs(this,t,arguments.length>1?arguments[1]:void 0)};Pr({target:"Array",proto:!0,forced:[].forEach!=Us},{forEach:Us});var Vs=et,Hs=function(t){return Vs[t+"Prototype"]},Ys=Hs("Array").forEach,zs=Zr,Ks=Qt,Ws=ut,Js=Ys,qs=Array.prototype,$s={DOMTokenList:!0,NodeList:!0},Xs=function(t){var e=t.forEach;return t===qs||Ws(qs,t)&&e===qs.forEach||Ks($s,zs(t))?Js:e},Qs=r(Xs),Zs=A,tl=Lr,el=TypeError,rl=Object.getOwnPropertyDescriptor,nl=Zs&&!function(){if(void 0!==this)return!0;try{Object.defineProperty([],"length",{writable:!1}).length=1}catch(VI){return VI instanceof TypeError}}()?function(t,e){if(tl(t)&&!rl(t,"length").writable)throw el("Cannot set read only .length");return t.length=e}:function(t,e){return t.length=e},ol=qt,il=Fr,al=nl,ul=Br;Pr({target:"Array",proto:!0,arity:1,forced:i((function(){return 4294967297!==[].push.call({length:4294967296},1)}))||!function(){try{Object.defineProperty([],"length",{writable:!1}).push()}catch(VI){return VI instanceof TypeError}}()},{push:function(t){var e=ol(this),r=il(e),n=arguments.length;ul(r+n);for(var o=0;o<n;o++)e[r]=arguments[o],r++;return al(e,r),r}});var cl=Hs("Array").push,fl=ut,sl=cl,ll=Array.prototype,pl=r((function(t){var e=t.push;return t===ll||fl(ll,t)&&e===ll.push?sl:e}));Pr({target:"Object",stat:!0},{setPrototypeOf:Jc});var vl=et.Object.setPrototypeOf,hl=r(vl),dl=at,yl=Bo,gl=ti,ml=rr,bl=y([].concat),wl=dl("Reflect","ownKeys")||function(t){var e=yl.f(ml(t)),r=gl.f;return r?bl(e,r(t)):e},Sl=Qt,Ol=wl,El=P,jl=Xe,Tl=tt,xl=yr,_l=Error,Pl=y("".replace),Al=String(_l("zxcasd").stack),Ll=/\n\s*at [^:]*:[^\n]*/,Rl=Ll.test(Al),kl=G,Il=!i((function(){var t=Error("a");return!("stack"in t)||(Object.defineProperty(t,"stack",kl(1,7)),7!==t.stack)})),Cl=yr,Nl=function(t,e){if(Rl&&"string"==typeof t&&!_l.prepareStackTrace)for(;e--;)t=Pl(t,Ll,"");return t},Ml=Il,Dl=Error.captureStackTrace,Fl=cc,Gl=pe("iterator"),Bl=Array.prototype,Ul=Zr,Vl=Ct,Hl=z,Yl=cc,zl=pe("iterator"),Kl=function(t){if(!Hl(t))return Vl(t,zl)||Vl(t,"@@iterator")||Yl[Ul(t)]},Wl=k,Jl=Rt,ql=rr,$l=_t,Xl=Kl,Ql=TypeError,Zl=k,tp=rr,ep=Ct,rp=$e,np=k,op=rr,ip=_t,ap=function(t){return void 0!==t&&(Fl.Array===t||Bl[Gl]===t)},up=Fr,cp=ut,fp=function(t,e){var r=arguments.length<2?Xl(t):e;if(Jl(r))return ql(Wl(r,t));throw Ql($l(t)+" is not iterable")},sp=Kl,lp=function(t,e,r){var n,o;tp(t);try{if(!(n=ep(t,"return"))){if("throw"===e)throw r;return r}n=Zl(n,t)}catch(VI){o=!0,n=VI}if("throw"===e)throw r;if(o)throw n;return tp(n),r},pp=TypeError,vp=function(t,e){this.stopped=t,this.result=e},hp=vp.prototype,dp=function(t,e,r){var n,o,i,a,u,c,f,s=r&&r.that,l=!(!r||!r.AS_ENTRIES),p=!(!r||!r.IS_RECORD),v=!(!r||!r.IS_ITERATOR),h=!(!r||!r.INTERRUPTED),d=rp(e,s),y=function(t){return n&&lp(n,"normal",t),new vp(!0,t)},g=function(t){return l?(op(t),h?d(t[0],t[1],y):d(t[0],t[1])):h?d(t,y):d(t)};if(p)n=t.iterator;else if(v)n=t;else{if(!(o=sp(t)))throw pp(ip(t)+" is not iterable");if(ap(o)){for(i=0,a=up(t);a>i;i++)if((u=g(t[i]))&&cp(hp,u))return u;return new vp(!1)}n=fp(t,o)}for(c=p?t.next:n.next;!(f=np(c,n)).done;){try{u=g(f.value)}catch(VI){lp(n,"throw",VI)}if("object"==typeof u&&u&&cp(hp,u))return u}return new vp(!1)},yp=Kn,gp=Pr,mp=ut,bp=Ec,wp=Jc,Sp=function(t,e,r){for(var n=Ol(e),o=jl.f,i=El.f,a=0;a<n.length;a++){var u=n[a];Sl(t,u)||r&&Sl(r,u)||o(t,u,i(e,u))}},Op=Go,Ep=yr,jp=G,Tp=function(t,e){Tl(e)&&"cause"in e&&xl(t,"cause",e.cause)},xp=function(t,e,r,n){Ml&&(Dl?Dl(t,e):Cl(t,"stack",Nl(r,n)))},_p=dp,Pp=function(t,e){return void 0===t?arguments.length<2?"":e:yp(t)},Ap=pe("toStringTag"),Lp=Error,Rp=[].push,kp=function(t,e){var r,n=mp(Ip,this);wp?r=wp(Lp(),n?bp(this):Ip):(r=n?this:Op(Ip),Ep(r,Ap,"Error")),void 0!==e&&Ep(r,"message",Pp(e)),xp(r,kp,r.stack,1),arguments.length>2&&Tp(r,arguments[2]);var o=[];return _p(t,Rp,{that:o}),Ep(r,"errors",o),r};wp?wp(kp,Lp):Sp(kp,Lp,{name:!0});var Ip=kp.prototype=Op(Lp.prototype,{constructor:jp(1,kp),message:jp(1,""),name:jp(1,"AggregateError")});gp({global:!0,constructor:!0,arity:2},{AggregateError:kp});var Cp,Np,Mp,Dp,Fp="undefined"!=typeof process&&"process"==w(process),Gp=at,Bp=oi,Up=A,Vp=pe("species"),Hp=ut,Yp=TypeError,zp=mn,Kp=_t,Wp=TypeError,Jp=function(t){if(zp(t))return t;throw Wp(Kp(t)+" is not a constructor")},qp=rr,$p=Jp,Xp=z,Qp=pe("species"),Zp=function(t,e){var r,n=qp(t).constructor;return void 0===n||Xp(r=qp(n)[Qp])?e:$p(r)},tv=TypeError,ev=/(?:ipad|iphone|ipod).*applewebkit/i.test(ct),rv=o,nv=l,ov=$e,iv=_,av=Qt,uv=i,cv=Oo,fv=Ou,sv=xe,lv=function(t,e){if(t<e)throw tv("Not enough arguments");return t},pv=ev,vv=Fp,hv=rv.setImmediate,dv=rv.clearImmediate,yv=rv.process,gv=rv.Dispatch,mv=rv.Function,bv=rv.MessageChannel,wv=rv.String,Sv=0,Ov={},Ev="onreadystatechange";uv((function(){Cp=rv.location}));var jv=function(t){if(av(Ov,t)){var e=Ov[t];delete Ov[t],e()}},Tv=function(t){return function(){jv(t)}},xv=function(t){jv(t.data)},_v=function(t){rv.postMessage(wv(t),Cp.protocol+"//"+Cp.host)};hv&&dv||(hv=function(t){lv(arguments.length,1);var e=iv(t)?t:mv(t),r=fv(arguments,1);return Ov[++Sv]=function(){nv(e,void 0,r)},Np(Sv),Sv},dv=function(t){delete Ov[t]},vv?Np=function(t){yv.nextTick(Tv(t))}:gv&&gv.now?Np=function(t){gv.now(Tv(t))}:bv&&!pv?(Dp=(Mp=new bv).port2,Mp.port1.onmessage=xv,Np=ov(Dp.postMessage,Dp)):rv.addEventListener&&iv(rv.postMessage)&&!rv.importScripts&&Cp&&"file:"!==Cp.protocol&&!uv(_v)?(Np=_v,rv.addEventListener("message",xv,!1)):Np=Ev in sv("script")?function(t){cv.appendChild(sv("script"))[Ev]=function(){cv.removeChild(this),jv(t)}}:function(t){setTimeout(Tv(t),0)});var Pv={set:hv,clear:dv},Av=function(){this.head=null,this.tail=null};Av.prototype={add:function(t){var e={item:t,next:null},r=this.tail;r?r.next=e:this.head=e,this.tail=e},get:function(){var t=this.head;if(t)return null===(this.head=t.next)&&(this.tail=null),t.item}};var Lv,Rv,kv,Iv,Cv,Nv=Av,Mv=/ipad|iphone|ipod/i.test(ct)&&"undefined"!=typeof Pebble,Dv=/web0s(?!.*chrome)/i.test(ct),Fv=o,Gv=$e,Bv=P.f,Uv=Pv.set,Vv=Nv,Hv=ev,Yv=Mv,zv=Dv,Kv=Fp,Wv=Fv.MutationObserver||Fv.WebKitMutationObserver,Jv=Fv.document,qv=Fv.process,$v=Fv.Promise,Xv=Bv(Fv,"queueMicrotask"),Qv=Xv&&Xv.value;if(!Qv){var Zv=new Vv,th=function(){var t,e;for(Kv&&(t=qv.domain)&&t.exit();e=Zv.get();)try{e()}catch(VI){throw Zv.head&&Lv(),VI}t&&t.enter()};Hv||Kv||zv||!Wv||!Jv?!Yv&&$v&&$v.resolve?((Iv=$v.resolve(void 0)).constructor=$v,Cv=Gv(Iv.then,Iv),Lv=function(){Cv(th)}):Kv?Lv=function(){qv.nextTick(th)}:(Uv=Gv(Uv,Fv),Lv=function(){Uv(th)}):(Rv=!0,kv=Jv.createTextNode(""),new Wv(th).observe(kv,{characterData:!0}),Lv=function(){kv.data=Rv=!Rv}),Qv=function(t){Zv.head||Lv(),Zv.add(t)}}var eh=Qv,rh=function(t){try{return{error:!1,value:t()}}catch(VI){return{error:!0,value:VI}}},nh=o.Promise,oh="object"==typeof Deno&&Deno&&"object"==typeof Deno.version,ih=!oh&&!Fp&&"object"==typeof window&&"object"==typeof document,ah=o,uh=nh,ch=_,fh=Ke,sh=nn,lh=pe,ph=ih,vh=oh,hh=dt,dh=uh&&uh.prototype,yh=lh("species"),gh=!1,mh=ch(ah.PromiseRejectionEvent),bh={CONSTRUCTOR:fh("Promise",(function(){var t=sh(uh),e=t!==String(uh);if(!e&&66===hh)return!0;if(!dh.catch||!dh.finally)return!0;if(!hh||hh<51||!/native code/.test(t)){var r=new uh((function(t){t(1)})),n=function(t){t((function(){}),(function(){}))};if((r.constructor={})[yh]=n,!(gh=r.then((function(){}))instanceof n))return!0}return!e&&(ph||vh)&&!mh})),REJECTION_EVENT:mh,SUBCLASSING:gh},wh={},Sh=Rt,Oh=TypeError,Eh=function(t){var e,r;this.promise=new t((function(t,n){if(void 0!==e||void 0!==r)throw Oh("Bad Promise constructor");e=t,r=n})),this.resolve=Sh(e),this.reject=Sh(r)};wh.f=function(t){return new Eh(t)};var jh,Th,xh=Pr,_h=Fp,Ph=o,Ah=k,Lh=ri,Rh=Pi,kh=function(t){var e=Gp(t);Up&&e&&!e[Vp]&&Bp(e,Vp,{configurable:!0,get:function(){return this}})},Ih=Rt,Ch=_,Nh=tt,Mh=function(t,e){if(Hp(e,t))return t;throw Yp("Incorrect invocation")},Dh=Zp,Fh=Pv.set,Gh=eh,Bh=function(t,e){try{1==arguments.length?console.error(t):console.error(t,e)}catch(VI){}},Uh=rh,Vh=Nv,Hh=Yi,Yh=nh,zh=bh,Kh=wh,Wh="Promise",Jh=zh.CONSTRUCTOR,qh=zh.REJECTION_EVENT,$h=Hh.getterFor(Wh),Xh=Hh.set,Qh=Yh&&Yh.prototype,Zh=Yh,td=Qh,ed=Ph.TypeError,rd=Ph.document,nd=Ph.process,od=Kh.f,id=od,ad=!!(rd&&rd.createEvent&&Ph.dispatchEvent),ud="unhandledrejection",cd=function(t){var e;return!(!Nh(t)||!Ch(e=t.then))&&e},fd=function(t,e){var r,n,o,i=e.value,a=1==e.state,u=a?t.ok:t.fail,c=t.resolve,f=t.reject,s=t.domain;try{u?(a||(2===e.rejection&&hd(e),e.rejection=1),!0===u?r=i:(s&&s.enter(),r=u(i),s&&(s.exit(),o=!0)),r===t.promise?f(ed("Promise-chain cycle")):(n=cd(r))?Ah(n,r,c,f):c(r)):f(i)}catch(VI){s&&!o&&s.exit(),f(VI)}},sd=function(t,e){t.notified||(t.notified=!0,Gh((function(){for(var r,n=t.reactions;r=n.get();)fd(r,t);t.notified=!1,e&&!t.rejection&&pd(t)})))},ld=function(t,e,r){var n,o;ad?((n=rd.createEvent("Event")).promise=e,n.reason=r,n.initEvent(t,!1,!0),Ph.dispatchEvent(n)):n={promise:e,reason:r},!qh&&(o=Ph["on"+t])?o(n):t===ud&&Bh("Unhandled promise rejection",r)},pd=function(t){Ah(Fh,Ph,(function(){var e,r=t.facade,n=t.value;if(vd(t)&&(e=Uh((function(){_h?nd.emit("unhandledRejection",n,r):ld(ud,r,n)})),t.rejection=_h||vd(t)?2:1,e.error))throw e.value}))},vd=function(t){return 1!==t.rejection&&!t.parent},hd=function(t){Ah(Fh,Ph,(function(){var e=t.facade;_h?nd.emit("rejectionHandled",e):ld("rejectionhandled",e,t.value)}))},dd=function(t,e,r){return function(n){t(e,n,r)}},yd=function(t,e,r){t.done||(t.done=!0,r&&(t=r),t.value=e,t.state=2,sd(t,!0))},gd=function(t,e,r){if(!t.done){t.done=!0,r&&(t=r);try{if(t.facade===e)throw ed("Promise can't be resolved itself");var n=cd(e);n?Gh((function(){var r={done:!1};try{Ah(n,e,dd(gd,r,t),dd(yd,r,t))}catch(VI){yd(r,VI,t)}})):(t.value=e,t.state=1,sd(t,!1))}catch(VI){yd({done:!1},VI,t)}}};Jh&&(td=(Zh=function(t){Mh(this,td),Ih(t),Ah(jh,this);var e=$h(this);try{t(dd(gd,e),dd(yd,e))}catch(VI){yd(e,VI)}}).prototype,(jh=function(t){Xh(this,{type:Wh,done:!1,notified:!1,parent:!1,reactions:new Vh,rejection:!1,state:0,value:void 0})}).prototype=Lh(td,"then",(function(t,e){var r=$h(this),n=od(Dh(this,Zh));return r.parent=!0,n.ok=!Ch(t)||t,n.fail=Ch(e)&&e,n.domain=_h?nd.domain:void 0,0==r.state?r.reactions.add(n):Gh((function(){fd(n,r)})),n.promise})),Th=function(){var t=new jh,e=$h(t);this.promise=t,this.resolve=dd(gd,e),this.reject=dd(yd,e)},Kh.f=od=function(t){return t===Zh||undefined===t?new Th(t):id(t)}),xh({global:!0,constructor:!0,wrap:!0,forced:Jh},{Promise:Zh}),Rh(Zh,Wh,!1,!0),kh(Wh);var md=pe("iterator"),bd=!1;try{var wd=0,Sd={next:function(){return{done:!!wd++}},return:function(){bd=!0}};Sd[md]=function(){return this},Array.from(Sd,(function(){throw 2}))}catch(VI){}var Od=nh,Ed=bh.CONSTRUCTOR||!function(t,e){if(!e&&!bd)return!1;var r=!1;try{var n={};n[md]=function(){return{next:function(){return{done:r=!0}}}},t(n)}catch(VI){}return r}((function(t){Od.all(t).then(void 0,(function(){}))})),jd=k,Td=Rt,xd=wh,_d=rh,Pd=dp;Pr({target:"Promise",stat:!0,forced:Ed},{all:function(t){var e=this,r=xd.f(e),n=r.resolve,o=r.reject,i=_d((function(){var r=Td(e.resolve),i=[],a=0,u=1;Pd(t,(function(t){var c=a++,f=!1;u++,jd(r,e,t).then((function(t){f||(f=!0,i[c]=t,--u||n(i))}),o)})),--u||n(i)}));return i.error&&o(i.value),r.promise}});var Ad=Pr,Ld=bh.CONSTRUCTOR;nh&&nh.prototype,Ad({target:"Promise",proto:!0,forced:Ld,real:!0},{catch:function(t){return this.then(void 0,t)}});var Rd=k,kd=Rt,Id=wh,Cd=rh,Nd=dp;Pr({target:"Promise",stat:!0,forced:Ed},{race:function(t){var e=this,r=Id.f(e),n=r.reject,o=Cd((function(){var o=kd(e.resolve);Nd(t,(function(t){Rd(o,e,t).then(r.resolve,n)}))}));return o.error&&n(o.value),r.promise}});var Md=k,Dd=wh;Pr({target:"Promise",stat:!0,forced:bh.CONSTRUCTOR},{reject:function(t){var e=Dd.f(this);return Md(e.reject,void 0,t),e.promise}});var Fd=rr,Gd=tt,Bd=wh,Ud=function(t,e){if(Fd(t),Gd(e)&&e.constructor===t)return e;var r=Bd.f(t);return(0,r.resolve)(e),r.promise},Vd=Pr,Hd=nh,Yd=bh.CONSTRUCTOR,zd=Ud,Kd=at("Promise"),Wd=!Yd;Vd({target:"Promise",stat:!0,forced:true},{resolve:function(t){return zd(Wd&&this===Kd?Hd:this,t)}});var Jd=k,qd=Rt,$d=wh,Xd=rh,Qd=dp;Pr({target:"Promise",stat:!0,forced:Ed},{allSettled:function(t){var e=this,r=$d.f(e),n=r.resolve,o=r.reject,i=Xd((function(){var r=qd(e.resolve),o=[],i=0,a=1;Qd(t,(function(t){var u=i++,c=!1;a++,Jd(r,e,t).then((function(t){c||(c=!0,o[u]={status:"fulfilled",value:t},--a||n(o))}),(function(t){c||(c=!0,o[u]={status:"rejected",reason:t},--a||n(o))}))})),--a||n(o)}));return i.error&&o(i.value),r.promise}});var Zd=k,ty=Rt,ey=at,ry=wh,ny=rh,oy=dp,iy="No one promise resolved";Pr({target:"Promise",stat:!0,forced:Ed},{any:function(t){var e=this,r=ey("AggregateError"),n=ry.f(e),o=n.resolve,i=n.reject,a=ny((function(){var n=ty(e.resolve),a=[],u=0,c=1,f=!1;oy(t,(function(t){var s=u++,l=!1;c++,Zd(n,e,t).then((function(t){l||f||(f=!0,o(t))}),(function(t){l||f||(l=!0,a[s]=t,--c||i(new r(a,iy)))}))})),--c||i(new r(a,iy))}));return a.error&&i(a.value),n.promise}});var ay=Pr,uy=nh,cy=i,fy=at,sy=_,ly=Zp,py=Ud,vy=uy&&uy.prototype;ay({target:"Promise",proto:!0,real:!0,forced:!!uy&&cy((function(){vy.finally.call({then:function(){}},(function(){}))}))},{finally:function(t){var e=ly(this,fy("Promise")),r=sy(t);return this.then(r?function(r){return py(e,t()).then((function(){return r}))}:t,r?function(r){return py(e,t()).then((function(){throw r}))}:t)}});var hy=et.Promise,dy=wh;Pr({target:"Promise",stat:!0,forced:!0},{withResolvers:function(){var t=dy.f(this);return{promise:t.promise,resolve:t.resolve,reject:t.reject}}});var yy=wh,gy=rh;Pr({target:"Promise",stat:!0,forced:!0},{try:function(t){var e=yy.f(this),r=gy(t);return(r.error?e.reject:e.resolve)(r.value),e.promise}});var my=hy,by=r(my),wy=Pr,Sy=Lr,Oy=y([].reverse),Ey=[1,2];wy({target:"Array",proto:!0,forced:String(Ey)===String(Ey.reverse())},{reverse:function(){return Sy(this)&&(this.length=this.length),Oy(this)}});var jy=Hs("Array").reverse,Ty=ut,xy=jy,_y=Array.prototype,Py=function(t){var e=t.reverse;return t===_y||Ty(_y,t)&&e===_y.reverse?xy:e},Ay=r(Py),Ly=Pr,Ry=Lr,ky=mn,Iy=tt,Cy=Xn,Ny=Fr,My=X,Dy=Yr,Fy=pe,Gy=Ou,By=An("slice"),Uy=Fy("species"),Vy=Array,Hy=Math.max;Ly({target:"Array",proto:!0,forced:!By},{slice:function(t,e){var r,n,o,i=My(this),a=Ny(i),u=Cy(t,a),c=Cy(void 0===e?a:e,a);if(Ry(i)&&(r=i.constructor,(ky(r)&&(r===Vy||Ry(r.prototype))||Iy(r)&&null===(r=r[Uy]))&&(r=void 0),r===Vy||void 0===r))return Gy(i,u,c);for(n=new(void 0===r?Vy:r)(Hy(c-u,0)),o=0;u<c;u++,o++)u in i&&Dy(n,o,i[u]);return n.length=o,n}});var Yy=Hs("Array").slice,zy=ut,Ky=Yy,Wy=Array.prototype,Jy=function(t){var e=t.slice;return t===Wy||zy(Wy,t)&&e===Wy.slice?Ky:e},qy=r(Jy);function $y(){$y=function(){return t};var t={},e=Object.prototype,r=e.hasOwnProperty,n=Ls||function(t,e,r){t[e]=r.value},o="function"==typeof os?os:{},i=o.iterator||"@@iterator",a=o.asyncIterator||"@@asyncIterator",u=o.toStringTag||"@@toStringTag";function c(t,e,r){return Ls(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}),t[e]}try{c({},"")}catch(_){c=function(t,e,r){return t[e]=r}}function f(t,e,r,o){var i=e&&e.prototype instanceof p?e:p,a=Is(i.prototype),u=new j(o||[]);return n(a,"_invoke",{value:w(t,r,u)}),a}function s(t,e,r){try{return{type:"normal",arg:t.call(e,r)}}catch(_){return{type:"throw",arg:_}}}t.wrap=f;var l={};function p(){}function v(){}function h(){}var d={};c(d,i,(function(){return this}));var y=Fs&&Fs(Fs(T([])));y&&y!==e&&r.call(y,i)&&(d=y);var g=h.prototype=p.prototype=Is(d);function m(t){var e;Qs(e=["next","throw","return"]).call(e,(function(e){c(t,e,(function(t){return this._invoke(e,t)}))}))}function b(t,e){function o(n,i,a,u){var c=s(t[n],t,i);if("throw"!==c.type){var f=c.arg,l=f.value;return l&&"object"==Os(l)&&r.call(l,"__await")?e.resolve(l.__await).then((function(t){o("next",t,a,u)}),(function(t){o("throw",t,a,u)})):e.resolve(l).then((function(t){f.value=t,a(f)}),(function(t){return o("throw",t,a,u)}))}u(c.arg)}var i;n(this,"_invoke",{value:function(t,r){function n(){return new e((function(e,n){o(t,r,e,n)}))}return i=i?i.then(n,n):n()}})}function w(t,e,r){var n="suspendedStart";return function(o,i){if("executing"===n)throw new Error("Generator is already running");if("completed"===n){if("throw"===o)throw i;return{value:void 0,done:!0}}for(r.method=o,r.arg=i;;){var a=r.delegate;if(a){var u=S(a,r);if(u){if(u===l)continue;return u}}if("next"===r.method)r.sent=r._sent=r.arg;else if("throw"===r.method){if("suspendedStart"===n)throw n="completed",r.arg;r.dispatchException(r.arg)}else"return"===r.method&&r.abrupt("return",r.arg);n="executing";var c=s(t,e,r);if("normal"===c.type){if(n=r.done?"completed":"suspendedYield",c.arg===l)continue;return{value:c.arg,done:r.done}}"throw"===c.type&&(n="completed",r.method="throw",r.arg=c.arg)}}}function S(t,e){var r=e.method,n=t.iterator[r];if(void 0===n)return e.delegate=null,"throw"===r&&t.iterator.return&&(e.method="return",e.arg=void 0,S(t,e),"throw"===e.method)||"return"!==r&&(e.method="throw",e.arg=new TypeError("The iterator does not provide a '"+r+"' method")),l;var o=s(n,t.iterator,e.arg);if("throw"===o.type)return e.method="throw",e.arg=o.arg,e.delegate=null,l;var i=o.arg;return i?i.done?(e[t.resultName]=i.value,e.next=t.nextLoc,"return"!==e.method&&(e.method="next",e.arg=void 0),e.delegate=null,l):i:(e.method="throw",e.arg=new TypeError("iterator result is not an object"),e.delegate=null,l)}function O(t){var e,r={tryLoc:t[0]};1 in t&&(r.catchLoc=t[1]),2 in t&&(r.finallyLoc=t[2],r.afterLoc=t[3]),pl(e=this.tryEntries).call(e,r)}function E(t){var e=t.completion||{};e.type="normal",delete e.arg,t.completion=e}function j(t){this.tryEntries=[{tryLoc:"root"}],Qs(t).call(t,O,this),this.reset(!0)}function T(t){if(t){var e=t[i];if(e)return e.call(t);if("function"==typeof t.next)return t;if(!isNaN(t.length)){var n=-1,o=function e(){for(;++n<t.length;)if(r.call(t,n))return e.value=t[n],e.done=!1,e;return e.value=void 0,e.done=!0,e};return o.next=o}}return{next:x}}function x(){return{value:void 0,done:!0}}return v.prototype=h,n(g,"constructor",{value:h,configurable:!0}),n(h,"constructor",{value:v,configurable:!0}),v.displayName=c(h,u,"GeneratorFunction"),t.isGeneratorFunction=function(t){var e="function"==typeof t&&t.constructor;return!!e&&(e===v||"GeneratorFunction"===(e.displayName||e.name))},t.mark=function(t){return hl?hl(t,h):(t.__proto__=h,c(t,u,"GeneratorFunction")),t.prototype=Is(g),t},t.awrap=function(t){return{__await:t}},m(b.prototype),c(b.prototype,a,(function(){return this})),t.AsyncIterator=b,t.async=function(e,r,n,o,i){void 0===i&&(i=by);var a=new b(f(e,r,n,o),i);return t.isGeneratorFunction(r)?a:a.next().then((function(t){return t.done?t.value:a.next()}))},m(g),c(g,u,"Generator"),c(g,i,(function(){return this})),c(g,"toString",(function(){return"[object Generator]"})),t.keys=function(t){var e=Object(t),r=[];for(var n in e)pl(r).call(r,n);return Ay(r).call(r),function t(){for(;r.length;){var n=r.pop();if(n in e)return t.value=n,t.done=!1,t}return t.done=!0,t}},t.values=T,j.prototype={constructor:j,reset:function(t){var e;if(this.prev=0,this.next=0,this.sent=this._sent=void 0,this.done=!1,this.delegate=null,this.method="next",this.arg=void 0,Qs(e=this.tryEntries).call(e,E),!t)for(var n in this)"t"===n.charAt(0)&&r.call(this,n)&&!isNaN(+qy(n).call(n,1))&&(this[n]=void 0)},stop:function(){this.done=!0;var t=this.tryEntries[0].completion;if("throw"===t.type)throw t.arg;return this.rval},dispatchException:function(t){if(this.done)throw t;var e=this;function n(r,n){return a.type="throw",a.arg=t,e.next=r,n&&(e.method="next",e.arg=void 0),!!n}for(var o=this.tryEntries.length-1;o>=0;--o){var i=this.tryEntries[o],a=i.completion;if("root"===i.tryLoc)return n("end");if(i.tryLoc<=this.prev){var u=r.call(i,"catchLoc"),c=r.call(i,"finallyLoc");if(u&&c){if(this.prev<i.catchLoc)return n(i.catchLoc,!0);if(this.prev<i.finallyLoc)return n(i.finallyLoc)}else if(u){if(this.prev<i.catchLoc)return n(i.catchLoc,!0)}else{if(!c)throw new Error("try statement without catch or finally");if(this.prev<i.finallyLoc)return n(i.finallyLoc)}}}},abrupt:function(t,e){for(var n=this.tryEntries.length-1;n>=0;--n){var o=this.tryEntries[n];if(o.tryLoc<=this.prev&&r.call(o,"finallyLoc")&&this.prev<o.finallyLoc){var i=o;break}}i&&("break"===t||"continue"===t)&&i.tryLoc<=e&&e<=i.finallyLoc&&(i=null);var a=i?i.completion:{};return a.type=t,a.arg=e,i?(this.method="next",this.next=i.finallyLoc,l):this.complete(a)},complete:function(t,e){if("throw"===t.type)throw t.arg;return"break"===t.type||"continue"===t.type?this.next=t.arg:"return"===t.type?(this.rval=this.arg=t.arg,this.method="return",this.next="end"):"normal"===t.type&&e&&(this.next=e),l},finish:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var r=this.tryEntries[e];if(r.finallyLoc===t)return this.complete(r.completion,r.afterLoc),E(r),l}},catch:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var r=this.tryEntries[e];if(r.tryLoc===t){var n=r.completion;if("throw"===n.type){var o=n.arg;E(r)}return o}}throw new Error("illegal catch attempt")},delegateYield:function(t,e,r){return this.delegate={iterator:T(t),resultName:e,nextLoc:r},"next"===this.method&&(this.arg=void 0),l}},t}function Xy(t,e,r,n,o,i,a){try{var u=t[i](a),c=u.value}catch(VI){return void r(VI)}u.done?e(c):by.resolve(c).then(n,o)}function Qy(t){return function(){var e=this,r=arguments;return new by((function(n,o){var i=t.apply(e,r);function a(t){Xy(i,n,o,a,u,"next",t)}function u(t){Xy(i,n,o,a,u,"throw",t)}a(void 0)}))}}function Zy(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}var tg=ii.f("toPrimitive"),eg=r(tg);function rg(t){var e=function(t,e){if("object"!==Os(t)||null===t)return t;var r=t[eg];if(void 0!==r){var n=r.call(t,e||"default");if("object"!==Os(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===e?String:Number)(t)}(t,"string");return"symbol"===Os(e)?e:String(e)}function ng(t,e){for(var r=0;r<e.length;r++){var n=e[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Ls(t,rg(n.key),n)}}function og(t,e,r){return e&&ng(t.prototype,e),r&&ng(t,r),Ls(t,"prototype",{writable:!1}),t}var ig=y,ag=Rt,ug=tt,cg=Qt,fg=Ou,sg=a,lg=Function,pg=ig([].concat),vg=ig([].join),hg={},dg=sg?lg.bind:function(t){var e=ag(this),r=e.prototype,n=fg(arguments,1),o=function(){var r=pg(n,fg(arguments));return this instanceof o?function(t,e,r){if(!cg(hg,e)){for(var n=[],o=0;o<e;o++)n[o]="a["+o+"]";hg[e]=lg("C,a","return new C("+vg(n,",")+")")}return hg[e](t,r)}(e,r.length,r):e.apply(t,r)};return ug(r)&&(o.prototype=r),o},yg=dg;Pr({target:"Function",proto:!0,forced:Function.bind!==yg},{bind:yg});var gg=Hs("Function").bind,mg=ut,bg=gg,wg=Function.prototype,Sg=r((function(t){var e=t.bind;return t===wg||mg(wg,t)&&e===wg.bind?bg:e}));function Og(t,e){var r;return(Og=hl?Sg(r=hl).call(r):function(t,e){return t.__proto__=e,t})(t,e)}function Eg(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Is(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),Ls(t,"prototype",{writable:!1}),e&&Og(t,e)}var jg=Pr,Tg=l,xg=dg,_g=Jp,Pg=rr,Ag=tt,Lg=Go,Rg=i,kg=at("Reflect","construct"),Ig=Object.prototype,Cg=[].push,Ng=Rg((function(){function t(){}return!(kg((function(){}),[],t)instanceof t)})),Mg=!Rg((function(){kg((function(){}))})),Dg=Ng||Mg;jg({target:"Reflect",stat:!0,forced:Dg,sham:Dg},{construct:function(t,e){_g(t),Pg(e);var r=arguments.length<3?t:_g(arguments[2]);if(Mg&&!Ng)return kg(t,e,r);if(t==r){switch(e.length){case 0:return new t;case 1:return new t(e[0]);case 2:return new t(e[0],e[1]);case 3:return new t(e[0],e[1],e[2]);case 4:return new t(e[0],e[1],e[2],e[3])}var n=[null];return Tg(Cg,n,e),new(Tg(xg,t,n))}var o=r.prototype,i=Lg(Ag(o)?o:Ig),a=Tg(t,i,e);return Ag(a)?a:i}});var Fg=r(et.Reflect.construct);function Gg(t){var e;return(Gg=hl?Sg(e=Fs).call(e):function(t){return t.__proto__||Fs(t)})(t)}function Bg(){if("undefined"==typeof Reflect||!Fg)return!1;if(Fg.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Fg(Boolean,[],(function(){}))),!0}catch(t){return!1}}function Ug(t,e){if(e&&("object"===Os(e)||"function"==typeof e))return e;if(void 0!==e)throw new TypeError("Derived constructors may only return object or undefined");return function(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}(t)}function Vg(t){var e=Bg();return function(){var r,n=Gg(t);if(e){var o=Gg(this).constructor;r=Fg(n,arguments,o)}else r=n.apply(this,arguments);return Ug(this,r)}}var Hg=et,Yg=l;Hg.JSON||(Hg.JSON={stringify:JSON.stringify});var zg=function(t,e,r){return Yg(Hg.JSON.stringify,null,arguments)},Kg=r(zg),Wg=qt,Jg=vo;Pr({target:"Object",stat:!0,forced:i((function(){Jg(1)}))},{keys:function(t){return Jg(Wg(t))}});var qg=et.Object.keys,$g=r(qg),Xg=et.Object.getOwnPropertySymbols,Qg=r(Xg),Zg=Qi.filter;Pr({target:"Array",proto:!0,forced:!An("filter")},{filter:function(t){return Zg(this,t,arguments.length>1?arguments[1]:void 0)}});var tm=Hs("Array").filter,em=ut,rm=tm,nm=Array.prototype,om=function(t){var e=t.filter;return t===nm||em(nm,t)&&e===nm.filter?rm:e},im=r(om),am={exports:{}},um=Pr,cm=i,fm=X,sm=P.f,lm=A;um({target:"Object",stat:!0,forced:!lm||cm((function(){sm(1)})),sham:!lm},{getOwnPropertyDescriptor:function(t,e){return sm(fm(t),e)}});var pm=et.Object,vm=am.exports=function(t,e){return pm.getOwnPropertyDescriptor(t,e)};pm.getOwnPropertyDescriptor.sham&&(vm.sham=!0);var hm=am.exports,dm=r(hm),ym=wl,gm=X,mm=P,bm=Yr;Pr({target:"Object",stat:!0,sham:!A},{getOwnPropertyDescriptors:function(t){for(var e,r,n=gm(t),o=mm.f,i=ym(n),a={},u=0;i.length>u;)void 0!==(r=o(n,e=i[u++]))&&bm(a,e,r);return a}});var wm=et.Object.getOwnPropertyDescriptors,Sm=r(wm),Om={exports:{}},Em=Pr,jm=A,Tm=Wn.f;Em({target:"Object",stat:!0,forced:Object.defineProperties!==Tm,sham:!jm},{defineProperties:Tm});var xm=et.Object,_m=Om.exports=function(t,e){return xm.defineProperties(t,e)};xm.defineProperties.sham&&(_m.sham=!0);var Pm=Om.exports,Am=r(Pm);function Lm(t,e,r){return(e=rg(e))in t?Ls(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}function Rm(t,e){var r=$g(t);if(Qg){var n=Qg(t);e&&(n=im(n).call(n,(function(e){return dm(t,e).enumerable}))),pl(r).apply(r,n)}return r}function km(t){for(var e=1;e<arguments.length;e++){var r,n,o=null!=arguments[e]?arguments[e]:{};e%2?Qs(r=Rm(Object(o),!0)).call(r,(function(e){Lm(t,e,o[e])})):Sm?Am(t,Sm(o)):Qs(n=Rm(Object(o))).call(n,(function(e){Ls(t,e,dm(o,e))}))}return t}var Im=r(As),Cm=r(my),Nm="\t\n\v\f\r                 \u2028\u2029\ufeff",Mm=J,Dm=Kn,Fm=Nm,Gm=y("".replace),Bm=RegExp("^["+Fm+"]+"),Um=RegExp("(^|[^"+Fm+"])["+Fm+"]+$"),Vm=function(t){return function(e){var r=Dm(Mm(e));return 1&t&&(r=Gm(r,Bm,"")),2&t&&(r=Gm(r,Um,"$1")),r}},Hm={start:Vm(1),end:Vm(2),trim:Vm(3)},Ym=hc.PROPER,zm=i,Km=Nm,Wm=Hm.trim;Pr({target:"String",proto:!0,forced:function(t){return zm((function(){return!!Km[t]()||"​…᠎"!=="​…᠎"[t]()||Ym&&Km[t].name!==t}))}("trim")},{trim:function(){return Wm(this)}});var Jm=Hs("String").trim,qm=ut,$m=Jm,Xm=String.prototype,Qm=r((function(t){var e=t.trim;return"string"==typeof t||t===Xm||qm(Xm,t)&&e===Xm.trim?$m:e})),Zm=/ANGLE\s+\((?:[^,]+,\s+)?([^,/]+)?(?:[^,]*)(?:[,\s]+)(Direct\S+|OpenGL[\d.\s]+)/,tb=/ANGLE\s+\((?:[^,]+,\s+)?([^,]+)?(?:[,\s]+)(Direct\S+|OpenGL[\d.\s]+)/,eb="OpenGL Engine",rb="Unknow",nb=4318,ob=32902,ib=4098,ab=function(t){return t.CpuDeriver="CpuDeriver",t.Intel="Intel",t.Nvidia="NVIDIA",t.Amd="AMD",t.Apple="Apple",t[t.Unknow=rb]="Unknow",t}(ab||{});function ub(t){return"NVIDIA"===t?nb:"AMD"===t?ib:"Intel"===t?ob:0}function cb(t){var e,r,n,o,i=function(t){var e=/(SwiftShader|Intel|NVIDIA|AMD|Radeon|Apple)/.exec(t);return e?"Radeon"===e[0]?"AMD":"SwiftShader"===e[0]?"CpuDeriver":e[0]:ab.Unknow}(t);return i===ab.Unknow||"CpuDeriver"===i?{vendor:i,vendorId:0,model:rb,backupModel:rb,api:rb}:/^ANGLE/.test(t)?function(t,e){var r,n,o,i,a,u=rb,c=rb,f=rb;return"Intel"!==t&&"NVIDIA"!==t||(r=Zm.exec(e)),"AMD"!==t&&"Apple"!==t||(r=tb.exec(e)),(null==r?void 0:r[1])&&(null==r?void 0:r[2])&&(u=Qm(n=r[1].replace(/(AMD|NVIDIA)/,"")).call(n),f=Qm(o=r[2]).call(o)),c="Intel"===t?u=Qm(i=u.split(eb)[0]).call(i):Qm(a=u.split(eb)[0]).call(a),{vendor:t,vendorId:ub(t),model:u,backupModel:c,api:f}}(i,t):"Intel"===i?{vendor:i,vendorId:ub(i),model:Qm(n=t.split(eb)[0]).call(n),backupModel:Qm(o=t.split(eb)[0]).call(o),api:rb}:{vendor:i,vendorId:ub(i),model:Qm(e=t.replace(/(AMD|NVIDIA)/,"")).call(e),backupModel:Qm(r=t.split(eb)[0].replace(/(AMD|NVIDIA)/,"")).call(r),api:rb}}var fb=Qi.map;Pr({target:"Array",proto:!0,forced:!An("map")},{map:function(t){return fb(this,t,arguments.length>1?arguments[1]:void 0)}});var sb=Hs("Array").map,lb=ut,pb=sb,vb=Array.prototype,hb=r((function(t){var e=t.map;return t===vb||lb(vb,t)&&e===vb.map?pb:e})),db=r(om),yb=o,gb=i,mb=y,bb=Kn,wb=Hm.trim,Sb=Nm,Ob=yb.parseInt,Eb=yb.Symbol,jb=Eb&&Eb.iterator,Tb=/^[+-]?0x/i,xb=mb(Tb.exec),_b=8!==Ob(Sb+"08")||22!==Ob(Sb+"0x16")||jb&&!gb((function(){Ob(Object(jb))}))?function(t,e){var r=wb(bb(t));return Ob(r,e>>>0||(xb(Tb,r)?16:10))}:Ob;Pr({global:!0,forced:parseInt!=_b},{parseInt:_b});var Pb=r(et.parseInt),Ab=o,Lb=i,Rb=Kn,kb=Hm.trim,Ib=Nm,Cb=y("".charAt),Nb=Ab.parseFloat,Mb=Ab.Symbol,Db=Mb&&Mb.iterator,Fb=1/Nb(Ib+"-0")!=-1/0||Db&&!Lb((function(){Nb(Object(Db))}))?function(t){var e=kb(Rb(t)),r=Nb(e);return 0===r&&"-"==Cb(e,0)?-0:r}:Nb;Pr({global:!0,forced:parseFloat!=Fb},{parseFloat:Fb});var Gb=r(et.parseFloat),Bb=Pr,Ub=Math.log,Vb=Math.LN2;Bb({target:"Math",stat:!0},{log2:function(t){return Ub(t)/Vb}});var Hb=r(et.Math.log2),Yb="g_ven";function zb(t,e){var r,n;e===ab.Intel?r=hb(n=t.split("\n")).call(n,(function(t){return"Intel(R) ".concat(t)})):r=t.split("\n");return hb(r).call(r,(function(t){return t.split("|")}))}function Kb(t){return 0===t?0:-1===t?-1:Gb(Hb(t).toFixed(2))}var Wb=[],Jb=[],qb=[];function $b(){return($b=Qy($y().mark((function t(e,r){var n,o,i;return $y().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:if(e!==ab.Intel){t.next=4;break}if(!Wb.length){t.next=3;break}return t.abrupt("return",Wb);case 3:n=r.intelPath;case 4:if(e!==ab.Nvidia){t.next=8;break}if(!Jb.length){t.next=7;break}return t.abrupt("return",Jb);case 7:n=r.nvidiaPath;case 8:if(e!==ab.Amd){t.next=12;break}if(!qb.length){t.next=11;break}return t.abrupt("return",qb);case 11:n=r.amdPath;case 12:if(n){t.next=14;break}return t.abrupt("return",Cm.resolve([]));case 14:return t.prev=14,t.next=17,fetch(n).then((function(t){return t.text()}));case 17:return o=t.sent,i=zb(o,e),e===ab.Intel&&(Wb=i),e===ab.Nvidia&&(Jb=i),e===ab.Amd&&(qb=i),t.abrupt("return",i);case 25:t.prev=25,t.t0=t.catch(14);case 27:return t.abrupt("return",[]);case 28:case"end":return t.stop()}}),t,null,[[14,25]])})))).apply(this,arguments)}function Xb(t,e){return t?function(t,e){return $b.apply(this,arguments)}(t.vendor,e).then((function(e){return function(t,e){var r=db(t).call(t,(function(t){return t[0]===e.model}));r.length||(r=db(t).call(t,(function(t){return t[0]===e.backupModel}))),r.length||e.vendor!==ab.Intel||/^Intel(R)/.test(e.model)||(r=db(t).call(t,(function(t){return t[0]==="Intel(R) "+e.model})));var n="-1";if(r.length){var o=r[0][1];n="-1"===o?"0":o}return Pb(n)}(e,t)})).then(Kb):Cm.resolve(0)}var Qb=Im,Zb="";function tw(){return Zb||(Zb=function(){try{var t=localStorage.getItem(Yb)||"";if(t)return t;var e,r=document.createElement("canvas").getContext("webgl");if(r)return(t=(e=r.getExtension("WEBGL_debug_renderer_info"))?r.getParameter(e.UNMASKED_RENDERER_WEBGL):"")&&localStorage.setItem(Yb,t),t}catch(n){}return""}())}function ew(t){var e;try{e=cb(t||ow.getGPUVendor())}catch(r){return null}return e}var rw,nw,ow=function(){function t(){Zy(this,t)}return og(t,null,[{key:"setConfig",value:function(e){t.cfg=e}},{key:"getGPUVendor",value:function(){return tw()}},{key:"parseVendorAsync",value:function(e){var r=ew(e);if(!r)return Cm.resolve(null);if(!t.cfg)throw new Error("need specify config, call setConfig() method");return Xb(r,t.cfg).then((function(t){return km(km({},r||{}),{},{score:t})})).catch((function(){return null}))}}]),t}();function iw(){var t=!1;if("undefined"==typeof MediaSource||!MediaSource.isTypeSupported)return t;if(t=MediaSource.isTypeSupported('video/mp4;codecs="hev1.1.6.L120.90"')||MediaSource.isTypeSupported('video/mp4;codecs="hev1.2.4.L120.90"')||MediaSource.isTypeSupported('video/mp4;codecs="hev1.3.E.L120.90"')||MediaSource.isTypeSupported('video/mp4;codecs="hev1.4.10.L120.90"')){var e=ew();t=!!e&&e.vendor!==ab.CpuDeriver}return t}nw=null,function(t,e,r){e in t?Qb(t,e,{enumerable:!0,configurable:!0,writable:!0,value:r}):t[e]=r}(ow,"symbol"!==Os(rw="cfg")?rw+"":rw,nw);var aw=A,uw=y,cw=k,fw=i,sw=vo,lw=ti,pw=I,vw=qt,hw=Y,dw=Object.assign,yw=Object.defineProperty,gw=uw([].concat),mw=!dw||fw((function(){if(aw&&1!==dw({b:1},dw(yw({},"a",{enumerable:!0,get:function(){yw(this,"b",{value:3,enumerable:!1})}}),{b:2})).b)return!0;var t={},e={},r=Symbol(),n="abcdefghijklmnopqrst";return t[r]=7,n.split("").forEach((function(t){e[t]=t})),7!=dw({},t)[r]||sw(dw({},e)).join("")!=n}))?function(t,e){for(var r=vw(t),n=arguments.length,o=1,i=lw.f,a=pw.f;n>o;)for(var u,c=hw(arguments[o++]),f=i?gw(sw(c),i(c)):sw(c),s=f.length,l=0;s>l;)u=f[l++],aw&&!cw(a,c,u)||(r[u]=c[u]);return r}:dw,bw=mw;Pr({target:"Object",stat:!0,arity:2,forced:Object.assign!==bw},{assign:bw});var ww=r(et.Object.assign),Sw=Hs("Array").concat,Ow=ut,Ew=Sw,jw=Array.prototype,Tw=r((function(t){var e=t.concat;return t===jw||Ow(jw,t)&&e===jw.concat?Ew:e})),xw=r(qg),_w=r(Xg),Pw=r(hm),Aw=r(Xs),Lw=r(wm),Rw=r(Pm),kw=r(ns),Iw=r(ks),Cw=r(Ds),Nw=r(vl),Mw=r(Py),Dw=r(Jy),Fw=r(tg);function Gw(t,e){var r=xw(t);if(_w){var n=_w(t);e&&(n=db(n).call(n,(function(e){return Pw(t,e).enumerable}))),r.push.apply(r,n)}return r}function Bw(t){for(var e=1;e<arguments.length;e++){var r,n,o=null!=arguments[e]?arguments[e]:{};e%2?Aw(r=Gw(Object(o),!0)).call(r,(function(e){Hw(t,e,o[e])})):Lw?Rw(t,Lw(o)):Aw(n=Gw(Object(o))).call(n,(function(e){Im(t,e,Pw(o,e))}))}return t}function Uw(){Uw=function(){return t};var t={},e=Object.prototype,r=e.hasOwnProperty,n=Im||function(t,e,r){t[e]=r.value},o="function"==typeof kw?kw:{},i=o.iterator||"@@iterator",a=o.asyncIterator||"@@asyncIterator",u=o.toStringTag||"@@toStringTag";function c(t,e,r){return Im(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}),t[e]}try{c({},"")}catch(_){c=function(t,e,r){return t[e]=r}}function f(t,e,r,o){var i=e&&e.prototype instanceof p?e:p,a=Iw(i.prototype),u=new j(o||[]);return n(a,"_invoke",{value:w(t,r,u)}),a}function s(t,e,r){try{return{type:"normal",arg:t.call(e,r)}}catch(_){return{type:"throw",arg:_}}}t.wrap=f;var l={};function p(){}function v(){}function h(){}var d={};c(d,i,(function(){return this}));var y=Cw&&Cw(Cw(T([])));y&&y!==e&&r.call(y,i)&&(d=y);var g=h.prototype=p.prototype=Iw(d);function m(t){var e;Aw(e=["next","throw","return"]).call(e,(function(e){c(t,e,(function(t){return this._invoke(e,t)}))}))}function b(t,e){function o(n,i,a,u){var c=s(t[n],t,i);if("throw"!==c.type){var f=c.arg,l=f.value;return l&&"object"==Os(l)&&r.call(l,"__await")?e.resolve(l.__await).then((function(t){o("next",t,a,u)}),(function(t){o("throw",t,a,u)})):e.resolve(l).then((function(t){f.value=t,a(f)}),(function(t){return o("throw",t,a,u)}))}u(c.arg)}var i;n(this,"_invoke",{value:function(t,r){function n(){return new e((function(e,n){o(t,r,e,n)}))}return i=i?i.then(n,n):n()}})}function w(t,e,r){var n="suspendedStart";return function(o,i){if("executing"===n)throw new Error("Generator is already running");if("completed"===n){if("throw"===o)throw i;return{value:void 0,done:!0}}for(r.method=o,r.arg=i;;){var a=r.delegate;if(a){var u=S(a,r);if(u){if(u===l)continue;return u}}if("next"===r.method)r.sent=r._sent=r.arg;else if("throw"===r.method){if("suspendedStart"===n)throw n="completed",r.arg;r.dispatchException(r.arg)}else"return"===r.method&&r.abrupt("return",r.arg);n="executing";var c=s(t,e,r);if("normal"===c.type){if(n=r.done?"completed":"suspendedYield",c.arg===l)continue;return{value:c.arg,done:r.done}}"throw"===c.type&&(n="completed",r.method="throw",r.arg=c.arg)}}}function S(t,e){var r=e.method,n=t.iterator[r];if(void 0===n)return e.delegate=null,"throw"===r&&t.iterator.return&&(e.method="return",e.arg=void 0,S(t,e),"throw"===e.method)||"return"!==r&&(e.method="throw",e.arg=new TypeError("The iterator does not provide a '"+r+"' method")),l;var o=s(n,t.iterator,e.arg);if("throw"===o.type)return e.method="throw",e.arg=o.arg,e.delegate=null,l;var i=o.arg;return i?i.done?(e[t.resultName]=i.value,e.next=t.nextLoc,"return"!==e.method&&(e.method="next",e.arg=void 0),e.delegate=null,l):i:(e.method="throw",e.arg=new TypeError("iterator result is not an object"),e.delegate=null,l)}function O(t){var e={tryLoc:t[0]};1 in t&&(e.catchLoc=t[1]),2 in t&&(e.finallyLoc=t[2],e.afterLoc=t[3]),this.tryEntries.push(e)}function E(t){var e=t.completion||{};e.type="normal",delete e.arg,t.completion=e}function j(t){this.tryEntries=[{tryLoc:"root"}],Aw(t).call(t,O,this),this.reset(!0)}function T(t){if(t){var e=t[i];if(e)return e.call(t);if("function"==typeof t.next)return t;if(!isNaN(t.length)){var n=-1,o=function e(){for(;++n<t.length;)if(r.call(t,n))return e.value=t[n],e.done=!1,e;return e.value=void 0,e.done=!0,e};return o.next=o}}return{next:x}}function x(){return{value:void 0,done:!0}}return v.prototype=h,n(g,"constructor",{value:h,configurable:!0}),n(h,"constructor",{value:v,configurable:!0}),v.displayName=c(h,u,"GeneratorFunction"),t.isGeneratorFunction=function(t){var e="function"==typeof t&&t.constructor;return!!e&&(e===v||"GeneratorFunction"===(e.displayName||e.name))},t.mark=function(t){return Nw?Nw(t,h):(t.__proto__=h,c(t,u,"GeneratorFunction")),t.prototype=Iw(g),t},t.awrap=function(t){return{__await:t}},m(b.prototype),c(b.prototype,a,(function(){return this})),t.AsyncIterator=b,t.async=function(e,r,n,o,i){void 0===i&&(i=Cm);var a=new b(f(e,r,n,o),i);return t.isGeneratorFunction(r)?a:a.next().then((function(t){return t.done?t.value:a.next()}))},m(g),c(g,u,"Generator"),c(g,i,(function(){return this})),c(g,"toString",(function(){return"[object Generator]"})),t.keys=function(t){var e=Object(t),r=[];for(var n in e)r.push(n);return Mw(r).call(r),function t(){for(;r.length;){var n=r.pop();if(n in e)return t.value=n,t.done=!1,t}return t.done=!0,t}},t.values=T,j.prototype={constructor:j,reset:function(t){var e;if(this.prev=0,this.next=0,this.sent=this._sent=void 0,this.done=!1,this.delegate=null,this.method="next",this.arg=void 0,Aw(e=this.tryEntries).call(e,E),!t)for(var n in this)"t"===n.charAt(0)&&r.call(this,n)&&!isNaN(+Dw(n).call(n,1))&&(this[n]=void 0)},stop:function(){this.done=!0;var t=this.tryEntries[0].completion;if("throw"===t.type)throw t.arg;return this.rval},dispatchException:function(t){if(this.done)throw t;var e=this;function n(r,n){return a.type="throw",a.arg=t,e.next=r,n&&(e.method="next",e.arg=void 0),!!n}for(var o=this.tryEntries.length-1;o>=0;--o){var i=this.tryEntries[o],a=i.completion;if("root"===i.tryLoc)return n("end");if(i.tryLoc<=this.prev){var u=r.call(i,"catchLoc"),c=r.call(i,"finallyLoc");if(u&&c){if(this.prev<i.catchLoc)return n(i.catchLoc,!0);if(this.prev<i.finallyLoc)return n(i.finallyLoc)}else if(u){if(this.prev<i.catchLoc)return n(i.catchLoc,!0)}else{if(!c)throw new Error("try statement without catch or finally");if(this.prev<i.finallyLoc)return n(i.finallyLoc)}}}},abrupt:function(t,e){for(var n=this.tryEntries.length-1;n>=0;--n){var o=this.tryEntries[n];if(o.tryLoc<=this.prev&&r.call(o,"finallyLoc")&&this.prev<o.finallyLoc){var i=o;break}}i&&("break"===t||"continue"===t)&&i.tryLoc<=e&&e<=i.finallyLoc&&(i=null);var a=i?i.completion:{};return a.type=t,a.arg=e,i?(this.method="next",this.next=i.finallyLoc,l):this.complete(a)},complete:function(t,e){if("throw"===t.type)throw t.arg;return"break"===t.type||"continue"===t.type?this.next=t.arg:"return"===t.type?(this.rval=this.arg=t.arg,this.method="return",this.next="end"):"normal"===t.type&&e&&(this.next=e),l},finish:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var r=this.tryEntries[e];if(r.finallyLoc===t)return this.complete(r.completion,r.afterLoc),E(r),l}},catch:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var r=this.tryEntries[e];if(r.tryLoc===t){var n=r.completion;if("throw"===n.type){var o=n.arg;E(r)}return o}}throw new Error("illegal catch attempt")},delegateYield:function(t,e,r){return this.delegate={iterator:T(t),resultName:e,nextLoc:r},"next"===this.method&&(this.arg=void 0),l}},t}function Vw(t,e,r,n,o,i,a){try{var u=t[i](a),c=u.value}catch(VI){return void r(VI)}u.done?e(c):Cm.resolve(c).then(n,o)}function Hw(t,e,r){return(e=function(t){var e=function(t,e){if("object"!==Os(t)||null===t)return t;var r=t[Fw];if(void 0!==r){var n=r.call(t,e||"default");if("object"!==Os(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===e?String:Number)(t)}(t,"string");return"symbol"===Os(e)?e:String(e)}(e))in t?Im(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}var Yw=function(t){return t&&t.Math==Math&&t},zw=Yw("object"==typeof globalThis&&globalThis)||Yw("object"==typeof window&&window)||Yw("object"==typeof self&&self)||Yw("object"==typeof e&&e)||function(){return this}()||Function("return this")(),Kw={},Ww=function(t){try{return!!t()}catch(VI){return!0}},Jw=!Ww((function(){return 7!=Object.defineProperty({},1,{get:function(){return 7}})[1]})),qw=!Ww((function(){var t=function(){}.bind();return"function"!=typeof t||t.hasOwnProperty("prototype")})),$w=qw,Xw=Function.prototype.call,Qw=$w?Xw.bind(Xw):function(){return Xw.apply(Xw,arguments)},Zw={},tS={}.propertyIsEnumerable,eS=Object.getOwnPropertyDescriptor,rS=eS&&!tS.call({1:2},1);Zw.f=rS?function(t){var e=eS(this,t);return!!e&&e.enumerable}:tS;var nS,oS,iS=function(t,e){return{enumerable:!(1&t),configurable:!(2&t),writable:!(4&t),value:e}},aS=qw,uS=Function.prototype,cS=uS.call,fS=aS&&uS.bind.bind(cS,cS),sS=aS?fS:function(t){return function(){return cS.apply(t,arguments)}},lS=sS,pS=lS({}.toString),vS=lS("".slice),hS=function(t){return vS(pS(t),8,-1)},dS=Ww,yS=hS,gS=Object,mS=sS("".split),bS=dS((function(){return!gS("z").propertyIsEnumerable(0)}))?function(t){return"String"==yS(t)?mS(t,""):gS(t)}:gS,wS=function(t){return null==t},SS=wS,OS=TypeError,ES=function(t){if(SS(t))throw OS("Can't call method on "+t);return t},jS=bS,TS=ES,xS=function(t){return jS(TS(t))},_S="object"==typeof document&&document.all,PS={all:_S,IS_HTMLDDA:void 0===_S&&void 0!==_S},AS=PS.all,LS=PS.IS_HTMLDDA?function(t){return"function"==typeof t||t===AS}:function(t){return"function"==typeof t},RS=LS,kS=PS.all,IS=PS.IS_HTMLDDA?function(t){return"object"==typeof t?null!==t:RS(t)||t===kS}:function(t){return"object"==typeof t?null!==t:RS(t)},CS=zw,NS=LS,MS=function(t,e){return arguments.length<2?(r=CS[t],NS(r)?r:void 0):CS[t]&&CS[t][e];var r},DS=sS({}.isPrototypeOf),FS=MS("navigator","userAgent")||"",GS=zw,BS=FS,US=GS.process,VS=GS.Deno,HS=US&&US.versions||VS&&VS.version,YS=HS&&HS.v8;YS&&(oS=(nS=YS.split("."))[0]>0&&nS[0]<4?1:+(nS[0]+nS[1])),!oS&&BS&&(!(nS=BS.match(/Edge\/(\d+)/))||nS[1]>=74)&&(nS=BS.match(/Chrome\/(\d+)/))&&(oS=+nS[1]);var zS=oS,KS=zS,WS=Ww,JS=!!Object.getOwnPropertySymbols&&!WS((function(){var t=Symbol();return!String(t)||!(Object(t)instanceof Symbol)||!Symbol.sham&&KS&&KS<41})),qS=JS&&!Symbol.sham&&"symbol"==typeof Symbol.iterator,$S=MS,XS=LS,QS=DS,ZS=Object,tO=qS?function(t){return"symbol"==typeof t}:function(t){var e=$S("Symbol");return XS(e)&&QS(e.prototype,ZS(t))},eO=String,rO=function(t){try{return eO(t)}catch(VI){return"Object"}},nO=LS,oO=rO,iO=TypeError,aO=function(t){if(nO(t))return t;throw iO(oO(t)+" is not a function")},uO=aO,cO=wS,fO=function(t,e){var r=t[e];return cO(r)?void 0:uO(r)},sO=Qw,lO=LS,pO=IS,vO=TypeError,hO={exports:{}},dO=zw,yO=Object.defineProperty,gO=function(t,e){try{yO(dO,t,{value:e,configurable:!0,writable:!0})}catch(VI){dO[t]=e}return e},mO=gO,bO="__core-js_shared__",wO=zw[bO]||mO(bO,{}),SO=wO;(hO.exports=function(t,e){return SO[t]||(SO[t]=void 0!==e?e:{})})("versions",[]).push({version:"3.26.1",mode:"global",copyright:"© 2014-2022 Denis Pushkarev (zloirock.ru)",license:"https://github.com/zloirock/core-js/blob/v3.26.1/LICENSE",source:"https://github.com/zloirock/core-js"});var OO=hO.exports,EO=ES,jO=Object,TO=function(t){return jO(EO(t))},xO=TO,_O=sS({}.hasOwnProperty),PO=Object.hasOwn||function(t,e){return _O(xO(t),e)},AO=sS,LO=0,RO=Math.random(),kO=AO(1..toString),IO=function(t){return"Symbol("+(void 0===t?"":t)+")_"+kO(++LO+RO,36)},CO=zw,NO=PO,MO=IO,DO=JS,FO=qS,GO=OO("wks"),BO=CO.Symbol,UO=BO&&BO.for,VO=FO?BO:BO&&BO.withoutSetter||MO,HO=function(t){if(!NO(GO,t)||!DO&&"string"!=typeof GO[t]){var e="Symbol."+t;DO&&NO(BO,t)?GO[t]=BO[t]:GO[t]=FO&&UO?UO(e):VO(e)}return GO[t]},YO=Qw,zO=IS,KO=tO,WO=fO,JO=function(t,e){var r,n;if("string"===e&&lO(r=t.toString)&&!pO(n=sO(r,t)))return n;if(lO(r=t.valueOf)&&!pO(n=sO(r,t)))return n;if("string"!==e&&lO(r=t.toString)&&!pO(n=sO(r,t)))return n;throw vO("Can't convert object to primitive value")},qO=TypeError,$O=HO("toPrimitive"),XO=function(t,e){if(!zO(t)||KO(t))return t;var r,n=WO(t,$O);if(n){if(void 0===e&&(e="default"),r=YO(n,t,e),!zO(r)||KO(r))return r;throw qO("Can't convert object to primitive value")}return void 0===e&&(e="number"),JO(t,e)},QO=tO,ZO=function(t){var e=XO(t,"string");return QO(e)?e:e+""},tE=IS,eE=zw.document,rE=tE(eE)&&tE(eE.createElement),nE=function(t){return rE?eE.createElement(t):{}},oE=nE,iE=!Jw&&!Ww((function(){return 7!=Object.defineProperty(oE("div"),"a",{get:function(){return 7}}).a})),aE=Jw,uE=Qw,cE=Zw,fE=iS,sE=xS,lE=ZO,pE=PO,vE=iE,hE=Object.getOwnPropertyDescriptor;Kw.f=aE?hE:function(t,e){if(t=sE(t),e=lE(e),vE)try{return hE(t,e)}catch(VI){}if(pE(t,e))return fE(!uE(cE.f,t,e),t[e])};var dE={},yE=Jw&&Ww((function(){return 42!=Object.defineProperty((function(){}),"prototype",{value:42,writable:!1}).prototype})),gE=IS,mE=String,bE=TypeError,wE=function(t){if(gE(t))return t;throw bE(mE(t)+" is not an object")},SE=Jw,OE=iE,EE=yE,jE=wE,TE=ZO,xE=TypeError,_E=Object.defineProperty,PE=Object.getOwnPropertyDescriptor,AE="enumerable",LE="configurable",RE="writable";dE.f=SE?EE?function(t,e,r){if(jE(t),e=TE(e),jE(r),"function"==typeof t&&"prototype"===e&&"value"in r&&RE in r&&!r[RE]){var n=PE(t,e);n&&n[RE]&&(t[e]=r.value,r={configurable:LE in r?r[LE]:n[LE],enumerable:AE in r?r[AE]:n[AE],writable:!1})}return _E(t,e,r)}:_E:function(t,e,r){if(jE(t),e=TE(e),jE(r),OE)try{return _E(t,e,r)}catch(VI){}if("get"in r||"set"in r)throw xE("Accessors not supported");return"value"in r&&(t[e]=r.value),t};var kE=dE,IE=iS,CE=Jw?function(t,e,r){return kE.f(t,e,IE(1,r))}:function(t,e,r){return t[e]=r,t},NE={exports:{}},ME=Jw,DE=PO,FE=Function.prototype,GE=ME&&Object.getOwnPropertyDescriptor,BE=DE(FE,"name"),UE={EXISTS:BE,PROPER:BE&&"something"===function(){}.name,CONFIGURABLE:BE&&(!ME||ME&&GE(FE,"name").configurable)},VE=LS,HE=wO,YE=sS(Function.toString);VE(HE.inspectSource)||(HE.inspectSource=function(t){return YE(t)});var zE,KE,WE,JE=HE.inspectSource,qE=LS,$E=zw.WeakMap,XE=qE($E)&&/native code/.test(String($E)),QE=IO,ZE=OO("keys"),tj=function(t){return ZE[t]||(ZE[t]=QE(t))},ej={},rj=XE,nj=zw,oj=IS,ij=CE,aj=PO,uj=wO,cj=tj,fj=ej,sj="Object already initialized",lj=nj.TypeError,pj=nj.WeakMap;if(rj||uj.state){var vj=uj.state||(uj.state=new pj);vj.get=vj.get,vj.has=vj.has,vj.set=vj.set,zE=function(t,e){if(vj.has(t))throw lj(sj);return e.facade=t,vj.set(t,e),e},KE=function(t){return vj.get(t)||{}},WE=function(t){return vj.has(t)}}else{var hj=cj("state");fj[hj]=!0,zE=function(t,e){if(aj(t,hj))throw lj(sj);return e.facade=t,ij(t,hj,e),e},KE=function(t){return aj(t,hj)?t[hj]:{}},WE=function(t){return aj(t,hj)}}var dj={set:zE,get:KE,has:WE,enforce:function(t){return WE(t)?KE(t):zE(t,{})},getterFor:function(t){return function(e){var r;if(!oj(e)||(r=KE(e)).type!==t)throw lj("Incompatible receiver, "+t+" required");return r}}},yj=Ww,gj=LS,mj=PO,bj=Jw,wj=UE.CONFIGURABLE,Sj=JE,Oj=dj.enforce,Ej=dj.get,jj=Object.defineProperty,Tj=bj&&!yj((function(){return 8!==jj((function(){}),"length",{value:8}).length})),xj=String(String).split("String"),_j=NE.exports=function(t,e,r){"Symbol("===String(e).slice(0,7)&&(e="["+String(e).replace(/^Symbol\(([^)]*)\)/,"$1")+"]"),r&&r.getter&&(e="get "+e),r&&r.setter&&(e="set "+e),(!mj(t,"name")||wj&&t.name!==e)&&(bj?jj(t,"name",{value:e,configurable:!0}):t.name=e),Tj&&r&&mj(r,"arity")&&t.length!==r.arity&&jj(t,"length",{value:r.arity});try{r&&mj(r,"constructor")&&r.constructor?bj&&jj(t,"prototype",{writable:!1}):t.prototype&&(t.prototype=void 0)}catch(VI){}var n=Oj(t);return mj(n,"source")||(n.source=xj.join("string"==typeof e?e:"")),t};Function.prototype.toString=_j((function(){return gj(this)&&Ej(this).source||Sj(this)}),"toString");var Pj=NE.exports,Aj=LS,Lj=dE,Rj=Pj,kj=gO,Ij=function(t,e,r,n){n||(n={});var o=n.enumerable,i=void 0!==n.name?n.name:e;if(Aj(r)&&Rj(r,i,n),n.global)o?t[e]=r:kj(e,r);else{try{n.unsafe?t[e]&&(o=!0):delete t[e]}catch(VI){}o?t[e]=r:Lj.f(t,e,{value:r,enumerable:!1,configurable:!n.nonConfigurable,writable:!n.nonWritable})}return t},Cj={},Nj=Math.ceil,Mj=Math.floor,Dj=Math.trunc||function(t){var e=+t;return(e>0?Mj:Nj)(e)},Fj=function(t){var e=+t;return e!=e||0===e?0:Dj(e)},Gj=Fj,Bj=Math.max,Uj=Math.min,Vj=Fj,Hj=Math.min,Yj=function(t){return t>0?Hj(Vj(t),9007199254740991):0},zj=function(t){return Yj(t.length)},Kj=xS,Wj=function(t,e){var r=Gj(t);return r<0?Bj(r+e,0):Uj(r,e)},Jj=zj,qj=function(t){return function(e,r,n){var o,i=Kj(e),a=Jj(i),u=Wj(n,a);if(t&&r!=r){for(;a>u;)if((o=i[u++])!=o)return!0}else for(;a>u;u++)if((t||u in i)&&i[u]===r)return t||u||0;return!t&&-1}},$j={includes:qj(!0),indexOf:qj(!1)},Xj=PO,Qj=xS,Zj=$j.indexOf,tT=ej,eT=sS([].push),rT=function(t,e){var r,n=Qj(t),o=0,i=[];for(r in n)!Xj(tT,r)&&Xj(n,r)&&eT(i,r);for(;e.length>o;)Xj(n,r=e[o++])&&(~Zj(i,r)||eT(i,r));return i},nT=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"],oT=rT,iT=nT.concat("length","prototype");Cj.f=Object.getOwnPropertyNames||function(t){return oT(t,iT)};var aT={};aT.f=Object.getOwnPropertySymbols;var uT=MS,cT=Cj,fT=aT,sT=wE,lT=sS([].concat),pT=uT("Reflect","ownKeys")||function(t){var e=cT.f(sT(t)),r=fT.f;return r?lT(e,r(t)):e},vT=PO,hT=pT,dT=Kw,yT=dE,gT=Ww,mT=LS,bT=/#|\.prototype\./,wT=function(t,e){var r=OT[ST(t)];return r==jT||r!=ET&&(mT(e)?gT(e):!!e)},ST=wT.normalize=function(t){return String(t).replace(bT,".").toLowerCase()},OT=wT.data={},ET=wT.NATIVE="N",jT=wT.POLYFILL="P",TT=wT,xT=zw,_T=Kw.f,PT=CE,AT=Ij,LT=gO,RT=function(t,e,r){for(var n=hT(e),o=yT.f,i=dT.f,a=0;a<n.length;a++){var u=n[a];vT(t,u)||r&&vT(r,u)||o(t,u,i(e,u))}},kT=TT,IT=function(t,e){var r,n,o,i,a,u=t.target,c=t.global,f=t.stat;if(r=c?xT:f?xT[u]||LT(u,{}):(xT[u]||{}).prototype)for(n in e){if(i=e[n],o=t.dontCallGetSet?(a=_T(r,n))&&a.value:r[n],!kT(c?n:u+(f?".":"#")+n,t.forced)&&void 0!==o){if(typeof i==typeof o)continue;RT(i,o)}(t.sham||o&&o.sham)&&PT(i,"sham",!0),AT(r,n,i,t)}},CT=rT,NT=nT,MT=Object.keys||function(t){return CT(t,NT)},DT=Jw,FT=sS,GT=Qw,BT=Ww,UT=MT,VT=aT,HT=Zw,YT=TO,zT=bS,KT=Object.assign,WT=Object.defineProperty,JT=FT([].concat),qT=!KT||BT((function(){if(DT&&1!==KT({b:1},KT(WT({},"a",{enumerable:!0,get:function(){WT(this,"b",{value:3,enumerable:!1})}}),{b:2})).b)return!0;var t={},e={},r=Symbol(),n="abcdefghijklmnopqrst";return t[r]=7,n.split("").forEach((function(t){e[t]=t})),7!=KT({},t)[r]||UT(KT({},e)).join("")!=n}))?function(t,e){for(var r=YT(t),n=arguments.length,o=1,i=VT.f,a=HT.f;n>o;)for(var u,c=zT(arguments[o++]),f=i?JT(UT(c),i(c)):UT(c),s=f.length,l=0;s>l;)u=f[l++],DT&&!GT(a,c,u)||(r[u]=c[u]);return r}:KT,$T=qT;IT({target:"Object",stat:!0,arity:2,forced:Object.assign!==$T},{assign:$T});var XT={};XT[HO("toStringTag")]="z";var QT="[object z]"===String(XT),ZT=QT,tx=LS,ex=hS,rx=HO("toStringTag"),nx=Object,ox="Arguments"==ex(function(){return arguments}()),ix=ZT?ex:function(t){var e,r,n;return void 0===t?"Undefined":null===t?"Null":"string"==typeof(r=function(t,e){try{return t[e]}catch(VI){}}(e=nx(t),rx))?r:ox?ex(e):"Object"==(n=ex(e))&&tx(e.callee)?"Arguments":n},ax=ix,ux=QT?{}.toString:function(){return"[object "+ax(this)+"]"};QT||Ij(Object.prototype,"toString",ux,{unsafe:!0});var cx="process"==hS(zw.process),fx=LS,sx=String,lx=TypeError,px=sS,vx=wE,hx=function(t){if("object"==typeof t||fx(t))return t;throw lx("Can't set "+sx(t)+" as a prototype")},dx=Object.setPrototypeOf||("__proto__"in{}?function(){var t,e=!1,r={};try{(t=px(Object.getOwnPropertyDescriptor(Object.prototype,"__proto__").set))(r,[]),e=r instanceof Array}catch(VI){}return function(r,n){return vx(r),hx(n),e?t(r,n):r.__proto__=n,r}}():void 0),yx=dE.f,gx=PO,mx=HO("toStringTag"),bx=MS,wx=dE,Sx=Jw,Ox=HO("species"),Ex=DS,jx=TypeError,Tx=sS,xx=Ww,_x=LS,Px=ix,Ax=JE,Lx=function(){},Rx=[],kx=MS("Reflect","construct"),Ix=/^\s*(?:class|function)\b/,Cx=Tx(Ix.exec),Nx=!Ix.exec(Lx),Mx=function(t){if(!_x(t))return!1;try{return kx(Lx,Rx,t),!0}catch(VI){return!1}},Dx=function(t){if(!_x(t))return!1;switch(Px(t)){case"AsyncFunction":case"GeneratorFunction":case"AsyncGeneratorFunction":return!1}try{return Nx||!!Cx(Ix,Ax(t))}catch(VI){return!0}};Dx.sham=!0;var Fx,Gx,Bx,Ux,Vx=!kx||xx((function(){var t;return Mx(Mx.call)||!Mx(Object)||!Mx((function(){t=!0}))||t}))?Dx:Mx,Hx=Vx,Yx=rO,zx=TypeError,Kx=wE,Wx=function(t){if(Hx(t))return t;throw zx(Yx(t)+" is not a constructor")},Jx=wS,qx=HO("species"),$x=function(t,e){var r,n=Kx(t).constructor;return void 0===n||Jx(r=Kx(n)[qx])?e:Wx(r)},Xx=qw,Qx=Function.prototype,Zx=Qx.apply,t_=Qx.call,e_="object"==typeof Reflect&&Reflect.apply||(Xx?t_.bind(Zx):function(){return t_.apply(Zx,arguments)}),r_=hS,n_=sS,o_=function(t){if("Function"===r_(t))return n_(t)},i_=aO,a_=qw,u_=o_(o_.bind),c_=function(t,e){return i_(t),void 0===e?t:a_?u_(t,e):function(){return t.apply(e,arguments)}},f_=MS("document","documentElement"),s_=sS([].slice),l_=TypeError,p_=/(?:ipad|iphone|ipod).*applewebkit/i.test(FS),v_=zw,h_=e_,d_=c_,y_=LS,g_=PO,m_=Ww,b_=f_,w_=s_,S_=nE,O_=function(t,e){if(t<e)throw l_("Not enough arguments");return t},E_=p_,j_=cx,T_=v_.setImmediate,x_=v_.clearImmediate,__=v_.process,P_=v_.Dispatch,A_=v_.Function,L_=v_.MessageChannel,R_=v_.String,k_=0,I_={},C_="onreadystatechange";try{Fx=v_.location}catch(VI){}var N_=function(t){if(g_(I_,t)){var e=I_[t];delete I_[t],e()}},M_=function(t){return function(){N_(t)}},D_=function(t){N_(t.data)},F_=function(t){v_.postMessage(R_(t),Fx.protocol+"//"+Fx.host)};T_&&x_||(T_=function(t){O_(arguments.length,1);var e=y_(t)?t:A_(t),r=w_(arguments,1);return I_[++k_]=function(){h_(e,void 0,r)},Gx(k_),k_},x_=function(t){delete I_[t]},j_?Gx=function(t){__.nextTick(M_(t))}:P_&&P_.now?Gx=function(t){P_.now(M_(t))}:L_&&!E_?(Ux=(Bx=new L_).port2,Bx.port1.onmessage=D_,Gx=d_(Ux.postMessage,Ux)):v_.addEventListener&&y_(v_.postMessage)&&!v_.importScripts&&Fx&&"file:"!==Fx.protocol&&!m_(F_)?(Gx=F_,v_.addEventListener("message",D_,!1)):Gx=C_ in S_("script")?function(t){b_.appendChild(S_("script"))[C_]=function(){b_.removeChild(this),N_(t)}}:function(t){setTimeout(M_(t),0)});var G_,B_,U_,V_,H_,Y_,z_,K_,W_={set:T_,clear:x_},J_=zw,q_=/ipad|iphone|ipod/i.test(FS)&&void 0!==J_.Pebble,$_=/web0s(?!.*chrome)/i.test(FS),X_=zw,Q_=c_,Z_=Kw.f,tP=W_.set,eP=p_,rP=q_,nP=$_,oP=cx,iP=X_.MutationObserver||X_.WebKitMutationObserver,aP=X_.document,uP=X_.process,cP=X_.Promise,fP=Z_(X_,"queueMicrotask"),sP=fP&&fP.value;sP||(G_=function(){var t,e;for(oP&&(t=uP.domain)&&t.exit();B_;){e=B_.fn,B_=B_.next;try{e()}catch(VI){throw B_?V_():U_=void 0,VI}}U_=void 0,t&&t.enter()},eP||oP||nP||!iP||!aP?!rP&&cP&&cP.resolve?((z_=cP.resolve(void 0)).constructor=cP,K_=Q_(z_.then,z_),V_=function(){K_(G_)}):oP?V_=function(){uP.nextTick(G_)}:(tP=Q_(tP,X_),V_=function(){tP(G_)}):(H_=!0,Y_=aP.createTextNode(""),new iP(G_).observe(Y_,{characterData:!0}),V_=function(){Y_.data=H_=!H_}));var lP=sP||function(t){var e={fn:t,next:void 0};U_&&(U_.next=e),B_||(B_=e,V_()),U_=e},pP=zw,vP=function(t){try{return{error:!1,value:t()}}catch(VI){return{error:!0,value:VI}}},hP=function(){this.head=null,this.tail=null};hP.prototype={add:function(t){var e={item:t,next:null};this.head?this.tail.next=e:this.head=e,this.tail=e},get:function(){var t=this.head;if(t)return this.head=t.next,this.tail===t&&(this.tail=null),t.item}};var dP=hP,yP=zw.Promise,gP="object"==typeof Deno&&Deno&&"object"==typeof Deno.version,mP=!gP&&!cx&&"object"==typeof window&&"object"==typeof document,bP=zw,wP=yP,SP=LS,OP=TT,EP=JE,jP=HO,TP=mP,xP=gP,_P=zS;wP&&wP.prototype;var PP=jP("species"),AP=!1,LP=SP(bP.PromiseRejectionEvent),RP={CONSTRUCTOR:OP("Promise",(function(){var t=EP(wP),e=t!==String(wP);if(!e&&66===_P)return!0;if(!_P||_P<51||!/native code/.test(t)){var r=new wP((function(t){t(1)})),n=function(t){t((function(){}),(function(){}))};if((r.constructor={})[PP]=n,!(AP=r.then((function(){}))instanceof n))return!0}return!e&&(TP||xP)&&!LP})),REJECTION_EVENT:LP,SUBCLASSING:AP},kP={},IP=aO,CP=TypeError,NP=function(t){var e,r;this.promise=new t((function(t,n){if(void 0!==e||void 0!==r)throw CP("Bad Promise constructor");e=t,r=n})),this.resolve=IP(e),this.reject=IP(r)};kP.f=function(t){return new NP(t)};var MP,DP,FP,GP=IT,BP=cx,UP=zw,VP=Qw,HP=Ij,YP=dx,zP=function(t,e,r){t&&!r&&(t=t.prototype),t&&!gx(t,mx)&&yx(t,mx,{configurable:!0,value:e})},KP=function(t){var e=bx(t),r=wx.f;Sx&&e&&!e[Ox]&&r(e,Ox,{configurable:!0,get:function(){return this}})},WP=aO,JP=LS,qP=IS,$P=function(t,e){if(Ex(e,t))return t;throw jx("Incorrect invocation")},XP=$x,QP=W_.set,ZP=lP,tA=function(t,e){var r=pP.console;r&&r.error&&(1==arguments.length?r.error(t):r.error(t,e))},eA=vP,rA=dP,nA=dj,oA=yP,iA=kP,aA="Promise",uA=RP.CONSTRUCTOR,cA=RP.REJECTION_EVENT,fA=RP.SUBCLASSING,sA=nA.getterFor(aA),lA=nA.set,pA=oA&&oA.prototype,vA=oA,hA=pA,dA=UP.TypeError,yA=UP.document,gA=UP.process,mA=iA.f,bA=mA,wA=!!(yA&&yA.createEvent&&UP.dispatchEvent),SA="unhandledrejection",OA=function(t){var e;return!(!qP(t)||!JP(e=t.then))&&e},EA=function(t,e){var r,n,o,i=e.value,a=1==e.state,u=a?t.ok:t.fail,c=t.resolve,f=t.reject,s=t.domain;try{u?(a||(2===e.rejection&&PA(e),e.rejection=1),!0===u?r=i:(s&&s.enter(),r=u(i),s&&(s.exit(),o=!0)),r===t.promise?f(dA("Promise-chain cycle")):(n=OA(r))?VP(n,r,c,f):c(r)):f(i)}catch(VI){s&&!o&&s.exit(),f(VI)}},jA=function(t,e){t.notified||(t.notified=!0,ZP((function(){for(var r,n=t.reactions;r=n.get();)EA(r,t);t.notified=!1,e&&!t.rejection&&xA(t)})))},TA=function(t,e,r){var n,o;wA?((n=yA.createEvent("Event")).promise=e,n.reason=r,n.initEvent(t,!1,!0),UP.dispatchEvent(n)):n={promise:e,reason:r},!cA&&(o=UP["on"+t])?o(n):t===SA&&tA("Unhandled promise rejection",r)},xA=function(t){VP(QP,UP,(function(){var e,r=t.facade,n=t.value;if(_A(t)&&(e=eA((function(){BP?gA.emit("unhandledRejection",n,r):TA(SA,r,n)})),t.rejection=BP||_A(t)?2:1,e.error))throw e.value}))},_A=function(t){return 1!==t.rejection&&!t.parent},PA=function(t){VP(QP,UP,(function(){var e=t.facade;BP?gA.emit("rejectionHandled",e):TA("rejectionhandled",e,t.value)}))},AA=function(t,e,r){return function(n){t(e,n,r)}},LA=function(t,e,r){t.done||(t.done=!0,r&&(t=r),t.value=e,t.state=2,jA(t,!0))},RA=function(t,e,r){if(!t.done){t.done=!0,r&&(t=r);try{if(t.facade===e)throw dA("Promise can't be resolved itself");var n=OA(e);n?ZP((function(){var r={done:!1};try{VP(n,e,AA(RA,r,t),AA(LA,r,t))}catch(VI){LA(r,VI,t)}})):(t.value=e,t.state=1,jA(t,!1))}catch(VI){LA({done:!1},VI,t)}}};if(uA&&(hA=(vA=function(t){$P(this,hA),WP(t),VP(MP,this);var e=sA(this);try{t(AA(RA,e),AA(LA,e))}catch(VI){LA(e,VI)}}).prototype,(MP=function(t){lA(this,{type:aA,done:!1,notified:!1,parent:!1,reactions:new rA,rejection:!1,state:0,value:void 0})}).prototype=HP(hA,"then",(function(t,e){var r=sA(this),n=mA(XP(this,vA));return r.parent=!0,n.ok=!JP(t)||t,n.fail=JP(e)&&e,n.domain=BP?gA.domain:void 0,0==r.state?r.reactions.add(n):ZP((function(){EA(n,r)})),n.promise})),DP=function(){var t=new MP,e=sA(t);this.promise=t,this.resolve=AA(RA,e),this.reject=AA(LA,e)},iA.f=mA=function(t){return t===vA||undefined===t?new DP(t):bA(t)},JP(oA)&&pA!==Object.prototype)){FP=pA.then,fA||HP(pA,"then",(function(t,e){var r=this;return new vA((function(t,e){VP(FP,r,t,e)})).then(t,e)}),{unsafe:!0});try{delete pA.constructor}catch(VI){}YP&&YP(pA,hA)}GP({global:!0,constructor:!0,wrap:!0,forced:uA},{Promise:vA}),zP(vA,aA,!1),KP(aA);var kA={},IA=kA,CA=HO("iterator"),NA=Array.prototype,MA=ix,DA=fO,FA=wS,GA=kA,BA=HO("iterator"),UA=function(t){if(!FA(t))return DA(t,BA)||DA(t,"@@iterator")||GA[MA(t)]},VA=Qw,HA=aO,YA=wE,zA=rO,KA=UA,WA=TypeError,JA=Qw,qA=wE,$A=fO,XA=c_,QA=Qw,ZA=wE,tL=rO,eL=function(t){return void 0!==t&&(IA.Array===t||NA[CA]===t)},rL=zj,nL=DS,oL=function(t,e){var r=arguments.length<2?KA(t):e;if(HA(r))return YA(VA(r,t));throw WA(zA(t)+" is not iterable")},iL=UA,aL=function(t,e,r){var n,o;qA(t);try{if(!(n=$A(t,"return"))){if("throw"===e)throw r;return r}n=JA(n,t)}catch(VI){o=!0,n=VI}if("throw"===e)throw r;if(o)throw n;return qA(n),r},uL=TypeError,cL=function(t,e){this.stopped=t,this.result=e},fL=cL.prototype,sL=function(t,e,r){var n,o,i,a,u,c,f,s=r&&r.that,l=!(!r||!r.AS_ENTRIES),p=!(!r||!r.IS_RECORD),v=!(!r||!r.IS_ITERATOR),h=!(!r||!r.INTERRUPTED),d=XA(e,s),y=function(t){return n&&aL(n,"normal",t),new cL(!0,t)},g=function(t){return l?(ZA(t),h?d(t[0],t[1],y):d(t[0],t[1])):h?d(t,y):d(t)};if(p)n=t.iterator;else if(v)n=t;else{if(!(o=iL(t)))throw uL(tL(t)+" is not iterable");if(eL(o)){for(i=0,a=rL(t);a>i;i++)if((u=g(t[i]))&&nL(fL,u))return u;return new cL(!1)}n=oL(t,o)}for(c=p?t.next:n.next;!(f=QA(c,n)).done;){try{u=g(f.value)}catch(VI){aL(n,"throw",VI)}if("object"==typeof u&&u&&nL(fL,u))return u}return new cL(!1)},lL=HO("iterator"),pL=!1;try{var vL=0,hL={next:function(){return{done:!!vL++}},return:function(){pL=!0}};hL[lL]=function(){return this},Array.from(hL,(function(){throw 2}))}catch(VI){}var dL=yP,yL=RP.CONSTRUCTOR||!function(t,e){if(!e&&!pL)return!1;var r=!1;try{var n={};n[lL]=function(){return{next:function(){return{done:r=!0}}}},t(n)}catch(VI){}return r}((function(t){dL.all(t).then(void 0,(function(){}))})),gL=Qw,mL=aO,bL=kP,wL=vP,SL=sL;IT({target:"Promise",stat:!0,forced:yL},{all:function(t){var e=this,r=bL.f(e),n=r.resolve,o=r.reject,i=wL((function(){var r=mL(e.resolve),i=[],a=0,u=1;SL(t,(function(t){var c=a++,f=!1;u++,gL(r,e,t).then((function(t){f||(f=!0,i[c]=t,--u||n(i))}),o)})),--u||n(i)}));return i.error&&o(i.value),r.promise}});var OL=IT,EL=RP.CONSTRUCTOR,jL=yP,TL=MS,xL=LS,_L=Ij,PL=jL&&jL.prototype;if(OL({target:"Promise",proto:!0,forced:EL,real:!0},{catch:function(t){return this.then(void 0,t)}}),xL(jL)){var AL=TL("Promise").prototype.catch;PL.catch!==AL&&_L(PL,"catch",AL,{unsafe:!0})}var LL=Qw,RL=aO,kL=kP,IL=vP,CL=sL;IT({target:"Promise",stat:!0,forced:yL},{race:function(t){var e=this,r=kL.f(e),n=r.reject,o=IL((function(){var o=RL(e.resolve);CL(t,(function(t){LL(o,e,t).then(r.resolve,n)}))}));return o.error&&n(o.value),r.promise}});var NL=Qw,ML=kP;IT({target:"Promise",stat:!0,forced:RP.CONSTRUCTOR},{reject:function(t){var e=ML.f(this);return NL(e.reject,void 0,t),e.promise}});var DL=wE,FL=IS,GL=kP,BL=function(t,e){if(DL(t),FL(e)&&e.constructor===t)return e;var r=GL.f(t);return(0,r.resolve)(e),r.promise},UL=IT,VL=RP.CONSTRUCTOR,HL=BL;MS("Promise"),UL({target:"Promise",stat:!0,forced:VL},{resolve:function(t){return HL(this,t)}});var YL=hS,zL=Array.isArray||function(t){return"Array"==YL(t)},KL=TypeError,WL=ZO,JL=dE,qL=iS,$L=zL,XL=Vx,QL=IS,ZL=HO("species"),tR=Array,eR=function(t){var e;return $L(t)&&(e=t.constructor,(XL(e)&&(e===tR||$L(e.prototype))||QL(e)&&null===(e=e[ZL]))&&(e=void 0)),void 0===e?tR:e},rR=Ww,nR=zS,oR=HO("species"),iR=IT,aR=Ww,uR=zL,cR=IS,fR=TO,sR=zj,lR=function(t){if(t>9007199254740991)throw KL("Maximum allowed index exceeded");return t},pR=function(t,e,r){var n=WL(e);n in t?JL.f(t,n,qL(0,r)):t[n]=r},vR=function(t,e){return new(eR(t))(0===e?0:e)},hR=function(t){return nR>=51||!rR((function(){var e=[];return(e.constructor={})[oR]=function(){return{foo:1}},1!==e[t](Boolean).foo}))},dR=zS,yR=HO("isConcatSpreadable"),gR=dR>=51||!aR((function(){var t=[];return t[yR]=!1,t.concat()[0]!==t})),mR=hR("concat"),bR=function(t){if(!cR(t))return!1;var e=t[yR];return void 0!==e?!!e:uR(t)};iR({target:"Array",proto:!0,arity:1,forced:!gR||!mR},{concat:function(t){var e,r,n,o,i,a=fR(this),u=vR(a,0),c=0;for(e=-1,n=arguments.length;e<n;e++)if(bR(i=-1===e?a:arguments[e]))for(o=sR(i),lR(c+o),r=0;r<o;r++,c++)r in i&&pR(u,c,i[r]);else lR(c+1),pR(u,c++,i);return u.length=c,u}});var wR=ix,SR=String,OR=wE,ER=Ww,jR=zw.RegExp,TR=ER((function(){var t=jR("a","y");return t.lastIndex=2,null!=t.exec("abcd")})),xR=TR||ER((function(){return!jR("a","y").sticky})),_R={BROKEN_CARET:TR||ER((function(){var t=jR("^r","gy");return t.lastIndex=2,null!=t.exec("str")})),MISSED_STICKY:xR,UNSUPPORTED_Y:TR},PR={},AR=Jw,LR=yE,RR=dE,kR=wE,IR=xS,CR=MT;PR.f=AR&&!LR?Object.defineProperties:function(t,e){kR(t);for(var r,n=IR(e),o=CR(e),i=o.length,a=0;i>a;)RR.f(t,r=o[a++],n[r]);return t};var NR,MR=wE,DR=PR,FR=nT,GR=ej,BR=f_,UR=nE,VR="prototype",HR="script",YR=tj("IE_PROTO"),zR=function(){},KR=function(t){return"<"+HR+">"+t+"</"+HR+">"},WR=function(t){t.write(KR("")),t.close();var e=t.parentWindow.Object;return t=null,e},JR=function(){try{NR=new ActiveXObject("htmlfile")}catch(VI){}var t,e,r;JR="undefined"!=typeof document?document.domain&&NR?WR(NR):(e=UR("iframe"),r="java"+HR+":",e.style.display="none",BR.appendChild(e),e.src=String(r),(t=e.contentWindow.document).open(),t.write(KR("document.F=Object")),t.close(),t.F):WR(NR);for(var n=FR.length;n--;)delete JR[VR][FR[n]];return JR()};GR[YR]=!0;var qR,$R,XR=Object.create||function(t,e){var r;return null!==t?(zR[VR]=MR(t),r=new zR,zR[VR]=null,r[YR]=t):r=JR(),void 0===e?r:DR.f(r,e)},QR=Ww,ZR=zw.RegExp,tk=QR((function(){var t=ZR(".","s");return!(t.dotAll&&t.exec("\n")&&"s"===t.flags)})),ek=Ww,rk=zw.RegExp,nk=ek((function(){var t=rk("(?<a>b)","g");return"b"!==t.exec("b").groups.a||"bc"!=="b".replace(t,"$<a>c")})),ok=Qw,ik=sS,ak=function(t){if("Symbol"===wR(t))throw TypeError("Cannot convert a Symbol value to a string");return SR(t)},uk=function(){var t=OR(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},ck=_R,fk=XR,sk=dj.get,lk=tk,pk=nk,vk=OO("native-string-replace",String.prototype.replace),hk=RegExp.prototype.exec,dk=hk,yk=ik("".charAt),gk=ik("".indexOf),mk=ik("".replace),bk=ik("".slice),wk=($R=/b*/g,ok(hk,qR=/a/,"a"),ok(hk,$R,"a"),0!==qR.lastIndex||0!==$R.lastIndex),Sk=ck.BROKEN_CARET,Ok=void 0!==/()??/.exec("")[1];(wk||Ok||Sk||lk||pk)&&(dk=function(t){var e,r,n,o,i,a,u,c=this,f=sk(c),s=ak(t),l=f.raw;if(l)return l.lastIndex=c.lastIndex,e=ok(dk,l,s),c.lastIndex=l.lastIndex,e;var p=f.groups,v=Sk&&c.sticky,h=ok(uk,c),d=c.source,y=0,g=s;if(v&&(h=mk(h,"y",""),-1===gk(h,"g")&&(h+="g"),g=bk(s,c.lastIndex),c.lastIndex>0&&(!c.multiline||c.multiline&&"\n"!==yk(s,c.lastIndex-1))&&(d="(?: "+d+")",g=" "+g,y++),r=new RegExp("^(?:"+d+")",h)),Ok&&(r=new RegExp("^"+d+"$(?!\\s)",h)),wk&&(n=c.lastIndex),o=ok(hk,v?r:c,g),v?o?(o.input=bk(o.input,y),o[0]=bk(o[0],y),o.index=c.lastIndex,c.lastIndex+=o[0].length):c.lastIndex=0:wk&&o&&(c.lastIndex=c.global?o.index+o[0].length:n),Ok&&o&&o.length>1&&ok(vk,o[0],r,(function(){for(i=1;i<arguments.length-2;i++)void 0===arguments[i]&&(o[i]=void 0)})),o&&p)for(o.groups=a=fk(null),i=0;i<p.length;i++)a[(u=p[i])[0]]=o[u[1]];return o});IT({target:"RegExp",proto:!0,forced:/./.exec!==dk},{exec:dk});var Ek=IT,jk=yP,Tk=Ww,xk=MS,_k=LS,Pk=$x,Ak=BL,Lk=Ij,Rk=jk&&jk.prototype;if(Ek({target:"Promise",proto:!0,real:!0,forced:!!jk&&Tk((function(){Rk.finally.call({then:function(){}},(function(){}))}))},{finally:function(t){var e=Pk(this,xk("Promise")),r=_k(t);return this.then(r?function(r){return Ak(e,t()).then((function(){return r}))}:t,r?function(r){return Ak(e,t()).then((function(){throw r}))}:t)}}),_k(jk)){var kk=xk("Promise").prototype.finally;Rk.finally!==kk&&Lk(Rk,"finally",kk,{unsafe:!0})}function Ik(t){var e=document.createElement("video");return e.style.cssText="width:100px;height:100px;position:absolute;top:0;left:0;z-index:999999;opacity:.01;pointer-events:none;",e.muted=!0,e.autoplay=!1,e.src=t,e}function Ck(t){return Nk.apply(this,arguments)}function Nk(){var t;return t=Uw().mark((function t(e){var r,n,o,i,a,u,c,f,s,l;return Uw().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return r=ww({url:"",minDroppedFramesRate:0,minTotalVideoFrames:0},e),n=r.url,o=r.minDroppedFramesRate,i=r.minTotalVideoFrames,s=new Cm((function(t){function e(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:1001;t(Bw({status:!1,errCode:e,robustErr:2101===e||2001===e||3e3===e},(arguments.length>1?arguments[1]:void 0)||{}))}!n||0===o&&0===i?e(1e3):(u=function(){var r="";try{if(!a.getVideoPlaybackQuality)return e(2001);var n=a.getVideoPlaybackQuality(),u=n.totalVideoFrames,c=n.droppedVideoFrames,f=c/u,s={droppedFrameRate:f,droppedVideoFrames:c,totalVideoFrames:u};return void((o?f<=o:i&&u>i)?t(Bw({status:!0},s)):e(3e3,s))}catch(l){r=(null==l?void 0:l.message)||l||"empty err msg"}e(2200,{errMsg:r})},c=function(){var t,r,n=null===(r=a)||void 0===r?void 0:r.error;e(2e3,{errMsg:Tw(t="".concat(null==n?void 0:n.code,"-")).call(t,null==n?void 0:n.message)})},f=function(){var t=a.play();t&&t.then((function(t){})).catch((function(t){var r=t.message,n=2100;/no supported source/gi.test(r)||/The media resource indicated by the src attribute or assigned media provider object was not suitable/gi.test(r)||/NotSupportedError/gi.test(r)?n=2101:/video-only background media was paused to save power/gi.test(r)?n=2103:(/the user didn't interact with the document first/gi.test(r)||/user denied permission/gi.test(r))&&(n=2102),e(n,{errMsg:r})}))},(a=Ik(n)).addEventListener("loadedmetadata",f,!1),a.addEventListener("ended",u,!1),a.addEventListener("error",c,!1),a.load(),document.body.append(a))})),s.finally((function(){a&&(u&&c&&f&&(a.removeEventListener("loadedmetadata",f,!1),a.removeEventListener("ended",u,!1),a.removeEventListener("error",c,!1),u=null,c=null,f=null),document.body.removeChild(a),a=null)})),t.next=5,s;case 5:return l=t.sent,t.abrupt("return",l);case 7:case"end":return t.stop()}}),t)})),Nk=function(){var e=this,r=arguments;return new Cm((function(n,o){var i=t.apply(e,r);function a(t){Vw(i,n,o,a,u,"next",t)}function u(t){Vw(i,n,o,a,u,"throw",t)}a(void 0)}))},Nk.apply(this,arguments)}var Mk=Qt,Dk=k,Fk=tt,Gk=rr,Bk=function(t){return void 0!==t&&(Mk(t,"value")||Mk(t,"writable"))},Uk=P,Vk=Ec;Pr({target:"Reflect",stat:!0},{get:function t(e,r){var n,o,i=arguments.length<3?e:arguments[2];return Gk(e)===i?e[r]:(n=Uk.f(e,r))?Bk(n)?n.value:void 0===n.get?void 0:Dk(n.get,i):Fk(o=Vk(e))?t(o,r,i):void 0}});var Hk=r(et.Reflect.get);function Yk(){var t;"undefined"!=typeof Reflect&&Hk?Yk=Sg(t=Hk).call(t):Yk=function(t,e,r){var n=function(t,e){for(;!Object.prototype.hasOwnProperty.call(t,e)&&null!==(t=Gg(t)););return t}(t,e);if(n){var o=dm(n,e);return o.get?o.get.call(arguments.length<3?t:r):o.value}};return Yk.apply(this,arguments)}function zk(t,e,r){var n;Bg()?zk=Sg(n=Fg).call(n):zk=function(t,e,r){var n=[null];pl(n).apply(n,e);var o=new(Sg(Function).apply(t,n));return r&&Og(o,r.prototype),o};return zk.apply(null,arguments)}var Kk=o;Pr({global:!0,forced:Kk.globalThis!==Kk},{globalThis:Kk});var Wk=r(o),Jk=_t,qk=TypeError,$k=Pr,Xk=qt,Qk=Xn,Zk=Cr,tI=Fr,eI=nl,rI=Br,nI=Tn,oI=Yr,iI=function(t,e){if(!delete t[e])throw qk("Cannot delete property "+Jk(e)+" of "+Jk(t))},aI=An("splice"),uI=Math.max,cI=Math.min;$k({target:"Array",proto:!0,forced:!aI},{splice:function(t,e){var r,n,o,i,a,u,c=Xk(this),f=tI(c),s=Qk(t,f),l=arguments.length;for(0===l?r=n=0:1===l?(r=0,n=f-s):(r=l-2,n=cI(uI(Zk(e),0),f-s)),rI(f+r-n),o=nI(c,n),i=0;i<n;i++)(a=s+i)in c&&oI(o,i,c[a]);if(o.length=n,r<n){for(i=s;i<f-n;i++)u=i+r,(a=i+n)in c?c[u]=c[a]:iI(c,u);for(i=f;i>f-n+r;i--)iI(c,i-1)}else if(r>n)for(i=f-n;i>s;i--)u=i+r-1,(a=i+n-1)in c?c[u]=c[a]:iI(c,u);for(i=0;i<r;i++)c[i+s]=arguments[i+2];return eI(c,f-n+r),o}});var fI,sI,lI,pI,vI,hI,dI=Hs("Array").splice,yI=ut,gI=dI,mI=Array.prototype,bI=r((function(t){var e=t.splice;return t===mI||yI(mI,t)&&e===mI.splice?gI:e})),wI=(null===(fI=void 0!==Wk?Wk:void 0)||void 0===fI?void 0:fI.crypto)||(null===(sI="undefined"!=typeof global?global:void 0)||void 0===sI?void 0:sI.crypto)||(null===(lI="undefined"!=typeof window?window:void 0)||void 0===lI?void 0:lI.crypto)||(null===(pI="undefined"!=typeof self?self:void 0)||void 0===pI?void 0:pI.crypto)||(null===(vI="undefined"!=typeof frames?frames:void 0)||void 0===vI||null===(vI=vI[0])||void 0===vI?void 0:vI.crypto);hI=wI?function(t){for(var e=[],r=0;r<t;r+=4)e.push(wI.getRandomValues(new Uint32Array(1))[0]);return new OI(e,t)}:function(t){for(var e,r=[],n=function(t){var e=t,r=987654321,n=4294967295;return function(){var t=((r=36969*(65535&r)+(r>>16)&n)<<16)+(e=18e3*(65535&e)+(e>>16)&n)&n;return t/=4294967296,(t+=.5)*(Math.random()>.5?1:-1)}},o=0;o<t;o+=4){var i=n(4294967296*(e||Math.random()));e=987654071*i(),r.push(4294967296*i()|0)}return new OI(r,t)};var SI=function(){function t(){Zy(this,t)}return og(t,[{key:"mixIn",value:function(t){return ww(this,t)}},{key:"clone",value:function(){var t=new this.constructor;return ww(t,this),t}}],[{key:"create",value:function(){for(var t=arguments.length,e=new Array(t),r=0;r<t;r++)e[r]=arguments[r];return zk(this,e)}}]),t}(),OI=function(t){Eg(r,t);var e=Vg(r);function r(){var t,n=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[],o=arguments.length>1&&void 0!==arguments[1]?arguments[1]:4*n.length;Zy(this,r),t=e.call(this);var i=n;if(i instanceof ArrayBuffer&&(i=new Uint8Array(i)),(i instanceof Int8Array||i instanceof Uint8ClampedArray||i instanceof Int16Array||i instanceof Uint16Array||i instanceof Int32Array||i instanceof Uint32Array||i instanceof Float32Array||i instanceof Float64Array)&&(i=new Uint8Array(i.buffer,i.byteOffset,i.byteLength)),i instanceof Uint8Array){for(var a=i.byteLength,u=[],c=0;c<a;c+=1)u[c>>>2]|=i[c]<<24-c%4*8;t.words=u,t.sigBytes=a}else t.words=n,t.sigBytes=o;return t}return og(r,[{key:"toString",value:function(){return(arguments.length>0&&void 0!==arguments[0]?arguments[0]:EI).stringify(this)}},{key:"concat",value:function(t){var e=this.words,r=t.words,n=this.sigBytes,o=t.sigBytes;if(this.clamp(),n%4)for(var i=0;i<o;i+=1){var a=r[i>>>2]>>>24-i%4*8&255;e[n+i>>>2]|=a<<24-(n+i)%4*8}else for(var u=0;u<o;u+=4)e[n+u>>>2]=r[u>>>2];return this.sigBytes+=o,this}},{key:"clamp",value:function(){var t=this.words,e=this.sigBytes;t[e>>>2]&=4294967295<<32-e%4*8,t.length=Math.ceil(e/4)}},{key:"clone",value:function(){var t,e=Yk(Gg(r.prototype),"clone",this).call(this);return e.words=Dw(t=this.words).call(t,0),e}}]),r}(SI);Lm(OI,"random",hI);for(var EI={stringify:function(t){for(var e=t.words,r=t.sigBytes,n=[],o=0;o<r;o+=1){var i=e[o>>>2]>>>24-o%4*8&255;n.push((i>>>4).toString(16)),n.push((15&i).toString(16))}return n.join("")},parse:function(t){for(var e=t.length,r=[],n=0;n<e;n+=2)r[n>>>3]|=Pb(t.substr(n,2),16)<<24-n%8*4;return new OI(r,e/2)}},jI=function(t){for(var e=t.length,r=[],n=0;n<e;n+=1)r[n>>>2]|=(255&t.charCodeAt(n))<<24-n%4*8;return new OI(r,e)},TI=function(t){return jI(unescape(encodeURIComponent(t)))},xI=function(t){Eg(r,t);var e=Vg(r);function r(t){var n;return Zy(this,r),(n=e.call(this)).blockSize=16,n.cfg=ww(new SI,t),n.reset(),n}return og(r,[{key:"reset",value:function(){Yk(Gg(r.prototype),"reset",this).call(this),this._doReset()}},{key:"update",value:function(t){return this._append(t),this._process(),this}},{key:"finalize",value:function(t){return t&&this._append(t),this._doFinalize()}}],[{key:"_createHelper",value:function(t){return function(e,r){return new t(r).finalize(e)}}},{key:"_createHmacHelper",value:function(t){return function(e,r){return new _I(t,r).finalize(e)}}}]),r}(function(t){Eg(r,t);var e=Vg(r);function r(){var t;return Zy(this,r),(t=e.call(this))._minBufferSize=0,t}return og(r,[{key:"reset",value:function(){this._data=new OI,this._nDataBytes=0}},{key:"_append",value:function(t){var e,r=t;"string"==typeof r&&(r=TI(r)),Tw(e=this._data).call(e,r),this._nDataBytes+=r.sigBytes}},{key:"_process",value:function(t){var e,r=this._data,n=this.blockSize,o=r.words,i=r.sigBytes,a=i/(4*n),u=(a=t?Math.ceil(a):Math.max((0|a)-this._minBufferSize,0))*n,c=Math.min(4*u,i);if(u){for(var f=0;f<u;f+=n)this._doProcessBlock(o,f);e=bI(o).call(o,0,u),r.sigBytes-=c}return new OI(e,c)}},{key:"clone",value:function(){var t=Yk(Gg(r.prototype),"clone",this).call(this);return t._data=this._data.clone(),t}}]),r}(SI)),_I=function(t){Eg(r,t);var e=Vg(r);function r(t,n){var o;Zy(this,r),o=e.call(this);var i=new t;o._hasher=i;var a=n;"string"==typeof a&&(a=TI(a));var u=i.blockSize,c=4*u;a.sigBytes>c&&(a=i.finalize(n)),a.clamp();var f=a.clone();o._oKey=f;var s=a.clone();o._iKey=s;for(var l=f.words,p=s.words,v=0;v<u;v+=1)l[v]^=1549556828,p[v]^=909522486;return f.sigBytes=c,s.sigBytes=c,o.reset(),o}return og(r,[{key:"reset",value:function(){var t=this._hasher;t.reset(),t.update(this._iKey)}},{key:"update",value:function(t){return this._hasher.update(t),this}},{key:"finalize",value:function(t){var e,r=this._hasher,n=r.finalize(t);return r.reset(),r.finalize(Tw(e=this._oKey.clone()).call(e,n))}}]),r}(SI),PI=[],AI=0;AI<64;AI+=1)PI[AI]=4294967296*Math.abs(Math.sin(AI+1))|0;var LI=function(t,e,r,n,o,i,a){var u=t+(e&r|~e&n)+o+a;return(u<<i|u>>>32-i)+e},RI=function(t,e,r,n,o,i,a){var u=t+(e&n|r&~n)+o+a;return(u<<i|u>>>32-i)+e},kI=function(t,e,r,n,o,i,a){var u=t+(e^r^n)+o+a;return(u<<i|u>>>32-i)+e},II=function(t,e,r,n,o,i,a){var u=t+(r^(e|~n))+o+a;return(u<<i|u>>>32-i)+e},CI=function(t){Eg(r,t);var e=Vg(r);function r(){return Zy(this,r),e.apply(this,arguments)}return og(r,[{key:"_doReset",value:function(){this._hash=new OI([1732584193,4023233417,2562383102,271733878])}},{key:"_doProcessBlock",value:function(t,e){for(var r=t,n=0;n<16;n+=1){var o=e+n,i=t[o];r[o]=16711935&(i<<8|i>>>24)|4278255360&(i<<24|i>>>8)}var a=this._hash.words,u=r[e+0],c=r[e+1],f=r[e+2],s=r[e+3],l=r[e+4],p=r[e+5],v=r[e+6],h=r[e+7],d=r[e+8],y=r[e+9],g=r[e+10],m=r[e+11],b=r[e+12],w=r[e+13],S=r[e+14],O=r[e+15],E=a[0],j=a[1],T=a[2],x=a[3];E=LI(E,j,T,x,u,7,PI[0]),x=LI(x,E,j,T,c,12,PI[1]),T=LI(T,x,E,j,f,17,PI[2]),j=LI(j,T,x,E,s,22,PI[3]),E=LI(E,j,T,x,l,7,PI[4]),x=LI(x,E,j,T,p,12,PI[5]),T=LI(T,x,E,j,v,17,PI[6]),j=LI(j,T,x,E,h,22,PI[7]),E=LI(E,j,T,x,d,7,PI[8]),x=LI(x,E,j,T,y,12,PI[9]),T=LI(T,x,E,j,g,17,PI[10]),j=LI(j,T,x,E,m,22,PI[11]),E=LI(E,j,T,x,b,7,PI[12]),x=LI(x,E,j,T,w,12,PI[13]),T=LI(T,x,E,j,S,17,PI[14]),j=LI(j,T,x,E,O,22,PI[15]),E=RI(E,j,T,x,c,5,PI[16]),x=RI(x,E,j,T,v,9,PI[17]),T=RI(T,x,E,j,m,14,PI[18]),j=RI(j,T,x,E,u,20,PI[19]),E=RI(E,j,T,x,p,5,PI[20]),x=RI(x,E,j,T,g,9,PI[21]),T=RI(T,x,E,j,O,14,PI[22]),j=RI(j,T,x,E,l,20,PI[23]),E=RI(E,j,T,x,y,5,PI[24]),x=RI(x,E,j,T,S,9,PI[25]),T=RI(T,x,E,j,s,14,PI[26]),j=RI(j,T,x,E,d,20,PI[27]),E=RI(E,j,T,x,w,5,PI[28]),x=RI(x,E,j,T,f,9,PI[29]),T=RI(T,x,E,j,h,14,PI[30]),j=RI(j,T,x,E,b,20,PI[31]),E=kI(E,j,T,x,p,4,PI[32]),x=kI(x,E,j,T,d,11,PI[33]),T=kI(T,x,E,j,m,16,PI[34]),j=kI(j,T,x,E,S,23,PI[35]),E=kI(E,j,T,x,c,4,PI[36]),x=kI(x,E,j,T,l,11,PI[37]),T=kI(T,x,E,j,h,16,PI[38]),j=kI(j,T,x,E,g,23,PI[39]),E=kI(E,j,T,x,w,4,PI[40]),x=kI(x,E,j,T,u,11,PI[41]),T=kI(T,x,E,j,s,16,PI[42]),j=kI(j,T,x,E,v,23,PI[43]),E=kI(E,j,T,x,y,4,PI[44]),x=kI(x,E,j,T,b,11,PI[45]),T=kI(T,x,E,j,O,16,PI[46]),j=kI(j,T,x,E,f,23,PI[47]),E=II(E,j,T,x,u,6,PI[48]),x=II(x,E,j,T,h,10,PI[49]),T=II(T,x,E,j,S,15,PI[50]),j=II(j,T,x,E,p,21,PI[51]),E=II(E,j,T,x,b,6,PI[52]),x=II(x,E,j,T,s,10,PI[53]),T=II(T,x,E,j,g,15,PI[54]),j=II(j,T,x,E,c,21,PI[55]),E=II(E,j,T,x,d,6,PI[56]),x=II(x,E,j,T,O,10,PI[57]),T=II(T,x,E,j,v,15,PI[58]),j=II(j,T,x,E,w,21,PI[59]),E=II(E,j,T,x,l,6,PI[60]),x=II(x,E,j,T,m,10,PI[61]),T=II(T,x,E,j,f,15,PI[62]),j=II(j,T,x,E,y,21,PI[63]),a[0]=a[0]+E|0,a[1]=a[1]+j|0,a[2]=a[2]+T|0,a[3]=a[3]+x|0}},{key:"_doFinalize",value:function(){var t=this._data,e=t.words,r=8*this._nDataBytes,n=8*t.sigBytes;e[n>>>5]|=128<<24-n%32;var o=Math.floor(r/4294967296),i=r;e[15+(n+64>>>9<<4)]=16711935&(o<<8|o>>>24)|4278255360&(o<<24|o>>>8),e[14+(n+64>>>9<<4)]=16711935&(i<<8|i>>>24)|4278255360&(i<<24|i>>>8),t.sigBytes=4*(e.length+1),this._process();for(var a=this._hash,u=a.words,c=0;c<4;c+=1){var f=u[c];u[c]=16711935&(f<<8|f>>>24)|4278255360&(f<<24|f>>>8)}return a}},{key:"clone",value:function(){var t=Yk(Gg(r.prototype),"clone",this).call(this);return t._hash=this._hash.clone(),t}}]),r}(xI),NI=xI._createHelper(CI);xI._createHmacHelper(CI);var MI=function(t){return t.VESTRATEGY_H265_DETECT_PLAYBACK="VESTRATEGY_H265_DETECT_PLAYBACK",t.VESTRATEGY_H265_IS_SUPPORT="VESTRATEGY_H265_IS_SUPPORT",t.VESTRATEGY_H265_CAN_PLAY_SMOOTHLY="VESTRATEGY_H265_CAN_PLAY_SMOOTHLY",t}(MI||{});function DI(t){return NI([t.url,t.minDroppedFramesRate,t.minTotalVideoFrames,navigator.userAgent.toLowerCase()].join("_")).toString()}var FI=function(){function e(){Zy(this,e),Lm(this,"_detectStatus","init")}var r;return og(e,[{key:"detect",value:function(t){var e;return iw()&&((e=this.getDetectResult(t,{validateCache:!0}))||"init"!==this._detectStatus||this._detectPlaybackRobustness(t)),e}},{key:"getDetectResult",value:function(e,r){try{var n=t.util.getLocalStorage(MI.VESTRATEGY_H265_DETECT_PLAYBACK);if(!n)return;var o=JSON.parse(n);if(null!=r&&r.validateCache){var i;if(e)if(DI(e)!==o.cacheKey)return;if(!1===(null==o||null===(i=o.data)||void 0===i?void 0:i.robustErr))return}return o.data}catch(VI){return}}},{key:"_detectPlaybackRobustness",value:(r=Qy($y().mark((function e(r){var n,o;return $y().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if("pending"!==this._detectStatus){e.next=2;break}return e.abrupt("return");case 2:return this._detectStatus="pending",n=DI(r),e.prev=4,e.next=7,Ck(r);case 7:return o=e.sent,t.util.setLocalStorage(MI.VESTRATEGY_H265_DETECT_PLAYBACK,Kg({data:o,cacheKey:n})),this._detectStatus="end",e.abrupt("return",o);case 13:return e.prev=13,e.t0=e.catch(4),this._detectStatus="end",e.abrupt("return");case 17:case"end":return e.stop()}}),e,this,[[4,13]])}))),function(t){return r.apply(this,arguments)})}]),e}(),GI=new FI,BI=new t.Logger("VeStrategy-H265"),UI=function(e){Eg(i,e);var r,n,o=Vg(i);function i(){return Zy(this,i),o.apply(this,arguments)}return og(i,[{key:"getResult",value:function(e){var r,n,o=e.detectResult,i=e.whiteListConfig,a=e.deviceInfo,u=iw();n=null==i||i.enable&&void 0===a?{useH265:!1}:i.enable?t.kvMatch.getConfigWithRule(i.whiteList,{CPUScore:a.cpuScore,CPUCore:a.cpuCore,GPUScore:a.gpuScore}):{useH265:!0};try{BI.info("H265Result",Kg({isHevcApiSupported:u,detectResult:o,whiteListConfig:i,kvResult:n}))}catch(c){}return{isSupported:Boolean(u&&o&&!0!==(null==o?void 0:o.robustErr)),canPlaySmoothly:Boolean((null===(r=n)||void 0===r?void 0:r.useH265)&&(null==o?void 0:o.status))}}},{key:"getRecommendation",value:function(){this.config.detectConfig&&GI.detect(this.config.detectConfig);var e=GI.getDetectResult(),r=this.config.whiteListConfig;this.ctx.featureCenter.getDeviceMarkInfoAsync();var n=this.ctx.featureCenter.getFeatureList(),o=this.getResult({detectResult:e,whiteListConfig:r,deviceInfo:n});return t.util.setLocalStorage(MI.VESTRATEGY_H265_IS_SUPPORT,null==o?void 0:o.isSupported),t.util.setLocalStorage(MI.VESTRATEGY_H265_CAN_PLAY_SMOOTHLY,null==o?void 0:o.canPlaySmoothly),{result:{enableH265Hardware:(null==o?void 0:o.isSupported)&&(null==o?void 0:o.canPlaySmoothly)}}}}],[{key:"strategyName",get:function(){return t.StrategyEnums.h265}},{key:"prepareBeforeStarted",value:(n=Qy($y().mark((function t(e){var r;return $y().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:e.ctx.featureCenter.getDeviceMarkInfoAsync(),BI.update(null===(r=e.ctx.dataCenter.getAppConfig())||void 0===r?void 0:r.log),BI.info("PrepareBeforeStarted");case 3:case"end":return t.stop()}}),t)}))),function(t){return n.apply(this,arguments)})},{key:"prepareAfterStarted",value:(r=Qy($y().mark((function t(e){return $y().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:e.config.detectConfig&&GI.detect(e.config.detectConfig),BI.info("PrepareAfterStarted");case 2:case"end":return t.stop()}}),t)}))),function(t){return r.apply(this,arguments)})}]),i}(t.BaseStrategy);return UI}));
@@ -1 +0,0 @@
1
- !function(t,e){"object"==typeof exports&&"undefined"!=typeof module?module.exports=e(require("@byted/vestrategy-base")):"function"==typeof define&&define.amd?define(["@byted/vestrategy-base"],e):(t="undefined"!=typeof globalThis?globalThis:t||self).__VESTRATEGY_STRATEGY_PRELOAD__=e(t.__VESTRATEGY_BASE__)}(this,(function(t){"use strict";var e="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:{};function r(t){return t&&t.__esModule&&Object.prototype.hasOwnProperty.call(t,"default")?t.default:t}var n=function(t){return t&&t.Math==Math&&t},o=n("object"==typeof globalThis&&globalThis)||n("object"==typeof window&&window)||n("object"==typeof self&&self)||n("object"==typeof e&&e)||function(){return this}()||e||Function("return this")(),i=function(t){try{return!!t()}catch(e){return!0}},a=!i((function(){var t=function(){}.bind();return"function"!=typeof t||t.hasOwnProperty("prototype")})),u=a,c=Function.prototype,f=c.apply,l=c.call,s="object"==typeof Reflect&&Reflect.apply||(u?l.bind(f):function(){return l.apply(f,arguments)}),d=a,p=Function.prototype,v=p.call,h=d&&p.bind.bind(v,v),y=d?h:function(t){return function(){return v.apply(t,arguments)}},g=y,m=g({}.toString),b=g("".slice),w=function(t){return b(m(t),8,-1)},S=w,P=y,O=function(t){if("Function"===S(t))return P(t)},j="object"==typeof document&&document.all,E={all:j,IS_HTMLDDA:void 0===j&&void 0!==j},x=E.all,k=E.IS_HTMLDDA?function(t){return"function"==typeof t||t===x}:function(t){return"function"==typeof t},T={},_=!i((function(){return 7!=Object.defineProperty({},1,{get:function(){return 7}})[1]})),L=a,A=Function.prototype.call,C=L?A.bind(A):function(){return A.apply(A,arguments)},R={},D={}.propertyIsEnumerable,N=Object.getOwnPropertyDescriptor,F=N&&!D.call({1:2},1);R.f=F?function(t){var e=N(this,t);return!!e&&e.enumerable}:D;var M,I,G=function(t,e){return{enumerable:!(1&t),configurable:!(2&t),writable:!(4&t),value:e}},B=i,V=w,z=Object,U=y("".split),W=B((function(){return!z("z").propertyIsEnumerable(0)}))?function(t){return"String"==V(t)?U(t,""):z(t)}:z,H=function(t){return null==t},Y=H,K=TypeError,J=function(t){if(Y(t))throw K("Can't call method on "+t);return t},q=W,X=J,$=function(t){return q(X(t))},Q=k,Z=E.all,tt=E.IS_HTMLDDA?function(t){return"object"==typeof t?null!==t:Q(t)||t===Z}:function(t){return"object"==typeof t?null!==t:Q(t)},et={},rt=et,nt=o,ot=k,it=function(t){return ot(t)?t:void 0},at=function(t,e){return arguments.length<2?it(rt[t])||it(nt[t]):rt[t]&&rt[t][e]||nt[t]&&nt[t][e]},ut=y({}.isPrototypeOf),ct="undefined"!=typeof navigator&&String(navigator.userAgent)||"",ft=o,lt=ct,st=ft.process,dt=ft.Deno,pt=st&&st.versions||dt&&dt.version,vt=pt&&pt.v8;vt&&(I=(M=vt.split("."))[0]>0&&M[0]<4?1:+(M[0]+M[1])),!I&&lt&&(!(M=lt.match(/Edge\/(\d+)/))||M[1]>=74)&&(M=lt.match(/Chrome\/(\d+)/))&&(I=+M[1]);var ht=I,yt=ht,gt=i,mt=o.String,bt=!!Object.getOwnPropertySymbols&&!gt((function(){var t=Symbol();return!mt(t)||!(Object(t)instanceof Symbol)||!Symbol.sham&&yt&&yt<41})),wt=bt&&!Symbol.sham&&"symbol"==typeof Symbol.iterator,St=at,Pt=k,Ot=ut,jt=Object,Et=wt?function(t){return"symbol"==typeof t}:function(t){var e=St("Symbol");return Pt(e)&&Ot(e.prototype,jt(t))},xt=String,kt=function(t){try{return xt(t)}catch(e){return"Object"}},Tt=k,_t=kt,Lt=TypeError,At=function(t){if(Tt(t))return t;throw Lt(_t(t)+" is not a function")},Ct=At,Rt=H,Dt=function(t,e){var r=t[e];return Rt(r)?void 0:Ct(r)},Nt=C,Ft=k,Mt=tt,It=TypeError,Gt={exports:{}},Bt=o,Vt=Object.defineProperty,zt=function(t,e){try{Vt(Bt,t,{value:e,configurable:!0,writable:!0})}catch(r){Bt[t]=e}return e},Ut="__core-js_shared__",Wt=o[Ut]||zt(Ut,{}),Ht=Wt;(Gt.exports=function(t,e){return Ht[t]||(Ht[t]=void 0!==e?e:{})})("versions",[]).push({version:"3.31.1",mode:"pure",copyright:"© 2014-2023 Denis Pushkarev (zloirock.ru)",license:"https://github.com/zloirock/core-js/blob/v3.31.1/LICENSE",source:"https://github.com/zloirock/core-js"});var Yt=Gt.exports,Kt=J,Jt=Object,qt=function(t){return Jt(Kt(t))},Xt=qt,$t=y({}.hasOwnProperty),Qt=Object.hasOwn||function(t,e){return $t(Xt(t),e)},Zt=y,te=0,ee=Math.random(),re=Zt(1..toString),ne=function(t){return"Symbol("+(void 0===t?"":t)+")_"+re(++te+ee,36)},oe=Yt,ie=Qt,ae=ne,ue=bt,ce=wt,fe=o.Symbol,le=oe("wks"),se=ce?fe.for||fe:fe&&fe.withoutSetter||ae,de=function(t){return ie(le,t)||(le[t]=ue&&ie(fe,t)?fe[t]:se("Symbol."+t)),le[t]},pe=C,ve=tt,he=Et,ye=Dt,ge=function(t,e){var r,n;if("string"===e&&Ft(r=t.toString)&&!Mt(n=Nt(r,t)))return n;if(Ft(r=t.valueOf)&&!Mt(n=Nt(r,t)))return n;if("string"!==e&&Ft(r=t.toString)&&!Mt(n=Nt(r,t)))return n;throw It("Can't convert object to primitive value")},me=TypeError,be=de("toPrimitive"),we=function(t,e){if(!ve(t)||he(t))return t;var r,n=ye(t,be);if(n){if(void 0===e&&(e="default"),r=pe(n,t,e),!ve(r)||he(r))return r;throw me("Can't convert object to primitive value")}return void 0===e&&(e="number"),ge(t,e)},Se=Et,Pe=function(t){var e=we(t,"string");return Se(e)?e:e+""},Oe=tt,je=o.document,Ee=Oe(je)&&Oe(je.createElement),xe=function(t){return Ee?je.createElement(t):{}},ke=xe,Te=!_&&!i((function(){return 7!=Object.defineProperty(ke("div"),"a",{get:function(){return 7}}).a})),_e=_,Le=C,Ae=R,Ce=G,Re=$,De=Pe,Ne=Qt,Fe=Te,Me=Object.getOwnPropertyDescriptor;T.f=_e?Me:function(t,e){if(t=Re(t),e=De(e),Fe)try{return Me(t,e)}catch(r){}if(Ne(t,e))return Ce(!Le(Ae.f,t,e),t[e])};var Ie=i,Ge=k,Be=/#|\.prototype\./,Ve=function(t,e){var r=Ue[ze(t)];return r==He||r!=We&&(Ge(e)?Ie(e):!!e)},ze=Ve.normalize=function(t){return String(t).replace(Be,".").toLowerCase()},Ue=Ve.data={},We=Ve.NATIVE="N",He=Ve.POLYFILL="P",Ye=Ve,Ke=At,Je=a,qe=O(O.bind),Xe=function(t,e){return Ke(t),void 0===e?t:Je?qe(t,e):function(){return t.apply(e,arguments)}},$e={},Qe=_&&i((function(){return 42!=Object.defineProperty((function(){}),"prototype",{value:42,writable:!1}).prototype})),Ze=tt,tr=String,er=TypeError,rr=function(t){if(Ze(t))return t;throw er(tr(t)+" is not an object")},nr=_,or=Te,ir=Qe,ar=rr,ur=Pe,cr=TypeError,fr=Object.defineProperty,lr=Object.getOwnPropertyDescriptor,sr="enumerable",dr="configurable",pr="writable";$e.f=nr?ir?function(t,e,r){if(ar(t),e=ur(e),ar(r),"function"==typeof t&&"prototype"===e&&"value"in r&&pr in r&&!r[pr]){var n=lr(t,e);n&&n[pr]&&(t[e]=r.value,r={configurable:dr in r?r[dr]:n[dr],enumerable:sr in r?r[sr]:n[sr],writable:!1})}return fr(t,e,r)}:fr:function(t,e,r){if(ar(t),e=ur(e),ar(r),or)try{return fr(t,e,r)}catch(n){}if("get"in r||"set"in r)throw cr("Accessors not supported");return"value"in r&&(t[e]=r.value),t};var vr=$e,hr=G,yr=_?function(t,e,r){return vr.f(t,e,hr(1,r))}:function(t,e,r){return t[e]=r,t},gr=o,mr=s,br=O,wr=k,Sr=T.f,Pr=Ye,Or=et,jr=Xe,Er=yr,xr=Qt,kr=function(t){var e=function(r,n,o){if(this instanceof e){switch(arguments.length){case 0:return new t;case 1:return new t(r);case 2:return new t(r,n)}return new t(r,n,o)}return mr(t,this,arguments)};return e.prototype=t.prototype,e},Tr=function(t,e){var r,n,o,i,a,u,c,f,l,s=t.target,d=t.global,p=t.stat,v=t.proto,h=d?gr:p?gr[s]:(gr[s]||{}).prototype,y=d?Or:Or[s]||Er(Or,s,{})[s],g=y.prototype;for(i in e)n=!(r=Pr(d?i:s+(p?".":"#")+i,t.forced))&&h&&xr(h,i),u=y[i],n&&(c=t.dontCallGetSet?(l=Sr(h,i))&&l.value:h[i]),a=n&&c?c:e[i],n&&typeof u==typeof a||(f=t.bind&&n?jr(a,gr):t.wrap&&n?kr(a):v&&wr(a)?br(a):a,(t.sham||a&&a.sham||u&&u.sham)&&Er(f,"sham",!0),Er(y,i,f),v&&(xr(Or,o=s+"Prototype")||Er(Or,o,{}),Er(Or[o],i,a),t.real&&g&&(r||!g[i])&&Er(g,i,a)))},_r=Math.ceil,Lr=Math.floor,Ar=Math.trunc||function(t){var e=+t;return(e>0?Lr:_r)(e)},Cr=function(t){var e=+t;return e!=e||0===e?0:Ar(e)},Rr=Cr,Dr=Math.max,Nr=Math.min,Fr=function(t,e){var r=Rr(t);return r<0?Dr(r+e,0):Nr(r,e)},Mr=Cr,Ir=Math.min,Gr=function(t){return t>0?Ir(Mr(t),9007199254740991):0},Br=function(t){return Gr(t.length)},Vr=$,zr=Fr,Ur=Br,Wr=function(t){return function(e,r,n){var o,i=Vr(e),a=Ur(i),u=zr(n,a);if(t&&r!=r){for(;a>u;)if((o=i[u++])!=o)return!0}else for(;a>u;u++)if((t||u in i)&&i[u]===r)return t||u||0;return!t&&-1}},Hr={includes:Wr(!0),indexOf:Wr(!1)},Yr={},Kr=Qt,Jr=$,qr=Hr.indexOf,Xr=Yr,$r=y([].push),Qr=function(t,e){var r,n=Jr(t),o=0,i=[];for(r in n)!Kr(Xr,r)&&Kr(n,r)&&$r(i,r);for(;e.length>o;)Kr(n,r=e[o++])&&(~qr(i,r)||$r(i,r));return i},Zr=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"],tn=Qr,en=Zr,rn=Object.keys||function(t){return tn(t,en)},nn=qt,on=rn;Tr({target:"Object",stat:!0,forced:i((function(){on(1)}))},{keys:function(t){return on(nn(t))}});var an=r(et.Object.keys),un={};un[de("toStringTag")]="z";var cn="[object z]"===String(un),fn=cn,ln=k,sn=w,dn=de("toStringTag"),pn=Object,vn="Arguments"==sn(function(){return arguments}()),hn=fn?sn:function(t){var e,r,n;return void 0===t?"Undefined":null===t?"Null":"string"==typeof(r=function(t,e){try{return t[e]}catch(r){}}(e=pn(t),dn))?r:vn?sn(e):"Object"==(n=sn(e))&&ln(e.callee)?"Arguments":n},yn=hn,gn=String,mn=function(t){if("Symbol"===yn(t))throw TypeError("Cannot convert a Symbol value to a string");return gn(t)},bn={},wn=_,Sn=Qe,Pn=$e,On=rr,jn=$,En=rn;bn.f=wn&&!Sn?Object.defineProperties:function(t,e){On(t);for(var r,n=jn(e),o=En(e),i=o.length,a=0;i>a;)Pn.f(t,r=o[a++],n[r]);return t};var xn,kn=at("document","documentElement"),Tn=ne,_n=Yt("keys"),Ln=function(t){return _n[t]||(_n[t]=Tn(t))},An=rr,Cn=bn,Rn=Zr,Dn=Yr,Nn=kn,Fn=xe,Mn="prototype",In="script",Gn=Ln("IE_PROTO"),Bn=function(){},Vn=function(t){return"<"+In+">"+t+"</"+In+">"},zn=function(t){t.write(Vn("")),t.close();var e=t.parentWindow.Object;return t=null,e},Un=function(){try{xn=new ActiveXObject("htmlfile")}catch(o){}var t,e,r;Un="undefined"!=typeof document?document.domain&&xn?zn(xn):(e=Fn("iframe"),r="java"+In+":",e.style.display="none",Nn.appendChild(e),e.src=String(r),(t=e.contentWindow.document).open(),t.write(Vn("document.F=Object")),t.close(),t.F):zn(xn);for(var n=Rn.length;n--;)delete Un[Mn][Rn[n]];return Un()};Dn[Gn]=!0;var Wn=Object.create||function(t,e){var r;return null!==t?(Bn[Mn]=An(t),r=new Bn,Bn[Mn]=null,r[Gn]=t):r=Un(),void 0===e?r:Cn.f(r,e)},Hn={},Yn=Qr,Kn=Zr.concat("length","prototype");Hn.f=Object.getOwnPropertyNames||function(t){return Yn(t,Kn)};var Jn={},qn=Pe,Xn=$e,$n=G,Qn=function(t,e,r){var n=qn(e);n in t?Xn.f(t,n,$n(0,r)):t[n]=r},Zn=Fr,to=Br,eo=Qn,ro=Array,no=Math.max,oo=w,io=$,ao=Hn.f,uo=function(t,e,r){for(var n=to(t),o=Zn(e,n),i=Zn(void 0===r?n:r,n),a=ro(no(i-o,0)),u=0;o<i;o++,u++)eo(a,u,t[o]);return a.length=u,a},co="object"==typeof window&&window&&Object.getOwnPropertyNames?Object.getOwnPropertyNames(window):[];Jn.f=function(t){return co&&"Window"==oo(t)?function(t){try{return ao(t)}catch(e){return uo(co)}}(t):ao(io(t))};var fo={};fo.f=Object.getOwnPropertySymbols;var lo=yr,so=function(t,e,r,n){return n&&n.enumerable?t[e]=r:lo(t,e,r),t},po=$e,vo=function(t,e,r){return po.f(t,e,r)},ho={},yo=de;ho.f=yo;var go,mo,bo,wo=et,So=Qt,Po=ho,Oo=$e.f,jo=function(t){var e=wo.Symbol||(wo.Symbol={});So(e,t)||Oo(e,t,{value:Po.f(t)})},Eo=C,xo=at,ko=de,To=so,_o=function(){var t=xo("Symbol"),e=t&&t.prototype,r=e&&e.valueOf,n=ko("toPrimitive");e&&!e[n]&&To(e,n,(function(t){return Eo(r,this)}),{arity:1})},Lo=hn,Ao=cn?{}.toString:function(){return"[object "+Lo(this)+"]"},Co=cn,Ro=$e.f,Do=yr,No=Qt,Fo=Ao,Mo=de("toStringTag"),Io=function(t,e,r,n){if(t){var o=r?t:t.prototype;No(o,Mo)||Ro(o,Mo,{configurable:!0,value:e}),n&&!Co&&Do(o,"toString",Fo)}},Go=k,Bo=o.WeakMap,Vo=Go(Bo)&&/native code/.test(String(Bo)),zo=o,Uo=tt,Wo=yr,Ho=Qt,Yo=Wt,Ko=Ln,Jo=Yr,qo="Object already initialized",Xo=zo.TypeError,$o=zo.WeakMap;if(Vo||Yo.state){var Qo=Yo.state||(Yo.state=new $o);Qo.get=Qo.get,Qo.has=Qo.has,Qo.set=Qo.set,go=function(t,e){if(Qo.has(t))throw Xo(qo);return e.facade=t,Qo.set(t,e),e},mo=function(t){return Qo.get(t)||{}},bo=function(t){return Qo.has(t)}}else{var Zo=Ko("state");Jo[Zo]=!0,go=function(t,e){if(Ho(t,Zo))throw Xo(qo);return e.facade=t,Wo(t,Zo,e),e},mo=function(t){return Ho(t,Zo)?t[Zo]:{}},bo=function(t){return Ho(t,Zo)}}var ti={set:go,get:mo,has:bo,enforce:function(t){return bo(t)?mo(t):go(t,{})},getterFor:function(t){return function(e){var r;if(!Uo(e)||(r=mo(e)).type!==t)throw Xo("Incompatible receiver, "+t+" required");return r}}},ei=w,ri=Array.isArray||function(t){return"Array"==ei(t)},ni=k,oi=Wt,ii=y(Function.toString);ni(oi.inspectSource)||(oi.inspectSource=function(t){return ii(t)});var ai=oi.inspectSource,ui=y,ci=i,fi=k,li=hn,si=ai,di=function(){},pi=[],vi=at("Reflect","construct"),hi=/^\s*(?:class|function)\b/,yi=ui(hi.exec),gi=!hi.exec(di),mi=function(t){if(!fi(t))return!1;try{return vi(di,pi,t),!0}catch(e){return!1}},bi=function(t){if(!fi(t))return!1;switch(li(t)){case"AsyncFunction":case"GeneratorFunction":case"AsyncGeneratorFunction":return!1}try{return gi||!!yi(hi,si(t))}catch(e){return!0}};bi.sham=!0;var wi=!vi||ci((function(){var t;return mi(mi.call)||!mi(Object)||!mi((function(){t=!0}))||t}))?bi:mi,Si=ri,Pi=wi,Oi=tt,ji=de("species"),Ei=Array,xi=function(t){var e;return Si(t)&&(e=t.constructor,(Pi(e)&&(e===Ei||Si(e.prototype))||Oi(e)&&null===(e=e[ji]))&&(e=void 0)),void 0===e?Ei:e},ki=function(t,e){return new(xi(t))(0===e?0:e)},Ti=Xe,_i=W,Li=qt,Ai=Br,Ci=ki,Ri=y([].push),Di=function(t){var e=1==t,r=2==t,n=3==t,o=4==t,i=6==t,a=7==t,u=5==t||i;return function(c,f,l,s){for(var d,p,v=Li(c),h=_i(v),y=Ti(f,l),g=Ai(h),m=0,b=s||Ci,w=e?b(c,g):r||a?b(c,0):void 0;g>m;m++)if((u||m in h)&&(p=y(d=h[m],m,v),t))if(e)w[m]=p;else if(p)switch(t){case 3:return!0;case 5:return d;case 6:return m;case 2:Ri(w,d)}else switch(t){case 4:return!1;case 7:Ri(w,d)}return i?-1:n||o?o:w}},Ni={forEach:Di(0),map:Di(1),filter:Di(2),some:Di(3),every:Di(4),find:Di(5),findIndex:Di(6),filterReject:Di(7)},Fi=Tr,Mi=o,Ii=C,Gi=y,Bi=_,Vi=bt,zi=i,Ui=Qt,Wi=ut,Hi=rr,Yi=$,Ki=Pe,Ji=mn,qi=G,Xi=Wn,$i=rn,Qi=Hn,Zi=Jn,ta=fo,ea=T,ra=$e,na=bn,oa=R,ia=so,aa=vo,ua=Yt,ca=Yr,fa=ne,la=de,sa=ho,da=jo,pa=_o,va=Io,ha=ti,ya=Ni.forEach,ga=Ln("hidden"),ma="Symbol",ba="prototype",wa=ha.set,Sa=ha.getterFor(ma),Pa=Object[ba],Oa=Mi.Symbol,ja=Oa&&Oa[ba],Ea=Mi.TypeError,xa=Mi.QObject,ka=ea.f,Ta=ra.f,_a=Zi.f,La=oa.f,Aa=Gi([].push),Ca=ua("symbols"),Ra=ua("op-symbols"),Da=ua("wks"),Na=!xa||!xa[ba]||!xa[ba].findChild,Fa=Bi&&zi((function(){return 7!=Xi(Ta({},"a",{get:function(){return Ta(this,"a",{value:7}).a}})).a}))?function(t,e,r){var n=ka(Pa,e);n&&delete Pa[e],Ta(t,e,r),n&&t!==Pa&&Ta(Pa,e,n)}:Ta,Ma=function(t,e){var r=Ca[t]=Xi(ja);return wa(r,{type:ma,tag:t,description:e}),Bi||(r.description=e),r},Ia=function(t,e,r){t===Pa&&Ia(Ra,e,r),Hi(t);var n=Ki(e);return Hi(r),Ui(Ca,n)?(r.enumerable?(Ui(t,ga)&&t[ga][n]&&(t[ga][n]=!1),r=Xi(r,{enumerable:qi(0,!1)})):(Ui(t,ga)||Ta(t,ga,qi(1,{})),t[ga][n]=!0),Fa(t,n,r)):Ta(t,n,r)},Ga=function(t,e){Hi(t);var r=Yi(e),n=$i(r).concat(Ua(r));return ya(n,(function(e){Bi&&!Ii(Ba,r,e)||Ia(t,e,r[e])})),t},Ba=function(t){var e=Ki(t),r=Ii(La,this,e);return!(this===Pa&&Ui(Ca,e)&&!Ui(Ra,e))&&(!(r||!Ui(this,e)||!Ui(Ca,e)||Ui(this,ga)&&this[ga][e])||r)},Va=function(t,e){var r=Yi(t),n=Ki(e);if(r!==Pa||!Ui(Ca,n)||Ui(Ra,n)){var o=ka(r,n);return!o||!Ui(Ca,n)||Ui(r,ga)&&r[ga][n]||(o.enumerable=!0),o}},za=function(t){var e=_a(Yi(t)),r=[];return ya(e,(function(t){Ui(Ca,t)||Ui(ca,t)||Aa(r,t)})),r},Ua=function(t){var e=t===Pa,r=_a(e?Ra:Yi(t)),n=[];return ya(r,(function(t){!Ui(Ca,t)||e&&!Ui(Pa,t)||Aa(n,Ca[t])})),n};Vi||(Oa=function(){if(Wi(ja,this))throw Ea("Symbol is not a constructor");var t=arguments.length&&void 0!==arguments[0]?Ji(arguments[0]):void 0,e=fa(t),r=function(t){this===Pa&&Ii(r,Ra,t),Ui(this,ga)&&Ui(this[ga],e)&&(this[ga][e]=!1),Fa(this,e,qi(1,t))};return Bi&&Na&&Fa(Pa,e,{configurable:!0,set:r}),Ma(e,t)},ia(ja=Oa[ba],"toString",(function(){return Sa(this).tag})),ia(Oa,"withoutSetter",(function(t){return Ma(fa(t),t)})),oa.f=Ba,ra.f=Ia,na.f=Ga,ea.f=Va,Qi.f=Zi.f=za,ta.f=Ua,sa.f=function(t){return Ma(la(t),t)},Bi&&aa(ja,"description",{configurable:!0,get:function(){return Sa(this).description}})),Fi({global:!0,constructor:!0,wrap:!0,forced:!Vi,sham:!Vi},{Symbol:Oa}),ya($i(Da),(function(t){da(t)})),Fi({target:ma,stat:!0,forced:!Vi},{useSetter:function(){Na=!0},useSimple:function(){Na=!1}}),Fi({target:"Object",stat:!0,forced:!Vi,sham:!Bi},{create:function(t,e){return void 0===e?Xi(t):Ga(Xi(t),e)},defineProperty:Ia,defineProperties:Ga,getOwnPropertyDescriptor:Va}),Fi({target:"Object",stat:!0,forced:!Vi},{getOwnPropertyNames:za}),pa(),va(Oa,ma),ca[ga]=!0;var Wa=bt&&!!Symbol.for&&!!Symbol.keyFor,Ha=Tr,Ya=at,Ka=Qt,Ja=mn,qa=Yt,Xa=Wa,$a=qa("string-to-symbol-registry"),Qa=qa("symbol-to-string-registry");Ha({target:"Symbol",stat:!0,forced:!Xa},{for:function(t){var e=Ja(t);if(Ka($a,e))return $a[e];var r=Ya("Symbol")(e);return $a[e]=r,Qa[r]=e,r}});var Za=Tr,tu=Qt,eu=Et,ru=kt,nu=Wa,ou=Yt("symbol-to-string-registry");Za({target:"Symbol",stat:!0,forced:!nu},{keyFor:function(t){if(!eu(t))throw TypeError(ru(t)+" is not a symbol");if(tu(ou,t))return ou[t]}});var iu=y([].slice),au=ri,uu=k,cu=w,fu=mn,lu=y([].push),su=Tr,du=at,pu=s,vu=C,hu=y,yu=i,gu=k,mu=Et,bu=iu,wu=function(t){if(uu(t))return t;if(au(t)){for(var e=t.length,r=[],n=0;n<e;n++){var o=t[n];"string"==typeof o?lu(r,o):"number"!=typeof o&&"Number"!=cu(o)&&"String"!=cu(o)||lu(r,fu(o))}var i=r.length,a=!0;return function(t,e){if(a)return a=!1,e;if(au(this))return e;for(var n=0;n<i;n++)if(r[n]===t)return e}}},Su=bt,Pu=String,Ou=du("JSON","stringify"),ju=hu(/./.exec),Eu=hu("".charAt),xu=hu("".charCodeAt),ku=hu("".replace),Tu=hu(1..toString),_u=/[\uD800-\uDFFF]/g,Lu=/^[\uD800-\uDBFF]$/,Au=/^[\uDC00-\uDFFF]$/,Cu=!Su||yu((function(){var t=du("Symbol")();return"[null]"!=Ou([t])||"{}"!=Ou({a:t})||"{}"!=Ou(Object(t))})),Ru=yu((function(){return'"\\udf06\\ud834"'!==Ou("\udf06\ud834")||'"\\udead"'!==Ou("\udead")})),Du=function(t,e){var r=bu(arguments),n=wu(e);if(gu(n)||void 0!==t&&!mu(t))return r[1]=function(t,e){if(gu(n)&&(e=vu(n,this,Pu(t),e)),!mu(e))return e},pu(Ou,null,r)},Nu=function(t,e,r){var n=Eu(r,e-1),o=Eu(r,e+1);return ju(Lu,t)&&!ju(Au,o)||ju(Au,t)&&!ju(Lu,n)?"\\u"+Tu(xu(t,0),16):t};Ou&&su({target:"JSON",stat:!0,arity:3,forced:Cu||Ru},{stringify:function(t,e,r){var n=bu(arguments),o=pu(Cu?Du:Ou,null,n);return Ru&&"string"==typeof o?ku(o,_u,Nu):o}});var Fu=fo,Mu=qt;Tr({target:"Object",stat:!0,forced:!bt||i((function(){Fu.f(1)}))},{getOwnPropertySymbols:function(t){var e=Fu.f;return e?e(Mu(t)):[]}});var Iu=r(et.Object.getOwnPropertySymbols),Gu=i,Bu=ht,Vu=de("species"),zu=function(t){return Bu>=51||!Gu((function(){var e=[];return(e.constructor={})[Vu]=function(){return{foo:1}},1!==e[t](Boolean).foo}))},Uu=Ni.filter;Tr({target:"Array",proto:!0,forced:!zu("filter")},{filter:function(t){return Uu(this,t,arguments.length>1?arguments[1]:void 0)}});var Wu=et,Hu=function(t){return Wu[t+"Prototype"]},Yu=Hu("Array").filter,Ku=ut,Ju=Yu,qu=Array.prototype,Xu=function(t){var e=t.filter;return t===qu||Ku(qu,t)&&e===qu.filter?Ju:e},$u=r(Xu),Qu={exports:{}},Zu=Tr,tc=i,ec=$,rc=T.f,nc=_;Zu({target:"Object",stat:!0,forced:!nc||tc((function(){rc(1)})),sham:!nc},{getOwnPropertyDescriptor:function(t,e){return rc(ec(t),e)}});var oc=et.Object,ic=Qu.exports=function(t,e){return oc.getOwnPropertyDescriptor(t,e)};oc.getOwnPropertyDescriptor.sham&&(ic.sham=!0);var ac=r(Qu.exports),uc=_,cc=ri,fc=TypeError,lc=Object.getOwnPropertyDescriptor,sc=uc&&!function(){if(void 0!==this)return!0;try{Object.defineProperty([],"length",{writable:!1}).length=1}catch(t){return t instanceof TypeError}}(),dc=TypeError,pc=function(t){if(t>9007199254740991)throw dc("Maximum allowed index exceeded");return t},vc=qt,hc=Br,yc=sc?function(t,e){if(cc(t)&&!lc(t,"length").writable)throw fc("Cannot set read only .length");return t.length=e}:function(t,e){return t.length=e},gc=pc;Tr({target:"Array",proto:!0,arity:1,forced:i((function(){return 4294967297!==[].push.call({length:4294967296},1)}))||!function(){try{Object.defineProperty([],"length",{writable:!1}).push()}catch(t){return t instanceof TypeError}}()},{push:function(t){var e=vc(this),r=hc(e),n=arguments.length;gc(r+n);for(var o=0;o<n;o++)e[r]=arguments[o],r++;return yc(e,r),r}});var mc,bc,wc,Sc=Hu("Array").push,Pc=ut,Oc=Sc,jc=Array.prototype,Ec=r((function(t){var e=t.push;return t===jc||Pc(jc,t)&&e===jc.push?Oc:e})),xc={},kc=_,Tc=Qt,_c=Function.prototype,Lc=kc&&Object.getOwnPropertyDescriptor,Ac=Tc(_c,"name"),Cc={EXISTS:Ac,PROPER:Ac&&"something"===function(){}.name,CONFIGURABLE:Ac&&(!kc||kc&&Lc(_c,"name").configurable)},Rc=!i((function(){function t(){}return t.prototype.constructor=null,Object.getPrototypeOf(new t)!==t.prototype})),Dc=Qt,Nc=k,Fc=qt,Mc=Rc,Ic=Ln("IE_PROTO"),Gc=Object,Bc=Gc.prototype,Vc=Mc?Gc.getPrototypeOf:function(t){var e=Fc(t);if(Dc(e,Ic))return e[Ic];var r=e.constructor;return Nc(r)&&e instanceof r?r.prototype:e instanceof Gc?Bc:null},zc=i,Uc=k,Wc=tt,Hc=Wn,Yc=Vc,Kc=so,Jc=de("iterator"),qc=!1;[].keys&&("next"in(wc=[].keys())?(bc=Yc(Yc(wc)))!==Object.prototype&&(mc=bc):qc=!0);var Xc=!Wc(mc)||zc((function(){var t={};return mc[Jc].call(t)!==t}));Uc((mc=Xc?{}:Hc(mc))[Jc])||Kc(mc,Jc,(function(){return this}));var $c={IteratorPrototype:mc,BUGGY_SAFARI_ITERATORS:qc},Qc=$c.IteratorPrototype,Zc=Wn,tf=G,ef=Io,rf=xc,nf=function(){return this},of=y,af=At,uf=k,cf=String,ff=TypeError,lf=function(t,e,r){try{return of(af(Object.getOwnPropertyDescriptor(t,e)[r]))}catch(n){}},sf=rr,df=function(t){if("object"==typeof t||uf(t))return t;throw ff("Can't set "+cf(t)+" as a prototype")},pf=Object.setPrototypeOf||("__proto__"in{}?function(){var t,e=!1,r={};try{(t=lf(Object.prototype,"__proto__","set"))(r,[]),e=r instanceof Array}catch(n){}return function(r,n){return sf(r),df(n),e?t(r,n):r.__proto__=n,r}}():void 0),vf=Tr,hf=C,yf=Cc,gf=function(t,e,r,n){var o=e+" Iterator";return t.prototype=Zc(Qc,{next:tf(+!n,r)}),ef(t,o,!1,!0),rf[o]=nf,t},mf=Vc,bf=Io,wf=so,Sf=xc,Pf=$c,Of=yf.PROPER,jf=Pf.BUGGY_SAFARI_ITERATORS,Ef=de("iterator"),xf="keys",kf="values",Tf="entries",_f=function(){return this},Lf=function(t,e,r,n,o,i,a){gf(r,e,n);var u,c,f,l=function(t){if(t===o&&h)return h;if(!jf&&t in p)return p[t];switch(t){case xf:case kf:case Tf:return function(){return new r(this,t)}}return function(){return new r(this)}},s=e+" Iterator",d=!1,p=t.prototype,v=p[Ef]||p["@@iterator"]||o&&p[o],h=!jf&&v||l(o),y="Array"==e&&p.entries||v;if(y&&(u=mf(y.call(new t)))!==Object.prototype&&u.next&&(bf(u,s,!0,!0),Sf[s]=_f),Of&&o==kf&&v&&v.name!==kf&&(d=!0,h=function(){return hf(v,this)}),o)if(c={values:l(kf),keys:i?h:l(xf),entries:l(Tf)},a)for(f in c)(jf||d||!(f in p))&&wf(p,f,c[f]);else vf({target:e,proto:!0,forced:jf||d},c);return a&&p[Ef]!==h&&wf(p,Ef,h,{name:o}),Sf[e]=h,c},Af=function(t,e){return{value:t,done:e}},Cf=$,Rf=xc,Df=ti;$e.f;var Nf=Lf,Ff=Af,Mf="Array Iterator",If=Df.set,Gf=Df.getterFor(Mf);Nf(Array,"Array",(function(t,e){If(this,{type:Mf,target:Cf(t),index:0,kind:e})}),(function(){var t=Gf(this),e=t.target,r=t.kind,n=t.index++;return!e||n>=e.length?(t.target=void 0,Ff(void 0,!0)):Ff("keys"==r?n:"values"==r?e[n]:[n,e[n]],!1)}),"values"),Rf.Arguments=Rf.Array;var Bf={CSSRuleList:0,CSSStyleDeclaration:0,CSSValueList:0,ClientRectList:0,DOMRectList:0,DOMStringList:0,DOMTokenList:1,DataTransferItemList:0,FileList:0,HTMLAllCollection:0,HTMLCollection:0,HTMLFormElement:0,HTMLSelectElement:0,MediaList:0,MimeTypeArray:0,NamedNodeMap:0,NodeList:1,PaintRequestList:0,Plugin:0,PluginArray:0,SVGLengthList:0,SVGNumberList:0,SVGPathSegList:0,SVGPointList:0,SVGStringList:0,SVGTransformList:0,SourceBufferList:0,StyleSheetList:0,TextTrackCueList:0,TextTrackList:0,TouchList:0},Vf=o,zf=hn,Uf=yr,Wf=xc,Hf=de("toStringTag");for(var Yf in Bf){var Kf=Vf[Yf],Jf=Kf&&Kf.prototype;Jf&&zf(Jf)!==Hf&&Uf(Jf,Hf,Yf),Wf[Yf]=Wf.Array}var qf=i,Xf=Ni.forEach,$f=function(t,e){var r=[][t];return!!r&&qf((function(){r.call(null,e||function(){return 1},1)}))}("forEach")?[].forEach:function(t){return Xf(this,t,arguments.length>1?arguments[1]:void 0)};Tr({target:"Array",proto:!0,forced:[].forEach!=$f},{forEach:$f});var Qf=Hu("Array").forEach,Zf=hn,tl=Qt,el=ut,rl=Qf,nl=Array.prototype,ol={DOMTokenList:!0,NodeList:!0},il=function(t){var e=t.forEach;return t===nl||el(nl,t)&&e===nl.forEach||tl(ol,Zf(t))?rl:e},al=r(il),ul=at,cl=Hn,fl=fo,ll=rr,sl=y([].concat),dl=ul("Reflect","ownKeys")||function(t){var e=cl.f(ll(t)),r=fl.f;return r?sl(e,r(t)):e},pl=dl,vl=$,hl=T,yl=Qn;Tr({target:"Object",stat:!0,sham:!_},{getOwnPropertyDescriptors:function(t){for(var e,r,n=vl(t),o=hl.f,i=pl(n),a={},u=0;i.length>u;)void 0!==(r=o(n,e=i[u++]))&&yl(a,e,r);return a}});var gl=r(et.Object.getOwnPropertyDescriptors),ml={exports:{}},bl=Tr,wl=_,Sl=bn.f;bl({target:"Object",stat:!0,forced:Object.defineProperties!==Sl,sham:!wl},{defineProperties:Sl});var Pl=et.Object,Ol=ml.exports=function(t,e){return Pl.defineProperties(t,e)};Pl.defineProperties.sham&&(Ol.sham=!0);var jl=r(ml.exports),El={exports:{}},xl=Tr,kl=_,Tl=$e.f;xl({target:"Object",stat:!0,forced:Object.defineProperty!==Tl,sham:!kl},{defineProperty:Tl});var _l=et.Object,Ll=El.exports=function(t,e,r){return _l.defineProperty(t,e,r)};_l.defineProperty.sham&&(Ll.sham=!0);var Al=r(El.exports),Cl=Tr,Rl=i,Dl=ri,Nl=tt,Fl=qt,Ml=Br,Il=pc,Gl=Qn,Bl=ki,Vl=zu,zl=ht,Ul=de("isConcatSpreadable"),Wl=zl>=51||!Rl((function(){var t=[];return t[Ul]=!1,t.concat()[0]!==t})),Hl=function(t){if(!Nl(t))return!1;var e=t[Ul];return void 0!==e?!!e:Dl(t)};Cl({target:"Array",proto:!0,arity:1,forced:!Wl||!Vl("concat")},{concat:function(t){var e,r,n,o,i,a=Fl(this),u=Bl(a,0),c=0;for(e=-1,n=arguments.length;e<n;e++)if(Hl(i=-1===e?a:arguments[e]))for(o=Ml(i),Il(c+o),r=0;r<o;r++,c++)r in i&&Gl(u,c,i[r]);else Il(c+1),Gl(u,c++,i);return u.length=c,u}}),jo("asyncIterator"),jo("hasInstance"),jo("isConcatSpreadable"),jo("iterator"),jo("match"),jo("matchAll"),jo("replace"),jo("search"),jo("species"),jo("split");var Yl=_o;jo("toPrimitive"),Yl();var Kl=at,Jl=Io;jo("toStringTag"),Jl(Kl("Symbol"),"Symbol"),jo("unscopables"),Io(o.JSON,"JSON",!0);var ql=et.Symbol,Xl=de,$l=$e.f,Ql=Xl("metadata"),Zl=Function.prototype;void 0===Zl[Ql]&&$l(Zl,Ql,{value:null}),jo("dispose"),jo("metadata");var ts=ql;jo("asyncDispose");var es=y,rs=at("Symbol"),ns=rs.keyFor,os=es(rs.prototype.valueOf),is=rs.isRegisteredSymbol||function(t){try{return void 0!==ns(os(t))}catch(e){return!1}};Tr({target:"Symbol",stat:!0},{isRegisteredSymbol:is});for(var as=Yt,us=at,cs=y,fs=Et,ls=de,ss=us("Symbol"),ds=ss.isWellKnownSymbol,ps=us("Object","getOwnPropertyNames"),vs=cs(ss.prototype.valueOf),hs=as("wks"),ys=0,gs=ps(ss),ms=gs.length;ys<ms;ys++)try{var bs=gs[ys];fs(ss[bs])&&ls(bs)}catch(Hb){}var ws=function(t){if(ds&&ds(t))return!0;try{for(var e=vs(t),r=0,n=ps(hs),o=n.length;r<o;r++)if(hs[n[r]]==e)return!0}catch(Hb){}return!1};Tr({target:"Symbol",stat:!0,forced:!0},{isWellKnownSymbol:ws}),jo("matcher"),jo("observable"),Tr({target:"Symbol",stat:!0,name:"isRegisteredSymbol"},{isRegistered:is}),Tr({target:"Symbol",stat:!0,name:"isWellKnownSymbol",forced:!0},{isWellKnown:ws}),jo("metadataKey"),jo("patternMatch"),jo("replaceAll");var Ss=r(ts),Ps=y,Os=Cr,js=mn,Es=J,xs=Ps("".charAt),ks=Ps("".charCodeAt),Ts=Ps("".slice),_s=function(t){return function(e,r){var n,o,i=js(Es(e)),a=Os(r),u=i.length;return a<0||a>=u?t?"":void 0:(n=ks(i,a))<55296||n>56319||a+1===u||(o=ks(i,a+1))<56320||o>57343?t?xs(i,a):n:t?Ts(i,a,a+2):o-56320+(n-55296<<10)+65536}},Ls={codeAt:_s(!1),charAt:_s(!0)}.charAt,As=mn,Cs=ti,Rs=Lf,Ds=Af,Ns="String Iterator",Fs=Cs.set,Ms=Cs.getterFor(Ns);Rs(String,"String",(function(t){Fs(this,{type:Ns,string:As(t),index:0})}),(function(){var t,e=Ms(this),r=e.string,n=e.index;return n>=r.length?Ds(void 0,!0):(t=Ls(r,n),e.index+=t.length,Ds(t,!1))}));var Is=r(ho.f("iterator"));function Gs(t){return(Gs="function"==typeof Ss&&"symbol"==typeof Is?function(t){return typeof t}:function(t){return t&&"function"==typeof Ss&&t.constructor===Ss&&t!==Ss.prototype?"symbol":typeof t})(t)}var Bs=r(ho.f("toPrimitive"));function Vs(t){var e=function(t,e){if("object"!==Gs(t)||null===t)return t;var r=t[Bs];if(void 0!==r){var n=r.call(t,e||"default");if("object"!==Gs(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===e?String:Number)(t)}(t,"string");return"symbol"===Gs(e)?e:String(e)}function zs(t,e,r){return(e=Vs(e))in t?Al(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}function Us(t,e){var r=an(t);if(Iu){var n=Iu(t);e&&(n=$u(n).call(n,(function(e){return ac(t,e).enumerable}))),Ec(r).apply(r,n)}return r}function Ws(t){for(var e=1;e<arguments.length;e++){var r,n,o=null!=arguments[e]?arguments[e]:{};e%2?al(r=Us(Object(o),!0)).call(r,(function(e){zs(t,e,o[e])})):gl?jl(t,gl(o)):al(n=Us(Object(o))).call(n,(function(e){Al(t,e,ac(o,e))}))}return t}function Hs(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function Ys(t,e){for(var r=0;r<e.length;r++){var n=e[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Al(t,Vs(n.key),n)}}function Ks(t,e,r){return e&&Ys(t.prototype,e),r&&Ys(t,r),Al(t,"prototype",{writable:!1}),t}Tr({target:"Object",stat:!0,sham:!_},{create:Wn});var Js=et.Object,qs=r((function(t,e){return Js.create(t,e)}));Tr({target:"Object",stat:!0},{setPrototypeOf:pf});var Xs=r(et.Object.setPrototypeOf),$s=y,Qs=At,Zs=tt,td=Qt,ed=iu,rd=a,nd=Function,od=$s([].concat),id=$s([].join),ad={},ud=rd?nd.bind:function(t){var e=Qs(this),r=e.prototype,n=ed(arguments,1),o=function(){var r=od(n,ed(arguments));return this instanceof o?function(t,e,r){if(!td(ad,e)){for(var n=[],o=0;o<e;o++)n[o]="a["+o+"]";ad[e]=nd("C,a","return new C("+id(n,",")+")")}return ad[e](t,r)}(e,r.length,r):e.apply(t,r)};return Zs(r)&&(o.prototype=r),o},cd=ud;Tr({target:"Function",proto:!0,forced:Function.bind!==cd},{bind:cd});var fd=Hu("Function").bind,ld=ut,sd=fd,dd=Function.prototype,pd=r((function(t){var e=t.bind;return t===dd||ld(dd,t)&&e===dd.bind?sd:e}));function vd(t,e){var r;return(vd=Xs?pd(r=Xs).call(r):function(t,e){return t.__proto__=e,t})(t,e)}function hd(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=qs(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),Al(t,"prototype",{writable:!1}),e&&vd(t,e)}var yd=wi,gd=kt,md=TypeError,bd=function(t){if(yd(t))return t;throw md(gd(t)+" is not a constructor")},wd=Tr,Sd=s,Pd=ud,Od=bd,jd=rr,Ed=tt,xd=Wn,kd=i,Td=at("Reflect","construct"),_d=Object.prototype,Ld=[].push,Ad=kd((function(){function t(){}return!(Td((function(){}),[],t)instanceof t)})),Cd=!kd((function(){Td((function(){}))})),Rd=Ad||Cd;wd({target:"Reflect",stat:!0,forced:Rd,sham:Rd},{construct:function(t,e){Od(t),jd(e);var r=arguments.length<3?t:Od(arguments[2]);if(Cd&&!Ad)return Td(t,e,r);if(t==r){switch(e.length){case 0:return new t;case 1:return new t(e[0]);case 2:return new t(e[0],e[1]);case 3:return new t(e[0],e[1],e[2]);case 4:return new t(e[0],e[1],e[2],e[3])}var n=[null];return Sd(Ld,n,e),new(Sd(Pd,t,n))}var o=r.prototype,i=xd(Ed(o)?o:_d),a=Sd(t,i,e);return Ed(a)?a:i}});var Dd=r(et.Reflect.construct),Nd=qt,Fd=Vc,Md=Rc;Tr({target:"Object",stat:!0,forced:i((function(){Fd(1)})),sham:!Md},{getPrototypeOf:function(t){return Fd(Nd(t))}});var Id=r(et.Object.getPrototypeOf);function Gd(t){var e;return(Gd=Xs?pd(e=Id).call(e):function(t){return t.__proto__||Id(t)})(t)}function Bd(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function Vd(t){var e=function(){if("undefined"==typeof Reflect||!Dd)return!1;if(Dd.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Dd(Boolean,[],(function(){}))),!0}catch(t){return!1}}();return function(){var r,n=Gd(t);if(e){var o=Gd(this).constructor;r=Dd(n,arguments,o)}else r=n.apply(this,arguments);return function(t,e){if(e&&("object"===Gs(e)||"function"==typeof e))return e;if(void 0!==e)throw new TypeError("Derived constructors may only return object or undefined");return Bd(t)}(this,r)}}var zd=Qt,Ud=dl,Wd=T,Hd=$e,Yd=tt,Kd=yr,Jd=Error,qd=y("".replace),Xd=String(Jd("zxcasd").stack),$d=/\n\s*at [^:]*:[^\n]*/,Qd=$d.test(Xd),Zd=G,tp=!i((function(){var t=Error("a");return!("stack"in t)||(Object.defineProperty(t,"stack",Zd(1,7)),7!==t.stack)})),ep=yr,rp=function(t,e){if(Qd&&"string"==typeof t&&!Jd.prepareStackTrace)for(;e--;)t=qd(t,$d,"");return t},np=tp,op=Error.captureStackTrace,ip=xc,ap=de("iterator"),up=Array.prototype,cp=hn,fp=Dt,lp=H,sp=xc,dp=de("iterator"),pp=function(t){if(!lp(t))return fp(t,dp)||fp(t,"@@iterator")||sp[cp(t)]},vp=C,hp=At,yp=rr,gp=kt,mp=pp,bp=TypeError,wp=C,Sp=rr,Pp=Dt,Op=Xe,jp=C,Ep=rr,xp=kt,kp=function(t){return void 0!==t&&(ip.Array===t||up[ap]===t)},Tp=Br,_p=ut,Lp=function(t,e){var r=arguments.length<2?mp(t):e;if(hp(r))return yp(vp(r,t));throw bp(gp(t)+" is not iterable")},Ap=pp,Cp=function(t,e,r){var n,o;Sp(t);try{if(!(n=Pp(t,"return"))){if("throw"===e)throw r;return r}n=wp(n,t)}catch(Hb){o=!0,n=Hb}if("throw"===e)throw r;if(o)throw n;return Sp(n),r},Rp=TypeError,Dp=function(t,e){this.stopped=t,this.result=e},Np=Dp.prototype,Fp=function(t,e,r){var n,o,i,a,u,c,f,l=r&&r.that,s=!(!r||!r.AS_ENTRIES),d=!(!r||!r.IS_RECORD),p=!(!r||!r.IS_ITERATOR),v=!(!r||!r.INTERRUPTED),h=Op(e,l),y=function(t){return n&&Cp(n,"normal",t),new Dp(!0,t)},g=function(t){return s?(Ep(t),v?h(t[0],t[1],y):h(t[0],t[1])):v?h(t,y):h(t)};if(d)n=t.iterator;else if(p)n=t;else{if(!(o=Ap(t)))throw Rp(xp(t)+" is not iterable");if(kp(o)){for(i=0,a=Tp(t);a>i;i++)if((u=g(t[i]))&&_p(Np,u))return u;return new Dp(!1)}n=Lp(t,o)}for(c=d?t.next:n.next;!(f=jp(c,n)).done;){try{u=g(f.value)}catch(Hb){Cp(n,"throw",Hb)}if("object"==typeof u&&u&&_p(Np,u))return u}return new Dp(!1)},Mp=mn,Ip=Tr,Gp=ut,Bp=Vc,Vp=pf,zp=function(t,e,r){for(var n=Ud(e),o=Hd.f,i=Wd.f,a=0;a<n.length;a++){var u=n[a];zd(t,u)||r&&zd(r,u)||o(t,u,i(e,u))}},Up=Wn,Wp=yr,Hp=G,Yp=function(t,e){Yd(e)&&"cause"in e&&Kd(t,"cause",e.cause)},Kp=function(t,e,r,n){np&&(op?op(t,e):ep(t,"stack",rp(r,n)))},Jp=Fp,qp=function(t,e){return void 0===t?arguments.length<2?"":e:Mp(t)},Xp=de("toStringTag"),$p=Error,Qp=[].push,Zp=function(t,e){var r,n=Gp(tv,this);Vp?r=Vp($p(),n?Bp(this):tv):(r=n?this:Up(tv),Wp(r,Xp,"Error")),void 0!==e&&Wp(r,"message",qp(e)),Kp(r,Zp,r.stack,1),arguments.length>2&&Yp(r,arguments[2]);var o=[];return Jp(t,Qp,{that:o}),Wp(r,"errors",o),r};Vp?Vp(Zp,$p):zp(Zp,$p,{name:!0});var tv=Zp.prototype=Up($p.prototype,{constructor:Hp(1,Zp),message:Hp(1,""),name:Hp(1,"AggregateError")});Ip({global:!0,constructor:!0,arity:2},{AggregateError:Zp});var ev,rv,nv,ov,iv="undefined"!=typeof process&&"process"==w(process),av=at,uv=vo,cv=_,fv=de("species"),lv=ut,sv=TypeError,dv=rr,pv=bd,vv=H,hv=de("species"),yv=function(t,e){var r,n=dv(t).constructor;return void 0===n||vv(r=dv(n)[hv])?e:pv(r)},gv=TypeError,mv=/(?:ipad|iphone|ipod).*applewebkit/i.test(ct),bv=o,wv=s,Sv=Xe,Pv=k,Ov=Qt,jv=i,Ev=kn,xv=iu,kv=xe,Tv=function(t,e){if(t<e)throw gv("Not enough arguments");return t},_v=mv,Lv=iv,Av=bv.setImmediate,Cv=bv.clearImmediate,Rv=bv.process,Dv=bv.Dispatch,Nv=bv.Function,Fv=bv.MessageChannel,Mv=bv.String,Iv=0,Gv={},Bv="onreadystatechange";jv((function(){ev=bv.location}));var Vv=function(t){if(Ov(Gv,t)){var e=Gv[t];delete Gv[t],e()}},zv=function(t){return function(){Vv(t)}},Uv=function(t){Vv(t.data)},Wv=function(t){bv.postMessage(Mv(t),ev.protocol+"//"+ev.host)};Av&&Cv||(Av=function(t){Tv(arguments.length,1);var e=Pv(t)?t:Nv(t),r=xv(arguments,1);return Gv[++Iv]=function(){wv(e,void 0,r)},rv(Iv),Iv},Cv=function(t){delete Gv[t]},Lv?rv=function(t){Rv.nextTick(zv(t))}:Dv&&Dv.now?rv=function(t){Dv.now(zv(t))}:Fv&&!_v?(ov=(nv=new Fv).port2,nv.port1.onmessage=Uv,rv=Sv(ov.postMessage,ov)):bv.addEventListener&&Pv(bv.postMessage)&&!bv.importScripts&&ev&&"file:"!==ev.protocol&&!jv(Wv)?(rv=Wv,bv.addEventListener("message",Uv,!1)):rv=Bv in kv("script")?function(t){Ev.appendChild(kv("script"))[Bv]=function(){Ev.removeChild(this),Vv(t)}}:function(t){setTimeout(zv(t),0)});var Hv={set:Av,clear:Cv},Yv=function(){this.head=null,this.tail=null};Yv.prototype={add:function(t){var e={item:t,next:null},r=this.tail;r?r.next=e:this.head=e,this.tail=e},get:function(){var t=this.head;if(t)return null===(this.head=t.next)&&(this.tail=null),t.item}};var Kv,Jv,qv,Xv,$v,Qv=Yv,Zv=/ipad|iphone|ipod/i.test(ct)&&"undefined"!=typeof Pebble,th=/web0s(?!.*chrome)/i.test(ct),eh=o,rh=Xe,nh=T.f,oh=Hv.set,ih=Qv,ah=mv,uh=Zv,ch=th,fh=iv,lh=eh.MutationObserver||eh.WebKitMutationObserver,sh=eh.document,dh=eh.process,ph=eh.Promise,vh=nh(eh,"queueMicrotask"),hh=vh&&vh.value;if(!hh){var yh=new ih,gh=function(){var t,e;for(fh&&(t=dh.domain)&&t.exit();e=yh.get();)try{e()}catch(Hb){throw yh.head&&Kv(),Hb}t&&t.enter()};ah||fh||ch||!lh||!sh?!uh&&ph&&ph.resolve?((Xv=ph.resolve(void 0)).constructor=ph,$v=rh(Xv.then,Xv),Kv=function(){$v(gh)}):fh?Kv=function(){dh.nextTick(gh)}:(oh=rh(oh,eh),Kv=function(){oh(gh)}):(Jv=!0,qv=sh.createTextNode(""),new lh(gh).observe(qv,{characterData:!0}),Kv=function(){qv.data=Jv=!Jv}),hh=function(t){yh.head||Kv(),yh.add(t)}}var mh=hh,bh=function(t){try{return{error:!1,value:t()}}catch(Hb){return{error:!0,value:Hb}}},wh=o.Promise,Sh="object"==typeof Deno&&Deno&&"object"==typeof Deno.version,Ph=!Sh&&!iv&&"object"==typeof window&&"object"==typeof document,Oh=o,jh=wh,Eh=k,xh=Ye,kh=ai,Th=de,_h=Ph,Lh=Sh,Ah=ht,Ch=jh&&jh.prototype,Rh=Th("species"),Dh=!1,Nh=Eh(Oh.PromiseRejectionEvent),Fh={CONSTRUCTOR:xh("Promise",(function(){var t=kh(jh),e=t!==String(jh);if(!e&&66===Ah)return!0;if(!Ch.catch||!Ch.finally)return!0;if(!Ah||Ah<51||!/native code/.test(t)){var r=new jh((function(t){t(1)})),n=function(t){t((function(){}),(function(){}))};if((r.constructor={})[Rh]=n,!(Dh=r.then((function(){}))instanceof n))return!0}return!e&&(_h||Lh)&&!Nh})),REJECTION_EVENT:Nh,SUBCLASSING:Dh},Mh={},Ih=At,Gh=TypeError,Bh=function(t){var e,r;this.promise=new t((function(t,n){if(void 0!==e||void 0!==r)throw Gh("Bad Promise constructor");e=t,r=n})),this.resolve=Ih(e),this.reject=Ih(r)};Mh.f=function(t){return new Bh(t)};var Vh,zh,Uh=Tr,Wh=iv,Hh=o,Yh=C,Kh=so,Jh=Io,qh=function(t){var e=av(t);cv&&e&&!e[fv]&&uv(e,fv,{configurable:!0,get:function(){return this}})},Xh=At,$h=k,Qh=tt,Zh=function(t,e){if(lv(e,t))return t;throw sv("Incorrect invocation")},ty=yv,ey=Hv.set,ry=mh,ny=function(t,e){try{1==arguments.length?console.error(t):console.error(t,e)}catch(Hb){}},oy=bh,iy=Qv,ay=ti,uy=wh,cy=Fh,fy=Mh,ly="Promise",sy=cy.CONSTRUCTOR,dy=cy.REJECTION_EVENT,py=ay.getterFor(ly),vy=ay.set,hy=uy&&uy.prototype,yy=uy,gy=hy,my=Hh.TypeError,by=Hh.document,wy=Hh.process,Sy=fy.f,Py=Sy,Oy=!!(by&&by.createEvent&&Hh.dispatchEvent),jy="unhandledrejection",Ey=function(t){var e;return!(!Qh(t)||!$h(e=t.then))&&e},xy=function(t,e){var r,n,o,i=e.value,a=1==e.state,u=a?t.ok:t.fail,c=t.resolve,f=t.reject,l=t.domain;try{u?(a||(2===e.rejection&&Ay(e),e.rejection=1),!0===u?r=i:(l&&l.enter(),r=u(i),l&&(l.exit(),o=!0)),r===t.promise?f(my("Promise-chain cycle")):(n=Ey(r))?Yh(n,r,c,f):c(r)):f(i)}catch(Hb){l&&!o&&l.exit(),f(Hb)}},ky=function(t,e){t.notified||(t.notified=!0,ry((function(){for(var r,n=t.reactions;r=n.get();)xy(r,t);t.notified=!1,e&&!t.rejection&&_y(t)})))},Ty=function(t,e,r){var n,o;Oy?((n=by.createEvent("Event")).promise=e,n.reason=r,n.initEvent(t,!1,!0),Hh.dispatchEvent(n)):n={promise:e,reason:r},!dy&&(o=Hh["on"+t])?o(n):t===jy&&ny("Unhandled promise rejection",r)},_y=function(t){Yh(ey,Hh,(function(){var e,r=t.facade,n=t.value;if(Ly(t)&&(e=oy((function(){Wh?wy.emit("unhandledRejection",n,r):Ty(jy,r,n)})),t.rejection=Wh||Ly(t)?2:1,e.error))throw e.value}))},Ly=function(t){return 1!==t.rejection&&!t.parent},Ay=function(t){Yh(ey,Hh,(function(){var e=t.facade;Wh?wy.emit("rejectionHandled",e):Ty("rejectionhandled",e,t.value)}))},Cy=function(t,e,r){return function(n){t(e,n,r)}},Ry=function(t,e,r){t.done||(t.done=!0,r&&(t=r),t.value=e,t.state=2,ky(t,!0))},Dy=function(t,e,r){if(!t.done){t.done=!0,r&&(t=r);try{if(t.facade===e)throw my("Promise can't be resolved itself");var n=Ey(e);n?ry((function(){var r={done:!1};try{Yh(n,e,Cy(Dy,r,t),Cy(Ry,r,t))}catch(Hb){Ry(r,Hb,t)}})):(t.value=e,t.state=1,ky(t,!1))}catch(Hb){Ry({done:!1},Hb,t)}}};sy&&(gy=(yy=function(t){Zh(this,gy),Xh(t),Yh(Vh,this);var e=py(this);try{t(Cy(Dy,e),Cy(Ry,e))}catch(Hb){Ry(e,Hb)}}).prototype,(Vh=function(t){vy(this,{type:ly,done:!1,notified:!1,parent:!1,reactions:new iy,rejection:!1,state:0,value:void 0})}).prototype=Kh(gy,"then",(function(t,e){var r=py(this),n=Sy(ty(this,yy));return r.parent=!0,n.ok=!$h(t)||t,n.fail=$h(e)&&e,n.domain=Wh?wy.domain:void 0,0==r.state?r.reactions.add(n):ry((function(){xy(n,r)})),n.promise})),zh=function(){var t=new Vh,e=py(t);this.promise=t,this.resolve=Cy(Dy,e),this.reject=Cy(Ry,e)},fy.f=Sy=function(t){return t===yy||undefined===t?new zh(t):Py(t)}),Uh({global:!0,constructor:!0,wrap:!0,forced:sy},{Promise:yy}),Jh(yy,ly,!1,!0),qh(ly);var Ny=de("iterator"),Fy=!1;try{var My=0,Iy={next:function(){return{done:!!My++}},return:function(){Fy=!0}};Iy[Ny]=function(){return this},Array.from(Iy,(function(){throw 2}))}catch(Hb){}var Gy=wh,By=Fh.CONSTRUCTOR||!function(t,e){if(!e&&!Fy)return!1;var r=!1;try{var n={};n[Ny]=function(){return{next:function(){return{done:r=!0}}}},t(n)}catch(Hb){}return r}((function(t){Gy.all(t).then(void 0,(function(){}))})),Vy=C,zy=At,Uy=Mh,Wy=bh,Hy=Fp;Tr({target:"Promise",stat:!0,forced:By},{all:function(t){var e=this,r=Uy.f(e),n=r.resolve,o=r.reject,i=Wy((function(){var r=zy(e.resolve),i=[],a=0,u=1;Hy(t,(function(t){var c=a++,f=!1;u++,Vy(r,e,t).then((function(t){f||(f=!0,i[c]=t,--u||n(i))}),o)})),--u||n(i)}));return i.error&&o(i.value),r.promise}});var Yy=Tr,Ky=Fh.CONSTRUCTOR;wh&&wh.prototype,Yy({target:"Promise",proto:!0,forced:Ky,real:!0},{catch:function(t){return this.then(void 0,t)}});var Jy=C,qy=At,Xy=Mh,$y=bh,Qy=Fp;Tr({target:"Promise",stat:!0,forced:By},{race:function(t){var e=this,r=Xy.f(e),n=r.reject,o=$y((function(){var o=qy(e.resolve);Qy(t,(function(t){Jy(o,e,t).then(r.resolve,n)}))}));return o.error&&n(o.value),r.promise}});var Zy=C,tg=Mh;Tr({target:"Promise",stat:!0,forced:Fh.CONSTRUCTOR},{reject:function(t){var e=tg.f(this);return Zy(e.reject,void 0,t),e.promise}});var eg=rr,rg=tt,ng=Mh,og=function(t,e){if(eg(t),rg(e)&&e.constructor===t)return e;var r=ng.f(t);return(0,r.resolve)(e),r.promise},ig=Tr,ag=wh,ug=Fh.CONSTRUCTOR,cg=og,fg=at("Promise"),lg=!ug;ig({target:"Promise",stat:!0,forced:true},{resolve:function(t){return cg(lg&&this===fg?ag:this,t)}});var sg=C,dg=At,pg=Mh,vg=bh,hg=Fp;Tr({target:"Promise",stat:!0,forced:By},{allSettled:function(t){var e=this,r=pg.f(e),n=r.resolve,o=r.reject,i=vg((function(){var r=dg(e.resolve),o=[],i=0,a=1;hg(t,(function(t){var u=i++,c=!1;a++,sg(r,e,t).then((function(t){c||(c=!0,o[u]={status:"fulfilled",value:t},--a||n(o))}),(function(t){c||(c=!0,o[u]={status:"rejected",reason:t},--a||n(o))}))})),--a||n(o)}));return i.error&&o(i.value),r.promise}});var yg=C,gg=At,mg=at,bg=Mh,wg=bh,Sg=Fp,Pg="No one promise resolved";Tr({target:"Promise",stat:!0,forced:By},{any:function(t){var e=this,r=mg("AggregateError"),n=bg.f(e),o=n.resolve,i=n.reject,a=wg((function(){var n=gg(e.resolve),a=[],u=0,c=1,f=!1;Sg(t,(function(t){var l=u++,s=!1;c++,yg(n,e,t).then((function(t){s||f||(f=!0,o(t))}),(function(t){s||f||(s=!0,a[l]=t,--c||i(new r(a,Pg)))}))})),--c||i(new r(a,Pg))}));return a.error&&i(a.value),n.promise}});var Og=Tr,jg=wh,Eg=i,xg=at,kg=k,Tg=yv,_g=og,Lg=jg&&jg.prototype;Og({target:"Promise",proto:!0,real:!0,forced:!!jg&&Eg((function(){Lg.finally.call({then:function(){}},(function(){}))}))},{finally:function(t){var e=Tg(this,xg("Promise")),r=kg(t);return this.then(r?function(r){return _g(e,t()).then((function(){return r}))}:t,r?function(r){return _g(e,t()).then((function(){throw r}))}:t)}});var Ag=et.Promise,Cg=Mh;Tr({target:"Promise",stat:!0,forced:!0},{withResolvers:function(){var t=Cg.f(this);return{promise:t.promise,resolve:t.resolve,reject:t.reject}}});var Rg=Mh,Dg=bh;Tr({target:"Promise",stat:!0,forced:!0},{try:function(t){var e=Rg.f(this),r=Dg(t);return(r.error?e.reject:e.resolve)(r.value),e.promise}});var Ng=r(Ag),Fg=Tr,Mg=ri,Ig=y([].reverse),Gg=[1,2];Fg({target:"Array",proto:!0,forced:String(Gg)===String(Gg.reverse())},{reverse:function(){return Mg(this)&&(this.length=this.length),Ig(this)}});var Bg=Hu("Array").reverse,Vg=ut,zg=Bg,Ug=Array.prototype,Wg=r((function(t){var e=t.reverse;return t===Ug||Vg(Ug,t)&&e===Ug.reverse?zg:e})),Hg=Tr,Yg=ri,Kg=wi,Jg=tt,qg=Fr,Xg=Br,$g=$,Qg=Qn,Zg=de,tm=iu,em=zu("slice"),rm=Zg("species"),nm=Array,om=Math.max;Hg({target:"Array",proto:!0,forced:!em},{slice:function(t,e){var r,n,o,i=$g(this),a=Xg(i),u=qg(t,a),c=qg(void 0===e?a:e,a);if(Yg(i)&&(r=i.constructor,(Kg(r)&&(r===nm||Yg(r.prototype))||Jg(r)&&null===(r=r[rm]))&&(r=void 0),r===nm||void 0===r))return tm(i,u,c);for(n=new(void 0===r?nm:r)(om(c-u,0)),o=0;u<c;u++,o++)u in i&&Qg(n,o,i[u]);return n.length=o,n}});var im=Hu("Array").slice,am=ut,um=im,cm=Array.prototype,fm=function(t){var e=t.slice;return t===cm||am(cm,t)&&e===cm.slice?um:e},lm=r(fm);function sm(){sm=function(){return t};var t={},e=Object.prototype,r=e.hasOwnProperty,n=Al||function(t,e,r){t[e]=r.value},o="function"==typeof Ss?Ss:{},i=o.iterator||"@@iterator",a=o.asyncIterator||"@@asyncIterator",u=o.toStringTag||"@@toStringTag";function c(t,e,r){return Al(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}),t[e]}try{c({},"")}catch(k){c=function(t,e,r){return t[e]=r}}function f(t,e,r,o){var i=e&&e.prototype instanceof d?e:d,a=qs(i.prototype),u=new j(o||[]);return n(a,"_invoke",{value:w(t,r,u)}),a}function l(t,e,r){try{return{type:"normal",arg:t.call(e,r)}}catch(k){return{type:"throw",arg:k}}}t.wrap=f;var s={};function d(){}function p(){}function v(){}var h={};c(h,i,(function(){return this}));var y=Id&&Id(Id(E([])));y&&y!==e&&r.call(y,i)&&(h=y);var g=v.prototype=d.prototype=qs(h);function m(t){var e;al(e=["next","throw","return"]).call(e,(function(e){c(t,e,(function(t){return this._invoke(e,t)}))}))}function b(t,e){function o(n,i,a,u){var c=l(t[n],t,i);if("throw"!==c.type){var f=c.arg,s=f.value;return s&&"object"==Gs(s)&&r.call(s,"__await")?e.resolve(s.__await).then((function(t){o("next",t,a,u)}),(function(t){o("throw",t,a,u)})):e.resolve(s).then((function(t){f.value=t,a(f)}),(function(t){return o("throw",t,a,u)}))}u(c.arg)}var i;n(this,"_invoke",{value:function(t,r){function n(){return new e((function(e,n){o(t,r,e,n)}))}return i=i?i.then(n,n):n()}})}function w(t,e,r){var n="suspendedStart";return function(o,i){if("executing"===n)throw new Error("Generator is already running");if("completed"===n){if("throw"===o)throw i;return{value:void 0,done:!0}}for(r.method=o,r.arg=i;;){var a=r.delegate;if(a){var u=S(a,r);if(u){if(u===s)continue;return u}}if("next"===r.method)r.sent=r._sent=r.arg;else if("throw"===r.method){if("suspendedStart"===n)throw n="completed",r.arg;r.dispatchException(r.arg)}else"return"===r.method&&r.abrupt("return",r.arg);n="executing";var c=l(t,e,r);if("normal"===c.type){if(n=r.done?"completed":"suspendedYield",c.arg===s)continue;return{value:c.arg,done:r.done}}"throw"===c.type&&(n="completed",r.method="throw",r.arg=c.arg)}}}function S(t,e){var r=e.method,n=t.iterator[r];if(void 0===n)return e.delegate=null,"throw"===r&&t.iterator.return&&(e.method="return",e.arg=void 0,S(t,e),"throw"===e.method)||"return"!==r&&(e.method="throw",e.arg=new TypeError("The iterator does not provide a '"+r+"' method")),s;var o=l(n,t.iterator,e.arg);if("throw"===o.type)return e.method="throw",e.arg=o.arg,e.delegate=null,s;var i=o.arg;return i?i.done?(e[t.resultName]=i.value,e.next=t.nextLoc,"return"!==e.method&&(e.method="next",e.arg=void 0),e.delegate=null,s):i:(e.method="throw",e.arg=new TypeError("iterator result is not an object"),e.delegate=null,s)}function P(t){var e,r={tryLoc:t[0]};1 in t&&(r.catchLoc=t[1]),2 in t&&(r.finallyLoc=t[2],r.afterLoc=t[3]),Ec(e=this.tryEntries).call(e,r)}function O(t){var e=t.completion||{};e.type="normal",delete e.arg,t.completion=e}function j(t){this.tryEntries=[{tryLoc:"root"}],al(t).call(t,P,this),this.reset(!0)}function E(t){if(t){var e=t[i];if(e)return e.call(t);if("function"==typeof t.next)return t;if(!isNaN(t.length)){var n=-1,o=function e(){for(;++n<t.length;)if(r.call(t,n))return e.value=t[n],e.done=!1,e;return e.value=void 0,e.done=!0,e};return o.next=o}}return{next:x}}function x(){return{value:void 0,done:!0}}return p.prototype=v,n(g,"constructor",{value:v,configurable:!0}),n(v,"constructor",{value:p,configurable:!0}),p.displayName=c(v,u,"GeneratorFunction"),t.isGeneratorFunction=function(t){var e="function"==typeof t&&t.constructor;return!!e&&(e===p||"GeneratorFunction"===(e.displayName||e.name))},t.mark=function(t){return Xs?Xs(t,v):(t.__proto__=v,c(t,u,"GeneratorFunction")),t.prototype=qs(g),t},t.awrap=function(t){return{__await:t}},m(b.prototype),c(b.prototype,a,(function(){return this})),t.AsyncIterator=b,t.async=function(e,r,n,o,i){void 0===i&&(i=Ng);var a=new b(f(e,r,n,o),i);return t.isGeneratorFunction(r)?a:a.next().then((function(t){return t.done?t.value:a.next()}))},m(g),c(g,u,"Generator"),c(g,i,(function(){return this})),c(g,"toString",(function(){return"[object Generator]"})),t.keys=function(t){var e=Object(t),r=[];for(var n in e)Ec(r).call(r,n);return Wg(r).call(r),function t(){for(;r.length;){var n=r.pop();if(n in e)return t.value=n,t.done=!1,t}return t.done=!0,t}},t.values=E,j.prototype={constructor:j,reset:function(t){var e;if(this.prev=0,this.next=0,this.sent=this._sent=void 0,this.done=!1,this.delegate=null,this.method="next",this.arg=void 0,al(e=this.tryEntries).call(e,O),!t)for(var n in this)"t"===n.charAt(0)&&r.call(this,n)&&!isNaN(+lm(n).call(n,1))&&(this[n]=void 0)},stop:function(){this.done=!0;var t=this.tryEntries[0].completion;if("throw"===t.type)throw t.arg;return this.rval},dispatchException:function(t){if(this.done)throw t;var e=this;function n(r,n){return a.type="throw",a.arg=t,e.next=r,n&&(e.method="next",e.arg=void 0),!!n}for(var o=this.tryEntries.length-1;o>=0;--o){var i=this.tryEntries[o],a=i.completion;if("root"===i.tryLoc)return n("end");if(i.tryLoc<=this.prev){var u=r.call(i,"catchLoc"),c=r.call(i,"finallyLoc");if(u&&c){if(this.prev<i.catchLoc)return n(i.catchLoc,!0);if(this.prev<i.finallyLoc)return n(i.finallyLoc)}else if(u){if(this.prev<i.catchLoc)return n(i.catchLoc,!0)}else{if(!c)throw new Error("try statement without catch or finally");if(this.prev<i.finallyLoc)return n(i.finallyLoc)}}}},abrupt:function(t,e){for(var n=this.tryEntries.length-1;n>=0;--n){var o=this.tryEntries[n];if(o.tryLoc<=this.prev&&r.call(o,"finallyLoc")&&this.prev<o.finallyLoc){var i=o;break}}i&&("break"===t||"continue"===t)&&i.tryLoc<=e&&e<=i.finallyLoc&&(i=null);var a=i?i.completion:{};return a.type=t,a.arg=e,i?(this.method="next",this.next=i.finallyLoc,s):this.complete(a)},complete:function(t,e){if("throw"===t.type)throw t.arg;return"break"===t.type||"continue"===t.type?this.next=t.arg:"return"===t.type?(this.rval=this.arg=t.arg,this.method="return",this.next="end"):"normal"===t.type&&e&&(this.next=e),s},finish:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var r=this.tryEntries[e];if(r.finallyLoc===t)return this.complete(r.completion,r.afterLoc),O(r),s}},catch:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var r=this.tryEntries[e];if(r.tryLoc===t){var n=r.completion;if("throw"===n.type){var o=n.arg;O(r)}return o}}throw new Error("illegal catch attempt")},delegateYield:function(t,e,r){return this.delegate={iterator:E(t),resultName:e,nextLoc:r},"next"===this.method&&(this.arg=void 0),s}},t}function dm(t,e,r,n,o,i,a){try{var u=t[i](a),c=u.value}catch(Hb){return void r(Hb)}u.done?e(c):Ng.resolve(c).then(n,o)}function pm(t){return function(){var e=this,r=arguments;return new Ng((function(n,o){var i=t.apply(e,r);function a(t){dm(i,n,o,a,u,"next",t)}function u(t){dm(i,n,o,a,u,"throw",t)}a(void 0)}))}}var vm=Qt,hm=C,ym=tt,gm=rr,mm=function(t){return void 0!==t&&(vm(t,"value")||vm(t,"writable"))},bm=T,wm=Vc;Tr({target:"Reflect",stat:!0},{get:function t(e,r){var n,o,i=arguments.length<3?e:arguments[2];return gm(e)===i?e[r]:(n=bm.f(e,r))?mm(n)?n.value:void 0===n.get?void 0:hm(n.get,i):ym(o=wm(e))?t(o,r,i):void 0}});var Sm=r(et.Reflect.get);function Pm(){var t;"undefined"!=typeof Reflect&&Sm?Pm=pd(t=Sm).call(t):Pm=function(t,e,r){var n=function(t,e){for(;!Object.prototype.hasOwnProperty.call(t,e)&&null!==(t=Gd(t)););return t}(t,e);if(n){var o=ac(n,e);return o.get?o.get.call(arguments.length<3?t:r):o.value}};return Pm.apply(this,arguments)}var Om=Tr,jm=Ni.find,Em="find",xm=!0;Em in[]&&Array(1)[Em]((function(){xm=!1})),Om({target:"Array",proto:!0,forced:xm},{find:function(t){return jm(this,t,arguments.length>1?arguments[1]:void 0)}});var km=Hu("Array").find,Tm=ut,_m=km,Lm=Array.prototype,Am=r((function(t){var e=t.find;return t===Lm||Tm(Lm,t)&&e===Lm.find?_m:e})),Cm=new t.Logger("VeStrategy-preload-plugin"),Rm="play_next_end",Dm=function(t){hd(n,t);var e,r=Vd(n);function n(t){var e,o;return Hs(this,n),zs(Bd(o=r.call(this,t)),"ctx",void 0),zs(Bd(o),"preloader",void 0),zs(Bd(o),"_checkPreloadData",(function(){var t,e,r;null===(t=o.preloader)||void 0===t||null===(e=t.checkPreloadData)||void 0===e||e.call(t,null===(r=o.player)||void 0===r||null===(r=r.config)||void 0===r?void 0:r.vid)})),o.ctx=t.config.ctx,o.preloader=t.config.preloader,Cm.update(null===(e=o.ctx)||void 0===e||null===(e=e.dataCenter)||void 0===e||null===(e=e.getAppConfig())||void 0===e?void 0:e.log),Cm.info("PreloadPluginInitCompleted"),o}return Ks(n,[{key:"afterCreate",value:function(){Pm(Gd(n.prototype),"afterCreate",this).call(this),this.initPreloader()}},{key:"destroy",value:function(){var t,e;Pm(Gd(n.prototype),"destroy",this).call(this),null===(t=this.preloader)||void 0===t||null===(e=t.detachPlayer)||void 0===e||e.call(t,this.player),this.off(Rm,this._checkPreloadData)}},{key:"initPreloader",value:(e=pm(sm().mark((function t(){var e,r,n,o,i,a;return sm().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,null===(e=this.preloader)||void 0===e||null===(r=e.prepare)||void 0===r?void 0:r.call(e);case 2:if(t.t0=t.sent,!t.t0){t.next=5;break}t.t0=this._findPlugin("mp4encryptplayer");case 5:if(t.t0){t.next=8;break}return t.abrupt("return");case 8:this.off(Rm,this._checkPreloadData),null===(n=this.preloader)||void 0===n||null===(o=n.detachPlayer)||void 0===o||o.call(n,this.player),null===(i=this.preloader)||void 0===i||null===(a=i.attachPlayer)||void 0===a||a.call(i,this.player),this.on(Rm,this._checkPreloadData),this._checkPreloadData();case 13:case"end":return t.stop()}}),t,this)}))),function(){return e.apply(this,arguments)})},{key:"_findPlugin",value:function(t){var e;return null===(e=this.playerConfig.plugins)||void 0===e?void 0:Am(e).call(e,(function(e){var r;return(null==e||null===(r=e.pluginName)||void 0===r?void 0:r.toLowerCase())===t}))}}],[{key:"pluginName",get:function(){return"AutoPreloadPlugin"}},{key:"defaultConfig",get:function(){return{}}}]),n}(t.BasePlugin),Nm=Hu("Array").concat,Fm=ut,Mm=Nm,Im=Array.prototype,Gm=r((function(t){var e=t.concat;return t===Im||Fm(Im,t)&&e===Im.concat?Mm:e})),Bm=_,Vm=y,zm=C,Um=i,Wm=rn,Hm=fo,Ym=R,Km=qt,Jm=W,qm=Object.assign,Xm=Object.defineProperty,$m=Vm([].concat),Qm=!qm||Um((function(){if(Bm&&1!==qm({b:1},qm(Xm({},"a",{enumerable:!0,get:function(){Xm(this,"b",{value:3,enumerable:!1})}}),{b:2})).b)return!0;var t={},e={},r=Symbol(),n="abcdefghijklmnopqrst";return t[r]=7,n.split("").forEach((function(t){e[t]=t})),7!=qm({},t)[r]||Wm(qm({},e)).join("")!=n}))?function(t,e){for(var r=Km(t),n=arguments.length,o=1,i=Hm.f,a=Ym.f;n>o;)for(var u,c=Jm(arguments[o++]),f=i?$m(Wm(c),i(c)):Wm(c),l=f.length,s=0;l>s;)u=f[s++],Bm&&!zm(a,c,u)||(r[u]=c[u]);return r}:qm,Zm=Qm;Tr({target:"Object",stat:!0,arity:2,forced:Object.assign!==Zm},{assign:Zm});var tb=r(et.Object.assign),eb=r(Xu),rb=r(il),nb=Hr.includes;Tr({target:"Array",proto:!0,forced:i((function(){return!Array(1).includes()}))},{includes:function(t){return nb(this,t,arguments.length>1?arguments[1]:void 0)}});var ob=Hu("Array").includes,ib=tt,ab=w,ub=de("match"),cb=function(t){var e;return ib(t)&&(void 0!==(e=t[ub])?!!e:"RegExp"==ab(t))},fb=TypeError,lb=de("match"),sb=Tr,db=function(t){if(cb(t))throw fb("The method doesn't accept regular expressions");return t},pb=J,vb=mn,hb=function(t){var e=/./;try{"/./"[t](e)}catch(r){try{return e[lb]=!1,"/./"[t](e)}catch(n){}}return!1},yb=y("".indexOf);sb({target:"String",proto:!0,forced:!hb("includes")},{includes:function(t){return!!~yb(vb(pb(this)),vb(db(t)),arguments.length>1?arguments[1]:void 0)}});var gb=Hu("String").includes,mb=ut,bb=ob,wb=gb,Sb=Array.prototype,Pb=String.prototype,Ob=r((function(t){var e=t.includes;return t===Sb||mb(Sb,t)&&e===Sb.includes?bb:"string"==typeof t||t===Pb||mb(Pb,t)&&e===Pb.includes?wb:e})),jb=Tr,Eb=Ni.findIndex,xb="findIndex",kb=!0;xb in[]&&Array(1)[xb]((function(){kb=!1})),jb({target:"Array",proto:!0,forced:kb},{findIndex:function(t){return Eb(this,t,arguments.length>1?arguments[1]:void 0)}});var Tb=Hu("Array").findIndex,_b=ut,Lb=Tb,Ab=Array.prototype,Cb=r((function(t){var e=t.findIndex;return t===Ab||_b(Ab,t)&&e===Ab.findIndex?Lb:e})),Rb=r(fm),Db=function(t){return t[t.NORMAL=0]="NORMAL",t[t.FEED=1]="FEED",t}(Db||{}),Nb=Ni.map;Tr({target:"Array",proto:!0,forced:!zu("map")},{map:function(t){return Nb(this,t,arguments.length>1?arguments[1]:void 0)}});var Fb=Hu("Array").map,Mb=ut,Ib=Fb,Gb=Array.prototype,Bb=r((function(t){var e=t.map;return t===Gb||Mb(Gb,t)&&e===Gb.map?Ib:e})),Vb=function(){function t(){Hs(this,t),zs(this,"isRegistered",!1),zs(this,"initPromise",void 0),zs(this,"_inst",void 0),zs(this,"player",void 0),zs(this,"_tracker",void 0),zs(this,"pendingLoadList",[]),zs(this,"prevCount",1),zs(this,"nextCount",2),zs(this,"preloadScene",Db.NORMAL)}var e,r,n;return Ks(t,[{key:"init",value:(n=pm(sm().mark((function t(e){return sm().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return this.initPromise||(this.initPromise=this._init(e)),t.abrupt("return",this.initPromise);case 2:case"end":return t.stop()}}),t,this)}))),function(t){return n.apply(this,arguments)})},{key:"prepare",value:(r=pm(sm().mark((function t(){var e;return sm().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:if(t.t0=this.isRegistered,t.t0){t.next=5;break}return t.next=4,null!==(e=this.initPromise)&&void 0!==e&&e;case 4:t.t0=t.sent;case 5:return t.abrupt("return",t.t0);case 6:case"end":return t.stop()}}),t,this)}))),function(){return r.apply(this,arguments)})},{key:"register",value:function(t){if(!this.isRegistered){var e=Ws(Ws({},t),{},{preloadScene:(null==t?void 0:t.preloadScene)||Db.NORMAL});this._register(this._adaptPreloadConfig(e)),this.isRegistered=!0,this.trackPreloadData()}}},{key:"addPreloadList",value:function(t){if(this.isRegistered){if(Db.FEED!==this.preloadScene)return Db.NORMAL===this.preloadScene?this._addPreloadList(t):void 0;var e;this.pendingLoadList=Gm(e=this.pendingLoadList).call(e,null!=t?t:[])}}},{key:"setPreloadList",value:function(t){if(this.isRegistered){if(Db.FEED!==this.preloadScene)return Db.NORMAL===this.preloadScene?this._addPreloadList(t):void 0;this.pendingLoadList=null!=t?t:[]}}},{key:"clearPreloadList",value:function(){this.pendingLoadList=[]}},{key:"attachPlayer",value:function(t){var e,r;t&&this.isRegistered&&(null===(e=this._inst)||void 0===e||null===(r=e.attachPlayer)||void 0===r||r.call(e,t),this.player=t)}},{key:"detachPlayer",value:function(t){var e,r;this.isRegistered&&(null===(e=this._inst)||void 0===e||null===(r=e.detachPlayer)||void 0===r||r.call(e,t))}},{key:"setPreloadScene",value:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:this.preloadScene,e=arguments.length>1?arguments[1]:void 0;return this.preloadScene!==t&&this.clearPreloadList(),this.updateConfig(Ws({preloadScene:t},null!=e?e:{}))}},{key:"removeAll",value:function(){var t,e;return null===(t=this._inst)||void 0===t||null===(e=t.removeAll)||void 0===e?void 0:e.call(t)}},{key:"removeAllPreloadTask",value:function(){var t,e;return this.pendingLoadList=[],null===(t=this._inst)||void 0===t||null===(e=t.removeAllPreloadTask)||void 0===e?void 0:e.call(t)}},{key:"bindTracker",value:function(t){this._tracker=t}},{key:"checkPreloadData",value:function(t){var e,r;if(null!==(e=this.pendingLoadList)&&void 0!==e&&e.length){var n=this._recPreloadList(t||(null===(r=this.player)||void 0===r||null===(r=r.config)||void 0===r?void 0:r.vid));null!=n&&n.length&&this._addPreloadList(n)}}},{key:"inst",value:function(){return this._inst}},{key:"_init",value:(e=pm(sm().mark((function t(e){var r,n,o;return sm().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:if("function"!=typeof e){t.next=6;break}return t.next=3,e();case 3:t.t0=t.sent,t.next=7;break;case 6:t.t0=e;case 7:if(null!=(o=t.t0)&&o.PreloaderModule&&null!=o&&null!==(r=o.loaders)&&void 0!==r&&r.length&&null!=o&&null!==(n=o.playPlugins)&&void 0!==n&&n.length){t.next=10;break}return t.abrupt("return",!1);case 10:return o.enableDebugger&&(o.PreloaderModule.debugger=o.enableDebugger),this.register(o),t.abrupt("return",!0);case 13:case"end":return t.stop()}}),t,this)}))),function(t){return e.apply(this,arguments)})},{key:"_addPreloadList",value:function(t){if(null!=t&&t.length){var e=function(t){return null!=t&&t.length?Bb(t).call(t,(function(t){var e,r;return{order:1,data:{vid:t.vid,vtype:(null===(e=t.streamType)||void 0===e||null===(r=e.toUpperCase)||void 0===r?void 0:r.call(e))||"MP4",codecType:t.codec||"h264",payload:[{url:[{src:t.url}],bitrate:t.bitrate,definition:t.definition,duration:t.duration,size:t.size}],defaultDefinition:t.definition,bizType:0}}})):[]}(t);null!=e&&e.length&&this._addList(e)}}},{key:"trackPreloadData",value:function(){var t,e,r=this;null===(t=this._inst)||void 0===t||null===(e=t.on)||void 0===e||e.call(t,"prf_data_size",(function(t){var e,n;null===(e=r._tracker)||void 0===e||null===(n=e.track)||void 0===n||n.call(e,"vestrategy_preload_prf_data_size",Ws({},t))}))}},{key:"_register",value:function(e){var r=this,n=e||{},o=n.PreloaderModule,i=n.playPlugins,a=n.loaders;o&&null!=i&&i.length&&null!=a&&a.length&&(e.enableDebugger&&(o.debugger=e.enableDebugger),this._inst=new o,this._inst.register({config:tb({},t.defaultConfig,e),loaders:eb(a).call(a,(function(t){return!!t}))}),rb(i).call(i,(function(t){var e;null==t||null===(e=t.registerPreloader)||void 0===e||e.call(t,r._inst)})),this._inst.enable())}},{key:"updateConfig",value:function(t){var e,r;t&&this.isRegistered&&(null===(e=this._inst)||void 0===e||null===(r=e.updateConfig)||void 0===r||r.call(e,this._adaptPreloadConfig(t)))}},{key:"_addList",value:function(t){var e,r;null!=t&&t.length&&this.isRegistered&&(null===(e=this._inst)||void 0===e||null===(r=e.addPreloadList)||void 0===r||r.call(e,t))}},{key:"_adaptPreloadConfig",value:function(t){var e,r,n;return this.nextCount=null!==(e=null==t?void 0:t.nextCount)&&void 0!==e?e:this.nextCount,this.prevCount=null!==(r=null==t?void 0:t.prevCount)&&void 0!==r?r:this.prevCount,void 0!==(null==t?void 0:t.preloadScene)&&Ob(n=[Db.FEED,Db.NORMAL]).call(n,null==t?void 0:t.preloadScene)?(this.preloadScene=t.preloadScene,Db.FEED===t.preloadScene?Ws(Ws({},t),{},{autoPreload:!1,autoCheckPreload:!0}):Ws(Ws({},t),{},{autoPreload:!0,autoCheckPreload:!1})):Ws({},t)}},{key:"_recPreloadList",value:function(t){var e,r=this.pendingLoadList;if(!t||null==r||!r.length)return[];var n=Cb(r).call(r,(function(e){return e.vid===t}));if(-1===n)return[];var o=this.prevCount?Rb(r).call(r,n-this.prevCount<0?0:n-this.prevCount,n):[],i=this.nextCount?Rb(r).call(r,n+1,n+this.nextCount+1):[];return eb(e=Gm(i).call(i,o)).call(e,(function(t){return!!t}))}}],[{key:"defaultConfig",get:function(){return{preloadCacheType:1,autoPreload:!0,autoCheckPreload:!1,autoCheck:{enable:!0,interval:1e3},preloadTime:5,preloadMaxCacheCount:15,startPreloadMinBuffer:5,startPreloadControl:!0,startPreloadMinPosTime:0,minBufferLength:15,segmentMinDuration:5,loadRangeType:"gop"}}}]),t}(),zb=new Vb,Ub=new t.Logger("VeStrategy-preload"),Wb=function(e){hd(n,e);var r=Vd(n);function n(t){var e,o,i;return Hs(this,n),i=r.call(this,t),zb.bindTracker(null==t||null===(e=t.ctx)||void 0===e?void 0:e.tracker),Ub.update(null===(o=t.ctx.dataCenter)||void 0===o||null===(o=o.getAppConfig())||void 0===o?void 0:o.log),Ub.info("VeStrategyPreloadInit"),i}return Ks(n,[{key:"getRecommendation",value:function(){var e,r,n={plugins:[],pluginConfiguration:{},result:{enable:!1}},o=null===(e=this.ctx.dataCenter.getServiceStrategyConfig())||void 0===e?void 0:e[t.StrategyEnums.preload];return null!=o&&null!==(r=o.config)&&void 0!==r&&r.enable?(this.config.disableAutoCheckPlugin||(n.plugins=[Dm],n.pluginConfiguration=zs({},Dm.pluginName,{preloader:zb})),n.result=Ws(Ws({},this.config),{},{enable:!0}),n):n}}],[{key:"strategyName",get:function(){return t.StrategyEnums.preload}}]),n}(t.BaseStrategy);return zs(Wb,"preloader",zb),Wb}));