You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 

9 lines
43 KiB

'use strict';
/**
* @license Angular
* (c) 2010-2025 Google LLC. https://angular.dev/
* License: MIT
*/(function(g,f){if(typeof define=="function"&&define.amd){define(["timers","crypto","events","fs"],function(_d_0,_d_1,_d_2,_d_3){var d={"timers": _d_0,"crypto": _d_1,"events": _d_2,"fs": _d_3},r=function(m){if(m in d) return d[m];if(typeof require=="function") return require(m);throw new Error("Cannot find module '"+m+"'")};return f(r)})}else if(typeof exports=="object" && typeof module<"u"){module.exports=f(require)}else{var gN={"timers":"timers","crypto":"crypto","events":"events","fs":"fs"},gReq=function(r){var mod = r in gN ? g[gN[r]] : g[r]; return mod };var m=f(gReq);for(var i in m) g[i]=m[i]}}(typeof globalThis < "u" ? globalThis : typeof self < "u" ? self : this,function(require){var exports={};var __exports=exports;var module={exports};
"use strict";(function(Te,ye){if(typeof define=="function"&&define.amd)define(["timers","crypto","events","fs"],function(ge,Pe,Ye,qe){var Re={timers:ge,crypto:Pe,events:Ye,fs:qe},Fe=function(we){if(we in Re)return Re[we];if(typeof require=="function")return require(we);throw new Error("Cannot find module '"+we+"'")};return ye(Fe)});else if(typeof exports=="object"&&typeof module<"u")module.exports=ye(require);else{var Me={timers:"timers",crypto:"crypto",events:"events",fs:"fs"},Ae=function(ge){var Pe=ge in Me?Te[Me[ge]]:Te[ge];return Pe},je=ye(Ae);for(var He in je)Te[He]=je[He]}})(typeof globalThis<"u"?globalThis:typeof self<"u"?self:exports,function(Te){var ye={},Me=ye,Ae={exports:ye},je=Object.defineProperty,He=Object.defineProperties,ge=Object.getOwnPropertyDescriptors,Pe=Object.getOwnPropertySymbols,Ye=Object.prototype.hasOwnProperty,qe=Object.prototype.propertyIsEnumerable,Re=function(r,e,n){return e in r?je(r,e,{enumerable:!0,configurable:!0,writable:!0,value:n}):r[e]=n},Fe=function(r,e){for(var n in e||(e={}))Ye.call(e,n)&&Re(r,n,e[n]);if(Pe)for(var t=0,o=Pe(e);t<o.length;t++){var n=o[t];qe.call(e,n)&&Re(r,n,e[n])}return r},we=function(r,e){return He(r,ge(e))},C=function(r,e,n){return Re(r,typeof e!="symbol"?e+"":e,n),n},fe=globalThis;function ie(r){var e=fe.__Zone_symbol_prefix||"__zone_symbol__";return e+r}function Zr(){var r=fe.performance;function e(d){r&&r.mark&&r.mark(d)}function n(d,a){r&&r.measure&&r.measure(d,a)}e("Zone");var t=function(){function d(a,i){C(this,"_parent"),C(this,"_name"),C(this,"_properties"),C(this,"_zoneDelegate"),this._parent=a,this._name=i?i.name||"unnamed":"<root>",this._properties=i&&i.properties||{},this._zoneDelegate=new f(this,this._parent&&this._parent._zoneDelegate,i)}return d.assertZonePatched=function(){if(fe.Promise!==D.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.)")},Object.defineProperty(d,"root",{get:function(){for(var a=d.current;a.parent;)a=a.parent;return a},enumerable:!1,configurable:!0}),Object.defineProperty(d,"current",{get:function(){return m.zone},enumerable:!1,configurable:!0}),Object.defineProperty(d,"currentTask",{get:function(){return B},enumerable:!1,configurable:!0}),d.__load_patch=function(a,i,s){if(s===void 0&&(s=!1),D.hasOwnProperty(a)){var g=fe[ie("forceDuplicateZoneCheck")]===!0;if(!s&&g)throw Error("Already loaded patch: "+a)}else if(!fe["__Zone_disable_"+a]){var H="Zone:"+a;e(H),D[a]=i(fe,d,re),n(H,H)}},Object.defineProperty(d.prototype,"parent",{get:function(){return this._parent},enumerable:!1,configurable:!0}),Object.defineProperty(d.prototype,"name",{get:function(){return this._name},enumerable:!1,configurable:!0}),d.prototype.get=function(a){var i=this.getZoneWith(a);if(i)return i._properties[a]},d.prototype.getZoneWith=function(a){for(var i=this;i;){if(i._properties.hasOwnProperty(a))return i;i=i._parent}return null},d.prototype.fork=function(a){if(!a)throw new Error("ZoneSpec required!");return this._zoneDelegate.fork(this,a)},d.prototype.wrap=function(a,i){if(typeof a!="function")throw new Error("Expecting function got: "+a);var s=this._zoneDelegate.intercept(this,a,i),g=this;return function(){return g.runGuarded(s,this,arguments,i)}},d.prototype.run=function(a,i,s,g){m={parent:m,zone:this};try{return this._zoneDelegate.invoke(this,a,i,s,g)}finally{m=m.parent}},d.prototype.runGuarded=function(a,i,s,g){i===void 0&&(i=null),m={parent:m,zone:this};try{try{return this._zoneDelegate.invoke(this,a,i,s,g)}catch(H){if(this._zoneDelegate.handleError(this,H))throw H}}finally{m=m.parent}},d.prototype.runTask=function(a,i,s){if(a.zone!=this)throw new Error("A task can only be run in the zone of creation! (Creation: "+(a.zone||oe).name+"; Execution: "+this.name+")");var g=a,H=a.type,K=a.data,he=K===void 0?{}:K,ke=he.isPeriodic,pe=ke===void 0?!1:ke,me=he.isRefreshable,l=me===void 0?!1:me;if(!(a.state===j&&(H===U||H===S))){var h=a.state!=J;h&&g._transitionTo(J,y);var v=B;B=g,m={parent:m,zone:this};try{H==S&&a.data&&!pe&&!l&&(a.cancelFn=void 0);try{return this._zoneDelegate.invokeTask(this,g,i,s)}catch(w){if(this._zoneDelegate.handleError(this,w))throw w}}finally{var c=a.state;if(c!==j&&c!==q)if(H==U||pe||l&&c===O)h&&g._transitionTo(y,J,O);else{var E=g._zoneDelegates;this._updateTaskCount(g,-1),h&&g._transitionTo(j,J,j),l&&(g._zoneDelegates=E)}m=m.parent,B=v}}},d.prototype.scheduleTask=function(a){if(a.zone&&a.zone!==this)for(var i=this;i;){if(i===a.zone)throw Error("can not reschedule task to ".concat(this.name," which is descendants of the original zone ").concat(a.zone.name));i=i.parent}a._transitionTo(O,j);var s=[];a._zoneDelegates=s,a._zone=this;try{a=this._zoneDelegate.scheduleTask(this,a)}catch(g){throw a._transitionTo(q,O,j),this._zoneDelegate.handleError(this,g),g}return a._zoneDelegates===s&&this._updateTaskCount(a,1),a.state==O&&a._transitionTo(y,O),a},d.prototype.scheduleMicroTask=function(a,i,s,g){return this.scheduleTask(new p(x,a,i,s,g,void 0))},d.prototype.scheduleMacroTask=function(a,i,s,g,H){return this.scheduleTask(new p(S,a,i,s,g,H))},d.prototype.scheduleEventTask=function(a,i,s,g,H){return this.scheduleTask(new p(U,a,i,s,g,H))},d.prototype.cancelTask=function(a){if(a.zone!=this)throw new Error("A task can only be cancelled in the zone of creation! (Creation: "+(a.zone||oe).name+"; Execution: "+this.name+")");if(!(a.state!==y&&a.state!==J)){a._transitionTo(W,y,J);try{this._zoneDelegate.cancelTask(this,a)}catch(i){throw a._transitionTo(q,W),this._zoneDelegate.handleError(this,i),i}return this._updateTaskCount(a,-1),a._transitionTo(j,W),a.runCount=-1,a}},d.prototype._updateTaskCount=function(a,i){var s=a._zoneDelegates;i==-1&&(a._zoneDelegates=null);for(var g=0;g<s.length;g++)s[g]._updateTaskCount(a.type,i)},d}();C(t,"__symbol__",ie);var o=t,u={name:"",onHasTask:function(d,a,i,s){return d.hasTask(i,s)},onScheduleTask:function(d,a,i,s){return d.scheduleTask(i,s)},onInvokeTask:function(d,a,i,s,g,H){return d.invokeTask(i,s,g,H)},onCancelTask:function(d,a,i,s){return d.cancelTask(i,s)}},f=function(){function d(a,i,s){C(this,"_zone"),C(this,"_taskCounts",{microTask:0,macroTask:0,eventTask:0}),C(this,"_parentDelegate"),C(this,"_forkDlgt"),C(this,"_forkZS"),C(this,"_forkCurrZone"),C(this,"_interceptDlgt"),C(this,"_interceptZS"),C(this,"_interceptCurrZone"),C(this,"_invokeDlgt"),C(this,"_invokeZS"),C(this,"_invokeCurrZone"),C(this,"_handleErrorDlgt"),C(this,"_handleErrorZS"),C(this,"_handleErrorCurrZone"),C(this,"_scheduleTaskDlgt"),C(this,"_scheduleTaskZS"),C(this,"_scheduleTaskCurrZone"),C(this,"_invokeTaskDlgt"),C(this,"_invokeTaskZS"),C(this,"_invokeTaskCurrZone"),C(this,"_cancelTaskDlgt"),C(this,"_cancelTaskZS"),C(this,"_cancelTaskCurrZone"),C(this,"_hasTaskDlgt"),C(this,"_hasTaskDlgtOwner"),C(this,"_hasTaskZS"),C(this,"_hasTaskCurrZone"),this._zone=a,this._parentDelegate=i,this._forkZS=s&&(s&&s.onFork?s:i._forkZS),this._forkDlgt=s&&(s.onFork?i:i._forkDlgt),this._forkCurrZone=s&&(s.onFork?this._zone:i._forkCurrZone),this._interceptZS=s&&(s.onIntercept?s:i._interceptZS),this._interceptDlgt=s&&(s.onIntercept?i:i._interceptDlgt),this._interceptCurrZone=s&&(s.onIntercept?this._zone:i._interceptCurrZone),this._invokeZS=s&&(s.onInvoke?s:i._invokeZS),this._invokeDlgt=s&&(s.onInvoke?i:i._invokeDlgt),this._invokeCurrZone=s&&(s.onInvoke?this._zone:i._invokeCurrZone),this._handleErrorZS=s&&(s.onHandleError?s:i._handleErrorZS),this._handleErrorDlgt=s&&(s.onHandleError?i:i._handleErrorDlgt),this._handleErrorCurrZone=s&&(s.onHandleError?this._zone:i._handleErrorCurrZone),this._scheduleTaskZS=s&&(s.onScheduleTask?s:i._scheduleTaskZS),this._scheduleTaskDlgt=s&&(s.onScheduleTask?i:i._scheduleTaskDlgt),this._scheduleTaskCurrZone=s&&(s.onScheduleTask?this._zone:i._scheduleTaskCurrZone),this._invokeTaskZS=s&&(s.onInvokeTask?s:i._invokeTaskZS),this._invokeTaskDlgt=s&&(s.onInvokeTask?i:i._invokeTaskDlgt),this._invokeTaskCurrZone=s&&(s.onInvokeTask?this._zone:i._invokeTaskCurrZone),this._cancelTaskZS=s&&(s.onCancelTask?s:i._cancelTaskZS),this._cancelTaskDlgt=s&&(s.onCancelTask?i:i._cancelTaskDlgt),this._cancelTaskCurrZone=s&&(s.onCancelTask?this._zone:i._cancelTaskCurrZone),this._hasTaskZS=null,this._hasTaskDlgt=null,this._hasTaskDlgtOwner=null,this._hasTaskCurrZone=null;var g=s&&s.onHasTask,H=i&&i._hasTaskZS;(g||H)&&(this._hasTaskZS=g?s:u,this._hasTaskDlgt=i,this._hasTaskDlgtOwner=this,this._hasTaskCurrZone=this._zone,s.onScheduleTask||(this._scheduleTaskZS=u,this._scheduleTaskDlgt=i,this._scheduleTaskCurrZone=this._zone),s.onInvokeTask||(this._invokeTaskZS=u,this._invokeTaskDlgt=i,this._invokeTaskCurrZone=this._zone),s.onCancelTask||(this._cancelTaskZS=u,this._cancelTaskDlgt=i,this._cancelTaskCurrZone=this._zone))}return Object.defineProperty(d.prototype,"zone",{get:function(){return this._zone},enumerable:!1,configurable:!0}),d.prototype.fork=function(a,i){return this._forkZS?this._forkZS.onFork(this._forkDlgt,this.zone,a,i):new o(a,i)},d.prototype.intercept=function(a,i,s){return this._interceptZS?this._interceptZS.onIntercept(this._interceptDlgt,this._interceptCurrZone,a,i,s):i},d.prototype.invoke=function(a,i,s,g,H){return this._invokeZS?this._invokeZS.onInvoke(this._invokeDlgt,this._invokeCurrZone,a,i,s,g,H):i.apply(s,g)},d.prototype.handleError=function(a,i){return this._handleErrorZS?this._handleErrorZS.onHandleError(this._handleErrorDlgt,this._handleErrorCurrZone,a,i):!0},d.prototype.scheduleTask=function(a,i){var s=i;if(this._scheduleTaskZS)this._hasTaskZS&&s._zoneDelegates.push(this._hasTaskDlgtOwner),s=this._scheduleTaskZS.onScheduleTask(this._scheduleTaskDlgt,this._scheduleTaskCurrZone,a,i),s||(s=i);else if(i.scheduleFn)i.scheduleFn(i);else if(i.type==x)M(i);else throw new Error("Task is missing scheduleFn.");return s},d.prototype.invokeTask=function(a,i,s,g){return this._invokeTaskZS?this._invokeTaskZS.onInvokeTask(this._invokeTaskDlgt,this._invokeTaskCurrZone,a,i,s,g):i.callback.apply(s,g)},d.prototype.cancelTask=function(a,i){var s;if(this._cancelTaskZS)s=this._cancelTaskZS.onCancelTask(this._cancelTaskDlgt,this._cancelTaskCurrZone,a,i);else{if(!i.cancelFn)throw Error("Task is not cancelable");s=i.cancelFn(i)}return s},d.prototype.hasTask=function(a,i){try{this._hasTaskZS&&this._hasTaskZS.onHasTask(this._hasTaskDlgt,this._hasTaskCurrZone,a,i)}catch(s){this.handleError(a,s)}},d.prototype._updateTaskCount=function(a,i){var s=this._taskCounts,g=s[a],H=s[a]=g+i;if(H<0)throw new Error("More tasks executed then were scheduled.");if(g==0||H==0){var K={microTask:s.microTask>0,macroTask:s.macroTask>0,eventTask:s.eventTask>0,change:a};this.hasTask(this._zone,K)}},d}(),p=function(){function d(a,i,s,g,H,K){if(C(this,"type"),C(this,"source"),C(this,"invoke"),C(this,"callback"),C(this,"data"),C(this,"scheduleFn"),C(this,"cancelFn"),C(this,"_zone",null),C(this,"runCount",0),C(this,"_zoneDelegates",null),C(this,"_state","notScheduled"),this.type=a,this.source=i,this.data=g,this.scheduleFn=H,this.cancelFn=K,!s)throw new Error("callback is not defined");this.callback=s;var he=this;a===U&&g&&g.useG?this.invoke=d.invokeTask:this.invoke=function(){return d.invokeTask.call(fe,he,this,arguments)}}return d.invokeTask=function(a,i,s){a||(a=this),I++;try{return a.runCount++,a.zone.runTask(a,i,s)}finally{I==1&&Q(),I--}},Object.defineProperty(d.prototype,"zone",{get:function(){return this._zone},enumerable:!1,configurable:!0}),Object.defineProperty(d.prototype,"state",{get:function(){return this._state},enumerable:!1,configurable:!0}),d.prototype.cancelScheduleRequest=function(){this._transitionTo(j,O)},d.prototype._transitionTo=function(a,i,s){if(this._state===i||this._state===s)this._state=a,a==j&&(this._zoneDelegates=null);else throw new Error("".concat(this.type," '").concat(this.source,"': can not transition to '").concat(a,"', expecting state '").concat(i,"'").concat(s?" or '"+s+"'":"",", was '").concat(this._state,"'."))},d.prototype.toString=function(){return this.data&&typeof this.data.handleId!="undefined"?this.data.handleId.toString():Object.prototype.toString.call(this)},d.prototype.toJSON=function(){return{type:this.type,state:this.state,source:this.source,zone:this.zone.name,runCount:this.runCount}},d}(),_=ie("setTimeout"),b=ie("Promise"),T=ie("then"),k=[],P=!1,N;function z(d){if(N||fe[b]&&(N=fe[b].resolve(0)),N){var a=N[T];a||(a=N.then),a.call(N,d)}else fe[_](d,0)}function M(d){I===0&&k.length===0&&z(Q),d&&k.push(d)}function Q(){if(!P){for(P=!0;k.length;){var d=k;k=[];for(var a=0;a<d.length;a++){var i=d[a];try{i.zone.runTask(i,null,null)}catch(s){re.onUnhandledError(s)}}}re.microtaskDrainDone(),P=!1}}var oe={name:"NO ZONE"},j="notScheduled",O="scheduling",y="scheduled",J="running",W="canceling",q="unknown",x="microTask",S="macroTask",U="eventTask",D={},re={symbol:ie,currentZoneFrame:function(){return m},onUnhandledError:V,microtaskDrainDone:V,scheduleMicroTask:M,showUncaughtError:function(){return!o[ie("ignoreConsoleErrorUncaughtError")]},patchEventTarget:function(){return[]},patchOnProperties:V,patchMethod:function(){return V},bindArguments:function(){return[]},patchThen:function(){return V},patchMacroTask:function(){return V},patchEventPrototype:function(){return V},getGlobalObjects:function(){},ObjectDefineProperty:function(){return V},ObjectGetOwnPropertyDescriptor:function(){},ObjectCreate:function(){},ArraySlice:function(){return[]},patchClass:function(){return V},wrapWithCurrentZone:function(){return V},filterProperties:function(){return[]},attachOriginToPatched:function(){return V},_redefineProperty:function(){return V},patchCallbacks:function(){return V},nativeScheduleMicroTask:z},m={parent:null,zone:new o(null,null)},B=null,I=0;function V(){}return n("Zone","Zone"),o}var De=Object.getOwnPropertyDescriptor,Je=Object.defineProperty,Ke=Object.getPrototypeOf,Lr=Object.create,lr=Array.prototype.slice,Qe="addEventListener",$e="removeEventListener",er=ie(Qe),rr=ie($e),ve="true",_e="false",Ie=ie("");function tr(r,e){return Zone.current.wrap(r,e)}function nr(r,e,n,t,o){return Zone.current.scheduleMacroTask(r,e,n,t,o)}var G=ie,Ve=typeof window!="undefined",xe=Ve?window:void 0,ee=Ve&&xe||globalThis,Nr="removeAttribute";function Be(r,e){for(var n=r.length-1;n>=0;n--)typeof r[n]=="function"&&(r[n]=tr(r[n],e+"_"+n));return r}function Mr(r,e){for(var n=r.constructor.name,t=function(u){var f=e[u],p=r[f];if(p){var _=De(r,f);if(!fr(_))return"continue";r[f]=function(b){var T=function(){return b.apply(this,Be(arguments,n+"."+f))};return de(T,b),T}(p)}},o=0;o<e.length;o++)t(o)}function fr(r){return r?r.writable===!1?!1:!(typeof r.get=="function"&&typeof r.set=="undefined"):!0}var hr=typeof WorkerGlobalScope!="undefined"&&self instanceof WorkerGlobalScope,Ge=!("nw"in ee)&&typeof ee.process!="undefined"&&ee.process.toString()==="[object process]",or=!Ge&&!hr&&!!(Ve&&xe.HTMLElement),Ue=typeof ee.process!="undefined"&&ee.process.toString()==="[object process]"&&!hr&&!!(Ve&&xe.HTMLElement),ze={},Ar=G("enable_beforeunload"),vr=function(r){if(r=r||ee.event,!!r){var e=ze[r.type];e||(e=ze[r.type]=G("ON_PROPERTY"+r.type));var n=this||r.target||ee,t=n[e],o;if(or&&n===xe&&r.type==="error"){var u=r;o=t&&t.call(this,u.message,u.filename,u.lineno,u.colno,u.error),o===!0&&r.preventDefault()}else o=t&&t.apply(this,arguments),r.type==="beforeunload"&&ee[Ar]&&typeof o=="string"?r.returnValue=o:o!=null&&!o&&r.preventDefault();return o}};function _r(r,e,n){var t=De(r,e);if(!t&&n){var o=De(n,e);o&&(t={enumerable:!0,configurable:!0})}if(!(!t||!t.configurable)){var u=G("on"+e+"patched");if(!(r.hasOwnProperty(u)&&r[u])){delete t.writable,delete t.value;var f=t.get,p=t.set,_=e.slice(2),b=ze[_];b||(b=ze[_]=G("ON_PROPERTY"+_)),t.set=function(T){var k=this;if(!k&&r===ee&&(k=ee),!!k){var P=k[b];typeof P=="function"&&k.removeEventListener(_,vr),p==null||p.call(k,null),k[b]=T,typeof T=="function"&&k.addEventListener(_,vr,!1)}},t.get=function(){var T=this;if(!T&&r===ee&&(T=ee),!T)return null;var k=T[b];if(k)return k;if(f){var P=f.call(this);if(P)return t.set.call(this,P),typeof T[Nr]=="function"&&T.removeAttribute(e),P}return null},Je(r,e,t),r[u]=!0}}}function ir(r,e,n){if(e)for(var t=0;t<e.length;t++)_r(r,"on"+e[t],n);else{var o=[];for(var u in r)u.slice(0,2)=="on"&&o.push(u);for(var f=0;f<o.length;f++)_r(r,o[f],n)}}var ue=G("originalInstance");function Ze(r){var e=ee[r];if(e){ee[G(r)]=e,ee[r]=function(){var o=Be(arguments,r);switch(o.length){case 0:this[ue]=new e;break;case 1:this[ue]=new e(o[0]);break;case 2:this[ue]=new e(o[0],o[1]);break;case 3:this[ue]=new e(o[0],o[1],o[2]);break;case 4:this[ue]=new e(o[0],o[1],o[2],o[3]);break;default:throw new Error("Arg list too long.")}},de(ee[r],e);var n=new e(function(){}),t;for(t in n)r==="XMLHttpRequest"&&t==="responseBlob"||function(o){typeof n[o]=="function"?ee[r].prototype[o]=function(){return this[ue][o].apply(this[ue],arguments)}:Je(ee[r].prototype,o,{set:function(u){typeof u=="function"?(this[ue][o]=tr(u,r+"."+o),de(this[ue][o],u)):this[ue][o]=u},get:function(){return this[ue][o]}})}(t);for(t in e)t!=="prototype"&&e.hasOwnProperty(t)&&(ee[r][t]=e[t])}}function jr(r,e){if(typeof Object.getOwnPropertySymbols=="function"){var n=Object.getOwnPropertySymbols(r);n.forEach(function(t){var o=Object.getOwnPropertyDescriptor(r,t);Object.defineProperty(e,t,{get:function(){return r[t]},set:function(u){o&&(!o.writable||typeof o.set!="function")||(r[t]=u)},enumerable:o?o.enumerable:!0,configurable:o?o.configurable:!0})})}}var dr=!1;function Hr(r){dr=r}function ce(r,e,n){for(var t=r;t&&!t.hasOwnProperty(e);)t=Ke(t);!t&&r[e]&&(t=r);var o=G(e),u=null;if(t&&(!(u=t[o])||!t.hasOwnProperty(o))){u=t[o]=t[e];var f=t&&De(t,e);if(fr(f)){var p=n(u,o,e);t[e]=function(){return p(this,arguments)},de(t[e],u),dr&&jr(u,t[e])}}return u}function Le(r,e,n){var t=null;function o(u){var f=u.data;return f.args[f.cbIdx]=function(){u.invoke.apply(this,arguments)},t.apply(f.target,f.args),u}t=ce(r,e,function(u){return function(f,p){var _=n(f,p);return _.cbIdx>=0&&typeof p[_.cbIdx]=="function"?nr(_.name,p[_.cbIdx],_,o):u.apply(f,p)}})}function Fr(r,e,n){var t=null;function o(u){var f=u.data;return f.args[f.cbIdx]=function(){u.invoke.apply(this,arguments)},t.apply(f.target,f.args),u}t=ce(r,e,function(u){return function(f,p){var _=n(f,p);return _.cbIdx>=0&&typeof p[_.cbIdx]=="function"?Zone.current.scheduleMicroTask(_.name,p[_.cbIdx],_,o):u.apply(f,p)}})}function de(r,e){r[G("OriginalDelegate")]=e}function pr(r){return typeof r=="function"}function Er(r){return typeof r=="number"}var Vr={useG:!0},ae={},Tr={},yr=new RegExp("^"+Ie+"(\\w+)(true|false)$"),mr=G("propagationStopped");function gr(r,e){var n=(e?e(r):r)+_e,t=(e?e(r):r)+ve,o=Ie+n,u=Ie+t;ae[r]={},ae[r][_e]=o,ae[r][ve]=u}function kr(r,e,n,t){var o=t&&t.add||Qe,u=t&&t.rm||$e,f=t&&t.listeners||"eventListeners",p=t&&t.rmAll||"removeAllListeners",_=G(o),b="."+o+":",T="prependListener",k="."+T+":",P=function(O,y,J){if(!O.isRemoved){var W=O.callback;typeof W=="object"&&W.handleEvent&&(O.callback=function(U){return W.handleEvent(U)},O.originalDelegate=W);var q;try{O.invoke(O,y,[J])}catch(U){q=U}var x=O.options;if(x&&typeof x=="object"&&x.once){var S=O.originalDelegate?O.originalDelegate:O.callback;y[u].call(y,J.type,S,x)}return q}};function N(O,y,J){if(y=y||r.event,!!y){var W=O||y.target||r,q=W[ae[y.type][J?ve:_e]];if(q){var x=[];if(q.length===1){var S=P(q[0],W,y);S&&x.push(S)}else for(var U=q.slice(),D=0;D<U.length&&!(y&&y[mr]===!0);D++){var S=P(U[D],W,y);S&&x.push(S)}if(x.length===1)throw x[0];for(var re=function(m){var B=x[m];e.nativeScheduleMicroTask(function(){throw B})},D=0;D<x.length;D++)re(D)}}}var z=function(O){return N(this,O,!1)},M=function(O){return N(this,O,!0)};function Q(O,y){if(!O)return!1;var J=!0;y&&y.useG!==void 0&&(J=y.useG);var W=y&&y.vh,q=!0;y&&y.chkDup!==void 0&&(q=y.chkDup);var x=!1;y&&y.rt!==void 0&&(x=y.rt);for(var S=O;S&&!S.hasOwnProperty(o);)S=Ke(S);if(!S&&O[o]&&(S=O),!S||S[_])return!1;var U=y&&y.eventNameToString,D={},re=S[_]=S[o],m=S[G(u)]=S[u],B=S[G(f)]=S[f],I=S[G(p)]=S[p],V;y&&y.prepend&&(V=S[G(y.prepend)]=S[y.prepend]);function d(c,E){return E?typeof c=="boolean"?{capture:c,passive:!0}:c?typeof c=="object"&&c.passive!==!1?we(Fe({},c),{passive:!0}):c:{passive:!0}:c}var a=function(c){if(!D.isExisting)return re.call(D.target,D.eventName,D.capture?M:z,D.options)},i=function(c){if(!c.isRemoved){var E=ae[c.eventName],w=void 0;E&&(w=E[c.capture?ve:_e]);var R=w&&c.target[w];if(R)for(var Z=0;Z<R.length;Z++){var L=R[Z];if(L===c){R.splice(Z,1),c.isRemoved=!0,c.removeAbortListener&&(c.removeAbortListener(),c.removeAbortListener=null),R.length===0&&(c.allRemoved=!0,c.target[w]=null);break}}}if(c.allRemoved)return m.call(c.target,c.eventName,c.capture?M:z,c.options)},s=function(c){return re.call(D.target,D.eventName,c.invoke,D.options)},g=function(c){return V.call(D.target,D.eventName,c.invoke,D.options)},H=function(c){return m.call(c.target,c.eventName,c.invoke,c.options)},K=J?a:s,he=J?i:H,ke=function(c,E){var w=typeof E;return w==="function"&&c.callback===E||w==="object"&&c.originalDelegate===E},pe=(y==null?void 0:y.diff)||ke,me=Zone[G("UNPATCHED_EVENTS")],l=r[G("PASSIVE_EVENTS")];function h(c){if(typeof c=="object"&&c!==null){var E=Fe({},c);return c.signal&&(E.signal=c.signal),E}return c}var v=function(c,E,w,R,Z,L){return Z===void 0&&(Z=!1),L===void 0&&(L=!1),function(){var A=this||r,F=arguments[0];y&&y.transferEventName&&(F=y.transferEventName(F));var X=arguments[1];if(!X)return c.apply(this,arguments);if(Ge&&F==="uncaughtException")return c.apply(this,arguments);var ne=!1;if(typeof X!="function"){if(!X.handleEvent)return c.apply(this,arguments);ne=!0}if(!(W&&!W(c,X,A,arguments))){var Ee=!!l&&l.indexOf(F)!==-1,$=h(d(arguments[2],Ee)),te=$==null?void 0:$.signal;if(!(te!=null&&te.aborted)){if(me){for(var Y=0;Y<me.length;Y++)if(F===me[Y])return Ee?c.call(A,F,X,$):c.apply(this,arguments)}var be=$?typeof $=="boolean"?!0:$.capture:!1,wr=$&&typeof $=="object"?$.once:!1,nt=Zone.current,cr=ae[F];cr||(gr(F,U),cr=ae[F]);var Sr=cr[be?ve:_e],Ce=A[Sr],Or=!1;if(Ce){if(Or=!0,q){for(var Y=0;Y<Ce.length;Y++)if(pe(Ce[Y],X))return}}else Ce=A[Sr]=[];var Xe,Cr=A.constructor.name,Dr=Tr[Cr];Dr&&(Xe=Dr[F]),Xe||(Xe=Cr+E+(U?U(F):F)),D.options=$,wr&&(D.options.once=!1),D.target=A,D.capture=be,D.eventName=F,D.isExisting=Or;var Ne=J?Vr:void 0;Ne&&(Ne.taskData=D),te&&(D.options.signal=void 0);var le=nt.scheduleEventTask(Xe,X,Ne,w,R);if(te){D.options.signal=te;var Ir=function(){return le.zone.cancelTask(le)};c.call(te,"abort",Ir,{once:!0}),le.removeAbortListener=function(){return te.removeEventListener("abort",Ir)}}if(D.target=null,Ne&&(Ne.taskData=null),wr&&(D.options.once=!0),typeof le.options!="boolean"&&(le.options=$),le.target=A,le.capture=be,le.eventName=F,ne&&(le.originalDelegate=X),L?Ce.unshift(le):Ce.push(le),Z)return A}}}};return S[o]=v(re,b,K,he,x),V&&(S[T]=v(V,k,g,he,x,!0)),S[u]=function(){var c=this||r,E=arguments[0];y&&y.transferEventName&&(E=y.transferEventName(E));var w=arguments[2],R=w?typeof w=="boolean"?!0:w.capture:!1,Z=arguments[1];if(!Z)return m.apply(this,arguments);if(!(W&&!W(m,Z,c,arguments))){var L=ae[E],A;L&&(A=L[R?ve:_e]);var F=A&&c[A];if(F)for(var X=0;X<F.length;X++){var ne=F[X];if(pe(ne,Z)){if(F.splice(X,1),ne.isRemoved=!0,F.length===0&&(ne.allRemoved=!0,c[A]=null,!R&&typeof E=="string")){var Ee=Ie+"ON_PROPERTY"+E;c[Ee]=null}return ne.zone.cancelTask(ne),x?c:void 0}}return m.apply(this,arguments)}},S[f]=function(){var c=this||r,E=arguments[0];y&&y.transferEventName&&(E=y.transferEventName(E));for(var w=[],R=ar(c,U?U(E):E),Z=0;Z<R.length;Z++){var L=R[Z],A=L.originalDelegate?L.originalDelegate:L.callback;w.push(A)}return w},S[p]=function(){var c=this||r,E=arguments[0];if(E){y&&y.transferEventName&&(E=y.transferEventName(E));var F=ae[E];if(F){var X=F[_e],ne=F[ve],Ee=c[X],$=c[ne];if(Ee)for(var te=Ee.slice(),R=0;R<te.length;R++){var Y=te[R],be=Y.originalDelegate?Y.originalDelegate:Y.callback;this[u].call(this,E,be,Y.options)}if($)for(var te=$.slice(),R=0;R<te.length;R++){var Y=te[R],be=Y.originalDelegate?Y.originalDelegate:Y.callback;this[u].call(this,E,be,Y.options)}}}else{for(var w=Object.keys(c),R=0;R<w.length;R++){var Z=w[R],L=yr.exec(Z),A=L&&L[1];A&&A!=="removeListener"&&this[p].call(this,A)}this[p].call(this,"removeListener")}if(x)return this},de(S[o],re),de(S[u],m),I&&de(S[p],I),B&&de(S[f],B),!0}for(var oe=[],j=0;j<n.length;j++)oe[j]=Q(n[j],t);return oe}function ar(r,e){if(!e){var n=[];for(var t in r){var o=yr.exec(t),u=o&&o[1];if(u&&(!e||u===e)){var f=r[t];if(f)for(var p=0;p<f.length;p++)n.push(f[p])}}return n}var _=ae[e];_||(gr(e),_=ae[e]);var b=r[_[_e]],T=r[_[ve]];return b?T?b.concat(T):b.slice():T?T.slice():[]}function xr(r,e){var n=r.Event;n&&n.prototype&&e.patchMethod(n.prototype,"stopImmediatePropagation",function(t){return function(o,u){o[mr]=!0,t&&t.apply(o,u)}})}function br(r,e){e.patchMethod(r,"queueMicrotask",function(n){return function(t,o){Zone.current.scheduleMicroTask("queueMicrotask",o[0])}})}var We=G("zoneTask");function se(r,e,n,t){var o=null,u=null;e+=t,n+=t;var f={};function p(b){var T=b.data;T.args[0]=function(){return b.invoke.apply(this,arguments)};var k=o.apply(r,T.args);return Er(k)?T.handleId=k:(T.handle=k,T.isRefreshable=pr(k.refresh)),b}function _(b){var T=b.data,k=T.handle,P=T.handleId;return u.call(r,k!=null?k:P)}o=ce(r,e,function(b){return function(T,k){var P;if(pr(k[0])){var N={isRefreshable:!1,isPeriodic:t==="Interval",delay:t==="Timeout"||t==="Interval"?k[1]||0:void 0,args:k},z=k[0];k[0]=function(){try{return z.apply(this,arguments)}finally{var q=N.handle,x=N.handleId,S=N.isPeriodic,U=N.isRefreshable;!S&&!U&&(x?delete f[x]:q&&(q[We]=null))}};var M=nr(e,k[0],N,p,_);if(!M)return M;var Q=M.data,oe=Q.handleId,j=Q.handle,O=Q.isRefreshable,y=Q.isPeriodic;if(oe)f[oe]=M;else if(j&&(j[We]=M,O&&!y)){var J=j.refresh;j.refresh=function(){var W=M.zone,q=M.state;return q==="notScheduled"?(M._state="scheduled",W._updateTaskCount(M,1)):q==="running"&&(M._state="scheduling"),J.call(this)}}return(P=j!=null?j:oe)!=null?P:M}else return b.apply(r,k)}}),u=ce(r,n,function(b){return function(T,k){var P=k[0],N;Er(P)?(N=f[P],delete f[P]):(N=P==null?void 0:P[We],N?P[We]=null:N=P),N!=null&&N.type?N.cancelFn&&N.zone.cancelTask(N):b.apply(r,k)}})}function Br(r,e){var n=e.getGlobalObjects(),t=n.isBrowser,o=n.isMix;if(!(!t&&!o||!r.customElements||!("customElements"in r))){var u=["connectedCallback","disconnectedCallback","adoptedCallback","attributeChangedCallback","formAssociatedCallback","formDisabledCallback","formResetCallback","formStateRestoreCallback"];e.patchCallbacks(e,r.customElements,"customElements","define",u)}}function Gr(r,e){if(!Zone[e.symbol("patchEventTarget")]){for(var n=e.getGlobalObjects(),t=n.eventNames,o=n.zoneSymbolEventNames,u=n.TRUE_STR,f=n.FALSE_STR,p=n.ZONE_SYMBOL_PREFIX,_=0;_<t.length;_++){var b=t[_],T=b+f,k=b+u,P=p+T,N=p+k;o[b]={},o[b][f]=P,o[b][u]=N}var z=r.EventTarget;if(!(!z||!z.prototype))return e.patchEventTarget(r,e,[z&&z.prototype]),!0}}function Ur(r,e){e.patchEventPrototype(r,e)}function Pr(r,e,n){if(!n||n.length===0)return e;var t=n.filter(function(u){return u.target===r});if(t.length===0)return e;var o=t[0].ignoreProperties;return e.filter(function(u){return o.indexOf(u)===-1})}function Rr(r,e,n,t){if(r){var o=Pr(r,e,n);ir(r,o,t)}}function sr(r){return Object.getOwnPropertyNames(r).filter(function(e){return e.startsWith("on")&&e.length>2}).map(function(e){return e.substring(2)})}function zr(r,e){if(!(Ge&&!Ue)&&!Zone[r.symbol("patchEvents")]){var n=e.__Zone_ignore_on_properties,t=[];if(or){var o=window;t=t.concat(["Document","SVGElement","Element","HTMLElement","HTMLBodyElement","HTMLMediaElement","HTMLFrameSetElement","HTMLFrameElement","HTMLIFrameElement","HTMLMarqueeElement","Worker"]),Rr(o,sr(o),n,Ke(o))}t=t.concat(["XMLHttpRequest","XMLHttpRequestEventTarget","IDBIndex","IDBRequest","IDBOpenDBRequest","IDBDatabase","IDBTransaction","IDBCursor","WebSocket"]);for(var u=0;u<t.length;u++){var f=e[t[u]];f!=null&&f.prototype&&Rr(f.prototype,sr(f.prototype),n)}}}function Wr(r){r.__load_patch("timers",function(e){var n="set",t="clear";se(e,n,t,"Timeout"),se(e,n,t,"Interval"),se(e,n,t,"Immediate")}),r.__load_patch("requestAnimationFrame",function(e){se(e,"request","cancel","AnimationFrame"),se(e,"mozRequest","mozCancel","AnimationFrame"),se(e,"webkitRequest","webkitCancel","AnimationFrame")}),r.__load_patch("blocking",function(e,n){for(var t=["alert","prompt","confirm"],o=0;o<t.length;o++){var u=t[o];ce(e,u,function(f,p,_){return function(b,T){return n.current.run(f,e,T,_)}})}}),r.__load_patch("EventTarget",function(e,n,t){Ur(e,t),Gr(e,t);var o=e.XMLHttpRequestEventTarget;o&&o.prototype&&t.patchEventTarget(e,t,[o.prototype])}),r.__load_patch("MutationObserver",function(e,n,t){Ze("MutationObserver"),Ze("WebKitMutationObserver")}),r.__load_patch("IntersectionObserver",function(e,n,t){Ze("IntersectionObserver")}),r.__load_patch("FileReader",function(e,n,t){Ze("FileReader")}),r.__load_patch("on_property",function(e,n,t){zr(t,e)}),r.__load_patch("customElements",function(e,n,t){Br(e,t)}),r.__load_patch("XHR",function(e,n){b(e);var t=G("xhrTask"),o=G("xhrSync"),u=G("xhrListener"),f=G("xhrScheduled"),p=G("xhrURL"),_=G("xhrErrorBeforeScheduled");function b(T){var k=T.XMLHttpRequest;if(!k)return;var P=k.prototype;function N(m){return m[t]}var z=P[er],M=P[rr];if(!z){var Q=T.XMLHttpRequestEventTarget;if(Q){var oe=Q.prototype;z=oe[er],M=oe[rr]}}var j="readystatechange",O="scheduled";function y(m){var B=m.data,I=B.target;I[f]=!1,I[_]=!1;var V=I[u];z||(z=I[er],M=I[rr]),V&&M.call(I,j,V);var d=I[u]=function(){if(I.readyState===I.DONE)if(!B.aborted&&I[f]&&m.state===O){var i=I[n.__symbol__("loadfalse")];if(I.status!==0&&i&&i.length>0){var s=m.invoke;m.invoke=function(){for(var g=I[n.__symbol__("loadfalse")],H=0;H<g.length;H++)g[H]===m&&g.splice(H,1);!B.aborted&&m.state===O&&s.call(m)},i.push(m)}else m.invoke()}else!B.aborted&&I[f]===!1&&(I[_]=!0)};z.call(I,j,d);var a=I[t];return a||(I[t]=m),D.apply(I,B.args),I[f]=!0,m}function J(){}function W(m){var B=m.data;return B.aborted=!0,re.apply(B.target,B.args)}var q=ce(P,"open",function(){return function(m,B){return m[o]=B[2]==!1,m[p]=B[1],q.apply(m,B)}}),x="XMLHttpRequest.send",S=G("fetchTaskAborting"),U=G("fetchTaskScheduling"),D=ce(P,"send",function(){return function(m,B){if(n.current[U]===!0||m[o])return D.apply(m,B);var I={target:m,url:m[p],isPeriodic:!1,args:B,aborted:!1},V=nr(x,J,I,y,W);m&&m[_]===!0&&!I.aborted&&V.state===O&&V.invoke()}}),re=ce(P,"abort",function(){return function(m,B){var I=N(m);if(I&&typeof I.type=="string"){if(I.cancelFn==null||I.data&&I.data.aborted)return;I.zone.cancelTask(I)}else if(n.current[S]===!0)return re.apply(m,B)}})}}),r.__load_patch("geolocation",function(e){e.navigator&&e.navigator.geolocation&&Mr(e.navigator.geolocation,["getCurrentPosition","watchPosition"])}),r.__load_patch("PromiseRejectionEvent",function(e,n){function t(o){return function(u){var f=ar(e,o);f.forEach(function(p){var _=e.PromiseRejectionEvent;if(_){var b=new _(o,{promise:u.promise,reason:u.rejection});p.invoke(b)}})}}e.PromiseRejectionEvent&&(n[G("unhandledPromiseRejectionHandler")]=t("unhandledrejection"),n[G("rejectionHandledHandler")]=t("rejectionhandled"))}),r.__load_patch("queueMicrotask",function(e,n,t){br(e,t)})}function Xr(r){r.__load_patch("ZoneAwarePromise",function(e,n,t){var o=Object.getOwnPropertyDescriptor,u=Object.defineProperty;function f(l){if(l&&l.toString===Object.prototype.toString){var h=l.constructor&&l.constructor.name;return(h||"")+": "+JSON.stringify(l)}return l?l.toString():Object.prototype.toString.call(l)}var p=t.symbol,_=[],b=e[p("DISABLE_WRAPPING_UNCAUGHT_PROMISE_REJECTION")]!==!1,T=p("Promise"),k=p("then"),P="__creationTrace__";t.onUnhandledError=function(l){if(t.showUncaughtError()){var h=l&&l.rejection;h?console.error("Unhandled Promise rejection:",h instanceof Error?h.message:h,"; Zone:",l.zone.name,"; Task:",l.task&&l.task.source,"; Value:",h,h instanceof Error?h.stack:void 0):console.error(l)}},t.microtaskDrainDone=function(){for(var l=function(){var h=_.shift();try{h.zone.runGuarded(function(){throw h.throwOriginal?h.rejection:h})}catch(v){z(v)}};_.length;)l()};var N=p("unhandledPromiseRejectionHandler");function z(l){t.onUnhandledError(l);try{var h=n[N];typeof h=="function"&&h.call(this,l)}catch(v){}}function M(l){return l&&typeof l.then=="function"}function Q(l){return l}function oe(l){return K.reject(l)}var j=p("state"),O=p("value"),y=p("finally"),J=p("parentPromiseValue"),W=p("parentPromiseState"),q="Promise.then",x=null,S=!0,U=!1,D=0;function re(l,h){return function(v){try{V(l,h,v)}catch(c){V(l,!1,c)}}}var m=function(){var l=!1;return function(v){return function(){l||(l=!0,v.apply(null,arguments))}}},B="Promise resolved with itself",I=p("currentTaskTrace");function V(l,h,v){var c=m();if(l===v)throw new TypeError(B);if(l[j]===x){var E=null;try{(typeof v=="object"||typeof v=="function")&&(E=v&&v.then)}catch(A){return c(function(){V(l,!1,A)})(),l}if(h!==U&&v instanceof K&&v.hasOwnProperty(j)&&v.hasOwnProperty(O)&&v[j]!==x)a(v),V(l,v[j],v[O]);else if(h!==U&&typeof E=="function")try{E.call(v,c(re(l,h)),c(re(l,!1)))}catch(A){c(function(){V(l,!1,A)})()}else{l[j]=h;var w=l[O];if(l[O]=v,l[y]===y&&h===S&&(l[j]=l[W],l[O]=l[J]),h===U&&v instanceof Error){var R=n.currentTask&&n.currentTask.data&&n.currentTask.data[P];R&&u(v,I,{configurable:!0,enumerable:!1,writable:!0,value:R})}for(var Z=0;Z<w.length;)i(l,w[Z++],w[Z++],w[Z++],w[Z++]);if(w.length==0&&h==U){l[j]=D;var L=v;try{throw new Error("Uncaught (in promise): "+f(v)+(v&&v.stack?"\n"+v.stack:""))}catch(A){L=A}b&&(L.throwOriginal=!0),L.rejection=v,L.promise=l,L.zone=n.current,L.task=n.currentTask,_.push(L),t.scheduleMicroTask()}}}return l}var d=p("rejectionHandledHandler");function a(l){if(l[j]===D){try{var h=n[d];h&&typeof h=="function"&&h.call(this,{rejection:l[O],promise:l})}catch(c){}l[j]=U;for(var v=0;v<_.length;v++)l===_[v].promise&&_.splice(v,1)}}function i(l,h,v,c,E){a(l);var w=l[j],R=w?typeof c=="function"?c:Q:typeof E=="function"?E:oe;h.scheduleMicroTask(q,function(){try{var Z=l[O],L=!!v&&y===v[y];L&&(v[J]=Z,v[W]=w);var A=h.run(R,void 0,L&&R!==oe&&R!==Q?[]:[Z]);V(v,!0,A)}catch(F){V(v,!1,F)}},v)}var s="function ZoneAwarePromise() { [native code] }",g=function(){},H=e.AggregateError,K=function(){function l(h){var v=this;if(!(v instanceof l))throw new Error("Must be an instanceof Promise.");v[j]=x,v[O]=[];try{var c=m();h&&h(c(re(v,S)),c(re(v,U)))}catch(E){V(v,!1,E)}}return l.toString=function(){return s},l.resolve=function(h){return h instanceof l?h:V(new this(null),S,h)},l.reject=function(h){return V(new this(null),U,h)},l.withResolvers=function(){var h={};return h.promise=new l(function(v,c){h.resolve=v,h.reject=c}),h},l.any=function(h){if(!h||typeof h[Symbol.iterator]!="function")return Promise.reject(new H([],"All promises were rejected"));var v=[],c=0;try{for(var E=0,w=h;E<w.length;E++){var R=w[E];c++,v.push(l.resolve(R))}}catch(A){return Promise.reject(new H([],"All promises were rejected"))}if(c===0)return Promise.reject(new H([],"All promises were rejected"));var Z=!1,L=[];return new l(function(A,F){for(var X=0;X<v.length;X++)v[X].then(function(ne){Z||(Z=!0,A(ne))},function(ne){L.push(ne),c--,c===0&&(Z=!0,F(new H(L,"All promises were rejected")))})})},l.race=function(h){var v,c,E=new this(function(F,X){v=F,c=X});function w(F){v(F)}function R(F){c(F)}for(var Z=0,L=h;Z<L.length;Z++){var A=L[Z];M(A)||(A=this.resolve(A)),A.then(w,R)}return E},l.all=function(h){return l.allWithCallback(h)},l.allSettled=function(h){var v=this&&this.prototype instanceof l?this:l;return v.allWithCallback(h,{thenCallback:function(c){return{status:"fulfilled",value:c}},errorCallback:function(c){return{status:"rejected",reason:c}}})},l.allWithCallback=function(h,v){for(var c,E,w=new this(function($,te){c=$,E=te}),R=2,Z=0,L=[],A=function($){M($)||($=F.resolve($));var te=Z;try{$.then(function(Y){L[te]=v?v.thenCallback(Y):Y,R--,R===0&&c(L)},function(Y){v?(L[te]=v.errorCallback(Y),R--,R===0&&c(L)):E(Y)})}catch(Y){E(Y)}R++,Z++},F=this,X=0,ne=h;X<ne.length;X++){var Ee=ne[X];A(Ee)}return R-=2,R===0&&c(L),w},Object.defineProperty(l.prototype,Symbol.toStringTag,{get:function(){return"Promise"},enumerable:!1,configurable:!0}),Object.defineProperty(l.prototype,Symbol.species,{get:function(){return l},enumerable:!1,configurable:!0}),l.prototype.then=function(h,v){var c,E=(c=this.constructor)==null?void 0:c[Symbol.species];(!E||typeof E!="function")&&(E=this.constructor||l);var w=new E(g),R=n.current;return this[j]==x?this[O].push(R,w,h,v):i(this,R,w,h,v),w},l.prototype.catch=function(h){return this.then(null,h)},l.prototype.finally=function(h){var v,c=(v=this.constructor)==null?void 0:v[Symbol.species];(!c||typeof c!="function")&&(c=l);var E=new c(g);E[y]=y;var w=n.current;return this[j]==x?this[O].push(w,E,h,h):i(this,w,E,h,h),E},l}();K.resolve=K.resolve,K.reject=K.reject,K.race=K.race,K.all=K.all;var he=e[T]=e.Promise;e.Promise=K;var ke=p("thenPatched");function pe(l){var h=l.prototype,v=o(h,"then");if(!(v&&(v.writable===!1||!v.configurable))){var c=h.then;h[k]=c,l.prototype.then=function(E,w){var R=this,Z=new K(function(L,A){c.call(R,L,A)});return Z.then(E,w)},l[ke]=!0}}t.patchThen=pe;function me(l){return function(h,v){var c=l.apply(h,v);if(c instanceof K)return c;var E=c.constructor;return E[ke]||pe(E),c}}return he&&(pe(he),ce(e,"fetch",function(l){return me(l)})),Promise[n.__symbol__("uncaughtPromiseErrors")]=_,K})}function Yr(r){r.__load_patch("toString",function(e){var n=Function.prototype.toString,t=G("OriginalDelegate"),o=G("Promise"),u=G("Error"),f=function(){if(typeof this=="function"){var T=this[t];if(T)return typeof T=="function"?n.call(T):Object.prototype.toString.call(T);if(this===Promise){var k=e[o];if(k)return n.call(k)}if(this===Error){var P=e[u];if(P)return n.call(P)}}return n.call(this)};f[t]=n,Function.prototype.toString=f;var p=Object.prototype.toString,_="[object Promise]";Object.prototype.toString=function(){return typeof Promise=="function"&&this instanceof Promise?_:p.call(this)}})}function qr(r,e,n,t,o){var u=Zone.__symbol__(t);if(!e[u]){var f=e[u]=e[t];e[t]=function(p,_,b){return _&&_.prototype&&o.forEach(function(T){var k="".concat(n,".").concat(t,"::")+T,P=_.prototype;try{if(P.hasOwnProperty(T)){var N=r.ObjectGetOwnPropertyDescriptor(P,T);N&&N.value?(N.value=r.wrapWithCurrentZone(N.value,k),r._redefineProperty(_.prototype,T,N)):P[T]&&(P[T]=r.wrapWithCurrentZone(P[T],k))}else P[T]&&(P[T]=r.wrapWithCurrentZone(P[T],k))}catch(z){}}),f.call(e,p,_,b)},r.attachOriginToPatched(e[t],f)}}function Jr(r){r.__load_patch("util",function(e,n,t){var o=sr(e);t.patchOnProperties=ir,t.patchMethod=ce,t.bindArguments=Be,t.patchMacroTask=Le;var u=n.__symbol__("BLACK_LISTED_EVENTS"),f=n.__symbol__("UNPATCHED_EVENTS");e[f]&&(e[u]=e[f]),e[u]&&(n[u]=n[f]=e[u]),t.patchEventPrototype=xr,t.patchEventTarget=kr,t.ObjectDefineProperty=Je,t.ObjectGetOwnPropertyDescriptor=De,t.ObjectCreate=Lr,t.ArraySlice=lr,t.patchClass=Ze,t.wrapWithCurrentZone=tr,t.filterProperties=Pr,t.attachOriginToPatched=de,t._redefineProperty=Object.defineProperty,t.patchCallbacks=qr,t.getGlobalObjects=function(){return{globalSources:Tr,zoneSymbolEventNames:ae,eventNames:o,isBrowser:or,isMix:Ue,isNode:Ge,TRUE_STR:ve,FALSE_STR:_e,ZONE_SYMBOL_PREFIX:Ie,ADD_EVENT_LISTENER_STR:Qe,REMOVE_EVENT_LISTENER_STR:$e}}})}function Kr(r){Xr(r),Yr(r),Jr(r)}function Qr(r){r.__load_patch("EventEmitter",function(e,n,t){var o="addListener",u="prependListener",f="removeListener",p="removeAllListeners",_="listeners",b="on",T="off",k=function(M,Q){return M.callback===Q||M.callback.listener===Q},P=function(M){return typeof M=="string"?M:M?M.toString().replace("(","_").replace(")","_"):""};function N(M){var Q=kr(e,t,[M],{useG:!1,add:o,rm:f,prepend:u,rmAll:p,listeners:_,chkDup:!1,rt:!0,diff:k,eventNameToString:P});Q&&Q[0]&&(M[b]=M[o],M[T]=M[f])}var z;try{z=Te("events")}catch(M){}z&&z.EventEmitter&&N(z.EventEmitter.prototype)})}function $r(r){r.__load_patch("fs",function(e,n,t){var o,u;try{u=Te("fs")}catch(_){}if(u){var f=["access","appendFile","chmod","chown","close","exists","fchmod","fchown","fdatasync","fstat","fsync","ftruncate","futimes","lchmod","lchown","lutimes","link","lstat","mkdir","mkdtemp","open","opendir","read","readdir","readFile","readlink","realpath","rename","rmdir","stat","symlink","truncate","unlink","utimes","write","writeFile","writev"];f.filter(function(_){return!!u[_]&&typeof u[_]=="function"}).forEach(function(_){Le(u,_,function(b,T){return{name:"fs."+_,args:T,cbIdx:T.length>0?T.length-1:-1,target:b}})});var p=(o=u.realpath)==null?void 0:o[t.symbol("OriginalDelegate")];p!=null&&p.native&&(u.realpath.native=p.native,Le(u.realpath,"native",function(_,b){return{args:b,target:_,cbIdx:b.length>0?b.length-1:-1,name:"fs.realpath.native"}}))}})}function et(r){r.__load_patch("node_util",function(e,n,t){t.patchOnProperties=ir,t.patchMethod=ce,t.bindArguments=Be,t.patchMacroTask=Le,Hr(!0)})}var Se="set",Oe="clear";function rt(r){et(r),Qr(r),$r(r),r.__load_patch("node_timers",function(e,n){var t=!1;try{var o=Te("timers"),u=e.setTimeout===o.setTimeout;if(!u&&!Ue){var f=o.setTimeout;o.setTimeout=function(){return t=!0,f.apply(this,arguments)};var p=e.setTimeout(function(){},100);clearTimeout(p),o.setTimeout=f}se(o,Se,Oe,"Timeout"),se(o,Se,Oe,"Interval"),se(o,Se,Oe,"Immediate")}catch(_){}Ue||(t?(e[n.__symbol__("setTimeout")]=e.setTimeout,e[n.__symbol__("setInterval")]=e.setInterval,e[n.__symbol__("setImmediate")]=e.setImmediate):(se(e,Se,Oe,"Timeout"),se(e,Se,Oe,"Interval"),se(e,Se,Oe,"Immediate")))}),r.__load_patch("nextTick",function(){Fr(process,"nextTick",function(e,n){return{name:"process.nextTick",args:n,cbIdx:n.length>0&&typeof n[0]=="function"?0:-1,target:process}})}),r.__load_patch("handleUnhandledPromiseRejection",function(e,n,t){n[t.symbol("unhandledPromiseRejectionHandler")]=o("unhandledRejection"),n[t.symbol("rejectionHandledHandler")]=o("rejectionHandled");function o(u){return function(f){var p=ar(process,u);p.forEach(function(_){u==="unhandledRejection"?_.invoke(f.rejection,f.promise):u==="rejectionHandled"&&_.invoke(f.promise)})}}}),r.__load_patch("crypto",function(){var e;try{e=Te("crypto")}catch(t){}if(e){var n=["randomBytes","pbkdf2"];n.forEach(function(t){Le(e,t,function(o,u){return{name:"crypto."+t,args:u,cbIdx:u.length>0&&typeof u[u.length-1]=="function"?u.length-1:-1,target:e}})})}}),r.__load_patch("console",function(e,n){var t=["dir","log","info","error","warn","assert","debug","timeEnd","trace"];t.forEach(function(o){var u=console[n.__symbol__(o)]=console[o];u&&(console[o]=function(){var f=lr.call(arguments);return n.current===n.root?u.apply(this,f):n.root.run(u,this,f)})})}),r.__load_patch("queueMicrotask",function(e,n,t){br(e,t)})}function tt(){var r,e=globalThis,n=e[ie("forceDuplicateZoneCheck")]===!0;if(e.Zone&&(n||typeof e.Zone.__symbol__!="function"))throw new Error("Zone already loaded.");return(r=e.Zone)!=null||(e.Zone=Zr()),e.Zone}var ur=tt();return Kr(ur),Wr(ur),rt(ur),Me!=ye&&(Ae.exports=ye),Ae.exports});
if(__exports != exports)module.exports = exports;return module.exports}));