@cronapp/framework-core 3.2.1 → 4.0.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,2 +1,2 @@
1
1
  /*! For license information please see cronapp.framework.js.LICENSE.txt */
2
- (()=>{var t={464:t=>{function e(t){return t&&t.constructor&&"function"==typeof t.constructor.isBuffer&&t.constructor.isBuffer(t)}function n(t){return t}function r(t,r){const i=(r=r||{}).delimiter||".",o=r.maxDepth,s=r.transformKey||n,u={};return function t(n,c,a){a=a||1,Object.keys(n).forEach((function(l){const f=n[l],h=r.safe&&Array.isArray(f),p=Object.prototype.toString.call(f),d=e(f),y="[object Object]"===p||"[object Array]"===p,v=c?c+i+s(l):s(l);if(!h&&!d&&y&&Object.keys(f).length&&(!r.maxDepth||a<o))return t(f,v,a+1);u[v]=f}))}(t),u}t.exports=r,r.flatten=r,r.unflatten=function t(i,o){const s=(o=o||{}).delimiter||".",u=o.overwrite||!1,c=o.transformKey||n,a={};if(e(i)||"[object Object]"!==Object.prototype.toString.call(i))return i;function l(t){const e=Number(t);return isNaN(e)||-1!==t.indexOf(".")||o.object?t:e}return i=Object.keys(i).reduce((function(t,e){const n=Object.prototype.toString.call(i[e]);return"[object Object]"!==n&&"[object Array]"!==n||function(t){const e=Object.prototype.toString.call(t),n="[object Object]"===e;return!t||("[object Array]"===e?!t.length:n?!Object.keys(t).length:void 0)}(i[e])?(t[e]=i[e],t):function(t,e,n){return Object.keys(n).reduce((function(e,r){return e[t+s+r]=n[r],e}),e)}(e,t,r(i[e],o))}),{}),Object.keys(i).forEach((function(e){const n=e.split(s).map(c);let r=l(n.shift()),f=l(n[0]),h=a;for(;void 0!==f;){if("__proto__"===r)return;const t=Object.prototype.toString.call(h[r]),e="[object Object]"===t||"[object Array]"===t;if(!u&&!e&&void 0!==h[r])return;(u&&!e||!u&&null==h[r])&&(h[r]="number"!=typeof f||o.object?{}:[]),h=h[r],n.length>0&&(r=l(n.shift()),f=l(n[0]))}h[r]=t(i[e],o)})),a}},50:(t,e,n)=>{var r;!function(t){!function(e){var r="object"==typeof n.g?n.g:"object"==typeof self?self:"object"==typeof this?this:Function("return this;")(),i=o(t);function o(t,e){return function(n,r){"function"!=typeof t[n]&&Object.defineProperty(t,n,{configurable:!0,writable:!0,value:r}),e&&e(n,r)}}void 0===r.Reflect?r.Reflect=t:i=o(r.Reflect,i),function(t){var e=Object.prototype.hasOwnProperty,n="function"==typeof Symbol,r=n&&void 0!==Symbol.toPrimitive?Symbol.toPrimitive:"@@toPrimitive",i=n&&void 0!==Symbol.iterator?Symbol.iterator:"@@iterator",o="function"==typeof Object.create,s={__proto__:[]}instanceof Array,u=!o&&!s,c={create:o?function(){return I(Object.create(null))}:s?function(){return I({__proto__:null})}:function(){return I({})},has:u?function(t,n){return e.call(t,n)}:function(t,e){return e in t},get:u?function(t,n){return e.call(t,n)?t[n]:void 0}:function(t,e){return t[e]}},a=Object.getPrototypeOf(Function),l="object"==typeof process&&process.env&&"true"===process.env.REFLECT_METADATA_USE_MAP_POLYFILL,f=l||"function"!=typeof Map||"function"!=typeof Map.prototype.entries?function(){var t={},e=[],n=function(){function t(t,e,n){this._index=0,this._keys=t,this._values=e,this._selector=n}return t.prototype["@@iterator"]=function(){return this},t.prototype[i]=function(){return this},t.prototype.next=function(){var t=this._index;if(t>=0&&t<this._keys.length){var n=this._selector(this._keys[t],this._values[t]);return t+1>=this._keys.length?(this._index=-1,this._keys=e,this._values=e):this._index++,{value:n,done:!1}}return{value:void 0,done:!0}},t.prototype.throw=function(t){throw this._index>=0&&(this._index=-1,this._keys=e,this._values=e),t},t.prototype.return=function(t){return this._index>=0&&(this._index=-1,this._keys=e,this._values=e),{value:t,done:!0}},t}();return function(){function e(){this._keys=[],this._values=[],this._cacheKey=t,this._cacheIndex=-2}return Object.defineProperty(e.prototype,"size",{get:function(){return this._keys.length},enumerable:!0,configurable:!0}),e.prototype.has=function(t){return this._find(t,!1)>=0},e.prototype.get=function(t){var e=this._find(t,!1);return e>=0?this._values[e]:void 0},e.prototype.set=function(t,e){var n=this._find(t,!0);return this._values[n]=e,this},e.prototype.delete=function(e){var n=this._find(e,!1);if(n>=0){for(var r=this._keys.length,i=n+1;i<r;i++)this._keys[i-1]=this._keys[i],this._values[i-1]=this._values[i];return this._keys.length--,this._values.length--,e===this._cacheKey&&(this._cacheKey=t,this._cacheIndex=-2),!0}return!1},e.prototype.clear=function(){this._keys.length=0,this._values.length=0,this._cacheKey=t,this._cacheIndex=-2},e.prototype.keys=function(){return new n(this._keys,this._values,r)},e.prototype.values=function(){return new n(this._keys,this._values,o)},e.prototype.entries=function(){return new n(this._keys,this._values,s)},e.prototype["@@iterator"]=function(){return this.entries()},e.prototype[i]=function(){return this.entries()},e.prototype._find=function(t,e){return this._cacheKey!==t&&(this._cacheIndex=this._keys.indexOf(this._cacheKey=t)),this._cacheIndex<0&&e&&(this._cacheIndex=this._keys.length,this._keys.push(t),this._values.push(void 0)),this._cacheIndex},e}();function r(t,e){return t}function o(t,e){return e}function s(t,e){return[t,e]}}():Map,h=l||"function"!=typeof Set||"function"!=typeof Set.prototype.entries?function(){function t(){this._map=new f}return Object.defineProperty(t.prototype,"size",{get:function(){return this._map.size},enumerable:!0,configurable:!0}),t.prototype.has=function(t){return this._map.has(t)},t.prototype.add=function(t){return this._map.set(t,t),this},t.prototype.delete=function(t){return this._map.delete(t)},t.prototype.clear=function(){this._map.clear()},t.prototype.keys=function(){return this._map.keys()},t.prototype.values=function(){return this._map.values()},t.prototype.entries=function(){return this._map.entries()},t.prototype["@@iterator"]=function(){return this.keys()},t.prototype[i]=function(){return this.keys()},t}():Set,p=new(l||"function"!=typeof WeakMap?function(){var t=c.create(),n=r();return function(){function t(){this._key=r()}return t.prototype.has=function(t){var e=i(t,!1);return void 0!==e&&c.has(e,this._key)},t.prototype.get=function(t){var e=i(t,!1);return void 0!==e?c.get(e,this._key):void 0},t.prototype.set=function(t,e){return i(t,!0)[this._key]=e,this},t.prototype.delete=function(t){var e=i(t,!1);return void 0!==e&&delete e[this._key]},t.prototype.clear=function(){this._key=r()},t}();function r(){var e;do{e="@@WeakMap@@"+s()}while(c.has(t,e));return t[e]=!0,e}function i(t,r){if(!e.call(t,n)){if(!r)return;Object.defineProperty(t,n,{value:c.create()})}return t[n]}function o(t,e){for(var n=0;n<e;++n)t[n]=255*Math.random()|0;return t}function s(){var t,e=(t=16,"function"==typeof Uint8Array?"undefined"!=typeof crypto?crypto.getRandomValues(new Uint8Array(t)):"undefined"!=typeof msCrypto?msCrypto.getRandomValues(new Uint8Array(t)):o(new Uint8Array(t),t):o(new Array(t),t));e[6]=79&e[6]|64,e[8]=191&e[8]|128;for(var n="",r=0;r<16;++r){var i=e[r];4!==r&&6!==r&&8!==r||(n+="-"),i<16&&(n+="0"),n+=i.toString(16).toLowerCase()}return n}}():WeakMap);function d(t,e,n){var r=p.get(t);if(x(r)){if(!n)return;r=new f,p.set(t,r)}var i=r.get(e);if(x(i)){if(!n)return;i=new f,r.set(e,i)}return i}function y(t,e,n){if(v(t,e,n))return!0;var r=C(e);return!k(r)&&y(t,r,n)}function v(t,e,n){var r=d(e,n,!1);return!x(r)&&!!r.has(t)}function _(t,e,n){if(v(t,e,n))return g(t,e,n);var r=C(e);return k(r)?void 0:_(t,r,n)}function g(t,e,n){var r=d(e,n,!1);if(!x(r))return r.get(t)}function w(t,e,n,r){d(n,r,!0).set(t,e)}function m(t,e){var n=b(t,e),r=C(t);if(null===r)return n;var i=m(r,e);if(i.length<=0)return n;if(n.length<=0)return i;for(var o=new h,s=[],u=0,c=n;u<c.length;u++){var a=c[u];o.has(a)||(o.add(a),s.push(a))}for(var l=0,f=i;l<f.length;l++)a=f[l],o.has(a)||(o.add(a),s.push(a));return s}function b(t,e){var n=[],r=d(t,e,!1);if(x(r))return n;for(var o=function(t){var e=S(t,i);if(!T(e))throw new TypeError;var n=e.call(t);if(!A(n))throw new TypeError;return n}(r.keys()),s=0;;){var u=P(o);if(!u)return n.length=s,n;var c=u.value;try{n[s]=c}catch(t){try{M(o)}finally{throw t}}s++}}function E(t){if(null===t)return 1;switch(typeof t){case"undefined":return 0;case"boolean":return 2;case"string":return 3;case"symbol":return 4;case"number":return 5;case"object":return null===t?1:6;default:return 6}}function x(t){return void 0===t}function k(t){return null===t}function A(t){return"object"==typeof t?null!==t:"function"==typeof t}function O(t,e){switch(E(t)){case 0:case 1:case 2:case 3:case 4:case 5:return t}var n=3===e?"string":5===e?"number":"default",i=S(t,r);if(void 0!==i){var o=i.call(t,n);if(A(o))throw new TypeError;return o}return function(t,e){if("string"===e){var n=t.toString;if(T(n)&&!A(i=n.call(t)))return i;if(T(r=t.valueOf)&&!A(i=r.call(t)))return i}else{var r;if(T(r=t.valueOf)&&!A(i=r.call(t)))return i;var i,o=t.toString;if(T(o)&&!A(i=o.call(t)))return i}throw new TypeError}(t,"default"===n?"number":n)}function R(t){var e=O(t,3);return"symbol"==typeof e?e:function(t){return""+t}(e)}function j(t){return Array.isArray?Array.isArray(t):t instanceof Object?t instanceof Array:"[object Array]"===Object.prototype.toString.call(t)}function T(t){return"function"==typeof t}function L(t){return"function"==typeof t}function S(t,e){var n=t[e];if(null!=n){if(!T(n))throw new TypeError;return n}}function P(t){var e=t.next();return!e.done&&e}function M(t){var e=t.return;e&&e.call(t)}function C(t){var e=Object.getPrototypeOf(t);if("function"!=typeof t||t===a)return e;if(e!==a)return e;var n=t.prototype,r=n&&Object.getPrototypeOf(n);if(null==r||r===Object.prototype)return e;var i=r.constructor;return"function"!=typeof i||i===t?e:i}function I(t){return t.__=void 0,delete t.__,t}t("decorate",(function(t,e,n,r){if(x(n)){if(!j(t))throw new TypeError;if(!L(e))throw new TypeError;return function(t,e){for(var n=t.length-1;n>=0;--n){var r=(0,t[n])(e);if(!x(r)&&!k(r)){if(!L(r))throw new TypeError;e=r}}return e}(t,e)}if(!j(t))throw new TypeError;if(!A(e))throw new TypeError;if(!A(r)&&!x(r)&&!k(r))throw new TypeError;return k(r)&&(r=void 0),function(t,e,n,r){for(var i=t.length-1;i>=0;--i){var o=(0,t[i])(e,n,r);if(!x(o)&&!k(o)){if(!A(o))throw new TypeError;r=o}}return r}(t,e,n=R(n),r)})),t("metadata",(function(t,e){return function(n,r){if(!A(n))throw new TypeError;if(!x(r)&&!function(t){switch(E(t)){case 3:case 4:return!0;default:return!1}}(r))throw new TypeError;w(t,e,n,r)}})),t("defineMetadata",(function(t,e,n,r){if(!A(n))throw new TypeError;return x(r)||(r=R(r)),w(t,e,n,r)})),t("hasMetadata",(function(t,e,n){if(!A(e))throw new TypeError;return x(n)||(n=R(n)),y(t,e,n)})),t("hasOwnMetadata",(function(t,e,n){if(!A(e))throw new TypeError;return x(n)||(n=R(n)),v(t,e,n)})),t("getMetadata",(function(t,e,n){if(!A(e))throw new TypeError;return x(n)||(n=R(n)),_(t,e,n)})),t("getOwnMetadata",(function(t,e,n){if(!A(e))throw new TypeError;return x(n)||(n=R(n)),g(t,e,n)})),t("getMetadataKeys",(function(t,e){if(!A(t))throw new TypeError;return x(e)||(e=R(e)),m(t,e)})),t("getOwnMetadataKeys",(function(t,e){if(!A(t))throw new TypeError;return x(e)||(e=R(e)),b(t,e)})),t("deleteMetadata",(function(t,e,n){if(!A(e))throw new TypeError;x(n)||(n=R(n));var r=d(e,n,!1);if(x(r))return!1;if(!r.delete(t))return!1;if(r.size>0)return!0;var i=p.get(e);return i.delete(n),i.size>0||p.delete(e),!0}))}(i)}()}(r||(r={}))}},e={};function n(r){var i=e[r];if(void 0!==i)return i.exports;var o=e[r]={exports:{}};return t[r](o,o.exports,n),o.exports}n.d=(t,e)=>{for(var r in e)n.o(e,r)&&!n.o(t,r)&&Object.defineProperty(t,r,{enumerable:!0,get:e[r]})},n.g=function(){if("object"==typeof globalThis)return globalThis;try{return this||new Function("return this")()}catch(t){if("object"==typeof window)return window}}(),n.o=(t,e)=>Object.prototype.hasOwnProperty.call(t,e),n.r=t=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})};var r={};(()=>{"use strict";n.r(r),n.d(r,{angularJs:()=>e,configuration:()=>o,event:()=>i,ioc:()=>t});var t={};n.r(t),n.d(t,{IFrameworkPlugin:()=>M,bindInstance:()=>U,bindSingleton:()=>C,bindType:()=>I,component:()=>z,getInstance:()=>D,getInstances:()=>F,hasInstance:()=>N,qualifier:()=>V});var e={};n.r(e),n.d(e,{IAngularJsPlugin:()=>Q});var i={};n.r(i),n.d(i,{AsyncEmitter:()=>st,Emitter:()=>it,Event:()=>tt,EventBufferer:()=>ct,EventMultiplexer:()=>ut,PauseableEmitter:()=>ot,Relay:()=>at,filterEvent:()=>lt,setGlobalLeakWarningThreshold:()=>nt});var o={};n.r(o),n.d(o,{IConfigurationService:()=>pt});const s=angular;var u;n(50),function(t){t[t.Transient=0]="Transient",t[t.Singleton=1]="Singleton",t[t.ResolutionScoped=2]="ResolutionScoped",t[t.ContainerScoped=3]="ContainerScoped"}(u||(u={}));const c=u;var a=function(t,e){return a=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n])},a(t,e)};function l(t,e){function n(){this.constructor=t}a(t,e),t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)}function f(t){var e="function"==typeof Symbol&&Symbol.iterator,n=e&&t[e],r=0;if(n)return n.call(t);if(t&&"number"==typeof t.length)return{next:function(){return t&&r>=t.length&&(t=void 0),{value:t&&t[r++],done:!t}}};throw new TypeError(e?"Object is not iterable.":"Symbol.iterator is not defined.")}function h(t,e){var n="function"==typeof Symbol&&t[Symbol.iterator];if(!n)return t;var r,i,o=n.call(t),s=[];try{for(;(void 0===e||e-- >0)&&!(r=o.next()).done;)s.push(r.value)}catch(t){i={error:t}}finally{try{r&&!r.done&&(n=o.return)&&n.call(o)}finally{if(i)throw i.error}}return s}function p(){for(var t=[],e=0;e<arguments.length;e++)t=t.concat(h(arguments[e]));return t}function d(t){return!!t.useClass}function y(t){return!!t.useFactory}var v=function(){function t(t){this.wrap=t,this.reflectMethods=["get","getPrototypeOf","setPrototypeOf","getOwnPropertyDescriptor","defineProperty","has","set","deleteProperty","apply","construct","ownKeys"]}return t.prototype.createProxy=function(t){var e,n=this,r=!1;return new Proxy({},this.createHandler((function(){return r||(e=t(n.wrap()),r=!0),e})))},t.prototype.createHandler=function(t){var e={};return this.reflectMethods.forEach((function(n){e[n]=function(){for(var e=[],r=0;r<arguments.length;r++)e[r]=arguments[r];e[0]=t();var i=Reflect[n];return i.apply(void 0,p(e))}})),e},t}();function _(t){return"string"==typeof t||"symbol"==typeof t}function g(t){return"object"==typeof t&&"token"in t&&"transform"in t}function w(t){return!!t.useToken}function m(t){return null!=t.useValue}const b=function(){function t(){this._registryMap=new Map}return t.prototype.entries=function(){return this._registryMap.entries()},t.prototype.getAll=function(t){return this.ensure(t),this._registryMap.get(t)},t.prototype.get=function(t){this.ensure(t);var e=this._registryMap.get(t);return e[e.length-1]||null},t.prototype.set=function(t,e){this.ensure(t),this._registryMap.get(t).push(e)},t.prototype.setAll=function(t,e){this._registryMap.set(t,e)},t.prototype.has=function(t){return this.ensure(t),this._registryMap.get(t).length>0},t.prototype.clear=function(){this._registryMap.clear()},t.prototype.ensure=function(t){this._registryMap.has(t)||this._registryMap.set(t,[])},t}(),E=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return l(e,t),e}(b),x=function(){this.scopedResolutions=new Map};var k=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return l(e,t),e}(b),A=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return l(e,t),e}(b);const O=function(){this.preResolution=new k,this.postResolution=new A};var R=new Map,j=function(){function t(t){this.parent=t,this._registry=new E,this.interceptors=new O}return t.prototype.register=function(t,e,n){var r;if(void 0===n&&(n={lifecycle:c.Transient}),r=function(t){return d(t)||m(t)||w(t)||y(t)}(e)?e:{useClass:e},w(r))for(var i=[t],o=r;null!=o;){var s=o.useToken;if(i.includes(s))throw new Error("Token registration cycle detected! "+p(i,[s]).join(" -> "));i.push(s);var u=this._registry.get(s);o=u&&w(u.provider)?u.provider:null}if((n.lifecycle===c.Singleton||n.lifecycle==c.ContainerScoped||n.lifecycle==c.ResolutionScoped)&&(m(r)||y(r)))throw new Error('Cannot use lifecycle "'+c[n.lifecycle]+'" with ValueProviders or FactoryProviders');return this._registry.set(t,{provider:r,options:n}),this},t.prototype.registerType=function(t,e){return _(e)?this.register(t,{useToken:e}):this.register(t,{useClass:e})},t.prototype.registerInstance=function(t,e){return this.register(t,{useValue:e})},t.prototype.registerSingleton=function(t,e){if(_(t)){if(_(e))return this.register(t,{useToken:e},{lifecycle:c.Singleton});if(e)return this.register(t,{useClass:e},{lifecycle:c.Singleton});throw new Error('Cannot register a type name as a singleton without a "to" token')}var n=t;return e&&!_(e)&&(n=e),this.register(t,{useClass:n},{lifecycle:c.Singleton})},t.prototype.resolve=function(t,e){void 0===e&&(e=new x);var n=this.getRegistration(t);if(!n&&_(t))throw new Error('Attempted to resolve unregistered dependency token: "'+t.toString()+'"');if(this.executePreResolutionInterceptor(t,"Single"),n){var r=this.resolveRegistration(n,e);return this.executePostResolutionInterceptor(t,r,"Single"),r}if(function(t){return"function"==typeof t||t instanceof v}(t))return r=this.construct(t,e),this.executePostResolutionInterceptor(t,r,"Single"),r;throw new Error("Attempted to construct an undefined constructor. Could mean a circular dependency problem. Try using `delay` function.")},t.prototype.executePreResolutionInterceptor=function(t,e){var n,r;if(this.interceptors.preResolution.has(t)){var i=[];try{for(var o=f(this.interceptors.preResolution.getAll(t)),s=o.next();!s.done;s=o.next()){var u=s.value;"Once"!=u.options.frequency&&i.push(u),u.callback(t,e)}}catch(t){n={error:t}}finally{try{s&&!s.done&&(r=o.return)&&r.call(o)}finally{if(n)throw n.error}}this.interceptors.preResolution.setAll(t,i)}},t.prototype.executePostResolutionInterceptor=function(t,e,n){var r,i;if(this.interceptors.postResolution.has(t)){var o=[];try{for(var s=f(this.interceptors.postResolution.getAll(t)),u=s.next();!u.done;u=s.next()){var c=u.value;"Once"!=c.options.frequency&&o.push(c),c.callback(t,e,n)}}catch(t){r={error:t}}finally{try{u&&!u.done&&(i=s.return)&&i.call(s)}finally{if(r)throw r.error}}this.interceptors.postResolution.setAll(t,o)}},t.prototype.resolveRegistration=function(t,e){if(t.options.lifecycle===c.ResolutionScoped&&e.scopedResolutions.has(t))return e.scopedResolutions.get(t);var n,r=t.options.lifecycle===c.Singleton,i=t.options.lifecycle===c.ContainerScoped,o=r||i;return n=m(t.provider)?t.provider.useValue:w(t.provider)?o?t.instance||(t.instance=this.resolve(t.provider.useToken,e)):this.resolve(t.provider.useToken,e):d(t.provider)?o?t.instance||(t.instance=this.construct(t.provider.useClass,e)):this.construct(t.provider.useClass,e):y(t.provider)?t.provider.useFactory(this):this.construct(t.provider,e),t.options.lifecycle===c.ResolutionScoped&&e.scopedResolutions.set(t,n),n},t.prototype.resolveAll=function(t,e){var n=this;void 0===e&&(e=new x);var r=this.getAllRegistrations(t);if(!r&&_(t))throw new Error('Attempted to resolve unregistered dependency token: "'+t.toString()+'"');if(this.executePreResolutionInterceptor(t,"All"),r){var i=r.map((function(t){return n.resolveRegistration(t,e)}));return this.executePostResolutionInterceptor(t,i,"All"),i}var o=[this.construct(t,e)];return this.executePostResolutionInterceptor(t,o,"All"),o},t.prototype.isRegistered=function(t,e){return void 0===e&&(e=!1),this._registry.has(t)||e&&(this.parent||!1)&&this.parent.isRegistered(t,!0)},t.prototype.reset=function(){this._registry.clear(),this.interceptors.preResolution.clear(),this.interceptors.postResolution.clear()},t.prototype.clearInstances=function(){var t,e;try{for(var n=f(this._registry.entries()),r=n.next();!r.done;r=n.next()){var i=h(r.value,2),o=i[0],s=i[1];this._registry.setAll(o,s.filter((function(t){return!m(t.provider)})).map((function(t){return t.instance=void 0,t})))}}catch(e){t={error:e}}finally{try{r&&!r.done&&(e=n.return)&&e.call(n)}finally{if(t)throw t.error}}},t.prototype.createChildContainer=function(){var e,n,r=new t(this);try{for(var i=f(this._registry.entries()),o=i.next();!o.done;o=i.next()){var s=h(o.value,2),u=s[0],a=s[1];a.some((function(t){return t.options.lifecycle===c.ContainerScoped}))&&r._registry.setAll(u,a.map((function(t){return t.options.lifecycle===c.ContainerScoped?{provider:t.provider,options:t.options}:t})))}}catch(t){e={error:t}}finally{try{o&&!o.done&&(n=i.return)&&n.call(i)}finally{if(e)throw e.error}}return r},t.prototype.beforeResolution=function(t,e,n){void 0===n&&(n={frequency:"Always"}),this.interceptors.preResolution.set(t,{callback:e,options:n})},t.prototype.afterResolution=function(t,e,n){void 0===n&&(n={frequency:"Always"}),this.interceptors.postResolution.set(t,{callback:e,options:n})},t.prototype.getRegistration=function(t){return this.isRegistered(t)?this._registry.get(t):this.parent?this.parent.getRegistration(t):null},t.prototype.getAllRegistrations=function(t){return this.isRegistered(t)?this._registry.getAll(t):this.parent?this.parent.getAllRegistrations(t):null},t.prototype.construct=function(t,e){var n=this;if(t instanceof v)return t.createProxy((function(t){return n.resolve(t,e)}));var r=R.get(t);if(!r||0===r.length){if(0===t.length)return new t;throw new Error('TypeInfo not known for "'+t.name+'"')}var i=r.map(this.resolveParams(e,t));return new(t.bind.apply(t,p([void 0],i)))},t.prototype.resolveParams=function(t,e){var n=this;return function(r,i){var o,s,u,c;try{return"object"==typeof(c=r)&&"token"in c&&"multiple"in c?g(r)?r.multiple?(o=n.resolve(r.transform)).transform.apply(o,p([n.resolveAll(r.token)],r.transformArgs)):(s=n.resolve(r.transform)).transform.apply(s,p([n.resolve(r.token,t)],r.transformArgs)):r.multiple?n.resolveAll(r.token):n.resolve(r.token,t):g(r)?(u=n.resolve(r.transform,t)).transform.apply(u,p([n.resolve(r.token,t)],r.transformArgs)):n.resolve(r,t)}catch(t){throw new Error(function(t,e,n){var r,i,o,s,u=h(t.toString().match(/constructor\(([\w, ]+)\)/)||[],2)[1];return r="Cannot inject the dependency "+(s=e,(null===(o=void 0===u?null:u)?"at position #"+s:'"'+o.split(",")[s].trim()+'" at position #'+s)+' of "')+t.name+'" constructor. Reason:',void 0===i&&(i=" "),p([r],n.message.split("\n").map((function(t){return i+t}))).join("\n")}(e,i,t))}}},t}(),T=new j,L="injectionTokens";function S(t,e){return function(n,r,i){var o=Reflect.getOwnMetadata(L,n)||{};o[i]=e?{token:t,transform:e.transformToken,transformArgs:e.args||[]}:t,Reflect.defineMetadata(L,o,n)}}if("undefined"==typeof Reflect||!Reflect.getMetadata)throw new Error("tsyringe requires a reflect polyfill. Please add 'import \"reflect-metadata\"' to the top of your entry point.");const P=T.createChildContainer();P.reset();const M="frameworkPlugin";function C(t,e){P.registerSingleton(t,e)}function I(t,e){P.registerType(t,e)}function U(t,e){P.registerInstance(t,e)}function D(t){return P.resolve(t)}function F(t){return P.resolveAll(t)}function N(t){return P.isRegistered(t)}function V(t,e=!1){return e?S({token:t,multiple:!0}):function(t){return S(t)}(t)}function z(){return function(t){R.set(t,function(t){var e=Reflect.getMetadata("design:paramtypes",t)||[],n=Reflect.getOwnMetadata(L,t)||{};return Object.keys(n).forEach((function(t){e[+t]=n[t]})),e}(t))}}const Q="IAngularJsPlugin";window.name="NG_DEFER_BOOTSTRAP!",s.resumeDeferredBootstrap=()=>{if(N(Q)){const t=F(Q).map((t=>t.activate()));Promise.all(t).then((t=>s.resumeBootstrap(t.map((t=>t.name)))))}else s.resumeBootstrap()};const K=new class{constructor(){this.listeners=[],this.unexpectedErrorHandler=function(t){setTimeout((()=>{if(t.stack)throw new Error(t.message+"\n\n"+t.stack);throw t}),0)}}addListener(t){return this.listeners.push(t),()=>{this._removeListener(t)}}emit(t){this.listeners.forEach((e=>{e(t)}))}_removeListener(t){this.listeners.splice(this.listeners.indexOf(t),1)}setUnexpectedErrorHandler(t){this.unexpectedErrorHandler=t}getUnexpectedErrorHandler(){return this.unexpectedErrorHandler}onUnexpectedError(t){this.unexpectedErrorHandler(t),this.emit(t)}onUnexpectedExternalError(t){this.unexpectedErrorHandler(t)}};function H(t){var e;(e=t)instanceof Error&&e.name===q&&e.message===q||K.onUnexpectedError(t)}const q="Canceled";function B(t){}Error;class W{constructor(){this._toDispose=new Set,this._isDisposed=!1}dispose(){this._isDisposed||(this._isDisposed=!0,this.clear())}clear(){this._toDispose.forEach((t=>t.dispose())),this._toDispose.clear()}add(t){if(!t)return t;if(t===this)throw new Error("Cannot register a disposable on itself!");return this._isDisposed?console.warn(new Error("Trying to add a disposable to a DisposableStore that has already been disposed of. The added object will be leaked!").stack):this._toDispose.add(t),t}}class G{constructor(){this._store=new W}dispose(){this._store.dispose()}_register(t){if(t===this)throw new Error("Cannot register a disposable on itself!");return this._store.add(t)}}G.None=Object.freeze({dispose(){}});const J={done:!0,value:void 0};var Y;!function(t){const e={next:()=>J};t.empty=function(){return e},t.single=function(t){let e=!1;return{next:()=>e?J:(e=!0,{done:!1,value:t})}},t.fromArray=function(t,e=0,n=t.length){return{next:()=>e>=n?J:{done:!1,value:t[e++]}}},t.fromNativeIterator=function(t){return{next(){const e=t.next();return e.done?J:{done:!1,value:e.value}}}},t.from=function(e){return e?Array.isArray(e)?t.fromArray(e):e:t.empty()},t.map=function(t,e){return{next(){const n=t.next();return n.done?J:{done:!1,value:e(n.value)}}}},t.filter=function(t,e){return{next(){for(;;){const n=t.next();if(n.done)return J;if(e(n.value))return{done:!1,value:n.value}}}}},t.forEach=function(t,e){for(let n=t.next();!n.done;n=t.next())e(n.value)},t.collect=function(t,e=Number.POSITIVE_INFINITY){const n=[];if(0===e)return n;let r=0;for(let i=t.next();!(i.done||(n.push(i.value),++r>=e));i=t.next());return n},t.concat=function(...t){let e=0;return{next(){if(e>=t.length)return J;const n=t[e].next();return n.done?(e++,this.next()):n}}},t.chain=function(t){return new $(t)}}(Y||(Y={}));class ${constructor(t){this.it=t}next(){return this.it.next()}map(t){return new $(Y.map(this.it,t))}filter(t){return new $(Y.filter(this.it,t))}}class X{constructor(t){this.element=t,this.next=X.Undefined,this.prev=X.Undefined}}X.Undefined=new X(void 0);class Z{constructor(){this._first=X.Undefined,this._last=X.Undefined,this._size=0}get size(){return this._size}isEmpty(){return this._first===X.Undefined}clear(){this._first=X.Undefined,this._last=X.Undefined,this._size=0}unshift(t){return this._insert(t,!1)}push(t){return this._insert(t,!0)}_insert(t,e){const n=new X(t);if(this._first===X.Undefined)this._first=n,this._last=n;else if(e){const t=this._last;this._last=n,n.prev=t,t.next=n}else{const t=this._first;this._first=n,n.next=t,t.prev=n}this._size+=1;let r=!1;return()=>{r||(r=!0,this._remove(n))}}shift(){if(this._first!==X.Undefined){const t=this._first.element;return this._remove(this._first),t}}pop(){if(this._last!==X.Undefined){const t=this._last.element;return this._remove(this._last),t}}_remove(t){if(t.prev!==X.Undefined&&t.next!==X.Undefined){const e=t.prev;e.next=t.next,t.next.prev=e}else t.prev===X.Undefined&&t.next===X.Undefined?(this._first=X.Undefined,this._last=X.Undefined):t.next===X.Undefined?(this._last=this._last.prev,this._last.next=X.Undefined):t.prev===X.Undefined&&(this._first=this._first.next,this._first.prev=X.Undefined);this._size-=1}iterator(){let t,e=this._first;return{next:()=>e===X.Undefined?J:(t?t.value=e.element:t={done:!1,value:e.element},e=e.next,t)}}toArray(){const t=[];for(let e=this._first;e!==X.Undefined;e=e.next)t.push(e.element);return t}}var tt;!function(t){function e(t){return(e,n=null,r)=>{let i,o=!1;return i=t((t=>{if(!o)return i?i.dispose():o=!0,e.call(n,t)}),null,r),o&&i.dispose(),i}}function n(t,e){return s(((n,r=null,i)=>t((t=>n.call(r,e(t))),null,i)))}function r(t,e){return s(((n,r=null,i)=>t((t=>{e(t),n.call(r,t)}),null,i)))}function i(t,e){return s(((n,r=null,i)=>t((t=>e(t)&&n.call(r,t)),null,i)))}function o(t,e,r){let i=r;return n(t,(t=>(i=e(i,t),i)))}function s(t){let e;const n=new it({onFirstListenerAdd(){e=t(n.fire,n)},onLastListenerRemove(){e.dispose()}});return n.event}function u(t,e,n=100,r=!1,i){let o,s,u,c=0;const a=new it({leakWarningThreshold:i,onFirstListenerAdd(){o=t((t=>{c++,s=e(s,t),r&&!u&&a.fire(s),clearTimeout(u),u=setTimeout((()=>{const t=s;s=void 0,u=void 0,(!r||c>1)&&a.fire(t),c=0}),n)}))},onLastListenerRemove(){o.dispose()}});return a.event}function c(t){let e,n=!0;return i(t,(t=>{const r=n||t!==e;return n=!1,e=t,r}))}t.None=()=>G.None,t.once=e,t.map=n,t.forEach=r,t.filter=i,t.signal=function(t){return t},t.any=function(...t){return(e,n=null,r)=>function(...t){return t.forEach(B),{dispose:()=>function(t){return Array.isArray(t)?(t.forEach((t=>{t&&t.dispose()})),[]):t?(t.dispose(),t):void 0}(t)}}(...t.map((t=>t((t=>e.call(n,t)),null,r))))},t.reduce=o,t.snapshot=s,t.debounce=u,t.stopwatch=function(t){const r=(new Date).getTime();return n(e(t),(t=>(new Date).getTime()-r))},t.latch=c,t.buffer=function(t,e=!1,n=[]){let r=n.slice(),i=t((t=>{r?r.push(t):s.fire(t)}));const o=()=>{r&&r.forEach((t=>s.fire(t))),r=null},s=new it({onFirstListenerAdd(){i||(i=t((t=>s.fire(t))))},onFirstListenerDidAdd(){r&&(e?setTimeout(o):o())},onLastListenerRemove(){i&&i.dispose(),i=null}});return s.event};class a{constructor(t){this.event=t}map(t){return new a(n(this.event,t))}forEach(t){return new a(r(this.event,t))}filter(t){return new a(i(this.event,t))}reduce(t,e){return new a(o(this.event,t,e))}latch(){return new a(c(this.event))}debounce(t,e=100,n=!1,r){return new a(u(this.event,t,e,n,r))}on(t,e,n){return this.event(t,e,n)}once(t,n,r){return e(this.event)(t,n,r)}}t.chain=function(t){return new a(t)},t.fromNodeEventEmitter=function(t,e,n=(t=>t)){const r=(...t)=>i.fire(n(...t)),i=new it({onFirstListenerAdd:()=>t.on(e,r),onLastListenerRemove:()=>t.removeListener(e,r)});return i.event},t.fromDOMEventEmitter=function(t,e,n=(t=>t)){const r=(...t)=>i.fire(n(...t)),i=new it({onFirstListenerAdd:()=>t.addEventListener(e,r),onLastListenerRemove:()=>t.removeEventListener(e,r)});return i.event},t.fromPromise=function(t){const e=new it;let n=!1;return t.then(void 0,(()=>null)).then((()=>{n?e.fire(void 0):setTimeout((()=>e.fire(void 0)),0)})),n=!0,e.event},t.toPromise=function(t){return new Promise((n=>e(t)(n)))}}(tt||(tt={}));let et=-1;function nt(t){const e=et;return et=t,{dispose(){et=e}}}class rt{constructor(t,e=Math.random().toString(18).slice(2,5)){this.customThreshold=t,this.name=e,this._warnCountdown=0}dispose(){this._stacks&&this._stacks.clear()}check(t){let e=et;if("number"==typeof this.customThreshold&&(e=this.customThreshold),e<=0||t<e)return;this._stacks||(this._stacks=new Map);const n=(new Error).stack.split("\n").slice(3).join("\n"),r=this._stacks.get(n)||0;if(this._stacks.set(n,r+1),this._warnCountdown-=1,this._warnCountdown<=0){let n;this._warnCountdown=.5*e;let r=0;this._stacks.forEach(((t,e)=>{(!n||r<t)&&(n=e,r=t)})),console.warn(`[${this.name}] potential listener LEAK detected, having ${t} listeners already. MOST frequent listener (${r}):`),console.warn(n)}return()=>{const t=this._stacks.get(n)||0;this._stacks.set(n,t-1)}}}class it{constructor(t){this._disposed=!1,this._options=t,this._leakageMon=et>0?new rt(this._options&&this._options.leakWarningThreshold):void 0}get event(){return this._event||(this._event=(t,e,n)=>{this._listeners||(this._listeners=new Z);const r=this._listeners.isEmpty();r&&this._options&&this._options.onFirstListenerAdd&&this._options.onFirstListenerAdd(this);const i=this._listeners.push(e?[t,e]:t);let o,s;return r&&this._options&&this._options.onFirstListenerDidAdd&&this._options.onFirstListenerDidAdd(this),this._options&&this._options.onListenerDidAdd&&this._options.onListenerDidAdd(this,t,e),this._leakageMon&&(o=this._leakageMon.check(this._listeners.size)),s={dispose:()=>{o&&o(),s.dispose=it._noop,!this._disposed&&(i(),this._options&&this._options.onLastListenerRemove)&&(this._listeners&&!this._listeners.isEmpty()||this._options.onLastListenerRemove(this))}},n instanceof W?n.add(s):Array.isArray(n)&&n.push(s),s}),this._event}fire(t){if(this._listeners){this._deliveryQueue||(this._deliveryQueue=new Z);for(let e=this._listeners.iterator(),n=e.next();!n.done;n=e.next())this._deliveryQueue.push([n.value,t]);for(;this._deliveryQueue.size>0;){const[t,e]=this._deliveryQueue.shift();try{"function"==typeof t?t.call(void 0,e):t[0].call(t[1],e)}catch(t){H(t)}}}}dispose(){this._listeners&&this._listeners.clear(),this._deliveryQueue&&this._deliveryQueue.clear(),this._leakageMon&&this._leakageMon.dispose(),this._disposed=!0}}it._noop=function(){};class ot extends it{constructor(t){super(t),this._isPaused=0,this._eventQueue=new Z,this._mergeFn=t&&t.merge}pause(){this._isPaused++}resume(){if(0!==this._isPaused&&0==--this._isPaused)if(this._mergeFn){const t=this._eventQueue.toArray();this._eventQueue.clear(),super.fire(this._mergeFn(t))}else for(;!this._isPaused&&0!==this._eventQueue.size;)super.fire(this._eventQueue.shift())}fire(t){this._listeners&&(0!==this._isPaused?this._eventQueue.push(t):super.fire(t))}}class st extends it{fireAsync(t,e,n){return r=this,i=void 0,s=function*(){if(this._listeners){this._asyncDeliveryQueue||(this._asyncDeliveryQueue=new Z);for(let e=this._listeners.iterator(),n=e.next();!n.done;n=e.next())this._asyncDeliveryQueue.push([n.value,t]);for(;this._asyncDeliveryQueue.size>0&&!e.isCancellationRequested;){const[t,e]=this._asyncDeliveryQueue.shift(),r=[],i=Object.assign(Object.assign({},e),{waitUntil:e=>{if(Object.isFrozen(r))throw new Error("waitUntil can NOT be called asynchronous");n&&(e=n(e,"function"==typeof t?t:t[0])),r.push(e)}});try{"function"==typeof t?t.call(void 0,i):t[0].call(t[1],i)}catch(t){H(t);continue}Object.freeze(r),yield Promise.all(r).catch((t=>H(t)))}}},new((o=void 0)||(o=Promise))((function(t,e){function n(t){try{c(s.next(t))}catch(t){e(t)}}function u(t){try{c(s.throw(t))}catch(t){e(t)}}function c(e){var r;e.done?t(e.value):(r=e.value,r instanceof o?r:new o((function(t){t(r)}))).then(n,u)}c((s=s.apply(r,i||[])).next())}));var r,i,o,s}}class ut{constructor(){this.hasListeners=!1,this.events=[],this.emitter=new it({onFirstListenerAdd:()=>this.onFirstListenerAdd(),onLastListenerRemove:()=>this.onLastListenerRemove()})}get event(){return this.emitter.event}add(t){const e={event:t,listener:null};return this.events.push(e),this.hasListeners&&this.hook(e),n=function(t){const e=this;let n,r=!1;return function(){return r||(r=!0,n=t.apply(e,arguments)),n}}((()=>{this.hasListeners&&this.unhook(e);const t=this.events.indexOf(e);this.events.splice(t,1)})),{dispose:()=>{n()}};var n}onFirstListenerAdd(){this.hasListeners=!0,this.events.forEach((t=>this.hook(t)))}onLastListenerRemove(){this.hasListeners=!1,this.events.forEach((t=>this.unhook(t)))}hook(t){t.listener=t.event((t=>this.emitter.fire(t)))}unhook(t){t.listener&&t.listener.dispose(),t.listener=null}dispose(){this.emitter.dispose()}}class ct{constructor(){this.buffers=[]}wrapEvent(t){return(e,n,r)=>t((t=>{const r=this.buffers[this.buffers.length-1];r?r.push((()=>e.call(n,t))):e.call(n,t)}),void 0,r)}bufferEvents(t){const e=[];this.buffers.push(e);const n=t();return this.buffers.pop(),e.forEach((t=>t())),n}}class at{constructor(){this.listening=!1,this.inputEvent=tt.None,this.inputEventListener=G.None,this.emitter=new it({onFirstListenerDidAdd:()=>{this.listening=!0,this.inputEventListener=this.inputEvent(this.emitter.fire,this.emitter)},onLastListenerRemove:()=>{this.listening=!1,this.inputEventListener.dispose()}}),this.event=this.emitter.event}set input(t){this.inputEvent=t,this.listening&&(this.inputEventListener.dispose(),this.inputEventListener=t(this.emitter.fire,this.emitter))}dispose(){this.inputEventListener.dispose(),this.emitter.dispose()}}function lt(t,e){return(n,r=null,i)=>t((t=>e(t)&&n.call(r,t)),null,i)}var ft=n(464),ht=function(t,e,n,r){return new(n||(n=Promise))((function(i,o){function s(t){try{c(r.next(t))}catch(t){o(t)}}function u(t){try{c(r.throw(t))}catch(t){o(t)}}function c(t){var e;t.done?i(t.value):(e=t.value,e instanceof n?e:new n((function(t){t(e)}))).then(s,u)}c((r=r.apply(t,e||[])).next())}))};const pt="configurationService";class dt{constructor(){this._onDidChangeConfiguration=new it,this.onDidChangeConfiguration=this._onDidChangeConfiguration.event,this.localValues=new Map,this.appicationValues=dt.loadApplicationValues(),this.localValues=dt.loadLocalValues()}getValue(t,e){return ht(this,void 0,void 0,(function*(){if(this.localValues.has(t)){const n=this.localValues.get(t);return void 0===n?e:n}const n=(yield this.appicationValues).get(t);return void 0===n?e:n}))}update(t){return ht(this,void 0,void 0,(function*(){const e=[];for(let[n,r]of t)r!==(yield this.getValue(n))&&((yield this.appicationValues).set(n,r),this.localValues.set(n,r),e.push(n));localStorage.setItem(dt.LOCAL_CONFIGURATION_KEY,JSON.stringify([...this.localValues])),this._onDidChangeConfiguration.fire({keys:e})}))}updateValue(t,e){return ht(this,void 0,void 0,(function*(){return this.update(new Map([[t,e]]))}))}static loadLocalValues(){const t=localStorage.getItem(dt.LOCAL_CONFIGURATION_KEY);return new Map(JSON.parse(t))}static loadApplicationValues(){return ht(this,void 0,void 0,(function*(){const t=yield fetch("cronapp.json");if(200!==t.status)return new Map;const e=yield t.json(),n=(0,ft.flatten)(e);return new Map(Object.entries(n))}))}}dt.LOCAL_CONFIGURATION_KEY="cronapp.configuration",C(pt,dt)})();var i=cronapp="undefined"==typeof cronapp?{}:cronapp;for(var o in r)i[o]=r[o];r.__esModule&&Object.defineProperty(i,"__esModule",{value:!0})})();
2
+ (()=>{var e={91:(e,t,n)=>{var r;!function(e){!function(){var t="object"==typeof globalThis?globalThis:"object"==typeof n.g?n.g:"object"==typeof self?self:"object"==typeof this?this:function(){try{return Function("return this;")()}catch(e){}}()||function(){try{return(0,eval)("(function() { return this; })()")}catch(e){}}(),r=i(e);function i(e,t){return function(n,r){Object.defineProperty(e,n,{configurable:!0,writable:!0,value:r}),t&&t(n,r)}}void 0!==t.Reflect&&(r=i(t.Reflect,r)),function(e,t){var n=Object.prototype.hasOwnProperty,r="function"==typeof Symbol,i=r&&void 0!==Symbol.toPrimitive?Symbol.toPrimitive:"@@toPrimitive",o=r&&void 0!==Symbol.iterator?Symbol.iterator:"@@iterator",s="function"==typeof Object.create,u={__proto__:[]}instanceof Array,a=!s&&!u,c={create:s?function(){return Q(Object.create(null))}:u?function(){return Q({__proto__:null})}:function(){return Q({})},has:a?function(e,t){return n.call(e,t)}:function(e,t){return t in e},get:a?function(e,t){return n.call(e,t)?e[t]:void 0}:function(e,t){return e[t]}},l=Object.getPrototypeOf(Function),f="function"==typeof Map&&"function"==typeof Map.prototype.entries?Map:function(){var e={},t=[],n=function(){function e(e,t,n){this._index=0,this._keys=e,this._values=t,this._selector=n}return e.prototype["@@iterator"]=function(){return this},e.prototype[o]=function(){return this},e.prototype.next=function(){var e=this._index;if(e>=0&&e<this._keys.length){var n=this._selector(this._keys[e],this._values[e]);return e+1>=this._keys.length?(this._index=-1,this._keys=t,this._values=t):this._index++,{value:n,done:!1}}return{value:void 0,done:!0}},e.prototype.throw=function(e){throw this._index>=0&&(this._index=-1,this._keys=t,this._values=t),e},e.prototype.return=function(e){return this._index>=0&&(this._index=-1,this._keys=t,this._values=t),{value:e,done:!0}},e}(),r=function(){function t(){this._keys=[],this._values=[],this._cacheKey=e,this._cacheIndex=-2}return Object.defineProperty(t.prototype,"size",{get:function(){return this._keys.length},enumerable:!0,configurable:!0}),t.prototype.has=function(e){return this._find(e,!1)>=0},t.prototype.get=function(e){var t=this._find(e,!1);return t>=0?this._values[t]:void 0},t.prototype.set=function(e,t){var n=this._find(e,!0);return this._values[n]=t,this},t.prototype.delete=function(t){var n=this._find(t,!1);if(n>=0){for(var r=this._keys.length,i=n+1;i<r;i++)this._keys[i-1]=this._keys[i],this._values[i-1]=this._values[i];return this._keys.length--,this._values.length--,D(t,this._cacheKey)&&(this._cacheKey=e,this._cacheIndex=-2),!0}return!1},t.prototype.clear=function(){this._keys.length=0,this._values.length=0,this._cacheKey=e,this._cacheIndex=-2},t.prototype.keys=function(){return new n(this._keys,this._values,i)},t.prototype.values=function(){return new n(this._keys,this._values,s)},t.prototype.entries=function(){return new n(this._keys,this._values,u)},t.prototype["@@iterator"]=function(){return this.entries()},t.prototype[o]=function(){return this.entries()},t.prototype._find=function(e,t){if(!D(this._cacheKey,e)){this._cacheIndex=-1;for(var n=0;n<this._keys.length;n++)if(D(this._keys[n],e)){this._cacheIndex=n;break}}return this._cacheIndex<0&&t&&(this._cacheIndex=this._keys.length,this._keys.push(e),this._values.push(void 0)),this._cacheIndex},t}();return r;function i(e,t){return e}function s(e,t){return t}function u(e,t){return[e,t]}}(),h="function"==typeof Set&&"function"==typeof Set.prototype.entries?Set:function(){function e(){this._map=new f}return Object.defineProperty(e.prototype,"size",{get:function(){return this._map.size},enumerable:!0,configurable:!0}),e.prototype.has=function(e){return this._map.has(e)},e.prototype.add=function(e){return this._map.set(e,e),this},e.prototype.delete=function(e){return this._map.delete(e)},e.prototype.clear=function(){this._map.clear()},e.prototype.keys=function(){return this._map.keys()},e.prototype.values=function(){return this._map.keys()},e.prototype.entries=function(){return this._map.entries()},e.prototype["@@iterator"]=function(){return this.keys()},e.prototype[o]=function(){return this.keys()},e}(),p="function"==typeof WeakMap?WeakMap:function(){var e=c.create(),t=r();return function(){function e(){this._key=r()}return e.prototype.has=function(e){var t=i(e,!1);return void 0!==t&&c.has(t,this._key)},e.prototype.get=function(e){var t=i(e,!1);return void 0!==t?c.get(t,this._key):void 0},e.prototype.set=function(e,t){return i(e,!0)[this._key]=t,this},e.prototype.delete=function(e){var t=i(e,!1);return void 0!==t&&delete t[this._key]},e.prototype.clear=function(){this._key=r()},e}();function r(){var t;do{t="@@WeakMap@@"+s()}while(c.has(e,t));return e[t]=!0,t}function i(e,r){if(!n.call(e,t)){if(!r)return;Object.defineProperty(e,t,{value:c.create()})}return e[t]}function o(e,t){for(var n=0;n<t;++n)e[n]=255*Math.random()|0;return e}function s(){var e=function(e){if("function"==typeof Uint8Array){var t=new Uint8Array(e);return"undefined"!=typeof crypto?crypto.getRandomValues(t):"undefined"!=typeof msCrypto?msCrypto.getRandomValues(t):o(t,e),t}return o(new Array(e),e)}(16);e[6]=79&e[6]|64,e[8]=191&e[8]|128;for(var t="",n=0;n<16;++n){var r=e[n];4!==n&&6!==n&&8!==n||(t+="-"),r<16&&(t+="0"),t+=r.toString(16).toLowerCase()}return t}}(),d=r?Symbol.for("@reflect-metadata:registry"):void 0,v=function(){var e;return!O(d)&&A(t.Reflect)&&Object.isExtensible(t.Reflect)&&(e=t.Reflect[d]),O(e)&&(e=function(){var e,n,r,i;O(d)||void 0===t.Reflect||d in t.Reflect||"function"!=typeof t.Reflect.defineMetadata||(e=function(e){var t=e.defineMetadata,n=e.hasOwnMetadata,r=e.getOwnMetadata,i=e.getOwnMetadataKeys,o=e.deleteMetadata,s=new p;return{isProviderFor:function(e,t){var n=s.get(e);return!(O(n)||!n.has(t))||!!i(e,t).length&&(O(n)&&(n=new h,s.set(e,n)),n.add(t),!0)},OrdinaryDefineOwnMetadata:t,OrdinaryHasOwnMetadata:n,OrdinaryGetOwnMetadata:r,OrdinaryOwnMetadataKeys:i,OrdinaryDeleteMetadata:o}}(t.Reflect));var o=new p,s={registerProvider:u,getProvider:c,setProvider:v};return s;function u(t){if(!Object.isExtensible(s))throw new Error("Cannot add provider to a frozen registry.");switch(!0){case e===t:break;case O(n):n=t;break;case n===t:break;case O(r):r=t;break;case r===t:break;default:void 0===i&&(i=new h),i.add(t)}}function a(t,o){if(!O(n)){if(n.isProviderFor(t,o))return n;if(!O(r)){if(r.isProviderFor(t,o))return n;if(!O(i))for(var s=I(i);;){var u=U(s);if(!u)return;var a=F(u);if(a.isProviderFor(t,o))return N(s),a}}}if(!O(e)&&e.isProviderFor(t,o))return e}function c(e,t){var n,r=o.get(e);return O(r)||(n=r.get(t)),O(n)?(O(n=a(e,t))||(O(r)&&(r=new f,o.set(e,r)),r.set(t,n)),n):n}function l(e){if(O(e))throw new TypeError;return n===e||r===e||!O(i)&&i.has(e)}function v(e,t,n){if(!l(n))throw new Error("Metadata provider not registered.");var r=c(e,t);if(r!==n){if(!O(r))return!1;var i=o.get(e);O(i)&&(i=new f,o.set(e,i)),i.set(t,n)}return!0}}()),!O(d)&&A(t.Reflect)&&Object.isExtensible(t.Reflect)&&Object.defineProperty(t.Reflect,d,{enumerable:!1,configurable:!1,writable:!1,value:e}),e}(),y=function(e){var t=new p,n={isProviderFor:function(e,n){var r=t.get(e);return!O(r)&&r.has(n)},OrdinaryDefineOwnMetadata:function(e,t,n,i){r(n,i,!0).set(e,t)},OrdinaryHasOwnMetadata:function(e,t,n){var i=r(t,n,!1);return!O(i)&&P(i.has(e))},OrdinaryGetOwnMetadata:function(e,t,n){var i=r(t,n,!1);if(!O(i))return i.get(e)},OrdinaryOwnMetadataKeys:function(e,t){var n=[],i=r(e,t,!1);if(O(i))return n;for(var o=I(i.keys()),s=0;;){var u=U(o);if(!u)return n.length=s,n;var a=F(u);try{n[s]=a}catch(e){try{N(o)}finally{throw e}}s++}},OrdinaryDeleteMetadata:function(e,n,i){var o=r(n,i,!1);if(O(o))return!1;if(!o.delete(e))return!1;if(0===o.size){var s=t.get(n);O(s)||(s.delete(i),0===s.size&&t.delete(s))}return!0}};return v.registerProvider(n),n;function r(r,i,o){var s=t.get(r),u=!1;if(O(s)){if(!o)return;s=new f,t.set(r,s),u=!0}var a=s.get(i);if(O(a)){if(!o)return;if(a=new f,s.set(i,a),!e.setProvider(r,i,n))throw s.delete(i),u&&t.delete(r),new Error("Wrong provider for target.")}return a}}(v);function _(e,t,n){if(g(e,t,n))return!0;var r=V(t);return!R(r)&&_(e,r,n)}function g(e,t,n){var r=z(t,n,!1);return!O(r)&&P(r.OrdinaryHasOwnMetadata(e,t,n))}function w(e,t,n){if(g(e,t,n))return m(e,t,n);var r=V(t);return R(r)?void 0:w(e,r,n)}function m(e,t,n){var r=z(t,n,!1);if(!O(r))return r.OrdinaryGetOwnMetadata(e,t,n)}function b(e,t,n,r){z(n,r,!0).OrdinaryDefineOwnMetadata(e,t,n,r)}function E(e,t){var n=k(e,t),r=V(e);if(null===r)return n;var i=E(r,t);if(i.length<=0)return n;if(n.length<=0)return i;for(var o=new h,s=[],u=0,a=n;u<a.length;u++){var c=a[u];o.has(c)||(o.add(c),s.push(c))}for(var l=0,f=i;l<f.length;l++)c=f[l],o.has(c)||(o.add(c),s.push(c));return s}function k(e,t){var n=z(e,t,!1);return n?n.OrdinaryOwnMetadataKeys(e,t):[]}function x(e){if(null===e)return 1;switch(typeof e){case"undefined":return 0;case"boolean":return 2;case"string":return 3;case"symbol":return 4;case"number":return 5;case"object":return null===e?1:6;default:return 6}}function O(e){return void 0===e}function R(e){return null===e}function A(e){return"object"==typeof e?null!==e:"function"==typeof e}function M(e,t){switch(x(e)){case 0:case 1:case 2:case 3:case 4:case 5:return e}var n=3===t?"string":5===t?"number":"default",r=C(e,i);if(void 0!==r){var o=r.call(e,n);if(A(o))throw new TypeError;return o}return function(e,t){if("string"===t){var n=e.toString;if(S(n)&&!A(i=n.call(e)))return i;if(S(r=e.valueOf)&&!A(i=r.call(e)))return i}else{var r;if(S(r=e.valueOf)&&!A(i=r.call(e)))return i;var i,o=e.toString;if(S(o)&&!A(i=o.call(e)))return i}throw new TypeError}(e,"default"===n?"number":n)}function P(e){return!!e}function T(e){var t=M(e,3);return"symbol"==typeof t?t:function(e){return""+e}(t)}function L(e){return Array.isArray?Array.isArray(e):e instanceof Object?e instanceof Array:"[object Array]"===Object.prototype.toString.call(e)}function S(e){return"function"==typeof e}function j(e){return"function"==typeof e}function D(e,t){return e===t||e!=e&&t!=t}function C(e,t){var n=e[t];if(null!=n){if(!S(n))throw new TypeError;return n}}function I(e){var t=C(e,o);if(!S(t))throw new TypeError;var n=t.call(e);if(!A(n))throw new TypeError;return n}function F(e){return e.value}function U(e){var t=e.next();return!t.done&&t}function N(e){var t=e.return;t&&t.call(e)}function V(e){var t=Object.getPrototypeOf(e);if("function"!=typeof e||e===l)return t;if(t!==l)return t;var n=e.prototype,r=n&&Object.getPrototypeOf(n);if(null==r||r===Object.prototype)return t;var i=r.constructor;return"function"!=typeof i||i===e?t:i}function z(e,t,n){var r=v.getProvider(e,t);if(!O(r))return r;if(n){if(v.setProvider(e,t,y))return y;throw new Error("Illegal state.")}}function Q(e){return e.__=void 0,delete e.__,e}e("decorate",(function(e,t,n,r){if(O(n)){if(!L(e))throw new TypeError;if(!j(t))throw new TypeError;return function(e,t){for(var n=e.length-1;n>=0;--n){var r=(0,e[n])(t);if(!O(r)&&!R(r)){if(!j(r))throw new TypeError;t=r}}return t}(e,t)}if(!L(e))throw new TypeError;if(!A(t))throw new TypeError;if(!A(r)&&!O(r)&&!R(r))throw new TypeError;return R(r)&&(r=void 0),function(e,t,n,r){for(var i=e.length-1;i>=0;--i){var o=(0,e[i])(t,n,r);if(!O(o)&&!R(o)){if(!A(o))throw new TypeError;r=o}}return r}(e,t,n=T(n),r)})),e("metadata",(function(e,t){return function(n,r){if(!A(n))throw new TypeError;if(!O(r)&&!function(e){switch(x(e)){case 3:case 4:return!0;default:return!1}}(r))throw new TypeError;b(e,t,n,r)}})),e("defineMetadata",(function(e,t,n,r){if(!A(n))throw new TypeError;return O(r)||(r=T(r)),b(e,t,n,r)})),e("hasMetadata",(function(e,t,n){if(!A(t))throw new TypeError;return O(n)||(n=T(n)),_(e,t,n)})),e("hasOwnMetadata",(function(e,t,n){if(!A(t))throw new TypeError;return O(n)||(n=T(n)),g(e,t,n)})),e("getMetadata",(function(e,t,n){if(!A(t))throw new TypeError;return O(n)||(n=T(n)),w(e,t,n)})),e("getOwnMetadata",(function(e,t,n){if(!A(t))throw new TypeError;return O(n)||(n=T(n)),m(e,t,n)})),e("getMetadataKeys",(function(e,t){if(!A(e))throw new TypeError;return O(t)||(t=T(t)),E(e,t)})),e("getOwnMetadataKeys",(function(e,t){if(!A(e))throw new TypeError;return O(t)||(t=T(t)),k(e,t)})),e("deleteMetadata",(function(e,t,n){if(!A(t))throw new TypeError;if(O(n)||(n=T(n)),!A(t))throw new TypeError;O(n)||(n=T(n));var r=z(t,n,!1);return!O(r)&&r.OrdinaryDeleteMetadata(e,t,n)}))}(r,t),void 0===t.Reflect&&(t.Reflect=e)}()}(r||(r={}))}},t={};function n(r){var i=t[r];if(void 0!==i)return i.exports;var o=t[r]={exports:{}};return e[r](o,o.exports,n),o.exports}n.d=(e,t)=>{for(var r in t)n.o(t,r)&&!n.o(e,r)&&Object.defineProperty(e,r,{enumerable:!0,get:t[r]})},n.g=function(){if("object"==typeof globalThis)return globalThis;try{return this||new Function("return this")()}catch(e){if("object"==typeof window)return window}}(),n.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),n.r=e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})};var r={};(()=>{"use strict";n.r(r),n.d(r,{angularJs:()=>t,configuration:()=>o,event:()=>i,ioc:()=>e});var e={};n.r(e),n.d(e,{IFrameworkPlugin:()=>I,bindInstance:()=>N,bindSingleton:()=>F,bindType:()=>U,component:()=>H,getInstance:()=>V,getInstances:()=>z,hasInstance:()=>Q,qualifier:()=>K});var t={};n.r(t),n.d(t,{IAngularJsPlugin:()=>G});var i={};n.r(i),n.d(i,{AsyncEmitter:()=>ce,Emitter:()=>ue,Event:()=>re,EventBufferer:()=>fe,EventMultiplexer:()=>le,PauseableEmitter:()=>ae,Relay:()=>he,filterEvent:()=>pe,setGlobalLeakWarningThreshold:()=>oe});var o={};n.r(o),n.d(o,{IConfigurationService:()=>ye});const s=angular;var u;n(91),function(e){e[e.Transient=0]="Transient",e[e.Singleton=1]="Singleton",e[e.ResolutionScoped=2]="ResolutionScoped",e[e.ContainerScoped=3]="ContainerScoped"}(u||(u={}));const a=u;var c=function(e,t){return c=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])},c(e,t)};function l(e,t){function n(){this.constructor=e}c(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}function f(e){var t="function"==typeof Symbol&&Symbol.iterator,n=t&&e[t],r=0;if(n)return n.call(e);if(e&&"number"==typeof e.length)return{next:function(){return e&&r>=e.length&&(e=void 0),{value:e&&e[r++],done:!e}}};throw new TypeError(t?"Object is not iterable.":"Symbol.iterator is not defined.")}function h(e,t){var n="function"==typeof Symbol&&e[Symbol.iterator];if(!n)return e;var r,i,o=n.call(e),s=[];try{for(;(void 0===t||t-- >0)&&!(r=o.next()).done;)s.push(r.value)}catch(e){i={error:e}}finally{try{r&&!r.done&&(n=o.return)&&n.call(o)}finally{if(i)throw i.error}}return s}function p(){for(var e=[],t=0;t<arguments.length;t++)e=e.concat(h(arguments[t]));return e}function d(e){return!!e.useClass}function v(e){return!!e.useFactory}var y=function(){function e(e){this.wrap=e,this.reflectMethods=["get","getPrototypeOf","setPrototypeOf","getOwnPropertyDescriptor","defineProperty","has","set","deleteProperty","apply","construct","ownKeys"]}return e.prototype.createProxy=function(e){var t,n=this,r=!1;return new Proxy({},this.createHandler((function(){return r||(t=e(n.wrap()),r=!0),t})))},e.prototype.createHandler=function(e){var t={};return this.reflectMethods.forEach((function(n){t[n]=function(){for(var t=[],r=0;r<arguments.length;r++)t[r]=arguments[r];return t[0]=e(),Reflect[n].apply(void 0,p(t))}})),t},e}();function _(e){return"string"==typeof e||"symbol"==typeof e}function g(e){return"object"==typeof e&&"token"in e&&"transform"in e}function w(e){return!!e.useToken}function m(e){return null!=e.useValue}const b=function(){function e(){this._registryMap=new Map}return e.prototype.entries=function(){return this._registryMap.entries()},e.prototype.getAll=function(e){return this.ensure(e),this._registryMap.get(e)},e.prototype.get=function(e){this.ensure(e);var t=this._registryMap.get(e);return t[t.length-1]||null},e.prototype.set=function(e,t){this.ensure(e),this._registryMap.get(e).push(t)},e.prototype.setAll=function(e,t){this._registryMap.set(e,t)},e.prototype.has=function(e){return this.ensure(e),this._registryMap.get(e).length>0},e.prototype.clear=function(){this._registryMap.clear()},e.prototype.ensure=function(e){this._registryMap.has(e)||this._registryMap.set(e,[])},e}(),E=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return l(t,e),t}(b),k=function(){this.scopedResolutions=new Map};var x=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return l(t,e),t}(b),O=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return l(t,e),t}(b);const R=function(){this.preResolution=new x,this.postResolution=new O};var A=new Map,M=function(){function e(e){this.parent=e,this._registry=new E,this.interceptors=new R,this.disposed=!1,this.disposables=new Set}return e.prototype.register=function(e,t,n){var r;if(void 0===n&&(n={lifecycle:a.Transient}),this.ensureNotDisposed(),r=function(e){return d(e)||m(e)||w(e)||v(e)}(t)?t:{useClass:t},w(r))for(var i=[e],o=r;null!=o;){var s=o.useToken;if(i.includes(s))throw new Error("Token registration cycle detected! "+p(i,[s]).join(" -> "));i.push(s);var u=this._registry.get(s);o=u&&w(u.provider)?u.provider:null}if((n.lifecycle===a.Singleton||n.lifecycle==a.ContainerScoped||n.lifecycle==a.ResolutionScoped)&&(m(r)||v(r)))throw new Error('Cannot use lifecycle "'+a[n.lifecycle]+'" with ValueProviders or FactoryProviders');return this._registry.set(e,{provider:r,options:n}),this},e.prototype.registerType=function(e,t){return this.ensureNotDisposed(),_(t)?this.register(e,{useToken:t}):this.register(e,{useClass:t})},e.prototype.registerInstance=function(e,t){return this.ensureNotDisposed(),this.register(e,{useValue:t})},e.prototype.registerSingleton=function(e,t){if(this.ensureNotDisposed(),_(e)){if(_(t))return this.register(e,{useToken:t},{lifecycle:a.Singleton});if(t)return this.register(e,{useClass:t},{lifecycle:a.Singleton});throw new Error('Cannot register a type name as a singleton without a "to" token')}var n=e;return t&&!_(t)&&(n=t),this.register(e,{useClass:n},{lifecycle:a.Singleton})},e.prototype.resolve=function(e,t){void 0===t&&(t=new k),this.ensureNotDisposed();var n=this.getRegistration(e);if(!n&&_(e))throw new Error('Attempted to resolve unregistered dependency token: "'+e.toString()+'"');if(this.executePreResolutionInterceptor(e,"Single"),n){var r=this.resolveRegistration(n,t);return this.executePostResolutionInterceptor(e,r,"Single"),r}if(function(e){return"function"==typeof e||e instanceof y}(e))return r=this.construct(e,t),this.executePostResolutionInterceptor(e,r,"Single"),r;throw new Error("Attempted to construct an undefined constructor. Could mean a circular dependency problem. Try using `delay` function.")},e.prototype.executePreResolutionInterceptor=function(e,t){var n,r;if(this.interceptors.preResolution.has(e)){var i=[];try{for(var o=f(this.interceptors.preResolution.getAll(e)),s=o.next();!s.done;s=o.next()){var u=s.value;"Once"!=u.options.frequency&&i.push(u),u.callback(e,t)}}catch(e){n={error:e}}finally{try{s&&!s.done&&(r=o.return)&&r.call(o)}finally{if(n)throw n.error}}this.interceptors.preResolution.setAll(e,i)}},e.prototype.executePostResolutionInterceptor=function(e,t,n){var r,i;if(this.interceptors.postResolution.has(e)){var o=[];try{for(var s=f(this.interceptors.postResolution.getAll(e)),u=s.next();!u.done;u=s.next()){var a=u.value;"Once"!=a.options.frequency&&o.push(a),a.callback(e,t,n)}}catch(e){r={error:e}}finally{try{u&&!u.done&&(i=s.return)&&i.call(s)}finally{if(r)throw r.error}}this.interceptors.postResolution.setAll(e,o)}},e.prototype.resolveRegistration=function(e,t){if(this.ensureNotDisposed(),e.options.lifecycle===a.ResolutionScoped&&t.scopedResolutions.has(e))return t.scopedResolutions.get(e);var n,r=e.options.lifecycle===a.Singleton,i=e.options.lifecycle===a.ContainerScoped,o=r||i;return n=m(e.provider)?e.provider.useValue:w(e.provider)?o?e.instance||(e.instance=this.resolve(e.provider.useToken,t)):this.resolve(e.provider.useToken,t):d(e.provider)?o?e.instance||(e.instance=this.construct(e.provider.useClass,t)):this.construct(e.provider.useClass,t):v(e.provider)?e.provider.useFactory(this):this.construct(e.provider,t),e.options.lifecycle===a.ResolutionScoped&&t.scopedResolutions.set(e,n),n},e.prototype.resolveAll=function(e,t){var n=this;void 0===t&&(t=new k),this.ensureNotDisposed();var r=this.getAllRegistrations(e);if(!r&&_(e))throw new Error('Attempted to resolve unregistered dependency token: "'+e.toString()+'"');if(this.executePreResolutionInterceptor(e,"All"),r){var i=r.map((function(e){return n.resolveRegistration(e,t)}));return this.executePostResolutionInterceptor(e,i,"All"),i}var o=[this.construct(e,t)];return this.executePostResolutionInterceptor(e,o,"All"),o},e.prototype.isRegistered=function(e,t){return void 0===t&&(t=!1),this.ensureNotDisposed(),this._registry.has(e)||t&&(this.parent||!1)&&this.parent.isRegistered(e,!0)},e.prototype.reset=function(){this.ensureNotDisposed(),this._registry.clear(),this.interceptors.preResolution.clear(),this.interceptors.postResolution.clear()},e.prototype.clearInstances=function(){var e,t;this.ensureNotDisposed();try{for(var n=f(this._registry.entries()),r=n.next();!r.done;r=n.next()){var i=h(r.value,2),o=i[0],s=i[1];this._registry.setAll(o,s.filter((function(e){return!m(e.provider)})).map((function(e){return e.instance=void 0,e})))}}catch(t){e={error:t}}finally{try{r&&!r.done&&(t=n.return)&&t.call(n)}finally{if(e)throw e.error}}},e.prototype.createChildContainer=function(){var t,n;this.ensureNotDisposed();var r=new e(this);try{for(var i=f(this._registry.entries()),o=i.next();!o.done;o=i.next()){var s=h(o.value,2),u=s[0],c=s[1];c.some((function(e){return e.options.lifecycle===a.ContainerScoped}))&&r._registry.setAll(u,c.map((function(e){return e.options.lifecycle===a.ContainerScoped?{provider:e.provider,options:e.options}:e})))}}catch(e){t={error:e}}finally{try{o&&!o.done&&(n=i.return)&&n.call(i)}finally{if(t)throw t.error}}return r},e.prototype.beforeResolution=function(e,t,n){void 0===n&&(n={frequency:"Always"}),this.interceptors.preResolution.set(e,{callback:t,options:n})},e.prototype.afterResolution=function(e,t,n){void 0===n&&(n={frequency:"Always"}),this.interceptors.postResolution.set(e,{callback:t,options:n})},e.prototype.dispose=function(){return e=this,t=void 0,r=function(){var e;return function(e,t){var n,r,i,o,s={label:0,sent:function(){if(1&i[0])throw i[1];return i[1]},trys:[],ops:[]};return o={next:u(0),throw:u(1),return:u(2)},"function"==typeof Symbol&&(o[Symbol.iterator]=function(){return this}),o;function u(o){return function(u){return function(o){if(n)throw new TypeError("Generator is already executing.");for(;s;)try{if(n=1,r&&(i=2&o[0]?r.return:o[0]?r.throw||((i=r.return)&&i.call(r),0):r.next)&&!(i=i.call(r,o[1])).done)return i;switch(r=0,i&&(o=[2&o[0],i.value]),o[0]){case 0:case 1:i=o;break;case 4:return s.label++,{value:o[1],done:!1};case 5:s.label++,r=o[1],o=[0];continue;case 7:o=s.ops.pop(),s.trys.pop();continue;default:if(!((i=(i=s.trys).length>0&&i[i.length-1])||6!==o[0]&&2!==o[0])){s=0;continue}if(3===o[0]&&(!i||o[1]>i[0]&&o[1]<i[3])){s.label=o[1];break}if(6===o[0]&&s.label<i[1]){s.label=i[1],i=o;break}if(i&&s.label<i[2]){s.label=i[2],s.ops.push(o);break}i[2]&&s.ops.pop(),s.trys.pop();continue}o=t.call(e,s)}catch(e){o=[6,e],r=0}finally{n=i=0}if(5&o[0])throw o[1];return{value:o[0]?o[1]:void 0,done:!0}}([o,u])}}}(this,(function(t){switch(t.label){case 0:return this.disposed=!0,e=[],this.disposables.forEach((function(t){var n=t.dispose();n&&e.push(n)})),[4,Promise.all(e)];case 1:return t.sent(),[2]}}))},new((n=void 0)||(n=Promise))((function(i,o){function s(e){try{a(r.next(e))}catch(e){o(e)}}function u(e){try{a(r.throw(e))}catch(e){o(e)}}function a(e){var t;e.done?i(e.value):(t=e.value,t instanceof n?t:new n((function(e){e(t)}))).then(s,u)}a((r=r.apply(e,t||[])).next())}));var e,t,n,r},e.prototype.getRegistration=function(e){return this.isRegistered(e)?this._registry.get(e):this.parent?this.parent.getRegistration(e):null},e.prototype.getAllRegistrations=function(e){return this.isRegistered(e)?this._registry.getAll(e):this.parent?this.parent.getAllRegistrations(e):null},e.prototype.construct=function(e,t){var n=this;if(e instanceof y)return e.createProxy((function(e){return n.resolve(e,t)}));var r,i=function(){var r=A.get(e);if(!r||0===r.length){if(0===e.length)return new e;throw new Error('TypeInfo not known for "'+e.name+'"')}var i=r.map(n.resolveParams(t,e));return new(e.bind.apply(e,p([void 0],i)))}();return"function"!=typeof(r=i).dispose||r.dispose.length>0||this.disposables.add(i),i},e.prototype.resolveParams=function(e,t){var n=this;return function(r,i){var o,s,u,a;try{return"object"==typeof(a=r)&&"token"in a&&"multiple"in a?g(r)?r.multiple?(o=n.resolve(r.transform)).transform.apply(o,p([n.resolveAll(r.token)],r.transformArgs)):(s=n.resolve(r.transform)).transform.apply(s,p([n.resolve(r.token,e)],r.transformArgs)):r.multiple?n.resolveAll(r.token):n.resolve(r.token,e):g(r)?(u=n.resolve(r.transform,e)).transform.apply(u,p([n.resolve(r.token,e)],r.transformArgs)):n.resolve(r,e)}catch(e){throw new Error(function(e,t,n){var r,i,o,s,u=h(e.toString().match(/constructor\(([\w, ]+)\)/)||[],2)[1];return r="Cannot inject the dependency "+(s=t,(null===(o=void 0===u?null:u)?"at position #"+s:'"'+o.split(",")[s].trim()+'" at position #'+s)+' of "')+e.name+'" constructor. Reason:',void 0===i&&(i=" "),p([r],n.message.split("\n").map((function(e){return i+e}))).join("\n")}(t,i,e))}}},e.prototype.ensureNotDisposed=function(){if(this.disposed)throw new Error("This container has been disposed, you cannot interact with a disposed container")},e}(),P=new M,T="injectionTokens";function L(e,t){return function(n,r,i){var o=Reflect.getOwnMetadata(T,n)||{};o[i]=t?{token:e,transform:t.transformToken,transformArgs:t.args||[]}:e,Reflect.defineMetadata(T,o,n)}}const S=function(e){return L(e)},j=function(){return function(e){A.set(e,function(e){var t=Reflect.getMetadata("design:paramtypes",e)||[],n=Reflect.getOwnMetadata(T,e)||{};return Object.keys(n).forEach((function(e){t[+e]=n[e]})),t}(e))}},D=function(e){return L({token:e,multiple:!0})};if("undefined"==typeof Reflect||!Reflect.getMetadata)throw new Error("tsyringe requires a reflect polyfill. Please add 'import \"reflect-metadata\"' to the top of your entry point.");const C=P.createChildContainer();C.reset();const I="frameworkPlugin";function F(e,t){C.registerSingleton(e,t)}function U(e,t){C.registerType(e,t)}function N(e,t){C.registerInstance(e,t)}function V(e){return C.resolve(e)}function z(e){return C.resolveAll(e)}function Q(e){return C.isRegistered(e)}function K(e,t=!1){return t?D(e):S(e)}function H(){return j()}const G="IAngularJsPlugin";window.name="NG_DEFER_BOOTSTRAP!",s.resumeDeferredBootstrap=()=>{if(Q(G)){const e=z(G).map((e=>e.activate()));Promise.all(e).then((e=>s.resumeBootstrap(e.map((e=>e.name)))))}else s.resumeBootstrap()};const q=new class{constructor(){this.listeners=[],this.unexpectedErrorHandler=function(e){setTimeout((()=>{if(e.stack)throw new Error(e.message+"\n\n"+e.stack);throw e}),0)}}addListener(e){return this.listeners.push(e),()=>{this._removeListener(e)}}emit(e){this.listeners.forEach((t=>{t(e)}))}_removeListener(e){this.listeners.splice(this.listeners.indexOf(e),1)}setUnexpectedErrorHandler(e){this.unexpectedErrorHandler=e}getUnexpectedErrorHandler(){return this.unexpectedErrorHandler}onUnexpectedError(e){this.unexpectedErrorHandler(e),this.emit(e)}onUnexpectedExternalError(e){this.unexpectedErrorHandler(e)}};function B(e){var t;(t=e)instanceof Error&&t.name===W&&t.message===W||q.onUnexpectedError(e)}const W="Canceled";function J(e){}Error;class Y{constructor(){this._toDispose=new Set,this._isDisposed=!1}dispose(){this._isDisposed||(this._isDisposed=!0,this.clear())}clear(){this._toDispose.forEach((e=>e.dispose())),this._toDispose.clear()}add(e){if(!e)return e;if(e===this)throw new Error("Cannot register a disposable on itself!");return this._isDisposed?console.warn(new Error("Trying to add a disposable to a DisposableStore that has already been disposed of. The added object will be leaked!").stack):this._toDispose.add(e),e}}class ${constructor(){this._store=new Y}dispose(){this._store.dispose()}_register(e){if(e===this)throw new Error("Cannot register a disposable on itself!");return this._store.add(e)}}$.None=Object.freeze({dispose(){}});const X={done:!0,value:void 0};var Z;!function(e){const t={next:()=>X};e.empty=function(){return t},e.single=function(e){let t=!1;return{next:()=>t?X:(t=!0,{done:!1,value:e})}},e.fromArray=function(e,t=0,n=e.length){return{next:()=>t>=n?X:{done:!1,value:e[t++]}}},e.fromNativeIterator=function(e){return{next(){const t=e.next();return t.done?X:{done:!1,value:t.value}}}},e.from=function(t){return t?Array.isArray(t)?e.fromArray(t):t:e.empty()},e.map=function(e,t){return{next(){const n=e.next();return n.done?X:{done:!1,value:t(n.value)}}}},e.filter=function(e,t){return{next(){for(;;){const n=e.next();if(n.done)return X;if(t(n.value))return{done:!1,value:n.value}}}}},e.forEach=function(e,t){for(let n=e.next();!n.done;n=e.next())t(n.value)},e.collect=function(e,t=Number.POSITIVE_INFINITY){const n=[];if(0===t)return n;let r=0;for(let i=e.next();!(i.done||(n.push(i.value),++r>=t));i=e.next());return n},e.concat=function(...e){let t=0;return{next(){if(t>=e.length)return X;const n=e[t].next();return n.done?(t++,this.next()):n}}},e.chain=function(e){return new ee(e)}}(Z||(Z={}));class ee{constructor(e){this.it=e}next(){return this.it.next()}map(e){return new ee(Z.map(this.it,e))}filter(e){return new ee(Z.filter(this.it,e))}}class te{constructor(e){this.element=e,this.next=te.Undefined,this.prev=te.Undefined}}te.Undefined=new te(void 0);class ne{constructor(){this._first=te.Undefined,this._last=te.Undefined,this._size=0}get size(){return this._size}isEmpty(){return this._first===te.Undefined}clear(){this._first=te.Undefined,this._last=te.Undefined,this._size=0}unshift(e){return this._insert(e,!1)}push(e){return this._insert(e,!0)}_insert(e,t){const n=new te(e);if(this._first===te.Undefined)this._first=n,this._last=n;else if(t){const e=this._last;this._last=n,n.prev=e,e.next=n}else{const e=this._first;this._first=n,n.next=e,e.prev=n}this._size+=1;let r=!1;return()=>{r||(r=!0,this._remove(n))}}shift(){if(this._first!==te.Undefined){const e=this._first.element;return this._remove(this._first),e}}pop(){if(this._last!==te.Undefined){const e=this._last.element;return this._remove(this._last),e}}_remove(e){if(e.prev!==te.Undefined&&e.next!==te.Undefined){const t=e.prev;t.next=e.next,e.next.prev=t}else e.prev===te.Undefined&&e.next===te.Undefined?(this._first=te.Undefined,this._last=te.Undefined):e.next===te.Undefined?(this._last=this._last.prev,this._last.next=te.Undefined):e.prev===te.Undefined&&(this._first=this._first.next,this._first.prev=te.Undefined);this._size-=1}iterator(){let e,t=this._first;return{next:()=>t===te.Undefined?X:(e?e.value=t.element:e={done:!1,value:t.element},t=t.next,e)}}toArray(){const e=[];for(let t=this._first;t!==te.Undefined;t=t.next)e.push(t.element);return e}}var re;!function(e){function t(e){return(t,n=null,r)=>{let i,o=!1;return i=e((e=>{if(!o)return i?i.dispose():o=!0,t.call(n,e)}),null,r),o&&i.dispose(),i}}function n(e,t){return s(((n,r=null,i)=>e((e=>n.call(r,t(e))),null,i)))}function r(e,t){return s(((n,r=null,i)=>e((e=>{t(e),n.call(r,e)}),null,i)))}function i(e,t){return s(((n,r=null,i)=>e((e=>t(e)&&n.call(r,e)),null,i)))}function o(e,t,r){let i=r;return n(e,(e=>(i=t(i,e),i)))}function s(e){let t;const n=new ue({onFirstListenerAdd(){t=e(n.fire,n)},onLastListenerRemove(){t.dispose()}});return n.event}function u(e,t,n=100,r=!1,i){let o,s,u,a=0;const c=new ue({leakWarningThreshold:i,onFirstListenerAdd(){o=e((e=>{a++,s=t(s,e),r&&!u&&c.fire(s),clearTimeout(u),u=setTimeout((()=>{const e=s;s=void 0,u=void 0,(!r||a>1)&&c.fire(e),a=0}),n)}))},onLastListenerRemove(){o.dispose()}});return c.event}function a(e){let t,n=!0;return i(e,(e=>{const r=n||e!==t;return n=!1,t=e,r}))}e.None=()=>$.None,e.once=t,e.map=n,e.forEach=r,e.filter=i,e.signal=function(e){return e},e.any=function(...e){return(t,n=null,r)=>function(...e){return e.forEach(J),{dispose:()=>function(e){return Array.isArray(e)?(e.forEach((e=>{e&&e.dispose()})),[]):e?(e.dispose(),e):void 0}(e)}}(...e.map((e=>e((e=>t.call(n,e)),null,r))))},e.reduce=o,e.snapshot=s,e.debounce=u,e.stopwatch=function(e){const r=(new Date).getTime();return n(t(e),(e=>(new Date).getTime()-r))},e.latch=a,e.buffer=function(e,t=!1,n=[]){let r=n.slice(),i=e((e=>{r?r.push(e):s.fire(e)}));const o=()=>{r&&r.forEach((e=>s.fire(e))),r=null},s=new ue({onFirstListenerAdd(){i||(i=e((e=>s.fire(e))))},onFirstListenerDidAdd(){r&&(t?setTimeout(o):o())},onLastListenerRemove(){i&&i.dispose(),i=null}});return s.event};class c{constructor(e){this.event=e}map(e){return new c(n(this.event,e))}forEach(e){return new c(r(this.event,e))}filter(e){return new c(i(this.event,e))}reduce(e,t){return new c(o(this.event,e,t))}latch(){return new c(a(this.event))}debounce(e,t=100,n=!1,r){return new c(u(this.event,e,t,n,r))}on(e,t,n){return this.event(e,t,n)}once(e,n,r){return t(this.event)(e,n,r)}}e.chain=function(e){return new c(e)},e.fromNodeEventEmitter=function(e,t,n=e=>e){const r=(...e)=>i.fire(n(...e)),i=new ue({onFirstListenerAdd:()=>e.on(t,r),onLastListenerRemove:()=>e.removeListener(t,r)});return i.event},e.fromDOMEventEmitter=function(e,t,n=e=>e){const r=(...e)=>i.fire(n(...e)),i=new ue({onFirstListenerAdd:()=>e.addEventListener(t,r),onLastListenerRemove:()=>e.removeEventListener(t,r)});return i.event},e.fromPromise=function(e){const t=new ue;let n=!1;return e.then(void 0,(()=>null)).then((()=>{n?t.fire(void 0):setTimeout((()=>t.fire(void 0)),0)})),n=!0,t.event},e.toPromise=function(e){return new Promise((n=>t(e)(n)))}}(re||(re={}));let ie=-1;function oe(e){const t=ie;return ie=e,{dispose(){ie=t}}}class se{constructor(e,t=Math.random().toString(18).slice(2,5)){this.customThreshold=e,this.name=t,this._warnCountdown=0}dispose(){this._stacks&&this._stacks.clear()}check(e){let t=ie;if("number"==typeof this.customThreshold&&(t=this.customThreshold),t<=0||e<t)return;this._stacks||(this._stacks=new Map);const n=(new Error).stack.split("\n").slice(3).join("\n"),r=this._stacks.get(n)||0;if(this._stacks.set(n,r+1),this._warnCountdown-=1,this._warnCountdown<=0){let n;this._warnCountdown=.5*t;let r=0;this._stacks.forEach(((e,t)=>{(!n||r<e)&&(n=t,r=e)})),console.warn(`[${this.name}] potential listener LEAK detected, having ${e} listeners already. MOST frequent listener (${r}):`),console.warn(n)}return()=>{const e=this._stacks.get(n)||0;this._stacks.set(n,e-1)}}}class ue{constructor(e){this._disposed=!1,this._options=e,this._leakageMon=ie>0?new se(this._options&&this._options.leakWarningThreshold):void 0}get event(){return this._event||(this._event=(e,t,n)=>{this._listeners||(this._listeners=new ne);const r=this._listeners.isEmpty();r&&this._options&&this._options.onFirstListenerAdd&&this._options.onFirstListenerAdd(this);const i=this._listeners.push(t?[e,t]:e);let o,s;return r&&this._options&&this._options.onFirstListenerDidAdd&&this._options.onFirstListenerDidAdd(this),this._options&&this._options.onListenerDidAdd&&this._options.onListenerDidAdd(this,e,t),this._leakageMon&&(o=this._leakageMon.check(this._listeners.size)),s={dispose:()=>{o&&o(),s.dispose=ue._noop,!this._disposed&&(i(),this._options&&this._options.onLastListenerRemove)&&(this._listeners&&!this._listeners.isEmpty()||this._options.onLastListenerRemove(this))}},n instanceof Y?n.add(s):Array.isArray(n)&&n.push(s),s}),this._event}fire(e){if(this._listeners){this._deliveryQueue||(this._deliveryQueue=new ne);for(let t=this._listeners.iterator(),n=t.next();!n.done;n=t.next())this._deliveryQueue.push([n.value,e]);for(;this._deliveryQueue.size>0;){const[e,t]=this._deliveryQueue.shift();try{"function"==typeof e?e.call(void 0,t):e[0].call(e[1],t)}catch(e){B(e)}}}}dispose(){this._listeners&&this._listeners.clear(),this._deliveryQueue&&this._deliveryQueue.clear(),this._leakageMon&&this._leakageMon.dispose(),this._disposed=!0}}ue._noop=function(){};class ae extends ue{constructor(e){super(e),this._isPaused=0,this._eventQueue=new ne,this._mergeFn=e&&e.merge}pause(){this._isPaused++}resume(){if(0!==this._isPaused&&0==--this._isPaused)if(this._mergeFn){const e=this._eventQueue.toArray();this._eventQueue.clear(),super.fire(this._mergeFn(e))}else for(;!this._isPaused&&0!==this._eventQueue.size;)super.fire(this._eventQueue.shift())}fire(e){this._listeners&&(0!==this._isPaused?this._eventQueue.push(e):super.fire(e))}}class ce extends ue{fireAsync(e,t,n){return r=this,i=void 0,s=function*(){if(this._listeners){this._asyncDeliveryQueue||(this._asyncDeliveryQueue=new ne);for(let t=this._listeners.iterator(),n=t.next();!n.done;n=t.next())this._asyncDeliveryQueue.push([n.value,e]);for(;this._asyncDeliveryQueue.size>0&&!t.isCancellationRequested;){const[e,t]=this._asyncDeliveryQueue.shift(),r=[],i=Object.assign(Object.assign({},t),{waitUntil:t=>{if(Object.isFrozen(r))throw new Error("waitUntil can NOT be called asynchronous");n&&(t=n(t,"function"==typeof e?e:e[0])),r.push(t)}});try{"function"==typeof e?e.call(void 0,i):e[0].call(e[1],i)}catch(e){B(e);continue}Object.freeze(r),yield Promise.all(r).catch((e=>B(e)))}}},new((o=void 0)||(o=Promise))((function(e,t){function n(e){try{a(s.next(e))}catch(e){t(e)}}function u(e){try{a(s.throw(e))}catch(e){t(e)}}function a(t){var r;t.done?e(t.value):(r=t.value,r instanceof o?r:new o((function(e){e(r)}))).then(n,u)}a((s=s.apply(r,i||[])).next())}));var r,i,o,s}}class le{constructor(){this.hasListeners=!1,this.events=[],this.emitter=new ue({onFirstListenerAdd:()=>this.onFirstListenerAdd(),onLastListenerRemove:()=>this.onLastListenerRemove()})}get event(){return this.emitter.event}add(e){const t={event:e,listener:null};return this.events.push(t),this.hasListeners&&this.hook(t),n=function(e){const t=this;let n,r=!1;return function(){return r||(r=!0,n=e.apply(t,arguments)),n}}((()=>{this.hasListeners&&this.unhook(t);const e=this.events.indexOf(t);this.events.splice(e,1)})),{dispose:()=>{n()}};var n}onFirstListenerAdd(){this.hasListeners=!0,this.events.forEach((e=>this.hook(e)))}onLastListenerRemove(){this.hasListeners=!1,this.events.forEach((e=>this.unhook(e)))}hook(e){e.listener=e.event((e=>this.emitter.fire(e)))}unhook(e){e.listener&&e.listener.dispose(),e.listener=null}dispose(){this.emitter.dispose()}}class fe{constructor(){this.buffers=[]}wrapEvent(e){return(t,n,r)=>e((e=>{const r=this.buffers[this.buffers.length-1];r?r.push((()=>t.call(n,e))):t.call(n,e)}),void 0,r)}bufferEvents(e){const t=[];this.buffers.push(t);const n=e();return this.buffers.pop(),t.forEach((e=>e())),n}}class he{constructor(){this.listening=!1,this.inputEvent=re.None,this.inputEventListener=$.None,this.emitter=new ue({onFirstListenerDidAdd:()=>{this.listening=!0,this.inputEventListener=this.inputEvent(this.emitter.fire,this.emitter)},onLastListenerRemove:()=>{this.listening=!1,this.inputEventListener.dispose()}}),this.event=this.emitter.event}set input(e){this.inputEvent=e,this.listening&&(this.inputEventListener.dispose(),this.inputEventListener=e(this.emitter.fire,this.emitter))}dispose(){this.inputEventListener.dispose(),this.emitter.dispose()}}function pe(e,t){return(n,r=null,i)=>e((e=>t(e)&&n.call(r,e)),null,i)}function de(e){return e}var ve=function(e,t,n,r){return new(n||(n=Promise))((function(i,o){function s(e){try{a(r.next(e))}catch(e){o(e)}}function u(e){try{a(r.throw(e))}catch(e){o(e)}}function a(e){var t;e.done?i(e.value):(t=e.value,t instanceof n?t:new n((function(e){e(t)}))).then(s,u)}a((r=r.apply(e,t||[])).next())}))};const ye="configurationService";class _e{constructor(){this._onDidChangeConfiguration=new ue,this.onDidChangeConfiguration=this._onDidChangeConfiguration.event,this.localValues=new Map,this.appicationValues=_e.loadApplicationValues(),this.localValues=_e.loadLocalValues()}getValue(e,t){return ve(this,void 0,void 0,(function*(){if(this.localValues.has(e)){const n=this.localValues.get(e);return void 0===n?t:n}const n=(yield this.appicationValues).get(e);return void 0===n?t:n}))}update(e){return ve(this,void 0,void 0,(function*(){const t=[];for(let[n,r]of e)r!==(yield this.getValue(n))&&((yield this.appicationValues).set(n,r),this.localValues.set(n,r),t.push(n));localStorage.setItem(_e.LOCAL_CONFIGURATION_KEY,JSON.stringify([...this.localValues])),this._onDidChangeConfiguration.fire({keys:t})}))}updateValue(e,t){return ve(this,void 0,void 0,(function*(){return this.update(new Map([[e,t]]))}))}static loadLocalValues(){const e=localStorage.getItem(_e.LOCAL_CONFIGURATION_KEY);return new Map(JSON.parse(e))}static loadApplicationValues(){return ve(this,void 0,void 0,(function*(){const e=yield fetch("cronapp.json");if(200!==e.status)return new Map;const t=function(e,t){const n=(t=t||{}).delimiter||".",r=t.maxDepth,i=t.transformKey||de,o={};return function e(s,u,a){a=a||1,Object.keys(s).forEach((function(c){const l=s[c],f=t.safe&&Array.isArray(l),h=Object.prototype.toString.call(l),p=(y=l)&&y.constructor&&"function"==typeof y.constructor.isBuffer&&y.constructor.isBuffer(y),d="[object Object]"===h||"[object Array]"===h,v=u?u+n+i(c):i(c);var y;if(!f&&!p&&d&&Object.keys(l).length&&(!t.maxDepth||a<r))return e(l,v,a+1);o[v]=l}))}(e),o}(yield e.json());return new Map(Object.entries(t))}))}}_e.LOCAL_CONFIGURATION_KEY="cronapp.configuration",F(ye,_e)})();var i=cronapp="undefined"==typeof cronapp?{}:cronapp;for(var o in r)i[o]=r[o];r.__esModule&&Object.defineProperty(i,"__esModule",{value:!0})})();