(window.webpackJsonp=window.webpackJsonp||[]).push([[1],{0:function(t,e,n){t.exports=n("zUnb")},zUnb:function(t,e,n){"use strict";function r(t){return"function"==typeof t}n.r(e);let s=!1;const i={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 o(t){setTimeout(()=>{throw t},0)}const a={closed:!0,next(t){},error(t){if(i.useDeprecatedSynchronousErrorHandling)throw t;o(t)},complete(){}},l=(()=>Array.isArray||(t=>t&&"number"==typeof t.length))();function c(t){return null!==t&&"object"==typeof t}const u=(()=>{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})();let h=(()=>{class t{constructor(t){this.closed=!1,this._parentOrParents=null,this._subscriptions=null,t&&(this._ctorUnsubscribe=!0,this._unsubscribe=t)}unsubscribe(){let e;if(this.closed)return;let{_parentOrParents:n,_ctorUnsubscribe:s,_unsubscribe:i,_subscriptions:o}=this;if(this.closed=!0,this._parentOrParents=null,this._subscriptions=null,n instanceof t)n.remove(this);else if(null!==n)for(let t=0;tt.concat(e instanceof u?e.errors:e),[])}const p=(()=>"function"==typeof Symbol?Symbol("rxSubscriber"):"@@rxSubscriber_"+Math.random())();class f 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=a;break;case 1:if(!t){this.destination=a;break}if("object"==typeof t){t instanceof f?(this.syncErrorThrowable=t.syncErrorThrowable,this.destination=t,t.add(this)):(this.syncErrorThrowable=!0,this.destination=new g(this,t));break}default:this.syncErrorThrowable=!0,this.destination=new g(this,t,e,n)}}[p](){return this}static create(t,e,n){const r=new f(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 g extends f{constructor(t,e,n,s){let i;super(),this._parentSubscriber=t;let o=this;r(e)?i=e:e&&(i=e.next,n=e.error,s=e.complete,e!==a&&(o=Object.create(e),r(o.unsubscribe)&&this.add(o.unsubscribe.bind(o)),o.unsubscribe=this.unsubscribe.bind(this))),this._context=o,this._next=i,this._error=n,this._complete=s}next(t){if(!this.isStopped&&this._next){const{_parentSubscriber:e}=this;i.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}=i;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):o(t),this.unsubscribe();else{if(this.unsubscribe(),n)throw t;o(t)}}}complete(){if(!this.isStopped){const{_parentSubscriber:t}=this;if(this._complete){const e=()=>this._complete.call(this._context);i.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(),i.useDeprecatedSynchronousErrorHandling)throw n;o(n)}}__tryOrSetError(t,e,n){if(!i.useDeprecatedSynchronousErrorHandling)throw new Error("bad call");try{e.call(this._context,n)}catch(r){return i.useDeprecatedSynchronousErrorHandling?(t.syncErrorValue=r,t.syncErrorThrown=!0,!0):(o(r),!0)}return!1}_unsubscribe(){const{_parentSubscriber:t}=this;this._context=null,this._parentSubscriber=null,t.unsubscribe()}}const m=(()=>"function"==typeof Symbol&&Symbol.observable||"@@observable")();function y(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 f)return t;if(t[p])return t[p]()}return t||e||n?new f(t,e,n):new f(a)}(t,e,n);if(s.add(r?r.call(s,this.source):this.source||i.useDeprecatedSynchronousErrorHandling&&!s.syncErrorThrowable?this._subscribe(s):this._trySubscribe(s)),i.useDeprecatedSynchronousErrorHandling&&s.syncErrorThrowable&&(s.syncErrorThrowable=!1,s.syncErrorThrown))throw s.syncErrorValue;return s}_trySubscribe(t){try{return this._subscribe(t)}catch(e){i.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 f?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)}[m](){return this}pipe(...t){return 0===t.length?this:(0===(e=t).length?y: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=i.Promise||Promise),!t)throw new Error("no Promise impl found");return t}const w=(()=>{function t(){return Error.call(this),this.message="object unsubscribed",this.name="ObjectUnsubscribedError",this}return t.prototype=Object.create(Error.prototype),t})();class b 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 f{constructor(t){super(t),this.destination=t}}let x=(()=>{class t extends _{constructor(){super(),this.observers=[],this.closed=!1,this.isStopped=!1,this.hasError=!1,this.thrownError=null}[p](){return new C(this)}lift(t){const e=new S(this,this);return e.operator=t,e}next(t){if(this.closed)throw new w;if(!this.isStopped){const{observers:e}=this,n=e.length,r=e.slice();for(let s=0;snew S(t,e),t})();class S extends x{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 O(t){return t&&"function"==typeof t.schedule}function E(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 k(t,e))}}class k{constructor(t,e){this.project=t,this.thisArg=e}call(t,e){return e.subscribe(new A(t,this.project,this.thisArg))}}class A extends f{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 T=t=>e=>{for(let n=0,r=t.length;nt&&"number"==typeof t.length&&"function"!=typeof t;function M(t){return!!t&&"function"!=typeof t.subscribe&&"function"==typeof t.then}const V=t=>{if(t&&"function"==typeof t[m])return r=t,t=>{const e=r[m]();if("function"!=typeof e.subscribe)throw new TypeError("Provided object does not correctly implement Symbol.observable");return e.subscribe(t)};if(I(t))return T(t);if(M(t))return n=t,t=>(n.then(e=>{t.closed||(t.next(e),t.complete())},e=>t.error(e)).then(null,o),t);if(t&&"function"==typeof t[R])return e=t,t=>{const n=e[R]();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=c(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,r};function j(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 D(t,e){return e?function(t,e){if(null!=t){if(function(t){return t&&"function"==typeof t[m]}(t))return function(t,e){return new _(n=>{const r=new h;return r.add(e.schedule(()=>{const s=t[m]();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(M(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 j(t,e);if(function(t){return t&&"function"==typeof t[R]}(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[R](),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 _(V(t))}class N extends f{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 F extends f{notifyNext(t){this.destination.next(t)}notifyError(t){this.destination.error(t)}notifyComplete(){this.destination.complete()}}function U(t,e){if(e.closed)return;if(t instanceof _)return t.subscribe(e);let n;try{n=V(t)(e)}catch(r){e.error(r)}return n}function H(t,e,n=Number.POSITIVE_INFINITY){return"function"==typeof e?r=>r.pipe(H((n,r)=>D(t(n,r)).pipe(E((t,s)=>e(n,t,r,s))),n)):("number"==typeof e&&(n=e),e=>e.lift(new L(t,n)))}class L{constructor(t,e=Number.POSITIVE_INFINITY){this.project=t,this.concurrent=e}call(t,e){return e.subscribe(new z(t,this.project,this.concurrent))}}class z extends F{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.active0?this._next(t.shift()):0===this.active&&this.hasCompleted&&this.destination.complete()}}function $(t=Number.POSITIVE_INFINITY){return H(y,t)}function q(t,e){return e?j(t,e):new _(T(t))}function B(){return function(t){return t.lift(new G(t))}}class G{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 f{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 W 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 K(this.getSubject(),this))),t.closed&&(this._connection=null,t=h.EMPTY)),t}refCount(){return B()(this)}}const Q=(()=>{const t=W.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 K 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 J(){return new x}function X(t){for(let e in t)if(t[e]===X)return e;throw Error("Could not find renamed property on target object.")}function Y(t,e){for(const n in e)e.hasOwnProperty(n)&&!t.hasOwnProperty(n)&&(t[n]=e[n])}function tt(t){if("string"==typeof t)return t;if(Array.isArray(t))return"["+t.map(tt).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 et(t,e){return null==t||""===t?null===e?"":e:null==e||""===e?t:t+" "+e}const nt=X({__forward_ref__:X});function rt(t){return t.__forward_ref__=rt,t.toString=function(){return tt(this())},t}function st(t){return it(t)?t():t}function it(t){return"function"==typeof t&&t.hasOwnProperty(nt)&&t.__forward_ref__===rt}class ot extends Error{constructor(t,e){super(function(t,e){return`${t?`NG0${t}: `:""}${e}`}(t,e)),this.code=t}}function at(t){return"string"==typeof t?t:null==t?"":String(t)}function lt(t){return"function"==typeof t?t.name||t.toString():"object"==typeof t&&null!=t&&"function"==typeof t.type?t.type.name||t.type.toString():at(t)}function ct(t,e){const n=e?` in ${e}`:"";throw new ot("201",`No provider for ${lt(t)} found${n}`)}function ut(t){return{token:t.token,providedIn:t.providedIn||null,factory:t.factory,value:void 0}}function ht(t){return{providers:t.providers||[],imports:t.imports||[]}}function dt(t){return pt(t,gt)||pt(t,yt)}function pt(t,e){return t.hasOwnProperty(e)?t[e]:null}function ft(t){return t&&(t.hasOwnProperty(mt)||t.hasOwnProperty(_t))?t[mt]:null}const gt=X({"\u0275prov":X}),mt=X({"\u0275inj":X}),yt=X({ngInjectableDef:X}),_t=X({ngInjectorDef:X});var vt=function(t){return t[t.Default=0]="Default",t[t.Host=1]="Host",t[t.Self=2]="Self",t[t.SkipSelf=4]="SkipSelf",t[t.Optional=8]="Optional",t}({});let wt;function bt(t){const e=wt;return wt=t,e}function Ct(t,e,n){const r=dt(t);return r&&"root"==r.providedIn?void 0===r.value?r.value=r.factory():r.value:n&vt.Optional?null:void 0!==e?e:void ct(tt(t),"Injector")}function xt(t){return{toString:t}.toString()}var St=function(t){return t[t.OnPush=0]="OnPush",t[t.Default=1]="Default",t}({}),Ot=function(t){return t[t.Emulated=0]="Emulated",t[t.None=2]="None",t[t.ShadowDom=3]="ShadowDom",t}({});const Et="undefined"!=typeof globalThis&&globalThis,kt="undefined"!=typeof window&&window,At="undefined"!=typeof self&&"undefined"!=typeof WorkerGlobalScope&&self instanceof WorkerGlobalScope&&self,Tt="undefined"!=typeof global&&global,Pt=Et||Tt||kt||At,Rt={},It=[],Mt=[],Vt=X({"\u0275cmp":X}),jt=X({"\u0275dir":X}),Dt=X({"\u0275pipe":X}),Nt=X({"\u0275mod":X}),Ft=X({"\u0275loc":X}),Ut=X({"\u0275fac":X}),Ht=X({__NG_ELEMENT_ID__:X});let Lt=0;function zt(t){return xt(()=>{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===St.OnPush,directiveDefs:null,pipeDefs:null,selectors:t.selectors||Mt,viewQuery:t.viewQuery||null,features:t.features||null,data:t.data||{},encapsulation:t.encapsulation||Ot.Emulated,id:"c",styles:t.styles||Mt,_:null,setInput:null,schemas:t.schemas||null,tView:null},r=t.directives,s=t.features,i=t.pipes;return n.id+=Lt++,n.inputs=Zt(t.inputs,e),n.outputs=Zt(t.outputs),s&&s.forEach(t=>t(n)),n.directiveDefs=r?()=>("function"==typeof r?r():r).map($t):null,n.pipeDefs=i?()=>("function"==typeof i?i():i).map(qt):null,n})}function $t(t){return Qt(t)||function(t){return t[jt]||null}(t)}function qt(t){return function(t){return t[Dt]||null}(t)}const Bt={};function Gt(t){const e={type:t.type,bootstrap:t.bootstrap||Mt,declarations:t.declarations||Mt,imports:t.imports||Mt,exports:t.exports||Mt,transitiveCompileScopes:null,schemas:t.schemas||null,id:t.id||null};return null!=t.id&&xt(()=>{Bt[t.id]=t.type}),e}function Zt(t,e){if(null==t)return Rt;const n={};for(const r in t)if(t.hasOwnProperty(r)){let s=t[r],i=s;Array.isArray(s)&&(i=s[1],s=s[0]),n[s]=r,e&&(e[s]=i)}return n}const Wt=zt;function Qt(t){return t[Vt]||null}function Kt(t,e){const n=t[Nt]||null;if(!n&&!0===e)throw new Error(`Type ${tt(t)} does not have '\u0275mod' property.`);return n}const Jt=20,Xt=10;function Yt(t){return Array.isArray(t)&&"object"==typeof t[1]}function te(t){return Array.isArray(t)&&!0===t[1]}function ee(t){return 0!=(8&t.flags)}function ne(t){return 2==(2&t.flags)}function re(t){return 1==(1&t.flags)}function se(t){return null!==t.template}function ie(t,e){return t.hasOwnProperty(Ut)?t[Ut]:null}class oe{constructor(t,e,n){this.previousValue=t,this.currentValue=e,this.firstChange=n}isFirstChange(){return this.firstChange}}function ae(){return le}function le(t){return t.type.prototype.ngOnChanges&&(t.setInput=ue),ce}function ce(){const t=he(this),e=null==t?void 0:t.current;if(e){const n=t.previous;if(n===Rt)t.previous=e;else for(let t in e)n[t]=e[t];t.current=null,this.ngOnChanges(e)}}function ue(t,e,n,r){const s=he(t)||function(t,e){return t.__ngSimpleChanges__=e}(t,{previous:Rt,current:null}),i=s.current||(s.current={}),o=s.previous,a=this.declaredInputs[n],l=o[a];i[a]=new oe(l&&l.currentValue,e,o===Rt),t[r]=e}function he(t){return t.__ngSimpleChanges__||null}ae.ngInherit=!0;const de="http://www.w3.org/2000/svg";let pe;function fe(t){return!!t.listen}const ge={createRenderer:(t,e)=>void 0!==pe?pe:"undefined"!=typeof document?document:void 0};function me(t){for(;Array.isArray(t);)t=t[0];return t}function ye(t,e){return me(e[t])}function _e(t,e){return me(e[t.index])}function ve(t,e){return t.data[e]}function we(t,e){const n=e[t];return Yt(n)?n:n[0]}function be(t){const e=function(t){return t.__ngContext__||null}(t);return e?Array.isArray(e)?e:e.lView:null}function Ce(t){return 128==(128&t[2])}function xe(t,e){return null==e?null:t[e]}function Se(t){t[18]=0}function Oe(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 Ee={lFrame:Be(null),bindingsEnabled:!0,isInCheckNoChangesMode:!1};function ke(){return Ee.bindingsEnabled}function Ae(){return Ee.lFrame.lView}function Te(){return Ee.lFrame.tView}function Pe(t){Ee.lFrame.contextLView=t}function Re(){let t=Ie();for(;null!==t&&64===t.type;)t=t.parent;return t}function Ie(){return Ee.lFrame.currentTNode}function Me(t,e){const n=Ee.lFrame;n.currentTNode=t,n.isParent=e}function Ve(){return Ee.lFrame.isParent}function je(){return Ee.isInCheckNoChangesMode}function De(t){Ee.isInCheckNoChangesMode=t}function Ne(){return Ee.lFrame.bindingIndex++}function Fe(t,e){const n=Ee.lFrame;n.bindingIndex=n.bindingRootIndex=t,Ue(e)}function Ue(t){Ee.lFrame.currentDirectiveIndex=t}function He(t){Ee.lFrame.currentQueryIndex=t}function Le(t){const e=t[1];return 2===e.type?e.declTNode:1===e.type?t[6]:null}function ze(t,e,n){if(n&vt.SkipSelf){let r=e,s=t;for(;r=r.parent,!(null!==r||n&vt.Host||(r=Le(s),null===r)||(s=s[15],10&r.type)););if(null===r)return!1;e=r,t=s}const r=Ee.lFrame=qe();return r.currentTNode=e,r.lView=t,!0}function $e(t){const e=qe(),n=t[1];Ee.lFrame=e,e.currentTNode=n.firstChild,e.lView=t,e.tView=n,e.contextLView=t,e.bindingIndex=n.bindingStartIndex,e.inI18n=!1}function qe(){const t=Ee.lFrame,e=null===t?null:t.child;return null===e?Be(t):e}function Be(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 Ge(){const t=Ee.lFrame;return Ee.lFrame=t.parent,t.currentTNode=null,t.lView=null,t}const Ze=Ge;function We(){const t=Ge();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 Qe(){return Ee.lFrame.selectedIndex}function Ke(t){Ee.lFrame.selectedIndex=t}function Je(){const t=Ee.lFrame;return ve(t.tView,t.selectedIndex)}function Xe(t,e){for(let n=e.directiveStart,r=e.directiveEnd;n=r)break}else e[a]<0&&(t[18]+=65536),(o>11>16&&(3&t[2])===e){t[2]+=2048;try{i.call(o)}finally{}}}else try{i.call(o)}finally{}}const sn=-1;class on{constructor(t,e,n){this.factory=t,this.resolving=!1,this.canSeeViewProviders=e,this.injectImpl=n}}function an(t,e,n){const r=fe(t);let s=0;for(;se){o=i-1;break}}}for(;i>16,r=e;for(;n>0;)r=r[15],n--;return r}let gn=!0;function mn(t){const e=gn;return gn=t,e}let yn=0;function _n(t,e){const n=wn(t,e);if(-1!==n)return n;const r=e[1];r.firstCreatePass&&(t.injectorIndex=e.length,vn(r.data,t),vn(e,null),vn(r.blueprint,null));const s=bn(t,e),i=t.injectorIndex;if(dn(s)){const t=pn(s),n=fn(s,e),r=n[1].data;for(let s=0;s<8;s++)e[i+s]=n[t+s]|r[t+s]}return e[i+8]=s,i}function vn(t,e){t.push(0,0,0,0,0,0,0,0,e)}function wn(t,e){return-1===t.injectorIndex||t.parent&&t.parent.injectorIndex===t.injectorIndex||null===e[t.injectorIndex+8]?-1:t.injectorIndex}function bn(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 sn;if(n++,s=s[15],-1!==r.injectorIndex)return r.injectorIndex|n<<16}return sn}function Cn(t,e,n){!function(t,e,n){let r;"string"==typeof n?r=n.charCodeAt(0)||0:n.hasOwnProperty(Ht)&&(r=n[Ht]),null==r&&(r=n[Ht]=yn++);const s=255&r;e.data[t+(s>>5)]|=1<=0?255&e:kn:e}(n);if("function"==typeof i){if(!ze(e,t,r))return r&vt.Host?xn(s,n,r):Sn(e,n,r,s);try{const t=i();if(null!=t||r&vt.Optional)return t;ct(n)}finally{Ze()}}else if("number"==typeof i){let s=null,o=wn(t,e),a=sn,l=r&vt.Host?e[16][6]:null;for((-1===o||r&vt.SkipSelf)&&(a=-1===o?bn(t,e):e[o+8],a!==sn&&Rn(r,!1)?(s=e[1],o=pn(a),e=fn(a,e)):o=-1);-1!==o;){const t=e[1];if(Pn(i,o,t.data)){const t=An(o,e,n,s,r,l);if(t!==En)return t}a=e[o+8],a!==sn&&Rn(r,e[1].data[o+8]===l)&&Pn(i,o,e)?(s=t,o=pn(a),e=fn(a,e)):o=-1}}}return Sn(e,n,r,s)}const En={};function kn(){return new In(Re(),Ae())}function An(t,e,n,r,s,i){const o=e[1],a=o.data[t+8],l=function(t,e,n,r,s){const i=t.providerIndexes,o=e.data,a=1048575&i,l=t.directiveStart,c=i>>20,u=s?a+c:t.directiveEnd;for(let h=r?a:a+c;h=l&&t.type===n)return h}if(s){const t=o[l];if(t&&se(t)&&t.type===n)return l}return null}(a,o,n,null==r?ne(a)&&gn:r!=o&&0!=(3&a.type),s&vt.Host&&i===a);return null!==l?Tn(e,o,l,a):En}function Tn(t,e,n,r){let s=t[n];const i=e.data;if(s instanceof on){const o=s;o.resolving&&function(t,e){throw new ot("200",`Circular dependency in DI detected for ${t}`)}(lt(i[n]));const a=mn(o.canSeeViewProviders);o.resolving=!0;const l=o.injectImpl?bt(o.injectImpl):null;ze(t,r,vt.Default);try{s=t[n]=o.factory(void 0,i,t,r),e.firstCreatePass&&n>=r.directiveStart&&function(t,e,n){const{ngOnChanges:r,ngOnInit:s,ngDoCheck:i}=e.type.prototype;if(r){const r=le(e);(n.preOrderHooks||(n.preOrderHooks=[])).push(t,r),(n.preOrderCheckHooks||(n.preOrderCheckHooks=[])).push(t,r)}s&&(n.preOrderHooks||(n.preOrderHooks=[])).push(0-t,s),i&&((n.preOrderHooks||(n.preOrderHooks=[])).push(t,i),(n.preOrderCheckHooks||(n.preOrderCheckHooks=[])).push(t,i))}(n,i[n],e)}finally{null!==l&&bt(l),mn(a),o.resolving=!1,Ze()}}return s}function Pn(t,e,n){return!!(n[e+(t>>5)]&1<{const e=t.prototype.constructor,n=e[Ut]||Vn(e),r=Object.prototype;let s=Object.getPrototypeOf(t.prototype).constructor;for(;s&&s!==r;){const t=s[Ut]||Vn(s);if(t&&t!==n)return t;s=Object.getPrototypeOf(s)}return t=>new t})}function Vn(t){return it(t)?()=>{const e=Vn(st(t));return e&&e()}:ie(t)}const jn="__parameters__";function Dn(t,e,n){return xt(()=>{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(jn)?t[jn]:Object.defineProperty(t,jn,{value:[]})[jn];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 Nn{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=ut({token:this,providedIn:e.providedIn||"root",factory:e.factory}))}toString(){return`InjectionToken ${this._desc}`}}const Fn=new Nn("AnalyzeForEntryComponents"),Un=Function;function Hn(t,e){t.forEach(t=>Array.isArray(t)?Hn(t,e):e(t))}function Ln(t,e,n){e>=t.length?t.push(n):t.splice(e,0,n)}function zn(t,e){return e>=t.length-1?t.pop():t.splice(e,1)[0]}function $n(t,e,n){let r=Bn(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 qn(t,e){const n=Bn(t,e);if(n>=0)return t[1|n]}function Bn(t,e){return function(t,e,n){let r=0,s=t.length>>1;for(;s!==r;){const n=r+(s-r>>1),i=t[n<<1];if(e===i)return n<<1;i>e?s=n:r=n+1}return~(s<<1)}(t,e)}const Gn={},Zn=/\n/gm,Wn="__source",Qn=X({provide:String,useValue:X});let Kn;function Jn(t){const e=Kn;return Kn=t,e}function Xn(t,e=vt.Default){if(void 0===Kn)throw new Error("inject() must be called from an injection context");return null===Kn?Ct(t,void 0,e):Kn.get(t,e&vt.Optional?null:void 0,e)}function Yn(t,e=vt.Default){return(wt||Xn)(st(t),e)}function tr(t){const e=[];for(let n=0;n({token:t})),-1),rr=er(Dn("Optional"),8),sr=er(Dn("SkipSelf"),4);function ir(t){return t.ngDebugContext}function or(t){return t.ngOriginalError}function ar(t,...e){t.error(...e)}class lr{constructor(){this._console=console}handleError(t){const e=this._findOriginalError(t),n=this._findContext(t),r=function(t){return t.ngErrorLogger||ar}(t);r(this._console,"ERROR",t),e&&r(this._console,"ORIGINAL ERROR",e),n&&r(this._console,"ERROR CONTEXT",n)}_findContext(t){return t?ir(t)?ir(t):this._findContext(or(t)):null}_findOriginalError(t){let e=or(t);for(;e&&or(e);)e=or(e);return e}}function cr(t,e){t.__ngContext__=e}const ur=(()=>("undefined"!=typeof requestAnimationFrame&&requestAnimationFrame||setTimeout).bind(Pt))();function hr(t){return t instanceof Function?t():t}var dr=function(t){return t[t.Important=1]="Important",t[t.DashCase=2]="DashCase",t}({});function pr(t,e){return(void 0)(t,e)}function fr(t){const e=t[3];return te(e)?e[3]:e}function gr(t){return yr(t[13])}function mr(t){return yr(t[4])}function yr(t){for(;null!==t&&!te(t);)t=t[4];return t}function _r(t,e,n,r,s){if(null!=r){let i,o=!1;te(r)?i=r:Yt(r)&&(o=!0,r=r[0]);const a=me(r);0===t&&null!==n?null==s?Or(e,n,a):Sr(e,n,a,s||null,!0):1===t&&null!==n?Sr(e,n,a,s||null,!0):2===t?function(t,e,n){const r=kr(t,e);r&&function(t,e,n,r){fe(t)?t.removeChild(e,n,r):e.removeChild(n)}(t,r,e,n)}(e,a,o):3===t&&e.destroyNode(a),null!=i&&function(t,e,n,r,s){const i=n[7];i!==me(n)&&_r(e,t,r,i,s);for(let o=Xt;o0&&(t[n-1][4]=r[4]);const o=zn(t,Xt+e);Mr(r[1],s=r,s[11],2,null,null),s[0]=null,s[6]=null;const a=o[19];null!==a&&a.detachView(o[1]),r[3]=null,r[4]=null,r[2]&=-129}var s;return r}function Cr(t,e){if(!(256&e[2])){const n=e[11];fe(n)&&n.destroyNode&&Mr(t,e,n,3,null,null),function(t){let e=t[13];if(!e)return xr(t[1],t);for(;e;){let n=null;if(Yt(e))n=e[13];else{const t=e[10];t&&(n=t)}if(!n){for(;e&&!e[4]&&e!==t;)Yt(e)&&xr(e[1],e),e=e[3];null===e&&(e=t),Yt(e)&&xr(e[1],e),n=e&&e[4]}e=n}}(e)}}function xr(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=0?r[s=l]():r[s=-l].unsubscribe(),i+=2}else{const t=r[s=n[i+1]];n[i].call(t)}if(null!==r){for(let t=s+1;ti?"":s[u+1].toLowerCase();const e=8&r?t:null;if(e&&-1!==Nr(e,c,0)||2&r&&c!==t){if($r(r))return!1;o=!0}}}}else{if(!o&&!$r(r)&&!$r(l))return!1;if(o&&$r(l))continue;o=!1,r=l|1&r}}return $r(r)||o}function $r(t){return 0==(1&t)}function qr(t,e,n,r){if(null===e)return-1;let s=0;if(r||!n){let n=!1;for(;s-1)for(n++;n0?'="'+e+'"':"")+"]"}else 8&r?s+="."+o:4&r&&(s+=" "+o);else""===s||$r(o)||(e+=Gr(i,s),s=""),r=o,i=i||!$r(r);n++}return""!==s&&(e+=Gr(i,s)),e}const Wr={};function Qr(t){Kr(Te(),Ae(),Qe()+t,je())}function Kr(t,e,n,r){if(!r)if(3==(3&e[2])){const r=t.preOrderCheckHooks;null!==r&&Ye(e,r,n)}else{const r=t.preOrderHooks;null!==r&&tn(e,r,0,n)}Ke(n)}function Jr(t,e){return t<<17|e<<2}function Xr(t){return t>>17&32767}function Yr(t){return 2|t}function ts(t){return(131068&t)>>2}function es(t,e){return-131069&t|e<<2}function ns(t){return 1|t}function rs(t,e){const n=t.contentQueries;if(null!==n)for(let r=0;rJt&&Kr(t,e,Jt,je()),n(r,s)}finally{Ke(i)}}function hs(t,e,n){ke()&&(function(t,e,n,r){const s=n.directiveStart,i=n.directiveEnd;t.firstCreatePass||_n(n,e),cr(r,e);const o=n.initialInputs;for(let a=s;a0;){const n=t[--e];if("number"==typeof n&&n<0)return n}return 0})(n)!=i&&n.push(i),n.push(r,s,o)}}function _s(t,e){null!==t.hostBindings&&t.hostBindings(1,e)}function vs(t,e){e.flags|=2,(t.components||(t.components=[])).push(e.index)}function ws(t,e,n){if(n){if(e.exportAs)for(let r=0;r0&&As(n)}}function As(t){for(let n=gr(t);null!==n;n=mr(n))for(let t=Xt;t0&&As(e)}const e=t[1].components;if(null!==e)for(let n=0;n0&&As(r)}}function Ts(t,e){const n=we(e,t),r=n[1];!function(t,e){for(let n=e.length;nPromise.resolve(null))();function Ds(t){return t[7]||(t[7]=[])}function Ns(t){return t.cleanup||(t.cleanup=[])}function Fs(t,e){const n=t[9],r=n?n.get(lr,null):null;r&&r.handleError(e)}function Us(t,e,n,r,s){for(let i=0;ithis.processProvider(n,t,e)),Hn([t],t=>this.processInjectorType(t,[],s)),this.records.set(Ls,Ys(void 0,this));const i=this.records.get($s);this.scope=null!=i?i.value:null,this.source=r||("object"==typeof t?null:tt(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=Gn,n=vt.Default){this.assertNotDestroyed();const r=Jn(this);try{if(!(n&vt.SkipSelf)){let e=this.records.get(t);if(void 0===e){const n=("function"==typeof(s=t)||"object"==typeof s&&s instanceof Nn)&&dt(t);e=n&&this.injectableDefInScope(n)?Ys(Js(t),qs):null,this.records.set(t,e)}if(null!=e)return this.hydrate(t,e)}return(n&vt.Self?Ws():this.parent).get(t,e=n&vt.Optional&&e===Gn?null:e)}catch(i){if("NullInjectorError"===i.name){if((i.ngTempTokenPath=i.ngTempTokenPath||[]).unshift(tt(t)),r)throw i;return function(t,e,n,r){const s=t.ngTempTokenPath;throw e[Wn]&&s.unshift(e[Wn]),t.message=function(t,e,n,r=null){t=t&&"\n"===t.charAt(0)&&"\u0275"==t.charAt(1)?t.substr(2):t;let s=tt(e);if(Array.isArray(e))s=e.map(tt).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):tt(r)))}s=`{${t.join(", ")}}`}return`${n}${r?"("+r+")":""}[${s}]: ${t.replace(Zn,"\n ")}`}("\n"+t.message,s,n,r),t.ngTokenPath=s,t.ngTempTokenPath=null,t}(i,t,"R3InjectorError",this.source)}throw i}finally{Jn(r)}var s}_resolveInjectorDefTypes(){this.injectorDefTypes.forEach(t=>this.get(t))}toString(){const t=[];return this.records.forEach((e,n)=>t.push(tt(n))),`R3Injector[${t.join(", ")}]`}assertNotDestroyed(){if(this._destroyed)throw new Error("Injector has already been destroyed.")}processInjectorType(t,e,n){if(!(t=st(t)))return!1;let r=ft(t);const s=null==r&&t.ngModule||void 0,i=void 0===s?t:s,o=-1!==n.indexOf(i);if(void 0!==s&&(r=ft(s)),null==r)return!1;if(null!=r.imports&&!o){let t;n.push(i);try{Hn(r.imports,r=>{this.processInjectorType(r,e,n)&&(void 0===t&&(t=[]),t.push(r))})}finally{}if(void 0!==t)for(let e=0;ethis.processProvider(t,n,r||Gs))}}this.injectorDefTypes.add(i);const a=ie(i)||(()=>new i);this.records.set(i,Ys(a,qs));const l=r.providers;if(null!=l&&!o){const e=t;Hn(l,t=>this.processProvider(t,e,l))}return void 0!==s&&void 0!==t.providers}processProvider(t,e,n){let r=ei(t=st(t))?t:st(t&&t.provide);const s=function(t,e,n){return ti(t)?Ys(void 0,t.useValue):Ys(Xs(t),qs)}(t);if(ei(t)||!0!==t.multi)this.records.get(r);else{let e=this.records.get(r);e||(e=Ys(void 0,qs,!0),e.factory=()=>tr(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===qs&&(e.value=Bs,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){return!!t.providedIn&&("string"==typeof t.providedIn?"any"===t.providedIn||t.providedIn===this.scope:this.injectorDefTypes.has(t.providedIn))}}function Js(t){const e=dt(t),n=null!==e?e.factory:ie(t);if(null!==n)return n;if(t instanceof Nn)throw new Error(`Token ${tt(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;rn.factory(t):()=>new t}(t);throw new Error("unreachable")}function Xs(t,e,n){let r;if(ei(t)){const e=st(t);return ie(e)||Js(e)}if(ti(t))r=()=>st(t.useValue);else if((s=t)&&s.useFactory)r=()=>t.useFactory(...tr(t.deps||[]));else if(function(t){return!(!t||!t.useExisting)}(t))r=()=>Yn(st(t.useExisting));else{const e=st(t&&(t.useClass||t.provide));if(!function(t){return!!t.deps}(t))return ie(e)||Js(e);r=()=>new e(...tr(t.deps))}var s;return r}function Ys(t,e,n=!1){return{factory:t,value:e,multi:n?[]:void 0}}function ti(t){return null!==t&&"object"==typeof t&&Qn in t}function ei(t){return"function"==typeof t}const ni=function(t,e,n){return function(t,e=null,n=null,r){const s=Qs(t,e,n,r);return s._resolveInjectorDefTypes(),s}({name:n},e,t,n)};let ri=(()=>{class t{static create(t,e){return Array.isArray(t)?ni(t,e,""):ni(t.providers,t.parent,t.name||"")}}return t.THROW_IF_NOT_FOUND=Gn,t.NULL=new zs,t.\u0275prov=ut({token:t,providedIn:"any",factory:()=>Yn(Ls)}),t.__NG_ELEMENT_ID__=-1,t})();function si(t,e){Xe(be(t)[1],Re())}function ii(t){let e=Object.getPrototypeOf(t.type.prototype).constructor,n=!0;const r=[t];for(;e;){let s;if(se(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=oi(t.inputs),e.declaredInputs=oi(t.declaredInputs),e.outputs=oi(t.outputs);const n=s.hostBindings;n&&ci(t,n);const i=s.viewQuery,o=s.contentQueries;if(i&&ai(t,i),o&&li(t,o),Y(t.inputs,s.inputs),Y(t.declaredInputs,s.declaredInputs),Y(t.outputs,s.outputs),se(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=0;r--){const s=t[r];s.hostVars=e+=s.hostVars,s.hostAttrs=un(s.hostAttrs,n=un(n,s.hostAttrs))}}(r)}function oi(t){return t===Rt?{}:t===Mt?[]:t}function ai(t,e){const n=t.viewQuery;t.viewQuery=n?(t,r)=>{e(t,r),n(t,r)}:e}function li(t,e){const n=t.contentQueries;t.contentQueries=n?(t,r,s)=>{e(t,r,s),n(t,r,s)}:e}function ci(t,e){const n=t.hostBindings;t.hostBindings=n?(t,r)=>{e(t,r),n(t,r)}:e}let ui=null;function hi(){if(!ui){const t=Pt.Symbol;if(t&&t.iterator)ui=t.iterator;else{const t=Object.getOwnPropertyNames(Map.prototype);for(let e=0;ea(me(t[r.index])).target:r.index;if(fe(n)){let o=null;if(!a&&l&&(o=function(t,e,n,r){const s=t.cleanup;if(null!=s)for(let i=0;in?t[n]:null}"string"==typeof t&&(i+=2)}return null}(t,e,s,r.index)),null!==o)(o.__ngLastListenerFn__||o).__ngNextListenerFn__=i,o.__ngLastListenerFn__=i,h=!1;else{i=Ai(r,e,0,i,!1);const t=n.listen(p.name||f,s,i);u.push(i,t),c&&c.push(s,m,g,g+1)}}else i=Ai(r,e,0,i,!0),f.addEventListener(s,i,o),u.push(i),c&&c.push(s,m,g,o)}else i=Ai(r,e,0,i,!1);const d=r.outputs;let p;if(h&&null!==d&&(p=d[s])){const t=p.length;if(t)for(let n=0;n0;)e=e[15],t--;return e}(t,Ee.lFrame.contextLView))[8]}(t)}function Pi(t,e,n,r,s){const i=t[n+1],o=null===e;let a=r?Xr(i):ts(i),l=!1;for(;0!==a&&(!1===l||o);){const n=t[a+1];Ri(t[a],e)&&(l=!0,t[a+1]=r?ns(n):Yr(n)),a=r?Xr(n):ts(n)}l&&(t[n+1]=r?Yr(i):ns(i))}function Ri(t,e){return null===t||null==e||(Array.isArray(t)?t[1]:t)===e||!(!Array.isArray(t)||"string"!=typeof e)&&Bn(t,e)>=0}function Ii(t,e){return function(t,e,n,r){const s=Ae(),i=Te(),o=function(t){const e=Ee.lFrame,n=e.bindingIndex;return e.bindingIndex=e.bindingIndex+2,n}();i.firstUpdatePass&&function(t,e,n,r){const s=t.data;if(null===s[n+1]){const i=s[Qe()],o=function(t,e){return e>=t.expandoStartIndex}(t,n);(function(t,e){return 0!=(16&t.flags)})(i)&&null===e&&!o&&(e=!1),e=function(t,e,n,r){const s=function(t){const e=Ee.lFrame.currentDirectiveIndex;return-1===e?null:t[e]}(t);let i=e.residualClasses;if(null===s)0===e.classBindings&&(n=Vi(n=Mi(null,t,e,n,r),e.attrs,r),i=null);else{const o=e.directiveStylingLast;if(-1===o||t[o]!==s)if(n=Mi(s,t,e,n,r),null===i){let n=function(t,e,n){const r=e.classBindings;if(0!==ts(r))return t[Xr(r)]}(t,e);void 0!==n&&Array.isArray(n)&&(n=Mi(null,t,e,n[1],r),n=Vi(n,e.attrs,r),function(t,e,n,r){t[Xr(e.classBindings)]=r}(t,e,0,n))}else i=function(t,e,n){let r;const s=e.directiveEnd;for(let i=1+e.directiveStylingLast;i0)&&(u=!0)}else c=n;if(s)if(0!==l){const e=Xr(t[a+1]);t[r+1]=Jr(e,a),0!==e&&(t[e+1]=es(t[e+1],r)),t[a+1]=131071&t[a+1]|r<<17}else t[r+1]=Jr(a,0),0!==a&&(t[a+1]=es(t[a+1],r)),a=r;else t[r+1]=Jr(l,0),0===a?a=r:t[l+1]=es(t[l+1],r),l=r;u&&(t[r+1]=Yr(t[r+1])),Pi(t,c,r,!0),Pi(t,c,r,!1),function(t,e,n,r,s){const i=t.residualClasses;null!=i&&"string"==typeof e&&Bn(i,e)>=0&&(n[r+1]=ns(n[r+1]))}(e,c,t,r),o=Jr(a,l),e.classBindings=o}(s,i,e,n,o)}}(i,t,o,true),e!==Wr&&fi(s,o,e)&&function(t,e,n,r,s,i,o,a){if(!(3&e.type))return;const l=t.data,c=l[a+1];Di(1==(1&c)?ji(l,e,n,s,ts(c),o):void 0)||(Di(i)||function(t){return 2==(2&t)}(c)&&(i=ji(l,null,n,s,a,o)),function(t,e,n,r,s){const i=fe(t);s?i?t.addClass(n,r):n.classList.add(r):i?t.removeClass(n,r):n.classList.remove(r)}(r,0,ye(Qe(),n),s,i))}(i,i.data[Qe()],s,s[11],t,s[o+1]=function(t,e){return null==t||"object"==typeof t&&(t=tt(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,o)}(t,e),Ii}function Mi(t,e,n,r,s){let i=null;const o=n.directiveEnd;let a=n.directiveStylingLast;for(-1===a?a=n.directiveStart:a++;a0;){const e=t[s],i=Array.isArray(e),l=i?e[1]:e,c=null===l;let u=n[s+1];u===Wr&&(u=c?It:void 0);let h=c?qn(u,r):l===r?u:void 0;if(i&&!Di(h)&&(h=qn(e,r)),Di(h)&&(a=h,o))return a;const d=t[s+1];s=o?Xr(d):ts(d)}if(null!==e){let t=i?e.residualClasses:e.residualStyles;null!=t&&(a=qn(t,r))}return a}function Di(t){return void 0!==t}function Ni(t,e=""){const n=Ae(),r=Te(),s=t+Jt,i=r.firstCreatePass?is(r,s,1,e,null):r.data[s],o=n[s]=function(t,e){return fe(t)?t.createText(e):t.createTextNode(e)}(n[11],e);Ar(r,n,o,i),Me(i,!1)}function Fi(t){return Ui("",t,""),Fi}function Ui(t,e,n){const r=Ae(),s=function(t,e,n,r){return fi(t,Ne(),n)?e+at(n)+r:Wr}(r,t,e,n);return s!==Wr&&function(t,e,n){const r=ye(e,t);!function(t,e,n){fe(t)?t.setValue(e,n):e.textContent=n}(t[11],r,n)}(r,Qe(),s),Ui}const Hi=void 0;var Li=["en",[["a","p"],["AM","PM"],Hi],[["AM","PM"],Hi,Hi],[["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"]],Hi,[["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"]],Hi,[["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}",Hi,"{1} 'at' {0}",Hi],[".",",",";","%","+","-","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 zi={};function $i(t){return t in zi||(zi[t]=Pt.ng&&Pt.ng.common&&Pt.ng.common.locales&&Pt.ng.common.locales[t]),zi[t]}var qi=function(t){return t[t.LocaleId=0]="LocaleId",t[t.DayPeriodsFormat=1]="DayPeriodsFormat",t[t.DayPeriodsStandalone=2]="DayPeriodsStandalone",t[t.DaysFormat=3]="DaysFormat",t[t.DaysStandalone=4]="DaysStandalone",t[t.MonthsFormat=5]="MonthsFormat",t[t.MonthsStandalone=6]="MonthsStandalone",t[t.Eras=7]="Eras",t[t.FirstDayOfWeek=8]="FirstDayOfWeek",t[t.WeekendRange=9]="WeekendRange",t[t.DateFormat=10]="DateFormat",t[t.TimeFormat=11]="TimeFormat",t[t.DateTimeFormat=12]="DateTimeFormat",t[t.NumberSymbols=13]="NumberSymbols",t[t.NumberFormats=14]="NumberFormats",t[t.CurrencyCode=15]="CurrencyCode",t[t.CurrencySymbol=16]="CurrencySymbol",t[t.CurrencyName=17]="CurrencyName",t[t.Currencies=18]="Currencies",t[t.Directionality=19]="Directionality",t[t.PluralCase=20]="PluralCase",t[t.ExtraData=21]="ExtraData",t}({});const Bi="en-US";let Gi=Bi;function Zi(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&&(Gi=t.toLowerCase().replace(/_/g,"-"))}function Wi(t,e,n,r,s){if(t=st(t),Array.isArray(t))for(let i=0;i>20;if(ei(t)||!t.multi){const r=new on(l,s,yi),p=Ji(a,e,s?u:u+d,h);-1===p?(Cn(_n(c,o),i,a),Qi(i,t,e.length),e.push(a),c.directiveStart++,c.directiveEnd++,s&&(c.providerIndexes+=1048576),n.push(r),o.push(r)):(n[p]=r,o[p]=r)}else{const p=Ji(a,e,u+d,h),f=Ji(a,e,u,u+d),g=p>=0&&n[p],m=f>=0&&n[f];if(s&&!m||!s&&!g){Cn(_n(c,o),i,a);const u=function(t,e,n,r,s){const i=new on(t,n,yi);return i.multi=[],i.index=e,i.componentProviders=0,Ki(i,s,r&&!n),i}(s?Yi:Xi,n.length,s,r,l);!s&&m&&(n[f].providerFactory=u),Qi(i,t,e.length,0),e.push(a),c.directiveStart++,c.directiveEnd++,s&&(c.providerIndexes+=1048576),n.push(u),o.push(u)}else Qi(i,t,p>-1?p:f,Ki(n[s?f:p],l,!s&&r));!s&&r&&m&&n[f].componentProviders++}}}function Qi(t,e,n,r){const s=ei(e);if(s||e.useClass){const i=(e.useClass||e).prototype.ngOnDestroy;if(i){const o=t.destroyHooks||(t.destroyHooks=[]);if(!s&&e.multi){const t=o.indexOf(n);-1===t?o.push(n,[r,i]):o[t+1].push(r,i)}else o.push(n,i)}}}function Ki(t,e,n){return n&&t.componentProviders++,t.multi.push(e)-1}function Ji(t,e,n,r){for(let s=n;s{n.providersResolver=(n,r)=>function(t,e,n){const r=Te();if(r.firstCreatePass){const s=se(t);Wi(n,r.data,r.blueprint,s,!0),Wi(e,r.data,r.blueprint,s,!1)}}(n,r?r(t):t,e)}}class no{}class ro{resolveComponentFactory(t){throw function(t){const e=Error(`No component factory found for ${tt(t)}. Did you add it to @NgModule.entryComponents?`);return e.ngComponent=t,e}(t)}}let so=(()=>{class t{}return t.NULL=new ro,t})();function io(...t){}function oo(t,e){return new lo(_e(t,e))}const ao=function(){return oo(Re(),Ae())};let lo=(()=>{class t{constructor(t){this.nativeElement=t}}return t.__NG_ELEMENT_ID__=ao,t})();class co{}let uo=(()=>{class t{}return t.__NG_ELEMENT_ID__=()=>ho(),t})();const ho=function(){const t=Ae(),e=we(Re().index,t);return function(t){return t[11]}(Yt(e)?e:t)};let po=(()=>{class t{}return t.\u0275prov=ut({token:t,providedIn:"root",factory:()=>null}),t})();class fo{constructor(t){this.full=t,this.major=t.split(".")[0],this.minor=t.split(".")[1],this.patch=t.split(".").slice(2).join(".")}}const go=new fo("11.2.11");class mo{constructor(){}supports(t){return di(t)}create(t){return new _o(t)}}const yo=(t,e)=>e;class _o{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||yo}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 i=!n||e&&e.currentIndex{r=this._trackByFn(e,t),null!==s&&Object.is(s.trackById,r)?(i&&(s=this._verifyReinsertion(s,t,r,e)),Object.is(s.item,t)||this._addIdentityChange(s,t)):(s=this._mismatch(s,t,r,e),i=!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 vo(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 bo),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 bo),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 vo{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 wo{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 bo{constructor(){this.map=new Map}put(t){const e=t.trackById;let n=this.map.get(e);n||(n=new wo,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 Co(t,e,n){const r=t.previousIndex;if(null===r)return r;let s=0;return n&&r{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 Oo(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 Oo{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 Eo(){return new ko([new mo])}let ko=(()=>{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||Eo()),deps:[[t,new sr,new rr]]}}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=ut({token:t,providedIn:"root",factory:Eo}),t})();function Ao(){return new To([new xo])}let To=(()=>{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||Ao()),deps:[[t,new sr,new rr]]}}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=ut({token:t,providedIn:"root",factory:Ao}),t})();function Po(t,e,n,r,s=!1){for(;null!==n;){const i=e[n.index];if(null!==i&&r.push(me(i)),te(i))for(let t=Xt;t-1&&(br(t,n),zn(e,n))}this._attachedToViewContainer=!1}Cr(this._lView[1],this._lView)}onDestroy(t){!function(t,e,n,r){const s=Ds(e);s.push(r)}(0,this._lView,0,t)}markForCheck(){Rs(this._cdRefInjectingView||this._lView)}detach(){this._lView[2]&=-129}reattach(){this._lView[2]|=128}detectChanges(){Is(this._lView[1],this._lView,this.context)}checkNoChanges(){!function(t,e,n){De(!0);try{Is(t,e,n)}finally{De(!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,Mr(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 Io extends Ro{constructor(t){super(t),this._view=t}detectChanges(){Ms(this._view)}checkNoChanges(){!function(t){De(!0);try{Ms(t)}finally{De(!1)}}(this._view)}get context(){return null}}const Mo=function(t=!1){return function(t,e,n){if(!n&&ne(t)){const n=we(t.index,e);return new Ro(n,n)}return 47&t.type?new Ro(e[16],e):null}(Re(),Ae(),t)};let Vo=(()=>{class t{}return t.__NG_ELEMENT_ID__=Mo,t.__ChangeDetectorRef__=!0,t})();const jo=[new xo],Do=new ko([new mo]),No=new To(jo),Fo=function(){return t=Re(),e=Ae(),4&t.type?new Lo(e,t,oo(t,e)):null;var t,e};let Uo=(()=>{class t{}return t.__NG_ELEMENT_ID__=Fo,t})();const Ho=Uo,Lo=class extends Ho{constructor(t,e,n){super(),this._declarationLView=t,this._declarationTContainer=e,this.elementRef=n}createEmbeddedView(t){const e=this._declarationTContainer.tViews,n=ss(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)),as(e,n,t),new Ro(n)}};class zo{}class $o{}const qo=function(){return function(t,e){let n;const r=e[t.index];if(te(r))n=r;else{let s;if(8&t.type)s=me(r);else{const n=e[11];s=n.createComment("");const r=_e(t,e);Sr(n,kr(n,r),s,function(t,e){return fe(t)?t.nextSibling(e):e.nextSibling}(n,r),!1)}e[t.index]=n=Es(r,e,s,t),Ps(e,n)}return new Zo(n,t,e)}(Re(),Ae())};let Bo=(()=>{class t{}return t.__NG_ELEMENT_ID__=qo,t})();const Go=Bo,Zo=class extends Go{constructor(t,e,n){super(),this._lContainer=t,this._hostTNode=e,this._hostLView=n}get element(){return oo(this._hostTNode,this._hostLView)}get injector(){return new In(this._hostTNode,this._hostLView)}get parentInjector(){const t=bn(this._hostTNode,this._hostLView);if(dn(t)){const e=fn(t,this._hostLView),n=pn(t);return new In(e[1].data[n+8],e)}return new In(null,this._hostLView)}clear(){for(;this.length>0;)this.remove(this.length-1)}get(t){const e=Wo(this._lContainer);return null!==e&&e[t]||null}get length(){return this._lContainer.length-Xt}createEmbeddedView(t,e,n){const r=t.createEmbeddedView(e||{});return this.insert(r,n),r}createComponent(t,e,n,r,s){const i=n||this.parentInjector;if(!s&&null==t.ngModule&&i){const t=i.get(zo,null);t&&(s=t)}const o=t.create(i,r,void 0,s);return this.insert(o.hostView,e),o}insert(t,e){const n=t._lView,r=n[1];if(te(n[3])){const e=this.indexOf(t);if(-1!==e)this.detach(e);else{const e=n[3],r=new Zo(e,e[6],e[3]);r.detach(r.indexOf(t))}}const s=this._adjustIndex(e),i=this._lContainer;!function(t,e,n,r){const s=Xt+r,i=n.length;r>0&&(n[s-1][4]=e),rur});class ta extends no{constructor(t,e){super(),this.componentDef=t,this.ngModule=e,this.componentType=t.type,this.selector=t.selectors.map(Zr).join(","),this.ngContentSelectors=t.ngContentSelectors?t.ngContentSelectors:[],this.isBoundToModule=!!e}get inputs(){return Xo(this.componentDef.inputs)}get outputs(){return Xo(this.componentDef.outputs)}create(t,e,n,r){const s=(r=r||this.ngModule)?function(t,e){return{get:(n,r,s)=>{const i=t.get(n,Ko,s);return i!==Ko||r===Ko?i:e.get(n,r,s)}}}(t,r.injector):t,i=s.get(co,ge),o=s.get(po,null),a=i.createRenderer(null,this.componentDef),l=this.componentDef.selectors[0][0]||"div",c=n?function(t,e,n){if(fe(t))return t.selectRootElement(e,n===Ot.ShadowDom);let r="string"==typeof e?t.querySelector(e):e;return r.textContent="",r}(a,n,this.componentDef.encapsulation):vr(i.createRenderer(null,this.componentDef),l,function(t){const e=t.toLowerCase();return"svg"===e?de:"math"===e?"http://www.w3.org/1998/MathML/":null}(l)),u=this.componentDef.onPush?576:528,h={components:[],scheduler:ur,clean:js,playerHandler:null,flags:0},d=fs(0,null,null,1,0,null,null,null,null,null),p=ss(null,d,h,u,null,null,i,a,o,s);let f,g;$e(p);try{const t=function(t,e,n,r,s,i){const o=n[1];n[20]=t;const a=is(o,20,2,"#host",null),l=a.mergedAttrs=e.hostAttrs;null!==l&&(Hs(a,l,!0),null!==t&&(an(s,t,l),null!==a.classes&&Dr(s,t,a.classes),null!==a.styles&&jr(s,t,a.styles)));const c=r.createRenderer(t,e),u=ss(n,ps(e),null,e.onPush?64:16,n[20],a,r,c,null,null);return o.firstCreatePass&&(Cn(_n(a,n),o,e.type),vs(o,a),bs(a,n.length,1)),Ps(n,u),n[20]=u}(c,this.componentDef,p,i,a);if(c)if(n)an(a,c,["ng-version",go.full]);else{const{attrs:t,classes:e}=function(t){const e=[],n=[];let r=1,s=2;for(;r0&&Dr(a,c,e.join(" "))}if(g=ve(d,Jt),void 0!==e){const t=g.projection=[];for(let n=0;nt(o,e)),e.contentQueries){const t=Re();e.contentQueries(1,o,t.directiveStart)}const a=Re();return!i.firstCreatePass||null===e.hostBindings&&null===e.hostAttrs||(Ke(a.index),ys(n[1],a,0,a.directiveStart,a.directiveEnd,e),_s(e,o)),o}(t,this.componentDef,p,h,[si]),as(d,p,null)}finally{We()}return new ea(this.componentType,f,oo(g,p),p,g)}}class ea 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 Io(r),this.componentType=t}get injector(){return new In(this._tNode,this._rootLView)}destroy(){this.hostView.destroy()}onDestroy(t){this.hostView.onDestroy(t)}}const na=new Map;class ra extends zo{constructor(t,e){super(),this._parent=e,this._bootstrapComponents=[],this.injector=this,this.destroyCbs=[],this.componentFactoryResolver=new Jo(this);const n=Kt(t),r=t[Ft]||null;r&&Zi(r),this._bootstrapComponents=hr(n.bootstrap),this._r3Injector=Qs(t,e,[{provide:zo,useValue:this},{provide:so,useValue:this.componentFactoryResolver}],tt(t)),this._r3Injector._resolveInjectorDefTypes(),this.instance=this.get(t)}get(t,e=ri.THROW_IF_NOT_FOUND,n=vt.Default){return t===ri||t===zo||t===Ls?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 sa extends $o{constructor(t){super(),this.moduleType=t,null!==Kt(t)&&function(t){const e=new Set;!function t(n){const r=Kt(n,!0),s=r.id;null!==s&&(function(t,e,n){if(e&&e!==n)throw new Error(`Duplicate module registered for ${t} - ${tt(e)} vs ${tt(e.name)}`)}(s,na.get(s),n),na.set(s,n));const i=hr(r.imports);for(const o of i)e.has(o)||(e.add(o),t(o))}(t)}(t)}create(t){return new ra(this.moduleType,t)}}function ia(t,e,n,r){return function(t,e,n,r,s,i){const o=e+n;return fi(t,o,s)?function(t,e,n){return t[e]=n}(t,o+1,i?r.call(i,s):r(s)):function(t,e){const n=t[e];return n===Wr?void 0:n}(t,o+1)}(Ae(),function(){const t=Ee.lFrame;let e=t.bindingRootIndex;return-1===e&&(e=t.bindingRootIndex=t.tView.bindingStartIndex),e}(),t,e,n,r)}function oa(t){return e=>{setTimeout(t,void 0,e)}}const aa=class extends x{constructor(t=!1){super(),this.__isAsync=t}emit(t){super.next(t)}subscribe(t,e,n){var r,s,i;let o=t,a=e||(()=>null),l=n;if(t&&"object"==typeof t){const e=t;o=null===(r=e.next)||void 0===r?void 0:r.bind(e),a=null===(s=e.error)||void 0===s?void 0:s.bind(e),l=null===(i=e.complete)||void 0===i?void 0:i.bind(e)}this.__isAsync&&(a=oa(a),o&&(o=oa(o)),l&&(l=oa(l)));const c=super.subscribe({next:o,error:a,complete:l});return t instanceof h&&t.add(c),c}},la=new Nn("Application Initializer");let ca=(()=>{class t{constructor(t){this.appInits=t,this.resolve=io,this.reject=io,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{e()}).catch(t=>{this.reject(t)}),0===t.length&&e(),this.initialized=!0}}return t.\u0275fac=function(e){return new(e||t)(Yn(la,8))},t.\u0275prov=ut({token:t,factory:t.\u0275fac}),t})();const ua=new Nn("AppId"),ha={provide:ua,useFactory:function(){return`${da()}${da()}${da()}`},deps:[]};function da(){return String.fromCharCode(97+Math.floor(25*Math.random()))}const pa=new Nn("Platform Initializer"),fa=new Nn("Platform ID"),ga=new Nn("appBootstrapListener");let ma=(()=>{class t{log(t){console.log(t)}warn(t){console.warn(t)}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275prov=ut({token:t,factory:t.\u0275fac}),t})();const ya=new Nn("LocaleId"),_a=new Nn("DefaultCurrencyCode");class va{constructor(t,e){this.ngModuleFactory=t,this.componentFactories=e}}const wa=function(t){return new sa(t)},ba=wa,Ca=function(t){return Promise.resolve(wa(t))},xa=function(t){const e=wa(t),n=hr(Kt(t).declarations).reduce((t,e)=>{const n=Qt(e);return n&&t.push(new ta(n)),t},[]);return new va(e,n)},Sa=xa,Oa=function(t){return Promise.resolve(xa(t))};let Ea=(()=>{class t{constructor(){this.compileModuleSync=ba,this.compileModuleAsync=Ca,this.compileModuleAndAllComponentsSync=Sa,this.compileModuleAndAllComponentsAsync=Oa}clearCache(){}clearCacheFor(t){}getModuleId(t){}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275prov=ut({token:t,factory:t.\u0275fac}),t})();const ka=(()=>Promise.resolve(0))();function Aa(t){"undefined"==typeof Zone?ka.then(()=>{t&&t.apply(null,null)}):Zone.current.scheduleMicroTask("scheduleMicrotask",t)}class Ta{constructor({enableLongStackTrace:t=!1,shouldCoalesceEventChangeDetection:e=!1,shouldCoalesceRunChangeDetection:n=!1}){if(this.hasPendingMacrotasks=!1,this.hasPendingMicrotasks=!1,this.isStable=!0,this.onUnstable=new aa(!1),this.onMicrotaskEmpty=new aa(!1),this.onStable=new aa(!1),this.onError=new aa(!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=Pt.requestAnimationFrame,e=Pt.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){-1===t.lastRequestAnimationFrameId&&(t.lastRequestAnimationFrameId=t.nativeRequestAnimationFrame.call(Pt,()=>{t.fakeTopEventTask||(t.fakeTopEventTask=Zone.root.scheduleEventTask("fakeTopEventTask",()=>{t.lastRequestAnimationFrameId=-1,Ia(t),Ra(t)},void 0,()=>{},()=>{})),t.fakeTopEventTask.invoke()}),Ia(t))}(t)};t._inner=t._inner.fork({name:"angular",properties:{isAngularZone:!0},onInvokeTask:(n,r,s,i,o,a)=>{try{return Ma(t),n.invokeTask(s,i,o,a)}finally{(t.shouldCoalesceEventChangeDetection&&"eventTask"===i.type||t.shouldCoalesceRunChangeDetection)&&e(),Va(t)}},onInvoke:(n,r,s,i,o,a,l)=>{try{return Ma(t),n.invoke(s,i,o,a,l)}finally{t.shouldCoalesceRunChangeDetection&&e(),Va(t)}},onHasTask:(e,n,r,s)=>{e.hasTask(r,s),n===r&&("microTask"==s.change?(t._hasPendingMicrotasks=s.microTask,Ia(t),Ra(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(!Ta.isInAngularZone())throw new Error("Expected to be in Angular Zone, but it is not!")}static assertNotInAngularZone(){if(Ta.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,i=s.scheduleEventTask("NgZoneEvent: "+r,t,Pa,io,io);try{return s.runTask(i,e,n)}finally{s.cancelTask(i)}}runGuarded(t,e,n){return this._inner.runGuarded(t,e,n)}runOutsideAngular(t){return this._outer.run(t)}}const Pa={};function Ra(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 Ia(t){t.hasPendingMicrotasks=!!(t._hasPendingMicrotasks||(t.shouldCoalesceEventChangeDetection||t.shouldCoalesceRunChangeDetection)&&-1!==t.lastRequestAnimationFrameId)}function Ma(t){t._nesting++,t.isStable&&(t.isStable=!1,t.onUnstable.emit(null))}function Va(t){t._nesting--,Ra(t)}class ja{constructor(){this.hasPendingMicrotasks=!1,this.hasPendingMacrotasks=!1,this.isStable=!0,this.onUnstable=new aa,this.onMicrotaskEmpty=new aa,this.onStable=new aa,this.onError=new aa}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 Da=(()=>{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:()=>{Ta.assertNotInAngularZone(),Aa(()=>{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())Aa(()=>{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/dist/task-tracking.js" 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)(Yn(Ta))},t.\u0275prov=ut({token:t,factory:t.\u0275fac}),t})(),Na=(()=>{class t{constructor(){this._applications=new Map,Ha.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 Ha.findTestabilityInTree(this,t,e)}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275prov=ut({token:t,factory:t.\u0275fac}),t})();class Fa{addToWindow(t){}findTestabilityInTree(t,e,n){return null}}let Ua,Ha=new Fa,La=!0,za=!1;const $a=new Nn("AllowMultipleToken");class qa{constructor(t,e){this.name=t,this.token=e}}function Ba(t,e,n=[]){const r=`Platform: ${e}`,s=new Nn(r);return(e=[])=>{let i=Ga();if(!i||i.injector.get($a,!1))if(t)t(n.concat(e).concat({provide:s,useValue:!0}));else{const t=n.concat(e).concat({provide:s,useValue:!0},{provide:$s,useValue:"platform"});!function(t){if(Ua&&!Ua.destroyed&&!Ua.injector.get($a,!1))throw new Error("There can be only one platform. Destroy the previous one to create a new one.");Ua=t.get(Za);const e=t.get(pa,null);e&&e.forEach(t=>t())}(ri.create({providers:t,name:r}))}return function(t){const e=Ga();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 Ga(){return Ua&&!Ua.destroyed?Ua:null}let Za=(()=>{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 ja:("zone.js"===t?void 0:t)||new Ta({enableLongStackTrace:(za=!0,La),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:Ta,useValue:n}];return n.run(()=>{const e=ri.create({providers:r,parent:this.injector,name:t.moduleType.name}),s=t.create(e),i=s.injector.get(lr,null);if(!i)throw new Error("No ErrorHandler. Is platform module (BrowserModule) included?");return n.runOutsideAngular(()=>{const t=n.onError.subscribe({next:t=>{i.handleError(t)}});s.onDestroy(()=>{Ka(this._modules,s),t.unsubscribe()})}),function(t,e,n){try{const r=n();return Si(r)?r.catch(n=>{throw e.runOutsideAngular(()=>t.handleError(n)),n}):r}catch(r){throw e.runOutsideAngular(()=>t.handleError(r)),r}}(i,n,()=>{const t=s.injector.get(ca);return t.runInitializers(),t.donePromise.then(()=>(Zi(s.injector.get(ya,Bi)||Bi),this._moduleDoBootstrap(s),s))})})}bootstrapModule(t,e=[]){const n=Wa({},e);return function(t,e,n){const r=new sa(n);return Promise.resolve(r)}(0,0,t).then(t=>this.bootstrapModuleFactory(t,n))}_moduleDoBootstrap(t){const e=t.injector.get(Qa);if(t._bootstrapComponents.length>0)t._bootstrapComponents.forEach(t=>e.bootstrap(t));else{if(!t.instance.ngDoBootstrap)throw new Error(`The module ${tt(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)(Yn(ri))},t.\u0275prov=ut({token:t,factory:t.\u0275fac}),t})();function Wa(t,e){return Array.isArray(e)?e.reduce(Wa,t):Object.assign(Object.assign({},t),e)}let Qa=(()=>{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 i=new _(t=>{this._stable=this._zone.isStable&&!this._zone.hasPendingMacrotasks&&!this._zone.hasPendingMicrotasks,this._zone.runOutsideAngular(()=>{t.next(this._stable),t.complete()})}),o=new _(t=>{let e;this._zone.runOutsideAngular(()=>{e=this._zone.onStable.subscribe(()=>{Ta.assertNotInAngularZone(),Aa(()=>{this._stable||this._zone.hasPendingMacrotasks||this._zone.hasPendingMicrotasks||(this._stable=!0,t.next(!0))})})});const n=this._zone.onUnstable.subscribe(()=>{Ta.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 O(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]:$(e)(q(t,n))}(i,o.pipe(t=>{return B()((e=J,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 no?t:this._componentFactoryResolver.resolveComponentFactory(t),this.componentTypes.push(n.componentType);const r=n.isBoundToModule?void 0:this._injector.get(zo),s=n.create(ri.NULL,[],e||n.selector,r),i=s.location.nativeElement,o=s.injector.get(Da,null),a=o&&s.injector.get(Na);return o&&a&&a.registerApplication(i,o),s.onDestroy(()=>{this.detachView(s.hostView),Ka(this.components,s),a&&a.unregisterApplication(i)}),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;Ka(this._views,e),e.detachFromAppRef()}_loadComponent(t){this.attachView(t.hostView),this.tick(),this.components.push(t),this._injector.get(ga,[]).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)(Yn(Ta),Yn(ri),Yn(lr),Yn(so),Yn(ca))},t.\u0275prov=ut({token:t,factory:t.\u0275fac}),t})();function Ka(t,e){const n=t.indexOf(e);n>-1&&t.splice(n,1)}class Ja{}class Xa{}const Ya={factoryPathPrefix:"",factoryPathSuffix:".ngfactory"};let tl=(()=>{class t{constructor(t,e){this._compiler=t,this._config=e||Ya}load(t){return this.loadAndCompile(t)}loadAndCompile(t){let[e,r]=t.split("#");return void 0===r&&(r="default"),n("zn8P")(e).then(t=>t[r]).then(t=>el(t,e,r)).then(t=>this._compiler.compileModuleAsync(t))}loadFactory(t){let[e,r]=t.split("#"),s="NgFactory";return void 0===r&&(r="default",s=""),n("zn8P")(this._config.factoryPathPrefix+e+this._config.factoryPathSuffix).then(t=>t[r+s]).then(t=>el(t,e,r))}}return t.\u0275fac=function(e){return new(e||t)(Yn(Ea),Yn(Xa,8))},t.\u0275prov=ut({token:t,factory:t.\u0275fac}),t})();function el(t,e,n){if(!t)throw new Error(`Cannot find '${n}' in '${e}'`);return t}const nl=Ba(null,"core",[{provide:fa,useValue:"unknown"},{provide:Za,deps:[ri]},{provide:Na,deps:[]},{provide:ma,deps:[]}]),rl=[{provide:Qa,useClass:Qa,deps:[Ta,ri,lr,so,ca]},{provide:Yo,deps:[Ta],useFactory:function(t){let e=[];return t.onStable.subscribe(()=>{for(;e.length;)e.pop()()}),function(t){e.push(t)}}},{provide:ca,useClass:ca,deps:[[new rr,la]]},{provide:Ea,useClass:Ea,deps:[]},ha,{provide:ko,useFactory:function(){return Do},deps:[]},{provide:To,useFactory:function(){return No},deps:[]},{provide:ya,useFactory:function(t){return Zi(t=t||"undefined"!=typeof $localize&&$localize.locale||Bi),t},deps:[[new nr(ya),new rr,new sr]]},{provide:_a,useValue:"USD"}];let sl=(()=>{class t{constructor(t){}}return t.\u0275fac=function(e){return new(e||t)(Yn(Qa))},t.\u0275mod=Gt({type:t}),t.\u0275inj=ht({providers:rl}),t})(),il=null;function ol(){return il}const al=new Nn("DocumentToken");let ll=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275prov=ut({factory:cl,token:t,providedIn:"platform"}),t})();function cl(){return Yn(hl)}const ul=new Nn("Location Initialized");let hl=(()=>{class t extends ll{constructor(t){super(),this._doc=t,this._init()}_init(){this.location=ol().getLocation(),this._history=ol().getHistory()}getBaseHrefFromDOM(){return ol().getBaseHref(this._doc)}onPopState(t){ol().getGlobalEventTarget(this._doc,"window").addEventListener("popstate",t,!1)}onHashChange(t){ol().getGlobalEventTarget(this._doc,"window").addEventListener("hashchange",t,!1)}get href(){return this.location.href}get protocol(){return this.location.protocol}get hostname(){return this.location.hostname}get port(){return this.location.port}get pathname(){return this.location.pathname}get search(){return this.location.search}get hash(){return this.location.hash}set pathname(t){this.location.pathname=t}pushState(t,e,n){dl()?this._history.pushState(t,e,n):this.location.hash=n}replaceState(t,e,n){dl()?this._history.replaceState(t,e,n):this.location.hash=n}forward(){this._history.forward()}back(){this._history.back()}getState(){return this._history.state}}return t.\u0275fac=function(e){return new(e||t)(Yn(al))},t.\u0275prov=ut({factory:pl,token:t,providedIn:"platform"}),t})();function dl(){return!!window.history.pushState}function pl(){return new hl(Yn(al))}function fl(t,e){if(0==t.length)return e;if(0==e.length)return t;let n=0;return t.endsWith("/")&&n++,e.startsWith("/")&&n++,2==n?t+e.substring(1):1==n?t+e:t+"/"+e}function gl(t){const e=t.match(/#|\?|$/),n=e&&e.index||t.length;return t.slice(0,n-("/"===t[n-1]?1:0))+t.slice(n)}function ml(t){return t&&"?"!==t[0]?"?"+t:t}let yl=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275prov=ut({factory:_l,token:t,providedIn:"root"}),t})();function _l(t){const e=Yn(al).location;return new wl(Yn(ll),e&&e.origin||"")}const vl=new Nn("appBaseHref");let wl=(()=>{class t extends yl{constructor(t,e){if(super(),this._platformLocation=t,null==e&&(e=this._platformLocation.getBaseHrefFromDOM()),null==e)throw new Error("No base href set. Please provide a value for the APP_BASE_HREF token or add a base element to the document.");this._baseHref=e}onPopState(t){this._platformLocation.onPopState(t),this._platformLocation.onHashChange(t)}getBaseHref(){return this._baseHref}prepareExternalUrl(t){return fl(this._baseHref,t)}path(t=!1){const e=this._platformLocation.pathname+ml(this._platformLocation.search),n=this._platformLocation.hash;return n&&t?`${e}${n}`:e}pushState(t,e,n,r){const s=this.prepareExternalUrl(n+ml(r));this._platformLocation.pushState(t,e,s)}replaceState(t,e,n,r){const s=this.prepareExternalUrl(n+ml(r));this._platformLocation.replaceState(t,e,s)}forward(){this._platformLocation.forward()}back(){this._platformLocation.back()}}return t.\u0275fac=function(e){return new(e||t)(Yn(ll),Yn(vl,8))},t.\u0275prov=ut({token:t,factory:t.\u0275fac}),t})(),bl=(()=>{class t extends yl{constructor(t,e){super(),this._platformLocation=t,this._baseHref="",null!=e&&(this._baseHref=e)}onPopState(t){this._platformLocation.onPopState(t),this._platformLocation.onHashChange(t)}getBaseHref(){return this._baseHref}path(t=!1){let e=this._platformLocation.hash;return null==e&&(e="#"),e.length>0?e.substring(1):e}prepareExternalUrl(t){const e=fl(this._baseHref,t);return e.length>0?"#"+e:e}pushState(t,e,n,r){let s=this.prepareExternalUrl(n+ml(r));0==s.length&&(s=this._platformLocation.pathname),this._platformLocation.pushState(t,e,s)}replaceState(t,e,n,r){let s=this.prepareExternalUrl(n+ml(r));0==s.length&&(s=this._platformLocation.pathname),this._platformLocation.replaceState(t,e,s)}forward(){this._platformLocation.forward()}back(){this._platformLocation.back()}}return t.\u0275fac=function(e){return new(e||t)(Yn(ll),Yn(vl,8))},t.\u0275prov=ut({token:t,factory:t.\u0275fac}),t})(),Cl=(()=>{class t{constructor(t,e){this._subject=new aa,this._urlChangeListeners=[],this._platformStrategy=t;const n=this._platformStrategy.getBaseHref();this._platformLocation=e,this._baseHref=gl(Sl(n)),this._platformStrategy.onPopState(t=>{this._subject.emit({url:this.path(!0),pop:!0,state:t.state,type:t.type})})}path(t=!1){return this.normalize(this._platformStrategy.path(t))}getState(){return this._platformLocation.getState()}isCurrentPathEqualTo(t,e=""){return this.path()==this.normalize(t+ml(e))}normalize(e){return t.stripTrailingSlash(function(t,e){return t&&e.startsWith(t)?e.substring(t.length):e}(this._baseHref,Sl(e)))}prepareExternalUrl(t){return t&&"/"!==t[0]&&(t="/"+t),this._platformStrategy.prepareExternalUrl(t)}go(t,e="",n=null){this._platformStrategy.pushState(n,"",t,e),this._notifyUrlChangeListeners(this.prepareExternalUrl(t+ml(e)),n)}replaceState(t,e="",n=null){this._platformStrategy.replaceState(n,"",t,e),this._notifyUrlChangeListeners(this.prepareExternalUrl(t+ml(e)),n)}forward(){this._platformStrategy.forward()}back(){this._platformStrategy.back()}onUrlChange(t){this._urlChangeListeners.push(t),this._urlChangeSubscription||(this._urlChangeSubscription=this.subscribe(t=>{this._notifyUrlChangeListeners(t.url,t.state)}))}_notifyUrlChangeListeners(t="",e){this._urlChangeListeners.forEach(n=>n(t,e))}subscribe(t,e,n){return this._subject.subscribe({next:t,error:e,complete:n})}}return t.\u0275fac=function(e){return new(e||t)(Yn(yl),Yn(ll))},t.normalizeQueryParams=ml,t.joinWithSlash=fl,t.stripTrailingSlash=gl,t.\u0275prov=ut({factory:xl,token:t,providedIn:"root"}),t})();function xl(){return new Cl(Yn(yl),Yn(ll))}function Sl(t){return t.replace(/\/index.html$/,"")}var Ol=function(t){return t[t.Zero=0]="Zero",t[t.One=1]="One",t[t.Two=2]="Two",t[t.Few=3]="Few",t[t.Many=4]="Many",t[t.Other=5]="Other",t}({});class El{}let kl=(()=>{class t extends El{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=$i(e);if(n)return n;const r=e.split("-")[0];if(n=$i(r),n)return n;if("en"===r)return Li;throw new Error(`Missing locale data for the locale "${t}".`)}(t)[qi.PluralCase]}(e||this.locale)(t)){case Ol.Zero:return"zero";case Ol.One:return"one";case Ol.Two:return"two";case Ol.Few:return"few";case Ol.Many:return"many";default:return"other"}}}return t.\u0275fac=function(e){return new(e||t)(Yn(ya))},t.\u0275prov=ut({token:t,factory:t.\u0275fac}),t})();function Al(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}let Tl=(()=>{class t{constructor(t,e,n,r){this._iterableDiffers=t,this._keyValueDiffers=e,this._ngEl=n,this._renderer=r,this._iterableDiffer=null,this._keyValueDiffer=null,this._initialClasses=[],this._rawClass=null}set klass(t){this._removeClasses(this._initialClasses),this._initialClasses="string"==typeof t?t.split(/\s+/):[],this._applyClasses(this._initialClasses),this._applyClasses(this._rawClass)}set ngClass(t){this._removeClasses(this._rawClass),this._applyClasses(this._initialClasses),this._iterableDiffer=null,this._keyValueDiffer=null,this._rawClass="string"==typeof t?t.split(/\s+/):t,this._rawClass&&(di(this._rawClass)?this._iterableDiffer=this._iterableDiffers.find(this._rawClass).create():this._keyValueDiffer=this._keyValueDiffers.find(this._rawClass).create())}ngDoCheck(){if(this._iterableDiffer){const t=this._iterableDiffer.diff(this._rawClass);t&&this._applyIterableChanges(t)}else if(this._keyValueDiffer){const t=this._keyValueDiffer.diff(this._rawClass);t&&this._applyKeyValueChanges(t)}}_applyKeyValueChanges(t){t.forEachAddedItem(t=>this._toggleClass(t.key,t.currentValue)),t.forEachChangedItem(t=>this._toggleClass(t.key,t.currentValue)),t.forEachRemovedItem(t=>{t.previousValue&&this._toggleClass(t.key,!1)})}_applyIterableChanges(t){t.forEachAddedItem(t=>{if("string"!=typeof t.item)throw new Error(`NgClass can only toggle CSS classes expressed as strings, got ${tt(t.item)}`);this._toggleClass(t.item,!0)}),t.forEachRemovedItem(t=>this._toggleClass(t.item,!1))}_applyClasses(t){t&&(Array.isArray(t)||t instanceof Set?t.forEach(t=>this._toggleClass(t,!0)):Object.keys(t).forEach(e=>this._toggleClass(e,!!t[e])))}_removeClasses(t){t&&(Array.isArray(t)||t instanceof Set?t.forEach(t=>this._toggleClass(t,!1)):Object.keys(t).forEach(t=>this._toggleClass(t,!1)))}_toggleClass(t,e){(t=t.trim())&&t.split(/\s+/g).forEach(t=>{e?this._renderer.addClass(this._ngEl.nativeElement,t):this._renderer.removeClass(this._ngEl.nativeElement,t)})}}return t.\u0275fac=function(e){return new(e||t)(yi(ko),yi(To),yi(lo),yi(uo))},t.\u0275dir=Wt({type:t,selectors:[["","ngClass",""]],inputs:{klass:["class","klass"],ngClass:"ngClass"}}),t})();class Pl{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 Rl=(()=>{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 Pl(null,this._ngForOf,-1,-1),null===r?void 0:r),s=new Il(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 i=new Il(t,s);e.push(i)}});for(let n=0;n{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)(yi(Bo),yi(Uo),yi(ko))},t.\u0275dir=Wt({type:t,selectors:[["","ngFor","","ngForOf",""]],inputs:{ngForOf:"ngForOf",ngForTrackBy:"ngForTrackBy",ngForTemplate:"ngForTemplate"}}),t})();class Il{constructor(t,e){this.record=t,this.view=e}}let Ml=(()=>{class t{constructor(t,e){this._viewContainer=t,this._context=new Vl,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){jl("ngIfThen",t),this._thenTemplateRef=t,this._thenViewRef=null,this._updateView()}set ngIfElse(t){jl("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)(yi(Bo),yi(Uo))},t.\u0275dir=Wt({type:t,selectors:[["","ngIf",""]],inputs:{ngIf:"ngIf",ngIfThen:"ngIfThen",ngIfElse:"ngIfElse"}}),t})();class Vl{constructor(){this.$implicit=null,this.ngIf=null}}function jl(t,e){if(e&&!e.createEmbeddedView)throw new Error(`${t} must be a TemplateRef, but received '${tt(e)}'.`)}let Dl=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=Gt({type:t}),t.\u0275inj=ht({providers:[{provide:El,useClass:kl}]}),t})(),Nl=(()=>{class t{}return t.\u0275prov=ut({token:t,providedIn:"root",factory:()=>new Fl(Yn(al),window)}),t})();class Fl{constructor(t,e){this.document=t,this.window=e,this.offset=()=>[0,0]}setOffset(t){this.offset=Array.isArray(t)?()=>t:t}getScrollPosition(){return this.supportsScrolling()?[this.window.pageXOffset,this.window.pageYOffset]:[0,0]}scrollToPosition(t){this.supportsScrolling()&&this.window.scrollTo(t[0],t[1])}scrollToAnchor(t){if(!this.supportsScrolling())return;const e=function(t,e){const n=t.getElementById(e)||t.getElementsByName(e)[0];if(n)return n;if("function"==typeof t.createTreeWalker&&t.body&&(t.body.createShadowRoot||t.body.attachShadow)){const n=t.createTreeWalker(t.body,NodeFilter.SHOW_ELEMENT);let r=n.currentNode;for(;r;){const t=r.shadowRoot;if(t){const n=t.getElementById(e)||t.querySelector(`[name="${e}"]`);if(n)return n}r=n.nextNode()}}return null}(this.document,t);e&&(this.scrollToElement(e),this.attemptFocus(e))}setHistoryScrollRestoration(t){if(this.supportScrollRestoration()){const e=this.window.history;e&&e.scrollRestoration&&(e.scrollRestoration=t)}}scrollToElement(t){const e=t.getBoundingClientRect(),n=e.left+this.window.pageXOffset,r=e.top+this.window.pageYOffset,s=this.offset();this.window.scrollTo(n-s[0],r-s[1])}attemptFocus(t){return t.focus(),this.document.activeElement===t}supportScrollRestoration(){try{if(!this.supportsScrolling())return!1;const t=Ul(this.window.history)||Ul(Object.getPrototypeOf(this.window.history));return!(!t||!t.writable&&!t.set)}catch(t){return!1}}supportsScrolling(){try{return!!this.window&&!!this.window.scrollTo&&"pageXOffset"in this.window}catch(t){return!1}}}function Ul(t){return Object.getOwnPropertyDescriptor(t,"scrollRestoration")}class Hl extends class extends class{}{constructor(){super()}supportsDOMEvents(){return!0}}{static makeCurrent(){var t;t=new Hl,il||(il=t)}getProperty(t,e){return t[e]}log(t){window.console&&window.console.log&&window.console.log(t)}logGroup(t){window.console&&window.console.group&&window.console.group(t)}logGroupEnd(){window.console&&window.console.groupEnd&&window.console.groupEnd()}onAndCancel(t,e,n){return t.addEventListener(e,n,!1),()=>{t.removeEventListener(e,n,!1)}}dispatchEvent(t,e){t.dispatchEvent(e)}remove(t){return t.parentNode&&t.parentNode.removeChild(t),t}getValue(t){return t.value}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}getHistory(){return window.history}getLocation(){return window.location}getBaseHref(t){const e=zl||(zl=document.querySelector("base"),zl)?zl.getAttribute("href"):null;return null==e?null:(n=e,Ll||(Ll=document.createElement("a")),Ll.setAttribute("href",n),"/"===Ll.pathname.charAt(0)?Ll.pathname:"/"+Ll.pathname);var n}resetBaseElement(){zl=null}getUserAgent(){return window.navigator.userAgent}performanceNow(){return window.performance&&window.performance.now?window.performance.now():(new Date).getTime()}supportsCookies(){return!0}getCookie(t){return Al(document.cookie,t)}}let Ll,zl=null;const $l=new Nn("TRANSITION_ID"),ql=[{provide:la,useFactory:function(t,e,n){return()=>{n.get(ca).donePromise.then(()=>{const n=ol();Array.prototype.slice.apply(e.querySelectorAll("style[ng-transition]")).filter(e=>e.getAttribute("ng-transition")===t).forEach(t=>n.remove(t))})}},deps:[$l,al,ri],multi:!0}];class Bl{static init(){var t;t=new Bl,Ha=t}addToWindow(t){Pt.getAngularTestability=(e,n=!0)=>{const r=t.findTestabilityInTree(e,n);if(null==r)throw new Error("Could not find testability for element.");return r},Pt.getAllAngularTestabilities=()=>t.getAllTestabilities(),Pt.getAllAngularRootElements=()=>t.getAllRootElements(),Pt.frameworkStabilizers||(Pt.frameworkStabilizers=[]),Pt.frameworkStabilizers.push(t=>{const e=Pt.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?ol().isShadowRoot(e)?this.findTestabilityInTree(t,e.host,!0):this.findTestabilityInTree(t,e.parentElement,!0):null}}const Gl=new Nn("EventManagerPlugins");let Zl=(()=>{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{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=ut({token:t,factory:t.\u0275fac}),t})(),Kl=(()=>{class t extends Ql{constructor(t){super(),this._doc=t,this._hostNodes=new Set,this._styleNodes=new Set,this._hostNodes.add(t.head)}_addStylesToHost(t,e){t.forEach(t=>{const n=this._doc.createElement("style");n.textContent=t,this._styleNodes.add(e.appendChild(n))})}addHost(t){this._addStylesToHost(this._stylesSet,t),this._hostNodes.add(t)}removeHost(t){this._hostNodes.delete(t)}onStylesAdded(t){this._hostNodes.forEach(e=>this._addStylesToHost(t,e))}ngOnDestroy(){this._styleNodes.forEach(t=>ol().remove(t))}}return t.\u0275fac=function(e){return new(e||t)(Yn(al))},t.\u0275prov=ut({token:t,factory:t.\u0275fac}),t})();const Jl={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/"},Xl=/%COMP%/g;function Yl(t,e,n){for(let r=0;r{if("__ngUnwrap__"===e)return t;!1===t(e)&&(e.preventDefault(),e.returnValue=!1)}}let ec=(()=>{class t{constructor(t,e,n){this.eventManager=t,this.sharedStylesHost=e,this.appId=n,this.rendererByCompId=new Map,this.defaultRenderer=new nc(t)}createRenderer(t,e){if(!t||!e)return this.defaultRenderer;switch(e.encapsulation){case Ot.Emulated:{let n=this.rendererByCompId.get(e.id);return n||(n=new rc(this.eventManager,this.sharedStylesHost,e,this.appId),this.rendererByCompId.set(e.id,n)),n.applyToHost(t),n}case 1:case Ot.ShadowDom:return new sc(this.eventManager,this.sharedStylesHost,t,e);default:if(!this.rendererByCompId.has(e.id)){const t=Yl(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)(Yn(Zl),Yn(Kl),Yn(ua))},t.\u0275prov=ut({token:t,factory:t.\u0275fac}),t})();class nc{constructor(t){this.eventManager=t,this.data=Object.create(null)}destroy(){}createElement(t,e){return e?document.createElementNS(Jl[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=Jl[r];s?t.setAttributeNS(s,e,n):t.setAttribute(e,n)}else t.setAttribute(e,n)}removeAttribute(t,e,n){if(n){const r=Jl[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&(dr.DashCase|dr.Important)?t.style.setProperty(e,n,r&dr.Important?"important":""):t.style[e]=n}removeStyle(t,e,n){n&dr.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,tc(n)):this.eventManager.addEventListener(t,e,tc(n))}}class rc extends nc{constructor(t,e,n,r){super(t),this.component=n;const s=Yl(r+"-"+n.id,n.styles,[]);e.addStyles(s),this.contentAttr="_ngcontent-%COMP%".replace(Xl,r+"-"+n.id),this.hostAttr="_nghost-%COMP%".replace(Xl,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 sc extends nc{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=Yl(r.id,r.styles,[]);for(let i=0;i{class t extends Wl{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)(Yn(al))},t.\u0275prov=ut({token:t,factory:t.\u0275fac}),t})();const oc=["alt","control","meta","shift"],ac={"\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"},lc={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"},cc={alt:t=>t.altKey,control:t=>t.ctrlKey,meta:t=>t.metaKey,shift:t=>t.shiftKey};let uc=(()=>{class t extends Wl{constructor(t){super(t)}supports(e){return null!=t.parseEventName(e)}addEventListener(e,n,r){const s=t.parseEventName(n),i=t.eventCallback(s.fullKey,r,this.manager.getZone());return this.manager.getZone().runOutsideAngular(()=>ol().onAndCancel(e,s.domEventName,i))}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 i="";if(oc.forEach(t=>{const e=n.indexOf(t);e>-1&&(n.splice(e,1),i+=t+".")}),i+=s,0!=n.length||0===s.length)return null;const o={};return o.domEventName=r,o.fullKey=i,o}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&&lc.hasOwnProperty(e)&&(e=lc[e]))}return ac[e]||e}(t);return n=n.toLowerCase()," "===n?n="space":"."===n&&(n="dot"),oc.forEach(r=>{r!=n&&(0,cc[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)(Yn(al))},t.\u0275prov=ut({token:t,factory:t.\u0275fac}),t})();const hc=Ba(nl,"browser",[{provide:fa,useValue:"browser"},{provide:pa,useValue:function(){Hl.makeCurrent(),Bl.init()},multi:!0},{provide:al,useFactory:function(){return function(t){pe=t}(document),document},deps:[]}]),dc=[[],{provide:$s,useValue:"root"},{provide:lr,useFactory:function(){return new lr},deps:[]},{provide:Gl,useClass:ic,multi:!0,deps:[al,Ta,fa]},{provide:Gl,useClass:uc,multi:!0,deps:[al]},[],{provide:ec,useClass:ec,deps:[Zl,Kl,ua]},{provide:co,useExisting:ec},{provide:Ql,useExisting:Kl},{provide:Kl,useClass:Kl,deps:[al]},{provide:Da,useClass:Da,deps:[Ta]},{provide:Zl,useClass:Zl,deps:[Gl,Ta]},[]];let pc=(()=>{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:ua,useValue:e.appId},{provide:$l,useExisting:ua},ql]}}}return t.\u0275fac=function(e){return new(e||t)(Yn(t,12))},t.\u0275mod=Gt({type:t}),t.\u0275inj=ht({providers:dc,imports:[Dl,sl]}),t})();function fc(t,e){return new _(n=>{const r=t.length;if(0===r)return void n.complete();const s=new Array(r);let i=0,o=0;for(let a=0;a{c||(c=!0,o++),s[a]=t},error:t=>n.error(t),complete:()=>{i++,i!==r&&c||(o===r&&n.next(e?e.reduce((t,e,n)=>(t[e]=s[n],t),{}):s),n.complete())}}))}})}"undefined"!=typeof window&&window;class gc{}const mc=new Nn("NgValueAccessor"),yc={provide:mc,useExisting:rt(()=>_c),multi:!0};let _c=(()=>{class t extends gc{constructor(t,e){super(),this._renderer=t,this._elementRef=e,this.onChange=t=>{},this.onTouched=()=>{}}writeValue(t){this._renderer.setProperty(this._elementRef.nativeElement,"checked",t)}registerOnChange(t){this.onChange=t}registerOnTouched(t){this.onTouched=t}setDisabledState(t){this._renderer.setProperty(this._elementRef.nativeElement,"disabled",t)}}return t.\u0275fac=function(e){return new(e||t)(yi(uo),yi(lo))},t.\u0275dir=Wt({type:t,selectors:[["input","type","checkbox","formControlName",""],["input","type","checkbox","formControl",""],["input","type","checkbox","ngModel",""]],hostBindings:function(t,e){1&t&&Ei("change",function(t){return e.onChange(t.target.checked)})("blur",function(){return e.onTouched()})},features:[eo([yc]),ii]}),t})();const vc={provide:mc,useExisting:rt(()=>bc),multi:!0},wc=new Nn("CompositionEventMode");let bc=(()=>{class t{constructor(t,e,n){this._renderer=t,this._elementRef=e,this._compositionMode=n,this.onChange=t=>{},this.onTouched=()=>{},this._composing=!1,null==this._compositionMode&&(this._compositionMode=!function(){const t=ol()?ol().getUserAgent():"";return/android (\d+)/.test(t.toLowerCase())}())}writeValue(t){this._renderer.setProperty(this._elementRef.nativeElement,"value",null==t?"":t)}registerOnChange(t){this.onChange=t}registerOnTouched(t){this.onTouched=t}setDisabledState(t){this._renderer.setProperty(this._elementRef.nativeElement,"disabled",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)(yi(uo),yi(lo),yi(wc,8))},t.\u0275dir=Wt({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&&Ei("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:[eo([vc])]}),t})();function Cc(t){return null==t||0===t.length}function xc(t){return null!=t&&"number"==typeof t.length}const Sc=new Nn("NgValidators"),Oc=new Nn("NgAsyncValidators"),Ec=/^(?=.{1,254}$)(?=.{1,64}@)[a-zA-Z0-9!#$%&'*+/=?^_`{|}~-]+(?:\.[a-zA-Z0-9!#$%&'*+/=?^_`{|}~-]+)*@[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?(?:\.[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?)*$/;class kc{static min(t){return function(t){return e=>{if(Cc(e.value)||Cc(t))return null;const n=parseFloat(e.value);return!isNaN(n)&&n{if(Cc(e.value)||Cc(t))return null;const n=parseFloat(e.value);return!isNaN(n)&&n>t?{max:{max:t,actual:e.value}}:null}}(t)}static required(t){return Ac(t)}static requiredTrue(t){return function(t){return!0===t.value?null:{required:!0}}(t)}static email(t){return function(t){return Cc(t.value)||Ec.test(t.value)?null:{email:!0}}(t)}static minLength(t){return function(t){return e=>Cc(e.value)||!xc(e.value)?null:e.value.lengthxc(e.value)&&e.value.length>t?{maxlength:{requiredLength:t,actualLength:e.value.length}}:null}(t)}static pattern(t){return function(t){if(!t)return Tc;let e,n;return"string"==typeof t?(n="","^"!==t.charAt(0)&&(n+="^"),n+=t,"$"!==t.charAt(t.length-1)&&(n+="$"),e=new RegExp(n)):(n=t.toString(),e=t),t=>{if(Cc(t.value))return null;const r=t.value;return e.test(r)?null:{pattern:{requiredPattern:n,actualValue:r}}}}(t)}static nullValidator(t){return null}static compose(t){return jc(t)}static composeAsync(t){return Nc(t)}}function Ac(t){return Cc(t.value)?{required:!0}:null}function Tc(t){return null}function Pc(t){return null!=t}function Rc(t){const e=Si(t)?D(t):t;return Oi(e),e}function Ic(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 Mc(t,e){return e.map(e=>e(t))}function Vc(t){return t.map(t=>function(t){return!t.validate}(t)?t:e=>t.validate(e))}function jc(t){if(!t)return null;const e=t.filter(Pc);return 0==e.length?null:function(t){return Ic(Mc(t,e))}}function Dc(t){return null!=t?jc(Vc(t)):null}function Nc(t){if(!t)return null;const e=t.filter(Pc);return 0==e.length?null:function(t){return function(...t){if(1===t.length){const e=t[0];if(l(e))return fc(e,null);if(c(e)&&Object.getPrototypeOf(e)===Object.prototype){const t=Object.keys(e);return fc(t.map(t=>e[t]),t)}}if("function"==typeof t[t.length-1]){const e=t.pop();return fc(t=1===t.length&&l(t[0])?t[0]:t,null).pipe(E(t=>e(...t)))}return fc(t,null)}(Mc(t,e).map(Rc)).pipe(E(Ic))}}function Fc(t){return null!=t?Nc(Vc(t)):null}function Uc(t,e){return null===t?[e]:Array.isArray(t)?[...t,e]:[t,e]}function Hc(t){return t._rawValidators}function Lc(t){return t._rawAsyncValidators}let zc=(()=>{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=Dc(this._rawValidators)}_setAsyncValidators(t){this._rawAsyncValidators=t||[],this._composedAsyncValidatorFn=Fc(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=Wt({type:t}),t})(),$c=(()=>{class t extends zc{get formDirective(){return null}get path(){return null}}return t.\u0275fac=function(e){return qc(e||t)},t.\u0275dir=Wt({type:t,features:[ii]}),t})();const qc=Mn($c);class Bc extends zc{constructor(){super(...arguments),this._parent=null,this.name=null,this.valueAccessor=null}}class Gc{constructor(t){this._cd=t}is(t){var e,n;return!!(null===(n=null===(e=this._cd)||void 0===e?void 0:e.control)||void 0===n?void 0:n[t])}}let Zc=(()=>{class t extends Gc{constructor(t){super(t)}}return t.\u0275fac=function(e){return new(e||t)(yi(Bc,2))},t.\u0275dir=Wt({type:t,selectors:[["","formControlName",""],["","ngModel",""],["","formControl",""]],hostVars:14,hostBindings:function(t,e){2&t&&Ii("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:[ii]}),t})(),Wc=(()=>{class t extends Gc{constructor(t){super(t)}}return t.\u0275fac=function(e){return new(e||t)(yi($c,10))},t.\u0275dir=Wt({type:t,selectors:[["","formGroupName",""],["","formArrayName",""],["","ngModelGroup",""],["","formGroup",""],["form",3,"ngNoForm",""],["","ngForm",""]],hostVars:14,hostBindings:function(t,e){2&t&&Ii("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:[ii]}),t})();function Qc(t,e){Xc(t,e,!0),e.valueAccessor.writeValue(t.value),function(t,e){e.valueAccessor.registerOnChange(n=>{t._pendingValue=n,t._pendingChange=!0,t._pendingDirty=!0,"change"===t.updateOn&&tu(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&&tu(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 Kc(t,e,n=!0){const r=()=>{};e.valueAccessor&&(e.valueAccessor.registerOnChange(r),e.valueAccessor.registerOnTouched(r)),Yc(t,e,!0),t&&(e._invokeOnDestroyCallbacks(),t._registerOnCollectionChange(()=>{}))}function Jc(t,e){t.forEach(t=>{t.registerOnValidatorChange&&t.registerOnValidatorChange(e)})}function Xc(t,e,n){const r=Hc(t);null!==e.validator?t.setValidators(Uc(r,e.validator)):"function"==typeof r&&t.setValidators([r]);const s=Lc(t);if(null!==e.asyncValidator?t.setAsyncValidators(Uc(s,e.asyncValidator)):"function"==typeof s&&t.setAsyncValidators([s]),n){const n=()=>t.updateValueAndValidity();Jc(e._rawValidators,n),Jc(e._rawAsyncValidators,n)}}function Yc(t,e,n){let r=!1;if(null!==t){if(null!==e.validator){const n=Hc(t);if(Array.isArray(n)&&n.length>0){const s=n.filter(t=>t!==e.validator);s.length!==n.length&&(r=!0,t.setValidators(s))}}if(null!==e.asyncValidator){const n=Lc(t);if(Array.isArray(n)&&n.length>0){const s=n.filter(t=>t!==e.asyncValidator);s.length!==n.length&&(r=!0,t.setAsyncValidators(s))}}}if(n){const t=()=>{};Jc(e._rawValidators,t),Jc(e._rawAsyncValidators,t)}return r}function tu(t,e){t._pendingDirty&&t.markAsDirty(),t.setValue(t._pendingValue,{emitModelToViewChange:!1}),e.viewToModelUpdate(t._pendingValue),t._pendingChange=!1}function eu(t,e){const n=t.indexOf(e);n>-1&&t.splice(n,1)}const nu="VALID",ru="INVALID",su="PENDING",iu="DISABLED";function ou(t){return(uu(t)?t.validators:t)||null}function au(t){return Array.isArray(t)?Dc(t):t||null}function lu(t,e){return(uu(e)?e.asyncValidators:t)||null}function cu(t){return Array.isArray(t)?Fc(t):t||null}function uu(t){return null!=t&&!Array.isArray(t)&&"object"==typeof t}class hu{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=au(this._rawValidators),this._composedAsyncValidatorFn=cu(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===nu}get invalid(){return this.status===ru}get pending(){return this.status==su}get disabled(){return this.status===iu}get enabled(){return this.status!==iu}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=au(t)}setAsyncValidators(t){this._rawAsyncValidators=t,this._composedAsyncValidatorFn=cu(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=su,!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=iu,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=nu,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!==nu&&this.status!==su||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()?iu:nu}_runValidator(){return this.validator?this.validator(this):null}_runAsyncValidator(t){if(this.asyncValidator){this.status=su,this._hasOwnPendingAsyncValidator=!0;const e=Rc(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 pu?r.controls.hasOwnProperty(t)?r.controls[t]:null:r instanceof fu&&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 aa,this.statusChanges=new aa}_calculateStatus(){return this._allControlsDisabled()?iu:this.errors?ru:this._hasOwnPendingAsyncValidator||this._anyControlsHaveStatus(su)?su:this._anyControlsHaveStatus(ru)?ru:nu}_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){uu(t)&&null!=t.updateOn&&(this._updateOn=t.updateOn)}_parentMarkedDirty(t){return!t&&!(!this._parent||!this._parent.dirty)&&!this._parent._anyControlsDirty()}}class du extends hu{constructor(t=null,e,n){super(ou(e),lu(n,e)),this._onChange=[],this._applyFormState(t),this._setUpdateStrategy(e),this._initObservables(),this.updateValueAndValidity({onlySelf:!0,emitEvent:!!n})}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){eu(this._onChange,t)}registerOnDisabledChange(t){this._onDisabledChange.push(t)}_unregisterOnDisabledChange(t){eu(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 pu extends hu{constructor(t,e,n){super(ou(e),lu(n,e)),this.controls=t,this._initObservables(),this._setUpdateStrategy(e),this._setUpControls(),this.updateValueAndValidity({onlySelf:!0,emitEvent:!!n})}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){this.registerControl(t,e),this.updateValueAndValidity(),this._onCollectionChange()}removeControl(t){this.controls[t]&&this.controls[t]._registerOnCollectionChange(()=>{}),delete this.controls[t],this.updateValueAndValidity(),this._onCollectionChange()}setControl(t,e){this.controls[t]&&this.controls[t]._registerOnCollectionChange(()=>{}),delete this.controls[t],e&&this.registerControl(t,e),this.updateValueAndValidity(),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 du?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 fu extends hu{constructor(t,e,n){super(ou(e),lu(n,e)),this.controls=t,this._initObservables(),this._setUpdateStrategy(e),this._setUpControls(),this.updateValueAndValidity({onlySelf:!0,emitEvent:!!n})}at(t){return this.controls[t]}push(t){this.controls.push(t),this._registerControl(t),this.updateValueAndValidity(),this._onCollectionChange()}insert(t,e){this.controls.splice(t,0,e),this._registerControl(e),this.updateValueAndValidity()}removeAt(t){this.controls[t]&&this.controls[t]._registerOnCollectionChange(()=>{}),this.controls.splice(t,1),this.updateValueAndValidity()}setControl(t,e){this.controls[t]&&this.controls[t]._registerOnCollectionChange(()=>{}),this.controls.splice(t,1),e&&(this.controls.splice(t,0,e),this._registerControl(e)),this.updateValueAndValidity(),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 du?t.value:t.getRawValue())}clear(){this.controls.length<1||(this._forEachChild(t=>t._registerOnCollectionChange(()=>{})),this.controls.splice(0),this.updateValueAndValidity())}_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 gu=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275dir=Wt({type:t,selectors:[["form",3,"ngNoForm","",3,"ngNativeValidate",""]],hostAttrs:["novalidate",""]}),t})(),mu=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=Gt({type:t}),t.\u0275inj=ht({}),t})();const yu=new Nn("NgModelWithFormControlWarning"),_u={provide:$c,useExisting:rt(()=>vu)};let vu=(()=>{class t extends $c{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 aa,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&&(Yc(this.form,this,!1),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 Qc(e,t),e.updateValueAndValidity({emitEvent:!1}),this.directives.push(t),e}getControl(t){return this.form.get(t.path)}removeControl(t){Kc(t.control||null,t,!1),eu(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&&(Kc(e||null,t),n instanceof du&&(Qc(n,t),t.control=n))}),this.form._updateTreeValidity({emitEvent:!1})}_setUpFormContainer(t){const e=this.form.get(t.path);(function(t,e){Xc(t,e,!1)})(e,t),e.updateValueAndValidity({emitEvent:!1})}_cleanUpFormContainer(t){if(this.form){const e=this.form.get(t.path);e&&function(t,e){return Yc(t,e,!1)}(e,t)&&e.updateValueAndValidity({emitEvent:!1})}}_updateRegistrations(){this.form._registerOnCollectionChange(this._onCollectionChange),this._oldForm&&this._oldForm._registerOnCollectionChange(()=>{})}_updateValidators(){Xc(this.form,this,!1),this._oldForm&&Yc(this._oldForm,this,!1)}_checkFormPresent(){}}return t.\u0275fac=function(e){return new(e||t)(yi(Sc,10),yi(Oc,10))},t.\u0275dir=Wt({type:t,selectors:[["","formGroup",""]],hostBindings:function(t,e){1&t&&Ei("submit",function(t){return e.onSubmit(t)})("reset",function(){return e.onReset()})},inputs:{form:["formGroup","form"]},outputs:{ngSubmit:"ngSubmit"},exportAs:["ngForm"],features:[eo([_u]),ii,ae]}),t})();const wu={provide:Bc,useExisting:rt(()=>bu)};let bu=(()=>{class t extends Bc{constructor(t,e,n,r,s){super(),this._ngModelWarningConfig=s,this._added=!1,this.update=new aa,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===bc?n=t:Object.getPrototypeOf(t.constructor)===gc?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)(yi($c,13),yi(Sc,10),yi(Oc,10),yi(mc,10),yi(yu,8))},t.\u0275dir=Wt({type:t,selectors:[["","formControlName",""]],inputs:{isDisabled:["disabled","isDisabled"],name:["formControlName","name"],model:["ngModel","model"]},outputs:{update:"ngModelChange"},features:[eo([wu]),ii,ae]}),t._ngModelWarningSentOnce=!1,t})();const Cu={provide:Sc,useExisting:rt(()=>xu),multi:!0};let xu=(()=>{class t{constructor(){this._required=!1}get required(){return this._required}set required(t){this._required=null!=t&&!1!==t&&"false"!=`${t}`,this._onChange&&this._onChange()}validate(t){return this.required?Ac(t):null}registerOnValidatorChange(t){this._onChange=t}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275dir=Wt({type:t,selectors:[["","required","","formControlName","",3,"type","checkbox"],["","required","","formControl","",3,"type","checkbox"],["","required","","ngModel","",3,"type","checkbox"]],hostVars:1,hostBindings:function(t,e){2&t&&gi("required",e.required?"":null)},inputs:{required:"required"},features:[eo([Cu])]}),t})(),Su=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=Gt({type:t}),t.\u0275inj=ht({imports:[[mu]]}),t})(),Ou=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=Gt({type:t}),t.\u0275inj=ht({imports:[Su]}),t})(),Eu=(()=>{class t{static withConfig(e){return{ngModule:t,providers:[{provide:yu,useValue:e.warnOnNgModelWithFormControl}]}}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=Gt({type:t}),t.\u0275inj=ht({imports:[Su]}),t})(),ku=(()=>{class t{group(t,e=null){const n=this._reduceControls(t);let r,s=null,i=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,i=null!=e.asyncValidators?e.asyncValidators:null,r=null!=e.updateOn?e.updateOn:void 0):(s=null!=e.validator?e.validator:null,i=null!=e.asyncValidator?e.asyncValidator:null)),new pu(n,{asyncValidators:i,updateOn:r,validators:s})}control(t,e,n){return new du(t,e,n)}array(t,e,n){const r=t.map(t=>this._createControl(t));return new fu(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 du||t instanceof pu||t instanceof fu?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=ut({factory:function(){return new t},token:t,providedIn:Eu}),t})();function Au(...t){let e=t[t.length-1];return O(e)?(t.pop(),j(t,e)):q(t)}class Tu extends x{constructor(t){super(),this._value=t}get value(){return this.getValue()}_subscribe(t){const e=super._subscribe(t);return e&&!e.closed&&t.next(this._value),e}getValue(){if(this.hasError)throw this.thrownError;if(this.closed)throw new w;return this._value}next(t){super.next(this._value=t)}}class Pu extends f{notifyNext(t,e,n,r,s){this.destination.next(e)}notifyError(t,e){this.destination.error(t)}notifyComplete(t){this.destination.complete()}}class Ru extends f{constructor(t,e,n){super(),this.parent=t,this.outerValue=e,this.outerIndex=n,this.index=0}_next(t){this.parent.notifyNext(this.outerValue,t,this.outerIndex,this.index++,this)}_error(t){this.parent.notifyError(t,this),this.unsubscribe()}_complete(){this.parent.notifyComplete(this),this.unsubscribe()}}function Iu(t,e,n,r,s=new Ru(t,n,r)){if(!s.closed)return e instanceof _?e.subscribe(s):V(e)(s)}const Mu={};class Vu{constructor(t){this.resultSelector=t}call(t,e){return e.subscribe(new ju(t,this.resultSelector))}}class ju extends Pu{constructor(t,e){super(t),this.resultSelector=e,this.active=0,this.values=[],this.observables=[]}_next(t){this.values.push(Mu),this.observables.push(t)}_complete(){const t=this.observables,e=t.length;if(0===e)this.destination.complete();else{this.active=e,this.toRespond=e;for(let n=0;n{function t(){return Error.call(this),this.message="no elements in sequence",this.name="EmptyError",this}return t.prototype=Object.create(Error.prototype),t})();function Nu(...t){return $(1)(Au(...t))}const Fu=new _(t=>t.complete());function Uu(t){return t?function(t){return new _(e=>t.schedule(()=>e.complete()))}(t):Fu}function Hu(t){return new _(e=>{let n;try{n=t()}catch(r){return void e.error(r)}return(n?D(n):Uu()).subscribe(e)})}function Lu(t,e){return"function"==typeof e?n=>n.pipe(Lu((n,r)=>D(t(n,r)).pipe(E((t,s)=>e(n,t,r,s))))):e=>e.lift(new zu(t))}class zu{constructor(t){this.project=t}call(t,e){return e.subscribe(new $u(t,this.project))}}class $u extends F{constructor(t,e){super(t),this.project=e,this.index=0}_next(t){let e;const n=this.index++;try{e=this.project(t,n)}catch(r){return void this.destination.error(r)}this._innerSub(e)}_innerSub(t){const e=this.innerSubscription;e&&e.unsubscribe();const n=new N(this),r=this.destination;r.add(n),this.innerSubscription=U(t,n),this.innerSubscription!==n&&r.add(this.innerSubscription)}_complete(){const{innerSubscription:t}=this;t&&!t.closed||super._complete(),this.unsubscribe()}_unsubscribe(){this.innerSubscription=void 0}notifyComplete(){this.innerSubscription=void 0,this.isStopped&&super._complete()}notifyNext(t){this.destination.next(t)}}const qu=(()=>{function t(){return Error.call(this),this.message="argument out of range",this.name="ArgumentOutOfRangeError",this}return t.prototype=Object.create(Error.prototype),t})();function Bu(t){return e=>0===t?Uu():e.lift(new Gu(t))}class Gu{constructor(t){if(this.total=t,this.total<0)throw new qu}call(t,e){return e.subscribe(new Zu(t,this.total))}}class Zu extends f{constructor(t,e){super(t),this.total=e,this.count=0}_next(t){const e=this.total,n=++this.count;n<=e&&(this.destination.next(t),n===e&&(this.destination.complete(),this.unsubscribe()))}}function Wu(t,e){let n=!1;return arguments.length>=2&&(n=!0),function(r){return r.lift(new Qu(t,e,n))}}class Qu{constructor(t,e,n=!1){this.accumulator=t,this.seed=e,this.hasSeed=n}call(t,e){return e.subscribe(new Ku(t,this.accumulator,this.seed,this.hasSeed))}}class Ku extends f{constructor(t,e,n,r){super(t),this.accumulator=e,this._seed=n,this.hasSeed=r,this.index=0}get seed(){return this._seed}set seed(t){this.hasSeed=!0,this._seed=t}_next(t){if(this.hasSeed)return this._tryNext(t);this.seed=t,this.destination.next(t)}_tryNext(t){const e=this.index++;let n;try{n=this.accumulator(this.seed,t,e)}catch(r){this.destination.error(r)}this.seed=n,this.destination.next(n)}}function Ju(t,e){return function(n){return n.lift(new Xu(t,e))}}class Xu{constructor(t,e){this.predicate=t,this.thisArg=e}call(t,e){return e.subscribe(new Yu(t,this.predicate,this.thisArg))}}class Yu extends f{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)}}function th(t){return function(e){const n=new eh(t),r=e.lift(n);return n.caught=r}}class eh{constructor(t){this.selector=t}call(t,e){return e.subscribe(new nh(t,this.selector,this.caught))}}class nh extends F{constructor(t,e,n){super(t),this.selector=e,this.caught=n}error(t){if(!this.isStopped){let n;try{n=this.selector(t,this.caught)}catch(e){return void super.error(e)}this._unsubscribeAndRecycle();const r=new N(this);this.add(r);const s=U(n,r);s!==r&&this.add(s)}}}function rh(t,e){return H(t,e,1)}function sh(t){return function(e){return 0===t?Uu():e.lift(new ih(t))}}class ih{constructor(t){if(this.total=t,this.total<0)throw new qu}call(t,e){return e.subscribe(new oh(t,this.total))}}class oh extends f{constructor(t,e){super(t),this.total=e,this.ring=new Array,this.count=0}_next(t){const e=this.ring,n=this.total,r=this.count++;e.length0){const n=this.count>=this.total?this.total:this.count,r=this.ring;for(let s=0;se.lift(new lh(t))}class lh{constructor(t){this.errorFactory=t}call(t,e){return e.subscribe(new ch(t,this.errorFactory))}}class ch extends f{constructor(t,e){super(t),this.errorFactory=e,this.hasValue=!1}_next(t){this.hasValue=!0,this.destination.next(t)}_complete(){if(this.hasValue)return this.destination.complete();{let e;try{e=this.errorFactory()}catch(t){e=t}this.destination.error(e)}}}function uh(){return new Du}function hh(t=null){return e=>e.lift(new dh(t))}class dh{constructor(t){this.defaultValue=t}call(t,e){return e.subscribe(new ph(t,this.defaultValue))}}class ph extends f{constructor(t,e){super(t),this.defaultValue=e,this.isEmpty=!0}_next(t){this.isEmpty=!1,this.destination.next(t)}_complete(){this.isEmpty&&this.destination.next(this.defaultValue),this.destination.complete()}}function fh(t,e){const n=arguments.length>=2;return r=>r.pipe(t?Ju((e,n)=>t(e,n,r)):y,Bu(1),n?hh(e):ah(()=>new Du))}function gh(){}function mh(t,e,n){return function(r){return r.lift(new yh(t,e,n))}}class yh{constructor(t,e,n){this.nextOrObserver=t,this.error=e,this.complete=n}call(t,e){return e.subscribe(new _h(t,this.nextOrObserver,this.error,this.complete))}}class _h extends f{constructor(t,e,n,s){super(t),this._tapNext=gh,this._tapError=gh,this._tapComplete=gh,this._tapError=n||gh,this._tapComplete=s||gh,r(e)?(this._context=this,this._tapNext=e):e&&(this._context=e,this._tapNext=e.next||gh,this._tapError=e.error||gh,this._tapComplete=e.complete||gh)}_next(t){try{this._tapNext.call(this._context,t)}catch(e){return void this.destination.error(e)}this.destination.next(t)}_error(t){try{this._tapError.call(this._context,t)}catch(t){return void this.destination.error(t)}this.destination.error(t)}_complete(){try{this._tapComplete.call(this._context)}catch(t){return void this.destination.error(t)}return this.destination.complete()}}class vh{constructor(t){this.callback=t}call(t,e){return e.subscribe(new wh(t,this.callback))}}class wh extends f{constructor(t,e){super(t),this.add(new h(e))}}class bh{constructor(t,e){this.id=t,this.url=e}}class Ch extends bh{constructor(t,e,n="imperative",r=null){super(t,e),this.navigationTrigger=n,this.restoredState=r}toString(){return`NavigationStart(id: ${this.id}, url: '${this.url}')`}}class xh extends bh{constructor(t,e,n){super(t,e),this.urlAfterRedirects=n}toString(){return`NavigationEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}')`}}class Sh extends bh{constructor(t,e,n){super(t,e),this.reason=n}toString(){return`NavigationCancel(id: ${this.id}, url: '${this.url}')`}}class Oh extends bh{constructor(t,e,n){super(t,e),this.error=n}toString(){return`NavigationError(id: ${this.id}, url: '${this.url}', error: ${this.error})`}}class Eh extends bh{constructor(t,e,n,r){super(t,e),this.urlAfterRedirects=n,this.state=r}toString(){return`RoutesRecognized(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}}class kh extends bh{constructor(t,e,n,r){super(t,e),this.urlAfterRedirects=n,this.state=r}toString(){return`GuardsCheckStart(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}}class Ah extends bh{constructor(t,e,n,r,s){super(t,e),this.urlAfterRedirects=n,this.state=r,this.shouldActivate=s}toString(){return`GuardsCheckEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state}, shouldActivate: ${this.shouldActivate})`}}class Th extends bh{constructor(t,e,n,r){super(t,e),this.urlAfterRedirects=n,this.state=r}toString(){return`ResolveStart(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}}class Ph extends bh{constructor(t,e,n,r){super(t,e),this.urlAfterRedirects=n,this.state=r}toString(){return`ResolveEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}}class Rh{constructor(t){this.route=t}toString(){return`RouteConfigLoadStart(path: ${this.route.path})`}}class Ih{constructor(t){this.route=t}toString(){return`RouteConfigLoadEnd(path: ${this.route.path})`}}class Mh{constructor(t){this.snapshot=t}toString(){return`ChildActivationStart(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}}class Vh{constructor(t){this.snapshot=t}toString(){return`ChildActivationEnd(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}}class jh{constructor(t){this.snapshot=t}toString(){return`ActivationStart(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}}class Dh{constructor(t){this.snapshot=t}toString(){return`ActivationEnd(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}}class Nh{constructor(t,e,n){this.routerEvent=t,this.position=e,this.anchor=n}toString(){return`Scroll(anchor: '${this.anchor}', position: '${this.position?`${this.position[0]}, ${this.position[1]}`:null}')`}}const Fh="primary";class Uh{constructor(t){this.params=t||{}}has(t){return Object.prototype.hasOwnProperty.call(this.params,t)}get(t){if(this.has(t)){const e=this.params[t];return Array.isArray(e)?e[0]:e}return null}getAll(t){if(this.has(t)){const e=this.params[t];return Array.isArray(e)?e:[e]}return[]}get keys(){return Object.keys(this.params)}}function Hh(t){return new Uh(t)}function Lh(t){const e=Error("NavigationCancelingError: "+t);return e.ngNavigationCancelingError=!0,e}function zh(t,e,n){const r=n.path.split("/");if(r.length>t.length)return null;if("full"===n.pathMatch&&(e.hasChildren()||r.lengthr[e]===t)}return t===e}function Bh(t){return Array.prototype.concat.apply([],t)}function Gh(t){return t.length>0?t[t.length-1]:null}function Zh(t,e){for(const n in t)t.hasOwnProperty(n)&&e(t[n],n)}function Wh(t){return Oi(t)?t:Si(t)?D(Promise.resolve(t)):Au(t)}function Qh(t,e,n){return n?function(t,e){return $h(t,e)}(t.queryParams,e.queryParams)&&Kh(t.root,e.root):function(t,e){return Object.keys(e).length<=Object.keys(t).length&&Object.keys(e).every(n=>qh(t[n],e[n]))}(t.queryParams,e.queryParams)&&Jh(t.root,e.root)}function Kh(t,e){if(!nd(t.segments,e.segments))return!1;if(t.numberOfChildren!==e.numberOfChildren)return!1;for(const n in e.children){if(!t.children[n])return!1;if(!Kh(t.children[n],e.children[n]))return!1}return!0}function Jh(t,e){return Xh(t,e,e.segments)}function Xh(t,e,n){if(t.segments.length>n.length)return!!nd(t.segments.slice(0,n.length),n)&&!e.hasChildren();if(t.segments.length===n.length){if(!nd(t.segments,n))return!1;for(const n in e.children){if(!t.children[n])return!1;if(!Jh(t.children[n],e.children[n]))return!1}return!0}{const r=n.slice(0,t.segments.length),s=n.slice(t.segments.length);return!!nd(t.segments,r)&&!!t.children.primary&&Xh(t.children.primary,e,s)}}class Yh{constructor(t,e,n){this.root=t,this.queryParams=e,this.fragment=n}get queryParamMap(){return this._queryParamMap||(this._queryParamMap=Hh(this.queryParams)),this._queryParamMap}toString(){return id.serialize(this)}}class td{constructor(t,e){this.segments=t,this.children=e,this.parent=null,Zh(e,(t,e)=>t.parent=this)}hasChildren(){return this.numberOfChildren>0}get numberOfChildren(){return Object.keys(this.children).length}toString(){return od(this)}}class ed{constructor(t,e){this.path=t,this.parameters=e}get parameterMap(){return this._parameterMap||(this._parameterMap=Hh(this.parameters)),this._parameterMap}toString(){return pd(this)}}function nd(t,e){return t.length===e.length&&t.every((t,n)=>t.path===e[n].path)}class rd{}class sd{parse(t){const e=new _d(t);return new Yh(e.parseRootSegment(),e.parseQueryParams(),e.parseFragment())}serialize(t){var e;return`/${ad(t.root,!0)}${function(t){const e=Object.keys(t).map(e=>{const n=t[e];return Array.isArray(n)?n.map(t=>`${cd(e)}=${cd(t)}`).join("&"):`${cd(e)}=${cd(n)}`});return e.length?`?${e.join("&")}`:""}(t.queryParams)}${"string"==typeof t.fragment?`#${e=t.fragment,encodeURI(e)}`:""}`}}const id=new sd;function od(t){return t.segments.map(t=>pd(t)).join("/")}function ad(t,e){if(!t.hasChildren())return od(t);if(e){const e=t.children.primary?ad(t.children.primary,!1):"",n=[];return Zh(t.children,(t,e)=>{e!==Fh&&n.push(`${e}:${ad(t,!1)}`)}),n.length>0?`${e}(${n.join("//")})`:e}{const e=function(t,e){let n=[];return Zh(t.children,(t,r)=>{r===Fh&&(n=n.concat(e(t,r)))}),Zh(t.children,(t,r)=>{r!==Fh&&(n=n.concat(e(t,r)))}),n}(t,(e,n)=>n===Fh?[ad(t.children.primary,!1)]:[`${n}:${ad(e,!1)}`]);return 1===Object.keys(t.children).length&&null!=t.children.primary?`${od(t)}/${e[0]}`:`${od(t)}/(${e.join("//")})`}}function ld(t){return encodeURIComponent(t).replace(/%40/g,"@").replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",")}function cd(t){return ld(t).replace(/%3B/gi,";")}function ud(t){return ld(t).replace(/\(/g,"%28").replace(/\)/g,"%29").replace(/%26/gi,"&")}function hd(t){return decodeURIComponent(t)}function dd(t){return hd(t.replace(/\+/g,"%20"))}function pd(t){return`${ud(t.path)}${e=t.parameters,Object.keys(e).map(t=>`;${ud(t)}=${ud(e[t])}`).join("")}`;var e}const fd=/^[^\/()?;=#]+/;function gd(t){const e=t.match(fd);return e?e[0]:""}const md=/^[^=?&#]+/,yd=/^[^?&#]+/;class _d{constructor(t){this.url=t,this.remaining=t}parseRootSegment(){return this.consumeOptional("/"),""===this.remaining||this.peekStartsWith("?")||this.peekStartsWith("#")?new td([],{}):new td([],this.parseChildren())}parseQueryParams(){const t={};if(this.consumeOptional("?"))do{this.parseQueryParam(t)}while(this.consumeOptional("&"));return t}parseFragment(){return this.consumeOptional("#")?decodeURIComponent(this.remaining):null}parseChildren(){if(""===this.remaining)return{};this.consumeOptional("/");const t=[];for(this.peekStartsWith("(")||t.push(this.parseSegment());this.peekStartsWith("/")&&!this.peekStartsWith("//")&&!this.peekStartsWith("/(");)this.capture("/"),t.push(this.parseSegment());let e={};this.peekStartsWith("/(")&&(this.capture("/"),e=this.parseParens(!0));let n={};return this.peekStartsWith("(")&&(n=this.parseParens(!1)),(t.length>0||Object.keys(e).length>0)&&(n.primary=new td(t,e)),n}parseSegment(){const t=gd(this.remaining);if(""===t&&this.peekStartsWith(";"))throw new Error(`Empty path url segment cannot have parameters: '${this.remaining}'.`);return this.capture(t),new ed(hd(t),this.parseMatrixParams())}parseMatrixParams(){const t={};for(;this.consumeOptional(";");)this.parseParam(t);return t}parseParam(t){const e=gd(this.remaining);if(!e)return;this.capture(e);let n="";if(this.consumeOptional("=")){const t=gd(this.remaining);t&&(n=t,this.capture(n))}t[hd(e)]=hd(n)}parseQueryParam(t){const e=function(t){const e=t.match(md);return e?e[0]:""}(this.remaining);if(!e)return;this.capture(e);let n="";if(this.consumeOptional("=")){const t=function(t){const e=t.match(yd);return e?e[0]:""}(this.remaining);t&&(n=t,this.capture(n))}const r=dd(e),s=dd(n);if(t.hasOwnProperty(r)){let e=t[r];Array.isArray(e)||(e=[e],t[r]=e),e.push(s)}else t[r]=s}parseParens(t){const e={};for(this.capture("(");!this.consumeOptional(")")&&this.remaining.length>0;){const n=gd(this.remaining),r=this.remaining[n.length];if("/"!==r&&")"!==r&&";"!==r)throw new Error(`Cannot parse url '${this.url}'`);let s;n.indexOf(":")>-1?(s=n.substr(0,n.indexOf(":")),this.capture(s),this.capture(":")):t&&(s=Fh);const i=this.parseChildren();e[s]=1===Object.keys(i).length?i.primary:new td([],i),this.consumeOptional("//")}return e}peekStartsWith(t){return this.remaining.startsWith(t)}consumeOptional(t){return!!this.peekStartsWith(t)&&(this.remaining=this.remaining.substring(t.length),!0)}capture(t){if(!this.consumeOptional(t))throw new Error(`Expected "${t}".`)}}class vd{constructor(t){this._root=t}get root(){return this._root.value}parent(t){const e=this.pathFromRoot(t);return e.length>1?e[e.length-2]:null}children(t){const e=wd(t,this._root);return e?e.children.map(t=>t.value):[]}firstChild(t){const e=wd(t,this._root);return e&&e.children.length>0?e.children[0].value:null}siblings(t){const e=bd(t,this._root);return e.length<2?[]:e[e.length-2].children.map(t=>t.value).filter(e=>e!==t)}pathFromRoot(t){return bd(t,this._root).map(t=>t.value)}}function wd(t,e){if(t===e.value)return e;for(const n of e.children){const e=wd(t,n);if(e)return e}return null}function bd(t,e){if(t===e.value)return[e];for(const n of e.children){const r=bd(t,n);if(r.length)return r.unshift(e),r}return[]}class Cd{constructor(t,e){this.value=t,this.children=e}toString(){return`TreeNode(${this.value})`}}function xd(t){const e={};return t&&t.children.forEach(t=>e[t.value.outlet]=t),e}class Sd extends vd{constructor(t,e){super(t),this.snapshot=e,Pd(this,t)}toString(){return this.snapshot.toString()}}function Od(t,e){const n=function(t,e){const n=new Ad([],{},{},"",{},Fh,e,null,t.root,-1,{});return new Td("",new Cd(n,[]))}(t,e),r=new Tu([new ed("",{})]),s=new Tu({}),i=new Tu({}),o=new Tu({}),a=new Tu(""),l=new Ed(r,s,o,a,i,Fh,e,n.root);return l.snapshot=n.root,new Sd(new Cd(l,[]),n)}class Ed{constructor(t,e,n,r,s,i,o,a){this.url=t,this.params=e,this.queryParams=n,this.fragment=r,this.data=s,this.outlet=i,this.component=o,this._futureSnapshot=a}get routeConfig(){return this._futureSnapshot.routeConfig}get root(){return this._routerState.root}get parent(){return this._routerState.parent(this)}get firstChild(){return this._routerState.firstChild(this)}get children(){return this._routerState.children(this)}get pathFromRoot(){return this._routerState.pathFromRoot(this)}get paramMap(){return this._paramMap||(this._paramMap=this.params.pipe(E(t=>Hh(t)))),this._paramMap}get queryParamMap(){return this._queryParamMap||(this._queryParamMap=this.queryParams.pipe(E(t=>Hh(t)))),this._queryParamMap}toString(){return this.snapshot?this.snapshot.toString():`Future(${this._futureSnapshot})`}}function kd(t,e="emptyOnly"){const n=t.pathFromRoot;let r=0;if("always"!==e)for(r=n.length-1;r>=1;){const t=n[r],e=n[r-1];if(t.routeConfig&&""===t.routeConfig.path)r--;else{if(e.component)break;r--}}return function(t){return t.reduce((t,e)=>({params:Object.assign(Object.assign({},t.params),e.params),data:Object.assign(Object.assign({},t.data),e.data),resolve:Object.assign(Object.assign({},t.resolve),e._resolvedData)}),{params:{},data:{},resolve:{}})}(n.slice(r))}class Ad{constructor(t,e,n,r,s,i,o,a,l,c,u){this.url=t,this.params=e,this.queryParams=n,this.fragment=r,this.data=s,this.outlet=i,this.component=o,this.routeConfig=a,this._urlSegment=l,this._lastPathIndex=c,this._resolve=u}get root(){return this._routerState.root}get parent(){return this._routerState.parent(this)}get firstChild(){return this._routerState.firstChild(this)}get children(){return this._routerState.children(this)}get pathFromRoot(){return this._routerState.pathFromRoot(this)}get paramMap(){return this._paramMap||(this._paramMap=Hh(this.params)),this._paramMap}get queryParamMap(){return this._queryParamMap||(this._queryParamMap=Hh(this.queryParams)),this._queryParamMap}toString(){return`Route(url:'${this.url.map(t=>t.toString()).join("/")}', path:'${this.routeConfig?this.routeConfig.path:""}')`}}class Td extends vd{constructor(t,e){super(e),this.url=t,Pd(this,e)}toString(){return Rd(this._root)}}function Pd(t,e){e.value._routerState=t,e.children.forEach(e=>Pd(t,e))}function Rd(t){const e=t.children.length>0?` { ${t.children.map(Rd).join(", ")} } `:"";return`${t.value}${e}`}function Id(t){if(t.snapshot){const e=t.snapshot,n=t._futureSnapshot;t.snapshot=n,$h(e.queryParams,n.queryParams)||t.queryParams.next(n.queryParams),e.fragment!==n.fragment&&t.fragment.next(n.fragment),$h(e.params,n.params)||t.params.next(n.params),function(t,e){if(t.length!==e.length)return!1;for(let n=0;n$h(t.parameters,r[e].parameters))&&!(!t.parent!=!e.parent)&&(!t.parent||Md(t.parent,e.parent))}function Vd(t,e,n){if(n&&t.shouldReuseRoute(e.value,n.value.snapshot)){const r=n.value;r._futureSnapshot=e.value;const s=function(t,e,n){return e.children.map(e=>{for(const r of n.children)if(t.shouldReuseRoute(e.value,r.value.snapshot))return Vd(t,e,r);return Vd(t,e)})}(t,e,n);return new Cd(r,s)}{if(t.shouldAttach(e.value)){const n=t.retrieve(e.value);if(null!==n){const t=n.route;return jd(e,t),t}}const n=new Ed(new Tu((r=e.value).url),new Tu(r.params),new Tu(r.queryParams),new Tu(r.fragment),new Tu(r.data),r.outlet,r.component,r),s=e.children.map(e=>Vd(t,e));return new Cd(n,s)}var r}function jd(t,e){if(t.value.routeConfig!==e.value.routeConfig)throw new Error("Cannot reattach ActivatedRouteSnapshot created from a different route");if(t.children.length!==e.children.length)throw new Error("Cannot reattach ActivatedRouteSnapshot with a different number of children");e.value._futureSnapshot=t.value;for(let n=0;n{i[e]=Array.isArray(t)?t.map(t=>`${t}`):`${t}`}),new Yh(n.root===t?e:Ud(n.root,t,e),i,s)}function Ud(t,e,n){const r={};return Zh(t.children,(t,s)=>{r[s]=t===e?n:Ud(t,e,n)}),new td(t.segments,r)}class Hd{constructor(t,e,n){if(this.isAbsolute=t,this.numberOfDoubleDots=e,this.commands=n,t&&n.length>0&&Dd(n[0]))throw new Error("Root segment cannot have matrix parameters");const r=n.find(Nd);if(r&&r!==Gh(n))throw new Error("{outlets:{}} has to be the last command")}toRoot(){return this.isAbsolute&&1===this.commands.length&&"/"==this.commands[0]}}class Ld{constructor(t,e,n){this.segmentGroup=t,this.processChildren=e,this.index=n}}function zd(t,e,n){if(t||(t=new td([],{})),0===t.segments.length&&t.hasChildren())return $d(t,e,n);const r=function(t,e,n){let r=0,s=e;const i={match:!1,pathIndex:0,commandIndex:0};for(;s=n.length)return i;const e=t.segments[s],o=n[r];if(Nd(o))break;const a=`${o}`,l=r0&&void 0===a)break;if(a&&l&&"object"==typeof l&&void 0===l.outlets){if(!Zd(a,l,e))return i;r+=2}else{if(!Zd(a,{},e))return i;r++}s++}return{match:!0,pathIndex:s,commandIndex:r}}(t,e,n),s=n.slice(r.commandIndex);if(r.match&&r.pathIndex{"string"==typeof n&&(n=[n]),null!==n&&(s[r]=zd(t.children[r],e,n))}),Zh(t.children,(t,e)=>{void 0===r[e]&&(s[e]=t)}),new td(t.segments,s)}}function qd(t,e,n){const r=t.segments.slice(0,e);let s=0;for(;s{"string"==typeof t&&(t=[t]),null!==t&&(e[n]=qd(new td([],{}),0,t))}),e}function Gd(t){const e={};return Zh(t,(t,n)=>e[n]=`${t}`),e}function Zd(t,e,n){return t==n.path&&$h(e,n.parameters)}class Wd{constructor(t,e,n,r){this.routeReuseStrategy=t,this.futureState=e,this.currState=n,this.forwardEvent=r}activate(t){const e=this.futureState._root,n=this.currState?this.currState._root:null;this.deactivateChildRoutes(e,n,t),Id(this.futureState.root),this.activateChildRoutes(e,n,t)}deactivateChildRoutes(t,e,n){const r=xd(e);t.children.forEach(t=>{const e=t.value.outlet;this.deactivateRoutes(t,r[e],n),delete r[e]}),Zh(r,(t,e)=>{this.deactivateRouteAndItsChildren(t,n)})}deactivateRoutes(t,e,n){const r=t.value,s=e?e.value:null;if(r===s)if(r.component){const s=n.getContext(r.outlet);s&&this.deactivateChildRoutes(t,e,s.children)}else this.deactivateChildRoutes(t,e,n);else s&&this.deactivateRouteAndItsChildren(e,n)}deactivateRouteAndItsChildren(t,e){this.routeReuseStrategy.shouldDetach(t.value.snapshot)?this.detachAndStoreRouteSubtree(t,e):this.deactivateRouteAndOutlet(t,e)}detachAndStoreRouteSubtree(t,e){const n=e.getContext(t.value.outlet);if(n&&n.outlet){const e=n.outlet.detach(),r=n.children.onOutletDeactivated();this.routeReuseStrategy.store(t.value.snapshot,{componentRef:e,route:t,contexts:r})}}deactivateRouteAndOutlet(t,e){const n=e.getContext(t.value.outlet),r=n&&t.value.component?n.children:e,s=xd(t);for(const i of Object.keys(s))this.deactivateRouteAndItsChildren(s[i],r);n&&n.outlet&&(n.outlet.deactivate(),n.children.onOutletDeactivated(),n.attachRef=null,n.resolver=null,n.route=null)}activateChildRoutes(t,e,n){const r=xd(e);t.children.forEach(t=>{this.activateRoutes(t,r[t.value.outlet],n),this.forwardEvent(new Dh(t.value.snapshot))}),t.children.length&&this.forwardEvent(new Vh(t.value.snapshot))}activateRoutes(t,e,n){const r=t.value,s=e?e.value:null;if(Id(r),r===s)if(r.component){const s=n.getOrCreateContext(r.outlet);this.activateChildRoutes(t,e,s.children)}else this.activateChildRoutes(t,e,n);else if(r.component){const e=n.getOrCreateContext(r.outlet);if(this.routeReuseStrategy.shouldAttach(r.snapshot)){const t=this.routeReuseStrategy.retrieve(r.snapshot);this.routeReuseStrategy.store(r.snapshot,null),e.children.onOutletReAttached(t.contexts),e.attachRef=t.componentRef,e.route=t.route.value,e.outlet&&e.outlet.attach(t.componentRef,t.route.value),Qd(t.route)}else{const n=function(t){for(let e=t.parent;e;e=e.parent){const t=e.routeConfig;if(t&&t._loadedConfig)return t._loadedConfig;if(t&&t.component)return null}return null}(r.snapshot),s=n?n.module.componentFactoryResolver:null;e.attachRef=null,e.route=r,e.resolver=s,e.outlet&&e.outlet.activateWith(r,s),this.activateChildRoutes(t,null,e.children)}}else this.activateChildRoutes(t,null,n)}}function Qd(t){Id(t.value),t.children.forEach(Qd)}class Kd{constructor(t,e){this.routes=t,this.module=e}}function Jd(t){return"function"==typeof t}function Xd(t){return t instanceof Yh}const Yd=Symbol("INITIAL_VALUE");function tp(){return Lu(t=>function(...t){let e,n;return O(t[t.length-1])&&(n=t.pop()),"function"==typeof t[t.length-1]&&(e=t.pop()),1===t.length&&l(t[0])&&(t=t[0]),q(t,n).lift(new Vu(e))}(t.map(t=>t.pipe(Bu(1),function(...t){const e=t[t.length-1];return O(e)?(t.pop(),n=>Nu(t,n,e)):e=>Nu(t,e)}(Yd)))).pipe(Wu((t,e)=>{let n=!1;return e.reduce((t,r,s)=>{if(t!==Yd)return t;if(r===Yd&&(n=!0),!n){if(!1===r)return r;if(s===e.length-1||Xd(r))return r}return t},t)},Yd),Ju(t=>t!==Yd),E(t=>Xd(t)?t:!0===t),Bu(1)))}let ep=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275cmp=zt({type:t,selectors:[["ng-component"]],decls:1,vars:0,template:function(t,e){1&t&&Ci(0,"router-outlet")},directives:function(){return[Zp]},encapsulation:2}),t})();function np(t,e=""){for(let n=0;nop(t)===e);return n.push(...t.filter(t=>op(t)!==e)),n}const lp={matched:!1,consumedSegments:[],lastChild:0,parameters:{},positionalParamSegments:{}};function cp(t,e,n){var r;if(""===e.path)return"full"===e.pathMatch&&(t.hasChildren()||n.length>0)?Object.assign({},lp):{matched:!0,consumedSegments:[],lastChild:0,parameters:{},positionalParamSegments:{}};const s=(e.matcher||zh)(n,t,e);if(!s)return Object.assign({},lp);const i={};Zh(s.posParams,(t,e)=>{i[e]=t.path});const o=s.consumed.length>0?Object.assign(Object.assign({},i),s.consumed[s.consumed.length-1].parameters):i;return{matched:!0,consumedSegments:s.consumed,lastChild:s.consumed.length,parameters:o,positionalParamSegments:null!==(r=s.posParams)&&void 0!==r?r:{}}}function up(t,e,n,r,s="corrected"){if(n.length>0&&function(t,e,n){return n.some(n=>hp(t,e,n)&&op(n)!==Fh)}(t,n,r)){const s=new td(e,function(t,e,n,r){const s={};s.primary=r,r._sourceSegment=t,r._segmentIndexShift=e.length;for(const i of n)if(""===i.path&&op(i)!==Fh){const n=new td([],{});n._sourceSegment=t,n._segmentIndexShift=e.length,s[op(i)]=n}return s}(t,e,r,new td(n,t.children)));return s._sourceSegment=t,s._segmentIndexShift=e.length,{segmentGroup:s,slicedSegments:[]}}if(0===n.length&&function(t,e,n){return n.some(n=>hp(t,e,n))}(t,n,r)){const i=new td(t.segments,function(t,e,n,r,s,i){const o={};for(const a of r)if(hp(t,n,a)&&!s[op(a)]){const n=new td([],{});n._sourceSegment=t,n._segmentIndexShift="legacy"===i?t.segments.length:e.length,o[op(a)]=n}return Object.assign(Object.assign({},s),o)}(t,e,n,r,t.children,s));return i._sourceSegment=t,i._segmentIndexShift=e.length,{segmentGroup:i,slicedSegments:n}}const i=new td(t.segments,t.children);return i._sourceSegment=t,i._segmentIndexShift=e.length,{segmentGroup:i,slicedSegments:n}}function hp(t,e,n){return(!(t.hasChildren()||e.length>0)||"full"!==n.pathMatch)&&""===n.path}function dp(t,e,n,r){return!!(op(t)===r||r!==Fh&&hp(e,n,t))&&("**"===t.path||cp(e,t,n).matched)}function pp(t,e,n){return 0===e.length&&!t.children[n]}class fp{constructor(t){this.segmentGroup=t||null}}class gp{constructor(t){this.urlTree=t}}function mp(t){return new _(e=>e.error(new fp(t)))}function yp(t){return new _(e=>e.error(new gp(t)))}function _p(t){return new _(e=>e.error(new Error(`Only absolute redirects can have named outlets. redirectTo: '${t}'`)))}class vp{constructor(t,e,n,r,s){this.configLoader=e,this.urlSerializer=n,this.urlTree=r,this.config=s,this.allowRedirects=!0,this.ngModule=t.get(zo)}apply(){const t=up(this.urlTree.root,[],[],this.config).segmentGroup,e=new td(t.segments,t.children);return this.expandSegmentGroup(this.ngModule,this.config,e,Fh).pipe(E(t=>this.createUrlTree(wp(t),this.urlTree.queryParams,this.urlTree.fragment))).pipe(th(t=>{if(t instanceof gp)return this.allowRedirects=!1,this.match(t.urlTree);if(t instanceof fp)throw this.noMatchError(t);throw t}))}match(t){return this.expandSegmentGroup(this.ngModule,this.config,t.root,Fh).pipe(E(e=>this.createUrlTree(wp(e),t.queryParams,t.fragment))).pipe(th(t=>{if(t instanceof fp)throw this.noMatchError(t);throw t}))}noMatchError(t){return new Error(`Cannot match any routes. URL Segment: '${t.segmentGroup}'`)}createUrlTree(t,e,n){const r=t.segments.length>0?new td([],{[Fh]:t}):t;return new Yh(r,e,n)}expandSegmentGroup(t,e,n,r){return 0===n.segments.length&&n.hasChildren()?this.expandChildren(t,e,n).pipe(E(t=>new td([],t))):this.expandSegment(t,n,e,n.segments,r,!0)}expandChildren(t,e,n){const r=[];for(const s of Object.keys(n.children))"primary"===s?r.unshift(s):r.push(s);return D(r).pipe(rh(r=>{const s=n.children[r],i=ap(e,r);return this.expandSegmentGroup(t,i,s,r).pipe(E(t=>({segment:t,outlet:r})))}),Wu((t,e)=>(t[e.outlet]=e.segment,t),{}),function(t,e){const n=arguments.length>=2;return r=>r.pipe(t?Ju((e,n)=>t(e,n,r)):y,sh(1),n?hh(e):ah(()=>new Du))}())}expandSegment(t,e,n,r,s,i){return D(n).pipe(rh(o=>this.expandSegmentAgainstRoute(t,e,n,o,r,s,i).pipe(th(t=>{if(t instanceof fp)return Au(null);throw t}))),fh(t=>!!t),th((t,n)=>{if(t instanceof Du||"EmptyError"===t.name){if(pp(e,r,s))return Au(new td([],{}));throw new fp(e)}throw t}))}expandSegmentAgainstRoute(t,e,n,r,s,i,o){return dp(r,e,s,i)?void 0===r.redirectTo?this.matchSegmentAgainstRoute(t,e,r,s,i):o&&this.allowRedirects?this.expandSegmentAgainstRouteUsingRedirect(t,e,n,r,s,i):mp(e):mp(e)}expandSegmentAgainstRouteUsingRedirect(t,e,n,r,s,i){return"**"===r.path?this.expandWildCardWithParamsAgainstRouteUsingRedirect(t,n,r,i):this.expandRegularSegmentAgainstRouteUsingRedirect(t,e,n,r,s,i)}expandWildCardWithParamsAgainstRouteUsingRedirect(t,e,n,r){const s=this.applyRedirectCommands([],n.redirectTo,{});return n.redirectTo.startsWith("/")?yp(s):this.lineralizeSegments(n,s).pipe(H(n=>{const s=new td(n,{});return this.expandSegment(t,s,e,n,r,!1)}))}expandRegularSegmentAgainstRouteUsingRedirect(t,e,n,r,s,i){const{matched:o,consumedSegments:a,lastChild:l,positionalParamSegments:c}=cp(e,r,s);if(!o)return mp(e);const u=this.applyRedirectCommands(a,r.redirectTo,c);return r.redirectTo.startsWith("/")?yp(u):this.lineralizeSegments(r,u).pipe(H(r=>this.expandSegment(t,e,n,r.concat(s.slice(l)),i,!1)))}matchSegmentAgainstRoute(t,e,n,r,s){if("**"===n.path)return n.loadChildren?(n._loadedConfig?Au(n._loadedConfig):this.configLoader.load(t.injector,n)).pipe(E(t=>(n._loadedConfig=t,new td(r,{})))):Au(new td(r,{}));const{matched:i,consumedSegments:o,lastChild:a}=cp(e,n,r);if(!i)return mp(e);const l=r.slice(a);return this.getChildConfig(t,n,r).pipe(H(t=>{const r=t.module,i=t.routes,{segmentGroup:a,slicedSegments:c}=up(e,o,l,i),u=new td(a.segments,a.children);if(0===c.length&&u.hasChildren())return this.expandChildren(r,i,u).pipe(E(t=>new td(o,t)));if(0===i.length&&0===c.length)return Au(new td(o,{}));const h=op(n)===s;return this.expandSegment(r,u,i,c,h?Fh:s,!0).pipe(E(t=>new td(o.concat(t.segments),t.children)))}))}getChildConfig(t,e,n){return e.children?Au(new Kd(e.children,t)):e.loadChildren?void 0!==e._loadedConfig?Au(e._loadedConfig):this.runCanLoadGuards(t.injector,e,n).pipe(H(n=>n?this.configLoader.load(t.injector,e).pipe(E(t=>(e._loadedConfig=t,t))):function(t){return new _(e=>e.error(Lh(`Cannot load children because the guard of the route "path: '${t.path}'" returned false`)))}(e))):Au(new Kd([],t))}runCanLoadGuards(t,e,n){const r=e.canLoad;return r&&0!==r.length?Au(r.map(r=>{const s=t.get(r);let i;if(function(t){return t&&Jd(t.canLoad)}(s))i=s.canLoad(e,n);else{if(!Jd(s))throw new Error("Invalid CanLoad guard");i=s(e,n)}return Wh(i)})).pipe(tp(),mh(t=>{if(!Xd(t))return;const e=Lh(`Redirecting to "${this.urlSerializer.serialize(t)}"`);throw e.url=t,e}),E(t=>!0===t)):Au(!0)}lineralizeSegments(t,e){let n=[],r=e.root;for(;;){if(n=n.concat(r.segments),0===r.numberOfChildren)return Au(n);if(r.numberOfChildren>1||!r.children.primary)return _p(t.redirectTo);r=r.children.primary}}applyRedirectCommands(t,e,n){return this.applyRedirectCreatreUrlTree(e,this.urlSerializer.parse(e),t,n)}applyRedirectCreatreUrlTree(t,e,n,r){const s=this.createSegmentGroup(t,e.root,n,r);return new Yh(s,this.createQueryParams(e.queryParams,this.urlTree.queryParams),e.fragment)}createQueryParams(t,e){const n={};return Zh(t,(t,r)=>{if("string"==typeof t&&t.startsWith(":")){const s=t.substring(1);n[r]=e[s]}else n[r]=t}),n}createSegmentGroup(t,e,n,r){const s=this.createSegments(t,e.segments,n,r);let i={};return Zh(e.children,(e,s)=>{i[s]=this.createSegmentGroup(t,e,n,r)}),new td(s,i)}createSegments(t,e,n,r){return e.map(e=>e.path.startsWith(":")?this.findPosParam(t,e,r):this.findOrReturn(e,n))}findPosParam(t,e,n){const r=n[e.path.substring(1)];if(!r)throw new Error(`Cannot redirect to '${t}'. Cannot find '${e.path}'.`);return r}findOrReturn(t,e){let n=0;for(const r of e){if(r.path===t.path)return e.splice(n),r;n++}return t}}function wp(t){const e={};for(const n of Object.keys(t.children)){const r=wp(t.children[n]);(r.segments.length>0||r.hasChildren())&&(e[n]=r)}return function(t){if(1===t.numberOfChildren&&t.children.primary){const e=t.children.primary;return new td(t.segments.concat(e.segments),e.children)}return t}(new td(t.segments,e))}class bp{constructor(t){this.path=t,this.route=this.path[this.path.length-1]}}class Cp{constructor(t,e){this.component=t,this.route=e}}function xp(t,e,n){const r=t._root;return Op(r,e?e._root:null,n,[r.value])}function Sp(t,e,n){const r=function(t){if(!t)return null;for(let e=t.parent;e;e=e.parent){const t=e.routeConfig;if(t&&t._loadedConfig)return t._loadedConfig}return null}(e);return(r?r.module.injector:n).get(t)}function Op(t,e,n,r,s={canDeactivateChecks:[],canActivateChecks:[]}){const i=xd(e);return t.children.forEach(t=>{!function(t,e,n,r,s={canDeactivateChecks:[],canActivateChecks:[]}){const i=t.value,o=e?e.value:null,a=n?n.getContext(t.value.outlet):null;if(o&&i.routeConfig===o.routeConfig){const l=function(t,e,n){if("function"==typeof n)return n(t,e);switch(n){case"pathParamsChange":return!nd(t.url,e.url);case"pathParamsOrQueryParamsChange":return!nd(t.url,e.url)||!$h(t.queryParams,e.queryParams);case"always":return!0;case"paramsOrQueryParamsChange":return!Md(t,e)||!$h(t.queryParams,e.queryParams);case"paramsChange":default:return!Md(t,e)}}(o,i,i.routeConfig.runGuardsAndResolvers);l?s.canActivateChecks.push(new bp(r)):(i.data=o.data,i._resolvedData=o._resolvedData),Op(t,e,i.component?a?a.children:null:n,r,s),l&&a&&a.outlet&&a.outlet.isActivated&&s.canDeactivateChecks.push(new Cp(a.outlet.component,o))}else o&&Ep(e,a,s),s.canActivateChecks.push(new bp(r)),Op(t,null,i.component?a?a.children:null:n,r,s)}(t,i[t.value.outlet],n,r.concat([t.value]),s),delete i[t.value.outlet]}),Zh(i,(t,e)=>Ep(t,n.getContext(e),s)),s}function Ep(t,e,n){const r=xd(t),s=t.value;Zh(r,(t,r)=>{Ep(t,s.component?e?e.children.getContext(r):null:e,n)}),n.canDeactivateChecks.push(new Cp(s.component&&e&&e.outlet&&e.outlet.isActivated?e.outlet.component:null,s))}class kp{}function Ap(t){return new _(e=>e.error(t))}class Tp{constructor(t,e,n,r,s,i){this.rootComponentType=t,this.config=e,this.urlTree=n,this.url=r,this.paramsInheritanceStrategy=s,this.relativeLinkResolution=i}recognize(){const t=up(this.urlTree.root,[],[],this.config.filter(t=>void 0===t.redirectTo),this.relativeLinkResolution).segmentGroup,e=this.processSegmentGroup(this.config,t,Fh);if(null===e)return null;const n=new Ad([],Object.freeze({}),Object.freeze(Object.assign({},this.urlTree.queryParams)),this.urlTree.fragment,{},Fh,this.rootComponentType,null,this.urlTree.root,-1,{}),r=new Cd(n,e),s=new Td(this.url,r);return this.inheritParamsAndData(s._root),s}inheritParamsAndData(t){const e=t.value,n=kd(e,this.paramsInheritanceStrategy);e.params=Object.freeze(n.params),e.data=Object.freeze(n.data),t.children.forEach(t=>this.inheritParamsAndData(t))}processSegmentGroup(t,e,n){return 0===e.segments.length&&e.hasChildren()?this.processChildren(t,e):this.processSegment(t,e,e.segments,n)}processChildren(t,e){const n=[];for(const s of Object.keys(e.children)){const r=e.children[s],i=ap(t,s),o=this.processSegmentGroup(i,r,s);if(null===o)return null;n.push(...o)}const r=Rp(n);return r.sort((t,e)=>t.value.outlet===Fh?-1:e.value.outlet===Fh?1:t.value.outlet.localeCompare(e.value.outlet)),r}processSegment(t,e,n,r){for(const s of t){const t=this.processSegmentAgainstRoute(s,e,n,r);if(null!==t)return t}return pp(e,n,r)?[]:null}processSegmentAgainstRoute(t,e,n,r){if(t.redirectTo||!dp(t,e,n,r))return null;let s,i=[],o=[];if("**"===t.path){const r=n.length>0?Gh(n).parameters:{};s=new Ad(n,r,Object.freeze(Object.assign({},this.urlTree.queryParams)),this.urlTree.fragment,Vp(t),op(t),t.component,t,Ip(e),Mp(e)+n.length,jp(t))}else{const r=cp(e,t,n);if(!r.matched)return null;i=r.consumedSegments,o=n.slice(r.lastChild),s=new Ad(i,r.parameters,Object.freeze(Object.assign({},this.urlTree.queryParams)),this.urlTree.fragment,Vp(t),op(t),t.component,t,Ip(e),Mp(e)+i.length,jp(t))}const a=function(t){return t.children?t.children:t.loadChildren?t._loadedConfig.routes:[]}(t),{segmentGroup:l,slicedSegments:c}=up(e,i,o,a.filter(t=>void 0===t.redirectTo),this.relativeLinkResolution);if(0===c.length&&l.hasChildren()){const t=this.processChildren(a,l);return null===t?null:[new Cd(s,t)]}if(0===a.length&&0===c.length)return[new Cd(s,[])];const u=op(t)===r,h=this.processSegment(a,l,c,u?Fh:r);return null===h?null:[new Cd(s,h)]}}function Pp(t){const e=t.value.routeConfig;return e&&""===e.path&&void 0===e.redirectTo}function Rp(t){const e=[],n=new Set;for(const r of t){if(!Pp(r)){e.push(r);continue}const t=e.find(t=>r.value.routeConfig===t.value.routeConfig);void 0!==t?(t.children.push(...r.children),n.add(t)):e.push(r)}for(const r of n){const t=Rp(r.children);e.push(new Cd(r.value,t))}return e.filter(t=>!n.has(t))}function Ip(t){let e=t;for(;e._sourceSegment;)e=e._sourceSegment;return e}function Mp(t){let e=t,n=e._segmentIndexShift?e._segmentIndexShift:0;for(;e._sourceSegment;)e=e._sourceSegment,n+=e._segmentIndexShift?e._segmentIndexShift:0;return n-1}function Vp(t){return t.data||{}}function jp(t){return t.resolve||{}}function Dp(t){return Lu(e=>{const n=t(e);return n?D(n).pipe(E(()=>e)):Au(e)})}class Np extends class{shouldDetach(t){return!1}store(t,e){}shouldAttach(t){return!1}retrieve(t){return null}shouldReuseRoute(t,e){return t.routeConfig===e.routeConfig}}{}const Fp=new Nn("ROUTES");class Up{constructor(t,e,n,r){this.loader=t,this.compiler=e,this.onLoadStartListener=n,this.onLoadEndListener=r}load(t,e){if(e._loader$)return e._loader$;this.onLoadStartListener&&this.onLoadStartListener(e);const n=this.loadModuleFactory(e.loadChildren).pipe(E(n=>{this.onLoadEndListener&&this.onLoadEndListener(e);const r=n.create(t);return new Kd(Bh(r.injector.get(Fp,void 0,vt.Self|vt.Optional)).map(ip),r)}),th(t=>{throw e._loader$=void 0,t}));return e._loader$=new W(n,()=>new x).pipe(B()),e._loader$}loadModuleFactory(t){return"string"==typeof t?D(this.loader.load(t)):Wh(t()).pipe(H(t=>t instanceof $o?Au(t):D(this.compiler.compileModuleAsync(t))))}}class Hp{constructor(){this.outlet=null,this.route=null,this.resolver=null,this.children=new Lp,this.attachRef=null}}class Lp{constructor(){this.contexts=new Map}onChildOutletCreated(t,e){const n=this.getOrCreateContext(t);n.outlet=e,this.contexts.set(t,n)}onChildOutletDestroyed(t){const e=this.getContext(t);e&&(e.outlet=null)}onOutletDeactivated(){const t=this.contexts;return this.contexts=new Map,t}onOutletReAttached(t){this.contexts=t}getOrCreateContext(t){let e=this.getContext(t);return e||(e=new Hp,this.contexts.set(t,e)),e}getContext(t){return this.contexts.get(t)||null}}class zp{shouldProcessUrl(t){return!0}extract(t){return t}merge(t,e){return t}}function $p(t){throw t}function qp(t,e,n){return e.parse("/")}function Bp(t,e){return Au(null)}let Gp=(()=>{class t{constructor(t,e,n,r,s,i,o,a){this.rootComponentType=t,this.urlSerializer=e,this.rootContexts=n,this.location=r,this.config=a,this.lastSuccessfulNavigation=null,this.currentNavigation=null,this.disposed=!1,this.lastLocationChangeInfo=null,this.navigationId=0,this.isNgZoneEnabled=!1,this.events=new x,this.errorHandler=$p,this.malformedUriErrorHandler=qp,this.navigated=!1,this.lastSuccessfulId=-1,this.hooks={beforePreactivation:Bp,afterPreactivation:Bp},this.urlHandlingStrategy=new zp,this.routeReuseStrategy=new Np,this.onSameUrlNavigation="ignore",this.paramsInheritanceStrategy="emptyOnly",this.urlUpdateStrategy="deferred",this.relativeLinkResolution="corrected",this.ngModule=s.get(zo),this.console=s.get(ma);const l=s.get(Ta);this.isNgZoneEnabled=l instanceof Ta&&Ta.isInAngularZone(),this.resetConfig(a),this.currentUrlTree=new Yh(new td([],{}),{},null),this.rawUrlTree=this.currentUrlTree,this.browserUrlTree=this.currentUrlTree,this.configLoader=new Up(i,o,t=>this.triggerEvent(new Rh(t)),t=>this.triggerEvent(new Ih(t))),this.routerState=Od(this.currentUrlTree,this.rootComponentType),this.transitions=new Tu({id:0,currentUrlTree:this.currentUrlTree,currentRawUrl:this.currentUrlTree,extractedUrl:this.urlHandlingStrategy.extract(this.currentUrlTree),urlAfterRedirects:this.urlHandlingStrategy.extract(this.currentUrlTree),rawUrl:this.currentUrlTree,extras:{},resolve:null,reject:null,promise:Promise.resolve(!0),source:"imperative",restoredState:null,currentSnapshot:this.routerState.snapshot,targetSnapshot:null,currentRouterState:this.routerState,targetRouterState:null,guards:{canActivateChecks:[],canDeactivateChecks:[]},guardsResult:null}),this.navigations=this.setupNavigations(this.transitions),this.processNavigations()}setupNavigations(t){const e=this.events;return t.pipe(Ju(t=>0!==t.id),E(t=>Object.assign(Object.assign({},t),{extractedUrl:this.urlHandlingStrategy.extract(t.rawUrl)})),Lu(t=>{let n=!1,r=!1;return Au(t).pipe(mh(t=>{this.currentNavigation={id:t.id,initialUrl:t.currentRawUrl,extractedUrl:t.extractedUrl,trigger:t.source,extras:t.extras,previousNavigation:this.lastSuccessfulNavigation?Object.assign(Object.assign({},this.lastSuccessfulNavigation),{previousNavigation:null}):null}}),Lu(t=>{const n=!this.navigated||t.extractedUrl.toString()!==this.browserUrlTree.toString();if(("reload"===this.onSameUrlNavigation||n)&&this.urlHandlingStrategy.shouldProcessUrl(t.rawUrl))return Au(t).pipe(Lu(t=>{const n=this.transitions.getValue();return e.next(new Ch(t.id,this.serializeUrl(t.extractedUrl),t.source,t.restoredState)),n!==this.transitions.getValue()?Fu:Promise.resolve(t)}),(r=this.ngModule.injector,s=this.configLoader,i=this.urlSerializer,o=this.config,Lu(t=>function(t,e,n,r,s){return new vp(t,e,n,r,s).apply()}(r,s,i,t.extractedUrl,o).pipe(E(e=>Object.assign(Object.assign({},t),{urlAfterRedirects:e}))))),mh(t=>{this.currentNavigation=Object.assign(Object.assign({},this.currentNavigation),{finalUrl:t.urlAfterRedirects})}),function(t,e,n,r,s){return H(i=>function(t,e,n,r,s="emptyOnly",i="legacy"){try{const o=new Tp(t,e,n,r,s,i).recognize();return null===o?Ap(new kp):Au(o)}catch(o){return Ap(o)}}(t,e,i.urlAfterRedirects,n(i.urlAfterRedirects),r,s).pipe(E(t=>Object.assign(Object.assign({},i),{targetSnapshot:t}))))}(this.rootComponentType,this.config,t=>this.serializeUrl(t),this.paramsInheritanceStrategy,this.relativeLinkResolution),mh(t=>{"eager"===this.urlUpdateStrategy&&(t.extras.skipLocationChange||this.setBrowserUrl(t.urlAfterRedirects,!!t.extras.replaceUrl,t.id,t.extras.state),this.browserUrlTree=t.urlAfterRedirects);const n=new Eh(t.id,this.serializeUrl(t.extractedUrl),this.serializeUrl(t.urlAfterRedirects),t.targetSnapshot);e.next(n)}));var r,s,i,o;if(n&&this.rawUrlTree&&this.urlHandlingStrategy.shouldProcessUrl(this.rawUrlTree)){const{id:n,extractedUrl:r,source:s,restoredState:i,extras:o}=t,a=new Ch(n,this.serializeUrl(r),s,i);e.next(a);const l=Od(r,this.rootComponentType).snapshot;return Au(Object.assign(Object.assign({},t),{targetSnapshot:l,urlAfterRedirects:r,extras:Object.assign(Object.assign({},o),{skipLocationChange:!1,replaceUrl:!1})}))}return this.rawUrlTree=t.rawUrl,this.browserUrlTree=t.urlAfterRedirects,t.resolve(null),Fu}),Dp(t=>{const{targetSnapshot:e,id:n,extractedUrl:r,rawUrl:s,extras:{skipLocationChange:i,replaceUrl:o}}=t;return this.hooks.beforePreactivation(e,{navigationId:n,appliedUrlTree:r,rawUrlTree:s,skipLocationChange:!!i,replaceUrl:!!o})}),mh(t=>{const e=new kh(t.id,this.serializeUrl(t.extractedUrl),this.serializeUrl(t.urlAfterRedirects),t.targetSnapshot);this.triggerEvent(e)}),E(t=>Object.assign(Object.assign({},t),{guards:xp(t.targetSnapshot,t.currentSnapshot,this.rootContexts)})),function(t,e){return H(n=>{const{targetSnapshot:r,currentSnapshot:s,guards:{canActivateChecks:i,canDeactivateChecks:o}}=n;return 0===o.length&&0===i.length?Au(Object.assign(Object.assign({},n),{guardsResult:!0})):function(t,e,n,r){return D(t).pipe(H(t=>function(t,e,n,r,s){const i=e&&e.routeConfig?e.routeConfig.canDeactivate:null;return i&&0!==i.length?Au(i.map(i=>{const o=Sp(i,e,s);let a;if(function(t){return t&&Jd(t.canDeactivate)}(o))a=Wh(o.canDeactivate(t,e,n,r));else{if(!Jd(o))throw new Error("Invalid CanDeactivate guard");a=Wh(o(t,e,n,r))}return a.pipe(fh())})).pipe(tp()):Au(!0)}(t.component,t.route,n,e,r)),fh(t=>!0!==t,!0))}(o,r,s,t).pipe(H(n=>n&&"boolean"==typeof n?function(t,e,n,r){return D(e).pipe(rh(e=>Nu(function(t,e){return null!==t&&e&&e(new Mh(t)),Au(!0)}(e.route.parent,r),function(t,e){return null!==t&&e&&e(new jh(t)),Au(!0)}(e.route,r),function(t,e,n){const r=e[e.length-1],s=e.slice(0,e.length-1).reverse().map(t=>function(t){const e=t.routeConfig?t.routeConfig.canActivateChild:null;return e&&0!==e.length?{node:t,guards:e}:null}(t)).filter(t=>null!==t).map(e=>Hu(()=>Au(e.guards.map(s=>{const i=Sp(s,e.node,n);let o;if(function(t){return t&&Jd(t.canActivateChild)}(i))o=Wh(i.canActivateChild(r,t));else{if(!Jd(i))throw new Error("Invalid CanActivateChild guard");o=Wh(i(r,t))}return o.pipe(fh())})).pipe(tp())));return Au(s).pipe(tp())}(t,e.path,n),function(t,e,n){const r=e.routeConfig?e.routeConfig.canActivate:null;return r&&0!==r.length?Au(r.map(r=>Hu(()=>{const s=Sp(r,e,n);let i;if(function(t){return t&&Jd(t.canActivate)}(s))i=Wh(s.canActivate(e,t));else{if(!Jd(s))throw new Error("Invalid CanActivate guard");i=Wh(s(e,t))}return i.pipe(fh())}))).pipe(tp()):Au(!0)}(t,e.route,n))),fh(t=>!0!==t,!0))}(r,i,t,e):Au(n)),E(t=>Object.assign(Object.assign({},n),{guardsResult:t})))})}(this.ngModule.injector,t=>this.triggerEvent(t)),mh(t=>{if(Xd(t.guardsResult)){const e=Lh(`Redirecting to "${this.serializeUrl(t.guardsResult)}"`);throw e.url=t.guardsResult,e}const e=new Ah(t.id,this.serializeUrl(t.extractedUrl),this.serializeUrl(t.urlAfterRedirects),t.targetSnapshot,!!t.guardsResult);this.triggerEvent(e)}),Ju(t=>{if(!t.guardsResult){this.resetUrlToCurrentUrlTree();const n=new Sh(t.id,this.serializeUrl(t.extractedUrl),"");return e.next(n),t.resolve(!1),!1}return!0}),Dp(t=>{if(t.guards.canActivateChecks.length)return Au(t).pipe(mh(t=>{const e=new Th(t.id,this.serializeUrl(t.extractedUrl),this.serializeUrl(t.urlAfterRedirects),t.targetSnapshot);this.triggerEvent(e)}),Lu(t=>{let n=!1;return Au(t).pipe((r=this.paramsInheritanceStrategy,s=this.ngModule.injector,H(t=>{const{targetSnapshot:e,guards:{canActivateChecks:n}}=t;if(!n.length)return Au(t);let i=0;return D(n).pipe(rh(t=>function(t,e,n,r){return function(t,e,n,r){const s=Object.keys(t);if(0===s.length)return Au({});const i={};return D(s).pipe(H(s=>function(t,e,n,r){const s=Sp(t,e,r);return Wh(s.resolve?s.resolve(e,n):s(e,n))}(t[s],e,n,r).pipe(mh(t=>{i[s]=t}))),sh(1),H(()=>Object.keys(i).length===s.length?Au(i):Fu))}(t._resolve,t,e,r).pipe(E(e=>(t._resolvedData=e,t.data=Object.assign(Object.assign({},t.data),kd(t,n).resolve),null)))}(t.route,e,r,s)),mh(()=>i++),sh(1),H(e=>i===n.length?Au(t):Fu))})),mh({next:()=>n=!0,complete:()=>{if(!n){const n=new Sh(t.id,this.serializeUrl(t.extractedUrl),"At least one route resolver didn't emit any value.");e.next(n),t.resolve(!1)}}}));var r,s}),mh(t=>{const e=new Ph(t.id,this.serializeUrl(t.extractedUrl),this.serializeUrl(t.urlAfterRedirects),t.targetSnapshot);this.triggerEvent(e)}))}),Dp(t=>{const{targetSnapshot:e,id:n,extractedUrl:r,rawUrl:s,extras:{skipLocationChange:i,replaceUrl:o}}=t;return this.hooks.afterPreactivation(e,{navigationId:n,appliedUrlTree:r,rawUrlTree:s,skipLocationChange:!!i,replaceUrl:!!o})}),E(t=>{const e=function(t,e,n){const r=Vd(t,e._root,n?n._root:void 0);return new Sd(r,e)}(this.routeReuseStrategy,t.targetSnapshot,t.currentRouterState);return Object.assign(Object.assign({},t),{targetRouterState:e})}),mh(t=>{this.currentUrlTree=t.urlAfterRedirects,this.rawUrlTree=this.urlHandlingStrategy.merge(this.currentUrlTree,t.rawUrl),this.routerState=t.targetRouterState,"deferred"===this.urlUpdateStrategy&&(t.extras.skipLocationChange||this.setBrowserUrl(this.rawUrlTree,!!t.extras.replaceUrl,t.id,t.extras.state),this.browserUrlTree=t.urlAfterRedirects)}),(i=this.rootContexts,o=this.routeReuseStrategy,a=t=>this.triggerEvent(t),E(t=>(new Wd(o,t.targetRouterState,t.currentRouterState,a).activate(i),t))),mh({next(){n=!0},complete(){n=!0}}),(s=()=>{if(!n&&!r){this.resetUrlToCurrentUrlTree();const n=new Sh(t.id,this.serializeUrl(t.extractedUrl),`Navigation ID ${t.id} is not equal to the current navigation id ${this.navigationId}`);e.next(n),t.resolve(!1)}this.currentNavigation=null},t=>t.lift(new vh(s))),th(n=>{if(r=!0,(s=n)&&s.ngNavigationCancelingError){const r=Xd(n.url);r||(this.navigated=!0,this.resetStateAndUrl(t.currentRouterState,t.currentUrlTree,t.rawUrl));const s=new Sh(t.id,this.serializeUrl(t.extractedUrl),n.message);e.next(s),r?setTimeout(()=>{const e=this.urlHandlingStrategy.merge(n.url,this.rawUrlTree);this.scheduleNavigation(e,"imperative",null,{skipLocationChange:t.extras.skipLocationChange,replaceUrl:"eager"===this.urlUpdateStrategy},{resolve:t.resolve,reject:t.reject,promise:t.promise})},0):t.resolve(!1)}else{this.resetStateAndUrl(t.currentRouterState,t.currentUrlTree,t.rawUrl);const r=new Oh(t.id,this.serializeUrl(t.extractedUrl),n);e.next(r);try{t.resolve(this.errorHandler(n))}catch(i){t.reject(i)}}var s;return Fu}));var s,i,o,a}))}resetRootComponentType(t){this.rootComponentType=t,this.routerState.root.component=this.rootComponentType}getTransition(){const t=this.transitions.value;return t.urlAfterRedirects=this.browserUrlTree,t}setTransition(t){this.transitions.next(Object.assign(Object.assign({},this.getTransition()),t))}initialNavigation(){this.setUpLocationChangeListener(),0===this.navigationId&&this.navigateByUrl(this.location.path(!0),{replaceUrl:!0})}setUpLocationChangeListener(){this.locationSubscription||(this.locationSubscription=this.location.subscribe(t=>{const e=this.extractLocationChangeInfoFromEvent(t);this.shouldScheduleNavigation(this.lastLocationChangeInfo,e)&&setTimeout(()=>{const{source:t,state:n,urlTree:r}=e,s={replaceUrl:!0};if(n){const t=Object.assign({},n);delete t.navigationId,0!==Object.keys(t).length&&(s.state=t)}this.scheduleNavigation(r,t,n,s)},0),this.lastLocationChangeInfo=e}))}extractLocationChangeInfoFromEvent(t){var e;return{source:"popstate"===t.type?"popstate":"hashchange",urlTree:this.parseUrl(t.url),state:(null===(e=t.state)||void 0===e?void 0:e.navigationId)?t.state:null,transitionId:this.getTransition().id}}shouldScheduleNavigation(t,e){if(!t)return!0;const n=e.urlTree.toString()===t.urlTree.toString();return!(e.transitionId===t.transitionId&&n&&("hashchange"===e.source&&"popstate"===t.source||"popstate"===e.source&&"hashchange"===t.source))}get url(){return this.serializeUrl(this.currentUrlTree)}getCurrentNavigation(){return this.currentNavigation}triggerEvent(t){this.events.next(t)}resetConfig(t){np(t),this.config=t.map(ip),this.navigated=!1,this.lastSuccessfulId=-1}ngOnDestroy(){this.dispose()}dispose(){this.transitions.complete(),this.locationSubscription&&(this.locationSubscription.unsubscribe(),this.locationSubscription=void 0),this.disposed=!0}createUrlTree(t,e={}){const{relativeTo:n,queryParams:r,fragment:s,queryParamsHandling:i,preserveFragment:o}=e,a=n||this.routerState.root,l=o?this.currentUrlTree.fragment:s;let c=null;switch(i){case"merge":c=Object.assign(Object.assign({},this.currentUrlTree.queryParams),r);break;case"preserve":c=this.currentUrlTree.queryParams;break;default:c=r||null}return null!==c&&(c=this.removeEmptyProps(c)),function(t,e,n,r,s){if(0===n.length)return Fd(e.root,e.root,e,r,s);const i=function(t){if("string"==typeof t[0]&&1===t.length&&"/"===t[0])return new Hd(!0,0,t);let e=0,n=!1;const r=t.reduce((t,r,s)=>{if("object"==typeof r&&null!=r){if(r.outlets){const e={};return Zh(r.outlets,(t,n)=>{e[n]="string"==typeof t?t.split("/"):t}),[...t,{outlets:e}]}if(r.segmentPath)return[...t,r.segmentPath]}return"string"!=typeof r?[...t,r]:0===s?(r.split("/").forEach((r,s)=>{0==s&&"."===r||(0==s&&""===r?n=!0:".."===r?e++:""!=r&&t.push(r))}),t):[...t,r]},[]);return new Hd(n,e,r)}(n);if(i.toRoot())return Fd(e.root,new td([],{}),e,r,s);const o=function(t,e,n){if(t.isAbsolute)return new Ld(e.root,!0,0);if(-1===n.snapshot._lastPathIndex){const t=n.snapshot._urlSegment;return new Ld(t,t===e.root,0)}const r=Dd(t.commands[0])?0:1;return function(t,e,n){let r=t,s=e,i=n;for(;i>s;){if(i-=s,r=r.parent,!r)throw new Error("Invalid number of '../'");s=r.segments.length}return new Ld(r,!1,s-i)}(n.snapshot._urlSegment,n.snapshot._lastPathIndex+r,t.numberOfDoubleDots)}(i,e,t),a=o.processChildren?$d(o.segmentGroup,o.index,i.commands):zd(o.segmentGroup,o.index,i.commands);return Fd(o.segmentGroup,a,e,r,s)}(a,this.currentUrlTree,t,c,l)}navigateByUrl(t,e={skipLocationChange:!1}){const n=Xd(t)?t:this.parseUrl(t),r=this.urlHandlingStrategy.merge(n,this.rawUrlTree);return this.scheduleNavigation(r,"imperative",null,e)}navigate(t,e={skipLocationChange:!1}){return function(t){for(let e=0;e{const r=t[n];return null!=r&&(e[n]=r),e},{})}processNavigations(){this.navigations.subscribe(t=>{this.navigated=!0,this.lastSuccessfulId=t.id,this.events.next(new xh(t.id,this.serializeUrl(t.extractedUrl),this.serializeUrl(this.currentUrlTree))),this.lastSuccessfulNavigation=this.currentNavigation,t.resolve(!0)},t=>{this.console.warn("Unhandled Navigation Error: ")})}scheduleNavigation(t,e,n,r,s){if(this.disposed)return Promise.resolve(!1);const i=this.getTransition(),o="imperative"!==e&&"imperative"===(null==i?void 0:i.source),a=(this.lastSuccessfulId===i.id||this.currentNavigation?i.rawUrl:i.urlAfterRedirects).toString()===t.toString();if(o&&a)return Promise.resolve(!0);let l,c,u;s?(l=s.resolve,c=s.reject,u=s.promise):u=new Promise((t,e)=>{l=t,c=e});const h=++this.navigationId;return this.setTransition({id:h,source:e,restoredState:n,currentUrlTree:this.currentUrlTree,currentRawUrl:this.rawUrlTree,rawUrl:t,extras:r,resolve:l,reject:c,promise:u,currentSnapshot:this.routerState.snapshot,currentRouterState:this.routerState}),u.catch(t=>Promise.reject(t))}setBrowserUrl(t,e,n,r){const s=this.urlSerializer.serialize(t);r=r||{},this.location.isCurrentPathEqualTo(s)||e?this.location.replaceState(s,"",Object.assign(Object.assign({},r),{navigationId:n})):this.location.go(s,"",Object.assign(Object.assign({},r),{navigationId:n}))}resetStateAndUrl(t,e,n){this.routerState=t,this.currentUrlTree=e,this.rawUrlTree=this.urlHandlingStrategy.merge(this.currentUrlTree,n),this.resetUrlToCurrentUrlTree()}resetUrlToCurrentUrlTree(){this.location.replaceState(this.urlSerializer.serialize(this.rawUrlTree),"",{navigationId:this.lastSuccessfulId})}}return t.\u0275fac=function(e){return new(e||t)(Yn(Un),Yn(rd),Yn(Lp),Yn(Cl),Yn(ri),Yn(Ja),Yn(Ea),Yn(void 0))},t.\u0275prov=ut({token:t,factory:t.\u0275fac}),t})(),Zp=(()=>{class t{constructor(t,e,n,r,s){this.parentContexts=t,this.location=e,this.resolver=n,this.changeDetector=s,this.activated=null,this._activatedRoute=null,this.activateEvents=new aa,this.deactivateEvents=new aa,this.name=r||Fh,t.onChildOutletCreated(this.name,this)}ngOnDestroy(){this.parentContexts.onChildOutletDestroyed(this.name)}ngOnInit(){if(!this.activated){const t=this.parentContexts.getContext(this.name);t&&t.route&&(t.attachRef?this.attach(t.attachRef,t.route):this.activateWith(t.route,t.resolver||null))}}get isActivated(){return!!this.activated}get component(){if(!this.activated)throw new Error("Outlet is not activated");return this.activated.instance}get activatedRoute(){if(!this.activated)throw new Error("Outlet is not activated");return this._activatedRoute}get activatedRouteData(){return this._activatedRoute?this._activatedRoute.snapshot.data:{}}detach(){if(!this.activated)throw new Error("Outlet is not activated");this.location.detach();const t=this.activated;return this.activated=null,this._activatedRoute=null,t}attach(t,e){this.activated=t,this._activatedRoute=e,this.location.insert(t.hostView)}deactivate(){if(this.activated){const t=this.component;this.activated.destroy(),this.activated=null,this._activatedRoute=null,this.deactivateEvents.emit(t)}}activateWith(t,e){if(this.isActivated)throw new Error("Cannot activate an already activated outlet");this._activatedRoute=t;const n=(e=e||this.resolver).resolveComponentFactory(t._futureSnapshot.routeConfig.component),r=this.parentContexts.getOrCreateContext(this.name).children,s=new Wp(t,r,this.location.injector);this.activated=this.location.createComponent(n,this.location.length,s),this.changeDetector.markForCheck(),this.activateEvents.emit(this.activated.instance)}}return t.\u0275fac=function(e){return new(e||t)(yi(Lp),yi(Bo),yi(so),("name",function(t,e){const n=t.attrs;if(n){const t=n.length;let r=0;for(;r{class t{constructor(t,e,n,r,s){this.router=t,this.injector=r,this.preloadingStrategy=s,this.loader=new Up(e,n,e=>t.triggerEvent(new Rh(e)),e=>t.triggerEvent(new Ih(e)))}setUpPreloading(){this.subscription=this.router.events.pipe(Ju(t=>t instanceof xh),rh(()=>this.preload())).subscribe(()=>{})}preload(){const t=this.injector.get(zo);return this.processRoutes(t,this.router.config)}ngOnDestroy(){this.subscription&&this.subscription.unsubscribe()}processRoutes(t,e){const n=[];for(const r of e)if(r.loadChildren&&!r.canLoad&&r._loadedConfig){const t=r._loadedConfig;n.push(this.processRoutes(t.module,t.routes))}else r.loadChildren&&!r.canLoad?n.push(this.preloadConfig(t,r)):r.children&&n.push(this.processRoutes(t,r.children));return D(n).pipe($(),E(t=>{}))}preloadConfig(t,e){return this.preloadingStrategy.preload(e,()=>(e._loadedConfig?Au(e._loadedConfig):this.loader.load(t.injector,e)).pipe(H(t=>(e._loadedConfig=t,this.processRoutes(t.module,t.routes)))))}}return t.\u0275fac=function(e){return new(e||t)(Yn(Gp),Yn(Ja),Yn(Ea),Yn(ri),Yn(Qp))},t.\u0275prov=ut({token:t,factory:t.\u0275fac}),t})(),Xp=(()=>{class t{constructor(t,e,n={}){this.router=t,this.viewportScroller=e,this.options=n,this.lastId=0,this.lastSource="imperative",this.restoredId=0,this.store={},n.scrollPositionRestoration=n.scrollPositionRestoration||"disabled",n.anchorScrolling=n.anchorScrolling||"disabled"}init(){"disabled"!==this.options.scrollPositionRestoration&&this.viewportScroller.setHistoryScrollRestoration("manual"),this.routerEventsSubscription=this.createScrollEvents(),this.scrollEventsSubscription=this.consumeScrollEvents()}createScrollEvents(){return this.router.events.subscribe(t=>{t instanceof Ch?(this.store[this.lastId]=this.viewportScroller.getScrollPosition(),this.lastSource=t.navigationTrigger,this.restoredId=t.restoredState?t.restoredState.navigationId:0):t instanceof xh&&(this.lastId=t.id,this.scheduleScrollEvent(t,this.router.parseUrl(t.urlAfterRedirects).fragment))})}consumeScrollEvents(){return this.router.events.subscribe(t=>{t instanceof Nh&&(t.position?"top"===this.options.scrollPositionRestoration?this.viewportScroller.scrollToPosition([0,0]):"enabled"===this.options.scrollPositionRestoration&&this.viewportScroller.scrollToPosition(t.position):t.anchor&&"enabled"===this.options.anchorScrolling?this.viewportScroller.scrollToAnchor(t.anchor):"disabled"!==this.options.scrollPositionRestoration&&this.viewportScroller.scrollToPosition([0,0]))})}scheduleScrollEvent(t,e){this.router.triggerEvent(new Nh(t,"popstate"===this.lastSource?this.store[this.restoredId]:null,e))}ngOnDestroy(){this.routerEventsSubscription&&this.routerEventsSubscription.unsubscribe(),this.scrollEventsSubscription&&this.scrollEventsSubscription.unsubscribe()}}return t.\u0275fac=function(e){return new(e||t)(Yn(Gp),Yn(Nl),Yn(void 0))},t.\u0275prov=ut({token:t,factory:t.\u0275fac}),t})();const Yp=new Nn("ROUTER_CONFIGURATION"),tf=new Nn("ROUTER_FORROOT_GUARD"),ef=[Cl,{provide:rd,useClass:sd},{provide:Gp,useFactory:function(t,e,n,r,s,i,o,a={},l,c){const u=new Gp(null,t,e,n,r,s,i,Bh(o));if(l&&(u.urlHandlingStrategy=l),c&&(u.routeReuseStrategy=c),function(t,e){t.errorHandler&&(e.errorHandler=t.errorHandler),t.malformedUriErrorHandler&&(e.malformedUriErrorHandler=t.malformedUriErrorHandler),t.onSameUrlNavigation&&(e.onSameUrlNavigation=t.onSameUrlNavigation),t.paramsInheritanceStrategy&&(e.paramsInheritanceStrategy=t.paramsInheritanceStrategy),t.relativeLinkResolution&&(e.relativeLinkResolution=t.relativeLinkResolution),t.urlUpdateStrategy&&(e.urlUpdateStrategy=t.urlUpdateStrategy)}(a,u),a.enableTracing){const t=ol();u.events.subscribe(e=>{t.logGroup(`Router Event: ${e.constructor.name}`),t.log(e.toString()),t.log(e),t.logGroupEnd()})}return u},deps:[rd,Lp,Cl,ri,Ja,Ea,Fp,Yp,[class{},new rr],[class{},new rr]]},Lp,{provide:Ed,useFactory:function(t){return t.routerState.root},deps:[Gp]},{provide:Ja,useClass:tl},Jp,Kp,class{preload(t,e){return e().pipe(th(()=>Au(null)))}},{provide:Yp,useValue:{enableTracing:!1}}];function nf(){return new qa("Router",Gp)}let rf=(()=>{class t{constructor(t,e){}static forRoot(e,n){return{ngModule:t,providers:[ef,lf(e),{provide:tf,useFactory:af,deps:[[Gp,new rr,new sr]]},{provide:Yp,useValue:n||{}},{provide:yl,useFactory:of,deps:[ll,[new nr(vl),new rr],Yp]},{provide:Xp,useFactory:sf,deps:[Gp,Nl,Yp]},{provide:Qp,useExisting:n&&n.preloadingStrategy?n.preloadingStrategy:Kp},{provide:qa,multi:!0,useFactory:nf},[cf,{provide:la,multi:!0,useFactory:uf,deps:[cf]},{provide:df,useFactory:hf,deps:[cf]},{provide:ga,multi:!0,useExisting:df}]]}}static forChild(e){return{ngModule:t,providers:[lf(e)]}}}return t.\u0275fac=function(e){return new(e||t)(Yn(tf,8),Yn(Gp,8))},t.\u0275mod=Gt({type:t}),t.\u0275inj=ht({}),t})();function sf(t,e,n){return n.scrollOffset&&e.setOffset(n.scrollOffset),new Xp(t,e,n)}function of(t,e,n={}){return n.useHash?new bl(t,e):new wl(t,e)}function af(t){return"guarded"}function lf(t){return[{provide:Fn,multi:!0,useValue:t},{provide:Fp,multi:!0,useValue:t}]}let cf=(()=>{class t{constructor(t){this.injector=t,this.initNavigation=!1,this.resultOfPreactivationDone=new x}appInitializer(){return this.injector.get(ul,Promise.resolve(null)).then(()=>{let t=null;const e=new Promise(e=>t=e),n=this.injector.get(Gp),r=this.injector.get(Yp);return"disabled"===r.initialNavigation?(n.setUpLocationChangeListener(),t(!0)):"enabled"===r.initialNavigation||"enabledBlocking"===r.initialNavigation?(n.hooks.afterPreactivation=()=>this.initNavigation?Au(null):(this.initNavigation=!0,t(!0),this.resultOfPreactivationDone),n.initialNavigation()):t(!0),e})}bootstrapListener(t){const e=this.injector.get(Yp),n=this.injector.get(Jp),r=this.injector.get(Xp),s=this.injector.get(Gp),i=this.injector.get(Qa);t===i.components[0]&&("enabledNonBlocking"!==e.initialNavigation&&void 0!==e.initialNavigation||s.initialNavigation(),n.setUpPreloading(),r.init(),s.resetRootComponentType(i.componentTypes[0]),this.resultOfPreactivationDone.next(null),this.resultOfPreactivationDone.complete())}}return t.\u0275fac=function(e){return new(e||t)(Yn(ri))},t.\u0275prov=ut({token:t,factory:t.\u0275fac}),t})();function uf(t){return t.appInitializer.bind(t)}function hf(t){return t.bootstrapListener.bind(t)}const df=new Nn("Router Initializer"),pf=[];let ff=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=Gt({type:t}),t.\u0275inj=ht({imports:[[rf.forRoot(pf)],rf]}),t})();function gf(t,e,n,r){return new(n||(n=Promise))(function(s,i){function o(t){try{l(r.next(t))}catch(e){i(e)}}function a(t){try{l(r.throw(t))}catch(e){i(e)}}function l(t){var e;t.done?s(t.value):(e=t.value,e instanceof n?e:new n(function(t){t(e)})).then(o,a)}l((r=r.apply(t,e||[])).next())})}class mf{}class yf{}class _f{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 _f?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 _f;return e.lazyInit=this.lazyInit&&this.lazyInit instanceof _f?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 vf{encodeKey(t){return wf(t)}encodeValue(t){return wf(t)}decodeKey(t){return decodeURIComponent(t)}decodeValue(t){return decodeURIComponent(t)}}function wf(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,"/")}class bf{constructor(t={}){if(this.updates=null,this.cloneFrom=null,this.encoder=t.encoder||new vf,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,i]=-1==r?[e.decodeKey(t),""]:[e.decodeKey(t.slice(0,r)),e.decodeValue(t.slice(r+1))],o=n.get(s)||[];o.push(i),n.set(s,o)}),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 bf({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(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(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)}}function Cf(t){return"undefined"!=typeof ArrayBuffer&&t instanceof ArrayBuffer}function xf(t){return"undefined"!=typeof Blob&&t instanceof Blob}function Sf(t){return"undefined"!=typeof FormData&&t instanceof FormData}class Of{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.params&&(this.params=s.params)),this.headers||(this.headers=new _f),this.params){const t=this.params.toString();if(0===t.length)this.urlWithParams=e;else{const n=e.indexOf("?");this.urlWithParams=e+(-1===n?"?":ne.set(n,t.setHeaders[n]),a)),t.setParams&&(l=Object.keys(t.setParams).reduce((e,n)=>e.set(n,t.setParams[n]),l)),new Of(e,n,s,{params:l,headers:a,reportProgress:o,responseType:r,withCredentials:i})}}var Ef=function(t){return t[t.Sent=0]="Sent",t[t.UploadProgress=1]="UploadProgress",t[t.ResponseHeader=2]="ResponseHeader",t[t.DownloadProgress=3]="DownloadProgress",t[t.Response=4]="Response",t[t.User=5]="User",t}({});class kf{constructor(t,e=200,n="OK"){this.headers=t.headers||new _f,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 Af extends kf{constructor(t={}){super(t),this.type=Ef.ResponseHeader}clone(t={}){return new Af({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 Tf extends kf{constructor(t={}){super(t),this.type=Ef.Response,this.body=void 0!==t.body?t.body:null}clone(t={}){return new Tf({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 Pf extends kf{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 Rf(t,e){return{body:e,headers:t.headers,observe:t.observe,params:t.params,reportProgress:t.reportProgress,responseType:t.responseType,withCredentials:t.withCredentials}}let If=(()=>{class t{constructor(t){this.handler=t}request(t,e,n={}){let r;if(t instanceof Of)r=t;else{let s,i;s=n.headers instanceof _f?n.headers:new _f(n.headers),n.params&&(i=n.params instanceof bf?n.params:new bf({fromObject:n.params})),r=new Of(t,e,void 0!==n.body?n.body:null,{headers:s,params:i,reportProgress:n.reportProgress,responseType:n.responseType||"json",withCredentials:n.withCredentials})}const s=Au(r).pipe(rh(t=>this.handler.handle(t)));if(t instanceof Of||"events"===n.observe)return s;const i=s.pipe(Ju(t=>t instanceof Tf));switch(n.observe||"body"){case"body":switch(r.responseType){case"arraybuffer":return i.pipe(E(t=>{if(null!==t.body&&!(t.body instanceof ArrayBuffer))throw new Error("Response is not an ArrayBuffer.");return t.body}));case"blob":return i.pipe(E(t=>{if(null!==t.body&&!(t.body instanceof Blob))throw new Error("Response is not a Blob.");return t.body}));case"text":return i.pipe(E(t=>{if(null!==t.body&&"string"!=typeof t.body)throw new Error("Response is not a string.");return t.body}));case"json":default:return i.pipe(E(t=>t.body))}case"response":return i;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 bf).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,Rf(n,e))}post(t,e,n={}){return this.request("POST",t,Rf(n,e))}put(t,e,n={}){return this.request("PUT",t,Rf(n,e))}}return t.\u0275fac=function(e){return new(e||t)(Yn(mf))},t.\u0275prov=ut({token:t,factory:t.\u0275fac}),t})();class Mf{constructor(t,e){this.next=t,this.interceptor=e}handle(t){return this.interceptor.intercept(t,this.next)}}const Vf=new Nn("HTTP_INTERCEPTORS");let jf=(()=>{class t{intercept(t,e){return e.handle(t)}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275prov=ut({token:t,factory:t.\u0275fac}),t})();const Df=/^\)\]\}',?\n/;class Nf{}let Ff=(()=>{class t{constructor(){}build(){return new XMLHttpRequest}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275prov=ut({token:t,factory:t.\u0275fac}),t})(),Uf=(()=>{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 i=()=>{if(null!==s)return s;const e=1223===n.status?204:n.status,r=n.statusText||"OK",i=new _f(n.getAllResponseHeaders()),o=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 Af({headers:i,status:e,statusText:r,url:o}),s},o=()=>{let{headers:r,status:s,statusText:o,url:a}=i(),l=null;204!==s&&(l=void 0===n.response?n.responseText:n.response),0===s&&(s=l?200:0);let c=s>=200&&s<300;if("json"===t.responseType&&"string"==typeof l){const t=l;l=l.replace(Df,"");try{l=""!==l?JSON.parse(l):null}catch(u){l=t,c&&(c=!1,l={error:u,text:l})}}c?(e.next(new Tf({body:l,headers:r,status:s,statusText:o,url:a||void 0})),e.complete()):e.error(new Pf({error:l,headers:r,status:s,statusText:o,url:a||void 0}))},a=t=>{const{url:r}=i(),s=new Pf({error:t,status:n.status||0,statusText:n.statusText||"Unknown Error",url:r||void 0});e.error(s)};let l=!1;const c=r=>{l||(e.next(i()),l=!0);let s={type:Ef.DownloadProgress,loaded:r.loaded};r.lengthComputable&&(s.total=r.total),"text"===t.responseType&&n.responseText&&(s.partialText=n.responseText),e.next(s)},u=t=>{let n={type:Ef.UploadProgress,loaded:t.loaded};t.lengthComputable&&(n.total=t.total),e.next(n)};return n.addEventListener("load",o),n.addEventListener("error",a),n.addEventListener("timeout",a),n.addEventListener("abort",a),t.reportProgress&&(n.addEventListener("progress",c),null!==r&&n.upload&&n.upload.addEventListener("progress",u)),n.send(r),e.next({type:Ef.Sent}),()=>{n.removeEventListener("error",a),n.removeEventListener("abort",a),n.removeEventListener("load",o),n.removeEventListener("timeout",a),t.reportProgress&&(n.removeEventListener("progress",c),null!==r&&n.upload&&n.upload.removeEventListener("progress",u)),n.readyState!==n.DONE&&n.abort()}})}}return t.\u0275fac=function(e){return new(e||t)(Yn(Nf))},t.\u0275prov=ut({token:t,factory:t.\u0275fac}),t})();const Hf=new Nn("XSRF_COOKIE_NAME"),Lf=new Nn("XSRF_HEADER_NAME");class zf{}let $f=(()=>{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=Al(t,this.cookieName),this.lastCookieString=t),this.lastToken}}return t.\u0275fac=function(e){return new(e||t)(Yn(al),Yn(fa),Yn(Hf))},t.\u0275prov=ut({token:t,factory:t.\u0275fac}),t})(),qf=(()=>{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)(Yn(zf),Yn(Lf))},t.\u0275prov=ut({token:t,factory:t.\u0275fac}),t})(),Bf=(()=>{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(Vf,[]);this.chain=t.reduceRight((t,e)=>new Mf(t,e),this.backend)}return this.chain.handle(t)}}return t.\u0275fac=function(e){return new(e||t)(Yn(yf),Yn(ri))},t.\u0275prov=ut({token:t,factory:t.\u0275fac}),t})(),Gf=(()=>{class t{static disable(){return{ngModule:t,providers:[{provide:qf,useClass:jf}]}}static withOptions(e={}){return{ngModule:t,providers:[e.cookieName?{provide:Hf,useValue:e.cookieName}:[],e.headerName?{provide:Lf,useValue:e.headerName}:[]]}}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=Gt({type:t}),t.\u0275inj=ht({providers:[qf,{provide:Vf,useExisting:qf,multi:!0},{provide:zf,useClass:$f},{provide:Hf,useValue:"XSRF-TOKEN"},{provide:Lf,useValue:"X-XSRF-TOKEN"}]}),t})(),Zf=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=Gt({type:t}),t.\u0275inj=ht({providers:[If,{provide:mf,useClass:Bf},Uf,{provide:yf,useExisting:Uf},Ff,{provide:Nf,useExisting:Ff}],imports:[[Gf.withOptions({cookieName:"XSRF-TOKEN",headerName:"X-XSRF-TOKEN"})]]}),t})(),Wf=(()=>{class t{constructor(t,e){this.http=t,this.serverUrl=e,this.authenticatedChanged=new Tu(null),this.subject=new Tu(null),localStorage.getItem("access_token")&&this.authenticatedChanged.next(!0)}authenticate(t,e){return gf(this,void 0,void 0,function*(){if(localStorage.getItem("access_token"))return this.authenticatedChanged.next(!0),"OK";const n=`client_id=oauthClient&scope=IdentityServerApi&grant_type=password&username=${encodeURIComponent(t)}&password=${encodeURIComponent(e)}`,r=new _f({"Content-Type":"application/x-www-form-urlencoded"});try{const e=yield this.http.post(this.serverUrl+"connect/token",n,{headers:r,observe:"response"}).toPromise();return-1!=e.headers.get("uts").indexOf("C")&&e.body.access_token?(localStorage.setItem("access_token",e.body.access_token),localStorage.setItem("currentUser",t),this.authenticatedChanged.next(!0),"OK"):"error"}catch(s){return s}})}getToken(){return localStorage.getItem("access_token")||(this.authenticatedChanged.next(!1),null)}getUser(){return localStorage.getItem("currentUser")}getRequest(t){const e=this.getToken();if(e){const n=new _f;return n.append("Content-Type","application/json"),n.append("Accept","application/json"),n.append("Authorization","Bearer "+e),this.http.get(t,{headers:n})}return null}logout(){localStorage.removeItem("access_token"),localStorage.removeItem("currentUser"),this.authenticatedChanged.next(!1),this.subject.next(!0),localStorage.clear()}}return t.\u0275fac=function(e){return new(e||t)(Yn(If),Yn("API_URL"))},t.\u0275prov=ut({token:t,factory:t.\u0275fac}),t})(),Qf=(()=>{class t{constructor(t,e,n){this.http=t,this.auth=e,this.serverUrl=n}getRequest(t){return gf(this,void 0,void 0,function*(){let e=this.auth.getToken();const n=new _f({"Content-Type":"application/json",Authorization:"Bearer "+e,X_API_Key:"50662ded-a786-1ef4-fb61-10851f73dacc"}),r=this.http.get(t=this.serverUrl+t,{headers:n}).toPromise();return r.catch(t=>{401==t.status&&this.auth.logout()}),r})}postRequest(t,e){return gf(this,void 0,void 0,function*(){let n=this.auth.getToken();const r={headers:new _f({"Content-Type":"application/json",Authorization:"Bearer "+n,X_API_Key:"50662ded-a786-1ef4-fb61-10851f73dacc"})},s=this.http.post(t=this.serverUrl+t,JSON.stringify(e),r).toPromise();return s.catch(t=>{401==t.status&&this.auth.logout()}),s})}}return t.\u0275fac=function(e){return new(e||t)(Yn(If),Yn(Wf),Yn("API_URL"))},t.\u0275prov=ut({token:t,factory:t.\u0275fac,providedIn:"root"}),t})();function Kf(t,e){1&t&&(wi(0,"div",30),Ci(1,"img",31),wi(2,"h2"),Ni(3,"\xa1Genial!"),bi(),wi(4,"p"),Ni(5,"\xa1Ya hemos recibido tu solicitud! En breve nuestro equipo se pondr\xe1 en contacto contigo para ofrecerte la mejor tarifa para ti."),bi(),bi())}function Jf(t,e){1&t&&(wi(0,"div",60),wi(1,"p"),Ni(2,"Campo obligatorio"),bi(),bi())}function Xf(t,e){1&t&&(wi(0,"div",60),wi(1,"p"),Ni(2,"Formato incorrecto"),bi(),bi())}function Yf(t,e){1&t&&(wi(0,"div",61),wi(1,"p"),Ni(2,"Campo obligatorio"),bi(),bi())}function tg(t,e){1&t&&(wi(0,"div",61),wi(1,"p"),Ni(2,"Formato incorrecto"),bi(),bi())}function eg(t,e){1&t&&(wi(0,"div",62),wi(1,"p"),Ni(2,"Campo obligatorio"),bi(),bi())}function ng(t,e){1&t&&(wi(0,"div",62),wi(1,"p"),Ni(2,"Formato incorrecto"),bi(),bi())}function rg(t,e){1&t&&(wi(0,"div",63),wi(1,"p"),Ni(2,"El archivo es demasiado grande, si pesa m\xe1s de 25Mb s\xfabelo comprimido."),bi(),bi())}function sg(t,e){if(1&t){const t=xi();wi(0,"a",68),Ei("dblclick",function(){Pe(t);const n=e.index;return Ti(3).showDocument(n)}),Ci(1,"img",69),wi(2,"p",70),Ni(3),bi(),wi(4,"span",71),Ei("click",function(){Pe(t);const n=e.index;return Ti(3).deleteFile(n)}),Ni(5,"\u2716"),bi(),bi()}if(2&t){const t=e.$implicit;Qr(3),Fi(t.name.length>19?t.name.substr(0,18)+"...":t.name)}}function ig(t,e){if(1&t&&(wi(0,"div",64),wi(1,"p",65),Ni(2,"Documentos subidos:"),bi(),wi(3,"div",66),mi(4,sg,6,1,"a",67),bi(),bi()),2&t){const t=Ti(2);Qr(4),_i("ngForOf",t.documentsUploaded)}}function og(t,e){1&t&&(wi(0,"div",72),wi(1,"p"),Ni(2,"Acepta los t\xe9rminos de uso para continuar"),bi(),bi())}const ag=function(t){return{"checkbox-required":t}};function lg(t,e){if(1&t){const t=xi();wi(0,"form",32),wi(1,"fieldset"),Ci(2,"legend",33),wi(3,"div",34),wi(4,"label",35),Ni(5,"Nombre de la empresa"),wi(6,"b"),Ni(7,"*"),bi(),bi(),Ci(8,"input",36),mi(9,Jf,3,0,"div",37),mi(10,Xf,3,0,"div",37),bi(),wi(11,"div",34),wi(12,"label",38),Ni(13,"Tel\xe9fono de contacto"),wi(14,"b"),Ni(15,"*"),bi(),bi(),Ci(16,"input",39),mi(17,Yf,3,0,"div",40),mi(18,tg,3,0,"div",40),bi(),wi(19,"div",34),wi(20,"label",41),Ni(21,"Email de contacto"),wi(22,"b"),Ni(23,"*"),bi(),bi(),Ci(24,"input",42),mi(25,eg,3,0,"div",43),mi(26,ng,3,0,"div",43),bi(),wi(27,"div",44),wi(28,"label",45),Ni(29,"Factura electricidad"),bi(),wi(30,"button",46),Ei("click",function(){Pe(t);const e=Ee.lFrame.contextLView[56];return Ti().delegateClick(e)}),Ee.lFrame.currentNamespace=de,wi(31,"svg",47),Ci(32,"path",48),bi(),Ee.lFrame.currentNamespace=null,wi(33,"p"),Ni(34,"Subir documento"),bi(),wi(35,"input",49,50),Ei("change",function(e){return Pe(t),Ti().onFileChange(e)}),bi(),bi(),bi(),mi(37,rg,3,0,"div",51),bi(),wi(38,"p",52),Ni(39,"*Sube una factura actual para que Qlip pueda empezar a trabajar en ofrecerte una mejor oferta."),bi(),mi(40,ig,5,1,"div",53),wi(41,"div",54),Ci(42,"input",55),wi(43,"p"),Ni(44,"He le\xeddo y acepto los "),wi(45,"a",56),wi(46,"b"),Ni(47,"T\xe9rminos y Pol\xedtica de Privacidad de Qlip"),bi(),bi(),bi(),bi(),wi(48,"div",54),Ci(49,"input",57),wi(50,"p"),Ni(51,"He le\xeddo y acepto el "),wi(52,"a",46),Ei("click",function(){return Pe(t),Ti().descargaTratamientoDatos()}),wi(53,"b"),Ni(54,"Acuerdo de Corresponsabilidad de Tratamiento de Datos"),bi(),bi(),bi(),bi(),mi(55,og,3,0,"div",58),wi(56,"button",59),Ei("click",function(){return Pe(t),Ti().sendData()}),Ni(57," Enviar "),bi(),bi()}if(2&t){const t=Ti();_i("formGroup",t.mainForm),Qr(9),_i("ngIf",t.checkRequiredField("entrepriseName")),Qr(1),_i("ngIf",t.checkValidityOfField("entrepriseName")),Qr(7),_i("ngIf",t.checkRequiredField("phone")),Qr(1),_i("ngIf",t.checkValidityOfField("phone")),Qr(7),_i("ngIf",t.checkRequiredField("email")),Qr(1),_i("ngIf",t.checkValidityOfField("email")),Qr(11),_i("ngIf",t.showMaximumSiceExceepMessage),Qr(3),_i("ngIf",t.documentsUploaded.length),Qr(2),_i("ngClass",ia(12,ag,t.mainForm.controls.dataPolicy.touched&&!t.mainForm.controls.dataPolicy.value)),Qr(7),_i("ngClass",ia(14,ag,t.mainForm.controls.dataTreatment.touched&&!t.mainForm.controls.dataTreatment.value)),Qr(6),_i("ngIf",t.mainForm.controls.dataPolicy.touched&&!t.mainForm.controls.dataPolicy.value||t.mainForm.controls.dataTreatment.touched&&!t.mainForm.controls.dataTreatment.value)}}const cg=function(t){return{"finish-form-mode":t}};let ug=(()=>{class t{constructor(t,e,n){this.formBuilder=t,this.remote=e,this.http=n,this.sendData=()=>{if("VALID"===this.mainForm.status&&this.mainForm.controls.dataPolicy.value&&this.mainForm.controls.dataTreatment.value){this.infoSent=!0;let t=this.mainForm.value;t.files=this.documentsUploaded,console.log(t.files),this.remote.postRequest("Emails/JeffClientEmail",t)}else this.mainForm.markAllAsTouched()},this.checkValidityOfField=t=>this.mainForm.controls[t].touched&&this.mainForm.controls[t].value&&!("VALID"===this.mainForm.controls[t].status),this.deleteFile=t=>{this.documentsUploaded=this.documentsUploaded.filter((e,n)=>n!==t)},this.delegateClick=t=>{t.click()},this.onFileChange=t=>{if(t.target.files&&t.target.files.length)for(var e=0;e{let t=new Blob([this.lopdDocument]),e=window.URL.createObjectURL(t),n=document.createElement("a");n.download="Acuerdo LOPD Qlip.pdf",n.href=e,n.click()},this.mainForm=this.formBuilder.group({entrepriseName:[void 0,[kc.required]],phone:[void 0,[kc.required,kc.pattern(/[0-9]{6}/i)]],email:[void 0,[kc.required,kc.pattern(/[A-Za-z0-9._%-]+@[A-Za-z0-9._%-]+[.]{1}[a-z]{2,3}/i)]],dataTreatment:[void 0,[kc.required]],dataPolicy:[void 0,[kc.required]]}),this.infoSent=!1,this.showMaximumSiceExceepMessage=!1,this.documentsUploaded=[]}ngOnInit(){this.http.get("/assets/pdf/LPD.pdf",{responseType:"blob"}).subscribe(t=>{this.lopdDocument=t})}checkRequiredField(t){return this.mainForm.controls[t].touched&&!this.mainForm.controls[t].value}myfile(t,e){return gf(this,void 0,void 0,function*(){const n=new FileReader,r=t.target.files[e];n.readAsDataURL(r);const s=[...this.documentsUploaded].reduce((t,e)=>e.size+t,r.size)>244e5;this.showMaximumSiceExceepMessage=s,s?console.log("MAXIMO"):n.onload=()=>gf(this,void 0,void 0,function*(){let t={};t.content=n.result.toString().substring(n.result.toString().indexOf(",")+1),t.name=r.name,t.type=r.type,this.documentsUploaded.push(t)})})}}return t.\u0275fac=function(e){return new(e||t)(yi(ku),yi(Qf),yi(If))},t.\u0275cmp=zt({type:t,selectors:[["app-landing"]],decls:61,vars:5,consts:[[1,"fix-header"],[1,"merged-logo"],[1,"jeff-logo"],["src","../../../assets/svg/jeff-logo.svg","alt",""],[1,"vertical-line"],["src","../../../assets/svg/vertical-line.svg","alt",""],[1,"qlip-logo"],["src","../../../assets/svg/qlip-logo.svg","alt",""],[1,"landing-body"],[1,"main-image"],[1,"qlip-service"],[1,"form-container",3,"ngClass"],["class","finish-container",4,"ngIf"],["class","c-form mt-3",3,"formGroup",4,"ngIf"],[1,"cards"],[1,"card"],["src","../../../assets/svg/contact-img.svg","alt",""],[1,"card-info"],[1,"card-number"],[1,"card-text"],["src","../../../assets/svg/electric-house.svg","alt",""],["src","../../../assets/svg/comunication-img.svg","alt",""],[1,"separation-line"],[1,"logo-bar"],[1,"merged-logo-footer"],[1,"external-links"],["href","https://jeff.com/es/","target","_blank"],["href","https://qlip.es/home","target","_blank"],["href","https://qlip.es/condiciones-generales","target","_blank"],[1,"copyright"],[1,"finish-container"],["src","../../../assets/svg/finish-logo.svg"],[1,"c-form","mt-3",3,"formGroup"],[1,"sr-only"],[1,"form-field"],["for","entrepriseName",1,"login-label"],["id","entrepriseName","formControlName","entrepriseName","autocomplete","off","placeholder","","required",""],["role","alert","class","field-error","aria-labelledby","entrepriseName",4,"ngIf"],["for","phone",1,"login-label"],["id","phone","formControlName","phone","autocomplete","off","placeholder","","required",""],["role","alert","class","field-error","aria-labelledby","phone",4,"ngIf"],["for","email",1,"login-label"],["id","email","formControlName","email","autocomplete","off","placeholder","","required",""],["role","alert","class","field-error","aria-labelledby","email",4,"ngIf"],[1,"docu-field"],[1,"login-label"],[3,"click"],["width","14","height","17","viewBox","0 0 14 17","fill","none","xmlns","http://www.w3.org/2000/svg"],["d","M4 13H10V7H14L7 0L0 7H4V13ZM7 2.83L9.17 5H8V11H6V5H4.83L7 2.83ZM0 15H14V17H0V15Z","fill","#0033CC"],["hidden","","type","file","multiple","",3,"change"],["uploadFile",""],["class","field-error error-max-size",4,"ngIf"],[1,"advise"],["class","documents-uploaded",4,"ngIf"],[1,"checkbox"],["type","checkbox","formControlName","dataPolicy",1,"data-policy",3,"ngClass"],["href","https://qlip.es/politica-de-privacidad","target","_blank"],["type","checkbox","formControlName","dataTreatment",1,"data-treatment",3,"ngClass"],["class","field-error error-checkbox",4,"ngIf"],["type","submit",1,"send-button",3,"click"],["role","alert","aria-labelledby","entrepriseName",1,"field-error"],["role","alert","aria-labelledby","phone",1,"field-error"],["role","alert","aria-labelledby","email",1,"field-error"],[1,"field-error","error-max-size"],[1,"documents-uploaded"],[1,"titleUploads"],[1,"document-list"],["class","grupo-upload",3,"dblclick",4,"ngFor","ngForOf"],[1,"grupo-upload",3,"dblclick"],["src","../../../assets/svg/file.svg",2,"width","11px","margin-right","10px"],[1,"fileName"],[2,"font-size","16px","margin","0 10px","color","#0033CC","cursor","pointer",3,"click"],[1,"field-error","error-checkbox"]],template:function(t,e){1&t&&(wi(0,"div",0),wi(1,"div",1),wi(2,"div",2),Ci(3,"img",3),bi(),wi(4,"div",4),Ci(5,"img",5),bi(),wi(6,"div",6),Ci(7,"img",7),bi(),bi(),bi(),wi(8,"div",8),wi(9,"div",9),wi(10,"h2"),Ni(11,"\xa1Ahorra en tu factura de la luz!"),bi(),wi(12,"p"),Ni(13,"Gracias a la colaboraci\xf3n de Jeff con Qlip, puedes empezar a ahorrar en tu factura de luz."),bi(),bi(),wi(14,"div",10),wi(15,"div",11),mi(16,Kf,6,0,"div",12),mi(17,lg,58,16,"form",13),bi(),wi(18,"p"),Ni(19,"\xbfC\xf3mo funciona el servicio de Qlip?"),bi(),wi(20,"div",14),wi(21,"div",15),Ci(22,"img",16),wi(23,"div",17),wi(24,"div",18),Ni(25," 1. "),bi(),wi(26,"div",19),Ni(27," Rellena el formulario con tus datos de contacto y una factura de electricidad que tengas a mano. "),bi(),bi(),bi(),wi(28,"div",15),Ci(29,"img",20),wi(30,"div",17),wi(31,"div",18),Ni(32," 2. "),bi(),wi(33,"div",19),Ni(34," Desde Qlip revisar\xe1n el estado actual de tu tarifa y negociar\xe1n con los proveedores un precio mejor. "),bi(),bi(),bi(),wi(35,"div",15),Ci(36,"img",21),wi(37,"div",17),wi(38,"div",18),Ni(39," 3. "),bi(),wi(40,"div",19),Ni(41," Nueva tarifa, m\xe1s ahorro, Qlip realizar\xe1 por ti el cambio sin ning\xfan coste, 100% gratuito. "),bi(),bi(),bi(),bi(),bi(),Ci(42,"div",22),wi(43,"footer"),wi(44,"div",23),wi(45,"div",24),wi(46,"div",2),Ci(47,"img",3),bi(),wi(48,"div",4),Ci(49,"img",5),bi(),wi(50,"div",6),Ci(51,"img",7),bi(),bi(),wi(52,"div",25),wi(53,"a",26),Ni(54,"Web de Jeff"),bi(),wi(55,"a",27),Ni(56,"Web de Qlip"),bi(),wi(57,"a",28),Ni(58,"T\xe9rminos y condiciones"),bi(),bi(),bi(),wi(59,"div",29),Ni(60,"\xa9 2021 Todos los derechos reservados."),bi(),bi(),bi()),2&t&&(Qr(15),_i("ngClass",ia(3,cg,e.infoSent)),Qr(1),_i("ngIf",e.infoSent),Qr(1),_i("ngIf",!e.infoSent))},directives:[Tl,Ml,gu,Wc,vu,bc,Zc,bu,xu,_c,Rl],styles:['@import url("https://fonts.googleapis.com/css2?family=Noto+Sans&display=swap");[_nghost-%COMP%]{--header-height:64px;--form-offset:420px}a[_ngcontent-%COMP%]:active, a[_ngcontent-%COMP%]:link, a[_ngcontent-%COMP%]:visited{color:unset;text-decoration:none}*[_ngcontent-%COMP%]{transition:1s}input[_ngcontent-%COMP%]{outline:none;padding-left:5px}b[_ngcontent-%COMP%], button[_ngcontent-%COMP%]{cursor:pointer}b[_ngcontent-%COMP%]{color:#03c}.fix-header[_ngcontent-%COMP%]{position:fixed;z-index:5;width:100%;height:var(--header-height);top:0;display:flex;justify-content:center;align-items:center;background:#fff;box-shadow:0 4px 10px rgba(0,0,0,.1)}.landing-body[_ngcontent-%COMP%]{color:#fff;margin-top:var(--header-height)}.merged-logo[_ngcontent-%COMP%]{display:flex}.vertical-line[_ngcontent-%COMP%]{margin:0 30px}.main-image[_ngcontent-%COMP%]{display:flex;flex-direction:column;align-items:center;width:100%;height:622px;background-image:url(landing-main-image.ca638bd082be0c1e3f12.png);background-size:cover;background-repeat:no-repeat}.main-image[_ngcontent-%COMP%] > h2[_ngcontent-%COMP%]{width:764px;height:48px;margin:42px 0 10px;font-weight:700;font-size:32px;line-height:48px}.main-image[_ngcontent-%COMP%] > h2[_ngcontent-%COMP%], .main-image[_ngcontent-%COMP%] > p[_ngcontent-%COMP%]{font-family:Noto Sans;font-style:normal;text-align:center;color:#fff}.main-image[_ngcontent-%COMP%] > p[_ngcontent-%COMP%]{width:465px;height:52px;font-weight:400;font-size:18px;line-height:26px}.qlip-service[_ngcontent-%COMP%]{display:flex;flex-direction:column;align-items:center;height:auto;margin-bottom:calc(.3 * var(--form-offset))}.qlip-service[_ngcontent-%COMP%] > .form-container[_ngcontent-%COMP%]{margin-top:calc(-1 * var(--form-offset));width:420px;background:#fff;filter:drop-shadow(0 3px 10px rgba(0,0,0,.161))}.qlip-service[_ngcontent-%COMP%] > .form-container[_ngcontent-%COMP%] > .finish-container[_ngcontent-%COMP%]{display:flex;flex-direction:column;justify-content:center;align-items:center;width:420px;height:303px}.qlip-service[_ngcontent-%COMP%] > .form-container[_ngcontent-%COMP%] > .finish-container[_ngcontent-%COMP%] > h2[_ngcontent-%COMP%]{width:361px;height:33px;font-family:Noto Sans;font-style:normal;font-weight:700;font-size:24px;line-height:33px;text-align:center;margin:16px 0;color:#263238}.qlip-service[_ngcontent-%COMP%] > .form-container[_ngcontent-%COMP%] > .finish-container[_ngcontent-%COMP%] > p[_ngcontent-%COMP%]{width:361px;height:78px;font-family:Noto Sans;font-style:normal;font-weight:400;font-size:15px;line-height:26px;text-align:center;color:#263238}.finish-form-mode[_ngcontent-%COMP%]{margin-bottom:120px}.qlip-service[_ngcontent-%COMP%] > p[_ngcontent-%COMP%]{width:758px;height:34px;margin-top:30px;font-family:Noto Sans;font-style:normal;font-weight:700;font-size:25px;line-height:34px;box-sizing:border-box;text-align:center;color:#263238}.qlip-service[_ngcontent-%COMP%] > .cards[_ngcontent-%COMP%]{display:flex;justify-content:space-around;margin:70px 120px 0;width:calc(100% - 240px);height:250px;color:#263238}.qlip-service[_ngcontent-%COMP%] > .cards[_ngcontent-%COMP%] > .card[_ngcontent-%COMP%]{display:flex;flex-direction:column;align-items:center;width:240px}.qlip-service[_ngcontent-%COMP%] > .cards[_ngcontent-%COMP%] > .card[_ngcontent-%COMP%] > .card-info[_ngcontent-%COMP%]{display:flex}.qlip-service[_ngcontent-%COMP%] > .cards[_ngcontent-%COMP%] > .card[_ngcontent-%COMP%] > .card-info[_ngcontent-%COMP%] > .card-number[_ngcontent-%COMP%]{font-family:Noto Sans;font-style:normal;font-weight:700;font-size:32px;line-height:24px;color:#263238;margin-right:12px}.qlip-service[_ngcontent-%COMP%] > .cards[_ngcontent-%COMP%] > .card[_ngcontent-%COMP%] > .card-info[_ngcontent-%COMP%] > .card-text[_ngcontent-%COMP%]{font-family:Noto Sans;font-style:normal;font-weight:400;font-size:15px;line-height:22px;color:#263238}.separation-line[_ngcontent-%COMP%]{width:100%;height:0;border:1px solid #bbc1d4}footer[_ngcontent-%COMP%]{height:194px}footer[_ngcontent-%COMP%] > .logo-bar[_ngcontent-%COMP%]{display:flex}footer[_ngcontent-%COMP%] > .logo-bar[_ngcontent-%COMP%] > .external-links[_ngcontent-%COMP%]{display:flex;justify-content:space-evenly;color:#000;width:60%;margin-top:50px;font-family:Noto Sans;font-style:normal;font-weight:400;font-size:16px;line-height:22px;color:#263238}footer[_ngcontent-%COMP%] > .logo-bar[_ngcontent-%COMP%] > .merged-logo-footer[_ngcontent-%COMP%]{display:flex;justify-content:center;width:40%;margin-top:40px}.merged-logo-footer[_ngcontent-%COMP%] > .external-links[_ngcontent-%COMP%] > a[_ngcontent-%COMP%]{font-family:Noto Sans;font-style:normal;font-weight:400;font-size:14px;line-height:19px;color:#263238!important}footer[_ngcontent-%COMP%] > .copyright[_ngcontent-%COMP%]{margin-top:50px;text-align:center;width:100%;height:22px;font-family:Noto Sans;font-style:normal;font-weight:400;font-size:16px;line-height:22px;color:#263238}form[_ngcontent-%COMP%]{padding:20px}fieldset[_ngcontent-%COMP%]{border:0}.form-container[_ngcontent-%COMP%] > form[_ngcontent-%COMP%] > fieldset[_ngcontent-%COMP%] > div[_ngcontent-%COMP%] > label[_ngcontent-%COMP%]{font-family:Noto Sans;font-size:15px;font-style:normal;font-weight:400;line-height:24px;letter-spacing:0;text-align:left;color:#263238}.form-field[_ngcontent-%COMP%] > input[_ngcontent-%COMP%]{width:380px;height:30px;background:rgba(187,193,212,.4823529411764706);color:#000;border:0}.field-error[_ngcontent-%COMP%]{height:13px;font-family:Noto Sans;font-style:normal;font-weight:400;font-size:12px;line-height:24px;display:flex;align-items:center;color:#de2f31}.error-max-size[_ngcontent-%COMP%]{margin:20px 0}.docu-field[_ngcontent-%COMP%] > button[_ngcontent-%COMP%]{display:flex;justify-content:space-evenly;align-items:center;width:209px;max-width:60%;height:48px;background-color:#fff;border:2px solid #03c;box-sizing:border-box;border-radius:5px;font-family:Noto Sans;font-style:normal;font-weight:700;font-size:15px;line-height:20px;color:#03c}.docu-field[_ngcontent-%COMP%] > label[_ngcontent-%COMP%]{width:40%}.login-label[_ngcontent-%COMP%]{color:#000}.form-field[_ngcontent-%COMP%]{display:flex;flex-direction:column;padding-bottom:16px}.docu-field[_ngcontent-%COMP%]{display:flex;align-items:center;justify-content:space-between}.advise[_ngcontent-%COMP%]{width:380px;height:39px;font-family:Noto Sans;font-style:normal;font-weight:400;font-size:12px;line-height:18px;margin-top:11px;color:rgba(38,50,56,.7)}.documents-uploaded[_ngcontent-%COMP%]{display:flex;height:-webkit-fit-content;height:-moz-fit-content;height:fit-content;width:100%}.document-list[_ngcontent-%COMP%]{display:flex;flex-direction:column;width:55%}.titleUploads[_ngcontent-%COMP%]{width:45%;color:#03c;margin:0;font-family:Noto Sans;font-style:normal;font-weight:400;font-size:15px;line-height:24px;color:#263238}.grupo-upload[_ngcontent-%COMP%]{height:20px;display:inline-flex;align-items:center;vertical-align:middle;padding-top:10px;margin-bottom:7px}.fileName[_ngcontent-%COMP%]{width:220px;font-family:Noto Sans;font-style:normal;font-weight:400;font-size:15px;line-height:20px;color:#263238}.checkbox[_ngcontent-%COMP%]{display:flex;margin-top:24.5px}.checkbox-required[_ngcontent-%COMP%]{outline:1px solid #de2f31!important}.checkbox[_ngcontent-%COMP%] > input[_ngcontent-%COMP%]{cursor:pointer;width:23px;height:23px;outline:1px solid #03c;margin-right:17.5px;-webkit-appearance:none;-moz-appearance:none;appearance:none}.checkbox[_ngcontent-%COMP%] > input[_ngcontent-%COMP%]:checked{background-color:#03c;background-image:url(tick.26360a80fb358a98989f.svg);background-repeat:no-repeat;background-position:50%}.checkbox[_ngcontent-%COMP%] > p[_ngcontent-%COMP%]{width:339px;height:32px;font-weight:400;font-size:12px;line-height:16px;color:#263238}.checkbox[_ngcontent-%COMP%] > p[_ngcontent-%COMP%], .send-button[_ngcontent-%COMP%]{font-family:Noto Sans;font-style:normal}.send-button[_ngcontent-%COMP%]{width:380px;height:48px;background:#03c;border-radius:5px;margin-top:33px;font-weight:700;font-size:15px;line-height:24px;text-align:center;color:#fff}@media (max-width:850px){[_nghost-%COMP%]{--form-offset:200px}.main-image[_ngcontent-%COMP%]{height:411px;background-image:url(landing-main-image-mobile.15ef1699be530587d253.png)}.main-image[_ngcontent-%COMP%] > h2[_ngcontent-%COMP%]{position:unset;height:unset;max-width:100%;padding:30px 20px 14px;margin:0;font-weight:700;font-size:20px;line-height:25px}.main-image[_ngcontent-%COMP%] > h2[_ngcontent-%COMP%], .main-image[_ngcontent-%COMP%] > p[_ngcontent-%COMP%]{font-family:Noto Sans;font-style:normal;text-align:center}.main-image[_ngcontent-%COMP%] > p[_ngcontent-%COMP%]{max-width:280px;padding:0 20px;font-weight:400;font-size:18px;line-height:26px}.docu-field[_ngcontent-%COMP%] > label[_ngcontent-%COMP%], .send-button[_ngcontent-%COMP%]{width:100%}.docu-field[_ngcontent-%COMP%] > button[_ngcontent-%COMP%]{width:100%;max-width:unset}.advise[_ngcontent-%COMP%], .fieldset[_ngcontent-%COMP%]{width:-webkit-fit-content;width:-moz-fit-content;width:fit-content}.docu-field[_ngcontent-%COMP%]{flex-direction:column;width:100%}.form-container[_ngcontent-%COMP%]{margin-top:20px}.form-field[_ngcontent-%COMP%] > input[_ngcontent-%COMP%]{width:100%}.documents-uploaded[_ngcontent-%COMP%]{width:100%;flex-direction:column;padding:20px 0 10px}.document-list[_ngcontent-%COMP%]{width:100%}.titleUploads[_ngcontent-%COMP%]{width:100%;margin-bottom:10px}.grupo-upload[_ngcontent-%COMP%]{padding:10px 0}.finish-form-mode[_ngcontent-%COMP%]{margin-bottom:0}.qlip-service[_ngcontent-%COMP%]{margin-bottom:calc(2.5 * var(--form-offset))}.qlip-service[_ngcontent-%COMP%] > .form-container[_ngcontent-%COMP%]{width:280px}.qlip-service[_ngcontent-%COMP%] > .form-container[_ngcontent-%COMP%] > .finish-container[_ngcontent-%COMP%]{width:280px;height:337px}.qlip-service[_ngcontent-%COMP%] > .form-container[_ngcontent-%COMP%] > .finish-container[_ngcontent-%COMP%] > h2[_ngcontent-%COMP%]{width:260px;height:27.6px}.qlip-service[_ngcontent-%COMP%] > .form-container[_ngcontent-%COMP%] > .finish-container[_ngcontent-%COMP%] > p[_ngcontent-%COMP%]{width:260px;height:86.97px}.qlip-service[_ngcontent-%COMP%] > p[_ngcontent-%COMP%]{max-width:100vw;padding:10px 20px 0;width:100%;font-family:Noto Sans;font-style:normal;font-weight:700;font-size:20px;line-height:27px;text-align:center}.qlip-service[_ngcontent-%COMP%] > .cards[_ngcontent-%COMP%]{padding-top:400px;display:flex;flex-direction:column;align-items:center;justify-content:center}.checkbox[_ngcontent-%COMP%] > input[_ngcontent-%COMP%]{width:38px}footer[_ngcontent-%COMP%]{height:unset;text-align:center}footer[_ngcontent-%COMP%] > .logo-bar[_ngcontent-%COMP%], footer[_ngcontent-%COMP%] > .logo-bar[_ngcontent-%COMP%] > .external-links[_ngcontent-%COMP%]{flex-direction:column;align-items:center;flex-wrap:wrap}footer[_ngcontent-%COMP%] > .logo-bar[_ngcontent-%COMP%] > .external-links[_ngcontent-%COMP%]{display:flex;justify-content:center;color:#000;width:100%;margin-top:0}footer[_ngcontent-%COMP%] > .logo-bar[_ngcontent-%COMP%] > .external-links[_ngcontent-%COMP%] > p[_ngcontent-%COMP%]{margin-top:40px}footer[_ngcontent-%COMP%] > .logo-bar[_ngcontent-%COMP%] > .merged-logo-footer[_ngcontent-%COMP%]{justify-content:center;align-items:center;width:100%;margin-top:20px}footer[_ngcontent-%COMP%] > .copyright[_ngcontent-%COMP%]{position:unset;height:unset;width:100%;padding:38px 10px 39px;margin:0}.error-checkbox[_ngcontent-%COMP%]{margin-top:20px}}']}),t})(),hg=(()=>{class t{constructor(){this.title="jeff-landing"}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275cmp=zt({type:t,selectors:[["app-root"]],decls:2,vars:0,template:function(t,e){1&t&&(wi(0,"router-outlet"),Ci(1,"app-landing"),bi())},directives:[Zp,ug],styles:[""]}),t})(),dg=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=Gt({type:t,bootstrap:[hg]}),t.\u0275inj=ht({providers:[Wf,{provide:"API_URL",useValue:"https://qlipserver.azurewebsites.net/"}],imports:[[pc,ff,Eu,Zf,Ou]]}),t})();(function(){if(za)throw new Error("Cannot enable prod mode after platform setup.");La=!1})(),hc().bootstrapModule(dg).catch(t=>console.error(t))},zn8P:function(t,e){function n(t){return Promise.resolve().then(function(){var e=new Error("Cannot find module '"+t+"'");throw e.code="MODULE_NOT_FOUND",e})}n.keys=function(){return[]},n.resolve=n,t.exports=n,n.id="zn8P"}},[[0,0]]]);