-
Notifications
You must be signed in to change notification settings - Fork 0
/
main.af6a44bc1a4b6235bc15.js
1 lines (1 loc) · 170 KB
/
main.af6a44bc1a4b6235bc15.js
1
(self.webpackChunkhttp_jsonserver=self.webpackChunkhttp_jsonserver||[]).push([[179],{255:t=>{function e(t){return Promise.resolve().then(()=>{var e=new Error("Cannot find module '"+t+"'");throw e.code="MODULE_NOT_FOUND",e})}e.keys=()=>[],e.resolve=e,e.id=255,t.exports=e},550:(t,e,n)=>{"use strict";function r(t){return"function"==typeof t}let s=!1;const o={Promise:void 0,set useDeprecatedSynchronousErrorHandling(t){if(t){const t=new Error;console.warn("DEPRECATED! RxJS was set to use deprecated synchronous error handling behavior by code at: \n"+t.stack)}else s&&console.log("RxJS: Back to a better error behavior. Thank you. <3");s=t},get useDeprecatedSynchronousErrorHandling(){return s}};function i(t){setTimeout(()=>{throw t},0)}const l={closed:!0,next(t){},error(t){if(o.useDeprecatedSynchronousErrorHandling)throw t;i(t)},complete(){}},a=Array.isArray||(t=>t&&"number"==typeof t.length);function u(t){return null!==t&&"object"==typeof t}const c=(()=>{function t(t){return Error.call(this),this.message=t?`${t.length} errors occurred during unsubscription:\n${t.map((t,e)=>`${e+1}) ${t.toString()}`).join("\n ")}`:"",this.name="UnsubscriptionError",this.errors=t,this}return t.prototype=Object.create(Error.prototype),t})();class h{constructor(t){this.closed=!1,this._parentOrParents=null,this._subscriptions=null,t&&(this._ctorUnsubscribe=!0,this._unsubscribe=t)}unsubscribe(){let t;if(this.closed)return;let{_parentOrParents:e,_ctorUnsubscribe:n,_unsubscribe:s,_subscriptions:o}=this;if(this.closed=!0,this._parentOrParents=null,this._subscriptions=null,e instanceof h)e.remove(this);else if(null!==e)for(let r=0;r<e.length;++r)e[r].remove(this);if(r(s)){n&&(this._unsubscribe=void 0);try{s.call(this)}catch(i){t=i instanceof c?d(i.errors):[i]}}if(a(o)){let e=-1,n=o.length;for(;++e<n;){const n=o[e];if(u(n))try{n.unsubscribe()}catch(i){t=t||[],i instanceof c?t=t.concat(d(i.errors)):t.push(i)}}}if(t)throw new c(t)}add(t){let e=t;if(!t)return h.EMPTY;switch(typeof t){case"function":e=new h(t);case"object":if(e===this||e.closed||"function"!=typeof e.unsubscribe)return e;if(this.closed)return e.unsubscribe(),e;if(!(e instanceof h)){const t=e;e=new h,e._subscriptions=[t]}break;default:throw new Error("unrecognized teardown "+t+" added to Subscription.")}let{_parentOrParents:n}=e;if(null===n)e._parentOrParents=this;else if(n instanceof h){if(n===this)return e;e._parentOrParents=[n,this]}else{if(-1!==n.indexOf(this))return e;n.push(this)}const r=this._subscriptions;return null===r?this._subscriptions=[e]:r.push(e),e}remove(t){const e=this._subscriptions;if(e){const n=e.indexOf(t);-1!==n&&e.splice(n,1)}}}function d(t){return t.reduce((t,e)=>t.concat(e instanceof c?e.errors:e),[])}h.EMPTY=function(t){return t.closed=!0,t}(new h);const f="function"==typeof Symbol?Symbol("rxSubscriber"):"@@rxSubscriber_"+Math.random();class p extends h{constructor(t,e,n){switch(super(),this.syncErrorValue=null,this.syncErrorThrown=!1,this.syncErrorThrowable=!1,this.isStopped=!1,arguments.length){case 0:this.destination=l;break;case 1:if(!t){this.destination=l;break}if("object"==typeof t){t instanceof p?(this.syncErrorThrowable=t.syncErrorThrowable,this.destination=t,t.add(this)):(this.syncErrorThrowable=!0,this.destination=new m(this,t));break}default:this.syncErrorThrowable=!0,this.destination=new m(this,t,e,n)}}[f](){return this}static create(t,e,n){const r=new p(t,e,n);return r.syncErrorThrowable=!1,r}next(t){this.isStopped||this._next(t)}error(t){this.isStopped||(this.isStopped=!0,this._error(t))}complete(){this.isStopped||(this.isStopped=!0,this._complete())}unsubscribe(){this.closed||(this.isStopped=!0,super.unsubscribe())}_next(t){this.destination.next(t)}_error(t){this.destination.error(t),this.unsubscribe()}_complete(){this.destination.complete(),this.unsubscribe()}_unsubscribeAndRecycle(){const{_parentOrParents:t}=this;return this._parentOrParents=null,this.unsubscribe(),this.closed=!1,this.isStopped=!1,this._parentOrParents=t,this}}class m extends p{constructor(t,e,n,s){let o;super(),this._parentSubscriber=t;let i=this;r(e)?o=e:e&&(o=e.next,n=e.error,s=e.complete,e!==l&&(i=Object.create(e),r(i.unsubscribe)&&this.add(i.unsubscribe.bind(i)),i.unsubscribe=this.unsubscribe.bind(this))),this._context=i,this._next=o,this._error=n,this._complete=s}next(t){if(!this.isStopped&&this._next){const{_parentSubscriber:e}=this;o.useDeprecatedSynchronousErrorHandling&&e.syncErrorThrowable?this.__tryOrSetError(e,this._next,t)&&this.unsubscribe():this.__tryOrUnsub(this._next,t)}}error(t){if(!this.isStopped){const{_parentSubscriber:e}=this,{useDeprecatedSynchronousErrorHandling:n}=o;if(this._error)n&&e.syncErrorThrowable?(this.__tryOrSetError(e,this._error,t),this.unsubscribe()):(this.__tryOrUnsub(this._error,t),this.unsubscribe());else if(e.syncErrorThrowable)n?(e.syncErrorValue=t,e.syncErrorThrown=!0):i(t),this.unsubscribe();else{if(this.unsubscribe(),n)throw t;i(t)}}}complete(){if(!this.isStopped){const{_parentSubscriber:t}=this;if(this._complete){const e=()=>this._complete.call(this._context);o.useDeprecatedSynchronousErrorHandling&&t.syncErrorThrowable?(this.__tryOrSetError(t,e),this.unsubscribe()):(this.__tryOrUnsub(e),this.unsubscribe())}else this.unsubscribe()}}__tryOrUnsub(t,e){try{t.call(this._context,e)}catch(n){if(this.unsubscribe(),o.useDeprecatedSynchronousErrorHandling)throw n;i(n)}}__tryOrSetError(t,e,n){if(!o.useDeprecatedSynchronousErrorHandling)throw new Error("bad call");try{e.call(this._context,n)}catch(r){return o.useDeprecatedSynchronousErrorHandling?(t.syncErrorValue=r,t.syncErrorThrown=!0,!0):(i(r),!0)}return!1}_unsubscribe(){const{_parentSubscriber:t}=this;this._context=null,this._parentSubscriber=null,t.unsubscribe()}}const y="function"==typeof Symbol&&Symbol.observable||"@@observable";function g(t){return t}let _=(()=>{class t{constructor(t){this._isScalar=!1,t&&(this._subscribe=t)}lift(e){const n=new t;return n.source=this,n.operator=e,n}subscribe(t,e,n){const{operator:r}=this,s=function(t,e,n){if(t){if(t instanceof p)return t;if(t[f])return t[f]()}return t||e||n?new p(t,e,n):new p(l)}(t,e,n);if(s.add(r?r.call(s,this.source):this.source||o.useDeprecatedSynchronousErrorHandling&&!s.syncErrorThrowable?this._subscribe(s):this._trySubscribe(s)),o.useDeprecatedSynchronousErrorHandling&&s.syncErrorThrowable&&(s.syncErrorThrowable=!1,s.syncErrorThrown))throw s.syncErrorValue;return s}_trySubscribe(t){try{return this._subscribe(t)}catch(e){o.useDeprecatedSynchronousErrorHandling&&(t.syncErrorThrown=!0,t.syncErrorValue=e),function(t){for(;t;){const{closed:e,destination:n,isStopped:r}=t;if(e||r)return!1;t=n&&n instanceof p?n:null}return!0}(t)?t.error(e):console.warn(e)}}forEach(t,e){return new(e=v(e))((e,n)=>{let r;r=this.subscribe(e=>{try{t(e)}catch(s){n(s),r&&r.unsubscribe()}},n,e)})}_subscribe(t){const{source:e}=this;return e&&e.subscribe(t)}[y](){return this}pipe(...t){return 0===t.length?this:(0===(e=t).length?g:1===e.length?e[0]:function(t){return e.reduce((t,e)=>e(t),t)})(this);var e}toPromise(t){return new(t=v(t))((t,e)=>{let n;this.subscribe(t=>n=t,t=>e(t),()=>t(n))})}}return t.create=e=>new t(e),t})();function v(t){if(t||(t=o.Promise||Promise),!t)throw new Error("no Promise impl found");return t}const b=(()=>{function t(){return Error.call(this),this.message="object unsubscribed",this.name="ObjectUnsubscribedError",this}return t.prototype=Object.create(Error.prototype),t})();class w extends h{constructor(t,e){super(),this.subject=t,this.subscriber=e,this.closed=!1}unsubscribe(){if(this.closed)return;this.closed=!0;const t=this.subject,e=t.observers;if(this.subject=null,!e||0===e.length||t.isStopped||t.closed)return;const n=e.indexOf(this.subscriber);-1!==n&&e.splice(n,1)}}class C extends p{constructor(t){super(t),this.destination=t}}let E=(()=>{class t extends _{constructor(){super(),this.observers=[],this.closed=!1,this.isStopped=!1,this.hasError=!1,this.thrownError=null}[f](){return new C(this)}lift(t){const e=new x(this,this);return e.operator=t,e}next(t){if(this.closed)throw new b;if(!this.isStopped){const{observers:e}=this,n=e.length,r=e.slice();for(let s=0;s<n;s++)r[s].next(t)}}error(t){if(this.closed)throw new b;this.hasError=!0,this.thrownError=t,this.isStopped=!0;const{observers:e}=this,n=e.length,r=e.slice();for(let s=0;s<n;s++)r[s].error(t);this.observers.length=0}complete(){if(this.closed)throw new b;this.isStopped=!0;const{observers:t}=this,e=t.length,n=t.slice();for(let r=0;r<e;r++)n[r].complete();this.observers.length=0}unsubscribe(){this.isStopped=!0,this.closed=!0,this.observers=null}_trySubscribe(t){if(this.closed)throw new b;return super._trySubscribe(t)}_subscribe(t){if(this.closed)throw new b;return this.hasError?(t.error(this.thrownError),h.EMPTY):this.isStopped?(t.complete(),h.EMPTY):(this.observers.push(t),new w(this,t))}asObservable(){const t=new _;return t.source=this,t}}return t.create=(t,e)=>new x(t,e),t})();class x extends E{constructor(t,e){super(),this.destination=t,this.source=e}next(t){const{destination:e}=this;e&&e.next&&e.next(t)}error(t){const{destination:e}=this;e&&e.error&&this.destination.error(t)}complete(){const{destination:t}=this;t&&t.complete&&this.destination.complete()}_subscribe(t){const{source:e}=this;return e?this.source.subscribe(t):h.EMPTY}}function A(t){return t&&"function"==typeof t.schedule}function k(t,e){return function(n){if("function"!=typeof t)throw new TypeError("argument is not a function. Are you looking for `mapTo()`?");return n.lift(new T(t,e))}}class T{constructor(t,e){this.project=t,this.thisArg=e}call(t,e){return e.subscribe(new V(t,this.project,this.thisArg))}}class V extends p{constructor(t,e,n){super(t),this.project=e,this.count=0,this.thisArg=n||this}_next(t){let e;try{e=this.project.call(this.thisArg,t,this.count++)}catch(n){return void this.destination.error(n)}this.destination.next(e)}}const S=t=>e=>{for(let n=0,r=t.length;n<r&&!e.closed;n++)e.next(t[n]);e.complete()},O="function"==typeof Symbol&&Symbol.iterator?Symbol.iterator:"@@iterator",I=t=>t&&"number"==typeof t.length&&"function"!=typeof t;function D(t){return!!t&&"function"!=typeof t.subscribe&&"function"==typeof t.then}const P=t=>{if(t&&"function"==typeof t[y])return n=t,t=>{const e=n[y]();if("function"!=typeof e.subscribe)throw new TypeError("Provided object does not correctly implement Symbol.observable");return e.subscribe(t)};if(I(t))return S(t);if(D(t))return(t=>e=>(t.then(t=>{e.closed||(e.next(t),e.complete())},t=>e.error(t)).then(null,i),e))(t);if(t&&"function"==typeof t[O])return e=t,t=>{const n=e[O]();for(;;){let e;try{e=n.next()}catch(r){return t.error(r),t}if(e.done){t.complete();break}if(t.next(e.value),t.closed)break}return"function"==typeof n.return&&t.add(()=>{n.return&&n.return()}),t};{const e=u(t)?"an invalid object":`'${t}'`;throw new TypeError(`You provided ${e} where a stream was expected. You can provide an Observable, Promise, Array, or Iterable.`)}var e,n};function N(t,e){return new _(n=>{const r=new h;let s=0;return r.add(e.schedule(function(){s!==t.length?(n.next(t[s++]),n.closed||r.add(this.schedule())):n.complete()})),r})}function j(t,e){return e?function(t,e){if(null!=t){if(function(t){return t&&"function"==typeof t[y]}(t))return function(t,e){return new _(n=>{const r=new h;return r.add(e.schedule(()=>{const s=t[y]();r.add(s.subscribe({next(t){r.add(e.schedule(()=>n.next(t)))},error(t){r.add(e.schedule(()=>n.error(t)))},complete(){r.add(e.schedule(()=>n.complete()))}}))})),r})}(t,e);if(D(t))return function(t,e){return new _(n=>{const r=new h;return r.add(e.schedule(()=>t.then(t=>{r.add(e.schedule(()=>{n.next(t),r.add(e.schedule(()=>n.complete()))}))},t=>{r.add(e.schedule(()=>n.error(t)))}))),r})}(t,e);if(I(t))return N(t,e);if(function(t){return t&&"function"==typeof t[O]}(t)||"string"==typeof t)return function(t,e){if(!t)throw new Error("Iterable cannot be null");return new _(n=>{const r=new h;let s;return r.add(()=>{s&&"function"==typeof s.return&&s.return()}),r.add(e.schedule(()=>{s=t[O](),r.add(e.schedule(function(){if(n.closed)return;let t,e;try{const n=s.next();t=n.value,e=n.done}catch(r){return void n.error(r)}e?n.complete():(n.next(t),this.schedule())}))})),r})}(t,e)}throw new TypeError((null!==t&&typeof t||t)+" is not observable")}(t,e):t instanceof _?t:new _(P(t))}class F extends p{constructor(t){super(),this.parent=t}_next(t){this.parent.notifyNext(t)}_error(t){this.parent.notifyError(t),this.unsubscribe()}_complete(){this.parent.notifyComplete(),this.unsubscribe()}}class R extends p{notifyNext(t){this.destination.next(t)}notifyError(t){this.destination.error(t)}notifyComplete(){this.destination.complete()}}function M(t,e,n=Number.POSITIVE_INFINITY){return"function"==typeof e?r=>r.pipe(M((n,r)=>j(t(n,r)).pipe(k((t,s)=>e(n,t,r,s))),n)):("number"==typeof e&&(n=e),e=>e.lift(new H(t,n)))}class H{constructor(t,e=Number.POSITIVE_INFINITY){this.project=t,this.concurrent=e}call(t,e){return e.subscribe(new L(t,this.project,this.concurrent))}}class L extends R{constructor(t,e,n=Number.POSITIVE_INFINITY){super(t),this.project=e,this.concurrent=n,this.hasCompleted=!1,this.buffer=[],this.active=0,this.index=0}_next(t){this.active<this.concurrent?this._tryNext(t):this.buffer.push(t)}_tryNext(t){let e;const n=this.index++;try{e=this.project(t,n)}catch(r){return void this.destination.error(r)}this.active++,this._innerSub(e)}_innerSub(t){const e=new F(this),n=this.destination;n.add(e);const r=function(t,e){if(e.closed)return;if(t instanceof _)return t.subscribe(e);let n;try{n=P(t)(e)}catch(r){e.error(r)}return n}(t,e);r!==e&&n.add(r)}_complete(){this.hasCompleted=!0,0===this.active&&0===this.buffer.length&&this.destination.complete(),this.unsubscribe()}notifyNext(t){this.destination.next(t)}notifyComplete(){const t=this.buffer;this.active--,t.length>0?this._next(t.shift()):0===this.active&&this.hasCompleted&&this.destination.complete()}}function B(t,e){return e?N(t,e):new _(S(t))}function U(){return function(t){return t.lift(new $(t))}}class ${constructor(t){this.connectable=t}call(t,e){const{connectable:n}=this;n._refCount++;const r=new z(t,n),s=e.subscribe(r);return r.closed||(r.connection=n.connect()),s}}class z extends p{constructor(t,e){super(t),this.connectable=e}_unsubscribe(){const{connectable:t}=this;if(!t)return void(this.connection=null);this.connectable=null;const e=t._refCount;if(e<=0)return void(this.connection=null);if(t._refCount=e-1,e>1)return void(this.connection=null);const{connection:n}=this,r=t._connection;this.connection=null,!r||n&&r!==n||r.unsubscribe()}}class Z extends _{constructor(t,e){super(),this.source=t,this.subjectFactory=e,this._refCount=0,this._isComplete=!1}_subscribe(t){return this.getSubject().subscribe(t)}getSubject(){const t=this._subject;return t&&!t.isStopped||(this._subject=this.subjectFactory()),this._subject}connect(){let t=this._connection;return t||(this._isComplete=!1,t=this._connection=new h,t.add(this.source.subscribe(new G(this.getSubject(),this))),t.closed&&(this._connection=null,t=h.EMPTY)),t}refCount(){return U()(this)}}const q=(()=>{const t=Z.prototype;return{operator:{value:null},_refCount:{value:0,writable:!0},_subject:{value:null,writable:!0},_connection:{value:null,writable:!0},_subscribe:{value:t._subscribe},_isComplete:{value:t._isComplete,writable:!0},getSubject:{value:t.getSubject},connect:{value:t.connect},refCount:{value:t.refCount}}})();class G extends C{constructor(t,e){super(t),this.connectable=e}_error(t){this._unsubscribe(),super._error(t)}_complete(){this.connectable._isComplete=!0,this._unsubscribe(),super._complete()}_unsubscribe(){const t=this.connectable;if(t){this.connectable=null;const e=t._connection;t._refCount=0,t._subject=null,t._connection=null,e&&e.unsubscribe()}}}function W(){return new E}function Q(t){for(let e in t)if(t[e]===Q)return e;throw Error("Could not find renamed property on target object.")}function K(t,e){for(const n in e)e.hasOwnProperty(n)&&!t.hasOwnProperty(n)&&(t[n]=e[n])}function J(t){if("string"==typeof t)return t;if(Array.isArray(t))return"["+t.map(J).join(", ")+"]";if(null==t)return""+t;if(t.overriddenName)return`${t.overriddenName}`;if(t.name)return`${t.name}`;const e=t.toString();if(null==e)return""+e;const n=e.indexOf("\n");return-1===n?e:e.substring(0,n)}function X(t,e){return null==t||""===t?null===e?"":e:null==e||""===e?t:t+" "+e}const Y=Q({__forward_ref__:Q});function tt(t){return t.__forward_ref__=tt,t.toString=function(){return J(this())},t}function et(t){return nt(t)?t():t}function nt(t){return"function"==typeof t&&t.hasOwnProperty(Y)&&t.__forward_ref__===tt}class rt extends Error{constructor(t,e){super(function(t,e){return`${t?`NG0${t}: `:""}${e}`}(t,e)),this.code=t}}function st(t){return"string"==typeof t?t:null==t?"":String(t)}function ot(t){return"function"==typeof t?t.name||t.toString():"object"==typeof t&&null!=t&&"function"==typeof t.type?t.type.name||t.type.toString():st(t)}function it(t,e){const n=e?` in ${e}`:"";throw new rt("201",`No provider for ${ot(t)} found${n}`)}function lt(t){return{token:t.token,providedIn:t.providedIn||null,factory:t.factory,value:void 0}}function at(t){return{providers:t.providers||[],imports:t.imports||[]}}function ut(t){return ct(t,dt)||ct(t,pt)}function ct(t,e){return t.hasOwnProperty(e)?t[e]:null}function ht(t){return t&&(t.hasOwnProperty(ft)||t.hasOwnProperty(mt))?t[ft]:null}const dt=Q({"\u0275prov":Q}),ft=Q({"\u0275inj":Q}),pt=Q({ngInjectableDef:Q}),mt=Q({ngInjectorDef:Q});var yt=(()=>((yt=yt||{})[yt.Default=0]="Default",yt[yt.Host=1]="Host",yt[yt.Self=2]="Self",yt[yt.SkipSelf=4]="SkipSelf",yt[yt.Optional=8]="Optional",yt))();let gt;function _t(t){const e=gt;return gt=t,e}function vt(t,e,n){const r=ut(t);return r&&"root"==r.providedIn?void 0===r.value?r.value=r.factory():r.value:n&yt.Optional?null:void 0!==e?e:void it(J(t),"Injector")}function bt(t){return{toString:t}.toString()}var wt=(()=>((wt=wt||{})[wt.OnPush=0]="OnPush",wt[wt.Default=1]="Default",wt))(),Ct=(()=>((Ct=Ct||{})[Ct.Emulated=0]="Emulated",Ct[Ct.None=2]="None",Ct[Ct.ShadowDom=3]="ShadowDom",Ct))();const Et="undefined"!=typeof globalThis&&globalThis,xt="undefined"!=typeof window&&window,At="undefined"!=typeof self&&"undefined"!=typeof WorkerGlobalScope&&self instanceof WorkerGlobalScope&&self,kt="undefined"!=typeof global&&global,Tt=Et||kt||xt||At,Vt={},St=[],Ot=Q({"\u0275cmp":Q}),It=Q({"\u0275dir":Q}),Dt=Q({"\u0275pipe":Q}),Pt=Q({"\u0275mod":Q}),Nt=Q({"\u0275loc":Q}),jt=Q({"\u0275fac":Q}),Ft=Q({__NG_ELEMENT_ID__:Q});let Rt=0;function Mt(t){return bt(()=>{const e={},n={type:t.type,providersResolver:null,decls:t.decls,vars:t.vars,factory:null,template:t.template||null,consts:t.consts||null,ngContentSelectors:t.ngContentSelectors,hostBindings:t.hostBindings||null,hostVars:t.hostVars||0,hostAttrs:t.hostAttrs||null,contentQueries:t.contentQueries||null,declaredInputs:e,inputs:null,outputs:null,exportAs:t.exportAs||null,onPush:t.changeDetection===wt.OnPush,directiveDefs:null,pipeDefs:null,selectors:t.selectors||St,viewQuery:t.viewQuery||null,features:t.features||null,data:t.data||{},encapsulation:t.encapsulation||Ct.Emulated,id:"c",styles:t.styles||St,_:null,setInput:null,schemas:t.schemas||null,tView:null},r=t.directives,s=t.features,o=t.pipes;return n.id+=Rt++,n.inputs=$t(t.inputs,e),n.outputs=$t(t.outputs),s&&s.forEach(t=>t(n)),n.directiveDefs=r?()=>("function"==typeof r?r():r).map(Ht):null,n.pipeDefs=o?()=>("function"==typeof o?o():o).map(Lt):null,n})}function Ht(t){return Zt(t)||function(t){return t[It]||null}(t)}function Lt(t){return function(t){return t[Dt]||null}(t)}const Bt={};function Ut(t){return bt(()=>{const e={type:t.type,bootstrap:t.bootstrap||St,declarations:t.declarations||St,imports:t.imports||St,exports:t.exports||St,transitiveCompileScopes:null,schemas:t.schemas||null,id:t.id||null};return null!=t.id&&(Bt[t.id]=t.type),e})}function $t(t,e){if(null==t)return Vt;const n={};for(const r in t)if(t.hasOwnProperty(r)){let s=t[r],o=s;Array.isArray(s)&&(o=s[1],s=s[0]),n[s]=r,e&&(e[s]=o)}return n}const zt=Mt;function Zt(t){return t[Ot]||null}function qt(t,e){const n=t[Pt]||null;if(!n&&!0===e)throw new Error(`Type ${J(t)} does not have '\u0275mod' property.`);return n}const Gt=20,Wt=10;function Qt(t){return Array.isArray(t)&&"object"==typeof t[1]}function Kt(t){return Array.isArray(t)&&!0===t[1]}function Jt(t){return 0!=(8&t.flags)}function Xt(t){return 2==(2&t.flags)}function Yt(t){return 1==(1&t.flags)}function te(t){return null!==t.template}function ee(t,e){return t.hasOwnProperty(jt)?t[jt]:null}class ne{constructor(t,e,n){this.previousValue=t,this.currentValue=e,this.firstChange=n}isFirstChange(){return this.firstChange}}function re(){return se}function se(t){return t.type.prototype.ngOnChanges&&(t.setInput=ie),oe}function oe(){const t=le(this),e=null==t?void 0:t.current;if(e){const n=t.previous;if(n===Vt)t.previous=e;else for(let t in e)n[t]=e[t];t.current=null,this.ngOnChanges(e)}}function ie(t,e,n,r){const s=le(t)||function(t,e){return t.__ngSimpleChanges__=e}(t,{previous:Vt,current:null}),o=s.current||(s.current={}),i=s.previous,l=this.declaredInputs[n],a=i[l];o[l]=new ne(a&&a.currentValue,e,i===Vt),t[r]=e}function le(t){return t.__ngSimpleChanges__||null}let ae;function ue(t){return!!t.listen}re.ngInherit=!0;const ce={createRenderer:(t,e)=>void 0!==ae?ae:"undefined"!=typeof document?document:void 0};function he(t){for(;Array.isArray(t);)t=t[0];return t}function de(t,e){return he(e[t])}function fe(t,e){return he(e[t.index])}function pe(t,e){return t.data[e]}function me(t,e){const n=e[t];return Qt(n)?n:n[0]}function ye(t){return 128==(128&t[2])}function ge(t,e){return null==e?null:t[e]}function _e(t){t[18]=0}function ve(t,e){t[5]+=e;let n=t,r=t[3];for(;null!==r&&(1===e&&1===n[5]||-1===e&&0===n[5]);)r[5]+=e,n=r,r=r[3]}const be={lFrame:He(null),bindingsEnabled:!0,isInCheckNoChangesMode:!1};function we(){return be.bindingsEnabled}function Ce(){return be.lFrame.lView}function Ee(){return be.lFrame.tView}function xe(t){return be.lFrame.contextLView=t,t[8]}function Ae(){let t=ke();for(;null!==t&&64===t.type;)t=t.parent;return t}function ke(){return be.lFrame.currentTNode}function Te(t,e){const n=be.lFrame;n.currentTNode=t,n.isParent=e}function Ve(){return be.lFrame.isParent}function Se(){return be.isInCheckNoChangesMode}function Oe(t){be.isInCheckNoChangesMode=t}function Ie(){return be.lFrame.bindingIndex++}function De(t,e){const n=be.lFrame;n.bindingIndex=n.bindingRootIndex=t,Pe(e)}function Pe(t){be.lFrame.currentDirectiveIndex=t}function Ne(t){be.lFrame.currentQueryIndex=t}function je(t){const e=t[1];return 2===e.type?e.declTNode:1===e.type?t[6]:null}function Fe(t,e,n){if(n&yt.SkipSelf){let r=e,s=t;for(;r=r.parent,!(null!==r||n&yt.Host||(r=je(s),null===r)||(s=s[15],10&r.type)););if(null===r)return!1;e=r,t=s}const r=be.lFrame=Me();return r.currentTNode=e,r.lView=t,!0}function Re(t){const e=Me(),n=t[1];be.lFrame=e,e.currentTNode=n.firstChild,e.lView=t,e.tView=n,e.contextLView=t,e.bindingIndex=n.bindingStartIndex,e.inI18n=!1}function Me(){const t=be.lFrame,e=null===t?null:t.child;return null===e?He(t):e}function He(t){const e={currentTNode:null,isParent:!0,lView:null,tView:null,selectedIndex:-1,contextLView:null,elementDepthCount:0,currentNamespace:null,currentDirectiveIndex:-1,bindingRootIndex:-1,bindingIndex:-1,currentQueryIndex:0,parent:t,child:null,inI18n:!1};return null!==t&&(t.child=e),e}function Le(){const t=be.lFrame;return be.lFrame=t.parent,t.currentTNode=null,t.lView=null,t}const Be=Le;function Ue(){const t=Le();t.isParent=!0,t.tView=null,t.selectedIndex=-1,t.contextLView=null,t.elementDepthCount=0,t.currentDirectiveIndex=-1,t.currentNamespace=null,t.bindingRootIndex=-1,t.bindingIndex=-1,t.currentQueryIndex=0}function $e(){return be.lFrame.selectedIndex}function ze(t){be.lFrame.selectedIndex=t}function Ze(t,e){for(let n=e.directiveStart,r=e.directiveEnd;n<r;n++){const e=t.data[n].type.prototype,{ngAfterContentInit:r,ngAfterContentChecked:s,ngAfterViewInit:o,ngAfterViewChecked:i,ngOnDestroy:l}=e;r&&(t.contentHooks||(t.contentHooks=[])).push(-n,r),s&&((t.contentHooks||(t.contentHooks=[])).push(n,s),(t.contentCheckHooks||(t.contentCheckHooks=[])).push(n,s)),o&&(t.viewHooks||(t.viewHooks=[])).push(-n,o),i&&((t.viewHooks||(t.viewHooks=[])).push(n,i),(t.viewCheckHooks||(t.viewCheckHooks=[])).push(n,i)),null!=l&&(t.destroyHooks||(t.destroyHooks=[])).push(n,l)}}function qe(t,e,n){Qe(t,e,3,n)}function Ge(t,e,n,r){(3&t[2])===n&&Qe(t,e,n,r)}function We(t,e){let n=t[2];(3&n)===e&&(n&=2047,n+=1,t[2]=n)}function Qe(t,e,n,r){const s=null!=r?r:-1,o=e.length-1;let i=0;for(let l=void 0!==r?65535&t[18]:0;l<o;l++)if("number"==typeof e[l+1]){if(i=e[l],null!=r&&i>=r)break}else e[l]<0&&(t[18]+=65536),(i<s||-1==s)&&(Ke(t,n,e,l),t[18]=(4294901760&t[18])+l+2),l++}function Ke(t,e,n,r){const s=n[r]<0,o=n[r+1],i=t[s?-n[r]:n[r]];if(s){if(t[2]>>11<t[18]>>16&&(3&t[2])===e){t[2]+=2048;try{o.call(i)}finally{}}}else try{o.call(i)}finally{}}const Je=-1;class Xe{constructor(t,e,n){this.factory=t,this.resolving=!1,this.canSeeViewProviders=e,this.injectImpl=n}}function Ye(t,e,n){const r=ue(t);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?t.setAttribute(e,l,a,i):e.setAttributeNS(i,l,a)}else{const i=o,l=n[++s];tn(i)?r&&t.setProperty(e,i,l):r?t.setAttribute(e,i,l):e.setAttribute(i,l),s++}}return s}function tn(t){return 64===t.charCodeAt(0)}function en(t,e){if(null===e||0===e.length);else if(null===t||0===t.length)t=e.slice();else{let n=-1;for(let r=0;r<e.length;r++){const s=e[r];"number"==typeof s?n=s:0===n||nn(t,n,s,null,-1===n||2===n?e[++r]:null)}}return t}function nn(t,e,n,r,s){let o=0,i=t.length;if(-1===e)i=-1;else for(;o<t.length;){const n=t[o++];if("number"==typeof n){if(n===e){i=-1;break}if(n>e){i=o-1;break}}}for(;o<t.length;){const e=t[o];if("number"==typeof e)break;if(e===n){if(null===r)return void(null!==s&&(t[o+1]=s));if(r===t[o+1])return void(t[o+2]=s)}o++,null!==r&&o++,null!==s&&o++}-1!==i&&(t.splice(i,0,e),o=i+1),t.splice(o++,0,n),null!==r&&t.splice(o++,0,r),null!==s&&t.splice(o++,0,s)}function rn(t){return t!==Je}function sn(t){return 32767&t}function on(t,e){let n=t>>16,r=e;for(;n>0;)r=r[15],n--;return r}let ln=!0;function an(t){const e=ln;return ln=t,e}let un=0;function cn(t,e){const n=dn(t,e);if(-1!==n)return n;const r=e[1];r.firstCreatePass&&(t.injectorIndex=e.length,hn(r.data,t),hn(e,null),hn(r.blueprint,null));const s=fn(t,e),o=t.injectorIndex;if(rn(s)){const t=sn(s),n=on(s,e),r=n[1].data;for(let s=0;s<8;s++)e[o+s]=n[t+s]|r[t+s]}return e[o+8]=s,o}function hn(t,e){t.push(0,0,0,0,0,0,0,0,e)}function dn(t,e){return-1===t.injectorIndex||t.parent&&t.parent.injectorIndex===t.injectorIndex||null===e[t.injectorIndex+8]?-1:t.injectorIndex}function fn(t,e){if(t.parent&&-1!==t.parent.injectorIndex)return t.parent.injectorIndex;let n=0,r=null,s=e;for(;null!==s;){const t=s[1],e=t.type;if(r=2===e?t.declTNode:1===e?s[6]:null,null===r)return Je;if(n++,s=s[15],-1!==r.injectorIndex)return r.injectorIndex|n<<16}return Je}function pn(t,e,n){!function(t,e,n){let r;"string"==typeof n?r=n.charCodeAt(0)||0:n.hasOwnProperty(Ft)&&(r=n[Ft]),null==r&&(r=n[Ft]=un++);const s=255&r;e.data[t+(s>>5)]|=1<<s}(t,e,n)}function mn(t,e,n){if(n&yt.Optional)return t;it(e,"NodeInjector")}function yn(t,e,n,r){if(n&yt.Optional&&void 0===r&&(r=null),0==(n&(yt.Self|yt.Host))){const s=t[9],o=_t(void 0);try{return s?s.get(e,r,n&yt.Optional):vt(e,r,n&yt.Optional)}finally{_t(o)}}return mn(r,e,n)}function gn(t,e,n,r=yt.Default,s){if(null!==t){const o=function(t){if("string"==typeof t)return t.charCodeAt(0)||0;const e=t.hasOwnProperty(Ft)?t[Ft]:void 0;return"number"==typeof e?e>=0?255&e:vn:e}(n);if("function"==typeof o){if(!Fe(e,t,r))return r&yt.Host?mn(s,n,r):yn(e,n,r,s);try{const t=o(r);if(null!=t||r&yt.Optional)return t;it(n)}finally{Be()}}else if("number"==typeof o){let s=null,i=dn(t,e),l=Je,a=r&yt.Host?e[16][6]:null;for((-1===i||r&yt.SkipSelf)&&(l=-1===i?fn(t,e):e[i+8],l!==Je&&En(r,!1)?(s=e[1],i=sn(l),e=on(l,e)):i=-1);-1!==i;){const t=e[1];if(Cn(o,i,t.data)){const t=bn(i,e,n,s,r,a);if(t!==_n)return t}l=e[i+8],l!==Je&&En(r,e[1].data[i+8]===a)&&Cn(o,i,e)?(s=t,i=sn(l),e=on(l,e)):i=-1}}}return yn(e,n,r,s)}const _n={};function vn(){return new xn(Ae(),Ce())}function bn(t,e,n,r,s,o){const i=e[1],l=i.data[t+8],a=function(t,e,n,r,s){const o=t.providerIndexes,i=e.data,l=1048575&o,a=t.directiveStart,u=o>>20,c=s?l+u:t.directiveEnd;for(let h=r?l:l+u;h<c;h++){const t=i[h];if(h<a&&n===t||h>=a&&t.type===n)return h}if(s){const t=i[a];if(t&&te(t)&&t.type===n)return a}return null}(l,i,n,null==r?Xt(l)&&ln:r!=i&&0!=(3&l.type),s&yt.Host&&o===l);return null!==a?wn(e,i,a,l):_n}function wn(t,e,n,r){let s=t[n];const o=e.data;if(s instanceof Xe){const i=s;i.resolving&&function(t,e){throw new rt("200",`Circular dependency in DI detected for ${t}`)}(ot(o[n]));const l=an(i.canSeeViewProviders);i.resolving=!0;const a=i.injectImpl?_t(i.injectImpl):null;Fe(t,r,yt.Default);try{s=t[n]=i.factory(void 0,o,t,r),e.firstCreatePass&&n>=r.directiveStart&&function(t,e,n){const{ngOnChanges:r,ngOnInit:s,ngDoCheck:o}=e.type.prototype;if(r){const r=se(e);(n.preOrderHooks||(n.preOrderHooks=[])).push(t,r),(n.preOrderCheckHooks||(n.preOrderCheckHooks=[])).push(t,r)}s&&(n.preOrderHooks||(n.preOrderHooks=[])).push(0-t,s),o&&((n.preOrderHooks||(n.preOrderHooks=[])).push(t,o),(n.preOrderCheckHooks||(n.preOrderCheckHooks=[])).push(t,o))}(n,o[n],e)}finally{null!==a&&_t(a),an(l),i.resolving=!1,Be()}}return s}function Cn(t,e,n){return!!(n[e+(t>>5)]&1<<t)}function En(t,e){return!(t&yt.Self||t&yt.Host&&e)}class xn{constructor(t,e){this._tNode=t,this._lView=e}get(t,e){return gn(this._tNode,this._lView,t,void 0,e)}}function An(t){return bt(()=>{const e=t.prototype.constructor,n=e[jt]||kn(e),r=Object.prototype;let s=Object.getPrototypeOf(t.prototype).constructor;for(;s&&s!==r;){const t=s[jt]||kn(s);if(t&&t!==n)return t;s=Object.getPrototypeOf(s)}return t=>new t})}function kn(t){return nt(t)?()=>{const e=kn(et(t));return e&&e()}:ee(t)}const Tn="__parameters__";function Vn(t,e,n){return bt(()=>{const r=function(t){return function(...e){if(t){const n=t(...e);for(const t in n)this[t]=n[t]}}}(e);function s(...t){if(this instanceof s)return r.apply(this,t),this;const e=new s(...t);return n.annotation=e,n;function n(t,n,r){const s=t.hasOwnProperty(Tn)?t[Tn]:Object.defineProperty(t,Tn,{value:[]})[Tn];for(;s.length<=r;)s.push(null);return(s[r]=s[r]||[]).push(e),t}}return n&&(s.prototype=Object.create(n.prototype)),s.prototype.ngMetadataName=t,s.annotationCls=s,s})}class Sn{constructor(t,e){this._desc=t,this.ngMetadataName="InjectionToken",this.\u0275prov=void 0,"number"==typeof e?this.__NG_ELEMENT_ID__=e:void 0!==e&&(this.\u0275prov=lt({token:this,providedIn:e.providedIn||"root",factory:e.factory}))}toString(){return`InjectionToken ${this._desc}`}}function On(t,e){t.forEach(t=>Array.isArray(t)?On(t,e):e(t))}function In(t,e,n){e>=t.length?t.push(n):t.splice(e,0,n)}function Dn(t,e){return e>=t.length-1?t.pop():t.splice(e,1)[0]}function Pn(t,e,n){let r=jn(t,e);return r>=0?t[1|r]=n:(r=~r,function(t,e,n,r){let s=t.length;if(s==e)t.push(n,r);else if(1===s)t.push(r,t[0]),t[0]=n;else{for(s--,t.push(t[s-1],t[s]);s>e;)t[s]=t[s-2],s--;t[e]=n,t[e+1]=r}}(t,r,e,n)),r}function Nn(t,e){const n=jn(t,e);if(n>=0)return t[1|n]}function jn(t,e){return function(t,e,n){let r=0,s=t.length>>1;for(;s!==r;){const n=r+(s-r>>1),o=t[n<<1];if(e===o)return n<<1;o>e?s=n:r=n+1}return~(s<<1)}(t,e)}const Fn={},Rn=/\n/gm,Mn="__source",Hn=Q({provide:String,useValue:Q});let Ln;function Bn(t){const e=Ln;return Ln=t,e}function Un(t,e=yt.Default){if(void 0===Ln)throw new Error("inject() must be called from an injection context");return null===Ln?vt(t,void 0,e):Ln.get(t,e&yt.Optional?null:void 0,e)}function $n(t,e=yt.Default){return(gt||Un)(et(t),e)}function zn(t){const e=[];for(let n=0;n<t.length;n++){const r=et(t[n]);if(Array.isArray(r)){if(0===r.length)throw new Error("Arguments array must have arguments.");let t,n=yt.Default;for(let e=0;e<r.length;e++){const s=r[e],o=s.__NG_DI_FLAG__;"number"==typeof o?-1===o?t=s.token:n|=o:t=s}e.push($n(t,n))}else e.push($n(r))}return e}function Zn(t,e){return t.__NG_DI_FLAG__=e,t.prototype.__NG_DI_FLAG__=e,t}const qn=Zn(Vn("Inject",t=>({token:t})),-1),Gn=Zn(Vn("Optional"),8),Wn=Zn(Vn("SkipSelf"),4);function Qn(t,e){t.__ngContext__=e}function Kn(t){const e=function(t){return t.__ngContext__||null}(t);return e?Array.isArray(e)?e:e.lView:null}function Jn(t){return t.ngOriginalError}function Xn(t,...e){t.error(...e)}class Yn{constructor(){this._console=console}handleError(t){const e=this._findOriginalError(t),n=this._findContext(t),r=function(t){return t.ngErrorLogger||Xn}(t);r(this._console,"ERROR",t),e&&r(this._console,"ORIGINAL ERROR",e),n&&r(this._console,"ERROR CONTEXT",n)}_findContext(t){return t?function(t){return t.ngDebugContext}(t)||this._findContext(Jn(t)):null}_findOriginalError(t){let e=Jn(t);for(;e&&Jn(e);)e=Jn(e);return e}}const tr=(()=>("undefined"!=typeof requestAnimationFrame&&requestAnimationFrame||setTimeout).bind(Tt))();function er(t){return t instanceof Function?t():t}var nr=(()=>((nr=nr||{})[nr.Important=1]="Important",nr[nr.DashCase=2]="DashCase",nr))();function rr(t,e){return(void 0)(t,e)}function sr(t){const e=t[3];return Kt(e)?e[3]:e}function or(t){return lr(t[13])}function ir(t){return lr(t[4])}function lr(t){for(;null!==t&&!Kt(t);)t=t[4];return t}function ar(t,e,n,r,s){if(null!=r){let o,i=!1;Kt(r)?o=r:Qt(r)&&(i=!0,r=r[0]);const l=he(r);0===t&&null!==n?null==s?mr(e,n,l):pr(e,n,l,s||null,!0):1===t&&null!==n?pr(e,n,l,s||null,!0):2===t?function(t,e,n){const r=gr(t,e);r&&function(t,e,n,r){ue(t)?t.removeChild(e,n,r):e.removeChild(n)}(t,r,e,n)}(e,l,i):3===t&&e.destroyNode(l),null!=o&&function(t,e,n,r,s){const o=n[7];o!==he(n)&&ar(e,t,r,o,s);for(let i=Wt;i<n.length;i++){const s=n[i];Er(s[1],s,t,e,r,o)}}(e,t,o,n,s)}}function ur(t,e,n){return ue(t)?t.createElement(e,n):null===n?t.createElement(e):t.createElementNS(n,e)}function cr(t,e){const n=t[9],r=n.indexOf(e),s=e[3];1024&e[2]&&(e[2]&=-1025,ve(s,-1)),n.splice(r,1)}function hr(t,e){if(t.length<=Wt)return;const n=Wt+e,r=t[n];if(r){const o=r[17];null!==o&&o!==t&&cr(o,r),e>0&&(t[n-1][4]=r[4]);const i=Dn(t,Wt+e);Er(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 dr(t,e){if(!(256&e[2])){const n=e[11];ue(n)&&n.destroyNode&&Er(t,e,n,3,null,null),function(t){let e=t[13];if(!e)return fr(t[1],t);for(;e;){let n=null;if(Qt(e))n=e[13];else{const t=e[10];t&&(n=t)}if(!n){for(;e&&!e[4]&&e!==t;)Qt(e)&&fr(e[1],e),e=e[3];null===e&&(e=t),Qt(e)&&fr(e[1],e),n=e&&e[4]}e=n}}(e)}}function fr(t,e){if(!(256&e[2])){e[2]&=-129,e[2]|=256,function(t,e){let n;if(null!=t&&null!=(n=t.destroyHooks))for(let r=0;r<n.length;r+=2){const t=e[n[r]];if(!(t instanceof Xe)){const e=n[r+1];if(Array.isArray(e))for(let n=0;n<e.length;n+=2){const r=t[e[n]],s=e[n+1];try{s.call(r)}finally{}}else try{e.call(t)}finally{}}}}(t,e),function(t,e){const n=t.cleanup,r=e[7];let s=-1;if(null!==n)for(let o=0;o<n.length-1;o+=2)if("string"==typeof n[o]){const t=n[o+1],i="function"==typeof t?t(e):he(e[t]),l=r[s=n[o+2]],a=n[o+3];"boolean"==typeof a?i.removeEventListener(n[o],l,a):a>=0?r[s=a]():r[s=-a].unsubscribe(),o+=2}else{const t=r[s=n[o+1]];n[o].call(t)}if(null!==r){for(let t=s+1;t<r.length;t++)(0,r[t])();e[7]=null}}(t,e),1===e[1].type&&ue(e[11])&&e[11].destroy();const n=e[17];if(null!==n&&Kt(e[3])){n!==e[3]&&cr(n,e);const r=e[19];null!==r&&r.detachView(t)}}}function pr(t,e,n,r,s){ue(t)?t.insertBefore(e,n,r,s):e.insertBefore(n,r,s)}function mr(t,e,n){ue(t)?t.appendChild(e,n):e.appendChild(n)}function yr(t,e,n,r,s){null!==r?pr(t,e,n,r,s):mr(t,e,n)}function gr(t,e){return ue(t)?t.parentNode(e):e.parentNode}function _r(t,e,n,r){const s=function(t,e,n){return function(t,e,n){let r=e;for(;null!==r&&40&r.type;)r=(e=r).parent;if(null===r)return n[0];if(2&r.flags){const e=t.data[r.directiveStart].encapsulation;if(e===Ct.None||e===Ct.Emulated)return null}return fe(r,n)}(t,e.parent,n)}(t,r,e),o=e[11],i=function(t,e,n){return function(t,e,n){return 40&t.type?fe(t,n):null}(t,0,n)}(r.parent||e[6],0,e);if(null!=s)if(Array.isArray(n))for(let l=0;l<n.length;l++)yr(o,s,n[l],i,!1);else yr(o,s,n,i,!1)}function vr(t,e){if(null!==e){const n=e.type;if(3&n)return fe(e,t);if(4&n)return wr(-1,t[e.index]);if(8&n){const n=e.child;if(null!==n)return vr(t,n);{const n=t[e.index];return Kt(n)?wr(-1,n):he(n)}}if(32&n)return rr(e,t)()||he(t[e.index]);{const n=br(t,e);return null!==n?Array.isArray(n)?n[0]:vr(sr(t[16]),n):vr(t,e.next)}}return null}function br(t,e){return null!==e?t[16][6].projection[e.projection]:null}function wr(t,e){const n=Wt+t+1;if(n<e.length){const t=e[n],r=t[1].firstChild;if(null!==r)return vr(t,r)}return e[7]}function Cr(t,e,n,r,s,o,i){for(;null!=n;){const l=r[n.index],a=n.type;if(i&&0===e&&(l&&Qn(he(l),r),n.flags|=4),64!=(64&n.flags))if(8&a)Cr(t,e,n.child,r,s,o,!1),ar(e,t,s,l,o);else if(32&a){const i=rr(n,r);let a;for(;a=i();)ar(e,t,s,a,o);ar(e,t,s,l,o)}else 16&a?xr(t,e,r,n,s,o):ar(e,t,s,l,o);n=i?n.projectionNext:n.next}}function Er(t,e,n,r,s,o){Cr(n,r,t.firstChild,e,s,o,!1)}function xr(t,e,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++)ar(e,t,s,l[a],o);else Cr(t,e,l,i[3],s,o,!0)}function Ar(t,e,n){ue(t)?t.setAttribute(e,"style",n):e.style.cssText=n}function kr(t,e,n){ue(t)?""===n?t.removeAttribute(e,"class"):t.setAttribute(e,"class",n):e.className=n}function Tr(t,e,n){let r=t.length;for(;;){const s=t.indexOf(e,n);if(-1===s)return s;if(0===s||t.charCodeAt(s-1)<=32){const n=e.length;if(s+n===r||t.charCodeAt(s+n)<=32)return s}n=s+1}}const Vr="ng-template";function Sr(t,e,n){let r=0;for(;r<t.length;){let s=t[r++];if(n&&"class"===s){if(s=t[r],-1!==Tr(s.toLowerCase(),e,0))return!0}else if(1===s){for(;r<t.length&&"string"==typeof(s=t[r++]);)if(s.toLowerCase()===e)return!0;return!1}}return!1}function Or(t){return 4===t.type&&t.value!==Vr}function Ir(t,e,n){return e===(4!==t.type||n?t.value:Vr)}function Dr(t,e,n){let r=4;const s=t.attrs||[],o=function(t){for(let n=0;n<t.length;n++)if(3===(e=t[n])||4===e||6===e)return n;var e;return t.length}(s);let i=!1;for(let l=0;l<e.length;l++){const a=e[l];if("number"!=typeof a){if(!i)if(4&r){if(r=2|1&r,""!==a&&!Ir(t,a,n)||""===a&&1===e.length){if(Pr(r))return!1;i=!0}}else{const u=8&r?a:e[++l];if(8&r&&null!==t.attrs){if(!Sr(t.attrs,u,n)){if(Pr(r))return!1;i=!0}continue}const c=Nr(8&r?"class":a,s,Or(t),n);if(-1===c){if(Pr(r))return!1;i=!0;continue}if(""!==u){let t;t=c>o?"":s[c+1].toLowerCase();const e=8&r?t:null;if(e&&-1!==Tr(e,u,0)||2&r&&u!==t){if(Pr(r))return!1;i=!0}}}}else{if(!i&&!Pr(r)&&!Pr(a))return!1;if(i&&Pr(a))continue;i=!1,r=a|1&r}}return Pr(r)||i}function Pr(t){return 0==(1&t)}function Nr(t,e,n,r){if(null===e)return-1;let s=0;if(r||!n){let n=!1;for(;s<e.length;){const r=e[s];if(r===t)return s;if(3===r||6===r)n=!0;else{if(1===r||2===r){let t=e[++s];for(;"string"==typeof t;)t=e[++s];continue}if(4===r)break;if(0===r){s+=4;continue}}s+=n?1:2}return-1}return function(t,e){let n=t.indexOf(4);if(n>-1)for(n++;n<t.length;){const r=t[n];if("number"==typeof r)return-1;if(r===e)return n;n++}return-1}(e,t)}function jr(t,e,n=!1){for(let r=0;r<e.length;r++)if(Dr(t,e[r],n))return!0;return!1}function Fr(t,e){return t?":not("+e.trim()+")":e}function Rr(t){let e=t[0],n=1,r=2,s="",o=!1;for(;n<t.length;){let i=t[n];if("string"==typeof i)if(2&r){const e=t[++n];s+="["+i+(e.length>0?'="'+e+'"':"")+"]"}else 8&r?s+="."+i:4&r&&(s+=" "+i);else""===s||Pr(i)||(e+=Fr(o,s),s=""),r=i,o=o||!Pr(r);n++}return""!==s&&(e+=Fr(o,s)),e}const Mr={};function Hr(t){Lr(Ee(),Ce(),$e()+t,Se())}function Lr(t,e,n,r){if(!r)if(3==(3&e[2])){const r=t.preOrderCheckHooks;null!==r&&qe(e,r,n)}else{const r=t.preOrderHooks;null!==r&&Ge(e,r,0,n)}ze(n)}function Br(t,e){return t<<17|e<<2}function Ur(t){return t>>17&32767}function $r(t){return 2|t}function zr(t){return(131068&t)>>2}function Zr(t,e){return-131069&t|e<<2}function qr(t){return 1|t}function Gr(t,e){const n=t.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=t.data[o];Ne(s),n.contentQueries(2,e[o],o)}}}function Wr(t,e,n,r,s,o,i,l,a,u){const c=e.blueprint.slice();return c[0]=s,c[2]=140|r,_e(c),c[3]=c[15]=t,c[8]=n,c[10]=i||t&&t[10],c[11]=l||t&&t[11],c[12]=a||t&&t[12]||null,c[9]=u||t&&t[9]||null,c[6]=o,c[16]=2==e.type?t[16]:c,c}function Qr(t,e,n,r,s){let o=t.data[e];if(null===o)o=function(t,e,n,r,s){const o=ke(),i=Ve(),l=t.data[e]=function(t,e,n,r,s,o){return{type:n,index:r,insertBeforeIndex:null,injectorIndex:e?e.injectorIndex:-1,directiveStart:-1,directiveEnd:-1,directiveStylingLast:-1,propertyBindings:null,flags:0,providerIndexes:0,value:s,attrs:o,mergedAttrs:null,localNames:null,initialInputs:void 0,inputs:null,outputs:null,tViews:null,next:null,projectionNext:null,child:null,parent:e,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,e,r,s);return null===t.firstChild&&(t.firstChild=l),null!==o&&(i?null==o.child&&null!==l.parent&&(o.child=l):null===o.next&&(o.next=l)),l}(t,e,n,r,s),be.lFrame.inI18n&&(o.flags|=64);else if(64&o.type){o.type=n,o.value=r,o.attrs=s;const t=function(){const t=be.lFrame,e=t.currentTNode;return t.isParent?e:e.parent}();o.injectorIndex=null===t?-1:t.injectorIndex}return Te(o,!0),o}function Kr(t,e,n,r){if(0===n)return-1;const s=e.length;for(let o=0;o<n;o++)e.push(r),t.blueprint.push(r),t.data.push(null);return s}function Jr(t,e,n){Re(e);try{const r=t.viewQuery;null!==r&&xs(1,r,n);const s=t.template;null!==s&&ts(t,e,s,1,n),t.firstCreatePass&&(t.firstCreatePass=!1),t.staticContentQueries&&Gr(t,e),t.staticViewQueries&&xs(2,t.viewQuery,n);const o=t.components;null!==o&&function(t,e){for(let n=0;n<e.length;n++)vs(t,e[n])}(e,o)}catch(r){throw t.firstCreatePass&&(t.incompleteFirstPass=!0),r}finally{e[2]&=-5,Ue()}}function Xr(t,e,n,r){const s=e[2];if(256==(256&s))return;Re(e);const o=Se();try{_e(e),be.lFrame.bindingIndex=t.bindingStartIndex,null!==n&&ts(t,e,n,2,r);const i=3==(3&s);if(!o)if(i){const n=t.preOrderCheckHooks;null!==n&&qe(e,n,null)}else{const n=t.preOrderHooks;null!==n&&Ge(e,n,0,null),We(e,0)}if(function(t){for(let e=or(t);null!==e;e=ir(e)){if(!e[2])continue;const t=e[9];for(let e=0;e<t.length;e++){const n=t[e],r=n[3];0==(1024&n[2])&&ve(r,1),n[2]|=1024}}}(e),function(t){for(let e=or(t);null!==e;e=ir(e))for(let t=Wt;t<e.length;t++){const n=e[t],r=n[1];ye(n)&&Xr(r,n,r.template,n[8])}}(e),null!==t.contentQueries&&Gr(t,e),!o)if(i){const n=t.contentCheckHooks;null!==n&&qe(e,n)}else{const n=t.contentHooks;null!==n&&Ge(e,n,1),We(e,1)}!function(t,e){const n=t.hostBindingOpCodes;if(null!==n)try{for(let t=0;t<n.length;t++){const r=n[t];if(r<0)ze(~r);else{const s=r,o=n[++t],i=n[++t];De(o,s),i(2,e[s])}}}finally{ze(-1)}}(t,e);const l=t.components;null!==l&&function(t,e){for(let n=0;n<e.length;n++)gs(t,e[n])}(e,l);const a=t.viewQuery;if(null!==a&&xs(2,a,r),!o)if(i){const n=t.viewCheckHooks;null!==n&&qe(e,n)}else{const n=t.viewHooks;null!==n&&Ge(e,n,2),We(e,2)}!0===t.firstUpdatePass&&(t.firstUpdatePass=!1),o||(e[2]&=-73),1024&e[2]&&(e[2]&=-1025,ve(e[3],-1))}finally{Ue()}}function Yr(t,e,n,r){const s=e[10],o=!Se(),i=4==(4&e[2]);try{o&&!i&&s.begin&&s.begin(),i&&Jr(t,e,r),Xr(t,e,n,r)}finally{o&&!i&&s.end&&s.end()}}function ts(t,e,n,r,s){const o=$e(),i=2&r;try{ze(-1),i&&e.length>Gt&&Lr(t,e,Gt,Se()),n(r,s)}finally{ze(o)}}function es(t,e,n){we()&&(function(t,e,n,r){const s=n.directiveStart,o=n.directiveEnd;t.firstCreatePass||cn(n,e),Qn(r,e);const i=n.initialInputs;for(let l=s;l<o;l++){const r=t.data[l],o=te(r);o&&fs(e,n,r);const a=wn(e,t,l,n);Qn(a,e),null!==i&&ps(0,l-s,a,r,0,i),o&&(me(n.index,e)[8]=a)}}(t,e,n,fe(n,e)),128==(128&n.flags)&&function(t,e,n){const r=n.directiveStart,s=n.directiveEnd,o=n.index,i=be.lFrame.currentDirectiveIndex;try{ze(o);for(let n=r;n<s;n++){const r=t.data[n],s=e[n];Pe(n),null===r.hostBindings&&0===r.hostVars&&null===r.hostAttrs||as(r,s)}}finally{ze(-1),Pe(i)}}(t,e,n))}function ns(t,e,n=fe){const r=e.localNames;if(null!==r){let s=e.index+1;for(let o=0;o<r.length;o+=2){const i=r[o+1],l=-1===i?n(e,t):t[i];t[s++]=l}}}function rs(t){const e=t.tView;return null===e||e.incompleteFirstPass?t.tView=ss(1,null,t.template,t.decls,t.vars,t.directiveDefs,t.pipeDefs,t.viewQuery,t.schemas,t.consts):e}function ss(t,e,n,r,s,o,i,l,a,u){const c=Gt+r,h=c+s,d=function(t,e){const n=[];for(let r=0;r<e;r++)n.push(r<t?null:Mr);return n}(c,h),f="function"==typeof u?u():u;return d[1]={type:t,blueprint:d,template:n,queries:null,viewQuery:l,declTNode:e,data:d.slice().fill(null,c),bindingStartIndex:c,expandoStartIndex:h,hostBindingOpCodes: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 os(t,e,n){for(let r in t)if(t.hasOwnProperty(r)){const s=t[r];(n=null===n?{}:n).hasOwnProperty(r)?n[r].push(e,s):n[r]=[e,s]}return n}function is(t,e,n,r){let s=!1;if(we()){const o=function(t,e,n){const r=t.directiveRegistry;let s=null;if(r)for(let o=0;o<r.length;o++){const i=r[o];jr(n,i.selectors,!1)&&(s||(s=[]),pn(cn(n,e),t,i.type),te(i)?(us(t,n),s.unshift(i)):s.push(i))}return s}(t,e,n),i=null===r?null:{"":-1};if(null!==o){s=!0,hs(n,t.data.length,o.length);for(let t=0;t<o.length;t++){const e=o[t];e.providersResolver&&e.providersResolver(e)}let r=!1,l=!1,a=Kr(t,e,o.length,null);for(let s=0;s<o.length;s++){const u=o[s];n.mergedAttrs=en(n.mergedAttrs,u.hostAttrs),ds(t,n,e,a,u),cs(a,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;!r&&(c.ngOnChanges||c.ngOnInit||c.ngDoCheck)&&((t.preOrderHooks||(t.preOrderHooks=[])).push(n.index),r=!0),l||!c.ngOnChanges&&!c.ngDoCheck||((t.preOrderCheckHooks||(t.preOrderCheckHooks=[])).push(n.index),l=!0),a++}!function(t,e){const n=e.directiveEnd,r=t.data,s=e.attrs,o=[];let i=null,l=null;for(let a=e.directiveStart;a<n;a++){const t=r[a],n=t.inputs,u=null===s||Or(e)?null:ms(n,s);o.push(u),i=os(n,a,i),l=os(t.outputs,a,l)}null!==i&&(i.hasOwnProperty("class")&&(e.flags|=16),i.hasOwnProperty("style")&&(e.flags|=32)),e.initialInputs=o,e.inputs=i,e.outputs=l}(t,n)}i&&function(t,e,n){if(e){const r=t.localNames=[];for(let t=0;t<e.length;t+=2){const s=n[e[t+1]];if(null==s)throw new rt("301",`Export of name '${e[t+1]}' not found!`);r.push(e[t],s)}}}(n,r,i)}return n.mergedAttrs=en(n.mergedAttrs,n.attrs),s}function ls(t,e,n,r,s,o){const i=o.hostBindings;if(i){let n=t.hostBindingOpCodes;null===n&&(n=t.hostBindingOpCodes=[]);const o=~e.index;(function(t){let e=t.length;for(;e>0;){const n=t[--e];if("number"==typeof n&&n<0)return n}return 0})(n)!=o&&n.push(o),n.push(r,s,i)}}function as(t,e){null!==t.hostBindings&&t.hostBindings(1,e)}function us(t,e){e.flags|=2,(t.components||(t.components=[])).push(e.index)}function cs(t,e,n){if(n){if(e.exportAs)for(let r=0;r<e.exportAs.length;r++)n[e.exportAs[r]]=t;te(e)&&(n[""]=t)}}function hs(t,e,n){t.flags|=1,t.directiveStart=e,t.directiveEnd=e+n,t.providerIndexes=e}function ds(t,e,n,r,s){t.data[r]=s;const o=s.factory||(s.factory=ee(s.type)),i=new Xe(o,te(s),null);t.blueprint[r]=i,n[r]=i,ls(t,e,0,r,Kr(t,n,s.hostVars,Mr),s)}function fs(t,e,n){const r=fe(e,t),s=rs(n),o=t[10],i=bs(t,Wr(t,s,null,n.onPush?64:16,r,e,o,o.createRenderer(r,n),null,null));t[e.index]=i}function ps(t,e,n,r,s,o){const i=o[e];if(null!==i){const t=r.setInput;for(let e=0;e<i.length;){const s=i[e++],o=i[e++],l=i[e++];null!==t?r.setInput(n,l,s,o):n[o]=l}}}function ms(t,e){let n=null,r=0;for(;r<e.length;){const s=e[r];if(0!==s)if(5!==s){if("number"==typeof s)break;t.hasOwnProperty(s)&&(null===n&&(n=[]),n.push(s,t[s],e[r+1])),r+=2}else r+=2;else r+=4}return n}function ys(t,e,n,r){return new Array(t,!0,!1,e,null,0,r,n,null,null)}function gs(t,e){const n=me(e,t);if(ye(n)){const t=n[1];80&n[2]?Xr(t,n,t.template,n[8]):n[5]>0&&_s(n)}}function _s(t){for(let n=or(t);null!==n;n=ir(n))for(let t=Wt;t<n.length;t++){const e=n[t];if(1024&e[2]){const t=e[1];Xr(t,e,t.template,e[8])}else e[5]>0&&_s(e)}const e=t[1].components;if(null!==e)for(let n=0;n<e.length;n++){const r=me(e[n],t);ye(r)&&r[5]>0&&_s(r)}}function vs(t,e){const n=me(e,t),r=n[1];!function(t,e){for(let n=e.length;n<t.blueprint.length;n++)e.push(t.blueprint[n])}(r,n),Jr(r,n,n[8])}function bs(t,e){return t[13]?t[14][4]=e:t[13]=e,t[14]=e,e}function ws(t){for(;t;){t[2]|=64;const e=sr(t);if(0!=(512&t[2])&&!e)return t;t=e}return null}function Cs(t,e,n){const r=e[10];r.begin&&r.begin();try{Xr(t,e,t.template,n)}catch(s){throw Vs(e,s),s}finally{r.end&&r.end()}}function Es(t){!function(t){for(let e=0;e<t.components.length;e++){const n=t.components[e],r=Kn(n),s=r[1];Yr(s,r,s.template,n)}}(t[8])}function xs(t,e,n){Ne(0),e(t,n)}const As=(()=>Promise.resolve(null))();function ks(t){return t[7]||(t[7]=[])}function Ts(t){return t.cleanup||(t.cleanup=[])}function Vs(t,e){const n=t[9],r=n?n.get(Yn,null):null;r&&r.handleError(e)}function Ss(t,e,n,r,s){for(let o=0;o<n.length;){const i=n[o++],l=n[o++],a=e[i],u=t.data[i];null!==u.setInput?u.setInput(a,s,r,l):a[l]=s}}function Os(t,e,n){let r=n?t.styles:null,s=n?t.classes:null,o=0;if(null!==e)for(let i=0;i<e.length;i++){const t=e[i];"number"==typeof t?o=t:1==o?s=X(s,t):2==o&&(r=X(r,t+": "+e[++i]+";"))}n?t.styles=r:t.stylesWithoutHost=r,n?t.classes=s:t.classesWithoutHost=s}const Is=new Sn("INJECTOR",-1);class Ds{get(t,e=Fn){if(e===Fn){const e=new Error(`NullInjectorError: No provider for ${J(t)}!`);throw e.name="NullInjectorError",e}return e}}const Ps=new Sn("Set Injector scope."),Ns={},js={};let Fs;function Rs(){return void 0===Fs&&(Fs=new Ds),Fs}function Ms(t,e=null,n=null,r){return new Hs(t,n,e||Rs(),r)}class Hs{constructor(t,e,n,r=null){this.parent=n,this.records=new Map,this.injectorDefTypes=new Set,this.onDestroy=new Set,this._destroyed=!1;const s=[];e&&On(e,n=>this.processProvider(n,t,e)),On([t],t=>this.processInjectorType(t,[],s)),this.records.set(Is,Us(void 0,this));const o=this.records.get(Ps);this.scope=null!=o?o.value:null,this.source=r||("object"==typeof t?null:J(t))}get destroyed(){return this._destroyed}destroy(){this.assertNotDestroyed(),this._destroyed=!0;try{this.onDestroy.forEach(t=>t.ngOnDestroy())}finally{this.records.clear(),this.onDestroy.clear(),this.injectorDefTypes.clear()}}get(t,e=Fn,n=yt.Default){this.assertNotDestroyed();const r=Bn(this);try{if(!(n&yt.SkipSelf)){let e=this.records.get(t);if(void 0===e){const n=("function"==typeof(s=t)||"object"==typeof s&&s instanceof Sn)&&ut(t);e=n&&this.injectableDefInScope(n)?Us(Ls(t),Ns):null,this.records.set(t,e)}if(null!=e)return this.hydrate(t,e)}return(n&yt.Self?Rs():this.parent).get(t,e=n&yt.Optional&&e===Fn?null:e)}catch(o){if("NullInjectorError"===o.name){if((o.ngTempTokenPath=o.ngTempTokenPath||[]).unshift(J(t)),r)throw o;return function(t,e,n,r){const s=t.ngTempTokenPath;throw e[Mn]&&s.unshift(e[Mn]),t.message=function(t,e,n,r=null){t=t&&"\n"===t.charAt(0)&&"\u0275"==t.charAt(1)?t.substr(2):t;let s=J(e);if(Array.isArray(e))s=e.map(J).join(" -> ");else if("object"==typeof e){let t=[];for(let n in e)if(e.hasOwnProperty(n)){let r=e[n];t.push(n+":"+("string"==typeof r?JSON.stringify(r):J(r)))}s=`{${t.join(", ")}}`}return`${n}${r?"("+r+")":""}[${s}]: ${t.replace(Rn,"\n ")}`}("\n"+t.message,s,n,r),t.ngTokenPath=s,t.ngTempTokenPath=null,t}(o,t,"R3InjectorError",this.source)}throw o}finally{Bn(r)}var s}_resolveInjectorDefTypes(){this.injectorDefTypes.forEach(t=>this.get(t))}toString(){const t=[];return this.records.forEach((e,n)=>t.push(J(n))),`R3Injector[${t.join(", ")}]`}assertNotDestroyed(){if(this._destroyed)throw new Error("Injector has already been destroyed.")}processInjectorType(t,e,n){if(!(t=et(t)))return!1;let r=ht(t);const s=null==r&&t.ngModule||void 0,o=void 0===s?t:s,i=-1!==n.indexOf(o);if(void 0!==s&&(r=ht(s)),null==r)return!1;if(null!=r.imports&&!i){let t;n.push(o);try{On(r.imports,r=>{this.processInjectorType(r,e,n)&&(void 0===t&&(t=[]),t.push(r))})}finally{}if(void 0!==t)for(let e=0;e<t.length;e++){const{ngModule:n,providers:r}=t[e];On(r,t=>this.processProvider(t,n,r||St))}}this.injectorDefTypes.add(o);const l=ee(o)||(()=>new o);this.records.set(o,Us(l,Ns));const a=r.providers;if(null!=a&&!i){const e=t;On(a,t=>this.processProvider(t,e,a))}return void 0!==s&&void 0!==t.providers}processProvider(t,e,n){let r=zs(t=et(t))?t:et(t&&t.provide);const s=function(t,e,n){return $s(t)?Us(void 0,t.useValue):Us(Bs(t),Ns)}(t);if(zs(t)||!0!==t.multi)this.records.get(r);else{let e=this.records.get(r);e||(e=Us(void 0,Ns,!0),e.factory=()=>zn(e.multi),this.records.set(r,e)),r=t,e.multi.push(t)}this.records.set(r,s)}hydrate(t,e){var n;return e.value===Ns&&(e.value=js,e.value=e.factory()),"object"==typeof e.value&&e.value&&null!==(n=e.value)&&"object"==typeof n&&"function"==typeof n.ngOnDestroy&&this.onDestroy.add(e.value),e.value}injectableDefInScope(t){if(!t.providedIn)return!1;const e=et(t.providedIn);return"string"==typeof e?"any"===e||e===this.scope:this.injectorDefTypes.has(e)}}function Ls(t){const e=ut(t),n=null!==e?e.factory:ee(t);if(null!==n)return n;if(t instanceof Sn)throw new Error(`Token ${J(t)} is missing a \u0275prov definition.`);if(t instanceof Function)return function(t){const e=t.length;if(e>0){const n=function(t,e){const n=[];for(let r=0;r<t;r++)n.push("?");return n}(e);throw new Error(`Can't resolve all parameters for ${J(t)}: (${n.join(", ")}).`)}const n=function(t){const e=t&&(t[dt]||t[pt]);if(e){const n=function(t){if(t.hasOwnProperty("name"))return t.name;const e=(""+t).match(/^function\s*([^\s(]+)/);return null===e?"":e[1]}(t);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.`),e}return null}(t);return null!==n?()=>n.factory(t):()=>new t}(t);throw new Error("unreachable")}function Bs(t,e,n){let r;if(zs(t)){const e=et(t);return ee(e)||Ls(e)}if($s(t))r=()=>et(t.useValue);else if((s=t)&&s.useFactory)r=()=>t.useFactory(...zn(t.deps||[]));else if(function(t){return!(!t||!t.useExisting)}(t))r=()=>$n(et(t.useExisting));else{const e=et(t&&(t.useClass||t.provide));if(!function(t){return!!t.deps}(t))return ee(e)||Ls(e);r=()=>new e(...zn(t.deps))}var s;return r}function Us(t,e,n=!1){return{factory:t,value:e,multi:n?[]:void 0}}function $s(t){return null!==t&&"object"==typeof t&&Hn in t}function zs(t){return"function"==typeof t}const Zs=function(t,e,n){return function(t,e=null,n=null,r){const s=Ms(t,e,n,r);return s._resolveInjectorDefTypes(),s}({name:n},e,t,n)};class qs{static create(t,e){return Array.isArray(t)?Zs(t,e,""):Zs(t.providers,t.parent,t.name||"")}}function Gs(t,e){Ze(Kn(t)[1],Ae())}function Ws(t){let e=Object.getPrototypeOf(t.type.prototype).constructor,n=!0;const r=[t];for(;e;){let s;if(te(t))s=e.\u0275cmp||e.\u0275dir;else{if(e.\u0275cmp)throw new Error("Directives cannot inherit Components");s=e.\u0275dir}if(s){if(n){r.push(s);const e=t;e.inputs=Qs(t.inputs),e.declaredInputs=Qs(t.declaredInputs),e.outputs=Qs(t.outputs);const n=s.hostBindings;n&&Xs(t,n);const o=s.viewQuery,i=s.contentQueries;if(o&&Ks(t,o),i&&Js(t,i),K(t.inputs,s.inputs),K(t.declaredInputs,s.declaredInputs),K(t.outputs,s.outputs),te(s)&&s.data.animation){const e=t.data;e.animation=(e.animation||[]).concat(s.data.animation)}}const e=s.features;if(e)for(let r=0;r<e.length;r++){const s=e[r];s&&s.ngInherit&&s(t),s===Ws&&(n=!1)}}e=Object.getPrototypeOf(e)}!function(t){let e=0,n=null;for(let r=t.length-1;r>=0;r--){const s=t[r];s.hostVars=e+=s.hostVars,s.hostAttrs=en(s.hostAttrs,n=en(n,s.hostAttrs))}}(r)}function Qs(t){return t===Vt?{}:t===St?[]:t}function Ks(t,e){const n=t.viewQuery;t.viewQuery=n?(t,r)=>{e(t,r),n(t,r)}:e}function Js(t,e){const n=t.contentQueries;t.contentQueries=n?(t,r,s)=>{e(t,r,s),n(t,r,s)}:e}function Xs(t,e){const n=t.hostBindings;t.hostBindings=n?(t,r)=>{e(t,r),n(t,r)}:e}qs.THROW_IF_NOT_FOUND=Fn,qs.NULL=new Ds,qs.\u0275prov=lt({token:qs,providedIn:"any",factory:()=>$n(Is)}),qs.__NG_ELEMENT_ID__=-1;let Ys=null;function to(){if(!Ys){const t=Tt.Symbol;if(t&&t.iterator)Ys=t.iterator;else{const t=Object.getOwnPropertyNames(Map.prototype);for(let e=0;e<t.length;++e){const n=t[e];"entries"!==n&&"size"!==n&&Map.prototype[n]===Map.prototype.entries&&(Ys=n)}}}return Ys}function eo(t){return!!no(t)&&(Array.isArray(t)||!(t instanceof Map)&&to()in t)}function no(t){return null!==t&&("function"==typeof t||"object"==typeof t)}function ro(t,e,n){return!Object.is(t[e],n)&&(t[e]=n,!0)}function so(t,e,n,r,s,o,i,l){const a=Ce(),u=Ee(),c=t+Gt,h=u.firstCreatePass?function(t,e,n,r,s,o,i,l,a){const u=e.consts,c=Qr(e,t,4,i||null,ge(u,l));is(e,n,c,ge(u,a)),Ze(e,c);const h=c.tViews=ss(2,c,r,s,o,e.directiveRegistry,e.pipeRegistry,null,e.schemas,u);return null!==e.queries&&(e.queries.template(e,c),h.queries=e.queries.embeddedTView(c)),c}(c,u,a,e,n,r,s,o,i):u.data[c];Te(h,!1);const d=a[11].createComment("");_r(u,a,d,h),Qn(d,a),bs(a,a[c]=ys(d,a,d,h)),Yt(h)&&es(u,a,h),null!=i&&ns(a,h,l)}function oo(t,e=yt.Default){const n=Ce();return null===n?$n(t,e):gn(Ae(),n,et(t),e)}function io(t,e,n){const r=Ce();return ro(r,Ie(),e)&&function(t,e,n,r,s,o,i,l){const a=fe(e,n);let u,c=e.inputs;var h;null!=c&&(u=c[r])?(Ss(t,n,u,r,s),Xt(e)&&function(t,e){const n=me(e,t);16&n[2]||(n[2]|=64)}(n,e.index)):3&e.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,e.value||"",r):s,ue(o)?o.setProperty(a,r,s):tn(r)||(a.setProperty?a.setProperty(r,s):a[r]=s))}(Ee(),function(){const t=be.lFrame;return pe(t.tView,t.selectedIndex)}(),r,t,e,r[11],n),io}function lo(t,e,n,r,s){const o=s?"class":"style";Ss(t,n,e.inputs[o],o,r)}function ao(t,e,n,r){const s=Ce(),o=Ee(),i=Gt+t,l=s[11],a=s[i]=ur(l,e,be.lFrame.currentNamespace),u=o.firstCreatePass?function(t,e,n,r,s,o,i){const l=e.consts,a=Qr(e,t,2,s,ge(l,o));return is(e,n,a,ge(l,i)),null!==a.attrs&&Os(a,a.attrs,!1),null!==a.mergedAttrs&&Os(a,a.mergedAttrs,!0),null!==e.queries&&e.queries.elementStart(e,a),a}(i,o,s,0,e,n,r):o.data[i];Te(u,!0);const c=u.mergedAttrs;null!==c&&Ye(l,a,c);const h=u.classes;null!==h&&kr(l,a,h);const d=u.styles;null!==d&&Ar(l,a,d),64!=(64&u.flags)&&_r(o,s,a,u),0===be.lFrame.elementDepthCount&&Qn(a,s),be.lFrame.elementDepthCount++,Yt(u)&&(es(o,s,u),function(t,e,n){if(Jt(e)){const r=e.directiveEnd;for(let s=e.directiveStart;s<r;s++){const e=t.data[s];e.contentQueries&&e.contentQueries(1,n[s],s)}}}(o,u,s)),null!==r&&ns(s,u)}function uo(){let t=Ae();Ve()?be.lFrame.isParent=!1:(t=t.parent,Te(t,!1));const e=t;be.lFrame.elementDepthCount--;const n=Ee();n.firstCreatePass&&(Ze(n,t),Jt(t)&&n.queries.elementEnd(t)),null!=e.classesWithoutHost&&function(t){return 0!=(16&t.flags)}(e)&&lo(n,e,Ce(),e.classesWithoutHost,!0),null!=e.stylesWithoutHost&&function(t){return 0!=(32&t.flags)}(e)&&lo(n,e,Ce(),e.stylesWithoutHost,!1)}function co(t,e,n,r){ao(t,e,n,r),uo()}function ho(){return Ce()}function fo(t){return!!t&&"function"==typeof t.then}const po=function(t){return!!t&&"function"==typeof t.subscribe};function mo(t,e,n,r){const s=Ce(),o=Ee(),i=Ae();return function(t,e,n,r,s,o,i,l){const a=Yt(r),u=t.firstCreatePass&&Ts(t),c=ks(e);let h=!0;if(3&r.type||l){const d=fe(r,e),f=l?l(d):d,p=c.length,m=l?t=>l(he(t[r.index])):r.index;if(ue(n)){let i=null;if(!l&&a&&(i=function(t,e,n,r){const s=t.cleanup;if(null!=s)for(let o=0;o<s.length-1;o+=2){const t=s[o];if(t===n&&s[o+1]===r){const t=e[7],n=s[o+2];return t.length>n?t[n]:null}"string"==typeof t&&(o+=2)}return null}(t,e,s,r.index)),null!==i)(i.__ngLastListenerFn__||i).__ngNextListenerFn__=o,i.__ngLastListenerFn__=o,h=!1;else{o=go(r,e,0,o,!1);const t=n.listen(f,s,o);c.push(o,t),u&&u.push(s,m,p,p+1)}}else o=go(r,e,0,o,!0),f.addEventListener(s,o,i),c.push(o),u&&u.push(s,m,p,i)}else o=go(r,e,0,o,!1);const d=r.outputs;let f;if(h&&null!==d&&(f=d[s])){const t=f.length;if(t)for(let n=0;n<t;n+=2){const t=e[f[n]][f[n+1]].subscribe(o),i=c.length;c.push(o,t),u&&u.push(s,r.index,i,-(i+1))}}}(o,s,s[11],i,t,e,!!n,r),mo}function yo(t,e,n,r){try{return!1!==n(r)}catch(s){return Vs(t,s),!1}}function go(t,e,n,r,s){return function n(o){if(o===Function)return r;const i=2&t.flags?me(t.index,e):e;0==(32&e[2])&&ws(i);let l=yo(e,0,r,o),a=n.__ngNextListenerFn__;for(;a;)l=yo(e,0,a,o)&&l,a=a.__ngNextListenerFn__;return s&&!1===l&&(o.preventDefault(),o.returnValue=!1),l}}function _o(t=1){return function(t){return(be.lFrame.contextLView=function(t,e){for(;t>0;)e=e[15],t--;return e}(t,be.lFrame.contextLView))[8]}(t)}function vo(t,e,n,r,s){const o=t[n+1],i=null===e;let l=r?Ur(o):zr(o),a=!1;for(;0!==l&&(!1===a||i);){const n=t[l+1];bo(t[l],e)&&(a=!0,t[l+1]=r?qr(n):$r(n)),l=r?Ur(n):zr(n)}a&&(t[n+1]=r?$r(o):qr(o))}function bo(t,e){return null===t||null==e||(Array.isArray(t)?t[1]:t)===e||!(!Array.isArray(t)||"string"!=typeof e)&&jn(t,e)>=0}function wo(t,e){return function(t,e,n,r){const s=Ce(),o=Ee(),i=function(t){const e=be.lFrame,n=e.bindingIndex;return e.bindingIndex=e.bindingIndex+2,n}();o.firstUpdatePass&&function(t,e,n,r){const s=t.data;if(null===s[n+1]){const o=s[$e()],i=function(t,e){return e>=t.expandoStartIndex}(t,n);(function(t,e){return 0!=(16&t.flags)})(o)&&null===e&&!i&&(e=!1),e=function(t,e,n,r){const s=function(t){const e=be.lFrame.currentDirectiveIndex;return-1===e?null:t[e]}(t);let o=e.residualClasses;if(null===s)0===e.classBindings&&(n=Eo(n=Co(null,t,e,n,r),e.attrs,r),o=null);else{const i=e.directiveStylingLast;if(-1===i||t[i]!==s)if(n=Co(s,t,e,n,r),null===o){let n=function(t,e,n){const r=e.classBindings;if(0!==zr(r))return t[Ur(r)]}(t,e);void 0!==n&&Array.isArray(n)&&(n=Co(null,t,e,n[1],r),n=Eo(n,e.attrs,r),function(t,e,n,r){t[Ur(e.classBindings)]=r}(t,e,0,n))}else o=function(t,e,n){let r;const s=e.directiveEnd;for(let o=1+e.directiveStylingLast;o<s;o++)r=Eo(r,t[o].hostAttrs,true);return Eo(r,e.attrs,true)}(t,e)}return void 0!==o&&(e.residualClasses=o),n}(s,o,e,r),function(t,e,n,r,s,o){let i=e.classBindings,l=Ur(i),a=zr(i);t[r]=n;let u,c=!1;if(Array.isArray(n)){const t=n;u=t[1],(null===u||jn(t,u)>0)&&(c=!0)}else u=n;if(s)if(0!==a){const e=Ur(t[l+1]);t[r+1]=Br(e,l),0!==e&&(t[e+1]=Zr(t[e+1],r)),t[l+1]=131071&t[l+1]|r<<17}else t[r+1]=Br(l,0),0!==l&&(t[l+1]=Zr(t[l+1],r)),l=r;else t[r+1]=Br(a,0),0===l?l=r:t[a+1]=Zr(t[a+1],r),a=r;c&&(t[r+1]=$r(t[r+1])),vo(t,u,r,!0),vo(t,u,r,!1),function(t,e,n,r,s){const o=t.residualClasses;null!=o&&"string"==typeof e&&jn(o,e)>=0&&(n[r+1]=qr(n[r+1]))}(e,u,t,r),i=Br(l,a),e.classBindings=i}(s,o,e,n,i)}}(o,t,i,true),e!==Mr&&ro(s,i,e)&&function(t,e,n,r,s,o,i,l){if(!(3&e.type))return;const a=t.data,u=a[l+1];Ao(1==(1&u)?xo(a,e,n,s,zr(u),i):void 0)||(Ao(o)||function(t){return 2==(2&t)}(u)&&(o=xo(a,null,n,s,l,i)),function(t,e,n,r,s){const o=ue(t);s?o?t.addClass(n,r):n.classList.add(r):o?t.removeClass(n,r):n.classList.remove(r)}(r,0,de($e(),n),s,o))}(o,o.data[$e()],s,s[11],t,s[i+1]=function(t,e){return null==t||"object"==typeof t&&(t=J(function(t){return t instanceof class{constructor(t){this.changingThisBreaksApplicationSecurity=t}toString(){return`SafeValue must use [property]=binding: ${this.changingThisBreaksApplicationSecurity} (see https://g.co/ng/security#xss)`}}?t.changingThisBreaksApplicationSecurity:t}(t))),t}(e),true,i)}(t,e),wo}function Co(t,e,n,r,s){let o=null;const i=n.directiveEnd;let l=n.directiveStylingLast;for(-1===l?l=n.directiveStart:l++;l<i&&(o=e[l],r=Eo(r,o.hostAttrs,s),o!==t);)l++;return null!==t&&(n.directiveStylingLast=l),r}function Eo(t,e,n){const r=n?1:2;let s=-1;if(null!==e)for(let o=0;o<e.length;o++){const i=e[o];"number"==typeof i?s=i:s===r&&(Array.isArray(t)||(t=void 0===t?[]:["",t]),Pn(t,i,!!n||e[++o]))}return void 0===t?null:t}function xo(t,e,n,r,s,o){const i=null===e;let l;for(;s>0;){const e=t[s],o=Array.isArray(e),a=o?e[1]:e,u=null===a;let c=n[s+1];c===Mr&&(c=u?St:void 0);let h=u?Nn(c,r):a===r?c:void 0;if(o&&!Ao(h)&&(h=Nn(e,r)),Ao(h)&&(l=h,i))return l;const d=t[s+1];s=i?Ur(d):zr(d)}if(null!==e){let t=o?e.residualClasses:e.residualStyles;null!=t&&(l=Nn(t,r))}return l}function Ao(t){return void 0!==t}function ko(t,e=""){const n=Ce(),r=Ee(),s=t+Gt,o=r.firstCreatePass?Qr(r,s,1,e,null):r.data[s],i=n[s]=function(t,e){return ue(t)?t.createText(e):t.createTextNode(e)}(n[11],e);_r(r,n,i,o),Te(o,!1)}function To(t){return Vo("",t,""),To}function Vo(t,e,n){const r=Ce(),s=function(t,e,n,r){return ro(t,Ie(),n)?e+st(n)+r:Mr}(r,t,e,n);return s!==Mr&&function(t,e,n){const r=de(e,t);!function(t,e,n){ue(t)?t.setValue(e,n):e.textContent=n}(t[11],r,n)}(r,$e(),s),Vo}const So=void 0;var Oo=["en",[["a","p"],["AM","PM"],So],[["AM","PM"],So,So],[["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"]],So,[["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"]],So,[["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}",So,"{1} 'at' {0}",So],[".",",",";","%","+","-","E","\xd7","\u2030","\u221e","NaN",":"],["#,##0.###","#,##0%","\xa4#,##0.00","#E0"],"USD","$","US Dollar",{},"ltr",function(t){let e=Math.floor(Math.abs(t)),n=t.toString().replace(/^[^.]*\.?/,"").length;return 1===e&&0===n?1:5}];let Io={};function Do(t){return t in Io||(Io[t]=Tt.ng&&Tt.ng.common&&Tt.ng.common.locales&&Tt.ng.common.locales[t]),Io[t]}var Po=(()=>((Po=Po||{})[Po.LocaleId=0]="LocaleId",Po[Po.DayPeriodsFormat=1]="DayPeriodsFormat",Po[Po.DayPeriodsStandalone=2]="DayPeriodsStandalone",Po[Po.DaysFormat=3]="DaysFormat",Po[Po.DaysStandalone=4]="DaysStandalone",Po[Po.MonthsFormat=5]="MonthsFormat",Po[Po.MonthsStandalone=6]="MonthsStandalone",Po[Po.Eras=7]="Eras",Po[Po.FirstDayOfWeek=8]="FirstDayOfWeek",Po[Po.WeekendRange=9]="WeekendRange",Po[Po.DateFormat=10]="DateFormat",Po[Po.TimeFormat=11]="TimeFormat",Po[Po.DateTimeFormat=12]="DateTimeFormat",Po[Po.NumberSymbols=13]="NumberSymbols",Po[Po.NumberFormats=14]="NumberFormats",Po[Po.CurrencyCode=15]="CurrencyCode",Po[Po.CurrencySymbol=16]="CurrencySymbol",Po[Po.CurrencyName=17]="CurrencyName",Po[Po.Currencies=18]="Currencies",Po[Po.Directionality=19]="Directionality",Po[Po.PluralCase=20]="PluralCase",Po[Po.ExtraData=21]="ExtraData",Po))();const No="en-US";let jo=No;function Fo(t){var e,n;n="Expected localeId to be defined",null==(e=t)&&function(t,e,n,r){throw new Error(`ASSERTION ERROR: ${t} [Expected=> null != ${e} <=Actual]`)}(n,e),"string"==typeof t&&(jo=t.toLowerCase().replace(/_/g,"-"))}function Ro(t,e,n,r,s){if(t=et(t),Array.isArray(t))for(let o=0;o<t.length;o++)Ro(t[o],e,n,r,s);else{const o=Ee(),i=Ce();let l=zs(t)?t:et(t.provide),a=Bs(t);const u=Ae(),c=1048575&u.providerIndexes,h=u.directiveStart,d=u.providerIndexes>>20;if(zs(t)||!t.multi){const r=new Xe(a,s,oo),f=Lo(l,e,s?c:c+d,h);-1===f?(pn(cn(u,i),o,l),Mo(o,t,e.length),e.push(l),u.directiveStart++,u.directiveEnd++,s&&(u.providerIndexes+=1048576),n.push(r),i.push(r)):(n[f]=r,i[f]=r)}else{const f=Lo(l,e,c+d,h),p=Lo(l,e,c,c+d),m=f>=0&&n[f],y=p>=0&&n[p];if(s&&!y||!s&&!m){pn(cn(u,i),o,l);const c=function(t,e,n,r,s){const o=new Xe(t,n,oo);return o.multi=[],o.index=e,o.componentProviders=0,Ho(o,s,r&&!n),o}(s?Uo:Bo,n.length,s,r,a);!s&&y&&(n[p].providerFactory=c),Mo(o,t,e.length,0),e.push(l),u.directiveStart++,u.directiveEnd++,s&&(u.providerIndexes+=1048576),n.push(c),i.push(c)}else Mo(o,t,f>-1?f:p,Ho(n[s?p:f],a,!s&&r));!s&&r&&y&&n[p].componentProviders++}}}function Mo(t,e,n,r){const s=zs(e);if(s||e.useClass){const o=(e.useClass||e).prototype.ngOnDestroy;if(o){const i=t.destroyHooks||(t.destroyHooks=[]);if(!s&&e.multi){const t=i.indexOf(n);-1===t?i.push(n,[r,o]):i[t+1].push(r,o)}else i.push(n,o)}}}function Ho(t,e,n){return n&&t.componentProviders++,t.multi.push(e)-1}function Lo(t,e,n,r){for(let s=n;s<r;s++)if(e[s]===t)return s;return-1}function Bo(t,e,n,r){return $o(this.multi,[])}function Uo(t,e,n,r){const s=this.multi;let o;if(this.providerFactory){const t=this.providerFactory.componentProviders,e=wn(n,n[1],this.providerFactory.index,r);o=e.slice(0,t),$o(s,o);for(let n=t;n<e.length;n++)o.push(e[n])}else o=[],$o(s,o);return o}function $o(t,e){for(let n=0;n<t.length;n++)e.push((0,t[n])());return e}function zo(t,e=[]){return n=>{n.providersResolver=(n,r)=>function(t,e,n){const r=Ee();if(r.firstCreatePass){const s=te(t);Ro(n,r.data,r.blueprint,s,!0),Ro(e,r.data,r.blueprint,s,!1)}}(n,r?r(t):t,e)}}class Zo{}class qo{resolveComponentFactory(t){throw function(t){const e=Error(`No component factory found for ${J(t)}. Did you add it to @NgModule.entryComponents?`);return e.ngComponent=t,e}(t)}}class Go{}function Wo(...t){}function Qo(t,e){return new Jo(fe(t,e))}Go.NULL=new qo;const Ko=function(){return Qo(Ae(),Ce())};let Jo=(()=>{class t{constructor(t){this.nativeElement=t}}return t.__NG_ELEMENT_ID__=Ko,t})();class Xo{}let Yo=(()=>{class t{}return t.__NG_ELEMENT_ID__=()=>ti(),t})();const ti=function(){const t=Ce(),e=me(Ae().index,t);return function(t){return t[11]}(Qt(e)?e:t)};let ei=(()=>{class t{}return t.\u0275prov=lt({token:t,providedIn:"root",factory:()=>null}),t})();class ni{constructor(t){this.full=t,this.major=t.split(".")[0],this.minor=t.split(".")[1],this.patch=t.split(".").slice(2).join(".")}}const ri=new ni("12.1.2");class si{constructor(){}supports(t){return eo(t)}create(t){return new ii(t)}}const oi=(t,e)=>e;class ii{constructor(t){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=t||oi}forEachItem(t){let e;for(e=this._itHead;null!==e;e=e._next)t(e)}forEachOperation(t){let e=this._itHead,n=this._removalsHead,r=0,s=null;for(;e||n;){const o=!n||e&&e.currentIndex<ci(n,r,s)?e:n,i=ci(o,r,s),l=o.currentIndex;if(o===n)r--,n=n._nextRemoved;else if(e=e._next,null==o.previousIndex)r++;else{s||(s=[]);const t=i-r,e=l-r;if(t!=e){for(let n=0;n<t;n++){const r=n<s.length?s[n]:s[n]=0,o=r+n;e<=o&&o<t&&(s[n]=r+1)}s[o.previousIndex]=e-t}}i!==l&&t(o,i,l)}}forEachPreviousItem(t){let e;for(e=this._previousItHead;null!==e;e=e._nextPrevious)t(e)}forEachAddedItem(t){let e;for(e=this._additionsHead;null!==e;e=e._nextAdded)t(e)}forEachMovedItem(t){let e;for(e=this._movesHead;null!==e;e=e._nextMoved)t(e)}forEachRemovedItem(t){let e;for(e=this._removalsHead;null!==e;e=e._nextRemoved)t(e)}forEachIdentityChange(t){let e;for(e=this._identityChangesHead;null!==e;e=e._nextIdentityChange)t(e)}diff(t){if(null==t&&(t=[]),!eo(t))throw new Error(`Error trying to diff '${J(t)}'. Only arrays and iterables are allowed`);return this.check(t)?this:null}onDestroy(){}check(t){this._reset();let e,n,r,s=this._itHead,o=!1;if(Array.isArray(t)){this.length=t.length;for(let e=0;e<this.length;e++)n=t[e],r=this._trackByFn(e,n),null!==s&&Object.is(s.trackById,r)?(o&&(s=this._verifyReinsertion(s,n,r,e)),Object.is(s.item,n)||this._addIdentityChange(s,n)):(s=this._mismatch(s,n,r,e),o=!0),s=s._next}else e=0,function(t,e){if(Array.isArray(t))for(let n=0;n<t.length;n++)e(t[n]);else{const n=t[to()]();let r;for(;!(r=n.next()).done;)e(r.value)}}(t,t=>{r=this._trackByFn(e,t),null!==s&&Object.is(s.trackById,r)?(o&&(s=this._verifyReinsertion(s,t,r,e)),Object.is(s.item,t)||this._addIdentityChange(s,t)):(s=this._mismatch(s,t,r,e),o=!0),s=s._next,e++}),this.length=e;return this._truncate(s),this.collection=t,this.isDirty}get isDirty(){return null!==this._additionsHead||null!==this._movesHead||null!==this._removalsHead||null!==this._identityChangesHead}_reset(){if(this.isDirty){let t;for(t=this._previousItHead=this._itHead;null!==t;t=t._next)t._nextPrevious=t._next;for(t=this._additionsHead;null!==t;t=t._nextAdded)t.previousIndex=t.currentIndex;for(this._additionsHead=this._additionsTail=null,t=this._movesHead;null!==t;t=t._nextMoved)t.previousIndex=t.currentIndex;this._movesHead=this._movesTail=null,this._removalsHead=this._removalsTail=null,this._identityChangesHead=this._identityChangesTail=null}}_mismatch(t,e,n,r){let s;return null===t?s=this._itTail:(s=t._prev,this._remove(t)),null!==(t=null===this._unlinkedRecords?null:this._unlinkedRecords.get(n,null))?(Object.is(t.item,e)||this._addIdentityChange(t,e),this._reinsertAfter(t,s,r)):null!==(t=null===this._linkedRecords?null:this._linkedRecords.get(n,r))?(Object.is(t.item,e)||this._addIdentityChange(t,e),this._moveAfter(t,s,r)):t=this._addAfter(new li(e,n),s,r),t}_verifyReinsertion(t,e,n,r){let s=null===this._unlinkedRecords?null:this._unlinkedRecords.get(n,null);return null!==s?t=this._reinsertAfter(s,t._prev,r):t.currentIndex!=r&&(t.currentIndex=r,this._addToMoves(t,r)),t}_truncate(t){for(;null!==t;){const e=t._next;this._addToRemovals(this._unlink(t)),t=e}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(t,e,n){null!==this._unlinkedRecords&&this._unlinkedRecords.remove(t);const r=t._prevRemoved,s=t._nextRemoved;return null===r?this._removalsHead=s:r._nextRemoved=s,null===s?this._removalsTail=r:s._prevRemoved=r,this._insertAfter(t,e,n),this._addToMoves(t,n),t}_moveAfter(t,e,n){return this._unlink(t),this._insertAfter(t,e,n),this._addToMoves(t,n),t}_addAfter(t,e,n){return this._insertAfter(t,e,n),this._additionsTail=null===this._additionsTail?this._additionsHead=t:this._additionsTail._nextAdded=t,t}_insertAfter(t,e,n){const r=null===e?this._itHead:e._next;return t._next=r,t._prev=e,null===r?this._itTail=t:r._prev=t,null===e?this._itHead=t:e._next=t,null===this._linkedRecords&&(this._linkedRecords=new ui),this._linkedRecords.put(t),t.currentIndex=n,t}_remove(t){return this._addToRemovals(this._unlink(t))}_unlink(t){null!==this._linkedRecords&&this._linkedRecords.remove(t);const e=t._prev,n=t._next;return null===e?this._itHead=n:e._next=n,null===n?this._itTail=e:n._prev=e,t}_addToMoves(t,e){return t.previousIndex===e||(this._movesTail=null===this._movesTail?this._movesHead=t:this._movesTail._nextMoved=t),t}_addToRemovals(t){return null===this._unlinkedRecords&&(this._unlinkedRecords=new ui),this._unlinkedRecords.put(t),t.currentIndex=null,t._nextRemoved=null,null===this._removalsTail?(this._removalsTail=this._removalsHead=t,t._prevRemoved=null):(t._prevRemoved=this._removalsTail,this._removalsTail=this._removalsTail._nextRemoved=t),t}_addIdentityChange(t,e){return t.item=e,this._identityChangesTail=null===this._identityChangesTail?this._identityChangesHead=t:this._identityChangesTail._nextIdentityChange=t,t}}class li{constructor(t,e){this.item=t,this.trackById=e,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 ai{constructor(){this._head=null,this._tail=null}add(t){null===this._head?(this._head=this._tail=t,t._nextDup=null,t._prevDup=null):(this._tail._nextDup=t,t._prevDup=this._tail,t._nextDup=null,this._tail=t)}get(t,e){let n;for(n=this._head;null!==n;n=n._nextDup)if((null===e||e<=n.currentIndex)&&Object.is(n.trackById,t))return n;return null}remove(t){const e=t._prevDup,n=t._nextDup;return null===e?this._head=n:e._nextDup=n,null===n?this._tail=e:n._prevDup=e,null===this._head}}class ui{constructor(){this.map=new Map}put(t){const e=t.trackById;let n=this.map.get(e);n||(n=new ai,this.map.set(e,n)),n.add(t)}get(t,e){const n=this.map.get(t);return n?n.get(t,e):null}remove(t){const e=t.trackById;return this.map.get(e).remove(t)&&this.map.delete(e),t}get isEmpty(){return 0===this.map.size}clear(){this.map.clear()}}function ci(t,e,n){const r=t.previousIndex;if(null===r)return r;let s=0;return n&&r<n.length&&(s=n[r]),r+e+s}class hi{constructor(){}supports(t){return t instanceof Map||no(t)}create(){return new di}}class di{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(t){let e;for(e=this._mapHead;null!==e;e=e._next)t(e)}forEachPreviousItem(t){let e;for(e=this._previousMapHead;null!==e;e=e._nextPrevious)t(e)}forEachChangedItem(t){let e;for(e=this._changesHead;null!==e;e=e._nextChanged)t(e)}forEachAddedItem(t){let e;for(e=this._additionsHead;null!==e;e=e._nextAdded)t(e)}forEachRemovedItem(t){let e;for(e=this._removalsHead;null!==e;e=e._nextRemoved)t(e)}diff(t){if(t){if(!(t instanceof Map||no(t)))throw new Error(`Error trying to diff '${J(t)}'. Only maps and objects are allowed`)}else t=new Map;return this.check(t)?this:null}onDestroy(){}check(t){this._reset();let e=this._mapHead;if(this._appendAfter=null,this._forEach(t,(t,n)=>{if(e&&e.key===n)this._maybeAddToChanges(e,t),this._appendAfter=e,e=e._next;else{const r=this._getOrCreateRecordForKey(n,t);e=this._insertBeforeOrAppend(e,r)}}),e){e._prev&&(e._prev._next=null),this._removalsHead=e;for(let t=e;null!==t;t=t._nextRemoved)t===this._mapHead&&(this._mapHead=null),this._records.delete(t.key),t._nextRemoved=t._next,t.previousValue=t.currentValue,t.currentValue=null,t._prev=null,t._next=null}return this._changesTail&&(this._changesTail._nextChanged=null),this._additionsTail&&(this._additionsTail._nextAdded=null),this.isDirty}_insertBeforeOrAppend(t,e){if(t){const n=t._prev;return e._next=t,e._prev=n,t._prev=e,n&&(n._next=e),t===this._mapHead&&(this._mapHead=e),this._appendAfter=t,t}return this._appendAfter?(this._appendAfter._next=e,e._prev=this._appendAfter):this._mapHead=e,this._appendAfter=e,null}_getOrCreateRecordForKey(t,e){if(this._records.has(t)){const n=this._records.get(t);this._maybeAddToChanges(n,e);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 fi(t);return this._records.set(t,n),n.currentValue=e,this._addToAdditions(n),n}_reset(){if(this.isDirty){let t;for(this._previousMapHead=this._mapHead,t=this._previousMapHead;null!==t;t=t._next)t._nextPrevious=t._next;for(t=this._changesHead;null!==t;t=t._nextChanged)t.previousValue=t.currentValue;for(t=this._additionsHead;null!=t;t=t._nextAdded)t.previousValue=t.currentValue;this._changesHead=this._changesTail=null,this._additionsHead=this._additionsTail=null,this._removalsHead=null}}_maybeAddToChanges(t,e){Object.is(e,t.currentValue)||(t.previousValue=t.currentValue,t.currentValue=e,this._addToChanges(t))}_addToAdditions(t){null===this._additionsHead?this._additionsHead=this._additionsTail=t:(this._additionsTail._nextAdded=t,this._additionsTail=t)}_addToChanges(t){null===this._changesHead?this._changesHead=this._changesTail=t:(this._changesTail._nextChanged=t,this._changesTail=t)}_forEach(t,e){t instanceof Map?t.forEach(e):Object.keys(t).forEach(n=>e(t[n],n))}}class fi{constructor(t){this.key=t,this.previousValue=null,this.currentValue=null,this._nextPrevious=null,this._next=null,this._prev=null,this._nextAdded=null,this._nextRemoved=null,this._nextChanged=null}}function pi(){return new mi([new si])}let mi=(()=>{class t{constructor(t){this.factories=t}static create(e,n){if(null!=n){const t=n.factories.slice();e=e.concat(t)}return new t(e)}static extend(e){return{provide:t,useFactory:n=>t.create(e,n||pi()),deps:[[t,new Wn,new Gn]]}}find(t){const e=this.factories.find(e=>e.supports(t));if(null!=e)return e;throw new Error(`Cannot find a differ supporting object '${t}' of type '${n=t,n.name||typeof n}'`);var n}}return t.\u0275prov=lt({token:t,providedIn:"root",factory:pi}),t})();function yi(){return new gi([new hi])}let gi=(()=>{class t{constructor(t){this.factories=t}static create(e,n){if(n){const t=n.factories.slice();e=e.concat(t)}return new t(e)}static extend(e){return{provide:t,useFactory:n=>t.create(e,n||yi()),deps:[[t,new Wn,new Gn]]}}find(t){const e=this.factories.find(e=>e.supports(t));if(e)return e;throw new Error(`Cannot find a differ supporting object '${t}'`)}}return t.\u0275prov=lt({token:t,providedIn:"root",factory:yi}),t})();function _i(t,e,n,r,s=!1){for(;null!==n;){const o=e[n.index];if(null!==o&&r.push(he(o)),Kt(o))for(let t=Wt;t<o.length;t++){const e=o[t],n=e[1].firstChild;null!==n&&_i(e[1],e,n,r)}const i=n.type;if(8&i)_i(t,e,n.child,r);else if(32&i){const t=rr(n,e);let s;for(;s=t();)r.push(s)}else if(16&i){const t=br(e,n);if(Array.isArray(t))r.push(...t);else{const n=sr(e[16]);_i(n[1],n,t,r,!0)}}n=s?n.projectionNext:n.next}return r}class vi{constructor(t,e){this._lView=t,this._cdRefInjectingView=e,this._appRef=null,this._attachedToViewContainer=!1}get rootNodes(){const t=this._lView,e=t[1];return _i(e,t,e.firstChild,[])}get context(){return this._lView[8]}set context(t){this._lView[8]=t}get destroyed(){return 256==(256&this._lView[2])}destroy(){if(this._appRef)this._appRef.detachView(this);else if(this._attachedToViewContainer){const t=this._lView[3];if(Kt(t)){const e=t[8],n=e?e.indexOf(this):-1;n>-1&&(hr(t,n),Dn(e,n))}this._attachedToViewContainer=!1}dr(this._lView[1],this._lView)}onDestroy(t){!function(t,e,n,r){const s=ks(e);s.push(r)}(0,this._lView,0,t)}markForCheck(){ws(this._cdRefInjectingView||this._lView)}detach(){this._lView[2]&=-129}reattach(){this._lView[2]|=128}detectChanges(){Cs(this._lView[1],this._lView,this.context)}checkNoChanges(){!function(t,e,n){Oe(!0);try{Cs(t,e,n)}finally{Oe(!1)}}(this._lView[1],this._lView,this.context)}attachToViewContainerRef(){if(this._appRef)throw new Error("This view is already attached directly to the ApplicationRef!");this._attachedToViewContainer=!0}detachFromAppRef(){var t;this._appRef=null,Er(this._lView[1],t=this._lView,t[11],2,null,null)}attachToAppRef(t){if(this._attachedToViewContainer)throw new Error("This view is already attached to a ViewContainer!");this._appRef=t}}class bi extends vi{constructor(t){super(t),this._view=t}detectChanges(){Es(this._view)}checkNoChanges(){!function(t){Oe(!0);try{Es(t)}finally{Oe(!1)}}(this._view)}get context(){return null}}const wi=[new hi],Ci=new mi([new si]),Ei=new gi(wi),xi=function(){return t=Ae(),e=Ce(),4&t.type?new Ti(e,t,Qo(t,e)):null;var t,e};let Ai=(()=>{class t{}return t.__NG_ELEMENT_ID__=xi,t})();const ki=Ai,Ti=class extends ki{constructor(t,e,n){super(),this._declarationLView=t,this._declarationTContainer=e,this.elementRef=n}createEmbeddedView(t){const e=this._declarationTContainer.tViews,n=Wr(this._declarationLView,e,t,16,null,e.declTNode,null,null,null,null);n[17]=this._declarationLView[this._declarationTContainer.index];const r=this._declarationLView[19];return null!==r&&(n[19]=r.createEmbeddedView(e)),Jr(e,n,t),new vi(n)}};class Vi{}const Si=function(){return function(t,e){let n;const r=e[t.index];if(Kt(r))n=r;else{let s;if(8&t.type)s=he(r);else{const n=e[11];s=n.createComment("");const r=fe(t,e);pr(n,gr(n,r),s,function(t,e){return ue(t)?t.nextSibling(e):e.nextSibling}(n,r),!1)}e[t.index]=n=ys(r,e,s,t),bs(e,n)}return new Di(n,t,e)}(Ae(),Ce())};let Oi=(()=>{class t{}return t.__NG_ELEMENT_ID__=Si,t})();const Ii=Oi,Di=class extends Ii{constructor(t,e,n){super(),this._lContainer=t,this._hostTNode=e,this._hostLView=n}get element(){return Qo(this._hostTNode,this._hostLView)}get injector(){return new xn(this._hostTNode,this._hostLView)}get parentInjector(){const t=fn(this._hostTNode,this._hostLView);if(rn(t)){const e=on(t,this._hostLView),n=sn(t);return new xn(e[1].data[n+8],e)}return new xn(null,this._hostLView)}clear(){for(;this.length>0;)this.remove(this.length-1)}get(t){const e=Pi(this._lContainer);return null!==e&&e[t]||null}get length(){return this._lContainer.length-Wt}createEmbeddedView(t,e,n){const r=t.createEmbeddedView(e||{});return this.insert(r,n),r}createComponent(t,e,n,r,s){const o=n||this.parentInjector;if(!s&&null==t.ngModule&&o){const t=o.get(Vi,null);t&&(s=t)}const i=t.create(o,r,void 0,s);return this.insert(i.hostView,e),i}insert(t,e){const n=t._lView,r=n[1];if(Kt(n[3])){const e=this.indexOf(t);if(-1!==e)this.detach(e);else{const e=n[3],r=new Di(e,e[6],e[3]);r.detach(r.indexOf(t))}}const s=this._adjustIndex(e),o=this._lContainer;!function(t,e,n,r){const s=Wt+r,o=n.length;r>0&&(n[s-1][4]=e),r<o-Wt?(e[4]=n[s],In(n,Wt+r,e)):(n.push(e),e[4]=null),e[3]=n;const i=e[17];null!==i&&n!==i&&function(t,e){const n=t[9];e[16]!==e[3][3][16]&&(t[2]=!0),null===n?t[9]=[e]:n.push(e)}(i,e);const l=e[19];null!==l&&l.insertView(t),e[2]|=128}(r,n,o,s);const i=wr(s,o),l=n[11],a=gr(l,o[7]);return null!==a&&function(t,e,n,r,s,o){r[0]=s,r[6]=e,Er(t,r,n,1,s,o)}(r,o[6],l,n,a,i),t.attachToViewContainerRef(),In(Ni(o),s,t),t}move(t,e){return this.insert(t,e)}indexOf(t){const e=Pi(this._lContainer);return null!==e?e.indexOf(t):-1}remove(t){const e=this._adjustIndex(t,-1),n=hr(this._lContainer,e);n&&(Dn(Ni(this._lContainer),e),dr(n[1],n))}detach(t){const e=this._adjustIndex(t,-1),n=hr(this._lContainer,e);return n&&null!=Dn(Ni(this._lContainer),e)?new vi(n):null}_adjustIndex(t,e=0){return null==t?this.length+e:t}};function Pi(t){return t[8]}function Ni(t){return t[8]||(t[8]=[])}const ji={};class Fi extends Go{constructor(t){super(),this.ngModule=t}resolveComponentFactory(t){const e=Zt(t);return new Hi(e,this.ngModule)}}function Ri(t){const e=[];for(let n in t)t.hasOwnProperty(n)&&e.push({propName:t[n],templateName:n});return e}const Mi=new Sn("SCHEDULER_TOKEN",{providedIn:"root",factory:()=>tr});class Hi extends Zo{constructor(t,e){super(),this.componentDef=t,this.ngModule=e,this.componentType=t.type,this.selector=t.selectors.map(Rr).join(","),this.ngContentSelectors=t.ngContentSelectors?t.ngContentSelectors:[],this.isBoundToModule=!!e}get inputs(){return Ri(this.componentDef.inputs)}get outputs(){return Ri(this.componentDef.outputs)}create(t,e,n,r){const s=(r=r||this.ngModule)?function(t,e){return{get:(n,r,s)=>{const o=t.get(n,ji,s);return o!==ji||r===ji?o:e.get(n,r,s)}}}(t,r.injector):t,o=s.get(Xo,ce),i=s.get(ei,null),l=o.createRenderer(null,this.componentDef),a=this.componentDef.selectors[0][0]||"div",u=n?function(t,e,n){if(ue(t))return t.selectRootElement(e,n===Ct.ShadowDom);let r="string"==typeof e?t.querySelector(e):e;return r.textContent="",r}(l,n,this.componentDef.encapsulation):ur(o.createRenderer(null,this.componentDef),a,function(t){const e=t.toLowerCase();return"svg"===e?"http://www.w3.org/2000/svg":"math"===e?"http://www.w3.org/1998/MathML/":null}(a)),c=this.componentDef.onPush?576:528,h={components:[],scheduler:tr,clean:As,playerHandler:null,flags:0},d=ss(0,null,null,1,0,null,null,null,null,null),f=Wr(null,d,h,c,null,null,o,l,i,s);let p,m;Re(f);try{const t=function(t,e,n,r,s,o){const i=n[1];n[20]=t;const l=Qr(i,20,2,"#host",null),a=l.mergedAttrs=e.hostAttrs;null!==a&&(Os(l,a,!0),null!==t&&(Ye(s,t,a),null!==l.classes&&kr(s,t,l.classes),null!==l.styles&&Ar(s,t,l.styles)));const u=r.createRenderer(t,e),c=Wr(n,rs(e),null,e.onPush?64:16,n[20],l,r,u,null,null);return i.firstCreatePass&&(pn(cn(l,n),i,e.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)Ye(l,u,["ng-version",ri.full]);else{const{attrs:t,classes:e}=function(t){const e=[],n=[];let r=1,s=2;for(;r<t.length;){let o=t[r];if("string"==typeof o)2===s?""!==o&&e.push(o,t[++r]):8===s&&n.push(o);else{if(!Pr(s))break;s=o}r++}return{attrs:e,classes:n}}(this.componentDef.selectors[0]);t&&Ye(l,u,t),e&&e.length>0&&kr(l,u,e.join(" "))}if(m=pe(d,Gt),void 0!==e){const t=m.projection=[];for(let n=0;n<this.ngContentSelectors.length;n++){const r=e[n];t.push(null!=r?Array.from(r):null)}}p=function(t,e,n,r,s){const o=n[1],i=function(t,e,n){const r=Ae();t.firstCreatePass&&(n.providersResolver&&n.providersResolver(n),ds(t,r,e,Kr(t,e,1,null),n));const s=wn(e,t,r.directiveStart,r);Qn(s,e);const o=fe(r,e);return o&&Qn(o,e),s}(o,n,e);if(r.components.push(i),t[8]=i,s&&s.forEach(t=>t(i,e)),e.contentQueries){const t=Ae();e.contentQueries(1,i,t.directiveStart)}const l=Ae();return!o.firstCreatePass||null===e.hostBindings&&null===e.hostAttrs||(ze(l.index),ls(n[1],l,0,l.directiveStart,l.directiveEnd,e),as(e,i)),i}(t,this.componentDef,f,h,[Gs]),Jr(d,f,null)}finally{Ue()}return new Li(this.componentType,p,Qo(m,f),f,m)}}class Li extends class{}{constructor(t,e,n,r,s){super(),this.location=n,this._rootLView=r,this._tNode=s,this.instance=e,this.hostView=this.changeDetectorRef=new bi(r),this.componentType=t}get injector(){return new xn(this._tNode,this._rootLView)}destroy(){this.hostView.destroy()}onDestroy(t){this.hostView.onDestroy(t)}}const Bi=new Map;class Ui extends Vi{constructor(t,e){super(),this._parent=e,this._bootstrapComponents=[],this.injector=this,this.destroyCbs=[],this.componentFactoryResolver=new Fi(this);const n=qt(t),r=t[Nt]||null;r&&Fo(r),this._bootstrapComponents=er(n.bootstrap),this._r3Injector=Ms(t,e,[{provide:Vi,useValue:this},{provide:Go,useValue:this.componentFactoryResolver}],J(t)),this._r3Injector._resolveInjectorDefTypes(),this.instance=this.get(t)}get(t,e=qs.THROW_IF_NOT_FOUND,n=yt.Default){return t===qs||t===Vi||t===Is?this:this._r3Injector.get(t,e,n)}destroy(){const t=this._r3Injector;!t.destroyed&&t.destroy(),this.destroyCbs.forEach(t=>t()),this.destroyCbs=null}onDestroy(t){this.destroyCbs.push(t)}}class $i extends class{}{constructor(t){super(),this.moduleType=t,null!==qt(t)&&function(t){const e=new Set;!function t(n){const r=qt(n,!0),s=r.id;null!==s&&(function(t,e,n){if(e&&e!==n)throw new Error(`Duplicate module registered for ${t} - ${J(e)} vs ${J(e.name)}`)}(s,Bi.get(s),n),Bi.set(s,n));const o=er(r.imports);for(const i of o)e.has(i)||(e.add(i),t(i))}(t)}(t)}create(t){return new Ui(this.moduleType,t)}}function zi(t){return e=>{setTimeout(t,void 0,e)}}const Zi=class extends E{constructor(t=!1){super(),this.__isAsync=t}emit(t){super.next(t)}subscribe(t,e,n){var r,s,o;let i=t,l=e||(()=>null),a=n;if(t&&"object"==typeof t){const e=t;i=null===(r=e.next)||void 0===r?void 0:r.bind(e),l=null===(s=e.error)||void 0===s?void 0:s.bind(e),a=null===(o=e.complete)||void 0===o?void 0:o.bind(e)}this.__isAsync&&(l=zi(l),i&&(i=zi(i)),a&&(a=zi(a)));const u=super.subscribe({next:i,error:l,complete:a});return t instanceof h&&t.add(u),u}};Symbol;const qi=new Sn("Application Initializer");let Gi=(()=>{class t{constructor(t){this.appInits=t,this.resolve=Wo,this.reject=Wo,this.initialized=!1,this.done=!1,this.donePromise=new Promise((t,e)=>{this.resolve=t,this.reject=e})}runInitializers(){if(this.initialized)return;const t=[],e=()=>{this.done=!0,this.resolve()};if(this.appInits)for(let n=0;n<this.appInits.length;n++){const e=this.appInits[n]();if(fo(e))t.push(e);else if(po(e)){const n=new Promise((t,n)=>{e.subscribe({complete:t,error:n})});t.push(n)}}Promise.all(t).then(()=>{e()}).catch(t=>{this.reject(t)}),0===t.length&&e(),this.initialized=!0}}return t.\u0275fac=function(e){return new(e||t)($n(qi,8))},t.\u0275prov=lt({token:t,factory:t.\u0275fac}),t})();const Wi=new Sn("AppId"),Qi={provide:Wi,useFactory:function(){return`${Ki()}${Ki()}${Ki()}`},deps:[]};function Ki(){return String.fromCharCode(97+Math.floor(25*Math.random()))}const Ji=new Sn("Platform Initializer"),Xi=new Sn("Platform ID"),Yi=new Sn("appBootstrapListener");let tl=(()=>{class t{log(t){console.log(t)}warn(t){console.warn(t)}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275prov=lt({token:t,factory:t.\u0275fac}),t})();const el=new Sn("LocaleId"),nl=new Sn("DefaultCurrencyCode");class rl{constructor(t,e){this.ngModuleFactory=t,this.componentFactories=e}}const sl=function(t){return new $i(t)},ol=sl,il=function(t){return Promise.resolve(sl(t))},ll=function(t){const e=sl(t),n=er(qt(t).declarations).reduce((t,e)=>{const n=Zt(e);return n&&t.push(new Hi(n)),t},[]);return new rl(e,n)},al=ll,ul=function(t){return Promise.resolve(ll(t))};let cl=(()=>{class t{constructor(){this.compileModuleSync=ol,this.compileModuleAsync=il,this.compileModuleAndAllComponentsSync=al,this.compileModuleAndAllComponentsAsync=ul}clearCache(){}clearCacheFor(t){}getModuleId(t){}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275prov=lt({token:t,factory:t.\u0275fac}),t})();const hl=(()=>Promise.resolve(0))();function dl(t){"undefined"==typeof Zone?hl.then(()=>{t&&t.apply(null,null)}):Zone.current.scheduleMicroTask("scheduleMicrotask",t)}class fl{constructor({enableLongStackTrace:t=!1,shouldCoalesceEventChangeDetection:e=!1,shouldCoalesceRunChangeDetection:n=!1}){if(this.hasPendingMacrotasks=!1,this.hasPendingMicrotasks=!1,this.isStable=!0,this.onUnstable=new Zi(!1),this.onMicrotaskEmpty=new Zi(!1),this.onStable=new Zi(!1),this.onError=new Zi(!1),"undefined"==typeof Zone)throw new Error("In this configuration Angular requires Zone.js");Zone.assertZonePatched();const r=this;r._nesting=0,r._outer=r._inner=Zone.current,Zone.TaskTrackingZoneSpec&&(r._inner=r._inner.fork(new Zone.TaskTrackingZoneSpec)),t&&Zone.longStackTraceZoneSpec&&(r._inner=r._inner.fork(Zone.longStackTraceZoneSpec)),r.shouldCoalesceEventChangeDetection=!n&&e,r.shouldCoalesceRunChangeDetection=n,r.lastRequestAnimationFrameId=-1,r.nativeRequestAnimationFrame=function(){let t=Tt.requestAnimationFrame,e=Tt.cancelAnimationFrame;if("undefined"!=typeof Zone&&t&&e){const n=t[Zone.__symbol__("OriginalDelegate")];n&&(t=n);const r=e[Zone.__symbol__("OriginalDelegate")];r&&(e=r)}return{nativeRequestAnimationFrame:t,nativeCancelAnimationFrame:e}}().nativeRequestAnimationFrame,function(t){const e=()=>{!function(t){t.isCheckStableRunning||-1!==t.lastRequestAnimationFrameId||(t.lastRequestAnimationFrameId=t.nativeRequestAnimationFrame.call(Tt,()=>{t.fakeTopEventTask||(t.fakeTopEventTask=Zone.root.scheduleEventTask("fakeTopEventTask",()=>{t.lastRequestAnimationFrameId=-1,yl(t),t.isCheckStableRunning=!0,ml(t),t.isCheckStableRunning=!1},void 0,()=>{},()=>{})),t.fakeTopEventTask.invoke()}),yl(t))}(t)};t._inner=t._inner.fork({name:"angular",properties:{isAngularZone:!0},onInvokeTask:(n,r,s,o,i,l)=>{try{return gl(t),n.invokeTask(s,o,i,l)}finally{(t.shouldCoalesceEventChangeDetection&&"eventTask"===o.type||t.shouldCoalesceRunChangeDetection)&&e(),_l(t)}},onInvoke:(n,r,s,o,i,l,a)=>{try{return gl(t),n.invoke(s,o,i,l,a)}finally{t.shouldCoalesceRunChangeDetection&&e(),_l(t)}},onHasTask:(e,n,r,s)=>{e.hasTask(r,s),n===r&&("microTask"==s.change?(t._hasPendingMicrotasks=s.microTask,yl(t),ml(t)):"macroTask"==s.change&&(t.hasPendingMacrotasks=s.macroTask))},onHandleError:(e,n,r,s)=>(e.handleError(r,s),t.runOutsideAngular(()=>t.onError.emit(s)),!1)})}(r)}static isInAngularZone(){return!0===Zone.current.get("isAngularZone")}static assertInAngularZone(){if(!fl.isInAngularZone())throw new Error("Expected to be in Angular Zone, but it is not!")}static assertNotInAngularZone(){if(fl.isInAngularZone())throw new Error("Expected to not be in Angular Zone, but it is!")}run(t,e,n){return this._inner.run(t,e,n)}runTask(t,e,n,r){const s=this._inner,o=s.scheduleEventTask("NgZoneEvent: "+r,t,pl,Wo,Wo);try{return s.runTask(o,e,n)}finally{s.cancelTask(o)}}runGuarded(t,e,n){return this._inner.runGuarded(t,e,n)}runOutsideAngular(t){return this._outer.run(t)}}const pl={};function ml(t){if(0==t._nesting&&!t.hasPendingMicrotasks&&!t.isStable)try{t._nesting++,t.onMicrotaskEmpty.emit(null)}finally{if(t._nesting--,!t.hasPendingMicrotasks)try{t.runOutsideAngular(()=>t.onStable.emit(null))}finally{t.isStable=!0}}}function yl(t){t.hasPendingMicrotasks=!!(t._hasPendingMicrotasks||(t.shouldCoalesceEventChangeDetection||t.shouldCoalesceRunChangeDetection)&&-1!==t.lastRequestAnimationFrameId)}function gl(t){t._nesting++,t.isStable&&(t.isStable=!1,t.onUnstable.emit(null))}function _l(t){t._nesting--,ml(t)}class vl{constructor(){this.hasPendingMicrotasks=!1,this.hasPendingMacrotasks=!1,this.isStable=!0,this.onUnstable=new Zi,this.onMicrotaskEmpty=new Zi,this.onStable=new Zi,this.onError=new Zi}run(t,e,n){return t.apply(e,n)}runGuarded(t,e,n){return t.apply(e,n)}runOutsideAngular(t){return t()}runTask(t,e,n,r){return t.apply(e,n)}}let bl=(()=>{class t{constructor(t){this._ngZone=t,this._pendingCount=0,this._isZoneStable=!0,this._didWork=!1,this._callbacks=[],this.taskTrackingZone=null,this._watchAngularEvents(),t.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:()=>{fl.assertNotInAngularZone(),dl(()=>{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())dl(()=>{for(;0!==this._callbacks.length;){let t=this._callbacks.pop();clearTimeout(t.timeoutId),t.doneCb(this._didWork)}this._didWork=!1});else{let t=this.getPendingTasks();this._callbacks=this._callbacks.filter(e=>!e.updateCb||!e.updateCb(t)||(clearTimeout(e.timeoutId),!1)),this._didWork=!0}}getPendingTasks(){return this.taskTrackingZone?this.taskTrackingZone.macroTasks.map(t=>({source:t.source,creationLocation:t.creationLocation,data:t.data})):[]}addCallback(t,e,n){let r=-1;e&&e>0&&(r=setTimeout(()=>{this._callbacks=this._callbacks.filter(t=>t.timeoutId!==r),t(this._didWork,this.getPendingTasks())},e)),this._callbacks.push({doneCb:t,timeoutId:r,updateCb:n})}whenStable(t,e,n){if(n&&!this.taskTrackingZone)throw new Error('Task tracking zone is required when passing an update callback to whenStable(). Is "zone.js/plugins/task-tracking" loaded?');this.addCallback(t,e,n),this._runCallbacksIfReady()}getPendingRequestCount(){return this._pendingCount}findProviders(t,e,n){return[]}}return t.\u0275fac=function(e){return new(e||t)($n(fl))},t.\u0275prov=lt({token:t,factory:t.\u0275fac}),t})(),wl=(()=>{class t{constructor(){this._applications=new Map,xl.addToWindow(this)}registerApplication(t,e){this._applications.set(t,e)}unregisterApplication(t){this._applications.delete(t)}unregisterAllApplications(){this._applications.clear()}getTestability(t){return this._applications.get(t)||null}getAllTestabilities(){return Array.from(this._applications.values())}getAllRootElements(){return Array.from(this._applications.keys())}findTestabilityInTree(t,e=!0){return xl.findTestabilityInTree(this,t,e)}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275prov=lt({token:t,factory:t.\u0275fac}),t})();class Cl{addToWindow(t){}findTestabilityInTree(t,e,n){return null}}let El,xl=new Cl,Al=!0,kl=!1;const Tl=new Sn("AllowMultipleToken");function Vl(t,e,n=[]){const r=`Platform: ${e}`,s=new Sn(r);return(e=[])=>{let o=Sl();if(!o||o.injector.get(Tl,!1))if(t)t(n.concat(e).concat({provide:s,useValue:!0}));else{const t=n.concat(e).concat({provide:s,useValue:!0},{provide:Ps,useValue:"platform"});!function(t){if(El&&!El.destroyed&&!El.injector.get(Tl,!1))throw new Error("There can be only one platform. Destroy the previous one to create a new one.");El=t.get(Ol);const e=t.get(Ji,null);e&&e.forEach(t=>t())}(qs.create({providers:t,name:r}))}return function(t){const e=Sl();if(!e)throw new Error("No platform exists!");if(!e.injector.get(t,null))throw new Error("A platform with a different configuration has been created. Please destroy it first.");return e}(s)}}function Sl(){return El&&!El.destroyed?El:null}let Ol=(()=>{class t{constructor(t){this._injector=t,this._modules=[],this._destroyListeners=[],this._destroyed=!1}bootstrapModuleFactory(t,e){const n=function(t,e){let n;return n="noop"===t?new vl:("zone.js"===t?void 0:t)||new fl({enableLongStackTrace:(kl=!0,Al),shouldCoalesceEventChangeDetection:!!(null==e?void 0:e.ngZoneEventCoalescing),shouldCoalesceRunChangeDetection:!!(null==e?void 0:e.ngZoneRunCoalescing)}),n}(e?e.ngZone:void 0,{ngZoneEventCoalescing:e&&e.ngZoneEventCoalescing||!1,ngZoneRunCoalescing:e&&e.ngZoneRunCoalescing||!1}),r=[{provide:fl,useValue:n}];return n.run(()=>{const e=qs.create({providers:r,parent:this.injector,name:t.moduleType.name}),s=t.create(e),o=s.injector.get(Yn,null);if(!o)throw new Error("No ErrorHandler. Is platform module (BrowserModule) included?");return n.runOutsideAngular(()=>{const t=n.onError.subscribe({next:t=>{o.handleError(t)}});s.onDestroy(()=>{Pl(this._modules,s),t.unsubscribe()})}),function(t,e,n){try{const r=n();return fo(r)?r.catch(n=>{throw e.runOutsideAngular(()=>t.handleError(n)),n}):r}catch(r){throw e.runOutsideAngular(()=>t.handleError(r)),r}}(o,n,()=>{const t=s.injector.get(Gi);return t.runInitializers(),t.donePromise.then(()=>(Fo(s.injector.get(el,No)||No),this._moduleDoBootstrap(s),s))})})}bootstrapModule(t,e=[]){const n=Il({},e);return function(t,e,n){const r=new $i(n);return Promise.resolve(r)}(0,0,t).then(t=>this.bootstrapModuleFactory(t,n))}_moduleDoBootstrap(t){const e=t.injector.get(Dl);if(t._bootstrapComponents.length>0)t._bootstrapComponents.forEach(t=>e.bootstrap(t));else{if(!t.instance.ngDoBootstrap)throw new Error(`The module ${J(t.instance.constructor)} was bootstrapped, but it does not declare "@NgModule.bootstrap" components nor a "ngDoBootstrap" method. Please define one of these.`);t.instance.ngDoBootstrap(e)}this._modules.push(t)}onDestroy(t){this._destroyListeners.push(t)}get injector(){return this._injector}destroy(){if(this._destroyed)throw new Error("The platform has already been destroyed!");this._modules.slice().forEach(t=>t.destroy()),this._destroyListeners.forEach(t=>t()),this._destroyed=!0}get destroyed(){return this._destroyed}}return t.\u0275fac=function(e){return new(e||t)($n(qs))},t.\u0275prov=lt({token:t,factory:t.\u0275fac}),t})();function Il(t,e){return Array.isArray(e)?e.reduce(Il,t):Object.assign(Object.assign({},t),e)}let Dl=(()=>{class t{constructor(t,e,n,r,s){this._zone=t,this._injector=e,this._exceptionHandler=n,this._componentFactoryResolver=r,this._initStatus=s,this._bootstrapListeners=[],this._views=[],this._runningTick=!1,this._stable=!0,this.componentTypes=[],this.components=[],this._onMicrotaskEmptySubscription=this._zone.onMicrotaskEmpty.subscribe({next:()=>{this._zone.run(()=>{this.tick()})}});const o=new _(t=>{this._stable=this._zone.isStable&&!this._zone.hasPendingMacrotasks&&!this._zone.hasPendingMicrotasks,this._zone.runOutsideAngular(()=>{t.next(this._stable),t.complete()})}),i=new _(t=>{let e;this._zone.runOutsideAngular(()=>{e=this._zone.onStable.subscribe(()=>{fl.assertNotInAngularZone(),dl(()=>{this._stable||this._zone.hasPendingMacrotasks||this._zone.hasPendingMicrotasks||(this._stable=!0,t.next(!0))})})});const n=this._zone.onUnstable.subscribe(()=>{fl.assertInAngularZone(),this._stable&&(this._stable=!1,this._zone.runOutsideAngular(()=>{t.next(!1)}))});return()=>{e.unsubscribe(),n.unsubscribe()}});this.isStable=function(...t){let e=Number.POSITIVE_INFINITY,n=null,r=t[t.length-1];return A(r)?(n=t.pop(),t.length>1&&"number"==typeof t[t.length-1]&&(e=t.pop())):"number"==typeof r&&(e=t.pop()),null===n&&1===t.length&&t[0]instanceof _?t[0]:function(t=Number.POSITIVE_INFINITY){return M(g,t)}(e)(B(t,n))}(o,i.pipe(t=>{return U()((e=W,function(t){let n;n="function"==typeof e?e:function(){return e};const r=Object.create(t,q);return r.source=t,r.subjectFactory=n,r})(t));var e}))}bootstrap(t,e){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=t instanceof Zo?t:this._componentFactoryResolver.resolveComponentFactory(t),this.componentTypes.push(n.componentType);const r=n.isBoundToModule?void 0:this._injector.get(Vi),s=n.create(qs.NULL,[],e||n.selector,r),o=s.location.nativeElement,i=s.injector.get(bl,null),l=i&&s.injector.get(wl);return i&&l&&l.registerApplication(o,i),s.onDestroy(()=>{this.detachView(s.hostView),Pl(this.components,s),l&&l.unregisterApplication(o)}),this._loadComponent(s),s}tick(){if(this._runningTick)throw new Error("ApplicationRef.tick is called recursively");try{this._runningTick=!0;for(let t of this._views)t.detectChanges()}catch(t){this._zone.runOutsideAngular(()=>this._exceptionHandler.handleError(t))}finally{this._runningTick=!1}}attachView(t){const e=t;this._views.push(e),e.attachToAppRef(this)}detachView(t){const e=t;Pl(this._views,e),e.detachFromAppRef()}_loadComponent(t){this.attachView(t.hostView),this.tick(),this.components.push(t),this._injector.get(Yi,[]).concat(this._bootstrapListeners).forEach(e=>e(t))}ngOnDestroy(){this._views.slice().forEach(t=>t.destroy()),this._onMicrotaskEmptySubscription.unsubscribe()}get viewCount(){return this._views.length}}return t.\u0275fac=function(e){return new(e||t)($n(fl),$n(qs),$n(Yn),$n(Go),$n(Gi))},t.\u0275prov=lt({token:t,factory:t.\u0275fac}),t})();function Pl(t,e){const n=t.indexOf(e);n>-1&&t.splice(n,1)}const Nl=Vl(null,"core",[{provide:Xi,useValue:"unknown"},{provide:Ol,deps:[qs]},{provide:wl,deps:[]},{provide:tl,deps:[]}]),jl=[{provide:Dl,useClass:Dl,deps:[fl,qs,Yn,Go,Gi]},{provide:Mi,deps:[fl],useFactory:function(t){let e=[];return t.onStable.subscribe(()=>{for(;e.length;)e.pop()()}),function(t){e.push(t)}}},{provide:Gi,useClass:Gi,deps:[[new Gn,qi]]},{provide:cl,useClass:cl,deps:[]},Qi,{provide:mi,useFactory:function(){return Ci},deps:[]},{provide:gi,useFactory:function(){return Ei},deps:[]},{provide:el,useFactory:function(t){return Fo(t=t||"undefined"!=typeof $localize&&$localize.locale||No),t},deps:[[new qn(el),new Gn,new Wn]]},{provide:nl,useValue:"USD"}];let Fl=(()=>{class t{constructor(t){}}return t.\u0275fac=function(e){return new(e||t)($n(Dl))},t.\u0275mod=Ut({type:t}),t.\u0275inj=at({providers:jl}),t})(),Rl=null;function Ml(){return Rl}const Hl=new Sn("DocumentToken");var Ll=(()=>((Ll=Ll||{})[Ll.Zero=0]="Zero",Ll[Ll.One=1]="One",Ll[Ll.Two=2]="Two",Ll[Ll.Few=3]="Few",Ll[Ll.Many=4]="Many",Ll[Ll.Other=5]="Other",Ll))();class Bl{}let Ul=(()=>{class t extends Bl{constructor(t){super(),this.locale=t}getPluralCategory(t,e){switch(function(t){return function(t){const e=function(t){return t.toLowerCase().replace(/_/g,"-")}(t);let n=Do(e);if(n)return n;const r=e.split("-")[0];if(n=Do(r),n)return n;if("en"===r)return Oo;throw new Error(`Missing locale data for the locale "${t}".`)}(t)[Po.PluralCase]}(e||this.locale)(t)){case Ll.Zero:return"zero";case Ll.One:return"one";case Ll.Two:return"two";case Ll.Few:return"few";case Ll.Many:return"many";default:return"other"}}}return t.\u0275fac=function(e){return new(e||t)($n(el))},t.\u0275prov=lt({token:t,factory:t.\u0275fac}),t})();function $l(t,e){e=encodeURIComponent(e);for(const n of t.split(";")){const t=n.indexOf("="),[r,s]=-1==t?[n,""]:[n.slice(0,t),n.slice(t+1)];if(r.trim()===e)return decodeURIComponent(s)}return null}class zl{constructor(t,e,n,r){this.$implicit=t,this.ngForOf=e,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 Zl=(()=>{class t{constructor(t,e,n){this._viewContainer=t,this._template=e,this._differs=n,this._ngForOf=null,this._ngForOfDirty=!0,this._differ=null}set ngForOf(t){this._ngForOf=t,this._ngForOfDirty=!0}set ngForTrackBy(t){this._trackByFn=t}get ngForTrackBy(){return this._trackByFn}set ngForTemplate(t){t&&(this._template=t)}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(e){throw new Error(`Cannot find a differ supporting object '${n}' of type '${t=n,t.name||typeof t}'. NgFor only supports binding to Iterables such as Arrays.`)}}var t;if(this._differ){const t=this._differ.diff(this._ngForOf);t&&this._applyChanges(t)}}_applyChanges(t){const e=[];t.forEachOperation((t,n,r)=>{if(null==t.previousIndex){const n=this._viewContainer.createEmbeddedView(this._template,new zl(null,this._ngForOf,-1,-1),null===r?void 0:r),s=new ql(t,n);e.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 ql(t,s);e.push(o)}});for(let n=0;n<e.length;n++)this._perViewChange(e[n].view,e[n].record);for(let n=0,r=this._viewContainer.length;n<r;n++){const t=this._viewContainer.get(n);t.context.index=n,t.context.count=r,t.context.ngForOf=this._ngForOf}t.forEachIdentityChange(t=>{this._viewContainer.get(t.currentIndex).context.$implicit=t.item})}_perViewChange(t,e){t.context.$implicit=e.item}static ngTemplateContextGuard(t,e){return!0}}return t.\u0275fac=function(e){return new(e||t)(oo(Oi),oo(Ai),oo(mi))},t.\u0275dir=zt({type:t,selectors:[["","ngFor","","ngForOf",""]],inputs:{ngForOf:"ngForOf",ngForTrackBy:"ngForTrackBy",ngForTemplate:"ngForTemplate"}}),t})();class ql{constructor(t,e){this.record=t,this.view=e}}let Gl=(()=>{class t{constructor(t,e){this._viewContainer=t,this._context=new Wl,this._thenTemplateRef=null,this._elseTemplateRef=null,this._thenViewRef=null,this._elseViewRef=null,this._thenTemplateRef=e}set ngIf(t){this._context.$implicit=this._context.ngIf=t,this._updateView()}set ngIfThen(t){Ql("ngIfThen",t),this._thenTemplateRef=t,this._thenViewRef=null,this._updateView()}set ngIfElse(t){Ql("ngIfElse",t),this._elseTemplateRef=t,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(t,e){return!0}}return t.\u0275fac=function(e){return new(e||t)(oo(Oi),oo(Ai))},t.\u0275dir=zt({type:t,selectors:[["","ngIf",""]],inputs:{ngIf:"ngIf",ngIfThen:"ngIfThen",ngIfElse:"ngIfElse"}}),t})();class Wl{constructor(){this.$implicit=null,this.ngIf=null}}function Ql(t,e){if(e&&!e.createEmbeddedView)throw new Error(`${t} must be a TemplateRef, but received '${J(e)}'.`)}let Kl=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=Ut({type:t}),t.\u0275inj=at({providers:[{provide:Bl,useClass:Ul}]}),t})();class Jl{}class Xl extends class extends class{}{constructor(){super(...arguments),this.supportsDOMEvents=!0}}{static makeCurrent(){var t;t=new Xl,Rl||(Rl=t)}onAndCancel(t,e,n){return t.addEventListener(e,n,!1),()=>{t.removeEventListener(e,n,!1)}}dispatchEvent(t,e){t.dispatchEvent(e)}remove(t){t.parentNode&&t.parentNode.removeChild(t)}createElement(t,e){return(e=e||this.getDefaultDocument()).createElement(t)}createHtmlDocument(){return document.implementation.createHTMLDocument("fakeTitle")}getDefaultDocument(){return document}isElementNode(t){return t.nodeType===Node.ELEMENT_NODE}isShadowRoot(t){return t instanceof DocumentFragment}getGlobalEventTarget(t,e){return"window"===e?window:"document"===e?t:"body"===e?t.body:null}getBaseHref(t){const e=(ta=ta||document.querySelector("base"),ta?ta.getAttribute("href"):null);return null==e?null:function(t){Yl=Yl||document.createElement("a"),Yl.setAttribute("href",t);const e=Yl.pathname;return"/"===e.charAt(0)?e:`/${e}`}(e)}resetBaseElement(){ta=null}getUserAgent(){return window.navigator.userAgent}getCookie(t){return $l(document.cookie,t)}}let Yl,ta=null;const ea=new Sn("TRANSITION_ID"),na=[{provide:qi,useFactory:function(t,e,n){return()=>{n.get(Gi).donePromise.then(()=>{const n=Ml();Array.prototype.slice.apply(e.querySelectorAll("style[ng-transition]")).filter(e=>e.getAttribute("ng-transition")===t).forEach(t=>n.remove(t))})}},deps:[ea,Hl,qs],multi:!0}];class ra{static init(){var t;t=new ra,xl=t}addToWindow(t){Tt.getAngularTestability=(e,n=!0)=>{const r=t.findTestabilityInTree(e,n);if(null==r)throw new Error("Could not find testability for element.");return r},Tt.getAllAngularTestabilities=()=>t.getAllTestabilities(),Tt.getAllAngularRootElements=()=>t.getAllRootElements(),Tt.frameworkStabilizers||(Tt.frameworkStabilizers=[]),Tt.frameworkStabilizers.push(t=>{const e=Tt.getAllAngularTestabilities();let n=e.length,r=!1;const s=function(e){r=r||e,n--,0==n&&t(r)};e.forEach(function(t){t.whenStable(s)})})}findTestabilityInTree(t,e,n){if(null==e)return null;const r=t.getTestability(e);return null!=r?r:n?Ml().isShadowRoot(e)?this.findTestabilityInTree(t,e.host,!0):this.findTestabilityInTree(t,e.parentElement,!0):null}}let sa=(()=>{class t{build(){return new XMLHttpRequest}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275prov=lt({token:t,factory:t.\u0275fac}),t})();const oa=new Sn("EventManagerPlugins");let ia=(()=>{class t{constructor(t,e){this._zone=e,this._eventNameToPlugin=new Map,t.forEach(t=>t.manager=this),this._plugins=t.slice().reverse()}addEventListener(t,e,n){return this._findPluginFor(e).addEventListener(t,e,n)}addGlobalEventListener(t,e,n){return this._findPluginFor(e).addGlobalEventListener(t,e,n)}getZone(){return this._zone}_findPluginFor(t){const e=this._eventNameToPlugin.get(t);if(e)return e;const n=this._plugins;for(let r=0;r<n.length;r++){const e=n[r];if(e.supports(t))return this._eventNameToPlugin.set(t,e),e}throw new Error(`No event manager plugin found for event ${t}`)}}return t.\u0275fac=function(e){return new(e||t)($n(oa),$n(fl))},t.\u0275prov=lt({token:t,factory:t.\u0275fac}),t})();class la{constructor(t){this._doc=t}addGlobalEventListener(t,e,n){const r=Ml().getGlobalEventTarget(this._doc,t);if(!r)throw new Error(`Unsupported event target ${r} for event ${e}`);return this.addEventListener(r,e,n)}}let aa=(()=>{class t{constructor(){this._stylesSet=new Set}addStyles(t){const e=new Set;t.forEach(t=>{this._stylesSet.has(t)||(this._stylesSet.add(t),e.add(t))}),this.onStylesAdded(e)}onStylesAdded(t){}getAllStyles(){return Array.from(this._stylesSet)}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275prov=lt({token:t,factory:t.\u0275fac}),t})(),ua=(()=>{class t extends aa{constructor(t){super(),this._doc=t,this._hostNodes=new Map,this._hostNodes.set(t.head,[])}_addStylesToHost(t,e,n){t.forEach(t=>{const r=this._doc.createElement("style");r.textContent=t,n.push(e.appendChild(r))})}addHost(t){const e=[];this._addStylesToHost(this._stylesSet,t,e),this._hostNodes.set(t,e)}removeHost(t){const e=this._hostNodes.get(t);e&&e.forEach(ca),this._hostNodes.delete(t)}onStylesAdded(t){this._hostNodes.forEach((e,n)=>{this._addStylesToHost(t,n,e)})}ngOnDestroy(){this._hostNodes.forEach(t=>t.forEach(ca))}}return t.\u0275fac=function(e){return new(e||t)($n(Hl))},t.\u0275prov=lt({token:t,factory:t.\u0275fac}),t})();function ca(t){Ml().remove(t)}const ha={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/"},da=/%COMP%/g;function fa(t,e,n){for(let r=0;r<e.length;r++){let s=e[r];Array.isArray(s)?fa(t,s,n):(s=s.replace(da,t),n.push(s))}return n}function pa(t){return e=>{if("__ngUnwrap__"===e)return t;!1===t(e)&&(e.preventDefault(),e.returnValue=!1)}}let ma=(()=>{class t{constructor(t,e,n){this.eventManager=t,this.sharedStylesHost=e,this.appId=n,this.rendererByCompId=new Map,this.defaultRenderer=new ya(t)}createRenderer(t,e){if(!t||!e)return this.defaultRenderer;switch(e.encapsulation){case Ct.Emulated:{let n=this.rendererByCompId.get(e.id);return n||(n=new ga(this.eventManager,this.sharedStylesHost,e,this.appId),this.rendererByCompId.set(e.id,n)),n.applyToHost(t),n}case 1:case Ct.ShadowDom:return new _a(this.eventManager,this.sharedStylesHost,t,e);default:if(!this.rendererByCompId.has(e.id)){const t=fa(e.id,e.styles,[]);this.sharedStylesHost.addStyles(t),this.rendererByCompId.set(e.id,this.defaultRenderer)}return this.defaultRenderer}}begin(){}end(){}}return t.\u0275fac=function(e){return new(e||t)($n(ia),$n(ua),$n(Wi))},t.\u0275prov=lt({token:t,factory:t.\u0275fac}),t})();class ya{constructor(t){this.eventManager=t,this.data=Object.create(null)}destroy(){}createElement(t,e){return e?document.createElementNS(ha[e]||e,t):document.createElement(t)}createComment(t){return document.createComment(t)}createText(t){return document.createTextNode(t)}appendChild(t,e){t.appendChild(e)}insertBefore(t,e,n){t&&t.insertBefore(e,n)}removeChild(t,e){t&&t.removeChild(e)}selectRootElement(t,e){let n="string"==typeof t?document.querySelector(t):t;if(!n)throw new Error(`The selector "${t}" did not match any elements`);return e||(n.textContent=""),n}parentNode(t){return t.parentNode}nextSibling(t){return t.nextSibling}setAttribute(t,e,n,r){if(r){e=r+":"+e;const s=ha[r];s?t.setAttributeNS(s,e,n):t.setAttribute(e,n)}else t.setAttribute(e,n)}removeAttribute(t,e,n){if(n){const r=ha[n];r?t.removeAttributeNS(r,e):t.removeAttribute(`${n}:${e}`)}else t.removeAttribute(e)}addClass(t,e){t.classList.add(e)}removeClass(t,e){t.classList.remove(e)}setStyle(t,e,n,r){r&(nr.DashCase|nr.Important)?t.style.setProperty(e,n,r&nr.Important?"important":""):t.style[e]=n}removeStyle(t,e,n){n&nr.DashCase?t.style.removeProperty(e):t.style[e]=""}setProperty(t,e,n){t[e]=n}setValue(t,e){t.nodeValue=e}listen(t,e,n){return"string"==typeof t?this.eventManager.addGlobalEventListener(t,e,pa(n)):this.eventManager.addEventListener(t,e,pa(n))}}class ga extends ya{constructor(t,e,n,r){super(t),this.component=n;const s=fa(r+"-"+n.id,n.styles,[]);e.addStyles(s),this.contentAttr="_ngcontent-%COMP%".replace(da,r+"-"+n.id),this.hostAttr="_nghost-%COMP%".replace(da,r+"-"+n.id)}applyToHost(t){super.setAttribute(t,this.hostAttr,"")}createElement(t,e){const n=super.createElement(t,e);return super.setAttribute(n,this.contentAttr,""),n}}class _a extends ya{constructor(t,e,n,r){super(t),this.sharedStylesHost=e,this.hostEl=n,this.shadowRoot=n.attachShadow({mode:"open"}),this.sharedStylesHost.addHost(this.shadowRoot);const s=fa(r.id,r.styles,[]);for(let o=0;o<s.length;o++){const t=document.createElement("style");t.textContent=s[o],this.shadowRoot.appendChild(t)}}nodeOrShadowRoot(t){return t===this.hostEl?this.shadowRoot:t}destroy(){this.sharedStylesHost.removeHost(this.shadowRoot)}appendChild(t,e){return super.appendChild(this.nodeOrShadowRoot(t),e)}insertBefore(t,e,n){return super.insertBefore(this.nodeOrShadowRoot(t),e,n)}removeChild(t,e){return super.removeChild(this.nodeOrShadowRoot(t),e)}parentNode(t){return this.nodeOrShadowRoot(super.parentNode(this.nodeOrShadowRoot(t)))}}let va=(()=>{class t extends la{constructor(t){super(t)}supports(t){return!0}addEventListener(t,e,n){return t.addEventListener(e,n,!1),()=>this.removeEventListener(t,e,n)}removeEventListener(t,e,n){return t.removeEventListener(e,n)}}return t.\u0275fac=function(e){return new(e||t)($n(Hl))},t.\u0275prov=lt({token:t,factory:t.\u0275fac}),t})();const ba=["alt","control","meta","shift"],wa={"\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"},Ca={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"},Ea={alt:t=>t.altKey,control:t=>t.ctrlKey,meta:t=>t.metaKey,shift:t=>t.shiftKey};let xa=(()=>{class t extends la{constructor(t){super(t)}supports(e){return null!=t.parseEventName(e)}addEventListener(e,n,r){const s=t.parseEventName(n),o=t.eventCallback(s.fullKey,r,this.manager.getZone());return this.manager.getZone().runOutsideAngular(()=>Ml().onAndCancel(e,s.domEventName,o))}static parseEventName(e){const n=e.toLowerCase().split("."),r=n.shift();if(0===n.length||"keydown"!==r&&"keyup"!==r)return null;const s=t._normalizeKey(n.pop());let o="";if(ba.forEach(t=>{const e=n.indexOf(t);e>-1&&(n.splice(e,1),o+=t+".")}),o+=s,0!=n.length||0===s.length)return null;const i={};return i.domEventName=r,i.fullKey=o,i}static getEventFullKey(t){let e="",n=function(t){let e=t.key;if(null==e){if(e=t.keyIdentifier,null==e)return"Unidentified";e.startsWith("U+")&&(e=String.fromCharCode(parseInt(e.substring(2),16)),3===t.location&&Ca.hasOwnProperty(e)&&(e=Ca[e]))}return wa[e]||e}(t);return n=n.toLowerCase()," "===n?n="space":"."===n&&(n="dot"),ba.forEach(r=>{r!=n&&(0,Ea[r])(t)&&(e+=r+".")}),e+=n,e}static eventCallback(e,n,r){return s=>{t.getEventFullKey(s)===e&&r.runGuarded(()=>n(s))}}static _normalizeKey(t){switch(t){case"esc":return"escape";default:return t}}}return t.\u0275fac=function(e){return new(e||t)($n(Hl))},t.\u0275prov=lt({token:t,factory:t.\u0275fac}),t})();const Aa=Vl(Nl,"browser",[{provide:Xi,useValue:"browser"},{provide:Ji,useValue:function(){Xl.makeCurrent(),ra.init()},multi:!0},{provide:Hl,useFactory:function(){return function(t){ae=t}(document),document},deps:[]}]),ka=[[],{provide:Ps,useValue:"root"},{provide:Yn,useFactory:function(){return new Yn},deps:[]},{provide:oa,useClass:va,multi:!0,deps:[Hl,fl,Xi]},{provide:oa,useClass:xa,multi:!0,deps:[Hl]},[],{provide:ma,useClass:ma,deps:[ia,ua,Wi]},{provide:Xo,useExisting:ma},{provide:aa,useExisting:ua},{provide:ua,useClass:ua,deps:[Hl]},{provide:bl,useClass:bl,deps:[fl]},{provide:ia,useClass:ia,deps:[oa,fl]},{provide:Jl,useClass:sa,deps:[]},[]];let Ta=(()=>{class t{constructor(t){if(t)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(e){return{ngModule:t,providers:[{provide:Wi,useValue:e.appId},{provide:ea,useExisting:Wi},na]}}}return t.\u0275fac=function(e){return new(e||t)($n(t,12))},t.\u0275mod=Ut({type:t}),t.\u0275inj=at({providers:ka,imports:[Kl,Fl]}),t})();"undefined"!=typeof window&&window;class Va{constructor(t,e){this.predicate=t,this.thisArg=e}call(t,e){return e.subscribe(new Sa(t,this.predicate,this.thisArg))}}class Sa extends p{constructor(t,e,n){super(t),this.predicate=e,this.thisArg=n,this.count=0}_next(t){let e;try{e=this.predicate.call(this.thisArg,t,this.count++)}catch(n){return void this.destination.error(n)}e&&this.destination.next(t)}}class Oa{}class Ia{}class Da{constructor(t){this.normalizedNames=new Map,this.lazyUpdate=null,t?this.lazyInit="string"==typeof t?()=>{this.headers=new Map,t.split("\n").forEach(t=>{const e=t.indexOf(":");if(e>0){const n=t.slice(0,e),r=n.toLowerCase(),s=t.slice(e+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(t).forEach(e=>{let n=t[e];const r=e.toLowerCase();"string"==typeof n&&(n=[n]),n.length>0&&(this.headers.set(r,n),this.maybeSetNormalizedName(e,r))})}:this.headers=new Map}has(t){return this.init(),this.headers.has(t.toLowerCase())}get(t){this.init();const e=this.headers.get(t.toLowerCase());return e&&e.length>0?e[0]:null}keys(){return this.init(),Array.from(this.normalizedNames.values())}getAll(t){return this.init(),this.headers.get(t.toLowerCase())||null}append(t,e){return this.clone({name:t,value:e,op:"a"})}set(t,e){return this.clone({name:t,value:e,op:"s"})}delete(t,e){return this.clone({name:t,value:e,op:"d"})}maybeSetNormalizedName(t,e){this.normalizedNames.has(e)||this.normalizedNames.set(e,t)}init(){this.lazyInit&&(this.lazyInit instanceof Da?this.copyFrom(this.lazyInit):this.lazyInit(),this.lazyInit=null,this.lazyUpdate&&(this.lazyUpdate.forEach(t=>this.applyUpdate(t)),this.lazyUpdate=null))}copyFrom(t){t.init(),Array.from(t.headers.keys()).forEach(e=>{this.headers.set(e,t.headers.get(e)),this.normalizedNames.set(e,t.normalizedNames.get(e))})}clone(t){const e=new Da;return e.lazyInit=this.lazyInit&&this.lazyInit instanceof Da?this.lazyInit:this,e.lazyUpdate=(this.lazyUpdate||[]).concat([t]),e}applyUpdate(t){const e=t.name.toLowerCase();switch(t.op){case"a":case"s":let n=t.value;if("string"==typeof n&&(n=[n]),0===n.length)return;this.maybeSetNormalizedName(t.name,e);const r=("a"===t.op?this.headers.get(e):void 0)||[];r.push(...n),this.headers.set(e,r);break;case"d":const s=t.value;if(s){let t=this.headers.get(e);if(!t)return;t=t.filter(t=>-1===s.indexOf(t)),0===t.length?(this.headers.delete(e),this.normalizedNames.delete(e)):this.headers.set(e,t)}else this.headers.delete(e),this.normalizedNames.delete(e)}}forEach(t){this.init(),Array.from(this.normalizedNames.keys()).forEach(e=>t(this.normalizedNames.get(e),this.headers.get(e)))}}class Pa{encodeKey(t){return Na(t)}encodeValue(t){return Na(t)}decodeKey(t){return decodeURIComponent(t)}decodeValue(t){return decodeURIComponent(t)}}function Na(t){return encodeURIComponent(t).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,"/")}function ja(t){return`${t}`}class Fa{constructor(t={}){if(this.updates=null,this.cloneFrom=null,this.encoder=t.encoder||new Pa,t.fromString){if(t.fromObject)throw new Error("Cannot specify both fromString and fromObject.");this.map=function(t,e){const n=new Map;return t.length>0&&t.replace(/^\?/,"").split("&").forEach(t=>{const r=t.indexOf("="),[s,o]=-1==r?[e.decodeKey(t),""]:[e.decodeKey(t.slice(0,r)),e.decodeValue(t.slice(r+1))],i=n.get(s)||[];i.push(o),n.set(s,i)}),n}(t.fromString,this.encoder)}else t.fromObject?(this.map=new Map,Object.keys(t.fromObject).forEach(e=>{const n=t.fromObject[e];this.map.set(e,Array.isArray(n)?n:[n])})):this.map=null}has(t){return this.init(),this.map.has(t)}get(t){this.init();const e=this.map.get(t);return e?e[0]:null}getAll(t){return this.init(),this.map.get(t)||null}keys(){return this.init(),Array.from(this.map.keys())}append(t,e){return this.clone({param:t,value:e,op:"a"})}appendAll(t){const e=[];return Object.keys(t).forEach(n=>{const r=t[n];Array.isArray(r)?r.forEach(t=>{e.push({param:n,value:t,op:"a"})}):e.push({param:n,value:r,op:"a"})}),this.clone(e)}set(t,e){return this.clone({param:t,value:e,op:"s"})}delete(t,e){return this.clone({param:t,value:e,op:"d"})}toString(){return this.init(),this.keys().map(t=>{const e=this.encoder.encodeKey(t);return this.map.get(t).map(t=>e+"="+this.encoder.encodeValue(t)).join("&")}).filter(t=>""!==t).join("&")}clone(t){const e=new Fa({encoder:this.encoder});return e.cloneFrom=this.cloneFrom||this,e.updates=(this.updates||[]).concat(t),e}init(){null===this.map&&(this.map=new Map),null!==this.cloneFrom&&(this.cloneFrom.init(),this.cloneFrom.keys().forEach(t=>this.map.set(t,this.cloneFrom.map.get(t))),this.updates.forEach(t=>{switch(t.op){case"a":case"s":const e=("a"===t.op?this.map.get(t.param):void 0)||[];e.push(ja(t.value)),this.map.set(t.param,e);break;case"d":if(void 0===t.value){this.map.delete(t.param);break}{let e=this.map.get(t.param)||[];const n=e.indexOf(ja(t.value));-1!==n&&e.splice(n,1),e.length>0?this.map.set(t.param,e):this.map.delete(t.param)}}}),this.cloneFrom=this.updates=null)}}class Ra{constructor(){this.map=new Map}set(t,e){return this.map.set(t,e),this}get(t){return this.map.has(t)||this.map.set(t,t.defaultValue()),this.map.get(t)}delete(t){return this.map.delete(t),this}keys(){return this.map.keys()}}function Ma(t){return"undefined"!=typeof ArrayBuffer&&t instanceof ArrayBuffer}function Ha(t){return"undefined"!=typeof Blob&&t instanceof Blob}function La(t){return"undefined"!=typeof FormData&&t instanceof FormData}class Ba{constructor(t,e,n,r){let s;if(this.url=e,this.body=null,this.reportProgress=!1,this.withCredentials=!1,this.responseType="json",this.method=t.toUpperCase(),function(t){switch(t){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.context&&(this.context=s.context),s.params&&(this.params=s.params)),this.headers||(this.headers=new Da),this.context||(this.context=new Ra),this.params){const t=this.params.toString();if(0===t.length)this.urlWithParams=e;else{const n=e.indexOf("?");this.urlWithParams=e+(-1===n?"?":n<e.length-1?"&":"")+t}}else this.params=new Fa,this.urlWithParams=e}serializeBody(){return null===this.body?null:Ma(this.body)||Ha(this.body)||La(this.body)||"undefined"!=typeof URLSearchParams&&this.body instanceof URLSearchParams||"string"==typeof this.body?this.body:this.body instanceof Fa?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||La(this.body)?null:Ha(this.body)?this.body.type||null:Ma(this.body)?null:"string"==typeof this.body?"text/plain":this.body instanceof Fa?"application/x-www-form-urlencoded;charset=UTF-8":"object"==typeof this.body||"number"==typeof this.body||"boolean"==typeof this.body?"application/json":null}clone(t={}){var e;const n=t.method||this.method,r=t.url||this.url,s=t.responseType||this.responseType,o=void 0!==t.body?t.body:this.body,i=void 0!==t.withCredentials?t.withCredentials:this.withCredentials,l=void 0!==t.reportProgress?t.reportProgress:this.reportProgress;let a=t.headers||this.headers,u=t.params||this.params;const c=null!==(e=t.context)&&void 0!==e?e:this.context;return void 0!==t.setHeaders&&(a=Object.keys(t.setHeaders).reduce((e,n)=>e.set(n,t.setHeaders[n]),a)),t.setParams&&(u=Object.keys(t.setParams).reduce((e,n)=>e.set(n,t.setParams[n]),u)),new Ba(n,r,o,{params:u,headers:a,context:c,reportProgress:l,responseType:s,withCredentials:i})}}var Ua=(()=>((Ua=Ua||{})[Ua.Sent=0]="Sent",Ua[Ua.UploadProgress=1]="UploadProgress",Ua[Ua.ResponseHeader=2]="ResponseHeader",Ua[Ua.DownloadProgress=3]="DownloadProgress",Ua[Ua.Response=4]="Response",Ua[Ua.User=5]="User",Ua))();class $a{constructor(t,e=200,n="OK"){this.headers=t.headers||new Da,this.status=void 0!==t.status?t.status:e,this.statusText=t.statusText||n,this.url=t.url||null,this.ok=this.status>=200&&this.status<300}}class za extends $a{constructor(t={}){super(t),this.type=Ua.ResponseHeader}clone(t={}){return new za({headers:t.headers||this.headers,status:void 0!==t.status?t.status:this.status,statusText:t.statusText||this.statusText,url:t.url||this.url||void 0})}}class Za extends $a{constructor(t={}){super(t),this.type=Ua.Response,this.body=void 0!==t.body?t.body:null}clone(t={}){return new Za({body:void 0!==t.body?t.body:this.body,headers:t.headers||this.headers,status:void 0!==t.status?t.status:this.status,statusText:t.statusText||this.statusText,url:t.url||this.url||void 0})}}class qa extends $a{constructor(t){super(t,0,"Unknown Error"),this.name="HttpErrorResponse",this.ok=!1,this.message=this.status>=200&&this.status<300?`Http failure during parsing for ${t.url||"(unknown url)"}`:`Http failure response for ${t.url||"(unknown url)"}: ${t.status} ${t.statusText}`,this.error=t.error||null}}function Ga(t,e){return{body:e,headers:t.headers,context:t.context,observe:t.observe,params:t.params,reportProgress:t.reportProgress,responseType:t.responseType,withCredentials:t.withCredentials}}let Wa=(()=>{class t{constructor(t){this.handler=t}request(t,e,n={}){let r;if(t instanceof Ba)r=t;else{let s,o;s=n.headers instanceof Da?n.headers:new Da(n.headers),n.params&&(o=n.params instanceof Fa?n.params:new Fa({fromObject:n.params})),r=new Ba(t,e,void 0!==n.body?n.body:null,{headers:s,context:n.context,params:o,reportProgress:n.reportProgress,responseType:n.responseType||"json",withCredentials:n.withCredentials})}const s=function(...t){let e=t[t.length-1];return A(e)?(t.pop(),N(t,e)):B(t)}(r).pipe(M(t=>this.handler.handle(t),void 0,1));if(t instanceof Ba||"events"===n.observe)return s;const o=s.pipe((i=t=>t instanceof Za,function(t){return t.lift(new Va(i,void 0))}));var i;switch(n.observe||"body"){case"body":switch(r.responseType){case"arraybuffer":return o.pipe(k(t=>{if(null!==t.body&&!(t.body instanceof ArrayBuffer))throw new Error("Response is not an ArrayBuffer.");return t.body}));case"blob":return o.pipe(k(t=>{if(null!==t.body&&!(t.body instanceof Blob))throw new Error("Response is not a Blob.");return t.body}));case"text":return o.pipe(k(t=>{if(null!==t.body&&"string"!=typeof t.body)throw new Error("Response is not a string.");return t.body}));case"json":default:return o.pipe(k(t=>t.body))}case"response":return o;default:throw new Error(`Unreachable: unhandled observe type ${n.observe}}`)}}delete(t,e={}){return this.request("DELETE",t,e)}get(t,e={}){return this.request("GET",t,e)}head(t,e={}){return this.request("HEAD",t,e)}jsonp(t,e){return this.request("JSONP",t,{params:(new Fa).append(e,"JSONP_CALLBACK"),observe:"body",responseType:"json"})}options(t,e={}){return this.request("OPTIONS",t,e)}patch(t,e,n={}){return this.request("PATCH",t,Ga(n,e))}post(t,e,n={}){return this.request("POST",t,Ga(n,e))}put(t,e,n={}){return this.request("PUT",t,Ga(n,e))}}return t.\u0275fac=function(e){return new(e||t)($n(Oa))},t.\u0275prov=lt({token:t,factory:t.\u0275fac}),t})();class Qa{constructor(t,e){this.next=t,this.interceptor=e}handle(t){return this.interceptor.intercept(t,this.next)}}const Ka=new Sn("HTTP_INTERCEPTORS");let Ja=(()=>{class t{intercept(t,e){return e.handle(t)}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275prov=lt({token:t,factory:t.\u0275fac}),t})();const Xa=/^\)\]\}',?\n/;let Ya=(()=>{class t{constructor(t){this.xhrFactory=t}handle(t){if("JSONP"===t.method)throw new Error("Attempted to construct Jsonp request without HttpClientJsonpModule installed.");return new _(e=>{const n=this.xhrFactory.build();if(n.open(t.method,t.urlWithParams),t.withCredentials&&(n.withCredentials=!0),t.headers.forEach((t,e)=>n.setRequestHeader(t,e.join(","))),t.headers.has("Accept")||n.setRequestHeader("Accept","application/json, text/plain, */*"),!t.headers.has("Content-Type")){const e=t.detectContentTypeHeader();null!==e&&n.setRequestHeader("Content-Type",e)}if(t.responseType){const e=t.responseType.toLowerCase();n.responseType="json"!==e?e:"text"}const r=t.serializeBody();let s=null;const o=()=>{if(null!==s)return s;const e=1223===n.status?204:n.status,r=n.statusText||"OK",o=new Da(n.getAllResponseHeaders()),i=function(t){return"responseURL"in t&&t.responseURL?t.responseURL:/^X-Request-URL:/m.test(t.getAllResponseHeaders())?t.getResponseHeader("X-Request-URL"):null}(n)||t.url;return s=new za({headers:o,status:e,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"===t.responseType&&"string"==typeof a){const t=a;a=a.replace(Xa,"");try{a=""!==a?JSON.parse(a):null}catch(c){a=t,u&&(u=!1,a={error:c,text:a})}}u?(e.next(new Za({body:a,headers:r,status:s,statusText:i,url:l||void 0})),e.complete()):e.error(new qa({error:a,headers:r,status:s,statusText:i,url:l||void 0}))},l=t=>{const{url:r}=o(),s=new qa({error:t,status:n.status||0,statusText:n.statusText||"Unknown Error",url:r||void 0});e.error(s)};let a=!1;const u=r=>{a||(e.next(o()),a=!0);let s={type:Ua.DownloadProgress,loaded:r.loaded};r.lengthComputable&&(s.total=r.total),"text"===t.responseType&&n.responseText&&(s.partialText=n.responseText),e.next(s)},c=t=>{let n={type:Ua.UploadProgress,loaded:t.loaded};t.lengthComputable&&(n.total=t.total),e.next(n)};return n.addEventListener("load",i),n.addEventListener("error",l),n.addEventListener("timeout",l),n.addEventListener("abort",l),t.reportProgress&&(n.addEventListener("progress",u),null!==r&&n.upload&&n.upload.addEventListener("progress",c)),n.send(r),e.next({type:Ua.Sent}),()=>{n.removeEventListener("error",l),n.removeEventListener("abort",l),n.removeEventListener("load",i),n.removeEventListener("timeout",l),t.reportProgress&&(n.removeEventListener("progress",u),null!==r&&n.upload&&n.upload.removeEventListener("progress",c)),n.readyState!==n.DONE&&n.abort()}})}}return t.\u0275fac=function(e){return new(e||t)($n(Jl))},t.\u0275prov=lt({token:t,factory:t.\u0275fac}),t})();const tu=new Sn("XSRF_COOKIE_NAME"),eu=new Sn("XSRF_HEADER_NAME");class nu{}let ru=(()=>{class t{constructor(t,e,n){this.doc=t,this.platform=e,this.cookieName=n,this.lastCookieString="",this.lastToken=null,this.parseCount=0}getToken(){if("server"===this.platform)return null;const t=this.doc.cookie||"";return t!==this.lastCookieString&&(this.parseCount++,this.lastToken=$l(t,this.cookieName),this.lastCookieString=t),this.lastToken}}return t.\u0275fac=function(e){return new(e||t)($n(Hl),$n(Xi),$n(tu))},t.\u0275prov=lt({token:t,factory:t.\u0275fac}),t})(),su=(()=>{class t{constructor(t,e){this.tokenService=t,this.headerName=e}intercept(t,e){const n=t.url.toLowerCase();if("GET"===t.method||"HEAD"===t.method||n.startsWith("http://")||n.startsWith("https://"))return e.handle(t);const r=this.tokenService.getToken();return null===r||t.headers.has(this.headerName)||(t=t.clone({headers:t.headers.set(this.headerName,r)})),e.handle(t)}}return t.\u0275fac=function(e){return new(e||t)($n(nu),$n(eu))},t.\u0275prov=lt({token:t,factory:t.\u0275fac}),t})(),ou=(()=>{class t{constructor(t,e){this.backend=t,this.injector=e,this.chain=null}handle(t){if(null===this.chain){const t=this.injector.get(Ka,[]);this.chain=t.reduceRight((t,e)=>new Qa(t,e),this.backend)}return this.chain.handle(t)}}return t.\u0275fac=function(e){return new(e||t)($n(Ia),$n(qs))},t.\u0275prov=lt({token:t,factory:t.\u0275fac}),t})(),iu=(()=>{class t{static disable(){return{ngModule:t,providers:[{provide:su,useClass:Ja}]}}static withOptions(e={}){return{ngModule:t,providers:[e.cookieName?{provide:tu,useValue:e.cookieName}:[],e.headerName?{provide:eu,useValue:e.headerName}:[]]}}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=Ut({type:t}),t.\u0275inj=at({providers:[su,{provide:Ka,useExisting:su,multi:!0},{provide:nu,useClass:ru},{provide:tu,useValue:"XSRF-TOKEN"},{provide:eu,useValue:"X-XSRF-TOKEN"}]}),t})(),lu=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=Ut({type:t}),t.\u0275inj=at({providers:[Wa,{provide:Oa,useClass:ou},Ya,{provide:Ia,useExisting:Ya}],imports:[[iu.withOptions({cookieName:"XSRF-TOKEN",headerName:"X-XSRF-TOKEN"})]]}),t})();function au(t,e){return new _(n=>{const r=t.length;if(0===r)return void n.complete();const s=new Array(r);let o=0,i=0;for(let l=0;l<r;l++){const a=j(t[l]);let u=!1;n.add(a.subscribe({next:t=>{u||(u=!0,i++),s[l]=t},error:t=>n.error(t),complete:()=>{o++,o!==r&&u||(i===r&&n.next(e?e.reduce((t,e,n)=>(t[e]=s[n],t),{}):s),n.complete())}}))}})}let uu=(()=>{class t{constructor(t,e){this._renderer=t,this._elementRef=e,this.onChange=t=>{},this.onTouched=()=>{}}setProperty(t,e){this._renderer.setProperty(this._elementRef.nativeElement,t,e)}registerOnTouched(t){this.onTouched=t}registerOnChange(t){this.onChange=t}setDisabledState(t){this.setProperty("disabled",t)}}return t.\u0275fac=function(e){return new(e||t)(oo(Yo),oo(Jo))},t.\u0275dir=zt({type:t}),t})(),cu=(()=>{class t extends uu{}return t.\u0275fac=function(){let e;return function(n){return(e||(e=An(t)))(n||t)}}(),t.\u0275dir=zt({type:t,features:[Ws]}),t})();const hu=new Sn("NgValueAccessor"),du={provide:hu,useExisting:tt(()=>pu),multi:!0},fu=new Sn("CompositionEventMode");let pu=(()=>{class t extends uu{constructor(t,e,n){super(t,e),this._compositionMode=n,this._composing=!1,null==this._compositionMode&&(this._compositionMode=!function(){const t=Ml()?Ml().getUserAgent():"";return/android (\d+)/.test(t.toLowerCase())}())}writeValue(t){this.setProperty("value",null==t?"":t)}_handleInput(t){(!this._compositionMode||this._compositionMode&&!this._composing)&&this.onChange(t)}_compositionStart(){this._composing=!0}_compositionEnd(t){this._composing=!1,this._compositionMode&&this.onChange(t)}}return t.\u0275fac=function(e){return new(e||t)(oo(Yo),oo(Jo),oo(fu,8))},t.\u0275dir=zt({type:t,selectors:[["input","formControlName","",3,"type","checkbox"],["textarea","formControlName",""],["input","formControl","",3,"type","checkbox"],["textarea","formControl",""],["input","ngModel","",3,"type","checkbox"],["textarea","ngModel",""],["","ngDefaultControl",""]],hostBindings:function(t,e){1&t&&mo("input",function(t){return e._handleInput(t.target.value)})("blur",function(){return e.onTouched()})("compositionstart",function(){return e._compositionStart()})("compositionend",function(t){return e._compositionEnd(t.target.value)})},features:[zo([du]),Ws]}),t})();const mu=new Sn("NgValidators"),yu=new Sn("NgAsyncValidators");function gu(t){return null!=t}function _u(t){const e=fo(t)?j(t):t;return po(e),e}function vu(t){let e={};return t.forEach(t=>{e=null!=t?Object.assign(Object.assign({},e),t):e}),0===Object.keys(e).length?null:e}function bu(t,e){return e.map(e=>e(t))}function wu(t){return t.map(t=>function(t){return!t.validate}(t)?t:e=>t.validate(e))}function Cu(t){return null!=t?function(t){if(!t)return null;const e=t.filter(gu);return 0==e.length?null:function(t){return vu(bu(t,e))}}(wu(t)):null}function Eu(t){return null!=t?function(t){if(!t)return null;const e=t.filter(gu);return 0==e.length?null:function(t){return function(...t){if(1===t.length){const e=t[0];if(a(e))return au(e,null);if(u(e)&&Object.getPrototypeOf(e)===Object.prototype){const t=Object.keys(e);return au(t.map(t=>e[t]),t)}}if("function"==typeof t[t.length-1]){const e=t.pop();return au(t=1===t.length&&a(t[0])?t[0]:t,null).pipe(k(t=>e(...t)))}return au(t,null)}(bu(t,e).map(_u)).pipe(k(vu))}}(wu(t)):null}function xu(t,e){return null===t?[e]:Array.isArray(t)?[...t,e]:[t,e]}function Au(t){return t._rawValidators}function ku(t){return t._rawAsyncValidators}let Tu=(()=>{class t{constructor(){this._rawValidators=[],this._rawAsyncValidators=[],this._onDestroyCallbacks=[]}get value(){return this.control?this.control.value:null}get valid(){return this.control?this.control.valid:null}get invalid(){return this.control?this.control.invalid:null}get pending(){return this.control?this.control.pending:null}get disabled(){return this.control?this.control.disabled:null}get enabled(){return this.control?this.control.enabled:null}get errors(){return this.control?this.control.errors:null}get pristine(){return this.control?this.control.pristine:null}get dirty(){return this.control?this.control.dirty:null}get touched(){return this.control?this.control.touched:null}get status(){return this.control?this.control.status:null}get untouched(){return this.control?this.control.untouched:null}get statusChanges(){return this.control?this.control.statusChanges:null}get valueChanges(){return this.control?this.control.valueChanges:null}get path(){return null}_setValidators(t){this._rawValidators=t||[],this._composedValidatorFn=Cu(this._rawValidators)}_setAsyncValidators(t){this._rawAsyncValidators=t||[],this._composedAsyncValidatorFn=Eu(this._rawAsyncValidators)}get validator(){return this._composedValidatorFn||null}get asyncValidator(){return this._composedAsyncValidatorFn||null}_registerOnDestroy(t){this._onDestroyCallbacks.push(t)}_invokeOnDestroyCallbacks(){this._onDestroyCallbacks.forEach(t=>t()),this._onDestroyCallbacks=[]}reset(t){this.control&&this.control.reset(t)}hasError(t,e){return!!this.control&&this.control.hasError(t,e)}getError(t,e){return this.control?this.control.getError(t,e):null}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275dir=zt({type:t}),t})(),Vu=(()=>{class t extends Tu{get formDirective(){return null}get path(){return null}}return t.\u0275fac=function(){let e;return function(n){return(e||(e=An(t)))(n||t)}}(),t.\u0275dir=zt({type:t,features:[Ws]}),t})();class Su extends Tu{constructor(){super(...arguments),this._parent=null,this.name=null,this.valueAccessor=null}}class Ou{constructor(t){this._cd=t}is(t){var e,n,r;return"submitted"===t?!!(null===(e=this._cd)||void 0===e?void 0:e.submitted):!!(null===(r=null===(n=this._cd)||void 0===n?void 0:n.control)||void 0===r?void 0:r[t])}}let Iu=(()=>{class t extends Ou{constructor(t){super(t)}}return t.\u0275fac=function(e){return new(e||t)(oo(Su,2))},t.\u0275dir=zt({type:t,selectors:[["","formControlName",""],["","ngModel",""],["","formControl",""]],hostVars:14,hostBindings:function(t,e){2&t&&wo("ng-untouched",e.is("untouched"))("ng-touched",e.is("touched"))("ng-pristine",e.is("pristine"))("ng-dirty",e.is("dirty"))("ng-valid",e.is("valid"))("ng-invalid",e.is("invalid"))("ng-pending",e.is("pending"))},features:[Ws]}),t})(),Du=(()=>{class t extends Ou{constructor(t){super(t)}}return t.\u0275fac=function(e){return new(e||t)(oo(Vu,10))},t.\u0275dir=zt({type:t,selectors:[["","formGroupName",""],["","formArrayName",""],["","ngModelGroup",""],["","formGroup",""],["form",3,"ngNoForm",""],["","ngForm",""]],hostVars:16,hostBindings:function(t,e){2&t&&wo("ng-untouched",e.is("untouched"))("ng-touched",e.is("touched"))("ng-pristine",e.is("pristine"))("ng-dirty",e.is("dirty"))("ng-valid",e.is("valid"))("ng-invalid",e.is("invalid"))("ng-pending",e.is("pending"))("ng-submitted",e.is("submitted"))},features:[Ws]}),t})();function Pu(t,e){Fu(t,e),e.valueAccessor.writeValue(t.value),function(t,e){e.valueAccessor.registerOnChange(n=>{t._pendingValue=n,t._pendingChange=!0,t._pendingDirty=!0,"change"===t.updateOn&&Mu(t,e)})}(t,e),function(t,e){const n=(t,n)=>{e.valueAccessor.writeValue(t),n&&e.viewToModelUpdate(t)};t.registerOnChange(n),e._registerOnDestroy(()=>{t._unregisterOnChange(n)})}(t,e),function(t,e){e.valueAccessor.registerOnTouched(()=>{t._pendingTouched=!0,"blur"===t.updateOn&&t._pendingChange&&Mu(t,e),"submit"!==t.updateOn&&t.markAsTouched()})}(t,e),function(t,e){if(e.valueAccessor.setDisabledState){const n=t=>{e.valueAccessor.setDisabledState(t)};t.registerOnDisabledChange(n),e._registerOnDestroy(()=>{t._unregisterOnDisabledChange(n)})}}(t,e)}function Nu(t,e,n=!0){const r=()=>{};e.valueAccessor&&(e.valueAccessor.registerOnChange(r),e.valueAccessor.registerOnTouched(r)),Ru(t,e),t&&(e._invokeOnDestroyCallbacks(),t._registerOnCollectionChange(()=>{}))}function ju(t,e){t.forEach(t=>{t.registerOnValidatorChange&&t.registerOnValidatorChange(e)})}function Fu(t,e){const n=Au(t);null!==e.validator?t.setValidators(xu(n,e.validator)):"function"==typeof n&&t.setValidators([n]);const r=ku(t);null!==e.asyncValidator?t.setAsyncValidators(xu(r,e.asyncValidator)):"function"==typeof r&&t.setAsyncValidators([r]);const s=()=>t.updateValueAndValidity();ju(e._rawValidators,s),ju(e._rawAsyncValidators,s)}function Ru(t,e){let n=!1;if(null!==t){if(null!==e.validator){const r=Au(t);if(Array.isArray(r)&&r.length>0){const s=r.filter(t=>t!==e.validator);s.length!==r.length&&(n=!0,t.setValidators(s))}}if(null!==e.asyncValidator){const r=ku(t);if(Array.isArray(r)&&r.length>0){const s=r.filter(t=>t!==e.asyncValidator);s.length!==r.length&&(n=!0,t.setAsyncValidators(s))}}}const r=()=>{};return ju(e._rawValidators,r),ju(e._rawAsyncValidators,r),n}function Mu(t,e){t._pendingDirty&&t.markAsDirty(),t.setValue(t._pendingValue,{emitModelToViewChange:!1}),e.viewToModelUpdate(t._pendingValue),t._pendingChange=!1}function Hu(t,e){const n=t.indexOf(e);n>-1&&t.splice(n,1)}const Lu="VALID",Bu="INVALID",Uu="PENDING",$u="DISABLED";function zu(t){return(Wu(t)?t.validators:t)||null}function Zu(t){return Array.isArray(t)?Cu(t):t||null}function qu(t,e){return(Wu(e)?e.asyncValidators:t)||null}function Gu(t){return Array.isArray(t)?Eu(t):t||null}function Wu(t){return null!=t&&!Array.isArray(t)&&"object"==typeof t}class Qu{constructor(t,e){this._hasOwnPendingAsyncValidator=!1,this._onCollectionChange=()=>{},this._parent=null,this.pristine=!0,this.touched=!1,this._onDisabledChange=[],this._rawValidators=t,this._rawAsyncValidators=e,this._composedValidatorFn=Zu(this._rawValidators),this._composedAsyncValidatorFn=Gu(this._rawAsyncValidators)}get validator(){return this._composedValidatorFn}set validator(t){this._rawValidators=this._composedValidatorFn=t}get asyncValidator(){return this._composedAsyncValidatorFn}set asyncValidator(t){this._rawAsyncValidators=this._composedAsyncValidatorFn=t}get parent(){return this._parent}get valid(){return this.status===Lu}get invalid(){return this.status===Bu}get pending(){return this.status==Uu}get disabled(){return this.status===$u}get enabled(){return this.status!==$u}get dirty(){return!this.pristine}get untouched(){return!this.touched}get updateOn(){return this._updateOn?this._updateOn:this.parent?this.parent.updateOn:"change"}setValidators(t){this._rawValidators=t,this._composedValidatorFn=Zu(t)}setAsyncValidators(t){this._rawAsyncValidators=t,this._composedAsyncValidatorFn=Gu(t)}clearValidators(){this.validator=null}clearAsyncValidators(){this.asyncValidator=null}markAsTouched(t={}){this.touched=!0,this._parent&&!t.onlySelf&&this._parent.markAsTouched(t)}markAllAsTouched(){this.markAsTouched({onlySelf:!0}),this._forEachChild(t=>t.markAllAsTouched())}markAsUntouched(t={}){this.touched=!1,this._pendingTouched=!1,this._forEachChild(t=>{t.markAsUntouched({onlySelf:!0})}),this._parent&&!t.onlySelf&&this._parent._updateTouched(t)}markAsDirty(t={}){this.pristine=!1,this._parent&&!t.onlySelf&&this._parent.markAsDirty(t)}markAsPristine(t={}){this.pristine=!0,this._pendingDirty=!1,this._forEachChild(t=>{t.markAsPristine({onlySelf:!0})}),this._parent&&!t.onlySelf&&this._parent._updatePristine(t)}markAsPending(t={}){this.status=Uu,!1!==t.emitEvent&&this.statusChanges.emit(this.status),this._parent&&!t.onlySelf&&this._parent.markAsPending(t)}disable(t={}){const e=this._parentMarkedDirty(t.onlySelf);this.status=$u,this.errors=null,this._forEachChild(e=>{e.disable(Object.assign(Object.assign({},t),{onlySelf:!0}))}),this._updateValue(),!1!==t.emitEvent&&(this.valueChanges.emit(this.value),this.statusChanges.emit(this.status)),this._updateAncestors(Object.assign(Object.assign({},t),{skipPristineCheck:e})),this._onDisabledChange.forEach(t=>t(!0))}enable(t={}){const e=this._parentMarkedDirty(t.onlySelf);this.status=Lu,this._forEachChild(e=>{e.enable(Object.assign(Object.assign({},t),{onlySelf:!0}))}),this.updateValueAndValidity({onlySelf:!0,emitEvent:t.emitEvent}),this._updateAncestors(Object.assign(Object.assign({},t),{skipPristineCheck:e})),this._onDisabledChange.forEach(t=>t(!1))}_updateAncestors(t){this._parent&&!t.onlySelf&&(this._parent.updateValueAndValidity(t),t.skipPristineCheck||this._parent._updatePristine(),this._parent._updateTouched())}setParent(t){this._parent=t}updateValueAndValidity(t={}){this._setInitialStatus(),this._updateValue(),this.enabled&&(this._cancelExistingSubscription(),this.errors=this._runValidator(),this.status=this._calculateStatus(),this.status!==Lu&&this.status!==Uu||this._runAsyncValidator(t.emitEvent)),!1!==t.emitEvent&&(this.valueChanges.emit(this.value),this.statusChanges.emit(this.status)),this._parent&&!t.onlySelf&&this._parent.updateValueAndValidity(t)}_updateTreeValidity(t={emitEvent:!0}){this._forEachChild(e=>e._updateTreeValidity(t)),this.updateValueAndValidity({onlySelf:!0,emitEvent:t.emitEvent})}_setInitialStatus(){this.status=this._allControlsDisabled()?$u:Lu}_runValidator(){return this.validator?this.validator(this):null}_runAsyncValidator(t){if(this.asyncValidator){this.status=Uu,this._hasOwnPendingAsyncValidator=!0;const e=_u(this.asyncValidator(this));this._asyncValidationSubscription=e.subscribe(e=>{this._hasOwnPendingAsyncValidator=!1,this.setErrors(e,{emitEvent:t})})}}_cancelExistingSubscription(){this._asyncValidationSubscription&&(this._asyncValidationSubscription.unsubscribe(),this._hasOwnPendingAsyncValidator=!1)}setErrors(t,e={}){this.errors=t,this._updateControlsErrors(!1!==e.emitEvent)}get(t){return function(t,e,n){if(null==e)return null;if(Array.isArray(e)||(e=e.split(".")),Array.isArray(e)&&0===e.length)return null;let r=t;return e.forEach(t=>{r=r instanceof Ju?r.controls.hasOwnProperty(t)?r.controls[t]:null:r instanceof Xu&&r.at(t)||null}),r}(this,t)}getError(t,e){const n=e?this.get(e):this;return n&&n.errors?n.errors[t]:null}hasError(t,e){return!!this.getError(t,e)}get root(){let t=this;for(;t._parent;)t=t._parent;return t}_updateControlsErrors(t){this.status=this._calculateStatus(),t&&this.statusChanges.emit(this.status),this._parent&&this._parent._updateControlsErrors(t)}_initObservables(){this.valueChanges=new Zi,this.statusChanges=new Zi}_calculateStatus(){return this._allControlsDisabled()?$u:this.errors?Bu:this._hasOwnPendingAsyncValidator||this._anyControlsHaveStatus(Uu)?Uu:this._anyControlsHaveStatus(Bu)?Bu:Lu}_anyControlsHaveStatus(t){return this._anyControls(e=>e.status===t)}_anyControlsDirty(){return this._anyControls(t=>t.dirty)}_anyControlsTouched(){return this._anyControls(t=>t.touched)}_updatePristine(t={}){this.pristine=!this._anyControlsDirty(),this._parent&&!t.onlySelf&&this._parent._updatePristine(t)}_updateTouched(t={}){this.touched=this._anyControlsTouched(),this._parent&&!t.onlySelf&&this._parent._updateTouched(t)}_isBoxedValue(t){return"object"==typeof t&&null!==t&&2===Object.keys(t).length&&"value"in t&&"disabled"in t}_registerOnCollectionChange(t){this._onCollectionChange=t}_setUpdateStrategy(t){Wu(t)&&null!=t.updateOn&&(this._updateOn=t.updateOn)}_parentMarkedDirty(t){return!t&&!(!this._parent||!this._parent.dirty)&&!this._parent._anyControlsDirty()}}class Ku extends Qu{constructor(t=null,e,n){super(zu(e),qu(n,e)),this._onChange=[],this._applyFormState(t),this._setUpdateStrategy(e),this._initObservables(),this.updateValueAndValidity({onlySelf:!0,emitEvent:!!this.asyncValidator})}setValue(t,e={}){this.value=this._pendingValue=t,this._onChange.length&&!1!==e.emitModelToViewChange&&this._onChange.forEach(t=>t(this.value,!1!==e.emitViewToModelChange)),this.updateValueAndValidity(e)}patchValue(t,e={}){this.setValue(t,e)}reset(t=null,e={}){this._applyFormState(t),this.markAsPristine(e),this.markAsUntouched(e),this.setValue(this.value,e),this._pendingChange=!1}_updateValue(){}_anyControls(t){return!1}_allControlsDisabled(){return this.disabled}registerOnChange(t){this._onChange.push(t)}_unregisterOnChange(t){Hu(this._onChange,t)}registerOnDisabledChange(t){this._onDisabledChange.push(t)}_unregisterOnDisabledChange(t){Hu(this._onDisabledChange,t)}_forEachChild(t){}_syncPendingControls(){return!("submit"!==this.updateOn||(this._pendingDirty&&this.markAsDirty(),this._pendingTouched&&this.markAsTouched(),!this._pendingChange)||(this.setValue(this._pendingValue,{onlySelf:!0,emitModelToViewChange:!1}),0))}_applyFormState(t){this._isBoxedValue(t)?(this.value=this._pendingValue=t.value,t.disabled?this.disable({onlySelf:!0,emitEvent:!1}):this.enable({onlySelf:!0,emitEvent:!1})):this.value=this._pendingValue=t}}class Ju extends Qu{constructor(t,e,n){super(zu(e),qu(n,e)),this.controls=t,this._initObservables(),this._setUpdateStrategy(e),this._setUpControls(),this.updateValueAndValidity({onlySelf:!0,emitEvent:!!this.asyncValidator})}registerControl(t,e){return this.controls[t]?this.controls[t]:(this.controls[t]=e,e.setParent(this),e._registerOnCollectionChange(this._onCollectionChange),e)}addControl(t,e,n={}){this.registerControl(t,e),this.updateValueAndValidity({emitEvent:n.emitEvent}),this._onCollectionChange()}removeControl(t,e={}){this.controls[t]&&this.controls[t]._registerOnCollectionChange(()=>{}),delete this.controls[t],this.updateValueAndValidity({emitEvent:e.emitEvent}),this._onCollectionChange()}setControl(t,e,n={}){this.controls[t]&&this.controls[t]._registerOnCollectionChange(()=>{}),delete this.controls[t],e&&this.registerControl(t,e),this.updateValueAndValidity({emitEvent:n.emitEvent}),this._onCollectionChange()}contains(t){return this.controls.hasOwnProperty(t)&&this.controls[t].enabled}setValue(t,e={}){this._checkAllValuesPresent(t),Object.keys(t).forEach(n=>{this._throwIfControlMissing(n),this.controls[n].setValue(t[n],{onlySelf:!0,emitEvent:e.emitEvent})}),this.updateValueAndValidity(e)}patchValue(t,e={}){null!=t&&(Object.keys(t).forEach(n=>{this.controls[n]&&this.controls[n].patchValue(t[n],{onlySelf:!0,emitEvent:e.emitEvent})}),this.updateValueAndValidity(e))}reset(t={},e={}){this._forEachChild((n,r)=>{n.reset(t[r],{onlySelf:!0,emitEvent:e.emitEvent})}),this._updatePristine(e),this._updateTouched(e),this.updateValueAndValidity(e)}getRawValue(){return this._reduceChildren({},(t,e,n)=>(t[n]=e instanceof Ku?e.value:e.getRawValue(),t))}_syncPendingControls(){let t=this._reduceChildren(!1,(t,e)=>!!e._syncPendingControls()||t);return t&&this.updateValueAndValidity({onlySelf:!0}),t}_throwIfControlMissing(t){if(!Object.keys(this.controls).length)throw new Error("\n There are no form controls registered with this group yet. If you're using ngModel,\n you may want to check next tick (e.g. use setTimeout).\n ");if(!this.controls[t])throw new Error(`Cannot find form control with name: ${t}.`)}_forEachChild(t){Object.keys(this.controls).forEach(e=>{const n=this.controls[e];n&&t(n,e)})}_setUpControls(){this._forEachChild(t=>{t.setParent(this),t._registerOnCollectionChange(this._onCollectionChange)})}_updateValue(){this.value=this._reduceValue()}_anyControls(t){for(const e of Object.keys(this.controls)){const n=this.controls[e];if(this.contains(e)&&t(n))return!0}return!1}_reduceValue(){return this._reduceChildren({},(t,e,n)=>((e.enabled||this.disabled)&&(t[n]=e.value),t))}_reduceChildren(t,e){let n=t;return this._forEachChild((t,r)=>{n=e(n,t,r)}),n}_allControlsDisabled(){for(const t of Object.keys(this.controls))if(this.controls[t].enabled)return!1;return Object.keys(this.controls).length>0||this.disabled}_checkAllValuesPresent(t){this._forEachChild((e,n)=>{if(void 0===t[n])throw new Error(`Must supply a value for form control with name: '${n}'.`)})}}class Xu extends Qu{constructor(t,e,n){super(zu(e),qu(n,e)),this.controls=t,this._initObservables(),this._setUpdateStrategy(e),this._setUpControls(),this.updateValueAndValidity({onlySelf:!0,emitEvent:!!this.asyncValidator})}at(t){return this.controls[t]}push(t,e={}){this.controls.push(t),this._registerControl(t),this.updateValueAndValidity({emitEvent:e.emitEvent}),this._onCollectionChange()}insert(t,e,n={}){this.controls.splice(t,0,e),this._registerControl(e),this.updateValueAndValidity({emitEvent:n.emitEvent})}removeAt(t,e={}){this.controls[t]&&this.controls[t]._registerOnCollectionChange(()=>{}),this.controls.splice(t,1),this.updateValueAndValidity({emitEvent:e.emitEvent})}setControl(t,e,n={}){this.controls[t]&&this.controls[t]._registerOnCollectionChange(()=>{}),this.controls.splice(t,1),e&&(this.controls.splice(t,0,e),this._registerControl(e)),this.updateValueAndValidity({emitEvent:n.emitEvent}),this._onCollectionChange()}get length(){return this.controls.length}setValue(t,e={}){this._checkAllValuesPresent(t),t.forEach((t,n)=>{this._throwIfControlMissing(n),this.at(n).setValue(t,{onlySelf:!0,emitEvent:e.emitEvent})}),this.updateValueAndValidity(e)}patchValue(t,e={}){null!=t&&(t.forEach((t,n)=>{this.at(n)&&this.at(n).patchValue(t,{onlySelf:!0,emitEvent:e.emitEvent})}),this.updateValueAndValidity(e))}reset(t=[],e={}){this._forEachChild((n,r)=>{n.reset(t[r],{onlySelf:!0,emitEvent:e.emitEvent})}),this._updatePristine(e),this._updateTouched(e),this.updateValueAndValidity(e)}getRawValue(){return this.controls.map(t=>t instanceof Ku?t.value:t.getRawValue())}clear(t={}){this.controls.length<1||(this._forEachChild(t=>t._registerOnCollectionChange(()=>{})),this.controls.splice(0),this.updateValueAndValidity({emitEvent:t.emitEvent}))}_syncPendingControls(){let t=this.controls.reduce((t,e)=>!!e._syncPendingControls()||t,!1);return t&&this.updateValueAndValidity({onlySelf:!0}),t}_throwIfControlMissing(t){if(!this.controls.length)throw new Error("\n There are no form controls registered with this array yet. If you're using ngModel,\n you may want to check next tick (e.g. use setTimeout).\n ");if(!this.at(t))throw new Error(`Cannot find form control at index ${t}`)}_forEachChild(t){this.controls.forEach((e,n)=>{t(e,n)})}_updateValue(){this.value=this.controls.filter(t=>t.enabled||this.disabled).map(t=>t.value)}_anyControls(t){return this.controls.some(e=>e.enabled&&t(e))}_setUpControls(){this._forEachChild(t=>this._registerControl(t))}_checkAllValuesPresent(t){this._forEachChild((e,n)=>{if(void 0===t[n])throw new Error(`Must supply a value for form control at index: ${n}.`)})}_allControlsDisabled(){for(const t of this.controls)if(t.enabled)return!1;return this.controls.length>0||this.disabled}_registerControl(t){t.setParent(this),t._registerOnCollectionChange(this._onCollectionChange)}}let Yu=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275dir=zt({type:t,selectors:[["form",3,"ngNoForm","",3,"ngNativeValidate",""]],hostAttrs:["novalidate",""]}),t})(),tc=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=Ut({type:t}),t.\u0275inj=at({}),t})();const ec=new Sn("NgModelWithFormControlWarning"),nc={provide:Vu,useExisting:tt(()=>rc)};let rc=(()=>{class t extends Vu{constructor(t,e){super(),this.validators=t,this.asyncValidators=e,this.submitted=!1,this._onCollectionChange=()=>this._updateDomValue(),this.directives=[],this.form=null,this.ngSubmit=new Zi,this._setValidators(t),this._setAsyncValidators(e)}ngOnChanges(t){this._checkFormPresent(),t.hasOwnProperty("form")&&(this._updateValidators(),this._updateDomValue(),this._updateRegistrations(),this._oldForm=this.form)}ngOnDestroy(){this.form&&(Ru(this.form,this),this.form._onCollectionChange===this._onCollectionChange&&this.form._registerOnCollectionChange(()=>{}))}get formDirective(){return this}get control(){return this.form}get path(){return[]}addControl(t){const e=this.form.get(t.path);return Pu(e,t),e.updateValueAndValidity({emitEvent:!1}),this.directives.push(t),e}getControl(t){return this.form.get(t.path)}removeControl(t){Nu(t.control||null,t,!1),Hu(this.directives,t)}addFormGroup(t){this._setUpFormContainer(t)}removeFormGroup(t){this._cleanUpFormContainer(t)}getFormGroup(t){return this.form.get(t.path)}addFormArray(t){this._setUpFormContainer(t)}removeFormArray(t){this._cleanUpFormContainer(t)}getFormArray(t){return this.form.get(t.path)}updateModel(t,e){this.form.get(t.path).setValue(e)}onSubmit(t){return this.submitted=!0,e=this.directives,this.form._syncPendingControls(),e.forEach(t=>{const e=t.control;"submit"===e.updateOn&&e._pendingChange&&(t.viewToModelUpdate(e._pendingValue),e._pendingChange=!1)}),this.ngSubmit.emit(t),!1;var e}onReset(){this.resetForm()}resetForm(t){this.form.reset(t),this.submitted=!1}_updateDomValue(){this.directives.forEach(t=>{const e=t.control,n=this.form.get(t.path);e!==n&&(Nu(e||null,t),n instanceof Ku&&(Pu(n,t),t.control=n))}),this.form._updateTreeValidity({emitEvent:!1})}_setUpFormContainer(t){const e=this.form.get(t.path);(function(t,e){Fu(t,e)})(e,t),e.updateValueAndValidity({emitEvent:!1})}_cleanUpFormContainer(t){if(this.form){const e=this.form.get(t.path);e&&function(t,e){return Ru(t,e)}(e,t)&&e.updateValueAndValidity({emitEvent:!1})}}_updateRegistrations(){this.form._registerOnCollectionChange(this._onCollectionChange),this._oldForm&&this._oldForm._registerOnCollectionChange(()=>{})}_updateValidators(){Fu(this.form,this),this._oldForm&&Ru(this._oldForm,this)}_checkFormPresent(){}}return t.\u0275fac=function(e){return new(e||t)(oo(mu,10),oo(yu,10))},t.\u0275dir=zt({type:t,selectors:[["","formGroup",""]],hostBindings:function(t,e){1&t&&mo("submit",function(t){return e.onSubmit(t)})("reset",function(){return e.onReset()})},inputs:{form:["formGroup","form"]},outputs:{ngSubmit:"ngSubmit"},exportAs:["ngForm"],features:[zo([nc]),Ws,re]}),t})();const sc={provide:Su,useExisting:tt(()=>oc)};let oc=(()=>{class t extends Su{constructor(t,e,n,r,s){super(),this._ngModelWarningConfig=s,this._added=!1,this.update=new Zi,this._ngModelWarningSent=!1,this._parent=t,this._setValidators(e),this._setAsyncValidators(n),this.valueAccessor=function(t,e){if(!e)return null;let n,r,s;return Array.isArray(e),e.forEach(t=>{t.constructor===pu?n=t:Object.getPrototypeOf(t.constructor)===cu?r=t:s=t}),s||r||n||null}(0,r)}set isDisabled(t){}ngOnChanges(t){this._added||this._setUpControl(),function(t,e){if(!t.hasOwnProperty("model"))return!1;const n=t.model;return!!n.isFirstChange()||!Object.is(e,n.currentValue)}(t,this.viewModel)&&(this.viewModel=this.model,this.formDirective.updateModel(this,this.model))}ngOnDestroy(){this.formDirective&&this.formDirective.removeControl(this)}viewToModelUpdate(t){this.viewModel=t,this.update.emit(t)}get path(){return t=null==this.name?this.name:this.name.toString(),[...this._parent.path,t];var t}get formDirective(){return this._parent?this._parent.formDirective:null}_checkParentType(){}_setUpControl(){this._checkParentType(),this.control=this.formDirective.addControl(this),this.control.disabled&&this.valueAccessor.setDisabledState&&this.valueAccessor.setDisabledState(!0),this._added=!0}}return t.\u0275fac=function(e){return new(e||t)(oo(Vu,13),oo(mu,10),oo(yu,10),oo(hu,10),oo(ec,8))},t.\u0275dir=zt({type:t,selectors:[["","formControlName",""]],inputs:{isDisabled:["disabled","isDisabled"],name:["formControlName","name"],model:["ngModel","model"]},outputs:{update:"ngModelChange"},features:[zo([sc]),Ws,re]}),t._ngModelWarningSentOnce=!1,t})(),ic=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=Ut({type:t}),t.\u0275inj=at({imports:[[tc]]}),t})(),lc=(()=>{class t{static withConfig(e){return{ngModule:t,providers:[{provide:ec,useValue:e.warnOnNgModelWithFormControl}]}}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=Ut({type:t}),t.\u0275inj=at({imports:[ic]}),t})(),ac=(()=>{class t{group(t,e=null){const n=this._reduceControls(t);let r,s=null,o=null;return null!=e&&(function(t){return void 0!==t.asyncValidators||void 0!==t.validators||void 0!==t.updateOn}(e)?(s=null!=e.validators?e.validators:null,o=null!=e.asyncValidators?e.asyncValidators:null,r=null!=e.updateOn?e.updateOn:void 0):(s=null!=e.validator?e.validator:null,o=null!=e.asyncValidator?e.asyncValidator:null)),new Ju(n,{asyncValidators:o,updateOn:r,validators:s})}control(t,e,n){return new Ku(t,e,n)}array(t,e,n){const r=t.map(t=>this._createControl(t));return new Xu(r,e,n)}_reduceControls(t){const e={};return Object.keys(t).forEach(n=>{e[n]=this._createControl(t[n])}),e}_createControl(t){return t instanceof Ku||t instanceof Ju||t instanceof Xu?t:Array.isArray(t)?this.control(t[0],t.length>1?t[1]:null,t.length>2?t[2]:null):this.control(t)}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275prov=lt({factory:function(){return new t},token:t,providedIn:lc}),t})();class uc{constructor(){this.id=0,this.firstName="",this.lastName="",this.email="",this.mobile="",this.salary=""}}let cc=(()=>{class t{constructor(t){this.http=t}postData(t){return this.http.post("http://localhost:3000/posts",t).pipe(k(t=>t))}getData(){return this.http.get("http://localhost:3000/posts").pipe(k(t=>t))}updateData(t,e){return this.http.put("http://localhost:3000/posts/"+t,e).pipe(k(t=>t))}deleteData(t){return this.http.delete("http://localhost:3000/posts/"+t).pipe(k(t=>t))}}return t.\u0275fac=function(e){return new(e||t)($n(Wa))},t.\u0275prov=lt({token:t,factory:t.\u0275fac,providedIn:"root"}),t})();function hc(t,e){if(1&t){const t=ho();ao(0,"tr"),ao(1,"td"),ko(2),uo(),ao(3,"td"),ko(4),uo(),ao(5,"td"),ko(6),uo(),ao(7,"td"),ko(8),uo(),ao(9,"td"),ko(10),uo(),ao(11,"td"),ko(12),uo(),ao(13,"td"),ao(14,"button",27),mo("click",function(){const e=xe(t).$implicit;return _o().edit(e)}),ko(15,"Edit"),uo(),ao(16,"button",28),mo("click",function(){const e=xe(t).$implicit;return _o().delete(e)}),ko(17,"Delete"),uo(),uo(),uo()}if(2&t){const t=e.$implicit;Hr(2),To(t.id),Hr(2),To(t.firstName),Hr(2),To(t.lastName),Hr(2),To(t.email),Hr(2),To(t.mobile),Hr(2),To(t.salary)}}function dc(t,e){if(1&t){const t=ho();ao(0,"button",29),mo("click",function(){return xe(t),_o().post()}),ko(1,"Add"),uo()}}function fc(t,e){if(1&t){const t=ho();ao(0,"button",29),mo("click",function(){return xe(t),_o().put()}),ko(1,"Update"),uo()}}let pc=(()=>{class t{constructor(t,e){this.formBuilder=t,this.api=e,this.showAdd=!0,this.showUpdate=!0,this.newEmployee=new uc}ngOnInit(){this.formValue=this.formBuilder.group({firstName:[" "],lastName:[""],email:[" "],mobile:[" "],salary:[" "]}),this.get()}clickAdd(){this.formValue.reset(),this.showAdd=!0,this.showUpdate=!1}post(){this.newEmployee.firstName=this.formValue.value.firstName,this.newEmployee.lastName=this.formValue.value.lastName,this.newEmployee.email=this.formValue.value.email,this.newEmployee.mobile=this.formValue.value.mobile,this.newEmployee.salary=this.formValue.value.salary,this.api.postData(this.newEmployee).subscribe(t=>{console.log(t),alert("Add Employee succesfully");let e=document.getElementById("cancel");null==e||e.click(),this.get()},t=>{console.log(t),alert("Error")}),this.formValue.reset()}get(){this.api.getData().subscribe(t=>{this.employeeData=t})}edit(t){this.showUpdate=!0,this.showAdd=!1,this.newEmployee.id=t.id,this.formValue.controls.firstName.setValue(t.firstName),this.formValue.controls.lastName.setValue(t.lastName),this.formValue.controls.email.setValue(t.email),this.formValue.controls.mobile.setValue(t.mobile),this.formValue.controls.salary.setValue(t.salary)}put(){this.newEmployee.firstName=this.formValue.value.firstName,this.newEmployee.lastName=this.formValue.value.lastName,this.newEmployee.email=this.formValue.value.email,this.newEmployee.mobile=this.formValue.value.mobile,this.newEmployee.salary=this.formValue.value.salary,this.api.updateData(this.newEmployee.id,this.newEmployee).subscribe(t=>{alert("Edit Successfully");let e=document.getElementById("cancel");null==e||e.click(),this.formValue.reset(),this.get()})}delete(t){this.api.deleteData(t.id).subscribe(t=>{alert("Delete Successfully"),this.get()})}}return t.\u0275fac=function(e){return new(e||t)(oo(ac),oo(cc))},t.\u0275cmp=Mt({type:t,selectors:[["app-employee"]],decls:60,vars:4,consts:[[1,"navbar","navbar-light","bg-primary"],[1,"containter-fluid"],[2,"color","white"],[1,"d-flex"],["type","button","data-bs-toggle","modal","data-bs-target","#exampleModal",1,"btn","btn-success",3,"click"],[1,"table","mt-3"],["scope","col"],[4,"ngFor","ngForOf"],["id","exampleModal","tabindex","-1","aria-labelledby","exampleModalLabel","aria-hidden","true",1,"modal","fade"],[1,"modal-dialog"],[1,"modal-content"],[1,"modal-header"],["id","exampleModalLabel",1,"modal-title"],["type","button","data-bs-dismiss","modal","aria-label","Close",1,"btn-close"],[1,"modal-body"],[3,"formGroup"],[1,"mb-3"],["for","exampleInputEmail1",1,"form-label"],["type","text","formControlName","firstName","id","exampleInputEmail1","aria-describedby","emailHelp",1,"form-control"],["for","exampleInputPassword1",1,"form-label"],["type","text","formControlName","lastName","id","exampleInputPassword1",1,"form-control"],["type","email","formControlName","email","id","exampleInputPassword1",1,"form-control"],["type","string","formControlName","mobile","id","exampleInputPassword1",1,"form-control"],["type","text","formControlName","salary","id","exampleInputPassword1",1,"form-control"],[1,"modal-footer"],["type","button","id","cancel","data-bs-dismiss","modal",1,"btn","btn-secondary"],["type","button","class","btn btn-primary ",3,"click",4,"ngIf"],["type","button","data-bs-toggle","modal","data-bs-target","#exampleModal",1,"btn","btn-info",3,"click"],[1,"btn","btn-danger",3,"click"],["type","button",1,"btn","btn-primary",3,"click"]],template:function(t,e){1&t&&(ao(0,"nav",0),ao(1,"div",1),ao(2,"h1",2),ko(3," Angular Crud "),uo(),ao(4,"div",3),ao(5,"button",4),mo("click",function(){return e.clickAdd()}),ko(6," Add Employee"),uo(),uo(),uo(),uo(),ao(7,"table",5),ao(8,"thead"),ao(9,"tr"),ao(10,"th",6),ko(11," Employee ID "),uo(),ao(12,"th",6),ko(13," First Name "),uo(),ao(14,"th",6),ko(15," Last Name "),uo(),ao(16,"th",6),ko(17," Email ID "),uo(),ao(18,"th",6),ko(19," Mobile Number "),uo(),ao(20,"th",6),ko(21," Salary "),uo(),ao(22,"th",6),ko(23," Action "),uo(),uo(),uo(),ao(24,"tbody"),so(25,hc,18,6,"tr",7),uo(),uo(),ao(26,"div",8),ao(27,"div",9),ao(28,"div",10),ao(29,"div",11),ao(30,"h5",12),ko(31,"Employee Details"),uo(),co(32,"button",13),uo(),ao(33,"div",14),ao(34,"form",15),ao(35,"div",16),ao(36,"label",17),ko(37,"First Name"),uo(),co(38,"input",18),uo(),ao(39,"div",16),ao(40,"label",19),ko(41,"Last Name"),uo(),co(42,"input",20),uo(),ao(43,"div",16),ao(44,"label",19),ko(45,"Email ID"),uo(),co(46,"input",21),uo(),ao(47,"div",16),ao(48,"label",19),ko(49,"Mobile Number"),uo(),co(50,"input",22),uo(),ao(51,"div",16),ao(52,"label",19),ko(53,"Salary"),uo(),co(54,"input",23),uo(),uo(),uo(),ao(55,"div",24),ao(56,"button",25),ko(57,"Close"),uo(),so(58,dc,2,0,"button",26),so(59,fc,2,0,"button",26),uo(),uo(),uo(),uo()),2&t&&(Hr(25),io("ngForOf",e.employeeData),Hr(9),io("formGroup",e.formValue),Hr(24),io("ngIf",e.showAdd),Hr(1),io("ngIf",e.showUpdate))},directives:[Zl,Yu,Du,rc,pu,Iu,oc,Gl],styles:[""]}),t})(),mc=(()=>{class t{constructor(){this.title="http-jsonserver"}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275cmp=Mt({type:t,selectors:[["app-root"]],decls:1,vars:0,template:function(t,e){1&t&&co(0,"app-employee")},directives:[pc],styles:[""]}),t})(),yc=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=Ut({type:t,bootstrap:[mc]}),t.\u0275inj=at({providers:[],imports:[[Ta,lc,lu]]}),t})();(function(){if(kl)throw new Error("Cannot enable prod mode after platform setup.");Al=!1})(),Aa().bootstrapModule(yc).catch(t=>console.error(t))}},t=>{"use strict";t(t.s=550)}]);