-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathmain-es2015.026cd9ff26ae335a0c31.js
1 lines (1 loc) · 265 KB
/
main-es2015.026cd9ff26ae335a0c31.js
1
(window.webpackJsonp=window.webpackJsonp||[]).push([[1],{0:function(e,t,n){e.exports=n("zUnb")},zUnb:function(e,t,n){"use strict";function r(e){return"function"==typeof e}n.r(t);let s=!1;const i={Promise:void 0,set useDeprecatedSynchronousErrorHandling(e){if(e){const e=new Error;console.warn("DEPRECATED! RxJS was set to use deprecated synchronous error handling behavior by code at: \n"+e.stack)}else s&&console.log("RxJS: Back to a better error behavior. Thank you. <3");s=e},get useDeprecatedSynchronousErrorHandling(){return s}};function o(e){setTimeout(()=>{throw e},0)}const a={closed:!0,next(e){},error(e){if(i.useDeprecatedSynchronousErrorHandling)throw e;o(e)},complete(){}},l=(()=>Array.isArray||(e=>e&&"number"==typeof e.length))();function c(e){return null!==e&&"object"==typeof e}const u=(()=>{function e(e){return Error.call(this),this.message=e?`${e.length} errors occurred during unsubscription:\n${e.map((e,t)=>`${t+1}) ${e.toString()}`).join("\n ")}`:"",this.name="UnsubscriptionError",this.errors=e,this}return e.prototype=Object.create(Error.prototype),e})();let h=(()=>{class e{constructor(e){this.closed=!1,this._parentOrParents=null,this._subscriptions=null,e&&(this._unsubscribe=e)}unsubscribe(){let t;if(this.closed)return;let{_parentOrParents:n,_unsubscribe:s,_subscriptions:i}=this;if(this.closed=!0,this._parentOrParents=null,this._subscriptions=null,n instanceof e)n.remove(this);else if(null!==n)for(let e=0;e<n.length;++e)n[e].remove(this);if(r(s))try{s.call(this)}catch(o){t=o instanceof u?d(o.errors):[o]}if(l(i)){let e=-1,n=i.length;for(;++e<n;){const n=i[e];if(c(n))try{n.unsubscribe()}catch(o){t=t||[],o instanceof u?t=t.concat(d(o.errors)):t.push(o)}}}if(t)throw new u(t)}add(t){let n=t;if(!t)return e.EMPTY;switch(typeof t){case"function":n=new e(t);case"object":if(n===this||n.closed||"function"!=typeof n.unsubscribe)return n;if(this.closed)return n.unsubscribe(),n;if(!(n instanceof e)){const t=n;n=new e,n._subscriptions=[t]}break;default:throw new Error("unrecognized teardown "+t+" added to Subscription.")}let{_parentOrParents:r}=n;if(null===r)n._parentOrParents=this;else if(r instanceof e){if(r===this)return n;n._parentOrParents=[r,this]}else{if(-1!==r.indexOf(this))return n;r.push(this)}const s=this._subscriptions;return null===s?this._subscriptions=[n]:s.push(n),n}remove(e){const t=this._subscriptions;if(t){const n=t.indexOf(e);-1!==n&&t.splice(n,1)}}}return e.EMPTY=function(e){return e.closed=!0,e}(new e),e})();function d(e){return e.reduce((e,t)=>e.concat(t instanceof u?t.errors:t),[])}const p=(()=>"function"==typeof Symbol?Symbol("rxSubscriber"):"@@rxSubscriber_"+Math.random())();class f extends h{constructor(e,t,n){switch(super(),this.syncErrorValue=null,this.syncErrorThrown=!1,this.syncErrorThrowable=!1,this.isStopped=!1,arguments.length){case 0:this.destination=a;break;case 1:if(!e){this.destination=a;break}if("object"==typeof e){e instanceof f?(this.syncErrorThrowable=e.syncErrorThrowable,this.destination=e,e.add(this)):(this.syncErrorThrowable=!0,this.destination=new m(this,e));break}default:this.syncErrorThrowable=!0,this.destination=new m(this,e,t,n)}}[p](){return this}static create(e,t,n){const r=new f(e,t,n);return r.syncErrorThrowable=!1,r}next(e){this.isStopped||this._next(e)}error(e){this.isStopped||(this.isStopped=!0,this._error(e))}complete(){this.isStopped||(this.isStopped=!0,this._complete())}unsubscribe(){this.closed||(this.isStopped=!0,super.unsubscribe())}_next(e){this.destination.next(e)}_error(e){this.destination.error(e),this.unsubscribe()}_complete(){this.destination.complete(),this.unsubscribe()}_unsubscribeAndRecycle(){const{_parentOrParents:e}=this;return this._parentOrParents=null,this.unsubscribe(),this.closed=!1,this.isStopped=!1,this._parentOrParents=e,this}}class m extends f{constructor(e,t,n,s){let i;super(),this._parentSubscriber=e;let o=this;r(t)?i=t:t&&(i=t.next,n=t.error,s=t.complete,t!==a&&(o=Object.create(t),r(o.unsubscribe)&&this.add(o.unsubscribe.bind(o)),o.unsubscribe=this.unsubscribe.bind(this))),this._context=o,this._next=i,this._error=n,this._complete=s}next(e){if(!this.isStopped&&this._next){const{_parentSubscriber:t}=this;i.useDeprecatedSynchronousErrorHandling&&t.syncErrorThrowable?this.__tryOrSetError(t,this._next,e)&&this.unsubscribe():this.__tryOrUnsub(this._next,e)}}error(e){if(!this.isStopped){const{_parentSubscriber:t}=this,{useDeprecatedSynchronousErrorHandling:n}=i;if(this._error)n&&t.syncErrorThrowable?(this.__tryOrSetError(t,this._error,e),this.unsubscribe()):(this.__tryOrUnsub(this._error,e),this.unsubscribe());else if(t.syncErrorThrowable)n?(t.syncErrorValue=e,t.syncErrorThrown=!0):o(e),this.unsubscribe();else{if(this.unsubscribe(),n)throw e;o(e)}}}complete(){if(!this.isStopped){const{_parentSubscriber:e}=this;if(this._complete){const t=()=>this._complete.call(this._context);i.useDeprecatedSynchronousErrorHandling&&e.syncErrorThrowable?(this.__tryOrSetError(e,t),this.unsubscribe()):(this.__tryOrUnsub(t),this.unsubscribe())}else this.unsubscribe()}}__tryOrUnsub(e,t){try{e.call(this._context,t)}catch(n){if(this.unsubscribe(),i.useDeprecatedSynchronousErrorHandling)throw n;o(n)}}__tryOrSetError(e,t,n){if(!i.useDeprecatedSynchronousErrorHandling)throw new Error("bad call");try{t.call(this._context,n)}catch(r){return i.useDeprecatedSynchronousErrorHandling?(e.syncErrorValue=r,e.syncErrorThrown=!0,!0):(o(r),!0)}return!1}_unsubscribe(){const{_parentSubscriber:e}=this;this._context=null,this._parentSubscriber=null,e.unsubscribe()}}const g=(()=>"function"==typeof Symbol&&Symbol.observable||"@@observable")();function v(){}function y(...e){return w(e)}function w(e){return e?1===e.length?e[0]:function(t){return e.reduce((e,t)=>t(e),t)}:v}let b=(()=>{class e{constructor(e){this._isScalar=!1,e&&(this._subscribe=e)}lift(t){const n=new e;return n.source=this,n.operator=t,n}subscribe(e,t,n){const{operator:r}=this,s=function(e,t,n){if(e){if(e instanceof f)return e;if(e[p])return e[p]()}return e||t||n?new f(e,t,n):new f(a)}(e,t,n);if(s.add(r?r.call(s,this.source):this.source||i.useDeprecatedSynchronousErrorHandling&&!s.syncErrorThrowable?this._subscribe(s):this._trySubscribe(s)),i.useDeprecatedSynchronousErrorHandling&&s.syncErrorThrowable&&(s.syncErrorThrowable=!1,s.syncErrorThrown))throw s.syncErrorValue;return s}_trySubscribe(e){try{return this._subscribe(e)}catch(t){i.useDeprecatedSynchronousErrorHandling&&(e.syncErrorThrown=!0,e.syncErrorValue=t),function(e){for(;e;){const{closed:t,destination:n,isStopped:r}=e;if(t||r)return!1;e=n&&n instanceof f?n:null}return!0}(e)?e.error(t):console.warn(t)}}forEach(e,t){return new(t=_(t))((t,n)=>{let r;r=this.subscribe(t=>{try{e(t)}catch(s){n(s),r&&r.unsubscribe()}},n,t)})}_subscribe(e){const{source:t}=this;return t&&t.subscribe(e)}[g](){return this}pipe(...e){return 0===e.length?this:w(e)(this)}toPromise(e){return new(e=_(e))((e,t)=>{let n;this.subscribe(e=>n=e,e=>t(e),()=>e(n))})}}return e.create=t=>new e(t),e})();function _(e){if(e||(e=i.Promise||Promise),!e)throw new Error("no Promise impl found");return e}const C=(()=>{function e(){return Error.call(this),this.message="object unsubscribed",this.name="ObjectUnsubscribedError",this}return e.prototype=Object.create(Error.prototype),e})();class S extends h{constructor(e,t){super(),this.subject=e,this.subscriber=t,this.closed=!1}unsubscribe(){if(this.closed)return;this.closed=!0;const e=this.subject,t=e.observers;if(this.subject=null,!t||0===t.length||e.isStopped||e.closed)return;const n=t.indexOf(this.subscriber);-1!==n&&t.splice(n,1)}}class x extends f{constructor(e){super(e),this.destination=e}}let E=(()=>{class e extends b{constructor(){super(),this.observers=[],this.closed=!1,this.isStopped=!1,this.hasError=!1,this.thrownError=null}[p](){return new x(this)}lift(e){const t=new k(this,this);return t.operator=e,t}next(e){if(this.closed)throw new C;if(!this.isStopped){const{observers:t}=this,n=t.length,r=t.slice();for(let s=0;s<n;s++)r[s].next(e)}}error(e){if(this.closed)throw new C;this.hasError=!0,this.thrownError=e,this.isStopped=!0;const{observers:t}=this,n=t.length,r=t.slice();for(let s=0;s<n;s++)r[s].error(e);this.observers.length=0}complete(){if(this.closed)throw new C;this.isStopped=!0;const{observers:e}=this,t=e.length,n=e.slice();for(let r=0;r<t;r++)n[r].complete();this.observers.length=0}unsubscribe(){this.isStopped=!0,this.closed=!0,this.observers=null}_trySubscribe(e){if(this.closed)throw new C;return super._trySubscribe(e)}_subscribe(e){if(this.closed)throw new C;return this.hasError?(e.error(this.thrownError),h.EMPTY):this.isStopped?(e.complete(),h.EMPTY):(this.observers.push(e),new S(this,e))}asObservable(){const e=new b;return e.source=this,e}}return e.create=(e,t)=>new k(e,t),e})();class k extends E{constructor(e,t){super(),this.destination=e,this.source=t}next(e){const{destination:t}=this;t&&t.next&&t.next(e)}error(e){const{destination:t}=this;t&&t.error&&this.destination.error(e)}complete(){const{destination:e}=this;e&&e.complete&&this.destination.complete()}_subscribe(e){const{source:t}=this;return t?this.source.subscribe(e):h.EMPTY}}function T(e){return e&&"function"==typeof e.schedule}class A extends f{constructor(e,t,n){super(),this.parent=e,this.outerValue=t,this.outerIndex=n,this.index=0}_next(e){this.parent.notifyNext(this.outerValue,e,this.outerIndex,this.index++,this)}_error(e){this.parent.notifyError(e,this),this.unsubscribe()}_complete(){this.parent.notifyComplete(this),this.unsubscribe()}}const I=e=>t=>{for(let n=0,r=e.length;n<r&&!t.closed;n++)t.next(e[n]);t.complete()};function O(){return"function"==typeof Symbol&&Symbol.iterator?Symbol.iterator:"@@iterator"}const R=O(),P=e=>e&&"number"==typeof e.length&&"function"!=typeof e;function N(e){return!!e&&"function"!=typeof e.subscribe&&"function"==typeof e.then}const D=e=>{if(e&&"function"==typeof e[g])return r=e,e=>{const t=r[g]();if("function"!=typeof t.subscribe)throw new TypeError("Provided object does not correctly implement Symbol.observable");return t.subscribe(e)};if(P(e))return I(e);if(N(e))return n=e,e=>(n.then(t=>{e.closed||(e.next(t),e.complete())},t=>e.error(t)).then(null,o),e);if(e&&"function"==typeof e[R])return t=e,e=>{const n=t[R]();for(;;){const t=n.next();if(t.done){e.complete();break}if(e.next(t.value),e.closed)break}return"function"==typeof n.return&&e.add(()=>{n.return&&n.return()}),e};{const t=c(e)?"an invalid object":`'${e}'`;throw new TypeError(`You provided ${t} where a stream was expected.`+" You can provide an Observable, Promise, Array, or Iterable.")}var t,n,r};function j(e,t,n,r,s=new A(e,n,r)){if(!s.closed)return t instanceof b?t.subscribe(s):D(t)(s)}class M extends f{notifyNext(e,t,n,r,s){this.destination.next(t)}notifyError(e,t){this.destination.error(e)}notifyComplete(e){this.destination.complete()}}function U(e,t){return function(n){if("function"!=typeof e)throw new TypeError("argument is not a function. Are you looking for `mapTo()`?");return n.lift(new L(e,t))}}class L{constructor(e,t){this.project=e,this.thisArg=t}call(e,t){return t.subscribe(new F(e,this.project,this.thisArg))}}class F extends f{constructor(e,t,n){super(e),this.project=t,this.count=0,this.thisArg=n||this}_next(e){let t;try{t=this.project.call(this.thisArg,e,this.count++)}catch(n){return void this.destination.error(n)}this.destination.next(t)}}function V(e,t){return new b(n=>{const r=new h;let s=0;return r.add(t.schedule((function(){s!==e.length?(n.next(e[s++]),n.closed||r.add(this.schedule())):n.complete()}))),r})}function q(e,t){return t?function(e,t){if(null!=e){if(function(e){return e&&"function"==typeof e[g]}(e))return function(e,t){return new b(n=>{const r=new h;return r.add(t.schedule(()=>{const s=e[g]();r.add(s.subscribe({next(e){r.add(t.schedule(()=>n.next(e)))},error(e){r.add(t.schedule(()=>n.error(e)))},complete(){r.add(t.schedule(()=>n.complete()))}}))})),r})}(e,t);if(N(e))return function(e,t){return new b(n=>{const r=new h;return r.add(t.schedule(()=>e.then(e=>{r.add(t.schedule(()=>{n.next(e),r.add(t.schedule(()=>n.complete()))}))},e=>{r.add(t.schedule(()=>n.error(e)))}))),r})}(e,t);if(P(e))return V(e,t);if(function(e){return e&&"function"==typeof e[R]}(e)||"string"==typeof e)return function(e,t){if(!e)throw new Error("Iterable cannot be null");return new b(n=>{const r=new h;let s;return r.add(()=>{s&&"function"==typeof s.return&&s.return()}),r.add(t.schedule(()=>{s=e[R](),r.add(t.schedule((function(){if(n.closed)return;let e,t;try{const n=s.next();e=n.value,t=n.done}catch(r){return void n.error(r)}t?n.complete():(n.next(e),this.schedule())})))})),r})}(e,t)}throw new TypeError((null!==e&&typeof e||e)+" is not observable")}(e,t):e instanceof b?e:new b(D(e))}function H(e,t,n=Number.POSITIVE_INFINITY){return"function"==typeof t?r=>r.pipe(H((n,r)=>q(e(n,r)).pipe(U((e,s)=>t(n,e,r,s))),n)):("number"==typeof t&&(n=t),t=>t.lift(new $(e,n)))}class ${constructor(e,t=Number.POSITIVE_INFINITY){this.project=e,this.concurrent=t}call(e,t){return t.subscribe(new z(e,this.project,this.concurrent))}}class z extends M{constructor(e,t,n=Number.POSITIVE_INFINITY){super(e),this.project=t,this.concurrent=n,this.hasCompleted=!1,this.buffer=[],this.active=0,this.index=0}_next(e){this.active<this.concurrent?this._tryNext(e):this.buffer.push(e)}_tryNext(e){let t;const n=this.index++;try{t=this.project(e,n)}catch(r){return void this.destination.error(r)}this.active++,this._innerSub(t,e,n)}_innerSub(e,t,n){const r=new A(this,t,n),s=this.destination;s.add(r);const i=j(this,e,void 0,void 0,r);i!==r&&s.add(i)}_complete(){this.hasCompleted=!0,0===this.active&&0===this.buffer.length&&this.destination.complete(),this.unsubscribe()}notifyNext(e,t,n,r,s){this.destination.next(t)}notifyComplete(e){const t=this.buffer;this.remove(e),this.active--,t.length>0?this._next(t.shift()):0===this.active&&this.hasCompleted&&this.destination.complete()}}function B(e){return e}function G(e=Number.POSITIVE_INFINITY){return H(B,e)}function W(e,t){return t?V(e,t):new b(I(e))}function Q(...e){let t=Number.POSITIVE_INFINITY,n=null,r=e[e.length-1];return T(r)?(n=e.pop(),e.length>1&&"number"==typeof e[e.length-1]&&(t=e.pop())):"number"==typeof r&&(t=e.pop()),null===n&&1===e.length&&e[0]instanceof b?e[0]:G(t)(W(e,n))}function Z(){return function(e){return e.lift(new K(e))}}class K{constructor(e){this.connectable=e}call(e,t){const{connectable:n}=this;n._refCount++;const r=new Y(e,n),s=t.subscribe(r);return r.closed||(r.connection=n.connect()),s}}class Y extends f{constructor(e,t){super(e),this.connectable=t}_unsubscribe(){const{connectable:e}=this;if(!e)return void(this.connection=null);this.connectable=null;const t=e._refCount;if(t<=0)return void(this.connection=null);if(e._refCount=t-1,t>1)return void(this.connection=null);const{connection:n}=this,r=e._connection;this.connection=null,!r||n&&r!==n||r.unsubscribe()}}class J extends b{constructor(e,t){super(),this.source=e,this.subjectFactory=t,this._refCount=0,this._isComplete=!1}_subscribe(e){return this.getSubject().subscribe(e)}getSubject(){const e=this._subject;return e&&!e.isStopped||(this._subject=this.subjectFactory()),this._subject}connect(){let e=this._connection;return e||(this._isComplete=!1,e=this._connection=new h,e.add(this.source.subscribe(new ee(this.getSubject(),this))),e.closed&&(this._connection=null,e=h.EMPTY)),e}refCount(){return Z()(this)}}const X=(()=>{const e=J.prototype;return{operator:{value:null},_refCount:{value:0,writable:!0},_subject:{value:null,writable:!0},_connection:{value:null,writable:!0},_subscribe:{value:e._subscribe},_isComplete:{value:e._isComplete,writable:!0},getSubject:{value:e.getSubject},connect:{value:e.connect},refCount:{value:e.refCount}}})();class ee extends x{constructor(e,t){super(e),this.connectable=t}_error(e){this._unsubscribe(),super._error(e)}_complete(){this.connectable._isComplete=!0,this._unsubscribe(),super._complete()}_unsubscribe(){const e=this.connectable;if(e){this.connectable=null;const t=e._connection;e._refCount=0,e._subject=null,e._connection=null,t&&t.unsubscribe()}}}function te(e,t){return function(n){let r;if(r="function"==typeof e?e:function(){return e},"function"==typeof t)return n.lift(new ne(r,t));const s=Object.create(n,X);return s.source=n,s.subjectFactory=r,s}}class ne{constructor(e,t){this.subjectFactory=e,this.selector=t}call(e,t){const{selector:n}=this,r=this.subjectFactory(),s=n(r).subscribe(e);return s.add(t.subscribe(r)),s}}function re(){return new E}function se(e){return{toString:e}.toString()}function ie(e,t,n){return se(()=>{const r=function(e){return function(...t){if(e){const n=e(...t);for(const e in n)this[e]=n[e]}}}(t);function s(...e){if(this instanceof s)return r.apply(this,e),this;const t=new s(...e);return n.annotation=t,n;function n(e,n,r){const s=e.hasOwnProperty("__parameters__")?e.__parameters__:Object.defineProperty(e,"__parameters__",{value:[]}).__parameters__;for(;s.length<=r;)s.push(null);return(s[r]=s[r]||[]).push(t),e}}return n&&(s.prototype=Object.create(n.prototype)),s.prototype.ngMetadataName=e,s.annotationCls=s,s})}const oe=ie("Inject",e=>({token:e})),ae=ie("Optional"),le=ie("Self"),ce=ie("SkipSelf");var ue=function(e){return e[e.Default=0]="Default",e[e.Host=1]="Host",e[e.Self=2]="Self",e[e.SkipSelf=4]="SkipSelf",e[e.Optional=8]="Optional",e}({});function he(e){for(let t in e)if(e[t]===he)return t;throw Error("Could not find renamed property on target object.")}function de(e){return{token:e.token,providedIn:e.providedIn||null,factory:e.factory,value:void 0}}function pe(e){return{factory:e.factory,providers:e.providers||[],imports:e.imports||[]}}function fe(e){return me(e,e[ve])||me(e,e[be])}function me(e,t){return t&&t.token===e?t:null}function ge(e){return e&&(e.hasOwnProperty(ye)||e.hasOwnProperty(_e))?e[ye]:null}const ve=he({"\u0275prov":he}),ye=he({"\u0275inj":he}),we=he({"\u0275provFallback":he}),be=he({ngInjectableDef:he}),_e=he({ngInjectorDef:he});function Ce(e){if("string"==typeof e)return e;if(Array.isArray(e))return"["+e.map(Ce).join(", ")+"]";if(null==e)return""+e;if(e.overriddenName)return`${e.overriddenName}`;if(e.name)return`${e.name}`;const t=e.toString();if(null==t)return""+t;const n=t.indexOf("\n");return-1===n?t:t.substring(0,n)}function Se(e,t){return null==e||""===e?null===t?"":t:null==t||""===t?e:e+" "+t}const xe=he({__forward_ref__:he});function Ee(e){return e.__forward_ref__=Ee,e.toString=function(){return Ce(this())},e}function ke(e){return"function"==typeof(t=e)&&t.hasOwnProperty(xe)&&t.__forward_ref__===Ee?e():e;var t}const Te="undefined"!=typeof globalThis&&globalThis,Ae="undefined"!=typeof window&&window,Ie="undefined"!=typeof self&&"undefined"!=typeof WorkerGlobalScope&&self instanceof WorkerGlobalScope&&self,Oe="undefined"!=typeof global&&global,Re=Te||Oe||Ae||Ie,Pe=he({"\u0275cmp":he}),Ne=he({"\u0275dir":he}),De=he({"\u0275pipe":he}),je=he({"\u0275mod":he}),Me=he({"\u0275loc":he}),Ue=he({"\u0275fac":he}),Le=he({__NG_ELEMENT_ID__:he});class Fe{constructor(e,t){this._desc=e,this.ngMetadataName="InjectionToken",this.\u0275prov=void 0,"number"==typeof t?this.__NG_ELEMENT_ID__=t:void 0!==t&&(this.\u0275prov=de({token:this,providedIn:t.providedIn||"root",factory:t.factory}))}toString(){return`InjectionToken ${this._desc}`}}const Ve=new Fe("INJECTOR",-1),qe={},He=/\n/gm,$e=he({provide:String,useValue:he});let ze,Be=void 0;function Ge(e){const t=Be;return Be=e,t}function We(e){const t=ze;return ze=e,t}function Qe(e,t=ue.Default){if(void 0===Be)throw new Error("inject() must be called from an injection context");return null===Be?Ke(e,void 0,t):Be.get(e,t&ue.Optional?null:void 0,t)}function Ze(e,t=ue.Default){return(ze||Qe)(ke(e),t)}function Ke(e,t,n){const r=fe(e);if(r&&"root"==r.providedIn)return void 0===r.value?r.value=r.factory():r.value;if(n&ue.Optional)return null;if(void 0!==t)return t;throw new Error(`Injector: NOT_FOUND [${Ce(e)}]`)}function Ye(e){const t=[];for(let n=0;n<e.length;n++){const r=ke(e[n]);if(Array.isArray(r)){if(0===r.length)throw new Error("Arguments array must have arguments.");let e=void 0,n=ue.Default;for(let t=0;t<r.length;t++){const s=r[t];s instanceof ae||"Optional"===s.ngMetadataName||s===ae?n|=ue.Optional:s instanceof ce||"SkipSelf"===s.ngMetadataName||s===ce?n|=ue.SkipSelf:s instanceof le||"Self"===s.ngMetadataName||s===le?n|=ue.Self:e=s instanceof oe||s===oe?s.token:s}t.push(Ze(e,n))}else t.push(Ze(r))}return t}class Je{get(e,t=qe){if(t===qe){const t=new Error(`NullInjectorError: No provider for ${Ce(e)}!`);throw t.name="NullInjectorError",t}return t}}class Xe{}class et{}function tt(e,t){e.forEach(e=>Array.isArray(e)?tt(e,t):t(e))}function nt(e,t,n){t>=e.length?e.push(n):e.splice(t,0,n)}function rt(e,t){return t>=e.length-1?e.pop():e.splice(t,1)[0]}function st(e,t,n){let r=ot(e,t);return r>=0?e[1|r]=n:(r=~r,function(e,t,n,r){let s=e.length;if(s==t)e.push(n,r);else if(1===s)e.push(r,e[0]),e[0]=n;else{for(s--,e.push(e[s-1],e[s]);s>t;)e[s]=e[s-2],s--;e[t]=n,e[t+1]=r}}(e,r,t,n)),r}function it(e,t){const n=ot(e,t);if(n>=0)return e[1|n]}function ot(e,t){return function(e,t,n){let r=0,s=e.length>>1;for(;s!==r;){const n=r+(s-r>>1),i=e[n<<1];if(t===i)return n<<1;i>t?s=n:r=n+1}return~(s<<1)}(e,t)}const at=function(){var e={OnPush:0,Default:1};return e[e.OnPush]="OnPush",e[e.Default]="Default",e}(),lt=function(){var e={Emulated:0,Native:1,None:2,ShadowDom:3};return e[e.Emulated]="Emulated",e[e.Native]="Native",e[e.None]="None",e[e.ShadowDom]="ShadowDom",e}(),ct={},ut=[];let ht=0;function dt(e){return se(()=>{const t=e.type,n=t.prototype,r={},s={type:t,providersResolver:null,decls:e.decls,vars:e.vars,factory:null,template:e.template||null,consts:e.consts||null,ngContentSelectors:e.ngContentSelectors,hostBindings:e.hostBindings||null,hostVars:e.hostVars||0,hostAttrs:e.hostAttrs||null,contentQueries:e.contentQueries||null,declaredInputs:r,inputs:null,outputs:null,exportAs:e.exportAs||null,onChanges:null,onInit:n.ngOnInit||null,doCheck:n.ngDoCheck||null,afterContentInit:n.ngAfterContentInit||null,afterContentChecked:n.ngAfterContentChecked||null,afterViewInit:n.ngAfterViewInit||null,afterViewChecked:n.ngAfterViewChecked||null,onDestroy:n.ngOnDestroy||null,onPush:e.changeDetection===at.OnPush,directiveDefs:null,pipeDefs:null,selectors:e.selectors||ut,viewQuery:e.viewQuery||null,features:e.features||null,data:e.data||{},encapsulation:e.encapsulation||lt.Emulated,id:"c",styles:e.styles||ut,_:null,setInput:null,schemas:e.schemas||null,tView:null},i=e.directives,o=e.features,a=e.pipes;return s.id+=ht++,s.inputs=vt(e.inputs,r),s.outputs=vt(e.outputs),o&&o.forEach(e=>e(s)),s.directiveDefs=i?()=>("function"==typeof i?i():i).map(pt):null,s.pipeDefs=a?()=>("function"==typeof a?a():a).map(ft):null,s})}function pt(e){return wt(e)||function(e){return e[Ne]||null}(e)}function ft(e){return function(e){return e[De]||null}(e)}const mt={};function gt(e){const t={type:e.type,bootstrap:e.bootstrap||ut,declarations:e.declarations||ut,imports:e.imports||ut,exports:e.exports||ut,transitiveCompileScopes:null,schemas:e.schemas||null,id:e.id||null};return null!=e.id&&se(()=>{mt[e.id]=e.type}),t}function vt(e,t){if(null==e)return ct;const n={};for(const r in e)if(e.hasOwnProperty(r)){let s=e[r],i=s;Array.isArray(s)&&(i=s[1],s=s[0]),n[s]=r,t&&(t[s]=i)}return n}const yt=dt;function wt(e){return e[Pe]||null}function bt(e,t){return e.hasOwnProperty(Ue)?e[Ue]:null}function _t(e,t){const n=e[je]||null;if(!n&&!0===t)throw new Error(`Type ${Ce(e)} does not have '\u0275mod' property.`);return n}function Ct(e){return Array.isArray(e)&&"object"==typeof e[1]}function St(e){return Array.isArray(e)&&!0===e[1]}function xt(e){return 0!=(8&e.flags)}function Et(e){return 2==(2&e.flags)}function kt(e){return 1==(1&e.flags)}function Tt(e){return null!==e.template}function At(e){return 0!=(512&e[2])}let It=void 0;function Ot(e){return!!e.listen}const Rt={createRenderer:(e,t)=>void 0!==It?It:"undefined"!=typeof document?document:void 0};function Pt(e){for(;Array.isArray(e);)e=e[0];return e}function Nt(e,t){return Pt(t[e+19])}function Dt(e,t){return Pt(t[e.index])}function jt(e,t){return e.data[t+19]}function Mt(e,t){const n=t[e];return Ct(n)?n:n[0]}function Ut(e){const t=function(e){return e.__ngContext__||null}(e);return t?Array.isArray(t)?t:t.lView:null}function Lt(e){return 4==(4&e[2])}function Ft(e){return 128==(128&e[2])}function Vt(e,t){return null===e||null==t?null:e[t]}function qt(e){e[18]=0}const Ht={lFrame:cn(null),bindingsEnabled:!0,checkNoChangesMode:!1};function $t(){return Ht.bindingsEnabled}function zt(){return Ht.lFrame.lView}function Bt(){return Ht.lFrame.tView}function Gt(e){Ht.lFrame.contextLView=e}function Wt(){return Ht.lFrame.previousOrParentTNode}function Qt(e,t){Ht.lFrame.previousOrParentTNode=e,Ht.lFrame.isParent=t}function Zt(){return Ht.lFrame.isParent}function Kt(){Ht.lFrame.isParent=!1}function Yt(){return Ht.checkNoChangesMode}function Jt(e){Ht.checkNoChangesMode=e}function Xt(){const e=Ht.lFrame;let t=e.bindingRootIndex;return-1===t&&(t=e.bindingRootIndex=e.tView.bindingStartIndex),t}function en(){return Ht.lFrame.bindingIndex++}function tn(e){const t=Ht.lFrame,n=t.bindingIndex;return t.bindingIndex=t.bindingIndex+e,n}function nn(e,t){const n=Ht.lFrame;n.bindingIndex=n.bindingRootIndex=e,n.currentDirectiveIndex=t}function rn(){return Ht.lFrame.currentQueryIndex}function sn(e){Ht.lFrame.currentQueryIndex=e}function on(e,t){const n=ln();Ht.lFrame=n,n.previousOrParentTNode=t,n.lView=e}function an(e,t){const n=ln(),r=e[1];Ht.lFrame=n,n.previousOrParentTNode=t,n.lView=e,n.tView=r,n.contextLView=e,n.bindingIndex=r.bindingStartIndex}function ln(){const e=Ht.lFrame,t=null===e?null:e.child;return null===t?cn(e):t}function cn(e){const t={previousOrParentTNode:null,isParent:!0,lView:null,tView:null,selectedIndex:0,contextLView:null,elementDepthCount:0,currentNamespace:null,currentSanitizer:null,currentDirectiveIndex:-1,bindingRootIndex:-1,bindingIndex:-1,currentQueryIndex:0,parent:e,child:null};return null!==e&&(e.child=t),t}function un(){const e=Ht.lFrame;return Ht.lFrame=e.parent,e.previousOrParentTNode=null,e.lView=null,e}const hn=un;function dn(){const e=un();e.isParent=!0,e.tView=null,e.selectedIndex=0,e.contextLView=null,e.elementDepthCount=0,e.currentDirectiveIndex=-1,e.currentNamespace=null,e.currentSanitizer=null,e.bindingRootIndex=-1,e.bindingIndex=-1,e.currentQueryIndex=0}function pn(){return Ht.lFrame.selectedIndex}function fn(e){Ht.lFrame.selectedIndex=e}function mn(){const e=Ht.lFrame;return jt(e.tView,e.selectedIndex)}function gn(e,t){for(let n=t.directiveStart,r=t.directiveEnd;n<r;n++){const t=e.data[n];t.afterContentInit&&(e.contentHooks||(e.contentHooks=[])).push(-n,t.afterContentInit),t.afterContentChecked&&((e.contentHooks||(e.contentHooks=[])).push(n,t.afterContentChecked),(e.contentCheckHooks||(e.contentCheckHooks=[])).push(n,t.afterContentChecked)),t.afterViewInit&&(e.viewHooks||(e.viewHooks=[])).push(-n,t.afterViewInit),t.afterViewChecked&&((e.viewHooks||(e.viewHooks=[])).push(n,t.afterViewChecked),(e.viewCheckHooks||(e.viewCheckHooks=[])).push(n,t.afterViewChecked)),null!=t.onDestroy&&(e.destroyHooks||(e.destroyHooks=[])).push(n,t.onDestroy)}}function vn(e,t,n){bn(e,t,3,n)}function yn(e,t,n,r){(3&e[2])===n&&bn(e,t,n,r)}function wn(e,t){let n=e[2];(3&n)===t&&(n&=1023,n+=1,e[2]=n)}function bn(e,t,n,r){const s=null!=r?r:-1;let i=0;for(let o=void 0!==r?65535&e[18]:0;o<t.length;o++)if("number"==typeof t[o+1]){if(i=t[o],null!=r&&i>=r)break}else t[o]<0&&(e[18]+=65536),(i<s||-1==s)&&(_n(e,n,t,o),e[18]=(4294901760&e[18])+o+2),o++}function _n(e,t,n,r){const s=n[r]<0,i=n[r+1],o=e[s?-n[r]:n[r]];s?e[2]>>10<e[18]>>16&&(3&e[2])===t&&(e[2]+=1024,i.call(o)):i.call(o)}class Cn{constructor(e,t,n){this.factory=e,this.resolving=!1,this.canSeeViewProviders=t,this.injectImpl=n}}function Sn(e,t,n){const r=Ot(e);let s=0;for(;s<n.length;){const i=n[s];if("number"==typeof i){if(0!==i)break;s++;const o=n[s++],a=n[s++],l=n[s++];r?e.setAttribute(t,a,l,o):t.setAttributeNS(o,a,l)}else{const o=i,a=n[++s];En(o)?r&&e.setProperty(t,o,a):r?e.setAttribute(t,o,a):t.setAttribute(o,a),s++}}return s}function xn(e){return 3===e||4===e||6===e}function En(e){return 64===e.charCodeAt(0)}function kn(e,t){if(null===t||0===t.length);else if(null===e||0===e.length)e=t.slice();else{let n=-1;for(let r=0;r<t.length;r++){const s=t[r];"number"==typeof s?n=s:0===n||Tn(e,n,s,null,-1===n||2===n?t[++r]:null)}}return e}function Tn(e,t,n,r,s){let i=0,o=e.length;if(-1===t)o=-1;else for(;i<e.length;){const n=e[i++];if("number"==typeof n){if(n===t){o=-1;break}if(n>t){o=i-1;break}}}for(;i<e.length;){const t=e[i];if("number"==typeof t)break;if(t===n){if(null===r)return void(null!==s&&(e[i+1]=s));if(r===e[i+1])return void(e[i+2]=s)}i++,null!==r&&i++,null!==s&&i++}-1!==o&&(e.splice(o,0,t),i=o+1),e.splice(i++,0,n),null!==r&&e.splice(i++,0,r),null!==s&&e.splice(i++,0,s)}function An(e){return-1!==e}function In(e){return 32767&e}function On(e){return e>>16}function Rn(e,t){let n=On(e),r=t;for(;n>0;)r=r[15],n--;return r}function Pn(e){return"string"==typeof e?e:null==e?"":""+e}function Nn(e){return"function"==typeof e?e.name||e.toString():"object"==typeof e&&null!=e&&"function"==typeof e.type?e.type.name||e.type.toString():Pn(e)}const Dn=(()=>("undefined"!=typeof requestAnimationFrame&&requestAnimationFrame||setTimeout).bind(Re))();function jn(e){return e instanceof Function?e():e}let Mn=!0;function Un(e){const t=Mn;return Mn=e,t}let Ln=0;function Fn(e,t){const n=qn(e,t);if(-1!==n)return n;const r=t[1];r.firstCreatePass&&(e.injectorIndex=t.length,Vn(r.data,e),Vn(t,null),Vn(r.blueprint,null));const s=Hn(e,t),i=e.injectorIndex;if(An(s)){const e=In(s),n=Rn(s,t),r=n[1].data;for(let s=0;s<8;s++)t[i+s]=n[e+s]|r[e+s]}return t[i+8]=s,i}function Vn(e,t){e.push(0,0,0,0,0,0,0,0,t)}function qn(e,t){return-1===e.injectorIndex||e.parent&&e.parent.injectorIndex===e.injectorIndex||null==t[e.injectorIndex+8]?-1:e.injectorIndex}function Hn(e,t){if(e.parent&&-1!==e.parent.injectorIndex)return e.parent.injectorIndex;let n=t[6],r=1;for(;n&&-1===n.injectorIndex;)n=(t=t[15])?t[6]:null,r++;return n?n.injectorIndex|r<<16:-1}function $n(e,t,n){!function(e,t,n){let r="string"!=typeof n?n[Le]:n.charCodeAt(0)||0;null==r&&(r=n[Le]=Ln++);const s=255&r,i=1<<s,o=64&s,a=32&s,l=t.data;128&s?o?a?l[e+7]|=i:l[e+6]|=i:a?l[e+5]|=i:l[e+4]|=i:o?a?l[e+3]|=i:l[e+2]|=i:a?l[e+1]|=i:l[e]|=i}(e,t,n)}function zn(e,t,n,r=ue.Default,s){if(null!==e){const s=function(e){if("string"==typeof e)return e.charCodeAt(0)||0;const t=e[Le];return"number"==typeof t&&t>0?255&t:t}(n);if("function"==typeof s){on(t,e);try{const e=s();if(null!=e||r&ue.Optional)return e;throw new Error(`No provider for ${Nn(n)}!`)}finally{hn()}}else if("number"==typeof s){if(-1===s)return new Yn(e,t);let i=null,o=qn(e,t),a=-1,l=r&ue.Host?t[16][6]:null;for((-1===o||r&ue.SkipSelf)&&(a=-1===o?Hn(e,t):t[o+8],Kn(r,!1)?(i=t[1],o=In(a),t=Rn(a,t)):o=-1);-1!==o;){a=t[o+8];const e=t[1];if(Zn(s,o,e.data)){const e=Gn(o,t,n,i,r,l);if(e!==Bn)return e}Kn(r,t[1].data[o+8]===l)&&Zn(s,o,t)?(i=e,o=In(a),t=Rn(a,t)):o=-1}}}if(r&ue.Optional&&void 0===s&&(s=null),0==(r&(ue.Self|ue.Host))){const e=t[9],i=We(void 0);try{return e?e.get(n,s,r&ue.Optional):Ke(n,s,r&ue.Optional)}finally{We(i)}}if(r&ue.Optional)return s;throw new Error(`NodeInjector: NOT_FOUND [${Nn(n)}]`)}const Bn={};function Gn(e,t,n,r,s,i){const o=t[1],a=o.data[e+8],l=Wn(a,o,n,null==r?Et(a)&&Mn:r!=o&&3===a.type,s&ue.Host&&i===a);return null!==l?Qn(t,o,l,a):Bn}function Wn(e,t,n,r,s){const i=e.providerIndexes,o=t.data,a=65535&i,l=e.directiveStart,c=i>>16,u=s?a+c:e.directiveEnd;for(let h=r?a:a+c;h<u;h++){const e=o[h];if(h<l&&n===e||h>=l&&e.type===n)return h}if(s){const e=o[l];if(e&&Tt(e)&&e.type===n)return l}return null}function Qn(e,t,n,r){let s=e[n];const i=t.data;if(s instanceof Cn){const o=s;if(o.resolving)throw new Error(`Circular dep for ${Nn(i[n])}`);const a=Un(o.canSeeViewProviders);let l;o.resolving=!0,o.injectImpl&&(l=We(o.injectImpl)),on(e,r);try{s=e[n]=o.factory(void 0,i,e,r),t.firstCreatePass&&n>=r.directiveStart&&function(e,t,n){const{onChanges:r,onInit:s,doCheck:i}=t;r&&((n.preOrderHooks||(n.preOrderHooks=[])).push(e,r),(n.preOrderCheckHooks||(n.preOrderCheckHooks=[])).push(e,r)),s&&(n.preOrderHooks||(n.preOrderHooks=[])).push(-e,s),i&&((n.preOrderHooks||(n.preOrderHooks=[])).push(e,i),(n.preOrderCheckHooks||(n.preOrderCheckHooks=[])).push(e,i))}(n,i[n],t)}finally{o.injectImpl&&We(l),Un(a),o.resolving=!1,hn()}}return s}function Zn(e,t,n){const r=64&e,s=32&e;let i;return i=128&e?r?s?n[t+7]:n[t+6]:s?n[t+5]:n[t+4]:r?s?n[t+3]:n[t+2]:s?n[t+1]:n[t],!!(i&1<<e)}function Kn(e,t){return!(e&ue.Self||e&ue.Host&&t)}class Yn{constructor(e,t){this._tNode=e,this._lView=t}get(e,t){return zn(this._tNode,this._lView,e,void 0,t)}}function Jn(e){return e.ngDebugContext}function Xn(e){return e.ngOriginalError}function er(e,...t){e.error(...t)}class tr{constructor(){this._console=console}handleError(e){const t=this._findOriginalError(e),n=this._findContext(e),r=function(e){return e.ngErrorLogger||er}(e);r(this._console,"ERROR",e),t&&r(this._console,"ORIGINAL ERROR",t),n&&r(this._console,"ERROR CONTEXT",n)}_findContext(e){return e?Jn(e)?Jn(e):this._findContext(Xn(e)):null}_findOriginalError(e){let t=Xn(e);for(;t&&Xn(t);)t=Xn(t);return t}}class nr{constructor(e){this.changingThisBreaksApplicationSecurity=e}toString(){return`SafeValue must use [property]=binding: ${this.changingThisBreaksApplicationSecurity}`+" (see http://g.co/ng/security#xss)"}}function rr(e){return e instanceof nr?e.changingThisBreaksApplicationSecurity:e}let sr=!0,ir=!1;function or(){return ir=!0,sr}const ar=/^(?:(?:https?|mailto|ftp|tel|file):|[^&:/?#]*(?:[/?#]|$))/gi,lr=/^data:(?:image\/(?:bmp|gif|jpeg|jpg|png|tiff|webp)|video\/(?:mpeg|mp4|ogg|webm)|audio\/(?:mp3|oga|ogg|opus));base64,[a-z0-9+\/]+=*$/i,cr=function(){var e={NONE:0,HTML:1,STYLE:2,SCRIPT:3,URL:4,RESOURCE_URL:5};return e[e.NONE]="NONE",e[e.HTML]="HTML",e[e.STYLE]="STYLE",e[e.SCRIPT]="SCRIPT",e[e.URL]="URL",e[e.RESOURCE_URL]="RESOURCE_URL",e}();function ur(e){const t=function(){const e=zt();return e&&e[12]}();return t?t.sanitize(cr.URL,e)||"":function(e,t){const n=function(e){return e instanceof nr&&e.getTypeName()||null}(e);if(null!=n&&n!==t){if("ResourceURL"===n&&"URL"===t)return!0;throw new Error(`Required a safe ${t}, got a ${n} (see http://g.co/ng/security#xss)`)}return n===t}(e,"URL")?rr(e):(n=Pn(e),(n=String(n)).match(ar)||n.match(lr)?n:(or()&&console.warn(`WARNING: sanitizing unsafe URL value ${n} (see http://g.co/ng/security#xss)`),"unsafe:"+n));var n}function hr(e,t){e.__ngContext__=t}function dr(e){throw new Error(`Multiple components match node with tagname ${e.tagName}`)}function pr(){throw new Error("Cannot mix multi providers and regular providers")}function fr(e,t,n){let r=e.length;for(;;){const s=e.indexOf(t,n);if(-1===s)return s;if(0===s||e.charCodeAt(s-1)<=32){const n=t.length;if(s+n===r||e.charCodeAt(s+n)<=32)return s}n=s+1}}function mr(e,t,n){let r=0;for(;r<e.length;){let s=e[r++];if(n&&"class"===s){if(s=e[r],-1!==fr(s.toLowerCase(),t,0))return!0}else if(1===s){for(;r<e.length&&"string"==typeof(s=e[r++]);)if(s.toLowerCase()===t)return!0;return!1}}return!1}function gr(e,t,n){return t===(0!==e.type||n?e.tagName:"ng-template")}function vr(e,t,n){let r=4;const s=e.attrs||[],i=function(e){for(let t=0;t<e.length;t++)if(xn(e[t]))return t;return e.length}(s);let o=!1;for(let a=0;a<t.length;a++){const l=t[a];if("number"!=typeof l){if(!o)if(4&r){if(r=2|1&r,""!==l&&!gr(e,l,n)||""===l&&1===t.length){if(yr(r))return!1;o=!0}}else{const c=8&r?l:t[++a];if(8&r&&null!==e.attrs){if(!mr(e.attrs,c,n)){if(yr(r))return!1;o=!0}continue}const u=wr(8&r?"class":l,s,0==e.type&&"ng-template"!==e.tagName,n);if(-1===u){if(yr(r))return!1;o=!0;continue}if(""!==c){let e;e=u>i?"":s[u+1].toLowerCase();const t=8&r?e:null;if(t&&-1!==fr(t,c,0)||2&r&&c!==e){if(yr(r))return!1;o=!0}}}}else{if(!o&&!yr(r)&&!yr(l))return!1;if(o&&yr(l))continue;o=!1,r=l|1&r}}return yr(r)||o}function yr(e){return 0==(1&e)}function wr(e,t,n,r){if(null===t)return-1;let s=0;if(r||!n){let n=!1;for(;s<t.length;){const r=t[s];if(r===e)return s;if(3===r||6===r)n=!0;else{if(1===r||2===r){let e=t[++s];for(;"string"==typeof e;)e=t[++s];continue}if(4===r)break;if(0===r){s+=4;continue}}s+=n?1:2}return-1}return function(e,t){let n=e.indexOf(4);if(n>-1)for(n++;n<e.length;){if(e[n]===t)return n;n++}return-1}(t,e)}function br(e,t,n=!1){for(let r=0;r<t.length;r++)if(vr(e,t[r],n))return!0;return!1}function _r(e,t){return e?":not("+t.trim()+")":t}function Cr(e){let t=e[0],n=1,r=2,s="",i=!1;for(;n<e.length;){let o=e[n];if("string"==typeof o)if(2&r){const t=e[++n];s+="["+o+(t.length>0?'="'+t+'"':"")+"]"}else 8&r?s+="."+o:4&r&&(s+=" "+o);else""===s||yr(o)||(t+=_r(i,s),s=""),r=o,i=i||!yr(r);n++}return""!==s&&(t+=_r(i,s)),t}const Sr={};function xr(e){const t=e[3];return St(t)?t[3]:t}function Er(e){kr(Bt(),zt(),pn()+e,Yt())}function kr(e,t,n,r){if(!r)if(3==(3&t[2])){const r=e.preOrderCheckHooks;null!==r&&vn(t,r,n)}else{const r=e.preOrderHooks;null!==r&&yn(t,r,0,n)}fn(n)}function Tr(e,t){return e<<17|t<<2}function Ar(e){return e>>17&32767}function Ir(e){return 2|e}function Or(e){return(131068&e)>>2}function Rr(e,t){return-131069&e|t<<2}function Pr(e){return 1|e}function Nr(e,t){const n=e.contentQueries;if(null!==n)for(let r=0;r<n.length;r+=2){const s=n[r],i=n[r+1];if(-1!==i){const n=e.data[i];sn(s),n.contentQueries(2,t[i],i)}}}function Dr(e,t,n){return Ot(t)?t.createElement(e,n):null===n?t.createElement(e):t.createElementNS(n,e)}function jr(e,t,n,r,s,i,o,a,l,c){const u=t.blueprint.slice();return u[0]=s,u[2]=140|r,qt(u),u[3]=u[15]=e,u[8]=n,u[10]=o||e&&e[10],u[11]=a||e&&e[11],u[12]=l||e&&e[12]||null,u[9]=c||e&&e[9]||null,u[6]=i,u[16]=2==t.type?e[16]:u,u}function Mr(e,t,n,r,s,i){const o=n+19,a=e.data[o]||function(e,t,n,r,s,i){const o=Wt(),a=Zt(),l=a?o:o&&o.parent,c=e.data[n]=Gr(0,l&&l!==t?l:null,r,n,s,i);return null===e.firstChild&&(e.firstChild=c),o&&(!a||null!=o.child||null===c.parent&&2!==o.type?a||(o.next=c):o.child=c),c}(e,t,o,r,s,i);return Qt(a,!0),a}function Ur(e,t,n){an(t,t[6]);try{const r=e.viewQuery;null!==r&&ms(1,r,n);const s=e.template;null!==s&&Vr(e,t,s,1,n),e.firstCreatePass&&(e.firstCreatePass=!1),e.staticContentQueries&&Nr(e,t),e.staticViewQueries&&ms(2,e.viewQuery,n);const i=e.components;null!==i&&function(e,t){for(let n=0;n<t.length;n++)us(e,t[n])}(t,i)}finally{t[2]&=-5,dn()}}function Lr(e,t,n,r){const s=t[2];if(256==(256&s))return;an(t,t[6]);const i=Yt();try{qt(t),Ht.lFrame.bindingIndex=e.bindingStartIndex,null!==n&&Vr(e,t,n,2,r);const o=3==(3&s);if(!i)if(o){const n=e.preOrderCheckHooks;null!==n&&vn(t,n,null)}else{const n=e.preOrderHooks;null!==n&&yn(t,n,0,null),wn(t,0)}if(function(e){let t=e[13];for(;null!==t;){let n;if(St(t)&&(n=t[2])>>1==-1){for(let e=9;e<t.length;e++){const n=t[e],r=n[1];Ft(n)&&Lr(r,n,r.template,n[8])}0!=(1&n)&&ls(t,e[16])}t=t[4]}}(t),null!==e.contentQueries&&Nr(e,t),!i)if(o){const n=e.contentCheckHooks;null!==n&&vn(t,n)}else{const n=e.contentHooks;null!==n&&yn(t,n,1),wn(t,1)}!function(e,t){try{const n=e.expandoInstructions;if(null!==n){let r=e.expandoStartIndex,s=-1,i=-1;for(let e=0;e<n.length;e++){const o=n[e];"number"==typeof o?o<=0?(i=0-o,fn(i),r+=9+n[++e],s=r):r+=o:(null!==o&&(nn(r,s),o(2,t[s])),s++)}}}finally{fn(-1)}}(e,t);const a=e.components;null!==a&&function(e,t){for(let n=0;n<t.length;n++)cs(e,t[n])}(t,a);const l=e.viewQuery;if(null!==l&&ms(2,l,r),!i)if(o){const n=e.viewCheckHooks;null!==n&&vn(t,n)}else{const n=e.viewHooks;null!==n&&yn(t,n,2),wn(t,2)}!0===e.firstUpdatePass&&(e.firstUpdatePass=!1),i||(t[2]&=-73)}finally{dn()}}function Fr(e,t,n,r){const s=t[10],i=!Yt(),o=Lt(t);try{i&&!o&&s.begin&&s.begin(),o&&Ur(e,t,r),Lr(e,t,n,r)}finally{i&&!o&&s.end&&s.end()}}function Vr(e,t,n,r,s){const i=pn();try{fn(-1),2&r&&t.length>19&&kr(e,t,0,Yt()),n(r,s)}finally{fn(i)}}function qr(e,t,n){if(xt(t)){const r=t.directiveEnd;for(let s=t.directiveStart;s<r;s++){const t=e.data[s];t.contentQueries&&t.contentQueries(1,n[s],s)}}}function Hr(e,t,n){$t()&&(function(e,t,n,r){const s=n.directiveStart,i=n.directiveEnd;e.firstCreatePass||Fn(n,t),hr(r,t);const o=n.initialInputs;for(let a=s;a<i;a++){const r=e.data[a],i=Tt(r);i&&ss(t,n,r);const l=Qn(t,e,a,n);hr(l,t),null!==o&&is(0,a-s,l,r,0,o),i&&(Mt(n.index,t)[8]=l)}}(e,t,n,Dt(n,t)),128==(128&n.flags)&&function(e,t,n){const r=n.directiveStart,s=n.directiveEnd,i=e.expandoInstructions,o=e.firstCreatePass,a=n.index-19;try{fn(a);for(let n=r;n<s;n++){const r=e.data[n],s=t[n];null!==r.hostBindings||0!==r.hostVars||null!==r.hostAttrs?Jr(r,s):o&&i.push(null)}}finally{fn(-1)}}(e,t,n))}function $r(e,t,n=Dt){const r=t.localNames;if(null!==r){let s=t.index+1;for(let i=0;i<r.length;i+=2){const o=r[i+1],a=-1===o?n(t,e):e[o];e[s++]=a}}}function zr(e){return e.tView||(e.tView=Br(1,-1,e.template,e.decls,e.vars,e.directiveDefs,e.pipeDefs,e.viewQuery,e.schemas,e.consts))}function Br(e,t,n,r,s,i,o,a,l,c){const u=19+r,h=u+s,d=function(e,t){const n=[];for(let r=0;r<t;r++)n.push(r<e?null:Sr);return n}(u,h);return d[1]={type:e,id:t,blueprint:d,template:n,queries:null,viewQuery:a,node:null,data:d.slice().fill(null,u),bindingStartIndex:u,expandoStartIndex:h,expandoInstructions:null,firstCreatePass:!0,firstUpdatePass:!0,staticViewQueries:!1,staticContentQueries:!1,preOrderHooks:null,preOrderCheckHooks:null,contentHooks:null,contentCheckHooks:null,viewHooks:null,viewCheckHooks:null,destroyHooks:null,cleanup:null,contentQueries:null,components:null,directiveRegistry:"function"==typeof i?i():i,pipeRegistry:"function"==typeof o?o():o,firstChild:null,schemas:l,consts:c}}function Gr(e,t,n,r,s,i){return{type:n,index:r,injectorIndex:t?t.injectorIndex:-1,directiveStart:-1,directiveEnd:-1,directiveStylingLast:-1,propertyBindings:null,flags:0,providerIndexes:0,tagName:s,attrs:i,mergedAttrs:null,localNames:null,initialInputs:void 0,inputs:null,outputs:null,tViews:null,next:null,projectionNext:null,child:null,parent:t,projection:null,styles:null,residualStyles:void 0,classes:null,residualClasses:void 0,classBindings:0,styleBindings:0}}function Wr(e,t,n){for(let r in e)if(e.hasOwnProperty(r)){const s=e[r];(n=null===n?{}:n).hasOwnProperty(r)?n[r].push(t,s):n[r]=[t,s]}return n}function Qr(e,t,n,r,s,i,o,a){const l=Dt(t,n);let c,u=t.inputs;var h;!a&&null!=u&&(c=u[r])?(bs(e,n,c,r,s),Et(t)&&function(e,t){const n=Mt(t,e);16&n[2]||(n[2]|=64)}(n,t.index)):3===t.type&&(r="class"===(h=r)?"className":"for"===h?"htmlFor":"formaction"===h?"formAction":"innerHtml"===h?"innerHTML":"readonly"===h?"readOnly":"tabindex"===h?"tabIndex":h,s=null!=o?o(s,t.tagName||"",r):s,Ot(i)?i.setProperty(l,r,s):En(r)||(l.setProperty?l.setProperty(r,s):l[r]=s))}function Zr(e,t,n,r){let s=!1;if($t()){const i=function(e,t,n){const r=e.directiveRegistry;let s=null;if(r)for(let i=0;i<r.length;i++){const o=r[i];br(n,o.selectors,!1)&&(s||(s=[]),$n(Fn(n,t),e,o.type),Tt(o)?(2&n.flags&&dr(n),es(e,n),s.unshift(o)):s.push(o))}return s}(e,t,n),o=null===r?null:{"":-1};if(null!==i){let r=0;s=!0,ns(n,e.data.length,i.length);for(let e=0;e<i.length;e++){const t=i[e];t.providersResolver&&t.providersResolver(t)}Xr(e,n,i.length);let a=!1,l=!1;for(let s=0;s<i.length;s++){const c=i[s];n.mergedAttrs=kn(n.mergedAttrs,c.hostAttrs),rs(e,t,c),ts(e.data.length-1,c,o),null!==c.contentQueries&&(n.flags|=8),null===c.hostBindings&&null===c.hostAttrs&&0===c.hostVars||(n.flags|=128),!a&&(c.onChanges||c.onInit||c.doCheck)&&((e.preOrderHooks||(e.preOrderHooks=[])).push(n.index-19),a=!0),l||!c.onChanges&&!c.doCheck||((e.preOrderCheckHooks||(e.preOrderCheckHooks=[])).push(n.index-19),l=!0),Kr(e,c),r+=c.hostVars}!function(e,t){const n=t.directiveEnd,r=e.data,s=t.attrs,i=[];let o=null,a=null;for(let l=t.directiveStart;l<n;l++){const e=r[l],t=e.inputs;i.push(null!==s?os(t,s):null),o=Wr(t,l,o),a=Wr(e.outputs,l,a)}null!==o&&(o.hasOwnProperty("class")&&(t.flags|=16),o.hasOwnProperty("style")&&(t.flags|=32)),t.initialInputs=i,t.inputs=o,t.outputs=a}(e,n),Yr(e,t,r)}o&&function(e,t,n){if(t){const r=e.localNames=[];for(let e=0;e<t.length;e+=2){const s=n[t[e+1]];if(null==s)throw new Error(`Export of name '${t[e+1]}' not found!`);r.push(t[e],s)}}}(n,r,o)}return n.mergedAttrs=kn(n.mergedAttrs,n.attrs),s}function Kr(e,t){const n=e.expandoInstructions;n.push(t.hostBindings),0!==t.hostVars&&n.push(t.hostVars)}function Yr(e,t,n){for(let r=0;r<n;r++)t.push(Sr),e.blueprint.push(Sr),e.data.push(null)}function Jr(e,t){null!==e.hostBindings&&e.hostBindings(1,t)}function Xr(e,t,n){const r=19-t.index,s=e.data.length-(65535&t.providerIndexes);(e.expandoInstructions||(e.expandoInstructions=[])).push(r,s,n)}function es(e,t){t.flags|=2,(e.components||(e.components=[])).push(t.index)}function ts(e,t,n){if(n){if(t.exportAs)for(let r=0;r<t.exportAs.length;r++)n[t.exportAs[r]]=e;Tt(t)&&(n[""]=e)}}function ns(e,t,n){e.flags|=1,e.directiveStart=t,e.directiveEnd=t+n,e.providerIndexes=t}function rs(e,t,n){e.data.push(n);const r=n.factory||(n.factory=bt(n.type)),s=new Cn(r,Tt(n),null);e.blueprint.push(s),t.push(s)}function ss(e,t,n){const r=Dt(t,e),s=zr(n),i=e[10],o=hs(e,jr(e,s,null,n.onPush?64:16,r,t,i,i.createRenderer(r,n)));e[t.index]=o}function is(e,t,n,r,s,i){const o=i[t];if(null!==o){const e=r.setInput;for(let t=0;t<o.length;){const s=o[t++],i=o[t++],a=o[t++];null!==e?r.setInput(n,a,s,i):n[i]=a}}}function os(e,t){let n=null,r=0;for(;r<t.length;){const s=t[r];if(0!==s)if(5!==s){if("number"==typeof s)break;e.hasOwnProperty(s)&&(null===n&&(n=[]),n.push(s,e[s],t[r+1])),r+=2}else r+=2;else r+=4}return n}function as(e,t,n,r){return new Array(e,!0,-2,t,null,null,r,n,null)}function ls(e,t){const n=e[5];for(let r=0;r<n.length;r++){const e=n[r],s=e[3][3][16];if(s!==t&&0==(16&s[2])){const t=e[1];Lr(t,e,t.template,e[8])}}}function cs(e,t){const n=Mt(t,e);if(Ft(n)&&80&n[2]){const e=n[1];Lr(e,n,e.template,n[8])}}function us(e,t){const n=Mt(t,e),r=n[1];!function(e,t){for(let n=t.length;n<e.blueprint.length;n++)t.push(e.blueprint[n])}(r,n),Ur(r,n,n[8])}function hs(e,t){return e[13]?e[14][4]=t:e[13]=t,e[14]=t,t}function ds(e){for(;e;){e[2]|=64;const t=xr(e);if(At(e)&&!t)return e;e=t}return null}function ps(e,t,n){const r=t[10];r.begin&&r.begin();try{Lr(e,t,e.template,n)}catch(s){throw ws(t,s),s}finally{r.end&&r.end()}}function fs(e){!function(e){for(let t=0;t<e.components.length;t++){const n=e.components[t],r=Ut(n),s=r[1];Fr(s,r,s.template,n)}}(e[8])}function ms(e,t,n){sn(0),t(e,n)}const gs=(()=>Promise.resolve(null))();function vs(e){return e[7]||(e[7]=[])}function ys(e){return e.cleanup||(e.cleanup=[])}function ws(e,t){const n=e[9],r=n?n.get(tr,null):null;r&&r.handleError(t)}function bs(e,t,n,r,s){for(let i=0;i<n.length;){const o=n[i++],a=n[i++],l=t[o],c=e.data[o];null!==c.setInput?c.setInput(l,s,r,a):l[a]=s}}function _s(e,t,n){const r=Nt(t,e),s=e[11];Ot(s)?s.setValue(r,n):r.textContent=n}function Cs(e,t){const n=t[3];return-1===e.index?St(n)?n:null:n}function Ss(e,t){const n=Cs(e,t);return n?Ds(t[11],n[7]):null}function xs(e,t,n,r,s){if(null!=r){let i,o=!1;St(r)?i=r:Ct(r)&&(o=!0,r=r[0]);const a=Pt(r);0===e&&null!==n?null==s?Ps(t,n,a):Rs(t,n,a,s||null):1===e&&null!==n?Rs(t,n,a,s||null):2===e?function(e,t,n){const r=Ds(e,t);r&&function(e,t,n,r){Ot(e)?e.removeChild(t,n,r):t.removeChild(n)}(e,r,t,n)}(t,a,o):3===e&&t.destroyNode(a),null!=i&&function(e,t,n,r,s){const i=n[7];i!==Pt(n)&&xs(t,e,r,i,s);for(let o=9;o<n.length;o++){const s=n[o];Ls(s[1],s,e,t,r,i)}}(t,e,i,n,s)}}function Es(e,t,n,r){const s=Ss(e.node,t);s&&Ls(e,t,t[11],n?1:2,s,r)}function ks(e,t){const n=e[5],r=n.indexOf(t);n.splice(r,1)}function Ts(e,t){if(e.length<=9)return;const n=9+t,r=e[n];if(r){const s=r[17];null!==s&&s!==e&&ks(s,r),t>0&&(e[n-1][4]=r[4]);const i=rt(e,9+t);Es(r[1],r,!1,null);const o=i[5];null!==o&&o.detachView(i[1]),r[3]=null,r[4]=null,r[2]&=-129}return r}function As(e,t){if(!(256&t[2])){const n=t[11];Ot(n)&&n.destroyNode&&Ls(e,t,n,3,null,null),function(e){let t=e[13];if(!t)return Os(e[1],e);for(;t;){let n=null;if(Ct(t))n=t[13];else{const e=t[9];e&&(n=e)}if(!n){for(;t&&!t[4]&&t!==e;)Ct(t)&&Os(t[1],t),t=Is(t,e);null===t&&(t=e),Ct(t)&&Os(t[1],t),n=t&&t[4]}t=n}}(t)}}function Is(e,t){let n;return Ct(e)&&(n=e[6])&&2===n.type?Cs(n,e):e[3]===t?null:e[3]}function Os(e,t){if(!(256&t[2])){t[2]&=-129,t[2]|=256,function(e,t){let n;if(null!=e&&null!=(n=e.destroyHooks))for(let r=0;r<n.length;r+=2){const e=t[n[r]];e instanceof Cn||n[r+1].call(e)}}(e,t),function(e,t){const n=e.cleanup;if(null!==n){const e=t[7];for(let r=0;r<n.length-1;r+=2)if("string"==typeof n[r]){const s=n[r+1],i="function"==typeof s?s(t):Pt(t[s]),o=e[n[r+2]],a=n[r+3];"boolean"==typeof a?i.removeEventListener(n[r],o,a):a>=0?e[a]():e[-a].unsubscribe(),r+=2}else n[r].call(e[n[r+1]]);t[7]=null}}(e,t);const n=t[6];n&&3===n.type&&Ot(t[11])&&t[11].destroy();const r=t[17];if(null!==r&&St(t[3])){r!==t[3]&&ks(r,t);const n=t[5];null!==n&&n.detachView(e)}}}function Rs(e,t,n,r){Ot(e)?e.insertBefore(t,n,r):t.insertBefore(n,r,!0)}function Ps(e,t,n){Ot(e)?e.appendChild(t,n):t.appendChild(n)}function Ns(e,t,n,r){null!==r?Rs(e,t,n,r):Ps(e,t,n)}function Ds(e,t){return Ot(e)?e.parentNode(t):t.parentNode}function js(e,t,n,r){const s=function(e,t,n){let r=t.parent;for(;null!=r&&(4===r.type||5===r.type);)r=(t=r).parent;if(null==r){const e=n[6];return 2===e.type?Ss(e,n):n[0]}if(t&&5===t.type&&4&t.flags)return Dt(t,n).parentNode;if(2&r.flags){const t=e.data,n=t[t[r.index].directiveStart].encapsulation;if(n!==lt.ShadowDom&&n!==lt.Native)return null}return Dt(r,n)}(e,r,t);if(null!=s){const e=t[11],i=function(e,t){if(2===e.type){const n=Cs(e,t);return null===n?null:Ms(n.indexOf(t,9)-9,n)}return 4===e.type||5===e.type?Dt(e,t):null}(r.parent||t[6],t);if(Array.isArray(n))for(let t=0;t<n.length;t++)Ns(e,s,n[t],i);else Ns(e,s,n,i)}}function Ms(e,t){const n=9+e+1;if(n<t.length){const e=t[n],r=e[1].firstChild;if(null!==r)return function e(t,n){if(null!==n){const r=n.type;if(3===r)return Dt(n,t);if(0===r)return Ms(-1,t[n.index]);if(4===r||5===r){const r=n.child;if(null!==r)return e(t,r);{const e=t[n.index];return St(e)?Ms(-1,e):Pt(e)}}{const r=t[16],s=r[6],i=xr(r),o=s.projection[n.projection];return null!=o?e(i,o):e(t,n.next)}}return null}(e,r)}return t[7]}function Us(e,t,n,r,s,i,o){for(;null!=n;){const a=r[n.index],l=n.type;o&&0===t&&(a&&hr(Pt(a),r),n.flags|=4),64!=(64&n.flags)&&(4===l||5===l?(Us(e,t,n.child,r,s,i,!1),xs(t,e,s,a,i)):1===l?Fs(e,t,r,n,s,i):xs(t,e,s,a,i)),n=o?n.projectionNext:n.next}}function Ls(e,t,n,r,s,i){Us(n,r,e.node.child,t,s,i,!1)}function Fs(e,t,n,r,s,i){const o=n[16],a=o[6].projection[r.projection];if(Array.isArray(a))for(let l=0;l<a.length;l++)xs(t,e,s,a[l],i);else Us(e,t,a,o[3],s,i,!0)}function Vs(e,t,n){Ot(e)?e.setAttribute(t,"style",n):t.style.cssText=n}function qs(e,t,n){Ot(e)?""===n?e.removeAttribute(t,"class"):e.setAttribute(t,"class",n):t.className=n}class Hs{constructor(e,t){this._lView=e,this._cdRefInjectingView=t,this._appRef=null,this._viewContainerRef=null,this._tViewNode=null}get rootNodes(){const e=this._lView;return null==e[0]?function e(t,n,r,s,i=!1){for(;null!==r;){const o=n[r.index];if(null!==o&&s.push(Pt(o)),St(o))for(let t=9;t<o.length;t++){const n=o[t],r=n[1].firstChild;null!==r&&e(n[1],n,r,s)}const a=r.type;if(4===a||5===a)e(t,n,r.child,s);else if(1===a){const t=n[16],i=t[6],o=xr(t);let a=i.projection[r.projection];null!==a&&null!==o&&e(o[1],o,a,s,!0)}r=i?r.projectionNext:r.next}return s}(e[1],e,e[6].child,[]):[]}get context(){return this._lView[8]}get destroyed(){return 256==(256&this._lView[2])}destroy(){if(this._appRef)this._appRef.detachView(this);else if(this._viewContainerRef){const e=this._viewContainerRef.indexOf(this);e>-1&&this._viewContainerRef.detach(e),this._viewContainerRef=null}As(this._lView[1],this._lView)}onDestroy(e){var t,n,r;t=this._lView[1],r=e,vs(n=this._lView).push(r),t.firstCreatePass&&ys(t).push(n[7].length-1,null)}markForCheck(){ds(this._cdRefInjectingView||this._lView)}detach(){this._lView[2]&=-129}reattach(){this._lView[2]|=128}detectChanges(){ps(this._lView[1],this._lView,this.context)}checkNoChanges(){!function(e,t,n){Jt(!0);try{ps(e,t,n)}finally{Jt(!1)}}(this._lView[1],this._lView,this.context)}attachToViewContainerRef(e){if(this._appRef)throw new Error("This view is already attached directly to the ApplicationRef!");this._viewContainerRef=e}detachFromAppRef(){var e;this._appRef=null,Ls(this._lView[1],e=this._lView,e[11],2,null,null)}attachToAppRef(e){if(this._viewContainerRef)throw new Error("This view is already attached to a ViewContainer!");this._appRef=e}}class $s extends Hs{constructor(e){super(e),this._view=e}detectChanges(){fs(this._view)}checkNoChanges(){!function(e){Jt(!0);try{fs(e)}finally{Jt(!1)}}(this._view)}get context(){return null}}let zs,Bs,Gs;function Ws(e,t,n){return zs||(zs=class extends e{}),new zs(Dt(t,n))}function Qs(e,t,n,r){return Bs||(Bs=class extends e{constructor(e,t,n){super(),this._declarationView=e,this._declarationTContainer=t,this.elementRef=n}createEmbeddedView(e){const t=this._declarationTContainer.tViews,n=jr(this._declarationView,t,e,16,null,t.node);n[17]=this._declarationView[this._declarationTContainer.index];const r=this._declarationView[5];null!==r&&(n[5]=r.createEmbeddedView(t)),Ur(t,n,e);const s=new Hs(n);return s._tViewNode=n[6],s}}),0===n.type?new Bs(r,n,Ws(t,n,r)):null}function Zs(e,t,n,r){let s;Gs||(Gs=class extends e{constructor(e,t,n){super(),this._lContainer=e,this._hostTNode=t,this._hostView=n}get element(){return Ws(t,this._hostTNode,this._hostView)}get injector(){return new Yn(this._hostTNode,this._hostView)}get parentInjector(){const e=Hn(this._hostTNode,this._hostView),t=Rn(e,this._hostView),n=function(e,t,n){if(n.parent&&-1!==n.parent.injectorIndex){const e=n.parent.injectorIndex;let t=n.parent;for(;null!=t.parent&&e==t.parent.injectorIndex;)t=t.parent;return t}let r=On(e),s=t,i=t[6];for(;r>1;)s=s[15],i=s[6],r--;return i}(e,this._hostView,this._hostTNode);return An(e)&&null!=n?new Yn(n,t):new Yn(null,this._hostView)}clear(){for(;this.length>0;)this.remove(this.length-1)}get(e){return null!==this._lContainer[8]&&this._lContainer[8][e]||null}get length(){return this._lContainer.length-9}createEmbeddedView(e,t,n){const r=e.createEmbeddedView(t||{});return this.insert(r,n),r}createComponent(e,t,n,r,s){const i=n||this.parentInjector;if(!s&&null==e.ngModule&&i){const e=i.get(Xe,null);e&&(s=e)}const o=e.create(i,r,void 0,s);return this.insert(o.hostView,t),o}insert(e,t){const n=e._lView,r=n[1];if(e.destroyed)throw new Error("Cannot insert a destroyed View in a ViewContainer!");if(this.allocateContainerIfNeeded(),St(n[3])){const t=this.indexOf(e);if(-1!==t)this.detach(t);else{const t=n[3],r=new Gs(t,t[6],t[3]);r.detach(r.indexOf(e))}}const s=this._adjustIndex(t);return function(e,t,n,r){const s=9+r,i=n.length;r>0&&(n[s-1][4]=t),r<i-9?(t[4]=n[s],nt(n,9+r,t)):(n.push(t),t[4]=null),t[3]=n;const o=t[17];null!==o&&n!==o&&function(e,t){const n=e[5],r=t[3][3][16];16!=(16&r[2])&&t[16]!==r&&(e[2]|=1),null===n?e[5]=[t]:n.push(t)}(o,t);const a=t[5];null!==a&&a.insertView(e),t[2]|=128}(r,n,this._lContainer,s),Es(r,n,!0,Ms(s,this._lContainer)),e.attachToViewContainerRef(this),nt(this._lContainer[8],s,e),e}move(e,t){if(e.destroyed)throw new Error("Cannot move a destroyed View in a ViewContainer!");return this.insert(e,t)}indexOf(e){const t=this._lContainer[8];return null!==t?t.indexOf(e):-1}remove(e){this.allocateContainerIfNeeded();const t=this._adjustIndex(e,-1);(function(e,t){const n=Ts(e,t);n&&As(n[1],n)})(this._lContainer,t),rt(this._lContainer[8],t)}detach(e){this.allocateContainerIfNeeded();const t=this._adjustIndex(e,-1),n=Ts(this._lContainer,t);return n&&null!=rt(this._lContainer[8],t)?new Hs(n):null}_adjustIndex(e,t=0){return null==e?this.length+t:e}allocateContainerIfNeeded(){null===this._lContainer[8]&&(this._lContainer[8]=[])}});const i=r[n.index];if(St(i))s=i,function(e,t){e[2]=-2}(s);else{let e;if(4===n.type)e=Pt(i);else if(e=r[11].createComment(""),At(r)){const t=r[11],s=Dt(n,r);Rs(t,Ds(t,s),e,function(e,t){return Ot(e)?e.nextSibling(t):t.nextSibling}(t,s))}else js(r[1],r,e,n);r[n.index]=s=as(i,r,e,n),hs(r,s)}return new Gs(s,n,r)}let Ks=(()=>{class e{}return e.__NG_ELEMENT_ID__=()=>Ys(),e})();const Ys=function(e=!1){return function(e,t,n){if(!n&&Et(e)){const n=Mt(e.index,t);return new Hs(n,n)}return 3===e.type||0===e.type||4===e.type||5===e.type?new Hs(t[16],t):null}(Wt(),zt(),e)},Js=new Fe("Set Injector scope."),Xs={},ei={},ti=[];let ni=void 0;function ri(){return void 0===ni&&(ni=new Je),ni}function si(e,t=null,n=null,r){return new ii(e,n,t||ri(),r)}class ii{constructor(e,t,n,r=null){this.parent=n,this.records=new Map,this.injectorDefTypes=new Set,this.onDestroy=new Set,this._destroyed=!1;const s=[];t&&tt(t,n=>this.processProvider(n,e,t)),tt([e],e=>this.processInjectorType(e,[],s)),this.records.set(Ve,ai(void 0,this));const i=this.records.get(Js);this.scope=null!=i?i.value:null,this.source=r||("object"==typeof e?null:Ce(e))}get destroyed(){return this._destroyed}destroy(){this.assertNotDestroyed(),this._destroyed=!0;try{this.onDestroy.forEach(e=>e.ngOnDestroy())}finally{this.records.clear(),this.onDestroy.clear(),this.injectorDefTypes.clear()}}get(e,t=qe,n=ue.Default){this.assertNotDestroyed();const r=Ge(this);try{if(!(n&ue.SkipSelf)){let t=this.records.get(e);if(void 0===t){const n=("function"==typeof(s=e)||"object"==typeof s&&s instanceof Fe)&&fe(e);t=n&&this.injectableDefInScope(n)?ai(oi(e),Xs):null,this.records.set(e,t)}if(null!=t)return this.hydrate(e,t)}return(n&ue.Self?ri():this.parent).get(e,t=n&ue.Optional&&t===qe?null:t)}catch(i){if("NullInjectorError"===i.name){if((i.ngTempTokenPath=i.ngTempTokenPath||[]).unshift(Ce(e)),r)throw i;return function(e,t,n,r){const s=e.ngTempTokenPath;throw t.__source&&s.unshift(t.__source),e.message=function(e,t,n,r=null){e=e&&"\n"===e.charAt(0)&&"\u0275"==e.charAt(1)?e.substr(2):e;let s=Ce(t);if(Array.isArray(t))s=t.map(Ce).join(" -> ");else if("object"==typeof t){let e=[];for(let n in t)if(t.hasOwnProperty(n)){let r=t[n];e.push(n+":"+("string"==typeof r?JSON.stringify(r):Ce(r)))}s=`{${e.join(", ")}}`}return`${n}${r?"("+r+")":""}[${s}]: ${e.replace(He,"\n ")}`}("\n"+e.message,s,n,r),e.ngTokenPath=s,e.ngTempTokenPath=null,e}(i,e,"R3InjectorError",this.source)}throw i}finally{Ge(r)}var s}_resolveInjectorDefTypes(){this.injectorDefTypes.forEach(e=>this.get(e))}toString(){const e=[];return this.records.forEach((t,n)=>e.push(Ce(n))),`R3Injector[${e.join(", ")}]`}assertNotDestroyed(){if(this._destroyed)throw new Error("Injector has already been destroyed.")}processInjectorType(e,t,n){if(!(e=ke(e)))return!1;let r=ge(e);const s=null==r&&e.ngModule||void 0,i=void 0===s?e:s,o=-1!==n.indexOf(i);if(void 0!==s&&(r=ge(s)),null==r)return!1;if(null!=r.imports&&!o){let e;n.push(i);try{tt(r.imports,r=>{this.processInjectorType(r,t,n)&&(void 0===e&&(e=[]),e.push(r))})}finally{}if(void 0!==e)for(let t=0;t<e.length;t++){const{ngModule:n,providers:r}=e[t];tt(r,e=>this.processProvider(e,n,r||ti))}}this.injectorDefTypes.add(i),this.records.set(i,ai(r.factory,Xs));const a=r.providers;if(null!=a&&!o){const t=e;tt(a,e=>this.processProvider(e,t,a))}return void 0!==s&&void 0!==e.providers}processProvider(e,t,n){let r=ci(e=ke(e))?e:ke(e&&e.provide);const s=function(e,t,n){return li(e)?ai(void 0,e.useValue):ai(function(e,t,n){let r=void 0;if(ci(e)){const t=ke(e);return bt(t)||oi(t)}if(li(e))r=()=>ke(e.useValue);else if((s=e)&&s.useFactory)r=()=>e.useFactory(...Ye(e.deps||[]));else if(function(e){return!(!e||!e.useExisting)}(e))r=()=>Ze(ke(e.useExisting));else{const s=ke(e&&(e.useClass||e.provide));if(s||function(e,t,n){let r="";throw e&&t&&(r=` - only instances of Provider and Type are allowed, got: [${t.map(e=>e==n?"?"+n+"?":"...").join(", ")}]`),new Error(`Invalid provider for the NgModule '${Ce(e)}'`+r)}(t,n,e),!function(e){return!!e.deps}(e))return bt(s)||oi(s);r=()=>new s(...Ye(e.deps))}var s;return r}(e,t,n),Xs)}(e,t,n);if(ci(e)||!0!==e.multi){const e=this.records.get(r);e&&void 0!==e.multi&&pr()}else{let t=this.records.get(r);t?void 0===t.multi&&pr():(t=ai(void 0,Xs,!0),t.factory=()=>Ye(t.multi),this.records.set(r,t)),r=e,t.multi.push(e)}this.records.set(r,s)}hydrate(e,t){var n;return t.value===ei?function(e){throw new Error(`Cannot instantiate cyclic dependency! ${e}`)}(Ce(e)):t.value===Xs&&(t.value=ei,t.value=t.factory()),"object"==typeof t.value&&t.value&&null!==(n=t.value)&&"object"==typeof n&&"function"==typeof n.ngOnDestroy&&this.onDestroy.add(t.value),t.value}injectableDefInScope(e){return!!e.providedIn&&("string"==typeof e.providedIn?"any"===e.providedIn||e.providedIn===this.scope:this.injectorDefTypes.has(e.providedIn))}}function oi(e){const t=fe(e),n=null!==t?t.factory:bt(e);if(null!==n)return n;const r=ge(e);if(null!==r)return r.factory;if(e instanceof Fe)throw new Error(`Token ${Ce(e)} is missing a \u0275prov definition.`);if(e instanceof Function)return function(e){const t=e.length;if(t>0){const n=function(e,t){const n=[];for(let r=0;r<e;r++)n.push("?");return n}(t);throw new Error(`Can't resolve all parameters for ${Ce(e)}: (${n.join(", ")}).`)}const n=function(e){const t=e&&(e[ve]||e[be]||e[we]&&e[we]());if(t){const n=function(e){if(e.hasOwnProperty("name"))return e.name;const t=(""+e).match(/^function\s*([^\s(]+)/);return null===t?"":t[1]}(e);return console.warn(`DEPRECATED: DI is instantiating a token "${n}" that inherits its @Injectable decorator but does not provide one itself.\n`+`This will become an error in v10. Please add @Injectable() to the "${n}" class.`),t}return null}(e);return null!==n?()=>n.factory(e):()=>new e}(e);throw new Error("unreachable")}function ai(e,t,n=!1){return{factory:e,value:t,multi:n?[]:void 0}}function li(e){return null!==e&&"object"==typeof e&&$e in e}function ci(e){return"function"==typeof e}const ui=function(e,t,n){return function(e,t=null,n=null,r){const s=si(e,t,n,r);return s._resolveInjectorDefTypes(),s}({name:n},t,e,n)};let hi=(()=>{class e{static create(e,t){return Array.isArray(e)?ui(e,t,""):ui(e.providers,e.parent,e.name||"")}}return e.THROW_IF_NOT_FOUND=qe,e.NULL=new Je,e.\u0275prov=de({token:e,providedIn:"any",factory:()=>Ze(Ve)}),e.__NG_ELEMENT_ID__=-1,e})();const di=new Fe("AnalyzeForEntryComponents");let pi=new Map;const fi=new Set;function mi(e){return"string"==typeof e?e:e.text()}function gi(e,t){let n=e.styles,r=e.classes,s=0;for(let i=0;i<t.length;i++){const e=t[i];"number"==typeof e?s=e:1==s?r=Se(r,e):2==s&&(n=Se(n,e+": "+t[++i]+";"))}null!==n&&(e.styles=n),null!==r&&(e.classes=r)}let vi=null;function yi(){if(!vi){const e=Re.Symbol;if(e&&e.iterator)vi=e.iterator;else{const e=Object.getOwnPropertyNames(Map.prototype);for(let t=0;t<e.length;++t){const n=e[t];"entries"!==n&&"size"!==n&&Map.prototype[n]===Map.prototype.entries&&(vi=n)}}}return vi}function wi(e,t){return e===t||"number"==typeof e&&"number"==typeof t&&isNaN(e)&&isNaN(t)}function bi(e){return!!_i(e)&&(Array.isArray(e)||!(e instanceof Map)&&yi()in e)}function _i(e){return null!==e&&("function"==typeof e||"object"==typeof e)}function Ci(e,t,n){return e[t]=n}function Si(e,t,n){return!Object.is(e[t],n)&&(e[t]=n,!0)}function xi(e,t,n,r){const s=zt();return Si(s,en(),t)&&(Bt(),function(e,t,n,r,s,i){const o=Dt(e,t),a=t[11];if(null==r)Ot(a)?a.removeAttribute(o,n,i):o.removeAttribute(n);else{const t=null==s?Pn(r):s(r,e.tagName||"",n);Ot(a)?a.setAttribute(o,n,t,i):i?o.setAttributeNS(i,n,t):o.setAttribute(n,t)}}(mn(),s,e,t,n,r)),xi}function Ei(e,t,n,r,s,i,o,a){const l=zt(),c=Bt(),u=e+19,h=c.firstCreatePass?function(e,t,n,r,s,i,o,a,l){const c=t.consts,u=Mr(t,n[6],e,0,o||null,Vt(c,a));Zr(t,n,u,Vt(c,l)),gn(t,u);const h=u.tViews=Br(2,-1,r,s,i,t.directiveRegistry,t.pipeRegistry,null,t.schemas,c),d=Gr(0,null,2,-1,null,null);return d.injectorIndex=u.injectorIndex,h.node=d,null!==t.queries&&(t.queries.template(t,u),h.queries=t.queries.embeddedTView(u)),u}(e,c,l,t,n,r,s,i,o):c.data[u];Qt(h,!1);const d=l[11].createComment("");js(c,l,d,h),hr(d,l),hs(l,l[u]=as(d,l,d,h)),kt(h)&&Hr(c,l,h),null!=o&&$r(l,h,a)}function ki(e){return function(e,t){return e[t+19]}(Ht.lFrame.contextLView,e)}function Ti(e,t=ue.Default){const n=zt();return null==n?Ze(e,t):zn(Wt(),n,ke(e),t)}function Ai(e){return function(e,t){if("class"===t)return e.classes;if("style"===t)return e.styles;const n=e.attrs;if(n){const e=n.length;let r=0;for(;r<e;){const s=n[r];if(xn(s))break;if(0===s)r+=2;else if("number"==typeof s)for(r++;r<e&&"string"==typeof n[r];)r++;else{if(s===t)return n[r+1];r+=2}}}return null}(Wt(),e)}function Ii(){throw new Error("invalid")}function Oi(e,t,n){const r=zt();return Si(r,en(),t)&&Qr(Bt(),mn(),r,e,t,r[11],n,!1),Oi}function Ri(e,t,n,r,s){const i=s?"class":"style";bs(e,n,t.inputs[i],i,r)}function Pi(e,t,n,r){const s=zt(),i=Bt(),o=19+e,a=s[11],l=s[o]=Dr(t,a,Ht.lFrame.currentNamespace),c=i.firstCreatePass?function(e,t,n,r,s,i,o){const a=t.consts,l=Vt(a,i),c=Mr(t,n[6],e,3,s,l);return Zr(t,n,c,Vt(a,o)),null!==c.mergedAttrs&&gi(c,c.mergedAttrs),null!==t.queries&&t.queries.elementStart(t,c),c}(e,i,s,0,t,n,r):i.data[o];Qt(c,!0);const u=c.mergedAttrs;null!==u&&Sn(a,l,u);const h=c.classes;null!==h&&qs(a,l,h);const d=c.styles;null!==d&&Vs(a,l,d),js(i,s,l,c),0===Ht.lFrame.elementDepthCount&&hr(l,s),Ht.lFrame.elementDepthCount++,kt(c)&&(Hr(i,s,c),qr(i,c,s)),null!==r&&$r(s,c)}function Ni(){let e=Wt();Zt()?Kt():(e=e.parent,Qt(e,!1));const t=e;Ht.lFrame.elementDepthCount--;const n=Bt();n.firstCreatePass&&(gn(n,e),xt(e)&&n.queries.elementEnd(e)),null!==t.classes&&function(e){return 0!=(16&e.flags)}(t)&&Ri(n,t,zt(),t.classes,!0),null!==t.styles&&function(e){return 0!=(32&e.flags)}(t)&&Ri(n,t,zt(),t.styles,!1)}function Di(e,t,n,r){Pi(e,t,n,r),Ni()}function ji(e,t,n){(function(e,t,n){const r=zt(),s=Bt(),i=e+19,o=s.firstCreatePass?function(e,t,n,r,s){const i=t.consts,o=Vt(i,r),a=Mr(t,n[6],e,4,"ng-container",o);return null!==o&&gi(a,o),Zr(t,n,a,Vt(i,s)),null!==t.queries&&t.queries.elementStart(t,a),a}(e,s,r,t,n):s.data[i];Qt(o,!0);const a=r[i]=r[11].createComment("");js(s,r,a,o),hr(a,r),kt(o)&&(Hr(s,r,o),qr(s,o,r)),null!=n&&$r(r,o)})(e,t,n),function(){let e=Wt();const t=Bt();Zt()?Kt():(e=e.parent,Qt(e,!1)),t.firstCreatePass&&(gn(t,e),xt(e)&&t.queries.elementEnd(e))}()}function Mi(){return zt()}function Ui(e){return!!e&&"function"==typeof e.then}function Li(e,t,n=!1,r){const s=zt(),i=Bt(),o=Wt();return function(e,t,n,r,s,i,o=!1,a){const l=kt(r),c=e.firstCreatePass&&(e.cleanup||(e.cleanup=[])),u=vs(t);let h=!0;if(3===r.type){const d=Dt(r,t),p=a?a(d):ct,f=p.target||d,m=u.length,g=a?e=>a(Pt(e[r.index])).target:r.index;if(Ot(n)){let o=null;if(!a&&l&&(o=function(e,t,n,r){const s=e.cleanup;if(null!=s)for(let i=0;i<s.length-1;i+=2){const e=s[i];if(e===n&&s[i+1]===r){const e=t[7],n=s[i+2];return e.length>n?e[n]:null}"string"==typeof e&&(i+=2)}return null}(e,t,s,r.index)),null!==o)(o.__ngLastListenerFn__||o).__ngNextListenerFn__=i,o.__ngLastListenerFn__=i,h=!1;else{i=Vi(r,t,i,!1);const e=n.listen(p.name||f,s,i);u.push(i,e),c&&c.push(s,g,m,m+1)}}else i=Vi(r,t,i,!0),f.addEventListener(s,i,o),u.push(i),c&&c.push(s,g,m,o)}const d=r.outputs;let p;if(h&&null!==d&&(p=d[s])){const e=p.length;if(e)for(let n=0;n<e;n+=2){const e=t[p[n]][p[n+1]].subscribe(i),o=u.length;u.push(i,e),c&&c.push(s,r.index,o,-(o+1))}}}(i,s,s[11],o,e,t,n,r),Li}function Fi(e,t,n){try{return!1!==t(n)}catch(r){return ws(e,r),!1}}function Vi(e,t,n,r){return function s(i){if(i===Function)return n;const o=2&e.flags?Mt(e.index,t):t;0==(32&t[2])&&ds(o);let a=Fi(t,n,i),l=s.__ngNextListenerFn__;for(;l;)a=Fi(t,l,i)&&a,l=l.__ngNextListenerFn__;return r&&!1===a&&(i.preventDefault(),i.returnValue=!1),a}}function qi(e=1){return function(e){return(Ht.lFrame.contextLView=function(e,t){for(;e>0;)t=t[15],e--;return t}(e,Ht.lFrame.contextLView))[8]}(e)}const Hi=[];function $i(e,t,n,r,s){const i=e[n+1],o=null===t;let a=r?Ar(i):Or(i),l=!1;for(;0!==a&&(!1===l||o);){const n=e[a+1];zi(e[a],t)&&(l=!0,e[a+1]=r?Pr(n):Ir(n)),a=r?Ar(n):Or(n)}l&&(e[n+1]=r?Ir(i):Pr(i))}function zi(e,t){return null===e||null==t||(Array.isArray(e)?e[1]:e)===t||!(!Array.isArray(e)||"string"!=typeof t)&&ot(e,t)>=0}function Bi(e,t){return function(e,t,n,r){const s=zt(),i=Bt(),o=tn(2);if(i.firstUpdatePass&&function(e,t,n,r){const s=e.data;if(null===s[n+1]){const r=s[pn()+19],i=function(e,t){return t>=e.expandoStartIndex}(e,n);(function(e,t){return 0!=(16&e.flags)})(r)&&null===t&&!i&&(t=!1),t=function(e,t,n,r){const s=function(e){const t=Ht.lFrame.currentDirectiveIndex;return-1===t?null:e[t]}(e);let i=t.residualClasses;if(null===s)0===t.classBindings&&(n=Wi(n=Gi(null,e,t,n,!0),t.attrs,!0),i=null);else{const r=t.directiveStylingLast;if(-1===r||e[r]!==s)if(n=Gi(s,e,t,n,!0),null===i){let n=function(e,t,n){const r=t.classBindings;if(0!==Or(r))return e[Ar(r)]}(e,t);void 0!==n&&Array.isArray(n)&&(n=Gi(null,e,t,n[1],!0),n=Wi(n,t.attrs,!0),function(e,t,n,r){e[Ar(t.classBindings)]=r}(e,t,0,n))}else i=function(e,t,n){let r=void 0;const s=t.directiveEnd;for(let i=1+t.directiveStylingLast;i<s;i++)r=Wi(r,e[i].hostAttrs,!0);return Wi(r,t.attrs,!0)}(e,t)}return void 0!==i&&(t.residualClasses=i),n}(s,r,t),function(e,t,n,r,s,i){let o=t.classBindings,a=Ar(o),l=Or(o);e[r]=n;let c,u=!1;if(Array.isArray(n)){const e=n;c=e[1],(null===c||ot(e,c)>0)&&(u=!0)}else c=n;if(s)if(0!==l){const t=Ar(e[a+1]);e[r+1]=Tr(t,a),0!==t&&(e[t+1]=Rr(e[t+1],r)),e[a+1]=131071&e[a+1]|r<<17}else e[r+1]=Tr(a,0),0!==a&&(e[a+1]=Rr(e[a+1],r)),a=r;else e[r+1]=Tr(l,0),0===a?a=r:e[l+1]=Rr(e[l+1],r),l=r;u&&(e[r+1]=Ir(e[r+1])),$i(e,c,r,!0),$i(e,c,r,!1),function(e,t,n,r,s){const i=e.residualClasses;null!=i&&"string"==typeof t&&ot(i,t)>=0&&(n[r+1]=Pr(n[r+1]))}(t,c,e,r),o=Tr(a,l),t.classBindings=o}(s,r,t,n,i)}}(i,e,o),t!==Sr&&Si(s,o,t)){let r;null==n&&(r=function(){const e=Ht.lFrame;return null===e?null:e.currentSanitizer}())&&(n=r),function(e,t,n,r,s,i,o,a){if(3!==t.type)return;const l=e.data,c=l[a+1];Zi(1==(1&c)?Qi(l,t,n,s,Or(c),!0):void 0)||(Zi(i)||function(e){return 2==(2&e)}(c)&&(i=Qi(l,null,n,s,a,!0)),function(e,t,n,r,s){const i=Ot(e);s?i?e.addClass(n,r):n.classList.add(r):i?e.removeClass(n,r):n.classList.remove(r)}(r,0,Nt(pn(),n),s,i))}(i,i.data[pn()+19],s,s[11],e,s[o+1]=function(e,t){return null==e||("function"==typeof t?e=t(e):"string"==typeof t?e+=t:"object"==typeof e&&(e=Ce(rr(e)))),e}(t,n),0,o)}}(e,t,null),Bi}function Gi(e,t,n,r,s){let i=null;const o=n.directiveEnd;let a=n.directiveStylingLast;for(-1===a?a=n.directiveStart:a++;a<o&&(i=t[a],r=Wi(r,i.hostAttrs,s),i!==e);)a++;return null!==e&&(n.directiveStylingLast=a),r}function Wi(e,t,n){const r=n?1:2;let s=-1;if(null!==t)for(let i=0;i<t.length;i++){const o=t[i];"number"==typeof o?s=o:s===r&&(Array.isArray(e)||(e=void 0===e?[]:["",e]),st(e,o,!!n||t[++i]))}return void 0===e?null:e}function Qi(e,t,n,r,s,i){const o=null===t;let a=void 0;for(;s>0;){const t=e[s],i=Array.isArray(t),l=i?t[1]:t,c=null===l;let u=n[s+1];u===Sr&&(u=c?Hi:void 0);let h=c?it(u,r):l===r?u:void 0;if(i&&!Zi(h)&&(h=it(t,r)),Zi(h)&&(a=h,o))return a;const d=e[s+1];s=o?Ar(d):Or(d)}if(null!==t){let e=i?t.residualClasses:t.residualStyles;null!=e&&(a=it(e,r))}return a}function Zi(e){return void 0!==e}function Ki(e,t=""){const n=zt(),r=Bt(),s=e+19,i=r.firstCreatePass?Mr(r,n[6],e,3,null,null):r.data[s],o=n[s]=function(e,t){return Ot(t)?t.createText(e):t.createTextNode(e)}(t,n[11]);js(r,n,o,i),Qt(i,!1)}function Yi(e){return Ji("",e,""),Yi}function Ji(e,t,n){const r=zt(),s=function(e,t,n,r){return Si(e,en(),n)?t+Pn(n)+r:Sr}(r,e,t,n);return s!==Sr&&_s(r,pn(),s),Ji}function Xi(e,t,n,r,s){const i=zt(),o=function(e,t,n,r,s,i){const o=function(e,t,n,r){const s=Si(e,t,n);return Si(e,t+1,r)||s}(e,Ht.lFrame.bindingIndex,n,s);return tn(2),o?t+Pn(n)+r+Pn(s)+i:Sr}(i,e,t,n,r,s);return o!==Sr&&_s(i,pn(),o),Xi}function eo(e,t,n){const r=zt();return Si(r,en(),t)&&Qr(Bt(),mn(),r,e,t,r[11],n,!0),eo}function to(e,t){const n=Ut(e)[1],r=n.data.length-1;gn(n,{directiveStart:r,directiveEnd:r+1})}class no{constructor(e,t,n){this.previousValue=e,this.currentValue=t,this.firstChange=n}isFirstChange(){return this.firstChange}}function ro(e){e.type.prototype.ngOnChanges&&(e.setInput=so,e.onChanges=function(){const e=io(this),t=e&&e.current;if(t){const n=e.previous;if(n===ct)e.previous=t;else for(let e in t)n[e]=t[e];e.current=null,this.ngOnChanges(t)}})}function so(e,t,n,r){const s=io(e)||function(e,t){return e.__ngSimpleChanges__=t}(e,{previous:ct,current:null}),i=s.current||(s.current={}),o=s.previous,a=this.declaredInputs[n],l=o[a];i[a]=new no(l&&l.currentValue,t,o===ct),e[r]=t}function io(e){return e.__ngSimpleChanges__||null}ro.ngInherit=!0;class oo{}class ao{resolveComponentFactory(e){throw function(e){const t=Error(`No component factory found for ${Ce(e)}. Did you add it to @NgModule.entryComponents?`);return t.ngComponent=e,t}(e)}}let lo=(()=>{class e{}return e.NULL=new ao,e})(),co=(()=>{class e{constructor(e){this.nativeElement=e}}return e.__NG_ELEMENT_ID__=()=>uo(e),e})();const uo=function(e){return Ws(e,Wt(),zt())};class ho{}const po=function(){var e={Important:1,DashCase:2};return e[e.Important]="Important",e[e.DashCase]="DashCase",e}();let fo=(()=>{class e{}return e.__NG_ELEMENT_ID__=()=>mo(),e})();const mo=function(){const e=zt(),t=Mt(Wt().index,e);return function(e){const t=e[11];if(Ot(t))return t;throw new Error("Cannot inject Renderer2 when the application uses Renderer3!")}(Ct(t)?t:e)};let go=(()=>{class e{}return e.\u0275prov=de({token:e,providedIn:"root",factory:()=>null}),e})();class vo{constructor(e){this.full=e,this.major=e.split(".")[0],this.minor=e.split(".")[1],this.patch=e.split(".").slice(2).join(".")}}const yo=new vo("9.0.7");class wo{constructor(){}supports(e){return bi(e)}create(e){return new _o(e)}}const bo=(e,t)=>t;class _o{constructor(e){this.length=0,this._linkedRecords=null,this._unlinkedRecords=null,this._previousItHead=null,this._itHead=null,this._itTail=null,this._additionsHead=null,this._additionsTail=null,this._movesHead=null,this._movesTail=null,this._removalsHead=null,this._removalsTail=null,this._identityChangesHead=null,this._identityChangesTail=null,this._trackByFn=e||bo}forEachItem(e){let t;for(t=this._itHead;null!==t;t=t._next)e(t)}forEachOperation(e){let t=this._itHead,n=this._removalsHead,r=0,s=null;for(;t||n;){const i=!n||t&&t.currentIndex<Eo(n,r,s)?t:n,o=Eo(i,r,s),a=i.currentIndex;if(i===n)r--,n=n._nextRemoved;else if(t=t._next,null==i.previousIndex)r++;else{s||(s=[]);const e=o-r,t=a-r;if(e!=t){for(let n=0;n<e;n++){const r=n<s.length?s[n]:s[n]=0,i=r+n;t<=i&&i<e&&(s[n]=r+1)}s[i.previousIndex]=t-e}}o!==a&&e(i,o,a)}}forEachPreviousItem(e){let t;for(t=this._previousItHead;null!==t;t=t._nextPrevious)e(t)}forEachAddedItem(e){let t;for(t=this._additionsHead;null!==t;t=t._nextAdded)e(t)}forEachMovedItem(e){let t;for(t=this._movesHead;null!==t;t=t._nextMoved)e(t)}forEachRemovedItem(e){let t;for(t=this._removalsHead;null!==t;t=t._nextRemoved)e(t)}forEachIdentityChange(e){let t;for(t=this._identityChangesHead;null!==t;t=t._nextIdentityChange)e(t)}diff(e){if(null==e&&(e=[]),!bi(e))throw new Error(`Error trying to diff '${Ce(e)}'. Only arrays and iterables are allowed`);return this.check(e)?this:null}onDestroy(){}check(e){this._reset();let t,n,r,s=this._itHead,i=!1;if(Array.isArray(e)){this.length=e.length;for(let t=0;t<this.length;t++)n=e[t],r=this._trackByFn(t,n),null!==s&&wi(s.trackById,r)?(i&&(s=this._verifyReinsertion(s,n,r,t)),wi(s.item,n)||this._addIdentityChange(s,n)):(s=this._mismatch(s,n,r,t),i=!0),s=s._next}else t=0,function(e,t){if(Array.isArray(e))for(let n=0;n<e.length;n++)t(e[n]);else{const n=e[yi()]();let r;for(;!(r=n.next()).done;)t(r.value)}}(e,e=>{r=this._trackByFn(t,e),null!==s&&wi(s.trackById,r)?(i&&(s=this._verifyReinsertion(s,e,r,t)),wi(s.item,e)||this._addIdentityChange(s,e)):(s=this._mismatch(s,e,r,t),i=!0),s=s._next,t++}),this.length=t;return this._truncate(s),this.collection=e,this.isDirty}get isDirty(){return null!==this._additionsHead||null!==this._movesHead||null!==this._removalsHead||null!==this._identityChangesHead}_reset(){if(this.isDirty){let e,t;for(e=this._previousItHead=this._itHead;null!==e;e=e._next)e._nextPrevious=e._next;for(e=this._additionsHead;null!==e;e=e._nextAdded)e.previousIndex=e.currentIndex;for(this._additionsHead=this._additionsTail=null,e=this._movesHead;null!==e;e=t)e.previousIndex=e.currentIndex,t=e._nextMoved;this._movesHead=this._movesTail=null,this._removalsHead=this._removalsTail=null,this._identityChangesHead=this._identityChangesTail=null}}_mismatch(e,t,n,r){let s;return null===e?s=this._itTail:(s=e._prev,this._remove(e)),null!==(e=null===this._linkedRecords?null:this._linkedRecords.get(n,r))?(wi(e.item,t)||this._addIdentityChange(e,t),this._moveAfter(e,s,r)):null!==(e=null===this._unlinkedRecords?null:this._unlinkedRecords.get(n,null))?(wi(e.item,t)||this._addIdentityChange(e,t),this._reinsertAfter(e,s,r)):e=this._addAfter(new Co(t,n),s,r),e}_verifyReinsertion(e,t,n,r){let s=null===this._unlinkedRecords?null:this._unlinkedRecords.get(n,null);return null!==s?e=this._reinsertAfter(s,e._prev,r):e.currentIndex!=r&&(e.currentIndex=r,this._addToMoves(e,r)),e}_truncate(e){for(;null!==e;){const t=e._next;this._addToRemovals(this._unlink(e)),e=t}null!==this._unlinkedRecords&&this._unlinkedRecords.clear(),null!==this._additionsTail&&(this._additionsTail._nextAdded=null),null!==this._movesTail&&(this._movesTail._nextMoved=null),null!==this._itTail&&(this._itTail._next=null),null!==this._removalsTail&&(this._removalsTail._nextRemoved=null),null!==this._identityChangesTail&&(this._identityChangesTail._nextIdentityChange=null)}_reinsertAfter(e,t,n){null!==this._unlinkedRecords&&this._unlinkedRecords.remove(e);const r=e._prevRemoved,s=e._nextRemoved;return null===r?this._removalsHead=s:r._nextRemoved=s,null===s?this._removalsTail=r:s._prevRemoved=r,this._insertAfter(e,t,n),this._addToMoves(e,n),e}_moveAfter(e,t,n){return this._unlink(e),this._insertAfter(e,t,n),this._addToMoves(e,n),e}_addAfter(e,t,n){return this._insertAfter(e,t,n),this._additionsTail=null===this._additionsTail?this._additionsHead=e:this._additionsTail._nextAdded=e,e}_insertAfter(e,t,n){const r=null===t?this._itHead:t._next;return e._next=r,e._prev=t,null===r?this._itTail=e:r._prev=e,null===t?this._itHead=e:t._next=e,null===this._linkedRecords&&(this._linkedRecords=new xo),this._linkedRecords.put(e),e.currentIndex=n,e}_remove(e){return this._addToRemovals(this._unlink(e))}_unlink(e){null!==this._linkedRecords&&this._linkedRecords.remove(e);const t=e._prev,n=e._next;return null===t?this._itHead=n:t._next=n,null===n?this._itTail=t:n._prev=t,e}_addToMoves(e,t){return e.previousIndex===t?e:(this._movesTail=null===this._movesTail?this._movesHead=e:this._movesTail._nextMoved=e,e)}_addToRemovals(e){return null===this._unlinkedRecords&&(this._unlinkedRecords=new xo),this._unlinkedRecords.put(e),e.currentIndex=null,e._nextRemoved=null,null===this._removalsTail?(this._removalsTail=this._removalsHead=e,e._prevRemoved=null):(e._prevRemoved=this._removalsTail,this._removalsTail=this._removalsTail._nextRemoved=e),e}_addIdentityChange(e,t){return e.item=t,this._identityChangesTail=null===this._identityChangesTail?this._identityChangesHead=e:this._identityChangesTail._nextIdentityChange=e,e}}class Co{constructor(e,t){this.item=e,this.trackById=t,this.currentIndex=null,this.previousIndex=null,this._nextPrevious=null,this._prev=null,this._next=null,this._prevDup=null,this._nextDup=null,this._prevRemoved=null,this._nextRemoved=null,this._nextAdded=null,this._nextMoved=null,this._nextIdentityChange=null}}class So{constructor(){this._head=null,this._tail=null}add(e){null===this._head?(this._head=this._tail=e,e._nextDup=null,e._prevDup=null):(this._tail._nextDup=e,e._prevDup=this._tail,e._nextDup=null,this._tail=e)}get(e,t){let n;for(n=this._head;null!==n;n=n._nextDup)if((null===t||t<=n.currentIndex)&&wi(n.trackById,e))return n;return null}remove(e){const t=e._prevDup,n=e._nextDup;return null===t?this._head=n:t._nextDup=n,null===n?this._tail=t:n._prevDup=t,null===this._head}}class xo{constructor(){this.map=new Map}put(e){const t=e.trackById;let n=this.map.get(t);n||(n=new So,this.map.set(t,n)),n.add(e)}get(e,t){const n=this.map.get(e);return n?n.get(e,t):null}remove(e){const t=e.trackById;return this.map.get(t).remove(e)&&this.map.delete(t),e}get isEmpty(){return 0===this.map.size}clear(){this.map.clear()}}function Eo(e,t,n){const r=e.previousIndex;if(null===r)return r;let s=0;return n&&r<n.length&&(s=n[r]),r+t+s}class ko{constructor(){}supports(e){return e instanceof Map||_i(e)}create(){return new To}}class To{constructor(){this._records=new Map,this._mapHead=null,this._appendAfter=null,this._previousMapHead=null,this._changesHead=null,this._changesTail=null,this._additionsHead=null,this._additionsTail=null,this._removalsHead=null,this._removalsTail=null}get isDirty(){return null!==this._additionsHead||null!==this._changesHead||null!==this._removalsHead}forEachItem(e){let t;for(t=this._mapHead;null!==t;t=t._next)e(t)}forEachPreviousItem(e){let t;for(t=this._previousMapHead;null!==t;t=t._nextPrevious)e(t)}forEachChangedItem(e){let t;for(t=this._changesHead;null!==t;t=t._nextChanged)e(t)}forEachAddedItem(e){let t;for(t=this._additionsHead;null!==t;t=t._nextAdded)e(t)}forEachRemovedItem(e){let t;for(t=this._removalsHead;null!==t;t=t._nextRemoved)e(t)}diff(e){if(e){if(!(e instanceof Map||_i(e)))throw new Error(`Error trying to diff '${Ce(e)}'. Only maps and objects are allowed`)}else e=new Map;return this.check(e)?this:null}onDestroy(){}check(e){this._reset();let t=this._mapHead;if(this._appendAfter=null,this._forEach(e,(e,n)=>{if(t&&t.key===n)this._maybeAddToChanges(t,e),this._appendAfter=t,t=t._next;else{const r=this._getOrCreateRecordForKey(n,e);t=this._insertBeforeOrAppend(t,r)}}),t){t._prev&&(t._prev._next=null),this._removalsHead=t;for(let e=t;null!==e;e=e._nextRemoved)e===this._mapHead&&(this._mapHead=null),this._records.delete(e.key),e._nextRemoved=e._next,e.previousValue=e.currentValue,e.currentValue=null,e._prev=null,e._next=null}return this._changesTail&&(this._changesTail._nextChanged=null),this._additionsTail&&(this._additionsTail._nextAdded=null),this.isDirty}_insertBeforeOrAppend(e,t){if(e){const n=e._prev;return t._next=e,t._prev=n,e._prev=t,n&&(n._next=t),e===this._mapHead&&(this._mapHead=t),this._appendAfter=e,e}return this._appendAfter?(this._appendAfter._next=t,t._prev=this._appendAfter):this._mapHead=t,this._appendAfter=t,null}_getOrCreateRecordForKey(e,t){if(this._records.has(e)){const n=this._records.get(e);this._maybeAddToChanges(n,t);const r=n._prev,s=n._next;return r&&(r._next=s),s&&(s._prev=r),n._next=null,n._prev=null,n}const n=new Ao(e);return this._records.set(e,n),n.currentValue=t,this._addToAdditions(n),n}_reset(){if(this.isDirty){let e;for(this._previousMapHead=this._mapHead,e=this._previousMapHead;null!==e;e=e._next)e._nextPrevious=e._next;for(e=this._changesHead;null!==e;e=e._nextChanged)e.previousValue=e.currentValue;for(e=this._additionsHead;null!=e;e=e._nextAdded)e.previousValue=e.currentValue;this._changesHead=this._changesTail=null,this._additionsHead=this._additionsTail=null,this._removalsHead=null}}_maybeAddToChanges(e,t){wi(t,e.currentValue)||(e.previousValue=e.currentValue,e.currentValue=t,this._addToChanges(e))}_addToAdditions(e){null===this._additionsHead?this._additionsHead=this._additionsTail=e:(this._additionsTail._nextAdded=e,this._additionsTail=e)}_addToChanges(e){null===this._changesHead?this._changesHead=this._changesTail=e:(this._changesTail._nextChanged=e,this._changesTail=e)}_forEach(e,t){e instanceof Map?e.forEach(t):Object.keys(e).forEach(n=>t(e[n],n))}}class Ao{constructor(e){this.key=e,this.previousValue=null,this.currentValue=null,this._nextPrevious=null,this._next=null,this._prev=null,this._nextAdded=null,this._nextRemoved=null,this._nextChanged=null}}let Io=(()=>{class e{constructor(e){this.factories=e}static create(t,n){if(null!=n){const e=n.factories.slice();t=t.concat(e)}return new e(t)}static extend(t){return{provide:e,useFactory:n=>{if(!n)throw new Error("Cannot extend IterableDiffers without a parent injector");return e.create(t,n)},deps:[[e,new ce,new ae]]}}find(e){const t=this.factories.find(t=>t.supports(e));if(null!=t)return t;throw new Error(`Cannot find a differ supporting object '${e}' of type '${n=e,n.name||typeof n}'`);var n}}return e.\u0275prov=de({token:e,providedIn:"root",factory:()=>new e([new wo])}),e})(),Oo=(()=>{class e{constructor(e){this.factories=e}static create(t,n){if(n){const e=n.factories.slice();t=t.concat(e)}return new e(t)}static extend(t){return{provide:e,useFactory:n=>{if(!n)throw new Error("Cannot extend KeyValueDiffers without a parent injector");return e.create(t,n)},deps:[[e,new ce,new ae]]}}find(e){const t=this.factories.find(t=>t.supports(e));if(t)return t;throw new Error(`Cannot find a differ supporting object '${e}'`)}}return e.\u0275prov=de({token:e,providedIn:"root",factory:()=>new e([new ko])}),e})();const Ro=[new ko],Po=new Io([new wo]),No=new Oo(Ro);let Do=(()=>{class e{}return e.__NG_ELEMENT_ID__=()=>jo(e,co),e})();const jo=function(e,t){return Qs(e,t,Wt(),zt())};let Mo=(()=>{class e{}return e.__NG_ELEMENT_ID__=()=>Uo(e,co),e})();const Uo=function(e,t){return Zs(e,t,Wt(),zt())},Lo={};class Fo extends lo{constructor(e){super(),this.ngModule=e}resolveComponentFactory(e){const t=wt(e);return new Ho(t,this.ngModule)}}function Vo(e){const t=[];for(let n in e)e.hasOwnProperty(n)&&t.push({propName:e[n],templateName:n});return t}const qo=new Fe("SCHEDULER_TOKEN",{providedIn:"root",factory:()=>Dn});class Ho extends oo{constructor(e,t){super(),this.componentDef=e,this.ngModule=t,this.componentType=e.type,this.selector=e.selectors.map(Cr).join(","),this.ngContentSelectors=e.ngContentSelectors?e.ngContentSelectors:[],this.isBoundToModule=!!t}get inputs(){return Vo(this.componentDef.inputs)}get outputs(){return Vo(this.componentDef.outputs)}create(e,t,n,r){const s=(r=r||this.ngModule)?function(e,t){return{get:(n,r,s)=>{const i=e.get(n,Lo,s);return i!==Lo||r===Lo?i:t.get(n,r,s)}}}(e,r.injector):e,i=s.get(ho,Rt),o=s.get(go,null),a=i.createRenderer(null,this.componentDef),l=this.componentDef.selectors[0][0]||"div",c=n?function(e,t,n){if(Ot(e))return e.selectRootElement(t,n===lt.ShadowDom);let r="string"==typeof t?e.querySelector(t):t;return r.textContent="",r}(a,n,this.componentDef.encapsulation):Dr(l,i.createRenderer(null,this.componentDef),function(e){const t=e.toLowerCase();return"svg"===t?"http://www.w3.org/2000/svg":"math"===t?"http://www.w3.org/1998/MathML/":null}(l)),u=this.componentDef.onPush?576:528,h="string"==typeof n&&/^#root-ng-internal-isolated-\d+/.test(n),d={components:[],scheduler:Dn,clean:gs,playerHandler:null,flags:0},p=Br(0,-1,null,1,0,null,null,null,null,null),f=jr(null,p,d,u,null,null,i,a,o,s);let m,g;an(f,null);try{const e=function(e,t,n,r,s,i){const o=n[1];n[19]=e;const a=Mr(o,null,0,3,null,null),l=a.mergedAttrs=t.hostAttrs;null!==l&&(gi(a,l),null!==e&&(Sn(s,e,l),null!==a.classes&&qs(s,e,a.classes),null!==a.styles&&Vs(s,e,a.styles)));const c=r.createRenderer(e,t),u=jr(n,zr(t),null,t.onPush?64:16,n[19],a,r,c,void 0);return o.firstCreatePass&&($n(Fn(a,n),o,t.type),es(o,a),ns(a,n.length,1)),hs(n,u),n[19]=u}(c,this.componentDef,f,i,a);if(c)if(n)Sn(a,c,["ng-version",yo.full]);else{const{attrs:e,classes:t}=function(e){const t=[],n=[];let r=1,s=2;for(;r<e.length;){let i=e[r];if("string"==typeof i)2===s?""!==i&&t.push(i,e[++r]):8===s&&n.push(i);else{if(!yr(s))break;s=i}r++}return{attrs:t,classes:n}}(this.componentDef.selectors[0]);e&&Sn(a,c,e),t&&t.length>0&&qs(a,c,t.join(" "))}g=jt(f[1],0),t&&(g.projection=t.map(e=>Array.from(e))),m=function(e,t,n,r,s){const i=n[1],o=function(e,t,n){const r=Wt();e.firstCreatePass&&(n.providersResolver&&n.providersResolver(n),Xr(e,r,1),rs(e,t,n));const s=Qn(t,e,t.length-1,r);hr(s,t);const i=Dt(r,t);return i&&hr(i,t),s}(i,n,t);r.components.push(o),e[8]=o,s&&s.forEach(e=>e(o,t)),t.contentQueries&&t.contentQueries(1,o,n.length-1);const a=Wt();if(i.firstCreatePass&&(null!==t.hostBindings||null!==t.hostAttrs)){fn(a.index-19);const e=n[1];Kr(e,t),Yr(e,n,t.hostVars),Jr(t,o)}return o}(e,this.componentDef,f,d,[to]),Ur(p,f,null)}finally{dn()}const v=new $o(this.componentType,m,Ws(co,g,f),f,g);return n&&!h||(v.hostView._tViewNode.child=g),v}}class $o extends class{}{constructor(e,t,n,r,s){super(),this.location=n,this._rootLView=r,this._tNode=s,this.destroyCbs=[],this.instance=t,this.hostView=this.changeDetectorRef=new $s(r),this.hostView._tViewNode=function(e,t,n,r){let s=e.node;return null==s&&(e.node=s=Gr(0,null,2,-1,null,null)),r[6]=s}(r[1],0,0,r),this.componentType=e}get injector(){return new Yn(this._tNode,this._rootLView)}destroy(){this.destroyCbs&&(this.destroyCbs.forEach(e=>e()),this.destroyCbs=null,!this.hostView.destroyed&&this.hostView.destroy())}onDestroy(e){this.destroyCbs&&this.destroyCbs.push(e)}}const zo=void 0;var Bo=["en",[["a","p"],["AM","PM"],zo],[["AM","PM"],zo,zo],[["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"]],zo,[["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"]],zo,[["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}",zo,"{1} 'at' {0}",zo],[".",",",";","%","+","-","E","\xd7","\u2030","\u221e","NaN",":"],["#,##0.###","#,##0%","\xa4#,##0.00","#E0"],"USD","$","US Dollar",{},function(e){let t=Math.floor(Math.abs(e)),n=e.toString().replace(/^[^.]*\.?/,"").length;return 1===t&&0===n?1:5}];let Go={};function Wo(e){return e in Go||(Go[e]=Re.ng&&Re.ng.common&&Re.ng.common.locales&&Re.ng.common.locales[e]),Go[e]}const Qo=function(){var e={LocaleId:0,DayPeriodsFormat:1,DayPeriodsStandalone:2,DaysFormat:3,DaysStandalone:4,MonthsFormat:5,MonthsStandalone:6,Eras:7,FirstDayOfWeek:8,WeekendRange:9,DateFormat:10,TimeFormat:11,DateTimeFormat:12,NumberSymbols:13,NumberFormats:14,CurrencyCode:15,CurrencySymbol:16,CurrencyName:17,Currencies:18,PluralCase:19,ExtraData:20};return e[e.LocaleId]="LocaleId",e[e.DayPeriodsFormat]="DayPeriodsFormat",e[e.DayPeriodsStandalone]="DayPeriodsStandalone",e[e.DaysFormat]="DaysFormat",e[e.DaysStandalone]="DaysStandalone",e[e.MonthsFormat]="MonthsFormat",e[e.MonthsStandalone]="MonthsStandalone",e[e.Eras]="Eras",e[e.FirstDayOfWeek]="FirstDayOfWeek",e[e.WeekendRange]="WeekendRange",e[e.DateFormat]="DateFormat",e[e.TimeFormat]="TimeFormat",e[e.DateTimeFormat]="DateTimeFormat",e[e.NumberSymbols]="NumberSymbols",e[e.NumberFormats]="NumberFormats",e[e.CurrencyCode]="CurrencyCode",e[e.CurrencySymbol]="CurrencySymbol",e[e.CurrencyName]="CurrencyName",e[e.Currencies]="Currencies",e[e.PluralCase]="PluralCase",e[e.ExtraData]="ExtraData",e}();let Zo="en-US";function Ko(e){var t,n;n="Expected localeId to be defined",null==(t=e)&&function(e,t,n,r){throw new Error(`ASSERTION ERROR: ${e}`+` [Expected=> null != ${t} <=Actual]`)}(n,t),"string"==typeof e&&(Zo=e.toLowerCase().replace(/_/g,"-"))}const Yo=new Map;class Jo extends Xe{constructor(e,t){super(),this._parent=t,this._bootstrapComponents=[],this.injector=this,this.destroyCbs=[],this.componentFactoryResolver=new Fo(this);const n=_t(e),r=e[Me]||null;r&&Ko(r),this._bootstrapComponents=jn(n.bootstrap),this._r3Injector=si(e,t,[{provide:Xe,useValue:this},{provide:lo,useValue:this.componentFactoryResolver}],Ce(e)),this._r3Injector._resolveInjectorDefTypes(),this.instance=this.get(e)}get(e,t=hi.THROW_IF_NOT_FOUND,n=ue.Default){return e===hi||e===Xe||e===Ve?this:this._r3Injector.get(e,t,n)}destroy(){const e=this._r3Injector;!e.destroyed&&e.destroy(),this.destroyCbs.forEach(e=>e()),this.destroyCbs=null}onDestroy(e){this.destroyCbs.push(e)}}class Xo extends et{constructor(e){super(),this.moduleType=e,null!==_t(e)&&function e(t){if(null!==t.\u0275mod.id){const e=t.\u0275mod.id;(function(e,t,n){if(t&&t!==n)throw new Error(`Duplicate module registered for ${e} - ${Ce(t)} vs ${Ce(t.name)}`)})(e,Yo.get(e),t),Yo.set(e,t)}let n=t.\u0275mod.imports;n instanceof Function&&(n=n()),n&&n.forEach(t=>e(t))}(e)}create(e){return new Jo(this.moduleType,e)}}function ea(e,t,n,r){return function(e,t,n,r,s,i){const o=t+n;return Si(e,o,s)?Ci(e,o+1,i?r.call(i,s):r(s)):function(e,t){const n=e[t];return n===Sr?void 0:n}(e,o+1)}(zt(),Xt(),e,t,n,r)}class ta extends E{constructor(e=!1){super(),this.__isAsync=e}emit(e){super.next(e)}subscribe(e,t,n){let r,s=e=>null,i=()=>null;e&&"object"==typeof e?(r=this.__isAsync?t=>{setTimeout(()=>e.next(t))}:t=>{e.next(t)},e.error&&(s=this.__isAsync?t=>{setTimeout(()=>e.error(t))}:t=>{e.error(t)}),e.complete&&(i=this.__isAsync?()=>{setTimeout(()=>e.complete())}:()=>{e.complete()})):(r=this.__isAsync?t=>{setTimeout(()=>e(t))}:t=>{e(t)},t&&(s=this.__isAsync?e=>{setTimeout(()=>t(e))}:e=>{t(e)}),n&&(i=this.__isAsync?()=>{setTimeout(()=>n())}:()=>{n()}));const o=super.subscribe(r,s,i);return e instanceof h&&e.add(o),o}}function na(){return this._results[yi()]()}class ra{constructor(){this.dirty=!0,this._results=[],this.changes=new ta,this.length=0;const e=yi(),t=ra.prototype;t[e]||(t[e]=na)}map(e){return this._results.map(e)}filter(e){return this._results.filter(e)}find(e){return this._results.find(e)}reduce(e,t){return this._results.reduce(e,t)}forEach(e){this._results.forEach(e)}some(e){return this._results.some(e)}toArray(){return this._results.slice()}toString(){return this._results.toString()}reset(e){this._results=function e(t,n){void 0===n&&(n=t);for(let r=0;r<t.length;r++){let s=t[r];Array.isArray(s)?(n===t&&(n=t.slice(0,r)),e(s,n)):n!==t&&n.push(s)}return n}(e),this.dirty=!1,this.length=this._results.length,this.last=this._results[this.length-1],this.first=this._results[0]}notifyOnChanges(){this.changes.emit(this)}setDirty(){this.dirty=!0}destroy(){this.changes.complete(),this.changes.unsubscribe()}}class sa{constructor(e){this.queryList=e,this.matches=null}clone(){return new sa(this.queryList)}setDirty(){this.queryList.setDirty()}}class ia{constructor(e=[]){this.queries=e}createEmbeddedView(e){const t=e.queries;if(null!==t){const n=null!==e.contentQueries?e.contentQueries[0]:t.length,r=[];for(let e=0;e<n;e++){const n=t.getByIndex(e);r.push(this.queries[n.indexInDeclarationView].clone())}return new ia(r)}return null}insertView(e){this.dirtyQueriesWithMatches(e)}detachView(e){this.dirtyQueriesWithMatches(e)}dirtyQueriesWithMatches(e){for(let t=0;t<this.queries.length;t++)null!==ma(e,t).matches&&this.queries[t].setDirty()}}class oa{constructor(e,t,n,r=null){this.predicate=e,this.descendants=t,this.isStatic=n,this.read=r}}class aa{constructor(e=[]){this.queries=e}elementStart(e,t){for(let n=0;n<this.queries.length;n++)this.queries[n].elementStart(e,t)}elementEnd(e){for(let t=0;t<this.queries.length;t++)this.queries[t].elementEnd(e)}embeddedTView(e){let t=null;for(let n=0;n<this.length;n++){const r=null!==t?t.length:0,s=this.getByIndex(n).embeddedTView(e,r);s&&(s.indexInDeclarationView=n,null!==t?t.push(s):t=[s])}return null!==t?new aa(t):null}template(e,t){for(let n=0;n<this.queries.length;n++)this.queries[n].template(e,t)}getByIndex(e){return this.queries[e]}get length(){return this.queries.length}track(e){this.queries.push(e)}}class la{constructor(e,t=-1){this.metadata=e,this.matches=null,this.indexInDeclarationView=-1,this.crossesNgTemplate=!1,this._appliesToNextNode=!0,this._declarationNodeIndex=t}elementStart(e,t){this.isApplyingToNode(t)&&this.matchTNode(e,t)}elementEnd(e){this._declarationNodeIndex===e.index&&(this._appliesToNextNode=!1)}template(e,t){this.elementStart(e,t)}embeddedTView(e,t){return this.isApplyingToNode(e)?(this.crossesNgTemplate=!0,this.addMatch(-e.index,t),new la(this.metadata)):null}isApplyingToNode(e){if(this._appliesToNextNode&&!1===this.metadata.descendants){const t=this._declarationNodeIndex;let n=e.parent;for(;null!==n&&4===n.type&&n.index!==t;)n=n.parent;return t===(null!==n?n.index:-1)}return this._appliesToNextNode}matchTNode(e,t){if(Array.isArray(this.metadata.predicate)){const n=this.metadata.predicate;for(let r=0;r<n.length;r++)this.matchTNodeWithReadOption(e,t,ca(t,n[r]))}else{const n=this.metadata.predicate;n===Do?0===t.type&&this.matchTNodeWithReadOption(e,t,-1):this.matchTNodeWithReadOption(e,t,Wn(t,e,n,!1,!1))}}matchTNodeWithReadOption(e,t,n){if(null!==n){const r=this.metadata.read;if(null!==r)if(r===co||r===Mo||r===Do&&0===t.type)this.addMatch(t.index,-2);else{const n=Wn(t,e,r,!1,!1);null!==n&&this.addMatch(t.index,n)}else this.addMatch(t.index,n)}}addMatch(e,t){null===this.matches?this.matches=[e,t]:this.matches.push(e,t)}}function ca(e,t){const n=e.localNames;if(null!==n)for(let r=0;r<n.length;r+=2)if(n[r]===t)return n[r+1];return null}function ua(e,t,n,r){return-1===n?function(e,t){return 3===e.type||4===e.type?Ws(co,e,t):0===e.type?Qs(Do,co,e,t):null}(t,e):-2===n?function(e,t,n){return n===co?Ws(co,t,e):n===Do?Qs(Do,co,t,e):n===Mo?Zs(Mo,co,t,e):void 0}(e,t,r):Qn(e,e[1],n,t)}function ha(e,t,n,r){const s=t[5].queries[r];if(null===s.matches){const r=e.data,i=n.matches,o=[];for(let e=0;e<i.length;e+=2){const s=i[e];o.push(s<0?null:ua(t,r[s],i[e+1],n.metadata.read))}s.matches=o}return s.matches}function da(e){const t=zt(),n=Bt(),r=rn();sn(r+1);const s=ma(n,r);if(e.dirty&&Lt(t)===s.metadata.isStatic){if(null===s.matches)e.reset([]);else{const i=s.crossesNgTemplate?function e(t,n,r,s){const i=t.queries.getByIndex(r),o=i.matches;if(null!==o){const a=ha(t,n,i,r);for(let t=0;t<o.length;t+=2){const r=o[t];if(r>0)s.push(a[t/2]);else{const i=o[t+1],a=n[-r];for(let t=9;t<a.length;t++){const n=a[t];n[17]===n[3]&&e(n[1],n,i,s)}if(null!==a[5]){const t=a[5];for(let n=0;n<t.length;n++){const r=t[n];e(r[1],r,i,s)}}}}}return s}(n,t,r,[]):ha(n,t,s,r);e.reset(i),e.notifyOnChanges()}return!0}return!1}function pa(e,t,n,r){!function(e,t,n,r,s,i,o,a){e.firstCreatePass&&(function(e,t,n){null===e.queries&&(e.queries=new aa),e.queries.track(new la(t,n))}(e,new oa(n,r,!1,s),o.index),function(e,t){const n=e.contentQueries||(e.contentQueries=[]);t!==(e.contentQueries.length?n[n.length-1]:-1)&&n.push(e.queries.length-1,t)}(e,a)),function(e,t){const n=new ra;!function(e,t,n,r){const s=vs(t);s.push(n),e.firstCreatePass&&ys(e).push(r,s.length-1)}(e,t,n,n.destroy),null===t[5]&&(t[5]=new ia),t[5].queries.push(new sa(n))}(e,t)}(Bt(),zt(),t,n,r,0,Wt(),e)}function fa(){return e=zt(),t=rn(),e[5].queries[t].queryList;var e,t}function ma(e,t){return e.queries.getByIndex(t)}function ga(e,t){return Qs(Do,co,e,t)}const va=new Fe("Application Initializer");let ya=(()=>{class e{constructor(e){this.appInits=e,this.initialized=!1,this.done=!1,this.donePromise=new Promise((e,t)=>{this.resolve=e,this.reject=t})}runInitializers(){if(this.initialized)return;const e=[],t=()=>{this.done=!0,this.resolve()};if(this.appInits)for(let n=0;n<this.appInits.length;n++){const t=this.appInits[n]();Ui(t)&&e.push(t)}Promise.all(e).then(()=>{t()}).catch(e=>{this.reject(e)}),0===e.length&&t(),this.initialized=!0}}return e.\u0275fac=function(t){return new(t||e)(Ze(va,8))},e.\u0275prov=de({token:e,factory:e.\u0275fac}),e})();const wa=new Fe("AppId"),ba={provide:wa,useFactory:function(){return`${_a()}${_a()}${_a()}`},deps:[]};function _a(){return String.fromCharCode(97+Math.floor(25*Math.random()))}const Ca=new Fe("Platform Initializer"),Sa=new Fe("Platform ID"),xa=new Fe("appBootstrapListener");let Ea=(()=>{class e{log(e){console.log(e)}warn(e){console.warn(e)}}return e.\u0275fac=function(t){return new(t||e)},e.\u0275prov=de({token:e,factory:e.\u0275fac}),e})();const ka=new Fe("LocaleId"),Ta=new Fe("DefaultCurrencyCode");class Aa{constructor(e,t){this.ngModuleFactory=e,this.componentFactories=t}}const Ia=function(e){return new Xo(e)},Oa=Ia,Ra=function(e){return Promise.resolve(Ia(e))},Pa=function(e){const t=Ia(e),n=jn(_t(e).declarations).reduce((e,t)=>{const n=wt(t);return n&&e.push(new Ho(n)),e},[]);return new Aa(t,n)},Na=Pa,Da=function(e){return Promise.resolve(Pa(e))};let ja=(()=>{class e{constructor(){this.compileModuleSync=Oa,this.compileModuleAsync=Ra,this.compileModuleAndAllComponentsSync=Na,this.compileModuleAndAllComponentsAsync=Da}clearCache(){}clearCacheFor(e){}getModuleId(e){}}return e.\u0275fac=function(t){return new(t||e)},e.\u0275prov=de({token:e,factory:e.\u0275fac}),e})();const Ma=new Fe("compilerOptions"),Ua=(()=>Promise.resolve(0))();function La(e){"undefined"==typeof Zone?Ua.then(()=>{e&&e.apply(null,null)}):Zone.current.scheduleMicroTask("scheduleMicrotask",e)}class Fa{constructor({enableLongStackTrace:e=!1,shouldCoalesceEventChangeDetection:t=!1}){if(this.hasPendingMacrotasks=!1,this.hasPendingMicrotasks=!1,this.isStable=!0,this.onUnstable=new ta(!1),this.onMicrotaskEmpty=new ta(!1),this.onStable=new ta(!1),this.onError=new ta(!1),"undefined"==typeof Zone)throw new Error("In this configuration Angular requires Zone.js");Zone.assertZonePatched(),this._nesting=0,this._outer=this._inner=Zone.current,Zone.wtfZoneSpec&&(this._inner=this._inner.fork(Zone.wtfZoneSpec)),Zone.TaskTrackingZoneSpec&&(this._inner=this._inner.fork(new Zone.TaskTrackingZoneSpec)),e&&Zone.longStackTraceZoneSpec&&(this._inner=this._inner.fork(Zone.longStackTraceZoneSpec)),this.shouldCoalesceEventChangeDetection=t,this.lastRequestAnimationFrameId=-1,this.nativeRequestAnimationFrame=function(){let e=Re.requestAnimationFrame,t=Re.cancelAnimationFrame;if("undefined"!=typeof Zone&&e&&t){const n=e[Zone.__symbol__("OriginalDelegate")];n&&(e=n);const r=t[Zone.__symbol__("OriginalDelegate")];r&&(t=r)}return{nativeRequestAnimationFrame:e,nativeCancelAnimationFrame:t}}().nativeRequestAnimationFrame,function(e){const t=!!e.shouldCoalesceEventChangeDetection&&e.nativeRequestAnimationFrame&&(()=>{!function(e){-1===e.lastRequestAnimationFrameId&&(e.lastRequestAnimationFrameId=e.nativeRequestAnimationFrame.call(Re,()=>{e.lastRequestAnimationFrameId=-1,$a(e),Ha(e)}),$a(e))}(e)});e._inner=e._inner.fork({name:"angular",properties:{isAngularZone:!0,maybeDelayChangeDetection:t},onInvokeTask:(n,r,s,i,o,a)=>{try{return za(e),n.invokeTask(s,i,o,a)}finally{t&&"eventTask"===i.type&&t(),Ba(e)}},onInvoke:(t,n,r,s,i,o,a)=>{try{return za(e),t.invoke(r,s,i,o,a)}finally{Ba(e)}},onHasTask:(t,n,r,s)=>{t.hasTask(r,s),n===r&&("microTask"==s.change?(e._hasPendingMicrotasks=s.microTask,$a(e),Ha(e)):"macroTask"==s.change&&(e.hasPendingMacrotasks=s.macroTask))},onHandleError:(t,n,r,s)=>(t.handleError(r,s),e.runOutsideAngular(()=>e.onError.emit(s)),!1)})}(this)}static isInAngularZone(){return!0===Zone.current.get("isAngularZone")}static assertInAngularZone(){if(!Fa.isInAngularZone())throw new Error("Expected to be in Angular Zone, but it is not!")}static assertNotInAngularZone(){if(Fa.isInAngularZone())throw new Error("Expected to not be in Angular Zone, but it is!")}run(e,t,n){return this._inner.run(e,t,n)}runTask(e,t,n,r){const s=this._inner,i=s.scheduleEventTask("NgZoneEvent: "+r,e,qa,Va,Va);try{return s.runTask(i,t,n)}finally{s.cancelTask(i)}}runGuarded(e,t,n){return this._inner.runGuarded(e,t,n)}runOutsideAngular(e){return this._outer.run(e)}}function Va(){}const qa={};function Ha(e){if(0==e._nesting&&!e.hasPendingMicrotasks&&!e.isStable)try{e._nesting++,e.onMicrotaskEmpty.emit(null)}finally{if(e._nesting--,!e.hasPendingMicrotasks)try{e.runOutsideAngular(()=>e.onStable.emit(null))}finally{e.isStable=!0}}}function $a(e){e.hasPendingMicrotasks=!!(e._hasPendingMicrotasks||e.shouldCoalesceEventChangeDetection&&-1!==e.lastRequestAnimationFrameId)}function za(e){e._nesting++,e.isStable&&(e.isStable=!1,e.onUnstable.emit(null))}function Ba(e){e._nesting--,Ha(e)}class Ga{constructor(){this.hasPendingMicrotasks=!1,this.hasPendingMacrotasks=!1,this.isStable=!0,this.onUnstable=new ta,this.onMicrotaskEmpty=new ta,this.onStable=new ta,this.onError=new ta}run(e,t,n){return e.apply(t,n)}runGuarded(e,t,n){return e.apply(t,n)}runOutsideAngular(e){return e()}runTask(e,t,n,r){return e.apply(t,n)}}let Wa=(()=>{class e{constructor(e){this._ngZone=e,this._pendingCount=0,this._isZoneStable=!0,this._didWork=!1,this._callbacks=[],this.taskTrackingZone=null,this._watchAngularEvents(),e.run(()=>{this.taskTrackingZone="undefined"==typeof Zone?null:Zone.current.get("TaskTrackingZone")})}_watchAngularEvents(){this._ngZone.onUnstable.subscribe({next:()=>{this._didWork=!0,this._isZoneStable=!1}}),this._ngZone.runOutsideAngular(()=>{this._ngZone.onStable.subscribe({next:()=>{Fa.assertNotInAngularZone(),La(()=>{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())La(()=>{for(;0!==this._callbacks.length;){let e=this._callbacks.pop();clearTimeout(e.timeoutId),e.doneCb(this._didWork)}this._didWork=!1});else{let e=this.getPendingTasks();this._callbacks=this._callbacks.filter(t=>!t.updateCb||!t.updateCb(e)||(clearTimeout(t.timeoutId),!1)),this._didWork=!0}}getPendingTasks(){return this.taskTrackingZone?this.taskTrackingZone.macroTasks.map(e=>({source:e.source,creationLocation:e.creationLocation,data:e.data})):[]}addCallback(e,t,n){let r=-1;t&&t>0&&(r=setTimeout(()=>{this._callbacks=this._callbacks.filter(e=>e.timeoutId!==r),e(this._didWork,this.getPendingTasks())},t)),this._callbacks.push({doneCb:e,timeoutId:r,updateCb:n})}whenStable(e,t,n){if(n&&!this.taskTrackingZone)throw new Error('Task tracking zone is required when passing an update callback to whenStable(). Is "zone.js/dist/task-tracking.js" loaded?');this.addCallback(e,t,n),this._runCallbacksIfReady()}getPendingRequestCount(){return this._pendingCount}findProviders(e,t,n){return[]}}return e.\u0275fac=function(t){return new(t||e)(Ze(Fa))},e.\u0275prov=de({token:e,factory:e.\u0275fac}),e})(),Qa=(()=>{class e{constructor(){this._applications=new Map,Ya.addToWindow(this)}registerApplication(e,t){this._applications.set(e,t)}unregisterApplication(e){this._applications.delete(e)}unregisterAllApplications(){this._applications.clear()}getTestability(e){return this._applications.get(e)||null}getAllTestabilities(){return Array.from(this._applications.values())}getAllRootElements(){return Array.from(this._applications.keys())}findTestabilityInTree(e,t=!0){return Ya.findTestabilityInTree(this,e,t)}}return e.\u0275fac=function(t){return new(t||e)},e.\u0275prov=de({token:e,factory:e.\u0275fac}),e})();class Za{addToWindow(e){}findTestabilityInTree(e,t,n){return null}}let Ka,Ya=new Za,Ja=function(e,t,n){const r=new Xo(n);if(0===pi.size)return Promise.resolve(r);const s=function(e){const t=[];return e.forEach(e=>e&&t.push(...e)),t}(e.get(Ma,[]).concat(t).map(e=>e.providers));if(0===s.length)return Promise.resolve(r);const i=function(){const e=Re.ng;if(!e||!e.\u0275compilerFacade)throw new Error("Angular JIT compilation failed: '@angular/compiler' not loaded!\n - JIT compilation is discouraged for production use-cases! Consider AOT mode instead.\n - Did you bootstrap using '@angular/platform-browser-dynamic' or '@angular/platform-server'?\n - Alternatively provide the compiler with 'import \"@angular/compiler\";' before bootstrapping.");return e.\u0275compilerFacade}(),o=hi.create({providers:s}).get(i.ResourceLoader);return function(e){const t=[],n=new Map;function r(e){let t=n.get(e);if(!t){const r=(e=>Promise.resolve(o.get(e)))(e);n.set(e,t=r.then(mi))}return t}return pi.forEach((e,n)=>{const s=[];e.templateUrl&&s.push(r(e.templateUrl).then(t=>{e.template=t}));const i=e.styleUrls,o=e.styles||(e.styles=[]),a=e.styles.length;i&&i.forEach((t,n)=>{o.push(""),s.push(r(t).then(r=>{o[a+n]=r,i.splice(i.indexOf(t),1),0==i.length&&(e.styleUrls=void 0)}))});const l=Promise.all(s).then(()=>function(e){fi.delete(e)}(n));t.push(l)}),pi=new Map,Promise.all(t).then(()=>{})}().then(()=>r)};const Xa=new Fe("AllowMultipleToken");class el{constructor(e,t){this.name=e,this.token=t}}function tl(e,t,n=[]){const r=`Platform: ${t}`,s=new Fe(r);return(t=[])=>{let i=nl();if(!i||i.injector.get(Xa,!1))if(e)e(n.concat(t).concat({provide:s,useValue:!0}));else{const e=n.concat(t).concat({provide:s,useValue:!0},{provide:Js,useValue:"platform"});!function(e){if(Ka&&!Ka.destroyed&&!Ka.injector.get(Xa,!1))throw new Error("There can be only one platform. Destroy the previous one to create a new one.");Ka=e.get(rl);const t=e.get(Ca,null);t&&t.forEach(e=>e())}(hi.create({providers:e,name:r}))}return function(e){const t=nl();if(!t)throw new Error("No platform exists!");if(!t.injector.get(e,null))throw new Error("A platform with a different configuration has been created. Please destroy it first.");return t}(s)}}function nl(){return Ka&&!Ka.destroyed?Ka:null}let rl=(()=>{class e{constructor(e){this._injector=e,this._modules=[],this._destroyListeners=[],this._destroyed=!1}bootstrapModuleFactory(e,t){const n=function(e,t){let n;return n="noop"===e?new Ga:("zone.js"===e?void 0:e)||new Fa({enableLongStackTrace:or(),shouldCoalesceEventChangeDetection:t}),n}(t?t.ngZone:void 0,t&&t.ngZoneEventCoalescing||!1),r=[{provide:Fa,useValue:n}];return n.run(()=>{const t=hi.create({providers:r,parent:this.injector,name:e.moduleType.name}),s=e.create(t),i=s.injector.get(tr,null);if(!i)throw new Error("No ErrorHandler. Is platform module (BrowserModule) included?");return s.onDestroy(()=>ol(this._modules,s)),n.runOutsideAngular(()=>n.onError.subscribe({next:e=>{i.handleError(e)}})),function(e,t,n){try{const r=n();return Ui(r)?r.catch(n=>{throw t.runOutsideAngular(()=>e.handleError(n)),n}):r}catch(r){throw t.runOutsideAngular(()=>e.handleError(r)),r}}(i,n,()=>{const e=s.injector.get(ya);return e.runInitializers(),e.donePromise.then(()=>(Ko(s.injector.get(ka,"en-US")||"en-US"),this._moduleDoBootstrap(s),s))})})}bootstrapModule(e,t=[]){const n=sl({},t);return Ja(this.injector,n,e).then(e=>this.bootstrapModuleFactory(e,n))}_moduleDoBootstrap(e){const t=e.injector.get(il);if(e._bootstrapComponents.length>0)e._bootstrapComponents.forEach(e=>t.bootstrap(e));else{if(!e.instance.ngDoBootstrap)throw new Error(`The module ${Ce(e.instance.constructor)} was bootstrapped, but it does not declare "@NgModule.bootstrap" components nor a "ngDoBootstrap" method. `+"Please define one of these.");e.instance.ngDoBootstrap(t)}this._modules.push(e)}onDestroy(e){this._destroyListeners.push(e)}get injector(){return this._injector}destroy(){if(this._destroyed)throw new Error("The platform has already been destroyed!");this._modules.slice().forEach(e=>e.destroy()),this._destroyListeners.forEach(e=>e()),this._destroyed=!0}get destroyed(){return this._destroyed}}return e.\u0275fac=function(t){return new(t||e)(Ze(hi))},e.\u0275prov=de({token:e,factory:e.\u0275fac}),e})();function sl(e,t){return Array.isArray(t)?t.reduce(sl,e):Object.assign(Object.assign({},e),t)}let il=(()=>{class e{constructor(e,t,n,r,s,i){this._zone=e,this._console=t,this._injector=n,this._exceptionHandler=r,this._componentFactoryResolver=s,this._initStatus=i,this._bootstrapListeners=[],this._views=[],this._runningTick=!1,this._enforceNoNewChanges=!1,this._stable=!0,this.componentTypes=[],this.components=[],this._enforceNoNewChanges=or(),this._zone.onMicrotaskEmpty.subscribe({next:()=>{this._zone.run(()=>{this.tick()})}});const o=new b(e=>{this._stable=this._zone.isStable&&!this._zone.hasPendingMacrotasks&&!this._zone.hasPendingMicrotasks,this._zone.runOutsideAngular(()=>{e.next(this._stable),e.complete()})}),a=new b(e=>{let t;this._zone.runOutsideAngular(()=>{t=this._zone.onStable.subscribe(()=>{Fa.assertNotInAngularZone(),La(()=>{this._stable||this._zone.hasPendingMacrotasks||this._zone.hasPendingMicrotasks||(this._stable=!0,e.next(!0))})})});const n=this._zone.onUnstable.subscribe(()=>{Fa.assertInAngularZone(),this._stable&&(this._stable=!1,this._zone.runOutsideAngular(()=>{e.next(!1)}))});return()=>{t.unsubscribe(),n.unsubscribe()}});this.isStable=Q(o,a.pipe(e=>Z()(te(re)(e))))}bootstrap(e,t){if(!this._initStatus.done)throw new Error("Cannot bootstrap as there are still asynchronous initializers running. Bootstrap components in the `ngDoBootstrap` method of the root module.");let n;n=e instanceof oo?e:this._componentFactoryResolver.resolveComponentFactory(e),this.componentTypes.push(n.componentType);const r=n.isBoundToModule?void 0:this._injector.get(Xe),s=n.create(hi.NULL,[],t||n.selector,r);s.onDestroy(()=>{this._unloadComponent(s)});const i=s.injector.get(Wa,null);return i&&s.injector.get(Qa).registerApplication(s.location.nativeElement,i),this._loadComponent(s),or()&&this._console.log("Angular is running in the development mode. Call enableProdMode() to enable the production mode."),s}tick(){if(this._runningTick)throw new Error("ApplicationRef.tick is called recursively");try{this._runningTick=!0;for(let e of this._views)e.detectChanges();if(this._enforceNoNewChanges)for(let e of this._views)e.checkNoChanges()}catch(e){this._zone.runOutsideAngular(()=>this._exceptionHandler.handleError(e))}finally{this._runningTick=!1}}attachView(e){const t=e;this._views.push(t),t.attachToAppRef(this)}detachView(e){const t=e;ol(this._views,t),t.detachFromAppRef()}_loadComponent(e){this.attachView(e.hostView),this.tick(),this.components.push(e),this._injector.get(xa,[]).concat(this._bootstrapListeners).forEach(t=>t(e))}_unloadComponent(e){this.detachView(e.hostView),ol(this.components,e)}ngOnDestroy(){this._views.slice().forEach(e=>e.destroy())}get viewCount(){return this._views.length}}return e.\u0275fac=function(t){return new(t||e)(Ze(Fa),Ze(Ea),Ze(hi),Ze(tr),Ze(lo),Ze(ya))},e.\u0275prov=de({token:e,factory:e.\u0275fac}),e})();function ol(e,t){const n=e.indexOf(t);n>-1&&e.splice(n,1)}class al{}class ll{}const cl={factoryPathPrefix:"",factoryPathSuffix:".ngfactory"};let ul=(()=>{class e{constructor(e,t){this._compiler=e,this._config=t||cl}load(e){return this.loadAndCompile(e)}loadAndCompile(e){let[t,r]=e.split("#");return void 0===r&&(r="default"),n("zn8P")(t).then(e=>e[r]).then(e=>hl(e,t,r)).then(e=>this._compiler.compileModuleAsync(e))}loadFactory(e){let[t,r]=e.split("#"),s="NgFactory";return void 0===r&&(r="default",s=""),n("zn8P")(this._config.factoryPathPrefix+t+this._config.factoryPathSuffix).then(e=>e[r+s]).then(e=>hl(e,t,r))}}return e.\u0275fac=function(t){return new(t||e)(Ze(ja),Ze(ll,8))},e.\u0275prov=de({token:e,factory:e.\u0275fac}),e})();function hl(e,t,n){if(!e)throw new Error(`Cannot find '${n}' in '${t}'`);return e}const dl=tl(null,"core",[{provide:Sa,useValue:"unknown"},{provide:rl,deps:[hi]},{provide:Qa,deps:[]},{provide:Ea,deps:[]}]),pl=[{provide:il,useClass:il,deps:[Fa,Ea,hi,tr,lo,ya]},{provide:qo,deps:[Fa],useFactory:function(e){let t=[];return e.onStable.subscribe(()=>{for(;t.length;)t.pop()()}),function(e){t.push(e)}}},{provide:ya,useClass:ya,deps:[[new ae,va]]},{provide:ja,useClass:ja,deps:[]},ba,{provide:Io,useFactory:function(){return Po},deps:[]},{provide:Oo,useFactory:function(){return No},deps:[]},{provide:ka,useFactory:function(e){return Ko(e=e||"undefined"!=typeof $localize&&$localize.locale||"en-US"),e},deps:[[new oe(ka),new ae,new ce]]},{provide:Ta,useValue:"USD"}];let fl=(()=>{class e{constructor(e){}}return e.\u0275mod=gt({type:e}),e.\u0275inj=pe({factory:function(t){return new(t||e)(Ze(il))},providers:pl}),e})(),ml=null;function gl(){return ml}const vl=new Fe("DocumentToken");let yl=(()=>{class e{}return e.\u0275fac=function(t){return new(t||e)},e.\u0275prov=de({factory:wl,token:e,providedIn:"platform"}),e})();function wl(){return Ze(_l)}const bl=new Fe("Location Initialized");let _l=(()=>{class e extends yl{constructor(e){super(),this._doc=e,this._init()}_init(){this.location=gl().getLocation(),this._history=gl().getHistory()}getBaseHrefFromDOM(){return gl().getBaseHref(this._doc)}onPopState(e){gl().getGlobalEventTarget(this._doc,"window").addEventListener("popstate",e,!1)}onHashChange(e){gl().getGlobalEventTarget(this._doc,"window").addEventListener("hashchange",e,!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(e){this.location.pathname=e}pushState(e,t,n){Cl()?this._history.pushState(e,t,n):this.location.hash=n}replaceState(e,t,n){Cl()?this._history.replaceState(e,t,n):this.location.hash=n}forward(){this._history.forward()}back(){this._history.back()}getState(){return this._history.state}}return e.\u0275fac=function(t){return new(t||e)(Ze(vl))},e.\u0275prov=de({factory:Sl,token:e,providedIn:"platform"}),e})();function Cl(){return!!window.history.pushState}function Sl(){return new _l(Ze(vl))}function xl(e,t){if(0==e.length)return t;if(0==t.length)return e;let n=0;return e.endsWith("/")&&n++,t.startsWith("/")&&n++,2==n?e+t.substring(1):1==n?e+t:e+"/"+t}function El(e){const t=e.match(/#|\?|$/),n=t&&t.index||e.length;return e.slice(0,n-("/"===e[n-1]?1:0))+e.slice(n)}function kl(e){return e&&"?"!==e[0]?"?"+e:e}let Tl=(()=>{class e{}return e.\u0275fac=function(t){return new(t||e)},e.\u0275prov=de({factory:Al,token:e,providedIn:"root"}),e})();function Al(e){const t=Ze(vl).location;return new Ol(Ze(yl),t&&t.origin||"")}const Il=new Fe("appBaseHref");let Ol=(()=>{class e extends Tl{constructor(e,t){if(super(),this._platformLocation=e,null==t&&(t=this._platformLocation.getBaseHrefFromDOM()),null==t)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=t}onPopState(e){this._platformLocation.onPopState(e),this._platformLocation.onHashChange(e)}getBaseHref(){return this._baseHref}prepareExternalUrl(e){return xl(this._baseHref,e)}path(e=!1){const t=this._platformLocation.pathname+kl(this._platformLocation.search),n=this._platformLocation.hash;return n&&e?`${t}${n}`:t}pushState(e,t,n,r){const s=this.prepareExternalUrl(n+kl(r));this._platformLocation.pushState(e,t,s)}replaceState(e,t,n,r){const s=this.prepareExternalUrl(n+kl(r));this._platformLocation.replaceState(e,t,s)}forward(){this._platformLocation.forward()}back(){this._platformLocation.back()}}return e.\u0275fac=function(t){return new(t||e)(Ze(yl),Ze(Il,8))},e.\u0275prov=de({token:e,factory:e.\u0275fac}),e})(),Rl=(()=>{class e extends Tl{constructor(e,t){super(),this._platformLocation=e,this._baseHref="",null!=t&&(this._baseHref=t)}onPopState(e){this._platformLocation.onPopState(e),this._platformLocation.onHashChange(e)}getBaseHref(){return this._baseHref}path(e=!1){let t=this._platformLocation.hash;return null==t&&(t="#"),t.length>0?t.substring(1):t}prepareExternalUrl(e){const t=xl(this._baseHref,e);return t.length>0?"#"+t:t}pushState(e,t,n,r){let s=this.prepareExternalUrl(n+kl(r));0==s.length&&(s=this._platformLocation.pathname),this._platformLocation.pushState(e,t,s)}replaceState(e,t,n,r){let s=this.prepareExternalUrl(n+kl(r));0==s.length&&(s=this._platformLocation.pathname),this._platformLocation.replaceState(e,t,s)}forward(){this._platformLocation.forward()}back(){this._platformLocation.back()}}return e.\u0275fac=function(t){return new(t||e)(Ze(yl),Ze(Il,8))},e.\u0275prov=de({token:e,factory:e.\u0275fac}),e})(),Pl=(()=>{class e{constructor(e,t){this._subject=new ta,this._urlChangeListeners=[],this._platformStrategy=e;const n=this._platformStrategy.getBaseHref();this._platformLocation=t,this._baseHref=El(Dl(n)),this._platformStrategy.onPopState(e=>{this._subject.emit({url:this.path(!0),pop:!0,state:e.state,type:e.type})})}path(e=!1){return this.normalize(this._platformStrategy.path(e))}getState(){return this._platformLocation.getState()}isCurrentPathEqualTo(e,t=""){return this.path()==this.normalize(e+kl(t))}normalize(t){return e.stripTrailingSlash(function(e,t){return e&&t.startsWith(e)?t.substring(e.length):t}(this._baseHref,Dl(t)))}prepareExternalUrl(e){return e&&"/"!==e[0]&&(e="/"+e),this._platformStrategy.prepareExternalUrl(e)}go(e,t="",n=null){this._platformStrategy.pushState(n,"",e,t),this._notifyUrlChangeListeners(this.prepareExternalUrl(e+kl(t)),n)}replaceState(e,t="",n=null){this._platformStrategy.replaceState(n,"",e,t),this._notifyUrlChangeListeners(this.prepareExternalUrl(e+kl(t)),n)}forward(){this._platformStrategy.forward()}back(){this._platformStrategy.back()}onUrlChange(e){this._urlChangeListeners.push(e),this.subscribe(e=>{this._notifyUrlChangeListeners(e.url,e.state)})}_notifyUrlChangeListeners(e="",t){this._urlChangeListeners.forEach(n=>n(e,t))}subscribe(e,t,n){return this._subject.subscribe({next:e,error:t,complete:n})}}return e.\u0275fac=function(t){return new(t||e)(Ze(Tl),Ze(yl))},e.normalizeQueryParams=kl,e.joinWithSlash=xl,e.stripTrailingSlash=El,e.\u0275prov=de({factory:Nl,token:e,providedIn:"root"}),e})();function Nl(){return new Pl(Ze(Tl),Ze(yl))}function Dl(e){return e.replace(/\/index.html$/,"")}const jl=function(){var e={Zero:0,One:1,Two:2,Few:3,Many:4,Other:5};return e[e.Zero]="Zero",e[e.One]="One",e[e.Two]="Two",e[e.Few]="Few",e[e.Many]="Many",e[e.Other]="Other",e}();class Ml{}let Ul=(()=>{class e extends Ml{constructor(e){super(),this.locale=e}getPluralCategory(e,t){switch(function(e){return function(e){const t=function(e){return e.toLowerCase().replace(/_/g,"-")}(e);let n=Wo(t);if(n)return n;const r=t.split("-")[0];if(n=Wo(r),n)return n;if("en"===r)return Bo;throw new Error(`Missing locale data for the locale "${e}".`)}(e)[Qo.PluralCase]}(t||this.locale)(e)){case jl.Zero:return"zero";case jl.One:return"one";case jl.Two:return"two";case jl.Few:return"few";case jl.Many:return"many";default:return"other"}}}return e.\u0275fac=function(t){return new(t||e)(Ze(ka))},e.\u0275prov=de({token:e,factory:e.\u0275fac}),e})(),Ll=(()=>{class e{constructor(e,t,n,r){this._iterableDiffers=e,this._keyValueDiffers=t,this._ngEl=n,this._renderer=r,this._iterableDiffer=null,this._keyValueDiffer=null,this._initialClasses=[],this._rawClass=null}set klass(e){this._removeClasses(this._initialClasses),this._initialClasses="string"==typeof e?e.split(/\s+/):[],this._applyClasses(this._initialClasses),this._applyClasses(this._rawClass)}set ngClass(e){this._removeClasses(this._rawClass),this._applyClasses(this._initialClasses),this._iterableDiffer=null,this._keyValueDiffer=null,this._rawClass="string"==typeof e?e.split(/\s+/):e,this._rawClass&&(bi(this._rawClass)?this._iterableDiffer=this._iterableDiffers.find(this._rawClass).create():this._keyValueDiffer=this._keyValueDiffers.find(this._rawClass).create())}ngDoCheck(){if(this._iterableDiffer){const e=this._iterableDiffer.diff(this._rawClass);e&&this._applyIterableChanges(e)}else if(this._keyValueDiffer){const e=this._keyValueDiffer.diff(this._rawClass);e&&this._applyKeyValueChanges(e)}}_applyKeyValueChanges(e){e.forEachAddedItem(e=>this._toggleClass(e.key,e.currentValue)),e.forEachChangedItem(e=>this._toggleClass(e.key,e.currentValue)),e.forEachRemovedItem(e=>{e.previousValue&&this._toggleClass(e.key,!1)})}_applyIterableChanges(e){e.forEachAddedItem(e=>{if("string"!=typeof e.item)throw new Error(`NgClass can only toggle CSS classes expressed as strings, got ${Ce(e.item)}`);this._toggleClass(e.item,!0)}),e.forEachRemovedItem(e=>this._toggleClass(e.item,!1))}_applyClasses(e){e&&(Array.isArray(e)||e instanceof Set?e.forEach(e=>this._toggleClass(e,!0)):Object.keys(e).forEach(t=>this._toggleClass(t,!!e[t])))}_removeClasses(e){e&&(Array.isArray(e)||e instanceof Set?e.forEach(e=>this._toggleClass(e,!1)):Object.keys(e).forEach(e=>this._toggleClass(e,!1)))}_toggleClass(e,t){(e=e.trim())&&e.split(/\s+/g).forEach(e=>{t?this._renderer.addClass(this._ngEl.nativeElement,e):this._renderer.removeClass(this._ngEl.nativeElement,e)})}}return e.\u0275fac=function(t){return new(t||e)(Ti(Io),Ti(Oo),Ti(co),Ti(fo))},e.\u0275dir=yt({type:e,selectors:[["","ngClass",""]],inputs:{klass:["class","klass"],ngClass:"ngClass"}}),e})();class Fl{constructor(e,t,n,r){this.$implicit=e,this.ngForOf=t,this.index=n,this.count=r}get first(){return 0===this.index}get last(){return this.index===this.count-1}get even(){return this.index%2==0}get odd(){return!this.even}}let Vl=(()=>{class e{constructor(e,t,n){this._viewContainer=e,this._template=t,this._differs=n,this._ngForOf=null,this._ngForOfDirty=!0,this._differ=null}set ngForOf(e){this._ngForOf=e,this._ngForOfDirty=!0}set ngForTrackBy(e){or()&&null!=e&&"function"!=typeof e&&console&&console.warn&&console.warn(`trackBy must be a function, but received ${JSON.stringify(e)}. `+"See https://angular.io/api/common/NgForOf#change-propagation for more information."),this._trackByFn=e}get ngForTrackBy(){return this._trackByFn}set ngForTemplate(e){e&&(this._template=e)}ngDoCheck(){if(this._ngForOfDirty){this._ngForOfDirty=!1;const n=this._ngForOf;if(!this._differ&&n)try{this._differ=this._differs.find(n).create(this.ngForTrackBy)}catch(t){throw new Error(`Cannot find a differ supporting object '${n}' of type '${e=n,e.name||typeof e}'. NgFor only supports binding to Iterables such as Arrays.`)}}var e;if(this._differ){const e=this._differ.diff(this._ngForOf);e&&this._applyChanges(e)}}_applyChanges(e){const t=[];e.forEachOperation((e,n,r)=>{if(null==e.previousIndex){const n=this._viewContainer.createEmbeddedView(this._template,new Fl(null,this._ngForOf,-1,-1),null===r?void 0:r),s=new ql(e,n);t.push(s)}else if(null==r)this._viewContainer.remove(null===n?void 0:n);else if(null!==n){const s=this._viewContainer.get(n);this._viewContainer.move(s,r);const i=new ql(e,s);t.push(i)}});for(let n=0;n<t.length;n++)this._perViewChange(t[n].view,t[n].record);for(let n=0,r=this._viewContainer.length;n<r;n++){const e=this._viewContainer.get(n);e.context.index=n,e.context.count=r,e.context.ngForOf=this._ngForOf}e.forEachIdentityChange(e=>{this._viewContainer.get(e.currentIndex).context.$implicit=e.item})}_perViewChange(e,t){e.context.$implicit=t.item}static ngTemplateContextGuard(e,t){return!0}}return e.\u0275fac=function(t){return new(t||e)(Ti(Mo),Ti(Do),Ti(Io))},e.\u0275dir=yt({type:e,selectors:[["","ngFor","","ngForOf",""]],inputs:{ngForOf:"ngForOf",ngForTrackBy:"ngForTrackBy",ngForTemplate:"ngForTemplate"}}),e})();class ql{constructor(e,t){this.record=e,this.view=t}}let Hl=(()=>{class e{constructor(e,t){this._viewContainer=e,this._context=new $l,this._thenTemplateRef=null,this._elseTemplateRef=null,this._thenViewRef=null,this._elseViewRef=null,this._thenTemplateRef=t}set ngIf(e){this._context.$implicit=this._context.ngIf=e,this._updateView()}set ngIfThen(e){zl("ngIfThen",e),this._thenTemplateRef=e,this._thenViewRef=null,this._updateView()}set ngIfElse(e){zl("ngIfElse",e),this._elseTemplateRef=e,this._elseViewRef=null,this._updateView()}_updateView(){this._context.$implicit?this._thenViewRef||(this._viewContainer.clear(),this._elseViewRef=null,this._thenTemplateRef&&(this._thenViewRef=this._viewContainer.createEmbeddedView(this._thenTemplateRef,this._context))):this._elseViewRef||(this._viewContainer.clear(),this._thenViewRef=null,this._elseTemplateRef&&(this._elseViewRef=this._viewContainer.createEmbeddedView(this._elseTemplateRef,this._context)))}static ngTemplateContextGuard(e,t){return!0}}return e.\u0275fac=function(t){return new(t||e)(Ti(Mo),Ti(Do))},e.\u0275dir=yt({type:e,selectors:[["","ngIf",""]],inputs:{ngIf:"ngIf",ngIfThen:"ngIfThen",ngIfElse:"ngIfElse"}}),e})();class $l{constructor(){this.$implicit=null,this.ngIf=null}}function zl(e,t){if(t&&!t.createEmbeddedView)throw new Error(`${e} must be a TemplateRef, but received '${Ce(t)}'.`)}let Bl=(()=>{class e{constructor(e){this._viewContainerRef=e,this._viewRef=null,this.ngTemplateOutletContext=null,this.ngTemplateOutlet=null}ngOnChanges(e){if(this._shouldRecreateView(e)){const e=this._viewContainerRef;this._viewRef&&e.remove(e.indexOf(this._viewRef)),this._viewRef=this.ngTemplateOutlet?e.createEmbeddedView(this.ngTemplateOutlet,this.ngTemplateOutletContext):null}else this._viewRef&&this.ngTemplateOutletContext&&this._updateExistingContext(this.ngTemplateOutletContext)}_shouldRecreateView(e){const t=e.ngTemplateOutletContext;return!!e.ngTemplateOutlet||t&&this._hasContextShapeChanged(t)}_hasContextShapeChanged(e){const t=Object.keys(e.previousValue||{}),n=Object.keys(e.currentValue||{});if(t.length===n.length){for(let e of n)if(-1===t.indexOf(e))return!0;return!1}return!0}_updateExistingContext(e){for(let t of Object.keys(e))this._viewRef.context[t]=this.ngTemplateOutletContext[t]}}return e.\u0275fac=function(t){return new(t||e)(Ti(Mo))},e.\u0275dir=yt({type:e,selectors:[["","ngTemplateOutlet",""]],inputs:{ngTemplateOutletContext:"ngTemplateOutletContext",ngTemplateOutlet:"ngTemplateOutlet"},features:[ro]}),e})(),Gl=(()=>{class e{}return e.\u0275mod=gt({type:e}),e.\u0275inj=pe({factory:function(t){return new(t||e)},providers:[{provide:Ml,useClass:Ul}]}),e})();function Wl(e){return"browser"===e}let Ql=(()=>{class e{}return e.\u0275prov=de({token:e,providedIn:"root",factory:()=>new Zl(Ze(vl),window,Ze(tr))}),e})();class Zl{constructor(e,t,n){this.document=e,this.window=t,this.errorHandler=n,this.offset=()=>[0,0]}setOffset(e){this.offset=Array.isArray(e)?()=>e:e}getScrollPosition(){return this.supportScrollRestoration()?[this.window.scrollX,this.window.scrollY]:[0,0]}scrollToPosition(e){this.supportScrollRestoration()&&this.window.scrollTo(e[0],e[1])}scrollToAnchor(e){if(this.supportScrollRestoration()){e=this.window.CSS&&this.window.CSS.escape?this.window.CSS.escape(e):e.replace(/(\"|\'\ |:|\.|\[|\]|,|=)/g,"\\$1");try{const t=this.document.querySelector(`#${e}`);if(t)return void this.scrollToElement(t);const n=this.document.querySelector(`[name='${e}']`);if(n)return void this.scrollToElement(n)}catch(t){this.errorHandler.handleError(t)}}}setHistoryScrollRestoration(e){if(this.supportScrollRestoration()){const t=this.window.history;t&&t.scrollRestoration&&(t.scrollRestoration=e)}}scrollToElement(e){const t=e.getBoundingClientRect(),n=t.left+this.window.pageXOffset,r=t.top+this.window.pageYOffset,s=this.offset();this.window.scrollTo(n-s[0],r-s[1])}supportScrollRestoration(){try{return!!this.window&&!!this.window.scrollTo}catch(e){return!1}}}class Kl extends class extends class{}{constructor(){super()}supportsDOMEvents(){return!0}}{static makeCurrent(){var e;e=new Kl,ml||(ml=e)}getProperty(e,t){return e[t]}log(e){window.console&&window.console.log&&window.console.log(e)}logGroup(e){window.console&&window.console.group&&window.console.group(e)}logGroupEnd(){window.console&&window.console.groupEnd&&window.console.groupEnd()}onAndCancel(e,t,n){return e.addEventListener(t,n,!1),()=>{e.removeEventListener(t,n,!1)}}dispatchEvent(e,t){e.dispatchEvent(t)}remove(e){return e.parentNode&&e.parentNode.removeChild(e),e}getValue(e){return e.value}createElement(e,t){return(t=t||this.getDefaultDocument()).createElement(e)}createHtmlDocument(){return document.implementation.createHTMLDocument("fakeTitle")}getDefaultDocument(){return document}isElementNode(e){return e.nodeType===Node.ELEMENT_NODE}isShadowRoot(e){return e instanceof DocumentFragment}getGlobalEventTarget(e,t){return"window"===t?window:"document"===t?e:"body"===t?e.body:null}getHistory(){return window.history}getLocation(){return window.location}getBaseHref(e){const t=Jl||(Jl=document.querySelector("base"),Jl)?Jl.getAttribute("href"):null;return null==t?null:(n=t,Yl||(Yl=document.createElement("a")),Yl.setAttribute("href",n),"/"===Yl.pathname.charAt(0)?Yl.pathname:"/"+Yl.pathname);var n}resetBaseElement(){Jl=null}getUserAgent(){return window.navigator.userAgent}performanceNow(){return window.performance&&window.performance.now?window.performance.now():(new Date).getTime()}supportsCookies(){return!0}getCookie(e){return function(e,t){t=encodeURIComponent(t);for(const n of e.split(";")){const e=n.indexOf("="),[r,s]=-1==e?[n,""]:[n.slice(0,e),n.slice(e+1)];if(r.trim()===t)return decodeURIComponent(s)}return null}(document.cookie,e)}}let Yl,Jl=null;const Xl=new Fe("TRANSITION_ID"),ec=[{provide:va,useFactory:function(e,t,n){return()=>{n.get(ya).donePromise.then(()=>{const n=gl();Array.prototype.slice.apply(t.querySelectorAll("style[ng-transition]")).filter(t=>t.getAttribute("ng-transition")===e).forEach(e=>n.remove(e))})}},deps:[Xl,vl,hi],multi:!0}];class tc{static init(){var e;e=new tc,Ya=e}addToWindow(e){Re.getAngularTestability=(t,n=!0)=>{const r=e.findTestabilityInTree(t,n);if(null==r)throw new Error("Could not find testability for element.");return r},Re.getAllAngularTestabilities=()=>e.getAllTestabilities(),Re.getAllAngularRootElements=()=>e.getAllRootElements(),Re.frameworkStabilizers||(Re.frameworkStabilizers=[]),Re.frameworkStabilizers.push(e=>{const t=Re.getAllAngularTestabilities();let n=t.length,r=!1;const s=function(t){r=r||t,n--,0==n&&e(r)};t.forEach((function(e){e.whenStable(s)}))})}findTestabilityInTree(e,t,n){if(null==t)return null;const r=e.getTestability(t);return null!=r?r:n?gl().isShadowRoot(t)?this.findTestabilityInTree(e,t.host,!0):this.findTestabilityInTree(e,t.parentElement,!0):null}}const nc=new Fe("EventManagerPlugins");let rc=(()=>{class e{constructor(e,t){this._zone=t,this._eventNameToPlugin=new Map,e.forEach(e=>e.manager=this),this._plugins=e.slice().reverse()}addEventListener(e,t,n){return this._findPluginFor(t).addEventListener(e,t,n)}addGlobalEventListener(e,t,n){return this._findPluginFor(t).addGlobalEventListener(e,t,n)}getZone(){return this._zone}_findPluginFor(e){const t=this._eventNameToPlugin.get(e);if(t)return t;const n=this._plugins;for(let r=0;r<n.length;r++){const t=n[r];if(t.supports(e))return this._eventNameToPlugin.set(e,t),t}throw new Error(`No event manager plugin found for event ${e}`)}}return e.\u0275fac=function(t){return new(t||e)(Ze(nc),Ze(Fa))},e.\u0275prov=de({token:e,factory:e.\u0275fac}),e})();class sc{constructor(e){this._doc=e}addGlobalEventListener(e,t,n){const r=gl().getGlobalEventTarget(this._doc,e);if(!r)throw new Error(`Unsupported event target ${r} for event ${t}`);return this.addEventListener(r,t,n)}}let ic=(()=>{class e{constructor(){this._stylesSet=new Set}addStyles(e){const t=new Set;e.forEach(e=>{this._stylesSet.has(e)||(this._stylesSet.add(e),t.add(e))}),this.onStylesAdded(t)}onStylesAdded(e){}getAllStyles(){return Array.from(this._stylesSet)}}return e.\u0275fac=function(t){return new(t||e)},e.\u0275prov=de({token:e,factory:e.\u0275fac}),e})(),oc=(()=>{class e extends ic{constructor(e){super(),this._doc=e,this._hostNodes=new Set,this._styleNodes=new Set,this._hostNodes.add(e.head)}_addStylesToHost(e,t){e.forEach(e=>{const n=this._doc.createElement("style");n.textContent=e,this._styleNodes.add(t.appendChild(n))})}addHost(e){this._addStylesToHost(this._stylesSet,e),this._hostNodes.add(e)}removeHost(e){this._hostNodes.delete(e)}onStylesAdded(e){this._hostNodes.forEach(t=>this._addStylesToHost(e,t))}ngOnDestroy(){this._styleNodes.forEach(e=>gl().remove(e))}}return e.\u0275fac=function(t){return new(t||e)(Ze(vl))},e.\u0275prov=de({token:e,factory:e.\u0275fac}),e})();const ac={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/"},lc=/%COMP%/g;function cc(e,t,n){for(let r=0;r<t.length;r++){let s=t[r];Array.isArray(s)?cc(e,s,n):(s=s.replace(lc,e),n.push(s))}return n}function uc(e){return t=>{if("__ngUnwrap__"===t)return e;!1===e(t)&&(t.preventDefault(),t.returnValue=!1)}}let hc=(()=>{class e{constructor(e,t,n){this.eventManager=e,this.sharedStylesHost=t,this.appId=n,this.rendererByCompId=new Map,this.defaultRenderer=new dc(e)}createRenderer(e,t){if(!e||!t)return this.defaultRenderer;switch(t.encapsulation){case lt.Emulated:{let n=this.rendererByCompId.get(t.id);return n||(n=new pc(this.eventManager,this.sharedStylesHost,t,this.appId),this.rendererByCompId.set(t.id,n)),n.applyToHost(e),n}case lt.Native:case lt.ShadowDom:return new fc(this.eventManager,this.sharedStylesHost,e,t);default:if(!this.rendererByCompId.has(t.id)){const e=cc(t.id,t.styles,[]);this.sharedStylesHost.addStyles(e),this.rendererByCompId.set(t.id,this.defaultRenderer)}return this.defaultRenderer}}begin(){}end(){}}return e.\u0275fac=function(t){return new(t||e)(Ze(rc),Ze(oc),Ze(wa))},e.\u0275prov=de({token:e,factory:e.\u0275fac}),e})();class dc{constructor(e){this.eventManager=e,this.data=Object.create(null)}destroy(){}createElement(e,t){return t?document.createElementNS(ac[t]||t,e):document.createElement(e)}createComment(e){return document.createComment(e)}createText(e){return document.createTextNode(e)}appendChild(e,t){e.appendChild(t)}insertBefore(e,t,n){e&&e.insertBefore(t,n)}removeChild(e,t){e&&e.removeChild(t)}selectRootElement(e,t){let n="string"==typeof e?document.querySelector(e):e;if(!n)throw new Error(`The selector "${e}" did not match any elements`);return t||(n.textContent=""),n}parentNode(e){return e.parentNode}nextSibling(e){return e.nextSibling}setAttribute(e,t,n,r){if(r){t=r+":"+t;const s=ac[r];s?e.setAttributeNS(s,t,n):e.setAttribute(t,n)}else e.setAttribute(t,n)}removeAttribute(e,t,n){if(n){const r=ac[n];r?e.removeAttributeNS(r,t):e.removeAttribute(`${n}:${t}`)}else e.removeAttribute(t)}addClass(e,t){e.classList.add(t)}removeClass(e,t){e.classList.remove(t)}setStyle(e,t,n,r){r&po.DashCase?e.style.setProperty(t,n,r&po.Important?"important":""):e.style[t]=n}removeStyle(e,t,n){n&po.DashCase?e.style.removeProperty(t):e.style[t]=""}setProperty(e,t,n){e[t]=n}setValue(e,t){e.nodeValue=t}listen(e,t,n){return"string"==typeof e?this.eventManager.addGlobalEventListener(e,t,uc(n)):this.eventManager.addEventListener(e,t,uc(n))}}class pc extends dc{constructor(e,t,n,r){super(e),this.component=n;const s=cc(r+"-"+n.id,n.styles,[]);t.addStyles(s),this.contentAttr="_ngcontent-%COMP%".replace(lc,r+"-"+n.id),this.hostAttr=function(e){return"_nghost-%COMP%".replace(lc,e)}(r+"-"+n.id)}applyToHost(e){super.setAttribute(e,this.hostAttr,"")}createElement(e,t){const n=super.createElement(e,t);return super.setAttribute(n,this.contentAttr,""),n}}class fc extends dc{constructor(e,t,n,r){super(e),this.sharedStylesHost=t,this.hostEl=n,this.component=r,this.shadowRoot=r.encapsulation===lt.ShadowDom?n.attachShadow({mode:"open"}):n.createShadowRoot(),this.sharedStylesHost.addHost(this.shadowRoot);const s=cc(r.id,r.styles,[]);for(let i=0;i<s.length;i++){const e=document.createElement("style");e.textContent=s[i],this.shadowRoot.appendChild(e)}}nodeOrShadowRoot(e){return e===this.hostEl?this.shadowRoot:e}destroy(){this.sharedStylesHost.removeHost(this.shadowRoot)}appendChild(e,t){return super.appendChild(this.nodeOrShadowRoot(e),t)}insertBefore(e,t,n){return super.insertBefore(this.nodeOrShadowRoot(e),t,n)}removeChild(e,t){return super.removeChild(this.nodeOrShadowRoot(e),t)}parentNode(e){return this.nodeOrShadowRoot(super.parentNode(this.nodeOrShadowRoot(e)))}}let mc=(()=>{class e extends sc{constructor(e){super(e)}supports(e){return!0}addEventListener(e,t,n){return e.addEventListener(t,n,!1),()=>this.removeEventListener(e,t,n)}removeEventListener(e,t,n){return e.removeEventListener(t,n)}}return e.\u0275fac=function(t){return new(t||e)(Ze(vl))},e.\u0275prov=de({token:e,factory:e.\u0275fac}),e})();const gc=["alt","control","meta","shift"],vc={"\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"},yc={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"},wc={alt:e=>e.altKey,control:e=>e.ctrlKey,meta:e=>e.metaKey,shift:e=>e.shiftKey};let bc=(()=>{class e extends sc{constructor(e){super(e)}supports(t){return null!=e.parseEventName(t)}addEventListener(t,n,r){const s=e.parseEventName(n),i=e.eventCallback(s.fullKey,r,this.manager.getZone());return this.manager.getZone().runOutsideAngular(()=>gl().onAndCancel(t,s.domEventName,i))}static parseEventName(t){const n=t.toLowerCase().split("."),r=n.shift();if(0===n.length||"keydown"!==r&&"keyup"!==r)return null;const s=e._normalizeKey(n.pop());let i="";if(gc.forEach(e=>{const t=n.indexOf(e);t>-1&&(n.splice(t,1),i+=e+".")}),i+=s,0!=n.length||0===s.length)return null;const o={};return o.domEventName=r,o.fullKey=i,o}static getEventFullKey(e){let t="",n=function(e){let t=e.key;if(null==t){if(t=e.keyIdentifier,null==t)return"Unidentified";t.startsWith("U+")&&(t=String.fromCharCode(parseInt(t.substring(2),16)),3===e.location&&yc.hasOwnProperty(t)&&(t=yc[t]))}return vc[t]||t}(e);return n=n.toLowerCase()," "===n?n="space":"."===n&&(n="dot"),gc.forEach(r=>{r!=n&&(0,wc[r])(e)&&(t+=r+".")}),t+=n,t}static eventCallback(t,n,r){return s=>{e.getEventFullKey(s)===t&&r.runGuarded(()=>n(s))}}static _normalizeKey(e){switch(e){case"esc":return"escape";default:return e}}}return e.\u0275fac=function(t){return new(t||e)(Ze(vl))},e.\u0275prov=de({token:e,factory:e.\u0275fac}),e})();const _c=tl(dl,"browser",[{provide:Sa,useValue:"browser"},{provide:Ca,useValue:function(){Kl.makeCurrent(),tc.init()},multi:!0},{provide:vl,useFactory:function(){return function(e){It=e}(document),document},deps:[]}]),Cc=[[],{provide:Js,useValue:"root"},{provide:tr,useFactory:function(){return new tr},deps:[]},{provide:nc,useClass:mc,multi:!0,deps:[vl,Fa,Sa]},{provide:nc,useClass:bc,multi:!0,deps:[vl]},[],{provide:hc,useClass:hc,deps:[rc,oc,wa]},{provide:ho,useExisting:hc},{provide:ic,useExisting:oc},{provide:oc,useClass:oc,deps:[vl]},{provide:Wa,useClass:Wa,deps:[Fa]},{provide:rc,useClass:rc,deps:[nc,Fa]},[]];let Sc=(()=>{class e{constructor(e){if(e)throw new Error("BrowserModule has already been loaded. If you need access to common directives such as NgIf and NgFor from a lazy loaded module, import CommonModule instead.")}static withServerTransition(t){return{ngModule:e,providers:[{provide:wa,useValue:t.appId},{provide:Xl,useExisting:wa},ec]}}}return e.\u0275mod=gt({type:e}),e.\u0275inj=pe({factory:function(t){return new(t||e)(Ze(e,12))},providers:Cc,imports:[Gl,fl]}),e})();function xc(...e){let t=e[e.length-1];return T(t)?(e.pop(),V(e,t)):W(e)}"undefined"!=typeof window&&window;class Ec extends E{constructor(e){super(),this._value=e}get value(){return this.getValue()}_subscribe(e){const t=super._subscribe(e);return t&&!t.closed&&e.next(this._value),t}getValue(){if(this.hasError)throw this.thrownError;if(this.closed)throw new C;return this._value}next(e){super.next(this._value=e)}}const kc=(()=>{function e(){return Error.call(this),this.message="no elements in sequence",this.name="EmptyError",this}return e.prototype=Object.create(Error.prototype),e})(),Tc={};class Ac{constructor(e){this.resultSelector=e}call(e,t){return t.subscribe(new Ic(e,this.resultSelector))}}class Ic extends M{constructor(e,t){super(e),this.resultSelector=t,this.active=0,this.values=[],this.observables=[]}_next(e){this.values.push(Tc),this.observables.push(e)}_complete(){const e=this.observables,t=e.length;if(0===t)this.destination.complete();else{this.active=t,this.toRespond=t;for(let n=0;n<t;n++){const t=e[n];this.add(j(this,t,t,n))}}}notifyComplete(e){0==(this.active-=1)&&this.destination.complete()}notifyNext(e,t,n,r,s){const i=this.values,o=this.toRespond?i[n]===Tc?--this.toRespond:this.toRespond:0;i[n]=t,0===o&&(this.resultSelector?this._tryResultSelector(i):this.destination.next(i.slice()))}_tryResultSelector(e){let t;try{t=this.resultSelector.apply(this,e)}catch(n){return void this.destination.error(n)}this.destination.next(t)}}const Oc=new b(e=>e.complete());function Rc(e){return e?function(e){return new b(t=>e.schedule(()=>t.complete()))}(e):Oc}function Pc(e){return new b(t=>{let n;try{n=e()}catch(r){return void t.error(r)}return(n?q(n):Rc()).subscribe(t)})}function Nc(){return G(1)}function Dc(e,t){return function(n){return n.lift(new jc(e,t))}}class jc{constructor(e,t){this.predicate=e,this.thisArg=t}call(e,t){return t.subscribe(new Mc(e,this.predicate,this.thisArg))}}class Mc extends f{constructor(e,t,n){super(e),this.predicate=t,this.thisArg=n,this.count=0}_next(e){let t;try{t=this.predicate.call(this.thisArg,e,this.count++)}catch(n){return void this.destination.error(n)}t&&this.destination.next(e)}}const Uc=(()=>{function e(){return Error.call(this),this.message="argument out of range",this.name="ArgumentOutOfRangeError",this}return e.prototype=Object.create(Error.prototype),e})();function Lc(e){return function(t){return 0===e?Rc():t.lift(new Fc(e))}}class Fc{constructor(e){if(this.total=e,this.total<0)throw new Uc}call(e,t){return t.subscribe(new Vc(e,this.total))}}class Vc extends f{constructor(e,t){super(e),this.total=t,this.ring=new Array,this.count=0}_next(e){const t=this.ring,n=this.total,r=this.count++;t.length<n?t.push(e):t[r%n]=e}_complete(){const e=this.destination;let t=this.count;if(t>0){const n=this.count>=this.total?this.total:this.count,r=this.ring;for(let s=0;s<n;s++){const s=t++%n;e.next(r[s])}}e.complete()}}function qc(e=zc){return t=>t.lift(new Hc(e))}class Hc{constructor(e){this.errorFactory=e}call(e,t){return t.subscribe(new $c(e,this.errorFactory))}}class $c extends f{constructor(e,t){super(e),this.errorFactory=t,this.hasValue=!1}_next(e){this.hasValue=!0,this.destination.next(e)}_complete(){if(this.hasValue)return this.destination.complete();{let t;try{t=this.errorFactory()}catch(e){t=e}this.destination.error(t)}}}function zc(){return new kc}function Bc(e=null){return t=>t.lift(new Gc(e))}class Gc{constructor(e){this.defaultValue=e}call(e,t){return t.subscribe(new Wc(e,this.defaultValue))}}class Wc extends f{constructor(e,t){super(e),this.defaultValue=t,this.isEmpty=!0}_next(e){this.isEmpty=!1,this.destination.next(e)}_complete(){this.isEmpty&&this.destination.next(this.defaultValue),this.destination.complete()}}function Qc(e,t){const n=arguments.length>=2;return r=>r.pipe(e?Dc((t,n)=>e(t,n,r)):B,Lc(1),n?Bc(t):qc(()=>new kc))}function Zc(e){return function(t){const n=new Kc(e),r=t.lift(n);return n.caught=r}}class Kc{constructor(e){this.selector=e}call(e,t){return t.subscribe(new Yc(e,this.selector,this.caught))}}class Yc extends M{constructor(e,t,n){super(e),this.selector=t,this.caught=n}error(e){if(!this.isStopped){let n;try{n=this.selector(e,this.caught)}catch(t){return void super.error(t)}this._unsubscribeAndRecycle();const r=new A(this,void 0,void 0);this.add(r);const s=j(this,n,void 0,void 0,r);s!==r&&this.add(s)}}}function Jc(e){return t=>0===e?Rc():t.lift(new Xc(e))}class Xc{constructor(e){if(this.total=e,this.total<0)throw new Uc}call(e,t){return t.subscribe(new eu(e,this.total))}}class eu extends f{constructor(e,t){super(e),this.total=t,this.count=0}_next(e){const t=this.total,n=++this.count;n<=t&&(this.destination.next(e),n===t&&(this.destination.complete(),this.unsubscribe()))}}function tu(e,t){const n=arguments.length>=2;return r=>r.pipe(e?Dc((t,n)=>e(t,n,r)):B,Jc(1),n?Bc(t):qc(()=>new kc))}class nu{constructor(e,t,n){this.predicate=e,this.thisArg=t,this.source=n}call(e,t){return t.subscribe(new ru(e,this.predicate,this.thisArg,this.source))}}class ru extends f{constructor(e,t,n,r){super(e),this.predicate=t,this.thisArg=n,this.source=r,this.index=0,this.thisArg=n||this}notifyComplete(e){this.destination.next(e),this.destination.complete()}_next(e){let t=!1;try{t=this.predicate.call(this.thisArg,e,this.index++,this.source)}catch(n){return void this.destination.error(n)}t||this.notifyComplete(!1)}_complete(){this.notifyComplete(!0)}}function su(e,t){return"function"==typeof t?n=>n.pipe(su((n,r)=>q(e(n,r)).pipe(U((e,s)=>t(n,e,r,s))))):t=>t.lift(new iu(e))}class iu{constructor(e){this.project=e}call(e,t){return t.subscribe(new ou(e,this.project))}}class ou extends M{constructor(e,t){super(e),this.project=t,this.index=0}_next(e){let t;const n=this.index++;try{t=this.project(e,n)}catch(r){return void this.destination.error(r)}this._innerSub(t,e,n)}_innerSub(e,t,n){const r=this.innerSubscription;r&&r.unsubscribe();const s=new A(this,t,n),i=this.destination;i.add(s),this.innerSubscription=j(this,e,void 0,void 0,s),this.innerSubscription!==s&&i.add(this.innerSubscription)}_complete(){const{innerSubscription:e}=this;e&&!e.closed||super._complete(),this.unsubscribe()}_unsubscribe(){this.innerSubscription=null}notifyComplete(e){this.destination.remove(e),this.innerSubscription=null,this.isStopped&&super._complete()}notifyNext(e,t,n,r,s){this.destination.next(t)}}function au(...e){return Nc()(xc(...e))}function lu(e,t){let n=!1;return arguments.length>=2&&(n=!0),function(r){return r.lift(new cu(e,t,n))}}class cu{constructor(e,t,n=!1){this.accumulator=e,this.seed=t,this.hasSeed=n}call(e,t){return t.subscribe(new uu(e,this.accumulator,this.seed,this.hasSeed))}}class uu extends f{constructor(e,t,n,r){super(e),this.accumulator=t,this._seed=n,this.hasSeed=r,this.index=0}get seed(){return this._seed}set seed(e){this.hasSeed=!0,this._seed=e}_next(e){if(this.hasSeed)return this._tryNext(e);this.seed=e,this.destination.next(e)}_tryNext(e){const t=this.index++;let n;try{n=this.accumulator(this.seed,e,t)}catch(r){this.destination.error(r)}this.seed=n,this.destination.next(n)}}function hu(e,t){return H(e,t,1)}function du(e,t,n){return function(r){return r.lift(new pu(e,t,n))}}class pu{constructor(e,t,n){this.nextOrObserver=e,this.error=t,this.complete=n}call(e,t){return t.subscribe(new fu(e,this.nextOrObserver,this.error,this.complete))}}class fu extends f{constructor(e,t,n,s){super(e),this._tapNext=v,this._tapError=v,this._tapComplete=v,this._tapError=n||v,this._tapComplete=s||v,r(t)?(this._context=this,this._tapNext=t):t&&(this._context=t,this._tapNext=t.next||v,this._tapError=t.error||v,this._tapComplete=t.complete||v)}_next(e){try{this._tapNext.call(this._context,e)}catch(t){return void this.destination.error(t)}this.destination.next(e)}_error(e){try{this._tapError.call(this._context,e)}catch(e){return void this.destination.error(e)}this.destination.error(e)}_complete(){try{this._tapComplete.call(this._context)}catch(e){return void this.destination.error(e)}return this.destination.complete()}}class mu{constructor(e){this.callback=e}call(e,t){return t.subscribe(new gu(e,this.callback))}}class gu extends f{constructor(e,t){super(e),this.add(new h(t))}}class vu{constructor(e,t){this.id=e,this.url=t}}class yu extends vu{constructor(e,t,n="imperative",r=null){super(e,t),this.navigationTrigger=n,this.restoredState=r}toString(){return`NavigationStart(id: ${this.id}, url: '${this.url}')`}}class wu extends vu{constructor(e,t,n){super(e,t),this.urlAfterRedirects=n}toString(){return`NavigationEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}')`}}class bu extends vu{constructor(e,t,n){super(e,t),this.reason=n}toString(){return`NavigationCancel(id: ${this.id}, url: '${this.url}')`}}class _u extends vu{constructor(e,t,n){super(e,t),this.error=n}toString(){return`NavigationError(id: ${this.id}, url: '${this.url}', error: ${this.error})`}}class Cu extends vu{constructor(e,t,n,r){super(e,t),this.urlAfterRedirects=n,this.state=r}toString(){return`RoutesRecognized(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}}class Su extends vu{constructor(e,t,n,r){super(e,t),this.urlAfterRedirects=n,this.state=r}toString(){return`GuardsCheckStart(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}}class xu extends vu{constructor(e,t,n,r,s){super(e,t),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 Eu extends vu{constructor(e,t,n,r){super(e,t),this.urlAfterRedirects=n,this.state=r}toString(){return`ResolveStart(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}}class ku extends vu{constructor(e,t,n,r){super(e,t),this.urlAfterRedirects=n,this.state=r}toString(){return`ResolveEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}}class Tu{constructor(e){this.route=e}toString(){return`RouteConfigLoadStart(path: ${this.route.path})`}}class Au{constructor(e){this.route=e}toString(){return`RouteConfigLoadEnd(path: ${this.route.path})`}}class Iu{constructor(e){this.snapshot=e}toString(){return`ChildActivationStart(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}}class Ou{constructor(e){this.snapshot=e}toString(){return`ChildActivationEnd(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}}class Ru{constructor(e){this.snapshot=e}toString(){return`ActivationStart(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}}class Pu{constructor(e){this.snapshot=e}toString(){return`ActivationEnd(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}}class Nu{constructor(e,t,n){this.routerEvent=e,this.position=t,this.anchor=n}toString(){return`Scroll(anchor: '${this.anchor}', position: '${this.position?`${this.position[0]}, ${this.position[1]}`:null}')`}}let Du=(()=>{class e{}return e.\u0275fac=function(t){return new(t||e)},e.\u0275cmp=dt({type:e,selectors:[["ng-component"]],decls:1,vars:0,template:function(e,t){1&e&&Di(0,"router-outlet")},directives:function(){return[Fd]},encapsulation:2}),e})();class ju{constructor(e){this.params=e||{}}has(e){return this.params.hasOwnProperty(e)}get(e){if(this.has(e)){const t=this.params[e];return Array.isArray(t)?t[0]:t}return null}getAll(e){if(this.has(e)){const t=this.params[e];return Array.isArray(t)?t:[t]}return[]}get keys(){return Object.keys(this.params)}}function Mu(e){return new ju(e)}function Uu(e){const t=Error("NavigationCancelingError: "+e);return t.ngNavigationCancelingError=!0,t}function Lu(e,t,n){const r=n.path.split("/");if(r.length>e.length)return null;if("full"===n.pathMatch&&(t.hasChildren()||r.length<e.length))return null;const s={};for(let i=0;i<r.length;i++){const t=r[i],n=e[i];if(t.startsWith(":"))s[t.substring(1)]=n;else if(t!==n.path)return null}return{consumed:e.slice(0,r.length),posParams:s}}class Fu{constructor(e,t){this.routes=e,this.module=t}}function Vu(e,t=""){for(let n=0;n<e.length;n++){const r=e[n];qu(r,Hu(t,r))}}function qu(e,t){if(!e)throw new Error(`\n Invalid configuration of route '${t}': Encountered undefined route.\n The reason might be an extra comma.\n\n Example:\n const routes: Routes = [\n { path: '', redirectTo: '/dashboard', pathMatch: 'full' },\n { path: 'dashboard', component: DashboardComponent },, << two commas\n { path: 'detail/:id', component: HeroDetailComponent }\n ];\n `);if(Array.isArray(e))throw new Error(`Invalid configuration of route '${t}': Array cannot be specified`);if(!e.component&&!e.children&&!e.loadChildren&&e.outlet&&"primary"!==e.outlet)throw new Error(`Invalid configuration of route '${t}': a componentless route without children or loadChildren cannot have a named outlet set`);if(e.redirectTo&&e.children)throw new Error(`Invalid configuration of route '${t}': redirectTo and children cannot be used together`);if(e.redirectTo&&e.loadChildren)throw new Error(`Invalid configuration of route '${t}': redirectTo and loadChildren cannot be used together`);if(e.children&&e.loadChildren)throw new Error(`Invalid configuration of route '${t}': children and loadChildren cannot be used together`);if(e.redirectTo&&e.component)throw new Error(`Invalid configuration of route '${t}': redirectTo and component cannot be used together`);if(e.path&&e.matcher)throw new Error(`Invalid configuration of route '${t}': path and matcher cannot be used together`);if(void 0===e.redirectTo&&!e.component&&!e.children&&!e.loadChildren)throw new Error(`Invalid configuration of route '${t}'. One of the following must be provided: component, redirectTo, children or loadChildren`);if(void 0===e.path&&void 0===e.matcher)throw new Error(`Invalid configuration of route '${t}': routes must have either a path or a matcher specified`);if("string"==typeof e.path&&"/"===e.path.charAt(0))throw new Error(`Invalid configuration of route '${t}': path cannot start with a slash`);if(""===e.path&&void 0!==e.redirectTo&&void 0===e.pathMatch)throw new Error(`Invalid configuration of route '{path: "${t}", redirectTo: "${e.redirectTo}"}': please provide 'pathMatch'. The default value of 'pathMatch' is 'prefix', but often the intent is to use 'full'.`);if(void 0!==e.pathMatch&&"full"!==e.pathMatch&&"prefix"!==e.pathMatch)throw new Error(`Invalid configuration of route '${t}': pathMatch can only be set to 'prefix' or 'full'`);e.children&&Vu(e.children,t)}function Hu(e,t){return t?e||t.path?e&&!t.path?`${e}/`:!e&&t.path?t.path:`${e}/${t.path}`:"":e}function $u(e){const t=e.children&&e.children.map($u),n=t?Object.assign(Object.assign({},e),{children:t}):Object.assign({},e);return!n.component&&(t||n.loadChildren)&&n.outlet&&"primary"!==n.outlet&&(n.component=Du),n}function zu(e,t){const n=Object.keys(e),r=Object.keys(t);if(!n||!r||n.length!=r.length)return!1;let s;for(let i=0;i<n.length;i++)if(s=n[i],!Bu(e[s],t[s]))return!1;return!0}function Bu(e,t){return Array.isArray(e)&&Array.isArray(t)?e.length==t.length&&e.every(e=>t.indexOf(e)>-1):e===t}function Gu(e){return Array.prototype.concat.apply([],e)}function Wu(e){return e.length>0?e[e.length-1]:null}function Qu(e,t){for(const n in e)e.hasOwnProperty(n)&&t(e[n],n)}function Zu(e){return(t=e)&&"function"==typeof t.subscribe?e:Ui(e)?q(Promise.resolve(e)):xc(e);var t}function Ku(e,t,n){return n?function(e,t){return zu(e,t)}(e.queryParams,t.queryParams)&&function e(t,n){if(!eh(t.segments,n.segments))return!1;if(t.numberOfChildren!==n.numberOfChildren)return!1;for(const r in n.children){if(!t.children[r])return!1;if(!e(t.children[r],n.children[r]))return!1}return!0}(e.root,t.root):function(e,t){return Object.keys(t).length<=Object.keys(e).length&&Object.keys(t).every(n=>Bu(e[n],t[n]))}(e.queryParams,t.queryParams)&&function e(t,n){return function t(n,r,s){if(n.segments.length>s.length)return!!eh(n.segments.slice(0,s.length),s)&&!r.hasChildren();if(n.segments.length===s.length){if(!eh(n.segments,s))return!1;for(const t in r.children){if(!n.children[t])return!1;if(!e(n.children[t],r.children[t]))return!1}return!0}{const e=s.slice(0,n.segments.length),i=s.slice(n.segments.length);return!!eh(n.segments,e)&&!!n.children.primary&&t(n.children.primary,r,i)}}(t,n,n.segments)}(e.root,t.root)}class Yu{constructor(e,t,n){this.root=e,this.queryParams=t,this.fragment=n}get queryParamMap(){return this._queryParamMap||(this._queryParamMap=Mu(this.queryParams)),this._queryParamMap}toString(){return sh.serialize(this)}}class Ju{constructor(e,t){this.segments=e,this.children=t,this.parent=null,Qu(t,(e,t)=>e.parent=this)}hasChildren(){return this.numberOfChildren>0}get numberOfChildren(){return Object.keys(this.children).length}toString(){return ih(this)}}class Xu{constructor(e,t){this.path=e,this.parameters=t}get parameterMap(){return this._parameterMap||(this._parameterMap=Mu(this.parameters)),this._parameterMap}toString(){return hh(this)}}function eh(e,t){return e.length===t.length&&e.every((e,n)=>e.path===t[n].path)}function th(e,t){let n=[];return Qu(e.children,(e,r)=>{"primary"===r&&(n=n.concat(t(e,r)))}),Qu(e.children,(e,r)=>{"primary"!==r&&(n=n.concat(t(e,r)))}),n}class nh{}class rh{parse(e){const t=new gh(e);return new Yu(t.parseRootSegment(),t.parseQueryParams(),t.parseFragment())}serialize(e){var t;return`${`/${function e(t,n){if(!t.hasChildren())return ih(t);if(n){const n=t.children.primary?e(t.children.primary,!1):"",r=[];return Qu(t.children,(t,n)=>{"primary"!==n&&r.push(`${n}:${e(t,!1)}`)}),r.length>0?`${n}(${r.join("//")})`:n}{const n=th(t,(n,r)=>"primary"===r?[e(t.children.primary,!1)]:[`${r}:${e(n,!1)}`]);return`${ih(t)}/(${n.join("//")})`}}(e.root,!0)}`}${function(e){const t=Object.keys(e).map(t=>{const n=e[t];return Array.isArray(n)?n.map(e=>`${ah(t)}=${ah(e)}`).join("&"):`${ah(t)}=${ah(n)}`});return t.length?`?${t.join("&")}`:""}(e.queryParams)}${"string"==typeof e.fragment?`#${t=e.fragment,encodeURI(t)}`:""}`}}const sh=new rh;function ih(e){return e.segments.map(e=>hh(e)).join("/")}function oh(e){return encodeURIComponent(e).replace(/%40/g,"@").replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",")}function ah(e){return oh(e).replace(/%3B/gi,";")}function lh(e){return oh(e).replace(/\(/g,"%28").replace(/\)/g,"%29").replace(/%26/gi,"&")}function ch(e){return decodeURIComponent(e)}function uh(e){return ch(e.replace(/\+/g,"%20"))}function hh(e){return`${lh(e.path)}${t=e.parameters,Object.keys(t).map(e=>`;${lh(e)}=${lh(t[e])}`).join("")}`;var t}const dh=/^[^\/()?;=#]+/;function ph(e){const t=e.match(dh);return t?t[0]:""}const fh=/^[^=?&#]+/,mh=/^[^?&#]+/;class gh{constructor(e){this.url=e,this.remaining=e}parseRootSegment(){return this.consumeOptional("/"),""===this.remaining||this.peekStartsWith("?")||this.peekStartsWith("#")?new Ju([],{}):new Ju([],this.parseChildren())}parseQueryParams(){const e={};if(this.consumeOptional("?"))do{this.parseQueryParam(e)}while(this.consumeOptional("&"));return e}parseFragment(){return this.consumeOptional("#")?decodeURIComponent(this.remaining):null}parseChildren(){if(""===this.remaining)return{};this.consumeOptional("/");const e=[];for(this.peekStartsWith("(")||e.push(this.parseSegment());this.peekStartsWith("/")&&!this.peekStartsWith("//")&&!this.peekStartsWith("/(");)this.capture("/"),e.push(this.parseSegment());let t={};this.peekStartsWith("/(")&&(this.capture("/"),t=this.parseParens(!0));let n={};return this.peekStartsWith("(")&&(n=this.parseParens(!1)),(e.length>0||Object.keys(t).length>0)&&(n.primary=new Ju(e,t)),n}parseSegment(){const e=ph(this.remaining);if(""===e&&this.peekStartsWith(";"))throw new Error(`Empty path url segment cannot have parameters: '${this.remaining}'.`);return this.capture(e),new Xu(ch(e),this.parseMatrixParams())}parseMatrixParams(){const e={};for(;this.consumeOptional(";");)this.parseParam(e);return e}parseParam(e){const t=ph(this.remaining);if(!t)return;this.capture(t);let n="";if(this.consumeOptional("=")){const e=ph(this.remaining);e&&(n=e,this.capture(n))}e[ch(t)]=ch(n)}parseQueryParam(e){const t=function(e){const t=e.match(fh);return t?t[0]:""}(this.remaining);if(!t)return;this.capture(t);let n="";if(this.consumeOptional("=")){const e=function(e){const t=e.match(mh);return t?t[0]:""}(this.remaining);e&&(n=e,this.capture(n))}const r=uh(t),s=uh(n);if(e.hasOwnProperty(r)){let t=e[r];Array.isArray(t)||(t=[t],e[r]=t),t.push(s)}else e[r]=s}parseParens(e){const t={};for(this.capture("(");!this.consumeOptional(")")&&this.remaining.length>0;){const n=ph(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(":")):e&&(s="primary");const i=this.parseChildren();t[s]=1===Object.keys(i).length?i.primary:new Ju([],i),this.consumeOptional("//")}return t}peekStartsWith(e){return this.remaining.startsWith(e)}consumeOptional(e){return!!this.peekStartsWith(e)&&(this.remaining=this.remaining.substring(e.length),!0)}capture(e){if(!this.consumeOptional(e))throw new Error(`Expected "${e}".`)}}class vh{constructor(e){this._root=e}get root(){return this._root.value}parent(e){const t=this.pathFromRoot(e);return t.length>1?t[t.length-2]:null}children(e){const t=yh(e,this._root);return t?t.children.map(e=>e.value):[]}firstChild(e){const t=yh(e,this._root);return t&&t.children.length>0?t.children[0].value:null}siblings(e){const t=wh(e,this._root);return t.length<2?[]:t[t.length-2].children.map(e=>e.value).filter(t=>t!==e)}pathFromRoot(e){return wh(e,this._root).map(e=>e.value)}}function yh(e,t){if(e===t.value)return t;for(const n of t.children){const t=yh(e,n);if(t)return t}return null}function wh(e,t){if(e===t.value)return[t];for(const n of t.children){const r=wh(e,n);if(r.length)return r.unshift(t),r}return[]}class bh{constructor(e,t){this.value=e,this.children=t}toString(){return`TreeNode(${this.value})`}}function _h(e){const t={};return e&&e.children.forEach(e=>t[e.value.outlet]=e),t}class Ch extends vh{constructor(e,t){super(e),this.snapshot=t,Ah(this,e)}toString(){return this.snapshot.toString()}}function Sh(e,t){const n=function(e,t){const n=new kh([],{},{},"",{},"primary",t,null,e.root,-1,{});return new Th("",new bh(n,[]))}(e,t),r=new Ec([new Xu("",{})]),s=new Ec({}),i=new Ec({}),o=new Ec({}),a=new Ec(""),l=new xh(r,s,o,a,i,"primary",t,n.root);return l.snapshot=n.root,new Ch(new bh(l,[]),n)}class xh{constructor(e,t,n,r,s,i,o,a){this.url=e,this.params=t,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(U(e=>Mu(e)))),this._paramMap}get queryParamMap(){return this._queryParamMap||(this._queryParamMap=this.queryParams.pipe(U(e=>Mu(e)))),this._queryParamMap}toString(){return this.snapshot?this.snapshot.toString():`Future(${this._futureSnapshot})`}}function Eh(e,t="emptyOnly"){const n=e.pathFromRoot;let r=0;if("always"!==t)for(r=n.length-1;r>=1;){const e=n[r],t=n[r-1];if(e.routeConfig&&""===e.routeConfig.path)r--;else{if(t.component)break;r--}}return function(e){return e.reduce((e,t)=>({params:Object.assign(Object.assign({},e.params),t.params),data:Object.assign(Object.assign({},e.data),t.data),resolve:Object.assign(Object.assign({},e.resolve),t._resolvedData)}),{params:{},data:{},resolve:{}})}(n.slice(r))}class kh{constructor(e,t,n,r,s,i,o,a,l,c,u){this.url=e,this.params=t,this.queryParams=n,this.fragment=r,this.data=s,this.outlet=i,this.component=o,this.routeConfig=a,this._urlSegment=l,this._lastPathIndex=c,this._resolve=u}get root(){return this._routerState.root}get parent(){return this._routerState.parent(this)}get firstChild(){return this._routerState.firstChild(this)}get children(){return this._routerState.children(this)}get pathFromRoot(){return this._routerState.pathFromRoot(this)}get paramMap(){return this._paramMap||(this._paramMap=Mu(this.params)),this._paramMap}get queryParamMap(){return this._queryParamMap||(this._queryParamMap=Mu(this.queryParams)),this._queryParamMap}toString(){return`Route(url:'${this.url.map(e=>e.toString()).join("/")}', path:'${this.routeConfig?this.routeConfig.path:""}')`}}class Th extends vh{constructor(e,t){super(t),this.url=e,Ah(this,t)}toString(){return Ih(this._root)}}function Ah(e,t){t.value._routerState=e,t.children.forEach(t=>Ah(e,t))}function Ih(e){const t=e.children.length>0?` { ${e.children.map(Ih).join(", ")} } `:"";return`${e.value}${t}`}function Oh(e){if(e.snapshot){const t=e.snapshot,n=e._futureSnapshot;e.snapshot=n,zu(t.queryParams,n.queryParams)||e.queryParams.next(n.queryParams),t.fragment!==n.fragment&&e.fragment.next(n.fragment),zu(t.params,n.params)||e.params.next(n.params),function(e,t){if(e.length!==t.length)return!1;for(let n=0;n<e.length;++n)if(!zu(e[n],t[n]))return!1;return!0}(t.url,n.url)||e.url.next(n.url),zu(t.data,n.data)||e.data.next(n.data)}else e.snapshot=e._futureSnapshot,e.data.next(e._futureSnapshot.data)}function Rh(e,t){var n,r;return zu(e.params,t.params)&&eh(n=e.url,r=t.url)&&n.every((e,t)=>zu(e.parameters,r[t].parameters))&&!(!e.parent!=!t.parent)&&(!e.parent||Rh(e.parent,t.parent))}function Ph(e){return"object"==typeof e&&null!=e&&!e.outlets&&!e.segmentPath}function Nh(e,t,n,r,s){let i={};return r&&Qu(r,(e,t)=>{i[t]=Array.isArray(e)?e.map(e=>`${e}`):`${e}`}),new Yu(n.root===e?t:function e(t,n,r){const s={};return Qu(t.children,(t,i)=>{s[i]=t===n?r:e(t,n,r)}),new Ju(t.segments,s)}(n.root,e,t),i,s)}class Dh{constructor(e,t,n){if(this.isAbsolute=e,this.numberOfDoubleDots=t,this.commands=n,e&&n.length>0&&Ph(n[0]))throw new Error("Root segment cannot have matrix parameters");const r=n.find(e=>"object"==typeof e&&null!=e&&e.outlets);if(r&&r!==Wu(n))throw new Error("{outlets:{}} has to be the last command")}toRoot(){return this.isAbsolute&&1===this.commands.length&&"/"==this.commands[0]}}class jh{constructor(e,t,n){this.segmentGroup=e,this.processChildren=t,this.index=n}}function Mh(e){return"object"==typeof e&&null!=e&&e.outlets?e.outlets.primary:`${e}`}function Uh(e,t,n){if(e||(e=new Ju([],{})),0===e.segments.length&&e.hasChildren())return Lh(e,t,n);const r=function(e,t,n){let r=0,s=t;const i={match:!1,pathIndex:0,commandIndex:0};for(;s<e.segments.length;){if(r>=n.length)return i;const t=e.segments[s],o=Mh(n[r]),a=r<n.length-1?n[r+1]:null;if(s>0&&void 0===o)break;if(o&&a&&"object"==typeof a&&void 0===a.outlets){if(!Hh(o,a,t))return i;r+=2}else{if(!Hh(o,{},t))return i;r++}s++}return{match:!0,pathIndex:s,commandIndex:r}}(e,t,n),s=n.slice(r.commandIndex);if(r.match&&r.pathIndex<e.segments.length){const t=new Ju(e.segments.slice(0,r.pathIndex),{});return t.children.primary=new Ju(e.segments.slice(r.pathIndex),e.children),Lh(t,0,s)}return r.match&&0===s.length?new Ju(e.segments,{}):r.match&&!e.hasChildren()?Fh(e,t,n):r.match?Lh(e,0,s):Fh(e,t,n)}function Lh(e,t,n){if(0===n.length)return new Ju(e.segments,{});{const r=function(e){return"object"!=typeof e[0]?{primary:e}:void 0===e[0].outlets?{primary:e}:e[0].outlets}(n),s={};return Qu(r,(n,r)=>{null!==n&&(s[r]=Uh(e.children[r],t,n))}),Qu(e.children,(e,t)=>{void 0===r[t]&&(s[t]=e)}),new Ju(e.segments,s)}}function Fh(e,t,n){const r=e.segments.slice(0,t);let s=0;for(;s<n.length;){if("object"==typeof n[s]&&void 0!==n[s].outlets){const e=Vh(n[s].outlets);return new Ju(r,e)}if(0===s&&Ph(n[0])){r.push(new Xu(e.segments[t].path,n[0])),s++;continue}const i=Mh(n[s]),o=s<n.length-1?n[s+1]:null;i&&o&&Ph(o)?(r.push(new Xu(i,qh(o))),s+=2):(r.push(new Xu(i,{})),s++)}return new Ju(r,{})}function Vh(e){const t={};return Qu(e,(e,n)=>{null!==e&&(t[n]=Fh(new Ju([],{}),0,e))}),t}function qh(e){const t={};return Qu(e,(e,n)=>t[n]=`${e}`),t}function Hh(e,t,n){return e==n.path&&zu(t,n.parameters)}class $h{constructor(e,t,n,r){this.routeReuseStrategy=e,this.futureState=t,this.currState=n,this.forwardEvent=r}activate(e){const t=this.futureState._root,n=this.currState?this.currState._root:null;this.deactivateChildRoutes(t,n,e),Oh(this.futureState.root),this.activateChildRoutes(t,n,e)}deactivateChildRoutes(e,t,n){const r=_h(t);e.children.forEach(e=>{const t=e.value.outlet;this.deactivateRoutes(e,r[t],n),delete r[t]}),Qu(r,(e,t)=>{this.deactivateRouteAndItsChildren(e,n)})}deactivateRoutes(e,t,n){const r=e.value,s=t?t.value:null;if(r===s)if(r.component){const s=n.getContext(r.outlet);s&&this.deactivateChildRoutes(e,t,s.children)}else this.deactivateChildRoutes(e,t,n);else s&&this.deactivateRouteAndItsChildren(t,n)}deactivateRouteAndItsChildren(e,t){this.routeReuseStrategy.shouldDetach(e.value.snapshot)?this.detachAndStoreRouteSubtree(e,t):this.deactivateRouteAndOutlet(e,t)}detachAndStoreRouteSubtree(e,t){const n=t.getContext(e.value.outlet);if(n&&n.outlet){const t=n.outlet.detach(),r=n.children.onOutletDeactivated();this.routeReuseStrategy.store(e.value.snapshot,{componentRef:t,route:e,contexts:r})}}deactivateRouteAndOutlet(e,t){const n=t.getContext(e.value.outlet);if(n){const r=_h(e),s=e.value.component?n.children:t;Qu(r,(e,t)=>this.deactivateRouteAndItsChildren(e,s)),n.outlet&&(n.outlet.deactivate(),n.children.onOutletDeactivated())}}activateChildRoutes(e,t,n){const r=_h(t);e.children.forEach(e=>{this.activateRoutes(e,r[e.value.outlet],n),this.forwardEvent(new Pu(e.value.snapshot))}),e.children.length&&this.forwardEvent(new Ou(e.value.snapshot))}activateRoutes(e,t,n){const r=e.value,s=t?t.value:null;if(Oh(r),r===s)if(r.component){const s=n.getOrCreateContext(r.outlet);this.activateChildRoutes(e,t,s.children)}else this.activateChildRoutes(e,t,n);else if(r.component){const t=n.getOrCreateContext(r.outlet);if(this.routeReuseStrategy.shouldAttach(r.snapshot)){const e=this.routeReuseStrategy.retrieve(r.snapshot);this.routeReuseStrategy.store(r.snapshot,null),t.children.onOutletReAttached(e.contexts),t.attachRef=e.componentRef,t.route=e.route.value,t.outlet&&t.outlet.attach(e.componentRef,e.route.value),zh(e.route)}else{const n=function(e){for(let t=e.parent;t;t=t.parent){const e=t.routeConfig;if(e&&e._loadedConfig)return e._loadedConfig;if(e&&e.component)return null}return null}(r.snapshot),s=n?n.module.componentFactoryResolver:null;t.attachRef=null,t.route=r,t.resolver=s,t.outlet&&t.outlet.activateWith(r,s),this.activateChildRoutes(e,null,t.children)}}else this.activateChildRoutes(e,null,n)}}function zh(e){Oh(e.value),e.children.forEach(zh)}function Bh(e){return"function"==typeof e}function Gh(e){return e instanceof Yu}class Wh{constructor(e){this.segmentGroup=e||null}}class Qh{constructor(e){this.urlTree=e}}function Zh(e){return new b(t=>t.error(new Wh(e)))}function Kh(e){return new b(t=>t.error(new Qh(e)))}function Yh(e){return new b(t=>t.error(new Error(`Only absolute redirects can have named outlets. redirectTo: '${e}'`)))}class Jh{constructor(e,t,n,r,s){this.configLoader=t,this.urlSerializer=n,this.urlTree=r,this.config=s,this.allowRedirects=!0,this.ngModule=e.get(Xe)}apply(){return this.expandSegmentGroup(this.ngModule,this.config,this.urlTree.root,"primary").pipe(U(e=>this.createUrlTree(e,this.urlTree.queryParams,this.urlTree.fragment))).pipe(Zc(e=>{if(e instanceof Qh)return this.allowRedirects=!1,this.match(e.urlTree);if(e instanceof Wh)throw this.noMatchError(e);throw e}))}match(e){return this.expandSegmentGroup(this.ngModule,this.config,e.root,"primary").pipe(U(t=>this.createUrlTree(t,e.queryParams,e.fragment))).pipe(Zc(e=>{if(e instanceof Wh)throw this.noMatchError(e);throw e}))}noMatchError(e){return new Error(`Cannot match any routes. URL Segment: '${e.segmentGroup}'`)}createUrlTree(e,t,n){const r=e.segments.length>0?new Ju([],{primary:e}):e;return new Yu(r,t,n)}expandSegmentGroup(e,t,n,r){return 0===n.segments.length&&n.hasChildren()?this.expandChildren(e,t,n).pipe(U(e=>new Ju([],e))):this.expandSegment(e,n,t,n.segments,r,!0)}expandChildren(e,t,n){return function(e,t){if(0===Object.keys(e).length)return xc({});const n=[],r=[],s={};return Qu(e,(e,i)=>{const o=t(i,e).pipe(U(e=>s[i]=e));"primary"===i?n.push(o):r.push(o)}),xc.apply(null,n.concat(r)).pipe(Nc(),Qc(),U(()=>s))}(n.children,(n,r)=>this.expandSegmentGroup(e,t,r,n))}expandSegment(e,t,n,r,s,i){return xc(...n).pipe(U(o=>this.expandSegmentAgainstRoute(e,t,n,o,r,s,i).pipe(Zc(e=>{if(e instanceof Wh)return xc(null);throw e}))),Nc(),tu(e=>!!e),Zc((e,n)=>{if(e instanceof kc||"EmptyError"===e.name){if(this.noLeftoversInUrl(t,r,s))return xc(new Ju([],{}));throw new Wh(t)}throw e}))}noLeftoversInUrl(e,t,n){return 0===t.length&&!e.children[n]}expandSegmentAgainstRoute(e,t,n,r,s,i,o){return nd(r)!==i?Zh(t):void 0===r.redirectTo?this.matchSegmentAgainstRoute(e,t,r,s):o&&this.allowRedirects?this.expandSegmentAgainstRouteUsingRedirect(e,t,n,r,s,i):Zh(t)}expandSegmentAgainstRouteUsingRedirect(e,t,n,r,s,i){return"**"===r.path?this.expandWildCardWithParamsAgainstRouteUsingRedirect(e,n,r,i):this.expandRegularSegmentAgainstRouteUsingRedirect(e,t,n,r,s,i)}expandWildCardWithParamsAgainstRouteUsingRedirect(e,t,n,r){const s=this.applyRedirectCommands([],n.redirectTo,{});return n.redirectTo.startsWith("/")?Kh(s):this.lineralizeSegments(n,s).pipe(H(n=>{const s=new Ju(n,{});return this.expandSegment(e,s,t,n,r,!1)}))}expandRegularSegmentAgainstRouteUsingRedirect(e,t,n,r,s,i){const{matched:o,consumedSegments:a,lastChild:l,positionalParamSegments:c}=Xh(t,r,s);if(!o)return Zh(t);const u=this.applyRedirectCommands(a,r.redirectTo,c);return r.redirectTo.startsWith("/")?Kh(u):this.lineralizeSegments(r,u).pipe(H(r=>this.expandSegment(e,t,n,r.concat(s.slice(l)),i,!1)))}matchSegmentAgainstRoute(e,t,n,r){if("**"===n.path)return n.loadChildren?this.configLoader.load(e.injector,n).pipe(U(e=>(n._loadedConfig=e,new Ju(r,{})))):xc(new Ju(r,{}));const{matched:s,consumedSegments:i,lastChild:o}=Xh(t,n,r);if(!s)return Zh(t);const a=r.slice(o);return this.getChildConfig(e,n,r).pipe(H(e=>{const n=e.module,r=e.routes,{segmentGroup:s,slicedSegments:o}=function(e,t,n,r){return n.length>0&&function(e,t,n){return n.some(n=>td(e,t,n)&&"primary"!==nd(n))}(e,n,r)?{segmentGroup:ed(new Ju(t,function(e,t){const n={};n.primary=t;for(const r of e)""===r.path&&"primary"!==nd(r)&&(n[nd(r)]=new Ju([],{}));return n}(r,new Ju(n,e.children)))),slicedSegments:[]}:0===n.length&&function(e,t,n){return n.some(n=>td(e,t,n))}(e,n,r)?{segmentGroup:ed(new Ju(e.segments,function(e,t,n,r){const s={};for(const i of n)td(e,t,i)&&!r[nd(i)]&&(s[nd(i)]=new Ju([],{}));return Object.assign(Object.assign({},r),s)}(e,n,r,e.children))),slicedSegments:n}:{segmentGroup:e,slicedSegments:n}}(t,i,a,r);return 0===o.length&&s.hasChildren()?this.expandChildren(n,r,s).pipe(U(e=>new Ju(i,e))):0===r.length&&0===o.length?xc(new Ju(i,{})):this.expandSegment(n,s,r,o,"primary",!0).pipe(U(e=>new Ju(i.concat(e.segments),e.children)))}))}getChildConfig(e,t,n){return t.children?xc(new Fu(t.children,e)):t.loadChildren?void 0!==t._loadedConfig?xc(t._loadedConfig):function(e,t,n){const r=t.canLoad;return r&&0!==r.length?q(r).pipe(U(r=>{const s=e.get(r);let i;if(function(e){return e&&Bh(e.canLoad)}(s))i=s.canLoad(t,n);else{if(!Bh(s))throw new Error("Invalid CanLoad guard");i=s(t,n)}return Zu(i)})).pipe(Nc(),(s=e=>!0===e,e=>e.lift(new nu(s,void 0,e)))):xc(!0);var s}(e.injector,t,n).pipe(H(n=>n?this.configLoader.load(e.injector,t).pipe(U(e=>(t._loadedConfig=e,e))):function(e){return new b(t=>t.error(Uu(`Cannot load children because the guard of the route "path: '${e.path}'" returned false`)))}(t))):xc(new Fu([],e))}lineralizeSegments(e,t){let n=[],r=t.root;for(;;){if(n=n.concat(r.segments),0===r.numberOfChildren)return xc(n);if(r.numberOfChildren>1||!r.children.primary)return Yh(e.redirectTo);r=r.children.primary}}applyRedirectCommands(e,t,n){return this.applyRedirectCreatreUrlTree(t,this.urlSerializer.parse(t),e,n)}applyRedirectCreatreUrlTree(e,t,n,r){const s=this.createSegmentGroup(e,t.root,n,r);return new Yu(s,this.createQueryParams(t.queryParams,this.urlTree.queryParams),t.fragment)}createQueryParams(e,t){const n={};return Qu(e,(e,r)=>{if("string"==typeof e&&e.startsWith(":")){const s=e.substring(1);n[r]=t[s]}else n[r]=e}),n}createSegmentGroup(e,t,n,r){const s=this.createSegments(e,t.segments,n,r);let i={};return Qu(t.children,(t,s)=>{i[s]=this.createSegmentGroup(e,t,n,r)}),new Ju(s,i)}createSegments(e,t,n,r){return t.map(t=>t.path.startsWith(":")?this.findPosParam(e,t,r):this.findOrReturn(t,n))}findPosParam(e,t,n){const r=n[t.path.substring(1)];if(!r)throw new Error(`Cannot redirect to '${e}'. Cannot find '${t.path}'.`);return r}findOrReturn(e,t){let n=0;for(const r of t){if(r.path===e.path)return t.splice(n),r;n++}return e}}function Xh(e,t,n){if(""===t.path)return"full"===t.pathMatch&&(e.hasChildren()||n.length>0)?{matched:!1,consumedSegments:[],lastChild:0,positionalParamSegments:{}}:{matched:!0,consumedSegments:[],lastChild:0,positionalParamSegments:{}};const r=(t.matcher||Lu)(n,e,t);return r?{matched:!0,consumedSegments:r.consumed,lastChild:r.consumed.length,positionalParamSegments:r.posParams}:{matched:!1,consumedSegments:[],lastChild:0,positionalParamSegments:{}}}function ed(e){if(1===e.numberOfChildren&&e.children.primary){const t=e.children.primary;return new Ju(e.segments.concat(t.segments),t.children)}return e}function td(e,t,n){return(!(e.hasChildren()||t.length>0)||"full"!==n.pathMatch)&&""===n.path&&void 0!==n.redirectTo}function nd(e){return e.outlet||"primary"}class rd{constructor(e){this.path=e,this.route=this.path[this.path.length-1]}}class sd{constructor(e,t){this.component=e,this.route=t}}function id(e,t,n){const r=e._root;return function e(t,n,r,s,i={canDeactivateChecks:[],canActivateChecks:[]}){const o=_h(n);return t.children.forEach(t=>{!function(t,n,r,s,i={canDeactivateChecks:[],canActivateChecks:[]}){const o=t.value,a=n?n.value:null,l=r?r.getContext(t.value.outlet):null;if(a&&o.routeConfig===a.routeConfig){const c=function(e,t,n){if("function"==typeof n)return n(e,t);switch(n){case"pathParamsChange":return!eh(e.url,t.url);case"pathParamsOrQueryParamsChange":return!eh(e.url,t.url)||!zu(e.queryParams,t.queryParams);case"always":return!0;case"paramsOrQueryParamsChange":return!Rh(e,t)||!zu(e.queryParams,t.queryParams);case"paramsChange":default:return!Rh(e,t)}}(a,o,o.routeConfig.runGuardsAndResolvers);c?i.canActivateChecks.push(new rd(s)):(o.data=a.data,o._resolvedData=a._resolvedData),e(t,n,o.component?l?l.children:null:r,s,i),c&&i.canDeactivateChecks.push(new sd(l&&l.outlet&&l.outlet.component||null,a))}else a&&ad(n,l,i),i.canActivateChecks.push(new rd(s)),e(t,null,o.component?l?l.children:null:r,s,i)}(t,o[t.value.outlet],r,s.concat([t.value]),i),delete o[t.value.outlet]}),Qu(o,(e,t)=>ad(e,r.getContext(t),i)),i}(r,t?t._root:null,n,[r.value])}function od(e,t,n){const r=function(e){if(!e)return null;for(let t=e.parent;t;t=t.parent){const e=t.routeConfig;if(e&&e._loadedConfig)return e._loadedConfig}return null}(t);return(r?r.module.injector:n).get(e)}function ad(e,t,n){const r=_h(e),s=e.value;Qu(r,(e,r)=>{ad(e,s.component?t?t.children.getContext(r):null:t,n)}),n.canDeactivateChecks.push(new sd(s.component&&t&&t.outlet&&t.outlet.isActivated?t.outlet.component:null,s))}const ld=Symbol("INITIAL_VALUE");function cd(){return su(e=>function(...e){let t=null,n=null;return T(e[e.length-1])&&(n=e.pop()),"function"==typeof e[e.length-1]&&(t=e.pop()),1===e.length&&l(e[0])&&(e=e[0]),W(e,n).lift(new Ac(t))}(...e.map(e=>e.pipe(Jc(1),function(...e){const t=e[e.length-1];return T(t)?(e.pop(),n=>au(e,n,t)):t=>au(e,t)}(ld)))).pipe(lu((e,t)=>{let n=!1;return t.reduce((e,r,s)=>{if(e!==ld)return e;if(r===ld&&(n=!0),!n){if(!1===r)return r;if(s===t.length-1||Gh(r))return r}return e},e)},ld),Dc(e=>e!==ld),U(e=>Gh(e)?e:!0===e),Jc(1)))}function ud(e,t){return null!==e&&t&&t(new Ru(e)),xc(!0)}function hd(e,t){return null!==e&&t&&t(new Iu(e)),xc(!0)}function dd(e,t,n){const r=t.routeConfig?t.routeConfig.canActivate:null;return r&&0!==r.length?xc(r.map(r=>Pc(()=>{const s=od(r,t,n);let i;if(function(e){return e&&Bh(e.canActivate)}(s))i=Zu(s.canActivate(t,e));else{if(!Bh(s))throw new Error("Invalid CanActivate guard");i=Zu(s(t,e))}return i.pipe(tu())}))).pipe(cd()):xc(!0)}function pd(e,t,n){const r=t[t.length-1],s=t.slice(0,t.length-1).reverse().map(e=>function(e){const t=e.routeConfig?e.routeConfig.canActivateChild:null;return t&&0!==t.length?{node:e,guards:t}:null}(e)).filter(e=>null!==e).map(t=>Pc(()=>xc(t.guards.map(s=>{const i=od(s,t.node,n);let o;if(function(e){return e&&Bh(e.canActivateChild)}(i))o=Zu(i.canActivateChild(r,e));else{if(!Bh(i))throw new Error("Invalid CanActivateChild guard");o=Zu(i(r,e))}return o.pipe(tu())})).pipe(cd())));return xc(s).pipe(cd())}class fd{}class md{constructor(e,t,n,r,s,i){this.rootComponentType=e,this.config=t,this.urlTree=n,this.url=r,this.paramsInheritanceStrategy=s,this.relativeLinkResolution=i}recognize(){try{const e=yd(this.urlTree.root,[],[],this.config,this.relativeLinkResolution).segmentGroup,t=this.processSegmentGroup(this.config,e,"primary"),n=new kh([],Object.freeze({}),Object.freeze(Object.assign({},this.urlTree.queryParams)),this.urlTree.fragment,{},"primary",this.rootComponentType,null,this.urlTree.root,-1,{}),r=new bh(n,t),s=new Th(this.url,r);return this.inheritParamsAndData(s._root),xc(s)}catch(e){return new b(t=>t.error(e))}}inheritParamsAndData(e){const t=e.value,n=Eh(t,this.paramsInheritanceStrategy);t.params=Object.freeze(n.params),t.data=Object.freeze(n.data),e.children.forEach(e=>this.inheritParamsAndData(e))}processSegmentGroup(e,t,n){return 0===t.segments.length&&t.hasChildren()?this.processChildren(e,t):this.processSegment(e,t,t.segments,n)}processChildren(e,t){const n=th(t,(t,n)=>this.processSegmentGroup(e,t,n));return function(e){const t={};e.forEach(e=>{const n=t[e.value.outlet];if(n){const t=n.url.map(e=>e.toString()).join("/"),r=e.value.url.map(e=>e.toString()).join("/");throw new Error(`Two segments cannot have the same outlet name: '${t}' and '${r}'.`)}t[e.value.outlet]=e.value})}(n),n.sort((e,t)=>"primary"===e.value.outlet?-1:"primary"===t.value.outlet?1:e.value.outlet.localeCompare(t.value.outlet)),n}processSegment(e,t,n,r){for(const i of e)try{return this.processSegmentAgainstRoute(i,t,n,r)}catch(s){if(!(s instanceof fd))throw s}if(this.noLeftoversInUrl(t,n,r))return[];throw new fd}noLeftoversInUrl(e,t,n){return 0===t.length&&!e.children[n]}processSegmentAgainstRoute(e,t,n,r){if(e.redirectTo)throw new fd;if((e.outlet||"primary")!==r)throw new fd;let s,i=[],o=[];if("**"===e.path){const i=n.length>0?Wu(n).parameters:{};s=new kh(n,i,Object.freeze(Object.assign({},this.urlTree.queryParams)),this.urlTree.fragment,_d(e),r,e.component,e,gd(t),vd(t)+n.length,Cd(e))}else{const a=function(e,t,n){if(""===t.path){if("full"===t.pathMatch&&(e.hasChildren()||n.length>0))throw new fd;return{consumedSegments:[],lastChild:0,parameters:{}}}const r=(t.matcher||Lu)(n,e,t);if(!r)throw new fd;const s={};Qu(r.posParams,(e,t)=>{s[t]=e.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}}(t,e,n);i=a.consumedSegments,o=n.slice(a.lastChild),s=new kh(i,a.parameters,Object.freeze(Object.assign({},this.urlTree.queryParams)),this.urlTree.fragment,_d(e),r,e.component,e,gd(t),vd(t)+i.length,Cd(e))}const a=function(e){return e.children?e.children:e.loadChildren?e._loadedConfig.routes:[]}(e),{segmentGroup:l,slicedSegments:c}=yd(t,i,o,a,this.relativeLinkResolution);if(0===c.length&&l.hasChildren()){const e=this.processChildren(a,l);return[new bh(s,e)]}if(0===a.length&&0===c.length)return[new bh(s,[])];const u=this.processSegment(a,l,c,"primary");return[new bh(s,u)]}}function gd(e){let t=e;for(;t._sourceSegment;)t=t._sourceSegment;return t}function vd(e){let t=e,n=t._segmentIndexShift?t._segmentIndexShift:0;for(;t._sourceSegment;)t=t._sourceSegment,n+=t._segmentIndexShift?t._segmentIndexShift:0;return n-1}function yd(e,t,n,r,s){if(n.length>0&&function(e,t,n){return n.some(n=>wd(e,t,n)&&"primary"!==bd(n))}(e,n,r)){const s=new Ju(t,function(e,t,n,r){const s={};s.primary=r,r._sourceSegment=e,r._segmentIndexShift=t.length;for(const i of n)if(""===i.path&&"primary"!==bd(i)){const n=new Ju([],{});n._sourceSegment=e,n._segmentIndexShift=t.length,s[bd(i)]=n}return s}(e,t,r,new Ju(n,e.children)));return s._sourceSegment=e,s._segmentIndexShift=t.length,{segmentGroup:s,slicedSegments:[]}}if(0===n.length&&function(e,t,n){return n.some(n=>wd(e,t,n))}(e,n,r)){const i=new Ju(e.segments,function(e,t,n,r,s,i){const o={};for(const a of r)if(wd(e,n,a)&&!s[bd(a)]){const n=new Ju([],{});n._sourceSegment=e,n._segmentIndexShift="legacy"===i?e.segments.length:t.length,o[bd(a)]=n}return Object.assign(Object.assign({},s),o)}(e,t,n,r,e.children,s));return i._sourceSegment=e,i._segmentIndexShift=t.length,{segmentGroup:i,slicedSegments:n}}const i=new Ju(e.segments,e.children);return i._sourceSegment=e,i._segmentIndexShift=t.length,{segmentGroup:i,slicedSegments:n}}function wd(e,t,n){return(!(e.hasChildren()||t.length>0)||"full"!==n.pathMatch)&&""===n.path&&void 0===n.redirectTo}function bd(e){return e.outlet||"primary"}function _d(e){return e.data||{}}function Cd(e){return e.resolve||{}}function Sd(e,t,n,r){const s=od(e,t,r);return Zu(s.resolve?s.resolve(t,n):s(t,n))}function xd(e){return function(t){return t.pipe(su(t=>{const n=e(t);return n?q(n).pipe(U(()=>t)):q([t])}))}}class Ed{shouldDetach(e){return!1}store(e,t){}shouldAttach(e){return!1}retrieve(e){return null}shouldReuseRoute(e,t){return e.routeConfig===t.routeConfig}}const kd=new Fe("ROUTES");class Td{constructor(e,t,n,r){this.loader=e,this.compiler=t,this.onLoadStartListener=n,this.onLoadEndListener=r}load(e,t){return this.onLoadStartListener&&this.onLoadStartListener(t),this.loadModuleFactory(t.loadChildren).pipe(U(n=>{this.onLoadEndListener&&this.onLoadEndListener(t);const r=n.create(e);return new Fu(Gu(r.injector.get(kd)).map($u),r)}))}loadModuleFactory(e){return"string"==typeof e?q(this.loader.load(e)):Zu(e()).pipe(H(e=>e instanceof et?xc(e):q(this.compiler.compileModuleAsync(e))))}}class Ad{shouldProcessUrl(e){return!0}extract(e){return e}merge(e,t){return e}}function Id(e){throw e}function Od(e,t,n){return t.parse("/")}function Rd(e,t){return xc(null)}let Pd=(()=>{class e{constructor(e,t,n,r,s,i,o,a){this.rootComponentType=e,this.urlSerializer=t,this.rootContexts=n,this.location=r,this.config=a,this.lastSuccessfulNavigation=null,this.currentNavigation=null,this.navigationId=0,this.isNgZoneEnabled=!1,this.events=new E,this.errorHandler=Id,this.malformedUriErrorHandler=Od,this.navigated=!1,this.lastSuccessfulId=-1,this.hooks={beforePreactivation:Rd,afterPreactivation:Rd},this.urlHandlingStrategy=new Ad,this.routeReuseStrategy=new Ed,this.onSameUrlNavigation="ignore",this.paramsInheritanceStrategy="emptyOnly",this.urlUpdateStrategy="deferred",this.relativeLinkResolution="legacy",this.ngModule=s.get(Xe),this.console=s.get(Ea);const l=s.get(Fa);this.isNgZoneEnabled=l instanceof Fa,this.resetConfig(a),this.currentUrlTree=new Yu(new Ju([],{}),{},null),this.rawUrlTree=this.currentUrlTree,this.browserUrlTree=this.currentUrlTree,this.configLoader=new Td(i,o,e=>this.triggerEvent(new Tu(e)),e=>this.triggerEvent(new Au(e))),this.routerState=Sh(this.currentUrlTree,this.rootComponentType),this.transitions=new Ec({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(e){const t=this.events;return e.pipe(Dc(e=>0!==e.id),U(e=>Object.assign(Object.assign({},e),{extractedUrl:this.urlHandlingStrategy.extract(e.rawUrl)})),su(e=>{let n=!1,r=!1;return xc(e).pipe(du(e=>{this.currentNavigation={id:e.id,initialUrl:e.currentRawUrl,extractedUrl:e.extractedUrl,trigger:e.source,extras:e.extras,previousNavigation:this.lastSuccessfulNavigation?Object.assign(Object.assign({},this.lastSuccessfulNavigation),{previousNavigation:null}):null}}),su(e=>{const n=!this.navigated||e.extractedUrl.toString()!==this.browserUrlTree.toString();if(("reload"===this.onSameUrlNavigation||n)&&this.urlHandlingStrategy.shouldProcessUrl(e.rawUrl))return xc(e).pipe(su(e=>{const n=this.transitions.getValue();return t.next(new yu(e.id,this.serializeUrl(e.extractedUrl),e.source,e.restoredState)),n!==this.transitions.getValue()?Oc:[e]}),su(e=>Promise.resolve(e)),(r=this.ngModule.injector,s=this.configLoader,i=this.urlSerializer,o=this.config,function(e){return e.pipe(su(e=>function(e,t,n,r,s){return new Jh(e,t,n,r,s).apply()}(r,s,i,e.extractedUrl,o).pipe(U(t=>Object.assign(Object.assign({},e),{urlAfterRedirects:t})))))}),du(e=>{this.currentNavigation=Object.assign(Object.assign({},this.currentNavigation),{finalUrl:e.urlAfterRedirects})}),function(e,t,n,r,s){return function(i){return i.pipe(H(i=>function(e,t,n,r,s="emptyOnly",i="legacy"){return new md(e,t,n,r,s,i).recognize()}(e,t,i.urlAfterRedirects,n(i.urlAfterRedirects),r,s).pipe(U(e=>Object.assign(Object.assign({},i),{targetSnapshot:e})))))}}(this.rootComponentType,this.config,e=>this.serializeUrl(e),this.paramsInheritanceStrategy,this.relativeLinkResolution),du(e=>{"eager"===this.urlUpdateStrategy&&(e.extras.skipLocationChange||this.setBrowserUrl(e.urlAfterRedirects,!!e.extras.replaceUrl,e.id,e.extras.state),this.browserUrlTree=e.urlAfterRedirects)}),du(e=>{const n=new Cu(e.id,this.serializeUrl(e.extractedUrl),this.serializeUrl(e.urlAfterRedirects),e.targetSnapshot);t.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}=e,a=new yu(n,this.serializeUrl(r),s,i);t.next(a);const l=Sh(r,this.rootComponentType).snapshot;return xc(Object.assign(Object.assign({},e),{targetSnapshot:l,urlAfterRedirects:r,extras:Object.assign(Object.assign({},o),{skipLocationChange:!1,replaceUrl:!1})}))}return this.rawUrlTree=e.rawUrl,this.browserUrlTree=e.urlAfterRedirects,e.resolve(null),Oc}),xd(e=>{const{targetSnapshot:t,id:n,extractedUrl:r,rawUrl:s,extras:{skipLocationChange:i,replaceUrl:o}}=e;return this.hooks.beforePreactivation(t,{navigationId:n,appliedUrlTree:r,rawUrlTree:s,skipLocationChange:!!i,replaceUrl:!!o})}),du(e=>{const t=new Su(e.id,this.serializeUrl(e.extractedUrl),this.serializeUrl(e.urlAfterRedirects),e.targetSnapshot);this.triggerEvent(t)}),U(e=>Object.assign(Object.assign({},e),{guards:id(e.targetSnapshot,e.currentSnapshot,this.rootContexts)})),function(e,t){return function(n){return n.pipe(H(n=>{const{targetSnapshot:r,currentSnapshot:s,guards:{canActivateChecks:i,canDeactivateChecks:o}}=n;return 0===o.length&&0===i.length?xc(Object.assign(Object.assign({},n),{guardsResult:!0})):function(e,t,n,r){return q(e).pipe(H(e=>function(e,t,n,r,s){const i=t&&t.routeConfig?t.routeConfig.canDeactivate:null;return i&&0!==i.length?xc(i.map(i=>{const o=od(i,t,s);let a;if(function(e){return e&&Bh(e.canDeactivate)}(o))a=Zu(o.canDeactivate(e,t,n,r));else{if(!Bh(o))throw new Error("Invalid CanDeactivate guard");a=Zu(o(e,t,n,r))}return a.pipe(tu())})).pipe(cd()):xc(!0)}(e.component,e.route,n,t,r)),tu(e=>!0!==e,!0))}(o,r,s,e).pipe(H(n=>n&&"boolean"==typeof n?function(e,t,n,r){return q(t).pipe(hu(t=>q([hd(t.route.parent,r),ud(t.route,r),pd(e,t.path,n),dd(e,t.route,n)]).pipe(Nc(),tu(e=>!0!==e,!0))),tu(e=>!0!==e,!0))}(r,i,e,t):xc(n)),U(e=>Object.assign(Object.assign({},n),{guardsResult:e})))}))}}(this.ngModule.injector,e=>this.triggerEvent(e)),du(e=>{if(Gh(e.guardsResult)){const t=Uu(`Redirecting to "${this.serializeUrl(e.guardsResult)}"`);throw t.url=e.guardsResult,t}}),du(e=>{const t=new xu(e.id,this.serializeUrl(e.extractedUrl),this.serializeUrl(e.urlAfterRedirects),e.targetSnapshot,!!e.guardsResult);this.triggerEvent(t)}),Dc(e=>{if(!e.guardsResult){this.resetUrlToCurrentUrlTree();const n=new bu(e.id,this.serializeUrl(e.extractedUrl),"");return t.next(n),e.resolve(!1),!1}return!0}),xd(e=>{if(e.guards.canActivateChecks.length)return xc(e).pipe(du(e=>{const t=new Eu(e.id,this.serializeUrl(e.extractedUrl),this.serializeUrl(e.urlAfterRedirects),e.targetSnapshot);this.triggerEvent(t)}),(t=this.paramsInheritanceStrategy,n=this.ngModule.injector,function(e){return e.pipe(H(e=>{const{targetSnapshot:r,guards:{canActivateChecks:s}}=e;return s.length?q(s).pipe(hu(e=>function(e,t,n,r){return function(e,t,n,r){const s=Object.keys(e);if(0===s.length)return xc({});if(1===s.length){const i=s[0];return Sd(e[i],t,n,r).pipe(U(e=>({[i]:e})))}const i={};return q(s).pipe(H(s=>Sd(e[s],t,n,r).pipe(U(e=>(i[s]=e,e))))).pipe(Qc(),U(()=>i))}(e._resolve,e,t,r).pipe(U(t=>(e._resolvedData=t,e.data=Object.assign(Object.assign({},e.data),Eh(e,n).resolve),null)))}(e.route,r,t,n)),function(e,t){return arguments.length>=2?function(n){return y(lu(e,t),Lc(1),Bc(t))(n)}:function(t){return y(lu((t,n,r)=>e(t,n,r+1)),Lc(1))(t)}}((e,t)=>e),U(t=>e)):xc(e)}))}),du(e=>{const t=new ku(e.id,this.serializeUrl(e.extractedUrl),this.serializeUrl(e.urlAfterRedirects),e.targetSnapshot);this.triggerEvent(t)}));var t,n}),xd(e=>{const{targetSnapshot:t,id:n,extractedUrl:r,rawUrl:s,extras:{skipLocationChange:i,replaceUrl:o}}=e;return this.hooks.afterPreactivation(t,{navigationId:n,appliedUrlTree:r,rawUrlTree:s,skipLocationChange:!!i,replaceUrl:!!o})}),U(e=>{const t=function(e,t,n){const r=function e(t,n,r){if(r&&t.shouldReuseRoute(n.value,r.value.snapshot)){const s=r.value;s._futureSnapshot=n.value;const i=function(t,n,r){return n.children.map(n=>{for(const s of r.children)if(t.shouldReuseRoute(s.value.snapshot,n.value))return e(t,n,s);return e(t,n)})}(t,n,r);return new bh(s,i)}{const r=t.retrieve(n.value);if(r){const e=r.route;return function e(t,n){if(t.value.routeConfig!==n.value.routeConfig)throw new Error("Cannot reattach ActivatedRouteSnapshot created from a different route");if(t.children.length!==n.children.length)throw new Error("Cannot reattach ActivatedRouteSnapshot with a different number of children");n.value._futureSnapshot=t.value;for(let r=0;r<t.children.length;++r)e(t.children[r],n.children[r])}(n,e),e}{const r=new xh(new Ec((s=n.value).url),new Ec(s.params),new Ec(s.queryParams),new Ec(s.fragment),new Ec(s.data),s.outlet,s.component,s),i=n.children.map(n=>e(t,n));return new bh(r,i)}}var s}(e,t._root,n?n._root:void 0);return new Ch(r,t)}(this.routeReuseStrategy,e.targetSnapshot,e.currentRouterState);return Object.assign(Object.assign({},e),{targetRouterState:t})}),du(e=>{this.currentUrlTree=e.urlAfterRedirects,this.rawUrlTree=this.urlHandlingStrategy.merge(this.currentUrlTree,e.rawUrl),this.routerState=e.targetRouterState,"deferred"===this.urlUpdateStrategy&&(e.extras.skipLocationChange||this.setBrowserUrl(this.rawUrlTree,!!e.extras.replaceUrl,e.id,e.extras.state),this.browserUrlTree=e.urlAfterRedirects)}),(i=this.rootContexts,o=this.routeReuseStrategy,a=e=>this.triggerEvent(e),U(e=>(new $h(o,e.targetRouterState,e.currentRouterState,a).activate(i),e))),du({next(){n=!0},complete(){n=!0}}),(s=()=>{if(!n&&!r){this.resetUrlToCurrentUrlTree();const n=new bu(e.id,this.serializeUrl(e.extractedUrl),`Navigation ID ${e.id} is not equal to the current navigation id ${this.navigationId}`);t.next(n),e.resolve(!1)}this.currentNavigation=null},e=>e.lift(new mu(s))),Zc(n=>{if(r=!0,(s=n)&&s.ngNavigationCancelingError){const r=Gh(n.url);r||(this.navigated=!0,this.resetStateAndUrl(e.currentRouterState,e.currentUrlTree,e.rawUrl));const s=new bu(e.id,this.serializeUrl(e.extractedUrl),n.message);t.next(s),r?setTimeout(()=>{const t=this.urlHandlingStrategy.merge(n.url,this.rawUrlTree);return this.scheduleNavigation(t,"imperative",null,{skipLocationChange:e.extras.skipLocationChange,replaceUrl:"eager"===this.urlUpdateStrategy},{resolve:e.resolve,reject:e.reject,promise:e.promise})},0):e.resolve(!1)}else{this.resetStateAndUrl(e.currentRouterState,e.currentUrlTree,e.rawUrl);const r=new _u(e.id,this.serializeUrl(e.extractedUrl),n);t.next(r);try{e.resolve(this.errorHandler(n))}catch(i){e.reject(i)}}var s;return Oc}));var s,i,o,a}))}resetRootComponentType(e){this.rootComponentType=e,this.routerState.root.component=this.rootComponentType}getTransition(){const e=this.transitions.value;return e.urlAfterRedirects=this.browserUrlTree,e}setTransition(e){this.transitions.next(Object.assign(Object.assign({},this.getTransition()),e))}initialNavigation(){this.setUpLocationChangeListener(),0===this.navigationId&&this.navigateByUrl(this.location.path(!0),{replaceUrl:!0})}setUpLocationChangeListener(){this.locationSubscription||(this.locationSubscription=this.location.subscribe(e=>{let t=this.parseUrl(e.url);const n="popstate"===e.type?"popstate":"hashchange",r=e.state&&e.state.navigationId?e.state:null;setTimeout(()=>{this.scheduleNavigation(t,n,r,{replaceUrl:!0})},0)}))}get url(){return this.serializeUrl(this.currentUrlTree)}getCurrentNavigation(){return this.currentNavigation}triggerEvent(e){this.events.next(e)}resetConfig(e){Vu(e),this.config=e.map($u),this.navigated=!1,this.lastSuccessfulId=-1}ngOnDestroy(){this.dispose()}dispose(){this.locationSubscription&&(this.locationSubscription.unsubscribe(),this.locationSubscription=null)}createUrlTree(e,t={}){const{relativeTo:n,queryParams:r,fragment:s,preserveQueryParams:i,queryParamsHandling:o,preserveFragment:a}=t;or()&&i&&console&&console.warn&&console.warn("preserveQueryParams is deprecated, use queryParamsHandling instead.");const l=n||this.routerState.root,c=a?this.currentUrlTree.fragment:s;let u=null;if(o)switch(o){case"merge":u=Object.assign(Object.assign({},this.currentUrlTree.queryParams),r);break;case"preserve":u=this.currentUrlTree.queryParams;break;default:u=r||null}else u=i?this.currentUrlTree.queryParams:r||null;return null!==u&&(u=this.removeEmptyProps(u)),function(e,t,n,r,s){if(0===n.length)return Nh(t.root,t.root,t,r,s);const i=function(e){if("string"==typeof e[0]&&1===e.length&&"/"===e[0])return new Dh(!0,0,e);let t=0,n=!1;const r=e.reduce((e,r,s)=>{if("object"==typeof r&&null!=r){if(r.outlets){const t={};return Qu(r.outlets,(e,n)=>{t[n]="string"==typeof e?e.split("/"):e}),[...e,{outlets:t}]}if(r.segmentPath)return[...e,r.segmentPath]}return"string"!=typeof r?[...e,r]:0===s?(r.split("/").forEach((r,s)=>{0==s&&"."===r||(0==s&&""===r?n=!0:".."===r?t++:""!=r&&e.push(r))}),e):[...e,r]},[]);return new Dh(n,t,r)}(n);if(i.toRoot())return Nh(t.root,new Ju([],{}),t,r,s);const o=function(e,t,n){if(e.isAbsolute)return new jh(t.root,!0,0);if(-1===n.snapshot._lastPathIndex)return new jh(n.snapshot._urlSegment,!0,0);const r=Ph(e.commands[0])?0:1;return function(e,t,n){let r=e,s=t,i=n;for(;i>s;){if(i-=s,r=r.parent,!r)throw new Error("Invalid number of '../'");s=r.segments.length}return new jh(r,!1,s-i)}(n.snapshot._urlSegment,n.snapshot._lastPathIndex+r,e.numberOfDoubleDots)}(i,t,e),a=o.processChildren?Lh(o.segmentGroup,o.index,i.commands):Uh(o.segmentGroup,o.index,i.commands);return Nh(o.segmentGroup,a,t,r,s)}(l,this.currentUrlTree,e,u,c)}navigateByUrl(e,t={skipLocationChange:!1}){or()&&this.isNgZoneEnabled&&!Fa.isInAngularZone()&&this.console.warn("Navigation triggered outside Angular zone, did you forget to call 'ngZone.run()'?");const n=Gh(e)?e:this.parseUrl(e),r=this.urlHandlingStrategy.merge(n,this.rawUrlTree);return this.scheduleNavigation(r,"imperative",null,t)}navigate(e,t={skipLocationChange:!1}){return function(e){for(let t=0;t<e.length;t++){const n=e[t];if(null==n)throw new Error(`The requested path contains ${n} segment at index ${t}`)}}(e),this.navigateByUrl(this.createUrlTree(e,t),t)}serializeUrl(e){return this.urlSerializer.serialize(e)}parseUrl(e){let t;try{t=this.urlSerializer.parse(e)}catch(n){t=this.malformedUriErrorHandler(n,this.urlSerializer,e)}return t}isActive(e,t){if(Gh(e))return Ku(this.currentUrlTree,e,t);const n=this.parseUrl(e);return Ku(this.currentUrlTree,n,t)}removeEmptyProps(e){return Object.keys(e).reduce((t,n)=>{const r=e[n];return null!=r&&(t[n]=r),t},{})}processNavigations(){this.navigations.subscribe(e=>{this.navigated=!0,this.lastSuccessfulId=e.id,this.events.next(new wu(e.id,this.serializeUrl(e.extractedUrl),this.serializeUrl(this.currentUrlTree))),this.lastSuccessfulNavigation=this.currentNavigation,this.currentNavigation=null,e.resolve(!0)},e=>{this.console.warn("Unhandled Navigation Error: ")})}scheduleNavigation(e,t,n,r,s){const i=this.getTransition();if(i&&"imperative"!==t&&"imperative"===i.source&&i.rawUrl.toString()===e.toString())return Promise.resolve(!0);if(i&&"hashchange"==t&&"popstate"===i.source&&i.rawUrl.toString()===e.toString())return Promise.resolve(!0);if(i&&"popstate"==t&&"hashchange"===i.source&&i.rawUrl.toString()===e.toString())return Promise.resolve(!0);let o,a,l;s?(o=s.resolve,a=s.reject,l=s.promise):l=new Promise((e,t)=>{o=e,a=t});const c=++this.navigationId;return this.setTransition({id:c,source:t,restoredState:n,currentUrlTree:this.currentUrlTree,currentRawUrl:this.rawUrlTree,rawUrl:e,extras:r,resolve:o,reject:a,promise:l,currentSnapshot:this.routerState.snapshot,currentRouterState:this.routerState}),l.catch(e=>Promise.reject(e))}setBrowserUrl(e,t,n,r){const s=this.urlSerializer.serialize(e);r=r||{},this.location.isCurrentPathEqualTo(s)||t?this.location.replaceState(s,"",Object.assign(Object.assign({},r),{navigationId:n})):this.location.go(s,"",Object.assign(Object.assign({},r),{navigationId:n}))}resetStateAndUrl(e,t,n){this.routerState=e,this.currentUrlTree=t,this.rawUrlTree=this.urlHandlingStrategy.merge(this.currentUrlTree,n),this.resetUrlToCurrentUrlTree()}resetUrlToCurrentUrlTree(){this.location.replaceState(this.urlSerializer.serialize(this.rawUrlTree),"",{navigationId:this.lastSuccessfulId})}}return e.\u0275fac=function(e){Ii()},e.\u0275dir=yt({type:e}),e})(),Nd=(()=>{class e{constructor(e,t,n,r,s){this.router=e,this.route=t,this.commands=[],null==n&&r.setAttribute(s.nativeElement,"tabindex","0")}set routerLink(e){this.commands=null!=e?Array.isArray(e)?e:[e]:[]}set preserveQueryParams(e){or()&&console&&console.warn&&console.warn("preserveQueryParams is deprecated!, use queryParamsHandling instead."),this.preserve=e}onClick(){const e={skipLocationChange:jd(this.skipLocationChange),replaceUrl:jd(this.replaceUrl),state:this.state};return this.router.navigateByUrl(this.urlTree,e),!0}get urlTree(){return this.router.createUrlTree(this.commands,{relativeTo:this.route,queryParams:this.queryParams,fragment:this.fragment,preserveQueryParams:jd(this.preserve),queryParamsHandling:this.queryParamsHandling,preserveFragment:jd(this.preserveFragment)})}}return e.\u0275fac=function(t){return new(t||e)(Ti(Pd),Ti(xh),Ai("tabindex"),Ti(fo),Ti(co))},e.\u0275dir=yt({type:e,selectors:[["","routerLink","",5,"a",5,"area"]],hostBindings:function(e,t){1&e&&Li("click",(function(){return t.onClick()}))},inputs:{routerLink:"routerLink",preserveQueryParams:"preserveQueryParams",queryParams:"queryParams",fragment:"fragment",queryParamsHandling:"queryParamsHandling",preserveFragment:"preserveFragment",skipLocationChange:"skipLocationChange",replaceUrl:"replaceUrl",state:"state"}}),e})(),Dd=(()=>{class e{constructor(e,t,n){this.router=e,this.route=t,this.locationStrategy=n,this.commands=[],this.subscription=e.events.subscribe(e=>{e instanceof wu&&this.updateTargetUrlAndHref()})}set routerLink(e){this.commands=null!=e?Array.isArray(e)?e:[e]:[]}set preserveQueryParams(e){or()&&console&&console.warn&&console.warn("preserveQueryParams is deprecated, use queryParamsHandling instead."),this.preserve=e}ngOnChanges(e){this.updateTargetUrlAndHref()}ngOnDestroy(){this.subscription.unsubscribe()}onClick(e,t,n,r){if(0!==e||t||n||r)return!0;if("string"==typeof this.target&&"_self"!=this.target)return!0;const s={skipLocationChange:jd(this.skipLocationChange),replaceUrl:jd(this.replaceUrl),state:this.state};return this.router.navigateByUrl(this.urlTree,s),!1}updateTargetUrlAndHref(){this.href=this.locationStrategy.prepareExternalUrl(this.router.serializeUrl(this.urlTree))}get urlTree(){return this.router.createUrlTree(this.commands,{relativeTo:this.route,queryParams:this.queryParams,fragment:this.fragment,preserveQueryParams:jd(this.preserve),queryParamsHandling:this.queryParamsHandling,preserveFragment:jd(this.preserveFragment)})}}return e.\u0275fac=function(t){return new(t||e)(Ti(Pd),Ti(xh),Ti(Tl))},e.\u0275dir=yt({type:e,selectors:[["a","routerLink",""],["area","routerLink",""]],hostVars:2,hostBindings:function(e,t){1&e&&Li("click",(function(e){return t.onClick(e.button,e.ctrlKey,e.metaKey,e.shiftKey)})),2&e&&(eo("href",t.href,ur),xi("target",t.target))},inputs:{routerLink:"routerLink",preserveQueryParams:"preserveQueryParams",target:"target",queryParams:"queryParams",fragment:"fragment",queryParamsHandling:"queryParamsHandling",preserveFragment:"preserveFragment",skipLocationChange:"skipLocationChange",replaceUrl:"replaceUrl",state:"state"},features:[ro]}),e})();function jd(e){return""===e||!!e}let Md=(()=>{class e{constructor(e,t,n,r,s){this.router=e,this.element=t,this.renderer=n,this.link=r,this.linkWithHref=s,this.classes=[],this.isActive=!1,this.routerLinkActiveOptions={exact:!1},this.subscription=e.events.subscribe(e=>{e instanceof wu&&this.update()})}ngAfterContentInit(){this.links.changes.subscribe(e=>this.update()),this.linksWithHrefs.changes.subscribe(e=>this.update()),this.update()}set routerLinkActive(e){const t=Array.isArray(e)?e:e.split(" ");this.classes=t.filter(e=>!!e)}ngOnChanges(e){this.update()}ngOnDestroy(){this.subscription.unsubscribe()}update(){this.links&&this.linksWithHrefs&&this.router.navigated&&Promise.resolve().then(()=>{const e=this.hasActiveLinks();this.isActive!==e&&(this.isActive=e,this.classes.forEach(t=>{e?this.renderer.addClass(this.element.nativeElement,t):this.renderer.removeClass(this.element.nativeElement,t)}))})}isLinkActive(e){return t=>e.isActive(t.urlTree,this.routerLinkActiveOptions.exact)}hasActiveLinks(){const e=this.isLinkActive(this.router);return this.link&&e(this.link)||this.linkWithHref&&e(this.linkWithHref)||this.links.some(e)||this.linksWithHrefs.some(e)}}return e.\u0275fac=function(t){return new(t||e)(Ti(Pd),Ti(co),Ti(fo),Ti(Nd,8),Ti(Dd,8))},e.\u0275dir=yt({type:e,selectors:[["","routerLinkActive",""]],contentQueries:function(e,t,n){var r;1&e&&(pa(n,Nd,!0),pa(n,Dd,!0)),2&e&&(da(r=fa())&&(t.links=r),da(r=fa())&&(t.linksWithHrefs=r))},inputs:{routerLinkActiveOptions:"routerLinkActiveOptions",routerLinkActive:"routerLinkActive"},exportAs:["routerLinkActive"],features:[ro]}),e})();class Ud{constructor(){this.outlet=null,this.route=null,this.resolver=null,this.children=new Ld,this.attachRef=null}}class Ld{constructor(){this.contexts=new Map}onChildOutletCreated(e,t){const n=this.getOrCreateContext(e);n.outlet=t,this.contexts.set(e,n)}onChildOutletDestroyed(e){const t=this.getContext(e);t&&(t.outlet=null)}onOutletDeactivated(){const e=this.contexts;return this.contexts=new Map,e}onOutletReAttached(e){this.contexts=e}getOrCreateContext(e){let t=this.getContext(e);return t||(t=new Ud,this.contexts.set(e,t)),t}getContext(e){return this.contexts.get(e)||null}}let Fd=(()=>{class e{constructor(e,t,n,r,s){this.parentContexts=e,this.location=t,this.resolver=n,this.changeDetector=s,this.activated=null,this._activatedRoute=null,this.activateEvents=new ta,this.deactivateEvents=new ta,this.name=r||"primary",e.onChildOutletCreated(this.name,this)}ngOnDestroy(){this.parentContexts.onChildOutletDestroyed(this.name)}ngOnInit(){if(!this.activated){const e=this.parentContexts.getContext(this.name);e&&e.route&&(e.attachRef?this.attach(e.attachRef,e.route):this.activateWith(e.route,e.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 e=this.activated;return this.activated=null,this._activatedRoute=null,e}attach(e,t){this.activated=e,this._activatedRoute=t,this.location.insert(e.hostView)}deactivate(){if(this.activated){const e=this.component;this.activated.destroy(),this.activated=null,this._activatedRoute=null,this.deactivateEvents.emit(e)}}activateWith(e,t){if(this.isActivated)throw new Error("Cannot activate an already activated outlet");this._activatedRoute=e;const n=(t=t||this.resolver).resolveComponentFactory(e._futureSnapshot.routeConfig.component),r=this.parentContexts.getOrCreateContext(this.name).children,s=new Vd(e,r,this.location.injector);this.activated=this.location.createComponent(n,this.location.length,s),this.changeDetector.markForCheck(),this.activateEvents.emit(this.activated.instance)}}return e.\u0275fac=function(t){return new(t||e)(Ti(Ld),Ti(Mo),Ti(lo),Ai("name"),Ti(Ks))},e.\u0275dir=yt({type:e,selectors:[["router-outlet"]],outputs:{activateEvents:"activate",deactivateEvents:"deactivate"},exportAs:["outlet"]}),e})();class Vd{constructor(e,t,n){this.route=e,this.childContexts=t,this.parent=n}get(e,t){return e===xh?this.route:e===Ld?this.childContexts:this.parent.get(e,t)}}class qd{}class Hd{preload(e,t){return xc(null)}}let $d=(()=>{class e{constructor(e,t,n,r,s){this.router=e,this.injector=r,this.preloadingStrategy=s,this.loader=new Td(t,n,t=>e.triggerEvent(new Tu(t)),t=>e.triggerEvent(new Au(t)))}setUpPreloading(){this.subscription=this.router.events.pipe(Dc(e=>e instanceof wu),hu(()=>this.preload())).subscribe(()=>{})}preload(){const e=this.injector.get(Xe);return this.processRoutes(e,this.router.config)}ngOnDestroy(){this.subscription.unsubscribe()}processRoutes(e,t){const n=[];for(const r of t)if(r.loadChildren&&!r.canLoad&&r._loadedConfig){const e=r._loadedConfig;n.push(this.processRoutes(e.module,e.routes))}else r.loadChildren&&!r.canLoad?n.push(this.preloadConfig(e,r)):r.children&&n.push(this.processRoutes(e,r.children));return q(n).pipe(G(),U(e=>{}))}preloadConfig(e,t){return this.preloadingStrategy.preload(t,()=>this.loader.load(e.injector,t).pipe(H(e=>(t._loadedConfig=e,this.processRoutes(e.module,e.routes)))))}}return e.\u0275fac=function(t){return new(t||e)(Ze(Pd),Ze(al),Ze(ja),Ze(hi),Ze(qd))},e.\u0275prov=de({token:e,factory:e.\u0275fac}),e})(),zd=(()=>{class e{constructor(e,t,n={}){this.router=e,this.viewportScroller=t,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(e=>{e instanceof yu?(this.store[this.lastId]=this.viewportScroller.getScrollPosition(),this.lastSource=e.navigationTrigger,this.restoredId=e.restoredState?e.restoredState.navigationId:0):e instanceof wu&&(this.lastId=e.id,this.scheduleScrollEvent(e,this.router.parseUrl(e.urlAfterRedirects).fragment))})}consumeScrollEvents(){return this.router.events.subscribe(e=>{e instanceof Nu&&(e.position?"top"===this.options.scrollPositionRestoration?this.viewportScroller.scrollToPosition([0,0]):"enabled"===this.options.scrollPositionRestoration&&this.viewportScroller.scrollToPosition(e.position):e.anchor&&"enabled"===this.options.anchorScrolling?this.viewportScroller.scrollToAnchor(e.anchor):"disabled"!==this.options.scrollPositionRestoration&&this.viewportScroller.scrollToPosition([0,0]))})}scheduleScrollEvent(e,t){this.router.triggerEvent(new Nu(e,"popstate"===this.lastSource?this.store[this.restoredId]:null,t))}ngOnDestroy(){this.routerEventsSubscription&&this.routerEventsSubscription.unsubscribe(),this.scrollEventsSubscription&&this.scrollEventsSubscription.unsubscribe()}}return e.\u0275fac=function(e){Ii()},e.\u0275dir=yt({type:e}),e})();const Bd=new Fe("ROUTER_CONFIGURATION"),Gd=new Fe("ROUTER_FORROOT_GUARD"),Wd=[Pl,{provide:nh,useClass:rh},{provide:Pd,useFactory:function(e,t,n,r,s,i,o,a={},l,c){const u=new Pd(null,e,t,n,r,s,i,Gu(o));if(l&&(u.urlHandlingStrategy=l),c&&(u.routeReuseStrategy=c),a.errorHandler&&(u.errorHandler=a.errorHandler),a.malformedUriErrorHandler&&(u.malformedUriErrorHandler=a.malformedUriErrorHandler),a.enableTracing){const e=gl();u.events.subscribe(t=>{e.logGroup(`Router Event: ${t.constructor.name}`),e.log(t.toString()),e.log(t),e.logGroupEnd()})}return a.onSameUrlNavigation&&(u.onSameUrlNavigation=a.onSameUrlNavigation),a.paramsInheritanceStrategy&&(u.paramsInheritanceStrategy=a.paramsInheritanceStrategy),a.urlUpdateStrategy&&(u.urlUpdateStrategy=a.urlUpdateStrategy),a.relativeLinkResolution&&(u.relativeLinkResolution=a.relativeLinkResolution),u},deps:[nh,Ld,Pl,hi,al,ja,kd,Bd,[class{},new ae],[class{},new ae]]},Ld,{provide:xh,useFactory:function(e){return e.routerState.root},deps:[Pd]},{provide:al,useClass:ul},$d,Hd,class{preload(e,t){return t().pipe(Zc(()=>xc(null)))}},{provide:Bd,useValue:{enableTracing:!1}}];function Qd(){return new el("Router",Pd)}let Zd=(()=>{class e{constructor(e,t){}static forRoot(t,n){return{ngModule:e,providers:[Wd,Xd(t),{provide:Gd,useFactory:Jd,deps:[[Pd,new ae,new ce]]},{provide:Bd,useValue:n||{}},{provide:Tl,useFactory:Yd,deps:[yl,[new oe(Il),new ae],Bd]},{provide:zd,useFactory:Kd,deps:[Pd,Ql,Bd]},{provide:qd,useExisting:n&&n.preloadingStrategy?n.preloadingStrategy:Hd},{provide:el,multi:!0,useFactory:Qd},[ep,{provide:va,multi:!0,useFactory:tp,deps:[ep]},{provide:rp,useFactory:np,deps:[ep]},{provide:xa,multi:!0,useExisting:rp}]]}}static forChild(t){return{ngModule:e,providers:[Xd(t)]}}}return e.\u0275mod=gt({type:e}),e.\u0275inj=pe({factory:function(t){return new(t||e)(Ze(Gd,8),Ze(Pd,8))}}),e})();function Kd(e,t,n){return n.scrollOffset&&t.setOffset(n.scrollOffset),new zd(e,t,n)}function Yd(e,t,n={}){return n.useHash?new Rl(e,t):new Ol(e,t)}function Jd(e){if(e)throw new Error("RouterModule.forRoot() called twice. Lazy loaded modules should use RouterModule.forChild() instead.");return"guarded"}function Xd(e){return[{provide:di,multi:!0,useValue:e},{provide:kd,multi:!0,useValue:e}]}let ep=(()=>{class e{constructor(e){this.injector=e,this.initNavigation=!1,this.resultOfPreactivationDone=new E}appInitializer(){return this.injector.get(bl,Promise.resolve(null)).then(()=>{let e=null;const t=new Promise(t=>e=t),n=this.injector.get(Pd),r=this.injector.get(Bd);if(this.isLegacyDisabled(r)||this.isLegacyEnabled(r))e(!0);else if("disabled"===r.initialNavigation)n.setUpLocationChangeListener(),e(!0);else{if("enabled"!==r.initialNavigation)throw new Error(`Invalid initialNavigation options: '${r.initialNavigation}'`);n.hooks.afterPreactivation=()=>this.initNavigation?xc(null):(this.initNavigation=!0,e(!0),this.resultOfPreactivationDone),n.initialNavigation()}return t})}bootstrapListener(e){const t=this.injector.get(Bd),n=this.injector.get($d),r=this.injector.get(zd),s=this.injector.get(Pd),i=this.injector.get(il);e===i.components[0]&&(this.isLegacyEnabled(t)?s.initialNavigation():this.isLegacyDisabled(t)&&s.setUpLocationChangeListener(),n.setUpPreloading(),r.init(),s.resetRootComponentType(i.componentTypes[0]),this.resultOfPreactivationDone.next(null),this.resultOfPreactivationDone.complete())}isLegacyEnabled(e){return"legacy_enabled"===e.initialNavigation||!0===e.initialNavigation||void 0===e.initialNavigation}isLegacyDisabled(e){return"legacy_disabled"===e.initialNavigation||!1===e.initialNavigation}}return e.\u0275fac=function(t){return new(t||e)(Ze(hi))},e.\u0275prov=de({token:e,factory:e.\u0275fac}),e})();function tp(e){return e.appInitializer.bind(e)}function np(e){return e.bootstrapListener.bind(e)}const rp=new Fe("Router Initializer"),sp=[{id:"1",title:"1. O que \xe9 a COVID-19?",description:"Saiba o que \xe9 COVID-19, de onde veio e como chegou at\xe9 o Brasil",alt:"Imagem ilustrativa de uma pessoa com equipamento de prote\xe7\xe3o segurando um sugador de v\xedrus",thumb:"./assets/images/thumb/1_thumb_o_que_e_covid.jpg"},{title:"2. Como a COVID-19 \xe9 transmitida?",description:"O SARS-cov-2 \xe9 um virus respirat\xf3rio, descubra como acontece a transmiss\xe3o.",id:"2",alt:"Imagem ilustrativa de pessoas aglomeradas em um espa\xe7o v\xfalner\xe1vel",thumb:"./assets/images/thumb/2_thumb_transmissao.jpg"},{title:"3. O que s\xe3o os Grupos de Risco?",description:"As pessoas mais fr\xe1geis devem ser protegidas, saiba quem s\xe3o elas.",id:"3",alt:"Imagem de um senhor sentado tomando seu vinho dentro de um restaurante ou bar",thumb:"./assets/images/thumb/3_thumb_grupo_risco.jpg"},{title:"4. Como posso me proteger e proteger minha fam\xedlia do novo Coronav\xedrus?",description:"Aprenda medidas fundamentais para proteger a si e todos que voc\xea ama!",id:"4",alt:"Imagem de uma escultura utilizando um m\xe1scara de prote\xe7\xe3o",thumb:"./assets/images/thumb/4_thumb_protecao.jpg"},{title:"5. Qual a import\xe2ncia do distanciamento social?",description:"O distanciamento social \xe9 a melhor forma de combater esse inimigo, descubra o motivo!",id:"5",alt:"Imagem de 4 pessoas atravessando a rua na faixa de pedestres, por\xe9m a imagem foi cortada e afastada em cada pessoa para demonstrar o dist\xe2nciamento",thumb:"./assets/images/thumb/5_thumb_distanciamento_social.jpg"},{title:"6. Quais s\xe3o os sintomas da COVID-19?",description:"Os sintomas s\xe3o os sinais percept\xedveis que uma doen\xe7a pode causar. Saiba quais s\xe3o os sintomas da COVID-19.",id:"6",alt:"Imagem de um term\xf4metro",thumb:"./assets/images/thumb/6_thumb_sintomas.jpg"},{title:"7. A Covid-19 tem cura?",description:"O novo coronav\xedrus \xe9 perigoso, por\xe9m n\xe3o \xe9 uma senten\xe7a.",id:"7",alt:"Imagem ilustrativa",thumb:"./assets/images/thumb/7_thumb_cura.jpg"},{title:"8. O que mais preciso saber sobre a COVID-19?",description:"Mantenha uma vida saud\xe1vel, durante a quarentena. Se cuide!",id:"8",alt:"Imagem ilustrativa",thumb:"./assets/images/thumb/8_thumb_saber.jpg"}],ip=[{thumb:"./assets/images/thumb/covid_fakenews_verao.jpg",title:"\xc9 FAKE NEWS!",subtitle:"N\xc3O ACREDITE EM TUDO QUE VOC\xca RECEBE. SAIBA AGORA O QUE \xc9 VERDADEIRO!",alt:"Imagem ilustativa de uma pessoa interagindo com seu celular onde nele mostra not\xedcias referentes ao v\xedrus",route:"/fakenews"},{thumb:"./assets/images/thumb/covid_infectados_mortes.jpg",title:"CONFIRA O N\xdaMERO DE INFECTADOS!",alt:"Imagem ilustrativa de diversos caix\xf5es sendo tombados",subtitle:"NO BRASIL E NO MUNDO!",route:"/mapa"}],op=function(e){return["/guia",e]};function ap(e,t){if(1&e&&(Pi(0,"article",10),Pi(1,"div",11),Di(2,"img",12),Ni(),Pi(3,"div",13),Pi(4,"h3",4),Ki(5),Ni(),Pi(6,"p",14),Ki(7),Ni(),Pi(8,"span",15),Ki(9,"LER MAIS"),Ni(),Ni(),Ni()),2&e){const e=t.$implicit;Oi("routerLink",ea(5,op,e.id)),Er(2),Oi("src",e.thumb,ur)("alt",e.alt),Er(3),Yi(e.title),Er(2),Yi(e.description)}}const lp=function(e){return[e]};function cp(e,t){if(1&e&&(Pi(0,"aside",16),Pi(1,"article",17),Di(2,"img",18),Pi(3,"div",19),Pi(4,"h3",4),Ki(5),Ni(),Pi(6,"p",14),Ki(7),Ni(),Ni(),Pi(8,"span",20),Ki(9,"LER MAIS"),Ni(),Ni(),Ni()),2&e){const e=t.$implicit;Oi("routerLink",ea(5,lp,e.route)),Er(2),Oi("alt",e.alt)("src",e.thumb,ur),Er(3),Yi(e.title),Er(2),Yi(e.subtitle)}}const up=[{id:1,title:"O QUE \xc9 A COVID-19",subtitle:"Saiba o que \xe9 COVID-19, de onde veio e como chegou at\xe9 o Brasil",date:"Mai 11, 2020",readTime:2,audio:"./assets/audios/1.O que e covid-19.mp3",shareButtons:[{icon:"icon-facebook",type:"facebook"},{icon:"icon-whatsapp",type:"whatsapp"}],thumb:{img:"./assets/images/banners/1_o_que_e_covid.jpg",alt:"Imagem ilustrativa de uma pessoa com equipamento de prote\xe7\xe3o segurando um sugador de v\xedrus"},paragraphs:[{paragraph:"Coronavirus disease 2019 (COVID-19), \xe9 o nome que se deu para o novo coronav\xedrus SARS-cov-2. \xc9 uma doen\xe7a que afeta o trato respirat\xf3rio, assim como a gripe comum, por\xe9m somados \xe0 complica\xe7\xf5es respirat\xf3rias mais graves."},{paragraph:"A fam\xedlia coronaviridae apresenta diversas esp\xe9cies de coronav\xedrus, mas poucas destas, infectam o homem. No caso do COVID-19, o v\xedrus se assemelha \xe0 um tipo de coronav\xedrus em morcegos, no entanto ainda n\xe3o se sabe se a doen\xe7a decorreu de muta\xe7\xf5es naturais ou n\xe3o."},{paragraph:"De acordo com a OMS (Organiza\xe7\xe3o Mundial de Sa\xfade) aproximadamente 80% das pessoas que contra\xedrem a COVID-19, podem n\xe3o apresentar nenhum sintoma, cerca de 20% dos casos podem precisar de atendimento hospitalar para tratar de dificuldades respirat\xf3rias n\xe3o graves e aproximadamente 5% podem necessitar de tratamento para complica\xe7\xf5es respirat\xf3rias graves."}],references:["https://coronavirus.saude.gov.br/","https://www.nature.com/articles/s41591-020-0820-9"]},{id:2,title:"Como a COVID-19 \xe9 transmitida?",subtitle:"O SARS-cov-2 \xe9 um virus respirat\xf3rio, descubra como acontece a transmiss\xe3o.",date:"Mai 11, 2020",readTime:2,audio:"./assets/audios/2. Como a covid-19 e transmitida.mp3",shareButtons:[{icon:"icon-facebook",type:"facebook"},{icon:"icon-whatsapp",type:"whatsapp"}],thumb:{img:"./assets/images/banners/2_como_e_transmitido.jpg",alt:"Imagem ilustrativa de pessoas aglomeradas em um espa\xe7o v\xfalner\xe1vel"},paragraphs:[{paragraph:"O Sars-cov-2 \xe9 um v\xedrus respirat\xf3rio, ou seja, fica alojado em locais como nariz, boca, traqu\xe9ia, garganta e pulm\xf5es. Quando uma pessoa com COVID-19 fala, tosse ou espirra, o v\xedrus \xe9 carregado por pequenas part\xedculas de \xe1gua."},{paragraph:"As got\xedculas com o v\xedrus podem ser inaladas diretamente por outra pessoa, ou se depositarem em superf\xedcies(ma\xe7anetas, celulares, etc...). Pesquisas indicam que objetos de pl\xe1stico e a\xe7o inoxid\xe1vel, podem transmitir o v\xedrus por 3 dias."},{paragraph:"Existem, embora raramente ocorra, casos de COVID-19 transmitido verticalmente, ou seja, de m\xe3e para filho, durante a gravidez. Quanto aos animais dom\xe9sticos, n\xe3o existem comprova\xe7\xf5es de que possam transmitir o COVID-19. Houveram casos de felinos que contra\xedram COVID-19 de seus donos, no entanto, os sintomas foram brandos."},{paragraph:"Alguns estudos na China apontam que gatos com donos infectados, se contaminaram com a COVID-19, por\xe9m nenhum animal apresentou sintomas e n\xe3o h\xe1 nenhum estudo que conclua que os animais possam transmitir a doen\xe7a, do mesmo modo que n\xe3o existem fontes que demonstram que alimentos possam transmitir o v\xedrus."}],references:["https://coronavirus.saude.gov.br/sobre-a-doenca#transmissao","https://drauziovarella.uol.com.br/coronavirus/posso-estar-infectado-com-coronavirus-e-nao-ter-sintomas/","https://saude.abril.com.br/medicina/como-o-coronavirus-e-transmitido-e-por-quanto-tempo-ele-resiste-por-ai/","http://portal.anvisa.gov.br/noticias/-/asset_publisher/FXrpx9qY7FbU/content/o-novo-coronavirus-pode-ser-transmitido-por-alimentos-/219201/pop_up?_101_INSTANCE_FXrpx9qY7FbU_viewMode=print&_101_INSTANCE_FXrpx9qY7FbU_languageId=pt_BR","https://theconversation.com/can-your-pets-get-coronavirus-and-can-you-catch-it-from-them-135611"]},{id:3,title:"O que s\xe3o os Grupos de Risco?",subtitle:"As pessoas mais fr\xe1geis devem ser protegidas, saiba quem s\xe3o elas",date:"Mai 11, 2020",readTime:5,audio:"./assets/audios/3. O que sao grupos de risco.mp3",shareButtons:[{icon:"icon-facebook",type:"facebook"},{icon:"icon-whatsapp",type:"whatsapp"}],thumb:{img:"./assets/images/banners/3_grupo_risco.jpg",alt:"Imagem de um senhor sentado tomando seu vinho dentro de um restaurante ou bar"},paragraphs:[{paragraph:"S\xe3o grupos de pessoas que caso se contaminem com COVID-19, est\xe3o mais propensos a maiores complica\xe7\xf5es e morrer em decorr\xeancia da COVID-19, eles s\xe3o:"},{step:"1.",paragraph:"Diab\xe9ticos;"},{step:"2.",paragraph:"Hipertensos;"},{step:"3.",paragraph:"Asmaticos;"},{step:"4.",paragraph:"Indiv\xedduos acima de 60 anos;"},{step:"5.",paragraph:"Portadores de doen\xe7as renais cr\xf4nicas;"},{step:"6.",paragraph:"Pessoas que passam por tratamentos de condi\xe7\xf5es autoimune como l\xfapus e c\xe2ncer;"},{step:"7.",isLastStep:!0,paragraph:"Gestantes."},{paragraph:"Um levantamento feito na It\xe1lia que mostra a taxa de mortalidade, por faixa et\xe1ria ajuda a ilustrar:"},{step:"\u2022",paragraph:"90 anos ou mais: 25,2%"},{step:"\u2022",paragraph:"80 a 89 anos: 30,5%"},{step:"\u2022",paragraph:"70 a 79 anos: 24%"},{step:"\u2022",paragraph:"60 a 69 anos: 9,5%"},{step:"\u2022",paragraph:"50 a 59 anos: 2,5%"},{step:"\u2022",paragraph:"40 a 49 anos: 0,9%"},{step:"\u2022",paragraph:"30 a 39 anos: 0,3%"},{step:"\u2022",paragraph:"At\xe9 29 anos: 0,1%"},{step:"\u2022",paragraph:"N\xe3o reportados: 0,8%"},{isLastStep:!0,step:"\u2022",paragraph:"Total de mortes: 19.508"},{paragraph:"Outro levantamento foi feito por condi\xe7\xf5es pr\xe9 existentes:"},{step:"\u2022",paragraph:"Doen\xe7as cardiovasculares: 10,5%"},{step:"\u2022",paragraph:"Diabetes: 7,3%"},{step:"\u2022",paragraph:"Doen\xe7a respirat\xf3ria cr\xf4nica: 6,3%"},{step:"\u2022",paragraph:"Hipertens\xe3o: 6,0%"},{step:"\u2022",paragraph:"C\xe2ncer: 5,6%"},{isLastStep:!0,step:"\u2022",paragraph:"Sem condi\xe7\xe3o pr\xe9-existente: 0,9%"}],references:["https://saude.abril.com.br/medicina/coronavirus-novos-dados-sobre-grupos-de-risco/","https://saude.ig.com.br/2020-02-29/coronavirus-estudo-exibe-taxa-de-mortalidade-por-idade-e-doencas.html","https://www.poder360.com.br/coronavirus/conheca-a-faixa-etaria-dos-mortos-por-covid-19-no-brasil-italia-e-espanha/"]},{id:4,title:"Como posso me proteger e proteger minha fam\xedlia do novo Coronav\xedrus?",subtitle:"Aprenda medidas fundamentais para proteger a si e todos que voc\xea ama!",date:"Mai 11, 2020",readTime:6,audio:"./assets/audios/4. Como posso me proteger.mp3",shareButtons:[{icon:"icon-facebook",type:"facebook"},{icon:"icon-whatsapp",type:"whatsapp"}],thumb:{img:"./assets/images/banners/4_protecao.jpg",alt:"Imagem de uma escultura utilizando um m\xe1scara de prote\xe7\xe3o"},paragraphs:[{step:"1.",paragraph:"Lavar com frequ\xeancia as m\xe3os at\xe9 a altura dos punhos, com \xe1gua e sab\xe3o e ent\xe3o higienize com \xe1lcool em gel 70%;"},{step:"2.",paragraph:"Cobrir o nariz e boca com len\xe7o ou com o bra\xe7o ao tossir ou espirrar, e n\xe3o com as m\xe3os;"},{step:"3.",paragraph:"Evitar tocar olhos, nariz e boca, antes de higieniz\xe1-las ou quando sair de casa; "},{step:"4.",paragraph:"Manter uma dist\xe2ncia m\xednima de cerca de 2 metros de qualquer pessoa;"},{step:"5.",paragraph:"Higienizar com frequ\xeancia o celular e os brinquedos das crian\xe7as;"},{step:"6.",paragraph:"N\xe3o compartilhar objetos de uso pessoal, como talheres, toalhas, pratos e copos;"},{step:"7.",paragraph:"Manter os ambientes limpos e bem ventilados;"},{step:"8.",paragraph:"Evitar circula\xe7\xe3o desnecess\xe1ria nas ruas ou locais p\xfablicos. Se puder, fique em casa;"},{step:"9.",paragraph:"Utilizar m\xe1scaras caseiras ou artesanais feitas de tecido em situa\xe7\xf5es de sa\xedda de sua resid\xeancia; "},{step:"10.",paragraph:"Ao pedir algo via delivery, higienizar a embalagem, e para alimentos, remover da embalagem para consumo, e para alguns apps como o iFood, usar a op\xe7\xe3o de entrega sem contato."},{paragraph:"Existem outras op\xe7\xf5es que podem substituir o \xe1lcool em gel na falta do mesmo. Len\xe7os umedecidos antiss\xe9pticos, clorexidina e antiss\xe9ptico em spray com gluconato de clorexidina."},{paragraph:"Se voc\xea teve um contato espor\xe1dico com a pessoa, mantenha-se em quarentena por 14 dias, atento se voc\xea apresentar algum sintoma. J\xe1 se a pessoa mora com voc\xea, n\xe3o entre em p\xe2nico, siga as seguintes recomenda\xe7\xf5es e tudo ficar\xe1 bem:"},{step:"1.",paragraph:"N\xe3o compartilhar talheres com outros membros da fam\xedlia;"},{step:"2.",paragraph:"N\xe3o compartilhar produtos de higiene pessoal;"},{step:"3.",paragraph:"Descartar o material de higiene pessoal em um lixo separado;"},{step:"4.",paragraph:"A pessoa infectada dever\xe1 tirar sua pr\xf3pria roupa de cama;"},{step:"5.",paragraph:"Desinfetar sempre ma\xe7anetas, interruptores, torneiras com \xe1lcool 70% ou uma solu\xe7\xe3o de 4 colheres de ch\xe1 (20mL) de \xe1gua sanit\xe1ria para um litro de \xe1gua;"},{step:"6.",paragraph:"Desinfetar o cesto de roupa suja ou deixar as roupas em um saco fechado, e descart\xe1-lo ap\xf3s o uso;"},{step:"7.",paragraph:"Se o tecido permitir, lavar as roupas com \xe1gua quente;"},{step:"8.",paragraph:"Pode-se lavar as roupas juntas, mas ao estender, evitar de chacoalhar as roupas;"}],references:["https://coronavirus.saude.gov.br/sobre-a-doenca#como-se-proteger","https://oglobo.globo.com/sociedade/coronavirus/nao-encontra-alcool-gel-para-se-proteger-do-coronavirus-veja-alternativas-24288638","https://noticias.uol.com.br/cotidiano/ultimas-noticias/2020/04/17/decreto-determina-que-moradores-do-rio-de-janeiro-saiam-as-ruas-de-mascara.htm","https://g1.globo.com/sp/ribeirao-preto-franca/noticia/2020/04/18/multa-a-morador-que-sair-de-casa-sem-mascara-e-de-r-55-em-ribeirao-preto-diz-prefeitura.ghtml","https://www.campograndenews.com.br/cidades/capital/quem-nao-usar-mascara-ao-sair-de-casa-pode-responder-por-3-crimes-e-pagar-multa","https://www.bbc.com/portuguese/geral-5213505","https://www.semprefamilia.com.br/saude/quarentena-em-casa-pelo-coronavirus-o-que-significa/","https://www.unimed.coop.br/viver-bem/saude-em-pauta/coronavirus-e-covid-19-perguntas-e-respostas","https://drauziovarella.uol.com.br/coronavirus/como-limpar-superficies-e-objetos-para-prevenir-o-coronavirus/"]},{id:5,title:"Qual a import\xe2ncia do distanciamento social?",subtitle:"O distanciamento social \xe9 a melhor forma de combater esse inimigo, descubra o motivo!",date:"Mai 11, 2020",readTime:1,audio:"./assets/audios/5. Qual a importancia do distanciamento social.mp3",shareButtons:[{icon:"icon-facebook",type:"facebook"},{icon:"icon-whatsapp",type:"whatsapp"}],thumb:{img:"./assets/images/banners/5_distanciamento_social.jpg",alt:"Imagem de 4 pessoas atravessando a rua na faixa de pedestres, por\xe9m a imagem foi cortada e afastada em cada pessoa para demonstrar o dist\xe2nciamento"},paragraphs:[{paragraph:"O distanciamento social \xe9 uma medida recomendada por especialistas em sa\xfade do mundo inteiro para diminuir a prolifera\xe7\xe3o da doen\xe7a, a fim de desacelerar a curva do COVID-19. Isso vai evitar que o sistema de sa\xfade colapse, garantindo que todas as pessoas tenham condi\xe7\xf5es de serem tratadas. E isso \xe9 de extrema import\xe2ncia, pois mesmo a mortalidade de COVID-19 n\xe3o ser t\xe3o alta, as pessoas infectadas que precisam de tratamento ficam internadas, ocupando leitos hospitalares por alguns dias."}],references:["https://www.semprefamilia.com.br/saude/por-que-o-distanciamento-social-e-a-melhor-arma-que-temos-para-combater-o-coronavirus/?ref=veja-tambem","https://www.nature.com/articles/s41591-020-0820-9","https://www.ufrgs.br/telessauders/posts_coronavirus/qual-a-diferenca-de-distanciamento-social-isolamento-e-quarentena/","https://www.semprefamilia.com.br/saude/como-se-proteger-coronavirus-onibus-metro-trem/"]},{id:6,title:"Quais s\xe3o os sintomas da COVID-19?",subtitle:"Os sintomas s\xe3o os sinais percept\xedveis que uma doen\xe7a pode causar. Saiba quais s\xe3o os sintomas da COVID-19",date:"Mai 11, 2020",readTime:3,audio:"./assets/audios/6. Quais sao os sintomas da covid-19.mp3",shareButtons:[{icon:"icon-facebook",type:"facebook"},{icon:"icon-whatsapp",type:"whatsapp"}],thumb:{img:"./assets/images/banners/6_sintomas.jpg",alt:"Imagem de um term\xf4metro"},paragraphs:[{paragraph:"Os sintomas principais da COVID-19 s\xe3o:"},{step:"1.",paragraph:"Febre;"},{step:"2.",paragraph:"Tosse;"},{step:"3.",isLastStep:!0,paragraph:"Dificuldades para respirar."},{paragraph:"Outros sintomas menos comuns s\xe3o:"},{step:"1.",paragraph:"Dores no corpo;"},{step:"2.",paragraph:"Congest\xe3o nasal;"},{step:"3.",paragraph:"Coriza;"},{step:"4.",paragraph:"Dor de garganta;"},{step:"5.",isLastStep:!0,paragraph:"Diarr\xe9ia."},{paragraph:"Se necess\xe1rio, os m\xe9dicos ir\xe3o diagnosticar a doen\xe7a por meio de exames laboratoriais."}],references:["https://www.saude.gov.br/o-ministro/746-saude-de-a-a-z/46490-novo-coronavirus-o-que-e-causas-sintomas-tratamento-e-prevencao-3","https://saude.abril.com.br/medicina/tratamento-do-novo-coronavirus/","https://coronavirus.saude.gov.br/sobre-a-doenca#transmissao"]},{id:7,title:"A Covid-19 tem cura?",subtitle:"O novo coronav\xedrus \xe9 perigoso, por\xe9m n\xe3o \xe9 uma senten\xe7a",date:"Mai 11, 2020",readTime:4,audio:"./assets/audios/7. A covid-19 tem cura.mp3",shareButtons:[{icon:"icon-facebook",type:"facebook"},{icon:"icon-whatsapp",type:"whatsapp"}],thumb:{img:"./assets/images/banners/7_cura.jpg",alt:"Imagem de duas pessoas se abra\xe7ando"},paragraphs:[{paragraph:"Sim, at\xe9 dia 20/04 j\xe1 s\xe3o mais de 600 mil pessoas recuperadas no mundo."},{paragraph:"Existem alguns medicamentos sendo testados, contudo a forma mais eficaz de se proteger \xe9 n\xe3o ser infectado (tome as medidas sugeridas no nosso guia n\xfamero 4)!"},{paragraph:"Diversos medicamentos s\xe3o reportados pela m\xeddia, mas JAMAIS se medique sem uma orienta\xe7\xe3o m\xe9dica!"},{paragraph:"Pouco sabemos sobre o futuro da pandemia do COVID-19 para dizermos se essa doen\xe7a ser\xe1 erradicada, ou se tornar\xe1 uma doen\xe7a sazonal como a gripe. N\xe3o se sabe sobre quanto tempo uma pessoa permanece imunizada depois de infectada pelo coronav\xedrus ou se podem haver casos de reincid\xeancia da doen\xe7a."},{paragraph:"Ainda n\xe3o existem vacinas, no entanto, diversos pa\xedses est\xe3o se dedicando em criar e produzi-la. Mas, n\xe3o h\xe1 previs\xf5es sobre quando estar\xe3o dispon\xedveis para a popula\xe7\xe3o."},{paragraph:"Especialistas indicam que se todos os pa\xedses seguirem as recomenda\xe7\xf5es da OMS, o estado de pandemia (contamina\xe7\xe3o em escala mundial de uma doen\xe7a) terminar\xe1 em junho."}],references:["https://oglobo.globo.com/sociedade/coronavirus/epidemiologista-chines-que-lidou-com-sars-afirma-que-pandemia-do-coronavirus-terminara-em-junho-24300192","https://saude.abril.com.br/medicina/tratamento-do-novo-coronavirus/","https://www.abrale.org.br/revista-online/coronavirus-no-brasil-e-imunidade/","https://oglobo.globo.com/sociedade/coronavirus-servico/previna-se-contra-as-fake-news-sobre-coronavirus-24279517","https://veja.abril.com.br/saude/coronavirus-70-vacinas-em-andamento-com-3-candidatas-principais-diz-oms/","https://www.bbc.com/portuguese/internacional-51315759","https://drauziovarella.uol.com.br/coronavirus/peguei-coronavirus-uma-vez-estou-imune/"]},{id:8,title:"O que mais preciso saber sobre a COVID-19?",subtitle:"Mantenha uma vida saud\xe1vel, durante a quarentena. Se cuide!",date:"Mai 11, 2020",readTime:5,audio:"./assets/audios/8. O que mais preciso saber sobre a covid-19.mp3",shareButtons:[{icon:"icon-facebook",type:"facebook"},{icon:"icon-whatsapp",type:"whatsapp"}],thumb:{img:"./assets/images/banners/8_o_que_saber.jpg",alt:"Imagem de uma ilustra\xe7\xe3o de uma cabe\xe7a com uma fechadura dentro da mesma"},paragraphs:[{paragraph:"Os planos de sa\xfade com segmenta\xe7\xe3o ambulatorial, hospitalar ou refer\xeancia, cobrem o teste para a COVID-19 se houver indica\xe7\xe3o m\xe9dica, de acordo com o protocolo e as diretrizes definidas pelo Minist\xe9rio da Sa\xfade."},{paragraph:"Neste momento de isolamento social, somados a v\xe1rios fatores, pode afetar nossa sa\xfade mental. Com isso, devemos redobrar o cuidado conosco e com aqueles que nos cercam, buscando amenizar sintomas de ansiedade atrav\xe9s de:"},{step:"1.",paragraph:"Fa\xe7a exerc\xedcios f\xedsicos em casa como alongamentos, aer\xf3bica e o que tem ajudado muitas pessoas nessa quarentena \xe9 a pr\xe1tica do Yoga. S\xe3o alguns minutos que voc\xea ir\xe1 separar do seu dia para fazer esses exerc\xedcios e ap\xf3s fazer a primeira vez, ver\xe1 o quanto se sentir\xe1 mais disposto. Ah lembre de respeitar seus limites. V\xe1 com calma!"},{step:"2.",paragraph:"Evite o bombardeio e o excesso de informa\xe7\xf5es, isso gera ansiedade e medo. \xc9 preciso estar bem informado, mas n\xe3o obcecados e deve-se tomar cuidado com as fake news que circulam pela internet. Escolha um hor\xe1rio do seu dia para se informar. Busque as informa\xe7\xf5es sempre de fontes confi\xe1veis;"},{step:"3.",paragraph:"Mantenha sua alimenta\xe7\xe3o de uma forma saud\xe1vel, evite frituras e alimentos muitos gordurosos, bem como bebidas industrializadas, opte por suco natural e tome bastante \xe1gua. Consuma alimentos ricos em fibras, coma arroz e feij\xe3o pelo menos 5 vezes na semana. Aprecie a comida e coma devagar. Consulte um nutricionista online;"},{step:"4.",paragraph:" Pratique medita\xe7\xe3o, ela ir\xe1 ajudar a diminuir o estresse e a ansiedade, al\xe9m de ser ben\xe9fica para o fortalecimento do sistema imunol\xf3gico. Quando a mente vai bem, o corpo fica mais forte. Comece com medita\xe7\xf5es guiadas, feche os olhos, se conecte-se com o seu eu, preste aten\xe7\xe3o na respira\xe7\xe3o e siga a medita\xe7\xe3o escolhida por voc\xea;"},{step:"5.",paragraph:"Procure cultivar pensamentos positivos e n\xe3o deixe que ao longo do dia pensamentos negativos tomem conta de voc\xea e nem fique ruminando o medo. Procure sempre pelas pessoas de sua casa ou ligue para um amigo para desabafar e falar sobre o seu dia; "},{step:"6.",isLastStep:!0,paragraph:"Procure ajuda de especialistas (psic\xf3logos, psiquiatra) online para te orientar melhor em como lidar com o que estamos passando;"},{paragraph:"Nesse per\xedodo de quarentena, voc\xea n\xe3o est\xe1 sozinho (a), estamos todos juntos =)"}],references:["http://www.ans.gov.br/aans/noticias-ans/consumidor/5405-ans-inclui-exame-para-deteccao-de-coronavirus-no-rol-de-procedimentos-obrigatorios","https://www.vittude.com/blog/quarentena-como-manter-a-saude-mental/"]}];function hp(e,t){if(1&e){const e=Mi();Pi(0,"a",24),Li("click",(function(){Gt(e);const n=t.$implicit;return qi(2).shareGuide(n.type)})),Di(1,"i",25),Ni()}if(2&e){const e=t.$implicit;Er(1),Oi("ngClass",e.icon)}}function dp(e,t){if(1&e&&(Pi(0,"span",28),Ki(1),Ni()),2&e){const e=qi().$implicit;Er(1),Yi(e.step)}}function pp(e,t){if(1&e&&(Pi(0,"p",26),Ei(1,dp,2,1,"span",27),Ki(2),Ni()),2&e){const e=t.$implicit;Bi("-is-step",e.step)("-is-last-step",e.isLastStep),Er(1),Oi("ngIf",e.step),Er(1),Ji(" ",e.paragraph,"")}}function fp(e,t){if(1&e&&(Pi(0,"li"),Pi(1,"a",29),Ki(2),Ni(),Ni()),2&e){const e=t.$implicit;Er(1),Oi("href",e,ur),Er(1),Yi(e)}}function mp(e,t){if(1&e){const e=Mi();Pi(0,"a",24),Li("click",(function(){Gt(e);const n=t.$implicit;return qi(2).shareGuide(n.type)})),Di(1,"i",25),Ni()}if(2&e){const e=t.$implicit;Er(1),Oi("ngClass",e.icon)}}function gp(e,t){if(1&e){const e=Mi();Pi(0,"a",30),Pi(1,"button",31),Li("click",(function(){Gt(e),qi();const t=ki(1),n=qi();return n.goToNextGuide(n.nextGuide.id,t)})),Ki(2),Ni(),Ni()}if(2&e){const e=qi(2);Er(2),Xi(" ",null==e.nextGuide?null:e.nextGuide.id,". ",null==e.nextGuide?null:e.nextGuide.title," ")}}function vp(e,t){if(1&e&&(Pi(0,"article",1,2),Pi(2,"div",3),Pi(3,"h1",4),Ki(4),Ni(),Pi(5,"h2",5),Ki(6),Ni(),Pi(7,"time",6),Ki(8),Ni(),Ni(),Pi(9,"div",7),Pi(10,"div",8),Pi(11,"audio",9),Di(12,"source",10),Ni(),Ni(),Pi(13,"div",11),Ei(14,hp,2,1,"a",12),Ni(),Ni(),Pi(15,"div",13),Pi(16,"div",14),Di(17,"img",15),Ni(),Pi(18,"p",16),Ki(19),Ni(),Ni(),Pi(20,"div",17),Ei(21,pp,3,6,"p",18),Ni(),Pi(22,"h5",19),Ki(23,"REFER\xcaNCIAS"),Ni(),Pi(24,"ul",20),Ei(25,fp,3,2,"li",21),Ni(),Pi(26,"div",22),Pi(27,"div",11),Pi(28,"h5",19),Ki(29,"COMPARTILHE E AJUDE"),Ni(),Pi(30,"div"),Ei(31,mp,2,1,"a",12),Ni(),Ni(),Ei(32,gp,3,2,"a",23),Ni(),Ni()),2&e){const e=qi();Er(4),Xi("",null==e.guide?null:e.guide.id,". ",null==e.guide?null:e.guide.title,""),Er(2),Yi(null==e.guide?null:e.guide.subtitle),Er(2),Xi("",null==e.guide?null:e.guide.date," - ",null==e.guide?null:e.guide.readTime," min de leitura"),Er(4),Oi("src",e.guide.audio,ur),Er(2),Oi("ngForOf",null==e.guide?null:e.guide.shareButtons),Er(3),Oi("alt",null==e.guide?null:null==e.guide.thumb?null:e.guide.thumb.alt)("src",null==e.guide?null:null==e.guide.thumb?null:e.guide.thumb.img,ur),Er(2),Ji("IMG: ",null==e.guide?null:null==e.guide.thumb?null:e.guide.thumb.alt,""),Er(2),Oi("ngForOf",null==e.guide?null:e.guide.paragraphs),Er(4),Oi("ngForOf",null==e.guide?null:e.guide.references),Er(6),Oi("ngForOf",null==e.guide?null:e.guide.shareButtons),Er(1),Oi("ngIf",null!==e.nextGuide)}}const yp=[{id:1,title:"O VER\xc3O PODE AJUDAR A CONTER A TRANSMISS\xc3O DO V\xcdRUS?",subtitle:"Saiba se um pa\xeds com o clima mais quente interefere na propaga\xe7\xe3o do v\xedrus",date:"Mai 11, 2020",readTime:2,audio:"",shareButtons:[{icon:"icon-facebook",type:"facebook"},{icon:"icon-whatsapp",type:"whatsapp"}],thumb:{img:"./assets/images/banners/fake_news_verao.jpg",alt:"Imagem contendo imagens rementendo o ver\xe3o. Um abacaxi na piscina, uma b\xf3ia de piscina no formato de um flamingo e uma escada de piscina"},paragraphs:[{paragraph:"Os dados da Organiza\xe7\xe3o Mundial da Sa\xfade (OMS) demonstram que a pandemia cursa tanto em pa\xedses com clima mais frio (caso da It\xe1lia e da China) como em locais mais quentes, a exemplo de regi\xf5es brasileiras e australianas."},{paragraph:"O que se sabe, pela experi\xeancia de epidemias de infec\xe7\xf5es respirat\xf3rias anteriores, \xe9 que os v\xedrus respirat\xf3rios se aproveitam de duas situa\xe7\xf5es: queda na imunidade e aglomera\xe7\xe3o de pessoas. Fatores comuns com a chegada do inverno"}],references:["https://saude.abril.com.br/medicina/como-o-coronavirus-e-transmitido-e-por-quanto-tempo-ele-resiste-por-ai/"]}];function wp(e,t){if(1&e){const e=Mi();Pi(0,"a",21),Li("click",(function(){Gt(e);const n=t.$implicit;return qi(2).shareGuide(n.type)})),Di(1,"i",22),Ni()}if(2&e){const e=t.$implicit;Er(1),Oi("ngClass",e.icon)}}function bp(e,t){if(1&e&&(Pi(0,"span",25),Ki(1),Ni()),2&e){const e=qi().$implicit;Er(1),Yi(e.step)}}function _p(e,t){if(1&e&&(Pi(0,"p",23),Ei(1,bp,2,1,"span",24),Ki(2),Ni()),2&e){const e=t.$implicit;Bi("-is-step",e.step)("-is-last-step",e.isLastStep),Er(1),Oi("ngIf",e.step),Er(1),Ji(" ",e.paragraph,"")}}function Cp(e,t){if(1&e&&(Pi(0,"li"),Pi(1,"a",26),Ki(2),Ni(),Ni()),2&e){const e=t.$implicit;Er(1),Oi("href",e,ur),Er(1),Yi(e)}}function Sp(e,t){if(1&e&&(Pi(0,"article",1,2),Pi(2,"div",3),Pi(3,"h1",4),Ki(4),Ni(),Pi(5,"h2",5),Ki(6),Ni(),Pi(7,"time",6),Ki(8),Ni(),Ni(),Pi(9,"div",7),Pi(10,"div",8),Ki(11," \xc1udio ainda n\xe3o dispon\xedvel :( "),Ni(),Pi(12,"div",9),Ei(13,wp,2,1,"a",10),Ni(),Ni(),Pi(14,"div",11),Pi(15,"div",12),Di(16,"img",13),Ni(),Pi(17,"p",14),Ki(18),Ni(),Ni(),Pi(19,"div",15),Ei(20,_p,3,6,"p",16),Ni(),Pi(21,"h5",17),Ki(22,"REFER\xcaNCIAS"),Ni(),Pi(23,"ul",18),Ei(24,Cp,3,2,"li",19),Ni(),Pi(25,"div",20),Ki(26," Nossa se\xe7\xe3o de Fake News ainda est\xe1 em desenvolvimento! Fique a vontade para contribuir com uma sugest\xe3o ou den\xfancia de fake news clicando aqui! ;) "),Ni(),Ni()),2&e){const e=qi();Er(4),Xi("",null==e.guide?null:e.guide.id,". ",null==e.guide?null:e.guide.title,""),Er(2),Yi(null==e.guide?null:e.guide.subtitle),Er(2),Xi("",null==e.guide?null:e.guide.date," - ",null==e.guide?null:e.guide.readTime," min de leitura"),Er(5),Oi("ngForOf",null==e.guide?null:e.guide.shareButtons),Er(3),Oi("alt",null==e.guide?null:null==e.guide.thumb?null:e.guide.thumb.alt)("src",null==e.guide?null:null==e.guide.thumb?null:e.guide.thumb.img,ur),Er(2),Ji("IMG: ",null==e.guide?null:null==e.guide.thumb?null:e.guide.thumb.alt,""),Er(2),Oi("ngForOf",null==e.guide?null:e.guide.paragraphs),Er(4),Oi("ngForOf",null==e.guide?null:e.guide.references)}}const xp=[{path:"home",component:(()=>{class e{constructor(){this.guides=sp,this.asideItems=ip}ngOnInit(){}}return e.\u0275fac=function(t){return new(t||e)},e.\u0275cmp=dt({type:e,selectors:[["app-home"]],decls:12,vars:2,consts:[[1,"home","fadeIn"],[1,"start"],[1,"main"],[1,"title-subtitle"],[1,"title"],[1,"subtitle"],[1,"small-cards"],["class","card",3,"routerLink",4,"ngFor","ngForOf"],[1,"aside"],["class","aside-cards",3,"routerLink",4,"ngFor","ngForOf"],[1,"card",3,"routerLink"],[1,"thumbnail"],[1,"image",3,"src","alt"],[1,"info"],[1,"description"],[1,"link"],[1,"aside-cards",3,"routerLink"],[1,"card"],[1,"background-img",3,"alt","src"],[1,"title-description"],[1,"read-more"]],template:function(e,t){1&e&&(Pi(0,"div",0),Pi(1,"section",1),Pi(2,"div",2),Pi(3,"div",3),Pi(4,"h1",4),Ki(5,"ENTENDA TUDO SOBRE O COVID-19"),Ni(),Pi(6,"span",5),Ki(7,"TUDO O QUE VOC\xca PRECISA SABER DE MANEIRA SIMPLES, OBJETIVA E ENRIQUECEDORA"),Ni(),Ni(),Pi(8,"section",6),Ei(9,ap,10,7,"article",7),Ni(),Ni(),Pi(10,"div",8),Ei(11,cp,10,7,"aside",9),Ni(),Ni(),Ni()),2&e&&(Er(9),Oi("ngForOf",t.guides),Er(2),Oi("ngForOf",t.asideItems))},directives:[Vl,Nd],styles:[""]}),e})()},{path:"guia/:id",component:(()=>{class e{constructor(e,t){this.route=e,this.router=t,this.guides=up,this.nextGuide=null}ngOnInit(){try{if(!/^\d+$/.test(this.route.snapshot.paramMap.get("id")))throw new Error}catch(e){console.error("O valor passado de parametro provavelmente n\xe3o \xe9 um n\xfamero v\xe1lido. Ir\xe1 redirecionar para HOME"),this.router.navigate(["home"])}this.GUIDE_ID=parseFloat(this.route.snapshot.paramMap.get("id")),this.loadGuide()}loadGuide(){const e=this.GUIDE_ID;e>8&&this.router.navigate(["home"]);for(let t in this.guides)if(this.guides[t].id===e)if(this.guide=this.cloneObject(this.guides[t]),e<8){const e=parseInt(t)+1;this.nextGuide=this.cloneObject(this.guides[e])}else this.nextGuide=null}goToNextGuide(e,t){this.router.navigate([`guia/${e}`]),this.GUIDE_ID=e,this.loadGuide(),this.scrollToElement(t),document.querySelector("audio").src=this.guide.audio}cloneObject(e){return JSON.parse(JSON.stringify(e))}scrollToElement(e){setTimeout(()=>{e.scrollIntoView({behavior:"smooth",block:"start",inline:"nearest"})},100)}shareGuide(e){if("facebook"===e){let e=screen.width/2-315,t=screen.height/2-180;window.open("\n http://www.facebook.com/sharer.php?u=https://www.guiacovid19.com.br/%23/home","Compartilhar no facebook","toolbar=no, location=no, directories=no, status=no, menubar=no, scrollbars=yes, resizable=no, copyhistory=no, width=630, height=360, top="+t+", left="+e)}else window.open(`https://wa.me/?text=Olha s\xf3 que mat\xe9ria legal que eu vi no portal do Guia COVID-19 sobre ${this.guide.title}: https://www.guiacovid19.com.br/%23/guia/${this.GUIDE_ID}`)}}return e.\u0275fac=function(t){return new(t||e)(Ti(xh),Ti(Pd))},e.\u0275cmp=dt({type:e,selectors:[["app-guide-detail"]],decls:1,vars:1,consts:[["class","page-detail container fadeIn",4,"ngIf"],[1,"page-detail","container","fadeIn"],["guia",""],[1,"header"],[1,"title"],[1,"subtitle"],[1,"time"],[1,"upper-thumb"],[1,"listen"],["controls",""],["id","audio","type","audio/mp3",3,"src"],[1,"share"],["class","icon",3,"click",4,"ngFor","ngForOf"],[1,"thumb"],[1,"img-wrapper"],[1,"img",3,"alt","src"],[1,"description"],[1,"guide"],["class","paragraph",3,"-is-step","-is-last-step",4,"ngFor","ngForOf"],[1,"small-title"],[1,"references"],[4,"ngFor","ngForOf"],[1,"share-next"],["class","next",4,"ngIf"],[1,"icon",3,"click"],[3,"ngClass"],[1,"paragraph"],["class","step",4,"ngIf"],[1,"step"],["target","_blank",1,"link",3,"href"],[1,"next"],["type","button",1,"btn","-next-guide",3,"click"]],template:function(e,t){1&e&&Ei(0,vp,33,14,"article",0),2&e&&Oi("ngIf",t.guide)},directives:[Hl,Vl,Ll],styles:[""]}),e})()},{path:"fakenews",component:(()=>{class e{constructor(){this.guide=yp[0]}shareGuide(e){if("facebook"===e){let e=screen.width/2-315,t=screen.height/2-180;window.open("\n http://www.facebook.com/sharer.php?u=https://www.guiacovid19.com.br/%23/home","Compartilhar no facebook","toolbar=no, location=no, directories=no, status=no, menubar=no, scrollbars=yes, resizable=no, copyhistory=no, width=630, height=360, top="+t+", left="+e)}else window.open(`https://wa.me/?text=Olha s\xf3 que mat\xe9ria legal que eu vi no portal do Guia COVID-19 sobre ${this.guide.title}: https://www.guiacovid19.com.br/%23/fakenews/`)}ngOnInit(){}}return e.\u0275fac=function(t){return new(t||e)},e.\u0275cmp=dt({type:e,selectors:[["app-fake-detail"]],decls:1,vars:1,consts:[["class","page-detail container fadeIn",4,"ngIf"],[1,"page-detail","container","fadeIn"],["guia",""],[1,"header"],[1,"title"],[1,"subtitle"],[1,"time"],[1,"upper-thumb"],[1,"listen"],[1,"share"],["class","icon",3,"click",4,"ngFor","ngForOf"],[1,"thumb"],[1,"img-wrapper"],[1,"img",3,"alt","src"],[1,"description"],[1,"guide"],["class","paragraph",3,"-is-step","-is-last-step",4,"ngFor","ngForOf"],[1,"small-title"],[1,"references"],[4,"ngFor","ngForOf"],["onclick","window.open('https://docs.google.com/forms/d/e/1FAIpQLSfayn6fvTKbGFbpYJnKIlAajF8EKFhSHqYEql-Aw3Pi6x00xw/viewform?usp=sf_link')",1,"disclaimer"],[1,"icon",3,"click"],[3,"ngClass"],[1,"paragraph"],["class","step",4,"ngIf"],[1,"step"],["target","_blank",1,"link",3,"href"]],template:function(e,t){1&e&&Ei(0,Sp,27,11,"article",0),2&e&&Oi("ngIf",t.guide)},directives:[Hl,Vl,Ll],styles:[".disclaimer[_ngcontent-%COMP%]{margin-top:20px;padding:10px;color:#0028ff;background:rgba(0,35,255,.08);border-radius:7px;cursor:pointer;line-height:20px;transition:background .5s}.disclaimer[_ngcontent-%COMP%]:hover{background:rgba(0,34,255,.14)}"]}),e})()},{path:"mapa",component:(()=>{class e{constructor(){}ngOnInit(){}}return e.\u0275fac=function(t){return new(t||e)},e.\u0275cmp=dt({type:e,selectors:[["app-mapa"]],decls:6,vars:0,consts:[[1,"title"],["src","https://www.bing.com/covid/local/brazil","height","100%","width","100%","frameborder","0"],["href","myPageURL.htm"]],template:function(e,t){1&e&&(Pi(0,"h1",0),Ki(1,"Mapa interativo"),Ni(),Pi(2,"iframe",1),Ki(3,"Your browser doesnot support iframes"),Pi(4,"a",2),Ki(5," click here to view the page directly. "),Ni(),Ni())},styles:[".title[_ngcontent-%COMP%]{font-size:42px;line-height:40px;margin-bottom:35px;font-weight:800}iframe[_ngcontent-%COMP%]{display:block;background:#f3f3f3;border:none;height:100vh;width:100%;margin-bottom:30px}"]}),e})()},{path:"**",redirectTo:"home"}];let Ep=(()=>{class e{}return e.\u0275mod=gt({type:e}),e.\u0275inj=pe({factory:function(t){return new(t||e)},imports:[[Zd.forRoot(xp,{useHash:!0})],Zd]}),e})(),kp=(()=>{class e{constructor(){this.menuAberto=!1}ngOnInit(){}}return e.\u0275fac=function(t){return new(t||e)},e.\u0275cmp=dt({type:e,selectors:[["app-hamburger-icon"]],inputs:{menuAberto:"menuAberto"},decls:8,vars:2,consts:[["version","1.1","xmlns","http://www.w3.org/2000/svg",0,"xmlns","xlink","http://www.w3.org/1999/xlink","x","0px","y","0px","width","320px","height","220.5px","viewBox","0 0 32 22.5","enable-background","new 0 0 32 22.5",0,"xml","space","preserve",1,"inline-svg"],[1,"svg-menu-toggle"],["d","M20.945,8.75c0,0.69-0.5,1.25-1.117,1.25H3.141c-0.617,0-1.118-0.56-1.118-1.25l0,0\n c0-0.69,0.5-1.25,1.118-1.25h16.688C20.445,7.5,20.945,8.06,20.945,8.75L20.945,8.75z",1,"bar"],["d","M20.923,15c0,0.689-0.501,1.25-1.118,1.25H3.118C2.5,16.25,2,15.689,2,15l0,0c0-0.689,0.5-1.25,1.118-1.25 h16.687C20.422,13.75,20.923,14.311,20.923,15L20.923,15z",1,"bar"],["d","M20.969,21.25c0,0.689-0.5,1.25-1.117,1.25H3.164c-0.617,0-1.118-0.561-1.118-1.25l0,0\n c0-0.689,0.5-1.25,1.118-1.25h16.688C20.469,20,20.969,20.561,20.969,21.25L20.969,21.25z",1,"bar"],["width","30","height","30","fill","none"]],template:function(e,t){1&e&&(Ht.lFrame.currentNamespace="http://www.w3.org/2000/svg",Pi(0,"svg",0),Pi(1,"title"),Ki(2,"Mobile Menu"),Ni(),Pi(3,"g",1),Di(4,"path",2),Di(5,"path",3),Di(6,"path",4),Di(7,"rect",5),Ni(),Ni()),2&e&&(Er(3),Bi("-active",t.menuAberto))},styles:[".svg-menu-toggle[_ngcontent-%COMP%]{fill:#151522;pointer-events:all;cursor:pointer}.svg-menu-toggle[_ngcontent-%COMP%] .bar[_ngcontent-%COMP%]{transform:rotate(0) translateY(0) translateX(0);opacity:1;transform-origin:20px 10px;transition:transform .4s ease-in-out,opacity .2s ease-in-out}.svg-menu-toggle[_ngcontent-%COMP%] .bar[_ngcontent-%COMP%]:first-of-type{transform-origin:20px 10px}.svg-menu-toggle[_ngcontent-%COMP%] .bar[_ngcontent-%COMP%]:nth-of-type(3){transform-origin:20px 20px}.svg-menu-toggle.-active[_ngcontent-%COMP%] .bar[_ngcontent-%COMP%]:first-of-type{transform:rotate(-45deg) translateY(0) translateX(0)}.svg-menu-toggle.-active[_ngcontent-%COMP%] .bar[_ngcontent-%COMP%]:nth-of-type(2){opacity:0}.svg-menu-toggle.-active[_ngcontent-%COMP%] .bar[_ngcontent-%COMP%]:nth-of-type(3){transform:rotate(45deg) translateY(0) translateX(0)}.inline-svg[_ngcontent-%COMP%]{display:block;margin:0 auto;width:70px;height:80px;padding:10px 10px 15px 15px}body[_ngcontent-%COMP%]{background-color:#4c4c4c}"]}),e})();const Tp=function(e){return{"-active":e}};function Ap(e,t){if(1&e){const e=Mi();Pi(0,"a",14),Li("click",(function(){return Gt(e),qi().menuAberto=!1})),Ki(1,"ENTENDA TUDO SOBRE"),Ni(),Pi(2,"a",15),Li("click",(function(){return Gt(e),qi().menuAberto=!1})),Ki(3,"FAKE NEWS"),Ni(),Pi(4,"a",16),Li("click",(function(){return Gt(e),qi().menuAberto=!1})),Ki(5,"MAPA"),Ni()}if(2&e){qi();const e=ki(1),t=ki(3);Oi("ngClass",ea(1,Tp,e.isActive||t.isActive))}}function Ip(e,t){1&e&&ji(0)}function Op(e,t){1&e&&ji(0)}const Rp=function(){return["/home"]};let Pp=(()=>{class e{constructor(){this.menuAberto=!1}openMenu(){this.menuAberto=!this.menuAberto}ngOnInit(){}}return e.\u0275fac=function(t){return new(t||e)},e.\u0275cmp=dt({type:e,selectors:[["app-menu"]],decls:16,vars:7,consts:[["routerLink","/guia","routerLinkActive","",2,"display","none"],["guia","routerLinkActive"],["routerLink","/home","routerLinkActive","",2,"display","none"],["home","routerLinkActive"],["links",""],[1,"menu","fadeIn"],[1,"wrapper","container"],[1,"logo",3,"routerLink"],["src","./assets/images/logo_guia_covid.svg",1,"image"],[1,"links-desktop"],[4,"ngTemplateOutlet"],[1,"menu-mobile"],[3,"menuAberto","click"],[1,"links-mobile"],["routerLink","/home",1,"link",3,"ngClass","click"],["routerLink","/fakenews","routerLinkActive","-active",1,"link",3,"click"],["routerLink","/mapa","routerLinkActive","-active",1,"link",3,"click"]],template:function(e,t){if(1&e&&(Di(0,"span",0,1),Di(2,"span",2,3),Ei(4,Ap,6,3,"ng-template",null,4,ga),Pi(6,"header",5),Pi(7,"div",6),Pi(8,"div",7),Di(9,"img",8),Ni(),Pi(10,"nav",9),Ei(11,Ip,1,0,"ng-container",10),Ni(),Pi(12,"nav",11),Pi(13,"app-hamburger-icon",12),Li("click",(function(){return t.openMenu()})),Ni(),Pi(14,"nav",13),Ei(15,Op,1,0,"ng-container",10),Ni(),Ni(),Ni(),Ni()),2&e){const e=ki(5);Er(8),Oi("routerLink",function(e,t,n){const r=Xt()+6,s=zt();return s[r]===Sr?Ci(s,r,t()):function(e,t){return e[t]}(s,r)}(0,Rp)),Er(3),Oi("ngTemplateOutlet",e),Er(1),Bi("-active",t.menuAberto),Er(1),Oi("menuAberto",t.menuAberto),Er(2),Oi("ngTemplateOutlet",e)}},directives:[Nd,Md,Bl,kp,Dd,Ll],styles:[""]}),e})(),Np=(()=>{class e{constructor(){}ngOnInit(){}}return e.\u0275fac=function(t){return new(t||e)},e.\u0275cmp=dt({type:e,selectors:[["app-footer"]],decls:57,vars:0,consts:[[1,"footer"],[1,"container","title-wrapper"],[1,"title"],[1,"wrapper","container"],[1,"section","names"],[1,"names-1"],[1,"contact"],["href","https://www.instagram.com/maumunhoz52/","target","_blank",1,"icon-instagram","icon"],["href","https://www.linkedin.com/in/mauriciomunhoz/","target","_blank",1,"icon-linkedin","icon"],["href","https://www.instagram.com/marcellemuniz/","target","_blank",1,"icon-instagram","icon"],["href","https://www.linkedin.com/in/marcellemuniz","target","_blank",1,"icon-linkedin","icon"],["href","https://www.instagram.com/lucas.a.c/","target","_blank",1,"icon-instagram","icon"],["href","https://www.linkedin.com/in/lacordeiro/","target","_blank",1,"icon-linkedin","icon"],[1,"names-2"],["href","https://www.facebook.com/nathalia.lopescoimbra","target","_blank",1,"icon-facebook","icon"],["href","https://www.linkedin.com/in/nathalialcoimbra","target","_blank",1,"icon-linkedin","icon"],["href","https://www.facebook.com/VitorTakara","target","_blank",1,"icon-facebook","icon"],["href","https://www.linkedin.com/in/vitortakara/","target","_blank",1,"icon-linkedin","icon"],["href","https://www.facebook.com/bkurahara/","target","_blank",1,"icon-facebook","icon"],["href","http://buscatextual.cnpq.br/buscatextual/visualizacv.do?metodo=apresentar&id=K8291805P4","target","_blank",1,"icon-linkedin","icon"],["href","https://www.facebook.com/lucas.keven","target","_blank",1,"icon-facebook","icon"],["href","https://www.linkedin.com/in/lucas-keven-931325104/","target","_blank",1,"icon-linkedin","icon"],[1,"section","button","_text-center"],["type","button","onclick","window.open('https://docs.google.com/forms/d/e/1FAIpQLSfayn6fvTKbGFbpYJnKIlAajF8EKFhSHqYEql-Aw3Pi6x00xw/viewform?usp=sf_link')",1,"btn"],[1,"logo"],["src",""]],template:function(e,t){1&e&&(Pi(0,"footer",0),Pi(1,"div",1),Pi(2,"h5",2),Ki(3,"DESENVOLVIDO COM \u2764\ufe0f POR:"),Ni(),Ni(),Pi(4,"div",3),Pi(5,"section",4),Pi(6,"div",5),Pi(7,"ul"),Pi(8,"li"),Pi(9,"span"),Ki(10,"Maur\xedcio Munhoz"),Ni(),Pi(11,"div",6),Di(12,"a",7),Di(13,"a",8),Ni(),Ni(),Pi(14,"li"),Pi(15,"span"),Ki(16,"Marcelle Muniz"),Ni(),Pi(17,"div",6),Di(18,"a",9),Di(19,"a",10),Ni(),Ni(),Pi(20,"li"),Pi(21,"span"),Ki(22,"Lucas Cordeiro"),Ni(),Pi(23,"div",6),Di(24,"a",11),Di(25,"a",12),Ni(),Ni(),Ni(),Ni(),Pi(26,"div",13),Pi(27,"ul"),Pi(28,"li"),Pi(29,"span"),Ki(30,"Nath\xe1lia Lopes"),Ni(),Pi(31,"div",6),Di(32,"a",14),Di(33,"a",15),Ni(),Ni(),Pi(34,"li"),Pi(35,"span"),Ki(36,"Vitor Takara"),Ni(),Pi(37,"div",6),Di(38,"a",16),Di(39,"a",17),Ni(),Ni(),Pi(40,"li"),Pi(41,"span"),Ki(42,"Brayan Kurahara"),Ni(),Pi(43,"div",6),Di(44,"a",18),Di(45,"a",19),Ni(),Ni(),Pi(46,"li"),Pi(47,"span"),Ki(48,"Lucas Keven"),Ni(),Pi(49,"div",6),Di(50,"a",20),Di(51,"a",21),Ni(),Ni(),Ni(),Ni(),Ni(),Pi(52,"section",22),Pi(53,"button",23),Ki(54,"DENUNCIE AS FAKE NEWS AQUI!"),Ni(),Pi(55,"div",24),Di(56,"img",25),Ni(),Ni(),Ni(),Ni())},styles:[""]}),e})(),Dp=(()=>{class e{constructor(){this.title="squad8dobem"}}return e.\u0275fac=function(t){return new(t||e)},e.\u0275cmp=dt({type:e,selectors:[["app-root"]],decls:4,vars:0,consts:[[1,"app-content","container"]],template:function(e,t){1&e&&(Di(0,"app-menu"),Pi(1,"main",0),Di(2,"router-outlet"),Ni(),Di(3,"app-footer"))},directives:[Pp,Fd,Np],styles:[""]}),e})();function jp(e,t){return new b(t?n=>t.schedule(Mp,0,{error:e,subscriber:n}):t=>t.error(e))}function Mp({error:e,subscriber:t}){t.error(e)}function Up(e,t,n,s){return r(n)&&(s=n,n=void 0),s?Up(e,t,n).pipe(U(e=>l(e)?s(...e):s(e))):new b(r=>{!function e(t,n,r,s,i){let o;if(function(e){return e&&"function"==typeof e.addEventListener&&"function"==typeof e.removeEventListener}(t)){const e=t;t.addEventListener(n,r,i),o=()=>e.removeEventListener(n,r,i)}else if(function(e){return e&&"function"==typeof e.on&&"function"==typeof e.off}(t)){const e=t;t.on(n,r),o=()=>e.off(n,r)}else if(function(e){return e&&"function"==typeof e.addListener&&"function"==typeof e.removeListener}(t)){const e=t;t.addListener(n,r),o=()=>e.removeListener(n,r)}else{if(!t||!t.length)throw new TypeError("Invalid event target");for(let o=0,a=t.length;o<a;o++)e(t[o],n,r,s,i)}s.add(o)}(e,t,(function(e){r.next(arguments.length>1?Array.prototype.slice.call(arguments):e)}),r,n)})}const Lp=new b(v);class Fp extends h{constructor(e,t){super()}schedule(e,t=0){return this}}class Vp extends Fp{constructor(e,t){super(e,t),this.scheduler=e,this.work=t,this.pending=!1}schedule(e,t=0){if(this.closed)return this;this.state=e;const n=this.id,r=this.scheduler;return null!=n&&(this.id=this.recycleAsyncId(r,n,t)),this.pending=!0,this.delay=t,this.id=this.id||this.requestAsyncId(r,this.id,t),this}requestAsyncId(e,t,n=0){return setInterval(e.flush.bind(e,this),n)}recycleAsyncId(e,t,n=0){if(null!==n&&this.delay===n&&!1===this.pending)return t;clearInterval(t)}execute(e,t){if(this.closed)return new Error("executing a cancelled action");this.pending=!1;const n=this._execute(e,t);if(n)return n;!1===this.pending&&null!=this.id&&(this.id=this.recycleAsyncId(this.scheduler,this.id,null))}_execute(e,t){let n=!1,r=void 0;try{this.work(e)}catch(s){n=!0,r=!!s&&s||new Error(s)}if(n)return this.unsubscribe(),r}_unsubscribe(){const e=this.id,t=this.scheduler,n=t.actions,r=n.indexOf(this);this.work=null,this.state=null,this.pending=!1,this.scheduler=null,-1!==r&&n.splice(r,1),null!=e&&(this.id=this.recycleAsyncId(t,e,null)),this.delay=null}}let qp=(()=>{class e{constructor(t,n=e.now){this.SchedulerAction=t,this.now=n}schedule(e,t=0,n){return new this.SchedulerAction(this,e).schedule(n,t)}}return e.now=()=>Date.now(),e})();class Hp extends qp{constructor(e,t=qp.now){super(e,()=>Hp.delegate&&Hp.delegate!==this?Hp.delegate.now():t()),this.actions=[],this.active=!1,this.scheduled=void 0}schedule(e,t=0,n){return Hp.delegate&&Hp.delegate!==this?Hp.delegate.schedule(e,t,n):super.schedule(e,t,n)}flush(e){const{actions:t}=this;if(this.active)return void t.push(e);let n;this.active=!0;do{if(n=e.execute(e.state,e.delay))break}while(e=t.shift());if(this.active=!1,n){for(;e=t.shift();)e.unsubscribe();throw n}}}const $p=new Hp(Vp);let zp=(()=>{class e{constructor(e,t,n){this.kind=e,this.value=t,this.error=n,this.hasValue="N"===e}observe(e){switch(this.kind){case"N":return e.next&&e.next(this.value);case"E":return e.error&&e.error(this.error);case"C":return e.complete&&e.complete()}}do(e,t,n){switch(this.kind){case"N":return e&&e(this.value);case"E":return t&&t(this.error);case"C":return n&&n()}}accept(e,t,n){return e&&"function"==typeof e.next?this.observe(e):this.do(e,t,n)}toObservable(){switch(this.kind){case"N":return xc(this.value);case"E":return jp(this.error);case"C":return Rc()}throw new Error("unexpected notification kind value")}static createNext(t){return void 0!==t?new e("N",t):e.undefinedValueNotification}static createError(t){return new e("E",void 0,t)}static createComplete(){return e.completeNotification}}return e.completeNotification=new e("C"),e.undefinedValueNotification=new e("N",void 0),e})();class Bp{constructor(e,t){this.delay=e,this.scheduler=t}call(e,t){return t.subscribe(new Gp(e,this.delay,this.scheduler))}}class Gp extends f{constructor(e,t,n){super(e),this.delay=t,this.scheduler=n,this.queue=[],this.active=!1,this.errored=!1}static dispatch(e){const t=e.source,n=t.queue,r=e.scheduler,s=e.destination;for(;n.length>0&&n[0].time-r.now()<=0;)n.shift().notification.observe(s);if(n.length>0){const t=Math.max(0,n[0].time-r.now());this.schedule(e,t)}else this.unsubscribe(),t.active=!1}_schedule(e){this.active=!0,this.destination.add(e.schedule(Gp.dispatch,this.delay,{source:this,destination:this.destination,scheduler:e}))}scheduleNotification(e){if(!0===this.errored)return;const t=this.scheduler,n=new Wp(t.now()+this.delay,e);this.queue.push(n),!1===this.active&&this._schedule(t)}_next(e){this.scheduleNotification(zp.createNext(e))}_error(e){this.errored=!0,this.queue=[],this.destination.error(e),this.unsubscribe()}_complete(){this.scheduleNotification(zp.createComplete()),this.unsubscribe()}}class Wp{constructor(e,t){this.time=e,this.notification=t}}const Qp="Service workers are disabled or not supported by this browser";class Zp{constructor(e){if(this.serviceWorker=e,e){const t=Up(e,"controllerchange").pipe(U(()=>e.controller)),n=au(Pc(()=>xc(e.controller)),t);this.worker=n.pipe(Dc(e=>!!e)),this.registration=this.worker.pipe(su(()=>e.getRegistration()));const r=Up(e,"message").pipe(U(e=>e.data)).pipe(Dc(e=>e&&e.type)).pipe(te(new E));r.connect(),this.events=r}else this.worker=this.events=this.registration=Pc(()=>jp(new Error("Service workers are disabled or not supported by this browser")))}postMessage(e,t){return this.worker.pipe(Jc(1),du(n=>{n.postMessage(Object.assign({action:e},t))})).toPromise().then(()=>{})}postMessageWithStatus(e,t,n){const r=this.waitForStatus(n),s=this.postMessage(e,t);return Promise.all([r,s]).then(()=>{})}generateNonce(){return Math.round(1e7*Math.random())}eventsOfType(e){return this.events.pipe(Dc(t=>t.type===e))}nextEventOfType(e){return this.eventsOfType(e).pipe(Jc(1))}waitForStatus(e){return this.eventsOfType("STATUS").pipe(Dc(t=>t.nonce===e),Jc(1),U(e=>{if(!e.status)throw new Error(e.error)})).toPromise()}get isEnabled(){return!!this.serviceWorker}}let Kp=(()=>{class e{constructor(e){if(this.sw=e,this.subscriptionChanges=new E,!e.isEnabled)return this.messages=Lp,this.notificationClicks=Lp,void(this.subscription=Lp);this.messages=this.sw.eventsOfType("PUSH").pipe(U(e=>e.data)),this.notificationClicks=this.sw.eventsOfType("NOTIFICATION_CLICK").pipe(U(e=>e.data)),this.pushManager=this.sw.registration.pipe(U(e=>e.pushManager));const t=this.pushManager.pipe(su(e=>e.getSubscription()));this.subscription=Q(t,this.subscriptionChanges)}get isEnabled(){return this.sw.isEnabled}requestSubscription(e){if(!this.sw.isEnabled)return Promise.reject(new Error(Qp));const t={userVisibleOnly:!0};let n=this.decodeBase64(e.serverPublicKey.replace(/_/g,"/").replace(/-/g,"+")),r=new Uint8Array(new ArrayBuffer(n.length));for(let s=0;s<n.length;s++)r[s]=n.charCodeAt(s);return t.applicationServerKey=r,this.pushManager.pipe(su(e=>e.subscribe(t)),Jc(1)).toPromise().then(e=>(this.subscriptionChanges.next(e),e))}unsubscribe(){return this.sw.isEnabled?this.subscription.pipe(Jc(1),su(e=>{if(null===e)throw new Error("Not subscribed to push notifications.");return e.unsubscribe().then(e=>{if(!e)throw new Error("Unsubscribe failed!");this.subscriptionChanges.next(null)})})).toPromise():Promise.reject(new Error(Qp))}decodeBase64(e){return atob(e)}}return e.\u0275fac=function(t){return new(t||e)(Ze(Zp))},e.\u0275prov=de({token:e,factory:e.\u0275fac}),e})(),Yp=(()=>{class e{constructor(e){if(this.sw=e,!e.isEnabled)return this.available=Lp,void(this.activated=Lp);this.available=this.sw.eventsOfType("UPDATE_AVAILABLE"),this.activated=this.sw.eventsOfType("UPDATE_ACTIVATED")}get isEnabled(){return this.sw.isEnabled}checkForUpdate(){if(!this.sw.isEnabled)return Promise.reject(new Error(Qp));const e=this.sw.generateNonce();return this.sw.postMessageWithStatus("CHECK_FOR_UPDATES",{statusNonce:e},e)}activateUpdate(){if(!this.sw.isEnabled)return Promise.reject(new Error(Qp));const e=this.sw.generateNonce();return this.sw.postMessageWithStatus("ACTIVATE_UPDATE",{statusNonce:e},e)}}return e.\u0275fac=function(t){return new(t||e)(Ze(Zp))},e.\u0275prov=de({token:e,factory:e.\u0275fac}),e})();class Jp{}const Xp=new Fe("NGSW_REGISTER_SCRIPT");function ef(e,t,n,r){return()=>{if(!(Wl(r)&&"serviceWorker"in navigator&&!1!==n.enabled))return;let s;if(navigator.serviceWorker.addEventListener("controllerchange",()=>{null!==navigator.serviceWorker.controller&&navigator.serviceWorker.controller.postMessage({action:"INITIALIZE"})}),"function"==typeof n.registrationStrategy)s=n.registrationStrategy();else{const[t,...r]=(n.registrationStrategy||"registerWhenStable").split(":");switch(t){case"registerImmediately":s=xc(null);break;case"registerWithDelay":s=xc(null).pipe(function(e,t=$p){var n;const r=(n=e)instanceof Date&&!isNaN(+n)?+e-t.now():Math.abs(e);return e=>e.lift(new Bp(r,t))}(+r[0]||0));break;case"registerWhenStable":s=e.get(il).isStable.pipe(Dc(e=>e));break;default:throw new Error(`Unknown ServiceWorker registration strategy: ${n.registrationStrategy}`)}}s.pipe(Jc(1)).subscribe(()=>navigator.serviceWorker.register(t,{scope:n.scope}).catch(e=>console.error("Service worker registration failed with:",e)))}}function tf(e,t){return new Zp(Wl(t)&&!1!==e.enabled?navigator.serviceWorker:void 0)}let nf=(()=>{class e{static register(t,n={}){return{ngModule:e,providers:[{provide:Xp,useValue:t},{provide:Jp,useValue:n},{provide:Zp,useFactory:tf,deps:[Jp,Sa]},{provide:va,useFactory:ef,deps:[hi,Xp,Jp,Sa],multi:!0}]}}}return e.\u0275mod=gt({type:e}),e.\u0275inj=pe({factory:function(t){return new(t||e)},providers:[Kp,Yp]}),e})(),rf=(()=>{class e{}return e.\u0275mod=gt({type:e,bootstrap:[Dp]}),e.\u0275inj=pe({factory:function(t){return new(t||e)},providers:[],imports:[[Sc,Ep,nf.register("ngsw-worker.js",{enabled:!0})]]}),e})();(function(){if(ir)throw new Error("Cannot enable prod mode after platform setup.");sr=!1})(),_c().bootstrapModule(rf).catch(e=>console.error(e))},zn8P:function(e,t){function n(e){return Promise.resolve().then((function(){var t=new Error("Cannot find module '"+e+"'");throw t.code="MODULE_NOT_FOUND",t}))}n.keys=function(){return[]},n.resolve=n,e.exports=n,n.id="zn8P"}},[[0,0]]]);