(window.webpackJsonp=window.webpackJsonp||[]).push([[1],{0:function(t,e,n){t.exports=n("zUnb")},"2QA8":function(t,e,n){"use strict";n.d(e,"a",(function(){return r}));const r=(()=>"function"==typeof Symbol?Symbol("rxSubscriber"):"@@rxSubscriber_"+Math.random())()},"2fFW":function(t,e,n){"use strict";n.d(e,"a",(function(){return s}));let r=!1;const s={Promise:void 0,set useDeprecatedSynchronousErrorHandling(t){if(t){const t=new Error;console.warn("DEPRECATED! RxJS was set to use deprecated synchronous error handling behavior by code at: \n"+t.stack)}else r&&console.log("RxJS: Back to a better error behavior. Thank you. <3");r=t},get useDeprecatedSynchronousErrorHandling(){return r}}},"5+tZ":function(t,e,n){"use strict";n.d(e,"a",(function(){return o}));var r=n("lJxs"),s=n("Cfvw"),i=n("zx2A");function o(t,e,n=Number.POSITIVE_INFINITY){return"function"==typeof e?i=>i.pipe(o((n,i)=>Object(s.a)(t(n,i)).pipe(Object(r.a)((t,r)=>e(n,t,i,r))),n)):("number"==typeof e&&(n=e),e=>e.lift(new a(t,n)))}class a{constructor(t,e=Number.POSITIVE_INFINITY){this.project=t,this.concurrent=e}call(t,e){return e.subscribe(new u(t,this.project,this.concurrent))}}class u extends i.b{constructor(t,e,n=Number.POSITIVE_INFINITY){super(t),this.project=e,this.concurrent=n,this.hasCompleted=!1,this.buffer=[],this.active=0,this.index=0}_next(t){this.active0?this._next(t.shift()):0===this.active&&this.hasCompleted&&this.destination.complete()}}},"7o/Q":function(t,e,n){"use strict";n.d(e,"a",(function(){return l}));var r=n("n6bG"),s=n("gRHU"),i=n("quSY"),o=n("2QA8"),a=n("2fFW"),u=n("NJ4a");class l extends i.a{constructor(t,e,n){switch(super(),this.syncErrorValue=null,this.syncErrorThrown=!1,this.syncErrorThrowable=!1,this.isStopped=!1,arguments.length){case 0:this.destination=s.a;break;case 1:if(!t){this.destination=s.a;break}if("object"==typeof t){t instanceof l?(this.syncErrorThrowable=t.syncErrorThrowable,this.destination=t,t.add(this)):(this.syncErrorThrowable=!0,this.destination=new c(this,t));break}default:this.syncErrorThrowable=!0,this.destination=new c(this,t,e,n)}}[o.a](){return this}static create(t,e,n){const r=new l(t,e,n);return r.syncErrorThrowable=!1,r}next(t){this.isStopped||this._next(t)}error(t){this.isStopped||(this.isStopped=!0,this._error(t))}complete(){this.isStopped||(this.isStopped=!0,this._complete())}unsubscribe(){this.closed||(this.isStopped=!0,super.unsubscribe())}_next(t){this.destination.next(t)}_error(t){this.destination.error(t),this.unsubscribe()}_complete(){this.destination.complete(),this.unsubscribe()}_unsubscribeAndRecycle(){const{_parentOrParents:t}=this;return this._parentOrParents=null,this.unsubscribe(),this.closed=!1,this.isStopped=!1,this._parentOrParents=t,this}}class c extends l{constructor(t,e,n,i){let o;super(),this._parentSubscriber=t;let a=this;Object(r.a)(e)?o=e:e&&(o=e.next,n=e.error,i=e.complete,e!==s.a&&(a=Object.create(e),Object(r.a)(a.unsubscribe)&&this.add(a.unsubscribe.bind(a)),a.unsubscribe=this.unsubscribe.bind(this))),this._context=a,this._next=o,this._error=n,this._complete=i}next(t){if(!this.isStopped&&this._next){const{_parentSubscriber:e}=this;a.a.useDeprecatedSynchronousErrorHandling&&e.syncErrorThrowable?this.__tryOrSetError(e,this._next,t)&&this.unsubscribe():this.__tryOrUnsub(this._next,t)}}error(t){if(!this.isStopped){const{_parentSubscriber:e}=this,{useDeprecatedSynchronousErrorHandling:n}=a.a;if(this._error)n&&e.syncErrorThrowable?(this.__tryOrSetError(e,this._error,t),this.unsubscribe()):(this.__tryOrUnsub(this._error,t),this.unsubscribe());else if(e.syncErrorThrowable)n?(e.syncErrorValue=t,e.syncErrorThrown=!0):Object(u.a)(t),this.unsubscribe();else{if(this.unsubscribe(),n)throw t;Object(u.a)(t)}}}complete(){if(!this.isStopped){const{_parentSubscriber:t}=this;if(this._complete){const e=()=>this._complete.call(this._context);a.a.useDeprecatedSynchronousErrorHandling&&t.syncErrorThrowable?(this.__tryOrSetError(t,e),this.unsubscribe()):(this.__tryOrUnsub(e),this.unsubscribe())}else this.unsubscribe()}}__tryOrUnsub(t,e){try{t.call(this._context,e)}catch(n){if(this.unsubscribe(),a.a.useDeprecatedSynchronousErrorHandling)throw n;Object(u.a)(n)}}__tryOrSetError(t,e,n){if(!a.a.useDeprecatedSynchronousErrorHandling)throw new Error("bad call");try{e.call(this._context,n)}catch(r){return a.a.useDeprecatedSynchronousErrorHandling?(t.syncErrorValue=r,t.syncErrorThrown=!0,!0):(Object(u.a)(r),!0)}return!1}_unsubscribe(){const{_parentSubscriber:t}=this;this._context=null,this._parentSubscriber=null,t.unsubscribe()}}},"9ppp":function(t,e,n){"use strict";n.d(e,"a",(function(){return r}));const r=(()=>{function t(){return Error.call(this),this.message="object unsubscribed",this.name="ObjectUnsubscribedError",this}return t.prototype=Object.create(Error.prototype),t})()},Cfvw:function(t,e,n){"use strict";n.d(e,"a",(function(){return h}));var r=n("HDdC"),s=n("SeVD"),i=n("quSY"),o=n("kJWO"),a=n("jZKg"),u=n("Lhse"),l=n("c2HN"),c=n("I55L");function h(t,e){return e?function(t,e){if(null!=t){if(function(t){return t&&"function"==typeof t[o.a]}(t))return function(t,e){return new r.a(n=>{const r=new i.a;return r.add(e.schedule(()=>{const s=t[o.a]();r.add(s.subscribe({next(t){r.add(e.schedule(()=>n.next(t)))},error(t){r.add(e.schedule(()=>n.error(t)))},complete(){r.add(e.schedule(()=>n.complete()))}}))})),r})}(t,e);if(Object(l.a)(t))return function(t,e){return new r.a(n=>{const r=new i.a;return r.add(e.schedule(()=>t.then(t=>{r.add(e.schedule(()=>{n.next(t),r.add(e.schedule(()=>n.complete()))}))},t=>{r.add(e.schedule(()=>n.error(t)))}))),r})}(t,e);if(Object(c.a)(t))return Object(a.a)(t,e);if(function(t){return t&&"function"==typeof t[u.a]}(t)||"string"==typeof t)return function(t,e){if(!t)throw new Error("Iterable cannot be null");return new r.a(n=>{const r=new i.a;let s;return r.add(()=>{s&&"function"==typeof s.return&&s.return()}),r.add(e.schedule(()=>{s=t[u.a](),r.add(e.schedule((function(){if(n.closed)return;let t,e;try{const n=s.next();t=n.value,e=n.done}catch(r){return void n.error(r)}e?n.complete():(n.next(t),this.schedule())})))})),r})}(t,e)}throw new TypeError((null!==t&&typeof t||t)+" is not observable")}(t,e):t instanceof r.a?t:new r.a(Object(s.a)(t))}},DH7j:function(t,e,n){"use strict";n.d(e,"a",(function(){return r}));const r=(()=>Array.isArray||(t=>t&&"number"==typeof t.length))()},HDdC:function(t,e,n){"use strict";n.d(e,"a",(function(){return l}));var r=n("7o/Q"),s=n("2QA8"),i=n("gRHU"),o=n("kJWO"),a=n("SpAZ"),u=n("2fFW");let l=(()=>{class t{constructor(t){this._isScalar=!1,t&&(this._subscribe=t)}lift(e){const n=new t;return n.source=this,n.operator=e,n}subscribe(t,e,n){const{operator:o}=this,a=function(t,e,n){if(t){if(t instanceof r.a)return t;if(t[s.a])return t[s.a]()}return t||e||n?new r.a(t,e,n):new r.a(i.a)}(t,e,n);if(a.add(o?o.call(a,this.source):this.source||u.a.useDeprecatedSynchronousErrorHandling&&!a.syncErrorThrowable?this._subscribe(a):this._trySubscribe(a)),u.a.useDeprecatedSynchronousErrorHandling&&a.syncErrorThrowable&&(a.syncErrorThrowable=!1,a.syncErrorThrown))throw a.syncErrorValue;return a}_trySubscribe(t){try{return this._subscribe(t)}catch(e){u.a.useDeprecatedSynchronousErrorHandling&&(t.syncErrorThrown=!0,t.syncErrorValue=e),function(t){for(;t;){const{closed:e,destination:n,isStopped:s}=t;if(e||s)return!1;t=n&&n instanceof r.a?n:null}return!0}(t)?t.error(e):console.warn(e)}}forEach(t,e){return new(e=c(e))((e,n)=>{let r;r=this.subscribe(e=>{try{t(e)}catch(s){n(s),r&&r.unsubscribe()}},n,e)})}_subscribe(t){const{source:e}=this;return e&&e.subscribe(t)}[o.a](){return this}pipe(...t){return 0===t.length?this:(0===(e=t).length?a.a:1===e.length?e[0]:function(t){return e.reduce((t,e)=>e(t),t)})(this);var e}toPromise(t){return new(t=c(t))((t,e)=>{let n;this.subscribe(t=>n=t,t=>e(t),()=>t(n))})}}return t.create=e=>new t(e),t})();function c(t){if(t||(t=u.a.Promise||Promise),!t)throw new Error("no Promise impl found");return t}},I55L:function(t,e,n){"use strict";n.d(e,"a",(function(){return r}));const r=t=>t&&"number"==typeof t.length&&"function"!=typeof t},Lhse:function(t,e,n){"use strict";function r(){return"function"==typeof Symbol&&Symbol.iterator?Symbol.iterator:"@@iterator"}n.d(e,"a",(function(){return s}));const s=r()},NJ4a:function(t,e,n){"use strict";function r(t){setTimeout(()=>{throw t},0)}n.d(e,"a",(function(){return r}))},SeVD:function(t,e,n){"use strict";n.d(e,"a",(function(){return c}));var r=n("ngJS"),s=n("NJ4a"),i=n("Lhse"),o=n("kJWO"),a=n("I55L"),u=n("c2HN"),l=n("XoHu");const c=t=>{if(t&&"function"==typeof t[o.a])return c=t,t=>{const e=c[o.a]();if("function"!=typeof e.subscribe)throw new TypeError("Provided object does not correctly implement Symbol.observable");return e.subscribe(t)};if(Object(a.a)(t))return Object(r.a)(t);if(Object(u.a)(t))return n=t,t=>(n.then(e=>{t.closed||(t.next(e),t.complete())},e=>t.error(e)).then(null,s.a),t);if(t&&"function"==typeof t[i.a])return e=t,t=>{const n=e[i.a]();for(;;){let e;try{e=n.next()}catch(r){return t.error(r),t}if(e.done){t.complete();break}if(t.next(e.value),t.closed)break}return"function"==typeof n.return&&t.add(()=>{n.return&&n.return()}),t};{const e=Object(l.a)(t)?"an invalid object":`'${t}'`;throw new TypeError(`You provided ${e} where a stream was expected. You can provide an Observable, Promise, Array, or Iterable.`)}var e,n,c}},SpAZ:function(t,e,n){"use strict";function r(t){return t}n.d(e,"a",(function(){return r}))},XNiG:function(t,e,n){"use strict";n.d(e,"b",(function(){return l})),n.d(e,"a",(function(){return c}));var r=n("HDdC"),s=n("7o/Q"),i=n("quSY"),o=n("9ppp");class a extends i.a{constructor(t,e){super(),this.subject=t,this.subscriber=e,this.closed=!1}unsubscribe(){if(this.closed)return;this.closed=!0;const t=this.subject,e=t.observers;if(this.subject=null,!e||0===e.length||t.isStopped||t.closed)return;const n=e.indexOf(this.subscriber);-1!==n&&e.splice(n,1)}}var u=n("2QA8");class l extends s.a{constructor(t){super(t),this.destination=t}}let c=(()=>{class t extends r.a{constructor(){super(),this.observers=[],this.closed=!1,this.isStopped=!1,this.hasError=!1,this.thrownError=null}[u.a](){return new l(this)}lift(t){const e=new h(this,this);return e.operator=t,e}next(t){if(this.closed)throw new o.a;if(!this.isStopped){const{observers:e}=this,n=e.length,r=e.slice();for(let s=0;snew h(t,e),t})();class h extends c{constructor(t,e){super(),this.destination=t,this.source=e}next(t){const{destination:e}=this;e&&e.next&&e.next(t)}error(t){const{destination:e}=this;e&&e.error&&this.destination.error(t)}complete(){const{destination:t}=this;t&&t.complete&&this.destination.complete()}_subscribe(t){const{source:e}=this;return e?this.source.subscribe(t):i.a.EMPTY}}},XoHu:function(t,e,n){"use strict";function r(t){return null!==t&&"object"==typeof t}n.d(e,"a",(function(){return r}))},bHdf:function(t,e,n){"use strict";n.d(e,"a",(function(){return i}));var r=n("5+tZ"),s=n("SpAZ");function i(t=Number.POSITIVE_INFINITY){return Object(r.a)(s.a,t)}},c2HN:function(t,e,n){"use strict";function r(t){return!!t&&"function"!=typeof t.subscribe&&"function"==typeof t.then}n.d(e,"a",(function(){return r}))},fXoL:function(t,e,n){"use strict";n.d(e,"a",(function(){return Xs})),n.d(e,"b",(function(){return Zo})),n.d(e,"c",(function(){return $o})),n.d(e,"d",(function(){return Fo})),n.d(e,"e",(function(){return Vo})),n.d(e,"f",(function(){return Ua})),n.d(e,"g",(function(){return Oa})),n.d(e,"h",(function(){return Hs})),n.d(e,"i",(function(){return sa})),n.d(e,"j",(function(){return Ti})),n.d(e,"k",(function(){return Jo})),n.d(e,"l",(function(){return Oi})),n.d(e,"m",(function(){return wn})),n.d(e,"n",(function(){return So})),n.d(e,"o",(function(){return tt})),n.d(e,"p",(function(){return w})),n.d(e,"q",(function(){return X})),n.d(e,"r",(function(){return Ks})),n.d(e,"s",(function(){return Wi})),n.d(e,"t",(function(){return Zi})),n.d(e,"u",(function(){return Qo})),n.d(e,"v",(function(){return gt})),n.d(e,"w",(function(){return ka})),n.d(e,"x",(function(){return pt})),n.d(e,"y",(function(){return Ca})),n.d(e,"z",(function(){return aa})),n.d(e,"A",(function(){return _})),n.d(e,"B",(function(){return Wo})),n.d(e,"C",(function(){return Bo})),n.d(e,"D",(function(){return ji})),n.d(e,"E",(function(){return ki})),n.d(e,"F",(function(){return Ri})),n.d(e,"G",(function(){return Ni})),n.d(e,"H",(function(){return ur})),n.d(e,"I",(function(){return S})),n.d(e,"J",(function(){return Ia})),n.d(e,"K",(function(){return Yi})),n.d(e,"L",(function(){return ga})),n.d(e,"M",(function(){return Ls})),n.d(e,"N",(function(){return Pi})),n.d(e,"O",(function(){return Xi})),n.d(e,"P",(function(){return wt})),n.d(e,"Q",(function(){return Sa})),n.d(e,"R",(function(){return Ln})),n.d(e,"S",(function(){return Un})),n.d(e,"T",(function(){return Da})),n.d(e,"U",(function(){return ya})),n.d(e,"V",(function(){return Go})),n.d(e,"W",(function(){return Ms})),n.d(e,"X",(function(){return mo})),n.d(e,"Y",(function(){return or})),n.d(e,"Z",(function(){return zn})),n.d(e,"ab",(function(){return An})),n.d(e,"bb",(function(){return Rn})),n.d(e,"cb",(function(){return Pn})),n.d(e,"db",(function(){return In})),n.d(e,"eb",(function(){return jn})),n.d(e,"fb",(function(){return Nn})),n.d(e,"gb",(function(){return ho})),n.d(e,"hb",(function(){return Pa})),n.d(e,"ib",(function(){return fo})),n.d(e,"jb",(function(){return po})),n.d(e,"kb",(function(){return kn})),n.d(e,"lb",(function(){return B})),n.d(e,"mb",(function(){return si})),n.d(e,"nb",(function(){return yi})),n.d(e,"ob",(function(){return bi})),n.d(e,"pb",(function(){return co})),n.d(e,"qb",(function(){return Kt})),n.d(e,"rb",(function(){return H})),n.d(e,"sb",(function(){return On})),n.d(e,"tb",(function(){return Wt})),n.d(e,"ub",(function(){return ai})),n.d(e,"vb",(function(){return Do})),n.d(e,"wb",(function(){return xt})),n.d(e,"xb",(function(){return jt})),n.d(e,"yb",(function(){return T})),n.d(e,"zb",(function(){return O})),n.d(e,"Ab",(function(){return At})),n.d(e,"Bb",(function(){return It})),n.d(e,"Cb",(function(){return ci})),n.d(e,"Db",(function(){return mi})),n.d(e,"Eb",(function(){return gi})),n.d(e,"Fb",(function(){return pi})),n.d(e,"Gb",(function(){return Si})),n.d(e,"Hb",(function(){return ct})),n.d(e,"Ib",(function(){return hi})),n.d(e,"Jb",(function(){return Mo})),n.d(e,"Kb",(function(){return vi})),n.d(e,"Lb",(function(){return Ho})),n.d(e,"Mb",(function(){return di})),n.d(e,"Nb",(function(){return Po})),n.d(e,"Ob",(function(){return li})),n.d(e,"Pb",(function(){return lr})),n.d(e,"Qb",(function(){return kt})),n.d(e,"Rb",(function(){return ui})),n.d(e,"Sb",(function(){return Lo})),n.d(e,"Tb",(function(){return Ci}));var r=n("XNiG"),s=n("quSY"),i=n("HDdC"),o=n("z+Ro"),a=n("bHdf"),u=n("yCtX"),l=n("7o/Q");function c(){return function(t){return t.lift(new h(t))}}class h{constructor(t){this.connectable=t}call(t,e){const{connectable:n}=this;n._refCount++;const r=new d(t,n),s=e.subscribe(r);return r.closed||(r.connection=n.connect()),s}}class d extends l.a{constructor(t,e){super(t),this.connectable=e}_unsubscribe(){const{connectable:t}=this;if(!t)return void(this.connection=null);this.connectable=null;const e=t._refCount;if(e<=0)return void(this.connection=null);if(t._refCount=e-1,e>1)return void(this.connection=null);const{connection:n}=this,r=t._connection;this.connection=null,!r||n&&r!==n||r.unsubscribe()}}class f extends i.a{constructor(t,e){super(),this.source=t,this.subjectFactory=e,this._refCount=0,this._isComplete=!1}_subscribe(t){return this.getSubject().subscribe(t)}getSubject(){const t=this._subject;return t&&!t.isStopped||(this._subject=this.subjectFactory()),this._subject}connect(){let t=this._connection;return t||(this._isComplete=!1,t=this._connection=new s.a,t.add(this.source.subscribe(new g(this.getSubject(),this))),t.closed&&(this._connection=null,t=s.a.EMPTY)),t}refCount(){return c()(this)}}const p=(()=>{const t=f.prototype;return{operator:{value:null},_refCount:{value:0,writable:!0},_subject:{value:null,writable:!0},_connection:{value:null,writable:!0},_subscribe:{value:t._subscribe},_isComplete:{value:t._isComplete,writable:!0},getSubject:{value:t.getSubject},connect:{value:t.connect},refCount:{value:t.refCount}}})();class g extends r.b{constructor(t,e){super(t),this.connectable=e}_error(t){this._unsubscribe(),super._error(t)}_complete(){this.connectable._isComplete=!0,this._unsubscribe(),super._complete()}_unsubscribe(){const t=this.connectable;if(t){this.connectable=null;const e=t._connection;t._refCount=0,t._subject=null,t._connection=null,e&&e.unsubscribe()}}}function m(){return new r.a}function b(t){return{toString:t}.toString()}const y="__parameters__";function v(t,e,n){return b(()=>{const r=function(t){return function(...e){if(t){const n=t(...e);for(const t in n)this[t]=n[t]}}}(e);function s(...t){if(this instanceof s)return r.apply(this,t),this;const e=new s(...t);return n.annotation=e,n;function n(t,n,r){const s=t.hasOwnProperty(y)?t[y]:Object.defineProperty(t,y,{value:[]})[y];for(;s.length<=r;)s.push(null);return(s[r]=s[r]||[]).push(e),t}}return n&&(s.prototype=Object.create(n.prototype)),s.prototype.ngMetadataName=t,s.annotationCls=s,s})}const w=v("Inject",t=>({token:t})),_=v("Optional"),C=v("Self"),S=v("SkipSelf");var x=function(t){return t[t.Default=0]="Default",t[t.Host=1]="Host",t[t.Self=2]="Self",t[t.SkipSelf=4]="SkipSelf",t[t.Optional=8]="Optional",t}({});function E(t){for(let e in t)if(t[e]===E)return e;throw Error("Could not find renamed property on target object.")}function T(t){return{token:t.token,providedIn:t.providedIn||null,factory:t.factory,value:void 0}}function O(t){return{factory:t.factory,providers:t.providers||[],imports:t.imports||[]}}function A(t){return k(t,t[j])||k(t,t[P])}function k(t,e){return e&&e.token===t?e:null}function R(t){return t&&(t.hasOwnProperty(I)||t.hasOwnProperty(D))?t[I]:null}const j=E({"\u0275prov":E}),I=E({"\u0275inj":E}),N=E({"\u0275provFallback":E}),P=E({ngInjectableDef:E}),D=E({ngInjectorDef:E});function H(t){if("string"==typeof t)return t;if(Array.isArray(t))return"["+t.map(H).join(", ")+"]";if(null==t)return""+t;if(t.overriddenName)return""+t.overriddenName;if(t.name)return""+t.name;const e=t.toString();if(null==e)return""+e;const n=e.indexOf("\n");return-1===n?e:e.substring(0,n)}function U(t,e){return null==t||""===t?null===e?"":e:null==e||""===e?t:t+" "+e}const L=E({__forward_ref__:E});function M(t){return t.__forward_ref__=M,t.toString=function(){return H(this())},t}function F(t){return"function"==typeof(e=t)&&e.hasOwnProperty(L)&&e.__forward_ref__===M?t():t;var e}const V="undefined"!=typeof globalThis&&globalThis,$="undefined"!=typeof window&&window,z="undefined"!=typeof self&&"undefined"!=typeof WorkerGlobalScope&&self instanceof WorkerGlobalScope&&self,q="undefined"!=typeof global&&global,B=V||q||$||z,W=E({"\u0275cmp":E}),Z=E({"\u0275dir":E}),G=E({"\u0275pipe":E}),Q=E({"\u0275mod":E}),J=E({"\u0275loc":E}),Y=E({"\u0275fac":E}),K=E({__NG_ELEMENT_ID__:E});class X{constructor(t,e){this._desc=t,this.ngMetadataName="InjectionToken",this.\u0275prov=void 0,"number"==typeof e?this.__NG_ELEMENT_ID__=e:void 0!==e&&(this.\u0275prov=T({token:this,providedIn:e.providedIn||"root",factory:e.factory}))}toString(){return"InjectionToken "+this._desc}}const tt=new X("INJECTOR",-1),et={},nt=/\n/gm,rt="__source",st=E({provide:String,useValue:E});let it,ot=void 0;function at(t){const e=ot;return ot=t,e}function ut(t){const e=it;return it=t,e}function lt(t,e=x.Default){if(void 0===ot)throw new Error("inject() must be called from an injection context");return null===ot?ht(t,void 0,e):ot.get(t,e&x.Optional?null:void 0,e)}function ct(t,e=x.Default){return(it||lt)(F(t),e)}function ht(t,e,n){const r=A(t);if(r&&"root"==r.providedIn)return void 0===r.value?r.value=r.factory():r.value;if(n&x.Optional)return null;if(void 0!==e)return e;throw new Error(`Injector: NOT_FOUND [${H(t)}]`)}function dt(t){const e=[];for(let n=0;nArray.isArray(t)?mt(t,e):e(t))}function bt(t,e,n){e>=t.length?t.push(n):t.splice(e,0,n)}function yt(t,e){return e>=t.length-1?t.pop():t.splice(e,1)[0]}var vt=function(t){return t[t.OnPush=0]="OnPush",t[t.Default=1]="Default",t}({}),wt=function(t){return t[t.Emulated=0]="Emulated",t[t.Native=1]="Native",t[t.None=2]="None",t[t.ShadowDom=3]="ShadowDom",t}({});const _t={},Ct=[];let St=0;function xt(t){return b(()=>{const e={},n={type:t.type,providersResolver:null,decls:t.decls,vars:t.vars,factory:null,template:t.template||null,consts:t.consts||null,ngContentSelectors:t.ngContentSelectors,hostBindings:t.hostBindings||null,hostVars:t.hostVars||0,hostAttrs:t.hostAttrs||null,contentQueries:t.contentQueries||null,declaredInputs:e,inputs:null,outputs:null,exportAs:t.exportAs||null,onPush:t.changeDetection===vt.OnPush,directiveDefs:null,pipeDefs:null,selectors:t.selectors||Ct,viewQuery:t.viewQuery||null,features:t.features||null,data:t.data||{},encapsulation:t.encapsulation||wt.Emulated,id:"c",styles:t.styles||Ct,_:null,setInput:null,schemas:t.schemas||null,tView:null},r=t.directives,s=t.features,i=t.pipes;return n.id+=St++,n.inputs=Rt(t.inputs,e),n.outputs=Rt(t.outputs),s&&s.forEach(t=>t(n)),n.directiveDefs=r?()=>("function"==typeof r?r():r).map(Et):null,n.pipeDefs=i?()=>("function"==typeof i?i():i).map(Tt):null,n})}function Et(t){return Nt(t)||function(t){return t[Z]||null}(t)}function Tt(t){return function(t){return t[G]||null}(t)}const Ot={};function At(t){const e={type:t.type,bootstrap:t.bootstrap||Ct,declarations:t.declarations||Ct,imports:t.imports||Ct,exports:t.exports||Ct,transitiveCompileScopes:null,schemas:t.schemas||null,id:t.id||null};return null!=t.id&&b(()=>{Ot[t.id]=t.type}),e}function kt(t,e){return b(()=>{const n=Dt(t,!0);n.declarations=e.declarations||Ct,n.imports=e.imports||Ct,n.exports=e.exports||Ct})}function Rt(t,e){if(null==t)return _t;const n={};for(const r in t)if(t.hasOwnProperty(r)){let s=t[r],i=s;Array.isArray(s)&&(i=s[1],s=s[0]),n[s]=r,e&&(e[s]=i)}return n}const jt=xt;function It(t){return{type:t.type,name:t.name,factory:null,pure:!1!==t.pure,onDestroy:t.type.prototype.ngOnDestroy||null}}function Nt(t){return t[W]||null}function Pt(t,e){return t.hasOwnProperty(Y)?t[Y]:null}function Dt(t,e){const n=t[Q]||null;if(!n&&!0===e)throw new Error(`Type ${H(t)} does not have '\u0275mod' property.`);return n}const Ht=20,Ut=10;function Lt(t){return Array.isArray(t)&&"object"==typeof t[1]}function Mt(t){return Array.isArray(t)&&!0===t[1]}function Ft(t){return 0!=(8&t.flags)}function Vt(t){return 2==(2&t.flags)}function $t(t){return 1==(1&t.flags)}function zt(t){return null!==t.template}function qt(t){return 0!=(512&t[2])}class Bt{constructor(t,e,n){this.previousValue=t,this.currentValue=e,this.firstChange=n}isFirstChange(){return this.firstChange}}function Wt(){return Zt}function Zt(t){return t.type.prototype.ngOnChanges&&(t.setInput=Qt),Gt}function Gt(){const t=Jt(this),e=null==t?void 0:t.current;if(e){const n=t.previous;if(n===_t)t.previous=e;else for(let t in e)n[t]=e[t];t.current=null,this.ngOnChanges(e)}}function Qt(t,e,n,r){const s=Jt(t)||function(t,e){return t.__ngSimpleChanges__=e}(t,{previous:_t,current:null}),i=s.current||(s.current={}),o=s.previous,a=this.declaredInputs[n],u=o[a];i[a]=new Bt(u&&u.currentValue,e,o===_t),t[r]=e}function Jt(t){return t.__ngSimpleChanges__||null}Wt.ngInherit=!0;let Yt=void 0;function Kt(t){Yt=t}function Xt(t){return!!t.listen}const te={createRenderer:(t,e)=>void 0!==Yt?Yt:"undefined"!=typeof document?document:void 0};function ee(t){for(;Array.isArray(t);)t=t[0];return t}function ne(t,e){return ee(e[t.index])}function re(t,e){return t.data[e+Ht]}function se(t,e){const n=e[t];return Lt(n)?n:n[0]}function ie(t){const e=function(t){return t.__ngContext__||null}(t);return e?Array.isArray(e)?e:e.lView:null}function oe(t){return 4==(4&t[2])}function ae(t){return 128==(128&t[2])}function ue(t,e){return null===t||null==e?null:t[e]}function le(t){t[18]=0}function ce(t,e){t[5]+=e;let n=t,r=t[3];for(;null!==r&&(1===e&&1===n[5]||-1===e&&0===n[5]);)r[5]+=e,n=r,r=r[3]}const he={lFrame:Ae(null),bindingsEnabled:!0,checkNoChangesMode:!1};function de(){return he.bindingsEnabled}function fe(){return he.lFrame.lView}function pe(){return he.lFrame.tView}function ge(){return he.lFrame.currentTNode}function me(t,e){he.lFrame.currentTNode=t,he.lFrame.isParent=e}function be(){return he.lFrame.isParent}function ye(){return he.checkNoChangesMode}function ve(t){he.checkNoChangesMode=t}function we(){return he.lFrame.bindingIndex++}function _e(t,e){const n=he.lFrame;n.bindingIndex=n.bindingRootIndex=t,Ce(e)}function Ce(t){he.lFrame.currentDirectiveIndex=t}function Se(){return he.lFrame.currentQueryIndex}function xe(t){he.lFrame.currentQueryIndex=t}function Ee(t,e){const n=Oe();he.lFrame=n,n.currentTNode=e,n.lView=t}function Te(t){const e=Oe(),n=t[1];he.lFrame=e,e.currentTNode=n.firstChild,e.lView=t,e.tView=n,e.contextLView=t,e.bindingIndex=n.bindingStartIndex}function Oe(){const t=he.lFrame,e=null===t?null:t.child;return null===e?Ae(t):e}function Ae(t){const e={currentTNode:null,isParent:!0,lView:null,tView:null,selectedIndex:0,contextLView:null,elementDepthCount:0,currentNamespace:null,currentDirectiveIndex:-1,bindingRootIndex:-1,bindingIndex:-1,currentQueryIndex:0,parent:t,child:null};return null!==t&&(t.child=e),e}function ke(){const t=he.lFrame;return he.lFrame=t.parent,t.currentTNode=null,t.lView=null,t}const Re=ke;function je(){const t=ke();t.isParent=!0,t.tView=null,t.selectedIndex=0,t.contextLView=null,t.elementDepthCount=0,t.currentDirectiveIndex=-1,t.currentNamespace=null,t.bindingRootIndex=-1,t.bindingIndex=-1,t.currentQueryIndex=0}function Ie(t){he.lFrame.selectedIndex=t}function Ne(){const t=he.lFrame;return re(t.tView,t.selectedIndex)}function Pe(t,e){for(let n=e.directiveStart,r=e.directiveEnd;n=r)break}else e[o]<0&&(t[18]+=65536),(i>11>16&&(3&t[2])===e&&(t[2]+=2048,i.call(o)):i.call(o)}const Fe=-1;class Ve{constructor(t,e,n){this.factory=t,this.resolving=!1,this.canSeeViewProviders=e,this.injectImpl=n}}function $e(t,e,n){const r=Xt(t);let s=0;for(;se){o=i-1;break}}}for(;i>16,r=e;for(;n>0;)r=r[15],n--;return r}function Je(t){return"string"==typeof t?t:null==t?"":""+t}function Ye(t){return"function"==typeof t?t.name||t.toString():"object"==typeof t&&null!=t&&"function"==typeof t.type?t.type.name||t.type.toString():Je(t)}const Ke=(()=>("undefined"!=typeof requestAnimationFrame&&requestAnimationFrame||setTimeout).bind(B))();function Xe(t){return t instanceof Function?t():t}let tn=!0;function en(t){const e=tn;return tn=t,e}let nn=0;function rn(t,e){const n=on(t,e);if(-1!==n)return n;const r=e[1];r.firstCreatePass&&(t.injectorIndex=e.length,sn(r.data,t),sn(e,null),sn(r.blueprint,null));const s=an(t,e),i=t.injectorIndex;if(Ze(s)){const t=Ge(s),n=Qe(s,e),r=n[1].data;for(let s=0;s<8;s++)e[i+s]=n[t+s]|r[t+s]}return e[i+8]=s,i}function sn(t,e){t.push(0,0,0,0,0,0,0,0,e)}function on(t,e){return-1===t.injectorIndex||t.parent&&t.parent.injectorIndex===t.injectorIndex||null===e[t.injectorIndex+8]?-1:t.injectorIndex}function an(t,e){if(t.parent&&-1!==t.parent.injectorIndex)return t.parent.injectorIndex;let n=0,r=null,s=e;for(;null!==s;){const t=s[1],e=t.type;if(r=2===e?t.declTNode:1===e?s[6]:null,null===r)return Fe;if(n++,s=s[15],-1!==r.injectorIndex)return r.injectorIndex|n<<16}return Fe}function un(t,e,n){!function(t,e,n){let r;"string"==typeof n?r=n.charCodeAt(0)||0:n.hasOwnProperty(K)&&(r=n[K]),null==r&&(r=n[K]=nn++);const s=255&r,i=1<0?255&e:e}(n);if("function"==typeof s){Ee(e,t);try{const t=s();if(null!=t||r&x.Optional)return t;throw new Error(`No provider for ${Ye(n)}!`)}finally{Re()}}else if("number"==typeof s){if(-1===s)return new mn(t,e);let i=null,o=on(t,e),a=Fe,u=r&x.Host?e[16][6]:null;for((-1===o||r&x.SkipSelf)&&(a=-1===o?an(t,e):e[o+8],a!==Fe&&gn(r,!1)?(i=e[1],o=Ge(a),e=Qe(a,e)):o=-1);-1!==o;){const t=e[1];if(pn(s,o,t.data)){const t=hn(o,e,n,i,r,u);if(t!==cn)return t}a=e[o+8],a!==Fe&&gn(r,e[1].data[o+8]===u)&&pn(s,o,e)?(i=t,o=Ge(a),e=Qe(a,e)):o=-1}}}if(r&x.Optional&&void 0===s&&(s=null),0==(r&(x.Self|x.Host))){const t=e[9],i=ut(void 0);try{return t?t.get(n,s,r&x.Optional):ht(n,s,r&x.Optional)}finally{ut(i)}}if(r&x.Optional)return s;throw new Error(`NodeInjector: NOT_FOUND [${Ye(n)}]`)}const cn={};function hn(t,e,n,r,s,i){const o=e[1],a=o.data[t+8],u=dn(a,o,n,null==r?Vt(a)&&tn:r!=o&&2===a.type,s&x.Host&&i===a);return null!==u?fn(e,o,u,a):cn}function dn(t,e,n,r,s){const i=t.providerIndexes,o=e.data,a=1048575&i,u=t.directiveStart,l=i>>20,c=s?a+l:t.directiveEnd;for(let h=r?a:a+l;h=u&&t.type===n)return h}if(s){const t=o[u];if(t&&zt(t)&&t.type===n)return u}return null}function fn(t,e,n,r){let s=t[n];const i=e.data;if(s instanceof Ve){const o=s;if(o.resolving)throw new Error("Circular dep for "+Ye(i[n]));const a=en(o.canSeeViewProviders);o.resolving=!0;const u=o.injectImpl?ut(o.injectImpl):null;Ee(t,r);try{s=t[n]=o.factory(void 0,i,t,r),e.firstCreatePass&&n>=r.directiveStart&&function(t,e,n){const{ngOnChanges:r,ngOnInit:s,ngDoCheck:i}=e.type.prototype;if(r){const r=Zt(e);(n.preOrderHooks||(n.preOrderHooks=[])).push(t,r),(n.preOrderCheckHooks||(n.preOrderCheckHooks=[])).push(t,r)}s&&(n.preOrderHooks||(n.preOrderHooks=[])).push(0-t,s),i&&((n.preOrderHooks||(n.preOrderHooks=[])).push(t,i),(n.preOrderCheckHooks||(n.preOrderCheckHooks=[])).push(t,i))}(n,i[n],e)}finally{null!==u&&ut(u),en(a),o.resolving=!1,Re()}}return s}function pn(t,e,n){const r=64&t,s=32&t;let i;return i=128&t?r?s?n[e+7]:n[e+6]:s?n[e+5]:n[e+4]:r?s?n[e+3]:n[e+2]:s?n[e+1]:n[e],!!(i&1<zn(t.trim())).join(", ")),this.buf.push(" ",e,'="',sr(o),'"')}var r;return this.buf.push(">"),!0}endElement(t){const e=t.nodeName.toLowerCase();Jn.hasOwnProperty(e)&&!Wn.hasOwnProperty(e)&&(this.buf.push(""))}chars(t){this.buf.push(sr(t))}checkClobberedElement(t,e){if(e&&(t.compareDocumentPosition(e)&Node.DOCUMENT_POSITION_CONTAINED_BY)===Node.DOCUMENT_POSITION_CONTAINED_BY)throw new Error("Failed to sanitize html because the element is clobbered: "+t.outerHTML);return e}}const nr=/[\uD800-\uDBFF][\uDC00-\uDFFF]/g,rr=/([^\#-~ |!])/g;function sr(t){return t.replace(/&/g,"&").replace(nr,(function(t){return"&#"+(1024*(t.charCodeAt(0)-55296)+(t.charCodeAt(1)-56320)+65536)+";"})).replace(rr,(function(t){return"&#"+t.charCodeAt(0)+";"})).replace(//g,">")}let ir;function or(t,e){let n=null;try{ir=ir||function(t){return function(){try{return!!(new window.DOMParser).parseFromString("","text/html")}catch(t){return!1}}()?new Mn:new Fn(t)}(t);let r=e?String(e):"";n=ir.getInertBodyElement(r);let s=5,i=r;do{if(0===s)throw new Error("Failed to sanitize html because the input is unstable");s--,r=i,i=n.innerHTML,n=ir.getInertBodyElement(r)}while(r!==i);const o=new er,a=o.sanitizeChildren(ar(n)||n);return Un()&&o.sanitizedSomething&&console.warn("WARNING: sanitizing HTML stripped some content, see http://g.co/ng/security#xss"),a}finally{if(n){const t=ar(n)||n;for(;t.firstChild;)t.removeChild(t.firstChild)}}}function ar(t){return"content"in t&&function(t){return t.nodeType===Node.ELEMENT_NODE&&"TEMPLATE"===t.nodeName}(t)?t.content:null}var ur=function(t){return t[t.NONE=0]="NONE",t[t.HTML=1]="HTML",t[t.STYLE=2]="STYLE",t[t.SCRIPT=3]="SCRIPT",t[t.URL=4]="URL",t[t.RESOURCE_URL=5]="RESOURCE_URL",t}({});function lr(t){const e=function(){const t=fe();return t&&t[12]}();return e?e.sanitize(ur.URL,t)||"":An(t,"URL")?On(t):zn(Je(t))}function cr(t,e){t.__ngContext__=e}function hr(t,e,n){let r=t.length;for(;;){const s=t.indexOf(e,n);if(-1===s)return s;if(0===s||t.charCodeAt(s-1)<=32){const n=e.length;if(s+n===r||t.charCodeAt(s+n)<=32)return s}n=s+1}}const dr="ng-template";function fr(t,e,n){let r=0;for(;ri?"":s[c+1].toLowerCase();const e=8&r?t:null;if(e&&-1!==hr(e,l,0)||2&r&&l!==t){if(br(r))return!1;o=!0}}}}else{if(!o&&!br(r)&&!br(u))return!1;if(o&&br(u))continue;o=!1,r=u|1&r}}return br(r)||o}function br(t){return 0==(1&t)}function yr(t,e,n,r){if(null===e)return-1;let s=0;if(r||!n){let n=!1;for(;s-1)for(n++;n0?'="'+e+'"':"")+"]"}else 8&r?s+="."+o:4&r&&(s+=" "+o);else""===s||br(o)||(e+=wr(i,s),s=""),r=o,i=i||!br(r);n++}return""!==s&&(e+=wr(i,s)),e}const Cr={};function Sr(t){const e=t[3];return Mt(e)?e[3]:e}function xr(t){return Tr(t[13])}function Er(t){return Tr(t[4])}function Tr(t){for(;null!==t&&!Mt(t);)t=t[4];return t}function Or(t,e){const n=t.contentQueries;if(null!==n)for(let r=0;rHt&&function(t,e,n,r){if(!r)if(3==(3&e[2])){const n=t.preOrderCheckHooks;null!==n&&De(e,n,0)}else{const n=t.preOrderHooks;null!==n&&He(e,n,0,0)}Ie(0)}(t,e,0,ye()),n(r,s)}finally{Ie(i)}}function Dr(t,e,n){de()&&(function(t,e,n,r){const s=n.directiveStart,i=n.directiveEnd;t.firstCreatePass||rn(n,e),cr(r,e);const o=n.initialInputs;for(let a=s;a0&&function t(e){for(let r=xr(e);null!==r;r=Er(r))for(let e=Ut;e0&&t(n)}const n=e[1].components;if(null!==n)for(let r=0;r0&&t(s)}}(n)}}function ns(t,e){const n=se(e,t),r=n[1];!function(t,e){for(let n=e.length;nPromise.resolve(null))();function ls(t){return t[7]||(t[7]=[])}function cs(t,e){const n=t[9],r=n?n.get(wn,null):null;r&&r.handleError(e)}function hs(t,e,n,r,s){for(let i=0;i0&&(t[n-1][4]=r[4]);const o=yt(t,Ut+e);Ss(r[1],s=r,s[11],2,null,null),s[0]=null,s[6]=null;const a=o[19];null!==a&&a.detachView(o[1]),r[3]=null,r[4]=null,r[2]&=-129}var s;return r}function gs(t,e){if(!(256&e[2])){const n=e[11];Xt(n)&&n.destroyNode&&Ss(t,e,n,3,null,null),function(t){let e=t[13];if(!e)return ms(t[1],t);for(;e;){let n=null;if(Lt(e))n=e[13];else{const t=e[10];t&&(n=t)}if(!n){for(;e&&!e[4]&&e!==t;)Lt(e)&&ms(e[1],e),e=e[3];null===e&&(e=t),Lt(e)&&ms(e[1],e),n=e&&e[4]}e=n}}(e)}}function ms(t,e){if(!(256&e[2])){e[2]&=-129,e[2]|=256,function(t,e){let n;if(null!=t&&null!=(n=t.destroyHooks))for(let r=0;r=0?t[a]():t[-a].unsubscribe(),r+=2}else n[r].call(t[n[r+1]]);e[7]=null}}(t,e),1===e[1].type&&Xt(e[11])&&e[11].destroy();const n=e[17];if(null!==n&&Mt(e[3])){n!==e[3]&&fs(n,e);const r=e[19];null!==r&&r.detachView(t)}}}function bs(t,e,n,r){Xt(t)?t.insertBefore(e,n,r):e.insertBefore(n,r,!0)}function ys(t,e,n){Xt(t)?t.appendChild(e,n):e.appendChild(n)}function vs(t,e,n,r){null!==r?bs(t,e,n,r):ys(t,e,n)}function ws(t,e){return Xt(t)?t.parentNode(e):e.parentNode}function _s(t,e,n,r){const s=function(t,e,n){let r=e.parent;for(;null!=r&&(3===r.type||4===r.type);)r=(e=r).parent;if(null===r)return n[0];if(e&&4===e.type&&4&e.flags)return ne(e,n).parentNode;if(2&r.flags){const e=t.data,n=e[e[r.index].directiveStart].encapsulation;if(n!==wt.ShadowDom&&n!==wt.Native)return null}return ne(r,n)}(t,r,e);if(null!=s){const t=e[11],i=function(t,e){return 3===t.type||4===t.type?ne(t,e):null}(r.parent||e[6],e);if(Array.isArray(n))for(let e=0;e-1&&this._viewContainerRef.detach(t),this._viewContainerRef=null}gs(this._lView[1],this._lView)}onDestroy(t){Mr(this._lView[1],this._lView,null,t)}markForCheck(){ss(this._cdRefInjectingView||this._lView)}detach(){this._lView[2]&=-129}reattach(){this._lView[2]|=128}detectChanges(){is(this._lView[1],this._lView,this.context)}checkNoChanges(){!function(t,e,n){ve(!0);try{is(t,e,n)}finally{ve(!1)}}(this._lView[1],this._lView,this.context)}attachToViewContainerRef(t){if(this._appRef)throw new Error("This view is already attached directly to the ApplicationRef!");this._viewContainerRef=t}detachFromAppRef(){var t;this._appRef=null,Ss(this._lView[1],t=this._lView,t[11],2,null,null)}attachToAppRef(t){if(this._viewContainerRef)throw new Error("This view is already attached to a ViewContainer!");this._appRef=t}}class As extends Os{constructor(t){super(t),this._view=t}detectChanges(){os(this._view)}checkNoChanges(){!function(t){ve(!0);try{os(t)}finally{ve(!1)}}(this._view)}get context(){return null}}let ks,Rs,js;function Is(t,e,n){return ks||(ks=class extends t{}),new ks(ne(e,n))}function Ns(t,e,n,r){return Rs||(Rs=class extends t{constructor(t,e,n){super(),this._declarationView=t,this._declarationTContainer=e,this.elementRef=n}createEmbeddedView(t){const e=this._declarationTContainer.tViews,n=kr(this._declarationView,e,t,16,null,e.declTNode,null,null,null,null);n[17]=this._declarationView[this._declarationTContainer.index];const r=this._declarationView[19];return null!==r&&(n[19]=r.createEmbeddedView(e)),jr(e,n,t),new Os(n)}}),0===n.type?new Rs(r,n,Is(e,n,r)):null}function Ps(t,e,n,r){let s;js||(js=class extends t{constructor(t,e,n){super(),this._lContainer=t,this._hostTNode=e,this._hostView=n}get element(){return Is(e,this._hostTNode,this._hostView)}get injector(){return new mn(this._hostTNode,this._hostView)}get parentInjector(){const t=an(this._hostTNode,this._hostView);if(Ze(t)){const e=Qe(t,this._hostView),n=Ge(t);return new mn(e[1].data[n+8],e)}return new mn(null,this._hostView)}clear(){for(;this.length>0;)this.remove(this.length-1)}get(t){return null!==this._lContainer[8]&&this._lContainer[8][t]||null}get length(){return this._lContainer.length-Ut}createEmbeddedView(t,e,n){const r=t.createEmbeddedView(e||{});return this.insert(r,n),r}createComponent(t,e,n,r,s){const i=n||this.parentInjector;if(!s&&null==t.ngModule&&i){const t=i.get(pt,null);t&&(s=t)}const o=t.create(i,r,void 0,s);return this.insert(o.hostView,e),o}insert(t,e){const n=t._lView,r=n[1];if(t.destroyed)throw new Error("Cannot insert a destroyed View in a ViewContainer!");if(this.allocateContainerIfNeeded(),Mt(n[3])){const e=this.indexOf(t);if(-1!==e)this.detach(e);else{const e=n[3],r=new js(e,e[6],e[3]);r.detach(r.indexOf(t))}}const s=this._adjustIndex(e),i=this._lContainer;!function(t,e,n,r){const s=Ut+r,i=n.length;r>0&&(n[s-1][4]=e),r{class t{}return t.__NG_ELEMENT_ID__=()=>Us(),t})();const Us=Ds,Ls=Function,Ms=new X("Set Injector scope."),Fs={},Vs={},$s=[];let zs=void 0;function qs(){return void 0===zs&&(zs=new ft),zs}function Bs(t,e=null,n=null,r){return new Ws(t,n,e||qs(),r)}class Ws{constructor(t,e,n,r=null){this.parent=n,this.records=new Map,this.injectorDefTypes=new Set,this.onDestroy=new Set,this._destroyed=!1;const s=[];e&&mt(e,n=>this.processProvider(n,t,e)),mt([t],t=>this.processInjectorType(t,[],s)),this.records.set(tt,Gs(void 0,this));const i=this.records.get(Ms);this.scope=null!=i?i.value:null,this.source=r||("object"==typeof t?null:H(t))}get destroyed(){return this._destroyed}destroy(){this.assertNotDestroyed(),this._destroyed=!0;try{this.onDestroy.forEach(t=>t.ngOnDestroy())}finally{this.records.clear(),this.onDestroy.clear(),this.injectorDefTypes.clear()}}get(t,e=et,n=x.Default){this.assertNotDestroyed();const r=at(this);try{if(!(n&x.SkipSelf)){let e=this.records.get(t);if(void 0===e){const n=("function"==typeof(s=t)||"object"==typeof s&&s instanceof X)&&A(t);e=n&&this.injectableDefInScope(n)?Gs(Zs(t),Fs):null,this.records.set(t,e)}if(null!=e)return this.hydrate(t,e)}return(n&x.Self?qs():this.parent).get(t,e=n&x.Optional&&e===et?null:e)}catch(i){if("NullInjectorError"===i.name){if((i.ngTempTokenPath=i.ngTempTokenPath||[]).unshift(H(t)),r)throw i;return function(t,e,n,r){const s=t.ngTempTokenPath;throw e[rt]&&s.unshift(e[rt]),t.message=function(t,e,n,r=null){t=t&&"\n"===t.charAt(0)&&"\u0275"==t.charAt(1)?t.substr(2):t;let s=H(e);if(Array.isArray(e))s=e.map(H).join(" -> ");else if("object"==typeof e){let t=[];for(let n in e)if(e.hasOwnProperty(n)){let r=e[n];t.push(n+":"+("string"==typeof r?JSON.stringify(r):H(r)))}s=`{${t.join(", ")}}`}return`${n}${r?"("+r+")":""}[${s}]: ${t.replace(nt,"\n ")}`}("\n"+t.message,s,n,r),t.ngTokenPath=s,t.ngTempTokenPath=null,t}(i,t,"R3InjectorError",this.source)}throw i}finally{at(r)}var s}_resolveInjectorDefTypes(){this.injectorDefTypes.forEach(t=>this.get(t))}toString(){const t=[];return this.records.forEach((e,n)=>t.push(H(n))),`R3Injector[${t.join(", ")}]`}assertNotDestroyed(){if(this._destroyed)throw new Error("Injector has already been destroyed.")}processInjectorType(t,e,n){if(!(t=F(t)))return!1;let r=R(t);const s=null==r&&t.ngModule||void 0,i=void 0===s?t:s,o=-1!==n.indexOf(i);if(void 0!==s&&(r=R(s)),null==r)return!1;if(null!=r.imports&&!o){let t;n.push(i);try{mt(r.imports,r=>{this.processInjectorType(r,e,n)&&(void 0===t&&(t=[]),t.push(r))})}finally{}if(void 0!==t)for(let e=0;ethis.processProvider(t,n,r||$s))}}this.injectorDefTypes.add(i),this.records.set(i,Gs(r.factory,Fs));const a=r.providers;if(null!=a&&!o){const e=t;mt(a,t=>this.processProvider(t,e,a))}return void 0!==s&&void 0!==t.providers}processProvider(t,e,n){let r=Js(t=F(t))?t:F(t&&t.provide);const s=function(t,e,n){return Qs(t)?Gs(void 0,t.useValue):Gs(function(t,e,n){let r=void 0;if(Js(t)){const e=F(t);return Pt(e)||Zs(e)}if(Qs(t))r=()=>F(t.useValue);else if((s=t)&&s.useFactory)r=()=>t.useFactory(...dt(t.deps||[]));else if(function(t){return!(!t||!t.useExisting)}(t))r=()=>ct(F(t.useExisting));else{const e=F(t&&(t.useClass||t.provide));if(!function(t){return!!t.deps}(t))return Pt(e)||Zs(e);r=()=>new e(...dt(t.deps))}var s;return r}(t),Fs)}(t);if(Js(t)||!0!==t.multi)this.records.get(r);else{let e=this.records.get(r);e||(e=Gs(void 0,Fs,!0),e.factory=()=>dt(e.multi),this.records.set(r,e)),r=t,e.multi.push(t)}this.records.set(r,s)}hydrate(t,e){var n;return e.value===Fs&&(e.value=Vs,e.value=e.factory()),"object"==typeof e.value&&e.value&&null!==(n=e.value)&&"object"==typeof n&&"function"==typeof n.ngOnDestroy&&this.onDestroy.add(e.value),e.value}injectableDefInScope(t){return!!t.providedIn&&("string"==typeof t.providedIn?"any"===t.providedIn||t.providedIn===this.scope:this.injectorDefTypes.has(t.providedIn))}}function Zs(t){const e=A(t),n=null!==e?e.factory:Pt(t);if(null!==n)return n;const r=R(t);if(null!==r)return r.factory;if(t instanceof X)throw new Error(`Token ${H(t)} is missing a \u0275prov definition.`);if(t instanceof Function)return function(t){const e=t.length;if(e>0){const n=function(t,e){const n=[];for(let r=0;rn.factory(t):()=>new t}(t);throw new Error("unreachable")}function Gs(t,e,n=!1){return{factory:t,value:e,multi:n?[]:void 0}}function Qs(t){return null!==t&&"object"==typeof t&&st in t}function Js(t){return"function"==typeof t}const Ys=function(t,e,n){return function(t,e=null,n=null,r){const s=Bs(t,e,n,r);return s._resolveInjectorDefTypes(),s}({name:n},e,t,n)};let Ks=(()=>{class t{static create(t,e){return Array.isArray(t)?Ys(t,e,""):Ys(t.providers,t.parent,t.name||"")}}return t.THROW_IF_NOT_FOUND=et,t.NULL=new ft,t.\u0275prov=T({token:t,providedIn:"any",factory:()=>ct(tt)}),t.__NG_ELEMENT_ID__=-1,t})();const Xs=new X("AnalyzeForEntryComponents");function ti(t,e,n){let r=n?t.styles:null,s=n?t.classes:null,i=0;if(null!==e)for(let o=0;oa(ee(t[r.index])).target:r.index;if(Xt(n)){let o=null;if(!a&&u&&(o=function(t,e,n,r){const s=t.cleanup;if(null!=s)for(let i=0;in?t[n]:null}"string"==typeof t&&(i+=2)}return null}(t,e,s,r.index)),null!==o)(o.__ngLastListenerFn__||o).__ngNextListenerFn__=i,o.__ngLastListenerFn__=i,h=!1;else{i=_i(r,e,i,!1);const t=n.listen(f.name||p,s,i);c.push(i,t),l&&l.push(s,m,g,g+1)}}else i=_i(r,e,i,!0),p.addEventListener(s,i,o),c.push(i),l&&l.push(s,m,g,o)}const d=r.outputs;let f;if(h&&null!==d&&(f=d[s])){const t=f.length;if(t)for(let n=0;n{class t{}return t.NULL=new Ei,t})(),Oi=(()=>{class t{constructor(t){this.nativeElement=t}}return t.__NG_ELEMENT_ID__=()=>Ai(t),t})();const Ai=function(t){return Is(t,ge(),fe())};class ki{}var Ri=function(t){return t[t.Important=1]="Important",t[t.DashCase=2]="DashCase",t}({});let ji=(()=>{class t{}return t.__NG_ELEMENT_ID__=()=>Ii(),t})();const Ii=function(){const t=fe(),e=se(ge().index,t);return function(t){const e=t[11];if(Xt(e))return e;throw new Error("Cannot inject Renderer2 when the application uses Renderer3!")}(Lt(e)?e:t)};let Ni=(()=>{class t{}return t.\u0275prov=T({token:t,providedIn:"root",factory:()=>null}),t})();class Pi{constructor(t){this.full=t,this.major=t.split(".")[0],this.minor=t.split(".")[1],this.patch=t.split(".").slice(2).join(".")}}const Di=new Pi("10.1.5");class Hi{constructor(){}supports(t){return si(t)}create(t){return new Li(t)}}const Ui=(t,e)=>e;class Li{constructor(t){this.length=0,this._linkedRecords=null,this._unlinkedRecords=null,this._previousItHead=null,this._itHead=null,this._itTail=null,this._additionsHead=null,this._additionsTail=null,this._movesHead=null,this._movesTail=null,this._removalsHead=null,this._removalsTail=null,this._identityChangesHead=null,this._identityChangesTail=null,this._trackByFn=t||Ui}forEachItem(t){let e;for(e=this._itHead;null!==e;e=e._next)t(e)}forEachOperation(t){let e=this._itHead,n=this._removalsHead,r=0,s=null;for(;e||n;){const i=!n||e&&e.currentIndex<$i(n,r,s)?e:n,o=$i(i,r,s),a=i.currentIndex;if(i===n)r--,n=n._nextRemoved;else if(e=e._next,null==i.previousIndex)r++;else{s||(s=[]);const t=o-r,e=a-r;if(t!=e){for(let n=0;n{r=this._trackByFn(e,t),null!==s&&Object.is(s.trackById,r)?(i&&(s=this._verifyReinsertion(s,t,r,e)),Object.is(s.item,t)||this._addIdentityChange(s,t)):(s=this._mismatch(s,t,r,e),i=!0),s=s._next,e++}),this.length=e;return this._truncate(s),this.collection=t,this.isDirty}get isDirty(){return null!==this._additionsHead||null!==this._movesHead||null!==this._removalsHead||null!==this._identityChangesHead}_reset(){if(this.isDirty){let t;for(t=this._previousItHead=this._itHead;null!==t;t=t._next)t._nextPrevious=t._next;for(t=this._additionsHead;null!==t;t=t._nextAdded)t.previousIndex=t.currentIndex;for(this._additionsHead=this._additionsTail=null,t=this._movesHead;null!==t;t=t._nextMoved)t.previousIndex=t.currentIndex;this._movesHead=this._movesTail=null,this._removalsHead=this._removalsTail=null,this._identityChangesHead=this._identityChangesTail=null}}_mismatch(t,e,n,r){let s;return null===t?s=this._itTail:(s=t._prev,this._remove(t)),null!==(t=null===this._linkedRecords?null:this._linkedRecords.get(n,r))?(Object.is(t.item,e)||this._addIdentityChange(t,e),this._moveAfter(t,s,r)):null!==(t=null===this._unlinkedRecords?null:this._unlinkedRecords.get(n,null))?(Object.is(t.item,e)||this._addIdentityChange(t,e),this._reinsertAfter(t,s,r)):t=this._addAfter(new Mi(e,n),s,r),t}_verifyReinsertion(t,e,n,r){let s=null===this._unlinkedRecords?null:this._unlinkedRecords.get(n,null);return null!==s?t=this._reinsertAfter(s,t._prev,r):t.currentIndex!=r&&(t.currentIndex=r,this._addToMoves(t,r)),t}_truncate(t){for(;null!==t;){const e=t._next;this._addToRemovals(this._unlink(t)),t=e}null!==this._unlinkedRecords&&this._unlinkedRecords.clear(),null!==this._additionsTail&&(this._additionsTail._nextAdded=null),null!==this._movesTail&&(this._movesTail._nextMoved=null),null!==this._itTail&&(this._itTail._next=null),null!==this._removalsTail&&(this._removalsTail._nextRemoved=null),null!==this._identityChangesTail&&(this._identityChangesTail._nextIdentityChange=null)}_reinsertAfter(t,e,n){null!==this._unlinkedRecords&&this._unlinkedRecords.remove(t);const r=t._prevRemoved,s=t._nextRemoved;return null===r?this._removalsHead=s:r._nextRemoved=s,null===s?this._removalsTail=r:s._prevRemoved=r,this._insertAfter(t,e,n),this._addToMoves(t,n),t}_moveAfter(t,e,n){return this._unlink(t),this._insertAfter(t,e,n),this._addToMoves(t,n),t}_addAfter(t,e,n){return this._insertAfter(t,e,n),this._additionsTail=null===this._additionsTail?this._additionsHead=t:this._additionsTail._nextAdded=t,t}_insertAfter(t,e,n){const r=null===e?this._itHead:e._next;return t._next=r,t._prev=e,null===r?this._itTail=t:r._prev=t,null===e?this._itHead=t:e._next=t,null===this._linkedRecords&&(this._linkedRecords=new Vi),this._linkedRecords.put(t),t.currentIndex=n,t}_remove(t){return this._addToRemovals(this._unlink(t))}_unlink(t){null!==this._linkedRecords&&this._linkedRecords.remove(t);const e=t._prev,n=t._next;return null===e?this._itHead=n:e._next=n,null===n?this._itTail=e:n._prev=e,t}_addToMoves(t,e){return t.previousIndex===e||(this._movesTail=null===this._movesTail?this._movesHead=t:this._movesTail._nextMoved=t),t}_addToRemovals(t){return null===this._unlinkedRecords&&(this._unlinkedRecords=new Vi),this._unlinkedRecords.put(t),t.currentIndex=null,t._nextRemoved=null,null===this._removalsTail?(this._removalsTail=this._removalsHead=t,t._prevRemoved=null):(t._prevRemoved=this._removalsTail,this._removalsTail=this._removalsTail._nextRemoved=t),t}_addIdentityChange(t,e){return t.item=e,this._identityChangesTail=null===this._identityChangesTail?this._identityChangesHead=t:this._identityChangesTail._nextIdentityChange=t,t}}class Mi{constructor(t,e){this.item=t,this.trackById=e,this.currentIndex=null,this.previousIndex=null,this._nextPrevious=null,this._prev=null,this._next=null,this._prevDup=null,this._nextDup=null,this._prevRemoved=null,this._nextRemoved=null,this._nextAdded=null,this._nextMoved=null,this._nextIdentityChange=null}}class Fi{constructor(){this._head=null,this._tail=null}add(t){null===this._head?(this._head=this._tail=t,t._nextDup=null,t._prevDup=null):(this._tail._nextDup=t,t._prevDup=this._tail,t._nextDup=null,this._tail=t)}get(t,e){let n;for(n=this._head;null!==n;n=n._nextDup)if((null===e||e<=n.currentIndex)&&Object.is(n.trackById,t))return n;return null}remove(t){const e=t._prevDup,n=t._nextDup;return null===e?this._head=n:e._nextDup=n,null===n?this._tail=e:n._prevDup=e,null===this._head}}class Vi{constructor(){this.map=new Map}put(t){const e=t.trackById;let n=this.map.get(e);n||(n=new Fi,this.map.set(e,n)),n.add(t)}get(t,e){const n=this.map.get(t);return n?n.get(t,e):null}remove(t){const e=t.trackById;return this.map.get(e).remove(t)&&this.map.delete(e),t}get isEmpty(){return 0===this.map.size}clear(){this.map.clear()}}function $i(t,e,n){const r=t.previousIndex;if(null===r)return r;let s=0;return n&&r{if(e&&e.key===n)this._maybeAddToChanges(e,t),this._appendAfter=e,e=e._next;else{const r=this._getOrCreateRecordForKey(n,t);e=this._insertBeforeOrAppend(e,r)}}),e){e._prev&&(e._prev._next=null),this._removalsHead=e;for(let t=e;null!==t;t=t._nextRemoved)t===this._mapHead&&(this._mapHead=null),this._records.delete(t.key),t._nextRemoved=t._next,t.previousValue=t.currentValue,t.currentValue=null,t._prev=null,t._next=null}return this._changesTail&&(this._changesTail._nextChanged=null),this._additionsTail&&(this._additionsTail._nextAdded=null),this.isDirty}_insertBeforeOrAppend(t,e){if(t){const n=t._prev;return e._next=t,e._prev=n,t._prev=e,n&&(n._next=e),t===this._mapHead&&(this._mapHead=e),this._appendAfter=t,t}return this._appendAfter?(this._appendAfter._next=e,e._prev=this._appendAfter):this._mapHead=e,this._appendAfter=e,null}_getOrCreateRecordForKey(t,e){if(this._records.has(t)){const n=this._records.get(t);this._maybeAddToChanges(n,e);const r=n._prev,s=n._next;return r&&(r._next=s),s&&(s._prev=r),n._next=null,n._prev=null,n}const n=new Bi(t);return this._records.set(t,n),n.currentValue=e,this._addToAdditions(n),n}_reset(){if(this.isDirty){let t;for(this._previousMapHead=this._mapHead,t=this._previousMapHead;null!==t;t=t._next)t._nextPrevious=t._next;for(t=this._changesHead;null!==t;t=t._nextChanged)t.previousValue=t.currentValue;for(t=this._additionsHead;null!=t;t=t._nextAdded)t.previousValue=t.currentValue;this._changesHead=this._changesTail=null,this._additionsHead=this._additionsTail=null,this._removalsHead=null}}_maybeAddToChanges(t,e){Object.is(e,t.currentValue)||(t.previousValue=t.currentValue,t.currentValue=e,this._addToChanges(t))}_addToAdditions(t){null===this._additionsHead?this._additionsHead=this._additionsTail=t:(this._additionsTail._nextAdded=t,this._additionsTail=t)}_addToChanges(t){null===this._changesHead?this._changesHead=this._changesTail=t:(this._changesTail._nextChanged=t,this._changesTail=t)}_forEach(t,e){t instanceof Map?t.forEach(e):Object.keys(t).forEach(n=>e(t[n],n))}}class Bi{constructor(t){this.key=t,this.previousValue=null,this.currentValue=null,this._nextPrevious=null,this._next=null,this._prev=null,this._nextAdded=null,this._nextRemoved=null,this._nextChanged=null}}let Wi=(()=>{class t{constructor(t){this.factories=t}static create(e,n){if(null!=n){const t=n.factories.slice();e=e.concat(t)}return new t(e)}static extend(e){return{provide:t,useFactory:n=>{if(!n)throw new Error("Cannot extend IterableDiffers without a parent injector");return t.create(e,n)},deps:[[t,new S,new _]]}}find(t){const e=this.factories.find(e=>e.supports(t));if(null!=e)return e;throw new Error(`Cannot find a differ supporting object '${t}' of type '${n=t,n.name||typeof n}'`);var n}}return t.\u0275prov=T({token:t,providedIn:"root",factory:()=>new t([new Hi])}),t})(),Zi=(()=>{class t{constructor(t){this.factories=t}static create(e,n){if(n){const t=n.factories.slice();e=e.concat(t)}return new t(e)}static extend(e){return{provide:t,useFactory:n=>{if(!n)throw new Error("Cannot extend KeyValueDiffers without a parent injector");return t.create(e,n)},deps:[[t,new S,new _]]}}find(t){const e=this.factories.find(e=>e.supports(t));if(e)return e;throw new Error(`Cannot find a differ supporting object '${t}'`)}}return t.\u0275prov=T({token:t,providedIn:"root",factory:()=>new t([new zi])}),t})();const Gi=[new zi],Qi=new Wi([new Hi]),Ji=new Zi(Gi);let Yi=(()=>{class t{}return t.__NG_ELEMENT_ID__=()=>Ki(t,Oi),t})();const Ki=function(t,e){return Ns(t,e,ge(),fe())};let Xi=(()=>{class t{}return t.__NG_ELEMENT_ID__=()=>to(t,Oi),t})();const to=function(t,e){return Ps(t,e,ge(),fe())},eo={};class no extends Ti{constructor(t){super(),this.ngModule=t}resolveComponentFactory(t){const e=Nt(t);return new io(e,this.ngModule)}}function ro(t){const e=[];for(let n in t)t.hasOwnProperty(n)&&e.push({propName:t[n],templateName:n});return e}const so=new X("SCHEDULER_TOKEN",{providedIn:"root",factory:()=>Ke});class io extends xi{constructor(t,e){super(),this.componentDef=t,this.ngModule=e,this.componentType=t.type,this.selector=t.selectors.map(_r).join(","),this.ngContentSelectors=t.ngContentSelectors?t.ngContentSelectors:[],this.isBoundToModule=!!e}get inputs(){return ro(this.componentDef.inputs)}get outputs(){return ro(this.componentDef.outputs)}create(t,e,n,r){const s=(r=r||this.ngModule)?function(t,e){return{get:(n,r,s)=>{const i=t.get(n,eo,s);return i!==eo||r===eo?i:e.get(n,r,s)}}}(t,r.injector):t,i=s.get(ki,te),o=s.get(Ni,null),a=i.createRenderer(null,this.componentDef),u=this.componentDef.selectors[0][0]||"div",l=n?function(t,e,n){if(Xt(t))return t.selectRootElement(e,n===wt.ShadowDom);let r="string"==typeof e?t.querySelector(e):e;return r.textContent="",r}(a,n,this.componentDef.encapsulation):Ar(u,i.createRenderer(null,this.componentDef),function(t){const e=t.toLowerCase();return"svg"===e?"http://www.w3.org/2000/svg":"math"===e?"http://www.w3.org/1998/MathML/":null}(u)),c=this.componentDef.onPush?576:528,h={components:[],scheduler:Ke,clean:us,playerHandler:null,flags:0},d=Lr(0,null,null,1,0,null,null,null,null,null),f=kr(null,d,h,c,null,null,i,a,o,s);let p,g;Te(f);try{const t=function(t,e,n,r,s,i){const o=n[1];n[20]=t;const a=Rr(o,0,2,null,null),u=a.mergedAttrs=e.hostAttrs;null!==u&&(ti(a,u,!0),null!==t&&($e(s,t,u),null!==a.classes&&Ts(s,t,a.classes),null!==a.styles&&Es(s,t,a.styles)));const l=r.createRenderer(t,e),c=kr(n,Ur(e),null,e.onPush?64:16,n[20],a,r,l,null,null);return o.firstCreatePass&&(un(rn(a,n),o,e.type),Zr(o,a),Qr(a,n.length,1)),rs(n,c),n[20]=c}(l,this.componentDef,f,i,a);if(l)if(n)$e(a,l,["ng-version",Di.full]);else{const{attrs:t,classes:e}=function(t){const e=[],n=[];let r=1,s=2;for(;r0&&Ts(a,l,e.join(" "))}if(g=re(d,0),void 0!==e){const t=g.projection=[];for(let n=0;nt(o,e)),e.contentQueries&&e.contentQueries(1,o,n.length-1);const a=ge();if(i.firstCreatePass&&(null!==e.hostBindings||null!==e.hostAttrs)){Ie(a.index-Ht);const t=n[1];zr(t,e),qr(t,n,e.hostVars),Br(e,o)}return o}(t,this.componentDef,f,h,[ei]),jr(d,f,null)}finally{je()}return new oo(this.componentType,p,Is(Oi,g,f),f,g)}}class oo extends class{}{constructor(t,e,n,r,s){super(),this.location=n,this._rootLView=r,this._tNode=s,this.destroyCbs=[],this.instance=e,this.hostView=this.changeDetectorRef=new As(r),this.componentType=t}get injector(){return new mn(this._tNode,this._rootLView)}destroy(){this.destroyCbs&&(this.destroyCbs.forEach(t=>t()),this.destroyCbs=null,!this.hostView.destroyed&&this.hostView.destroy())}onDestroy(t){this.destroyCbs&&this.destroyCbs.push(t)}}const ao=void 0;var uo=["en",[["a","p"],["AM","PM"],ao],[["AM","PM"],ao,ao],[["S","M","T","W","T","F","S"],["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"],["Su","Mo","Tu","We","Th","Fr","Sa"]],ao,[["J","F","M","A","M","J","J","A","S","O","N","D"],["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],["January","February","March","April","May","June","July","August","September","October","November","December"]],ao,[["B","A"],["BC","AD"],["Before Christ","Anno Domini"]],0,[6,0],["M/d/yy","MMM d, y","MMMM d, y","EEEE, MMMM d, y"],["h:mm a","h:mm:ss a","h:mm:ss a z","h:mm:ss a zzzz"],["{1}, {0}",ao,"{1} 'at' {0}",ao],[".",",",";","%","+","-","E","\xd7","\u2030","\u221e","NaN",":"],["#,##0.###","#,##0%","\xa4#,##0.00","#E0"],"USD","$","US Dollar",{},"ltr",function(t){let e=Math.floor(Math.abs(t)),n=t.toString().replace(/^[^.]*\.?/,"").length;return 1===e&&0===n?1:5}];let lo={};function co(t,e,n){"string"!=typeof e&&(n=e,e=t[mo.LocaleId]),e=e.toLowerCase().replace(/_/g,"-"),lo[e]=t,n&&(lo[e][mo.ExtraData]=n)}function ho(t){const e=function(t){return t.toLowerCase().replace(/_/g,"-")}(t);let n=go(e);if(n)return n;const r=e.split("-")[0];if(n=go(r),n)return n;if("en"===r)return uo;throw new Error(`Missing locale data for the locale "${t}".`)}function fo(t){return ho(t)[mo.CurrencyCode]||null}function po(t){return ho(t)[mo.PluralCase]}function go(t){return t in lo||(lo[t]=B.ng&&B.ng.common&&B.ng.common.locales&&B.ng.common.locales[t]),lo[t]}var mo=function(t){return t[t.LocaleId=0]="LocaleId",t[t.DayPeriodsFormat=1]="DayPeriodsFormat",t[t.DayPeriodsStandalone=2]="DayPeriodsStandalone",t[t.DaysFormat=3]="DaysFormat",t[t.DaysStandalone=4]="DaysStandalone",t[t.MonthsFormat=5]="MonthsFormat",t[t.MonthsStandalone=6]="MonthsStandalone",t[t.Eras=7]="Eras",t[t.FirstDayOfWeek=8]="FirstDayOfWeek",t[t.WeekendRange=9]="WeekendRange",t[t.DateFormat=10]="DateFormat",t[t.TimeFormat=11]="TimeFormat",t[t.DateTimeFormat=12]="DateTimeFormat",t[t.NumberSymbols=13]="NumberSymbols",t[t.NumberFormats=14]="NumberFormats",t[t.CurrencyCode=15]="CurrencyCode",t[t.CurrencySymbol=16]="CurrencySymbol",t[t.CurrencyName=17]="CurrencyName",t[t.Currencies=18]="Currencies",t[t.Directionality=19]="Directionality",t[t.PluralCase=20]="PluralCase",t[t.ExtraData=21]="ExtraData",t}({});const bo="en-US";let yo=bo;function vo(t){var e,n;n="Expected localeId to be defined",null==(e=t)&&function(t,e,n,r){throw new Error("ASSERTION ERROR: "+t+` [Expected=> null != ${e} <=Actual]`)}(n,e),"string"==typeof t&&(yo=t.toLowerCase().replace(/_/g,"-"))}const wo=new Map;class _o extends pt{constructor(t,e){super(),this._parent=e,this._bootstrapComponents=[],this.injector=this,this.destroyCbs=[],this.componentFactoryResolver=new no(this);const n=Dt(t),r=t[J]||null;r&&vo(r),this._bootstrapComponents=Xe(n.bootstrap),this._r3Injector=Bs(t,e,[{provide:pt,useValue:this},{provide:Ti,useValue:this.componentFactoryResolver}],H(t)),this._r3Injector._resolveInjectorDefTypes(),this.instance=this.get(t)}get(t,e=Ks.THROW_IF_NOT_FOUND,n=x.Default){return t===Ks||t===pt||t===tt?this:this._r3Injector.get(t,e,n)}destroy(){const t=this._r3Injector;!t.destroyed&&t.destroy(),this.destroyCbs.forEach(t=>t()),this.destroyCbs=null}onDestroy(t){this.destroyCbs.push(t)}}class Co extends gt{constructor(t){super(),this.moduleType=t,null!==Dt(t)&&function t(e){if(null!==e.\u0275mod.id){const t=e.\u0275mod.id;(function(t,e,n){if(e&&e!==n)throw new Error(`Duplicate module registered for ${t} - ${H(e)} vs ${H(e.name)}`)})(t,wo.get(t),e),wo.set(t,e)}let n=e.\u0275mod.imports;n instanceof Function&&(n=n()),n&&n.forEach(e=>t(e))}(t)}create(t){return new _o(this.moduleType,t)}}const So=class extends r.a{constructor(t=!1){super(),this.__isAsync=t}emit(t){super.next(t)}subscribe(t,e,n){let r,i=t=>null,o=()=>null;t&&"object"==typeof t?(r=this.__isAsync?e=>{setTimeout(()=>t.next(e))}:e=>{t.next(e)},t.error&&(i=this.__isAsync?e=>{setTimeout(()=>t.error(e))}:e=>{t.error(e)}),t.complete&&(o=this.__isAsync?()=>{setTimeout(()=>t.complete())}:()=>{t.complete()})):(r=this.__isAsync?e=>{setTimeout(()=>t(e))}:e=>{t(e)},e&&(i=this.__isAsync?t=>{setTimeout(()=>e(t))}:t=>{e(t)}),n&&(o=this.__isAsync?()=>{setTimeout(()=>n())}:()=>{n()}));const a=super.subscribe(r,i,o);return t instanceof s.a&&t.add(a),a}};function xo(){return this._results[ri()]()}class Eo{constructor(){this.dirty=!0,this._results=[],this.changes=new So,this.length=0;const t=ri(),e=Eo.prototype;e[t]||(e[t]=xo)}map(t){return this._results.map(t)}filter(t){return this._results.filter(t)}find(t){return this._results.find(t)}reduce(t,e){return this._results.reduce(t,e)}forEach(t){this._results.forEach(t)}some(t){return this._results.some(t)}toArray(){return this._results.slice()}toString(){return this._results.toString()}reset(t){this._results=function t(e,n){void 0===n&&(n=e);for(let r=0;r0)s.push(a[e/2]);else{const i=o[e+1],a=n[-r];for(let e=Ut;e{class t{constructor(t){this.appInits=t,this.initialized=!1,this.done=!1,this.donePromise=new Promise((t,e)=>{this.resolve=t,this.reject=e})}runInitializers(){if(this.initialized)return;const t=[],e=()=>{this.done=!0,this.resolve()};if(this.appInits)for(let n=0;n{e()}).catch(t=>{this.reject(t)}),0===t.length&&e(),this.initialized=!0}}return t.\u0275fac=function(e){return new(e||t)(ct(Fo,8))},t.\u0275prov=T({token:t,factory:t.\u0275fac}),t})();const $o=new X("AppId"),zo={provide:$o,useFactory:function(){return`${qo()}${qo()}${qo()}`},deps:[]};function qo(){return String.fromCharCode(97+Math.floor(25*Math.random()))}const Bo=new X("Platform Initializer"),Wo=new X("Platform ID"),Zo=new X("appBootstrapListener");let Go=(()=>{class t{log(t){console.log(t)}warn(t){console.warn(t)}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275prov=T({token:t,factory:t.\u0275fac}),t})();const Qo=new X("LocaleId"),Jo=new X("DefaultCurrencyCode");class Yo{constructor(t,e){this.ngModuleFactory=t,this.componentFactories=e}}const Ko=function(t){return new Co(t)},Xo=Ko,ta=function(t){return Promise.resolve(Ko(t))},ea=function(t){const e=Ko(t),n=Xe(Dt(t).declarations).reduce((t,e)=>{const n=Nt(e);return n&&t.push(new io(n)),t},[]);return new Yo(e,n)},na=ea,ra=function(t){return Promise.resolve(ea(t))};let sa=(()=>{class t{constructor(){this.compileModuleSync=Xo,this.compileModuleAsync=ta,this.compileModuleAndAllComponentsSync=na,this.compileModuleAndAllComponentsAsync=ra}clearCache(){}clearCacheFor(t){}getModuleId(t){}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275prov=T({token:t,factory:t.\u0275fac}),t})();const ia=(()=>Promise.resolve(0))();function oa(t){"undefined"==typeof Zone?ia.then(()=>{t&&t.apply(null,null)}):Zone.current.scheduleMicroTask("scheduleMicrotask",t)}class aa{constructor({enableLongStackTrace:t=!1,shouldCoalesceEventChangeDetection:e=!1}){if(this.hasPendingMacrotasks=!1,this.hasPendingMicrotasks=!1,this.isStable=!0,this.onUnstable=new So(!1),this.onMicrotaskEmpty=new So(!1),this.onStable=new So(!1),this.onError=new So(!1),"undefined"==typeof Zone)throw new Error("In this configuration Angular requires Zone.js");Zone.assertZonePatched();const n=this;n._nesting=0,n._outer=n._inner=Zone.current,Zone.wtfZoneSpec&&(n._inner=n._inner.fork(Zone.wtfZoneSpec)),Zone.TaskTrackingZoneSpec&&(n._inner=n._inner.fork(new Zone.TaskTrackingZoneSpec)),t&&Zone.longStackTraceZoneSpec&&(n._inner=n._inner.fork(Zone.longStackTraceZoneSpec)),n.shouldCoalesceEventChangeDetection=e,n.lastRequestAnimationFrameId=-1,n.nativeRequestAnimationFrame=function(){let t=B.requestAnimationFrame,e=B.cancelAnimationFrame;if("undefined"!=typeof Zone&&t&&e){const n=t[Zone.__symbol__("OriginalDelegate")];n&&(t=n);const r=e[Zone.__symbol__("OriginalDelegate")];r&&(e=r)}return{nativeRequestAnimationFrame:t,nativeCancelAnimationFrame:e}}().nativeRequestAnimationFrame,function(t){const e=!!t.shouldCoalesceEventChangeDetection&&t.nativeRequestAnimationFrame&&(()=>{!function(t){-1===t.lastRequestAnimationFrameId&&(t.lastRequestAnimationFrameId=t.nativeRequestAnimationFrame.call(B,()=>{t.fakeTopEventTask||(t.fakeTopEventTask=Zone.root.scheduleEventTask("fakeTopEventTask",()=>{t.lastRequestAnimationFrameId=-1,ha(t),ca(t)},void 0,()=>{},()=>{})),t.fakeTopEventTask.invoke()}),ha(t))}(t)});t._inner=t._inner.fork({name:"angular",properties:{isAngularZone:!0,maybeDelayChangeDetection:e},onInvokeTask:(n,r,s,i,o,a)=>{try{return da(t),n.invokeTask(s,i,o,a)}finally{e&&"eventTask"===i.type&&e(),fa(t)}},onInvoke:(e,n,r,s,i,o,a)=>{try{return da(t),e.invoke(r,s,i,o,a)}finally{fa(t)}},onHasTask:(e,n,r,s)=>{e.hasTask(r,s),n===r&&("microTask"==s.change?(t._hasPendingMicrotasks=s.microTask,ha(t),ca(t)):"macroTask"==s.change&&(t.hasPendingMacrotasks=s.macroTask))},onHandleError:(e,n,r,s)=>(e.handleError(r,s),t.runOutsideAngular(()=>t.onError.emit(s)),!1)})}(n)}static isInAngularZone(){return!0===Zone.current.get("isAngularZone")}static assertInAngularZone(){if(!aa.isInAngularZone())throw new Error("Expected to be in Angular Zone, but it is not!")}static assertNotInAngularZone(){if(aa.isInAngularZone())throw new Error("Expected to not be in Angular Zone, but it is!")}run(t,e,n){return this._inner.run(t,e,n)}runTask(t,e,n,r){const s=this._inner,i=s.scheduleEventTask("NgZoneEvent: "+r,t,la,ua,ua);try{return s.runTask(i,e,n)}finally{s.cancelTask(i)}}runGuarded(t,e,n){return this._inner.runGuarded(t,e,n)}runOutsideAngular(t){return this._outer.run(t)}}function ua(){}const la={};function ca(t){if(0==t._nesting&&!t.hasPendingMicrotasks&&!t.isStable)try{t._nesting++,t.onMicrotaskEmpty.emit(null)}finally{if(t._nesting--,!t.hasPendingMicrotasks)try{t.runOutsideAngular(()=>t.onStable.emit(null))}finally{t.isStable=!0}}}function ha(t){t.hasPendingMicrotasks=!!(t._hasPendingMicrotasks||t.shouldCoalesceEventChangeDetection&&-1!==t.lastRequestAnimationFrameId)}function da(t){t._nesting++,t.isStable&&(t.isStable=!1,t.onUnstable.emit(null))}function fa(t){t._nesting--,ca(t)}class pa{constructor(){this.hasPendingMicrotasks=!1,this.hasPendingMacrotasks=!1,this.isStable=!0,this.onUnstable=new So,this.onMicrotaskEmpty=new So,this.onStable=new So,this.onError=new So}run(t,e,n){return t.apply(e,n)}runGuarded(t,e,n){return t.apply(e,n)}runOutsideAngular(t){return t()}runTask(t,e,n,r){return t.apply(e,n)}}let ga=(()=>{class t{constructor(t){this._ngZone=t,this._pendingCount=0,this._isZoneStable=!0,this._didWork=!1,this._callbacks=[],this.taskTrackingZone=null,this._watchAngularEvents(),t.run(()=>{this.taskTrackingZone="undefined"==typeof Zone?null:Zone.current.get("TaskTrackingZone")})}_watchAngularEvents(){this._ngZone.onUnstable.subscribe({next:()=>{this._didWork=!0,this._isZoneStable=!1}}),this._ngZone.runOutsideAngular(()=>{this._ngZone.onStable.subscribe({next:()=>{aa.assertNotInAngularZone(),oa(()=>{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())oa(()=>{for(;0!==this._callbacks.length;){let t=this._callbacks.pop();clearTimeout(t.timeoutId),t.doneCb(this._didWork)}this._didWork=!1});else{let t=this.getPendingTasks();this._callbacks=this._callbacks.filter(e=>!e.updateCb||!e.updateCb(t)||(clearTimeout(e.timeoutId),!1)),this._didWork=!0}}getPendingTasks(){return this.taskTrackingZone?this.taskTrackingZone.macroTasks.map(t=>({source:t.source,creationLocation:t.creationLocation,data:t.data})):[]}addCallback(t,e,n){let r=-1;e&&e>0&&(r=setTimeout(()=>{this._callbacks=this._callbacks.filter(t=>t.timeoutId!==r),t(this._didWork,this.getPendingTasks())},e)),this._callbacks.push({doneCb:t,timeoutId:r,updateCb:n})}whenStable(t,e,n){if(n&&!this.taskTrackingZone)throw new Error('Task tracking zone is required when passing an update callback to whenStable(). Is "zone.js/dist/task-tracking.js" loaded?');this.addCallback(t,e,n),this._runCallbacksIfReady()}getPendingRequestCount(){return this._pendingCount}findProviders(t,e,n){return[]}}return t.\u0275fac=function(e){return new(e||t)(ct(aa))},t.\u0275prov=T({token:t,factory:t.\u0275fac}),t})(),ma=(()=>{class t{constructor(){this._applications=new Map,wa.addToWindow(this)}registerApplication(t,e){this._applications.set(t,e)}unregisterApplication(t){this._applications.delete(t)}unregisterAllApplications(){this._applications.clear()}getTestability(t){return this._applications.get(t)||null}getAllTestabilities(){return Array.from(this._applications.values())}getAllRootElements(){return Array.from(this._applications.keys())}findTestabilityInTree(t,e=!0){return wa.findTestabilityInTree(this,t,e)}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275prov=T({token:t,factory:t.\u0275fac}),t})();class ba{addToWindow(t){}findTestabilityInTree(t,e,n){return null}}function ya(t){wa=t}let va,wa=new ba;const _a=new X("AllowMultipleToken");class Ca{constructor(t,e){this.name=t,this.token=e}}function Sa(t,e,n=[]){const r="Platform: "+e,s=new X(r);return(e=[])=>{let i=xa();if(!i||i.injector.get(_a,!1))if(t)t(n.concat(e).concat({provide:s,useValue:!0}));else{const t=n.concat(e).concat({provide:s,useValue:!0},{provide:Ms,useValue:"platform"});!function(t){if(va&&!va.destroyed&&!va.injector.get(_a,!1))throw new Error("There can be only one platform. Destroy the previous one to create a new one.");va=t.get(Ea);const e=t.get(Bo,null);e&&e.forEach(t=>t())}(Ks.create({providers:t,name:r}))}return function(t){const e=xa();if(!e)throw new Error("No platform exists!");if(!e.injector.get(t,null))throw new Error("A platform with a different configuration has been created. Please destroy it first.");return e}(s)}}function xa(){return va&&!va.destroyed?va:null}let Ea=(()=>{class t{constructor(t){this._injector=t,this._modules=[],this._destroyListeners=[],this._destroyed=!1}bootstrapModuleFactory(t,e){const n=function(t,e){let n;return n="noop"===t?new pa:("zone.js"===t?void 0:t)||new aa({enableLongStackTrace:Un(),shouldCoalesceEventChangeDetection:e}),n}(e?e.ngZone:void 0,e&&e.ngZoneEventCoalescing||!1),r=[{provide:aa,useValue:n}];return n.run(()=>{const e=Ks.create({providers:r,parent:this.injector,name:t.moduleType.name}),s=t.create(e),i=s.injector.get(wn,null);if(!i)throw new Error("No ErrorHandler. Is platform module (BrowserModule) included?");return s.onDestroy(()=>Aa(this._modules,s)),n.runOutsideAngular(()=>n.onError.subscribe({next:t=>{i.handleError(t)}})),function(t,e,n){try{const r=n();return bi(r)?r.catch(n=>{throw e.runOutsideAngular(()=>t.handleError(n)),n}):r}catch(r){throw e.runOutsideAngular(()=>t.handleError(r)),r}}(i,n,()=>{const t=s.injector.get(Vo);return t.runInitializers(),t.donePromise.then(()=>(vo(s.injector.get(Qo,bo)||bo),this._moduleDoBootstrap(s),s))})})}bootstrapModule(t,e=[]){const n=Ta({},e);return function(t,e,n){const r=new Co(n);return Promise.resolve(r)}(0,0,t).then(t=>this.bootstrapModuleFactory(t,n))}_moduleDoBootstrap(t){const e=t.injector.get(Oa);if(t._bootstrapComponents.length>0)t._bootstrapComponents.forEach(t=>e.bootstrap(t));else{if(!t.instance.ngDoBootstrap)throw new Error(`The module ${H(t.instance.constructor)} was bootstrapped, but it does not declare "@NgModule.bootstrap" components nor a "ngDoBootstrap" method. Please define one of these.`);t.instance.ngDoBootstrap(e)}this._modules.push(t)}onDestroy(t){this._destroyListeners.push(t)}get injector(){return this._injector}destroy(){if(this._destroyed)throw new Error("The platform has already been destroyed!");this._modules.slice().forEach(t=>t.destroy()),this._destroyListeners.forEach(t=>t()),this._destroyed=!0}get destroyed(){return this._destroyed}}return t.\u0275fac=function(e){return new(e||t)(ct(Ks))},t.\u0275prov=T({token:t,factory:t.\u0275fac}),t})();function Ta(t,e){return Array.isArray(e)?e.reduce(Ta,t):Object.assign(Object.assign({},t),e)}let Oa=(()=>{class t{constructor(t,e,n,r,s,l){this._zone=t,this._console=e,this._injector=n,this._exceptionHandler=r,this._componentFactoryResolver=s,this._initStatus=l,this._bootstrapListeners=[],this._views=[],this._runningTick=!1,this._enforceNoNewChanges=!1,this._stable=!0,this.componentTypes=[],this.components=[],this._enforceNoNewChanges=Un(),this._zone.onMicrotaskEmpty.subscribe({next:()=>{this._zone.run(()=>{this.tick()})}});const h=new i.a(t=>{this._stable=this._zone.isStable&&!this._zone.hasPendingMacrotasks&&!this._zone.hasPendingMicrotasks,this._zone.runOutsideAngular(()=>{t.next(this._stable),t.complete()})}),d=new i.a(t=>{let e;this._zone.runOutsideAngular(()=>{e=this._zone.onStable.subscribe(()=>{aa.assertNotInAngularZone(),oa(()=>{this._stable||this._zone.hasPendingMacrotasks||this._zone.hasPendingMicrotasks||(this._stable=!0,t.next(!0))})})});const n=this._zone.onUnstable.subscribe(()=>{aa.assertInAngularZone(),this._stable&&(this._stable=!1,this._zone.runOutsideAngular(()=>{t.next(!1)}))});return()=>{e.unsubscribe(),n.unsubscribe()}});this.isStable=function(...t){let e=Number.POSITIVE_INFINITY,n=null,r=t[t.length-1];return Object(o.a)(r)?(n=t.pop(),t.length>1&&"number"==typeof t[t.length-1]&&(e=t.pop())):"number"==typeof r&&(e=t.pop()),null===n&&1===t.length&&t[0]instanceof i.a?t[0]:Object(a.a)(e)(Object(u.a)(t,n))}(h,d.pipe(t=>{return c()((e=m,function(t){let n;n="function"==typeof e?e:function(){return e};const r=Object.create(t,p);return r.source=t,r.subjectFactory=n,r})(t));var e}))}bootstrap(t,e){if(!this._initStatus.done)throw new Error("Cannot bootstrap as there are still asynchronous initializers running. Bootstrap components in the `ngDoBootstrap` method of the root module.");let n;n=t instanceof xi?t:this._componentFactoryResolver.resolveComponentFactory(t),this.componentTypes.push(n.componentType);const r=n.isBoundToModule?void 0:this._injector.get(pt),s=n.create(Ks.NULL,[],e||n.selector,r);s.onDestroy(()=>{this._unloadComponent(s)});const i=s.injector.get(ga,null);return i&&s.injector.get(ma).registerApplication(s.location.nativeElement,i),this._loadComponent(s),Un()&&this._console.log("Angular is running in development mode. Call enableProdMode() to enable production mode."),s}tick(){if(this._runningTick)throw new Error("ApplicationRef.tick is called recursively");try{this._runningTick=!0;for(let t of this._views)t.detectChanges();if(this._enforceNoNewChanges)for(let t of this._views)t.checkNoChanges()}catch(t){this._zone.runOutsideAngular(()=>this._exceptionHandler.handleError(t))}finally{this._runningTick=!1}}attachView(t){const e=t;this._views.push(e),e.attachToAppRef(this)}detachView(t){const e=t;Aa(this._views,e),e.detachFromAppRef()}_loadComponent(t){this.attachView(t.hostView),this.tick(),this.components.push(t),this._injector.get(Zo,[]).concat(this._bootstrapListeners).forEach(e=>e(t))}_unloadComponent(t){this.detachView(t.hostView),Aa(this.components,t)}ngOnDestroy(){this._views.slice().forEach(t=>t.destroy())}get viewCount(){return this._views.length}}return t.\u0275fac=function(e){return new(e||t)(ct(aa),ct(Go),ct(Ks),ct(wn),ct(Ti),ct(Vo))},t.\u0275prov=T({token:t,factory:t.\u0275fac}),t})();function Aa(t,e){const n=t.indexOf(e);n>-1&&t.splice(n,1)}class ka{}class Ra{}const ja={factoryPathPrefix:"",factoryPathSuffix:".ngfactory"};let Ia=(()=>{class t{constructor(t,e){this._compiler=t,this._config=e||ja}load(t){return this.loadAndCompile(t)}loadAndCompile(t){let[e,r]=t.split("#");return void 0===r&&(r="default"),n("zn8P")(e).then(t=>t[r]).then(t=>Na(t,e,r)).then(t=>this._compiler.compileModuleAsync(t))}loadFactory(t){let[e,r]=t.split("#"),s="NgFactory";return void 0===r&&(r="default",s=""),n("zn8P")(this._config.factoryPathPrefix+e+this._config.factoryPathSuffix).then(t=>t[r+s]).then(t=>Na(t,e,r))}}return t.\u0275fac=function(e){return new(e||t)(ct(sa),ct(Ra,8))},t.\u0275prov=T({token:t,factory:t.\u0275fac}),t})();function Na(t,e,n){if(!t)throw new Error(`Cannot find '${n}' in '${e}'`);return t}const Pa=function(t){return null},Da=Sa(null,"core",[{provide:Wo,useValue:"unknown"},{provide:Ea,deps:[Ks]},{provide:ma,deps:[]},{provide:Go,deps:[]}]),Ha=[{provide:Oa,useClass:Oa,deps:[aa,Go,Ks,wn,Ti,Vo]},{provide:so,deps:[aa],useFactory:function(t){let e=[];return t.onStable.subscribe(()=>{for(;e.length;)e.pop()()}),function(t){e.push(t)}}},{provide:Vo,useClass:Vo,deps:[[new _,Fo]]},{provide:sa,useClass:sa,deps:[]},zo,{provide:Wi,useFactory:function(){return Qi},deps:[]},{provide:Zi,useFactory:function(){return Ji},deps:[]},{provide:Qo,useFactory:function(t){return vo(t=t||"undefined"!=typeof $localize&&$localize.locale||bo),t},deps:[[new w(Qo),new _,new S]]},{provide:Jo,useValue:"USD"}];let Ua=(()=>{class t{constructor(t){}}return t.\u0275mod=At({type:t}),t.\u0275inj=O({factory:function(e){return new(e||t)(ct(Oa))},providers:Ha}),t})()},gRHU:function(t,e,n){"use strict";n.d(e,"a",(function(){return i}));var r=n("2fFW"),s=n("NJ4a");const i={closed:!0,next(t){},error(t){if(r.a.useDeprecatedSynchronousErrorHandling)throw t;Object(s.a)(t)},complete(){}}},jZKg:function(t,e,n){"use strict";n.d(e,"a",(function(){return i}));var r=n("HDdC"),s=n("quSY");function i(t,e){return new r.a(n=>{const r=new s.a;let i=0;return r.add(e.schedule((function(){i!==t.length?(n.next(t[i++]),n.closed||r.add(this.schedule())):n.complete()}))),r})}},kJWO:function(t,e,n){"use strict";n.d(e,"a",(function(){return r}));const r=(()=>"function"==typeof Symbol&&Symbol.observable||"@@observable")()},lJxs:function(t,e,n){"use strict";n.d(e,"a",(function(){return s}));var r=n("7o/Q");function s(t,e){return function(n){if("function"!=typeof t)throw new TypeError("argument is not a function. Are you looking for `mapTo()`?");return n.lift(new i(t,e))}}class i{constructor(t,e){this.project=t,this.thisArg=e}call(t,e){return e.subscribe(new o(t,this.project,this.thisArg))}}class o extends r.a{constructor(t,e,n){super(t),this.project=e,this.count=0,this.thisArg=n||this}_next(t){let e;try{e=this.project.call(this.thisArg,t,this.count++)}catch(n){return void this.destination.error(n)}this.destination.next(e)}}},n6bG:function(t,e,n){"use strict";function r(t){return"function"==typeof t}n.d(e,"a",(function(){return r}))},ngJS:function(t,e,n){"use strict";n.d(e,"a",(function(){return r}));const r=t=>e=>{for(let n=0,r=t.length;n{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275prov=Object(r.yb)({factory:c,token:t,providedIn:"platform"}),t})();function c(){return Object(r.Hb)(d)}const h=new r.q("Location Initialized");let d=(()=>{class t extends l{constructor(t){super(),this._doc=t,this._init()}_init(){this.location=i().getLocation(),this._history=i().getHistory()}getBaseHrefFromDOM(){return i().getBaseHref(this._doc)}onPopState(t){i().getGlobalEventTarget(this._doc,"window").addEventListener("popstate",t,!1)}onHashChange(t){i().getGlobalEventTarget(this._doc,"window").addEventListener("hashchange",t,!1)}get href(){return this.location.href}get protocol(){return this.location.protocol}get hostname(){return this.location.hostname}get port(){return this.location.port}get pathname(){return this.location.pathname}get search(){return this.location.search}get hash(){return this.location.hash}set pathname(t){this.location.pathname=t}pushState(t,e,n){f()?this._history.pushState(t,e,n):this.location.hash=n}replaceState(t,e,n){f()?this._history.replaceState(t,e,n):this.location.hash=n}forward(){this._history.forward()}back(){this._history.back()}getState(){return this._history.state}}return t.\u0275fac=function(e){return new(e||t)(r.Hb(u))},t.\u0275prov=Object(r.yb)({factory:p,token:t,providedIn:"platform"}),t})();function f(){return!!window.history.pushState}function p(){return new d(Object(r.Hb)(u))}function g(t,e){if(0==t.length)return e;if(0==e.length)return t;let n=0;return t.endsWith("/")&&n++,e.startsWith("/")&&n++,2==n?t+e.substring(1):1==n?t+e:t+"/"+e}function m(t){const e=t.match(/#|\?|$/),n=e&&e.index||t.length;return t.slice(0,n-("/"===t[n-1]?1:0))+t.slice(n)}function b(t){return t&&"?"!==t[0]?"?"+t:t}let y=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275prov=Object(r.yb)({factory:v,token:t,providedIn:"root"}),t})();function v(t){const e=Object(r.Hb)(u).location;return new _(Object(r.Hb)(l),e&&e.origin||"")}const w=new r.q("appBaseHref");let _=(()=>{class t extends y{constructor(t,e){if(super(),this._platformLocation=t,null==e&&(e=this._platformLocation.getBaseHrefFromDOM()),null==e)throw new Error("No base href set. Please provide a value for the APP_BASE_HREF token or add a base element to the document.");this._baseHref=e}onPopState(t){this._platformLocation.onPopState(t),this._platformLocation.onHashChange(t)}getBaseHref(){return this._baseHref}prepareExternalUrl(t){return g(this._baseHref,t)}path(t=!1){const e=this._platformLocation.pathname+b(this._platformLocation.search),n=this._platformLocation.hash;return n&&t?`${e}${n}`:e}pushState(t,e,n,r){const s=this.prepareExternalUrl(n+b(r));this._platformLocation.pushState(t,e,s)}replaceState(t,e,n,r){const s=this.prepareExternalUrl(n+b(r));this._platformLocation.replaceState(t,e,s)}forward(){this._platformLocation.forward()}back(){this._platformLocation.back()}}return t.\u0275fac=function(e){return new(e||t)(r.Hb(l),r.Hb(w,8))},t.\u0275prov=r.yb({token:t,factory:t.\u0275fac}),t})(),C=(()=>{class t extends y{constructor(t,e){super(),this._platformLocation=t,this._baseHref="",null!=e&&(this._baseHref=e)}onPopState(t){this._platformLocation.onPopState(t),this._platformLocation.onHashChange(t)}getBaseHref(){return this._baseHref}path(t=!1){let e=this._platformLocation.hash;return null==e&&(e="#"),e.length>0?e.substring(1):e}prepareExternalUrl(t){const e=g(this._baseHref,t);return e.length>0?"#"+e:e}pushState(t,e,n,r){let s=this.prepareExternalUrl(n+b(r));0==s.length&&(s=this._platformLocation.pathname),this._platformLocation.pushState(t,e,s)}replaceState(t,e,n,r){let s=this.prepareExternalUrl(n+b(r));0==s.length&&(s=this._platformLocation.pathname),this._platformLocation.replaceState(t,e,s)}forward(){this._platformLocation.forward()}back(){this._platformLocation.back()}}return t.\u0275fac=function(e){return new(e||t)(r.Hb(l),r.Hb(w,8))},t.\u0275prov=r.yb({token:t,factory:t.\u0275fac}),t})(),S=(()=>{class t{constructor(t,e){this._subject=new r.n,this._urlChangeListeners=[],this._platformStrategy=t;const n=this._platformStrategy.getBaseHref();this._platformLocation=e,this._baseHref=m(E(n)),this._platformStrategy.onPopState(t=>{this._subject.emit({url:this.path(!0),pop:!0,state:t.state,type:t.type})})}path(t=!1){return this.normalize(this._platformStrategy.path(t))}getState(){return this._platformLocation.getState()}isCurrentPathEqualTo(t,e=""){return this.path()==this.normalize(t+b(e))}normalize(e){return t.stripTrailingSlash(function(t,e){return t&&e.startsWith(t)?e.substring(t.length):e}(this._baseHref,E(e)))}prepareExternalUrl(t){return t&&"/"!==t[0]&&(t="/"+t),this._platformStrategy.prepareExternalUrl(t)}go(t,e="",n=null){this._platformStrategy.pushState(n,"",t,e),this._notifyUrlChangeListeners(this.prepareExternalUrl(t+b(e)),n)}replaceState(t,e="",n=null){this._platformStrategy.replaceState(n,"",t,e),this._notifyUrlChangeListeners(this.prepareExternalUrl(t+b(e)),n)}forward(){this._platformStrategy.forward()}back(){this._platformStrategy.back()}onUrlChange(t){this._urlChangeListeners.push(t),this._urlChangeSubscription||(this._urlChangeSubscription=this.subscribe(t=>{this._notifyUrlChangeListeners(t.url,t.state)}))}_notifyUrlChangeListeners(t="",e){this._urlChangeListeners.forEach(n=>n(t,e))}subscribe(t,e,n){return this._subject.subscribe({next:t,error:e,complete:n})}}return t.\u0275fac=function(e){return new(e||t)(r.Hb(y),r.Hb(l))},t.normalizeQueryParams=b,t.joinWithSlash=g,t.stripTrailingSlash=m,t.\u0275prov=Object(r.yb)({factory:x,token:t,providedIn:"root"}),t})();function x(){return new S(Object(r.Hb)(y),Object(r.Hb)(l))}function E(t){return t.replace(/\/index.html$/,"")}var T=function(t){return t[t.Zero=0]="Zero",t[t.One=1]="One",t[t.Two=2]="Two",t[t.Few=3]="Few",t[t.Many=4]="Many",t[t.Other=5]="Other",t}({});const O=r.jb;class A{}let k=(()=>{class t extends A{constructor(t){super(),this.locale=t}getPluralCategory(t,e){switch(O(e||this.locale)(t)){case T.Zero:return"zero";case T.One:return"one";case T.Two:return"two";case T.Few:return"few";case T.Many:return"many";default:return"other"}}}return t.\u0275fac=function(e){return new(e||t)(r.Hb(r.u))},t.\u0275prov=r.yb({token:t,factory:t.\u0275fac}),t})();function R(t,e){e=encodeURIComponent(e);for(const n of t.split(";")){const t=n.indexOf("="),[r,s]=-1==t?[n,""]:[n.slice(0,t),n.slice(t+1)];if(r.trim()===e)return decodeURIComponent(s)}return null}let j=(()=>{class t{constructor(t,e){this._viewContainer=t,this._context=new I,this._thenTemplateRef=null,this._elseTemplateRef=null,this._thenViewRef=null,this._elseViewRef=null,this._thenTemplateRef=e}set ngIf(t){this._context.$implicit=this._context.ngIf=t,this._updateView()}set ngIfThen(t){N("ngIfThen",t),this._thenTemplateRef=t,this._thenViewRef=null,this._updateView()}set ngIfElse(t){N("ngIfElse",t),this._elseTemplateRef=t,this._elseViewRef=null,this._updateView()}_updateView(){this._context.$implicit?this._thenViewRef||(this._viewContainer.clear(),this._elseViewRef=null,this._thenTemplateRef&&(this._thenViewRef=this._viewContainer.createEmbeddedView(this._thenTemplateRef,this._context))):this._elseViewRef||(this._viewContainer.clear(),this._thenViewRef=null,this._elseTemplateRef&&(this._elseViewRef=this._viewContainer.createEmbeddedView(this._elseTemplateRef,this._context)))}static ngTemplateContextGuard(t,e){return!0}}return t.\u0275fac=function(e){return new(e||t)(r.Cb(r.O),r.Cb(r.K))},t.\u0275dir=r.xb({type:t,selectors:[["","ngIf",""]],inputs:{ngIf:"ngIf",ngIfThen:"ngIfThen",ngIfElse:"ngIfElse"}}),t})();class I{constructor(){this.$implicit=null,this.ngIf=null}}function N(t,e){if(e&&!e.createEmbeddedView)throw new Error(`${t} must be a TemplateRef, but received '${Object(r.rb)(e)}'.`)}let P=(()=>{class t{}return t.\u0275mod=r.Ab({type:t}),t.\u0275inj=r.zb({factory:function(e){return new(e||t)},providers:[{provide:A,useClass:k}]}),t})();const D="browser";let H=(()=>{class t{}return t.\u0275prov=Object(r.yb)({token:t,providedIn:"root",factory:()=>new U(Object(r.Hb)(u),window,Object(r.Hb)(r.m))}),t})();class U{constructor(t,e,n){this.document=t,this.window=e,this.errorHandler=n,this.offset=()=>[0,0]}setOffset(t){this.offset=Array.isArray(t)?()=>t:t}getScrollPosition(){return this.supportsScrolling()?[this.window.scrollX,this.window.scrollY]:[0,0]}scrollToPosition(t){this.supportsScrolling()&&this.window.scrollTo(t[0],t[1])}scrollToAnchor(t){if(this.supportsScrolling()){const e=this.document.getElementById(t)||this.document.getElementsByName(t)[0];e&&this.scrollToElement(e)}}setHistoryScrollRestoration(t){if(this.supportScrollRestoration()){const e=this.window.history;e&&e.scrollRestoration&&(e.scrollRestoration=t)}}scrollToElement(t){const e=t.getBoundingClientRect(),n=e.left+this.window.pageXOffset,r=e.top+this.window.pageYOffset,s=this.offset();this.window.scrollTo(n-s[0],r-s[1])}supportScrollRestoration(){try{if(!this.window||!this.window.scrollTo)return!1;const t=L(this.window.history)||L(Object.getPrototypeOf(this.window.history));return!(!t||!t.writable&&!t.set)}catch(t){return!1}}supportsScrolling(){try{return!!this.window.scrollTo}catch(t){return!1}}}function L(t){return Object.getOwnPropertyDescriptor(t,"scrollRestoration")}},quSY:function(t,e,n){"use strict";n.d(e,"a",(function(){return a}));var r=n("DH7j"),s=n("XoHu"),i=n("n6bG");const o=(()=>{function t(t){return Error.call(this),this.message=t?`${t.length} errors occurred during unsubscription:\n${t.map((t,e)=>`${e+1}) ${t.toString()}`).join("\n ")}`:"",this.name="UnsubscriptionError",this.errors=t,this}return t.prototype=Object.create(Error.prototype),t})();let a=(()=>{class t{constructor(t){this.closed=!1,this._parentOrParents=null,this._subscriptions=null,t&&(this._ctorUnsubscribe=!0,this._unsubscribe=t)}unsubscribe(){let e;if(this.closed)return;let{_parentOrParents:n,_ctorUnsubscribe:a,_unsubscribe:l,_subscriptions:c}=this;if(this.closed=!0,this._parentOrParents=null,this._subscriptions=null,n instanceof t)n.remove(this);else if(null!==n)for(let t=0;tt.concat(e instanceof o?e.errors:e),[])}},tyNb:function(t,e,n){"use strict";n.d(e,"a",(function(){return Pn})),n.d(e,"b",(function(){return Wn})),n.d(e,"c",(function(){return Hn}));var r=n("ofXK"),s=n("fXoL"),i=n("z+Ro"),o=n("yCtX"),a=n("jZKg");function u(...t){let e=t[t.length-1];return Object(i.a)(e)?(t.pop(),Object(a.a)(t,e)):Object(o.a)(t)}var l=n("Cfvw"),c=n("XNiG"),h=n("9ppp");class d extends c.a{constructor(t){super(),this._value=t}get value(){return this.getValue()}_subscribe(t){const e=super._subscribe(t);return e&&!e.closed&&t.next(this._value),e}getValue(){if(this.hasError)throw this.thrownError;if(this.closed)throw new h.a;return this._value}next(t){super.next(this._value=t)}}var f=n("DH7j"),p=n("7o/Q");class g extends p.a{notifyNext(t,e,n,r,s){this.destination.next(e)}notifyError(t,e){this.destination.error(t)}notifyComplete(t){this.destination.complete()}}class m extends p.a{constructor(t,e,n){super(),this.parent=t,this.outerValue=e,this.outerIndex=n,this.index=0}_next(t){this.parent.notifyNext(this.outerValue,t,this.outerIndex,this.index++,this)}_error(t){this.parent.notifyError(t,this),this.unsubscribe()}_complete(){this.parent.notifyComplete(this),this.unsubscribe()}}var b=n("SeVD"),y=n("HDdC");function v(t,e,n,r,s=new m(t,n,r)){if(!s.closed)return e instanceof y.a?e.subscribe(s):Object(b.a)(e)(s)}const w={};class _{constructor(t){this.resultSelector=t}call(t,e){return e.subscribe(new C(t,this.resultSelector))}}class C extends g{constructor(t,e){super(t),this.resultSelector=e,this.active=0,this.values=[],this.observables=[]}_next(t){this.values.push(w),this.observables.push(t)}_complete(){const t=this.observables,e=t.length;if(0===e)this.destination.complete();else{this.active=e,this.toRespond=e;for(let n=0;n{function t(){return Error.call(this),this.message="no elements in sequence",this.name="EmptyError",this}return t.prototype=Object.create(Error.prototype),t})(),x=new y.a(t=>t.complete());function E(t){return t?function(t){return new y.a(e=>t.schedule(()=>e.complete()))}(t):x}function T(t){return new y.a(e=>{let n;try{n=t()}catch(r){return void e.error(r)}return(n?Object(l.a)(n):E()).subscribe(e)})}var O=n("lJxs"),A=n("bHdf");function k(){return Object(A.a)(1)}function R(t,e){return function(n){return n.lift(new j(t,e))}}class j{constructor(t,e){this.predicate=t,this.thisArg=e}call(t,e){return e.subscribe(new I(t,this.predicate,this.thisArg))}}class I extends p.a{constructor(t,e,n){super(t),this.predicate=e,this.thisArg=n,this.count=0}_next(t){let e;try{e=this.predicate.call(this.thisArg,t,this.count++)}catch(n){return void this.destination.error(n)}e&&this.destination.next(t)}}const N=(()=>{function t(){return Error.call(this),this.message="argument out of range",this.name="ArgumentOutOfRangeError",this}return t.prototype=Object.create(Error.prototype),t})();function P(t){return function(e){return 0===t?E():e.lift(new D(t))}}class D{constructor(t){if(this.total=t,this.total<0)throw new N}call(t,e){return e.subscribe(new H(t,this.total))}}class H extends p.a{constructor(t,e){super(t),this.total=e,this.ring=new Array,this.count=0}_next(t){const e=this.ring,n=this.total,r=this.count++;e.length0){const n=this.count>=this.total?this.total:this.count,r=this.ring;for(let s=0;se.lift(new L(t))}class L{constructor(t){this.errorFactory=t}call(t,e){return e.subscribe(new M(t,this.errorFactory))}}class M extends p.a{constructor(t,e){super(t),this.errorFactory=e,this.hasValue=!1}_next(t){this.hasValue=!0,this.destination.next(t)}_complete(){if(this.hasValue)return this.destination.complete();{let e;try{e=this.errorFactory()}catch(t){e=t}this.destination.error(e)}}}function F(){return new S}function V(t=null){return e=>e.lift(new $(t))}class ${constructor(t){this.defaultValue=t}call(t,e){return e.subscribe(new z(t,this.defaultValue))}}class z extends p.a{constructor(t,e){super(t),this.defaultValue=e,this.isEmpty=!0}_next(t){this.isEmpty=!1,this.destination.next(t)}_complete(){this.isEmpty&&this.destination.next(this.defaultValue),this.destination.complete()}}var q=n("SpAZ"),B=n("zx2A");function W(t,e){return"function"==typeof e?n=>n.pipe(W((n,r)=>Object(l.a)(t(n,r)).pipe(Object(O.a)((t,s)=>e(n,t,r,s))))):e=>e.lift(new Z(t))}class Z{constructor(t){this.project=t}call(t,e){return e.subscribe(new G(t,this.project))}}class G extends B.b{constructor(t,e){super(t),this.project=e,this.index=0}_next(t){let e;const n=this.index++;try{e=this.project(t,n)}catch(r){return void this.destination.error(r)}this._innerSub(e)}_innerSub(t){const e=this.innerSubscription;e&&e.unsubscribe();const n=new B.a(this),r=this.destination;r.add(n),this.innerSubscription=Object(B.c)(t,n),this.innerSubscription!==n&&r.add(this.innerSubscription)}_complete(){const{innerSubscription:t}=this;t&&!t.closed||super._complete(),this.unsubscribe()}_unsubscribe(){this.innerSubscription=void 0}notifyComplete(){this.innerSubscription=void 0,this.isStopped&&super._complete()}notifyNext(t){this.destination.next(t)}}function Q(t){return e=>0===t?E():e.lift(new J(t))}class J{constructor(t){if(this.total=t,this.total<0)throw new N}call(t,e){return e.subscribe(new Y(t,this.total))}}class Y extends p.a{constructor(t,e){super(t),this.total=e,this.count=0}_next(t){const e=this.total,n=++this.count;n<=e&&(this.destination.next(t),n===e&&(this.destination.complete(),this.unsubscribe()))}}function K(...t){return k()(u(...t))}class X{constructor(t,e,n=!1){this.accumulator=t,this.seed=e,this.hasSeed=n}call(t,e){return e.subscribe(new tt(t,this.accumulator,this.seed,this.hasSeed))}}class tt extends p.a{constructor(t,e,n,r){super(t),this.accumulator=e,this._seed=n,this.hasSeed=r,this.index=0}get seed(){return this._seed}set seed(t){this.hasSeed=!0,this._seed=t}_next(t){if(this.hasSeed)return this._tryNext(t);this.seed=t,this.destination.next(t)}_tryNext(t){const e=this.index++;let n;try{n=this.accumulator(this.seed,t,e)}catch(r){this.destination.error(r)}this.seed=n,this.destination.next(n)}}function et(t){return function(e){const n=new nt(t),r=e.lift(n);return n.caught=r}}class nt{constructor(t){this.selector=t}call(t,e){return e.subscribe(new rt(t,this.selector,this.caught))}}class rt extends B.b{constructor(t,e,n){super(t),this.selector=e,this.caught=n}error(t){if(!this.isStopped){let n;try{n=this.selector(t,this.caught)}catch(e){return void super.error(e)}this._unsubscribeAndRecycle();const r=new B.a(this);this.add(r);const s=Object(B.c)(n,r);s!==r&&this.add(s)}}}var st=n("5+tZ");function it(t,e){return Object(st.a)(t,e,1)}function ot(t,e){const n=arguments.length>=2;return r=>r.pipe(t?R((e,n)=>t(e,n,r)):q.a,Q(1),n?V(e):U(()=>new S))}function at(){}var ut=n("n6bG");function lt(t,e,n){return function(r){return r.lift(new ct(t,e,n))}}class ct{constructor(t,e,n){this.nextOrObserver=t,this.error=e,this.complete=n}call(t,e){return e.subscribe(new ht(t,this.nextOrObserver,this.error,this.complete))}}class ht extends p.a{constructor(t,e,n,r){super(t),this._tapNext=at,this._tapError=at,this._tapComplete=at,this._tapError=n||at,this._tapComplete=r||at,Object(ut.a)(e)?(this._context=this,this._tapNext=e):e&&(this._context=e,this._tapNext=e.next||at,this._tapError=e.error||at,this._tapComplete=e.complete||at)}_next(t){try{this._tapNext.call(this._context,t)}catch(e){return void this.destination.error(e)}this.destination.next(t)}_error(t){try{this._tapError.call(this._context,t)}catch(t){return void this.destination.error(t)}this.destination.error(t)}_complete(){try{this._tapComplete.call(this._context)}catch(t){return void this.destination.error(t)}return this.destination.complete()}}var dt=n("quSY");class ft{constructor(t){this.callback=t}call(t,e){return e.subscribe(new pt(t,this.callback))}}class pt extends p.a{constructor(t,e){super(t),this.add(new dt.a(e))}}class gt{constructor(t,e){this.id=t,this.url=e}}class mt extends gt{constructor(t,e,n="imperative",r=null){super(t,e),this.navigationTrigger=n,this.restoredState=r}toString(){return`NavigationStart(id: ${this.id}, url: '${this.url}')`}}class bt extends gt{constructor(t,e,n){super(t,e),this.urlAfterRedirects=n}toString(){return`NavigationEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}')`}}class yt extends gt{constructor(t,e,n){super(t,e),this.reason=n}toString(){return`NavigationCancel(id: ${this.id}, url: '${this.url}')`}}class vt extends gt{constructor(t,e,n){super(t,e),this.error=n}toString(){return`NavigationError(id: ${this.id}, url: '${this.url}', error: ${this.error})`}}class wt extends gt{constructor(t,e,n,r){super(t,e),this.urlAfterRedirects=n,this.state=r}toString(){return`RoutesRecognized(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}}class _t extends gt{constructor(t,e,n,r){super(t,e),this.urlAfterRedirects=n,this.state=r}toString(){return`GuardsCheckStart(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}}class Ct extends gt{constructor(t,e,n,r,s){super(t,e),this.urlAfterRedirects=n,this.state=r,this.shouldActivate=s}toString(){return`GuardsCheckEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state}, shouldActivate: ${this.shouldActivate})`}}class St extends gt{constructor(t,e,n,r){super(t,e),this.urlAfterRedirects=n,this.state=r}toString(){return`ResolveStart(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}}class xt extends gt{constructor(t,e,n,r){super(t,e),this.urlAfterRedirects=n,this.state=r}toString(){return`ResolveEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}}class Et{constructor(t){this.route=t}toString(){return`RouteConfigLoadStart(path: ${this.route.path})`}}class Tt{constructor(t){this.route=t}toString(){return`RouteConfigLoadEnd(path: ${this.route.path})`}}class Ot{constructor(t){this.snapshot=t}toString(){return`ChildActivationStart(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}}class At{constructor(t){this.snapshot=t}toString(){return`ChildActivationEnd(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}}class kt{constructor(t){this.snapshot=t}toString(){return`ActivationStart(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}}class Rt{constructor(t){this.snapshot=t}toString(){return`ActivationEnd(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}}class jt{constructor(t,e,n){this.routerEvent=t,this.position=e,this.anchor=n}toString(){return`Scroll(anchor: '${this.anchor}', position: '${this.position?`${this.position[0]}, ${this.position[1]}`:null}')`}}const It="primary";class Nt{constructor(t){this.params=t||{}}has(t){return Object.prototype.hasOwnProperty.call(this.params,t)}get(t){if(this.has(t)){const e=this.params[t];return Array.isArray(e)?e[0]:e}return null}getAll(t){if(this.has(t)){const e=this.params[t];return Array.isArray(e)?e:[e]}return[]}get keys(){return Object.keys(this.params)}}function Pt(t){return new Nt(t)}function Dt(t){const e=Error("NavigationCancelingError: "+t);return e.ngNavigationCancelingError=!0,e}function Ht(t,e,n){const r=n.path.split("/");if(r.length>t.length)return null;if("full"===n.pathMatch&&(e.hasChildren()||r.lengthr[e]===t)}return t===e}function Mt(t){return Array.prototype.concat.apply([],t)}function Ft(t){return t.length>0?t[t.length-1]:null}function Vt(t,e){for(const n in t)t.hasOwnProperty(n)&&e(t[n],n)}function $t(t){return Object(s.nb)(t)?t:Object(s.ob)(t)?Object(l.a)(Promise.resolve(t)):u(t)}function zt(t,e,n){return n?function(t,e){return Ut(t,e)}(t.queryParams,e.queryParams)&&function t(e,n){if(!Zt(e.segments,n.segments))return!1;if(e.numberOfChildren!==n.numberOfChildren)return!1;for(const r in n.children){if(!e.children[r])return!1;if(!t(e.children[r],n.children[r]))return!1}return!0}(t.root,e.root):function(t,e){return Object.keys(e).length<=Object.keys(t).length&&Object.keys(e).every(n=>Lt(t[n],e[n]))}(t.queryParams,e.queryParams)&&function t(e,n){return function e(n,r,s){if(n.segments.length>s.length)return!!Zt(n.segments.slice(0,s.length),s)&&!r.hasChildren();if(n.segments.length===s.length){if(!Zt(n.segments,s))return!1;for(const e in r.children){if(!n.children[e])return!1;if(!t(n.children[e],r.children[e]))return!1}return!0}{const t=s.slice(0,n.segments.length),i=s.slice(n.segments.length);return!!Zt(n.segments,t)&&!!n.children.primary&&e(n.children.primary,r,i)}}(e,n,n.segments)}(t.root,e.root)}class qt{constructor(t,e,n){this.root=t,this.queryParams=e,this.fragment=n}get queryParamMap(){return this._queryParamMap||(this._queryParamMap=Pt(this.queryParams)),this._queryParamMap}toString(){return Yt.serialize(this)}}class Bt{constructor(t,e){this.segments=t,this.children=e,this.parent=null,Vt(e,(t,e)=>t.parent=this)}hasChildren(){return this.numberOfChildren>0}get numberOfChildren(){return Object.keys(this.children).length}toString(){return Kt(this)}}class Wt{constructor(t,e){this.path=t,this.parameters=e}get parameterMap(){return this._parameterMap||(this._parameterMap=Pt(this.parameters)),this._parameterMap}toString(){return se(this)}}function Zt(t,e){return t.length===e.length&&t.every((t,n)=>t.path===e[n].path)}function Gt(t,e){let n=[];return Vt(t.children,(t,r)=>{r===It&&(n=n.concat(e(t,r)))}),Vt(t.children,(t,r)=>{r!==It&&(n=n.concat(e(t,r)))}),n}class Qt{}class Jt{parse(t){const e=new le(t);return new qt(e.parseRootSegment(),e.parseQueryParams(),e.parseFragment())}serialize(t){return`${"/"+function t(e,n){if(!e.hasChildren())return Kt(e);if(n){const n=e.children.primary?t(e.children.primary,!1):"",r=[];return Vt(e.children,(e,n)=>{n!==It&&r.push(`${n}:${t(e,!1)}`)}),r.length>0?`${n}(${r.join("//")})`:n}{const n=Gt(e,(n,r)=>r===It?[t(e.children.primary,!1)]:[`${r}:${t(n,!1)}`]);return 1===Object.keys(e.children).length&&null!=e.children.primary?`${Kt(e)}/${n[0]}`:`${Kt(e)}/(${n.join("//")})`}}(t.root,!0)}${function(t){const e=Object.keys(t).map(e=>{const n=t[e];return Array.isArray(n)?n.map(t=>`${te(e)}=${te(t)}`).join("&"):`${te(e)}=${te(n)}`});return e.length?"?"+e.join("&"):""}(t.queryParams)}${"string"==typeof t.fragment?"#"+encodeURI(t.fragment):""}`}}const Yt=new Jt;function Kt(t){return t.segments.map(t=>se(t)).join("/")}function Xt(t){return encodeURIComponent(t).replace(/%40/g,"@").replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",")}function te(t){return Xt(t).replace(/%3B/gi,";")}function ee(t){return Xt(t).replace(/\(/g,"%28").replace(/\)/g,"%29").replace(/%26/gi,"&")}function ne(t){return decodeURIComponent(t)}function re(t){return ne(t.replace(/\+/g,"%20"))}function se(t){return`${ee(t.path)}${e=t.parameters,Object.keys(e).map(t=>`;${ee(t)}=${ee(e[t])}`).join("")}`;var e}const ie=/^[^\/()?;=#]+/;function oe(t){const e=t.match(ie);return e?e[0]:""}const ae=/^[^=?&#]+/,ue=/^[^?&#]+/;class le{constructor(t){this.url=t,this.remaining=t}parseRootSegment(){return this.consumeOptional("/"),""===this.remaining||this.peekStartsWith("?")||this.peekStartsWith("#")?new Bt([],{}):new Bt([],this.parseChildren())}parseQueryParams(){const t={};if(this.consumeOptional("?"))do{this.parseQueryParam(t)}while(this.consumeOptional("&"));return t}parseFragment(){return this.consumeOptional("#")?decodeURIComponent(this.remaining):null}parseChildren(){if(""===this.remaining)return{};this.consumeOptional("/");const t=[];for(this.peekStartsWith("(")||t.push(this.parseSegment());this.peekStartsWith("/")&&!this.peekStartsWith("//")&&!this.peekStartsWith("/(");)this.capture("/"),t.push(this.parseSegment());let e={};this.peekStartsWith("/(")&&(this.capture("/"),e=this.parseParens(!0));let n={};return this.peekStartsWith("(")&&(n=this.parseParens(!1)),(t.length>0||Object.keys(e).length>0)&&(n.primary=new Bt(t,e)),n}parseSegment(){const t=oe(this.remaining);if(""===t&&this.peekStartsWith(";"))throw new Error(`Empty path url segment cannot have parameters: '${this.remaining}'.`);return this.capture(t),new Wt(ne(t),this.parseMatrixParams())}parseMatrixParams(){const t={};for(;this.consumeOptional(";");)this.parseParam(t);return t}parseParam(t){const e=oe(this.remaining);if(!e)return;this.capture(e);let n="";if(this.consumeOptional("=")){const t=oe(this.remaining);t&&(n=t,this.capture(n))}t[ne(e)]=ne(n)}parseQueryParam(t){const e=function(t){const e=t.match(ae);return e?e[0]:""}(this.remaining);if(!e)return;this.capture(e);let n="";if(this.consumeOptional("=")){const t=function(t){const e=t.match(ue);return e?e[0]:""}(this.remaining);t&&(n=t,this.capture(n))}const r=re(e),s=re(n);if(t.hasOwnProperty(r)){let e=t[r];Array.isArray(e)||(e=[e],t[r]=e),e.push(s)}else t[r]=s}parseParens(t){const e={};for(this.capture("(");!this.consumeOptional(")")&&this.remaining.length>0;){const n=oe(this.remaining),r=this.remaining[n.length];if("/"!==r&&")"!==r&&";"!==r)throw new Error(`Cannot parse url '${this.url}'`);let s=void 0;n.indexOf(":")>-1?(s=n.substr(0,n.indexOf(":")),this.capture(s),this.capture(":")):t&&(s=It);const i=this.parseChildren();e[s]=1===Object.keys(i).length?i.primary:new Bt([],i),this.consumeOptional("//")}return e}peekStartsWith(t){return this.remaining.startsWith(t)}consumeOptional(t){return!!this.peekStartsWith(t)&&(this.remaining=this.remaining.substring(t.length),!0)}capture(t){if(!this.consumeOptional(t))throw new Error(`Expected "${t}".`)}}class ce{constructor(t){this._root=t}get root(){return this._root.value}parent(t){const e=this.pathFromRoot(t);return e.length>1?e[e.length-2]:null}children(t){const e=he(t,this._root);return e?e.children.map(t=>t.value):[]}firstChild(t){const e=he(t,this._root);return e&&e.children.length>0?e.children[0].value:null}siblings(t){const e=de(t,this._root);return e.length<2?[]:e[e.length-2].children.map(t=>t.value).filter(e=>e!==t)}pathFromRoot(t){return de(t,this._root).map(t=>t.value)}}function he(t,e){if(t===e.value)return e;for(const n of e.children){const e=he(t,n);if(e)return e}return null}function de(t,e){if(t===e.value)return[e];for(const n of e.children){const r=de(t,n);if(r.length)return r.unshift(e),r}return[]}class fe{constructor(t,e){this.value=t,this.children=e}toString(){return`TreeNode(${this.value})`}}function pe(t){const e={};return t&&t.children.forEach(t=>e[t.value.outlet]=t),e}class ge extends ce{constructor(t,e){super(t),this.snapshot=e,_e(this,t)}toString(){return this.snapshot.toString()}}function me(t,e){const n=function(t,e){const n=new ve([],{},{},"",{},It,e,null,t.root,-1,{});return new we("",new fe(n,[]))}(t,e),r=new d([new Wt("",{})]),s=new d({}),i=new d({}),o=new d({}),a=new d(""),u=new be(r,s,o,a,i,It,e,n.root);return u.snapshot=n.root,new ge(new fe(u,[]),n)}class be{constructor(t,e,n,r,s,i,o,a){this.url=t,this.params=e,this.queryParams=n,this.fragment=r,this.data=s,this.outlet=i,this.component=o,this._futureSnapshot=a}get routeConfig(){return this._futureSnapshot.routeConfig}get root(){return this._routerState.root}get parent(){return this._routerState.parent(this)}get firstChild(){return this._routerState.firstChild(this)}get children(){return this._routerState.children(this)}get pathFromRoot(){return this._routerState.pathFromRoot(this)}get paramMap(){return this._paramMap||(this._paramMap=this.params.pipe(Object(O.a)(t=>Pt(t)))),this._paramMap}get queryParamMap(){return this._queryParamMap||(this._queryParamMap=this.queryParams.pipe(Object(O.a)(t=>Pt(t)))),this._queryParamMap}toString(){return this.snapshot?this.snapshot.toString():`Future(${this._futureSnapshot})`}}function ye(t,e="emptyOnly"){const n=t.pathFromRoot;let r=0;if("always"!==e)for(r=n.length-1;r>=1;){const t=n[r],e=n[r-1];if(t.routeConfig&&""===t.routeConfig.path)r--;else{if(e.component)break;r--}}return function(t){return t.reduce((t,e)=>({params:Object.assign(Object.assign({},t.params),e.params),data:Object.assign(Object.assign({},t.data),e.data),resolve:Object.assign(Object.assign({},t.resolve),e._resolvedData)}),{params:{},data:{},resolve:{}})}(n.slice(r))}class ve{constructor(t,e,n,r,s,i,o,a,u,l,c){this.url=t,this.params=e,this.queryParams=n,this.fragment=r,this.data=s,this.outlet=i,this.component=o,this.routeConfig=a,this._urlSegment=u,this._lastPathIndex=l,this._resolve=c}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=Pt(this.params)),this._paramMap}get queryParamMap(){return this._queryParamMap||(this._queryParamMap=Pt(this.queryParams)),this._queryParamMap}toString(){return`Route(url:'${this.url.map(t=>t.toString()).join("/")}', path:'${this.routeConfig?this.routeConfig.path:""}')`}}class we extends ce{constructor(t,e){super(e),this.url=t,_e(this,e)}toString(){return Ce(this._root)}}function _e(t,e){e.value._routerState=t,e.children.forEach(e=>_e(t,e))}function Ce(t){const e=t.children.length>0?` { ${t.children.map(Ce).join(", ")} } `:"";return`${t.value}${e}`}function Se(t){if(t.snapshot){const e=t.snapshot,n=t._futureSnapshot;t.snapshot=n,Ut(e.queryParams,n.queryParams)||t.queryParams.next(n.queryParams),e.fragment!==n.fragment&&t.fragment.next(n.fragment),Ut(e.params,n.params)||t.params.next(n.params),function(t,e){if(t.length!==e.length)return!1;for(let n=0;nUt(t.parameters,r[e].parameters))&&!(!t.parent!=!e.parent)&&(!t.parent||xe(t.parent,e.parent))}function Ee(t){return"object"==typeof t&&null!=t&&!t.outlets&&!t.segmentPath}function Te(t,e,n,r,s){let i={};return r&&Vt(r,(t,e)=>{i[e]=Array.isArray(t)?t.map(t=>""+t):""+t}),new qt(n.root===t?e:function t(e,n,r){const s={};return Vt(e.children,(e,i)=>{s[i]=e===n?r:t(e,n,r)}),new Bt(e.segments,s)}(n.root,t,e),i,s)}class Oe{constructor(t,e,n){if(this.isAbsolute=t,this.numberOfDoubleDots=e,this.commands=n,t&&n.length>0&&Ee(n[0]))throw new Error("Root segment cannot have matrix parameters");const r=n.find(t=>"object"==typeof t&&null!=t&&t.outlets);if(r&&r!==Ft(n))throw new Error("{outlets:{}} has to be the last command")}toRoot(){return this.isAbsolute&&1===this.commands.length&&"/"==this.commands[0]}}class Ae{constructor(t,e,n){this.segmentGroup=t,this.processChildren=e,this.index=n}}function ke(t){return"object"==typeof t&&null!=t&&t.outlets?t.outlets.primary:""+t}function Re(t,e,n){if(t||(t=new Bt([],{})),0===t.segments.length&&t.hasChildren())return je(t,e,n);const r=function(t,e,n){let r=0,s=e;const i={match:!1,pathIndex:0,commandIndex:0};for(;s=n.length)return i;const e=t.segments[s],o=ke(n[r]),a=r0&&void 0===o)break;if(o&&a&&"object"==typeof a&&void 0===a.outlets){if(!De(o,a,e))return i;r+=2}else{if(!De(o,{},e))return i;r++}s++}return{match:!0,pathIndex:s,commandIndex:r}}(t,e,n),s=n.slice(r.commandIndex);if(r.match&&r.pathIndex{null!==n&&(s[r]=Re(t.children[r],e,n))}),Vt(t.children,(t,e)=>{void 0===r[e]&&(s[e]=t)}),new Bt(t.segments,s)}}function Ie(t,e,n){const r=t.segments.slice(0,e);let s=0;for(;s{null!==t&&(e[n]=Ie(new Bt([],{}),0,t))}),e}function Pe(t){const e={};return Vt(t,(t,n)=>e[n]=""+t),e}function De(t,e,n){return t==n.path&&Ut(e,n.parameters)}class He{constructor(t,e,n,r){this.routeReuseStrategy=t,this.futureState=e,this.currState=n,this.forwardEvent=r}activate(t){const e=this.futureState._root,n=this.currState?this.currState._root:null;this.deactivateChildRoutes(e,n,t),Se(this.futureState.root),this.activateChildRoutes(e,n,t)}deactivateChildRoutes(t,e,n){const r=pe(e);t.children.forEach(t=>{const e=t.value.outlet;this.deactivateRoutes(t,r[e],n),delete r[e]}),Vt(r,(t,e)=>{this.deactivateRouteAndItsChildren(t,n)})}deactivateRoutes(t,e,n){const r=t.value,s=e?e.value:null;if(r===s)if(r.component){const s=n.getContext(r.outlet);s&&this.deactivateChildRoutes(t,e,s.children)}else this.deactivateChildRoutes(t,e,n);else s&&this.deactivateRouteAndItsChildren(e,n)}deactivateRouteAndItsChildren(t,e){this.routeReuseStrategy.shouldDetach(t.value.snapshot)?this.detachAndStoreRouteSubtree(t,e):this.deactivateRouteAndOutlet(t,e)}detachAndStoreRouteSubtree(t,e){const n=e.getContext(t.value.outlet);if(n&&n.outlet){const e=n.outlet.detach(),r=n.children.onOutletDeactivated();this.routeReuseStrategy.store(t.value.snapshot,{componentRef:e,route:t,contexts:r})}}deactivateRouteAndOutlet(t,e){const n=e.getContext(t.value.outlet);if(n){const r=pe(t),s=t.value.component?n.children:e;Vt(r,(t,e)=>this.deactivateRouteAndItsChildren(t,s)),n.outlet&&(n.outlet.deactivate(),n.children.onOutletDeactivated())}}activateChildRoutes(t,e,n){const r=pe(e);t.children.forEach(t=>{this.activateRoutes(t,r[t.value.outlet],n),this.forwardEvent(new Rt(t.value.snapshot))}),t.children.length&&this.forwardEvent(new At(t.value.snapshot))}activateRoutes(t,e,n){const r=t.value,s=e?e.value:null;if(Se(r),r===s)if(r.component){const s=n.getOrCreateContext(r.outlet);this.activateChildRoutes(t,e,s.children)}else this.activateChildRoutes(t,e,n);else if(r.component){const e=n.getOrCreateContext(r.outlet);if(this.routeReuseStrategy.shouldAttach(r.snapshot)){const t=this.routeReuseStrategy.retrieve(r.snapshot);this.routeReuseStrategy.store(r.snapshot,null),e.children.onOutletReAttached(t.contexts),e.attachRef=t.componentRef,e.route=t.route.value,e.outlet&&e.outlet.attach(t.componentRef,t.route.value),Ue(t.route)}else{const n=function(t){for(let e=t.parent;e;e=e.parent){const t=e.routeConfig;if(t&&t._loadedConfig)return t._loadedConfig;if(t&&t.component)return null}return null}(r.snapshot),s=n?n.module.componentFactoryResolver:null;e.attachRef=null,e.route=r,e.resolver=s,e.outlet&&e.outlet.activateWith(r,s),this.activateChildRoutes(t,null,e.children)}}else this.activateChildRoutes(t,null,n)}}function Ue(t){Se(t.value),t.children.forEach(Ue)}class Le{constructor(t,e){this.routes=t,this.module=e}}function Me(t){return"function"==typeof t}function Fe(t){return t instanceof qt}const Ve=Symbol("INITIAL_VALUE");function $e(){return W(t=>function(...t){let e=void 0,n=void 0;return Object(i.a)(t[t.length-1])&&(n=t.pop()),"function"==typeof t[t.length-1]&&(e=t.pop()),1===t.length&&Object(f.a)(t[0])&&(t=t[0]),Object(o.a)(t,n).lift(new _(e))}(...t.map(t=>t.pipe(Q(1),function(...t){const e=t[t.length-1];return Object(i.a)(e)?(t.pop(),n=>K(t,n,e)):e=>K(t,e)}(Ve)))).pipe(function(t,e){let n=!1;return arguments.length>=2&&(n=!0),function(r){return r.lift(new X(t,e,n))}}((t,e)=>{let n=!1;return e.reduce((t,r,s)=>{if(t!==Ve)return t;if(r===Ve&&(n=!0),!n){if(!1===r)return r;if(s===e.length-1||Fe(r))return r}return t},t)},Ve),R(t=>t!==Ve),Object(O.a)(t=>Fe(t)?t:!0===t),Q(1)))}class ze{constructor(t){this.segmentGroup=t||null}}class qe{constructor(t){this.urlTree=t}}function Be(t){return new y.a(e=>e.error(new ze(t)))}function We(t){return new y.a(e=>e.error(new qe(t)))}function Ze(t){return new y.a(e=>e.error(new Error(`Only absolute redirects can have named outlets. redirectTo: '${t}'`)))}class Ge{constructor(t,e,n,r,i){this.configLoader=e,this.urlSerializer=n,this.urlTree=r,this.config=i,this.allowRedirects=!0,this.ngModule=t.get(s.x)}apply(){return this.expandSegmentGroup(this.ngModule,this.config,this.urlTree.root,It).pipe(Object(O.a)(t=>this.createUrlTree(t,this.urlTree.queryParams,this.urlTree.fragment))).pipe(et(t=>{if(t instanceof qe)return this.allowRedirects=!1,this.match(t.urlTree);if(t instanceof ze)throw this.noMatchError(t);throw t}))}match(t){return this.expandSegmentGroup(this.ngModule,this.config,t.root,It).pipe(Object(O.a)(e=>this.createUrlTree(e,t.queryParams,t.fragment))).pipe(et(t=>{if(t instanceof ze)throw this.noMatchError(t);throw t}))}noMatchError(t){return new Error(`Cannot match any routes. URL Segment: '${t.segmentGroup}'`)}createUrlTree(t,e,n){const r=t.segments.length>0?new Bt([],{[It]:t}):t;return new qt(r,e,n)}expandSegmentGroup(t,e,n,r){return 0===n.segments.length&&n.hasChildren()?this.expandChildren(t,e,n).pipe(Object(O.a)(t=>new Bt([],t))):this.expandSegment(t,n,e,n.segments,r,!0)}expandChildren(t,e,n){return function(t,e){if(0===Object.keys(t).length)return u({});const n=[],r=[],s={};return Vt(t,(t,i)=>{const o=e(i,t).pipe(Object(O.a)(t=>s[i]=t));i===It?n.push(o):r.push(o)}),u.apply(null,n.concat(r)).pipe(k(),function(t,e){const n=arguments.length>=2;return r=>r.pipe(t?R((e,n)=>t(e,n,r)):q.a,P(1),n?V(e):U(()=>new S))}(),Object(O.a)(()=>s))}(n.children,(n,r)=>this.expandSegmentGroup(t,e,r,n))}expandSegment(t,e,n,r,s,i){return u(...n).pipe(it(o=>this.expandSegmentAgainstRoute(t,e,n,o,r,s,i).pipe(et(t=>{if(t instanceof ze)return u(null);throw t}))),ot(t=>!!t),et((t,n)=>{if(t instanceof S||"EmptyError"===t.name){if(this.noLeftoversInUrl(e,r,s))return u(new Bt([],{}));throw new ze(e)}throw t}))}noLeftoversInUrl(t,e,n){return 0===e.length&&!t.children[n]}expandSegmentAgainstRoute(t,e,n,r,s,i,o){return Ke(r)!==i?Be(e):void 0===r.redirectTo?this.matchSegmentAgainstRoute(t,e,r,s):o&&this.allowRedirects?this.expandSegmentAgainstRouteUsingRedirect(t,e,n,r,s,i):Be(e)}expandSegmentAgainstRouteUsingRedirect(t,e,n,r,s,i){return"**"===r.path?this.expandWildCardWithParamsAgainstRouteUsingRedirect(t,n,r,i):this.expandRegularSegmentAgainstRouteUsingRedirect(t,e,n,r,s,i)}expandWildCardWithParamsAgainstRouteUsingRedirect(t,e,n,r){const s=this.applyRedirectCommands([],n.redirectTo,{});return n.redirectTo.startsWith("/")?We(s):this.lineralizeSegments(n,s).pipe(Object(st.a)(n=>{const s=new Bt(n,{});return this.expandSegment(t,s,e,n,r,!1)}))}expandRegularSegmentAgainstRouteUsingRedirect(t,e,n,r,s,i){const{matched:o,consumedSegments:a,lastChild:u,positionalParamSegments:l}=Qe(e,r,s);if(!o)return Be(e);const c=this.applyRedirectCommands(a,r.redirectTo,l);return r.redirectTo.startsWith("/")?We(c):this.lineralizeSegments(r,c).pipe(Object(st.a)(r=>this.expandSegment(t,e,n,r.concat(s.slice(u)),i,!1)))}matchSegmentAgainstRoute(t,e,n,r){if("**"===n.path)return n.loadChildren?this.configLoader.load(t.injector,n).pipe(Object(O.a)(t=>(n._loadedConfig=t,new Bt(r,{})))):u(new Bt(r,{}));const{matched:s,consumedSegments:i,lastChild:o}=Qe(e,n,r);if(!s)return Be(e);const a=r.slice(o);return this.getChildConfig(t,n,r).pipe(Object(st.a)(t=>{const n=t.module,r=t.routes,{segmentGroup:s,slicedSegments:o}=function(t,e,n,r){return n.length>0&&function(t,e,n){return n.some(n=>Ye(t,e,n)&&Ke(n)!==It)}(t,n,r)?{segmentGroup:Je(new Bt(e,function(t,e){const n={};n.primary=e;for(const r of t)""===r.path&&Ke(r)!==It&&(n[Ke(r)]=new Bt([],{}));return n}(r,new Bt(n,t.children)))),slicedSegments:[]}:0===n.length&&function(t,e,n){return n.some(n=>Ye(t,e,n))}(t,n,r)?{segmentGroup:Je(new Bt(t.segments,function(t,e,n,r){const s={};for(const i of n)Ye(t,e,i)&&!r[Ke(i)]&&(s[Ke(i)]=new Bt([],{}));return Object.assign(Object.assign({},r),s)}(t,n,r,t.children))),slicedSegments:n}:{segmentGroup:t,slicedSegments:n}}(e,i,a,r);return 0===o.length&&s.hasChildren()?this.expandChildren(n,r,s).pipe(Object(O.a)(t=>new Bt(i,t))):0===r.length&&0===o.length?u(new Bt(i,{})):this.expandSegment(n,s,r,o,It,!0).pipe(Object(O.a)(t=>new Bt(i.concat(t.segments),t.children)))}))}getChildConfig(t,e,n){return e.children?u(new Le(e.children,t)):e.loadChildren?void 0!==e._loadedConfig?u(e._loadedConfig):this.runCanLoadGuards(t.injector,e,n).pipe(Object(st.a)(n=>n?this.configLoader.load(t.injector,e).pipe(Object(O.a)(t=>(e._loadedConfig=t,t))):function(t){return new y.a(e=>e.error(Dt(`Cannot load children because the guard of the route "path: '${t.path}'" returned false`)))}(e))):u(new Le([],t))}runCanLoadGuards(t,e,n){const r=e.canLoad;return r&&0!==r.length?u(r.map(r=>{const s=t.get(r);let i;if(function(t){return t&&Me(t.canLoad)}(s))i=s.canLoad(e,n);else{if(!Me(s))throw new Error("Invalid CanLoad guard");i=s(e,n)}return $t(i)})).pipe($e(),lt(t=>{if(!Fe(t))return;const e=Dt(`Redirecting to "${this.urlSerializer.serialize(t)}"`);throw e.url=t,e}),Object(O.a)(t=>!0===t)):u(!0)}lineralizeSegments(t,e){let n=[],r=e.root;for(;;){if(n=n.concat(r.segments),0===r.numberOfChildren)return u(n);if(r.numberOfChildren>1||!r.children.primary)return Ze(t.redirectTo);r=r.children.primary}}applyRedirectCommands(t,e,n){return this.applyRedirectCreatreUrlTree(e,this.urlSerializer.parse(e),t,n)}applyRedirectCreatreUrlTree(t,e,n,r){const s=this.createSegmentGroup(t,e.root,n,r);return new qt(s,this.createQueryParams(e.queryParams,this.urlTree.queryParams),e.fragment)}createQueryParams(t,e){const n={};return Vt(t,(t,r)=>{if("string"==typeof t&&t.startsWith(":")){const s=t.substring(1);n[r]=e[s]}else n[r]=t}),n}createSegmentGroup(t,e,n,r){const s=this.createSegments(t,e.segments,n,r);let i={};return Vt(e.children,(e,s)=>{i[s]=this.createSegmentGroup(t,e,n,r)}),new Bt(s,i)}createSegments(t,e,n,r){return e.map(e=>e.path.startsWith(":")?this.findPosParam(t,e,r):this.findOrReturn(e,n))}findPosParam(t,e,n){const r=n[e.path.substring(1)];if(!r)throw new Error(`Cannot redirect to '${t}'. Cannot find '${e.path}'.`);return r}findOrReturn(t,e){let n=0;for(const r of e){if(r.path===t.path)return e.splice(n),r;n++}return t}}function Qe(t,e,n){if(""===e.path)return"full"===e.pathMatch&&(t.hasChildren()||n.length>0)?{matched:!1,consumedSegments:[],lastChild:0,positionalParamSegments:{}}:{matched:!0,consumedSegments:[],lastChild:0,positionalParamSegments:{}};const r=(e.matcher||Ht)(n,t,e);return r?{matched:!0,consumedSegments:r.consumed,lastChild:r.consumed.length,positionalParamSegments:r.posParams}:{matched:!1,consumedSegments:[],lastChild:0,positionalParamSegments:{}}}function Je(t){if(1===t.numberOfChildren&&t.children.primary){const e=t.children.primary;return new Bt(t.segments.concat(e.segments),e.children)}return t}function Ye(t,e,n){return(!(t.hasChildren()||e.length>0)||"full"!==n.pathMatch)&&""===n.path&&void 0!==n.redirectTo}function Ke(t){return t.outlet||It}class Xe{constructor(t){this.path=t,this.route=this.path[this.path.length-1]}}class tn{constructor(t,e){this.component=t,this.route=e}}function en(t,e,n){const r=t._root;return function t(e,n,r,s,i={canDeactivateChecks:[],canActivateChecks:[]}){const o=pe(n);return e.children.forEach(e=>{!function(e,n,r,s,i={canDeactivateChecks:[],canActivateChecks:[]}){const o=e.value,a=n?n.value:null,u=r?r.getContext(e.value.outlet):null;if(a&&o.routeConfig===a.routeConfig){const l=function(t,e,n){if("function"==typeof n)return n(t,e);switch(n){case"pathParamsChange":return!Zt(t.url,e.url);case"pathParamsOrQueryParamsChange":return!Zt(t.url,e.url)||!Ut(t.queryParams,e.queryParams);case"always":return!0;case"paramsOrQueryParamsChange":return!xe(t,e)||!Ut(t.queryParams,e.queryParams);case"paramsChange":default:return!xe(t,e)}}(a,o,o.routeConfig.runGuardsAndResolvers);l?i.canActivateChecks.push(new Xe(s)):(o.data=a.data,o._resolvedData=a._resolvedData),t(e,n,o.component?u?u.children:null:r,s,i),l&&u&&u.outlet&&u.outlet.isActivated&&i.canDeactivateChecks.push(new tn(u.outlet.component,a))}else a&&rn(n,u,i),i.canActivateChecks.push(new Xe(s)),t(e,null,o.component?u?u.children:null:r,s,i)}(e,o[e.value.outlet],r,s.concat([e.value]),i),delete o[e.value.outlet]}),Vt(o,(t,e)=>rn(t,r.getContext(e),i)),i}(r,e?e._root:null,n,[r.value])}function nn(t,e,n){const r=function(t){if(!t)return null;for(let e=t.parent;e;e=e.parent){const t=e.routeConfig;if(t&&t._loadedConfig)return t._loadedConfig}return null}(e);return(r?r.module.injector:n).get(t)}function rn(t,e,n){const r=pe(t),s=t.value;Vt(r,(t,r)=>{rn(t,s.component?e?e.children.getContext(r):null:e,n)}),n.canDeactivateChecks.push(new tn(s.component&&e&&e.outlet&&e.outlet.isActivated?e.outlet.component:null,s))}function sn(t,e){return null!==t&&e&&e(new kt(t)),u(!0)}function on(t,e){return null!==t&&e&&e(new Ot(t)),u(!0)}function an(t,e,n){const r=e.routeConfig?e.routeConfig.canActivate:null;return r&&0!==r.length?u(r.map(r=>T(()=>{const s=nn(r,e,n);let i;if(function(t){return t&&Me(t.canActivate)}(s))i=$t(s.canActivate(e,t));else{if(!Me(s))throw new Error("Invalid CanActivate guard");i=$t(s(e,t))}return i.pipe(ot())}))).pipe($e()):u(!0)}function un(t,e,n){const r=e[e.length-1],s=e.slice(0,e.length-1).reverse().map(t=>function(t){const e=t.routeConfig?t.routeConfig.canActivateChild:null;return e&&0!==e.length?{node:t,guards:e}:null}(t)).filter(t=>null!==t).map(e=>T(()=>u(e.guards.map(s=>{const i=nn(s,e.node,n);let o;if(function(t){return t&&Me(t.canActivateChild)}(i))o=$t(i.canActivateChild(r,t));else{if(!Me(i))throw new Error("Invalid CanActivateChild guard");o=$t(i(r,t))}return o.pipe(ot())})).pipe($e())));return u(s).pipe($e())}class ln{}class cn{constructor(t,e,n,r,s,i){this.rootComponentType=t,this.config=e,this.urlTree=n,this.url=r,this.paramsInheritanceStrategy=s,this.relativeLinkResolution=i}recognize(){try{const t=fn(this.urlTree.root,[],[],this.config,this.relativeLinkResolution).segmentGroup,e=this.processSegmentGroup(this.config,t,It),n=new ve([],Object.freeze({}),Object.freeze(Object.assign({},this.urlTree.queryParams)),this.urlTree.fragment,{},It,this.rootComponentType,null,this.urlTree.root,-1,{}),r=new fe(n,e),s=new we(this.url,r);return this.inheritParamsAndData(s._root),u(s)}catch(t){return new y.a(e=>e.error(t))}}inheritParamsAndData(t){const e=t.value,n=ye(e,this.paramsInheritanceStrategy);e.params=Object.freeze(n.params),e.data=Object.freeze(n.data),t.children.forEach(t=>this.inheritParamsAndData(t))}processSegmentGroup(t,e,n){return 0===e.segments.length&&e.hasChildren()?this.processChildren(t,e):this.processSegment(t,e,e.segments,n)}processChildren(t,e){const n=Gt(e,(e,n)=>this.processSegmentGroup(t,e,n));return function(t){const e={};t.forEach(t=>{const n=e[t.value.outlet];if(n){const e=n.url.map(t=>t.toString()).join("/"),r=t.value.url.map(t=>t.toString()).join("/");throw new Error(`Two segments cannot have the same outlet name: '${e}' and '${r}'.`)}e[t.value.outlet]=t.value})}(n),n.sort((t,e)=>t.value.outlet===It?-1:e.value.outlet===It?1:t.value.outlet.localeCompare(e.value.outlet)),n}processSegment(t,e,n,r){for(const i of t)try{return this.processSegmentAgainstRoute(i,e,n,r)}catch(s){if(!(s instanceof ln))throw s}if(this.noLeftoversInUrl(e,n,r))return[];throw new ln}noLeftoversInUrl(t,e,n){return 0===e.length&&!t.children[n]}processSegmentAgainstRoute(t,e,n,r){if(t.redirectTo)throw new ln;if((t.outlet||It)!==r)throw new ln;let s,i=[],o=[];if("**"===t.path){const i=n.length>0?Ft(n).parameters:{};s=new ve(n,i,Object.freeze(Object.assign({},this.urlTree.queryParams)),this.urlTree.fragment,mn(t),r,t.component,t,hn(e),dn(e)+n.length,bn(t))}else{const a=function(t,e,n){if(""===e.path){if("full"===e.pathMatch&&(t.hasChildren()||n.length>0))throw new ln;return{consumedSegments:[],lastChild:0,parameters:{}}}const r=(e.matcher||Ht)(n,t,e);if(!r)throw new ln;const s={};Vt(r.posParams,(t,e)=>{s[e]=t.path});const i=r.consumed.length>0?Object.assign(Object.assign({},s),r.consumed[r.consumed.length-1].parameters):s;return{consumedSegments:r.consumed,lastChild:r.consumed.length,parameters:i}}(e,t,n);i=a.consumedSegments,o=n.slice(a.lastChild),s=new ve(i,a.parameters,Object.freeze(Object.assign({},this.urlTree.queryParams)),this.urlTree.fragment,mn(t),r,t.component,t,hn(e),dn(e)+i.length,bn(t))}const a=function(t){return t.children?t.children:t.loadChildren?t._loadedConfig.routes:[]}(t),{segmentGroup:u,slicedSegments:l}=fn(e,i,o,a,this.relativeLinkResolution);if(0===l.length&&u.hasChildren()){const t=this.processChildren(a,u);return[new fe(s,t)]}if(0===a.length&&0===l.length)return[new fe(s,[])];const c=this.processSegment(a,u,l,It);return[new fe(s,c)]}}function hn(t){let e=t;for(;e._sourceSegment;)e=e._sourceSegment;return e}function dn(t){let e=t,n=e._segmentIndexShift?e._segmentIndexShift:0;for(;e._sourceSegment;)e=e._sourceSegment,n+=e._segmentIndexShift?e._segmentIndexShift:0;return n-1}function fn(t,e,n,r,s){if(n.length>0&&function(t,e,n){return n.some(n=>pn(t,e,n)&&gn(n)!==It)}(t,n,r)){const s=new Bt(e,function(t,e,n,r){const s={};s.primary=r,r._sourceSegment=t,r._segmentIndexShift=e.length;for(const i of n)if(""===i.path&&gn(i)!==It){const n=new Bt([],{});n._sourceSegment=t,n._segmentIndexShift=e.length,s[gn(i)]=n}return s}(t,e,r,new Bt(n,t.children)));return s._sourceSegment=t,s._segmentIndexShift=e.length,{segmentGroup:s,slicedSegments:[]}}if(0===n.length&&function(t,e,n){return n.some(n=>pn(t,e,n))}(t,n,r)){const i=new Bt(t.segments,function(t,e,n,r,s,i){const o={};for(const a of r)if(pn(t,n,a)&&!s[gn(a)]){const n=new Bt([],{});n._sourceSegment=t,n._segmentIndexShift="legacy"===i?t.segments.length:e.length,o[gn(a)]=n}return Object.assign(Object.assign({},s),o)}(t,e,n,r,t.children,s));return i._sourceSegment=t,i._segmentIndexShift=e.length,{segmentGroup:i,slicedSegments:n}}const i=new Bt(t.segments,t.children);return i._sourceSegment=t,i._segmentIndexShift=e.length,{segmentGroup:i,slicedSegments:n}}function pn(t,e,n){return(!(t.hasChildren()||e.length>0)||"full"!==n.pathMatch)&&""===n.path&&void 0===n.redirectTo}function gn(t){return t.outlet||It}function mn(t){return t.data||{}}function bn(t){return t.resolve||{}}function yn(t){return function(e){return e.pipe(W(e=>{const n=t(e);return n?Object(l.a)(n).pipe(Object(O.a)(()=>e)):Object(l.a)([e])}))}}class vn extends class{shouldDetach(t){return!1}store(t,e){}shouldAttach(t){return!1}retrieve(t){return null}shouldReuseRoute(t,e){return t.routeConfig===e.routeConfig}}{}let wn=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275cmp=s.wb({type:t,selectors:[["ng-component"]],decls:1,vars:0,template:function(t,e){1&t&&s.Db(0,"router-outlet")},directives:function(){return[Hn]},encapsulation:2}),t})();function _n(t,e=""){for(let n=0;n{this.onLoadEndListener&&this.onLoadEndListener(e);const r=n.create(t);return new Le(Mt(r.injector.get(En)).map(xn),r)}))}loadModuleFactory(t){return"string"==typeof t?Object(l.a)(this.loader.load(t)):$t(t()).pipe(Object(st.a)(t=>t instanceof s.v?u(t):Object(l.a)(this.compiler.compileModuleAsync(t))))}}class On{constructor(){this.outlet=null,this.route=null,this.resolver=null,this.children=new An,this.attachRef=null}}class An{constructor(){this.contexts=new Map}onChildOutletCreated(t,e){const n=this.getOrCreateContext(t);n.outlet=e,this.contexts.set(t,n)}onChildOutletDestroyed(t){const e=this.getContext(t);e&&(e.outlet=null)}onOutletDeactivated(){const t=this.contexts;return this.contexts=new Map,t}onOutletReAttached(t){this.contexts=t}getOrCreateContext(t){let e=this.getContext(t);return e||(e=new On,this.contexts.set(t,e)),e}getContext(t){return this.contexts.get(t)||null}}class kn{shouldProcessUrl(t){return!0}extract(t){return t}merge(t,e){return t}}function Rn(t){throw t}function jn(t,e,n){return e.parse("/")}function In(t,e){return u(null)}let Nn=(()=>{class t{constructor(t,e,n,r,i,o,a,u){this.rootComponentType=t,this.urlSerializer=e,this.rootContexts=n,this.location=r,this.config=u,this.lastSuccessfulNavigation=null,this.currentNavigation=null,this.lastLocationChangeInfo=null,this.navigationId=0,this.isNgZoneEnabled=!1,this.events=new c.a,this.errorHandler=Rn,this.malformedUriErrorHandler=jn,this.navigated=!1,this.lastSuccessfulId=-1,this.hooks={beforePreactivation:In,afterPreactivation:In},this.urlHandlingStrategy=new kn,this.routeReuseStrategy=new vn,this.onSameUrlNavigation="ignore",this.paramsInheritanceStrategy="emptyOnly",this.urlUpdateStrategy="deferred",this.relativeLinkResolution="legacy",this.ngModule=i.get(s.x),this.console=i.get(s.V);const l=i.get(s.z);this.isNgZoneEnabled=l instanceof s.z,this.resetConfig(u),this.currentUrlTree=new qt(new Bt([],{}),{},null),this.rawUrlTree=this.currentUrlTree,this.browserUrlTree=this.currentUrlTree,this.configLoader=new Tn(o,a,t=>this.triggerEvent(new Et(t)),t=>this.triggerEvent(new Tt(t))),this.routerState=me(this.currentUrlTree,this.rootComponentType),this.transitions=new d({id:0,currentUrlTree:this.currentUrlTree,currentRawUrl:this.currentUrlTree,extractedUrl:this.urlHandlingStrategy.extract(this.currentUrlTree),urlAfterRedirects:this.urlHandlingStrategy.extract(this.currentUrlTree),rawUrl:this.currentUrlTree,extras:{},resolve:null,reject:null,promise:Promise.resolve(!0),source:"imperative",restoredState:null,currentSnapshot:this.routerState.snapshot,targetSnapshot:null,currentRouterState:this.routerState,targetRouterState:null,guards:{canActivateChecks:[],canDeactivateChecks:[]},guardsResult:null}),this.navigations=this.setupNavigations(this.transitions),this.processNavigations()}setupNavigations(t){const e=this.events;return t.pipe(R(t=>0!==t.id),Object(O.a)(t=>Object.assign(Object.assign({},t),{extractedUrl:this.urlHandlingStrategy.extract(t.rawUrl)})),W(t=>{let n=!1,r=!1;return u(t).pipe(lt(t=>{this.currentNavigation={id:t.id,initialUrl:t.currentRawUrl,extractedUrl:t.extractedUrl,trigger:t.source,extras:t.extras,previousNavigation:this.lastSuccessfulNavigation?Object.assign(Object.assign({},this.lastSuccessfulNavigation),{previousNavigation:null}):null}}),W(t=>{const n=!this.navigated||t.extractedUrl.toString()!==this.browserUrlTree.toString();if(("reload"===this.onSameUrlNavigation||n)&&this.urlHandlingStrategy.shouldProcessUrl(t.rawUrl))return u(t).pipe(W(t=>{const n=this.transitions.getValue();return e.next(new mt(t.id,this.serializeUrl(t.extractedUrl),t.source,t.restoredState)),n!==this.transitions.getValue()?x:[t]}),W(t=>Promise.resolve(t)),(r=this.ngModule.injector,s=this.configLoader,i=this.urlSerializer,o=this.config,function(t){return t.pipe(W(t=>function(t,e,n,r,s){return new Ge(t,e,n,r,s).apply()}(r,s,i,t.extractedUrl,o).pipe(Object(O.a)(e=>Object.assign(Object.assign({},t),{urlAfterRedirects:e})))))}),lt(t=>{this.currentNavigation=Object.assign(Object.assign({},this.currentNavigation),{finalUrl:t.urlAfterRedirects})}),function(t,e,n,r,s){return function(i){return i.pipe(Object(st.a)(i=>function(t,e,n,r,s="emptyOnly",i="legacy"){return new cn(t,e,n,r,s,i).recognize()}(t,e,i.urlAfterRedirects,n(i.urlAfterRedirects),r,s).pipe(Object(O.a)(t=>Object.assign(Object.assign({},i),{targetSnapshot:t})))))}}(this.rootComponentType,this.config,t=>this.serializeUrl(t),this.paramsInheritanceStrategy,this.relativeLinkResolution),lt(t=>{"eager"===this.urlUpdateStrategy&&(t.extras.skipLocationChange||this.setBrowserUrl(t.urlAfterRedirects,!!t.extras.replaceUrl,t.id,t.extras.state),this.browserUrlTree=t.urlAfterRedirects)}),lt(t=>{const n=new wt(t.id,this.serializeUrl(t.extractedUrl),this.serializeUrl(t.urlAfterRedirects),t.targetSnapshot);e.next(n)}));var r,s,i,o;if(n&&this.rawUrlTree&&this.urlHandlingStrategy.shouldProcessUrl(this.rawUrlTree)){const{id:n,extractedUrl:r,source:s,restoredState:i,extras:o}=t,a=new mt(n,this.serializeUrl(r),s,i);e.next(a);const l=me(r,this.rootComponentType).snapshot;return u(Object.assign(Object.assign({},t),{targetSnapshot:l,urlAfterRedirects:r,extras:Object.assign(Object.assign({},o),{skipLocationChange:!1,replaceUrl:!1})}))}return this.rawUrlTree=t.rawUrl,this.browserUrlTree=t.urlAfterRedirects,t.resolve(null),x}),yn(t=>{const{targetSnapshot:e,id:n,extractedUrl:r,rawUrl:s,extras:{skipLocationChange:i,replaceUrl:o}}=t;return this.hooks.beforePreactivation(e,{navigationId:n,appliedUrlTree:r,rawUrlTree:s,skipLocationChange:!!i,replaceUrl:!!o})}),lt(t=>{const e=new _t(t.id,this.serializeUrl(t.extractedUrl),this.serializeUrl(t.urlAfterRedirects),t.targetSnapshot);this.triggerEvent(e)}),Object(O.a)(t=>Object.assign(Object.assign({},t),{guards:en(t.targetSnapshot,t.currentSnapshot,this.rootContexts)})),function(t,e){return function(n){return n.pipe(Object(st.a)(n=>{const{targetSnapshot:r,currentSnapshot:s,guards:{canActivateChecks:i,canDeactivateChecks:o}}=n;return 0===o.length&&0===i.length?u(Object.assign(Object.assign({},n),{guardsResult:!0})):function(t,e,n,r){return Object(l.a)(t).pipe(Object(st.a)(t=>function(t,e,n,r,s){const i=e&&e.routeConfig?e.routeConfig.canDeactivate:null;return i&&0!==i.length?u(i.map(i=>{const o=nn(i,e,s);let a;if(function(t){return t&&Me(t.canDeactivate)}(o))a=$t(o.canDeactivate(t,e,n,r));else{if(!Me(o))throw new Error("Invalid CanDeactivate guard");a=$t(o(t,e,n,r))}return a.pipe(ot())})).pipe($e()):u(!0)}(t.component,t.route,n,e,r)),ot(t=>!0!==t,!0))}(o,r,s,t).pipe(Object(st.a)(n=>n&&"boolean"==typeof n?function(t,e,n,r){return Object(l.a)(e).pipe(it(e=>Object(l.a)([on(e.route.parent,r),sn(e.route,r),un(t,e.path,n),an(t,e.route,n)]).pipe(k(),ot(t=>!0!==t,!0))),ot(t=>!0!==t,!0))}(r,i,t,e):u(n)),Object(O.a)(t=>Object.assign(Object.assign({},n),{guardsResult:t})))}))}}(this.ngModule.injector,t=>this.triggerEvent(t)),lt(t=>{if(Fe(t.guardsResult)){const e=Dt(`Redirecting to "${this.serializeUrl(t.guardsResult)}"`);throw e.url=t.guardsResult,e}}),lt(t=>{const e=new Ct(t.id,this.serializeUrl(t.extractedUrl),this.serializeUrl(t.urlAfterRedirects),t.targetSnapshot,!!t.guardsResult);this.triggerEvent(e)}),R(t=>{if(!t.guardsResult){this.resetUrlToCurrentUrlTree();const n=new yt(t.id,this.serializeUrl(t.extractedUrl),"");return e.next(n),t.resolve(!1),!1}return!0}),yn(t=>{if(t.guards.canActivateChecks.length)return u(t).pipe(lt(t=>{const e=new St(t.id,this.serializeUrl(t.extractedUrl),this.serializeUrl(t.urlAfterRedirects),t.targetSnapshot);this.triggerEvent(e)}),W(t=>{let n=!1;return u(t).pipe((r=this.paramsInheritanceStrategy,s=this.ngModule.injector,function(t){return t.pipe(Object(st.a)(t=>{const{targetSnapshot:e,guards:{canActivateChecks:n}}=t;if(!n.length)return u(t);let i=0;return Object(l.a)(n).pipe(it(t=>function(t,e,n,r){return function(t,e,n,r){const s=Object.keys(t);if(0===s.length)return u({});const i={};return Object(l.a)(s).pipe(Object(st.a)(s=>function(t,e,n,r){const s=nn(t,e,r);return $t(s.resolve?s.resolve(e,n):s(e,n))}(t[s],e,n,r).pipe(lt(t=>{i[s]=t}))),P(1),Object(st.a)(()=>Object.keys(i).length===s.length?u(i):x))}(t._resolve,t,e,r).pipe(Object(O.a)(e=>(t._resolvedData=e,t.data=Object.assign(Object.assign({},t.data),ye(t,n).resolve),null)))}(t.route,e,r,s)),lt(()=>i++),P(1),Object(st.a)(e=>i===n.length?u(t):x))}))}),lt({next:()=>n=!0,complete:()=>{if(!n){const n=new yt(t.id,this.serializeUrl(t.extractedUrl),"At least one route resolver didn't emit any value.");e.next(n),t.resolve(!1)}}}));var r,s}),lt(t=>{const e=new xt(t.id,this.serializeUrl(t.extractedUrl),this.serializeUrl(t.urlAfterRedirects),t.targetSnapshot);this.triggerEvent(e)}))}),yn(t=>{const{targetSnapshot:e,id:n,extractedUrl:r,rawUrl:s,extras:{skipLocationChange:i,replaceUrl:o}}=t;return this.hooks.afterPreactivation(e,{navigationId:n,appliedUrlTree:r,rawUrlTree:s,skipLocationChange:!!i,replaceUrl:!!o})}),Object(O.a)(t=>{const e=function(t,e,n){const r=function t(e,n,r){if(r&&e.shouldReuseRoute(n.value,r.value.snapshot)){const s=r.value;s._futureSnapshot=n.value;const i=function(e,n,r){return n.children.map(n=>{for(const s of r.children)if(e.shouldReuseRoute(s.value.snapshot,n.value))return t(e,n,s);return t(e,n)})}(e,n,r);return new fe(s,i)}{const r=e.retrieve(n.value);if(r){const t=r.route;return function t(e,n){if(e.value.routeConfig!==n.value.routeConfig)throw new Error("Cannot reattach ActivatedRouteSnapshot created from a different route");if(e.children.length!==n.children.length)throw new Error("Cannot reattach ActivatedRouteSnapshot with a different number of children");n.value._futureSnapshot=e.value;for(let r=0;rt(e,n));return new fe(r,i)}}var s}(t,e._root,n?n._root:void 0);return new ge(r,e)}(this.routeReuseStrategy,t.targetSnapshot,t.currentRouterState);return Object.assign(Object.assign({},t),{targetRouterState:e})}),lt(t=>{this.currentUrlTree=t.urlAfterRedirects,this.rawUrlTree=this.urlHandlingStrategy.merge(this.currentUrlTree,t.rawUrl),this.routerState=t.targetRouterState,"deferred"===this.urlUpdateStrategy&&(t.extras.skipLocationChange||this.setBrowserUrl(this.rawUrlTree,!!t.extras.replaceUrl,t.id,t.extras.state),this.browserUrlTree=t.urlAfterRedirects)}),(i=this.rootContexts,o=this.routeReuseStrategy,a=t=>this.triggerEvent(t),Object(O.a)(t=>(new He(o,t.targetRouterState,t.currentRouterState,a).activate(i),t))),lt({next(){n=!0},complete(){n=!0}}),(s=()=>{if(!n&&!r){this.resetUrlToCurrentUrlTree();const n=new yt(t.id,this.serializeUrl(t.extractedUrl),`Navigation ID ${t.id} is not equal to the current navigation id ${this.navigationId}`);e.next(n),t.resolve(!1)}this.currentNavigation=null},t=>t.lift(new ft(s))),et(n=>{if(r=!0,(s=n)&&s.ngNavigationCancelingError){const r=Fe(n.url);r||(this.navigated=!0,this.resetStateAndUrl(t.currentRouterState,t.currentUrlTree,t.rawUrl));const s=new yt(t.id,this.serializeUrl(t.extractedUrl),n.message);e.next(s),r?setTimeout(()=>{const e=this.urlHandlingStrategy.merge(n.url,this.rawUrlTree);return this.scheduleNavigation(e,"imperative",null,{skipLocationChange:t.extras.skipLocationChange,replaceUrl:"eager"===this.urlUpdateStrategy},{resolve:t.resolve,reject:t.reject,promise:t.promise})},0):t.resolve(!1)}else{this.resetStateAndUrl(t.currentRouterState,t.currentUrlTree,t.rawUrl);const r=new vt(t.id,this.serializeUrl(t.extractedUrl),n);e.next(r);try{t.resolve(this.errorHandler(n))}catch(i){t.reject(i)}}var s;return x}));var s,i,o,a}))}resetRootComponentType(t){this.rootComponentType=t,this.routerState.root.component=this.rootComponentType}getTransition(){const t=this.transitions.value;return t.urlAfterRedirects=this.browserUrlTree,t}setTransition(t){this.transitions.next(Object.assign(Object.assign({},this.getTransition()),t))}initialNavigation(){this.setUpLocationChangeListener(),0===this.navigationId&&this.navigateByUrl(this.location.path(!0),{replaceUrl:!0})}setUpLocationChangeListener(){this.locationSubscription||(this.locationSubscription=this.location.subscribe(t=>{const e=this.extractLocationChangeInfoFromEvent(t);this.shouldScheduleNavigation(this.lastLocationChangeInfo,e)&&setTimeout(()=>{const{source:t,state:n,urlTree:r}=e,s={replaceUrl:!0};if(n){const t=Object.assign({},n);delete t.navigationId,0!==Object.keys(t).length&&(s.state=t)}this.scheduleNavigation(r,t,n,s)},0),this.lastLocationChangeInfo=e}))}extractLocationChangeInfoFromEvent(t){var e;return{source:"popstate"===t.type?"popstate":"hashchange",urlTree:this.parseUrl(t.url),state:(null===(e=t.state)||void 0===e?void 0:e.navigationId)?t.state:null,transitionId:this.getTransition().id}}shouldScheduleNavigation(t,e){if(!t)return!0;const n=e.urlTree.toString()===t.urlTree.toString();return!(e.transitionId===t.transitionId&&n&&("hashchange"===e.source&&"popstate"===t.source||"popstate"===e.source&&"hashchange"===t.source))}get url(){return this.serializeUrl(this.currentUrlTree)}getCurrentNavigation(){return this.currentNavigation}triggerEvent(t){this.events.next(t)}resetConfig(t){_n(t),this.config=t.map(xn),this.navigated=!1,this.lastSuccessfulId=-1}ngOnDestroy(){this.dispose()}dispose(){this.locationSubscription&&(this.locationSubscription.unsubscribe(),this.locationSubscription=void 0)}createUrlTree(t,e={}){const{relativeTo:n,queryParams:r,fragment:i,preserveQueryParams:o,queryParamsHandling:a,preserveFragment:u}=e;Object(s.S)()&&o&&console&&console.warn&&console.warn("preserveQueryParams is deprecated, use queryParamsHandling instead.");const l=n||this.routerState.root,c=u?this.currentUrlTree.fragment:i;let h=null;if(a)switch(a){case"merge":h=Object.assign(Object.assign({},this.currentUrlTree.queryParams),r);break;case"preserve":h=this.currentUrlTree.queryParams;break;default:h=r||null}else h=o?this.currentUrlTree.queryParams:r||null;return null!==h&&(h=this.removeEmptyProps(h)),function(t,e,n,r,s){if(0===n.length)return Te(e.root,e.root,e,r,s);const i=function(t){if("string"==typeof t[0]&&1===t.length&&"/"===t[0])return new Oe(!0,0,t);let e=0,n=!1;const r=t.reduce((t,r,s)=>{if("object"==typeof r&&null!=r){if(r.outlets){const e={};return Vt(r.outlets,(t,n)=>{e[n]="string"==typeof t?t.split("/"):t}),[...t,{outlets:e}]}if(r.segmentPath)return[...t,r.segmentPath]}return"string"!=typeof r?[...t,r]:0===s?(r.split("/").forEach((r,s)=>{0==s&&"."===r||(0==s&&""===r?n=!0:".."===r?e++:""!=r&&t.push(r))}),t):[...t,r]},[]);return new Oe(n,e,r)}(n);if(i.toRoot())return Te(e.root,new Bt([],{}),e,r,s);const o=function(t,e,n){if(t.isAbsolute)return new Ae(e.root,!0,0);if(-1===n.snapshot._lastPathIndex){const t=n.snapshot._urlSegment;return new Ae(t,t===e.root,0)}const r=Ee(t.commands[0])?0:1;return function(t,e,n){let r=t,s=e,i=n;for(;i>s;){if(i-=s,r=r.parent,!r)throw new Error("Invalid number of '../'");s=r.segments.length}return new Ae(r,!1,s-i)}(n.snapshot._urlSegment,n.snapshot._lastPathIndex+r,t.numberOfDoubleDots)}(i,e,t),a=o.processChildren?je(o.segmentGroup,o.index,i.commands):Re(o.segmentGroup,o.index,i.commands);return Te(o.segmentGroup,a,e,r,s)}(l,this.currentUrlTree,t,h,c)}navigateByUrl(t,e={skipLocationChange:!1}){Object(s.S)()&&this.isNgZoneEnabled&&!s.z.isInAngularZone()&&this.console.warn("Navigation triggered outside Angular zone, did you forget to call 'ngZone.run()'?");const n=Fe(t)?t:this.parseUrl(t),r=this.urlHandlingStrategy.merge(n,this.rawUrlTree);return this.scheduleNavigation(r,"imperative",null,e)}navigate(t,e={skipLocationChange:!1}){return function(t){for(let e=0;e{const r=t[n];return null!=r&&(e[n]=r),e},{})}processNavigations(){this.navigations.subscribe(t=>{this.navigated=!0,this.lastSuccessfulId=t.id,this.events.next(new bt(t.id,this.serializeUrl(t.extractedUrl),this.serializeUrl(this.currentUrlTree))),this.lastSuccessfulNavigation=this.currentNavigation,this.currentNavigation=null,t.resolve(!0)},t=>{this.console.warn("Unhandled Navigation Error: ")})}scheduleNavigation(t,e,n,r,s){const i=this.getTransition(),o="imperative"!==e&&"imperative"===(null==i?void 0:i.source),a=(this.lastSuccessfulId===i.id||this.currentNavigation?i.rawUrl:i.urlAfterRedirects).toString()===t.toString();if(o&&a)return Promise.resolve(!0);let u,l,c;s?(u=s.resolve,l=s.reject,c=s.promise):c=new Promise((t,e)=>{u=t,l=e});const h=++this.navigationId;return this.setTransition({id:h,source:e,restoredState:n,currentUrlTree:this.currentUrlTree,currentRawUrl:this.rawUrlTree,rawUrl:t,extras:r,resolve:u,reject:l,promise:c,currentSnapshot:this.routerState.snapshot,currentRouterState:this.routerState}),c.catch(t=>Promise.reject(t))}setBrowserUrl(t,e,n,r){const s=this.urlSerializer.serialize(t);r=r||{},this.location.isCurrentPathEqualTo(s)||e?this.location.replaceState(s,"",Object.assign(Object.assign({},r),{navigationId:n})):this.location.go(s,"",Object.assign(Object.assign({},r),{navigationId:n}))}resetStateAndUrl(t,e,n){this.routerState=t,this.currentUrlTree=e,this.rawUrlTree=this.urlHandlingStrategy.merge(this.currentUrlTree,n),this.resetUrlToCurrentUrlTree()}resetUrlToCurrentUrlTree(){this.location.replaceState(this.urlSerializer.serialize(this.rawUrlTree),"",{navigationId:this.lastSuccessfulId})}}return t.\u0275fac=function(e){return new(e||t)(s.Hb(s.M),s.Hb(Qt),s.Hb(An),s.Hb(r.f),s.Hb(s.r),s.Hb(s.w),s.Hb(s.i),s.Hb(void 0))},t.\u0275prov=s.yb({token:t,factory:t.\u0275fac}),t})(),Pn=(()=>{class t{constructor(t,e,n,r,s){this.router=t,this.route=e,this.commands=[],this.onChanges=new c.a,null==n&&r.setAttribute(s.nativeElement,"tabindex","0")}ngOnChanges(t){this.onChanges.next(this)}set routerLink(t){this.commands=null!=t?Array.isArray(t)?t:[t]:[]}set preserveQueryParams(t){Object(s.S)()&&console&&console.warn&&console.warn("preserveQueryParams is deprecated!, use queryParamsHandling instead."),this.preserve=t}onClick(){const t={skipLocationChange:Dn(this.skipLocationChange),replaceUrl:Dn(this.replaceUrl),state:this.state};return this.router.navigateByUrl(this.urlTree,t),!0}get urlTree(){return this.router.createUrlTree(this.commands,{relativeTo:this.route,queryParams:this.queryParams,fragment:this.fragment,preserveQueryParams:Dn(this.preserve),queryParamsHandling:this.queryParamsHandling,preserveFragment:Dn(this.preserveFragment)})}}return t.\u0275fac=function(e){return new(e||t)(s.Cb(Nn),s.Cb(be),s.Ib("tabindex"),s.Cb(s.D),s.Cb(s.l))},t.\u0275dir=s.xb({type:t,selectors:[["","routerLink","",5,"a",5,"area"]],hostBindings:function(t,e){1&t&&s.Kb("click",(function(){return e.onClick()}))},inputs:{routerLink:"routerLink",preserveQueryParams:"preserveQueryParams",queryParams:"queryParams",fragment:"fragment",queryParamsHandling:"queryParamsHandling",preserveFragment:"preserveFragment",skipLocationChange:"skipLocationChange",replaceUrl:"replaceUrl",state:"state"},features:[s.tb]}),t})();function Dn(t){return""===t||!!t}let Hn=(()=>{class t{constructor(t,e,n,r,i){this.parentContexts=t,this.location=e,this.resolver=n,this.changeDetector=i,this.activated=null,this._activatedRoute=null,this.activateEvents=new s.n,this.deactivateEvents=new s.n,this.name=r||It,t.onChildOutletCreated(this.name,this)}ngOnDestroy(){this.parentContexts.onChildOutletDestroyed(this.name)}ngOnInit(){if(!this.activated){const t=this.parentContexts.getContext(this.name);t&&t.route&&(t.attachRef?this.attach(t.attachRef,t.route):this.activateWith(t.route,t.resolver||null))}}get isActivated(){return!!this.activated}get component(){if(!this.activated)throw new Error("Outlet is not activated");return this.activated.instance}get activatedRoute(){if(!this.activated)throw new Error("Outlet is not activated");return this._activatedRoute}get activatedRouteData(){return this._activatedRoute?this._activatedRoute.snapshot.data:{}}detach(){if(!this.activated)throw new Error("Outlet is not activated");this.location.detach();const t=this.activated;return this.activated=null,this._activatedRoute=null,t}attach(t,e){this.activated=t,this._activatedRoute=e,this.location.insert(t.hostView)}deactivate(){if(this.activated){const t=this.component;this.activated.destroy(),this.activated=null,this._activatedRoute=null,this.deactivateEvents.emit(t)}}activateWith(t,e){if(this.isActivated)throw new Error("Cannot activate an already activated outlet");this._activatedRoute=t;const n=(e=e||this.resolver).resolveComponentFactory(t._futureSnapshot.routeConfig.component),r=this.parentContexts.getOrCreateContext(this.name).children,s=new Un(t,r,this.location.injector);this.activated=this.location.createComponent(n,this.location.length,s),this.changeDetector.markForCheck(),this.activateEvents.emit(this.activated.instance)}}return t.\u0275fac=function(e){return new(e||t)(s.Cb(An),s.Cb(s.O),s.Cb(s.j),s.Ib("name"),s.Cb(s.h))},t.\u0275dir=s.xb({type:t,selectors:[["router-outlet"]],outputs:{activateEvents:"activate",deactivateEvents:"deactivate"},exportAs:["outlet"]}),t})();class Un{constructor(t,e,n){this.route=t,this.childContexts=e,this.parent=n}get(t,e){return t===be?this.route:t===An?this.childContexts:this.parent.get(t,e)}}class Ln{}class Mn{preload(t,e){return u(null)}}let Fn=(()=>{class t{constructor(t,e,n,r,s){this.router=t,this.injector=r,this.preloadingStrategy=s,this.loader=new Tn(e,n,e=>t.triggerEvent(new Et(e)),e=>t.triggerEvent(new Tt(e)))}setUpPreloading(){this.subscription=this.router.events.pipe(R(t=>t instanceof bt),it(()=>this.preload())).subscribe(()=>{})}preload(){const t=this.injector.get(s.x);return this.processRoutes(t,this.router.config)}ngOnDestroy(){this.subscription&&this.subscription.unsubscribe()}processRoutes(t,e){const n=[];for(const r of e)if(r.loadChildren&&!r.canLoad&&r._loadedConfig){const t=r._loadedConfig;n.push(this.processRoutes(t.module,t.routes))}else r.loadChildren&&!r.canLoad?n.push(this.preloadConfig(t,r)):r.children&&n.push(this.processRoutes(t,r.children));return Object(l.a)(n).pipe(Object(A.a)(),Object(O.a)(t=>{}))}preloadConfig(t,e){return this.preloadingStrategy.preload(e,()=>this.loader.load(t.injector,e).pipe(Object(st.a)(t=>(e._loadedConfig=t,this.processRoutes(t.module,t.routes)))))}}return t.\u0275fac=function(e){return new(e||t)(s.Hb(Nn),s.Hb(s.w),s.Hb(s.i),s.Hb(s.r),s.Hb(Ln))},t.\u0275prov=s.yb({token:t,factory:t.\u0275fac}),t})(),Vn=(()=>{class t{constructor(t,e,n={}){this.router=t,this.viewportScroller=e,this.options=n,this.lastId=0,this.lastSource="imperative",this.restoredId=0,this.store={},n.scrollPositionRestoration=n.scrollPositionRestoration||"disabled",n.anchorScrolling=n.anchorScrolling||"disabled"}init(){"disabled"!==this.options.scrollPositionRestoration&&this.viewportScroller.setHistoryScrollRestoration("manual"),this.routerEventsSubscription=this.createScrollEvents(),this.scrollEventsSubscription=this.consumeScrollEvents()}createScrollEvents(){return this.router.events.subscribe(t=>{t instanceof mt?(this.store[this.lastId]=this.viewportScroller.getScrollPosition(),this.lastSource=t.navigationTrigger,this.restoredId=t.restoredState?t.restoredState.navigationId:0):t instanceof bt&&(this.lastId=t.id,this.scheduleScrollEvent(t,this.router.parseUrl(t.urlAfterRedirects).fragment))})}consumeScrollEvents(){return this.router.events.subscribe(t=>{t instanceof jt&&(t.position?"top"===this.options.scrollPositionRestoration?this.viewportScroller.scrollToPosition([0,0]):"enabled"===this.options.scrollPositionRestoration&&this.viewportScroller.scrollToPosition(t.position):t.anchor&&"enabled"===this.options.anchorScrolling?this.viewportScroller.scrollToAnchor(t.anchor):"disabled"!==this.options.scrollPositionRestoration&&this.viewportScroller.scrollToPosition([0,0]))})}scheduleScrollEvent(t,e){this.router.triggerEvent(new jt(t,"popstate"===this.lastSource?this.store[this.restoredId]:null,e))}ngOnDestroy(){this.routerEventsSubscription&&this.routerEventsSubscription.unsubscribe(),this.scrollEventsSubscription&&this.scrollEventsSubscription.unsubscribe()}}return t.\u0275fac=function(e){return new(e||t)(s.Hb(Nn),s.Hb(r.k),s.Hb(void 0))},t.\u0275prov=s.yb({token:t,factory:t.\u0275fac}),t})();const $n=new s.q("ROUTER_CONFIGURATION"),zn=new s.q("ROUTER_FORROOT_GUARD"),qn=[r.f,{provide:Qt,useClass:Jt},{provide:Nn,useFactory:function(t,e,n,s,i,o,a,u={},l,c){const h=new Nn(null,t,e,n,s,i,o,Mt(a));if(l&&(h.urlHandlingStrategy=l),c&&(h.routeReuseStrategy=c),u.errorHandler&&(h.errorHandler=u.errorHandler),u.malformedUriErrorHandler&&(h.malformedUriErrorHandler=u.malformedUriErrorHandler),u.enableTracing){const t=Object(r.n)();h.events.subscribe(e=>{t.logGroup("Router Event: "+e.constructor.name),t.log(e.toString()),t.log(e),t.logGroupEnd()})}return u.onSameUrlNavigation&&(h.onSameUrlNavigation=u.onSameUrlNavigation),u.paramsInheritanceStrategy&&(h.paramsInheritanceStrategy=u.paramsInheritanceStrategy),u.urlUpdateStrategy&&(h.urlUpdateStrategy=u.urlUpdateStrategy),u.relativeLinkResolution&&(h.relativeLinkResolution=u.relativeLinkResolution),h},deps:[Qt,An,r.f,s.r,s.w,s.i,En,$n,[class{},new s.A],[class{},new s.A]]},An,{provide:be,useFactory:function(t){return t.routerState.root},deps:[Nn]},{provide:s.w,useClass:s.J},Fn,Mn,class{preload(t,e){return e().pipe(et(()=>u(null)))}},{provide:$n,useValue:{enableTracing:!1}}];function Bn(){return new s.y("Router",Nn)}let Wn=(()=>{class t{constructor(t,e){}static forRoot(e,n){return{ngModule:t,providers:[qn,Jn(e),{provide:zn,useFactory:Qn,deps:[[Nn,new s.A,new s.I]]},{provide:$n,useValue:n||{}},{provide:r.g,useFactory:Gn,deps:[r.j,[new s.p(r.a),new s.A],$n]},{provide:Vn,useFactory:Zn,deps:[Nn,r.k,$n]},{provide:Ln,useExisting:n&&n.preloadingStrategy?n.preloadingStrategy:Mn},{provide:s.y,multi:!0,useFactory:Bn},[Yn,{provide:s.d,multi:!0,useFactory:Kn,deps:[Yn]},{provide:tr,useFactory:Xn,deps:[Yn]},{provide:s.b,multi:!0,useExisting:tr}]]}}static forChild(e){return{ngModule:t,providers:[Jn(e)]}}}return t.\u0275mod=s.Ab({type:t}),t.\u0275inj=s.zb({factory:function(e){return new(e||t)(s.Hb(zn,8),s.Hb(Nn,8))}}),t})();function Zn(t,e,n){return n.scrollOffset&&e.setOffset(n.scrollOffset),new Vn(t,e,n)}function Gn(t,e,n={}){return n.useHash?new r.d(t,e):new r.i(t,e)}function Qn(t){if(t)throw new Error("RouterModule.forRoot() called twice. Lazy loaded modules should use RouterModule.forChild() instead.");return"guarded"}function Jn(t){return[{provide:s.a,multi:!0,useValue:t},{provide:En,multi:!0,useValue:t}]}let Yn=(()=>{class t{constructor(t){this.injector=t,this.initNavigation=!1,this.resultOfPreactivationDone=new c.a}appInitializer(){return this.injector.get(r.e,Promise.resolve(null)).then(()=>{let t=null;const e=new Promise(e=>t=e),n=this.injector.get(Nn),r=this.injector.get($n);if(this.isLegacyDisabled(r)||this.isLegacyEnabled(r))t(!0);else if("disabled"===r.initialNavigation)n.setUpLocationChangeListener(),t(!0);else{if("enabled"!==r.initialNavigation)throw new Error(`Invalid initialNavigation options: '${r.initialNavigation}'`);n.hooks.afterPreactivation=()=>this.initNavigation?u(null):(this.initNavigation=!0,t(!0),this.resultOfPreactivationDone),n.initialNavigation()}return e})}bootstrapListener(t){const e=this.injector.get($n),n=this.injector.get(Fn),r=this.injector.get(Vn),i=this.injector.get(Nn),o=this.injector.get(s.g);t===o.components[0]&&(this.isLegacyEnabled(e)?i.initialNavigation():this.isLegacyDisabled(e)&&i.setUpLocationChangeListener(),n.setUpPreloading(),r.init(),i.resetRootComponentType(o.componentTypes[0]),this.resultOfPreactivationDone.next(null),this.resultOfPreactivationDone.complete())}isLegacyEnabled(t){return"legacy_enabled"===t.initialNavigation||!0===t.initialNavigation||void 0===t.initialNavigation}isLegacyDisabled(t){return"legacy_disabled"===t.initialNavigation||!1===t.initialNavigation}}return t.\u0275fac=function(e){return new(e||t)(s.Hb(s.r))},t.\u0275prov=s.yb({token:t,factory:t.\u0275fac}),t})();function Kn(t){return t.appInitializer.bind(t)}function Xn(t){return t.bootstrapListener.bind(t)}const tr=new s.q("Router Initializer")},yCtX:function(t,e,n){"use strict";n.d(e,"a",(function(){return o}));var r=n("HDdC"),s=n("ngJS"),i=n("jZKg");function o(t,e){return e?Object(i.a)(t,e):new r.a(Object(s.a)(t))}},"z+Ro":function(t,e,n){"use strict";function r(t){return t&&"function"==typeof t.schedule}n.d(e,"a",(function(){return r}))},zUnb:function(t,e,n){"use strict";n.r(e);var r=n("fXoL"),s=n("ofXK");class i extends s.l{constructor(){super()}supportsDOMEvents(){return!0}}class o extends i{static makeCurrent(){Object(s.p)(new o)}getProperty(t,e){return t[e]}log(t){window.console&&window.console.log&&window.console.log(t)}logGroup(t){window.console&&window.console.group&&window.console.group(t)}logGroupEnd(){window.console&&window.console.groupEnd&&window.console.groupEnd()}onAndCancel(t,e,n){return t.addEventListener(e,n,!1),()=>{t.removeEventListener(e,n,!1)}}dispatchEvent(t,e){t.dispatchEvent(e)}remove(t){return t.parentNode&&t.parentNode.removeChild(t),t}getValue(t){return t.value}createElement(t,e){return(e=e||this.getDefaultDocument()).createElement(t)}createHtmlDocument(){return document.implementation.createHTMLDocument("fakeTitle")}getDefaultDocument(){return document}isElementNode(t){return t.nodeType===Node.ELEMENT_NODE}isShadowRoot(t){return t instanceof DocumentFragment}getGlobalEventTarget(t,e){return"window"===e?window:"document"===e?t:"body"===e?t.body:null}getHistory(){return window.history}getLocation(){return window.location}getBaseHref(t){const e=u||(u=document.querySelector("base"),u)?u.getAttribute("href"):null;return null==e?null:(n=e,a||(a=document.createElement("a")),a.setAttribute("href",n),"/"===a.pathname.charAt(0)?a.pathname:"/"+a.pathname);var n}resetBaseElement(){u=null}getUserAgent(){return window.navigator.userAgent}performanceNow(){return window.performance&&window.performance.now?window.performance.now():(new Date).getTime()}supportsCookies(){return!0}getCookie(t){return Object(s.o)(document.cookie,t)}}let a,u=null;const l=new r.q("TRANSITION_ID"),c=[{provide:r.d,useFactory:function(t,e,n){return()=>{n.get(r.e).donePromise.then(()=>{const n=Object(s.n)();Array.prototype.slice.apply(e.querySelectorAll("style[ng-transition]")).filter(e=>e.getAttribute("ng-transition")===t).forEach(t=>n.remove(t))})}},deps:[l,s.c,r.r],multi:!0}];class h{static init(){Object(r.U)(new h)}addToWindow(t){r.lb.getAngularTestability=(e,n=!0)=>{const r=t.findTestabilityInTree(e,n);if(null==r)throw new Error("Could not find testability for element.");return r},r.lb.getAllAngularTestabilities=()=>t.getAllTestabilities(),r.lb.getAllAngularRootElements=()=>t.getAllRootElements(),r.lb.frameworkStabilizers||(r.lb.frameworkStabilizers=[]),r.lb.frameworkStabilizers.push(t=>{const e=r.lb.getAllAngularTestabilities();let n=e.length,s=!1;const i=function(e){s=s||e,n--,0==n&&t(s)};e.forEach((function(t){t.whenStable(i)}))})}findTestabilityInTree(t,e,n){if(null==e)return null;const r=t.getTestability(e);return null!=r?r:n?Object(s.n)().isShadowRoot(e)?this.findTestabilityInTree(t,e.host,!0):this.findTestabilityInTree(t,e.parentElement,!0):null}}const d=new r.q("EventManagerPlugins");let f=(()=>{class t{constructor(t,e){this._zone=e,this._eventNameToPlugin=new Map,t.forEach(t=>t.manager=this),this._plugins=t.slice().reverse()}addEventListener(t,e,n){return this._findPluginFor(e).addEventListener(t,e,n)}addGlobalEventListener(t,e,n){return this._findPluginFor(e).addGlobalEventListener(t,e,n)}getZone(){return this._zone}_findPluginFor(t){const e=this._eventNameToPlugin.get(t);if(e)return e;const n=this._plugins;for(let r=0;r{class t{constructor(){this._stylesSet=new Set}addStyles(t){const e=new Set;t.forEach(t=>{this._stylesSet.has(t)||(this._stylesSet.add(t),e.add(t))}),this.onStylesAdded(e)}onStylesAdded(t){}getAllStyles(){return Array.from(this._stylesSet)}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275prov=r.yb({token:t,factory:t.\u0275fac}),t})(),m=(()=>{class t extends g{constructor(t){super(),this._doc=t,this._hostNodes=new Set,this._styleNodes=new Set,this._hostNodes.add(t.head)}_addStylesToHost(t,e){t.forEach(t=>{const n=this._doc.createElement("style");n.textContent=t,this._styleNodes.add(e.appendChild(n))})}addHost(t){this._addStylesToHost(this._stylesSet,t),this._hostNodes.add(t)}removeHost(t){this._hostNodes.delete(t)}onStylesAdded(t){this._hostNodes.forEach(e=>this._addStylesToHost(t,e))}ngOnDestroy(){this._styleNodes.forEach(t=>Object(s.n)().remove(t))}}return t.\u0275fac=function(e){return new(e||t)(r.Hb(s.c))},t.\u0275prov=r.yb({token:t,factory:t.\u0275fac}),t})();const b={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/"},y=/%COMP%/g;function v(t,e,n){for(let r=0;r{if("__ngUnwrap__"===e)return t;!1===t(e)&&(e.preventDefault(),e.returnValue=!1)}}let _=(()=>{class t{constructor(t,e,n){this.eventManager=t,this.sharedStylesHost=e,this.appId=n,this.rendererByCompId=new Map,this.defaultRenderer=new C(t)}createRenderer(t,e){if(!t||!e)return this.defaultRenderer;switch(e.encapsulation){case r.P.Emulated:{let n=this.rendererByCompId.get(e.id);return n||(n=new S(this.eventManager,this.sharedStylesHost,e,this.appId),this.rendererByCompId.set(e.id,n)),n.applyToHost(t),n}case r.P.Native:case r.P.ShadowDom:return new x(this.eventManager,this.sharedStylesHost,t,e);default:if(!this.rendererByCompId.has(e.id)){const t=v(e.id,e.styles,[]);this.sharedStylesHost.addStyles(t),this.rendererByCompId.set(e.id,this.defaultRenderer)}return this.defaultRenderer}}begin(){}end(){}}return t.\u0275fac=function(e){return new(e||t)(r.Hb(f),r.Hb(m),r.Hb(r.c))},t.\u0275prov=r.yb({token:t,factory:t.\u0275fac}),t})();class C{constructor(t){this.eventManager=t,this.data=Object.create(null)}destroy(){}createElement(t,e){return e?document.createElementNS(b[e]||e,t):document.createElement(t)}createComment(t){return document.createComment(t)}createText(t){return document.createTextNode(t)}appendChild(t,e){t.appendChild(e)}insertBefore(t,e,n){t&&t.insertBefore(e,n)}removeChild(t,e){t&&t.removeChild(e)}selectRootElement(t,e){let n="string"==typeof t?document.querySelector(t):t;if(!n)throw new Error(`The selector "${t}" did not match any elements`);return e||(n.textContent=""),n}parentNode(t){return t.parentNode}nextSibling(t){return t.nextSibling}setAttribute(t,e,n,r){if(r){e=r+":"+e;const s=b[r];s?t.setAttributeNS(s,e,n):t.setAttribute(e,n)}else t.setAttribute(e,n)}removeAttribute(t,e,n){if(n){const r=b[n];r?t.removeAttributeNS(r,e):t.removeAttribute(`${n}:${e}`)}else t.removeAttribute(e)}addClass(t,e){t.classList.add(e)}removeClass(t,e){t.classList.remove(e)}setStyle(t,e,n,s){s&r.F.DashCase?t.style.setProperty(e,n,s&r.F.Important?"important":""):t.style[e]=n}removeStyle(t,e,n){n&r.F.DashCase?t.style.removeProperty(e):t.style[e]=""}setProperty(t,e,n){t[e]=n}setValue(t,e){t.nodeValue=e}listen(t,e,n){return"string"==typeof t?this.eventManager.addGlobalEventListener(t,e,w(n)):this.eventManager.addEventListener(t,e,w(n))}}class S extends C{constructor(t,e,n,r){super(t),this.component=n;const s=v(r+"-"+n.id,n.styles,[]);e.addStyles(s),this.contentAttr="_ngcontent-%COMP%".replace(y,r+"-"+n.id),this.hostAttr="_nghost-%COMP%".replace(y,r+"-"+n.id)}applyToHost(t){super.setAttribute(t,this.hostAttr,"")}createElement(t,e){const n=super.createElement(t,e);return super.setAttribute(n,this.contentAttr,""),n}}class x extends C{constructor(t,e,n,s){super(t),this.sharedStylesHost=e,this.hostEl=n,this.component=s,this.shadowRoot=s.encapsulation===r.P.ShadowDom?n.attachShadow({mode:"open"}):n.createShadowRoot(),this.sharedStylesHost.addHost(this.shadowRoot);const i=v(s.id,s.styles,[]);for(let r=0;r{class t extends p{constructor(t){super(t)}supports(t){return!0}addEventListener(t,e,n){return t.addEventListener(e,n,!1),()=>this.removeEventListener(t,e,n)}removeEventListener(t,e,n){return t.removeEventListener(e,n)}}return t.\u0275fac=function(e){return new(e||t)(r.Hb(s.c))},t.\u0275prov=r.yb({token:t,factory:t.\u0275fac}),t})();const T=["alt","control","meta","shift"],O={"\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"},A={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"},k={alt:t=>t.altKey,control:t=>t.ctrlKey,meta:t=>t.metaKey,shift:t=>t.shiftKey};let R=(()=>{class t extends p{constructor(t){super(t)}supports(e){return null!=t.parseEventName(e)}addEventListener(e,n,r){const i=t.parseEventName(n),o=t.eventCallback(i.fullKey,r,this.manager.getZone());return this.manager.getZone().runOutsideAngular(()=>Object(s.n)().onAndCancel(e,i.domEventName,o))}static parseEventName(e){const n=e.toLowerCase().split("."),r=n.shift();if(0===n.length||"keydown"!==r&&"keyup"!==r)return null;const s=t._normalizeKey(n.pop());let i="";if(T.forEach(t=>{const e=n.indexOf(t);e>-1&&(n.splice(e,1),i+=t+".")}),i+=s,0!=n.length||0===s.length)return null;const o={};return o.domEventName=r,o.fullKey=i,o}static getEventFullKey(t){let e="",n=function(t){let e=t.key;if(null==e){if(e=t.keyIdentifier,null==e)return"Unidentified";e.startsWith("U+")&&(e=String.fromCharCode(parseInt(e.substring(2),16)),3===t.location&&A.hasOwnProperty(e)&&(e=A[e]))}return O[e]||e}(t);return n=n.toLowerCase()," "===n?n="space":"."===n&&(n="dot"),T.forEach(r=>{r!=n&&(0,k[r])(t)&&(e+=r+".")}),e+=n,e}static eventCallback(e,n,r){return s=>{t.getEventFullKey(s)===e&&r.runGuarded(()=>n(s))}}static _normalizeKey(t){switch(t){case"esc":return"escape";default:return t}}}return t.\u0275fac=function(e){return new(e||t)(r.Hb(s.c))},t.\u0275prov=r.yb({token:t,factory:t.\u0275fac}),t})();const j=[{provide:r.B,useValue:s.m},{provide:r.C,useValue:function(){o.makeCurrent(),h.init()},multi:!0},{provide:s.c,useFactory:function(){return Object(r.qb)(document),document},deps:[]}],I=Object(r.Q)(r.T,"browser",j),N=[[],{provide:r.W,useValue:"root"},{provide:r.m,useFactory:function(){return new r.m},deps:[]},{provide:d,useClass:E,multi:!0,deps:[s.c,r.z,r.B]},{provide:d,useClass:R,multi:!0,deps:[s.c]},[],{provide:_,useClass:_,deps:[f,m,r.c]},{provide:r.E,useExisting:_},{provide:g,useExisting:m},{provide:m,useClass:m,deps:[s.c]},{provide:r.L,useClass:r.L,deps:[r.z]},{provide:f,useClass:f,deps:[d,r.z]},[]];let P=(()=>{class t{constructor(t){if(t)throw new Error("BrowserModule has already been loaded. If you need access to common directives such as NgIf and NgFor from a lazy loaded module, import CommonModule instead.")}static withServerTransition(e){return{ngModule:t,providers:[{provide:r.c,useValue:e.appId},{provide:l,useExisting:r.c},c]}}}return t.\u0275mod=r.Ab({type:t}),t.\u0275inj=r.zb({factory:function(e){return new(e||t)(r.Hb(t,12))},providers:N,imports:[s.b,r.f]}),t})();"undefined"!=typeof window&&window;var D=n("tyNb");const H=[{path:"",component:(()=>{class t{constructor(){}ngOnInit(){}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275cmp=r.wb({type:t,selectors:[["app-home"]],decls:2,vars:0,template:function(t,e){1&t&&(r.Fb(0,"p"),r.Tb(1,"home works!"),r.Eb())},styles:[""]}),t})()},{path:"dashboard",loadChildren:()=>n.e(4).then(n.bind(null,"TDBs")).then(t=>t.DashboardModule)},{path:"**",redirectTo:"/"}];let U=(()=>{class t{}return t.\u0275mod=r.Ab({type:t}),t.\u0275inj=r.zb({factory:function(e){return new(e||t)},imports:[[D.b.forRoot(H)],D.b]}),t})();function L(t,e){1&t&&(r.Fb(0,"div",2),r.Fb(1,"div",3),r.Fb(2,"h3"),r.Tb(3,"Coming Soonish..."),r.Eb(),r.Eb(),r.Eb())}function M(t,e){1&t&&(r.Fb(0,"button",4),r.Tb(1,"Dashboard"),r.Eb(),r.Fb(2,"button",5),r.Tb(3,"Create Task"),r.Eb(),r.Fb(4,"button",6),r.Tb(5,"Home"),r.Eb(),r.Db(6,"router-outlet"))}let F=(()=>{class t{constructor(){this.title="taskmonster-angular",this.isProd=!0}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275cmp=r.wb({type:t,selectors:[["app-root"]],decls:3,vars:2,consts:[["class","flex-row",4,"ngIf","ngIfElse"],["dev",""],[1,"flex-row"],[1,"m-auto","flex-column","c-white"],["routerLink","/dashboard"],["routerLink","/dashboard/tasks/create"],["routerLink",""]],template:function(t,e){if(1&t&&(r.Rb(0,L,4,0,"div",0),r.Rb(1,M,7,0,"ng-template",null,1,r.Sb)),2&t){const t=r.Ob(2);r.Mb("ngIf",e.isProd)("ngIfElse",t)}},directives:[s.h,D.a,D.c],styles:[""]}),t})(),V=(()=>{class t{}return t.\u0275mod=r.Ab({type:t}),t.\u0275inj=r.zb({factory:function(e){return new(e||t)},imports:[[s.b]]}),t})(),$=(()=>{class t{}return t.\u0275mod=r.Ab({type:t,bootstrap:[F]}),t.\u0275inj=r.zb({factory:function(e){return new(e||t)},providers:[],imports:[[P,V,U]]}),t})();Object(r.R)(),I().bootstrapModule($).catch(t=>console.error(t))},zn8P:function(t,e){function n(t){return Promise.resolve().then((function(){var e=new Error("Cannot find module '"+t+"'");throw e.code="MODULE_NOT_FOUND",e}))}n.keys=function(){return[]},n.resolve=n,t.exports=n,n.id="zn8P"},zx2A:function(t,e,n){"use strict";n.d(e,"a",(function(){return o})),n.d(e,"b",(function(){return a})),n.d(e,"c",(function(){return u}));var r=n("7o/Q"),s=n("HDdC"),i=n("SeVD");class o extends r.a{constructor(t){super(),this.parent=t}_next(t){this.parent.notifyNext(t)}_error(t){this.parent.notifyError(t),this.unsubscribe()}_complete(){this.parent.notifyComplete(),this.unsubscribe()}}class a extends r.a{notifyNext(t){this.destination.next(t)}notifyError(t){this.destination.error(t)}notifyComplete(){this.destination.complete()}}function u(t,e){if(!e.closed)return t instanceof s.a?t.subscribe(e):Object(i.a)(t)(e)}}},[[0,0]]]);