6 lines
2 KiB
JavaScript
6 lines
2 KiB
JavaScript
|
"use strict";
|
||
|
/**
|
||
|
* @license Angular v<unknown>
|
||
|
* (c) 2010-2022 Google LLC. https://angular.io/
|
||
|
* License: MIT
|
||
|
*/!function(n){"function"==typeof define&&define.amd?define(n):n()}((function(){!function(n){var e,o,c=null,t=null,a=!(!(o=n.wtf)||!(c=o.trace)||(t=c.events,0)),r=function(){function n(){this.name="WTF"}return n.prototype.onFork=function(n,o,c,t){var a=n.fork(c,t);return e.forkInstance(s(c),a.name),a},n.prototype.onInvoke=function(n,o,a,r,i,u,f){var l=f||"unknown",p=e.invokeScope[l];return p||(p=e.invokeScope[l]=t.createScope("Zone:invoke:".concat(f,"(ascii zone)"))),c.leaveScope(p(s(a)),n.invoke(a,r,i,u,f))},n.prototype.onHandleError=function(n,e,o,c){return n.handleError(o,c)},n.prototype.onScheduleTask=function(n,o,c,a){var r=a.type+":"+a.source,u=e.scheduleInstance[r];u||(u=e.scheduleInstance[r]=t.createInstance("Zone:schedule:".concat(r,"(ascii zone, any data)")));var f=n.scheduleTask(c,a);return u(s(c),i(a.data,2)),f},n.prototype.onInvokeTask=function(n,o,a,r,i,u){var f=r.source,l=e.invokeTaskScope[f];return l||(l=e.invokeTaskScope[f]=t.createScope("Zone:invokeTask:".concat(f,"(ascii zone)"))),c.leaveScope(l(s(a)),n.invokeTask(a,r,i,u))},n.prototype.onCancelTask=function(n,o,c,a){var r=a.source,u=e.cancelInstance[r];u||(u=e.cancelInstance[r]=t.createInstance("Zone:cancel:".concat(r,"(ascii zone, any options)")));var f=n.cancelTask(c,a);return u(s(c),i(a.data,2)),f},n}();function i(n,e){if(!n||!e)return null;var o={};for(var c in n)if(n.hasOwnProperty(c)){var t=n[c];switch(typeof t){case"object":var a=t&&t.constructor&&t.constructor.name;t=a==Object.name?i(t,e-1):a;break;case"function":t=t.name||void 0}o[c]=t}return o}function s(n){for(var e=n.name,o=n.parent;null!=o;)e=o.name+"::"+e,o=o.parent;return e}(e=r).forkInstance=a?t.createInstance("Zone:fork(ascii zone, ascii newZone)"):null,e.scheduleInstance={},e.cancelInstance={},e.invokeScope={},e.invokeTaskScope={},Zone.wtfZoneSpec=a?new r:null}("object"==typeof window&&window||"object"==typeof self&&self||global)}));
|