c4713863c0
- Changed UI runtime from Svelte to Angular
1 line
149 KiB
JavaScript
1 line
149 KiB
JavaScript
(window.webpackJsonp=window.webpackJsonp||[]).push([[1],{0:function(e,t,n){e.exports=n("zUnb")},zUnb:function(e,t){function n(e){return"function"==typeof e}let r=!1;const s={Promise:void 0,set useDeprecatedSynchronousErrorHandling(e){if(e){const e=new Error;console.warn("DEPRECATED! RxJS was set to use deprecated synchronous error handling behavior by code at: \n"+e.stack)}else r&&console.log("RxJS: Back to a better error behavior. Thank you. <3");r=e},get useDeprecatedSynchronousErrorHandling(){return r}};function o(e){setTimeout(()=>{throw e},0)}const i={closed:!0,next(e){},error(e){if(s.useDeprecatedSynchronousErrorHandling)throw e;o(e)},complete(){}},l=(()=>Array.isArray||(e=>e&&"number"==typeof e.length))();function a(e){return null!==e&&"object"==typeof e}const u=(()=>{function e(e){return Error.call(this),this.message=e?`${e.length} errors occurred during unsubscription:\n${e.map((e,t)=>`${t+1}) ${e.toString()}`).join("\n ")}`:"",this.name="UnsubscriptionError",this.errors=e,this}return e.prototype=Object.create(Error.prototype),e})();let c=(()=>{class e{constructor(e){this.closed=!1,this._parentOrParents=null,this._subscriptions=null,e&&(this._ctorUnsubscribe=!0,this._unsubscribe=e)}unsubscribe(){let t;if(this.closed)return;let{_parentOrParents:r,_ctorUnsubscribe:s,_unsubscribe:o,_subscriptions:i}=this;if(this.closed=!0,this._parentOrParents=null,this._subscriptions=null,r instanceof e)r.remove(this);else if(null!==r)for(let e=0;e<r.length;++e)r[e].remove(this);if(n(o)){s&&(this._unsubscribe=void 0);try{o.call(this)}catch(c){t=c instanceof u?h(c.errors):[c]}}if(l(i)){let e=-1,n=i.length;for(;++e<n;){const n=i[e];if(a(n))try{n.unsubscribe()}catch(c){t=t||[],c instanceof u?t=t.concat(h(c.errors)):t.push(c)}}}if(t)throw new u(t)}add(t){let n=t;if(!t)return e.EMPTY;switch(typeof t){case"function":n=new e(t);case"object":if(n===this||n.closed||"function"!=typeof n.unsubscribe)return n;if(this.closed)return n.unsubscribe(),n;if(!(n instanceof e)){const t=n;n=new e,n._subscriptions=[t]}break;default:throw new Error("unrecognized teardown "+t+" added to Subscription.")}let{_parentOrParents:r}=n;if(null===r)n._parentOrParents=this;else if(r instanceof e){if(r===this)return n;n._parentOrParents=[r,this]}else{if(-1!==r.indexOf(this))return n;r.push(this)}const s=this._subscriptions;return null===s?this._subscriptions=[n]:s.push(n),n}remove(e){const t=this._subscriptions;if(t){const n=t.indexOf(e);-1!==n&&t.splice(n,1)}}}return e.EMPTY=function(e){return e.closed=!0,e}(new e),e})();function h(e){return e.reduce((e,t)=>e.concat(t instanceof u?t.errors:t),[])}const d=(()=>"function"==typeof Symbol?Symbol("rxSubscriber"):"@@rxSubscriber_"+Math.random())();class f extends c{constructor(e,t,n){switch(super(),this.syncErrorValue=null,this.syncErrorThrown=!1,this.syncErrorThrowable=!1,this.isStopped=!1,arguments.length){case 0:this.destination=i;break;case 1:if(!e){this.destination=i;break}if("object"==typeof e){e instanceof f?(this.syncErrorThrowable=e.syncErrorThrowable,this.destination=e,e.add(this)):(this.syncErrorThrowable=!0,this.destination=new p(this,e));break}default:this.syncErrorThrowable=!0,this.destination=new p(this,e,t,n)}}[d](){return this}static create(e,t,n){const r=new f(e,t,n);return r.syncErrorThrowable=!1,r}next(e){this.isStopped||this._next(e)}error(e){this.isStopped||(this.isStopped=!0,this._error(e))}complete(){this.isStopped||(this.isStopped=!0,this._complete())}unsubscribe(){this.closed||(this.isStopped=!0,super.unsubscribe())}_next(e){this.destination.next(e)}_error(e){this.destination.error(e),this.unsubscribe()}_complete(){this.destination.complete(),this.unsubscribe()}_unsubscribeAndRecycle(){const{_parentOrParents:e}=this;return this._parentOrParents=null,this.unsubscribe(),this.closed=!1,this.isStopped=!1,this._parentOrParents=e,this}}class p extends f{constructor(e,t,r,s){let o;super(),this._parentSubscriber=e;let l=this;n(t)?o=t:t&&(o=t.next,r=t.error,s=t.complete,t!==i&&(l=Object.create(t),n(l.unsubscribe)&&this.add(l.unsubscribe.bind(l)),l.unsubscribe=this.unsubscribe.bind(this))),this._context=l,this._next=o,this._error=r,this._complete=s}next(e){if(!this.isStopped&&this._next){const{_parentSubscriber:t}=this;s.useDeprecatedSynchronousErrorHandling&&t.syncErrorThrowable?this.__tryOrSetError(t,this._next,e)&&this.unsubscribe():this.__tryOrUnsub(this._next,e)}}error(e){if(!this.isStopped){const{_parentSubscriber:t}=this,{useDeprecatedSynchronousErrorHandling:n}=s;if(this._error)n&&t.syncErrorThrowable?(this.__tryOrSetError(t,this._error,e),this.unsubscribe()):(this.__tryOrUnsub(this._error,e),this.unsubscribe());else if(t.syncErrorThrowable)n?(t.syncErrorValue=e,t.syncErrorThrown=!0):o(e),this.unsubscribe();else{if(this.unsubscribe(),n)throw e;o(e)}}}complete(){if(!this.isStopped){const{_parentSubscriber:e}=this;if(this._complete){const t=()=>this._complete.call(this._context);s.useDeprecatedSynchronousErrorHandling&&e.syncErrorThrowable?(this.__tryOrSetError(e,t),this.unsubscribe()):(this.__tryOrUnsub(t),this.unsubscribe())}else this.unsubscribe()}}__tryOrUnsub(e,t){try{e.call(this._context,t)}catch(n){if(this.unsubscribe(),s.useDeprecatedSynchronousErrorHandling)throw n;o(n)}}__tryOrSetError(e,t,n){if(!s.useDeprecatedSynchronousErrorHandling)throw new Error("bad call");try{t.call(this._context,n)}catch(r){return s.useDeprecatedSynchronousErrorHandling?(e.syncErrorValue=r,e.syncErrorThrown=!0,!0):(o(r),!0)}return!1}_unsubscribe(){const{_parentSubscriber:e}=this;this._context=null,this._parentSubscriber=null,e.unsubscribe()}}const m=(()=>"function"==typeof Symbol&&Symbol.observable||"@@observable")();function g(e){return e}let y=(()=>{class e{constructor(e){this._isScalar=!1,e&&(this._subscribe=e)}lift(t){const n=new e;return n.source=this,n.operator=t,n}subscribe(e,t,n){const{operator:r}=this,o=function(e,t,n){if(e){if(e instanceof f)return e;if(e[d])return e[d]()}return e||t||n?new f(e,t,n):new f(i)}(e,t,n);if(o.add(r?r.call(o,this.source):this.source||s.useDeprecatedSynchronousErrorHandling&&!o.syncErrorThrowable?this._subscribe(o):this._trySubscribe(o)),s.useDeprecatedSynchronousErrorHandling&&o.syncErrorThrowable&&(o.syncErrorThrowable=!1,o.syncErrorThrown))throw o.syncErrorValue;return o}_trySubscribe(e){try{return this._subscribe(e)}catch(t){s.useDeprecatedSynchronousErrorHandling&&(e.syncErrorThrown=!0,e.syncErrorValue=t),function(e){for(;e;){const{closed:t,destination:n,isStopped:r}=e;if(t||r)return!1;e=n&&n instanceof f?n:null}return!0}(e)?e.error(t):console.warn(t)}}forEach(e,t){return new(t=_(t))((t,n)=>{let r;r=this.subscribe(t=>{try{e(t)}catch(s){n(s),r&&r.unsubscribe()}},n,t)})}_subscribe(e){const{source:t}=this;return t&&t.subscribe(e)}[m](){return this}pipe(...e){return 0===e.length?this:(0===(t=e).length?g:1===t.length?t[0]:function(e){return t.reduce((e,t)=>t(e),e)})(this);var t}toPromise(e){return new(e=_(e))((e,t)=>{let n;this.subscribe(e=>n=e,e=>t(e),()=>e(n))})}}return e.create=t=>new e(t),e})();function _(e){if(e||(e=Promise),!e)throw new Error("no Promise impl found");return e}const b=(()=>{function e(){return Error.call(this),this.message="object unsubscribed",this.name="ObjectUnsubscribedError",this}return e.prototype=Object.create(Error.prototype),e})();class w extends c{constructor(e,t){super(),this.subject=e,this.subscriber=t,this.closed=!1}unsubscribe(){if(this.closed)return;this.closed=!0;const e=this.subject,t=e.observers;if(this.subject=null,!t||0===t.length||e.isStopped||e.closed)return;const n=t.indexOf(this.subscriber);-1!==n&&t.splice(n,1)}}class v extends f{constructor(e){super(e),this.destination=e}}let C=(()=>{class e extends y{constructor(){super(),this.observers=[],this.closed=!1,this.isStopped=!1,this.hasError=!1,this.thrownError=null}[d](){return new v(this)}lift(e){const t=new E(this,this);return t.operator=e,t}next(e){if(this.closed)throw new b;if(!this.isStopped){const{observers:t}=this,n=t.length,r=t.slice();for(let s=0;s<n;s++)r[s].next(e)}}error(e){if(this.closed)throw new b;this.hasError=!0,this.thrownError=e,this.isStopped=!0;const{observers:t}=this,n=t.length,r=t.slice();for(let s=0;s<n;s++)r[s].error(e);this.observers.length=0}complete(){if(this.closed)throw new b;this.isStopped=!0;const{observers:e}=this,t=e.length,n=e.slice();for(let r=0;r<t;r++)n[r].complete();this.observers.length=0}unsubscribe(){this.isStopped=!0,this.closed=!0,this.observers=null}_trySubscribe(e){if(this.closed)throw new b;return super._trySubscribe(e)}_subscribe(e){if(this.closed)throw new b;return this.hasError?(e.error(this.thrownError),c.EMPTY):this.isStopped?(e.complete(),c.EMPTY):(this.observers.push(e),new w(this,e))}asObservable(){const e=new y;return e.source=this,e}}return e.create=(e,t)=>new E(e,t),e})();class E extends C{constructor(e,t){super(),this.destination=e,this.source=t}next(e){const{destination:t}=this;t&&t.next&&t.next(e)}error(e){const{destination:t}=this;t&&t.error&&this.destination.error(e)}complete(){const{destination:e}=this;e&&e.complete&&this.destination.complete()}_subscribe(e){const{source:t}=this;return t?this.source.subscribe(e):c.EMPTY}}function x(){return function(e){return e.lift(new T(e))}}class T{constructor(e){this.connectable=e}call(e,t){const{connectable:n}=this;n._refCount++;const r=new k(e,n),s=t.subscribe(r);return r.closed||(r.connection=n.connect()),s}}class k extends f{constructor(e,t){super(e),this.connectable=t}_unsubscribe(){const{connectable:e}=this;if(!e)return void(this.connection=null);this.connectable=null;const t=e._refCount;if(t<=0)return void(this.connection=null);if(e._refCount=t-1,t>1)return void(this.connection=null);const{connection:n}=this,r=e._connection;this.connection=null,!r||n&&r!==n||r.unsubscribe()}}class S extends y{constructor(e,t){super(),this.source=e,this.subjectFactory=t,this._refCount=0,this._isComplete=!1}_subscribe(e){return this.getSubject().subscribe(e)}getSubject(){const e=this._subject;return e&&!e.isStopped||(this._subject=this.subjectFactory()),this._subject}connect(){let e=this._connection;return e||(this._isComplete=!1,e=this._connection=new c,e.add(this.source.subscribe(new A(this.getSubject(),this))),e.closed&&(this._connection=null,e=c.EMPTY)),e}refCount(){return x()(this)}}const I=(()=>{const e=S.prototype;return{operator:{value:null},_refCount:{value:0,writable:!0},_subject:{value:null,writable:!0},_connection:{value:null,writable:!0},_subscribe:{value:e._subscribe},_isComplete:{value:e._isComplete,writable:!0},getSubject:{value:e.getSubject},connect:{value:e.connect},refCount:{value:e.refCount}}})();class A extends v{constructor(e,t){super(e),this.connectable=t}_error(e){this._unsubscribe(),super._error(e)}_complete(){this.connectable._isComplete=!0,this._unsubscribe(),super._complete()}_unsubscribe(){const e=this.connectable;if(e){this.connectable=null;const t=e._connection;e._refCount=0,e._subject=null,e._connection=null,t&&t.unsubscribe()}}}class D extends C{constructor(e){super(),this._value=e}get value(){return this.getValue()}_subscribe(e){const t=super._subscribe(e);return t&&!t.closed&&e.next(this._value),t}getValue(){if(this.hasError)throw this.thrownError;if(this.closed)throw new b;return this._value}next(e){super.next(this._value=e)}}function O(e){return e&&"function"==typeof e.schedule}const N=e=>t=>{for(let n=0,r=e.length;n<r&&!t.closed;n++)t.next(e[n]);t.complete()};function j(e,t){return new y(n=>{const r=new c;let s=0;return r.add(t.schedule((function(){s!==e.length?(n.next(e[s++]),n.closed||r.add(this.schedule())):n.complete()}))),r})}function M(e,t){return t?j(e,t):new y(N(e))}function R(e,t){return function(n){if("function"!=typeof e)throw new TypeError("argument is not a function. Are you looking for `mapTo()`?");return n.lift(new P(e,t))}}class P{constructor(e,t){this.project=e,this.thisArg=t}call(e,t){return t.subscribe(new H(e,this.project,this.thisArg))}}class H extends f{constructor(e,t,n){super(e),this.project=t,this.count=0,this.thisArg=n||this}_next(e){let t;try{t=this.project.call(this.thisArg,e,this.count++)}catch(n){return void this.destination.error(n)}this.destination.next(t)}}function F(){return"function"==typeof Symbol&&Symbol.iterator?Symbol.iterator:"@@iterator"}const V=F();const L=e=>{if(e&&"function"==typeof e[m])return s=e,e=>{const t=s[m]();if("function"!=typeof t.subscribe)throw new TypeError("Provided object does not correctly implement Symbol.observable");return t.subscribe(e)};if((t=e)&&"number"==typeof t.length&&"function"!=typeof t)return N(e);var t,n,r,s;if((n=e)&&"function"!=typeof n.subscribe&&"function"==typeof n.then)return(e=>t=>(e.then(e=>{t.closed||(t.next(e),t.complete())},e=>t.error(e)).then(null,o),t))(e);if(e&&"function"==typeof e[V])return r=e,e=>{const t=r[V]();for(;;){let r;try{r=t.next()}catch(n){return e.error(n),e}if(r.done){e.complete();break}if(e.next(r.value),e.closed)break}return"function"==typeof t.return&&e.add(()=>{t.return&&t.return()}),e};{const t=a(e)?"an invalid object":`'${e}'`;throw new TypeError(`You provided ${t} where a stream was expected. You can provide an Observable, Promise, Array, or Iterable.`)}};class z extends f{constructor(e){super(),this.parent=e}_next(e){this.parent.notifyNext(e)}_error(e){this.parent.notifyError(e),this.unsubscribe()}_complete(){this.parent.notifyComplete(),this.unsubscribe()}}class B extends f{notifyNext(e){this.destination.next(e)}notifyError(e){this.destination.error(e)}notifyComplete(){this.destination.complete()}}function U(e,t,n=Number.POSITIVE_INFINITY){return"function"==typeof t?r=>r.pipe(U((n,r)=>{return(s=e(n,r),s instanceof y?s:new y(L(s))).pipe(R((e,s)=>t(n,e,r,s)));var s},n)):("number"==typeof t&&(n=t),t=>t.lift(new $(e,n)))}class ${constructor(e,t=Number.POSITIVE_INFINITY){this.project=e,this.concurrent=t}call(e,t){return t.subscribe(new Z(e,this.project,this.concurrent))}}class Z extends B{constructor(e,t,n=Number.POSITIVE_INFINITY){super(e),this.project=t,this.concurrent=n,this.hasCompleted=!1,this.buffer=[],this.active=0,this.index=0}_next(e){this.active<this.concurrent?this._tryNext(e):this.buffer.push(e)}_tryNext(e){let t;const n=this.index++;try{t=this.project(e,n)}catch(r){return void this.destination.error(r)}this.active++,this._innerSub(t)}_innerSub(e){const t=new z(this),n=this.destination;n.add(t);const r=function(e,t){if(!t.closed)return e instanceof y?e.subscribe(t):L(e)(t)}(e,t);r!==t&&n.add(r)}_complete(){this.hasCompleted=!0,0===this.active&&0===this.buffer.length&&this.destination.complete(),this.unsubscribe()}notifyNext(e){this.destination.next(e)}notifyComplete(){const e=this.buffer;this.active--,e.length>0?this._next(e.shift()):0===this.active&&this.hasCompleted&&this.destination.complete()}}class J{constructor(e,t){this.predicate=e,this.thisArg=t}call(e,t){return t.subscribe(new Y(e,this.predicate,this.thisArg))}}class Y extends f{constructor(e,t,n){super(e),this.predicate=t,this.thisArg=n,this.count=0}_next(e){let t;try{t=this.predicate.call(this.thisArg,e,this.count++)}catch(n){return void this.destination.error(n)}t&&this.destination.next(e)}}function q(){return new C}function W(e){return{toString:e}.toString()}const G="__parameters__";function K(e,t,n){return W(()=>{const r=function(e){return function(...t){if(e){const n=e(...t);for(const e in n)this[e]=n[e]}}}(t);function s(...e){if(this instanceof s)return r.apply(this,e),this;const t=new s(...e);return n.annotation=t,n;function n(e,n,r){const s=e.hasOwnProperty(G)?e[G]:Object.defineProperty(e,G,{value:[]})[G];for(;s.length<=r;)s.push(null);return(s[r]=s[r]||[]).push(t),e}}return n&&(s.prototype=Object.create(n.prototype)),s.prototype.ngMetadataName=e,s.annotationCls=s,s})}const Q=K("Inject",e=>({token:e})),X=K("Optional"),ee=K("Self"),te=K("SkipSelf");var ne=function(e){return e[e.Default=0]="Default",e[e.Host=1]="Host",e[e.Self=2]="Self",e[e.SkipSelf=4]="SkipSelf",e[e.Optional=8]="Optional",e}({});function re(e){for(let t in e)if(e[t]===re)return t;throw Error("Could not find renamed property on target object.")}function se(e){return{token:e.token,providedIn:e.providedIn||null,factory:e.factory,value:void 0}}function oe(e){return{factory:e.factory,providers:e.providers||[],imports:e.imports||[]}}function ie(e){return le(e,e[ue])||le(e,e[de])}function le(e,t){return t&&t.token===e?t:null}function ae(e){return e&&(e.hasOwnProperty(ce)||e.hasOwnProperty(fe))?e[ce]:null}const ue=re({"\u0275prov":re}),ce=re({"\u0275inj":re}),he=re({"\u0275provFallback":re}),de=re({ngInjectableDef:re}),fe=re({ngInjectorDef:re});function pe(e){if("string"==typeof e)return e;if(Array.isArray(e))return"["+e.map(pe).join(", ")+"]";if(null==e)return""+e;if(e.overriddenName)return""+e.overriddenName;if(e.name)return""+e.name;const t=e.toString();if(null==t)return""+t;const n=t.indexOf("\n");return-1===n?t:t.substring(0,n)}function me(e,t){return null==e||""===e?null===t?"":t:null==t||""===t?e:e+" "+t}const ge=re({__forward_ref__:re});function ye(e){return e.__forward_ref__=ye,e.toString=function(){return pe(this())},e}function _e(e){return"function"==typeof(t=e)&&t.hasOwnProperty(ge)&&t.__forward_ref__===ye?e():e;var t}const be="undefined"!=typeof globalThis&&globalThis,we="undefined"!=typeof window&&window,ve="undefined"!=typeof self&&"undefined"!=typeof WorkerGlobalScope&&self instanceof WorkerGlobalScope&&self,Ce="undefined"!=typeof global&&global,Ee=be||Ce||we||ve,xe=re({"\u0275cmp":re}),Te=re({"\u0275dir":re}),ke=re({"\u0275pipe":re}),Se=re({"\u0275mod":re}),Ie=re({"\u0275loc":re}),Ae=re({"\u0275fac":re}),De=re({__NG_ELEMENT_ID__:re});class Oe{constructor(e,t){this._desc=e,this.ngMetadataName="InjectionToken",this.\u0275prov=void 0,"number"==typeof t?this.__NG_ELEMENT_ID__=t:void 0!==t&&(this.\u0275prov=se({token:this,providedIn:t.providedIn||"root",factory:t.factory}))}toString(){return"InjectionToken "+this._desc}}const Ne=new Oe("INJECTOR",-1),je={},Me=/\n/gm,Re="__source",Pe=re({provide:String,useValue:re});let He,Fe=void 0;function Ve(e){const t=Fe;return Fe=e,t}function Le(e){const t=He;return He=e,t}function ze(e,t=ne.Default){if(void 0===Fe)throw new Error("inject() must be called from an injection context");return null===Fe?Ue(e,void 0,t):Fe.get(e,t&ne.Optional?null:void 0,t)}function Be(e,t=ne.Default){return(He||ze)(_e(e),t)}function Ue(e,t,n){const r=ie(e);if(r&&"root"==r.providedIn)return void 0===r.value?r.value=r.factory():r.value;if(n&ne.Optional)return null;if(void 0!==t)return t;throw new Error(`Injector: NOT_FOUND [${pe(e)}]`)}function $e(e){const t=[];for(let n=0;n<e.length;n++){const r=_e(e[n]);if(Array.isArray(r)){if(0===r.length)throw new Error("Arguments array must have arguments.");let e=void 0,n=ne.Default;for(let t=0;t<r.length;t++){const s=r[t];s instanceof X||"Optional"===s.ngMetadataName||s===X?n|=ne.Optional:s instanceof te||"SkipSelf"===s.ngMetadataName||s===te?n|=ne.SkipSelf:s instanceof ee||"Self"===s.ngMetadataName||s===ee?n|=ne.Self:e=s instanceof Q||s===Q?s.token:s}t.push(Be(e,n))}else t.push(Be(r))}return t}class Ze{get(e,t=je){if(t===je){const t=new Error(`NullInjectorError: No provider for ${pe(e)}!`);throw t.name="NullInjectorError",t}return t}}class Je{}function Ye(e,t){e.forEach(e=>Array.isArray(e)?Ye(e,t):t(e))}function qe(e,t,n){t>=e.length?e.push(n):e.splice(t,0,n)}function We(e,t){return t>=e.length-1?e.pop():e.splice(t,1)[0]}var Ge=function(e){return e[e.OnPush=0]="OnPush",e[e.Default=1]="Default",e}({}),Ke=function(e){return e[e.Emulated=0]="Emulated",e[e.Native=1]="Native",e[e.None=2]="None",e[e.ShadowDom=3]="ShadowDom",e}({});const Qe={},Xe=[];let et=0;function tt(e){return W(()=>{const t={},n={type:e.type,providersResolver:null,decls:e.decls,vars:e.vars,factory:null,template:e.template||null,consts:e.consts||null,ngContentSelectors:e.ngContentSelectors,hostBindings:e.hostBindings||null,hostVars:e.hostVars||0,hostAttrs:e.hostAttrs||null,contentQueries:e.contentQueries||null,declaredInputs:t,inputs:null,outputs:null,exportAs:e.exportAs||null,onPush:e.changeDetection===Ge.OnPush,directiveDefs:null,pipeDefs:null,selectors:e.selectors||Xe,viewQuery:e.viewQuery||null,features:e.features||null,data:e.data||{},encapsulation:e.encapsulation||Ke.Emulated,id:"c",styles:e.styles||Xe,_:null,setInput:null,schemas:e.schemas||null,tView:null},r=e.directives,s=e.features,o=e.pipes;return n.id+=et++,n.inputs=it(e.inputs,t),n.outputs=it(e.outputs),s&&s.forEach(e=>e(n)),n.directiveDefs=r?()=>("function"==typeof r?r():r).map(nt):null,n.pipeDefs=o?()=>("function"==typeof o?o():o).map(rt):null,n})}function nt(e){return at(e)||function(e){return e[Te]||null}(e)}function rt(e){return function(e){return e[ke]||null}(e)}const st={};function ot(e){const t={type:e.type,bootstrap:e.bootstrap||Xe,declarations:e.declarations||Xe,imports:e.imports||Xe,exports:e.exports||Xe,transitiveCompileScopes:null,schemas:e.schemas||null,id:e.id||null};return null!=e.id&&W(()=>{st[e.id]=e.type}),t}function it(e,t){if(null==e)return Qe;const n={};for(const r in e)if(e.hasOwnProperty(r)){let s=e[r],o=s;Array.isArray(s)&&(o=s[1],s=s[0]),n[s]=r,t&&(t[s]=o)}return n}const lt=tt;function at(e){return e[xe]||null}function ut(e,t){return e.hasOwnProperty(Ae)?e[Ae]:null}function ct(e,t){const n=e[Se]||null;if(!n&&!0===t)throw new Error(`Type ${pe(e)} does not have '\u0275mod' property.`);return n}const ht=20,dt=10;function ft(e){return Array.isArray(e)&&"object"==typeof e[1]}function pt(e){return Array.isArray(e)&&!0===e[1]}function mt(e){return 0!=(8&e.flags)}function gt(e){return 2==(2&e.flags)}function yt(e){return 1==(1&e.flags)}function _t(e){return null!==e.template}function bt(e){return 0!=(512&e[2])}class wt{constructor(e,t,n){this.previousValue=e,this.currentValue=t,this.firstChange=n}isFirstChange(){return this.firstChange}}function vt(){return Ct}function Ct(e){return e.type.prototype.ngOnChanges&&(e.setInput=xt),Et}function Et(){const e=Tt(this),t=null==e?void 0:e.current;if(t){const n=e.previous;if(n===Qe)e.previous=t;else for(let e in t)n[e]=t[e];e.current=null,this.ngOnChanges(t)}}function xt(e,t,n,r){const s=Tt(e)||function(e,t){return e.__ngSimpleChanges__=t}(e,{previous:Qe,current:null}),o=s.current||(s.current={}),i=s.previous,l=this.declaredInputs[n],a=i[l];o[l]=new wt(a&&a.currentValue,t,i===Qe),e[r]=t}function Tt(e){return e.__ngSimpleChanges__||null}vt.ngInherit=!0;let kt=void 0;function St(){return void 0!==kt?kt:"undefined"!=typeof document?document:void 0}function It(e){return!!e.listen}const At={createRenderer:(e,t)=>St()};function Dt(e){for(;Array.isArray(e);)e=e[0];return e}function Ot(e,t){return Dt(t[e.index])}function Nt(e,t){return e.data[t+ht]}function jt(e,t){const n=t[e];return ft(n)?n:n[0]}function Mt(e){const t=function(e){return e.__ngContext__||null}(e);return t?Array.isArray(t)?t:t.lView:null}function Rt(e){return 128==(128&e[2])}function Pt(e,t){return null===e||null==t?null:e[t]}function Ht(e){e[18]=0}function Ft(e,t){e[5]+=t;let n=e,r=e[3];for(;null!==r&&(1===t&&1===n[5]||-1===t&&0===n[5]);)r[5]+=t,n=r,r=r[3]}const Vt={lFrame:tn(null),bindingsEnabled:!0,checkNoChangesMode:!1};function Lt(){return Vt.lFrame.lView}function zt(){return Vt.lFrame.tView}function Bt(e){Vt.lFrame.contextLView=e}function Ut(){return Vt.lFrame.currentTNode}function $t(e,t){Vt.lFrame.currentTNode=e,Vt.lFrame.isParent=t}function Zt(){return Vt.lFrame.isParent}function Jt(){return Vt.checkNoChangesMode}function Yt(e){Vt.checkNoChangesMode=e}function qt(){return Vt.lFrame.bindingIndex++}function Wt(e,t){const n=Vt.lFrame;n.bindingIndex=n.bindingRootIndex=e,Gt(t)}function Gt(e){Vt.lFrame.currentDirectiveIndex=e}function Kt(e){Vt.lFrame.currentQueryIndex=e}function Qt(e,t){const n=en();Vt.lFrame=n,n.currentTNode=t,n.lView=e}function Xt(e){const t=en(),n=e[1];Vt.lFrame=t,t.currentTNode=n.firstChild,t.lView=e,t.tView=n,t.contextLView=e,t.bindingIndex=n.bindingStartIndex}function en(){const e=Vt.lFrame,t=null===e?null:e.child;return null===t?tn(e):t}function tn(e){const t={currentTNode:null,isParent:!0,lView:null,tView:null,selectedIndex:0,contextLView:null,elementDepthCount:0,currentNamespace:null,currentDirectiveIndex:-1,bindingRootIndex:-1,bindingIndex:-1,currentQueryIndex:0,parent:e,child:null};return null!==e&&(e.child=t),t}function nn(){const e=Vt.lFrame;return Vt.lFrame=e.parent,e.currentTNode=null,e.lView=null,e}const rn=nn;function sn(){const e=nn();e.isParent=!0,e.tView=null,e.selectedIndex=0,e.contextLView=null,e.elementDepthCount=0,e.currentDirectiveIndex=-1,e.currentNamespace=null,e.bindingRootIndex=-1,e.bindingIndex=-1,e.currentQueryIndex=0}function on(){return Vt.lFrame.selectedIndex}function ln(e){Vt.lFrame.selectedIndex=e}function an(){const e=Vt.lFrame;return Nt(e.tView,e.selectedIndex)}function un(e,t){for(let n=t.directiveStart,r=t.directiveEnd;n<r;n++){const t=e.data[n].type.prototype,{ngAfterContentInit:r,ngAfterContentChecked:s,ngAfterViewInit:o,ngAfterViewChecked:i,ngOnDestroy:l}=t;r&&(e.contentHooks||(e.contentHooks=[])).push(-n,r),s&&((e.contentHooks||(e.contentHooks=[])).push(n,s),(e.contentCheckHooks||(e.contentCheckHooks=[])).push(n,s)),o&&(e.viewHooks||(e.viewHooks=[])).push(-n,o),i&&((e.viewHooks||(e.viewHooks=[])).push(n,i),(e.viewCheckHooks||(e.viewCheckHooks=[])).push(n,i)),null!=l&&(e.destroyHooks||(e.destroyHooks=[])).push(n,l)}}function cn(e,t,n){fn(e,t,3,n)}function hn(e,t,n,r){(3&e[2])===n&&fn(e,t,n,r)}function dn(e,t){let n=e[2];(3&n)===t&&(n&=2047,n+=1,e[2]=n)}function fn(e,t,n,r){const s=null!=r?r:-1;let o=0;for(let i=void 0!==r?65535&e[18]:0;i<t.length;i++)if("number"==typeof t[i+1]){if(o=t[i],null!=r&&o>=r)break}else t[i]<0&&(e[18]+=65536),(o<s||-1==s)&&(pn(e,n,t,i),e[18]=(4294901760&e[18])+i+2),i++}function pn(e,t,n,r){const s=n[r]<0,o=n[r+1],i=e[s?-n[r]:n[r]];s?e[2]>>11<e[18]>>16&&(3&e[2])===t&&(e[2]+=2048,o.call(i)):o.call(i)}const mn=-1;class gn{constructor(e,t,n){this.factory=e,this.resolving=!1,this.canSeeViewProviders=t,this.injectImpl=n}}function yn(e,t,n){const r=It(e);let s=0;for(;s<n.length;){const o=n[s];if("number"==typeof o){if(0!==o)break;s++;const i=n[s++],l=n[s++],a=n[s++];r?e.setAttribute(t,l,a,i):t.setAttributeNS(i,l,a)}else{const i=o,l=n[++s];_n(i)?r&&e.setProperty(t,i,l):r?e.setAttribute(t,i,l):t.setAttribute(i,l),s++}}return s}function _n(e){return 64===e.charCodeAt(0)}function bn(e,t){if(null===t||0===t.length);else if(null===e||0===e.length)e=t.slice();else{let n=-1;for(let r=0;r<t.length;r++){const s=t[r];"number"==typeof s?n=s:0===n||wn(e,n,s,null,-1===n||2===n?t[++r]:null)}}return e}function wn(e,t,n,r,s){let o=0,i=e.length;if(-1===t)i=-1;else for(;o<e.length;){const n=e[o++];if("number"==typeof n){if(n===t){i=-1;break}if(n>t){i=o-1;break}}}for(;o<e.length;){const t=e[o];if("number"==typeof t)break;if(t===n){if(null===r)return void(null!==s&&(e[o+1]=s));if(r===e[o+1])return void(e[o+2]=s)}o++,null!==r&&o++,null!==s&&o++}-1!==i&&(e.splice(i,0,t),o=i+1),e.splice(o++,0,n),null!==r&&e.splice(o++,0,r),null!==s&&e.splice(o++,0,s)}function vn(e){return e!==mn}function Cn(e){return 32767&e}function En(e,t){let n=e>>16,r=t;for(;n>0;)r=r[15],n--;return r}function xn(e){return"string"==typeof e?e:null==e?"":""+e}function Tn(e){return"function"==typeof e?e.name||e.toString():"object"==typeof e&&null!=e&&"function"==typeof e.type?e.type.name||e.type.toString():xn(e)}const kn=(()=>("undefined"!=typeof requestAnimationFrame&&requestAnimationFrame||setTimeout).bind(Ee))();function Sn(e){return e instanceof Function?e():e}let In=!0;function An(e){const t=In;return In=e,t}let Dn=0;function On(e,t){const n=jn(e,t);if(-1!==n)return n;const r=t[1];r.firstCreatePass&&(e.injectorIndex=t.length,Nn(r.data,e),Nn(t,null),Nn(r.blueprint,null));const s=Mn(e,t),o=e.injectorIndex;if(vn(s)){const e=Cn(s),n=En(s,t),r=n[1].data;for(let s=0;s<8;s++)t[o+s]=n[e+s]|r[e+s]}return t[o+8]=s,o}function Nn(e,t){e.push(0,0,0,0,0,0,0,0,t)}function jn(e,t){return-1===e.injectorIndex||e.parent&&e.parent.injectorIndex===e.injectorIndex||null===t[e.injectorIndex+8]?-1:e.injectorIndex}function Mn(e,t){if(e.parent&&-1!==e.parent.injectorIndex)return e.parent.injectorIndex;let n=0,r=null,s=t;for(;null!==s;){const e=s[1],t=e.type;if(r=2===t?e.declTNode:1===t?s[6]:null,null===r)return mn;if(n++,s=s[15],-1!==r.injectorIndex)return r.injectorIndex|n<<16}return mn}function Rn(e,t,n){!function(e,t,n){let r;"string"==typeof n?r=n.charCodeAt(0)||0:n.hasOwnProperty(De)&&(r=n[De]),null==r&&(r=n[De]=Dn++);const s=255&r,o=1<<s,i=64&s,l=32&s,a=t.data;128&s?i?l?a[e+7]|=o:a[e+6]|=o:l?a[e+5]|=o:a[e+4]|=o:i?l?a[e+3]|=o:a[e+2]|=o:l?a[e+1]|=o:a[e]|=o}(e,t,n)}function Pn(e,t,n,r=ne.Default,s){if(null!==e){const s=function(e){if("string"==typeof e)return e.charCodeAt(0)||0;const t=e.hasOwnProperty(De)?e[De]:void 0;return"number"==typeof t&&t>0?255&t:t}(n);if("function"==typeof s){Qt(t,e);try{const e=s();if(null!=e||r&ne.Optional)return e;throw new Error(`No provider for ${Tn(n)}!`)}finally{rn()}}else if("number"==typeof s){if(-1===s)return new Bn(e,t);let o=null,i=jn(e,t),l=mn,a=r&ne.Host?t[16][6]:null;for((-1===i||r&ne.SkipSelf)&&(l=-1===i?Mn(e,t):t[i+8],l!==mn&&zn(r,!1)?(o=t[1],i=Cn(l),t=En(l,t)):i=-1);-1!==i;){const e=t[1];if(Ln(s,i,e.data)){const e=Fn(i,t,n,o,r,a);if(e!==Hn)return e}l=t[i+8],l!==mn&&zn(r,t[1].data[i+8]===a)&&Ln(s,i,t)?(o=e,i=Cn(l),t=En(l,t)):i=-1}}}if(r&ne.Optional&&void 0===s&&(s=null),0==(r&(ne.Self|ne.Host))){const e=t[9],o=Le(void 0);try{return e?e.get(n,s,r&ne.Optional):Ue(n,s,r&ne.Optional)}finally{Le(o)}}if(r&ne.Optional)return s;throw new Error(`NodeInjector: NOT_FOUND [${Tn(n)}]`)}const Hn={};function Fn(e,t,n,r,s,o){const i=t[1],l=i.data[e+8],a=function(e,t,n,r,s){const o=e.providerIndexes,i=t.data,l=1048575&o,a=e.directiveStart,u=o>>20,c=s?l+u:e.directiveEnd;for(let h=r?l:l+u;h<c;h++){const e=i[h];if(h<a&&n===e||h>=a&&e.type===n)return h}if(s){const e=i[a];if(e&&_t(e)&&e.type===n)return a}return null}(l,i,n,null==r?gt(l)&&In:r!=i&&2===l.type,s&ne.Host&&o===l);return null!==a?Vn(t,i,a,l):Hn}function Vn(e,t,n,r){let s=e[n];const o=t.data;if(s instanceof gn){const i=s;if(i.resolving)throw new Error("Circular dep for "+Tn(o[n]));const l=An(i.canSeeViewProviders);i.resolving=!0;const a=i.injectImpl?Le(i.injectImpl):null;Qt(e,r);try{s=e[n]=i.factory(void 0,o,e,r),t.firstCreatePass&&n>=r.directiveStart&&function(e,t,n){const{ngOnChanges:r,ngOnInit:s,ngDoCheck:o}=t.type.prototype;if(r){const r=Ct(t);(n.preOrderHooks||(n.preOrderHooks=[])).push(e,r),(n.preOrderCheckHooks||(n.preOrderCheckHooks=[])).push(e,r)}s&&(n.preOrderHooks||(n.preOrderHooks=[])).push(0-e,s),o&&((n.preOrderHooks||(n.preOrderHooks=[])).push(e,o),(n.preOrderCheckHooks||(n.preOrderCheckHooks=[])).push(e,o))}(n,o[n],t)}finally{null!==a&&Le(a),An(l),i.resolving=!1,rn()}}return s}function Ln(e,t,n){const r=64&e,s=32&e;let o;return o=128&e?r?s?n[t+7]:n[t+6]:s?n[t+5]:n[t+4]:r?s?n[t+3]:n[t+2]:s?n[t+1]:n[t],!!(o&1<<e)}function zn(e,t){return!(e&ne.Self||e&ne.Host&&t)}class Bn{constructor(e,t){this._tNode=e,this._lView=t}get(e,t){return Pn(this._tNode,this._lView,e,void 0,t)}}function Un(e){return e.ngDebugContext}function $n(e){return e.ngOriginalError}function Zn(e,...t){e.error(...t)}class Jn{constructor(){this._console=console}handleError(e){const t=this._findOriginalError(e),n=this._findContext(e),r=function(e){return e.ngErrorLogger||Zn}(e);r(this._console,"ERROR",e),t&&r(this._console,"ORIGINAL ERROR",t),n&&r(this._console,"ERROR CONTEXT",n)}_findContext(e){return e?Un(e)?Un(e):this._findContext($n(e)):null}_findOriginalError(e){let t=$n(e);for(;t&&$n(t);)t=$n(t);return t}}class Yn{constructor(e){this.changingThisBreaksApplicationSecurity=e}toString(){return"SafeValue must use [property]=binding: "+this.changingThisBreaksApplicationSecurity+" (see http://g.co/ng/security#xss)"}}function qn(e){return e instanceof Yn?e.changingThisBreaksApplicationSecurity:e}function Wn(e,t){const n=function(e){return e instanceof Yn&&e.getTypeName()||null}(e);if(null!=n&&n!==t){if("ResourceURL"===n&&"URL"===t)return!0;throw new Error(`Required a safe ${t}, got a ${n} (see http://g.co/ng/security#xss)`)}return n===t}let Gn=!0,Kn=!1;function Qn(){return Kn=!0,Gn}class Xn{getInertBodyElement(e){e="<body><remove></remove>"+e;try{const t=(new window.DOMParser).parseFromString(e,"text/html").body;return t.removeChild(t.firstChild),t}catch(t){return null}}}class er{constructor(e){if(this.defaultDoc=e,this.inertDocument=this.defaultDoc.implementation.createHTMLDocument("sanitization-inert"),null==this.inertDocument.body){const e=this.inertDocument.createElement("html");this.inertDocument.appendChild(e);const t=this.inertDocument.createElement("body");e.appendChild(t)}}getInertBodyElement(e){const t=this.inertDocument.createElement("template");if("content"in t)return t.innerHTML=e,t;const n=this.inertDocument.createElement("body");return n.innerHTML=e,this.defaultDoc.documentMode&&this.stripCustomNsAttrs(n),n}stripCustomNsAttrs(e){const t=e.attributes;for(let r=t.length-1;0<r;r--){const n=t.item(r).name;"xmlns:ns1"!==n&&0!==n.indexOf("ns1:")||e.removeAttribute(n)}let n=e.firstChild;for(;n;)n.nodeType===Node.ELEMENT_NODE&&this.stripCustomNsAttrs(n),n=n.nextSibling}}const tr=/^(?:(?:https?|mailto|ftp|tel|file|sms):|[^&:/?#]*(?:[/?#]|$))/gi,nr=/^data:(?:image\/(?:bmp|gif|jpeg|jpg|png|tiff|webp)|video\/(?:mpeg|mp4|ogg|webm)|audio\/(?:mp3|oga|ogg|opus));base64,[a-z0-9+\/]+=*$/i;function rr(e){return(e=String(e)).match(tr)||e.match(nr)?e:(Qn()&&console.warn(`WARNING: sanitizing unsafe URL value ${e} (see http://g.co/ng/security#xss)`),"unsafe:"+e)}function sr(e){const t={};for(const n of e.split(","))t[n]=!0;return t}function or(...e){const t={};for(const n of e)for(const e in n)n.hasOwnProperty(e)&&(t[e]=!0);return t}const ir=sr("area,br,col,hr,img,wbr"),lr=sr("colgroup,dd,dt,li,p,tbody,td,tfoot,th,thead,tr"),ar=sr("rp,rt"),ur=or(ar,lr),cr=or(ir,or(lr,sr("address,article,aside,blockquote,caption,center,del,details,dialog,dir,div,dl,figure,figcaption,footer,h1,h2,h3,h4,h5,h6,header,hgroup,hr,ins,main,map,menu,nav,ol,pre,section,summary,table,ul")),or(ar,sr("a,abbr,acronym,audio,b,bdi,bdo,big,br,cite,code,del,dfn,em,font,i,img,ins,kbd,label,map,mark,picture,q,ruby,rp,rt,s,samp,small,source,span,strike,strong,sub,sup,time,track,tt,u,var,video")),ur),hr=sr("background,cite,href,itemtype,longdesc,poster,src,xlink:href"),dr=sr("srcset"),fr=or(hr,dr,sr("abbr,accesskey,align,alt,autoplay,axis,bgcolor,border,cellpadding,cellspacing,class,clear,color,cols,colspan,compact,controls,coords,datetime,default,dir,download,face,headers,height,hidden,hreflang,hspace,ismap,itemscope,itemprop,kind,label,lang,language,loop,media,muted,nohref,nowrap,open,preload,rel,rev,role,rows,rowspan,rules,scope,scrolling,shape,size,sizes,span,srclang,start,summary,tabindex,target,title,translate,type,usemap,valign,value,vspace,width"),sr("aria-activedescendant,aria-atomic,aria-autocomplete,aria-busy,aria-checked,aria-colcount,aria-colindex,aria-colspan,aria-controls,aria-current,aria-describedby,aria-details,aria-disabled,aria-dropeffect,aria-errormessage,aria-expanded,aria-flowto,aria-grabbed,aria-haspopup,aria-hidden,aria-invalid,aria-keyshortcuts,aria-label,aria-labelledby,aria-level,aria-live,aria-modal,aria-multiline,aria-multiselectable,aria-orientation,aria-owns,aria-placeholder,aria-posinset,aria-pressed,aria-readonly,aria-relevant,aria-required,aria-roledescription,aria-rowcount,aria-rowindex,aria-rowspan,aria-selected,aria-setsize,aria-sort,aria-valuemax,aria-valuemin,aria-valuenow,aria-valuetext")),pr=sr("script,style,template");class mr{constructor(){this.sanitizedSomething=!1,this.buf=[]}sanitizeChildren(e){let t=e.firstChild,n=!0;for(;t;)if(t.nodeType===Node.ELEMENT_NODE?n=this.startElement(t):t.nodeType===Node.TEXT_NODE?this.chars(t.nodeValue):this.sanitizedSomething=!0,n&&t.firstChild)t=t.firstChild;else for(;t;){t.nodeType===Node.ELEMENT_NODE&&this.endElement(t);let e=this.checkClobberedElement(t,t.nextSibling);if(e){t=e;break}t=this.checkClobberedElement(t,t.parentNode)}return this.buf.join("")}startElement(e){const t=e.nodeName.toLowerCase();if(!cr.hasOwnProperty(t))return this.sanitizedSomething=!0,!pr.hasOwnProperty(t);this.buf.push("<"),this.buf.push(t);const n=e.attributes;for(let s=0;s<n.length;s++){const e=n.item(s),t=e.name,o=t.toLowerCase();if(!fr.hasOwnProperty(o)){this.sanitizedSomething=!0;continue}let i=e.value;hr[o]&&(i=rr(i)),dr[o]&&(r=i,i=(r=String(r)).split(",").map(e=>rr(e.trim())).join(", ")),this.buf.push(" ",t,'="',_r(i),'"')}var r;return this.buf.push(">"),!0}endElement(e){const t=e.nodeName.toLowerCase();cr.hasOwnProperty(t)&&!ir.hasOwnProperty(t)&&(this.buf.push("</"),this.buf.push(t),this.buf.push(">"))}chars(e){this.buf.push(_r(e))}checkClobberedElement(e,t){if(t&&(e.compareDocumentPosition(t)&Node.DOCUMENT_POSITION_CONTAINED_BY)===Node.DOCUMENT_POSITION_CONTAINED_BY)throw new Error("Failed to sanitize html because the element is clobbered: "+e.outerHTML);return t}}const gr=/[\uD800-\uDBFF][\uDC00-\uDFFF]/g,yr=/([^\#-~ |!])/g;function _r(e){return e.replace(/&/g,"&").replace(gr,(function(e){return"&#"+(1024*(e.charCodeAt(0)-55296)+(e.charCodeAt(1)-56320)+65536)+";"})).replace(yr,(function(e){return"&#"+e.charCodeAt(0)+";"})).replace(/</g,"<").replace(/>/g,">")}let br;function wr(e){return"content"in e&&function(e){return e.nodeType===Node.ELEMENT_NODE&&"TEMPLATE"===e.nodeName}(e)?e.content:null}var vr=function(e){return e[e.NONE=0]="NONE",e[e.HTML=1]="HTML",e[e.STYLE=2]="STYLE",e[e.SCRIPT=3]="SCRIPT",e[e.URL=4]="URL",e[e.RESOURCE_URL=5]="RESOURCE_URL",e}({});function Cr(e){const t=xr();return t?t.sanitize(vr.HTML,e)||"":Wn(e,"HTML")?qn(e):function(e,t){let n=null;try{br=br||function(e){return function(){try{return!!(new window.DOMParser).parseFromString("","text/html")}catch(e){return!1}}()?new Xn:new er(e)}(e);let r=t?String(t):"";n=br.getInertBodyElement(r);let s=5,o=r;do{if(0===s)throw new Error("Failed to sanitize html because the input is unstable");s--,r=o,o=n.innerHTML,n=br.getInertBodyElement(r)}while(r!==o);const i=new mr,l=i.sanitizeChildren(wr(n)||n);return Qn()&&i.sanitizedSomething&&console.warn("WARNING: sanitizing HTML stripped some content, see http://g.co/ng/security#xss"),l}finally{if(n){const e=wr(n)||n;for(;e.firstChild;)e.removeChild(e.firstChild)}}}(St(),xn(e))}function Er(e){const t=xr();return t?t.sanitize(vr.URL,e)||"":Wn(e,"URL")?qn(e):rr(xn(e))}function xr(){const e=Lt();return e&&e[12]}function Tr(e,t){e.__ngContext__=t}function kr(e,t,n){let r=e.length;for(;;){const s=e.indexOf(t,n);if(-1===s)return s;if(0===s||e.charCodeAt(s-1)<=32){const n=t.length;if(s+n===r||e.charCodeAt(s+n)<=32)return s}n=s+1}}const Sr="ng-template";function Ir(e,t,n){let r=0;for(;r<e.length;){let s=e[r++];if(n&&"class"===s){if(s=e[r],-1!==kr(s.toLowerCase(),t,0))return!0}else if(1===s){for(;r<e.length&&"string"==typeof(s=e[r++]);)if(s.toLowerCase()===t)return!0;return!1}}return!1}function Ar(e){return 0===e.type&&e.tagName!==Sr}function Dr(e,t,n){return t===(0!==e.type||n?e.tagName:Sr)}function Or(e,t,n){let r=4;const s=e.attrs||[],o=function(e){for(let n=0;n<e.length;n++)if(3===(t=e[n])||4===t||6===t)return n;var t;return e.length}(s);let i=!1;for(let l=0;l<t.length;l++){const a=t[l];if("number"!=typeof a){if(!i)if(4&r){if(r=2|1&r,""!==a&&!Dr(e,a,n)||""===a&&1===t.length){if(Nr(r))return!1;i=!0}}else{const u=8&r?a:t[++l];if(8&r&&null!==e.attrs){if(!Ir(e.attrs,u,n)){if(Nr(r))return!1;i=!0}continue}const c=jr(8&r?"class":a,s,Ar(e),n);if(-1===c){if(Nr(r))return!1;i=!0;continue}if(""!==u){let e;e=c>o?"":s[c+1].toLowerCase();const t=8&r?e:null;if(t&&-1!==kr(t,u,0)||2&r&&u!==e){if(Nr(r))return!1;i=!0}}}}else{if(!i&&!Nr(r)&&!Nr(a))return!1;if(i&&Nr(a))continue;i=!1,r=a|1&r}}return Nr(r)||i}function Nr(e){return 0==(1&e)}function jr(e,t,n,r){if(null===t)return-1;let s=0;if(r||!n){let n=!1;for(;s<t.length;){const r=t[s];if(r===e)return s;if(3===r||6===r)n=!0;else{if(1===r||2===r){let e=t[++s];for(;"string"==typeof e;)e=t[++s];continue}if(4===r)break;if(0===r){s+=4;continue}}s+=n?1:2}return-1}return function(e,t){let n=e.indexOf(4);if(n>-1)for(n++;n<e.length;){const r=e[n];if("number"==typeof r)return-1;if(r===t)return n;n++}return-1}(t,e)}function Mr(e,t,n=!1){for(let r=0;r<t.length;r++)if(Or(e,t[r],n))return!0;return!1}function Rr(e,t){return e?":not("+t.trim()+")":t}function Pr(e){let t=e[0],n=1,r=2,s="",o=!1;for(;n<e.length;){let i=e[n];if("string"==typeof i)if(2&r){const t=e[++n];s+="["+i+(t.length>0?'="'+t+'"':"")+"]"}else 8&r?s+="."+i:4&r&&(s+=" "+i);else""===s||Nr(i)||(t+=Rr(o,s),s=""),r=i,o=o||!Nr(r);n++}return""!==s&&(t+=Rr(o,s)),t}const Hr={};function Fr(e){const t=e[3];return pt(t)?t[3]:t}function Vr(e){return zr(e[13])}function Lr(e){return zr(e[4])}function zr(e){for(;null!==e&&!pt(e);)e=e[4];return e}function Br(e){Ur(zt(),Lt(),on()+e,Jt())}function Ur(e,t,n,r){if(!r)if(3==(3&t[2])){const r=e.preOrderCheckHooks;null!==r&&cn(t,r,n)}else{const r=e.preOrderHooks;null!==r&&hn(t,r,0,n)}ln(n)}function $r(e,t){const n=e.contentQueries;if(null!==n)for(let r=0;r<n.length;r+=2){const s=n[r],o=n[r+1];if(-1!==o){const n=e.data[o];Kt(s),n.contentQueries(2,t[o],o)}}}function Zr(e,t,n){return It(t)?t.createElement(e,n):null===n?t.createElement(e):t.createElementNS(n,e)}function Jr(e,t,n,r,s,o,i,l,a,u){const c=t.blueprint.slice();return c[0]=s,c[2]=140|r,Ht(c),c[3]=c[15]=e,c[8]=n,c[10]=i||e&&e[10],c[11]=l||e&&e[11],c[12]=a||e&&e[12]||null,c[9]=u||e&&e[9]||null,c[6]=o,c[16]=2==t.type?e[16]:c,c}function Yr(e,t,n,r,s){const o=t+ht,i=e.data[o]||function(e,t,n,r,s){const o=Ut(),i=Zt(),l=e.data[t]=function(e,t,n,r,s,o){return{type:n,index:r,injectorIndex:t?t.injectorIndex:-1,directiveStart:-1,directiveEnd:-1,directiveStylingLast:-1,propertyBindings:null,flags:0,providerIndexes:0,tagName:s,attrs:o,mergedAttrs:null,localNames:null,initialInputs:void 0,inputs:null,outputs:null,tViews:null,next:null,projectionNext:null,child:null,parent:t,projection:null,styles:null,stylesWithoutHost:null,residualStyles:void 0,classes:null,classesWithoutHost:null,residualClasses:void 0,classBindings:0,styleBindings:0}}(0,i?o:o&&o.parent,n,t,r,s);return null===e.firstChild&&(e.firstChild=l),null!==o&&(i&&null==o.child&&null!==l.parent?o.child=l:i||(o.next=l)),l}(e,o,n,r,s);return $t(i,!0),i}function qr(e,t,n){Xt(t);try{const r=e.viewQuery;null!==r&&Es(1,r,n);const s=e.template;null!==s&&Kr(e,t,s,1,n),e.firstCreatePass&&(e.firstCreatePass=!1),e.staticContentQueries&&$r(e,t),e.staticViewQueries&&Es(2,e.viewQuery,n);const o=e.components;null!==o&&function(e,t){for(let n=0;n<t.length;n++)_s(e,t[n])}(t,o)}catch(r){throw e.firstCreatePass&&(e.incompleteFirstPass=!0),r}finally{t[2]&=-5,sn()}}function Wr(e,t,n,r){const s=t[2];if(256==(256&s))return;Xt(t);const o=Jt();try{Ht(t),Vt.lFrame.bindingIndex=e.bindingStartIndex,null!==n&&Kr(e,t,n,2,r);const i=3==(3&s);if(!o)if(i){const n=e.preOrderCheckHooks;null!==n&&cn(t,n,null)}else{const n=e.preOrderHooks;null!==n&&hn(t,n,0,null),dn(t,0)}if(function(e){for(let t=Vr(e);null!==t;t=Lr(t)){if(!t[2])continue;const e=t[9];for(let t=0;t<e.length;t++){const n=e[t],r=n[3];0==(1024&n[2])&&Ft(r,1),n[2]|=1024}}}(t),function(e){for(let t=Vr(e);null!==t;t=Lr(t))for(let e=dt;e<t.length;e++){const n=t[e],r=n[1];Rt(n)&&Wr(r,n,r.template,n[8])}}(t),null!==e.contentQueries&&$r(e,t),!o)if(i){const n=e.contentCheckHooks;null!==n&&cn(t,n)}else{const n=e.contentHooks;null!==n&&hn(t,n,1),dn(t,1)}!function(e,t){try{const n=e.expandoInstructions;if(null!==n){let r=e.expandoStartIndex,s=-1,o=-1;for(let e=0;e<n.length;e++){const i=n[e];"number"==typeof i?i<=0?(o=0-i,ln(o),r+=9+n[++e],s=r):r+=i:(null!==i&&(Wt(r,s),i(2,t[s])),s++)}}}finally{ln(-1)}}(e,t);const l=e.components;null!==l&&function(e,t){for(let n=0;n<t.length;n++)ys(e,t[n])}(t,l);const a=e.viewQuery;if(null!==a&&Es(2,a,r),!o)if(i){const n=e.viewCheckHooks;null!==n&&cn(t,n)}else{const n=e.viewHooks;null!==n&&hn(t,n,2),dn(t,2)}!0===e.firstUpdatePass&&(e.firstUpdatePass=!1),o||(t[2]&=-73),1024&t[2]&&(t[2]&=-1025,Ft(t[3],-1))}finally{sn()}}function Gr(e,t,n,r){const s=t[10],o=!Jt(),i=4==(4&t[2]);try{o&&!i&&s.begin&&s.begin(),i&&qr(e,t,r),Wr(e,t,n,r)}finally{o&&!i&&s.end&&s.end()}}function Kr(e,t,n,r,s){const o=on();try{ln(-1),2&r&&t.length>ht&&Ur(e,t,0,Jt()),n(r,s)}finally{ln(o)}}function Qr(e,t,n){!function(e,t,n,r){const s=n.directiveStart,o=n.directiveEnd;e.firstCreatePass||On(n,t),Tr(r,t);const i=n.initialInputs;for(let l=s;l<o;l++){const r=e.data[l],o=_t(r);o&&fs(t,n,r);const a=Vn(t,e,l,n);Tr(a,t),null!==i&&ps(0,l-s,a,r,0,i),o&&(jt(n.index,t)[8]=a)}}(e,t,n,Ot(n,t)),128==(128&n.flags)&&function(e,t,n){const r=n.directiveStart,s=n.directiveEnd,o=e.expandoInstructions,i=e.firstCreatePass,l=n.index-ht,a=Vt.lFrame.currentDirectiveIndex;try{ln(l);for(let n=r;n<s;n++){const r=e.data[n],s=t[n];Gt(n),null!==r.hostBindings||0!==r.hostVars||null!==r.hostAttrs?ls(r,s):i&&o.push(null)}}finally{ln(-1),Gt(a)}}(e,t,n)}function Xr(e,t,n=Ot){const r=t.localNames;if(null!==r){let s=t.index+1;for(let o=0;o<r.length;o+=2){const i=r[o+1],l=-1===i?n(t,e):e[i];e[s++]=l}}}function es(e){const t=e.tView;return null===t||t.incompleteFirstPass?e.tView=ts(1,null,e.template,e.decls,e.vars,e.directiveDefs,e.pipeDefs,e.viewQuery,e.schemas,e.consts):t}function ts(e,t,n,r,s,o,i,l,a,u){const c=ht+r,h=c+s,d=function(e,t){const n=[];for(let r=0;r<t;r++)n.push(r<e?null:Hr);return n}(c,h),f="function"==typeof u?u():u;return d[1]={type:e,blueprint:d,template:n,queries:null,viewQuery:l,declTNode:t,data:d.slice().fill(null,c),bindingStartIndex:c,expandoStartIndex:h,expandoInstructions:null,firstCreatePass:!0,firstUpdatePass:!0,staticViewQueries:!1,staticContentQueries:!1,preOrderHooks:null,preOrderCheckHooks:null,contentHooks:null,contentCheckHooks:null,viewHooks:null,viewCheckHooks:null,destroyHooks:null,cleanup:null,contentQueries:null,components:null,directiveRegistry:"function"==typeof o?o():o,pipeRegistry:"function"==typeof i?i():i,firstChild:null,schemas:a,consts:f,incompleteFirstPass:!1}}function ns(e,t,n){for(let r in e)if(e.hasOwnProperty(r)){const s=e[r];(n=null===n?{}:n).hasOwnProperty(r)?n[r].push(t,s):n[r]=[t,s]}return n}function rs(e,t,n,r,s,o,i,l){const a=Ot(t,n);let u,c=t.inputs;var h;!l&&null!=c&&(u=c[r])?(Ss(e,n,u,r,s),gt(t)&&function(e,t){const n=jt(t,e);16&n[2]||(n[2]|=64)}(n,t.index)):2===t.type&&(r="class"===(h=r)?"className":"for"===h?"htmlFor":"formaction"===h?"formAction":"innerHtml"===h?"innerHTML":"readonly"===h?"readOnly":"tabindex"===h?"tabIndex":h,s=null!=i?i(s,t.tagName||"",r):s,It(o)?o.setProperty(a,r,s):_n(r)||(a.setProperty?a.setProperty(r,s):a[r]=s))}function ss(e,t,n,r){let s=!1;{const o=function(e,t,n){const r=e.directiveRegistry;let s=null;if(r)for(let o=0;o<r.length;o++){const i=r[o];Mr(n,i.selectors,!1)&&(s||(s=[]),Rn(On(n,t),e,i.type),_t(i)?(us(e,n),s.unshift(i)):s.push(i))}return s}(e,t,n),i=null===r?null:{"":-1};if(null!==o){let r=0;s=!0,hs(n,e.data.length,o.length);for(let e=0;e<o.length;e++){const t=o[e];t.providersResolver&&t.providersResolver(t)}as(e,n,o.length);let l=!1,a=!1;for(let s=0;s<o.length;s++){const u=o[s];n.mergedAttrs=bn(n.mergedAttrs,u.hostAttrs),ds(e,t,u),cs(e.data.length-1,u,i),null!==u.contentQueries&&(n.flags|=8),null===u.hostBindings&&null===u.hostAttrs&&0===u.hostVars||(n.flags|=128);const c=u.type.prototype;!l&&(c.ngOnChanges||c.ngOnInit||c.ngDoCheck)&&((e.preOrderHooks||(e.preOrderHooks=[])).push(n.index-ht),l=!0),a||!c.ngOnChanges&&!c.ngDoCheck||((e.preOrderCheckHooks||(e.preOrderCheckHooks=[])).push(n.index-ht),a=!0),os(e,u),r+=u.hostVars}!function(e,t){const n=t.directiveEnd,r=e.data,s=t.attrs,o=[];let i=null,l=null;for(let a=t.directiveStart;a<n;a++){const e=r[a],n=e.inputs,u=null===s||Ar(t)?null:ms(n,s);o.push(u),i=ns(n,a,i),l=ns(e.outputs,a,l)}null!==i&&(i.hasOwnProperty("class")&&(t.flags|=16),i.hasOwnProperty("style")&&(t.flags|=32)),t.initialInputs=o,t.inputs=i,t.outputs=l}(e,n),is(e,t,r)}i&&function(e,t,n){if(t){const r=e.localNames=[];for(let e=0;e<t.length;e+=2){const s=n[t[e+1]];if(null==s)throw new Error(`Export of name '${t[e+1]}' not found!`);r.push(t[e],s)}}}(n,r,i)}return n.mergedAttrs=bn(n.mergedAttrs,n.attrs),s}function os(e,t){const n=e.expandoInstructions;n.push(t.hostBindings),0!==t.hostVars&&n.push(t.hostVars)}function is(e,t,n){for(let r=0;r<n;r++)t.push(Hr),e.blueprint.push(Hr),e.data.push(null)}function ls(e,t){null!==e.hostBindings&&e.hostBindings(1,t)}function as(e,t,n){const r=ht-t.index,s=e.data.length-(1048575&t.providerIndexes);(e.expandoInstructions||(e.expandoInstructions=[])).push(r,s,n)}function us(e,t){t.flags|=2,(e.components||(e.components=[])).push(t.index)}function cs(e,t,n){if(n){if(t.exportAs)for(let r=0;r<t.exportAs.length;r++)n[t.exportAs[r]]=e;_t(t)&&(n[""]=e)}}function hs(e,t,n){e.flags|=1,e.directiveStart=t,e.directiveEnd=t+n,e.providerIndexes=t}function ds(e,t,n){e.data.push(n);const r=n.factory||(n.factory=ut(n.type)),s=new gn(r,_t(n),null);e.blueprint.push(s),t.push(s)}function fs(e,t,n){const r=Ot(t,e),s=es(n),o=e[10],i=bs(e,Jr(e,s,null,n.onPush?64:16,r,t,o,o.createRenderer(r,n),null,null));e[t.index]=i}function ps(e,t,n,r,s,o){const i=o[t];if(null!==i){const e=r.setInput;for(let t=0;t<i.length;){const s=i[t++],o=i[t++],l=i[t++];null!==e?r.setInput(n,l,s,o):n[o]=l}}}function ms(e,t){let n=null,r=0;for(;r<t.length;){const s=t[r];if(0!==s)if(5!==s){if("number"==typeof s)break;e.hasOwnProperty(s)&&(null===n&&(n=[]),n.push(s,e[s],t[r+1])),r+=2}else r+=2;else r+=4}return n}function gs(e,t,n,r){return new Array(e,!0,!1,t,null,0,r,n,null,null)}function ys(e,t){const n=jt(t,e);if(Rt(n)){const e=n[1];80&n[2]?Wr(e,n,e.template,n[8]):n[5]>0&&function e(t){for(let r=Vr(t);null!==r;r=Lr(r))for(let t=dt;t<r.length;t++){const n=r[t];if(1024&n[2]){const e=n[1];Wr(e,n,e.template,n[8])}else n[5]>0&&e(n)}const n=t[1].components;if(null!==n)for(let r=0;r<n.length;r++){const s=jt(n[r],t);Rt(s)&&s[5]>0&&e(s)}}(n)}}function _s(e,t){const n=jt(t,e),r=n[1];!function(e,t){for(let n=t.length;n<e.blueprint.length;n++)t.push(e.blueprint[n])}(r,n),qr(r,n,n[8])}function bs(e,t){return e[13]?e[14][4]=t:e[13]=t,e[14]=t,t}function ws(e){for(;e;){e[2]|=64;const t=Fr(e);if(bt(e)&&!t)return e;e=t}return null}function vs(e,t,n){const r=t[10];r.begin&&r.begin();try{Wr(e,t,e.template,n)}catch(s){throw ks(t,s),s}finally{r.end&&r.end()}}function Cs(e){!function(e){for(let t=0;t<e.components.length;t++){const n=e.components[t],r=Mt(n),s=r[1];Gr(s,r,s.template,n)}}(e[8])}function Es(e,t,n){Kt(0),t(e,n)}const xs=(()=>Promise.resolve(null))();function Ts(e){return e[7]||(e[7]=[])}function ks(e,t){const n=e[9],r=n?n.get(Jn,null):null;r&&r.handleError(t)}function Ss(e,t,n,r,s){for(let o=0;o<n.length;){const i=n[o++],l=n[o++],a=t[i],u=e.data[i];null!==u.setInput?u.setInput(a,s,r,l):a[l]=s}}function Is(e,t,n,r,s){if(null!=r){let o,i=!1;pt(r)?o=r:ft(r)&&(i=!0,r=r[0]);const l=Dt(r);0===e&&null!==n?null==s?Ms(t,n,l):js(t,n,l,s||null):1===e&&null!==n?js(t,n,l,s||null):2===e?function(e,t,n){const r=Ps(e,t);r&&function(e,t,n,r){It(e)?e.removeChild(t,n,r):t.removeChild(n)}(e,r,t,n)}(t,l,i):3===e&&t.destroyNode(l),null!=o&&function(e,t,n,r,s){const o=n[7];o!==Dt(n)&&Is(t,e,r,o,s);for(let i=dt;i<n.length;i++){const s=n[i];Vs(s[1],s,e,t,r,o)}}(t,e,o,n,s)}}function As(e,t){const n=e[9],r=n.indexOf(t),s=t[3];1024&t[2]&&(t[2]&=-1025,Ft(s,-1)),n.splice(r,1)}function Ds(e,t){if(e.length<=dt)return;const n=dt+t,r=e[n];if(r){const o=r[17];null!==o&&o!==e&&As(o,r),t>0&&(e[n-1][4]=r[4]);const i=We(e,dt+t);Vs(r[1],s=r,s[11],2,null,null),s[0]=null,s[6]=null;const l=i[19];null!==l&&l.detachView(i[1]),r[3]=null,r[4]=null,r[2]&=-129}var s;return r}function Os(e,t){if(!(256&t[2])){const n=t[11];It(n)&&n.destroyNode&&Vs(e,t,n,3,null,null),function(e){let t=e[13];if(!t)return Ns(e[1],e);for(;t;){let n=null;if(ft(t))n=t[13];else{const e=t[10];e&&(n=e)}if(!n){for(;t&&!t[4]&&t!==e;)ft(t)&&Ns(t[1],t),t=t[3];null===t&&(t=e),ft(t)&&Ns(t[1],t),n=t&&t[4]}t=n}}(t)}}function Ns(e,t){if(!(256&t[2])){t[2]&=-129,t[2]|=256,function(e,t){let n;if(null!=e&&null!=(n=e.destroyHooks))for(let r=0;r<n.length;r+=2){const e=t[n[r]];if(!(e instanceof gn)){const t=n[r+1];if(Array.isArray(t))for(let n=0;n<t.length;n+=2)t[n+1].call(e[t[n]]);else t.call(e)}}}(e,t),function(e,t){const n=e.cleanup;if(null!==n){const e=t[7];for(let r=0;r<n.length-1;r+=2)if("string"==typeof n[r]){const s=n[r+1],o="function"==typeof s?s(t):Dt(t[s]),i=e[n[r+2]],l=n[r+3];"boolean"==typeof l?o.removeEventListener(n[r],i,l):l>=0?e[l]():e[-l].unsubscribe(),r+=2}else n[r].call(e[n[r+1]]);t[7]=null}}(e,t),1===t[1].type&&It(t[11])&&t[11].destroy();const n=t[17];if(null!==n&&pt(t[3])){n!==t[3]&&As(n,t);const r=t[19];null!==r&&r.detachView(e)}}}function js(e,t,n,r){It(e)?e.insertBefore(t,n,r):t.insertBefore(n,r,!0)}function Ms(e,t,n){It(e)?e.appendChild(t,n):t.appendChild(n)}function Rs(e,t,n,r){null!==r?js(e,t,n,r):Ms(e,t,n)}function Ps(e,t){return It(e)?e.parentNode(t):t.parentNode}function Hs(e,t,n,r){const s=function(e,t,n){let r=t.parent;for(;null!=r&&(3===r.type||4===r.type);)r=(t=r).parent;if(null===r)return n[0];if(t&&4===t.type&&4&t.flags)return Ot(t,n).parentNode;if(2&r.flags){const t=e.data,n=t[t[r.index].directiveStart].encapsulation;if(n!==Ke.ShadowDom&&n!==Ke.Native)return null}return Ot(r,n)}(e,r,t);if(null!=s){const e=t[11],o=function(e,t){return 3===e.type||4===e.type?Ot(e,t):null}(r.parent||t[6],t);if(Array.isArray(n))for(let t=0;t<n.length;t++)Rs(e,s,n[t],o);else Rs(e,s,n,o)}}function Fs(e,t,n,r,s,o,i){for(;null!=n;){const l=r[n.index],a=n.type;i&&0===t&&(l&&Tr(Dt(l),r),n.flags|=4),64!=(64&n.flags)&&(3===a||4===a?(Fs(e,t,n.child,r,s,o,!1),Is(t,e,s,l,o)):1===a?Ls(e,t,r,n,s,o):Is(t,e,s,l,o)),n=i?n.projectionNext:n.next}}function Vs(e,t,n,r,s,o){Fs(n,r,e.firstChild,t,s,o,!1)}function Ls(e,t,n,r,s,o){const i=n[16],l=i[6].projection[r.projection];if(Array.isArray(l))for(let a=0;a<l.length;a++)Is(t,e,s,l[a],o);else Fs(e,t,l,i[3],s,o,!0)}function zs(e,t,n){It(e)?e.setAttribute(t,"style",n):t.style.cssText=n}function Bs(e,t,n){It(e)?""===n?e.removeAttribute(t,"class"):e.setAttribute(t,"class",n):t.className=n}class Us{constructor(e,t){this._lView=e,this._cdRefInjectingView=t,this._appRef=null,this._viewContainerRef=null}get rootNodes(){const e=this._lView,t=e[1];return function e(t,n,r,s,o=!1){for(;null!==r;){const i=n[r.index];if(null!==i&&s.push(Dt(i)),pt(i))for(let t=dt;t<i.length;t++){const n=i[t],r=n[1].firstChild;null!==r&&e(n[1],n,r,s)}const l=r.type;if(3===l||4===l)e(t,n,r.child,s);else if(1===l){const t=n[16],o=t[6].projection[r.projection];if(Array.isArray(o))s.push(...o);else{const n=Fr(t);e(n[1],n,o,s,!0)}}r=o?r.projectionNext:r.next}return s}(t,e,t.firstChild,[])}get context(){return this._lView[8]}get destroyed(){return 256==(256&this._lView[2])}destroy(){if(this._appRef)this._appRef.detachView(this);else if(this._viewContainerRef){const e=this._viewContainerRef.indexOf(this);e>-1&&this._viewContainerRef.detach(e),this._viewContainerRef=null}Os(this._lView[1],this._lView)}onDestroy(e){!function(e,t,n,r){const s=Ts(t);s.push(null),e.firstCreatePass&&function(e){return e.cleanup||(e.cleanup=[])}(e).push(r,s.length-1)}(this._lView[1],this._lView,0,e)}markForCheck(){ws(this._cdRefInjectingView||this._lView)}detach(){this._lView[2]&=-129}reattach(){this._lView[2]|=128}detectChanges(){vs(this._lView[1],this._lView,this.context)}checkNoChanges(){!function(e,t,n){Yt(!0);try{vs(e,t,n)}finally{Yt(!1)}}(this._lView[1],this._lView,this.context)}attachToViewContainerRef(e){if(this._appRef)throw new Error("This view is already attached directly to the ApplicationRef!");this._viewContainerRef=e}detachFromAppRef(){var e;this._appRef=null,Vs(this._lView[1],e=this._lView,e[11],2,null,null)}attachToAppRef(e){if(this._viewContainerRef)throw new Error("This view is already attached to a ViewContainer!");this._appRef=e}}class $s extends Us{constructor(e){super(e),this._view=e}detectChanges(){Cs(this._view)}checkNoChanges(){!function(e){Yt(!0);try{Cs(e)}finally{Yt(!1)}}(this._view)}get context(){return null}}let Zs,Js,Ys;function qs(e,t,n){return Zs||(Zs=class extends e{}),new Zs(Ot(t,n))}const Ws=new Oe("Set Injector scope."),Gs={},Ks={},Qs=[];let Xs=void 0;function eo(){return void 0===Xs&&(Xs=new Ze),Xs}function to(e,t=null,n=null,r){return new no(e,n,t||eo(),r)}class no{constructor(e,t,n,r=null){this.parent=n,this.records=new Map,this.injectorDefTypes=new Set,this.onDestroy=new Set,this._destroyed=!1;const s=[];t&&Ye(t,n=>this.processProvider(n,e,t)),Ye([e],e=>this.processInjectorType(e,[],s)),this.records.set(Ne,so(void 0,this));const o=this.records.get(Ws);this.scope=null!=o?o.value:null,this.source=r||("object"==typeof e?null:pe(e))}get destroyed(){return this._destroyed}destroy(){this.assertNotDestroyed(),this._destroyed=!0;try{this.onDestroy.forEach(e=>e.ngOnDestroy())}finally{this.records.clear(),this.onDestroy.clear(),this.injectorDefTypes.clear()}}get(e,t=je,n=ne.Default){this.assertNotDestroyed();const r=Ve(this);try{if(!(n&ne.SkipSelf)){let t=this.records.get(e);if(void 0===t){const n=("function"==typeof(s=e)||"object"==typeof s&&s instanceof Oe)&&ie(e);t=n&&this.injectableDefInScope(n)?so(ro(e),Gs):null,this.records.set(e,t)}if(null!=t)return this.hydrate(e,t)}return(n&ne.Self?eo():this.parent).get(e,t=n&ne.Optional&&t===je?null:t)}catch(o){if("NullInjectorError"===o.name){if((o.ngTempTokenPath=o.ngTempTokenPath||[]).unshift(pe(e)),r)throw o;return function(e,t,n,r){const s=e.ngTempTokenPath;throw t[Re]&&s.unshift(t[Re]),e.message=function(e,t,n,r=null){e=e&&"\n"===e.charAt(0)&&"\u0275"==e.charAt(1)?e.substr(2):e;let s=pe(t);if(Array.isArray(t))s=t.map(pe).join(" -> ");else if("object"==typeof t){let e=[];for(let n in t)if(t.hasOwnProperty(n)){let r=t[n];e.push(n+":"+("string"==typeof r?JSON.stringify(r):pe(r)))}s=`{${e.join(", ")}}`}return`${n}${r?"("+r+")":""}[${s}]: ${e.replace(Me,"\n ")}`}("\n"+e.message,s,"R3InjectorError",r),e.ngTokenPath=s,e.ngTempTokenPath=null,e}(o,e,0,this.source)}throw o}finally{Ve(r)}var s}_resolveInjectorDefTypes(){this.injectorDefTypes.forEach(e=>this.get(e))}toString(){const e=[];return this.records.forEach((t,n)=>e.push(pe(n))),`R3Injector[${e.join(", ")}]`}assertNotDestroyed(){if(this._destroyed)throw new Error("Injector has already been destroyed.")}processInjectorType(e,t,n){if(!(e=_e(e)))return!1;let r=ae(e);const s=null==r&&e.ngModule||void 0,o=void 0===s?e:s,i=-1!==n.indexOf(o);if(void 0!==s&&(r=ae(s)),null==r)return!1;if(null!=r.imports&&!i){let e;n.push(o);try{Ye(r.imports,r=>{this.processInjectorType(r,t,n)&&(void 0===e&&(e=[]),e.push(r))})}finally{}if(void 0!==e)for(let t=0;t<e.length;t++){const{ngModule:n,providers:r}=e[t];Ye(r,e=>this.processProvider(e,n,r||Qs))}}this.injectorDefTypes.add(o),this.records.set(o,so(r.factory,Gs));const l=r.providers;if(null!=l&&!i){const t=e;Ye(l,e=>this.processProvider(e,t,l))}return void 0!==s&&void 0!==e.providers}processProvider(e,t,n){let r=io(e=_e(e))?e:_e(e&&e.provide);const s=function(e,t,n){return oo(e)?so(void 0,e.useValue):so(function(e,t,n){let r=void 0;if(io(e)){const t=_e(e);return ut(t)||ro(t)}if(oo(e))r=()=>_e(e.useValue);else if((s=e)&&s.useFactory)r=()=>e.useFactory(...$e(e.deps||[]));else if(function(e){return!(!e||!e.useExisting)}(e))r=()=>Be(_e(e.useExisting));else{const t=_e(e&&(e.useClass||e.provide));if(!function(e){return!!e.deps}(e))return ut(t)||ro(t);r=()=>new t(...$e(e.deps))}var s;return r}(e),Gs)}(e);if(io(e)||!0!==e.multi)this.records.get(r);else{let t=this.records.get(r);t||(t=so(void 0,Gs,!0),t.factory=()=>$e(t.multi),this.records.set(r,t)),r=e,t.multi.push(e)}this.records.set(r,s)}hydrate(e,t){var n;return t.value===Gs&&(t.value=Ks,t.value=t.factory()),"object"==typeof t.value&&t.value&&null!==(n=t.value)&&"object"==typeof n&&"function"==typeof n.ngOnDestroy&&this.onDestroy.add(t.value),t.value}injectableDefInScope(e){return!!e.providedIn&&("string"==typeof e.providedIn?"any"===e.providedIn||e.providedIn===this.scope:this.injectorDefTypes.has(e.providedIn))}}function ro(e){const t=ie(e),n=null!==t?t.factory:ut(e);if(null!==n)return n;const r=ae(e);if(null!==r)return r.factory;if(e instanceof Oe)throw new Error(`Token ${pe(e)} is missing a \u0275prov definition.`);if(e instanceof Function)return function(e){const t=e.length;if(t>0){const n=function(e,t){const n=[];for(let r=0;r<e;r++)n.push("?");return n}(t);throw new Error(`Can't resolve all parameters for ${pe(e)}: (${n.join(", ")}).`)}const n=function(e){const t=e&&(e[ue]||e[de]||e[he]&&e[he]());if(t){const n=function(e){if(e.hasOwnProperty("name"))return e.name;const t=(""+e).match(/^function\s*([^\s(]+)/);return null===t?"":t[1]}(e);return console.warn(`DEPRECATED: DI is instantiating a token "${n}" that inherits its @Injectable decorator but does not provide one itself.\nThis will become an error in a future version of Angular. Please add @Injectable() to the "${n}" class.`),t}return null}(e);return null!==n?()=>n.factory(e):()=>new e}(e);throw new Error("unreachable")}function so(e,t,n=!1){return{factory:e,value:t,multi:n?[]:void 0}}function oo(e){return null!==e&&"object"==typeof e&&Pe in e}function io(e){return"function"==typeof e}const lo=function(e,t,n){return function(e,t=null,n=null,r){const s=to(e,t,n,r);return s._resolveInjectorDefTypes(),s}({name:n},t,e,n)};let ao=(()=>{class e{static create(e,t){return Array.isArray(e)?lo(e,t,""):lo(e.providers,e.parent,e.name||"")}}return e.THROW_IF_NOT_FOUND=je,e.NULL=new Ze,e.\u0275prov=se({token:e,providedIn:"any",factory:()=>Be(Ne)}),e.__NG_ELEMENT_ID__=-1,e})();function uo(e,t,n){let r=n?e.styles:null,s=n?e.classes:null,o=0;if(null!==t)for(let i=0;i<t.length;i++){const e=t[i];"number"==typeof e?o=e:1==o?s=me(s,e):2==o&&(r=me(r,e+": "+t[++i]+";"))}n?e.styles=r:e.stylesWithoutHost=r,n?e.classes=s:e.classesWithoutHost=s}function co(e,t){const n=Mt(e)[1],r=n.data.length-1;un(n,{directiveStart:r,directiveEnd:r+1})}let ho=null;function fo(){if(!ho){const e=Ee.Symbol;if(e&&e.iterator)ho=e.iterator;else{const e=Object.getOwnPropertyNames(Map.prototype);for(let t=0;t<e.length;++t){const n=e[t];"entries"!==n&&"size"!==n&&Map.prototype[n]===Map.prototype.entries&&(ho=n)}}}return ho}function po(e){return!!mo(e)&&(Array.isArray(e)||!(e instanceof Map)&&fo()in e)}function mo(e){return null!==e&&("function"==typeof e||"object"==typeof e)}function go(e,t,n){return!Object.is(e[t],n)&&(e[t]=n,!0)}function yo(e,t,n,r){return go(e,qt(),n)?t+xn(n)+r:Hr}function _o(e,t,n,r,s,o,i,l){const a=Lt(),u=zt(),c=e+ht,h=u.firstCreatePass?function(e,t,n,r,s,o,i,l,a){const u=t.consts,c=Yr(t,e,0,i||null,Pt(u,l));ss(t,n,c,Pt(u,a)),un(t,c);const h=c.tViews=ts(2,c,r,s,o,t.directiveRegistry,t.pipeRegistry,null,t.schemas,u);return null!==t.queries&&(t.queries.template(t,c),h.queries=t.queries.embeddedTView(c)),c}(e,u,a,t,n,r,s,o,i):u.data[c];$t(h,!1);const d=a[11].createComment("");Hs(u,a,d,h),Tr(d,a),bs(a,a[c]=gs(d,a,d,h)),yt(h)&&Qr(u,a,h),null!=i&&Xr(a,h,l)}function bo(e,t=ne.Default){const n=Lt();return null===n?Be(e,t):Pn(Ut(),n,_e(e),t)}function wo(e,t,n){const r=Lt();return go(r,qt(),t)&&rs(zt(),an(),r,e,t,r[11],n,!1),wo}function vo(e,t,n,r,s){const o=s?"class":"style";Ss(e,n,t.inputs[o],o,r)}function Co(e,t,n,r){const s=Lt(),o=zt(),i=ht+e,l=s[11],a=s[i]=Zr(t,l,Vt.lFrame.currentNamespace),u=o.firstCreatePass?function(e,t,n,r,s,o,i){const l=t.consts,a=Yr(t,e,2,s,Pt(l,o));return ss(t,n,a,Pt(l,i)),null!==a.attrs&&uo(a,a.attrs,!1),null!==a.mergedAttrs&&uo(a,a.mergedAttrs,!0),null!==t.queries&&t.queries.elementStart(t,a),a}(e,o,s,0,t,n,r):o.data[i];$t(u,!0);const c=u.mergedAttrs;null!==c&&yn(l,a,c);const h=u.classes;null!==h&&Bs(l,a,h);const d=u.styles;null!==d&&zs(l,a,d),Hs(o,s,a,u),0===Vt.lFrame.elementDepthCount&&Tr(a,s),Vt.lFrame.elementDepthCount++,yt(u)&&(Qr(o,s,u),function(e,t,n){if(mt(t)){const r=t.directiveEnd;for(let s=t.directiveStart;s<r;s++){const t=e.data[s];t.contentQueries&&t.contentQueries(1,n[s],s)}}}(o,u,s)),null!==r&&Xr(s,u)}function Eo(){let e=Ut();Zt()?Vt.lFrame.isParent=!1:(e=e.parent,$t(e,!1));const t=e;Vt.lFrame.elementDepthCount--;const n=zt();n.firstCreatePass&&(un(n,e),mt(e)&&n.queries.elementEnd(e)),null!=t.classesWithoutHost&&function(e){return 0!=(16&e.flags)}(t)&&vo(n,t,Lt(),t.classesWithoutHost,!0),null!=t.stylesWithoutHost&&function(e){return 0!=(32&e.flags)}(t)&&vo(n,t,Lt(),t.stylesWithoutHost,!1)}function xo(e,t,n,r){Co(e,t,n,r),Eo()}function To(){return Lt()}function ko(e){return!!e&&"function"==typeof e.then}function So(e,t,n=!1,r){const s=Lt(),o=zt(),i=Ut();return function(e,t,n,r,s,o,i=!1,l){const a=yt(r),u=e.firstCreatePass&&(e.cleanup||(e.cleanup=[])),c=Ts(t);let h=!0;if(2===r.type){const d=Ot(r,t),f=l?l(d):Qe,p=f.target||d,m=c.length,g=l?e=>l(Dt(e[r.index])).target:r.index;if(It(n)){let i=null;if(!l&&a&&(i=function(e,t,n,r){const s=e.cleanup;if(null!=s)for(let o=0;o<s.length-1;o+=2){const e=s[o];if(e===n&&s[o+1]===r){const e=t[7],n=s[o+2];return e.length>n?e[n]:null}"string"==typeof e&&(o+=2)}return null}(e,t,s,r.index)),null!==i)(i.__ngLastListenerFn__||i).__ngNextListenerFn__=o,i.__ngLastListenerFn__=o,h=!1;else{o=Ao(r,t,o,!1);const e=n.listen(f.name||p,s,o);c.push(o,e),u&&u.push(s,g,m,m+1)}}else o=Ao(r,t,o,!0),p.addEventListener(s,o,i),c.push(o),u&&u.push(s,g,m,i)}const d=r.outputs;let f;if(h&&null!==d&&(f=d[s])){const e=f.length;if(e)for(let n=0;n<e;n+=2){const e=t[f[n]][f[n+1]].subscribe(o),i=c.length;c.push(o,e),u&&u.push(s,r.index,i,-(i+1))}}}(o,s,s[11],i,e,t,n,r),So}function Io(e,t,n){try{return!1!==t(n)}catch(r){return ks(e,r),!1}}function Ao(e,t,n,r){return function s(o){if(o===Function)return n;const i=2&e.flags?jt(e.index,t):t;0==(32&t[2])&&ws(i);let l=Io(t,n,o),a=s.__ngNextListenerFn__;for(;a;)l=Io(t,a,o)&&l,a=a.__ngNextListenerFn__;return r&&!1===l&&(o.preventDefault(),o.returnValue=!1),l}}function Do(e=1){return function(e){return(Vt.lFrame.contextLView=function(e,t){for(;e>0;)t=t[15],e--;return t}(e,Vt.lFrame.contextLView))[8]}(e)}function Oo(e,t,n){return No(e,"",t,"",n),Oo}function No(e,t,n,r,s){const o=Lt(),i=yo(o,t,n,r);return i!==Hr&&rs(zt(),an(),o,e,i,o[11],s,!1),No}function jo(e,t=""){const n=Lt(),r=zt(),s=e+ht,o=r.firstCreatePass?Yr(r,e,2,null,null):r.data[s],i=n[s]=function(e,t){return It(t)?t.createText(e):t.createTextNode(e)}(t,n[11]);Hs(r,n,i,o),$t(o,!1)}function Mo(e){return Ro("",e,""),Mo}function Ro(e,t,n){const r=Lt(),s=yo(r,e,t,n);return s!==Hr&&function(e,t,n){const r=function(e,t){return Dt(t[e+ht])}(t,e),s=e[11];It(s)?s.setValue(r,n):r.textContent=n}(r,on(),s),Ro}class Po{}class Ho{resolveComponentFactory(e){throw function(e){const t=Error(`No component factory found for ${pe(e)}. Did you add it to @NgModule.entryComponents?`);return t.ngComponent=e,t}(e)}}let Fo=(()=>{class e{}return e.NULL=new Ho,e})(),Vo=(()=>{class e{constructor(e){this.nativeElement=e}}return e.__NG_ELEMENT_ID__=()=>Lo(e),e})();const Lo=function(e){return qs(e,Ut(),Lt())};class zo{}var Bo=function(e){return e[e.Important=1]="Important",e[e.DashCase=2]="DashCase",e}({});let Uo=(()=>{class e{}return e.__NG_ELEMENT_ID__=()=>$o(),e})();const $o=function(){const e=Lt(),t=jt(Ut().index,e);return function(e){const t=e[11];if(It(t))return t;throw new Error("Cannot inject Renderer2 when the application uses Renderer3!")}(ft(t)?t:e)};let Zo=(()=>{class e{}return e.\u0275prov=se({token:e,providedIn:"root",factory:()=>null}),e})();class Jo{constructor(e){this.full=e,this.major=e.split(".")[0],this.minor=e.split(".")[1],this.patch=e.split(".").slice(2).join(".")}}const Yo=new Jo("10.1.5");class qo{constructor(){}supports(e){return po(e)}create(e){return new Go(e)}}const Wo=(e,t)=>t;class Go{constructor(e){this.length=0,this._linkedRecords=null,this._unlinkedRecords=null,this._previousItHead=null,this._itHead=null,this._itTail=null,this._additionsHead=null,this._additionsTail=null,this._movesHead=null,this._movesTail=null,this._removalsHead=null,this._removalsTail=null,this._identityChangesHead=null,this._identityChangesTail=null,this._trackByFn=e||Wo}forEachItem(e){let t;for(t=this._itHead;null!==t;t=t._next)e(t)}forEachOperation(e){let t=this._itHead,n=this._removalsHead,r=0,s=null;for(;t||n;){const o=!n||t&&t.currentIndex<ei(n,r,s)?t:n,i=ei(o,r,s),l=o.currentIndex;if(o===n)r--,n=n._nextRemoved;else if(t=t._next,null==o.previousIndex)r++;else{s||(s=[]);const e=i-r,t=l-r;if(e!=t){for(let n=0;n<e;n++){const r=n<s.length?s[n]:s[n]=0,o=r+n;t<=o&&o<e&&(s[n]=r+1)}s[o.previousIndex]=t-e}}i!==l&&e(o,i,l)}}forEachPreviousItem(e){let t;for(t=this._previousItHead;null!==t;t=t._nextPrevious)e(t)}forEachAddedItem(e){let t;for(t=this._additionsHead;null!==t;t=t._nextAdded)e(t)}forEachMovedItem(e){let t;for(t=this._movesHead;null!==t;t=t._nextMoved)e(t)}forEachRemovedItem(e){let t;for(t=this._removalsHead;null!==t;t=t._nextRemoved)e(t)}forEachIdentityChange(e){let t;for(t=this._identityChangesHead;null!==t;t=t._nextIdentityChange)e(t)}diff(e){if(null==e&&(e=[]),!po(e))throw new Error(`Error trying to diff '${pe(e)}'. Only arrays and iterables are allowed`);return this.check(e)?this:null}onDestroy(){}check(e){this._reset();let t,n,r,s=this._itHead,o=!1;if(Array.isArray(e)){this.length=e.length;for(let t=0;t<this.length;t++)n=e[t],r=this._trackByFn(t,n),null!==s&&Object.is(s.trackById,r)?(o&&(s=this._verifyReinsertion(s,n,r,t)),Object.is(s.item,n)||this._addIdentityChange(s,n)):(s=this._mismatch(s,n,r,t),o=!0),s=s._next}else t=0,function(e,t){if(Array.isArray(e))for(let n=0;n<e.length;n++)t(e[n]);else{const n=e[fo()]();let r;for(;!(r=n.next()).done;)t(r.value)}}(e,e=>{r=this._trackByFn(t,e),null!==s&&Object.is(s.trackById,r)?(o&&(s=this._verifyReinsertion(s,e,r,t)),Object.is(s.item,e)||this._addIdentityChange(s,e)):(s=this._mismatch(s,e,r,t),o=!0),s=s._next,t++}),this.length=t;return this._truncate(s),this.collection=e,this.isDirty}get isDirty(){return null!==this._additionsHead||null!==this._movesHead||null!==this._removalsHead||null!==this._identityChangesHead}_reset(){if(this.isDirty){let e;for(e=this._previousItHead=this._itHead;null!==e;e=e._next)e._nextPrevious=e._next;for(e=this._additionsHead;null!==e;e=e._nextAdded)e.previousIndex=e.currentIndex;for(this._additionsHead=this._additionsTail=null,e=this._movesHead;null!==e;e=e._nextMoved)e.previousIndex=e.currentIndex;this._movesHead=this._movesTail=null,this._removalsHead=this._removalsTail=null,this._identityChangesHead=this._identityChangesTail=null}}_mismatch(e,t,n,r){let s;return null===e?s=this._itTail:(s=e._prev,this._remove(e)),null!==(e=null===this._linkedRecords?null:this._linkedRecords.get(n,r))?(Object.is(e.item,t)||this._addIdentityChange(e,t),this._moveAfter(e,s,r)):null!==(e=null===this._unlinkedRecords?null:this._unlinkedRecords.get(n,null))?(Object.is(e.item,t)||this._addIdentityChange(e,t),this._reinsertAfter(e,s,r)):e=this._addAfter(new Ko(t,n),s,r),e}_verifyReinsertion(e,t,n,r){let s=null===this._unlinkedRecords?null:this._unlinkedRecords.get(n,null);return null!==s?e=this._reinsertAfter(s,e._prev,r):e.currentIndex!=r&&(e.currentIndex=r,this._addToMoves(e,r)),e}_truncate(e){for(;null!==e;){const t=e._next;this._addToRemovals(this._unlink(e)),e=t}null!==this._unlinkedRecords&&this._unlinkedRecords.clear(),null!==this._additionsTail&&(this._additionsTail._nextAdded=null),null!==this._movesTail&&(this._movesTail._nextMoved=null),null!==this._itTail&&(this._itTail._next=null),null!==this._removalsTail&&(this._removalsTail._nextRemoved=null),null!==this._identityChangesTail&&(this._identityChangesTail._nextIdentityChange=null)}_reinsertAfter(e,t,n){null!==this._unlinkedRecords&&this._unlinkedRecords.remove(e);const r=e._prevRemoved,s=e._nextRemoved;return null===r?this._removalsHead=s:r._nextRemoved=s,null===s?this._removalsTail=r:s._prevRemoved=r,this._insertAfter(e,t,n),this._addToMoves(e,n),e}_moveAfter(e,t,n){return this._unlink(e),this._insertAfter(e,t,n),this._addToMoves(e,n),e}_addAfter(e,t,n){return this._insertAfter(e,t,n),this._additionsTail=null===this._additionsTail?this._additionsHead=e:this._additionsTail._nextAdded=e,e}_insertAfter(e,t,n){const r=null===t?this._itHead:t._next;return e._next=r,e._prev=t,null===r?this._itTail=e:r._prev=e,null===t?this._itHead=e:t._next=e,null===this._linkedRecords&&(this._linkedRecords=new Xo),this._linkedRecords.put(e),e.currentIndex=n,e}_remove(e){return this._addToRemovals(this._unlink(e))}_unlink(e){null!==this._linkedRecords&&this._linkedRecords.remove(e);const t=e._prev,n=e._next;return null===t?this._itHead=n:t._next=n,null===n?this._itTail=t:n._prev=t,e}_addToMoves(e,t){return e.previousIndex===t||(this._movesTail=null===this._movesTail?this._movesHead=e:this._movesTail._nextMoved=e),e}_addToRemovals(e){return null===this._unlinkedRecords&&(this._unlinkedRecords=new Xo),this._unlinkedRecords.put(e),e.currentIndex=null,e._nextRemoved=null,null===this._removalsTail?(this._removalsTail=this._removalsHead=e,e._prevRemoved=null):(e._prevRemoved=this._removalsTail,this._removalsTail=this._removalsTail._nextRemoved=e),e}_addIdentityChange(e,t){return e.item=t,this._identityChangesTail=null===this._identityChangesTail?this._identityChangesHead=e:this._identityChangesTail._nextIdentityChange=e,e}}class Ko{constructor(e,t){this.item=e,this.trackById=t,this.currentIndex=null,this.previousIndex=null,this._nextPrevious=null,this._prev=null,this._next=null,this._prevDup=null,this._nextDup=null,this._prevRemoved=null,this._nextRemoved=null,this._nextAdded=null,this._nextMoved=null,this._nextIdentityChange=null}}class Qo{constructor(){this._head=null,this._tail=null}add(e){null===this._head?(this._head=this._tail=e,e._nextDup=null,e._prevDup=null):(this._tail._nextDup=e,e._prevDup=this._tail,e._nextDup=null,this._tail=e)}get(e,t){let n;for(n=this._head;null!==n;n=n._nextDup)if((null===t||t<=n.currentIndex)&&Object.is(n.trackById,e))return n;return null}remove(e){const t=e._prevDup,n=e._nextDup;return null===t?this._head=n:t._nextDup=n,null===n?this._tail=t:n._prevDup=t,null===this._head}}class Xo{constructor(){this.map=new Map}put(e){const t=e.trackById;let n=this.map.get(t);n||(n=new Qo,this.map.set(t,n)),n.add(e)}get(e,t){const n=this.map.get(e);return n?n.get(e,t):null}remove(e){const t=e.trackById;return this.map.get(t).remove(e)&&this.map.delete(t),e}get isEmpty(){return 0===this.map.size}clear(){this.map.clear()}}function ei(e,t,n){const r=e.previousIndex;if(null===r)return r;let s=0;return n&&r<n.length&&(s=n[r]),r+t+s}class ti{constructor(){}supports(e){return e instanceof Map||mo(e)}create(){return new ni}}class ni{constructor(){this._records=new Map,this._mapHead=null,this._appendAfter=null,this._previousMapHead=null,this._changesHead=null,this._changesTail=null,this._additionsHead=null,this._additionsTail=null,this._removalsHead=null,this._removalsTail=null}get isDirty(){return null!==this._additionsHead||null!==this._changesHead||null!==this._removalsHead}forEachItem(e){let t;for(t=this._mapHead;null!==t;t=t._next)e(t)}forEachPreviousItem(e){let t;for(t=this._previousMapHead;null!==t;t=t._nextPrevious)e(t)}forEachChangedItem(e){let t;for(t=this._changesHead;null!==t;t=t._nextChanged)e(t)}forEachAddedItem(e){let t;for(t=this._additionsHead;null!==t;t=t._nextAdded)e(t)}forEachRemovedItem(e){let t;for(t=this._removalsHead;null!==t;t=t._nextRemoved)e(t)}diff(e){if(e){if(!(e instanceof Map||mo(e)))throw new Error(`Error trying to diff '${pe(e)}'. Only maps and objects are allowed`)}else e=new Map;return this.check(e)?this:null}onDestroy(){}check(e){this._reset();let t=this._mapHead;if(this._appendAfter=null,this._forEach(e,(e,n)=>{if(t&&t.key===n)this._maybeAddToChanges(t,e),this._appendAfter=t,t=t._next;else{const r=this._getOrCreateRecordForKey(n,e);t=this._insertBeforeOrAppend(t,r)}}),t){t._prev&&(t._prev._next=null),this._removalsHead=t;for(let e=t;null!==e;e=e._nextRemoved)e===this._mapHead&&(this._mapHead=null),this._records.delete(e.key),e._nextRemoved=e._next,e.previousValue=e.currentValue,e.currentValue=null,e._prev=null,e._next=null}return this._changesTail&&(this._changesTail._nextChanged=null),this._additionsTail&&(this._additionsTail._nextAdded=null),this.isDirty}_insertBeforeOrAppend(e,t){if(e){const n=e._prev;return t._next=e,t._prev=n,e._prev=t,n&&(n._next=t),e===this._mapHead&&(this._mapHead=t),this._appendAfter=e,e}return this._appendAfter?(this._appendAfter._next=t,t._prev=this._appendAfter):this._mapHead=t,this._appendAfter=t,null}_getOrCreateRecordForKey(e,t){if(this._records.has(e)){const n=this._records.get(e);this._maybeAddToChanges(n,t);const r=n._prev,s=n._next;return r&&(r._next=s),s&&(s._prev=r),n._next=null,n._prev=null,n}const n=new ri(e);return this._records.set(e,n),n.currentValue=t,this._addToAdditions(n),n}_reset(){if(this.isDirty){let e;for(this._previousMapHead=this._mapHead,e=this._previousMapHead;null!==e;e=e._next)e._nextPrevious=e._next;for(e=this._changesHead;null!==e;e=e._nextChanged)e.previousValue=e.currentValue;for(e=this._additionsHead;null!=e;e=e._nextAdded)e.previousValue=e.currentValue;this._changesHead=this._changesTail=null,this._additionsHead=this._additionsTail=null,this._removalsHead=null}}_maybeAddToChanges(e,t){Object.is(t,e.currentValue)||(e.previousValue=e.currentValue,e.currentValue=t,this._addToChanges(e))}_addToAdditions(e){null===this._additionsHead?this._additionsHead=this._additionsTail=e:(this._additionsTail._nextAdded=e,this._additionsTail=e)}_addToChanges(e){null===this._changesHead?this._changesHead=this._changesTail=e:(this._changesTail._nextChanged=e,this._changesTail=e)}_forEach(e,t){e instanceof Map?e.forEach(t):Object.keys(e).forEach(n=>t(e[n],n))}}class ri{constructor(e){this.key=e,this.previousValue=null,this.currentValue=null,this._nextPrevious=null,this._next=null,this._prev=null,this._nextAdded=null,this._nextRemoved=null,this._nextChanged=null}}let si=(()=>{class e{constructor(e){this.factories=e}static create(t,n){if(null!=n){const e=n.factories.slice();t=t.concat(e)}return new e(t)}static extend(t){return{provide:e,useFactory:n=>{if(!n)throw new Error("Cannot extend IterableDiffers without a parent injector");return e.create(t,n)},deps:[[e,new te,new X]]}}find(e){const t=this.factories.find(t=>t.supports(e));if(null!=t)return t;throw new Error(`Cannot find a differ supporting object '${e}' of type '${n=e,n.name||typeof n}'`);var n}}return e.\u0275prov=se({token:e,providedIn:"root",factory:()=>new e([new qo])}),e})(),oi=(()=>{class e{constructor(e){this.factories=e}static create(t,n){if(n){const e=n.factories.slice();t=t.concat(e)}return new e(t)}static extend(t){return{provide:e,useFactory:n=>{if(!n)throw new Error("Cannot extend KeyValueDiffers without a parent injector");return e.create(t,n)},deps:[[e,new te,new X]]}}find(e){const t=this.factories.find(t=>t.supports(e));if(t)return t;throw new Error(`Cannot find a differ supporting object '${e}'`)}}return e.\u0275prov=se({token:e,providedIn:"root",factory:()=>new e([new ti])}),e})();const ii=[new ti],li=new si([new qo]),ai=new oi(ii);let ui=(()=>{class e{}return e.__NG_ELEMENT_ID__=()=>ci(e,Vo),e})();const ci=function(e,t){return function(e,t,n,r){return Js||(Js=class extends e{constructor(e,t,n){super(),this._declarationView=e,this._declarationTContainer=t,this.elementRef=n}createEmbeddedView(e){const t=this._declarationTContainer.tViews,n=Jr(this._declarationView,t,e,16,null,t.declTNode,null,null,null,null);n[17]=this._declarationView[this._declarationTContainer.index];const r=this._declarationView[19];return null!==r&&(n[19]=r.createEmbeddedView(t)),qr(t,n,e),new Us(n)}}),0===n.type?new Js(r,n,qs(t,n,r)):null}(e,t,Ut(),Lt())};let hi=(()=>{class e{}return e.__NG_ELEMENT_ID__=()=>di(e,Vo),e})();const di=function(e,t){return function(e,t,n,r){let s;Ys||(Ys=class extends e{constructor(e,t,n){super(),this._lContainer=e,this._hostTNode=t,this._hostView=n}get element(){return qs(t,this._hostTNode,this._hostView)}get injector(){return new Bn(this._hostTNode,this._hostView)}get parentInjector(){const e=Mn(this._hostTNode,this._hostView);if(vn(e)){const t=En(e,this._hostView),n=Cn(e);return new Bn(t[1].data[n+8],t)}return new Bn(null,this._hostView)}clear(){for(;this.length>0;)this.remove(this.length-1)}get(e){return null!==this._lContainer[8]&&this._lContainer[8][e]||null}get length(){return this._lContainer.length-dt}createEmbeddedView(e,t,n){const r=e.createEmbeddedView(t||{});return this.insert(r,n),r}createComponent(e,t,n,r,s){const o=n||this.parentInjector;if(!s&&null==e.ngModule&&o){const e=o.get(Je,null);e&&(s=e)}const i=e.create(o,r,void 0,s);return this.insert(i.hostView,t),i}insert(e,t){const n=e._lView,r=n[1];if(e.destroyed)throw new Error("Cannot insert a destroyed View in a ViewContainer!");if(this.allocateContainerIfNeeded(),pt(n[3])){const t=this.indexOf(e);if(-1!==t)this.detach(t);else{const t=n[3],r=new Ys(t,t[6],t[3]);r.detach(r.indexOf(e))}}const s=this._adjustIndex(t),o=this._lContainer;!function(e,t,n,r){const s=dt+r,o=n.length;r>0&&(n[s-1][4]=t),r<o-dt?(t[4]=n[s],qe(n,dt+r,t)):(n.push(t),t[4]=null),t[3]=n;const i=t[17];null!==i&&n!==i&&function(e,t){const n=e[9];t[16]!==t[3][3][16]&&(e[2]=!0),null===n?e[9]=[t]:n.push(t)}(i,t);const l=t[19];null!==l&&l.insertView(e),t[2]|=128}(r,n,o,s);const i=function e(t,n){const r=dt+t+1;if(r<n.length){const t=n[r],s=t[1].firstChild;if(null!==s)return function t(n,r){if(null!==r){const s=r.type;if(2===s)return Ot(r,n);if(0===s)return e(-1,n[r.index]);if(3===s||4===s){const s=r.child;if(null!==s)return t(n,s);{const t=n[r.index];return pt(t)?e(-1,t):Dt(t)}}{const e=n[16],s=e[6],o=Fr(e),i=s.projection[r.projection];return null!=i?t(o,i):t(n,r.next)}}return null}(t,s)}return n[7]}(s,o),l=n[11],a=Ps(l,o[7]);return null!==a&&function(e,t,n,r,s,o){r[0]=s,r[6]=t,Vs(e,r,n,1,s,o)}(r,o[6],l,n,a,i),e.attachToViewContainerRef(this),qe(o[8],s,e),e}move(e,t){if(e.destroyed)throw new Error("Cannot move a destroyed View in a ViewContainer!");return this.insert(e,t)}indexOf(e){const t=this._lContainer[8];return null!==t?t.indexOf(e):-1}remove(e){this.allocateContainerIfNeeded();const t=this._adjustIndex(e,-1),n=Ds(this._lContainer,t);n&&(We(this._lContainer[8],t),Os(n[1],n))}detach(e){this.allocateContainerIfNeeded();const t=this._adjustIndex(e,-1),n=Ds(this._lContainer,t);return n&&null!=We(this._lContainer[8],t)?new Us(n):null}_adjustIndex(e,t=0){return null==e?this.length+t:e}allocateContainerIfNeeded(){null===this._lContainer[8]&&(this._lContainer[8]=[])}});const o=r[n.index];if(pt(o))s=o;else{let e;if(3===n.type)e=Dt(o);else if(e=r[11].createComment(""),bt(r)){const t=r[11],s=Ot(n,r);js(t,Ps(t,s),e,function(e,t){return It(e)?e.nextSibling(t):t.nextSibling}(t,s))}else Hs(r[1],r,e,n);r[n.index]=s=gs(o,r,e,n),bs(r,s)}return new Ys(s,n,r)}(e,t,Ut(),Lt())},fi={};class pi extends Fo{constructor(e){super(),this.ngModule=e}resolveComponentFactory(e){const t=at(e);return new yi(t,this.ngModule)}}function mi(e){const t=[];for(let n in e)e.hasOwnProperty(n)&&t.push({propName:e[n],templateName:n});return t}const gi=new Oe("SCHEDULER_TOKEN",{providedIn:"root",factory:()=>kn});class yi extends Po{constructor(e,t){super(),this.componentDef=e,this.ngModule=t,this.componentType=e.type,this.selector=e.selectors.map(Pr).join(","),this.ngContentSelectors=e.ngContentSelectors?e.ngContentSelectors:[],this.isBoundToModule=!!t}get inputs(){return mi(this.componentDef.inputs)}get outputs(){return mi(this.componentDef.outputs)}create(e,t,n,r){const s=(r=r||this.ngModule)?function(e,t){return{get:(n,r,s)=>{const o=e.get(n,fi,s);return o!==fi||r===fi?o:t.get(n,r,s)}}}(e,r.injector):e,o=s.get(zo,At),i=s.get(Zo,null),l=o.createRenderer(null,this.componentDef),a=this.componentDef.selectors[0][0]||"div",u=n?function(e,t,n){if(It(e))return e.selectRootElement(t,n===Ke.ShadowDom);let r="string"==typeof t?e.querySelector(t):t;return r.textContent="",r}(l,n,this.componentDef.encapsulation):Zr(a,o.createRenderer(null,this.componentDef),function(e){const t=e.toLowerCase();return"svg"===t?"http://www.w3.org/2000/svg":"math"===t?"http://www.w3.org/1998/MathML/":null}(a)),c=this.componentDef.onPush?576:528,h={components:[],scheduler:kn,clean:xs,playerHandler:null,flags:0},d=ts(0,null,null,1,0,null,null,null,null,null),f=Jr(null,d,h,c,null,null,o,l,i,s);let p,m;Xt(f);try{const e=function(e,t,n,r,s,o){const i=n[1];n[20]=e;const l=Yr(i,0,2,null,null),a=l.mergedAttrs=t.hostAttrs;null!==a&&(uo(l,a,!0),null!==e&&(yn(s,e,a),null!==l.classes&&Bs(s,e,l.classes),null!==l.styles&&zs(s,e,l.styles)));const u=r.createRenderer(e,t),c=Jr(n,es(t),null,t.onPush?64:16,n[20],l,r,u,null,null);return i.firstCreatePass&&(Rn(On(l,n),i,t.type),us(i,l),hs(l,n.length,1)),bs(n,c),n[20]=c}(u,this.componentDef,f,o,l);if(u)if(n)yn(l,u,["ng-version",Yo.full]);else{const{attrs:e,classes:t}=function(e){const t=[],n=[];let r=1,s=2;for(;r<e.length;){let o=e[r];if("string"==typeof o)2===s?""!==o&&t.push(o,e[++r]):8===s&&n.push(o);else{if(!Nr(s))break;s=o}r++}return{attrs:t,classes:n}}(this.componentDef.selectors[0]);e&&yn(l,u,e),t&&t.length>0&&Bs(l,u,t.join(" "))}if(m=Nt(d,0),void 0!==t){const e=m.projection=[];for(let n=0;n<this.ngContentSelectors.length;n++){const r=t[n];e.push(null!=r?Array.from(r):null)}}p=function(e,t,n,r,s){const o=n[1],i=function(e,t,n){const r=Ut();e.firstCreatePass&&(n.providersResolver&&n.providersResolver(n),as(e,r,1),ds(e,t,n));const s=Vn(t,e,t.length-1,r);Tr(s,t);const o=Ot(r,t);return o&&Tr(o,t),s}(o,n,t);r.components.push(i),e[8]=i,s&&s.forEach(e=>e(i,t)),t.contentQueries&&t.contentQueries(1,i,n.length-1);const l=Ut();if(o.firstCreatePass&&(null!==t.hostBindings||null!==t.hostAttrs)){ln(l.index-ht);const e=n[1];os(e,t),is(e,n,t.hostVars),ls(t,i)}return i}(e,this.componentDef,f,h,[co]),qr(d,f,null)}finally{sn()}return new _i(this.componentType,p,qs(Vo,m,f),f,m)}}class _i extends class{}{constructor(e,t,n,r,s){super(),this.location=n,this._rootLView=r,this._tNode=s,this.destroyCbs=[],this.instance=t,this.hostView=this.changeDetectorRef=new $s(r),this.componentType=e}get injector(){return new Bn(this._tNode,this._rootLView)}destroy(){this.destroyCbs&&(this.destroyCbs.forEach(e=>e()),this.destroyCbs=null,!this.hostView.destroyed&&this.hostView.destroy())}onDestroy(e){this.destroyCbs&&this.destroyCbs.push(e)}}const bi=void 0;var wi=["en",[["a","p"],["AM","PM"],bi],[["AM","PM"],bi,bi],[["S","M","T","W","T","F","S"],["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"],["Su","Mo","Tu","We","Th","Fr","Sa"]],bi,[["J","F","M","A","M","J","J","A","S","O","N","D"],["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],["January","February","March","April","May","June","July","August","September","October","November","December"]],bi,[["B","A"],["BC","AD"],["Before Christ","Anno Domini"]],0,[6,0],["M/d/yy","MMM d, y","MMMM d, y","EEEE, MMMM d, y"],["h:mm a","h:mm:ss a","h:mm:ss a z","h:mm:ss a zzzz"],["{1}, {0}",bi,"{1} 'at' {0}",bi],[".",",",";","%","+","-","E","\xd7","\u2030","\u221e","NaN",":"],["#,##0.###","#,##0%","\xa4#,##0.00","#E0"],"USD","$","US Dollar",{},"ltr",function(e){let t=Math.floor(Math.abs(e)),n=e.toString().replace(/^[^.]*\.?/,"").length;return 1===t&&0===n?1:5}];let vi={};function Ci(e){return e in vi||(vi[e]=Ee.ng&&Ee.ng.common&&Ee.ng.common.locales&&Ee.ng.common.locales[e]),vi[e]}var Ei=function(e){return e[e.LocaleId=0]="LocaleId",e[e.DayPeriodsFormat=1]="DayPeriodsFormat",e[e.DayPeriodsStandalone=2]="DayPeriodsStandalone",e[e.DaysFormat=3]="DaysFormat",e[e.DaysStandalone=4]="DaysStandalone",e[e.MonthsFormat=5]="MonthsFormat",e[e.MonthsStandalone=6]="MonthsStandalone",e[e.Eras=7]="Eras",e[e.FirstDayOfWeek=8]="FirstDayOfWeek",e[e.WeekendRange=9]="WeekendRange",e[e.DateFormat=10]="DateFormat",e[e.TimeFormat=11]="TimeFormat",e[e.DateTimeFormat=12]="DateTimeFormat",e[e.NumberSymbols=13]="NumberSymbols",e[e.NumberFormats=14]="NumberFormats",e[e.CurrencyCode=15]="CurrencyCode",e[e.CurrencySymbol=16]="CurrencySymbol",e[e.CurrencyName=17]="CurrencyName",e[e.Currencies=18]="Currencies",e[e.Directionality=19]="Directionality",e[e.PluralCase=20]="PluralCase",e[e.ExtraData=21]="ExtraData",e}({});const xi="en-US";let Ti=xi;function ki(e){var t,n;n="Expected localeId to be defined",null==(t=e)&&function(e,t,n,r){throw new Error("ASSERTION ERROR: "+e+` [Expected=> null != ${t} <=Actual]`)}(n,t),"string"==typeof e&&(Ti=e.toLowerCase().replace(/_/g,"-"))}const Si=new Map;class Ii extends Je{constructor(e,t){super(),this._parent=t,this._bootstrapComponents=[],this.injector=this,this.destroyCbs=[],this.componentFactoryResolver=new pi(this);const n=ct(e),r=e[Ie]||null;r&&ki(r),this._bootstrapComponents=Sn(n.bootstrap),this._r3Injector=to(e,t,[{provide:Je,useValue:this},{provide:Fo,useValue:this.componentFactoryResolver}],pe(e)),this._r3Injector._resolveInjectorDefTypes(),this.instance=this.get(e)}get(e,t=ao.THROW_IF_NOT_FOUND,n=ne.Default){return e===ao||e===Je||e===Ne?this:this._r3Injector.get(e,t,n)}destroy(){const e=this._r3Injector;!e.destroyed&&e.destroy(),this.destroyCbs.forEach(e=>e()),this.destroyCbs=null}onDestroy(e){this.destroyCbs.push(e)}}class Ai extends class{}{constructor(e){super(),this.moduleType=e,null!==ct(e)&&function e(t){if(null!==t.\u0275mod.id){const e=t.\u0275mod.id;!function(e,t,n){if(t&&t!==n)throw new Error(`Duplicate module registered for ${e} - ${pe(t)} vs ${pe(t.name)}`)}(e,Si.get(e),t),Si.set(e,t)}let n=t.\u0275mod.imports;n instanceof Function&&(n=n()),n&&n.forEach(t=>e(t))}(e)}create(e){return new Ii(this.moduleType,e)}}const Di=class extends C{constructor(e=!1){super(),this.__isAsync=e}emit(e){super.next(e)}subscribe(e,t,n){let r,s=e=>null,o=()=>null;e&&"object"==typeof e?(r=this.__isAsync?t=>{setTimeout(()=>e.next(t))}:t=>{e.next(t)},e.error&&(s=this.__isAsync?t=>{setTimeout(()=>e.error(t))}:t=>{e.error(t)}),e.complete&&(o=this.__isAsync?()=>{setTimeout(()=>e.complete())}:()=>{e.complete()})):(r=this.__isAsync?t=>{setTimeout(()=>e(t))}:t=>{e(t)},t&&(s=this.__isAsync?e=>{setTimeout(()=>t(e))}:e=>{t(e)}),n&&(o=this.__isAsync?()=>{setTimeout(()=>n())}:()=>{n()}));const i=super.subscribe(r,s,o);return e instanceof c&&e.add(i),i}},Oi=new Oe("Application Initializer");let Ni=(()=>{class e{constructor(e){this.appInits=e,this.initialized=!1,this.done=!1,this.donePromise=new Promise((e,t)=>{this.resolve=e,this.reject=t})}runInitializers(){if(this.initialized)return;const e=[],t=()=>{this.done=!0,this.resolve()};if(this.appInits)for(let n=0;n<this.appInits.length;n++){const t=this.appInits[n]();ko(t)&&e.push(t)}Promise.all(e).then(()=>{t()}).catch(e=>{this.reject(e)}),0===e.length&&t(),this.initialized=!0}}return e.\u0275fac=function(t){return new(t||e)(Be(Oi,8))},e.\u0275prov=se({token:e,factory:e.\u0275fac}),e})();const ji=new Oe("AppId"),Mi={provide:ji,useFactory:function(){return`${Ri()}${Ri()}${Ri()}`},deps:[]};function Ri(){return String.fromCharCode(97+Math.floor(25*Math.random()))}const Pi=new Oe("Platform Initializer"),Hi=new Oe("Platform ID"),Fi=new Oe("appBootstrapListener");let Vi=(()=>{class e{log(e){console.log(e)}warn(e){console.warn(e)}}return e.\u0275fac=function(t){return new(t||e)},e.\u0275prov=se({token:e,factory:e.\u0275fac}),e})();const Li=new Oe("LocaleId"),zi=new Oe("DefaultCurrencyCode");class Bi{constructor(e,t){this.ngModuleFactory=e,this.componentFactories=t}}const Ui=function(e){return new Ai(e)},$i=Ui,Zi=function(e){return Promise.resolve(Ui(e))},Ji=function(e){const t=Ui(e),n=Sn(ct(e).declarations).reduce((e,t)=>{const n=at(t);return n&&e.push(new yi(n)),e},[]);return new Bi(t,n)},Yi=Ji,qi=function(e){return Promise.resolve(Ji(e))};let Wi=(()=>{class e{constructor(){this.compileModuleSync=$i,this.compileModuleAsync=Zi,this.compileModuleAndAllComponentsSync=Yi,this.compileModuleAndAllComponentsAsync=qi}clearCache(){}clearCacheFor(e){}getModuleId(e){}}return e.\u0275fac=function(t){return new(t||e)},e.\u0275prov=se({token:e,factory:e.\u0275fac}),e})();const Gi=(()=>Promise.resolve(0))();function Ki(e){"undefined"==typeof Zone?Gi.then(()=>{e&&e.apply(null,null)}):Zone.current.scheduleMicroTask("scheduleMicrotask",e)}class Qi{constructor({enableLongStackTrace:e=!1,shouldCoalesceEventChangeDetection:t=!1}){if(this.hasPendingMacrotasks=!1,this.hasPendingMicrotasks=!1,this.isStable=!0,this.onUnstable=new Di(!1),this.onMicrotaskEmpty=new Di(!1),this.onStable=new Di(!1),this.onError=new Di(!1),"undefined"==typeof Zone)throw new Error("In this configuration Angular requires Zone.js");Zone.assertZonePatched();const n=this;n._nesting=0,n._outer=n._inner=Zone.current,Zone.wtfZoneSpec&&(n._inner=n._inner.fork(Zone.wtfZoneSpec)),Zone.TaskTrackingZoneSpec&&(n._inner=n._inner.fork(new Zone.TaskTrackingZoneSpec)),e&&Zone.longStackTraceZoneSpec&&(n._inner=n._inner.fork(Zone.longStackTraceZoneSpec)),n.shouldCoalesceEventChangeDetection=t,n.lastRequestAnimationFrameId=-1,n.nativeRequestAnimationFrame=function(){let e=Ee.requestAnimationFrame,t=Ee.cancelAnimationFrame;if("undefined"!=typeof Zone&&e&&t){const n=e[Zone.__symbol__("OriginalDelegate")];n&&(e=n);const r=t[Zone.__symbol__("OriginalDelegate")];r&&(t=r)}return{nativeRequestAnimationFrame:e,nativeCancelAnimationFrame:t}}().nativeRequestAnimationFrame,function(e){const t=!!e.shouldCoalesceEventChangeDetection&&e.nativeRequestAnimationFrame&&(()=>{!function(e){-1===e.lastRequestAnimationFrameId&&(e.lastRequestAnimationFrameId=e.nativeRequestAnimationFrame.call(Ee,()=>{e.fakeTopEventTask||(e.fakeTopEventTask=Zone.root.scheduleEventTask("fakeTopEventTask",()=>{e.lastRequestAnimationFrameId=-1,nl(e),tl(e)},void 0,()=>{},()=>{})),e.fakeTopEventTask.invoke()}),nl(e))}(e)});e._inner=e._inner.fork({name:"angular",properties:{isAngularZone:!0,maybeDelayChangeDetection:t},onInvokeTask:(n,r,s,o,i,l)=>{try{return rl(e),n.invokeTask(s,o,i,l)}finally{t&&"eventTask"===o.type&&t(),sl(e)}},onInvoke:(t,n,r,s,o,i,l)=>{try{return rl(e),t.invoke(r,s,o,i,l)}finally{sl(e)}},onHasTask:(t,n,r,s)=>{t.hasTask(r,s),n===r&&("microTask"==s.change?(e._hasPendingMicrotasks=s.microTask,nl(e),tl(e)):"macroTask"==s.change&&(e.hasPendingMacrotasks=s.macroTask))},onHandleError:(t,n,r,s)=>(t.handleError(r,s),e.runOutsideAngular(()=>e.onError.emit(s)),!1)})}(n)}static isInAngularZone(){return!0===Zone.current.get("isAngularZone")}static assertInAngularZone(){if(!Qi.isInAngularZone())throw new Error("Expected to be in Angular Zone, but it is not!")}static assertNotInAngularZone(){if(Qi.isInAngularZone())throw new Error("Expected to not be in Angular Zone, but it is!")}run(e,t,n){return this._inner.run(e,t,n)}runTask(e,t,n,r){const s=this._inner,o=s.scheduleEventTask("NgZoneEvent: "+r,e,el,Xi,Xi);try{return s.runTask(o,t,n)}finally{s.cancelTask(o)}}runGuarded(e,t,n){return this._inner.runGuarded(e,t,n)}runOutsideAngular(e){return this._outer.run(e)}}function Xi(){}const el={};function tl(e){if(0==e._nesting&&!e.hasPendingMicrotasks&&!e.isStable)try{e._nesting++,e.onMicrotaskEmpty.emit(null)}finally{if(e._nesting--,!e.hasPendingMicrotasks)try{e.runOutsideAngular(()=>e.onStable.emit(null))}finally{e.isStable=!0}}}function nl(e){e.hasPendingMicrotasks=!!(e._hasPendingMicrotasks||e.shouldCoalesceEventChangeDetection&&-1!==e.lastRequestAnimationFrameId)}function rl(e){e._nesting++,e.isStable&&(e.isStable=!1,e.onUnstable.emit(null))}function sl(e){e._nesting--,tl(e)}class ol{constructor(){this.hasPendingMicrotasks=!1,this.hasPendingMacrotasks=!1,this.isStable=!0,this.onUnstable=new Di,this.onMicrotaskEmpty=new Di,this.onStable=new Di,this.onError=new Di}run(e,t,n){return e.apply(t,n)}runGuarded(e,t,n){return e.apply(t,n)}runOutsideAngular(e){return e()}runTask(e,t,n,r){return e.apply(t,n)}}let il=(()=>{class e{constructor(e){this._ngZone=e,this._pendingCount=0,this._isZoneStable=!0,this._didWork=!1,this._callbacks=[],this.taskTrackingZone=null,this._watchAngularEvents(),e.run(()=>{this.taskTrackingZone="undefined"==typeof Zone?null:Zone.current.get("TaskTrackingZone")})}_watchAngularEvents(){this._ngZone.onUnstable.subscribe({next:()=>{this._didWork=!0,this._isZoneStable=!1}}),this._ngZone.runOutsideAngular(()=>{this._ngZone.onStable.subscribe({next:()=>{Qi.assertNotInAngularZone(),Ki(()=>{this._isZoneStable=!0,this._runCallbacksIfReady()})}})})}increasePendingRequestCount(){return this._pendingCount+=1,this._didWork=!0,this._pendingCount}decreasePendingRequestCount(){if(this._pendingCount-=1,this._pendingCount<0)throw new Error("pending async requests below zero");return this._runCallbacksIfReady(),this._pendingCount}isStable(){return this._isZoneStable&&0===this._pendingCount&&!this._ngZone.hasPendingMacrotasks}_runCallbacksIfReady(){if(this.isStable())Ki(()=>{for(;0!==this._callbacks.length;){let e=this._callbacks.pop();clearTimeout(e.timeoutId),e.doneCb(this._didWork)}this._didWork=!1});else{let e=this.getPendingTasks();this._callbacks=this._callbacks.filter(t=>!t.updateCb||!t.updateCb(e)||(clearTimeout(t.timeoutId),!1)),this._didWork=!0}}getPendingTasks(){return this.taskTrackingZone?this.taskTrackingZone.macroTasks.map(e=>({source:e.source,creationLocation:e.creationLocation,data:e.data})):[]}addCallback(e,t,n){let r=-1;t&&t>0&&(r=setTimeout(()=>{this._callbacks=this._callbacks.filter(e=>e.timeoutId!==r),e(this._didWork,this.getPendingTasks())},t)),this._callbacks.push({doneCb:e,timeoutId:r,updateCb:n})}whenStable(e,t,n){if(n&&!this.taskTrackingZone)throw new Error('Task tracking zone is required when passing an update callback to whenStable(). Is "zone.js/dist/task-tracking.js" loaded?');this.addCallback(e,t,n),this._runCallbacksIfReady()}getPendingRequestCount(){return this._pendingCount}findProviders(e,t,n){return[]}}return e.\u0275fac=function(t){return new(t||e)(Be(Qi))},e.\u0275prov=se({token:e,factory:e.\u0275fac}),e})(),ll=(()=>{class e{constructor(){this._applications=new Map,cl.addToWindow(this)}registerApplication(e,t){this._applications.set(e,t)}unregisterApplication(e){this._applications.delete(e)}unregisterAllApplications(){this._applications.clear()}getTestability(e){return this._applications.get(e)||null}getAllTestabilities(){return Array.from(this._applications.values())}getAllRootElements(){return Array.from(this._applications.keys())}findTestabilityInTree(e,t=!0){return cl.findTestabilityInTree(this,e,t)}}return e.\u0275fac=function(t){return new(t||e)},e.\u0275prov=se({token:e,factory:e.\u0275fac}),e})();class al{addToWindow(e){}findTestabilityInTree(e,t,n){return null}}let ul,cl=new al;const hl=new Oe("AllowMultipleToken");function dl(e,t,n=[]){const r="Platform: "+t,s=new Oe(r);return(t=[])=>{let o=fl();if(!o||o.injector.get(hl,!1))if(e)e(n.concat(t).concat({provide:s,useValue:!0}));else{const e=n.concat(t).concat({provide:s,useValue:!0},{provide:Ws,useValue:"platform"});!function(e){if(ul&&!ul.destroyed&&!ul.injector.get(hl,!1))throw new Error("There can be only one platform. Destroy the previous one to create a new one.");ul=e.get(pl);const t=e.get(Pi,null);t&&t.forEach(e=>e())}(ao.create({providers:e,name:r}))}return function(e){const t=fl();if(!t)throw new Error("No platform exists!");if(!t.injector.get(e,null))throw new Error("A platform with a different configuration has been created. Please destroy it first.");return t}(s)}}function fl(){return ul&&!ul.destroyed?ul:null}let pl=(()=>{class e{constructor(e){this._injector=e,this._modules=[],this._destroyListeners=[],this._destroyed=!1}bootstrapModuleFactory(e,t){const n=function(e,t){let n;return n="noop"===e?new ol:("zone.js"===e?void 0:e)||new Qi({enableLongStackTrace:Qn(),shouldCoalesceEventChangeDetection:t}),n}(t?t.ngZone:void 0,t&&t.ngZoneEventCoalescing||!1),r=[{provide:Qi,useValue:n}];return n.run(()=>{const t=ao.create({providers:r,parent:this.injector,name:e.moduleType.name}),s=e.create(t),o=s.injector.get(Jn,null);if(!o)throw new Error("No ErrorHandler. Is platform module (BrowserModule) included?");return s.onDestroy(()=>yl(this._modules,s)),n.runOutsideAngular(()=>n.onError.subscribe({next:e=>{o.handleError(e)}})),function(e,t,n){try{const r=n();return ko(r)?r.catch(n=>{throw t.runOutsideAngular(()=>e.handleError(n)),n}):r}catch(r){throw t.runOutsideAngular(()=>e.handleError(r)),r}}(o,n,()=>{const e=s.injector.get(Ni);return e.runInitializers(),e.donePromise.then(()=>(ki(s.injector.get(Li,xi)||xi),this._moduleDoBootstrap(s),s))})})}bootstrapModule(e,t=[]){const n=ml({},t);return function(e,t,n){const r=new Ai(n);return Promise.resolve(r)}(0,0,e).then(e=>this.bootstrapModuleFactory(e,n))}_moduleDoBootstrap(e){const t=e.injector.get(gl);if(e._bootstrapComponents.length>0)e._bootstrapComponents.forEach(e=>t.bootstrap(e));else{if(!e.instance.ngDoBootstrap)throw new Error(`The module ${pe(e.instance.constructor)} was bootstrapped, but it does not declare "@NgModule.bootstrap" components nor a "ngDoBootstrap" method. Please define one of these.`);e.instance.ngDoBootstrap(t)}this._modules.push(e)}onDestroy(e){this._destroyListeners.push(e)}get injector(){return this._injector}destroy(){if(this._destroyed)throw new Error("The platform has already been destroyed!");this._modules.slice().forEach(e=>e.destroy()),this._destroyListeners.forEach(e=>e()),this._destroyed=!0}get destroyed(){return this._destroyed}}return e.\u0275fac=function(t){return new(t||e)(Be(ao))},e.\u0275prov=se({token:e,factory:e.\u0275fac}),e})();function ml(e,t){return Array.isArray(t)?t.reduce(ml,e):Object.assign(Object.assign({},e),t)}let gl=(()=>{class e{constructor(e,t,n,r,s,o){this._zone=e,this._console=t,this._injector=n,this._exceptionHandler=r,this._componentFactoryResolver=s,this._initStatus=o,this._bootstrapListeners=[],this._views=[],this._runningTick=!1,this._enforceNoNewChanges=!1,this._stable=!0,this.componentTypes=[],this.components=[],this._enforceNoNewChanges=Qn(),this._zone.onMicrotaskEmpty.subscribe({next:()=>{this._zone.run(()=>{this.tick()})}});const i=new y(e=>{this._stable=this._zone.isStable&&!this._zone.hasPendingMacrotasks&&!this._zone.hasPendingMicrotasks,this._zone.runOutsideAngular(()=>{e.next(this._stable),e.complete()})}),l=new y(e=>{let t;this._zone.runOutsideAngular(()=>{t=this._zone.onStable.subscribe(()=>{Qi.assertNotInAngularZone(),Ki(()=>{this._stable||this._zone.hasPendingMacrotasks||this._zone.hasPendingMicrotasks||(this._stable=!0,e.next(!0))})})});const n=this._zone.onUnstable.subscribe(()=>{Qi.assertInAngularZone(),this._stable&&(this._stable=!1,this._zone.runOutsideAngular(()=>{e.next(!1)}))});return()=>{t.unsubscribe(),n.unsubscribe()}});this.isStable=function(...e){let t=Number.POSITIVE_INFINITY,n=null,r=e[e.length-1];return O(r)?(n=e.pop(),e.length>1&&"number"==typeof e[e.length-1]&&(t=e.pop())):"number"==typeof r&&(t=e.pop()),null===n&&1===e.length&&e[0]instanceof y?e[0]:function(e=Number.POSITIVE_INFINITY){return U(g,e)}(t)(M(e,n))}(i,l.pipe(e=>{return x()((t=q,function(e){let n;n="function"==typeof t?t:function(){return t};const r=Object.create(e,I);return r.source=e,r.subjectFactory=n,r})(e));var t}))}bootstrap(e,t){if(!this._initStatus.done)throw new Error("Cannot bootstrap as there are still asynchronous initializers running. Bootstrap components in the `ngDoBootstrap` method of the root module.");let n;n=e instanceof Po?e:this._componentFactoryResolver.resolveComponentFactory(e),this.componentTypes.push(n.componentType);const r=n.isBoundToModule?void 0:this._injector.get(Je),s=n.create(ao.NULL,[],t||n.selector,r);s.onDestroy(()=>{this._unloadComponent(s)});const o=s.injector.get(il,null);return o&&s.injector.get(ll).registerApplication(s.location.nativeElement,o),this._loadComponent(s),Qn()&&this._console.log("Angular is running in development mode. Call enableProdMode() to enable production mode."),s}tick(){if(this._runningTick)throw new Error("ApplicationRef.tick is called recursively");try{this._runningTick=!0;for(let e of this._views)e.detectChanges();if(this._enforceNoNewChanges)for(let e of this._views)e.checkNoChanges()}catch(e){this._zone.runOutsideAngular(()=>this._exceptionHandler.handleError(e))}finally{this._runningTick=!1}}attachView(e){const t=e;this._views.push(t),t.attachToAppRef(this)}detachView(e){const t=e;yl(this._views,t),t.detachFromAppRef()}_loadComponent(e){this.attachView(e.hostView),this.tick(),this.components.push(e),this._injector.get(Fi,[]).concat(this._bootstrapListeners).forEach(t=>t(e))}_unloadComponent(e){this.detachView(e.hostView),yl(this.components,e)}ngOnDestroy(){this._views.slice().forEach(e=>e.destroy())}get viewCount(){return this._views.length}}return e.\u0275fac=function(t){return new(t||e)(Be(Qi),Be(Vi),Be(ao),Be(Jn),Be(Fo),Be(Ni))},e.\u0275prov=se({token:e,factory:e.\u0275fac}),e})();function yl(e,t){const n=e.indexOf(t);n>-1&&e.splice(n,1)}const _l=dl(null,"core",[{provide:Hi,useValue:"unknown"},{provide:pl,deps:[ao]},{provide:ll,deps:[]},{provide:Vi,deps:[]}]),bl=[{provide:gl,useClass:gl,deps:[Qi,Vi,ao,Jn,Fo,Ni]},{provide:gi,deps:[Qi],useFactory:function(e){let t=[];return e.onStable.subscribe(()=>{for(;t.length;)t.pop()()}),function(e){t.push(e)}}},{provide:Ni,useClass:Ni,deps:[[new X,Oi]]},{provide:Wi,useClass:Wi,deps:[]},Mi,{provide:si,useFactory:function(){return li},deps:[]},{provide:oi,useFactory:function(){return ai},deps:[]},{provide:Li,useFactory:function(e){return ki(e=e||"undefined"!=typeof $localize&&$localize.locale||xi),e},deps:[[new Q(Li),new X,new te]]},{provide:zi,useValue:"USD"}];let wl=(()=>{class e{constructor(e){}}return e.\u0275mod=ot({type:e}),e.\u0275inj=oe({factory:function(t){return new(t||e)(Be(gl))},providers:bl}),e})(),vl=null;function Cl(){return vl}const El=new Oe("DocumentToken");var xl=function(e){return e[e.Zero=0]="Zero",e[e.One=1]="One",e[e.Two=2]="Two",e[e.Few=3]="Few",e[e.Many=4]="Many",e[e.Other=5]="Other",e}({});class Tl{}let kl=(()=>{class e extends Tl{constructor(e){super(),this.locale=e}getPluralCategory(e,t){switch(function(e){return function(e){const t=function(e){return e.toLowerCase().replace(/_/g,"-")}(e);let n=Ci(t);if(n)return n;const r=t.split("-")[0];if(n=Ci(r),n)return n;if("en"===r)return wi;throw new Error(`Missing locale data for the locale "${e}".`)}(e)[Ei.PluralCase]}(t||this.locale)(e)){case xl.Zero:return"zero";case xl.One:return"one";case xl.Two:return"two";case xl.Few:return"few";case xl.Many:return"many";default:return"other"}}}return e.\u0275fac=function(t){return new(t||e)(Be(Li))},e.\u0275prov=se({token:e,factory:e.\u0275fac}),e})();function Sl(e,t){t=encodeURIComponent(t);for(const n of e.split(";")){const e=n.indexOf("="),[r,s]=-1==e?[n,""]:[n.slice(0,e),n.slice(e+1)];if(r.trim()===t)return decodeURIComponent(s)}return null}let Il=(()=>{class e{constructor(e,t,n,r){this._iterableDiffers=e,this._keyValueDiffers=t,this._ngEl=n,this._renderer=r,this._iterableDiffer=null,this._keyValueDiffer=null,this._initialClasses=[],this._rawClass=null}set klass(e){this._removeClasses(this._initialClasses),this._initialClasses="string"==typeof e?e.split(/\s+/):[],this._applyClasses(this._initialClasses),this._applyClasses(this._rawClass)}set ngClass(e){this._removeClasses(this._rawClass),this._applyClasses(this._initialClasses),this._iterableDiffer=null,this._keyValueDiffer=null,this._rawClass="string"==typeof e?e.split(/\s+/):e,this._rawClass&&(po(this._rawClass)?this._iterableDiffer=this._iterableDiffers.find(this._rawClass).create():this._keyValueDiffer=this._keyValueDiffers.find(this._rawClass).create())}ngDoCheck(){if(this._iterableDiffer){const e=this._iterableDiffer.diff(this._rawClass);e&&this._applyIterableChanges(e)}else if(this._keyValueDiffer){const e=this._keyValueDiffer.diff(this._rawClass);e&&this._applyKeyValueChanges(e)}}_applyKeyValueChanges(e){e.forEachAddedItem(e=>this._toggleClass(e.key,e.currentValue)),e.forEachChangedItem(e=>this._toggleClass(e.key,e.currentValue)),e.forEachRemovedItem(e=>{e.previousValue&&this._toggleClass(e.key,!1)})}_applyIterableChanges(e){e.forEachAddedItem(e=>{if("string"!=typeof e.item)throw new Error("NgClass can only toggle CSS classes expressed as strings, got "+pe(e.item));this._toggleClass(e.item,!0)}),e.forEachRemovedItem(e=>this._toggleClass(e.item,!1))}_applyClasses(e){e&&(Array.isArray(e)||e instanceof Set?e.forEach(e=>this._toggleClass(e,!0)):Object.keys(e).forEach(t=>this._toggleClass(t,!!e[t])))}_removeClasses(e){e&&(Array.isArray(e)||e instanceof Set?e.forEach(e=>this._toggleClass(e,!1)):Object.keys(e).forEach(e=>this._toggleClass(e,!1)))}_toggleClass(e,t){(e=e.trim())&&e.split(/\s+/g).forEach(e=>{t?this._renderer.addClass(this._ngEl.nativeElement,e):this._renderer.removeClass(this._ngEl.nativeElement,e)})}}return e.\u0275fac=function(t){return new(t||e)(bo(si),bo(oi),bo(Vo),bo(Uo))},e.\u0275dir=lt({type:e,selectors:[["","ngClass",""]],inputs:{klass:["class","klass"],ngClass:"ngClass"}}),e})();class Al{constructor(e,t,n,r){this.$implicit=e,this.ngForOf=t,this.index=n,this.count=r}get first(){return 0===this.index}get last(){return this.index===this.count-1}get even(){return this.index%2==0}get odd(){return!this.even}}let Dl=(()=>{class e{constructor(e,t,n){this._viewContainer=e,this._template=t,this._differs=n,this._ngForOf=null,this._ngForOfDirty=!0,this._differ=null}set ngForOf(e){this._ngForOf=e,this._ngForOfDirty=!0}set ngForTrackBy(e){Qn()&&null!=e&&"function"!=typeof e&&console&&console.warn&&console.warn(`trackBy must be a function, but received ${JSON.stringify(e)}. See https://angular.io/api/common/NgForOf#change-propagation for more information.`),this._trackByFn=e}get ngForTrackBy(){return this._trackByFn}set ngForTemplate(e){e&&(this._template=e)}ngDoCheck(){if(this._ngForOfDirty){this._ngForOfDirty=!1;const n=this._ngForOf;if(!this._differ&&n)try{this._differ=this._differs.find(n).create(this.ngForTrackBy)}catch(t){throw new Error(`Cannot find a differ supporting object '${n}' of type '${e=n,e.name||typeof e}'. NgFor only supports binding to Iterables such as Arrays.`)}}var e;if(this._differ){const e=this._differ.diff(this._ngForOf);e&&this._applyChanges(e)}}_applyChanges(e){const t=[];e.forEachOperation((e,n,r)=>{if(null==e.previousIndex){const n=this._viewContainer.createEmbeddedView(this._template,new Al(null,this._ngForOf,-1,-1),null===r?void 0:r),s=new Ol(e,n);t.push(s)}else if(null==r)this._viewContainer.remove(null===n?void 0:n);else if(null!==n){const s=this._viewContainer.get(n);this._viewContainer.move(s,r);const o=new Ol(e,s);t.push(o)}});for(let n=0;n<t.length;n++)this._perViewChange(t[n].view,t[n].record);for(let n=0,r=this._viewContainer.length;n<r;n++){const e=this._viewContainer.get(n);e.context.index=n,e.context.count=r,e.context.ngForOf=this._ngForOf}e.forEachIdentityChange(e=>{this._viewContainer.get(e.currentIndex).context.$implicit=e.item})}_perViewChange(e,t){e.context.$implicit=t.item}static ngTemplateContextGuard(e,t){return!0}}return e.\u0275fac=function(t){return new(t||e)(bo(hi),bo(ui),bo(si))},e.\u0275dir=lt({type:e,selectors:[["","ngFor","","ngForOf",""]],inputs:{ngForOf:"ngForOf",ngForTrackBy:"ngForTrackBy",ngForTemplate:"ngForTemplate"}}),e})();class Ol{constructor(e,t){this.record=e,this.view=t}}let Nl=(()=>{class e{constructor(e,t){this._viewContainer=e,this._context=new jl,this._thenTemplateRef=null,this._elseTemplateRef=null,this._thenViewRef=null,this._elseViewRef=null,this._thenTemplateRef=t}set ngIf(e){this._context.$implicit=this._context.ngIf=e,this._updateView()}set ngIfThen(e){Ml("ngIfThen",e),this._thenTemplateRef=e,this._thenViewRef=null,this._updateView()}set ngIfElse(e){Ml("ngIfElse",e),this._elseTemplateRef=e,this._elseViewRef=null,this._updateView()}_updateView(){this._context.$implicit?this._thenViewRef||(this._viewContainer.clear(),this._elseViewRef=null,this._thenTemplateRef&&(this._thenViewRef=this._viewContainer.createEmbeddedView(this._thenTemplateRef,this._context))):this._elseViewRef||(this._viewContainer.clear(),this._thenViewRef=null,this._elseTemplateRef&&(this._elseViewRef=this._viewContainer.createEmbeddedView(this._elseTemplateRef,this._context)))}static ngTemplateContextGuard(e,t){return!0}}return e.\u0275fac=function(t){return new(t||e)(bo(hi),bo(ui))},e.\u0275dir=lt({type:e,selectors:[["","ngIf",""]],inputs:{ngIf:"ngIf",ngIfThen:"ngIfThen",ngIfElse:"ngIfElse"}}),e})();class jl{constructor(){this.$implicit=null,this.ngIf=null}}function Ml(e,t){if(t&&!t.createEmbeddedView)throw new Error(`${e} must be a TemplateRef, but received '${pe(t)}'.`)}let Rl=(()=>{class e{}return e.\u0275mod=ot({type:e}),e.\u0275inj=oe({factory:function(t){return new(t||e)},providers:[{provide:Tl,useClass:kl}]}),e})();class Pl extends class extends class{}{constructor(){super()}supportsDOMEvents(){return!0}}{static makeCurrent(){var e;e=new Pl,vl||(vl=e)}getProperty(e,t){return e[t]}log(e){window.console&&window.console.log&&window.console.log(e)}logGroup(e){window.console&&window.console.group&&window.console.group(e)}logGroupEnd(){window.console&&window.console.groupEnd&&window.console.groupEnd()}onAndCancel(e,t,n){return e.addEventListener(t,n,!1),()=>{e.removeEventListener(t,n,!1)}}dispatchEvent(e,t){e.dispatchEvent(t)}remove(e){return e.parentNode&&e.parentNode.removeChild(e),e}getValue(e){return e.value}createElement(e,t){return(t=t||this.getDefaultDocument()).createElement(e)}createHtmlDocument(){return document.implementation.createHTMLDocument("fakeTitle")}getDefaultDocument(){return document}isElementNode(e){return e.nodeType===Node.ELEMENT_NODE}isShadowRoot(e){return e instanceof DocumentFragment}getGlobalEventTarget(e,t){return"window"===t?window:"document"===t?e:"body"===t?e.body:null}getHistory(){return window.history}getLocation(){return window.location}getBaseHref(e){const t=Fl||(Fl=document.querySelector("base"),Fl)?Fl.getAttribute("href"):null;return null==t?null:(n=t,Hl||(Hl=document.createElement("a")),Hl.setAttribute("href",n),"/"===Hl.pathname.charAt(0)?Hl.pathname:"/"+Hl.pathname);var n}resetBaseElement(){Fl=null}getUserAgent(){return window.navigator.userAgent}performanceNow(){return window.performance&&window.performance.now?window.performance.now():(new Date).getTime()}supportsCookies(){return!0}getCookie(e){return Sl(document.cookie,e)}}let Hl,Fl=null;const Vl=new Oe("TRANSITION_ID"),Ll=[{provide:Oi,useFactory:function(e,t,n){return()=>{n.get(Ni).donePromise.then(()=>{const n=Cl();Array.prototype.slice.apply(t.querySelectorAll("style[ng-transition]")).filter(t=>t.getAttribute("ng-transition")===e).forEach(e=>n.remove(e))})}},deps:[Vl,El,ao],multi:!0}];class zl{static init(){var e;e=new zl,cl=e}addToWindow(e){Ee.getAngularTestability=(t,n=!0)=>{const r=e.findTestabilityInTree(t,n);if(null==r)throw new Error("Could not find testability for element.");return r},Ee.getAllAngularTestabilities=()=>e.getAllTestabilities(),Ee.getAllAngularRootElements=()=>e.getAllRootElements(),Ee.frameworkStabilizers||(Ee.frameworkStabilizers=[]),Ee.frameworkStabilizers.push(e=>{const t=Ee.getAllAngularTestabilities();let n=t.length,r=!1;const s=function(t){r=r||t,n--,0==n&&e(r)};t.forEach((function(e){e.whenStable(s)}))})}findTestabilityInTree(e,t,n){if(null==t)return null;const r=e.getTestability(t);return null!=r?r:n?Cl().isShadowRoot(t)?this.findTestabilityInTree(e,t.host,!0):this.findTestabilityInTree(e,t.parentElement,!0):null}}const Bl=new Oe("EventManagerPlugins");let Ul=(()=>{class e{constructor(e,t){this._zone=t,this._eventNameToPlugin=new Map,e.forEach(e=>e.manager=this),this._plugins=e.slice().reverse()}addEventListener(e,t,n){return this._findPluginFor(t).addEventListener(e,t,n)}addGlobalEventListener(e,t,n){return this._findPluginFor(t).addGlobalEventListener(e,t,n)}getZone(){return this._zone}_findPluginFor(e){const t=this._eventNameToPlugin.get(e);if(t)return t;const n=this._plugins;for(let r=0;r<n.length;r++){const t=n[r];if(t.supports(e))return this._eventNameToPlugin.set(e,t),t}throw new Error("No event manager plugin found for event "+e)}}return e.\u0275fac=function(t){return new(t||e)(Be(Bl),Be(Qi))},e.\u0275prov=se({token:e,factory:e.\u0275fac}),e})();class $l{constructor(e){this._doc=e}addGlobalEventListener(e,t,n){const r=Cl().getGlobalEventTarget(this._doc,e);if(!r)throw new Error(`Unsupported event target ${r} for event ${t}`);return this.addEventListener(r,t,n)}}let Zl=(()=>{class e{constructor(){this._stylesSet=new Set}addStyles(e){const t=new Set;e.forEach(e=>{this._stylesSet.has(e)||(this._stylesSet.add(e),t.add(e))}),this.onStylesAdded(t)}onStylesAdded(e){}getAllStyles(){return Array.from(this._stylesSet)}}return e.\u0275fac=function(t){return new(t||e)},e.\u0275prov=se({token:e,factory:e.\u0275fac}),e})(),Jl=(()=>{class e extends Zl{constructor(e){super(),this._doc=e,this._hostNodes=new Set,this._styleNodes=new Set,this._hostNodes.add(e.head)}_addStylesToHost(e,t){e.forEach(e=>{const n=this._doc.createElement("style");n.textContent=e,this._styleNodes.add(t.appendChild(n))})}addHost(e){this._addStylesToHost(this._stylesSet,e),this._hostNodes.add(e)}removeHost(e){this._hostNodes.delete(e)}onStylesAdded(e){this._hostNodes.forEach(t=>this._addStylesToHost(e,t))}ngOnDestroy(){this._styleNodes.forEach(e=>Cl().remove(e))}}return e.\u0275fac=function(t){return new(t||e)(Be(El))},e.\u0275prov=se({token:e,factory:e.\u0275fac}),e})();const Yl={svg:"http://www.w3.org/2000/svg",xhtml:"http://www.w3.org/1999/xhtml",xlink:"http://www.w3.org/1999/xlink",xml:"http://www.w3.org/XML/1998/namespace",xmlns:"http://www.w3.org/2000/xmlns/"},ql=/%COMP%/g;function Wl(e,t,n){for(let r=0;r<t.length;r++){let s=t[r];Array.isArray(s)?Wl(e,s,n):(s=s.replace(ql,e),n.push(s))}return n}function Gl(e){return t=>{if("__ngUnwrap__"===t)return e;!1===e(t)&&(t.preventDefault(),t.returnValue=!1)}}let Kl=(()=>{class e{constructor(e,t,n){this.eventManager=e,this.sharedStylesHost=t,this.appId=n,this.rendererByCompId=new Map,this.defaultRenderer=new Ql(e)}createRenderer(e,t){if(!e||!t)return this.defaultRenderer;switch(t.encapsulation){case Ke.Emulated:{let n=this.rendererByCompId.get(t.id);return n||(n=new Xl(this.eventManager,this.sharedStylesHost,t,this.appId),this.rendererByCompId.set(t.id,n)),n.applyToHost(e),n}case Ke.Native:case Ke.ShadowDom:return new ea(this.eventManager,this.sharedStylesHost,e,t);default:if(!this.rendererByCompId.has(t.id)){const e=Wl(t.id,t.styles,[]);this.sharedStylesHost.addStyles(e),this.rendererByCompId.set(t.id,this.defaultRenderer)}return this.defaultRenderer}}begin(){}end(){}}return e.\u0275fac=function(t){return new(t||e)(Be(Ul),Be(Jl),Be(ji))},e.\u0275prov=se({token:e,factory:e.\u0275fac}),e})();class Ql{constructor(e){this.eventManager=e,this.data=Object.create(null)}destroy(){}createElement(e,t){return t?document.createElementNS(Yl[t]||t,e):document.createElement(e)}createComment(e){return document.createComment(e)}createText(e){return document.createTextNode(e)}appendChild(e,t){e.appendChild(t)}insertBefore(e,t,n){e&&e.insertBefore(t,n)}removeChild(e,t){e&&e.removeChild(t)}selectRootElement(e,t){let n="string"==typeof e?document.querySelector(e):e;if(!n)throw new Error(`The selector "${e}" did not match any elements`);return t||(n.textContent=""),n}parentNode(e){return e.parentNode}nextSibling(e){return e.nextSibling}setAttribute(e,t,n,r){if(r){t=r+":"+t;const s=Yl[r];s?e.setAttributeNS(s,t,n):e.setAttribute(t,n)}else e.setAttribute(t,n)}removeAttribute(e,t,n){if(n){const r=Yl[n];r?e.removeAttributeNS(r,t):e.removeAttribute(`${n}:${t}`)}else e.removeAttribute(t)}addClass(e,t){e.classList.add(t)}removeClass(e,t){e.classList.remove(t)}setStyle(e,t,n,r){r&Bo.DashCase?e.style.setProperty(t,n,r&Bo.Important?"important":""):e.style[t]=n}removeStyle(e,t,n){n&Bo.DashCase?e.style.removeProperty(t):e.style[t]=""}setProperty(e,t,n){e[t]=n}setValue(e,t){e.nodeValue=t}listen(e,t,n){return"string"==typeof e?this.eventManager.addGlobalEventListener(e,t,Gl(n)):this.eventManager.addEventListener(e,t,Gl(n))}}class Xl extends Ql{constructor(e,t,n,r){super(e),this.component=n;const s=Wl(r+"-"+n.id,n.styles,[]);t.addStyles(s),this.contentAttr="_ngcontent-%COMP%".replace(ql,r+"-"+n.id),this.hostAttr="_nghost-%COMP%".replace(ql,r+"-"+n.id)}applyToHost(e){super.setAttribute(e,this.hostAttr,"")}createElement(e,t){const n=super.createElement(e,t);return super.setAttribute(n,this.contentAttr,""),n}}class ea extends Ql{constructor(e,t,n,r){super(e),this.sharedStylesHost=t,this.hostEl=n,this.component=r,this.shadowRoot=r.encapsulation===Ke.ShadowDom?n.attachShadow({mode:"open"}):n.createShadowRoot(),this.sharedStylesHost.addHost(this.shadowRoot);const s=Wl(r.id,r.styles,[]);for(let o=0;o<s.length;o++){const e=document.createElement("style");e.textContent=s[o],this.shadowRoot.appendChild(e)}}nodeOrShadowRoot(e){return e===this.hostEl?this.shadowRoot:e}destroy(){this.sharedStylesHost.removeHost(this.shadowRoot)}appendChild(e,t){return super.appendChild(this.nodeOrShadowRoot(e),t)}insertBefore(e,t,n){return super.insertBefore(this.nodeOrShadowRoot(e),t,n)}removeChild(e,t){return super.removeChild(this.nodeOrShadowRoot(e),t)}parentNode(e){return this.nodeOrShadowRoot(super.parentNode(this.nodeOrShadowRoot(e)))}}let ta=(()=>{class e extends $l{constructor(e){super(e)}supports(e){return!0}addEventListener(e,t,n){return e.addEventListener(t,n,!1),()=>this.removeEventListener(e,t,n)}removeEventListener(e,t,n){return e.removeEventListener(t,n)}}return e.\u0275fac=function(t){return new(t||e)(Be(El))},e.\u0275prov=se({token:e,factory:e.\u0275fac}),e})();const na=["alt","control","meta","shift"],ra={"\b":"Backspace","\t":"Tab","\x7f":"Delete","\x1b":"Escape",Del:"Delete",Esc:"Escape",Left:"ArrowLeft",Right:"ArrowRight",Up:"ArrowUp",Down:"ArrowDown",Menu:"ContextMenu",Scroll:"ScrollLock",Win:"OS"},sa={A:"1",B:"2",C:"3",D:"4",E:"5",F:"6",G:"7",H:"8",I:"9",J:"*",K:"+",M:"-",N:".",O:"/","`":"0","\x90":"NumLock"},oa={alt:e=>e.altKey,control:e=>e.ctrlKey,meta:e=>e.metaKey,shift:e=>e.shiftKey};let ia=(()=>{class e extends $l{constructor(e){super(e)}supports(t){return null!=e.parseEventName(t)}addEventListener(t,n,r){const s=e.parseEventName(n),o=e.eventCallback(s.fullKey,r,this.manager.getZone());return this.manager.getZone().runOutsideAngular(()=>Cl().onAndCancel(t,s.domEventName,o))}static parseEventName(t){const n=t.toLowerCase().split("."),r=n.shift();if(0===n.length||"keydown"!==r&&"keyup"!==r)return null;const s=e._normalizeKey(n.pop());let o="";if(na.forEach(e=>{const t=n.indexOf(e);t>-1&&(n.splice(t,1),o+=e+".")}),o+=s,0!=n.length||0===s.length)return null;const i={};return i.domEventName=r,i.fullKey=o,i}static getEventFullKey(e){let t="",n=function(e){let t=e.key;if(null==t){if(t=e.keyIdentifier,null==t)return"Unidentified";t.startsWith("U+")&&(t=String.fromCharCode(parseInt(t.substring(2),16)),3===e.location&&sa.hasOwnProperty(t)&&(t=sa[t]))}return ra[t]||t}(e);return n=n.toLowerCase()," "===n?n="space":"."===n&&(n="dot"),na.forEach(r=>{r!=n&&(0,oa[r])(e)&&(t+=r+".")}),t+=n,t}static eventCallback(t,n,r){return s=>{e.getEventFullKey(s)===t&&r.runGuarded(()=>n(s))}}static _normalizeKey(e){switch(e){case"esc":return"escape";default:return e}}}return e.\u0275fac=function(t){return new(t||e)(Be(El))},e.\u0275prov=se({token:e,factory:e.\u0275fac}),e})();const la=dl(_l,"browser",[{provide:Hi,useValue:"browser"},{provide:Pi,useValue:function(){Pl.makeCurrent(),zl.init()},multi:!0},{provide:El,useFactory:function(){return function(e){kt=e}(document),document},deps:[]}]),aa=[[],{provide:Ws,useValue:"root"},{provide:Jn,useFactory:function(){return new Jn},deps:[]},{provide:Bl,useClass:ta,multi:!0,deps:[El,Qi,Hi]},{provide:Bl,useClass:ia,multi:!0,deps:[El]},[],{provide:Kl,useClass:Kl,deps:[Ul,Jl,ji]},{provide:zo,useExisting:Kl},{provide:Zl,useExisting:Jl},{provide:Jl,useClass:Jl,deps:[El]},{provide:il,useClass:il,deps:[Qi]},{provide:Ul,useClass:Ul,deps:[Bl,Qi]},[]];let ua=(()=>{class e{constructor(e){if(e)throw new Error("BrowserModule has already been loaded. If you need access to common directives such as NgIf and NgFor from a lazy loaded module, import CommonModule instead.")}static withServerTransition(t){return{ngModule:e,providers:[{provide:ji,useValue:t.appId},{provide:Vl,useExisting:ji},Ll]}}}return e.\u0275mod=ot({type:e}),e.\u0275inj=oe({factory:function(t){return new(t||e)(Be(e,12))},providers:aa,imports:[Rl,wl]}),e})();class ca{}class ha{}class da{constructor(e){this.normalizedNames=new Map,this.lazyUpdate=null,e?this.lazyInit="string"==typeof e?()=>{this.headers=new Map,e.split("\n").forEach(e=>{const t=e.indexOf(":");if(t>0){const n=e.slice(0,t),r=n.toLowerCase(),s=e.slice(t+1).trim();this.maybeSetNormalizedName(n,r),this.headers.has(r)?this.headers.get(r).push(s):this.headers.set(r,[s])}})}:()=>{this.headers=new Map,Object.keys(e).forEach(t=>{let n=e[t];const r=t.toLowerCase();"string"==typeof n&&(n=[n]),n.length>0&&(this.headers.set(r,n),this.maybeSetNormalizedName(t,r))})}:this.headers=new Map}has(e){return this.init(),this.headers.has(e.toLowerCase())}get(e){this.init();const t=this.headers.get(e.toLowerCase());return t&&t.length>0?t[0]:null}keys(){return this.init(),Array.from(this.normalizedNames.values())}getAll(e){return this.init(),this.headers.get(e.toLowerCase())||null}append(e,t){return this.clone({name:e,value:t,op:"a"})}set(e,t){return this.clone({name:e,value:t,op:"s"})}delete(e,t){return this.clone({name:e,value:t,op:"d"})}maybeSetNormalizedName(e,t){this.normalizedNames.has(t)||this.normalizedNames.set(t,e)}init(){this.lazyInit&&(this.lazyInit instanceof da?this.copyFrom(this.lazyInit):this.lazyInit(),this.lazyInit=null,this.lazyUpdate&&(this.lazyUpdate.forEach(e=>this.applyUpdate(e)),this.lazyUpdate=null))}copyFrom(e){e.init(),Array.from(e.headers.keys()).forEach(t=>{this.headers.set(t,e.headers.get(t)),this.normalizedNames.set(t,e.normalizedNames.get(t))})}clone(e){const t=new da;return t.lazyInit=this.lazyInit&&this.lazyInit instanceof da?this.lazyInit:this,t.lazyUpdate=(this.lazyUpdate||[]).concat([e]),t}applyUpdate(e){const t=e.name.toLowerCase();switch(e.op){case"a":case"s":let n=e.value;if("string"==typeof n&&(n=[n]),0===n.length)return;this.maybeSetNormalizedName(e.name,t);const r=("a"===e.op?this.headers.get(t):void 0)||[];r.push(...n),this.headers.set(t,r);break;case"d":const s=e.value;if(s){let e=this.headers.get(t);if(!e)return;e=e.filter(e=>-1===s.indexOf(e)),0===e.length?(this.headers.delete(t),this.normalizedNames.delete(t)):this.headers.set(t,e)}else this.headers.delete(t),this.normalizedNames.delete(t)}}forEach(e){this.init(),Array.from(this.normalizedNames.keys()).forEach(t=>e(this.normalizedNames.get(t),this.headers.get(t)))}}class fa{encodeKey(e){return pa(e)}encodeValue(e){return pa(e)}decodeKey(e){return decodeURIComponent(e)}decodeValue(e){return decodeURIComponent(e)}}function pa(e){return encodeURIComponent(e).replace(/%40/gi,"@").replace(/%3A/gi,":").replace(/%24/gi,"$").replace(/%2C/gi,",").replace(/%3B/gi,";").replace(/%2B/gi,"+").replace(/%3D/gi,"=").replace(/%3F/gi,"?").replace(/%2F/gi,"/")}class ma{constructor(e={}){if(this.updates=null,this.cloneFrom=null,this.encoder=e.encoder||new fa,e.fromString){if(e.fromObject)throw new Error("Cannot specify both fromString and fromObject.");this.map=function(e,t){const n=new Map;return e.length>0&&e.split("&").forEach(e=>{const r=e.indexOf("="),[s,o]=-1==r?[t.decodeKey(e),""]:[t.decodeKey(e.slice(0,r)),t.decodeValue(e.slice(r+1))],i=n.get(s)||[];i.push(o),n.set(s,i)}),n}(e.fromString,this.encoder)}else e.fromObject?(this.map=new Map,Object.keys(e.fromObject).forEach(t=>{const n=e.fromObject[t];this.map.set(t,Array.isArray(n)?n:[n])})):this.map=null}has(e){return this.init(),this.map.has(e)}get(e){this.init();const t=this.map.get(e);return t?t[0]:null}getAll(e){return this.init(),this.map.get(e)||null}keys(){return this.init(),Array.from(this.map.keys())}append(e,t){return this.clone({param:e,value:t,op:"a"})}set(e,t){return this.clone({param:e,value:t,op:"s"})}delete(e,t){return this.clone({param:e,value:t,op:"d"})}toString(){return this.init(),this.keys().map(e=>{const t=this.encoder.encodeKey(e);return this.map.get(e).map(e=>t+"="+this.encoder.encodeValue(e)).join("&")}).filter(e=>""!==e).join("&")}clone(e){const t=new ma({encoder:this.encoder});return t.cloneFrom=this.cloneFrom||this,t.updates=(this.updates||[]).concat([e]),t}init(){null===this.map&&(this.map=new Map),null!==this.cloneFrom&&(this.cloneFrom.init(),this.cloneFrom.keys().forEach(e=>this.map.set(e,this.cloneFrom.map.get(e))),this.updates.forEach(e=>{switch(e.op){case"a":case"s":const t=("a"===e.op?this.map.get(e.param):void 0)||[];t.push(e.value),this.map.set(e.param,t);break;case"d":if(void 0===e.value){this.map.delete(e.param);break}{let t=this.map.get(e.param)||[];const n=t.indexOf(e.value);-1!==n&&t.splice(n,1),t.length>0?this.map.set(e.param,t):this.map.delete(e.param)}}}),this.cloneFrom=this.updates=null)}}function ga(e){return"undefined"!=typeof ArrayBuffer&&e instanceof ArrayBuffer}function ya(e){return"undefined"!=typeof Blob&&e instanceof Blob}function _a(e){return"undefined"!=typeof FormData&&e instanceof FormData}class ba{constructor(e,t,n,r){let s;if(this.url=t,this.body=null,this.reportProgress=!1,this.withCredentials=!1,this.responseType="json",this.method=e.toUpperCase(),function(e){switch(e){case"DELETE":case"GET":case"HEAD":case"OPTIONS":case"JSONP":return!1;default:return!0}}(this.method)||r?(this.body=void 0!==n?n:null,s=r):s=n,s&&(this.reportProgress=!!s.reportProgress,this.withCredentials=!!s.withCredentials,s.responseType&&(this.responseType=s.responseType),s.headers&&(this.headers=s.headers),s.params&&(this.params=s.params)),this.headers||(this.headers=new da),this.params){const e=this.params.toString();if(0===e.length)this.urlWithParams=t;else{const n=t.indexOf("?");this.urlWithParams=t+(-1===n?"?":n<t.length-1?"&":"")+e}}else this.params=new ma,this.urlWithParams=t}serializeBody(){return null===this.body?null:ga(this.body)||ya(this.body)||_a(this.body)||"string"==typeof this.body?this.body:this.body instanceof ma?this.body.toString():"object"==typeof this.body||"boolean"==typeof this.body||Array.isArray(this.body)?JSON.stringify(this.body):this.body.toString()}detectContentTypeHeader(){return null===this.body||_a(this.body)?null:ya(this.body)?this.body.type||null:ga(this.body)?null:"string"==typeof this.body?"text/plain":this.body instanceof ma?"application/x-www-form-urlencoded;charset=UTF-8":"object"==typeof this.body||"number"==typeof this.body||Array.isArray(this.body)?"application/json":null}clone(e={}){const t=e.method||this.method,n=e.url||this.url,r=e.responseType||this.responseType,s=void 0!==e.body?e.body:this.body,o=void 0!==e.withCredentials?e.withCredentials:this.withCredentials,i=void 0!==e.reportProgress?e.reportProgress:this.reportProgress;let l=e.headers||this.headers,a=e.params||this.params;return void 0!==e.setHeaders&&(l=Object.keys(e.setHeaders).reduce((t,n)=>t.set(n,e.setHeaders[n]),l)),e.setParams&&(a=Object.keys(e.setParams).reduce((t,n)=>t.set(n,e.setParams[n]),a)),new ba(t,n,s,{params:a,headers:l,reportProgress:i,responseType:r,withCredentials:o})}}var wa=function(e){return e[e.Sent=0]="Sent",e[e.UploadProgress=1]="UploadProgress",e[e.ResponseHeader=2]="ResponseHeader",e[e.DownloadProgress=3]="DownloadProgress",e[e.Response=4]="Response",e[e.User=5]="User",e}({});class va{constructor(e,t=200,n="OK"){this.headers=e.headers||new da,this.status=void 0!==e.status?e.status:t,this.statusText=e.statusText||n,this.url=e.url||null,this.ok=this.status>=200&&this.status<300}}class Ca extends va{constructor(e={}){super(e),this.type=wa.ResponseHeader}clone(e={}){return new Ca({headers:e.headers||this.headers,status:void 0!==e.status?e.status:this.status,statusText:e.statusText||this.statusText,url:e.url||this.url||void 0})}}class Ea extends va{constructor(e={}){super(e),this.type=wa.Response,this.body=void 0!==e.body?e.body:null}clone(e={}){return new Ea({body:void 0!==e.body?e.body:this.body,headers:e.headers||this.headers,status:void 0!==e.status?e.status:this.status,statusText:e.statusText||this.statusText,url:e.url||this.url||void 0})}}class xa extends va{constructor(e){super(e,0,"Unknown Error"),this.name="HttpErrorResponse",this.ok=!1,this.message=this.status>=200&&this.status<300?"Http failure during parsing for "+(e.url||"(unknown url)"):`Http failure response for ${e.url||"(unknown url)"}: ${e.status} ${e.statusText}`,this.error=e.error||null}}function Ta(e,t){return{body:t,headers:e.headers,observe:e.observe,params:e.params,reportProgress:e.reportProgress,responseType:e.responseType,withCredentials:e.withCredentials}}let ka=(()=>{class e{constructor(e){this.handler=e}request(e,t,n={}){let r;if(e instanceof ba)r=e;else{let s=void 0;s=n.headers instanceof da?n.headers:new da(n.headers);let o=void 0;n.params&&(o=n.params instanceof ma?n.params:new ma({fromObject:n.params})),r=new ba(e,t,void 0!==n.body?n.body:null,{headers:s,params:o,reportProgress:n.reportProgress,responseType:n.responseType||"json",withCredentials:n.withCredentials})}const s=function(...e){let t=e[e.length-1];return O(t)?(e.pop(),j(e,t)):M(e)}(r).pipe(U(e=>this.handler.handle(e),void 0,1));if(e instanceof ba||"events"===n.observe)return s;const o=s.pipe((i=e=>e instanceof Ea,function(e){return e.lift(new J(i,void 0))}));var i;switch(n.observe||"body"){case"body":switch(r.responseType){case"arraybuffer":return o.pipe(R(e=>{if(null!==e.body&&!(e.body instanceof ArrayBuffer))throw new Error("Response is not an ArrayBuffer.");return e.body}));case"blob":return o.pipe(R(e=>{if(null!==e.body&&!(e.body instanceof Blob))throw new Error("Response is not a Blob.");return e.body}));case"text":return o.pipe(R(e=>{if(null!==e.body&&"string"!=typeof e.body)throw new Error("Response is not a string.");return e.body}));case"json":default:return o.pipe(R(e=>e.body))}case"response":return o;default:throw new Error(`Unreachable: unhandled observe type ${n.observe}}`)}}delete(e,t={}){return this.request("DELETE",e,t)}get(e,t={}){return this.request("GET",e,t)}head(e,t={}){return this.request("HEAD",e,t)}jsonp(e,t){return this.request("JSONP",e,{params:(new ma).append(t,"JSONP_CALLBACK"),observe:"body",responseType:"json"})}options(e,t={}){return this.request("OPTIONS",e,t)}patch(e,t,n={}){return this.request("PATCH",e,Ta(n,t))}post(e,t,n={}){return this.request("POST",e,Ta(n,t))}put(e,t,n={}){return this.request("PUT",e,Ta(n,t))}}return e.\u0275fac=function(t){return new(t||e)(Be(ca))},e.\u0275prov=se({token:e,factory:e.\u0275fac}),e})();class Sa{constructor(e,t){this.next=e,this.interceptor=t}handle(e){return this.interceptor.intercept(e,this.next)}}const Ia=new Oe("HTTP_INTERCEPTORS");let Aa=(()=>{class e{intercept(e,t){return t.handle(e)}}return e.\u0275fac=function(t){return new(t||e)},e.\u0275prov=se({token:e,factory:e.\u0275fac}),e})();const Da=/^\)\]\}',?\n/;class Oa{}let Na=(()=>{class e{constructor(){}build(){return new XMLHttpRequest}}return e.\u0275fac=function(t){return new(t||e)},e.\u0275prov=se({token:e,factory:e.\u0275fac}),e})(),ja=(()=>{class e{constructor(e){this.xhrFactory=e}handle(e){if("JSONP"===e.method)throw new Error("Attempted to construct Jsonp request without HttpClientJsonpModule installed.");return new y(t=>{const n=this.xhrFactory.build();if(n.open(e.method,e.urlWithParams),e.withCredentials&&(n.withCredentials=!0),e.headers.forEach((e,t)=>n.setRequestHeader(e,t.join(","))),e.headers.has("Accept")||n.setRequestHeader("Accept","application/json, text/plain, */*"),!e.headers.has("Content-Type")){const t=e.detectContentTypeHeader();null!==t&&n.setRequestHeader("Content-Type",t)}if(e.responseType){const t=e.responseType.toLowerCase();n.responseType="json"!==t?t:"text"}const r=e.serializeBody();let s=null;const o=()=>{if(null!==s)return s;const t=1223===n.status?204:n.status,r=n.statusText||"OK",o=new da(n.getAllResponseHeaders()),i=function(e){return"responseURL"in e&&e.responseURL?e.responseURL:/^X-Request-URL:/m.test(e.getAllResponseHeaders())?e.getResponseHeader("X-Request-URL"):null}(n)||e.url;return s=new Ca({headers:o,status:t,statusText:r,url:i}),s},i=()=>{let{headers:r,status:s,statusText:i,url:l}=o(),a=null;204!==s&&(a=void 0===n.response?n.responseText:n.response),0===s&&(s=a?200:0);let u=s>=200&&s<300;if("json"===e.responseType&&"string"==typeof a){const e=a;a=a.replace(Da,"");try{a=""!==a?JSON.parse(a):null}catch(c){a=e,u&&(u=!1,a={error:c,text:a})}}u?(t.next(new Ea({body:a,headers:r,status:s,statusText:i,url:l||void 0})),t.complete()):t.error(new xa({error:a,headers:r,status:s,statusText:i,url:l||void 0}))},l=e=>{const{url:r}=o(),s=new xa({error:e,status:n.status||0,statusText:n.statusText||"Unknown Error",url:r||void 0});t.error(s)};let a=!1;const u=r=>{a||(t.next(o()),a=!0);let s={type:wa.DownloadProgress,loaded:r.loaded};r.lengthComputable&&(s.total=r.total),"text"===e.responseType&&n.responseText&&(s.partialText=n.responseText),t.next(s)},c=e=>{let n={type:wa.UploadProgress,loaded:e.loaded};e.lengthComputable&&(n.total=e.total),t.next(n)};return n.addEventListener("load",i),n.addEventListener("error",l),e.reportProgress&&(n.addEventListener("progress",u),null!==r&&n.upload&&n.upload.addEventListener("progress",c)),n.send(r),t.next({type:wa.Sent}),()=>{n.removeEventListener("error",l),n.removeEventListener("load",i),e.reportProgress&&(n.removeEventListener("progress",u),null!==r&&n.upload&&n.upload.removeEventListener("progress",c)),n.readyState!==n.DONE&&n.abort()}})}}return e.\u0275fac=function(t){return new(t||e)(Be(Oa))},e.\u0275prov=se({token:e,factory:e.\u0275fac}),e})();const Ma=new Oe("XSRF_COOKIE_NAME"),Ra=new Oe("XSRF_HEADER_NAME");class Pa{}let Ha=(()=>{class e{constructor(e,t,n){this.doc=e,this.platform=t,this.cookieName=n,this.lastCookieString="",this.lastToken=null,this.parseCount=0}getToken(){if("server"===this.platform)return null;const e=this.doc.cookie||"";return e!==this.lastCookieString&&(this.parseCount++,this.lastToken=Sl(e,this.cookieName),this.lastCookieString=e),this.lastToken}}return e.\u0275fac=function(t){return new(t||e)(Be(El),Be(Hi),Be(Ma))},e.\u0275prov=se({token:e,factory:e.\u0275fac}),e})(),Fa=(()=>{class e{constructor(e,t){this.tokenService=e,this.headerName=t}intercept(e,t){const n=e.url.toLowerCase();if("GET"===e.method||"HEAD"===e.method||n.startsWith("http://")||n.startsWith("https://"))return t.handle(e);const r=this.tokenService.getToken();return null===r||e.headers.has(this.headerName)||(e=e.clone({headers:e.headers.set(this.headerName,r)})),t.handle(e)}}return e.\u0275fac=function(t){return new(t||e)(Be(Pa),Be(Ra))},e.\u0275prov=se({token:e,factory:e.\u0275fac}),e})(),Va=(()=>{class e{constructor(e,t){this.backend=e,this.injector=t,this.chain=null}handle(e){if(null===this.chain){const e=this.injector.get(Ia,[]);this.chain=e.reduceRight((e,t)=>new Sa(e,t),this.backend)}return this.chain.handle(e)}}return e.\u0275fac=function(t){return new(t||e)(Be(ha),Be(ao))},e.\u0275prov=se({token:e,factory:e.\u0275fac}),e})(),La=(()=>{class e{static disable(){return{ngModule:e,providers:[{provide:Fa,useClass:Aa}]}}static withOptions(t={}){return{ngModule:e,providers:[t.cookieName?{provide:Ma,useValue:t.cookieName}:[],t.headerName?{provide:Ra,useValue:t.headerName}:[]]}}}return e.\u0275mod=ot({type:e}),e.\u0275inj=oe({factory:function(t){return new(t||e)},providers:[Fa,{provide:Ia,useExisting:Fa,multi:!0},{provide:Pa,useClass:Ha},{provide:Ma,useValue:"XSRF-TOKEN"},{provide:Ra,useValue:"X-XSRF-TOKEN"}]}),e})(),za=(()=>{class e{}return e.\u0275mod=ot({type:e}),e.\u0275inj=oe({factory:function(t){return new(t||e)},providers:[ka,{provide:ca,useClass:Va},ja,{provide:ha,useExisting:ja},Na,{provide:Oa,useExisting:Na}],imports:[[La.withOptions({cookieName:"XSRF-TOKEN",headerName:"X-XSRF-TOKEN"})]]}),e})();const Ba=`${location.protocol}//${location.hostname}`,Ua={jobs:Ba.concat("/v2/jobs"),apply:Ba.concat("/v2/apply"),readall:Ba.concat("/v2/readall"),kill:Ba.concat("/kill"),upvote:Ba.concat("/vote/up"),downvote:Ba.concat("/vote/down")};let $a=(()=>{class e{constructor(e){this.http=e,this.timerID=0,this.t=0,this.jobsSubject=new D([]),console.log("ActionsService::init"),this.update()}toHour(e=0){return 36e5-(new Date).getTime()%36e5+e}update(){console.log("ActionsService::update"),this.getJobsV2();const e=this.toHour()+6e5;console.log("Next:",e),this.timerID=setTimeout(()=>{this.update()},e)}getJobs(){return this.http.get(Ua.jobs)}getJobsV2(){console.log(">> GetJobsV2"),this.http.get(Ua.jobs).subscribe(e=>{this.jobsSubject.next(e)})}loadJobDetails(e){return console.log(">> loadJobDetails",e),this.http.get(`${Ua.jobs}\\${e}`)}touchJob(e){return console.log(">> touchJob",e),this.http.put(`${Ua.jobs}/${e}`,null)}updateJob(e){console.log(">> updateJob",e),this.jobsSubject.subscribe({next:t=>t.map(t=>(t._id===e&&(t.read=Date.now()),t))}).unsubscribe()}markAllRead(){return console.log(">> markAllRead"),this.http.put(""+Ua.readall,null)}appliedJob(e){console.log(">> appliedJob",e),console.log("Applying.."),this.http.put(`${Ua.apply}/${e}`,null).subscribe(()=>{this.updateJobApplied(e)},e=>console.error("doApply",e))}updateJobApplied(e){console.log(">> updateJob",e),this.jobsSubject.subscribe({next:t=>t.map(t=>(t._id===e&&(t.applied=Date.now()),t))}).unsubscribe()}}return e.\u0275fac=function(t){return new(t||e)(Be(ka))},e.\u0275prov=se({token:e,factory:e.\u0275fac,providedIn:"root"}),e})(),Za=(()=>{class e{constructor(e){this.actions=e,this.titleText="Jobs"}ngOnInit(){}doMarkRead(){console.log("Mark all read"),this.actions.markAllRead().subscribe(()=>{this.actions.getJobsV2()},e=>console.error("ngOnChanges",e))}}return e.\u0275fac=function(t){return new(t||e)(bo($a))},e.\u0275cmp=tt({type:e,selectors:[["app-header"]],decls:7,vars:1,consts:[[1,"navbar","bg-primary"],[1,"navbar-section"],[1,"text-bold","navbar-brand","mx-1","text-uppercase"],[1,"navbar-section","text-right"],[1,"btn","btn-sm","btn-primary",3,"click"]],template:function(e,t){1&e&&(Co(0,"header",0),Co(1,"section",1),Co(2,"span",2),jo(3),Eo(),Eo(),Co(4,"section",3),Co(5,"button",4),So("click",(function(){return t.doMarkRead()})),jo(6,"Mark All Read"),Eo(),Eo(),Eo()),2&e&&(Br(3),Mo(t.titleText))},styles:[""]}),e})();var Ja=/d{1,4}|M{1,4}|YY(?:YY)?|S{1,3}|Do|ZZ|Z|([HhMsDm])\1?|[aA]|"[^"]*"|'[^']*'/g,Ya=/\[([^]*?)\]/gm;function qa(e,t){for(var n=[],r=0,s=e.length;r<s;r++)n.push(e[r].substr(0,t));return n}function Wa(e){for(var t=[],n=1;n<arguments.length;n++)t[n-1]=arguments[n];for(var r=0,s=t;r<s.length;r++){var o=s[r];for(var i in o)e[i]=o[i]}return e}var Ga=["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"],Ka=["January","February","March","April","May","June","July","August","September","October","November","December"],Qa=qa(Ka,3),Xa=Wa({},{dayNamesShort:qa(Ga,3),dayNames:Ga,monthNamesShort:Qa,monthNames:Ka,amPm:["am","pm"],DoFn:function(e){return e+["th","st","nd","rd"][e%10>3?0:(e-e%10!=10?1:0)*e%10]}}),eu=function(e,t){for(void 0===t&&(t=2),e=String(e);e.length<t;)e="0"+e;return e},tu={D:function(e){return String(e.getDate())},DD:function(e){return eu(e.getDate())},Do:function(e,t){return t.DoFn(e.getDate())},d:function(e){return String(e.getDay())},dd:function(e){return eu(e.getDay())},ddd:function(e,t){return t.dayNamesShort[e.getDay()]},dddd:function(e,t){return t.dayNames[e.getDay()]},M:function(e){return String(e.getMonth()+1)},MM:function(e){return eu(e.getMonth()+1)},MMM:function(e,t){return t.monthNamesShort[e.getMonth()]},MMMM:function(e,t){return t.monthNames[e.getMonth()]},YY:function(e){return eu(String(e.getFullYear()),4).substr(2)},YYYY:function(e){return eu(e.getFullYear(),4)},h:function(e){return String(e.getHours()%12||12)},hh:function(e){return eu(e.getHours()%12||12)},H:function(e){return String(e.getHours())},HH:function(e){return eu(e.getHours())},m:function(e){return String(e.getMinutes())},mm:function(e){return eu(e.getMinutes())},s:function(e){return String(e.getSeconds())},ss:function(e){return eu(e.getSeconds())},S:function(e){return String(Math.round(e.getMilliseconds()/100))},SS:function(e){return eu(Math.round(e.getMilliseconds()/10),2)},SSS:function(e){return eu(e.getMilliseconds(),3)},a:function(e,t){return e.getHours()<12?t.amPm[0]:t.amPm[1]},A:function(e,t){return e.getHours()<12?t.amPm[0].toUpperCase():t.amPm[1].toUpperCase()},ZZ:function(e){var t=e.getTimezoneOffset();return(t>0?"-":"+")+eu(100*Math.floor(Math.abs(t)/60)+Math.abs(t)%60,4)},Z:function(e){var t=e.getTimezoneOffset();return(t>0?"-":"+")+eu(Math.floor(Math.abs(t)/60),2)+":"+eu(Math.abs(t)%60,2)}},nu={default:"ddd MMM DD YYYY HH:mm:ss",shortDate:"M/D/YY",mediumDate:"MMM D, YYYY",longDate:"MMMM D, YYYY",fullDate:"dddd, MMMM D, YYYY",isoDate:"YYYY-MM-DD",isoDateTime:"YYYY-MM-DDTHH:mm:ssZ",shortTime:"HH:mm",mediumTime:"HH:mm:ss",longTime:"HH:mm:ss.SSS"};function ru(e,t){if(1&e){const e=To();Co(0,"tr",6),So("click",(function(){Bt(e);const n=t.$implicit;return Do().clickEvent(n._id)})),Co(1,"td",7),jo(2),Eo(),Co(3,"td"),jo(4),Eo(),Co(5,"td",8),jo(6),Eo(),Co(7,"td",8),jo(8),Eo(),Eo()}if(2&e){const e=t.$implicit,n=Do();Oo("id",e._id),wo("ngClass",n.setClasses(e)),Br(2),Ro(" ",e.title," "),Br(2),Mo(e.site),Br(1),Oo("title",e.company),Br(1),Mo(n.ellipsisV2(e.company,25)),Br(1),Oo("title",n.timeStamptoLocaleDate(e.timestamp)),Br(1),Mo(n.timeOrDate(e.timestamp))}}let su=(()=>{class e{constructor(e){this.actions=e,this.jobs=[],this.showJobDetail=new Di,this.jobsSub=this.actions.jobsSubject.subscribe(e=>{this.jobs=e})}ngOnInit(){}ellipsisV2(e,t=40,n=!0){if(e.length<=t)return e;const r=e.substr(0,t-1);return(n?r.substr(0,r.lastIndexOf(" ")):r)+"\u2026"}haveRead(e){return 0!==e.read?"read":""}haveApplied(e){return 0!==e.applied?"applied":""}timeStamptoLocaleDate(e){return new Date(e).toLocaleString()}timeOrDate(e){const t=864e5*~~(Date.now()/864e5);return function(e,t,n){if(void 0===t&&(t=nu.default),void 0===n&&(n={}),"number"==typeof e&&(e=new Date(e)),"[object Date]"!==Object.prototype.toString.call(e)||isNaN(e.getTime()))throw new Error("Invalid Date pass to format");var r=[];t=(t=nu[t]||t).replace(Ya,(function(e,t){return r.push(t),"@@@"}));var s=Wa(Wa({},Xa),n);return(t=t.replace(Ja,(function(t){return tu[t](e,s)}))).replace(/@@@/g,(function(){return r.shift()}))}(new Date(e),e>t?"shortTime":"isoDate")}setClasses(e){return{read:e.read,applied:e.applied}}clickEvent(e){console.log(e),this.showJobDetail.emit(e)}}return e.\u0275fac=function(t){return new(t||e)(bo($a))},e.\u0275cmp=tt({type:e,selectors:[["app-lister"]],outputs:{showJobDetail:"showJobDetail"},decls:14,vars:1,consts:[[1,"lister"],[1,""],[1,"col-5"],[1,"col-2"],[1,"col-3"],["class","dataRow",3,"id","ngClass","click",4,"ngFor","ngForOf"],[1,"dataRow",3,"id","ngClass","click"],[1,"noOverflow"],[3,"title"]],template:function(e,t){1&e&&(Co(0,"div",0),Co(1,"table",1),Co(2,"thead"),Co(3,"tr"),Co(4,"th",2),jo(5," Title "),Eo(),Co(6,"th",3),jo(7," Site "),Eo(),Co(8,"th",4),jo(9," Company "),Eo(),Co(10,"th",3),jo(11," Date "),Eo(),Eo(),Eo(),Co(12,"tbody"),_o(13,ru,9,8,"tr",5),Eo(),Eo(),Eo()),2&e&&(Br(13),wo("ngForOf",t.jobs))},directives:[Dl,Il],styles:[".lister[_ngcontent-%COMP%]{height:45vh;max-height:45vh;overflow-y:scroll}.hide[_ngcontent-%COMP%]{display:none}.company[_ngcontent-%COMP%]{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.dataRow[_ngcontent-%COMP%]{font-weight:700;color:#2f4f4f}.read[_ngcontent-%COMP%]{font-weight:400!important;color:#696969}.applied[_ngcontent-%COMP%]{box-shadow:inset 0 0 5px 5px rgba(247,222,47,.4117647058823529)}.dataRow[_ngcontent-%COMP%]:hover{background-color:rgba(245,238,100,.54)}.small[_ngcontent-%COMP%]{font-size:70%}.noOverflow[_ngcontent-%COMP%]{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}"]}),e})();function ou(e,t){if(1&e&&(Co(0,"span",3),jo(1),Eo()),2&e){const e=t.$implicit,n=Do();Oo("id",e),wo("className",n.classifier(e)),Br(1),Mo(e)}}let iu=(()=>{class e{constructor(){}ngOnInit(){}classifier(e){return-1!==this.autoclass.bad.indexOf(e)?"badge badge-danger":-1!==this.autoclass.good.indexOf(e)?"badge badge-success":"badge badge-dark"}}return e.\u0275fac=function(t){return new(t||e)},e.\u0275cmp=tt({type:e,selectors:[["app-wordbar"]],inputs:{autoclass:"autoclass"},decls:3,vars:1,consts:[[1,"row"],[1,"col-12"],[3,"id","className",4,"ngFor","ngForOf"],[3,"id","className"]],template:function(e,t){1&e&&(Co(0,"div",0),Co(1,"div",1),_o(2,ou,2,3,"span",2),Eo(),Eo()),2&e&&(Br(2),wo("ngForOf",t.autoclass.words))},directives:[Dl],styles:[""]}),e})();function lu(e,t){1&e&&(Co(0,"span",15),jo(1,"Contract"),Eo())}function au(e,t){1&e&&(Co(0,"span",16),jo(1,"Permanent"),Eo())}function uu(e,t){if(1&e){const e=To();Co(0,"button",17),So("click",(function(){return Bt(e),Do(2).doJobApply()})),jo(1,"Applied"),Eo()}}function cu(e,t){1&e&&(Co(0,"span"),jo(1,"Applied!"),Eo())}function hu(e,t){1&e&&xo(0,"blockquote",18),2&e&&wo("innerHTML",Do(2).jobDetails.summary,Cr)}function du(e,t){if(1&e&&(Co(0,"div",1),Co(1,"div",2),Co(2,"div",3),Co(3,"div",4),jo(4),Eo(),_o(5,lu,2,0,"span",5),_o(6,au,2,0,"span",6),Eo(),Co(7,"div",3),Co(8,"div",7),jo(9," Company: "),Co(10,"span",8),jo(11),Eo(),Eo(),Co(12,"div",7),jo(13," Location: "),Co(14,"span",8),jo(15),Eo(),Eo(),Co(16,"div",7),jo(17," Applied: "),_o(18,uu,2,0,"button",9),_o(19,cu,2,0,"span",10),Eo(),Eo(),Co(20,"div",3),Co(21,"div",7),jo(22," Salary: "),xo(23,"span",11),Eo(),Co(24,"div",7),jo(25," Scraped: "),Co(26,"span",8),jo(27),Eo(),Eo(),Co(28,"div",7),jo(29," Site: "),Co(30,"a",12),jo(31),Eo(),Eo(),Eo(),xo(32,"app-wordbar",13),Eo(),_o(33,hu,1,1,"blockquote",14),Eo()),2&e){const e=Do();Br(1),wo("ngClass",e.haveApplied()),Br(3),Ro(" ",e.jobDetails.title," "),Br(1),wo("ngIf",1===e.jobtype()),Br(1),wo("ngIf",2===e.jobtype()),Br(5),Mo(e.jobDetails.company),Br(4),Mo(e.jobDetails.location),Br(3),wo("ngIf",!e.haveAppliedTF()),Br(1),wo("ngIf",e.haveAppliedTF()),Br(4),wo("innerHTML",e.jobDetails.salary,Cr),Br(4),Mo(e.jobDetails.date),Br(3),Oo("href",e.jobDetails.url,Er),Br(1),Mo(e.jobDetails.site),Br(1),wo("autoclass",e.jobDetails.data.autoclass),Br(1),wo("ngIf",e.jobDetails.summary)}}let fu=(()=>{class e{constructor(e){this.actions=e}ngOnInit(){}ngOnChanges(){console.log(">> Detail ngOnChanges",this.jobId,""===this.jobId),""!==this.jobId&&(this.actions.loadJobDetails(this.jobId).subscribe(e=>{this.jobDetails=e,console.log("loaded",this.jobDetails)}),this.actions.touchJob(this.jobId).subscribe(()=>{this.actions.updateJob(this.jobId)},e=>console.error("ngOnChanges",e)))}haveApplied(){return""!==this.jobId&&0!==this.jobDetails.data.applied?"applied":""}haveAppliedTF(){return""!==this.jobId&&0!==this.jobDetails.data.applied}jobtype(){return""!==this.jobId?this.jobDetails.data.jobtype:0}doJobApply(){""!==this.jobId&&(this.actions.appliedJob(this.jobId),this.jobDetails.data.applied=Date.now())}}return e.\u0275fac=function(t){return new(t||e)(bo($a))},e.\u0275cmp=tt({type:e,selectors:[["app-detail"]],inputs:{jobId:"jobId"},features:[vt],decls:1,vars:1,consts:[["class","detail",4,"ngIf"],[1,"detail"],[1,"detailHead","bg-light",3,"ngClass"],[1,"row"],[1,"col-12","text-primary","lead"],["class","badge badge-success",4,"ngIf"],["class","badge badge-danger",4,"ngIf"],[1,"col-1-3rd"],[1,"text-primary"],["class","btn btn-sm btn-primary",3,"click",4,"ngIf"],[4,"ngIf"],[1,"text-primary",3,"innerHTML"],["target","_blank",1,"text-capitalize",3,"href"],[3,"autoclass"],["class","container noscroll",3,"innerHTML",4,"ngIf"],[1,"badge","badge-success"],[1,"badge","badge-danger"],[1,"btn","btn-sm","btn-primary",3,"click"],[1,"container","noscroll",3,"innerHTML"]],template:function(e,t){1&e&&_o(0,du,34,14,"div",0),2&e&&wo("ngIf",t.jobDetails)},directives:[Nl,Il,iu],styles:[".detail[_ngcontent-%COMP%]{width:100%;border-top:2px solid #e1e1e1;height:49.5vh;max-height:49.5vh;overflow-y:scroll}.detailHead[_ngcontent-%COMP%]{box-sizing:border-box;margin-right:auto;margin-left:auto;padding-left:15px;padding-right:15px}.row[_ngcontent-%COMP%]{margin:1% 0;overflow:auto;display:flex}.applied[_ngcontent-%COMP%]{box-shadow:inset 0 0 5px 5px rgba(247,222,47,.4117647058823529)}"]}),e})(),pu=(()=>{class e{constructor(){this.title="angular-jobs",this.jobId=""}handleShowJobDetail(e){console.log(">> app-root // handleShowJobDetail",e),this.jobId=e}}return e.\u0275fac=function(t){return new(t||e)},e.\u0275cmp=tt({type:e,selectors:[["app-root"]],decls:5,vars:1,consts:[[1,"container","fullWidth","noscroll"],[1,"col-12"],[3,"showJobDetail"],[3,"jobId"]],template:function(e,t){1&e&&(xo(0,"app-header"),Co(1,"div",0),Co(2,"div",1),Co(3,"app-lister",2),So("showJobDetail",(function(e){return t.handleShowJobDetail(e)})),Eo(),xo(4,"app-detail",3),Eo(),Eo()),2&e&&(Br(4),wo("jobId",t.jobId))},directives:[Za,su,fu],styles:[""]}),e})(),mu=(()=>{class e{}return e.\u0275mod=ot({type:e,bootstrap:[pu]}),e.\u0275inj=oe({factory:function(t){return new(t||e)},providers:[],imports:[[ua,za]]}),e})();!function(){if(Kn)throw new Error("Cannot enable prod mode after platform setup.");Gn=!1}(),la().bootstrapModule(mu).catch(e=>console.error(e))}},[[0,0]]]); |