text: "use strict";(self.webpackChunkGithubSearch=self.webpackChunkGithubSearch||[]).push([[179],{523:()=>{function re(e){return"function"==typeof e}function co(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 Si=co(e=>function(n){e(this),this.message=n?`${n.length} errors occurred during unsubscription:\n${n.map((r,o)=>`${o+1}) ${r.toString()}`).join("\n  ")}`:"",this.name="UnsubscriptionError",this.errors=n});function fo(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 i of n)i.remove(this);else n.remove(this);const{initialTeardown:r}=this;if(re(r))try{r()}catch(i){t=i instanceof Si?i.errors:[i]}const{_teardowns:o}=this;if(o){this._teardowns=null;for(const i of o)try{Vd(i)}catch(s){t=null!=t?t:[],s instanceof Si?t=[...t,...s.errors]:t.push(s)}}if(t)throw new Si(t)}}add(t){var n;if(t&&t!==this)if(this.closed)Vd(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)&&fo(n,t)}remove(t){const{_teardowns:n}=this;n&&fo(n,t),t instanceof ht&&t._removeParent(this)}}ht.EMPTY=(()=>{const e=new ht;return e.closed=!0,e})();const Pd=ht.EMPTY;function kd(e){return e instanceof ht||e&&"closed"in e&&re(e.remove)&&re(e.add)&&re(e.unsubscribe)}function Vd(e){re(e)?e():e.unsubscribe()}const jn={onUnhandledError:null,onStoppedNotification:null,Promise:void 0,useDeprecatedSynchronousErrorHandling:!1,useDeprecatedNextContext:!1},Ai={setTimeout(...e){const{delegate:t}=Ai;return((null==t?void 0:t.setTimeout)||setTimeout)(...e)},clearTimeout(e){const{delegate:t}=Ai;return((null==t?void 0:t.clearTimeout)||clearTimeout)(e)},delegate:void 0};function Ld(e){Ai.setTimeout(()=>{const{onUnhandledError:t}=jn;if(!t)throw e;t(e)})}function Ii(){}const rC=ba("C",void 0,void 0);function ba(e,t,n){return{kind:e,value:t,error:n}}let Bn=null;function Ti(e){if(jn.useDeprecatedSynchronousErrorHandling){const t=!Bn;if(t&&(Bn={errorThrown:!1,error:null}),e(),t){const{errorThrown:n,error:r}=Bn;if(Bn=null,n)throw r}}else e()}class Ma extends ht{constructor(t){super(),this.isStopped=!1,t?(this.destination=t,kd(t)&&t.add(this)):this.destination=aC}static create(t,n,r){return new Sa(t,n,r)}next(t){this.isStopped?Ia(function iC(e){return ba("N",e,void 0)}(t),this):this._next(t)}error(t){this.isStopped?Ia(function oC(e){return ba("E",void 0,e)}(t),this):(this.isStopped=!0,this._error(t))}complete(){this.isStopped?Ia(rC,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 Sa extends Ma{constructor(t,n,r){let o;if(super(),re(t))o=t;else if(t){let i;({next:o,error:n,complete:r}=t),this&&jn.useDeprecatedNextContext?(i=Object.create(t),i.unsubscribe=()=>this.unsubscribe()):i=t,o=null==o?void 0:o.bind(i),n=null==n?void 0:n.bind(i),r=null==r?void 0:r.bind(i)}this.destination={next:o?Aa(o):Ii,error:Aa(null!=n?n:jd),complete:r?Aa(r):Ii}}}function Aa(e,t){return(...n)=>{try{e(...n)}catch(r){jn.useDeprecatedSynchronousErrorHandling?function sC(e){jn.useDeprecatedSynchronousErrorHandling&&Bn&&(Bn.errorThrown=!0,Bn.error=e)}(r):Ld(r)}}}function jd(e){throw e}function Ia(e,t){const{onStoppedNotification:n}=jn;n&&Ai.setTimeout(()=>n(e,t))}const aC={closed:!0,next:Ii,error:jd,complete:Ii},Ta="function"==typeof Symbol&&Symbol.observable||"@@observable";function Hn(e){return e}let se=(()=>{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,o){const i=function uC(e){return e&&e instanceof Ma||function lC(e){return e&&re(e.next)&&re(e.error)&&re(e.complete)}(e)&&kd(e)}(n)?n:new Sa(n,r,o);return Ti(()=>{const{operator:s,source:a}=this;i.add(s?s.call(i,a):a?this._subscribe(i):this._trySubscribe(i))}),i}_trySubscribe(n){try{return this._subscribe(n)}catch(r){n.error(r)}}forEach(n,r){return new(r=Hd(r))((o,i)=>{let s;s=this.subscribe(a=>{try{n(a)}catch(l){i(l),null==s||s.unsubscribe()}},i,o)})}_subscribe(n){var r;return null===(r=this.source)||void 0===r?void 0:r.subscribe(n)}[Ta](){return this}pipe(...n){return function Bd(e){return 0===e.length?Hn:1===e.length?e[0]:function(n){return e.reduce((r,o)=>o(r),n)}}(n)(this)}toPromise(n){return new(n=Hd(n))((r,o)=>{let i;this.subscribe(s=>i=s,s=>o(s),()=>r(i))})}}return e.create=t=>new e(t),e})();function Hd(e){var t;return null!==(t=null!=e?e:jn.Promise)&&void 0!==t?t:Promise}const cC=co(e=>function(){e(this),this.name="ObjectUnsubscribedError",this.message="object unsubscribed"});let nn=(()=>{class e extends se{constructor(){super(),this.closed=!1,this.observers=[],this.isStopped=!1,this.hasError=!1,this.thrownError=null}lift(n){const r=new Ud(this,this);return r.operator=n,r}_throwIfClosed(){if(this.closed)throw new cC}next(n){Ti(()=>{if(this._throwIfClosed(),!this.isStopped){const r=this.observers.slice();for(const o of r)o.next(n)}})}error(n){Ti(()=>{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(){Ti(()=>{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:o,observers:i}=this;return r||o?Pd:(i.push(n),new ht(()=>fo(i,n)))}_checkFinalizedStatuses(n){const{hasError:r,thrownError:o,isStopped:i}=this;r?n.error(o):i&&n.complete()}asObservable(){const n=new se;return n.source=this,n}}return e.create=(t,n)=>new Ud(t,n),e})();class Ud 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:Pd}}function $d(e){return re(null==e?void 0:e.lift)}function xe(e){return t=>{if($d(t))return t.lift(function(n){try{return e(n,this)}catch(r){this.error(r)}});throw new TypeError("Unable to lift unknown Observable type")}}class Se extends Ma{constructor(t,n,r,o,i){super(t),this.onFinalize=i,this._next=n?function(s){try{n(s)}catch(a){t.error(a)}}:super._next,this._error=o?function(s){try{o(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 Q(e,t){return xe((n,r)=>{let o=0;n.subscribe(new Se(r,i=>{r.next(e.call(t,i,o++))}))})}function Un(e){return this instanceof Un?(this.v=e,this):new Un(e)}function hC(e,t,n){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var o,r=n.apply(e,t||[]),i=[];return o={},s("next"),s("throw"),s("return"),o[Symbol.asyncIterator]=function(){return this},o;function s(f){r[f]&&(o[f]=function(h){return new Promise(function(p,m){i.push([f,h,p,m])>1||a(f,h)})})}function a(f,h){try{!function l(f){f.value instanceof Un?Promise.resolve(f.value.v).then(u,c):d(i[0][2],f)}(r[f](h))}catch(p){d(i[0][3],p)}}function u(f){a("next",f)}function c(f){a("throw",f)}function d(f,h){f(h),i.shift(),i.length&&a(i[0][0],i[0][1])}}function pC(e){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var n,t=e[Symbol.asyncIterator];return t?t.call(e):(e=function zd(e){var t="function"==typeof Symbol&&Symbol.iterator,n=t&&e[t],r=0;if(n)return n.call(e);if(e&&"number"==typeof e.length)return{next:function(){return e&&r>=e.length&&(e=void 0),{value:e&&e[r++],done:!e}}};throw new TypeError(t?"Object is not iterable.":"Symbol.iterator is not defined.")}(e),n={},r("next"),r("throw"),r("return"),n[Symbol.asyncIterator]=function(){return this},n);function r(i){n[i]=e[i]&&function(s){return new Promise(function(a,l){!function o(i,s,a,l){Promise.resolve(l).then(function(u){i({value:u,done:a})},s)}(a,l,(s=e[i](s)).done,s.value)})}}}const Wd=e=>e&&"number"==typeof e.length&&"function"!=typeof e;function Qd(e){return re(null==e?void 0:e.then)}function Zd(e){return re(e[Ta])}function Kd(e){return Symbol.asyncIterator&&re(null==e?void 0:e[Symbol.asyncIterator])}function Jd(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 Yd=function mC(){return"function"==typeof Symbol&&Symbol.iterator?Symbol.iterator:"@@iterator"}();function Xd(e){return re(null==e?void 0:e[Yd])}function ef(e){return hC(this,arguments,function*(){const n=e.getReader();try{for(;;){const{value:r,done:o}=yield Un(n.read());if(o)return yield Un(void 0);yield yield Un(r)}}finally{n.releaseLock()}})}function tf(e){return re(null==e?void 0:e.getReader)}function jt(e){if(e instanceof se)return e;if(null!=e){if(Zd(e))return function yC(e){return new se(t=>{const n=e[Ta]();if(re(n.subscribe))return n.subscribe(t);throw new TypeError("Provided object does not correctly implement Symbol.observable")})}(e);if(Wd(e))return function vC(e){return new se(t=>{for(let n=0;n<e.length&&!t.closed;n++)t.next(e[n]);t.complete()})}(e);if(Qd(e))return function _C(e){return new se(t=>{e.then(n=>{t.closed||(t.next(n),t.complete())},n=>t.error(n)).then(null,Ld)})}(e);if(Kd(e))return nf(e);if(Xd(e))return function DC(e){return new se(t=>{for(const n of e)if(t.next(n),t.closed)return;t.complete()})}(e);if(tf(e))return function CC(e){return nf(ef(e))}(e)}throw Jd(e)}function nf(e){return new se(t=>{(function wC(e,t){var n,r,o,i;return function dC(e,t,n,r){return new(n||(n=Promise))(function(i,s){function a(c){try{u(r.next(c))}catch(d){s(d)}}function l(c){try{u(r.throw(c))}catch(d){s(d)}}function u(c){c.done?i(c.value):function o(i){return i instanceof n?i:new n(function(s){s(i)})}(c.value).then(a,l)}u((r=r.apply(e,t||[])).next())})}(this,void 0,void 0,function*(){try{for(n=pC(e);!(r=yield n.next()).done;)if(t.next(r.value),t.closed)return}catch(s){o={error:s}}finally{try{r&&!r.done&&(i=n.return)&&(yield i.call(n))}finally{if(o)throw o.error}}t.complete()})})(e,t).catch(n=>t.error(n))})}function rn(e,t,n,r=0,o=!1){const i=t.schedule(function(){n(),o?e.add(this.schedule(null,r)):this.unsubscribe()},r);if(e.add(i),!o)return i}function Ae(e,t,n=1/0){return re(t)?Ae((r,o)=>Q((i,s)=>t(r,i,o,s))(jt(e(r,o))),n):("number"==typeof t&&(n=t),xe((r,o)=>function EC(e,t,n,r,o,i,s,a){const l=[];let u=0,c=0,d=!1;const f=()=>{d&&!l.length&&!u&&t.complete()},h=m=>u<r?p(m):l.push(m),p=m=>{i&&t.next(m),u++;let y=!1;jt(n(m,c++)).subscribe(new Se(t,v=>{null==o||o(v),i?h(v):t.next(v)},()=>{y=!0},void 0,()=>{if(y)try{for(u--;l.length&&u<r;){const v=l.shift();s?rn(t,s,()=>p(v)):p(v)}f()}catch(v){t.error(v)}}))};return e.subscribe(new Se(t,h,()=>{d=!0,f()})),()=>{null==a||a()}}(r,o,e,n)))}function ho(e=1/0){return Ae(Hn,e)}const on=new se(e=>e.complete());function Ra(e){return e[e.length-1]}function rf(e){return re(Ra(e))?e.pop():void 0}function po(e){return function MC(e){return e&&re(e.schedule)}(Ra(e))?e.pop():void 0}function of(e,t=0){return xe((n,r)=>{n.subscribe(new Se(r,o=>rn(r,e,()=>r.next(o),t),()=>rn(r,e,()=>r.complete(),t),o=>rn(r,e,()=>r.error(o),t)))})}function sf(e,t=0){return xe((n,r)=>{r.add(e.schedule(()=>n.subscribe(r),t))})}function af(e,t){if(!e)throw new Error("Iterable cannot be null");return new se(n=>{rn(n,t,()=>{const r=e[Symbol.asyncIterator]();rn(n,t,()=>{r.next().then(o=>{o.done?n.complete():n.next(o.value)})},0,!0)})})}function Ie(e,t){return t?function NC(e,t){if(null!=e){if(Zd(e))return function AC(e,t){return jt(e).pipe(sf(t),of(t))}(e,t);if(Wd(e))return function TC(e,t){return new se(n=>{let r=0;return t.schedule(function(){r===e.length?n.complete():(n.next(e[r++]),n.closed||this.schedule())})})}(e,t);if(Qd(e))return function IC(e,t){return jt(e).pipe(sf(t),of(t))}(e,t);if(Kd(e))return af(e,t);if(Xd(e))return function xC(e,t){return new se(n=>{let r;return rn(n,t,()=>{r=e[Yd](),rn(n,t,()=>{let o,i;try{({value:o,done:i}=r.next())}catch(s){return void n.error(s)}i?n.complete():n.next(o)},0,!0)}),()=>re(null==r?void 0:r.return)&&r.return()})}(e,t);if(tf(e))return function RC(e,t){return af(ef(e),t)}(e,t)}throw Jd(e)}(e,t):jt(e)}function xi(e){return e<=0?()=>on:xe((t,n)=>{let r=0;t.subscribe(new Se(n,o=>{++r<=e&&(n.next(o),e<=r&&n.complete())}))})}function Na(e,t,...n){return!0===t?(e(),null):!1===t?null:t(...n).pipe(xi(1)).subscribe(()=>e())}function J(e){for(let t in e)if(e[t]===J)return t;throw Error("Could not find renamed property on target object.")}function Fa(e,t){for(const n in t)t.hasOwnProperty(n)&&!e.hasOwnProperty(n)&&(e[n]=t[n])}function Z(e){if("string"==typeof e)return e;if(Array.isArray(e))return"["+e.map(Z).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 Oa(e,t){return null==e||""===e?null===t?"":t:null==t||""===t?e:e+" "+t}const PC=J({__forward_ref__:J});function ee(e){return e.__forward_ref__=ee,e.toString=function(){return Z(this())},e}function V(e){return lf(e)?e():e}function lf(e){return"function"==typeof e&&e.hasOwnProperty(PC)&&e.__forward_ref__===ee}class z extends Error{constructor(t,n){super(function Pa(e,t){return`NG0${Math.abs(e)}${t?": "+t:""}`}(t,n)),this.code=t}}function N(e){return"string"==typeof e?e:null==e?"":String(e)}function He(e){return"function"==typeof e?e.name||e.toString():"object"==typeof e&&null!=e&&"function"==typeof e.type?e.type.name||e.type.toString():N(e)}function Ri(e,t){const n=t?` in ${t}`:"";throw new z(-201,`No provider for ${He(e)} found${n}`)}function nt(e,t){null==e&&function oe(e,t,n,r){throw new Error(`ASSERTION ERROR: ${e}`+(null==r?"":` [Expected=> ${n} ${r} ${t} <=Actual]`))}(t,e,null,"!=")}function P(e){return{token:e.token,providedIn:e.providedIn||null,factory:e.factory,value:void 0}}function rt(e){return{providers:e.providers||[],imports:e.imports||[]}}function ka(e){return uf(e,Ni)||uf(e,df)}function uf(e,t){return e.hasOwnProperty(t)?e[t]:null}function cf(e){return e&&(e.hasOwnProperty(Va)||e.hasOwnProperty(UC))?e[Va]:null}const Ni=J({\u0275prov:J}),Va=J({\u0275inj:J}),df=J({ngInjectableDef:J}),UC=J({ngInjectorDef:J});var O=(()=>((O=O||{})[O.Default=0]="Default",O[O.Host=1]="Host",O[O.Self=2]="Self",O[O.SkipSelf=4]="SkipSelf",O[O.Optional=8]="Optional",O))();let La;function Cn(e){const t=La;return La=e,t}function ff(e,t,n){const r=ka(e);return r&&"root"==r.providedIn?void 0===r.value?r.value=r.factory():r.value:n&O.Optional?null:void 0!==t?t:void Ri(Z(e),"Injector")}function wn(e){return{toString:e}.toString()}var bt=(()=>((bt=bt||{})[bt.OnPush=0]="OnPush",bt[bt.Default=1]="Default",bt))(),Bt=(()=>{return(e=Bt||(Bt={}))[e.Emulated=0]="Emulated",e[e.None=2]="None",e[e.ShadowDom=3]="ShadowDom",Bt;var e})();const GC="undefined"!=typeof globalThis&&globalThis,qC="undefined"!=typeof window&&window,zC="undefined"!=typeof self&&"undefined"!=typeof WorkerGlobalScope&&self instanceof WorkerGlobalScope&&self,K=GC||"undefined"!=typeof global&&global||qC||zC,ar={},Y=[],Fi=J({\u0275cmp:J}),ja=J({\u0275dir:J}),Ba=J({\u0275pipe:J}),hf=J({\u0275mod:J}),an=J({\u0275fac:J}),go=J({__NG_ELEMENT_ID__:J});let WC=0;function En(e){return wn(()=>{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===bt.OnPush,directiveDefs:null,pipeDefs:null,selectors:e.selectors||Y,viewQuery:e.viewQuery||null,features:e.features||null,data:e.data||{},encapsulation:e.encapsulation||Bt.Emulated,id:"c",styles:e.styles||Y,_:null,setInput:null,schemas:e.schemas||null,tView:null},o=e.directives,i=e.features,s=e.pipes;return r.id+=WC++,r.inputs=yf(e.inputs,n),r.outputs=yf(e.outputs),i&&i.forEach(a=>a(r)),r.directiveDefs=o?()=>("function"==typeof o?o():o).map(pf):null,r.pipeDefs=s?()=>("function"==typeof s?s():s).map(gf):null,r})}function pf(e){return Pe(e)||function bn(e){return e[ja]||null}(e)}function gf(e){return function $n(e){return e[Ba]||null}(e)}const mf={};function pt(e){return wn(()=>{const t={type:e.type,bootstrap:e.bootstrap||Y,declarations:e.declarations||Y,imports:e.imports||Y,exports:e.exports||Y,transitiveCompileScopes:null,schemas:e.schemas||null,id:e.id||null};return null!=e.id&&(mf[e.id]=e.type),t})}function yf(e,t){if(null==e)return ar;const n={};for(const r in e)if(e.hasOwnProperty(r)){let o=e[r],i=o;Array.isArray(o)&&(i=o[1],o=o[0]),n[o]=r,t&&(t[o]=i)}return n}const T=En;function Ue(e){return{type:e.type,name:e.name,factory:null,pure:!1!==e.pure,onDestroy:e.type.prototype.ngOnDestroy||null}}function Pe(e){return e[Fi]||null}function gt(e,t){const n=e[hf]||null;if(!n&&!0===t)throw new Error(`Type ${Z(e)} does not have '\u0275mod' property.`);return n}const L=11;function Ht(e){return Array.isArray(e)&&"object"==typeof e[1]}function St(e){return Array.isArray(e)&&!0===e[1]}function $a(e){return 0!=(8&e.flags)}function Vi(e){return 2==(2&e.flags)}function Li(e){return 1==(1&e.flags)}function At(e){return null!==e.template}function XC(e){return 0!=(512&e[2])}function Wn(e,t){return e.hasOwnProperty(an)?e[an]:null}class nw{constructor(t,n,r){this.previousValue=t,this.currentValue=n,this.firstChange=r}isFirstChange(){return this.firstChange}}function it(){return _f}function _f(e){return e.type.prototype.ngOnChanges&&(e.setInput=ow),rw}function rw(){const e=Cf(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 ow(e,t,n,r){const o=Cf(e)||function iw(e,t){return e[Df]=t}(e,{previous:ar,current:null}),i=o.current||(o.current={}),s=o.previous,a=this.declaredInputs[n],l=s[a];i[a]=new nw(l&&l.currentValue,t,s===ar),e[r]=t}it.ngInherit=!0;const Df="__ngSimpleChanges__";function Cf(e){return e[Df]||null}let za;function ce(e){return!!e.listen}const bf={createRenderer:(e,t)=>function Wa(){return void 0!==za?za:"undefined"!=typeof document?document:void 0}()};function me(e){for(;Array.isArray(e);)e=e[0];return e}function ji(e,t){return me(t[e])}function vt(e,t){return me(t[e.index])}function Qa(e,t){return e.data[t]}function st(e,t){const n=t[e];return Ht(n)?n:n[0]}function Za(e){return 128==(128&e[2])}function Mn(e,t){return null==t?null:e[t]}function Sf(e){e[18]=0}function Ka(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:Of(null),bindingsEnabled:!0,isInCheckNoChangesMode:!1};function Af(){return R.bindingsEnabled}function _(){return R.lFrame.lView}function W(){return R.lFrame.tView}function Ce(){let e=If();for(;null!==e&&64===e.type;)e=e.parent;return e}function If(){return R.lFrame.currentTNode}function Ut(e,t){const n=R.lFrame;n.currentTNode=e,n.isParent=t}function Ja(){return R.lFrame.isParent}function Bi(){return R.isInCheckNoChangesMode}function Hi(e){R.isInCheckNoChangesMode=e}function hr(){return R.lFrame.bindingIndex++}function Dw(e,t){const n=R.lFrame;n.bindingIndex=n.bindingRootIndex=e,Xa(t)}function Xa(e){R.lFrame.currentDirectiveIndex=e}function tl(e){R.lFrame.currentQueryIndex=e}function ww(e){const t=e[1];return 2===t.type?t.declTNode:1===t.type?e[6]:null}function Nf(e,t,n){if(n&O.SkipSelf){let o=t,i=e;for(;!(o=o.parent,null!==o||n&O.Host||(o=ww(i),null===o||(i=i[15],10&o.type))););if(null===o)return!1;t=o,e=i}const r=R.lFrame=Ff();return r.currentTNode=t,r.lView=e,!0}function Ui(e){const t=Ff(),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 Ff(){const e=R.lFrame,t=null===e?null:e.child;return null===t?Of(e):t}function Of(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 Pf(){const e=R.lFrame;return R.lFrame=e.parent,e.currentTNode=null,e.lView=null,e}const kf=Pf;function $i(){const e=Pf();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 Ge(){return R.lFrame.selectedIndex}function Sn(e){R.lFrame.selectedIndex=e}function de(){const e=R.lFrame;return Qa(e.tView,e.selectedIndex)}function Gi(e,t){for(let n=t.directiveStart,r=t.directiveEnd;n<r;n++){const i=e.data[n].type.prototype,{ngAfterContentInit:s,ngAfterContentChecked:a,ngAfterViewInit:l,ngAfterViewChecked:u,ngOnDestroy:c}=i;s&&(e.contentHooks||(e.contentHooks=[])).push(-n,s),a&&((e.contentHooks||(e.contentHooks=[])).push(n,a),(e.contentCheckHooks||(e.contentCheckHooks=[])).push(n,a)),l&&(e.viewHooks||(e.viewHooks=[])).push(-n,l),u&&((e.viewHooks||(e.viewHooks=[])).push(n,u),(e.viewCheckHooks||(e.viewCheckHooks=[])).push(n,u)),null!=c&&(e.destroyHooks||(e.destroyHooks=[])).push(n,c)}}function qi(e,t,n){Vf(e,t,3,n)}function zi(e,t,n,r){(3&e[2])===n&&Vf(e,t,n,r)}function nl(e,t){let n=e[2];(3&n)===t&&(n&=2047,n+=1,e[2]=n)}function Vf(e,t,n,r){const i=null!=r?r:-1,s=t.length-1;let a=0;for(let l=void 0!==r?65535&e[18]:0;l<s;l++)if("number"==typeof t[l+1]){if(a=t[l],null!=r&&a>=r)break}else t[l]<0&&(e[18]+=65536),(a<i||-1==i)&&(Rw(e,n,t,l),e[18]=(4294901760&e[18])+l+2),l++}function Rw(e,t,n,r){const o=n[r]<0,i=n[r+1],a=e[o?-n[r]:n[r]];if(o){if(e[2]>>11<e[18]>>16&&(3&e[2])===t){e[2]+=2048;try{i.call(a)}finally{}}}else try{i.call(a)}finally{}}class Do{constructor(t,n,r){this.factory=t,this.resolving=!1,this.canSeeViewProviders=n,this.injectImpl=r}}function Wi(e,t,n){const r=ce(e);let o=0;for(;o<n.length;){const i=n[o];if("number"==typeof i){if(0!==i)break;o++;const s=n[o++],a=n[o++],l=n[o++];r?e.setAttribute(t,a,l,s):t.setAttributeNS(s,a,l)}else{const s=i,a=n[++o];ol(s)?r&&e.setProperty(t,s,a):r?e.setAttribute(t,s,a):t.setAttribute(s,a),o++}}return o}function Lf(e){return 3===e||4===e||6===e}function ol(e){return 64===e.charCodeAt(0)}function Qi(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 o=t[r];"number"==typeof o?n=o:0===n||jf(e,n,o,null,-1===n||2===n?t[++r]:null)}}return e}function jf(e,t,n,r,o){let i=0,s=e.length;if(-1===t)s=-1;else for(;i<e.length;){const a=e[i++];if("number"==typeof a){if(a===t){s=-1;break}if(a>t){s=i-1;break}}}for(;i<e.length;){const a=e[i];if("number"==typeof a)break;if(a===n){if(null===r)return void(null!==o&&(e[i+1]=o));if(r===e[i+1])return void(e[i+2]=o)}i++,null!==r&&i++,null!==o&&i++}-1!==s&&(e.splice(s,0,t),i=s+1),e.splice(i++,0,n),null!==r&&e.splice(i++,0,r),null!==o&&e.splice(i++,0,o)}function Bf(e){return-1!==e}function pr(e){return 32767&e}function gr(e,t){let n=function kw(e){return e>>16}(e),r=t;for(;n>0;)r=r[15],n--;return r}let il=!0;function Zi(e){const t=il;return il=e,t}let Vw=0;function wo(e,t){const n=al(e,t);if(-1!==n)return n;const r=t[1];r.firstCreatePass&&(e.injectorIndex=t.length,sl(r.data,e),sl(t,null),sl(r.blueprint,null));const o=Ki(e,t),i=e.injectorIndex;if(Bf(o)){const s=pr(o),a=gr(o,t),l=a[1].data;for(let u=0;u<8;u++)t[i+u]=a[s+u]|l[s+u]}return t[i+8]=o,i}function sl(e,t){e.push(0,0,0,0,0,0,0,0,t)}function al(e,t){return-1===e.injectorIndex||e.parent&&e.parent.injectorIndex===e.injectorIndex||null===t[e.injectorIndex+8]?-1:e.injectorIndex}function Ki(e,t){if(e.parent&&-1!==e.parent.injectorIndex)return e.parent.injectorIndex;let n=0,r=null,o=t;for(;null!==o;){const i=o[1],s=i.type;if(r=2===s?i.declTNode:1===s?o[6]:null,null===r)return-1;if(n++,o=o[15],-1!==r.injectorIndex)return r.injectorIndex|n<<16}return-1}function Ji(e,t,n){!function Lw(e,t,n){let r;"string"==typeof n?r=n.charCodeAt(0)||0:n.hasOwnProperty(go)&&(r=n[go]),null==r&&(r=n[go]=Vw++);const o=255&r;t.data[e+(o>>5)]|=1<<o}(e,t,n)}function $f(e,t,n){if(n&O.Optional)return e;Ri(t,"NodeInjector")}function Gf(e,t,n,r){if(n&O.Optional&&void 0===r&&(r=null),0==(n&(O.Self|O.Host))){const o=e[9],i=Cn(void 0);try{return o?o.get(t,r,n&O.Optional):ff(t,r,n&O.Optional)}finally{Cn(i)}}return $f(r,t,n)}function qf(e,t,n,r=O.Default,o){if(null!==e){const i=function Uw(e){if("string"==typeof e)return e.charCodeAt(0)||0;const t=e.hasOwnProperty(go)?e[go]:void 0;return"number"==typeof t?t>=0?255&t:Bw:t}(n);if("function"==typeof i){if(!Nf(t,e,r))return r&O.Host?$f(o,n,r):Gf(t,n,r,o);try{const s=i(r);if(null!=s||r&O.Optional)return s;Ri(n)}finally{kf()}}else if("number"==typeof i){let s=null,a=al(e,t),l=-1,u=r&O.Host?t[16][6]:null;for((-1===a||r&O.SkipSelf)&&(l=-1===a?Ki(e,t):t[a+8],-1!==l&&Qf(r,!1)?(s=t[1],a=pr(l),t=gr(l,t)):a=-1);-1!==a;){const c=t[1];if(Wf(i,a,c.data)){const d=Hw(a,t,n,s,r,u);if(d!==zf)return d}l=t[a+8],-1!==l&&Qf(r,t[1].data[a+8]===u)&&Wf(i,a,t)?(s=c,a=pr(l),t=gr(l,t)):a=-1}}}return Gf(t,n,r,o)}const zf={};function Bw(){return new mr(Ce(),_())}function Hw(e,t,n,r,o,i){const s=t[1],a=s.data[e+8],c=function Yi(e,t,n,r,o){const i=e.providerIndexes,s=t.data,a=1048575&i,l=e.directiveStart,c=i>>20,f=o?a+c:e.directiveEnd;for(let h=r?a:a+c;h<f;h++){const p=s[h];if(h<l&&n===p||h>=l&&p.type===n)return h}if(o){const h=s[l];if(h&&At(h)&&h.type===n)return l}return null}(a,s,n,null==r?Vi(a)&&il:r!=s&&0!=(3&a.type),o&O.Host&&i===a);return null!==c?Eo(t,s,c,a):zf}function Eo(e,t,n,r){let o=e[n];const i=t.data;if(function Nw(e){return e instanceof Do}(o)){const s=o;s.resolving&&function kC(e,t){const n=t?`. Dependency path: ${t.join(" > ")} > ${e}`:"";throw new z(-200,`Circular dependency in DI detected for ${e}${n}`)}(He(i[n]));const a=Zi(s.canSeeViewProviders);s.resolving=!0;const l=s.injectImpl?Cn(s.injectImpl):null;Nf(e,r,O.Default);try{o=e[n]=s.factory(void 0,i,e,r),t.firstCreatePass&&n>=r.directiveStart&&function xw(e,t,n){const{ngOnChanges:r,ngOnInit:o,ngDoCheck:i}=t.type.prototype;if(r){const s=_f(t);(n.preOrderHooks||(n.preOrderHooks=[])).push(e,s),(n.preOrderCheckHooks||(n.preOrderCheckHooks=[])).push(e,s)}o&&(n.preOrderHooks||(n.preOrderHooks=[])).push(0-e,o),i&&((n.preOrderHooks||(n.preOrderHooks=[])).push(e,i),(n.preOrderCheckHooks||(n.preOrderCheckHooks=[])).push(e,i))}(n,i[n],t)}finally{null!==l&&Cn(l),Zi(a),s.resolving=!1,kf()}}return o}function Wf(e,t,n){return!!(n[t+(e>>5)]&1<<e)}function Qf(e,t){return!(e&O.Self||e&O.Host&&t)}class mr{constructor(t,n){this._tNode=t,this._lView=n}get(t,n,r){return qf(this._tNode,this._lView,t,r,n)}}function ll(e){return lf(e)?()=>{const t=ll(V(e));return t&&t()}:Wn(e)}const vr="__parameters__";function Dr(e,t,n){return wn(()=>{const r=function ul(e){return function(...n){if(e){const r=e(...n);for(const o in r)this[o]=r[o]}}}(t);function o(...i){if(this instanceof o)return r.apply(this,i),this;const s=new o(...i);return a.annotation=s,a;function a(l,u,c){const d=l.hasOwnProperty(vr)?l[vr]:Object.defineProperty(l,vr,{value:[]})[vr];for(;d.length<=c;)d.push(null);return(d[c]=d[c]||[]).push(s),l}}return n&&(o.prototype=Object.create(n.prototype)),o.prototype.ngMetadataName=e,o.annotationCls=o,o})}class j{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=P({token:this,providedIn:n.providedIn||"root",factory:n.factory}))}toString(){return`InjectionToken ${this._desc}`}}const Gw=new j("AnalyzeForEntryComponents");function $t(e,t){e.forEach(n=>Array.isArray(n)?$t(n,t):t(n))}function Kf(e,t,n){t>=e.length?e.push(n):e.splice(t,0,n)}function Xi(e,t){return t>=e.length-1?e.pop():e.splice(t,1)[0]}function at(e,t,n){let r=Cr(e,t);return r>=0?e[1|r]=n:(r=~r,function Ww(e,t,n,r){let o=e.length;if(o==t)e.push(n,r);else if(1===o)e.push(r,e[0]),e[0]=n;else{for(o--,e.push(e[o-1],e[o]);o>t;)e[o]=e[o-2],o--;e[t]=n,e[t+1]=r}}(e,r,t,n)),r}function dl(e,t){const n=Cr(e,t);if(n>=0)return e[1|n]}function Cr(e,t){return function Xf(e,t,n){let r=0,o=e.length>>n;for(;o!==r;){const i=r+(o-r>>1),s=e[i<<n];if(t===s)return i<<n;s>t?o=i:r=i+1}return~(o<<n)}(e,t,1)}const Io={},hl="__NG_DI_FLAG__",ts="ngTempTokenPath",eE=/\n/gm,th="__source",nE=J({provide:String,useValue:J});let To;function nh(e){const t=To;return To=e,t}function rE(e,t=O.Default){if(void 0===To)throw new z(203,"");return null===To?ff(e,void 0,t):To.get(e,t&O.Optional?null:void 0,t)}function b(e,t=O.Default){return(function $C(){return La}()||rE)(V(e),t)}function pl(e){const t=[];for(let n=0;n<e.length;n++){const r=V(e[n]);if(Array.isArray(r)){if(0===r.length)throw new z(900,"");let o,i=O.Default;for(let s=0;s<r.length;s++){const a=r[s],l=oE(a);"number"==typeof l?-1===l?o=a.token:i|=l:o=a}t.push(b(o,i))}else t.push(b(r))}return t}function xo(e,t){return e[hl]=t,e.prototype[hl]=t,e}function oE(e){return e[hl]}const Ro=xo(Dr("Inject",e=>({token:e})),-1),Gt=xo(Dr("Optional"),8),wr=xo(Dr("SkipSelf"),4);class dh{constructor(t){this.changingThisBreaksApplicationSecurity=t}toString(){return`SafeValue must use [property]=binding: ${this.changingThisBreaksApplicationSecurity} (see https://g.co/ng/security#xss)`}}function In(e){return e instanceof dh?e.changingThisBreaksApplicationSecurity:e}const SE=/^(?:(?:https?|mailto|ftp|tel|file|sms):|[^&:/?#]*(?:[/?#]|$))/gi,AE=/^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 ye=(()=>((ye=ye||{})[ye.NONE=0]="NONE",ye[ye.HTML=1]="HTML",ye[ye.STYLE=2]="STYLE",ye[ye.SCRIPT=3]="SCRIPT",ye[ye.URL=4]="URL",ye[ye.RESOURCE_URL=5]="RESOURCE_URL",ye))();function Mr(e){const t=function Po(){const e=_();return e&&e[12]}();return t?t.sanitize(ye.URL,e)||"":function Fo(e,t){const n=function wE(e){return e instanceof dh&&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")?In(e):function is(e){return(e=String(e)).match(SE)||e.match(AE)?e:"unsafe:"+e}(N(e))}const Ch="__ngContext__";function Ve(e,t){e[Ch]=t}function El(e){const t=function ko(e){return e[Ch]||null}(e);return t?Array.isArray(t)?t:t.lView:null}function Ml(e){return e.ngOriginalError}function KE(e,...t){e.error(...t)}class Sr{constructor(){this._console=console}handleError(t){const n=this._findOriginalError(t),r=function ZE(e){return e&&e.ngErrorLogger||KE}(t);r(this._console,"ERROR",t),n&&r(this._console,"ORIGINAL ERROR",n)}_findOriginalError(t){let n=t&&Ml(t);for(;n&&Ml(n);)n=Ml(n);return n||null}}const Sh=(()=>("undefined"!=typeof requestAnimationFrame&&requestAnimationFrame||setTimeout).bind(K))();function zt(e){return e instanceof Function?e():e}var lt=(()=>((lt=lt||{})[lt.Important=1]="Important",lt[lt.DashCase=2]="DashCase",lt))();function Al(e,t){return undefined(e,t)}function Vo(e){const t=e[3];return St(t)?t[3]:t}function Il(e){return Rh(e[13])}function Tl(e){return Rh(e[4])}function Rh(e){for(;null!==e&&!St(e);)e=e[4];return e}function Ir(e,t,n,r,o){if(null!=r){let i,s=!1;St(r)?i=r:Ht(r)&&(s=!0,r=r[0]);const a=me(r);0===e&&null!==n?null==o?Vh(t,n,a):Qn(t,n,a,o||null,!0):1===e&&null!==n?Qn(t,n,a,o||null,!0):2===e?function Gh(e,t,n){const r=as(e,t);r&&function _b(e,t,n,r){ce(e)?e.removeChild(t,n,r):t.removeChild(n)}(e,r,t,n)}(t,a,s):3===e&&t.destroyNode(a),null!=i&&function wb(e,t,n,r,o){const i=n[7];i!==me(n)&&Ir(t,e,r,i,o);for(let a=10;a<n.length;a++){const l=n[a];Lo(l[1],l,e,t,r,i)}}(t,e,i,n,o)}}function Rl(e,t,n){return ce(e)?e.createElement(t,n):null===n?e.createElement(t):e.createElementNS(n,t)}function Fh(e,t){const n=e[9],r=n.indexOf(t),o=t[3];1024&t[2]&&(t[2]&=-1025,Ka(o,-1)),n.splice(r,1)}function Nl(e,t){if(e.length<=10)return;const n=10+t,r=e[n];if(r){const o=r[17];null!==o&&o!==e&&Fh(o,r),t>0&&(e[n-1][4]=r[4]);const i=Xi(e,10+t);!function db(e,t){Lo(e,t,t[L],2,null,null),t[0]=null,t[6]=null}(r[1],r);const s=i[19];null!==s&&s.detachView(i[1]),r[3]=null,r[4]=null,r[2]&=-129}return r}function Oh(e,t){if(!(256&t[2])){const n=t[L];ce(n)&&n.destroyNode&&Lo(e,t,n,3,null,null),function pb(e){let t=e[13];if(!t)return Fl(e[1],e);for(;t;){let n=null;if(Ht(t))n=t[13];else{const r=t[10];r&&(n=r)}if(!n){for(;t&&!t[4]&&t!==e;)Ht(t)&&Fl(t[1],t),t=t[3];null===t&&(t=e),Ht(t)&&Fl(t[1],t),n=t&&t[4]}t=n}}(t)}}function Fl(e,t){if(!(256&t[2])){t[2]&=-129,t[2]|=256,function vb(e,t){let n;if(null!=e&&null!=(n=e.destroyHooks))for(let r=0;r<n.length;r+=2){const o=t[n[r]];if(!(o instanceof Do)){const i=n[r+1];if(Array.isArray(i))for(let s=0;s<i.length;s+=2){const a=o[i[s]],l=i[s+1];try{l.call(a)}finally{}}else try{i.call(o)}finally{}}}}(e,t),function yb(e,t){const n=e.cleanup,r=t[7];let o=-1;if(null!==n)for(let i=0;i<n.length-1;i+=2)if("string"==typeof n[i]){const s=n[i+1],a="function"==typeof s?s(t):me(t[s]),l=r[o=n[i+2]],u=n[i+3];"boolean"==typeof u?a.removeEventListener(n[i],l,u):u>=0?r[o=u]():r[o=-u].unsubscribe(),i+=2}else{const s=r[o=n[i+1]];n[i].call(s)}if(null!==r){for(let i=o+1;i<r.length;i++)r[i]();t[7]=null}}(e,t),1===t[1].type&&ce(t[L])&&t[L].destroy();const n=t[17];if(null!==n&&St(t[3])){n!==t[3]&&Fh(n,t);const r=t[19];null!==r&&r.detachView(e)}}}function Ph(e,t,n){return function kh(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 o=e.data[r.directiveStart].encapsulation;if(o===Bt.None||o===Bt.Emulated)return null}return vt(r,n)}(e,t.parent,n)}function Qn(e,t,n,r,o){ce(e)?e.insertBefore(t,n,r,o):t.insertBefore(n,r,o)}function Vh(e,t,n){ce(e)?e.appendChild(t,n):t.appendChild(n)}function Lh(e,t,n,r,o){null!==r?Qn(e,t,n,r,o):Vh(e,t,n)}function as(e,t){return ce(e)?e.parentNode(t):t.parentNode}let Hh=function Bh(e,t,n){return 40&e.type?vt(e,n):null};function ls(e,t,n,r){const o=Ph(e,r,t),i=t[L],a=function jh(e,t,n){return Hh(e,t,n)}(r.parent||t[6],r,t);if(null!=o)if(Array.isArray(n))for(let l=0;l<n.length;l++)Lh(i,o,n[l],a,!1);else Lh(i,o,n,a,!1)}function us(e,t){if(null!==t){const n=t.type;if(3&n)return vt(t,e);if(4&n)return Pl(-1,e[t.index]);if(8&n){const r=t.child;if(null!==r)return us(e,r);{const o=e[t.index];return St(o)?Pl(-1,o):me(o)}}if(32&n)return Al(t,e)()||me(e[t.index]);{const r=$h(e,t);return null!==r?Array.isArray(r)?r[0]:us(Vo(e[16]),r):us(e,t.next)}}return null}function $h(e,t){return null!==t?e[16][6].projection[t.projection]:null}function Pl(e,t){const n=10+e+1;if(n<t.length){const r=t[n],o=r[1].firstChild;if(null!==o)return us(r,o)}return t[7]}function kl(e,t,n,r,o,i,s){for(;null!=n;){const a=r[n.index],l=n.type;if(s&&0===t&&(a&&Ve(me(a),r),n.flags|=4),64!=(64&n.flags))if(8&l)kl(e,t,n.child,r,o,i,!1),Ir(t,e,o,a,i);else if(32&l){const u=Al(n,r);let c;for(;c=u();)Ir(t,e,o,c,i);Ir(t,e,o,a,i)}else 16&l?qh(e,t,r,n,o,i):Ir(t,e,o,a,i);n=s?n.projectionNext:n.next}}function Lo(e,t,n,r,o,i){kl(n,r,e.firstChild,t,o,i,!1)}function qh(e,t,n,r,o,i){const s=n[16],l=s[6].projection[r.projection];if(Array.isArray(l))for(let u=0;u<l.length;u++)Ir(t,e,o,l[u],i);else kl(e,t,l,s[3],o,i,!0)}function zh(e,t,n){ce(e)?e.setAttribute(t,"style",n):t.style.cssText=n}function Vl(e,t,n){ce(e)?""===n?e.removeAttribute(t,"class"):e.setAttribute(t,"class",n):t.className=n}function Wh(e,t,n){let r=e.length;for(;;){const o=e.indexOf(t,n);if(-1===o)return o;if(0===o||e.charCodeAt(o-1)<=32){const i=t.length;if(o+i===r||e.charCodeAt(o+i)<=32)return o}n=o+1}}const Qh="ng-template";function bb(e,t,n){let r=0;for(;r<e.length;){let o=e[r++];if(n&&"class"===o){if(o=e[r],-1!==Wh(o.toLowerCase(),t,0))return!0}else if(1===o){for(;r<e.length&&"string"==typeof(o=e[r++]);)if(o.toLowerCase()===t)return!0;return!1}}return!1}function Zh(e){return 4===e.type&&e.value!==Qh}function Mb(e,t,n){return t===(4!==e.type||n?e.value:Qh)}function Sb(e,t,n){let r=4;const o=e.attrs||[],i=function Tb(e){for(let t=0;t<e.length;t++)if(Lf(e[t]))return t;return e.length}(o);let s=!1;for(let a=0;a<t.length;a++){const l=t[a];if("number"!=typeof l){if(!s)if(4&r){if(r=2|1&r,""!==l&&!Mb(e,l,n)||""===l&&1===t.length){if(It(r))return!1;s=!0}}else{const u=8&r?l:t[++a];if(8&r&&null!==e.attrs){if(!bb(e.attrs,u,n)){if(It(r))return!1;s=!0}continue}const d=Ab(8&r?"class":l,o,Zh(e),n);if(-1===d){if(It(r))return!1;s=!0;continue}if(""!==u){let f;f=d>i?"":o[d+1].toLowerCase();const h=8&r?f:null;if(h&&-1!==Wh(h,u,0)||2&r&&u!==f){if(It(r))return!1;s=!0}}}}else{if(!s&&!It(r)&&!It(l))return!1;if(s&&It(l))continue;s=!1,r=l|1&r}}return It(r)||s}function It(e){return 0==(1&e)}function Ab(e,t,n,r){if(null===t)return-1;let o=0;if(r||!n){let i=!1;for(;o<t.length;){const s=t[o];if(s===e)return o;if(3===s||6===s)i=!0;else{if(1===s||2===s){let a=t[++o];for(;"string"==typeof a;)a=t[++o];continue}if(4===s)break;if(0===s){o+=4;continue}}o+=i?1:2}return-1}return function xb(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 Kh(e,t,n=!1){for(let r=0;r<t.length;r++)if(Sb(e,t[r],n))return!0;return!1}function Jh(e,t){return e?":not("+t.trim()+")":t}function Nb(e){let t=e[0],n=1,r=2,o="",i=!1;for(;n<e.length;){let s=e[n];if("string"==typeof s)if(2&r){const a=e[++n];o+="["+s+(a.length>0?'="'+a+'"':"")+"]"}else 8&r?o+="."+s:4&r&&(o+=" "+s);else""!==o&&!It(s)&&(t+=Jh(i,o),o=""),r=s,i=i||!It(r);n++}return""!==o&&(t+=Jh(i,o)),t}const F={};function ie(e){Yh(W(),_(),Ge()+e,Bi())}function Yh(e,t,n,r){if(!r)if(3==(3&t[2])){const i=e.preOrderCheckHooks;null!==i&&qi(t,i,n)}else{const i=e.preOrderHooks;null!==i&&zi(t,i,0,n)}Sn(n)}function cs(e,t){return e<<17|t<<2}function Tt(e){return e>>17&32767}function Ll(e){return 2|e}function cn(e){return(131068&e)>>2}function jl(e,t){return-131069&e|t<<2}function Bl(e){return 1|e}function up(e,t){const n=e.contentQueries;if(null!==n)for(let r=0;r<n.length;r+=2){const o=n[r],i=n[r+1];if(-1!==i){const s=e.data[i];tl(o),s.contentQueries(2,t[i],i)}}}function jo(e,t,n,r,o,i,s,a,l,u){const c=t.blueprint.slice();return c[0]=o,c[2]=140|r,Sf(c),c[3]=c[15]=e,c[8]=n,c[10]=s||e&&e[10],c[L]=a||e&&e[L],c[12]=l||e&&e[12]||null,c[9]=u||e&&e[9]||null,c[6]=i,c[16]=2==t.type?e[16]:c,c}function Tr(e,t,n,r,o){let i=e.data[t];if(null===i)i=function Zl(e,t,n,r,o){const i=If(),s=Ja(),l=e.data[t]=function Kb(e,t,n,r,o,i){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:o,attrs:i,mergedAttrs:null,localNames:null,initialInputs:void 0,inputs:null,outputs:null,tViews:null,next:null,projectionNext:null,child:null,parent:t,projection:null,styles:null,stylesWithoutHost:null,residualStyles:void 0,classes:null,classesWithoutHost:null,residualClasses:void 0,classBindings:0,styleBindings:0}}(0,s?i:i&&i.parent,n,t,r,o);return null===e.firstChild&&(e.firstChild=l),null!==i&&(s?null==i.child&&null!==l.parent&&(i.child=l):null===i.next&&(i.next=l)),l}(e,t,n,r,o),function _w(){return R.lFrame.inI18n}()&&(i.flags|=64);else if(64&i.type){i.type=n,i.value=r,i.attrs=o;const s=function _o(){const e=R.lFrame,t=e.currentTNode;return e.isParent?t:t.parent}();i.injectorIndex=null===s?-1:s.injectorIndex}return Ut(i,!0),i}function xr(e,t,n,r){if(0===n)return-1;const o=t.length;for(let i=0;i<n;i++)t.push(r),e.blueprint.push(r),e.data.push(null);return o}function Bo(e,t,n){Ui(t);try{const r=e.viewQuery;null!==r&&ou(1,r,n);const o=e.template;null!==o&&cp(e,t,o,1,n),e.firstCreatePass&&(e.firstCreatePass=!1),e.staticContentQueries&&up(e,t),e.staticViewQueries&&ou(2,e.viewQuery,n);const i=e.components;null!==i&&function Wb(e,t){for(let n=0;n<t.length;n++)g0(e,t[n])}(t,i)}catch(r){throw e.firstCreatePass&&(e.incompleteFirstPass=!0,e.firstCreatePass=!1),r}finally{t[2]&=-5,$i()}}function Rr(e,t,n,r){const o=t[2];if(256==(256&o))return;Ui(t);const i=Bi();try{Sf(t),function Tf(e){return R.lFrame.bindingIndex=e}(e.bindingStartIndex),null!==n&&cp(e,t,n,2,r);const s=3==(3&o);if(!i)if(s){const u=e.preOrderCheckHooks;null!==u&&qi(t,u,null)}else{const u=e.preOrderHooks;null!==u&&zi(t,u,0,null),nl(t,0)}if(function h0(e){for(let t=Il(e);null!==t;t=Tl(t)){if(!t[2])continue;const n=t[9];for(let r=0;r<n.length;r++){const o=n[r],i=o[3];0==(1024&o[2])&&Ka(i,1),o[2]|=1024}}}(t),function f0(e){for(let t=Il(e);null!==t;t=Tl(t))for(let n=10;n<t.length;n++){const r=t[n],o=r[1];Za(r)&&Rr(o,r,o.template,r[8])}}(t),null!==e.contentQueries&&up(e,t),!i)if(s){const u=e.contentCheckHooks;null!==u&&qi(t,u)}else{const u=e.contentHooks;null!==u&&zi(t,u,1),nl(t,1)}!function qb(e,t){const n=e.hostBindingOpCodes;if(null!==n)try{for(let r=0;r<n.length;r++){const o=n[r];if(o<0)Sn(~o);else{const i=o,s=n[++r],a=n[++r];Dw(s,i),a(2,t[i])}}}finally{Sn(-1)}}(e,t);const a=e.components;null!==a&&function zb(e,t){for(let n=0;n<t.length;n++)p0(e,t[n])}(t,a);const l=e.viewQuery;if(null!==l&&ou(2,l,r),!i)if(s){const u=e.viewCheckHooks;null!==u&&qi(t,u)}else{const u=e.viewHooks;null!==u&&zi(t,u,2),nl(t,2)}!0===e.firstUpdatePass&&(e.firstUpdatePass=!1),i||(t[2]&=-73),1024&t[2]&&(t[2]&=-1025,Ka(t[3],-1))}finally{$i()}}function Qb(e,t,n,r){const o=t[10],i=!Bi(),s=function Mf(e){return 4==(4&e[2])}(t);try{i&&!s&&o.begin&&o.begin(),s&&Bo(e,t,r),Rr(e,t,n,r)}finally{i&&!s&&o.end&&o.end()}}function cp(e,t,n,r,o){const i=Ge(),s=2&r;try{Sn(-1),s&&t.length>20&&Yh(e,t,20,Bi()),n(r,o)}finally{Sn(i)}}function Kl(e,t,n){!Af()||(function r0(e,t,n,r){const o=n.directiveStart,i=n.directiveEnd;e.firstCreatePass||wo(n,t),Ve(r,t);const s=n.initialInputs;for(let a=o;a<i;a++){const l=e.data[a],u=At(l);u&&u0(t,n,l);const c=Eo(t,e,a,n);Ve(c,t),null!==s&&c0(0,a-o,c,l,0,s),u&&(st(n.index,t)[8]=c)}}(e,t,n,vt(n,t)),128==(128&n.flags)&&function o0(e,t,n){const r=n.directiveStart,o=n.directiveEnd,s=n.index,a=function Cw(){return R.lFrame.currentDirectiveIndex}();try{Sn(s);for(let l=r;l<o;l++){const u=e.data[l],c=t[l];Xa(l),(null!==u.hostBindings||0!==u.hostVars||null!==u.hostAttrs)&&_p(u,c)}}finally{Sn(-1),Xa(a)}}(e,t,n))}function Jl(e,t,n=vt){const r=t.localNames;if(null!==r){let o=t.index+1;for(let i=0;i<r.length;i+=2){const s=r[i+1],a=-1===s?n(t,e):e[s];e[o++]=a}}}function fp(e){const t=e.tView;return null===t||t.incompleteFirstPass?e.tView=hs(1,null,e.template,e.decls,e.vars,e.directiveDefs,e.pipeDefs,e.viewQuery,e.schemas,e.consts):t}function hs(e,t,n,r,o,i,s,a,l,u){const c=20+r,d=c+o,f=function Zb(e,t){const n=[];for(let r=0;r<t;r++)n.push(r<e?null:F);return n}(c,d),h="function"==typeof u?u():u;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 i?i():i,pipeRegistry:"function"==typeof s?s():s,firstChild:null,schemas:l,consts:h,incompleteFirstPass:!1}}function mp(e,t,n){for(let r in e)if(e.hasOwnProperty(r)){const o=e[r];(n=null===n?{}:n).hasOwnProperty(r)?n[r].push(t,o):n[r]=[t,o]}return n}function Yl(e,t,n,r){let o=!1;if(Af()){const i=function s0(e,t,n){const r=e.directiveRegistry;let o=null;if(r)for(let i=0;i<r.length;i++){const s=r[i];Kh(n,s.selectors,!1)&&(o||(o=[]),Ji(wo(n,t),e,s.type),At(s)?(Dp(e,n),o.unshift(s)):o.push(s))}return o}(e,t,n),s=null===r?null:{"":-1};if(null!==i){o=!0,Cp(n,e.data.length,i.length);for(let c=0;c<i.length;c++){const d=i[c];d.providersResolver&&d.providersResolver(d)}let a=!1,l=!1,u=xr(e,t,i.length,null);for(let c=0;c<i.length;c++){const d=i[c];n.mergedAttrs=Qi(n.mergedAttrs,d.hostAttrs),wp(e,n,t,u,d),l0(u,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),!l&&(f.ngOnChanges||f.ngDoCheck)&&((e.preOrderCheckHooks||(e.preOrderCheckHooks=[])).push(n.index),l=!0),u++}!function Jb(e,t){const r=t.directiveEnd,o=e.data,i=t.attrs,s=[];let a=null,l=null;for(let u=t.directiveStart;u<r;u++){const c=o[u],d=c.inputs,f=null===i||Zh(t)?null:d0(d,i);s.push(f),a=mp(d,u,a),l=mp(c.outputs,u,l)}null!==a&&(a.hasOwnProperty("class")&&(t.flags|=16),a.hasOwnProperty("style")&&(t.flags|=32)),t.initialInputs=s,t.inputs=a,t.outputs=l}(e,n)}s&&function a0(e,t,n){if(t){const r=e.localNames=[];for(let o=0;o<t.length;o+=2){const i=n[t[o+1]];if(null==i)throw new z(-301,`Export of name '${t[o+1]}' not found!`);r.push(t[o],i)}}}(n,r,s)}return n.mergedAttrs=Qi(n.mergedAttrs,n.attrs),o}function vp(e,t,n,r,o,i){const s=i.hostBindings;if(s){let a=e.hostBindingOpCodes;null===a&&(a=e.hostBindingOpCodes=[]);const l=~t.index;(function n0(e){let t=e.length;for(;t>0;){const n=e[--t];if("number"==typeof n&&n<0)return n}return 0})(a)!=l&&a.push(l),a.push(r,o,s)}}function _p(e,t){null!==e.hostBindings&&e.hostBindings(1,t)}function Dp(e,t){t.flags|=2,(e.components||(e.components=[])).push(t.index)}function l0(e,t,n){if(n){if(t.exportAs)for(let r=0;r<t.exportAs.length;r++)n[t.exportAs[r]]=e;At(t)&&(n[""]=e)}}function Cp(e,t,n){e.flags|=1,e.directiveStart=t,e.directiveEnd=t+n,e.providerIndexes=t}function wp(e,t,n,r,o){e.data[r]=o;const i=o.factory||(o.factory=Wn(o.type)),s=new Do(i,At(o),null);e.blueprint[r]=s,n[r]=s,vp(e,t,0,r,xr(e,n,o.hostVars,F),o)}function u0(e,t,n){const r=vt(t,e),o=fp(n),i=e[10],s=ps(e,jo(e,o,null,n.onPush?64:16,r,t,i,i.createRenderer(r,n),null,null));e[t.index]=s}function Wt(e,t,n,r,o,i){const s=vt(e,t);!function Xl(e,t,n,r,o,i,s){if(null==i)ce(e)?e.removeAttribute(t,o,n):t.removeAttribute(o);else{const a=null==s?N(i):s(i,r||"",o);ce(e)?e.setAttribute(t,o,a,n):n?t.setAttributeNS(n,o,a):t.setAttribute(o,a)}}(t[L],s,i,e.value,n,r,o)}function c0(e,t,n,r,o,i){const s=i[t];if(null!==s){const a=r.setInput;for(let l=0;l<s.length;){const u=s[l++],c=s[l++],d=s[l++];null!==a?r.setInput(n,d,u,c):n[c]=d}}}function d0(e,t){let n=null,r=0;for(;r<t.length;){const o=t[r];if(0!==o)if(5!==o){if("number"==typeof o)break;e.hasOwnProperty(o)&&(null===n&&(n=[]),n.push(o,e[o],t[r+1])),r+=2}else r+=2;else r+=4}return n}function Ep(e,t,n,r){return new Array(e,!0,!1,t,null,0,r,n,null,null)}function p0(e,t){const n=st(t,e);if(Za(n)){const r=n[1];80&n[2]?Rr(r,n,r.template,n[8]):n[5]>0&&eu(n)}}function eu(e){for(let r=Il(e);null!==r;r=Tl(r))for(let o=10;o<r.length;o++){const i=r[o];if(1024&i[2]){const s=i[1];Rr(s,i,s.template,i[8])}else i[5]>0&&eu(i)}const n=e[1].components;if(null!==n)for(let r=0;r<n.length;r++){const o=st(n[r],e);Za(o)&&o[5]>0&&eu(o)}}function g0(e,t){const n=st(t,e),r=n[1];(function m0(e,t){for(let n=t.length;n<e.blueprint.length;n++)t.push(e.blueprint[n])})(r,n),Bo(r,n,n[8])}function ps(e,t){return e[13]?e[14][4]=t:e[13]=t,e[14]=t,t}function tu(e){for(;e;){e[2]|=64;const t=Vo(e);if(XC(e)&&!t)return e;e=t}return null}function ru(e,t,n){const r=t[10];r.begin&&r.begin();try{Rr(e,t,e.template,n)}catch(o){throw Ip(t,o),o}finally{r.end&&r.end()}}function bp(e){!function nu(e){for(let t=0;t<e.components.length;t++){const n=e.components[t],r=El(n),o=r[1];Qb(o,r,o.template,n)}}(e[8])}function ou(e,t,n){tl(0),t(e,n)}const D0=(()=>Promise.resolve(null))();function Mp(e){return e[7]||(e[7]=[])}function Sp(e){return e.cleanup||(e.cleanup=[])}function Ip(e,t){const n=e[9],r=n?n.get(Sr,null):null;r&&r.handleError(t)}function Tp(e,t,n,r,o){for(let i=0;i<n.length;){const s=n[i++],a=n[i++],l=t[s],u=e.data[s];null!==u.setInput?u.setInput(l,o,r,a):l[a]=o}}function dn(e,t,n){const r=ji(t,e);!function Nh(e,t,n){ce(e)?e.setValue(t,n):t.textContent=n}(e[L],r,n)}function gs(e,t,n){let r=n?e.styles:null,o=n?e.classes:null,i=0;if(null!==t)for(let s=0;s<t.length;s++){const a=t[s];"number"==typeof a?i=a:1==i?o=Oa(o,a):2==i&&(r=Oa(r,a+": "+t[++s]+";"))}n?e.styles=r:e.stylesWithoutHost=r,n?e.classes=o:e.classesWithoutHost=o}const iu=new j("INJECTOR",-1);class xp{get(t,n=Io){if(n===Io){const r=new Error(`NullInjectorError: No provider for ${Z(t)}!`);throw r.name="NullInjectorError",r}return n}}const su=new j("Set Injector scope."),Ho={},E0={};let au;function Rp(){return void 0===au&&(au=new xp),au}function Np(e,t=null,n=null,r){const o=Fp(e,t,n,r);return o._resolveInjectorDefTypes(),o}function Fp(e,t=null,n=null,r){return new b0(e,n,t||Rp(),r)}class b0{constructor(t,n,r,o=null){this.parent=r,this.records=new Map,this.injectorDefTypes=new Set,this.onDestroy=new Set,this._destroyed=!1;const i=[];n&&$t(n,a=>this.processProvider(a,t,n)),$t([t],a=>this.processInjectorType(a,[],i)),this.records.set(iu,Nr(void 0,this));const s=this.records.get(su);this.scope=null!=s?s.value:null,this.source=o||("object"==typeof t?null:Z(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=Io,r=O.Default){this.assertNotDestroyed();const o=nh(this),i=Cn(void 0);try{if(!(r&O.SkipSelf)){let a=this.records.get(t);if(void 0===a){const l=function N0(e){return"function"==typeof e||"object"==typeof e&&e instanceof j}(t)&&ka(t);a=l&&this.injectableDefInScope(l)?Nr(lu(t),Ho):null,this.records.set(t,a)}if(null!=a)return this.hydrate(t,a)}return(r&O.Self?Rp():this.parent).get(t,n=r&O.Optional&&n===Io?null:n)}catch(s){if("NullInjectorError"===s.name){if((s[ts]=s[ts]||[]).unshift(Z(t)),o)throw s;return function iE(e,t,n,r){const o=e[ts];throw t[th]&&o.unshift(t[th]),e.message=function sE(e,t,n,r=null){e=e&&"\n"===e.charAt(0)&&"\u0275"==e.charAt(1)?e.substr(2):e;let o=Z(t);if(Array.isArray(t))o=t.map(Z).join(" -> ");else if("object"==typeof t){let i=[];for(let s in t)if(t.hasOwnProperty(s)){let a=t[s];i.push(s+":"+("string"==typeof a?JSON.stringify(a):Z(a)))}o=`{${i.join(", ")}}`}return`${n}${r?"("+r+")":""}[${o}]: ${e.replace(eE,"\n  ")}`}("\n"+e.message,o,n,r),e.ngTokenPath=o,e[ts]=null,e}(s,t,"R3InjectorError",this.source)}throw s}finally{Cn(i),nh(o)}}_resolveInjectorDefTypes(){this.injectorDefTypes.forEach(t=>this.get(t))}toString(){const t=[];return this.records.forEach((r,o)=>t.push(Z(o))),`R3Injector[${t.join(", ")}]`}assertNotDestroyed(){if(this._destroyed)throw new z(205,"")}processInjectorType(t,n,r){if(!(t=V(t)))return!1;let o=cf(t);const i=null==o&&t.ngModule||void 0,s=void 0===i?t:i,a=-1!==r.indexOf(s);if(void 0!==i&&(o=cf(i)),null==o)return!1;if(null!=o.imports&&!a){let c;r.push(s);try{$t(o.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];$t(h,p=>this.processProvider(p,f,h||Y))}}this.injectorDefTypes.add(s);const l=Wn(s)||(()=>new s);this.records.set(s,Nr(l,Ho));const u=o.providers;if(null!=u&&!a){const c=t;$t(u,d=>this.processProvider(d,c,u))}return void 0!==i&&void 0!==t.providers}processProvider(t,n,r){let o=Fr(t=V(t))?t:V(t&&t.provide);const i=function S0(e,t,n){return Pp(e)?Nr(void 0,e.useValue):Nr(Op(e),Ho)}(t);if(Fr(t)||!0!==t.multi)this.records.get(o);else{let s=this.records.get(o);s||(s=Nr(void 0,Ho,!0),s.factory=()=>pl(s.multi),this.records.set(o,s)),o=t,s.multi.push(t)}this.records.set(o,i)}hydrate(t,n){return n.value===Ho&&(n.value=E0,n.value=n.factory()),"object"==typeof n.value&&n.value&&function R0(e){return null!==e&&"object"==typeof e&&"function"==typeof e.ngOnDestroy}(n.value)&&this.onDestroy.add(n.value),n.value}injectableDefInScope(t){if(!t.providedIn)return!1;const n=V(t.providedIn);return"string"==typeof n?"any"===n||n===this.scope:this.injectorDefTypes.has(n)}}function lu(e){const t=ka(e),n=null!==t?t.factory:Wn(e);if(null!==n)return n;if(e instanceof j)throw new z(204,"");if(e instanceof Function)return function M0(e){const t=e.length;if(t>0)throw function Ao(e,t){const n=[];for(let r=0;r<e;r++)n.push(t);return n}(t,"?"),new z(204,"");const n=function BC(e){const t=e&&(e[Ni]||e[df]);if(t){const n=function HC(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 z(204,"")}function Op(e,t,n){let r;if(Fr(e)){const o=V(e);return Wn(o)||lu(o)}if(Pp(e))r=()=>V(e.useValue);else if(function I0(e){return!(!e||!e.useFactory)}(e))r=()=>e.useFactory(...pl(e.deps||[]));else if(function A0(e){return!(!e||!e.useExisting)}(e))r=()=>b(V(e.useExisting));else{const o=V(e&&(e.useClass||e.provide));if(!function x0(e){return!!e.deps}(e))return Wn(o)||lu(o);r=()=>new o(...pl(e.deps))}return r}function Nr(e,t,n=!1){return{factory:e,value:t,multi:n?[]:void 0}}function Pp(e){return null!==e&&"object"==typeof e&&nE in e}function Fr(e){return"function"==typeof e}let Re=(()=>{class e{static create(n,r){var o;if(Array.isArray(n))return Np({name:""},r,n,"");{const i=null!==(o=n.name)&&void 0!==o?o:"";return Np({name:i},n.parent,n.providers,i)}}}return e.THROW_IF_NOT_FOUND=Io,e.NULL=new xp,e.\u0275prov=P({token:e,providedIn:"any",factory:()=>b(iu)}),e.__NG_ELEMENT_ID__=-1,e})();function B0(e,t){Gi(El(e)[1],Ce())}function X(e){let t=function Wp(e){return Object.getPrototypeOf(e.prototype).constructor}(e.type),n=!0;const r=[e];for(;t;){let o;if(At(e))o=t.\u0275cmp||t.\u0275dir;else{if(t.\u0275cmp)throw new z(903,"");o=t.\u0275dir}if(o){if(n){r.push(o);const s=e;s.inputs=du(e.inputs),s.declaredInputs=du(e.declaredInputs),s.outputs=du(e.outputs);const a=o.hostBindings;a&&G0(e,a);const l=o.viewQuery,u=o.contentQueries;if(l&&U0(e,l),u&&$0(e,u),Fa(e.inputs,o.inputs),Fa(e.declaredInputs,o.declaredInputs),Fa(e.outputs,o.outputs),At(o)&&o.data.animation){const c=e.data;c.animation=(c.animation||[]).concat(o.data.animation)}}const i=o.features;if(i)for(let s=0;s<i.length;s++){const a=i[s];a&&a.ngInherit&&a(e),a===X&&(n=!1)}}t=Object.getPrototypeOf(t)}!function H0(e){let t=0,n=null;for(let r=e.length-1;r>=0;r--){const o=e[r];o.hostVars=t+=o.hostVars,o.hostAttrs=Qi(o.hostAttrs,n=Qi(n,o.hostAttrs))}}(r)}function du(e){return e===ar?{}:e===Y?[]:e}function U0(e,t){const n=e.viewQuery;e.viewQuery=n?(r,o)=>{t(r,o),n(r,o)}:t}function $0(e,t){const n=e.contentQueries;e.contentQueries=n?(r,o,i)=>{t(r,o,i),n(r,o,i)}:t}function G0(e,t){const n=e.hostBindings;e.hostBindings=n?(r,o)=>{t(r,o),n(r,o)}:t}let ms=null;function Or(){if(!ms){const e=K.Symbol;if(e&&e.iterator)ms=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&&(ms=r)}}}return ms}function Uo(e){return!!fu(e)&&(Array.isArray(e)||!(e instanceof Map)&&Or()in e)}function fu(e){return null!==e&&("function"==typeof e||"object"==typeof e)}function Le(e,t,n){return!Object.is(e[t],n)&&(e[t]=n,!0)}function Zt(e,t,n,r){const o=_();return Le(o,hr(),t)&&(W(),Wt(de(),o,e,t,n,r)),Zt}function fn(e,t,n,r,o,i,s,a){const l=_(),u=W(),c=e+20,d=u.firstCreatePass?function J0(e,t,n,r,o,i,s,a,l){const u=t.consts,c=Tr(t,e,4,s||null,Mn(u,a));Yl(t,n,c,Mn(u,l)),Gi(t,c);const d=c.tViews=hs(2,c,r,o,i,t.directiveRegistry,t.pipeRegistry,null,t.schemas,u);return null!==t.queries&&(t.queries.template(t,c),d.queries=t.queries.embeddedTView(c)),c}(c,u,l,t,n,r,o,i,s):u.data[c];Ut(d,!1);const f=l[L].createComment("");ls(u,l,f,d),Ve(f,l),ps(l,l[c]=Ep(f,l,f,d)),Li(d)&&Kl(u,l,d),null!=s&&Jl(l,d,a)}function D(e,t=O.Default){const n=_();return null===n?b(e,t):qf(Ce(),n,V(e),t)}function yu(){throw new Error("invalid")}function Ye(e,t,n){const r=_();return Le(r,hr(),t)&&function ut(e,t,n,r,o,i,s,a){const l=vt(t,n);let c,u=t.inputs;!a&&null!=u&&(c=u[r])?(Tp(e,n,c,r,o),Vi(t)&&function Xb(e,t){const n=st(t,e);16&n[2]||(n[2]|=64)}(n,t.index)):3&t.type&&(r=function Yb(e){return"class"===e?"className":"for"===e?"htmlFor":"formaction"===e?"formAction":"innerHtml"===e?"innerHTML":"readonly"===e?"readOnly":"tabindex"===e?"tabIndex":e}(r),o=null!=s?s(o,t.value||"",r):o,ce(i)?i.setProperty(l,r,o):ol(r)||(l.setProperty?l.setProperty(r,o):l[r]=o))}(W(),de(),r,e,t,r[L],n,!1),Ye}function vu(e,t,n,r,o){const s=o?"class":"style";Tp(e,n,t.inputs[s],s,r)}function S(e,t,n,r){const o=_(),i=W(),s=20+e,a=o[L],l=o[s]=Rl(a,t,function Tw(){return R.lFrame.currentNamespace}()),u=i.firstCreatePass?function _M(e,t,n,r,o,i,s){const a=t.consts,u=Tr(t,e,2,o,Mn(a,i));return Yl(t,n,u,Mn(a,s)),null!==u.attrs&&gs(u,u.attrs,!1),null!==u.mergedAttrs&&gs(u,u.mergedAttrs,!0),null!==t.queries&&t.queries.elementStart(t,u),u}(s,i,o,0,t,n,r):i.data[s];Ut(u,!0);const c=u.mergedAttrs;null!==c&&Wi(a,l,c);const d=u.classes;null!==d&&Vl(a,l,d);const f=u.styles;null!==f&&zh(a,l,f),64!=(64&u.flags)&&ls(i,o,l,u),0===function fw(){return R.lFrame.elementDepthCount}()&&Ve(l,o),function hw(){R.lFrame.elementDepthCount++}(),Li(u)&&(Kl(i,o,u),function dp(e,t,n){if($a(t)){const o=t.directiveEnd;for(let i=t.directiveStart;i<o;i++){const s=e.data[i];s.contentQueries&&s.contentQueries(1,n[i],i)}}}(i,u,o)),null!==r&&Jl(o,u)}function A(){let e=Ce();Ja()?function Ya(){R.lFrame.isParent=!1}():(e=e.parent,Ut(e,!1));const t=e;!function pw(){R.lFrame.elementDepthCount--}();const n=W();n.firstCreatePass&&(Gi(n,e),$a(e)&&n.queries.elementEnd(e)),null!=t.classesWithoutHost&&function Ow(e){return 0!=(16&e.flags)}(t)&&vu(n,t,_(),t.classesWithoutHost,!0),null!=t.stylesWithoutHost&&function Pw(e){return 0!=(32&e.flags)}(t)&&vu(n,t,_(),t.stylesWithoutHost,!1)}function ze(e,t,n,r){S(e,t,n,r),A()}function Go(e){return!!e&&"function"==typeof e.then}const _u=function gg(e){return!!e&&"function"==typeof e.subscribe};function je(e,t,n,r){const o=_(),i=W(),s=Ce();return function yg(e,t,n,r,o,i,s,a){const l=Li(r),c=e.firstCreatePass&&Sp(e),d=t[8],f=Mp(t);let h=!0;if(3&r.type||a){const y=vt(r,t),v=a?a(y):y,g=f.length,E=a?I=>a(me(I[r.index])):r.index;if(ce(n)){let I=null;if(!a&&l&&(I=function EM(e,t,n,r){const o=e.cleanup;if(null!=o)for(let i=0;i<o.length-1;i+=2){const s=o[i];if(s===n&&o[i+1]===r){const a=t[7],l=o[i+2];return a.length>l?a[l]:null}"string"==typeof s&&(i+=2)}return null}(e,t,o,r.index)),null!==I)(I.__ngLastListenerFn__||I).__ngNextListenerFn__=i,I.__ngLastListenerFn__=i,h=!1;else{i=Du(r,t,d,i,!1);const q=n.listen(v,o,i);f.push(i,q),c&&c.push(o,E,g,g+1)}}else i=Du(r,t,d,i,!0),v.addEventListener(o,i,s),f.push(i),c&&c.push(o,E,g,s)}else i=Du(r,t,d,i,!1);const p=r.outputs;let m;if(h&&null!==p&&(m=p[o])){const y=m.length;if(y)for(let v=0;v<y;v+=2){const ft=t[m[v]][m[v+1]].subscribe(i),sr=f.length;f.push(i,ft),c&&c.push(o,r.index,sr,-(sr+1))}}}(i,o,o[L],s,e,t,!!n,r),je}function vg(e,t,n,r){try{return!1!==n(r)}catch(o){return Ip(e,o),!1}}function Du(e,t,n,r,o){return function i(s){if(s===Function)return r;const a=2&e.flags?st(e.index,t):t;0==(32&t[2])&&tu(a);let l=vg(t,0,r,s),u=i.__ngNextListenerFn__;for(;u;)l=vg(t,0,u,s)&&l,u=u.__ngNextListenerFn__;return o&&!1===l&&(s.preventDefault(),s.returnValue=!1),l}}function qr(e=1){return function Ew(e){return(R.lFrame.contextLView=function bw(e,t){for(;e>0;)t=t[15],e--;return t}(e,R.lFrame.contextLView))[8]}(e)}function Ig(e,t,n,r,o){const i=e[n+1],s=null===t;let a=r?Tt(i):cn(i),l=!1;for(;0!==a&&(!1===l||s);){const c=e[a+1];TM(e[a],t)&&(l=!0,e[a+1]=r?Bl(c):Ll(c)),a=r?Tt(c):cn(c)}l&&(e[n+1]=r?Ll(i):Bl(i))}function TM(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 _s(e,t){return function Rt(e,t,n,r){const o=_(),i=W(),s=function un(e){const t=R.lFrame,n=t.bindingIndex;return t.bindingIndex=t.bindingIndex+e,n}(2);i.firstUpdatePass&&function Vg(e,t,n,r){const o=e.data;if(null===o[n+1]){const i=o[Ge()],s=function kg(e,t){return t>=e.expandoStartIndex}(e,n);(function Hg(e,t){return 0!=(e.flags&(t?16:32))})(i,r)&&null===t&&!s&&(t=!1),t=function LM(e,t,n,r){const o=function el(e){const t=R.lFrame.currentDirectiveIndex;return-1===t?null:e[t]}(e);let i=r?t.residualClasses:t.residualStyles;if(null===o)0===(r?t.classBindings:t.styleBindings)&&(n=qo(n=wu(null,e,t,n,r),t.attrs,r),i=null);else{const s=t.directiveStylingLast;if(-1===s||e[s]!==o)if(n=wu(o,e,t,n,r),null===i){let l=function jM(e,t,n){const r=n?t.classBindings:t.styleBindings;if(0!==cn(r))return e[Tt(r)]}(e,t,r);void 0!==l&&Array.isArray(l)&&(l=wu(null,e,t,l[1],r),l=qo(l,t.attrs,r),function BM(e,t,n,r){e[Tt(n?t.classBindings:t.styleBindings)]=r}(e,t,r,l))}else i=function HM(e,t,n){let r;const o=t.directiveEnd;for(let i=1+t.directiveStylingLast;i<o;i++)r=qo(r,e[i].hostAttrs,n);return qo(r,t.attrs,n)}(e,t,r)}return void 0!==i&&(r?t.residualClasses=i:t.residualStyles=i),n}(o,i,t,r),function AM(e,t,n,r,o,i){let s=i?t.classBindings:t.styleBindings,a=Tt(s),l=cn(s);e[r]=n;let c,u=!1;if(Array.isArray(n)){const d=n;c=d[1],(null===c||Cr(d,c)>0)&&(u=!0)}else c=n;if(o)if(0!==l){const f=Tt(e[a+1]);e[r+1]=cs(f,a),0!==f&&(e[f+1]=jl(e[f+1],r)),e[a+1]=function Pb(e,t){return 131071&e|t<<17}(e[a+1],r)}else e[r+1]=cs(a,0),0!==a&&(e[a+1]=jl(e[a+1],r)),a=r;else e[r+1]=cs(l,0),0===a?a=r:e[l+1]=jl(e[l+1],r),l=r;u&&(e[r+1]=Ll(e[r+1])),Ig(e,c,r,!0),Ig(e,c,r,!1),function IM(e,t,n,r,o){const i=o?e.residualClasses:e.residualStyles;null!=i&&"string"==typeof t&&Cr(i,t)>=0&&(n[r+1]=Bl(n[r+1]))}(t,c,e,r,i),s=cs(a,l),i?t.classBindings=s:t.styleBindings=s}(o,i,t,n,s,r)}}(i,e,s,r),t!==F&&Le(o,s,t)&&function jg(e,t,n,r,o,i,s,a){if(!(3&t.type))return;const l=e.data,u=l[a+1];Ds(function tp(e){return 1==(1&e)}(u)?Bg(l,t,n,o,cn(u),s):void 0)||(Ds(i)||function ep(e){return 2==(2&e)}(u)&&(i=Bg(l,null,n,o,a,s)),function Eb(e,t,n,r,o){const i=ce(e);if(t)o?i?e.addClass(n,r):n.classList.add(r):i?e.removeClass(n,r):n.classList.remove(r);else{let s=-1===r.indexOf("-")?void 0:lt.DashCase;if(null==o)i?e.removeStyle(n,r,s):n.style.removeProperty(r);else{const a="string"==typeof o&&o.endsWith("!important");a&&(o=o.slice(0,-10),s|=lt.Important),i?e.setStyle(n,r,o,s):n.style.setProperty(r,o,a?"important":"")}}}(r,s,ji(Ge(),n),o,i))}(i,i.data[Ge()],o,o[L],e,o[s+1]=function GM(e,t){return null==e||("string"==typeof t?e+=t:"object"==typeof e&&(e=Z(In(e)))),e}(t,n),r,s)}(e,t,null,!0),_s}function wu(e,t,n,r,o){let i=null;const s=n.directiveEnd;let a=n.directiveStylingLast;for(-1===a?a=n.directiveStart:a++;a<s&&(i=t[a],r=qo(r,i.hostAttrs,o),i!==e);)a++;return null!==e&&(n.directiveStylingLast=a),r}function qo(e,t,n){const r=n?1:2;let o=-1;if(null!==t)for(let i=0;i<t.length;i++){const s=t[i];"number"==typeof s?o=s:o===r&&(Array.isArray(e)||(e=void 0===e?[]:["",e]),at(e,s,!!n||t[++i]))}return void 0===e?null:e}function Bg(e,t,n,r,o,i){const s=null===t;let a;for(;o>0;){const l=e[o],u=Array.isArray(l),c=u?l[1]:l,d=null===c;let f=n[o+1];f===F&&(f=d?Y:void 0);let h=d?dl(f,r):c===r?f:void 0;if(u&&!Ds(h)&&(h=dl(l,r)),Ds(h)&&(a=h,s))return a;const p=e[o+1];o=s?Tt(p):cn(p)}if(null!==t){let l=i?t.residualClasses:t.residualStyles;null!=l&&(a=dl(l,r))}return a}function Ds(e){return void 0!==e}function Ne(e,t=""){const n=_(),r=W(),o=e+20,i=r.firstCreatePass?Tr(r,o,1,t,null):r.data[o],s=n[o]=function xl(e,t){return ce(e)?e.createText(t):e.createTextNode(t)}(n[L],t);ls(r,n,s,i),Ut(i,!1)}function Wr(e){return Ft("",e,""),Wr}function Ft(e,t,n){const r=_(),o=function kr(e,t,n,r){return Le(e,hr(),n)?t+N(n)+r:F}(r,e,t,n);return o!==F&&dn(r,Ge(),o),Ft}const Kn=void 0;var cS=["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 uS(e){const n=Math.floor(Math.abs(e)),r=e.toString().replace(/^[^.]*\.?/,"").length;return 1===n&&0===r?1:5}];let Qr={};function lm(e){return e in Qr||(Qr[e]=K.ng&&K.ng.common&&K.ng.common.locales&&K.ng.common.locales[e]),Qr[e]}var w=(()=>((w=w||{})[w.LocaleId=0]="LocaleId",w[w.DayPeriodsFormat=1]="DayPeriodsFormat",w[w.DayPeriodsStandalone=2]="DayPeriodsStandalone",w[w.DaysFormat=3]="DaysFormat",w[w.DaysStandalone=4]="DaysStandalone",w[w.MonthsFormat=5]="MonthsFormat",w[w.MonthsStandalone=6]="MonthsStandalone",w[w.Eras=7]="Eras",w[w.FirstDayOfWeek=8]="FirstDayOfWeek",w[w.WeekendRange=9]="WeekendRange",w[w.DateFormat=10]="DateFormat",w[w.TimeFormat=11]="TimeFormat",w[w.DateTimeFormat=12]="DateTimeFormat",w[w.NumberSymbols=13]="NumberSymbols",w[w.NumberFormats=14]="NumberFormats",w[w.CurrencyCode=15]="CurrencyCode",w[w.CurrencySymbol=16]="CurrencySymbol",w[w.CurrencyName=17]="CurrencyName",w[w.Currencies=18]="Currencies",w[w.Directionality=19]="Directionality",w[w.PluralCase=20]="PluralCase",w[w.ExtraData=21]="ExtraData",w))();const Cs="en-US";let um=Cs;function Mu(e,t,n,r,o){if(e=V(e),Array.isArray(e))for(let i=0;i<e.length;i++)Mu(e[i],t,n,r,o);else{const i=W(),s=_();let a=Fr(e)?e:V(e.provide),l=Op(e);const u=Ce(),c=1048575&u.providerIndexes,d=u.directiveStart,f=u.providerIndexes>>20;if(Fr(e)||!e.multi){const h=new Do(l,o,D),p=Au(a,t,o?c:c+f,d);-1===p?(Ji(wo(u,s),i,a),Su(i,e,t.length),t.push(a),u.directiveStart++,u.directiveEnd++,o&&(u.providerIndexes+=1048576),n.push(h),s.push(h)):(n[p]=h,s[p]=h)}else{const h=Au(a,t,c+f,d),p=Au(a,t,c,c+f),m=h>=0&&n[h],y=p>=0&&n[p];if(o&&!y||!o&&!m){Ji(wo(u,s),i,a);const v=function uA(e,t,n,r,o){const i=new Do(e,n,D);return i.multi=[],i.index=t,i.componentProviders=0,Fm(i,o,r&&!n),i}(o?lA:aA,n.length,o,r,l);!o&&y&&(n[p].providerFactory=v),Su(i,e,t.length,0),t.push(a),u.directiveStart++,u.directiveEnd++,o&&(u.providerIndexes+=1048576),n.push(v),s.push(v)}else Su(i,e,h>-1?h:p,Fm(n[o?p:h],l,!o&&r));!o&&r&&y&&n[p].componentProviders++}}}function Su(e,t,n,r){const o=Fr(t),i=function T0(e){return!!e.useClass}(t);if(o||i){const l=(i?V(t.useClass):t).prototype.ngOnDestroy;if(l){const u=e.destroyHooks||(e.destroyHooks=[]);if(!o&&t.multi){const c=u.indexOf(n);-1===c?u.push(n,[r,l]):u[c+1].push(r,l)}else u.push(n,l)}}}function Fm(e,t,n){return n&&e.componentProviders++,e.multi.push(t)-1}function Au(e,t,n,r){for(let o=n;o<r;o++)if(t[o]===e)return o;return-1}function aA(e,t,n,r){return Iu(this.multi,[])}function lA(e,t,n,r){const o=this.multi;let i;if(this.providerFactory){const s=this.providerFactory.componentProviders,a=Eo(n,n[1],this.providerFactory.index,r);i=a.slice(0,s),Iu(o,i);for(let l=s;l<a.length;l++)i.push(a[l])}else i=[],Iu(o,i);return i}function Iu(e,t){for(let n=0;n<e.length;n++)t.push((0,e[n])());return t}function le(e,t=[]){return n=>{n.providersResolver=(r,o)=>function sA(e,t,n){const r=W();if(r.firstCreatePass){const o=At(e);Mu(n,r.data,r.blueprint,o,!0),Mu(t,r.data,r.blueprint,o,!1)}}(r,o?o(e):e,t)}}class Om{}class fA{resolveComponentFactory(t){throw function dA(e){const t=Error(`No component factory found for ${Z(e)}. Did you add it to @NgModule.entryComponents?`);return t.ngComponent=e,t}(t)}}let Kr=(()=>{class e{}return e.NULL=new fA,e})();function hA(){return Jr(Ce(),_())}function Jr(e,t){return new Xe(vt(e,t))}let Xe=(()=>{class e{constructor(n){this.nativeElement=n}}return e.__NG_ELEMENT_ID__=hA,e})();class km{}let hn=(()=>{class e{}return e.__NG_ELEMENT_ID__=()=>function mA(){const e=_(),n=st(Ce().index,e);return function gA(e){return e[L]}(Ht(n)?n:e)}(),e})(),yA=(()=>{class e{}return e.\u0275prov=P({token:e,providedIn:"root",factory:()=>null}),e})();class Ko{constructor(t){this.full=t,this.major=t.split(".")[0],this.minor=t.split(".")[1],this.patch=t.split(".").slice(2).join(".")}}const vA=new Ko("13.1.3"),Tu={};function Ss(e,t,n,r,o=!1){for(;null!==n;){const i=t[n.index];if(null!==i&&r.push(me(i)),St(i))for(let a=10;a<i.length;a++){const l=i[a],u=l[1].firstChild;null!==u&&Ss(l[1],l,u,r)}const s=n.type;if(8&s)Ss(e,t,n.child,r);else if(32&s){const a=Al(n,t);let l;for(;l=a();)r.push(l)}else if(16&s){const a=$h(t,n);if(Array.isArray(a))r.push(...a);else{const l=Vo(t[16]);Ss(l[1],l,a,r,!0)}}n=o?n.projectionNext:n.next}return r}class Jo{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 Ss(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(St(t)){const n=t[8],r=n?n.indexOf(this):-1;r>-1&&(Nl(t,r),Xi(n,r))}this._attachedToViewContainer=!1}Oh(this._lView[1],this._lView)}onDestroy(t){!function gp(e,t,n,r){const o=Mp(t);null===n?o.push(r):(o.push(n),e.firstCreatePass&&Sp(e).push(r,o.length-1))}(this._lView[1],this._lView,null,t)}markForCheck(){tu(this._cdRefInjectingView||this._lView)}detach(){this._lView[2]&=-129}reattach(){this._lView[2]|=128}detectChanges(){ru(this._lView[1],this._lView,this.context)}checkNoChanges(){!function v0(e,t,n){Hi(!0);try{ru(e,t,n)}finally{Hi(!1)}}(this._lView[1],this._lView,this.context)}attachToViewContainerRef(){if(this._appRef)throw new z(902,"");this._attachedToViewContainer=!0}detachFromAppRef(){this._appRef=null,function hb(e,t){Lo(e,t,t[L],2,null,null)}(this._lView[1],this._lView)}attachToAppRef(t){if(this._attachedToViewContainer)throw new z(902,"");this._appRef=t}}class _A extends Jo{constructor(t){super(t),this._view=t}detectChanges(){bp(this._view)}checkNoChanges(){!function _0(e){Hi(!0);try{bp(e)}finally{Hi(!1)}}(this._view)}get context(){return null}}class Vm extends Kr{constructor(t){super(),this.ngModule=t}resolveComponentFactory(t){const n=Pe(t);return new xu(n,this.ngModule)}}function Lm(e){const t=[];for(let n in e)e.hasOwnProperty(n)&&t.push({propName:e[n],templateName:n});return t}const CA=new j("SCHEDULER_TOKEN",{providedIn:"root",factory:()=>Sh});class xu extends Om{constructor(t,n){super(),this.componentDef=t,this.ngModule=n,this.componentType=t.type,this.selector=function Fb(e){return e.map(Nb).join(",")}(t.selectors),this.ngContentSelectors=t.ngContentSelectors?t.ngContentSelectors:[],this.isBoundToModule=!!n}get inputs(){return Lm(this.componentDef.inputs)}get outputs(){return Lm(this.componentDef.outputs)}create(t,n,r,o){const i=(o=o||this.ngModule)?function wA(e,t){return{get:(n,r,o)=>{const i=e.get(n,Tu,o);return i!==Tu||r===Tu?i:t.get(n,r,o)}}}(t,o.injector):t,s=i.get(km,bf),a=i.get(yA,null),l=s.createRenderer(null,this.componentDef),u=this.componentDef.selectors[0][0]||"div",c=r?function pp(e,t,n){if(ce(e))return e.selectRootElement(t,n===Bt.ShadowDom);let r="string"==typeof t?e.querySelector(t):t;return r.textContent="",r}(l,r,this.componentDef.encapsulation):Rl(s.createRenderer(null,this.componentDef),u,function DA(e){const t=e.toLowerCase();return"svg"===t?"http://www.w3.org/2000/svg":"math"===t?"http://www.w3.org/1998/MathML/":null}(u)),d=this.componentDef.onPush?576:528,f=function zp(e,t){return{components:[],scheduler:e||Sh,clean:D0,playerHandler:t||null,flags:0}}(),h=hs(0,null,null,1,0,null,null,null,null,null),p=jo(null,h,f,d,null,null,s,l,a,i);let m,y;Ui(p);try{const v=function Gp(e,t,n,r,o,i){const s=n[1];n[20]=e;const l=Tr(s,20,2,"#host",null),u=l.mergedAttrs=t.hostAttrs;null!==u&&(gs(l,u,!0),null!==e&&(Wi(o,e,u),null!==l.classes&&Vl(o,e,l.classes),null!==l.styles&&zh(o,e,l.styles)));const c=r.createRenderer(e,t),d=jo(n,fp(t),null,t.onPush?64:16,n[20],l,r,c,i||null,null);return s.firstCreatePass&&(Ji(wo(l,n),s,t.type),Dp(s,l),Cp(l,n.length,1)),ps(n,d),n[20]=d}(c,this.componentDef,p,s,l);if(c)if(r)Wi(l,c,["ng-version",vA.full]);else{const{attrs:g,classes:E}=function Ob(e){const t=[],n=[];let r=1,o=2;for(;r<e.length;){let i=e[r];if("string"==typeof i)2===o?""!==i&&t.push(i,e[++r]):8===o&&n.push(i);else{if(!It(o))break;o=i}r++}return{attrs:t,classes:n}}(this.componentDef.selectors[0]);g&&Wi(l,c,g),E&&E.length>0&&Vl(l,c,E.join(" "))}if(y=Qa(h,20),void 0!==n){const g=y.projection=[];for(let E=0;E<this.ngContentSelectors.length;E++){const I=n[E];g.push(null!=I?Array.from(I):null)}}m=function qp(e,t,n,r,o){const i=n[1],s=function t0(e,t,n){const r=Ce();e.firstCreatePass&&(n.providersResolver&&n.providersResolver(n),wp(e,r,t,xr(e,t,1,null),n));const o=Eo(t,e,r.directiveStart,r);Ve(o,t);const i=vt(r,t);return i&&Ve(i,t),o}(i,n,t);if(r.components.push(s),e[8]=s,o&&o.forEach(l=>l(s,t)),t.contentQueries){const l=Ce();t.contentQueries(1,s,l.directiveStart)}const a=Ce();return!i.firstCreatePass||null===t.hostBindings&&null===t.hostAttrs||(Sn(a.index),vp(n[1],a,0,a.directiveStart,a.directiveEnd,t),_p(t,s)),s}(v,this.componentDef,p,f,[B0]),Bo(h,p,null)}finally{$i()}return new bA(this.componentType,m,Jr(y,p),p,y)}}class bA extends class cA{}{constructor(t,n,r,o,i){super(),this.location=r,this._rootLView=o,this._tNode=i,this.instance=n,this.hostView=this.changeDetectorRef=new _A(o),this.componentType=t}get injector(){return new mr(this._tNode,this._rootLView)}destroy(){this.hostView.destroy()}onDestroy(t){this.hostView.onDestroy(t)}}class pn{}class jm{}const Yr=new Map;class Um extends pn{constructor(t,n){super(),this._parent=n,this._bootstrapComponents=[],this.injector=this,this.destroyCbs=[],this.componentFactoryResolver=new Vm(this);const r=gt(t);this._bootstrapComponents=zt(r.bootstrap),this._r3Injector=Fp(t,n,[{provide:pn,useValue:this},{provide:Kr,useValue:this.componentFactoryResolver}],Z(t)),this._r3Injector._resolveInjectorDefTypes(),this.instance=this.get(t)}get(t,n=Re.THROW_IF_NOT_FOUND,r=O.Default){return t===Re||t===pn||t===iu?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 Ru extends jm{constructor(t){super(),this.moduleType=t,null!==gt(t)&&function SA(e){const t=new Set;!function n(r){const o=gt(r,!0),i=o.id;null!==i&&(function Bm(e,t,n){if(t&&t!==n)throw new Error(`Duplicate module registered for ${e} - ${Z(t)} vs ${Z(t.name)}`)}(i,Yr.get(i),r),Yr.set(i,r));const s=zt(o.imports);for(const a of s)t.has(a)||(t.add(a),n(a))}(e)}(t)}create(t){return new Um(this.moduleType,t)}}function $m(e,t,n,r,o,i){const s=t+n;return Le(e,s,o)?function Qt(e,t,n){return e[t]=n}(e,s+1,i?r.call(i,o):r(o)):function Yo(e,t){const n=e[t];return n===F?void 0:n}(e,s+1)}function Zm(e,t,n){const r=e+20,o=_(),i=function fr(e,t){return e[t]}(o,r);return function Xo(e,t){return e[1].data[t].pure}(o,r)?$m(o,function $e(){const e=R.lFrame;let t=e.bindingRootIndex;return-1===t&&(t=e.bindingRootIndex=e.tView.bindingStartIndex),t}(),t,i.transform,n,i):i.transform(n)}function Nu(e){return t=>{setTimeout(e,void 0,t)}}const he=class UA extends nn{constructor(t=!1){super(),this.__isAsync=t}emit(t){super.next(t)}subscribe(t,n,r){var o,i,s;let a=t,l=n||(()=>null),u=r;if(t&&"object"==typeof t){const d=t;a=null===(o=d.next)||void 0===o?void 0:o.bind(d),l=null===(i=d.error)||void 0===i?void 0:i.bind(d),u=null===(s=d.complete)||void 0===s?void 0:s.bind(d)}this.__isAsync&&(l=Nu(l),a&&(a=Nu(a)),u&&(u=Nu(u)));const c=super.subscribe({next:a,error:l,complete:u});return t instanceof ht&&t.add(c),c}};Symbol;let gn=(()=>{class e{}return e.__NG_ELEMENT_ID__=zA,e})();const GA=gn,qA=class extends GA{constructor(t,n,r){super(),this._declarationLView=t,this._declarationTContainer=n,this.elementRef=r}createEmbeddedView(t){const n=this._declarationTContainer.tViews,r=jo(this._declarationLView,n,t,16,null,n.declTNode,null,null,null,null);r[17]=this._declarationLView[this._declarationTContainer.index];const i=this._declarationLView[19];return null!==i&&(r[19]=i.createEmbeddedView(n)),Bo(n,r,t),new Jo(r)}};function zA(){return function As(e,t){return 4&e.type?new qA(t,e,Jr(e,t)):null}(Ce(),_())}let Ot=(()=>{class e{}return e.__NG_ELEMENT_ID__=WA,e})();function WA(){return function Ym(e,t){let n;const r=t[e.index];if(St(r))n=r;else{let o;if(8&e.type)o=me(r);else{const i=t[L];o=i.createComment("");const s=vt(e,t);Qn(i,as(i,s),o,function Db(e,t){return ce(e)?e.nextSibling(t):t.nextSibling}(i,s),!1)}t[e.index]=n=Ep(r,t,o,e),ps(t,n)}return new Km(n,e,t)}(Ce(),_())}const QA=Ot,Km=class extends QA{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=Ki(this._hostTNode,this._hostLView);if(Bf(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=Jm(this._lContainer);return null!==n&&n[t]||null}get length(){return this._lContainer.length-10}createEmbeddedView(t,n,r){const o=t.createEmbeddedView(n||{});return this.insert(o,r),o}createComponent(t,n,r,o,i){const s=t&&!function So(e){return"function"==typeof e}(t);let a;if(s)a=n;else{const d=n||{};a=d.index,r=d.injector,o=d.projectableNodes,i=d.ngModuleRef}const l=s?t:new xu(Pe(t)),u=r||this.parentInjector;if(!i&&null==l.ngModule&&u){const d=u.get(pn,null);d&&(i=d)}const c=l.create(u,o,void 0,i);return this.insert(c.hostView,a),c}insert(t,n){const r=t._lView,o=r[1];if(function dw(e){return St(e[3])}(r)){const c=this.indexOf(t);if(-1!==c)this.detach(c);else{const d=r[3],f=new Km(d,d[6],d[3]);f.detach(f.indexOf(t))}}const i=this._adjustIndex(n),s=this._lContainer;!function gb(e,t,n,r){const o=10+r,i=n.length;r>0&&(n[o-1][4]=t),r<i-10?(t[4]=n[o],Kf(n,10+r,t)):(n.push(t),t[4]=null),t[3]=n;const s=t[17];null!==s&&n!==s&&function mb(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}(o,r,s,i);const a=Pl(i,s),l=r[L],u=as(l,s[7]);return null!==u&&function fb(e,t,n,r,o,i){r[0]=o,r[6]=t,Lo(e,r,n,1,o,i)}(o,s[6],l,r,u,a),t.attachToViewContainerRef(),Kf(Ou(s),i,t),t}move(t,n){return this.insert(t,n)}indexOf(t){const n=Jm(this._lContainer);return null!==n?n.indexOf(t):-1}remove(t){const n=this._adjustIndex(t,-1),r=Nl(this._lContainer,n);r&&(Xi(Ou(this._lContainer),n),Oh(r[1],r))}detach(t){const n=this._adjustIndex(t,-1),r=Nl(this._lContainer,n);return r&&null!=Xi(Ou(this._lContainer),n)?new Jo(r):null}_adjustIndex(t,n=0){return null==t?this.length+n:t}};function Jm(e){return e[8]}function Ou(e){return e[8]||(e[8]=[])}function xs(...e){}const Rs=new j("Application Initializer");let eo=(()=>{class e{constructor(n){this.appInits=n,this.resolve=xs,this.reject=xs,this.initialized=!1,this.done=!1,this.donePromise=new Promise((r,o)=>{this.resolve=r,this.reject=o})}runInitializers(){if(this.initialized)return;const n=[],r=()=>{this.done=!0,this.resolve()};if(this.appInits)for(let o=0;o<this.appInits.length;o++){const i=this.appInits[o]();if(Go(i))n.push(i);else if(_u(i)){const s=new Promise((a,l)=>{i.subscribe({complete:a,error:l})});n.push(s)}}Promise.all(n).then(()=>{r()}).catch(o=>{this.reject(o)}),0===n.length&&r(),this.initialized=!0}}return e.\u0275fac=function(n){return new(n||e)(b(Rs,8))},e.\u0275prov=P({token:e,factory:e.\u0275fac}),e})();const ti=new j("AppId"),wI={provide:ti,useFactory:function CI(){return`${Qu()}${Qu()}${Qu()}`},deps:[]};function Qu(){return String.fromCharCode(97+Math.floor(25*Math.random()))}const Dy=new j("Platform Initializer"),Ns=new j("Platform ID"),Cy=new j("appBootstrapListener");let wy=(()=>{class e{log(n){console.log(n)}warn(n){console.warn(n)}}return e.\u0275fac=function(n){return new(n||e)},e.\u0275prov=P({token:e,factory:e.\u0275fac}),e})();const Rn=new j("LocaleId"),Ey=new j("DefaultCurrencyCode");class EI{constructor(t,n){this.ngModuleFactory=t,this.componentFactories=n}}let Fs=(()=>{class e{compileModuleSync(n){return new Ru(n)}compileModuleAsync(n){return Promise.resolve(this.compileModuleSync(n))}compileModuleAndAllComponentsSync(n){const r=this.compileModuleSync(n),i=zt(gt(n).declarations).reduce((s,a)=>{const l=Pe(a);return l&&s.push(new xu(l)),s},[]);return new EI(r,i)}compileModuleAndAllComponentsAsync(n){return Promise.resolve(this.compileModuleAndAllComponentsSync(n))}clearCache(){}clearCacheFor(n){}getModuleId(n){}}return e.\u0275fac=function(n){return new(n||e)},e.\u0275prov=P({token:e,factory:e.\u0275fac}),e})();const MI=(()=>Promise.resolve(0))();function Zu(e){"undefined"==typeof Zone?MI.then(()=>{e&&e.apply(null,null)}):Zone.current.scheduleMicroTask("scheduleMicrotask",e)}class be{constructor({enableLongStackTrace:t=!1,shouldCoalesceEventChangeDetection:n=!1,shouldCoalesceRunChangeDetection:r=!1}){if(this.hasPendingMacrotasks=!1,this.hasPendingMicrotasks=!1,this.isStable=!0,this.onUnstable=new he(!1),this.onMicrotaskEmpty=new he(!1),this.onStable=new he(!1),this.onError=new he(!1),"undefined"==typeof Zone)throw new Error("In this configuration Angular requires Zone.js");Zone.assertZonePatched();const o=this;o._nesting=0,o._outer=o._inner=Zone.current,Zone.TaskTrackingZoneSpec&&(o._inner=o._inner.fork(new Zone.TaskTrackingZoneSpec)),t&&Zone.longStackTraceZoneSpec&&(o._inner=o._inner.fork(Zone.longStackTraceZoneSpec)),o.shouldCoalesceEventChangeDetection=!r&&n,o.shouldCoalesceRunChangeDetection=r,o.lastRequestAnimationFrameId=-1,o.nativeRequestAnimationFrame=function SI(){let e=K.requestAnimationFrame,t=K.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 TI(e){const t=()=>{!function II(e){e.isCheckStableRunning||-1!==e.lastRequestAnimationFrameId||(e.lastRequestAnimationFrameId=e.nativeRequestAnimationFrame.call(K,()=>{e.fakeTopEventTask||(e.fakeTopEventTask=Zone.root.scheduleEventTask("fakeTopEventTask",()=>{e.lastRequestAnimationFrameId=-1,Ju(e),e.isCheckStableRunning=!0,Ku(e),e.isCheckStableRunning=!1},void 0,()=>{},()=>{})),e.fakeTopEventTask.invoke()}),Ju(e))}(e)};e._inner=e._inner.fork({name:"angular",properties:{isAngularZone:!0},onInvokeTask:(n,r,o,i,s,a)=>{try{return by(e),n.invokeTask(o,i,s,a)}finally{(e.shouldCoalesceEventChangeDetection&&"eventTask"===i.type||e.shouldCoalesceRunChangeDetection)&&t(),My(e)}},onInvoke:(n,r,o,i,s,a,l)=>{try{return by(e),n.invoke(o,i,s,a,l)}finally{e.shouldCoalesceRunChangeDetection&&t(),My(e)}},onHasTask:(n,r,o,i)=>{n.hasTask(o,i),r===o&&("microTask"==i.change?(e._hasPendingMicrotasks=i.microTask,Ju(e),Ku(e)):"macroTask"==i.change&&(e.hasPendingMacrotasks=i.macroTask))},onHandleError:(n,r,o,i)=>(n.handleError(o,i),e.runOutsideAngular(()=>e.onError.emit(i)),!1)})}(o)}static isInAngularZone(){return!0===Zone.current.get("isAngularZone")}static assertInAngularZone(){if(!be.isInAngularZone())throw new Error("Expected to be in Angular Zone, but it is not!")}static assertNotInAngularZone(){if(be.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,o){const i=this._inner,s=i.scheduleEventTask("NgZoneEvent: "+o,t,AI,xs,xs);try{return i.runTask(s,n,r)}finally{i.cancelTask(s)}}runGuarded(t,n,r){return this._inner.runGuarded(t,n,r)}runOutsideAngular(t){return this._outer.run(t)}}const AI={};function Ku(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 Ju(e){e.hasPendingMicrotasks=!!(e._hasPendingMicrotasks||(e.shouldCoalesceEventChangeDetection||e.shouldCoalesceRunChangeDetection)&&-1!==e.lastRequestAnimationFrameId)}function by(e){e._nesting++,e.isStable&&(e.isStable=!1,e.onUnstable.emit(null))}function My(e){e._nesting--,Ku(e)}class xI{constructor(){this.hasPendingMicrotasks=!1,this.hasPendingMacrotasks=!1,this.isStable=!0,this.onUnstable=new he,this.onMicrotaskEmpty=new he,this.onStable=new he,this.onError=new he}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,o){return t.apply(n,r)}}let Yu=(()=>{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:()=>{be.assertNotInAngularZone(),Zu(()=>{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())Zu(()=>{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,o){let i=-1;r&&r>0&&(i=setTimeout(()=>{this._callbacks=this._callbacks.filter(s=>s.timeoutId!==i),n(this._didWork,this.getPendingTasks())},r)),this._callbacks.push({doneCb:n,timeoutId:i,updateCb:o})}whenStable(n,r,o){if(o&&!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,o),this._runCallbacksIfReady()}getPendingRequestCount(){return this._pendingCount}findProviders(n,r,o){return[]}}return e.\u0275fac=function(n){return new(n||e)(b(be))},e.\u0275prov=P({token:e,factory:e.\u0275fac}),e})(),Sy=(()=>{class e{constructor(){this._applications=new Map,Xu.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 Xu.findTestabilityInTree(this,n,r)}}return e.\u0275fac=function(n){return new(n||e)},e.\u0275prov=P({token:e,factory:e.\u0275fac}),e})();class RI{addToWindow(t){}findTestabilityInTree(t,n,r){return null}}let Pt,Xu=new RI;const Ay=new j("AllowMultipleToken");class Iy{constructor(t,n){this.name=t,this.token=n}}function Ty(e,t,n=[]){const r=`Platform: ${t}`,o=new j(r);return(i=[])=>{let s=xy();if(!s||s.injector.get(Ay,!1))if(e)e(n.concat(i).concat({provide:o,useValue:!0}));else{const a=n.concat(i).concat({provide:o,useValue:!0},{provide:su,useValue:"platform"});!function PI(e){if(Pt&&!Pt.destroyed&&!Pt.injector.get(Ay,!1))throw new z(400,"");Pt=e.get(Ry);const t=e.get(Dy,null);t&&t.forEach(n=>n())}(Re.create({providers:a,name:r}))}return function kI(e){const t=xy();if(!t)throw new z(401,"");return t}()}}function xy(){return Pt&&!Pt.destroyed?Pt:null}let Ry=(()=>{class e{constructor(n){this._injector=n,this._modules=[],this._destroyListeners=[],this._destroyed=!1}bootstrapModuleFactory(n,r){const a=function VI(e,t){let n;return n="noop"===e?new xI:("zone.js"===e?void 0:e)||new be({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}),l=[{provide:be,useValue:a}];return a.run(()=>{const u=Re.create({providers:l,parent:this.injector,name:n.moduleType.name}),c=n.create(u),d=c.injector.get(Sr,null);if(!d)throw new z(402,"");return a.runOutsideAngular(()=>{const f=a.onError.subscribe({next:h=>{d.handleError(h)}});c.onDestroy(()=>{ec(this._modules,c),f.unsubscribe()})}),function LI(e,t,n){try{const r=n();return Go(r)?r.catch(o=>{throw t.runOutsideAngular(()=>e.handleError(o)),o}):r}catch(r){throw t.runOutsideAngular(()=>e.handleError(r)),r}}(d,a,()=>{const f=c.injector.get(eo);return f.runInitializers(),f.donePromise.then(()=>(function gS(e){nt(e,"Expected localeId to be defined"),"string"==typeof e&&(um=e.toLowerCase().replace(/_/g,"-"))}(c.injector.get(Rn,Cs)||Cs),this._moduleDoBootstrap(c),c))})})}bootstrapModule(n,r=[]){const o=Ny({},r);return function FI(e,t,n){const r=new Ru(n);return Promise.resolve(r)}(0,0,n).then(i=>this.bootstrapModuleFactory(i,o))}_moduleDoBootstrap(n){const r=n.injector.get(ni);if(n._bootstrapComponents.length>0)n._bootstrapComponents.forEach(o=>r.bootstrap(o));else{if(!n.instance.ngDoBootstrap)throw new z(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 z(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)(b(Re))},e.\u0275prov=P({token:e,factory:e.\u0275fac}),e})();function Ny(e,t){return Array.isArray(t)?t.reduce(Ny,e):Object.assign(Object.assign({},e),t)}let ni=(()=>{class e{constructor(n,r,o,i,s){this._zone=n,this._injector=r,this._exceptionHandler=o,this._componentFactoryResolver=i,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 se(u=>{this._stable=this._zone.isStable&&!this._zone.hasPendingMacrotasks&&!this._zone.hasPendingMicrotasks,this._zone.runOutsideAngular(()=>{u.next(this._stable),u.complete()})}),l=new se(u=>{let c;this._zone.runOutsideAngular(()=>{c=this._zone.onStable.subscribe(()=>{be.assertNotInAngularZone(),Zu(()=>{!this._stable&&!this._zone.hasPendingMacrotasks&&!this._zone.hasPendingMicrotasks&&(this._stable=!0,u.next(!0))})})});const d=this._zone.onUnstable.subscribe(()=>{be.assertInAngularZone(),this._stable&&(this._stable=!1,this._zone.runOutsideAngular(()=>{u.next(!1)}))});return()=>{c.unsubscribe(),d.unsubscribe()}});this.isStable=function FC(...e){const t=po(e),n=function SC(e,t){return"number"==typeof Ra(e)?e.pop():t}(e,1/0),r=e;return r.length?1===r.length?jt(r[0]):ho(n)(Ie(r,t)):on}(a,l.pipe(function OC(e={}){const{connector:t=(()=>new nn),resetOnError:n=!0,resetOnComplete:r=!0,resetOnRefCountZero:o=!0}=e;return i=>{let s=null,a=null,l=null,u=0,c=!1,d=!1;const f=()=>{null==a||a.unsubscribe(),a=null},h=()=>{f(),s=l=null,c=d=!1},p=()=>{const m=s;h(),null==m||m.unsubscribe()};return xe((m,y)=>{u++,!d&&!c&&f();const v=l=null!=l?l:t();y.add(()=>{u--,0===u&&!d&&!c&&(a=Na(p,o))}),v.subscribe(y),s||(s=new Sa({next:g=>v.next(g),error:g=>{d=!0,f(),a=Na(h,n,g),v.error(g)},complete:()=>{c=!0,f(),a=Na(h,r),v.complete()}}),Ie(m).subscribe(s))})(i)}}()))}bootstrap(n,r){if(!this._initStatus.done)throw new z(405,"");let o;o=n instanceof Om?n:this._componentFactoryResolver.resolveComponentFactory(n),this.componentTypes.push(o.componentType);const i=function OI(e){return e.isBoundToModule}(o)?void 0:this._injector.get(pn),a=o.create(Re.NULL,[],r||o.selector,i),l=a.location.nativeElement,u=a.injector.get(Yu,null),c=u&&a.injector.get(Sy);return u&&c&&c.registerApplication(l,u),a.onDestroy(()=>{this.detachView(a.hostView),ec(this.components,a),c&&c.unregisterApplication(l)}),this._loadComponent(a),a}tick(){if(this._runningTick)throw new z(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;ec(this._views,r),r.detachFromAppRef()}_loadComponent(n){this.attachView(n.hostView),this.tick(),this.components.push(n),this._injector.get(Cy,[]).concat(this._bootstrapListeners).forEach(o=>o(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)(b(be),b(Re),b(Sr),b(Kr),b(eo))},e.\u0275prov=P({token:e,factory:e.\u0275fac}),e})();function ec(e,t){const n=e.indexOf(t);n>-1&&e.splice(n,1)}let Oy=!0,tc=(()=>{class e{}return e.__NG_ELEMENT_ID__=HI,e})();function HI(e){return function UI(e,t,n){if(Vi(e)&&!n){const r=st(e.index,t);return new Jo(r,r)}return 47&e.type?new Jo(t[16],t):null}(Ce(),_(),16==(16&e))}class Hy{constructor(){}supports(t){return Uo(t)}create(t){return new QI(t)}}const WI=(e,t)=>t;class QI{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||WI}forEachItem(t){let n;for(n=this._itHead;null!==n;n=n._next)t(n)}forEachOperation(t){let n=this._itHead,r=this._removalsHead,o=0,i=null;for(;n||r;){const s=!r||n&&n.currentIndex<$y(r,o,i)?n:r,a=$y(s,o,i),l=s.currentIndex;if(s===r)o--,r=r._nextRemoved;else if(n=n._next,null==s.previousIndex)o++;else{i||(i=[]);const u=a-o,c=l-o;if(u!=c){for(let f=0;f<u;f++){const h=f<i.length?i[f]:i[f]=0,p=h+f;c<=p&&p<u&&(i[f]=h+1)}i[s.previousIndex]=c-u}}a!==l&&t(s,a,l)}}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=[]),!Uo(t))throw new z(900,"");return this.check(t)?this:null}onDestroy(){}check(t){this._reset();let o,i,s,n=this._itHead,r=!1;if(Array.isArray(t)){this.length=t.length;for(let a=0;a<this.length;a++)i=t[a],s=this._trackByFn(a,i),null!==n&&Object.is(n.trackById,s)?(r&&(n=this._verifyReinsertion(n,i,s,a)),Object.is(n.item,i)||this._addIdentityChange(n,i)):(n=this._mismatch(n,i,s,a),r=!0),n=n._next}else o=0,function K0(e,t){if(Array.isArray(e))for(let n=0;n<e.length;n++)t(e[n]);else{const n=e[Or()]();let r;for(;!(r=n.next()).done;)t(r.value)}}(t,a=>{s=this._trackByFn(o,a),null!==n&&Object.is(n.trackById,s)?(r&&(n=this._verifyReinsertion(n,a,s,o)),Object.is(n.item,a)||this._addIdentityChange(n,a)):(n=this._mismatch(n,a,s,o),r=!0),n=n._next,o++}),this.length=o;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,o){let i;return null===t?i=this._itTail:(i=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,i,o)):null!==(t=null===this._linkedRecords?null:this._linkedRecords.get(r,o))?(Object.is(t.item,n)||this._addIdentityChange(t,n),this._moveAfter(t,i,o)):t=this._addAfter(new ZI(n,r),i,o),t}_verifyReinsertion(t,n,r,o){let i=null===this._unlinkedRecords?null:this._unlinkedRecords.get(r,null);return null!==i?t=this._reinsertAfter(i,t._prev,o):t.currentIndex!=o&&(t.currentIndex=o,this._addToMoves(t,o)),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 o=t._prevRemoved,i=t._nextRemoved;return null===o?this._removalsHead=i:o._nextRemoved=i,null===i?this._removalsTail=o:i._prevRemoved=o,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 o=null===n?this._itHead:n._next;return t._next=o,t._prev=n,null===o?this._itTail=t:o._prev=t,null===n?this._itHead=t:n._next=t,null===this._linkedRecords&&(this._linkedRecords=new Uy),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 Uy),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 ZI{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 KI{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 Uy{constructor(){this.map=new Map}put(t){const n=t.trackById;let r=this.map.get(n);r||(r=new KI,this.map.set(n,r)),r.add(t)}get(t,n){const o=this.map.get(t);return o?o.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 $y(e,t,n){const r=e.previousIndex;if(null===r)return r;let o=0;return n&&r<n.length&&(o=n[r]),r+t+o}class Gy{constructor(){}supports(t){return t instanceof Map||fu(t)}create(){return new JI}}class JI{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||fu(t)))throw new z(900,"")}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,o)=>{if(n&&n.key===o)this._maybeAddToChanges(n,r),this._appendAfter=n,n=n._next;else{const i=this._getOrCreateRecordForKey(o,r);n=this._insertBeforeOrAppend(n,i)}}),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 o=this._records.get(t);this._maybeAddToChanges(o,n);const i=o._prev,s=o._next;return i&&(i._next=s),s&&(s._prev=i),o._next=null,o._prev=null,o}const r=new YI(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 YI{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 qy(){return new ri([new Hy])}let ri=(()=>{class e{constructor(n){this.factories=n}static create(n,r){if(null!=r){const o=r.factories.slice();n=n.concat(o)}return new e(n)}static extend(n){return{provide:e,useFactory:r=>e.create(n,r||qy()),deps:[[e,new wr,new Gt]]}}find(n){const r=this.factories.find(o=>o.supports(n));if(null!=r)return r;throw new z(901,"")}}return e.\u0275prov=P({token:e,providedIn:"root",factory:qy}),e})();function zy(){return new to([new Gy])}let to=(()=>{class e{constructor(n){this.factories=n}static create(n,r){if(r){const o=r.factories.slice();n=n.concat(o)}return new e(n)}static extend(n){return{provide:e,useFactory:r=>e.create(n,r||zy()),deps:[[e,new wr,new Gt]]}}find(n){const r=this.factories.find(i=>i.supports(n));if(r)return r;throw new z(901,"")}}return e.\u0275prov=P({token:e,providedIn:"root",factory:zy}),e})();const XI=[new Gy],tT=new ri([new Hy]),nT=new to(XI),rT=Ty(null,"core",[{provide:Ns,useValue:"unknown"},{provide:Ry,deps:[Re]},{provide:Sy,deps:[]},{provide:wy,deps:[]}]),lT=[{provide:ni,useClass:ni,deps:[be,Re,Sr,Kr,eo]},{provide:CA,deps:[be],useFactory:function uT(e){let t=[];return e.onStable.subscribe(()=>{for(;t.length;)t.pop()()}),function(n){t.push(n)}}},{provide:eo,useClass:eo,deps:[[new Gt,Rs]]},{provide:Fs,useClass:Fs,deps:[]},wI,{provide:ri,useFactory:function oT(){return tT},deps:[]},{provide:to,useFactory:function iT(){return nT},deps:[]},{provide:Rn,useFactory:function sT(e){return e||function aT(){return"undefined"!=typeof $localize&&$localize.locale||Cs}()},deps:[[new Ro(Rn),new Gt,new wr]]},{provide:Ey,useValue:"USD"}];let cT=(()=>{class e{constructor(n){}}return e.\u0275fac=function(n){return new(n||e)(b(ni))},e.\u0275mod=pt({type:e}),e.\u0275inj=rt({providers:lT}),e})(),Ps=null;function Yt(){return Ps}const ct=new j("DocumentToken");let Yn=(()=>{class e{historyGo(n){throw new Error("Not implemented")}}return e.\u0275fac=function(n){return new(n||e)},e.\u0275prov=P({token:e,factory:function(){return function pT(){return b(Wy)}()},providedIn:"platform"}),e})();const gT=new j("Location Initialized");let Wy=(()=>{class e extends Yn{constructor(n){super(),this._doc=n,this._init()}_init(){this.location=window.location,this._history=window.history}getBaseHrefFromDOM(){return Yt().getBaseHref(this._doc)}onPopState(n){const r=Yt().getGlobalEventTarget(this._doc,"window");return r.addEventListener("popstate",n,!1),()=>r.removeEventListener("popstate",n)}onHashChange(n){const r=Yt().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,o){Qy()?this._history.pushState(n,r,o):this.location.hash=o}replaceState(n,r,o){Qy()?this._history.replaceState(n,r,o):this.location.hash=o}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)(b(ct))},e.\u0275prov=P({token:e,factory:function(){return function mT(){return new Wy(b(ct))}()},providedIn:"platform"}),e})();function Qy(){return!!window.history.pushState}function sc(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 Zy(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 mn(e){return e&&"?"!==e[0]?"?"+e:e}let no=(()=>{class e{historyGo(n){throw new Error("Not implemented")}}return e.\u0275fac=function(n){return new(n||e)},e.\u0275prov=P({token:e,factory:function(){return function yT(e){const t=b(ct).location;return new Ky(b(Yn),t&&t.origin||"")}()},providedIn:"root"}),e})();const ac=new j("appBaseHref");let Ky=(()=>{class e extends no{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 sc(this._baseHref,n)}path(n=!1){const r=this._platformLocation.pathname+mn(this._platformLocation.search),o=this._platformLocation.hash;return o&&n?`${r}${o}`:r}pushState(n,r,o,i){const s=this.prepareExternalUrl(o+mn(i));this._platformLocation.pushState(n,r,s)}replaceState(n,r,o,i){const s=this.prepareExternalUrl(o+mn(i));this._platformLocation.replaceState(n,r,s)}forward(){this._platformLocation.forward()}back(){this._platformLocation.back()}historyGo(n=0){var r,o;null===(o=(r=this._platformLocation).historyGo)||void 0===o||o.call(r,n)}}return e.\u0275fac=function(n){return new(n||e)(b(Yn),b(ac,8))},e.\u0275prov=P({token:e,factory:e.\u0275fac}),e})(),vT=(()=>{class e extends no{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=sc(this._baseHref,n);return r.length>0?"#"+r:r}pushState(n,r,o,i){let s=this.prepareExternalUrl(o+mn(i));0==s.length&&(s=this._platformLocation.pathname),this._platformLocation.pushState(n,r,s)}replaceState(n,r,o,i){let s=this.prepareExternalUrl(o+mn(i));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,o;null===(o=(r=this._platformLocation).historyGo)||void 0===o||o.call(r,n)}}return e.\u0275fac=function(n){return new(n||e)(b(Yn),b(ac,8))},e.\u0275prov=P({token:e,factory:e.\u0275fac}),e})(),lc=(()=>{class e{constructor(n,r){this._subject=new he,this._urlChangeListeners=[],this._platformStrategy=n;const o=this._platformStrategy.getBaseHref();this._platformLocation=r,this._baseHref=Zy(Jy(o)),this._platformStrategy.onPopState(i=>{this._subject.emit({url:this.path(!0),pop:!0,state:i.state,type:i.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+mn(r))}normalize(n){return e.stripTrailingSlash(function DT(e,t){return e&&t.startsWith(e)?t.substring(e.length):t}(this._baseHref,Jy(n)))}prepareExternalUrl(n){return n&&"/"!==n[0]&&(n="/"+n),this._platformStrategy.prepareExternalUrl(n)}go(n,r="",o=null){this._platformStrategy.pushState(o,"",n,r),this._notifyUrlChangeListeners(this.prepareExternalUrl(n+mn(r)),o)}replaceState(n,r="",o=null){this._platformStrategy.replaceState(o,"",n,r),this._notifyUrlChangeListeners(this.prepareExternalUrl(n+mn(r)),o)}forward(){this._platformStrategy.forward()}back(){this._platformStrategy.back()}historyGo(n=0){var r,o;null===(o=(r=this._platformStrategy).historyGo)||void 0===o||o.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(o=>o(n,r))}subscribe(n,r,o){return this._subject.subscribe({next:n,error:r,complete:o})}}return e.normalizeQueryParams=mn,e.joinWithSlash=sc,e.stripTrailingSlash=Zy,e.\u0275fac=function(n){return new(n||e)(b(no),b(Yn))},e.\u0275prov=P({token:e,factory:function(){return function _T(){return new lc(b(no),b(Yn))}()},providedIn:"root"}),e})();function Jy(e){return e.replace(/\/index.html$/,"")}var ve=(()=>((ve=ve||{})[ve.Zero=0]="Zero",ve[ve.One=1]="One",ve[ve.Two=2]="Two",ve[ve.Few=3]="Few",ve[ve.Many=4]="Many",ve[ve.Other=5]="Other",ve))();const AT=function am(e){return function We(e){const t=function dS(e){return e.toLowerCase().replace(/_/g,"-")}(e);let n=lm(t);if(n)return n;const r=t.split("-")[0];if(n=lm(r),n)return n;if("en"===r)return cS;throw new Error(`Missing locale data for the locale "${e}".`)}(e)[w.PluralCase]};class qs{}let nx=(()=>{class e extends qs{constructor(n){super(),this.locale=n}getPluralCategory(n,r){switch(AT(r||this.locale)(n)){case ve.Zero:return"zero";case ve.One:return"one";case ve.Two:return"two";case ve.Few:return"few";case ve.Many:return"many";default:return"other"}}}return e.\u0275fac=function(n){return new(n||e)(b(Rn))},e.\u0275prov=P({token:e,factory:e.\u0275fac}),e})();function sv(e,t){t=encodeURIComponent(t);for(const n of e.split(";")){const r=n.indexOf("="),[o,i]=-1==r?[n,""]:[n.slice(0,r),n.slice(r+1)];if(o.trim()===t)return decodeURIComponent(i)}return null}class ix{constructor(t,n,r,o){this.$implicit=t,this.ngForOf=n,this.index=r,this.count=o}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 av=(()=>{class e{constructor(n,r,o){this._viewContainer=n,this._template=r,this._differs=o,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;!this._differ&&n&&(this._differ=this._differs.find(n).create(this.ngForTrackBy))}if(this._differ){const n=this._differ.diff(this._ngForOf);n&&this._applyChanges(n)}}_applyChanges(n){const r=this._viewContainer;n.forEachOperation((o,i,s)=>{if(null==o.previousIndex)r.createEmbeddedView(this._template,new ix(o.item,this._ngForOf,-1,-1),null===s?void 0:s);else if(null==s)r.remove(null===i?void 0:i);else if(null!==i){const a=r.get(i);r.move(a,s),lv(a,o)}});for(let o=0,i=r.length;o<i;o++){const a=r.get(o).context;a.index=o,a.count=i,a.ngForOf=this._ngForOf}n.forEachIdentityChange(o=>{lv(r.get(o.currentIndex),o)})}static ngTemplateContextGuard(n,r){return!0}}return e.\u0275fac=function(n){return new(n||e)(D(Ot),D(gn),D(ri))},e.\u0275dir=T({type:e,selectors:[["","ngFor","","ngForOf",""]],inputs:{ngForOf:"ngForOf",ngForTrackBy:"ngForTrackBy",ngForTemplate:"ngForTemplate"}}),e})();function lv(e,t){e.context.$implicit=t.item}let uv=(()=>{class e{constructor(n,r){this._viewContainer=n,this._context=new sx,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){cv("ngIfThen",n),this._thenTemplateRef=n,this._thenViewRef=null,this._updateView()}set ngIfElse(n){cv("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)(D(Ot),D(gn))},e.\u0275dir=T({type:e,selectors:[["","ngIf",""]],inputs:{ngIf:"ngIf",ngIfThen:"ngIfThen",ngIfElse:"ngIfElse"}}),e})();class sx{constructor(){this.$implicit=null,this.ngIf=null}}function cv(e,t){if(t&&!t.createEmbeddedView)throw new Error(`${e} must be a TemplateRef, but received '${Z(t)}'.`)}let Fx=(()=>{class e{}return e.\u0275fac=function(n){return new(n||e)},e.\u0275mod=pt({type:e}),e.\u0275inj=rt({providers:[{provide:qs,useClass:nx}]}),e})();let Vx=(()=>{class e{}return e.\u0275prov=P({token:e,providedIn:"root",factory:()=>new Lx(b(ct),window)}),e})();class Lx{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 jx(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 o=r.currentNode;for(;o;){const i=o.shadowRoot;if(i){const s=i.getElementById(t)||i.querySelector(`[name="${t}"]`);if(s)return s}o=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,o=n.top+this.window.pageYOffset,i=this.offset();this.window.scrollTo(r-i[0],o-i[1])}attemptFocus(t){return t.focus(),this.document.activeElement===t}supportScrollRestoration(){try{if(!this.supportsScrolling())return!1;const t=pv(this.window.history)||pv(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 pv(e){return Object.getOwnPropertyDescriptor(e,"scrollRestoration")}class gv{}class Cc extends class Bx extends class hT{}{constructor(){super(...arguments),this.supportsDOMEvents=!0}}{static makeCurrent(){!function fT(e){Ps||(Ps=e)}(new Cc)}onAndCancel(t,n,r){return t.addEventListener(n,r,!1),()=>{t.removeEventListener(n,r,!1)}}dispatchEvent(t,n){t.dispatchEvent(n)}remove(t){t.parentNode&&t.parentNode.removeChild(t)}createElement(t,n){return(n=n||this.getDefaultDocument()).createElement(t)}createHtmlDocument(){return document.implementation.createHTMLDocument("fakeTitle")}getDefaultDocument(){return document}isElementNode(t){return t.nodeType===Node.ELEMENT_NODE}isShadowRoot(t){return t instanceof DocumentFragment}getGlobalEventTarget(t,n){return"window"===n?window:"document"===n?t:"body"===n?t.body:null}getBaseHref(t){const n=function Hx(){return si=si||document.querySelector("base"),si?si.getAttribute("href"):null}();return null==n?null:function Ux(e){zs=zs||document.createElement("a"),zs.setAttribute("href",e);const t=zs.pathname;return"/"===t.charAt(0)?t:`/${t}`}(n)}resetBaseElement(){si=null}getUserAgent(){return window.navigator.userAgent}getCookie(t){return sv(document.cookie,t)}}let zs,si=null;const mv=new j("TRANSITION_ID"),Gx=[{provide:Rs,useFactory:function $x(e,t,n){return()=>{n.get(eo).donePromise.then(()=>{const r=Yt(),o=t.querySelectorAll(`style[ng-transition="${e}"]`);for(let i=0;i<o.length;i++)r.remove(o[i])})}},deps:[mv,ct,Re],multi:!0}];class wc{static init(){!function NI(e){Xu=e}(new wc)}addToWindow(t){K.getAngularTestability=(r,o=!0)=>{const i=t.findTestabilityInTree(r,o);if(null==i)throw new Error("Could not find testability for element.");return i},K.getAllAngularTestabilities=()=>t.getAllTestabilities(),K.getAllAngularRootElements=()=>t.getAllRootElements(),K.frameworkStabilizers||(K.frameworkStabilizers=[]),K.frameworkStabilizers.push(r=>{const o=K.getAllAngularTestabilities();let i=o.length,s=!1;const a=function(l){s=s||l,i--,0==i&&r(s)};o.forEach(function(l){l.whenStable(a)})})}findTestabilityInTree(t,n,r){if(null==n)return null;const o=t.getTestability(n);return null!=o?o:r?Yt().isShadowRoot(n)?this.findTestabilityInTree(t,n.host,!0):this.findTestabilityInTree(t,n.parentElement,!0):null}}let qx=(()=>{class e{build(){return new XMLHttpRequest}}return e.\u0275fac=function(n){return new(n||e)},e.\u0275prov=P({token:e,factory:e.\u0275fac}),e})();const Ws=new j("EventManagerPlugins");let Qs=(()=>{class e{constructor(n,r){this._zone=r,this._eventNameToPlugin=new Map,n.forEach(o=>o.manager=this),this._plugins=n.slice().reverse()}addEventListener(n,r,o){return this._findPluginFor(r).addEventListener(n,r,o)}addGlobalEventListener(n,r,o){return this._findPluginFor(r).addGlobalEventListener(n,r,o)}getZone(){return this._zone}_findPluginFor(n){const r=this._eventNameToPlugin.get(n);if(r)return r;const o=this._plugins;for(let i=0;i<o.length;i++){const s=o[i];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)(b(Ws),b(be))},e.\u0275prov=P({token:e,factory:e.\u0275fac}),e})();class yv{constructor(t){this._doc=t}addGlobalEventListener(t,n,r){const o=Yt().getGlobalEventTarget(this._doc,t);if(!o)throw new Error(`Unsupported event target ${o} for event ${n}`);return this.addEventListener(o,n,r)}}let vv=(()=>{class e{constructor(){this._stylesSet=new Set}addStyles(n){const r=new Set;n.forEach(o=>{this._stylesSet.has(o)||(this._stylesSet.add(o),r.add(o))}),this.onStylesAdded(r)}onStylesAdded(n){}getAllStyles(){return Array.from(this._stylesSet)}}return e.\u0275fac=function(n){return new(n||e)},e.\u0275prov=P({token:e,factory:e.\u0275fac}),e})(),ai=(()=>{class e extends vv{constructor(n){super(),this._doc=n,this._hostNodes=new Map,this._hostNodes.set(n.head,[])}_addStylesToHost(n,r,o){n.forEach(i=>{const s=this._doc.createElement("style");s.textContent=i,o.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(_v),this._hostNodes.delete(n)}onStylesAdded(n){this._hostNodes.forEach((r,o)=>{this._addStylesToHost(n,o,r)})}ngOnDestroy(){this._hostNodes.forEach(n=>n.forEach(_v))}}return e.\u0275fac=function(n){return new(n||e)(b(ct))},e.\u0275prov=P({token:e,factory:e.\u0275fac}),e})();function _v(e){Yt().remove(e)}const Ec={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/"},bc=/%COMP%/g;function Zs(e,t,n){for(let r=0;r<t.length;r++){let o=t[r];Array.isArray(o)?Zs(e,o,n):(o=o.replace(bc,e),n.push(o))}return n}function wv(e){return t=>{if("__ngUnwrap__"===t)return e;!1===e(t)&&(t.preventDefault(),t.returnValue=!1)}}let Mc=(()=>{class e{constructor(n,r,o){this.eventManager=n,this.sharedStylesHost=r,this.appId=o,this.rendererByCompId=new Map,this.defaultRenderer=new Sc(n)}createRenderer(n,r){if(!n||!r)return this.defaultRenderer;switch(r.encapsulation){case Bt.Emulated:{let o=this.rendererByCompId.get(r.id);return o||(o=new Jx(this.eventManager,this.sharedStylesHost,r,this.appId),this.rendererByCompId.set(r.id,o)),o.applyToHost(n),o}case 1:case Bt.ShadowDom:return new Yx(this.eventManager,this.sharedStylesHost,n,r);default:if(!this.rendererByCompId.has(r.id)){const o=Zs(r.id,r.styles,[]);this.sharedStylesHost.addStyles(o),this.rendererByCompId.set(r.id,this.defaultRenderer)}return this.defaultRenderer}}begin(){}end(){}}return e.\u0275fac=function(n){return new(n||e)(b(Qs),b(ai),b(ti))},e.\u0275prov=P({token:e,factory:e.\u0275fac}),e})();class Sc{constructor(t){this.eventManager=t,this.data=Object.create(null),this.destroyNode=null}destroy(){}createElement(t,n){return n?document.createElementNS(Ec[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,o){if(o){n=o+":"+n;const i=Ec[o];i?t.setAttributeNS(i,n,r):t.setAttribute(n,r)}else t.setAttribute(n,r)}removeAttribute(t,n,r){if(r){const o=Ec[r];o?t.removeAttributeNS(o,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,o){o&(lt.DashCase|lt.Important)?t.style.setProperty(n,r,o&lt.Important?"important":""):t.style[n]=r}removeStyle(t,n,r){r&lt.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,wv(r)):this.eventManager.addEventListener(t,n,wv(r))}}class Jx extends Sc{constructor(t,n,r,o){super(t),this.component=r;const i=Zs(o+"-"+r.id,r.styles,[]);n.addStyles(i),this.contentAttr=function Qx(e){return"_ngcontent-%COMP%".replace(bc,e)}(o+"-"+r.id),this.hostAttr=function Zx(e){return"_nghost-%COMP%".replace(bc,e)}(o+"-"+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 Yx extends Sc{constructor(t,n,r,o){super(t),this.sharedStylesHost=n,this.hostEl=r,this.shadowRoot=r.attachShadow({mode:"open"}),this.sharedStylesHost.addHost(this.shadowRoot);const i=Zs(o.id,o.styles,[]);for(let s=0;s<i.length;s++){const a=document.createElement("style");a.textContent=i[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 Xx=(()=>{class e extends yv{constructor(n){super(n)}supports(n){return!0}addEventListener(n,r,o){return n.addEventListener(r,o,!1),()=>this.removeEventListener(n,r,o)}removeEventListener(n,r,o){return n.removeEventListener(r,o)}}return e.\u0275fac=function(n){return new(n||e)(b(ct))},e.\u0275prov=P({token:e,factory:e.\u0275fac}),e})();const bv=["alt","control","meta","shift"],tR={"\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"},Mv={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"},nR={alt:e=>e.altKey,control:e=>e.ctrlKey,meta:e=>e.metaKey,shift:e=>e.shiftKey};let rR=(()=>{class e extends yv{constructor(n){super(n)}supports(n){return null!=e.parseEventName(n)}addEventListener(n,r,o){const i=e.parseEventName(r),s=e.eventCallback(i.fullKey,o,this.manager.getZone());return this.manager.getZone().runOutsideAngular(()=>Yt().onAndCancel(n,i.domEventName,s))}static parseEventName(n){const r=n.toLowerCase().split("."),o=r.shift();if(0===r.length||"keydown"!==o&&"keyup"!==o)return null;const i=e._normalizeKey(r.pop());let s="";if(bv.forEach(l=>{const u=r.indexOf(l);u>-1&&(r.splice(u,1),s+=l+".")}),s+=i,0!=r.length||0===i.length)return null;const a={};return a.domEventName=o,a.fullKey=s,a}static getEventFullKey(n){let r="",o=function oR(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&&Mv.hasOwnProperty(t)&&(t=Mv[t]))}return tR[t]||t}(n);return o=o.toLowerCase()," "===o?o="space":"."===o&&(o="dot"),bv.forEach(i=>{i!=o&&nR[i](n)&&(r+=i+".")}),r+=o,r}static eventCallback(n,r,o){return i=>{e.getEventFullKey(i)===n&&o.runGuarded(()=>r(i))}}static _normalizeKey(n){return"esc"===n?"escape":n}}return e.\u0275fac=function(n){return new(n||e)(b(ct))},e.\u0275prov=P({token:e,factory:e.\u0275fac}),e})();const lR=Ty(rT,"browser",[{provide:Ns,useValue:"browser"},{provide:Dy,useValue:function iR(){Cc.makeCurrent(),wc.init()},multi:!0},{provide:ct,useFactory:function aR(){return function aw(e){za=e}(document),document},deps:[]}]),uR=[{provide:su,useValue:"root"},{provide:Sr,useFactory:function sR(){return new Sr},deps:[]},{provide:Ws,useClass:Xx,multi:!0,deps:[ct,be,Ns]},{provide:Ws,useClass:rR,multi:!0,deps:[ct]},{provide:Mc,useClass:Mc,deps:[Qs,ai,ti]},{provide:km,useExisting:Mc},{provide:vv,useExisting:ai},{provide:ai,useClass:ai,deps:[ct]},{provide:Yu,useClass:Yu,deps:[be]},{provide:Qs,useClass:Qs,deps:[Ws,be]},{provide:gv,useClass:qx,deps:[]}];let cR=(()=>{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:ti,useValue:n.appId},{provide:mv,useExisting:ti},Gx]}}}return e.\u0275fac=function(n){return new(n||e)(b(e,12))},e.\u0275mod=pt({type:e}),e.\u0275inj=rt({providers:uR,imports:[Fx,cT]}),e})();function k(...e){return Ie(e,po(e))}"undefined"!=typeof window&&window;class Lt 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:CR}=Array,{getPrototypeOf:wR,prototype:ER,keys:bR}=Object;function Iv(e){if(1===e.length){const t=e[0];if(CR(t))return{args:t,keys:null};if(function MR(e){return e&&"object"==typeof e&&wR(e)===ER}(t)){const n=bR(t);return{args:n.map(r=>t[r]),keys:n}}}return{args:e,keys:null}}const{isArray:SR}=Array;function Tv(e){return Q(t=>function AR(e,t){return SR(t)?e(...t):e(t)}(e,t))}function xv(e,t){return e.reduce((n,r,o)=>(n[r]=t[o],n),{})}function Rv(e,t,n){e?rn(n,e,t):t()}const Ks=co(e=>function(){e(this),this.name="EmptyError",this.message="no elements in sequence"});function Ic(...e){return function xR(){return ho(1)}()(Ie(e,po(e)))}function Nv(e){return new se(t=>{jt(e()).subscribe(t)})}function Fv(){return xe((e,t)=>{let n=null;e._refCount++;const r=new Se(t,void 0,void 0,void 0,()=>{if(!e||e._refCount<=0||0<--e._refCount)return void(n=null);const o=e._connection,i=n;n=null,o&&(!i||o===i)&&o.unsubscribe(),t.unsubscribe()});e.subscribe(r),r.closed||(n=e.connect())})}class RR extends se{constructor(t,n){super(),this.source=t,this.subjectFactory=n,this._subject=null,this._refCount=0,this._connection=null,$d(t)&&(this.lift=t.lift)}_subscribe(t){return this.getSubject().subscribe(t)}getSubject(){const t=this._subject;return(!t||t.isStopped)&&(this._subject=this.subjectFactory()),this._subject}_teardown(){this._refCount=0;const{_connection:t}=this;this._subject=this._connection=null,null==t||t.unsubscribe()}connect(){let t=this._connection;if(!t){t=this._connection=new ht;const n=this.getSubject();t.add(this.source.subscribe(new Se(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 Fv()(this)}}function Xn(e,t){return xe((n,r)=>{let o=null,i=0,s=!1;const a=()=>s&&!o&&r.complete();n.subscribe(new Se(r,l=>{null==o||o.unsubscribe();let u=0;const c=i++;jt(e(l,c)).subscribe(o=new Se(r,d=>r.next(t?t(l,d,c,u++):d),()=>{o=null,a()}))},()=>{s=!0,a()}))})}function FR(e,t,n,r,o){return(i,s)=>{let a=n,l=t,u=0;i.subscribe(new Se(s,c=>{const d=u++;l=a?e(l,c,d):(a=!0,c),r&&s.next(l)},o&&(()=>{a&&s.next(l),s.complete()})))}}function Ov(e,t){return xe(FR(e,t,arguments.length>=2,!0))}function er(e,t){return xe((n,r)=>{let o=0;n.subscribe(new Se(r,i=>e.call(t,i,o++)&&r.next(i)))})}function Fn(e){return xe((t,n)=>{let i,r=null,o=!1;r=t.subscribe(new Se(n,void 0,void 0,s=>{i=jt(e(s,Fn(e)(t))),r?(r.unsubscribe(),r=null,i.subscribe(n)):o=!0})),o&&(r.unsubscribe(),r=null,i.subscribe(n))})}function ro(e,t){return re(t)?Ae(e,t,1):Ae(e,1)}function Tc(e){return e<=0?()=>on:xe((t,n)=>{let r=[];t.subscribe(new Se(n,o=>{r.push(o),e<r.length&&r.shift()},()=>{for(const o of r)n.next(o);n.complete()},void 0,()=>{r=null}))})}function Pv(e=OR){return xe((t,n)=>{let r=!1;t.subscribe(new Se(n,o=>{r=!0,n.next(o)},()=>r?n.complete():n.error(e())))})}function OR(){return new Ks}function kv(e){return xe((t,n)=>{let r=!1;t.subscribe(new Se(n,o=>{r=!0,n.next(o)},()=>{r||n.next(e),n.complete()}))})}function oo(e,t){const n=arguments.length>=2;return r=>r.pipe(e?er((o,i)=>e(o,i,r)):Hn,xi(1),n?kv(t):Pv(()=>new Ks))}function dt(e,t,n){const r=re(e)||t||n?{next:e,error:t,complete:n}:e;return r?xe((o,i)=>{var s;null===(s=r.subscribe)||void 0===s||s.call(r);let a=!0;o.subscribe(new Se(i,l=>{var u;null===(u=r.next)||void 0===u||u.call(r,l),i.next(l)},()=>{var l;a=!1,null===(l=r.complete)||void 0===l||l.call(r),i.complete()},l=>{var u;a=!1,null===(u=r.error)||void 0===u||u.call(r,l),i.error(l)},()=>{var l,u;a&&(null===(l=r.unsubscribe)||void 0===l||l.call(r)),null===(u=r.finalize)||void 0===u||u.call(r)}))}):Hn}class vn{constructor(t,n){this.id=t,this.url=n}}class xc extends vn{constructor(t,n,r="imperative",o=null){super(t,n),this.navigationTrigger=r,this.restoredState=o}toString(){return`NavigationStart(id: ${this.id}, url: '${this.url}')`}}class li extends vn{constructor(t,n,r){super(t,n),this.urlAfterRedirects=r}toString(){return`NavigationEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}')`}}class Vv extends vn{constructor(t,n,r){super(t,n),this.reason=r}toString(){return`NavigationCancel(id: ${this.id}, url: '${this.url}')`}}class VR extends vn{constructor(t,n,r){super(t,n),this.error=r}toString(){return`NavigationError(id: ${this.id}, url: '${this.url}', error: ${this.error})`}}class LR extends vn{constructor(t,n,r,o){super(t,n),this.urlAfterRedirects=r,this.state=o}toString(){return`RoutesRecognized(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}}class jR extends vn{constructor(t,n,r,o){super(t,n),this.urlAfterRedirects=r,this.state=o}toString(){return`GuardsCheckStart(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}}class BR extends vn{constructor(t,n,r,o,i){super(t,n),this.urlAfterRedirects=r,this.state=o,this.shouldActivate=i}toString(){return`GuardsCheckEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state}, shouldActivate: ${this.shouldActivate})`}}class HR extends vn{constructor(t,n,r,o){super(t,n),this.urlAfterRedirects=r,this.state=o}toString(){return`ResolveStart(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}}class UR extends vn{constructor(t,n,r,o){super(t,n),this.urlAfterRedirects=r,this.state=o}toString(){return`ResolveEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}}class Lv{constructor(t){this.route=t}toString(){return`RouteConfigLoadStart(path: ${this.route.path})`}}class jv{constructor(t){this.route=t}toString(){return`RouteConfigLoadEnd(path: ${this.route.path})`}}class $R{constructor(t){this.snapshot=t}toString(){return`ChildActivationStart(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}}class GR{constructor(t){this.snapshot=t}toString(){return`ChildActivationEnd(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}}class qR{constructor(t){this.snapshot=t}toString(){return`ActivationStart(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}}class zR{constructor(t){this.snapshot=t}toString(){return`ActivationEnd(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}}class Bv{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 WR{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 io(e){return new WR(e)}const Hv="ngNavigationCancelingError";function Rc(e){const t=Error("NavigationCancelingError: "+e);return t[Hv]=!0,t}function ZR(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 o={};for(let i=0;i<r.length;i++){const s=r[i],a=e[i];if(s.startsWith(":"))o[s.substring(1)]=a;else if(s!==a.path)return null}return{consumed:e.slice(0,r.length),posParams:o}}function Xt(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 o;for(let i=0;i<n.length;i++)if(o=n[i],!Uv(e[o],t[o]))return!1;return!0}function Uv(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((o,i)=>r[i]===o)}return e===t}function $v(e){return Array.prototype.concat.apply([],e)}function Gv(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 en(e){return _u(e)?e:Go(e)?Ie(Promise.resolve(e)):k(e)}const YR={exact:function Wv(e,t,n){if(!nr(e.segments,t.segments)||!Js(e.segments,t.segments,n)||e.numberOfChildren!==t.numberOfChildren)return!1;for(const r in t.children)if(!e.children[r]||!Wv(e.children[r],t.children[r],n))return!1;return!0},subset:Qv},qv={exact:function XR(e,t){return Xt(e,t)},subset:function eN(e,t){return Object.keys(t).length<=Object.keys(e).length&&Object.keys(t).every(n=>Uv(e[n],t[n]))},ignored:()=>!0};function zv(e,t,n){return YR[n.paths](e.root,t.root,n.matrixParams)&&qv[n.queryParams](e.queryParams,t.queryParams)&&!("exact"===n.fragment&&e.fragment!==t.fragment)}function Qv(e,t,n){return Zv(e,t,t.segments,n)}function Zv(e,t,n,r){if(e.segments.length>n.length){const o=e.segments.slice(0,n.length);return!(!nr(o,n)||t.hasChildren()||!Js(o,n,r))}if(e.segments.length===n.length){if(!nr(e.segments,n)||!Js(e.segments,n,r))return!1;for(const o in t.children)if(!e.children[o]||!Qv(e.children[o],t.children[o],r))return!1;return!0}{const o=n.slice(0,e.segments.length),i=n.slice(e.segments.length);return!!(nr(e.segments,o)&&Js(e.segments,o,r)&&e.children[U])&&Zv(e.children[U],t,i,r)}}function Js(e,t,n){return t.every((r,o)=>qv[n](e[o].parameters,r.parameters))}class tr{constructor(t,n,r){this.root=t,this.queryParams=n,this.fragment=r}get queryParamMap(){return this._queryParamMap||(this._queryParamMap=io(this.queryParams)),this._queryParamMap}toString(){return rN.serialize(this)}}class G{constructor(t,n){this.segments=t,this.children=n,this.parent=null,Fe(n,(r,o)=>r.parent=this)}hasChildren(){return this.numberOfChildren>0}get numberOfChildren(){return Object.keys(this.children).length}toString(){return Ys(this)}}class ui{constructor(t,n){this.path=t,this.parameters=n}get parameterMap(){return this._parameterMap||(this._parameterMap=io(this.parameters)),this._parameterMap}toString(){return e_(this)}}function nr(e,t){return e.length===t.length&&e.every((n,r)=>n.path===t[r].path)}class Kv{}class Jv{parse(t){const n=new fN(t);return new tr(n.parseRootSegment(),n.parseQueryParams(),n.parseFragment())}serialize(t){const n=`/${ci(t.root,!0)}`,r=function sN(e){const t=Object.keys(e).map(n=>{const r=e[n];return Array.isArray(r)?r.map(o=>`${Xs(n)}=${Xs(o)}`).join("&"):`${Xs(n)}=${Xs(r)}`}).filter(n=>!!n);return t.length?`?${t.join("&")}`:""}(t.queryParams);return`${n}${r}${"string"==typeof t.fragment?`#${function oN(e){return encodeURI(e)}(t.fragment)}`:""}`}}const rN=new Jv;function Ys(e){return e.segments.map(t=>e_(t)).join("/")}function ci(e,t){if(!e.hasChildren())return Ys(e);if(t){const n=e.children[U]?ci(e.children[U],!1):"",r=[];return Fe(e.children,(o,i)=>{i!==U&&r.push(`${i}:${ci(o,!1)}`)}),r.length>0?`${n}(${r.join("//")})`:n}{const n=function nN(e,t){let n=[];return Fe(e.children,(r,o)=>{o===U&&(n=n.concat(t(r,o)))}),Fe(e.children,(r,o)=>{o!==U&&(n=n.concat(t(r,o)))}),n}(e,(r,o)=>o===U?[ci(e.children[U],!1)]:[`${o}:${ci(r,!1)}`]);return 1===Object.keys(e.children).length&&null!=e.children[U]?`${Ys(e)}/${n[0]}`:`${Ys(e)}/(${n.join("//")})`}}function Yv(e){return encodeURIComponent(e).replace(/%40/g,"@").replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",")}function Xs(e){return Yv(e).replace(/%3B/gi,";")}function Nc(e){return Yv(e).replace(/\(/g,"%28").replace(/\)/g,"%29").replace(/%26/gi,"&")}function ea(e){return decodeURIComponent(e)}function Xv(e){return ea(e.replace(/\+/g,"%20"))}function e_(e){return`${Nc(e.path)}${function iN(e){return Object.keys(e).map(t=>`;${Nc(t)}=${Nc(e[t])}`).join("")}(e.parameters)}`}const aN=/^[^\/()?;=#]+/;function ta(e){const t=e.match(aN);return t?t[0]:""}const lN=/^[^=?&#]+/,cN=/^[^&#]+/;class fN{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=ta(this.remaining);if(""===t&&this.peekStartsWith(";"))throw new Error(`Empty path url segment cannot have parameters: '${this.remaining}'.`);return this.capture(t),new ui(ea(t),this.parseMatrixParams())}parseMatrixParams(){const t={};for(;this.consumeOptional(";");)this.parseParam(t);return t}parseParam(t){const n=ta(this.remaining);if(!n)return;this.capture(n);let r="";if(this.consumeOptional("=")){const o=ta(this.remaining);o&&(r=o,this.capture(r))}t[ea(n)]=ea(r)}parseQueryParam(t){const n=function uN(e){const t=e.match(lN);return t?t[0]:""}(this.remaining);if(!n)return;this.capture(n);let r="";if(this.consumeOptional("=")){const s=function dN(e){const t=e.match(cN);return t?t[0]:""}(this.remaining);s&&(r=s,this.capture(r))}const o=Xv(n),i=Xv(r);if(t.hasOwnProperty(o)){let s=t[o];Array.isArray(s)||(s=[s],t[o]=s),s.push(i)}else t[o]=i}parseParens(t){const n={};for(this.capture("(");!this.consumeOptional(")")&&this.remaining.length>0;){const r=ta(this.remaining),o=this.remaining[r.length];if("/"!==o&&")"!==o&&";"!==o)throw new Error(`Cannot parse url '${this.url}'`);let i;r.indexOf(":")>-1?(i=r.substr(0,r.indexOf(":")),this.capture(i),this.capture(":")):t&&(i=U);const s=this.parseChildren();n[i]=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 t_{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=Fc(t,this._root);return n?n.children.map(r=>r.value):[]}firstChild(t){const n=Fc(t,this._root);return n&&n.children.length>0?n.children[0].value:null}siblings(t){const n=Oc(t,this._root);return n.length<2?[]:n[n.length-2].children.map(o=>o.value).filter(o=>o!==t)}pathFromRoot(t){return Oc(t,this._root).map(n=>n.value)}}function Fc(e,t){if(e===t.value)return t;for(const n of t.children){const r=Fc(e,n);if(r)return r}return null}function Oc(e,t){if(e===t.value)return[t];for(const n of t.children){const r=Oc(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 so(e){const t={};return e&&e.children.forEach(n=>t[n.value.outlet]=n),t}class n_ extends t_{constructor(t,n){super(t),this.snapshot=n,Pc(this,t)}toString(){return this.snapshot.toString()}}function r_(e,t){const n=function hN(e,t){const s=new na([],{},{},"",{},U,t,null,e.root,-1,{});return new i_("",new _n(s,[]))}(e,t),r=new Lt([new ui("",{})]),o=new Lt({}),i=new Lt({}),s=new Lt({}),a=new Lt(""),l=new ao(r,o,s,a,i,U,t,n.root);return l.snapshot=n.root,new n_(new _n(l,[]),n)}class ao{constructor(t,n,r,o,i,s,a,l){this.url=t,this.params=n,this.queryParams=r,this.fragment=o,this.data=i,this.outlet=s,this.component=a,this._futureSnapshot=l}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(Q(t=>io(t)))),this._paramMap}get queryParamMap(){return this._queryParamMap||(this._queryParamMap=this.queryParams.pipe(Q(t=>io(t)))),this._queryParamMap}toString(){return this.snapshot?this.snapshot.toString():`Future(${this._futureSnapshot})`}}function o_(e,t="emptyOnly"){const n=e.pathFromRoot;let r=0;if("always"!==t)for(r=n.length-1;r>=1;){const o=n[r],i=n[r-1];if(o.routeConfig&&""===o.routeConfig.path)r--;else{if(i.component)break;r--}}return function pN(e){return e.reduce((t,n)=>({params:Object.assign(Object.assign({},t.params),n.params),data:Object.assign(Object.assign({},t.data),n.data),resolve:Object.assign(Object.assign({},t.resolve),n._resolvedData)}),{params:{},data:{},resolve:{}})}(n.slice(r))}class na{constructor(t,n,r,o,i,s,a,l,u,c,d){this.url=t,this.params=n,this.queryParams=r,this.fragment=o,this.data=i,this.outlet=s,this.component=a,this.routeConfig=l,this._urlSegment=u,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=io(this.params)),this._paramMap}get queryParamMap(){return this._queryParamMap||(this._queryParamMap=io(this.queryParams)),this._queryParamMap}toString(){return`Route(url:'${this.url.map(r=>r.toString()).join("/")}', path:'${this.routeConfig?this.routeConfig.path:""}')`}}class i_ extends t_{constructor(t,n){super(n),this.url=t,Pc(this,n)}toString(){return s_(this._root)}}function Pc(e,t){t.value._routerState=e,t.children.forEach(n=>Pc(e,n))}function s_(e){const t=e.children.length>0?` { ${e.children.map(s_).join(", ")} } `:"";return`${e.value}${t}`}function kc(e){if(e.snapshot){const t=e.snapshot,n=e._futureSnapshot;e.snapshot=n,Xt(t.queryParams,n.queryParams)||e.queryParams.next(n.queryParams),t.fragment!==n.fragment&&e.fragment.next(n.fragment),Xt(t.params,n.params)||e.params.next(n.params),function KR(e,t){if(e.length!==t.length)return!1;for(let n=0;n<e.length;++n)if(!Xt(e[n],t[n]))return!1;return!0}(t.url,n.url)||e.url.next(n.url),Xt(t.data,n.data)||e.data.next(n.data)}else e.snapshot=e._futureSnapshot,e.data.next(e._futureSnapshot.data)}function Vc(e,t){const n=Xt(e.params,t.params)&&function tN(e,t){return nr(e,t)&&e.every((n,r)=>Xt(n.parameters,t[r].parameters))}(e.url,t.url);return n&&!(!e.parent!=!t.parent)&&(!e.parent||Vc(e.parent,t.parent))}function di(e,t,n){if(n&&e.shouldReuseRoute(t.value,n.value.snapshot)){const r=n.value;r._futureSnapshot=t.value;const o=function mN(e,t,n){return t.children.map(r=>{for(const o of n.children)if(e.shouldReuseRoute(r.value,o.value.snapshot))return di(e,r,o);return di(e,r)})}(e,t,n);return new _n(r,o)}{if(e.shouldAttach(t.value)){const i=e.retrieve(t.value);if(null!==i){const s=i.route;return s.value._futureSnapshot=t.value,s.children=t.children.map(a=>di(e,a)),s}}const r=function yN(e){return new ao(new Lt(e.url),new Lt(e.params),new Lt(e.queryParams),new Lt(e.fragment),new Lt(e.data),e.outlet,e.component,e)}(t.value),o=t.children.map(i=>di(e,i));return new _n(r,o)}}function ra(e){return"object"==typeof e&&null!=e&&!e.outlets&&!e.segmentPath}function fi(e){return"object"==typeof e&&null!=e&&e.outlets}function Lc(e,t,n,r,o){let i={};return r&&Fe(r,(s,a)=>{i[a]=Array.isArray(s)?s.map(l=>`${l}`):`${s}`}),new tr(n.root===e?t:a_(n.root,e,t),i,o)}function a_(e,t,n){const r={};return Fe(e.children,(o,i)=>{r[i]=o===t?n:a_(o,t,n)}),new G(e.segments,r)}class l_{constructor(t,n,r){if(this.isAbsolute=t,this.numberOfDoubleDots=n,this.commands=r,t&&r.length>0&&ra(r[0]))throw new Error("Root segment cannot have matrix parameters");const o=r.find(fi);if(o&&o!==Gv(r))throw new Error("{outlets:{}} has to be the last command")}toRoot(){return this.isAbsolute&&1===this.commands.length&&"/"==this.commands[0]}}class jc{constructor(t,n,r){this.segmentGroup=t,this.processChildren=n,this.index=r}}function u_(e,t,n){if(e||(e=new G([],{})),0===e.segments.length&&e.hasChildren())return oa(e,t,n);const r=function EN(e,t,n){let r=0,o=t;const i={match:!1,pathIndex:0,commandIndex:0};for(;o<e.segments.length;){if(r>=n.length)return i;const s=e.segments[o],a=n[r];if(fi(a))break;const l=`${a}`,u=r<n.length-1?n[r+1]:null;if(o>0&&void 0===l)break;if(l&&u&&"object"==typeof u&&void 0===u.outlets){if(!d_(l,u,s))return i;r+=2}else{if(!d_(l,{},s))return i;r++}o++}return{match:!0,pathIndex:o,commandIndex:r}}(e,t,n),o=n.slice(r.commandIndex);if(r.match&&r.pathIndex<e.segments.length){const i=new G(e.segments.slice(0,r.pathIndex),{});return i.children[U]=new G(e.segments.slice(r.pathIndex),e.children),oa(i,0,o)}return r.match&&0===o.length?new G(e.segments,{}):r.match&&!e.hasChildren()?Bc(e,t,n):r.match?oa(e,0,o):Bc(e,t,n)}function oa(e,t,n){if(0===n.length)return new G(e.segments,{});{const r=function wN(e){return fi(e[0])?e[0].outlets:{[U]:e}}(n),o={};return Fe(r,(i,s)=>{"string"==typeof i&&(i=[i]),null!==i&&(o[s]=u_(e.children[s],t,i))}),Fe(e.children,(i,s)=>{void 0===r[s]&&(o[s]=i)}),new G(e.segments,o)}}function Bc(e,t,n){const r=e.segments.slice(0,t);let o=0;for(;o<n.length;){const i=n[o];if(fi(i)){const l=bN(i.outlets);return new G(r,l)}if(0===o&&ra(n[0])){r.push(new ui(e.segments[t].path,c_(n[0]))),o++;continue}const s=fi(i)?i.outlets[U]:`${i}`,a=o<n.length-1?n[o+1]:null;s&&a&&ra(a)?(r.push(new ui(s,c_(a))),o+=2):(r.push(new ui(s,{})),o++)}return new G(r,{})}function bN(e){const t={};return Fe(e,(n,r)=>{"string"==typeof n&&(n=[n]),null!==n&&(t[r]=Bc(new G([],{}),0,n))}),t}function c_(e){const t={};return Fe(e,(n,r)=>t[r]=`${n}`),t}function d_(e,t,n){return e==n.path&&Xt(t,n.parameters)}class SN{constructor(t,n,r,o){this.routeReuseStrategy=t,this.futureState=n,this.currState=r,this.forwardEvent=o}activate(t){const n=this.futureState._root,r=this.currState?this.currState._root:null;this.deactivateChildRoutes(n,r,t),kc(this.futureState.root),this.activateChildRoutes(n,r,t)}deactivateChildRoutes(t,n,r){const o=so(n);t.children.forEach(i=>{const s=i.value.outlet;this.deactivateRoutes(i,o[s],r),delete o[s]}),Fe(o,(i,s)=>{this.deactivateRouteAndItsChildren(i,r)})}deactivateRoutes(t,n,r){const o=t.value,i=n?n.value:null;if(o===i)if(o.component){const s=r.getContext(o.outlet);s&&this.deactivateChildRoutes(t,n,s.children)}else this.deactivateChildRoutes(t,n,r);else i&&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),o=r&&t.value.component?r.children:n,i=so(t);for(const s of Object.keys(i))this.deactivateRouteAndItsChildren(i[s],o);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),o=r&&t.value.component?r.children:n,i=so(t);for(const s of Object.keys(i))this.deactivateRouteAndItsChildren(i[s],o);r&&r.outlet&&(r.outlet.deactivate(),r.children.onOutletDeactivated(),r.attachRef=null,r.resolver=null,r.route=null)}activateChildRoutes(t,n,r){const o=so(n);t.children.forEach(i=>{this.activateRoutes(i,o[i.value.outlet],r),this.forwardEvent(new zR(i.value.snapshot))}),t.children.length&&this.forwardEvent(new GR(t.value.snapshot))}activateRoutes(t,n,r){const o=t.value,i=n?n.value:null;if(kc(o),o===i)if(o.component){const s=r.getOrCreateContext(o.outlet);this.activateChildRoutes(t,n,s.children)}else this.activateChildRoutes(t,n,r);else if(o.component){const s=r.getOrCreateContext(o.outlet);if(this.routeReuseStrategy.shouldAttach(o.snapshot)){const a=this.routeReuseStrategy.retrieve(o.snapshot);this.routeReuseStrategy.store(o.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),kc(a.route.value),this.activateChildRoutes(t,null,s.children)}else{const a=function AN(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}(o.snapshot),l=a?a.module.componentFactoryResolver:null;s.attachRef=null,s.route=o,s.resolver=l,s.outlet&&s.outlet.activateWith(o,l),this.activateChildRoutes(t,null,s.children)}}else this.activateChildRoutes(t,null,r)}}class Hc{constructor(t,n){this.routes=t,this.module=n}}function On(e){return"function"==typeof e}function rr(e){return e instanceof tr}const hi=Symbol("INITIAL_VALUE");function pi(){return Xn(e=>function IR(...e){const t=po(e),n=rf(e),{args:r,keys:o}=Iv(e);if(0===r.length)return Ie([],t);const i=new se(function TR(e,t,n=Hn){return r=>{Rv(t,()=>{const{length:o}=e,i=new Array(o);let s=o,a=o;for(let l=0;l<o;l++)Rv(t,()=>{const u=Ie(e[l],t);let c=!1;u.subscribe(new Se(r,d=>{i[l]=d,c||(c=!0,a--),a||r.next(n(i.slice()))},()=>{--s||r.complete()}))},r)},r)}}(r,t,o?s=>xv(o,s):Hn));return n?i.pipe(Tv(n)):i}(e.map(t=>t.pipe(xi(1),function NR(...e){const t=po(e);return xe((n,r)=>{(t?Ic(e,n,t):Ic(e,n)).subscribe(r)})}(hi)))).pipe(Ov((t,n)=>{let r=!1;return n.reduce((o,i,s)=>o!==hi?o:(i===hi&&(r=!0),r||!1!==i&&s!==n.length-1&&!rr(i)?o:i),t)},hi),er(t=>t!==hi),Q(t=>rr(t)?t:!0===t),xi(1)))}class FN{constructor(){this.outlet=null,this.route=null,this.resolver=null,this.children=new gi,this.attachRef=null}}class gi{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 FN,this.contexts.set(t,n)),n}getContext(t){return this.contexts.get(t)||null}}let Uc=(()=>{class e{constructor(n,r,o,i,s){this.parentContexts=n,this.location=r,this.resolver=o,this.changeDetector=s,this.activated=null,this._activatedRoute=null,this.activateEvents=new he,this.deactivateEvents=new he,this.attachEvents=new he,this.detachEvents=new he,this.name=i||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,l=new ON(n,a,this.location.injector);this.activated=this.location.createComponent(s,this.location.length,l),this.changeDetector.markForCheck(),this.activateEvents.emit(this.activated.instance)}}return e.\u0275fac=function(n){return new(n||e)(D(gi),D(Ot),D(Kr),function bo(e){return function jw(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 o=0;for(;o<r;){const i=n[o];if(Lf(i))break;if(0===i)o+=2;else if("number"==typeof i)for(o++;o<r&&"string"==typeof n[o];)o++;else{if(i===t)return n[o+1];o+=2}}}return null}(Ce(),e)}("name"),D(tc))},e.\u0275dir=T({type:e,selectors:[["router-outlet"]],outputs:{activateEvents:"activate",deactivateEvents:"deactivate",attachEvents:"attach",detachEvents:"detach"},exportAs:["outlet"]}),e})();class ON{constructor(t,n,r){this.route=t,this.childContexts=n,this.parent=r}get(t,n){return t===ao?this.route:t===gi?this.childContexts:this.parent.get(t,n)}}let f_=(()=>{class e{}return e.\u0275fac=function(n){return new(n||e)},e.\u0275cmp=En({type:e,selectors:[["ng-component"]],decls:1,vars:0,template:function(n,r){1&n&&ze(0,"router-outlet")},directives:[Uc],encapsulation:2}),e})();function h_(e,t=""){for(let n=0;n<e.length;n++){const r=e[n];PN(r,kN(t,r))}}function PN(e,t){e.children&&h_(e.children,t)}function kN(e,t){return t?e||t.path?e&&!t.path?`${e}/`:!e&&t.path?t.path:`${e}/${t.path}`:"":e}function $c(e){const t=e.children&&e.children.map($c),n=t?Object.assign(Object.assign({},e),{children:t}):Object.assign({},e);return!n.component&&(t||n.loadChildren)&&n.outlet&&n.outlet!==U&&(n.component=f_),n}function Et(e){return e.outlet||U}function p_(e,t){const n=e.filter(r=>Et(r)===t);return n.push(...e.filter(r=>Et(r)!==t)),n}const g_={matched:!1,consumedSegments:[],lastChild:0,parameters:{},positionalParamSegments:{}};function ia(e,t,n){var r;if(""===t.path)return"full"===t.pathMatch&&(e.hasChildren()||n.length>0)?Object.assign({},g_):{matched:!0,consumedSegments:[],lastChild:0,parameters:{},positionalParamSegments:{}};const i=(t.matcher||ZR)(n,e,t);if(!i)return Object.assign({},g_);const s={};Fe(i.posParams,(l,u)=>{s[u]=l.path});const a=i.consumed.length>0?Object.assign(Object.assign({},s),i.consumed[i.consumed.length-1].parameters):s;return{matched:!0,consumedSegments:i.consumed,lastChild:i.consumed.length,parameters:a,positionalParamSegments:null!==(r=i.posParams)&&void 0!==r?r:{}}}function sa(e,t,n,r,o="corrected"){if(n.length>0&&function jN(e,t,n){return n.some(r=>aa(e,t,r)&&Et(r)!==U)}(e,n,r)){const s=new G(t,function LN(e,t,n,r){const o={};o[U]=r,r._sourceSegment=e,r._segmentIndexShift=t.length;for(const i of n)if(""===i.path&&Et(i)!==U){const s=new G([],{});s._sourceSegment=e,s._segmentIndexShift=t.length,o[Et(i)]=s}return o}(e,t,r,new G(n,e.children)));return s._sourceSegment=e,s._segmentIndexShift=t.length,{segmentGroup:s,slicedSegments:[]}}if(0===n.length&&function BN(e,t,n){return n.some(r=>aa(e,t,r))}(e,n,r)){const s=new G(e.segments,function VN(e,t,n,r,o,i){const s={};for(const a of r)if(aa(e,n,a)&&!o[Et(a)]){const l=new G([],{});l._sourceSegment=e,l._segmentIndexShift="legacy"===i?e.segments.length:t.length,s[Et(a)]=l}return Object.assign(Object.assign({},o),s)}(e,t,n,r,e.children,o));return s._sourceSegment=e,s._segmentIndexShift=t.length,{segmentGroup:s,slicedSegments:n}}const i=new G(e.segments,e.children);return i._sourceSegment=e,i._segmentIndexShift=t.length,{segmentGroup:i,slicedSegments:n}}function aa(e,t,n){return(!(e.hasChildren()||t.length>0)||"full"!==n.pathMatch)&&""===n.path}function m_(e,t,n,r){return!!(Et(e)===r||r!==U&&aa(t,n,e))&&("**"===e.path||ia(t,e,n).matched)}function y_(e,t,n){return 0===t.length&&!e.children[n]}class mi{constructor(t){this.segmentGroup=t||null}}class v_{constructor(t){this.urlTree=t}}function la(e){return new se(t=>t.error(new mi(e)))}function __(e){return new se(t=>t.error(new v_(e)))}function HN(e){return new se(t=>t.error(new Error(`Only absolute redirects can have named outlets. redirectTo: '${e}'`)))}class GN{constructor(t,n,r,o,i){this.configLoader=n,this.urlSerializer=r,this.urlTree=o,this.config=i,this.allowRedirects=!0,this.ngModule=t.get(pn)}apply(){const t=sa(this.urlTree.root,[],[],this.config).segmentGroup,n=new G(t.segments,t.children);return this.expandSegmentGroup(this.ngModule,this.config,n,U).pipe(Q(i=>this.createUrlTree(Gc(i),this.urlTree.queryParams,this.urlTree.fragment))).pipe(Fn(i=>{if(i instanceof v_)return this.allowRedirects=!1,this.match(i.urlTree);throw i instanceof mi?this.noMatchError(i):i}))}match(t){return this.expandSegmentGroup(this.ngModule,this.config,t.root,U).pipe(Q(o=>this.createUrlTree(Gc(o),t.queryParams,t.fragment))).pipe(Fn(o=>{throw o instanceof mi?this.noMatchError(o):o}))}noMatchError(t){return new Error(`Cannot match any routes. URL Segment: '${t.segmentGroup}'`)}createUrlTree(t,n,r){const o=t.segments.length>0?new G([],{[U]:t}):t;return new tr(o,n,r)}expandSegmentGroup(t,n,r,o){return 0===r.segments.length&&r.hasChildren()?this.expandChildren(t,n,r).pipe(Q(i=>new G([],i))):this.expandSegment(t,r,n,r.segments,o,!0)}expandChildren(t,n,r){const o=[];for(const i of Object.keys(r.children))"primary"===i?o.unshift(i):o.push(i);return Ie(o).pipe(ro(i=>{const s=r.children[i],a=p_(n,i);return this.expandSegmentGroup(t,a,s,i).pipe(Q(l=>({segment:l,outlet:i})))}),Ov((i,s)=>(i[s.outlet]=s.segment,i),{}),function PR(e,t){const n=arguments.length>=2;return r=>r.pipe(e?er((o,i)=>e(o,i,r)):Hn,Tc(1),n?kv(t):Pv(()=>new Ks))}())}expandSegment(t,n,r,o,i,s){return Ie(r).pipe(ro(a=>this.expandSegmentAgainstRoute(t,n,r,a,o,i,s).pipe(Fn(u=>{if(u instanceof mi)return k(null);throw u}))),oo(a=>!!a),Fn((a,l)=>{if(a instanceof Ks||"EmptyError"===a.name){if(y_(n,o,i))return k(new G([],{}));throw new mi(n)}throw a}))}expandSegmentAgainstRoute(t,n,r,o,i,s,a){return m_(o,n,i,s)?void 0===o.redirectTo?this.matchSegmentAgainstRoute(t,n,o,i,s):a&&this.allowRedirects?this.expandSegmentAgainstRouteUsingRedirect(t,n,r,o,i,s):la(n):la(n)}expandSegmentAgainstRouteUsingRedirect(t,n,r,o,i,s){return"**"===o.path?this.expandWildCardWithParamsAgainstRouteUsingRedirect(t,r,o,s):this.expandRegularSegmentAgainstRouteUsingRedirect(t,n,r,o,i,s)}expandWildCardWithParamsAgainstRouteUsingRedirect(t,n,r,o){const i=this.applyRedirectCommands([],r.redirectTo,{});return r.redirectTo.startsWith("/")?__(i):this.lineralizeSegments(r,i).pipe(Ae(s=>{const a=new G(s,{});return this.expandSegment(t,a,n,s,o,!1)}))}expandRegularSegmentAgainstRouteUsingRedirect(t,n,r,o,i,s){const{matched:a,consumedSegments:l,lastChild:u,positionalParamSegments:c}=ia(n,o,i);if(!a)return la(n);const d=this.applyRedirectCommands(l,o.redirectTo,c);return o.redirectTo.startsWith("/")?__(d):this.lineralizeSegments(o,d).pipe(Ae(f=>this.expandSegment(t,n,r,f.concat(i.slice(u)),s,!1)))}matchSegmentAgainstRoute(t,n,r,o,i){if("**"===r.path)return r.loadChildren?(r._loadedConfig?k(r._loadedConfig):this.configLoader.load(t.injector,r)).pipe(Q(f=>(r._loadedConfig=f,new G(o,{})))):k(new G(o,{}));const{matched:s,consumedSegments:a,lastChild:l}=ia(n,r,o);if(!s)return la(n);const u=o.slice(l);return this.getChildConfig(t,r,o).pipe(Ae(d=>{const f=d.module,h=d.routes,{segmentGroup:p,slicedSegments:m}=sa(n,a,u,h),y=new G(p.segments,p.children);if(0===m.length&&y.hasChildren())return this.expandChildren(f,h,y).pipe(Q(I=>new G(a,I)));if(0===h.length&&0===m.length)return k(new G(a,{}));const v=Et(r)===i;return this.expandSegment(f,y,h,m,v?U:i,!0).pipe(Q(E=>new G(a.concat(E.segments),E.children)))}))}getChildConfig(t,n,r){return n.children?k(new Hc(n.children,t)):n.loadChildren?void 0!==n._loadedConfig?k(n._loadedConfig):this.runCanLoadGuards(t.injector,n,r).pipe(Ae(o=>o?this.configLoader.load(t.injector,n).pipe(Q(i=>(n._loadedConfig=i,i))):function UN(e){return new se(t=>t.error(Rc(`Cannot load children because the guard of the route "path: '${e.path}'" returned false`)))}(n))):k(new Hc([],t))}runCanLoadGuards(t,n,r){const o=n.canLoad;return o&&0!==o.length?k(o.map(s=>{const a=t.get(s);let l;if(function TN(e){return e&&On(e.canLoad)}(a))l=a.canLoad(n,r);else{if(!On(a))throw new Error("Invalid CanLoad guard");l=a(n,r)}return en(l)})).pipe(pi(),dt(s=>{if(!rr(s))return;const a=Rc(`Redirecting to "${this.urlSerializer.serialize(s)}"`);throw a.url=s,a}),Q(s=>!0===s)):k(!0)}lineralizeSegments(t,n){let r=[],o=n.root;for(;;){if(r=r.concat(o.segments),0===o.numberOfChildren)return k(r);if(o.numberOfChildren>1||!o.children[U])return HN(t.redirectTo);o=o.children[U]}}applyRedirectCommands(t,n,r){return this.applyRedirectCreatreUrlTree(n,this.urlSerializer.parse(n),t,r)}applyRedirectCreatreUrlTree(t,n,r,o){const i=this.createSegmentGroup(t,n.root,r,o);return new tr(i,this.createQueryParams(n.queryParams,this.urlTree.queryParams),n.fragment)}createQueryParams(t,n){const r={};return Fe(t,(o,i)=>{if("string"==typeof o&&o.startsWith(":")){const a=o.substring(1);r[i]=n[a]}else r[i]=o}),r}createSegmentGroup(t,n,r,o){const i=this.createSegments(t,n.segments,r,o);let s={};return Fe(n.children,(a,l)=>{s[l]=this.createSegmentGroup(t,a,r,o)}),new G(i,s)}createSegments(t,n,r,o){return n.map(i=>i.path.startsWith(":")?this.findPosParam(t,i,o):this.findOrReturn(i,r))}findPosParam(t,n,r){const o=r[n.path.substring(1)];if(!o)throw new Error(`Cannot redirect to '${t}'. Cannot find '${n.path}'.`);return o}findOrReturn(t,n){let r=0;for(const o of n){if(o.path===t.path)return n.splice(r),o;r++}return t}}function Gc(e){const t={};for(const r of Object.keys(e.children)){const i=Gc(e.children[r]);(i.segments.length>0||i.hasChildren())&&(t[r]=i)}return function qN(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 D_{constructor(t){this.path=t,this.route=this.path[this.path.length-1]}}class ua{constructor(t,n){this.component=t,this.route=n}}function WN(e,t,n){const r=e._root;return yi(r,t?t._root:null,n,[r.value])}function ca(e,t,n){const r=function ZN(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 yi(e,t,n,r,o={canDeactivateChecks:[],canActivateChecks:[]}){const i=so(t);return e.children.forEach(s=>{(function KN(e,t,n,r,o={canDeactivateChecks:[],canActivateChecks:[]}){const i=e.value,s=t?t.value:null,a=n?n.getContext(e.value.outlet):null;if(s&&i.routeConfig===s.routeConfig){const l=function JN(e,t,n){if("function"==typeof n)return n(e,t);switch(n){case"pathParamsChange":return!nr(e.url,t.url);case"pathParamsOrQueryParamsChange":return!nr(e.url,t.url)||!Xt(e.queryParams,t.queryParams);case"always":return!0;case"paramsOrQueryParamsChange":return!Vc(e,t)||!Xt(e.queryParams,t.queryParams);default:return!Vc(e,t)}}(s,i,i.routeConfig.runGuardsAndResolvers);l?o.canActivateChecks.push(new D_(r)):(i.data=s.data,i._resolvedData=s._resolvedData),yi(e,t,i.component?a?a.children:null:n,r,o),l&&a&&a.outlet&&a.outlet.isActivated&&o.canDeactivateChecks.push(new ua(a.outlet.component,s))}else s&&vi(t,a,o),o.canActivateChecks.push(new D_(r)),yi(e,null,i.component?a?a.children:null:n,r,o)})(s,i[s.value.outlet],n,r.concat([s.value]),o),delete i[s.value.outlet]}),Fe(i,(s,a)=>vi(s,n.getContext(a),o)),o}function vi(e,t,n){const r=so(e),o=e.value;Fe(r,(i,s)=>{vi(i,o.component?t?t.children.getContext(s):null:t,n)}),n.canDeactivateChecks.push(new ua(o.component&&t&&t.outlet&&t.outlet.isActivated?t.outlet.component:null,o))}class sF{}function C_(e){return new se(t=>t.error(e))}class lF{constructor(t,n,r,o,i,s){this.rootComponentType=t,this.config=n,this.urlTree=r,this.url=o,this.paramsInheritanceStrategy=i,this.relativeLinkResolution=s}recognize(){const t=sa(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 na([],Object.freeze({}),Object.freeze(Object.assign({},this.urlTree.queryParams)),this.urlTree.fragment,{},U,this.rootComponentType,null,this.urlTree.root,-1,{}),o=new _n(r,n),i=new i_(this.url,o);return this.inheritParamsAndData(i._root),i}inheritParamsAndData(t){const n=t.value,r=o_(n,this.paramsInheritanceStrategy);n.params=Object.freeze(r.params),n.data=Object.freeze(r.data),t.children.forEach(o=>this.inheritParamsAndData(o))}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 i of Object.keys(n.children)){const s=n.children[i],a=p_(t,i),l=this.processSegmentGroup(a,s,i);if(null===l)return null;r.push(...l)}const o=w_(r);return function uF(e){e.sort((t,n)=>t.value.outlet===U?-1:n.value.outlet===U?1:t.value.outlet.localeCompare(n.value.outlet))}(o),o}processSegment(t,n,r,o){for(const i of t){const s=this.processSegmentAgainstRoute(i,n,r,o);if(null!==s)return s}return y_(n,r,o)?[]:null}processSegmentAgainstRoute(t,n,r,o){if(t.redirectTo||!m_(t,n,r,o))return null;let i,s=[],a=[];if("**"===t.path){const h=r.length>0?Gv(r).parameters:{};i=new na(r,h,Object.freeze(Object.assign({},this.urlTree.queryParams)),this.urlTree.fragment,M_(t),Et(t),t.component,t,E_(n),b_(n)+r.length,S_(t))}else{const h=ia(n,t,r);if(!h.matched)return null;s=h.consumedSegments,a=r.slice(h.lastChild),i=new na(s,h.parameters,Object.freeze(Object.assign({},this.urlTree.queryParams)),this.urlTree.fragment,M_(t),Et(t),t.component,t,E_(n),b_(n)+s.length,S_(t))}const l=function cF(e){return e.children?e.children:e.loadChildren?e._loadedConfig.routes:[]}(t),{segmentGroup:u,slicedSegments:c}=sa(n,s,a,l.filter(h=>void 0===h.redirectTo),this.relativeLinkResolution);if(0===c.length&&u.hasChildren()){const h=this.processChildren(l,u);return null===h?null:[new _n(i,h)]}if(0===l.length&&0===c.length)return[new _n(i,[])];const d=Et(t)===o,f=this.processSegment(l,u,c,d?U:o);return null===f?null:[new _n(i,f)]}}function dF(e){const t=e.value.routeConfig;return t&&""===t.path&&void 0===t.redirectTo}function w_(e){const t=[],n=new Set;for(const r of e){if(!dF(r)){t.push(r);continue}const o=t.find(i=>r.value.routeConfig===i.value.routeConfig);void 0!==o?(o.children.push(...r.children),n.add(o)):t.push(r)}for(const r of n){const o=w_(r.children);t.push(new _n(r.value,o))}return t.filter(r=>!n.has(r))}function E_(e){let t=e;for(;t._sourceSegment;)t=t._sourceSegment;return t}function b_(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 M_(e){return e.data||{}}function S_(e){return e.resolve||{}}function qc(e){return Xn(t=>{const n=e(t);return n?Ie(n).pipe(Q(()=>t)):k(t)})}class _F extends class vF{shouldDetach(t){return!1}store(t,n){}shouldAttach(t){return!1}retrieve(t){return null}shouldReuseRoute(t,n){return t.routeConfig===n.routeConfig}}{}const zc=new j("ROUTES");class A_{constructor(t,n,r,o){this.injector=t,this.compiler=n,this.onLoadStartListener=r,this.onLoadEndListener=o}load(t,n){if(n._loader$)return n._loader$;this.onLoadStartListener&&this.onLoadStartListener(n);const o=this.loadModuleFactory(n.loadChildren).pipe(Q(i=>{this.onLoadEndListener&&this.onLoadEndListener(n);const s=i.create(t);return new Hc($v(s.injector.get(zc,void 0,O.Self|O.Optional)).map($c),s)}),Fn(i=>{throw n._loader$=void 0,i}));return n._loader$=new RR(o,()=>new nn).pipe(Fv()),n._loader$}loadModuleFactory(t){return en(t()).pipe(Ae(n=>n instanceof jm?k(n):Ie(this.compiler.compileModuleAsync(n))))}}class CF{shouldProcessUrl(t){return!0}extract(t){return t}merge(t,n){return t}}function wF(e){throw e}function EF(e,t,n){return t.parse("/")}function I_(e,t){return k(null)}const bF={paths:"exact",fragment:"ignored",matrixParams:"ignored",queryParams:"exact"},MF={paths:"subset",fragment:"ignored",matrixParams:"ignored",queryParams:"subset"};let Oe=(()=>{class e{constructor(n,r,o,i,s,a,l){this.rootComponentType=n,this.urlSerializer=r,this.rootContexts=o,this.location=i,this.config=l,this.lastSuccessfulNavigation=null,this.currentNavigation=null,this.disposed=!1,this.navigationId=0,this.currentPageId=0,this.isNgZoneEnabled=!1,this.events=new nn,this.errorHandler=wF,this.malformedUriErrorHandler=EF,this.navigated=!1,this.lastSuccessfulId=-1,this.hooks={beforePreactivation:I_,afterPreactivation:I_},this.urlHandlingStrategy=new CF,this.routeReuseStrategy=new _F,this.onSameUrlNavigation="ignore",this.paramsInheritanceStrategy="emptyOnly",this.urlUpdateStrategy="deferred",this.relativeLinkResolution="corrected",this.canceledNavigationResolution="replace",this.ngModule=s.get(pn),this.console=s.get(wy);const d=s.get(be);this.isNgZoneEnabled=d instanceof be&&be.isInAngularZone(),this.resetConfig(l),this.currentUrlTree=function JR(){return new tr(new G([],{}),{},null)}(),this.rawUrlTree=this.currentUrlTree,this.browserUrlTree=this.currentUrlTree,this.configLoader=new A_(s,a,f=>this.triggerEvent(new Lv(f)),f=>this.triggerEvent(new jv(f))),this.routerState=r_(this.currentUrlTree,this.rootComponentType),this.transitions=new Lt({id:0,targetPageId:0,currentUrlTree:this.currentUrlTree,currentRawUrl:this.currentUrlTree,extractedUrl:this.urlHandlingStrategy.extract(this.currentUrlTree),urlAfterRedirects:this.urlHandlingStrategy.extract(this.currentUrlTree),rawUrl:this.currentUrlTree,extras:{},resolve:null,reject:null,promise:Promise.resolve(!0),source:"imperative",restoredState:null,currentSnapshot:this.routerState.snapshot,targetSnapshot:null,currentRouterState:this.routerState,targetRouterState:null,guards:{canActivateChecks:[],canDeactivateChecks:[]},guardsResult:null}),this.navigations=this.setupNavigations(this.transitions),this.processNavigations()}get browserPageId(){var n;return null===(n=this.location.getState())||void 0===n?void 0:n.\u0275routerPageId}setupNavigations(n){const r=this.events;return n.pipe(er(o=>0!==o.id),Q(o=>Object.assign(Object.assign({},o),{extractedUrl:this.urlHandlingStrategy.extract(o.rawUrl)})),Xn(o=>{let i=!1,s=!1;return k(o).pipe(dt(a=>{this.currentNavigation={id:a.id,initialUrl:a.currentRawUrl,extractedUrl:a.extractedUrl,trigger:a.source,extras:a.extras,previousNavigation:this.lastSuccessfulNavigation?Object.assign(Object.assign({},this.lastSuccessfulNavigation),{previousNavigation:null}):null}}),Xn(a=>{const l=this.browserUrlTree.toString(),u=!this.navigated||a.extractedUrl.toString()!==l||l!==this.currentUrlTree.toString();if(("reload"===this.onSameUrlNavigation||u)&&this.urlHandlingStrategy.shouldProcessUrl(a.rawUrl))return da(a.source)&&(this.browserUrlTree=a.extractedUrl),k(a).pipe(Xn(d=>{const f=this.transitions.getValue();return r.next(new xc(d.id,this.serializeUrl(d.extractedUrl),d.source,d.restoredState)),f!==this.transitions.getValue()?on:Promise.resolve(d)}),function zN(e,t,n,r){return Xn(o=>function $N(e,t,n,r,o){return new GN(e,t,n,r,o).apply()}(e,t,n,o.extractedUrl,r).pipe(Q(i=>Object.assign(Object.assign({},o),{urlAfterRedirects:i}))))}(this.ngModule.injector,this.configLoader,this.urlSerializer,this.config),dt(d=>{this.currentNavigation=Object.assign(Object.assign({},this.currentNavigation),{finalUrl:d.urlAfterRedirects})}),function fF(e,t,n,r,o){return Ae(i=>function aF(e,t,n,r,o="emptyOnly",i="legacy"){try{const s=new lF(e,t,n,r,o,i).recognize();return null===s?C_(new sF):k(s)}catch(s){return C_(s)}}(e,t,i.urlAfterRedirects,n(i.urlAfterRedirects),r,o).pipe(Q(s=>Object.assign(Object.assign({},i),{targetSnapshot:s}))))}(this.rootComponentType,this.config,d=>this.serializeUrl(d),this.paramsInheritanceStrategy,this.relativeLinkResolution),dt(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 LR(d.id,this.serializeUrl(d.extractedUrl),this.serializeUrl(d.urlAfterRedirects),d.targetSnapshot);r.next(f)}));if(u&&this.rawUrlTree&&this.urlHandlingStrategy.shouldProcessUrl(this.rawUrlTree)){const{id:f,extractedUrl:h,source:p,restoredState:m,extras:y}=a,v=new xc(f,this.serializeUrl(h),p,m);r.next(v);const g=r_(h,this.rootComponentType).snapshot;return k(Object.assign(Object.assign({},a),{targetSnapshot:g,urlAfterRedirects:h,extras:Object.assign(Object.assign({},y),{skipLocationChange:!1,replaceUrl:!1})}))}return this.rawUrlTree=a.rawUrl,a.resolve(null),on}),qc(a=>{const{targetSnapshot:l,id:u,extractedUrl:c,rawUrl:d,extras:{skipLocationChange:f,replaceUrl:h}}=a;return this.hooks.beforePreactivation(l,{navigationId:u,appliedUrlTree:c,rawUrlTree:d,skipLocationChange:!!f,replaceUrl:!!h})}),dt(a=>{const l=new jR(a.id,this.serializeUrl(a.extractedUrl),this.serializeUrl(a.urlAfterRedirects),a.targetSnapshot);this.triggerEvent(l)}),Q(a=>Object.assign(Object.assign({},a),{guards:WN(a.targetSnapshot,a.currentSnapshot,this.rootContexts)})),function YN(e,t){return Ae(n=>{const{targetSnapshot:r,currentSnapshot:o,guards:{canActivateChecks:i,canDeactivateChecks:s}}=n;return 0===s.length&&0===i.length?k(Object.assign(Object.assign({},n),{guardsResult:!0})):function XN(e,t,n,r){return Ie(e).pipe(Ae(o=>function iF(e,t,n,r,o){const i=t&&t.routeConfig?t.routeConfig.canDeactivate:null;return i&&0!==i.length?k(i.map(a=>{const l=ca(a,t,o);let u;if(function NN(e){return e&&On(e.canDeactivate)}(l))u=en(l.canDeactivate(e,t,n,r));else{if(!On(l))throw new Error("Invalid CanDeactivate guard");u=en(l(e,t,n,r))}return u.pipe(oo())})).pipe(pi()):k(!0)}(o.component,o.route,n,t,r)),oo(o=>!0!==o,!0))}(s,r,o,e).pipe(Ae(a=>a&&function IN(e){return"boolean"==typeof e}(a)?function eF(e,t,n,r){return Ie(t).pipe(ro(o=>Ic(function nF(e,t){return null!==e&&t&&t(new $R(e)),k(!0)}(o.route.parent,r),function tF(e,t){return null!==e&&t&&t(new qR(e)),k(!0)}(o.route,r),function oF(e,t,n){const r=t[t.length-1],i=t.slice(0,t.length-1).reverse().map(s=>function QN(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=>Nv(()=>k(s.guards.map(l=>{const u=ca(l,s.node,n);let c;if(function RN(e){return e&&On(e.canActivateChild)}(u))c=en(u.canActivateChild(r,e));else{if(!On(u))throw new Error("Invalid CanActivateChild guard");c=en(u(r,e))}return c.pipe(oo())})).pipe(pi())));return k(i).pipe(pi())}(e,o.path,n),function rF(e,t,n){const r=t.routeConfig?t.routeConfig.canActivate:null;if(!r||0===r.length)return k(!0);const o=r.map(i=>Nv(()=>{const s=ca(i,t,n);let a;if(function xN(e){return e&&On(e.canActivate)}(s))a=en(s.canActivate(t,e));else{if(!On(s))throw new Error("Invalid CanActivate guard");a=en(s(t,e))}return a.pipe(oo())}));return k(o).pipe(pi())}(e,o.route,n))),oo(o=>!0!==o,!0))}(r,i,e,t):k(a)),Q(a=>Object.assign(Object.assign({},n),{guardsResult:a})))})}(this.ngModule.injector,a=>this.triggerEvent(a)),dt(a=>{if(rr(a.guardsResult)){const u=Rc(`Redirecting to "${this.serializeUrl(a.guardsResult)}"`);throw u.url=a.guardsResult,u}const l=new BR(a.id,this.serializeUrl(a.extractedUrl),this.serializeUrl(a.urlAfterRedirects),a.targetSnapshot,!!a.guardsResult);this.triggerEvent(l)}),er(a=>!!a.guardsResult||(this.restoreHistory(a),this.cancelNavigationTransition(a,""),!1)),qc(a=>{if(a.guards.canActivateChecks.length)return k(a).pipe(dt(l=>{const u=new HR(l.id,this.serializeUrl(l.extractedUrl),this.serializeUrl(l.urlAfterRedirects),l.targetSnapshot);this.triggerEvent(u)}),Xn(l=>{let u=!1;return k(l).pipe(function hF(e,t){return Ae(n=>{const{targetSnapshot:r,guards:{canActivateChecks:o}}=n;if(!o.length)return k(n);let i=0;return Ie(o).pipe(ro(s=>function pF(e,t,n,r){return function gF(e,t,n,r){const o=Object.keys(e);if(0===o.length)return k({});const i={};return Ie(o).pipe(Ae(s=>function mF(e,t,n,r){const o=ca(e,t,r);return en(o.resolve?o.resolve(t,n):o(t,n))}(e[s],t,n,r).pipe(dt(a=>{i[s]=a}))),Tc(1),Ae(()=>Object.keys(i).length===o.length?k(i):on))}(e._resolve,e,t,r).pipe(Q(i=>(e._resolvedData=i,e.data=Object.assign(Object.assign({},e.data),o_(e,n).resolve),null)))}(s.route,r,e,t)),dt(()=>i++),Tc(1),Ae(s=>i===o.length?k(n):on))})}(this.paramsInheritanceStrategy,this.ngModule.injector),dt({next:()=>u=!0,complete:()=>{u||(this.restoreHistory(l),this.cancelNavigationTransition(l,"At least one route resolver didn't emit any value."))}}))}),dt(l=>{const u=new UR(l.id,this.serializeUrl(l.extractedUrl),this.serializeUrl(l.urlAfterRedirects),l.targetSnapshot);this.triggerEvent(u)}))}),qc(a=>{const{targetSnapshot:l,id:u,extractedUrl:c,rawUrl:d,extras:{skipLocationChange:f,replaceUrl:h}}=a;return this.hooks.afterPreactivation(l,{navigationId:u,appliedUrlTree:c,rawUrlTree:d,skipLocationChange:!!f,replaceUrl:!!h})}),Q(a=>{const l=function gN(e,t,n){const r=di(e,t._root,n?n._root:void 0);return new n_(r,t)}(this.routeReuseStrategy,a.targetSnapshot,a.currentRouterState);return Object.assign(Object.assign({},a),{targetRouterState:l})}),dt(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)=>Q(r=>(new SN(t,r.targetRouterState,r.currentRouterState,n).activate(e),r)))(this.rootContexts,this.routeReuseStrategy,a=>this.triggerEvent(a)),dt({next(){i=!0},complete(){i=!0}}),function kR(e){return xe((t,n)=>{try{t.subscribe(n)}finally{n.add(e)}})}(()=>{var a;i||s||this.cancelNavigationTransition(o,`Navigation ID ${o.id} is not equal to the current navigation id ${this.navigationId}`),(null===(a=this.currentNavigation)||void 0===a?void 0:a.id)===o.id&&(this.currentNavigation=null)}),Fn(a=>{if(s=!0,function QR(e){return e&&e[Hv]}(a)){const l=rr(a.url);l||(this.navigated=!0,this.restoreHistory(o,!0));const u=new Vv(o.id,this.serializeUrl(o.extractedUrl),a.message);r.next(u),l?setTimeout(()=>{const c=this.urlHandlingStrategy.merge(a.url,this.rawUrlTree),d={skipLocationChange:o.extras.skipLocationChange,replaceUrl:"eager"===this.urlUpdateStrategy||da(o.source)};this.scheduleNavigation(c,"imperative",null,d,{resolve:o.resolve,reject:o.reject,promise:o.promise})},0):o.resolve(!1)}else{this.restoreHistory(o,!0);const l=new VR(o.id,this.serializeUrl(o.extractedUrl),a);r.next(l);try{o.resolve(this.errorHandler(a))}catch(u){o.reject(u)}}return on}))}))}resetRootComponentType(n){this.rootComponentType=n,this.routerState.root.component=this.rootComponentType}setTransition(n){this.transitions.next(Object.assign(Object.assign({},this.transitions.value),n))}initialNavigation(){this.setUpLocationChangeListener(),0===this.navigationId&&this.navigateByUrl(this.location.path(!0),{replaceUrl:!0})}setUpLocationChangeListener(){this.locationSubscription||(this.locationSubscription=this.location.subscribe(n=>{const r="popstate"===n.type?"popstate":"hashchange";"popstate"===r&&setTimeout(()=>{var o;const i={replaceUrl:!0},s=(null===(o=n.state)||void 0===o?void 0:o.navigationId)?n.state:null;if(s){const l=Object.assign({},s);delete l.navigationId,delete l.\u0275routerPageId,0!==Object.keys(l).length&&(i.state=l)}const a=this.parseUrl(n.url);this.scheduleNavigation(a,r,s,i)},0)}))}get url(){return this.serializeUrl(this.currentUrlTree)}getCurrentNavigation(){return this.currentNavigation}triggerEvent(n){this.events.next(n)}resetConfig(n){h_(n),this.config=n.map($c),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:o,queryParams:i,fragment:s,queryParamsHandling:a,preserveFragment:l}=r,u=o||this.routerState.root,c=l?this.currentUrlTree.fragment:s;let d=null;switch(a){case"merge":d=Object.assign(Object.assign({},this.currentUrlTree.queryParams),i);break;case"preserve":d=this.currentUrlTree.queryParams;break;default:d=i||null}return null!==d&&(d=this.removeEmptyProps(d)),function vN(e,t,n,r,o){if(0===n.length)return Lc(t.root,t.root,t,r,o);const i=function _N(e){if("string"==typeof e[0]&&1===e.length&&"/"===e[0])return new l_(!0,0,e);let t=0,n=!1;const r=e.reduce((o,i,s)=>{if("object"==typeof i&&null!=i){if(i.outlets){const a={};return Fe(i.outlets,(l,u)=>{a[u]="string"==typeof l?l.split("/"):l}),[...o,{outlets:a}]}if(i.segmentPath)return[...o,i.segmentPath]}return"string"!=typeof i?[...o,i]:0===s?(i.split("/").forEach((a,l)=>{0==l&&"."===a||(0==l&&""===a?n=!0:".."===a?t++:""!=a&&o.push(a))}),o):[...o,i]},[]);return new l_(n,t,r)}(n);if(i.toRoot())return Lc(t.root,new G([],{}),t,r,o);const s=function DN(e,t,n){if(e.isAbsolute)return new jc(t.root,!0,0);if(-1===n.snapshot._lastPathIndex){const i=n.snapshot._urlSegment;return new jc(i,i===t.root,0)}const r=ra(e.commands[0])?0:1;return function CN(e,t,n){let r=e,o=t,i=n;for(;i>o;){if(i-=o,r=r.parent,!r)throw new Error("Invalid number of '../'");o=r.segments.length}return new jc(r,!1,o-i)}(n.snapshot._urlSegment,n.snapshot._lastPathIndex+r,e.numberOfDoubleDots)}(i,t,e),a=s.processChildren?oa(s.segmentGroup,s.index,i.commands):u_(s.segmentGroup,s.index,i.commands);return Lc(s.segmentGroup,a,t,r,o)}(u,this.currentUrlTree,n,d,null!=c?c:null)}navigateByUrl(n,r={skipLocationChange:!1}){const o=rr(n)?n:this.parseUrl(n),i=this.urlHandlingStrategy.merge(o,this.rawUrlTree);return this.scheduleNavigation(i,"imperative",null,r)}navigate(n,r={skipLocationChange:!1}){return function SF(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(o){r=this.malformedUriErrorHandler(o,this.urlSerializer,n)}return r}isActive(n,r){let o;if(o=!0===r?Object.assign({},bF):!1===r?Object.assign({},MF):r,rr(n))return zv(this.currentUrlTree,n,o);const i=this.parseUrl(n);return zv(this.currentUrlTree,i,o)}removeEmptyProps(n){return Object.keys(n).reduce((r,o)=>{const i=n[o];return null!=i&&(r[o]=i),r},{})}processNavigations(){this.navigations.subscribe(n=>{this.navigated=!0,this.lastSuccessfulId=n.id,this.currentPageId=n.targetPageId,this.events.next(new li(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,o,i,s){var a,l,u;if(this.disposed)return Promise.resolve(!1);const c=this.transitions.value,d=da(r)&&c&&!da(c.source),f=c.rawUrl.toString()===n.toString(),h=c.id===(null===(a=this.currentNavigation)||void 0===a?void 0:a.id);if(d&&f&&h)return Promise.resolve(!0);let m,y,v;s?(m=s.resolve,y=s.reject,v=s.promise):v=new Promise((I,q)=>{m=I,y=q});const g=++this.navigationId;let E;return"computed"===this.canceledNavigationResolution?(0===this.currentPageId&&(o=this.location.getState()),E=o&&o.\u0275routerPageId?o.\u0275routerPageId:i.replaceUrl||i.skipLocationChange?null!==(l=this.browserPageId)&&void 0!==l?l:0:(null!==(u=this.browserPageId)&&void 0!==u?u:0)+1):E=0,this.setTransition({id:g,targetPageId:E,source:r,restoredState:o,currentUrlTree:this.currentUrlTree,currentRawUrl:this.rawUrlTree,rawUrl:n,extras:i,resolve:m,reject:y,promise:v,currentSnapshot:this.routerState.snapshot,currentRouterState:this.routerState}),v.catch(I=>Promise.reject(I))}setBrowserUrl(n,r){const o=this.urlSerializer.serialize(n),i=Object.assign(Object.assign({},r.extras.state),this.generateNgRouterState(r.id,r.targetPageId));this.location.isCurrentPathEqualTo(o)||r.extras.replaceUrl?this.location.replaceState(o,"",i):this.location.go(o,"",i)}restoreHistory(n,r=!1){var o,i;if("computed"===this.canceledNavigationResolution){const s=this.currentPageId-n.targetPageId;"popstate"!==n.source&&"eager"!==this.urlUpdateStrategy&&this.currentUrlTree!==(null===(o=this.currentNavigation)||void 0===o?void 0:o.finalUrl)||0===s?this.currentUrlTree===(null===(i=this.currentNavigation)||void 0===i?void 0:i.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 o=new Vv(n.id,this.serializeUrl(n.extractedUrl),r);this.triggerEvent(o),n.resolve(!1)}generateNgRouterState(n,r){return"computed"===this.canceledNavigationResolution?{navigationId:n,\u0275routerPageId:r}:{navigationId:n}}}return e.\u0275fac=function(n){yu()},e.\u0275prov=P({token:e,factory:e.\u0275fac}),e})();function da(e){return"imperative"!==e}let fa=(()=>{class e{constructor(n,r,o){this.router=n,this.route=r,this.locationStrategy=o,this.commands=null,this.href=null,this.onChanges=new nn,this.subscription=n.events.subscribe(i=>{i instanceof li&&this.updateTargetUrlAndHref()})}set routerLink(n){this.commands=null!=n?Array.isArray(n)?n:[n]:null}ngOnChanges(n){this.updateTargetUrlAndHref(),this.onChanges.next(this)}ngOnDestroy(){this.subscription.unsubscribe()}onClick(n,r,o,i,s){if(0!==n||r||o||i||s||"string"==typeof this.target&&"_self"!=this.target||null===this.urlTree)return!0;const a={skipLocationChange:lo(this.skipLocationChange),replaceUrl:lo(this.replaceUrl),state:this.state};return this.router.navigateByUrl(this.urlTree,a),!1}updateTargetUrlAndHref(){this.href=null!==this.urlTree?this.locationStrategy.prepareExternalUrl(this.router.serializeUrl(this.urlTree)):null}get urlTree(){return null===this.commands?null:this.router.createUrlTree(this.commands,{relativeTo:void 0!==this.relativeTo?this.relativeTo:this.route,queryParams:this.queryParams,fragment:this.fragment,queryParamsHandling:this.queryParamsHandling,preserveFragment:lo(this.preserveFragment)})}}return e.\u0275fac=function(n){return new(n||e)(D(Oe),D(ao),D(no))},e.\u0275dir=T({type:e,selectors:[["a","routerLink",""],["area","routerLink",""]],hostVars:2,hostBindings:function(n,r){1&n&&je("click",function(i){return r.onClick(i.button,i.ctrlKey,i.shiftKey,i.altKey,i.metaKey)}),2&n&&Zt("target",r.target)("href",r.href,Mr)},inputs:{target:"target",queryParams:"queryParams",fragment:"fragment",queryParamsHandling:"queryParamsHandling",preserveFragment:"preserveFragment",skipLocationChange:"skipLocationChange",replaceUrl:"replaceUrl",state:"state",relativeTo:"relativeTo",routerLink:"routerLink"},features:[it]}),e})();function lo(e){return""===e||!!e}class T_{}class x_{preload(t,n){return k(null)}}let R_=(()=>{class e{constructor(n,r,o,i){this.router=n,this.injector=o,this.preloadingStrategy=i,this.loader=new A_(o,r,l=>n.triggerEvent(new Lv(l)),l=>n.triggerEvent(new jv(l)))}setUpPreloading(){this.subscription=this.router.events.pipe(er(n=>n instanceof li),ro(()=>this.preload())).subscribe(()=>{})}preload(){const n=this.injector.get(pn);return this.processRoutes(n,this.router.config)}ngOnDestroy(){this.subscription&&this.subscription.unsubscribe()}processRoutes(n,r){const o=[];for(const i of r)if(i.loadChildren&&!i.canLoad&&i._loadedConfig){const s=i._loadedConfig;o.push(this.processRoutes(s.module,s.routes))}else i.loadChildren&&!i.canLoad?o.push(this.preloadConfig(n,i)):i.children&&o.push(this.processRoutes(n,i.children));return Ie(o).pipe(ho(),Q(i=>{}))}preloadConfig(n,r){return this.preloadingStrategy.preload(r,()=>(r._loadedConfig?k(r._loadedConfig):this.loader.load(n.injector,r)).pipe(Ae(i=>(r._loadedConfig=i,this.processRoutes(i.module,i.routes)))))}}return e.\u0275fac=function(n){return new(n||e)(b(Oe),b(Fs),b(Re),b(T_))},e.\u0275prov=P({token:e,factory:e.\u0275fac}),e})(),Qc=(()=>{class e{constructor(n,r,o={}){this.router=n,this.viewportScroller=r,this.options=o,this.lastId=0,this.lastSource="imperative",this.restoredId=0,this.store={},o.scrollPositionRestoration=o.scrollPositionRestoration||"disabled",o.anchorScrolling=o.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 xc?(this.store[this.lastId]=this.viewportScroller.getScrollPosition(),this.lastSource=n.navigationTrigger,this.restoredId=n.restoredState?n.restoredState.navigationId:0):n instanceof li&&(this.lastId=n.id,this.scheduleScrollEvent(n,this.router.parseUrl(n.urlAfterRedirects).fragment))})}consumeScrollEvents(){return this.router.events.subscribe(n=>{n instanceof Bv&&(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 Bv(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){yu()},e.\u0275prov=P({token:e,factory:e.\u0275fac}),e})();const or=new j("ROUTER_CONFIGURATION"),N_=new j("ROUTER_FORROOT_GUARD"),xF=[lc,{provide:Kv,useClass:Jv},{provide:Oe,useFactory:function PF(e,t,n,r,o,i,s={},a,l){const u=new Oe(null,e,t,n,r,o,$v(i));return a&&(u.urlHandlingStrategy=a),l&&(u.routeReuseStrategy=l),function kF(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,u),s.enableTracing&&u.events.subscribe(c=>{var d,f;null===(d=console.group)||void 0===d||d.call(console,`Router Event: ${c.constructor.name}`),console.log(c.toString()),console.log(c),null===(f=console.groupEnd)||void 0===f||f.call(console)}),u},deps:[Kv,gi,lc,Re,Fs,zc,or,[class DF{},new Gt],[class yF{},new Gt]]},gi,{provide:ao,useFactory:function VF(e){return e.routerState.root},deps:[Oe]},R_,x_,class TF{preload(t,n){return n().pipe(Fn(()=>k(null)))}},{provide:or,useValue:{enableTracing:!1}}];function RF(){return new Iy("Router",Oe)}let F_=(()=>{class e{constructor(n,r){}static forRoot(n,r){return{ngModule:e,providers:[xF,O_(n),{provide:N_,useFactory:OF,deps:[[Oe,new Gt,new wr]]},{provide:or,useValue:r||{}},{provide:no,useFactory:FF,deps:[Yn,[new Ro(ac),new Gt],or]},{provide:Qc,useFactory:NF,deps:[Oe,Vx,or]},{provide:T_,useExisting:r&&r.preloadingStrategy?r.preloadingStrategy:x_},{provide:Iy,multi:!0,useFactory:RF},[Zc,{provide:Rs,multi:!0,useFactory:LF,deps:[Zc]},{provide:P_,useFactory:jF,deps:[Zc]},{provide:Cy,multi:!0,useExisting:P_}]]}}static forChild(n){return{ngModule:e,providers:[O_(n)]}}}return e.\u0275fac=function(n){return new(n||e)(b(N_,8),b(Oe,8))},e.\u0275mod=pt({type:e}),e.\u0275inj=rt({}),e})();function NF(e,t,n){return n.scrollOffset&&t.setOffset(n.scrollOffset),new Qc(e,t,n)}function FF(e,t,n={}){return n.useHash?new vT(e,t):new Ky(e,t)}function OF(e){return"guarded"}function O_(e){return[{provide:Gw,multi:!0,useValue:e},{provide:zc,multi:!0,useValue:e}]}let Zc=(()=>{class e{constructor(n){this.injector=n,this.initNavigation=!1,this.destroyed=!1,this.resultOfPreactivationDone=new nn}appInitializer(){return this.injector.get(gT,Promise.resolve(null)).then(()=>{if(this.destroyed)return Promise.resolve(!0);let r=null;const o=new Promise(a=>r=a),i=this.injector.get(Oe),s=this.injector.get(or);return"disabled"===s.initialNavigation?(i.setUpLocationChangeListener(),r(!0)):"enabled"===s.initialNavigation||"enabledBlocking"===s.initialNavigation?(i.hooks.afterPreactivation=()=>this.initNavigation?k(null):(this.initNavigation=!0,r(!0),this.resultOfPreactivationDone),i.initialNavigation()):r(!0),o})}bootstrapListener(n){const r=this.injector.get(or),o=this.injector.get(R_),i=this.injector.get(Qc),s=this.injector.get(Oe),a=this.injector.get(ni);n===a.components[0]&&(("enabledNonBlocking"===r.initialNavigation||void 0===r.initialNavigation)&&s.initialNavigation(),o.setUpPreloading(),i.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)(b(Re))},e.\u0275prov=P({token:e,factory:e.\u0275fac}),e})();function LF(e){return e.appInitializer.bind(e)}function jF(e){return e.bootstrapListener.bind(e)}const P_=new j("Router Initializer");class HF{constructor(t,n,r,o,i,s,a,l,u,c,d){this.name=t,this.userName=n,this.bio=r,this.avatarUrl=o,this.followers=i,this.following=s,this.star=a,this.location=l,this.socialMedia=u,this.repositories=c,this.repo_url=d}}class k_{}class V_{}class Dn{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 o=n.slice(0,r),i=o.toLowerCase(),s=n.slice(r+1).trim();this.maybeSetNormalizedName(o,i),this.headers.has(i)?this.headers.get(i).push(s):this.headers.set(i,[s])}})}:()=>{this.headers=new Map,Object.keys(t).forEach(n=>{let r=t[n];const o=n.toLowerCase();"string"==typeof r&&(r=[r]),r.length>0&&(this.headers.set(o,r),this.maybeSetNormalizedName(n,o))})}: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 Dn?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 Dn;return n.lazyInit=this.lazyInit&&this.lazyInit instanceof Dn?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 o=("a"===t.op?this.headers.get(n):void 0)||[];o.push(...r),this.headers.set(n,o);break;case"d":const i=t.value;if(i){let s=this.headers.get(n);if(!s)return;s=s.filter(a=>-1===i.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 UF{encodeKey(t){return L_(t)}encodeValue(t){return L_(t)}decodeKey(t){return decodeURIComponent(t)}decodeValue(t){return decodeURIComponent(t)}}const GF=/%(\d[a-f0-9])/gi,qF={40:"@","3A":":",24:"$","2C":",","3B":";","2B":"+","3D":"=","3F":"?","2F":"/"};function L_(e){return encodeURIComponent(e).replace(GF,(t,n)=>{var r;return null!==(r=qF[n])&&void 0!==r?r:t})}function j_(e){return`${e}`}class Pn{constructor(t={}){if(this.updates=null,this.cloneFrom=null,this.encoder=t.encoder||new UF,t.fromString){if(t.fromObject)throw new Error("Cannot specify both fromString and fromObject.");this.map=function $F(e,t){const n=new Map;return e.length>0&&e.replace(/^\?/,"").split("&").forEach(o=>{const i=o.indexOf("="),[s,a]=-1==i?[t.decodeKey(o),""]:[t.decodeKey(o.slice(0,i)),t.decodeValue(o.slice(i+1))],l=n.get(s)||[];l.push(a),n.set(s,l)}),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 o=t[r];Array.isArray(o)?o.forEach(i=>{n.push({param:r,value:i,op:"a"})}):n.push({param:r,value:o,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 Pn({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(j_(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 o=r.indexOf(j_(t.value));-1!==o&&r.splice(o,1),r.length>0?this.map.set(t.param,r):this.map.delete(t.param)}}}),this.cloneFrom=this.updates=null)}}class zF{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}has(t){return this.map.has(t)}keys(){return this.map.keys()}}function B_(e){return"undefined"!=typeof ArrayBuffer&&e instanceof ArrayBuffer}function H_(e){return"undefined"!=typeof Blob&&e instanceof Blob}function U_(e){return"undefined"!=typeof FormData&&e instanceof FormData}class _i{constructor(t,n,r,o){let i;if(this.url=n,this.body=null,this.reportProgress=!1,this.withCredentials=!1,this.responseType="json",this.method=t.toUpperCase(),function WF(e){switch(e){case"DELETE":case"GET":case"HEAD":case"OPTIONS":case"JSONP":return!1;default:return!0}}(this.method)||o?(this.body=void 0!==r?r:null,i=o):i=r,i&&(this.reportProgress=!!i.reportProgress,this.withCredentials=!!i.withCredentials,i.responseType&&(this.responseType=i.responseType),i.headers&&(this.headers=i.headers),i.context&&(this.context=i.context),i.params&&(this.params=i.params)),this.headers||(this.headers=new Dn),this.context||(this.context=new zF),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 Pn,this.urlWithParams=n}serializeBody(){return null===this.body?null:B_(this.body)||H_(this.body)||U_(this.body)||function QF(e){return"undefined"!=typeof URLSearchParams&&e instanceof URLSearchParams}(this.body)||"string"==typeof this.body?this.body:this.body instanceof Pn?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||U_(this.body)?null:H_(this.body)?this.body.type||null:B_(this.body)?null:"string"==typeof this.body?"text/plain":this.body instanceof Pn?"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 n;const r=t.method||this.method,o=t.url||this.url,i=t.responseType||this.responseType,s=void 0!==t.body?t.body:this.body,a=void 0!==t.withCredentials?t.withCredentials:this.withCredentials,l=void 0!==t.reportProgress?t.reportProgress:this.reportProgress;let u=t.headers||this.headers,c=t.params||this.params;const d=null!==(n=t.context)&&void 0!==n?n:this.context;return void 0!==t.setHeaders&&(u=Object.keys(t.setHeaders).reduce((f,h)=>f.set(h,t.setHeaders[h]),u)),t.setParams&&(c=Object.keys(t.setParams).reduce((f,h)=>f.set(h,t.setParams[h]),c)),new _i(r,o,s,{params:c,headers:u,context:d,reportProgress:l,responseType:i,withCredentials:a})}}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 Jc{constructor(t,n=200,r="OK"){this.headers=t.headers||new Dn,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 Yc extends Jc{constructor(t={}){super(t),this.type=De.ResponseHeader}clone(t={}){return new Yc({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 ha extends Jc{constructor(t={}){super(t),this.type=De.Response,this.body=void 0!==t.body?t.body:null}clone(t={}){return new ha({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 $_ extends Jc{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 Xc(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 ed=(()=>{class e{constructor(n){this.handler=n}request(n,r,o={}){let i;if(n instanceof _i)i=n;else{let l,u;l=o.headers instanceof Dn?o.headers:new Dn(o.headers),o.params&&(u=o.params instanceof Pn?o.params:new Pn({fromObject:o.params})),i=new _i(n,r,void 0!==o.body?o.body:null,{headers:l,context:o.context,params:u,reportProgress:o.reportProgress,responseType:o.responseType||"json",withCredentials:o.withCredentials})}const s=k(i).pipe(ro(l=>this.handler.handle(l)));if(n instanceof _i||"events"===o.observe)return s;const a=s.pipe(er(l=>l instanceof ha));switch(o.observe||"body"){case"body":switch(i.responseType){case"arraybuffer":return a.pipe(Q(l=>{if(null!==l.body&&!(l.body instanceof ArrayBuffer))throw new Error("Response is not an ArrayBuffer.");return l.body}));case"blob":return a.pipe(Q(l=>{if(null!==l.body&&!(l.body instanceof Blob))throw new Error("Response is not a Blob.");return l.body}));case"text":return a.pipe(Q(l=>{if(null!==l.body&&"string"!=typeof l.body)throw new Error("Response is not a string.");return l.body}));default:return a.pipe(Q(l=>l.body))}case"response":return a;default:throw new Error(`Unreachable: unhandled observe type ${o.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 Pn).append(r,"JSONP_CALLBACK"),observe:"body",responseType:"json"})}options(n,r={}){return this.request("OPTIONS",n,r)}patch(n,r,o={}){return this.request("PATCH",n,Xc(o,r))}post(n,r,o={}){return this.request("POST",n,Xc(o,r))}put(n,r,o={}){return this.request("PUT",n,Xc(o,r))}}return e.\u0275fac=function(n){return new(n||e)(b(k_))},e.\u0275prov=P({token:e,factory:e.\u0275fac}),e})();class G_{constructor(t,n){this.next=t,this.interceptor=n}handle(t){return this.interceptor.intercept(t,this.next)}}const q_=new j("HTTP_INTERCEPTORS");let ZF=(()=>{class e{intercept(n,r){return r.handle(n)}}return e.\u0275fac=function(n){return new(n||e)},e.\u0275prov=P({token:e,factory:e.\u0275fac}),e})();const KF=/^\)\]\}',?\n/;let z_=(()=>{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 se(r=>{const o=this.xhrFactory.build();if(o.open(n.method,n.urlWithParams),n.withCredentials&&(o.withCredentials=!0),n.headers.forEach((h,p)=>o.setRequestHeader(h,p.join(","))),n.headers.has("Accept")||o.setRequestHeader("Accept","application/json, text/plain, */*"),!n.headers.has("Content-Type")){const h=n.detectContentTypeHeader();null!==h&&o.setRequestHeader("Content-Type",h)}if(n.responseType){const h=n.responseType.toLowerCase();o.responseType="json"!==h?h:"text"}const i=n.serializeBody();let s=null;const a=()=>{if(null!==s)return s;const h=1223===o.status?204:o.status,p=o.statusText||"OK",m=new Dn(o.getAllResponseHeaders()),y=function JF(e){return"responseURL"in e&&e.responseURL?e.responseURL:/^X-Request-URL:/m.test(e.getAllResponseHeaders())?e.getResponseHeader("X-Request-URL"):null}(o)||n.url;return s=new Yc({headers:m,status:h,statusText:p,url:y}),s},l=()=>{let{headers:h,status:p,statusText:m,url:y}=a(),v=null;204!==p&&(v=void 0===o.response?o.responseText:o.response),0===p&&(p=v?200:0);let g=p>=200&&p<300;if("json"===n.responseType&&"string"==typeof v){const E=v;v=v.replace(KF,"");try{v=""!==v?JSON.parse(v):null}catch(I){v=E,g&&(g=!1,v={error:I,text:v})}}g?(r.next(new ha({body:v,headers:h,status:p,statusText:m,url:y||void 0})),r.complete()):r.error(new $_({error:v,headers:h,status:p,statusText:m,url:y||void 0}))},u=h=>{const{url:p}=a(),m=new $_({error:h,status:o.status||0,statusText:o.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&&!!o.responseText&&(p.partialText=o.responseText),r.next(p)},f=h=>{let p={type:De.UploadProgress,loaded:h.loaded};h.lengthComputable&&(p.total=h.total),r.next(p)};return o.addEventListener("load",l),o.addEventListener("error",u),o.addEventListener("timeout",u),o.addEventListener("abort",u),n.reportProgress&&(o.addEventListener("progress",d),null!==i&&o.upload&&o.upload.addEventListener("progress",f)),o.send(i),r.next({type:De.Sent}),()=>{o.removeEventListener("error",u),o.removeEventListener("abort",u),o.removeEventListener("load",l),o.removeEventListener("timeout",u),n.reportProgress&&(o.removeEventListener("progress",d),null!==i&&o.upload&&o.upload.removeEventListener("progress",f)),o.readyState!==o.DONE&&o.abort()}})}}return e.\u0275fac=function(n){return new(n||e)(b(gv))},e.\u0275prov=P({token:e,factory:e.\u0275fac}),e})();const td=new j("XSRF_COOKIE_NAME"),nd=new j("XSRF_HEADER_NAME");class W_{}let YF=(()=>{class e{constructor(n,r,o){this.doc=n,this.platform=r,this.cookieName=o,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=sv(n,this.cookieName),this.lastCookieString=n),this.lastToken}}return e.\u0275fac=function(n){return new(n||e)(b(ct),b(Ns),b(td))},e.\u0275prov=P({token:e,factory:e.\u0275fac}),e})(),rd=(()=>{class e{constructor(n,r){this.tokenService=n,this.headerName=r}intercept(n,r){const o=n.url.toLowerCase();if("GET"===n.method||"HEAD"===n.method||o.startsWith("http://")||o.startsWith("https://"))return r.handle(n);const i=this.tokenService.getToken();return null!==i&&!n.headers.has(this.headerName)&&(n=n.clone({headers:n.headers.set(this.headerName,i)})),r.handle(n)}}return e.\u0275fac=function(n){return new(n||e)(b(W_),b(nd))},e.\u0275prov=P({token:e,factory:e.\u0275fac}),e})(),XF=(()=>{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(q_,[]);this.chain=r.reduceRight((o,i)=>new G_(o,i),this.backend)}return this.chain.handle(n)}}return e.\u0275fac=function(n){return new(n||e)(b(V_),b(Re))},e.\u0275prov=P({token:e,factory:e.\u0275fac}),e})(),eO=(()=>{class e{static disable(){return{ngModule:e,providers:[{provide:rd,useClass:ZF}]}}static withOptions(n={}){return{ngModule:e,providers:[n.cookieName?{provide:td,useValue:n.cookieName}:[],n.headerName?{provide:nd,useValue:n.headerName}:[]]}}}return e.\u0275fac=function(n){return new(n||e)},e.\u0275mod=pt({type:e}),e.\u0275inj=rt({providers:[rd,{provide:q_,useExisting:rd,multi:!0},{provide:W_,useClass:YF},{provide:td,useValue:"XSRF-TOKEN"},{provide:nd,useValue:"X-XSRF-TOKEN"}]}),e})(),tO=(()=>{class e{}return e.\u0275fac=function(n){return new(n||e)},e.\u0275mod=pt({type:e}),e.\u0275inj=rt({providers:[ed,{provide:k_,useClass:XF},z_,{provide:V_,useExisting:z_}],imports:[[eO.withOptions({cookieName:"XSRF-TOKEN",headerName:"X-XSRF-TOKEN"})]]}),e})(),Q_=(()=>{class e{constructor(n,r){this.http=n,this.router=r,this.url="https://api.github.com/users/",this.userProfile=new HF("","","","",0,0,0,"","",0,"")}getSearchResults(n){return new Promise((o,i)=>{this.http.get(this.url+n+"?access_token'=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").toPromise().then(s=>{this.userProfile.userName=s.login,this.userProfile.name=s.name,this.userProfile.bio=s.bio,this.userProfile.followers=s.followers,this.userProfile.following=s.following,this.userProfile.location=s.location,this.userProfile.socialMedia=s.twitter_username,this.userProfile.repositories=s.public_repos,this.userProfile.avatarUrl=s.avatar_url,this.userProfile.repo_url=s.repos_url,console.log(s)},s=>{s.status&&this.router.navigate(["/err"]),i(s)})})}}return e.\u0275fac=function(n){return new(n||e)(b(ed),b(Oe))},e.\u0275prov=P({token:e,factory:e.\u0275fac,providedIn:"root"}),e})();class nO{constructor(t,n,r,o,i,s,a,l){this.name=t,this.repo_link=n,this.created=r,this.cloned_url=o,this.forks=i,this.homepage=s,this.description=a,this.star=l}}let Z_=(()=>{class e{constructor(n,r){this.http=n,this.router=r,this.repoArr=[],this.url="https://api.github.com/users/"}getSearchResults(n){throw new Error("Method not implemented.")}getRepoDetails(n){return new Promise((o,i)=>{this.http.get(this.url+n+"/repos?access_token'=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").toPromise().then(s=>{s.forEach(a=>{this.repo=new nO(a.name,a.html_url,new Date(a.created_at),a.clone_url,a.forks_count,a.homepage,a.description,a.stargazers_count),""!==a.name&&this.repoArr.push(this.repo)}),o(s)},s=>{(s.status=404)&&this.router.navigate(["/err"]),i(s)})})}}return e.\u0275fac=function(n){return new(n||e)(b(ed),b(Oe))},e.\u0275prov=P({token:e,factory:e.\u0275fac,providedIn:"root"}),e})(),rO=(()=>{class e{constructor(){}ngOnInit(){}}return e.\u0275fac=function(n){return new(n||e)},e.\u0275cmp=En({type:e,selectors:[["app-nav"]],decls:8,vars:0,consts:[[1,"container"],[1,"navbar","navbar-light","bg-transparent","mt-3","mb-3","backgro"],[1,"container-fluid","d-flex","justify-content-between"],["routerLink","/Home",1,"navbar-brand","text-color"],[1,"fas","fa-search"],[1,"navbar-brand","text-color","fs-1"],[1,"fab","fa-github"]],template:function(n,r){1&n&&(S(0,"div",0),S(1,"nav",1),S(2,"div",2),S(3,"a",3),ze(4,"i",4),A(),S(5,"a",5),ze(6,"i",6),Ne(7," Github-Search"),A(),A(),A(),A())},directives:[fa],styles:[".container[_ngcontent-%COMP%]{background-color:#000}.text-color[_ngcontent-%COMP%]{color:#5598da}.navbar[_ngcontent-%COMP%]{box-shadow:4px 4px 4px #5c326a}.fab[_ngcontent-%COMP%]{color:#5c326a}"]}),e})(),oO=(()=>{class e{constructor(n){this.el=n}onMouseEnter(){this.highlight("purple")}onMouseLeave(){this.highlight("")}highlight(n){this.el.nativeElement.style.backgroundColor=n}}return e.\u0275fac=function(n){return new(n||e)(D(Xe))},e.\u0275dir=T({type:e,selectors:[["","appHighlight",""]],hostBindings:function(n,r){1&n&&je("mouseenter",function(){return r.onMouseEnter()})("mouseleave",function(){return r.onMouseLeave()})}}),e})(),iO=(()=>{class e{transform(n){let i=((new Date).valueOf()-n.getTime())/1e3;return i<60?`${Math.floor(i)} seconds ago `:i<3600?`${Math.floor(i/60)} minutes ago`:i<86400?`${Math.floor(i/3600)} hours ago`:i<2592e3?`${Math.floor(i/86400)} days ago`:`${Math.floor(i/2592e3)} months ago`}}return e.\u0275fac=function(n){return new(n||e)},e.\u0275pipe=Ue({name:"timeAgo",type:e,pure:!0}),e})();function sO(e,t){if(1&e&&(S(0,"span",16),Ne(1),A()),2&e){const n=qr(2);ie(1),Ft("@",n.userProfile.userName,"")}}function aO(e,t){if(1&e&&(S(0,"span",17),Ne(1),A()),2&e){const n=qr(2);ie(1),Ft("",n.userProfile.followers," Followers")}}function lO(e,t){if(1&e&&(S(0,"span",9),Ne(1),A()),2&e){const n=qr(2);ie(1),Ft(". ",n.userProfile.following," Following")}}function uO(e,t){1&e&&(S(0,"span",18),ze(1,"i",19),A())}function cO(e,t){1&e&&(S(0,"span",18),ze(1,"i",20),A())}function dO(e,t){if(1&e&&(S(0,"div",2),S(1,"div",3),S(2,"div",5),S(3,"div",6),S(4,"span",7),Ne(5),A(),fn(6,sO,2,1,"span",8),S(7,"p",9),Ne(8),A(),S(9,"div"),ze(10,"i",10),fn(11,aO,2,1,"span",11),fn(12,lO,2,1,"span",12),A(),A(),S(13,"div",9),fn(14,uO,2,0,"span",13),Ne(15),A(),S(16,"div",9),fn(17,cO,2,0,"span",13),Ne(18),A(),A(),S(19,"div",14),ze(20,"img",15),A(),A(),A()),2&e){const n=qr();ie(5),Wr(n.userProfile.name),ie(1),Ye("ngIf",n.userProfile.userName),ie(2),Wr(n.userProfile.bio),ie(3),Ye("ngIf",n.userProfile.followers),ie(1),Ye("ngIf",n.userProfile.following),ie(2),Ye("ngIf",n.userProfile.location),ie(1),Ft("",n.userProfile.location," "),ie(2),Ye("ngIf",n.userProfile.socialMedia),ie(1),Ft("",n.userProfile.socialMedia," "),ie(2),Ye("src",n.userProfile.avatarUrl,Mr)}}function fO(e,t){if(1&e&&(S(0,"span"),S(1,"a",23),ze(2,"i",28),A(),A()),2&e){const n=qr().$implicit;ie(1),Ye("href",n.homepage,Mr)}}function hO(e,t){if(1&e&&(S(0,"div",21),S(1,"div",22),S(2,"h2",16),S(3,"a",23),Ne(4),A(),A(),S(5,"p"),Ne(6),A(),S(7,"div",24),S(8,"span"),ze(9,"i",25),Ne(10),A(),S(11,"span"),ze(12,"i",26),Ne(13),A(),fn(14,fO,3,1,"span",27),S(15,"span"),S(16,"span",16),Ne(17,"Updated:"),A(),Ne(18),function Qm(e,t){const n=W();let r;const o=e+20;n.firstCreatePass?(r=function VA(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[o]=r,r.onDestroy&&(n.destroyHooks||(n.destroyHooks=[])).push(o,r.onDestroy)):r=n.data[o];const i=r.factory||(r.factory=Wn(r.type)),s=Cn(D);try{const a=Zi(!1),l=i();return Zi(a),function Y0(e,t,n,r){n>=e.data.length&&(e.data[n]=null,e.blueprint[n]=null),t[n]=r}(n,_(),o,l),l}finally{Cn(s)}}(19,"timeAgo"),A(),A(),A(),A()),2&e){const n=t.$implicit;ie(3),Ye("href",n.repo_link,Mr),ie(1),Wr(n.name),ie(2),Wr(n.description),ie(4),Ft(" ",n.star,""),ie(3),Ft(" ",n.forks,""),ie(1),Ye("ngIf",n.homepage),ie(4),Ft(" ",Zm(19,7,n.created),"")}}let pO=(()=>{class e{constructor(n,r){this.gitService=n,this.gitRepoService=r,this.rep=[]}ngOnInit(){this.userProfile=this.gitService.userProfile,this.rep=this.gitRepoService.repoArr}}return e.\u0275fac=function(n){return new(n||e)(D(Q_),D(Z_))},e.\u0275cmp=En({type:e,selectors:[["app-repo"]],decls:6,vars:2,consts:[[1,"main"],["class","container",4,"ngIf"],[1,"container"],[1,"row"],["class","mt-3 col-12 col-sm-6 col-md-4",4,"ngFor","ngForOf"],[1,"col-6","info"],[1,"d-flex","flex-column","ms-2","mt-2"],[1,"fs-2","lh-1","text-color"],["class","text-color",4,"ngIf"],[1,"text-light"],[1,"fas","fa-user-friends","text-color"],["class","p-2 text-light",4,"ngIf"],["class","text-light",4,"ngIf"],["class","p-2 text-color",4,"ngIf"],[1,"col-6"],["alt","",1,"img-fluid","rounded-circle","image",3,"src"],[1,"text-color"],[1,"p-2","text-light"],[1,"p-2","text-color"],[1,"fas","fa-map-marker-alt","pe-2"],[1,"fab","fa-twitter","pe-2"],[1,"mt-3","col-12","col-sm-6","col-md-4"],["appHighlight","",1,"card","cardSt","p-2"],["target","_blank",3,"href"],[1,"card-footer","d-flex","justify-content-between","mt-auto"],[1,"far","fa-star","text-color"],[1,"fas","fa-code-branch","text-color"],[4,"ngIf"],[1,"fas","fa-desktop","text-color"]],template:function(n,r){1&n&&(ze(0,"app-nav"),S(1,"div",0),fn(2,dO,21,10,"div",1),A(),S(3,"div",2),S(4,"div",3),fn(5,hO,20,9,"div",4),A(),A()),2&n&&(ie(2),Ye("ngIf",r.userProfile),ie(3),Ye("ngForOf",r.rep))},directives:[rO,uv,av,oO],pipes:[iO],styles:[".container[_ngcontent-%COMP%]{background-color:#000;color:#5c326a}.row[_ngcontent-%COMP%]{padding-top:4rem}.info[_ngcontent-%COMP%]{line-height:3rem;padding-left:4rem}.fab[_ngcontent-%COMP%]{color:#fff}.card[_ngcontent-%COMP%]{background-color:#0d1117}span[_ngcontent-%COMP%]{color:#5c326a}p[_ngcontent-%COMP%]{color:#1157c2}.image[_ngcontent-%COMP%]{width:50%}"]}),e})(),K_=(()=>{class e{constructor(n,r){this._renderer=n,this._elementRef=r,this.onChange=o=>{},this.onTouched=()=>{}}setProperty(n,r){this._renderer.setProperty(this._elementRef.nativeElement,n,r)}registerOnTouched(n){this.onTouched=n}registerOnChange(n){this.onChange=n}setDisabledState(n){this.setProperty("disabled",n)}}return e.\u0275fac=function(n){return new(n||e)(D(hn),D(Xe))},e.\u0275dir=T({type:e}),e})(),ir=(()=>{class e extends K_{}return e.\u0275fac=function(){let t;return function(r){return(t||(t=function Je(e){return wn(()=>{const t=e.prototype.constructor,n=t[an]||ll(t),r=Object.prototype;let o=Object.getPrototypeOf(e.prototype).constructor;for(;o&&o!==r;){const i=o[an]||ll(o);if(i&&i!==n)return i;o=Object.getPrototypeOf(o)}return i=>new i})}(e)))(r||e)}}(),e.\u0275dir=T({type:e,features:[X]}),e})();const tn=new j("NgValueAccessor"),yO={provide:tn,useExisting:ee(()=>pa),multi:!0},_O=new j("CompositionEventMode");let pa=(()=>{class e extends K_{constructor(n,r,o){super(n,r),this._compositionMode=o,this._composing=!1,null==this._compositionMode&&(this._compositionMode=!function vO(){const e=Yt()?Yt().getUserAgent():"";return/android (\d+)/.test(e.toLowerCase())}())}writeValue(n){this.setProperty("value",null==n?"":n)}_handleInput(n){(!this._compositionMode||this._compositionMode&&!this._composing)&&this.onChange(n)}_compositionStart(){this._composing=!0}_compositionEnd(n){this._composing=!1,this._compositionMode&&this.onChange(n)}}return e.\u0275fac=function(n){return new(n||e)(D(hn),D(Xe),D(_O,8))},e.\u0275dir=T({type:e,selectors:[["input","formControlName","",3,"type","checkbox"],["textarea","formControlName",""],["input","formControl","",3,"type","checkbox"],["textarea","formControl",""],["input","ngModel","",3,"type","checkbox"],["textarea","ngModel",""],["","ngDefaultControl",""]],hostBindings:function(n,r){1&n&&je("input",function(i){return r._handleInput(i.target.value)})("blur",function(){return r.onTouched()})("compositionstart",function(){return r._compositionStart()})("compositionend",function(i){return r._compositionEnd(i.target.value)})},features:[le([yO]),X]}),e})();const Be=new j("NgValidators"),Vn=new j("NgAsyncValidators");function aD(e){return null!=e}function lD(e){const t=Go(e)?Ie(e):e;return _u(t),t}function uD(e){let t={};return e.forEach(n=>{t=null!=n?Object.assign(Object.assign({},t),n):t}),0===Object.keys(t).length?null:t}function cD(e,t){return t.map(n=>n(e))}function dD(e){return e.map(t=>function CO(e){return!e.validate}(t)?t:n=>t.validate(n))}function od(e){return null!=e?function fD(e){if(!e)return null;const t=e.filter(aD);return 0==t.length?null:function(n){return uD(cD(n,t))}}(dD(e)):null}function id(e){return null!=e?function hD(e){if(!e)return null;const t=e.filter(aD);return 0==t.length?null:function(n){return function gO(...e){const t=rf(e),{args:n,keys:r}=Iv(e),o=new se(i=>{const{length:s}=n;if(!s)return void i.complete();const a=new Array(s);let l=s,u=s;for(let c=0;c<s;c++){let d=!1;jt(n[c]).subscribe(new Se(i,f=>{d||(d=!0,u--),a[c]=f},()=>l--,void 0,()=>{(!l||!d)&&(u||i.next(r?xv(r,a):a),i.complete())}))}});return t?o.pipe(Tv(t)):o}(cD(n,t).map(lD)).pipe(Q(uD))}}(dD(e)):null}function pD(e,t){return null===e?[t]:Array.isArray(e)?[...e,t]:[e,t]}function sd(e){return e?Array.isArray(e)?e:[e]:[]}function ga(e,t){return Array.isArray(e)?e.includes(t):e===t}function yD(e,t){const n=sd(t);return sd(e).forEach(o=>{ga(n,o)||n.push(o)}),n}function vD(e,t){return sd(t).filter(n=>!ga(e,n))}class _D{constructor(){this._rawValidators=[],this._rawAsyncValidators=[],this._onDestroyCallbacks=[]}get value(){return this.control?this.control.value:null}get valid(){return this.control?this.control.valid:null}get invalid(){return this.control?this.control.invalid:null}get pending(){return this.control?this.control.pending:null}get disabled(){return this.control?this.control.disabled:null}get enabled(){return this.control?this.control.enabled:null}get errors(){return this.control?this.control.errors:null}get pristine(){return this.control?this.control.pristine:null}get dirty(){return this.control?this.control.dirty:null}get touched(){return this.control?this.control.touched:null}get status(){return this.control?this.control.status:null}get untouched(){return this.control?this.control.untouched:null}get statusChanges(){return this.control?this.control.statusChanges:null}get valueChanges(){return this.control?this.control.valueChanges:null}get path(){return null}_setValidators(t){this._rawValidators=t||[],this._composedValidatorFn=od(this._rawValidators)}_setAsyncValidators(t){this._rawAsyncValidators=t||[],this._composedAsyncValidatorFn=id(this._rawAsyncValidators)}get validator(){return this._composedValidatorFn||null}get asyncValidator(){return this._composedAsyncValidatorFn||null}_registerOnDestroy(t){this._onDestroyCallbacks.push(t)}_invokeOnDestroyCallbacks(){this._onDestroyCallbacks.forEach(t=>t()),this._onDestroyCallbacks=[]}reset(t){this.control&&this.control.reset(t)}hasError(t,n){return!!this.control&&this.control.hasError(t,n)}getError(t,n){return this.control?this.control.getError(t,n):null}}class Ln extends _D{constructor(){super(...arguments),this._parent=null,this.name=null,this.valueAccessor=null}}class Ze extends _D{get formDirective(){return null}get path(){return null}}class DD{constructor(t){this._cd=t}is(t){var n,r,o;return"submitted"===t?!!(null===(n=this._cd)||void 0===n?void 0:n.submitted):!!(null===(o=null===(r=this._cd)||void 0===r?void 0:r.control)||void 0===o?void 0:o[t])}}let CD=(()=>{class e extends DD{constructor(n){super(n)}}return e.\u0275fac=function(n){return new(n||e)(D(Ln,2))},e.\u0275dir=T({type:e,selectors:[["","formControlName",""],["","ngModel",""],["","formControl",""]],hostVars:14,hostBindings:function(n,r){2&n&&_s("ng-untouched",r.is("untouched"))("ng-touched",r.is("touched"))("ng-pristine",r.is("pristine"))("ng-dirty",r.is("dirty"))("ng-valid",r.is("valid"))("ng-invalid",r.is("invalid"))("ng-pending",r.is("pending"))},features:[X]}),e})(),wD=(()=>{class e extends DD{constructor(n){super(n)}}return e.\u0275fac=function(n){return new(n||e)(D(Ze,10))},e.\u0275dir=T({type:e,selectors:[["","formGroupName",""],["","formArrayName",""],["","ngModelGroup",""],["","formGroup",""],["form",3,"ngNoForm",""],["","ngForm",""]],hostVars:16,hostBindings:function(n,r){2&n&&_s("ng-untouched",r.is("untouched"))("ng-touched",r.is("touched"))("ng-pristine",r.is("pristine"))("ng-dirty",r.is("dirty"))("ng-valid",r.is("valid"))("ng-invalid",r.is("invalid"))("ng-pending",r.is("pending"))("ng-submitted",r.is("submitted"))},features:[X]}),e})();function Ci(e,t){ud(e,t),t.valueAccessor.writeValue(e.value),function TO(e,t){t.valueAccessor.registerOnChange(n=>{e._pendingValue=n,e._pendingChange=!0,e._pendingDirty=!0,"change"===e.updateOn&&bD(e,t)})}(e,t),function RO(e,t){const n=(r,o)=>{t.valueAccessor.writeValue(r),o&&t.viewToModelUpdate(r)};e.registerOnChange(n),t._registerOnDestroy(()=>{e._unregisterOnChange(n)})}(e,t),function xO(e,t){t.valueAccessor.registerOnTouched(()=>{e._pendingTouched=!0,"blur"===e.updateOn&&e._pendingChange&&bD(e,t),"submit"!==e.updateOn&&e.markAsTouched()})}(e,t),function IO(e,t){if(t.valueAccessor.setDisabledState){const n=r=>{t.valueAccessor.setDisabledState(r)};e.registerOnDisabledChange(n),t._registerOnDestroy(()=>{e._unregisterOnDisabledChange(n)})}}(e,t)}function _a(e,t){e.forEach(n=>{n.registerOnValidatorChange&&n.registerOnValidatorChange(t)})}function ud(e,t){const n=function gD(e){return e._rawValidators}(e);null!==t.validator?e.setValidators(pD(n,t.validator)):"function"==typeof n&&e.setValidators([n]);const r=function mD(e){return e._rawAsyncValidators}(e);null!==t.asyncValidator?e.setAsyncValidators(pD(r,t.asyncValidator)):"function"==typeof r&&e.setAsyncValidators([r]);const o=()=>e.updateValueAndValidity();_a(t._rawValidators,o),_a(t._rawAsyncValidators,o)}function bD(e,t){e._pendingDirty&&e.markAsDirty(),e.setValue(e._pendingValue,{emitModelToViewChange:!1}),t.viewToModelUpdate(e._pendingValue),e._pendingChange=!1}function Ca(e,t){const n=e.indexOf(t);n>-1&&e.splice(n,1)}const wi="VALID",wa="INVALID",uo="PENDING",Ei="DISABLED";function hd(e){return(gd(e)?e.validators:e)||null}function AD(e){return Array.isArray(e)?od(e):e||null}function pd(e,t){return(gd(t)?t.asyncValidators:e)||null}function ID(e){return Array.isArray(e)?id(e):e||null}function gd(e){return null!=e&&!Array.isArray(e)&&"object"==typeof e}const md=e=>e instanceof vd;function xD(e){return(e=>e instanceof FD)(e)?e.value:e.getRawValue()}function RD(e,t){const n=md(e),r=e.controls;if(!(n?Object.keys(r):r).length)throw new z(1e3,"");if(!r[t])throw new z(1001,"")}function ND(e,t){md(e),e._forEachChild((r,o)=>{if(void 0===t[o])throw new z(1002,"")})}class yd{constructor(t,n){this._pendingDirty=!1,this._hasOwnPendingAsyncValidator=!1,this._pendingTouched=!1,this._onCollectionChange=()=>{},this._parent=null,this.pristine=!0,this.touched=!1,this._onDisabledChange=[],this._rawValidators=t,this._rawAsyncValidators=n,this._composedValidatorFn=AD(this._rawValidators),this._composedAsyncValidatorFn=ID(this._rawAsyncValidators)}get validator(){return this._composedValidatorFn}set validator(t){this._rawValidators=this._composedValidatorFn=t}get asyncValidator(){return this._composedAsyncValidatorFn}set asyncValidator(t){this._rawAsyncValidators=this._composedAsyncValidatorFn=t}get parent(){return this._parent}get valid(){return this.status===wi}get invalid(){return this.status===wa}get pending(){return this.status==uo}get disabled(){return this.status===Ei}get enabled(){return this.status!==Ei}get dirty(){return!this.pristine}get untouched(){return!this.touched}get updateOn(){return this._updateOn?this._updateOn:this.parent?this.parent.updateOn:"change"}setValidators(t){this._rawValidators=t,this._composedValidatorFn=AD(t)}setAsyncValidators(t){this._rawAsyncValidators=t,this._composedAsyncValidatorFn=ID(t)}addValidators(t){this.setValidators(yD(t,this._rawValidators))}addAsyncValidators(t){this.setAsyncValidators(yD(t,this._rawAsyncValidators))}removeValidators(t){this.setValidators(vD(t,this._rawValidators))}removeAsyncValidators(t){this.setAsyncValidators(vD(t,this._rawAsyncValidators))}hasValidator(t){return ga(this._rawValidators,t)}hasAsyncValidator(t){return ga(this._rawAsyncValidators,t)}clearValidators(){this.validator=null}clearAsyncValidators(){this.asyncValidator=null}markAsTouched(t={}){this.touched=!0,this._parent&&!t.onlySelf&&this._parent.markAsTouched(t)}markAllAsTouched(){this.markAsTouched({onlySelf:!0}),this._forEachChild(t=>t.markAllAsTouched())}markAsUntouched(t={}){this.touched=!1,this._pendingTouched=!1,this._forEachChild(n=>{n.markAsUntouched({onlySelf:!0})}),this._parent&&!t.onlySelf&&this._parent._updateTouched(t)}markAsDirty(t={}){this.pristine=!1,this._parent&&!t.onlySelf&&this._parent.markAsDirty(t)}markAsPristine(t={}){this.pristine=!0,this._pendingDirty=!1,this._forEachChild(n=>{n.markAsPristine({onlySelf:!0})}),this._parent&&!t.onlySelf&&this._parent._updatePristine(t)}markAsPending(t={}){this.status=uo,!1!==t.emitEvent&&this.statusChanges.emit(this.status),this._parent&&!t.onlySelf&&this._parent.markAsPending(t)}disable(t={}){const n=this._parentMarkedDirty(t.onlySelf);this.status=Ei,this.errors=null,this._forEachChild(r=>{r.disable(Object.assign(Object.assign({},t),{onlySelf:!0}))}),this._updateValue(),!1!==t.emitEvent&&(this.valueChanges.emit(this.value),this.statusChanges.emit(this.status)),this._updateAncestors(Object.assign(Object.assign({},t),{skipPristineCheck:n})),this._onDisabledChange.forEach(r=>r(!0))}enable(t={}){const n=this._parentMarkedDirty(t.onlySelf);this.status=wi,this._forEachChild(r=>{r.enable(Object.assign(Object.assign({},t),{onlySelf:!0}))}),this.updateValueAndValidity({onlySelf:!0,emitEvent:t.emitEvent}),this._updateAncestors(Object.assign(Object.assign({},t),{skipPristineCheck:n})),this._onDisabledChange.forEach(r=>r(!1))}_updateAncestors(t){this._parent&&!t.onlySelf&&(this._parent.updateValueAndValidity(t),t.skipPristineCheck||this._parent._updatePristine(),this._parent._updateTouched())}setParent(t){this._parent=t}updateValueAndValidity(t={}){this._setInitialStatus(),this._updateValue(),this.enabled&&(this._cancelExistingSubscription(),this.errors=this._runValidator(),this.status=this._calculateStatus(),(this.status===wi||this.status===uo)&&this._runAsyncValidator(t.emitEvent)),!1!==t.emitEvent&&(this.valueChanges.emit(this.value),this.statusChanges.emit(this.status)),this._parent&&!t.onlySelf&&this._parent.updateValueAndValidity(t)}_updateTreeValidity(t={emitEvent:!0}){this._forEachChild(n=>n._updateTreeValidity(t)),this.updateValueAndValidity({onlySelf:!0,emitEvent:t.emitEvent})}_setInitialStatus(){this.status=this._allControlsDisabled()?Ei:wi}_runValidator(){return this.validator?this.validator(this):null}_runAsyncValidator(t){if(this.asyncValidator){this.status=uo,this._hasOwnPendingAsyncValidator=!0;const n=lD(this.asyncValidator(this));this._asyncValidationSubscription=n.subscribe(r=>{this._hasOwnPendingAsyncValidator=!1,this.setErrors(r,{emitEvent:t})})}}_cancelExistingSubscription(){this._asyncValidationSubscription&&(this._asyncValidationSubscription.unsubscribe(),this._hasOwnPendingAsyncValidator=!1)}setErrors(t,n={}){this.errors=t,this._updateControlsErrors(!1!==n.emitEvent)}get(t){return function PO(e,t,n){if(null==t||(Array.isArray(t)||(t=t.split(n)),Array.isArray(t)&&0===t.length))return null;let r=e;return t.forEach(o=>{r=md(r)?r.controls.hasOwnProperty(o)?r.controls[o]:null:(e=>e instanceof VO)(r)&&r.at(o)||null}),r}(this,t,".")}getError(t,n){const r=n?this.get(n):this;return r&&r.errors?r.errors[t]:null}hasError(t,n){return!!this.getError(t,n)}get root(){let t=this;for(;t._parent;)t=t._parent;return t}_updateControlsErrors(t){this.status=this._calculateStatus(),t&&this.statusChanges.emit(this.status),this._parent&&this._parent._updateControlsErrors(t)}_initObservables(){this.valueChanges=new he,this.statusChanges=new he}_calculateStatus(){return this._allControlsDisabled()?Ei:this.errors?wa:this._hasOwnPendingAsyncValidator||this._anyControlsHaveStatus(uo)?uo:this._anyControlsHaveStatus(wa)?wa:wi}_anyControlsHaveStatus(t){return this._anyControls(n=>n.status===t)}_anyControlsDirty(){return this._anyControls(t=>t.dirty)}_anyControlsTouched(){return this._anyControls(t=>t.touched)}_updatePristine(t={}){this.pristine=!this._anyControlsDirty(),this._parent&&!t.onlySelf&&this._parent._updatePristine(t)}_updateTouched(t={}){this.touched=this._anyControlsTouched(),this._parent&&!t.onlySelf&&this._parent._updateTouched(t)}_isBoxedValue(t){return"object"==typeof t&&null!==t&&2===Object.keys(t).length&&"value"in t&&"disabled"in t}_registerOnCollectionChange(t){this._onCollectionChange=t}_setUpdateStrategy(t){gd(t)&&null!=t.updateOn&&(this._updateOn=t.updateOn)}_parentMarkedDirty(t){return!t&&!(!this._parent||!this._parent.dirty)&&!this._parent._anyControlsDirty()}}class FD extends yd{constructor(t=null,n,r){super(hd(n),pd(r,n)),this._onChange=[],this._pendingChange=!1,this._applyFormState(t),this._setUpdateStrategy(n),this._initObservables(),this.updateValueAndValidity({onlySelf:!0,emitEvent:!!this.asyncValidator})}setValue(t,n={}){this.value=this._pendingValue=t,this._onChange.length&&!1!==n.emitModelToViewChange&&this._onChange.forEach(r=>r(this.value,!1!==n.emitViewToModelChange)),this.updateValueAndValidity(n)}patchValue(t,n={}){this.setValue(t,n)}reset(t=null,n={}){this._applyFormState(t),this.markAsPristine(n),this.markAsUntouched(n),this.setValue(this.value,n),this._pendingChange=!1}_updateValue(){}_anyControls(t){return!1}_allControlsDisabled(){return this.disabled}registerOnChange(t){this._onChange.push(t)}_unregisterOnChange(t){Ca(this._onChange,t)}registerOnDisabledChange(t){this._onDisabledChange.push(t)}_unregisterOnDisabledChange(t){Ca(this._onDisabledChange,t)}_forEachChild(t){}_syncPendingControls(){return!("submit"!==this.updateOn||(this._pendingDirty&&this.markAsDirty(),this._pendingTouched&&this.markAsTouched(),!this._pendingChange)||(this.setValue(this._pendingValue,{onlySelf:!0,emitModelToViewChange:!1}),0))}_applyFormState(t){this._isBoxedValue(t)?(this.value=this._pendingValue=t.value,t.disabled?this.disable({onlySelf:!0,emitEvent:!1}):this.enable({onlySelf:!0,emitEvent:!1})):this.value=this._pendingValue=t}}class vd extends yd{constructor(t,n,r){super(hd(n),pd(r,n)),this.controls=t,this._initObservables(),this._setUpdateStrategy(n),this._setUpControls(),this.updateValueAndValidity({onlySelf:!0,emitEvent:!!this.asyncValidator})}registerControl(t,n){return this.controls[t]?this.controls[t]:(this.controls[t]=n,n.setParent(this),n._registerOnCollectionChange(this._onCollectionChange),n)}addControl(t,n,r={}){this.registerControl(t,n),this.updateValueAndValidity({emitEvent:r.emitEvent}),this._onCollectionChange()}removeControl(t,n={}){this.controls[t]&&this.controls[t]._registerOnCollectionChange(()=>{}),delete this.controls[t],this.updateValueAndValidity({emitEvent:n.emitEvent}),this._onCollectionChange()}setControl(t,n,r={}){this.controls[t]&&this.controls[t]._registerOnCollectionChange(()=>{}),delete this.controls[t],n&&this.registerControl(t,n),this.updateValueAndValidity({emitEvent:r.emitEvent}),this._onCollectionChange()}contains(t){return this.controls.hasOwnProperty(t)&&this.controls[t].enabled}setValue(t,n={}){ND(this,t),Object.keys(t).forEach(r=>{RD(this,r),this.controls[r].setValue(t[r],{onlySelf:!0,emitEvent:n.emitEvent})}),this.updateValueAndValidity(n)}patchValue(t,n={}){null!=t&&(Object.keys(t).forEach(r=>{this.controls[r]&&this.controls[r].patchValue(t[r],{onlySelf:!0,emitEvent:n.emitEvent})}),this.updateValueAndValidity(n))}reset(t={},n={}){this._forEachChild((r,o)=>{r.reset(t[o],{onlySelf:!0,emitEvent:n.emitEvent})}),this._updatePristine(n),this._updateTouched(n),this.updateValueAndValidity(n)}getRawValue(){return this._reduceChildren({},(t,n,r)=>(t[r]=xD(n),t))}_syncPendingControls(){let t=this._reduceChildren(!1,(n,r)=>!!r._syncPendingControls()||n);return t&&this.updateValueAndValidity({onlySelf:!0}),t}_forEachChild(t){Object.keys(this.controls).forEach(n=>{const r=this.controls[n];r&&t(r,n)})}_setUpControls(){this._forEachChild(t=>{t.setParent(this),t._registerOnCollectionChange(this._onCollectionChange)})}_updateValue(){this.value=this._reduceValue()}_anyControls(t){for(const n of Object.keys(this.controls)){const r=this.controls[n];if(this.contains(n)&&t(r))return!0}return!1}_reduceValue(){return this._reduceChildren({},(t,n,r)=>((n.enabled||this.disabled)&&(t[r]=n.value),t))}_reduceChildren(t,n){let r=t;return this._forEachChild((o,i)=>{r=n(r,o,i)}),r}_allControlsDisabled(){for(const t of Object.keys(this.controls))if(this.controls[t].enabled)return!1;return Object.keys(this.controls).length>0||this.disabled}}class VO extends yd{constructor(t,n,r){super(hd(n),pd(r,n)),this.controls=t,this._initObservables(),this._setUpdateStrategy(n),this._setUpControls(),this.updateValueAndValidity({onlySelf:!0,emitEvent:!!this.asyncValidator})}at(t){return this.controls[t]}push(t,n={}){this.controls.push(t),this._registerControl(t),this.updateValueAndValidity({emitEvent:n.emitEvent}),this._onCollectionChange()}insert(t,n,r={}){this.controls.splice(t,0,n),this._registerControl(n),this.updateValueAndValidity({emitEvent:r.emitEvent})}removeAt(t,n={}){this.controls[t]&&this.controls[t]._registerOnCollectionChange(()=>{}),this.controls.splice(t,1),this.updateValueAndValidity({emitEvent:n.emitEvent})}setControl(t,n,r={}){this.controls[t]&&this.controls[t]._registerOnCollectionChange(()=>{}),this.controls.splice(t,1),n&&(this.controls.splice(t,0,n),this._registerControl(n)),this.updateValueAndValidity({emitEvent:r.emitEvent}),this._onCollectionChange()}get length(){return this.controls.length}setValue(t,n={}){ND(this,t),t.forEach((r,o)=>{RD(this,o),this.at(o).setValue(r,{onlySelf:!0,emitEvent:n.emitEvent})}),this.updateValueAndValidity(n)}patchValue(t,n={}){null!=t&&(t.forEach((r,o)=>{this.at(o)&&this.at(o).patchValue(r,{onlySelf:!0,emitEvent:n.emitEvent})}),this.updateValueAndValidity(n))}reset(t=[],n={}){this._forEachChild((r,o)=>{r.reset(t[o],{onlySelf:!0,emitEvent:n.emitEvent})}),this._updatePristine(n),this._updateTouched(n),this.updateValueAndValidity(n)}getRawValue(){return this.controls.map(t=>xD(t))}clear(t={}){this.controls.length<1||(this._forEachChild(n=>n._registerOnCollectionChange(()=>{})),this.controls.splice(0),this.updateValueAndValidity({emitEvent:t.emitEvent}))}_syncPendingControls(){let t=this.controls.reduce((n,r)=>!!r._syncPendingControls()||n,!1);return t&&this.updateValueAndValidity({onlySelf:!0}),t}_forEachChild(t){this.controls.forEach((n,r)=>{t(n,r)})}_updateValue(){this.value=this.controls.filter(t=>t.enabled||this.disabled).map(t=>t.value)}_anyControls(t){return this.controls.some(n=>n.enabled&&t(n))}_setUpControls(){this._forEachChild(t=>this._registerControl(t))}_allControlsDisabled(){for(const t of this.controls)if(t.enabled)return!1;return this.controls.length>0||this.disabled}_registerControl(t){t.setParent(this),t._registerOnCollectionChange(this._onCollectionChange)}}const LO={provide:Ze,useExisting:ee(()=>Ea)},bi=(()=>Promise.resolve(null))();let Ea=(()=>{class e extends Ze{constructor(n,r){super(),this.submitted=!1,this._directives=[],this.ngSubmit=new he,this.form=new vd({},od(n),id(r))}ngAfterViewInit(){this._setUpdateStrategy()}get formDirective(){return this}get control(){return this.form}get path(){return[]}get controls(){return this.form.controls}addControl(n){bi.then(()=>{const r=this._findContainer(n.path);n.control=r.registerControl(n.name,n.control),Ci(n.control,n),n.control.updateValueAndValidity({emitEvent:!1}),this._directives.push(n)})}getControl(n){return this.form.get(n.path)}removeControl(n){bi.then(()=>{const r=this._findContainer(n.path);r&&r.removeControl(n.name),Ca(this._directives,n)})}addFormGroup(n){bi.then(()=>{const r=this._findContainer(n.path),o=new vd({});(function MD(e,t){ud(e,t)})(o,n),r.registerControl(n.name,o),o.updateValueAndValidity({emitEvent:!1})})}removeFormGroup(n){bi.then(()=>{const r=this._findContainer(n.path);r&&r.removeControl(n.name)})}getFormGroup(n){return this.form.get(n.path)}updateModel(n,r){bi.then(()=>{this.form.get(n.path).setValue(r)})}setValue(n){this.control.setValue(n)}onSubmit(n){return this.submitted=!0,function SD(e,t){e._syncPendingControls(),t.forEach(n=>{const r=n.control;"submit"===r.updateOn&&r._pendingChange&&(n.viewToModelUpdate(r._pendingValue),r._pendingChange=!1)})}(this.form,this._directives),this.ngSubmit.emit(n),!1}onReset(){this.resetForm()}resetForm(n){this.form.reset(n),this.submitted=!1}_setUpdateStrategy(){this.options&&null!=this.options.updateOn&&(this.form._updateOn=this.options.updateOn)}_findContainer(n){return n.pop(),n.length?this.form.get(n):this.form}}return e.\u0275fac=function(n){return new(n||e)(D(Be,10),D(Vn,10))},e.\u0275dir=T({type:e,selectors:[["form",3,"ngNoForm","",3,"formGroup",""],["ng-form"],["","ngForm",""]],hostBindings:function(n,r){1&n&&je("submit",function(i){return r.onSubmit(i)})("reset",function(){return r.onReset()})},inputs:{options:["ngFormOptions","options"]},outputs:{ngSubmit:"ngSubmit"},exportAs:["ngForm"],features:[le([LO]),X]}),e})();const BO={provide:Ln,useExisting:ee(()=>_d)},kD=(()=>Promise.resolve(null))();let _d=(()=>{class e extends Ln{constructor(n,r,o,i){super(),this.control=new FD,this._registered=!1,this.update=new he,this._parent=n,this._setValidators(r),this._setAsyncValidators(o),this.valueAccessor=function dd(e,t){if(!t)return null;let n,r,o;return Array.isArray(t),t.forEach(i=>{i.constructor===pa?n=i:function OO(e){return Object.getPrototypeOf(e.constructor)===ir}(i)?r=i:o=i}),o||r||n||null}(0,i)}ngOnChanges(n){this._checkForErrors(),this._registered||this._setUpControl(),"isDisabled"in n&&this._updateDisabled(n),function cd(e,t){if(!e.hasOwnProperty("model"))return!1;const n=e.model;return!!n.isFirstChange()||!Object.is(t,n.currentValue)}(n,this.viewModel)&&(this._updateValue(this.model),this.viewModel=this.model)}ngOnDestroy(){this.formDirective&&this.formDirective.removeControl(this)}get path(){return this._parent?function ya(e,t){return[...t.path,e]}(this.name,this._parent):[this.name]}get formDirective(){return this._parent?this._parent.formDirective:null}viewToModelUpdate(n){this.viewModel=n,this.update.emit(n)}_setUpControl(){this._setUpdateStrategy(),this._isStandalone()?this._setUpStandalone():this.formDirective.addControl(this),this._registered=!0}_setUpdateStrategy(){this.options&&null!=this.options.updateOn&&(this.control._updateOn=this.options.updateOn)}_isStandalone(){return!this._parent||!(!this.options||!this.options.standalone)}_setUpStandalone(){Ci(this.control,this),this.control.updateValueAndValidity({emitEvent:!1})}_checkForErrors(){this._isStandalone()||this._checkParentType(),this._checkName()}_checkParentType(){}_checkName(){this.options&&this.options.name&&(this.name=this.options.name),this._isStandalone()}_updateValue(n){kD.then(()=>{this.control.setValue(n,{emitViewToModelChange:!1})})}_updateDisabled(n){const r=n.isDisabled.currentValue,o=""===r||r&&"false"!==r;kD.then(()=>{o&&!this.control.disabled?this.control.disable():!o&&this.control.disabled&&this.control.enable()})}}return e.\u0275fac=function(n){return new(n||e)(D(Ze,9),D(Be,10),D(Vn,10),D(tn,10))},e.\u0275dir=T({type:e,selectors:[["","ngModel","",3,"formControlName","",3,"formControl",""]],inputs:{name:"name",isDisabled:["disabled","isDisabled"],model:["ngModel","model"],options:["ngModelOptions","options"]},outputs:{update:"ngModelChange"},exportAs:["ngModel"],features:[le([BO]),X,it]}),e})(),VD=(()=>{class e{}return e.\u0275fac=function(n){return new(n||e)},e.\u0275dir=T({type:e,selectors:[["form",3,"ngNoForm","",3,"ngNativeValidate",""]],hostAttrs:["novalidate",""]}),e})(),jD=(()=>{class e{}return e.\u0275fac=function(n){return new(n||e)},e.\u0275mod=pt({type:e}),e.\u0275inj=rt({}),e})(),cP=(()=>{class e{}return e.\u0275fac=function(n){return new(n||e)},e.\u0275mod=pt({type:e}),e.\u0275inj=rt({imports:[[jD]]}),e})(),dP=(()=>{class e{}return e.\u0275fac=function(n){return new(n||e)},e.\u0275mod=pt({type:e}),e.\u0275inj=rt({imports:[cP]}),e})(),fP=(()=>{class e{constructor(n,r,o){this.gitService=n,this.gitRepo=r,this.router=o}ngOnInit(){throw new Error("Method not implemented.")}onSubmit(){console.log(this.search),this.gitRepo.repoArr=[],this.gitService.getSearchResults(this.search),this.gitRepo.getRepoDetails(this.search),this.router.navigate(["repo"])}}return e.\u0275fac=function(n){return new(n||e)(D(Q_),D(Z_),D(Oe))},e.\u0275cmp=En({type:e,selectors:[["app-gitsearch-form"]],decls:16,vars:1,consts:[[1,"container-fluid","d-flex","align-items-center","flex-column","justify-content-center","search-form"],[1,"row","search"],[1,"logo"],[1,"text-center","logo","text-color"],[1,"fab","fa-github"],[1,"col-5"],[1,"text-color"],[1,"col-7"],[1,"mt-2",3,"ngSubmit"],["form","ngForm"],[1,"input-group","rounded"],["type","text","id","search","name","search","placeholder","Github UserName..","aria-label","Search","aria-describedby","search-addon",1,"form-control","rounded","inputSearch",3,"ngModel","ngModelChange"],[1,"d-flex","justify-content-center","mt-2"],["type","submit","appHiglight","",1,"btn","button","text-light"]],template:function(n,r){1&n&&(S(0,"div",0),S(1,"div",1),S(2,"div",2),S(3,"div",3),ze(4,"i",4),A(),A(),S(5,"div",5),S(6,"h1",6),Ne(7," Github-Search "),A(),A(),S(8,"div",7),S(9,"form",8,9),je("ngSubmit",function(){return r.onSubmit()}),S(11,"div",10),S(12,"input",11),je("ngModelChange",function(i){return r.search=i}),A(),A(),S(13,"div",12),S(14,"button",13),Ne(15,"search"),A(),A(),A(),A(),A(),A()),2&n&&(ie(12),Ye("ngModel",r.search))},directives:[VD,wD,Ea,pa,CD,_d],styles:[".search-form[_ngcontent-%COMP%]{padding-top:10rem}.col-7[_ngcontent-%COMP%]{border-left:3px solid #5c326a}.search[_ngcontent-%COMP%]{border:1px solid #5c326a;padding:6rem;border-radius:20px;box-shadow:6px 4px 4px #5c326a}.fab[_ngcontent-%COMP%]{font-size:180px;color:#fff}.text-color[_ngcontent-%COMP%]{color:#5596b7}.button[_ngcontent-%COMP%], .inputSearch[_ngcontent-%COMP%]{border:2px solid #5c326a;border-radius:20px;color:#5596b7}"]}),e})();const hP=[{path:"Home",component:(()=>{class e{constructor(){}ngOnInit(){}}return e.\u0275fac=function(n){return new(n||e)},e.\u0275cmp=En({type:e,selectors:[["app-search-git"]],decls:2,vars:0,consts:[[1,"main"]],template:function(n,r){1&n&&(S(0,"div",0),ze(1,"app-gitsearch-form"),A())},directives:[fP],styles:[".main[_ngcontent-%COMP%]{background-color:#000;min-height:100vh}.search-form[_ngcontent-%COMP%]{padding-top:8rem}.search[_ngcontent-%COMP%]{border:1px solid #5c326a;padding:6rem;border-radius:20px;box-shadow:6px 4px 4px #5c326a}.fab[_ngcontent-%COMP%]{font-size:100px;color:#5c326a}.text-color[_ngcontent-%COMP%]{color:#5598da}.button[_ngcontent-%COMP%], .inputSearch[_ngcontent-%COMP%]{border:2px solid #5c326a;border-radius:20px}"]}),e})()},{path:"repo",component:pO},{path:"",redirectTo:"/Home",pathMatch:"full"}];let pP=(()=>{class e{}return e.\u0275fac=function(n){return new(n||e)},e.\u0275mod=pt({type:e}),e.\u0275inj=rt({imports:[[F_.forRoot(hP)],F_]}),e})(),gP=(()=>{class e{constructor(n){this.router=n,this.title="GithubSearch"}ngOnInit(){this.router.navigate([""])}}return e.\u0275fac=function(n){return new(n||e)(D(Oe))},e.\u0275cmp=En({type:e,selectors:[["app-root"]],decls:1,vars:0,template:function(n,r){1&n&&ze(0,"router-outlet")},directives:[Uc],styles:[""]}),e})(),mP=(()=>{class e{}return e.\u0275fac=function(n){return new(n||e)},e.\u0275mod=pt({type:e,bootstrap:[gP]}),e.\u0275inj=rt({providers:[],imports:[[cR,pP,dP,tO]]}),e})();(function BI(){Oy=!1})(),lR().bootstrapModule(mP).catch(e=>console.error(e))}},re=>{re(re.s=523)}]);