mirror of https://github.com/ghostfolio/ghostfolio
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
5.4 KiB
9 lines
5.4 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(y,m){if(typeof define=="function"&&define.amd)define(m);else if(typeof exports=="object"&&typeof module<"u")module.exports=m();else{var h=m();for(var g in h)y[g]=h[g]}})(typeof globalThis<"u"?globalThis:typeof self<"u"?self:exports,function(){var y={},m=y,h={exports:y},g=Object.defineProperty,F=Object.defineProperties,I=Object.getOwnPropertyDescriptors,b=Object.getOwnPropertySymbols,D=Object.prototype.hasOwnProperty,R=Object.prototype.propertyIsEnumerable,w=function(s,a,r){return a in s?g(s,a,{enumerable:!0,configurable:!0,writable:!0,value:r}):s[a]=r},J=function(s,a){for(var r in a||(a={}))D.call(a,r)&&w(s,r,a[r]);if(b)for(var x=0,_=b(a);x<_.length;x++){var r=_[x];R.call(a,r)&&w(s,r,a[r])}return s},Q=function(s,a){return F(s,I(a))};function U(s){s.__load_patch("jasmine",function(a,r,x){var _,z=function(e,i){for(var n in i)i.hasOwnProperty(n)&&(e[n]=i[n]);function t(){this.constructor=e}e.prototype=i===null?Object.create(i):(t.prototype=i.prototype,new t)};if(!r)throw new Error("Missing: zone.js");if(typeof jest!="undefined"||typeof jasmine=="undefined"||jasmine.__zone_patch__)return;jasmine.__zone_patch__=!0;var S=r.SyncTestZoneSpec,d=r.ProxyZoneSpec;if(!S)throw new Error("Missing: SyncTestZoneSpec");if(!d)throw new Error("Missing: ProxyZoneSpec");var j=r.current,c=r.__symbol__,A=a[c("fakeAsyncDisablePatchingClock")]===!0,O=!A&&(a[c("fakeAsyncPatchLock")]===!0||a[c("fakeAsyncAutoFakeAsyncWhenClockPatched")]===!0),u=jasmine.getEnv();if(["describe","xdescribe","fdescribe"].forEach(function(e){var i=u[e];u[e]=function(n,t){return i.call(this,n,q(n,t))}}),["it","xit","fit"].forEach(function(e){var i=u[e];u[c(e)]=i,u[e]=function(n,t,o){return arguments[1]=C(t),i.apply(this,arguments)}}),["beforeEach","afterEach","beforeAll","afterAll"].forEach(function(e){var i=u[e];u[c(e)]=i,u[e]=function(n,t){return arguments[0]=C(n),i.apply(this,arguments)}}),!A){var M=jasmine[c("clock")]=jasmine.clock;jasmine.clock=function(){var e=M.apply(this,arguments);if(!e[c("patched")]){e[c("patched")]=c("patched");var i=e[c("tick")]=e.tick;e.tick=function(){var t=r.current.get("FakeAsyncTestZoneSpec");return t?t.tick.apply(t,arguments):i.apply(this,arguments)};var n=e[c("mockDate")]=e.mockDate;e.mockDate=function(){var t=r.current.get("FakeAsyncTestZoneSpec");if(t){var o=arguments.length>0?arguments[0]:new Date;return t.setFakeBaseSystemTime.apply(t,o&&typeof o.getTime=="function"?[o.getTime()]:arguments)}return n.apply(this,arguments)},O&&["install","uninstall"].forEach(function(t){var o=e[c(t)]=e[t];e[t]=function(){var f=r.FakeAsyncTestZoneSpec;if(f){jasmine[c("clockInstalled")]=t==="install";return}return o.apply(this,arguments)}})}return e}}if(!jasmine[r.__symbol__("createSpyObj")]){var T=jasmine.createSpyObj;jasmine[r.__symbol__("createSpyObj")]=T,jasmine.createSpyObj=function(){var e=Array.prototype.slice.call(arguments),i=e.length>=3?e[2]:null,n;if(i){var t=Object.defineProperty;Object.defineProperty=function(o,f,l){return t.call(this,o,f,Q(J({},l),{configurable:!0,enumerable:!0}))};try{n=T.apply(this,e)}finally{Object.defineProperty=t}}else n=T.apply(this,e);return n}}function q(e,i){return function(){var n=j.fork(new S("jasmine.describe#".concat(e)));return n.run(i,this,arguments)}}function E(e,i,n,t){var o=!!jasmine[c("clockInstalled")],f=n.testProxyZoneSpec,l=n.testProxyZone,p;if(o&&O){var v=r[r.__symbol__("fakeAsyncTest")];v&&typeof v.fakeAsync=="function"&&(e=v.fakeAsync(e))}return t?l.run(e,i,[t]):l.run(e,i)}function C(e){return e&&(e.length?function(i){return E(e,this,this.queueRunner,i)}:function(){return E(e,this,this.queueRunner)})}var k=jasmine,P=(_=k==null?void 0:k.private)!=null&&_.QueueRunner?k==null?void 0:k.private:k,Z=P.QueueRunner;P.QueueRunner=function(e){z(i,e);function i(n){var t=this;n.onComplete&&(n.onComplete=function(p){return function(){t.testProxyZone=null,t.testProxyZoneSpec=null,j.scheduleMicroTask("jasmine.onComplete",p)}}(n.onComplete));var o=a[r.__symbol__("setTimeout")],f=a[r.__symbol__("clearTimeout")];o&&(n.timeout={setTimeout:o||a.setTimeout,clearTimeout:f||a.clearTimeout}),P.UserContext?(n.userContext||(n.userContext=new P.UserContext),n.userContext.queueRunner=this):(n.userContext||(n.userContext={}),n.userContext.queueRunner=this);var l=n.onException;n.onException=function(p){if(p&&p.message==="Timeout - Async callback was not invoked within timeout specified by jasmine.DEFAULT_TIMEOUT_INTERVAL."){var v=this&&this.testProxyZoneSpec;if(v){var L=v.getAndClearPendingTasksInfo();try{p.message+=L}catch(V){}}}l&&l.call(this,p)},e.call(this,n)}return i.prototype.execute=function(){for(var n=this,t=r.current,o=!1;t;){if(t===j){o=!0;break}t=t.parent}if(!o)throw new Error("Unexpected Zone: "+r.current.name);this.testProxyZoneSpec=new d,this.testProxyZone=j.fork(this.testProxyZoneSpec),r.currentTask?e.prototype.execute.call(this):r.current.scheduleMicroTask("jasmine.execute().forceTask",function(){return Z.prototype.execute.call(n)})},i}(Z)})}return U(Zone),m!=y&&(h.exports=y),h.exports});
|
|
|
|
if(__exports != exports)module.exports = exports;return module.exports}));
|
|
|