-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathmain.7a6ea98f5d01a418.js
1 lines (1 loc) · 240 KB
/
main.7a6ea98f5d01a418.js
1
"use strict";var XR=Object.defineProperty,eP=Object.defineProperties,tP=Object.getOwnPropertyDescriptors,mD=Object.getOwnPropertySymbols,nP=Object.prototype.hasOwnProperty,rP=Object.prototype.propertyIsEnumerable,yD=(q,Ie,He)=>Ie in q?XR(q,Ie,{enumerable:!0,configurable:!0,writable:!0,value:He}):q[Ie]=He,x=(q,Ie)=>{for(var He in Ie||(Ie={}))nP.call(Ie,He)&&yD(q,He,Ie[He]);if(mD)for(var He of mD(Ie))rP.call(Ie,He)&&yD(q,He,Ie[He]);return q},et=(q,Ie)=>eP(q,tP(Ie));(self.webpackChunkmarvel=self.webpackChunkmarvel||[]).push([[179],{168:()=>{function q(e){return"function"==typeof e}function Ie(e){const n=e(r=>{Error.call(r),r.stack=(new Error).stack});return n.prototype=Object.create(Error.prototype),n.prototype.constructor=n,n}const He=Ie(e=>function(n){e(this),this.message=n?`${n.length} errors occurred during unsubscription:\n${n.map((r,i)=>`${i+1}) ${r.toString()}`).join("\n ")}`:"",this.name="UnsubscriptionError",this.errors=n});function ui(e,t){if(e){const n=e.indexOf(t);0<=n&&e.splice(n,1)}}class ht{constructor(t){this.initialTeardown=t,this.closed=!1,this._parentage=null,this._teardowns=null}unsubscribe(){let t;if(!this.closed){this.closed=!0;const{_parentage:n}=this;if(n)if(this._parentage=null,Array.isArray(n))for(const o of n)o.remove(this);else n.remove(this);const{initialTeardown:r}=this;if(q(r))try{r()}catch(o){t=o instanceof He?o.errors:[o]}const{_teardowns:i}=this;if(i){this._teardowns=null;for(const o of i)try{dd(o)}catch(s){t=null!=t?t:[],s instanceof He?t=[...t,...s.errors]:t.push(s)}}if(t)throw new He(t)}}add(t){var n;if(t&&t!==this)if(this.closed)dd(t);else{if(t instanceof ht){if(t.closed||t._hasParent(this))return;t._addParent(this)}(this._teardowns=null!==(n=this._teardowns)&&void 0!==n?n:[]).push(t)}}_hasParent(t){const{_parentage:n}=this;return n===t||Array.isArray(n)&&n.includes(t)}_addParent(t){const{_parentage:n}=this;this._parentage=Array.isArray(n)?(n.push(t),n):n?[n,t]:t}_removeParent(t){const{_parentage:n}=this;n===t?this._parentage=null:Array.isArray(n)&&ui(n,t)}remove(t){const{_teardowns:n}=this;n&&ui(n,t),t instanceof ht&&t._removeParent(this)}}ht.EMPTY=(()=>{const e=new ht;return e.closed=!0,e})();const ld=ht.EMPTY;function cd(e){return e instanceof ht||e&&"closed"in e&&q(e.remove)&&q(e.add)&&q(e.unsubscribe)}function dd(e){q(e)?e():e.unsubscribe()}const jn={onUnhandledError:null,onStoppedNotification:null,Promise:void 0,useDeprecatedSynchronousErrorHandling:!1,useDeprecatedNextContext:!1},Co={setTimeout(...e){const{delegate:t}=Co;return((null==t?void 0:t.setTimeout)||setTimeout)(...e)},clearTimeout(e){const{delegate:t}=Co;return((null==t?void 0:t.clearTimeout)||clearTimeout)(e)},delegate:void 0};function fd(e){Co.setTimeout(()=>{const{onUnhandledError:t}=jn;if(!t)throw e;t(e)})}function wo(){}const vD=ya("C",void 0,void 0);function ya(e,t,n){return{kind:e,value:t,error:n}}let Hn=null;function Eo(e){if(jn.useDeprecatedSynchronousErrorHandling){const t=!Hn;if(t&&(Hn={errorThrown:!1,error:null}),e(),t){const{errorThrown:n,error:r}=Hn;if(Hn=null,n)throw r}}else e()}class va extends ht{constructor(t){super(),this.isStopped=!1,t?(this.destination=t,cd(t)&&t.add(this)):this.destination=wD}static create(t,n,r){return new Da(t,n,r)}next(t){this.isStopped?Ca(ya("N",t,void 0),this):this._next(t)}error(t){this.isStopped?Ca(ya("E",void 0,t),this):(this.isStopped=!0,this._error(t))}complete(){this.isStopped?Ca(vD,this):(this.isStopped=!0,this._complete())}unsubscribe(){this.closed||(this.isStopped=!0,super.unsubscribe(),this.destination=null)}_next(t){this.destination.next(t)}_error(t){try{this.destination.error(t)}finally{this.unsubscribe()}}_complete(){try{this.destination.complete()}finally{this.unsubscribe()}}}class Da extends va{constructor(t,n,r){let i;if(super(),q(t))i=t;else if(t){let o;({next:i,error:n,complete:r}=t),this&&jn.useDeprecatedNextContext?(o=Object.create(t),o.unsubscribe=()=>this.unsubscribe()):o=t,i=null==i?void 0:i.bind(o),n=null==n?void 0:n.bind(o),r=null==r?void 0:r.bind(o)}this.destination={next:i?_a(i):wo,error:_a(null!=n?n:hd),complete:r?_a(r):wo}}}function _a(e,t){return(...n)=>{try{e(...n)}catch(r){jn.useDeprecatedSynchronousErrorHandling?function(e){jn.useDeprecatedSynchronousErrorHandling&&Hn&&(Hn.errorThrown=!0,Hn.error=e)}(r):fd(r)}}}function hd(e){throw e}function Ca(e,t){const{onStoppedNotification:n}=jn;n&&Co.setTimeout(()=>n(e,t))}const wD={closed:!0,next:wo,error:hd,complete:wo},wa="function"==typeof Symbol&&Symbol.observable||"@@observable";function Vn(e){return e}let ae=(()=>{class e{constructor(n){n&&(this._subscribe=n)}lift(n){const r=new e;return r.source=this,r.operator=n,r}subscribe(n,r,i){const o=function(e){return e&&e instanceof va||function(e){return e&&q(e.next)&&q(e.error)&&q(e.complete)}(e)&&cd(e)}(n)?n:new Da(n,r,i);return Eo(()=>{const{operator:s,source:a}=this;o.add(s?s.call(o,a):a?this._subscribe(o):this._trySubscribe(o))}),o}_trySubscribe(n){try{return this._subscribe(n)}catch(r){n.error(r)}}forEach(n,r){return new(r=gd(r))((i,o)=>{let s;s=this.subscribe(a=>{try{n(a)}catch(u){o(u),null==s||s.unsubscribe()}},o,i)})}_subscribe(n){var r;return null===(r=this.source)||void 0===r?void 0:r.subscribe(n)}[wa](){return this}pipe(...n){return function(e){return 0===e.length?Vn:1===e.length?e[0]:function(n){return e.reduce((r,i)=>i(r),n)}}(n)(this)}toPromise(n){return new(n=gd(n))((r,i)=>{let o;this.subscribe(s=>o=s,s=>i(s),()=>r(o))})}}return e.create=t=>new e(t),e})();function gd(e){var t;return null!==(t=null!=e?e:jn.Promise)&&void 0!==t?t:Promise}const ID=Ie(e=>function(){e(this),this.name="ObjectUnsubscribedError",this.message="object unsubscribed"});let nn=(()=>{class e extends ae{constructor(){super(),this.closed=!1,this.observers=[],this.isStopped=!1,this.hasError=!1,this.thrownError=null}lift(n){const r=new md(this,this);return r.operator=n,r}_throwIfClosed(){if(this.closed)throw new ID}next(n){Eo(()=>{if(this._throwIfClosed(),!this.isStopped){const r=this.observers.slice();for(const i of r)i.next(n)}})}error(n){Eo(()=>{if(this._throwIfClosed(),!this.isStopped){this.hasError=this.isStopped=!0,this.thrownError=n;const{observers:r}=this;for(;r.length;)r.shift().error(n)}})}complete(){Eo(()=>{if(this._throwIfClosed(),!this.isStopped){this.isStopped=!0;const{observers:n}=this;for(;n.length;)n.shift().complete()}})}unsubscribe(){this.isStopped=this.closed=!0,this.observers=null}get observed(){var n;return(null===(n=this.observers)||void 0===n?void 0:n.length)>0}_trySubscribe(n){return this._throwIfClosed(),super._trySubscribe(n)}_subscribe(n){return this._throwIfClosed(),this._checkFinalizedStatuses(n),this._innerSubscribe(n)}_innerSubscribe(n){const{hasError:r,isStopped:i,observers:o}=this;return r||i?ld:(o.push(n),new ht(()=>ui(o,n)))}_checkFinalizedStatuses(n){const{hasError:r,thrownError:i,isStopped:o}=this;r?n.error(i):o&&n.complete()}asObservable(){const n=new ae;return n.source=this,n}}return e.create=(t,n)=>new md(t,n),e})();class md extends nn{constructor(t,n){super(),this.destination=t,this.source=n}next(t){var n,r;null===(r=null===(n=this.destination)||void 0===n?void 0:n.next)||void 0===r||r.call(n,t)}error(t){var n,r;null===(r=null===(n=this.destination)||void 0===n?void 0:n.error)||void 0===r||r.call(n,t)}complete(){var t,n;null===(n=null===(t=this.destination)||void 0===t?void 0:t.complete)||void 0===n||n.call(t)}_subscribe(t){var n,r;return null!==(r=null===(n=this.source)||void 0===n?void 0:n.subscribe(t))&&void 0!==r?r:ld}}function yd(e){return q(null==e?void 0:e.lift)}function Ae(e){return t=>{if(yd(t))return t.lift(function(n){try{return e(n,this)}catch(r){this.error(r)}});throw new TypeError("Unable to lift unknown Observable type")}}class xe extends va{constructor(t,n,r,i,o){super(t),this.onFinalize=o,this._next=n?function(s){try{n(s)}catch(a){t.error(a)}}:super._next,this._error=i?function(s){try{i(s)}catch(a){t.error(a)}finally{this.unsubscribe()}}:super._error,this._complete=r?function(){try{r()}catch(s){t.error(s)}finally{this.unsubscribe()}}:super._complete}unsubscribe(){var t;const{closed:n}=this;super.unsubscribe(),!n&&(null===(t=this.onFinalize)||void 0===t||t.call(this))}}function Z(e,t){return Ae((n,r)=>{let i=0;n.subscribe(new xe(r,o=>{r.next(e.call(t,o,i++))}))})}function Un(e){return this instanceof Un?(this.v=e,this):new Un(e)}function MD(e,t,n){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var i,r=n.apply(e,t||[]),o=[];return i={},s("next"),s("throw"),s("return"),i[Symbol.asyncIterator]=function(){return this},i;function s(f){r[f]&&(i[f]=function(h){return new Promise(function(p,m){o.push([f,h,p,m])>1||a(f,h)})})}function a(f,h){try{!function(f){f.value instanceof Un?Promise.resolve(f.value.v).then(l,c):d(o[0][2],f)}(r[f](h))}catch(p){d(o[0][3],p)}}function l(f){a("next",f)}function c(f){a("throw",f)}function d(f,h){f(h),o.shift(),o.length&&a(o[0][0],o[0][1])}}function AD(e){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var n,t=e[Symbol.asyncIterator];return t?t.call(e):(e=function(e){var t="function"==typeof Symbol&&Symbol.iterator,n=t&&e[t],r=0;if(n)return n.call(e);if(e&&"number"==typeof e.length)return{next:function(){return e&&r>=e.length&&(e=void 0),{value:e&&e[r++],done:!e}}};throw new TypeError(t?"Object is not iterable.":"Symbol.iterator is not defined.")}(e),n={},r("next"),r("throw"),r("return"),n[Symbol.asyncIterator]=function(){return this},n);function r(o){n[o]=e[o]&&function(s){return new Promise(function(a,u){!function(o,s,a,u){Promise.resolve(u).then(function(l){o({value:l,done:a})},s)}(a,u,(s=e[o](s)).done,s.value)})}}}const Cd=e=>e&&"number"==typeof e.length&&"function"!=typeof e;function wd(e){return q(null==e?void 0:e.then)}function Ed(e){return q(e[wa])}function bd(e){return Symbol.asyncIterator&&q(null==e?void 0:e[Symbol.asyncIterator])}function Id(e){return new TypeError(`You provided ${null!==e&&"object"==typeof e?"an invalid object":`'${e}'`} where a stream was expected. You can provide an Observable, Promise, ReadableStream, Array, AsyncIterable, or Iterable.`)}const Sd="function"==typeof Symbol&&Symbol.iterator?Symbol.iterator:"@@iterator";function Td(e){return q(null==e?void 0:e[Sd])}function Md(e){return MD(this,arguments,function*(){const n=e.getReader();try{for(;;){const{value:r,done:i}=yield Un(n.read());if(i)return yield Un(void 0);yield yield Un(r)}}finally{n.releaseLock()}})}function Ad(e){return q(null==e?void 0:e.getReader)}function rn(e){if(e instanceof ae)return e;if(null!=e){if(Ed(e))return function(e){return new ae(t=>{const n=e[wa]();if(q(n.subscribe))return n.subscribe(t);throw new TypeError("Provided object does not correctly implement Symbol.observable")})}(e);if(Cd(e))return function(e){return new ae(t=>{for(let n=0;n<e.length&&!t.closed;n++)t.next(e[n]);t.complete()})}(e);if(wd(e))return function(e){return new ae(t=>{e.then(n=>{t.closed||(t.next(n),t.complete())},n=>t.error(n)).then(null,fd)})}(e);if(bd(e))return xd(e);if(Td(e))return function(e){return new ae(t=>{for(const n of e)if(t.next(n),t.closed)return;t.complete()})}(e);if(Ad(e))return function(e){return xd(Md(e))}(e)}throw Id(e)}function xd(e){return new ae(t=>{(function(e,t){var n,r,i,o;return function(e,t,n,r){return new(n||(n=Promise))(function(o,s){function a(c){try{l(r.next(c))}catch(d){s(d)}}function u(c){try{l(r.throw(c))}catch(d){s(d)}}function l(c){c.done?o(c.value):function(o){return o instanceof n?o:new n(function(s){s(o)})}(c.value).then(a,u)}l((r=r.apply(e,t||[])).next())})}(this,void 0,void 0,function*(){try{for(n=AD(e);!(r=yield n.next()).done;)if(t.next(r.value),t.closed)return}catch(s){i={error:s}}finally{try{r&&!r.done&&(o=n.return)&&(yield o.call(n))}finally{if(i)throw i.error}}t.complete()})})(e,t).catch(n=>t.error(n))})}function on(e,t,n,r=0,i=!1){const o=t.schedule(function(){n(),i?e.add(this.schedule(null,r)):this.unsubscribe()},r);if(e.add(o),!i)return o}function Se(e,t,n=1/0){return q(t)?Se((r,i)=>Z((o,s)=>t(r,o,i,s))(rn(e(r,i))),n):("number"==typeof t&&(n=t),Ae((r,i)=>function(e,t,n,r,i,o,s,a){const u=[];let l=0,c=0,d=!1;const f=()=>{d&&!u.length&&!l&&t.complete()},h=m=>l<r?p(m):u.push(m),p=m=>{l++;let y=!1;rn(n(m,c++)).subscribe(new xe(t,v=>{t.next(v)},()=>{y=!0},void 0,()=>{if(y)try{for(l--;u.length&&l<r;){const v=u.shift();p(v)}f()}catch(v){t.error(v)}}))};return e.subscribe(new xe(t,h,()=>{d=!0,f()})),()=>{}}(r,i,e,n)))}function li(e=1/0){return Se(Vn,e)}const sn=new ae(e=>e.complete());function ba(e){return e[e.length-1]}function ci(e){return function(e){return e&&q(e.schedule)}(ba(e))?e.pop():void 0}function Rd(e,t=0){return Ae((n,r)=>{n.subscribe(new xe(r,i=>on(r,e,()=>r.next(i),t),()=>on(r,e,()=>r.complete(),t),i=>on(r,e,()=>r.error(i),t)))})}function Pd(e,t=0){return Ae((n,r)=>{r.add(e.schedule(()=>n.subscribe(r),t))})}function Nd(e,t){if(!e)throw new Error("Iterable cannot be null");return new ae(n=>{on(n,t,()=>{const r=e[Symbol.asyncIterator]();on(n,t,()=>{r.next().then(i=>{i.done?n.complete():n.next(i.value)})},0,!0)})})}function Re(e,t){return t?function(e,t){if(null!=e){if(Ed(e))return function(e,t){return rn(e).pipe(Pd(t),Rd(t))}(e,t);if(Cd(e))return function(e,t){return new ae(n=>{let r=0;return t.schedule(function(){r===e.length?n.complete():(n.next(e[r++]),n.closed||this.schedule())})})}(e,t);if(wd(e))return function(e,t){return rn(e).pipe(Pd(t),Rd(t))}(e,t);if(bd(e))return Nd(e,t);if(Td(e))return function(e,t){return new ae(n=>{let r;return on(n,t,()=>{r=e[Sd](),on(n,t,()=>{let i,o;try{({value:i,done:o}=r.next())}catch(s){return void n.error(s)}o?n.complete():n.next(i)},0,!0)}),()=>q(null==r?void 0:r.return)&&r.return()})}(e,t);if(Ad(e))return function(e,t){return Nd(Md(e),t)}(e,t)}throw Id(e)}(e,t):rn(e)}function bo(e){return e<=0?()=>sn:Ae((t,n)=>{let r=0;t.subscribe(new xe(n,i=>{++r<=e&&(n.next(i),e<=r&&n.complete())}))})}function Ia(e,t,...n){return!0===t?(e(),null):!1===t?null:t(...n).pipe(bo(1)).subscribe(()=>e())}function X(e){for(let t in e)if(e[t]===X)return t;throw Error("Could not find renamed property on target object.")}function J(e){if("string"==typeof e)return e;if(Array.isArray(e))return"["+e.map(J).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 Ta(e,t){return null==e||""===e?null===t?"":t:null==t||""===t?e:e+" "+t}const KD=X({__forward_ref__:X});function Ma(e){return e.__forward_ref__=Ma,e.toString=function(){return J(this())},e}function B(e){return function(e){return"function"==typeof e&&e.hasOwnProperty(KD)&&e.__forward_ref__===Ma}(e)?e():e}class tt extends Error{constructor(t,n){super(function(e,t){return`${e?`NG0${e}: `:""}${t}`}(t,n)),this.code=t}}function P(e){return"string"==typeof e?e:null==e?"":String(e)}function Ve(e){return"function"==typeof e?e.name||e.toString():"object"==typeof e&&null!=e&&"function"==typeof e.type?e.type.name||e.type.toString():P(e)}function Io(e,t){const n=t?` in ${t}`:"";throw new tt("201",`No provider for ${Ve(e)} found${n}`)}function rt(e,t){null==e&&function(e,t,n,r){throw new Error(`ASSERTION ERROR: ${e}`+(null==r?"":` [Expected=> ${n} ${r} ${t} <=Actual]`))}(t,e,null,"!=")}function k(e){return{token:e.token,providedIn:e.providedIn||null,factory:e.factory,value:void 0}}function Tt(e){return{providers:e.providers||[],imports:e.imports||[]}}function xa(e){return Od(e,So)||Od(e,Ld)}function Od(e,t){return e.hasOwnProperty(t)?e[t]:null}function kd(e){return e&&(e.hasOwnProperty(Ra)||e.hasOwnProperty(i_))?e[Ra]:null}const So=X({\u0275prov:X}),Ra=X({\u0275inj:X}),Ld=X({ngInjectableDef:X}),i_=X({ngInjectorDef:X});var F=(()=>((F=F||{})[F.Default=0]="Default",F[F.Host=1]="Host",F[F.Self=2]="Self",F[F.SkipSelf=4]="SkipSelf",F[F.Optional=8]="Optional",F))();let Pa;function wn(e){const t=Pa;return Pa=e,t}function Bd(e,t,n){const r=xa(e);return r&&"root"==r.providedIn?void 0===r.value?r.value=r.factory():r.value:n&F.Optional?null:void 0!==t?t:void Io(J(e),"Injector")}function En(e){return{toString:e}.toString()}var pt=(()=>((pt=pt||{})[pt.OnPush=0]="OnPush",pt[pt.Default=1]="Default",pt))(),Vt=(()=>{return(e=Vt||(Vt={}))[e.Emulated=0]="Emulated",e[e.None=2]="None",e[e.ShadowDom=3]="ShadowDom",Vt;var e})();const s_="undefined"!=typeof globalThis&&globalThis,a_="undefined"!=typeof window&&window,u_="undefined"!=typeof self&&"undefined"!=typeof WorkerGlobalScope&&self instanceof WorkerGlobalScope&&self,Y=s_||"undefined"!=typeof global&&global||a_||u_,ar={},ee=[],To=X({\u0275cmp:X}),Na=X({\u0275dir:X}),Fa=X({\u0275pipe:X}),jd=X({\u0275mod:X}),un=X({\u0275fac:X}),di=X({__NG_ELEMENT_ID__:X});let l_=0;function ln(e){return En(()=>{const n={},r={type:e.type,providersResolver:null,decls:e.decls,vars:e.vars,factory:null,template:e.template||null,consts:e.consts||null,ngContentSelectors:e.ngContentSelectors,hostBindings:e.hostBindings||null,hostVars:e.hostVars||0,hostAttrs:e.hostAttrs||null,contentQueries:e.contentQueries||null,declaredInputs:n,inputs:null,outputs:null,exportAs:e.exportAs||null,onPush:e.changeDetection===pt.OnPush,directiveDefs:null,pipeDefs:null,selectors:e.selectors||ee,viewQuery:e.viewQuery||null,features:e.features||null,data:e.data||{},encapsulation:e.encapsulation||Vt.Emulated,id:"c",styles:e.styles||ee,_:null,setInput:null,schemas:e.schemas||null,tView:null},i=e.directives,o=e.features,s=e.pipes;return r.id+=l_++,r.inputs=$d(e.inputs,n),r.outputs=$d(e.outputs),o&&o.forEach(a=>a(r)),r.directiveDefs=i?()=>("function"==typeof i?i():i).map(Hd):null,r.pipeDefs=s?()=>("function"==typeof s?s():s).map(Vd):null,r})}function Hd(e){return Oe(e)||function(e){return e[Na]||null}(e)}function Vd(e){return function(e){return e[Fa]||null}(e)}const Ud={};function Ut(e){return En(()=>{const t={type:e.type,bootstrap:e.bootstrap||ee,declarations:e.declarations||ee,imports:e.imports||ee,exports:e.exports||ee,transitiveCompileScopes:null,schemas:e.schemas||null,id:e.id||null};return null!=e.id&&(Ud[e.id]=e.type),t})}function $d(e,t){if(null==e)return ar;const n={};for(const r in e)if(e.hasOwnProperty(r)){let i=e[r],o=i;Array.isArray(i)&&(o=i[1],i=i[0]),n[i]=r,t&&(t[i]=o)}return n}const Pe=ln;function Ue(e){return{type:e.type,name:e.name,factory:null,pure:!1!==e.pure,onDestroy:e.type.prototype.ngOnDestroy||null}}function Oe(e){return e[To]||null}function gt(e,t){const n=e[jd]||null;if(!n&&!0===t)throw new Error(`Type ${J(e)} does not have '\u0275mod' property.`);return n}const j=11;function $t(e){return Array.isArray(e)&&"object"==typeof e[1]}function At(e){return Array.isArray(e)&&!0===e[1]}function La(e){return 0!=(8&e.flags)}function Ro(e){return 2==(2&e.flags)}function Po(e){return 1==(1&e.flags)}function xt(e){return null!==e.template}function g_(e){return 0!=(512&e[2])}function Wn(e,t){return e.hasOwnProperty(un)?e[un]:null}class v_{constructor(t,n,r){this.previousValue=t,this.currentValue=n,this.firstChange=r}isFirstChange(){return this.firstChange}}function In(){return Gd}function Gd(e){return e.type.prototype.ngOnChanges&&(e.setInput=__),D_}function D_(){const e=Wd(this),t=null==e?void 0:e.current;if(t){const n=e.previous;if(n===ar)e.previous=t;else for(let r in t)n[r]=t[r];e.current=null,this.ngOnChanges(t)}}function __(e,t,n,r){const i=Wd(e)||function(e,t){return e[qd]=t}(e,{previous:ar,current:null}),o=i.current||(i.current={}),s=i.previous,a=this.declaredInputs[n],u=s[a];o[a]=new v_(u&&u.currentValue,t,s===ar),e[r]=t}In.ngInherit=!0;const qd="__ngSimpleChanges__";function Wd(e){return e[qd]||null}let Ha;function le(e){return!!e.listen}const Jd={createRenderer:(e,t)=>void 0!==Ha?Ha:"undefined"!=typeof document?document:void 0};function ge(e){for(;Array.isArray(e);)e=e[0];return e}function No(e,t){return ge(t[e])}function vt(e,t){return ge(t[e.index])}function Ua(e,t){return e.data[t]}function fr(e,t){return e[t]}function ot(e,t){const n=t[e];return $t(n)?n:n[0]}function $a(e){return 128==(128&e[2])}function Sn(e,t){return null==t?null:e[t]}function Yd(e){e[18]=0}function za(e,t){e[5]+=t;let n=e,r=e[3];for(;null!==r&&(1===t&&1===n[5]||-1===t&&0===n[5]);)r[5]+=t,n=r,r=r[3]}const R={lFrame:af(null),bindingsEnabled:!0,isInCheckNoChangesMode:!1};function Xd(){return R.bindingsEnabled}function D(){return R.lFrame.lView}function K(){return R.lFrame.tView}function Dt(e){return R.lFrame.contextLView=e,e[8]}function _e(){let e=ef();for(;null!==e&&64===e.type;)e=e.parent;return e}function ef(){return R.lFrame.currentTNode}function zt(e,t){const n=R.lFrame;n.currentTNode=e,n.isParent=t}function Ga(){return R.lFrame.isParent}function qa(){R.lFrame.isParent=!1}function Fo(){return R.isInCheckNoChangesMode}function Oo(e){R.isInCheckNoChangesMode=e}function $e(){const e=R.lFrame;let t=e.bindingRootIndex;return-1===t&&(t=e.bindingRootIndex=e.tView.bindingStartIndex),t}function hr(){return R.lFrame.bindingIndex++}function dn(e){const t=R.lFrame,n=t.bindingIndex;return t.bindingIndex=t.bindingIndex+e,n}function O_(e,t){const n=R.lFrame;n.bindingIndex=n.bindingRootIndex=e,Wa(t)}function Wa(e){R.lFrame.currentDirectiveIndex=e}function Za(e){R.lFrame.currentQueryIndex=e}function L_(e){const t=e[1];return 2===t.type?t.declTNode:1===t.type?e[6]:null}function of(e,t,n){if(n&F.SkipSelf){let i=t,o=e;for(;!(i=i.parent,null!==i||n&F.Host||(i=L_(o),null===i||(o=o[15],10&i.type))););if(null===i)return!1;t=i,e=o}const r=R.lFrame=sf();return r.currentTNode=t,r.lView=e,!0}function ko(e){const t=sf(),n=e[1];R.lFrame=t,t.currentTNode=n.firstChild,t.lView=e,t.tView=n,t.contextLView=e,t.bindingIndex=n.bindingStartIndex,t.inI18n=!1}function sf(){const e=R.lFrame,t=null===e?null:e.child;return null===t?af(e):t}function af(e){const t={currentTNode:null,isParent:!0,lView:null,tView:null,selectedIndex:-1,contextLView:null,elementDepthCount:0,currentNamespace:null,currentDirectiveIndex:-1,bindingRootIndex:-1,bindingIndex:-1,currentQueryIndex:0,parent:e,child:null,inI18n:!1};return null!==e&&(e.child=t),t}function uf(){const e=R.lFrame;return R.lFrame=e.parent,e.currentTNode=null,e.lView=null,e}const lf=uf;function Lo(){const e=uf();e.isParent=!0,e.tView=null,e.selectedIndex=-1,e.contextLView=null,e.elementDepthCount=0,e.currentDirectiveIndex=-1,e.currentNamespace=null,e.bindingRootIndex=-1,e.bindingIndex=-1,e.currentQueryIndex=0}function ze(){return R.lFrame.selectedIndex}function Tn(e){R.lFrame.selectedIndex=e}function ce(){const e=R.lFrame;return Ua(e.tView,e.selectedIndex)}function Bo(e,t){for(let n=t.directiveStart,r=t.directiveEnd;n<r;n++){const o=e.data[n].type.prototype,{ngAfterContentInit:s,ngAfterContentChecked:a,ngAfterViewInit:u,ngAfterViewChecked:l,ngOnDestroy:c}=o;s&&(e.contentHooks||(e.contentHooks=[])).push(-n,s),a&&((e.contentHooks||(e.contentHooks=[])).push(n,a),(e.contentCheckHooks||(e.contentCheckHooks=[])).push(n,a)),u&&(e.viewHooks||(e.viewHooks=[])).push(-n,u),l&&((e.viewHooks||(e.viewHooks=[])).push(n,l),(e.viewCheckHooks||(e.viewCheckHooks=[])).push(n,l)),null!=c&&(e.destroyHooks||(e.destroyHooks=[])).push(n,c)}}function jo(e,t,n){cf(e,t,3,n)}function Ho(e,t,n,r){(3&e[2])===n&&cf(e,t,n,r)}function Ja(e,t){let n=e[2];(3&n)===t&&(n&=2047,n+=1,e[2]=n)}function cf(e,t,n,r){const o=null!=r?r:-1,s=t.length-1;let a=0;for(let u=void 0!==r?65535&e[18]:0;u<s;u++)if("number"==typeof t[u+1]){if(a=t[u],null!=r&&a>=r)break}else t[u]<0&&(e[18]+=65536),(a<o||-1==o)&&(q_(e,n,t,u),e[18]=(4294901760&e[18])+u+2),u++}function q_(e,t,n,r){const i=n[r]<0,o=n[r+1],a=e[i?-n[r]:n[r]];if(i){if(e[2]>>11<e[18]>>16&&(3&e[2])===t){e[2]+=2048;try{o.call(a)}finally{}}}else try{o.call(a)}finally{}}class mi{constructor(t,n,r){this.factory=t,this.resolving=!1,this.canSeeViewProviders=n,this.injectImpl=r}}function Vo(e,t,n){const r=le(e);let i=0;for(;i<n.length;){const o=n[i];if("number"==typeof o){if(0!==o)break;i++;const s=n[i++],a=n[i++],u=n[i++];r?e.setAttribute(t,a,u,s):t.setAttributeNS(s,a,u)}else{const s=o,a=n[++i];Ya(s)?r&&e.setProperty(t,s,a):r?e.setAttribute(t,s,a):t.setAttribute(s,a),i++}}return i}function df(e){return 3===e||4===e||6===e}function Ya(e){return 64===e.charCodeAt(0)}function Uo(e,t){if(null!==t&&0!==t.length)if(null===e||0===e.length)e=t.slice();else{let n=-1;for(let r=0;r<t.length;r++){const i=t[r];"number"==typeof i?n=i:0===n||ff(e,n,i,null,-1===n||2===n?t[++r]:null)}}return e}function ff(e,t,n,r,i){let o=0,s=e.length;if(-1===t)s=-1;else for(;o<e.length;){const a=e[o++];if("number"==typeof a){if(a===t){s=-1;break}if(a>t){s=o-1;break}}}for(;o<e.length;){const a=e[o];if("number"==typeof a)break;if(a===n){if(null===r)return void(null!==i&&(e[o+1]=i));if(r===e[o+1])return void(e[o+2]=i)}o++,null!==r&&o++,null!==i&&o++}-1!==s&&(e.splice(s,0,t),o=s+1),e.splice(o++,0,n),null!==r&&e.splice(o++,0,r),null!==i&&e.splice(o++,0,i)}function hf(e){return-1!==e}function pr(e){return 32767&e}function gr(e,t){let n=function(e){return e>>16}(e),r=t;for(;n>0;)r=r[15],n--;return r}let Xa=!0;function $o(e){const t=Xa;return Xa=e,t}let Y_=0;function vi(e,t){const n=tu(e,t);if(-1!==n)return n;const r=t[1];r.firstCreatePass&&(e.injectorIndex=t.length,eu(r.data,e),eu(t,null),eu(r.blueprint,null));const i=zo(e,t),o=e.injectorIndex;if(hf(i)){const s=pr(i),a=gr(i,t),u=a[1].data;for(let l=0;l<8;l++)t[o+l]=a[s+l]|u[s+l]}return t[o+8]=i,o}function eu(e,t){e.push(0,0,0,0,0,0,0,0,t)}function tu(e,t){return-1===e.injectorIndex||e.parent&&e.parent.injectorIndex===e.injectorIndex||null===t[e.injectorIndex+8]?-1:e.injectorIndex}function zo(e,t){if(e.parent&&-1!==e.parent.injectorIndex)return e.parent.injectorIndex;let n=0,r=null,i=t;for(;null!==i;){const o=i[1],s=o.type;if(r=2===s?o.declTNode:1===s?i[6]:null,null===r)return-1;if(n++,i=i[15],-1!==r.injectorIndex)return r.injectorIndex|n<<16}return-1}function Go(e,t,n){!function(e,t,n){let r;"string"==typeof n?r=n.charCodeAt(0)||0:n.hasOwnProperty(di)&&(r=n[di]),null==r&&(r=n[di]=Y_++);const i=255&r;t.data[e+(i>>5)]|=1<<i}(e,t,n)}function mf(e,t,n){if(n&F.Optional)return e;Io(t,"NodeInjector")}function yf(e,t,n,r){if(n&F.Optional&&void 0===r&&(r=null),0==(n&(F.Self|F.Host))){const i=e[9],o=wn(void 0);try{return i?i.get(t,r,n&F.Optional):Bd(t,r,n&F.Optional)}finally{wn(o)}}return mf(r,t,n)}function vf(e,t,n,r=F.Default,i){if(null!==e){const o=function(e){if("string"==typeof e)return e.charCodeAt(0)||0;const t=e.hasOwnProperty(di)?e[di]:void 0;return"number"==typeof t?t>=0?255&t:tC:t}(n);if("function"==typeof o){if(!of(t,e,r))return r&F.Host?mf(i,n,r):yf(t,n,r,i);try{const s=o(r);if(null!=s||r&F.Optional)return s;Io(n)}finally{lf()}}else if("number"==typeof o){let s=null,a=tu(e,t),u=-1,l=r&F.Host?t[16][6]:null;for((-1===a||r&F.SkipSelf)&&(u=-1===a?zo(e,t):t[a+8],-1!==u&&Cf(r,!1)?(s=t[1],a=pr(u),t=gr(u,t)):a=-1);-1!==a;){const c=t[1];if(_f(o,a,c.data)){const d=nC(a,t,n,s,r,l);if(d!==Df)return d}u=t[a+8],-1!==u&&Cf(r,t[1].data[a+8]===l)&&_f(o,a,t)?(s=c,a=pr(u),t=gr(u,t)):a=-1}}}return yf(t,n,r,i)}const Df={};function tC(){return new mr(_e(),D())}function nC(e,t,n,r,i,o){const s=t[1],a=s.data[e+8],c=function(e,t,n,r,i){const o=e.providerIndexes,s=t.data,a=1048575&o,u=e.directiveStart,c=o>>20,f=i?a+c:e.directiveEnd;for(let h=r?a:a+c;h<f;h++){const p=s[h];if(h<u&&n===p||h>=u&&p.type===n)return h}if(i){const h=s[u];if(h&&xt(h)&&h.type===n)return u}return null}(a,s,n,null==r?Ro(a)&&Xa:r!=s&&0!=(3&a.type),i&F.Host&&o===a);return null!==c?Di(t,s,c,a):Df}function Di(e,t,n,r){let i=e[n];const o=t.data;if(function(e){return e instanceof mi}(i)){const s=i;s.resolving&&function(e,t){throw new tt("200",`Circular dependency in DI detected for ${e}`)}(Ve(o[n]));const a=$o(s.canSeeViewProviders);s.resolving=!0;const u=s.injectImpl?wn(s.injectImpl):null;of(e,r,F.Default);try{i=e[n]=s.factory(void 0,o,e,r),t.firstCreatePass&&n>=r.directiveStart&&function(e,t,n){const{ngOnChanges:r,ngOnInit:i,ngDoCheck:o}=t.type.prototype;if(r){const s=Gd(t);(n.preOrderHooks||(n.preOrderHooks=[])).push(e,s),(n.preOrderCheckHooks||(n.preOrderCheckHooks=[])).push(e,s)}i&&(n.preOrderHooks||(n.preOrderHooks=[])).push(0-e,i),o&&((n.preOrderHooks||(n.preOrderHooks=[])).push(e,o),(n.preOrderCheckHooks||(n.preOrderCheckHooks=[])).push(e,o))}(n,o[n],t)}finally{null!==u&&wn(u),$o(a),s.resolving=!1,lf()}}return i}function _f(e,t,n){return!!(n[t+(e>>5)]&1<<e)}function Cf(e,t){return!(e&F.Self||e&F.Host&&t)}class mr{constructor(t,n){this._tNode=t,this._lView=n}get(t,n,r){return vf(this._tNode,this._lView,t,r,n)}}const vr="__parameters__",Dr="__prop__metadata__";function ru(e){return function(...n){if(e){const r=e(...n);for(const i in r)this[i]=r[i]}}}function _r(e,t,n){return En(()=>{const r=ru(t);function i(...o){if(this instanceof i)return r.apply(this,o),this;const s=new i(...o);return a.annotation=s,a;function a(u,l,c){const d=u.hasOwnProperty(vr)?u[vr]:Object.defineProperty(u,vr,{value:[]})[vr];for(;d.length<=c;)d.push(null);return(d[c]=d[c]||[]).push(s),u}}return n&&(i.prototype=Object.create(n.prototype)),i.prototype.ngMetadataName=e,i.annotationCls=i,i})}function wf(e,t,n,r){return En(()=>{const i=ru(t);function o(...s){if(this instanceof o)return i.apply(this,s),this;const a=new o(...s);return function(l,c){const d=l.constructor,f=d.hasOwnProperty(Dr)?d[Dr]:Object.defineProperty(d,Dr,{value:{}})[Dr];f[c]=f.hasOwnProperty(c)&&f[c]||[],f[c].unshift(a),r&&r(l,c,...s)}}return n&&(o.prototype=Object.create(n.prototype)),o.prototype.ngMetadataName=e,o.annotationCls=o,o})}class z{constructor(t,n){this._desc=t,this.ngMetadataName="InjectionToken",this.\u0275prov=void 0,"number"==typeof n?this.__NG_ELEMENT_ID__=n:void 0!==n&&(this.\u0275prov=k({token:this,providedIn:n.providedIn||"root",factory:n.factory}))}toString(){return`InjectionToken ${this._desc}`}}const sC=new z("AnalyzeForEntryComponents");function Gt(e,t){e.forEach(n=>Array.isArray(n)?Gt(n,t):t(n))}function Ef(e,t,n){t>=e.length?e.push(n):e.splice(t,0,n)}function Wo(e,t){return t>=e.length-1?e.pop():e.splice(t,1)[0]}function st(e,t,n){let r=Cr(e,t);return r>=0?e[1|r]=n:(r=~r,function(e,t,n,r){let i=e.length;if(i==t)e.push(n,r);else if(1===i)e.push(r,e[0]),e[0]=n;else{for(i--,e.push(e[i-1],e[i]);i>t;)e[i]=e[i-2],i--;e[t]=n,e[t+1]=r}}(e,r,t,n)),r}function ou(e,t){const n=Cr(e,t);if(n>=0)return e[1|n]}function Cr(e,t){return function(e,t,n){let r=0,i=e.length>>n;for(;i!==r;){const o=r+(i-r>>1),s=e[o<<n];if(t===s)return o<<n;s>t?i=o:r=o+1}return~(i<<n)}(e,t,1)}const Ii={},au="__NG_DI_FLAG__",Zo="ngTempTokenPath",mC=/\n/gm,Mf="__source",vC=X({provide:String,useValue:X});let Si;function Af(e){const t=Si;return Si=e,t}function DC(e,t=F.Default){if(void 0===Si)throw new Error("inject() must be called from an injection context");return null===Si?Bd(e,void 0,t):Si.get(e,t&F.Optional?null:void 0,t)}function S(e,t=F.Default){return(Pa||DC)(B(e),t)}function uu(e){const t=[];for(let n=0;n<e.length;n++){const r=B(e[n]);if(Array.isArray(r)){if(0===r.length)throw new Error("Arguments array must have arguments.");let i,o=F.Default;for(let s=0;s<r.length;s++){const a=r[s],u=_C(a);"number"==typeof u?-1===u?i=a.token:o|=u:i=a}t.push(S(i,o))}else t.push(S(r))}return t}function Ti(e,t){return e[au]=t,e.prototype[au]=t,e}function _C(e){return e[au]}const Mi=Ti(_r("Inject",e=>({token:e})),-1),qt=Ti(_r("Optional"),8),wr=Ti(_r("SkipSelf"),4);class Bf{constructor(t){this.changingThisBreaksApplicationSecurity=t}toString(){return`SafeValue must use [property]=binding: ${this.changingThisBreaksApplicationSecurity} (see https://g.co/ng/security#xss)`}}function An(e){return e instanceof Bf?e.changingThisBreaksApplicationSecurity:e}const UC=/^(?:(?:https?|mailto|ftp|tel|file|sms):|[^&:/?#]*(?:[/?#]|$))/gi,$C=/^data:(?:image\/(?:bmp|gif|jpeg|jpg|png|tiff|webp)|video\/(?:mpeg|mp4|ogg|webm)|audio\/(?:mp3|oga|ogg|opus));base64,[a-z0-9+\/]+=*$/i;var me=(()=>((me=me||{})[me.NONE=0]="NONE",me[me.HTML=1]="HTML",me[me.STYLE=2]="STYLE",me[me.SCRIPT=3]="SCRIPT",me[me.URL=4]="URL",me[me.RESOURCE_URL=5]="RESOURCE_URL",me))();function Qn(e){const t=function(){const e=D();return e&&e[12]}();return t?t.sanitize(me.URL,e)||"":function(e,t){const n=function(e){return e instanceof Bf&&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 https://g.co/ng/security#xss)`)}return n===t}(e,"URL")?An(e):function(e){return(e=String(e)).match(UC)||e.match($C)?e:"unsafe:"+e}(P(e))}const Qf="__ngContext__";function Le(e,t){e[Qf]=t}function yu(e){const t=function(e){return e[Qf]||null}(e);return t?Array.isArray(t)?t:t.lView:null}function Du(e){return e.ngOriginalError}function hw(e,...t){e.error(...t)}class Ir{constructor(){this._console=console}handleError(t){const n=this._findOriginalError(t),r=(e=t)&&e.ngErrorLogger||hw;var e;r(this._console,"ERROR",t),n&&r(this._console,"ORIGINAL ERROR",n)}_findOriginalError(t){let n=t&&Du(t);for(;n&&Du(n);)n=Du(n);return n||null}}const Xf=(()=>("undefined"!=typeof requestAnimationFrame&&requestAnimationFrame||setTimeout).bind(Y))();function Qt(e){return e instanceof Function?e():e}var at=(()=>((at=at||{})[at.Important=1]="Important",at[at.DashCase=2]="DashCase",at))();function Cu(e,t){return undefined(e,t)}function Fi(e){const t=e[3];return At(t)?t[3]:t}function wu(e){return ih(e[13])}function Eu(e){return ih(e[4])}function ih(e){for(;null!==e&&!At(e);)e=e[4];return e}function Tr(e,t,n,r,i){if(null!=r){let o,s=!1;At(r)?o=r:$t(r)&&(s=!0,r=r[0]);const a=ge(r);0===e&&null!==n?null==i?ch(t,n,a):Zn(t,n,a,i||null,!0):1===e&&null!==n?Zn(t,n,a,i||null,!0):2===e?function(e,t,n){const r=ts(e,t);r&&function(e,t,n,r){le(e)?e.removeChild(t,n,r):t.removeChild(n)}(e,r,t,n)}(t,a,s):3===e&&t.destroyNode(a),null!=o&&function(e,t,n,r,i){const o=n[7];o!==ge(n)&&Tr(t,e,r,o,i);for(let a=10;a<n.length;a++){const u=n[a];Oi(u[1],u,e,t,r,o)}}(t,e,o,n,i)}}function Iu(e,t,n){return le(e)?e.createElement(t,n):null===n?e.createElement(t):e.createElementNS(n,t)}function sh(e,t){const n=e[9],r=n.indexOf(t),i=t[3];1024&t[2]&&(t[2]&=-1025,za(i,-1)),n.splice(r,1)}function Su(e,t){if(e.length<=10)return;const n=10+t,r=e[n];if(r){const i=r[17];null!==i&&i!==e&&sh(i,r),t>0&&(e[n-1][4]=r[4]);const o=Wo(e,10+t);!function(e,t){Oi(e,t,t[j],2,null,null),t[0]=null,t[6]=null}(r[1],r);const s=o[19];null!==s&&s.detachView(o[1]),r[3]=null,r[4]=null,r[2]&=-129}return r}function ah(e,t){if(!(256&t[2])){const n=t[j];le(n)&&n.destroyNode&&Oi(e,t,n,3,null,null),function(e){let t=e[13];if(!t)return Tu(e[1],e);for(;t;){let n=null;if($t(t))n=t[13];else{const r=t[10];r&&(n=r)}if(!n){for(;t&&!t[4]&&t!==e;)$t(t)&&Tu(t[1],t),t=t[3];null===t&&(t=e),$t(t)&&Tu(t[1],t),n=t&&t[4]}t=n}}(t)}}function Tu(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 i=t[n[r]];if(!(i instanceof mi)){const o=n[r+1];if(Array.isArray(o))for(let s=0;s<o.length;s+=2){const a=i[o[s]],u=o[s+1];try{u.call(a)}finally{}}else try{o.call(i)}finally{}}}}(e,t),function(e,t){const n=e.cleanup,r=t[7];let i=-1;if(null!==n)for(let o=0;o<n.length-1;o+=2)if("string"==typeof n[o]){const s=n[o+1],a="function"==typeof s?s(t):ge(t[s]),u=r[i=n[o+2]],l=n[o+3];"boolean"==typeof l?a.removeEventListener(n[o],u,l):l>=0?r[i=l]():r[i=-l].unsubscribe(),o+=2}else{const s=r[i=n[o+1]];n[o].call(s)}if(null!==r){for(let o=i+1;o<r.length;o++)r[o]();t[7]=null}}(e,t),1===t[1].type&&le(t[j])&&t[j].destroy();const n=t[17];if(null!==n&&At(t[3])){n!==t[3]&&sh(n,t);const r=t[19];null!==r&&r.detachView(e)}}}function uh(e,t,n){return function(e,t,n){let r=t;for(;null!==r&&40&r.type;)r=(t=r).parent;if(null===r)return n[0];if(2&r.flags){const i=e.data[r.directiveStart].encapsulation;if(i===Vt.None||i===Vt.Emulated)return null}return vt(r,n)}(e,t.parent,n)}function Zn(e,t,n,r,i){le(e)?e.insertBefore(t,n,r,i):t.insertBefore(n,r,i)}function ch(e,t,n){le(e)?e.appendChild(t,n):t.appendChild(n)}function dh(e,t,n,r,i){null!==r?Zn(e,t,n,r,i):ch(e,t,n)}function ts(e,t){return le(e)?e.parentNode(t):t.parentNode}let ph=function(e,t,n){return 40&e.type?vt(e,n):null};function ns(e,t,n,r){const i=uh(e,r,t),o=t[j],a=function(e,t,n){return ph(e,t,n)}(r.parent||t[6],r,t);if(null!=i)if(Array.isArray(n))for(let u=0;u<n.length;u++)dh(o,i,n[u],a,!1);else dh(o,i,n,a,!1)}function rs(e,t){if(null!==t){const n=t.type;if(3&n)return vt(t,e);if(4&n)return Au(-1,e[t.index]);if(8&n){const r=t.child;if(null!==r)return rs(e,r);{const i=e[t.index];return At(i)?Au(-1,i):ge(i)}}if(32&n)return Cu(t,e)()||ge(e[t.index]);{const r=mh(e,t);return null!==r?Array.isArray(r)?r[0]:rs(Fi(e[16]),r):rs(e,t.next)}}return null}function mh(e,t){return null!==t?e[16][6].projection[t.projection]:null}function Au(e,t){const n=10+e+1;if(n<t.length){const r=t[n],i=r[1].firstChild;if(null!==i)return rs(r,i)}return t[7]}function xu(e,t,n,r,i,o,s){for(;null!=n;){const a=r[n.index],u=n.type;if(s&&0===t&&(a&&Le(ge(a),r),n.flags|=4),64!=(64&n.flags))if(8&u)xu(e,t,n.child,r,i,o,!1),Tr(t,e,i,a,o);else if(32&u){const l=Cu(n,r);let c;for(;c=l();)Tr(t,e,i,c,o);Tr(t,e,i,a,o)}else 16&u?vh(e,t,r,n,i,o):Tr(t,e,i,a,o);n=s?n.projectionNext:n.next}}function Oi(e,t,n,r,i,o){xu(n,r,e.firstChild,t,i,o,!1)}function vh(e,t,n,r,i,o){const s=n[16],u=s[6].projection[r.projection];if(Array.isArray(u))for(let l=0;l<u.length;l++)Tr(t,e,i,u[l],o);else xu(e,t,u,s[3],i,o,!0)}function Dh(e,t,n){le(e)?e.setAttribute(t,"style",n):t.style.cssText=n}function Ru(e,t,n){le(e)?""===n?e.removeAttribute(t,"class"):e.setAttribute(t,"class",n):t.className=n}function _h(e,t,n){let r=e.length;for(;;){const i=e.indexOf(t,n);if(-1===i)return i;if(0===i||e.charCodeAt(i-1)<=32){const o=t.length;if(i+o===r||e.charCodeAt(i+o)<=32)return i}n=i+1}}const Ch="ng-template";function Vw(e,t,n){let r=0;for(;r<e.length;){let i=e[r++];if(n&&"class"===i){if(i=e[r],-1!==_h(i.toLowerCase(),t,0))return!0}else if(1===i){for(;r<e.length&&"string"==typeof(i=e[r++]);)if(i.toLowerCase()===t)return!0;return!1}}return!1}function wh(e){return 4===e.type&&e.value!==Ch}function Uw(e,t,n){return t===(4!==e.type||n?e.value:Ch)}function $w(e,t,n){let r=4;const i=e.attrs||[],o=function(e){for(let t=0;t<e.length;t++)if(df(e[t]))return t;return e.length}(i);let s=!1;for(let a=0;a<t.length;a++){const u=t[a];if("number"!=typeof u){if(!s)if(4&r){if(r=2|1&r,""!==u&&!Uw(e,u,n)||""===u&&1===t.length){if(Rt(r))return!1;s=!0}}else{const l=8&r?u:t[++a];if(8&r&&null!==e.attrs){if(!Vw(e.attrs,l,n)){if(Rt(r))return!1;s=!0}continue}const d=zw(8&r?"class":u,i,wh(e),n);if(-1===d){if(Rt(r))return!1;s=!0;continue}if(""!==l){let f;f=d>o?"":i[d+1].toLowerCase();const h=8&r?f:null;if(h&&-1!==_h(h,l,0)||2&r&&l!==f){if(Rt(r))return!1;s=!0}}}}else{if(!s&&!Rt(r)&&!Rt(u))return!1;if(s&&Rt(u))continue;s=!1,r=u|1&r}}return Rt(r)||s}function Rt(e){return 0==(1&e)}function zw(e,t,n,r){if(null===t)return-1;let i=0;if(r||!n){let o=!1;for(;i<t.length;){const s=t[i];if(s===e)return i;if(3===s||6===s)o=!0;else{if(1===s||2===s){let a=t[++i];for(;"string"==typeof a;)a=t[++i];continue}if(4===s)break;if(0===s){i+=4;continue}}i+=o?1:2}return-1}return function(e,t){let n=e.indexOf(4);if(n>-1)for(n++;n<e.length;){const r=e[n];if("number"==typeof r)return-1;if(r===t)return n;n++}return-1}(t,e)}function Eh(e,t,n=!1){for(let r=0;r<t.length;r++)if($w(e,t[r],n))return!0;return!1}function bh(e,t){return e?":not("+t.trim()+")":t}function Zw(e){let t=e[0],n=1,r=2,i="",o=!1;for(;n<e.length;){let s=e[n];if("string"==typeof s)if(2&r){const a=e[++n];i+="["+s+(a.length>0?'="'+a+'"':"")+"]"}else 8&r?i+="."+s:4&r&&(i+=" "+s);else""!==i&&!Rt(s)&&(t+=bh(o,i),i=""),r=s,o=o||!Rt(r);n++}return""!==i&&(t+=bh(o,i)),t}const N={};function O(e){Ih(K(),D(),ze()+e,Fo())}function Ih(e,t,n,r){if(!r)if(3==(3&t[2])){const o=e.preOrderCheckHooks;null!==o&&jo(t,o,n)}else{const o=e.preOrderHooks;null!==o&&Ho(t,o,0,n)}Tn(n)}function is(e,t){return e<<17|t<<2}function Pt(e){return e>>17&32767}function Pu(e){return 2|e}function fn(e){return(131068&e)>>2}function Nu(e,t){return-131069&e|t<<2}function Fu(e){return 1|e}function kh(e,t){const n=e.contentQueries;if(null!==n)for(let r=0;r<n.length;r+=2){const i=n[r],o=n[r+1];if(-1!==o){const s=e.data[o];Za(i),s.contentQueries(2,t[o],o)}}}function ki(e,t,n,r,i,o,s,a,u,l){const c=t.blueprint.slice();return c[0]=i,c[2]=140|r,Yd(c),c[3]=c[15]=e,c[8]=n,c[10]=s||e&&e[10],c[j]=a||e&&e[j],c[12]=u||e&&e[12]||null,c[9]=l||e&&e[9]||null,c[6]=o,c[16]=2==t.type?e[16]:c,c}function Mr(e,t,n,r,i){let o=e.data[t];if(null===o)o=function(e,t,n,r,i){const o=ef(),s=Ga(),u=e.data[t]=function(e,t,n,r,i,o){return{type:n,index:r,insertBeforeIndex:null,injectorIndex:t?t.injectorIndex:-1,directiveStart:-1,directiveEnd:-1,directiveStylingLast:-1,propertyBindings:null,flags:0,providerIndexes:0,value:i,attrs:o,mergedAttrs:null,localNames:null,initialInputs:void 0,inputs:null,outputs:null,tViews:null,next:null,projectionNext:null,child:null,parent:t,projection:null,styles:null,stylesWithoutHost:null,residualStyles:void 0,classes:null,classesWithoutHost:null,residualClasses:void 0,classBindings:0,styleBindings:0}}(0,s?o:o&&o.parent,n,t,r,i);return null===e.firstChild&&(e.firstChild=u),null!==o&&(s?null==o.child&&null!==u.parent&&(o.child=u):null===o.next&&(o.next=u)),u}(e,t,n,r,i),R.lFrame.inI18n&&(o.flags|=64);else if(64&o.type){o.type=n,o.value=r,o.attrs=i;const s=function(){const e=R.lFrame,t=e.currentTNode;return e.isParent?t:t.parent}();o.injectorIndex=null===s?-1:s.injectorIndex}return zt(o,!0),o}function Ar(e,t,n,r){if(0===n)return-1;const i=t.length;for(let o=0;o<n;o++)t.push(r),e.blueprint.push(r),e.data.push(null);return i}function Li(e,t,n){ko(t);try{const r=e.viewQuery;null!==r&&Yu(1,r,n);const i=e.template;null!==i&&Lh(e,t,i,1,n),e.firstCreatePass&&(e.firstCreatePass=!1),e.staticContentQueries&&kh(e,t),e.staticViewQueries&&Yu(2,e.viewQuery,n);const o=e.components;null!==o&&function(e,t){for(let n=0;n<t.length;n++)RE(e,t[n])}(t,o)}catch(r){throw e.firstCreatePass&&(e.incompleteFirstPass=!0,e.firstCreatePass=!1),r}finally{t[2]&=-5,Lo()}}function xr(e,t,n,r){const i=t[2];if(256==(256&i))return;ko(t);const o=Fo();try{Yd(t),function(e){R.lFrame.bindingIndex=e}(e.bindingStartIndex),null!==n&&Lh(e,t,n,2,r);const s=3==(3&i);if(!o)if(s){const l=e.preOrderCheckHooks;null!==l&&jo(t,l,null)}else{const l=e.preOrderHooks;null!==l&&Ho(t,l,0,null),Ja(t,0)}if(function(e){for(let t=wu(e);null!==t;t=Eu(t)){if(!t[2])continue;const n=t[9];for(let r=0;r<n.length;r++){const i=n[r],o=i[3];0==(1024&i[2])&&za(o,1),i[2]|=1024}}}(t),function(e){for(let t=wu(e);null!==t;t=Eu(t))for(let n=10;n<t.length;n++){const r=t[n],i=r[1];$a(r)&&xr(i,r,i.template,r[8])}}(t),null!==e.contentQueries&&kh(e,t),!o)if(s){const l=e.contentCheckHooks;null!==l&&jo(t,l)}else{const l=e.contentHooks;null!==l&&Ho(t,l,1),Ja(t,1)}!function(e,t){const n=e.hostBindingOpCodes;if(null!==n)try{for(let r=0;r<n.length;r++){const i=n[r];if(i<0)Tn(~i);else{const o=i,s=n[++r],a=n[++r];O_(s,o),a(2,t[o])}}}finally{Tn(-1)}}(e,t);const a=e.components;null!==a&&function(e,t){for(let n=0;n<t.length;n++)xE(e,t[n])}(t,a);const u=e.viewQuery;if(null!==u&&Yu(2,u,r),!o)if(s){const l=e.viewCheckHooks;null!==l&&jo(t,l)}else{const l=e.viewHooks;null!==l&&Ho(t,l,2),Ja(t,2)}!0===e.firstUpdatePass&&(e.firstUpdatePass=!1),o||(t[2]&=-73),1024&t[2]&&(t[2]&=-1025,za(t[3],-1))}finally{Lo()}}function dE(e,t,n,r){const i=t[10],o=!Fo(),s=function(e){return 4==(4&e[2])}(t);try{o&&!s&&i.begin&&i.begin(),s&&Li(e,t,r),xr(e,t,n,r)}finally{o&&!s&&i.end&&i.end()}}function Lh(e,t,n,r,i){const o=ze(),s=2&r;try{Tn(-1),s&&t.length>20&&Ih(e,t,20,Fo()),n(r,i)}finally{Tn(o)}}function Bh(e,t,n){if(La(t)){const i=t.directiveEnd;for(let o=t.directiveStart;o<i;o++){const s=e.data[o];s.contentQueries&&s.contentQueries(1,n[o],o)}}}function zu(e,t,n){!Xd()||(function(e,t,n,r){const i=n.directiveStart,o=n.directiveEnd;e.firstCreatePass||vi(n,t),Le(r,t);const s=n.initialInputs;for(let a=i;a<o;a++){const u=e.data[a],l=xt(u);l&&IE(t,n,u);const c=Di(t,e,a,n);Le(c,t),null!==s&&SE(0,a-i,c,u,0,s),l&&(ot(n.index,t)[8]=c)}}(e,t,n,vt(n,t)),128==(128&n.flags)&&function(e,t,n){const r=n.directiveStart,i=n.directiveEnd,s=n.index,a=R.lFrame.currentDirectiveIndex;try{Tn(s);for(let u=r;u<i;u++){const l=e.data[u],c=t[u];Wa(u),(null!==l.hostBindings||0!==l.hostVars||null!==l.hostAttrs)&&qh(l,c)}}finally{Tn(-1),Wa(a)}}(e,t,n))}function Gu(e,t,n=vt){const r=t.localNames;if(null!==r){let i=t.index+1;for(let o=0;o<r.length;o+=2){const s=r[o+1],a=-1===s?n(t,e):e[s];e[i++]=a}}}function jh(e){const t=e.tView;return null===t||t.incompleteFirstPass?e.tView=as(1,null,e.template,e.decls,e.vars,e.directiveDefs,e.pipeDefs,e.viewQuery,e.schemas,e.consts):t}function as(e,t,n,r,i,o,s,a,u,l){const c=20+r,d=c+i,f=function(e,t){const n=[];for(let r=0;r<t;r++)n.push(r<e?null:N);return n}(c,d),h="function"==typeof l?l():l;return f[1]={type:e,blueprint:f,template:n,queries:null,viewQuery:a,declTNode:t,data:f.slice().fill(null,c),bindingStartIndex:c,expandoStartIndex:d,hostBindingOpCodes:null,firstCreatePass:!0,firstUpdatePass:!0,staticViewQueries:!1,staticContentQueries:!1,preOrderHooks:null,preOrderCheckHooks:null,contentHooks:null,contentCheckHooks:null,viewHooks:null,viewCheckHooks:null,destroyHooks:null,cleanup:null,contentQueries:null,components:null,directiveRegistry:"function"==typeof o?o():o,pipeRegistry:"function"==typeof s?s():s,firstChild:null,schemas:u,consts:h,incompleteFirstPass:!1}}function $h(e,t,n){for(let r in e)if(e.hasOwnProperty(r)){const i=e[r];(n=null===n?{}:n).hasOwnProperty(r)?n[r].push(t,i):n[r]=[t,i]}return n}function ut(e,t,n,r,i,o,s,a){const u=vt(t,n);let c,l=t.inputs;!a&&null!=l&&(c=l[r])?(np(e,n,c,r,i),Ro(t)&&function(e,t){const n=ot(t,e);16&n[2]||(n[2]|=64)}(n,t.index)):3&t.type&&(r=function(e){return"class"===e?"className":"for"===e?"htmlFor":"formaction"===e?"formAction":"innerHtml"===e?"innerHTML":"readonly"===e?"readOnly":"tabindex"===e?"tabIndex":e}(r),i=null!=s?s(i,t.value||"",r):i,le(o)?o.setProperty(u,r,i):Ya(r)||(u.setProperty?u.setProperty(r,i):u[r]=i))}function qu(e,t,n,r){let i=!1;if(Xd()){const o=function(e,t,n){const r=e.directiveRegistry;let i=null;if(r)for(let o=0;o<r.length;o++){const s=r[o];Eh(n,s.selectors,!1)&&(i||(i=[]),Go(vi(n,t),e,s.type),xt(s)?(Wh(e,n),i.unshift(s)):i.push(s))}return i}(e,t,n),s=null===r?null:{"":-1};if(null!==o){i=!0,Qh(n,e.data.length,o.length);for(let c=0;c<o.length;c++){const d=o[c];d.providersResolver&&d.providersResolver(d)}let a=!1,u=!1,l=Ar(e,t,o.length,null);for(let c=0;c<o.length;c++){const d=o[c];n.mergedAttrs=Uo(n.mergedAttrs,d.hostAttrs),Zh(e,n,t,l,d),bE(l,d,s),null!==d.contentQueries&&(n.flags|=8),(null!==d.hostBindings||null!==d.hostAttrs||0!==d.hostVars)&&(n.flags|=128);const f=d.type.prototype;!a&&(f.ngOnChanges||f.ngOnInit||f.ngDoCheck)&&((e.preOrderHooks||(e.preOrderHooks=[])).push(n.index),a=!0),!u&&(f.ngOnChanges||f.ngDoCheck)&&((e.preOrderCheckHooks||(e.preOrderCheckHooks=[])).push(n.index),u=!0),l++}!function(e,t){const r=t.directiveEnd,i=e.data,o=t.attrs,s=[];let a=null,u=null;for(let l=t.directiveStart;l<r;l++){const c=i[l],d=c.inputs,f=null===o||wh(t)?null:TE(d,o);s.push(f),a=$h(d,l,a),u=$h(c.outputs,l,u)}null!==a&&(a.hasOwnProperty("class")&&(t.flags|=16),a.hasOwnProperty("style")&&(t.flags|=32)),t.initialInputs=s,t.inputs=a,t.outputs=u}(e,n)}s&&function(e,t,n){if(t){const r=e.localNames=[];for(let i=0;i<t.length;i+=2){const o=n[t[i+1]];if(null==o)throw new tt("301",`Export of name '${t[i+1]}' not found!`);r.push(t[i],o)}}}(n,r,s)}return n.mergedAttrs=Uo(n.mergedAttrs,n.attrs),i}function Gh(e,t,n,r,i,o){const s=o.hostBindings;if(s){let a=e.hostBindingOpCodes;null===a&&(a=e.hostBindingOpCodes=[]);const u=~t.index;(function(e){let t=e.length;for(;t>0;){const n=e[--t];if("number"==typeof n&&n<0)return n}return 0})(a)!=u&&a.push(u),a.push(r,i,s)}}function qh(e,t){null!==e.hostBindings&&e.hostBindings(1,t)}function Wh(e,t){t.flags|=2,(e.components||(e.components=[])).push(t.index)}function bE(e,t,n){if(n){if(t.exportAs)for(let r=0;r<t.exportAs.length;r++)n[t.exportAs[r]]=e;xt(t)&&(n[""]=e)}}function Qh(e,t,n){e.flags|=1,e.directiveStart=t,e.directiveEnd=t+n,e.providerIndexes=t}function Zh(e,t,n,r,i){e.data[r]=i;const o=i.factory||(i.factory=Wn(i.type)),s=new mi(o,xt(i),null);e.blueprint[r]=s,n[r]=s,Gh(e,t,0,r,Ar(e,n,i.hostVars,N),i)}function IE(e,t,n){const r=vt(t,e),i=jh(n),o=e[10],s=us(e,ki(e,i,null,n.onPush?64:16,r,t,o,o.createRenderer(r,n),null,null));e[t.index]=s}function Zt(e,t,n,r,i,o){const s=vt(e,t);!function(e,t,n,r,i,o,s){if(null==o)le(e)?e.removeAttribute(t,i,n):t.removeAttribute(i);else{const a=null==s?P(o):s(o,r||"",i);le(e)?e.setAttribute(t,i,a,n):n?t.setAttributeNS(n,i,a):t.setAttribute(i,a)}}(t[j],s,o,e.value,n,r,i)}function SE(e,t,n,r,i,o){const s=o[t];if(null!==s){const a=r.setInput;for(let u=0;u<s.length;){const l=s[u++],c=s[u++],d=s[u++];null!==a?r.setInput(n,d,l,c):n[c]=d}}}function TE(e,t){let n=null,r=0;for(;r<t.length;){const i=t[r];if(0!==i)if(5!==i){if("number"==typeof i)break;e.hasOwnProperty(i)&&(null===n&&(n=[]),n.push(i,e[i],t[r+1])),r+=2}else r+=2;else r+=4}return n}function Jh(e,t,n,r){return new Array(e,!0,!1,t,null,0,r,n,null,null)}function xE(e,t){const n=ot(t,e);if($a(n)){const r=n[1];80&n[2]?xr(r,n,r.template,n[8]):n[5]>0&&Qu(n)}}function Qu(e){for(let r=wu(e);null!==r;r=Eu(r))for(let i=10;i<r.length;i++){const o=r[i];if(1024&o[2]){const s=o[1];xr(s,o,s.template,o[8])}else o[5]>0&&Qu(o)}const n=e[1].components;if(null!==n)for(let r=0;r<n.length;r++){const i=ot(n[r],e);$a(i)&&i[5]>0&&Qu(i)}}function RE(e,t){const n=ot(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),Li(r,n,n[8])}function us(e,t){return e[13]?e[14][4]=t:e[13]=t,e[14]=t,t}function Zu(e){for(;e;){e[2]|=64;const t=Fi(e);if(g_(e)&&!t)return e;e=t}return null}function Ku(e,t,n){const r=t[10];r.begin&&r.begin();try{xr(e,t,e.template,n)}catch(i){throw tp(t,i),i}finally{r.end&&r.end()}}function Kh(e){!function(e){for(let t=0;t<e.components.length;t++){const n=e.components[t],r=yu(n),i=r[1];dE(i,r,i.template,n)}}(e[8])}function Yu(e,t,n){Za(0),t(e,n)}const kE=(()=>Promise.resolve(null))();function Yh(e){return e[7]||(e[7]=[])}function Xh(e){return e.cleanup||(e.cleanup=[])}function tp(e,t){const n=e[9],r=n?n.get(Ir,null):null;r&&r.handleError(t)}function np(e,t,n,r,i){for(let o=0;o<n.length;){const s=n[o++],a=n[o++],u=t[s],l=e.data[s];null!==l.setInput?l.setInput(u,i,r,a):u[a]=i}}function hn(e,t,n){const r=No(t,e);!function(e,t,n){le(e)?e.setValue(t,n):t.textContent=n}(e[j],r,n)}function ls(e,t,n){let r=n?e.styles:null,i=n?e.classes:null,o=0;if(null!==t)for(let s=0;s<t.length;s++){const a=t[s];"number"==typeof a?o=a:1==o?i=Ta(i,a):2==o&&(r=Ta(r,a+": "+t[++s]+";"))}n?e.styles=r:e.stylesWithoutHost=r,n?e.classes=i:e.classesWithoutHost=i}const Xu=new z("INJECTOR",-1);class rp{get(t,n=Ii){if(n===Ii){const r=new Error(`NullInjectorError: No provider for ${J(t)}!`);throw r.name="NullInjectorError",r}return n}}const el=new z("Set Injector scope."),Bi={},jE={};let tl;function ip(){return void 0===tl&&(tl=new rp),tl}function op(e,t=null,n=null,r){const i=sp(e,t,n,r);return i._resolveInjectorDefTypes(),i}function sp(e,t=null,n=null,r){return new HE(e,n,t||ip(),r)}class HE{constructor(t,n,r,i=null){this.parent=r,this.records=new Map,this.injectorDefTypes=new Set,this.onDestroy=new Set,this._destroyed=!1;const o=[];n&&Gt(n,a=>this.processProvider(a,t,n)),Gt([t],a=>this.processInjectorType(a,[],o)),this.records.set(Xu,Rr(void 0,this));const s=this.records.get(el);this.scope=null!=s?s.value:null,this.source=i||("object"==typeof t?null:J(t))}get destroyed(){return this._destroyed}destroy(){this.assertNotDestroyed(),this._destroyed=!0;try{this.onDestroy.forEach(t=>t.ngOnDestroy())}finally{this.records.clear(),this.onDestroy.clear(),this.injectorDefTypes.clear()}}get(t,n=Ii,r=F.Default){this.assertNotDestroyed();const i=Af(this),o=wn(void 0);try{if(!(r&F.SkipSelf)){let a=this.records.get(t);if(void 0===a){const u=("function"==typeof(e=t)||"object"==typeof e&&e instanceof z)&&xa(t);a=u&&this.injectableDefInScope(u)?Rr(nl(t),Bi):null,this.records.set(t,a)}if(null!=a)return this.hydrate(t,a)}return(r&F.Self?ip():this.parent).get(t,n=r&F.Optional&&n===Ii?null:n)}catch(s){if("NullInjectorError"===s.name){if((s[Zo]=s[Zo]||[]).unshift(J(t)),i)throw s;return function(e,t,n,r){const i=e[Zo];throw t[Mf]&&i.unshift(t[Mf]),e.message=function(e,t,n,r=null){e=e&&"\n"===e.charAt(0)&&"\u0275"==e.charAt(1)?e.substr(2):e;let i=J(t);if(Array.isArray(t))i=t.map(J).join(" -> ");else if("object"==typeof t){let o=[];for(let s in t)if(t.hasOwnProperty(s)){let a=t[s];o.push(s+":"+("string"==typeof a?JSON.stringify(a):J(a)))}i=`{${o.join(", ")}}`}return`${n}${r?"("+r+")":""}[${i}]: ${e.replace(mC,"\n ")}`}("\n"+e.message,i,n,r),e.ngTokenPath=i,e[Zo]=null,e}(s,t,"R3InjectorError",this.source)}throw s}finally{wn(o),Af(i)}var e}_resolveInjectorDefTypes(){this.injectorDefTypes.forEach(t=>this.get(t))}toString(){const t=[];return this.records.forEach((r,i)=>t.push(J(i))),`R3Injector[${t.join(", ")}]`}assertNotDestroyed(){if(this._destroyed)throw new Error("Injector has already been destroyed.")}processInjectorType(t,n,r){if(!(t=B(t)))return!1;let i=kd(t);const o=null==i&&t.ngModule||void 0,s=void 0===o?t:o,a=-1!==r.indexOf(s);if(void 0!==o&&(i=kd(o)),null==i)return!1;if(null!=i.imports&&!a){let c;r.push(s);try{Gt(i.imports,d=>{this.processInjectorType(d,n,r)&&(void 0===c&&(c=[]),c.push(d))})}finally{}if(void 0!==c)for(let d=0;d<c.length;d++){const{ngModule:f,providers:h}=c[d];Gt(h,p=>this.processProvider(p,f,h||ee))}}this.injectorDefTypes.add(s);const u=Wn(s)||(()=>new s);this.records.set(s,Rr(u,Bi));const l=i.providers;if(null!=l&&!a){const c=t;Gt(l,d=>this.processProvider(d,c,l))}return void 0!==o&&void 0!==t.providers}processProvider(t,n,r){let i=Pr(t=B(t))?t:B(t&&t.provide);const o=(e=t,up(e)?Rr(void 0,e.useValue):Rr(function(e,t,n){let r;if(Pr(e)){const i=B(e);return Wn(i)||nl(i)}if(up(e))r=()=>B(e.useValue);else if(function(e){return!(!e||!e.useFactory)}(e))r=()=>e.useFactory(...uu(e.deps||[]));else if(function(e){return!(!e||!e.useExisting)}(e))r=()=>S(B(e.useExisting));else{const i=B(e&&(e.useClass||e.provide));if(!function(e){return!!e.deps}(e))return Wn(i)||nl(i);r=()=>new i(...uu(e.deps))}return r}(e),Bi));var e;if(Pr(t)||!0!==t.multi)this.records.get(i);else{let s=this.records.get(i);s||(s=Rr(void 0,Bi,!0),s.factory=()=>uu(s.multi),this.records.set(i,s)),i=t,s.multi.push(t)}this.records.set(i,o)}hydrate(t,n){return n.value===Bi&&(n.value=jE,n.value=n.factory()),"object"==typeof n.value&&n.value&&null!==(e=n.value)&&"object"==typeof e&&"function"==typeof e.ngOnDestroy&&this.onDestroy.add(n.value),n.value;var e}injectableDefInScope(t){if(!t.providedIn)return!1;const n=B(t.providedIn);return"string"==typeof n?"any"===n||n===this.scope:this.injectorDefTypes.has(n)}}function nl(e){const t=xa(e),n=null!==t?t.factory:Wn(e);if(null!==n)return n;if(e instanceof z)throw new Error(`Token ${J(e)} is missing a \u0275prov definition.`);if(e instanceof Function)return function(e){const t=e.length;if(t>0){const r=function(e,t){const n=[];for(let r=0;r<e;r++)n.push(t);return n}(t,"?");throw new Error(`Can't resolve all parameters for ${J(e)}: (${r.join(", ")}).`)}const n=function(e){const t=e&&(e[So]||e[Ld]);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.\nThis will become an error in a future version of Angular. Please add @Injectable() to the "${n}" class.`),t}return null}(e);return null!==n?()=>n.factory(e):()=>new e}(e);throw new Error("unreachable")}function Rr(e,t,n=!1){return{factory:e,value:t,multi:n?[]:void 0}}function up(e){return null!==e&&"object"==typeof e&&vC in e}function Pr(e){return"function"==typeof e}let Be=(()=>{class e{static create(n,r){var i;if(Array.isArray(n))return op({name:""},r,n,"");{const o=null!=(i=n.name)?i:"";return op({name:o},n.parent,n.providers,o)}}}return e.THROW_IF_NOT_FOUND=Ii,e.NULL=new rp,e.\u0275prov=k({token:e,providedIn:"any",factory:()=>S(Xu)}),e.__NG_ELEMENT_ID__=-1,e})();function nb(e,t){Bo(yu(e)[1],_e())}let cs=null;function Nr(){if(!cs){const e=Y.Symbol;if(e&&e.iterator)cs=e.iterator;else{const t=Object.getOwnPropertyNames(Map.prototype);for(let n=0;n<t.length;++n){const r=t[n];"entries"!==r&&"size"!==r&&Map.prototype[r]===Map.prototype.entries&&(cs=r)}}}return cs}function ji(e){return!!sl(e)&&(Array.isArray(e)||!(e instanceof Map)&&Nr()in e)}function sl(e){return null!==e&&("function"==typeof e||"object"==typeof e)}function Jt(e,t,n){return e[t]=n}function je(e,t,n){return!Object.is(e[t],n)&&(e[t]=n,!0)}function Jn(e,t,n,r){const i=je(e,t,n);return je(e,t+1,r)||i}function Fr(e,t,n,r){const i=D();return je(i,hr(),t)&&(K(),Zt(ce(),i,e,t,n,r)),Fr}function kr(e,t,n,r){return je(e,hr(),n)?t+P(n)+r:N}function Lr(e,t,n,r,i,o){const a=Jn(e,R.lFrame.bindingIndex,n,i);return dn(2),a?t+P(n)+r+P(i)+o:N}function Me(e,t,n,r,i,o,s,a){const u=D(),l=K(),c=e+20,d=l.firstCreatePass?function(e,t,n,r,i,o,s,a,u){const l=t.consts,c=Mr(t,e,4,s||null,Sn(l,a));qu(t,n,c,Sn(l,u)),Bo(t,c);const d=c.tViews=as(2,c,r,i,o,t.directiveRegistry,t.pipeRegistry,null,t.schemas,l);return null!==t.queries&&(t.queries.template(t,c),d.queries=t.queries.embeddedTView(c)),c}(c,l,u,t,n,r,i,o,s):l.data[c];zt(d,!1);const f=u[j].createComment("");ns(l,u,f,d),Le(f,u),us(u,u[c]=Jh(f,u,f,d)),Po(d)&&zu(l,u,d),null!=s&&Gu(u,d,a)}function Je(e){return fr(R.lFrame.contextLView,20+e)}function I(e,t=F.Default){const n=D();return null===n?S(e,t):vf(_e(),n,B(e),t)}function dl(){throw new Error("invalid")}function de(e,t,n){const r=D();return je(r,hr(),t)&&ut(K(),ce(),r,e,t,r[j],n,!1),de}function fl(e,t,n,r,i){const s=i?"class":"style";np(e,n,t.inputs[s],s,r)}function _(e,t,n,r){const i=D(),o=K(),s=20+e,a=i[j],u=i[s]=Iu(a,t,R.lFrame.currentNamespace),l=o.firstCreatePass?function(e,t,n,r,i,o,s){const a=t.consts,l=Mr(t,e,2,i,Sn(a,o));return qu(t,n,l,Sn(a,s)),null!==l.attrs&&ls(l,l.attrs,!1),null!==l.mergedAttrs&&ls(l,l.mergedAttrs,!0),null!==t.queries&&t.queries.elementStart(t,l),l}(s,o,i,0,t,n,r):o.data[s];zt(l,!0);const c=l.mergedAttrs;null!==c&&Vo(a,u,c);const d=l.classes;null!==d&&Ru(a,u,d);const f=l.styles;null!==f&&Dh(a,u,f),64!=(64&l.flags)&&ns(o,i,u,l),0===R.lFrame.elementDepthCount&&Le(u,i),R.lFrame.elementDepthCount++,Po(l)&&(zu(o,i,l),Bh(o,l,i)),null!==r&&Gu(i,l)}function C(){let e=_e();Ga()?qa():(e=e.parent,zt(e,!1));const t=e;R.lFrame.elementDepthCount--;const n=K();n.firstCreatePass&&(Bo(n,e),La(e)&&n.queries.elementEnd(e)),null!=t.classesWithoutHost&&function(e){return 0!=(16&e.flags)}(t)&&fl(n,t,D(),t.classesWithoutHost,!0),null!=t.stylesWithoutHost&&function(e){return 0!=(32&e.flags)}(t)&&fl(n,t,D(),t.stylesWithoutHost,!1)}function Ne(e,t,n,r){_(e,t,n,r),C()}function pn(){return D()}function hs(e){return!!e&&"function"==typeof e.then}const Up=function(e){return!!e&&"function"==typeof e.subscribe};function Ke(e,t,n,r){const i=D(),o=K(),s=_e();return function(e,t,n,r,i,o,s,a){const u=Po(r),c=e.firstCreatePass&&Xh(e),d=t[8],f=Yh(t);let h=!0;if(3&r.type||a){const y=vt(r,t),v=a?a(y):y,g=f.length,b=a?M=>a(ge(M[r.index])):r.index;if(le(n)){let M=null;if(!a&&u&&(M=function(e,t,n,r){const i=e.cleanup;if(null!=i)for(let o=0;o<i.length-1;o+=2){const s=i[o];if(s===n&&i[o+1]===r){const a=t[7],u=i[o+2];return a.length>u?a[u]:null}"string"==typeof s&&(o+=2)}return null}(e,t,i,r.index)),null!==M)(M.__ngLastListenerFn__||M).__ngNextListenerFn__=o,M.__ngLastListenerFn__=o,h=!1;else{o=gl(r,t,d,o,!1);const Q=n.listen(v,i,o);f.push(o,Q),c&&c.push(i,b,g,g+1)}}else o=gl(r,t,d,o,!0),v.addEventListener(i,o,s),f.push(o),c&&c.push(i,b,g,s)}else o=gl(r,t,d,o,!1);const p=r.outputs;let m;if(h&&null!==p&&(m=p[i])){const y=m.length;if(y)for(let v=0;v<y;v+=2){const ft=t[m[v]][m[v+1]].subscribe(o),sr=f.length;f.push(o,ft),c&&c.push(i,r.index,sr,-(sr+1))}}}(o,i,i[j],s,e,t,!!n,r),Ke}function Gp(e,t,n,r){try{return!1!==n(r)}catch(i){return tp(e,i),!1}}function gl(e,t,n,r,i){return function o(s){if(s===Function)return r;const a=2&e.flags?ot(e.index,t):t;0==(32&t[2])&&Zu(a);let u=Gp(t,0,r,s),l=o.__ngNextListenerFn__;for(;l;)u=Gp(t,0,l,s)&&u,l=l.__ngNextListenerFn__;return i&&!1===u&&(s.preventDefault(),s.returnValue=!1),u}}function ie(e=1){return function(e){return(R.lFrame.contextLView=function(e,t){for(;e>0;)t=t[15],e--;return t}(e,R.lFrame.contextLView))[8]}(e)}function ps(e,t,n){return ml(e,"",t,"",n),ps}function ml(e,t,n,r,i){const o=D(),s=kr(o,t,n,r);return s!==N&&ut(K(),ce(),o,e,s,o[j],i,!1),ml}function gs(e,t,n,r,i,o,s){const a=D(),u=Lr(a,t,n,r,i,o);return u!==N&&ut(K(),ce(),a,e,u,a[j],s,!1),gs}function Xp(e,t,n,r,i){const o=e[n+1],s=null===t;let a=r?Pt(o):fn(o),u=!1;for(;0!==a&&(!1===u||s);){const c=e[a+1];$b(e[a],t)&&(u=!0,e[a+1]=r?Fu(c):Pu(c)),a=r?Pt(c):fn(c)}u&&(e[n+1]=r?Pu(o):Fu(o))}function $b(e,t){return null===e||null==t||(Array.isArray(e)?e[1]:e)===t||!(!Array.isArray(e)||"string"!=typeof t)&&Cr(e,t)>=0}function qr(e,t){return function(e,t,n,r){const i=D(),o=K(),s=dn(2);o.firstUpdatePass&&function(e,t,n,r){const i=e.data;if(null===i[n+1]){const o=i[ze()],s=function(e,t){return t>=e.expandoStartIndex}(e,n);(function(e,t){return 0!=(e.flags&(t?16:32))})(o,r)&&null===t&&!s&&(t=!1),t=function(e,t,n,r){const i=function(e){const t=R.lFrame.currentDirectiveIndex;return-1===t?null:e[t]}(e);let o=r?t.residualClasses:t.residualStyles;if(null===i)0===(r?t.classBindings:t.styleBindings)&&(n=Vi(n=yl(null,e,t,n,r),t.attrs,r),o=null);else{const s=t.directiveStylingLast;if(-1===s||e[s]!==i)if(n=yl(i,e,t,n,r),null===o){let u=function(e,t,n){const r=n?t.classBindings:t.styleBindings;if(0!==fn(r))return e[Pt(r)]}(e,t,r);void 0!==u&&Array.isArray(u)&&(u=yl(null,e,t,u[1],r),u=Vi(u,t.attrs,r),function(e,t,n,r){e[Pt(n?t.classBindings:t.styleBindings)]=r}(e,t,r,u))}else o=function(e,t,n){let r;const i=t.directiveEnd;for(let o=1+t.directiveStylingLast;o<i;o++)r=Vi(r,e[o].hostAttrs,n);return Vi(r,t.attrs,n)}(e,t,r)}return void 0!==o&&(r?t.residualClasses=o:t.residualStyles=o),n}(i,o,t,r),function(e,t,n,r,i,o){let s=o?t.classBindings:t.styleBindings,a=Pt(s),u=fn(s);e[r]=n;let c,l=!1;if(Array.isArray(n)){const d=n;c=d[1],(null===c||Cr(d,c)>0)&&(l=!0)}else c=n;if(i)if(0!==u){const f=Pt(e[a+1]);e[r+1]=is(f,a),0!==f&&(e[f+1]=Nu(e[f+1],r)),e[a+1]=function(e,t){return 131071&e|t<<17}(e[a+1],r)}else e[r+1]=is(a,0),0!==a&&(e[a+1]=Nu(e[a+1],r)),a=r;else e[r+1]=is(u,0),0===a?a=r:e[u+1]=Nu(e[u+1],r),u=r;l&&(e[r+1]=Pu(e[r+1])),Xp(e,c,r,!0),Xp(e,c,r,!1),function(e,t,n,r,i){const o=i?e.residualClasses:e.residualStyles;null!=o&&"string"==typeof t&&Cr(o,t)>=0&&(n[r+1]=Fu(n[r+1]))}(t,c,e,r,o),s=is(a,u),o?t.classBindings=s:t.styleBindings=s}(i,o,t,n,s,r)}}(o,e,s,r),t!==N&&je(i,s,t)&&function(e,t,n,r,i,o,s,a){if(!(3&t.type))return;const u=e.data,l=u[a+1];ms(function(e){return 1==(1&e)}(l)?dg(u,t,n,i,fn(l),s):void 0)||(ms(o)||function(e){return 2==(2&e)}(l)&&(o=dg(u,null,n,i,a,s)),function(e,t,n,r,i){const o=le(e);if(t)i?o?e.addClass(n,r):n.classList.add(r):o?e.removeClass(n,r):n.classList.remove(r);else{let s=-1===r.indexOf("-")?void 0:at.DashCase;if(null==i)o?e.removeStyle(n,r,s):n.style.removeProperty(r);else{const a="string"==typeof i&&i.endsWith("!important");a&&(i=i.slice(0,-10),s|=at.Important),o?e.setStyle(n,r,i,s):n.style.setProperty(r,i,a?"important":"")}}}(r,s,No(ze(),n),i,o))}(o,o.data[ze()],i,i[j],e,i[s+1]=function(e,t){return null==e||("string"==typeof t?e+=t:"object"==typeof e&&(e=J(An(e)))),e}(t,n),r,s)}(e,t,null,!0),qr}function yl(e,t,n,r,i){let o=null;const s=n.directiveEnd;let a=n.directiveStylingLast;for(-1===a?a=n.directiveStart:a++;a<s&&(o=t[a],r=Vi(r,o.hostAttrs,i),o!==e);)a++;return null!==e&&(n.directiveStylingLast=a),r}function Vi(e,t,n){const r=n?1:2;let i=-1;if(null!==t)for(let o=0;o<t.length;o++){const s=t[o];"number"==typeof s?i=s:i===r&&(Array.isArray(e)||(e=void 0===e?[]:["",e]),st(e,s,!!n||t[++o]))}return void 0===e?null:e}function dg(e,t,n,r,i,o){const s=null===t;let a;for(;i>0;){const u=e[i],l=Array.isArray(u),c=l?u[1]:u,d=null===c;let f=n[i+1];f===N&&(f=d?ee:void 0);let h=d?ou(f,r):c===r?f:void 0;if(l&&!ms(h)&&(h=ou(u,r)),ms(h)&&(a=h,s))return a;const p=e[i+1];i=s?Pt(p):fn(p)}if(null!==t){let u=o?t.residualClasses:t.residualStyles;null!=u&&(a=ou(u,r))}return a}function ms(e){return void 0!==e}function W(e,t=""){const n=D(),r=K(),i=e+20,o=r.firstCreatePass?Mr(r,i,1,t,null):r.data[i],s=n[i]=function(e,t){return le(e)?e.createText(t):e.createTextNode(t)}(n[j],t);ns(r,n,s,o),zt(o,!1)}function Ye(e){return Xt("",e,""),Ye}function Xt(e,t,n){const r=D(),i=kr(r,e,t,n);return i!==N&&hn(r,ze(),i),Xt}function vl(e,t,n,r,i){const o=D(),s=Lr(o,e,t,n,r,i);return s!==N&&hn(o,ze(),s),vl}const Kn=void 0;var I0=["en",[["a","p"],["AM","PM"],Kn],[["AM","PM"],Kn,Kn],[["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"]],Kn,[["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"]],Kn,[["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}",Kn,"{1} 'at' {0}",Kn],[".",",",";","%","+","-","E","\xd7","\u2030","\u221e","NaN",":"],["#,##0.###","#,##0%","\xa4#,##0.00","#E0"],"USD","$","US Dollar",{},"ltr",function(e){const n=Math.floor(Math.abs(e)),r=e.toString().replace(/^[^.]*\.?/,"").length;return 1===n&&0===r?1:5}];let Wr={};function qe(e){const t=function(e){return e.toLowerCase().replace(/_/g,"-")}(e);let n=Pg(t);if(n)return n;const r=t.split("-")[0];if(n=Pg(r),n)return n;if("en"===r)return I0;throw new Error(`Missing locale data for the locale "${e}".`)}function Pg(e){return e in Wr||(Wr[e]=Y.ng&&Y.ng.common&&Y.ng.common.locales&&Y.ng.common.locales[e]),Wr[e]}var E=(()=>((E=E||{})[E.LocaleId=0]="LocaleId",E[E.DayPeriodsFormat=1]="DayPeriodsFormat",E[E.DayPeriodsStandalone=2]="DayPeriodsStandalone",E[E.DaysFormat=3]="DaysFormat",E[E.DaysStandalone=4]="DaysStandalone",E[E.MonthsFormat=5]="MonthsFormat",E[E.MonthsStandalone=6]="MonthsStandalone",E[E.Eras=7]="Eras",E[E.FirstDayOfWeek=8]="FirstDayOfWeek",E[E.WeekendRange=9]="WeekendRange",E[E.DateFormat=10]="DateFormat",E[E.TimeFormat=11]="TimeFormat",E[E.DateTimeFormat=12]="DateTimeFormat",E[E.NumberSymbols=13]="NumberSymbols",E[E.NumberFormats=14]="NumberFormats",E[E.CurrencyCode=15]="CurrencyCode",E[E.CurrencySymbol=16]="CurrencySymbol",E[E.CurrencyName=17]="CurrencyName",E[E.Currencies=18]="Currencies",E[E.Directionality=19]="Directionality",E[E.PluralCase=20]="PluralCase",E[E.ExtraData=21]="ExtraData",E))();const ys="en-US";let Ng=ys;class im{}class MI{resolveComponentFactory(t){throw function(e){const t=Error(`No component factory found for ${J(e)}. Did you add it to @NgModule.entryComponents?`);return t.ngComponent=e,t}(t)}}let Zr=(()=>{class e{}return e.NULL=new MI,e})();function AI(){return Jr(_e(),D())}function Jr(e,t){return new Pn(vt(e,t))}let Pn=(()=>{class e{constructor(n){this.nativeElement=n}}return e.__NG_ELEMENT_ID__=AI,e})();class sm{}let NI=(()=>{class e{}return e.\u0275prov=k({token:e,providedIn:"root",factory:()=>null}),e})();class Es{constructor(t){this.full=t,this.major=t.split(".")[0],this.minor=t.split(".")[1],this.patch=t.split(".").slice(2).join(".")}}const FI=new Es("13.0.3"),Il={};function bs(e,t,n,r,i=!1){for(;null!==n;){const o=t[n.index];if(null!==o&&r.push(ge(o)),At(o))for(let a=10;a<o.length;a++){const u=o[a],l=u[1].firstChild;null!==l&&bs(u[1],u,l,r)}const s=n.type;if(8&s)bs(e,t,n.child,r);else if(32&s){const a=Cu(n,t);let u;for(;u=a();)r.push(u)}else if(16&s){const a=mh(t,n);if(Array.isArray(a))r.push(...a);else{const u=Fi(t[16]);bs(u[1],u,a,r,!0)}}n=i?n.projectionNext:n.next}return r}class qi{constructor(t,n){this._lView=t,this._cdRefInjectingView=n,this._appRef=null,this._attachedToViewContainer=!1}get rootNodes(){const t=this._lView,n=t[1];return bs(n,t,n.firstChild,[])}get context(){return this._lView[8]}set context(t){this._lView[8]=t}get destroyed(){return 256==(256&this._lView[2])}destroy(){if(this._appRef)this._appRef.detachView(this);else if(this._attachedToViewContainer){const t=this._lView[3];if(At(t)){const n=t[8],r=n?n.indexOf(this):-1;r>-1&&(Su(t,r),Wo(n,r))}this._attachedToViewContainer=!1}ah(this._lView[1],this._lView)}onDestroy(t){!function(e,t,n,r){const i=Yh(t);null===n?i.push(r):(i.push(n),e.firstCreatePass&&Xh(e).push(r,i.length-1))}(this._lView[1],this._lView,null,t)}markForCheck(){Zu(this._cdRefInjectingView||this._lView)}detach(){this._lView[2]&=-129}reattach(){this._lView[2]|=128}detectChanges(){Ku(this._lView[1],this._lView,this.context)}checkNoChanges(){!function(e,t,n){Oo(!0);try{Ku(e,t,n)}finally{Oo(!1)}}(this._lView[1],this._lView,this.context)}attachToViewContainerRef(){if(this._appRef)throw new Error("This view is already attached directly to the ApplicationRef!");this._attachedToViewContainer=!0}detachFromAppRef(){var t;this._appRef=null,Oi(this._lView[1],t=this._lView,t[j],2,null,null)}attachToAppRef(t){if(this._attachedToViewContainer)throw new Error("This view is already attached to a ViewContainer!");this._appRef=t}}class OI extends qi{constructor(t){super(t),this._view=t}detectChanges(){Kh(this._view)}checkNoChanges(){!function(e){Oo(!0);try{Kh(e)}finally{Oo(!1)}}(this._view)}get context(){return null}}class am extends Zr{constructor(t){super(),this.ngModule=t}resolveComponentFactory(t){const n=Oe(t);return new Sl(n,this.ngModule)}}function um(e){const t=[];for(let n in e)e.hasOwnProperty(n)&&t.push({propName:e[n],templateName:n});return t}const LI=new z("SCHEDULER_TOKEN",{providedIn:"root",factory:()=>Xf});class Sl extends im{constructor(t,n){super(),this.componentDef=t,this.ngModule=n,this.componentType=t.type,this.selector=t.selectors.map(Zw).join(","),this.ngContentSelectors=t.ngContentSelectors?t.ngContentSelectors:[],this.isBoundToModule=!!n}get inputs(){return um(this.componentDef.inputs)}get outputs(){return um(this.componentDef.outputs)}create(t,n,r,i){const o=(i=i||this.ngModule)?function(e,t){return{get:(n,r,i)=>{const o=e.get(n,Il,i);return o!==Il||r===Il?o:t.get(n,r,i)}}}(t,i.injector):t,s=o.get(sm,Jd),a=o.get(NI,null),u=s.createRenderer(null,this.componentDef),l=this.componentDef.selectors[0][0]||"div",c=r?function(e,t,n){if(le(e))return e.selectRootElement(t,n===Vt.ShadowDom);let r="string"==typeof t?e.querySelector(t):t;return r.textContent="",r}(u,r,this.componentDef.encapsulation):Iu(s.createRenderer(null,this.componentDef),l,function(e){const t=e.toLowerCase();return"svg"===t?"http://www.w3.org/2000/svg":"math"===t?"http://www.w3.org/1998/MathML/":null}(l)),d=this.componentDef.onPush?576:528,f=function(e,t){return{components:[],scheduler:e||Xf,clean:kE,playerHandler:t||null,flags:0}}(),h=as(0,null,null,1,0,null,null,null,null,null),p=ki(null,h,f,d,null,null,s,u,a,o);let m,y;ko(p);try{const v=function(e,t,n,r,i,o){const s=n[1];n[20]=e;const u=Mr(s,20,2,"#host",null),l=u.mergedAttrs=t.hostAttrs;null!==l&&(ls(u,l,!0),null!==e&&(Vo(i,e,l),null!==u.classes&&Ru(i,e,u.classes),null!==u.styles&&Dh(i,e,u.styles)));const c=r.createRenderer(e,t),d=ki(n,jh(t),null,t.onPush?64:16,n[20],u,r,c,o||null,null);return s.firstCreatePass&&(Go(vi(u,n),s,t.type),Wh(s,u),Qh(u,n.length,1)),us(n,d),n[20]=d}(c,this.componentDef,p,s,u);if(c)if(r)Vo(u,c,["ng-version",FI.full]);else{const{attrs:g,classes:b}=function(e){const t=[],n=[];let r=1,i=2;for(;r<e.length;){let o=e[r];if("string"==typeof o)2===i?""!==o&&t.push(o,e[++r]):8===i&&n.push(o);else{if(!Rt(i))break;i=o}r++}return{attrs:t,classes:n}}(this.componentDef.selectors[0]);g&&Vo(u,c,g),b&&b.length>0&&Ru(u,c,b.join(" "))}if(y=Ua(h,20),void 0!==n){const g=y.projection=[];for(let b=0;b<this.ngContentSelectors.length;b++){const M=n[b];g.push(null!=M?Array.from(M):null)}}m=function(e,t,n,r,i){const o=n[1],s=function(e,t,n){const r=_e();e.firstCreatePass&&(n.providersResolver&&n.providersResolver(n),Zh(e,r,t,Ar(e,t,1,null),n));const i=Di(t,e,r.directiveStart,r);Le(i,t);const o=vt(r,t);return o&&Le(o,t),i}(o,n,t);if(r.components.push(s),e[8]=s,i&&i.forEach(u=>u(s,t)),t.contentQueries){const u=_e();t.contentQueries(1,s,u.directiveStart)}const a=_e();return!o.firstCreatePass||null===t.hostBindings&&null===t.hostAttrs||(Tn(a.index),Gh(n[1],a,0,a.directiveStart,a.directiveEnd,t),qh(t,s)),s}(v,this.componentDef,p,f,[nb]),Li(h,p,null)}finally{Lo()}return new HI(this.componentType,m,Jr(y,p),p,y)}}class HI extends class{}{constructor(t,n,r,i,o){super(),this.location=r,this._rootLView=i,this._tNode=o,this.instance=n,this.hostView=this.changeDetectorRef=new OI(i),this.componentType=t}get injector(){return new mr(this._tNode,this._rootLView)}destroy(){this.hostView.destroy()}onDestroy(t){this.hostView.onDestroy(t)}}class gn{}class lm{}const Kr=new Map;class fm extends gn{constructor(t,n){super(),this._parent=n,this._bootstrapComponents=[],this.injector=this,this.destroyCbs=[],this.componentFactoryResolver=new am(this);const r=gt(t);this._bootstrapComponents=Qt(r.bootstrap),this._r3Injector=sp(t,n,[{provide:gn,useValue:this},{provide:Zr,useValue:this.componentFactoryResolver}],J(t)),this._r3Injector._resolveInjectorDefTypes(),this.instance=this.get(t)}get(t,n=Be.THROW_IF_NOT_FOUND,r=F.Default){return t===Be||t===gn||t===Xu?this:this._r3Injector.get(t,n,r)}destroy(){const t=this._r3Injector;!t.destroyed&&t.destroy(),this.destroyCbs.forEach(n=>n()),this.destroyCbs=null}onDestroy(t){this.destroyCbs.push(t)}}class Tl extends lm{constructor(t){super(),this.moduleType=t,null!==gt(t)&&function(e){const t=new Set;!function n(r){const i=gt(r,!0),o=i.id;null!==o&&(function(e,t,n){if(t&&t!==n)throw new Error(`Duplicate module registered for ${e} - ${J(t)} vs ${J(t.name)}`)}(o,Kr.get(o),r),Kr.set(o,r));const s=Qt(i.imports);for(const a of s)t.has(a)||(t.add(a),n(a))}(e)}(t)}create(t){return new fm(this.moduleType,t)}}function hm(e,t,n,r){return function(e,t,n,r,i,o){const s=t+n;return je(e,s,i)?Jt(e,s+1,o?r.call(o,i):r(i)):Wi(e,s+1)}(D(),$e(),e,t,n,r)}function Wi(e,t){const n=e[t];return n===N?void 0:n}function Is(e,t){const n=K();let r;const i=e+20;n.firstCreatePass?(r=function(e,t){if(t)for(let n=t.length-1;n>=0;n--){const r=t[n];if(e===r.name)return r}}(t,n.pipeRegistry),n.data[i]=r,r.onDestroy&&(n.destroyHooks||(n.destroyHooks=[])).push(i,r.onDestroy)):r=n.data[i];const o=r.factory||(r.factory=Wn(r.type)),s=wn(I);try{const a=$o(!1),u=o();return $o(a),function(e,t,n,r){n>=e.data.length&&(e.data[n]=null,e.blueprint[n]=null),t[n]=r}(n,D(),i,u),u}finally{wn(s)}}function Ss(e,t,n,r){const i=e+20,o=D(),s=fr(o,i);return function(e,t){return e[1].data[t].pure}(o,i)?function(e,t,n,r,i,o,s){const a=t+n;return Jn(e,a,i,o)?Jt(e,a+2,s?r.call(s,i,o):r(i,o)):Wi(e,a+2)}(o,$e(),t,s.transform,n,r,s):s.transform(n,r)}function Ml(e){return t=>{setTimeout(e,void 0,t)}}const se=class extends nn{constructor(t=!1){super(),this.__isAsync=t}emit(t){super.next(t)}subscribe(t,n,r){var u,l,c;let i=t,o=n||(()=>null),s=r;if(t&&"object"==typeof t){const d=t;i=null==(u=d.next)?void 0:u.bind(d),o=null==(l=d.error)?void 0:l.bind(d),s=null==(c=d.complete)?void 0:c.bind(d)}this.__isAsync&&(o=Ml(o),i&&(i=Ml(i)),s&&(s=Ml(s)));const a=super.subscribe({next:i,error:o,complete:s});return t instanceof ht&&t.add(a),a}};Symbol;let mn=(()=>{class e{}return e.__NG_ELEMENT_ID__=aS,e})();const oS=mn,sS=class extends oS{constructor(t,n,r){super(),this._declarationLView=t,this._declarationTContainer=n,this.elementRef=r}createEmbeddedView(t){const n=this._declarationTContainer.tViews,r=ki(this._declarationLView,n,t,16,null,n.declTNode,null,null,null,null);r[17]=this._declarationLView[this._declarationTContainer.index];const o=this._declarationLView[19];return null!==o&&(r[19]=o.createEmbeddedView(n)),Li(n,r,t),new qi(r)}};function aS(){return e=_e(),t=D(),4&e.type?new sS(t,e,Jr(e,t)):null;var e,t}let kt=(()=>{class e{}return e.__NG_ELEMENT_ID__=uS,e})();function uS(){return function(e,t){let n;const r=t[e.index];if(At(r))n=r;else{let i;if(8&e.type)i=ge(r);else{const o=t[j];i=o.createComment("");const s=vt(e,t);Zn(o,ts(o,s),i,function(e,t){return le(e)?e.nextSibling(t):t.nextSibling}(o,s),!1)}t[e.index]=n=Jh(r,t,i,e),us(t,n)}return new Dm(n,e,t)}(_e(),D())}const lS=kt,Dm=class extends lS{constructor(t,n,r){super(),this._lContainer=t,this._hostTNode=n,this._hostLView=r}get element(){return Jr(this._hostTNode,this._hostLView)}get injector(){return new mr(this._hostTNode,this._hostLView)}get parentInjector(){const t=zo(this._hostTNode,this._hostLView);if(hf(t)){const n=gr(t,this._hostLView),r=pr(t);return new mr(n[1].data[r+8],n)}return new mr(null,this._hostLView)}clear(){for(;this.length>0;)this.remove(this.length-1)}get(t){const n=_m(this._lContainer);return null!==n&&n[t]||null}get length(){return this._lContainer.length-10}createEmbeddedView(t,n,r){const i=t.createEmbeddedView(n||{});return this.insert(i,r),i}createComponent(t,n,r,i,o){const s=t&&!("function"==typeof t);let a;if(s)a=n;else{const d=n||{};a=d.index,r=d.injector,i=d.projectableNodes,o=d.ngModuleRef}const u=s?t:new Sl(Oe(t)),l=r||this.parentInjector;if(!o&&null==u.ngModule&&l){const d=l.get(gn,null);d&&(o=d)}const c=u.create(l,i,void 0,o);return this.insert(c.hostView,a),c}insert(t,n){const r=t._lView,i=r[1];if(At(r[3])){const c=this.indexOf(t);if(-1!==c)this.detach(c);else{const d=r[3],f=new Dm(d,d[6],d[3]);f.detach(f.indexOf(t))}}const o=this._adjustIndex(n),s=this._lContainer;!function(e,t,n,r){const i=10+r,o=n.length;r>0&&(n[i-1][4]=t),r<o-10?(t[4]=n[i],Ef(n,10+r,t)):(n.push(t),t[4]=null),t[3]=n;const s=t[17];null!==s&&n!==s&&function(e,t){const n=e[9];t[16]!==t[3][3][16]&&(e[2]=!0),null===n?e[9]=[t]:n.push(t)}(s,t);const a=t[19];null!==a&&a.insertView(e),t[2]|=128}(i,r,s,o);const a=Au(o,s),u=r[j],l=ts(u,s[7]);return null!==l&&function(e,t,n,r,i,o){r[0]=i,r[6]=t,Oi(e,r,n,1,i,o)}(i,s[6],u,r,l,a),t.attachToViewContainerRef(),Ef(xl(s),o,t),t}move(t,n){return this.insert(t,n)}indexOf(t){const n=_m(this._lContainer);return null!==n?n.indexOf(t):-1}remove(t){const n=this._adjustIndex(t,-1),r=Su(this._lContainer,n);r&&(Wo(xl(this._lContainer),n),ah(r[1],r))}detach(t){const n=this._adjustIndex(t,-1),r=Su(this._lContainer,n);return r&&null!=Wo(xl(this._lContainer),n)?new qi(r):null}_adjustIndex(t,n=0){return null==t?this.length+n:t}};function _m(e){return e[8]}function xl(e){return e[8]||(e[8]=[])}const wt=wf("Input",e=>({bindingPropertyName:e})),xs=wf("Output",e=>({bindingPropertyName:e}));function Rs(...e){}const Ps=new z("Application Initializer");let Xr=(()=>{class e{constructor(n){this.appInits=n,this.resolve=Rs,this.reject=Rs,this.initialized=!1,this.done=!1,this.donePromise=new Promise((r,i)=>{this.resolve=r,this.reject=i})}runInitializers(){if(this.initialized)return;const n=[],r=()=>{this.done=!0,this.resolve()};if(this.appInits)for(let i=0;i<this.appInits.length;i++){const o=this.appInits[i]();if(hs(o))n.push(o);else if(Up(o)){const s=new Promise((a,u)=>{o.subscribe({complete:a,error:u})});n.push(s)}}Promise.all(n).then(()=>{r()}).catch(i=>{this.reject(i)}),0===n.length&&r(),this.initialized=!0}}return e.\u0275fac=function(n){return new(n||e)(S(Ps,8))},e.\u0275prov=k({token:e,factory:e.\u0275fac}),e})();const Ji=new z("AppId"),BS={provide:Ji,useFactory:function(){return`${zl()}${zl()}${zl()}`},deps:[]};function zl(){return String.fromCharCode(97+Math.floor(25*Math.random()))}const zm=new z("Platform Initializer"),Ns=new z("Platform ID"),Gm=new z("appBootstrapListener");let qm=(()=>{class e{log(n){console.log(n)}warn(n){console.warn(n)}}return e.\u0275fac=function(n){return new(n||e)},e.\u0275prov=k({token:e,factory:e.\u0275fac}),e})();const Nn=new z("LocaleId"),Wm=new z("DefaultCurrencyCode");class jS{constructor(t,n){this.ngModuleFactory=t,this.componentFactories=n}}let Fs=(()=>{class e{compileModuleSync(n){return new Tl(n)}compileModuleAsync(n){return Promise.resolve(this.compileModuleSync(n))}compileModuleAndAllComponentsSync(n){const r=this.compileModuleSync(n),o=Qt(gt(n).declarations).reduce((s,a)=>{const u=Oe(a);return u&&s.push(new Sl(u)),s},[]);return new jS(r,o)}compileModuleAndAllComponentsAsync(n){return Promise.resolve(this.compileModuleAndAllComponentsSync(n))}clearCache(){}clearCacheFor(n){}getModuleId(n){}}return e.\u0275fac=function(n){return new(n||e)},e.\u0275prov=k({token:e,factory:e.\u0275fac}),e})();const VS=(()=>Promise.resolve(0))();function Gl(e){"undefined"==typeof Zone?VS.then(()=>{e&&e.apply(null,null)}):Zone.current.scheduleMicroTask("scheduleMicrotask",e)}class Ee{constructor({enableLongStackTrace:t=!1,shouldCoalesceEventChangeDetection:n=!1,shouldCoalesceRunChangeDetection:r=!1}){if(this.hasPendingMacrotasks=!1,this.hasPendingMicrotasks=!1,this.isStable=!0,this.onUnstable=new se(!1),this.onMicrotaskEmpty=new se(!1),this.onStable=new se(!1),this.onError=new se(!1),"undefined"==typeof Zone)throw new Error("In this configuration Angular requires Zone.js");Zone.assertZonePatched();const i=this;i._nesting=0,i._outer=i._inner=Zone.current,Zone.TaskTrackingZoneSpec&&(i._inner=i._inner.fork(new Zone.TaskTrackingZoneSpec)),t&&Zone.longStackTraceZoneSpec&&(i._inner=i._inner.fork(Zone.longStackTraceZoneSpec)),i.shouldCoalesceEventChangeDetection=!r&&n,i.shouldCoalesceRunChangeDetection=r,i.lastRequestAnimationFrameId=-1,i.nativeRequestAnimationFrame=function(){let e=Y.requestAnimationFrame,t=Y.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=()=>{!function(e){e.isCheckStableRunning||-1!==e.lastRequestAnimationFrameId||(e.lastRequestAnimationFrameId=e.nativeRequestAnimationFrame.call(Y,()=>{e.fakeTopEventTask||(e.fakeTopEventTask=Zone.root.scheduleEventTask("fakeTopEventTask",()=>{e.lastRequestAnimationFrameId=-1,Wl(e),e.isCheckStableRunning=!0,ql(e),e.isCheckStableRunning=!1},void 0,()=>{},()=>{})),e.fakeTopEventTask.invoke()}),Wl(e))}(e)};e._inner=e._inner.fork({name:"angular",properties:{isAngularZone:!0},onInvokeTask:(n,r,i,o,s,a)=>{try{return Qm(e),n.invokeTask(i,o,s,a)}finally{(e.shouldCoalesceEventChangeDetection&&"eventTask"===o.type||e.shouldCoalesceRunChangeDetection)&&t(),Zm(e)}},onInvoke:(n,r,i,o,s,a,u)=>{try{return Qm(e),n.invoke(i,o,s,a,u)}finally{e.shouldCoalesceRunChangeDetection&&t(),Zm(e)}},onHasTask:(n,r,i,o)=>{n.hasTask(i,o),r===i&&("microTask"==o.change?(e._hasPendingMicrotasks=o.microTask,Wl(e),ql(e)):"macroTask"==o.change&&(e.hasPendingMacrotasks=o.macroTask))},onHandleError:(n,r,i,o)=>(n.handleError(i,o),e.runOutsideAngular(()=>e.onError.emit(o)),!1)})}(i)}static isInAngularZone(){return!0===Zone.current.get("isAngularZone")}static assertInAngularZone(){if(!Ee.isInAngularZone())throw new Error("Expected to be in Angular Zone, but it is not!")}static assertNotInAngularZone(){if(Ee.isInAngularZone())throw new Error("Expected to not be in Angular Zone, but it is!")}run(t,n,r){return this._inner.run(t,n,r)}runTask(t,n,r,i){const o=this._inner,s=o.scheduleEventTask("NgZoneEvent: "+i,t,$S,Rs,Rs);try{return o.runTask(s,n,r)}finally{o.cancelTask(s)}}runGuarded(t,n,r){return this._inner.runGuarded(t,n,r)}runOutsideAngular(t){return this._outer.run(t)}}const $S={};function ql(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 Wl(e){e.hasPendingMicrotasks=!!(e._hasPendingMicrotasks||(e.shouldCoalesceEventChangeDetection||e.shouldCoalesceRunChangeDetection)&&-1!==e.lastRequestAnimationFrameId)}function Qm(e){e._nesting++,e.isStable&&(e.isStable=!1,e.onUnstable.emit(null))}function Zm(e){e._nesting--,ql(e)}class qS{constructor(){this.hasPendingMicrotasks=!1,this.hasPendingMacrotasks=!1,this.isStable=!0,this.onUnstable=new se,this.onMicrotaskEmpty=new se,this.onStable=new se,this.onError=new se}run(t,n,r){return t.apply(n,r)}runGuarded(t,n,r){return t.apply(n,r)}runOutsideAngular(t){return t()}runTask(t,n,r,i){return t.apply(n,r)}}let Ql=(()=>{class e{constructor(n){this._ngZone=n,this._pendingCount=0,this._isZoneStable=!0,this._didWork=!1,this._callbacks=[],this.taskTrackingZone=null,this._watchAngularEvents(),n.run(()=>{this.taskTrackingZone="undefined"==typeof Zone?null:Zone.current.get("TaskTrackingZone")})}_watchAngularEvents(){this._ngZone.onUnstable.subscribe({next:()=>{this._didWork=!0,this._isZoneStable=!1}}),this._ngZone.runOutsideAngular(()=>{this._ngZone.onStable.subscribe({next:()=>{Ee.assertNotInAngularZone(),Gl(()=>{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())Gl(()=>{for(;0!==this._callbacks.length;){let n=this._callbacks.pop();clearTimeout(n.timeoutId),n.doneCb(this._didWork)}this._didWork=!1});else{let n=this.getPendingTasks();this._callbacks=this._callbacks.filter(r=>!r.updateCb||!r.updateCb(n)||(clearTimeout(r.timeoutId),!1)),this._didWork=!0}}getPendingTasks(){return this.taskTrackingZone?this.taskTrackingZone.macroTasks.map(n=>({source:n.source,creationLocation:n.creationLocation,data:n.data})):[]}addCallback(n,r,i){let o=-1;r&&r>0&&(o=setTimeout(()=>{this._callbacks=this._callbacks.filter(s=>s.timeoutId!==o),n(this._didWork,this.getPendingTasks())},r)),this._callbacks.push({doneCb:n,timeoutId:o,updateCb:i})}whenStable(n,r,i){if(i&&!this.taskTrackingZone)throw new Error('Task tracking zone is required when passing an update callback to whenStable(). Is "zone.js/plugins/task-tracking" loaded?');this.addCallback(n,r,i),this._runCallbacksIfReady()}getPendingRequestCount(){return this._pendingCount}findProviders(n,r,i){return[]}}return e.\u0275fac=function(n){return new(n||e)(S(Ee))},e.\u0275prov=k({token:e,factory:e.\u0275fac}),e})(),Jm=(()=>{class e{constructor(){this._applications=new Map,Zl.addToWindow(this)}registerApplication(n,r){this._applications.set(n,r)}unregisterApplication(n){this._applications.delete(n)}unregisterAllApplications(){this._applications.clear()}getTestability(n){return this._applications.get(n)||null}getAllTestabilities(){return Array.from(this._applications.values())}getAllRootElements(){return Array.from(this._applications.keys())}findTestabilityInTree(n,r=!0){return Zl.findTestabilityInTree(this,n,r)}}return e.\u0275fac=function(n){return new(n||e)},e.\u0275prov=k({token:e,factory:e.\u0275fac}),e})();class WS{addToWindow(t){}findTestabilityInTree(t,n,r){return null}}let Lt,Zl=new WS;const Km=new z("AllowMultipleToken");class Ym{constructor(t,n){this.name=t,this.token=n}}function Xm(e,t,n=[]){const r=`Platform: ${t}`,i=new z(r);return(o=[])=>{let s=ey();if(!s||s.injector.get(Km,!1))if(e)e(n.concat(o).concat({provide:i,useValue:!0}));else{const a=n.concat(o).concat({provide:i,useValue:!0},{provide:el,useValue:"platform"});!function(e){if(Lt&&!Lt.destroyed&&!Lt.injector.get(Km,!1))throw new tt("400","");Lt=e.get(ty);const t=e.get(zm,null);t&&t.forEach(n=>n())}(Be.create({providers:a,name:r}))}return function(e){const t=ey();if(!t)throw new tt("401","");return t}()}}function ey(){return Lt&&!Lt.destroyed?Lt:null}let ty=(()=>{class e{constructor(n){this._injector=n,this._modules=[],this._destroyListeners=[],this._destroyed=!1}bootstrapModuleFactory(n,r){const a=function(e,t){let n;return n="noop"===e?new qS:("zone.js"===e?void 0:e)||new Ee({enableLongStackTrace:!1,shouldCoalesceEventChangeDetection:!!(null==t?void 0:t.ngZoneEventCoalescing),shouldCoalesceRunChangeDetection:!!(null==t?void 0:t.ngZoneRunCoalescing)}),n}(r?r.ngZone:void 0,{ngZoneEventCoalescing:r&&r.ngZoneEventCoalescing||!1,ngZoneRunCoalescing:r&&r.ngZoneRunCoalescing||!1}),u=[{provide:Ee,useValue:a}];return a.run(()=>{const l=Be.create({providers:u,parent:this.injector,name:n.moduleType.name}),c=n.create(l),d=c.injector.get(Ir,null);if(!d)throw new tt("402","");return a.runOutsideAngular(()=>{const f=a.onError.subscribe({next:h=>{d.handleError(h)}});c.onDestroy(()=>{Jl(this._modules,c),f.unsubscribe()})}),function(e,t,n){try{const r=n();return hs(r)?r.catch(i=>{throw t.runOutsideAngular(()=>e.handleError(i)),i}):r}catch(r){throw t.runOutsideAngular(()=>e.handleError(r)),r}}(d,a,()=>{const f=c.injector.get(Xr);return f.runInitializers(),f.donePromise.then(()=>(function(e){rt(e,"Expected localeId to be defined"),"string"==typeof e&&(Ng=e.toLowerCase().replace(/_/g,"-"))}(c.injector.get(Nn,ys)||ys),this._moduleDoBootstrap(c),c))})})}bootstrapModule(n,r=[]){const i=ny({},r);return function(e,t,n){const r=new Tl(n);return Promise.resolve(r)}(0,0,n).then(o=>this.bootstrapModuleFactory(o,i))}_moduleDoBootstrap(n){const r=n.injector.get(Ki);if(n._bootstrapComponents.length>0)n._bootstrapComponents.forEach(i=>r.bootstrap(i));else{if(!n.instance.ngDoBootstrap)throw new tt("403","");n.instance.ngDoBootstrap(r)}this._modules.push(n)}onDestroy(n){this._destroyListeners.push(n)}get injector(){return this._injector}destroy(){if(this._destroyed)throw new tt("404","");this._modules.slice().forEach(n=>n.destroy()),this._destroyListeners.forEach(n=>n()),this._destroyed=!0}get destroyed(){return this._destroyed}}return e.\u0275fac=function(n){return new(n||e)(S(Be))},e.\u0275prov=k({token:e,factory:e.\u0275fac}),e})();function ny(e,t){return Array.isArray(t)?t.reduce(ny,e):x(x({},e),t)}let Ki=(()=>{class e{constructor(n,r,i,o,s){this._zone=n,this._injector=r,this._exceptionHandler=i,this._componentFactoryResolver=o,this._initStatus=s,this._bootstrapListeners=[],this._views=[],this._runningTick=!1,this._stable=!0,this.componentTypes=[],this.components=[],this._onMicrotaskEmptySubscription=this._zone.onMicrotaskEmpty.subscribe({next:()=>{this._zone.run(()=>{this.tick()})}});const a=new ae(l=>{this._stable=this._zone.isStable&&!this._zone.hasPendingMacrotasks&&!this._zone.hasPendingMicrotasks,this._zone.runOutsideAngular(()=>{l.next(this._stable),l.complete()})}),u=new ae(l=>{let c;this._zone.runOutsideAngular(()=>{c=this._zone.onStable.subscribe(()=>{Ee.assertNotInAngularZone(),Gl(()=>{!this._stable&&!this._zone.hasPendingMacrotasks&&!this._zone.hasPendingMicrotasks&&(this._stable=!0,l.next(!0))})})});const d=this._zone.onUnstable.subscribe(()=>{Ee.assertInAngularZone(),this._stable&&(this._stable=!1,this._zone.runOutsideAngular(()=>{l.next(!1)}))});return()=>{c.unsubscribe(),d.unsubscribe()}});this.isStable=function(...e){const t=ci(e),n=function(e,t){return"number"==typeof ba(e)?e.pop():1/0}(e),r=e;return r.length?1===r.length?rn(r[0]):li(n)(Re(r,t)):sn}(a,u.pipe(function(e={}){const{connector:t=(()=>new nn),resetOnError:n=!0,resetOnComplete:r=!0,resetOnRefCountZero:i=!0}=e;return o=>{let s=null,a=null,u=null,l=0,c=!1,d=!1;const f=()=>{null==a||a.unsubscribe(),a=null},h=()=>{f(),s=u=null,c=d=!1},p=()=>{const m=s;h(),null==m||m.unsubscribe()};return Ae((m,y)=>{l++,!d&&!c&&f();const v=u=null!=u?u:t();y.add(()=>{l--,0===l&&!d&&!c&&(a=Ia(p,i))}),v.subscribe(y),s||(s=new Da({next:g=>v.next(g),error:g=>{d=!0,f(),a=Ia(h,n,g),v.error(g)},complete:()=>{c=!0,f(),a=Ia(h,r),v.complete()}}),Re(m).subscribe(s))})(o)}}()))}bootstrap(n,r){if(!this._initStatus.done)throw new tt("405","");let i;i=n instanceof im?n:this._componentFactoryResolver.resolveComponentFactory(n),this.componentTypes.push(i.componentType);const o=function(e){return e.isBoundToModule}(i)?void 0:this._injector.get(gn),a=i.create(Be.NULL,[],r||i.selector,o),u=a.location.nativeElement,l=a.injector.get(Ql,null),c=l&&a.injector.get(Jm);return l&&c&&c.registerApplication(u,l),a.onDestroy(()=>{this.detachView(a.hostView),Jl(this.components,a),c&&c.unregisterApplication(u)}),this._loadComponent(a),a}tick(){if(this._runningTick)throw new tt("101","");try{this._runningTick=!0;for(let n of this._views)n.detectChanges()}catch(n){this._zone.runOutsideAngular(()=>this._exceptionHandler.handleError(n))}finally{this._runningTick=!1}}attachView(n){const r=n;this._views.push(r),r.attachToAppRef(this)}detachView(n){const r=n;Jl(this._views,r),r.detachFromAppRef()}_loadComponent(n){this.attachView(n.hostView),this.tick(),this.components.push(n),this._injector.get(Gm,[]).concat(this._bootstrapListeners).forEach(i=>i(n))}ngOnDestroy(){this._views.slice().forEach(n=>n.destroy()),this._onMicrotaskEmptySubscription.unsubscribe()}get viewCount(){return this._views.length}}return e.\u0275fac=function(n){return new(n||e)(S(Ee),S(Be),S(Ir),S(Zr),S(Xr))},e.\u0275prov=k({token:e,factory:e.\u0275fac}),e})();function Jl(e,t){const n=e.indexOf(t);n>-1&&e.splice(n,1)}let iy=!0,Yi=(()=>{class e{}return e.__NG_ELEMENT_ID__=iT,e})();function iT(e){return function(e,t,n){if(Ro(e)&&!n){const r=ot(e.index,t);return new qi(r,r)}return 47&e.type?new qi(t[16],t):null}(_e(),D(),16==(16&e))}class dy{constructor(){}supports(t){return ji(t)}create(t){return new dT(t)}}const cT=(e,t)=>t;class dT{constructor(t){this.length=0,this._linkedRecords=null,this._unlinkedRecords=null,this._previousItHead=null,this._itHead=null,this._itTail=null,this._additionsHead=null,this._additionsTail=null,this._movesHead=null,this._movesTail=null,this._removalsHead=null,this._removalsTail=null,this._identityChangesHead=null,this._identityChangesTail=null,this._trackByFn=t||cT}forEachItem(t){let n;for(n=this._itHead;null!==n;n=n._next)t(n)}forEachOperation(t){let n=this._itHead,r=this._removalsHead,i=0,o=null;for(;n||r;){const s=!r||n&&n.currentIndex<hy(r,i,o)?n:r,a=hy(s,i,o),u=s.currentIndex;if(s===r)i--,r=r._nextRemoved;else if(n=n._next,null==s.previousIndex)i++;else{o||(o=[]);const l=a-i,c=u-i;if(l!=c){for(let f=0;f<l;f++){const h=f<o.length?o[f]:o[f]=0,p=h+f;c<=p&&p<l&&(o[f]=h+1)}o[s.previousIndex]=c-l}}a!==u&&t(s,a,u)}}forEachPreviousItem(t){let n;for(n=this._previousItHead;null!==n;n=n._nextPrevious)t(n)}forEachAddedItem(t){let n;for(n=this._additionsHead;null!==n;n=n._nextAdded)t(n)}forEachMovedItem(t){let n;for(n=this._movesHead;null!==n;n=n._nextMoved)t(n)}forEachRemovedItem(t){let n;for(n=this._removalsHead;null!==n;n=n._nextRemoved)t(n)}forEachIdentityChange(t){let n;for(n=this._identityChangesHead;null!==n;n=n._nextIdentityChange)t(n)}diff(t){if(null==t&&(t=[]),!ji(t))throw new Error(`Error trying to diff '${J(t)}'. Only arrays and iterables are allowed`);return this.check(t)?this:null}onDestroy(){}check(t){this._reset();let i,o,s,n=this._itHead,r=!1;if(Array.isArray(t)){this.length=t.length;for(let a=0;a<this.length;a++)o=t[a],s=this._trackByFn(a,o),null!==n&&Object.is(n.trackById,s)?(r&&(n=this._verifyReinsertion(n,o,s,a)),Object.is(n.item,o)||this._addIdentityChange(n,o)):(n=this._mismatch(n,o,s,a),r=!0),n=n._next}else i=0,function(e,t){if(Array.isArray(e))for(let n=0;n<e.length;n++)t(e[n]);else{const n=e[Nr()]();let r;for(;!(r=n.next()).done;)t(r.value)}}(t,a=>{s=this._trackByFn(i,a),null!==n&&Object.is(n.trackById,s)?(r&&(n=this._verifyReinsertion(n,a,s,i)),Object.is(n.item,a)||this._addIdentityChange(n,a)):(n=this._mismatch(n,a,s,i),r=!0),n=n._next,i++}),this.length=i;return this._truncate(n),this.collection=t,this.isDirty}get isDirty(){return null!==this._additionsHead||null!==this._movesHead||null!==this._removalsHead||null!==this._identityChangesHead}_reset(){if(this.isDirty){let t;for(t=this._previousItHead=this._itHead;null!==t;t=t._next)t._nextPrevious=t._next;for(t=this._additionsHead;null!==t;t=t._nextAdded)t.previousIndex=t.currentIndex;for(this._additionsHead=this._additionsTail=null,t=this._movesHead;null!==t;t=t._nextMoved)t.previousIndex=t.currentIndex;this._movesHead=this._movesTail=null,this._removalsHead=this._removalsTail=null,this._identityChangesHead=this._identityChangesTail=null}}_mismatch(t,n,r,i){let o;return null===t?o=this._itTail:(o=t._prev,this._remove(t)),null!==(t=null===this._unlinkedRecords?null:this._unlinkedRecords.get(r,null))?(Object.is(t.item,n)||this._addIdentityChange(t,n),this._reinsertAfter(t,o,i)):null!==(t=null===this._linkedRecords?null:this._linkedRecords.get(r,i))?(Object.is(t.item,n)||this._addIdentityChange(t,n),this._moveAfter(t,o,i)):t=this._addAfter(new fT(n,r),o,i),t}_verifyReinsertion(t,n,r,i){let o=null===this._unlinkedRecords?null:this._unlinkedRecords.get(r,null);return null!==o?t=this._reinsertAfter(o,t._prev,i):t.currentIndex!=i&&(t.currentIndex=i,this._addToMoves(t,i)),t}_truncate(t){for(;null!==t;){const n=t._next;this._addToRemovals(this._unlink(t)),t=n}null!==this._unlinkedRecords&&this._unlinkedRecords.clear(),null!==this._additionsTail&&(this._additionsTail._nextAdded=null),null!==this._movesTail&&(this._movesTail._nextMoved=null),null!==this._itTail&&(this._itTail._next=null),null!==this._removalsTail&&(this._removalsTail._nextRemoved=null),null!==this._identityChangesTail&&(this._identityChangesTail._nextIdentityChange=null)}_reinsertAfter(t,n,r){null!==this._unlinkedRecords&&this._unlinkedRecords.remove(t);const i=t._prevRemoved,o=t._nextRemoved;return null===i?this._removalsHead=o:i._nextRemoved=o,null===o?this._removalsTail=i:o._prevRemoved=i,this._insertAfter(t,n,r),this._addToMoves(t,r),t}_moveAfter(t,n,r){return this._unlink(t),this._insertAfter(t,n,r),this._addToMoves(t,r),t}_addAfter(t,n,r){return this._insertAfter(t,n,r),this._additionsTail=null===this._additionsTail?this._additionsHead=t:this._additionsTail._nextAdded=t,t}_insertAfter(t,n,r){const i=null===n?this._itHead:n._next;return t._next=i,t._prev=n,null===i?this._itTail=t:i._prev=t,null===n?this._itHead=t:n._next=t,null===this._linkedRecords&&(this._linkedRecords=new fy),this._linkedRecords.put(t),t.currentIndex=r,t}_remove(t){return this._addToRemovals(this._unlink(t))}_unlink(t){null!==this._linkedRecords&&this._linkedRecords.remove(t);const n=t._prev,r=t._next;return null===n?this._itHead=r:n._next=r,null===r?this._itTail=n:r._prev=n,t}_addToMoves(t,n){return t.previousIndex===n||(this._movesTail=null===this._movesTail?this._movesHead=t:this._movesTail._nextMoved=t),t}_addToRemovals(t){return null===this._unlinkedRecords&&(this._unlinkedRecords=new fy),this._unlinkedRecords.put(t),t.currentIndex=null,t._nextRemoved=null,null===this._removalsTail?(this._removalsTail=this._removalsHead=t,t._prevRemoved=null):(t._prevRemoved=this._removalsTail,this._removalsTail=this._removalsTail._nextRemoved=t),t}_addIdentityChange(t,n){return t.item=n,this._identityChangesTail=null===this._identityChangesTail?this._identityChangesHead=t:this._identityChangesTail._nextIdentityChange=t,t}}class fT{constructor(t,n){this.item=t,this.trackById=n,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 hT{constructor(){this._head=null,this._tail=null}add(t){null===this._head?(this._head=this._tail=t,t._nextDup=null,t._prevDup=null):(this._tail._nextDup=t,t._prevDup=this._tail,t._nextDup=null,this._tail=t)}get(t,n){let r;for(r=this._head;null!==r;r=r._nextDup)if((null===n||n<=r.currentIndex)&&Object.is(r.trackById,t))return r;return null}remove(t){const n=t._prevDup,r=t._nextDup;return null===n?this._head=r:n._nextDup=r,null===r?this._tail=n:r._prevDup=n,null===this._head}}class fy{constructor(){this.map=new Map}put(t){const n=t.trackById;let r=this.map.get(n);r||(r=new hT,this.map.set(n,r)),r.add(t)}get(t,n){const i=this.map.get(t);return i?i.get(t,n):null}remove(t){const n=t.trackById;return this.map.get(n).remove(t)&&this.map.delete(n),t}get isEmpty(){return 0===this.map.size}clear(){this.map.clear()}}function hy(e,t,n){const r=e.previousIndex;if(null===r)return r;let i=0;return n&&r<n.length&&(i=n[r]),r+t+i}class py{constructor(){}supports(t){return t instanceof Map||sl(t)}create(){return new pT}}class pT{constructor(){this._records=new Map,this._mapHead=null,this._appendAfter=null,this._previousMapHead=null,this._changesHead=null,this._changesTail=null,this._additionsHead=null,this._additionsTail=null,this._removalsHead=null,this._removalsTail=null}get isDirty(){return null!==this._additionsHead||null!==this._changesHead||null!==this._removalsHead}forEachItem(t){let n;for(n=this._mapHead;null!==n;n=n._next)t(n)}forEachPreviousItem(t){let n;for(n=this._previousMapHead;null!==n;n=n._nextPrevious)t(n)}forEachChangedItem(t){let n;for(n=this._changesHead;null!==n;n=n._nextChanged)t(n)}forEachAddedItem(t){let n;for(n=this._additionsHead;null!==n;n=n._nextAdded)t(n)}forEachRemovedItem(t){let n;for(n=this._removalsHead;null!==n;n=n._nextRemoved)t(n)}diff(t){if(t){if(!(t instanceof Map||sl(t)))throw new Error(`Error trying to diff '${J(t)}'. Only maps and objects are allowed`)}else t=new Map;return this.check(t)?this:null}onDestroy(){}check(t){this._reset();let n=this._mapHead;if(this._appendAfter=null,this._forEach(t,(r,i)=>{if(n&&n.key===i)this._maybeAddToChanges(n,r),this._appendAfter=n,n=n._next;else{const o=this._getOrCreateRecordForKey(i,r);n=this._insertBeforeOrAppend(n,o)}}),n){n._prev&&(n._prev._next=null),this._removalsHead=n;for(let r=n;null!==r;r=r._nextRemoved)r===this._mapHead&&(this._mapHead=null),this._records.delete(r.key),r._nextRemoved=r._next,r.previousValue=r.currentValue,r.currentValue=null,r._prev=null,r._next=null}return this._changesTail&&(this._changesTail._nextChanged=null),this._additionsTail&&(this._additionsTail._nextAdded=null),this.isDirty}_insertBeforeOrAppend(t,n){if(t){const r=t._prev;return n._next=t,n._prev=r,t._prev=n,r&&(r._next=n),t===this._mapHead&&(this._mapHead=n),this._appendAfter=t,t}return this._appendAfter?(this._appendAfter._next=n,n._prev=this._appendAfter):this._mapHead=n,this._appendAfter=n,null}_getOrCreateRecordForKey(t,n){if(this._records.has(t)){const i=this._records.get(t);this._maybeAddToChanges(i,n);const o=i._prev,s=i._next;return o&&(o._next=s),s&&(s._prev=o),i._next=null,i._prev=null,i}const r=new gT(t);return this._records.set(t,r),r.currentValue=n,this._addToAdditions(r),r}_reset(){if(this.isDirty){let t;for(this._previousMapHead=this._mapHead,t=this._previousMapHead;null!==t;t=t._next)t._nextPrevious=t._next;for(t=this._changesHead;null!==t;t=t._nextChanged)t.previousValue=t.currentValue;for(t=this._additionsHead;null!=t;t=t._nextAdded)t.previousValue=t.currentValue;this._changesHead=this._changesTail=null,this._additionsHead=this._additionsTail=null,this._removalsHead=null}}_maybeAddToChanges(t,n){Object.is(n,t.currentValue)||(t.previousValue=t.currentValue,t.currentValue=n,this._addToChanges(t))}_addToAdditions(t){null===this._additionsHead?this._additionsHead=this._additionsTail=t:(this._additionsTail._nextAdded=t,this._additionsTail=t)}_addToChanges(t){null===this._changesHead?this._changesHead=this._changesTail=t:(this._changesTail._nextChanged=t,this._changesTail=t)}_forEach(t,n){t instanceof Map?t.forEach(n):Object.keys(t).forEach(r=>n(t[r],r))}}class gT{constructor(t){this.key=t,this.previousValue=null,this.currentValue=null,this._nextPrevious=null,this._next=null,this._prev=null,this._nextAdded=null,this._nextRemoved=null,this._nextChanged=null}}function gy(){return new Xi([new dy])}let Xi=(()=>{class e{constructor(n){this.factories=n}static create(n,r){if(null!=r){const i=r.factories.slice();n=n.concat(i)}return new e(n)}static extend(n){return{provide:e,useFactory:r=>e.create(n,r||gy()),deps:[[e,new wr,new qt]]}}find(n){const r=this.factories.find(i=>i.supports(n));if(null!=r)return r;throw new Error(`Cannot find a differ supporting object '${n}' of type '${function(e){return e.name||typeof e}(n)}'`)}}return e.\u0275prov=k({token:e,providedIn:"root",factory:gy}),e})();function my(){return new ei([new py])}let ei=(()=>{class e{constructor(n){this.factories=n}static create(n,r){if(r){const i=r.factories.slice();n=n.concat(i)}return new e(n)}static extend(n){return{provide:e,useFactory:r=>e.create(n,r||my()),deps:[[e,new wr,new qt]]}}find(n){const r=this.factories.find(i=>i.supports(n));if(r)return r;throw new Error(`Cannot find a differ supporting object '${n}'`)}}return e.\u0275prov=k({token:e,providedIn:"root",factory:my}),e})();const yT=[new py],DT=new Xi([new dy]),_T=new ei(yT),CT=Xm(null,"core",[{provide:Ns,useValue:"unknown"},{provide:ty,deps:[Be]},{provide:Jm,deps:[]},{provide:qm,deps:[]}]),ST=[{provide:Ki,useClass:Ki,deps:[Ee,Be,Ir,Zr,Xr]},{provide:LI,deps:[Ee],useFactory:function(e){let t=[];return e.onStable.subscribe(()=>{for(;t.length;)t.pop()()}),function(n){t.push(n)}}},{provide:Xr,useClass:Xr,deps:[[new qt,Ps]]},{provide:Fs,useClass:Fs,deps:[]},BS,{provide:Xi,useFactory:function(){return DT},deps:[]},{provide:ei,useFactory:function(){return _T},deps:[]},{provide:Nn,useFactory:function(e){return e||"undefined"!=typeof $localize&&$localize.locale||ys},deps:[[new Mi(Nn),new qt,new wr]]},{provide:Wm,useValue:"USD"}];let MT=(()=>{class e{constructor(n){}}return e.\u0275fac=function(n){return new(n||e)(S(Ki))},e.\u0275mod=Ut({type:e}),e.\u0275inj=Tt({providers:ST}),e})(),ks=null;function Fn(){return ks}const lt=new z("DocumentToken");let Xn=(()=>{class e{historyGo(n){throw new Error("Not implemented")}}return e.\u0275fac=function(n){return new(n||e)},e.\u0275prov=k({token:e,factory:function(){return S(yy)},providedIn:"platform"}),e})();const NT=new z("Location Initialized");let yy=(()=>{class e extends Xn{constructor(n){super(),this._doc=n,this._init()}_init(){this.location=window.location,this._history=window.history}getBaseHrefFromDOM(){return Fn().getBaseHref(this._doc)}onPopState(n){const r=Fn().getGlobalEventTarget(this._doc,"window");return r.addEventListener("popstate",n,!1),()=>r.removeEventListener("popstate",n)}onHashChange(n){const r=Fn().getGlobalEventTarget(this._doc,"window");return r.addEventListener("hashchange",n,!1),()=>r.removeEventListener("hashchange",n)}get href(){return this.location.href}get protocol(){return this.location.protocol}get hostname(){return this.location.hostname}get port(){return this.location.port}get pathname(){return this.location.pathname}get search(){return this.location.search}get hash(){return this.location.hash}set pathname(n){this.location.pathname=n}pushState(n,r,i){vy()?this._history.pushState(n,r,i):this.location.hash=i}replaceState(n,r,i){vy()?this._history.replaceState(n,r,i):this.location.hash=i}forward(){this._history.forward()}back(){this._history.back()}historyGo(n=0){this._history.go(n)}getState(){return this._history.state}}return e.\u0275fac=function(n){return new(n||e)(S(lt))},e.\u0275prov=k({token:e,factory:function(){return new yy(S(lt))},providedIn:"platform"}),e})();function vy(){return!!window.history.pushState}function tc(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 Dy(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 yn(e){return e&&"?"!==e[0]?"?"+e:e}let ti=(()=>{class e{historyGo(n){throw new Error("Not implemented")}}return e.\u0275fac=function(n){return new(n||e)},e.\u0275prov=k({token:e,factory:function(){return function(e){const t=S(lt).location;return new _y(S(Xn),t&&t.origin||"")}()},providedIn:"root"}),e})();const nc=new z("appBaseHref");let _y=(()=>{class e extends ti{constructor(n,r){if(super(),this._platformLocation=n,this._removeListenerFns=[],null==r&&(r=this._platformLocation.getBaseHrefFromDOM()),null==r)throw new Error("No base href set. Please provide a value for the APP_BASE_HREF token or add a base element to the document.");this._baseHref=r}ngOnDestroy(){for(;this._removeListenerFns.length;)this._removeListenerFns.pop()()}onPopState(n){this._removeListenerFns.push(this._platformLocation.onPopState(n),this._platformLocation.onHashChange(n))}getBaseHref(){return this._baseHref}prepareExternalUrl(n){return tc(this._baseHref,n)}path(n=!1){const r=this._platformLocation.pathname+yn(this._platformLocation.search),i=this._platformLocation.hash;return i&&n?`${r}${i}`:r}pushState(n,r,i,o){const s=this.prepareExternalUrl(i+yn(o));this._platformLocation.pushState(n,r,s)}replaceState(n,r,i,o){const s=this.prepareExternalUrl(i+yn(o));this._platformLocation.replaceState(n,r,s)}forward(){this._platformLocation.forward()}back(){this._platformLocation.back()}historyGo(n=0){var r,i;null==(i=(r=this._platformLocation).historyGo)||i.call(r,n)}}return e.\u0275fac=function(n){return new(n||e)(S(Xn),S(nc,8))},e.\u0275prov=k({token:e,factory:e.\u0275fac}),e})(),kT=(()=>{class e extends ti{constructor(n,r){super(),this._platformLocation=n,this._baseHref="",this._removeListenerFns=[],null!=r&&(this._baseHref=r)}ngOnDestroy(){for(;this._removeListenerFns.length;)this._removeListenerFns.pop()()}onPopState(n){this._removeListenerFns.push(this._platformLocation.onPopState(n),this._platformLocation.onHashChange(n))}getBaseHref(){return this._baseHref}path(n=!1){let r=this._platformLocation.hash;return null==r&&(r="#"),r.length>0?r.substring(1):r}prepareExternalUrl(n){const r=tc(this._baseHref,n);return r.length>0?"#"+r:r}pushState(n,r,i,o){let s=this.prepareExternalUrl(i+yn(o));0==s.length&&(s=this._platformLocation.pathname),this._platformLocation.pushState(n,r,s)}replaceState(n,r,i,o){let s=this.prepareExternalUrl(i+yn(o));0==s.length&&(s=this._platformLocation.pathname),this._platformLocation.replaceState(n,r,s)}forward(){this._platformLocation.forward()}back(){this._platformLocation.back()}historyGo(n=0){var r,i;null==(i=(r=this._platformLocation).historyGo)||i.call(r,n)}}return e.\u0275fac=function(n){return new(n||e)(S(Xn),S(nc,8))},e.\u0275prov=k({token:e,factory:e.\u0275fac}),e})(),rc=(()=>{class e{constructor(n,r){this._subject=new se,this._urlChangeListeners=[],this._platformStrategy=n;const i=this._platformStrategy.getBaseHref();this._platformLocation=r,this._baseHref=Dy(Cy(i)),this._platformStrategy.onPopState(o=>{this._subject.emit({url:this.path(!0),pop:!0,state:o.state,type:o.type})})}path(n=!1){return this.normalize(this._platformStrategy.path(n))}getState(){return this._platformLocation.getState()}isCurrentPathEqualTo(n,r=""){return this.path()==this.normalize(n+yn(r))}normalize(n){return e.stripTrailingSlash(function(e,t){return e&&t.startsWith(e)?t.substring(e.length):t}(this._baseHref,Cy(n)))}prepareExternalUrl(n){return n&&"/"!==n[0]&&(n="/"+n),this._platformStrategy.prepareExternalUrl(n)}go(n,r="",i=null){this._platformStrategy.pushState(i,"",n,r),this._notifyUrlChangeListeners(this.prepareExternalUrl(n+yn(r)),i)}replaceState(n,r="",i=null){this._platformStrategy.replaceState(i,"",n,r),this._notifyUrlChangeListeners(this.prepareExternalUrl(n+yn(r)),i)}forward(){this._platformStrategy.forward()}back(){this._platformStrategy.back()}historyGo(n=0){var r,i;null==(i=(r=this._platformStrategy).historyGo)||i.call(r,n)}onUrlChange(n){this._urlChangeListeners.push(n),this._urlChangeSubscription||(this._urlChangeSubscription=this.subscribe(r=>{this._notifyUrlChangeListeners(r.url,r.state)}))}_notifyUrlChangeListeners(n="",r){this._urlChangeListeners.forEach(i=>i(n,r))}subscribe(n,r,i){return this._subject.subscribe({next:n,error:r,complete:i})}}return e.normalizeQueryParams=yn,e.joinWithSlash=tc,e.stripTrailingSlash=Dy,e.\u0275fac=function(n){return new(n||e)(S(ti),S(Xn))},e.\u0275prov=k({token:e,factory:function(){return new rc(S(ti),S(Xn))},providedIn:"root"}),e})();function Cy(e){return e.replace(/\/index.html$/,"")}var Xe=(()=>((Xe=Xe||{})[Xe.Decimal=0]="Decimal",Xe[Xe.Percent=1]="Percent",Xe[Xe.Currency=2]="Currency",Xe[Xe.Scientific=3]="Scientific",Xe))(),ye=(()=>((ye=ye||{})[ye.Zero=0]="Zero",ye[ye.One=1]="One",ye[ye.Two=2]="Two",ye[ye.Few=3]="Few",ye[ye.Many=4]="Many",ye[ye.Other=5]="Other",ye))(),T=(()=>((T=T||{})[T.Decimal=0]="Decimal",T[T.Group=1]="Group",T[T.List=2]="List",T[T.PercentSign=3]="PercentSign",T[T.PlusSign=4]="PlusSign",T[T.MinusSign=5]="MinusSign",T[T.Exponential=6]="Exponential",T[T.SuperscriptingExponent=7]="SuperscriptingExponent",T[T.PerMille=8]="PerMille",T[T.Infinity=9]="Infinity",T[T.NaN=10]="NaN",T[T.TimeSeparator=11]="TimeSeparator",T[T.CurrencyDecimal=12]="CurrencyDecimal",T[T.CurrencyGroup=13]="CurrencyGroup",T))();function Et(e,t){const n=qe(e),r=n[E.NumberSymbols][t];if(void 0===r){if(t===T.CurrencyDecimal)return n[E.NumberSymbols][T.Decimal];if(t===T.CurrencyGroup)return n[E.NumberSymbols][T.Group]}return r}const GT=function(e){return qe(e)[E.PluralCase]},cM=/^(\d+)?\.((\d+)(-(\d+))?)?$/;function dc(e){const t=parseInt(e);if(isNaN(t))throw new Error("Invalid integer literal when parsing "+e);return t}class qs{}let _M=(()=>{class e extends qs{constructor(n){super(),this.locale=n}getPluralCategory(n,r){switch(GT(r||this.locale)(n)){case ye.Zero:return"zero";case ye.One:return"one";case ye.Two:return"two";case ye.Few:return"few";case ye.Many:return"many";default:return"other"}}}return e.\u0275fac=function(n){return new(n||e)(S(Nn))},e.\u0275prov=k({token:e,factory:e.\u0275fac}),e})();function xy(e,t){t=encodeURIComponent(t);for(const n of e.split(";")){const r=n.indexOf("="),[i,o]=-1==r?[n,""]:[n.slice(0,r),n.slice(r+1)];if(i.trim()===t)return decodeURIComponent(o)}return null}class EM{constructor(t,n,r,i){this.$implicit=t,this.ngForOf=n,this.index=r,this.count=i}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 Ws=(()=>{class e{constructor(n,r,i){this._viewContainer=n,this._template=r,this._differs=i,this._ngForOf=null,this._ngForOfDirty=!0,this._differ=null}set ngForOf(n){this._ngForOf=n,this._ngForOfDirty=!0}set ngForTrackBy(n){this._trackByFn=n}get ngForTrackBy(){return this._trackByFn}set ngForTemplate(n){n&&(this._template=n)}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(r){throw new Error(`Cannot find a differ supporting object '${n}' of type '${function(e){return e.name||typeof e}(n)}'. NgFor only supports binding to Iterables such as Arrays.`)}}if(this._differ){const n=this._differ.diff(this._ngForOf);n&&this._applyChanges(n)}}_applyChanges(n){const r=[];n.forEachOperation((i,o,s)=>{if(null==i.previousIndex){const a=this._viewContainer.createEmbeddedView(this._template,new EM(null,this._ngForOf,-1,-1),null===s?void 0:s),u=new Ry(i,a);r.push(u)}else if(null==s)this._viewContainer.remove(null===o?void 0:o);else if(null!==o){const a=this._viewContainer.get(o);this._viewContainer.move(a,s);const u=new Ry(i,a);r.push(u)}});for(let i=0;i<r.length;i++)this._perViewChange(r[i].view,r[i].record);for(let i=0,o=this._viewContainer.length;i<o;i++){const s=this._viewContainer.get(i);s.context.index=i,s.context.count=o,s.context.ngForOf=this._ngForOf}n.forEachIdentityChange(i=>{this._viewContainer.get(i.currentIndex).context.$implicit=i.item})}_perViewChange(n,r){n.context.$implicit=r.item}static ngTemplateContextGuard(n,r){return!0}}return e.\u0275fac=function(n){return new(n||e)(I(kt),I(mn),I(Xi))},e.\u0275dir=Pe({type:e,selectors:[["","ngFor","","ngForOf",""]],inputs:{ngForOf:"ngForOf",ngForTrackBy:"ngForTrackBy",ngForTemplate:"ngForTemplate"}}),e})();class Ry{constructor(t,n){this.record=t,this.view=n}}let Qs=(()=>{class e{constructor(n,r){this._viewContainer=n,this._context=new IM,this._thenTemplateRef=null,this._elseTemplateRef=null,this._thenViewRef=null,this._elseViewRef=null,this._thenTemplateRef=r}set ngIf(n){this._context.$implicit=this._context.ngIf=n,this._updateView()}set ngIfThen(n){Py("ngIfThen",n),this._thenTemplateRef=n,this._thenViewRef=null,this._updateView()}set ngIfElse(n){Py("ngIfElse",n),this._elseTemplateRef=n,this._elseViewRef=null,this._updateView()}_updateView(){this._context.$implicit?this._thenViewRef||(this._viewContainer.clear(),this._elseViewRef=null,this._thenTemplateRef&&(this._thenViewRef=this._viewContainer.createEmbeddedView(this._thenTemplateRef,this._context))):this._elseViewRef||(this._viewContainer.clear(),this._thenViewRef=null,this._elseTemplateRef&&(this._elseViewRef=this._viewContainer.createEmbeddedView(this._elseTemplateRef,this._context)))}static ngTemplateContextGuard(n,r){return!0}}return e.\u0275fac=function(n){return new(n||e)(I(kt),I(mn))},e.\u0275dir=Pe({type:e,selectors:[["","ngIf",""]],inputs:{ngIf:"ngIf",ngIfThen:"ngIfThen",ngIfElse:"ngIfElse"}}),e})();class IM{constructor(){this.$implicit=null,this.ngIf=null}}function Py(e,t){if(t&&!t.createEmbeddedView)throw new Error(`${e} must be a TemplateRef, but received '${J(t)}'.`)}let Oy=(()=>{class e{constructor(n){this._locale=n}transform(n,r,i){if(!function(e){return!(null==e||""===e||e!=e)}(n))return null;i=i||this._locale;try{return function(e,t,n){return function(e,t,n,r,i,o,s=!1){let a="",u=!1;if(isFinite(e)){let l=function(e){let r,i,o,s,a,t=Math.abs(e)+"",n=0;for((i=t.indexOf("."))>-1&&(t=t.replace(".","")),(o=t.search(/e/i))>0?(i<0&&(i=o),i+=+t.slice(o+1),t=t.substring(0,o)):i<0&&(i=t.length),o=0;"0"===t.charAt(o);o++);if(o===(a=t.length))r=[0],i=1;else{for(a--;"0"===t.charAt(a);)a--;for(i-=o,r=[],s=0;o<=a;o++,s++)r[s]=Number(t.charAt(o))}return i>22&&(r=r.splice(0,21),n=i-1,i=1),{digits:r,exponent:n,integerLen:i}}(e);s&&(l=function(e){if(0===e.digits[0])return e;const t=e.digits.length-e.integerLen;return e.exponent?e.exponent+=2:(0===t?e.digits.push(0,0):1===t&&e.digits.push(0),e.integerLen+=2),e}(l));let c=t.minInt,d=t.minFrac,f=t.maxFrac;if(o){const g=o.match(cM);if(null===g)throw new Error(`${o} is not a valid digit info`);const b=g[1],M=g[3],Q=g[5];null!=b&&(c=dc(b)),null!=M&&(d=dc(M)),null!=Q?f=dc(Q):null!=M&&d>f&&(f=d)}!function(e,t,n){if(t>n)throw new Error(`The minimum number of digits after fraction (${t}) is higher than the maximum (${n}).`);let r=e.digits,i=r.length-e.integerLen;const o=Math.min(Math.max(t,i),n);let s=o+e.integerLen,a=r[s];if(s>0){r.splice(Math.max(e.integerLen,s));for(let d=s;d<r.length;d++)r[d]=0}else{i=Math.max(0,i),e.integerLen=1,r.length=Math.max(1,s=o+1),r[0]=0;for(let d=1;d<s;d++)r[d]=0}if(a>=5)if(s-1<0){for(let d=0;d>s;d--)r.unshift(0),e.integerLen++;r.unshift(1),e.integerLen++}else r[s-1]++;for(;i<Math.max(0,o);i++)r.push(0);let u=0!==o;const l=t+e.integerLen,c=r.reduceRight(function(d,f,h,p){return p[h]=(f+=d)<10?f:f-10,u&&(0===p[h]&&h>=l?p.pop():u=!1),f>=10?1:0},0);c&&(r.unshift(c),e.integerLen++)}(l,d,f);let h=l.digits,p=l.integerLen;const m=l.exponent;let y=[];for(u=h.every(g=>!g);p<c;p++)h.unshift(0);for(;p<0;p++)h.unshift(0);p>0?y=h.splice(p,h.length):(y=h,h=[0]);const v=[];for(h.length>=t.lgSize&&v.unshift(h.splice(-t.lgSize,h.length).join(""));h.length>t.gSize;)v.unshift(h.splice(-t.gSize,h.length).join(""));h.length&&v.unshift(h.join("")),a=v.join(Et(n,r)),y.length&&(a+=Et(n,i)+y.join("")),m&&(a+=Et(n,T.Exponential)+"+"+m)}else a=Et(n,T.Infinity);return a=e<0&&!u?t.negPre+a+t.negSuf:t.posPre+a+t.posSuf,a}(e,function(e,t="-"){const n={minInt:1,minFrac:0,maxFrac:0,posPre:"",posSuf:"",negPre:"",negSuf:"",gSize:0,lgSize:0},r=e.split(";"),i=r[0],o=r[1],s=-1!==i.indexOf(".")?i.split("."):[i.substring(0,i.lastIndexOf("0")+1),i.substring(i.lastIndexOf("0")+1)],a=s[0],u=s[1]||"";n.posPre=a.substr(0,a.indexOf("#"));for(let c=0;c<u.length;c++){const d=u.charAt(c);"0"===d?n.minFrac=n.maxFrac=c+1:"#"===d?n.maxFrac=c+1:n.posSuf+=d}const l=a.split(",");if(n.gSize=l[1]?l[1].length:0,n.lgSize=l[2]||l[1]?(l[2]||l[1]).length:0,o){const c=i.length-n.posPre.length-n.posSuf.length,d=o.indexOf("#");n.negPre=o.substr(0,d).replace(/'/g,""),n.negSuf=o.substr(d+c).replace(/'/g,"")}else n.negPre=t+n.posPre,n.negSuf=n.posSuf;return n}(function(e,t){return qe(e)[E.NumberFormats][t]}(t,Xe.Decimal),Et(t,T.MinusSign)),t,T.Group,T.Decimal,n)}(function(e){if("string"==typeof e&&!isNaN(Number(e)-parseFloat(e)))return Number(e);if("number"!=typeof e)throw new Error(`${e} is not a number`);return e}(n),i,r)}catch(o){throw function(e,t){return Error(`InvalidPipeArgument: '${t}' for pipe '${J(e)}'`)}(e,o.message)}}}return e.\u0275fac=function(n){return new(n||e)(I(Nn,16))},e.\u0275pipe=Ue({name:"number",type:e,pure:!0}),e})();let ky=(()=>{class e{}return e.\u0275fac=function(n){return new(n||e)},e.\u0275mod=Ut({type:e}),e.\u0275inj=Tt({providers:[{provide:qs,useClass:_M}]}),e})();let eA=(()=>{class e{}return e.\u0275prov=k({token:e,providedIn:"root",factory:()=>new tA(S(lt),window)}),e})();class tA{constructor(t,n){this.document=t,this.window=n,this.offset=()=>[0,0]}setOffset(t){this.offset=Array.isArray(t)?()=>t:t}getScrollPosition(){return this.supportsScrolling()?[this.window.pageXOffset,this.window.pageYOffset]:[0,0]}scrollToPosition(t){this.supportsScrolling()&&this.window.scrollTo(t[0],t[1])}scrollToAnchor(t){if(!this.supportsScrolling())return;const n=function(e,t){const n=e.getElementById(t)||e.getElementsByName(t)[0];if(n)return n;if("function"==typeof e.createTreeWalker&&e.body&&(e.body.createShadowRoot||e.body.attachShadow)){const r=e.createTreeWalker(e.body,NodeFilter.SHOW_ELEMENT);let i=r.currentNode;for(;i;){const o=i.shadowRoot;if(o){const s=o.getElementById(t)||o.querySelector(`[name="${t}"]`);if(s)return s}i=r.nextNode()}}return null}(this.document,t);n&&(this.scrollToElement(n),this.attemptFocus(n))}setHistoryScrollRestoration(t){if(this.supportScrollRestoration()){const n=this.window.history;n&&n.scrollRestoration&&(n.scrollRestoration=t)}}scrollToElement(t){const n=t.getBoundingClientRect(),r=n.left+this.window.pageXOffset,i=n.top+this.window.pageYOffset,o=this.offset();this.window.scrollTo(r-o[0],i-o[1])}attemptFocus(t){return t.focus(),this.document.activeElement===t}supportScrollRestoration(){try{if(!this.supportsScrolling())return!1;const t=By(this.window.history)||By(Object.getPrototypeOf(this.window.history));return!(!t||!t.writable&&!t.set)}catch(t){return!1}}supportsScrolling(){try{return!!this.window&&!!this.window.scrollTo&&"pageXOffset"in this.window}catch(t){return!1}}}function By(e){return Object.getOwnPropertyDescriptor(e,"scrollRestoration")}class jy{}class mc extends class extends class{}{constructor(){super(...arguments),this.supportsDOMEvents=!0}}{static makeCurrent(){var e;e=new mc,ks||(ks=e)}onAndCancel(t,n,r){return t.addEventListener(n,r,!1),()=>{t.removeEventListener(n,r,!1)}}dispatchEvent(t,n){t.dispatchEvent(n)}remove(t){t.parentNode&&t.parentNode.removeChild(t)}createElement(t,n){return(n=n||this.getDefaultDocument()).createElement(t)}createHtmlDocument(){return document.implementation.createHTMLDocument("fakeTitle")}getDefaultDocument(){return document}isElementNode(t){return t.nodeType===Node.ELEMENT_NODE}isShadowRoot(t){return t instanceof DocumentFragment}getGlobalEventTarget(t,n){return"window"===n?window:"document"===n?t:"body"===n?t.body:null}getBaseHref(t){const n=(no=no||document.querySelector("base"),no?no.getAttribute("href"):null);return null==n?null:function(e){Zs=Zs||document.createElement("a"),Zs.setAttribute("href",e);const t=Zs.pathname;return"/"===t.charAt(0)?t:`/${t}`}(n)}resetBaseElement(){no=null}getUserAgent(){return window.navigator.userAgent}getCookie(t){return xy(document.cookie,t)}}let Zs,no=null;const Hy=new z("TRANSITION_ID"),aA=[{provide:Ps,useFactory:function(e,t,n){return()=>{n.get(Xr).donePromise.then(()=>{const r=Fn(),i=t.querySelectorAll(`style[ng-transition="${e}"]`);for(let o=0;o<i.length;o++)r.remove(i[o])})}},deps:[Hy,lt,Be],multi:!0}];class yc{static init(){var e;e=new yc,Zl=e}addToWindow(t){Y.getAngularTestability=(r,i=!0)=>{const o=t.findTestabilityInTree(r,i);if(null==o)throw new Error("Could not find testability for element.");return o},Y.getAllAngularTestabilities=()=>t.getAllTestabilities(),Y.getAllAngularRootElements=()=>t.getAllRootElements(),Y.frameworkStabilizers||(Y.frameworkStabilizers=[]),Y.frameworkStabilizers.push(r=>{const i=Y.getAllAngularTestabilities();let o=i.length,s=!1;const a=function(u){s=s||u,o--,0==o&&r(s)};i.forEach(function(u){u.whenStable(a)})})}findTestabilityInTree(t,n,r){if(null==n)return null;const i=t.getTestability(n);return null!=i?i:r?Fn().isShadowRoot(n)?this.findTestabilityInTree(t,n.host,!0):this.findTestabilityInTree(t,n.parentElement,!0):null}}let uA=(()=>{class e{build(){return new XMLHttpRequest}}return e.\u0275fac=function(n){return new(n||e)},e.\u0275prov=k({token:e,factory:e.\u0275fac}),e})();const Js=new z("EventManagerPlugins");let Ks=(()=>{class e{constructor(n,r){this._zone=r,this._eventNameToPlugin=new Map,n.forEach(i=>i.manager=this),this._plugins=n.slice().reverse()}addEventListener(n,r,i){return this._findPluginFor(r).addEventListener(n,r,i)}addGlobalEventListener(n,r,i){return this._findPluginFor(r).addGlobalEventListener(n,r,i)}getZone(){return this._zone}_findPluginFor(n){const r=this._eventNameToPlugin.get(n);if(r)return r;const i=this._plugins;for(let o=0;o<i.length;o++){const s=i[o];if(s.supports(n))return this._eventNameToPlugin.set(n,s),s}throw new Error(`No event manager plugin found for event ${n}`)}}return e.\u0275fac=function(n){return new(n||e)(S(Js),S(Ee))},e.\u0275prov=k({token:e,factory:e.\u0275fac}),e})();class Vy{constructor(t){this._doc=t}addGlobalEventListener(t,n,r){const i=Fn().getGlobalEventTarget(this._doc,t);if(!i)throw new Error(`Unsupported event target ${i} for event ${n}`);return this.addEventListener(i,n,r)}}let Uy=(()=>{class e{constructor(){this._stylesSet=new Set}addStyles(n){const r=new Set;n.forEach(i=>{this._stylesSet.has(i)||(this._stylesSet.add(i),r.add(i))}),this.onStylesAdded(r)}onStylesAdded(n){}getAllStyles(){return Array.from(this._stylesSet)}}return e.\u0275fac=function(n){return new(n||e)},e.\u0275prov=k({token:e,factory:e.\u0275fac}),e})(),ro=(()=>{class e extends Uy{constructor(n){super(),this._doc=n,this._hostNodes=new Map,this._hostNodes.set(n.head,[])}_addStylesToHost(n,r,i){n.forEach(o=>{const s=this._doc.createElement("style");s.textContent=o,i.push(r.appendChild(s))})}addHost(n){const r=[];this._addStylesToHost(this._stylesSet,n,r),this._hostNodes.set(n,r)}removeHost(n){const r=this._hostNodes.get(n);r&&r.forEach($y),this._hostNodes.delete(n)}onStylesAdded(n){this._hostNodes.forEach((r,i)=>{this._addStylesToHost(n,i,r)})}ngOnDestroy(){this._hostNodes.forEach(n=>n.forEach($y))}}return e.\u0275fac=function(n){return new(n||e)(S(lt))},e.\u0275prov=k({token:e,factory:e.\u0275fac}),e})();function $y(e){Fn().remove(e)}const vc={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/"},Dc=/%COMP%/g;function Ys(e,t,n){for(let r=0;r<t.length;r++){let i=t[r];Array.isArray(i)?Ys(e,i,n):(i=i.replace(Dc,e),n.push(i))}return n}function qy(e){return t=>{if("__ngUnwrap__"===t)return e;!1===e(t)&&(t.preventDefault(),t.returnValue=!1)}}let _c=(()=>{class e{constructor(n,r,i){this.eventManager=n,this.sharedStylesHost=r,this.appId=i,this.rendererByCompId=new Map,this.defaultRenderer=new Cc(n)}createRenderer(n,r){if(!n||!r)return this.defaultRenderer;switch(r.encapsulation){case Vt.Emulated:{let i=this.rendererByCompId.get(r.id);return i||(i=new pA(this.eventManager,this.sharedStylesHost,r,this.appId),this.rendererByCompId.set(r.id,i)),i.applyToHost(n),i}case 1:case Vt.ShadowDom:return new gA(this.eventManager,this.sharedStylesHost,n,r);default:if(!this.rendererByCompId.has(r.id)){const i=Ys(r.id,r.styles,[]);this.sharedStylesHost.addStyles(i),this.rendererByCompId.set(r.id,this.defaultRenderer)}return this.defaultRenderer}}begin(){}end(){}}return e.\u0275fac=function(n){return new(n||e)(S(Ks),S(ro),S(Ji))},e.\u0275prov=k({token:e,factory:e.\u0275fac}),e})();class Cc{constructor(t){this.eventManager=t,this.data=Object.create(null),this.destroyNode=null}destroy(){}createElement(t,n){return n?document.createElementNS(vc[n]||n,t):document.createElement(t)}createComment(t){return document.createComment(t)}createText(t){return document.createTextNode(t)}appendChild(t,n){t.appendChild(n)}insertBefore(t,n,r){t&&t.insertBefore(n,r)}removeChild(t,n){t&&t.removeChild(n)}selectRootElement(t,n){let r="string"==typeof t?document.querySelector(t):t;if(!r)throw new Error(`The selector "${t}" did not match any elements`);return n||(r.textContent=""),r}parentNode(t){return t.parentNode}nextSibling(t){return t.nextSibling}setAttribute(t,n,r,i){if(i){n=i+":"+n;const o=vc[i];o?t.setAttributeNS(o,n,r):t.setAttribute(n,r)}else t.setAttribute(n,r)}removeAttribute(t,n,r){if(r){const i=vc[r];i?t.removeAttributeNS(i,n):t.removeAttribute(`${r}:${n}`)}else t.removeAttribute(n)}addClass(t,n){t.classList.add(n)}removeClass(t,n){t.classList.remove(n)}setStyle(t,n,r,i){i&(at.DashCase|at.Important)?t.style.setProperty(n,r,i&at.Important?"important":""):t.style[n]=r}removeStyle(t,n,r){r&at.DashCase?t.style.removeProperty(n):t.style[n]=""}setProperty(t,n,r){t[n]=r}setValue(t,n){t.nodeValue=n}listen(t,n,r){return"string"==typeof t?this.eventManager.addGlobalEventListener(t,n,qy(r)):this.eventManager.addEventListener(t,n,qy(r))}}class pA extends Cc{constructor(t,n,r,i){super(t),this.component=r;const o=Ys(i+"-"+r.id,r.styles,[]);n.addStyles(o),this.contentAttr="_ngcontent-%COMP%".replace(Dc,i+"-"+r.id),this.hostAttr="_nghost-%COMP%".replace(Dc,i+"-"+r.id)}applyToHost(t){super.setAttribute(t,this.hostAttr,"")}createElement(t,n){const r=super.createElement(t,n);return super.setAttribute(r,this.contentAttr,""),r}}class gA extends Cc{constructor(t,n,r,i){super(t),this.sharedStylesHost=n,this.hostEl=r,this.shadowRoot=r.attachShadow({mode:"open"}),this.sharedStylesHost.addHost(this.shadowRoot);const o=Ys(i.id,i.styles,[]);for(let s=0;s<o.length;s++){const a=document.createElement("style");a.textContent=o[s],this.shadowRoot.appendChild(a)}}nodeOrShadowRoot(t){return t===this.hostEl?this.shadowRoot:t}destroy(){this.sharedStylesHost.removeHost(this.shadowRoot)}appendChild(t,n){return super.appendChild(this.nodeOrShadowRoot(t),n)}insertBefore(t,n,r){return super.insertBefore(this.nodeOrShadowRoot(t),n,r)}removeChild(t,n){return super.removeChild(this.nodeOrShadowRoot(t),n)}parentNode(t){return this.nodeOrShadowRoot(super.parentNode(this.nodeOrShadowRoot(t)))}}let mA=(()=>{class e extends Vy{constructor(n){super(n)}supports(n){return!0}addEventListener(n,r,i){return n.addEventListener(r,i,!1),()=>this.removeEventListener(n,r,i)}removeEventListener(n,r,i){return n.removeEventListener(r,i)}}return e.\u0275fac=function(n){return new(n||e)(S(lt))},e.\u0275prov=k({token:e,factory:e.\u0275fac}),e})();const Qy=["alt","control","meta","shift"],vA={"\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"},Zy={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"},DA={alt:e=>e.altKey,control:e=>e.ctrlKey,meta:e=>e.metaKey,shift:e=>e.shiftKey};let _A=(()=>{class e extends Vy{constructor(n){super(n)}supports(n){return null!=e.parseEventName(n)}addEventListener(n,r,i){const o=e.parseEventName(r),s=e.eventCallback(o.fullKey,i,this.manager.getZone());return this.manager.getZone().runOutsideAngular(()=>Fn().onAndCancel(n,o.domEventName,s))}static parseEventName(n){const r=n.toLowerCase().split("."),i=r.shift();if(0===r.length||"keydown"!==i&&"keyup"!==i)return null;const o=e._normalizeKey(r.pop());let s="";if(Qy.forEach(u=>{const l=r.indexOf(u);l>-1&&(r.splice(l,1),s+=u+".")}),s+=o,0!=r.length||0===o.length)return null;const a={};return a.domEventName=i,a.fullKey=s,a}static getEventFullKey(n){let r="",i=function(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&&Zy.hasOwnProperty(t)&&(t=Zy[t]))}return vA[t]||t}(n);return i=i.toLowerCase()," "===i?i="space":"."===i&&(i="dot"),Qy.forEach(o=>{o!=i&&DA[o](n)&&(r+=o+".")}),r+=i,r}static eventCallback(n,r,i){return o=>{e.getEventFullKey(o)===n&&i.runGuarded(()=>r(o))}}static _normalizeKey(n){return"esc"===n?"escape":n}}return e.\u0275fac=function(n){return new(n||e)(S(lt))},e.\u0275prov=k({token:e,factory:e.\u0275fac}),e})();const IA=Xm(CT,"browser",[{provide:Ns,useValue:"browser"},{provide:zm,useValue:function(){mc.makeCurrent(),yc.init()},multi:!0},{provide:lt,useFactory:function(){return e=document,Ha=e,document;var e},deps:[]}]),SA=[{provide:el,useValue:"root"},{provide:Ir,useFactory:function(){return new Ir},deps:[]},{provide:Js,useClass:mA,multi:!0,deps:[lt,Ee,Ns]},{provide:Js,useClass:_A,multi:!0,deps:[lt]},{provide:_c,useClass:_c,deps:[Ks,ro,Ji]},{provide:sm,useExisting:_c},{provide:Uy,useExisting:ro},{provide:ro,useClass:ro,deps:[lt]},{provide:Ql,useClass:Ql,deps:[Ee]},{provide:Ks,useClass:Ks,deps:[Js,Ee]},{provide:jy,useClass:uA,deps:[]}];let TA=(()=>{class e{constructor(n){if(n)throw new Error("BrowserModule has already been loaded. If you need access to common directives such as NgIf and NgFor from a lazy loaded module, import CommonModule instead.")}static withServerTransition(n){return{ngModule:e,providers:[{provide:Ji,useValue:n.appId},{provide:Hy,useExisting:Ji},aA]}}}return e.\u0275fac=function(n){return new(n||e)(S(e,12))},e.\u0275mod=Ut({type:e}),e.\u0275inj=Tt({providers:SA,imports:[ky,MT]}),e})();function BA(e,t){if(1&e){var n=pn();_(0,"a",11),Ke("keyup.enter",function(){return Dt(n),ie(3),Je(1).previous()})("click",function(){return Dt(n),ie(3),Je(1).previous()}),W(1),_(2,"span",12),W(3),C(),C()}if(2&e){var r=ie(3);Fr("aria-label",r.previousLabel+" "+r.screenReaderPageLabel),O(1),Xt(" ",r.previousLabel," "),O(2),Ye(r.screenReaderPageLabel)}}function jA(e,t){if(1&e&&(_(0,"span"),W(1),_(2,"span",12),W(3),C(),C()),2&e){var n=ie(3);O(1),Xt(" ",n.previousLabel," "),O(2),Ye(n.screenReaderPageLabel)}}function HA(e,t){if(1&e&&(_(0,"li",8),Me(1,BA,4,3,"a",9),Me(2,jA,4,2,"span",10),C()),2&e){ie(2);var n=Je(1);qr("disabled",n.isFirstPage()),O(1),de("ngIf",1<n.getCurrent()),O(1),de("ngIf",n.isFirstPage())}}function VA(e,t){if(1&e){var n=pn();_(0,"a",11),Ke("keyup.enter",function(){Dt(n);var s=ie().$implicit;return ie(2),Je(1).setCurrent(s.value)})("click",function(){Dt(n);var s=ie().$implicit;return ie(2),Je(1).setCurrent(s.value)}),_(1,"span",12),W(2),C(),_(3,"span"),W(4),Is(5,"number"),C(),C()}if(2&e){var r=ie().$implicit,i=ie(2);O(2),Xt("",i.screenReaderPageLabel," "),O(2),Ye("..."===r.label?r.label:Ss(5,2,r.label,""))}}function UA(e,t){if(1&e&&(function(e,t,n){const r=D(),i=K(),o=e+20,s=i.firstCreatePass?function(e,t,n,r,i){const o=t.consts,s=Sn(o,r),a=Mr(t,e,8,"ng-container",s);return null!==s&&ls(a,s,!0),qu(t,n,a,Sn(o,i)),null!==t.queries&&t.queries.elementStart(t,a),a}(o,i,r,t,n):i.data[o];zt(s,!0);const a=r[o]=r[j].createComment("");ns(i,r,a,s),Le(a,r),Po(s)&&(zu(i,r,s),Bh(i,s,r)),null!=n&&Gu(r,s)}(0),_(1,"span",12),W(2),C(),_(3,"span"),W(4),Is(5,"number"),C(),function(){let e=_e();const t=K();Ga()?qa():(e=e.parent,zt(e,!1)),t.firstCreatePass&&(Bo(t,e),La(e)&&t.queries.elementEnd(e))}()),2&e){var n=ie().$implicit,r=ie(2);O(2),Xt("",r.screenReaderCurrentLabel," "),O(2),Ye("..."===n.label?n.label:Ss(5,2,n.label,""))}}function $A(e,t){if(1&e&&(_(0,"li"),Me(1,VA,6,5,"a",9),Me(2,UA,6,5,"ng-container",10),C()),2&e){var n=t.$implicit;ie(2);var r=Je(1);qr("current",r.getCurrent()===n.value)("ellipsis","..."===n.label),O(1),de("ngIf",r.getCurrent()!==n.value),O(1),de("ngIf",r.getCurrent()===n.value)}}function zA(e,t){if(1&e){var n=pn();_(0,"a",11),Ke("keyup.enter",function(){return Dt(n),ie(3),Je(1).next()})("click",function(){return Dt(n),ie(3),Je(1).next()}),W(1),_(2,"span",12),W(3),C(),C()}if(2&e){var r=ie(3);Fr("aria-label",r.nextLabel+" "+r.screenReaderPageLabel),O(1),Xt(" ",r.nextLabel," "),O(2),Ye(r.screenReaderPageLabel)}}function GA(e,t){if(1&e&&(_(0,"span"),W(1),_(2,"span",12),W(3),C(),C()),2&e){var n=ie(3);O(1),Xt(" ",n.nextLabel," "),O(2),Ye(n.screenReaderPageLabel)}}function qA(e,t){if(1&e&&(_(0,"li",13),Me(1,zA,4,3,"a",9),Me(2,GA,4,2,"span",10),C()),2&e){ie(2);var n=Je(1);qr("disabled",n.isLastPage()),O(1),de("ngIf",!n.isLastPage()),O(1),de("ngIf",n.isLastPage())}}function WA(e,t){if(1&e&&(_(0,"ul",3),Me(1,HA,3,4,"li",4),_(2,"li",5),W(3),C(),Me(4,$A,3,6,"li",6),Me(5,qA,3,4,"li",7),C()),2&e){var n=ie(),r=Je(1);qr("responsive",n.responsive),Fr("aria-label",n.screenReaderPaginationLabel),O(1),de("ngIf",n.directionLinks),O(2),vl(" ",r.getCurrent()," / ",r.getLastPage()," "),O(1),de("ngForOf",r.pages)("ngForTrackBy",n.trackByIndex),O(1),de("ngIf",n.directionLinks)}}"undefined"!=typeof window&&window;var io=function(){function e(){this.change=new se,this.instances={},this.DEFAULT_ID="DEFAULT_PAGINATION_ID"}return e.prototype.defaultId=function(){return this.DEFAULT_ID},e.prototype.register=function(t){return null==t.id&&(t.id=this.DEFAULT_ID),this.instances[t.id]?this.updateInstance(t):(this.instances[t.id]=t,!0)},e.prototype.updateInstance=function(t){var n=!1;for(var r in this.instances[t.id])t[r]!==this.instances[t.id][r]&&(this.instances[t.id][r]=t[r],n=!0);return n},e.prototype.getCurrentPage=function(t){if(this.instances[t])return this.instances[t].currentPage},e.prototype.setCurrentPage=function(t,n){if(this.instances[t]){var r=this.instances[t];n<=Math.ceil(r.totalItems/r.itemsPerPage)&&1<=n&&(this.instances[t].currentPage=n,this.change.emit(t))}},e.prototype.setTotalItems=function(t,n){this.instances[t]&&0<=n&&(this.instances[t].totalItems=n,this.change.emit(t))},e.prototype.setItemsPerPage=function(t,n){this.instances[t]&&(this.instances[t].itemsPerPage=n,this.change.emit(t))},e.prototype.getInstance=function(t){return void 0===t&&(t=this.DEFAULT_ID),this.instances[t]?this.clone(this.instances[t]):{}},e.prototype.clone=function(t){var n={};for(var r in t)t.hasOwnProperty(r)&&(n[r]=t[r]);return n},e.\u0275fac=function(n){return new(n||e)},e.\u0275prov=k({token:e,factory:function(t){return e.\u0275fac(t)}}),e}(),ZA=function(e,t){if("object"==typeof Reflect&&"function"==typeof Reflect.metadata)return Reflect.metadata(e,t)},JA=Number.MAX_SAFE_INTEGER,KA=function(){function e(t){this.service=t,this.state={}}return e.prototype.transform=function(t,n){if(!(t instanceof Array)){var r=n.id||this.service.defaultId();return this.state[r]?this.state[r].slice:t}var a,u,i=n.totalItems&&n.totalItems!==t.length,o=this.createInstance(t,n),s=o.id,l=o.itemsPerPage,c=this.service.register(o);if(!i&&t instanceof Array){if(this.stateIsIdentical(s,t,a=(o.currentPage-1)*(l=+l||JA),u=a+l))return this.state[s].slice;var f=t.slice(a,u);return this.saveState(s,t,f,a,u),this.service.change.emit(s),f}return c&&this.service.change.emit(s),this.saveState(s,t,t,a,u),t},e.prototype.createInstance=function(t,n){return this.checkConfig(n),{id:null!=n.id?n.id:this.service.defaultId(),itemsPerPage:+n.itemsPerPage||0,currentPage:+n.currentPage||1,totalItems:+n.totalItems||t.length}},e.prototype.checkConfig=function(t){var r=["itemsPerPage","currentPage"].filter(function(i){return!(i in t)});if(0<r.length)throw new Error("PaginatePipe: Argument is missing the following required properties: "+r.join(", "))},e.prototype.saveState=function(t,n,r,i,o){this.state[t]={collection:n,size:n.length,slice:r,start:i,end:o}},e.prototype.stateIsIdentical=function(t,n,r,i){var o=this.state[t];return!!o&&!(o.size!==n.length||o.start!==r||o.end!==i)&&o.slice.every(function(a,u){return a===n[r+u]})},e=function(e,t,n,r){var s,i=arguments.length,o=i<3?t:null===r?r=Object.getOwnPropertyDescriptor(t,n):r;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)o=Reflect.decorate(e,t,n,r);else for(var a=e.length-1;a>=0;a--)(s=e[a])&&(o=(i<3?s(o):i>3?s(t,n,o):s(t,n))||o);return i>3&&o&&Object.defineProperty(t,n,o),o}([ZA("design:paramtypes",[io])],e),e.\u0275fac=function(n){return new(n||e)(I(io,16))},e.\u0275pipe=Ue({name:"paginate",type:e,pure:!1}),e}(),It=function(e,t,n,r){var s,i=arguments.length,o=i<3?t:null===r?r=Object.getOwnPropertyDescriptor(t,n):r;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)o=Reflect.decorate(e,t,n,r);else for(var a=e.length-1;a>=0;a--)(s=e[a])&&(o=(i<3?s(o):i>3?s(t,n,o):s(t,n))||o);return i>3&&o&&Object.defineProperty(t,n,o),o},Qe=function(e,t){if("object"==typeof Reflect&&"function"==typeof Reflect.metadata)return Reflect.metadata(e,t)};function Ec(e){return!!e&&"false"!==e}var YA=function(){function e(){this.maxSize=7,this.previousLabel="Previous",this.nextLabel="Next",this.screenReaderPaginationLabel="Pagination",this.screenReaderPageLabel="page",this.screenReaderCurrentLabel="You're on page",this.pageChange=new se,this.pageBoundsCorrection=new se,this._directionLinks=!0,this._autoHide=!1,this._responsive=!1}return Object.defineProperty(e.prototype,"directionLinks",{get:function(){return this._directionLinks},set:function(t){this._directionLinks=Ec(t)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"autoHide",{get:function(){return this._autoHide},set:function(t){this._autoHide=Ec(t)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"responsive",{get:function(){return this._responsive},set:function(t){this._responsive=Ec(t)},enumerable:!0,configurable:!0}),e.prototype.trackByIndex=function(t){return t},It([wt(),Qe("design:type",String)],e.prototype,"id",void 0),It([wt(),Qe("design:type",Number)],e.prototype,"maxSize",void 0),It([wt(),Qe("design:type",Boolean),Qe("design:paramtypes",[Boolean])],e.prototype,"directionLinks",null),It([wt(),Qe("design:type",Boolean),Qe("design:paramtypes",[Boolean])],e.prototype,"autoHide",null),It([wt(),Qe("design:type",Boolean),Qe("design:paramtypes",[Boolean])],e.prototype,"responsive",null),It([wt(),Qe("design:type",String)],e.prototype,"previousLabel",void 0),It([wt(),Qe("design:type",String)],e.prototype,"nextLabel",void 0),It([wt(),Qe("design:type",String)],e.prototype,"screenReaderPaginationLabel",void 0),It([wt(),Qe("design:type",String)],e.prototype,"screenReaderPageLabel",void 0),It([wt(),Qe("design:type",String)],e.prototype,"screenReaderCurrentLabel",void 0),It([xs(),Qe("design:type",se)],e.prototype,"pageChange",void 0),It([xs(),Qe("design:type",se)],e.prototype,"pageBoundsCorrection",void 0),e.\u0275fac=function(n){return new(n||e)},e.\u0275cmp=ln({type:e,selectors:[["pagination-controls"]],inputs:{maxSize:"maxSize",previousLabel:"previousLabel",nextLabel:"nextLabel",screenReaderPaginationLabel:"screenReaderPaginationLabel",screenReaderPageLabel:"screenReaderPageLabel",screenReaderCurrentLabel:"screenReaderCurrentLabel",directionLinks:"directionLinks",autoHide:"autoHide",responsive:"responsive",id:"id"},outputs:{pageChange:"pageChange",pageBoundsCorrection:"pageBoundsCorrection"},decls:3,vars:3,consts:[[3,"id","maxSize","pageChange","pageBoundsCorrection"],["p","paginationApi"],["class","ngx-pagination",3,"responsive",4,"ngIf"],[1,"ngx-pagination"],["class","pagination-previous",3,"disabled",4,"ngIf"],[1,"small-screen"],[3,"current","ellipsis",4,"ngFor","ngForOf","ngForTrackBy"],["class","pagination-next",3,"disabled",4,"ngIf"],[1,"pagination-previous"],["tabindex","0",3,"keyup.enter","click",4,"ngIf"],[4,"ngIf"],["tabindex","0",3,"keyup.enter","click"],[1,"show-for-sr"],[1,"pagination-next"]],template:function(n,r){if(1&n&&(_(0,"pagination-template",0,1),Ke("pageChange",function(s){return r.pageChange.emit(s)})("pageBoundsCorrection",function(s){return r.pageBoundsCorrection.emit(s)}),Me(2,WA,6,9,"ul",2),C()),2&n){var i=Je(1);de("id",r.id)("maxSize",r.maxSize),O(2),de("ngIf",!(r.autoHide&&i.pages.length<=1))}},directives:function(){return[XA,Qs,Ws]},pipes:function(){return[Oy]},styles:["\n.ngx-pagination {\n margin-left: 0;\n margin-bottom: 1rem; }\n .ngx-pagination::before, .ngx-pagination::after {\n content: ' ';\n display: table; }\n .ngx-pagination::after {\n clear: both; }\n .ngx-pagination li {\n -moz-user-select: none;\n -webkit-user-select: none;\n -ms-user-select: none;\n margin-right: 0.0625rem;\n border-radius: 0; }\n .ngx-pagination li {\n display: inline-block; }\n .ngx-pagination a,\n .ngx-pagination button {\n color: #0a0a0a; \n display: block;\n padding: 0.1875rem 0.625rem;\n border-radius: 0; }\n .ngx-pagination a:hover,\n .ngx-pagination button:hover {\n background: #e6e6e6; }\n .ngx-pagination .current {\n padding: 0.1875rem 0.625rem;\n background: #2199e8;\n color: #fefefe;\n cursor: default; }\n .ngx-pagination .disabled {\n padding: 0.1875rem 0.625rem;\n color: #cacaca;\n cursor: default; } \n .ngx-pagination .disabled:hover {\n background: transparent; }\n .ngx-pagination a, .ngx-pagination button {\n cursor: pointer; }\n\n.ngx-pagination .pagination-previous a::before,\n.ngx-pagination .pagination-previous.disabled::before { \n content: '\xab';\n display: inline-block;\n margin-right: 0.5rem; }\n\n.ngx-pagination .pagination-next a::after,\n.ngx-pagination .pagination-next.disabled::after {\n content: '\xbb';\n display: inline-block;\n margin-left: 0.5rem; }\n\n.ngx-pagination .show-for-sr {\n position: absolute !important;\n width: 1px;\n height: 1px;\n overflow: hidden;\n clip: rect(0, 0, 0, 0); }\n.ngx-pagination .small-screen {\n display: none; }\n@media screen and (max-width: 601px) {\n .ngx-pagination.responsive .small-screen {\n display: inline-block; } \n .ngx-pagination.responsive li:not(.small-screen):not(.pagination-previous):not(.pagination-next) {\n display: none; }\n}\n "],encapsulation:2,changeDetection:0}),e}(),oo=function(e,t,n,r){var s,i=arguments.length,o=i<3?t:null===r?r=Object.getOwnPropertyDescriptor(t,n):r;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)o=Reflect.decorate(e,t,n,r);else for(var a=e.length-1;a>=0;a--)(s=e[a])&&(o=(i<3?s(o):i>3?s(t,n,o):s(t,n))||o);return i>3&&o&&Object.defineProperty(t,n,o),o},so=function(e,t){if("object"==typeof Reflect&&"function"==typeof Reflect.metadata)return Reflect.metadata(e,t)},XA=function(){function e(t,n){var r=this;this.service=t,this.changeDetectorRef=n,this.maxSize=7,this.pageChange=new se,this.pageBoundsCorrection=new se,this.pages=[],this.changeSub=this.service.change.subscribe(function(i){r.id===i&&(r.updatePageLinks(),r.changeDetectorRef.markForCheck(),r.changeDetectorRef.detectChanges())})}return e.prototype.ngOnInit=function(){void 0===this.id&&(this.id=this.service.defaultId()),this.updatePageLinks()},e.prototype.ngOnChanges=function(t){this.updatePageLinks()},e.prototype.ngOnDestroy=function(){this.changeSub.unsubscribe()},e.prototype.previous=function(){this.checkValidId(),this.setCurrent(this.getCurrent()-1)},e.prototype.next=function(){this.checkValidId(),this.setCurrent(this.getCurrent()+1)},e.prototype.isFirstPage=function(){return 1===this.getCurrent()},e.prototype.isLastPage=function(){return this.getLastPage()===this.getCurrent()},e.prototype.setCurrent=function(t){this.pageChange.emit(t)},e.prototype.getCurrent=function(){return this.service.getCurrentPage(this.id)},e.prototype.getLastPage=function(){var t=this.service.getInstance(this.id);return t.totalItems<1?1:Math.ceil(t.totalItems/t.itemsPerPage)},e.prototype.getTotalItems=function(){return this.service.getInstance(this.id).totalItems},e.prototype.checkValidId=function(){null==this.service.getInstance(this.id).id&&console.warn('PaginationControlsDirective: the specified id "'+this.id+'" does not match any registered PaginationInstance')},e.prototype.updatePageLinks=function(){var t=this,n=this.service.getInstance(this.id),r=this.outOfBoundCorrection(n);r!==n.currentPage?setTimeout(function(){t.pageBoundsCorrection.emit(r),t.pages=t.createPageArray(n.currentPage,n.itemsPerPage,n.totalItems,t.maxSize)}):this.pages=this.createPageArray(n.currentPage,n.itemsPerPage,n.totalItems,this.maxSize)},e.prototype.outOfBoundCorrection=function(t){var n=Math.ceil(t.totalItems/t.itemsPerPage);return n<t.currentPage&&0<n?n:t.currentPage<1?1:t.currentPage},e.prototype.createPageArray=function(t,n,r,i){i=+i;for(var o=[],s=Math.max(Math.ceil(r/n),1),a=Math.ceil(i/2),u=t<=a,l=s-a<t,c=!u&&!l,d=i<s,f=1;f<=s&&f<=i;){var p=this.calculatePageNumber(f,t,i,s);o.push({label:d&&(2===f&&(c||l)||f===i-1&&(c||u))?"...":p,value:p}),f++}return o},e.prototype.calculatePageNumber=function(t,n,r,i){var o=Math.ceil(r/2);return t===r?i:1===t?t:r<i?i-o<n?i-r+t:o<n?n-o+t:t:t},oo([wt(),so("design:type",String)],e.prototype,"id",void 0),oo([wt(),so("design:type",Number)],e.prototype,"maxSize",void 0),oo([xs(),so("design:type",se)],e.prototype,"pageChange",void 0),oo([xs(),so("design:type",se)],e.prototype,"pageBoundsCorrection",void 0),(e=oo([so("design:paramtypes",[io,Yi])],e)).\u0275fac=function(n){return new(n||e)(I(io),I(Yi))},e.\u0275dir=Pe({type:e,selectors:[["pagination-template"],["","pagination-template",""]],inputs:{maxSize:"maxSize",id:"id"},outputs:{pageChange:"pageChange",pageBoundsCorrection:"pageBoundsCorrection"},exportAs:["paginationApi"],features:[In]}),e}(),ex=function(){function e(){}return e.\u0275fac=function(n){return new(n||e)},e.\u0275mod=Ut({type:e}),e.\u0275inj=Tt({providers:[io],imports:[[ky]]}),e}();function L(...e){return Re(e,ci(e))}class Ht extends nn{constructor(t){super(),this._value=t}get value(){return this.getValue()}_subscribe(t){const n=super._subscribe(t);return!n.closed&&t.next(this._value),n}getValue(){const{hasError:t,thrownError:n,_value:r}=this;if(t)throw n;return this._throwIfClosed(),r}next(t){super.next(this._value=t)}}const{isArray:tx}=Array,{getPrototypeOf:nx,prototype:rx,keys:ix}=Object;const{isArray:ax}=Array;function dx(...e){const t=ci(e),n=function(e){return q(ba(e))?e.pop():void 0}(e),{args:r,keys:i}=function(e){if(1===e.length){const t=e[0];if(tx(t))return{args:t,keys:null};if(function(e){return e&&"object"==typeof e&&nx(e)===rx}(t)){const n=ix(t);return{args:n.map(r=>t[r]),keys:n}}}return{args:e,keys:null}}(e);if(0===r.length)return Re([],t);const o=new ae(function(e,t,n=Vn){return r=>{Yy(t,()=>{const{length:i}=e,o=new Array(i);let s=i,a=i;for(let u=0;u<i;u++)Yy(t,()=>{const l=Re(e[u],t);let c=!1;l.subscribe(new xe(r,d=>{o[u]=d,c||(c=!0,a--),a||r.next(n(o.slice()))},()=>{--s||r.complete()}))},r)},r)}}(r,t,i?s=>function(e,t){return e.reduce((n,r,i)=>(n[r]=t[i],n),{})}(i,s):Vn));return n?o.pipe(function(e){return Z(t=>function(e,t){return ax(t)?e(...t):e(t)}(e,t))}(n)):o}function Yy(e,t,n){e?on(n,e,t):t()}const Xs=Ie(e=>function(){e(this),this.name="EmptyError",this.message="no elements in sequence"});function bc(...e){return li(1)(Re(e,ci(e)))}function Xy(e){return new ae(t=>{rn(e()).subscribe(t)})}function ev(){return Ae((e,t)=>{let n=null;e._refCount++;const r=new xe(t,void 0,void 0,void 0,()=>{if(!e||e._refCount<=0||0<--e._refCount)return void(n=null);const i=e._connection,o=n;n=null,i&&(!o||i===o)&&i.unsubscribe(),t.unsubscribe()});e.subscribe(r),r.closed||(n=e.connect())})}class px extends ae{constructor(t,n){super(),this.source=t,this.subjectFactory=n,this._subject=null,this._refCount=0,this._connection=null,yd(t)&&(this.lift=t.lift)}_subscribe(t){return this.getSubject().subscribe(t)}getSubject(){const t=this._subject;return(!t||t.isStopped)&&(this._subject=this.subjectFactory()),this._subject}_teardown(){this._refCount=0;const{_connection:t}=this;this._subject=this._connection=null,null==t||t.unsubscribe()}connect(){let t=this._connection;if(!t){t=this._connection=new ht;const n=this.getSubject();t.add(this.source.subscribe(new xe(n,void 0,()=>{this._teardown(),n.complete()},r=>{this._teardown(),n.error(r)},()=>this._teardown()))),t.closed&&(this._connection=null,t=ht.EMPTY)}return t}refCount(){return ev()(this)}}function er(e,t){return Ae((n,r)=>{let i=null,o=0,s=!1;const a=()=>s&&!i&&r.complete();n.subscribe(new xe(r,u=>{null==i||i.unsubscribe();let l=0;const c=o++;rn(e(u,c)).subscribe(i=new xe(r,d=>r.next(t?t(u,d,c,l++):d),()=>{i=null,a()}))},()=>{s=!0,a()}))})}function mx(e,t,n,r,i){return(o,s)=>{let a=n,u=t,l=0;o.subscribe(new xe(s,c=>{const d=l++;u=a?e(u,c,d):(a=!0,c),r&&s.next(u)},i&&(()=>{a&&s.next(u),s.complete()})))}}function tv(e,t){return Ae(mx(e,t,arguments.length>=2,!0))}function tr(e,t){return Ae((n,r)=>{let i=0;n.subscribe(new xe(r,o=>e.call(t,o,i++)&&r.next(o)))})}function kn(e){return Ae((t,n)=>{let o,r=null,i=!1;r=t.subscribe(new xe(n,void 0,void 0,s=>{o=rn(e(s,kn(e)(t))),r?(r.unsubscribe(),r=null,o.subscribe(n)):i=!0})),i&&(r.unsubscribe(),r=null,o.subscribe(n))})}function ni(e,t){return q(t)?Se(e,t,1):Se(e,1)}function Ic(e){return e<=0?()=>sn:Ae((t,n)=>{let r=[];t.subscribe(new xe(n,i=>{r.push(i),e<r.length&&r.shift()},()=>{for(const i of r)n.next(i);n.complete()},void 0,()=>{r=null}))})}function nv(e=yx){return Ae((t,n)=>{let r=!1;t.subscribe(new xe(n,i=>{r=!0,n.next(i)},()=>r?n.complete():n.error(e())))})}function yx(){return new Xs}function rv(e){return Ae((t,n)=>{let r=!1;t.subscribe(new xe(n,i=>{r=!0,n.next(i)},()=>{r||n.next(e),n.complete()}))})}function ri(e,t){const n=arguments.length>=2;return r=>r.pipe(e?tr((i,o)=>e(i,o,r)):Vn,bo(1),n?rv(t):nv(()=>new Xs))}function ct(e,t,n){const r=q(e)||t||n?{next:e,error:t,complete:n}:e;return r?Ae((i,o)=>{var s;null===(s=r.subscribe)||void 0===s||s.call(r);let a=!0;i.subscribe(new xe(o,u=>{var l;null===(l=r.next)||void 0===l||l.call(r,u),o.next(u)},()=>{var u;a=!1,null===(u=r.complete)||void 0===u||u.call(r),o.complete()},u=>{var l;a=!1,null===(l=r.error)||void 0===l||l.call(r,u),o.error(u)},()=>{var u,l;a&&(null===(u=r.unsubscribe)||void 0===u||u.call(r)),null===(l=r.finalize)||void 0===l||l.call(r)}))}):Vn}class Dn{constructor(t,n){this.id=t,this.url=n}}class Sc extends Dn{constructor(t,n,r="imperative",i=null){super(t,n),this.navigationTrigger=r,this.restoredState=i}toString(){return`NavigationStart(id: ${this.id}, url: '${this.url}')`}}class ao extends Dn{constructor(t,n,r){super(t,n),this.urlAfterRedirects=r}toString(){return`NavigationEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}')`}}class iv extends Dn{constructor(t,n,r){super(t,n),this.reason=r}toString(){return`NavigationCancel(id: ${this.id}, url: '${this.url}')`}}class _x extends Dn{constructor(t,n,r){super(t,n),this.error=r}toString(){return`NavigationError(id: ${this.id}, url: '${this.url}', error: ${this.error})`}}class Cx extends Dn{constructor(t,n,r,i){super(t,n),this.urlAfterRedirects=r,this.state=i}toString(){return`RoutesRecognized(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}}class wx extends Dn{constructor(t,n,r,i){super(t,n),this.urlAfterRedirects=r,this.state=i}toString(){return`GuardsCheckStart(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}}class Ex extends Dn{constructor(t,n,r,i,o){super(t,n),this.urlAfterRedirects=r,this.state=i,this.shouldActivate=o}toString(){return`GuardsCheckEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state}, shouldActivate: ${this.shouldActivate})`}}class bx extends Dn{constructor(t,n,r,i){super(t,n),this.urlAfterRedirects=r,this.state=i}toString(){return`ResolveStart(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}}class Ix extends Dn{constructor(t,n,r,i){super(t,n),this.urlAfterRedirects=r,this.state=i}toString(){return`ResolveEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}}class ov{constructor(t){this.route=t}toString(){return`RouteConfigLoadStart(path: ${this.route.path})`}}class sv{constructor(t){this.route=t}toString(){return`RouteConfigLoadEnd(path: ${this.route.path})`}}class Sx{constructor(t){this.snapshot=t}toString(){return`ChildActivationStart(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}}class Tx{constructor(t){this.snapshot=t}toString(){return`ChildActivationEnd(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}}class Mx{constructor(t){this.snapshot=t}toString(){return`ActivationStart(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}}class Ax{constructor(t){this.snapshot=t}toString(){return`ActivationEnd(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}}class av{constructor(t,n,r){this.routerEvent=t,this.position=n,this.anchor=r}toString(){return`Scroll(anchor: '${this.anchor}', position: '${this.position?`${this.position[0]}, ${this.position[1]}`:null}')`}}const U="primary";class xx{constructor(t){this.params=t||{}}has(t){return Object.prototype.hasOwnProperty.call(this.params,t)}get(t){if(this.has(t)){const n=this.params[t];return Array.isArray(n)?n[0]:n}return null}getAll(t){if(this.has(t)){const n=this.params[t];return Array.isArray(n)?n:[n]}return[]}get keys(){return Object.keys(this.params)}}function ii(e){return new xx(e)}const uv="ngNavigationCancelingError";function Tc(e){const t=Error("NavigationCancelingError: "+e);return t[uv]=!0,t}function Px(e,t,n){const r=n.path.split("/");if(r.length>e.length||"full"===n.pathMatch&&(t.hasChildren()||r.length<e.length))return null;const i={};for(let o=0;o<r.length;o++){const s=r[o],a=e[o];if(s.startsWith(":"))i[s.substring(1)]=a;else if(s!==a.path)return null}return{consumed:e.slice(0,r.length),posParams:i}}function en(e,t){const n=e?Object.keys(e):void 0,r=t?Object.keys(t):void 0;if(!n||!r||n.length!=r.length)return!1;let i;for(let o=0;o<n.length;o++)if(i=n[o],!lv(e[i],t[i]))return!1;return!0}function lv(e,t){if(Array.isArray(e)&&Array.isArray(t)){if(e.length!==t.length)return!1;const n=[...e].sort(),r=[...t].sort();return n.every((i,o)=>r[o]===i)}return e===t}function cv(e){return Array.prototype.concat.apply([],e)}function dv(e){return e.length>0?e[e.length-1]:null}function Fe(e,t){for(const n in e)e.hasOwnProperty(n)&&t(e[n],n)}function tn(e){return Up(e)?e:hs(e)?Re(Promise.resolve(e)):L(e)}const Ox={exact:function pv(e,t,n){if(!rr(e.segments,t.segments)||!ea(e.segments,t.segments,n)||e.numberOfChildren!==t.numberOfChildren)return!1;for(const r in t.children)if(!e.children[r]||!pv(e.children[r],t.children[r],n))return!1;return!0},subset:gv},fv={exact:function(e,t){return en(e,t)},subset:function(e,t){return Object.keys(t).length<=Object.keys(e).length&&Object.keys(t).every(n=>lv(e[n],t[n]))},ignored:()=>!0};function hv(e,t,n){return Ox[n.paths](e.root,t.root,n.matrixParams)&&fv[n.queryParams](e.queryParams,t.queryParams)&&!("exact"===n.fragment&&e.fragment!==t.fragment)}function gv(e,t,n){return mv(e,t,t.segments,n)}function mv(e,t,n,r){if(e.segments.length>n.length){const i=e.segments.slice(0,n.length);return!(!rr(i,n)||t.hasChildren()||!ea(i,n,r))}if(e.segments.length===n.length){if(!rr(e.segments,n)||!ea(e.segments,n,r))return!1;for(const i in t.children)if(!e.children[i]||!gv(e.children[i],t.children[i],r))return!1;return!0}{const i=n.slice(0,e.segments.length),o=n.slice(e.segments.length);return!!(rr(e.segments,i)&&ea(e.segments,i,r)&&e.children[U])&&mv(e.children[U],t,o,r)}}function ea(e,t,n){return t.every((r,i)=>fv[n](e[i].parameters,r.parameters))}class nr{constructor(t,n,r){this.root=t,this.queryParams=n,this.fragment=r}get queryParamMap(){return this._queryParamMap||(this._queryParamMap=ii(this.queryParams)),this._queryParamMap}toString(){return Hx.serialize(this)}}class G{constructor(t,n){this.segments=t,this.children=n,this.parent=null,Fe(n,(r,i)=>r.parent=this)}hasChildren(){return this.numberOfChildren>0}get numberOfChildren(){return Object.keys(this.children).length}toString(){return ta(this)}}class uo{constructor(t,n){this.path=t,this.parameters=n}get parameterMap(){return this._parameterMap||(this._parameterMap=ii(this.parameters)),this._parameterMap}toString(){return Cv(this)}}function rr(e,t){return e.length===t.length&&e.every((n,r)=>n.path===t[r].path)}class yv{}class vv{parse(t){const n=new Zx(t);return new nr(n.parseRootSegment(),n.parseQueryParams(),n.parseFragment())}serialize(t){const n=`/${lo(t.root,!0)}`,r=function(e){const t=Object.keys(e).map(n=>{const r=e[n];return Array.isArray(r)?r.map(i=>`${na(n)}=${na(i)}`).join("&"):`${na(n)}=${na(r)}`}).filter(n=>!!n);return t.length?`?${t.join("&")}`:""}(t.queryParams);var e;return`${n}${r}${"string"==typeof t.fragment?`#${e=t.fragment,encodeURI(e)}`:""}`}}const Hx=new vv;function ta(e){return e.segments.map(t=>Cv(t)).join("/")}function lo(e,t){if(!e.hasChildren())return ta(e);if(t){const n=e.children[U]?lo(e.children[U],!1):"",r=[];return Fe(e.children,(i,o)=>{o!==U&&r.push(`${o}:${lo(i,!1)}`)}),r.length>0?`${n}(${r.join("//")})`:n}{const n=function(e,t){let n=[];return Fe(e.children,(r,i)=>{i===U&&(n=n.concat(t(r,i)))}),Fe(e.children,(r,i)=>{i!==U&&(n=n.concat(t(r,i)))}),n}(e,(r,i)=>i===U?[lo(e.children[U],!1)]:[`${i}:${lo(r,!1)}`]);return 1===Object.keys(e.children).length&&null!=e.children[U]?`${ta(e)}/${n[0]}`:`${ta(e)}/(${n.join("//")})`}}function Dv(e){return encodeURIComponent(e).replace(/%40/g,"@").replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",")}function na(e){return Dv(e).replace(/%3B/gi,";")}function Mc(e){return Dv(e).replace(/\(/g,"%28").replace(/\)/g,"%29").replace(/%26/gi,"&")}function ra(e){return decodeURIComponent(e)}function _v(e){return ra(e.replace(/\+/g,"%20"))}function Cv(e){return`${Mc(e.path)}${function(e){return Object.keys(e).map(t=>`;${Mc(t)}=${Mc(e[t])}`).join("")}(e.parameters)}`}const zx=/^[^\/()?;=#]+/;function ia(e){const t=e.match(zx);return t?t[0]:""}const Gx=/^[^=?&#]+/,Wx=/^[^&#]+/;class Zx{constructor(t){this.url=t,this.remaining=t}parseRootSegment(){return this.consumeOptional("/"),""===this.remaining||this.peekStartsWith("?")||this.peekStartsWith("#")?new G([],{}):new G([],this.parseChildren())}parseQueryParams(){const t={};if(this.consumeOptional("?"))do{this.parseQueryParam(t)}while(this.consumeOptional("&"));return t}parseFragment(){return this.consumeOptional("#")?decodeURIComponent(this.remaining):null}parseChildren(){if(""===this.remaining)return{};this.consumeOptional("/");const t=[];for(this.peekStartsWith("(")||t.push(this.parseSegment());this.peekStartsWith("/")&&!this.peekStartsWith("//")&&!this.peekStartsWith("/(");)this.capture("/"),t.push(this.parseSegment());let n={};this.peekStartsWith("/(")&&(this.capture("/"),n=this.parseParens(!0));let r={};return this.peekStartsWith("(")&&(r=this.parseParens(!1)),(t.length>0||Object.keys(n).length>0)&&(r[U]=new G(t,n)),r}parseSegment(){const t=ia(this.remaining);if(""===t&&this.peekStartsWith(";"))throw new Error(`Empty path url segment cannot have parameters: '${this.remaining}'.`);return this.capture(t),new uo(ra(t),this.parseMatrixParams())}parseMatrixParams(){const t={};for(;this.consumeOptional(";");)this.parseParam(t);return t}parseParam(t){const n=ia(this.remaining);if(!n)return;this.capture(n);let r="";if(this.consumeOptional("=")){const i=ia(this.remaining);i&&(r=i,this.capture(r))}t[ra(n)]=ra(r)}parseQueryParam(t){const n=function(e){const t=e.match(Gx);return t?t[0]:""}(this.remaining);if(!n)return;this.capture(n);let r="";if(this.consumeOptional("=")){const s=function(e){const t=e.match(Wx);return t?t[0]:""}(this.remaining);s&&(r=s,this.capture(r))}const i=_v(n),o=_v(r);if(t.hasOwnProperty(i)){let s=t[i];Array.isArray(s)||(s=[s],t[i]=s),s.push(o)}else t[i]=o}parseParens(t){const n={};for(this.capture("(");!this.consumeOptional(")")&&this.remaining.length>0;){const r=ia(this.remaining),i=this.remaining[r.length];if("/"!==i&&")"!==i&&";"!==i)throw new Error(`Cannot parse url '${this.url}'`);let o;r.indexOf(":")>-1?(o=r.substr(0,r.indexOf(":")),this.capture(o),this.capture(":")):t&&(o=U);const s=this.parseChildren();n[o]=1===Object.keys(s).length?s[U]:new G([],s),this.consumeOptional("//")}return n}peekStartsWith(t){return this.remaining.startsWith(t)}consumeOptional(t){return!!this.peekStartsWith(t)&&(this.remaining=this.remaining.substring(t.length),!0)}capture(t){if(!this.consumeOptional(t))throw new Error(`Expected "${t}".`)}}class wv{constructor(t){this._root=t}get root(){return this._root.value}parent(t){const n=this.pathFromRoot(t);return n.length>1?n[n.length-2]:null}children(t){const n=Ac(t,this._root);return n?n.children.map(r=>r.value):[]}firstChild(t){const n=Ac(t,this._root);return n&&n.children.length>0?n.children[0].value:null}siblings(t){const n=xc(t,this._root);return n.length<2?[]:n[n.length-2].children.map(i=>i.value).filter(i=>i!==t)}pathFromRoot(t){return xc(t,this._root).map(n=>n.value)}}function Ac(e,t){if(e===t.value)return t;for(const n of t.children){const r=Ac(e,n);if(r)return r}return null}function xc(e,t){if(e===t.value)return[t];for(const n of t.children){const r=xc(e,n);if(r.length)return r.unshift(t),r}return[]}class _n{constructor(t,n){this.value=t,this.children=n}toString(){return`TreeNode(${this.value})`}}function oi(e){const t={};return e&&e.children.forEach(n=>t[n.value.outlet]=n),t}class Ev extends wv{constructor(t,n){super(t),this.snapshot=n,Rc(this,t)}toString(){return this.snapshot.toString()}}function bv(e,t){const n=function(e,t){const s=new oa([],{},{},"",{},U,t,null,e.root,-1,{});return new Sv("",new _n(s,[]))}(e,t),r=new Ht([new uo("",{})]),i=new Ht({}),o=new Ht({}),s=new Ht({}),a=new Ht(""),u=new si(r,i,s,a,o,U,t,n.root);return u.snapshot=n.root,new Ev(new _n(u,[]),n)}class si{constructor(t,n,r,i,o,s,a,u){this.url=t,this.params=n,this.queryParams=r,this.fragment=i,this.data=o,this.outlet=s,this.component=a,this._futureSnapshot=u}get routeConfig(){return this._futureSnapshot.routeConfig}get root(){return this._routerState.root}get parent(){return this._routerState.parent(this)}get firstChild(){return this._routerState.firstChild(this)}get children(){return this._routerState.children(this)}get pathFromRoot(){return this._routerState.pathFromRoot(this)}get paramMap(){return this._paramMap||(this._paramMap=this.params.pipe(Z(t=>ii(t)))),this._paramMap}get queryParamMap(){return this._queryParamMap||(this._queryParamMap=this.queryParams.pipe(Z(t=>ii(t)))),this._queryParamMap}toString(){return this.snapshot?this.snapshot.toString():`Future(${this._futureSnapshot})`}}function Iv(e,t="emptyOnly"){const n=e.pathFromRoot;let r=0;if("always"!==t)for(r=n.length-1;r>=1;){const i=n[r],o=n[r-1];if(i.routeConfig&&""===i.routeConfig.path)r--;else{if(o.component)break;r--}}return function(e){return e.reduce((t,n)=>({params:x(x({},t.params),n.params),data:x(x({},t.data),n.data),resolve:x(x({},t.resolve),n._resolvedData)}),{params:{},data:{},resolve:{}})}(n.slice(r))}class oa{constructor(t,n,r,i,o,s,a,u,l,c,d){this.url=t,this.params=n,this.queryParams=r,this.fragment=i,this.data=o,this.outlet=s,this.component=a,this.routeConfig=u,this._urlSegment=l,this._lastPathIndex=c,this._resolve=d}get root(){return this._routerState.root}get parent(){return this._routerState.parent(this)}get firstChild(){return this._routerState.firstChild(this)}get children(){return this._routerState.children(this)}get pathFromRoot(){return this._routerState.pathFromRoot(this)}get paramMap(){return this._paramMap||(this._paramMap=ii(this.params)),this._paramMap}get queryParamMap(){return this._queryParamMap||(this._queryParamMap=ii(this.queryParams)),this._queryParamMap}toString(){return`Route(url:'${this.url.map(r=>r.toString()).join("/")}', path:'${this.routeConfig?this.routeConfig.path:""}')`}}class Sv extends wv{constructor(t,n){super(n),this.url=t,Rc(this,n)}toString(){return Tv(this._root)}}function Rc(e,t){t.value._routerState=e,t.children.forEach(n=>Rc(e,n))}function Tv(e){const t=e.children.length>0?` { ${e.children.map(Tv).join(", ")} } `:"";return`${e.value}${t}`}function Pc(e){if(e.snapshot){const t=e.snapshot,n=e._futureSnapshot;e.snapshot=n,en(t.queryParams,n.queryParams)||e.queryParams.next(n.queryParams),t.fragment!==n.fragment&&e.fragment.next(n.fragment),en(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(!en(e[n],t[n]))return!1;return!0}(t.url,n.url)||e.url.next(n.url),en(t.data,n.data)||e.data.next(n.data)}else e.snapshot=e._futureSnapshot,e.data.next(e._futureSnapshot.data)}function Nc(e,t){const n=en(e.params,t.params)&&function(e,t){return rr(e,t)&&e.every((n,r)=>en(n.parameters,t[r].parameters))}(e.url,t.url);return n&&!(!e.parent!=!t.parent)&&(!e.parent||Nc(e.parent,t.parent))}function co(e,t,n){if(n&&e.shouldReuseRoute(t.value,n.value.snapshot)){const r=n.value;r._futureSnapshot=t.value;const i=function(e,t,n){return t.children.map(r=>{for(const i of n.children)if(e.shouldReuseRoute(r.value,i.value.snapshot))return co(e,r,i);return co(e,r)})}(e,t,n);return new _n(r,i)}{if(e.shouldAttach(t.value)){const o=e.retrieve(t.value);if(null!==o){const s=o.route;return s.value._futureSnapshot=t.value,s.children=t.children.map(a=>co(e,a)),s}}const r=function(e){return new si(new Ht(e.url),new Ht(e.params),new Ht(e.queryParams),new Ht(e.fragment),new Ht(e.data),e.outlet,e.component,e)}(t.value),i=t.children.map(o=>co(e,o));return new _n(r,i)}}function sa(e){return"object"==typeof e&&null!=e&&!e.outlets&&!e.segmentPath}function fo(e){return"object"==typeof e&&null!=e&&e.outlets}function Fc(e,t,n,r,i){let o={};return r&&Fe(r,(s,a)=>{o[a]=Array.isArray(s)?s.map(u=>`${u}`):`${s}`}),new nr(n.root===e?t:Mv(n.root,e,t),o,i)}function Mv(e,t,n){const r={};return Fe(e.children,(i,o)=>{r[o]=i===t?n:Mv(i,t,n)}),new G(e.segments,r)}class Av{constructor(t,n,r){if(this.isAbsolute=t,this.numberOfDoubleDots=n,this.commands=r,t&&r.length>0&&sa(r[0]))throw new Error("Root segment cannot have matrix parameters");const i=r.find(fo);if(i&&i!==dv(r))throw new Error("{outlets:{}} has to be the last command")}toRoot(){return this.isAbsolute&&1===this.commands.length&&"/"==this.commands[0]}}class Oc{constructor(t,n,r){this.segmentGroup=t,this.processChildren=n,this.index=r}}function xv(e,t,n){if(e||(e=new G([],{})),0===e.segments.length&&e.hasChildren())return aa(e,t,n);const r=function(e,t,n){let r=0,i=t;const o={match:!1,pathIndex:0,commandIndex:0};for(;i<e.segments.length;){if(r>=n.length)return o;const s=e.segments[i],a=n[r];if(fo(a))break;const u=`${a}`,l=r<n.length-1?n[r+1]:null;if(i>0&&void 0===u)break;if(u&&l&&"object"==typeof l&&void 0===l.outlets){if(!Pv(u,l,s))return o;r+=2}else{if(!Pv(u,{},s))return o;r++}i++}return{match:!0,pathIndex:i,commandIndex:r}}(e,t,n),i=n.slice(r.commandIndex);if(r.match&&r.pathIndex<e.segments.length){const o=new G(e.segments.slice(0,r.pathIndex),{});return o.children[U]=new G(e.segments.slice(r.pathIndex),e.children),aa(o,0,i)}return r.match&&0===i.length?new G(e.segments,{}):r.match&&!e.hasChildren()?kc(e,t,n):r.match?aa(e,0,i):kc(e,t,n)}function aa(e,t,n){if(0===n.length)return new G(e.segments,{});{const r=function(e){return fo(e[0])?e[0].outlets:{[U]:e}}(n),i={};return Fe(r,(o,s)=>{"string"==typeof o&&(o=[o]),null!==o&&(i[s]=xv(e.children[s],t,o))}),Fe(e.children,(o,s)=>{void 0===r[s]&&(i[s]=o)}),new G(e.segments,i)}}function kc(e,t,n){const r=e.segments.slice(0,t);let i=0;for(;i<n.length;){const o=n[i];if(fo(o)){const u=a1(o.outlets);return new G(r,u)}if(0===i&&sa(n[0])){r.push(new uo(e.segments[t].path,Rv(n[0]))),i++;continue}const s=fo(o)?o.outlets[U]:`${o}`,a=i<n.length-1?n[i+1]:null;s&&a&&sa(a)?(r.push(new uo(s,Rv(a))),i+=2):(r.push(new uo(s,{})),i++)}return new G(r,{})}function a1(e){const t={};return Fe(e,(n,r)=>{"string"==typeof n&&(n=[n]),null!==n&&(t[r]=kc(new G([],{}),0,n))}),t}function Rv(e){const t={};return Fe(e,(n,r)=>t[r]=`${n}`),t}function Pv(e,t,n){return e==n.path&&en(t,n.parameters)}class l1{constructor(t,n,r,i){this.routeReuseStrategy=t,this.futureState=n,this.currState=r,this.forwardEvent=i}activate(t){const n=this.futureState._root,r=this.currState?this.currState._root:null;this.deactivateChildRoutes(n,r,t),Pc(this.futureState.root),this.activateChildRoutes(n,r,t)}deactivateChildRoutes(t,n,r){const i=oi(n);t.children.forEach(o=>{const s=o.value.outlet;this.deactivateRoutes(o,i[s],r),delete i[s]}),Fe(i,(o,s)=>{this.deactivateRouteAndItsChildren(o,r)})}deactivateRoutes(t,n,r){const i=t.value,o=n?n.value:null;if(i===o)if(i.component){const s=r.getContext(i.outlet);s&&this.deactivateChildRoutes(t,n,s.children)}else this.deactivateChildRoutes(t,n,r);else o&&this.deactivateRouteAndItsChildren(n,r)}deactivateRouteAndItsChildren(t,n){t.value.component&&this.routeReuseStrategy.shouldDetach(t.value.snapshot)?this.detachAndStoreRouteSubtree(t,n):this.deactivateRouteAndOutlet(t,n)}detachAndStoreRouteSubtree(t,n){const r=n.getContext(t.value.outlet),i=r&&t.value.component?r.children:n,o=oi(t);for(const s of Object.keys(o))this.deactivateRouteAndItsChildren(o[s],i);if(r&&r.outlet){const s=r.outlet.detach(),a=r.children.onOutletDeactivated();this.routeReuseStrategy.store(t.value.snapshot,{componentRef:s,route:t,contexts:a})}}deactivateRouteAndOutlet(t,n){const r=n.getContext(t.value.outlet),i=r&&t.value.component?r.children:n,o=oi(t);for(const s of Object.keys(o))this.deactivateRouteAndItsChildren(o[s],i);r&&r.outlet&&(r.outlet.deactivate(),r.children.onOutletDeactivated(),r.attachRef=null,r.resolver=null,r.route=null)}activateChildRoutes(t,n,r){const i=oi(n);t.children.forEach(o=>{this.activateRoutes(o,i[o.value.outlet],r),this.forwardEvent(new Ax(o.value.snapshot))}),t.children.length&&this.forwardEvent(new Tx(t.value.snapshot))}activateRoutes(t,n,r){const i=t.value,o=n?n.value:null;if(Pc(i),i===o)if(i.component){const s=r.getOrCreateContext(i.outlet);this.activateChildRoutes(t,n,s.children)}else this.activateChildRoutes(t,n,r);else if(i.component){const s=r.getOrCreateContext(i.outlet);if(this.routeReuseStrategy.shouldAttach(i.snapshot)){const a=this.routeReuseStrategy.retrieve(i.snapshot);this.routeReuseStrategy.store(i.snapshot,null),s.children.onOutletReAttached(a.contexts),s.attachRef=a.componentRef,s.route=a.route.value,s.outlet&&s.outlet.attach(a.componentRef,a.route.value),Pc(a.route.value),this.activateChildRoutes(t,null,s.children)}else{const a=function(e){for(let t=e.parent;t;t=t.parent){const n=t.routeConfig;if(n&&n._loadedConfig)return n._loadedConfig;if(n&&n.component)return null}return null}(i.snapshot),u=a?a.module.componentFactoryResolver:null;s.attachRef=null,s.route=i,s.resolver=u,s.outlet&&s.outlet.activateWith(i,u),this.activateChildRoutes(t,null,s.children)}}else this.activateChildRoutes(t,null,r)}}class Lc{constructor(t,n){this.routes=t,this.module=n}}function Ln(e){return"function"==typeof e}function ir(e){return e instanceof nr}const ho=Symbol("INITIAL_VALUE");function po(){return er(e=>dx(e.map(t=>t.pipe(bo(1),function(...e){const t=ci(e);return Ae((n,r)=>{(t?bc(e,n,t):bc(e,n)).subscribe(r)})}(ho)))).pipe(tv((t,n)=>{let r=!1;return n.reduce((i,o,s)=>i!==ho?i:(o===ho&&(r=!0),r||!1!==o&&s!==n.length-1&&!ir(o)?i:o),t)},ho),tr(t=>t!==ho),Z(t=>ir(t)?t:!0===t),bo(1)))}class m1{constructor(){this.outlet=null,this.route=null,this.resolver=null,this.children=new go,this.attachRef=null}}class go{constructor(){this.contexts=new Map}onChildOutletCreated(t,n){const r=this.getOrCreateContext(t);r.outlet=n,this.contexts.set(t,r)}onChildOutletDestroyed(t){const n=this.getContext(t);n&&(n.outlet=null,n.attachRef=null)}onOutletDeactivated(){const t=this.contexts;return this.contexts=new Map,t}onOutletReAttached(t){this.contexts=t}getOrCreateContext(t){let n=this.getContext(t);return n||(n=new m1,this.contexts.set(t,n)),n}getContext(t){return this.contexts.get(t)||null}}let Bc=(()=>{class e{constructor(n,r,i,o,s){this.parentContexts=n,this.location=r,this.resolver=i,this.changeDetector=s,this.activated=null,this._activatedRoute=null,this.activateEvents=new se,this.deactivateEvents=new se,this.attachEvents=new se,this.detachEvents=new se,this.name=o||U,n.onChildOutletCreated(this.name,this)}ngOnDestroy(){this.parentContexts.onChildOutletDestroyed(this.name)}ngOnInit(){if(!this.activated){const n=this.parentContexts.getContext(this.name);n&&n.route&&(n.attachRef?this.attach(n.attachRef,n.route):this.activateWith(n.route,n.resolver||null))}}get isActivated(){return!!this.activated}get component(){if(!this.activated)throw new Error("Outlet is not activated");return this.activated.instance}get activatedRoute(){if(!this.activated)throw new Error("Outlet is not activated");return this._activatedRoute}get activatedRouteData(){return this._activatedRoute?this._activatedRoute.snapshot.data:{}}detach(){if(!this.activated)throw new Error("Outlet is not activated");this.location.detach();const n=this.activated;return this.activated=null,this._activatedRoute=null,this.detachEvents.emit(n.instance),n}attach(n,r){this.activated=n,this._activatedRoute=r,this.location.insert(n.hostView),this.attachEvents.emit(n.instance)}deactivate(){if(this.activated){const n=this.component;this.activated.destroy(),this.activated=null,this._activatedRoute=null,this.deactivateEvents.emit(n)}}activateWith(n,r){if(this.isActivated)throw new Error("Cannot activate an already activated outlet");this._activatedRoute=n;const s=(r=r||this.resolver).resolveComponentFactory(n._futureSnapshot.routeConfig.component),a=this.parentContexts.getOrCreateContext(this.name).children,u=new y1(n,a,this.location.injector);this.activated=this.location.createComponent(s,this.location.length,u),this.changeDetector.markForCheck(),this.activateEvents.emit(this.activated.instance)}}return e.\u0275fac=function(n){return new(n||e)(I(go),I(kt),I(Zr),function(e){return function(e,t){if("class"===t)return e.classes;if("style"===t)return e.styles;const n=e.attrs;if(n){const r=n.length;let i=0;for(;i<r;){const o=n[i];if(df(o))break;if(0===o)i+=2;else if("number"==typeof o)for(i++;i<r&&"string"==typeof n[i];)i++;else{if(o===t)return n[i+1];i+=2}}}return null}(_e(),e)}("name"),I(Yi))},e.\u0275dir=Pe({type:e,selectors:[["router-outlet"]],outputs:{activateEvents:"activate",deactivateEvents:"deactivate",attachEvents:"attach",detachEvents:"detach"},exportAs:["outlet"]}),e})();class y1{constructor(t,n,r){this.route=t,this.childContexts=n,this.parent=r}get(t,n){return t===si?this.route:t===go?this.childContexts:this.parent.get(t,n)}}let Nv=(()=>{class e{}return e.\u0275fac=function(n){return new(n||e)},e.\u0275cmp=ln({type:e,selectors:[["ng-component"]],decls:1,vars:0,template:function(n,r){1&n&&Ne(0,"router-outlet")},directives:[Bc],encapsulation:2}),e})();function Fv(e,t=""){for(let n=0;n<e.length;n++){const r=e[n];v1(r,D1(t,r))}}function v1(e,t){e.children&&Fv(e.children,t)}function D1(e,t){return t?e||t.path?e&&!t.path?`${e}/`:!e&&t.path?t.path:`${e}/${t.path}`:"":e}function jc(e){const t=e.children&&e.children.map(jc),n=t?et(x({},e),{children:t}):x({},e);return!n.component&&(t||n.loadChildren)&&n.outlet&&n.outlet!==U&&(n.component=Nv),n}function St(e){return e.outlet||U}function Ov(e,t){const n=e.filter(r=>St(r)===t);return n.push(...e.filter(r=>St(r)!==t)),n}const kv={matched:!1,consumedSegments:[],lastChild:0,parameters:{},positionalParamSegments:{}};function ua(e,t,n){var a;if(""===t.path)return"full"===t.pathMatch&&(e.hasChildren()||n.length>0)?x({},kv):{matched:!0,consumedSegments:[],lastChild:0,parameters:{},positionalParamSegments:{}};const i=(t.matcher||Px)(n,e,t);if(!i)return x({},kv);const o={};Fe(i.posParams,(u,l)=>{o[l]=u.path});const s=i.consumed.length>0?x(x({},o),i.consumed[i.consumed.length-1].parameters):o;return{matched:!0,consumedSegments:i.consumed,lastChild:i.consumed.length,parameters:s,positionalParamSegments:null!=(a=i.posParams)?a:{}}}function la(e,t,n,r,i="corrected"){if(n.length>0&&function(e,t,n){return n.some(r=>ca(e,t,r)&&St(r)!==U)}(e,n,r)){const s=new G(t,function(e,t,n,r){const i={};i[U]=r,r._sourceSegment=e,r._segmentIndexShift=t.length;for(const o of n)if(""===o.path&&St(o)!==U){const s=new G([],{});s._sourceSegment=e,s._segmentIndexShift=t.length,i[St(o)]=s}return i}(e,t,r,new G(n,e.children)));return s._sourceSegment=e,s._segmentIndexShift=t.length,{segmentGroup:s,slicedSegments:[]}}if(0===n.length&&function(e,t,n){return n.some(r=>ca(e,t,r))}(e,n,r)){const s=new G(e.segments,function(e,t,n,r,i,o){const s={};for(const a of r)if(ca(e,n,a)&&!i[St(a)]){const u=new G([],{});u._sourceSegment=e,u._segmentIndexShift="legacy"===o?e.segments.length:t.length,s[St(a)]=u}return x(x({},i),s)}(e,t,n,r,e.children,i));return s._sourceSegment=e,s._segmentIndexShift=t.length,{segmentGroup:s,slicedSegments:n}}const o=new G(e.segments,e.children);return o._sourceSegment=e,o._segmentIndexShift=t.length,{segmentGroup:o,slicedSegments:n}}function ca(e,t,n){return(!(e.hasChildren()||t.length>0)||"full"!==n.pathMatch)&&""===n.path}function Lv(e,t,n,r){return!!(St(e)===r||r!==U&&ca(t,n,e))&&("**"===e.path||ua(t,e,n).matched)}function Bv(e,t,n){return 0===t.length&&!e.children[n]}class mo{constructor(t){this.segmentGroup=t||null}}class jv{constructor(t){this.urlTree=t}}function da(e){return new ae(t=>t.error(new mo(e)))}function Hv(e){return new ae(t=>t.error(new jv(e)))}function b1(e){return new ae(t=>t.error(new Error(`Only absolute redirects can have named outlets. redirectTo: '${e}'`)))}class T1{constructor(t,n,r,i,o){this.configLoader=n,this.urlSerializer=r,this.urlTree=i,this.config=o,this.allowRedirects=!0,this.ngModule=t.get(gn)}apply(){const t=la(this.urlTree.root,[],[],this.config).segmentGroup,n=new G(t.segments,t.children);return this.expandSegmentGroup(this.ngModule,this.config,n,U).pipe(Z(o=>this.createUrlTree(Hc(o),this.urlTree.queryParams,this.urlTree.fragment))).pipe(kn(o=>{if(o instanceof jv)return this.allowRedirects=!1,this.match(o.urlTree);throw o instanceof mo?this.noMatchError(o):o}))}match(t){return this.expandSegmentGroup(this.ngModule,this.config,t.root,U).pipe(Z(i=>this.createUrlTree(Hc(i),t.queryParams,t.fragment))).pipe(kn(i=>{throw i instanceof mo?this.noMatchError(i):i}))}noMatchError(t){return new Error(`Cannot match any routes. URL Segment: '${t.segmentGroup}'`)}createUrlTree(t,n,r){const i=t.segments.length>0?new G([],{[U]:t}):t;return new nr(i,n,r)}expandSegmentGroup(t,n,r,i){return 0===r.segments.length&&r.hasChildren()?this.expandChildren(t,n,r).pipe(Z(o=>new G([],o))):this.expandSegment(t,r,n,r.segments,i,!0)}expandChildren(t,n,r){const i=[];for(const o of Object.keys(r.children))"primary"===o?i.unshift(o):i.push(o);return Re(i).pipe(ni(o=>{const s=r.children[o],a=Ov(n,o);return this.expandSegmentGroup(t,a,s,o).pipe(Z(u=>({segment:u,outlet:o})))}),tv((o,s)=>(o[s.outlet]=s.segment,o),{}),function(e,t){const n=arguments.length>=2;return r=>r.pipe(e?tr((i,o)=>e(i,o,r)):Vn,Ic(1),n?rv(t):nv(()=>new Xs))}())}expandSegment(t,n,r,i,o,s){return Re(r).pipe(ni(a=>this.expandSegmentAgainstRoute(t,n,r,a,i,o,s).pipe(kn(l=>{if(l instanceof mo)return L(null);throw l}))),ri(a=>!!a),kn((a,u)=>{if(a instanceof Xs||"EmptyError"===a.name){if(Bv(n,i,o))return L(new G([],{}));throw new mo(n)}throw a}))}expandSegmentAgainstRoute(t,n,r,i,o,s,a){return Lv(i,n,o,s)?void 0===i.redirectTo?this.matchSegmentAgainstRoute(t,n,i,o,s):a&&this.allowRedirects?this.expandSegmentAgainstRouteUsingRedirect(t,n,r,i,o,s):da(n):da(n)}expandSegmentAgainstRouteUsingRedirect(t,n,r,i,o,s){return"**"===i.path?this.expandWildCardWithParamsAgainstRouteUsingRedirect(t,r,i,s):this.expandRegularSegmentAgainstRouteUsingRedirect(t,n,r,i,o,s)}expandWildCardWithParamsAgainstRouteUsingRedirect(t,n,r,i){const o=this.applyRedirectCommands([],r.redirectTo,{});return r.redirectTo.startsWith("/")?Hv(o):this.lineralizeSegments(r,o).pipe(Se(s=>{const a=new G(s,{});return this.expandSegment(t,a,n,s,i,!1)}))}expandRegularSegmentAgainstRouteUsingRedirect(t,n,r,i,o,s){const{matched:a,consumedSegments:u,lastChild:l,positionalParamSegments:c}=ua(n,i,o);if(!a)return da(n);const d=this.applyRedirectCommands(u,i.redirectTo,c);return i.redirectTo.startsWith("/")?Hv(d):this.lineralizeSegments(i,d).pipe(Se(f=>this.expandSegment(t,n,r,f.concat(o.slice(l)),s,!1)))}matchSegmentAgainstRoute(t,n,r,i,o){if("**"===r.path)return r.loadChildren?(r._loadedConfig?L(r._loadedConfig):this.configLoader.load(t.injector,r)).pipe(Z(f=>(r._loadedConfig=f,new G(i,{})))):L(new G(i,{}));const{matched:s,consumedSegments:a,lastChild:u}=ua(n,r,i);if(!s)return da(n);const l=i.slice(u);return this.getChildConfig(t,r,i).pipe(Se(d=>{const f=d.module,h=d.routes,{segmentGroup:p,slicedSegments:m}=la(n,a,l,h),y=new G(p.segments,p.children);if(0===m.length&&y.hasChildren())return this.expandChildren(f,h,y).pipe(Z(M=>new G(a,M)));if(0===h.length&&0===m.length)return L(new G(a,{}));const v=St(r)===o;return this.expandSegment(f,y,h,m,v?U:o,!0).pipe(Z(b=>new G(a.concat(b.segments),b.children)))}))}getChildConfig(t,n,r){return n.children?L(new Lc(n.children,t)):n.loadChildren?void 0!==n._loadedConfig?L(n._loadedConfig):this.runCanLoadGuards(t.injector,n,r).pipe(Se(i=>{return i?this.configLoader.load(t.injector,n).pipe(Z(o=>(n._loadedConfig=o,o))):(e=n,new ae(t=>t.error(Tc(`Cannot load children because the guard of the route "path: '${e.path}'" returned false`))));var e})):L(new Lc([],t))}runCanLoadGuards(t,n,r){const i=n.canLoad;return i&&0!==i.length?L(i.map(s=>{const a=t.get(s);let u;if((e=a)&&Ln(e.canLoad))u=a.canLoad(n,r);else{if(!Ln(a))throw new Error("Invalid CanLoad guard");u=a(n,r)}var e;return tn(u)})).pipe(po(),ct(s=>{if(!ir(s))return;const a=Tc(`Redirecting to "${this.urlSerializer.serialize(s)}"`);throw a.url=s,a}),Z(s=>!0===s)):L(!0)}lineralizeSegments(t,n){let r=[],i=n.root;for(;;){if(r=r.concat(i.segments),0===i.numberOfChildren)return L(r);if(i.numberOfChildren>1||!i.children[U])return b1(t.redirectTo);i=i.children[U]}}applyRedirectCommands(t,n,r){return this.applyRedirectCreatreUrlTree(n,this.urlSerializer.parse(n),t,r)}applyRedirectCreatreUrlTree(t,n,r,i){const o=this.createSegmentGroup(t,n.root,r,i);return new nr(o,this.createQueryParams(n.queryParams,this.urlTree.queryParams),n.fragment)}createQueryParams(t,n){const r={};return Fe(t,(i,o)=>{if("string"==typeof i&&i.startsWith(":")){const a=i.substring(1);r[o]=n[a]}else r[o]=i}),r}createSegmentGroup(t,n,r,i){const o=this.createSegments(t,n.segments,r,i);let s={};return Fe(n.children,(a,u)=>{s[u]=this.createSegmentGroup(t,a,r,i)}),new G(o,s)}createSegments(t,n,r,i){return n.map(o=>o.path.startsWith(":")?this.findPosParam(t,o,i):this.findOrReturn(o,r))}findPosParam(t,n,r){const i=r[n.path.substring(1)];if(!i)throw new Error(`Cannot redirect to '${t}'. Cannot find '${n.path}'.`);return i}findOrReturn(t,n){let r=0;for(const i of n){if(i.path===t.path)return n.splice(r),i;r++}return t}}function Hc(e){const t={};for(const r of Object.keys(e.children)){const o=Hc(e.children[r]);(o.segments.length>0||o.hasChildren())&&(t[r]=o)}return function(e){if(1===e.numberOfChildren&&e.children[U]){const t=e.children[U];return new G(e.segments.concat(t.segments),t.children)}return e}(new G(e.segments,t))}class Vv{constructor(t){this.path=t,this.route=this.path[this.path.length-1]}}class fa{constructor(t,n){this.component=t,this.route=n}}function x1(e,t,n){const r=e._root;return yo(r,t?t._root:null,n,[r.value])}function ha(e,t,n){const r=function(e){if(!e)return null;for(let t=e.parent;t;t=t.parent){const n=t.routeConfig;if(n&&n._loadedConfig)return n._loadedConfig}return null}(t);return(r?r.module.injector:n).get(e)}function yo(e,t,n,r,i={canDeactivateChecks:[],canActivateChecks:[]}){const o=oi(t);return e.children.forEach(s=>{(function(e,t,n,r,i={canDeactivateChecks:[],canActivateChecks:[]}){const o=e.value,s=t?t.value:null,a=n?n.getContext(e.value.outlet):null;if(s&&o.routeConfig===s.routeConfig){const u=function(e,t,n){if("function"==typeof n)return n(e,t);switch(n){case"pathParamsChange":return!rr(e.url,t.url);case"pathParamsOrQueryParamsChange":return!rr(e.url,t.url)||!en(e.queryParams,t.queryParams);case"always":return!0;case"paramsOrQueryParamsChange":return!Nc(e,t)||!en(e.queryParams,t.queryParams);default:return!Nc(e,t)}}(s,o,o.routeConfig.runGuardsAndResolvers);u?i.canActivateChecks.push(new Vv(r)):(o.data=s.data,o._resolvedData=s._resolvedData),yo(e,t,o.component?a?a.children:null:n,r,i),u&&a&&a.outlet&&a.outlet.isActivated&&i.canDeactivateChecks.push(new fa(a.outlet.component,s))}else s&&vo(t,a,i),i.canActivateChecks.push(new Vv(r)),yo(e,null,o.component?a?a.children:null:n,r,i)})(s,o[s.value.outlet],n,r.concat([s.value]),i),delete o[s.value.outlet]}),Fe(o,(s,a)=>vo(s,n.getContext(a),i)),i}function vo(e,t,n){const r=oi(e),i=e.value;Fe(r,(o,s)=>{vo(o,i.component?t?t.children.getContext(s):null:t,n)}),n.canDeactivateChecks.push(new fa(i.component&&t&&t.outlet&&t.outlet.isActivated?t.outlet.component:null,i))}class $1{}function Uv(e){return new ae(t=>t.error(e))}class G1{constructor(t,n,r,i,o,s){this.rootComponentType=t,this.config=n,this.urlTree=r,this.url=i,this.paramsInheritanceStrategy=o,this.relativeLinkResolution=s}recognize(){const t=la(this.urlTree.root,[],[],this.config.filter(s=>void 0===s.redirectTo),this.relativeLinkResolution).segmentGroup,n=this.processSegmentGroup(this.config,t,U);if(null===n)return null;const r=new oa([],Object.freeze({}),Object.freeze(x({},this.urlTree.queryParams)),this.urlTree.fragment,{},U,this.rootComponentType,null,this.urlTree.root,-1,{}),i=new _n(r,n),o=new Sv(this.url,i);return this.inheritParamsAndData(o._root),o}inheritParamsAndData(t){const n=t.value,r=Iv(n,this.paramsInheritanceStrategy);n.params=Object.freeze(r.params),n.data=Object.freeze(r.data),t.children.forEach(i=>this.inheritParamsAndData(i))}processSegmentGroup(t,n,r){return 0===n.segments.length&&n.hasChildren()?this.processChildren(t,n):this.processSegment(t,n,n.segments,r)}processChildren(t,n){const r=[];for(const o of Object.keys(n.children)){const s=n.children[o],a=Ov(t,o),u=this.processSegmentGroup(a,s,o);if(null===u)return null;r.push(...u)}const i=$v(r);return i.sort((t,n)=>t.value.outlet===U?-1:n.value.outlet===U?1:t.value.outlet.localeCompare(n.value.outlet)),i}processSegment(t,n,r,i){for(const o of t){const s=this.processSegmentAgainstRoute(o,n,r,i);if(null!==s)return s}return Bv(n,r,i)?[]:null}processSegmentAgainstRoute(t,n,r,i){if(t.redirectTo||!Lv(t,n,r,i))return null;let o,s=[],a=[];if("**"===t.path){const h=r.length>0?dv(r).parameters:{};o=new oa(r,h,Object.freeze(x({},this.urlTree.queryParams)),this.urlTree.fragment,qv(t),St(t),t.component,t,zv(n),Gv(n)+r.length,Wv(t))}else{const h=ua(n,t,r);if(!h.matched)return null;s=h.consumedSegments,a=r.slice(h.lastChild),o=new oa(s,h.parameters,Object.freeze(x({},this.urlTree.queryParams)),this.urlTree.fragment,qv(t),St(t),t.component,t,zv(n),Gv(n)+s.length,Wv(t))}const u=(e=t).children?e.children:e.loadChildren?e._loadedConfig.routes:[],{segmentGroup:l,slicedSegments:c}=la(n,s,a,u.filter(h=>void 0===h.redirectTo),this.relativeLinkResolution);var e;if(0===c.length&&l.hasChildren()){const h=this.processChildren(u,l);return null===h?null:[new _n(o,h)]}if(0===u.length&&0===c.length)return[new _n(o,[])];const d=St(t)===i,f=this.processSegment(u,l,c,d?U:i);return null===f?null:[new _n(o,f)]}}function Q1(e){const t=e.value.routeConfig;return t&&""===t.path&&void 0===t.redirectTo}function $v(e){const t=[],n=new Set;for(const r of e){if(!Q1(r)){t.push(r);continue}const i=t.find(o=>r.value.routeConfig===o.value.routeConfig);void 0!==i?(i.children.push(...r.children),n.add(i)):t.push(r)}for(const r of n){const i=$v(r.children);t.push(new _n(r.value,i))}return t.filter(r=>!n.has(r))}function zv(e){let t=e;for(;t._sourceSegment;)t=t._sourceSegment;return t}function Gv(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 qv(e){return e.data||{}}function Wv(e){return e.resolve||{}}function Vc(e){return er(t=>{const n=e(t);return n?Re(n).pipe(Z(()=>t)):L(t)})}class nR extends class{shouldDetach(t){return!1}store(t,n){}shouldAttach(t){return!1}retrieve(t){return null}shouldReuseRoute(t,n){return t.routeConfig===n.routeConfig}}{}const Uc=new z("ROUTES");class Qv{constructor(t,n,r,i){this.injector=t,this.compiler=n,this.onLoadStartListener=r,this.onLoadEndListener=i}load(t,n){if(n._loader$)return n._loader$;this.onLoadStartListener&&this.onLoadStartListener(n);const i=this.loadModuleFactory(n.loadChildren).pipe(Z(o=>{this.onLoadEndListener&&this.onLoadEndListener(n);const s=o.create(t);return new Lc(cv(s.injector.get(Uc,void 0,F.Self|F.Optional)).map(jc),s)}),kn(o=>{throw n._loader$=void 0,o}));return n._loader$=new px(i,()=>new nn).pipe(ev()),n._loader$}loadModuleFactory(t){return tn(t()).pipe(Se(n=>n instanceof lm?L(n):Re(this.compiler.compileModuleAsync(n))))}}class iR{shouldProcessUrl(t){return!0}extract(t){return t}merge(t,n){return t}}function oR(e){throw e}function sR(e,t,n){return t.parse("/")}function Zv(e,t){return L(null)}const aR={paths:"exact",fragment:"ignored",matrixParams:"ignored",queryParams:"exact"},uR={paths:"subset",fragment:"ignored",matrixParams:"ignored",queryParams:"subset"};let dt=(()=>{class e{constructor(n,r,i,o,s,a,u){this.rootComponentType=n,this.urlSerializer=r,this.rootContexts=i,this.location=o,this.config=u,this.lastSuccessfulNavigation=null,this.currentNavigation=null,this.disposed=!1,this.navigationId=0,this.currentPageId=0,this.isNgZoneEnabled=!1,this.events=new nn,this.errorHandler=oR,this.malformedUriErrorHandler=sR,this.navigated=!1,this.lastSuccessfulId=-1,this.hooks={beforePreactivation:Zv,afterPreactivation:Zv},this.urlHandlingStrategy=new iR,this.routeReuseStrategy=new nR,this.onSameUrlNavigation="ignore",this.paramsInheritanceStrategy="emptyOnly",this.urlUpdateStrategy="deferred",this.relativeLinkResolution="corrected",this.canceledNavigationResolution="replace",this.ngModule=s.get(gn),this.console=s.get(qm);const d=s.get(Ee);this.isNgZoneEnabled=d instanceof Ee&&Ee.isInAngularZone(),this.resetConfig(u),this.currentUrlTree=new nr(new G([],{}),{},null),this.rawUrlTree=this.currentUrlTree,this.browserUrlTree=this.currentUrlTree,this.configLoader=new Qv(s,a,f=>this.triggerEvent(new ov(f)),f=>this.triggerEvent(new sv(f))),this.routerState=bv(this.currentUrlTree,this.rootComponentType),this.transitions=new Ht({id:0,targetPageId:0,currentUrlTree:this.currentUrlTree,currentRawUrl:this.currentUrlTree,extractedUrl:this.urlHandlingStrategy.extract(this.currentUrlTree),urlAfterRedirects:this.urlHandlingStrategy.extract(this.currentUrlTree),rawUrl:this.currentUrlTree,extras:{},resolve:null,reject:null,promise:Promise.resolve(!0),source:"imperative",restoredState:null,currentSnapshot:this.routerState.snapshot,targetSnapshot:null,currentRouterState:this.routerState,targetRouterState:null,guards:{canActivateChecks:[],canDeactivateChecks:[]},guardsResult:null}),this.navigations=this.setupNavigations(this.transitions),this.processNavigations()}get browserPageId(){var n;return null==(n=this.location.getState())?void 0:n.\u0275routerPageId}setupNavigations(n){const r=this.events;return n.pipe(tr(i=>0!==i.id),Z(i=>et(x({},i),{extractedUrl:this.urlHandlingStrategy.extract(i.rawUrl)})),er(i=>{let o=!1,s=!1;return L(i).pipe(ct(a=>{this.currentNavigation={id:a.id,initialUrl:a.currentRawUrl,extractedUrl:a.extractedUrl,trigger:a.source,extras:a.extras,previousNavigation:this.lastSuccessfulNavigation?et(x({},this.lastSuccessfulNavigation),{previousNavigation:null}):null}}),er(a=>{const u=this.browserUrlTree.toString(),l=!this.navigated||a.extractedUrl.toString()!==u||u!==this.currentUrlTree.toString();if(("reload"===this.onSameUrlNavigation||l)&&this.urlHandlingStrategy.shouldProcessUrl(a.rawUrl))return pa(a.source)&&(this.browserUrlTree=a.extractedUrl),L(a).pipe(er(d=>{const f=this.transitions.getValue();return r.next(new Sc(d.id,this.serializeUrl(d.extractedUrl),d.source,d.restoredState)),f!==this.transitions.getValue()?sn:Promise.resolve(d)}),function(e,t,n,r){return er(i=>function(e,t,n,r,i){return new T1(e,t,n,r,i).apply()}(e,t,n,i.extractedUrl,r).pipe(Z(o=>et(x({},i),{urlAfterRedirects:o}))))}(this.ngModule.injector,this.configLoader,this.urlSerializer,this.config),ct(d=>{this.currentNavigation=et(x({},this.currentNavigation),{finalUrl:d.urlAfterRedirects})}),function(e,t,n,r,i){return Se(o=>function(e,t,n,r,i="emptyOnly",o="legacy"){try{const s=new G1(e,t,n,r,i,o).recognize();return null===s?Uv(new $1):L(s)}catch(s){return Uv(s)}}(e,t,o.urlAfterRedirects,n(o.urlAfterRedirects),r,i).pipe(Z(s=>et(x({},o),{targetSnapshot:s}))))}(this.rootComponentType,this.config,d=>this.serializeUrl(d),this.paramsInheritanceStrategy,this.relativeLinkResolution),ct(d=>{if("eager"===this.urlUpdateStrategy){if(!d.extras.skipLocationChange){const h=this.urlHandlingStrategy.merge(d.urlAfterRedirects,d.rawUrl);this.setBrowserUrl(h,d)}this.browserUrlTree=d.urlAfterRedirects}const f=new Cx(d.id,this.serializeUrl(d.extractedUrl),this.serializeUrl(d.urlAfterRedirects),d.targetSnapshot);r.next(f)}));if(l&&this.rawUrlTree&&this.urlHandlingStrategy.shouldProcessUrl(this.rawUrlTree)){const{id:f,extractedUrl:h,source:p,restoredState:m,extras:y}=a,v=new Sc(f,this.serializeUrl(h),p,m);r.next(v);const g=bv(h,this.rootComponentType).snapshot;return L(et(x({},a),{targetSnapshot:g,urlAfterRedirects:h,extras:et(x({},y),{skipLocationChange:!1,replaceUrl:!1})}))}return this.rawUrlTree=a.rawUrl,a.resolve(null),sn}),Vc(a=>{const{targetSnapshot:u,id:l,extractedUrl:c,rawUrl:d,extras:{skipLocationChange:f,replaceUrl:h}}=a;return this.hooks.beforePreactivation(u,{navigationId:l,appliedUrlTree:c,rawUrlTree:d,skipLocationChange:!!f,replaceUrl:!!h})}),ct(a=>{const u=new wx(a.id,this.serializeUrl(a.extractedUrl),this.serializeUrl(a.urlAfterRedirects),a.targetSnapshot);this.triggerEvent(u)}),Z(a=>et(x({},a),{guards:x1(a.targetSnapshot,a.currentSnapshot,this.rootContexts)})),function(e,t){return Se(n=>{const{targetSnapshot:r,currentSnapshot:i,guards:{canActivateChecks:o,canDeactivateChecks:s}}=n;return 0===s.length&&0===o.length?L(et(x({},n),{guardsResult:!0})):function(e,t,n,r){return Re(e).pipe(Se(i=>function(e,t,n,r,i){const o=t&&t.routeConfig?t.routeConfig.canDeactivate:null;return o&&0!==o.length?L(o.map(a=>{const u=ha(a,t,i);let l;if(function(e){return e&&Ln(e.canDeactivate)}(u))l=tn(u.canDeactivate(e,t,n,r));else{if(!Ln(u))throw new Error("Invalid CanDeactivate guard");l=tn(u(e,t,n,r))}return l.pipe(ri())})).pipe(po()):L(!0)}(i.component,i.route,n,t,r)),ri(i=>!0!==i,!0))}(s,r,i,e).pipe(Se(a=>a&&function(e){return"boolean"==typeof e}(a)?function(e,t,n,r){return Re(t).pipe(ni(i=>bc(function(e,t){return null!==e&&t&&t(new Sx(e)),L(!0)}(i.route.parent,r),function(e,t){return null!==e&&t&&t(new Mx(e)),L(!0)}(i.route,r),function(e,t,n){const r=t[t.length-1],o=t.slice(0,t.length-1).reverse().map(s=>function(e){const t=e.routeConfig?e.routeConfig.canActivateChild:null;return t&&0!==t.length?{node:e,guards:t}:null}(s)).filter(s=>null!==s).map(s=>Xy(()=>L(s.guards.map(u=>{const l=ha(u,s.node,n);let c;if(function(e){return e&&Ln(e.canActivateChild)}(l))c=tn(l.canActivateChild(r,e));else{if(!Ln(l))throw new Error("Invalid CanActivateChild guard");c=tn(l(r,e))}return c.pipe(ri())})).pipe(po())));return L(o).pipe(po())}(e,i.path,n),function(e,t,n){const r=t.routeConfig?t.routeConfig.canActivate:null;if(!r||0===r.length)return L(!0);const i=r.map(o=>Xy(()=>{const s=ha(o,t,n);let a;if(function(e){return e&&Ln(e.canActivate)}(s))a=tn(s.canActivate(t,e));else{if(!Ln(s))throw new Error("Invalid CanActivate guard");a=tn(s(t,e))}return a.pipe(ri())}));return L(i).pipe(po())}(e,i.route,n))),ri(i=>!0!==i,!0))}(r,o,e,t):L(a)),Z(a=>et(x({},n),{guardsResult:a})))})}(this.ngModule.injector,a=>this.triggerEvent(a)),ct(a=>{if(ir(a.guardsResult)){const l=Tc(`Redirecting to "${this.serializeUrl(a.guardsResult)}"`);throw l.url=a.guardsResult,l}const u=new Ex(a.id,this.serializeUrl(a.extractedUrl),this.serializeUrl(a.urlAfterRedirects),a.targetSnapshot,!!a.guardsResult);this.triggerEvent(u)}),tr(a=>!!a.guardsResult||(this.restoreHistory(a),this.cancelNavigationTransition(a,""),!1)),Vc(a=>{if(a.guards.canActivateChecks.length)return L(a).pipe(ct(u=>{const l=new bx(u.id,this.serializeUrl(u.extractedUrl),this.serializeUrl(u.urlAfterRedirects),u.targetSnapshot);this.triggerEvent(l)}),er(u=>{let l=!1;return L(u).pipe(function(e,t){return Se(n=>{const{targetSnapshot:r,guards:{canActivateChecks:i}}=n;if(!i.length)return L(n);let o=0;return Re(i).pipe(ni(s=>function(e,t,n,r){return function(e,t,n,r){const i=Object.keys(e);if(0===i.length)return L({});const o={};return Re(i).pipe(Se(s=>function(e,t,n,r){const i=ha(e,t,r);return tn(i.resolve?i.resolve(t,n):i(t,n))}(e[s],t,n,r).pipe(ct(a=>{o[s]=a}))),Ic(1),Se(()=>Object.keys(o).length===i.length?L(o):sn))}(e._resolve,e,t,r).pipe(Z(o=>(e._resolvedData=o,e.data=x(x({},e.data),Iv(e,n).resolve),null)))}(s.route,r,e,t)),ct(()=>o++),Ic(1),Se(s=>o===i.length?L(n):sn))})}(this.paramsInheritanceStrategy,this.ngModule.injector),ct({next:()=>l=!0,complete:()=>{l||(this.restoreHistory(u),this.cancelNavigationTransition(u,"At least one route resolver didn't emit any value."))}}))}),ct(u=>{const l=new Ix(u.id,this.serializeUrl(u.extractedUrl),this.serializeUrl(u.urlAfterRedirects),u.targetSnapshot);this.triggerEvent(l)}))}),Vc(a=>{const{targetSnapshot:u,id:l,extractedUrl:c,rawUrl:d,extras:{skipLocationChange:f,replaceUrl:h}}=a;return this.hooks.afterPreactivation(u,{navigationId:l,appliedUrlTree:c,rawUrlTree:d,skipLocationChange:!!f,replaceUrl:!!h})}),Z(a=>{const u=function(e,t,n){const r=co(e,t._root,n?n._root:void 0);return new Ev(r,t)}(this.routeReuseStrategy,a.targetSnapshot,a.currentRouterState);return et(x({},a),{targetRouterState:u})}),ct(a=>{this.currentUrlTree=a.urlAfterRedirects,this.rawUrlTree=this.urlHandlingStrategy.merge(a.urlAfterRedirects,a.rawUrl),this.routerState=a.targetRouterState,"deferred"===this.urlUpdateStrategy&&(a.extras.skipLocationChange||this.setBrowserUrl(this.rawUrlTree,a),this.browserUrlTree=a.urlAfterRedirects)}),((e,t,n)=>Z(r=>(new l1(t,r.targetRouterState,r.currentRouterState,n).activate(e),r)))(this.rootContexts,this.routeReuseStrategy,a=>this.triggerEvent(a)),ct({next(){o=!0},complete(){o=!0}}),function(e){return Ae((t,n)=>{try{t.subscribe(n)}finally{n.add(e)}})}(()=>{var a;o||s||this.cancelNavigationTransition(i,`Navigation ID ${i.id} is not equal to the current navigation id ${this.navigationId}`),(null==(a=this.currentNavigation)?void 0:a.id)===i.id&&(this.currentNavigation=null)}),kn(a=>{if(s=!0,function(e){return e&&e[uv]}(a)){const u=ir(a.url);u||(this.navigated=!0,this.restoreHistory(i,!0));const l=new iv(i.id,this.serializeUrl(i.extractedUrl),a.message);r.next(l),u?setTimeout(()=>{const c=this.urlHandlingStrategy.merge(a.url,this.rawUrlTree),d={skipLocationChange:i.extras.skipLocationChange,replaceUrl:"eager"===this.urlUpdateStrategy||pa(i.source)};this.scheduleNavigation(c,"imperative",null,d,{resolve:i.resolve,reject:i.reject,promise:i.promise})},0):i.resolve(!1)}else{this.restoreHistory(i,!0);const u=new _x(i.id,this.serializeUrl(i.extractedUrl),a);r.next(u);try{i.resolve(this.errorHandler(a))}catch(l){i.reject(l)}}return sn}))}))}resetRootComponentType(n){this.rootComponentType=n,this.routerState.root.component=this.rootComponentType}setTransition(n){this.transitions.next(x(x({},this.transitions.value),n))}initialNavigation(){this.setUpLocationChangeListener(),0===this.navigationId&&this.navigateByUrl(this.location.path(!0),{replaceUrl:!0})}setUpLocationChangeListener(){this.locationSubscription||(this.locationSubscription=this.location.subscribe(n=>{const r="popstate"===n.type?"popstate":"hashchange";"popstate"===r&&setTimeout(()=>{var a;const i={replaceUrl:!0},o=(null==(a=n.state)?void 0:a.navigationId)?n.state:null;if(o){const u=x({},o);delete u.navigationId,delete u.\u0275routerPageId,0!==Object.keys(u).length&&(i.state=u)}const s=this.parseUrl(n.url);this.scheduleNavigation(s,r,o,i)},0)}))}get url(){return this.serializeUrl(this.currentUrlTree)}getCurrentNavigation(){return this.currentNavigation}triggerEvent(n){this.events.next(n)}resetConfig(n){Fv(n),this.config=n.map(jc),this.navigated=!1,this.lastSuccessfulId=-1}ngOnDestroy(){this.dispose()}dispose(){this.transitions.complete(),this.locationSubscription&&(this.locationSubscription.unsubscribe(),this.locationSubscription=void 0),this.disposed=!0}createUrlTree(n,r={}){const{relativeTo:i,queryParams:o,fragment:s,queryParamsHandling:a,preserveFragment:u}=r,l=i||this.routerState.root,c=u?this.currentUrlTree.fragment:s;let d=null;switch(a){case"merge":d=x(x({},this.currentUrlTree.queryParams),o);break;case"preserve":d=this.currentUrlTree.queryParams;break;default:d=o||null}return null!==d&&(d=this.removeEmptyProps(d)),function(e,t,n,r,i){if(0===n.length)return Fc(t.root,t.root,t,r,i);const o=function(e){if("string"==typeof e[0]&&1===e.length&&"/"===e[0])return new Av(!0,0,e);let t=0,n=!1;const r=e.reduce((i,o,s)=>{if("object"==typeof o&&null!=o){if(o.outlets){const a={};return Fe(o.outlets,(u,l)=>{a[l]="string"==typeof u?u.split("/"):u}),[...i,{outlets:a}]}if(o.segmentPath)return[...i,o.segmentPath]}return"string"!=typeof o?[...i,o]:0===s?(o.split("/").forEach((a,u)=>{0==u&&"."===a||(0==u&&""===a?n=!0:".."===a?t++:""!=a&&i.push(a))}),i):[...i,o]},[]);return new Av(n,t,r)}(n);if(o.toRoot())return Fc(t.root,new G([],{}),t,r,i);const s=function(e,t,n){if(e.isAbsolute)return new Oc(t.root,!0,0);if(-1===n.snapshot._lastPathIndex){const o=n.snapshot._urlSegment;return new Oc(o,o===t.root,0)}const r=sa(e.commands[0])?0:1;return function(e,t,n){let r=e,i=t,o=n;for(;o>i;){if(o-=i,r=r.parent,!r)throw new Error("Invalid number of '../'");i=r.segments.length}return new Oc(r,!1,i-o)}(n.snapshot._urlSegment,n.snapshot._lastPathIndex+r,e.numberOfDoubleDots)}(o,t,e),a=s.processChildren?aa(s.segmentGroup,s.index,o.commands):xv(s.segmentGroup,s.index,o.commands);return Fc(s.segmentGroup,a,t,r,i)}(l,this.currentUrlTree,n,d,null!=c?c:null)}navigateByUrl(n,r={skipLocationChange:!1}){const i=ir(n)?n:this.parseUrl(n),o=this.urlHandlingStrategy.merge(i,this.rawUrlTree);return this.scheduleNavigation(o,"imperative",null,r)}navigate(n,r={skipLocationChange:!1}){return function(e){for(let t=0;t<e.length;t++){const n=e[t];if(null==n)throw new Error(`The requested path contains ${n} segment at index ${t}`)}}(n),this.navigateByUrl(this.createUrlTree(n,r),r)}serializeUrl(n){return this.urlSerializer.serialize(n)}parseUrl(n){let r;try{r=this.urlSerializer.parse(n)}catch(i){r=this.malformedUriErrorHandler(i,this.urlSerializer,n)}return r}isActive(n,r){let i;if(i=!0===r?x({},aR):!1===r?x({},uR):r,ir(n))return hv(this.currentUrlTree,n,i);const o=this.parseUrl(n);return hv(this.currentUrlTree,o,i)}removeEmptyProps(n){return Object.keys(n).reduce((r,i)=>{const o=n[i];return null!=o&&(r[i]=o),r},{})}processNavigations(){this.navigations.subscribe(n=>{this.navigated=!0,this.lastSuccessfulId=n.id,this.currentPageId=n.targetPageId,this.events.next(new ao(n.id,this.serializeUrl(n.extractedUrl),this.serializeUrl(this.currentUrlTree))),this.lastSuccessfulNavigation=this.currentNavigation,n.resolve(!0)},n=>{this.console.warn(`Unhandled Navigation Error: ${n}`)})}scheduleNavigation(n,r,i,o,s){var v,g,b;if(this.disposed)return Promise.resolve(!1);const a=this.transitions.value,u=pa(r)&&a&&!pa(a.source),l=a.rawUrl.toString()===n.toString(),c=a.id===(null==(v=this.currentNavigation)?void 0:v.id);if(u&&l&&c)return Promise.resolve(!0);let f,h,p;s?(f=s.resolve,h=s.reject,p=s.promise):p=new Promise((M,Q)=>{f=M,h=Q});const m=++this.navigationId;let y;return"computed"===this.canceledNavigationResolution?(0===this.currentPageId&&(i=this.location.getState()),y=i&&i.\u0275routerPageId?i.\u0275routerPageId:o.replaceUrl||o.skipLocationChange?null!=(g=this.browserPageId)?g:0:(null!=(b=this.browserPageId)?b:0)+1):y=0,this.setTransition({id:m,targetPageId:y,source:r,restoredState:i,currentUrlTree:this.currentUrlTree,currentRawUrl:this.rawUrlTree,rawUrl:n,extras:o,resolve:f,reject:h,promise:p,currentSnapshot:this.routerState.snapshot,currentRouterState:this.routerState}),p.catch(M=>Promise.reject(M))}setBrowserUrl(n,r){const i=this.urlSerializer.serialize(n),o=x(x({},r.extras.state),this.generateNgRouterState(r.id,r.targetPageId));this.location.isCurrentPathEqualTo(i)||r.extras.replaceUrl?this.location.replaceState(i,"",o):this.location.go(i,"",o)}restoreHistory(n,r=!1){var i,o;if("computed"===this.canceledNavigationResolution){const s=this.currentPageId-n.targetPageId;"popstate"!==n.source&&"eager"!==this.urlUpdateStrategy&&this.currentUrlTree!==(null==(i=this.currentNavigation)?void 0:i.finalUrl)||0===s?this.currentUrlTree===(null==(o=this.currentNavigation)?void 0:o.finalUrl)&&0===s&&(this.resetState(n),this.browserUrlTree=n.currentUrlTree,this.resetUrlToCurrentUrlTree()):this.location.historyGo(s)}else"replace"===this.canceledNavigationResolution&&(r&&this.resetState(n),this.resetUrlToCurrentUrlTree())}resetState(n){this.routerState=n.currentRouterState,this.currentUrlTree=n.currentUrlTree,this.rawUrlTree=this.urlHandlingStrategy.merge(this.currentUrlTree,n.rawUrl)}resetUrlToCurrentUrlTree(){this.location.replaceState(this.urlSerializer.serialize(this.rawUrlTree),"",this.generateNgRouterState(this.lastSuccessfulId,this.currentPageId))}cancelNavigationTransition(n,r){const i=new iv(n.id,this.serializeUrl(n.extractedUrl),r);this.triggerEvent(i),n.resolve(!1)}generateNgRouterState(n,r){return"computed"===this.canceledNavigationResolution?{navigationId:n,\u0275routerPageId:r}:{navigationId:n}}}return e.\u0275fac=function(n){dl()},e.\u0275prov=k({token:e,factory:e.\u0275fac}),e})();function pa(e){return"imperative"!==e}class Jv{}class Kv{preload(t,n){return L(null)}}let Yv=(()=>{class e{constructor(n,r,i,o){this.router=n,this.injector=i,this.preloadingStrategy=o,this.loader=new Qv(i,r,u=>n.triggerEvent(new ov(u)),u=>n.triggerEvent(new sv(u)))}setUpPreloading(){this.subscription=this.router.events.pipe(tr(n=>n instanceof ao),ni(()=>this.preload())).subscribe(()=>{})}preload(){const n=this.injector.get(gn);return this.processRoutes(n,this.router.config)}ngOnDestroy(){this.subscription&&this.subscription.unsubscribe()}processRoutes(n,r){const i=[];for(const o of r)if(o.loadChildren&&!o.canLoad&&o._loadedConfig){const s=o._loadedConfig;i.push(this.processRoutes(s.module,s.routes))}else o.loadChildren&&!o.canLoad?i.push(this.preloadConfig(n,o)):o.children&&i.push(this.processRoutes(n,o.children));return Re(i).pipe(li(),Z(o=>{}))}preloadConfig(n,r){return this.preloadingStrategy.preload(r,()=>(r._loadedConfig?L(r._loadedConfig):this.loader.load(n.injector,r)).pipe(Se(o=>(r._loadedConfig=o,this.processRoutes(o.module,o.routes)))))}}return e.\u0275fac=function(n){return new(n||e)(S(dt),S(Fs),S(Be),S(Jv))},e.\u0275prov=k({token:e,factory:e.\u0275fac}),e})(),Gc=(()=>{class e{constructor(n,r,i={}){this.router=n,this.viewportScroller=r,this.options=i,this.lastId=0,this.lastSource="imperative",this.restoredId=0,this.store={},i.scrollPositionRestoration=i.scrollPositionRestoration||"disabled",i.anchorScrolling=i.anchorScrolling||"disabled"}init(){"disabled"!==this.options.scrollPositionRestoration&&this.viewportScroller.setHistoryScrollRestoration("manual"),this.routerEventsSubscription=this.createScrollEvents(),this.scrollEventsSubscription=this.consumeScrollEvents()}createScrollEvents(){return this.router.events.subscribe(n=>{n instanceof Sc?(this.store[this.lastId]=this.viewportScroller.getScrollPosition(),this.lastSource=n.navigationTrigger,this.restoredId=n.restoredState?n.restoredState.navigationId:0):n instanceof ao&&(this.lastId=n.id,this.scheduleScrollEvent(n,this.router.parseUrl(n.urlAfterRedirects).fragment))})}consumeScrollEvents(){return this.router.events.subscribe(n=>{n instanceof av&&(n.position?"top"===this.options.scrollPositionRestoration?this.viewportScroller.scrollToPosition([0,0]):"enabled"===this.options.scrollPositionRestoration&&this.viewportScroller.scrollToPosition(n.position):n.anchor&&"enabled"===this.options.anchorScrolling?this.viewportScroller.scrollToAnchor(n.anchor):"disabled"!==this.options.scrollPositionRestoration&&this.viewportScroller.scrollToPosition([0,0]))})}scheduleScrollEvent(n,r){this.router.triggerEvent(new av(n,"popstate"===this.lastSource?this.store[this.restoredId]:null,r))}ngOnDestroy(){this.routerEventsSubscription&&this.routerEventsSubscription.unsubscribe(),this.scrollEventsSubscription&&this.scrollEventsSubscription.unsubscribe()}}return e.\u0275fac=function(n){dl()},e.\u0275prov=k({token:e,factory:e.\u0275fac}),e})();const or=new z("ROUTER_CONFIGURATION"),Xv=new z("ROUTER_FORROOT_GUARD"),hR=[rc,{provide:yv,useClass:vv},{provide:dt,useFactory:function(e,t,n,r,i,o,s={},a,u){const l=new dt(null,e,t,n,r,i,cv(o));return a&&(l.urlHandlingStrategy=a),u&&(l.routeReuseStrategy=u),function(e,t){e.errorHandler&&(t.errorHandler=e.errorHandler),e.malformedUriErrorHandler&&(t.malformedUriErrorHandler=e.malformedUriErrorHandler),e.onSameUrlNavigation&&(t.onSameUrlNavigation=e.onSameUrlNavigation),e.paramsInheritanceStrategy&&(t.paramsInheritanceStrategy=e.paramsInheritanceStrategy),e.relativeLinkResolution&&(t.relativeLinkResolution=e.relativeLinkResolution),e.urlUpdateStrategy&&(t.urlUpdateStrategy=e.urlUpdateStrategy),e.canceledNavigationResolution&&(t.canceledNavigationResolution=e.canceledNavigationResolution)}(s,l),s.enableTracing&&l.events.subscribe(c=>{var d,f;null==(d=console.group)||d.call(console,`Router Event: ${c.constructor.name}`),console.log(c.toString()),console.log(c),null==(f=console.groupEnd)||f.call(console)}),l},deps:[yv,go,rc,Be,Fs,Uc,or,[class{},new qt],[class{},new qt]]},go,{provide:si,useFactory:function(e){return e.routerState.root},deps:[dt]},Yv,Kv,class{preload(t,n){return n().pipe(kn(()=>L(null)))}},{provide:or,useValue:{enableTracing:!1}}];function pR(){return new Ym("Router",dt)}let eD=(()=>{class e{constructor(n,r){}static forRoot(n,r){return{ngModule:e,providers:[hR,tD(n),{provide:Xv,useFactory:yR,deps:[[dt,new qt,new wr]]},{provide:or,useValue:r||{}},{provide:ti,useFactory:mR,deps:[Xn,[new Mi(nc),new qt],or]},{provide:Gc,useFactory:gR,deps:[dt,eA,or]},{provide:Jv,useExisting:r&&r.preloadingStrategy?r.preloadingStrategy:Kv},{provide:Ym,multi:!0,useFactory:pR},[qc,{provide:Ps,multi:!0,useFactory:CR,deps:[qc]},{provide:nD,useFactory:wR,deps:[qc]},{provide:Gm,multi:!0,useExisting:nD}]]}}static forChild(n){return{ngModule:e,providers:[tD(n)]}}}return e.\u0275fac=function(n){return new(n||e)(S(Xv,8),S(dt,8))},e.\u0275mod=Ut({type:e}),e.\u0275inj=Tt({}),e})();function gR(e,t,n){return n.scrollOffset&&t.setOffset(n.scrollOffset),new Gc(e,t,n)}function mR(e,t,n={}){return n.useHash?new kT(e,t):new _y(e,t)}function yR(e){return"guarded"}function tD(e){return[{provide:sC,multi:!0,useValue:e},{provide:Uc,multi:!0,useValue:e}]}let qc=(()=>{class e{constructor(n){this.injector=n,this.initNavigation=!1,this.destroyed=!1,this.resultOfPreactivationDone=new nn}appInitializer(){return this.injector.get(NT,Promise.resolve(null)).then(()=>{if(this.destroyed)return Promise.resolve(!0);let r=null;const i=new Promise(a=>r=a),o=this.injector.get(dt),s=this.injector.get(or);return"disabled"===s.initialNavigation?(o.setUpLocationChangeListener(),r(!0)):"enabled"===s.initialNavigation||"enabledBlocking"===s.initialNavigation?(o.hooks.afterPreactivation=()=>this.initNavigation?L(null):(this.initNavigation=!0,r(!0),this.resultOfPreactivationDone),o.initialNavigation()):r(!0),i})}bootstrapListener(n){const r=this.injector.get(or),i=this.injector.get(Yv),o=this.injector.get(Gc),s=this.injector.get(dt),a=this.injector.get(Ki);n===a.components[0]&&(("enabledNonBlocking"===r.initialNavigation||void 0===r.initialNavigation)&&s.initialNavigation(),i.setUpPreloading(),o.init(),s.resetRootComponentType(a.componentTypes[0]),this.resultOfPreactivationDone.next(null),this.resultOfPreactivationDone.complete())}ngOnDestroy(){this.destroyed=!0}}return e.\u0275fac=function(n){return new(n||e)(S(Be))},e.\u0275prov=k({token:e,factory:e.\u0275fac}),e})();function CR(e){return e.appInitializer.bind(e)}function wR(e){return e.bootstrapListener.bind(e)}const nD=new z("Router Initializer"),Do_hash="2e8be621b7847fe8bcbb64d872614010";class rD{}class iD{}class Cn{constructor(t){this.normalizedNames=new Map,this.lazyUpdate=null,t?this.lazyInit="string"==typeof t?()=>{this.headers=new Map,t.split("\n").forEach(n=>{const r=n.indexOf(":");if(r>0){const i=n.slice(0,r),o=i.toLowerCase(),s=n.slice(r+1).trim();this.maybeSetNormalizedName(i,o),this.headers.has(o)?this.headers.get(o).push(s):this.headers.set(o,[s])}})}:()=>{this.headers=new Map,Object.keys(t).forEach(n=>{let r=t[n];const i=n.toLowerCase();"string"==typeof r&&(r=[r]),r.length>0&&(this.headers.set(i,r),this.maybeSetNormalizedName(n,i))})}:this.headers=new Map}has(t){return this.init(),this.headers.has(t.toLowerCase())}get(t){this.init();const n=this.headers.get(t.toLowerCase());return n&&n.length>0?n[0]:null}keys(){return this.init(),Array.from(this.normalizedNames.values())}getAll(t){return this.init(),this.headers.get(t.toLowerCase())||null}append(t,n){return this.clone({name:t,value:n,op:"a"})}set(t,n){return this.clone({name:t,value:n,op:"s"})}delete(t,n){return this.clone({name:t,value:n,op:"d"})}maybeSetNormalizedName(t,n){this.normalizedNames.has(n)||this.normalizedNames.set(n,t)}init(){this.lazyInit&&(this.lazyInit instanceof Cn?this.copyFrom(this.lazyInit):this.lazyInit(),this.lazyInit=null,this.lazyUpdate&&(this.lazyUpdate.forEach(t=>this.applyUpdate(t)),this.lazyUpdate=null))}copyFrom(t){t.init(),Array.from(t.headers.keys()).forEach(n=>{this.headers.set(n,t.headers.get(n)),this.normalizedNames.set(n,t.normalizedNames.get(n))})}clone(t){const n=new Cn;return n.lazyInit=this.lazyInit&&this.lazyInit instanceof Cn?this.lazyInit:this,n.lazyUpdate=(this.lazyUpdate||[]).concat([t]),n}applyUpdate(t){const n=t.name.toLowerCase();switch(t.op){case"a":case"s":let r=t.value;if("string"==typeof r&&(r=[r]),0===r.length)return;this.maybeSetNormalizedName(t.name,n);const i=("a"===t.op?this.headers.get(n):void 0)||[];i.push(...r),this.headers.set(n,i);break;case"d":const o=t.value;if(o){let s=this.headers.get(n);if(!s)return;s=s.filter(a=>-1===o.indexOf(a)),0===s.length?(this.headers.delete(n),this.normalizedNames.delete(n)):this.headers.set(n,s)}else this.headers.delete(n),this.normalizedNames.delete(n)}}forEach(t){this.init(),Array.from(this.normalizedNames.keys()).forEach(n=>t(this.normalizedNames.get(n),this.headers.get(n)))}}class bR{encodeKey(t){return oD(t)}encodeValue(t){return oD(t)}decodeKey(t){return decodeURIComponent(t)}decodeValue(t){return decodeURIComponent(t)}}const SR=/%(\d[a-f0-9])/gi,TR={40:"@","3A":":",24:"$","2C":",","3B":";","2B":"+","3D":"=","3F":"?","2F":"/"};function oD(e){return encodeURIComponent(e).replace(SR,(t,n)=>{var r;return null!=(r=TR[n])?r:t})}function sD(e){return`${e}`}class Bn{constructor(t={}){if(this.updates=null,this.cloneFrom=null,this.encoder=t.encoder||new bR,t.fromString){if(t.fromObject)throw new Error("Cannot specify both fromString and fromObject.");this.map=function(e,t){const n=new Map;return e.length>0&&e.replace(/^\?/,"").split("&").forEach(i=>{const o=i.indexOf("="),[s,a]=-1==o?[t.decodeKey(i),""]:[t.decodeKey(i.slice(0,o)),t.decodeValue(i.slice(o+1))],u=n.get(s)||[];u.push(a),n.set(s,u)}),n}(t.fromString,this.encoder)}else t.fromObject?(this.map=new Map,Object.keys(t.fromObject).forEach(n=>{const r=t.fromObject[n];this.map.set(n,Array.isArray(r)?r:[r])})):this.map=null}has(t){return this.init(),this.map.has(t)}get(t){this.init();const n=this.map.get(t);return n?n[0]:null}getAll(t){return this.init(),this.map.get(t)||null}keys(){return this.init(),Array.from(this.map.keys())}append(t,n){return this.clone({param:t,value:n,op:"a"})}appendAll(t){const n=[];return Object.keys(t).forEach(r=>{const i=t[r];Array.isArray(i)?i.forEach(o=>{n.push({param:r,value:o,op:"a"})}):n.push({param:r,value:i,op:"a"})}),this.clone(n)}set(t,n){return this.clone({param:t,value:n,op:"s"})}delete(t,n){return this.clone({param:t,value:n,op:"d"})}toString(){return this.init(),this.keys().map(t=>{const n=this.encoder.encodeKey(t);return this.map.get(t).map(r=>n+"="+this.encoder.encodeValue(r)).join("&")}).filter(t=>""!==t).join("&")}clone(t){const n=new Bn({encoder:this.encoder});return n.cloneFrom=this.cloneFrom||this,n.updates=(this.updates||[]).concat(t),n}init(){null===this.map&&(this.map=new Map),null!==this.cloneFrom&&(this.cloneFrom.init(),this.cloneFrom.keys().forEach(t=>this.map.set(t,this.cloneFrom.map.get(t))),this.updates.forEach(t=>{switch(t.op){case"a":case"s":const n=("a"===t.op?this.map.get(t.param):void 0)||[];n.push(sD(t.value)),this.map.set(t.param,n);break;case"d":if(void 0===t.value){this.map.delete(t.param);break}{let r=this.map.get(t.param)||[];const i=r.indexOf(sD(t.value));-1!==i&&r.splice(i,1),r.length>0?this.map.set(t.param,r):this.map.delete(t.param)}}}),this.cloneFrom=this.updates=null)}}class MR{constructor(){this.map=new Map}set(t,n){return this.map.set(t,n),this}get(t){return this.map.has(t)||this.map.set(t,t.defaultValue()),this.map.get(t)}delete(t){return this.map.delete(t),this}keys(){return this.map.keys()}}function aD(e){return"undefined"!=typeof ArrayBuffer&&e instanceof ArrayBuffer}function uD(e){return"undefined"!=typeof Blob&&e instanceof Blob}function lD(e){return"undefined"!=typeof FormData&&e instanceof FormData}class _o{constructor(t,n,r,i){let o;if(this.url=n,this.body=null,this.reportProgress=!1,this.withCredentials=!1,this.responseType="json",this.method=t.toUpperCase(),function(e){switch(e){case"DELETE":case"GET":case"HEAD":case"OPTIONS":case"JSONP":return!1;default:return!0}}(this.method)||i?(this.body=void 0!==r?r:null,o=i):o=r,o&&(this.reportProgress=!!o.reportProgress,this.withCredentials=!!o.withCredentials,o.responseType&&(this.responseType=o.responseType),o.headers&&(this.headers=o.headers),o.context&&(this.context=o.context),o.params&&(this.params=o.params)),this.headers||(this.headers=new Cn),this.context||(this.context=new MR),this.params){const s=this.params.toString();if(0===s.length)this.urlWithParams=n;else{const a=n.indexOf("?");this.urlWithParams=n+(-1===a?"?":a<n.length-1?"&":"")+s}}else this.params=new Bn,this.urlWithParams=n}serializeBody(){return null===this.body?null:aD(this.body)||uD(this.body)||lD(this.body)||"undefined"!=typeof URLSearchParams&&this.body instanceof URLSearchParams||"string"==typeof this.body?this.body:this.body instanceof Bn?this.body.toString():"object"==typeof this.body||"boolean"==typeof this.body||Array.isArray(this.body)?JSON.stringify(this.body):this.body.toString()}detectContentTypeHeader(){return null===this.body||lD(this.body)?null:uD(this.body)?this.body.type||null:aD(this.body)?null:"string"==typeof this.body?"text/plain":this.body instanceof Bn?"application/x-www-form-urlencoded;charset=UTF-8":"object"==typeof this.body||"number"==typeof this.body||"boolean"==typeof this.body?"application/json":null}clone(t={}){var d;const n=t.method||this.method,r=t.url||this.url,i=t.responseType||this.responseType,o=void 0!==t.body?t.body:this.body,s=void 0!==t.withCredentials?t.withCredentials:this.withCredentials,a=void 0!==t.reportProgress?t.reportProgress:this.reportProgress;let u=t.headers||this.headers,l=t.params||this.params;const c=null!=(d=t.context)?d:this.context;return void 0!==t.setHeaders&&(u=Object.keys(t.setHeaders).reduce((f,h)=>f.set(h,t.setHeaders[h]),u)),t.setParams&&(l=Object.keys(t.setParams).reduce((f,h)=>f.set(h,t.setParams[h]),l)),new _o(n,r,o,{params:l,headers:u,context:c,reportProgress:a,responseType:i,withCredentials:s})}}var De=(()=>((De=De||{})[De.Sent=0]="Sent",De[De.UploadProgress=1]="UploadProgress",De[De.ResponseHeader=2]="ResponseHeader",De[De.DownloadProgress=3]="DownloadProgress",De[De.Response=4]="Response",De[De.User=5]="User",De))();class Wc{constructor(t,n=200,r="OK"){this.headers=t.headers||new Cn,this.status=void 0!==t.status?t.status:n,this.statusText=t.statusText||r,this.url=t.url||null,this.ok=this.status>=200&&this.status<300}}class Qc extends Wc{constructor(t={}){super(t),this.type=De.ResponseHeader}clone(t={}){return new Qc({headers:t.headers||this.headers,status:void 0!==t.status?t.status:this.status,statusText:t.statusText||this.statusText,url:t.url||this.url||void 0})}}class ga extends Wc{constructor(t={}){super(t),this.type=De.Response,this.body=void 0!==t.body?t.body:null}clone(t={}){return new ga({body:void 0!==t.body?t.body:this.body,headers:t.headers||this.headers,status:void 0!==t.status?t.status:this.status,statusText:t.statusText||this.statusText,url:t.url||this.url||void 0})}}class cD extends Wc{constructor(t){super(t,0,"Unknown Error"),this.name="HttpErrorResponse",this.ok=!1,this.message=this.status>=200&&this.status<300?`Http failure during parsing for ${t.url||"(unknown url)"}`:`Http failure response for ${t.url||"(unknown url)"}: ${t.status} ${t.statusText}`,this.error=t.error||null}}function Zc(e,t){return{body:t,headers:e.headers,context:e.context,observe:e.observe,params:e.params,reportProgress:e.reportProgress,responseType:e.responseType,withCredentials:e.withCredentials}}let dD=(()=>{class e{constructor(n){this.handler=n}request(n,r,i={}){let o;if(n instanceof _o)o=n;else{let u,l;u=i.headers instanceof Cn?i.headers:new Cn(i.headers),i.params&&(l=i.params instanceof Bn?i.params:new Bn({fromObject:i.params})),o=new _o(n,r,void 0!==i.body?i.body:null,{headers:u,context:i.context,params:l,reportProgress:i.reportProgress,responseType:i.responseType||"json",withCredentials:i.withCredentials})}const s=L(o).pipe(ni(u=>this.handler.handle(u)));if(n instanceof _o||"events"===i.observe)return s;const a=s.pipe(tr(u=>u instanceof ga));switch(i.observe||"body"){case"body":switch(o.responseType){case"arraybuffer":return a.pipe(Z(u=>{if(null!==u.body&&!(u.body instanceof ArrayBuffer))throw new Error("Response is not an ArrayBuffer.");return u.body}));case"blob":return a.pipe(Z(u=>{if(null!==u.body&&!(u.body instanceof Blob))throw new Error("Response is not a Blob.");return u.body}));case"text":return a.pipe(Z(u=>{if(null!==u.body&&"string"!=typeof u.body)throw new Error("Response is not a string.");return u.body}));default:return a.pipe(Z(u=>u.body))}case"response":return a;default:throw new Error(`Unreachable: unhandled observe type ${i.observe}}`)}}delete(n,r={}){return this.request("DELETE",n,r)}get(n,r={}){return this.request("GET",n,r)}head(n,r={}){return this.request("HEAD",n,r)}jsonp(n,r){return this.request("JSONP",n,{params:(new Bn).append(r,"JSONP_CALLBACK"),observe:"body",responseType:"json"})}options(n,r={}){return this.request("OPTIONS",n,r)}patch(n,r,i={}){return this.request("PATCH",n,Zc(i,r))}post(n,r,i={}){return this.request("POST",n,Zc(i,r))}put(n,r,i={}){return this.request("PUT",n,Zc(i,r))}}return e.\u0275fac=function(n){return new(n||e)(S(rD))},e.\u0275prov=k({token:e,factory:e.\u0275fac}),e})();class fD{constructor(t,n){this.next=t,this.interceptor=n}handle(t){return this.interceptor.intercept(t,this.next)}}const hD=new z("HTTP_INTERCEPTORS");let RR=(()=>{class e{intercept(n,r){return r.handle(n)}}return e.\u0275fac=function(n){return new(n||e)},e.\u0275prov=k({token:e,factory:e.\u0275fac}),e})();const PR=/^\)\]\}',?\n/;let pD=(()=>{class e{constructor(n){this.xhrFactory=n}handle(n){if("JSONP"===n.method)throw new Error("Attempted to construct Jsonp request without HttpClientJsonpModule installed.");return new ae(r=>{const i=this.xhrFactory.build();if(i.open(n.method,n.urlWithParams),n.withCredentials&&(i.withCredentials=!0),n.headers.forEach((h,p)=>i.setRequestHeader(h,p.join(","))),n.headers.has("Accept")||i.setRequestHeader("Accept","application/json, text/plain, */*"),!n.headers.has("Content-Type")){const h=n.detectContentTypeHeader();null!==h&&i.setRequestHeader("Content-Type",h)}if(n.responseType){const h=n.responseType.toLowerCase();i.responseType="json"!==h?h:"text"}const o=n.serializeBody();let s=null;const a=()=>{if(null!==s)return s;const h=1223===i.status?204:i.status,p=i.statusText||"OK",m=new Cn(i.getAllResponseHeaders()),y=function(e){return"responseURL"in e&&e.responseURL?e.responseURL:/^X-Request-URL:/m.test(e.getAllResponseHeaders())?e.getResponseHeader("X-Request-URL"):null}(i)||n.url;return s=new Qc({headers:m,status:h,statusText:p,url:y}),s},u=()=>{let{headers:h,status:p,statusText:m,url:y}=a(),v=null;204!==p&&(v=void 0===i.response?i.responseText:i.response),0===p&&(p=v?200:0);let g=p>=200&&p<300;if("json"===n.responseType&&"string"==typeof v){const b=v;v=v.replace(PR,"");try{v=""!==v?JSON.parse(v):null}catch(M){v=b,g&&(g=!1,v={error:M,text:v})}}g?(r.next(new ga({body:v,headers:h,status:p,statusText:m,url:y||void 0})),r.complete()):r.error(new cD({error:v,headers:h,status:p,statusText:m,url:y||void 0}))},l=h=>{const{url:p}=a(),m=new cD({error:h,status:i.status||0,statusText:i.statusText||"Unknown Error",url:p||void 0});r.error(m)};let c=!1;const d=h=>{c||(r.next(a()),c=!0);let p={type:De.DownloadProgress,loaded:h.loaded};h.lengthComputable&&(p.total=h.total),"text"===n.responseType&&!!i.responseText&&(p.partialText=i.responseText),r.next(p)},f=h=>{let p={type:De.UploadProgress,loaded:h.loaded};h.lengthComputable&&(p.total=h.total),r.next(p)};return i.addEventListener("load",u),i.addEventListener("error",l),i.addEventListener("timeout",l),i.addEventListener("abort",l),n.reportProgress&&(i.addEventListener("progress",d),null!==o&&i.upload&&i.upload.addEventListener("progress",f)),i.send(o),r.next({type:De.Sent}),()=>{i.removeEventListener("error",l),i.removeEventListener("abort",l),i.removeEventListener("load",u),i.removeEventListener("timeout",l),n.reportProgress&&(i.removeEventListener("progress",d),null!==o&&i.upload&&i.upload.removeEventListener("progress",f)),i.readyState!==i.DONE&&i.abort()}})}}return e.\u0275fac=function(n){return new(n||e)(S(jy))},e.\u0275prov=k({token:e,factory:e.\u0275fac}),e})();const Jc=new z("XSRF_COOKIE_NAME"),Kc=new z("XSRF_HEADER_NAME");class gD{}let FR=(()=>{class e{constructor(n,r,i){this.doc=n,this.platform=r,this.cookieName=i,this.lastCookieString="",this.lastToken=null,this.parseCount=0}getToken(){if("server"===this.platform)return null;const n=this.doc.cookie||"";return n!==this.lastCookieString&&(this.parseCount++,this.lastToken=xy(n,this.cookieName),this.lastCookieString=n),this.lastToken}}return e.\u0275fac=function(n){return new(n||e)(S(lt),S(Ns),S(Jc))},e.\u0275prov=k({token:e,factory:e.\u0275fac}),e})(),Yc=(()=>{class e{constructor(n,r){this.tokenService=n,this.headerName=r}intercept(n,r){const i=n.url.toLowerCase();if("GET"===n.method||"HEAD"===n.method||i.startsWith("http://")||i.startsWith("https://"))return r.handle(n);const o=this.tokenService.getToken();return null!==o&&!n.headers.has(this.headerName)&&(n=n.clone({headers:n.headers.set(this.headerName,o)})),r.handle(n)}}return e.\u0275fac=function(n){return new(n||e)(S(gD),S(Kc))},e.\u0275prov=k({token:e,factory:e.\u0275fac}),e})(),OR=(()=>{class e{constructor(n,r){this.backend=n,this.injector=r,this.chain=null}handle(n){if(null===this.chain){const r=this.injector.get(hD,[]);this.chain=r.reduceRight((i,o)=>new fD(i,o),this.backend)}return this.chain.handle(n)}}return e.\u0275fac=function(n){return new(n||e)(S(iD),S(Be))},e.\u0275prov=k({token:e,factory:e.\u0275fac}),e})(),kR=(()=>{class e{static disable(){return{ngModule:e,providers:[{provide:Yc,useClass:RR}]}}static withOptions(n={}){return{ngModule:e,providers:[n.cookieName?{provide:Jc,useValue:n.cookieName}:[],n.headerName?{provide:Kc,useValue:n.headerName}:[]]}}}return e.\u0275fac=function(n){return new(n||e)},e.\u0275mod=Ut({type:e}),e.\u0275inj=Tt({providers:[Yc,{provide:hD,useExisting:Yc,multi:!0},{provide:gD,useClass:FR},{provide:Jc,useValue:"XSRF-TOKEN"},{provide:Kc,useValue:"X-XSRF-TOKEN"}]}),e})(),LR=(()=>{class e{}return e.\u0275fac=function(n){return new(n||e)},e.\u0275mod=Ut({type:e}),e.\u0275inj=Tt({providers:[dD,{provide:rD,useClass:OR},pD,{provide:iD,useExisting:pD}],imports:[[kR.withOptions({cookieName:"XSRF-TOKEN",headerName:"X-XSRF-TOKEN"})]]}),e})(),Xc=(()=>{class e{constructor(n){this.http=n}getQuery(n){return this.http.get(`https://gateway.marvel.com/v1/public/${n}ts=1&apikey=b31bdc803b8d81b9e7f6fc2c6f1474d0&hash=${Do_hash}`)}getQueryAll(n){return this.http.get(`${n}ts=1&apikey=b31bdc803b8d81b9e7f6fc2c6f1474d0&hash=${Do_hash}`)}getCharacters(n){return this.getQuery(`characters?${n}&`).pipe(Z(r=>r.data.results))}getCharactersSearch(n,r){return this.getQuery(`characters?nameStartsWith=${n}&${r}&`).pipe(Z(i=>i.data.results))}getComic(n){return this.getQueryAll(`${n}?`).pipe(Z(r=>r.data.results[0]))}getComicsAll(){return this.getQuery("comics?").pipe(Z(n=>n.data.results))}getCharacterStory(n){return this.getQuery(`characters/${n}?`).pipe(Z(r=>r.data.results))}}return e.\u0275fac=function(n){return new(n||e)(S(dD))},e.\u0275prov=k({token:e,factory:e.\u0275fac,providedIn:"root"}),e})(),ma=(()=>{class e{constructor(){this.filter="orderBy=name",this.search="",this.showTextSearchEmpty=!1,this.storage=[]}}return e.\u0275fac=function(n){return new(n||e)},e.\u0275prov=k({token:e,factory:e.\u0275fac,providedIn:"root"}),e})();function BR(e,t){if(1&e){const n=pn();_(0,"div",19),_(1,"a",27,28),Ke("click",function(){const o=Dt(n).$implicit;return ie(2).openModalComics(o.resourceURI)}),W(3),C(),C()}if(2&e){const n=t.$implicit;O(3),Ye(n.name)}}function jR(e,t){if(1&e&&(_(0,"div",17),_(1,"div",18),_(2,"div",9),_(3,"div",0),_(4,"div",19),Ne(5,"img",20),C(),_(6,"div",19),_(7,"h5",21),W(8),C(),_(9,"p",22),W(10),C(),_(11,"button",23),_(12,"a",24),W(13,"View More"),C(),C(),C(),C(),_(14,"h5",25),W(15,"Related Comics"),C(),_(16,"div",0),Me(17,BR,4,1,"div",26),C(),C(),C(),C()),2&e){const n=t.$implicit;O(5),gs("src","",n.thumbnail.path,".",n.thumbnail.extension,"",Qn),O(3),Ye(n.name),O(2),Ye(n.description),O(2),ps("href",n.urls[0].url,Qn),O(5),de("ngForOf",n.comics.items)}}function HR(e,t){if(1&e&&(_(0,"div",0),_(1,"div",29),Ne(2,"img",30),C(),_(3,"div",31),_(4,"h5",32),W(5),C(),_(6,"p",33),W(7),C(),C(),C()),2&e){const n=ie();O(2),gs("src","",n.comic.thumbnail.path,".",n.comic.thumbnail.extension," ",Qn),O(3),Ye(n.comic.title),O(2),Ye(n.comic.description)}}function VR(e,t){if(1&e){const n=pn();_(0,"div",34),_(1,"a",35),Ke("click",function(){return Dt(n),ie().addFavComic()}),Ne(2,"img",36),W(3," ADD TO FAVOURITES "),C(),C()}}function UR(e,t){1&e&&(_(0,"div",37),_(1,"a",38),Ne(2,"img",39),W(3," ADDED TO FAVOURITES "),C(),C())}const $R=function(e){return{itemsPerPage:10,currentPage:e}};let zR=(()=>{class e{constructor(n,r){this.marvelService=n,this.managerDataService=r,this.p=1,this.price="",this.showComic=!1,this.showAdded=!1}ngOnInit(){}openModalCharacter(n){this.marvelService.getCharacterStory(n.id).subscribe(r=>{console.log(r)})}openModalComics(n){this.marvelService.getComic(n.replace("http","https")).subscribe(r=>{this.showComic=!0,this.comic=r,this.price=r.prices.length>0?"$"+r.prices[0].price:"Not found"}),setTimeout(()=>{this.validateComicFav(this.comic)},1e3)}addFavComic(){this.validateComicFav(this.comic)&&this.addComicStorage()}validateComicFav(n){let r=JSON.parse(localStorage.getItem("fav")||"{}"),i=n.thumbnail.path+"."+n.thumbnail.extension,o=!0;return this.showAdded=!1,r.forEach(s=>{i==s.path&&(o=!1,this.showAdded=!0)}),o}addComicStorage(){let n=JSON.parse(localStorage.getItem("fav")||"{}");n.push({path:this.comic.thumbnail.path+"."+this.comic.thumbnail.extension,title:this.comic.title}),localStorage.removeItem("fav"),localStorage.setItem("fav",JSON.stringify(n)),this.managerDataService.storage=n,this.showAdded=!0}}return e.\u0275fac=function(n){return new(n||e)(I(Xc),I(ma))},e.\u0275cmp=ln({type:e,selectors:[["app-card-person"]],inputs:{characters:"characters"},decls:19,vars:10,consts:[[1,"row"],["class","col-sm-6 mt-3",4,"ngFor","ngForOf"],[1,"row","mt-4"],[1,"col-sm-12","text-center"],[1,"my-pagination",3,"pageChange"],["tabindex","-1","role","dialog","aria-labelledby","myLargeModalLabel","aria-hidden","true",1,"modal","fade","modalComic"],[1,"modal-dialog","modal-lg"],[1,"modal-content"],[1,"card","justify-content-center"],[1,"card-body"],["class","row",4,"ngIf"],[1,"row","mt-3"],["class","col-sm-12 col-lg-6 add d-flex align-items-center justify-content-center",4,"ngIf"],["class","col-sm-12 col-lg-6 added d-flex align-items-center justify-content-center",4,"ngIf"],[1,"col-sm-12","col-lg-6","buy","d-flex","align-items-center","justify-content-center"],["href","#",1,"title-comic"],["src","assets/shopping-cart-primary.png","width","40","height","40","alt","",1,"d-inline-block","align-top"],[1,"col-sm-6","mt-3"],[1,"card"],[1,"col-sm-6"],["alt","...",1,"card-img-top","rounded-circle",3,"src"],[1,"card-title"],[1,"card-text"],["type","button","data-toggle","modal","data-target",".modalFav",1,"btn","btn-primary"],["target","_blank",1,"text-white",3,"href"],[1,"card-title-second","mt-2"],["class","col-sm-6",4,"ngFor","ngForOf"],["href","#","data-toggle","modal","data-target",".modalComic",1,"card-text","link-red",3,"click"],["comic",""],[1,"col-sm-12","col-lg-6"],["alt","...",1,"card-img-top",3,"src"],[1,"col-sm-12","col-lg-6","mt-3"],[1,"card-title","title-comic"],[1,"card-text","p-comic"],[1,"col-sm-12","col-lg-6","add","d-flex","align-items-center","justify-content-center"],["href","#",1,"title-comic",3,"click"],["src","assets/btn-favourites-default.png","width","40","height","40","alt","",1,"d-inline-block","align-top"],[1,"col-sm-12","col-lg-6","added","d-flex","align-items-center","justify-content-center"],[1,"title-comic","font-red"],["src","assets/btn-favourites-primary.png","width","40","height","40","alt","",1,"d-inline-block","align-top"]],template:function(n,r){1&n&&(_(0,"div",0),Me(1,jR,18,6,"div",1),Is(2,"paginate"),C(),_(3,"div",2),_(4,"div",3),_(5,"pagination-controls",4),Ke("pageChange",function(o){return r.p=o}),C(),C(),C(),_(6,"div",5),_(7,"div",6),_(8,"div",7),_(9,"div",8),_(10,"div",9),Me(11,HR,8,4,"div",10),_(12,"div",11),Me(13,VR,4,0,"div",12),Me(14,UR,4,0,"div",13),_(15,"div",14),_(16,"a",15),Ne(17,"img",16),W(18),C(),C(),C(),C(),C(),C(),C(),C()),2&n&&(O(1),de("ngForOf",Ss(2,5,r.characters,hm(8,$R,r.p))),O(10),de("ngIf",r.showComic),O(2),de("ngIf",!r.showAdded),O(1),de("ngIf",r.showAdded),O(4),Xt(" BUY FOR ",r.price," "))},directives:[Ws,YA,Qs],pipes:[KA],styles:[".btn-primary[_ngcontent-%COMP%]{background-color:#ec1d24;border-color:#ec1d24}.card-text[_ngcontent-%COMP%]{font-size:small;color:gray}.card-title-second[_ngcontent-%COMP%]{color:gray;font-weight:500;font-size:larger}.my-pagination[_ngcontent-%COMP%] .ngx-pagination .current{background:red}.title-comic[_ngcontent-%COMP%]{font-size:x-large}.p-comic[_ngcontent-%COMP%]{font-size:medium}.add[_ngcontent-%COMP%]{background-color:#f0f0f0;height:80px}.font-red[_ngcontent-%COMP%]{color:red}.added[_ngcontent-%COMP%]{background-color:#312827;height:80px}.buy[_ngcontent-%COMP%]{background-color:#dcdcdc;height:80px}a[_ngcontent-%COMP%]{text-decoration:none;color:#000}.link-red[_ngcontent-%COMP%]:hover{color:red}.text-white[_ngcontent-%COMP%]{color:#fff}"]}),e})();function GR(e,t){if(1&e){const n=pn();_(0,"div",1),_(1,"a",2),Ke("click",function(){const o=Dt(n).$implicit;return ie().removeFav(o)}),Ne(2,"img",3),C(),_(3,"div",4),_(4,"div",5),Ne(5,"img",6),_(6,"p",7),W(7),C(),C(),C(),C()}if(2&e){const n=t.$implicit;O(5),ps("src",n.path,Qn),O(2),Ye(n.title)}}let qR=(()=>{class e{constructor(n){this.managerDataService=n,this.itemsFav=[]}ngOnInit(){}removeFav(n){let r=JSON.parse(localStorage.getItem("fav")||"{}"),i=0;r.forEach(o=>{o.path==n.path&&r.splice(i,1),i++}),localStorage.removeItem("fav"),localStorage.setItem("fav",JSON.stringify(r)),this.managerDataService.storage=r}}return e.\u0275fac=function(n){return new(n||e)(I(ma))},e.\u0275cmp=ln({type:e,selectors:[["app-img-like"]],inputs:{itemsFav:"itemsFav"},decls:1,vars:1,consts:[["class","card mt-2",4,"ngFor","ngForOf"],[1,"card","mt-2"],["href","#",1,"text-right",3,"click"],["src","assets/btn-delete.png","width","30","height","30","alt","",1,"d-inline-block","align-top"],[1,"card-body"],[1,"text-center"],["alt","...",1,"card-img-top",3,"src"],[1,"p-primary"]],template:function(n,r){1&n&&Me(0,GR,8,2,"div",0),2&n&&de("ngForOf",r.itemsFav)},directives:[Ws],styles:[".p-primary[_ngcontent-%COMP%]{font-size:small}"]}),e})();function WR(e,t){1&e&&(_(0,"div",22),_(1,"h1"),W(2,"Not found... "),C(),C())}const QR=[{path:"home",component:(()=>{class e{constructor(n,r){this.mavelService=n,this.managerDataService=r,this.showData(this.managerDataService.filter),this.randomFav(),setTimeout(()=>{this.updateFavourites()},2e3)}ngOnInit(){}showData(n){""==this.managerDataService.search?(this.managerDataService.filter=n,this.mavelService.getCharacters(n).subscribe(r=>{this.managerDataService.character=r,this.messageNotFound(r.length)})):this.mavelService.getCharactersSearch(this.managerDataService.search,this.managerDataService.filter).subscribe(r=>{this.managerDataService.character=r,this.messageNotFound(r.length)})}messageNotFound(n){this.managerDataService.showTextSearchEmpty=!(n>0)}randomFav(){const n=[];let o,r=[],i=!1;this.mavelService.getComicsAll().subscribe(s=>{for(var a=0;a<=2;a++){i=!1;do{o=this.getRandomInt(0,19),-1==r.indexOf(o)&&(r.push(o),i=!0)}while(i=!1);n.push({path:s[o].thumbnail.path+"."+s[o].thumbnail.extension,title:s[o].title})}localStorage.getItem("fav")||localStorage.setItem("fav",JSON.stringify(n))})}getRandomInt(n,r){return Math.floor(Math.random()*(r-n))+n}updateFavourites(){this.managerDataService.storage=JSON.parse(localStorage.getItem("fav")||"{}")}}return e.\u0275fac=function(n){return new(n||e)(I(Xc),I(ma))},e.\u0275cmp=ln({type:e,selectors:[["app-home"]],decls:34,vars:3,consts:[[1,"container"],[1,"row","mt-2"],[1,"col-sm-12","col-lg-8","col-xl-8"],["href","#",1,""],["src","assets/characters.png","width","30","height","30","alt","",1,"d-inline-block","align-top"],[1,"col-sm-12","col-lg-4","col-xl-4"],[1,"form-group"],["id","exampleFormControlSelect1",1,"form-control",3,"change"],["orderby",""],["selected",""],["value","orderBy=name"],["value","orderBy=-name"],["value","orderBy=modified"],["value","orderBy=-modified"],[1,"col-sm-12","col-lg-10","col-xl-10","color-right"],["class","text-center",4,"ngIf"],[3,"characters"],[1,"col-sm-12","col-lg-2","col-xl-2","color-left"],[1,"col-sm-12"],["src","assets/btn-favourites-primary.png","width","30","height","30","alt","",1,"d-inline-block","align-top"],[1,"row"],[3,"itemsFav"],[1,"text-center"]],template:function(n,r){if(1&n){const i=pn();_(0,"div",0),_(1,"div",1),_(2,"div",2),_(3,"a",3),Ne(4,"img",4),W(5," Characters "),C(),C(),_(6,"div",5),_(7,"form"),_(8,"div",6),_(9,"select",7,8),Ke("change",function(){Dt(i);const s=Je(10);return r.showData(s.value)}),_(11,"option",9),W(12,"Sort by"),C(),_(13,"option",10),W(14,"Name Asc"),C(),_(15,"option",11),W(16,"Name Des"),C(),_(17,"option",12),W(18,"Modified Asc"),C(),_(19,"option",13),W(20,"Modified Des"),C(),C(),C(),C(),C(),C(),_(21,"div",1),_(22,"div",14),Me(23,WR,3,0,"div",15),Ne(24,"app-card-person",16),C(),_(25,"div",17),_(26,"div",1),_(27,"div",18),_(28,"a",3),Ne(29,"img",19),W(30," My Favourites "),C(),C(),C(),_(31,"div",20),_(32,"div",18),Ne(33,"app-img-like",21),C(),C(),C(),C(),C()}2&n&&(O(23),de("ngIf",r.managerDataService.showTextSearchEmpty),O(1),de("characters",r.managerDataService.character),O(9),de("itemsFav",r.managerDataService.storage))},directives:[Qs,zR,qR],styles:["a[_ngcontent-%COMP%]{text-decoration:none;color:#000;font-size:x-large}.color-right[_ngcontent-%COMP%]{background-color:#f4f4f4}.color-left[_ngcontent-%COMP%]{background-color:#ebebeb}"]}),e})()},{path:"**",pathMatch:"full",redirectTo:"home"}];let ZR=(()=>{class e{}return e.\u0275fac=function(n){return new(n||e)},e.\u0275mod=Ut({type:e}),e.\u0275inj=Tt({imports:[[eD.forRoot(QR,{useHash:!0})],eD]}),e})(),JR=(()=>{class e{constructor(n,r){this.mavelService=n,this.managerDataService=r}ngOnInit(){}searchCharacter(n){this.managerDataService.search=n,""==n?this.mavelService.getCharacters(this.managerDataService.filter).subscribe(r=>{this.managerDataService.character=r,this.messageNotFound(r.length)}):this.mavelService.getCharactersSearch(n,this.managerDataService.filter).subscribe(r=>{this.managerDataService.character=r,this.messageNotFound(r.length)})}messageNotFound(n){this.managerDataService.showTextSearchEmpty=!(n>0)}}return e.\u0275fac=function(n){return new(n||e)(I(Xc),I(ma))},e.\u0275cmp=ln({type:e,selectors:[["app-navbar"]],decls:15,vars:0,consts:[[1,"navbar","navbar-expand-lg","navbar-dark","bg-dark"],["href","#",1,"navbar-brand"],["src","assets/logo.png","width","100%","height","100%","alt",""],["type","button","data-toggle","collapse","data-target","#navbarSupportedContent","aria-controls","navbarSupportedContent","aria-expanded","false","aria-label","Toggle navigation",1,"navbar-toggler"],[1,"navbar-toggler-icon"],["id","navbarSupportedContent",1,"collapse","navbar-collapse"],[1,"navbar-nav","mr-auto"],[1,"nav-item","active"],["href","#",1,"nav-link"],[1,"sr-only"],[1,"form-inline","my-2","my-lg-0"],["type","search","placeholder","Search","aria-label","Search",1,"form-control","mr-sm-2",3,"keyup"],["textSearch",""]],template:function(n,r){if(1&n){const i=pn();_(0,"nav",0),_(1,"a",1),Ne(2,"img",2),C(),_(3,"button",3),Ne(4,"span",4),C(),_(5,"div",5),_(6,"ul",6),_(7,"li",7),_(8,"a",8),W(9,"Home "),_(10,"span",9),W(11,"(current)"),C(),C(),C(),C(),_(12,"form",10),_(13,"input",11,12),Ke("keyup",function(){Dt(i);const s=Je(14);return r.searchCharacter(s.value)}),C(),C(),C(),C()}},styles:[""]}),e})(),KR=(()=>{class e{constructor(){this.title="marvel"}}return e.\u0275fac=function(n){return new(n||e)},e.\u0275cmp=ln({type:e,selectors:[["app-root"]],decls:2,vars:0,template:function(n,r){1&n&&(Ne(0,"app-navbar"),Ne(1,"router-outlet"))},directives:[JR,Bc],styles:[""]}),e})(),YR=(()=>{class e{}return e.\u0275fac=function(n){return new(n||e)},e.\u0275mod=Ut({type:e,bootstrap:[KR]}),e.\u0275inj=Tt({providers:[],imports:[[TA,ZR,LR,ex]]}),e})();iy=!1,IA().bootstrapModule(YR).catch(e=>console.error(e))}},q=>{q(q.s=168)}]);