-
Notifications
You must be signed in to change notification settings - Fork 2
/
polyfills.c5773aff524ba537.js
1 lines (1 loc) · 70.6 KB
/
polyfills.c5773aff524ba537.js
1
"use strict";(self.webpackChunkeveryboard=self.webpackChunkeveryboard||[]).push([[461],{1826:(n,d,t)=>{var r=t(5801);globalThis.$localize=r.tN,t(7258),t(6935)},6935:()=>{const n=globalThis;function d(i){return(n.__Zone_symbol_prefix||"__zone_symbol__")+i}const e=Object.getOwnPropertyDescriptor,o=Object.defineProperty,a=Object.getPrototypeOf,s=Object.create,p=Array.prototype.slice,u="addEventListener",c="removeEventListener",h=d(u),O=d(c),m="true",I="false",C=d("");function N(i,v){return Zone.current.wrap(i,v)}function w(i,v,b,l,x){return Zone.current.scheduleMacroTask(i,v,b,l,x)}const P=d,B=typeof window<"u",Z=B?window:void 0,S=B&&Z||globalThis,$="removeAttribute";function R(i,v){for(let b=i.length-1;b>=0;b--)"function"==typeof i[b]&&(i[b]=N(i[b],v+"_"+b));return i}function Q(i){return!i||!1!==i.writable&&!("function"==typeof i.get&&typeof i.set>"u")}const rt=typeof WorkerGlobalScope<"u"&&self instanceof WorkerGlobalScope,W=!("nw"in S)&&typeof S.process<"u"&&"[object process]"===S.process.toString(),H=!W&&!rt&&!(!B||!Z.HTMLElement),V=typeof S.process<"u"&&"[object process]"===S.process.toString()&&!rt&&!(!B||!Z.HTMLElement),K={},z=P("enable_beforeunload"),G=function(i){if(!(i=i||S.event))return;let v=K[i.type];v||(v=K[i.type]=P("ON_PROPERTY"+i.type));const b=this||i.target||S,l=b[v];let x;return H&&b===Z&&"error"===i.type?(x=l&&l.call(this,i.message,i.filename,i.lineno,i.colno,i.error),!0===x&&i.preventDefault()):(x=l&&l.apply(this,arguments),"beforeunload"===i.type&&S[z]&&"string"==typeof x?i.returnValue=x:null!=x&&!x&&i.preventDefault()),x};function ut(i,v,b){let l=e(i,v);if(!l&&b&&e(b,v)&&(l={enumerable:!0,configurable:!0}),!l||!l.configurable)return;const x=P("on"+v+"patched");if(i.hasOwnProperty(x)&&i[x])return;delete l.writable,delete l.value;const k=l.get,q=l.set,_=v.slice(2);let ot=K[_];ot||(ot=K[_]=P("ON_PROPERTY"+_)),l.set=function(ht){let Y=this;!Y&&i===S&&(Y=S),Y&&("function"==typeof Y[ot]&&Y.removeEventListener(_,G),q&&q.call(Y,null),Y[ot]=ht,"function"==typeof ht&&Y.addEventListener(_,G,!1))},l.get=function(){let ht=this;if(!ht&&i===S&&(ht=S),!ht)return null;const Y=ht[ot];if(Y)return Y;if(k){let ft=k.call(this);if(ft)return l.set.call(this,ft),"function"==typeof ht[$]&&ht.removeAttribute(v),ft}return null},o(i,v,l),i[x]=!0}function pt(i,v,b){if(v)for(let l=0;l<v.length;l++)ut(i,"on"+v[l],b);else{const l=[];for(const x in i)"on"==x.slice(0,2)&&l.push(x);for(let x=0;x<l.length;x++)ut(i,l[x],b)}}const It=P("originalInstance");function bt(i){const v=S[i];if(!v)return;S[P(i)]=v,S[i]=function(){const x=R(arguments,i);switch(x.length){case 0:this[It]=new v;break;case 1:this[It]=new v(x[0]);break;case 2:this[It]=new v(x[0],x[1]);break;case 3:this[It]=new v(x[0],x[1],x[2]);break;case 4:this[It]=new v(x[0],x[1],x[2],x[3]);break;default:throw new Error("Arg list too long.")}},Ht(S[i],v);const b=new v(function(){});let l;for(l in b)"XMLHttpRequest"===i&&"responseBlob"===l||function(x){"function"==typeof b[x]?S[i].prototype[x]=function(){return this[It][x].apply(this[It],arguments)}:o(S[i].prototype,x,{set:function(k){"function"==typeof k?(this[It][x]=N(k,i+"."+x),Ht(this[It][x],k)):this[It][x]=k},get:function(){return this[It][x]}})}(l);for(l in v)"prototype"!==l&&v.hasOwnProperty(l)&&(S[i][l]=v[l])}function Mt(i,v,b){let l=i;for(;l&&!l.hasOwnProperty(v);)l=a(l);!l&&i[v]&&(l=i);const x=P(v);let k=null;if(l&&(!(k=l[x])||!l.hasOwnProperty(x))&&(k=l[x]=l[v],Q(l&&e(l,v)))){const _=b(k,x,v);l[v]=function(){return _(this,arguments)},Ht(l[v],k)}return k}function Lt(i,v,b){let l=null;function x(k){const q=k.data;return q.args[q.cbIdx]=function(){k.invoke.apply(this,arguments)},l.apply(q.target,q.args),k}l=Mt(i,v,k=>function(q,_){const ot=b(q,_);return ot.cbIdx>=0&&"function"==typeof _[ot.cbIdx]?w(ot.name,_[ot.cbIdx],ot,x):k.apply(q,_)})}function Ht(i,v){i[P("OriginalDelegate")]=v}let qt=!1,_t=!1;function Qt(){if(qt)return _t;qt=!0;try{const i=Z.navigator.userAgent;(-1!==i.indexOf("MSIE ")||-1!==i.indexOf("Trident/")||-1!==i.indexOf("Edge/"))&&(_t=!0)}catch{}return _t}function he(i){return"function"==typeof i}function me(i){return"number"==typeof i}let re=!1;if(typeof window<"u")try{const i=Object.defineProperty({},"passive",{get:function(){re=!0}});window.addEventListener("test",i,i),window.removeEventListener("test",i,i)}catch{re=!1}const xe={useG:!0},Xt={},y={},T=new RegExp("^"+C+"(\\w+)(true|false)$"),M=P("propagationStopped");function j(i,v){const b=(v?v(i):i)+I,l=(v?v(i):i)+m,x=C+b,k=C+l;Xt[i]={},Xt[i][I]=x,Xt[i][m]=k}function X(i,v,b,l){const x=l&&l.add||u,k=l&&l.rm||c,q=l&&l.listeners||"eventListeners",_=l&&l.rmAll||"removeAllListeners",ot=P(x),ht="."+x+":",Y="prependListener",ft="."+Y+":",xt=function(st,U,Rt){if(st.isRemoved)return;const jt=st.callback;let Zt;"object"==typeof jt&&jt.handleEvent&&(st.callback=tt=>jt.handleEvent(tt),st.originalDelegate=jt);try{st.invoke(st,U,[Rt])}catch(tt){Zt=tt}const Ct=st.options;return Ct&&"object"==typeof Ct&&Ct.once&&U[k].call(U,Rt.type,st.originalDelegate?st.originalDelegate:st.callback,Ct),Zt};function wt(st,U,Rt){if(!(U=U||i.event))return;const jt=st||U.target||i,Zt=jt[Xt[U.type][Rt?m:I]];if(Zt){const Ct=[];if(1===Zt.length){const tt=xt(Zt[0],jt,U);tt&&Ct.push(tt)}else{const tt=Zt.slice();for(let Ft=0;Ft<tt.length&&(!U||!0!==U[M]);Ft++){const gt=xt(tt[Ft],jt,U);gt&&Ct.push(gt)}}if(1===Ct.length)throw Ct[0];for(let tt=0;tt<Ct.length;tt++){const Ft=Ct[tt];v.nativeScheduleMicroTask(()=>{throw Ft})}}}const kt=function(st){return wt(this,st,!1)},Vt=function(st){return wt(this,st,!0)};function Wt(st,U){if(!st)return!1;let Rt=!0;U&&void 0!==U.useG&&(Rt=U.useG);const jt=U&&U.vh;let Zt=!0;U&&void 0!==U.chkDup&&(Zt=U.chkDup);let Ct=!1;U&&void 0!==U.rt&&(Ct=U.rt);let tt=st;for(;tt&&!tt.hasOwnProperty(x);)tt=a(tt);if(!tt&&st[x]&&(tt=st),!tt||tt[ot])return!1;const Ft=U&&U.eventNameToString,gt={},dt=tt[ot]=tt[x],ct=tt[P(k)]=tt[k],yt=tt[P(q)]=tt[q],Yt=tt[P(_)]=tt[_];let Bt;U&&U.prepend&&(Bt=tt[P(U.prepend)]=tt[U.prepend]);const zt=Rt?function(E){if(!gt.isExisting)return dt.call(gt.target,gt.eventName,gt.capture?Vt:kt,gt.options)}:function(E){return dt.call(gt.target,gt.eventName,E.invoke,gt.options)},St=Rt?function(E){if(!E.isRemoved){const L=Xt[E.eventName];let it;L&&(it=L[E.capture?m:I]);const vt=it&&E.target[it];if(vt)for(let et=0;et<vt.length;et++)if(vt[et]===E){vt.splice(et,1),E.isRemoved=!0,E.removeAbortListener&&(E.removeAbortListener(),E.removeAbortListener=null),0===vt.length&&(E.allRemoved=!0,E.target[it]=null);break}}if(E.allRemoved)return ct.call(E.target,E.eventName,E.capture?Vt:kt,E.options)}:function(E){return ct.call(E.target,E.eventName,E.invoke,E.options)},se=U&&U.diff?U.diff:function(E,L){const it=typeof L;return"function"===it&&E.callback===L||"object"===it&&E.originalDelegate===L},ie=Zone[P("UNPATCHED_EVENTS")],te=i[P("PASSIVE_EVENTS")],A=function(E,L,it,vt,et=!1,Et=!1){return function(){const mt=this||i;let Ot=arguments[0];U&&U.transferEventName&&(Ot=U.transferEventName(Ot));let At=arguments[1];if(!At)return E.apply(this,arguments);if(W&&"uncaughtException"===Ot)return E.apply(this,arguments);let Dt=!1;if("function"!=typeof At){if(!At.handleEvent)return E.apply(this,arguments);Dt=!0}if(jt&&!jt(E,At,mt,arguments))return;const fe=re&&!!te&&-1!==te.indexOf(Ot),ne=function F(E){if("object"==typeof E&&null!==E){const L={...E};return E.signal&&(L.signal=E.signal),L}return E}(function Tt(E,L){return!re&&"object"==typeof E&&E?!!E.capture:re&&L?"boolean"==typeof E?{capture:E,passive:!0}:E?"object"==typeof E&&!1!==E.passive?{...E,passive:!0}:E:{passive:!0}:E}(arguments[2],fe)),ge=ne?.signal;if(ge?.aborted)return;if(ie)for(let oe=0;oe<ie.length;oe++)if(Ot===ie[oe])return fe?E.call(mt,Ot,At,ne):E.apply(this,arguments);const Pe=!!ne&&("boolean"==typeof ne||ne.capture),we=!(!ne||"object"!=typeof ne)&&ne.once,ke=Zone.current;let Re=Xt[Ot];Re||(j(Ot,Ft),Re=Xt[Ot]);const je=Re[Pe?m:I];let Oe,Te=mt[je],Ne=!1;if(Te){if(Ne=!0,Zt)for(let oe=0;oe<Te.length;oe++)if(se(Te[oe],At))return}else Te=mt[je]=[];const Ce=mt.constructor.name,Ae=y[Ce];Ae&&(Oe=Ae[Ot]),Oe||(Oe=Ce+L+(Ft?Ft(Ot):Ot)),gt.options=ne,we&&(gt.options.once=!1),gt.target=mt,gt.capture=Pe,gt.eventName=Ot,gt.isExisting=Ne;const Ee=Rt?xe:void 0;Ee&&(Ee.taskData=gt),ge&&(gt.options.signal=void 0);const ee=ke.scheduleEventTask(Oe,At,Ee,it,vt);if(ge){gt.options.signal=ge;const oe=()=>ee.zone.cancelTask(ee);E.call(ge,"abort",oe,{once:!0}),ee.removeAbortListener=()=>ge.removeEventListener("abort",oe)}return gt.target=null,Ee&&(Ee.taskData=null),we&&(gt.options.once=!0),!re&&"boolean"==typeof ee.options||(ee.options=ne),ee.target=mt,ee.capture=Pe,ee.eventName=Ot,Dt&&(ee.originalDelegate=At),Et?Te.unshift(ee):Te.push(ee),et?mt:void 0}};return tt[x]=A(dt,ht,zt,St,Ct),Bt&&(tt[Y]=A(Bt,ft,function(E){return Bt.call(gt.target,gt.eventName,E.invoke,gt.options)},St,Ct,!0)),tt[k]=function(){const E=this||i;let L=arguments[0];U&&U.transferEventName&&(L=U.transferEventName(L));const it=arguments[2],vt=!!it&&("boolean"==typeof it||it.capture),et=arguments[1];if(!et)return ct.apply(this,arguments);if(jt&&!jt(ct,et,E,arguments))return;const Et=Xt[L];let mt;Et&&(mt=Et[vt?m:I]);const Ot=mt&&E[mt];if(Ot)for(let At=0;At<Ot.length;At++){const Dt=Ot[At];if(se(Dt,et))return Ot.splice(At,1),Dt.isRemoved=!0,0!==Ot.length||(Dt.allRemoved=!0,E[mt]=null,vt||"string"!=typeof L)||(E[C+"ON_PROPERTY"+L]=null),Dt.zone.cancelTask(Dt),Ct?E:void 0}return ct.apply(this,arguments)},tt[q]=function(){const E=this||i;let L=arguments[0];U&&U.transferEventName&&(L=U.transferEventName(L));const it=[],vt=nt(E,Ft?Ft(L):L);for(let et=0;et<vt.length;et++){const Et=vt[et];it.push(Et.originalDelegate?Et.originalDelegate:Et.callback)}return it},tt[_]=function(){const E=this||i;let L=arguments[0];if(L){U&&U.transferEventName&&(L=U.transferEventName(L));const it=Xt[L];if(it){const Et=E[it[I]],mt=E[it[m]];if(Et){const Ot=Et.slice();for(let At=0;At<Ot.length;At++){const Dt=Ot[At];this[k].call(this,L,Dt.originalDelegate?Dt.originalDelegate:Dt.callback,Dt.options)}}if(mt){const Ot=mt.slice();for(let At=0;At<Ot.length;At++){const Dt=Ot[At];this[k].call(this,L,Dt.originalDelegate?Dt.originalDelegate:Dt.callback,Dt.options)}}}}else{const it=Object.keys(E);for(let vt=0;vt<it.length;vt++){const Et=T.exec(it[vt]);let mt=Et&&Et[1];mt&&"removeListener"!==mt&&this[_].call(this,mt)}this[_].call(this,"removeListener")}if(Ct)return this},Ht(tt[x],dt),Ht(tt[k],ct),Yt&&Ht(tt[_],Yt),yt&&Ht(tt[q],yt),!0}let Gt=[];for(let st=0;st<b.length;st++)Gt[st]=Wt(b[st],l);return Gt}function nt(i,v){if(!v){const k=[];for(let q in i){const _=T.exec(q);let ot=_&&_[1];if(ot&&(!v||ot===v)){const ht=i[q];if(ht)for(let Y=0;Y<ht.length;Y++)k.push(ht[Y])}}return k}let b=Xt[v];b||(j(v),b=Xt[v]);const l=i[b[I]],x=i[b[m]];return l?x?l.concat(x):l.slice():x?x.slice():[]}function Kt(i,v){const b=i.Event;b&&b.prototype&&v.patchMethod(b.prototype,"stopImmediatePropagation",l=>function(x,k){x[M]=!0,l&&l.apply(x,k)})}const Pt=P("zoneTask");function $t(i,v,b,l){let x=null,k=null;b+=l;const q={};function _(ht){const Y=ht.data;Y.args[0]=function(){return ht.invoke.apply(this,arguments)};const ft=x.apply(i,Y.args);return me(ft)?Y.handleId=ft:(Y.handle=ft,Y.isRefreshable=he(ft.refresh)),ht}function ot(ht){const{handle:Y,handleId:ft}=ht.data;return k.call(i,Y??ft)}x=Mt(i,v+=l,ht=>function(Y,ft){if(he(ft[0])){const xt={isRefreshable:!1,isPeriodic:"Interval"===l,delay:"Timeout"===l||"Interval"===l?ft[1]||0:void 0,args:ft},wt=ft[0];ft[0]=function(){try{return wt.apply(this,arguments)}finally{const{handle:Rt,handleId:jt,isPeriodic:Zt,isRefreshable:Ct}=xt;!Zt&&!Ct&&(jt?delete q[jt]:Rt&&(Rt[Pt]=null))}};const kt=w(v,ft[0],xt,_,ot);if(!kt)return kt;const{handleId:Vt,handle:Wt,isRefreshable:Gt,isPeriodic:st}=kt.data;if(Vt)q[Vt]=kt;else if(Wt&&(Wt[Pt]=kt,Gt&&!st)){const U=Wt.refresh;Wt.refresh=function(){const{zone:Rt,state:jt}=kt;return"notScheduled"===jt?(kt._state="scheduled",Rt._updateTaskCount(kt,1)):"running"===jt&&(kt._state="scheduling"),U.call(this)}}return Wt??Vt??kt}return ht.apply(i,ft)}),k=Mt(i,b,ht=>function(Y,ft){const xt=ft[0];let wt;me(xt)?(wt=q[xt],delete q[xt]):(wt=xt?.[Pt],wt?xt[Pt]=null:wt=xt),wt?.type?wt.cancelFn&&wt.zone.cancelTask(wt):ht.apply(i,ft)})}function ye(i,v,b){if(!b||0===b.length)return v;const l=b.filter(k=>k.target===i);if(!l||0===l.length)return v;const x=l[0].ignoreProperties;return v.filter(k=>-1===x.indexOf(k))}function Jt(i,v,b,l){i&&pt(i,ye(i,v,b),l)}function ce(i){return Object.getOwnPropertyNames(i).filter(v=>v.startsWith("on")&&v.length>2).map(v=>v.substring(2))}function be(i,v,b,l,x){const k=Zone.__symbol__(l);if(v[k])return;const q=v[k]=v[l];v[l]=function(_,ot,ht){return ot&&ot.prototype&&x.forEach(function(Y){const ft=`${b}.${l}::`+Y,xt=ot.prototype;try{if(xt.hasOwnProperty(Y)){const wt=i.ObjectGetOwnPropertyDescriptor(xt,Y);wt&&wt.value?(wt.value=i.wrapWithCurrentZone(wt.value,ft),i._redefineProperty(ot.prototype,Y,wt)):xt[Y]&&(xt[Y]=i.wrapWithCurrentZone(xt[Y],ft))}else xt[Y]&&(xt[Y]=i.wrapWithCurrentZone(xt[Y],ft))}catch{}}),q.call(v,_,ot,ht)},i.attachOriginToPatched(v[l],q)}const Me=function r(){const i=globalThis,v=!0===i[d("forceDuplicateZoneCheck")];if(i.Zone&&(v||"function"!=typeof i.Zone.__symbol__))throw new Error("Zone already loaded.");return i.Zone??=function t(){const i=n.performance;function v(Tt){i&&i.mark&&i.mark(Tt)}function b(Tt,J){i&&i.measure&&i.measure(Tt,J)}v("Zone");let l=(()=>{class Tt{static#t=this.__symbol__=d;static assertZonePatched(){if(n.Promise!==gt.ZoneAwarePromise)throw new Error("Zone.js has detected that ZoneAwarePromise `(window|global).Promise` has been overwritten.\nMost likely cause is that a Promise polyfill has been loaded after Zone.js (Polyfilling Promise api is not necessary when zone.js is loaded. If you must load one, do so before loading zone.js.)")}static get root(){let f=Tt.current;for(;f.parent;)f=f.parent;return f}static get current(){return ct.zone}static get currentTask(){return yt}static __load_patch(f,g,at=!1){if(gt.hasOwnProperty(f)){const lt=!0===n[d("forceDuplicateZoneCheck")];if(!at&<)throw Error("Already loaded patch: "+f)}else if(!n["__Zone_disable_"+f]){const lt="Zone:"+f;v(lt),gt[f]=g(n,Tt,dt),b(lt,lt)}}get parent(){return this._parent}get name(){return this._name}constructor(f,g){this._parent=f,this._name=g?g.name||"unnamed":"<root>",this._properties=g&&g.properties||{},this._zoneDelegate=new k(this,this._parent&&this._parent._zoneDelegate,g)}get(f){const g=this.getZoneWith(f);if(g)return g._properties[f]}getZoneWith(f){let g=this;for(;g;){if(g._properties.hasOwnProperty(f))return g;g=g._parent}return null}fork(f){if(!f)throw new Error("ZoneSpec required!");return this._zoneDelegate.fork(this,f)}wrap(f,g){if("function"!=typeof f)throw new Error("Expecting function got: "+f);const at=this._zoneDelegate.intercept(this,f,g),lt=this;return function(){return lt.runGuarded(at,this,arguments,g)}}run(f,g,at,lt){ct={parent:ct,zone:this};try{return this._zoneDelegate.invoke(this,f,g,at,lt)}finally{ct=ct.parent}}runGuarded(f,g=null,at,lt){ct={parent:ct,zone:this};try{try{return this._zoneDelegate.invoke(this,f,g,at,lt)}catch(zt){if(this._zoneDelegate.handleError(this,zt))throw zt}}finally{ct=ct.parent}}runTask(f,g,at){if(f.zone!=this)throw new Error("A task can only be run in the zone of creation! (Creation: "+(f.zone||Wt).name+"; Execution: "+this.name+")");const lt=f,{type:zt,data:{isPeriodic:St=!1,isRefreshable:le=!1}={}}=f;if(f.state===Gt&&(zt===Ft||zt===tt))return;const se=f.state!=Rt;se&<._transitionTo(Rt,U);const ie=yt;yt=lt,ct={parent:ct,zone:this};try{zt==tt&&f.data&&!St&&!le&&(f.cancelFn=void 0);try{return this._zoneDelegate.invokeTask(this,lt,g,at)}catch(te){if(this._zoneDelegate.handleError(this,te))throw te}}finally{const te=f.state;if(te!==Gt&&te!==Zt)if(zt==Ft||St||le&&te===st)se&<._transitionTo(U,Rt,st);else{const F=lt._zoneDelegates;this._updateTaskCount(lt,-1),se&<._transitionTo(Gt,Rt,Gt),le&&(lt._zoneDelegates=F)}ct=ct.parent,yt=ie}}scheduleTask(f){if(f.zone&&f.zone!==this){let at=this;for(;at;){if(at===f.zone)throw Error(`can not reschedule task to ${this.name} which is descendants of the original zone ${f.zone.name}`);at=at.parent}}f._transitionTo(st,Gt);const g=[];f._zoneDelegates=g,f._zone=this;try{f=this._zoneDelegate.scheduleTask(this,f)}catch(at){throw f._transitionTo(Zt,st,Gt),this._zoneDelegate.handleError(this,at),at}return f._zoneDelegates===g&&this._updateTaskCount(f,1),f.state==st&&f._transitionTo(U,st),f}scheduleMicroTask(f,g,at,lt){return this.scheduleTask(new q(Ct,f,g,at,lt,void 0))}scheduleMacroTask(f,g,at,lt,zt){return this.scheduleTask(new q(tt,f,g,at,lt,zt))}scheduleEventTask(f,g,at,lt,zt){return this.scheduleTask(new q(Ft,f,g,at,lt,zt))}cancelTask(f){if(f.zone!=this)throw new Error("A task can only be cancelled in the zone of creation! (Creation: "+(f.zone||Wt).name+"; Execution: "+this.name+")");if(f.state===U||f.state===Rt){f._transitionTo(jt,U,Rt);try{this._zoneDelegate.cancelTask(this,f)}catch(g){throw f._transitionTo(Zt,jt),this._zoneDelegate.handleError(this,g),g}return this._updateTaskCount(f,-1),f._transitionTo(Gt,jt),f.runCount=-1,f}}_updateTaskCount(f,g){const at=f._zoneDelegates;-1==g&&(f._zoneDelegates=null);for(let lt=0;lt<at.length;lt++)at[lt]._updateTaskCount(f.type,g)}}return Tt})();const x={name:"",onHasTask:(Tt,J,f,g)=>Tt.hasTask(f,g),onScheduleTask:(Tt,J,f,g)=>Tt.scheduleTask(f,g),onInvokeTask:(Tt,J,f,g,at,lt)=>Tt.invokeTask(f,g,at,lt),onCancelTask:(Tt,J,f,g)=>Tt.cancelTask(f,g)};class k{get zone(){return this._zone}constructor(J,f,g){this._taskCounts={microTask:0,macroTask:0,eventTask:0},this._zone=J,this._parentDelegate=f,this._forkZS=g&&(g&&g.onFork?g:f._forkZS),this._forkDlgt=g&&(g.onFork?f:f._forkDlgt),this._forkCurrZone=g&&(g.onFork?this._zone:f._forkCurrZone),this._interceptZS=g&&(g.onIntercept?g:f._interceptZS),this._interceptDlgt=g&&(g.onIntercept?f:f._interceptDlgt),this._interceptCurrZone=g&&(g.onIntercept?this._zone:f._interceptCurrZone),this._invokeZS=g&&(g.onInvoke?g:f._invokeZS),this._invokeDlgt=g&&(g.onInvoke?f:f._invokeDlgt),this._invokeCurrZone=g&&(g.onInvoke?this._zone:f._invokeCurrZone),this._handleErrorZS=g&&(g.onHandleError?g:f._handleErrorZS),this._handleErrorDlgt=g&&(g.onHandleError?f:f._handleErrorDlgt),this._handleErrorCurrZone=g&&(g.onHandleError?this._zone:f._handleErrorCurrZone),this._scheduleTaskZS=g&&(g.onScheduleTask?g:f._scheduleTaskZS),this._scheduleTaskDlgt=g&&(g.onScheduleTask?f:f._scheduleTaskDlgt),this._scheduleTaskCurrZone=g&&(g.onScheduleTask?this._zone:f._scheduleTaskCurrZone),this._invokeTaskZS=g&&(g.onInvokeTask?g:f._invokeTaskZS),this._invokeTaskDlgt=g&&(g.onInvokeTask?f:f._invokeTaskDlgt),this._invokeTaskCurrZone=g&&(g.onInvokeTask?this._zone:f._invokeTaskCurrZone),this._cancelTaskZS=g&&(g.onCancelTask?g:f._cancelTaskZS),this._cancelTaskDlgt=g&&(g.onCancelTask?f:f._cancelTaskDlgt),this._cancelTaskCurrZone=g&&(g.onCancelTask?this._zone:f._cancelTaskCurrZone),this._hasTaskZS=null,this._hasTaskDlgt=null,this._hasTaskDlgtOwner=null,this._hasTaskCurrZone=null;const at=g&&g.onHasTask;(at||f&&f._hasTaskZS)&&(this._hasTaskZS=at?g:x,this._hasTaskDlgt=f,this._hasTaskDlgtOwner=this,this._hasTaskCurrZone=this._zone,g.onScheduleTask||(this._scheduleTaskZS=x,this._scheduleTaskDlgt=f,this._scheduleTaskCurrZone=this._zone),g.onInvokeTask||(this._invokeTaskZS=x,this._invokeTaskDlgt=f,this._invokeTaskCurrZone=this._zone),g.onCancelTask||(this._cancelTaskZS=x,this._cancelTaskDlgt=f,this._cancelTaskCurrZone=this._zone))}fork(J,f){return this._forkZS?this._forkZS.onFork(this._forkDlgt,this.zone,J,f):new l(J,f)}intercept(J,f,g){return this._interceptZS?this._interceptZS.onIntercept(this._interceptDlgt,this._interceptCurrZone,J,f,g):f}invoke(J,f,g,at,lt){return this._invokeZS?this._invokeZS.onInvoke(this._invokeDlgt,this._invokeCurrZone,J,f,g,at,lt):f.apply(g,at)}handleError(J,f){return!this._handleErrorZS||this._handleErrorZS.onHandleError(this._handleErrorDlgt,this._handleErrorCurrZone,J,f)}scheduleTask(J,f){let g=f;if(this._scheduleTaskZS)this._hasTaskZS&&g._zoneDelegates.push(this._hasTaskDlgtOwner),g=this._scheduleTaskZS.onScheduleTask(this._scheduleTaskDlgt,this._scheduleTaskCurrZone,J,f),g||(g=f);else if(f.scheduleFn)f.scheduleFn(f);else{if(f.type!=Ct)throw new Error("Task is missing scheduleFn.");kt(f)}return g}invokeTask(J,f,g,at){return this._invokeTaskZS?this._invokeTaskZS.onInvokeTask(this._invokeTaskDlgt,this._invokeTaskCurrZone,J,f,g,at):f.callback.apply(g,at)}cancelTask(J,f){let g;if(this._cancelTaskZS)g=this._cancelTaskZS.onCancelTask(this._cancelTaskDlgt,this._cancelTaskCurrZone,J,f);else{if(!f.cancelFn)throw Error("Task is not cancelable");g=f.cancelFn(f)}return g}hasTask(J,f){try{this._hasTaskZS&&this._hasTaskZS.onHasTask(this._hasTaskDlgt,this._hasTaskCurrZone,J,f)}catch(g){this.handleError(J,g)}}_updateTaskCount(J,f){const g=this._taskCounts,at=g[J],lt=g[J]=at+f;if(lt<0)throw new Error("More tasks executed then were scheduled.");0!=at&&0!=lt||this.hasTask(this._zone,{microTask:g.microTask>0,macroTask:g.macroTask>0,eventTask:g.eventTask>0,change:J})}}class q{constructor(J,f,g,at,lt,zt){if(this._zone=null,this.runCount=0,this._zoneDelegates=null,this._state="notScheduled",this.type=J,this.source=f,this.data=at,this.scheduleFn=lt,this.cancelFn=zt,!g)throw new Error("callback is not defined");this.callback=g;const St=this;this.invoke=J===Ft&&at&&at.useG?q.invokeTask:function(){return q.invokeTask.call(n,St,this,arguments)}}static invokeTask(J,f,g){J||(J=this),Yt++;try{return J.runCount++,J.zone.runTask(J,f,g)}finally{1==Yt&&Vt(),Yt--}}get zone(){return this._zone}get state(){return this._state}cancelScheduleRequest(){this._transitionTo(Gt,st)}_transitionTo(J,f,g){if(this._state!==f&&this._state!==g)throw new Error(`${this.type} '${this.source}': can not transition to '${J}', expecting state '${f}'${g?" or '"+g+"'":""}, was '${this._state}'.`);this._state=J,J==Gt&&(this._zoneDelegates=null)}toString(){return this.data&&typeof this.data.handleId<"u"?this.data.handleId.toString():Object.prototype.toString.call(this)}toJSON(){return{type:this.type,state:this.state,source:this.source,zone:this.zone.name,runCount:this.runCount}}}const _=d("setTimeout"),ot=d("Promise"),ht=d("then");let xt,Y=[],ft=!1;function wt(Tt){if(xt||n[ot]&&(xt=n[ot].resolve(0)),xt){let J=xt[ht];J||(J=xt.then),J.call(xt,Tt)}else n[_](Tt,0)}function kt(Tt){0===Yt&&0===Y.length&&wt(Vt),Tt&&Y.push(Tt)}function Vt(){if(!ft){for(ft=!0;Y.length;){const Tt=Y;Y=[];for(let J=0;J<Tt.length;J++){const f=Tt[J];try{f.zone.runTask(f,null,null)}catch(g){dt.onUnhandledError(g)}}}dt.microtaskDrainDone(),ft=!1}}const Wt={name:"NO ZONE"},Gt="notScheduled",st="scheduling",U="scheduled",Rt="running",jt="canceling",Zt="unknown",Ct="microTask",tt="macroTask",Ft="eventTask",gt={},dt={symbol:d,currentZoneFrame:()=>ct,onUnhandledError:Bt,microtaskDrainDone:Bt,scheduleMicroTask:kt,showUncaughtError:()=>!l[d("ignoreConsoleErrorUncaughtError")],patchEventTarget:()=>[],patchOnProperties:Bt,patchMethod:()=>Bt,bindArguments:()=>[],patchThen:()=>Bt,patchMacroTask:()=>Bt,patchEventPrototype:()=>Bt,isIEOrEdge:()=>!1,getGlobalObjects:()=>{},ObjectDefineProperty:()=>Bt,ObjectGetOwnPropertyDescriptor:()=>{},ObjectCreate:()=>{},ArraySlice:()=>[],patchClass:()=>Bt,wrapWithCurrentZone:()=>Bt,filterProperties:()=>[],attachOriginToPatched:()=>Bt,_redefineProperty:()=>Bt,patchCallbacks:()=>Bt,nativeScheduleMicroTask:wt};let ct={parent:null,zone:new l(null,null)},yt=null,Yt=0;function Bt(){}return b("Zone","Zone"),l}(),i.Zone}();(function Le(i){(function Ie(i){i.__load_patch("ZoneAwarePromise",(v,b,l)=>{const x=Object.getOwnPropertyDescriptor,k=Object.defineProperty,_=l.symbol,ot=[],ht=!1!==v[_("DISABLE_WRAPPING_UNCAUGHT_PROMISE_REJECTION")],Y=_("Promise"),ft=_("then"),xt="__creationTrace__";l.onUnhandledError=F=>{if(l.showUncaughtError()){const A=F&&F.rejection;A?console.error("Unhandled Promise rejection:",A instanceof Error?A.message:A,"; Zone:",F.zone.name,"; Task:",F.task&&F.task.source,"; Value:",A,A instanceof Error?A.stack:void 0):console.error(F)}},l.microtaskDrainDone=()=>{for(;ot.length;){const F=ot.shift();try{F.zone.runGuarded(()=>{throw F.throwOriginal?F.rejection:F})}catch(A){kt(A)}}};const wt=_("unhandledPromiseRejectionHandler");function kt(F){l.onUnhandledError(F);try{const A=b[wt];"function"==typeof A&&A.call(this,F)}catch{}}function Vt(F){return F&&F.then}function Wt(F){return F}function Gt(F){return St.reject(F)}const st=_("state"),U=_("value"),Rt=_("finally"),jt=_("parentPromiseValue"),Zt=_("parentPromiseState"),Ct="Promise.then",tt=null,Ft=!0,gt=!1,dt=0;function ct(F,A){return E=>{try{Tt(F,A,E)}catch(L){Tt(F,!1,L)}}}const yt=function(){let F=!1;return function(E){return function(){F||(F=!0,E.apply(null,arguments))}}},Yt="Promise resolved with itself",Bt=_("currentTaskTrace");function Tt(F,A,E){const L=yt();if(F===E)throw new TypeError(Yt);if(F[st]===tt){let it=null;try{("object"==typeof E||"function"==typeof E)&&(it=E&&E.then)}catch(vt){return L(()=>{Tt(F,!1,vt)})(),F}if(A!==gt&&E instanceof St&&E.hasOwnProperty(st)&&E.hasOwnProperty(U)&&E[st]!==tt)f(E),Tt(F,E[st],E[U]);else if(A!==gt&&"function"==typeof it)try{it.call(E,L(ct(F,A)),L(ct(F,!1)))}catch(vt){L(()=>{Tt(F,!1,vt)})()}else{F[st]=A;const vt=F[U];if(F[U]=E,F[Rt]===Rt&&A===Ft&&(F[st]=F[Zt],F[U]=F[jt]),A===gt&&E instanceof Error){const et=b.currentTask&&b.currentTask.data&&b.currentTask.data[xt];et&&k(E,Bt,{configurable:!0,enumerable:!1,writable:!0,value:et})}for(let et=0;et<vt.length;)g(F,vt[et++],vt[et++],vt[et++],vt[et++]);if(0==vt.length&&A==gt){F[st]=dt;let et=E;try{throw new Error("Uncaught (in promise): "+function q(F){return F&&F.toString===Object.prototype.toString?(F.constructor&&F.constructor.name||"")+": "+JSON.stringify(F):F?F.toString():Object.prototype.toString.call(F)}(E)+(E&&E.stack?"\n"+E.stack:""))}catch(Et){et=Et}ht&&(et.throwOriginal=!0),et.rejection=E,et.promise=F,et.zone=b.current,et.task=b.currentTask,ot.push(et),l.scheduleMicroTask()}}}return F}const J=_("rejectionHandledHandler");function f(F){if(F[st]===dt){try{const A=b[J];A&&"function"==typeof A&&A.call(this,{rejection:F[U],promise:F})}catch{}F[st]=gt;for(let A=0;A<ot.length;A++)F===ot[A].promise&&ot.splice(A,1)}}function g(F,A,E,L,it){f(F);const vt=F[st],et=vt?"function"==typeof L?L:Wt:"function"==typeof it?it:Gt;A.scheduleMicroTask(Ct,()=>{try{const Et=F[U],mt=!!E&&Rt===E[Rt];mt&&(E[jt]=Et,E[Zt]=vt);const Ot=A.run(et,void 0,mt&&et!==Gt&&et!==Wt?[]:[Et]);Tt(E,!0,Ot)}catch(Et){Tt(E,!1,Et)}},E)}const lt=function(){},zt=v.AggregateError;class St{static toString(){return"function ZoneAwarePromise() { [native code] }"}static resolve(A){return A instanceof St?A:Tt(new this(null),Ft,A)}static reject(A){return Tt(new this(null),gt,A)}static withResolvers(){const A={};return A.promise=new St((E,L)=>{A.resolve=E,A.reject=L}),A}static any(A){if(!A||"function"!=typeof A[Symbol.iterator])return Promise.reject(new zt([],"All promises were rejected"));const E=[];let L=0;try{for(let et of A)L++,E.push(St.resolve(et))}catch{return Promise.reject(new zt([],"All promises were rejected"))}if(0===L)return Promise.reject(new zt([],"All promises were rejected"));let it=!1;const vt=[];return new St((et,Et)=>{for(let mt=0;mt<E.length;mt++)E[mt].then(Ot=>{it||(it=!0,et(Ot))},Ot=>{vt.push(Ot),L--,0===L&&(it=!0,Et(new zt(vt,"All promises were rejected")))})})}static race(A){let E,L,it=new this((Et,mt)=>{E=Et,L=mt});function vt(Et){E(Et)}function et(Et){L(Et)}for(let Et of A)Vt(Et)||(Et=this.resolve(Et)),Et.then(vt,et);return it}static all(A){return St.allWithCallback(A)}static allSettled(A){return(this&&this.prototype instanceof St?this:St).allWithCallback(A,{thenCallback:L=>({status:"fulfilled",value:L}),errorCallback:L=>({status:"rejected",reason:L})})}static allWithCallback(A,E){let L,it,vt=new this((Ot,At)=>{L=Ot,it=At}),et=2,Et=0;const mt=[];for(let Ot of A){Vt(Ot)||(Ot=this.resolve(Ot));const At=Et;try{Ot.then(Dt=>{mt[At]=E?E.thenCallback(Dt):Dt,et--,0===et&&L(mt)},Dt=>{E?(mt[At]=E.errorCallback(Dt),et--,0===et&&L(mt)):it(Dt)})}catch(Dt){it(Dt)}et++,Et++}return et-=2,0===et&&L(mt),vt}constructor(A){const E=this;if(!(E instanceof St))throw new Error("Must be an instanceof Promise.");E[st]=tt,E[U]=[];try{const L=yt();A&&A(L(ct(E,Ft)),L(ct(E,gt)))}catch(L){Tt(E,!1,L)}}get[Symbol.toStringTag](){return"Promise"}get[Symbol.species](){return St}then(A,E){let L=this.constructor?.[Symbol.species];(!L||"function"!=typeof L)&&(L=this.constructor||St);const it=new L(lt),vt=b.current;return this[st]==tt?this[U].push(vt,it,A,E):g(this,vt,it,A,E),it}catch(A){return this.then(null,A)}finally(A){let E=this.constructor?.[Symbol.species];(!E||"function"!=typeof E)&&(E=St);const L=new E(lt);L[Rt]=Rt;const it=b.current;return this[st]==tt?this[U].push(it,L,A,A):g(this,it,L,A,A),L}}St.resolve=St.resolve,St.reject=St.reject,St.race=St.race,St.all=St.all;const le=v[Y]=v.Promise;v.Promise=St;const se=_("thenPatched");function ie(F){const A=F.prototype,E=x(A,"then");if(E&&(!1===E.writable||!E.configurable))return;const L=A.then;A[ft]=L,F.prototype.then=function(it,vt){return new St((Et,mt)=>{L.call(this,Et,mt)}).then(it,vt)},F[se]=!0}return l.patchThen=ie,le&&(ie(le),Mt(v,"fetch",F=>function te(F){return function(A,E){let L=F.apply(A,E);if(L instanceof St)return L;let it=L.constructor;return it[se]||ie(it),L}}(F))),Promise[b.__symbol__("uncaughtPromiseErrors")]=ot,St})})(i),function Se(i){i.__load_patch("toString",v=>{const b=Function.prototype.toString,l=P("OriginalDelegate"),x=P("Promise"),k=P("Error"),q=function(){if("function"==typeof this){const Y=this[l];if(Y)return"function"==typeof Y?b.call(Y):Object.prototype.toString.call(Y);if(this===Promise){const ft=v[x];if(ft)return b.call(ft)}if(this===Error){const ft=v[k];if(ft)return b.call(ft)}}return b.call(this)};q[l]=b,Function.prototype.toString=q;const _=Object.prototype.toString;Object.prototype.toString=function(){return"function"==typeof Promise&&this instanceof Promise?"[object Promise]":_.call(this)}})}(i),function De(i){i.__load_patch("util",(v,b,l)=>{const x=ce(v);l.patchOnProperties=pt,l.patchMethod=Mt,l.bindArguments=R,l.patchMacroTask=Lt;const k=b.__symbol__("BLACK_LISTED_EVENTS"),q=b.__symbol__("UNPATCHED_EVENTS");v[q]&&(v[k]=v[q]),v[k]&&(b[k]=b[q]=v[k]),l.patchEventPrototype=Kt,l.patchEventTarget=X,l.isIEOrEdge=Qt,l.ObjectDefineProperty=o,l.ObjectGetOwnPropertyDescriptor=e,l.ObjectCreate=s,l.ArraySlice=p,l.patchClass=bt,l.wrapWithCurrentZone=N,l.filterProperties=ye,l.attachOriginToPatched=Ht,l._redefineProperty=Object.defineProperty,l.patchCallbacks=be,l.getGlobalObjects=()=>({globalSources:y,zoneSymbolEventNames:Xt,eventNames:x,isBrowser:H,isMix:V,isNode:W,TRUE_STR:m,FALSE_STR:I,ZONE_SYMBOL_PREFIX:C,ADD_EVENT_LISTENER_STR:u,REMOVE_EVENT_LISTENER_STR:c})})}(i)})(Me),function ve(i){i.__load_patch("legacy",v=>{const b=v[i.__symbol__("legacyPatch")];b&&b()}),i.__load_patch("timers",v=>{const b="set",l="clear";$t(v,b,l,"Timeout"),$t(v,b,l,"Interval"),$t(v,b,l,"Immediate")}),i.__load_patch("requestAnimationFrame",v=>{$t(v,"request","cancel","AnimationFrame"),$t(v,"mozRequest","mozCancel","AnimationFrame"),$t(v,"webkitRequest","webkitCancel","AnimationFrame")}),i.__load_patch("blocking",(v,b)=>{const l=["alert","prompt","confirm"];for(let x=0;x<l.length;x++)Mt(v,l[x],(q,_,ot)=>function(ht,Y){return b.current.run(q,v,Y,ot)})}),i.__load_patch("EventTarget",(v,b,l)=>{(function pe(i,v){v.patchEventPrototype(i,v)})(v,l),function de(i,v){if(Zone[v.symbol("patchEventTarget")])return;const{eventNames:b,zoneSymbolEventNames:l,TRUE_STR:x,FALSE_STR:k,ZONE_SYMBOL_PREFIX:q}=v.getGlobalObjects();for(let ot=0;ot<b.length;ot++){const ht=b[ot],xt=q+(ht+k),wt=q+(ht+x);l[ht]={},l[ht][k]=xt,l[ht][x]=wt}const _=i.EventTarget;_&&_.prototype&&v.patchEventTarget(i,v,[_&&_.prototype])}(v,l);const x=v.XMLHttpRequestEventTarget;x&&x.prototype&&l.patchEventTarget(v,l,[x.prototype])}),i.__load_patch("MutationObserver",(v,b,l)=>{bt("MutationObserver"),bt("WebKitMutationObserver")}),i.__load_patch("IntersectionObserver",(v,b,l)=>{bt("IntersectionObserver")}),i.__load_patch("FileReader",(v,b,l)=>{bt("FileReader")}),i.__load_patch("on_property",(v,b,l)=>{!function Ut(i,v){if(W&&!V||Zone[i.symbol("patchEvents")])return;const b=v.__Zone_ignore_on_properties;let l=[];if(H){const x=window;l=l.concat(["Document","SVGElement","Element","HTMLElement","HTMLBodyElement","HTMLMediaElement","HTMLFrameSetElement","HTMLFrameElement","HTMLIFrameElement","HTMLMarqueeElement","Worker"]);const k=function ae(){try{const i=Z.navigator.userAgent;if(-1!==i.indexOf("MSIE ")||-1!==i.indexOf("Trident/"))return!0}catch{}return!1}()?[{target:x,ignoreProperties:["error"]}]:[];Jt(x,ce(x),b&&b.concat(k),a(x))}l=l.concat(["XMLHttpRequest","XMLHttpRequestEventTarget","IDBIndex","IDBRequest","IDBOpenDBRequest","IDBDatabase","IDBTransaction","IDBCursor","WebSocket"]);for(let x=0;x<l.length;x++){const k=v[l[x]];k&&k.prototype&&Jt(k.prototype,ce(k.prototype),b)}}(l,v)}),i.__load_patch("customElements",(v,b,l)=>{!function ue(i,v){const{isBrowser:b,isMix:l}=v.getGlobalObjects();(b||l)&&i.customElements&&"customElements"in i&&v.patchCallbacks(v,i.customElements,"customElements","define",["connectedCallback","disconnectedCallback","adoptedCallback","attributeChangedCallback","formAssociatedCallback","formDisabledCallback","formResetCallback","formStateRestoreCallback"])}(v,l)}),i.__load_patch("XHR",(v,b)=>{!function ht(Y){const ft=Y.XMLHttpRequest;if(!ft)return;const xt=ft.prototype;let kt=xt[h],Vt=xt[O];if(!kt){const dt=Y.XMLHttpRequestEventTarget;if(dt){const ct=dt.prototype;kt=ct[h],Vt=ct[O]}}const Wt="readystatechange",Gt="scheduled";function st(dt){const ct=dt.data,yt=ct.target;yt[q]=!1,yt[ot]=!1;const Yt=yt[k];kt||(kt=yt[h],Vt=yt[O]),Yt&&Vt.call(yt,Wt,Yt);const Bt=yt[k]=()=>{if(yt.readyState===yt.DONE)if(!ct.aborted&&yt[q]&&dt.state===Gt){const J=yt[b.__symbol__("loadfalse")];if(0!==yt.status&&J&&J.length>0){const f=dt.invoke;dt.invoke=function(){const g=yt[b.__symbol__("loadfalse")];for(let at=0;at<g.length;at++)g[at]===dt&&g.splice(at,1);!ct.aborted&&dt.state===Gt&&f.call(dt)},J.push(dt)}else dt.invoke()}else!ct.aborted&&!1===yt[q]&&(yt[ot]=!0)};return kt.call(yt,Wt,Bt),yt[l]||(yt[l]=dt),Ft.apply(yt,ct.args),yt[q]=!0,dt}function U(){}function Rt(dt){const ct=dt.data;return ct.aborted=!0,gt.apply(ct.target,ct.args)}const jt=Mt(xt,"open",()=>function(dt,ct){return dt[x]=0==ct[2],dt[_]=ct[1],jt.apply(dt,ct)}),Ct=P("fetchTaskAborting"),tt=P("fetchTaskScheduling"),Ft=Mt(xt,"send",()=>function(dt,ct){if(!0===b.current[tt]||dt[x])return Ft.apply(dt,ct);{const yt={target:dt,url:dt[_],isPeriodic:!1,args:ct,aborted:!1},Yt=w("XMLHttpRequest.send",U,yt,st,Rt);dt&&!0===dt[ot]&&!yt.aborted&&Yt.state===Gt&&Yt.invoke()}}),gt=Mt(xt,"abort",()=>function(dt,ct){const yt=function wt(dt){return dt[l]}(dt);if(yt&&"string"==typeof yt.type){if(null==yt.cancelFn||yt.data&&yt.data.aborted)return;yt.zone.cancelTask(yt)}else if(!0===b.current[Ct])return gt.apply(dt,ct)})}(v);const l=P("xhrTask"),x=P("xhrSync"),k=P("xhrListener"),q=P("xhrScheduled"),_=P("xhrURL"),ot=P("xhrErrorBeforeScheduled")}),i.__load_patch("geolocation",v=>{v.navigator&&v.navigator.geolocation&&function D(i,v){const b=i.constructor.name;for(let l=0;l<v.length;l++){const x=v[l],k=i[x];if(k){if(!Q(e(i,x)))continue;i[x]=(_=>{const ot=function(){return _.apply(this,R(arguments,b+"."+x))};return Ht(ot,_),ot})(k)}}}(v.navigator.geolocation,["getCurrentPosition","watchPosition"])}),i.__load_patch("PromiseRejectionEvent",(v,b)=>{function l(x){return function(k){nt(v,x).forEach(_=>{const ot=v.PromiseRejectionEvent;if(ot){const ht=new ot(x,{promise:k.promise,reason:k.rejection});_.invoke(ht)}})}}v.PromiseRejectionEvent&&(b[P("unhandledPromiseRejectionHandler")]=l("unhandledrejection"),b[P("rejectionHandledHandler")]=l("rejectionhandled"))}),i.__load_patch("queueMicrotask",(v,b,l)=>{!function Nt(i,v){v.patchMethod(i,"queueMicrotask",b=>function(l,x){Zone.current.scheduleMicroTask("queueMicrotask",x[0])})}(v,l)})}(Me)},9306:(n,d,t)=>{var r=t(4901),e=t(6823),o=TypeError;n.exports=function(a){if(r(a))return a;throw new o(e(a)+" is not a function")}},3506:(n,d,t)=>{var r=t(3925),e=String,o=TypeError;n.exports=function(a){if(r(a))return a;throw new o("Can't set "+e(a)+" as a prototype")}},679:(n,d,t)=>{var r=t(1625),e=TypeError;n.exports=function(o,a){if(r(a,o))return o;throw new e("Incorrect invocation")}},8551:(n,d,t)=>{var r=t(34),e=String,o=TypeError;n.exports=function(a){if(r(a))return a;throw new o(e(a)+" is not an object")}},5652:(n,d,t)=>{var r=t(9039);n.exports=r(function(){if("function"==typeof ArrayBuffer){var e=new ArrayBuffer(8);Object.isExtensible(e)&&Object.defineProperty(e,"a",{value:8})}})},9617:(n,d,t)=>{var r=t(5397),e=t(5610),o=t(6198),a=function(s){return function(p,u,c){var h=r(p),O=o(h);if(0===O)return!s&&-1;var I,m=e(c,O);if(s&&u!=u){for(;O>m;)if((I=h[m++])!=I)return!0}else for(;O>m;m++)if((s||m in h)&&h[m]===u)return s||m||0;return!s&&-1}};n.exports={includes:a(!0),indexOf:a(!1)}},9213:(n,d,t)=>{var r=t(6080),e=t(9504),o=t(7055),a=t(8981),s=t(6198),p=t(1469),u=e([].push),c=function(h){var O=1===h,m=2===h,I=3===h,C=4===h,N=6===h,w=7===h,P=5===h||N;return function(B,Z,S,$){for(var K,z,R=a(B),D=o(R),Q=s(D),rt=r(Z,S),W=0,H=$||p,V=O?H(B,Q):m||w?H(B,0):void 0;Q>W;W++)if((P||W in D)&&(z=rt(K=D[W],W,R),h))if(O)V[W]=z;else if(z)switch(h){case 3:return!0;case 5:return K;case 6:return W;case 2:u(V,K)}else switch(h){case 4:return!1;case 7:u(V,K)}return N?-1:I||C?C:V}};n.exports={forEach:c(0),map:c(1),filter:c(2),some:c(3),every:c(4),find:c(5),findIndex:c(6),filterReject:c(7)}},7680:(n,d,t)=>{var r=t(9504);n.exports=r([].slice)},7433:(n,d,t)=>{var r=t(4376),e=t(3517),o=t(34),s=t(8227)("species"),p=Array;n.exports=function(u){var c;return r(u)&&(e(c=u.constructor)&&(c===p||r(c.prototype))||o(c)&&null===(c=c[s]))&&(c=void 0),void 0===c?p:c}},1469:(n,d,t)=>{var r=t(7433);n.exports=function(e,o){return new(r(e))(0===o?0:o)}},1946:(n,d,t)=>{var r=t(9504),e=t(9306),o=t(4117),a=t(6198),s=t(8981),p=t(2248),u=t(6223),c=p.Map,h=p.has,O=p.set,m=r([].push);n.exports=function(C){var S,$,R,N=s(this),w=a(N),P=[],B=new c,Z=o(C)?function(D){return D}:e(C);for(S=0;S<w;S++)R=Z($=N[S]),h(B,R)||O(B,R,$);return u(B,function(D){m(P,D)}),P}},4428:(n,d,t)=>{var e=t(8227)("iterator"),o=!1;try{var a=0,s={next:function(){return{done:!!a++}},return:function(){o=!0}};s[e]=function(){return this},Array.from(s,function(){throw 2})}catch{}n.exports=function(p,u){try{if(!u&&!o)return!1}catch{return!1}var c=!1;try{var h={};h[e]=function(){return{next:function(){return{done:c=!0}}}},p(h)}catch{}return c}},2195:(n,d,t)=>{var r=t(9504),e=r({}.toString),o=r("".slice);n.exports=function(a){return o(e(a),8,-1)}},6955:(n,d,t)=>{var r=t(2140),e=t(4901),o=t(2195),s=t(8227)("toStringTag"),p=Object,u="Arguments"===o(function(){return arguments}());n.exports=r?o:function(h){var O,m,I;return void 0===h?"Undefined":null===h?"Null":"string"==typeof(m=function(h,O){try{return h[O]}catch{}}(O=p(h),s))?m:u?o(O):"Object"===(I=o(O))&&e(O.callee)?"Arguments":I}},6938:(n,d,t)=>{var r=t(2360),e=t(2106),o=t(6279),a=t(6080),s=t(679),p=t(4117),u=t(2652),c=t(1088),h=t(2529),O=t(7633),m=t(3724),I=t(3451).fastKey,C=t(1181),N=C.set,w=C.getterFor;n.exports={getConstructor:function(P,B,Z,S){var $=P(function(W,H){s(W,R),N(W,{type:B,index:r(null),first:void 0,last:void 0,size:0}),m||(W.size=0),p(H)||u(H,W[S],{that:W,AS_ENTRIES:Z})}),R=$.prototype,D=w(B),Q=function(W,H,V){var G,ut,K=D(W),z=rt(W,H);return z?z.value=V:(K.last=z={index:ut=I(H,!0),key:H,value:V,previous:G=K.last,next:void 0,removed:!1},K.first||(K.first=z),G&&(G.next=z),m?K.size++:W.size++,"F"!==ut&&(K.index[ut]=z)),W},rt=function(W,H){var z,V=D(W),K=I(H);if("F"!==K)return V.index[K];for(z=V.first;z;z=z.next)if(z.key===H)return z};return o(R,{clear:function(){for(var V=D(this),K=V.first;K;)K.removed=!0,K.previous&&(K.previous=K.previous.next=void 0),K=K.next;V.first=V.last=void 0,V.index=r(null),m?V.size=0:this.size=0},delete:function(W){var H=this,V=D(H),K=rt(H,W);if(K){var z=K.next,G=K.previous;delete V.index[K.index],K.removed=!0,G&&(G.next=z),z&&(z.previous=G),V.first===K&&(V.first=z),V.last===K&&(V.last=G),m?V.size--:H.size--}return!!K},forEach:function(H){for(var z,V=D(this),K=a(H,arguments.length>1?arguments[1]:void 0);z=z?z.next:V.first;)for(K(z.value,z.key,this);z&&z.removed;)z=z.previous},has:function(H){return!!rt(this,H)}}),o(R,Z?{get:function(H){var V=rt(this,H);return V&&V.value},set:function(H,V){return Q(this,0===H?0:H,V)}}:{add:function(H){return Q(this,H=0===H?0:H,H)}}),m&&e(R,"size",{configurable:!0,get:function(){return D(this).size}}),$},setStrong:function(P,B,Z){var S=B+" Iterator",$=w(B),R=w(S);c(P,B,function(D,Q){N(this,{type:S,target:D,state:$(D),kind:Q,last:void 0})},function(){for(var D=R(this),Q=D.kind,rt=D.last;rt&&rt.removed;)rt=rt.previous;return D.target&&(D.last=rt=rt?rt.next:D.state.first)?h("keys"===Q?rt.key:"values"===Q?rt.value:[rt.key,rt.value],!1):(D.target=void 0,h(void 0,!0))},Z?"entries":"values",!Z,!0),O(B)}}},4006:(n,d,t)=>{var r=t(9504),e=t(6279),o=t(3451).getWeakData,a=t(679),s=t(8551),p=t(4117),u=t(34),c=t(2652),h=t(9213),O=t(9297),m=t(1181),I=m.set,C=m.getterFor,N=h.find,w=h.findIndex,P=r([].splice),B=0,Z=function(R){return R.frozen||(R.frozen=new S)},S=function(){this.entries=[]},$=function(R,D){return N(R.entries,function(Q){return Q[0]===D})};S.prototype={get:function(R){var D=$(this,R);if(D)return D[1]},has:function(R){return!!$(this,R)},set:function(R,D){var Q=$(this,R);Q?Q[1]=D:this.entries.push([R,D])},delete:function(R){var D=w(this.entries,function(Q){return Q[0]===R});return~D&&P(this.entries,D,1),!!~D}},n.exports={getConstructor:function(R,D,Q,rt){var W=R(function(z,G){a(z,H),I(z,{type:D,id:B++,frozen:void 0}),p(G)||c(G,z[rt],{that:z,AS_ENTRIES:Q})}),H=W.prototype,V=C(D),K=function(z,G,ut){var pt=V(z),It=o(s(G),!0);return!0===It?Z(pt).set(G,ut):It[pt.id]=ut,z};return e(H,{delete:function(z){var G=V(this);if(!u(z))return!1;var ut=o(z);return!0===ut?Z(G).delete(z):ut&&O(ut,G.id)&&delete ut[G.id]},has:function(G){var ut=V(this);if(!u(G))return!1;var pt=o(G);return!0===pt?Z(ut).has(G):pt&&O(pt,ut.id)}}),e(H,Q?{get:function(G){var ut=V(this);if(u(G)){var pt=o(G);return!0===pt?Z(ut).get(G):pt?pt[ut.id]:void 0}},set:function(G,ut){return K(this,G,ut)}}:{add:function(G){return K(this,G,!0)}}),W}}},6468:(n,d,t)=>{var r=t(6518),e=t(4576),o=t(9504),a=t(2796),s=t(6840),p=t(3451),u=t(2652),c=t(679),h=t(4901),O=t(4117),m=t(34),I=t(9039),C=t(4428),N=t(687),w=t(3167);n.exports=function(P,B,Z){var S=-1!==P.indexOf("Map"),$=-1!==P.indexOf("Weak"),R=S?"set":"add",D=e[P],Q=D&&D.prototype,rt=D,W={},H=function(It){var bt=o(Q[It]);s(Q,It,"add"===It?function(Lt){return bt(this,0===Lt?0:Lt),this}:"delete"===It?function(Mt){return!($&&!m(Mt))&&bt(this,0===Mt?0:Mt)}:"get"===It?function(Lt){return $&&!m(Lt)?void 0:bt(this,0===Lt?0:Lt)}:"has"===It?function(Lt){return!($&&!m(Lt))&&bt(this,0===Lt?0:Lt)}:function(Lt,Ht){return bt(this,0===Lt?0:Lt,Ht),this})};if(a(P,!h(D)||!($||Q.forEach&&!I(function(){(new D).entries().next()}))))rt=Z.getConstructor(B,P,S,R),p.enable();else if(a(P,!0)){var K=new rt,z=K[R]($?{}:-0,1)!==K,G=I(function(){K.has(1)}),ut=C(function(It){new D(It)}),pt=!$&&I(function(){for(var It=new D,bt=5;bt--;)It[R](bt,bt);return!It.has(-0)});ut||((rt=B(function(It,bt){c(It,Q);var Mt=w(new D,It,rt);return O(bt)||u(bt,Mt[R],{that:Mt,AS_ENTRIES:S}),Mt})).prototype=Q,Q.constructor=rt),(G||pt)&&(H("delete"),H("has"),S&&H("get")),(pt||z)&&H(R),$&&Q.clear&&delete Q.clear}return W[P]=rt,r({global:!0,constructor:!0,forced:rt!==D},W),N(rt,P),$||Z.setStrong(rt,P,S),rt}},7740:(n,d,t)=>{var r=t(9297),e=t(5031),o=t(7347),a=t(4913);n.exports=function(s,p,u){for(var c=e(p),h=a.f,O=o.f,m=0;m<c.length;m++){var I=c[m];!r(s,I)&&(!u||!r(u,I))&&h(s,I,O(p,I))}}},2211:(n,d,t)=>{var r=t(9039);n.exports=!r(function(){function e(){}return e.prototype.constructor=null,Object.getPrototypeOf(new e)!==e.prototype})},2529:n=>{n.exports=function(d,t){return{value:d,done:t}}},6699:(n,d,t)=>{var r=t(3724),e=t(4913),o=t(6980);n.exports=r?function(a,s,p){return e.f(a,s,o(1,p))}:function(a,s,p){return a[s]=p,a}},6980:n=>{n.exports=function(d,t){return{enumerable:!(1&d),configurable:!(2&d),writable:!(4&d),value:t}}},2106:(n,d,t)=>{var r=t(283),e=t(4913);n.exports=function(o,a,s){return s.get&&r(s.get,a,{getter:!0}),s.set&&r(s.set,a,{setter:!0}),e.f(o,a,s)}},6840:(n,d,t)=>{var r=t(4901),e=t(4913),o=t(283),a=t(9433);n.exports=function(s,p,u,c){c||(c={});var h=c.enumerable,O=void 0!==c.name?c.name:p;if(r(u)&&o(u,O,c),c.global)h?s[p]=u:a(p,u);else{try{c.unsafe?s[p]&&(h=!0):delete s[p]}catch{}h?s[p]=u:e.f(s,p,{value:u,enumerable:!1,configurable:!c.nonConfigurable,writable:!c.nonWritable})}return s}},6279:(n,d,t)=>{var r=t(6840);n.exports=function(e,o,a){for(var s in o)r(e,s,o[s],a);return e}},9433:(n,d,t)=>{var r=t(4576),e=Object.defineProperty;n.exports=function(o,a){try{e(r,o,{value:a,configurable:!0,writable:!0})}catch{r[o]=a}return a}},3724:(n,d,t)=>{var r=t(9039);n.exports=!r(function(){return 7!==Object.defineProperty({},1,{get:function(){return 7}})[1]})},4055:(n,d,t)=>{var r=t(4576),e=t(34),o=r.document,a=e(o)&&e(o.createElement);n.exports=function(s){return a?o.createElement(s):{}}},8727:n=>{n.exports=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"]},2839:(n,d,t)=>{var e=t(4576).navigator,o=e&&e.userAgent;n.exports=o?String(o):""},9519:(n,d,t)=>{var u,c,r=t(4576),e=t(2839),o=r.process,a=r.Deno,s=o&&o.versions||a&&a.version,p=s&&s.v8;p&&(c=(u=p.split("."))[0]>0&&u[0]<4?1:+(u[0]+u[1])),!c&&e&&(!(u=e.match(/Edge\/(\d+)/))||u[1]>=74)&&(u=e.match(/Chrome\/(\d+)/))&&(c=+u[1]),n.exports=c},6518:(n,d,t)=>{var r=t(4576),e=t(7347).f,o=t(6699),a=t(6840),s=t(9433),p=t(7740),u=t(2796);n.exports=function(c,h){var N,w,P,B,Z,O=c.target,m=c.global,I=c.stat;if(N=m?r:I?r[O]||s(O,{}):r[O]&&r[O].prototype)for(w in h){if(B=h[w],P=c.dontCallGetSet?(Z=e(N,w))&&Z.value:N[w],!u(m?w:O+(I?".":"#")+w,c.forced)&&void 0!==P){if(typeof B==typeof P)continue;p(B,P)}(c.sham||P&&P.sham)&&o(B,"sham",!0),a(N,w,B,c)}}},9039:n=>{n.exports=function(d){try{return!!d()}catch{return!0}}},2744:(n,d,t)=>{var r=t(9039);n.exports=!r(function(){return Object.isExtensible(Object.preventExtensions({}))})},6080:(n,d,t)=>{var r=t(7476),e=t(9306),o=t(616),a=r(r.bind);n.exports=function(s,p){return e(s),void 0===p?s:o?a(s,p):function(){return s.apply(p,arguments)}}},616:(n,d,t)=>{var r=t(9039);n.exports=!r(function(){var e=function(){}.bind();return"function"!=typeof e||e.hasOwnProperty("prototype")})},9565:(n,d,t)=>{var r=t(616),e=Function.prototype.call;n.exports=r?e.bind(e):function(){return e.apply(e,arguments)}},350:(n,d,t)=>{var r=t(3724),e=t(9297),o=Function.prototype,a=r&&Object.getOwnPropertyDescriptor,s=e(o,"name"),p=s&&"something"===function(){}.name,u=s&&(!r||r&&a(o,"name").configurable);n.exports={EXISTS:s,PROPER:p,CONFIGURABLE:u}},6706:(n,d,t)=>{var r=t(9504),e=t(9306);n.exports=function(o,a,s){try{return r(e(Object.getOwnPropertyDescriptor(o,a)[s]))}catch{}}},7476:(n,d,t)=>{var r=t(2195),e=t(9504);n.exports=function(o){if("Function"===r(o))return e(o)}},9504:(n,d,t)=>{var r=t(616),e=Function.prototype,o=e.call,a=r&&e.bind.bind(o,o);n.exports=r?a:function(s){return function(){return o.apply(s,arguments)}}},7751:(n,d,t)=>{var r=t(4576),e=t(4901);n.exports=function(a,s){return arguments.length<2?function(a){return e(a)?a:void 0}(r[a]):r[a]&&r[a][s]}},851:(n,d,t)=>{var r=t(6955),e=t(5966),o=t(4117),a=t(6269),p=t(8227)("iterator");n.exports=function(u){if(!o(u))return e(u,p)||e(u,"@@iterator")||a[r(u)]}},81:(n,d,t)=>{var r=t(9565),e=t(9306),o=t(8551),a=t(6823),s=t(851),p=TypeError;n.exports=function(u,c){var h=arguments.length<2?s(u):c;if(e(h))return o(r(h,u));throw new p(a(u)+" is not iterable")}},5966:(n,d,t)=>{var r=t(9306),e=t(4117);n.exports=function(o,a){var s=o[a];return e(s)?void 0:r(s)}},4576:function(n){var d=function(t){return t&&t.Math===Math&&t};n.exports=d("object"==typeof globalThis&&globalThis)||d("object"==typeof window&&window)||d("object"==typeof self&&self)||d("object"==typeof global&&global)||d("object"==typeof this&&this)||function(){return this}()||Function("return this")()},9297:(n,d,t)=>{var r=t(9504),e=t(8981),o=r({}.hasOwnProperty);n.exports=Object.hasOwn||function(s,p){return o(e(s),p)}},421:n=>{n.exports={}},397:(n,d,t)=>{var r=t(7751);n.exports=r("document","documentElement")},5917:(n,d,t)=>{var r=t(3724),e=t(9039),o=t(4055);n.exports=!r&&!e(function(){return 7!==Object.defineProperty(o("div"),"a",{get:function(){return 7}}).a})},7055:(n,d,t)=>{var r=t(9504),e=t(9039),o=t(2195),a=Object,s=r("".split);n.exports=e(function(){return!a("z").propertyIsEnumerable(0)})?function(p){return"String"===o(p)?s(p,""):a(p)}:a},3167:(n,d,t)=>{var r=t(4901),e=t(34),o=t(2967);n.exports=function(a,s,p){var u,c;return o&&r(u=s.constructor)&&u!==p&&e(c=u.prototype)&&c!==p.prototype&&o(a,c),a}},3706:(n,d,t)=>{var r=t(9504),e=t(4901),o=t(7629),a=r(Function.toString);e(o.inspectSource)||(o.inspectSource=function(s){return a(s)}),n.exports=o.inspectSource},3451:(n,d,t)=>{var r=t(6518),e=t(9504),o=t(421),a=t(34),s=t(9297),p=t(4913).f,u=t(8480),c=t(298),h=t(4124),O=t(3392),m=t(2744),I=!1,C=O("meta"),N=0,w=function(R){p(R,C,{value:{objectID:"O"+N++,weakData:{}}})},$=n.exports={enable:function(){$.enable=function(){},I=!0;var R=u.f,D=e([].splice),Q={};Q[C]=1,R(Q).length&&(u.f=function(rt){for(var W=R(rt),H=0,V=W.length;H<V;H++)if(W[H]===C){D(W,H,1);break}return W},r({target:"Object",stat:!0,forced:!0},{getOwnPropertyNames:c.f}))},fastKey:function(R,D){if(!a(R))return"symbol"==typeof R?R:("string"==typeof R?"S":"P")+R;if(!s(R,C)){if(!h(R))return"F";if(!D)return"E";w(R)}return R[C].objectID},getWeakData:function(R,D){if(!s(R,C)){if(!h(R))return!0;if(!D)return!1;w(R)}return R[C].weakData},onFreeze:function(R){return m&&I&&h(R)&&!s(R,C)&&w(R),R}};o[C]=!0},1181:(n,d,t)=>{var I,C,N,r=t(8622),e=t(4576),o=t(34),a=t(6699),s=t(9297),p=t(7629),u=t(6119),c=t(421),h="Object already initialized",O=e.TypeError;if(r||p.state){var B=p.state||(p.state=new(0,e.WeakMap));B.get=B.get,B.has=B.has,B.set=B.set,I=function(S,$){if(B.has(S))throw new O(h);return $.facade=S,B.set(S,$),$},C=function(S){return B.get(S)||{}},N=function(S){return B.has(S)}}else{var Z=u("state");c[Z]=!0,I=function(S,$){if(s(S,Z))throw new O(h);return $.facade=S,a(S,Z,$),$},C=function(S){return s(S,Z)?S[Z]:{}},N=function(S){return s(S,Z)}}n.exports={set:I,get:C,has:N,enforce:function(S){return N(S)?C(S):I(S,{})},getterFor:function(S){return function($){var R;if(!o($)||(R=C($)).type!==S)throw new O("Incompatible receiver, "+S+" required");return R}}}},4209:(n,d,t)=>{var r=t(8227),e=t(6269),o=r("iterator"),a=Array.prototype;n.exports=function(s){return void 0!==s&&(e.Array===s||a[o]===s)}},4376:(n,d,t)=>{var r=t(2195);n.exports=Array.isArray||function(o){return"Array"===r(o)}},4901:n=>{var d="object"==typeof document&&document.all;n.exports=typeof d>"u"&&void 0!==d?function(t){return"function"==typeof t||t===d}:function(t){return"function"==typeof t}},3517:(n,d,t)=>{var r=t(9504),e=t(9039),o=t(4901),a=t(6955),s=t(7751),p=t(3706),u=function(){},c=s("Reflect","construct"),h=/^\s*(?:class|function)\b/,O=r(h.exec),m=!h.test(u),I=function(w){if(!o(w))return!1;try{return c(u,[],w),!0}catch{return!1}},C=function(w){if(!o(w))return!1;switch(a(w)){case"AsyncFunction":case"GeneratorFunction":case"AsyncGeneratorFunction":return!1}try{return m||!!O(h,p(w))}catch{return!0}};C.sham=!0,n.exports=!c||e(function(){var N;return I(I.call)||!I(Object)||!I(function(){N=!0})||N})?C:I},2796:(n,d,t)=>{var r=t(9039),e=t(4901),o=/#|\.prototype\./,a=function(h,O){var m=p[s(h)];return m===c||m!==u&&(e(O)?r(O):!!O)},s=a.normalize=function(h){return String(h).replace(o,".").toLowerCase()},p=a.data={},u=a.NATIVE="N",c=a.POLYFILL="P";n.exports=a},4117:n=>{n.exports=function(d){return null==d}},34:(n,d,t)=>{var r=t(4901);n.exports=function(e){return"object"==typeof e?null!==e:r(e)}},3925:(n,d,t)=>{var r=t(34);n.exports=function(e){return r(e)||null===e}},6395:n=>{n.exports=!1},757:(n,d,t)=>{var r=t(7751),e=t(4901),o=t(1625),a=t(7040),s=Object;n.exports=a?function(p){return"symbol"==typeof p}:function(p){var u=r("Symbol");return e(u)&&o(u.prototype,s(p))}},507:(n,d,t)=>{var r=t(9565);n.exports=function(e,o,a){for(var u,c,s=a?e:e.iterator,p=e.next;!(u=r(p,s)).done;)if(void 0!==(c=o(u.value)))return c}},2652:(n,d,t)=>{var r=t(6080),e=t(9565),o=t(8551),a=t(6823),s=t(4209),p=t(6198),u=t(1625),c=t(81),h=t(851),O=t(9539),m=TypeError,I=function(N,w){this.stopped=N,this.result=w},C=I.prototype;n.exports=function(N,w,P){var Q,rt,W,H,V,K,z,Z=!(!P||!P.AS_ENTRIES),S=!(!P||!P.IS_RECORD),$=!(!P||!P.IS_ITERATOR),R=!(!P||!P.INTERRUPTED),D=r(w,P&&P.that),G=function(pt){return Q&&O(Q,"normal",pt),new I(!0,pt)},ut=function(pt){return Z?(o(pt),R?D(pt[0],pt[1],G):D(pt[0],pt[1])):R?D(pt,G):D(pt)};if(S)Q=N.iterator;else if($)Q=N;else{if(!(rt=h(N)))throw new m(a(N)+" is not iterable");if(s(rt)){for(W=0,H=p(N);H>W;W++)if((V=ut(N[W]))&&u(C,V))return V;return new I(!1)}Q=c(N,rt)}for(K=S?N.next:Q.next;!(z=e(K,Q)).done;){try{V=ut(z.value)}catch(pt){O(Q,"throw",pt)}if("object"==typeof V&&V&&u(C,V))return V}return new I(!1)}},9539:(n,d,t)=>{var r=t(9565),e=t(8551),o=t(5966);n.exports=function(a,s,p){var u,c;e(a);try{if(!(u=o(a,"return"))){if("throw"===s)throw p;return p}u=r(u,a)}catch(h){c=!0,u=h}if("throw"===s)throw p;if(c)throw u;return e(u),p}},3994:(n,d,t)=>{var r=t(7657).IteratorPrototype,e=t(2360),o=t(6980),a=t(687),s=t(6269),p=function(){return this};n.exports=function(u,c,h,O){var m=c+" Iterator";return u.prototype=e(r,{next:o(+!O,h)}),a(u,m,!1,!0),s[m]=p,u}},1088:(n,d,t)=>{var r=t(6518),e=t(9565),o=t(6395),a=t(350),s=t(4901),p=t(3994),u=t(2787),c=t(2967),h=t(687),O=t(6699),m=t(6840),I=t(8227),C=t(6269),N=t(7657),w=a.PROPER,P=a.CONFIGURABLE,B=N.IteratorPrototype,Z=N.BUGGY_SAFARI_ITERATORS,S=I("iterator"),$="keys",R="values",D="entries",Q=function(){return this};n.exports=function(rt,W,H,V,K,z,G){p(H,W,V);var qt,_t,ae,ut=function(Qt){if(Qt===K&&Lt)return Lt;if(!Z&&Qt&&Qt in bt)return bt[Qt];switch(Qt){case $:case R:case D:return function(){return new H(this,Qt)}}return function(){return new H(this)}},pt=W+" Iterator",It=!1,bt=rt.prototype,Mt=bt[S]||bt["@@iterator"]||K&&bt[K],Lt=!Z&&Mt||ut(K),Ht="Array"===W&&bt.entries||Mt;if(Ht&&(qt=u(Ht.call(new rt)))!==Object.prototype&&qt.next&&(!o&&u(qt)!==B&&(c?c(qt,B):s(qt[S])||m(qt,S,Q)),h(qt,pt,!0,!0),o&&(C[pt]=Q)),w&&K===R&&Mt&&Mt.name!==R&&(!o&&P?O(bt,"name",R):(It=!0,Lt=function(){return e(Mt,this)})),K)if(_t={values:ut(R),keys:z?Lt:ut($),entries:ut(D)},G)for(ae in _t)(Z||It||!(ae in bt))&&m(bt,ae,_t[ae]);else r({target:W,proto:!0,forced:Z||It},_t);return(!o||G)&&bt[S]!==Lt&&m(bt,S,Lt,{name:K}),C[W]=Lt,_t}},7657:(n,d,t)=>{var m,I,C,r=t(9039),e=t(4901),o=t(34),a=t(2360),s=t(2787),p=t(6840),u=t(8227),c=t(6395),h=u("iterator"),O=!1;[].keys&&("next"in(C=[].keys())?(I=s(s(C)))!==Object.prototype&&(m=I):O=!0),!o(m)||r(function(){var w={};return m[h].call(w)!==w})?m={}:c&&(m=a(m)),e(m[h])||p(m,h,function(){return this}),n.exports={IteratorPrototype:m,BUGGY_SAFARI_ITERATORS:O}},6269:n=>{n.exports={}},6198:(n,d,t)=>{var r=t(8014);n.exports=function(e){return r(e.length)}},283:(n,d,t)=>{var r=t(9504),e=t(9039),o=t(4901),a=t(9297),s=t(3724),p=t(350).CONFIGURABLE,u=t(3706),c=t(1181),h=c.enforce,O=c.get,m=String,I=Object.defineProperty,C=r("".slice),N=r("".replace),w=r([].join),P=s&&!e(function(){return 8!==I(function(){},"length",{value:8}).length}),B=String(String).split("String"),Z=n.exports=function(S,$,R){"Symbol("===C(m($),0,7)&&($="["+N(m($),/^Symbol\(([^)]*)\).*$/,"$1")+"]"),R&&R.getter&&($="get "+$),R&&R.setter&&($="set "+$),(!a(S,"name")||p&&S.name!==$)&&(s?I(S,"name",{value:$,configurable:!0}):S.name=$),P&&R&&a(R,"arity")&&S.length!==R.arity&&I(S,"length",{value:R.arity});try{R&&a(R,"constructor")&&R.constructor?s&&I(S,"prototype",{writable:!1}):S.prototype&&(S.prototype=void 0)}catch{}var D=h(S);return a(D,"source")||(D.source=w(B,"string"==typeof $?$:"")),S};Function.prototype.toString=Z(function(){return o(this)&&O(this).source||u(this)},"toString")},2248:(n,d,t)=>{var r=t(9504),e=Map.prototype;n.exports={Map,set:r(e.set),get:r(e.get),has:r(e.has),remove:r(e.delete),proto:e}},6223:(n,d,t)=>{var r=t(9504),e=t(507),o=t(2248),a=o.Map,s=o.proto,p=r(s.forEach),u=r(s.entries),c=u(new a).next;n.exports=function(h,O,m){return m?e({iterator:u(h),next:c},function(I){return O(I[1],I[0])}):p(h,O)}},741:n=>{var d=Math.ceil,t=Math.floor;n.exports=Math.trunc||function(e){var o=+e;return(o>0?t:d)(o)}},2360:(n,d,t)=>{var B,r=t(8551),e=t(6801),o=t(8727),a=t(421),s=t(397),p=t(4055),u=t(6119),O="prototype",m="script",I=u("IE_PROTO"),C=function(){},N=function(S){return"<"+m+">"+S+"</"+m+">"},w=function(S){S.write(N("")),S.close();var $=S.parentWindow.Object;return S=null,$},Z=function(){try{B=new ActiveXObject("htmlfile")}catch{}Z=typeof document<"u"?document.domain&&B?w(B):function(){var R,S=p("iframe"),$="java"+m+":";return S.style.display="none",s.appendChild(S),S.src=String($),(R=S.contentWindow.document).open(),R.write(N("document.F=Object")),R.close(),R.F}():w(B);for(var S=o.length;S--;)delete Z[O][o[S]];return Z()};a[I]=!0,n.exports=Object.create||function($,R){var D;return null!==$?(C[O]=r($),D=new C,C[O]=null,D[I]=$):D=Z(),void 0===R?D:e.f(D,R)}},6801:(n,d,t)=>{var r=t(3724),e=t(8686),o=t(4913),a=t(8551),s=t(5397),p=t(1072);d.f=r&&!e?Object.defineProperties:function(c,h){a(c);for(var N,O=s(h),m=p(h),I=m.length,C=0;I>C;)o.f(c,N=m[C++],O[N]);return c}},4913:(n,d,t)=>{var r=t(3724),e=t(5917),o=t(8686),a=t(8551),s=t(6969),p=TypeError,u=Object.defineProperty,c=Object.getOwnPropertyDescriptor,h="enumerable",O="configurable",m="writable";d.f=r?o?function(C,N,w){if(a(C),N=s(N),a(w),"function"==typeof C&&"prototype"===N&&"value"in w&&m in w&&!w[m]){var P=c(C,N);P&&P[m]&&(C[N]=w.value,w={configurable:O in w?w[O]:P[O],enumerable:h in w?w[h]:P[h],writable:!1})}return u(C,N,w)}:u:function(C,N,w){if(a(C),N=s(N),a(w),e)try{return u(C,N,w)}catch{}if("get"in w||"set"in w)throw new p("Accessors not supported");return"value"in w&&(C[N]=w.value),C}},7347:(n,d,t)=>{var r=t(3724),e=t(9565),o=t(8773),a=t(6980),s=t(5397),p=t(6969),u=t(9297),c=t(5917),h=Object.getOwnPropertyDescriptor;d.f=r?h:function(m,I){if(m=s(m),I=p(I),c)try{return h(m,I)}catch{}if(u(m,I))return a(!e(o.f,m,I),m[I])}},298:(n,d,t)=>{var r=t(2195),e=t(5397),o=t(8480).f,a=t(7680),s="object"==typeof window&&window&&Object.getOwnPropertyNames?Object.getOwnPropertyNames(window):[];n.exports.f=function(c){return s&&"Window"===r(c)?function(u){try{return o(u)}catch{return a(s)}}(c):o(e(c))}},8480:(n,d,t)=>{var r=t(1828),o=t(8727).concat("length","prototype");d.f=Object.getOwnPropertyNames||function(s){return r(s,o)}},3717:(n,d)=>{d.f=Object.getOwnPropertySymbols},2787:(n,d,t)=>{var r=t(9297),e=t(4901),o=t(8981),a=t(6119),s=t(2211),p=a("IE_PROTO"),u=Object,c=u.prototype;n.exports=s?u.getPrototypeOf:function(h){var O=o(h);if(r(O,p))return O[p];var m=O.constructor;return e(m)&&O instanceof m?m.prototype:O instanceof u?c:null}},4124:(n,d,t)=>{var r=t(9039),e=t(34),o=t(2195),a=t(5652),s=Object.isExtensible,p=r(function(){s(1)});n.exports=p||a?function(c){return!(!e(c)||a&&"ArrayBuffer"===o(c))&&(!s||s(c))}:s},1625:(n,d,t)=>{var r=t(9504);n.exports=r({}.isPrototypeOf)},1828:(n,d,t)=>{var r=t(9504),e=t(9297),o=t(5397),a=t(9617).indexOf,s=t(421),p=r([].push);n.exports=function(u,c){var I,h=o(u),O=0,m=[];for(I in h)!e(s,I)&&e(h,I)&&p(m,I);for(;c.length>O;)e(h,I=c[O++])&&(~a(m,I)||p(m,I));return m}},1072:(n,d,t)=>{var r=t(1828),e=t(8727);n.exports=Object.keys||function(a){return r(a,e)}},8773:(n,d)=>{var t={}.propertyIsEnumerable,r=Object.getOwnPropertyDescriptor,e=r&&!t.call({1:2},1);d.f=e?function(a){var s=r(this,a);return!!s&&s.enumerable}:t},2967:(n,d,t)=>{var r=t(6706),e=t(34),o=t(7750),a=t(3506);n.exports=Object.setPrototypeOf||("__proto__"in{}?function(){var u,s=!1,p={};try{(u=r(Object.prototype,"__proto__","set"))(p,[]),s=p instanceof Array}catch{}return function(h,O){return o(h),a(O),e(h)&&(s?u(h,O):h.__proto__=O),h}}():void 0)},4270:(n,d,t)=>{var r=t(9565),e=t(4901),o=t(34),a=TypeError;n.exports=function(s,p){var u,c;if("string"===p&&e(u=s.toString)&&!o(c=r(u,s))||e(u=s.valueOf)&&!o(c=r(u,s))||"string"!==p&&e(u=s.toString)&&!o(c=r(u,s)))return c;throw new a("Can't convert object to primitive value")}},5031:(n,d,t)=>{var r=t(7751),e=t(9504),o=t(8480),a=t(3717),s=t(8551),p=e([].concat);n.exports=r("Reflect","ownKeys")||function(c){var h=o.f(s(c)),O=a.f;return O?p(h,O(c)):h}},8449:(n,d,t)=>{t(6033),t(3772);var r=t(7751),e=t(9504),o=t(5745),a=r("Map"),s=r("WeakMap"),p=e([].push),u=o("metadata"),c=u.store||(u.store=new s),h=function(w,P,B){var Z=c.get(w);if(!Z){if(!B)return;c.set(w,Z=new a)}var S=Z.get(P);if(!S){if(!B)return;Z.set(P,S=new a)}return S};n.exports={store:c,getMap:h,has:function(w,P,B){var Z=h(P,B,!1);return void 0!==Z&&Z.has(w)},get:function(w,P,B){var Z=h(P,B,!1);return void 0===Z?void 0:Z.get(w)},set:function(w,P,B,Z){h(B,Z,!0).set(w,P)},keys:function(w,P){var B=h(w,P,!1),Z=[];return B&&B.forEach(function(S,$){p(Z,$)}),Z},toKey:function(w){return void 0===w||"symbol"==typeof w?w:String(w)}}},7750:(n,d,t)=>{var r=t(4117),e=TypeError;n.exports=function(o){if(r(o))throw new e("Can't call method on "+o);return o}},7633:(n,d,t)=>{var r=t(7751),e=t(2106),o=t(8227),a=t(3724),s=o("species");n.exports=function(p){var u=r(p);a&&u&&!u[s]&&e(u,s,{configurable:!0,get:function(){return this}})}},687:(n,d,t)=>{var r=t(4913).f,e=t(9297),a=t(8227)("toStringTag");n.exports=function(s,p,u){s&&!u&&(s=s.prototype),s&&!e(s,a)&&r(s,a,{configurable:!0,value:p})}},6119:(n,d,t)=>{var r=t(5745),e=t(3392),o=r("keys");n.exports=function(a){return o[a]||(o[a]=e(a))}},7629:(n,d,t)=>{var r=t(6395),e=t(4576),o=t(9433),a="__core-js_shared__",s=n.exports=e[a]||o(a,{});(s.versions||(s.versions=[])).push({version:"3.38.0",mode:r?"pure":"global",copyright:"\xa9 2014-2024 Denis Pushkarev (zloirock.ru)",license:"https://github.com/zloirock/core-js/blob/v3.38.0/LICENSE",source:"https://github.com/zloirock/core-js"})},5745:(n,d,t)=>{var r=t(7629);n.exports=function(e,o){return r[e]||(r[e]=o||{})}},4495:(n,d,t)=>{var r=t(9519),e=t(9039),a=t(4576).String;n.exports=!!Object.getOwnPropertySymbols&&!e(function(){var s=Symbol("symbol detection");return!a(s)||!(Object(s)instanceof Symbol)||!Symbol.sham&&r&&r<41})},5610:(n,d,t)=>{var r=t(1291),e=Math.max,o=Math.min;n.exports=function(a,s){var p=r(a);return p<0?e(p+s,0):o(p,s)}},5397:(n,d,t)=>{var r=t(7055),e=t(7750);n.exports=function(o){return r(e(o))}},1291:(n,d,t)=>{var r=t(741);n.exports=function(e){var o=+e;return o!=o||0===o?0:r(o)}},8014:(n,d,t)=>{var r=t(1291),e=Math.min;n.exports=function(o){var a=r(o);return a>0?e(a,9007199254740991):0}},8981:(n,d,t)=>{var r=t(7750),e=Object;n.exports=function(o){return e(r(o))}},2777:(n,d,t)=>{var r=t(9565),e=t(34),o=t(757),a=t(5966),s=t(4270),p=t(8227),u=TypeError,c=p("toPrimitive");n.exports=function(h,O){if(!e(h)||o(h))return h;var I,m=a(h,c);if(m){if(void 0===O&&(O="default"),I=r(m,h,O),!e(I)||o(I))return I;throw new u("Can't convert object to primitive value")}return void 0===O&&(O="number"),s(h,O)}},6969:(n,d,t)=>{var r=t(2777),e=t(757);n.exports=function(o){var a=r(o,"string");return e(a)?a:a+""}},2140:(n,d,t)=>{var o={};o[t(8227)("toStringTag")]="z",n.exports="[object z]"===String(o)},6823:n=>{var d=String;n.exports=function(t){try{return d(t)}catch{return"Object"}}},3392:(n,d,t)=>{var r=t(9504),e=0,o=Math.random(),a=r(1..toString);n.exports=function(s){return"Symbol("+(void 0===s?"":s)+")_"+a(++e+o,36)}},7040:(n,d,t)=>{var r=t(4495);n.exports=r&&!Symbol.sham&&"symbol"==typeof Symbol.iterator},8686:(n,d,t)=>{var r=t(3724),e=t(9039);n.exports=r&&e(function(){return 42!==Object.defineProperty(function(){},"prototype",{value:42,writable:!1}).prototype})},8622:(n,d,t)=>{var r=t(4576),e=t(4901),o=r.WeakMap;n.exports=e(o)&&/native code/.test(String(o))},8227:(n,d,t)=>{var r=t(4576),e=t(5745),o=t(9297),a=t(3392),s=t(4495),p=t(7040),u=r.Symbol,c=e("wks"),h=p?u.for||u:u&&u.withoutSetter||a;n.exports=function(O){return o(c,O)||(c[O]=s&&o(u,O)?u[O]:h("Symbol."+O)),c[O]}},8523:(n,d,t)=>{t(6468)("Map",function(o){return function(){return o(this,arguments.length?arguments[0]:void 0)}},t(6938))},6033:(n,d,t)=>{t(8523)},5746:(n,d,t)=>{var $,r=t(2744),e=t(4576),o=t(9504),a=t(6279),s=t(3451),p=t(6468),u=t(4006),c=t(34),h=t(1181).enforce,O=t(9039),m=t(8622),I=Object,C=Array.isArray,N=I.isExtensible,w=I.isFrozen,P=I.isSealed,B=I.freeze,Z=I.seal,S=!e.ActiveXObject&&"ActiveXObject"in e,R=function(z){return function(){return z(this,arguments.length?arguments[0]:void 0)}},D=p("WeakMap",R,u),Q=D.prototype,rt=o(Q.set);if(m)if(S){$=u.getConstructor(R,"WeakMap",!0),s.enable();var H=o(Q.delete),V=o(Q.has),K=o(Q.get);a(Q,{delete:function(z){if(c(z)&&!N(z)){var G=h(this);return G.frozen||(G.frozen=new $),H(this,z)||G.frozen.delete(z)}return H(this,z)},has:function(G){if(c(G)&&!N(G)){var ut=h(this);return ut.frozen||(ut.frozen=new $),V(this,G)||ut.frozen.has(G)}return V(this,G)},get:function(G){if(c(G)&&!N(G)){var ut=h(this);return ut.frozen||(ut.frozen=new $),V(this,G)?K(this,G):ut.frozen.get(G)}return K(this,G)},set:function(G,ut){if(c(G)&&!N(G)){var pt=h(this);pt.frozen||(pt.frozen=new $),V(this,G)?rt(this,G,ut):pt.frozen.set(G,ut)}else rt(this,G,ut);return this}})}else r&&O(function(){var z=B([]);return rt(new D,z,1),!w(z)})&&a(Q,{set:function(G,ut){var pt;return C(G)&&(w(G)?pt=B:P(G)&&(pt=Z)),rt(this,G,ut),pt&&pt(G),this}})},3772:(n,d,t)=>{t(5746)},5186:(n,d,t)=>{var r=t(6518),e=t(8449),o=t(8551),a=e.toKey,s=e.set;r({target:"Reflect",stat:!0},{defineMetadata:function(u,c,h){var O=arguments.length<4?void 0:a(arguments[3]);s(u,c,o(h),O)}})},2978:(n,d,t)=>{var r=t(6518),e=t(8449),o=t(8551),a=e.toKey,s=e.getMap,p=e.store;r({target:"Reflect",stat:!0},{deleteMetadata:function(c,h){var O=arguments.length<3?void 0:a(arguments[2]),m=s(o(h),O,!1);if(void 0===m||!m.delete(c))return!1;if(m.size)return!0;var I=p.get(h);return I.delete(O),!!I.size||p.delete(h)}})},9852:(n,d,t)=>{var r=t(6518),e=t(9504),o=t(8449),a=t(8551),s=t(2787),u=e(t(1946)),c=e([].concat),h=o.keys,O=o.toKey,m=function(I,C){var N=h(I,C),w=s(I);if(null===w)return N;var P=m(w,C);return P.length?N.length?u(c(N,P)):P:N};r({target:"Reflect",stat:!0},{getMetadataKeys:function(C){var N=arguments.length<2?void 0:O(arguments[1]);return m(a(C),N)}})},2527:(n,d,t)=>{var r=t(6518),e=t(8449),o=t(8551),a=t(2787),s=e.has,p=e.get,u=e.toKey,c=function(h,O,m){if(s(h,O,m))return p(h,O,m);var C=a(O);return null!==C?c(h,C,m):void 0};r({target:"Reflect",stat:!0},{getMetadata:function(O,m){var I=arguments.length<3?void 0:u(arguments[2]);return c(O,o(m),I)}})},617:(n,d,t)=>{var r=t(6518),e=t(8449),o=t(8551),a=e.keys,s=e.toKey;r({target:"Reflect",stat:!0},{getOwnMetadataKeys:function(u){var c=arguments.length<2?void 0:s(arguments[1]);return a(o(u),c)}})},2376:(n,d,t)=>{var r=t(6518),e=t(8449),o=t(8551),a=e.get,s=e.toKey;r({target:"Reflect",stat:!0},{getOwnMetadata:function(u,c){var h=arguments.length<3?void 0:s(arguments[2]);return a(u,o(c),h)}})},3067:(n,d,t)=>{var r=t(6518),e=t(8449),o=t(8551),a=t(2787),s=e.has,p=e.toKey,u=function(c,h,O){if(s(c,h,O))return!0;var I=a(h);return null!==I&&u(c,I,O)};r({target:"Reflect",stat:!0},{hasMetadata:function(h,O){var m=arguments.length<3?void 0:p(arguments[2]);return u(h,o(O),m)}})},6820:(n,d,t)=>{var r=t(6518),e=t(8449),o=t(8551),a=e.has,s=e.toKey;r({target:"Reflect",stat:!0},{hasOwnMetadata:function(u,c){var h=arguments.length<3?void 0:s(arguments[2]);return a(u,o(c),h)}})},8288:(n,d,t)=>{var r=t(6518),e=t(8449),o=t(8551),a=e.toKey,s=e.set;r({target:"Reflect",stat:!0},{metadata:function(u,c){return function(O,m){s(u,c,o(O),a(m))}}})},7258:(n,d,t)=>{t(5186),t(2978),t(2527),t(9852),t(2376),t(617),t(3067),t(6820),t(8288)},5801:(n,d,t)=>{t.d(d,{Zi:()=>Qt,tN:()=>re});const r=":",e="|",o="@@",a="\u241f";let s;function B(y){s??=new TextEncoder;const T=s.encode(y),M=new DataView(T.buffer,T.byteOffset,T.byteLength);let j=S(M,T.length,0),X=S(M,T.length,102072);return 0==j&&(0==X||1==X)&&(j^=319790063,X^=-1801410264),BigInt.asUintN(32,BigInt(j))<<BigInt(32)|BigInt.asUintN(32,BigInt(X))}function S(y,T,M){let j=2654435769,X=2654435769,nt=0;const Kt=T-12;for(;nt<=Kt;nt+=12){j+=y.getUint32(nt,!0),X+=y.getUint32(nt+4,!0);const Pt=$(j,X,M+=y.getUint32(nt+8,!0));j=Pt[0],X=Pt[1],M=Pt[2]}const Nt=T-nt;return M+=T,Nt>=4?(j+=y.getUint32(nt,!0),nt+=4,Nt>=8?(X+=y.getUint32(nt,!0),nt+=4,Nt>=9&&(M+=y.getUint8(nt++)<<8),Nt>=10&&(M+=y.getUint8(nt++)<<16),11===Nt&&(M+=y.getUint8(nt++)<<24)):(Nt>=5&&(X+=y.getUint8(nt++)),Nt>=6&&(X+=y.getUint8(nt++)<<8),7===Nt&&(X+=y.getUint8(nt++)<<16))):(Nt>=1&&(j+=y.getUint8(nt++)),Nt>=2&&(j+=y.getUint8(nt++)<<8),3===Nt&&(j+=y.getUint8(nt++)<<16)),$(j,X,M)[2]}function $(y,T,M){return y-=T,y-=M,T-=M,T-=y^=M>>>13,M-=y,M-=T^=y<<8,y-=T,y-=M^=T>>>13,T-=M,T-=y^=M>>>12,M-=y,M-=T^=y<<16,y-=T,y-=M^=T>>>5,T-=M,T-=y^=M>>>3,M-=y,M-=T^=y<<10,[y,T,M^=T>>>15]}function K(y,T,M,j,X=[]){const nt={},Kt={},Nt={},Pt=function z(y,T){const{text:M,block:j}=ut(y,T);if(void 0===j)return{text:M};{const[X,...nt]=j.split(a),[Kt,Nt]=X.split(o,2);let[Pt,$t]=Kt.split(e,2);return void 0===$t&&($t=Pt,Pt=void 0),""===$t&&($t=void 0),{text:M,meaning:Pt,description:$t,customId:Nt,legacyIds:nt}}}(y[0],y.raw[0]),$t=[Pt.text],ue=[];let de=Pt.text;for(let Jt=1;Jt<y.length;Jt++){const{messagePart:ce,placeholderName:Ut=pt(Jt),associatedMessageId:ve}=G(y[Jt],y.raw[Jt]);de+=`{$${Ut}}${ce}`,void 0!==T&&(nt[Ut]=T[Jt-1],Kt[Ut]=X[Jt-1]),ue.push(Ut),void 0!==ve&&(Nt[Ut]=ve),$t.push(ce)}const pe=Pt.customId||function Z(y,T=""){let M=B(y);return T&&(M=BigInt.asUintN(64,M<<BigInt(1))|M>>BigInt(63)&BigInt(1),M+=B(T)),BigInt.asUintN(63,M).toString()}(de,Pt.meaning||""),ye=Pt.legacyIds?Pt.legacyIds.filter(Jt=>Jt!==pe):[];return{id:pe,legacyIds:ye,substitutions:nt,substitutionLocations:Kt,text:de,customId:Pt.customId,meaning:Pt.meaning||"",description:Pt.description||"",messageParts:$t,messagePartLocations:j,placeholderNames:ue,associatedMessageIds:Nt,location:M}}function G(y,T){const{text:M,block:j}=ut(y,T);if(void 0===j)return{messagePart:M};{const[X,nt]=j.split(o);return{messagePart:M,placeholderName:X,associatedMessageId:nt}}}function ut(y,T){if(T.charAt(0)!==r)return{text:y};{const M=It(y,T);return{block:y.substring(1,M),text:y.substring(M+1)}}}function pt(y){return 1===y?"PH":"PH_"+(y-1)}function It(y,T){for(let M=1,j=1;M<y.length;M++,j++)if("\\"===T[j])j++;else if(y[M]===r)return M;throw new Error(`Unterminated $localize metadata block in "${T}".`)}class bt extends Error{constructor(T){super(`No translation found for ${ae(T)}.`),this.parsedMessage=T,this.type="MissingTranslationError"}}function _t(y,T){return Object.defineProperty(y,"raw",{value:T}),y}function ae(y){const T=y.meaning&&` - "${y.meaning}"`,M=y.legacyIds&&y.legacyIds.length>0?` [${y.legacyIds.map(j=>`"${j}"`).join(", ")}]`:"";return`"${y.id}"${M} ("${y.text}"${T})`}function Qt(y){$localize.translate||($localize.translate=me),$localize.TRANSLATIONS||($localize.TRANSLATIONS={}),Object.keys(y).forEach(T=>{$localize.TRANSLATIONS[T]=function Ht(y){const T=y.split(/{\$([^}]*)}/),M=[T[0]],j=[];for(let nt=1;nt<T.length-1;nt+=2)j.push(T[nt]),M.push(`${T[nt+1]}`);const X=M.map(nt=>nt.charAt(0)===r?"\\"+nt:nt);return{text:y,messageParts:_t(M,X),placeholderNames:j}}(y[T])})}function me(y,T){try{return function Lt(y,T,M){const j=K(T,M);let X=y[j.id];if(void 0!==j.legacyIds)for(let nt=0;nt<j.legacyIds.length&&void 0===X;nt++)X=y[j.legacyIds[nt]];if(void 0===X)throw new bt(j);return[X.messageParts,X.placeholderNames.map(nt=>{if(j.substitutions.hasOwnProperty(nt))return j.substitutions[nt];throw new Error(`There is a placeholder name mismatch with the translation provided for the message ${ae(j)}.\nThe translation contains a placeholder with name ${nt}, which does not exist in the message.`)})]}($localize.TRANSLATIONS,y,T)}catch(M){return console.warn(M.message),[y,T]}}const re=function(y,...T){if(re.translate){const j=re.translate(y,T);y=j[0],T=j[1]}let M=Xt(y[0],y.raw[0]);for(let j=1;j<y.length;j++)M+=T[j-1]+Xt(y[j],y.raw[j]);return M},xe=":";function Xt(y,T){return T.charAt(0)===xe?y.substring(It(y,T)+1):y}}},n=>{n(n.s=1826)}]);