@byteplus/veplayer 1.18.0-rc.8 → 1.18.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/index.d.ts +161 -0
- package/index.min.js +2 -2
- package/lite.cjs +2 -2
- package/lite.d.ts +7 -0
- package/lite.esm.mjs +2 -2
- package/lite.min.js +2 -2
- package/package.json +1 -1
- package/plugin/modules/DashAbralgo.mjs +1 -1
- package/plugin/modules/XGVideo.mjs +1 -1
- package/plugin/modules/danmuMask.mjs +1 -1
- package/plugin/modules/danmujs.mjs +1 -1
- package/plugin/modules/dash.mjs +1 -1
- package/plugin/modules/flv.mjs +1 -1
- package/plugin/modules/hls.mjs +1 -1
- package/plugin/modules/hlsEncrypt.mjs +1 -1
- package/plugin/modules/hlsjs.mjs +1 -1
- package/plugin/modules/hlsjsPro.mjs +1 -1
- package/plugin/modules/mp4Encrypt.mjs +1 -1
- package/plugin/modules/preloader.mjs +1 -1
- package/plugin/modules/streamprobe.mjs +1 -1
- package/plugin/modules/vestrategy.mjs +2 -2
- package/plugin/modules/vestrategy_adapt_range.mjs +2 -2
- package/plugin/modules/vestrategy_h265.mjs +2 -2
- package/plugin/modules/vestrategy_preload.mjs +2 -2
- package/plugin/vestrategy.js +1 -1
- package/plugin/vestrategy_preload.js +1 -1
|
@@ -1 +1 @@
|
|
|
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,l=c.apply,f=c.call,s="object"==typeof Reflect&&Reflect.apply||(u?f.bind(l):function(){return f.apply(l,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)||"",lt=o,ft=ct,st=lt.process,dt=lt.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&&ft&&(!(M=ft.match(/Edge\/(\d+)/))||M[1]>=74)&&(M=ft.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,le=o.Symbol,fe=oe("wks"),se=ce?le.for||le:le&&le.withoutSetter||ae,de=function(t){return ie(fe,t)||(fe[t]=ue&&ie(le,t)?le[t]:se("Symbol."+t)),fe[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,lr=Object.defineProperty,fr=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=fr(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 lr(t,e,r)}:lr:function(t,e,r){if(ar(t),e=ur(e),ar(r),or)try{return lr(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,l,f,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?(f=Sr(h,i))&&f.value:h[i]),a=n&&c?c:e[i],n&&typeof u==typeof a||(l=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(l,"sham",!0),Er(y,i,l),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),ln=cn,fn=k,sn=w,dn=de("toStringTag"),pn=Object,vn="Arguments"==sn(function(){return arguments}()),hn=ln?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))&&fn(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 lo={};lo.f=Object.getOwnPropertySymbols;var fo=yr,so=function(t,e,r,n){return n&&n.enumerable?t[e]=r:fo(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,li=k,fi=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(!li(t))return!1;try{return vi(di,pi,t),!0}catch(e){return!1}},bi=function(t){if(!li(t))return!1;switch(fi(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,l,f,s){for(var d,p,v=Li(c),h=_i(v),y=Ti(l,f),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=lo,ea=T,ra=$e,na=bn,oa=R,ia=so,aa=vo,ua=Yt,ca=Yr,la=ne,fa=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=la(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(la(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(fa(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,lu=mn,fu=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?fu(r,o):"number"!=typeof o&&"Number"!=cu(o)&&"String"!=cu(o)||fu(r,lu(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=lo,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,lc=TypeError,fc=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)&&!fc(t,"length").writable)throw lc("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,tl=G,el=Io,rl=xc,nl=function(){return this},ol=y,il=At,al=k,ul=String,cl=TypeError,ll=function(t,e,r){try{return ol(il(Object.getOwnPropertyDescriptor(t,e)[r]))}catch(n){}},fl=rr,sl=function(t){if("object"==typeof t||al(t))return t;throw cl("Can't set "+ul(t)+" as a prototype")},dl=Object.setPrototypeOf||("__proto__"in{}?function(){var t,e=!1,r={};try{(t=ll(Object.prototype,"__proto__","set"))(r,[]),e=r instanceof Array}catch(n){}return function(r,n){return fl(r),sl(n),e?t(r,n):r.__proto__=n,r}}():void 0),pl=Tr,vl=C,hl=Cc,yl=function(t,e,r,n){var o=e+" Iterator";return t.prototype=Zc(Qc,{next:tl(+!n,r)}),el(t,o,!1,!0),rl[o]=nl,t},gl=Vc,ml=Io,bl=so,wl=xc,Sl=$c,Pl=hl.PROPER,Ol=Sl.BUGGY_SAFARI_ITERATORS,jl=de("iterator"),El="keys",xl="values",kl="entries",Tl=function(){return this},_l=function(t,e,r,n,o,i,a){yl(r,e,n);var u,c,l,f=function(t){if(t===o&&h)return h;if(!Ol&&t in p)return p[t];switch(t){case El:case xl:case kl:return function(){return new r(this,t)}}return function(){return new r(this)}},s=e+" Iterator",d=!1,p=t.prototype,v=p[jl]||p["@@iterator"]||o&&p[o],h=!Ol&&v||f(o),y="Array"==e&&p.entries||v;if(y&&(u=gl(y.call(new t)))!==Object.prototype&&u.next&&(ml(u,s,!0,!0),wl[s]=Tl),Pl&&o==xl&&v&&v.name!==xl&&(d=!0,h=function(){return vl(v,this)}),o)if(c={values:f(xl),keys:i?h:f(El),entries:f(kl)},a)for(l in c)(Ol||d||!(l in p))&&bl(p,l,c[l]);else pl({target:e,proto:!0,forced:Ol||d},c);return a&&p[jl]!==h&&bl(p,jl,h,{name:o}),wl[e]=h,c},Ll=function(t,e){return{value:t,done:e}},Al=$,Cl=xc,Rl=ti;$e.f;var Dl=_l,Nl=Ll,Fl="Array Iterator",Ml=Rl.set,Il=Rl.getterFor(Fl);Dl(Array,"Array",(function(t,e){Ml(this,{type:Fl,target:Al(t),index:0,kind:e})}),(function(){var t=Il(this),e=t.target,r=t.kind,n=t.index++;return!e||n>=e.length?(t.target=void 0,Nl(void 0,!0)):Nl("keys"==r?n:"values"==r?e[n]:[n,e[n]],!1)}),"values"),Cl.Arguments=Cl.Array;var Gl={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},Bl=o,Vl=hn,zl=yr,Ul=xc,Wl=de("toStringTag");for(var Hl in Gl){var Yl=Bl[Hl],Kl=Yl&&Yl.prototype;Kl&&Vl(Kl)!==Wl&&zl(Kl,Wl,Hl),Ul[Hl]=Ul.Array}var Jl=i,ql=Ni.forEach,Xl=function(t,e){var r=[][t];return!!r&&Jl((function(){r.call(null,e||function(){return 1},1)}))}("forEach")?[].forEach:function(t){return ql(this,t,arguments.length>1?arguments[1]:void 0)};Tr({target:"Array",proto:!0,forced:[].forEach!=Xl},{forEach:Xl});var $l=Hu("Array").forEach,Ql=hn,Zl=Qt,tf=ut,ef=$l,rf=Array.prototype,nf={DOMTokenList:!0,NodeList:!0},of=function(t){var e=t.forEach;return t===rf||tf(rf,t)&&e===rf.forEach||Zl(nf,Ql(t))?ef:e},af=r(of),uf=at,cf=Hn,lf=lo,ff=rr,sf=y([].concat),df=uf("Reflect","ownKeys")||function(t){var e=cf.f(ff(t)),r=lf.f;return r?sf(e,r(t)):e},pf=df,vf=$,hf=T,yf=Qn;Tr({target:"Object",stat:!0,sham:!_},{getOwnPropertyDescriptors:function(t){for(var e,r,n=vf(t),o=hf.f,i=pf(n),a={},u=0;i.length>u;)void 0!==(r=o(n,e=i[u++]))&&yf(a,e,r);return a}});var gf=r(et.Object.getOwnPropertyDescriptors),mf={exports:{}},bf=Tr,wf=_,Sf=bn.f;bf({target:"Object",stat:!0,forced:Object.defineProperties!==Sf,sham:!wf},{defineProperties:Sf});var Pf=et.Object,Of=mf.exports=function(t,e){return Pf.defineProperties(t,e)};Pf.defineProperties.sham&&(Of.sham=!0);var jf=r(mf.exports),Ef={exports:{}},xf=Tr,kf=_,Tf=$e.f;xf({target:"Object",stat:!0,forced:Object.defineProperty!==Tf,sham:!kf},{defineProperty:Tf});var _f=et.Object,Lf=Ef.exports=function(t,e,r){return _f.defineProperty(t,e,r)};_f.defineProperty.sham&&(Lf.sham=!0);var Af=r(Ef.exports),Cf=Tr,Rf=i,Df=ri,Nf=tt,Ff=qt,Mf=Br,If=pc,Gf=Qn,Bf=ki,Vf=zu,zf=ht,Uf=de("isConcatSpreadable"),Wf=zf>=51||!Rf((function(){var t=[];return t[Uf]=!1,t.concat()[0]!==t})),Hf=function(t){if(!Nf(t))return!1;var e=t[Uf];return void 0!==e?!!e:Df(t)};Cf({target:"Array",proto:!0,arity:1,forced:!Wf||!Vf("concat")},{concat:function(t){var e,r,n,o,i,a=Ff(this),u=Bf(a,0),c=0;for(e=-1,n=arguments.length;e<n;e++)if(Hf(i=-1===e?a:arguments[e]))for(o=Mf(i),If(c+o),r=0;r<o;r++,c++)r in i&&Gf(u,c,i[r]);else If(c+1),Gf(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 Yf=_o;jo("toPrimitive"),Yf();var Kf=at,Jf=Io;jo("toStringTag"),Jf(Kf("Symbol"),"Symbol"),jo("unscopables"),Io(o.JSON,"JSON",!0);var qf=et.Symbol,Xf=de,$f=$e.f,Qf=Xf("metadata"),Zf=Function.prototype;void 0===Zf[Qf]&&$f(Zf,Qf,{value:null}),jo("dispose"),jo("metadata");var ts=qf;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,ls=Et,fs=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];ls(ss[bs])&&fs(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=_l,Ds=Ll,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?Af(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?af(r=Us(Object(o),!0)).call(r,(function(e){zs(t,e,o[e])})):gf?jf(t,gf(o)):af(n=Us(Object(o))).call(n,(function(e){Af(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),Af(t,Vs(n.key),n)}}function Ks(t,e,r){return e&&Ys(t.prototype,e),r&&Ys(t,r),Af(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:dl});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 ld=Hu("Function").bind,fd=ut,sd=ld,dd=Function.prototype,pd=r((function(t){var e=t.bind;return t===dd||fd(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}}),Af(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=df,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,lp=Dt,fp=H,sp=xc,dp=de("iterator"),pp=function(t){if(!fp(t))return lp(t,dp)||lp(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,l,f=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,f),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;!(l=jp(c,n)).done;){try{u=g(l.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=dl,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=_,lv=de("species"),fv=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,lh=iv,fh=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(lh&&(t=dh.domain)&&t.exit();e=yh.get();)try{e()}catch(Hb){throw yh.head&&Kv(),Hb}t&&t.enter()};ah||lh||ch||!fh||!sh?!uh&&ph&&ph.resolve?((Xv=ph.resolve(void 0)).constructor=ph,$v=rh(Xv.then,Xv),Kv=function(){$v(gh)}):lh?Kv=function(){dh.nextTick(gh)}:(oh=rh(oh,eh),Kv=function(){oh(gh)}):(Jv=!0,qv=sh.createTextNode(""),new fh(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[lv]&&uv(e,lv,{configurable:!0,get:function(){return this}})},Xh=At,$h=k,Qh=tt,Zh=function(t,e){if(fv(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,ly=Mh,fy="Promise",sy=cy.CONSTRUCTOR,dy=cy.REJECTION_EVENT,py=ay.getterFor(fy),vy=ay.set,hy=uy&&uy.prototype,yy=uy,gy=hy,my=Hh.TypeError,by=Hh.document,wy=Hh.process,Sy=ly.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,l=t.reject,f=t.domain;try{u?(a||(2===e.rejection&&Ay(e),e.rejection=1),!0===u?r=i:(f&&f.enter(),r=u(i),f&&(f.exit(),o=!0)),r===t.promise?l(my("Promise-chain cycle")):(n=Ey(r))?Yh(n,r,c,l):c(r)):l(i)}catch(Hb){f&&!o&&f.exit(),l(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:fy,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)},ly.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,fy,!1,!0),qh(fy);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++,l=!1;u++,Vy(r,e,t).then((function(t){l||(l=!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,lg=at("Promise"),fg=!ug;ig({target:"Promise",stat:!0,forced:true},{resolve:function(t){return cg(fg&&this===lg?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,l=!1;Sg(t,(function(t){var f=u++,s=!1;c++,yg(n,e,t).then((function(t){s||l||(l=!0,o(t))}),(function(t){s||l||(s=!0,a[f]=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,lm=function(t){var e=t.slice;return t===cm||am(cm,t)&&e===cm.slice?um:e},fm=r(lm);function sm(){sm=function(){return t};var t={},e=Object.prototype,r=e.hasOwnProperty,n=Af||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 Af(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 l(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 f(t,e,r){try{return{type:"normal",arg:t.call(e,r)}}catch(k){return{type:"throw",arg:k}}}t.wrap=l;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;af(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=f(t[n],t,i);if("throw"!==c.type){var l=c.arg,s=l.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){l.value=t,a(l)}),(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=f(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=f(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"}],af(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(l(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,af(e=this.tryEntries).call(e,O),!t)for(var n in this)"t"===n.charAt(0)&&r.call(this,n)&&!isNaN(+fm(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,u,c;return sm().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return u=this._findPlugin("mp4encryptplayer"),c=this._findPlugin("encrypthlsplugin"),t.next=4,null===(e=this.preloader)||void 0===e||null===(r=e.prepare)||void 0===r?void 0:r.call(e);case 4:if(t.t0=t.sent,!t.t0){t.next=7;break}t.t0=u||c;case 7:if(t.t0){t.next=10;break}return t.abrupt("return");case 10: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 15: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=lo,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++]),l=i?$m(Wm(c),i(c)):Wm(c),f=l.length,s=0;f>s;)u=l[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(of),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))},lb=TypeError,fb=de("match"),sb=Tr,db=function(t){if(cb(t))throw lb("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[fb]=!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(lm),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,n=(null===(e=t.streamType)||void 0===e||null===(r=e.toUpperCase)||void 0===r?void 0:r.call(e))||"MP4";return"HLS"===n?{order:1,data:{vid:t.vid,vtype:n,codecType:t.codec||"h264",force:"always",payload:{url:t.url,bitrate:t.bitrate,sn:1,level:1,definition:t.definition}}}:{order:1,data:{vid:t.vid,vtype:n,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}));
|
|
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,l=c.apply,f=c.call,s="object"==typeof Reflect&&Reflect.apply||(u?f.bind(l):function(){return f.apply(l,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,_=E.IS_HTMLDDA?function(t){return"function"==typeof t||t===x}:function(t){return"function"==typeof t},k={},L=!i((function(){return 7!=Object.defineProperty({},1,{get:function(){return 7}})[1]})),T=a,A=Function.prototype.call,C=T?A.bind(A):function(){return A.apply(A,arguments)},R={},D={}.propertyIsEnumerable,F=Object.getOwnPropertyDescriptor,N=F&&!D.call({1:2},1);R.f=N?function(t){var e=F(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,Q=J,X=function(t){return q(Q(t))},$=_,Z=E.all,tt=E.IS_HTMLDDA?function(t){return"object"==typeof t?null!==t:$(t)||t===Z}:function(t){return"object"==typeof t?null!==t:$(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)||"",lt=o,ft=ct,st=lt.process,dt=lt.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&&ft&&(!(M=ft.match(/Edge\/(\d+)/))||M[1]>=74)&&(M=ft.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=_,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,_t=function(t){try{return xt(t)}catch(e){return"Object"}},kt=_,Lt=_t,Tt=TypeError,At=function(t){if(kt(t))return t;throw Tt(Lt(t)+" is not a function")},Ct=At,Rt=H,Dt=function(t,e){var r=t[e];return Rt(r)?void 0:Ct(r)},Ft=C,Nt=_,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))},Qt=qt,Xt=y({}.hasOwnProperty),$t=Object.hasOwn||function(t,e){return Xt(Qt(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=$t,ae=ne,ue=bt,ce=wt,le=o.Symbol,fe=oe("wks"),se=ce?le.for||le:le&&le.withoutSetter||ae,de=function(t){return ie(fe,t)||(fe[t]=ue&&ie(le,t)?le[t]:se("Symbol."+t)),fe[t]},pe=C,ve=tt,he=Et,ye=Dt,ge=function(t,e){var r,n;if("string"===e&&Nt(r=t.toString)&&!Mt(n=Ft(r,t)))return n;if(Nt(r=t.valueOf)&&!Mt(n=Ft(r,t)))return n;if("string"!==e&&Nt(r=t.toString)&&!Mt(n=Ft(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):{}},_e=xe,ke=!L&&!i((function(){return 7!=Object.defineProperty(_e("div"),"a",{get:function(){return 7}}).a})),Le=L,Te=C,Ae=R,Ce=G,Re=X,De=Pe,Fe=$t,Ne=ke,Me=Object.getOwnPropertyDescriptor;k.f=Le?Me:function(t,e){if(t=Re(t),e=De(e),Ne)try{return Me(t,e)}catch(r){}if(Fe(t,e))return Ce(!Te(Ae.f,t,e),t[e])};var Ie=i,Ge=_,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),Qe=function(t,e){return Ke(t),void 0===e?t:Je?qe(t,e):function(){return t.apply(e,arguments)}},Xe={},$e=L&&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=L,or=ke,ir=$e,ar=rr,ur=Pe,cr=TypeError,lr=Object.defineProperty,fr=Object.getOwnPropertyDescriptor,sr="enumerable",dr="configurable",pr="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&&pr in r&&!r[pr]){var n=fr(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 lr(t,e,r)}:lr:function(t,e,r){if(ar(t),e=ur(e),ar(r),or)try{return lr(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=Xe,hr=G,yr=L?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=_,Sr=k.f,Pr=Ye,Or=et,jr=Qe,Er=yr,xr=$t,_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},kr=function(t,e){var r,n,o,i,a,u,c,l,f,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?(f=Sr(h,i))&&f.value:h[i]),a=n&&c?c:e[i],n&&typeof u==typeof a||(l=t.bind&&n?jr(a,gr):t.wrap&&n?_r(a):v&&wr(a)?br(a):a,(t.sham||a&&a.sham||u&&u.sham)&&Er(l,"sham",!0),Er(y,i,l),v&&(xr(Or,o=s+"Prototype")||Er(Or,o,{}),Er(Or[o],i,a),t.real&&g&&(r||!g[i])&&Er(g,i,a)))},Lr=Math.ceil,Tr=Math.floor,Ar=Math.trunc||function(t){var e=+t;return(e>0?Tr:Lr)(e)},Cr=function(t){var e=+t;return e!=e||0===e?0:Ar(e)},Rr=Cr,Dr=Math.max,Fr=Math.min,Nr=function(t,e){var r=Rr(t);return r<0?Dr(r+e,0):Fr(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=X,zr=Nr,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=$t,Jr=X,qr=Hr.indexOf,Qr=Yr,Xr=y([].push),$r=function(t,e){var r,n=Jr(t),o=0,i=[];for(r in n)!Kr(Qr,r)&&Kr(n,r)&&Xr(i,r);for(;e.length>o;)Kr(n,r=e[o++])&&(~qr(i,r)||Xr(i,r));return i},Zr=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"],tn=$r,en=Zr,rn=Object.keys||function(t){return tn(t,en)},nn=qt,on=rn;kr({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),ln=cn,fn=_,sn=w,dn=de("toStringTag"),pn=Object,vn="Arguments"==sn(function(){return arguments}()),hn=ln?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))&&fn(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=L,Sn=$e,Pn=Xe,On=rr,jn=X,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,_n=at("document","documentElement"),kn=ne,Ln=Yt("keys"),Tn=function(t){return Ln[t]||(Ln[t]=kn(t))},An=rr,Cn=bn,Rn=Zr,Dn=Yr,Fn=_n,Nn=xe,Mn="prototype",In="script",Gn=Tn("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=Nn("iframe"),r="java"+In+":",e.style.display="none",Fn.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=$r,Kn=Zr.concat("length","prototype");Hn.f=Object.getOwnPropertyNames||function(t){return Yn(t,Kn)};var Jn={},qn=Pe,Qn=Xe,Xn=G,$n=function(t,e,r){var n=qn(e);n in t?Qn.f(t,n,Xn(0,r)):t[n]=r},Zn=Nr,to=Br,eo=$n,ro=Array,no=Math.max,oo=w,io=X,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 lo={};lo.f=Object.getOwnPropertySymbols;var fo=yr,so=function(t,e,r,n){return n&&n.enumerable?t[e]=r:fo(t,e,r),t},po=Xe,vo=function(t,e,r){return po.f(t,e,r)},ho={},yo=de;ho.f=yo;var go,mo,bo,wo=et,So=$t,Po=ho,Oo=Xe.f,jo=function(t){var e=wo.Symbol||(wo.Symbol={});So(e,t)||Oo(e,t,{value:Po.f(t)})},Eo=C,xo=at,_o=de,ko=so,Lo=function(){var t=xo("Symbol"),e=t&&t.prototype,r=e&&e.valueOf,n=_o("toPrimitive");e&&!e[n]&&ko(e,n,(function(t){return Eo(r,this)}),{arity:1})},To=hn,Ao=cn?{}.toString:function(){return"[object "+To(this)+"]"},Co=cn,Ro=Xe.f,Do=yr,Fo=$t,No=Ao,Mo=de("toStringTag"),Io=function(t,e,r,n){if(t){var o=r?t:t.prototype;Fo(o,Mo)||Ro(o,Mo,{configurable:!0,value:e}),n&&!Co&&Do(o,"toString",No)}},Go=_,Bo=o.WeakMap,Vo=Go(Bo)&&/native code/.test(String(Bo)),zo=o,Uo=tt,Wo=yr,Ho=$t,Yo=Wt,Ko=Tn,Jo=Yr,qo="Object already initialized",Qo=zo.TypeError,Xo=zo.WeakMap;if(Vo||Yo.state){var $o=Yo.state||(Yo.state=new Xo);$o.get=$o.get,$o.has=$o.has,$o.set=$o.set,go=function(t,e){if($o.has(t))throw Qo(qo);return e.facade=t,$o.set(t,e),e},mo=function(t){return $o.get(t)||{}},bo=function(t){return $o.has(t)}}else{var Zo=Ko("state");Jo[Zo]=!0,go=function(t,e){if(Ho(t,Zo))throw Qo(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 Qo("Incompatible receiver, "+t+" required");return r}}},ei=w,ri=Array.isArray||function(t){return"Array"==ei(t)},ni=_,oi=Wt,ii=y(Function.toString);ni(oi.inspectSource)||(oi.inspectSource=function(t){return ii(t)});var ai=oi.inspectSource,ui=y,ci=i,li=_,fi=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(!li(t))return!1;try{return vi(di,pi,t),!0}catch(e){return!1}},bi=function(t){if(!li(t))return!1;switch(fi(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},_i=function(t,e){return new(xi(t))(0===e?0:e)},ki=Qe,Li=W,Ti=qt,Ai=Br,Ci=_i,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,l,f,s){for(var d,p,v=Ti(c),h=Li(v),y=ki(l,f),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}},Fi={forEach:Di(0),map:Di(1),filter:Di(2),some:Di(3),every:Di(4),find:Di(5),findIndex:Di(6),filterReject:Di(7)},Ni=kr,Mi=o,Ii=C,Gi=y,Bi=L,Vi=bt,zi=i,Ui=$t,Wi=ut,Hi=rr,Yi=X,Ki=Pe,Ji=mn,qi=G,Qi=Wn,Xi=rn,$i=Hn,Zi=Jn,ta=lo,ea=k,ra=Xe,na=bn,oa=R,ia=so,aa=vo,ua=Yt,ca=Yr,la=ne,fa=de,sa=ho,da=jo,pa=Lo,va=Io,ha=ti,ya=Fi.forEach,ga=Tn("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,_a=ea.f,ka=ra.f,La=Zi.f,Ta=oa.f,Aa=Gi([].push),Ca=ua("symbols"),Ra=ua("op-symbols"),Da=ua("wks"),Fa=!xa||!xa[ba]||!xa[ba].findChild,Na=Bi&&zi((function(){return 7!=Qi(ka({},"a",{get:function(){return ka(this,"a",{value:7}).a}})).a}))?function(t,e,r){var n=_a(Pa,e);n&&delete Pa[e],ka(t,e,r),n&&t!==Pa&&ka(Pa,e,n)}:ka,Ma=function(t,e){var r=Ca[t]=Qi(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=Qi(r,{enumerable:qi(0,!1)})):(Ui(t,ga)||ka(t,ga,qi(1,{})),t[ga][n]=!0),Na(t,n,r)):ka(t,n,r)},Ga=function(t,e){Hi(t);var r=Yi(e),n=Xi(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(Ta,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=_a(r,n);return!o||!Ui(Ca,n)||Ui(r,ga)&&r[ga][n]||(o.enumerable=!0),o}},za=function(t){var e=La(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=La(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=la(t),r=function(t){this===Pa&&Ii(r,Ra,t),Ui(this,ga)&&Ui(this[ga],e)&&(this[ga][e]=!1),Na(this,e,qi(1,t))};return Bi&&Fa&&Na(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(la(t),t)})),oa.f=Ba,ra.f=Ia,na.f=Ga,ea.f=Va,$i.f=Zi.f=za,ta.f=Ua,sa.f=function(t){return Ma(fa(t),t)},Bi&&aa(ja,"description",{configurable:!0,get:function(){return Sa(this).description}})),Ni({global:!0,constructor:!0,wrap:!0,forced:!Vi,sham:!Vi},{Symbol:Oa}),ya(Xi(Da),(function(t){da(t)})),Ni({target:ma,stat:!0,forced:!Vi},{useSetter:function(){Fa=!0},useSimple:function(){Fa=!1}}),Ni({target:"Object",stat:!0,forced:!Vi,sham:!Bi},{create:function(t,e){return void 0===e?Qi(t):Ga(Qi(t),e)},defineProperty:Ia,defineProperties:Ga,getOwnPropertyDescriptor:Va}),Ni({target:"Object",stat:!0,forced:!Vi},{getOwnPropertyNames:za}),pa(),va(Oa,ma),ca[ga]=!0;var Wa=bt&&!!Symbol.for&&!!Symbol.keyFor,Ha=kr,Ya=at,Ka=$t,Ja=mn,qa=Yt,Qa=Wa,Xa=qa("string-to-symbol-registry"),$a=qa("symbol-to-string-registry");Ha({target:"Symbol",stat:!0,forced:!Qa},{for:function(t){var e=Ja(t);if(Ka(Xa,e))return Xa[e];var r=Ya("Symbol")(e);return Xa[e]=r,$a[r]=e,r}});var Za=kr,tu=$t,eu=Et,ru=_t,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=_,cu=w,lu=mn,fu=y([].push),su=kr,du=at,pu=s,vu=C,hu=y,yu=i,gu=_,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?fu(r,o):"number"!=typeof o&&"Number"!=cu(o)&&"String"!=cu(o)||fu(r,lu(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),_u=hu("".replace),ku=hu(1..toString),Lu=/[\uD800-\uDFFF]/g,Tu=/^[\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)},Fu=function(t,e,r){var n=Eu(r,e-1),o=Eu(r,e+1);return ju(Tu,t)&&!ju(Au,o)||ju(Au,t)&&!ju(Tu,n)?"\\u"+ku(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?_u(o,Lu,Fu):o}});var Nu=lo,Mu=qt;kr({target:"Object",stat:!0,forced:!bt||i((function(){Nu.f(1)}))},{getOwnPropertySymbols:function(t){var e=Nu.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=Fi.filter;kr({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,Qu=function(t){var e=t.filter;return t===qu||Ku(qu,t)&&e===qu.filter?Ju:e},Xu=r(Qu),$u={exports:{}},Zu=kr,tc=i,ec=X,rc=k.f,nc=L;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=$u.exports=function(t,e){return oc.getOwnPropertyDescriptor(t,e)};oc.getOwnPropertyDescriptor.sham&&(ic.sham=!0);var ac=r($u.exports),uc=L,cc=ri,lc=TypeError,fc=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)&&!fc(t,"length").writable)throw lc("Cannot set read only .length");return t.length=e}:function(t,e){return t.length=e},gc=pc;kr({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={},_c=L,kc=$t,Lc=Function.prototype,Tc=_c&&Object.getOwnPropertyDescriptor,Ac=kc(Lc,"name"),Cc={EXISTS:Ac,PROPER:Ac&&"something"===function(){}.name,CONFIGURABLE:Ac&&(!_c||_c&&Tc(Lc,"name").configurable)},Rc=!i((function(){function t(){}return t.prototype.constructor=null,Object.getPrototypeOf(new t)!==t.prototype})),Dc=$t,Fc=_,Nc=qt,Mc=Rc,Ic=Tn("IE_PROTO"),Gc=Object,Bc=Gc.prototype,Vc=Mc?Gc.getPrototypeOf:function(t){var e=Nc(t);if(Dc(e,Ic))return e[Ic];var r=e.constructor;return Fc(r)&&e instanceof r?r.prototype:e instanceof Gc?Bc:null},zc=i,Uc=_,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 Qc=!Wc(mc)||zc((function(){var t={};return mc[Jc].call(t)!==t}));Uc((mc=Qc?{}:Hc(mc))[Jc])||Kc(mc,Jc,(function(){return this}));var Xc={IteratorPrototype:mc,BUGGY_SAFARI_ITERATORS:qc},$c=Xc.IteratorPrototype,Zc=Wn,tl=G,el=Io,rl=xc,nl=function(){return this},ol=y,il=At,al=_,ul=String,cl=TypeError,ll=function(t,e,r){try{return ol(il(Object.getOwnPropertyDescriptor(t,e)[r]))}catch(n){}},fl=rr,sl=function(t){if("object"==typeof t||al(t))return t;throw cl("Can't set "+ul(t)+" as a prototype")},dl=Object.setPrototypeOf||("__proto__"in{}?function(){var t,e=!1,r={};try{(t=ll(Object.prototype,"__proto__","set"))(r,[]),e=r instanceof Array}catch(n){}return function(r,n){return fl(r),sl(n),e?t(r,n):r.__proto__=n,r}}():void 0),pl=kr,vl=C,hl=Cc,yl=function(t,e,r,n){var o=e+" Iterator";return t.prototype=Zc($c,{next:tl(+!n,r)}),el(t,o,!1,!0),rl[o]=nl,t},gl=Vc,ml=Io,bl=so,wl=xc,Sl=Xc,Pl=hl.PROPER,Ol=Sl.BUGGY_SAFARI_ITERATORS,jl=de("iterator"),El="keys",xl="values",_l="entries",kl=function(){return this},Ll=function(t,e,r,n,o,i,a){yl(r,e,n);var u,c,l,f=function(t){if(t===o&&h)return h;if(!Ol&&t in p)return p[t];switch(t){case El:case xl:case _l:return function(){return new r(this,t)}}return function(){return new r(this)}},s=e+" Iterator",d=!1,p=t.prototype,v=p[jl]||p["@@iterator"]||o&&p[o],h=!Ol&&v||f(o),y="Array"==e&&p.entries||v;if(y&&(u=gl(y.call(new t)))!==Object.prototype&&u.next&&(ml(u,s,!0,!0),wl[s]=kl),Pl&&o==xl&&v&&v.name!==xl&&(d=!0,h=function(){return vl(v,this)}),o)if(c={values:f(xl),keys:i?h:f(El),entries:f(_l)},a)for(l in c)(Ol||d||!(l in p))&&bl(p,l,c[l]);else pl({target:e,proto:!0,forced:Ol||d},c);return a&&p[jl]!==h&&bl(p,jl,h,{name:o}),wl[e]=h,c},Tl=function(t,e){return{value:t,done:e}},Al=X,Cl=xc,Rl=ti;Xe.f;var Dl=Ll,Fl=Tl,Nl="Array Iterator",Ml=Rl.set,Il=Rl.getterFor(Nl);Dl(Array,"Array",(function(t,e){Ml(this,{type:Nl,target:Al(t),index:0,kind:e})}),(function(){var t=Il(this),e=t.target,r=t.kind,n=t.index++;return!e||n>=e.length?(t.target=void 0,Fl(void 0,!0)):Fl("keys"==r?n:"values"==r?e[n]:[n,e[n]],!1)}),"values"),Cl.Arguments=Cl.Array;var Gl={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},Bl=o,Vl=hn,zl=yr,Ul=xc,Wl=de("toStringTag");for(var Hl in Gl){var Yl=Bl[Hl],Kl=Yl&&Yl.prototype;Kl&&Vl(Kl)!==Wl&&zl(Kl,Wl,Hl),Ul[Hl]=Ul.Array}var Jl=i,ql=function(t,e){var r=[][t];return!!r&&Jl((function(){r.call(null,e||function(){return 1},1)}))},Ql=Fi.forEach,Xl=ql("forEach")?[].forEach:function(t){return Ql(this,t,arguments.length>1?arguments[1]:void 0)};kr({target:"Array",proto:!0,forced:[].forEach!=Xl},{forEach:Xl});var $l=Hu("Array").forEach,Zl=hn,tf=$t,ef=ut,rf=$l,nf=Array.prototype,of={DOMTokenList:!0,NodeList:!0},af=function(t){var e=t.forEach;return t===nf||ef(nf,t)&&e===nf.forEach||tf(of,Zl(t))?rf:e},uf=r(af),cf=at,lf=Hn,ff=lo,sf=rr,df=y([].concat),pf=cf("Reflect","ownKeys")||function(t){var e=lf.f(sf(t)),r=ff.f;return r?df(e,r(t)):e},vf=pf,hf=X,yf=k,gf=$n;kr({target:"Object",stat:!0,sham:!L},{getOwnPropertyDescriptors:function(t){for(var e,r,n=hf(t),o=yf.f,i=vf(n),a={},u=0;i.length>u;)void 0!==(r=o(n,e=i[u++]))&&gf(a,e,r);return a}});var mf=r(et.Object.getOwnPropertyDescriptors),bf={exports:{}},wf=kr,Sf=L,Pf=bn.f;wf({target:"Object",stat:!0,forced:Object.defineProperties!==Pf,sham:!Sf},{defineProperties:Pf});var Of=et.Object,jf=bf.exports=function(t,e){return Of.defineProperties(t,e)};Of.defineProperties.sham&&(jf.sham=!0);var Ef=r(bf.exports),xf={exports:{}},_f=kr,kf=L,Lf=Xe.f;_f({target:"Object",stat:!0,forced:Object.defineProperty!==Lf,sham:!kf},{defineProperty:Lf});var Tf=et.Object,Af=xf.exports=function(t,e,r){return Tf.defineProperty(t,e,r)};Tf.defineProperty.sham&&(Af.sham=!0);var Cf=r(xf.exports),Rf=kr,Df=i,Ff=ri,Nf=tt,Mf=qt,If=Br,Gf=pc,Bf=$n,Vf=_i,zf=zu,Uf=ht,Wf=de("isConcatSpreadable"),Hf=Uf>=51||!Df((function(){var t=[];return t[Wf]=!1,t.concat()[0]!==t})),Yf=function(t){if(!Nf(t))return!1;var e=t[Wf];return void 0!==e?!!e:Ff(t)};Rf({target:"Array",proto:!0,arity:1,forced:!Hf||!zf("concat")},{concat:function(t){var e,r,n,o,i,a=Mf(this),u=Vf(a,0),c=0;for(e=-1,n=arguments.length;e<n;e++)if(Yf(i=-1===e?a:arguments[e]))for(o=If(i),Gf(c+o),r=0;r<o;r++,c++)r in i&&Bf(u,c,i[r]);else Gf(c+1),Bf(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 Kf=Lo;jo("toPrimitive"),Kf();var Jf=at,qf=Io;jo("toStringTag"),qf(Jf("Symbol"),"Symbol"),jo("unscopables"),Io(o.JSON,"JSON",!0);var Qf=et.Symbol,Xf=de,$f=Xe.f,Zf=Xf("metadata"),ts=Function.prototype;void 0===ts[Zf]&&$f(ts,Zf,{value:null}),jo("dispose"),jo("metadata");var es=Qf;jo("asyncDispose");var rs=y,ns=at("Symbol"),os=ns.keyFor,is=rs(ns.prototype.valueOf),as=ns.isRegisteredSymbol||function(t){try{return void 0!==os(is(t))}catch(e){return!1}};kr({target:"Symbol",stat:!0},{isRegisteredSymbol:as});for(var us=Yt,cs=at,ls=y,fs=Et,ss=de,ds=cs("Symbol"),ps=ds.isWellKnownSymbol,vs=cs("Object","getOwnPropertyNames"),hs=ls(ds.prototype.valueOf),ys=us("wks"),gs=0,ms=vs(ds),bs=ms.length;gs<bs;gs++)try{var ws=ms[gs];fs(ds[ws])&&ss(ws)}catch(ow){}var Ss=function(t){if(ps&&ps(t))return!0;try{for(var e=hs(t),r=0,n=vs(ys),o=n.length;r<o;r++)if(ys[n[r]]==e)return!0}catch(ow){}return!1};kr({target:"Symbol",stat:!0,forced:!0},{isWellKnownSymbol:Ss}),jo("matcher"),jo("observable"),kr({target:"Symbol",stat:!0,name:"isRegisteredSymbol"},{isRegistered:as}),kr({target:"Symbol",stat:!0,name:"isWellKnownSymbol",forced:!0},{isWellKnown:Ss}),jo("metadataKey"),jo("patternMatch"),jo("replaceAll");var Ps=r(es),Os=y,js=Cr,Es=mn,xs=J,_s=Os("".charAt),ks=Os("".charCodeAt),Ls=Os("".slice),Ts=function(t){return function(e,r){var n,o,i=Es(xs(e)),a=js(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?_s(i,a):n:t?Ls(i,a,a+2):o-56320+(n-55296<<10)+65536}},As={codeAt:Ts(!1),charAt:Ts(!0)}.charAt,Cs=mn,Rs=ti,Ds=Ll,Fs=Tl,Ns="String Iterator",Ms=Rs.set,Is=Rs.getterFor(Ns);Ds(String,"String",(function(t){Ms(this,{type:Ns,string:Cs(t),index:0})}),(function(){var t,e=Is(this),r=e.string,n=e.index;return n>=r.length?Fs(void 0,!0):(t=As(r,n),e.index+=t.length,Fs(t,!1))}));var Gs=r(ho.f("iterator"));function Bs(t){return(Bs="function"==typeof Ps&&"symbol"==typeof Gs?function(t){return typeof t}:function(t){return t&&"function"==typeof Ps&&t.constructor===Ps&&t!==Ps.prototype?"symbol":typeof t})(t)}var Vs=r(ho.f("toPrimitive"));function zs(t){var e=function(t,e){if("object"!==Bs(t)||null===t)return t;var r=t[Vs];if(void 0!==r){var n=r.call(t,e||"default");if("object"!==Bs(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===e?String:Number)(t)}(t,"string");return"symbol"===Bs(e)?e:String(e)}function Us(t,e,r){return(e=zs(e))in t?Cf(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}function Ws(t,e){var r=an(t);if(Iu){var n=Iu(t);e&&(n=Xu(n).call(n,(function(e){return ac(t,e).enumerable}))),Ec(r).apply(r,n)}return r}function Hs(t){for(var e=1;e<arguments.length;e++){var r,n,o=null!=arguments[e]?arguments[e]:{};e%2?uf(r=Ws(Object(o),!0)).call(r,(function(e){Us(t,e,o[e])})):mf?Ef(t,mf(o)):uf(n=Ws(Object(o))).call(n,(function(e){Cf(t,e,ac(o,e))}))}return t}var Ys=kr,Ks=Hr.indexOf,Js=ql,qs=O([].indexOf),Qs=!!qs&&1/qs([1],1,-0)<0;Ys({target:"Array",proto:!0,forced:Qs||!Js("indexOf")},{indexOf:function(t){var e=arguments.length>1?arguments[1]:void 0;return Qs?qs(this,t,e)||0:Ks(this,t,e)}});var Xs=Hu("Array").indexOf,$s=ut,Zs=Xs,td=Array.prototype,ed=r((function(t){var e=t.indexOf;return t===td||$s(td,t)&&e===td.indexOf?Zs:e}));function rd(t,e){if(null==t)return{};var r,n,o=function(t,e){if(null==t)return{};var r,n,o={},i=an(t);for(n=0;n<i.length;n++)r=i[n],ed(e).call(e,r)>=0||(o[r]=t[r]);return o}(t,e);if(Iu){var i=Iu(t);for(n=0;n<i.length;n++)r=i[n],ed(e).call(e,r)>=0||Object.prototype.propertyIsEnumerable.call(t,r)&&(o[r]=t[r])}return o}function nd(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function od(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),Cf(t,zs(n.key),n)}}function id(t,e,r){return e&&od(t.prototype,e),r&&od(t,r),Cf(t,"prototype",{writable:!1}),t}kr({target:"Object",stat:!0,sham:!L},{create:Wn});var ad=et.Object,ud=r((function(t,e){return ad.create(t,e)}));kr({target:"Object",stat:!0},{setPrototypeOf:dl});var cd=r(et.Object.setPrototypeOf),ld=y,fd=At,sd=tt,dd=$t,pd=iu,vd=a,hd=Function,yd=ld([].concat),gd=ld([].join),md={},bd=vd?hd.bind:function(t){var e=fd(this),r=e.prototype,n=pd(arguments,1),o=function(){var r=yd(n,pd(arguments));return this instanceof o?function(t,e,r){if(!dd(md,e)){for(var n=[],o=0;o<e;o++)n[o]="a["+o+"]";md[e]=hd("C,a","return new C("+gd(n,",")+")")}return md[e](t,r)}(e,r.length,r):e.apply(t,r)};return sd(r)&&(o.prototype=r),o},wd=bd;kr({target:"Function",proto:!0,forced:Function.bind!==wd},{bind:wd});var Sd=Hu("Function").bind,Pd=ut,Od=Sd,jd=Function.prototype,Ed=r((function(t){var e=t.bind;return t===jd||Pd(jd,t)&&e===jd.bind?Od:e}));function xd(t,e){var r;return(xd=cd?Ed(r=cd).call(r):function(t,e){return t.__proto__=e,t})(t,e)}function _d(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=ud(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),Cf(t,"prototype",{writable:!1}),e&&xd(t,e)}var kd=wi,Ld=_t,Td=TypeError,Ad=function(t){if(kd(t))return t;throw Td(Ld(t)+" is not a constructor")},Cd=kr,Rd=s,Dd=bd,Fd=Ad,Nd=rr,Md=tt,Id=Wn,Gd=i,Bd=at("Reflect","construct"),Vd=Object.prototype,zd=[].push,Ud=Gd((function(){function t(){}return!(Bd((function(){}),[],t)instanceof t)})),Wd=!Gd((function(){Bd((function(){}))})),Hd=Ud||Wd;Cd({target:"Reflect",stat:!0,forced:Hd,sham:Hd},{construct:function(t,e){Fd(t),Nd(e);var r=arguments.length<3?t:Fd(arguments[2]);if(Wd&&!Ud)return Bd(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 Rd(zd,n,e),new(Rd(Dd,t,n))}var o=r.prototype,i=Id(Md(o)?o:Vd),a=Rd(t,i,e);return Md(a)?a:i}});var Yd=r(et.Reflect.construct),Kd=qt,Jd=Vc,qd=Rc;kr({target:"Object",stat:!0,forced:i((function(){Jd(1)})),sham:!qd},{getPrototypeOf:function(t){return Jd(Kd(t))}});var Qd=r(et.Object.getPrototypeOf);function Xd(t){var e;return(Xd=cd?Ed(e=Qd).call(e):function(t){return t.__proto__||Qd(t)})(t)}function $d(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function Zd(t){var e=function(){if("undefined"==typeof Reflect||!Yd)return!1;if(Yd.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Yd(Boolean,[],(function(){}))),!0}catch(t){return!1}}();return function(){var r,n=Xd(t);if(e){var o=Xd(this).constructor;r=Yd(n,arguments,o)}else r=n.apply(this,arguments);return function(t,e){if(e&&("object"===Bs(e)||"function"==typeof e))return e;if(void 0!==e)throw new TypeError("Derived constructors may only return object or undefined");return $d(t)}(this,r)}}var tp=Fi.map;kr({target:"Array",proto:!0,forced:!zu("map")},{map:function(t){return tp(this,t,arguments.length>1?arguments[1]:void 0)}});var ep=Hu("Array").map,rp=ut,np=ep,op=Array.prototype,ip=r((function(t){var e=t.map;return t===op||rp(op,t)&&e===op.map?np:e})),ap=$t,up=pf,cp=k,lp=Xe,fp=tt,sp=yr,dp=Error,pp=y("".replace),vp=String(dp("zxcasd").stack),hp=/\n\s*at [^:]*:[^\n]*/,yp=hp.test(vp),gp=G,mp=!i((function(){var t=Error("a");return!("stack"in t)||(Object.defineProperty(t,"stack",gp(1,7)),7!==t.stack)})),bp=yr,wp=function(t,e){if(yp&&"string"==typeof t&&!dp.prepareStackTrace)for(;e--;)t=pp(t,hp,"");return t},Sp=mp,Pp=Error.captureStackTrace,Op=xc,jp=de("iterator"),Ep=Array.prototype,xp=hn,_p=Dt,kp=H,Lp=xc,Tp=de("iterator"),Ap=function(t){if(!kp(t))return _p(t,Tp)||_p(t,"@@iterator")||Lp[xp(t)]},Cp=C,Rp=At,Dp=rr,Fp=_t,Np=Ap,Mp=TypeError,Ip=C,Gp=rr,Bp=Dt,Vp=Qe,zp=C,Up=rr,Wp=_t,Hp=function(t){return void 0!==t&&(Op.Array===t||Ep[jp]===t)},Yp=Br,Kp=ut,Jp=function(t,e){var r=arguments.length<2?Np(t):e;if(Rp(r))return Dp(Cp(r,t));throw Mp(Fp(t)+" is not iterable")},qp=Ap,Qp=function(t,e,r){var n,o;Gp(t);try{if(!(n=Bp(t,"return"))){if("throw"===e)throw r;return r}n=Ip(n,t)}catch(ow){o=!0,n=ow}if("throw"===e)throw r;if(o)throw n;return Gp(n),r},Xp=TypeError,$p=function(t,e){this.stopped=t,this.result=e},Zp=$p.prototype,tv=function(t,e,r){var n,o,i,a,u,c,l,f=r&&r.that,s=!(!r||!r.AS_ENTRIES),d=!(!r||!r.IS_RECORD),p=!(!r||!r.IS_ITERATOR),v=!(!r||!r.INTERRUPTED),h=Vp(e,f),y=function(t){return n&&Qp(n,"normal",t),new $p(!0,t)},g=function(t){return s?(Up(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=qp(t)))throw Xp(Wp(t)+" is not iterable");if(Hp(o)){for(i=0,a=Yp(t);a>i;i++)if((u=g(t[i]))&&Kp(Zp,u))return u;return new $p(!1)}n=Jp(t,o)}for(c=d?t.next:n.next;!(l=zp(c,n)).done;){try{u=g(l.value)}catch(ow){Qp(n,"throw",ow)}if("object"==typeof u&&u&&Kp(Zp,u))return u}return new $p(!1)},ev=mn,rv=kr,nv=ut,ov=Vc,iv=dl,av=function(t,e,r){for(var n=up(e),o=lp.f,i=cp.f,a=0;a<n.length;a++){var u=n[a];ap(t,u)||r&&ap(r,u)||o(t,u,i(e,u))}},uv=Wn,cv=yr,lv=G,fv=function(t,e){fp(e)&&"cause"in e&&sp(t,"cause",e.cause)},sv=function(t,e,r,n){Sp&&(Pp?Pp(t,e):bp(t,"stack",wp(r,n)))},dv=tv,pv=function(t,e){return void 0===t?arguments.length<2?"":e:ev(t)},vv=de("toStringTag"),hv=Error,yv=[].push,gv=function(t,e){var r,n=nv(mv,this);iv?r=iv(hv(),n?ov(this):mv):(r=n?this:uv(mv),cv(r,vv,"Error")),void 0!==e&&cv(r,"message",pv(e)),sv(r,gv,r.stack,1),arguments.length>2&&fv(r,arguments[2]);var o=[];return dv(t,yv,{that:o}),cv(r,"errors",o),r};iv?iv(gv,hv):av(gv,hv,{name:!0});var mv=gv.prototype=uv(hv.prototype,{constructor:lv(1,gv),message:lv(1,""),name:lv(1,"AggregateError")});rv({global:!0,constructor:!0,arity:2},{AggregateError:gv});var bv,wv,Sv,Pv,Ov="undefined"!=typeof process&&"process"==w(process),jv=at,Ev=vo,xv=L,_v=de("species"),kv=ut,Lv=TypeError,Tv=rr,Av=Ad,Cv=H,Rv=de("species"),Dv=function(t,e){var r,n=Tv(t).constructor;return void 0===n||Cv(r=Tv(n)[Rv])?e:Av(r)},Fv=TypeError,Nv=/(?:ipad|iphone|ipod).*applewebkit/i.test(ct),Mv=o,Iv=s,Gv=Qe,Bv=_,Vv=$t,zv=i,Uv=_n,Wv=iu,Hv=xe,Yv=function(t,e){if(t<e)throw Fv("Not enough arguments");return t},Kv=Nv,Jv=Ov,qv=Mv.setImmediate,Qv=Mv.clearImmediate,Xv=Mv.process,$v=Mv.Dispatch,Zv=Mv.Function,th=Mv.MessageChannel,eh=Mv.String,rh=0,nh={},oh="onreadystatechange";zv((function(){bv=Mv.location}));var ih=function(t){if(Vv(nh,t)){var e=nh[t];delete nh[t],e()}},ah=function(t){return function(){ih(t)}},uh=function(t){ih(t.data)},ch=function(t){Mv.postMessage(eh(t),bv.protocol+"//"+bv.host)};qv&&Qv||(qv=function(t){Yv(arguments.length,1);var e=Bv(t)?t:Zv(t),r=Wv(arguments,1);return nh[++rh]=function(){Iv(e,void 0,r)},wv(rh),rh},Qv=function(t){delete nh[t]},Jv?wv=function(t){Xv.nextTick(ah(t))}:$v&&$v.now?wv=function(t){$v.now(ah(t))}:th&&!Kv?(Pv=(Sv=new th).port2,Sv.port1.onmessage=uh,wv=Gv(Pv.postMessage,Pv)):Mv.addEventListener&&Bv(Mv.postMessage)&&!Mv.importScripts&&bv&&"file:"!==bv.protocol&&!zv(ch)?(wv=ch,Mv.addEventListener("message",uh,!1)):wv=oh in Hv("script")?function(t){Uv.appendChild(Hv("script"))[oh]=function(){Uv.removeChild(this),ih(t)}}:function(t){setTimeout(ah(t),0)});var lh={set:qv,clear:Qv},fh=function(){this.head=null,this.tail=null};fh.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 sh,dh,ph,vh,hh,yh=fh,gh=/ipad|iphone|ipod/i.test(ct)&&"undefined"!=typeof Pebble,mh=/web0s(?!.*chrome)/i.test(ct),bh=o,wh=Qe,Sh=k.f,Ph=lh.set,Oh=yh,jh=Nv,Eh=gh,xh=mh,_h=Ov,kh=bh.MutationObserver||bh.WebKitMutationObserver,Lh=bh.document,Th=bh.process,Ah=bh.Promise,Ch=Sh(bh,"queueMicrotask"),Rh=Ch&&Ch.value;if(!Rh){var Dh=new Oh,Fh=function(){var t,e;for(_h&&(t=Th.domain)&&t.exit();e=Dh.get();)try{e()}catch(ow){throw Dh.head&&sh(),ow}t&&t.enter()};jh||_h||xh||!kh||!Lh?!Eh&&Ah&&Ah.resolve?((vh=Ah.resolve(void 0)).constructor=Ah,hh=wh(vh.then,vh),sh=function(){hh(Fh)}):_h?sh=function(){Th.nextTick(Fh)}:(Ph=wh(Ph,bh),sh=function(){Ph(Fh)}):(dh=!0,ph=Lh.createTextNode(""),new kh(Fh).observe(ph,{characterData:!0}),sh=function(){ph.data=dh=!dh}),Rh=function(t){Dh.head||sh(),Dh.add(t)}}var Nh=Rh,Mh=function(t){try{return{error:!1,value:t()}}catch(ow){return{error:!0,value:ow}}},Ih=o.Promise,Gh="object"==typeof Deno&&Deno&&"object"==typeof Deno.version,Bh=!Gh&&!Ov&&"object"==typeof window&&"object"==typeof document,Vh=o,zh=Ih,Uh=_,Wh=Ye,Hh=ai,Yh=de,Kh=Bh,Jh=Gh,qh=ht,Qh=zh&&zh.prototype,Xh=Yh("species"),$h=!1,Zh=Uh(Vh.PromiseRejectionEvent),ty={CONSTRUCTOR:Wh("Promise",(function(){var t=Hh(zh),e=t!==String(zh);if(!e&&66===qh)return!0;if(!Qh.catch||!Qh.finally)return!0;if(!qh||qh<51||!/native code/.test(t)){var r=new zh((function(t){t(1)})),n=function(t){t((function(){}),(function(){}))};if((r.constructor={})[Xh]=n,!($h=r.then((function(){}))instanceof n))return!0}return!e&&(Kh||Jh)&&!Zh})),REJECTION_EVENT:Zh,SUBCLASSING:$h},ey={},ry=At,ny=TypeError,oy=function(t){var e,r;this.promise=new t((function(t,n){if(void 0!==e||void 0!==r)throw ny("Bad Promise constructor");e=t,r=n})),this.resolve=ry(e),this.reject=ry(r)};ey.f=function(t){return new oy(t)};var iy,ay,uy=kr,cy=Ov,ly=o,fy=C,sy=so,dy=Io,py=function(t){var e=jv(t);xv&&e&&!e[_v]&&Ev(e,_v,{configurable:!0,get:function(){return this}})},vy=At,hy=_,yy=tt,gy=function(t,e){if(kv(e,t))return t;throw Lv("Incorrect invocation")},my=Dv,by=lh.set,wy=Nh,Sy=function(t,e){try{1==arguments.length?console.error(t):console.error(t,e)}catch(ow){}},Py=Mh,Oy=yh,jy=ti,Ey=Ih,xy=ty,_y=ey,ky="Promise",Ly=xy.CONSTRUCTOR,Ty=xy.REJECTION_EVENT,Ay=jy.getterFor(ky),Cy=jy.set,Ry=Ey&&Ey.prototype,Dy=Ey,Fy=Ry,Ny=ly.TypeError,My=ly.document,Iy=ly.process,Gy=_y.f,By=Gy,Vy=!!(My&&My.createEvent&&ly.dispatchEvent),zy="unhandledrejection",Uy=function(t){var e;return!(!yy(t)||!hy(e=t.then))&&e},Wy=function(t,e){var r,n,o,i=e.value,a=1==e.state,u=a?t.ok:t.fail,c=t.resolve,l=t.reject,f=t.domain;try{u?(a||(2===e.rejection&&qy(e),e.rejection=1),!0===u?r=i:(f&&f.enter(),r=u(i),f&&(f.exit(),o=!0)),r===t.promise?l(Ny("Promise-chain cycle")):(n=Uy(r))?fy(n,r,c,l):c(r)):l(i)}catch(ow){f&&!o&&f.exit(),l(ow)}},Hy=function(t,e){t.notified||(t.notified=!0,wy((function(){for(var r,n=t.reactions;r=n.get();)Wy(r,t);t.notified=!1,e&&!t.rejection&&Ky(t)})))},Yy=function(t,e,r){var n,o;Vy?((n=My.createEvent("Event")).promise=e,n.reason=r,n.initEvent(t,!1,!0),ly.dispatchEvent(n)):n={promise:e,reason:r},!Ty&&(o=ly["on"+t])?o(n):t===zy&&Sy("Unhandled promise rejection",r)},Ky=function(t){fy(by,ly,(function(){var e,r=t.facade,n=t.value;if(Jy(t)&&(e=Py((function(){cy?Iy.emit("unhandledRejection",n,r):Yy(zy,r,n)})),t.rejection=cy||Jy(t)?2:1,e.error))throw e.value}))},Jy=function(t){return 1!==t.rejection&&!t.parent},qy=function(t){fy(by,ly,(function(){var e=t.facade;cy?Iy.emit("rejectionHandled",e):Yy("rejectionhandled",e,t.value)}))},Qy=function(t,e,r){return function(n){t(e,n,r)}},Xy=function(t,e,r){t.done||(t.done=!0,r&&(t=r),t.value=e,t.state=2,Hy(t,!0))},$y=function(t,e,r){if(!t.done){t.done=!0,r&&(t=r);try{if(t.facade===e)throw Ny("Promise can't be resolved itself");var n=Uy(e);n?wy((function(){var r={done:!1};try{fy(n,e,Qy($y,r,t),Qy(Xy,r,t))}catch(ow){Xy(r,ow,t)}})):(t.value=e,t.state=1,Hy(t,!1))}catch(ow){Xy({done:!1},ow,t)}}};Ly&&(Fy=(Dy=function(t){gy(this,Fy),vy(t),fy(iy,this);var e=Ay(this);try{t(Qy($y,e),Qy(Xy,e))}catch(ow){Xy(e,ow)}}).prototype,(iy=function(t){Cy(this,{type:ky,done:!1,notified:!1,parent:!1,reactions:new Oy,rejection:!1,state:0,value:void 0})}).prototype=sy(Fy,"then",(function(t,e){var r=Ay(this),n=Gy(my(this,Dy));return r.parent=!0,n.ok=!hy(t)||t,n.fail=hy(e)&&e,n.domain=cy?Iy.domain:void 0,0==r.state?r.reactions.add(n):wy((function(){Wy(n,r)})),n.promise})),ay=function(){var t=new iy,e=Ay(t);this.promise=t,this.resolve=Qy($y,e),this.reject=Qy(Xy,e)},_y.f=Gy=function(t){return t===Dy||undefined===t?new ay(t):By(t)}),uy({global:!0,constructor:!0,wrap:!0,forced:Ly},{Promise:Dy}),dy(Dy,ky,!1,!0),py(ky);var Zy=de("iterator"),tg=!1;try{var eg=0,rg={next:function(){return{done:!!eg++}},return:function(){tg=!0}};rg[Zy]=function(){return this},Array.from(rg,(function(){throw 2}))}catch(ow){}var ng=Ih,og=ty.CONSTRUCTOR||!function(t,e){if(!e&&!tg)return!1;var r=!1;try{var n={};n[Zy]=function(){return{next:function(){return{done:r=!0}}}},t(n)}catch(ow){}return r}((function(t){ng.all(t).then(void 0,(function(){}))})),ig=C,ag=At,ug=ey,cg=Mh,lg=tv;kr({target:"Promise",stat:!0,forced:og},{all:function(t){var e=this,r=ug.f(e),n=r.resolve,o=r.reject,i=cg((function(){var r=ag(e.resolve),i=[],a=0,u=1;lg(t,(function(t){var c=a++,l=!1;u++,ig(r,e,t).then((function(t){l||(l=!0,i[c]=t,--u||n(i))}),o)})),--u||n(i)}));return i.error&&o(i.value),r.promise}});var fg=kr,sg=ty.CONSTRUCTOR;Ih&&Ih.prototype,fg({target:"Promise",proto:!0,forced:sg,real:!0},{catch:function(t){return this.then(void 0,t)}});var dg=C,pg=At,vg=ey,hg=Mh,yg=tv;kr({target:"Promise",stat:!0,forced:og},{race:function(t){var e=this,r=vg.f(e),n=r.reject,o=hg((function(){var o=pg(e.resolve);yg(t,(function(t){dg(o,e,t).then(r.resolve,n)}))}));return o.error&&n(o.value),r.promise}});var gg=C,mg=ey;kr({target:"Promise",stat:!0,forced:ty.CONSTRUCTOR},{reject:function(t){var e=mg.f(this);return gg(e.reject,void 0,t),e.promise}});var bg=rr,wg=tt,Sg=ey,Pg=function(t,e){if(bg(t),wg(e)&&e.constructor===t)return e;var r=Sg.f(t);return(0,r.resolve)(e),r.promise},Og=kr,jg=Ih,Eg=ty.CONSTRUCTOR,xg=Pg,_g=at("Promise"),kg=!Eg;Og({target:"Promise",stat:!0,forced:true},{resolve:function(t){return xg(kg&&this===_g?jg:this,t)}});var Lg=C,Tg=At,Ag=ey,Cg=Mh,Rg=tv;kr({target:"Promise",stat:!0,forced:og},{allSettled:function(t){var e=this,r=Ag.f(e),n=r.resolve,o=r.reject,i=Cg((function(){var r=Tg(e.resolve),o=[],i=0,a=1;Rg(t,(function(t){var u=i++,c=!1;a++,Lg(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 Dg=C,Fg=At,Ng=at,Mg=ey,Ig=Mh,Gg=tv,Bg="No one promise resolved";kr({target:"Promise",stat:!0,forced:og},{any:function(t){var e=this,r=Ng("AggregateError"),n=Mg.f(e),o=n.resolve,i=n.reject,a=Ig((function(){var n=Fg(e.resolve),a=[],u=0,c=1,l=!1;Gg(t,(function(t){var f=u++,s=!1;c++,Dg(n,e,t).then((function(t){s||l||(l=!0,o(t))}),(function(t){s||l||(s=!0,a[f]=t,--c||i(new r(a,Bg)))}))})),--c||i(new r(a,Bg))}));return a.error&&i(a.value),n.promise}});var Vg=kr,zg=Ih,Ug=i,Wg=at,Hg=_,Yg=Dv,Kg=Pg,Jg=zg&&zg.prototype;Vg({target:"Promise",proto:!0,real:!0,forced:!!zg&&Ug((function(){Jg.finally.call({then:function(){}},(function(){}))}))},{finally:function(t){var e=Yg(this,Wg("Promise")),r=Hg(t);return this.then(r?function(r){return Kg(e,t()).then((function(){return r}))}:t,r?function(r){return Kg(e,t()).then((function(){throw r}))}:t)}});var qg=et.Promise,Qg=ey;kr({target:"Promise",stat:!0,forced:!0},{withResolvers:function(){var t=Qg.f(this);return{promise:t.promise,resolve:t.resolve,reject:t.reject}}});var Xg=ey,$g=Mh;kr({target:"Promise",stat:!0,forced:!0},{try:function(t){var e=Xg.f(this),r=$g(t);return(r.error?e.reject:e.resolve)(r.value),e.promise}});var Zg=r(qg),tm=kr,em=ri,rm=y([].reverse),nm=[1,2];tm({target:"Array",proto:!0,forced:String(nm)===String(nm.reverse())},{reverse:function(){return em(this)&&(this.length=this.length),rm(this)}});var om=Hu("Array").reverse,im=ut,am=om,um=Array.prototype,cm=r((function(t){var e=t.reverse;return t===um||im(um,t)&&e===um.reverse?am:e})),lm=kr,fm=ri,sm=wi,dm=tt,pm=Nr,vm=Br,hm=X,ym=$n,gm=de,mm=iu,bm=zu("slice"),wm=gm("species"),Sm=Array,Pm=Math.max;lm({target:"Array",proto:!0,forced:!bm},{slice:function(t,e){var r,n,o,i=hm(this),a=vm(i),u=pm(t,a),c=pm(void 0===e?a:e,a);if(fm(i)&&(r=i.constructor,(sm(r)&&(r===Sm||fm(r.prototype))||dm(r)&&null===(r=r[wm]))&&(r=void 0),r===Sm||void 0===r))return mm(i,u,c);for(n=new(void 0===r?Sm:r)(Pm(c-u,0)),o=0;u<c;u++,o++)u in i&&ym(n,o,i[u]);return n.length=o,n}});var Om=Hu("Array").slice,jm=ut,Em=Om,xm=Array.prototype,_m=function(t){var e=t.slice;return t===xm||jm(xm,t)&&e===xm.slice?Em:e},km=r(_m);function Lm(){Lm=function(){return t};var t={},e=Object.prototype,r=e.hasOwnProperty,n=Cf||function(t,e,r){t[e]=r.value},o="function"==typeof Ps?Ps:{},i=o.iterator||"@@iterator",a=o.asyncIterator||"@@asyncIterator",u=o.toStringTag||"@@toStringTag";function c(t,e,r){return Cf(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 l(t,e,r,o){var i=e&&e.prototype instanceof d?e:d,a=ud(i.prototype),u=new j(o||[]);return n(a,"_invoke",{value:w(t,r,u)}),a}function f(t,e,r){try{return{type:"normal",arg:t.call(e,r)}}catch(_){return{type:"throw",arg:_}}}t.wrap=l;var s={};function d(){}function p(){}function v(){}var h={};c(h,i,(function(){return this}));var y=Qd&&Qd(Qd(E([])));y&&y!==e&&r.call(y,i)&&(h=y);var g=v.prototype=d.prototype=ud(h);function m(t){var e;uf(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=f(t[n],t,i);if("throw"!==c.type){var l=c.arg,s=l.value;return s&&"object"==Bs(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){l.value=t,a(l)}),(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=f(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=f(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"}],uf(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 cd?cd(t,v):(t.__proto__=v,c(t,u,"GeneratorFunction")),t.prototype=ud(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=Zg);var a=new b(l(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 cm(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,uf(e=this.tryEntries).call(e,O),!t)for(var n in this)"t"===n.charAt(0)&&r.call(this,n)&&!isNaN(+km(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 Tm(t,e,r,n,o,i,a){try{var u=t[i](a),c=u.value}catch(ow){return void r(ow)}u.done?e(c):Zg.resolve(c).then(n,o)}function Am(t){return function(){var e=this,r=arguments;return new Zg((function(n,o){var i=t.apply(e,r);function a(t){Tm(i,n,o,a,u,"next",t)}function u(t){Tm(i,n,o,a,u,"throw",t)}a(void 0)}))}}var Cm=$t,Rm=C,Dm=tt,Fm=rr,Nm=function(t){return void 0!==t&&(Cm(t,"value")||Cm(t,"writable"))},Mm=k,Im=Vc;kr({target:"Reflect",stat:!0},{get:function t(e,r){var n,o,i=arguments.length<3?e:arguments[2];return Fm(e)===i?e[r]:(n=Mm.f(e,r))?Nm(n)?n.value:void 0===n.get?void 0:Rm(n.get,i):Dm(o=Im(e))?t(o,r,i):void 0}});var Gm=r(et.Reflect.get);function Bm(){var t;"undefined"!=typeof Reflect&&Gm?Bm=Ed(t=Gm).call(t):Bm=function(t,e,r){var n=function(t,e){for(;!Object.prototype.hasOwnProperty.call(t,e)&&null!==(t=Xd(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 Bm.apply(this,arguments)}var Vm=kr,zm=Fi.find,Um="find",Wm=!0;Um in[]&&Array(1)[Um]((function(){Wm=!1})),Vm({target:"Array",proto:!0,forced:Wm},{find:function(t){return zm(this,t,arguments.length>1?arguments[1]:void 0)}});var Hm=Hu("Array").find,Ym=ut,Km=Hm,Jm=Array.prototype,qm=r((function(t){var e=t.find;return t===Jm||Ym(Jm,t)&&e===Jm.find?Km:e})),Qm=new t.Logger("VeStrategy-preload-plugin"),Xm="play_next_end",$m=function(t){_d(n,t);var e,r=Zd(n);function n(t){var e,o;return nd(this,n),Us($d(o=r.call(this,t)),"ctx",void 0),Us($d(o),"preloader",void 0),Us($d(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,Qm.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),Qm.info("PreloadPluginInitCompleted"),o}return id(n,[{key:"afterCreate",value:function(){Bm(Xd(n.prototype),"afterCreate",this).call(this),this.initPreloader()}},{key:"destroy",value:function(){var t,e;Bm(Xd(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(Xm,this._checkPreloadData)}},{key:"initPreloader",value:(e=Am(Lm().mark((function t(){var e,r,n,o,i,a,u,c;return Lm().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return u=this._findPlugin("mp4encryptplayer"),c=this._findPlugin("encrypthlsplugin"),t.next=4,null===(e=this.preloader)||void 0===e||null===(r=e.prepare)||void 0===r?void 0:r.call(e);case 4:if(t.t0=t.sent,!t.t0){t.next=7;break}t.t0=u||c;case 7:if(t.t0){t.next=10;break}return t.abrupt("return");case 10:this.off(Xm,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(Xm,this._checkPreloadData),this._checkPreloadData();case 15: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:qm(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),Zm=Hu("Array").concat,tb=ut,eb=Zm,rb=Array.prototype,nb=r((function(t){var e=t.concat;return t===rb||tb(rb,t)&&e===rb.concat?eb:e})),ob=L,ib=y,ab=C,ub=i,cb=rn,lb=lo,fb=R,sb=qt,db=W,pb=Object.assign,vb=Object.defineProperty,hb=ib([].concat),yb=!pb||ub((function(){if(ob&&1!==pb({b:1},pb(vb({},"a",{enumerable:!0,get:function(){vb(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!=pb({},t)[r]||cb(pb({},e)).join("")!=n}))?function(t,e){for(var r=sb(t),n=arguments.length,o=1,i=lb.f,a=fb.f;n>o;)for(var u,c=db(arguments[o++]),l=i?hb(cb(c),i(c)):cb(c),f=l.length,s=0;f>s;)u=l[s++],ob&&!ab(a,c,u)||(r[u]=c[u]);return r}:pb,gb=yb;kr({target:"Object",stat:!0,arity:2,forced:Object.assign!==gb},{assign:gb});var mb=r(et.Object.assign),bb=r(Qu),wb=r(af),Sb=Hr.includes;kr({target:"Array",proto:!0,forced:i((function(){return!Array(1).includes()}))},{includes:function(t){return Sb(this,t,arguments.length>1?arguments[1]:void 0)}});var Pb=Hu("Array").includes,Ob=tt,jb=w,Eb=de("match"),xb=function(t){var e;return Ob(t)&&(void 0!==(e=t[Eb])?!!e:"RegExp"==jb(t))},_b=TypeError,kb=de("match"),Lb=kr,Tb=function(t){if(xb(t))throw _b("The method doesn't accept regular expressions");return t},Ab=J,Cb=mn,Rb=function(t){var e=/./;try{"/./"[t](e)}catch(r){try{return e[kb]=!1,"/./"[t](e)}catch(n){}}return!1},Db=y("".indexOf);Lb({target:"String",proto:!0,forced:!Rb("includes")},{includes:function(t){return!!~Db(Cb(Ab(this)),Cb(Tb(t)),arguments.length>1?arguments[1]:void 0)}});var Fb=Hu("String").includes,Nb=ut,Mb=Pb,Ib=Fb,Gb=Array.prototype,Bb=String.prototype,Vb=r((function(t){var e=t.includes;return t===Gb||Nb(Gb,t)&&e===Gb.includes?Mb:"string"==typeof t||t===Bb||Nb(Bb,t)&&e===Bb.includes?Ib:e})),zb=kr,Ub=Fi.findIndex,Wb="findIndex",Hb=!0;Wb in[]&&Array(1)[Wb]((function(){Hb=!1})),zb({target:"Array",proto:!0,forced:Hb},{findIndex:function(t){return Ub(this,t,arguments.length>1?arguments[1]:void 0)}});var Yb=Hu("Array").findIndex,Kb=ut,Jb=Yb,qb=Array.prototype,Qb=r((function(t){var e=t.findIndex;return t===qb||Kb(qb,t)&&e===qb.findIndex?Jb:e})),Xb=r(_m),$b=function(t){return t[t.NORMAL=0]="NORMAL",t[t.FEED=1]="FEED",t}($b||{}),Zb=function(){function t(){nd(this,t),Us(this,"isRegistered",!1),Us(this,"initPromise",void 0),Us(this,"_inst",void 0),Us(this,"player",void 0),Us(this,"_tracker",void 0),Us(this,"pendingLoadList",[]),Us(this,"prevCount",1),Us(this,"nextCount",2),Us(this,"preloadScene",$b.NORMAL)}var e,r,n;return id(t,[{key:"init",value:(n=Am(Lm().mark((function t(e){return Lm().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=Am(Lm().mark((function t(){var e;return Lm().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=Hs(Hs({},t),{},{preloadScene:(null==t?void 0:t.preloadScene)||$b.NORMAL});this._register(this._adaptPreloadConfig(e)),this.isRegistered=!0,this.trackPreloadData()}}},{key:"addPreloadList",value:function(t){var e;if(this.isRegistered)return $b.FEED===this.preloadScene?(this.pendingLoadList=nb(e=this.pendingLoadList).call(e,null!=t?t:[]),void this._trySyncFeedPreloadQueue()):$b.NORMAL===this.preloadScene?this._addPreloadList(t):void 0}},{key:"setPreloadList",value:function(t){if(this.isRegistered)return $b.FEED===this.preloadScene?(this.pendingLoadList=null!=t?t:[],void this._trySyncFeedPreloadQueue()):$b.NORMAL===this.preloadScene?this._addPreloadList(t):void 0}},{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(Hs({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,n=t||(null===(e=this.player)||void 0===e||null===(e=e.config)||void 0===e?void 0:e.vid);if(null!==(r=this.pendingLoadList)&&void 0!==r&&r.length){var o=this._recPreloadList(n);null!=o&&o.length&&this._addPreloadList(o)}}},{key:"inst",value:function(){return this._inst}},{key:"_init",value:(e=Am(Lm().mark((function t(e){var r,n,o;return Lm().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?ip(t).call(t,(function(t){var e,r,n=(null===(e=t.streamType)||void 0===e||null===(r=e.toUpperCase)||void 0===r?void 0:r.call(e))||"MP4";return"HLS"===n?{order:1,data:{vid:t.vid,vtype:n,codecType:t.codec||"h264",force:"always",payload:{url:t.url,bitrate:t.bitrate,sn:1,level:1,definition:t.definition}}}:{order:1,data:{vid:t.vid,vtype:n,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",Hs({},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:mb({},t.defaultConfig,e),loaders:bb(a).call(a,(function(t){return!!t}))}),wb(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&&(console.log("addPreloadList",t),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)&&Vb(n=[$b.FEED,$b.NORMAL]).call(n,null==t?void 0:t.preloadScene)?(this.preloadScene=t.preloadScene,$b.FEED===t.preloadScene?Hs(Hs({},t),{},{autoPreload:!1,autoCheckPreload:!0}):Hs(Hs({},t),{},{autoPreload:!0,autoCheckPreload:!1})):Hs({},t)}},{key:"_recPreloadList",value:function(t){var e,r=this.pendingLoadList;if(!t||null==r||!r.length)return[];var n=Qb(r).call(r,(function(e){return e.vid===t}));if(-1===n)return[];var o=this.prevCount?Xb(r).call(r,n-this.prevCount<0?0:n-this.prevCount,n):[],i=this.nextCount?Xb(r).call(r,n+1,n+this.nextCount+1):[];return bb(e=nb(i).call(i,o)).call(e,(function(t){return!!t}))}},{key:"_trySyncFeedPreloadQueue",value:function(){var t,e;if($b.FEED===this.preloadScene&&null!==(t=this.pendingLoadList)&&void 0!==t&&t.length){var r=null===(e=this.player)||void 0===e||null===(e=e.config)||void 0===e?void 0:e.vid;r&&this.checkPreloadData(r)}}}],[{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}(),tw=new Zb,ew=new t.Logger("VeStrategy-preload"),rw="ignoreServicePreloadConfigEnable",nw=function(e){_d(n,e);var r=Zd(n);function n(t){var e,o,i;return nd(this,n),i=r.call(this,t),tw.bindTracker(null==t||null===(e=t.ctx)||void 0===e?void 0:e.tracker),ew.update(null===(o=t.ctx.dataCenter)||void 0===o||null===(o=o.getAppConfig())||void 0===o?void 0:o.log),ew.info("VeStrategyPreloadInit"),i}return id(n,[{key:"getRecommendation",value:function(){var e,r,n,o,i,a={plugins:[],pluginConfiguration:{},result:{enable:!1}},u=null===(e=this.ctx.dataCenter.getServiceStrategyConfig())||void 0===e?void 0:e[t.StrategyEnums.preload];if(!(!0===(null===(r=this.config)||void 0===r?void 0:r[rw])||null!=u&&null!==(n=u.config)&&void 0!==n&&n.enable))return a;this.config.disableAutoCheckPlugin||(a.plugins=[$m],a.pluginConfiguration=Us({},$m.pluginName,{preloader:tw}));var c=null!==(o=this.config)&&void 0!==o?o:{};c[rw];var l=rd(c,ip(i=[rw]).call(i,zs));return a.result=Hs(Hs({},l),{},{enable:!0}),a}}],[{key:"strategyName",get:function(){return t.StrategyEnums.preload}}]),n}(t.BaseStrategy);return Us(nw,"preloader",tw),nw}));
|