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