This repository was archived by the owner on Feb 26, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 404
Expand file tree
/
Copy pathwtf.min.js
More file actions
executable file
·23 lines (23 loc) · 2.62 KB
/
Copy pathwtf.min.js
File metadata and controls
executable file
·23 lines (23 loc) · 2.62 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
/**
* @license
* Copyright Google Inc. All Rights Reserved.
*
* Use of this source code is governed by an MIT-style license that can be
* found in the LICENSE file at https://angular.io/license
*/
!function(e,n){"object"==typeof exports&&"undefined"!=typeof module?module.exports=n():"function"==typeof define&&define.amd?define(n):(e=e||self)["wtf-rollup"]=n()}(this,function(){"use strict";var e="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:{};
/**
* @license
* Copyright Google Inc. All Rights Reserved.
*
* Use of this source code is governed by an MIT-style license that can be
* found in the LICENSE file at https://angular.io/license
*/
/**
* @license
* Copyright Google Inc. All Rights Reserved.
*
* Use of this source code is governed by an MIT-style license that can be
* found in the LICENSE file at https://angular.io/license
*/
return function(n){var o,t=null,a=null,c=!(!(o=e.wtf)||!(t=o.trace)||(a=t.events,0)),r=function(){function e(){this.name="WTF"}return e.prototype.onFork=function(n,o,t,a){var c=n.fork(t,a);return e.forkInstance(s(t),c.name),c},e.prototype.onInvoke=function(n,o,c,r,i,u,f){var l=f||"unknown",p=e.invokeScope[l];return p||(p=e.invokeScope[l]=a.createScope("Zone:invoke:"+f+"(ascii zone)")),t.leaveScope(p(s(c)),n.invoke(c,r,i,u,f))},e.prototype.onHandleError=function(e,n,o,t){return e.handleError(o,t)},e.prototype.onScheduleTask=function(n,o,t,c){var r=c.type+":"+c.source,u=e.scheduleInstance[r];u||(u=e.scheduleInstance[r]=a.createInstance("Zone:schedule:"+r+"(ascii zone, any data)"));var f=n.scheduleTask(t,c);return u(s(t),i(c.data,2)),f},e.prototype.onInvokeTask=function(n,o,c,r,i,u){var f=r.source,l=e.invokeTaskScope[f];return l||(l=e.invokeTaskScope[f]=a.createScope("Zone:invokeTask:"+f+"(ascii zone)")),t.leaveScope(l(s(c)),n.invokeTask(c,r,i,u))},e.prototype.onCancelTask=function(n,o,t,c){var r=c.source,u=e.cancelInstance[r];u||(u=e.cancelInstance[r]=a.createInstance("Zone:cancel:"+r+"(ascii zone, any options)"));var f=n.cancelTask(t,c);return u(s(t),i(c.data,2)),f},e}();function i(e,n){if(!e||!n)return null;var o={};for(var t in e)if(e.hasOwnProperty(t)){var a=e[t];switch(typeof a){case"object":var c=a&&a.constructor&&a.constructor.name;a=c==Object.name?i(a,n-1):c;break;case"function":a=a.name||void 0}o[t]=a}return o}function s(e){for(var n=e.name,o=e.parent;null!=o;)n=o.name+"::"+n,o=o.parent;return n}r.forkInstance=c?a.createInstance("Zone:fork(ascii zone, ascii newZone)"):null,r.scheduleInstance={},r.cancelInstance={},r.invokeScope={},r.invokeTaskScope={},Zone.wtfZoneSpec=c?new r:null}(),{}});