MikroWizard.docker-compose-.../mikrofront/dist/html/polyfills.41dcf967a271c007.js

1 line
34 KiB
JavaScript
Raw Normal View History

"use strict";(self.webpackChunkmikrowizard=self.webpackChunkmikrowizard||[]).push([[461],{6935:()=>{!function(e){const n=e.performance;function s(U){n&&n.mark&&n.mark(U)}function c(U,v){n&&n.measure&&n.measure(U,v)}s("Zone");const l=e.__Zone_symbol_prefix||"__zone_symbol__";function f(U){return l+U}const m=!0===e[f("forceDuplicateZoneCheck")];if(e.Zone){if(m||"function"!=typeof e.Zone.__symbol__)throw new Error("Zone already loaded.");return e.Zone}let p=(()=>{class U{static#e=this.__symbol__=f;static assertZonePatched(){if(e.Promise!==ke.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 t=U.current;for(;t.parent;)t=t.parent;return t}static get current(){return J.zone}static get currentTask(){return pe}static __load_patch(t,o,S=!1){if(ke.hasOwnProperty(t)){if(!S&&m)throw Error("Already loaded patch: "+t)}else if(!e["__Zone_disable_"+t]){const Z="Zone:"+t;s(Z),ke[t]=o(e,U,oe),c(Z,Z)}}get parent(){return this._parent}get name(){return this._name}constructor(t,o){this._parent=t,this._name=o?o.name||"unnamed":"<root>",this._properties=o&&o.properties||{},this._zoneDelegate=new I(this,this._parent&&this._parent._zoneDelegate,o)}get(t){const o=this.getZoneWith(t);if(o)return o._properties[t]}getZoneWith(t){let o=this;for(;o;){if(o._properties.hasOwnProperty(t))return o;o=o._parent}return null}fork(t){if(!t)throw new Error("ZoneSpec required!");return this._zoneDelegate.fork(this,t)}wrap(t,o){if("function"!=typeof t)throw new Error("Expecting function got: "+t);const S=this._zoneDelegate.intercept(this,t,o),Z=this;return function(){return Z.runGuarded(S,this,arguments,o)}}run(t,o,S,Z){J={parent:J,zone:this};try{return this._zoneDelegate.invoke(this,t,o,S,Z)}finally{J=J.parent}}runGuarded(t,o=null,S,Z){J={parent:J,zone:this};try{try{return this._zoneDelegate.invoke(this,t,o,S,Z)}catch(ie){if(this._zoneDelegate.handleError(this,ie))throw ie}}finally{J=J.parent}}runTask(t,o,S){if(t.zone!=this)throw new Error("A task can only be run in the zone of creation! (Creation: "+(t.zone||ce).name+"; Execution: "+this.name+")");if(t.state===G&&(t.type===le||t.type===C))return;const Z=t.state!=k;Z&&t._transitionTo(k,V),t.runCount++;const ie=pe;pe=t,J={parent:J,zone:this};try{t.type==C&&t.data&&!t.data.isPeriodic&&(t.cancelFn=void 0);try{return this._zoneDelegate.invokeTask(this,t,o,S)}catch(_){if(this._zoneDelegate.handleError(this,_))throw _}}finally{t.state!==G&&t.state!==E&&(t.type==le||t.data&&t.data.isPeriodic?Z&&t._transitionTo(V,k):(t.runCount=0,this._updateTaskCount(t,-1),Z&&t._transitionTo(G,k,G))),J=J.parent,pe=ie}}scheduleTask(t){if(t.zone&&t.zone!==this){let S=this;for(;S;){if(S===t.zone)throw Error(`can not reschedule task to ${this.name} which is descendants of the original zone ${t.zone.name}`);S=S.parent}}t._transitionTo(re,G);const o=[];t._zoneDelegates=o,t._zone=this;try{t=this._zoneDelegate.scheduleTask(this,t)}catch(S){throw t._transitionTo(E,re,G),this._zoneDelegate.handleError(this,S),S}return t._zoneDelegates===o&&this._updateTaskCount(t,1),t.state==re&&t._transitionTo(V,re),t}scheduleMicroTask(t,o,S,Z){return this.scheduleTask(new b(H,t,o,S,Z,void 0))}scheduleMacroTask(t,o,S,Z,ie){return this.scheduleTask(new b(C,t,o,S,Z,ie))}scheduleEventTask(t,o,S,Z,ie){return this.scheduleTask(new b(le,t,o,S,Z,ie))}cancelTask(t){if(t.zone!=this)throw new Error("A task can only be cancelled in the zone of creation! (Creation: "+(t.zone||ce).name+"; Execution: "+this.name+")");if(t.state===V||t.state===k){t._transitionTo(q,V,k);try{this._zoneDelegate.cancelTask(this,t)}catch(o){throw t._transitionTo(E,q),this._zoneDelegate.handleError(this,o),o}return this._updateTaskCount(t,-1),t._transitionTo(G,q),t.runCount=0,t}}_updateTaskCount(t,o){const S=t._zoneDelegates;-1==o&&(t._zoneDelegates=null);for(let Z=0;Z<S.length;Z++)S[Z]._updateTaskCount(t.typ