ngx-admin/polyfills.2e4c112654251469.js

1 line
104 KiB
JavaScript
Raw Permalink Normal View History

(self.webpackChunkdocs=self.webpackChunkdocs||[]).push([[429],{86828:(s,i,t)=>{"use strict";t(4244),t(77657),t(88813),t(5310),t(51771),t(62314),t(16343),t(68148),t(7677),t(82691),t(29132),t(17878),t(52298),t(43499),t(67795),t(13991),t(29523),t(10609)},10609:function(s,i,t){"use strict";var e,n,o=this&&this.__spreadArray||function(r,a,u){if(u||2===arguments.length)for(var v,f=0,c=a.length;f<c;f++)(v||!(f in a))&&(v||(v=Array.prototype.slice.call(a,0,f)),v[f]=a[f]);return r.concat(v||Array.prototype.slice.call(a))};e=function(){!function(l){var h=l.performance;function g($){h&&h.mark&&h.mark($)}function E($,x){h&&h.measure&&h.measure($,x)}g("Zone");var I=l.__Zone_symbol_prefix||"__zone_symbol__";function D($){return I+$}var N=!0===l[D("forceDuplicateZoneCheck")];if(l.Zone){if(N||"function"!=typeof l.Zone.__symbol__)throw new Error("Zone already loaded.");return l.Zone}var B=function(){function $(x,T){this._parent=x,this._name=T?T.name||"unnamed":"<root>",this._properties=T&&T.properties||{},this._zoneDelegate=new K(this,this._parent&&this._parent._zoneDelegate,T)}return $.assertZonePatched=function(){if(l.Promise!==et.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($,"root",{get:function(){for(var x=$.current;x.parent;)x=x.parent;return x},enumerable:!1,configurable:!0}),Object.defineProperty($,"current",{get:function(){return It.zone},enumerable:!1,configurable:!0}),Object.defineProperty($,"currentTask",{get:function(){return Yt},enumerable:!1,configurable:!0}),$.__load_patch=function(x,T,M){if(void 0===M&&(M=!1),et.hasOwnProperty(x)){if(!M&&N)throw Error("Already loaded patch: "+x)}else if(!l["__Zone_disable_"+x]){var Q="Zone:"+x;g(Q),et[x]=T(l,$,Dt),E(Q,Q)}},Object.defineProperty($.prototype,"parent",{get:function(){return this._parent},enumerable:!1,configurable:!0}),Object.defineProperty($.prototype,"name",{get:function(){return this._name},enumerable:!1,configurable:!0}),$.prototype.get=function(x){var T=this.getZoneWith(x);if(T)return T._properties[x]},$.prototype.getZoneWith=function(x){for(var T=this;T;){if(T._properties.hasOwnProperty(x))return T;T=T._parent}return null},$.prototype.fork=function(x){if(!x)throw new Error("ZoneSpec required!");return this._zoneDelegate.fork(this,x)},$.prototype.wrap=function(x,T){if("function"!=typeof x)throw new Error("Expecting function got: "+x);var M=this._zoneDelegate.intercept(this,x,T),Q=this;return function(){return Q.runGuarded(M,this,arguments,T)}},$.prototype.run=function(x,T,M,Q){It={parent:It,zone:this};try{return this._zoneDelegate.invoke(this,x,T,M,Q)}finally{It=It.parent}},$.prototype.runGuarded=function(x,T,M,Q){void 0===T&&(T=null),It={parent:It,zone:this};try{try{return this._zoneDelegate.invoke(this,x,T,M,Q)}catch(Ct){if(this._zoneDelegate.handleError(this,Ct))throw Ct}}finally{It=It.parent}},$.prototype.runTask=function(x,T,M){if(x.zone!=this)throw new Error("A task can only be run in the zone of creation! (Creation: "+(x.zone||J).name+"; Execution: "+this.name+")");if(x.state!==Rt||x.type!==ct&&x.type!==tt){var Q=x.state!=Ot;Q&&x._transitionTo(Ot,Et),x.runCount++;var Ct=Yt;Yt=x,It={parent:It,zone:this};try{x.type==tt&&x.data&&!x.data.isPeriodic&&(x.cancelFn=void 0);try{return this._zoneDelegate.invokeTask(this,x,T,M)}catch(_t){if(this._zoneDelegate.handleError(this,_t))throw _t}}finally{x.state!==Rt&&x.state!==bt&&(x.type==ct||x.data&&x.data.isPeriodic?Q&&x._transitionTo(Et,Ot):(x.runCount=0,this._updateTaskCount(x,-1),Q&&x._transitionTo(Rt,Ot,Rt))),It=It.parent,Yt=Ct}}},$.prototype.scheduleTask=function(x){if(x.zone&&x.zone!==this)for(var T=this;T;){if(T===x.zone)throw Error("can not reschedule task to ".concat(this.name," which is descendants of the original zone ").concat(x.zone.name));T=T.parent}x._transitionTo(gt,Rt);var M=[];x._zoneDelegates=M,x._zone=this;try{