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