-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathmain.56186f3b3be75128.js
1 lines (1 loc) · 212 KB
/
main.56186f3b3be75128.js
1
"use strict";(self.webpackChunkcontact_generator=self.webpackChunkcontact_generator||[]).push([[179],{81:()=>{function J(e){return"function"==typeof e}function Xr(e){const n=e(r=>{Error.call(r),r.stack=(new Error).stack});return n.prototype=Object.create(Error.prototype),n.prototype.constructor=n,n}const mo=Xr(e=>function(n){e(this),this.message=n?`${n.length} errors occurred during unsubscription:\n${n.map((r,i)=>`${i+1}) ${r.toString()}`).join("\n ")}`:"",this.name="UnsubscriptionError",this.errors=n});function Jr(e,t){if(e){const n=e.indexOf(t);0<=n&&e.splice(n,1)}}class at{constructor(t){this.initialTeardown=t,this.closed=!1,this._parentage=null,this._finalizers=null}unsubscribe(){let t;if(!this.closed){this.closed=!0;const{_parentage:n}=this;if(n)if(this._parentage=null,Array.isArray(n))for(const o of n)o.remove(this);else n.remove(this);const{initialTeardown:r}=this;if(J(r))try{r()}catch(o){t=o instanceof mo?o.errors:[o]}const{_finalizers:i}=this;if(i){this._finalizers=null;for(const o of i)try{kd(o)}catch(s){t=null!=t?t:[],s instanceof mo?t=[...t,...s.errors]:t.push(s)}}if(t)throw new mo(t)}}add(t){var n;if(t&&t!==this)if(this.closed)kd(t);else{if(t instanceof at){if(t.closed||t._hasParent(this))return;t._addParent(this)}(this._finalizers=null!==(n=this._finalizers)&&void 0!==n?n:[]).push(t)}}_hasParent(t){const{_parentage:n}=this;return n===t||Array.isArray(n)&&n.includes(t)}_addParent(t){const{_parentage:n}=this;this._parentage=Array.isArray(n)?(n.push(t),n):n?[n,t]:t}_removeParent(t){const{_parentage:n}=this;n===t?this._parentage=null:Array.isArray(n)&&Jr(n,t)}remove(t){const{_finalizers:n}=this;n&&Jr(n,t),t instanceof at&&t._removeParent(this)}}at.EMPTY=(()=>{const e=new at;return e.closed=!0,e})();const Pd=at.EMPTY;function Vd(e){return e instanceof at||e&&"closed"in e&&J(e.remove)&&J(e.add)&&J(e.unsubscribe)}function kd(e){J(e)?e():e.unsubscribe()}const On={onUnhandledError:null,onStoppedNotification:null,Promise:void 0,useDeprecatedSynchronousErrorHandling:!1,useDeprecatedNextContext:!1},yo={setTimeout(e,t,...n){const{delegate:r}=yo;return(null==r?void 0:r.setTimeout)?r.setTimeout(e,t,...n):setTimeout(e,t,...n)},clearTimeout(e){const{delegate:t}=yo;return((null==t?void 0:t.clearTimeout)||clearTimeout)(e)},delegate:void 0};function Ld(e){yo.setTimeout(()=>{const{onUnhandledError:t}=On;if(!t)throw e;t(e)})}function jd(){}const U_=Da("C",void 0,void 0);function Da(e,t,n){return{kind:e,value:t,error:n}}let Pn=null;function vo(e){if(On.useDeprecatedSynchronousErrorHandling){const t=!Pn;if(t&&(Pn={errorThrown:!1,error:null}),e(),t){const{errorThrown:n,error:r}=Pn;if(Pn=null,n)throw r}}else e()}class _a extends at{constructor(t){super(),this.isStopped=!1,t?(this.destination=t,Vd(t)&&t.add(this)):this.destination=Y_}static create(t,n,r){return new Do(t,n,r)}next(t){this.isStopped?wa(function G_(e){return Da("N",e,void 0)}(t),this):this._next(t)}error(t){this.isStopped?wa(function $_(e){return Da("E",void 0,e)}(t),this):(this.isStopped=!0,this._error(t))}complete(){this.isStopped?wa(U_,this):(this.isStopped=!0,this._complete())}unsubscribe(){this.closed||(this.isStopped=!0,super.unsubscribe(),this.destination=null)}_next(t){this.destination.next(t)}_error(t){try{this.destination.error(t)}finally{this.unsubscribe()}}_complete(){try{this.destination.complete()}finally{this.unsubscribe()}}}const z_=Function.prototype.bind;function Ca(e,t){return z_.call(e,t)}class W_{constructor(t){this.partialObserver=t}next(t){const{partialObserver:n}=this;if(n.next)try{n.next(t)}catch(r){_o(r)}}error(t){const{partialObserver:n}=this;if(n.error)try{n.error(t)}catch(r){_o(r)}else _o(t)}complete(){const{partialObserver:t}=this;if(t.complete)try{t.complete()}catch(n){_o(n)}}}class Do extends _a{constructor(t,n,r){let i;if(super(),J(t)||!t)i={next:null!=t?t:void 0,error:null!=n?n:void 0,complete:null!=r?r:void 0};else{let o;this&&On.useDeprecatedNextContext?(o=Object.create(t),o.unsubscribe=()=>this.unsubscribe(),i={next:t.next&&Ca(t.next,o),error:t.error&&Ca(t.error,o),complete:t.complete&&Ca(t.complete,o)}):i=t}this.destination=new W_(i)}}function _o(e){On.useDeprecatedSynchronousErrorHandling?function q_(e){On.useDeprecatedSynchronousErrorHandling&&Pn&&(Pn.errorThrown=!0,Pn.error=e)}(e):Ld(e)}function wa(e,t){const{onStoppedNotification:n}=On;n&&yo.setTimeout(()=>n(e,t))}const Y_={closed:!0,next:jd,error:function Q_(e){throw e},complete:jd},Ea="function"==typeof Symbol&&Symbol.observable||"@@observable";function Vn(e){return e}let pe=(()=>{class e{constructor(n){n&&(this._subscribe=n)}lift(n){const r=new e;return r.source=this,r.operator=n,r}subscribe(n,r,i){const o=function K_(e){return e&&e instanceof _a||function Z_(e){return e&&J(e.next)&&J(e.error)&&J(e.complete)}(e)&&Vd(e)}(n)?n:new Do(n,r,i);return vo(()=>{const{operator:s,source:a}=this;o.add(s?s.call(o,a):a?this._subscribe(o):this._trySubscribe(o))}),o}_trySubscribe(n){try{return this._subscribe(n)}catch(r){n.error(r)}}forEach(n,r){return new(r=Hd(r))((i,o)=>{const s=new Do({next:a=>{try{n(a)}catch(u){o(u),s.unsubscribe()}},error:o,complete:i});this.subscribe(s)})}_subscribe(n){var r;return null===(r=this.source)||void 0===r?void 0:r.subscribe(n)}[Ea](){return this}pipe(...n){return function Bd(e){return 0===e.length?Vn:1===e.length?e[0]:function(n){return e.reduce((r,i)=>i(r),n)}}(n)(this)}toPromise(n){return new(n=Hd(n))((r,i)=>{let o;this.subscribe(s=>o=s,s=>i(s),()=>r(o))})}}return e.create=t=>new e(t),e})();function Hd(e){var t;return null!==(t=null!=e?e:On.Promise)&&void 0!==t?t:Promise}const X_=Xr(e=>function(){e(this),this.name="ObjectUnsubscribedError",this.message="object unsubscribed"});let Kt=(()=>{class e extends pe{constructor(){super(),this.closed=!1,this.currentObservers=null,this.observers=[],this.isStopped=!1,this.hasError=!1,this.thrownError=null}lift(n){const r=new Ud(this,this);return r.operator=n,r}_throwIfClosed(){if(this.closed)throw new X_}next(n){vo(()=>{if(this._throwIfClosed(),!this.isStopped){this.currentObservers||(this.currentObservers=Array.from(this.observers));for(const r of this.currentObservers)r.next(n)}})}error(n){vo(()=>{if(this._throwIfClosed(),!this.isStopped){this.hasError=this.isStopped=!0,this.thrownError=n;const{observers:r}=this;for(;r.length;)r.shift().error(n)}})}complete(){vo(()=>{if(this._throwIfClosed(),!this.isStopped){this.isStopped=!0;const{observers:n}=this;for(;n.length;)n.shift().complete()}})}unsubscribe(){this.isStopped=this.closed=!0,this.observers=this.currentObservers=null}get observed(){var n;return(null===(n=this.observers)||void 0===n?void 0:n.length)>0}_trySubscribe(n){return this._throwIfClosed(),super._trySubscribe(n)}_subscribe(n){return this._throwIfClosed(),this._checkFinalizedStatuses(n),this._innerSubscribe(n)}_innerSubscribe(n){const{hasError:r,isStopped:i,observers:o}=this;return r||i?Pd:(this.currentObservers=null,o.push(n),new at(()=>{this.currentObservers=null,Jr(o,n)}))}_checkFinalizedStatuses(n){const{hasError:r,thrownError:i,isStopped:o}=this;r?n.error(i):o&&n.complete()}asObservable(){const n=new pe;return n.source=this,n}}return e.create=(t,n)=>new Ud(t,n),e})();class Ud extends Kt{constructor(t,n){super(),this.destination=t,this.source=n}next(t){var n,r;null===(r=null===(n=this.destination)||void 0===n?void 0:n.next)||void 0===r||r.call(n,t)}error(t){var n,r;null===(r=null===(n=this.destination)||void 0===n?void 0:n.error)||void 0===r||r.call(n,t)}complete(){var t,n;null===(n=null===(t=this.destination)||void 0===t?void 0:t.complete)||void 0===n||n.call(t)}_subscribe(t){var n,r;return null!==(r=null===(n=this.source)||void 0===n?void 0:n.subscribe(t))&&void 0!==r?r:Pd}}function $d(e){return J(null==e?void 0:e.lift)}function Se(e){return t=>{if($d(t))return t.lift(function(n){try{return e(n,this)}catch(r){this.error(r)}});throw new TypeError("Unable to lift unknown Observable type")}}function Ee(e,t,n,r,i){return new J_(e,t,n,r,i)}class J_ extends _a{constructor(t,n,r,i,o,s){super(t),this.onFinalize=o,this.shouldUnsubscribe=s,this._next=n?function(a){try{n(a)}catch(u){t.error(u)}}:super._next,this._error=i?function(a){try{i(a)}catch(u){t.error(u)}finally{this.unsubscribe()}}:super._error,this._complete=r?function(){try{r()}catch(a){t.error(a)}finally{this.unsubscribe()}}:super._complete}unsubscribe(){var t;if(!this.shouldUnsubscribe||this.shouldUnsubscribe()){const{closed:n}=this;super.unsubscribe(),!n&&(null===(t=this.onFinalize)||void 0===t||t.call(this))}}}function ee(e,t){return Se((n,r)=>{let i=0;n.subscribe(Ee(r,o=>{r.next(e.call(t,o,i++))}))})}function kn(e){return this instanceof kn?(this.v=e,this):new kn(e)}function nC(e,t,n){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var i,r=n.apply(e,t||[]),o=[];return i={},s("next"),s("throw"),s("return"),i[Symbol.asyncIterator]=function(){return this},i;function s(f){r[f]&&(i[f]=function(h){return new Promise(function(p,m){o.push([f,h,p,m])>1||a(f,h)})})}function a(f,h){try{!function u(f){f.value instanceof kn?Promise.resolve(f.value.v).then(l,c):d(o[0][2],f)}(r[f](h))}catch(p){d(o[0][3],p)}}function l(f){a("next",f)}function c(f){a("throw",f)}function d(f,h){f(h),o.shift(),o.length&&a(o[0][0],o[0][1])}}function rC(e){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var n,t=e[Symbol.asyncIterator];return t?t.call(e):(e=function zd(e){var t="function"==typeof Symbol&&Symbol.iterator,n=t&&e[t],r=0;if(n)return n.call(e);if(e&&"number"==typeof e.length)return{next:function(){return e&&r>=e.length&&(e=void 0),{value:e&&e[r++],done:!e}}};throw new TypeError(t?"Object is not iterable.":"Symbol.iterator is not defined.")}(e),n={},r("next"),r("throw"),r("return"),n[Symbol.asyncIterator]=function(){return this},n);function r(o){n[o]=e[o]&&function(s){return new Promise(function(a,u){!function i(o,s,a,u){Promise.resolve(u).then(function(l){o({value:l,done:a})},s)}(a,u,(s=e[o](s)).done,s.value)})}}}const Wd=e=>e&&"number"==typeof e.length&&"function"!=typeof e;function Qd(e){return J(null==e?void 0:e.then)}function Yd(e){return J(e[Ea])}function Zd(e){return Symbol.asyncIterator&&J(null==e?void 0:e[Symbol.asyncIterator])}function Kd(e){return new TypeError(`You provided ${null!==e&&"object"==typeof e?"an invalid object":`'${e}'`} where a stream was expected. You can provide an Observable, Promise, ReadableStream, Array, AsyncIterable, or Iterable.`)}const Xd=function oC(){return"function"==typeof Symbol&&Symbol.iterator?Symbol.iterator:"@@iterator"}();function Jd(e){return J(null==e?void 0:e[Xd])}function ef(e){return nC(this,arguments,function*(){const n=e.getReader();try{for(;;){const{value:r,done:i}=yield kn(n.read());if(i)return yield kn(void 0);yield yield kn(r)}}finally{n.releaseLock()}})}function tf(e){return J(null==e?void 0:e.getReader)}function Pt(e){if(e instanceof pe)return e;if(null!=e){if(Yd(e))return function sC(e){return new pe(t=>{const n=e[Ea]();if(J(n.subscribe))return n.subscribe(t);throw new TypeError("Provided object does not correctly implement Symbol.observable")})}(e);if(Wd(e))return function aC(e){return new pe(t=>{for(let n=0;n<e.length&&!t.closed;n++)t.next(e[n]);t.complete()})}(e);if(Qd(e))return function uC(e){return new pe(t=>{e.then(n=>{t.closed||(t.next(n),t.complete())},n=>t.error(n)).then(null,Ld)})}(e);if(Zd(e))return nf(e);if(Jd(e))return function lC(e){return new pe(t=>{for(const n of e)if(t.next(n),t.closed)return;t.complete()})}(e);if(tf(e))return function cC(e){return nf(ef(e))}(e)}throw Kd(e)}function nf(e){return new pe(t=>{(function dC(e,t){var n,r,i,o;return function eC(e,t,n,r){return new(n||(n=Promise))(function(o,s){function a(c){try{l(r.next(c))}catch(d){s(d)}}function u(c){try{l(r.throw(c))}catch(d){s(d)}}function l(c){c.done?o(c.value):function i(o){return o instanceof n?o:new n(function(s){s(o)})}(c.value).then(a,u)}l((r=r.apply(e,t||[])).next())})}(this,void 0,void 0,function*(){try{for(n=rC(e);!(r=yield n.next()).done;)if(t.next(r.value),t.closed)return}catch(s){i={error:s}}finally{try{r&&!r.done&&(o=n.return)&&(yield o.call(n))}finally{if(i)throw i.error}}t.complete()})})(e,t).catch(n=>t.error(n))})}function Xt(e,t,n,r=0,i=!1){const o=t.schedule(function(){n(),i?e.add(this.schedule(null,r)):this.unsubscribe()},r);if(e.add(o),!i)return o}function be(e,t,n=1/0){return J(t)?be((r,i)=>ee((o,s)=>t(r,o,i,s))(Pt(e(r,i))),n):("number"==typeof t&&(n=t),Se((r,i)=>function fC(e,t,n,r,i,o,s,a){const u=[];let l=0,c=0,d=!1;const f=()=>{d&&!u.length&&!l&&t.complete()},h=m=>l<r?p(m):u.push(m),p=m=>{o&&t.next(m),l++;let D=!1;Pt(n(m,c++)).subscribe(Ee(t,_=>{null==i||i(_),o?h(_):t.next(_)},()=>{D=!0},void 0,()=>{if(D)try{for(l--;u.length&&l<r;){const _=u.shift();s?Xt(t,s,()=>p(_)):p(_)}f()}catch(_){t.error(_)}}))};return e.subscribe(Ee(t,h,()=>{d=!0,f()})),()=>{null==a||a()}}(r,i,e,n)))}function ei(e=1/0){return be(Vn,e)}const Jt=new pe(e=>e.complete());function Ma(e){return e[e.length-1]}function rf(e){return J(Ma(e))?e.pop():void 0}function ti(e){return function pC(e){return e&&J(e.schedule)}(Ma(e))?e.pop():void 0}function of(e,t=0){return Se((n,r)=>{n.subscribe(Ee(r,i=>Xt(r,e,()=>r.next(i),t),()=>Xt(r,e,()=>r.complete(),t),i=>Xt(r,e,()=>r.error(i),t)))})}function sf(e,t=0){return Se((n,r)=>{r.add(e.schedule(()=>n.subscribe(r),t))})}function af(e,t){if(!e)throw new Error("Iterable cannot be null");return new pe(n=>{Xt(n,t,()=>{const r=e[Symbol.asyncIterator]();Xt(n,t,()=>{r.next().then(i=>{i.done?n.complete():n.next(i.value)})},0,!0)})})}function Me(e,t){return t?function CC(e,t){if(null!=e){if(Yd(e))return function mC(e,t){return Pt(e).pipe(sf(t),of(t))}(e,t);if(Wd(e))return function vC(e,t){return new pe(n=>{let r=0;return t.schedule(function(){r===e.length?n.complete():(n.next(e[r++]),n.closed||this.schedule())})})}(e,t);if(Qd(e))return function yC(e,t){return Pt(e).pipe(sf(t),of(t))}(e,t);if(Zd(e))return af(e,t);if(Jd(e))return function DC(e,t){return new pe(n=>{let r;return Xt(n,t,()=>{r=e[Xd](),Xt(n,t,()=>{let i,o;try{({value:i,done:o}=r.next())}catch(s){return void n.error(s)}o?n.complete():n.next(i)},0,!0)}),()=>J(null==r?void 0:r.return)&&r.return()})}(e,t);if(tf(e))return function _C(e,t){return af(ef(e),t)}(e,t)}throw Kd(e)}(e,t):Pt(e)}function Co(e){return e<=0?()=>Jt:Se((t,n)=>{let r=0;t.subscribe(Ee(n,i=>{++r<=e&&(n.next(i),e<=r&&n.complete())}))})}function Aa(e,t,...n){return!0===t?(e(),null):!1===t?null:t(...n).pipe(Co(1)).subscribe(()=>e())}function K(e){for(let t in e)if(e[t]===K)return t;throw Error("Could not find renamed property on target object.")}function Sa(e,t){for(const n in t)t.hasOwnProperty(n)&&!e.hasOwnProperty(n)&&(e[n]=t[n])}function Q(e){if("string"==typeof e)return e;if(Array.isArray(e))return"["+e.map(Q).join(", ")+"]";if(null==e)return""+e;if(e.overriddenName)return`${e.overriddenName}`;if(e.name)return`${e.name}`;const t=e.toString();if(null==t)return""+t;const n=t.indexOf("\n");return-1===n?t:t.substring(0,n)}function Ia(e,t){return null==e||""===e?null===t?"":t:null==t||""===t?e:e+" "+t}const bC=K({__forward_ref__:K});function te(e){return e.__forward_ref__=te,e.toString=function(){return Q(this())},e}function F(e){return uf(e)?e():e}function uf(e){return"function"==typeof e&&e.hasOwnProperty(bC)&&e.__forward_ref__===te}class q extends Error{constructor(t,n){super(function Ta(e,t){return`NG0${Math.abs(e)}${t?": "+t:""}`}(t,n)),this.code=t}}function N(e){return"string"==typeof e?e:null==e?"":String(e)}function Ve(e){return"function"==typeof e?e.name||e.toString():"object"==typeof e&&null!=e&&"function"==typeof e.type?e.type.name||e.type.toString():N(e)}function wo(e,t){const n=t?` in ${t}`:"";throw new q(-201,`No provider for ${Ve(e)} found${n}`)}function Ke(e,t){null==e&&function ie(e,t,n,r){throw new Error(`ASSERTION ERROR: ${e}`+(null==r?"":` [Expected=> ${n} ${r} ${t} <=Actual]`))}(t,e,null,"!=")}function $(e){return{token:e.token,providedIn:e.providedIn||null,factory:e.factory,value:void 0}}function ut(e){return{providers:e.providers||[],imports:e.imports||[]}}function xa(e){return lf(e,Eo)||lf(e,df)}function lf(e,t){return e.hasOwnProperty(t)?e[t]:null}function cf(e){return e&&(e.hasOwnProperty(Na)||e.hasOwnProperty(NC))?e[Na]:null}const Eo=K({\u0275prov:K}),Na=K({\u0275inj:K}),df=K({ngInjectableDef:K}),NC=K({ngInjectorDef:K});var x=(()=>((x=x||{})[x.Default=0]="Default",x[x.Host=1]="Host",x[x.Self=2]="Self",x[x.SkipSelf=4]="SkipSelf",x[x.Optional=8]="Optional",x))();let Ra;function gn(e){const t=Ra;return Ra=e,t}function ff(e,t,n){const r=xa(e);return r&&"root"==r.providedIn?void 0===r.value?r.value=r.factory():r.value:n&x.Optional?null:void 0!==t?t:void wo(Q(e),"Injector")}function mn(e){return{toString:e}.toString()}var _t=(()=>((_t=_t||{})[_t.OnPush=0]="OnPush",_t[_t.Default=1]="Default",_t))(),Vt=(()=>{return(e=Vt||(Vt={}))[e.Emulated=0]="Emulated",e[e.None=2]="None",e[e.ShadowDom=3]="ShadowDom",Vt;var e})();const FC="undefined"!=typeof globalThis&&globalThis,OC="undefined"!=typeof window&&window,PC="undefined"!=typeof self&&"undefined"!=typeof WorkerGlobalScope&&self instanceof WorkerGlobalScope&&self,Z=FC||"undefined"!=typeof global&&global||OC||PC,rr={},X=[],bo=K({\u0275cmp:K}),Fa=K({\u0275dir:K}),Oa=K({\u0275pipe:K}),hf=K({\u0275mod:K}),tn=K({\u0275fac:K}),ni=K({__NG_ELEMENT_ID__:K});let VC=0;function ri(e){return mn(()=>{const n={},r={type:e.type,providersResolver:null,decls:e.decls,vars:e.vars,factory:null,template:e.template||null,consts:e.consts||null,ngContentSelectors:e.ngContentSelectors,hostBindings:e.hostBindings||null,hostVars:e.hostVars||0,hostAttrs:e.hostAttrs||null,contentQueries:e.contentQueries||null,declaredInputs:n,inputs:null,outputs:null,exportAs:e.exportAs||null,onPush:e.changeDetection===_t.OnPush,directiveDefs:null,pipeDefs:null,selectors:e.selectors||X,viewQuery:e.viewQuery||null,features:e.features||null,data:e.data||{},encapsulation:e.encapsulation||Vt.Emulated,id:"c",styles:e.styles||X,_:null,setInput:null,schemas:e.schemas||null,tView:null},i=e.directives,o=e.features,s=e.pipes;return r.id+=VC++,r.inputs=yf(e.inputs,n),r.outputs=yf(e.outputs),o&&o.forEach(a=>a(r)),r.directiveDefs=i?()=>("function"==typeof i?i():i).map(pf):null,r.pipeDefs=s?()=>("function"==typeof s?s():s).map(gf):null,r})}function pf(e){return xe(e)||function yn(e){return e[Fa]||null}(e)}function gf(e){return function Ln(e){return e[Oa]||null}(e)}const mf={};function Ct(e){return mn(()=>{const t={type:e.type,bootstrap:e.bootstrap||X,declarations:e.declarations||X,imports:e.imports||X,exports:e.exports||X,transitiveCompileScopes:null,schemas:e.schemas||null,id:e.id||null};return null!=e.id&&(mf[e.id]=e.type),t})}function yf(e,t){if(null==e)return rr;const n={};for(const r in e)if(e.hasOwnProperty(r)){let i=e[r],o=i;Array.isArray(i)&&(o=i[1],i=i[0]),n[i]=r,t&&(t[i]=o)}return n}const I=ri;function xe(e){return e[bo]||null}function lt(e,t){const n=e[hf]||null;if(!n&&!0===t)throw new Error(`Type ${Q(e)} does not have '\u0275mod' property.`);return n}const O=11;function kt(e){return Array.isArray(e)&&"object"==typeof e[1]}function Et(e){return Array.isArray(e)&&!0===e[1]}function ka(e){return 0!=(8&e.flags)}function Io(e){return 2==(2&e.flags)}function To(e){return 1==(1&e.flags)}function bt(e){return null!==e.template}function UC(e){return 0!=(512&e[2])}function Un(e,t){return e.hasOwnProperty(tn)?e[tn]:null}class qC{constructor(t,n,r){this.previousValue=t,this.currentValue=n,this.firstChange=r}isFirstChange(){return this.firstChange}}function dt(){return Df}function Df(e){return e.type.prototype.ngOnChanges&&(e.setInput=WC),zC}function zC(){const e=Cf(this),t=null==e?void 0:e.current;if(t){const n=e.previous;if(n===rr)e.previous=t;else for(let r in t)n[r]=t[r];e.current=null,this.ngOnChanges(t)}}function WC(e,t,n,r){const i=Cf(e)||function QC(e,t){return e[_f]=t}(e,{previous:rr,current:null}),o=i.current||(i.current={}),s=i.previous,a=this.declaredInputs[n],u=s[a];o[a]=new qC(u&&u.currentValue,t,s===rr),e[r]=t}dt.ngInherit=!0;const _f="__ngSimpleChanges__";function Cf(e){return e[_f]||null}let Ua;function ue(e){return!!e.listen}const wf={createRenderer:(e,t)=>function $a(){return void 0!==Ua?Ua:"undefined"!=typeof document?document:void 0}()};function ge(e){for(;Array.isArray(e);)e=e[0];return e}function xo(e,t){return ge(t[e])}function ht(e,t){return ge(t[e.index])}function Ga(e,t){return e.data[t]}function Je(e,t){const n=t[e];return kt(n)?n:n[0]}function qa(e){return 128==(128&e[2])}function vn(e,t){return null==t?null:e[t]}function bf(e){e[18]=0}function za(e,t){e[5]+=t;let n=e,r=e[3];for(;null!==r&&(1===t&&1===n[5]||-1===t&&0===n[5]);)r[5]+=t,n=r,r=r[3]}const T={lFrame:Ff(null),bindingsEnabled:!0,isInCheckNoChangesMode:!1};function Mf(){return T.bindingsEnabled}function y(){return T.lFrame.lView}function z(){return T.lFrame.tView}function De(){let e=Sf();for(;null!==e&&64===e.type;)e=e.parent;return e}function Sf(){return T.lFrame.currentTNode}function Lt(e,t){const n=T.lFrame;n.currentTNode=e,n.isParent=t}function Wa(){return T.lFrame.isParent}function Qa(){T.lFrame.isParent=!1}function No(){return T.isInCheckNoChangesMode}function Ro(e){T.isInCheckNoChangesMode=e}function lr(){return T.lFrame.bindingIndex++}function dw(e,t){const n=T.lFrame;n.bindingIndex=n.bindingRootIndex=e,Ya(t)}function Ya(e){T.lFrame.currentDirectiveIndex=e}function Ka(e){T.lFrame.currentQueryIndex=e}function hw(e){const t=e[1];return 2===t.type?t.declTNode:1===t.type?e[6]:null}function Nf(e,t,n){if(n&x.SkipSelf){let i=t,o=e;for(;!(i=i.parent,null!==i||n&x.Host||(i=hw(o),null===i||(o=o[15],10&i.type))););if(null===i)return!1;t=i,e=o}const r=T.lFrame=Rf();return r.currentTNode=t,r.lView=e,!0}function Fo(e){const t=Rf(),n=e[1];T.lFrame=t,t.currentTNode=n.firstChild,t.lView=e,t.tView=n,t.contextLView=e,t.bindingIndex=n.bindingStartIndex,t.inI18n=!1}function Rf(){const e=T.lFrame,t=null===e?null:e.child;return null===t?Ff(e):t}function Ff(e){const t={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:e,child:null,inI18n:!1};return null!==e&&(e.child=t),t}function Of(){const e=T.lFrame;return T.lFrame=e.parent,e.currentTNode=null,e.lView=null,e}const Pf=Of;function Oo(){const e=Of();e.isParent=!0,e.tView=null,e.selectedIndex=-1,e.contextLView=null,e.elementDepthCount=0,e.currentDirectiveIndex=-1,e.currentNamespace=null,e.bindingRootIndex=-1,e.bindingIndex=-1,e.currentQueryIndex=0}function Le(){return T.lFrame.selectedIndex}function Dn(e){T.lFrame.selectedIndex=e}function Po(e,t){for(let n=t.directiveStart,r=t.directiveEnd;n<r;n++){const o=e.data[n].type.prototype,{ngAfterContentInit:s,ngAfterContentChecked:a,ngAfterViewInit:u,ngAfterViewChecked:l,ngOnDestroy:c}=o;s&&(e.contentHooks||(e.contentHooks=[])).push(-n,s),a&&((e.contentHooks||(e.contentHooks=[])).push(n,a),(e.contentCheckHooks||(e.contentCheckHooks=[])).push(n,a)),u&&(e.viewHooks||(e.viewHooks=[])).push(-n,u),l&&((e.viewHooks||(e.viewHooks=[])).push(n,l),(e.viewCheckHooks||(e.viewCheckHooks=[])).push(n,l)),null!=c&&(e.destroyHooks||(e.destroyHooks=[])).push(n,c)}}function Vo(e,t,n){Vf(e,t,3,n)}function ko(e,t,n,r){(3&e[2])===n&&Vf(e,t,n,r)}function Xa(e,t){let n=e[2];(3&n)===t&&(n&=2047,n+=1,e[2]=n)}function Vf(e,t,n,r){const o=null!=r?r:-1,s=t.length-1;let a=0;for(let u=void 0!==r?65535&e[18]:0;u<s;u++)if("number"==typeof t[u+1]){if(a=t[u],null!=r&&a>=r)break}else t[u]<0&&(e[18]+=65536),(a<o||-1==o)&&(ww(e,n,t,u),e[18]=(4294901760&e[18])+u+2),u++}function ww(e,t,n,r){const i=n[r]<0,o=n[r+1],a=e[i?-n[r]:n[r]];if(i){if(e[2]>>11<e[18]>>16&&(3&e[2])===t){e[2]+=2048;try{o.call(a)}finally{}}}else try{o.call(a)}finally{}}class ui{constructor(t,n,r){this.factory=t,this.resolving=!1,this.canSeeViewProviders=n,this.injectImpl=r}}function Lo(e,t,n){const r=ue(e);let i=0;for(;i<n.length;){const o=n[i];if("number"==typeof o){if(0!==o)break;i++;const s=n[i++],a=n[i++],u=n[i++];r?e.setAttribute(t,a,u,s):t.setAttributeNS(s,a,u)}else{const s=o,a=n[++i];eu(s)?r&&e.setProperty(t,s,a):r?e.setAttribute(t,s,a):t.setAttribute(s,a),i++}}return i}function kf(e){return 3===e||4===e||6===e}function eu(e){return 64===e.charCodeAt(0)}function jo(e,t){if(null!==t&&0!==t.length)if(null===e||0===e.length)e=t.slice();else{let n=-1;for(let r=0;r<t.length;r++){const i=t[r];"number"==typeof i?n=i:0===n||Lf(e,n,i,null,-1===n||2===n?t[++r]:null)}}return e}function Lf(e,t,n,r,i){let o=0,s=e.length;if(-1===t)s=-1;else for(;o<e.length;){const a=e[o++];if("number"==typeof a){if(a===t){s=-1;break}if(a>t){s=o-1;break}}}for(;o<e.length;){const a=e[o];if("number"==typeof a)break;if(a===n){if(null===r)return void(null!==i&&(e[o+1]=i));if(r===e[o+1])return void(e[o+2]=i)}o++,null!==r&&o++,null!==i&&o++}-1!==s&&(e.splice(s,0,t),o=s+1),e.splice(o++,0,n),null!==r&&e.splice(o++,0,r),null!==i&&e.splice(o++,0,i)}function jf(e){return-1!==e}function cr(e){return 32767&e}function dr(e,t){let n=function Sw(e){return e>>16}(e),r=t;for(;n>0;)r=r[15],n--;return r}let tu=!0;function Bo(e){const t=tu;return tu=e,t}let Iw=0;function ci(e,t){const n=ru(e,t);if(-1!==n)return n;const r=t[1];r.firstCreatePass&&(e.injectorIndex=t.length,nu(r.data,e),nu(t,null),nu(r.blueprint,null));const i=Ho(e,t),o=e.injectorIndex;if(jf(i)){const s=cr(i),a=dr(i,t),u=a[1].data;for(let l=0;l<8;l++)t[o+l]=a[s+l]|u[s+l]}return t[o+8]=i,o}function nu(e,t){e.push(0,0,0,0,0,0,0,0,t)}function ru(e,t){return-1===e.injectorIndex||e.parent&&e.parent.injectorIndex===e.injectorIndex||null===t[e.injectorIndex+8]?-1:e.injectorIndex}function Ho(e,t){if(e.parent&&-1!==e.parent.injectorIndex)return e.parent.injectorIndex;let n=0,r=null,i=t;for(;null!==i;){const o=i[1],s=o.type;if(r=2===s?o.declTNode:1===s?i[6]:null,null===r)return-1;if(n++,i=i[15],-1!==r.injectorIndex)return r.injectorIndex|n<<16}return-1}function Uo(e,t,n){!function Tw(e,t,n){let r;"string"==typeof n?r=n.charCodeAt(0)||0:n.hasOwnProperty(ni)&&(r=n[ni]),null==r&&(r=n[ni]=Iw++);const i=255&r;t.data[e+(i>>5)]|=1<<i}(e,t,n)}function Uf(e,t,n){if(n&x.Optional)return e;wo(t,"NodeInjector")}function $f(e,t,n,r){if(n&x.Optional&&void 0===r&&(r=null),0==(n&(x.Self|x.Host))){const i=e[9],o=gn(void 0);try{return i?i.get(t,r,n&x.Optional):ff(t,r,n&x.Optional)}finally{gn(o)}}return Uf(r,t,n)}function Gf(e,t,n,r=x.Default,i){if(null!==e){const o=function Fw(e){if("string"==typeof e)return e.charCodeAt(0)||0;const t=e.hasOwnProperty(ni)?e[ni]:void 0;return"number"==typeof t?t>=0?255&t:Nw:t}(n);if("function"==typeof o){if(!Nf(t,e,r))return r&x.Host?Uf(i,n,r):$f(t,n,r,i);try{const s=o(r);if(null!=s||r&x.Optional)return s;wo(n)}finally{Pf()}}else if("number"==typeof o){let s=null,a=ru(e,t),u=-1,l=r&x.Host?t[16][6]:null;for((-1===a||r&x.SkipSelf)&&(u=-1===a?Ho(e,t):t[a+8],-1!==u&&Wf(r,!1)?(s=t[1],a=cr(u),t=dr(u,t)):a=-1);-1!==a;){const c=t[1];if(zf(o,a,c.data)){const d=Rw(a,t,n,s,r,l);if(d!==qf)return d}u=t[a+8],-1!==u&&Wf(r,t[1].data[a+8]===l)&&zf(o,a,t)?(s=c,a=cr(u),t=dr(u,t)):a=-1}}}return $f(t,n,r,i)}const qf={};function Nw(){return new fr(De(),y())}function Rw(e,t,n,r,i,o){const s=t[1],a=s.data[e+8],c=function $o(e,t,n,r,i){const o=e.providerIndexes,s=t.data,a=1048575&o,u=e.directiveStart,c=o>>20,f=i?a+c:e.directiveEnd;for(let h=r?a:a+c;h<f;h++){const p=s[h];if(h<u&&n===p||h>=u&&p.type===n)return h}if(i){const h=s[u];if(h&&bt(h)&&h.type===n)return u}return null}(a,s,n,null==r?Io(a)&&tu:r!=s&&0!=(3&a.type),i&x.Host&&o===a);return null!==c?di(t,s,c,a):qf}function di(e,t,n,r){let i=e[n];const o=t.data;if(function Ew(e){return e instanceof ui}(i)){const s=i;s.resolving&&function MC(e,t){const n=t?`. Dependency path: ${t.join(" > ")} > ${e}`:"";throw new q(-200,`Circular dependency in DI detected for ${e}${n}`)}(Ve(o[n]));const a=Bo(s.canSeeViewProviders);s.resolving=!0;const u=s.injectImpl?gn(s.injectImpl):null;Nf(e,r,x.Default);try{i=e[n]=s.factory(void 0,o,e,r),t.firstCreatePass&&n>=r.directiveStart&&function Cw(e,t,n){const{ngOnChanges:r,ngOnInit:i,ngDoCheck:o}=t.type.prototype;if(r){const s=Df(t);(n.preOrderHooks||(n.preOrderHooks=[])).push(e,s),(n.preOrderCheckHooks||(n.preOrderCheckHooks=[])).push(e,s)}i&&(n.preOrderHooks||(n.preOrderHooks=[])).push(0-e,i),o&&((n.preOrderHooks||(n.preOrderHooks=[])).push(e,o),(n.preOrderCheckHooks||(n.preOrderCheckHooks=[])).push(e,o))}(n,o[n],t)}finally{null!==u&&gn(u),Bo(a),s.resolving=!1,Pf()}}return i}function zf(e,t,n){return!!(n[t+(e>>5)]&1<<e)}function Wf(e,t){return!(e&x.Self||e&x.Host&&t)}class fr{constructor(t,n){this._tNode=t,this._lView=n}get(t,n,r){return Gf(this._tNode,this._lView,t,r,n)}}function Re(e){return mn(()=>{const t=e.prototype.constructor,n=t[tn]||iu(t),r=Object.prototype;let i=Object.getPrototypeOf(e.prototype).constructor;for(;i&&i!==r;){const o=i[tn]||iu(i);if(o&&o!==n)return o;i=Object.getPrototypeOf(i)}return o=>new o})}function iu(e){return uf(e)?()=>{const t=iu(F(e));return t&&t()}:Un(e)}const pr="__parameters__";function mr(e,t,n){return mn(()=>{const r=function ou(e){return function(...n){if(e){const r=e(...n);for(const i in r)this[i]=r[i]}}}(t);function i(...o){if(this instanceof i)return r.apply(this,o),this;const s=new i(...o);return a.annotation=s,a;function a(u,l,c){const d=u.hasOwnProperty(pr)?u[pr]:Object.defineProperty(u,pr,{value:[]})[pr];for(;d.length<=c;)d.push(null);return(d[c]=d[c]||[]).push(s),u}}return n&&(i.prototype=Object.create(n.prototype)),i.prototype.ngMetadataName=e,i.annotationCls=i,i})}class H{constructor(t,n){this._desc=t,this.ngMetadataName="InjectionToken",this.\u0275prov=void 0,"number"==typeof n?this.__NG_ELEMENT_ID__=n:void 0!==n&&(this.\u0275prov=$({token:this,providedIn:n.providedIn||"root",factory:n.factory}))}toString(){return`InjectionToken ${this._desc}`}}const Pw=new H("AnalyzeForEntryComponents");function jt(e,t){e.forEach(n=>Array.isArray(n)?jt(n,t):t(n))}function Yf(e,t,n){t>=e.length?e.push(n):e.splice(t,0,n)}function Go(e,t){return t>=e.length-1?e.pop():e.splice(t,1)[0]}function et(e,t,n){let r=yr(e,t);return r>=0?e[1|r]=n:(r=~r,function Lw(e,t,n,r){let i=e.length;if(i==t)e.push(n,r);else if(1===i)e.push(r,e[0]),e[0]=n;else{for(i--,e.push(e[i-1],e[i]);i>t;)e[i]=e[i-2],i--;e[t]=n,e[t+1]=r}}(e,r,t,n)),r}function au(e,t){const n=yr(e,t);if(n>=0)return e[1|n]}function yr(e,t){return function Xf(e,t,n){let r=0,i=e.length>>n;for(;i!==r;){const o=r+(i-r>>1),s=e[o<<n];if(t===s)return o<<n;s>t?i=o:r=o+1}return~(i<<n)}(e,t,1)}const mi={},lu="__NG_DI_FLAG__",zo="ngTempTokenPath",qw=/\n/gm,eh="__source",Ww=K({provide:String,useValue:K});let yi;function th(e){const t=yi;return yi=e,t}function Qw(e,t=x.Default){if(void 0===yi)throw new q(203,"");return null===yi?ff(e,void 0,t):yi.get(e,t&x.Optional?null:void 0,t)}function A(e,t=x.Default){return(function RC(){return Ra}()||Qw)(F(e),t)}const Yw=A;function cu(e){const t=[];for(let n=0;n<e.length;n++){const r=F(e[n]);if(Array.isArray(r)){if(0===r.length)throw new q(900,"");let i,o=x.Default;for(let s=0;s<r.length;s++){const a=r[s],u=Zw(a);"number"==typeof u?-1===u?i=a.token:o|=u:i=a}t.push(A(i,o))}else t.push(A(r))}return t}function vi(e,t){return e[lu]=t,e.prototype[lu]=t,e}function Zw(e){return e[lu]}const Wo=vi(mr("Inject",e=>({token:e})),-1),Cn=vi(mr("Optional"),8),Di=vi(mr("SkipSelf"),4);const _h="__ngContext__";function Fe(e,t){e[_h]=t}function _u(e){const t=function bi(e){return e[_h]||null}(e);return t?Array.isArray(t)?t:t.lView:null}function wu(e){return e.ngOriginalError}function UE(e,...t){e.error(...t)}class Mi{constructor(){this._console=console}handleError(t){const n=this._findOriginalError(t),r=function HE(e){return e&&e.ngErrorLogger||UE}(t);r(this._console,"ERROR",t),n&&r(this._console,"ORIGINAL ERROR",n)}_findOriginalError(t){let n=t&&wu(t);for(;n&&wu(n);)n=wu(n);return n||null}}const XE=(()=>("undefined"!=typeof requestAnimationFrame&&requestAnimationFrame||setTimeout).bind(Z))();function Ht(e){return e instanceof Function?e():e}var tt=(()=>((tt=tt||{})[tt.Important=1]="Important",tt[tt.DashCase=2]="DashCase",tt))();function bu(e,t){return undefined(e,t)}function Ai(e){const t=e[3];return Et(t)?t[3]:t}function Mu(e){return Th(e[13])}function Au(e){return Th(e[4])}function Th(e){for(;null!==e&&!Et(e);)e=e[4];return e}function Cr(e,t,n,r,i){if(null!=r){let o,s=!1;Et(r)?o=r:kt(r)&&(s=!0,r=r[0]);const a=ge(r);0===e&&null!==n?null==i?Ph(t,n,a):$n(t,n,a,i||null,!0):1===e&&null!==n?$n(t,n,a,i||null,!0):2===e?function Uh(e,t,n){const r=Jo(e,t);r&&function fb(e,t,n,r){ue(e)?e.removeChild(t,n,r):t.removeChild(n)}(e,r,t,n)}(t,a,s):3===e&&t.destroyNode(a),null!=o&&function gb(e,t,n,r,i){const o=n[7];o!==ge(n)&&Cr(t,e,r,o,i);for(let a=10;a<n.length;a++){const u=n[a];Si(u[1],u,e,t,r,o)}}(t,e,o,n,i)}}function Iu(e,t,n){if(ue(e))return e.createElement(t,n);{const r=null!==n?function XC(e){const t=e.toLowerCase();return"svg"===t?"http://www.w3.org/2000/svg":"math"===t?"http://www.w3.org/1998/MathML/":null}(n):null;return null===r?e.createElement(t):e.createElementNS(r,t)}}function Nh(e,t){const n=e[9],r=n.indexOf(t),i=t[3];1024&t[2]&&(t[2]&=-1025,za(i,-1)),n.splice(r,1)}function Tu(e,t){if(e.length<=10)return;const n=10+t,r=e[n];if(r){const i=r[17];null!==i&&i!==e&&Nh(i,r),t>0&&(e[n-1][4]=r[4]);const o=Go(e,10+t);!function ib(e,t){Si(e,t,t[O],2,null,null),t[0]=null,t[6]=null}(r[1],r);const s=o[19];null!==s&&s.detachView(o[1]),r[3]=null,r[4]=null,r[2]&=-129}return r}function Rh(e,t){if(!(256&t[2])){const n=t[O];ue(n)&&n.destroyNode&&Si(e,t,n,3,null,null),function ab(e){let t=e[13];if(!t)return xu(e[1],e);for(;t;){let n=null;if(kt(t))n=t[13];else{const r=t[10];r&&(n=r)}if(!n){for(;t&&!t[4]&&t!==e;)kt(t)&&xu(t[1],t),t=t[3];null===t&&(t=e),kt(t)&&xu(t[1],t),n=t&&t[4]}t=n}}(t)}}function xu(e,t){if(!(256&t[2])){t[2]&=-129,t[2]|=256,function db(e,t){let n;if(null!=e&&null!=(n=e.destroyHooks))for(let r=0;r<n.length;r+=2){const i=t[n[r]];if(!(i instanceof ui)){const o=n[r+1];if(Array.isArray(o))for(let s=0;s<o.length;s+=2){const a=i[o[s]],u=o[s+1];try{u.call(a)}finally{}}else try{o.call(i)}finally{}}}}(e,t),function cb(e,t){const n=e.cleanup,r=t[7];let i=-1;if(null!==n)for(let o=0;o<n.length-1;o+=2)if("string"==typeof n[o]){const s=n[o+1],a="function"==typeof s?s(t):ge(t[s]),u=r[i=n[o+2]],l=n[o+3];"boolean"==typeof l?a.removeEventListener(n[o],u,l):l>=0?r[i=l]():r[i=-l].unsubscribe(),o+=2}else{const s=r[i=n[o+1]];n[o].call(s)}if(null!==r){for(let o=i+1;o<r.length;o++)r[o]();t[7]=null}}(e,t),1===t[1].type&&ue(t[O])&&t[O].destroy();const n=t[17];if(null!==n&&Et(t[3])){n!==t[3]&&Nh(n,t);const r=t[19];null!==r&&r.detachView(e)}}}function Fh(e,t,n){return function Oh(e,t,n){let r=t;for(;null!==r&&40&r.type;)r=(t=r).parent;if(null===r)return n[0];if(2&r.flags){const i=e.data[r.directiveStart].encapsulation;if(i===Vt.None||i===Vt.Emulated)return null}return ht(r,n)}(e,t.parent,n)}function $n(e,t,n,r,i){ue(e)?e.insertBefore(t,n,r,i):t.insertBefore(n,r,i)}function Ph(e,t,n){ue(e)?e.appendChild(t,n):t.appendChild(n)}function Vh(e,t,n,r,i){null!==r?$n(e,t,n,r,i):Ph(e,t,n)}function Jo(e,t){return ue(e)?e.parentNode(t):t.parentNode}let jh=function Lh(e,t,n){return 40&e.type?ht(e,n):null};function es(e,t,n,r){const i=Fh(e,r,t),o=t[O],a=function kh(e,t,n){return jh(e,t,n)}(r.parent||t[6],r,t);if(null!=i)if(Array.isArray(n))for(let u=0;u<n.length;u++)Vh(o,i,n[u],a,!1);else Vh(o,i,n,a,!1)}function ts(e,t){if(null!==t){const n=t.type;if(3&n)return ht(t,e);if(4&n)return Ru(-1,e[t.index]);if(8&n){const r=t.child;if(null!==r)return ts(e,r);{const i=e[t.index];return Et(i)?Ru(-1,i):ge(i)}}if(32&n)return bu(t,e)()||ge(e[t.index]);{const r=Hh(e,t);return null!==r?Array.isArray(r)?r[0]:ts(Ai(e[16]),r):ts(e,t.next)}}return null}function Hh(e,t){return null!==t?e[16][6].projection[t.projection]:null}function Ru(e,t){const n=10+e+1;if(n<t.length){const r=t[n],i=r[1].firstChild;if(null!==i)return ts(r,i)}return t[7]}function Fu(e,t,n,r,i,o,s){for(;null!=n;){const a=r[n.index],u=n.type;if(s&&0===t&&(a&&Fe(ge(a),r),n.flags|=4),64!=(64&n.flags))if(8&u)Fu(e,t,n.child,r,i,o,!1),Cr(t,e,i,a,o);else if(32&u){const l=bu(n,r);let c;for(;c=l();)Cr(t,e,i,c,o);Cr(t,e,i,a,o)}else 16&u?$h(e,t,r,n,i,o):Cr(t,e,i,a,o);n=s?n.projectionNext:n.next}}function Si(e,t,n,r,i,o){Fu(n,r,e.firstChild,t,i,o,!1)}function $h(e,t,n,r,i,o){const s=n[16],u=s[6].projection[r.projection];if(Array.isArray(u))for(let l=0;l<u.length;l++)Cr(t,e,i,u[l],o);else Fu(e,t,u,s[3],i,o,!0)}function Gh(e,t,n){ue(e)?e.setAttribute(t,"style",n):t.style.cssText=n}function Ou(e,t,n){ue(e)?""===n?e.removeAttribute(t,"class"):e.setAttribute(t,"class",n):t.className=n}function qh(e,t,n){let r=e.length;for(;;){const i=e.indexOf(t,n);if(-1===i)return i;if(0===i||e.charCodeAt(i-1)<=32){const o=t.length;if(i+o===r||e.charCodeAt(i+o)<=32)return i}n=i+1}}const zh="ng-template";function yb(e,t,n){let r=0;for(;r<e.length;){let i=e[r++];if(n&&"class"===i){if(i=e[r],-1!==qh(i.toLowerCase(),t,0))return!0}else if(1===i){for(;r<e.length&&"string"==typeof(i=e[r++]);)if(i.toLowerCase()===t)return!0;return!1}}return!1}function Wh(e){return 4===e.type&&e.value!==zh}function vb(e,t,n){return t===(4!==e.type||n?e.value:zh)}function Db(e,t,n){let r=4;const i=e.attrs||[],o=function wb(e){for(let t=0;t<e.length;t++)if(kf(e[t]))return t;return e.length}(i);let s=!1;for(let a=0;a<t.length;a++){const u=t[a];if("number"!=typeof u){if(!s)if(4&r){if(r=2|1&r,""!==u&&!vb(e,u,n)||""===u&&1===t.length){if(Mt(r))return!1;s=!0}}else{const l=8&r?u:t[++a];if(8&r&&null!==e.attrs){if(!yb(e.attrs,l,n)){if(Mt(r))return!1;s=!0}continue}const d=_b(8&r?"class":u,i,Wh(e),n);if(-1===d){if(Mt(r))return!1;s=!0;continue}if(""!==l){let f;f=d>o?"":i[d+1].toLowerCase();const h=8&r?f:null;if(h&&-1!==qh(h,l,0)||2&r&&l!==f){if(Mt(r))return!1;s=!0}}}}else{if(!s&&!Mt(r)&&!Mt(u))return!1;if(s&&Mt(u))continue;s=!1,r=u|1&r}}return Mt(r)||s}function Mt(e){return 0==(1&e)}function _b(e,t,n,r){if(null===t)return-1;let i=0;if(r||!n){let o=!1;for(;i<t.length;){const s=t[i];if(s===e)return i;if(3===s||6===s)o=!0;else{if(1===s||2===s){let a=t[++i];for(;"string"==typeof a;)a=t[++i];continue}if(4===s)break;if(0===s){i+=4;continue}}i+=o?1:2}return-1}return function Eb(e,t){let n=e.indexOf(4);if(n>-1)for(n++;n<e.length;){const r=e[n];if("number"==typeof r)return-1;if(r===t)return n;n++}return-1}(t,e)}function Qh(e,t,n=!1){for(let r=0;r<t.length;r++)if(Db(e,t[r],n))return!0;return!1}function Yh(e,t){return e?":not("+t.trim()+")":t}function Mb(e){let t=e[0],n=1,r=2,i="",o=!1;for(;n<e.length;){let s=e[n];if("string"==typeof s)if(2&r){const a=e[++n];i+="["+s+(a.length>0?'="'+a+'"':"")+"]"}else 8&r?i+="."+s:4&r&&(i+=" "+s);else""!==i&&!Mt(s)&&(t+=Yh(o,i),i=""),r=s,o=o||!Mt(r);n++}return""!==i&&(t+=Yh(o,i)),t}const R={};function Ii(e){Zh(z(),y(),Le()+e,No())}function Zh(e,t,n,r){if(!r)if(3==(3&t[2])){const o=e.preOrderCheckHooks;null!==o&&Vo(t,o,n)}else{const o=e.preOrderHooks;null!==o&&ko(t,o,0,n)}Dn(n)}function ns(e,t){return e<<17|t<<2}function At(e){return e>>17&32767}function Pu(e){return 2|e}function on(e){return(131068&e)>>2}function Vu(e,t){return-131069&e|t<<2}function ku(e){return 1|e}function ap(e,t){const n=e.contentQueries;if(null!==n)for(let r=0;r<n.length;r+=2){const i=n[r],o=n[r+1];if(-1!==o){const s=e.data[o];Ka(i),s.contentQueries(2,t[o],o)}}}function Ti(e,t,n,r,i,o,s,a,u,l){const c=t.blueprint.slice();return c[0]=i,c[2]=140|r,bf(c),c[3]=c[15]=e,c[8]=n,c[10]=s||e&&e[10],c[O]=a||e&&e[O],c[12]=u||e&&e[12]||null,c[9]=l||e&&e[9]||null,c[6]=o,c[16]=2==t.type?e[16]:c,c}function wr(e,t,n,r,i){let o=e.data[t];if(null===o)o=function zu(e,t,n,r,i){const o=Sf(),s=Wa(),u=e.data[t]=function $b(e,t,n,r,i,o){return{type:n,index:r,insertBeforeIndex:null,injectorIndex:t?t.injectorIndex:-1,directiveStart:-1,directiveEnd:-1,directiveStylingLast:-1,propertyBindings:null,flags:0,providerIndexes:0,value:i,attrs:o,mergedAttrs:null,localNames:null,initialInputs:void 0,inputs:null,outputs:null,tViews:null,next:null,projectionNext:null,child:null,parent:t,projection:null,styles:null,stylesWithoutHost:null,residualStyles:void 0,classes:null,classesWithoutHost:null,residualClasses:void 0,classBindings:0,styleBindings:0}}(0,s?o:o&&o.parent,n,t,r,i);return null===e.firstChild&&(e.firstChild=u),null!==o&&(s?null==o.child&&null!==u.parent&&(o.child=u):null===o.next&&(o.next=u)),u}(e,t,n,r,i),function cw(){return T.lFrame.inI18n}()&&(o.flags|=64);else if(64&o.type){o.type=n,o.value=r,o.attrs=i;const s=function ai(){const e=T.lFrame,t=e.currentTNode;return e.isParent?t:t.parent}();o.injectorIndex=null===s?-1:s.injectorIndex}return Lt(o,!0),o}function Er(e,t,n,r){if(0===n)return-1;const i=t.length;for(let o=0;o<n;o++)t.push(r),e.blueprint.push(r),e.data.push(null);return i}function xi(e,t,n){Fo(t);try{const r=e.viewQuery;null!==r&&tl(1,r,n);const i=e.template;null!==i&&up(e,t,i,1,n),e.firstCreatePass&&(e.firstCreatePass=!1),e.staticContentQueries&&ap(e,t),e.staticViewQueries&&tl(2,e.viewQuery,n);const o=e.components;null!==o&&function Bb(e,t){for(let n=0;n<t.length;n++)u0(e,t[n])}(t,o)}catch(r){throw e.firstCreatePass&&(e.incompleteFirstPass=!0,e.firstCreatePass=!1),r}finally{t[2]&=-5,Oo()}}function br(e,t,n,r){const i=t[2];if(256==(256&i))return;Fo(t);const o=No();try{bf(t),function If(e){return T.lFrame.bindingIndex=e}(e.bindingStartIndex),null!==n&&up(e,t,n,2,r);const s=3==(3&i);if(!o)if(s){const l=e.preOrderCheckHooks;null!==l&&Vo(t,l,null)}else{const l=e.preOrderHooks;null!==l&&ko(t,l,0,null),Xa(t,0)}if(function s0(e){for(let t=Mu(e);null!==t;t=Au(t)){if(!t[2])continue;const n=t[9];for(let r=0;r<n.length;r++){const i=n[r],o=i[3];0==(1024&i[2])&&za(o,1),i[2]|=1024}}}(t),function o0(e){for(let t=Mu(e);null!==t;t=Au(t))for(let n=10;n<t.length;n++){const r=t[n],i=r[1];qa(r)&&br(i,r,i.template,r[8])}}(t),null!==e.contentQueries&&ap(e,t),!o)if(s){const l=e.contentCheckHooks;null!==l&&Vo(t,l)}else{const l=e.contentHooks;null!==l&&ko(t,l,1),Xa(t,1)}!function Lb(e,t){const n=e.hostBindingOpCodes;if(null!==n)try{for(let r=0;r<n.length;r++){const i=n[r];if(i<0)Dn(~i);else{const o=i,s=n[++r],a=n[++r];dw(s,o),a(2,t[o])}}}finally{Dn(-1)}}(e,t);const a=e.components;null!==a&&function jb(e,t){for(let n=0;n<t.length;n++)a0(e,t[n])}(t,a);const u=e.viewQuery;if(null!==u&&tl(2,u,r),!o)if(s){const l=e.viewCheckHooks;null!==l&&Vo(t,l)}else{const l=e.viewHooks;null!==l&&ko(t,l,2),Xa(t,2)}!0===e.firstUpdatePass&&(e.firstUpdatePass=!1),o||(t[2]&=-73),1024&t[2]&&(t[2]&=-1025,za(t[3],-1))}finally{Oo()}}function Hb(e,t,n,r){const i=t[10],o=!No(),s=function Ef(e){return 4==(4&e[2])}(t);try{o&&!s&&i.begin&&i.begin(),s&&xi(e,t,r),br(e,t,n,r)}finally{o&&!s&&i.end&&i.end()}}function up(e,t,n,r,i){const o=Le(),s=2&r;try{Dn(-1),s&&t.length>20&&Zh(e,t,20,No()),n(r,i)}finally{Dn(o)}}function lp(e,t,n){if(ka(t)){const i=t.directiveEnd;for(let o=t.directiveStart;o<i;o++){const s=e.data[o];s.contentQueries&&s.contentQueries(1,n[o],o)}}}function Wu(e,t,n){!Mf()||(function Zb(e,t,n,r){const i=n.directiveStart,o=n.directiveEnd;e.firstCreatePass||ci(n,t),Fe(r,t);const s=n.initialInputs;for(let a=i;a<o;a++){const u=e.data[a],l=bt(u);l&&t0(t,n,u);const c=di(t,e,a,n);Fe(c,t),null!==s&&n0(0,a-i,c,u,0,s),l&&(Je(n.index,t)[8]=c)}}(e,t,n,ht(n,t)),128==(128&n.flags)&&function Kb(e,t,n){const r=n.directiveStart,i=n.directiveEnd,s=n.index,a=function fw(){return T.lFrame.currentDirectiveIndex}();try{Dn(s);for(let u=r;u<i;u++){const l=e.data[u],c=t[u];Ya(u),(null!==l.hostBindings||0!==l.hostVars||null!==l.hostAttrs)&&yp(l,c)}}finally{Dn(-1),Ya(a)}}(e,t,n))}function Qu(e,t,n=ht){const r=t.localNames;if(null!==r){let i=t.index+1;for(let o=0;o<r.length;o+=2){const s=r[o+1],a=-1===s?n(t,e):e[s];e[i++]=a}}}function cp(e){const t=e.tView;return null===t||t.incompleteFirstPass?e.tView=os(1,null,e.template,e.decls,e.vars,e.directiveDefs,e.pipeDefs,e.viewQuery,e.schemas,e.consts):t}function os(e,t,n,r,i,o,s,a,u,l){const c=20+r,d=c+i,f=function Ub(e,t){const n=[];for(let r=0;r<t;r++)n.push(r<e?null:R);return n}(c,d),h="function"==typeof l?l():l;return f[1]={type:e,blueprint:f,template:n,queries:null,viewQuery:a,declTNode:t,data:f.slice().fill(null,c),bindingStartIndex:c,expandoStartIndex:d,hostBindingOpCodes:null,firstCreatePass:!0,firstUpdatePass:!0,staticViewQueries:!1,staticContentQueries:!1,preOrderHooks:null,preOrderCheckHooks:null,contentHooks:null,contentCheckHooks:null,viewHooks:null,viewCheckHooks:null,destroyHooks:null,cleanup:null,contentQueries:null,components:null,directiveRegistry:"function"==typeof o?o():o,pipeRegistry:"function"==typeof s?s():s,firstChild:null,schemas:u,consts:h,incompleteFirstPass:!1}}function pp(e,t,n){for(let r in e)if(e.hasOwnProperty(r)){const i=e[r];(n=null===n?{}:n).hasOwnProperty(r)?n[r].push(t,i):n[r]=[t,i]}return n}function Yu(e,t,n,r){let i=!1;if(Mf()){const o=function Xb(e,t,n){const r=e.directiveRegistry;let i=null;if(r)for(let o=0;o<r.length;o++){const s=r[o];Qh(n,s.selectors,!1)&&(i||(i=[]),Uo(ci(n,t),e,s.type),bt(s)?(vp(e,n),i.unshift(s)):i.push(s))}return i}(e,t,n),s=null===r?null:{"":-1};if(null!==o){i=!0,Dp(n,e.data.length,o.length);for(let c=0;c<o.length;c++){const d=o[c];d.providersResolver&&d.providersResolver(d)}let a=!1,u=!1,l=Er(e,t,o.length,null);for(let c=0;c<o.length;c++){const d=o[c];n.mergedAttrs=jo(n.mergedAttrs,d.hostAttrs),_p(e,n,t,l,d),e0(l,d,s),null!==d.contentQueries&&(n.flags|=8),(null!==d.hostBindings||null!==d.hostAttrs||0!==d.hostVars)&&(n.flags|=128);const f=d.type.prototype;!a&&(f.ngOnChanges||f.ngOnInit||f.ngDoCheck)&&((e.preOrderHooks||(e.preOrderHooks=[])).push(n.index),a=!0),!u&&(f.ngOnChanges||f.ngDoCheck)&&((e.preOrderCheckHooks||(e.preOrderCheckHooks=[])).push(n.index),u=!0),l++}!function Gb(e,t){const r=t.directiveEnd,i=e.data,o=t.attrs,s=[];let a=null,u=null;for(let l=t.directiveStart;l<r;l++){const c=i[l],d=c.inputs,f=null===o||Wh(t)?null:r0(d,o);s.push(f),a=pp(d,l,a),u=pp(c.outputs,l,u)}null!==a&&(a.hasOwnProperty("class")&&(t.flags|=16),a.hasOwnProperty("style")&&(t.flags|=32)),t.initialInputs=s,t.inputs=a,t.outputs=u}(e,n)}s&&function Jb(e,t,n){if(t){const r=e.localNames=[];for(let i=0;i<t.length;i+=2){const o=n[t[i+1]];if(null==o)throw new q(-301,!1);r.push(t[i],o)}}}(n,r,s)}return n.mergedAttrs=jo(n.mergedAttrs,n.attrs),i}function mp(e,t,n,r,i,o){const s=o.hostBindings;if(s){let a=e.hostBindingOpCodes;null===a&&(a=e.hostBindingOpCodes=[]);const u=~t.index;(function Yb(e){let t=e.length;for(;t>0;){const n=e[--t];if("number"==typeof n&&n<0)return n}return 0})(a)!=u&&a.push(u),a.push(r,i,s)}}function yp(e,t){null!==e.hostBindings&&e.hostBindings(1,t)}function vp(e,t){t.flags|=2,(e.components||(e.components=[])).push(t.index)}function e0(e,t,n){if(n){if(t.exportAs)for(let r=0;r<t.exportAs.length;r++)n[t.exportAs[r]]=e;bt(t)&&(n[""]=e)}}function Dp(e,t,n){e.flags|=1,e.directiveStart=t,e.directiveEnd=t+n,e.providerIndexes=t}function _p(e,t,n,r,i){e.data[r]=i;const o=i.factory||(i.factory=Un(i.type)),s=new ui(o,bt(i),null);e.blueprint[r]=s,n[r]=s,mp(e,t,0,r,Er(e,n,i.hostVars,R),i)}function t0(e,t,n){const r=ht(t,e),i=cp(n),o=e[10],s=ss(e,Ti(e,i,null,n.onPush?64:16,r,t,o,o.createRenderer(r,n),null,null));e[t.index]=s}function n0(e,t,n,r,i,o){const s=o[t];if(null!==s){const a=r.setInput;for(let u=0;u<s.length;){const l=s[u++],c=s[u++],d=s[u++];null!==a?r.setInput(n,d,l,c):n[c]=d}}}function r0(e,t){let n=null,r=0;for(;r<t.length;){const i=t[r];if(0!==i)if(5!==i){if("number"==typeof i)break;e.hasOwnProperty(i)&&(null===n&&(n=[]),n.push(i,e[i],t[r+1])),r+=2}else r+=2;else r+=4}return n}function Cp(e,t,n,r){return new Array(e,!0,!1,t,null,0,r,n,null,null)}function a0(e,t){const n=Je(t,e);if(qa(n)){const r=n[1];80&n[2]?br(r,n,r.template,n[8]):n[5]>0&&Ku(n)}}function Ku(e){for(let r=Mu(e);null!==r;r=Au(r))for(let i=10;i<r.length;i++){const o=r[i];if(1024&o[2]){const s=o[1];br(s,o,s.template,o[8])}else o[5]>0&&Ku(o)}const n=e[1].components;if(null!==n)for(let r=0;r<n.length;r++){const i=Je(n[r],e);qa(i)&&i[5]>0&&Ku(i)}}function u0(e,t){const n=Je(t,e),r=n[1];(function l0(e,t){for(let n=t.length;n<e.blueprint.length;n++)t.push(e.blueprint[n])})(r,n),xi(r,n,n[8])}function ss(e,t){return e[13]?e[14][4]=t:e[13]=t,e[14]=t,t}function Xu(e){for(;e;){e[2]|=64;const t=Ai(e);if(UC(e)&&!t)return e;e=t}return null}function el(e,t,n){const r=t[10];r.begin&&r.begin();try{br(e,t,e.template,n)}catch(i){throw Ap(t,i),i}finally{r.end&&r.end()}}function wp(e){!function Ju(e){for(let t=0;t<e.components.length;t++){const n=e.components[t],r=_u(n),i=r[1];Hb(i,r,i.template,n)}}(e[8])}function tl(e,t,n){Ka(0),t(e,n)}const h0=(()=>Promise.resolve(null))();function Ep(e){return e[7]||(e[7]=[])}function bp(e){return e.cleanup||(e.cleanup=[])}function Ap(e,t){const n=e[9],r=n?n.get(Mi,null):null;r&&r.handleError(t)}function Sp(e,t,n,r,i){for(let o=0;o<n.length;){const s=n[o++],a=n[o++],u=t[s],l=e.data[s];null!==l.setInput?l.setInput(u,i,r,a):u[a]=i}}function sn(e,t,n){const r=xo(t,e);!function xh(e,t,n){ue(e)?e.setValue(t,n):t.textContent=n}(e[O],r,n)}function as(e,t,n){let r=n?e.styles:null,i=n?e.classes:null,o=0;if(null!==t)for(let s=0;s<t.length;s++){const a=t[s];"number"==typeof a?o=a:1==o?i=Ia(i,a):2==o&&(r=Ia(r,a+": "+t[++s]+";"))}n?e.styles=r:e.stylesWithoutHost=r,n?e.classes=i:e.classesWithoutHost=i}const nl=new H("INJECTOR",-1);class Ip{get(t,n=mi){if(n===mi){const r=new Error(`NullInjectorError: No provider for ${Q(t)}!`);throw r.name="NullInjectorError",r}return n}}const rl=new H("Set Injector scope."),Ni={},m0={};let il;function Tp(){return void 0===il&&(il=new Ip),il}function xp(e,t=null,n=null,r){const i=Np(e,t,n,r);return i._resolveInjectorDefTypes(),i}function Np(e,t=null,n=null,r){return new y0(e,n,t||Tp(),r)}class y0{constructor(t,n,r,i=null){this.parent=r,this.records=new Map,this.injectorDefTypes=new Set,this.onDestroy=new Set,this._destroyed=!1;const o=[];n&&jt(n,a=>this.processProvider(a,t,n)),jt([t],a=>this.processInjectorType(a,[],o)),this.records.set(nl,Mr(void 0,this));const s=this.records.get(rl);this.scope=null!=s?s.value:null,this.source=i||("object"==typeof t?null:Q(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,n=mi,r=x.Default){this.assertNotDestroyed();const i=th(this),o=gn(void 0);try{if(!(r&x.SkipSelf)){let a=this.records.get(t);if(void 0===a){const u=function M0(e){return"function"==typeof e||"object"==typeof e&&e instanceof H}(t)&&xa(t);a=u&&this.injectableDefInScope(u)?Mr(ol(t),Ni):null,this.records.set(t,a)}if(null!=a)return this.hydrate(t,a)}return(r&x.Self?Tp():this.parent).get(t,n=r&x.Optional&&n===mi?null:n)}catch(s){if("NullInjectorError"===s.name){if((s[zo]=s[zo]||[]).unshift(Q(t)),i)throw s;return function Kw(e,t,n,r){const i=e[zo];throw t[eh]&&i.unshift(t[eh]),e.message=function Xw(e,t,n,r=null){e=e&&"\n"===e.charAt(0)&&"\u0275"==e.charAt(1)?e.substr(2):e;let i=Q(t);if(Array.isArray(t))i=t.map(Q).join(" -> ");else if("object"==typeof t){let o=[];for(let s in t)if(t.hasOwnProperty(s)){let a=t[s];o.push(s+":"+("string"==typeof a?JSON.stringify(a):Q(a)))}i=`{${o.join(", ")}}`}return`${n}${r?"("+r+")":""}[${i}]: ${e.replace(qw,"\n ")}`}("\n"+e.message,i,n,r),e.ngTokenPath=i,e[zo]=null,e}(s,t,"R3InjectorError",this.source)}throw s}finally{gn(o),th(i)}}_resolveInjectorDefTypes(){this.injectorDefTypes.forEach(t=>this.get(t))}toString(){const t=[];return this.records.forEach((r,i)=>t.push(Q(i))),`R3Injector[${t.join(", ")}]`}assertNotDestroyed(){if(this._destroyed)throw new q(205,!1)}processInjectorType(t,n,r){if(!(t=F(t)))return!1;let i=cf(t);const o=null==i&&t.ngModule||void 0,s=void 0===o?t:o,a=-1!==r.indexOf(s);if(void 0!==o&&(i=cf(o)),null==i)return!1;if(null!=i.imports&&!a){let c;r.push(s);try{jt(i.imports,d=>{this.processInjectorType(d,n,r)&&(void 0===c&&(c=[]),c.push(d))})}finally{}if(void 0!==c)for(let d=0;d<c.length;d++){const{ngModule:f,providers:h}=c[d];jt(h,p=>this.processProvider(p,f,h||X))}}this.injectorDefTypes.add(s);const u=Un(s)||(()=>new s);this.records.set(s,Mr(u,Ni));const l=i.providers;if(null!=l&&!a){const c=t;jt(l,d=>this.processProvider(d,c,l))}return void 0!==o&&void 0!==t.providers}processProvider(t,n,r){let i=Ar(t=F(t))?t:F(t&&t.provide);const o=function D0(e,t,n){return Fp(e)?Mr(void 0,e.useValue):Mr(Rp(e),Ni)}(t);if(Ar(t)||!0!==t.multi)this.records.get(i);else{let s=this.records.get(i);s||(s=Mr(void 0,Ni,!0),s.factory=()=>cu(s.multi),this.records.set(i,s)),i=t,s.multi.push(t)}this.records.set(i,o)}hydrate(t,n){return n.value===Ni&&(n.value=m0,n.value=n.factory()),"object"==typeof n.value&&n.value&&function b0(e){return null!==e&&"object"==typeof e&&"function"==typeof e.ngOnDestroy}(n.value)&&this.onDestroy.add(n.value),n.value}injectableDefInScope(t){if(!t.providedIn)return!1;const n=F(t.providedIn);return"string"==typeof n?"any"===n||n===this.scope:this.injectorDefTypes.has(n)}}function ol(e){const t=xa(e),n=null!==t?t.factory:Un(e);if(null!==n)return n;if(e instanceof H)throw new q(204,!1);if(e instanceof Function)return function v0(e){const t=e.length;if(t>0)throw function gi(e,t){const n=[];for(let r=0;r<e;r++)n.push(t);return n}(t,"?"),new q(204,!1);const n=function TC(e){const t=e&&(e[Eo]||e[df]);if(t){const n=function xC(e){if(e.hasOwnProperty("name"))return e.name;const t=(""+e).match(/^function\s*([^\s(]+)/);return null===t?"":t[1]}(e);return console.warn(`DEPRECATED: DI is instantiating a token "${n}" that inherits its @Injectable decorator but does not provide one itself.\nThis will become an error in a future version of Angular. Please add @Injectable() to the "${n}" class.`),t}return null}(e);return null!==n?()=>n.factory(e):()=>new e}(e);throw new q(204,!1)}function Rp(e,t,n){let r;if(Ar(e)){const i=F(e);return Un(i)||ol(i)}if(Fp(e))r=()=>F(e.useValue);else if(function C0(e){return!(!e||!e.useFactory)}(e))r=()=>e.useFactory(...cu(e.deps||[]));else if(function _0(e){return!(!e||!e.useExisting)}(e))r=()=>A(F(e.useExisting));else{const i=F(e&&(e.useClass||e.provide));if(!function E0(e){return!!e.deps}(e))return Un(i)||ol(i);r=()=>new i(...cu(e.deps))}return r}function Mr(e,t,n=!1){return{factory:e,value:t,multi:n?[]:void 0}}function Fp(e){return null!==e&&"object"==typeof e&&Ww in e}function Ar(e){return"function"==typeof e}let Be=(()=>{class e{static create(n,r){var i;if(Array.isArray(n))return xp({name:""},r,n,"");{const o=null!==(i=n.name)&&void 0!==i?i:"";return xp({name:o},n.parent,n.providers,o)}}}return e.THROW_IF_NOT_FOUND=mi,e.NULL=new Ip,e.\u0275prov=$({token:e,providedIn:"any",factory:()=>A(nl)}),e.__NG_ELEMENT_ID__=-1,e})();function F0(e,t){Po(_u(e)[1],De())}function Y(e){let t=function qp(e){return Object.getPrototypeOf(e.prototype).constructor}(e.type),n=!0;const r=[e];for(;t;){let i;if(bt(e))i=t.\u0275cmp||t.\u0275dir;else{if(t.\u0275cmp)throw new q(903,"");i=t.\u0275dir}if(i){if(n){r.push(i);const s=e;s.inputs=ul(e.inputs),s.declaredInputs=ul(e.declaredInputs),s.outputs=ul(e.outputs);const a=i.hostBindings;a&&k0(e,a);const u=i.viewQuery,l=i.contentQueries;if(u&&P0(e,u),l&&V0(e,l),Sa(e.inputs,i.inputs),Sa(e.declaredInputs,i.declaredInputs),Sa(e.outputs,i.outputs),bt(i)&&i.data.animation){const c=e.data;c.animation=(c.animation||[]).concat(i.data.animation)}}const o=i.features;if(o)for(let s=0;s<o.length;s++){const a=o[s];a&&a.ngInherit&&a(e),a===Y&&(n=!1)}}t=Object.getPrototypeOf(t)}!function O0(e){let t=0,n=null;for(let r=e.length-1;r>=0;r--){const i=e[r];i.hostVars=t+=i.hostVars,i.hostAttrs=jo(i.hostAttrs,n=jo(n,i.hostAttrs))}}(r)}function ul(e){return e===rr?{}:e===X?[]:e}function P0(e,t){const n=e.viewQuery;e.viewQuery=n?(r,i)=>{t(r,i),n(r,i)}:t}function V0(e,t){const n=e.contentQueries;e.contentQueries=n?(r,i,o)=>{t(r,i,o),n(r,i,o)}:t}function k0(e,t){const n=e.hostBindings;e.hostBindings=n?(r,i)=>{t(r,i),n(r,i)}:t}function Oe(e,t,n){return!Object.is(e[t],n)&&(e[t]=n,!0)}function v(e,t=x.Default){const n=y();return null===n?A(e,t):Gf(De(),n,F(e),t)}function pl(){throw new Error("invalid")}function Oi(e,t,n){const r=y();return Oe(r,lr(),t)&&function nt(e,t,n,r,i,o,s,a){const u=ht(t,n);let c,l=t.inputs;!a&&null!=l&&(c=l[r])?(Sp(e,n,c,r,i),Io(t)&&function zb(e,t){const n=Je(t,e);16&n[2]||(n[2]|=64)}(n,t.index)):3&t.type&&(r=function qb(e){return"class"===e?"className":"for"===e?"htmlFor":"formaction"===e?"formAction":"innerHtml"===e?"innerHTML":"readonly"===e?"readOnly":"tabindex"===e?"tabIndex":e}(r),i=null!=s?s(i,t.value||"",r):i,ue(o)?o.setProperty(u,r,i):eu(r)||(u.setProperty?u.setProperty(r,i):u[r]=i))}(z(),function le(){const e=T.lFrame;return Ga(e.tView,e.selectedIndex)}(),r,e,t,r[O],n,!1),Oi}function gl(e,t,n,r,i){const s=i?"class":"style";Sp(e,n,t.inputs[s],s,r)}function He(e,t,n,r){const i=y(),o=z(),s=20+e,a=i[O],u=i[s]=Iu(a,t,function _w(){return T.lFrame.currentNamespace}()),l=o.firstCreatePass?function fM(e,t,n,r,i,o,s){const a=t.consts,l=wr(t,e,2,i,vn(a,o));return Yu(t,n,l,vn(a,s)),null!==l.attrs&&as(l,l.attrs,!1),null!==l.mergedAttrs&&as(l,l.mergedAttrs,!0),null!==t.queries&&t.queries.elementStart(t,l),l}(s,o,i,0,t,n,r):o.data[s];Lt(l,!0);const c=l.mergedAttrs;null!==c&&Lo(a,u,c);const d=l.classes;null!==d&&Ou(a,u,d);const f=l.styles;return null!==f&&Gh(a,u,f),64!=(64&l.flags)&&es(o,i,u,l),0===function iw(){return T.lFrame.elementDepthCount}()&&Fe(u,i),function ow(){T.lFrame.elementDepthCount++}(),To(l)&&(Wu(o,i,l),lp(o,l,i)),null!==r&&Qu(i,l),He}function Ue(){let e=De();Wa()?Qa():(e=e.parent,Lt(e,!1));const t=e;!function sw(){T.lFrame.elementDepthCount--}();const n=z();return n.firstCreatePass&&(Po(n,e),ka(e)&&n.queries.elementEnd(e)),null!=t.classesWithoutHost&&function Mw(e){return 0!=(16&e.flags)}(t)&&gl(n,t,y(),t.classesWithoutHost,!0),null!=t.stylesWithoutHost&&function Aw(e){return 0!=(32&e.flags)}(t)&&gl(n,t,y(),t.stylesWithoutHost,!1),Ue}function Mn(e,t,n,r){return He(e,t,n,r),Ue(),Mn}function ds(e,t,n){const r=y(),i=z(),o=e+20,s=i.firstCreatePass?function hM(e,t,n,r,i){const o=t.consts,s=vn(o,r),a=wr(t,e,8,"ng-container",s);return null!==s&&as(a,s,!0),Yu(t,n,a,vn(o,i)),null!==t.queries&&t.queries.elementStart(t,a),a}(o,i,r,t,n):i.data[o];Lt(s,!0);const a=r[o]=r[O].createComment("");return es(i,r,a,s),Fe(a,r),To(s)&&(Wu(i,r,s),lp(i,s,r)),null!=n&&Qu(r,s),ds}function fs(){let e=De();const t=z();return Wa()?Qa():(e=e.parent,Lt(e,!1)),t.firstCreatePass&&(Po(t,e),ka(e)&&t.queries.elementEnd(e)),fs}function Pi(e){return!!e&&"function"==typeof e.then}const ml=function pg(e){return!!e&&"function"==typeof e.subscribe};function $e(e,t,n,r){const i=y(),o=z(),s=De();return function mg(e,t,n,r,i,o,s,a){const u=To(r),c=e.firstCreatePass&&bp(e),d=t[8],f=Ep(t);let h=!0;if(3&r.type||a){const D=ht(r,t),_=a?a(D):D,g=f.length,E=a?k=>a(ge(k[r.index])):r.index;if(ue(n)){let k=null;if(!a&&u&&(k=function pM(e,t,n,r){const i=e.cleanup;if(null!=i)for(let o=0;o<i.length-1;o+=2){const s=i[o];if(s===n&&i[o+1]===r){const a=t[7],u=i[o+2];return a.length>u?a[u]:null}"string"==typeof s&&(o+=2)}return null}(e,t,i,r.index)),null!==k)(k.__ngLastListenerFn__||k).__ngNextListenerFn__=o,k.__ngLastListenerFn__=o,h=!1;else{o=yl(r,t,d,o,!1);const W=n.listen(_,i,o);f.push(o,W),c&&c.push(i,E,g,g+1)}}else o=yl(r,t,d,o,!0),_.addEventListener(i,o,s),f.push(o),c&&c.push(i,E,g,s)}else o=yl(r,t,d,o,!1);const p=r.outputs;let m;if(h&&null!==p&&(m=p[i])){const D=m.length;if(D)for(let _=0;_<D;_+=2){const st=t[m[_]][m[_+1]].subscribe(o),nr=f.length;f.push(o,st),c&&c.push(i,r.index,nr,-(nr+1))}}}(o,i,i[O],s,e,t,!!n,r),$e}function yg(e,t,n,r){try{return!1!==n(r)}catch(i){return Ap(e,i),!1}}function yl(e,t,n,r,i){return function o(s){if(s===Function)return r;const a=2&e.flags?Je(e.index,t):t;0==(32&t[2])&&Xu(a);let u=yg(t,0,r,s),l=o.__ngNextListenerFn__;for(;l;)u=yg(t,0,l,s)&&u,l=l.__ngNextListenerFn__;return i&&!1===u&&(s.preventDefault(),s.returnValue=!1),u}}function vl(e=1){return function pw(e){return(T.lFrame.contextLView=function gw(e,t){for(;e>0;)t=t[15],e--;return t}(e,T.lFrame.contextLView))[8]}(e)}function Sg(e,t,n,r,i){const o=e[n+1],s=null===t;let a=r?At(o):on(o),u=!1;for(;0!==a&&(!1===u||s);){const c=e[a+1];_M(e[a],t)&&(u=!0,e[a+1]=r?ku(c):Pu(c)),a=r?At(c):on(c)}u&&(e[n+1]=r?Pu(o):ku(o))}function _M(e,t){return null===e||null==t||(Array.isArray(e)?e[1]:e)===t||!(!Array.isArray(e)||"string"!=typeof t)&&yr(e,t)>=0}function hs(e,t){return function It(e,t,n,r){const i=y(),o=z(),s=function rn(e){const t=T.lFrame,n=t.bindingIndex;return t.bindingIndex=t.bindingIndex+e,n}(2);o.firstUpdatePass&&function Vg(e,t,n,r){const i=e.data;if(null===i[n+1]){const o=i[Le()],s=function Pg(e,t){return t>=e.expandoStartIndex}(e,n);(function Bg(e,t){return 0!=(e.flags&(t?16:32))})(o,r)&&null===t&&!s&&(t=!1),t=function TM(e,t,n,r){const i=function Za(e){const t=T.lFrame.currentDirectiveIndex;return-1===t?null:e[t]}(e);let o=r?t.residualClasses:t.residualStyles;if(null===i)0===(r?t.classBindings:t.styleBindings)&&(n=Vi(n=_l(null,e,t,n,r),t.attrs,r),o=null);else{const s=t.directiveStylingLast;if(-1===s||e[s]!==i)if(n=_l(i,e,t,n,r),null===o){let u=function xM(e,t,n){const r=n?t.classBindings:t.styleBindings;if(0!==on(r))return e[At(r)]}(e,t,r);void 0!==u&&Array.isArray(u)&&(u=_l(null,e,t,u[1],r),u=Vi(u,t.attrs,r),function NM(e,t,n,r){e[At(n?t.classBindings:t.styleBindings)]=r}(e,t,r,u))}else o=function RM(e,t,n){let r;const i=t.directiveEnd;for(let o=1+t.directiveStylingLast;o<i;o++)r=Vi(r,e[o].hostAttrs,n);return Vi(r,t.attrs,n)}(e,t,r)}return void 0!==o&&(r?t.residualClasses=o:t.residualStyles=o),n}(i,o,t,r),function vM(e,t,n,r,i,o){let s=o?t.classBindings:t.styleBindings,a=At(s),u=on(s);e[r]=n;let c,l=!1;if(Array.isArray(n)){const d=n;c=d[1],(null===c||yr(d,c)>0)&&(l=!0)}else c=n;if(i)if(0!==u){const f=At(e[a+1]);e[r+1]=ns(f,a),0!==f&&(e[f+1]=Vu(e[f+1],r)),e[a+1]=function Ib(e,t){return 131071&e|t<<17}(e[a+1],r)}else e[r+1]=ns(a,0),0!==a&&(e[a+1]=Vu(e[a+1],r)),a=r;else e[r+1]=ns(u,0),0===a?a=r:e[u+1]=Vu(e[u+1],r),u=r;l&&(e[r+1]=Pu(e[r+1])),Sg(e,c,r,!0),Sg(e,c,r,!1),function DM(e,t,n,r,i){const o=i?e.residualClasses:e.residualStyles;null!=o&&"string"==typeof t&&yr(o,t)>=0&&(n[r+1]=ku(n[r+1]))}(t,c,e,r,o),s=ns(a,u),o?t.classBindings=s:t.styleBindings=s}(i,o,t,n,s,r)}}(o,e,s,r),t!==R&&Oe(i,s,t)&&function Lg(e,t,n,r,i,o,s,a){if(!(3&t.type))return;const u=e.data,l=u[a+1];ps(function Jh(e){return 1==(1&e)}(l)?jg(u,t,n,i,on(l),s):void 0)||(ps(o)||function Xh(e){return 2==(2&e)}(l)&&(o=jg(u,null,n,i,a,s)),function mb(e,t,n,r,i){const o=ue(e);if(t)i?o?e.addClass(n,r):n.classList.add(r):o?e.removeClass(n,r):n.classList.remove(r);else{let s=-1===r.indexOf("-")?void 0:tt.DashCase;if(null==i)o?e.removeStyle(n,r,s):n.style.removeProperty(r);else{const a="string"==typeof i&&i.endsWith("!important");a&&(i=i.slice(0,-10),s|=tt.Important),o?e.setStyle(n,r,i,s):n.style.setProperty(r,i,a?"important":"")}}}(r,s,xo(Le(),n),i,o))}(o,o.data[Le()],i,i[O],e,i[s+1]=function PM(e,t){return null==e||("string"==typeof t?e+=t:"object"==typeof e&&(e=Q(function wn(e){return e instanceof class ch{constructor(t){this.changingThisBreaksApplicationSecurity=t}toString(){return`SafeValue must use [property]=binding: ${this.changingThisBreaksApplicationSecurity} (see https://g.co/ng/security#xss)`}}?e.changingThisBreaksApplicationSecurity:e}(e)))),e}(t,n),r,s)}(e,t,null,!0),hs}function _l(e,t,n,r,i){let o=null;const s=n.directiveEnd;let a=n.directiveStylingLast;for(-1===a?a=n.directiveStart:a++;a<s&&(o=t[a],r=Vi(r,o.hostAttrs,i),o!==e);)a++;return null!==e&&(n.directiveStylingLast=a),r}function Vi(e,t,n){const r=n?1:2;let i=-1;if(null!==t)for(let o=0;o<t.length;o++){const s=t[o];"number"==typeof s?i=s:i===r&&(Array.isArray(e)||(e=void 0===e?[]:["",e]),et(e,s,!!n||t[++o]))}return void 0===e?null:e}function jg(e,t,n,r,i,o){const s=null===t;let a;for(;i>0;){const u=e[i],l=Array.isArray(u),c=l?u[1]:u,d=null===c;let f=n[i+1];f===R&&(f=d?X:void 0);let h=d?au(f,r):c===r?f:void 0;if(l&&!ps(h)&&(h=au(u,r)),ps(h)&&(a=h,s))return a;const p=e[i+1];i=s?At(p):on(p)}if(null!==t){let u=o?t.residualClasses:t.residualStyles;null!=u&&(a=au(u,r))}return a}function ps(e){return void 0!==e}function an(e,t=""){const n=y(),r=z(),i=e+20,o=r.firstCreatePass?wr(r,i,1,t,null):r.data[i],s=n[i]=function Su(e,t){return ue(e)?e.createText(t):e.createTextNode(t)}(n[O],t);es(r,n,s,o),Lt(o,!1)}function Cl(e){return wl("",e,""),Cl}function wl(e,t,n){const r=y(),i=function Tr(e,t,n,r){return Oe(e,lr(),n)?t+N(n)+r:R}(r,e,t,n);return i!==R&&sn(r,Le(),i),wl}const gs="en-US";let um=gs;function Ml(e,t,n,r,i){if(e=F(e),Array.isArray(e))for(let o=0;o<e.length;o++)Ml(e[o],t,n,r,i);else{const o=z(),s=y();let a=Ar(e)?e:F(e.provide),u=Rp(e);const l=De(),c=1048575&l.providerIndexes,d=l.directiveStart,f=l.providerIndexes>>20;if(Ar(e)||!e.multi){const h=new ui(u,i,v),p=Sl(a,t,i?c:c+f,d);-1===p?(Uo(ci(l,s),o,a),Al(o,e,t.length),t.push(a),l.directiveStart++,l.directiveEnd++,i&&(l.providerIndexes+=1048576),n.push(h),s.push(h)):(n[p]=h,s[p]=h)}else{const h=Sl(a,t,c+f,d),p=Sl(a,t,c,c+f),m=h>=0&&n[h],D=p>=0&&n[p];if(i&&!D||!i&&!m){Uo(ci(l,s),o,a);const _=function eS(e,t,n,r,i){const o=new ui(e,n,v);return o.multi=[],o.index=t,o.componentProviders=0,Rm(o,i,r&&!n),o}(i?JA:XA,n.length,i,r,u);!i&&D&&(n[p].providerFactory=_),Al(o,e,t.length,0),t.push(a),l.directiveStart++,l.directiveEnd++,i&&(l.providerIndexes+=1048576),n.push(_),s.push(_)}else Al(o,e,h>-1?h:p,Rm(n[i?p:h],u,!i&&r));!i&&r&&D&&n[p].componentProviders++}}}function Al(e,t,n,r){const i=Ar(t),o=function w0(e){return!!e.useClass}(t);if(i||o){const u=(o?F(t.useClass):t).prototype.ngOnDestroy;if(u){const l=e.destroyHooks||(e.destroyHooks=[]);if(!i&&t.multi){const c=l.indexOf(n);-1===c?l.push(n,[r,u]):l[c+1].push(r,u)}else l.push(n,u)}}}function Rm(e,t,n){return n&&e.componentProviders++,e.multi.push(t)-1}function Sl(e,t,n,r){for(let i=n;i<r;i++)if(t[i]===e)return i;return-1}function XA(e,t,n,r){return Il(this.multi,[])}function JA(e,t,n,r){const i=this.multi;let o;if(this.providerFactory){const s=this.providerFactory.componentProviders,a=di(n,n[1],this.providerFactory.index,r);o=a.slice(0,s),Il(i,o);for(let u=s;u<a.length;u++)o.push(a[u])}else o=[],Il(i,o);return o}function Il(e,t){for(let n=0;n<e.length;n++)t.push((0,e[n])());return t}function se(e,t=[]){return n=>{n.providersResolver=(r,i)=>function KA(e,t,n){const r=z();if(r.firstCreatePass){const i=bt(e);Ml(n,r.data,r.blueprint,i,!0),Ml(t,r.data,r.blueprint,i,!1)}}(r,i?i(e):e,t)}}class Fm{}class rS{resolveComponentFactory(t){throw function nS(e){const t=Error(`No component factory found for ${Q(e)}. Did you add it to @NgModule.entryComponents?`);return t.ngComponent=e,t}(t)}}let Hi=(()=>{class e{}return e.NULL=new rS,e})();function iS(){return Hr(De(),y())}function Hr(e,t){return new rt(ht(e,t))}let rt=(()=>{class e{constructor(n){this.nativeElement=n}}return e.__NG_ELEMENT_ID__=iS,e})();class Pm{}let un=(()=>{class e{}return e.__NG_ELEMENT_ID__=()=>function aS(){const e=y(),n=Je(De().index,e);return function sS(e){return e[O]}(kt(n)?n:e)}(),e})(),uS=(()=>{class e{}return e.\u0275prov=$({token:e,providedIn:"root",factory:()=>null}),e})();class Ui{constructor(t){this.full=t,this.major=t.split(".")[0],this.minor=t.split(".")[1],this.patch=t.split(".").slice(2).join(".")}}const lS=new Ui("13.2.7"),Tl={};function _s(e,t,n,r,i=!1){for(;null!==n;){const o=t[n.index];if(null!==o&&r.push(ge(o)),Et(o))for(let a=10;a<o.length;a++){const u=o[a],l=u[1].firstChild;null!==l&&_s(u[1],u,l,r)}const s=n.type;if(8&s)_s(e,t,n.child,r);else if(32&s){const a=bu(n,t);let u;for(;u=a();)r.push(u)}else if(16&s){const a=Hh(t,n);if(Array.isArray(a))r.push(...a);else{const u=Ai(t[16]);_s(u[1],u,a,r,!0)}}n=i?n.projectionNext:n.next}return r}class $i{constructor(t,n){this._lView=t,this._cdRefInjectingView=n,this._appRef=null,this._attachedToViewContainer=!1}get rootNodes(){const t=this._lView,n=t[1];return _s(n,t,n.firstChild,[])}get context(){return this._lView[8]}set context(t){this._lView[8]=t}get destroyed(){return 256==(256&this._lView[2])}destroy(){if(this._appRef)this._appRef.detachView(this);else if(this._attachedToViewContainer){const t=this._lView[3];if(Et(t)){const n=t[8],r=n?n.indexOf(this):-1;r>-1&&(Tu(t,r),Go(n,r))}this._attachedToViewContainer=!1}Rh(this._lView[1],this._lView)}onDestroy(t){!function hp(e,t,n,r){const i=Ep(t);null===n?i.push(r):(i.push(n),e.firstCreatePass&&bp(e).push(r,i.length-1))}(this._lView[1],this._lView,null,t)}markForCheck(){Xu(this._cdRefInjectingView||this._lView)}detach(){this._lView[2]&=-129}reattach(){this._lView[2]|=128}detectChanges(){el(this._lView[1],this._lView,this.context)}checkNoChanges(){!function d0(e,t,n){Ro(!0);try{el(e,t,n)}finally{Ro(!1)}}(this._lView[1],this._lView,this.context)}attachToViewContainerRef(){if(this._appRef)throw new q(902,"");this._attachedToViewContainer=!0}detachFromAppRef(){this._appRef=null,function sb(e,t){Si(e,t,t[O],2,null,null)}(this._lView[1],this._lView)}attachToAppRef(t){if(this._attachedToViewContainer)throw new q(902,"");this._appRef=t}}class cS extends $i{constructor(t){super(t),this._view=t}detectChanges(){wp(this._view)}checkNoChanges(){!function f0(e){Ro(!0);try{wp(e)}finally{Ro(!1)}}(this._view)}get context(){return null}}class Vm extends Hi{constructor(t){super(),this.ngModule=t}resolveComponentFactory(t){const n=xe(t);return new xl(n,this.ngModule)}}function km(e){const t=[];for(let n in e)e.hasOwnProperty(n)&&t.push({propName:e[n],templateName:n});return t}class xl extends Fm{constructor(t,n){super(),this.componentDef=t,this.ngModule=n,this.componentType=t.type,this.selector=function Ab(e){return e.map(Mb).join(",")}(t.selectors),this.ngContentSelectors=t.ngContentSelectors?t.ngContentSelectors:[],this.isBoundToModule=!!n}get inputs(){return km(this.componentDef.inputs)}get outputs(){return km(this.componentDef.outputs)}create(t,n,r,i){const o=(i=i||this.ngModule)?function fS(e,t){return{get:(n,r,i)=>{const o=e.get(n,Tl,i);return o!==Tl||r===Tl?o:t.get(n,r,i)}}}(t,i.injector):t,s=o.get(Pm,wf),a=o.get(uS,null),u=s.createRenderer(null,this.componentDef),l=this.componentDef.selectors[0][0]||"div",c=r?function fp(e,t,n){if(ue(e))return e.selectRootElement(t,n===Vt.ShadowDom);let r="string"==typeof t?e.querySelector(t):t;return r.textContent="",r}(u,r,this.componentDef.encapsulation):Iu(s.createRenderer(null,this.componentDef),l,function dS(e){const t=e.toLowerCase();return"svg"===t?"svg":"math"===t?"math":null}(l)),d=this.componentDef.onPush?576:528,f=function Gp(e,t){return{components:[],scheduler:e||XE,clean:h0,playerHandler:t||null,flags:0}}(),h=os(0,null,null,1,0,null,null,null,null,null),p=Ti(null,h,f,d,null,null,s,u,a,o);let m,D;Fo(p);try{const _=function Up(e,t,n,r,i,o){const s=n[1];n[20]=e;const u=wr(s,20,2,"#host",null),l=u.mergedAttrs=t.hostAttrs;null!==l&&(as(u,l,!0),null!==e&&(Lo(i,e,l),null!==u.classes&&Ou(i,e,u.classes),null!==u.styles&&Gh(i,e,u.styles)));const c=r.createRenderer(e,t),d=Ti(n,cp(t),null,t.onPush?64:16,n[20],u,r,c,o||null,null);return s.firstCreatePass&&(Uo(ci(u,n),s,t.type),vp(s,u),Dp(u,n.length,1)),ss(n,d),n[20]=d}(c,this.componentDef,p,s,u);if(c)if(r)Lo(u,c,["ng-version",lS.full]);else{const{attrs:g,classes:E}=function Sb(e){const t=[],n=[];let r=1,i=2;for(;r<e.length;){let o=e[r];if("string"==typeof o)2===i?""!==o&&t.push(o,e[++r]):8===i&&n.push(o);else{if(!Mt(i))break;i=o}r++}return{attrs:t,classes:n}}(this.componentDef.selectors[0]);g&&Lo(u,c,g),E&&E.length>0&&Ou(u,c,E.join(" "))}if(D=Ga(h,20),void 0!==n){const g=D.projection=[];for(let E=0;E<this.ngContentSelectors.length;E++){const k=n[E];g.push(null!=k?Array.from(k):null)}}m=function $p(e,t,n,r,i){const o=n[1],s=function Qb(e,t,n){const r=De();e.firstCreatePass&&(n.providersResolver&&n.providersResolver(n),_p(e,r,t,Er(e,t,1,null),n));const i=di(t,e,r.directiveStart,r);Fe(i,t);const o=ht(r,t);return o&&Fe(o,t),i}(o,n,t);if(r.components.push(s),e[8]=s,i&&i.forEach(u=>u(s,t)),t.contentQueries){const u=De();t.contentQueries(1,s,u.directiveStart)}const a=De();return!o.firstCreatePass||null===t.hostBindings&&null===t.hostAttrs||(Dn(a.index),mp(n[1],a,0,a.directiveStart,a.directiveEnd,t),yp(t,s)),s}(_,this.componentDef,p,f,[F0]),xi(h,p,null)}finally{Oo()}return new pS(this.componentType,m,Hr(D,p),p,D)}}class pS extends class tS{}{constructor(t,n,r,i,o){super(),this.location=r,this._rootLView=i,this._tNode=o,this.instance=n,this.hostView=this.changeDetectorRef=new cS(i),this.componentType=t}get injector(){return new fr(this._tNode,this._rootLView)}destroy(){this.hostView.destroy()}onDestroy(t){this.hostView.onDestroy(t)}}class ln{}class Lm{}const Ur=new Map;class Hm extends ln{constructor(t,n){super(),this._parent=n,this._bootstrapComponents=[],this.injector=this,this.destroyCbs=[],this.componentFactoryResolver=new Vm(this);const r=lt(t);this._bootstrapComponents=Ht(r.bootstrap),this._r3Injector=Np(t,n,[{provide:ln,useValue:this},{provide:Hi,useValue:this.componentFactoryResolver}],Q(t)),this._r3Injector._resolveInjectorDefTypes(),this.instance=this.get(t)}get(t,n=Be.THROW_IF_NOT_FOUND,r=x.Default){return t===Be||t===ln||t===nl?this:this._r3Injector.get(t,n,r)}destroy(){const t=this._r3Injector;!t.destroyed&&t.destroy(),this.destroyCbs.forEach(n=>n()),this.destroyCbs=null}onDestroy(t){this.destroyCbs.push(t)}}class Nl extends Lm{constructor(t){super(),this.moduleType=t,null!==lt(t)&&function mS(e){const t=new Set;!function n(r){const i=lt(r,!0),o=i.id;null!==o&&(function jm(e,t,n){if(t&&t!==n)throw new Error(`Duplicate module registered for ${e} - ${Q(t)} vs ${Q(t.name)}`)}(o,Ur.get(o),r),Ur.set(o,r));const s=Ht(i.imports);for(const a of s)t.has(a)||(t.add(a),n(a))}(e)}(t)}create(t){return new Hm(this.moduleType,t)}}function Rl(e){return t=>{setTimeout(e,void 0,t)}}const de=class OS extends Kt{constructor(t=!1){super(),this.__isAsync=t}emit(t){super.next(t)}subscribe(t,n,r){var i,o,s;let a=t,u=n||(()=>null),l=r;if(t&&"object"==typeof t){const d=t;a=null===(i=d.next)||void 0===i?void 0:i.bind(d),u=null===(o=d.error)||void 0===o?void 0:o.bind(d),l=null===(s=d.complete)||void 0===s?void 0:s.bind(d)}this.__isAsync&&(u=Rl(u),a&&(a=Rl(a)),l&&(l=Rl(l)));const c=super.subscribe({next:a,error:u,complete:l});return t instanceof at&&t.add(c),c}};Symbol;let cn=(()=>{class e{}return e.__NG_ELEMENT_ID__=LS,e})();const VS=cn,kS=class extends VS{constructor(t,n,r){super(),this._declarationLView=t,this._declarationTContainer=n,this.elementRef=r}createEmbeddedView(t){const n=this._declarationTContainer.tViews,r=Ti(this._declarationLView,n,t,16,null,n.declTNode,null,null,null,null);r[17]=this._declarationLView[this._declarationTContainer.index];const o=this._declarationLView[19];return null!==o&&(r[19]=o.createEmbeddedView(n)),xi(n,r,t),new $i(r)}};function LS(){return function Cs(e,t){return 4&e.type?new kS(t,e,Hr(e,t)):null}(De(),y())}let xt=(()=>{class e{}return e.__NG_ELEMENT_ID__=jS,e})();function jS(){return function Ym(e,t){let n;const r=t[e.index];if(Et(r))n=r;else{let i;if(8&e.type)i=ge(r);else{const o=t[O];i=o.createComment("");const s=ht(e,t);$n(o,Jo(o,s),i,function hb(e,t){return ue(e)?e.nextSibling(t):t.nextSibling}(o,s),!1)}t[e.index]=n=Cp(r,t,i,e),ss(t,n)}return new Wm(n,e,t)}(De(),y())}const BS=xt,Wm=class extends BS{constructor(t,n,r){super(),this._lContainer=t,this._hostTNode=n,this._hostLView=r}get element(){return Hr(this._hostTNode,this._hostLView)}get injector(){return new fr(this._hostTNode,this._hostLView)}get parentInjector(){const t=Ho(this._hostTNode,this._hostLView);if(jf(t)){const n=dr(t,this._hostLView),r=cr(t);return new fr(n[1].data[r+8],n)}return new fr(null,this._hostLView)}clear(){for(;this.length>0;)this.remove(this.length-1)}get(t){const n=Qm(this._lContainer);return null!==n&&n[t]||null}get length(){return this._lContainer.length-10}createEmbeddedView(t,n,r){const i=t.createEmbeddedView(n||{});return this.insert(i,r),i}createComponent(t,n,r,i,o){const s=t&&!function pi(e){return"function"==typeof e}(t);let a;if(s)a=n;else{const d=n||{};a=d.index,r=d.injector,i=d.projectableNodes,o=d.ngModuleRef}const u=s?t:new xl(xe(t)),l=r||this.parentInjector;if(!o&&null==u.ngModule){const f=(s?l:this.parentInjector).get(ln,null);f&&(o=f)}const c=u.create(l,i,void 0,o);return this.insert(c.hostView,a),c}insert(t,n){const r=t._lView,i=r[1];if(function rw(e){return Et(e[3])}(r)){const c=this.indexOf(t);if(-1!==c)this.detach(c);else{const d=r[3],f=new Wm(d,d[6],d[3]);f.detach(f.indexOf(t))}}const o=this._adjustIndex(n),s=this._lContainer;!function ub(e,t,n,r){const i=10+r,o=n.length;r>0&&(n[i-1][4]=t),r<o-10?(t[4]=n[i],Yf(n,10+r,t)):(n.push(t),t[4]=null),t[3]=n;const s=t[17];null!==s&&n!==s&&function lb(e,t){const n=e[9];t[16]!==t[3][3][16]&&(e[2]=!0),null===n?e[9]=[t]:n.push(t)}(s,t);const a=t[19];null!==a&&a.insertView(e),t[2]|=128}(i,r,s,o);const a=Ru(o,s),u=r[O],l=Jo(u,s[7]);return null!==l&&function ob(e,t,n,r,i,o){r[0]=i,r[6]=t,Si(e,r,n,1,i,o)}(i,s[6],u,r,l,a),t.attachToViewContainerRef(),Yf(Ol(s),o,t),t}move(t,n){return this.insert(t,n)}indexOf(t){const n=Qm(this._lContainer);return null!==n?n.indexOf(t):-1}remove(t){const n=this._adjustIndex(t,-1),r=Tu(this._lContainer,n);r&&(Go(Ol(this._lContainer),n),Rh(r[1],r))}detach(t){const n=this._adjustIndex(t,-1),r=Tu(this._lContainer,n);return r&&null!=Go(Ol(this._lContainer),n)?new $i(r):null}_adjustIndex(t,n=0){return null==t?this.length+n:t}};function Qm(e){return e[8]}function Ol(e){return e[8]||(e[8]=[])}function bs(...e){}const Ql=new H("Application Initializer");let Yl=(()=>{class e{constructor(n){this.appInits=n,this.resolve=bs,this.reject=bs,this.initialized=!1,this.done=!1,this.donePromise=new Promise((r,i)=>{this.resolve=r,this.reject=i})}runInitializers(){if(this.initialized)return;const n=[],r=()=>{this.done=!0,this.resolve()};if(this.appInits)for(let i=0;i<this.appInits.length;i++){const o=this.appInits[i]();if(Pi(o))n.push(o);else if(ml(o)){const s=new Promise((a,u)=>{o.subscribe({complete:a,error:u})});n.push(s)}}Promise.all(n).then(()=>{r()}).catch(i=>{this.reject(i)}),0===n.length&&r(),this.initialized=!0}}return e.\u0275fac=function(n){return new(n||e)(A(Ql,8))},e.\u0275prov=$({token:e,factory:e.\u0275fac,providedIn:"root"}),e})();const Wi=new H("AppId",{providedIn:"root",factory:function yy(){return`${Zl()}${Zl()}${Zl()}`}});function Zl(){return String.fromCharCode(97+Math.floor(25*Math.random()))}const vy=new H("Platform Initializer"),Kl=new H("Platform ID"),Dy=new H("appBootstrapListener");let _y=(()=>{class e{log(n){console.log(n)}warn(n){console.warn(n)}}return e.\u0275fac=function(n){return new(n||e)},e.\u0275prov=$({token:e,factory:e.\u0275fac}),e})();const An=new H("LocaleId",{providedIn:"root",factory:()=>Yw(An,x.Optional|x.SkipSelf)||function hI(){return"undefined"!=typeof $localize&&$localize.locale||gs}()});class gI{constructor(t,n){this.ngModuleFactory=t,this.componentFactories=n}}let Cy=(()=>{class e{compileModuleSync(n){return new Nl(n)}compileModuleAsync(n){return Promise.resolve(this.compileModuleSync(n))}compileModuleAndAllComponentsSync(n){const r=this.compileModuleSync(n),o=Ht(lt(n).declarations).reduce((s,a)=>{const u=xe(a);return u&&s.push(new xl(u)),s},[]);return new gI(r,o)}compileModuleAndAllComponentsAsync(n){return Promise.resolve(this.compileModuleAndAllComponentsSync(n))}clearCache(){}clearCacheFor(n){}getModuleId(n){}}return e.\u0275fac=function(n){return new(n||e)},e.\u0275prov=$({token:e,factory:e.\u0275fac,providedIn:"root"}),e})();const yI=(()=>Promise.resolve(0))();function Xl(e){"undefined"==typeof Zone?yI.then(()=>{e&&e.apply(null,null)}):Zone.current.scheduleMicroTask("scheduleMicrotask",e)}class Ie{constructor({enableLongStackTrace:t=!1,shouldCoalesceEventChangeDetection:n=!1,shouldCoalesceRunChangeDetection:r=!1}){if(this.hasPendingMacrotasks=!1,this.hasPendingMicrotasks=!1,this.isStable=!0,this.onUnstable=new de(!1),this.onMicrotaskEmpty=new de(!1),this.onStable=new de(!1),this.onError=new de(!1),"undefined"==typeof Zone)throw new Error("In this configuration Angular requires Zone.js");Zone.assertZonePatched();const i=this;i._nesting=0,i._outer=i._inner=Zone.current,Zone.TaskTrackingZoneSpec&&(i._inner=i._inner.fork(new Zone.TaskTrackingZoneSpec)),t&&Zone.longStackTraceZoneSpec&&(i._inner=i._inner.fork(Zone.longStackTraceZoneSpec)),i.shouldCoalesceEventChangeDetection=!r&&n,i.shouldCoalesceRunChangeDetection=r,i.lastRequestAnimationFrameId=-1,i.nativeRequestAnimationFrame=function vI(){let e=Z.requestAnimationFrame,t=Z.cancelAnimationFrame;if("undefined"!=typeof Zone&&e&&t){const n=e[Zone.__symbol__("OriginalDelegate")];n&&(e=n);const r=t[Zone.__symbol__("OriginalDelegate")];r&&(t=r)}return{nativeRequestAnimationFrame:e,nativeCancelAnimationFrame:t}}().nativeRequestAnimationFrame,function CI(e){const t=()=>{!function _I(e){e.isCheckStableRunning||-1!==e.lastRequestAnimationFrameId||(e.lastRequestAnimationFrameId=e.nativeRequestAnimationFrame.call(Z,()=>{e.fakeTopEventTask||(e.fakeTopEventTask=Zone.root.scheduleEventTask("fakeTopEventTask",()=>{e.lastRequestAnimationFrameId=-1,ec(e),e.isCheckStableRunning=!0,Jl(e),e.isCheckStableRunning=!1},void 0,()=>{},()=>{})),e.fakeTopEventTask.invoke()}),ec(e))}(e)};e._inner=e._inner.fork({name:"angular",properties:{isAngularZone:!0},onInvokeTask:(n,r,i,o,s,a)=>{try{return wy(e),n.invokeTask(i,o,s,a)}finally{(e.shouldCoalesceEventChangeDetection&&"eventTask"===o.type||e.shouldCoalesceRunChangeDetection)&&t(),Ey(e)}},onInvoke:(n,r,i,o,s,a,u)=>{try{return wy(e),n.invoke(i,o,s,a,u)}finally{e.shouldCoalesceRunChangeDetection&&t(),Ey(e)}},onHasTask:(n,r,i,o)=>{n.hasTask(i,o),r===i&&("microTask"==o.change?(e._hasPendingMicrotasks=o.microTask,ec(e),Jl(e)):"macroTask"==o.change&&(e.hasPendingMacrotasks=o.macroTask))},onHandleError:(n,r,i,o)=>(n.handleError(i,o),e.runOutsideAngular(()=>e.onError.emit(o)),!1)})}(i)}static isInAngularZone(){return"undefined"!=typeof Zone&&!0===Zone.current.get("isAngularZone")}static assertInAngularZone(){if(!Ie.isInAngularZone())throw new Error("Expected to be in Angular Zone, but it is not!")}static assertNotInAngularZone(){if(Ie.isInAngularZone())throw new Error("Expected to not be in Angular Zone, but it is!")}run(t,n,r){return this._inner.run(t,n,r)}runTask(t,n,r,i){const o=this._inner,s=o.scheduleEventTask("NgZoneEvent: "+i,t,DI,bs,bs);try{return o.runTask(s,n,r)}finally{o.cancelTask(s)}}runGuarded(t,n,r){return this._inner.runGuarded(t,n,r)}runOutsideAngular(t){return this._outer.run(t)}}const DI={};function Jl(e){if(0==e._nesting&&!e.hasPendingMicrotasks&&!e.isStable)try{e._nesting++,e.onMicrotaskEmpty.emit(null)}finally{if(e._nesting--,!e.hasPendingMicrotasks)try{e.runOutsideAngular(()=>e.onStable.emit(null))}finally{e.isStable=!0}}}function ec(e){e.hasPendingMicrotasks=!!(e._hasPendingMicrotasks||(e.shouldCoalesceEventChangeDetection||e.shouldCoalesceRunChangeDetection)&&-1!==e.lastRequestAnimationFrameId)}function wy(e){e._nesting++,e.isStable&&(e.isStable=!1,e.onUnstable.emit(null))}function Ey(e){e._nesting--,Jl(e)}class wI{constructor(){this.hasPendingMicrotasks=!1,this.hasPendingMacrotasks=!1,this.isStable=!0,this.onUnstable=new de,this.onMicrotaskEmpty=new de,this.onStable=new de,this.onError=new de}run(t,n,r){return t.apply(n,r)}runGuarded(t,n,r){return t.apply(n,r)}runOutsideAngular(t){return t()}runTask(t,n,r,i){return t.apply(n,r)}}let tc=(()=>{class e{constructor(n){this._ngZone=n,this._pendingCount=0,this._isZoneStable=!0,this._didWork=!1,this._callbacks=[],this.taskTrackingZone=null,this._watchAngularEvents(),n.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:()=>{Ie.assertNotInAngularZone(),Xl(()=>{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())Xl(()=>{for(;0!==this._callbacks.length;){let n=this._callbacks.pop();clearTimeout(n.timeoutId),n.doneCb(this._didWork)}this._didWork=!1});else{let n=this.getPendingTasks();this._callbacks=this._callbacks.filter(r=>!r.updateCb||!r.updateCb(n)||(clearTimeout(r.timeoutId),!1)),this._didWork=!0}}getPendingTasks(){return this.taskTrackingZone?this.taskTrackingZone.macroTasks.map(n=>({source:n.source,creationLocation:n.creationLocation,data:n.data})):[]}addCallback(n,r,i){let o=-1;r&&r>0&&(o=setTimeout(()=>{this._callbacks=this._callbacks.filter(s=>s.timeoutId!==o),n(this._didWork,this.getPendingTasks())},r)),this._callbacks.push({doneCb:n,timeoutId:o,updateCb:i})}whenStable(n,r,i){if(i&&!this.taskTrackingZone)throw new Error('Task tracking zone is required when passing an update callback to whenStable(). Is "zone.js/plugins/task-tracking" loaded?');this.addCallback(n,r,i),this._runCallbacksIfReady()}getPendingRequestCount(){return this._pendingCount}findProviders(n,r,i){return[]}}return e.\u0275fac=function(n){return new(n||e)(A(Ie))},e.\u0275prov=$({token:e,factory:e.\u0275fac}),e})(),by=(()=>{class e{constructor(){this._applications=new Map,nc.addToWindow(this)}registerApplication(n,r){this._applications.set(n,r)}unregisterApplication(n){this._applications.delete(n)}unregisterAllApplications(){this._applications.clear()}getTestability(n){return this._applications.get(n)||null}getAllTestabilities(){return Array.from(this._applications.values())}getAllRootElements(){return Array.from(this._applications.keys())}findTestabilityInTree(n,r=!0){return nc.findTestabilityInTree(this,n,r)}}return e.\u0275fac=function(n){return new(n||e)},e.\u0275prov=$({token:e,factory:e.\u0275fac}),e})();class EI{addToWindow(t){}findTestabilityInTree(t,n,r){return null}}let Nt,nc=new EI;const My=new H("AllowMultipleToken");class Ay{constructor(t,n){this.name=t,this.token=n}}function Sy(e,t,n=[]){const r=`Platform: ${t}`,i=new H(r);return(o=[])=>{let s=Iy();if(!s||s.injector.get(My,!1))if(e)e(n.concat(o).concat({provide:i,useValue:!0}));else{const a=n.concat(o).concat({provide:i,useValue:!0},{provide:rl,useValue:"platform"});!function SI(e){if(Nt&&!Nt.destroyed&&!Nt.injector.get(My,!1))throw new q(400,"");Nt=e.get(Ty);const t=e.get(vy,null);t&&t.forEach(n=>n())}(Be.create({providers:a,name:r}))}return function II(e){const t=Iy();if(!t)throw new q(401,"");return t}()}}function Iy(){return Nt&&!Nt.destroyed?Nt:null}let Ty=(()=>{class e{constructor(n){this._injector=n,this._modules=[],this._destroyListeners=[],this._destroyed=!1}bootstrapModuleFactory(n,r){const a=function TI(e,t){let n;return n="noop"===e?new wI:("zone.js"===e?void 0:e)||new Ie({enableLongStackTrace:!1,shouldCoalesceEventChangeDetection:!!(null==t?void 0:t.ngZoneEventCoalescing),shouldCoalesceRunChangeDetection:!!(null==t?void 0:t.ngZoneRunCoalescing)}),n}(r?r.ngZone:void 0,{ngZoneEventCoalescing:r&&r.ngZoneEventCoalescing||!1,ngZoneRunCoalescing:r&&r.ngZoneRunCoalescing||!1}),u=[{provide:Ie,useValue:a}];return a.run(()=>{const l=Be.create({providers:u,parent:this.injector,name:n.moduleType.name}),c=n.create(l),d=c.injector.get(Mi,null);if(!d)throw new q(402,"");return a.runOutsideAngular(()=>{const f=a.onError.subscribe({next:h=>{d.handleError(h)}});c.onDestroy(()=>{ic(this._modules,c),f.unsubscribe()})}),function xI(e,t,n){try{const r=n();return Pi(r)?r.catch(i=>{throw t.runOutsideAngular(()=>e.handleError(i)),i}):r}catch(r){throw t.runOutsideAngular(()=>e.handleError(r)),r}}(d,a,()=>{const f=c.injector.get(Yl);return f.runInitializers(),f.donePromise.then(()=>(function sA(e){Ke(e,"Expected localeId to be defined"),"string"==typeof e&&(um=e.toLowerCase().replace(/_/g,"-"))}(c.injector.get(An,gs)||gs),this._moduleDoBootstrap(c),c))})})}bootstrapModule(n,r=[]){const i=xy({},r);return function MI(e,t,n){const r=new Nl(n);return Promise.resolve(r)}(0,0,n).then(o=>this.bootstrapModuleFactory(o,i))}_moduleDoBootstrap(n){const r=n.injector.get(rc);if(n._bootstrapComponents.length>0)n._bootstrapComponents.forEach(i=>r.bootstrap(i));else{if(!n.instance.ngDoBootstrap)throw new q(403,"");n.instance.ngDoBootstrap(r)}this._modules.push(n)}onDestroy(n){this._destroyListeners.push(n)}get injector(){return this._injector}destroy(){if(this._destroyed)throw new q(404,"");this._modules.slice().forEach(n=>n.destroy()),this._destroyListeners.forEach(n=>n()),this._destroyed=!0}get destroyed(){return this._destroyed}}return e.\u0275fac=function(n){return new(n||e)(A(Be))},e.\u0275prov=$({token:e,factory:e.\u0275fac}),e})();function xy(e,t){return Array.isArray(t)?t.reduce(xy,e):Object.assign(Object.assign({},e),t)}let rc=(()=>{class e{constructor(n,r,i,o,s){this._zone=n,this._injector=r,this._exceptionHandler=i,this._componentFactoryResolver=o,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 a=new pe(l=>{this._stable=this._zone.isStable&&!this._zone.hasPendingMacrotasks&&!this._zone.hasPendingMicrotasks,this._zone.runOutsideAngular(()=>{l.next(this._stable),l.complete()})}),u=new pe(l=>{let c;this._zone.runOutsideAngular(()=>{c=this._zone.onStable.subscribe(()=>{Ie.assertNotInAngularZone(),Xl(()=>{!this._stable&&!this._zone.hasPendingMacrotasks&&!this._zone.hasPendingMicrotasks&&(this._stable=!0,l.next(!0))})})});const d=this._zone.onUnstable.subscribe(()=>{Ie.assertInAngularZone(),this._stable&&(this._stable=!1,this._zone.runOutsideAngular(()=>{l.next(!1)}))});return()=>{c.unsubscribe(),d.unsubscribe()}});this.isStable=function wC(...e){const t=ti(e),n=function gC(e,t){return"number"==typeof Ma(e)?e.pop():t}(e,1/0),r=e;return r.length?1===r.length?Pt(r[0]):ei(n)(Me(r,t)):Jt}(a,u.pipe(function EC(e={}){const{connector:t=(()=>new Kt),resetOnError:n=!0,resetOnComplete:r=!0,resetOnRefCountZero:i=!0}=e;return o=>{let s=null,a=null,u=null,l=0,c=!1,d=!1;const f=()=>{null==a||a.unsubscribe(),a=null},h=()=>{f(),s=u=null,c=d=!1},p=()=>{const m=s;h(),null==m||m.unsubscribe()};return Se((m,D)=>{l++,!d&&!c&&f();const _=u=null!=u?u:t();D.add(()=>{l--,0===l&&!d&&!c&&(a=Aa(p,i))}),_.subscribe(D),s||(s=new Do({next:g=>_.next(g),error:g=>{d=!0,f(),a=Aa(h,n,g),_.error(g)},complete:()=>{c=!0,f(),a=Aa(h,r),_.complete()}}),Me(m).subscribe(s))})(o)}}()))}bootstrap(n,r){if(!this._initStatus.done)throw new q(405,"");let i;i=n instanceof Fm?n:this._componentFactoryResolver.resolveComponentFactory(n),this.componentTypes.push(i.componentType);const o=function AI(e){return e.isBoundToModule}(i)?void 0:this._injector.get(ln),a=i.create(Be.NULL,[],r||i.selector,o),u=a.location.nativeElement,l=a.injector.get(tc,null),c=l&&a.injector.get(by);return l&&c&&c.registerApplication(u,l),a.onDestroy(()=>{this.detachView(a.hostView),ic(this.components,a),c&&c.unregisterApplication(u)}),this._loadComponent(a),a}tick(){if(this._runningTick)throw new q(101,"");try{this._runningTick=!0;for(let n of this._views)n.detectChanges()}catch(n){this._zone.runOutsideAngular(()=>this._exceptionHandler.handleError(n))}finally{this._runningTick=!1}}attachView(n){const r=n;this._views.push(r),r.attachToAppRef(this)}detachView(n){const r=n;ic(this._views,r),r.detachFromAppRef()}_loadComponent(n){this.attachView(n.hostView),this.tick(),this.components.push(n),this._injector.get(Dy,[]).concat(this._bootstrapListeners).forEach(i=>i(n))}ngOnDestroy(){this._views.slice().forEach(n=>n.destroy()),this._onMicrotaskEmptySubscription.unsubscribe()}get viewCount(){return this._views.length}}return e.\u0275fac=function(n){return new(n||e)(A(Ie),A(Be),A(Mi),A(Hi),A(Yl))},e.\u0275prov=$({token:e,factory:e.\u0275fac,providedIn:"root"}),e})();function ic(e,t){const n=e.indexOf(t);n>-1&&e.splice(n,1)}let Ry=!0,Ms=(()=>{class e{}return e.__NG_ELEMENT_ID__=FI,e})();function FI(e){return function OI(e,t,n){if(Io(e)&&!n){const r=Je(e.index,t);return new $i(r,r)}return 47&e.type?new $i(t[16],t):null}(De(),y(),16==(16&e))}const WI=Sy(null,"core",[{provide:Kl,useValue:"unknown"},{provide:Ty,deps:[Be]},{provide:by,deps:[]},{provide:_y,deps:[]}]);let QI=(()=>{class e{constructor(n){}}return e.\u0275fac=function(n){return new(n||e)(A(rc))},e.\u0275mod=Ct({type:e}),e.\u0275inj=ut({}),e})(),Ts=null;function Wt(){return Ts}const mt=new H("DocumentToken");let Wn=(()=>{class e{historyGo(n){throw new Error("Not implemented")}}return e.\u0275fac=function(n){return new(n||e)},e.\u0275prov=$({token:e,factory:function(){return function XI(){return A($y)}()},providedIn:"platform"}),e})();const JI=new H("Location Initialized");let $y=(()=>{class e extends Wn{constructor(n){super(),this._doc=n,this._init()}_init(){this.location=window.location,this._history=window.history}getBaseHrefFromDOM(){return Wt().getBaseHref(this._doc)}onPopState(n){const r=Wt().getGlobalEventTarget(this._doc,"window");return r.addEventListener("popstate",n,!1),()=>r.removeEventListener("popstate",n)}onHashChange(n){const r=Wt().getGlobalEventTarget(this._doc,"window");return r.addEventListener("hashchange",n,!1),()=>r.removeEventListener("hashchange",n)}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(n){this.location.pathname=n}pushState(n,r,i){Gy()?this._history.pushState(n,r,i):this.location.hash=i}replaceState(n,r,i){Gy()?this._history.replaceState(n,r,i):this.location.hash=i}forward(){this._history.forward()}back(){this._history.back()}historyGo(n=0){this._history.go(n)}getState(){return this._history.state}}return e.\u0275fac=function(n){return new(n||e)(A(mt))},e.\u0275prov=$({token:e,factory:function(){return function eT(){return new $y(A(mt))}()},providedIn:"platform"}),e})();function Gy(){return!!window.history.pushState}function lc(e,t){if(0==e.length)return t;if(0==t.length)return e;let n=0;return e.endsWith("/")&&n++,t.startsWith("/")&&n++,2==n?e+t.substring(1):1==n?e+t:e+"/"+t}function qy(e){const t=e.match(/#|\?|$/),n=t&&t.index||e.length;return e.slice(0,n-("/"===e[n-1]?1:0))+e.slice(n)}function dn(e){return e&&"?"!==e[0]?"?"+e:e}let Gr=(()=>{class e{historyGo(n){throw new Error("Not implemented")}}return e.\u0275fac=function(n){return new(n||e)},e.\u0275prov=$({token:e,factory:function(){return function tT(e){const t=A(mt).location;return new zy(A(Wn),t&&t.origin||"")}()},providedIn:"root"}),e})();const cc=new H("appBaseHref");let zy=(()=>{class e extends Gr{constructor(n,r){if(super(),this._platformLocation=n,this._removeListenerFns=[],null==r&&(r=this._platformLocation.getBaseHrefFromDOM()),null==r)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=r}ngOnDestroy(){for(;this._removeListenerFns.length;)this._removeListenerFns.pop()()}onPopState(n){this._removeListenerFns.push(this._platformLocation.onPopState(n),this._platformLocation.onHashChange(n))}getBaseHref(){return this._baseHref}prepareExternalUrl(n){return lc(this._baseHref,n)}path(n=!1){const r=this._platformLocation.pathname+dn(this._platformLocation.search),i=this._platformLocation.hash;return i&&n?`${r}${i}`:r}pushState(n,r,i,o){const s=this.prepareExternalUrl(i+dn(o));this._platformLocation.pushState(n,r,s)}replaceState(n,r,i,o){const s=this.prepareExternalUrl(i+dn(o));this._platformLocation.replaceState(n,r,s)}forward(){this._platformLocation.forward()}back(){this._platformLocation.back()}historyGo(n=0){var r,i;null===(i=(r=this._platformLocation).historyGo)||void 0===i||i.call(r,n)}}return e.\u0275fac=function(n){return new(n||e)(A(Wn),A(cc,8))},e.\u0275prov=$({token:e,factory:e.\u0275fac}),e})(),nT=(()=>{class e extends Gr{constructor(n,r){super(),this._platformLocation=n,this._baseHref="",this._removeListenerFns=[],null!=r&&(this._baseHref=r)}ngOnDestroy(){for(;this._removeListenerFns.length;)this._removeListenerFns.pop()()}onPopState(n){this._removeListenerFns.push(this._platformLocation.onPopState(n),this._platformLocation.onHashChange(n))}getBaseHref(){return this._baseHref}path(n=!1){let r=this._platformLocation.hash;return null==r&&(r="#"),r.length>0?r.substring(1):r}prepareExternalUrl(n){const r=lc(this._baseHref,n);return r.length>0?"#"+r:r}pushState(n,r,i,o){let s=this.prepareExternalUrl(i+dn(o));0==s.length&&(s=this._platformLocation.pathname),this._platformLocation.pushState(n,r,s)}replaceState(n,r,i,o){let s=this.prepareExternalUrl(i+dn(o));0==s.length&&(s=this._platformLocation.pathname),this._platformLocation.replaceState(n,r,s)}forward(){this._platformLocation.forward()}back(){this._platformLocation.back()}historyGo(n=0){var r,i;null===(i=(r=this._platformLocation).historyGo)||void 0===i||i.call(r,n)}}return e.\u0275fac=function(n){return new(n||e)(A(Wn),A(cc,8))},e.\u0275prov=$({token:e,factory:e.\u0275fac}),e})(),dc=(()=>{class e{constructor(n,r){this._subject=new de,this._urlChangeListeners=[],this._platformStrategy=n;const i=this._platformStrategy.getBaseHref();this._platformLocation=r,this._baseHref=qy(Wy(i)),this._platformStrategy.onPopState(o=>{this._subject.emit({url:this.path(!0),pop:!0,state:o.state,type:o.type})})}path(n=!1){return this.normalize(this._platformStrategy.path(n))}getState(){return this._platformLocation.getState()}isCurrentPathEqualTo(n,r=""){return this.path()==this.normalize(n+dn(r))}normalize(n){return e.stripTrailingSlash(function iT(e,t){return e&&t.startsWith(e)?t.substring(e.length):t}(this._baseHref,Wy(n)))}prepareExternalUrl(n){return n&&"/"!==n[0]&&(n="/"+n),this._platformStrategy.prepareExternalUrl(n)}go(n,r="",i=null){this._platformStrategy.pushState(i,"",n,r),this._notifyUrlChangeListeners(this.prepareExternalUrl(n+dn(r)),i)}replaceState(n,r="",i=null){this._platformStrategy.replaceState(i,"",n,r),this._notifyUrlChangeListeners(this.prepareExternalUrl(n+dn(r)),i)}forward(){this._platformStrategy.forward()}back(){this._platformStrategy.back()}historyGo(n=0){var r,i;null===(i=(r=this._platformStrategy).historyGo)||void 0===i||i.call(r,n)}onUrlChange(n){this._urlChangeListeners.push(n),this._urlChangeSubscription||(this._urlChangeSubscription=this.subscribe(r=>{this._notifyUrlChangeListeners(r.url,r.state)}))}_notifyUrlChangeListeners(n="",r){this._urlChangeListeners.forEach(i=>i(n,r))}subscribe(n,r,i){return this._subject.subscribe({next:n,error:r,complete:i})}}return e.normalizeQueryParams=dn,e.joinWithSlash=lc,e.stripTrailingSlash=qy,e.\u0275fac=function(n){return new(n||e)(A(Gr),A(Wn))},e.\u0275prov=$({token:e,factory:function(){return function rT(){return new dc(A(Gr),A(Wn))}()},providedIn:"root"}),e})();function Wy(e){return e.replace(/\/index.html$/,"")}let rv=(()=>{class e{constructor(n,r){this._viewContainer=n,this._context=new zT,this._thenTemplateRef=null,this._elseTemplateRef=null,this._thenViewRef=null,this._elseViewRef=null,this._thenTemplateRef=r}set ngIf(n){this._context.$implicit=this._context.ngIf=n,this._updateView()}set ngIfThen(n){iv("ngIfThen",n),this._thenTemplateRef=n,this._thenViewRef=null,this._updateView()}set ngIfElse(n){iv("ngIfElse",n),this._elseTemplateRef=n,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(n,r){return!0}}return e.\u0275fac=function(n){return new(n||e)(v(xt),v(cn))},e.\u0275dir=I({type:e,selectors:[["","ngIf",""]],inputs:{ngIf:"ngIf",ngIfThen:"ngIfThen",ngIfElse:"ngIfElse"}}),e})();class zT{constructor(){this.$implicit=null,this.ngIf=null}}function iv(e,t){if(t&&!t.createEmbeddedView)throw new Error(`${e} must be a TemplateRef, but received '${Q(t)}'.`)}let Dx=(()=>{class e{}return e.\u0275fac=function(n){return new(n||e)},e.\u0275mod=Ct({type:e}),e.\u0275inj=ut({}),e})();let Ex=(()=>{class e{}return e.\u0275prov=$({token:e,providedIn:"root",factory:()=>new bx(A(mt),window)}),e})();class bx{constructor(t,n){this.document=t,this.window=n,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 n=function Mx(e,t){const n=e.getElementById(t)||e.getElementsByName(t)[0];if(n)return n;if("function"==typeof e.createTreeWalker&&e.body&&(e.body.createShadowRoot||e.body.attachShadow)){const r=e.createTreeWalker(e.body,NodeFilter.SHOW_ELEMENT);let i=r.currentNode;for(;i;){const o=i.shadowRoot;if(o){const s=o.getElementById(t)||o.querySelector(`[name="${t}"]`);if(s)return s}i=r.nextNode()}}return null}(this.document,t);n&&(this.scrollToElement(n),n.focus())}setHistoryScrollRestoration(t){if(this.supportScrollRestoration()){const n=this.window.history;n&&n.scrollRestoration&&(n.scrollRestoration=t)}}scrollToElement(t){const n=t.getBoundingClientRect(),r=n.left+this.window.pageXOffset,i=n.top+this.window.pageYOffset,o=this.offset();this.window.scrollTo(r-o[0],i-o[1])}supportScrollRestoration(){try{if(!this.supportsScrolling())return!1;const t=uv(this.window.history)||uv(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 uv(e){return Object.getOwnPropertyDescriptor(e,"scrollRestoration")}class Mc extends class Sx extends class KI{}{constructor(){super(...arguments),this.supportsDOMEvents=!0}}{static makeCurrent(){!function ZI(e){Ts||(Ts=e)}(new Mc)}onAndCancel(t,n,r){return t.addEventListener(n,r,!1),()=>{t.removeEventListener(n,r,!1)}}dispatchEvent(t,n){t.dispatchEvent(n)}remove(t){t.parentNode&&t.parentNode.removeChild(t)}createElement(t,n){return(n=n||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,n){return"window"===n?window:"document"===n?t:"body"===n?t.body:null}getBaseHref(t){const n=function Ix(){return Ki=Ki||document.querySelector("base"),Ki?Ki.getAttribute("href"):null}();return null==n?null:function Tx(e){js=js||document.createElement("a"),js.setAttribute("href",e);const t=js.pathname;return"/"===t.charAt(0)?t:`/${t}`}(n)}resetBaseElement(){Ki=null}getUserAgent(){return window.navigator.userAgent}getCookie(t){return function HT(e,t){t=encodeURIComponent(t);for(const n of e.split(";")){const r=n.indexOf("="),[i,o]=-1==r?[n,""]:[n.slice(0,r),n.slice(r+1)];if(i.trim()===t)return decodeURIComponent(o)}return null}(document.cookie,t)}}let js,Ki=null;const lv=new H("TRANSITION_ID"),Nx=[{provide:Ql,useFactory:function xx(e,t,n){return()=>{n.get(Yl).donePromise.then(()=>{const r=Wt(),i=t.querySelectorAll(`style[ng-transition="${e}"]`);for(let o=0;o<i.length;o++)r.remove(i[o])})}},deps:[lv,mt,Be],multi:!0}];class Ac{static init(){!function bI(e){nc=e}(new Ac)}addToWindow(t){Z.getAngularTestability=(r,i=!0)=>{const o=t.findTestabilityInTree(r,i);if(null==o)throw new Error("Could not find testability for element.");return o},Z.getAllAngularTestabilities=()=>t.getAllTestabilities(),Z.getAllAngularRootElements=()=>t.getAllRootElements(),Z.frameworkStabilizers||(Z.frameworkStabilizers=[]),Z.frameworkStabilizers.push(r=>{const i=Z.getAllAngularTestabilities();let o=i.length,s=!1;const a=function(u){s=s||u,o--,0==o&&r(s)};i.forEach(function(u){u.whenStable(a)})})}findTestabilityInTree(t,n,r){if(null==n)return null;const i=t.getTestability(n);return null!=i?i:r?Wt().isShadowRoot(n)?this.findTestabilityInTree(t,n.host,!0):this.findTestabilityInTree(t,n.parentElement,!0):null}}let Rx=(()=>{class e{build(){return new XMLHttpRequest}}return e.\u0275fac=function(n){return new(n||e)},e.\u0275prov=$({token:e,factory:e.\u0275fac}),e})();const Bs=new H("EventManagerPlugins");let Hs=(()=>{class e{constructor(n,r){this._zone=r,this._eventNameToPlugin=new Map,n.forEach(i=>i.manager=this),this._plugins=n.slice().reverse()}addEventListener(n,r,i){return this._findPluginFor(r).addEventListener(n,r,i)}addGlobalEventListener(n,r,i){return this._findPluginFor(r).addGlobalEventListener(n,r,i)}getZone(){return this._zone}_findPluginFor(n){const r=this._eventNameToPlugin.get(n);if(r)return r;const i=this._plugins;for(let o=0;o<i.length;o++){const s=i[o];if(s.supports(n))return this._eventNameToPlugin.set(n,s),s}throw new Error(`No event manager plugin found for event ${n}`)}}return e.\u0275fac=function(n){return new(n||e)(A(Bs),A(Ie))},e.\u0275prov=$({token:e,factory:e.\u0275fac}),e})();class cv{constructor(t){this._doc=t}addGlobalEventListener(t,n,r){const i=Wt().getGlobalEventTarget(this._doc,t);if(!i)throw new Error(`Unsupported event target ${i} for event ${n}`);return this.addEventListener(i,n,r)}}let dv=(()=>{class e{constructor(){this._stylesSet=new Set}addStyles(n){const r=new Set;n.forEach(i=>{this._stylesSet.has(i)||(this._stylesSet.add(i),r.add(i))}),this.onStylesAdded(r)}onStylesAdded(n){}getAllStyles(){return Array.from(this._stylesSet)}}return e.\u0275fac=function(n){return new(n||e)},e.\u0275prov=$({token:e,factory:e.\u0275fac}),e})(),Xi=(()=>{class e extends dv{constructor(n){super(),this._doc=n,this._hostNodes=new Map,this._hostNodes.set(n.head,[])}_addStylesToHost(n,r,i){n.forEach(o=>{const s=this._doc.createElement("style");s.textContent=o,i.push(r.appendChild(s))})}addHost(n){const r=[];this._addStylesToHost(this._stylesSet,n,r),this._hostNodes.set(n,r)}removeHost(n){const r=this._hostNodes.get(n);r&&r.forEach(fv),this._hostNodes.delete(n)}onStylesAdded(n){this._hostNodes.forEach((r,i)=>{this._addStylesToHost(n,i,r)})}ngOnDestroy(){this._hostNodes.forEach(n=>n.forEach(fv))}}return e.\u0275fac=function(n){return new(n||e)(A(mt))},e.\u0275prov=$({token:e,factory:e.\u0275fac}),e})();function fv(e){Wt().remove(e)}const Sc={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/",math:"http://www.w3.org/1998/MathML/"},Ic=/%COMP%/g;function Us(e,t,n){for(let r=0;r<t.length;r++){let i=t[r];Array.isArray(i)?Us(e,i,n):(i=i.replace(Ic,e),n.push(i))}return n}function gv(e){return t=>{if("__ngUnwrap__"===t)return e;!1===e(t)&&(t.preventDefault(),t.returnValue=!1)}}let Tc=(()=>{class e{constructor(n,r,i){this.eventManager=n,this.sharedStylesHost=r,this.appId=i,this.rendererByCompId=new Map,this.defaultRenderer=new xc(n)}createRenderer(n,r){if(!n||!r)return this.defaultRenderer;switch(r.encapsulation){case Vt.Emulated:{let i=this.rendererByCompId.get(r.id);return i||(i=new Lx(this.eventManager,this.sharedStylesHost,r,this.appId),this.rendererByCompId.set(r.id,i)),i.applyToHost(n),i}case 1:case Vt.ShadowDom:return new jx(this.eventManager,this.sharedStylesHost,n,r);default:if(!this.rendererByCompId.has(r.id)){const i=Us(r.id,r.styles,[]);this.sharedStylesHost.addStyles(i),this.rendererByCompId.set(r.id,this.defaultRenderer)}return this.defaultRenderer}}begin(){}end(){}}return e.\u0275fac=function(n){return new(n||e)(A(Hs),A(Xi),A(Wi))},e.\u0275prov=$({token:e,factory:e.\u0275fac}),e})();class xc{constructor(t){this.eventManager=t,this.data=Object.create(null),this.destroyNode=null}destroy(){}createElement(t,n){return n?document.createElementNS(Sc[n]||n,t):document.createElement(t)}createComment(t){return document.createComment(t)}createText(t){return document.createTextNode(t)}appendChild(t,n){t.appendChild(n)}insertBefore(t,n,r){t&&t.insertBefore(n,r)}removeChild(t,n){t&&t.removeChild(n)}selectRootElement(t,n){let r="string"==typeof t?document.querySelector(t):t;if(!r)throw new Error(`The selector "${t}" did not match any elements`);return n||(r.textContent=""),r}parentNode(t){return t.parentNode}nextSibling(t){return t.nextSibling}setAttribute(t,n,r,i){if(i){n=i+":"+n;const o=Sc[i];o?t.setAttributeNS(o,n,r):t.setAttribute(n,r)}else t.setAttribute(n,r)}removeAttribute(t,n,r){if(r){const i=Sc[r];i?t.removeAttributeNS(i,n):t.removeAttribute(`${r}:${n}`)}else t.removeAttribute(n)}addClass(t,n){t.classList.add(n)}removeClass(t,n){t.classList.remove(n)}setStyle(t,n,r,i){i&(tt.DashCase|tt.Important)?t.style.setProperty(n,r,i&tt.Important?"important":""):t.style[n]=r}removeStyle(t,n,r){r&tt.DashCase?t.style.removeProperty(n):t.style[n]=""}setProperty(t,n,r){t[n]=r}setValue(t,n){t.nodeValue=n}listen(t,n,r){return"string"==typeof t?this.eventManager.addGlobalEventListener(t,n,gv(r)):this.eventManager.addEventListener(t,n,gv(r))}}class Lx extends xc{constructor(t,n,r,i){super(t),this.component=r;const o=Us(i+"-"+r.id,r.styles,[]);n.addStyles(o),this.contentAttr=function Px(e){return"_ngcontent-%COMP%".replace(Ic,e)}(i+"-"+r.id),this.hostAttr=function Vx(e){return"_nghost-%COMP%".replace(Ic,e)}(i+"-"+r.id)}applyToHost(t){super.setAttribute(t,this.hostAttr,"")}createElement(t,n){const r=super.createElement(t,n);return super.setAttribute(r,this.contentAttr,""),r}}class jx extends xc{constructor(t,n,r,i){super(t),this.sharedStylesHost=n,this.hostEl=r,this.shadowRoot=r.attachShadow({mode:"open"}),this.sharedStylesHost.addHost(this.shadowRoot);const o=Us(i.id,i.styles,[]);for(let s=0;s<o.length;s++){const a=document.createElement("style");a.textContent=o[s],this.shadowRoot.appendChild(a)}}nodeOrShadowRoot(t){return t===this.hostEl?this.shadowRoot:t}destroy(){this.sharedStylesHost.removeHost(this.shadowRoot)}appendChild(t,n){return super.appendChild(this.nodeOrShadowRoot(t),n)}insertBefore(t,n,r){return super.insertBefore(this.nodeOrShadowRoot(t),n,r)}removeChild(t,n){return super.removeChild(this.nodeOrShadowRoot(t),n)}parentNode(t){return this.nodeOrShadowRoot(super.parentNode(this.nodeOrShadowRoot(t)))}}let Bx=(()=>{class e extends cv{constructor(n){super(n)}supports(n){return!0}addEventListener(n,r,i){return n.addEventListener(r,i,!1),()=>this.removeEventListener(n,r,i)}removeEventListener(n,r,i){return n.removeEventListener(r,i)}}return e.\u0275fac=function(n){return new(n||e)(A(mt))},e.\u0275prov=$({token:e,factory:e.\u0275fac}),e})();const yv=["alt","control","meta","shift"],Ux={"\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"},vv={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"},$x={alt:e=>e.altKey,control:e=>e.ctrlKey,meta:e=>e.metaKey,shift:e=>e.shiftKey};let Gx=(()=>{class e extends cv{constructor(n){super(n)}supports(n){return null!=e.parseEventName(n)}addEventListener(n,r,i){const o=e.parseEventName(r),s=e.eventCallback(o.fullKey,i,this.manager.getZone());return this.manager.getZone().runOutsideAngular(()=>Wt().onAndCancel(n,o.domEventName,s))}static parseEventName(n){const r=n.toLowerCase().split("."),i=r.shift();if(0===r.length||"keydown"!==i&&"keyup"!==i)return null;const o=e._normalizeKey(r.pop());let s="";if(yv.forEach(u=>{const l=r.indexOf(u);l>-1&&(r.splice(l,1),s+=u+".")}),s+=o,0!=r.length||0===o.length)return null;const a={};return a.domEventName=i,a.fullKey=s,a}static getEventFullKey(n){let r="",i=function qx(e){let t=e.key;if(null==t){if(t=e.keyIdentifier,null==t)return"Unidentified";t.startsWith("U+")&&(t=String.fromCharCode(parseInt(t.substring(2),16)),3===e.location&&vv.hasOwnProperty(t)&&(t=vv[t]))}return Ux[t]||t}(n);return i=i.toLowerCase()," "===i?i="space":"."===i&&(i="dot"),yv.forEach(o=>{o!=i&&$x[o](n)&&(r+=o+".")}),r+=i,r}static eventCallback(n,r,i){return o=>{e.getEventFullKey(o)===n&&i.runGuarded(()=>r(o))}}static _normalizeKey(n){return"esc"===n?"escape":n}}return e.\u0275fac=function(n){return new(n||e)(A(mt))},e.\u0275prov=$({token:e,factory:e.\u0275fac}),e})();const Yx=Sy(WI,"browser",[{provide:Kl,useValue:"browser"},{provide:vy,useValue:function zx(){Mc.makeCurrent(),Ac.init()},multi:!0},{provide:mt,useFactory:function Qx(){return function JC(e){Ua=e}(document),document},deps:[]}]),Zx=[{provide:rl,useValue:"root"},{provide:Mi,useFactory:function Wx(){return new Mi},deps:[]},{provide:Bs,useClass:Bx,multi:!0,deps:[mt,Ie,Kl]},{provide:Bs,useClass:Gx,multi:!0,deps:[mt]},{provide:Tc,useClass:Tc,deps:[Hs,Xi,Wi]},{provide:Pm,useExisting:Tc},{provide:dv,useExisting:Xi},{provide:Xi,useClass:Xi,deps:[mt]},{provide:tc,useClass:tc,deps:[Ie]},{provide:Hs,useClass:Hs,deps:[Bs,Ie]},{provide:class Ax{},useClass:Rx,deps:[]}];let Kx=(()=>{class e{constructor(n){if(n)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(n){return{ngModule:e,providers:[{provide:Wi,useValue:n.appId},{provide:lv,useExisting:Wi},Nx]}}}return e.\u0275fac=function(n){return new(n||e)(A(e,12))},e.\u0275mod=Ct({type:e}),e.\u0275inj=ut({providers:Zx,imports:[Dx,QI]}),e})();"undefined"!=typeof window&&window;const{isArray:uN}=Array,{getPrototypeOf:lN,prototype:cN,keys:dN}=Object;function Cv(e){if(1===e.length){const t=e[0];if(uN(t))return{args:t,keys:null};if(function fN(e){return e&&"object"==typeof e&&lN(e)===cN}(t)){const n=dN(t);return{args:n.map(r=>t[r]),keys:n}}}return{args:e,keys:null}}const{isArray:hN}=Array;function wv(e){return ee(t=>function pN(e,t){return hN(t)?e(...t):e(t)}(e,t))}function Ev(e,t){return e.reduce((n,r,i)=>(n[r]=t[i],n),{})}let bv=(()=>{class e{constructor(n,r){this._renderer=n,this._elementRef=r,this.onChange=i=>{},this.onTouched=()=>{}}setProperty(n,r){this._renderer.setProperty(this._elementRef.nativeElement,n,r)}registerOnTouched(n){this.onTouched=n}registerOnChange(n){this.onChange=n}setDisabledState(n){this.setProperty("disabled",n)}}return e.\u0275fac=function(n){return new(n||e)(v(un),v(rt))},e.\u0275dir=I({type:e}),e})(),Qn=(()=>{class e extends bv{}return e.\u0275fac=function(){let t;return function(r){return(t||(t=Re(e)))(r||e)}}(),e.\u0275dir=I({type:e,features:[Y]}),e})();const Qt=new H("NgValueAccessor"),mN={provide:Qt,useExisting:te(()=>Rc),multi:!0};let Rc=(()=>{class e extends Qn{writeValue(n){this.setProperty("checked",n)}}return e.\u0275fac=function(){let t;return function(r){return(t||(t=Re(e)))(r||e)}}(),e.\u0275dir=I({type:e,selectors:[["input","type","checkbox","formControlName",""],["input","type","checkbox","formControl",""],["input","type","checkbox","ngModel",""]],hostBindings:function(n,r){1&n&&$e("change",function(o){return r.onChange(o.target.checked)})("blur",function(){return r.onTouched()})},features:[se([mN]),Y]}),e})();const yN={provide:Qt,useExisting:te(()=>$s),multi:!0},DN=new H("CompositionEventMode");let $s=(()=>{class e extends bv{constructor(n,r,i){super(n,r),this._compositionMode=i,this._composing=!1,null==this._compositionMode&&(this._compositionMode=!function vN(){const e=Wt()?Wt().getUserAgent():"";return/android (\d+)/.test(e.toLowerCase())}())}writeValue(n){this.setProperty("value",null==n?"":n)}_handleInput(n){(!this._compositionMode||this._compositionMode&&!this._composing)&&this.onChange(n)}_compositionStart(){this._composing=!0}_compositionEnd(n){this._composing=!1,this._compositionMode&&this.onChange(n)}}return e.\u0275fac=function(n){return new(n||e)(v(un),v(rt),v(DN,8))},e.\u0275dir=I({type:e,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(n,r){1&n&&$e("input",function(o){return r._handleInput(o.target.value)})("blur",function(){return r.onTouched()})("compositionstart",function(){return r._compositionStart()})("compositionend",function(o){return r._compositionEnd(o.target.value)})},features:[se([yN]),Y]}),e})();function In(e){return null==e||0===e.length}function Mv(e){return null!=e&&"number"==typeof e.length}const Pe=new H("NgValidators"),Tn=new H("NgAsyncValidators"),_N=/^(?=.{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 Gs{static min(t){return function Av(e){return t=>{if(In(t.value)||In(e))return null;const n=parseFloat(t.value);return!isNaN(n)&&n<e?{min:{min:e,actual:t.value}}:null}}(t)}static max(t){return function Sv(e){return t=>{if(In(t.value)||In(e))return null;const n=parseFloat(t.value);return!isNaN(n)&&n>e?{max:{max:e,actual:t.value}}:null}}(t)}static required(t){return function Iv(e){return In(e.value)?{required:!0}:null}(t)}static requiredTrue(t){return function Tv(e){return!0===e.value?null:{required:!0}}(t)}static email(t){return function xv(e){return In(e.value)||_N.test(e.value)?null:{email:!0}}(t)}static minLength(t){return function Nv(e){return t=>In(t.value)||!Mv(t.value)?null:t.value.length<e?{minlength:{requiredLength:e,actualLength:t.value.length}}:null}(t)}static maxLength(t){return function Rv(e){return t=>Mv(t.value)&&t.value.length>e?{maxlength:{requiredLength:e,actualLength:t.value.length}}:null}(t)}static pattern(t){return function Fv(e){if(!e)return qs;let t,n;return"string"==typeof e?(n="","^"!==e.charAt(0)&&(n+="^"),n+=e,"$"!==e.charAt(e.length-1)&&(n+="$"),t=new RegExp(n)):(n=e.toString(),t=e),r=>{if(In(r.value))return null;const i=r.value;return t.test(i)?null:{pattern:{requiredPattern:n,actualValue:i}}}}(t)}static nullValidator(t){return null}static compose(t){return jv(t)}static composeAsync(t){return Bv(t)}}function qs(e){return null}function Ov(e){return null!=e}function Pv(e){const t=Pi(e)?Me(e):e;return ml(t),t}function Vv(e){let t={};return e.forEach(n=>{t=null!=n?Object.assign(Object.assign({},t),n):t}),0===Object.keys(t).length?null:t}function kv(e,t){return t.map(n=>n(e))}function Lv(e){return e.map(t=>function CN(e){return!e.validate}(t)?t:n=>t.validate(n))}function jv(e){if(!e)return null;const t=e.filter(Ov);return 0==t.length?null:function(n){return Vv(kv(n,t))}}function Fc(e){return null!=e?jv(Lv(e)):null}function Bv(e){if(!e)return null;const t=e.filter(Ov);return 0==t.length?null:function(n){return function gN(...e){const t=rf(e),{args:n,keys:r}=Cv(e),i=new pe(o=>{const{length:s}=n;if(!s)return void o.complete();const a=new Array(s);let u=s,l=s;for(let c=0;c<s;c++){let d=!1;Pt(n[c]).subscribe(Ee(o,f=>{d||(d=!0,l--),a[c]=f},()=>u--,void 0,()=>{(!u||!d)&&(l||o.next(r?Ev(r,a):a),o.complete())}))}});return t?i.pipe(wv(t)):i}(kv(n,t).map(Pv)).pipe(ee(Vv))}}function Oc(e){return null!=e?Bv(Lv(e)):null}function Hv(e,t){return null===e?[t]:Array.isArray(e)?[...e,t]:[e,t]}function Uv(e){return e._rawValidators}function $v(e){return e._rawAsyncValidators}function Pc(e){return e?Array.isArray(e)?e:[e]:[]}function zs(e,t){return Array.isArray(e)?e.includes(t):e===t}function Gv(e,t){const n=Pc(t);return Pc(e).forEach(i=>{zs(n,i)||n.push(i)}),n}function qv(e,t){return Pc(t).filter(n=>!zs(e,n))}class zv{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=Fc(this._rawValidators)}_setAsyncValidators(t){this._rawAsyncValidators=t||[],this._composedAsyncValidatorFn=Oc(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,n){return!!this.control&&this.control.hasError(t,n)}getError(t,n){return this.control?this.control.getError(t,n):null}}class xn extends zv{constructor(){super(...arguments),this._parent=null,this.name=null,this.valueAccessor=null}}class ze extends zv{get formDirective(){return null}get path(){return null}}class Wv{constructor(t){this._cd=t}is(t){var n,r,i;return"submitted"===t?!!(null===(n=this._cd)||void 0===n?void 0:n.submitted):!!(null===(i=null===(r=this._cd)||void 0===r?void 0:r.control)||void 0===i?void 0:i[t])}}let Qv=(()=>{class e extends Wv{constructor(n){super(n)}}return e.\u0275fac=function(n){return new(n||e)(v(xn,2))},e.\u0275dir=I({type:e,selectors:[["","formControlName",""],["","ngModel",""],["","formControl",""]],hostVars:14,hostBindings:function(n,r){2&n&&hs("ng-untouched",r.is("untouched"))("ng-touched",r.is("touched"))("ng-pristine",r.is("pristine"))("ng-dirty",r.is("dirty"))("ng-valid",r.is("valid"))("ng-invalid",r.is("invalid"))("ng-pending",r.is("pending"))},features:[Y]}),e})(),Yv=(()=>{class e extends Wv{constructor(n){super(n)}}return e.\u0275fac=function(n){return new(n||e)(v(ze,10))},e.\u0275dir=I({type:e,selectors:[["","formGroupName",""],["","formArrayName",""],["","ngModelGroup",""],["","formGroup",""],["form",3,"ngNoForm",""],["","ngForm",""]],hostVars:16,hostBindings:function(n,r){2&n&&hs("ng-untouched",r.is("untouched"))("ng-touched",r.is("touched"))("ng-pristine",r.is("pristine"))("ng-dirty",r.is("dirty"))("ng-valid",r.is("valid"))("ng-invalid",r.is("invalid"))("ng-pending",r.is("pending"))("ng-submitted",r.is("submitted"))},features:[Y]}),e})();function Ji(e,t){Lc(e,t),t.valueAccessor.writeValue(e.value),function TN(e,t){t.valueAccessor.registerOnChange(n=>{e._pendingValue=n,e._pendingChange=!0,e._pendingDirty=!0,"change"===e.updateOn&&Kv(e,t)})}(e,t),function NN(e,t){const n=(r,i)=>{t.valueAccessor.writeValue(r),i&&t.viewToModelUpdate(r)};e.registerOnChange(n),t._registerOnDestroy(()=>{e._unregisterOnChange(n)})}(e,t),function xN(e,t){t.valueAccessor.registerOnTouched(()=>{e._pendingTouched=!0,"blur"===e.updateOn&&e._pendingChange&&Kv(e,t),"submit"!==e.updateOn&&e.markAsTouched()})}(e,t),function IN(e,t){if(t.valueAccessor.setDisabledState){const n=r=>{t.valueAccessor.setDisabledState(r)};e.registerOnDisabledChange(n),t._registerOnDestroy(()=>{e._unregisterOnDisabledChange(n)})}}(e,t)}function Ys(e,t,n=!0){const r=()=>{};t.valueAccessor&&(t.valueAccessor.registerOnChange(r),t.valueAccessor.registerOnTouched(r)),Ks(e,t),e&&(t._invokeOnDestroyCallbacks(),e._registerOnCollectionChange(()=>{}))}function Zs(e,t){e.forEach(n=>{n.registerOnValidatorChange&&n.registerOnValidatorChange(t)})}function Lc(e,t){const n=Uv(e);null!==t.validator?e.setValidators(Hv(n,t.validator)):"function"==typeof n&&e.setValidators([n]);const r=$v(e);null!==t.asyncValidator?e.setAsyncValidators(Hv(r,t.asyncValidator)):"function"==typeof r&&e.setAsyncValidators([r]);const i=()=>e.updateValueAndValidity();Zs(t._rawValidators,i),Zs(t._rawAsyncValidators,i)}function Ks(e,t){let n=!1;if(null!==e){if(null!==t.validator){const i=Uv(e);if(Array.isArray(i)&&i.length>0){const o=i.filter(s=>s!==t.validator);o.length!==i.length&&(n=!0,e.setValidators(o))}}if(null!==t.asyncValidator){const i=$v(e);if(Array.isArray(i)&&i.length>0){const o=i.filter(s=>s!==t.asyncValidator);o.length!==i.length&&(n=!0,e.setAsyncValidators(o))}}}const r=()=>{};return Zs(t._rawValidators,r),Zs(t._rawAsyncValidators,r),n}function Kv(e,t){e._pendingDirty&&e.markAsDirty(),e.setValue(e._pendingValue,{emitModelToViewChange:!1}),t.viewToModelUpdate(e._pendingValue),e._pendingChange=!1}function Hc(e,t){const n=e.indexOf(t);n>-1&&e.splice(n,1)}const eo="VALID",Xs="INVALID",qr="PENDING",to="DISABLED";function $c(e){return(Js(e)?e.validators:e)||null}function tD(e){return Array.isArray(e)?Fc(e):e||null}function Gc(e,t){return(Js(t)?t.asyncValidators:e)||null}function nD(e){return Array.isArray(e)?Oc(e):e||null}function Js(e){return null!=e&&!Array.isArray(e)&&"object"==typeof e}const qc=e=>e instanceof Wc,ea=e=>e instanceof ta,rD=e=>e instanceof aD;function iD(e){return qc(e)?e.value:e.getRawValue()}function oD(e,t){const n=ea(e),r=e.controls;if(!(n?Object.keys(r):r).length)throw new q(1e3,"");if(!r[t])throw new q(1001,"")}function sD(e,t){ea(e),e._forEachChild((r,i)=>{if(void 0===t[i])throw new q(1002,"")})}class zc{constructor(t,n){this._pendingDirty=!1,this._hasOwnPendingAsyncValidator=!1,this._pendingTouched=!1,this._onCollectionChange=()=>{},this._parent=null,this.pristine=!0,this.touched=!1,this._onDisabledChange=[],this._rawValidators=t,this._rawAsyncValidators=n,this._composedValidatorFn=tD(this._rawValidators),this._composedAsyncValidatorFn=nD(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===eo}get invalid(){return this.status===Xs}get pending(){return this.status==qr}get disabled(){return this.status===to}get enabled(){return this.status!==to}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=tD(t)}setAsyncValidators(t){this._rawAsyncValidators=t,this._composedAsyncValidatorFn=nD(t)}addValidators(t){this.setValidators(Gv(t,this._rawValidators))}addAsyncValidators(t){this.setAsyncValidators(Gv(t,this._rawAsyncValidators))}removeValidators(t){this.setValidators(qv(t,this._rawValidators))}removeAsyncValidators(t){this.setAsyncValidators(qv(t,this._rawAsyncValidators))}hasValidator(t){return zs(this._rawValidators,t)}hasAsyncValidator(t){return zs(this._rawAsyncValidators,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(n=>{n.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(n=>{n.markAsPristine({onlySelf:!0})}),this._parent&&!t.onlySelf&&this._parent._updatePristine(t)}markAsPending(t={}){this.status=qr,!1!==t.emitEvent&&this.statusChanges.emit(this.status),this._parent&&!t.onlySelf&&this._parent.markAsPending(t)}disable(t={}){const n=this._parentMarkedDirty(t.onlySelf);this.status=to,this.errors=null,this._forEachChild(r=>{r.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:n})),this._onDisabledChange.forEach(r=>r(!0))}enable(t={}){const n=this._parentMarkedDirty(t.onlySelf);this.status=eo,this._forEachChild(r=>{r.enable(Object.assign(Object.assign({},t),{onlySelf:!0}))}),this.updateValueAndValidity({onlySelf:!0,emitEvent:t.emitEvent}),this._updateAncestors(Object.assign(Object.assign({},t),{skipPristineCheck:n})),this._onDisabledChange.forEach(r=>r(!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===eo||this.status===qr)&&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(n=>n._updateTreeValidity(t)),this.updateValueAndValidity({onlySelf:!0,emitEvent:t.emitEvent})}_setInitialStatus(){this.status=this._allControlsDisabled()?to:eo}_runValidator(){return this.validator?this.validator(this):null}_runAsyncValidator(t){if(this.asyncValidator){this.status=qr,this._hasOwnPendingAsyncValidator=!0;const n=Pv(this.asyncValidator(this));this._asyncValidationSubscription=n.subscribe(r=>{this._hasOwnPendingAsyncValidator=!1,this.setErrors(r,{emitEvent:t})})}}_cancelExistingSubscription(){this._asyncValidationSubscription&&(this._asyncValidationSubscription.unsubscribe(),this._hasOwnPendingAsyncValidator=!1)}setErrors(t,n={}){this.errors=t,this._updateControlsErrors(!1!==n.emitEvent)}get(t){return function PN(e,t,n){if(null==t||(Array.isArray(t)||(t=t.split(n)),Array.isArray(t)&&0===t.length))return null;let r=e;return t.forEach(i=>{r=ea(r)?r.controls.hasOwnProperty(i)?r.controls[i]:null:rD(r)&&r.at(i)||null}),r}(this,t,".")}getError(t,n){const r=n?this.get(n):this;return r&&r.errors?r.errors[t]:null}hasError(t,n){return!!this.getError(t,n)}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 de,this.statusChanges=new de}_calculateStatus(){return this._allControlsDisabled()?to:this.errors?Xs:this._hasOwnPendingAsyncValidator||this._anyControlsHaveStatus(qr)?qr:this._anyControlsHaveStatus(Xs)?Xs:eo}_anyControlsHaveStatus(t){return this._anyControls(n=>n.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){Js(t)&&null!=t.updateOn&&(this._updateOn=t.updateOn)}_parentMarkedDirty(t){return!t&&!(!this._parent||!this._parent.dirty)&&!this._parent._anyControlsDirty()}}class Wc extends zc{constructor(t=null,n,r){super($c(n),Gc(r,n)),this.defaultValue=null,this._onChange=[],this._pendingChange=!1,this._applyFormState(t),this._setUpdateStrategy(n),this._initObservables(),this.updateValueAndValidity({onlySelf:!0,emitEvent:!!this.asyncValidator}),Js(n)&&n.initialValueIsDefault&&(this.defaultValue=this._isBoxedValue(t)?t.value:t)}setValue(t,n={}){this.value=this._pendingValue=t,this._onChange.length&&!1!==n.emitModelToViewChange&&this._onChange.forEach(r=>r(this.value,!1!==n.emitViewToModelChange)),this.updateValueAndValidity(n)}patchValue(t,n={}){this.setValue(t,n)}reset(t=this.defaultValue,n={}){this._applyFormState(t),this.markAsPristine(n),this.markAsUntouched(n),this.setValue(this.value,n),this._pendingChange=!1}_updateValue(){}_anyControls(t){return!1}_allControlsDisabled(){return this.disabled}registerOnChange(t){this._onChange.push(t)}_unregisterOnChange(t){Hc(this._onChange,t)}registerOnDisabledChange(t){this._onDisabledChange.push(t)}_unregisterOnDisabledChange(t){Hc(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 ta extends zc{constructor(t,n,r){super($c(n),Gc(r,n)),this.controls=t,this._initObservables(),this._setUpdateStrategy(n),this._setUpControls(),this.updateValueAndValidity({onlySelf:!0,emitEvent:!!this.asyncValidator})}registerControl(t,n){return this.controls[t]?this.controls[t]:(this.controls[t]=n,n.setParent(this),n._registerOnCollectionChange(this._onCollectionChange),n)}addControl(t,n,r={}){this.registerControl(t,n),this.updateValueAndValidity({emitEvent:r.emitEvent}),this._onCollectionChange()}removeControl(t,n={}){this.controls[t]&&this.controls[t]._registerOnCollectionChange(()=>{}),delete this.controls[t],this.updateValueAndValidity({emitEvent:n.emitEvent}),this._onCollectionChange()}setControl(t,n,r={}){this.controls[t]&&this.controls[t]._registerOnCollectionChange(()=>{}),delete this.controls[t],n&&this.registerControl(t,n),this.updateValueAndValidity({emitEvent:r.emitEvent}),this._onCollectionChange()}contains(t){return this.controls.hasOwnProperty(t)&&this.controls[t].enabled}setValue(t,n={}){sD(this,t),Object.keys(t).forEach(r=>{oD(this,r),this.controls[r].setValue(t[r],{onlySelf:!0,emitEvent:n.emitEvent})}),this.updateValueAndValidity(n)}patchValue(t,n={}){null!=t&&(Object.keys(t).forEach(r=>{this.controls[r]&&this.controls[r].patchValue(t[r],{onlySelf:!0,emitEvent:n.emitEvent})}),this.updateValueAndValidity(n))}reset(t={},n={}){this._forEachChild((r,i)=>{r.reset(t[i],{onlySelf:!0,emitEvent:n.emitEvent})}),this._updatePristine(n),this._updateTouched(n),this.updateValueAndValidity(n)}getRawValue(){return this._reduceChildren({},(t,n,r)=>(t[r]=iD(n),t))}_syncPendingControls(){let t=this._reduceChildren(!1,(n,r)=>!!r._syncPendingControls()||n);return t&&this.updateValueAndValidity({onlySelf:!0}),t}_forEachChild(t){Object.keys(this.controls).forEach(n=>{const r=this.controls[n];r&&t(r,n)})}_setUpControls(){this._forEachChild(t=>{t.setParent(this),t._registerOnCollectionChange(this._onCollectionChange)})}_updateValue(){this.value=this._reduceValue()}_anyControls(t){for(const n of Object.keys(this.controls)){const r=this.controls[n];if(this.contains(n)&&t(r))return!0}return!1}_reduceValue(){return this._reduceChildren({},(t,n,r)=>((n.enabled||this.disabled)&&(t[r]=n.value),t))}_reduceChildren(t,n){let r=t;return this._forEachChild((i,o)=>{r=n(r,i,o)}),r}_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}}class aD extends zc{constructor(t,n,r){super($c(n),Gc(r,n)),this.controls=t,this._initObservables(),this._setUpdateStrategy(n),this._setUpControls(),this.updateValueAndValidity({onlySelf:!0,emitEvent:!!this.asyncValidator})}at(t){return this.controls[t]}push(t,n={}){this.controls.push(t),this._registerControl(t),this.updateValueAndValidity({emitEvent:n.emitEvent}),this._onCollectionChange()}insert(t,n,r={}){this.controls.splice(t,0,n),this._registerControl(n),this.updateValueAndValidity({emitEvent:r.emitEvent})}removeAt(t,n={}){this.controls[t]&&this.controls[t]._registerOnCollectionChange(()=>{}),this.controls.splice(t,1),this.updateValueAndValidity({emitEvent:n.emitEvent})}setControl(t,n,r={}){this.controls[t]&&this.controls[t]._registerOnCollectionChange(()=>{}),this.controls.splice(t,1),n&&(this.controls.splice(t,0,n),this._registerControl(n)),this.updateValueAndValidity({emitEvent:r.emitEvent}),this._onCollectionChange()}get length(){return this.controls.length}setValue(t,n={}){sD(this,t),t.forEach((r,i)=>{oD(this,i),this.at(i).setValue(r,{onlySelf:!0,emitEvent:n.emitEvent})}),this.updateValueAndValidity(n)}patchValue(t,n={}){null!=t&&(t.forEach((r,i)=>{this.at(i)&&this.at(i).patchValue(r,{onlySelf:!0,emitEvent:n.emitEvent})}),this.updateValueAndValidity(n))}reset(t=[],n={}){this._forEachChild((r,i)=>{r.reset(t[i],{onlySelf:!0,emitEvent:n.emitEvent})}),this._updatePristine(n),this._updateTouched(n),this.updateValueAndValidity(n)}getRawValue(){return this.controls.map(t=>iD(t))}clear(t={}){this.controls.length<1||(this._forEachChild(n=>n._registerOnCollectionChange(()=>{})),this.controls.splice(0),this.updateValueAndValidity({emitEvent:t.emitEvent}))}_syncPendingControls(){let t=this.controls.reduce((n,r)=>!!r._syncPendingControls()||n,!1);return t&&this.updateValueAndValidity({onlySelf:!0}),t}_forEachChild(t){this.controls.forEach((n,r)=>{t(n,r)})}_updateValue(){this.value=this.controls.filter(t=>t.enabled||this.disabled).map(t=>t.value)}_anyControls(t){return this.controls.some(n=>n.enabled&&t(n))}_setUpControls(){this._forEachChild(t=>this._registerControl(t))}_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 fD=(()=>{class e{}return e.\u0275fac=function(n){return new(n||e)},e.\u0275dir=I({type:e,selectors:[["form",3,"ngNoForm","",3,"ngNativeValidate",""]],hostAttrs:["novalidate",""]}),e})();const jN={provide:Qt,useExisting:te(()=>Yc),multi:!0};let Yc=(()=>{class e extends Qn{writeValue(n){this.setProperty("value",null==n?"":n)}registerOnChange(n){this.onChange=r=>{n(""==r?null:parseFloat(r))}}}return e.\u0275fac=function(){let t;return function(r){return(t||(t=Re(e)))(r||e)}}(),e.\u0275dir=I({type:e,selectors:[["input","type","number","formControlName",""],["input","type","number","formControl",""],["input","type","number","ngModel",""]],hostBindings:function(n,r){1&n&&$e("input",function(o){return r.onChange(o.target.value)})("blur",function(){return r.onTouched()})},features:[se([jN]),Y]}),e})(),hD=(()=>{class e{}return e.\u0275fac=function(n){return new(n||e)},e.\u0275mod=Ct({type:e}),e.\u0275inj=ut({}),e})();const Zc=new H("NgModelWithFormControlWarning"),GN={provide:ze,useExisting:te(()=>na)};let na=(()=>{class e extends ze{constructor(n,r){super(),this.validators=n,this.asyncValidators=r,this.submitted=!1,this._onCollectionChange=()=>this._updateDomValue(),this.directives=[],this.form=null,this.ngSubmit=new de,this._setValidators(n),this._setAsyncValidators(r)}ngOnChanges(n){this._checkFormPresent(),n.hasOwnProperty("form")&&(this._updateValidators(),this._updateDomValue(),this._updateRegistrations(),this._oldForm=this.form)}ngOnDestroy(){this.form&&(Ks(this.form,this),this.form._onCollectionChange===this._onCollectionChange&&this.form._registerOnCollectionChange(()=>{}))}get formDirective(){return this}get control(){return this.form}get path(){return[]}addControl(n){const r=this.form.get(n.path);return Ji(r,n),r.updateValueAndValidity({emitEvent:!1}),this.directives.push(n),r}getControl(n){return this.form.get(n.path)}removeControl(n){Ys(n.control||null,n,!1),Hc(this.directives,n)}addFormGroup(n){this._setUpFormContainer(n)}removeFormGroup(n){this._cleanUpFormContainer(n)}getFormGroup(n){return this.form.get(n.path)}addFormArray(n){this._setUpFormContainer(n)}removeFormArray(n){this._cleanUpFormContainer(n)}getFormArray(n){return this.form.get(n.path)}updateModel(n,r){this.form.get(n.path).setValue(r)}onSubmit(n){return this.submitted=!0,function eD(e,t){e._syncPendingControls(),t.forEach(n=>{const r=n.control;"submit"===r.updateOn&&r._pendingChange&&(n.viewToModelUpdate(r._pendingValue),r._pendingChange=!1)})}(this.form,this.directives),this.ngSubmit.emit(n),!1}onReset(){this.resetForm()}resetForm(n){this.form.reset(n),this.submitted=!1}_updateDomValue(){this.directives.forEach(n=>{const r=n.control,i=this.form.get(n.path);r!==i&&(Ys(r||null,n),qc(i)&&(Ji(i,n),n.control=i))}),this.form._updateTreeValidity({emitEvent:!1})}_setUpFormContainer(n){const r=this.form.get(n.path);(function Xv(e,t){Lc(e,t)})(r,n),r.updateValueAndValidity({emitEvent:!1})}_cleanUpFormContainer(n){if(this.form){const r=this.form.get(n.path);r&&function RN(e,t){return Ks(e,t)}(r,n)&&r.updateValueAndValidity({emitEvent:!1})}}_updateRegistrations(){this.form._registerOnCollectionChange(this._onCollectionChange),this._oldForm&&this._oldForm._registerOnCollectionChange(()=>{})}_updateValidators(){Lc(this.form,this),this._oldForm&&Ks(this._oldForm,this)}_checkFormPresent(){}}return e.\u0275fac=function(n){return new(n||e)(v(Pe,10),v(Tn,10))},e.\u0275dir=I({type:e,selectors:[["","formGroup",""]],hostBindings:function(n,r){1&n&&$e("submit",function(o){return r.onSubmit(o)})("reset",function(){return r.onReset()})},inputs:{form:["formGroup","form"]},outputs:{ngSubmit:"ngSubmit"},exportAs:["ngForm"],features:[se([GN]),Y,dt]}),e})();const WN={provide:xn,useExisting:te(()=>Jc)};let Jc=(()=>{class e extends xn{constructor(n,r,i,o,s){super(),this._ngModelWarningConfig=s,this._added=!1,this.update=new de,this._ngModelWarningSent=!1,this._parent=n,this._setValidators(r),this._setAsyncValidators(i),this.valueAccessor=function Bc(e,t){if(!t)return null;let n,r,i;return Array.isArray(t),t.forEach(o=>{o.constructor===$s?n=o:function ON(e){return Object.getPrototypeOf(e.constructor)===Qn}(o)?r=o:i=o}),i||r||n||null}(0,o)}set isDisabled(n){}ngOnChanges(n){this._added||this._setUpControl(),function jc(e,t){if(!e.hasOwnProperty("model"))return!1;const n=e.model;return!!n.isFirstChange()||!Object.is(t,n.currentValue)}(n,this.viewModel)&&(this.viewModel=this.model,this.formDirective.updateModel(this,this.model))}ngOnDestroy(){this.formDirective&&this.formDirective.removeControl(this)}viewToModelUpdate(n){this.viewModel=n,this.update.emit(n)}get path(){return function Qs(e,t){return[...t.path,e]}(null==this.name?this.name:this.name.toString(),this._parent)}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 e._ngModelWarningSentOnce=!1,e.\u0275fac=function(n){return new(n||e)(v(ze,13),v(Pe,10),v(Tn,10),v(Qt,10),v(Zc,8))},e.\u0275dir=I({type:e,selectors:[["","formControlName",""]],inputs:{name:["formControlName","name"],isDisabled:["disabled","isDisabled"],model:["ngModel","model"]},outputs:{update:"ngModelChange"},features:[se([WN]),Y,dt]}),e})(),lR=(()=>{class e{}return e.\u0275fac=function(n){return new(n||e)},e.\u0275mod=Ct({type:e}),e.\u0275inj=ut({imports:[[hD]]}),e})(),TD=(()=>{class e{static withConfig(n){return{ngModule:e,providers:[{provide:Zc,useValue:n.warnOnNgModelWithFormControl}]}}}return e.\u0275fac=function(n){return new(n||e)},e.\u0275mod=Ct({type:e}),e.\u0275inj=ut({imports:[lR]}),e})(),dR=(()=>{class e{group(n,r=null){const i=this._reduceControls(n);let a,o=null,s=null;return null!=r&&(function cR(e){return void 0!==e.asyncValidators||void 0!==e.validators||void 0!==e.updateOn}(r)?(o=null!=r.validators?r.validators:null,s=null!=r.asyncValidators?r.asyncValidators:null,a=null!=r.updateOn?r.updateOn:void 0):(o=null!=r.validator?r.validator:null,s=null!=r.asyncValidator?r.asyncValidator:null)),new ta(i,{asyncValidators:s,updateOn:a,validators:o})}control(n,r,i){return new Wc(n,r,i)}array(n,r,i){const o=n.map(s=>this._createControl(s));return new aD(o,r,i)}_reduceControls(n){const r={};return Object.keys(n).forEach(i=>{r[i]=this._createControl(n[i])}),r}_createControl(n){return qc(n)||ea(n)||rD(n)?n:Array.isArray(n)?this.control(n[0],n.length>1?n[1]:null,n.length>2?n[2]:null):this.control(n)}}return e.\u0275fac=function(n){return new(n||e)},e.\u0275prov=$({token:e,factory:e.\u0275fac,providedIn:TD}),e})();function V(...e){return Me(e,ti(e))}class Ot extends Kt{constructor(t){super(),this._value=t}get value(){return this.getValue()}_subscribe(t){const n=super._subscribe(t);return!n.closed&&t.next(this._value),n}getValue(){const{hasError:t,thrownError:n,_value:r}=this;if(t)throw n;return this._throwIfClosed(),r}next(t){super.next(this._value=t)}}function xD(e,t,n){e?Xt(n,e,t):t()}function ra(e,t){const n=J(e)?e:()=>e,r=i=>i.error(n());return new pe(t?i=>t.schedule(r,0,i):r)}const ia=Xr(e=>function(){e(this),this.name="EmptyError",this.message="no elements in sequence"});function rd(...e){return function pR(){return ei(1)}()(Me(e,ti(e)))}function ND(e){return new pe(t=>{Pt(e()).subscribe(t)})}function RD(){return Se((e,t)=>{let n=null;e._refCount++;const r=Ee(t,void 0,void 0,void 0,()=>{if(!e||e._refCount<=0||0<--e._refCount)return void(n=null);const i=e._connection,o=n;n=null,i&&(!o||i===o)&&i.unsubscribe(),t.unsubscribe()});e.subscribe(r),r.closed||(n=e.connect())})}class gR extends pe{constructor(t,n){super(),this.source=t,this.subjectFactory=n,this._subject=null,this._refCount=0,this._connection=null,$d(t)&&(this.lift=t.lift)}_subscribe(t){return this.getSubject().subscribe(t)}getSubject(){const t=this._subject;return(!t||t.isStopped)&&(this._subject=this.subjectFactory()),this._subject}_teardown(){this._refCount=0;const{_connection:t}=this;this._subject=this._connection=null,null==t||t.unsubscribe()}connect(){let t=this._connection;if(!t){t=this._connection=new at;const n=this.getSubject();t.add(this.source.subscribe(Ee(n,void 0,()=>{this._teardown(),n.complete()},r=>{this._teardown(),n.error(r)},()=>this._teardown()))),t.closed&&(this._connection=null,t=at.EMPTY)}return t}refCount(){return RD()(this)}}function Zn(e,t){return Se((n,r)=>{let i=null,o=0,s=!1;const a=()=>s&&!i&&r.complete();n.subscribe(Ee(r,u=>{null==i||i.unsubscribe();let l=0;const c=o++;Pt(e(u,c)).subscribe(i=Ee(r,d=>r.next(t?t(u,d,c,l++):d),()=>{i=null,a()}))},()=>{s=!0,a()}))})}function yR(e,t,n,r,i){return(o,s)=>{let a=n,u=t,l=0;o.subscribe(Ee(s,c=>{const d=l++;u=a?e(u,c,d):(a=!0,c),r&&s.next(u)},i&&(()=>{a&&s.next(u),s.complete()})))}}function FD(e,t){return Se(yR(e,t,arguments.length>=2,!0))}function zr(e,t){return Se((n,r)=>{let i=0;n.subscribe(Ee(r,o=>e.call(t,o,i++)&&r.next(o)))})}function Nn(e){return Se((t,n)=>{let o,r=null,i=!1;r=t.subscribe(Ee(n,void 0,void 0,s=>{o=Pt(e(s,Nn(e)(t))),r?(r.unsubscribe(),r=null,o.subscribe(n)):i=!0})),i&&(r.unsubscribe(),r=null,o.subscribe(n))})}function ro(e,t){return J(t)?be(e,t,1):be(e,1)}function id(e){return e<=0?()=>Jt:Se((t,n)=>{let r=[];t.subscribe(Ee(n,i=>{r.push(i),e<r.length&&r.shift()},()=>{for(const i of r)n.next(i);n.complete()},void 0,()=>{r=null}))})}function OD(e=vR){return Se((t,n)=>{let r=!1;t.subscribe(Ee(n,i=>{r=!0,n.next(i)},()=>r?n.complete():n.error(e())))})}function vR(){return new ia}function PD(e){return Se((t,n)=>{let r=!1;t.subscribe(Ee(n,i=>{r=!0,n.next(i)},()=>{r||n.next(e),n.complete()}))})}function Wr(e,t){const n=arguments.length>=2;return r=>r.pipe(e?zr((i,o)=>e(i,o,r)):Vn,Co(1),n?PD(t):OD(()=>new ia))}function it(e,t,n){const r=J(e)||t||n?{next:e,error:t,complete:n}:e;return r?Se((i,o)=>{var s;null===(s=r.subscribe)||void 0===s||s.call(r);let a=!0;i.subscribe(Ee(o,u=>{var l;null===(l=r.next)||void 0===l||l.call(r,u),o.next(u)},()=>{var u;a=!1,null===(u=r.complete)||void 0===u||u.call(r),o.complete()},u=>{var l;a=!1,null===(l=r.error)||void 0===l||l.call(r,u),o.error(u)},()=>{var u,l;a&&(null===(u=r.unsubscribe)||void 0===u||u.call(r)),null===(l=r.finalize)||void 0===l||l.call(r)}))}):Vn}class hn{constructor(t,n){this.id=t,this.url=n}}class od extends hn{constructor(t,n,r="imperative",i=null){super(t,n),this.navigationTrigger=r,this.restoredState=i}toString(){return`NavigationStart(id: ${this.id}, url: '${this.url}')`}}class io extends hn{constructor(t,n,r){super(t,n),this.urlAfterRedirects=r}toString(){return`NavigationEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}')`}}class VD extends hn{constructor(t,n,r){super(t,n),this.reason=r}toString(){return`NavigationCancel(id: ${this.id}, url: '${this.url}')`}}class CR extends hn{constructor(t,n,r){super(t,n),this.error=r}toString(){return`NavigationError(id: ${this.id}, url: '${this.url}', error: ${this.error})`}}class wR extends hn{constructor(t,n,r,i){super(t,n),this.urlAfterRedirects=r,this.state=i}toString(){return`RoutesRecognized(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}}class ER extends hn{constructor(t,n,r,i){super(t,n),this.urlAfterRedirects=r,this.state=i}toString(){return`GuardsCheckStart(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}}class bR extends hn{constructor(t,n,r,i,o){super(t,n),this.urlAfterRedirects=r,this.state=i,this.shouldActivate=o}toString(){return`GuardsCheckEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state}, shouldActivate: ${this.shouldActivate})`}}class MR extends hn{constructor(t,n,r,i){super(t,n),this.urlAfterRedirects=r,this.state=i}toString(){return`ResolveStart(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}}class AR extends hn{constructor(t,n,r,i){super(t,n),this.urlAfterRedirects=r,this.state=i}toString(){return`ResolveEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}}class kD{constructor(t){this.route=t}toString(){return`RouteConfigLoadStart(path: ${this.route.path})`}}class LD{constructor(t){this.route=t}toString(){return`RouteConfigLoadEnd(path: ${this.route.path})`}}class SR{constructor(t){this.snapshot=t}toString(){return`ChildActivationStart(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}}class IR{constructor(t){this.snapshot=t}toString(){return`ChildActivationEnd(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}}class TR{constructor(t){this.snapshot=t}toString(){return`ActivationStart(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}}class xR{constructor(t){this.snapshot=t}toString(){return`ActivationEnd(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}}class jD{constructor(t,n,r){this.routerEvent=t,this.position=n,this.anchor=r}toString(){return`Scroll(anchor: '${this.anchor}', position: '${this.position?`${this.position[0]}, ${this.position[1]}`:null}')`}}const B="primary";class NR{constructor(t){this.params=t||{}}has(t){return Object.prototype.hasOwnProperty.call(this.params,t)}get(t){if(this.has(t)){const n=this.params[t];return Array.isArray(n)?n[0]:n}return null}getAll(t){if(this.has(t)){const n=this.params[t];return Array.isArray(n)?n:[n]}return[]}get keys(){return Object.keys(this.params)}}function Qr(e){return new NR(e)}const BD="ngNavigationCancelingError";function sd(e){const t=Error("NavigationCancelingError: "+e);return t[BD]=!0,t}function FR(e,t,n){const r=n.path.split("/");if(r.length>e.length||"full"===n.pathMatch&&(t.hasChildren()||r.length<e.length))return null;const i={};for(let o=0;o<r.length;o++){const s=r[o],a=e[o];if(s.startsWith(":"))i[s.substring(1)]=a;else if(s!==a.path)return null}return{consumed:e.slice(0,r.length),posParams:i}}function Yt(e,t){const n=e?Object.keys(e):void 0,r=t?Object.keys(t):void 0;if(!n||!r||n.length!=r.length)return!1;let i;for(let o=0;o<n.length;o++)if(i=n[o],!HD(e[i],t[i]))return!1;return!0}function HD(e,t){if(Array.isArray(e)&&Array.isArray(t)){if(e.length!==t.length)return!1;const n=[...e].sort(),r=[...t].sort();return n.every((i,o)=>r[o]===i)}return e===t}function UD(e){return Array.prototype.concat.apply([],e)}function $D(e){return e.length>0?e[e.length-1]:null}function Te(e,t){for(const n in e)e.hasOwnProperty(n)&&t(e[n],n)}function Zt(e){return ml(e)?e:Pi(e)?Me(Promise.resolve(e)):V(e)}const VR={exact:function zD(e,t,n){if(!Xn(e.segments,t.segments)||!oa(e.segments,t.segments,n)||e.numberOfChildren!==t.numberOfChildren)return!1;for(const r in t.children)if(!e.children[r]||!zD(e.children[r],t.children[r],n))return!1;return!0},subset:WD},GD={exact:function kR(e,t){return Yt(e,t)},subset:function LR(e,t){return Object.keys(t).length<=Object.keys(e).length&&Object.keys(t).every(n=>HD(e[n],t[n]))},ignored:()=>!0};function qD(e,t,n){return VR[n.paths](e.root,t.root,n.matrixParams)&&GD[n.queryParams](e.queryParams,t.queryParams)&&!("exact"===n.fragment&&e.fragment!==t.fragment)}function WD(e,t,n){return QD(e,t,t.segments,n)}function QD(e,t,n,r){if(e.segments.length>n.length){const i=e.segments.slice(0,n.length);return!(!Xn(i,n)||t.hasChildren()||!oa(i,n,r))}if(e.segments.length===n.length){if(!Xn(e.segments,n)||!oa(e.segments,n,r))return!1;for(const i in t.children)if(!e.children[i]||!WD(e.children[i],t.children[i],r))return!1;return!0}{const i=n.slice(0,e.segments.length),o=n.slice(e.segments.length);return!!(Xn(e.segments,i)&&oa(e.segments,i,r)&&e.children[B])&&QD(e.children[B],t,o,r)}}function oa(e,t,n){return t.every((r,i)=>GD[n](e[i].parameters,r.parameters))}class Kn{constructor(t,n,r){this.root=t,this.queryParams=n,this.fragment=r}get queryParamMap(){return this._queryParamMap||(this._queryParamMap=Qr(this.queryParams)),this._queryParamMap}toString(){return HR.serialize(this)}}class G{constructor(t,n){this.segments=t,this.children=n,this.parent=null,Te(n,(r,i)=>r.parent=this)}hasChildren(){return this.numberOfChildren>0}get numberOfChildren(){return Object.keys(this.children).length}toString(){return sa(this)}}class oo{constructor(t,n){this.path=t,this.parameters=n}get parameterMap(){return this._parameterMap||(this._parameterMap=Qr(this.parameters)),this._parameterMap}toString(){return JD(this)}}function Xn(e,t){return e.length===t.length&&e.every((n,r)=>n.path===t[r].path)}class YD{}class ZD{parse(t){const n=new ZR(t);return new Kn(n.parseRootSegment(),n.parseQueryParams(),n.parseFragment())}serialize(t){const n=`/${so(t.root,!0)}`,r=function GR(e){const t=Object.keys(e).map(n=>{const r=e[n];return Array.isArray(r)?r.map(i=>`${aa(n)}=${aa(i)}`).join("&"):`${aa(n)}=${aa(r)}`}).filter(n=>!!n);return t.length?`?${t.join("&")}`:""}(t.queryParams);return`${n}${r}${"string"==typeof t.fragment?`#${function UR(e){return encodeURI(e)}(t.fragment)}`:""}`}}const HR=new ZD;function sa(e){return e.segments.map(t=>JD(t)).join("/")}function so(e,t){if(!e.hasChildren())return sa(e);if(t){const n=e.children[B]?so(e.children[B],!1):"",r=[];return Te(e.children,(i,o)=>{o!==B&&r.push(`${o}:${so(i,!1)}`)}),r.length>0?`${n}(${r.join("//")})`:n}{const n=function BR(e,t){let n=[];return Te(e.children,(r,i)=>{i===B&&(n=n.concat(t(r,i)))}),Te(e.children,(r,i)=>{i!==B&&(n=n.concat(t(r,i)))}),n}(e,(r,i)=>i===B?[so(e.children[B],!1)]:[`${i}:${so(r,!1)}`]);return 1===Object.keys(e.children).length&&null!=e.children[B]?`${sa(e)}/${n[0]}`:`${sa(e)}/(${n.join("//")})`}}function KD(e){return encodeURIComponent(e).replace(/%40/g,"@").replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",")}function aa(e){return KD(e).replace(/%3B/gi,";")}function ad(e){return KD(e).replace(/\(/g,"%28").replace(/\)/g,"%29").replace(/%26/gi,"&")}function ua(e){return decodeURIComponent(e)}function XD(e){return ua(e.replace(/\+/g,"%20"))}function JD(e){return`${ad(e.path)}${function $R(e){return Object.keys(e).map(t=>`;${ad(t)}=${ad(e[t])}`).join("")}(e.parameters)}`}const qR=/^[^\/()?;=#]+/;function la(e){const t=e.match(qR);return t?t[0]:""}const zR=/^[^=?&#]+/,QR=/^[^&#]+/;class ZR{constructor(t){this.url=t,this.remaining=t}parseRootSegment(){return this.consumeOptional("/"),""===this.remaining||this.peekStartsWith("?")||this.peekStartsWith("#")?new G([],{}):new G([],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 n={};this.peekStartsWith("/(")&&(this.capture("/"),n=this.parseParens(!0));let r={};return this.peekStartsWith("(")&&(r=this.parseParens(!1)),(t.length>0||Object.keys(n).length>0)&&(r[B]=new G(t,n)),r}parseSegment(){const t=la(this.remaining);if(""===t&&this.peekStartsWith(";"))throw new Error(`Empty path url segment cannot have parameters: '${this.remaining}'.`);return this.capture(t),new oo(ua(t),this.parseMatrixParams())}parseMatrixParams(){const t={};for(;this.consumeOptional(";");)this.parseParam(t);return t}parseParam(t){const n=la(this.remaining);if(!n)return;this.capture(n);let r="";if(this.consumeOptional("=")){const i=la(this.remaining);i&&(r=i,this.capture(r))}t[ua(n)]=ua(r)}parseQueryParam(t){const n=function WR(e){const t=e.match(zR);return t?t[0]:""}(this.remaining);if(!n)return;this.capture(n);let r="";if(this.consumeOptional("=")){const s=function YR(e){const t=e.match(QR);return t?t[0]:""}(this.remaining);s&&(r=s,this.capture(r))}const i=XD(n),o=XD(r);if(t.hasOwnProperty(i)){let s=t[i];Array.isArray(s)||(s=[s],t[i]=s),s.push(o)}else t[i]=o}parseParens(t){const n={};for(this.capture("(");!this.consumeOptional(")")&&this.remaining.length>0;){const r=la(this.remaining),i=this.remaining[r.length];if("/"!==i&&")"!==i&&";"!==i)throw new Error(`Cannot parse url '${this.url}'`);let o;r.indexOf(":")>-1?(o=r.substr(0,r.indexOf(":")),this.capture(o),this.capture(":")):t&&(o=B);const s=this.parseChildren();n[o]=1===Object.keys(s).length?s[B]:new G([],s),this.consumeOptional("//")}return n}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 e_{constructor(t){this._root=t}get root(){return this._root.value}parent(t){const n=this.pathFromRoot(t);return n.length>1?n[n.length-2]:null}children(t){const n=ud(t,this._root);return n?n.children.map(r=>r.value):[]}firstChild(t){const n=ud(t,this._root);return n&&n.children.length>0?n.children[0].value:null}siblings(t){const n=ld(t,this._root);return n.length<2?[]:n[n.length-2].children.map(i=>i.value).filter(i=>i!==t)}pathFromRoot(t){return ld(t,this._root).map(n=>n.value)}}function ud(e,t){if(e===t.value)return t;for(const n of t.children){const r=ud(e,n);if(r)return r}return null}function ld(e,t){if(e===t.value)return[t];for(const n of t.children){const r=ld(e,n);if(r.length)return r.unshift(t),r}return[]}class pn{constructor(t,n){this.value=t,this.children=n}toString(){return`TreeNode(${this.value})`}}function Yr(e){const t={};return e&&e.children.forEach(n=>t[n.value.outlet]=n),t}class t_ extends e_{constructor(t,n){super(t),this.snapshot=n,cd(this,t)}toString(){return this.snapshot.toString()}}function n_(e,t){const n=function KR(e,t){const s=new ca([],{},{},"",{},B,t,null,e.root,-1,{});return new i_("",new pn(s,[]))}(e,t),r=new Ot([new oo("",{})]),i=new Ot({}),o=new Ot({}),s=new Ot({}),a=new Ot(""),u=new Zr(r,i,s,a,o,B,t,n.root);return u.snapshot=n.root,new t_(new pn(u,[]),n)}class Zr{constructor(t,n,r,i,o,s,a,u){this.url=t,this.params=n,this.queryParams=r,this.fragment=i,this.data=o,this.outlet=s,this.component=a,this._futureSnapshot=u}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(ee(t=>Qr(t)))),this._paramMap}get queryParamMap(){return this._queryParamMap||(this._queryParamMap=this.queryParams.pipe(ee(t=>Qr(t)))),this._queryParamMap}toString(){return this.snapshot?this.snapshot.toString():`Future(${this._futureSnapshot})`}}function r_(e,t="emptyOnly"){const n=e.pathFromRoot;let r=0;if("always"!==t)for(r=n.length-1;r>=1;){const i=n[r],o=n[r-1];if(i.routeConfig&&""===i.routeConfig.path)r--;else{if(o.component)break;r--}}return function XR(e){return e.reduce((t,n)=>({params:Object.assign(Object.assign({},t.params),n.params),data:Object.assign(Object.assign({},t.data),n.data),resolve:Object.assign(Object.assign({},t.resolve),n._resolvedData)}),{params:{},data:{},resolve:{}})}(n.slice(r))}class ca{constructor(t,n,r,i,o,s,a,u,l,c,d){this.url=t,this.params=n,this.queryParams=r,this.fragment=i,this.data=o,this.outlet=s,this.component=a,this.routeConfig=u,this._urlSegment=l,this._lastPathIndex=c,this._resolve=d}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=Qr(this.params)),this._paramMap}get queryParamMap(){return this._queryParamMap||(this._queryParamMap=Qr(this.queryParams)),this._queryParamMap}toString(){return`Route(url:'${this.url.map(r=>r.toString()).join("/")}', path:'${this.routeConfig?this.routeConfig.path:""}')`}}class i_ extends e_{constructor(t,n){super(n),this.url=t,cd(this,n)}toString(){return o_(this._root)}}function cd(e,t){t.value._routerState=e,t.children.forEach(n=>cd(e,n))}function o_(e){const t=e.children.length>0?` { ${e.children.map(o_).join(", ")} } `:"";return`${e.value}${t}`}function dd(e){if(e.snapshot){const t=e.snapshot,n=e._futureSnapshot;e.snapshot=n,Yt(t.queryParams,n.queryParams)||e.queryParams.next(n.queryParams),t.fragment!==n.fragment&&e.fragment.next(n.fragment),Yt(t.params,n.params)||e.params.next(n.params),function OR(e,t){if(e.length!==t.length)return!1;for(let n=0;n<e.length;++n)if(!Yt(e[n],t[n]))return!1;return!0}(t.url,n.url)||e.url.next(n.url),Yt(t.data,n.data)||e.data.next(n.data)}else e.snapshot=e._futureSnapshot,e.data.next(e._futureSnapshot.data)}function fd(e,t){const n=Yt(e.params,t.params)&&function jR(e,t){return Xn(e,t)&&e.every((n,r)=>Yt(n.parameters,t[r].parameters))}(e.url,t.url);return n&&!(!e.parent!=!t.parent)&&(!e.parent||fd(e.parent,t.parent))}function ao(e,t,n){if(n&&e.shouldReuseRoute(t.value,n.value.snapshot)){const r=n.value;r._futureSnapshot=t.value;const i=function eF(e,t,n){return t.children.map(r=>{for(const i of n.children)if(e.shouldReuseRoute(r.value,i.value.snapshot))return ao(e,r,i);return ao(e,r)})}(e,t,n);return new pn(r,i)}{if(e.shouldAttach(t.value)){const o=e.retrieve(t.value);if(null!==o){const s=o.route;return s.value._futureSnapshot=t.value,s.children=t.children.map(a=>ao(e,a)),s}}const r=function tF(e){return new Zr(new Ot(e.url),new Ot(e.params),new Ot(e.queryParams),new Ot(e.fragment),new Ot(e.data),e.outlet,e.component,e)}(t.value),i=t.children.map(o=>ao(e,o));return new pn(r,i)}}function da(e){return"object"==typeof e&&null!=e&&!e.outlets&&!e.segmentPath}function uo(e){return"object"==typeof e&&null!=e&&e.outlets}function hd(e,t,n,r,i){let o={};if(r&&Te(r,(a,u)=>{o[u]=Array.isArray(a)?a.map(l=>`${l}`):`${a}`}),e===t)return new Kn(n,o,i);const s=s_(e,t,n);return new Kn(s,o,i)}function s_(e,t,n){const r={};return Te(e.children,(i,o)=>{r[o]=i===t?n:s_(i,t,n)}),new G(e.segments,r)}class a_{constructor(t,n,r){if(this.isAbsolute=t,this.numberOfDoubleDots=n,this.commands=r,t&&r.length>0&&da(r[0]))throw new Error("Root segment cannot have matrix parameters");const i=r.find(uo);if(i&&i!==$D(r))throw new Error("{outlets:{}} has to be the last command")}toRoot(){return this.isAbsolute&&1===this.commands.length&&"/"==this.commands[0]}}class pd{constructor(t,n,r){this.segmentGroup=t,this.processChildren=n,this.index=r}}function u_(e,t,n){if(e||(e=new G([],{})),0===e.segments.length&&e.hasChildren())return fa(e,t,n);const r=function aF(e,t,n){let r=0,i=t;const o={match:!1,pathIndex:0,commandIndex:0};for(;i<e.segments.length;){if(r>=n.length)return o;const s=e.segments[i],a=n[r];if(uo(a))break;const u=`${a}`,l=r<n.length-1?n[r+1]:null;if(i>0&&void 0===u)break;if(u&&l&&"object"==typeof l&&void 0===l.outlets){if(!c_(u,l,s))return o;r+=2}else{if(!c_(u,{},s))return o;r++}i++}return{match:!0,pathIndex:i,commandIndex:r}}(e,t,n),i=n.slice(r.commandIndex);if(r.match&&r.pathIndex<e.segments.length){const o=new G(e.segments.slice(0,r.pathIndex),{});return o.children[B]=new G(e.segments.slice(r.pathIndex),e.children),fa(o,0,i)}return r.match&&0===i.length?new G(e.segments,{}):r.match&&!e.hasChildren()?gd(e,t,n):r.match?fa(e,0,i):gd(e,t,n)}function fa(e,t,n){if(0===n.length)return new G(e.segments,{});{const r=function sF(e){return uo(e[0])?e[0].outlets:{[B]:e}}(n),i={};return Te(r,(o,s)=>{"string"==typeof o&&(o=[o]),null!==o&&(i[s]=u_(e.children[s],t,o))}),Te(e.children,(o,s)=>{void 0===r[s]&&(i[s]=o)}),new G(e.segments,i)}}function gd(e,t,n){const r=e.segments.slice(0,t);let i=0;for(;i<n.length;){const o=n[i];if(uo(o)){const u=uF(o.outlets);return new G(r,u)}if(0===i&&da(n[0])){r.push(new oo(e.segments[t].path,l_(n[0]))),i++;continue}const s=uo(o)?o.outlets[B]:`${o}`,a=i<n.length-1?n[i+1]:null;s&&a&&da(a)?(r.push(new oo(s,l_(a))),i+=2):(r.push(new oo(s,{})),i++)}return new G(r,{})}function uF(e){const t={};return Te(e,(n,r)=>{"string"==typeof n&&(n=[n]),null!==n&&(t[r]=gd(new G([],{}),0,n))}),t}function l_(e){const t={};return Te(e,(n,r)=>t[r]=`${n}`),t}function c_(e,t,n){return e==n.path&&Yt(t,n.parameters)}class cF{constructor(t,n,r,i){this.routeReuseStrategy=t,this.futureState=n,this.currState=r,this.forwardEvent=i}activate(t){const n=this.futureState._root,r=this.currState?this.currState._root:null;this.deactivateChildRoutes(n,r,t),dd(this.futureState.root),this.activateChildRoutes(n,r,t)}deactivateChildRoutes(t,n,r){const i=Yr(n);t.children.forEach(o=>{const s=o.value.outlet;this.deactivateRoutes(o,i[s],r),delete i[s]}),Te(i,(o,s)=>{this.deactivateRouteAndItsChildren(o,r)})}deactivateRoutes(t,n,r){const i=t.value,o=n?n.value:null;if(i===o)if(i.component){const s=r.getContext(i.outlet);s&&this.deactivateChildRoutes(t,n,s.children)}else this.deactivateChildRoutes(t,n,r);else o&&this.deactivateRouteAndItsChildren(n,r)}deactivateRouteAndItsChildren(t,n){t.value.component&&this.routeReuseStrategy.shouldDetach(t.value.snapshot)?this.detachAndStoreRouteSubtree(t,n):this.deactivateRouteAndOutlet(t,n)}detachAndStoreRouteSubtree(t,n){const r=n.getContext(t.value.outlet),i=r&&t.value.component?r.children:n,o=Yr(t);for(const s of Object.keys(o))this.deactivateRouteAndItsChildren(o[s],i);if(r&&r.outlet){const s=r.outlet.detach(),a=r.children.onOutletDeactivated();this.routeReuseStrategy.store(t.value.snapshot,{componentRef:s,route:t,contexts:a})}}deactivateRouteAndOutlet(t,n){const r=n.getContext(t.value.outlet),i=r&&t.value.component?r.children:n,o=Yr(t);for(const s of Object.keys(o))this.deactivateRouteAndItsChildren(o[s],i);r&&r.outlet&&(r.outlet.deactivate(),r.children.onOutletDeactivated(),r.attachRef=null,r.resolver=null,r.route=null)}activateChildRoutes(t,n,r){const i=Yr(n);t.children.forEach(o=>{this.activateRoutes(o,i[o.value.outlet],r),this.forwardEvent(new xR(o.value.snapshot))}),t.children.length&&this.forwardEvent(new IR(t.value.snapshot))}activateRoutes(t,n,r){const i=t.value,o=n?n.value:null;if(dd(i),i===o)if(i.component){const s=r.getOrCreateContext(i.outlet);this.activateChildRoutes(t,n,s.children)}else this.activateChildRoutes(t,n,r);else if(i.component){const s=r.getOrCreateContext(i.outlet);if(this.routeReuseStrategy.shouldAttach(i.snapshot)){const a=this.routeReuseStrategy.retrieve(i.snapshot);this.routeReuseStrategy.store(i.snapshot,null),s.children.onOutletReAttached(a.contexts),s.attachRef=a.componentRef,s.route=a.route.value,s.outlet&&s.outlet.attach(a.componentRef,a.route.value),dd(a.route.value),this.activateChildRoutes(t,null,s.children)}else{const a=function dF(e){for(let t=e.parent;t;t=t.parent){const n=t.routeConfig;if(n&&n._loadedConfig)return n._loadedConfig;if(n&&n.component)return null}return null}(i.snapshot),u=a?a.module.componentFactoryResolver:null;s.attachRef=null,s.route=i,s.resolver=u,s.outlet&&s.outlet.activateWith(i,u),this.activateChildRoutes(t,null,s.children)}}else this.activateChildRoutes(t,null,r)}}class md{constructor(t,n){this.routes=t,this.module=n}}function Rn(e){return"function"==typeof e}function Jn(e){return e instanceof Kn}const lo=Symbol("INITIAL_VALUE");function co(){return Zn(e=>function fR(...e){const t=ti(e),n=rf(e),{args:r,keys:i}=Cv(e);if(0===r.length)return Me([],t);const o=new pe(function hR(e,t,n=Vn){return r=>{xD(t,()=>{const{length:i}=e,o=new Array(i);let s=i,a=i;for(let u=0;u<i;u++)xD(t,()=>{const l=Me(e[u],t);let c=!1;l.subscribe(Ee(r,d=>{o[u]=d,c||(c=!0,a--),a||r.next(n(o.slice()))},()=>{--s||r.complete()}))},r)},r)}}(r,t,i?s=>Ev(i,s):Vn));return n?o.pipe(wv(n)):o}(e.map(t=>t.pipe(Co(1),function mR(...e){const t=ti(e);return Se((n,r)=>{(t?rd(e,n,t):rd(e,n)).subscribe(r)})}(lo)))).pipe(FD((t,n)=>{let r=!1;return n.reduce((i,o,s)=>i!==lo?i:(o===lo&&(r=!0),r||!1!==o&&s!==n.length-1&&!Jn(o)?i:o),t)},lo),zr(t=>t!==lo),ee(t=>Jn(t)?t:!0===t),Co(1)))}class yF{constructor(){this.outlet=null,this.route=null,this.resolver=null,this.children=new fo,this.attachRef=null}}class fo{constructor(){this.contexts=new Map}onChildOutletCreated(t,n){const r=this.getOrCreateContext(t);r.outlet=n,this.contexts.set(t,r)}onChildOutletDestroyed(t){const n=this.getContext(t);n&&(n.outlet=null,n.attachRef=null)}onOutletDeactivated(){const t=this.contexts;return this.contexts=new Map,t}onOutletReAttached(t){this.contexts=t}getOrCreateContext(t){let n=this.getContext(t);return n||(n=new yF,this.contexts.set(t,n)),n}getContext(t){return this.contexts.get(t)||null}}let yd=(()=>{class e{constructor(n,r,i,o,s){this.parentContexts=n,this.location=r,this.resolver=i,this.changeDetector=s,this.activated=null,this._activatedRoute=null,this.activateEvents=new de,this.deactivateEvents=new de,this.attachEvents=new de,this.detachEvents=new de,this.name=o||B,n.onChildOutletCreated(this.name,this)}ngOnDestroy(){this.parentContexts.onChildOutletDestroyed(this.name)}ngOnInit(){if(!this.activated){const n=this.parentContexts.getContext(this.name);n&&n.route&&(n.attachRef?this.attach(n.attachRef,n.route):this.activateWith(n.route,n.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 n=this.activated;return this.activated=null,this._activatedRoute=null,this.detachEvents.emit(n.instance),n}attach(n,r){this.activated=n,this._activatedRoute=r,this.location.insert(n.hostView),this.attachEvents.emit(n.instance)}deactivate(){if(this.activated){const n=this.component;this.activated.destroy(),this.activated=null,this._activatedRoute=null,this.deactivateEvents.emit(n)}}activateWith(n,r){if(this.isActivated)throw new Error("Cannot activate an already activated outlet");this._activatedRoute=n;const s=(r=r||this.resolver).resolveComponentFactory(n._futureSnapshot.routeConfig.component),a=this.parentContexts.getOrCreateContext(this.name).children,u=new vF(n,a,this.location.injector);this.activated=this.location.createComponent(s,this.location.length,u),this.changeDetector.markForCheck(),this.activateEvents.emit(this.activated.instance)}}return e.\u0275fac=function(n){return new(n||e)(v(fo),v(xt),v(Hi),function fi(e){return function xw(e,t){if("class"===t)return e.classes;if("style"===t)return e.styles;const n=e.attrs;if(n){const r=n.length;let i=0;for(;i<r;){const o=n[i];if(kf(o))break;if(0===o)i+=2;else if("number"==typeof o)for(i++;i<r&&"string"==typeof n[i];)i++;else{if(o===t)return n[i+1];i+=2}}}return null}(De(),e)}("name"),v(Ms))},e.\u0275dir=I({type:e,selectors:[["router-outlet"]],outputs:{activateEvents:"activate",deactivateEvents:"deactivate",attachEvents:"attach",detachEvents:"detach"},exportAs:["outlet"]}),e})();class vF{constructor(t,n,r){this.route=t,this.childContexts=n,this.parent=r}get(t,n){return t===Zr?this.route:t===fo?this.childContexts:this.parent.get(t,n)}}let d_=(()=>{class e{}return e.\u0275fac=function(n){return new(n||e)},e.\u0275cmp=ri({type:e,selectors:[["ng-component"]],decls:1,vars:0,template:function(n,r){1&n&&Mn(0,"router-outlet")},directives:[yd],encapsulation:2}),e})();function f_(e,t=""){for(let n=0;n<e.length;n++){const r=e[n];DF(r,_F(t,r))}}function DF(e,t){e.children&&f_(e.children,t)}function _F(e,t){return t?e||t.path?e&&!t.path?`${e}/`:!e&&t.path?t.path:`${e}/${t.path}`:"":e}function vd(e){const t=e.children&&e.children.map(vd),n=t?Object.assign(Object.assign({},e),{children:t}):Object.assign({},e);return!n.component&&(t||n.loadChildren)&&n.outlet&&n.outlet!==B&&(n.component=d_),n}function Dt(e){return e.outlet||B}function h_(e,t){const n=e.filter(r=>Dt(r)===t);return n.push(...e.filter(r=>Dt(r)!==t)),n}const p_={matched:!1,consumedSegments:[],remainingSegments:[],parameters:{},positionalParamSegments:{}};function ha(e,t,n){var r;if(""===t.path)return"full"===t.pathMatch&&(e.hasChildren()||n.length>0)?Object.assign({},p_):{matched:!0,consumedSegments:[],remainingSegments:n,parameters:{},positionalParamSegments:{}};const o=(t.matcher||FR)(n,e,t);if(!o)return Object.assign({},p_);const s={};Te(o.posParams,(u,l)=>{s[l]=u.path});const a=o.consumed.length>0?Object.assign(Object.assign({},s),o.consumed[o.consumed.length-1].parameters):s;return{matched:!0,consumedSegments:o.consumed,remainingSegments:n.slice(o.consumed.length),parameters:a,positionalParamSegments:null!==(r=o.posParams)&&void 0!==r?r:{}}}function pa(e,t,n,r,i="corrected"){if(n.length>0&&function EF(e,t,n){return n.some(r=>ga(e,t,r)&&Dt(r)!==B)}(e,n,r)){const s=new G(t,function wF(e,t,n,r){const i={};i[B]=r,r._sourceSegment=e,r._segmentIndexShift=t.length;for(const o of n)if(""===o.path&&Dt(o)!==B){const s=new G([],{});s._sourceSegment=e,s._segmentIndexShift=t.length,i[Dt(o)]=s}return i}(e,t,r,new G(n,e.children)));return s._sourceSegment=e,s._segmentIndexShift=t.length,{segmentGroup:s,slicedSegments:[]}}if(0===n.length&&function bF(e,t,n){return n.some(r=>ga(e,t,r))}(e,n,r)){const s=new G(e.segments,function CF(e,t,n,r,i,o){const s={};for(const a of r)if(ga(e,n,a)&&!i[Dt(a)]){const u=new G([],{});u._sourceSegment=e,u._segmentIndexShift="legacy"===o?e.segments.length:t.length,s[Dt(a)]=u}return Object.assign(Object.assign({},i),s)}(e,t,n,r,e.children,i));return s._sourceSegment=e,s._segmentIndexShift=t.length,{segmentGroup:s,slicedSegments:n}}const o=new G(e.segments,e.children);return o._sourceSegment=e,o._segmentIndexShift=t.length,{segmentGroup:o,slicedSegments:n}}function ga(e,t,n){return(!(e.hasChildren()||t.length>0)||"full"!==n.pathMatch)&&""===n.path}function g_(e,t,n,r){return!!(Dt(e)===r||r!==B&&ga(t,n,e))&&("**"===e.path||ha(t,e,n).matched)}function m_(e,t,n){return 0===t.length&&!e.children[n]}class ma{constructor(t){this.segmentGroup=t||null}}class y_{constructor(t){this.urlTree=t}}function ho(e){return ra(new ma(e))}function v_(e){return ra(new y_(e))}class IF{constructor(t,n,r,i,o){this.configLoader=n,this.urlSerializer=r,this.urlTree=i,this.config=o,this.allowRedirects=!0,this.ngModule=t.get(ln)}apply(){const t=pa(this.urlTree.root,[],[],this.config).segmentGroup,n=new G(t.segments,t.children);return this.expandSegmentGroup(this.ngModule,this.config,n,B).pipe(ee(o=>this.createUrlTree(Dd(o),this.urlTree.queryParams,this.urlTree.fragment))).pipe(Nn(o=>{if(o instanceof y_)return this.allowRedirects=!1,this.match(o.urlTree);throw o instanceof ma?this.noMatchError(o):o}))}match(t){return this.expandSegmentGroup(this.ngModule,this.config,t.root,B).pipe(ee(i=>this.createUrlTree(Dd(i),t.queryParams,t.fragment))).pipe(Nn(i=>{throw i instanceof ma?this.noMatchError(i):i}))}noMatchError(t){return new Error(`Cannot match any routes. URL Segment: '${t.segmentGroup}'`)}createUrlTree(t,n,r){const i=t.segments.length>0?new G([],{[B]:t}):t;return new Kn(i,n,r)}expandSegmentGroup(t,n,r,i){return 0===r.segments.length&&r.hasChildren()?this.expandChildren(t,n,r).pipe(ee(o=>new G([],o))):this.expandSegment(t,r,n,r.segments,i,!0)}expandChildren(t,n,r){const i=[];for(const o of Object.keys(r.children))"primary"===o?i.unshift(o):i.push(o);return Me(i).pipe(ro(o=>{const s=r.children[o],a=h_(n,o);return this.expandSegmentGroup(t,a,s,o).pipe(ee(u=>({segment:u,outlet:o})))}),FD((o,s)=>(o[s.outlet]=s.segment,o),{}),function DR(e,t){const n=arguments.length>=2;return r=>r.pipe(e?zr((i,o)=>e(i,o,r)):Vn,id(1),n?PD(t):OD(()=>new ia))}())}expandSegment(t,n,r,i,o,s){return Me(r).pipe(ro(a=>this.expandSegmentAgainstRoute(t,n,r,a,i,o,s).pipe(Nn(l=>{if(l instanceof ma)return V(null);throw l}))),Wr(a=>!!a),Nn((a,u)=>{if(a instanceof ia||"EmptyError"===a.name)return m_(n,i,o)?V(new G([],{})):ho(n);throw a}))}expandSegmentAgainstRoute(t,n,r,i,o,s,a){return g_(i,n,o,s)?void 0===i.redirectTo?this.matchSegmentAgainstRoute(t,n,i,o,s):a&&this.allowRedirects?this.expandSegmentAgainstRouteUsingRedirect(t,n,r,i,o,s):ho(n):ho(n)}expandSegmentAgainstRouteUsingRedirect(t,n,r,i,o,s){return"**"===i.path?this.expandWildCardWithParamsAgainstRouteUsingRedirect(t,r,i,s):this.expandRegularSegmentAgainstRouteUsingRedirect(t,n,r,i,o,s)}expandWildCardWithParamsAgainstRouteUsingRedirect(t,n,r,i){const o=this.applyRedirectCommands([],r.redirectTo,{});return r.redirectTo.startsWith("/")?v_(o):this.lineralizeSegments(r,o).pipe(be(s=>{const a=new G(s,{});return this.expandSegment(t,a,n,s,i,!1)}))}expandRegularSegmentAgainstRouteUsingRedirect(t,n,r,i,o,s){const{matched:a,consumedSegments:u,remainingSegments:l,positionalParamSegments:c}=ha(n,i,o);if(!a)return ho(n);const d=this.applyRedirectCommands(u,i.redirectTo,c);return i.redirectTo.startsWith("/")?v_(d):this.lineralizeSegments(i,d).pipe(be(f=>this.expandSegment(t,n,r,f.concat(l),s,!1)))}matchSegmentAgainstRoute(t,n,r,i,o){if("**"===r.path)return r.loadChildren?(r._loadedConfig?V(r._loadedConfig):this.configLoader.load(t.injector,r)).pipe(ee(d=>(r._loadedConfig=d,new G(i,{})))):V(new G(i,{}));const{matched:s,consumedSegments:a,remainingSegments:u}=ha(n,r,i);return s?this.getChildConfig(t,r,i).pipe(be(c=>{const d=c.module,f=c.routes,{segmentGroup:h,slicedSegments:p}=pa(n,a,u,f),m=new G(h.segments,h.children);if(0===p.length&&m.hasChildren())return this.expandChildren(d,f,m).pipe(ee(E=>new G(a,E)));if(0===f.length&&0===p.length)return V(new G(a,{}));const D=Dt(r)===o;return this.expandSegment(d,m,f,p,D?B:o,!0).pipe(ee(g=>new G(a.concat(g.segments),g.children)))})):ho(n)}getChildConfig(t,n,r){return n.children?V(new md(n.children,t)):n.loadChildren?void 0!==n._loadedConfig?V(n._loadedConfig):this.runCanLoadGuards(t.injector,n,r).pipe(be(i=>i?this.configLoader.load(t.injector,n).pipe(ee(o=>(n._loadedConfig=o,o))):function AF(e){return ra(sd(`Cannot load children because the guard of the route "path: '${e.path}'" returned false`))}(n))):V(new md([],t))}runCanLoadGuards(t,n,r){const i=n.canLoad;return i&&0!==i.length?V(i.map(s=>{const a=t.get(s);let u;if(function hF(e){return e&&Rn(e.canLoad)}(a))u=a.canLoad(n,r);else{if(!Rn(a))throw new Error("Invalid CanLoad guard");u=a(n,r)}return Zt(u)})).pipe(co(),it(s=>{if(!Jn(s))return;const a=sd(`Redirecting to "${this.urlSerializer.serialize(s)}"`);throw a.url=s,a}),ee(s=>!0===s)):V(!0)}lineralizeSegments(t,n){let r=[],i=n.root;for(;;){if(r=r.concat(i.segments),0===i.numberOfChildren)return V(r);if(i.numberOfChildren>1||!i.children[B])return ra(new Error(`Only absolute redirects can have named outlets. redirectTo: '${t.redirectTo}'`));i=i.children[B]}}applyRedirectCommands(t,n,r){return this.applyRedirectCreatreUrlTree(n,this.urlSerializer.parse(n),t,r)}applyRedirectCreatreUrlTree(t,n,r,i){const o=this.createSegmentGroup(t,n.root,r,i);return new Kn(o,this.createQueryParams(n.queryParams,this.urlTree.queryParams),n.fragment)}createQueryParams(t,n){const r={};return Te(t,(i,o)=>{if("string"==typeof i&&i.startsWith(":")){const a=i.substring(1);r[o]=n[a]}else r[o]=i}),r}createSegmentGroup(t,n,r,i){const o=this.createSegments(t,n.segments,r,i);let s={};return Te(n.children,(a,u)=>{s[u]=this.createSegmentGroup(t,a,r,i)}),new G(o,s)}createSegments(t,n,r,i){return n.map(o=>o.path.startsWith(":")?this.findPosParam(t,o,i):this.findOrReturn(o,r))}findPosParam(t,n,r){const i=r[n.path.substring(1)];if(!i)throw new Error(`Cannot redirect to '${t}'. Cannot find '${n.path}'.`);return i}findOrReturn(t,n){let r=0;for(const i of n){if(i.path===t.path)return n.splice(r),i;r++}return t}}function Dd(e){const t={};for(const r of Object.keys(e.children)){const o=Dd(e.children[r]);(o.segments.length>0||o.hasChildren())&&(t[r]=o)}return function TF(e){if(1===e.numberOfChildren&&e.children[B]){const t=e.children[B];return new G(e.segments.concat(t.segments),t.children)}return e}(new G(e.segments,t))}class D_{constructor(t){this.path=t,this.route=this.path[this.path.length-1]}}class ya{constructor(t,n){this.component=t,this.route=n}}function NF(e,t,n){const r=e._root;return po(r,t?t._root:null,n,[r.value])}function va(e,t,n){const r=function FF(e){if(!e)return null;for(let t=e.parent;t;t=t.parent){const n=t.routeConfig;if(n&&n._loadedConfig)return n._loadedConfig}return null}(t);return(r?r.module.injector:n).get(e)}function po(e,t,n,r,i={canDeactivateChecks:[],canActivateChecks:[]}){const o=Yr(t);return e.children.forEach(s=>{(function OF(e,t,n,r,i={canDeactivateChecks:[],canActivateChecks:[]}){const o=e.value,s=t?t.value:null,a=n?n.getContext(e.value.outlet):null;if(s&&o.routeConfig===s.routeConfig){const u=function PF(e,t,n){if("function"==typeof n)return n(e,t);switch(n){case"pathParamsChange":return!Xn(e.url,t.url);case"pathParamsOrQueryParamsChange":return!Xn(e.url,t.url)||!Yt(e.queryParams,t.queryParams);case"always":return!0;case"paramsOrQueryParamsChange":return!fd(e,t)||!Yt(e.queryParams,t.queryParams);default:return!fd(e,t)}}(s,o,o.routeConfig.runGuardsAndResolvers);u?i.canActivateChecks.push(new D_(r)):(o.data=s.data,o._resolvedData=s._resolvedData),po(e,t,o.component?a?a.children:null:n,r,i),u&&a&&a.outlet&&a.outlet.isActivated&&i.canDeactivateChecks.push(new ya(a.outlet.component,s))}else s&&go(t,a,i),i.canActivateChecks.push(new D_(r)),po(e,null,o.component?a?a.children:null:n,r,i)})(s,o[s.value.outlet],n,r.concat([s.value]),i),delete o[s.value.outlet]}),Te(o,(s,a)=>go(s,n.getContext(a),i)),i}function go(e,t,n){const r=Yr(e),i=e.value;Te(r,(o,s)=>{go(o,i.component?t?t.children.getContext(s):null:t,n)}),n.canDeactivateChecks.push(new ya(i.component&&t&&t.outlet&&t.outlet.isActivated?t.outlet.component:null,i))}class GF{}function __(e){return new pe(t=>t.error(e))}class zF{constructor(t,n,r,i,o,s){this.rootComponentType=t,this.config=n,this.urlTree=r,this.url=i,this.paramsInheritanceStrategy=o,this.relativeLinkResolution=s}recognize(){const t=pa(this.urlTree.root,[],[],this.config.filter(s=>void 0===s.redirectTo),this.relativeLinkResolution).segmentGroup,n=this.processSegmentGroup(this.config,t,B);if(null===n)return null;const r=new ca([],Object.freeze({}),Object.freeze(Object.assign({},this.urlTree.queryParams)),this.urlTree.fragment,{},B,this.rootComponentType,null,this.urlTree.root,-1,{}),i=new pn(r,n),o=new i_(this.url,i);return this.inheritParamsAndData(o._root),o}inheritParamsAndData(t){const n=t.value,r=r_(n,this.paramsInheritanceStrategy);n.params=Object.freeze(r.params),n.data=Object.freeze(r.data),t.children.forEach(i=>this.inheritParamsAndData(i))}processSegmentGroup(t,n,r){return 0===n.segments.length&&n.hasChildren()?this.processChildren(t,n):this.processSegment(t,n,n.segments,r)}processChildren(t,n){const r=[];for(const o of Object.keys(n.children)){const s=n.children[o],a=h_(t,o),u=this.processSegmentGroup(a,s,o);if(null===u)return null;r.push(...u)}const i=C_(r);return function WF(e){e.sort((t,n)=>t.value.outlet===B?-1:n.value.outlet===B?1:t.value.outlet.localeCompare(n.value.outlet))}(i),i}processSegment(t,n,r,i){for(const o of t){const s=this.processSegmentAgainstRoute(o,n,r,i);if(null!==s)return s}return m_(n,r,i)?[]:null}processSegmentAgainstRoute(t,n,r,i){if(t.redirectTo||!g_(t,n,r,i))return null;let o,s=[],a=[];if("**"===t.path){const h=r.length>0?$D(r).parameters:{};o=new ca(r,h,Object.freeze(Object.assign({},this.urlTree.queryParams)),this.urlTree.fragment,b_(t),Dt(t),t.component,t,w_(n),E_(n)+r.length,M_(t))}else{const h=ha(n,t,r);if(!h.matched)return null;s=h.consumedSegments,a=h.remainingSegments,o=new ca(s,h.parameters,Object.freeze(Object.assign({},this.urlTree.queryParams)),this.urlTree.fragment,b_(t),Dt(t),t.component,t,w_(n),E_(n)+s.length,M_(t))}const u=function QF(e){return e.children?e.children:e.loadChildren?e._loadedConfig.routes:[]}(t),{segmentGroup:l,slicedSegments:c}=pa(n,s,a,u.filter(h=>void 0===h.redirectTo),this.relativeLinkResolution);if(0===c.length&&l.hasChildren()){const h=this.processChildren(u,l);return null===h?null:[new pn(o,h)]}if(0===u.length&&0===c.length)return[new pn(o,[])];const d=Dt(t)===i,f=this.processSegment(u,l,c,d?B:i);return null===f?null:[new pn(o,f)]}}function YF(e){const t=e.value.routeConfig;return t&&""===t.path&&void 0===t.redirectTo}function C_(e){const t=[],n=new Set;for(const r of e){if(!YF(r)){t.push(r);continue}const i=t.find(o=>r.value.routeConfig===o.value.routeConfig);void 0!==i?(i.children.push(...r.children),n.add(i)):t.push(r)}for(const r of n){const i=C_(r.children);t.push(new pn(r.value,i))}return t.filter(r=>!n.has(r))}function w_(e){let t=e;for(;t._sourceSegment;)t=t._sourceSegment;return t}function E_(e){let t=e,n=t._segmentIndexShift?t._segmentIndexShift:0;for(;t._sourceSegment;)t=t._sourceSegment,n+=t._segmentIndexShift?t._segmentIndexShift:0;return n-1}function b_(e){return e.data||{}}function M_(e){return e.resolve||{}}function A_(e){return[...Object.keys(e),...Object.getOwnPropertySymbols(e)]}function _d(e){return Zn(t=>{const n=e(t);return n?Me(n).pipe(ee(()=>t)):V(t)})}class rO extends class nO{shouldDetach(t){return!1}store(t,n){}shouldAttach(t){return!1}retrieve(t){return null}shouldReuseRoute(t,n){return t.routeConfig===n.routeConfig}}{}const Cd=new H("ROUTES");class S_{constructor(t,n,r,i){this.injector=t,this.compiler=n,this.onLoadStartListener=r,this.onLoadEndListener=i}load(t,n){if(n._loader$)return n._loader$;this.onLoadStartListener&&this.onLoadStartListener(n);const i=this.loadModuleFactory(n.loadChildren).pipe(ee(o=>{this.onLoadEndListener&&this.onLoadEndListener(n);const s=o.create(t);return new md(UD(s.injector.get(Cd,void 0,x.Self|x.Optional)).map(vd),s)}),Nn(o=>{throw n._loader$=void 0,o}));return n._loader$=new gR(i,()=>new Kt).pipe(RD()),n._loader$}loadModuleFactory(t){return Zt(t()).pipe(be(n=>n instanceof Lm?V(n):Me(this.compiler.compileModuleAsync(n))))}}class oO{shouldProcessUrl(t){return!0}extract(t){return t}merge(t,n){return t}}function sO(e){throw e}function aO(e,t,n){return t.parse("/")}function I_(e,t){return V(null)}const uO={paths:"exact",fragment:"ignored",matrixParams:"ignored",queryParams:"exact"},lO={paths:"subset",fragment:"ignored",matrixParams:"ignored",queryParams:"subset"};let ot=(()=>{class e{constructor(n,r,i,o,s,a,u){this.rootComponentType=n,this.urlSerializer=r,this.rootContexts=i,this.location=o,this.config=u,this.lastSuccessfulNavigation=null,this.currentNavigation=null,this.disposed=!1,this.navigationId=0,this.currentPageId=0,this.isNgZoneEnabled=!1,this.events=new Kt,this.errorHandler=sO,this.malformedUriErrorHandler=aO,this.navigated=!1,this.lastSuccessfulId=-1,this.hooks={beforePreactivation:I_,afterPreactivation:I_},this.urlHandlingStrategy=new oO,this.routeReuseStrategy=new rO,this.onSameUrlNavigation="ignore",this.paramsInheritanceStrategy="emptyOnly",this.urlUpdateStrategy="deferred",this.relativeLinkResolution="corrected",this.canceledNavigationResolution="replace",this.ngModule=s.get(ln),this.console=s.get(_y);const d=s.get(Ie);this.isNgZoneEnabled=d instanceof Ie&&Ie.isInAngularZone(),this.resetConfig(u),this.currentUrlTree=function PR(){return new Kn(new G([],{}),{},null)}(),this.rawUrlTree=this.currentUrlTree,this.browserUrlTree=this.currentUrlTree,this.configLoader=new S_(s,a,f=>this.triggerEvent(new kD(f)),f=>this.triggerEvent(new LD(f))),this.routerState=n_(this.currentUrlTree,this.rootComponentType),this.transitions=new Ot({id:0,targetPageId: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()}get browserPageId(){var n;return null===(n=this.location.getState())||void 0===n?void 0:n.\u0275routerPageId}setupNavigations(n){const r=this.events;return n.pipe(zr(i=>0!==i.id),ee(i=>Object.assign(Object.assign({},i),{extractedUrl:this.urlHandlingStrategy.extract(i.rawUrl)})),Zn(i=>{let o=!1,s=!1;return V(i).pipe(it(a=>{this.currentNavigation={id:a.id,initialUrl:a.currentRawUrl,extractedUrl:a.extractedUrl,trigger:a.source,extras:a.extras,previousNavigation:this.lastSuccessfulNavigation?Object.assign(Object.assign({},this.lastSuccessfulNavigation),{previousNavigation:null}):null}}),Zn(a=>{const u=this.browserUrlTree.toString(),l=!this.navigated||a.extractedUrl.toString()!==u||u!==this.currentUrlTree.toString();if(("reload"===this.onSameUrlNavigation||l)&&this.urlHandlingStrategy.shouldProcessUrl(a.rawUrl))return T_(a.source)&&(this.browserUrlTree=a.extractedUrl),V(a).pipe(Zn(d=>{const f=this.transitions.getValue();return r.next(new od(d.id,this.serializeUrl(d.extractedUrl),d.source,d.restoredState)),f!==this.transitions.getValue()?Jt:Promise.resolve(d)}),function xF(e,t,n,r){return Zn(i=>function SF(e,t,n,r,i){return new IF(e,t,n,r,i).apply()}(e,t,n,i.extractedUrl,r).pipe(ee(o=>Object.assign(Object.assign({},i),{urlAfterRedirects:o}))))}(this.ngModule.injector,this.configLoader,this.urlSerializer,this.config),it(d=>{this.currentNavigation=Object.assign(Object.assign({},this.currentNavigation),{finalUrl:d.urlAfterRedirects})}),function ZF(e,t,n,r,i){return be(o=>function qF(e,t,n,r,i="emptyOnly",o="legacy"){try{const s=new zF(e,t,n,r,i,o).recognize();return null===s?__(new GF):V(s)}catch(s){return __(s)}}(e,t,o.urlAfterRedirects,n(o.urlAfterRedirects),r,i).pipe(ee(s=>Object.assign(Object.assign({},o),{targetSnapshot:s}))))}(this.rootComponentType,this.config,d=>this.serializeUrl(d),this.paramsInheritanceStrategy,this.relativeLinkResolution),it(d=>{if("eager"===this.urlUpdateStrategy){if(!d.extras.skipLocationChange){const h=this.urlHandlingStrategy.merge(d.urlAfterRedirects,d.rawUrl);this.setBrowserUrl(h,d)}this.browserUrlTree=d.urlAfterRedirects}const f=new wR(d.id,this.serializeUrl(d.extractedUrl),this.serializeUrl(d.urlAfterRedirects),d.targetSnapshot);r.next(f)}));if(l&&this.rawUrlTree&&this.urlHandlingStrategy.shouldProcessUrl(this.rawUrlTree)){const{id:f,extractedUrl:h,source:p,restoredState:m,extras:D}=a,_=new od(f,this.serializeUrl(h),p,m);r.next(_);const g=n_(h,this.rootComponentType).snapshot;return V(Object.assign(Object.assign({},a),{targetSnapshot:g,urlAfterRedirects:h,extras:Object.assign(Object.assign({},D),{skipLocationChange:!1,replaceUrl:!1})}))}return this.rawUrlTree=a.rawUrl,a.resolve(null),Jt}),_d(a=>{const{targetSnapshot:u,id:l,extractedUrl:c,rawUrl:d,extras:{skipLocationChange:f,replaceUrl:h}}=a;return this.hooks.beforePreactivation(u,{navigationId:l,appliedUrlTree:c,rawUrlTree:d,skipLocationChange:!!f,replaceUrl:!!h})}),it(a=>{const u=new ER(a.id,this.serializeUrl(a.extractedUrl),this.serializeUrl(a.urlAfterRedirects),a.targetSnapshot);this.triggerEvent(u)}),ee(a=>Object.assign(Object.assign({},a),{guards:NF(a.targetSnapshot,a.currentSnapshot,this.rootContexts)})),function VF(e,t){return be(n=>{const{targetSnapshot:r,currentSnapshot:i,guards:{canActivateChecks:o,canDeactivateChecks:s}}=n;return 0===s.length&&0===o.length?V(Object.assign(Object.assign({},n),{guardsResult:!0})):function kF(e,t,n,r){return Me(e).pipe(be(i=>function $F(e,t,n,r,i){const o=t&&t.routeConfig?t.routeConfig.canDeactivate:null;return o&&0!==o.length?V(o.map(a=>{const u=va(a,t,i);let l;if(function mF(e){return e&&Rn(e.canDeactivate)}(u))l=Zt(u.canDeactivate(e,t,n,r));else{if(!Rn(u))throw new Error("Invalid CanDeactivate guard");l=Zt(u(e,t,n,r))}return l.pipe(Wr())})).pipe(co()):V(!0)}(i.component,i.route,n,t,r)),Wr(i=>!0!==i,!0))}(s,r,i,e).pipe(be(a=>a&&function fF(e){return"boolean"==typeof e}(a)?function LF(e,t,n,r){return Me(t).pipe(ro(i=>rd(function BF(e,t){return null!==e&&t&&t(new SR(e)),V(!0)}(i.route.parent,r),function jF(e,t){return null!==e&&t&&t(new TR(e)),V(!0)}(i.route,r),function UF(e,t,n){const r=t[t.length-1],o=t.slice(0,t.length-1).reverse().map(s=>function RF(e){const t=e.routeConfig?e.routeConfig.canActivateChild:null;return t&&0!==t.length?{node:e,guards:t}:null}(s)).filter(s=>null!==s).map(s=>ND(()=>V(s.guards.map(u=>{const l=va(u,s.node,n);let c;if(function gF(e){return e&&Rn(e.canActivateChild)}(l))c=Zt(l.canActivateChild(r,e));else{if(!Rn(l))throw new Error("Invalid CanActivateChild guard");c=Zt(l(r,e))}return c.pipe(Wr())})).pipe(co())));return V(o).pipe(co())}(e,i.path,n),function HF(e,t,n){const r=t.routeConfig?t.routeConfig.canActivate:null;if(!r||0===r.length)return V(!0);const i=r.map(o=>ND(()=>{const s=va(o,t,n);let a;if(function pF(e){return e&&Rn(e.canActivate)}(s))a=Zt(s.canActivate(t,e));else{if(!Rn(s))throw new Error("Invalid CanActivate guard");a=Zt(s(t,e))}return a.pipe(Wr())}));return V(i).pipe(co())}(e,i.route,n))),Wr(i=>!0!==i,!0))}(r,o,e,t):V(a)),ee(a=>Object.assign(Object.assign({},n),{guardsResult:a})))})}(this.ngModule.injector,a=>this.triggerEvent(a)),it(a=>{if(Jn(a.guardsResult)){const l=sd(`Redirecting to "${this.serializeUrl(a.guardsResult)}"`);throw l.url=a.guardsResult,l}const u=new bR(a.id,this.serializeUrl(a.extractedUrl),this.serializeUrl(a.urlAfterRedirects),a.targetSnapshot,!!a.guardsResult);this.triggerEvent(u)}),zr(a=>!!a.guardsResult||(this.restoreHistory(a),this.cancelNavigationTransition(a,""),!1)),_d(a=>{if(a.guards.canActivateChecks.length)return V(a).pipe(it(u=>{const l=new MR(u.id,this.serializeUrl(u.extractedUrl),this.serializeUrl(u.urlAfterRedirects),u.targetSnapshot);this.triggerEvent(l)}),Zn(u=>{let l=!1;return V(u).pipe(function KF(e,t){return be(n=>{const{targetSnapshot:r,guards:{canActivateChecks:i}}=n;if(!i.length)return V(n);let o=0;return Me(i).pipe(ro(s=>function XF(e,t,n,r){return function JF(e,t,n,r){const i=A_(e);if(0===i.length)return V({});const o={};return Me(i).pipe(be(s=>function eO(e,t,n,r){const i=va(e,t,r);return Zt(i.resolve?i.resolve(t,n):i(t,n))}(e[s],t,n,r).pipe(it(a=>{o[s]=a}))),id(1),be(()=>A_(o).length===i.length?V(o):Jt))}(e._resolve,e,t,r).pipe(ee(o=>(e._resolvedData=o,e.data=Object.assign(Object.assign({},e.data),r_(e,n).resolve),null)))}(s.route,r,e,t)),it(()=>o++),id(1),be(s=>o===i.length?V(n):Jt))})}(this.paramsInheritanceStrategy,this.ngModule.injector),it({next:()=>l=!0,complete:()=>{l||(this.restoreHistory(u),this.cancelNavigationTransition(u,"At least one route resolver didn't emit any value."))}}))}),it(u=>{const l=new AR(u.id,this.serializeUrl(u.extractedUrl),this.serializeUrl(u.urlAfterRedirects),u.targetSnapshot);this.triggerEvent(l)}))}),_d(a=>{const{targetSnapshot:u,id:l,extractedUrl:c,rawUrl:d,extras:{skipLocationChange:f,replaceUrl:h}}=a;return this.hooks.afterPreactivation(u,{navigationId:l,appliedUrlTree:c,rawUrlTree:d,skipLocationChange:!!f,replaceUrl:!!h})}),ee(a=>{const u=function JR(e,t,n){const r=ao(e,t._root,n?n._root:void 0);return new t_(r,t)}(this.routeReuseStrategy,a.targetSnapshot,a.currentRouterState);return Object.assign(Object.assign({},a),{targetRouterState:u})}),it(a=>{this.currentUrlTree=a.urlAfterRedirects,this.rawUrlTree=this.urlHandlingStrategy.merge(a.urlAfterRedirects,a.rawUrl),this.routerState=a.targetRouterState,"deferred"===this.urlUpdateStrategy&&(a.extras.skipLocationChange||this.setBrowserUrl(this.rawUrlTree,a),this.browserUrlTree=a.urlAfterRedirects)}),((e,t,n)=>ee(r=>(new cF(t,r.targetRouterState,r.currentRouterState,n).activate(e),r)))(this.rootContexts,this.routeReuseStrategy,a=>this.triggerEvent(a)),it({next(){o=!0},complete(){o=!0}}),function _R(e){return Se((t,n)=>{try{t.subscribe(n)}finally{n.add(e)}})}(()=>{var a;o||s||this.cancelNavigationTransition(i,`Navigation ID ${i.id} is not equal to the current navigation id ${this.navigationId}`),(null===(a=this.currentNavigation)||void 0===a?void 0:a.id)===i.id&&(this.currentNavigation=null)}),Nn(a=>{if(s=!0,function RR(e){return e&&e[BD]}(a)){const u=Jn(a.url);u||(this.navigated=!0,this.restoreHistory(i,!0));const l=new VD(i.id,this.serializeUrl(i.extractedUrl),a.message);r.next(l),u?setTimeout(()=>{const c=this.urlHandlingStrategy.merge(a.url,this.rawUrlTree),d={skipLocationChange:i.extras.skipLocationChange,replaceUrl:"eager"===this.urlUpdateStrategy||T_(i.source)};this.scheduleNavigation(c,"imperative",null,d,{resolve:i.resolve,reject:i.reject,promise:i.promise})},0):i.resolve(!1)}else{this.restoreHistory(i,!0);const u=new CR(i.id,this.serializeUrl(i.extractedUrl),a);r.next(u);try{i.resolve(this.errorHandler(a))}catch(l){i.reject(l)}}return Jt}))}))}resetRootComponentType(n){this.rootComponentType=n,this.routerState.root.component=this.rootComponentType}setTransition(n){this.transitions.next(Object.assign(Object.assign({},this.transitions.value),n))}initialNavigation(){this.setUpLocationChangeListener(),0===this.navigationId&&this.navigateByUrl(this.location.path(!0),{replaceUrl:!0})}setUpLocationChangeListener(){this.locationSubscription||(this.locationSubscription=this.location.subscribe(n=>{const r="popstate"===n.type?"popstate":"hashchange";"popstate"===r&&setTimeout(()=>{var i;const o={replaceUrl:!0},s=(null===(i=n.state)||void 0===i?void 0:i.navigationId)?n.state:null;if(s){const u=Object.assign({},s);delete u.navigationId,delete u.\u0275routerPageId,0!==Object.keys(u).length&&(o.state=u)}const a=this.parseUrl(n.url);this.scheduleNavigation(a,r,s,o)},0)}))}get url(){return this.serializeUrl(this.currentUrlTree)}getCurrentNavigation(){return this.currentNavigation}triggerEvent(n){this.events.next(n)}resetConfig(n){f_(n),this.config=n.map(vd),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(n,r={}){const{relativeTo:i,queryParams:o,fragment:s,queryParamsHandling:a,preserveFragment:u}=r,l=i||this.routerState.root,c=u?this.currentUrlTree.fragment:s;let d=null;switch(a){case"merge":d=Object.assign(Object.assign({},this.currentUrlTree.queryParams),o);break;case"preserve":d=this.currentUrlTree.queryParams;break;default:d=o||null}return null!==d&&(d=this.removeEmptyProps(d)),function nF(e,t,n,r,i){if(0===n.length)return hd(t.root,t.root,t.root,r,i);const o=function rF(e){if("string"==typeof e[0]&&1===e.length&&"/"===e[0])return new a_(!0,0,e);let t=0,n=!1;const r=e.reduce((i,o,s)=>{if("object"==typeof o&&null!=o){if(o.outlets){const a={};return Te(o.outlets,(u,l)=>{a[l]="string"==typeof u?u.split("/"):u}),[...i,{outlets:a}]}if(o.segmentPath)return[...i,o.segmentPath]}return"string"!=typeof o?[...i,o]:0===s?(o.split("/").forEach((a,u)=>{0==u&&"."===a||(0==u&&""===a?n=!0:".."===a?t++:""!=a&&i.push(a))}),i):[...i,o]},[]);return new a_(n,t,r)}(n);if(o.toRoot())return hd(t.root,t.root,new G([],{}),r,i);const s=function iF(e,t,n){if(e.isAbsolute)return new pd(t.root,!0,0);if(-1===n.snapshot._lastPathIndex){const o=n.snapshot._urlSegment;return new pd(o,o===t.root,0)}const r=da(e.commands[0])?0:1;return function oF(e,t,n){let r=e,i=t,o=n;for(;o>i;){if(o-=i,r=r.parent,!r)throw new Error("Invalid number of '../'");i=r.segments.length}return new pd(r,!1,i-o)}(n.snapshot._urlSegment,n.snapshot._lastPathIndex+r,e.numberOfDoubleDots)}(o,t,e),a=s.processChildren?fa(s.segmentGroup,s.index,o.commands):u_(s.segmentGroup,s.index,o.commands);return hd(t.root,s.segmentGroup,a,r,i)}(l,this.currentUrlTree,n,d,null!=c?c:null)}navigateByUrl(n,r={skipLocationChange:!1}){const i=Jn(n)?n:this.parseUrl(n),o=this.urlHandlingStrategy.merge(i,this.rawUrlTree);return this.scheduleNavigation(o,"imperative",null,r)}navigate(n,r={skipLocationChange:!1}){return function cO(e){for(let t=0;t<e.length;t++){const n=e[t];if(null==n)throw new Error(`The requested path contains ${n} segment at index ${t}`)}}(n),this.navigateByUrl(this.createUrlTree(n,r),r)}serializeUrl(n){return this.urlSerializer.serialize(n)}parseUrl(n){let r;try{r=this.urlSerializer.parse(n)}catch(i){r=this.malformedUriErrorHandler(i,this.urlSerializer,n)}return r}isActive(n,r){let i;if(i=!0===r?Object.assign({},uO):!1===r?Object.assign({},lO):r,Jn(n))return qD(this.currentUrlTree,n,i);const o=this.parseUrl(n);return qD(this.currentUrlTree,o,i)}removeEmptyProps(n){return Object.keys(n).reduce((r,i)=>{const o=n[i];return null!=o&&(r[i]=o),r},{})}processNavigations(){this.navigations.subscribe(n=>{this.navigated=!0,this.lastSuccessfulId=n.id,this.currentPageId=n.targetPageId,this.events.next(new io(n.id,this.serializeUrl(n.extractedUrl),this.serializeUrl(this.currentUrlTree))),this.lastSuccessfulNavigation=this.currentNavigation,n.resolve(!0)},n=>{this.console.warn(`Unhandled Navigation Error: ${n}`)})}scheduleNavigation(n,r,i,o,s){var a,u;if(this.disposed)return Promise.resolve(!1);let l,c,d;s?(l=s.resolve,c=s.reject,d=s.promise):d=new Promise((p,m)=>{l=p,c=m});const f=++this.navigationId;let h;return"computed"===this.canceledNavigationResolution?(0===this.currentPageId&&(i=this.location.getState()),h=i&&i.\u0275routerPageId?i.\u0275routerPageId:o.replaceUrl||o.skipLocationChange?null!==(a=this.browserPageId)&&void 0!==a?a:0:(null!==(u=this.browserPageId)&&void 0!==u?u:0)+1):h=0,this.setTransition({id:f,targetPageId:h,source:r,restoredState:i,currentUrlTree:this.currentUrlTree,currentRawUrl:this.rawUrlTree,rawUrl:n,extras:o,resolve:l,reject:c,promise:d,currentSnapshot:this.routerState.snapshot,currentRouterState:this.routerState}),d.catch(p=>Promise.reject(p))}setBrowserUrl(n,r){const i=this.urlSerializer.serialize(n),o=Object.assign(Object.assign({},r.extras.state),this.generateNgRouterState(r.id,r.targetPageId));this.location.isCurrentPathEqualTo(i)||r.extras.replaceUrl?this.location.replaceState(i,"",o):this.location.go(i,"",o)}restoreHistory(n,r=!1){var i,o;if("computed"===this.canceledNavigationResolution){const s=this.currentPageId-n.targetPageId;"popstate"!==n.source&&"eager"!==this.urlUpdateStrategy&&this.currentUrlTree!==(null===(i=this.currentNavigation)||void 0===i?void 0:i.finalUrl)||0===s?this.currentUrlTree===(null===(o=this.currentNavigation)||void 0===o?void 0:o.finalUrl)&&0===s&&(this.resetState(n),this.browserUrlTree=n.currentUrlTree,this.resetUrlToCurrentUrlTree()):this.location.historyGo(s)}else"replace"===this.canceledNavigationResolution&&(r&&this.resetState(n),this.resetUrlToCurrentUrlTree())}resetState(n){this.routerState=n.currentRouterState,this.currentUrlTree=n.currentUrlTree,this.rawUrlTree=this.urlHandlingStrategy.merge(this.currentUrlTree,n.rawUrl)}resetUrlToCurrentUrlTree(){this.location.replaceState(this.urlSerializer.serialize(this.rawUrlTree),"",this.generateNgRouterState(this.lastSuccessfulId,this.currentPageId))}cancelNavigationTransition(n,r){const i=new VD(n.id,this.serializeUrl(n.extractedUrl),r);this.triggerEvent(i),n.resolve(!1)}generateNgRouterState(n,r){return"computed"===this.canceledNavigationResolution?{navigationId:n,\u0275routerPageId:r}:{navigationId:n}}}return e.\u0275fac=function(n){pl()},e.\u0275prov=$({token:e,factory:e.\u0275fac}),e})();function T_(e){return"imperative"!==e}class x_{}class N_{preload(t,n){return V(null)}}let R_=(()=>{class e{constructor(n,r,i,o){this.router=n,this.injector=i,this.preloadingStrategy=o,this.loader=new S_(i,r,u=>n.triggerEvent(new kD(u)),u=>n.triggerEvent(new LD(u)))}setUpPreloading(){this.subscription=this.router.events.pipe(zr(n=>n instanceof io),ro(()=>this.preload())).subscribe(()=>{})}preload(){const n=this.injector.get(ln);return this.processRoutes(n,this.router.config)}ngOnDestroy(){this.subscription&&this.subscription.unsubscribe()}processRoutes(n,r){const i=[];for(const o of r)if(o.loadChildren&&!o.canLoad&&o._loadedConfig){const s=o._loadedConfig;i.push(this.processRoutes(s.module,s.routes))}else o.loadChildren&&!o.canLoad?i.push(this.preloadConfig(n,o)):o.children&&i.push(this.processRoutes(n,o.children));return Me(i).pipe(ei(),ee(o=>{}))}preloadConfig(n,r){return this.preloadingStrategy.preload(r,()=>(r._loadedConfig?V(r._loadedConfig):this.loader.load(n.injector,r)).pipe(be(o=>(r._loadedConfig=o,this.processRoutes(o.module,o.routes)))))}}return e.\u0275fac=function(n){return new(n||e)(A(ot),A(Cy),A(Be),A(x_))},e.\u0275prov=$({token:e,factory:e.\u0275fac}),e})(),bd=(()=>{class e{constructor(n,r,i={}){this.router=n,this.viewportScroller=r,this.options=i,this.lastId=0,this.lastSource="imperative",this.restoredId=0,this.store={},i.scrollPositionRestoration=i.scrollPositionRestoration||"disabled",i.anchorScrolling=i.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(n=>{n instanceof od?(this.store[this.lastId]=this.viewportScroller.getScrollPosition(),this.lastSource=n.navigationTrigger,this.restoredId=n.restoredState?n.restoredState.navigationId:0):n instanceof io&&(this.lastId=n.id,this.scheduleScrollEvent(n,this.router.parseUrl(n.urlAfterRedirects).fragment))})}consumeScrollEvents(){return this.router.events.subscribe(n=>{n instanceof jD&&(n.position?"top"===this.options.scrollPositionRestoration?this.viewportScroller.scrollToPosition([0,0]):"enabled"===this.options.scrollPositionRestoration&&this.viewportScroller.scrollToPosition(n.position):n.anchor&&"enabled"===this.options.anchorScrolling?this.viewportScroller.scrollToAnchor(n.anchor):"disabled"!==this.options.scrollPositionRestoration&&this.viewportScroller.scrollToPosition([0,0]))})}scheduleScrollEvent(n,r){this.router.triggerEvent(new jD(n,"popstate"===this.lastSource?this.store[this.restoredId]:null,r))}ngOnDestroy(){this.routerEventsSubscription&&this.routerEventsSubscription.unsubscribe(),this.scrollEventsSubscription&&this.scrollEventsSubscription.unsubscribe()}}return e.\u0275fac=function(n){pl()},e.\u0275prov=$({token:e,factory:e.\u0275fac}),e})();const er=new H("ROUTER_CONFIGURATION"),F_=new H("ROUTER_FORROOT_GUARD"),pO=[dc,{provide:YD,useClass:ZD},{provide:ot,useFactory:function DO(e,t,n,r,i,o,s={},a,u){const l=new ot(null,e,t,n,r,i,UD(o));return a&&(l.urlHandlingStrategy=a),u&&(l.routeReuseStrategy=u),function _O(e,t){e.errorHandler&&(t.errorHandler=e.errorHandler),e.malformedUriErrorHandler&&(t.malformedUriErrorHandler=e.malformedUriErrorHandler),e.onSameUrlNavigation&&(t.onSameUrlNavigation=e.onSameUrlNavigation),e.paramsInheritanceStrategy&&(t.paramsInheritanceStrategy=e.paramsInheritanceStrategy),e.relativeLinkResolution&&(t.relativeLinkResolution=e.relativeLinkResolution),e.urlUpdateStrategy&&(t.urlUpdateStrategy=e.urlUpdateStrategy),e.canceledNavigationResolution&&(t.canceledNavigationResolution=e.canceledNavigationResolution)}(s,l),s.enableTracing&&l.events.subscribe(c=>{var d,f;null===(d=console.group)||void 0===d||d.call(console,`Router Event: ${c.constructor.name}`),console.log(c.toString()),console.log(c),null===(f=console.groupEnd)||void 0===f||f.call(console)}),l},deps:[YD,fo,dc,Be,Cy,Cd,er,[class iO{},new Cn],[class tO{},new Cn]]},fo,{provide:Zr,useFactory:function CO(e){return e.routerState.root},deps:[ot]},R_,N_,class hO{preload(t,n){return n().pipe(Nn(()=>V(null)))}},{provide:er,useValue:{enableTracing:!1}}];function gO(){return new Ay("Router",ot)}let O_=(()=>{class e{constructor(n,r){}static forRoot(n,r){return{ngModule:e,providers:[pO,P_(n),{provide:F_,useFactory:vO,deps:[[ot,new Cn,new Di]]},{provide:er,useValue:r||{}},{provide:Gr,useFactory:yO,deps:[Wn,[new Wo(cc),new Cn],er]},{provide:bd,useFactory:mO,deps:[ot,Ex,er]},{provide:x_,useExisting:r&&r.preloadingStrategy?r.preloadingStrategy:N_},{provide:Ay,multi:!0,useFactory:gO},[Md,{provide:Ql,multi:!0,useFactory:wO,deps:[Md]},{provide:V_,useFactory:EO,deps:[Md]},{provide:Dy,multi:!0,useExisting:V_}]]}}static forChild(n){return{ngModule:e,providers:[P_(n)]}}}return e.\u0275fac=function(n){return new(n||e)(A(F_,8),A(ot,8))},e.\u0275mod=Ct({type:e}),e.\u0275inj=ut({}),e})();function mO(e,t,n){return n.scrollOffset&&t.setOffset(n.scrollOffset),new bd(e,t,n)}function yO(e,t,n={}){return n.useHash?new nT(e,t):new zy(e,t)}function vO(e){return"guarded"}function P_(e){return[{provide:Pw,multi:!0,useValue:e},{provide:Cd,multi:!0,useValue:e}]}let Md=(()=>{class e{constructor(n){this.injector=n,this.initNavigation=!1,this.destroyed=!1,this.resultOfPreactivationDone=new Kt}appInitializer(){return this.injector.get(JI,Promise.resolve(null)).then(()=>{if(this.destroyed)return Promise.resolve(!0);let r=null;const i=new Promise(a=>r=a),o=this.injector.get(ot),s=this.injector.get(er);return"disabled"===s.initialNavigation?(o.setUpLocationChangeListener(),r(!0)):"enabled"===s.initialNavigation||"enabledBlocking"===s.initialNavigation?(o.hooks.afterPreactivation=()=>this.initNavigation?V(null):(this.initNavigation=!0,r(!0),this.resultOfPreactivationDone),o.initialNavigation()):r(!0),i})}bootstrapListener(n){const r=this.injector.get(er),i=this.injector.get(R_),o=this.injector.get(bd),s=this.injector.get(ot),a=this.injector.get(rc);n===a.components[0]&&(("enabledNonBlocking"===r.initialNavigation||void 0===r.initialNavigation)&&s.initialNavigation(),i.setUpPreloading(),o.init(),s.resetRootComponentType(a.componentTypes[0]),this.resultOfPreactivationDone.next(null),this.resultOfPreactivationDone.complete())}ngOnDestroy(){this.destroyed=!0}}return e.\u0275fac=function(n){return new(n||e)(A(Be))},e.\u0275prov=$({token:e,factory:e.\u0275fac}),e})();function wO(e){return e.appInitializer.bind(e)}function EO(e){return e.bootstrapListener.bind(e)}const V_=new H("Router Initializer");function MO(e,t){if(1&e){const n=function hg(){return y()}();ds(0),He(1,"div",18)(2,"div",19)(3,"div"),an(4),Ue(),He(5,"a",20),$e("click",function(){return function Af(e){return T.lFrame.contextLView=e,e[8]}(n),vl().dowloadFile()}),an(6,"Download"),Ue()()(),fs()}if(2&e){const n=vl();Ii(4),Cl(n.name)}}const AO=[{path:"",component:(()=>{class e{constructor(n){this.fb=n,this.isDownloadable=!1}ngOnInit(){this.formGroup=this.fb.group({from:["",[Gs.required,Gs.minLength(9)]],to:["",[Gs.required,Gs.minLength(9)]],count:[""],random:[!1]})}generate(n){this.isDownloadable=!1;let r=Number.parseInt(n.from),i=Number.parseInt(n.to),o=Number.parseInt(n.count),s=n.random,a=r;r>i&&(r=Number.parseInt(n.to),i=Number.parseInt(n.from));let u=r;if(isNaN(o)||0==o)for(;r<=i;){if(s)a=Math.floor(Math.random()*(i-r+1))+r,this.text+="BEGIN:VCARD\nVERSION:3.0\nN;CHARSET=UTF-8:;"+a+";;;\nTEL;TYPE=CELL:"+a+"\nEND:VCARD\n";else{if(a=u,this.text+="BEGIN:VCARD\nVERSION:3.0\nN;CHARSET=UTF-8:;"+a+";;;\nTEL;TYPE=CELL:"+a+"\nEND:VCARD\n",!(u<i))break;u++}r++}for(;o>0;){if(s)a=Math.floor(Math.random()*(i-r+1))+r,this.text+="BEGIN:VCARD\nVERSION:3.0\nN;CHARSET=UTF-8:;"+a+";;;\nTEL;TYPE=CELL:"+a+"\nEND:VCARD\n";else{if(a=u,this.text+="BEGIN:VCARD\nVERSION:3.0\nN;CHARSET=UTF-8:;"+a+";;;\nTEL;TYPE=CELL:"+a+"\nEND:VCARD\n",!(u<i))break;u++}o--}this.isDownloadable=!0;let l=new Date;this.name=l.getFullYear().toString()+l.getMonth().toString()+l.getDate().toString()+l.getHours().toString()+l.getMinutes().toString()+l.getSeconds().toString()+l.getMilliseconds().toString()+".vcf"}dowloadFile(){let n=new File([this.text],this.name,{type:"text/x-vcard"}),r=document.createElement("a"),i=URL.createObjectURL(n);r.href=i,r.download=this.name,document.body.appendChild(r),r.click(),setTimeout(()=>{document.body.removeChild(r),window.URL.revokeObjectURL(i)},0)}}return e.\u0275fac=function(n){return new(n||e)(v(dR))},e.\u0275cmp=ri({type:e,selectors:[["app-home"]],decls:30,vars:3,consts:[[1,"container"],[1,"card","px-5","py-3","my-5"],[1,"mb-3","text-center"],[3,"formGroup"],[1,"row","mb-3"],["for","from",1,"col-sm-2","col-form-label"],[1,"col-sm-10"],["type","text","formControlName","from","id","from","placeholder","Tus: 252907XXXXXX",1,"form-control"],["for","to",1,"col-sm-2","col-form-label"],["type","text","formControlName","to","id","to","placeholder","Tus: 252907XXXXXX",1,"form-control"],["for","count",1,"col-sm-2","col-form-label"],["type","number","formControlName","count","id","count","placeholder","Tus: 5",1,"form-control"],[1,"col-sm-10","offset-sm-2"],[1,"form-check"],["type","checkbox","formControlName","random","id","random",1,"form-check-input"],["for","Random",1,"form-check-label"],["type","submit",1,"btn","btn-primary",3,"disabled","click"],[4,"ngIf"],[1,"card","my-3","px-2","py-1"],[1,"d-flex","justify-content-between","align-items-center"],["name","","id","","href","#","role","button",1,"btn","btn-primary",3,"click"]],template:function(n,r){1&n&&(He(0,"div",0)(1,"div",1)(2,"div",2)(3,"h4"),an(4,"Contact Badiye"),Ue()(),He(5,"form",3)(6,"div",4)(7,"label",5),an(8,"Ka Bilow"),Ue(),He(9,"div",6),Mn(10,"input",7),Ue()(),He(11,"div",4)(12,"label",8),an(13,"Ilaa"),Ue(),He(14,"div",6),Mn(15,"input",9),Ue()(),He(16,"div",4)(17,"label",10),an(18,"Tirada"),Ue(),He(19,"div",6),Mn(20,"input",11),Ue()(),He(21,"div",4)(22,"div",12)(23,"div",13),Mn(24,"input",14),He(25,"label",15),an(26," Random "),Ue()()()(),He(27,"button",16),$e("click",function(){return r.generate(r.formGroup.value)}),an(28,"Generate"),Ue(),function tg(e,t,n,r,i,o,s,a){const u=y(),l=z(),c=e+20,d=l.firstCreatePass?function G0(e,t,n,r,i,o,s,a,u){const l=t.consts,c=wr(t,e,4,s||null,vn(l,a));Yu(t,n,c,vn(l,u)),Po(t,c);const d=c.tViews=os(2,c,r,i,o,t.directiveRegistry,t.pipeRegistry,null,t.schemas,l);return null!==t.queries&&(t.queries.template(t,c),d.queries=t.queries.embeddedTView(c)),c}(c,l,u,t,n,r,i,o,s):l.data[c];Lt(d,!1);const f=u[O].createComment("");es(l,u,f,d),Fe(f,u),ss(u,u[c]=Cp(f,u,f,d)),To(d)&&Wu(l,u,d),null!=s&&Qu(u,d,a)}(29,MO,7,1,"ng-container",17),Ue()()()),2&n&&(Ii(5),Oi("formGroup",r.formGroup),Ii(22),Oi("disabled",!r.formGroup.valid),Ii(2),Oi("ngIf",r.isDownloadable))},directives:[fD,Yv,na,$s,Qv,Jc,Yc,Rc,rv],styles:[""]}),e})()}];let SO=(()=>{class e{}return e.\u0275fac=function(n){return new(n||e)},e.\u0275mod=Ct({type:e}),e.\u0275inj=ut({imports:[[O_.forRoot(AO)],O_]}),e})(),IO=(()=>{class e{constructor(){this.title="contact-generator"}}return e.\u0275fac=function(n){return new(n||e)},e.\u0275cmp=ri({type:e,selectors:[["app-root"]],decls:1,vars:0,template:function(n,r){1&n&&Mn(0,"router-outlet")},directives:[yd],styles:[""]}),e})(),NO=(()=>{class e{}return e.\u0275fac=function(n){return new(n||e)},e.\u0275mod=Ct({type:e}),e.\u0275inj=ut({imports:[[]]}),e})(),RO=(()=>{class e{}return e.\u0275fac=function(n){return new(n||e)},e.\u0275mod=Ct({type:e,bootstrap:[IO]}),e.\u0275inj=ut({providers:[],imports:[[Kx,SO,TD,NO]]}),e})();(function RI(){Ry=!1})(),Yx().bootstrapModule(RO).catch(e=>console.error(e))}},J=>{J(J.s=81)}]);