UNPKG

@brionmario-experimental/asgardeo-auth-spa

Version:

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

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