-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathmain.920d3faeb0f4bde74c14.js
1 lines (1 loc) · 240 KB
/
main.920d3faeb0f4bde74c14.js
1
(self.webpackChunkangular_app=self.webpackChunkangular_app||[]).push([[179],{8255:Ve=>{function ae(x){return Promise.resolve().then(()=>{var w=new Error("Cannot find module '"+x+"'");throw w.code="MODULE_NOT_FOUND",w})}ae.keys=()=>[],ae.resolve=ae,ae.id=8255,Ve.exports=ae},6274:(Ve,ae,x)=>{"use strict";x.d(ae,{mr:()=>Ae,ez:()=>ds,K0:()=>de,Do:()=>Ie,V_:()=>k,Ye:()=>Qt,S$:()=>Re,O5:()=>R,b0:()=>fe,lw:()=>re,EM:()=>hs,JF:()=>ps,w_:()=>te,bD:()=>Wr,q:()=>ce,Mx:()=>gt,HT:()=>ue});var w=x(3606);let E=null;function ce(){return E}function ue(p){E||(E=p)}class te{}const de=new w.OlP("DocumentToken");let re=(()=>{class p{historyGo(g){throw new Error("Not implemented")}}return p.\u0275fac=function(g){return new(g||p)},p.\u0275prov=(0,w.Yz7)({factory:q,token:p,providedIn:"platform"}),p})();function q(){return(0,w.LFG)($)}const k=new w.OlP("Location Initialized");let $=(()=>{class p extends re{constructor(g){super(),this._doc=g,this._init()}_init(){this.location=window.location,this._history=window.history}getBaseHrefFromDOM(){return ce().getBaseHref(this._doc)}onPopState(g){const D=ce().getGlobalEventTarget(this._doc,"window");return D.addEventListener("popstate",g,!1),()=>D.removeEventListener("popstate",g)}onHashChange(g){const D=ce().getGlobalEventTarget(this._doc,"window");return D.addEventListener("hashchange",g,!1),()=>D.removeEventListener("hashchange",g)}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(g){this.location.pathname=g}pushState(g,D,A){z()?this._history.pushState(g,D,A):this.location.hash=A}replaceState(g,D,A){z()?this._history.replaceState(g,D,A):this.location.hash=A}forward(){this._history.forward()}back(){this._history.back()}historyGo(g=0){this._history.go(g)}getState(){return this._history.state}}return p.\u0275fac=function(g){return new(g||p)(w.LFG(de))},p.\u0275prov=(0,w.Yz7)({factory:ne,token:p,providedIn:"platform"}),p})();function z(){return!!window.history.pushState}function ne(){return new $((0,w.LFG)(de))}function se(p,C){if(0==p.length)return C;if(0==C.length)return p;let g=0;return p.endsWith("/")&&g++,C.startsWith("/")&&g++,2==g?p+C.substring(1):1==g?p+C:p+"/"+C}function Ce(p){const C=p.match(/#|\?|$/),g=C&&C.index||p.length;return p.slice(0,g-("/"===p[g-1]?1:0))+p.slice(g)}function W(p){return p&&"?"!==p[0]?"?"+p:p}let Re=(()=>{class p{historyGo(g){throw new Error("Not implemented")}}return p.\u0275fac=function(g){return new(g||p)},p.\u0275prov=(0,w.Yz7)({factory:et,token:p,providedIn:"root"}),p})();function et(p){const C=(0,w.LFG)(de).location;return new fe((0,w.LFG)(re),C&&C.origin||"")}const Ae=new w.OlP("appBaseHref");let fe=(()=>{class p extends Re{constructor(g,D){if(super(),this._platformLocation=g,this._removeListenerFns=[],null==D&&(D=this._platformLocation.getBaseHrefFromDOM()),null==D)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=D}ngOnDestroy(){for(;this._removeListenerFns.length;)this._removeListenerFns.pop()()}onPopState(g){this._removeListenerFns.push(this._platformLocation.onPopState(g),this._platformLocation.onHashChange(g))}getBaseHref(){return this._baseHref}prepareExternalUrl(g){return se(this._baseHref,g)}path(g=!1){const D=this._platformLocation.pathname+W(this._platformLocation.search),A=this._platformLocation.hash;return A&&g?`${D}${A}`:D}pushState(g,D,A,G){const ee=this.prepareExternalUrl(A+W(G));this._platformLocation.pushState(g,D,ee)}replaceState(g,D,A,G){const ee=this.prepareExternalUrl(A+W(G));this._platformLocation.replaceState(g,D,ee)}forward(){this._platformLocation.forward()}back(){this._platformLocation.back()}historyGo(g=0){var D,A;null===(A=(D=this._platformLocation).historyGo)||void 0===A||A.call(D,g)}}return p.\u0275fac=function(g){return new(g||p)(w.LFG(re),w.LFG(Ae,8))},p.\u0275prov=w.Yz7({token:p,factory:p.\u0275fac}),p})(),Ie=(()=>{class p extends Re{constructor(g,D){super(),this._platformLocation=g,this._baseHref="",this._removeListenerFns=[],null!=D&&(this._baseHref=D)}ngOnDestroy(){for(;this._removeListenerFns.length;)this._removeListenerFns.pop()()}onPopState(g){this._removeListenerFns.push(this._platformLocation.onPopState(g),this._platformLocation.onHashChange(g))}getBaseHref(){return this._baseHref}path(g=!1){let D=this._platformLocation.hash;return null==D&&(D="#"),D.length>0?D.substring(1):D}prepareExternalUrl(g){const D=se(this._baseHref,g);return D.length>0?"#"+D:D}pushState(g,D,A,G){let ee=this.prepareExternalUrl(A+W(G));0==ee.length&&(ee=this._platformLocation.pathname),this._platformLocation.pushState(g,D,ee)}replaceState(g,D,A,G){let ee=this.prepareExternalUrl(A+W(G));0==ee.length&&(ee=this._platformLocation.pathname),this._platformLocation.replaceState(g,D,ee)}forward(){this._platformLocation.forward()}back(){this._platformLocation.back()}historyGo(g=0){var D,A;null===(A=(D=this._platformLocation).historyGo)||void 0===A||A.call(D,g)}}return p.\u0275fac=function(g){return new(g||p)(w.LFG(re),w.LFG(Ae,8))},p.\u0275prov=w.Yz7({token:p,factory:p.\u0275fac}),p})(),Qt=(()=>{class p{constructor(g,D){this._subject=new w.vpe,this._urlChangeListeners=[],this._platformStrategy=g;const A=this._platformStrategy.getBaseHref();this._platformLocation=D,this._baseHref=Ce(ot(A)),this._platformStrategy.onPopState(G=>{this._subject.emit({url:this.path(!0),pop:!0,state:G.state,type:G.type})})}path(g=!1){return this.normalize(this._platformStrategy.path(g))}getState(){return this._platformLocation.getState()}isCurrentPathEqualTo(g,D=""){return this.path()==this.normalize(g+W(D))}normalize(g){return p.stripTrailingSlash(function(p,C){return p&&C.startsWith(p)?C.substring(p.length):C}(this._baseHref,ot(g)))}prepareExternalUrl(g){return g&&"/"!==g[0]&&(g="/"+g),this._platformStrategy.prepareExternalUrl(g)}go(g,D="",A=null){this._platformStrategy.pushState(A,"",g,D),this._notifyUrlChangeListeners(this.prepareExternalUrl(g+W(D)),A)}replaceState(g,D="",A=null){this._platformStrategy.replaceState(A,"",g,D),this._notifyUrlChangeListeners(this.prepareExternalUrl(g+W(D)),A)}forward(){this._platformStrategy.forward()}back(){this._platformStrategy.back()}historyGo(g=0){var D,A;null===(A=(D=this._platformStrategy).historyGo)||void 0===A||A.call(D,g)}onUrlChange(g){this._urlChangeListeners.push(g),this._urlChangeSubscription||(this._urlChangeSubscription=this.subscribe(D=>{this._notifyUrlChangeListeners(D.url,D.state)}))}_notifyUrlChangeListeners(g="",D){this._urlChangeListeners.forEach(A=>A(g,D))}subscribe(g,D,A){return this._subject.subscribe({next:g,error:D,complete:A})}}return p.\u0275fac=function(g){return new(g||p)(w.LFG(Re),w.LFG(re))},p.normalizeQueryParams=W,p.joinWithSlash=se,p.stripTrailingSlash=Ce,p.\u0275prov=(0,w.Yz7)({factory:Mt,token:p,providedIn:"root"}),p})();function Mt(){return new Qt((0,w.LFG)(Re),(0,w.LFG)(re))}function ot(p){return p.replace(/\/index.html$/,"")}var st=(()=>((st=st||{})[st.Zero=0]="Zero",st[st.One=1]="One",st[st.Two=2]="Two",st[st.Few=3]="Few",st[st.Many=4]="Many",st[st.Other=5]="Other",st))();const pt=w.kL8;class lt{}let ct=(()=>{class p extends lt{constructor(g){super(),this.locale=g}getPluralCategory(g,D){switch(pt(D||this.locale)(g)){case st.Zero:return"zero";case st.One:return"one";case st.Two:return"two";case st.Few:return"few";case st.Many:return"many";default:return"other"}}}return p.\u0275fac=function(g){return new(g||p)(w.LFG(w.soG))},p.\u0275prov=w.Yz7({token:p,factory:p.\u0275fac}),p})();function gt(p,C){C=encodeURIComponent(C);for(const g of p.split(";")){const D=g.indexOf("="),[A,G]=-1==D?[g,""]:[g.slice(0,D),g.slice(D+1)];if(A.trim()===C)return decodeURIComponent(G)}return null}let R=(()=>{class p{constructor(g,D){this._viewContainer=g,this._context=new M,this._thenTemplateRef=null,this._elseTemplateRef=null,this._thenViewRef=null,this._elseViewRef=null,this._thenTemplateRef=D}set ngIf(g){this._context.$implicit=this._context.ngIf=g,this._updateView()}set ngIfThen(g){I("ngIfThen",g),this._thenTemplateRef=g,this._thenViewRef=null,this._updateView()}set ngIfElse(g){I("ngIfElse",g),this._elseTemplateRef=g,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(g,D){return!0}}return p.\u0275fac=function(g){return new(g||p)(w.Y36(w.s_b),w.Y36(w.Rgc))},p.\u0275dir=w.lG2({type:p,selectors:[["","ngIf",""]],inputs:{ngIf:"ngIf",ngIfThen:"ngIfThen",ngIfElse:"ngIfElse"}}),p})();class M{constructor(){this.$implicit=null,this.ngIf=null}}function I(p,C){if(C&&!C.createEmbeddedView)throw new Error(`${p} must be a TemplateRef, but received '${(0,w.AaK)(C)}'.`)}let ds=(()=>{class p{}return p.\u0275fac=function(g){return new(g||p)},p.\u0275mod=w.oAB({type:p}),p.\u0275inj=w.cJS({providers:[{provide:lt,useClass:ct}]}),p})();const Wr="browser";let hs=(()=>{class p{}return p.\u0275prov=(0,w.Yz7)({token:p,providedIn:"root",factory:()=>new To((0,w.LFG)(de),window)}),p})();class To{constructor(C,g){this.document=C,this.window=g,this.offset=()=>[0,0]}setOffset(C){this.offset=Array.isArray(C)?()=>C:C}getScrollPosition(){return this.supportsScrolling()?[this.window.pageXOffset,this.window.pageYOffset]:[0,0]}scrollToPosition(C){this.supportsScrolling()&&this.window.scrollTo(C[0],C[1])}scrollToAnchor(C){if(!this.supportsScrolling())return;const g=function(p,C){const g=p.getElementById(C)||p.getElementsByName(C)[0];if(g)return g;if("function"==typeof p.createTreeWalker&&p.body&&(p.body.createShadowRoot||p.body.attachShadow)){const D=p.createTreeWalker(p.body,NodeFilter.SHOW_ELEMENT);let A=D.currentNode;for(;A;){const G=A.shadowRoot;if(G){const ee=G.getElementById(C)||G.querySelector(`[name="${C}"]`);if(ee)return ee}A=D.nextNode()}}return null}(this.document,C);g&&(this.scrollToElement(g),this.attemptFocus(g))}setHistoryScrollRestoration(C){if(this.supportScrollRestoration()){const g=this.window.history;g&&g.scrollRestoration&&(g.scrollRestoration=C)}}scrollToElement(C){const g=C.getBoundingClientRect(),D=g.left+this.window.pageXOffset,A=g.top+this.window.pageYOffset,G=this.offset();this.window.scrollTo(D-G[0],A-G[1])}attemptFocus(C){return C.focus(),this.document.activeElement===C}supportScrollRestoration(){try{if(!this.supportsScrolling())return!1;const C=Yr(this.window.history)||Yr(Object.getPrototypeOf(this.window.history));return!(!C||!C.writable&&!C.set)}catch(C){return!1}}supportsScrolling(){try{return!!this.window&&!!this.window.scrollTo&&"pageXOffset"in this.window}catch(C){return!1}}}function Yr(p){return Object.getOwnPropertyDescriptor(p,"scrollRestoration")}class ps{}},1887:(Ve,ae,x)=>{"use strict";x.d(ae,{eN:()=>H,JF:()=>It,UA:()=>oe});var w=x(6274),E=x(3606),ce=x(267),Ee=x(3948),ue=x(3748),te=x(3305),de=x(8561);class re{}class q{}class k{constructor(O){this.normalizedNames=new Map,this.lazyUpdate=null,O?this.lazyInit="string"==typeof O?()=>{this.headers=new Map,O.split("\n").forEach(F=>{const X=F.indexOf(":");if(X>0){const j=F.slice(0,X),le=j.toLowerCase(),ge=F.slice(X+1).trim();this.maybeSetNormalizedName(j,le),this.headers.has(le)?this.headers.get(le).push(ge):this.headers.set(le,[ge])}})}:()=>{this.headers=new Map,Object.keys(O).forEach(F=>{let X=O[F];const j=F.toLowerCase();"string"==typeof X&&(X=[X]),X.length>0&&(this.headers.set(j,X),this.maybeSetNormalizedName(F,j))})}:this.headers=new Map}has(O){return this.init(),this.headers.has(O.toLowerCase())}get(O){this.init();const F=this.headers.get(O.toLowerCase());return F&&F.length>0?F[0]:null}keys(){return this.init(),Array.from(this.normalizedNames.values())}getAll(O){return this.init(),this.headers.get(O.toLowerCase())||null}append(O,F){return this.clone({name:O,value:F,op:"a"})}set(O,F){return this.clone({name:O,value:F,op:"s"})}delete(O,F){return this.clone({name:O,value:F,op:"d"})}maybeSetNormalizedName(O,F){this.normalizedNames.has(F)||this.normalizedNames.set(F,O)}init(){this.lazyInit&&(this.lazyInit instanceof k?this.copyFrom(this.lazyInit):this.lazyInit(),this.lazyInit=null,this.lazyUpdate&&(this.lazyUpdate.forEach(O=>this.applyUpdate(O)),this.lazyUpdate=null))}copyFrom(O){O.init(),Array.from(O.headers.keys()).forEach(F=>{this.headers.set(F,O.headers.get(F)),this.normalizedNames.set(F,O.normalizedNames.get(F))})}clone(O){const F=new k;return F.lazyInit=this.lazyInit&&this.lazyInit instanceof k?this.lazyInit:this,F.lazyUpdate=(this.lazyUpdate||[]).concat([O]),F}applyUpdate(O){const F=O.name.toLowerCase();switch(O.op){case"a":case"s":let X=O.value;if("string"==typeof X&&(X=[X]),0===X.length)return;this.maybeSetNormalizedName(O.name,F);const j=("a"===O.op?this.headers.get(F):void 0)||[];j.push(...X),this.headers.set(F,j);break;case"d":const le=O.value;if(le){let ge=this.headers.get(F);if(!ge)return;ge=ge.filter(pe=>-1===le.indexOf(pe)),0===ge.length?(this.headers.delete(F),this.normalizedNames.delete(F)):this.headers.set(F,ge)}else this.headers.delete(F),this.normalizedNames.delete(F)}}forEach(O){this.init(),Array.from(this.normalizedNames.keys()).forEach(F=>O(this.normalizedNames.get(F),this.headers.get(F)))}}class ${encodeKey(O){return Ce(O)}encodeValue(O){return Ce(O)}decodeKey(O){return decodeURIComponent(O)}decodeValue(O){return decodeURIComponent(O)}}const ne=/%(\d[a-f0-9])/gi,se={40:"@","3A":":",24:"$","2C":",","3B":";","2B":"+","3D":"=","3F":"?","2F":"/"};function Ce(J){return encodeURIComponent(J).replace(ne,(O,F)=>{var X;return null!==(X=se[F])&&void 0!==X?X:O})}function W(J){return`${J}`}class Re{constructor(O={}){if(this.updates=null,this.cloneFrom=null,this.encoder=O.encoder||new $,O.fromString){if(O.fromObject)throw new Error("Cannot specify both fromString and fromObject.");this.map=function(J,O){const F=new Map;return J.length>0&&J.replace(/^\?/,"").split("&").forEach(j=>{const le=j.indexOf("="),[ge,pe]=-1==le?[O.decodeKey(j),""]:[O.decodeKey(j.slice(0,le)),O.decodeValue(j.slice(le+1))],He=F.get(ge)||[];He.push(pe),F.set(ge,He)}),F}(O.fromString,this.encoder)}else O.fromObject?(this.map=new Map,Object.keys(O.fromObject).forEach(F=>{const X=O.fromObject[F];this.map.set(F,Array.isArray(X)?X:[X])})):this.map=null}has(O){return this.init(),this.map.has(O)}get(O){this.init();const F=this.map.get(O);return F?F[0]:null}getAll(O){return this.init(),this.map.get(O)||null}keys(){return this.init(),Array.from(this.map.keys())}append(O,F){return this.clone({param:O,value:F,op:"a"})}appendAll(O){const F=[];return Object.keys(O).forEach(X=>{const j=O[X];Array.isArray(j)?j.forEach(le=>{F.push({param:X,value:le,op:"a"})}):F.push({param:X,value:j,op:"a"})}),this.clone(F)}set(O,F){return this.clone({param:O,value:F,op:"s"})}delete(O,F){return this.clone({param:O,value:F,op:"d"})}toString(){return this.init(),this.keys().map(O=>{const F=this.encoder.encodeKey(O);return this.map.get(O).map(X=>F+"="+this.encoder.encodeValue(X)).join("&")}).filter(O=>""!==O).join("&")}clone(O){const F=new Re({encoder:this.encoder});return F.cloneFrom=this.cloneFrom||this,F.updates=(this.updates||[]).concat(O),F}init(){null===this.map&&(this.map=new Map),null!==this.cloneFrom&&(this.cloneFrom.init(),this.cloneFrom.keys().forEach(O=>this.map.set(O,this.cloneFrom.map.get(O))),this.updates.forEach(O=>{switch(O.op){case"a":case"s":const F=("a"===O.op?this.map.get(O.param):void 0)||[];F.push(W(O.value)),this.map.set(O.param,F);break;case"d":if(void 0===O.value){this.map.delete(O.param);break}{let X=this.map.get(O.param)||[];const j=X.indexOf(W(O.value));-1!==j&&X.splice(j,1),X.length>0?this.map.set(O.param,X):this.map.delete(O.param)}}}),this.cloneFrom=this.updates=null)}}class Ae{constructor(){this.map=new Map}set(O,F){return this.map.set(O,F),this}get(O){return this.map.has(O)||this.map.set(O,O.defaultValue()),this.map.get(O)}delete(O){return this.map.delete(O),this}keys(){return this.map.keys()}}function Ie(J){return"undefined"!=typeof ArrayBuffer&&J instanceof ArrayBuffer}function Qt(J){return"undefined"!=typeof Blob&&J instanceof Blob}function Mt(J){return"undefined"!=typeof FormData&&J instanceof FormData}class ot{constructor(O,F,X,j){let le;if(this.url=F,this.body=null,this.reportProgress=!1,this.withCredentials=!1,this.responseType="json",this.method=O.toUpperCase(),function(J){switch(J){case"DELETE":case"GET":case"HEAD":case"OPTIONS":case"JSONP":return!1;default:return!0}}(this.method)||j?(this.body=void 0!==X?X:null,le=j):le=X,le&&(this.reportProgress=!!le.reportProgress,this.withCredentials=!!le.withCredentials,le.responseType&&(this.responseType=le.responseType),le.headers&&(this.headers=le.headers),le.context&&(this.context=le.context),le.params&&(this.params=le.params)),this.headers||(this.headers=new k),this.context||(this.context=new Ae),this.params){const ge=this.params.toString();if(0===ge.length)this.urlWithParams=F;else{const pe=F.indexOf("?");this.urlWithParams=F+(-1===pe?"?":pe<F.length-1?"&":"")+ge}}else this.params=new Re,this.urlWithParams=F}serializeBody(){return null===this.body?null:Ie(this.body)||Qt(this.body)||Mt(this.body)||"undefined"!=typeof URLSearchParams&&this.body instanceof URLSearchParams||"string"==typeof this.body?this.body:this.body instanceof Re?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||Mt(this.body)?null:Qt(this.body)?this.body.type||null:Ie(this.body)?null:"string"==typeof this.body?"text/plain":this.body instanceof Re?"application/x-www-form-urlencoded;charset=UTF-8":"object"==typeof this.body||"number"==typeof this.body||"boolean"==typeof this.body?"application/json":null}clone(O={}){var F;const X=O.method||this.method,j=O.url||this.url,le=O.responseType||this.responseType,ge=void 0!==O.body?O.body:this.body,pe=void 0!==O.withCredentials?O.withCredentials:this.withCredentials,He=void 0!==O.reportProgress?O.reportProgress:this.reportProgress;let _t=O.headers||this.headers,at=O.params||this.params;const vt=null!==(F=O.context)&&void 0!==F?F:this.context;return void 0!==O.setHeaders&&(_t=Object.keys(O.setHeaders).reduce((At,Ye)=>At.set(Ye,O.setHeaders[Ye]),_t)),O.setParams&&(at=Object.keys(O.setParams).reduce((At,Ye)=>At.set(Ye,O.setParams[Ye]),at)),new ot(X,j,ge,{params:at,headers:_t,context:vt,reportProgress:He,responseType:le,withCredentials:pe})}}var he=(()=>((he=he||{})[he.Sent=0]="Sent",he[he.UploadProgress=1]="UploadProgress",he[he.ResponseHeader=2]="ResponseHeader",he[he.DownloadProgress=3]="DownloadProgress",he[he.Response=4]="Response",he[he.User=5]="User",he))();class ze{constructor(O,F=200,X="OK"){this.headers=O.headers||new k,this.status=void 0!==O.status?O.status:F,this.statusText=O.statusText||X,this.url=O.url||null,this.ok=this.status>=200&&this.status<300}}class st extends ze{constructor(O={}){super(O),this.type=he.ResponseHeader}clone(O={}){return new st({headers:O.headers||this.headers,status:void 0!==O.status?O.status:this.status,statusText:O.statusText||this.statusText,url:O.url||this.url||void 0})}}class Te extends ze{constructor(O={}){super(O),this.type=he.Response,this.body=void 0!==O.body?O.body:null}clone(O={}){return new Te({body:void 0!==O.body?O.body:this.body,headers:O.headers||this.headers,status:void 0!==O.status?O.status:this.status,statusText:O.statusText||this.statusText,url:O.url||this.url||void 0})}}class oe extends ze{constructor(O){super(O,0,"Unknown Error"),this.name="HttpErrorResponse",this.ok=!1,this.message=this.status>=200&&this.status<300?`Http failure during parsing for ${O.url||"(unknown url)"}`:`Http failure response for ${O.url||"(unknown url)"}: ${O.status} ${O.statusText}`,this.error=O.error||null}}function U(J,O){return{body:O,headers:J.headers,context:J.context,observe:J.observe,params:J.params,reportProgress:J.reportProgress,responseType:J.responseType,withCredentials:J.withCredentials}}let H=(()=>{class J{constructor(F){this.handler=F}request(F,X,j={}){let le;if(F instanceof ot)le=F;else{let He,_t;He=j.headers instanceof k?j.headers:new k(j.headers),j.params&&(_t=j.params instanceof Re?j.params:new Re({fromObject:j.params})),le=new ot(F,X,void 0!==j.body?j.body:null,{headers:He,context:j.context,params:_t,reportProgress:j.reportProgress,responseType:j.responseType||"json",withCredentials:j.withCredentials})}const ge=(0,ce.of)(le).pipe((0,ue.b)(He=>this.handler.handle(He)));if(F instanceof ot||"events"===j.observe)return ge;const pe=ge.pipe((0,te.h)(He=>He instanceof Te));switch(j.observe||"body"){case"body":switch(le.responseType){case"arraybuffer":return pe.pipe((0,de.U)(He=>{if(null!==He.body&&!(He.body instanceof ArrayBuffer))throw new Error("Response is not an ArrayBuffer.");return He.body}));case"blob":return pe.pipe((0,de.U)(He=>{if(null!==He.body&&!(He.body instanceof Blob))throw new Error("Response is not a Blob.");return He.body}));case"text":return pe.pipe((0,de.U)(He=>{if(null!==He.body&&"string"!=typeof He.body)throw new Error("Response is not a string.");return He.body}));case"json":default:return pe.pipe((0,de.U)(He=>He.body))}case"response":return pe;default:throw new Error(`Unreachable: unhandled observe type ${j.observe}}`)}}delete(F,X={}){return this.request("DELETE",F,X)}get(F,X={}){return this.request("GET",F,X)}head(F,X={}){return this.request("HEAD",F,X)}jsonp(F,X){return this.request("JSONP",F,{params:(new Re).append(X,"JSONP_CALLBACK"),observe:"body",responseType:"json"})}options(F,X={}){return this.request("OPTIONS",F,X)}patch(F,X,j={}){return this.request("PATCH",F,U(j,X))}post(F,X,j={}){return this.request("POST",F,U(j,X))}put(F,X,j={}){return this.request("PUT",F,U(j,X))}}return J.\u0275fac=function(F){return new(F||J)(E.LFG(re))},J.\u0275prov=E.Yz7({token:J,factory:J.\u0275fac}),J})();class De{constructor(O,F){this.next=O,this.interceptor=F}handle(O){return this.interceptor.intercept(O,this.next)}}const tt=new E.OlP("HTTP_INTERCEPTORS");let ht=(()=>{class J{intercept(F,X){return X.handle(F)}}return J.\u0275fac=function(F){return new(F||J)},J.\u0275prov=E.Yz7({token:J,factory:J.\u0275fac}),J})();const nn=/^\)\]\}',?\n/;let Rt=(()=>{class J{constructor(F){this.xhrFactory=F}handle(F){if("JSONP"===F.method)throw new Error("Attempted to construct Jsonp request without HttpClientJsonpModule installed.");return new Ee.y(X=>{const j=this.xhrFactory.build();if(j.open(F.method,F.urlWithParams),F.withCredentials&&(j.withCredentials=!0),F.headers.forEach((Ye,be)=>j.setRequestHeader(Ye,be.join(","))),F.headers.has("Accept")||j.setRequestHeader("Accept","application/json, text/plain, */*"),!F.headers.has("Content-Type")){const Ye=F.detectContentTypeHeader();null!==Ye&&j.setRequestHeader("Content-Type",Ye)}if(F.responseType){const Ye=F.responseType.toLowerCase();j.responseType="json"!==Ye?Ye:"text"}const le=F.serializeBody();let ge=null;const pe=()=>{if(null!==ge)return ge;const Ye=1223===j.status?204:j.status,be=j.statusText||"OK",bn=new k(j.getAllResponseHeaders()),We=function(J){return"responseURL"in J&&J.responseURL?J.responseURL:/^X-Request-URL:/m.test(J.getAllResponseHeaders())?J.getResponseHeader("X-Request-URL"):null}(j)||F.url;return ge=new st({headers:bn,status:Ye,statusText:be,url:We}),ge},He=()=>{let{headers:Ye,status:be,statusText:bn,url:We}=pe(),xt=null;204!==be&&(xt=void 0===j.response?j.responseText:j.response),0===be&&(be=xt?200:0);let sn=be>=200&&be<300;if("json"===F.responseType&&"string"==typeof xt){const ut=xt;xt=xt.replace(nn,"");try{xt=""!==xt?JSON.parse(xt):null}catch(Zn){xt=ut,sn&&(sn=!1,xt={error:Zn,text:xt})}}sn?(X.next(new Te({body:xt,headers:Ye,status:be,statusText:bn,url:We||void 0})),X.complete()):X.error(new oe({error:xt,headers:Ye,status:be,statusText:bn,url:We||void 0}))},_t=Ye=>{const{url:be}=pe(),bn=new oe({error:Ye,status:j.status||0,statusText:j.statusText||"Unknown Error",url:be||void 0});X.error(bn)};let at=!1;const vt=Ye=>{at||(X.next(pe()),at=!0);let be={type:he.DownloadProgress,loaded:Ye.loaded};Ye.lengthComputable&&(be.total=Ye.total),"text"===F.responseType&&!!j.responseText&&(be.partialText=j.responseText),X.next(be)},At=Ye=>{let be={type:he.UploadProgress,loaded:Ye.loaded};Ye.lengthComputable&&(be.total=Ye.total),X.next(be)};return j.addEventListener("load",He),j.addEventListener("error",_t),j.addEventListener("timeout",_t),j.addEventListener("abort",_t),F.reportProgress&&(j.addEventListener("progress",vt),null!==le&&j.upload&&j.upload.addEventListener("progress",At)),j.send(le),X.next({type:he.Sent}),()=>{j.removeEventListener("error",_t),j.removeEventListener("abort",_t),j.removeEventListener("load",He),j.removeEventListener("timeout",_t),F.reportProgress&&(j.removeEventListener("progress",vt),null!==le&&j.upload&&j.upload.removeEventListener("progress",At)),j.readyState!==j.DONE&&j.abort()}})}}return J.\u0275fac=function(F){return new(F||J)(E.LFG(w.JF))},J.\u0275prov=E.Yz7({token:J,factory:J.\u0275fac}),J})();const Qe=new E.OlP("XSRF_COOKIE_NAME"),Jn=new E.OlP("XSRF_HEADER_NAME");class Ns{}let as=(()=>{class J{constructor(F,X,j){this.doc=F,this.platform=X,this.cookieName=j,this.lastCookieString="",this.lastToken=null,this.parseCount=0}getToken(){if("server"===this.platform)return null;const F=this.doc.cookie||"";return F!==this.lastCookieString&&(this.parseCount++,this.lastToken=(0,w.Mx)(F,this.cookieName),this.lastCookieString=F),this.lastToken}}return J.\u0275fac=function(F){return new(F||J)(E.LFG(w.K0),E.LFG(E.Lbi),E.LFG(Qe))},J.\u0275prov=E.Yz7({token:J,factory:J.\u0275fac}),J})(),pt=(()=>{class J{constructor(F,X){this.tokenService=F,this.headerName=X}intercept(F,X){const j=F.url.toLowerCase();if("GET"===F.method||"HEAD"===F.method||j.startsWith("http://")||j.startsWith("https://"))return X.handle(F);const le=this.tokenService.getToken();return null!==le&&!F.headers.has(this.headerName)&&(F=F.clone({headers:F.headers.set(this.headerName,le)})),X.handle(F)}}return J.\u0275fac=function(F){return new(F||J)(E.LFG(Ns),E.LFG(Jn))},J.\u0275prov=E.Yz7({token:J,factory:J.\u0275fac}),J})(),Vr=(()=>{class J{constructor(F,X){this.backend=F,this.injector=X,this.chain=null}handle(F){if(null===this.chain){const X=this.injector.get(tt,[]);this.chain=X.reduceRight((j,le)=>new De(j,le),this.backend)}return this.chain.handle(F)}}return J.\u0275fac=function(F){return new(F||J)(E.LFG(q),E.LFG(E.zs3))},J.\u0275prov=E.Yz7({token:J,factory:J.\u0275fac}),J})(),jr=(()=>{class J{static disable(){return{ngModule:J,providers:[{provide:pt,useClass:ht}]}}static withOptions(F={}){return{ngModule:J,providers:[F.cookieName?{provide:Qe,useValue:F.cookieName}:[],F.headerName?{provide:Jn,useValue:F.headerName}:[]]}}}return J.\u0275fac=function(F){return new(F||J)},J.\u0275mod=E.oAB({type:J}),J.\u0275inj=E.cJS({providers:[pt,{provide:tt,useExisting:pt,multi:!0},{provide:Ns,useClass:as},{provide:Qe,useValue:"XSRF-TOKEN"},{provide:Jn,useValue:"X-XSRF-TOKEN"}]}),J})(),It=(()=>{class J{}return J.\u0275fac=function(F){return new(F||J)},J.\u0275mod=E.oAB({type:J}),J.\u0275inj=E.cJS({providers:[H,{provide:re,useClass:Vr},Rt,{provide:q,useExisting:Rt}],imports:[[jr.withOptions({cookieName:"XSRF-TOKEN",headerName:"X-XSRF-TOKEN"})]]}),J})()},3606:(Ve,ae,x)=>{"use strict";x.d(ae,{deG:()=>Hs,tb:()=>vy,AFp:()=>Cy,ip1:()=>Td,CZH:()=>fo,hGG:()=>fT,z2F:()=>Ma,sBO:()=>Jb,Sil:()=>Sa,_Vd:()=>Qs,EJc:()=>by,SBq:()=>Lr,qLn:()=>Fi,vpe:()=>kr,gxx:()=>Ui,tBr:()=>xi,XFs:()=>j,OlP:()=>rt,zs3:()=>yt,ZZ4:()=>ju,aQg:()=>Bu,soG:()=>Ju,YKP:()=>hm,v3s:()=>zI,h0i:()=>qs,PXZ:()=>jI,R0b:()=>Fn,FiY:()=>Xr,Lbi:()=>Ey,g9A:()=>_y,Qsj:()=>Lb,FYo:()=>Vu,JOm:()=>xr,Tiy:()=>ed,q3G:()=>Lt,tp0:()=>Ss,EAV:()=>QI,Rgc:()=>ga,dDg:()=>Sy,DyG:()=>au,GfV:()=>im,s_b:()=>$u,ifc:()=>be,eFA:()=>Py,G48:()=>NI,_c5:()=>iT,VLi:()=>xI,c2e:()=>Dy,zSh:()=>ra,wAp:()=>Ne,vHH:()=>Mt,EiD:()=>Df,mCW:()=>Qo,qzn:()=>Oi,JVY:()=>VC,pB0:()=>HC,eBb:()=>BC,L6k:()=>jC,LAX:()=>UC,cg1:()=>zc,Tjo:()=>rT,kL8:()=>Mg,yhl:()=>pf,dqk:()=>ut,sIi:()=>oa,CqO:()=>jc,QGY:()=>Vc,F4k:()=>Np,RDi:()=>G,AaK:()=>W,z3N:()=>es,TTD:()=>ci,xp6:()=>oh,uIk:()=>Rc,Tol:()=>tg,Suo:()=>qm,Xpm:()=>qt,lG2:()=>us,Yz7:()=>pt,cJS:()=>Ln,oAB:()=>Dt,Yjl:()=>ls,Y36:()=>ua,_UZ:()=>Rp,qZA:()=>kc,TgZ:()=>Lc,Ikx:()=>Gc,LFG:()=>Ht,$8M:()=>m,NdJ:()=>Bc,CRH:()=>Jm,oxw:()=>Lp,Q6J:()=>Oc,iGM:()=>Km,LSH:()=>jl,kYT:()=>Gt,YNc:()=>yp,_uU:()=>ug,hij:()=>xu,Gf:()=>Qm});var w=x(3948),E=x(7204),ce=x(4540),Ee=x(6431),te=x(9582),de=x(9734),re=x(955);var $=x(5290);function z(){return new te.xQ}function se(e){for(let t in e)if(e[t]===se)return t;throw Error("Could not find renamed property on target object.")}function W(e){if("string"==typeof e)return e;if(Array.isArray(e))return"["+e.map(W).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 Re(e,t){return null==e||""===e?null===t?"":t:null==t||""===t?e:e+" "+t}const et=se({__forward_ref__:se});function Ae(e){return e.__forward_ref__=Ae,e.toString=function(){return W(this())},e}function fe(e){return function(e){return"function"==typeof e&&e.hasOwnProperty(et)&&e.__forward_ref__===Ae}(e)?e():e}class Mt extends Error{constructor(t,n){super(function(e,t){return`${e?`NG0${e}: `:""}${t}`}(t,n)),this.code=t}}function he(e){return"string"==typeof e?e:null==e?"":String(e)}function ze(e){return"function"==typeof e?e.name||e.toString():"object"==typeof e&&null!=e&&"function"==typeof e.type?e.type.name||e.type.toString():he(e)}function U(e,t){const n=t?` in ${t}`:"";throw new Mt("201",`No provider for ${ze(e)} found${n}`)}function Rt(e,t){null==e&&function(e,t,n,r){throw new Error(`ASSERTION ERROR: ${e}`+(null==r?"":` [Expected=> ${n} ${r} ${t} <=Actual]`))}(t,e,null,"!=")}function pt(e){return{token:e.token,providedIn:e.providedIn||null,factory:e.factory,value:void 0}}function Ln(e){return{providers:e.providers||[],imports:e.imports||[]}}function rn(e){return jr(e,J)||jr(e,F)}function jr(e,t){return e.hasOwnProperty(t)?e[t]:null}function Br(e){return e&&(e.hasOwnProperty(O)||e.hasOwnProperty(X))?e[O]:null}const J=se({\u0275prov:se}),O=se({\u0275inj:se}),F=se({ngInjectableDef:se}),X=se({ngInjectorDef:se});var j=(()=>((j=j||{})[j.Default=0]="Default",j[j.Host=1]="Host",j[j.Self=2]="Self",j[j.SkipSelf=4]="SkipSelf",j[j.Optional=8]="Optional",j))();let le;function pe(e){const t=le;return le=e,t}function He(e,t,n){const r=rn(e);return r&&"root"==r.providedIn?void 0===r.value?r.value=r.factory():r.value:n&j.Optional?null:void 0!==t?t:void U(W(e),"Injector")}function at(e){return{toString:e}.toString()}var vt=(()=>((vt=vt||{})[vt.OnPush=0]="OnPush",vt[vt.Default=1]="Default",vt))(),be=(()=>((be=be||{})[be.Emulated=0]="Emulated",be[be.None=2]="None",be[be.ShadowDom=3]="ShadowDom",be))();const bn="undefined"!=typeof globalThis&&globalThis,We="undefined"!=typeof window&&window,xt="undefined"!=typeof self&&"undefined"!=typeof WorkerGlobalScope&&self instanceof WorkerGlobalScope&&self,sn="undefined"!=typeof global&&global,ut=bn||sn||We||xt,An={},qe=[],Fe=se({\u0275cmp:se}),yr=se({\u0275dir:se}),wn=se({\u0275pipe:se}),Cr=se({\u0275mod:se}),Ur=se({\u0275loc:se}),Cn=se({\u0275fac:se}),_r=se({__NG_ELEMENT_ID__:se});let Ps=0;function qt(e){return at(()=>{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===vt.OnPush,directiveDefs:null,pipeDefs:null,selectors:e.selectors||qe,viewQuery:e.viewQuery||null,features:e.features||null,data:e.data||{},encapsulation:e.encapsulation||be.Emulated,id:"c",styles:e.styles||qe,_:null,setInput:null,schemas:e.schemas||null,tView:null},s=e.directives,i=e.features,o=e.pipes;return r.id+=Ps++,r.inputs=er(e.inputs,n),r.outputs=er(e.outputs),i&&i.forEach(a=>a(r)),r.directiveDefs=s?()=>("function"==typeof s?s():s).map(Er):null,r.pipeDefs=o?()=>("function"==typeof o?o():o).map($t):null,r})}function Er(e){return Nt(e)||function(e){return e[yr]||null}(e)}function $t(e){return function(e){return e[wn]||null}(e)}const Xn={};function Dt(e){return at(()=>{const t={type:e.type,bootstrap:e.bootstrap||qe,declarations:e.declarations||qe,imports:e.imports||qe,exports:e.exports||qe,transitiveCompileScopes:null,schemas:e.schemas||null,id:e.id||null};return null!=e.id&&(Xn[e.id]=e.type),t})}function Gt(e,t){return at(()=>{const n=Jt(e,!0);n.declarations=t.declarations||qe,n.imports=t.imports||qe,n.exports=t.exports||qe})}function er(e,t){if(null==e)return An;const n={};for(const r in e)if(e.hasOwnProperty(r)){let s=e[r],i=s;Array.isArray(s)&&(i=s[1],s=s[0]),n[s]=r,t&&(t[s]=i)}return n}const us=qt;function ls(e){return{type:e.type,name:e.name,factory:null,pure:!1!==e.pure,onDestroy:e.type.prototype.ngOnDestroy||null}}function Nt(e){return e[Fe]||null}function Jt(e,t){const n=e[Cr]||null;if(!n&&!0===t)throw new Error(`Type ${W(e)} does not have '\u0275mod' property.`);return n}const M=16,L=18,Y=19;function dn(e){return Array.isArray(e)&&"object"==typeof e[1]}function on(e){return Array.isArray(e)&&!0===e[1]}function _n(e){return 0!=(8&e.flags)}function Bn(e){return 2==(2&e.flags)}function Gr(e){return 1==(1&e.flags)}function fn(e){return null!==e.template}function Co(e){return 0!=(512&e[2])}function br(e,t){return e.hasOwnProperty(Cn)?e[Cn]:null}class Io{constructor(t,n,r){this.previousValue=t,this.currentValue=n,this.firstChange=r}isFirstChange(){return this.firstChange}}function ci(){return di}function di(e){return e.type.prototype.ngOnChanges&&(e.setInput=To),hs}function hs(){const e=fi(this),t=null==e?void 0:e.current;if(t){const n=e.previous;if(n===An)e.previous=t;else for(let r in t)n[r]=t[r];e.current=null,this.ngOnChanges(t)}}function To(e,t,n,r){const s=fi(e)||function(e,t){return e[Yr]=t}(e,{previous:An,current:null}),i=s.current||(s.current={}),o=s.previous,a=this.declaredInputs[n],c=o[a];i[a]=new Io(c&&c.currentValue,t,o===An),e[r]=t}ci.ngInherit=!0;const Yr="__ngSimpleChanges__";function fi(e){return e[Yr]||null}let A;function G(e){A=e}function xe(e){return!!e.listen}const mt={createRenderer:(e,t)=>void 0!==A?A:"undefined"!=typeof document?document:void 0};function $e(e){for(;Array.isArray(e);)e=e[0];return e}function Nn(e,t){return $e(t[e])}function Ot(e,t){return $e(t[e.index])}function Rn(e,t){return e.data[t]}function Ut(e,t){const n=t[e];return dn(n)?n:n[0]}function ms(e){return 4==(4&e[2])}function ys(e){return 128==(128&e[2])}function wr(e,t){return null==t?null:e[t]}function ka(e){e[L]=0}function Mo(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 ke={lFrame:Ka(null),bindingsEnabled:!0,isInCheckNoChangesMode:!1};function Ao(){return ke.bindingsEnabled}function Z(){return ke.lFrame.lView}function Xe(){return ke.lFrame.tView}function Vt(){let e=Ua();for(;null!==e&&64===e.type;)e=e.parent;return e}function Ua(){return ke.lFrame.currentTNode}function Un(e,t){const n=ke.lFrame;n.currentTNode=e,n.isParent=t}function gi(){return ke.lFrame.isParent}function Qr(){return ke.isInCheckNoChangesMode}function mi(e){ke.isInCheckNoChangesMode=e}function $n(){return ke.lFrame.bindingIndex++}function dl(e,t){const n=ke.lFrame;n.bindingIndex=n.bindingRootIndex=e,xo(t)}function xo(e){ke.lFrame.currentDirectiveIndex=e}function Ga(){return ke.lFrame.currentQueryIndex}function Po(e){ke.lFrame.currentQueryIndex=e}function za(e){const t=e[1];return 2===t.type?t.declTNode:1===t.type?e[6]:null}function Wa(e,t,n){if(n&j.SkipSelf){let s=t,i=e;for(;!(s=s.parent,null!==s||n&j.Host||(s=za(i),null===s||(i=i[15],10&s.type))););if(null===s)return!1;t=s,e=i}const r=ke.lFrame=Ya();return r.currentTNode=t,r.lView=e,!0}function yi(e){const t=Ya(),n=e[1];ke.lFrame=t,t.currentTNode=n.firstChild,t.lView=e,t.tView=n,t.contextLView=e,t.bindingIndex=n.bindingStartIndex,t.inI18n=!1}function Ya(){const e=ke.lFrame,t=null===e?null:e.child;return null===t?Ka(e):t}function Ka(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 Qa(){const e=ke.lFrame;return ke.lFrame=e.parent,e.currentTNode=null,e.lView=null,e}const Oo=Qa;function Fo(){const e=Qa();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 Xt(){return ke.lFrame.selectedIndex}function nr(e){ke.lFrame.selectedIndex=e}function St(){const e=ke.lFrame;return Rn(e.tView,e.selectedIndex)}function Ci(e,t){for(let n=t.directiveStart,r=t.directiveEnd;n<r;n++){const i=e.data[n].type.prototype,{ngAfterContentInit:o,ngAfterContentChecked:a,ngAfterViewInit:c,ngAfterViewChecked:h,ngOnDestroy:y}=i;o&&(e.contentHooks||(e.contentHooks=[])).push(-n,o),a&&((e.contentHooks||(e.contentHooks=[])).push(n,a),(e.contentCheckHooks||(e.contentCheckHooks=[])).push(n,a)),c&&(e.viewHooks||(e.viewHooks=[])).push(-n,c),h&&((e.viewHooks||(e.viewHooks=[])).push(n,h),(e.viewCheckHooks||(e.viewCheckHooks=[])).push(n,h)),null!=y&&(e.destroyHooks||(e.destroyHooks=[])).push(n,y)}}function _i(e,t,n){Za(e,t,3,n)}function _s(e,t,n,r){(3&e[2])===n&&Za(e,t,n,r)}function Ei(e,t){let n=e[2];(3&n)===t&&(n&=2047,n+=1,e[2]=n)}function Za(e,t,n,r){const i=null!=r?r:-1,o=t.length-1;let a=0;for(let c=void 0!==r?65535&e[L]:0;c<o;c++)if("number"==typeof t[c+1]){if(a=t[c],null!=r&&a>=r)break}else t[c]<0&&(e[L]+=65536),(a<i||-1==i)&&(Es(e,n,t,c),e[L]=(4294901760&e[L])+c+2),c++}function Es(e,t,n,r){const s=n[r]<0,i=n[r+1],a=e[s?-n[r]:n[r]];if(s){if(e[2]>>11<e[L]>>16&&(3&e[2])===t){e[2]+=2048;try{i.call(a)}finally{}}}else try{i.call(a)}finally{}}class js{constructor(t,n,r){this.factory=t,this.resolving=!1,this.canSeeViewProviders=n,this.injectImpl=r}}function Ds(e,t,n){const r=xe(e);let s=0;for(;s<n.length;){const i=n[s];if("number"==typeof i){if(0!==i)break;s++;const o=n[s++],a=n[s++],c=n[s++];r?e.setAttribute(t,a,c,o):t.setAttributeNS(o,a,c)}else{const o=i,a=n[++s];Tr(o)?r&&e.setProperty(t,o,a):r?e.setAttribute(t,o,a):t.setAttribute(o,a),s++}}return s}function vi(e){return 3===e||4===e||6===e}function Tr(e){return 64===e.charCodeAt(0)}function Di(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 s=t[r];"number"==typeof s?n=s:0===n||Xa(e,n,s,null,-1===n||2===n?t[++r]:null)}}return e}function Xa(e,t,n,r,s){let i=0,o=e.length;if(-1===t)o=-1;else for(;i<e.length;){const a=e[i++];if("number"==typeof a){if(a===t){o=-1;break}if(a>t){o=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!==s&&(e[i+1]=s));if(r===e[i+1])return void(e[i+2]=s)}i++,null!==r&&i++,null!==s&&i++}-1!==o&&(e.splice(o,0,t),i=o+1),e.splice(i++,0,n),null!==r&&e.splice(i++,0,r),null!==s&&e.splice(i++,0,s)}function bi(e){return-1!==e}function bs(e){return 32767&e}function ws(e,t){let n=function(e){return e>>16}(e),r=t;for(;n>0;)r=r[15],n--;return r}let wi=!0;function Bs(e){const t=wi;return wi=e,t}let nu=0;function Us(e,t){const n=Bo(e,t);if(-1!==n)return n;const r=t[1];r.firstCreatePass&&(e.injectorIndex=t.length,jo(r.data,e),jo(t,null),jo(r.blueprint,null));const s=Ii(e,t),i=e.injectorIndex;if(bi(s)){const o=bs(s),a=ws(s,t),c=a[1].data;for(let h=0;h<8;h++)t[i+h]=a[o+h]|c[o+h]}return t[i+8]=s,i}function jo(e,t){e.push(0,0,0,0,0,0,0,0,t)}function Bo(e,t){return-1===e.injectorIndex||e.parent&&e.parent.injectorIndex===e.injectorIndex||null===t[e.injectorIndex+8]?-1:e.injectorIndex}function Ii(e,t){if(e.parent&&-1!==e.parent.injectorIndex)return e.parent.injectorIndex;let n=0,r=null,s=t;for(;null!==s;){const i=s[1],o=i.type;if(r=2===o?i.declTNode:1===o?s[6]:null,null===r)return-1;if(n++,s=s[15],-1!==r.injectorIndex)return r.injectorIndex|n<<16}return-1}function Ti(e,t,n){!function(e,t,n){let r;"string"==typeof n?r=n.charCodeAt(0)||0:n.hasOwnProperty(_r)&&(r=n[_r]),null==r&&(r=n[_r]=nu++);const s=255&r;t.data[e+(s>>5)]|=1<<s}(e,t,n)}function Uo(e,t,n){if(n&j.Optional)return e;U(t,"NodeInjector")}function ru(e,t,n,r){if(n&j.Optional&&void 0===r&&(r=null),0==(n&(j.Self|j.Host))){const s=e[9],i=pe(void 0);try{return s?s.get(t,r,n&j.Optional):He(t,r,n&j.Optional)}finally{pe(i)}}return Uo(r,t,n)}function su(e,t,n,r=j.Default,s){if(null!==e){const i=function(e){if("string"==typeof e)return e.charCodeAt(0)||0;const t=e.hasOwnProperty(_r)?e[_r]:void 0;return"number"==typeof t?t>=0?255&t:Ho:t}(n);if("function"==typeof i){if(!Wa(t,e,r))return r&j.Host?Uo(s,n,r):ru(t,n,r,s);try{const o=i(r);if(null!=o||r&j.Optional)return o;U(n)}finally{Oo()}}else if("number"==typeof i){let o=null,a=Bo(e,t),c=-1,h=r&j.Host?t[M][6]:null;for((-1===a||r&j.SkipSelf)&&(c=-1===a?Ii(e,t):t[a+8],-1!==c&&d(r,!1)?(o=t[1],a=bs(c),t=ws(c,t)):a=-1);-1!==a;){const y=t[1];if(Tl(i,a,y.data)){const v=wl(a,t,n,o,r,h);if(v!==iu)return v}c=t[a+8],-1!==c&&d(r,t[1].data[a+8]===h)&&Tl(i,a,t)?(o=y,a=bs(c),t=ws(c,t)):a=-1}}}return ru(t,n,r,s)}const iu={};function Ho(){return new l(Vt(),Z())}function wl(e,t,n,r,s,i){const o=t[1],a=o.data[e+8],y=Si(a,o,n,null==r?Bn(a)&&wi:r!=o&&0!=(3&a.type),s&j.Host&&i===a);return null!==y?Is(t,o,y,a):iu}function Si(e,t,n,r,s){const i=e.providerIndexes,o=t.data,a=1048575&i,c=e.directiveStart,y=i>>20,b=s?a+y:e.directiveEnd;for(let S=r?a:a+y;S<b;S++){const P=o[S];if(S<c&&n===P||S>=c&&P.type===n)return S}if(s){const S=o[c];if(S&&fn(S)&&S.type===n)return c}return null}function Is(e,t,n,r){let s=e[n];const i=t.data;if(function(e){return e instanceof js}(s)){const o=s;o.resolving&&function(e,t){throw new Mt("200",`Circular dependency in DI detected for ${e}`)}(ze(i[n]));const a=Bs(o.canSeeViewProviders);o.resolving=!0;const c=o.injectImpl?pe(o.injectImpl):null;Wa(e,r,j.Default);try{s=e[n]=o.factory(void 0,i,e,r),t.firstCreatePass&&n>=r.directiveStart&&function(e,t,n){const{ngOnChanges:r,ngOnInit:s,ngDoCheck:i}=t.type.prototype;if(r){const o=di(t);(n.preOrderHooks||(n.preOrderHooks=[])).push(e,o),(n.preOrderCheckHooks||(n.preOrderCheckHooks=[])).push(e,o)}s&&(n.preOrderHooks||(n.preOrderHooks=[])).push(0-e,s),i&&((n.preOrderHooks||(n.preOrderHooks=[])).push(e,i),(n.preOrderCheckHooks||(n.preOrderCheckHooks=[])).push(e,i))}(n,i[n],t)}finally{null!==c&&pe(c),Bs(a),o.resolving=!1,Oo()}}return s}function Tl(e,t,n){return!!(n[t+(e>>5)]&1<<e)}function d(e,t){return!(e&j.Self||e&j.Host&&t)}class l{constructor(t,n){this._tNode=t,this._lView=n}get(t,n){return su(this._tNode,this._lView,t,void 0,n)}}function m(e){return function(e,t){if("class"===t)return e.classes;if("style"===t)return e.styles;const n=e.attrs;if(n){const r=n.length;let s=0;for(;s<r;){const i=n[s];if(vi(i))break;if(0===i)s+=2;else if("number"==typeof i)for(s++;s<r&&"string"==typeof n[s];)s++;else{if(i===t)return n[s+1];s+=2}}}return null}(Vt(),e)}const T="__parameters__";function Se(e,t,n){return at(()=>{const r=function(e){return function(...n){if(e){const r=e(...n);for(const s in r)this[s]=r[s]}}}(t);function s(...i){if(this instanceof s)return r.apply(this,i),this;const o=new s(...i);return a.annotation=o,a;function a(c,h,y){const v=c.hasOwnProperty(T)?c[T]:Object.defineProperty(c,T,{value:[]})[T];for(;v.length<=y;)v.push(null);return(v[y]=v[y]||[]).push(o),c}}return n&&(s.prototype=Object.create(n.prototype)),s.prototype.ngMetadataName=e,s.annotationCls=s,s})}class rt{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=pt({token:this,providedIn:n.providedIn||"root",factory:n.factory}))}toString(){return`InjectionToken ${this._desc}`}}const Hs=new rt("AnalyzeForEntryComponents"),au=Function;function Gn(e,t){void 0===t&&(t=e);for(let n=0;n<e.length;n++){let r=e[n];Array.isArray(r)?(t===e&&(t=e.slice(0,n)),Gn(r,t)):t!==e&&t.push(r)}return t}function Mr(e,t){e.forEach(n=>Array.isArray(n)?Mr(n,t):t(n))}function lu(e,t,n){t>=e.length?e.push(n):e.splice(t,0,n)}function $s(e,t){return t>=e.length-1?e.pop():e.splice(t,1)[0]}function Pn(e,t,n){let r=Mi(e,t);return r>=0?e[1|r]=n:(r=~r,function(e,t,n,r){let s=e.length;if(s==t)e.push(n,r);else if(1===s)e.push(r,e[0]),e[0]=n;else{for(s--,e.push(e[s-1],e[s]);s>t;)e[s]=e[s-2],s--;e[t]=n,e[t+1]=r}}(e,r,t,n)),r}function Sl(e,t){const n=Mi(e,t);if(n>=0)return e[1|n]}function Mi(e,t){return function(e,t,n){let r=0,s=e.length>>n;for(;s!==r;){const i=r+(s-r>>1),o=e[i<<n];if(t===o)return i<<n;o>t?s=i:r=i+1}return~(s<<n)}(e,t,1)}const zo={},Rl="__NG_DI_FLAG__",Ri="ngTempTokenPath",_C=/\n/gm,Al="__source",xl=se({provide:String,useValue:se});let Wo;function Ai(e){const t=Wo;return Wo=e,t}function vC(e,t=j.Default){if(void 0===Wo)throw new Error("inject() must be called from an injection context");return null===Wo?He(e,void 0,t):Wo.get(e,t&j.Optional?null:void 0,t)}function Ht(e,t=j.Default){return(le||vC)(fe(e),t)}function Gs(e){const t=[];for(let n=0;n<e.length;n++){const r=fe(e[n]);if(Array.isArray(r)){if(0===r.length)throw new Error("Arguments array must have arguments.");let s,i=j.Default;for(let o=0;o<r.length;o++){const a=r[o],c=DC(a);"number"==typeof c?-1===c?s=a.token:i|=c:s=a}t.push(Ht(s,i))}else t.push(Ht(r))}return t}function Yo(e,t){return e[Rl]=t,e.prototype[Rl]=t,e}function DC(e){return e[Rl]}function of(e,t,n,r){const s=e[Ri];throw t[Al]&&s.unshift(t[Al]),e.message=function(e,t,n,r=null){e=e&&"\n"===e.charAt(0)&&"\u0275"==e.charAt(1)?e.substr(2):e;let s=W(t);if(Array.isArray(t))s=t.map(W).join(" -> ");else if("object"==typeof t){let i=[];for(let o in t)if(t.hasOwnProperty(o)){let a=t[o];i.push(o+":"+("string"==typeof a?JSON.stringify(a):W(a)))}s=`{${i.join(", ")}}`}return`${n}${r?"("+r+")":""}[${s}]: ${e.replace(_C,"\n ")}`}("\n"+e.message,s,n,r),e.ngTokenPath=s,e[Ri]=null,e}const xi=Yo(Se("Inject",e=>({token:e})),-1),Xr=Yo(Se("Optional"),8),Ss=Yo(Se("SkipSelf"),4);let hu;function Pi(e){var t;return(null===(t=function(){if(void 0===hu&&(hu=null,ut.trustedTypes))try{hu=ut.trustedTypes.createPolicy("angular",{createHTML:e=>e,createScript:e=>e,createScriptURL:e=>e})}catch(e){}return hu}())||void 0===t?void 0:t.createHTML(e))||e}class zs{constructor(t){this.changingThisBreaksApplicationSecurity=t}toString(){return`SafeValue must use [property]=binding: ${this.changingThisBreaksApplicationSecurity} (see https://g.co/ng/security#xss)`}}class PC extends zs{getTypeName(){return"HTML"}}class OC extends zs{getTypeName(){return"Style"}}class FC extends zs{getTypeName(){return"Script"}}class LC extends zs{getTypeName(){return"URL"}}class kC extends zs{getTypeName(){return"ResourceURL"}}function es(e){return e instanceof zs?e.changingThisBreaksApplicationSecurity:e}function Oi(e,t){const n=pf(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}function pf(e){return e instanceof zs&&e.getTypeName()||null}function VC(e){return new PC(e)}function jC(e){return new OC(e)}function BC(e){return new FC(e)}function UC(e){return new LC(e)}function HC(e){return new kC(e)}class $C{constructor(t){this.inertDocumentHelper=t}getInertBodyElement(t){t="<body><remove></remove>"+t;try{const n=(new window.DOMParser).parseFromString(Pi(t),"text/html").body;return null===n?this.inertDocumentHelper.getInertBodyElement(t):(n.removeChild(n.firstChild),n)}catch(n){return null}}}class GC{constructor(t){if(this.defaultDoc=t,this.inertDocument=this.defaultDoc.implementation.createHTMLDocument("sanitization-inert"),null==this.inertDocument.body){const n=this.inertDocument.createElement("html");this.inertDocument.appendChild(n);const r=this.inertDocument.createElement("body");n.appendChild(r)}}getInertBodyElement(t){const n=this.inertDocument.createElement("template");if("content"in n)return n.innerHTML=Pi(t),n;const r=this.inertDocument.createElement("body");return r.innerHTML=Pi(t),this.defaultDoc.documentMode&&this.stripCustomNsAttrs(r),r}stripCustomNsAttrs(t){const n=t.attributes;for(let s=n.length-1;0<s;s--){const o=n.item(s).name;("xmlns:ns1"===o||0===o.indexOf("ns1:"))&&t.removeAttribute(o)}let r=t.firstChild;for(;r;)r.nodeType===Node.ELEMENT_NODE&&this.stripCustomNsAttrs(r),r=r.nextSibling}}const WC=/^(?:(?:https?|mailto|ftp|tel|file|sms):|[^&:/?#]*(?:[/?#]|$))/gi,YC=/^data:(?:image\/(?:bmp|gif|jpeg|jpg|png|tiff|webp)|video\/(?:mpeg|mp4|ogg|webm)|audio\/(?:mp3|oga|ogg|opus));base64,[a-z0-9+\/]+=*$/i;function Qo(e){return(e=String(e)).match(WC)||e.match(YC)?e:"unsafe:"+e}function Rr(e){const t={};for(const n of e.split(","))t[n]=!0;return t}function qo(...e){const t={};for(const n of e)for(const r in n)n.hasOwnProperty(r)&&(t[r]=!0);return t}const yf=Rr("area,br,col,hr,img,wbr"),Cf=Rr("colgroup,dd,dt,li,p,tbody,td,tfoot,th,thead,tr"),_f=Rr("rp,rt"),Fl=qo(yf,qo(Cf,Rr("address,article,aside,blockquote,caption,center,del,details,dialog,dir,div,dl,figure,figcaption,footer,h1,h2,h3,h4,h5,h6,header,hgroup,hr,ins,main,map,menu,nav,ol,pre,section,summary,table,ul")),qo(_f,Rr("a,abbr,acronym,audio,b,bdi,bdo,big,br,cite,code,del,dfn,em,font,i,img,ins,kbd,label,map,mark,picture,q,ruby,rp,rt,s,samp,small,source,span,strike,strong,sub,sup,time,track,tt,u,var,video")),qo(_f,Cf)),Ll=Rr("background,cite,href,itemtype,longdesc,poster,src,xlink:href"),kl=Rr("srcset"),Ef=qo(Ll,kl,Rr("abbr,accesskey,align,alt,autoplay,axis,bgcolor,border,cellpadding,cellspacing,class,clear,color,cols,colspan,compact,controls,coords,datetime,default,dir,download,face,headers,height,hidden,hreflang,hspace,ismap,itemscope,itemprop,kind,label,lang,language,loop,media,muted,nohref,nowrap,open,preload,rel,rev,role,rows,rowspan,rules,scope,scrolling,shape,size,sizes,span,srclang,start,summary,tabindex,target,title,translate,type,usemap,valign,value,vspace,width"),Rr("aria-activedescendant,aria-atomic,aria-autocomplete,aria-busy,aria-checked,aria-colcount,aria-colindex,aria-colspan,aria-controls,aria-current,aria-describedby,aria-details,aria-disabled,aria-dropeffect,aria-errormessage,aria-expanded,aria-flowto,aria-grabbed,aria-haspopup,aria-hidden,aria-invalid,aria-keyshortcuts,aria-label,aria-labelledby,aria-level,aria-live,aria-modal,aria-multiline,aria-multiselectable,aria-orientation,aria-owns,aria-placeholder,aria-posinset,aria-pressed,aria-readonly,aria-relevant,aria-required,aria-roledescription,aria-rowcount,aria-rowindex,aria-rowspan,aria-selected,aria-setsize,aria-sort,aria-valuemax,aria-valuemin,aria-valuenow,aria-valuetext")),KC=Rr("script,style,template");class QC{constructor(){this.sanitizedSomething=!1,this.buf=[]}sanitizeChildren(t){let n=t.firstChild,r=!0;for(;n;)if(n.nodeType===Node.ELEMENT_NODE?r=this.startElement(n):n.nodeType===Node.TEXT_NODE?this.chars(n.nodeValue):this.sanitizedSomething=!0,r&&n.firstChild)n=n.firstChild;else for(;n;){n.nodeType===Node.ELEMENT_NODE&&this.endElement(n);let s=this.checkClobberedElement(n,n.nextSibling);if(s){n=s;break}n=this.checkClobberedElement(n,n.parentNode)}return this.buf.join("")}startElement(t){const n=t.nodeName.toLowerCase();if(!Fl.hasOwnProperty(n))return this.sanitizedSomething=!0,!KC.hasOwnProperty(n);this.buf.push("<"),this.buf.push(n);const r=t.attributes;for(let s=0;s<r.length;s++){const i=r.item(s),o=i.name,a=o.toLowerCase();if(!Ef.hasOwnProperty(a)){this.sanitizedSomething=!0;continue}let c=i.value;Ll[a]&&(c=Qo(c)),kl[a]&&(e=c,c=(e=String(e)).split(",").map(t=>Qo(t.trim())).join(", ")),this.buf.push(" ",o,'="',vf(c),'"')}var e;return this.buf.push(">"),!0}endElement(t){const n=t.nodeName.toLowerCase();Fl.hasOwnProperty(n)&&!yf.hasOwnProperty(n)&&(this.buf.push("</"),this.buf.push(n),this.buf.push(">"))}chars(t){this.buf.push(vf(t))}checkClobberedElement(t,n){if(n&&(t.compareDocumentPosition(n)&Node.DOCUMENT_POSITION_CONTAINED_BY)===Node.DOCUMENT_POSITION_CONTAINED_BY)throw new Error(`Failed to sanitize html because the element is clobbered: ${t.outerHTML}`);return n}}const qC=/[\uD800-\uDBFF][\uDC00-\uDFFF]/g,JC=/([^\#-~ |!])/g;function vf(e){return e.replace(/&/g,"&").replace(qC,function(t){return"&#"+(1024*(t.charCodeAt(0)-55296)+(t.charCodeAt(1)-56320)+65536)+";"}).replace(JC,function(t){return"&#"+t.charCodeAt(0)+";"}).replace(/</g,"<").replace(/>/g,">")}let gu;function Df(e,t){let n=null;try{gu=gu||function(e){const t=new GC(e);return function(){try{return!!(new window.DOMParser).parseFromString(Pi(""),"text/html")}catch(e){return!1}}()?new $C(t):t}(e);let r=t?String(t):"";n=gu.getInertBodyElement(r);let s=5,i=r;do{if(0===s)throw new Error("Failed to sanitize html because the input is unstable");s--,r=i,i=n.innerHTML,n=gu.getInertBodyElement(r)}while(r!==i);return Pi((new QC).sanitizeChildren(Vl(n)||n))}finally{if(n){const r=Vl(n)||n;for(;r.firstChild;)r.removeChild(r.firstChild)}}}function Vl(e){return"content"in e&&function(e){return e.nodeType===Node.ELEMENT_NODE&&"TEMPLATE"===e.nodeName}(e)?e.content:null}var Lt=(()=>((Lt=Lt||{})[Lt.NONE=0]="NONE",Lt[Lt.HTML=1]="HTML",Lt[Lt.STYLE=2]="STYLE",Lt[Lt.SCRIPT=3]="SCRIPT",Lt[Lt.URL=4]="URL",Lt[Lt.RESOURCE_URL=5]="RESOURCE_URL",Lt))();function jl(e){const t=function(){const e=Z();return e&&e[12]}();return t?t.sanitize(Lt.URL,e)||"":Oi(e,"URL")?es(e):Qo(he(e))}const If="__ngContext__";function hn(e,t){e[If]=t}function Ul(e){const t=function(e){return e[If]||null}(e);return t?Array.isArray(t)?t:t.lView:null}function mu(e){return e.ngOriginalError}function g_(e,...t){e.error(...t)}class Fi{constructor(){this._console=console}handleError(t){const n=this._findOriginalError(t),r=this._findContext(t),s=(e=t)&&e.ngErrorLogger||g_;var e;s(this._console,"ERROR",t),n&&s(this._console,"ORIGINAL ERROR",n),r&&s(this._console,"ERROR CONTEXT",r)}_findContext(t){return t?t.ngDebugContext||this._findContext(mu(t)):null}_findOriginalError(t){let n=t&&mu(t);for(;n&&mu(n);)n=mu(n);return n||null}}const Of=(()=>("undefined"!=typeof requestAnimationFrame&&requestAnimationFrame||setTimeout).bind(ut))();function Ar(e){return e instanceof Function?e():e}var xr=(()=>((xr=xr||{})[xr.Important=1]="Important",xr[xr.DashCase=2]="DashCase",xr))();function Gl(e,t){return undefined(e,t)}function Xo(e){const t=e[3];return on(t)?t[3]:t}function zl(e){return jf(e[13])}function Wl(e){return jf(e[4])}function jf(e){for(;null!==e&&!on(e);)e=e[4];return e}function ki(e,t,n,r,s){if(null!=r){let i,o=!1;on(r)?i=r:dn(r)&&(o=!0,r=r[0]);const a=$e(r);0===e&&null!==n?null==s?zf(t,n,a):Ws(t,n,a,s||null,!0):1===e&&null!==n?Ws(t,n,a,s||null,!0):2===e?function(e,t,n){const r=Cu(e,t);r&&function(e,t,n,r){xe(e)?e.removeChild(t,n,r):t.removeChild(n)}(e,r,t,n)}(t,a,o):3===e&&t.destroyNode(a),null!=i&&function(e,t,n,r,s){const i=n[7];i!==$e(n)&&ki(t,e,r,i,s);for(let a=10;a<n.length;a++){const c=n[a];ea(c[1],c,e,t,r,i)}}(t,e,i,n,s)}}function Kl(e,t,n){return xe(e)?e.createElement(t,n):null===n?e.createElement(t):e.createElementNS(n,t)}function Uf(e,t){const n=e[9],r=n.indexOf(t),s=t[3];1024&t[2]&&(t[2]&=-1025,Mo(s,-1)),n.splice(r,1)}function Ql(e,t){if(e.length<=10)return;const n=10+t,r=e[n];if(r){const s=r[17];null!==s&&s!==e&&Uf(s,r),t>0&&(e[n-1][4]=r[4]);const i=$s(e,10+t);!function(e,t){ea(e,t,t[11],2,null,null),t[0]=null,t[6]=null}(r[1],r);const o=i[Y];null!==o&&o.detachView(i[1]),r[3]=null,r[4]=null,r[2]&=-129}return r}function Hf(e,t){if(!(256&t[2])){const n=t[11];xe(n)&&n.destroyNode&&ea(e,t,n,3,null,null),function(e){let t=e[13];if(!t)return ql(e[1],e);for(;t;){let n=null;if(dn(t))n=t[13];else{const r=t[10];r&&(n=r)}if(!n){for(;t&&!t[4]&&t!==e;)dn(t)&&ql(t[1],t),t=t[3];null===t&&(t=e),dn(t)&&ql(t[1],t),n=t&&t[4]}t=n}}(t)}}function ql(e,t){if(!(256&t[2])){t[2]&=-129,t[2]|=256,function(e,t){let n;if(null!=e&&null!=(n=e.destroyHooks))for(let r=0;r<n.length;r+=2){const s=t[n[r]];if(!(s instanceof js)){const i=n[r+1];if(Array.isArray(i))for(let o=0;o<i.length;o+=2){const a=s[i[o]],c=i[o+1];try{c.call(a)}finally{}}else try{i.call(s)}finally{}}}}(e,t),function(e,t){const n=e.cleanup,r=t[7];let s=-1;if(null!==n)for(let i=0;i<n.length-1;i+=2)if("string"==typeof n[i]){const o=n[i+1],a="function"==typeof o?o(t):$e(t[o]),c=r[s=n[i+2]],h=n[i+3];"boolean"==typeof h?a.removeEventListener(n[i],c,h):h>=0?r[s=h]():r[s=-h].unsubscribe(),i+=2}else{const o=r[s=n[i+1]];n[i].call(o)}if(null!==r){for(let i=s+1;i<r.length;i++)r[i]();t[7]=null}}(e,t),1===t[1].type&&xe(t[11])&&t[11].destroy();const n=t[17];if(null!==n&&on(t[3])){n!==t[3]&&Uf(n,t);const r=t[Y];null!==r&&r.detachView(e)}}}function $f(e,t,n){return function(e,t,n){let r=t;for(;null!==r&&40&r.type;)r=(t=r).parent;if(null===r)return n[0];if(2&r.flags){const s=e.data[r.directiveStart].encapsulation;if(s===be.None||s===be.Emulated)return null}return Ot(r,n)}(e,t.parent,n)}function Ws(e,t,n,r,s){xe(e)?e.insertBefore(t,n,r,s):t.insertBefore(n,r,s)}function zf(e,t,n){xe(e)?e.appendChild(t,n):t.appendChild(n)}function Wf(e,t,n,r,s){null!==r?Ws(e,t,n,r,s):zf(e,t,n)}function Cu(e,t){return xe(e)?e.parentNode(t):t.parentNode}let Qf=function(e,t,n){return 40&e.type?Ot(e,n):null};function _u(e,t,n,r){const s=$f(e,r,t),i=t[11],a=function(e,t,n){return Qf(e,t,n)}(r.parent||t[6],r,t);if(null!=s)if(Array.isArray(n))for(let c=0;c<n.length;c++)Wf(i,s,n[c],a,!1);else Wf(i,s,n,a,!1)}function Eu(e,t){if(null!==t){const n=t.type;if(3&n)return Ot(t,e);if(4&n)return Zl(-1,e[t.index]);if(8&n){const r=t.child;if(null!==r)return Eu(e,r);{const s=e[t.index];return on(s)?Zl(-1,s):$e(s)}}if(32&n)return Gl(t,e)()||$e(e[t.index]);{const r=Jf(e,t);return null!==r?Array.isArray(r)?r[0]:Eu(Xo(e[M]),r):Eu(e,t.next)}}return null}function Jf(e,t){return null!==t?e[M][6].projection[t.projection]:null}function Zl(e,t){const n=10+e+1;if(n<t.length){const r=t[n],s=r[1].firstChild;if(null!==s)return Eu(r,s)}return t[7]}function Xl(e,t,n,r,s,i,o){for(;null!=n;){const a=r[n.index],c=n.type;if(o&&0===t&&(a&&hn($e(a),r),n.flags|=4),64!=(64&n.flags))if(8&c)Xl(e,t,n.child,r,s,i,!1),ki(t,e,s,a,i);else if(32&c){const h=Gl(n,r);let y;for(;y=h();)ki(t,e,s,y,i);ki(t,e,s,a,i)}else 16&c?Xf(e,t,r,n,s,i):ki(t,e,s,a,i);n=o?n.projectionNext:n.next}}function ea(e,t,n,r,s,i){Xl(n,r,e.firstChild,t,s,i,!1)}function Xf(e,t,n,r,s,i){const o=n[M],c=o[6].projection[r.projection];if(Array.isArray(c))for(let h=0;h<c.length;h++)ki(t,e,s,c[h],i);else Xl(e,t,c,o[3],s,i,!0)}function eh(e,t,n){xe(e)?e.setAttribute(t,"style",n):t.style.cssText=n}function ec(e,t,n){xe(e)?""===n?e.removeAttribute(t,"class"):e.setAttribute(t,"class",n):t.className=n}function th(e,t,n){let r=e.length;for(;;){const s=e.indexOf(t,n);if(-1===s)return s;if(0===s||e.charCodeAt(s-1)<=32){const i=t.length;if(s+i===r||e.charCodeAt(s+i)<=32)return s}n=s+1}}const nh="ng-template";function U_(e,t,n){let r=0;for(;r<e.length;){let s=e[r++];if(n&&"class"===s){if(s=e[r],-1!==th(s.toLowerCase(),t,0))return!0}else if(1===s){for(;r<e.length&&"string"==typeof(s=e[r++]);)if(s.toLowerCase()===t)return!0;return!1}}return!1}function rh(e){return 4===e.type&&e.value!==nh}function H_(e,t,n){return t===(4!==e.type||n?e.value:nh)}function $_(e,t,n){let r=4;const s=e.attrs||[],i=function(e){for(let t=0;t<e.length;t++)if(vi(e[t]))return t;return e.length}(s);let o=!1;for(let a=0;a<t.length;a++){const c=t[a];if("number"!=typeof c){if(!o)if(4&r){if(r=2|1&r,""!==c&&!H_(e,c,n)||""===c&&1===t.length){if(sr(r))return!1;o=!0}}else{const h=8&r?c:t[++a];if(8&r&&null!==e.attrs){if(!U_(e.attrs,h,n)){if(sr(r))return!1;o=!0}continue}const v=G_(8&r?"class":c,s,rh(e),n);if(-1===v){if(sr(r))return!1;o=!0;continue}if(""!==h){let b;b=v>i?"":s[v+1].toLowerCase();const S=8&r?b:null;if(S&&-1!==th(S,h,0)||2&r&&h!==b){if(sr(r))return!1;o=!0}}}}else{if(!o&&!sr(r)&&!sr(c))return!1;if(o&&sr(c))continue;o=!1,r=c|1&r}}return sr(r)||o}function sr(e){return 0==(1&e)}function G_(e,t,n,r){if(null===t)return-1;let s=0;if(r||!n){let i=!1;for(;s<t.length;){const o=t[s];if(o===e)return s;if(3===o||6===o)i=!0;else{if(1===o||2===o){let a=t[++s];for(;"string"==typeof a;)a=t[++s];continue}if(4===o)break;if(0===o){s+=4;continue}}s+=i?1:2}return-1}return function(e,t){let n=e.indexOf(4);if(n>-1)for(n++;n<e.length;){const r=e[n];if("number"==typeof r)return-1;if(r===t)return n;n++}return-1}(t,e)}function sh(e,t,n=!1){for(let r=0;r<t.length;r++)if($_(e,t[r],n))return!0;return!1}function ih(e,t){return e?":not("+t.trim()+")":t}function Q_(e){let t=e[0],n=1,r=2,s="",i=!1;for(;n<e.length;){let o=e[n];if("string"==typeof o)if(2&r){const a=e[++n];s+="["+o+(a.length>0?'="'+a+'"':"")+"]"}else 8&r?s+="."+o:4&r&&(s+=" "+o);else""!==s&&!sr(o)&&(t+=ih(i,s),s=""),r=o,i=i||!sr(r);n++}return""!==s&&(t+=ih(i,s)),t}const Be={};function oh(e){ah(Xe(),Z(),Xt()+e,Qr())}function ah(e,t,n,r){if(!r)if(3==(3&t[2])){const i=e.preOrderCheckHooks;null!==i&&_i(t,i,n)}else{const i=e.preOrderHooks;null!==i&&_s(t,i,0,n)}nr(n)}function vu(e,t){return e<<17|t<<2}function ir(e){return e>>17&32767}function tc(e){return 2|e}function ts(e){return(131068&e)>>2}function nc(e,t){return-131069&e|t<<2}function rc(e){return 1|e}function yh(e,t){const n=e.contentQueries;if(null!==n)for(let r=0;r<n.length;r+=2){const s=n[r],i=n[r+1];if(-1!==i){const o=e.data[i];Po(s),o.contentQueries(2,t[i],i)}}}function ta(e,t,n,r,s,i,o,a,c,h){const y=t.blueprint.slice();return y[0]=s,y[2]=140|r,ka(y),y[3]=y[15]=e,y[8]=n,y[10]=o||e&&e[10],y[11]=a||e&&e[11],y[12]=c||e&&e[12]||null,y[9]=h||e&&e[9]||null,y[6]=i,y[M]=2==t.type?e[M]:y,y}function Vi(e,t,n,r,s){let i=e.data[t];if(null===i)i=function(e,t,n,r,s){const i=Ua(),o=gi(),c=e.data[t]=function(e,t,n,r,s,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:s,attrs:i,mergedAttrs:null,localNames:null,initialInputs:void 0,inputs:null,outputs:null,tViews:null,next:null,projectionNext:null,child:null,parent:t,projection:null,styles:null,stylesWithoutHost:null,residualStyles:void 0,classes:null,classesWithoutHost:null,residualClasses:void 0,classBindings:0,styleBindings:0}}(0,o?i:i&&i.parent,n,t,r,s);return null===e.firstChild&&(e.firstChild=c),null!==i&&(o?null==i.child&&null!==c.parent&&(i.child=c):null===i.next&&(i.next=c)),c}(e,t,n,r,s),ke.lFrame.inI18n&&(i.flags|=64);else if(64&i.type){i.type=n,i.value=r,i.attrs=s;const o=function(){const e=ke.lFrame,t=e.currentTNode;return e.isParent?t:t.parent}();i.injectorIndex=null===o?-1:o.injectorIndex}return Un(i,!0),i}function ji(e,t,n,r){if(0===n)return-1;const s=t.length;for(let i=0;i<n;i++)t.push(r),e.blueprint.push(r),e.data.push(null);return s}function na(e,t,n){yi(t);try{const r=e.viewQuery;null!==r&&_c(1,r,n);const s=e.template;null!==s&&Ch(e,t,s,1,n),e.firstCreatePass&&(e.firstCreatePass=!1),e.staticContentQueries&&yh(e,t),e.staticViewQueries&&_c(2,e.viewQuery,n);const i=e.components;null!==i&&function(e,t){for(let n=0;n<t.length;n++)ME(e,t[n])}(t,i)}catch(r){throw e.firstCreatePass&&(e.incompleteFirstPass=!0,e.firstCreatePass=!1),r}finally{t[2]&=-5,Fo()}}function Bi(e,t,n,r){const s=t[2];if(256==(256&s))return;yi(t);const i=Qr();try{ka(t),function(e){ke.lFrame.bindingIndex=e}(e.bindingStartIndex),null!==n&&Ch(e,t,n,2,r);const o=3==(3&s);if(!i)if(o){const h=e.preOrderCheckHooks;null!==h&&_i(t,h,null)}else{const h=e.preOrderHooks;null!==h&&_s(t,h,0,null),Ei(t,0)}if(function(e){for(let t=zl(e);null!==t;t=Wl(t)){if(!t[2])continue;const n=t[9];for(let r=0;r<n.length;r++){const s=n[r],i=s[3];0==(1024&s[2])&&Mo(i,1),s[2]|=1024}}}(t),function(e){for(let t=zl(e);null!==t;t=Wl(t))for(let n=10;n<t.length;n++){const r=t[n],s=r[1];ys(r)&&Bi(s,r,s.template,r[8])}}(t),null!==e.contentQueries&&yh(e,t),!i)if(o){const h=e.contentCheckHooks;null!==h&&_i(t,h)}else{const h=e.contentHooks;null!==h&&_s(t,h,1),Ei(t,1)}!function(e,t){const n=e.hostBindingOpCodes;if(null!==n)try{for(let r=0;r<n.length;r++){const s=n[r];if(s<0)nr(~s);else{const i=s,o=n[++r],a=n[++r];dl(o,i),a(2,t[i])}}}finally{nr(-1)}}(e,t);const a=e.components;null!==a&&function(e,t){for(let n=0;n<t.length;n++)SE(e,t[n])}(t,a);const c=e.viewQuery;if(null!==c&&_c(2,c,r),!i)if(o){const h=e.viewCheckHooks;null!==h&&_i(t,h)}else{const h=e.viewHooks;null!==h&&_s(t,h,2),Ei(t,2)}!0===e.firstUpdatePass&&(e.firstUpdatePass=!1),i||(t[2]&=-73),1024&t[2]&&(t[2]&=-1025,Mo(t[3],-1))}finally{Fo()}}function uE(e,t,n,r){const s=t[10],i=!Qr(),o=ms(t);try{i&&!o&&s.begin&&s.begin(),o&&na(e,t,r),Bi(e,t,n,r)}finally{i&&!o&&s.end&&s.end()}}function Ch(e,t,n,r,s){const i=Xt(),o=2&r;try{nr(-1),o&&t.length>20&&ah(e,t,20,Qr()),n(r,s)}finally{nr(i)}}function dc(e,t,n){!Ao()||(function(e,t,n,r){const s=n.directiveStart,i=n.directiveEnd;e.firstCreatePass||Us(n,t),hn(r,t);const o=n.initialInputs;for(let a=s;a<i;a++){const c=e.data[a],h=fn(c);h&&DE(t,n,c);const y=Is(t,e,a,n);hn(y,t),null!==o&&bE(0,a-s,y,c,0,o),h&&(Ut(n.index,t)[8]=y)}}(e,t,n,Ot(n,t)),128==(128&n.flags)&&function(e,t,n){const r=n.directiveStart,s=n.directiveEnd,o=n.index,a=ke.lFrame.currentDirectiveIndex;try{nr(o);for(let c=r;c<s;c++){const h=e.data[c],y=t[c];xo(c),(null!==h.hostBindings||0!==h.hostVars||null!==h.hostAttrs)&&Sh(h,y)}}finally{nr(-1),xo(a)}}(e,t,n))}function fc(e,t,n=Ot){const r=t.localNames;if(null!==r){let s=t.index+1;for(let i=0;i<r.length;i+=2){const o=r[i+1],a=-1===o?n(t,e):e[o];e[s++]=a}}}function Eh(e){const t=e.tView;return null===t||t.incompleteFirstPass?e.tView=wu(1,null,e.template,e.decls,e.vars,e.directiveDefs,e.pipeDefs,e.viewQuery,e.schemas,e.consts):t}function wu(e,t,n,r,s,i,o,a,c,h){const y=20+r,v=y+s,b=function(e,t){const n=[];for(let r=0;r<t;r++)n.push(r<e?null:Be);return n}(y,v),S="function"==typeof h?h():h;return b[1]={type:e,blueprint:b,template:n,queries:null,viewQuery:a,declTNode:t,data:b.slice().fill(null,y),bindingStartIndex:y,expandoStartIndex:v,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 o?o():o,firstChild:null,schemas:c,consts:S,incompleteFirstPass:!1}}function bh(e,t,n,r){const s=Ph(t);null===n?s.push(r):(s.push(n),e.firstCreatePass&&Oh(e).push(r,s.length-1))}function wh(e,t,n){for(let r in e)if(e.hasOwnProperty(r)){const s=e[r];(n=null===n?{}:n).hasOwnProperty(r)?n[r].push(t,s):n[r]=[t,s]}return n}function On(e,t,n,r,s,i,o,a){const c=Ot(t,n);let y,h=t.inputs;!a&&null!=h&&(y=h[r])?(kh(e,n,y,r,s),Bn(t)&&function(e,t){const n=Ut(t,e);16&n[2]||(n[2]|=64)}(n,t.index)):3&t.type&&(r=function(e){return"class"===e?"className":"for"===e?"htmlFor":"formaction"===e?"formAction":"innerHtml"===e?"innerHTML":"readonly"===e?"readOnly":"tabindex"===e?"tabIndex":e}(r),s=null!=o?o(s,t.value||"",r):s,xe(i)?i.setProperty(c,r,s):Tr(r)||(c.setProperty?c.setProperty(r,s):c[r]=s))}function hc(e,t,n,r){let s=!1;if(Ao()){const i=function(e,t,n){const r=e.directiveRegistry;let s=null;if(r)for(let i=0;i<r.length;i++){const o=r[i];sh(n,o.selectors,!1)&&(s||(s=[]),Ti(Us(n,t),e,o.type),fn(o)?(Mh(e,n),s.unshift(o)):s.push(o))}return s}(e,t,n),o=null===r?null:{"":-1};if(null!==i){s=!0,Rh(n,e.data.length,i.length);for(let y=0;y<i.length;y++){const v=i[y];v.providersResolver&&v.providersResolver(v)}let a=!1,c=!1,h=ji(e,t,i.length,null);for(let y=0;y<i.length;y++){const v=i[y];n.mergedAttrs=Di(n.mergedAttrs,v.hostAttrs),Ah(e,n,t,h,v),vE(h,v,o),null!==v.contentQueries&&(n.flags|=8),(null!==v.hostBindings||null!==v.hostAttrs||0!==v.hostVars)&&(n.flags|=128);const b=v.type.prototype;!a&&(b.ngOnChanges||b.ngOnInit||b.ngDoCheck)&&((e.preOrderHooks||(e.preOrderHooks=[])).push(n.index),a=!0),!c&&(b.ngOnChanges||b.ngDoCheck)&&((e.preOrderCheckHooks||(e.preOrderCheckHooks=[])).push(n.index),c=!0),h++}!function(e,t){const r=t.directiveEnd,s=e.data,i=t.attrs,o=[];let a=null,c=null;for(let h=t.directiveStart;h<r;h++){const y=s[h],v=y.inputs,b=null===i||rh(t)?null:wE(v,i);o.push(b),a=wh(v,h,a),c=wh(y.outputs,h,c)}null!==a&&(a.hasOwnProperty("class")&&(t.flags|=16),a.hasOwnProperty("style")&&(t.flags|=32)),t.initialInputs=o,t.inputs=a,t.outputs=c}(e,n)}o&&function(e,t,n){if(t){const r=e.localNames=[];for(let s=0;s<t.length;s+=2){const i=n[t[s+1]];if(null==i)throw new Mt("301",`Export of name '${t[s+1]}' not found!`);r.push(t[s],i)}}}(n,r,o)}return n.mergedAttrs=Di(n.mergedAttrs,n.attrs),s}function Th(e,t,n,r,s,i){const o=i.hostBindings;if(o){let a=e.hostBindingOpCodes;null===a&&(a=e.hostBindingOpCodes=[]);const c=~t.index;(function(e){let t=e.length;for(;t>0;){const n=e[--t];if("number"==typeof n&&n<0)return n}return 0})(a)!=c&&a.push(c),a.push(r,s,o)}}function Sh(e,t){null!==e.hostBindings&&e.hostBindings(1,t)}function Mh(e,t){t.flags|=2,(e.components||(e.components=[])).push(t.index)}function vE(e,t,n){if(n){if(t.exportAs)for(let r=0;r<t.exportAs.length;r++)n[t.exportAs[r]]=e;fn(t)&&(n[""]=e)}}function Rh(e,t,n){e.flags|=1,e.directiveStart=t,e.directiveEnd=t+n,e.providerIndexes=t}function Ah(e,t,n,r,s){e.data[r]=s;const i=s.factory||(s.factory=br(s.type)),o=new js(i,fn(s),null);e.blueprint[r]=o,n[r]=o,Th(e,t,0,r,ji(e,n,s.hostVars,Be),s)}function DE(e,t,n){const r=Ot(t,e),s=Eh(n),i=e[10],o=Iu(e,ta(e,s,null,n.onPush?64:16,r,t,i,i.createRenderer(r,n),null,null));e[t.index]=o}function Nr(e,t,n,r,s,i){const o=Ot(e,t);!function(e,t,n,r,s,i,o){if(null==i)xe(e)?e.removeAttribute(t,s,n):t.removeAttribute(s);else{const a=null==o?he(i):o(i,r||"",s);xe(e)?e.setAttribute(t,s,a,n):n?t.setAttributeNS(n,s,a):t.setAttribute(s,a)}}(t[11],o,i,e.value,n,r,s)}function bE(e,t,n,r,s,i){const o=i[t];if(null!==o){const a=r.setInput;for(let c=0;c<o.length;){const h=o[c++],y=o[c++],v=o[c++];null!==a?r.setInput(n,v,h,y):n[y]=v}}}function wE(e,t){let n=null,r=0;for(;r<t.length;){const s=t[r];if(0!==s)if(5!==s){if("number"==typeof s)break;e.hasOwnProperty(s)&&(null===n&&(n=[]),n.push(s,e[s],t[r+1])),r+=2}else r+=2;else r+=4}return n}function xh(e,t,n,r){return new Array(e,!0,!1,t,null,0,r,n,null,null)}function SE(e,t){const n=Ut(t,e);if(ys(n)){const r=n[1];80&n[2]?Bi(r,n,r.template,n[8]):n[5]>0&&gc(n)}}function gc(e){for(let r=zl(e);null!==r;r=Wl(r))for(let s=10;s<r.length;s++){const i=r[s];if(1024&i[2]){const o=i[1];Bi(o,i,o.template,i[8])}else i[5]>0&&gc(i)}const n=e[1].components;if(null!==n)for(let r=0;r<n.length;r++){const s=Ut(n[r],e);ys(s)&&s[5]>0&&gc(s)}}function ME(e,t){const n=Ut(t,e),r=n[1];(function(e,t){for(let n=t.length;n<e.blueprint.length;n++)t.push(e.blueprint[n])})(r,n),na(r,n,n[8])}function Iu(e,t){return e[13]?e[14][4]=t:e[13]=t,e[14]=t,t}function mc(e){for(;e;){e[2]|=64;const t=Xo(e);if(Co(e)&&!t)return e;e=t}return null}function Cc(e,t,n){const r=t[10];r.begin&&r.begin();try{Bi(e,t,e.template,n)}catch(s){throw Lh(t,s),s}finally{r.end&&r.end()}}function Nh(e){!function(e){for(let t=0;t<e.components.length;t++){const n=e.components[t],r=Ul(n),s=r[1];uE(s,r,s.template,n)}}(e[8])}function _c(e,t,n){Po(0),t(e,n)}const PE=(()=>Promise.resolve(null))();function Ph(e){return e[7]||(e[7]=[])}function Oh(e){return e.cleanup||(e.cleanup=[])}function Lh(e,t){const n=e[9],r=n?n.get(Fi,null):null;r&&r.handleError(t)}function kh(e,t,n,r,s){for(let i=0;i<n.length;){const o=n[i++],a=n[i++],c=t[o],h=e.data[o];null!==h.setInput?h.setInput(c,s,r,a):c[a]=s}}function rs(e,t,n){const r=Nn(t,e);!function(e,t,n){xe(e)?e.setValue(t,n):t.textContent=n}(e[11],r,n)}function Tu(e,t,n){let r=n?e.styles:null,s=n?e.classes:null,i=0;if(null!==t)for(let o=0;o<t.length;o++){const a=t[o];"number"==typeof a?i=a:1==i?s=Re(s,a):2==i&&(r=Re(r,a+": "+t[++o]+";"))}n?e.styles=r:e.stylesWithoutHost=r,n?e.classes=s:e.classesWithoutHost=s}const Ui=new rt("INJECTOR",-1);class Vh{get(t,n=zo){if(n===zo){const r=new Error(`NullInjectorError: No provider for ${W(t)}!`);throw r.name="NullInjectorError",r}return n}}const ra=new rt("Set Injector scope."),sa={},LE={};let Ec;function jh(){return void 0===Ec&&(Ec=new Vh),Ec}function Bh(e,t=null,n=null,r){return new VE(e,n,t||jh(),r)}class VE{constructor(t,n,r,s=null){this.parent=r,this.records=new Map,this.injectorDefTypes=new Set,this.onDestroy=new Set,this._destroyed=!1;const i=[];n&&Mr(n,a=>this.processProvider(a,t,n)),Mr([t],a=>this.processInjectorType(a,[],i)),this.records.set(Ui,Hi(void 0,this));const o=this.records.get(ra);this.scope=null!=o?o.value:null,this.source=s||("object"==typeof t?null:W(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=zo,r=j.Default){this.assertNotDestroyed();const s=Ai(this),i=pe(void 0);try{if(!(r&j.SkipSelf)){let a=this.records.get(t);if(void 0===a){const c=("function"==typeof(e=t)||"object"==typeof e&&e instanceof rt)&&rn(t);a=c&&this.injectableDefInScope(c)?Hi(vc(t),sa):null,this.records.set(t,a)}if(null!=a)return this.hydrate(t,a)}return(r&j.Self?jh():this.parent).get(t,n=r&j.Optional&&n===zo?null:n)}catch(o){if("NullInjectorError"===o.name){if((o[Ri]=o[Ri]||[]).unshift(W(t)),s)throw o;return of(o,t,"R3InjectorError",this.source)}throw o}finally{pe(i),Ai(s)}var e}_resolveInjectorDefTypes(){this.injectorDefTypes.forEach(t=>this.get(t))}toString(){const t=[];return this.records.forEach((r,s)=>t.push(W(s))),`R3Injector[${t.join(", ")}]`}assertNotDestroyed(){if(this._destroyed)throw new Error("Injector has already been destroyed.")}processInjectorType(t,n,r){if(!(t=fe(t)))return!1;let s=Br(t);const i=null==s&&t.ngModule||void 0,o=void 0===i?t:i,a=-1!==r.indexOf(o);if(void 0!==i&&(s=Br(i)),null==s)return!1;if(null!=s.imports&&!a){let y;r.push(o);try{Mr(s.imports,v=>{this.processInjectorType(v,n,r)&&(void 0===y&&(y=[]),y.push(v))})}finally{}if(void 0!==y)for(let v=0;v<y.length;v++){const{ngModule:b,providers:S}=y[v];Mr(S,P=>this.processProvider(P,b,S||qe))}}this.injectorDefTypes.add(o);const c=br(o)||(()=>new o);this.records.set(o,Hi(c,sa));const h=s.providers;if(null!=h&&!a){const y=t;Mr(h,v=>this.processProvider(v,y,h))}return void 0!==i&&void 0!==t.providers}processProvider(t,n,r){let s=$i(t=fe(t))?t:fe(t&&t.provide);const i=Hh(e=t)?Hi(void 0,e.useValue):Hi(function(e,t,n){let r;if($i(e)){const s=fe(e);return br(s)||vc(s)}if(Hh(e))r=()=>fe(e.useValue);else if(function(e){return!(!e||!e.useFactory)}(e))r=()=>e.useFactory(...Gs(e.deps||[]));else if(function(e){return!(!e||!e.useExisting)}(e))r=()=>Ht(fe(e.useExisting));else{const s=fe(e&&(e.useClass||e.provide));if(!function(e){return!!e.deps}(e))return br(s)||vc(s);r=()=>new s(...Gs(e.deps))}return r}(e),sa);var e;if($i(t)||!0!==t.multi)this.records.get(s);else{let o=this.records.get(s);o||(o=Hi(void 0,sa,!0),o.factory=()=>Gs(o.multi),this.records.set(s,o)),s=t,o.multi.push(t)}this.records.set(s,i)}hydrate(t,n){return n.value===sa&&(n.value=LE,n.value=n.factory()),"object"==typeof n.value&&n.value&&null!==(e=n.value)&&"object"==typeof e&&"function"==typeof e.ngOnDestroy&&this.onDestroy.add(n.value),n.value;var e}injectableDefInScope(t){if(!t.providedIn)return!1;const n=fe(t.providedIn);return"string"==typeof n?"any"===n||n===this.scope:this.injectorDefTypes.has(n)}}function vc(e){const t=rn(e),n=null!==t?t.factory:br(e);if(null!==n)return n;if(e instanceof rt)throw new Error(`Token ${W(e)} is missing a \u0275prov definition.`);if(e instanceof Function)return function(e){const t=e.length;if(t>0){const r=function(e,t){const n=[];for(let r=0;r<e;r++)n.push(t);return n}(t,"?");throw new Error(`Can't resolve all parameters for ${W(e)}: (${r.join(", ")}).`)}const n=function(e){const t=e&&(e[J]||e[F]);if(t){const n=function(e){if(e.hasOwnProperty("name"))return e.name;const t=(""+e).match(/^function\s*([^\s(]+)/);return null===t?"":t[1]}(e);return console.warn(`DEPRECATED: DI is instantiating a token "${n}" that inherits its @Injectable decorator but does not provide one itself.\nThis will become an error in a future version of Angular. Please add @Injectable() to the "${n}" class.`),t}return null}(e);return null!==n?()=>n.factory(e):()=>new e}(e);throw new Error("unreachable")}function Hi(e,t,n=!1){return{factory:e,value:t,multi:n?[]:void 0}}function Hh(e){return null!==e&&"object"==typeof e&&xl in e}function $i(e){return"function"==typeof e}const $h=function(e,t,n){return function(e,t=null,n=null,r){const s=Bh(e,t,n,r);return s._resolveInjectorDefTypes(),s}({name:n},t,e,n)};class yt{static create(t,n){return Array.isArray(t)?$h(t,n,""):$h(t.providers,t.parent,t.name||"")}}function iv(e,t){Ci(Ul(e)[1],Vt())}yt.THROW_IF_NOT_FOUND=zo,yt.NULL=new Vh,yt.\u0275prov=pt({token:yt,providedIn:"any",factory:()=>Ht(Ui)}),yt.__NG_ELEMENT_ID__=-1;let Su=null;function Gi(){if(!Su){const e=ut.Symbol;if(e&&e.iterator)Su=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&&(Su=r)}}}return Su}function oa(e){return!!Mc(e)&&(Array.isArray(e)||!(e instanceof Map)&&Gi()in e)}function Mc(e){return null!==e&&("function"==typeof e||"object"==typeof e)}function pn(e,t,n){return!Object.is(e[t],n)&&(e[t]=n,!0)}function Rc(e,t,n,r){const s=Z();return pn(s,$n(),t)&&(Xe(),Nr(St(),s,e,t,n,r)),Rc}function yp(e,t,n,r,s,i,o,a){const c=Z(),h=Xe(),y=e+20,v=h.firstCreatePass?function(e,t,n,r,s,i,o,a,c){const h=t.consts,y=Vi(t,e,4,o||null,wr(h,a));hc(t,n,y,wr(h,c)),Ci(t,y);const v=y.tViews=wu(2,y,r,s,i,t.directiveRegistry,t.pipeRegistry,null,t.schemas,h);return null!==t.queries&&(t.queries.template(t,y),v.queries=t.queries.embeddedTView(y)),y}(y,h,c,t,n,r,s,i,o):h.data[y];Un(v,!1);const b=c[11].createComment("");_u(h,c,b,v),hn(b,c),Iu(c,c[y]=xh(b,c,b,v)),Gr(v)&&dc(h,c,v),null!=o&&fc(c,v,a)}function ua(e,t=j.Default){const n=Z();return null===n?Ht(e,t):su(Vt(),n,fe(e),t)}function Oc(e,t,n){const r=Z();return pn(r,$n(),t)&&On(Xe(),St(),r,e,t,r[11],n,!1),Oc}function Fc(e,t,n,r,s){const o=s?"class":"style";kh(e,n,t.inputs[o],o,r)}function Lc(e,t,n,r){const s=Z(),i=Xe(),o=20+e,a=s[11],c=s[o]=Kl(a,t,ke.lFrame.currentNamespace),h=i.firstCreatePass?function(e,t,n,r,s,i,o){const a=t.consts,h=Vi(t,e,2,s,wr(a,i));return hc(t,n,h,wr(a,o)),null!==h.attrs&&Tu(h,h.attrs,!1),null!==h.mergedAttrs&&Tu(h,h.mergedAttrs,!0),null!==t.queries&&t.queries.elementStart(t,h),h}(o,i,s,0,t,n,r):i.data[o];Un(h,!0);const y=h.mergedAttrs;null!==y&&Ds(a,c,y);const v=h.classes;null!==v&&ec(a,c,v);const b=h.styles;null!==b&&eh(a,c,b),64!=(64&h.flags)&&_u(i,s,c,h),0===ke.lFrame.elementDepthCount&&hn(c,s),ke.lFrame.elementDepthCount++,Gr(h)&&(dc(i,s,h),function(e,t,n){if(_n(t)){const s=t.directiveEnd;for(let i=t.directiveStart;i<s;i++){const o=e.data[i];o.contentQueries&&o.contentQueries(1,n[i],i)}}}(i,h,s)),null!==r&&fc(s,h)}function kc(){let e=Vt();gi()?ke.lFrame.isParent=!1:(e=e.parent,Un(e,!1));const t=e;ke.lFrame.elementDepthCount--;const n=Xe();n.firstCreatePass&&(Ci(n,e),_n(e)&&n.queries.elementEnd(e)),null!=t.classesWithoutHost&&function(e){return 0!=(16&e.flags)}(t)&&Fc(n,t,Z(),t.classesWithoutHost,!0),null!=t.stylesWithoutHost&&function(e){return 0!=(32&e.flags)}(t)&&Fc(n,t,Z(),t.stylesWithoutHost,!1)}function Rp(e,t,n,r){Lc(e,t,n,r),kc()}function Vc(e){return!!e&&"function"==typeof e.then}function Np(e){return!!e&&"function"==typeof e.subscribe}const jc=Np;function Bc(e,t,n,r){const s=Z(),i=Xe(),o=Vt();return function(e,t,n,r,s,i,o,a){const c=Gr(r),y=e.firstCreatePass&&Oh(e),v=t[8],b=Ph(t);let S=!0;if(3&r.type||a){const V=Ot(r,t),ie=a?a(V):V,Q=b.length,Me=a?Le=>a($e(Le[r.index])):r.index;if(xe(n)){let Le=null;if(!a&&c&&(Le=function(e,t,n,r){const s=e.cleanup;if(null!=s)for(let i=0;i<s.length-1;i+=2){const o=s[i];if(o===n&&s[i+1]===r){const a=t[7],c=s[i+2];return a.length>c?a[c]:null}"string"==typeof o&&(i+=2)}return null}(e,t,s,r.index)),null!==Le)(Le.__ngLastListenerFn__||Le).__ngNextListenerFn__=i,Le.__ngLastListenerFn__=i,S=!1;else{i=Uc(r,t,v,i,!1);const Je=n.listen(ie,s,i);b.push(i,Je),y&&y.push(s,Me,Q,Q+1)}}else i=Uc(r,t,v,i,!0),ie.addEventListener(s,i,o),b.push(i),y&&y.push(s,Me,Q,o)}else i=Uc(r,t,v,i,!1);const P=r.outputs;let B;if(S&&null!==P&&(B=P[s])){const V=B.length;if(V)for(let ie=0;ie<V;ie+=2){const Kt=t[B[ie]][B[ie+1]].subscribe(i),Qn=b.length;b.push(i,Kt),y&&y.push(s,r.index,Qn,-(Qn+1))}}}(i,s,s[11],o,e,t,!!n,r),Bc}function Fp(e,t,n,r){try{return!1!==n(r)}catch(s){return Lh(e,s),!1}}function Uc(e,t,n,r,s){return function i(o){if(o===Function)return r;const a=2&e.flags?Ut(e.index,t):t;0==(32&t[2])&&mc(a);let c=Fp(t,0,r,o),h=i.__ngNextListenerFn__;for(;h;)c=Fp(t,0,h,o)&&c,h=h.__ngNextListenerFn__;return s&&!1===c&&(o.preventDefault(),o.returnValue=!1),c}}function Lp(e=1){return function(e){return(ke.lFrame.contextLView=function(e,t){for(;e>0;)t=t[15],e--;return t}(e,ke.lFrame.contextLView))[8]}(e)}function Wp(e,t,n,r,s){const i=e[n+1],o=null===t;let a=r?ir(i):ts(i),c=!1;for(;0!==a&&(!1===c||o);){const y=e[a+1];Jv(e[a],t)&&(c=!0,e[a+1]=r?rc(y):tc(y)),a=r?ir(y):ts(y)}c&&(e[n+1]=r?tc(i):rc(i))}function Jv(e,t){return null===e||null==t||(Array.isArray(e)?e[1]:e)===t||!(!Array.isArray(e)||"string"!=typeof t)&&Mi(e,t)>=0}const Yt={textEnd:0,key:0,keyEnd:0,value:0,valueEnd:0};function Yp(e){return e.substring(Yt.key,Yt.keyEnd)}function Kp(e,t){const n=Yt.textEnd;return n===t?-1:(t=Yt.keyEnd=function(e,t,n){for(;t<n&&e.charCodeAt(t)>32;)t++;return t}(e,Yt.key=t,n),to(e,t,n))}function to(e,t,n){for(;t<n&&e.charCodeAt(t)<=32;)t++;return t}function tg(e){!function(e,t,n,r){const s=Xe(),i=function(e){const t=ke.lFrame,n=t.bindingIndex;return t.bindingIndex=t.bindingIndex+e,n}(2);s.firstUpdatePass&&function(e,t,n,r){const s=e.data;if(null===s[n+1]){const i=s[Xt()],o=ng(e,n);ag(i,r)&&null===t&&!o&&(t=!1),t=function(e,t,n,r){const s=function(e){const t=ke.lFrame.currentDirectiveIndex;return-1===t?null:e[t]}(e);let i=r?t.residualClasses:t.residualStyles;if(null===s)0===(r?t.classBindings:t.styleBindings)&&(n=la(n=$c(null,e,t,n,r),t.attrs,r),i=null);else{const o=t.directiveStylingLast;if(-1===o||e[o]!==s)if(n=$c(s,e,t,n,r),null===i){let c=function(e,t,n){const r=n?t.classBindings:t.styleBindings;if(0!==ts(r))return e[ir(r)]}(e,t,r);void 0!==c&&Array.isArray(c)&&(c=$c(null,e,t,c[1],r),c=la(c,t.attrs,r),function(e,t,n,r){e[ir(n?t.classBindings:t.styleBindings)]=r}(e,t,r,c))}else i=function(e,t,n){let r;const s=t.directiveEnd;for(let i=1+t.directiveStylingLast;i<s;i++)r=la(r,e[i].hostAttrs,n);return la(r,t.attrs,n)}(e,t,r)}return void 0!==i&&(r?t.residualClasses=i:t.residualStyles=i),n}(s,i,t,r),function(e,t,n,r,s,i){let o=i?t.classBindings:t.styleBindings,a=ir(o),c=ts(o);e[r]=n;let y,h=!1;if(Array.isArray(n)){const v=n;y=v[1],(null===y||Mi(v,y)>0)&&(h=!0)}else y=n;if(s)if(0!==c){const b=ir(e[a+1]);e[r+1]=vu(b,a),0!==b&&(e[b+1]=nc(e[b+1],r)),e[a+1]=function(e,t){return 131071&e|t<<17}(e[a+1],r)}else e[r+1]=vu(a,0),0!==a&&(e[a+1]=nc(e[a+1],r)),a=r;else e[r+1]=vu(c,0),0===a?a=r:e[c+1]=nc(e[c+1],r),c=r;h&&(e[r+1]=tc(e[r+1])),Wp(e,y,r,!0),Wp(e,y,r,!1),function(e,t,n,r,s){const i=s?e.residualClasses:e.residualStyles;null!=i&&"string"==typeof t&&Mi(i,t)>=0&&(n[r+1]=rc(n[r+1]))}(t,y,e,r,i),o=vu(a,c),i?t.classBindings=o:t.styleBindings=o}(s,i,t,n,o,r)}}(s,null,i,r);const o=Z();if(n!==Be&&pn(o,i,n)){const a=s.data[Xt()];if(ag(a,r)&&!ng(s,i)){let c=r?a.classesWithoutHost:a.stylesWithoutHost;null!==c&&(n=Re(c,n||"")),Fc(s,a,o,n,r)}else!function(e,t,n,r,s,i,o,a){s===Be&&(s=qe);let c=0,h=0,y=0<s.length?s[0]:null,v=0<i.length?i[0]:null;for(;null!==y||null!==v;){const b=c<s.length?s[c+1]:void 0,S=h<i.length?i[h+1]:void 0;let B,P=null;y===v?(c+=2,h+=2,b!==S&&(P=v,B=S)):null===v||null!==y&&y<v?(c+=2,P=y):(h+=2,P=v,B=S),null!==P&&ig(e,t,n,r,P,B,o,a),y=c<s.length?s[c]:null,v=h<i.length?i[h]:null}}(s,a,o,o[11],o[i+1],o[i+1]=function(e,t,n){if(null==n||""===n)return qe;const r=[],s=es(n);if(Array.isArray(s))for(let i=0;i<s.length;i++)e(r,s[i],!0);else if("object"==typeof s)for(const i in s)s.hasOwnProperty(i)&&e(r,i,s[i]);else"string"==typeof s&&t(r,s);return r}(e,t,n),r,i)}}(Pn,Fr,e,!0)}function Fr(e,t){for(let n=function(e){return function(e){Yt.key=0,Yt.keyEnd=0,Yt.value=0,Yt.valueEnd=0,Yt.textEnd=e.length}(e),Kp(e,to(e,0,Yt.textEnd))}(t);n>=0;n=Kp(t,n))Pn(e,Yp(t),!0)}function ng(e,t){return t>=e.expandoStartIndex}function $c(e,t,n,r,s){let i=null;const o=n.directiveEnd;let a=n.directiveStylingLast;for(-1===a?a=n.directiveStart:a++;a<o&&(i=t[a],r=la(r,i.hostAttrs,s),i!==e);)a++;return null!==e&&(n.directiveStylingLast=a),r}function la(e,t,n){const r=n?1:2;let s=-1;if(null!==t)for(let i=0;i<t.length;i++){const o=t[i];"number"==typeof o?s=o:s===r&&(Array.isArray(e)||(e=void 0===e?[]:["",e]),Pn(e,o,!!n||t[++i]))}return void 0===e?null:e}function ig(e,t,n,r,s,i,o,a){if(!(3&t.type))return;const c=e.data,h=c[a+1];Au(function(e){return 1==(1&e)}(h)?og(c,t,n,s,ts(h),o):void 0)||(Au(i)||function(e){return 2==(2&e)}(h)&&(i=og(c,null,n,s,a,o)),function(e,t,n,r,s){const i=xe(e);if(t)s?i?e.addClass(n,r):n.classList.add(r):i?e.removeClass(n,r):n.classList.remove(r);else{let o=-1===r.indexOf("-")?void 0:xr.DashCase;if(null==s)i?e.removeStyle(n,r,o):n.style.removeProperty(r);else{const a="string"==typeof s&&s.endsWith("!important");a&&(s=s.slice(0,-10),o|=xr.Important),i?e.setStyle(n,r,s,o):n.style.setProperty(r,s,a?"important":"")}}}(r,o,Nn(Xt(),n),s,i))}function og(e,t,n,r,s,i){const o=null===t;let a;for(;s>0;){const c=e[s],h=Array.isArray(c),y=h?c[1]:c,v=null===y;let b=n[s+1];b===Be&&(b=v?qe:void 0);let S=v?Sl(b,r):y===r?b:void 0;if(h&&!Au(S)&&(S=Sl(c,r)),Au(S)&&(a=S,o))return a;const P=e[s+1];s=o?ir(P):ts(P)}if(null!==t){let c=i?t.residualClasses:t.residualStyles;null!=c&&(a=Sl(c,r))}return a}function Au(e){return void 0!==e}function ag(e,t){return 0!=(e.flags&(t?16:32))}function ug(e,t=""){const n=Z(),r=Xe(),s=e+20,i=r.firstCreatePass?Vi(r,s,1,t,null):r.data[s],o=n[s]=function(e,t){return xe(e)?e.createText(t):e.createTextNode(t)}(n[11],t);_u(r,n,o,i),Un(i,!1)}function xu(e,t,n){const r=Z(),s=function(e,t,n,r){return pn(e,$n(),n)?t+he(n)+r:Be}(r,e,t,n);return s!==Be&&rs(r,Xt(),s),xu}function Gc(e,t,n){const r=Z();return pn(r,$n(),t)&&On(Xe(),St(),r,e,t,r[11],n,!0),Gc}const Ks=void 0;var xD=["en",[["a","p"],["AM","PM"],Ks],[["AM","PM"],Ks,Ks],[["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"]],Ks,[["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"]],Ks,[["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}",Ks,"{1} 'at' {0}",Ks],[".",",",";","%","+","-","E","\xd7","\u2030","\u221e","NaN",":"],["#,##0.###","#,##0%","\xa4#,##0.00","#E0"],"USD","$","US Dollar",{},"ltr",function(e){const t=Math.floor(Math.abs(e)),n=e.toString().replace(/^[^.]*\.?/,"").length;return 1===t&&0===n?1:5}];let no={};function zc(e){const t=function(e){return e.toLowerCase().replace(/_/g,"-")}(e);let n=Rg(t);if(n)return n;const r=t.split("-")[0];if(n=Rg(r),n)return n;if("en"===r)return xD;throw new Error(`Missing locale data for the locale "${e}".`)}function Mg(e){return zc(e)[Ne.PluralCase]}function Rg(e){return e in no||(no[e]=ut.ng&&ut.ng.common&&ut.ng.common.locales&&ut.ng.common.locales[e]),no[e]}var Ne=(()=>((Ne=Ne||{})[Ne.LocaleId=0]="LocaleId",Ne[Ne.DayPeriodsFormat=1]="DayPeriodsFormat",Ne[Ne.DayPeriodsStandalone=2]="DayPeriodsStandalone",Ne[Ne.DaysFormat=3]="DaysFormat",Ne[Ne.DaysStandalone=4]="DaysStandalone",Ne[Ne.MonthsFormat=5]="MonthsFormat",Ne[Ne.MonthsStandalone=6]="MonthsStandalone",Ne[Ne.Eras=7]="Eras",Ne[Ne.FirstDayOfWeek=8]="FirstDayOfWeek",Ne[Ne.WeekendRange=9]="WeekendRange",Ne[Ne.DateFormat=10]="DateFormat",Ne[Ne.TimeFormat=11]="TimeFormat",Ne[Ne.DateTimeFormat=12]="DateTimeFormat",Ne[Ne.NumberSymbols=13]="NumberSymbols",Ne[Ne.NumberFormats=14]="NumberFormats",Ne[Ne.CurrencyCode=15]="CurrencyCode",Ne[Ne.CurrencySymbol=16]="CurrencySymbol",Ne[Ne.CurrencyName=17]="CurrencyName",Ne[Ne.Currencies=18]="Currencies",Ne[Ne.Directionality=19]="Directionality",Ne[Ne.PluralCase=20]="PluralCase",Ne[Ne.ExtraData=21]="ExtraData",Ne))();const Nu="en-US";let Ag=Nu;function Wc(e){Rt(e,"Expected localeId to be defined"),"string"==typeof e&&(Ag=e.toLowerCase().replace(/_/g,"-"))}class tm{}const rm="ngComponent";class Nb{resolveComponentFactory(t){throw function(e){const t=Error(`No component factory found for ${W(e)}. Did you add it to @NgModule.entryComponents?`);return t[rm]=e,t}(t)}}class Qs{}function ku(...e){}function so(e,t){return new Lr(Ot(e,t))}Qs.NULL=new Nb;const Fb=function(){return so(Vt(),Z())};let Lr=(()=>{class e{constructor(n){this.nativeElement=n}}return e.__NG_ELEMENT_ID__=Fb,e})();function sm(e){return e instanceof Lr?e.nativeElement:e}class Vu{}let Lb=(()=>{class e{}return e.__NG_ELEMENT_ID__=()=>Vb(),e})();const Vb=function(){const e=Z(),n=Ut(Vt().index,e);return function(e){return e[11]}(dn(n)?n:e)};let ed=(()=>{class e{}return e.\u0275prov=pt({token:e,providedIn:"root",factory:()=>null}),e})();class im{constructor(t){this.full=t,this.major=t.split(".")[0],this.minor=t.split(".")[1],this.patch=t.split(".").slice(2).join(".")}}const om=new im("12.2.3");class am{constructor(){}supports(t){return oa(t)}create(t){return new Hb(t)}}const Ub=(e,t)=>t;class Hb{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||Ub}forEachItem(t){let n;for(n=this._itHead;null!==n;n=n._next)t(n)}forEachOperation(t){let n=this._itHead,r=this._removalsHead,s=0,i=null;for(;n||r;){const o=!r||n&&n.currentIndex<lm(r,s,i)?n:r,a=lm(o,s,i),c=o.currentIndex;if(o===r)s--,r=r._nextRemoved;else if(n=n._next,null==o.previousIndex)s++;else{i||(i=[]);const h=a-s,y=c-s;if(h!=y){for(let b=0;b<h;b++){const S=b<i.length?i[b]:i[b]=0,P=S+b;y<=P&&P<h&&(i[b]=S+1)}i[o.previousIndex]=y-h}}a!==c&&t(o,a,c)}}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=[]),!oa(t))throw new Error(`Error trying to diff '${W(t)}'. Only arrays and iterables are allowed`);return this.check(t)?this:null}onDestroy(){}check(t){this._reset();let s,i,o,n=this._itHead,r=!1;if(Array.isArray(t)){this.length=t.length;for(let a=0;a<this.length;a++)i=t[a],o=this._trackByFn(a,i),null!==n&&Object.is(n.trackById,o)?(r&&(n=this._verifyReinsertion(n,i,o,a)),Object.is(n.item,i)||this._addIdentityChange(n,i)):(n=this._mismatch(n,i,o,a),r=!0),n=n._next}else s=0,function(e,t){if(Array.isArray(e))for(let n=0;n<e.length;n++)t(e[n]);else{const n=e[Gi()]();let r;for(;!(r=n.next()).done;)t(r.value)}}(t,a=>{o=this._trackByFn(s,a),null!==n&&Object.is(n.trackById,o)?(r&&(n=this._verifyReinsertion(n,a,o,s)),Object.is(n.item,a)||this._addIdentityChange(n,a)):(n=this._mismatch(n,a,o,s),r=!0),n=n._next,s++}),this.length=s;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,s){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,s)):null!==(t=null===this._linkedRecords?null:this._linkedRecords.get(r,s))?(Object.is(t.item,n)||this._addIdentityChange(t,n),this._moveAfter(t,i,s)):t=this._addAfter(new $b(n,r),i,s),t}_verifyReinsertion(t,n,r,s){let i=null===this._unlinkedRecords?null:this._unlinkedRecords.get(r,null);return null!==i?t=this._reinsertAfter(i,t._prev,s):t.currentIndex!=s&&(t.currentIndex=s,this._addToMoves(t,s)),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 s=t._prevRemoved,i=t._nextRemoved;return null===s?this._removalsHead=i:s._nextRemoved=i,null===i?this._removalsTail=s:i._prevRemoved=s,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 s=null===n?this._itHead:n._next;return t._next=s,t._prev=n,null===s?this._itTail=t:s._prev=t,null===n?this._itHead=t:n._next=t,null===this._linkedRecords&&(this._linkedRecords=new um),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 um),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 $b{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 Gb{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 um{constructor(){this.map=new Map}put(t){const n=t.trackById;let r=this.map.get(n);r||(r=new Gb,this.map.set(n,r)),r.add(t)}get(t,n){const s=this.map.get(t);return s?s.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 lm(e,t,n){const r=e.previousIndex;if(null===r)return r;let s=0;return n&&r<n.length&&(s=n[r]),r+t+s}class cm{constructor(){}supports(t){return t instanceof Map||Mc(t)}create(){return new zb}}class zb{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||Mc(t)))throw new Error(`Error trying to diff '${W(t)}'. Only maps and objects are allowed`)}else t=new Map;return this.check(t)?this:null}onDestroy(){}check(t){this._reset();let n=this._mapHead;if(this._appendAfter=null,this._forEach(t,(r,s)=>{if(n&&n.key===s)this._maybeAddToChanges(n,r),this._appendAfter=n,n=n._next;else{const i=this._getOrCreateRecordForKey(s,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 s=this._records.get(t);this._maybeAddToChanges(s,n);const i=s._prev,o=s._next;return i&&(i._next=o),o&&(o._prev=i),s._next=null,s._prev=null,s}const r=new Wb(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 Wb{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 dm(){return new ju([new am])}let ju=(()=>{class e{constructor(n){this.factories=n}static create(n,r){if(null!=r){const s=r.factories.slice();n=n.concat(s)}return new e(n)}static extend(n){return{provide:e,useFactory:r=>e.create(n,r||dm()),deps:[[e,new Ss,new Xr]]}}find(n){const r=this.factories.find(s=>s.supports(n));if(null!=r)return r;throw new Error(`Cannot find a differ supporting object '${n}' of type '${function(e){return e.name||typeof e}(n)}'`)}}return e.\u0275prov=pt({token:e,providedIn:"root",factory:dm}),e})();function fm(){return new Bu([new cm])}let Bu=(()=>{class e{constructor(n){this.factories=n}static create(n,r){if(r){const s=r.factories.slice();n=n.concat(s)}return new e(n)}static extend(n){return{provide:e,useFactory:r=>e.create(n,r||fm()),deps:[[e,new Ss,new Xr]]}}find(n){const r=this.factories.find(s=>s.supports(n));if(r)return r;throw new Error(`Cannot find a differ supporting object '${n}'`)}}return e.\u0275prov=pt({token:e,providedIn:"root",factory:fm}),e})();function Uu(e,t,n,r,s=!1){for(;null!==n;){const i=t[n.index];if(null!==i&&r.push($e(i)),on(i))for(let a=10;a<i.length;a++){const c=i[a],h=c[1].firstChild;null!==h&&Uu(c[1],c,h,r)}const o=n.type;if(8&o)Uu(e,t,n.child,r);else if(32&o){const a=Gl(n,t);let c;for(;c=a();)r.push(c)}else if(16&o){const a=Jf(t,n);if(Array.isArray(a))r.push(...a);else{const c=Xo(t[M]);Uu(c[1],c,a,r,!0)}}n=s?n.projectionNext:n.next}return r}class pa{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 Uu(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(on(t)){const n=t[8],r=n?n.indexOf(this):-1;r>-1&&(Ql(t,r),$s(n,r))}this._attachedToViewContainer=!1}Hf(this._lView[1],this._lView)}onDestroy(t){bh(this._lView[1],this._lView,null,t)}markForCheck(){mc(this._cdRefInjectingView||this._lView)}detach(){this._lView[2]&=-129}reattach(){this._lView[2]|=128}detectChanges(){Cc(this._lView[1],this._lView,this.context)}checkNoChanges(){!function(e,t,n){mi(!0);try{Cc(e,t,n)}finally{mi(!1)}}(this._lView[1],this._lView,this.context)}attachToViewContainerRef(){if(this._appRef)throw new Error("This view is already attached directly to the ApplicationRef!");this._attachedToViewContainer=!0}detachFromAppRef(){var t;this._appRef=null,ea(this._lView[1],t=this._lView,t[11],2,null,null)}attachToAppRef(t){if(this._attachedToViewContainer)throw new Error("This view is already attached to a ViewContainer!");this._appRef=t}}class Kb extends pa{constructor(t){super(t),this._view=t}detectChanges(){Nh(this._view)}checkNoChanges(){!function(e){mi(!0);try{Nh(e)}finally{mi(!1)}}(this._view)}get context(){return null}}const qb=function(e){return function(e,t,n){if(Bn(e)&&!n){const r=Ut(e.index,t);return new pa(r,r)}return 47&e.type?new pa(t[M],t):null}(Vt(),Z(),16==(16&e))};let Jb=(()=>{class e{}return e.__NG_ELEMENT_ID__=qb,e})();const ew=[new cm],nw=new ju([new am]),rw=new Bu(ew),iw=function(){return Hu(Vt(),Z())};let ga=(()=>{class e{}return e.__NG_ELEMENT_ID__=iw,e})();const ow=ga,aw=class extends ow{constructor(t,n,r){super(),this._declarationLView=t,this._declarationTContainer=n,this.elementRef=r}createEmbeddedView(t){const n=this._declarationTContainer.tViews,r=ta(this._declarationLView,n,t,16,null,n.declTNode,null,null,null,null);r[17]=this._declarationLView[this._declarationTContainer.index];const i=this._declarationLView[Y];return null!==i&&(r[Y]=i.createEmbeddedView(n)),na(n,r,t),new pa(r)}};function Hu(e,t){return 4&e.type?new aw(t,e,so(e,t)):null}class qs{}class hm{}const cw=function(){return mm(Vt(),Z())};let $u=(()=>{class e{}return e.__NG_ELEMENT_ID__=cw,e})();const fw=$u,pm=class extends fw{constructor(t,n,r){super(),this._lContainer=t,this._hostTNode=n,this._hostLView=r}get element(){return so(this._hostTNode,this._hostLView)}get injector(){return new l(this._hostTNode,this._hostLView)}get parentInjector(){const t=Ii(this._hostTNode,this._hostLView);if(bi(t)){const n=ws(t,this._hostLView),r=bs(t);return new l(n[1].data[r+8],n)}return new l(null,this._hostLView)}clear(){for(;this.length>0;)this.remove(this.length-1)}get(t){const n=gm(this._lContainer);return null!==n&&n[t]||null}get length(){return this._lContainer.length-10}createEmbeddedView(t,n,r){const s=t.createEmbeddedView(n||{});return this.insert(s,r),s}createComponent(t,n,r,s,i){const o=r||this.parentInjector;if(!i&&null==t.ngModule&&o){const c=o.get(qs,null);c&&(i=c)}const a=t.create(o,s,void 0,i);return this.insert(a.hostView,n),a}insert(t,n){const r=t._lView,s=r[1];if(on(r[3])){const y=this.indexOf(t);if(-1!==y)this.detach(y);else{const v=r[3],b=new pm(v,v[6],v[3]);b.detach(b.indexOf(t))}}const i=this._adjustIndex(n),o=this._lContainer;!function(e,t,n,r){const s=10+r,i=n.length;r>0&&(n[s-1][4]=t),r<i-10?(t[4]=n[s],lu(n,10+r,t)):(n.push(t),t[4]=null),t[3]=n;const o=t[17];null!==o&&n!==o&&function(e,t){const n=e[9];t[M]!==t[3][3][M]&&(e[2]=!0),null===n?e[9]=[t]:n.push(t)}(o,t);const a=t[Y];null!==a&&a.insertView(e),t[2]|=128}(s,r,o,i);const a=Zl(i,o),c=r[11],h=Cu(c,o[7]);return null!==h&&function(e,t,n,r,s,i){r[0]=s,r[6]=t,ea(e,r,n,1,s,i)}(s,o[6],c,r,h,a),t.attachToViewContainerRef(),lu(td(o),i,t),t}move(t,n){return this.insert(t,n)}indexOf(t){const n=gm(this._lContainer);return null!==n?n.indexOf(t):-1}remove(t){const n=this._adjustIndex(t,-1),r=Ql(this._lContainer,n);r&&($s(td(this._lContainer),n),Hf(r[1],r))}detach(t){const n=this._adjustIndex(t,-1),r=Ql(this._lContainer,n);return r&&null!=$s(td(this._lContainer),n)?new pa(r):null}_adjustIndex(t,n=0){return null==t?this.length+n:t}};function gm(e){return e[8]}function td(e){return e[8]||(e[8]=[])}function mm(e,t){let n;const r=t[e.index];if(on(r))n=r;else{let s;if(8&e.type)s=$e(r);else{const i=t[11];s=i.createComment("");const o=Ot(e,t);Ws(i,Cu(i,o),s,function(e,t){return xe(e)?e.nextSibling(t):t.nextSibling}(i,o),!1)}t[e.index]=n=xh(r,t,s,e),Iu(t,n)}return new pm(n,e,t)}const uo={};class Lm extends Qs{constructor(t){super(),this.ngModule=t}resolveComponentFactory(t){const n=Nt(t);return new Vm(n,this.ngModule)}}function km(e){const t=[];for(let n in e)e.hasOwnProperty(n)&&t.push({propName:e[n],templateName:n});return t}const u0=new rt("SCHEDULER_TOKEN",{providedIn:"root",factory:()=>Of});class Vm extends tm{constructor(t,n){super(),this.componentDef=t,this.ngModule=n,this.componentType=t.type,this.selector=t.selectors.map(Q_).join(","),this.ngContentSelectors=t.ngContentSelectors?t.ngContentSelectors:[],this.isBoundToModule=!!n}get inputs(){return km(this.componentDef.inputs)}get outputs(){return km(this.componentDef.outputs)}create(t,n,r,s){const i=(s=s||this.ngModule)?function(e,t){return{get:(n,r,s)=>{const i=e.get(n,uo,s);return i!==uo||r===uo?i:t.get(n,r,s)}}}(t,s.injector):t,o=i.get(Vu,mt),a=i.get(ed,null),c=o.createRenderer(null,this.componentDef),h=this.componentDef.selectors[0][0]||"div",y=r?function(e,t,n){if(xe(e))return e.selectRootElement(t,n===be.ShadowDom);let r="string"==typeof t?e.querySelector(t):t;return r.textContent="",r}(c,r,this.componentDef.encapsulation):Kl(o.createRenderer(null,this.componentDef),h,function(e){const t=e.toLowerCase();return"svg"===t?"http://www.w3.org/2000/svg":"math"===t?"http://www.w3.org/1998/MathML/":null}(h)),v=this.componentDef.onPush?576:528,b=function(e,t){return{components:[],scheduler:e||Of,clean:PE,playerHandler:t||null,flags:0}}(),S=wu(0,null,null,1,0,null,null,null,null,null),P=ta(null,S,b,v,null,null,o,c,a,i);let B,V;yi(P);try{const ie=function(e,t,n,r,s,i){const o=n[1];n[20]=e;const c=Vi(o,20,2,"#host",null),h=c.mergedAttrs=t.hostAttrs;null!==h&&(Tu(c,h,!0),null!==e&&(Ds(s,e,h),null!==c.classes&&ec(s,e,c.classes),null!==c.styles&&eh(s,e,c.styles)));const y=r.createRenderer(e,t),v=ta(n,Eh(t),null,t.onPush?64:16,n[20],c,r,y,i||null,null);return o.firstCreatePass&&(Ti(Us(c,n),o,t.type),Mh(o,c),Rh(c,n.length,1)),Iu(n,v),n[20]=v}(y,this.componentDef,P,o,c);if(y)if(r)Ds(c,y,["ng-version",om.full]);else{const{attrs:Q,classes:Me}=function(e){const t=[],n=[];let r=1,s=2;for(;r<e.length;){let i=e[r];if("string"==typeof i)2===s?""!==i&&t.push(i,e[++r]):8===s&&n.push(i);else{if(!sr(s))break;s=i}r++}return{attrs:t,classes:n}}(this.componentDef.selectors[0]);Q&&Ds(c,y,Q),Me&&Me.length>0&&ec(c,y,Me.join(" "))}if(V=Rn(S,20),void 0!==n){const Q=V.projection=[];for(let Me=0;Me<this.ngContentSelectors.length;Me++){const Le=n[Me];Q.push(null!=Le?Array.from(Le):null)}}B=function(e,t,n,r,s){const i=n[1],o=function(e,t,n){const r=Vt();e.firstCreatePass&&(n.providersResolver&&n.providersResolver(n),Ah(e,r,t,ji(e,t,1,null),n));const s=Is(t,e,r.directiveStart,r);hn(s,t);const i=Ot(r,t);return i&&hn(i,t),s}(i,n,t);if(r.components.push(o),e[8]=o,s&&s.forEach(c=>c(o,t)),t.contentQueries){const c=Vt();t.contentQueries(1,o,c.directiveStart)}const a=Vt();return!i.firstCreatePass||null===t.hostBindings&&null===t.hostAttrs||(nr(a.index),Th(n[1],a,0,a.directiveStart,a.directiveEnd,t),Sh(t,o)),o}(ie,this.componentDef,P,b,[iv]),na(S,P,null)}finally{Fo()}return new d0(this.componentType,B,so(V,P),P,V)}}class d0 extends class{}{constructor(t,n,r,s,i){super(),this.location=r,this._rootLView=s,this._tNode=i,this.instance=n,this.hostView=this.changeDetectorRef=new Kb(s),this.componentType=t}get injector(){return new l(this._tNode,this._rootLView)}destroy(){this.hostView.destroy()}onDestroy(t){this.hostView.onDestroy(t)}}const lo=new Map;class p0 extends qs{constructor(t,n){super(),this._parent=n,this._bootstrapComponents=[],this.injector=this,this.destroyCbs=[],this.componentFactoryResolver=new Lm(this);const r=Jt(t),s=t[Ur]||null;s&&Wc(s),this._bootstrapComponents=Ar(r.bootstrap),this._r3Injector=Bh(t,n,[{provide:qs,useValue:this},{provide:Qs,useValue:this.componentFactoryResolver}],W(t)),this._r3Injector._resolveInjectorDefTypes(),this.instance=this.get(t)}get(t,n=yt.THROW_IF_NOT_FOUND,r=j.Default){return t===yt||t===qs||t===Ui?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 pd extends hm{constructor(t){super(),this.moduleType=t,null!==Jt(t)&&function(e){const t=new Set;!function n(r){const s=Jt(r,!0),i=s.id;null!==i&&(function(e,t,n){if(t&&t!==n)throw new Error(`Duplicate module registered for ${e} - ${W(t)} vs ${W(t.name)}`)}(i,lo.get(i),r),lo.set(i,r));const o=Ar(s.imports);for(const a of o)t.has(a)||(t.add(a),n(a))}(e)}(t)}create(t){return new p0(this.moduleType,t)}}function gd(e){return t=>{setTimeout(e,void 0,t)}}const kr=class extends te.xQ{constructor(t=!1){super(),this.__isAsync=t}emit(t){super.next(t)}subscribe(t,n,r){var s,i,o;let a=t,c=n||(()=>null),h=r;if(t&&"object"==typeof t){const v=t;a=null===(s=v.next)||void 0===s?void 0:s.bind(v),c=null===(i=v.error)||void 0===i?void 0:i.bind(v),h=null===(o=v.complete)||void 0===o?void 0:o.bind(v)}this.__isAsync&&(c=gd(c),a&&(a=gd(a)),h&&(h=gd(h)));const y=super.subscribe({next:a,error:c,complete:h});return t instanceof de.w&&t.add(y),y}};function P0(){return this._results[Gi()]()}class Ku{constructor(t=!1){this._emitDistinctChangesOnly=t,this.dirty=!0,this._results=[],this._changesDetected=!1,this._changes=null,this.length=0,this.first=void 0,this.last=void 0;const n=Gi(),r=Ku.prototype;r[n]||(r[n]=P0)}get changes(){return this._changes||(this._changes=new kr)}get(t){return this._results[t]}map(t){return this._results.map(t)}filter(t){return this._results.filter(t)}find(t){return this._results.find(t)}reduce(t,n){return this._results.reduce(t,n)}forEach(t){this._results.forEach(t)}some(t){return this._results.some(t)}toArray(){return this._results.slice()}toString(){return this._results.toString()}reset(t,n){const r=this;r.dirty=!1;const s=Gn(t);(this._changesDetected=!function(e,t,n){if(e.length!==t.length)return!1;for(let r=0;r<e.length;r++){let s=e[r],i=t[r];if(n&&(s=n(s),i=n(i)),i!==s)return!1}return!0}(r._results,s,n))&&(r._results=s,r.length=s.length,r.last=s[this.length-1],r.first=s[0])}notifyOnChanges(){this._changes&&(this._changesDetected||!this._emitDistinctChangesOnly)&&this._changes.emit(this)}setDirty(){this.dirty=!0}destroy(){this.changes.complete(),this.changes.unsubscribe()}}Symbol;class md{constructor(t){this.queryList=t,this.matches=null}clone(){return new md(this.queryList)}setDirty(){this.queryList.setDirty()}}class yd{constructor(t=[]){this.queries=t}createEmbeddedView(t){const n=t.queries;if(null!==n){const r=null!==t.contentQueries?t.contentQueries[0]:n.length,s=[];for(let i=0;i<r;i++){const o=n.getByIndex(i);s.push(this.queries[o.indexInDeclarationView].clone())}return new yd(s)}return null}insertView(t){this.dirtyQueriesWithMatches(t)}detachView(t){this.dirtyQueriesWithMatches(t)}dirtyQueriesWithMatches(t){for(let n=0;n<this.queries.length;n++)null!==ey(t,n).matches&&this.queries[n].setDirty()}}class Wm{constructor(t,n,r=null){this.predicate=t,this.flags=n,this.read=r}}class Cd{constructor(t=[]){this.queries=t}elementStart(t,n){for(let r=0;r<this.queries.length;r++)this.queries[r].elementStart(t,n)}elementEnd(t){for(let n=0;n<this.queries.length;n++)this.queries[n].elementEnd(t)}embeddedTView(t){let n=null;for(let r=0;r<this.length;r++){const s=null!==n?n.length:0,i=this.getByIndex(r).embeddedTView(t,s);i&&(i.indexInDeclarationView=r,null!==n?n.push(i):n=[i])}return null!==n?new Cd(n):null}template(t,n){for(let r=0;r<this.queries.length;r++)this.queries[r].template(t,n)}getByIndex(t){return this.queries[t]}get length(){return this.queries.length}track(t){this.queries.push(t)}}class _d{constructor(t,n=-1){this.metadata=t,this.matches=null,this.indexInDeclarationView=-1,this.crossesNgTemplate=!1,this._appliesToNextNode=!0,this._declarationNodeIndex=n}elementStart(t,n){this.isApplyingToNode(n)&&this.matchTNode(t,n)}elementEnd(t){this._declarationNodeIndex===t.index&&(this._appliesToNextNode=!1)}template(t,n){this.elementStart(t,n)}embeddedTView(t,n){return this.isApplyingToNode(t)?(this.crossesNgTemplate=!0,this.addMatch(-t.index,n),new _d(this.metadata)):null}isApplyingToNode(t){if(this._appliesToNextNode&&1!=(1&this.metadata.flags)){const n=this._declarationNodeIndex;let r=t.parent;for(;null!==r&&8&r.type&&r.index!==n;)r=r.parent;return n===(null!==r?r.index:-1)}return this._appliesToNextNode}matchTNode(t,n){const r=this.metadata.predicate;if(Array.isArray(r))for(let s=0;s<r.length;s++){const i=r[s];this.matchTNodeWithReadOption(t,n,L0(n,i)),this.matchTNodeWithReadOption(t,n,Si(n,t,i,!1,!1))}else r===ga?4&n.type&&this.matchTNodeWithReadOption(t,n,-1):this.matchTNodeWithReadOption(t,n,Si(n,t,r,!1,!1))}matchTNodeWithReadOption(t,n,r){if(null!==r){const s=this.metadata.read;if(null!==s)if(s===Lr||s===$u||s===ga&&4&n.type)this.addMatch(n.index,-2);else{const i=Si(n,t,s,!1,!1);null!==i&&this.addMatch(n.index,i)}else this.addMatch(n.index,r)}}addMatch(t,n){null===this.matches?this.matches=[t,n]:this.matches.push(t,n)}}function L0(e,t){const n=e.localNames;if(null!==n)for(let r=0;r<n.length;r+=2)if(n[r]===t)return n[r+1];return null}function V0(e,t,n,r){return-1===n?function(e,t){return 11&e.type?so(e,t):4&e.type?Hu(e,t):null}(t,e):-2===n?function(e,t,n){return n===Lr?so(t,e):n===ga?Hu(t,e):n===$u?mm(t,e):void 0}(e,t,r):Is(e,e[1],n,t)}function Ym(e,t,n,r){const s=t[Y].queries[r];if(null===s.matches){const i=e.data,o=n.matches,a=[];for(let c=0;c<o.length;c+=2){const h=o[c];a.push(h<0?null:V0(t,i[h],o[c+1],n.metadata.read))}s.matches=a}return s.matches}function Ed(e,t,n,r){const s=e.queries.getByIndex(n),i=s.matches;if(null!==i){const o=Ym(e,t,s,n);for(let a=0;a<i.length;a+=2){const c=i[a];if(c>0)r.push(o[a/2]);else{const h=i[a+1],y=t[-c];for(let v=10;v<y.length;v++){const b=y[v];b[17]===b[3]&&Ed(b[1],b,h,r)}if(null!==y[9]){const v=y[9];for(let b=0;b<v.length;b++){const S=v[b];Ed(S[1],S,h,r)}}}}}return r}function Km(e){const t=Z(),n=Xe(),r=Ga();Po(r+1);const s=ey(n,r);if(e.dirty&&ms(t)===(2==(2&s.metadata.flags))){if(null===s.matches)e.reset([]);else{const i=s.crossesNgTemplate?Ed(n,t,r,[]):Ym(n,t,s,r);e.reset(i,sm),e.notifyOnChanges()}return!0}return!1}function Qm(e,t,n){const r=Xe();r.firstCreatePass&&(Xm(r,new Wm(e,t,n),-1),2==(2&t)&&(r.staticViewQueries=!0)),Zm(r,Z(),t)}function qm(e,t,n,r){const s=Xe();if(s.firstCreatePass){const i=Vt();Xm(s,new Wm(t,n,r),i.index),function(e,t){const n=e.contentQueries||(e.contentQueries=[]);t!==(n.length?n[n.length-1]:-1)&&n.push(e.queries.length-1,t)}(s,e),2==(2&n)&&(s.staticContentQueries=!0)}Zm(s,Z(),n)}function Jm(){return e=Z(),t=Ga(),e[Y].queries[t].queryList;var e,t}function Zm(e,t,n){const r=new Ku(4==(4&n));bh(e,t,r,r.destroy),null===t[Y]&&(t[Y]=new yd),t[Y].queries.push(new md(r))}function Xm(e,t,n){null===e.queries&&(e.queries=new Cd),e.queries.track(new _d(t,n))}function ey(e,t){return e.queries.getByIndex(t)}const Td=new rt("Application Initializer");let fo=(()=>{class e{constructor(n){this.appInits=n,this.resolve=ku,this.reject=ku,this.initialized=!1,this.done=!1,this.donePromise=new Promise((r,s)=>{this.resolve=r,this.reject=s})}runInitializers(){if(this.initialized)return;const n=[],r=()=>{this.done=!0,this.resolve()};if(this.appInits)for(let s=0;s<this.appInits.length;s++){const i=this.appInits[s]();if(Vc(i))n.push(i);else if(jc(i)){const o=new Promise((a,c)=>{i.subscribe({complete:a,error:c})});n.push(o)}}Promise.all(n).then(()=>{r()}).catch(s=>{this.reject(s)}),0===n.length&&r(),this.initialized=!0}}return e.\u0275fac=function(n){return new(n||e)(Ht(Td,8))},e.\u0275prov=pt({token:e,factory:e.\u0275fac}),e})();const Cy=new rt("AppId"),gI={provide:Cy,useFactory:function(){return`${Sd()}${Sd()}${Sd()}`},deps:[]};function Sd(){return String.fromCharCode(97+Math.floor(25*Math.random()))}const _y=new rt("Platform Initializer"),Ey=new rt("Platform ID"),vy=new rt("appBootstrapListener");let Dy=(()=>{class e{log(n){console.log(n)}warn(n){console.warn(n)}}return e.\u0275fac=function(n){return new(n||e)},e.\u0275prov=pt({token:e,factory:e.\u0275fac}),e})();const Ju=new rt("LocaleId"),by=new rt("DefaultCurrencyCode");class yI{constructor(t,n){this.ngModuleFactory=t,this.componentFactories=n}}const Md=function(e){return new pd(e)},CI=Md,_I=function(e){return Promise.resolve(Md(e))},wy=function(e){const t=Md(e),r=Ar(Jt(e).declarations).reduce((s,i)=>{const o=Nt(i);return o&&s.push(new Vm(o)),s},[]);return new yI(t,r)},EI=wy,vI=function(e){return Promise.resolve(wy(e))};let Sa=(()=>{class e{constructor(){this.compileModuleSync=CI,this.compileModuleAsync=_I,this.compileModuleAndAllComponentsSync=EI,this.compileModuleAndAllComponentsAsync=vI}clearCache(){}clearCacheFor(n){}getModuleId(n){}}return e.\u0275fac=function(n){return new(n||e)},e.\u0275prov=pt({token:e,factory:e.\u0275fac}),e})();const wI=(()=>Promise.resolve(0))();function Rd(e){"undefined"==typeof Zone?wI.then(()=>{e&&e.apply(null,null)}):Zone.current.scheduleMicroTask("scheduleMicrotask",e)}class Fn{constructor({enableLongStackTrace:t=!1,shouldCoalesceEventChangeDetection:n=!1,shouldCoalesceRunChangeDetection:r=!1}){if(this.hasPendingMacrotasks=!1,this.hasPendingMicrotasks=!1,this.isStable=!0,this.onUnstable=new kr(!1),this.onMicrotaskEmpty=new kr(!1),this.onStable=new kr(!1),this.onError=new kr(!1),"undefined"==typeof Zone)throw new Error("In this configuration Angular requires Zone.js");Zone.assertZonePatched();const s=this;s._nesting=0,s._outer=s._inner=Zone.current,Zone.TaskTrackingZoneSpec&&(s._inner=s._inner.fork(new Zone.TaskTrackingZoneSpec)),t&&Zone.longStackTraceZoneSpec&&(s._inner=s._inner.fork(Zone.longStackTraceZoneSpec)),s.shouldCoalesceEventChangeDetection=!r&&n,s.shouldCoalesceRunChangeDetection=r,s.lastRequestAnimationFrameId=-1,s.nativeRequestAnimationFrame=function(){let e=ut.requestAnimationFrame,t=ut.cancelAnimationFrame;if("undefined"!=typeof Zone&&e&&t){const n=e[Zone.__symbol__("OriginalDelegate")];n&&(e=n);const r=t[Zone.__symbol__("OriginalDelegate")];r&&(t=r)}return{nativeRequestAnimationFrame:e,nativeCancelAnimationFrame:t}}().nativeRequestAnimationFrame,function(e){const t=()=>{!function(e){e.isCheckStableRunning||-1!==e.lastRequestAnimationFrameId||(e.lastRequestAnimationFrameId=e.nativeRequestAnimationFrame.call(ut,()=>{e.fakeTopEventTask||(e.fakeTopEventTask=Zone.root.scheduleEventTask("fakeTopEventTask",()=>{e.lastRequestAnimationFrameId=-1,xd(e),e.isCheckStableRunning=!0,Ad(e),e.isCheckStableRunning=!1},void 0,()=>{},()=>{})),e.fakeTopEventTask.invoke()}),xd(e))}(e)};e._inner=e._inner.fork({name:"angular",properties:{isAngularZone:!0},onInvokeTask:(n,r,s,i,o,a)=>{try{return Iy(e),n.invokeTask(s,i,o,a)}finally{(e.shouldCoalesceEventChangeDetection&&"eventTask"===i.type||e.shouldCoalesceRunChangeDetection)&&t(),Ty(e)}},onInvoke:(n,r,s,i,o,a,c)=>{try{return Iy(e),n.invoke(s,i,o,a,c)}finally{e.shouldCoalesceRunChangeDetection&&t(),Ty(e)}},onHasTask:(n,r,s,i)=>{n.hasTask(s,i),r===s&&("microTask"==i.change?(e._hasPendingMicrotasks=i.microTask,xd(e),Ad(e)):"macroTask"==i.change&&(e.hasPendingMacrotasks=i.macroTask))},onHandleError:(n,r,s,i)=>(n.handleError(s,i),e.runOutsideAngular(()=>e.onError.emit(i)),!1)})}(s)}static isInAngularZone(){return!0===Zone.current.get("isAngularZone")}static assertInAngularZone(){if(!Fn.isInAngularZone())throw new Error("Expected to be in Angular Zone, but it is not!")}static assertNotInAngularZone(){if(Fn.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,s){const i=this._inner,o=i.scheduleEventTask("NgZoneEvent: "+s,t,TI,ku,ku);try{return i.runTask(o,n,r)}finally{i.cancelTask(o)}}runGuarded(t,n,r){return this._inner.runGuarded(t,n,r)}runOutsideAngular(t){return this._outer.run(t)}}const TI={};function Ad(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 xd(e){e.hasPendingMicrotasks=!!(e._hasPendingMicrotasks||(e.shouldCoalesceEventChangeDetection||e.shouldCoalesceRunChangeDetection)&&-1!==e.lastRequestAnimationFrameId)}function Iy(e){e._nesting++,e.isStable&&(e.isStable=!1,e.onUnstable.emit(null))}function Ty(e){e._nesting--,Ad(e)}class RI{constructor(){this.hasPendingMicrotasks=!1,this.hasPendingMacrotasks=!1,this.isStable=!0,this.onUnstable=new kr,this.onMicrotaskEmpty=new kr,this.onStable=new kr,this.onError=new kr}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,s){return t.apply(n,r)}}let Sy=(()=>{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:()=>{Fn.assertNotInAngularZone(),Rd(()=>{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())Rd(()=>{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,s){let i=-1;r&&r>0&&(i=setTimeout(()=>{this._callbacks=this._callbacks.filter(o=>o.timeoutId!==i),n(this._didWork,this.getPendingTasks())},r)),this._callbacks.push({doneCb:n,timeoutId:i,updateCb:s})}whenStable(n,r,s){if(s&&!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,s),this._runCallbacksIfReady()}getPendingRequestCount(){return this._pendingCount}findProviders(n,r,s){return[]}}return e.\u0275fac=function(n){return new(n||e)(Ht(Fn))},e.\u0275prov=pt({token:e,factory:e.\u0275fac}),e})(),My=(()=>{class e{constructor(){this._applications=new Map,Nd.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 Nd.findTestabilityInTree(this,n,r)}}return e.\u0275fac=function(n){return new(n||e)},e.\u0275prov=pt({token:e,factory:e.\u0275fac}),e})();class AI{addToWindow(t){}findTestabilityInTree(t,n,r){return null}}function xI(e){Nd=e}let Nd=new AI,Ry=!0,Ay=!1;function NI(){if(Ay)throw new Error("Cannot enable prod mode after platform setup.");Ry=!1}let fr;const Ny=new rt("AllowMultipleToken");class jI{constructor(t,n){this.name=t,this.token=n}}function Py(e,t,n=[]){const r=`Platform: ${t}`,s=new rt(r);return(i=[])=>{let o=Oy();if(!o||o.injector.get(Ny,!1))if(e)e(n.concat(i).concat({provide:s,useValue:!0}));else{const a=n.concat(i).concat({provide:s,useValue:!0},{provide:ra,useValue:"platform"});!function(e){if(fr&&!fr.destroyed&&!fr.injector.get(Ny,!1))throw new Error("There can be only one platform. Destroy the previous one to create a new one.");fr=e.get(Fy);const t=e.get(_y,null);t&&t.forEach(n=>n())}(yt.create({providers:a,name:r}))}return function(e){const t=Oy();if(!t)throw new Error("No platform exists!");if(!t.injector.get(e,null))throw new Error("A platform with a different configuration has been created. Please destroy it first.");return t}(s)}}function Oy(){return fr&&!fr.destroyed?fr:null}let Fy=(()=>{class e{constructor(n){this._injector=n,this._modules=[],this._destroyListeners=[],this._destroyed=!1}bootstrapModuleFactory(n,r){const a=function(e,t){let n;return n="noop"===e?new RI:("zone.js"===e?void 0:e)||new Fn({enableLongStackTrace:(Ay=!0,Ry),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}),c=[{provide:Fn,useValue:a}];return a.run(()=>{const h=yt.create({providers:c,parent:this.injector,name:n.moduleType.name}),y=n.create(h),v=y.injector.get(Fi,null);if(!v)throw new Error("No ErrorHandler. Is platform module (BrowserModule) included?");return a.runOutsideAngular(()=>{const b=a.onError.subscribe({next:S=>{v.handleError(S)}});y.onDestroy(()=>{Pd(this._modules,y),b.unsubscribe()})}),function(e,t,n){try{const r=n();return Vc(r)?r.catch(s=>{throw t.runOutsideAngular(()=>e.handleError(s)),s}):r}catch(r){throw t.runOutsideAngular(()=>e.handleError(r)),r}}(v,a,()=>{const b=y.injector.get(fo);return b.runInitializers(),b.donePromise.then(()=>(Wc(y.injector.get(Ju,Nu)||Nu),this._moduleDoBootstrap(y),y))})})}bootstrapModule(n,r=[]){const s=Ly({},r);return function(e,t,n){const r=new pd(n);return Promise.resolve(r)}(0,0,n).then(i=>this.bootstrapModuleFactory(i,s))}_moduleDoBootstrap(n){const r=n.injector.get(Ma);if(n._bootstrapComponents.length>0)n._bootstrapComponents.forEach(s=>r.bootstrap(s));else{if(!n.instance.ngDoBootstrap)throw new Error(`The module ${W(n.instance.constructor)} was bootstrapped, but it does not declare "@NgModule.bootstrap" components nor a "ngDoBootstrap" method. Please define one of these.`);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 Error("The platform has already been destroyed!");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)(Ht(yt))},e.\u0275prov=pt({token:e,factory:e.\u0275fac}),e})();function Ly(e,t){return Array.isArray(t)?t.reduce(Ly,e):Object.assign(Object.assign({},e),t)}let Ma=(()=>{class e{constructor(n,r,s,i,o){this._zone=n,this._injector=r,this._exceptionHandler=s,this._componentFactoryResolver=i,this._initStatus=o,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 w.y(h=>{this._stable=this._zone.isStable&&!this._zone.hasPendingMacrotasks&&!this._zone.hasPendingMicrotasks,this._zone.runOutsideAngular(()=>{h.next(this._stable),h.complete()})}),c=new w.y(h=>{let y;this._zone.runOutsideAngular(()=>{y=this._zone.onStable.subscribe(()=>{Fn.assertNotInAngularZone(),Rd(()=>{!this._stable&&!this._zone.hasPendingMacrotasks&&!this._zone.hasPendingMicrotasks&&(this._stable=!0,h.next(!0))})})});const v=this._zone.onUnstable.subscribe(()=>{Fn.assertInAngularZone(),this._stable&&(this._stable=!1,this._zone.runOutsideAngular(()=>{h.next(!1)}))});return()=>{y.unsubscribe(),v.unsubscribe()}});this.isStable=function(...e){let t=Number.POSITIVE_INFINITY,n=null,r=e[e.length-1];return(0,E.K)(r)?(n=e.pop(),e.length>1&&"number"==typeof e[e.length-1]&&(t=e.pop())):"number"==typeof r&&(t=e.pop()),null===n&&1===e.length&&e[0]instanceof w.y?e[0]:(0,ce.J)(t)((0,Ee.n)(e,n))}(a,c.pipe(e=>(0,$.x)()(function(e,t){return function(r){let s;s="function"==typeof e?e:function(){return e};const i=Object.create(r,re.N);return i.source=r,i.subjectFactory=s,i}}(z)(e))))}bootstrap(n,r){if(!this._initStatus.done)throw new Error("Cannot bootstrap as there are still asynchronous initializers running. Bootstrap components in the `ngDoBootstrap` method of the root module.");let s;s=n instanceof tm?n:this._componentFactoryResolver.resolveComponentFactory(n),this.componentTypes.push(s.componentType);const i=function(e){return e.isBoundToModule}(s)?void 0:this._injector.get(qs),a=s.create(yt.NULL,[],r||s.selector,i),c=a.location.nativeElement,h=a.injector.get(Sy,null),y=h&&a.injector.get(My);return h&&y&&y.registerApplication(c,h),a.onDestroy(()=>{this.detachView(a.hostView),Pd(this.components,a),y&&y.unregisterApplication(c)}),this._loadComponent(a),a}tick(){if(this._runningTick)throw new Error("ApplicationRef.tick is called recursively");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;Pd(this._views,r),r.detachFromAppRef()}_loadComponent(n){this.attachView(n.hostView),this.tick(),this.components.push(n),this._injector.get(vy,[]).concat(this._bootstrapListeners).forEach(s=>s(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)(Ht(Fn),Ht(yt),Ht(Fi),Ht(Qs),Ht(fo))},e.\u0275prov=pt({token:e,factory:e.\u0275fac}),e})();function Pd(e,t){const n=e.indexOf(t);n>-1&&e.splice(n,1)}class zI{}class YI{}const KI={factoryPathPrefix:"",factoryPathSuffix:".ngfactory"};let QI=(()=>{class e{constructor(n,r){this._compiler=n,this._config=r||KI}load(n){return this.loadAndCompile(n)}loadAndCompile(n){let[r,s]=n.split("#");return void 0===s&&(s="default"),x(8255)(r).then(i=>i[s]).then(i=>By(i,r,s)).then(i=>this._compiler.compileModuleAsync(i))}loadFactory(n){let[r,s]=n.split("#"),i="NgFactory";return void 0===s&&(s="default",i=""),x(8255)(this._config.factoryPathPrefix+r+this._config.factoryPathSuffix).then(o=>o[s+i]).then(o=>By(o,r,s))}}return e.\u0275fac=function(n){return new(n||e)(Ht(Sa),Ht(YI,8))},e.\u0275prov=pt({token:e,factory:e.\u0275fac}),e})();function By(e,t,n){if(!e)throw new Error(`Cannot find '${n}' in '${t}'`);return e}const rT=function(e){return null},iT=Py(null,"core",[{provide:Ey,useValue:"unknown"},{provide:Fy,deps:[yt]},{provide:My,deps:[]},{provide:Dy,deps:[]}]),cT=[{provide:Ma,useClass:Ma,deps:[Fn,yt,Fi,Qs,fo]},{provide:u0,deps:[Fn],useFactory:function(e){let t=[];return e.onStable.subscribe(()=>{for(;t.length;)t.pop()()}),function(n){t.push(n)}}},{provide:fo,useClass:fo,deps:[[new Xr,Td]]},{provide:Sa,useClass:Sa,deps:[]},gI,{provide:ju,useFactory:function(){return nw},deps:[]},{provide:Bu,useFactory:function(){return rw},deps:[]},{provide:Ju,useFactory:function(e){return Wc(e=e||"undefined"!=typeof $localize&&$localize.locale||Nu),e},deps:[[new xi(Ju),new Xr,new Ss]]},{provide:by,useValue:"USD"}];let fT=(()=>{class e{constructor(n){}}return e.\u0275fac=function(n){return new(n||e)(Ht(Ma))},e.\u0275mod=Dt({type:e}),e.\u0275inj=Ln({providers:cT}),e})()},6300:(Ve,ae,x)=>{"use strict";x.d(ae,{F0:()=>an,Bz:()=>Bo,lC:()=>bi});var w=x(6274),E=x(3606),ce=x(9582),Ee=x(7078);class ue extends ce.xQ{constructor(l){super(),this._value=l}get value(){return this.getValue()}_subscribe(l){const u=super._subscribe(l);return u&&!u.closed&&l.next(this._value),u}getValue(){if(this.hasError)throw this.thrownError;if(this.closed)throw new Ee.N;return this._value}next(l){super.next(this._value=l)}}var te=x(7204),de=x(9622),re=x(8744);class q extends re.L{notifyNext(l,u,f,m,_){this.destination.next(u)}notifyError(l,u){this.destination.error(l)}notifyComplete(l){this.destination.complete()}}class k extends re.L{constructor(l,u,f){super(),this.parent=l,this.outerValue=u,this.outerIndex=f,this.index=0}_next(l){this.parent.notifyNext(this.outerValue,l,this.outerIndex,this.index++,this)}_error(l){this.parent.notifyError(l,this),this.unsubscribe()}_complete(){this.parent.notifyComplete(this),this.unsubscribe()}}var $=x(7040),z=x(3948);function ne(d,l,u,f,m=new k(d,u,f)){if(!m.closed)return l instanceof z.y?l.subscribe(m):(0,$.s)(l)(m)}var se=x(6431);const Ce={};class Re{constructor(l){this.resultSelector=l}call(l,u){return u.subscribe(new et(l,this.resultSelector))}}class et extends q{constructor(l,u){super(l),this.resultSelector=u,this.active=0,this.values=[],this.observables=[]}_next(l){this.values.push(Ce),this.observables.push(l)}_complete(){const l=this.observables,u=l.length;if(0===u)this.destination.complete();else{this.active=u,this.toRespond=u;for(let f=0;f<u;f++)this.add(ne(this,l[f],void 0,f))}}notifyComplete(l){0==(this.active-=1)&&this.destination.complete()}notifyNext(l,u,f){const m=this.values,T=this.toRespond?m[f]===Ce?--this.toRespond:this.toRespond:0;m[f]=u,0===T&&(this.resultSelector?this._tryResultSelector(m):this.destination.next(m.slice()))}_tryResultSelector(l){let u;try{u=this.resultSelector.apply(this,l)}catch(f){return void this.destination.error(f)}this.destination.next(u)}}const fe=(()=>{function d(){return Error.call(this),this.message="no elements in sequence",this.name="EmptyError",this}return d.prototype=Object.create(Error.prototype),d})();var Ie=x(267),Qt=x(4540);function qn(...d){return(0,Qt.J)(1)((0,Ie.of)(...d))}var ot=x(2850),he=x(3974);function ze(d){return new z.y(l=>{let u;try{u=d()}catch(m){return void l.error(m)}return(u?(0,ot.D)(u):(0,he.c)()).subscribe(l)})}var st=x(955),Te=x(8561),oe=x(6790);function U(d,l){return"function"==typeof l?u=>u.pipe(U((f,m)=>(0,ot.D)(d(f,m)).pipe((0,Te.U)((_,T)=>l(f,_,m,T))))):u=>u.lift(new H(d))}class H{constructor(l){this.project=l}call(l,u){return u.subscribe(new De(l,this.project))}}class De extends oe.Ds{constructor(l,u){super(l),this.project=u,this.index=0}_next(l){let u;const f=this.index++;try{u=this.project(l,f)}catch(m){return void this.destination.error(m)}this._innerSub(u)}_innerSub(l){const u=this.innerSubscription;u&&u.unsubscribe();const f=new oe.IY(this),m=this.destination;m.add(f),this.innerSubscription=(0,oe.ft)(l,f),this.innerSubscription!==f&&m.add(this.innerSubscription)}_complete(){const{innerSubscription:l}=this;(!l||l.closed)&&super._complete(),this.unsubscribe()}_unsubscribe(){this.innerSubscription=void 0}notifyComplete(){this.innerSubscription=void 0,this.isStopped&&super._complete()}notifyNext(l){this.destination.next(l)}}function ht(d,l){let u=!1;return arguments.length>=2&&(u=!0),function(m){return m.lift(new Ct(d,l,u))}}class Ct{constructor(l,u,f=!1){this.accumulator=l,this.seed=u,this.hasSeed=f}call(l,u){return u.subscribe(new gr(l,this.accumulator,this.seed,this.hasSeed))}}class gr extends re.L{constructor(l,u,f,m){super(l),this.accumulator=u,this._seed=f,this.hasSeed=m,this.index=0}get seed(){return this._seed}set seed(l){this.hasSeed=!0,this._seed=l}_next(l){if(this.hasSeed)return this._tryNext(l);this.seed=l,this.destination.next(l)}_tryNext(l){const u=this.index++;let f;try{f=this.accumulator(this.seed,l,u)}catch(m){this.destination.error(m)}this.seed=f,this.destination.next(f)}}function yn(d){return function(u){const f=new os(d),m=u.lift(f);return f.caught=m}}class os{constructor(l){this.selector=l}call(l,u){return u.subscribe(new ti(l,this.selector,this.caught))}}class ti extends oe.Ds{constructor(l,u,f){super(l),this.selector=u,this.caught=f}error(l){if(!this.isStopped){let u;try{u=this.selector(l,this.caught)}catch(_){return void super.error(_)}this._unsubscribeAndRecycle();const f=new oe.IY(this);this.add(f);const m=(0,oe.ft)(u,f);m!==f&&this.add(m)}}}var un=x(3305),mr=x(9862);function nn(d){return function(u){return 0===d?(0,he.c)():u.lift(new Bt(d))}}class Bt{constructor(l){if(this.total=l,this.total<0)throw new mr.W}call(l,u){return u.subscribe(new Rt(l,this.total))}}class Rt extends re.L{constructor(l,u){super(l),this.total=u,this.ring=new Array,this.count=0}_next(l){const u=this.ring,f=this.total,m=this.count++;u.length<f?u.push(l):u[m%f]=l}_complete(){const l=this.destination;let u=this.count;if(u>0){const f=this.count>=this.total?this.total:this.count,m=this.ring;for(let _=0;_<f;_++){const T=u++%f;l.next(m[T])}}l.complete()}}function Qe(d=as){return l=>l.lift(new Jn(d))}class Jn{constructor(l){this.errorFactory=l}call(l,u){return u.subscribe(new Ns(l,this.errorFactory))}}class Ns extends re.L{constructor(l,u){super(l),this.errorFactory=u,this.hasValue=!1}_next(l){this.hasValue=!0,this.destination.next(l)}_complete(){if(this.hasValue)return this.destination.complete();{let l;try{l=this.errorFactory()}catch(u){l=u}this.destination.error(l)}}}function as(){return new fe}function pt(d=null){return l=>l.lift(new Vr(d))}class Vr{constructor(l){this.defaultValue=l}call(l,u){return u.subscribe(new Ln(l,this.defaultValue))}}class Ln extends re.L{constructor(l,u){super(l),this.defaultValue=u,this.isEmpty=!0}_next(l){this.isEmpty=!1,this.destination.next(l)}_complete(){this.isEmpty&&this.destination.next(this.defaultValue),this.destination.complete()}}var rn=x(7846),It=x(9917);function ln(d,l){const u=arguments.length>=2;return f=>f.pipe(d?(0,un.h)((m,_)=>d(m,_,f)):rn.y,(0,It.q)(1),u?pt(l):Qe(()=>new fe))}var Br=x(9734);class O{constructor(l){this.callback=l}call(l,u){return u.subscribe(new F(l,this.callback))}}class F extends re.L{constructor(l,u){super(l),this.add(new Br.w(u))}}var X=x(3748),j=x(6513),le=x(6286),ge=x(5290);class pe{constructor(l,u){this.id=l,this.url=u}}class He extends pe{constructor(l,u,f="imperative",m=null){super(l,u),this.navigationTrigger=f,this.restoredState=m}toString(){return`NavigationStart(id: ${this.id}, url: '${this.url}')`}}class _t extends pe{constructor(l,u,f){super(l,u),this.urlAfterRedirects=f}toString(){return`NavigationEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}')`}}class at extends pe{constructor(l,u,f){super(l,u),this.reason=f}toString(){return`NavigationCancel(id: ${this.id}, url: '${this.url}')`}}class vt extends pe{constructor(l,u,f){super(l,u),this.error=f}toString(){return`NavigationError(id: ${this.id}, url: '${this.url}', error: ${this.error})`}}class At extends pe{constructor(l,u,f,m){super(l,u),this.urlAfterRedirects=f,this.state=m}toString(){return`RoutesRecognized(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}}class Ye extends pe{constructor(l,u,f,m){super(l,u),this.urlAfterRedirects=f,this.state=m}toString(){return`GuardsCheckStart(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}}class be extends pe{constructor(l,u,f,m,_){super(l,u),this.urlAfterRedirects=f,this.state=m,this.shouldActivate=_}toString(){return`GuardsCheckEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state}, shouldActivate: ${this.shouldActivate})`}}class bn extends pe{constructor(l,u,f,m){super(l,u),this.urlAfterRedirects=f,this.state=m}toString(){return`ResolveStart(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}}class We extends pe{constructor(l,u,f,m){super(l,u),this.urlAfterRedirects=f,this.state=m}toString(){return`ResolveEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}}class xt{constructor(l){this.route=l}toString(){return`RouteConfigLoadStart(path: ${this.route.path})`}}class sn{constructor(l){this.route=l}toString(){return`RouteConfigLoadEnd(path: ${this.route.path})`}}class ut{constructor(l){this.snapshot=l}toString(){return`ChildActivationStart(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}}class Zn{constructor(l){this.snapshot=l}toString(){return`ChildActivationEnd(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}}class ni{constructor(l){this.snapshot=l}toString(){return`ActivationStart(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}}class An{constructor(l){this.snapshot=l}toString(){return`ActivationEnd(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}}class qe{constructor(l,u,f){this.routerEvent=l,this.position=u,this.anchor=f}toString(){return`Scroll(anchor: '${this.anchor}', position: '${this.position?`${this.position[0]}, ${this.position[1]}`:null}')`}}const Fe="primary";class yr{constructor(l){this.params=l||{}}has(l){return Object.prototype.hasOwnProperty.call(this.params,l)}get(l){if(this.has(l)){const u=this.params[l];return Array.isArray(u)?u[0]:u}return null}getAll(l){if(this.has(l)){const u=this.params[l];return Array.isArray(u)?u:[u]}return[]}get keys(){return Object.keys(this.params)}}function wn(d){return new yr(d)}const Cr="ngNavigationCancelingError";function Ur(d){const l=Error("NavigationCancelingError: "+d);return l[Cr]=!0,l}function _r(d,l,u){const f=u.path.split("/");if(f.length>d.length||"full"===u.pathMatch&&(l.hasChildren()||f.length<d.length))return null;const m={};for(let _=0;_<f.length;_++){const T=f[_],N=d[_];if(T.startsWith(":"))m[T.substring(1)]=N;else if(T!==N.path)return null}return{consumed:d.slice(0,f.length),posParams:m}}function qt(d,l){const u=d?Object.keys(d):void 0,f=l?Object.keys(l):void 0;if(!u||!f||u.length!=f.length)return!1;let m;for(let _=0;_<u.length;_++)if(m=u[_],!Os(d[m],l[m]))return!1;return!0}function Os(d,l){if(Array.isArray(d)&&Array.isArray(l)){if(d.length!==l.length)return!1;const u=[...d].sort(),f=[...l].sort();return u.every((m,_)=>f[_]===m)}return d===l}function Er(d){return Array.prototype.concat.apply([],d)}function $t(d){return d.length>0?d[d.length-1]:null}function Dt(d,l){for(const u in d)d.hasOwnProperty(u)&&l(d[u],u)}function Gt(d){return(0,E.CqO)(d)?d:(0,E.QGY)(d)?(0,ot.D)(Promise.resolve(d)):(0,Ie.of)(d)}const us={exact:function xn(d,l,u){if(!ct(d.segments,l.segments)||!me(d.segments,l.segments,u)||d.numberOfChildren!==l.numberOfChildren)return!1;for(const f in l.children)if(!d.children[f]||!xn(d.children[f],l.children[f],u))return!1;return!0},subset:Hr},ls={exact:function(d,l){return qt(d,l)},subset:function(d,l){return Object.keys(l).length<=Object.keys(d).length&&Object.keys(l).every(u=>Os(d[u],l[u]))},ignored:()=>!0};function Nt(d,l,u){return us[u.paths](d.root,l.root,u.matrixParams)&&ls[u.queryParams](d.queryParams,l.queryParams)&&!("exact"===u.fragment&&d.fragment!==l.fragment)}function Hr(d,l,u){return Zt(d,l,l.segments,u)}function Zt(d,l,u,f){if(d.segments.length>u.length){const m=d.segments.slice(0,u.length);return!(!ct(m,u)||l.hasChildren()||!me(m,u,f))}if(d.segments.length===u.length){if(!ct(d.segments,u)||!me(d.segments,u,f))return!1;for(const m in l.children)if(!d.children[m]||!Hr(d.children[m],l.children[m],f))return!1;return!0}{const m=u.slice(0,d.segments.length),_=u.slice(d.segments.length);return!!(ct(d.segments,m)&&me(d.segments,m,f)&&d.children[Fe])&&Zt(d.children[Fe],l,_,f)}}function me(d,l,u){return l.every((f,m)=>ls[u](d[m].parameters,f.parameters))}class Pe{constructor(l,u,f){this.root=l,this.queryParams=u,this.fragment=f}get queryParamMap(){return this._queryParamMap||(this._queryParamMap=wn(this.queryParams)),this._queryParamMap}toString(){return Vn.serialize(this)}}class ve{constructor(l,u){this.segments=l,this.children=u,this.parent=null,Dt(u,(f,m)=>f.parent=this)}hasChildren(){return this.numberOfChildren>0}get numberOfChildren(){return Object.keys(this.children).length}toString(){return Oe(this)}}class lt{constructor(l,u){this.path=l,this.parameters=u}get parameterMap(){return this._parameterMap||(this._parameterMap=wn(this.parameters)),this._parameterMap}toString(){return Y(this)}}function ct(d,l){return d.length===l.length&&d.every((u,f)=>u.path===l[f].path)}class gt{}class kn{parse(l){const u=new dt(l);return new Pe(u.parseRootSegment(),u.parseQueryParams(),u.parseFragment())}serialize(l){var d;return`${`/${Sn(l.root,!0)}`}${function(d){const l=Object.keys(d).map(u=>{const f=d[u];return Array.isArray(f)?f.map(m=>`${jn(u)}=${jn(m)}`).join("&"):`${jn(u)}=${jn(f)}`}).filter(u=>!!u);return l.length?`?${l.join("&")}`:""}(l.queryParams)}${"string"==typeof l.fragment?`#${d=l.fragment,encodeURI(d)}`:""}`}}const Vn=new kn;function Oe(d){return d.segments.map(l=>Y(l)).join("/")}function Sn(d,l){if(!d.hasChildren())return Oe(d);if(l){const u=d.children[Fe]?Sn(d.children[Fe],!1):"",f=[];return Dt(d.children,(m,_)=>{_!==Fe&&f.push(`${_}:${Sn(m,!1)}`)}),f.length>0?`${u}(${f.join("//")})`:u}{const u=function(d,l){let u=[];return Dt(d.children,(f,m)=>{m===Fe&&(u=u.concat(l(f,m)))}),Dt(d.children,(f,m)=>{m!==Fe&&(u=u.concat(l(f,m)))}),u}(d,(f,m)=>m===Fe?[Sn(d.children[Fe],!1)]:[`${m}:${Sn(f,!1)}`]);return 1===Object.keys(d.children).length&&null!=d.children[Fe]?`${Oe(d)}/${u[0]}`:`${Oe(d)}/(${u.join("//")})`}}function Mn(d){return encodeURIComponent(d).replace(/%40/g,"@").replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",")}function jn(d){return Mn(d).replace(/%3B/gi,";")}function M(d){return Mn(d).replace(/\(/g,"%28").replace(/\)/g,"%29").replace(/%26/gi,"&")}function I(d){return decodeURIComponent(d)}function L(d){return I(d.replace(/\+/g,"%20"))}function Y(d){return`${M(d.path)}${function(d){return Object.keys(d).map(l=>`;${M(l)}=${M(d[l])}`).join("")}(d.parameters)}`}const Tt=/^[^\/()?;=#]+/;function bt(d){const l=d.match(Tt);return l?l[0]:""}const vr=/^[^=?&#]+/,cs=/^[^?&#]+/;class dt{constructor(l){this.url=l,this.remaining=l}parseRootSegment(){return this.consumeOptional("/"),""===this.remaining||this.peekStartsWith("?")||this.peekStartsWith("#")?new ve([],{}):new ve([],this.parseChildren())}parseQueryParams(){const l={};if(this.consumeOptional("?"))do{this.parseQueryParam(l)}while(this.consumeOptional("&"));return l}parseFragment(){return this.consumeOptional("#")?decodeURIComponent(this.remaining):null}parseChildren(){if(""===this.remaining)return{};this.consumeOptional("/");const l=[];for(this.peekStartsWith("(")||l.push(this.parseSegment());this.peekStartsWith("/")&&!this.peekStartsWith("//")&&!this.peekStartsWith("/(");)this.capture("/"),l.push(this.parseSegment());let u={};this.peekStartsWith("/(")&&(this.capture("/"),u=this.parseParens(!0));let f={};return this.peekStartsWith("(")&&(f=this.parseParens(!1)),(l.length>0||Object.keys(u).length>0)&&(f[Fe]=new ve(l,u)),f}parseSegment(){const l=bt(this.remaining);if(""===l&&this.peekStartsWith(";"))throw new Error(`Empty path url segment cannot have parameters: '${this.remaining}'.`);return this.capture(l),new lt(I(l),this.parseMatrixParams())}parseMatrixParams(){const l={};for(;this.consumeOptional(";");)this.parseParam(l);return l}parseParam(l){const u=bt(this.remaining);if(!u)return;this.capture(u);let f="";if(this.consumeOptional("=")){const m=bt(this.remaining);m&&(f=m,this.capture(f))}l[I(u)]=I(f)}parseQueryParam(l){const u=function(d){const l=d.match(vr);return l?l[0]:""}(this.remaining);if(!u)return;this.capture(u);let f="";if(this.consumeOptional("=")){const T=function(d){const l=d.match(cs);return l?l[0]:""}(this.remaining);T&&(f=T,this.capture(f))}const m=L(u),_=L(f);if(l.hasOwnProperty(m)){let T=l[m];Array.isArray(T)||(T=[T],l[m]=T),T.push(_)}else l[m]=_}parseParens(l){const u={};for(this.capture("(");!this.consumeOptional(")")&&this.remaining.length>0;){const f=bt(this.remaining),m=this.remaining[f.length];if("/"!==m&&")"!==m&&";"!==m)throw new Error(`Cannot parse url '${this.url}'`);let _;f.indexOf(":")>-1?(_=f.substr(0,f.indexOf(":")),this.capture(_),this.capture(":")):l&&(_=Fe);const T=this.parseChildren();u[_]=1===Object.keys(T).length?T[Fe]:new ve([],T),this.consumeOptional("//")}return u}peekStartsWith(l){return this.remaining.startsWith(l)}consumeOptional(l){return!!this.peekStartsWith(l)&&(this.remaining=this.remaining.substring(l.length),!0)}capture(l){if(!this.consumeOptional(l))throw new Error(`Expected "${l}".`)}}class ri{constructor(l){this._root=l}get root(){return this._root.value}parent(l){const u=this.pathFromRoot(l);return u.length>1?u[u.length-2]:null}children(l){const u=dn(l,this._root);return u?u.children.map(f=>f.value):[]}firstChild(l){const u=dn(l,this._root);return u&&u.children.length>0?u.children[0].value:null}siblings(l){const u=on(l,this._root);return u.length<2?[]:u[u.length-2].children.map(m=>m.value).filter(m=>m!==l)}pathFromRoot(l){return on(l,this._root).map(u=>u.value)}}function dn(d,l){if(d===l.value)return l;for(const u of l.children){const f=dn(d,u);if(f)return f}return null}function on(d,l){if(d===l.value)return[l];for(const u of l.children){const f=on(d,u);if(f.length)return f.unshift(l),f}return[]}class _n{constructor(l,u){this.value=l,this.children=u}toString(){return`TreeNode(${this.value})`}}function Bn(d){const l={};return d&&d.children.forEach(u=>l[u.value.outlet]=u),l}class Gr extends ri{constructor(l,u){super(l),this.snapshot=u,ii(this,l)}toString(){return this.snapshot.toString()}}function fn(d,l){const u=function(d,l){const T=new Fs([],{},{},"",{},Fe,l,null,d.root,-1,{});return new Eo("",new _n(T,[]))}(d,l),f=new ue([new lt("",{})]),m=new ue({}),_=new ue({}),T=new ue({}),N=new ue(""),K=new zr(f,m,T,N,_,Fe,l,u.root);return K.snapshot=u.root,new Gr(new _n(K,[]),u)}class zr{constructor(l,u,f,m,_,T,N,K){this.url=l,this.params=u,this.queryParams=f,this.fragment=m,this.data=_,this.outlet=T,this.component=N,this._futureSnapshot=K}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((0,Te.U)(l=>wn(l)))),this._paramMap}get queryParamMap(){return this._queryParamMap||(this._queryParamMap=this.queryParams.pipe((0,Te.U)(l=>wn(l)))),this._queryParamMap}toString(){return this.snapshot?this.snapshot.toString():`Future(${this._futureSnapshot})`}}function si(d,l="emptyOnly"){const u=d.pathFromRoot;let f=0;if("always"!==l)for(f=u.length-1;f>=1;){const m=u[f],_=u[f-1];if(m.routeConfig&&""===m.routeConfig.path)f--;else{if(_.component)break;f--}}return function(d){return d.reduce((l,u)=>({params:Object.assign(Object.assign({},l.params),u.params),data:Object.assign(Object.assign({},l.data),u.data),resolve:Object.assign(Object.assign({},l.resolve),u._resolvedData)}),{params:{},data:{},resolve:{}})}(u.slice(f))}class Fs{constructor(l,u,f,m,_,T,N,K,_e,Se,Ke){this.url=l,this.params=u,this.queryParams=f,this.fragment=m,this.data=_,this.outlet=T,this.component=N,this.routeConfig=K,this._urlSegment=_e,this._lastPathIndex=Se,this._resolve=Ke}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=wn(this.params)),this._paramMap}get queryParamMap(){return this._queryParamMap||(this._queryParamMap=wn(this.queryParams)),this._queryParamMap}toString(){return`Route(url:'${this.url.map(f=>f.toString()).join("/")}', path:'${this.routeConfig?this.routeConfig.path:""}')`}}class Eo extends ri{constructor(l,u){super(u),this.url=l,ii(this,u)}toString(){return vo(this._root)}}function ii(d,l){l.value._routerState=d,l.children.forEach(u=>ii(d,u))}function vo(d){const l=d.children.length>0?` { ${d.children.map(vo).join(", ")} } `:"";return`${d.value}${l}`}function oi(d){if(d.snapshot){const l=d.snapshot,u=d._futureSnapshot;d.snapshot=u,qt(l.queryParams,u.queryParams)||d.queryParams.next(u.queryParams),l.fragment!==u.fragment&&d.fragment.next(u.fragment),qt(l.params,u.params)||d.params.next(u.params),function(d,l){if(d.length!==l.length)return!1;for(let u=0;u<d.length;++u)if(!qt(d[u],l[u]))return!1;return!0}(l.url,u.url)||d.url.next(u.url),qt(l.data,u.data)||d.data.next(u.data)}else d.snapshot=d._futureSnapshot,d.data.next(d._futureSnapshot.data)}function Ls(d,l){return qt(d.params,l.params)&&function(d,l){return ct(d,l)&&d.every((u,f)=>qt(u.parameters,l[f].parameters))}(d.url,l.url)&&!(!d.parent!=!l.parent)&&(!d.parent||Ls(d.parent,l.parent))}function ks(d,l,u){if(u&&d.shouldReuseRoute(l.value,u.value.snapshot)){const f=u.value;f._futureSnapshot=l.value;const m=function(d,l,u){return l.children.map(f=>{for(const m of u.children)if(d.shouldReuseRoute(f.value,m.value.snapshot))return ks(d,f,m);return ks(d,f)})}(d,l,u);return new _n(f,m)}{if(d.shouldAttach(l.value)){const _=d.retrieve(l.value);if(null!==_){const T=_.route;return Do(l,T),T}}const f=function(d){return new zr(new ue(d.url),new ue(d.params),new ue(d.queryParams),new ue(d.fragment),new ue(d.data),d.outlet,d.component,d)}(l.value),m=l.children.map(_=>ks(d,_));return new _n(f,m)}}function Do(d,l){if(d.value.routeConfig!==l.value.routeConfig)throw new Error("Cannot reattach ActivatedRouteSnapshot created from a different route");if(d.children.length!==l.children.length)throw new Error("Cannot reattach ActivatedRouteSnapshot with a different number of children");l.value._futureSnapshot=d.value;for(let u=0;u<d.children.length;++u)Do(d.children[u],l.children[u])}function li(d){return"object"==typeof d&&null!=d&&!d.outlets&&!d.segmentPath}function ds(d){return"object"==typeof d&&null!=d&&d.outlets}function Wr(d,l,u,f,m){let _={};return f&&Dt(f,(T,N)=>{_[N]=Array.isArray(T)?T.map(K=>`${K}`):`${T}`}),new Pe(u.root===d?l:fs(u.root,d,l),_,m)}function fs(d,l,u){const f={};return Dt(d.children,(m,_)=>{f[_]=m===l?u:fs(m,l,u)}),new ve(d.segments,f)}class bo{constructor(l,u,f){if(this.isAbsolute=l,this.numberOfDoubleDots=u,this.commands=f,l&&f.length>0&&li(f[0]))throw new Error("Root segment cannot have matrix parameters");const m=f.find(ds);if(m&&m!==$t(f))throw new Error("{outlets:{}} has to be the last command")}toRoot(){return this.isAbsolute&&1===this.commands.length&&"/"==this.commands[0]}}class wo{constructor(l,u,f){this.segmentGroup=l,this.processChildren=u,this.index=f}}function di(d,l,u){if(d||(d=new ve([],{})),0===d.segments.length&&d.hasChildren())return hs(d,l,u);const f=function(d,l,u){let f=0,m=l;const _={match:!1,pathIndex:0,commandIndex:0};for(;m<d.segments.length;){if(f>=u.length)return _;const T=d.segments[m],N=u[f];if(ds(N))break;const K=`${N}`,_e=f<u.length-1?u[f+1]:null;if(m>0&&void 0===K)break;if(K&&_e&&"object"==typeof _e&&void 0===_e.outlets){if(!ps(K,_e,T))return _;f+=2}else{if(!ps(K,{},T))return _;f++}m++}return{match:!0,pathIndex:m,commandIndex:f}}(d,l,u),m=u.slice(f.commandIndex);if(f.match&&f.pathIndex<d.segments.length){const _=new ve(d.segments.slice(0,f.pathIndex),{});return _.children[Fe]=new ve(d.segments.slice(f.pathIndex),d.children),hs(_,0,m)}return f.match&&0===m.length?new ve(d.segments,{}):f.match&&!d.hasChildren()?Yr(d,l,u):f.match?hs(d,0,m):Yr(d,l,u)}function hs(d,l,u){if(0===u.length)return new ve(d.segments,{});{const f=function(d){return ds(d[0])?d[0].outlets:{[Fe]:d}}(u),m={};return Dt(f,(_,T)=>{"string"==typeof _&&(_=[_]),null!==_&&(m[T]=di(d.children[T],l,_))}),Dt(d.children,(_,T)=>{void 0===f[T]&&(m[T]=_)}),new ve(d.segments,m)}}function Yr(d,l,u){const f=d.segments.slice(0,l);let m=0;for(;m<u.length;){const _=u[m];if(ds(_)){const K=fi(_.outlets);return new ve(f,K)}if(0===m&&li(u[0])){f.push(new lt(d.segments[l].path,So(u[0]))),m++;continue}const T=ds(_)?_.outlets[Fe]:`${_}`,N=m<u.length-1?u[m+1]:null;T&&N&&li(N)?(f.push(new lt(T,So(N))),m+=2):(f.push(new lt(T,{})),m++)}return new ve(f,{})}function fi(d){const l={};return Dt(d,(u,f)=>{"string"==typeof u&&(u=[u]),null!==u&&(l[f]=Yr(new ve([],{}),0,u))}),l}function So(d){const l={};return Dt(d,(u,f)=>l[f]=`${u}`),l}function ps(d,l,u){return d==u.path&&qt(l,u.parameters)}class C{constructor(l,u,f,m){this.routeReuseStrategy=l,this.futureState=u,this.currState=f,this.forwardEvent=m}activate(l){const u=this.futureState._root,f=this.currState?this.currState._root:null;this.deactivateChildRoutes(u,f,l),oi(this.futureState.root),this.activateChildRoutes(u,f,l)}deactivateChildRoutes(l,u,f){const m=Bn(u);l.children.forEach(_=>{const T=_.value.outlet;this.deactivateRoutes(_,m[T],f),delete m[T]}),Dt(m,(_,T)=>{this.deactivateRouteAndItsChildren(_,f)})}deactivateRoutes(l,u,f){const m=l.value,_=u?u.value:null;if(m===_)if(m.component){const T=f.getContext(m.outlet);T&&this.deactivateChildRoutes(l,u,T.children)}else this.deactivateChildRoutes(l,u,f);else _&&this.deactivateRouteAndItsChildren(u,f)}deactivateRouteAndItsChildren(l,u){this.routeReuseStrategy.shouldDetach(l.value.snapshot)?this.detachAndStoreRouteSubtree(l,u):this.deactivateRouteAndOutlet(l,u)}detachAndStoreRouteSubtree(l,u){const f=u.getContext(l.value.outlet);if(f&&f.outlet){const m=f.outlet.detach(),_=f.children.onOutletDeactivated();this.routeReuseStrategy.store(l.value.snapshot,{componentRef:m,route:l,contexts:_})}}deactivateRouteAndOutlet(l,u){const f=u.getContext(l.value.outlet),m=f&&l.value.component?f.children:u,_=Bn(l);for(const T of Object.keys(_))this.deactivateRouteAndItsChildren(_[T],m);f&&f.outlet&&(f.outlet.deactivate(),f.children.onOutletDeactivated(),f.attachRef=null,f.resolver=null,f.route=null)}activateChildRoutes(l,u,f){const m=Bn(u);l.children.forEach(_=>{this.activateRoutes(_,m[_.value.outlet],f),this.forwardEvent(new An(_.value.snapshot))}),l.children.length&&this.forwardEvent(new Zn(l.value.snapshot))}activateRoutes(l,u,f){const m=l.value,_=u?u.value:null;if(oi(m),m===_)if(m.component){const T=f.getOrCreateContext(m.outlet);this.activateChildRoutes(l,u,T.children)}else this.activateChildRoutes(l,u,f);else if(m.component){const T=f.getOrCreateContext(m.outlet);if(this.routeReuseStrategy.shouldAttach(m.snapshot)){const N=this.routeReuseStrategy.retrieve(m.snapshot);this.routeReuseStrategy.store(m.snapshot,null),T.children.onOutletReAttached(N.contexts),T.attachRef=N.componentRef,T.route=N.route.value,T.outlet&&T.outlet.attach(N.componentRef,N.route.value),g(N.route)}else{const N=function(d){for(let l=d.parent;l;l=l.parent){const u=l.routeConfig;if(u&&u._loadedConfig)return u._loadedConfig;if(u&&u.component)return null}return null}(m.snapshot),K=N?N.module.componentFactoryResolver:null;T.attachRef=null,T.route=m,T.resolver=K,T.outlet&&T.outlet.activateWith(m,K),this.activateChildRoutes(l,null,T.children)}}else this.activateChildRoutes(l,null,f)}}function g(d){oi(d.value),d.children.forEach(g)}class A{constructor(l,u){this.routes=l,this.module=u}}function G(d){return"function"==typeof d}function we(d){return d instanceof Pe}const $e=Symbol("INITIAL_VALUE");function it(){return U(d=>function(...d){let l,u;return(0,te.K)(d[d.length-1])&&(u=d.pop()),"function"==typeof d[d.length-1]&&(l=d.pop()),1===d.length&&(0,de.k)(d[0])&&(d=d[0]),(0,se.n)(d,u).lift(new Re(l))}(d.map(l=>l.pipe((0,It.q)(1),function(...d){const l=d[d.length-1];return(0,te.K)(l)?(d.pop(),u=>qn(d,u,l)):u=>qn(d,u)}($e)))).pipe(ht((l,u)=>{let f=!1;return u.reduce((m,_,T)=>m!==$e?m:(_===$e&&(f=!0),f||!1!==_&&T!==u.length-1&&!we(_)?m:_),l)},$e),(0,un.h)(l=>l!==$e),(0,Te.U)(l=>we(l)?l:!0===l),(0,It.q)(1)))}let zt=(()=>{class d{}return d.\u0275fac=function(u){return new(u||d)},d.\u0275cmp=E.Xpm({type:d,selectors:[["ng-component"]],decls:1,vars:0,template:function(u,f){1&u&&E._UZ(0,"router-outlet")},directives:function(){return[bi]},encapsulation:2}),d})();function Nn(d,l=""){for(let u=0;u<d.length;u++){const f=d[u];Ot(f,gs(l,f))}}function Ot(d,l){d.children&&Nn(d.children,l)}function gs(d,l){return l?d||l.path?d&&!l.path?`${d}/`:!d&&l.path?l.path:`${d}/${l.path}`:"":d}function Rn(d){const l=d.children&&d.children.map(Rn),u=l?Object.assign(Object.assign({},d),{children:l}):Object.assign({},d);return!u.component&&(l||u.loadChildren)&&u.outlet&&u.outlet!==Fe&&(u.component=zt),u}function Ft(d){return d.outlet||Fe}function Ut(d,l){const u=d.filter(f=>Ft(f)===l);return u.push(...d.filter(f=>Ft(f)!==l)),u}const ms={matched:!1,consumedSegments:[],lastChild:0,parameters:{},positionalParamSegments:{}};function ys(d,l,u){var f;if(""===l.path)return"full"===l.pathMatch&&(d.hasChildren()||u.length>0)?Object.assign({},ms):{matched:!0,consumedSegments:[],lastChild:0,parameters:{},positionalParamSegments:{}};const _=(l.matcher||_r)(u,d,l);if(!_)return Object.assign({},ms);const T={};Dt(_.posParams,(K,_e)=>{T[_e]=K.path});const N=_.consumed.length>0?Object.assign(Object.assign({},T),_.consumed[_.consumed.length-1].parameters):T;return{matched:!0,consumedSegments:_.consumed,lastChild:_.consumed.length,parameters:N,positionalParamSegments:null!==(f=_.posParams)&&void 0!==f?f:{}}}function hi(d,l,u,f,m="corrected"){if(u.length>0&&function(d,l,u){return u.some(f=>Ro(d,l,f)&&Ft(f)!==Fe)}(d,u,f)){const T=new ve(l,function(d,l,u,f){const m={};m[Fe]=f,f._sourceSegment=d,f._segmentIndexShift=l.length;for(const _ of u)if(""===_.path&&Ft(_)!==Fe){const T=new ve([],{});T._sourceSegment=d,T._segmentIndexShift=l.length,m[Ft(_)]=T}return m}(d,l,f,new ve(u,d.children)));return T._sourceSegment=d,T._segmentIndexShift=l.length,{segmentGroup:T,slicedSegments:[]}}if(0===u.length&&function(d,l,u){return u.some(f=>Ro(d,l,f))}(d,u,f)){const T=new ve(d.segments,function(d,l,u,f,m,_){const T={};for(const N of f)if(Ro(d,u,N)&&!m[Ft(N)]){const K=new ve([],{});K._sourceSegment=d,K._segmentIndexShift="legacy"===_?d.segments.length:l.length,T[Ft(N)]=K}return Object.assign(Object.assign({},m),T)}(d,l,u,f,d.children,m));return T._sourceSegment=d,T._segmentIndexShift=l.length,{segmentGroup:T,slicedSegments:u}}const _=new ve(d.segments,d.children);return _._sourceSegment=d,_._segmentIndexShift=l.length,{segmentGroup:_,slicedSegments:u}}function Ro(d,l,u){return(!(d.hasChildren()||l.length>0)||"full"!==u.pathMatch)&&""===u.path}function Va(d,l,u,f){return!!(Ft(d)===f||f!==Fe&&Ro(l,u,d))&&("**"===d.path||ys(l,d,u).matched)}function ja(d,l,u){return 0===l.length&&!d.children[u]}class Vs{constructor(l){this.segmentGroup=l||null}}class Ao{constructor(l){this.urlTree=l}}function pi(d){return new z.y(l=>l.error(new Vs(d)))}function Ba(d){return new z.y(l=>l.error(new Ao(d)))}function Z(d){return new z.y(l=>l.error(new Error(`Only absolute redirects can have named outlets. redirectTo: '${d}'`)))}class Vt{constructor(l,u,f,m,_){this.configLoader=u,this.urlSerializer=f,this.urlTree=m,this.config=_,this.allowRedirects=!0,this.ngModule=l.get(E.h0i)}apply(){const l=hi(this.urlTree.root,[],[],this.config).segmentGroup,u=new ve(l.segments,l.children);return this.expandSegmentGroup(this.ngModule,this.config,u,Fe).pipe((0,Te.U)(_=>this.createUrlTree(Kr(_),this.urlTree.queryParams,this.urlTree.fragment))).pipe(yn(_=>{if(_ instanceof Ao)return this.allowRedirects=!1,this.match(_.urlTree);throw _ instanceof Vs?this.noMatchError(_):_}))}match(l){return this.expandSegmentGroup(this.ngModule,this.config,l.root,Fe).pipe((0,Te.U)(m=>this.createUrlTree(Kr(m),l.queryParams,l.fragment))).pipe(yn(m=>{throw m instanceof Vs?this.noMatchError(m):m}))}noMatchError(l){return new Error(`Cannot match any routes. URL Segment: '${l.segmentGroup}'`)}createUrlTree(l,u,f){const m=l.segments.length>0?new ve([],{[Fe]:l}):l;return new Pe(m,u,f)}expandSegmentGroup(l,u,f,m){return 0===f.segments.length&&f.hasChildren()?this.expandChildren(l,u,f).pipe((0,Te.U)(_=>new ve([],_))):this.expandSegment(l,f,u,f.segments,m,!0)}expandChildren(l,u,f){const m=[];for(const _ of Object.keys(f.children))"primary"===_?m.unshift(_):m.push(_);return(0,ot.D)(m).pipe((0,X.b)(_=>{const T=f.children[_],N=Ut(u,_);return this.expandSegmentGroup(l,N,T,_).pipe((0,Te.U)(K=>({segment:K,outlet:_})))}),ht((_,T)=>(_[T.outlet]=T.segment,_),{}),function(d,l){const u=arguments.length>=2;return f=>f.pipe(d?(0,un.h)((m,_)=>d(m,_,f)):rn.y,nn(1),u?pt(l):Qe(()=>new fe))}())}expandSegment(l,u,f,m,_,T){return(0,ot.D)(f).pipe((0,X.b)(N=>this.expandSegmentAgainstRoute(l,u,f,N,m,_,T).pipe(yn(_e=>{if(_e instanceof Vs)return(0,Ie.of)(null);throw _e}))),ln(N=>!!N),yn((N,K)=>{if(N instanceof fe||"EmptyError"===N.name){if(ja(u,m,_))return(0,Ie.of)(new ve([],{}));throw new Vs(u)}throw N}))}expandSegmentAgainstRoute(l,u,f,m,_,T,N){return Va(m,u,_,T)?void 0===m.redirectTo?this.matchSegmentAgainstRoute(l,u,m,_,T):N&&this.allowRedirects?this.expandSegmentAgainstRouteUsingRedirect(l,u,f,m,_,T):pi(u):pi(u)}expandSegmentAgainstRouteUsingRedirect(l,u,f,m,_,T){return"**"===m.path?this.expandWildCardWithParamsAgainstRouteUsingRedirect(l,f,m,T):this.expandRegularSegmentAgainstRouteUsingRedirect(l,u,f,m,_,T)}expandWildCardWithParamsAgainstRouteUsingRedirect(l,u,f,m){const _=this.applyRedirectCommands([],f.redirectTo,{});return f.redirectTo.startsWith("/")?Ba(_):this.lineralizeSegments(f,_).pipe((0,j.zg)(T=>{const N=new ve(T,{});return this.expandSegment(l,N,u,T,m,!1)}))}expandRegularSegmentAgainstRouteUsingRedirect(l,u,f,m,_,T){const{matched:N,consumedSegments:K,lastChild:_e,positionalParamSegments:Se}=ys(u,m,_);if(!N)return pi(u);const Ke=this.applyRedirectCommands(K,m.redirectTo,Se);return m.redirectTo.startsWith("/")?Ba(Ke):this.lineralizeSegments(m,Ke).pipe((0,j.zg)(wt=>this.expandSegment(l,u,f,wt.concat(_.slice(_e)),T,!1)))}matchSegmentAgainstRoute(l,u,f,m,_){if("**"===f.path)return f.loadChildren?(f._loadedConfig?(0,Ie.of)(f._loadedConfig):this.configLoader.load(l.injector,f)).pipe((0,Te.U)(wt=>(f._loadedConfig=wt,new ve(m,{})))):(0,Ie.of)(new ve(m,{}));const{matched:T,consumedSegments:N,lastChild:K}=ys(u,f,m);if(!T)return pi(u);const _e=m.slice(K);return this.getChildConfig(l,f,m).pipe((0,j.zg)(Ke=>{const wt=Ke.module,nt=Ke.routes,{segmentGroup:qr,slicedSegments:rr}=hi(u,N,_e,nt),rt=new ve(qr.segments,qr.children);if(0===rr.length&&rt.hasChildren())return this.expandChildren(wt,nt,rt).pipe((0,Te.U)(ou=>new ve(N,ou)));if(0===nt.length&&0===rr.length)return(0,Ie.of)(new ve(N,{}));const Hs=Ft(f)===_;return this.expandSegment(wt,rt,nt,rr,Hs?Fe:_,!0).pipe((0,Te.U)(Zr=>new ve(N.concat(Zr.segments),Zr.children)))}))}getChildConfig(l,u,f){return u.children?(0,Ie.of)(new A(u.children,l)):u.loadChildren?void 0!==u._loadedConfig?(0,Ie.of)(u._loadedConfig):this.runCanLoadGuards(l.injector,u,f).pipe((0,j.zg)(m=>{return m?this.configLoader.load(l.injector,u).pipe((0,Te.U)(_=>(u._loadedConfig=_,_))):(d=u,new z.y(l=>l.error(Ur(`Cannot load children because the guard of the route "path: '${d.path}'" returned false`))));var d})):(0,Ie.of)(new A([],l))}runCanLoadGuards(l,u,f){const m=u.canLoad;if(!m||0===m.length)return(0,Ie.of)(!0);const _=m.map(T=>{const N=l.get(T);let K;if((d=N)&&G(d.canLoad))K=N.canLoad(u,f);else{if(!G(N))throw new Error("Invalid CanLoad guard");K=N(u,f)}var d;return Gt(K)});return(0,Ie.of)(_).pipe(it(),(0,le.b)(T=>{if(!we(T))return;const N=Ur(`Redirecting to "${this.urlSerializer.serialize(T)}"`);throw N.url=T,N}),(0,Te.U)(T=>!0===T))}lineralizeSegments(l,u){let f=[],m=u.root;for(;;){if(f=f.concat(m.segments),0===m.numberOfChildren)return(0,Ie.of)(f);if(m.numberOfChildren>1||!m.children[Fe])return Z(l.redirectTo);m=m.children[Fe]}}applyRedirectCommands(l,u,f){return this.applyRedirectCreatreUrlTree(u,this.urlSerializer.parse(u),l,f)}applyRedirectCreatreUrlTree(l,u,f,m){const _=this.createSegmentGroup(l,u.root,f,m);return new Pe(_,this.createQueryParams(u.queryParams,this.urlTree.queryParams),u.fragment)}createQueryParams(l,u){const f={};return Dt(l,(m,_)=>{if("string"==typeof m&&m.startsWith(":")){const N=m.substring(1);f[_]=u[N]}else f[_]=m}),f}createSegmentGroup(l,u,f,m){const _=this.createSegments(l,u.segments,f,m);let T={};return Dt(u.children,(N,K)=>{T[K]=this.createSegmentGroup(l,N,f,m)}),new ve(_,T)}createSegments(l,u,f,m){return u.map(_=>_.path.startsWith(":")?this.findPosParam(l,_,m):this.findOrReturn(_,f))}findPosParam(l,u,f){const m=f[u.path.substring(1)];if(!m)throw new Error(`Cannot redirect to '${l}'. Cannot find '${u.path}'.`);return m}findOrReturn(l,u){let f=0;for(const m of u){if(m.path===l.path)return u.splice(f),m;f++}return l}}function Kr(d){const l={};for(const f of Object.keys(d.children)){const _=Kr(d.children[f]);(_.segments.length>0||_.hasChildren())&&(l[f]=_)}return function(d){if(1===d.numberOfChildren&&d.children[Fe]){const l=d.children[Fe];return new ve(d.segments.concat(l.segments),l.children)}return d}(new ve(d.segments,l))}class gi{constructor(l){this.path=l,this.route=this.path[this.path.length-1]}}class Cs{constructor(l,u){this.component=l,this.route=u}}function Xd(d,l,u){const f=d._root;return jt(f,l?l._root:null,u,[f.value])}function Qr(d,l,u){const f=function(d){if(!d)return null;for(let l=d.parent;l;l=l.parent){const u=l.routeConfig;if(u&&u._loadedConfig)return u._loadedConfig}return null}(l);return(f?f.module.injector:u).get(d)}function jt(d,l,u,f,m={canDeactivateChecks:[],canActivateChecks:[]}){const _=Bn(l);return d.children.forEach(T=>{(function(d,l,u,f,m={canDeactivateChecks:[],canActivateChecks:[]}){const _=d.value,T=l?l.value:null,N=u?u.getContext(d.value.outlet):null;if(T&&_.routeConfig===T.routeConfig){const K=function(d,l,u){if("function"==typeof u)return u(d,l);switch(u){case"pathParamsChange":return!ct(d.url,l.url);case"pathParamsOrQueryParamsChange":return!ct(d.url,l.url)||!qt(d.queryParams,l.queryParams);case"always":return!0;case"paramsOrQueryParamsChange":return!Ls(d,l)||!qt(d.queryParams,l.queryParams);case"paramsChange":default:return!Ls(d,l)}}(T,_,_.routeConfig.runGuardsAndResolvers);K?m.canActivateChecks.push(new gi(f)):(_.data=T.data,_._resolvedData=T._resolvedData),jt(d,l,_.component?N?N.children:null:u,f,m),K&&N&&N.outlet&&N.outlet.isActivated&&m.canDeactivateChecks.push(new Cs(N.outlet.component,T))}else T&&$n(l,N,m),m.canActivateChecks.push(new gi(f)),jt(d,null,_.component?N?N.children:null:u,f,m)})(T,_[T.value.outlet],u,f.concat([T.value]),m),delete _[T.value.outlet]}),Dt(_,(T,N)=>$n(T,u.getContext(N),m)),m}function $n(d,l,u){const f=Bn(d),m=d.value;Dt(f,(_,T)=>{$n(_,m.component?l?l.children.getContext(T):null:l,u)}),u.canDeactivateChecks.push(new Cs(m.component&&l&&l.outlet&&l.outlet.isActivated?l.outlet.component:null,m))}class Po{}function za(d){return new z.y(l=>l.error(d))}class yi{constructor(l,u,f,m,_,T){this.rootComponentType=l,this.config=u,this.urlTree=f,this.url=m,this.paramsInheritanceStrategy=_,this.relativeLinkResolution=T}recognize(){const l=hi(this.urlTree.root,[],[],this.config.filter(T=>void 0===T.redirectTo),this.relativeLinkResolution).segmentGroup,u=this.processSegmentGroup(this.config,l,Fe);if(null===u)return null;const f=new Fs([],Object.freeze({}),Object.freeze(Object.assign({},this.urlTree.queryParams)),this.urlTree.fragment,{},Fe,this.rootComponentType,null,this.urlTree.root,-1,{}),m=new _n(f,u),_=new Eo(this.url,m);return this.inheritParamsAndData(_._root),_}inheritParamsAndData(l){const u=l.value,f=si(u,this.paramsInheritanceStrategy);u.params=Object.freeze(f.params),u.data=Object.freeze(f.data),l.children.forEach(m=>this.inheritParamsAndData(m))}processSegmentGroup(l,u,f){return 0===u.segments.length&&u.hasChildren()?this.processChildren(l,u):this.processSegment(l,u,u.segments,f)}processChildren(l,u){const f=[];for(const _ of Object.keys(u.children)){const T=u.children[_],N=Ut(l,_),K=this.processSegmentGroup(N,T,_);if(null===K)return null;f.push(...K)}const m=Oo(f);return m.sort((l,u)=>l.value.outlet===Fe?-1:u.value.outlet===Fe?1:l.value.outlet.localeCompare(u.value.outlet)),m}processSegment(l,u,f,m){for(const _ of l){const T=this.processSegmentAgainstRoute(_,u,f,m);if(null!==T)return T}return ja(u,f,m)?[]:null}processSegmentAgainstRoute(l,u,f,m){if(l.redirectTo||!Va(l,u,f,m))return null;let _,T=[],N=[];if("**"===l.path){const nt=f.length>0?$t(f).parameters:{};_=new Fs(f,nt,Object.freeze(Object.assign({},this.urlTree.queryParams)),this.urlTree.fragment,Xt(l),Ft(l),l.component,l,qa(u),Ja(u)+f.length,nr(l))}else{const nt=ys(u,l,f);if(!nt.matched)return null;T=nt.consumedSegments,N=f.slice(nt.lastChild),_=new Fs(T,nt.parameters,Object.freeze(Object.assign({},this.urlTree.queryParams)),this.urlTree.fragment,Xt(l),Ft(l),l.component,l,qa(u),Ja(u)+T.length,nr(l))}const K=(d=l).children?d.children:d.loadChildren?d._loadedConfig.routes:[],{segmentGroup:_e,slicedSegments:Se}=hi(u,T,N,K.filter(nt=>void 0===nt.redirectTo),this.relativeLinkResolution);var d;if(0===Se.length&&_e.hasChildren()){const nt=this.processChildren(K,_e);return null===nt?null:[new _n(_,nt)]}if(0===K.length&&0===Se.length)return[new _n(_,[])];const Ke=Ft(l)===m,wt=this.processSegment(K,_e,Se,Ke?Fe:m);return null===wt?null:[new _n(_,wt)]}}function Qa(d){const l=d.value.routeConfig;return l&&""===l.path&&void 0===l.redirectTo}function Oo(d){const l=[],u=new Set;for(const f of d){if(!Qa(f)){l.push(f);continue}const m=l.find(_=>f.value.routeConfig===_.value.routeConfig);void 0!==m?(m.children.push(...f.children),u.add(m)):l.push(f)}for(const f of u){const m=Oo(f.children);l.push(new _n(f.value,m))}return l.filter(f=>!u.has(f))}function qa(d){let l=d;for(;l._sourceSegment;)l=l._sourceSegment;return l}function Ja(d){let l=d,u=l._segmentIndexShift?l._segmentIndexShift:0;for(;l._sourceSegment;)l=l._sourceSegment,u+=l._segmentIndexShift?l._segmentIndexShift:0;return u-1}function Xt(d){return d.data||{}}function nr(d){return d.resolve||{}}function Lo(d){return U(l=>{const u=d(l);return u?(0,ot.D)(u).pipe((0,Te.U)(()=>l)):(0,Ie.of)(l)})}class _i extends class{shouldDetach(l){return!1}store(l,u){}shouldAttach(l){return!1}retrieve(l){return null}shouldReuseRoute(l,u){return l.routeConfig===u.routeConfig}}{}const _s=new E.OlP("ROUTES");class Ei{constructor(l,u,f,m){this.loader=l,this.compiler=u,this.onLoadStartListener=f,this.onLoadEndListener=m}load(l,u){if(u._loader$)return u._loader$;this.onLoadStartListener&&this.onLoadStartListener(u);const m=this.loadModuleFactory(u.loadChildren).pipe((0,Te.U)(_=>{this.onLoadEndListener&&this.onLoadEndListener(u);const T=_.create(l);return new A(Er(T.injector.get(_s,void 0,E.XFs.Self|E.XFs.Optional)).map(Rn),T)}),yn(_=>{throw u._loader$=void 0,_}));return u._loader$=new st.c(m,()=>new ce.xQ).pipe((0,ge.x)()),u._loader$}loadModuleFactory(l){return"string"==typeof l?(0,ot.D)(this.loader.load(l)):Gt(l()).pipe((0,j.zg)(u=>u instanceof E.YKP?(0,Ie.of)(u):(0,ot.D)(this.compiler.compileModuleAsync(u))))}}class Za{constructor(){this.outlet=null,this.route=null,this.resolver=null,this.children=new Es,this.attachRef=null}}class Es{constructor(){this.contexts=new Map}onChildOutletCreated(l,u){const f=this.getOrCreateContext(l);f.outlet=u,this.contexts.set(l,f)}onChildOutletDestroyed(l){const u=this.getContext(l);u&&(u.outlet=null)}onOutletDeactivated(){const l=this.contexts;return this.contexts=new Map,l}onOutletReAttached(l){this.contexts=l}getOrCreateContext(l){let u=this.getContext(l);return u||(u=new Za,this.contexts.set(l,u)),u}getContext(l){return this.contexts.get(l)||null}}class js{shouldProcessUrl(l){return!0}extract(l){return l}merge(l,u){return l}}function Cl(d){throw d}function _l(d,l,u){return l.parse("/")}function vs(d,l){return(0,Ie.of)(null)}const ko={paths:"exact",fragment:"ignored",matrixParams:"ignored",queryParams:"exact"},El={paths:"subset",fragment:"ignored",matrixParams:"ignored",queryParams:"subset"};let an=(()=>{class d{constructor(u,f,m,_,T,N,K,_e){this.rootComponentType=u,this.urlSerializer=f,this.rootContexts=m,this.location=_,this.config=_e,this.lastSuccessfulNavigation=null,this.currentNavigation=null,this.disposed=!1,this.lastLocationChangeInfo=null,this.navigationId=0,this.currentPageId=0,this.isNgZoneEnabled=!1,this.events=new ce.xQ,this.errorHandler=Cl,this.malformedUriErrorHandler=_l,this.navigated=!1,this.lastSuccessfulId=-1,this.hooks={beforePreactivation:vs,afterPreactivation:vs},this.urlHandlingStrategy=new js,this.routeReuseStrategy=new _i,this.onSameUrlNavigation="ignore",this.paramsInheritanceStrategy="emptyOnly",this.urlUpdateStrategy="deferred",this.relativeLinkResolution="corrected",this.canceledNavigationResolution="replace",this.ngModule=T.get(E.h0i),this.console=T.get(E.c2e);const wt=T.get(E.R0b);this.isNgZoneEnabled=wt instanceof E.R0b&&E.R0b.isInAngularZone(),this.resetConfig(_e),this.currentUrlTree=new Pe(new ve([],{}),{},null),this.rawUrlTree=this.currentUrlTree,this.browserUrlTree=this.currentUrlTree,this.configLoader=new Ei(N,K,nt=>this.triggerEvent(new xt(nt)),nt=>this.triggerEvent(new sn(nt))),this.routerState=fn(this.currentUrlTree,this.rootComponentType),this.transitions=new ue({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 u;return null===(u=this.location.getState())||void 0===u?void 0:u.\u0275routerPageId}setupNavigations(u){const f=this.events;return u.pipe((0,un.h)(m=>0!==m.id),(0,Te.U)(m=>Object.assign(Object.assign({},m),{extractedUrl:this.urlHandlingStrategy.extract(m.rawUrl)})),U(m=>{let _=!1,T=!1;return(0,Ie.of)(m).pipe((0,le.b)(N=>{this.currentNavigation={id:N.id,initialUrl:N.currentRawUrl,extractedUrl:N.extractedUrl,trigger:N.source,extras:N.extras,previousNavigation:this.lastSuccessfulNavigation?Object.assign(Object.assign({},this.lastSuccessfulNavigation),{previousNavigation:null}):null}}),U(N=>{const K=!this.navigated||N.extractedUrl.toString()!==this.browserUrlTree.toString(),_e=("reload"===this.onSameUrlNavigation||K)&&this.urlHandlingStrategy.shouldProcessUrl(N.rawUrl);if(Vo(N.source)&&(this.browserUrlTree=N.rawUrl),_e)return(0,Ie.of)(N).pipe(U(Se=>{const Ke=this.transitions.getValue();return f.next(new He(Se.id,this.serializeUrl(Se.extractedUrl),Se.source,Se.restoredState)),Ke!==this.transitions.getValue()?he.E:Promise.resolve(Se)}),function(d,l,u,f){return U(m=>function(d,l,u,f,m){return new Vt(d,l,u,f,m).apply()}(d,l,u,m.extractedUrl,f).pipe((0,Te.U)(_=>Object.assign(Object.assign({},m),{urlAfterRedirects:_}))))}(this.ngModule.injector,this.configLoader,this.urlSerializer,this.config),(0,le.b)(Se=>{this.currentNavigation=Object.assign(Object.assign({},this.currentNavigation),{finalUrl:Se.urlAfterRedirects})}),function(d,l,u,f,m){return(0,j.zg)(_=>function(d,l,u,f,m="emptyOnly",_="legacy"){try{const T=new yi(d,l,u,f,m,_).recognize();return null===T?za(new Po):(0,Ie.of)(T)}catch(T){return za(T)}}(d,l,_.urlAfterRedirects,u(_.urlAfterRedirects),f,m).pipe((0,Te.U)(T=>Object.assign(Object.assign({},_),{targetSnapshot:T}))))}(this.rootComponentType,this.config,Se=>this.serializeUrl(Se),this.paramsInheritanceStrategy,this.relativeLinkResolution),(0,le.b)(Se=>{"eager"===this.urlUpdateStrategy&&(Se.extras.skipLocationChange||this.setBrowserUrl(Se.urlAfterRedirects,Se),this.browserUrlTree=Se.urlAfterRedirects);const Ke=new At(Se.id,this.serializeUrl(Se.extractedUrl),this.serializeUrl(Se.urlAfterRedirects),Se.targetSnapshot);f.next(Ke)}));if(K&&this.rawUrlTree&&this.urlHandlingStrategy.shouldProcessUrl(this.rawUrlTree)){const{id:Ke,extractedUrl:wt,source:nt,restoredState:qr,extras:rr}=N,rt=new He(Ke,this.serializeUrl(wt),nt,qr);f.next(rt);const Hs=fn(wt,this.rootComponentType).snapshot;return(0,Ie.of)(Object.assign(Object.assign({},N),{targetSnapshot:Hs,urlAfterRedirects:wt,extras:Object.assign(Object.assign({},rr),{skipLocationChange:!1,replaceUrl:!1})}))}return this.rawUrlTree=N.rawUrl,this.browserUrlTree=N.urlAfterRedirects,N.resolve(null),he.E}),Lo(N=>{const{targetSnapshot:K,id:_e,extractedUrl:Se,rawUrl:Ke,extras:{skipLocationChange:wt,replaceUrl:nt}}=N;return this.hooks.beforePreactivation(K,{navigationId:_e,appliedUrlTree:Se,rawUrlTree:Ke,skipLocationChange:!!wt,replaceUrl:!!nt})}),(0,le.b)(N=>{const K=new Ye(N.id,this.serializeUrl(N.extractedUrl),this.serializeUrl(N.urlAfterRedirects),N.targetSnapshot);this.triggerEvent(K)}),(0,Te.U)(N=>Object.assign(Object.assign({},N),{guards:Xd(N.targetSnapshot,N.currentSnapshot,this.rootContexts)})),function(d,l){return(0,j.zg)(u=>{const{targetSnapshot:f,currentSnapshot:m,guards:{canActivateChecks:_,canDeactivateChecks:T}}=u;return 0===T.length&&0===_.length?(0,Ie.of)(Object.assign(Object.assign({},u),{guardsResult:!0})):function(d,l,u,f){return(0,ot.D)(d).pipe((0,j.zg)(m=>function(d,l,u,f,m){const _=l&&l.routeConfig?l.routeConfig.canDeactivate:null;if(!_||0===_.length)return(0,Ie.of)(!0);const T=_.map(N=>{const K=Qr(N,l,m);let _e;if(function(d){return d&&G(d.canDeactivate)}(K))_e=Gt(K.canDeactivate(d,l,u,f));else{if(!G(K))throw new Error("Invalid CanDeactivate guard");_e=Gt(K(d,l,u,f))}return _e.pipe(ln())});return(0,Ie.of)(T).pipe(it())}(m.component,m.route,u,l,f)),ln(m=>!0!==m,!0))}(T,f,m,d).pipe((0,j.zg)(N=>N&&function(d){return"boolean"==typeof d}(N)?function(d,l,u,f){return(0,ot.D)(l).pipe((0,X.b)(m=>qn(function(d,l){return null!==d&&l&&l(new ut(d)),(0,Ie.of)(!0)}(m.route.parent,f),function(d,l){return null!==d&&l&&l(new ni(d)),(0,Ie.of)(!0)}(m.route,f),function(d,l,u){const f=l[l.length-1],_=l.slice(0,l.length-1).reverse().map(T=>function(d){const l=d.routeConfig?d.routeConfig.canActivateChild:null;return l&&0!==l.length?{node:d,guards:l}:null}(T)).filter(T=>null!==T).map(T=>ze(()=>{const N=T.guards.map(K=>{const _e=Qr(K,T.node,u);let Se;if(function(d){return d&&G(d.canActivateChild)}(_e))Se=Gt(_e.canActivateChild(f,d));else{if(!G(_e))throw new Error("Invalid CanActivateChild guard");Se=Gt(_e(f,d))}return Se.pipe(ln())});return(0,Ie.of)(N).pipe(it())}));return(0,Ie.of)(_).pipe(it())}(d,m.path,u),function(d,l,u){const f=l.routeConfig?l.routeConfig.canActivate:null;if(!f||0===f.length)return(0,Ie.of)(!0);const m=f.map(_=>ze(()=>{const T=Qr(_,l,u);let N;if(function(d){return d&&G(d.canActivate)}(T))N=Gt(T.canActivate(l,d));else{if(!G(T))throw new Error("Invalid CanActivate guard");N=Gt(T(l,d))}return N.pipe(ln())}));return(0,Ie.of)(m).pipe(it())}(d,m.route,u))),ln(m=>!0!==m,!0))}(f,_,d,l):(0,Ie.of)(N)),(0,Te.U)(N=>Object.assign(Object.assign({},u),{guardsResult:N})))})}(this.ngModule.injector,N=>this.triggerEvent(N)),(0,le.b)(N=>{if(we(N.guardsResult)){const _e=Ur(`Redirecting to "${this.serializeUrl(N.guardsResult)}"`);throw _e.url=N.guardsResult,_e}const K=new be(N.id,this.serializeUrl(N.extractedUrl),this.serializeUrl(N.urlAfterRedirects),N.targetSnapshot,!!N.guardsResult);this.triggerEvent(K)}),(0,un.h)(N=>!!N.guardsResult||(this.restoreHistory(N),this.cancelNavigationTransition(N,""),!1)),Lo(N=>{if(N.guards.canActivateChecks.length)return(0,Ie.of)(N).pipe((0,le.b)(K=>{const _e=new bn(K.id,this.serializeUrl(K.extractedUrl),this.serializeUrl(K.urlAfterRedirects),K.targetSnapshot);this.triggerEvent(_e)}),U(K=>{let _e=!1;return(0,Ie.of)(K).pipe(function(d,l){return(0,j.zg)(u=>{const{targetSnapshot:f,guards:{canActivateChecks:m}}=u;if(!m.length)return(0,Ie.of)(u);let _=0;return(0,ot.D)(m).pipe((0,X.b)(T=>function(d,l,u,f){return function(d,l,u,f){const m=Object.keys(d);if(0===m.length)return(0,Ie.of)({});const _={};return(0,ot.D)(m).pipe((0,j.zg)(T=>function(d,l,u,f){const m=Qr(d,l,f);return Gt(m.resolve?m.resolve(l,u):m(l,u))}(d[T],l,u,f).pipe((0,le.b)(N=>{_[T]=N}))),nn(1),(0,j.zg)(()=>Object.keys(_).length===m.length?(0,Ie.of)(_):he.E))}(d._resolve,d,l,f).pipe((0,Te.U)(_=>(d._resolvedData=_,d.data=Object.assign(Object.assign({},d.data),si(d,u).resolve),null)))}(T.route,f,d,l)),(0,le.b)(()=>_++),nn(1),(0,j.zg)(T=>_===m.length?(0,Ie.of)(u):he.E))})}(this.paramsInheritanceStrategy,this.ngModule.injector),(0,le.b)({next:()=>_e=!0,complete:()=>{_e||(this.restoreHistory(K),this.cancelNavigationTransition(K,"At least one route resolver didn't emit any value."))}}))}),(0,le.b)(K=>{const _e=new We(K.id,this.serializeUrl(K.extractedUrl),this.serializeUrl(K.urlAfterRedirects),K.targetSnapshot);this.triggerEvent(_e)}))}),Lo(N=>{const{targetSnapshot:K,id:_e,extractedUrl:Se,rawUrl:Ke,extras:{skipLocationChange:wt,replaceUrl:nt}}=N;return this.hooks.afterPreactivation(K,{navigationId:_e,appliedUrlTree:Se,rawUrlTree:Ke,skipLocationChange:!!wt,replaceUrl:!!nt})}),(0,Te.U)(N=>{const K=function(d,l,u){const f=ks(d,l._root,u?u._root:void 0);return new Gr(f,l)}(this.routeReuseStrategy,N.targetSnapshot,N.currentRouterState);return Object.assign(Object.assign({},N),{targetRouterState:K})}),(0,le.b)(N=>{this.currentUrlTree=N.urlAfterRedirects,this.rawUrlTree=this.urlHandlingStrategy.merge(this.currentUrlTree,N.rawUrl),this.routerState=N.targetRouterState,"deferred"===this.urlUpdateStrategy&&(N.extras.skipLocationChange||this.setBrowserUrl(this.rawUrlTree,N),this.browserUrlTree=N.urlAfterRedirects)}),((d,l,u)=>(0,Te.U)(f=>(new C(l,f.targetRouterState,f.currentRouterState,u).activate(d),f)))(this.rootContexts,this.routeReuseStrategy,N=>this.triggerEvent(N)),(0,le.b)({next(){_=!0},complete(){_=!0}}),function(d){return l=>l.lift(new O(d))}(()=>{if(!_&&!T){const N=`Navigation ID ${m.id} is not equal to the current navigation id ${this.navigationId}`;"replace"===this.canceledNavigationResolution?(this.restoreHistory(m),this.cancelNavigationTransition(m,N)):this.cancelNavigationTransition(m,N)}this.currentNavigation=null}),yn(N=>{if(T=!0,function(d){return d&&d[Cr]}(N)){const K=we(N.url);K||(this.navigated=!0,this.restoreHistory(m,!0));const _e=new at(m.id,this.serializeUrl(m.extractedUrl),N.message);f.next(_e),K?setTimeout(()=>{const Se=this.urlHandlingStrategy.merge(N.url,this.rawUrlTree),Ke={skipLocationChange:m.extras.skipLocationChange,replaceUrl:"eager"===this.urlUpdateStrategy||Vo(m.source)};this.scheduleNavigation(Se,"imperative",null,Ke,{resolve:m.resolve,reject:m.reject,promise:m.promise})},0):m.resolve(!1)}else{this.restoreHistory(m,!0);const K=new vt(m.id,this.serializeUrl(m.extractedUrl),N);f.next(K);try{m.resolve(this.errorHandler(N))}catch(_e){m.reject(_e)}}return he.E}))}))}resetRootComponentType(u){this.rootComponentType=u,this.routerState.root.component=this.rootComponentType}getTransition(){const u=this.transitions.value;return u.urlAfterRedirects=this.browserUrlTree,u}setTransition(u){this.transitions.next(Object.assign(Object.assign({},this.getTransition()),u))}initialNavigation(){this.setUpLocationChangeListener(),0===this.navigationId&&this.navigateByUrl(this.location.path(!0),{replaceUrl:!0})}setUpLocationChangeListener(){this.locationSubscription||(this.locationSubscription=this.location.subscribe(u=>{const f=this.extractLocationChangeInfoFromEvent(u);this.shouldScheduleNavigation(this.lastLocationChangeInfo,f)&&setTimeout(()=>{const{source:m,state:_,urlTree:T}=f,N={replaceUrl:!0};if(_){const K=Object.assign({},_);delete K.navigationId,delete K.\u0275routerPageId,0!==Object.keys(K).length&&(N.state=K)}this.scheduleNavigation(T,m,_,N)},0),this.lastLocationChangeInfo=f}))}extractLocationChangeInfoFromEvent(u){var f;return{source:"popstate"===u.type?"popstate":"hashchange",urlTree:this.parseUrl(u.url),state:(null===(f=u.state)||void 0===f?void 0:f.navigationId)?u.state:null,transitionId:this.getTransition().id}}shouldScheduleNavigation(u,f){if(!u)return!0;const m=f.urlTree.toString()===u.urlTree.toString();return f.transitionId!==u.transitionId||!m||!("hashchange"===f.source&&"popstate"===u.source||"popstate"===f.source&&"hashchange"===u.source)}get url(){return this.serializeUrl(this.currentUrlTree)}getCurrentNavigation(){return this.currentNavigation}triggerEvent(u){this.events.next(u)}resetConfig(u){Nn(u),this.config=u.map(Rn),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(u,f={}){const{relativeTo:m,queryParams:_,fragment:T,queryParamsHandling:N,preserveFragment:K}=f,_e=m||this.routerState.root,Se=K?this.currentUrlTree.fragment:T;let Ke=null;switch(N){case"merge":Ke=Object.assign(Object.assign({},this.currentUrlTree.queryParams),_);break;case"preserve":Ke=this.currentUrlTree.queryParams;break;default:Ke=_||null}return null!==Ke&&(Ke=this.removeEmptyProps(Ke)),function(d,l,u,f,m){if(0===u.length)return Wr(l.root,l.root,l,f,m);const _=function(d){if("string"==typeof d[0]&&1===d.length&&"/"===d[0])return new bo(!0,0,d);let l=0,u=!1;const f=d.reduce((m,_,T)=>{if("object"==typeof _&&null!=_){if(_.outlets){const N={};return Dt(_.outlets,(K,_e)=>{N[_e]="string"==typeof K?K.split("/"):K}),[...m,{outlets:N}]}if(_.segmentPath)return[...m,_.segmentPath]}return"string"!=typeof _?[...m,_]:0===T?(_.split("/").forEach((N,K)=>{0==K&&"."===N||(0==K&&""===N?u=!0:".."===N?l++:""!=N&&m.push(N))}),m):[...m,_]},[]);return new bo(u,l,f)}(u);if(_.toRoot())return Wr(l.root,new ve([],{}),l,f,m);const T=function(d,l,u){if(d.isAbsolute)return new wo(l.root,!0,0);if(-1===u.snapshot._lastPathIndex){const _=u.snapshot._urlSegment;return new wo(_,_===l.root,0)}const f=li(d.commands[0])?0:1;return function(d,l,u){let f=d,m=l,_=u;for(;_>m;){if(_-=m,f=f.parent,!f)throw new Error("Invalid number of '../'");m=f.segments.length}return new wo(f,!1,m-_)}(u.snapshot._urlSegment,u.snapshot._lastPathIndex+f,d.numberOfDoubleDots)}(_,l,d),N=T.processChildren?hs(T.segmentGroup,T.index,_.commands):di(T.segmentGroup,T.index,_.commands);return Wr(T.segmentGroup,N,l,f,m)}(_e,this.currentUrlTree,u,Ke,null!=Se?Se:null)}navigateByUrl(u,f={skipLocationChange:!1}){const m=we(u)?u:this.parseUrl(u),_=this.urlHandlingStrategy.merge(m,this.rawUrlTree);return this.scheduleNavigation(_,"imperative",null,f)}navigate(u,f={skipLocationChange:!1}){return function(d){for(let l=0;l<d.length;l++){const u=d[l];if(null==u)throw new Error(`The requested path contains ${u} segment at index ${l}`)}}(u),this.navigateByUrl(this.createUrlTree(u,f),f)}serializeUrl(u){return this.urlSerializer.serialize(u)}parseUrl(u){let f;try{f=this.urlSerializer.parse(u)}catch(m){f=this.malformedUriErrorHandler(m,this.urlSerializer,u)}return f}isActive(u,f){let m;if(m=!0===f?Object.assign({},ko):!1===f?Object.assign({},El):f,we(u))return Nt(this.currentUrlTree,u,m);const _=this.parseUrl(u);return Nt(this.currentUrlTree,_,m)}removeEmptyProps(u){return Object.keys(u).reduce((f,m)=>{const _=u[m];return null!=_&&(f[m]=_),f},{})}processNavigations(){this.navigations.subscribe(u=>{this.navigated=!0,this.lastSuccessfulId=u.id,this.currentPageId=u.targetPageId,this.events.next(new _t(u.id,this.serializeUrl(u.extractedUrl),this.serializeUrl(this.currentUrlTree))),this.lastSuccessfulNavigation=this.currentNavigation,u.resolve(!0)},u=>{this.console.warn("Unhandled Navigation Error: ")})}scheduleNavigation(u,f,m,_,T){var N,K;if(this.disposed)return Promise.resolve(!1);const _e=this.getTransition(),Se=Vo(f)&&_e&&!Vo(_e.source),nt=(this.lastSuccessfulId===_e.id||this.currentNavigation?_e.rawUrl:_e.urlAfterRedirects).toString()===u.toString();if(Se&&nt)return Promise.resolve(!0);let qr,rr,rt;T?(qr=T.resolve,rr=T.reject,rt=T.promise):rt=new Promise((Zr,ou)=>{qr=Zr,rr=ou});const Hs=++this.navigationId;let Jr;return"computed"===this.canceledNavigationResolution?(0===this.currentPageId&&(m=this.location.getState()),Jr=m&&m.\u0275routerPageId?m.\u0275routerPageId:_.replaceUrl||_.skipLocationChange?null!==(N=this.browserPageId)&&void 0!==N?N:0:(null!==(K=this.browserPageId)&&void 0!==K?K:0)+1):Jr=0,this.setTransition({id:Hs,targetPageId:Jr,source:f,restoredState:m,currentUrlTree:this.currentUrlTree,currentRawUrl:this.rawUrlTree,rawUrl:u,extras:_,resolve:qr,reject:rr,promise:rt,currentSnapshot:this.routerState.snapshot,currentRouterState:this.routerState}),rt.catch(Zr=>Promise.reject(Zr))}setBrowserUrl(u,f){const m=this.urlSerializer.serialize(u),_=Object.assign(Object.assign({},f.extras.state),this.generateNgRouterState(f.id,f.targetPageId));this.location.isCurrentPathEqualTo(m)||f.extras.replaceUrl?this.location.replaceState(m,"",_):this.location.go(m,"",_)}restoreHistory(u,f=!1){var m,_;if("computed"===this.canceledNavigationResolution){const T=this.currentPageId-u.targetPageId;"popstate"!==u.source&&"eager"!==this.urlUpdateStrategy&&this.currentUrlTree!==(null===(m=this.currentNavigation)||void 0===m?void 0:m.finalUrl)||0===T?this.currentUrlTree===(null===(_=this.currentNavigation)||void 0===_?void 0:_.finalUrl)&&0===T&&(this.resetState(u),this.browserUrlTree=u.currentUrlTree,this.resetUrlToCurrentUrlTree()):this.location.historyGo(T)}else"replace"===this.canceledNavigationResolution&&(f&&this.resetState(u),this.resetUrlToCurrentUrlTree())}resetState(u){this.routerState=u.currentRouterState,this.currentUrlTree=u.currentUrlTree,this.rawUrlTree=this.urlHandlingStrategy.merge(this.currentUrlTree,u.rawUrl)}resetUrlToCurrentUrlTree(){this.location.replaceState(this.urlSerializer.serialize(this.rawUrlTree),"",this.generateNgRouterState(this.lastSuccessfulId,this.currentPageId))}cancelNavigationTransition(u,f){const m=new at(u.id,this.serializeUrl(u.extractedUrl),f);this.triggerEvent(m),u.resolve(!1)}generateNgRouterState(u,f){return"computed"===this.canceledNavigationResolution?{navigationId:u,\u0275routerPageId:f}:{navigationId:u}}}return d.\u0275fac=function(u){return new(u||d)(E.LFG(E.DyG),E.LFG(gt),E.LFG(Es),E.LFG(w.Ye),E.LFG(E.zs3),E.LFG(E.v3s),E.LFG(E.Sil),E.LFG(void 0))},d.\u0275prov=E.Yz7({token:d,factory:d.\u0275fac}),d})();function Vo(d){return"imperative"!==d}let bi=(()=>{class d{constructor(u,f,m,_,T){this.parentContexts=u,this.location=f,this.resolver=m,this.changeDetector=T,this.activated=null,this._activatedRoute=null,this.activateEvents=new E.vpe,this.deactivateEvents=new E.vpe,this.name=_||Fe,u.onChildOutletCreated(this.name,this)}ngOnDestroy(){this.parentContexts.onChildOutletDestroyed(this.name)}ngOnInit(){if(!this.activated){const u=this.parentContexts.getContext(this.name);u&&u.route&&(u.attachRef?this.attach(u.attachRef,u.route):this.activateWith(u.route,u.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 u=this.activated;return this.activated=null,this._activatedRoute=null,u}attach(u,f){this.activated=u,this._activatedRoute=f,this.location.insert(u.hostView)}deactivate(){if(this.activated){const u=this.component;this.activated.destroy(),this.activated=null,this._activatedRoute=null,this.deactivateEvents.emit(u)}}activateWith(u,f){if(this.isActivated)throw new Error("Cannot activate an already activated outlet");this._activatedRoute=u;const T=(f=f||this.resolver).resolveComponentFactory(u._futureSnapshot.routeConfig.component),N=this.parentContexts.getOrCreateContext(this.name).children,K=new bs(u,N,this.location.injector);this.activated=this.location.createComponent(T,this.location.length,K),this.changeDetector.markForCheck(),this.activateEvents.emit(this.activated.instance)}}return d.\u0275fac=function(u){return new(u||d)(E.Y36(Es),E.Y36(E.s_b),E.Y36(E._Vd),E.$8M("name"),E.Y36(E.sBO))},d.\u0275dir=E.lG2({type:d,selectors:[["router-outlet"]],outputs:{activateEvents:"activate",deactivateEvents:"deactivate"},exportAs:["outlet"]}),d})();class bs{constructor(l,u,f){this.route=l,this.childContexts=u,this.parent=f}get(l,u){return l===zr?this.route:l===Es?this.childContexts:this.parent.get(l,u)}}class eu{}class wi{preload(l,u){return(0,Ie.of)(null)}}let Bs=(()=>{class d{constructor(u,f,m,_,T){this.router=u,this.injector=_,this.preloadingStrategy=T,this.loader=new Ei(f,m,_e=>u.triggerEvent(new xt(_e)),_e=>u.triggerEvent(new sn(_e)))}setUpPreloading(){this.subscription=this.router.events.pipe((0,un.h)(u=>u instanceof _t),(0,X.b)(()=>this.preload())).subscribe(()=>{})}preload(){const u=this.injector.get(E.h0i);return this.processRoutes(u,this.router.config)}ngOnDestroy(){this.subscription&&this.subscription.unsubscribe()}processRoutes(u,f){const m=[];for(const _ of f)if(_.loadChildren&&!_.canLoad&&_._loadedConfig){const T=_._loadedConfig;m.push(this.processRoutes(T.module,T.routes))}else _.loadChildren&&!_.canLoad?m.push(this.preloadConfig(u,_)):_.children&&m.push(this.processRoutes(u,_.children));return(0,ot.D)(m).pipe((0,Qt.J)(),(0,Te.U)(_=>{}))}preloadConfig(u,f){return this.preloadingStrategy.preload(f,()=>(f._loadedConfig?(0,Ie.of)(f._loadedConfig):this.loader.load(u.injector,f)).pipe((0,j.zg)(_=>(f._loadedConfig=_,this.processRoutes(_.module,_.routes)))))}}return d.\u0275fac=function(u){return new(u||d)(E.LFG(an),E.LFG(E.v3s),E.LFG(E.Sil),E.LFG(E.zs3),E.LFG(eu))},d.\u0275prov=E.Yz7({token:d,factory:d.\u0275fac}),d})(),tu=(()=>{class d{constructor(u,f,m={}){this.router=u,this.viewportScroller=f,this.options=m,this.lastId=0,this.lastSource="imperative",this.restoredId=0,this.store={},m.scrollPositionRestoration=m.scrollPositionRestoration||"disabled",m.anchorScrolling=m.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(u=>{u instanceof He?(this.store[this.lastId]=this.viewportScroller.getScrollPosition(),this.lastSource=u.navigationTrigger,this.restoredId=u.restoredState?u.restoredState.navigationId:0):u instanceof _t&&(this.lastId=u.id,this.scheduleScrollEvent(u,this.router.parseUrl(u.urlAfterRedirects).fragment))})}consumeScrollEvents(){return this.router.events.subscribe(u=>{u instanceof qe&&(u.position?"top"===this.options.scrollPositionRestoration?this.viewportScroller.scrollToPosition([0,0]):"enabled"===this.options.scrollPositionRestoration&&this.viewportScroller.scrollToPosition(u.position):u.anchor&&"enabled"===this.options.anchorScrolling?this.viewportScroller.scrollToAnchor(u.anchor):"disabled"!==this.options.scrollPositionRestoration&&this.viewportScroller.scrollToPosition([0,0]))})}scheduleScrollEvent(u,f){this.router.triggerEvent(new qe(u,"popstate"===this.lastSource?this.store[this.restoredId]:null,f))}ngOnDestroy(){this.routerEventsSubscription&&this.routerEventsSubscription.unsubscribe(),this.scrollEventsSubscription&&this.scrollEventsSubscription.unsubscribe()}}return d.\u0275fac=function(u){return new(u||d)(E.LFG(an),E.LFG(w.EM),E.LFG(void 0))},d.\u0275prov=E.Yz7({token:d,factory:d.\u0275fac}),d})();const Sr=new E.OlP("ROUTER_CONFIGURATION"),nu=new E.OlP("ROUTER_FORROOT_GUARD"),Us=[w.Ye,{provide:gt,useClass:kn},{provide:an,useFactory:function(d,l,u,f,m,_,T,N={},K,_e){const Se=new an(null,d,l,u,f,m,_,Er(T));return K&&(Se.urlHandlingStrategy=K),_e&&(Se.routeReuseStrategy=_e),function(d,l){d.errorHandler&&(l.errorHandler=d.errorHandler),d.malformedUriErrorHandler&&(l.malformedUriErrorHandler=d.malformedUriErrorHandler),d.onSameUrlNavigation&&(l.onSameUrlNavigation=d.onSameUrlNavigation),d.paramsInheritanceStrategy&&(l.paramsInheritanceStrategy=d.paramsInheritanceStrategy),d.relativeLinkResolution&&(l.relativeLinkResolution=d.relativeLinkResolution),d.urlUpdateStrategy&&(l.urlUpdateStrategy=d.urlUpdateStrategy)}(N,Se),N.enableTracing&&Se.events.subscribe(Ke=>{var wt,nt;null===(wt=console.group)||void 0===wt||wt.call(console,`Router Event: ${Ke.constructor.name}`),console.log(Ke.toString()),console.log(Ke),null===(nt=console.groupEnd)||void 0===nt||nt.call(console)}),Se},deps:[gt,Es,w.Ye,E.zs3,E.v3s,E.Sil,_s,Sr,[class{},new E.FiY],[class{},new E.FiY]]},Es,{provide:zr,useFactory:function(d){return d.routerState.root},deps:[an]},{provide:E.v3s,useClass:E.EAV},Bs,wi,class{preload(l,u){return u().pipe(yn(()=>(0,Ie.of)(null)))}},{provide:Sr,useValue:{enableTracing:!1}}];function jo(){return new E.PXZ("Router",an)}let Bo=(()=>{class d{constructor(u,f){}static forRoot(u,f){return{ngModule:d,providers:[Us,Uo(u),{provide:nu,useFactory:bl,deps:[[an,new E.FiY,new E.tp0]]},{provide:Sr,useValue:f||{}},{provide:w.S$,useFactory:Ti,deps:[w.lw,[new E.tBr(w.mr),new E.FiY],Sr]},{provide:tu,useFactory:Ii,deps:[an,w.EM,Sr]},{provide:eu,useExisting:f&&f.preloadingStrategy?f.preloadingStrategy:wi},{provide:E.PXZ,multi:!0,useFactory:jo},[Ho,{provide:E.ip1,multi:!0,useFactory:wl,deps:[Ho]},{provide:Is,useFactory:Si,deps:[Ho]},{provide:E.tb,multi:!0,useExisting:Is}]]}}static forChild(u){return{ngModule:d,providers:[Uo(u)]}}}return d.\u0275fac=function(u){return new(u||d)(E.LFG(nu,8),E.LFG(an,8))},d.\u0275mod=E.oAB({type:d}),d.\u0275inj=E.cJS({}),d})();function Ii(d,l,u){return u.scrollOffset&&l.setOffset(u.scrollOffset),new tu(d,l,u)}function Ti(d,l,u={}){return u.useHash?new w.Do(d,l):new w.b0(d,l)}function bl(d){return"guarded"}function Uo(d){return[{provide:E.deG,multi:!0,useValue:d},{provide:_s,multi:!0,useValue:d}]}let Ho=(()=>{class d{constructor(u){this.injector=u,this.initNavigation=!1,this.destroyed=!1,this.resultOfPreactivationDone=new ce.xQ}appInitializer(){return this.injector.get(w.V_,Promise.resolve(null)).then(()=>{if(this.destroyed)return Promise.resolve(!0);let f=null;const m=new Promise(N=>f=N),_=this.injector.get(an),T=this.injector.get(Sr);return"disabled"===T.initialNavigation?(_.setUpLocationChangeListener(),f(!0)):"enabled"===T.initialNavigation||"enabledBlocking"===T.initialNavigation?(_.hooks.afterPreactivation=()=>this.initNavigation?(0,Ie.of)(null):(this.initNavigation=!0,f(!0),this.resultOfPreactivationDone),_.initialNavigation()):f(!0),m})}bootstrapListener(u){const f=this.injector.get(Sr),m=this.injector.get(Bs),_=this.injector.get(tu),T=this.injector.get(an),N=this.injector.get(E.z2F);u===N.components[0]&&(("enabledNonBlocking"===f.initialNavigation||void 0===f.initialNavigation)&&T.initialNavigation(),m.setUpPreloading(),_.init(),T.resetRootComponentType(N.componentTypes[0]),this.resultOfPreactivationDone.next(null),this.resultOfPreactivationDone.complete())}ngOnDestroy(){this.destroyed=!0}}return d.\u0275fac=function(u){return new(u||d)(E.LFG(E.zs3))},d.\u0275prov=E.Yz7({token:d,factory:d.\u0275fac}),d})();function wl(d){return d.appInitializer.bind(d)}function Si(d){return d.bootstrapListener.bind(d)}const Is=new E.OlP("Router Initializer")},3948:(Ve,ae,x)=>{"use strict";x.d(ae,{y:()=>$});var w=x(8744),ce=x(9754),Ee=x(5669),te=x(7631),de=x(7846);var k=x(6633);let $=(()=>{class ne{constructor(Ce){this._isScalar=!1,Ce&&(this._subscribe=Ce)}lift(Ce){const W=new ne;return W.source=this,W.operator=Ce,W}subscribe(Ce,W,Re){const{operator:et}=this,Ae=function(ne,se,Ce){if(ne){if(ne instanceof w.L)return ne;if(ne[ce.b])return ne[ce.b]()}return ne||se||Ce?new w.L(ne,se,Ce):new w.L(Ee.c)}(Ce,W,Re);if(Ae.add(et?et.call(Ae,this.source):this.source||k.v.useDeprecatedSynchronousErrorHandling&&!Ae.syncErrorThrowable?this._subscribe(Ae):this._trySubscribe(Ae)),k.v.useDeprecatedSynchronousErrorHandling&&Ae.syncErrorThrowable&&(Ae.syncErrorThrowable=!1,Ae.syncErrorThrown))throw Ae.syncErrorValue;return Ae}_trySubscribe(Ce){try{return this._subscribe(Ce)}catch(W){k.v.useDeprecatedSynchronousErrorHandling&&(Ce.syncErrorThrown=!0,Ce.syncErrorValue=W),function(ne){for(;ne;){const{closed:se,destination:Ce,isStopped:W}=ne;if(se||W)return!1;ne=Ce&&Ce instanceof w.L?Ce:null}return!0}(Ce)?Ce.error(W):console.warn(W)}}forEach(Ce,W){return new(W=z(W))((Re,et)=>{let Ae;Ae=this.subscribe(fe=>{try{Ce(fe)}catch(Ie){et(Ie),Ae&&Ae.unsubscribe()}},et,Re)})}_subscribe(Ce){const{source:W}=this;return W&&W.subscribe(Ce)}[te.L](){return this}pipe(...Ce){return 0===Ce.length?this:function(ne){return 0===ne.length?de.y:1===ne.length?ne[0]:function(Ce){return ne.reduce((W,Re)=>Re(W),Ce)}}(Ce)(this)}toPromise(Ce){return new(Ce=z(Ce))((W,Re)=>{let et;this.subscribe(Ae=>et=Ae,Ae=>Re(Ae),()=>W(et))})}}return ne.create=se=>new ne(se),ne})();function z(ne){if(ne||(ne=k.v.Promise||Promise),!ne)throw new Error("no Promise impl found");return ne}},5669:(Ve,ae,x)=>{"use strict";x.d(ae,{c:()=>ce});var w=x(6633),E=x(3863);const ce={closed:!0,next(Ee){},error(Ee){if(w.v.useDeprecatedSynchronousErrorHandling)throw Ee;(0,E.z)(Ee)},complete(){}}},9582:(Ve,ae,x)=>{"use strict";x.d(ae,{xQ:()=>re,Yc:()=>de});var w=x(3948),E=x(8744),ce=x(9734),Ee=x(7078);class ue extends ce.w{constructor($,z){super(),this.subject=$,this.subscriber=z,this.closed=!1}unsubscribe(){if(this.closed)return;this.closed=!0;const $=this.subject,z=$.observers;if(this.subject=null,!z||0===z.length||$.isStopped||$.closed)return;const ne=z.indexOf(this.subscriber);-1!==ne&&z.splice(ne,1)}}var te=x(9754);class de extends E.L{constructor($){super($),this.destination=$}}let re=(()=>{class k extends w.y{constructor(){super(),this.observers=[],this.closed=!1,this.isStopped=!1,this.hasError=!1,this.thrownError=null}[te.b](){return new de(this)}lift(z){const ne=new q(this,this);return ne.operator=z,ne}next(z){if(this.closed)throw new Ee.N;if(!this.isStopped){const{observers:ne}=this,se=ne.length,Ce=ne.slice();for(let W=0;W<se;W++)Ce[W].next(z)}}error(z){if(this.closed)throw new Ee.N;this.hasError=!0,this.thrownError=z,this.isStopped=!0;const{observers:ne}=this,se=ne.length,Ce=ne.slice();for(let W=0;W<se;W++)Ce[W].error(z);this.observers.length=0}complete(){if(this.closed)throw new Ee.N;this.isStopped=!0;const{observers:z}=this,ne=z.length,se=z.slice();for(let Ce=0;Ce<ne;Ce++)se[Ce].complete();this.observers.length=0}unsubscribe(){this.isStopped=!0,this.closed=!0,this.observers=null}_trySubscribe(z){if(this.closed)throw new Ee.N;return super._trySubscribe(z)}_subscribe(z){if(this.closed)throw new Ee.N;return this.hasError?(z.error(this.thrownError),ce.w.EMPTY):this.isStopped?(z.complete(),ce.w.EMPTY):(this.observers.push(z),new ue(this,z))}asObservable(){const z=new w.y;return z.source=this,z}}return k.create=($,z)=>new q($,z),k})();class q extends re{constructor($,z){super(),this.destination=$,this.source=z}next($){const{destination:z}=this;z&&z.next&&z.next($)}error($){const{destination:z}=this;z&&z.error&&this.destination.error($)}complete(){const{destination:$}=this;$&&$.complete&&this.destination.complete()}_subscribe($){const{source:z}=this;return z?this.source.subscribe($):ce.w.EMPTY}}},8744:(Ve,ae,x)=>{"use strict";x.d(ae,{L:()=>de});var w=x(3673),E=x(5669),ce=x(9734),Ee=x(9754),ue=x(6633),te=x(3863);class de extends ce.w{constructor(k,$,z){switch(super(),this.syncErrorValue=null,this.syncErrorThrown=!1,this.syncErrorThrowable=!1,this.isStopped=!1,arguments.length){case 0:this.destination=E.c;break;case 1:if(!k){this.destination=E.c;break}if("object"==typeof k){k instanceof de?(this.syncErrorThrowable=k.syncErrorThrowable,this.destination=k,k.add(this)):(this.syncErrorThrowable=!0,this.destination=new re(this,k));break}default:this.syncErrorThrowable=!0,this.destination=new re(this,k,$,z)}}[Ee.b](){return this}static create(k,$,z){const ne=new de(k,$,z);return ne.syncErrorThrowable=!1,ne}next(k){this.isStopped||this._next(k)}error(k){this.isStopped||(this.isStopped=!0,this._error(k))}complete(){this.isStopped||(this.isStopped=!0,this._complete())}unsubscribe(){this.closed||(this.isStopped=!0,super.unsubscribe())}_next(k){this.destination.next(k)}_error(k){this.destination.error(k),this.unsubscribe()}_complete(){this.destination.complete(),this.unsubscribe()}_unsubscribeAndRecycle(){const{_parentOrParents:k}=this;return this._parentOrParents=null,this.unsubscribe(),this.closed=!1,this.isStopped=!1,this._parentOrParents=k,this}}class re extends de{constructor(k,$,z,ne){super(),this._parentSubscriber=k;let se,Ce=this;(0,w.m)($)?se=$:$&&(se=$.next,z=$.error,ne=$.complete,$!==E.c&&(Ce=Object.create($),(0,w.m)(Ce.unsubscribe)&&this.add(Ce.unsubscribe.bind(Ce)),Ce.unsubscribe=this.unsubscribe.bind(this))),this._context=Ce,this._next=se,this._error=z,this._complete=ne}next(k){if(!this.isStopped&&this._next){const{_parentSubscriber:$}=this;ue.v.useDeprecatedSynchronousErrorHandling&&$.syncErrorThrowable?this.__tryOrSetError($,this._next,k)&&this.unsubscribe():this.__tryOrUnsub(this._next,k)}}error(k){if(!this.isStopped){const{_parentSubscriber:$}=this,{useDeprecatedSynchronousErrorHandling:z}=ue.v;if(this._error)z&&$.syncErrorThrowable?(this.__tryOrSetError($,this._error,k),this.unsubscribe()):(this.__tryOrUnsub(this._error,k),this.unsubscribe());else if($.syncErrorThrowable)z?($.syncErrorValue=k,$.syncErrorThrown=!0):(0,te.z)(k),this.unsubscribe();else{if(this.unsubscribe(),z)throw k;(0,te.z)(k)}}}complete(){if(!this.isStopped){const{_parentSubscriber:k}=this;if(this._complete){const $=()=>this._complete.call(this._context);ue.v.useDeprecatedSynchronousErrorHandling&&k.syncErrorThrowable?(this.__tryOrSetError(k,$),this.unsubscribe()):(this.__tryOrUnsub($),this.unsubscribe())}else this.unsubscribe()}}__tryOrUnsub(k,$){try{k.call(this._context,$)}catch(z){if(this.unsubscribe(),ue.v.useDeprecatedSynchronousErrorHandling)throw z;(0,te.z)(z)}}__tryOrSetError(k,$,z){if(!ue.v.useDeprecatedSynchronousErrorHandling)throw new Error("bad call");try{$.call(this._context,z)}catch(ne){return ue.v.useDeprecatedSynchronousErrorHandling?(k.syncErrorValue=ne,k.syncErrorThrown=!0,!0):((0,te.z)(ne),!0)}return!1}_unsubscribe(){const{_parentSubscriber:k}=this;this._context=null,this._parentSubscriber=null,k.unsubscribe()}}},9734:(Ve,ae,x)=>{"use strict";x.d(ae,{w:()=>te});var w=x(9622),E=x(153),ce=x(3673);const ue=(()=>{function re(q){return Error.call(this),this.message=q?`${q.length} errors occurred during unsubscription:\n${q.map((k,$)=>`${$+1}) ${k.toString()}`).join("\n ")}`:"",this.name="UnsubscriptionError",this.errors=q,this}return re.prototype=Object.create(Error.prototype),re})();class te{constructor(q){this.closed=!1,this._parentOrParents=null,this._subscriptions=null,q&&(this._ctorUnsubscribe=!0,this._unsubscribe=q)}unsubscribe(){let q;if(this.closed)return;let{_parentOrParents:k,_ctorUnsubscribe:$,_unsubscribe:z,_subscriptions:ne}=this;if(this.closed=!0,this._parentOrParents=null,this._subscriptions=null,k instanceof te)k.remove(this);else if(null!==k)for(let se=0;se<k.length;++se)k[se].remove(this);if((0,ce.m)(z)){$&&(this._unsubscribe=void 0);try{z.call(this)}catch(se){q=se instanceof ue?de(se.errors):[se]}}if((0,w.k)(ne)){let se=-1,Ce=ne.length;for(;++se<Ce;){const W=ne[se];if((0,E.K)(W))try{W.unsubscribe()}catch(Re){q=q||[],Re instanceof ue?q=q.concat(de(Re.errors)):q.push(Re)}}}if(q)throw new ue(q)}add(q){let k=q;if(!q)return te.EMPTY;switch(typeof q){case"function":k=new te(q);case"object":if(k===this||k.closed||"function"!=typeof k.unsubscribe)return k;if(this.closed)return k.unsubscribe(),k;if(!(k instanceof te)){const ne=k;k=new te,k._subscriptions=[ne]}break;default:throw new Error("unrecognized teardown "+q+" added to Subscription.")}let{_parentOrParents:$}=k;if(null===$)k._parentOrParents=this;else if($ instanceof te){if($===this)return k;k._parentOrParents=[$,this]}else{if(-1!==$.indexOf(this))return k;$.push(this)}const z=this._subscriptions;return null===z?this._subscriptions=[k]:z.push(k),k}remove(q){const k=this._subscriptions;if(k){const $=k.indexOf(q);-1!==$&&k.splice($,1)}}}var re;function de(re){return re.reduce((q,k)=>q.concat(k instanceof ue?k.errors:k),[])}te.EMPTY=((re=new te).closed=!0,re)},6633:(Ve,ae,x)=>{"use strict";x.d(ae,{v:()=>E});let w=!1;const E={Promise:void 0,set useDeprecatedSynchronousErrorHandling(ce){if(ce){const Ee=new Error;console.warn("DEPRECATED! RxJS was set to use deprecated synchronous error handling behavior by code at: \n"+Ee.stack)}else w&&console.log("RxJS: Back to a better error behavior. Thank you. <3");w=ce},get useDeprecatedSynchronousErrorHandling(){return w}}},6790:(Ve,ae,x)=>{"use strict";x.d(ae,{IY:()=>Ee,Ds:()=>te,ft:()=>re});var w=x(8744),E=x(3948),ce=x(7040);class Ee extends w.L{constructor(k){super(),this.parent=k}_next(k){this.parent.notifyNext(k)}_error(k){this.parent.notifyError(k),this.unsubscribe()}_complete(){this.parent.notifyComplete(),this.unsubscribe()}}class te extends w.L{notifyNext(k){this.destination.next(k)}notifyError(k){this.destination.error(k)}notifyComplete(){this.destination.complete()}}function re(q,k){if(k.closed)return;if(q instanceof E.y)return q.subscribe(k);let $;try{$=(0,ce.s)(q)(k)}catch(z){k.error(z)}return $}},955:(Ve,ae,x)=>{"use strict";x.d(ae,{c:()=>ue,N:()=>te});var w=x(9582),E=x(3948),ce=x(9734),Ee=x(5290);class ue extends E.y{constructor($,z){super(),this.source=$,this.subjectFactory=z,this._refCount=0,this._isComplete=!1}_subscribe($){return this.getSubject().subscribe($)}getSubject(){const $=this._subject;return(!$||$.isStopped)&&(this._subject=this.subjectFactory()),this._subject}connect(){let $=this._connection;return $||(this._isComplete=!1,$=this._connection=new ce.w,$.add(this.source.subscribe(new de(this.getSubject(),this))),$.closed&&(this._connection=null,$=ce.w.EMPTY)),$}refCount(){return(0,Ee.x)()(this)}}const te=(()=>{const k=ue.prototype;return{operator:{value:null},_refCount:{value:0,writable:!0},_subject:{value:null,writable:!0},_connection:{value:null,writable:!0},_subscribe:{value:k._subscribe},_isComplete:{value:k._isComplete,writable:!0},getSubject:{value:k.getSubject},connect:{value:k.connect},refCount:{value:k.refCount}}})();class de extends w.Yc{constructor($,z){super($),this.connectable=z}_error($){this._unsubscribe(),super._error($)}_complete(){this.connectable._isComplete=!0,this._unsubscribe(),super._complete()}_unsubscribe(){const $=this.connectable;if($){this.connectable=null;const z=$._connection;$._refCount=0,$._subject=null,$._connection=null,z&&z.unsubscribe()}}}},3974:(Ve,ae,x)=>{"use strict";x.d(ae,{E:()=>E,c:()=>ce});var w=x(3948);const E=new w.y(ue=>ue.complete());function ce(ue){return ue?function(ue){return new w.y(te=>ue.schedule(()=>te.complete()))}(ue):E}},2850:(Ve,ae,x)=>{"use strict";x.d(ae,{D:()=>Ce});var w=x(3948),E=x(7040),ce=x(9734),Ee=x(7631),de=x(9112),re=x(5389),$=x(8253),z=x(1292);function Ce(W,Re){return Re?function(W,Re){if(null!=W){if(function(W){return W&&"function"==typeof W[Ee.L]}(W))return function(W,Re){return new w.y(et=>{const Ae=new ce.w;return Ae.add(Re.schedule(()=>{const fe=W[Ee.L]();Ae.add(fe.subscribe({next(Ie){Ae.add(Re.schedule(()=>et.next(Ie)))},error(Ie){Ae.add(Re.schedule(()=>et.error(Ie)))},complete(){Ae.add(Re.schedule(()=>et.complete()))}}))})),Ae})}(W,Re);if((0,$.t)(W))return function(W,Re){return new w.y(et=>{const Ae=new ce.w;return Ae.add(Re.schedule(()=>W.then(fe=>{Ae.add(Re.schedule(()=>{et.next(fe),Ae.add(Re.schedule(()=>et.complete()))}))},fe=>{Ae.add(Re.schedule(()=>et.error(fe)))}))),Ae})}(W,Re);if((0,z.z)(W))return(0,de.r)(W,Re);if(function(W){return W&&"function"==typeof W[re.hZ]}(W)||"string"==typeof W)return function(W,Re){if(!W)throw new Error("Iterable cannot be null");return new w.y(et=>{const Ae=new ce.w;let fe;return Ae.add(()=>{fe&&"function"==typeof fe.return&&fe.return()}),Ae.add(Re.schedule(()=>{fe=W[re.hZ](),Ae.add(Re.schedule(function(){if(et.closed)return;let Ie,Qt;try{const Mt=fe.next();Ie=Mt.value,Qt=Mt.done}catch(Mt){return void et.error(Mt)}Qt?et.complete():(et.next(Ie),this.schedule())}))})),Ae})}(W,Re)}throw new TypeError((null!==W&&typeof W||W)+" is not observable")}(W,Re):W instanceof w.y?W:new w.y((0,E.s)(W))}},6431:(Ve,ae,x)=>{"use strict";x.d(ae,{n:()=>Ee});var w=x(3948),E=x(4537),ce=x(9112);function Ee(ue,te){return te?(0,ce.r)(ue,te):new w.y((0,E.V)(ue))}},267:(Ve,ae,x)=>{"use strict";x.d(ae,{of:()=>Ee});var w=x(7204),E=x(6431),ce=x(9112);function Ee(...ue){let te=ue[ue.length-1];return(0,w.K)(te)?(ue.pop(),(0,ce.r)(ue,te)):(0,E.n)(ue)}},3748:(Ve,ae,x)=>{"use strict";x.d(ae,{b:()=>E});var w=x(6513);function E(ce,Ee){return(0,w.zg)(ce,Ee,1)}},3305:(Ve,ae,x)=>{"use strict";x.d(ae,{h:()=>E});var w=x(8744);function E(ue,te){return function(re){return re.lift(new ce(ue,te))}}class ce{constructor(te,de){this.predicate=te,this.thisArg=de}call(te,de){return de.subscribe(new Ee(te,this.predicate,this.thisArg))}}class Ee extends w.L{constructor(te,de,re){super(te),this.predicate=de,this.thisArg=re,this.count=0}_next(te){let de;try{de=this.predicate.call(this.thisArg,te,this.count++)}catch(re){return void this.destination.error(re)}de&&this.destination.next(te)}}},8561:(Ve,ae,x)=>{"use strict";x.d(ae,{U:()=>E});var w=x(8744);function E(ue,te){return function(re){if("function"!=typeof ue)throw new TypeError("argument is not a function. Are you looking for `mapTo()`?");return re.lift(new ce(ue,te))}}class ce{constructor(te,de){this.project=te,this.thisArg=de}call(te,de){return de.subscribe(new Ee(te,this.project,this.thisArg))}}class Ee extends w.L{constructor(te,de,re){super(te),this.project=de,this.count=0,this.thisArg=re||this}_next(te){let de;try{de=this.project.call(this.thisArg,te,this.count++)}catch(re){return void this.destination.error(re)}this.destination.next(de)}}},4540:(Ve,ae,x)=>{"use strict";x.d(ae,{J:()=>ce});var w=x(6513),E=x(7846);function ce(Ee=Number.POSITIVE_INFINITY){return(0,w.zg)(E.y,Ee)}},6513:(Ve,ae,x)=>{"use strict";x.d(ae,{zg:()=>Ee});var w=x(8561),E=x(2850),ce=x(6790);function Ee(re,q,k=Number.POSITIVE_INFINITY){return"function"==typeof q?$=>$.pipe(Ee((z,ne)=>(0,E.D)(re(z,ne)).pipe((0,w.U)((se,Ce)=>q(z,se,ne,Ce))),k)):("number"==typeof q&&(k=q),$=>$.lift(new ue(re,k)))}class ue{constructor(q,k=Number.POSITIVE_INFINITY){this.project=q,this.concurrent=k}call(q,k){return k.subscribe(new te(q,this.project,this.concurrent))}}class te extends ce.Ds{constructor(q,k,$=Number.POSITIVE_INFINITY){super(q),this.project=k,this.concurrent=$,this.hasCompleted=!1,this.buffer=[],this.active=0,this.index=0}_next(q){this.active<this.concurrent?this._tryNext(q):this.buffer.push(q)}_tryNext(q){let k;const $=this.index++;try{k=this.project(q,$)}catch(z){return void this.destination.error(z)}this.active++,this._innerSub(k)}_innerSub(q){const k=new ce.IY(this),$=this.destination;$.add(k);const z=(0,ce.ft)(q,k);z!==k&&$.add(z)}_complete(){this.hasCompleted=!0,0===this.active&&0===this.buffer.length&&this.destination.complete(),this.unsubscribe()}notifyNext(q){this.destination.next(q)}notifyComplete(){const q=this.buffer;this.active--,q.length>0?this._next(q.shift()):0===this.active&&this.hasCompleted&&this.destination.complete()}}},5290:(Ve,ae,x)=>{"use strict";x.d(ae,{x:()=>E});var w=x(8744);function E(){return function(te){return te.lift(new ce(te))}}class ce{constructor(te){this.connectable=te}call(te,de){const{connectable:re}=this;re._refCount++;const q=new Ee(te,re),k=de.subscribe(q);return q.closed||(q.connection=re.connect()),k}}class Ee extends w.L{constructor(te,de){super(te),this.connectable=de}_unsubscribe(){const{connectable:te}=this;if(!te)return void(this.connection=null);this.connectable=null;const de=te._refCount;if(de<=0)return void(this.connection=null);if(te._refCount=de-1,de>1)return void(this.connection=null);const{connection:re}=this,q=te._connection;this.connection=null,q&&(!re||q===re)&&q.unsubscribe()}}},9917:(Ve,ae,x)=>{"use strict";x.d(ae,{q:()=>Ee});var w=x(8744),E=x(9862),ce=x(3974);function Ee(de){return re=>0===de?(0,ce.c)():re.lift(new ue(de))}class ue{constructor(re){if(this.total=re,this.total<0)throw new E.W}call(re,q){return q.subscribe(new te(re,this.total))}}class te extends w.L{constructor(re,q){super(re),this.total=q,this.count=0}_next(re){const q=this.total,k=++this.count;k<=q&&(this.destination.next(re),k===q&&(this.destination.complete(),this.unsubscribe()))}}},6286:(Ve,ae,x)=>{"use strict";x.d(ae,{b:()=>Ee});var w=x(8744);function E(){}var ce=x(3673);function Ee(de,re,q){return function($){return $.lift(new ue(de,re,q))}}class ue{constructor(re,q,k){this.nextOrObserver=re,this.error=q,this.complete=k}call(re,q){return q.subscribe(new te(re,this.nextOrObserver,this.error,this.complete))}}class te extends w.L{constructor(re,q,k,$){super(re),this._tapNext=E,this._tapError=E,this._tapComplete=E,this._tapError=k||E,this._tapComplete=$||E,(0,ce.m)(q)?(this._context=this,this._tapNext=q):q&&(this._context=q,this._tapNext=q.next||E,this._tapError=q.error||E,this._tapComplete=q.complete||E)}_next(re){try{this._tapNext.call(this._context,re)}catch(q){return void this.destination.error(q)}this.destination.next(re)}_error(re){try{this._tapError.call(this._context,re)}catch(q){return void this.destination.error(q)}this.destination.error(re)}_complete(){try{this._tapComplete.call(this._context)}catch(re){return void this.destination.error(re)}return this.destination.complete()}}},9112:(Ve,ae,x)=>{"use strict";x.d(ae,{r:()=>ce});var w=x(3948),E=x(9734);function ce(Ee,ue){return new w.y(te=>{const de=new E.w;let re=0;return de.add(ue.schedule(function(){re!==Ee.length?(te.next(Ee[re++]),te.closed||de.add(this.schedule())):te.complete()})),de})}},5389:(Ve,ae,x)=>{"use strict";x.d(ae,{hZ:()=>E});const E="function"==typeof Symbol&&Symbol.iterator?Symbol.iterator:"@@iterator"},7631:(Ve,ae,x)=>{"use strict";x.d(ae,{L:()=>w});const w="function"==typeof Symbol&&Symbol.observable||"@@observable"},9754:(Ve,ae,x)=>{"use strict";x.d(ae,{b:()=>w});const w="function"==typeof Symbol?Symbol("rxSubscriber"):"@@rxSubscriber_"+Math.random()},9862:(Ve,ae,x)=>{"use strict";x.d(ae,{W:()=>E});const E=(()=>{function ce(){return Error.call(this),this.message="argument out of range",this.name="ArgumentOutOfRangeError",this}return ce.prototype=Object.create(Error.prototype),ce})()},7078:(Ve,ae,x)=>{"use strict";x.d(ae,{N:()=>E});const E=(()=>{function ce(){return Error.call(this),this.message="object unsubscribed",this.name="ObjectUnsubscribedError",this}return ce.prototype=Object.create(Error.prototype),ce})()},3863:(Ve,ae,x)=>{"use strict";function w(E){setTimeout(()=>{throw E},0)}x.d(ae,{z:()=>w})},7846:(Ve,ae,x)=>{"use strict";function w(E){return E}x.d(ae,{y:()=>w})},9622:(Ve,ae,x)=>{"use strict";x.d(ae,{k:()=>w});const w=Array.isArray||(E=>E&&"number"==typeof E.length)},1292:(Ve,ae,x)=>{"use strict";x.d(ae,{z:()=>w});const w=E=>E&&"number"==typeof E.length&&"function"!=typeof E},3673:(Ve,ae,x)=>{"use strict";function w(E){return"function"==typeof E}x.d(ae,{m:()=>w})},153:(Ve,ae,x)=>{"use strict";function w(E){return null!==E&&"object"==typeof E}x.d(ae,{K:()=>w})},8253:(Ve,ae,x)=>{"use strict";function w(E){return!!E&&"function"!=typeof E.subscribe&&"function"==typeof E.then}x.d(ae,{t:()=>w})},7204:(Ve,ae,x)=>{"use strict";function w(E){return E&&"function"==typeof E.schedule}x.d(ae,{K:()=>w})},7040:(Ve,ae,x)=>{"use strict";x.d(ae,{s:()=>$});var w=x(4537),E=x(3863),Ee=x(5389),te=x(7631),re=x(1292),q=x(8253),k=x(153);const $=z=>{if(z&&"function"==typeof z[te.L])return(z=>ne=>{const se=z[te.L]();if("function"!=typeof se.subscribe)throw new TypeError("Provided object does not correctly implement Symbol.observable");return se.subscribe(ne)})(z);if((0,re.z)(z))return(0,w.V)(z);if((0,q.t)(z))return(z=>ne=>(z.then(se=>{ne.closed||(ne.next(se),ne.complete())},se=>ne.error(se)).then(null,E.z),ne))(z);if(z&&"function"==typeof z[Ee.hZ])return(z=>ne=>{const se=z[Ee.hZ]();for(;;){let Ce;try{Ce=se.next()}catch(W){return ne.error(W),ne}if(Ce.done){ne.complete();break}if(ne.next(Ce.value),ne.closed)break}return"function"==typeof se.return&&ne.add(()=>{se.return&&se.return()}),ne})(z);{const se=`You provided ${(0,k.K)(z)?"an invalid object":`'${z}'`} where a stream was expected. You can provide an Observable, Promise, Array, or Iterable.`;throw new TypeError(se)}}},4537:(Ve,ae,x)=>{"use strict";x.d(ae,{V:()=>w});const w=E=>ce=>{for(let Ee=0,ue=E.length;Ee<ue&&!ce.closed;Ee++)ce.next(E[Ee]);ce.complete()}},3790:(Ve,ae,x)=>{"use strict";x.d(ae,{p:()=>Te});var w=x(267),E=x(9734);class ce extends E.w{constructor(U,H){super()}schedule(U,H=0){return this}}let ue=(()=>{class oe{constructor(H,De=oe.now){this.SchedulerAction=H,this.now=De}schedule(H,De=0,tt){return new this.SchedulerAction(this,H).schedule(tt,De)}}return oe.now=()=>Date.now(),oe})();class te extends ue{constructor(U,H=ue.now){super(U,()=>te.delegate&&te.delegate!==this?te.delegate.now():H()),this.actions=[],this.active=!1,this.scheduled=void 0}schedule(U,H=0,De){return te.delegate&&te.delegate!==this?te.delegate.schedule(U,H,De):super.schedule(U,H,De)}flush(U){const{actions:H}=this;if(this.active)return void H.push(U);let De;this.active=!0;do{if(De=U.execute(U.state,U.delay))break}while(U=H.shift());if(this.active=!1,De){for(;U=H.shift();)U.unsubscribe();throw De}}}const re=new te(class extends ce{constructor(U,H){super(U,H),this.scheduler=U,this.work=H,this.pending=!1}schedule(U,H=0){if(this.closed)return this;this.state=U;const De=this.id,tt=this.scheduler;return null!=De&&(this.id=this.recycleAsyncId(tt,De,H)),this.pending=!0,this.delay=H,this.id=this.id||this.requestAsyncId(tt,this.id,H),this}requestAsyncId(U,H,De=0){return setInterval(U.flush.bind(U,this),De)}recycleAsyncId(U,H,De=0){if(null!==De&&this.delay===De&&!1===this.pending)return H;clearInterval(H)}execute(U,H){if(this.closed)return new Error("executing a cancelled action");this.pending=!1;const De=this._execute(U,H);if(De)return De;!1===this.pending&&null!=this.id&&(this.id=this.recycleAsyncId(this.scheduler,this.id,null))}_execute(U,H){let tt,De=!1;try{this.work(U)}catch(ht){De=!0,tt=!!ht&&ht||new Error(ht)}if(De)return this.unsubscribe(),tt}_unsubscribe(){const U=this.id,H=this.scheduler,De=H.actions,tt=De.indexOf(this);this.work=null,this.state=null,this.pending=!1,this.scheduler=null,-1!==tt&&De.splice(tt,1),null!=U&&(this.id=this.recycleAsyncId(H,U,null)),this.delay=null}});var k=x(8744),$=x(3974),z=x(3948);class W{constructor(U,H,De){this.kind=U,this.value=H,this.error=De,this.hasValue="N"===U}observe(U){switch(this.kind){case"N":return U.next&&U.next(this.value);case"E":return U.error&&U.error(this.error);case"C":return U.complete&&U.complete()}}do(U,H,De){switch(this.kind){case"N":return U&&U(this.value);case"E":return H&&H(this.error);case"C":return De&&De()}}accept(U,H,De){return U&&"function"==typeof U.next?this.observe(U):this.do(U,H,De)}toObservable(){switch(this.kind){case"N":return(0,w.of)(this.value);case"E":return oe=this.error,new z.y(H=>H.error(oe));case"C":return(0,$.c)()}var oe;throw new Error("unexpected notification kind value")}static createNext(U){return void 0!==U?new W("N",U):W.undefinedValueNotification}static createError(U){return new W("E",void 0,U)}static createComplete(){return W.completeNotification}}W.completeNotification=new W("C"),W.undefinedValueNotification=new W("N",void 0);class et{constructor(U,H){this.delay=U,this.scheduler=H}call(U,H){return H.subscribe(new Ae(U,this.delay,this.scheduler))}}class Ae extends k.L{constructor(U,H,De){super(U),this.delay=H,this.scheduler=De,this.queue=[],this.active=!1,this.errored=!1}static dispatch(U){const H=U.source,De=H.queue,tt=U.scheduler,ht=U.destination;for(;De.length>0&&De[0].time-tt.now()<=0;)De.shift().notification.observe(ht);if(De.length>0){const Ct=Math.max(0,De[0].time-tt.now());this.schedule(U,Ct)}else this.unsubscribe(),H.active=!1}_schedule(U){this.active=!0,this.destination.add(U.schedule(Ae.dispatch,this.delay,{source:this,destination:this.destination,scheduler:U}))}scheduleNotification(U){if(!0===this.errored)return;const H=this.scheduler,De=new fe(H.now()+this.delay,U);this.queue.push(De),!1===this.active&&this._schedule(H)}_next(U){this.scheduleNotification(W.createNext(U))}_error(U){this.errored=!0,this.queue=[],this.destination.error(U),this.unsubscribe()}_complete(){this.scheduleNotification(W.createComplete()),this.unsubscribe()}}class fe{constructor(U,H){this.time=U,this.notification=H}}var Ie=x(6286);function Qt(oe){let{media:U}=oe;return"./assets/media/"+U}var he=x(3606),ze=x(6300),st=x(1887);let Te=(()=>{class oe{constructor(H,De){this.router=H,this.http=De,this.nav={inital:!1,initOnMobile:!1,items:["HOME","ABOUT","BLOG","EVENTS","LABS","SHOP"],showMenu:{click:tt=>{let{changeDisplay:ht}=this.nav.mobileMenu.view;ht()}},showFn:tt=>{let{vcf:ht,ref:Ct}=tt;ht.element.nativeElement.style.opacity=1,this.nav.inital=!0,Ct.detectChanges()}},this.labs={panel:{show:!1,view:{style:{width:"0px"}},url:{style:{},type:"iframe"},thumbnail:{style:{}},title:{style:{}},lab:{style:{},type:"iframe"},close:{click:tt=>{let{labs:ht}=this;ht.panel.view.style.opacity=0,ht.panel.view.style.height="0px",ht.panel.view.style.width="0px",delete ht.panel.view.style.transition,(0,w.of)({}).pipe(function(oe,U=re){const De=function(oe){return oe instanceof Date&&!isNaN(+oe)}(oe)?+oe-U.now():Math.abs(oe);return tt=>tt.lift(new et(De,U))}(2e3),(0,Ie.b)(()=>{ht.panel.show=!1})).subscribe()}}}},this.googleMaps={script:{element:null},setup:tt=>{let{map:ht}=tt,{googleMaps:Ct}=this;Ct.map=new google.maps.Map(ht.nativeElement,{zoom:16.5,center:{lat:40.7195,lng:-73.903}}),Ct.marker=new SlidingMarker({position:{lat:40.719,lng:-73.903},map:Ct.map,draggable:!0,duration:1500}),Ct.eggs=Array(3).fill(null).map((yn,os)=>new SlidingMarker({position:[{lat:40.718,lng:-73.903},{lat:40.721,lng:-73.905},{lat:40.720000000000006,lng:-73.901}][os],map:Ct.map,draggable:!0,duration:1500,icon:Qt({media:"eggs.png"})}))},map:null,marker:null,eggs:null,eggsCollected:0},this.socket={client:null}}}return oe.\u0275fac=function(H){return new(H||oe)(he.LFG(ze.F0),he.LFG(st.eN))},oe.\u0275prov=he.Yz7({token:oe,factory:oe.\u0275fac,providedIn:"root"}),oe})()},4766:(Ve,ae,x)=>{"use strict";x.d(ae,{N:()=>w});const w={production:!0,startURL:"/",backend:{url:"https://twilio-segment-app.herokuapp.com"},logging:{url:"http://127.0.0.1:6111"},testing:{confirm:!1}}},7382:(Ve,ae,x)=>{"use strict";var w=x(6274),E=x(3606);class ce extends w.w_{constructor(){super(...arguments),this.supportsDOMEvents=!0}}class Ee extends ce{static makeCurrent(){(0,w.HT)(new Ee)}onAndCancel(M,I,L){return M.addEventListener(I,L,!1),()=>{M.removeEventListener(I,L,!1)}}dispatchEvent(M,I){M.dispatchEvent(I)}remove(M){M.parentNode&&M.parentNode.removeChild(M)}createElement(M,I){return(I=I||this.getDefaultDocument()).createElement(M)}createHtmlDocument(){return document.implementation.createHTMLDocument("fakeTitle")}getDefaultDocument(){return document}isElementNode(M){return M.nodeType===Node.ELEMENT_NODE}isShadowRoot(M){return M instanceof DocumentFragment}getGlobalEventTarget(M,I){return"window"===I?window:"document"===I?M:"body"===I?M.body:null}getBaseHref(M){const I=(ue=ue||document.querySelector("base"),ue?ue.getAttribute("href"):null);return null==I?null:function(R){de=de||document.createElement("a"),de.setAttribute("href",R);const M=de.pathname;return"/"===M.charAt(0)?M:`/${M}`}(I)}resetBaseElement(){ue=null}getUserAgent(){return window.navigator.userAgent}getCookie(M){return(0,w.Mx)(document.cookie,M)}}let de,ue=null;const q=new E.OlP("TRANSITION_ID"),$=[{provide:E.ip1,useFactory:function(R,M,I){return()=>{I.get(E.CZH).donePromise.then(()=>{const L=(0,w.q)(),Y=M.querySelectorAll(`style[ng-transition="${R}"]`);for(let ye=0;ye<Y.length;ye++)L.remove(Y[ye])})}},deps:[q,w.K0,E.zs3],multi:!0}];class z{static init(){(0,E.VLi)(new z)}addToWindow(M){E.dqk.getAngularTestability=(L,Y=!0)=>{const ye=M.findTestabilityInTree(L,Y);if(null==ye)throw new Error("Could not find testability for element.");return ye},E.dqk.getAllAngularTestabilities=()=>M.getAllTestabilities(),E.dqk.getAllAngularRootElements=()=>M.getAllRootElements(),E.dqk.frameworkStabilizers||(E.dqk.frameworkStabilizers=[]),E.dqk.frameworkStabilizers.push(L=>{const Y=E.dqk.getAllAngularTestabilities();let ye=Y.length,Ge=!1;const Tt=function(bt){Ge=Ge||bt,ye--,0==ye&&L(Ge)};Y.forEach(function(bt){bt.whenStable(Tt)})})}findTestabilityInTree(M,I,L){if(null==I)return null;const Y=M.getTestability(I);return null!=Y?Y:L?(0,w.q)().isShadowRoot(I)?this.findTestabilityInTree(M,I.host,!0):this.findTestabilityInTree(M,I.parentElement,!0):null}}let ne=(()=>{class R{build(){return new XMLHttpRequest}}return R.\u0275fac=function(I){return new(I||R)},R.\u0275prov=E.Yz7({token:R,factory:R.\u0275fac}),R})();const Te=new E.OlP("EventManagerPlugins");let oe=(()=>{class R{constructor(I,L){this._zone=L,this._eventNameToPlugin=new Map,I.forEach(Y=>Y.manager=this),this._plugins=I.slice().reverse()}addEventListener(I,L,Y){return this._findPluginFor(L).addEventListener(I,L,Y)}addGlobalEventListener(I,L,Y){return this._findPluginFor(L).addGlobalEventListener(I,L,Y)}getZone(){return this._zone}_findPluginFor(I){const L=this._eventNameToPlugin.get(I);if(L)return L;const Y=this._plugins;for(let ye=0;ye<Y.length;ye++){const Ge=Y[ye];if(Ge.supports(I))return this._eventNameToPlugin.set(I,Ge),Ge}throw new Error(`No event manager plugin found for event ${I}`)}}return R.\u0275fac=function(I){return new(I||R)(E.LFG(Te),E.LFG(E.R0b))},R.\u0275prov=E.Yz7({token:R,factory:R.\u0275fac}),R})();class U{constructor(M){this._doc=M}addGlobalEventListener(M,I,L){const Y=(0,w.q)().getGlobalEventTarget(this._doc,M);if(!Y)throw new Error(`Unsupported event target ${Y} for event ${I}`);return this.addEventListener(Y,I,L)}}let H=(()=>{class R{constructor(){this._stylesSet=new Set}addStyles(I){const L=new Set;I.forEach(Y=>{this._stylesSet.has(Y)||(this._stylesSet.add(Y),L.add(Y))}),this.onStylesAdded(L)}onStylesAdded(I){}getAllStyles(){return Array.from(this._stylesSet)}}return R.\u0275fac=function(I){return new(I||R)},R.\u0275prov=E.Yz7({token:R,factory:R.\u0275fac}),R})(),De=(()=>{class R extends H{constructor(I){super(),this._doc=I,this._hostNodes=new Map,this._hostNodes.set(I.head,[])}_addStylesToHost(I,L,Y){I.forEach(ye=>{const Ge=this._doc.createElement("style");Ge.textContent=ye,Y.push(L.appendChild(Ge))})}addHost(I){const L=[];this._addStylesToHost(this._stylesSet,I,L),this._hostNodes.set(I,L)}removeHost(I){const L=this._hostNodes.get(I);L&&L.forEach(tt),this._hostNodes.delete(I)}onStylesAdded(I){this._hostNodes.forEach((L,Y)=>{this._addStylesToHost(I,Y,L)})}ngOnDestroy(){this._hostNodes.forEach(I=>I.forEach(tt))}}return R.\u0275fac=function(I){return new(I||R)(E.LFG(w.K0))},R.\u0275prov=E.Yz7({token:R,factory:R.\u0275fac}),R})();function tt(R){(0,w.q)().remove(R)}const ht={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/"},Ct=/%COMP%/g;function nn(R,M,I){for(let L=0;L<M.length;L++){let Y=M[L];Array.isArray(Y)?nn(R,Y,I):(Y=Y.replace(Ct,R),I.push(Y))}return I}function Bt(R){return M=>{if("__ngUnwrap__"===M)return R;!1===R(M)&&(M.preventDefault(),M.returnValue=!1)}}let Qe=(()=>{class R{constructor(I,L,Y){this.eventManager=I,this.sharedStylesHost=L,this.appId=Y,this.rendererByCompId=new Map,this.defaultRenderer=new Jn(I)}createRenderer(I,L){if(!I||!L)return this.defaultRenderer;switch(L.encapsulation){case E.ifc.Emulated:{let Y=this.rendererByCompId.get(L.id);return Y||(Y=new Vr(this.eventManager,this.sharedStylesHost,L,this.appId),this.rendererByCompId.set(L.id,Y)),Y.applyToHost(I),Y}case 1:case E.ifc.ShadowDom:return new Ln(this.eventManager,this.sharedStylesHost,I,L);default:if(!this.rendererByCompId.has(L.id)){const Y=nn(L.id,L.styles,[]);this.sharedStylesHost.addStyles(Y),this.rendererByCompId.set(L.id,this.defaultRenderer)}return this.defaultRenderer}}begin(){}end(){}}return R.\u0275fac=function(I){return new(I||R)(E.LFG(oe),E.LFG(De),E.LFG(E.AFp))},R.\u0275prov=E.Yz7({token:R,factory:R.\u0275fac}),R})();class Jn{constructor(M){this.eventManager=M,this.data=Object.create(null)}destroy(){}createElement(M,I){return I?document.createElementNS(ht[I]||I,M):document.createElement(M)}createComment(M){return document.createComment(M)}createText(M){return document.createTextNode(M)}appendChild(M,I){M.appendChild(I)}insertBefore(M,I,L){M&&M.insertBefore(I,L)}removeChild(M,I){M&&M.removeChild(I)}selectRootElement(M,I){let L="string"==typeof M?document.querySelector(M):M;if(!L)throw new Error(`The selector "${M}" did not match any elements`);return I||(L.textContent=""),L}parentNode(M){return M.parentNode}nextSibling(M){return M.nextSibling}setAttribute(M,I,L,Y){if(Y){I=Y+":"+I;const ye=ht[Y];ye?M.setAttributeNS(ye,I,L):M.setAttribute(I,L)}else M.setAttribute(I,L)}removeAttribute(M,I,L){if(L){const Y=ht[L];Y?M.removeAttributeNS(Y,I):M.removeAttribute(`${L}:${I}`)}else M.removeAttribute(I)}addClass(M,I){M.classList.add(I)}removeClass(M,I){M.classList.remove(I)}setStyle(M,I,L,Y){Y&(E.JOm.DashCase|E.JOm.Important)?M.style.setProperty(I,L,Y&E.JOm.Important?"important":""):M.style[I]=L}removeStyle(M,I,L){L&E.JOm.DashCase?M.style.removeProperty(I):M.style[I]=""}setProperty(M,I,L){M[I]=L}setValue(M,I){M.nodeValue=I}listen(M,I,L){return"string"==typeof M?this.eventManager.addGlobalEventListener(M,I,Bt(L)):this.eventManager.addEventListener(M,I,Bt(L))}}class Vr extends Jn{constructor(M,I,L,Y){super(M),this.component=L;const ye=nn(Y+"-"+L.id,L.styles,[]);I.addStyles(ye),this.contentAttr="_ngcontent-%COMP%".replace(Ct,Y+"-"+L.id),this.hostAttr="_nghost-%COMP%".replace(Ct,Y+"-"+L.id)}applyToHost(M){super.setAttribute(M,this.hostAttr,"")}createElement(M,I){const L=super.createElement(M,I);return super.setAttribute(L,this.contentAttr,""),L}}class Ln extends Jn{constructor(M,I,L,Y){super(M),this.sharedStylesHost=I,this.hostEl=L,this.shadowRoot=L.attachShadow({mode:"open"}),this.sharedStylesHost.addHost(this.shadowRoot);const ye=nn(Y.id,Y.styles,[]);for(let Ge=0;Ge<ye.length;Ge++){const Tt=document.createElement("style");Tt.textContent=ye[Ge],this.shadowRoot.appendChild(Tt)}}nodeOrShadowRoot(M){return M===this.hostEl?this.shadowRoot:M}destroy(){this.sharedStylesHost.removeHost(this.shadowRoot)}appendChild(M,I){return super.appendChild(this.nodeOrShadowRoot(M),I)}insertBefore(M,I,L){return super.insertBefore(this.nodeOrShadowRoot(M),I,L)}removeChild(M,I){return super.removeChild(this.nodeOrShadowRoot(M),I)}parentNode(M){return this.nodeOrShadowRoot(super.parentNode(this.nodeOrShadowRoot(M)))}}let rn=(()=>{class R extends U{constructor(I){super(I)}supports(I){return!0}addEventListener(I,L,Y){return I.addEventListener(L,Y,!1),()=>this.removeEventListener(I,L,Y)}removeEventListener(I,L,Y){return I.removeEventListener(L,Y)}}return R.\u0275fac=function(I){return new(I||R)(E.LFG(w.K0))},R.\u0275prov=E.Yz7({token:R,factory:R.\u0275fac}),R})();const le=["alt","control","meta","shift"],pe={"\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"},He={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"},Ye={alt:R=>R.altKey,control:R=>R.ctrlKey,meta:R=>R.metaKey,shift:R=>R.shiftKey};let be=(()=>{class R extends U{constructor(I){super(I)}supports(I){return null!=R.parseEventName(I)}addEventListener(I,L,Y){const ye=R.parseEventName(L),Ge=R.eventCallback(ye.fullKey,Y,this.manager.getZone());return this.manager.getZone().runOutsideAngular(()=>(0,w.q)().onAndCancel(I,ye.domEventName,Ge))}static parseEventName(I){const L=I.toLowerCase().split("."),Y=L.shift();if(0===L.length||"keydown"!==Y&&"keyup"!==Y)return null;const ye=R._normalizeKey(L.pop());let Ge="";if(le.forEach(bt=>{const vr=L.indexOf(bt);vr>-1&&(L.splice(vr,1),Ge+=bt+".")}),Ge+=ye,0!=L.length||0===ye.length)return null;const Tt={};return Tt.domEventName=Y,Tt.fullKey=Ge,Tt}static getEventFullKey(I){let L="",Y=function(R){let M=R.key;if(null==M){if(M=R.keyIdentifier,null==M)return"Unidentified";M.startsWith("U+")&&(M=String.fromCharCode(parseInt(M.substring(2),16)),3===R.location&&He.hasOwnProperty(M)&&(M=He[M]))}return pe[M]||M}(I);return Y=Y.toLowerCase()," "===Y?Y="space":"."===Y&&(Y="dot"),le.forEach(ye=>{ye!=Y&&Ye[ye](I)&&(L+=ye+".")}),L+=Y,L}static eventCallback(I,L,Y){return ye=>{R.getEventFullKey(ye)===I&&Y.runGuarded(()=>L(ye))}}static _normalizeKey(I){switch(I){case"esc":return"escape";default:return I}}}return R.\u0275fac=function(I){return new(I||R)(E.LFG(w.K0))},R.\u0275prov=E.Yz7({token:R,factory:R.\u0275fac}),R})();const Cr=(0,E.eFA)(E._c5,"browser",[{provide:E.Lbi,useValue:w.bD},{provide:E.g9A,useValue:function(){Ee.makeCurrent(),z.init()},multi:!0},{provide:w.K0,useFactory:function(){return(0,E.RDi)(document),document},deps:[]}]),Ur=[[],{provide:E.zSh,useValue:"root"},{provide:E.qLn,useFactory:function(){return new E.qLn},deps:[]},{provide:Te,useClass:rn,multi:!0,deps:[w.K0,E.R0b,E.Lbi]},{provide:Te,useClass:be,multi:!0,deps:[w.K0]},[],{provide:Qe,useClass:Qe,deps:[oe,De,E.AFp]},{provide:E.FYo,useExisting:Qe},{provide:H,useExisting:De},{provide:De,useClass:De,deps:[w.K0]},{provide:E.dDg,useClass:E.dDg,deps:[E.R0b]},{provide:oe,useClass:oe,deps:[Te,E.R0b]},{provide:w.JF,useClass:ne,deps:[]},[]];let Cn=(()=>{class R{constructor(I){if(I)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(I){return{ngModule:R,providers:[{provide:E.AFp,useValue:I.appId},{provide:q,useExisting:E.AFp},$]}}}return R.\u0275fac=function(I){return new(I||R)(E.LFG(R,12))},R.\u0275mod=E.oAB({type:R}),R.\u0275inj=E.cJS({providers:Ur,imports:[w.ez,E.hGG]}),R})();"undefined"!=typeof window&&window;var lt=x(6300);const Tn=[{path:"home",loadChildren:()=>x.e(508).then(x.bind(x,7508)).then(R=>R.HomeModule)},{path:"",loadChildren:()=>x.e(544).then(x.bind(x,9544)).then(R=>R.IntroModule)}];let ct=(()=>{class R{}return R.\u0275fac=function(I){return new(I||R)},R.\u0275mod=E.oAB({type:R}),R.\u0275inj=E.cJS({imports:[[lt.Bz.forRoot(Tn)],lt.Bz]}),R})();var cn=x(4766),gt=x(3790);let kn=(()=>{class R{constructor(I,L,Y){this.ryber=I,this.vcf=L,this.renderer2=Y,this.title="WindMillCode",this.subs=[]}ngOnInit(){let{ryber:I}=this;cn.N.production&&this.vcf.element.nativeElement.removeAttribute("ng-version"),cn.N.production||I.router.navigateByUrl(cn.N.startURL)}ngAfterViewInit(){}ngOnDestroy(){this.subs.forEach((I,L)=>{null==I||I.unsubscribe()})}}return R.\u0275fac=function(I){return new(I||R)(E.Y36(gt.p),E.Y36(E.s_b),E.Y36(E.Qsj))},R.\u0275cmp=E.Xpm({type:R,selectors:[["app-root"]],decls:1,vars:0,template:function(I,L){1&I&&E._UZ(0,"router-outlet")},directives:[lt.lC],styles:[""]}),R})();const Vn=[];let Oe=(()=>{class R{}return R.\u0275fac=function(I){return new(I||R)},R.\u0275mod=E.oAB({type:R}),R.\u0275inj=E.cJS({imports:[[lt.Bz.forChild(Vn)],lt.Bz]}),R})(),Sn=(()=>{class R{}return R.\u0275fac=function(I){return new(I||R)},R.\u0275mod=E.oAB({type:R}),R.\u0275inj=E.cJS({imports:[[w.ez,Oe]]}),R})();var Mn=x(1887);cn.N.production&&Object.entries(console).forEach((R,M)=>{let[I,L]=R;"function"==typeof L&&(console[I]=()=>{})});let jn=(()=>{class R{}return R.\u0275fac=function(I){return new(I||R)},R.\u0275mod=E.oAB({type:R,bootstrap:[kn]}),R.\u0275inj=E.cJS({providers:[],imports:[[Cn,ct,Sn,Mn.JF]]}),R})();cn.N.production&&(0,E.G48)(),Cr().bootstrapModule(jn).catch(R=>console.error(R))}},Ve=>{Ve(Ve.s=7382)}]);