UNPKG

@brionmario-experimental/asgardeo-auth-spa

Version:

Asgardeo Auth SPA SDK to be used in Single-Page Applications.

1 lines 441 kB
var e="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:{};function t(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}function i(e){if(e.__esModule)return e;var t=Object.defineProperty({},"__esModule",{value:!0});return Object.keys(e).forEach((function(i){var n=Object.getOwnPropertyDescriptor(e,i);Object.defineProperty(t,i,n.get?n:{enumerable:!0,get:function(){return e[i]}})})),t}var n=function(e){return e&&e.Math==Math&&e},l=n("object"==typeof globalThis&&globalThis)||n("object"==typeof window&&window)||n("object"==typeof self&&self)||n("object"==typeof e&&e)||function(){return this}()||Function("return this")(),o=l,c=function(e){try{return!!e()}catch(e){return!0}},a=!c((function(){var e=function(){}.bind();return"function"!=typeof e||e.hasOwnProperty("prototype")})),r=a,d=Function.prototype,s=d.bind,u=d.call,h=r&&s.bind(u,u),Z=r?function(e){return e&&h(e)}:function(e){return e&&function(){return u.apply(e,arguments)}},b=TypeError,m=function(e){if(null==e)throw b("Can't call method on "+e);return e},I=m,p=Object,g=function(e){return p(I(e))},G=g,y=Z({}.hasOwnProperty),X=Object.hasOwn||function(e,t){return y(G(e),t)},V={},W={exports:{}},C=l,R=Object.defineProperty,v=function(e,t){try{R(C,e,{value:t,configurable:!0,writable:!0})}catch(i){C[e]=t}return t},S=v,f=l["__core-js_shared__"]||S("__core-js_shared__",{}),Y=f;(W.exports=function(e,t){return Y[e]||(Y[e]=void 0!==t?t:{})})("versions",[]).push({version:"3.24.0",mode:"global",copyright:"© 2014-2022 Denis Pushkarev (zloirock.ru)",license:"https://github.com/zloirock/core-js/blob/v3.24.0/LICENSE",source:"https://github.com/zloirock/core-js"});var K,N,L=Z,J=0,U=Math.random(),k=L(1..toString),H=function(e){return"Symbol("+(void 0===e?"":e)+")_"+k(++J+U,36)},A=function(e){return"function"==typeof e},T=l,B=A,F=function(e){return B(e)?e:void 0},x=function(e,t){return arguments.length<2?F(T[e]):T[e]&&T[e][t]},z=x("navigator","userAgent")||"",w=l,P=z,Q=w.process,j=w.Deno,M=Q&&Q.versions||j&&j.version,E=M&&M.v8;E&&(N=(K=E.split("."))[0]>0&&K[0]<4?1:+(K[0]+K[1])),!N&&P&&(!(K=P.match(/Edge\/(\d+)/))||K[1]>=74)&&(K=P.match(/Chrome\/(\d+)/))&&(N=+K[1]);var D=N,O=D,_=c,q=!!Object.getOwnPropertySymbols&&!_((function(){var e=Symbol();return!String(e)||!(Object(e)instanceof Symbol)||!Symbol.sham&&O&&O<41})),$=q&&!Symbol.sham&&"symbol"==typeof Symbol.iterator,ee=l,te=W.exports,ie=X,ne=H,le=q,oe=$,ce=te("wks"),ae=ee.Symbol,re=ae&&ae.for,de=oe?ae:ae&&ae.withoutSetter||ne,se=function(e){if(!ie(ce,e)||!le&&"string"!=typeof ce[e]){var t="Symbol."+e;le&&ie(ae,e)?ce[e]=ae[e]:ce[e]=oe&&re?re(t):de(t)}return ce[e]},ue=se;V.f=ue;var he={},Ze=!c((function(){return 7!=Object.defineProperty({},1,{get:function(){return 7}})[1]})),be=A,me=function(e){return"object"==typeof e?null!==e:be(e)},Ie=me,pe=l.document,ge=Ie(pe)&&Ie(pe.createElement),Ge=function(e){return ge?pe.createElement(e):{}},ye=Ge,Xe=!Ze&&!c((function(){return 7!=Object.defineProperty(ye("div"),"a",{get:function(){return 7}}).a})),Ve=Ze&&c((function(){return 42!=Object.defineProperty((function(){}),"prototype",{value:42,writable:!1}).prototype})),We=me,Ce=String,Re=TypeError,ve=function(e){if(We(e))return e;throw Re(Ce(e)+" is not an object")},Se=a,fe=Function.prototype.call,Ye=Se?fe.bind(fe):function(){return fe.apply(fe,arguments)},Ke=Z({}.isPrototypeOf),Ne=x,Le=A,Je=Ke,Ue=Object,ke=$?function(e){return"symbol"==typeof e}:function(e){var t=Ne("Symbol");return Le(t)&&Je(t.prototype,Ue(e))},He=String,Ae=function(e){try{return He(e)}catch(e){return"Object"}},Te=A,Be=Ae,Fe=TypeError,xe=function(e){if(Te(e))return e;throw Fe(Be(e)+" is not a function")},ze=xe,we=function(e,t){var i=e[t];return null==i?void 0:ze(i)},Pe=Ye,Qe=A,je=me,Me=TypeError,Ee=Ye,De=me,Oe=ke,_e=we,qe=function(e,t){var i,n;if("string"===t&&Qe(i=e.toString)&&!je(n=Pe(i,e)))return n;if(Qe(i=e.valueOf)&&!je(n=Pe(i,e)))return n;if("string"!==t&&Qe(i=e.toString)&&!je(n=Pe(i,e)))return n;throw Me("Can't convert object to primitive value")},$e=TypeError,et=se("toPrimitive"),tt=function(e,t){if(!De(e)||Oe(e))return e;var i,n=_e(e,et);if(n){if(void 0===t&&(t="default"),i=Ee(n,e,t),!De(i)||Oe(i))return i;throw $e("Can't convert object to primitive value")}return void 0===t&&(t="number"),qe(e,t)},it=tt,nt=ke,lt=function(e){var t=it(e,"string");return nt(t)?t:t+""},ot=Ze,ct=Xe,at=Ve,rt=ve,dt=lt,st=TypeError,ut=Object.defineProperty,ht=Object.getOwnPropertyDescriptor;he.f=ot?at?function(e,t,i){if(rt(e),t=dt(t),rt(i),"function"==typeof e&&"prototype"===t&&"value"in i&&"writable"in i&&!i.writable){var n=ht(e,t);n&&n.writable&&(e[t]=i.value,i={configurable:"configurable"in i?i.configurable:n.configurable,enumerable:"enumerable"in i?i.enumerable:n.enumerable,writable:!1})}return ut(e,t,i)}:ut:function(e,t,i){if(rt(e),t=dt(t),rt(i),ct)try{return ut(e,t,i)}catch(e){}if("get"in i||"set"in i)throw st("Accessors not supported");return"value"in i&&(e[t]=i.value),e};var Zt=o,bt=X,mt=V,It=he.f,pt=function(e){var t=Zt.Symbol||(Zt.Symbol={});bt(t,e)||It(t,e,{value:mt.f(e)})};pt("matchAll");var gt={},Gt={},yt={}.propertyIsEnumerable,Xt=Object.getOwnPropertyDescriptor,Vt=Xt&&!yt.call({1:2},1);Gt.f=Vt?function(e){var t=Xt(this,e);return!!t&&t.enumerable}:yt;var Wt=function(e,t){return{enumerable:!(1&e),configurable:!(2&e),writable:!(4&e),value:t}},Ct=Z,Rt=Ct({}.toString),vt=Ct("".slice),St=function(e){return vt(Rt(e),8,-1)},ft=c,Yt=St,Kt=Object,Nt=Z("".split),Lt=ft((function(){return!Kt("z").propertyIsEnumerable(0)}))?function(e){return"String"==Yt(e)?Nt(e,""):Kt(e)}:Kt,Jt=Lt,Ut=m,kt=function(e){return Jt(Ut(e))},Ht=Ze,At=Ye,Tt=Gt,Bt=Wt,Ft=kt,xt=lt,zt=X,wt=Xe,Pt=Object.getOwnPropertyDescriptor;gt.f=Ht?Pt:function(e,t){if(e=Ft(e),t=xt(t),wt)try{return Pt(e,t)}catch(e){}if(zt(e,t))return Bt(!At(Tt.f,e,t),e[t])};var Qt=he,jt=Wt,Mt=Ze?function(e,t,i){return Qt.f(e,t,jt(1,i))}:function(e,t,i){return e[t]=i,e},Et={exports:{}},Dt=Ze,Ot=X,_t=Function.prototype,qt=Dt&&Object.getOwnPropertyDescriptor,$t=Ot(_t,"name"),ei={EXISTS:$t,PROPER:$t&&"something"===function(){}.name,CONFIGURABLE:$t&&(!Dt||Dt&&qt(_t,"name").configurable)},ti=A,ii=f,ni=Z(Function.toString);ti(ii.inspectSource)||(ii.inspectSource=function(e){return ni(e)});var li,oi,ci,ai=ii.inspectSource,ri=A,di=ai,si=l.WeakMap,ui=ri(si)&&/native code/.test(di(si)),hi=W.exports,Zi=H,bi=hi("keys"),mi=function(e){return bi[e]||(bi[e]=Zi(e))},Ii={},pi=ui,gi=l,Gi=Z,yi=me,Xi=Mt,Vi=X,Wi=f,Ci=mi,Ri=Ii,vi=gi.TypeError,Si=gi.WeakMap;if(pi||Wi.state){var fi=Wi.state||(Wi.state=new Si),Yi=Gi(fi.get),Ki=Gi(fi.has),Ni=Gi(fi.set);li=function(e,t){if(Ki(fi,e))throw new vi("Object already initialized");return t.facade=e,Ni(fi,e,t),t},oi=function(e){return Yi(fi,e)||{}},ci=function(e){return Ki(fi,e)}}else{var Li=Ci("state");Ri[Li]=!0,li=function(e,t){if(Vi(e,Li))throw new vi("Object already initialized");return t.facade=e,Xi(e,Li,t),t},oi=function(e){return Vi(e,Li)?e[Li]:{}},ci=function(e){return Vi(e,Li)}}var Ji={set:li,get:oi,has:ci,enforce:function(e){return ci(e)?oi(e):li(e,{})},getterFor:function(e){return function(t){var i;if(!yi(t)||(i=oi(t)).type!==e)throw vi("Incompatible receiver, "+e+" required");return i}}},Ui=c,ki=A,Hi=X,Ai=Ze,Ti=ei.CONFIGURABLE,Bi=ai,Fi=Ji.enforce,xi=Ji.get,zi=Object.defineProperty,wi=Ai&&!Ui((function(){return 8!==zi((function(){}),"length",{value:8}).length})),Pi=String(String).split("String"),Qi=Et.exports=function(e,t,i){"Symbol("===String(t).slice(0,7)&&(t="["+String(t).replace(/^Symbol\(([^)]*)\)/,"$1")+"]"),i&&i.getter&&(t="get "+t),i&&i.setter&&(t="set "+t),(!Hi(e,"name")||Ti&&e.name!==t)&&(Ai?zi(e,"name",{value:t,configurable:!0}):e.name=t),wi&&i&&Hi(i,"arity")&&e.length!==i.arity&&zi(e,"length",{value:i.arity});try{i&&Hi(i,"constructor")&&i.constructor?Ai&&zi(e,"prototype",{writable:!1}):e.prototype&&(e.prototype=void 0)}catch(e){}var n=Fi(e);return Hi(n,"source")||(n.source=Pi.join("string"==typeof t?t:"")),e};Function.prototype.toString=Qi((function(){return ki(this)&&xi(this).source||Bi(this)}),"toString");var ji=A,Mi=he,Ei=Et.exports,Di=v,Oi=function(e,t,i,n){n||(n={});var l=n.enumerable,o=void 0!==n.name?n.name:t;if(ji(i)&&Ei(i,o,n),n.global)l?e[t]=i:Di(t,i);else{try{n.unsafe?e[t]&&(l=!0):delete e[t]}catch(e){}l?e[t]=i:Mi.f(e,t,{value:i,enumerable:!1,configurable:!n.nonConfigurable,writable:!n.nonWritable})}return e},_i={},qi=Math.ceil,$i=Math.floor,en=Math.trunc||function(e){var t=+e;return(t>0?$i:qi)(t)},tn=en,nn=function(e){var t=+e;return t!=t||0===t?0:tn(t)},ln=nn,on=Math.max,cn=Math.min,an=function(e,t){var i=ln(e);return i<0?on(i+t,0):cn(i,t)},rn=nn,dn=Math.min,sn=function(e){return e>0?dn(rn(e),9007199254740991):0},un=sn,hn=function(e){return un(e.length)},Zn=kt,bn=an,mn=hn,In=function(e){return function(t,i,n){var l,o=Zn(t),c=mn(o),a=bn(n,c);if(e&&i!=i){for(;c>a;)if((l=o[a++])!=l)return!0}else for(;c>a;a++)if((e||a in o)&&o[a]===i)return e||a||0;return!e&&-1}},pn={includes:In(!0),indexOf:In(!1)},gn=X,Gn=kt,yn=pn.indexOf,Xn=Ii,Vn=Z([].push),Wn=function(e,t){var i,n=Gn(e),l=0,o=[];for(i in n)!gn(Xn,i)&&gn(n,i)&&Vn(o,i);for(;t.length>l;)gn(n,i=t[l++])&&(~yn(o,i)||Vn(o,i));return o},Cn=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"],Rn=Wn,vn=Cn.concat("length","prototype");_i.f=Object.getOwnPropertyNames||function(e){return Rn(e,vn)};var Sn={};Sn.f=Object.getOwnPropertySymbols;var fn=x,Yn=_i,Kn=Sn,Nn=ve,Ln=Z([].concat),Jn=fn("Reflect","ownKeys")||function(e){var t=Yn.f(Nn(e)),i=Kn.f;return i?Ln(t,i(e)):t},Un=X,kn=Jn,Hn=gt,An=he,Tn=c,Bn=A,Fn=/#|\.prototype\./,xn=function(e,t){var i=wn[zn(e)];return i==Qn||i!=Pn&&(Bn(t)?Tn(t):!!t)},zn=xn.normalize=function(e){return String(e).replace(Fn,".").toLowerCase()},wn=xn.data={},Pn=xn.NATIVE="N",Qn=xn.POLYFILL="P",jn=xn,Mn=l,En=gt.f,Dn=Mt,On=Oi,_n=v,qn=function(e,t,i){for(var n=kn(t),l=An.f,o=Hn.f,c=0;c<n.length;c++){var a=n[c];Un(e,a)||i&&Un(i,a)||l(e,a,o(t,a))}},$n=jn,el=function(e,t){var i,n,l,o,c,a=e.target,r=e.global,d=e.stat;if(i=r?Mn:d?Mn[a]||_n(a,{}):(Mn[a]||{}).prototype)for(n in t){if(o=t[n],l=e.dontCallGetSet?(c=En(i,n))&&c.value:i[n],!$n(r?n:a+(d?".":"#")+n,e.forced)&&void 0!==l){if(typeof o==typeof l)continue;qn(o,l)}(e.sham||l&&l.sham)&&Dn(o,"sham",!0),On(i,n,o,e)}},tl={},il=Wn,nl=Cn,ll=Object.keys||function(e){return il(e,nl)},ol=Ze,cl=Ve,al=he,rl=ve,dl=kt,sl=ll;tl.f=ol&&!cl?Object.defineProperties:function(e,t){rl(e);for(var i,n=dl(t),l=sl(t),o=l.length,c=0;o>c;)al.f(e,i=l[c++],n[i]);return e};var ul,hl=x("document","documentElement"),Zl=ve,bl=tl,ml=Cn,Il=Ii,pl=hl,gl=Ge,Gl=mi("IE_PROTO"),yl=function(){},Xl=function(e){return"<script>"+e+"<\/script>"},Vl=function(e){e.write(Xl("")),e.close();var t=e.parentWindow.Object;return e=null,t},Wl=function(){try{ul=new ActiveXObject("htmlfile")}catch(e){}var e,t;Wl="undefined"!=typeof document?document.domain&&ul?Vl(ul):((t=gl("iframe")).style.display="none",pl.appendChild(t),t.src=String("javascript:"),(e=t.contentWindow.document).open(),e.write(Xl("document.F=Object")),e.close(),e.F):Vl(ul);for(var i=ml.length;i--;)delete Wl.prototype[ml[i]];return Wl()};Il[Gl]=!0;var Cl=Object.create||function(e,t){var i;return null!==e?(yl.prototype=Zl(e),i=new yl,yl.prototype=null,i[Gl]=e):i=Wl(),void 0===t?i:bl.f(i,t)},Rl=se,vl=Cl,Sl=he.f,fl=Rl("unscopables"),Yl=Array.prototype;null==Yl[fl]&&Sl(Yl,fl,{configurable:!0,value:vl(null)});var Kl=function(e){Yl[fl][e]=!0},Nl=pn.includes,Ll=Kl;el({target:"Array",proto:!0,forced:c((function(){return!Array(1).includes()}))},{includes:function(e){return Nl(this,e,arguments.length>1?arguments[1]:void 0)}}),Ll("includes"),Kl("flat"),Kl("flatMap");var Jl={},Ul=xe,kl=function(e){var t,i;this.promise=new e((function(e,n){if(void 0!==t||void 0!==i)throw TypeError("Bad Promise constructor");t=e,i=n})),this.resolve=Ul(t),this.reject=Ul(i)};Jl.f=function(e){return new kl(e)};var Hl=xe,Al=a,Tl=Z(Z.bind),Bl=function(e,t){return Hl(e),void 0===t?e:Al?Tl(e,t):function(){return e.apply(t,arguments)}},Fl={},xl=Fl,zl=se("iterator"),wl=Array.prototype,Pl=function(e){return void 0!==e&&(xl.Array===e||wl[zl]===e)},Ql={};Ql[se("toStringTag")]="z";var jl="[object z]"===String(Ql),Ml=A,El=St,Dl=se("toStringTag"),Ol=Object,_l="Arguments"==El(function(){return arguments}()),ql=jl?El:function(e){var t,i,n;return void 0===e?"Undefined":null===e?"Null":"string"==typeof(i=function(e,t){try{return e[t]}catch(e){}}(t=Ol(e),Dl))?i:_l?El(t):"Object"==(n=El(t))&&Ml(t.callee)?"Arguments":n},$l=ql,eo=we,to=Fl,io=se("iterator"),no=function(e){if(null!=e)return eo(e,io)||eo(e,"@@iterator")||to[$l(e)]},lo=Ye,oo=xe,co=ve,ao=Ae,ro=no,so=TypeError,uo=function(e,t){var i=arguments.length<2?ro(e):t;if(oo(i))return co(lo(i,e));throw so(ao(e)+" is not iterable")},ho=Ye,Zo=ve,bo=we,mo=function(e,t,i){var n,l;Zo(e);try{if(!(n=bo(e,"return"))){if("throw"===t)throw i;return i}n=ho(n,e)}catch(e){l=!0,n=e}if("throw"===t)throw i;if(l)throw n;return Zo(n),i},Io=Bl,po=Ye,go=ve,Go=Ae,yo=Pl,Xo=hn,Vo=Ke,Wo=uo,Co=no,Ro=mo,vo=TypeError,So=function(e,t){this.stopped=e,this.result=t},fo=So.prototype,Yo=Ye,Ko=xe,No=Jl,Lo=function(e){try{return{error:!1,value:e()}}catch(e){return{error:!0,value:e}}},Jo=function(e,t,i){var n,l,o,c,a,r,d,s=i&&i.that,u=!(!i||!i.AS_ENTRIES),h=!(!i||!i.IS_RECORD),Z=!(!i||!i.IS_ITERATOR),b=!(!i||!i.INTERRUPTED),m=Io(t,s),I=function(e){return n&&Ro(n,"normal",e),new So(!0,e)},p=function(e){return u?(go(e),b?m(e[0],e[1],I):m(e[0],e[1])):b?m(e,I):m(e)};if(h)n=e.iterator;else if(Z)n=e;else{if(!(l=Co(e)))throw vo(Go(e)+" is not iterable");if(yo(l)){for(o=0,c=Xo(e);c>o;o++)if((a=p(e[o]))&&Vo(fo,a))return a;return new So(!1)}n=Wo(e,l)}for(r=h?e.next:n.next;!(d=po(r,n)).done;){try{a=p(d.value)}catch(e){Ro(n,"throw",e)}if("object"==typeof a&&a&&Vo(fo,a))return a}return new So(!1)};el({target:"Promise",stat:!0},{allSettled:function(e){var t=this,i=No.f(t),n=i.resolve,l=i.reject,o=Lo((function(){var i=Ko(t.resolve),l=[],o=0,c=1;Jo(e,(function(e){var a=o++,r=!1;c++,Yo(i,t,e).then((function(e){r||(r=!0,l[a]={status:"fulfilled",value:e},--c||n(l))}),(function(e){r||(r=!0,l[a]={status:"rejected",reason:e},--c||n(l))}))})),--c||n(l)}));return o.error&&l(o.value),i.promise}});var Uo=l.Promise,ko=Z,Ho=c,Ao=A,To=ql,Bo=ai,Fo=function(){},xo=[],zo=x("Reflect","construct"),wo=/^\s*(?:class|function)\b/,Po=ko(wo.exec),Qo=!wo.exec(Fo),jo=function(e){if(!Ao(e))return!1;try{return zo(Fo,xo,e),!0}catch(e){return!1}},Mo=function(e){if(!Ao(e))return!1;switch(To(e)){case"AsyncFunction":case"GeneratorFunction":case"AsyncGeneratorFunction":return!1}try{return Qo||!!Po(wo,Bo(e))}catch(e){return!0}};Mo.sham=!0;var Eo=!zo||Ho((function(){var e;return jo(jo.call)||!jo(Object)||!jo((function(){e=!0}))||e}))?Mo:jo,Do=Eo,Oo=Ae,_o=TypeError,qo=function(e){if(Do(e))return e;throw _o(Oo(e)+" is not a constructor")},$o=ve,ec=qo,tc=se("species"),ic=function(e,t){var i,n=$o(e).constructor;return void 0===n||null==(i=$o(n)[tc])?t:ec(i)},nc=ve,lc=me,oc=Jl,cc=el,ac=Uo,rc=c,dc=x,sc=A,uc=ic,hc=function(e,t){if(nc(e),lc(t)&&t.constructor===e)return t;var i=oc.f(e);return(0,i.resolve)(t),i.promise},Zc=Oi,bc=ac&&ac.prototype;if(cc({target:"Promise",proto:!0,real:!0,forced:!!ac&&rc((function(){bc.finally.call({then:function(){}},(function(){}))}))},{finally:function(e){var t=uc(this,dc("Promise")),i=sc(e);return this.then(i?function(i){return hc(t,e()).then((function(){return i}))}:e,i?function(i){return hc(t,e()).then((function(){throw i}))}:e)}}),sc(ac)){var mc=dc("Promise").prototype.finally;bc.finally!==mc&&Zc(bc,"finally",mc,{unsafe:!0})}var Ic=Et.exports,pc=he,gc=function(e,t,i){return i.get&&Ic(i.get,t,{getter:!0}),i.set&&Ic(i.set,t,{setter:!0}),pc.f(e,t,i)},Gc=ve,yc=function(){var e=Gc(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},Xc=Ze,Vc=gc,Wc=yc,Cc=c,Rc=l.RegExp,vc=Rc.prototype,Sc=Xc&&Cc((function(){var e=!0;try{Rc(".","d")}catch(t){e=!1}var t={},i="",n=e?"dgimsy":"gimsy",l=function(e,n){Object.defineProperty(t,e,{get:function(){return i+=n,!0}})},o={dotAll:"s",global:"g",ignoreCase:"i",multiline:"m",sticky:"y"};for(var c in e&&(o.hasIndices="d"),o)l(c,o[c]);return Object.getOwnPropertyDescriptor(vc,"flags").get.call(t)!==n||i!==n}));Sc&&Vc(vc,"flags",{configurable:!0,get:Wc});var fc,Yc,Kc,Nc=!c((function(){function e(){}return e.prototype.constructor=null,Object.getPrototypeOf(new e)!==e.prototype})),Lc=X,Jc=A,Uc=g,kc=Nc,Hc=mi("IE_PROTO"),Ac=Object,Tc=Ac.prototype,Bc=kc?Ac.getPrototypeOf:function(e){var t=Uc(e);if(Lc(t,Hc))return t[Hc];var i=t.constructor;return Jc(i)&&t instanceof i?i.prototype:t instanceof Ac?Tc:null},Fc=c,xc=A,zc=Bc,wc=Oi,Pc=se("iterator"),Qc=!1;[].keys&&("next"in(Kc=[].keys())?(Yc=zc(zc(Kc)))!==Object.prototype&&(fc=Yc):Qc=!0);var jc=null==fc||Fc((function(){var e={};return fc[Pc].call(e)!==e}));jc&&(fc={}),xc(fc[Pc])||wc(fc,Pc,(function(){return this}));var Mc,Ec,Dc={IteratorPrototype:fc,BUGGY_SAFARI_ITERATORS:Qc},Oc=he.f,_c=X,qc=se("toStringTag"),$c=function(e,t,i){e&&!i&&(e=e.prototype),e&&!_c(e,qc)&&Oc(e,qc,{configurable:!0,value:t})},ea=Dc.IteratorPrototype,ta=Cl,ia=Wt,na=$c,la=Fl,oa=function(){return this},ca=function(e,t,i,n){var l=t+" Iterator";return e.prototype=ta(ea,{next:ia(+!n,i)}),na(e,l,!1),la[l]=oa,e},aa=ql,ra=String,da=function(e){if("Symbol"===aa(e))throw TypeError("Cannot convert a Symbol value to a string");return ra(e)},sa=me,ua=St,ha=se("match"),Za=Ye,ba=X,ma=Ke,Ia=yc,pa=RegExp.prototype,ga=Z,Ga=nn,ya=da,Xa=m,Va=ga("".charAt),Wa=ga("".charCodeAt),Ca=ga("".slice),Ra=function(e){return function(t,i){var n,l,o=ya(Xa(t)),c=Ga(i),a=o.length;return c<0||c>=a?e?"":void 0:(n=Wa(o,c))<55296||n>56319||c+1===a||(l=Wa(o,c+1))<56320||l>57343?e?Va(o,c):n:e?Ca(o,c,c+2):l-56320+(n-55296<<10)+65536}},va={codeAt:Ra(!1),charAt:Ra(!0)},Sa=va.charAt,fa=function(e,t,i){return t+(i?Sa(e,t).length:1)},Ya=c,Ka=l.RegExp,Na=Ya((function(){var e=Ka("a","y");return e.lastIndex=2,null!=e.exec("abcd")})),La=Na||Ya((function(){return!Ka("a","y").sticky})),Ja={BROKEN_CARET:Na||Ya((function(){var e=Ka("^r","gy");return e.lastIndex=2,null!=e.exec("str")})),MISSED_STICKY:La,UNSUPPORTED_Y:Na},Ua=c,ka=l.RegExp,Ha=Ua((function(){var e=ka(".","s");return!(e.dotAll&&e.exec("\n")&&"s"===e.flags)})),Aa=c,Ta=l.RegExp,Ba=Aa((function(){var e=Ta("(?<a>b)","g");return"b"!==e.exec("b").groups.a||"bc"!=="b".replace(e,"$<a>c")})),Fa=Ye,xa=Z,za=da,wa=yc,Pa=Ja,Qa=W.exports,ja=Cl,Ma=Ji.get,Ea=Ha,Da=Ba,Oa=Qa("native-string-replace",String.prototype.replace),_a=RegExp.prototype.exec,qa=_a,$a=xa("".charAt),er=xa("".indexOf),tr=xa("".replace),ir=xa("".slice),nr=(Ec=/b*/g,Fa(_a,Mc=/a/,"a"),Fa(_a,Ec,"a"),0!==Mc.lastIndex||0!==Ec.lastIndex),lr=Pa.BROKEN_CARET,or=void 0!==/()??/.exec("")[1];(nr||or||lr||Ea||Da)&&(qa=function(e){var t,i,n,l,o,c,a,r=this,d=Ma(r),s=za(e),u=d.raw;if(u)return u.lastIndex=r.lastIndex,t=Fa(qa,u,s),r.lastIndex=u.lastIndex,t;var h=d.groups,Z=lr&&r.sticky,b=Fa(wa,r),m=r.source,I=0,p=s;if(Z&&(b=tr(b,"y",""),-1===er(b,"g")&&(b+="g"),p=ir(s,r.lastIndex),r.lastIndex>0&&(!r.multiline||r.multiline&&"\n"!==$a(s,r.lastIndex-1))&&(m="(?: "+m+")",p=" "+p,I++),i=new RegExp("^(?:"+m+")",b)),or&&(i=new RegExp("^"+m+"$(?!\\s)",b)),nr&&(n=r.lastIndex),l=Fa(_a,Z?i:r,p),Z?l?(l.input=ir(l.input,I),l[0]=ir(l[0],I),l.index=r.lastIndex,r.lastIndex+=l[0].length):r.lastIndex=0:nr&&l&&(r.lastIndex=r.global?l.index+l[0].length:n),or&&l&&l.length>1&&Fa(Oa,l[0],i,(function(){for(o=1;o<arguments.length-2;o++)void 0===arguments[o]&&(l[o]=void 0)})),l&&h)for(l.groups=c=ja(null),o=0;o<h.length;o++)c[(a=h[o])[0]]=l[a[1]];return l});var cr=qa,ar=Ye,rr=ve,dr=A,sr=St,ur=cr,hr=TypeError,Zr=function(e,t){var i=e.exec;if(dr(i)){var n=ar(i,e,t);return null!==n&&rr(n),n}if("RegExp"===sr(e))return ar(ur,e,t);throw hr("RegExp#exec called on incompatible receiver")},br=el,mr=Ye,Ir=Z,pr=ca,gr=m,Gr=sn,yr=da,Xr=ve,Vr=function(e){var t;return sa(e)&&(void 0!==(t=e[ha])?!!t:"RegExp"==ua(e))},Wr=function(e){var t=e.flags;return void 0!==t||"flags"in pa||ba(e,"flags")||!ma(pa,e)?t:Za(Ia,e)},Cr=we,Rr=Oi,vr=c,Sr=ic,fr=fa,Yr=Zr,Kr=Ji,Nr=se("matchAll"),Lr=Kr.set,Jr=Kr.getterFor("RegExp String Iterator"),Ur=RegExp.prototype,kr=TypeError,Hr=Ir("".indexOf),Ar=Ir("".matchAll),Tr=!!Ar&&!vr((function(){Ar("a",/./)})),Br=pr((function(e,t,i,n){Lr(this,{type:"RegExp String Iterator",regexp:e,string:t,global:i,unicode:n,done:!1})}),"RegExp String",(function(){var e=Jr(this);if(e.done)return{value:void 0,done:!0};var t=e.regexp,i=e.string,n=Yr(t,i);return null===n?{value:void 0,done:e.done=!0}:e.global?(""===yr(n[0])&&(t.lastIndex=fr(i,Gr(t.lastIndex),e.unicode)),{value:n,done:!1}):(e.done=!0,{value:n,done:!1})})),Fr=function(e){var t,i,n,l=Xr(this),o=yr(e),c=Sr(l,RegExp),a=yr(Wr(l));return t=new c(c===RegExp?l.source:l,a),i=!!~Hr(a,"g"),n=!!~Hr(a,"u"),t.lastIndex=Gr(l.lastIndex),new Br(t,o,i,n)};br({target:"String",proto:!0,forced:Tr},{matchAll:function(e){var t,i,n,l=gr(this);if(null!=e){if(Vr(e)&&(t=yr(gr(Wr(e))),!~Hr(t,"g")))throw kr("`.matchAll` does not allow non-global regexes");if(Tr)return Ar(l,e);if(n=Cr(e,Nr))return mr(n,e,l)}else if(Tr)return Ar(l,e);return i=yr(l),new RegExp(e,"g")[Nr](i)}}),Nr in Ur||Rr(Ur,Nr,Fr);var xr=a,zr=Function.prototype,wr=zr.apply,Pr=zr.call,Qr="object"==typeof Reflect&&Reflect.apply||(xr?Pr.bind(wr):function(){return Pr.apply(wr,arguments)});el({target:"RegExp",proto:!0,forced:/./.exec!==cr},{exec:cr});var jr=Z,Mr=Oi,Er=cr,Dr=c,Or=se,_r=Mt,qr=Or("species"),$r=RegExp.prototype,ed=Z,td=g,id=Math.floor,nd=ed("".charAt),ld=ed("".replace),od=ed("".slice),cd=/\$([$&'`]|\d{1,2}|<[^>]*>)/g,ad=/\$([$&'`]|\d{1,2})/g,rd=Qr,dd=Ye,sd=Z,ud=function(e,t,i,n){var l=Or(e),o=!Dr((function(){var t={};return t[l]=function(){return 7},7!=""[e](t)})),c=o&&!Dr((function(){var t=!1,i=/a/;return"split"===e&&((i={}).constructor={},i.constructor[qr]=function(){return i},i.flags="",i[l]=/./[l]),i.exec=function(){return t=!0,null},i[l](""),!t}));if(!o||!c||i){var a=jr(/./[l]),r=t(l,""[e],(function(e,t,i,n,l){var c=jr(e),r=t.exec;return r===Er||r===$r.exec?o&&!l?{done:!0,value:a(t,i,n)}:{done:!0,value:c(i,t,n)}:{done:!1}}));Mr(String.prototype,e,r[0]),Mr($r,l,r[1])}n&&_r($r[l],"sham",!0)},hd=c,Zd=ve,bd=A,md=nn,Id=sn,pd=da,gd=m,Gd=fa,yd=we,Xd=function(e,t,i,n,l,o){var c=i+e.length,a=n.length,r=ad;return void 0!==l&&(l=td(l),r=cd),ld(o,r,(function(o,r){var d;switch(nd(r,0)){case"$":return"$";case"&":return e;case"`":return od(t,0,i);case"'":return od(t,c);case"<":d=l[od(r,1,-1)];break;default:var s=+r;if(0===s)return o;if(s>a){var u=id(s/10);return 0===u?o:u<=a?void 0===n[u-1]?nd(r,1):n[u-1]+nd(r,1):o}d=n[s-1]}return void 0===d?"":d}))},Vd=Zr,Wd=se("replace"),Cd=Math.max,Rd=Math.min,vd=sd([].concat),Sd=sd([].push),fd=sd("".indexOf),Yd=sd("".slice),Kd="$0"==="a".replace(/./,"$0"),Nd=!!/./[Wd]&&""===/./[Wd]("a","$0");ud("replace",(function(e,t,i){var n=Nd?"$":"$0";return[function(e,i){var n=gd(this),l=null==e?void 0:yd(e,Wd);return l?dd(l,e,n,i):dd(t,pd(n),e,i)},function(e,l){var o=Zd(this),c=pd(e);if("string"==typeof l&&-1===fd(l,n)&&-1===fd(l,"$<")){var a=i(t,o,c,l);if(a.done)return a.value}var r=bd(l);r||(l=pd(l));var d=o.global;if(d){var s=o.unicode;o.lastIndex=0}for(var u=[];;){var h=Vd(o,c);if(null===h)break;if(Sd(u,h),!d)break;""===pd(h[0])&&(o.lastIndex=Gd(c,Id(o.lastIndex),s))}for(var Z,b="",m=0,I=0;I<u.length;I++){for(var p=pd((h=u[I])[0]),g=Cd(Rd(md(h.index),c.length),0),G=[],y=1;y<h.length;y++)Sd(G,void 0===(Z=h[y])?Z:String(Z));var X=h.groups;if(r){var V=vd([p],G,g,c);void 0!==X&&Sd(V,X);var W=pd(rd(l,void 0,V))}else W=Xd(p,c,g,G,X,l);g>=m&&(b+=Yd(c,m,g)+W,m=g+p.length)}return b+Yd(c,m)}]}),!!hd((function(){var e=/./;return e.exec=function(){var e=[];return e.groups={a:"7"},e},"7"!=="".replace(e,"$<a>")}))||!Kd||Nd);var Ld={exports:{}},Jd=se("iterator"),Ud=!1;try{var kd=0,Hd={next:function(){return{done:!!kd++}},return:function(){Ud=!0}};Hd[Jd]=function(){return this},Array.from(Hd,(function(){throw 2}))}catch(e){}var Ad,Td,Bd,Fd="undefined"!=typeof ArrayBuffer&&"undefined"!=typeof DataView,xd=A,zd=String,wd=TypeError,Pd=Z,Qd=ve,jd=function(e){if("object"==typeof e||xd(e))return e;throw wd("Can't set "+zd(e)+" as a prototype")},Md=Object.setPrototypeOf||("__proto__"in{}?function(){var e,t=!1,i={};try{(e=Pd(Object.getOwnPropertyDescriptor(Object.prototype,"__proto__").set))(i,[]),t=i instanceof Array}catch(e){}return function(i,n){return Qd(i),jd(n),t?e(i,n):i.__proto__=n,i}}():void 0),Ed=Fd,Dd=Ze,Od=l,_d=A,qd=me,$d=X,es=ql,ts=Ae,is=Mt,ns=Oi,ls=he.f,os=Ke,cs=Bc,as=Md,rs=se,ds=H,ss=Ji.enforce,us=Ji.get,hs=Od.Int8Array,Zs=hs&&hs.prototype,bs=Od.Uint8ClampedArray,ms=bs&&bs.prototype,Is=hs&&cs(hs),ps=Zs&&cs(Zs),gs=Object.prototype,Gs=Od.TypeError,ys=rs("toStringTag"),Xs=ds("TYPED_ARRAY_TAG"),Vs=Ed&&!!as&&"Opera"!==es(Od.opera),Ws=!1,Cs={Int8Array:1,Uint8Array:1,Uint8ClampedArray:1,Int16Array:2,Uint16Array:2,Int32Array:4,Uint32Array:4,Float32Array:4,Float64Array:8},Rs={BigInt64Array:8,BigUint64Array:8},vs=function(e){var t=cs(e);if(qd(t)){var i=us(t);return i&&$d(i,"TypedArrayConstructor")?i.TypedArrayConstructor:vs(t)}},Ss=function(e){if(!qd(e))return!1;var t=es(e);return $d(Cs,t)||$d(Rs,t)};for(Ad in Cs)(Bd=(Td=Od[Ad])&&Td.prototype)?ss(Bd).TypedArrayConstructor=Td:Vs=!1;for(Ad in Rs)(Bd=(Td=Od[Ad])&&Td.prototype)&&(ss(Bd).TypedArrayConstructor=Td);if((!Vs||!_d(Is)||Is===Function.prototype)&&(Is=function(){throw Gs("Incorrect invocation")},Vs))for(Ad in Cs)Od[Ad]&&as(Od[Ad],Is);if((!Vs||!ps||ps===gs)&&(ps=Is.prototype,Vs))for(Ad in Cs)Od[Ad]&&as(Od[Ad].prototype,ps);if(Vs&&cs(ms)!==ps&&as(ms,ps),Dd&&!$d(ps,ys))for(Ad in Ws=!0,ls(ps,ys,{get:function(){return qd(this)?this[Xs]:void 0}}),Cs)Od[Ad]&&is(Od[Ad],Xs,Ad);var fs={NATIVE_ARRAY_BUFFER_VIEWS:Vs,TYPED_ARRAY_TAG:Ws&&Xs,aTypedArray:function(e){if(Ss(e))return e;throw Gs("Target is not a typed array")},aTypedArrayConstructor:function(e){if(_d(e)&&(!as||os(Is,e)))return e;throw Gs(ts(e)+" is not a typed array constructor")},exportTypedArrayMethod:function(e,t,i,n){if(Dd){if(i)for(var l in Cs){var o=Od[l];if(o&&$d(o.prototype,e))try{delete o.prototype[e]}catch(i){try{o.prototype[e]=t}catch(e){}}}ps[e]&&!i||ns(ps,e,i?t:Vs&&Zs[e]||t,n)}},exportTypedArrayStaticMethod:function(e,t,i){var n,l;if(Dd){if(as){if(i)for(n in Cs)if((l=Od[n])&&$d(l,e))try{delete l[e]}catch(e){}if(Is[e]&&!i)return;try{return ns(Is,e,i?t:Vs&&Is[e]||t)}catch(e){}}for(n in Cs)!(l=Od[n])||l[e]&&!i||ns(l,e,t)}},getTypedArrayConstructor:vs,isView:function(e){if(!qd(e))return!1;var t=es(e);return"DataView"===t||$d(Cs,t)||$d(Rs,t)},isTypedArray:Ss,TypedArray:Is,TypedArrayPrototype:ps},Ys=l,Ks=c,Ns=function(e,t){if(!t&&!Ud)return!1;var i=!1;try{var n={};n[Jd]=function(){return{next:function(){return{done:i=!0}}}},e(n)}catch(e){}return i},Ls=fs.NATIVE_ARRAY_BUFFER_VIEWS,Js=Ys.ArrayBuffer,Us=Ys.Int8Array,ks=!Ls||!Ks((function(){Us(1)}))||!Ks((function(){new Us(-1)}))||!Ns((function(e){new Us,new Us(null),new Us(1.5),new Us(e)}),!0)||Ks((function(){return 1!==new Us(new Js(2),1,void 0).length})),Hs=Oi,As=function(e,t,i){for(var n in t)Hs(e,n,t[n],i);return e},Ts=Ke,Bs=TypeError,Fs=function(e,t){if(Ts(t,e))return e;throw Bs("Incorrect invocation")},xs=nn,zs=sn,ws=RangeError,Ps=function(e){if(void 0===e)return 0;var t=xs(e),i=zs(t);if(t!==i)throw ws("Wrong length or index");return i},Qs=Array,js=Math.abs,Ms=Math.pow,Es=Math.floor,Ds=Math.log,Os=Math.LN2,_s={pack:function(e,t,i){var n,l,o,c=Qs(i),a=8*i-t-1,r=(1<<a)-1,d=r>>1,s=23===t?Ms(2,-24)-Ms(2,-77):0,u=e<0||0===e&&1/e<0?1:0,h=0;for((e=js(e))!=e||e===1/0?(l=e!=e?1:0,n=r):(n=Es(Ds(e)/Os),e*(o=Ms(2,-n))<1&&(n--,o*=2),(e+=n+d>=1?s/o:s*Ms(2,1-d))*o>=2&&(n++,o/=2),n+d>=r?(l=0,n=r):n+d>=1?(l=(e*o-1)*Ms(2,t),n+=d):(l=e*Ms(2,d-1)*Ms(2,t),n=0));t>=8;)c[h++]=255&l,l/=256,t-=8;for(n=n<<t|l,a+=t;a>0;)c[h++]=255&n,n/=256,a-=8;return c[--h]|=128*u,c},unpack:function(e,t){var i,n=e.length,l=8*n-t-1,o=(1<<l)-1,c=o>>1,a=l-7,r=n-1,d=e[r--],s=127&d;for(d>>=7;a>0;)s=256*s+e[r--],a-=8;for(i=s&(1<<-a)-1,s>>=-a,a+=t;a>0;)i=256*i+e[r--],a-=8;if(0===s)s=1-c;else{if(s===o)return i?NaN:d?-1/0:1/0;i+=Ms(2,t),s-=c}return(d?-1:1)*i*Ms(2,s-t)}},qs=g,$s=an,eu=hn,tu=function(e){for(var t=qs(this),i=eu(t),n=arguments.length,l=$s(n>1?arguments[1]:void 0,i),o=n>2?arguments[2]:void 0,c=void 0===o?i:$s(o,i);c>l;)t[l++]=e;return t},iu=lt,nu=he,lu=Wt,ou=function(e,t,i){var n=iu(t);n in e?nu.f(e,n,lu(0,i)):e[n]=i},cu=an,au=hn,ru=ou,du=Array,su=Math.max,uu=function(e,t,i){for(var n=au(e),l=cu(t,n),o=cu(void 0===i?n:i,n),c=du(su(o-l,0)),a=0;l<o;l++,a++)ru(c,a,e[l]);return c.length=a,c},hu=l,Zu=Z,bu=Ze,mu=Fd,Iu=ei,pu=Mt,gu=As,Gu=c,yu=Fs,Xu=nn,Vu=sn,Wu=Ps,Cu=_s,Ru=Bc,vu=Md,Su=_i.f,fu=he.f,Yu=tu,Ku=uu,Nu=$c,Lu=Iu.PROPER,Ju=Iu.CONFIGURABLE,Uu=Ji.get,ku=Ji.set,Hu=hu.ArrayBuffer,Au=Hu,Tu=Au&&Au.prototype,Bu=hu.DataView,Fu=Bu&&Bu.prototype,xu=Object.prototype,zu=hu.Array,wu=hu.RangeError,Pu=Zu(Yu),Qu=Zu([].reverse),ju=Cu.pack,Mu=Cu.unpack,Eu=function(e){return[255&e]},Du=function(e){return[255&e,e>>8&255]},Ou=function(e){return[255&e,e>>8&255,e>>16&255,e>>24&255]},_u=function(e){return e[3]<<24|e[2]<<16|e[1]<<8|e[0]},qu=function(e){return ju(e,23,4)},$u=function(e){return ju(e,52,8)},eh=function(e,t){fu(e.prototype,t,{get:function(){return Uu(this)[t]}})},th=function(e,t,i,n){var l=Wu(i),o=Uu(e);if(l+t>o.byteLength)throw wu("Wrong index");var c=Uu(o.buffer).bytes,a=l+o.byteOffset,r=Ku(c,a,a+t);return n?r:Qu(r)},ih=function(e,t,i,n,l,o){var c=Wu(i),a=Uu(e);if(c+t>a.byteLength)throw wu("Wrong index");for(var r=Uu(a.buffer).bytes,d=c+a.byteOffset,s=n(+l),u=0;u<t;u++)r[d+u]=s[o?u:t-u-1]};if(mu){var nh=Lu&&"ArrayBuffer"!==Hu.name;if(Gu((function(){Hu(1)}))&&Gu((function(){new Hu(-1)}))&&!Gu((function(){return new Hu,new Hu(1.5),new Hu(NaN),nh&&!Ju})))nh&&Ju&&pu(Hu,"name","ArrayBuffer");else{(Au=function(e){return yu(this,Tu),new Hu(Wu(e))}).prototype=Tu;for(var lh,oh=Su(Hu),ch=0;oh.length>ch;)(lh=oh[ch++])in Au||pu(Au,lh,Hu[lh]);Tu.constructor=Au}vu&&Ru(Fu)!==xu&&vu(Fu,xu);var ah=new Bu(new Au(2)),rh=Zu(Fu.setInt8);ah.setInt8(0,2147483648),ah.setInt8(1,2147483649),!ah.getInt8(0)&&ah.getInt8(1)||gu(Fu,{setInt8:function(e,t){rh(this,e,t<<24>>24)},setUint8:function(e,t){rh(this,e,t<<24>>24)}},{unsafe:!0})}else Au=function(e){yu(this,Tu);var t=Wu(e);ku(this,{bytes:Pu(zu(t),0),byteLength:t}),bu||(this.byteLength=t)},Tu=Au.prototype,Bu=function(e,t,i){yu(this,Fu),yu(e,Tu);var n=Uu(e).byteLength,l=Xu(t);if(l<0||l>n)throw wu("Wrong offset");if(l+(i=void 0===i?n-l:Vu(i))>n)throw wu("Wrong length");ku(this,{buffer:e,byteLength:i,byteOffset:l}),bu||(this.buffer=e,this.byteLength=i,this.byteOffset=l)},Fu=Bu.prototype,bu&&(eh(Au,"byteLength"),eh(Bu,"buffer"),eh(Bu,"byteLength"),eh(Bu,"byteOffset")),gu(Fu,{getInt8:function(e){return th(this,1,e)[0]<<24>>24},getUint8:function(e){return th(this,1,e)[0]},getInt16:function(e){var t=th(this,2,e,arguments.length>1?arguments[1]:void 0);return(t[1]<<8|t[0])<<16>>16},getUint16:function(e){var t=th(this,2,e,arguments.length>1?arguments[1]:void 0);return t[1]<<8|t[0]},getInt32:function(e){return _u(th(this,4,e,arguments.length>1?arguments[1]:void 0))},getUint32:function(e){return _u(th(this,4,e,arguments.length>1?arguments[1]:void 0))>>>0},getFloat32:function(e){return Mu(th(this,4,e,arguments.length>1?arguments[1]:void 0),23)},getFloat64:function(e){return Mu(th(this,8,e,arguments.length>1?arguments[1]:void 0),52)},setInt8:function(e,t){ih(this,1,e,Eu,t)},setUint8:function(e,t){ih(this,1,e,Eu,t)},setInt16:function(e,t){ih(this,2,e,Du,t,arguments.length>2?arguments[2]:void 0)},setUint16:function(e,t){ih(this,2,e,Du,t,arguments.length>2?arguments[2]:void 0)},setInt32:function(e,t){ih(this,4,e,Ou,t,arguments.length>2?arguments[2]:void 0)},setUint32:function(e,t){ih(this,4,e,Ou,t,arguments.length>2?arguments[2]:void 0)},setFloat32:function(e,t){ih(this,4,e,qu,t,arguments.length>2?arguments[2]:void 0)},setFloat64:function(e,t){ih(this,8,e,$u,t,arguments.length>2?arguments[2]:void 0)}});Nu(Au,"ArrayBuffer"),Nu(Bu,"DataView");var dh={ArrayBuffer:Au,DataView:Bu},sh=me,uh=Math.floor,hh=Number.isInteger||function(e){return!sh(e)&&isFinite(e)&&uh(e)===e},Zh=nn,bh=RangeError,mh=function(e){var t=Zh(e);if(t<0)throw bh("The argument can't be less than 0");return t},Ih=RangeError,ph=function(e,t){var i=mh(e);if(i%t)throw Ih("Wrong offset");return i},gh=Bl,Gh=Ye,yh=qo,Xh=g,Vh=hn,Wh=uo,Ch=no,Rh=Pl,vh=fs.aTypedArrayConstructor,Sh=function(e){var t,i,n,l,o,c,a=yh(this),r=Xh(e),d=arguments.length,s=d>1?arguments[1]:void 0,u=void 0!==s,h=Ch(r);if(h&&!Rh(h))for(c=(o=Wh(r,h)).next,r=[];!(l=Gh(c,o)).done;)r.push(l.value);for(u&&d>2&&(s=gh(s,arguments[2])),i=Vh(r),n=new(vh(a))(i),t=0;i>t;t++)n[t]=u?s(r[t],t):r[t];return n},fh=St,Yh=Array.isArray||function(e){return"Array"==fh(e)},Kh=Eo,Nh=me,Lh=se("species"),Jh=Array,Uh=function(e){var t;return Yh(e)&&(t=e.constructor,(Kh(t)&&(t===Jh||Yh(t.prototype))||Nh(t)&&null===(t=t[Lh]))&&(t=void 0)),void 0===t?Jh:t},kh=Bl,Hh=Lt,Ah=g,Th=hn,Bh=function(e,t){return new(Uh(e))(0===t?0:t)},Fh=Z([].push),xh=function(e){var t=1==e,i=2==e,n=3==e,l=4==e,o=6==e,c=7==e,a=5==e||o;return function(r,d,s,u){for(var h,Z,b=Ah(r),m=Hh(b),I=kh(d,s),p=Th(m),g=0,G=u||Bh,y=t?G(r,p):i||c?G(r,0):void 0;p>g;g++)if((a||g in m)&&(Z=I(h=m[g],g,b),e))if(t)y[g]=Z;else if(Z)switch(e){case 3:return!0;case 5:return h;case 6:return g;case 2:Fh(y,h)}else switch(e){case 4:return!1;case 7:Fh(y,h)}return o?-1:n||l?l:y}},zh={forEach:xh(0),map:xh(1),filter:xh(2),some:xh(3),every:xh(4),find:xh(5),findIndex:xh(6),filterReject:xh(7)},wh=x,Ph=he,Qh=Ze,jh=se("species"),Mh=A,Eh=me,Dh=Md,Oh=el,_h=l,qh=Ye,$h=Ze,eZ=ks,tZ=fs,iZ=dh,nZ=Fs,lZ=Wt,oZ=Mt,cZ=hh,aZ=sn,rZ=Ps,dZ=ph,sZ=lt,uZ=X,hZ=ql,ZZ=me,bZ=ke,mZ=Cl,IZ=Ke,pZ=Md,gZ=_i.f,GZ=Sh,yZ=zh.forEach,XZ=function(e){var t=wh(e),i=Ph.f;Qh&&t&&!t[jh]&&i(t,jh,{configurable:!0,get:function(){return this}})},VZ=he,WZ=gt,CZ=function(e,t,i){var n,l;return Dh&&Mh(n=t.constructor)&&n!==i&&Eh(l=n.prototype)&&l!==i.prototype&&Dh(e,l),e},RZ=Ji.get,vZ=Ji.set,SZ=Ji.enforce,fZ=VZ.f,YZ=WZ.f,KZ=Math.round,NZ=_h.RangeError,LZ=iZ.ArrayBuffer,JZ=LZ.prototype,UZ=iZ.DataView,kZ=tZ.NATIVE_ARRAY_BUFFER_VIEWS,HZ=tZ.TYPED_ARRAY_TAG,AZ=tZ.TypedArray,TZ=tZ.TypedArrayPrototype,BZ=tZ.aTypedArrayConstructor,FZ=tZ.isTypedArray,xZ=function(e,t){BZ(e);for(var i=0,n=t.length,l=new e(n);n>i;)l[i]=t[i++];return l},zZ=function(e,t){fZ(e,t,{get:function(){return RZ(this)[t]}})},wZ=function(e){var t;return IZ(JZ,e)||"ArrayBuffer"==(t=hZ(e))||"SharedArrayBuffer"==t},PZ=function(e,t){return FZ(e)&&!bZ(t)&&t in e&&cZ(+t)&&t>=0},QZ=function(e,t){return t=sZ(t),PZ(e,t)?lZ(2,e[t]):YZ(e,t)},jZ=function(e,t,i){return t=sZ(t),!(PZ(e,t)&&ZZ(i)&&uZ(i,"value"))||uZ(i,"get")||uZ(i,"set")||i.configurable||uZ(i,"writable")&&!i.writable||uZ(i,"enumerable")&&!i.enumerable?fZ(e,t,i):(e[t]=i.value,e)};$h?(kZ||(WZ.f=QZ,VZ.f=jZ,zZ(TZ,"buffer"),zZ(TZ,"byteOffset"),zZ(TZ,"byteLength"),zZ(TZ,"length")),Oh({target:"Object",stat:!0,forced:!kZ},{getOwnPropertyDescriptor:QZ,defineProperty:jZ}),Ld.exports=function(e,t,i){var n=e.match(/\d+$/)[0]/8,l=e+(i?"Clamped":"")+"Array",o="get"+e,c="set"+e,a=_h[l],r=a,d=r&&r.prototype,s={},u=function(e,t){fZ(e,t,{get:function(){return function(e,t){var i=RZ(e);return i.view[o](t*n+i.byteOffset,!0)}(this,t)},set:function(e){return function(e,t,l){var o=RZ(e);i&&(l=(l=KZ(l))<0?0:l>255?255:255&l),o.view[c](t*n+o.byteOffset,l,!0)}(this,t,e)},enumerable:!0})};kZ?eZ&&(r=t((function(e,t,i,l){return nZ(e,d),CZ(ZZ(t)?wZ(t)?void 0!==l?new a(t,dZ(i,n),l):void 0!==i?new a(t,dZ(i,n)):new a(t):FZ(t)?xZ(r,t):qh(GZ,r,t):new a(rZ(t)),e,r)})),pZ&&pZ(r,AZ),yZ(gZ(a),(function(e){e in r||oZ(r,e,a[e])})),r.prototype=d):(r=t((function(e,t,i,l){nZ(e,d);var o,c,a,s=0,h=0;if(ZZ(t)){if(!wZ(t))return FZ(t)?xZ(r,t):qh(GZ,r,t);o=t,h=dZ(i,n);var Z=t.byteLength;if(void 0===l){if(Z%n)throw NZ("Wrong length");if((c=Z-h)<0)throw NZ("Wrong length")}else if((c=aZ(l)*n)+h>Z)throw NZ("Wrong length");a=c/n}else a=rZ(t),o=new LZ(c=a*n);for(vZ(e,{buffer:o,byteOffset:h,byteLength:c,length:a,view:new UZ(o)});s<a;)u(e,s++)})),pZ&&pZ(r,AZ),d=r.prototype=mZ(TZ)),d.constructor!==r&&oZ(d,"constructor",r),SZ(d).TypedArrayConstructor=r,HZ&&oZ(d,HZ,l);var h=r!=a;s[l]=r,Oh({global:!0,constructor:!0,forced:h,sham:!kZ},s),"BYTES_PER_ELEMENT"in r||oZ(r,"BYTES_PER_ELEMENT",n),"BYTES_PER_ELEMENT"in d||oZ(d,"BYTES_PER_ELEMENT",n),XZ(l)}):Ld.exports=function(){},(0,Ld.exports)("Float32",(function(e){return function(t,i,n){return e(this,t,i,n)}})),(0,Ld.exports)("Float64",(function(e){return function(t,i,n){return e(this,t,i,n)}})),(0,Ld.exports)("Int8",(function(e){return function(t,i,n){return e(this,t,i,n)}})),(0,Ld.exports)("Int16",(function(e){return function(t,i,n){return e(this,t,i,n)}})),(0,Ld.exports)("Int32",(function(e){return function(t,i,n){return e(this,t,i,n)}})),(0,Ld.exports)("Uint8",(function(e){return function(t,i,n){return e(this,t,i,n)}})),(0,Ld.exports)("Uint8",(function(e){return function(t,i,n){return e(this,t,i,n)}}),!0),(0,Ld.exports)("Uint16",(function(e){return function(t,i,n){return e(this,t,i,n)}})),(0,Ld.exports)("Uint32",(function(e){return function(t,i,n){return e(this,t,i,n)}}));var MZ=tt,EZ=TypeError,DZ=tu,OZ=function(e){var t=MZ(e,"number");if("number"==typeof t)throw EZ("Can't convert number to bigint");return BigInt(t)},_Z=ql,qZ=Ye,$Z=c,eb=fs.aTypedArray,tb=fs.exportTypedArrayMethod,ib=Z("".slice);tb("fill",(function(e){var t=arguments.length;eb(this);var i="Big"===ib(_Z(this),0,3)?OZ(e):+e;return qZ(DZ,this,i,t>1?arguments[1]:void 0,t>2?arguments[2]:void 0)}),$Z((function(){var e=0;return new Int8Array(2).fill({valueOf:function(){return e++}}),1!==e}))),(0,fs.exportTypedArrayStaticMethod)("from",Sh,ks);var nb=fs.aTypedArrayConstructor;(0,fs.exportTypedArrayStaticMethod)("of",(function(){for(var e=0,t=arguments.length,i=new(nb(this))(t);t>e;)i[e]=arguments[e++];return i}),ks);var lb=l,ob=Ye,cb=fs,ab=hn,rb=ph,db=g,sb=c,ub=lb.RangeError,hb=lb.Int8Array,Zb=hb&&hb.prototype,bb=Zb&&Zb.set,mb=cb.aTypedArray,Ib=cb.exportTypedArrayMethod,pb=!sb((function(){var e=new Uint8ClampedArray(2);return ob(bb,e,{length:1,0:3},1),3!==e[1]})),gb=pb&&cb.NATIVE_ARRAY_BUFFER_VIEWS&&sb((function(){var e=new hb(2);return e.set(1),e.set("2",1),0!==e[0]||2!==e[1]}));Ib("set",(function(e){mb(this);var t=rb(arguments.length>1?arguments[1]:void 0,1),i=db(e);if(pb)return ob(bb,this,i,t);var n=this.length,l=ab(i),o=0;if(l+t>n)throw ub("Wrong length");for(;o<l;)this[t+o]=i[o++]}),!pb||gb);var Gb=uu,yb=Math.floor,Xb=function(e,t){var i=e.length,n=yb(i/2);return i<8?Vb(e,t):Wb(e,Xb(Gb(e,0,n),t),Xb(Gb(e,n),t),t)},Vb=function(e,t){for(var i,n,l=e.length,o=1;o<l;){for(n=o,i=e[o];n&&t(e[n-1],i)>0;)e[n]=e[--n];n!==o++&&(e[n]=i)}return e},Wb=function(e,t,i,n){for(var l=t.length,o=i.length,c=0,a=0;c<l||a<o;)e[c+a]=c<l&&a<o?n(t[c],i[a])<=0?t[c++]:i[a++]:c<l?t[c++]:i[a++];return e},Cb=Xb,Rb=z.match(/firefox\/(\d+)/i),vb=!!Rb&&+Rb[1],Sb=/MSIE|Trident/.test(z),fb=z.match(/AppleWebKit\/(\d+)\./),Yb=!!fb&&+fb[1],Kb=Z,Nb=c,Lb=xe,Jb=Cb,Ub=vb,kb=Sb,Hb=D,Ab=Yb,Tb=fs.aTypedArray,Bb=fs.exportTypedArrayMethod,Fb=l.Uint16Array,xb=Fb&&Kb(Fb.prototype.sort),zb=!(!xb||Nb((function(){xb(new Fb(2),null)}))&&Nb((function(){xb(new Fb(2),{})}))),wb=!!xb&&!Nb((function(){if(Hb)return Hb<74;if(Ub)return Ub<67;if(kb)return!0;if(Ab)return Ab<602;var e,t,i=new Fb(516),n=Array(516);for(e=0;e<516;e++)t=e%4,i[e]=515-e,n[e]=e-2*t+3;for(xb(i,(function(e,t){return(e/4|0)-(t/4|0)})),e=0;e<516;e++)if(i[e]!==n[e])return!0}));Bb("sort",(function(e){return void 0!==e&&Lb(e),wb?xb(this,e):Jb(Tb(this),function(e){return function(t,i){return void 0!==e?+e(t,i)||0:i!=i?-1:t!=t?1:0===t&&0===i?1/t>0&&1/i<0?1:-1:t>i}}(e))}),!wb||zb);var Pb=Ge("span").classList,Qb=Pb&&Pb.constructor&&Pb.constructor.prototype,jb=Qb===Object.prototype?void 0:Qb,Mb=el,Eb=Ye,Db=A,Ob=ca,_b=Bc,qb=Md,$b=$c,em=Mt,tm=Oi,im=Fl,nm=ei.PROPER,lm=ei.CONFIGURABLE,om=Dc.IteratorPrototype,cm=Dc.BUGGY_SAFARI_ITERATORS,am=se("iterator"),rm=function(){return this},dm=function(e,t,i,n,l,o,c){Ob(i,t,n);var a,r,d,s=function(e){if(e===l&&m)return m;if(!cm&&e in Z)return Z[e];switch(e){case"keys":case"values":case"entries":return function(){return new i(this,e)}}return function(){return new i(this)}},u=t+" Iterator",h=!1,Z=e.prototype,b=Z[am]||Z["@@iterator"]||l&&Z[l],m=!cm&&b||s(l),I="Array"==t&&Z.entries||b;if(I&&(a=_b(I.call(new e)))!==Object.prototype&&a.next&&(_b(a)!==om&&(qb?qb(a,om):Db(a[am])||tm(a,am,rm)),$b(a,u,!0)),nm&&"values"==l&&b&&"values"!==b.name&&(lm?em(Z,"name","values"):(h=!0,m=function(){return Eb(b,this)})),l)if(r={values:s("values"),keys:o?m:s("keys"),entries:s("entries")},c)for(d in r)(cm||h||!(d in Z))&&tm(Z,d,r[d]);else Mb({target:t,proto:!0,forced:cm||h},r);return Z[am]!==m&&tm(Z,am,m,{name:l}),im[t]=m,r},sm=kt,um=Kl,hm=Fl,Zm=Ji,bm=he.f,mm=dm,Im=Ze,pm=Zm.set,gm=Zm.getterFor("Array Iterator"),Gm=mm(Array,"Array",(function(e,t){pm(this,{type:"Array Iterator",target:sm(e),index:0,kind:t})}),(function(){var e=gm(this),t=e.target,i=e.kind,n=e.index++;return!t||n>=t.length?(e.target=void 0,{value:void 0,done:!0}):"keys"==i?{value:n,done:!1}:"values"==i?{value:t[n],done:!1}:{value:[n,t[n]],done:!1}}),"values"),ym=hm.Arguments=hm.Array;if(um("keys"),um("values"),um("entries"),Im&&"values"!==ym.name)try{bm(ym,"name",{value:"values"})}catch(e){}var Xm=l,Vm={CSSRuleList:0,CSSStyleDeclaration:0,CSSValueList:0,ClientRectList:0,DOMRectList:0,DOMStringList:0,DOMTokenList:1,DataTransferItemList:0,FileList:0,HTMLAllCollection:0,HTMLCollection:0,HTMLFormElement:0,HTMLSelectElement:0,MediaList:0,MimeTypeArray:0,NamedNodeMap:0,NodeList:1,PaintRequestList:0,Plugin:0,PluginArray:0,SVGLengthList:0,SVGNumberList:0,SVGPathSegList:0,SVGPointList:0,SVGStringList:0,SVGTransformList:0,SourceBufferList:0,StyleSheetList:0,TextTrackCueList:0,TextTrackList:0,TouchList:0},Wm=jb,Cm=Gm,Rm=Mt,vm=se,Sm=vm("iterator"),fm=vm("toStringTag"),Ym=Cm.values,Km=function(e,t){if(e){if(e[Sm]!==Ym)try{Rm(e,Sm,Ym)}catch(t){e[Sm]=Ym}if(e[fm]||Rm(e,fm,t),Vm[t])for(var i in Cm)if(e[i]!==Cm[i])try{Rm(e,i,Cm[i])}catch(t){e[i]=Cm[i]}}};for(var Nm in Vm)Km(Xm[Nm]&&Xm[Nm].prototype,Nm);Km(Wm,"DOMTokenList");var Lm,Jm,Um,km,Hm=Z([].slice),Am=TypeError,Tm=function(e,t){if(e<t)throw Am("Not enough arguments");return e},Bm=/(?:ipad|iphone|ipod).*applewebkit/i.test(z),Fm="process"==St(l.process),xm=l,zm=Qr,wm=Bl,Pm=A,Qm=X,jm=c,Mm=hl,Em=Hm,Dm=Ge,Om=Tm,_m=Bm,qm=Fm,$m=xm.setImmediate,eI=xm.clearImmediate,tI=xm.process,iI=xm.Dispatch,nI=xm.Function,lI=xm.MessageChannel,oI=xm.String,cI=0,aI={};try{Lm=xm.location}catch(e){}var rI=function(e){if(Qm(aI,e)){var t=aI[e];delete aI[e],t()}},dI=function(e){return function(){rI(e)}},sI=function(e){rI(e.data)},uI=function(e){xm.postMessage(oI(e),Lm.protocol+"//"+Lm.host)};$m&&eI||($m=function(e){Om(arguments.length,1);var t=Pm(e)?e:nI(e),i=Em(arguments,1);return aI[++cI]=function(){zm(t,void 0,i)},Jm(cI),cI},eI=function(e){delete aI[e]},qm?Jm=function(e){tI.nextTick(dI(e))}:iI&&iI.now?Jm=function(e){iI.now(dI(e))}:lI&&!_m?(km=(Um=new lI).port2,Um.port1.onmessage=sI,Jm=wm(km.postMessage,km)):xm.addEventListener&&Pm(xm.postMessage)&&!xm.importScripts&&Lm&&"file:"!==Lm.protocol&&!jm(uI)?(Jm=uI,xm.addEventListener("message",sI,!1)):Jm="onreadystatechange"in Dm("script")?function(e){Mm.appendChild(Dm("script")).onreadystatechange=function(){Mm.removeChild(this),rI(e)}}:function(e){setTimeout(dI(e),0)});var hI={set:$m,clear:eI},ZI=hI.clear;el({global:!0,bind:!0,enumerable:!0,forced:l.clearImmediate!==ZI},{clearImmediate:ZI});var bI=hI.set;el({global:!0,bind:!0,enumerable:!0,forced:l.setImmediate!==bI},{setImmediate:bI});var mI=va.charAt,II=da,pI=Ji,gI=dm,GI=pI.set,yI=pI.getterFor("String Iterator");gI(String,"String",(function(e){GI(this,{type:"String Iterator",string:II(e),index:0})}),(function(){var e,t=yI(this),i=t.string,n=t.index;return n>=i.length?{value:void 0,done:!0}:(e=mI(i,n),t.index+=e.length,{value:e,done:!1})}));var XI=c,VI=se("iterator"),WI=!XI((function(){var e=new URL("b?a=1&b=2&c=3","http://a"),t=e.searchParams,i="";return e.pathname="c%20d",t.forEach((function(e,n){t.delete("b"),i+=n+e})),!t.sort||"http://a/c%20d?a=1&c=3"!==e.href||"3"!==t.get("c")||"a=1"!==String(new URLSearchParams("?a=1"))||!t[VI]||"a"!==new URL("https://a@b").username||"b"!==new URLSearchParams(new URLSearchParams("a=b")).get("a")||"xn--e1aybc"!==new URL("http://тест").host||"#%D0%B1"!==new URL("http://a#б").hash||"a1c3"!==i||"x"!==new URL("http://x",void 0).host})),CI=Ze,RI=Z,vI=Ye,SI=c,fI=ll,YI=Sn,KI=Gt,NI=g,LI=Lt,JI=Object.assign,UI=Object.defineProperty,kI=RI([].concat),HI=!JI||SI((function(){if(CI&&1!==JI({b:1},JI(UI({},"a",{enumerable:!0,get:function(){UI(this,"b",{value:3,enumerable:!1})}}),{b:2})).b)return!0;var e={},t={},i=Symbol(),n="abcdefghijklmnopqrst";return e[i]=7,n.split("").forEach((function(e){t[e]=e})),7!=JI({},e)[i]||fI(JI({},t)).join("")!=n}))?function(e,t){for(var i=NI(e),n=arguments.length,l=1,o=YI.f,c=KI.f;n>l;)for(var a,r=LI(arguments[l++]),d=o?kI(fI(r),o(r)):fI(r),s=d.length,u=0;s>u;)a=d[u++],CI&&!vI(c,r,a)||(i[a]=r[a]);return i}:JI,AI=ve,TI=mo,BI=Bl,FI=Ye,xI=g,zI=function(e,t,i,n){try{return n?t(AI(i)[0],i[1]):t(i)}catch(t){TI(e,"throw",t)}},wI=Pl,PI=Eo,QI=hn,jI=ou,MI=uo,EI=no,DI=Array,OI=Z,_I=/[^\0-\u007E]/,qI=/[.\u3002\uFF0E\uFF61]/g,$I="Overflow: input needs wider integers to process",ep=RangeError,tp=OI(qI.exec),ip=Math.floor,np=String.fromCharCode,lp=OI("".charCodeAt),op=OI([].join),cp=OI([].push),ap=OI("".replace),rp=OI("".split),dp=OI("".toLowerCase),sp=function(e){return e+22+75*(e<26)},up=function(e,t,i){var n=0;for(e=i?ip(e/700):e>>1,e+=ip(e/t);e>455;)e=ip(e/35),n+=36;return ip(n+36*e/(e+38))},hp=function(e){var t=[];e=function(e){for(var t=[],i=0,n=e.length;i<n;){var l=lp(e,i++);if(l>=55296&&l<=56319&&i<n){var o=lp(e,i++);56320==(64512&o)?cp(t,((1023&l)<<10)+(1023&o)+65536):(cp(t,l),i--)}else cp(t,l)}return t}(e);var i,n,l=e.length,o=128,c=0,a=72;for(i=0;i<e.length;i++)(n=e[i])<128&&cp(t,np(n));var r=t.length,d=r;for(r&&cp(t,"-");d<l;){var s=2147483647;for(i=0;i<e.length;i++)(n=e[i])>=o&&n<s&&(s=n);var u=d+1;if(s-o>ip((2147483647-c)/u))throw ep($I);for(c+=(s-o)*u,o=s,i=0;i<e.length;i++){if((n=e[i])<o&&++c>2147483647)throw ep($I);if(n==o){for(var h=c,Z=36;;){var b=Z<=a?1:Z>=a+26?26:Z-a;if(h<b)break;var m=h-b,I=36-b;cp(t,np(sp(b+m%I))),h=ip(m/I),Z+=36}cp(t,np(sp(h))),a=up(c,u,d==r),c=0,d++}}c++,o++}return op(t,"")},Zp=el,bp=l,mp=Ye,Ip=Z,pp=Ze,gp=WI,Gp=Oi,yp=As,Xp=$c,Vp=ca,Wp=Ji,Cp=Fs,Rp=A,vp=X,Sp=Bl,fp=ql,Yp=ve,Kp=me,Np=da,Lp=Cl,Jp=Wt,Up=uo,kp=no,Hp=Tm,Ap=Cb,Tp=se("iterator"),Bp=Wp.set,Fp=Wp.getterFor("URLSearchParams"),xp=Wp.getterFor("URLSearchParamsIterator"),zp=Object.getOwnPropertyDescriptor,wp=function(e){if(!pp)return bp[e];var t=zp(bp,e);return t&&t.value},Pp=wp("fetch"),Qp=wp("Request"),jp=wp("Headers"),Mp=Qp&&Qp.prototype,Ep=jp&&jp.prototype,Dp=bp.RegExp,Op=bp.TypeError,_p=bp.decodeURIComponent,qp=bp.encodeURIComponent,$p=Ip("".charAt),eg=Ip([].join),tg=Ip([].push),ig=Ip("".replace),ng=Ip([].shift),lg=Ip([].splice),og=Ip("".split),cg=Ip("".slice),ag=/\+/g,rg=Array(4),dg=function(e){return rg[e-1]||(rg[e-1]=Dp("((?:%[\\da-f]{2}){"+e+"})","gi"))},sg=function(e){try{return _p(e)}catch(t){return e}},ug=function(e){var t=ig(e,ag," "),i=4;try{return _p(t)}catch(e){for(;i;)t=ig(t,dg(i--),sg);return t}},hg=/[!'()~]|%20/g,Zg={"!":"%21","'":"%27","(":"%28",")":"%29","~":"%7E","%20":"+"},bg=function(e){return Zg[e]},mg=function(e){return ig(qp(e),hg,bg)},Ig=Vp((function(e,t){Bp(this,{type:"URLSearchParamsIterator",iterator:Up(Fp(e).entries),kind:t})}),"Iterator",(function(){var e=xp(this),t=e.kind,i=e.iterator.next(),n=i.value;return i.done||(i.value="keys"===t?n.key:"values"===t?n.value:[n.key,n.value]),i}),!0),pg=function(e){this.entries=[],this.url=null,void 0!==e&&(Kp(e)?this.parseObject(e):this.parseQuery("string"==typeof e?"?"===$p(e,0)?cg(e,1):e:Np(e)))};pg.prototype={type:"URLSearchParams",bindURL:function(e){this.url=e,this.update()},parseObject:function(e){var t,i,n,l,o,c,a,r=kp(e);if(r)for(i=(t=Up(e,r)).next;!(n=mp(i,t)).done;){if(o=(l=Up(Yp(n.value))).next,(c=mp(o,l)).done||(a=mp(o,l)).done||!mp(o,l).done)throw Op("Expected sequence with length 2");tg(this.entries,{key:Np(c.value),value:Np(a.value)})}else for(var d in e)vp(e,d)&&tg(this.entries,{key:d,value:Np(e[d])})},parseQuery:function(e){if(e)for(var t,i,n=og(e,"&"),l=0;l<n.length;)(t=n[l++]).length&&(i=og(t,"="),tg(this.entries,{key:ug(ng(i)),value:ug(eg(i,"="))}))},serialize:function(){for(var e,t=this.entries,i=[],n=0;n<t.length;)e=t[n++],tg(i,mg(e.key)+"="+mg(e.value));return eg(i,"&")},update:function(){this.entries.length=0,this.parseQuery(this.url.query)},updateURL:function(){this.url&&this.url.update()}};var gg=function(){Cp(this,Gg);var e=arguments.length>0?arguments[0]:void 0;Bp(this,new pg(e))},Gg=gg.prototype;if(yp(Gg,{append:function(e,t){Hp(arguments.length,2);var i=Fp(this);tg(i.entries,{key:Np(e),value:Np(t)}),i.updateURL()},delete:function(e){Hp(arguments.length,1);for(var t=Fp(this),i=t.entries,n=Np(e),l=0;l<i.length;)i[l].key===n?lg(i,l,1):l++;t.updateURL()},get:function(e){Hp(arguments.length,1);for(var t=Fp(this).entries,i=Np(e),n=0;n<t.length;n++)if(t[n].key===i)return t[n].value;return null},getAll:function(e){Hp(arguments.length,1);for(var t=Fp(this).entries,i=Np(e),n=[],l=0;l<t.length;l++)t[l].key===i&&tg(n,t[l].value);return n},has:function(e){Hp(arguments.length,1);for(var t=Fp(this).entries,i=Np(e),n=0;n<t.length;)if(t[n++].key===i)return!0;return!1},set:function(e,t){Hp(arguments.length,1);for(var i,n=Fp(this),l=n.entries,o=!1,c=Np(e),a=Np(t),r=0;r<l.length;r++)(i=l[r]).key===c&&(o?lg(l,r--,1):(o=!0,i.value=a));o||tg(l,{key:c,value:a}),n.updateURL()},sort:function(){var e=Fp(this);Ap(e.entries,(function(e,t){return e.key>t.key?1:-1})),e.updateURL()},forEach:function(e){for(var t,i=Fp(this).entries,n=Sp(e,arguments.length>1?arguments[1]:void 0),l=0;l<i.length;)n((t=i[l++]).value,t.key,this)},keys:function(){return new Ig(this,"keys")},values:function(){return new Ig(this,"values")},entries:function(){return new Ig(th