UNPKG

trtc-sdk-v5

Version:
1 lines 488 kB
!function(e,t){"object"==typeof exports&&"undefined"!=typeof module?module.exports=t():"function"==typeof define&&define.amd?define(t):(e="undefined"!=typeof globalThis?globalThis:e||self).TRTCDebugDialog=t()}(this,function(){var e="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:{},t=function(e){return e&&e.Math===Math&&e},i=t("object"==typeof globalThis&&globalThis)||t("object"==typeof window&&window)||t("object"==typeof self&&self)||t("object"==typeof e&&e)||t("object"==typeof e&&e)||function(){return this}()||Function("return this")(),r={},n=function(e){try{return!!e()}catch(t){return!0}},a=!n(function(){return 7!==Object.defineProperty({},1,{get:function(){return 7}})[1]}),o=!n(function(){var e=function(){}.bind();return"function"!=typeof e||e.hasOwnProperty("prototype")}),s=o,c=Function.prototype.call,l=s?c.bind(c):function(){return c.apply(c,arguments)},d={},u={}.propertyIsEnumerable,h=Object.getOwnPropertyDescriptor,p=h&&!u.call({1:2},1);d.f=p?function(e){var t=h(this,e);return!!t&&t.enumerable}:u;var f,m,g=function(e,t){return{enumerable:!(1&e),configurable:!(2&e),writable:!(4&e),value:t}},_=o,v=Function.prototype,y=v.call,E=_&&v.bind.bind(y,y),b=_?E:function(e){return function(){return y.apply(e,arguments)}},w=b,I=w({}.toString),T=w("".slice),S=function(e){return T(I(e),8,-1)},A=n,R=S,k=Object,C=b("".split),D=A(function(){return!k("z").propertyIsEnumerable(0)})?function(e){return"String"===R(e)?C(e,""):k(e)}:k,O=function(e){return null==e},L=O,N=TypeError,P=function(e){if(L(e))throw new N("Can't call method on "+e);return e},x=D,M=P,U=function(e){return x(M(e))},F="object"==typeof document&&document.all,B=void 0===F&&void 0!==F?function(e){return"function"==typeof e||e===F}:function(e){return"function"==typeof e},V=B,H=function(e){return"object"==typeof e?null!==e:V(e)},j=i,z=B,W=function(e,t){return arguments.length<2?(i=j[e],z(i)?i:void 0):j[e]&&j[e][t];var i},G=b({}.isPrototypeOf),q=i.navigator,K=q&&q.userAgent,Y=K?String(K):"",X=i,Z=Y,J=X.process,Q=X.Deno,$=J&&J.versions||Q&&Q.version,ee=$&&$.v8;ee&&(m=(f=ee.split("."))[0]>0&&f[0]<4?1:+(f[0]+f[1])),!m&&Z&&(!(f=Z.match(/Edge\/(\d+)/))||f[1]>=74)&&(f=Z.match(/Chrome\/(\d+)/))&&(m=+f[1]);var te=m,ie=te,re=n,ne=i.String,ae=!!Object.getOwnPropertySymbols&&!re(function(){var e=Symbol("symbol detection");return!ne(e)||!(Object(e)instanceof Symbol)||!Symbol.sham&&ie&&ie<41}),oe=ae&&!Symbol.sham&&"symbol"==typeof Symbol.iterator,se=W,ce=B,le=G,de=Object,ue=oe?function(e){return"symbol"==typeof e}:function(e){var t=se("Symbol");return ce(t)&&le(t.prototype,de(e))},he=String,pe=function(e){try{return he(e)}catch(t){return"Object"}},fe=B,me=pe,ge=TypeError,_e=function(e){if(fe(e))return e;throw new ge(me(e)+" is not a function")},ve=_e,ye=O,Ee=function(e,t){var i=e[t];return ye(i)?void 0:ve(i)},be=l,we=B,Ie=H,Te=TypeError,Se={exports:{}},Ae=i,Re=Object.defineProperty,ke=function(e,t){try{Re(Ae,e,{value:t,configurable:!0,writable:!0})}catch(i){Ae[e]=t}return t},Ce=i,De=ke,Oe="__core-js_shared__",Le=Se.exports=Ce[Oe]||De(Oe,{});(Le.versions||(Le.versions=[])).push({version:"3.49.0",mode:"global",copyright:"© 2013–2025 Denis Pushkarev (zloirock.ru), 2025–2026 CoreJS Company (core-js.io). All rights reserved.",license:"https://github.com/zloirock/core-js/blob/v3.49.0/LICENSE",source:"https://github.com/zloirock/core-js"});var Ne=Se.exports,Pe=Ne,xe=function(e,t){return Pe[e]||(Pe[e]=t||{})},Me=P,Ue=Object,Fe=function(e){return Ue(Me(e))},Be=Fe,Ve=b({}.hasOwnProperty),He=Object.hasOwn||function(e,t){return Ve(Be(e),t)},je=b,ze=0,We=Math.random(),Ge=je(1.1.toString),qe=function(e){return"Symbol("+(void 0===e?"":e)+")_"+Ge(++ze+We,36)},Ke=xe,Ye=He,Xe=qe,Ze=ae,Je=oe,Qe=i.Symbol,$e=Ke("wks"),et=Je?Qe.for||Qe:Qe&&Qe.withoutSetter||Xe,tt=function(e){return Ye($e,e)||($e[e]=Ze&&Ye(Qe,e)?Qe[e]:et("Symbol."+e)),$e[e]},it=l,rt=H,nt=ue,at=Ee,ot=function(e,t){var i,r;if("string"===t&&we(i=e.toString)&&!Ie(r=be(i,e)))return r;if(we(i=e.valueOf)&&!Ie(r=be(i,e)))return r;if("string"!==t&&we(i=e.toString)&&!Ie(r=be(i,e)))return r;throw new Te("Can't convert object to primitive value")},st=TypeError,ct=tt("toPrimitive"),lt=function(e,t){if(!rt(e)||nt(e))return e;var i,r=at(e,ct);if(r){if(void 0===t&&(t="default"),i=it(r,e,t),!rt(i)||nt(i))return i;throw new st("Can't convert object to primitive value")}return void 0===t&&(t="number"),ot(e,t)},dt=lt,ut=ue,ht=function(e){var t=dt(e,"string");return ut(t)?t:t+""},pt=H,ft=i.document,mt=pt(ft)&&pt(ft.createElement),gt=function(e){return mt?ft.createElement(e):{}},_t=gt,vt=!a&&!n(function(){return 7!==Object.defineProperty(_t("div"),"a",{get:function(){return 7}}).a}),yt=a,Et=l,bt=d,wt=g,It=U,Tt=ht,St=He,At=vt,Rt=Object.getOwnPropertyDescriptor;r.f=yt?Rt:function(e,t){if(e=It(e),t=Tt(t),At)try{return Rt(e,t)}catch(i){}if(St(e,t))return wt(!Et(bt.f,e,t),e[t])};var kt={},Ct=a&&n(function(){return 42!==Object.defineProperty(function(){},"prototype",{value:42,writable:!1}).prototype}),Dt=H,Ot=String,Lt=TypeError,Nt=function(e){if(Dt(e))return e;throw new Lt(Ot(e)+" is not an object")},Pt=a,xt=vt,Mt=Ct,Ut=Nt,Ft=ht,Bt=TypeError,Vt=Object.defineProperty,Ht=Object.getOwnPropertyDescriptor,jt="enumerable",zt="configurable",Wt="writable";kt.f=Pt?Mt?function(e,t,i){if(Ut(e),t=Ft(t),Ut(i),"function"==typeof e&&"prototype"===t&&"value"in i&&Wt in i&&!i[Wt]){var r=Ht(e,t);r&&r[Wt]&&(e[t]=i.value,i={configurable:zt in i?i[zt]:r[zt],enumerable:jt in i?i[jt]:r[jt],writable:!1})}return Vt(e,t,i)}:Vt:function(e,t,i){if(Ut(e),t=Ft(t),Ut(i),xt)try{return Vt(e,t,i)}catch(r){}if("get"in i||"set"in i)throw new Bt("Accessors not supported");return"value"in i&&(e[t]=i.value),e};var Gt=kt,qt=g,Kt=a?function(e,t,i){return Gt.f(e,t,qt(1,i))}:function(e,t,i){return e[t]=i,e},Yt={exports:{}},Xt=a,Zt=He,Jt=Function.prototype,Qt=Xt&&Object.getOwnPropertyDescriptor,$t=Zt(Jt,"name"),ei={EXISTS:$t,PROPER:$t&&"something"===function(){}.name,CONFIGURABLE:$t&&(!Xt||Xt&&Qt(Jt,"name").configurable)},ti=B,ii=Ne,ri=b(Function.toString);ti(ii.inspectSource)||(ii.inspectSource=function(e){return ri(e)});var ni,ai,oi,si=ii.inspectSource,ci=B,li=i.WeakMap,di=ci(li)&&/native code/.test(String(li)),ui=qe,hi=xe("keys"),pi=function(e){return hi[e]||(hi[e]=ui(e))},fi={},mi=di,gi=i,_i=H,vi=Kt,yi=He,Ei=Ne,bi=pi,wi=fi,Ii="Object already initialized",Ti=gi.TypeError,Si=gi.WeakMap;if(mi||Ei.state){var Ai=Ei.state||(Ei.state=new Si);Ai.get=Ai.get,Ai.has=Ai.has,Ai.set=Ai.set,ni=function(e,t){if(Ai.has(e))throw new Ti(Ii);return t.facade=e,Ai.set(e,t),t},ai=function(e){return Ai.get(e)||{}},oi=function(e){return Ai.has(e)}}else{var Ri=bi("state");wi[Ri]=!0,ni=function(e,t){if(yi(e,Ri))throw new Ti(Ii);return t.facade=e,vi(e,Ri,t),t},ai=function(e){return yi(e,Ri)?e[Ri]:{}},oi=function(e){return yi(e,Ri)}}var ki={set:ni,get:ai,has:oi,enforce:function(e){return oi(e)?ai(e):ni(e,{})},getterFor:function(e){return function(t){var i;if(!_i(t)||(i=ai(t)).type!==e)throw new Ti("Incompatible receiver, "+e+" required");return i}}},Ci=b,Di=n,Oi=B,Li=He,Ni=a,Pi=ei.CONFIGURABLE,xi=si,Mi=ki.enforce,Ui=ki.get,Fi=String,Bi=Object.defineProperty,Vi=Ci("".slice),Hi=Ci("".replace),ji=Ci([].join),zi=Ni&&!Di(function(){return 8!==Bi(function(){},"length",{value:8}).length}),Wi=String(String).split("String"),Gi=Yt.exports=function(e,t,i){"Symbol("===Vi(Fi(t),0,7)&&(t="["+Hi(Fi(t),/^Symbol\(([^)]*)\).*$/,"$1")+"]"),i&&i.getter&&(t="get "+t),i&&i.setter&&(t="set "+t),(!Li(e,"name")||Pi&&e.name!==t)&&(Ni?Bi(e,"name",{value:t,configurable:!0}):e.name=t),zi&&i&&Li(i,"arity")&&e.length!==i.arity&&Bi(e,"length",{value:i.arity});try{i&&Li(i,"constructor")&&i.constructor?Ni&&Bi(e,"prototype",{writable:!1}):e.prototype&&(e.prototype=void 0)}catch(n){}var r=Mi(e);return Li(r,"source")||(r.source=ji(Wi,"string"==typeof t?t:"")),e};Function.prototype.toString=Gi(function(){return Oi(this)&&Ui(this).source||xi(this)},"toString");var qi=Yt.exports,Ki=B,Yi=kt,Xi=qi,Zi=ke,Ji=function(e,t,i,r){r||(r={});var n=r.enumerable,a=void 0!==r.name?r.name:t;if(Ki(i)&&Xi(i,a,r),r.global)n?e[t]=i:Zi(t,i);else{try{r.unsafe?e[t]&&(n=!0):delete e[t]}catch(o){}n?e[t]=i:Yi.f(e,t,{value:i,enumerable:!1,configurable:!r.nonConfigurable,writable:!r.nonWritable})}return e},Qi={},$i=Math.ceil,er=Math.floor,tr=Math.trunc||function(e){var t=+e;return(t>0?er:$i)(t)},ir=function(e){var t=+e;return t!=t||0===t?0:tr(t)},rr=ir,nr=Math.max,ar=Math.min,or=function(e,t){var i=rr(e);return i<0?nr(i+t,0):ar(i,t)},sr=ir,cr=Math.min,lr=function(e){var t=sr(e);return t>0?cr(t,9007199254740991):0},dr=lr,ur=function(e){return dr(e.length)},hr=U,pr=or,fr=ur,mr=function(e){return function(t,i,r){var n=hr(t),a=fr(n);if(0===a)return!e&&-1;var o,s=pr(r,a);if(e&&i!=i){for(;a>s;)if((o=n[s++])!=o)return!0}else for(;a>s;s++)if((e||s in n)&&n[s]===i)return e||s||0;return!e&&-1}},gr={includes:mr(!0),indexOf:mr(!1)},_r=He,vr=U,yr=gr.indexOf,Er=fi,br=b([].push),wr=function(e,t){var i,r=vr(e),n=0,a=[];for(i in r)!_r(Er,i)&&_r(r,i)&&br(a,i);for(;t.length>n;)_r(r,i=t[n++])&&(~yr(a,i)||br(a,i));return a},Ir=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"],Tr=wr,Sr=Ir.concat("length","prototype");Qi.f=Object.getOwnPropertyNames||function(e){return Tr(e,Sr)};var Ar={};Ar.f=Object.getOwnPropertySymbols;var Rr=W,kr=Qi,Cr=Ar,Dr=Nt,Or=b([].concat),Lr=Rr("Reflect","ownKeys")||function(e){var t=kr.f(Dr(e)),i=Cr.f;return i?Or(t,i(e)):t},Nr=He,Pr=Lr,xr=r,Mr=kt,Ur=function(e,t,i){for(var r=Pr(t),n=Mr.f,a=xr.f,o=0;o<r.length;o++){var s=r[o];Nr(e,s)||i&&Nr(i,s)||n(e,s,a(t,s))}},Fr=n,Br=B,Vr=/#|\.prototype\./,Hr=function(e,t){var i=zr[jr(e)];return i===Gr||i!==Wr&&(Br(t)?Fr(t):!!t)},jr=Hr.normalize=function(e){return String(e).replace(Vr,".").toLowerCase()},zr=Hr.data={},Wr=Hr.NATIVE="N",Gr=Hr.POLYFILL="P",qr=Hr,Kr=i,Yr=r.f,Xr=Kt,Zr=Ji,Jr=ke,Qr=Ur,$r=qr,en=function(e,t){var i,r,n,a,o,s=e.target,c=e.global,l=e.stat;if(i=c?Kr:l?Kr[s]||Jr(s,{}):Kr[s]&&Kr[s].prototype)for(r in t){if(a=t[r],n=e.dontCallGetSet?(o=Yr(i,r))&&o.value:i[r],!$r(c?r:s+(l?".":"#")+r,e.forced)&&void 0!==n){if(typeof a==typeof n)continue;Qr(a,n)}(e.sham||n&&n.sham)&&Xr(a,"sham",!0),Zr(i,r,a,e)}},tn={};tn[tt("toStringTag")]="z";var rn="[object z]"===String(tn),nn=B,an=S,on=tt("toStringTag"),sn=Object,cn="Arguments"===an(function(){return arguments}()),ln=rn?an:function(e){var t,i,r;return void 0===e?"Undefined":null===e?"Null":"string"==typeof(i=function(e,t){try{return e[t]}catch(i){}}(t=sn(e),on))?i:cn?an(t):"Object"===(r=an(t))&&nn(t.callee)?"Arguments":r},dn=ln,un=String,hn=function(e){if("Symbol"===dn(e))throw new TypeError("Cannot convert a Symbol value to a string");return un(e)},pn=qi,fn=kt,mn=function(e,t,i){return i.get&&pn(i.get,t,{getter:!0}),i.set&&pn(i.set,t,{setter:!0}),fn.f(e,t,i)},gn=en,_n=a,vn=l,yn=b,En=He,bn=B,wn=G,In=hn,Tn=mn,Sn=Ur,An=i.Symbol,Rn=An&&An.prototype;if(_n&&bn(An)&&(!("description"in Rn)||void 0!==An().description)){var kn={},Cn=function(){var e=arguments.length<1||void 0===arguments[0]?void 0:In(arguments[0]),t=wn(Rn,this)?new An(e):void 0===e?An():An(e);return""===e&&(kn[t]=!0),t};Sn(Cn,An);var Dn=Cn.for;Cn.for={for:function(e){var t=In(e),i=vn(Dn,this,t);return""===t&&(kn[i]=!0),i}}.for,Cn.prototype=Rn,Rn.constructor=Cn;var On="Symbol(description detection)"===String(An("description detection")),Ln=yn(Rn.valueOf),Nn=yn(Rn.toString),Pn=/^Symbol\((.*)\)[^)]+$/,xn=yn("".replace),Mn=yn("".slice);Tn(Rn,"description",{configurable:!0,get:function(){var e=Ln(this);if(En(kn,e))return"";var t=Nn(e),i=On?Mn(t,7,-1):xn(t,Pn,"$1");return""===i?void 0:i}}),gn({global:!0,constructor:!0,forced:!0},{Symbol:Cn})}var Un={},Fn=wr,Bn=Ir,Vn=Object.keys||function(e){return Fn(e,Bn)},Hn=a,jn=Ct,zn=kt,Wn=Nt,Gn=U,qn=Vn;Un.f=Hn&&!jn?Object.defineProperties:function(e,t){Wn(e);for(var i,r=Gn(t),n=qn(t),a=n.length,o=0;a>o;)zn.f(e,i=n[o++],r[i]);return e};var Kn,Yn=W("document","documentElement"),Xn=Nt,Zn=Un,Jn=Ir,Qn=fi,$n=Yn,ea=gt,ta="prototype",ia="script",ra=pi("IE_PROTO"),na=function(){},aa=function(e){return"<"+ia+">"+e+"</"+ia+">"},oa=function(e){e.write(aa("")),e.close();var t=e.parentWindow.Object;return e=null,t},sa=function(){try{Kn=new ActiveXObject("htmlfile")}catch(n){}var e,t,i;sa="undefined"!=typeof document?document.domain&&Kn?oa(Kn):(t=ea("iframe"),i="java"+ia+":",t.style.display="none",$n.appendChild(t),t.src=String(i),(e=t.contentWindow.document).open(),e.write(aa("document.F=Object")),e.close(),e.F):oa(Kn);for(var r=Jn.length;r--;)delete sa[ta][Jn[r]];return sa()};Qn[ra]=!0;var ca=Object.create||function(e,t){var i;return null!==e?(na[ta]=Xn(e),i=new na,na[ta]=null,i[ra]=e):i=sa(),void 0===t?i:Zn.f(i,t)},la=tt,da=ca,ua=kt.f,ha=la("unscopables"),pa=Array.prototype;void 0===pa[ha]&&ua(pa,ha,{configurable:!0,value:da(null)});var fa=function(e){pa[ha][e]=!0},ma=en,ga=gr.includes,_a=n,va=fa,ya=_a(function(){return!Array(1).includes()}),Ea=_a(function(){return[,1].includes(void 0,1)});ma({target:"Array",proto:!0,forced:ya||Ea},{includes:function(e){return ga(this,e,arguments.length>1?arguments[1]:void 0)}}),va("includes");var ba,wa,Ia,Ta={},Sa=!n(function(){function e(){}return e.prototype.constructor=null,Object.getPrototypeOf(new e)!==e.prototype}),Aa=He,Ra=B,ka=Fe,Ca=Sa,Da=pi("IE_PROTO"),Oa=Object,La=Oa.prototype,Na=Ca?Oa.getPrototypeOf:function(e){var t=ka(e);if(Aa(t,Da))return t[Da];var i=t.constructor;return Ra(i)&&t instanceof i?i.prototype:t instanceof Oa?La:null},Pa=n,xa=B,Ma=H,Ua=Na,Fa=Ji,Ba=tt("iterator"),Va=!1;[].keys&&("next"in(Ia=[].keys())?(wa=Ua(Ua(Ia)))!==Object.prototype&&(ba=wa):Va=!0);var Ha=!Ma(ba)||Pa(function(){var e={};return ba[Ba].call(e)!==e});Ha&&(ba={}),xa(ba[Ba])||Fa(ba,Ba,function(){return this});var ja={IteratorPrototype:ba,BUGGY_SAFARI_ITERATORS:Va},za=kt.f,Wa=He,Ga=tt("toStringTag"),qa=function(e,t,i){e&&!i&&(e=e.prototype),e&&!Wa(e,Ga)&&za(e,Ga,{configurable:!0,value:t})},Ka=ja.IteratorPrototype,Ya=ca,Xa=g,Za=qa,Ja=Ta,Qa=function(){return this},$a=function(e,t,i,r){var n=t+" Iterator";return e.prototype=Ya(Ka,{next:Xa(+!r,i)}),Za(e,n,!1),Ja[n]=Qa,e},eo=b,to=_e,io=H,ro=function(e){return io(e)||null===e},no=String,ao=TypeError,oo=function(e,t,i){try{return eo(to(Object.getOwnPropertyDescriptor(e,t)[i]))}catch(r){}},so=H,co=P,lo=function(e){if(ro(e))return e;throw new ao("Can't set "+no(e)+" as a prototype")},uo=Object.setPrototypeOf||("__proto__"in{}?function(){var e,t=!1,i={};try{(e=oo(Object.prototype,"__proto__","set"))(i,[]),t=i instanceof Array}catch(r){}return function(i,r){return co(i),lo(r),so(i)?(t?e(i,r):i.__proto__=r,i):i}}():void 0),ho=en,po=l,fo=B,mo=$a,go=Na,_o=uo,vo=qa,yo=Kt,Eo=Ji,bo=Ta,wo=ei.PROPER,Io=ei.CONFIGURABLE,To=ja.IteratorPrototype,So=ja.BUGGY_SAFARI_ITERATORS,Ao=tt("iterator"),Ro="keys",ko="values",Co="entries",Do=function(){return this},Oo=function(e,t,i,r,n,a,o){mo(i,t,r);var s,c,l,d=function(e){if(e===n&&m)return m;if(!So&&e&&e in p)return p[e];switch(e){case Ro:case ko:case Co:return function(){return new i(this,e)}}return function(){return new i(this)}},u=t+" Iterator",h=!1,p=e.prototype,f=p[Ao]||p["@@iterator"]||n&&p[n],m=!So&&f||d(n),g="Array"===t&&p.entries||f;if(g&&(s=go(g.call(new e)))!==Object.prototype&&s.next&&(go(s)!==To&&(_o?_o(s,To):fo(s[Ao])||Eo(s,Ao,Do)),vo(s,u,!0)),wo&&n===ko&&f&&f.name!==ko&&(Io?yo(p,"name",ko):(h=!0,m=function(){return po(f,this)})),n)if(c={values:d(ko),keys:a?m:d(Ro),entries:d(Co)},o)for(l in c)(So||h||!(l in p))&&Eo(p,l,c[l]);else ho({target:t,proto:!0,forced:So||h},c);return p[Ao]!==m&&Eo(p,Ao,m,{name:n}),bo[t]=m,c},Lo=function(e,t){return{value:e,done:t}},No=U,Po=fa,xo=Ta,Mo=ki,Uo=kt.f,Fo=Oo,Bo=Lo,Vo=a,Ho="Array Iterator",jo=Mo.set,zo=Mo.getterFor(Ho),Wo=Fo(Array,"Array",function(e,t){jo(this,{type:Ho,target:No(e),index:0,kind:t})},function(){var e=zo(this),t=e.target,i=e.index++;if(!t||i>=t.length)return e.target=null,Bo(void 0,!0);switch(e.kind){case"keys":return Bo(i,!1);case"values":return Bo(t[i],!1)}return Bo([i,t[i]],!1)},"values"),Go=xo.Arguments=xo.Array;if(Po("keys"),Po("values"),Po("entries"),Vo&&"values"!==Go.name)try{Uo(Go,"name",{value:"values"})}catch(IU){}var qo=_e,Ko=Fe,Yo=D,Xo=ur,Zo=TypeError,Jo="Reduce of empty array with no initial value",Qo=function(e){return function(t,i,r,n){var a=Ko(t),o=Yo(a),s=Xo(a);if(qo(i),0===s&&r<2)throw new Zo(Jo);var c=e?s-1:0,l=e?-1:1;if(r<2)for(;;){if(c in o){n=o[c],c+=l;break}if(c+=l,e?c<0:s<=c)throw new Zo(Jo)}for(;e?c>=0:s>c;c+=l)c in o&&(n=i(n,o[c],c,a));return n}},$o={left:Qo(!1),right:Qo(!0)},es=n,ts=function(e,t){var i=[][e];return!!i&&es(function(){i.call(null,t||function(){return 1},1)})},is=i,rs=Y,ns=S,as=function(e){return rs.slice(0,e.length)===e},os=as("Bun/")?"BUN":as("Cloudflare-Workers")?"CLOUDFLARE":as("Deno/")?"DENO":as("Node.js/")?"NODE":is.Bun&&"string"==typeof Bun.version?"BUN":is.Deno&&"object"==typeof Deno.version?"DENO":"process"===ns(is.process)?"NODE":is.window&&is.document?"BROWSER":"REST",ss="NODE"===os,cs=$o.left;en({target:"Array",proto:!0,forced:!ss&&te>79&&te<83||!ts("reduce")},{reduce:function(e){var t=arguments.length;return cs(this,e,t,t>1?arguments[1]:void 0)}});var ls=S,ds=Array.isArray||function(e){return"Array"===ls(e)},us=en,hs=ds,ps=b([].reverse),fs=[1,2];us({target:"Array",proto:!0,forced:String(fs)===String(fs.reverse())},{reverse:function(){return hs(this)&&(this.length=this.length),ps(this)}});var ms="undefined"!=typeof ArrayBuffer&&"undefined"!=typeof DataView,gs=Ji,_s=function(e,t,i){for(var r in t)gs(e,r,t[r],i);return e},vs=G,ys=TypeError,Es=function(e,t){if(vs(t,e))return e;throw new ys("Incorrect invocation")},bs=ir,ws=lr,Is=RangeError,Ts=function(e){if(void 0===e)return 0;var t=bs(e),i=ws(t);if(t!==i)throw new Is("Wrong length or index");return i},Ss=Math.sign||function(e){var t=+e;return 0===t||t!=t?t:t<0?-1:1},As=4503599627370496,Rs=Ss,ks=function(e){return e+As-As},Cs=Math.abs,Ds=function(e,t,i,r){var n=+e,a=Cs(n),o=Rs(n);if(a<r)return o*ks(a/r/t)*r*t;var s=(1+t/2220446049250313e-31)*a,c=s-(s-a);return c>i||c!=c?Infinity*o:o*c},Os=Math.fround||function(e){return Ds(e,1.1920928955078125e-7,34028234663852886e22,11754943508222875e-54)},Ls=Array,Ns=Math.abs,Ps=Math.pow,xs=Math.floor,Ms=Math.log,Us=Math.LN2,Fs={pack:function(e,t,i){var r,n,a,o=Ls(i),s=8*i-t-1,c=(1<<s)-1,l=c>>1,d=23===t?Ps(2,-24)-Ps(2,-77):0,u=e<0||0===e&&1/e<0?1:0,h=0;for((e=Ns(e))!=e||Infinity===e?(n=e!=e?1:0,r=c):(r=xs(Ms(e)/Us),e*(a=Ps(2,-r))<1&&(r--,a*=2),(e+=r+l>=1?d/a:d*Ps(2,1-l))*a>=2&&(r++,a/=2),r+l>=c?(n=0,r=c):r+l>=1?(n=(e*a-1)*Ps(2,t),r+=l):(n=e*Ps(2,l-1)*Ps(2,t),r=0));t>=8;)o[h++]=255&n,n/=256,t-=8;for(r=r<<t|n,s+=t;s>0;)o[h++]=255&r,r/=256,s-=8;return o[h-1]|=128*u,o},unpack:function(e,t){var i,r=e.length,n=8*r-t-1,a=(1<<n)-1,o=a>>1,s=n-7,c=r-1,l=e[c--],d=127&l;for(l>>=7;s>0;)d=256*d+e[c--],s-=8;for(i=d&(1<<-s)-1,d>>=-s,s+=t;s>0;)i=256*i+e[c--],s-=8;if(0===d)d=1-o;else{if(d===a)return i?NaN:l?-Infinity:Infinity;i+=Ps(2,t),d-=o}return(l?-1:1)*i*Ps(2,d-t)}},Bs=Fe,Vs=or,Hs=ur,js=function(e){for(var t=Bs(this),i=Hs(t),r=arguments.length,n=Vs(r>1?arguments[1]:void 0,i),a=r>2?arguments[2]:void 0,o=void 0===a?i:Vs(a,i);o>n;)t[n++]=e;return t},zs=b([].slice),Ws=B,Gs=H,qs=uo,Ks=function(e,t,i){var r,n;return qs&&Ws(r=t.constructor)&&r!==i&&Gs(n=r.prototype)&&n!==i.prototype&&qs(e,n),e},Ys=i,Xs=b,Zs=a,Js=ms,Qs=Kt,$s=mn,ec=_s,tc=n,ic=Es,rc=ir,nc=Ts,ac=Os,oc=Fs,sc=Na,cc=uo,lc=js,dc=zs,uc=Ks,hc=Ur,pc=qa,fc=ki,mc=ei.PROPER,gc=ei.CONFIGURABLE,_c="ArrayBuffer",vc="DataView",yc="prototype",Ec="Wrong index",bc=fc.getterFor(_c),wc=fc.getterFor(vc),Ic=fc.set,Tc=Ys[_c],Sc=Tc,Ac=Sc&&Sc[yc],Rc=Ys[vc],kc=Rc&&Rc[yc],Cc=Object.prototype,Dc=Ys.Array,Oc=Ys.RangeError,Lc=Xs(lc),Nc=Xs([].reverse),Pc=oc.pack,xc=oc.unpack,Mc=function(e){return[255&e]},Uc=function(e){return[255&e,e>>8&255]},Fc=function(e){return[255&e,e>>8&255,e>>16&255,e>>24&255]},Bc=function(e){return e[3]<<24|e[2]<<16|e[1]<<8|e[0]},Vc=function(e){return Pc(ac(e),23,4)},Hc=function(e){return Pc(e,52,8)},jc=function(e,t,i){$s(e[yc],t,{configurable:!0,get:function(){return i(this)[t]}})},zc=function(e,t,i,r){var n=wc(e),a=nc(i),o=!!r;if(a+t>n.byteLength)throw new Oc(Ec);var s=n.bytes,c=a+n.byteOffset,l=dc(s,c,c+t);return o?l:Nc(l)},Wc=function(e,t,i,r,n,a){var o=wc(e),s=nc(i),c=r(+n),l=!!a;if(s+t>o.byteLength)throw new Oc(Ec);for(var d=o.bytes,u=s+o.byteOffset,h=0;h<t;h++)d[u+h]=c[l?h:t-h-1]};if(Js){var Gc=mc&&Tc.name!==_c;tc(function(){Tc(1)})&&tc(function(){new Tc(-1)})&&!tc(function(){return new Tc,new Tc(1.5),new Tc(NaN),1!==Tc.length||Gc&&!gc})?Gc&&gc&&Qs(Tc,"name",_c):((Sc=function(e){return ic(this,Ac),uc(new Tc(nc(e)),this,Sc)})[yc]=Ac,Ac.constructor=Sc,hc(Sc,Tc)),cc&&sc(kc)!==Cc&&cc(kc,Cc);var qc=new Rc(new Sc(2)),Kc=Xs(kc.setInt8);qc.setInt8(0,2147483648),qc.setInt8(1,2147483649),!qc.getInt8(0)&&qc.getInt8(1)||ec(kc,{setInt8:function(e,t){Kc(this,e,t<<24>>24)},setUint8:function(e,t){Kc(this,e,t<<24>>24)}},{unsafe:!0})}else Ac=(Sc=function(e){ic(this,Ac);var t=nc(e);Ic(this,{type:_c,bytes:Lc(Dc(t),0),byteLength:t}),Zs||(this.byteLength=t,this.detached=!1)})[yc],kc=(Rc=function(e,t,i){ic(this,kc),ic(e,Ac);var r=bc(e),n=r.byteLength,a=rc(t);if(a<0||a>n)throw new Oc("Wrong offset");if(a+(i=void 0===i?n-a:nc(i))>n)throw new Oc("Wrong length");Ic(this,{type:vc,buffer:e,byteLength:i,byteOffset:a,bytes:r.bytes}),Zs||(this.buffer=e,this.byteLength=i,this.byteOffset=a)})[yc],Zs&&(jc(Sc,"byteLength",bc),jc(Rc,"buffer",wc),jc(Rc,"byteLength",wc),jc(Rc,"byteOffset",wc)),ec(kc,{getInt8:function(e){return zc(this,1,e)[0]<<24>>24},getUint8:function(e){return zc(this,1,e)[0]},getInt16:function(e){var t=zc(this,2,e,arguments.length>1&&arguments[1]);return(t[1]<<8|t[0])<<16>>16},getUint16:function(e){var t=zc(this,2,e,arguments.length>1&&arguments[1]);return t[1]<<8|t[0]},getInt32:function(e){return Bc(zc(this,4,e,arguments.length>1&&arguments[1]))},getUint32:function(e){return Bc(zc(this,4,e,arguments.length>1&&arguments[1]))>>>0},getFloat32:function(e){return xc(zc(this,4,e,arguments.length>1&&arguments[1]),23)},getFloat64:function(e){return xc(zc(this,8,e,arguments.length>1&&arguments[1]),52)},setInt8:function(e,t){Wc(this,1,e,Mc,t)},setUint8:function(e,t){Wc(this,1,e,Mc,t)},setInt16:function(e,t){Wc(this,2,e,Uc,t,arguments.length>2&&arguments[2])},setUint16:function(e,t){Wc(this,2,e,Uc,t,arguments.length>2&&arguments[2])},setInt32:function(e,t){Wc(this,4,e,Fc,t,arguments.length>2&&arguments[2])},setUint32:function(e,t){Wc(this,4,e,Fc,t,arguments.length>2&&arguments[2])},setFloat32:function(e,t){Wc(this,4,e,Vc,t,arguments.length>2&&arguments[2])},setFloat64:function(e,t){Wc(this,8,e,Hc,t,arguments.length>2&&arguments[2])}});pc(Sc,_c),pc(Rc,vc);var Yc={ArrayBuffer:Sc,DataView:Rc},Xc=W,Zc=mn,Jc=a,Qc=tt("species"),$c=function(e){var t=Xc(e);Jc&&t&&!t[Qc]&&Zc(t,Qc,{configurable:!0,get:function(){return this}})},el=$c,tl="ArrayBuffer",il=Yc[tl];en({global:!0,constructor:!0,forced:i[tl]!==il},{ArrayBuffer:il}),el(tl);var rl=S,nl=b,al=function(e){if("Function"===rl(e))return nl(e)},ol=en,sl=al,cl=n,ll=Nt,dl=or,ul=lr,hl=Yc.ArrayBuffer,pl=Yc.DataView,fl=pl.prototype,ml=sl(hl.prototype.slice),gl=sl(fl.getUint8),_l=sl(fl.setUint8);ol({target:"ArrayBuffer",proto:!0,unsafe:!0,forced:cl(function(){return!new hl(2).slice(1,void 0).byteLength})},{slice:function(e,t){if(ml&&void 0===t)return ml(ll(this),e);for(var i=ll(this).byteLength,r=dl(e,i),n=dl(void 0===t?i:t,i),a=new hl(ul(n-r)),o=new pl(this),s=new pl(a),c=0;r<n;)_l(s,c++,gl(o,r++));return a}});var vl=i,yl=b,El=n,bl=B,wl=ln,Il=si,Tl=function(){},Sl=W("Reflect","construct"),Al=/^\s*(?:class|function)\b/,Rl=yl(Al.exec),kl=!Al.test(Tl),Cl=function(e){if(!bl(e))return!1;try{return Sl(Tl,[],e),!0}catch(IU){return!1}},Dl=function(e){if(!bl(e))return!1;switch(wl(e)){case"AsyncFunction":case"GeneratorFunction":case"AsyncGeneratorFunction":return!1}try{return kl||!!Rl(Al,Il(e))}catch(IU){return!0}};Dl.sham=!0;var Ol,Ll,Nl,Pl,xl=!Sl||El(function(){var e;return Cl(Cl.call)||!Cl(Object)||!Cl(function(){e=!0})||e})?Dl:Cl,Ml=xl,Ul=pe,Fl=TypeError,Bl=function(e){if(Ml(e))return e;throw new Fl(Ul(e)+" is not a constructor")},Vl=Nt,Hl=Bl,jl=O,zl=tt("species"),Wl=function(e,t){var i,r=Vl(e).constructor;return void 0===r||jl(i=Vl(r)[zl])?t:Hl(i)},Gl=o,ql=Function.prototype,Kl=ql.apply,Yl=ql.call,Xl="object"==typeof Reflect&&Reflect.apply||(Gl?Yl.bind(Kl):function(){return Yl.apply(Kl,arguments)}),Zl=_e,Jl=o,Ql=al(al.bind),$l=function(e,t){return Zl(e),void 0===t?e:Jl?Ql(e,t):function(){return e.apply(t,arguments)}},ed=TypeError,td=function(e,t){if(e<t)throw new ed("Not enough arguments");return e},id=Y,rd=/ipad|iphone|ipod/i.test(id)&&/applewebkit/i.test(id),nd=i,ad=Xl,od=$l,sd=B,cd=He,ld=n,dd=Yn,ud=zs,hd=gt,pd=td,fd=rd,md=ss,gd=nd.setImmediate,_d=nd.clearImmediate,vd=nd.process,yd=nd.Dispatch,Ed=nd.Function,bd=nd.MessageChannel,wd=nd.String,Id=0,Td={},Sd="onreadystatechange";ld(function(){Ol=nd.location});var Ad=function(e){if(cd(Td,e)){var t=Td[e];delete Td[e],t()}},Rd=function(e){return function(){Ad(e)}},kd=function(e){Ad(e.data)},Cd=function(e){nd.postMessage(wd(e),Ol.protocol+"//"+Ol.host)};gd&&_d||(gd=function(e){pd(arguments.length,1);var t=sd(e)?e:Ed(e),i=ud(arguments,1);return Td[++Id]=function(){ad(t,void 0,i)},Ll(Id),Id},_d=function(e){delete Td[e]},md?Ll=function(e){vd.nextTick(Rd(e))}:yd&&yd.now?Ll=function(e){yd.now(Rd(e))}:bd&&!fd?(Pl=(Nl=new bd).port2,Nl.port1.onmessage=kd,Ll=od(Pl.postMessage,Pl)):nd.addEventListener&&sd(nd.postMessage)&&!nd.importScripts&&Ol&&"file:"!==Ol.protocol&&!ld(Cd)?(Ll=Cd,nd.addEventListener("message",kd,!1)):Ll=Sd in hd("script")?function(e){dd.appendChild(hd("script"))[Sd]=function(){dd.removeChild(this),Ad(e)}}:function(e){setTimeout(Rd(e),0)});var Dd={set:gd,clear:_d},Od=i,Ld=a,Nd=Object.getOwnPropertyDescriptor,Pd=function(e){if(!Ld)return Od[e];var t=Nd(Od,e);return t&&t.value},xd=function(){this.head=null,this.tail=null};xd.prototype={add:function(e){var t={item:e,next:null},i=this.tail;i?i.next=t:this.head=t,this.tail=t},get:function(){var e=this.head;if(e)return null===(this.head=e.next)&&(this.tail=null),e.item}};var Md,Ud,Fd,Bd,Vd,Hd=xd,jd=/ipad|iphone|ipod/i.test(Y)&&"undefined"!=typeof Pebble,zd=/web0s(?!.*chrome)/i.test(Y),Wd=i,Gd=Pd,qd=$l,Kd=Dd.set,Yd=Hd,Xd=rd,Zd=jd,Jd=zd,Qd=ss,$d=Wd.MutationObserver||Wd.WebKitMutationObserver,eu=Wd.document,tu=Wd.process,iu=Wd.Promise,ru=Gd("queueMicrotask");if(!ru){var nu=new Yd,au=function(){var e,t;for(Qd&&(e=tu.domain)&&e.exit();t=nu.get();)try{t()}catch(IU){throw nu.head&&Md(),IU}e&&e.enter()};Xd||Qd||Jd||!$d||!eu?!Zd&&iu&&iu.resolve?((Bd=iu.resolve(void 0)).constructor=iu,Vd=qd(Bd.then,Bd),Md=function(){Vd(au)}):Qd?Md=function(){tu.nextTick(au)}:(Kd=qd(Kd,Wd),Md=function(){Kd(au)}):(Ud=!0,Fd=eu.createTextNode(""),new $d(au).observe(Fd,{characterData:!0}),Md=function(){Fd.data=Ud=!Ud}),ru=function(e){nu.head||Md(),nu.add(e)}}var ou=ru,su=function(e){try{return{error:!1,value:e()}}catch(IU){return{error:!0,value:IU}}},cu=i.Promise,lu=i,du=cu,uu=B,hu=qr,pu=si,fu=tt,mu=os,gu=te;du&&du.prototype;var _u=fu("species"),vu=!1,yu=uu(lu.PromiseRejectionEvent),Eu=hu("Promise",function(){var e=pu(du),t=e!==String(du);if(!t&&66===gu)return!0;if(!gu||gu<51||!/native code/.test(e)){var i=new du(function(e){e(1)}),r=function(e){e(function(){},function(){})};if((i.constructor={})[_u]=r,!(vu=i.then(function(){})instanceof r))return!0}return!(t||"BROWSER"!==mu&&"DENO"!==mu||yu)}),bu={CONSTRUCTOR:Eu,REJECTION_EVENT:yu,SUBCLASSING:vu},wu={},Iu=_e,Tu=TypeError,Su=function(e){var t,i;this.promise=new e(function(e,r){if(void 0!==t||void 0!==i)throw new Tu("Bad Promise constructor");t=e,i=r}),this.resolve=Iu(t),this.reject=Iu(i)};wu.f=function(e){return new Su(e)};var Au,Ru,ku,Cu,Du=en,Ou=ss,Lu=i,Nu=vl,Pu=l,xu=Ji,Mu=uo,Uu=qa,Fu=$c,Bu=_e,Vu=B,Hu=H,ju=Es,zu=Wl,Wu=Dd.set,Gu=ou,qu=function(e,t){try{1===arguments.length?console.error(e):console.error(e,t)}catch(IU){}},Ku=su,Yu=Hd,Xu=ki,Zu=cu,Ju=wu,Qu="Promise",$u=bu.CONSTRUCTOR,eh=bu.REJECTION_EVENT,th=bu.SUBCLASSING,ih=Xu.getterFor(Qu),rh=Xu.set,nh=Zu&&Zu.prototype,ah=Zu,oh=nh,sh=Lu.TypeError,ch=Lu.document,lh=Lu.process,dh=Ju.f,uh=dh,hh=!!(ch&&ch.createEvent&&Lu.dispatchEvent),ph="unhandledrejection",fh=function(e){var t;return!(!Hu(e)||!Vu(t=e.then))&&t},mh=function(e,t){var i,r,n,a=t.value,o=1===t.state,s=o?e.ok:e.fail,c=e.resolve,l=e.reject,d=e.domain;try{s?(o||(2===t.rejection&&Eh(t),t.rejection=1),!0===s?i=a:(d&&d.enter(),i=s(a),d&&(d.exit(),n=!0)),i===e.promise?l(new sh("Promise-chain cycle")):(r=fh(i))?Pu(r,i,c,l):c(i)):l(a)}catch(IU){d&&!n&&d.exit(),l(IU)}},gh=function(e,t){e.notified||(e.notified=!0,Gu(function(){for(var i,r=e.reactions;i=r.get();)mh(i,e);e.notified=!1,t&&!e.rejection&&vh(e)}))},_h=function(e,t,i){var r,n;hh?((r=ch.createEvent("Event")).promise=t,r.reason=i,r.initEvent(e,!1,!0),Lu.dispatchEvent(r)):r={promise:t,reason:i},!eh&&(n=Lu["on"+e])?n(r):e===ph&&qu("Unhandled promise rejection",i)},vh=function(e){Pu(Wu,Lu,function(){var t,i=e.facade,r=e.value;if(yh(e)&&(t=Ku(function(){Ou?lh.emit("unhandledRejection",r,i):_h(ph,i,r)}),e.rejection=Ou||yh(e)?2:1,t.error))throw t.value})},yh=function(e){return 1!==e.rejection&&!e.parent},Eh=function(e){Pu(Wu,Lu,function(){var t=e.facade;Ou?lh.emit("rejectionHandled",t):_h("rejectionhandled",t,e.value)})},bh=function(e,t,i){return function(r){e(t,r,i)}},wh=function(e,t,i){e.done||(e.done=!0,i&&(e=i),e.value=t,e.state=2,gh(e,!0))},Ih=function(e,t,i){if(!e.done){e.done=!0,i&&(e=i);try{if(e.facade===t)throw new sh("Promise can't be resolved itself");var r=fh(t);r?Gu(function(){var i={done:!1};try{Pu(r,t,bh(Ih,i,e),bh(wh,i,e))}catch(IU){wh(i,IU,e)}}):(e.value=t,e.state=1,gh(e,!1))}catch(IU){wh({done:!1},IU,e)}}};if($u&&(oh=(ah=function(e){ju(this,oh),Bu(e),Pu(Au,this);var t=ih(this);try{e(bh(Ih,t),bh(wh,t))}catch(IU){wh(t,IU)}}).prototype,(Au=function(e){rh(this,{type:Qu,done:!1,notified:!1,parent:!1,reactions:new Yu,rejection:!1,state:0,value:null})}).prototype=xu(oh,"then",function(e,t){var i=ih(this),r=dh(zu(this,ah));return i.parent=!0,r.ok=!Vu(e)||e,r.fail=Vu(t)&&t,r.domain=Ou?lh.domain:void 0,0===i.state?i.reactions.add(r):Gu(function(){mh(r,i)}),r.promise}),Ru=function(){var e=new Au,t=ih(e);this.promise=e,this.resolve=bh(Ih,t),this.reject=bh(wh,t)},Ju.f=dh=function(e){return e===ah||e===ku?new Ru(e):uh(e)},Vu(Zu)&&nh!==Object.prototype)){Cu=nh.then,th||xu(nh,"then",function(e,t){var i=this;return new ah(function(e,t){Pu(Cu,i,e,t)}).then(e,t)},{unsafe:!0});try{delete nh.constructor}catch(IU){}Mu&&Mu(nh,oh)}Du({global:!0,constructor:!0,wrap:!0,forced:$u},{Promise:ah}),ku=Nu.Promise,Uu(ah,Qu,!1),Fu(Qu);var Th=Ta,Sh=tt("iterator"),Ah=Array.prototype,Rh=function(e){return void 0!==e&&(Th.Array===e||Ah[Sh]===e)},kh=ln,Ch=Ee,Dh=O,Oh=Ta,Lh=tt("iterator"),Nh=function(e){if(!Dh(e))return Ch(e,Lh)||Ch(e,"@@iterator")||Oh[kh(e)]},Ph=l,xh=_e,Mh=Nt,Uh=pe,Fh=Nh,Bh=TypeError,Vh=function(e,t){var i=arguments.length<2?Fh(e):t;if(xh(i))return Mh(Ph(i,e));throw new Bh(Uh(e)+" is not iterable")},Hh=l,jh=Nt,zh=Ee,Wh=function(e,t,i){var r,n;jh(e);try{if(!(r=zh(e,"return"))){if("throw"===t)throw i;return i}r=Hh(r,e)}catch(IU){n=!0,r=IU}if("throw"===t)throw i;if(n)throw r;return jh(r),i},Gh=$l,qh=l,Kh=Nt,Yh=pe,Xh=Rh,Zh=ur,Jh=G,Qh=Vh,$h=Nh,ep=Wh,tp=TypeError,ip=function(e,t){this.stopped=e,this.result=t},rp=ip.prototype,np=function(e,t,i){var r,n,a,o,s,c,l,d=i&&i.that,u=!(!i||!i.AS_ENTRIES),h=!(!i||!i.IS_RECORD),p=!(!i||!i.IS_ITERATOR),f=!(!i||!i.INTERRUPTED),m=Gh(t,d),g=function(e){var t=r;return r=void 0,t&&ep(t,"normal"),new ip(!0,e)},_=function(e){return u?(Kh(e),f?m(e[0],e[1],g):m(e[0],e[1])):f?m(e,g):m(e)};if(h)r=e.iterator;else if(p)r=e;else{if(!(n=$h(e)))throw new tp(Yh(e)+" is not iterable");if(Xh(n)){for(a=0,o=Zh(e);o>a;a++)if((s=_(e[a]))&&Jh(rp,s))return s;return new ip(!1)}r=Qh(e,n)}for(c=h?e.next:r.next;!(l=qh(c,r)).done;){var v=l.value;try{s=_(v)}catch(IU){if(!r)throw IU;ep(r,"throw",IU)}if("object"==typeof s&&s&&Jh(rp,s))return s}return new ip(!1)},ap=tt("iterator"),op=!1;try{var sp=0,cp={next:function(){return{done:!!sp++}},return:function(){op=!0}};cp[ap]=function(){return this},Array.from(cp,function(){throw 2})}catch(IU){}var lp=function(e,t){try{if(!t&&!op)return!1}catch(IU){return!1}var i=!1;try{var r={};r[ap]=function(){return{next:function(){return{done:i=!0}}}},e(r)}catch(IU){}return i},dp=cu,up=bu.CONSTRUCTOR||!lp(function(e){dp.all(e).then(void 0,function(){})}),hp=l,pp=_e,fp=wu,mp=su,gp=np;en({target:"Promise",stat:!0,forced:up},{all:function(e){var t=this,i=fp.f(t),r=i.resolve,n=i.reject,a=mp(function(){var i=pp(t.resolve),a=[],o=0,s=1;gp(e,function(e){var c=o++,l=!1;s++,hp(i,t,e).then(function(e){l||(l=!0,a[c]=e,--s||r(a))},n)}),--s||r(a)});return a.error&&n(a.value),i.promise}});var _p=en,vp=bu.CONSTRUCTOR,yp=cu,Ep=W,bp=B,wp=Ji,Ip=yp&&yp.prototype;if(_p({target:"Promise",proto:!0,forced:vp,real:!0},{catch:function(e){return this.then(void 0,e)}}),bp(yp)){var Tp=Ep("Promise").prototype.catch;Ip.catch!==Tp&&wp(Ip,"catch",Tp,{unsafe:!0})}var Sp=l,Ap=_e,Rp=wu,kp=su,Cp=np;en({target:"Promise",stat:!0,forced:up},{race:function(e){var t=this,i=Rp.f(t),r=i.reject,n=kp(function(){var n=Ap(t.resolve);Cp(e,function(e){Sp(n,t,e).then(i.resolve,r)})});return n.error&&r(n.value),i.promise}});var Dp=wu;en({target:"Promise",stat:!0,forced:bu.CONSTRUCTOR},{reject:function(e){var t=Dp.f(this);return(0,t.reject)(e),t.promise}});var Op=Nt,Lp=H,Np=wu,Pp=function(e,t){if(Op(e),Lp(t)&&t.constructor===e)return t;var i=Np.f(e);return(0,i.resolve)(t),i.promise},xp=en,Mp=bu.CONSTRUCTOR,Up=Pp;W("Promise"),xp({target:"Promise",stat:!0,forced:Mp},{resolve:function(e){return Up(this,e)}});var Fp=en,Bp=cu,Vp=n,Hp=W,jp=B,zp=Wl,Wp=Pp,Gp=Ji,qp=Bp&&Bp.prototype;if(Fp({target:"Promise",proto:!0,real:!0,forced:!!Bp&&Vp(function(){qp.finally.call({then:function(){}},function(){})})},{finally:function(e){var t=zp(this,Hp("Promise")),i=jp(e);return this.then(i?function(i){return Wp(t,e()).then(function(){return i})}:e,i?function(i){return Wp(t,e()).then(function(){throw i})}:e)}}),jp(Bp)){var Kp=Hp("Promise").prototype.finally;qp.finally!==Kp&&Gp(qp,"finally",Kp,{unsafe:!0})}var Yp=H,Xp=S,Zp=tt("match"),Jp=function(e){var t;return Yp(e)&&(void 0!==(t=e[Zp])?!!t:"RegExp"===Xp(e))},Qp=n,$p=i.RegExp,ef=!Qp(function(){var e=!0;try{$p(".","d")}catch(IU){e=!1}var t={},i="",r=e?"dgimsy":"gimsy",n=function(e,r){Object.defineProperty(t,e,{get:function(){return i+=r,!0}})},a={dotAll:"s",global:"g",ignoreCase:"i",multiline:"m",sticky:"y"};for(var o in e&&(a.hasIndices="d"),a)n(o,a[o]);return Object.getOwnPropertyDescriptor($p.prototype,"flags").get.call(t)!==r||i!==r}),tf={correct:ef},rf=Nt,nf=function(){var e=rf(this),t="";return e.hasIndices&&(t+="d"),e.global&&(t+="g"),e.ignoreCase&&(t+="i"),e.multiline&&(t+="m"),e.dotAll&&(t+="s"),e.unicode&&(t+="u"),e.unicodeSets&&(t+="v"),e.sticky&&(t+="y"),t},af=l,of=He,sf=G,cf=tf,lf=nf,df=RegExp.prototype,uf=cf.correct?function(e){return e.flags}:function(e){return cf.correct||!sf(df,e)||of(e,"flags")?e.flags:af(lf,e)},hf=n,pf=i.RegExp,ff=hf(function(){var e=pf("a","y");return e.lastIndex=2,null!==e.exec("abcd")}),mf=ff||hf(function(){return!pf("a","y").sticky}),gf=ff||hf(function(){var e=pf("^r","gy");return e.lastIndex=2,null!==e.exec("str")}),_f={BROKEN_CARET:gf,MISSED_STICKY:mf,UNSUPPORTED_Y:ff},vf=kt.f,yf=n,Ef=i.RegExp,bf=yf(function(){var e=Ef(".","s");return!(e.dotAll&&e.test("\n")&&"s"===e.flags)}),wf=n,If=i.RegExp,Tf=wf(function(){var e=If("(?<a>b)","g");return"b"!==e.exec("b").groups.a||"bc"!=="b".replace(e,"$<a>c")}),Sf=a,Af=i,Rf=b,kf=qr,Cf=Ks,Df=Kt,Of=ca,Lf=Qi.f,Nf=G,Pf=Jp,xf=hn,Mf=uf,Uf=_f,Ff=function(e,t,i){i in e||vf(e,i,{configurable:!0,get:function(){return t[i]},set:function(e){t[i]=e}})},Bf=Ji,Vf=n,Hf=He,jf=ki.enforce,zf=$c,Wf=bf,Gf=Tf,qf=tt("match"),Kf=Af.RegExp,Yf=Kf.prototype,Xf=Af.SyntaxError,Zf=Rf(Yf.exec),Jf=Rf("".charAt),Qf=Rf("".replace),$f=Rf("".indexOf),em=Rf("".slice),tm=/^\?<[^\s\d!#%&*+<=>@^][^\s!#%&*+<=>@^]*>/,im=/a/g,rm=/a/g,nm=new Kf(im)!==im,am=Uf.MISSED_STICKY,om=Uf.UNSUPPORTED_Y,sm=Sf&&(!nm||am||Wf||Gf||Vf(function(){return rm[qf]=!1,Kf(im)!==im||Kf(rm)===rm||"/a/i"!==String(Kf(im,"i"))}));if(kf("RegExp",sm)){for(var cm=function(e,t){var i,r,n,a,o,s,c=Nf(Yf,this),l=Pf(e),d=void 0===t,u=[],h=e;if(!c&&l&&d&&e.constructor===cm)return e;if((l||Nf(Yf,e))&&(e=e.source,d&&(t=Mf(h))),e=void 0===e?"":xf(e),t=void 0===t?"":xf(t),h=e,Wf&&"dotAll"in im&&(r=!!t&&$f(t,"s")>-1)&&(t=Qf(t,/s/g,"")),i=t,am&&"sticky"in im&&(n=!!t&&$f(t,"y")>-1)&&om&&(t=Qf(t,/y/g,"")),Gf&&(a=function(e){for(var t,i=e.length,r=0,n="",a=[],o=Of(null),s=!1,c=!1,l=0,d="";r<i;r++){if("\\"===(t=Jf(e,r))){if(t+=Jf(e,++r),!c&&"\\"===Jf(t,1)){n+="\\x5c";continue}}else if("]"===t)s=!1;else if(!s)switch(!0){case"["===t:s=!0;break;case"("===t:n+=t,Zf(tm,em(e,r+1))?(r+=2,c=!0,l++):"?"!==Jf(e,r+1)&&l++;continue;case">"===t&&c:if(""===d||Hf(o,d))throw new Xf("Invalid capture group name");o[d]=!0,a[a.length]=[d,l],c=!1,d="";continue}c?d+=t:n+=t}for(var u=0;u<a.length;u++)for(var h="\\k<"+a[u][0]+">",p="\\"+a[u][1];$f(n,h)>-1;)n=Qf(n,h,p);return[n,a]}(e),e=a[0],u=a[1]),o=Cf(Kf(e,t),c?this:Yf,cm),(r||n||u.length)&&(s=jf(o),r&&(s.dotAll=!0,s.raw=cm(function(e){for(var t,i=e.length,r=0,n="",a=!1;r<i;r++)"\\"!==(t=Jf(e,r))?a||"."!==t?("["===t?a=!0:"]"===t&&(a=!1),n+=t):n+="[\\s\\S]":n+=t+Jf(e,++r);return n}(e),i)),n&&(s.sticky=!0),u.length&&(s.groups=u)),e!==h)try{Df(o,"source",""===h?"(?:)":h)}catch(IU){}return o},lm=Lf(Kf),dm=0;lm.length>dm;)Ff(cm,Kf,lm[dm++]);Yf.constructor=cm,cm.prototype=Yf,Bf(Af,"RegExp",cm,{constructor:!0})}zf("RegExp");var um=l,hm=b,pm=hn,fm=nf,mm=_f,gm=ca,_m=ki.get,vm=bf,ym=Tf,Em=xe("native-string-replace",String.prototype.replace),bm=RegExp.prototype.exec,wm=bm,Im=hm("".charAt),Tm=hm("".indexOf),Sm=hm("".replace),Am=hm("".slice),Rm=function(){var e=/a/,t=/b*/g;return um(bm,e,"a"),um(bm,t,"a"),0!==e.lastIndex||0!==t.lastIndex}(),km=mm.BROKEN_CARET,Cm=void 0!==/()??/.exec("")[1],Dm=function(e,t){for(var i=e.groups=gm(null),r=0;r<t.length;r++){var n=t[r];i[n[0]]=e[n[1]]}};(Rm||Cm||km||vm||ym)&&(wm=function(e){var t,i,r,n=this,a=_m(n),o=pm(e),s=a.raw;if(s)return s.lastIndex=n.lastIndex,t=um(wm,s,o),n.lastIndex=s.lastIndex,t&&a.groups&&Dm(t,a.groups),t;var c=a.groups,l=km&&n.sticky,d=um(fm,n),u=n.source,h=0,p=o;if(l){d=Sm(d,"y",""),-1===Tm(d,"g")&&(d+="g"),p=Am(o,n.lastIndex);var f=n.lastIndex>0&&Im(o,n.lastIndex-1);n.lastIndex>0&&(!n.multiline||n.multiline&&"\n"!==f&&"\r"!==f&&"\u2028"!==f&&"\u2029"!==f)&&(u="(?: (?:"+u+"))",p=" "+p,h++),i=new RegExp("^(?:"+u+")",d)}Cm&&(i=new RegExp("^"+u+"$(?!\\s)",d)),Rm&&(r=n.lastIndex);var m=um(bm,l?i:n,p);return l?m?(m.input=o,m[0]=Am(m[0],h),m.index=n.lastIndex,n.lastIndex+=m[0].length):n.lastIndex=0:Rm&&m&&(n.lastIndex=n.global?m.index+m[0].length:r),Cm&&m&&m.length>1&&um(Em,m[0],i,function(){for(var e=1;e<arguments.length-2;e++)void 0===arguments[e]&&(m[e]=void 0)}),m&&c&&Dm(m,c),m});var Om=wm;en({target:"RegExp",proto:!0,forced:/./.exec!==Om},{exec:Om});var Lm=mn,Nm=tf,Pm=nf;a&&!Nm.correct&&(Lm(RegExp.prototype,"flags",{configurable:!0,get:Pm}),Nm.correct=!0);var xm=ir,Mm=hn,Um=P,Fm=RangeError,Bm=Math.floor,Vm=b,Hm=lr,jm=hn,zm=P,Wm=Vm(function(e){var t=Mm(Um(this)),i="",r=xm(e);if(r<0||Infinity===r)throw new Fm("Wrong number of repetitions");for(;r>0;(r=Bm(r/2))&&(t+=t))r%2&&(i+=t);return i}),Gm=Vm("".slice),qm=Math.ceil,Km=function(e){return function(t,i,r){var n=jm(zm(t)),a=Hm(i),o=n.length;if(a<=o)return n;var s,c,l=void 0===r?" ":jm(r);return""===l?n:((c=Wm(l,qm((s=a-o)/l.length))).length>s&&(c=Gm(c,0,s)),e?n+c:c+n)}},Ym={start:Km(!1),end:Km(!0)},Xm=/Version\/10(?:\.\d+){1,2}(?: [\w./]+)?(?: Mobile\/\w+)? Safari\//.test(Y),Zm=Ym.start;en({target:"String",proto:!0,forced:Xm},{padStart:function(e){return Zm(this,e,arguments.length>1?arguments[1]:void 0)}});var Jm=l,Qm=Ji,$m=Om,eg=n,tg=tt,ig=Kt,rg=tg("species"),ng=RegExp.prototype,ag=b,og=ir,sg=hn,cg=P,lg=ag("".charAt),dg=ag("".charCodeAt),ug=ag("".slice),hg=function(e){return function(t,i){var r,n,a=sg(cg(t)),o=og(i),s=a.length;return o<0||o>=s?e?"":void 0:(r=dg(a,o))<55296||r>56319||o+1===s||(n=dg(a,o+1))<56320||n>57343?e?lg(a,o):r:e?ug(a,o,o+2):n-56320+(r-55296<<10)+65536}},pg={codeAt:hg(!1),charAt:hg(!0)},fg=pg.charAt,mg=b,gg=Fe,_g=Math.floor,vg=mg("".charAt),yg=mg("".replace),Eg=mg("".slice),bg=/\$([$&'`]|\d{1,2}|<[^>]*>)/g,wg=/\$([$&'`]|\d{1,2})/g,Ig=function(e,t,i,r,n,a){var o=i+e.length,s=r.length,c=wg;return void 0!==n&&(n=gg(n),c=bg),yg(a,c,function(a,c){var l;switch(vg(c,0)){case"$":return"$";case"&":return e;case"`":return Eg(t,0,i);case"'":return Eg(t,o);case"<":l=n[Eg(c,1,-1)];break;default:var d=+c;if(0===d)return a;if(d>s){var u=_g(d/10);return 0===u?a:u<=s?void 0===r[u-1]?vg(c,1):r[u-1]+vg(c,1):a}l=r[d-1]}return void 0===l?"":l})},Tg=l,Sg=Nt,Ag=B,Rg=S,kg=Om,Cg=TypeError,Dg=Xl,Og=l,Lg=b,Ng=function(e,t,i,r){var n=tg(e),a=!eg(function(){var t={};return t[n]=function(){return 7},7!==""[e](t)}),o=a&&!eg(function(){var t=!1,i=/a/;if("split"===e){var r={};r[rg]=function(){return i},(i={constructor:r,flags:""})[n]=/./[n]}return i.exec=function(){return t=!0,null},i[n](""),!t});if(!a||!o||i){var s=/./[n],c=t(n,""[e],function(e,t,i,r,n){var o=t.exec;return o===$m||o===ng.exec?a&&!n?{done:!0,value:Jm(s,t,i,r)}:{done:!0,value:Jm(e,i,t,r)}:{done:!1}});Qm(String.prototype,e,c[0]),Qm(ng,n,c[1])}r&&ig(ng[n],"sham",!0)},Pg=n,xg=Nt,Mg=B,Ug=H,Fg=ir,Bg=lr,Vg=hn,Hg=P,jg=function(e,t,i){return t+(i&&fg(e,t).length||1)},zg=Ee,Wg=Ig,Gg=uf,qg=function(e,t){var i=e.exec;if(Ag(i)){var r=Tg(i,e,t);return null!==r&&Sg(r),r}if("RegExp"===Rg(e))return Tg(kg,e,t);throw new Cg("RegExp#exec called on incompatible receiver")},Kg=tt("replace"),Yg=Math.max,Xg=Math.min,Zg=Lg([].concat),Jg=Lg([].push),Qg=Lg("".indexOf),$g=Lg("".slice),e_=function(e){return void 0===e?e:String(e)},t_="$0"==="a".replace(/./,"$0"),i_=!!/./[Kg]&&""===/./[Kg]("a","$0"),r_=!Pg(function(){var e=/./;return e.exec=function(){var e=[];return e.groups={a:"7"},e},"7"!=="".replace(e,"$<a>")});Ng("replace",function(e,t,i){var r=i_?"$":"$0";return[function(e,i){var r=Hg(this),n=Ug(e)?zg(e,Kg):void 0;return n?Og(n,e,r,i):Og(t,Vg(r),e,i)},function(e,n){var a=xg(this),o=Vg(e),s=Mg(n);s||(n=Vg(n));var c=Vg(Gg(a));if("string"==typeof n&&!~Qg(n,r)&&!~Qg(n,"$<")&&!~Qg(c,"y")){var l=i(t,a,o,n);if(l.done)return l.value}var d,u=!!~Qg(c,"g");u&&(d=!!~Qg(c,"u")||!!~Qg(c,"v"),a.lastIndex=0);for(var h,p=[];null!==(h=qg(a,o))&&(Jg(p,h),u);){""===Vg(h[0])&&(a.lastIndex=jg(o,Bg(a.lastIndex),d))}for(var f="",m=0,g=0;g<p.length;g++){for(var _,v=Vg((h=p[g])[0]),y=Yg(Xg(Fg(h.index),o.length),0),E=[],b=1;b<h.length;b++)Jg(E,e_(h[b]));var w=h.groups;if(s){var I=Zg([v],E,y,o);void 0!==w&&Jg(I,w),_=Vg(Dg(n,void 0,I))}else _=Wg(v,o,y,E,w,n);y>=m&&(f+=$g(o,m,y)+_,m=y+v.length)}return f+$g(o,m)}]},!r_||!t_||i_);var n_="\t\n\v\f\r                 \u2028\u2029\ufeff",a_=P,o_=hn,s_=n_,c_=b("".replace),l_=RegExp("^["+s_+"]+"),d_=RegExp("(^|[^"+s_+"])["+s_+"]+$"),u_=function(e){return function(t){var i=o_(a_(t));return 1&e&&(i=c_(i,l_,"")),2&e&&(i=c_(i,d_,"$1")),i}},h_={start:u_(1),end:u_(2),trim:u_(3)},p_=ei.PROPER,f_=n,m_=n_,g_=h_.trim;en({target:"String",proto:!0,forced:function(e){return f_(function(){return!!m_[e]()||"​…᠎"!=="​…᠎"[e]()||p_&&m_[e].name!==e})}("trim")},{trim:function(){return g_(this)}});var __,v_,y_,E_={exports:{}},b_=ms,w_=a,I_=i,T_=B,S_=H,A_=He,R_=ln,k_=pe,C_=Kt,D_=Ji,O_=mn,L_=G,N_=Na,P_=uo,x_=tt,M_=qe,U_=ki.enforce,F_=ki.get,B_=I_.Int8Array,V_=B_&&B_.prototype,H_=I_.Uint8ClampedArray,j_=H_&&H_.prototype,z_=B_&&N_(B_),W_=V_&&N_(V_),G_=Object.prototype,q_=I_.TypeError,K_=x_("toStringTag"),Y_=M_("TYPED_ARRAY_TAG"),X_="TypedArrayConstructor",Z_=b_&&!!P_&&"Opera"!==R_(I_.opera),J_=!1,Q_={Int8Array:1,Uint8Array:1,Uint8ClampedArray:1,Int16Array:2,Uint16Array:2,Int32Array:4,Uint32Array:4,Float32Array:4,Float64Array:8},$_={BigInt64Array:8,BigUint64Array:8},ev=function(e){var t=N_(e);if(S_(t)){var i=F_(t);return i&&A_(i,X_)?i[X_]:ev(t)}},tv=function(e){if(!S_(e))return!1;var t=R_(e);return A_(Q_,t)||A_($_,t)};for(__ in Q_)(y_=(v_=I_[__])&&v_.prototype)?U_(y_)[X_]=v_:Z_=!1;for(__ in $_)(y_=(v_=I_[__])&&v_.prototype)&&(U_(y_)[X_]=v_);if((!Z_||!T_(z_)||z_===Function.prototype)&&(z_=function(){throw new q_("Incorrect invocation")},Z_))for(__ in Q_)I_[__]&&P_(I_[__],z_);if((!Z_||!W_||W_===G_)&&(W_=z_.prototype,Z_))for(__ in Q_)I_[__]&&P_(I_[__].prototype,W_);if(Z_&&N_(j_)!==W_&&P_(j_,W_),w_&&!A_(W_,K_))for(__ in J_=!0,O_(W_,K_,{configurable:!0,get:function(){return S_(this)?this[Y_]:void 0}}),Q_)I_[__]&&C_(I_[__].prototype,Y_,__);var iv={NATIVE_ARRAY_BUFFER_VIEWS:Z_,TYPED_ARRAY_TAG:J_&&Y_,aTypedArray:function(e){if(tv(e))return e;throw new q_("Target is not a typed array")},aTypedArrayConstructor:function(e){if(T_(e)&&(!P_||L_(z_,e)))return e;throw new q_(k_(e)+" is not a typed array constructor")},exportTypedArrayMethod:function(e,t,i,r){if(w_){if(i)for(var n in Q_){var a=I_[n];if(a&&A_(a.prototype,e))try{delete a.prototype[e]}catch(IU){try{a.prototype[e]=t}catch(o){}}}W_[e]&&!i||D_(W_,e,i?t:Z_&&V_[e]||t,r)}},exportTypedArrayStaticMethod:function(e,t,i){var r,n;if(w_){if(P_){if(i)for(r in Q_)if((n=I_[r])&&A_(n,e))try{delete n[e]}catch(IU){}if(z_[e]&&!i)return;try{return D_(z_,e,i?t:Z_&&z_[e]||t)}catch(IU){}}for(r in Q_)!(n=I_[r])||n[e]&&!i||D_(n,e,t)}},getTypedArrayConstructor:ev,isView:function(e){if(!S_(e))return!1;var t=R_(e);return"DataView"===t||A_(Q_,t)||A_($_,t)},isTypedArray:tv,TypedArray:z_,TypedArrayPrototype:W_},rv=i,nv=n,av=lp,ov=iv.NATIVE_ARRAY_BUFFER_VIEWS,sv=rv.ArrayBuffer,cv=rv.Int8Array,lv=!ov||!nv(function(){cv(1)})||!nv(function(){new cv(-1)})||!av(function(e){new cv,new cv(null),new cv(1.5),new cv(e)},!0)||nv(function(){return 1!==new cv(new sv(2),1,void 0).length}),dv=H,uv=Math.floor,hv=Number.isInteger||function(e){return!dv(e)&&isFinite(e)&&uv(e)===e},pv=ir,fv=RangeError,mv=function(e){var t=pv(e);if(t<0)throw new fv("The argument can't be less than 0");return t},gv=RangeError,_v=function(e,t){var i=mv(e);if(i%t)throw new gv("Wrong offset");return i},vv=Math.floor,yv=ln,Ev=lt,bv=TypeError,wv=function(e){var t=Ev(e,"number");if("number"==typeof t)throw new bv("Can't convert number to bigint");return BigInt(t)},Iv=$l,Tv=l,Sv=_e,Av=Bl,Rv=Fe,kv=ur,Cv=Vh,Dv=Nh,Ov=Rh,Lv=function(e){var t=yv(e);return"BigInt64Array"===t||"BigUint64Array"===t},Nv=iv.aTypedArrayConstructor,Pv=wv,xv=function(e){var t=Av(this),i=arguments.length,r=i>1?arguments[1]:void 0,n=void 0!==r;n&&Sv(r);var a,o,s,c,l,d,u,h,p=Rv(e),f=Dv(p);if(f&&!Ov(f))for(h=(u=Cv(p,f)).next,p=[];!(d=Tv(h,u)).done;)p.push(d.value);for(n&&i>2&&(r=Iv(r,arguments[2])),o=kv(p),s=new(Nv(t))(o),c=Lv(s),a=0;o>a;a++)l=n?r(p[a],a):p[a],s[a]=c?Pv(l):+l;return s},Mv=ds,Uv=xl,Fv=H,Bv=tt("species"),Vv=Array,Hv=function(e){var t;return Mv(e)&&(t=e.constructor,(Uv(t)&&(t===Vv||Mv(t.prototype))||Fv(t)&&null===(t=t[Bv]))&&(t=void 0)),void 0===t?Vv:t},jv=a,zv=kt,Wv=g,Gv=function(e,t,i){jv?zv.f(e,t,Wv(0,i)):e[t]=i},qv=$l,Kv=D,Yv=Fe,Xv=ur,Zv=function(e,t){return new(Hv(e))(0===t?0:t)},Jv=Gv,Qv=function(e){var t=1===e,i=2===e,r=3===e,n=4===e,a=6===e,o=7===e,s=5===e||a;return function(c,l,d){for(var u,h,p=Yv(c),f=Kv(p),m=Xv(f),g=qv(l,d),_=0,v=0,y=t?Zv(c,m):i||o?Zv(c,0):void 0;m>_;_++)if((s||_ in f)&&(h=g(u=f[_],_,p),e))if(t)Jv(y,_,h);else if(h)switch(e){case 3:return!0;case 5:return u;case 6:return _;case 2:Jv(y,v++,u)}else switch(e){case 4:return!1;case 7:Jv(y,v++,u)}return a?-1:r||n?n:y}},$v={forEach:Qv(0),map:Qv(1),filter:Qv(2),some:Qv(3),every:Qv(4),find:Qv(5),findIndex:Qv(6),filterReject:Qv(7)},ey=ur,ty=en,iy=i,ry=l,ny=a,ay=lv,oy=iv,sy=Yc,cy=Es,ly=g,dy=Kt,uy=hv,hy=Ts,py=_v,fy=function(e){var t=+e;if(t!=t||t<=0)return 0;if(t>=255)return 255;var i=vv(t);return i+.5<t?i+1:t<i+.5||i%2==0?i:i+1},my=ht,gy=He,_y=ln,vy=H,yy=ue,Ey=ca,by=G,wy=uo,Iy=Qi.f,Ty=xv,Sy=$v.forEach,Ay=$c,Ry=mn,ky=kt,Cy=r,Dy=function(e,t,i){for(var r=0,n=arguments.length>2?i:ey(t),a=new e(n);n>r;)a[r]=t[r++];return a},Oy=Ks,Ly=ki.get,Ny=ki.set,Py=ki.enforce,xy=ky.f,My=Cy.f,Uy=iy.RangeError,Fy=sy.ArrayBuffer,By=Fy.prototype,Vy=sy.DataView,Hy=oy.NATIVE_ARRAY_BUFFER_VIEWS,jy=oy.TYPED_ARRAY_TAG,zy=oy.TypedArray,Wy=oy.TypedArrayPrototype,Gy=oy.isTypedArray,qy="BYTES_PER_ELEMENT",Ky="Wrong length",Yy=function(e,t){Ry(e,t,{configurable:!0,get:function(){return Ly(this)[t]}})},Xy=function(e){var t;return by(By,e)||"ArrayBuffer"===(t=_y(e))||"SharedArrayBuffer"===t},Zy=function(e,t){return Gy(e)&&!yy(t)&&t in e&&uy(+t)&&t>=0},Jy=function(e,t){return t=my(t),Zy(e,t)?ly(2,e[t]):My(e,t)},Qy=function(e,t,i){return t=my(t),!(Zy(e,t)&&vy(i)&&gy(i,"value"))||gy(i,"get")||gy(i,"set")||i.configurable||gy(i,"writable")&&!i.writable||gy(i,"enumerable")&&!i.enumerable?xy(e,t,i):(e[t]=i.value,e)};ny?(Hy||(Cy.f=Jy,ky.f=Qy,Yy(Wy,"buffer"),Yy(Wy,"byteOffset"),Yy(Wy,"byteLength"),Yy(Wy,"length")),ty({target:"Object",stat:!0,forced:!Hy},{getOwnPropertyDescriptor:Jy,defineProperty:Qy}),E_.exports=function(e,t,i){var r=e.match(/\d+/)[0]/8,n=e+(i?"Clamped":"")+"Array",a="get"+e,o="set"+e,s=iy[n],c=s,l=c&&c.prototype,d={},u=function(e,t){xy(e,t,{get:function(){return function(e,t){var i=Ly(e);return i.view[a](t*r+i.byteOffset,!0)}(this,t)},set:function(e){return function(e,t,n){var a=Ly(e);a.view[o](t*r+a.byteOffset,i?fy(n):n,!0)}(this,t,e)},enumerable:!0})};Hy?ay&&(c=t(function(e,t,i,n){return cy(e,l),Oy(vy(t)?Xy(t)?void 0!==n?new s(t,py(i,r),n):void 0!==i?new s(t,py(i,r)):new s(t):Gy(t)?Dy(c,t):ry(Ty,c,t):new s(hy(t)),e,c)}),wy&&wy(c,zy),Sy(Iy(s),function(e){e in c||dy(c,e,s[e])}),c.prototype=l):(c=t(function(e,t,i,n){cy(e,l);var a,o,s,d=0,h=0;if(vy(t)){if(!Xy(t))return Gy(t)?Dy(c,t):ry(Ty,c,t);a=t,h=py(i,r);var p=t.byteLength;if(void 0===n){if(p%r)throw new Uy(Ky);if((o=p-h)<0)throw new Uy(Ky)}else if((o=hy(n)*r)+h>p)throw new Uy(Ky);s=o/r}else s=hy(t),a=new Fy(o=s*r);for(Ny(e,{buffer:a,byteOffset:h,byteLength:o,length:s,view:new Vy(a)});d<s;)u(e,d++)}),wy&&wy(c,zy),l=c.prototype=Ey(Wy)),l.constructor!==c&&dy(l,"constructor",c),Py(l).TypedArrayConstructor=c,jy&&dy(l,jy,n);var h=c!==s;d[n]=c,ty({global:!0,constructor:!0,forced:h,sham:!Hy},d),qy in c||dy(c,qy,r),