From be8e0f262ef53fb23b56763dca69a12c4a0b3795 Mon Sep 17 00:00:00 2001 From: bigBear713 <774326739@qq.com> Date: Sun, 12 Mar 2023 11:04:36 +0800 Subject: [PATCH 1/3] chore: update deploy files --- docs/404.html | 2 +- docs/881.26aeeb756d59fcb1.js | 1 + docs/906.dbb270d0899051f7.js | 1 + docs/index.html | 2 +- docs/main.761eebdef9bc7806.js | 1 - docs/main.bd1ea1cc91825da8.js | 1 + docs/runtime.250062a3a47db9c6.js | 1 + docs/runtime.8eadfb7c426110f6.js | 1 - src/app/app.module.ts | 24 ++++++++++++------------ 9 files changed, 18 insertions(+), 16 deletions(-) create mode 100644 docs/881.26aeeb756d59fcb1.js create mode 100644 docs/906.dbb270d0899051f7.js delete mode 100644 docs/main.761eebdef9bc7806.js create mode 100644 docs/main.bd1ea1cc91825da8.js create mode 100644 docs/runtime.250062a3a47db9c6.js delete mode 100644 docs/runtime.8eadfb7c426110f6.js diff --git a/docs/404.html b/docs/404.html index 72c88f4..e0103ea 100644 --- a/docs/404.html +++ b/docs/404.html @@ -8,6 +8,6 @@ - + \ No newline at end of file diff --git a/docs/881.26aeeb756d59fcb1.js b/docs/881.26aeeb756d59fcb1.js new file mode 100644 index 0000000..bc73948 --- /dev/null +++ b/docs/881.26aeeb756d59fcb1.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunknb_trans_demo=self.webpackChunknb_trans_demo||[]).push([[881],{881:(r,a,s)=>{s.r(a),s.d(a,{trans:()=>m});const m={title:"\u6807\u9898",content:{helloWorld:"\u4f60\u597d\uff0c\u4e16\u754c",contentWithParams:"\u8fd9\u662f\u4e00\u4e2a\u5e26\u6709\u53c2\u6570\u7684\u53e5\u5b50\u3002\u53c2\u6570: {{params1}} - {{params2}} - {{params3}} - {{params2}}",complexContent:"\u8fd9\u662f\u4e00\u4e2a\u53e5\u5b50 <0>\u7ec4\u4ef61. <0> {{params1}} - {{params2}} - {{params3}} - {{params2}}.\u4ee5\u4e0a\u8fd9\u4e9b\u662f\u53c2\u6570\u3002.<1><0>\u7ec4\u4ef62 abc.<1>\u6d4b\u8bd5 <0>\u8fd9\u4e9b\u662f\u53c2\u6570: {{params1}} - {{params2}} - {{params3}} - {{params2}}.<2>\u8fd9\u662f\u53c2\u65703222"}}}}]); \ No newline at end of file diff --git a/docs/906.dbb270d0899051f7.js b/docs/906.dbb270d0899051f7.js new file mode 100644 index 0000000..3d12648 --- /dev/null +++ b/docs/906.dbb270d0899051f7.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunknb_trans_demo=self.webpackChunknb_trans_demo||[]).push([[906],{906:(t,a,s)=>{s.r(a),s.d(a,{trans:()=>n});const n={title:"title",content:{helloWorld:"hello world",contentWithParams:"This is a sentence. params: {{params1}} - {{params2}} - {{params3}} - {{params2}}",complexContent:"This is a sentence. <0>component1. <0>This is params: {{params1}} - {{params2}} - {{params3}} - {{params2}}.<1><0>component2 abc.<1>test <0>this is params: {{params1}} - {{params2}} - {{params3}} - {{params2}}.<2>this is component3222"}}}}]); \ No newline at end of file diff --git a/docs/index.html b/docs/index.html index 72c88f4..e0103ea 100644 --- a/docs/index.html +++ b/docs/index.html @@ -8,6 +8,6 @@ - + \ No newline at end of file diff --git a/docs/main.761eebdef9bc7806.js b/docs/main.761eebdef9bc7806.js deleted file mode 100644 index 5060178..0000000 --- a/docs/main.761eebdef9bc7806.js +++ /dev/null @@ -1 +0,0 @@ -"use strict";(self.webpackChunknb_trans_demo=self.webpackChunknb_trans_demo||[]).push([[179],{759:(Le,fe,N)=>{var g=N(481),A=N(738),V=N(723),ue=N(352);class he{constructor(b){this.transService=b}resolve(){return this.transService.subscribeLoadDefaultOver().toPromise()}}he.\u0275fac=function(b){return new(b||he)(A.LFG(V.v6))},he.\u0275prov=A.Yz7({token:he,factory:he.\u0275fac,providedIn:"root"});const J=[{path:"",resolve:{defalutLangLoadOver:he},children:[{path:"",loadChildren:()=>N.e(934).then(N.bind(N,934)).then($=>$.Feature1Module)},{path:"standalone",loadChildren:()=>N.e(651).then(N.bind(N,651)).then($=>$.routes)}]}];class te{}te.\u0275fac=function(b){return new(b||te)},te.\u0275mod=A.oAB({type:te}),te.\u0275inj=A.cJS({imports:[ue.Bz.forRoot(J,{initialNavigation:"enabledBlocking"}),ue.Bz]});var Z=N(895);const z=function(){return{prefix:"content"}},k=function($){return{prefix:"content",params:$}},j=function(){return{returnKeyWhenEmpty:!1}};class G{constructor(b){this.transService=b,this.params={params1:"{{params2}}",params2:"1111",params3:"2222"}}get title(){return this.transService.translationSync("title")}get lang(){return this.transService.lang}ngOnInit(){this.title$=this.transService.translationAsync("title")}onChangeLang(b){this.transService.changeLang(b).subscribe(C=>{console.log(C),C.result||alert("\u5207\u6362\u8bed\u8a00\u5931\u8d25\uff0c\u6ca1\u6709\u5bfc\u5165\u8be5\u8bed\u8a00\u5305,\u5f53\u524d\u8bed\u8a00\u662f:"+C.curLang)})}}G.\u0275fac=function(b){return new(b||G)(A.Y36(V.v6))},G.\u0275cmp=A.Xpm({type:G,selectors:[["app-root"]],decls:64,vars:40,consts:[["href","https://github.com/bigBear713/nb-trans/blob/master/projects/nb-trans/README.md","target","_blank"],["href","https://github.com/bigBear713/nb-trans/blob/master/CHANGELOG.md","target","_blank"],[1,"actions"],[3,"click"],["routerLink","/"],["routerLink","/standalone"]],template:function(b,C){1&b&&(A.TgZ(0,"h2")(1,"a",0),A._uU(2," Document "),A.qZA(),A.TgZ(3,"a",1),A._uU(4," Changelog "),A.qZA()(),A._UZ(5,"hr"),A.TgZ(6,"div",2)(7,"button",3),A.NdJ("click",function(){return C.onChangeLang("zh-CN")}),A._uU(8,"\u5207\u6362\u4e3a\u4e2d\u6587"),A.qZA(),A.TgZ(9,"button",3),A.NdJ("click",function(){return C.onChangeLang("en")}),A._uU(10,"\u5207\u6362\u4e3a\u82f1\u6587"),A.qZA(),A.TgZ(11,"button",3),A.NdJ("click",function(){return C.onChangeLang("other")}),A._uU(12,"\u5207\u6362\u4e3a\u5176\u5b83\u4e0d\u5b58\u5728\u7684\u8bed\u8a00"),A.qZA(),A._UZ(13,"hr"),A.qZA(),A.TgZ(14,"div")(15,"h5"),A._uU(16,"\u4f7f\u7528 nbTrans \u7ba1\u9053\uff0c\u8bed\u8a00\u5207\u6362\u65f6\u81ea\u52a8\u83b7\u53d6\u6700\u65b0\u7684\u7ffb\u8bd1"),A.qZA(),A._uU(17),A.ALo(18,"nbTrans"),A.qZA(),A._UZ(19,"hr"),A.TgZ(20,"div")(21,"h5"),A._uU(22,"\u4f7f\u7528 nbTrans \u7ba1\u9053\uff0ckey\u503c\u4e3a\u591a\u5c42"),A.qZA(),A._uU(23),A.ALo(24,"nbTrans"),A.qZA(),A._UZ(25,"hr"),A.TgZ(26,"div")(27,"h5"),A._uU(28),A.ALo(29,"json"),A.qZA(),A.TgZ(30,"p"),A._uU(31),A.ALo(32,"nbTrans"),A.qZA(),A._uU(33),A.ALo(34,"nbTrans"),A.qZA(),A._UZ(35,"hr"),A.TgZ(36,"div")(37,"h5"),A._uU(38,"\u901a\u8fc7getter\uff0c\u8c03\u7528translationSync()\u65f6\u65f6\u83b7\u53d6\u6700\u65b0\u7684\u7ffb\u8bd1"),A.qZA(),A._uU(39),A.qZA(),A._UZ(40,"hr"),A.TgZ(41,"div")(42,"h5"),A._uU(43,"\u8c03\u7528translationAsync()\u5f97\u5230\u4e00\u4e2aObservable,\u7ed3\u5408 async \u7ba1\u9053\u4f7f\u7528\uff0c\u8bed\u8a00\u5207\u6362\u65f6\u81ea\u52a8\u83b7\u53d6\u6700\u65b0\u7684\u7ffb\u8bd1"),A.qZA(),A.TgZ(44,"div"),A._uU(45),A.qZA(),A._uU(46),A.ALo(47,"async"),A.qZA(),A._UZ(48,"hr"),A.TgZ(49,"div"),A._uU(50),A.ALo(51,"nbTrans"),A.qZA(),A._UZ(52,"hr"),A.TgZ(53,"div"),A._uU(54),A.ALo(55,"nbTrans"),A.qZA(),A._UZ(56,"hr"),A.TgZ(57,"h3"),A._uU(58,"children component"),A.qZA(),A.TgZ(59,"a",4),A._uU(60,"Module Component"),A.qZA(),A.TgZ(61,"a",5),A._uU(62,"Standalone Component"),A.qZA(),A._UZ(63,"router-outlet")),2&b&&(A.xp6(17),A.AsE(" ","{{'title'| nbTrans}}\uff1a"," ",A.lcZ(18,17,"title"),"\n"),A.xp6(6),A.AsE(" ","{{'content.helloWorld'| nbTrans}}:"," ",A.lcZ(24,19,"content.helloWorld"),"\n"),A.xp6(5),A.hij("\u4f7f\u7528 nbTrans \u7ba1\u9053\uff0c\u5e26\u6709options\u53c2\u6570\u3002\u8bbe\u7f6ekey\u503c\u524d\u7f00\u548c\u7ffb\u8bd1\u6587\u672c\u4e2d\u7684\u53c2\u6570,params\u53c2\u6570\u4e3a\uff1a",A.lcZ(29,21,C.params),""),A.xp6(3),A.hij(" \u7ffb\u8bd1\u6587\u672c\u539f\u6587\uff1a",A.xi3(32,23,"contentWithParams",A.DdM(36,z))," "),A.xp6(2),A.AsE(" ","{{'contentWithParams'| nbTrans:({prefix:'content',params: params})}}:"," ",A.xi3(34,26,"contentWithParams",A.VKq(37,k,C.params)),"\n"),A.xp6(6),A.AsE(" ","get title(){return this.transService.translationSync('title');}:"," ",C.title,"\n"),A.xp6(6),A.Oqu("this.title$ = this.transService.translationAsync('title');// ts"),A.xp6(1),A.AsE(" ","{{title$ | async}}:"," ",A.lcZ(47,29,C.title$),"\n"),A.xp6(4),A.AsE(" ","{{'test.test'| nbTrans}}","\uff0c\u5f53key\u5bf9\u5e94\u7684\u5185\u5bb9\u4e0d\u5b58\u5728, \u9ed8\u8ba4\u8fd4\u56dekey: ",A.lcZ(51,31,"test.test"),"\n"),A.xp6(4),A.AsE(" ","{{'test.test'| nbTrans:({returnKeyWhenEmpty:false})}}","\uff0c\u5f53key\u5bf9\u5e94\u7684\u5185\u5bb9\u4e0d\u5b58\u5728, \u4e5f\u53ef\u4ee5\u8bbe\u7f6e\u8fd4\u56de\u7a7a\u5b57\u7b26\u4e32: ",A.xi3(55,33,"test.test",A.DdM(39,j)),"\n"))},dependencies:[ue.lC,ue.rH,Z.Ov,Z.Ts,V.y6],styles:["h2[_ngcontent-%COMP%] a[_ngcontent-%COMP%]{margin:0 8px}.actions[_ngcontent-%COMP%]{position:sticky;top:0;background-color:#fff}a[_ngcontent-%COMP%]{margin:0 5px}"]});var q=N(86),X=N(498),Ie=N(406),oe=N(198),we=N(850);class et{}class Je{}class le{constructor(b){this.normalizedNames=new Map,this.lazyUpdate=null,b?this.lazyInit="string"==typeof b?()=>{this.headers=new Map,b.split("\n").forEach(C=>{const T=C.indexOf(":");if(T>0){const x=C.slice(0,T),B=x.toLowerCase(),se=C.slice(T+1).trim();this.maybeSetNormalizedName(x,B),this.headers.has(B)?this.headers.get(B).push(se):this.headers.set(B,[se])}})}:()=>{this.headers=new Map,Object.keys(b).forEach(C=>{let T=b[C];const x=C.toLowerCase();"string"==typeof T&&(T=[T]),T.length>0&&(this.headers.set(x,T),this.maybeSetNormalizedName(C,x))})}:this.headers=new Map}has(b){return this.init(),this.headers.has(b.toLowerCase())}get(b){this.init();const C=this.headers.get(b.toLowerCase());return C&&C.length>0?C[0]:null}keys(){return this.init(),Array.from(this.normalizedNames.values())}getAll(b){return this.init(),this.headers.get(b.toLowerCase())||null}append(b,C){return this.clone({name:b,value:C,op:"a"})}set(b,C){return this.clone({name:b,value:C,op:"s"})}delete(b,C){return this.clone({name:b,value:C,op:"d"})}maybeSetNormalizedName(b,C){this.normalizedNames.has(C)||this.normalizedNames.set(C,b)}init(){this.lazyInit&&(this.lazyInit instanceof le?this.copyFrom(this.lazyInit):this.lazyInit(),this.lazyInit=null,this.lazyUpdate&&(this.lazyUpdate.forEach(b=>this.applyUpdate(b)),this.lazyUpdate=null))}copyFrom(b){b.init(),Array.from(b.headers.keys()).forEach(C=>{this.headers.set(C,b.headers.get(C)),this.normalizedNames.set(C,b.normalizedNames.get(C))})}clone(b){const C=new le;return C.lazyInit=this.lazyInit&&this.lazyInit instanceof le?this.lazyInit:this,C.lazyUpdate=(this.lazyUpdate||[]).concat([b]),C}applyUpdate(b){const C=b.name.toLowerCase();switch(b.op){case"a":case"s":let T=b.value;if("string"==typeof T&&(T=[T]),0===T.length)return;this.maybeSetNormalizedName(b.name,C);const x=("a"===b.op?this.headers.get(C):void 0)||[];x.push(...T),this.headers.set(C,x);break;case"d":const B=b.value;if(B){let se=this.headers.get(C);if(!se)return;se=se.filter(ee=>-1===B.indexOf(ee)),0===se.length?(this.headers.delete(C),this.normalizedNames.delete(C)):this.headers.set(C,se)}else this.headers.delete(C),this.normalizedNames.delete(C)}}forEach(b){this.init(),Array.from(this.normalizedNames.keys()).forEach(C=>b(this.normalizedNames.get(C),this.headers.get(C)))}}class cn{encodeKey(b){return Ke(b)}encodeValue(b){return Ke(b)}decodeKey(b){return decodeURIComponent(b)}decodeValue(b){return decodeURIComponent(b)}}const qt=/%(\d[a-f0-9])/gi,Se={40:"@","3A":":",24:"$","2C":",","3B":";","3D":"=","3F":"?","2F":"/"};function Ke($){return encodeURIComponent($).replace(qt,(b,C)=>Se[C]??b)}function ge($){return`${$}`}class ye{constructor(b={}){if(this.updates=null,this.cloneFrom=null,this.encoder=b.encoder||new cn,b.fromString){if(b.fromObject)throw new Error("Cannot specify both fromString and fromObject.");this.map=function Kt($,b){const C=new Map;return $.length>0&&$.replace(/^\?/,"").split("&").forEach(x=>{const B=x.indexOf("="),[se,ee]=-1==B?[b.decodeKey(x),""]:[b.decodeKey(x.slice(0,B)),b.decodeValue(x.slice(B+1))],ae=C.get(se)||[];ae.push(ee),C.set(se,ae)}),C}(b.fromString,this.encoder)}else b.fromObject?(this.map=new Map,Object.keys(b.fromObject).forEach(C=>{const T=b.fromObject[C],x=Array.isArray(T)?T.map(ge):[ge(T)];this.map.set(C,x)})):this.map=null}has(b){return this.init(),this.map.has(b)}get(b){this.init();const C=this.map.get(b);return C?C[0]:null}getAll(b){return this.init(),this.map.get(b)||null}keys(){return this.init(),Array.from(this.map.keys())}append(b,C){return this.clone({param:b,value:C,op:"a"})}appendAll(b){const C=[];return Object.keys(b).forEach(T=>{const x=b[T];Array.isArray(x)?x.forEach(B=>{C.push({param:T,value:B,op:"a"})}):C.push({param:T,value:x,op:"a"})}),this.clone(C)}set(b,C){return this.clone({param:b,value:C,op:"s"})}delete(b,C){return this.clone({param:b,value:C,op:"d"})}toString(){return this.init(),this.keys().map(b=>{const C=this.encoder.encodeKey(b);return this.map.get(b).map(T=>C+"="+this.encoder.encodeValue(T)).join("&")}).filter(b=>""!==b).join("&")}clone(b){const C=new ye({encoder:this.encoder});return C.cloneFrom=this.cloneFrom||this,C.updates=(this.updates||[]).concat(b),C}init(){null===this.map&&(this.map=new Map),null!==this.cloneFrom&&(this.cloneFrom.init(),this.cloneFrom.keys().forEach(b=>this.map.set(b,this.cloneFrom.map.get(b))),this.updates.forEach(b=>{switch(b.op){case"a":case"s":const C=("a"===b.op?this.map.get(b.param):void 0)||[];C.push(ge(b.value)),this.map.set(b.param,C);break;case"d":if(void 0===b.value){this.map.delete(b.param);break}{let T=this.map.get(b.param)||[];const x=T.indexOf(ge(b.value));-1!==x&&T.splice(x,1),T.length>0?this.map.set(b.param,T):this.map.delete(b.param)}}}),this.cloneFrom=this.updates=null)}}class ot{constructor(){this.map=new Map}set(b,C){return this.map.set(b,C),this}get(b){return this.map.has(b)||this.map.set(b,b.defaultValue()),this.map.get(b)}delete(b){return this.map.delete(b),this}has(b){return this.map.has(b)}keys(){return this.map.keys()}}function Lt($){return typeof ArrayBuffer<"u"&&$ instanceof ArrayBuffer}function Me($){return typeof Blob<"u"&&$ instanceof Blob}function yt($){return typeof FormData<"u"&&$ instanceof FormData}class Vn{constructor(b,C,T,x){let B;if(this.url=C,this.body=null,this.reportProgress=!1,this.withCredentials=!1,this.responseType="json",this.method=b.toUpperCase(),function Ce($){switch($){case"DELETE":case"GET":case"HEAD":case"OPTIONS":case"JSONP":return!1;default:return!0}}(this.method)||x?(this.body=void 0!==T?T:null,B=x):B=T,B&&(this.reportProgress=!!B.reportProgress,this.withCredentials=!!B.withCredentials,B.responseType&&(this.responseType=B.responseType),B.headers&&(this.headers=B.headers),B.context&&(this.context=B.context),B.params&&(this.params=B.params)),this.headers||(this.headers=new le),this.context||(this.context=new ot),this.params){const se=this.params.toString();if(0===se.length)this.urlWithParams=C;else{const ee=C.indexOf("?");this.urlWithParams=C+(-1===ee?"?":eeln.set(Tt,b.setHeaders[Tt]),ae)),b.setParams&&(ze=Object.keys(b.setParams).reduce((ln,Tt)=>ln.set(Tt,b.setParams[Tt]),ze)),new Vn(C,T,B,{params:ze,headers:ae,context:jt,reportProgress:ee,responseType:x,withCredentials:se})}}var $e=(()=>(($e=$e||{})[$e.Sent=0]="Sent",$e[$e.UploadProgress=1]="UploadProgress",$e[$e.ResponseHeader=2]="ResponseHeader",$e[$e.DownloadProgress=3]="DownloadProgress",$e[$e.Response=4]="Response",$e[$e.User=5]="User",$e))();class jr{constructor(b,C=200,T="OK"){this.headers=b.headers||new le,this.status=void 0!==b.status?b.status:C,this.statusText=b.statusText||T,this.url=b.url||null,this.ok=this.status>=200&&this.status<300}}class zn extends jr{constructor(b={}){super(b),this.type=$e.ResponseHeader}clone(b={}){return new zn({headers:b.headers||this.headers,status:void 0!==b.status?b.status:this.status,statusText:b.statusText||this.statusText,url:b.url||this.url||void 0})}}class Cn extends jr{constructor(b={}){super(b),this.type=$e.Response,this.body=void 0!==b.body?b.body:null}clone(b={}){return new Cn({body:void 0!==b.body?b.body:this.body,headers:b.headers||this.headers,status:void 0!==b.status?b.status:this.status,statusText:b.statusText||this.statusText,url:b.url||this.url||void 0})}}class Ht extends jr{constructor(b){super(b,0,"Unknown Error"),this.name="HttpErrorResponse",this.ok=!1,this.message=this.status>=200&&this.status<300?`Http failure during parsing for ${b.url||"(unknown url)"}`:`Http failure response for ${b.url||"(unknown url)"}: ${b.status} ${b.statusText}`,this.error=b.error||null}}function vt($,b){return{body:b,headers:$.headers,context:$.context,observe:$.observe,params:$.params,reportProgress:$.reportProgress,responseType:$.responseType,withCredentials:$.withCredentials}}let Et=(()=>{class ${constructor(C){this.handler=C}request(C,T,x={}){let B;if(C instanceof Vn)B=C;else{let ae,ze;ae=x.headers instanceof le?x.headers:new le(x.headers),x.params&&(ze=x.params instanceof ye?x.params:new ye({fromObject:x.params})),B=new Vn(C,T,void 0!==x.body?x.body:null,{headers:ae,context:x.context,params:ze,reportProgress:x.reportProgress,responseType:x.responseType||"json",withCredentials:x.withCredentials})}const se=(0,q.of)(B).pipe((0,Ie.b)(ae=>this.handler.handle(ae)));if(C instanceof Vn||"events"===x.observe)return se;const ee=se.pipe((0,oe.h)(ae=>ae instanceof Cn));switch(x.observe||"body"){case"body":switch(B.responseType){case"arraybuffer":return ee.pipe((0,we.U)(ae=>{if(null!==ae.body&&!(ae.body instanceof ArrayBuffer))throw new Error("Response is not an ArrayBuffer.");return ae.body}));case"blob":return ee.pipe((0,we.U)(ae=>{if(null!==ae.body&&!(ae.body instanceof Blob))throw new Error("Response is not a Blob.");return ae.body}));case"text":return ee.pipe((0,we.U)(ae=>{if(null!==ae.body&&"string"!=typeof ae.body)throw new Error("Response is not a string.");return ae.body}));default:return ee.pipe((0,we.U)(ae=>ae.body))}case"response":return ee;default:throw new Error(`Unreachable: unhandled observe type ${x.observe}}`)}}delete(C,T={}){return this.request("DELETE",C,T)}get(C,T={}){return this.request("GET",C,T)}head(C,T={}){return this.request("HEAD",C,T)}jsonp(C,T){return this.request("JSONP",C,{params:(new ye).append(T,"JSONP_CALLBACK"),observe:"body",responseType:"json"})}options(C,T={}){return this.request("OPTIONS",C,T)}patch(C,T,x={}){return this.request("PATCH",C,vt(x,T))}post(C,T,x={}){return this.request("POST",C,vt(x,T))}put(C,T,x={}){return this.request("PUT",C,vt(x,T))}}return $.\u0275fac=function(C){return new(C||$)(A.LFG(et))},$.\u0275prov=A.Yz7({token:$,factory:$.\u0275fac}),$})();function mr($,b){return b($)}function bi($,b){return(C,T)=>b.intercept(C,{handle:x=>$(x,T)})}const qe=new A.OlP("HTTP_INTERCEPTORS"),yr=new A.OlP("HTTP_INTERCEPTOR_FNS");function bn(){let $=null;return(b,C)=>(null===$&&($=((0,A.f3M)(qe,{optional:!0})??[]).reduceRight(bi,mr)),$(b,C))}let rr=(()=>{class $ extends et{constructor(C,T){super(),this.backend=C,this.injector=T,this.chain=null}handle(C){if(null===this.chain){const T=Array.from(new Set(this.injector.get(yr)));this.chain=T.reduceRight((x,B)=>function $t($,b,C){return(T,x)=>C.runInContext(()=>b(T,B=>$(B,x)))}(x,B,this.injector),mr)}return this.chain(C,T=>this.backend.handle(T))}}return $.\u0275fac=function(C){return new(C||$)(A.LFG(Je),A.LFG(A.lqb))},$.\u0275prov=A.Yz7({token:$,factory:$.\u0275fac}),$})();const it=/^\)\]\}',?\n/;let ie=(()=>{class ${constructor(C){this.xhrFactory=C}handle(C){if("JSONP"===C.method)throw new Error("Attempted to construct Jsonp request without HttpClientJsonpModule installed.");return new X.y(T=>{const x=this.xhrFactory.build();if(x.open(C.method,C.urlWithParams),C.withCredentials&&(x.withCredentials=!0),C.headers.forEach((Ve,rt)=>x.setRequestHeader(Ve,rt.join(","))),C.headers.has("Accept")||x.setRequestHeader("Accept","application/json, text/plain, */*"),!C.headers.has("Content-Type")){const Ve=C.detectContentTypeHeader();null!==Ve&&x.setRequestHeader("Content-Type",Ve)}if(C.responseType){const Ve=C.responseType.toLowerCase();x.responseType="json"!==Ve?Ve:"text"}const B=C.serializeBody();let se=null;const ee=()=>{if(null!==se)return se;const Ve=x.statusText||"OK",rt=new le(x.getAllResponseHeaders()),On=function Te($){return"responseURL"in $&&$.responseURL?$.responseURL:/^X-Request-URL:/m.test($.getAllResponseHeaders())?$.getResponseHeader("X-Request-URL"):null}(x)||C.url;return se=new zn({headers:rt,status:x.status,statusText:Ve,url:On}),se},ae=()=>{let{headers:Ve,status:rt,statusText:On,url:In}=ee(),xt=null;204!==rt&&(xt=typeof x.response>"u"?x.responseText:x.response),0===rt&&(rt=xt?200:0);let kn=rt>=200&&rt<300;if("json"===C.responseType&&"string"==typeof xt){const Eo=xt;xt=xt.replace(it,"");try{xt=""!==xt?JSON.parse(xt):null}catch(sr){xt=Eo,kn&&(kn=!1,xt={error:sr,text:xt})}}kn?(T.next(new Cn({body:xt,headers:Ve,status:rt,statusText:On,url:In||void 0})),T.complete()):T.error(new Ht({error:xt,headers:Ve,status:rt,statusText:On,url:In||void 0}))},ze=Ve=>{const{url:rt}=ee(),On=new Ht({error:Ve,status:x.status||0,statusText:x.statusText||"Unknown Error",url:rt||void 0});T.error(On)};let jt=!1;const ln=Ve=>{jt||(T.next(ee()),jt=!0);let rt={type:$e.DownloadProgress,loaded:Ve.loaded};Ve.lengthComputable&&(rt.total=Ve.total),"text"===C.responseType&&!!x.responseText&&(rt.partialText=x.responseText),T.next(rt)},Tt=Ve=>{let rt={type:$e.UploadProgress,loaded:Ve.loaded};Ve.lengthComputable&&(rt.total=Ve.total),T.next(rt)};return x.addEventListener("load",ae),x.addEventListener("error",ze),x.addEventListener("timeout",ze),x.addEventListener("abort",ze),C.reportProgress&&(x.addEventListener("progress",ln),null!==B&&x.upload&&x.upload.addEventListener("progress",Tt)),x.send(B),T.next({type:$e.Sent}),()=>{x.removeEventListener("error",ze),x.removeEventListener("abort",ze),x.removeEventListener("load",ae),x.removeEventListener("timeout",ze),C.reportProgress&&(x.removeEventListener("progress",ln),null!==B&&x.upload&&x.upload.removeEventListener("progress",Tt)),x.readyState!==x.DONE&&x.abort()}})}}return $.\u0275fac=function(C){return new(C||$)(A.LFG(Z.JF))},$.\u0275prov=A.Yz7({token:$,factory:$.\u0275fac}),$})();const Dr=new A.OlP("XSRF_ENABLED"),Ln="XSRF-TOKEN",Ye=new A.OlP("XSRF_COOKIE_NAME",{providedIn:"root",factory:()=>Ln}),Yn="X-XSRF-TOKEN",Zt=new A.OlP("XSRF_HEADER_NAME",{providedIn:"root",factory:()=>Yn});class st{}let ct=(()=>{class ${constructor(C,T,x){this.doc=C,this.platform=T,this.cookieName=x,this.lastCookieString="",this.lastToken=null,this.parseCount=0}getToken(){if("server"===this.platform)return null;const C=this.doc.cookie||"";return C!==this.lastCookieString&&(this.parseCount++,this.lastToken=(0,Z.Mx)(C,this.cookieName),this.lastCookieString=C),this.lastToken}}return $.\u0275fac=function(C){return new(C||$)(A.LFG(Z.K0),A.LFG(A.Lbi),A.LFG(Ye))},$.\u0275prov=A.Yz7({token:$,factory:$.\u0275fac}),$})();function wn($,b){const C=$.url.toLowerCase();if(!(0,A.f3M)(Dr)||"GET"===$.method||"HEAD"===$.method||C.startsWith("http://")||C.startsWith("https://"))return b($);const T=(0,A.f3M)(st).getToken(),x=(0,A.f3M)(Zt);return null!=T&&!$.headers.has(x)&&($=$.clone({headers:$.headers.set(x,T)})),b($)}var ve=(()=>((ve=ve||{})[ve.Interceptors=0]="Interceptors",ve[ve.LegacyInterceptors=1]="LegacyInterceptors",ve[ve.CustomXsrfConfiguration=2]="CustomXsrfConfiguration",ve[ve.NoXsrfProtection=3]="NoXsrfProtection",ve[ve.JsonpSupport=4]="JsonpSupport",ve[ve.RequestsMadeViaParent=5]="RequestsMadeViaParent",ve))();function Rt($,b){return{\u0275kind:$,\u0275providers:b}}function ir(...$){const b=[Et,ie,rr,{provide:et,useExisting:rr},{provide:Je,useExisting:ie},{provide:yr,useValue:wn,multi:!0},{provide:Dr,useValue:!0},{provide:st,useClass:ct}];for(const C of $)b.push(...C.\u0275providers);return(0,A.MR2)(b)}const Co=new A.OlP("LEGACY_INTERCEPTOR_FN");function Qt({cookieName:$,headerName:b}){const C=[];return void 0!==$&&C.push({provide:Ye,useValue:$}),void 0!==b&&C.push({provide:Zt,useValue:b}),Rt(ve.CustomXsrfConfiguration,C)}let wt=(()=>{class ${}return $.\u0275fac=function(C){return new(C||$)},$.\u0275mod=A.oAB({type:$}),$.\u0275inj=A.cJS({providers:[ir(Rt(ve.LegacyInterceptors,[{provide:Co,useFactory:bn},{provide:yr,useExisting:Co,multi:!0}]),Qt({cookieName:Ln,headerName:Yn}))]}),$})();class sn{}function _r(){g.q6().bootstrapModule(sn).catch($=>console.error($))}sn.\u0275fac=function(b){return new(b||sn)},sn.\u0275mod=A.oAB({type:sn,bootstrap:[G]}),sn.\u0275inj=A.cJS({providers:[{provide:V.oo,useValue:V.oi.ZH_CN},{provide:V.x,useFactory:$=>({[V.oi.EN]:()=>$.get("./assets/localization/en/translations.json"),[V.oi.ZH_CN]:()=>$.get("./assets/localization/zh-CN/translations.json")}),deps:[Et]}],imports:[g.b2.withServerTransition({appId:"serverApp"}),V.pT,wt,te]}),(0,A.G48)(),"complete"===document.readyState?_r():document.addEventListener("DOMContentLoaded",_r)},591:(Le,fe,N)=>{N.d(fe,{X:()=>V});var g=N(529),A=N(279);class V extends g.xQ{constructor(he){super(),this._value=he}get value(){return this.getValue()}_subscribe(he){const J=super._subscribe(he);return J&&!J.closed&&he.next(this._value),J}getValue(){if(this.hasError)throw this.thrownError;if(this.closed)throw new A.N;return this._value}next(he){super.next(this._value=he)}}},498:(Le,fe,N)=>{N.d(fe,{y:()=>z});var g=N(489),V=N(668),ue=N(292),J=N(821),te=N(843),Z=N(735);let z=(()=>{class j{constructor(q){this._isScalar=!1,q&&(this._subscribe=q)}lift(q){const X=new j;return X.source=this,X.operator=q,X}subscribe(q,X,Ie){const{operator:oe}=this,we=function he(j,G,q){if(j){if(j instanceof g.L)return j;if(j[V.b])return j[V.b]()}return j||G||q?new g.L(j,G,q):new g.L(ue.c)}(q,X,Ie);if(we.add(oe?oe.call(we,this.source):this.source||Z.v.useDeprecatedSynchronousErrorHandling&&!we.syncErrorThrowable?this._subscribe(we):this._trySubscribe(we)),Z.v.useDeprecatedSynchronousErrorHandling&&we.syncErrorThrowable&&(we.syncErrorThrowable=!1,we.syncErrorThrown))throw we.syncErrorValue;return we}_trySubscribe(q){try{return this._subscribe(q)}catch(X){Z.v.useDeprecatedSynchronousErrorHandling&&(q.syncErrorThrown=!0,q.syncErrorValue=X),function A(j){for(;j;){const{closed:G,destination:q,isStopped:X}=j;if(G||X)return!1;j=q&&q instanceof g.L?q:null}return!0}(q)?q.error(X):console.warn(X)}}forEach(q,X){return new(X=k(X))((Ie,oe)=>{let we;we=this.subscribe(et=>{try{q(et)}catch(Je){oe(Je),we&&we.unsubscribe()}},oe,Ie)})}_subscribe(q){const{source:X}=this;return X&&X.subscribe(q)}[J.L](){return this}pipe(...q){return 0===q.length?this:(0,te.U)(q)(this)}toPromise(q){return new(q=k(q))((X,Ie)=>{let oe;this.subscribe(we=>oe=we,we=>Ie(we),()=>X(oe))})}}return j.create=G=>new j(G),j})();function k(j){if(j||(j=Z.v.Promise||Promise),!j)throw new Error("no Promise impl found");return j}},292:(Le,fe,N)=>{N.d(fe,{c:()=>V});var g=N(735),A=N(782);const V={closed:!0,next(ue){},error(ue){if(g.v.useDeprecatedSynchronousErrorHandling)throw ue;(0,A.z)(ue)},complete(){}}},529:(Le,fe,N)=>{N.d(fe,{xQ:()=>Z,Yc:()=>te});var g=N(498),A=N(489),V=N(654),ue=N(279);class he extends V.w{constructor(j,G){super(),this.subject=j,this.subscriber=G,this.closed=!1}unsubscribe(){if(this.closed)return;this.closed=!0;const j=this.subject,G=j.observers;if(this.subject=null,!G||0===G.length||j.isStopped||j.closed)return;const q=G.indexOf(this.subscriber);-1!==q&&G.splice(q,1)}}var J=N(668);class te extends A.L{constructor(j){super(j),this.destination=j}}let Z=(()=>{class k extends g.y{constructor(){super(),this.observers=[],this.closed=!1,this.isStopped=!1,this.hasError=!1,this.thrownError=null}[J.b](){return new te(this)}lift(G){const q=new z(this,this);return q.operator=G,q}next(G){if(this.closed)throw new ue.N;if(!this.isStopped){const{observers:q}=this,X=q.length,Ie=q.slice();for(let oe=0;oenew z(j,G),k})();class z extends Z{constructor(j,G){super(),this.destination=j,this.source=G}next(j){const{destination:G}=this;G&&G.next&&G.next(j)}error(j){const{destination:G}=this;G&&G.error&&this.destination.error(j)}complete(){const{destination:j}=this;j&&j.complete&&this.destination.complete()}_subscribe(j){const{source:G}=this;return G?this.source.subscribe(j):V.w.EMPTY}}},489:(Le,fe,N)=>{N.d(fe,{L:()=>te});var g=N(43),A=N(292),V=N(654),ue=N(668),he=N(735),J=N(782);class te extends V.w{constructor(k,j,G){switch(super(),this.syncErrorValue=null,this.syncErrorThrown=!1,this.syncErrorThrowable=!1,this.isStopped=!1,arguments.length){case 0:this.destination=A.c;break;case 1:if(!k){this.destination=A.c;break}if("object"==typeof k){k instanceof te?(this.syncErrorThrowable=k.syncErrorThrowable,this.destination=k,k.add(this)):(this.syncErrorThrowable=!0,this.destination=new Z(this,k));break}default:this.syncErrorThrowable=!0,this.destination=new Z(this,k,j,G)}}[ue.b](){return this}static create(k,j,G){const q=new te(k,j,G);return q.syncErrorThrowable=!1,q}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 Z extends te{constructor(k,j,G,q){super(),this._parentSubscriber=k;let X,Ie=this;(0,g.m)(j)?X=j:j&&(X=j.next,G=j.error,q=j.complete,j!==A.c&&(Ie=Object.create(j),(0,g.m)(Ie.unsubscribe)&&this.add(Ie.unsubscribe.bind(Ie)),Ie.unsubscribe=this.unsubscribe.bind(this))),this._context=Ie,this._next=X,this._error=G,this._complete=q}next(k){if(!this.isStopped&&this._next){const{_parentSubscriber:j}=this;he.v.useDeprecatedSynchronousErrorHandling&&j.syncErrorThrowable?this.__tryOrSetError(j,this._next,k)&&this.unsubscribe():this.__tryOrUnsub(this._next,k)}}error(k){if(!this.isStopped){const{_parentSubscriber:j}=this,{useDeprecatedSynchronousErrorHandling:G}=he.v;if(this._error)G&&j.syncErrorThrowable?(this.__tryOrSetError(j,this._error,k),this.unsubscribe()):(this.__tryOrUnsub(this._error,k),this.unsubscribe());else if(j.syncErrorThrowable)G?(j.syncErrorValue=k,j.syncErrorThrown=!0):(0,J.z)(k),this.unsubscribe();else{if(this.unsubscribe(),G)throw k;(0,J.z)(k)}}}complete(){if(!this.isStopped){const{_parentSubscriber:k}=this;if(this._complete){const j=()=>this._complete.call(this._context);he.v.useDeprecatedSynchronousErrorHandling&&k.syncErrorThrowable?(this.__tryOrSetError(k,j),this.unsubscribe()):(this.__tryOrUnsub(j),this.unsubscribe())}else this.unsubscribe()}}__tryOrUnsub(k,j){try{k.call(this._context,j)}catch(G){if(this.unsubscribe(),he.v.useDeprecatedSynchronousErrorHandling)throw G;(0,J.z)(G)}}__tryOrSetError(k,j,G){if(!he.v.useDeprecatedSynchronousErrorHandling)throw new Error("bad call");try{j.call(this._context,G)}catch(q){return he.v.useDeprecatedSynchronousErrorHandling?(k.syncErrorValue=q,k.syncErrorThrown=!0,!0):((0,J.z)(q),!0)}return!1}_unsubscribe(){const{_parentSubscriber:k}=this;this._context=null,this._parentSubscriber=null,k.unsubscribe()}}},654:(Le,fe,N)=>{N.d(fe,{w:()=>J});var g=N(688),A=N(830),V=N(43);const he=(()=>{function Z(z){return Error.call(this),this.message=z?`${z.length} errors occurred during unsubscription:\n${z.map((k,j)=>`${j+1}) ${k.toString()}`).join("\n ")}`:"",this.name="UnsubscriptionError",this.errors=z,this}return Z.prototype=Object.create(Error.prototype),Z})();class J{constructor(z){this.closed=!1,this._parentOrParents=null,this._subscriptions=null,z&&(this._ctorUnsubscribe=!0,this._unsubscribe=z)}unsubscribe(){let z;if(this.closed)return;let{_parentOrParents:k,_ctorUnsubscribe:j,_unsubscribe:G,_subscriptions:q}=this;if(this.closed=!0,this._parentOrParents=null,this._subscriptions=null,k instanceof J)k.remove(this);else if(null!==k)for(let X=0;Xz.concat(k instanceof he?k.errors:k),[])}J.EMPTY=((Z=new J).closed=!0,Z)},735:(Le,fe,N)=>{N.d(fe,{v:()=>A});let g=!1;const A={Promise:void 0,set useDeprecatedSynchronousErrorHandling(V){if(V){const ue=new Error;console.warn("DEPRECATED! RxJS was set to use deprecated synchronous error handling behavior by code at: \n"+ue.stack)}else g&&console.log("RxJS: Back to a better error behavior. Thank you. <3");g=V},get useDeprecatedSynchronousErrorHandling(){return g}}},177:(Le,fe,N)=>{N.d(fe,{Ds:()=>J,IY:()=>ue,ft:()=>Z});var g=N(489),A=N(498),V=N(249);class ue extends g.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 J extends g.L{notifyNext(k){this.destination.next(k)}notifyError(k){this.destination.error(k)}notifyComplete(){this.destination.complete()}}function Z(z,k){if(k.closed)return;if(z instanceof A.y)return z.subscribe(k);let j;try{j=(0,V.s)(z)(k)}catch(G){k.error(G)}return j}},762:(Le,fe,N)=>{N.d(fe,{N:()=>J,c:()=>he});var g=N(529),A=N(498),V=N(654),ue=N(327);class he extends A.y{constructor(j,G){super(),this.source=j,this.subjectFactory=G,this._refCount=0,this._isComplete=!1}_subscribe(j){return this.getSubject().subscribe(j)}getSubject(){const j=this._subject;return(!j||j.isStopped)&&(this._subject=this.subjectFactory()),this._subject}connect(){let j=this._connection;return j||(this._isComplete=!1,j=this._connection=new V.w,j.add(this.source.subscribe(new te(this.getSubject(),this))),j.closed&&(this._connection=null,j=V.w.EMPTY)),j}refCount(){return(0,ue.x)()(this)}}const J=(()=>{const k=he.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 te extends g.Yc{constructor(j,G){super(j),this.connectable=G}_error(j){this._unsubscribe(),super._error(j)}_complete(){this.connectable._isComplete=!0,this._unsubscribe(),super._complete()}_unsubscribe(){const j=this.connectable;if(j){this.connectable=null;const G=j._connection;j._refCount=0,j._subject=null,j._connection=null,G&&G.unsubscribe()}}}},254:(Le,fe,N)=>{N.d(fe,{D:()=>Ie});var g=N(498),A=N(249),V=N(654),ue=N(821),te=N(454),Z=N(430),j=N(955),G=N(515);function Ie(oe,we){return we?function X(oe,we){if(null!=oe){if(function k(oe){return oe&&"function"==typeof oe[ue.L]}(oe))return function he(oe,we){return new g.y(et=>{const Je=new V.w;return Je.add(we.schedule(()=>{const le=oe[ue.L]();Je.add(le.subscribe({next(rn){Je.add(we.schedule(()=>et.next(rn)))},error(rn){Je.add(we.schedule(()=>et.error(rn)))},complete(){Je.add(we.schedule(()=>et.complete()))}}))})),Je})}(oe,we);if((0,j.t)(oe))return function J(oe,we){return new g.y(et=>{const Je=new V.w;return Je.add(we.schedule(()=>oe.then(le=>{Je.add(we.schedule(()=>{et.next(le),Je.add(we.schedule(()=>et.complete()))}))},le=>{Je.add(we.schedule(()=>et.error(le)))}))),Je})}(oe,we);if((0,G.z)(oe))return(0,te.r)(oe,we);if(function q(oe){return oe&&"function"==typeof oe[Z.hZ]}(oe)||"string"==typeof oe)return function z(oe,we){if(!oe)throw new Error("Iterable cannot be null");return new g.y(et=>{const Je=new V.w;let le;return Je.add(()=>{le&&"function"==typeof le.return&&le.return()}),Je.add(we.schedule(()=>{le=oe[Z.hZ](),Je.add(we.schedule(function(){if(et.closed)return;let rn,cn;try{const Kt=le.next();rn=Kt.value,cn=Kt.done}catch(Kt){return void et.error(Kt)}cn?et.complete():(et.next(rn),this.schedule())}))})),Je})}(oe,we)}throw new TypeError((null!==oe&&typeof oe||oe)+" is not observable")}(oe,we):oe instanceof g.y?oe:new g.y((0,A.s)(oe))}},9:(Le,fe,N)=>{N.d(fe,{n:()=>ue});var g=N(498),A=N(650),V=N(454);function ue(he,J){return J?(0,V.r)(he,J):new g.y((0,A.V)(he))}},86:(Le,fe,N)=>{N.d(fe,{of:()=>ue});var g=N(866),A=N(9),V=N(454);function ue(...he){let J=he[he.length-1];return(0,g.K)(J)?(he.pop(),(0,V.r)(he,J)):(0,A.n)(he)}},221:(Le,fe,N)=>{N.d(fe,{K:()=>A});var g=N(177);function A(he){return function(te){const Z=new V(he),z=te.lift(Z);return Z.caught=z}}class V{constructor(J){this.selector=J}call(J,te){return te.subscribe(new ue(J,this.selector,this.caught))}}class ue extends g.Ds{constructor(J,te,Z){super(J),this.selector=te,this.caught=Z}error(J){if(!this.isStopped){let te;try{te=this.selector(J,this.caught)}catch(k){return void super.error(k)}this._unsubscribeAndRecycle();const Z=new g.IY(this);this.add(Z);const z=(0,g.ft)(te,Z);z!==Z&&this.add(z)}}}},406:(Le,fe,N)=>{N.d(fe,{b:()=>A});var g=N(709);function A(V,ue){return(0,g.zg)(V,ue,1)}},198:(Le,fe,N)=>{N.d(fe,{h:()=>A});var g=N(489);function A(he,J){return function(Z){return Z.lift(new V(he,J))}}class V{constructor(J,te){this.predicate=J,this.thisArg=te}call(J,te){return te.subscribe(new ue(J,this.predicate,this.thisArg))}}class ue extends g.L{constructor(J,te,Z){super(J),this.predicate=te,this.thisArg=Z,this.count=0}_next(J){let te;try{te=this.predicate.call(this.thisArg,J,this.count++)}catch(Z){return void this.destination.error(Z)}te&&this.destination.next(J)}}},850:(Le,fe,N)=>{N.d(fe,{U:()=>A});var g=N(489);function A(he,J){return function(Z){if("function"!=typeof he)throw new TypeError("argument is not a function. Are you looking for `mapTo()`?");return Z.lift(new V(he,J))}}class V{constructor(J,te){this.project=J,this.thisArg=te}call(J,te){return te.subscribe(new ue(J,this.project,this.thisArg))}}class ue extends g.L{constructor(J,te,Z){super(J),this.project=te,this.count=0,this.thisArg=Z||this}_next(J){let te;try{te=this.project.call(this.thisArg,J,this.count++)}catch(Z){return void this.destination.error(Z)}this.destination.next(te)}}},146:(Le,fe,N)=>{N.d(fe,{J:()=>V});var g=N(709),A=N(379);function V(ue=Number.POSITIVE_INFINITY){return(0,g.zg)(A.y,ue)}},709:(Le,fe,N)=>{N.d(fe,{zg:()=>ue});var g=N(850),A=N(254),V=N(177);function ue(Z,z,k=Number.POSITIVE_INFINITY){return"function"==typeof z?j=>j.pipe(ue((G,q)=>(0,A.D)(Z(G,q)).pipe((0,g.U)((X,Ie)=>z(G,X,q,Ie))),k)):("number"==typeof z&&(k=z),j=>j.lift(new he(Z,k)))}class he{constructor(z,k=Number.POSITIVE_INFINITY){this.project=z,this.concurrent=k}call(z,k){return k.subscribe(new J(z,this.project,this.concurrent))}}class J extends V.Ds{constructor(z,k,j=Number.POSITIVE_INFINITY){super(z),this.project=k,this.concurrent=j,this.hasCompleted=!1,this.buffer=[],this.active=0,this.index=0}_next(z){this.active0?this._next(z.shift()):0===this.active&&this.hasCompleted&&this.destination.complete()}}},327:(Le,fe,N)=>{N.d(fe,{x:()=>A});var g=N(489);function A(){return function(J){return J.lift(new V(J))}}class V{constructor(J){this.connectable=J}call(J,te){const{connectable:Z}=this;Z._refCount++;const z=new ue(J,Z),k=te.subscribe(z);return z.closed||(z.connection=Z.connect()),k}}class ue extends g.L{constructor(J,te){super(J),this.connectable=te}_unsubscribe(){const{connectable:J}=this;if(!J)return void(this.connection=null);this.connectable=null;const te=J._refCount;if(te<=0)return void(this.connection=null);if(J._refCount=te-1,te>1)return void(this.connection=null);const{connection:Z}=this,z=J._connection;this.connection=null,z&&(!Z||z===Z)&&z.unsubscribe()}}},545:(Le,fe,N)=>{N.d(fe,{w:()=>ue});var g=N(850),A=N(254),V=N(177);function ue(te,Z){return"function"==typeof Z?z=>z.pipe(ue((k,j)=>(0,A.D)(te(k,j)).pipe((0,g.U)((G,q)=>Z(k,G,j,q))))):z=>z.lift(new he(te))}class he{constructor(Z){this.project=Z}call(Z,z){return z.subscribe(new J(Z,this.project))}}class J extends V.Ds{constructor(Z,z){super(Z),this.project=z,this.index=0}_next(Z){let z;const k=this.index++;try{z=this.project(Z,k)}catch(j){return void this.destination.error(j)}this._innerSub(z)}_innerSub(Z){const z=this.innerSubscription;z&&z.unsubscribe();const k=new V.IY(this),j=this.destination;j.add(k),this.innerSubscription=(0,V.ft)(Z,k),this.innerSubscription!==k&&j.add(this.innerSubscription)}_complete(){const{innerSubscription:Z}=this;(!Z||Z.closed)&&super._complete(),this.unsubscribe()}_unsubscribe(){this.innerSubscription=void 0}notifyComplete(){this.innerSubscription=void 0,this.isStopped&&super._complete()}notifyNext(Z){this.destination.next(Z)}}},868:(Le,fe,N)=>{N.d(fe,{b:()=>ue});var g=N(489);function A(){}var V=N(43);function ue(te,Z,z){return function(j){return j.lift(new he(te,Z,z))}}class he{constructor(Z,z,k){this.nextOrObserver=Z,this.error=z,this.complete=k}call(Z,z){return z.subscribe(new J(Z,this.nextOrObserver,this.error,this.complete))}}class J extends g.L{constructor(Z,z,k,j){super(Z),this._tapNext=A,this._tapError=A,this._tapComplete=A,this._tapError=k||A,this._tapComplete=j||A,(0,V.m)(z)?(this._context=this,this._tapNext=z):z&&(this._context=z,this._tapNext=z.next||A,this._tapError=z.error||A,this._tapComplete=z.complete||A)}_next(Z){try{this._tapNext.call(this._context,Z)}catch(z){return void this.destination.error(z)}this.destination.next(Z)}_error(Z){try{this._tapError.call(this._context,Z)}catch(z){return void this.destination.error(z)}this.destination.error(Z)}_complete(){try{this._tapComplete.call(this._context)}catch(Z){return void this.destination.error(Z)}return this.destination.complete()}}},454:(Le,fe,N)=>{N.d(fe,{r:()=>V});var g=N(498),A=N(654);function V(ue,he){return new g.y(J=>{const te=new A.w;let Z=0;return te.add(he.schedule(function(){Z!==ue.length?(J.next(ue[Z++]),J.closed||te.add(this.schedule())):J.complete()})),te})}},430:(Le,fe,N)=>{N.d(fe,{hZ:()=>A});const A=function g(){return"function"==typeof Symbol&&Symbol.iterator?Symbol.iterator:"@@iterator"}()},821:(Le,fe,N)=>{N.d(fe,{L:()=>g});const g="function"==typeof Symbol&&Symbol.observable||"@@observable"},668:(Le,fe,N)=>{N.d(fe,{b:()=>g});const g="function"==typeof Symbol?Symbol("rxSubscriber"):"@@rxSubscriber_"+Math.random()},279:(Le,fe,N)=>{N.d(fe,{N:()=>A});const A=(()=>{function V(){return Error.call(this),this.message="object unsubscribed",this.name="ObjectUnsubscribedError",this}return V.prototype=Object.create(Error.prototype),V})()},782:(Le,fe,N)=>{function g(A){setTimeout(()=>{throw A},0)}N.d(fe,{z:()=>g})},379:(Le,fe,N)=>{function g(A){return A}N.d(fe,{y:()=>g})},688:(Le,fe,N)=>{N.d(fe,{k:()=>g});const g=Array.isArray||(A=>A&&"number"==typeof A.length)},515:(Le,fe,N)=>{N.d(fe,{z:()=>g});const g=A=>A&&"number"==typeof A.length&&"function"!=typeof A},43:(Le,fe,N)=>{function g(A){return"function"==typeof A}N.d(fe,{m:()=>g})},830:(Le,fe,N)=>{function g(A){return null!==A&&"object"==typeof A}N.d(fe,{K:()=>g})},955:(Le,fe,N)=>{function g(A){return!!A&&"function"!=typeof A.subscribe&&"function"==typeof A.then}N.d(fe,{t:()=>g})},866:(Le,fe,N)=>{function g(A){return A&&"function"==typeof A.schedule}N.d(fe,{K:()=>g})},843:(Le,fe,N)=>{N.d(fe,{U:()=>V,z:()=>A});var g=N(379);function A(...ue){return V(ue)}function V(ue){return 0===ue.length?g.y:1===ue.length?ue[0]:function(J){return ue.reduce((te,Z)=>Z(te),J)}}},249:(Le,fe,N)=>{N.d(fe,{s:()=>j});var g=N(650),A=N(782),ue=N(430),J=N(821),Z=N(515),z=N(955),k=N(830);const j=G=>{if(G&&"function"==typeof G[J.L])return(G=>q=>{const X=G[J.L]();if("function"!=typeof X.subscribe)throw new TypeError("Provided object does not correctly implement Symbol.observable");return X.subscribe(q)})(G);if((0,Z.z)(G))return(0,g.V)(G);if((0,z.t)(G))return(G=>q=>(G.then(X=>{q.closed||(q.next(X),q.complete())},X=>q.error(X)).then(null,A.z),q))(G);if(G&&"function"==typeof G[ue.hZ])return(G=>q=>{const X=G[ue.hZ]();for(;;){let Ie;try{Ie=X.next()}catch(oe){return q.error(oe),q}if(Ie.done){q.complete();break}if(q.next(Ie.value),q.closed)break}return"function"==typeof X.return&&q.add(()=>{X.return&&X.return()}),q})(G);{const X=`You provided ${(0,k.K)(G)?"an invalid object":`'${G}'`} where a stream was expected. You can provide an Observable, Promise, Array, or Iterable.`;throw new TypeError(X)}}},650:(Le,fe,N)=>{N.d(fe,{V:()=>g});const g=A=>V=>{for(let ue=0,he=A.length;ue{N.d(fe,{oo:()=>cc,x:()=>_a,gD:()=>ba,oi:()=>qi,pT:()=>dl,y6:()=>fc,v6:()=>xs,DA:()=>hu});var g=N(738),A=N(895);const ue="object"==typeof global&&global&&global.Object===Object&&global;var he="object"==typeof self&&self&&self.Object===Object&&self;const te=ue||he||Function("return this")(),z=te.Symbol;var k=Object.prototype,j=k.hasOwnProperty,G=k.toString,q=z?z.toStringTag:void 0;var we=Object.prototype.toString;var cn=z?z.toStringTag:void 0;const qt=function Kt(h){return null==h?void 0===h?"[object Undefined]":"[object Null]":cn&&cn in Object(h)?function X(h){var E=j.call(h,q),_=h[q];try{h[q]=void 0;var O=!0}catch{}var re=G.call(h);return O&&(E?h[q]=_:delete h[q]),re}(h):function et(h){return we.call(h)}(h)},Ke=function Se(h){return null!=h&&"object"==typeof h},yt=Array.isArray;var jr=N(498),zn=N(529),Cn=N(177);function Ht(h){return E=>E.lift(new vt(h))}class vt{constructor(E){this.notifier=E}call(E,_){const O=new Et(E),re=(0,Cn.ft)(this.notifier,new Cn.IY(O));return re&&!O.seenValue?(O.add(re),_.subscribe(O)):O}}class Et extends Cn.Ds{constructor(E){super(E),this.seenValue=!1}notifyNext(){this.seenValue=!0,this.complete()}notifyComplete(){}}let bn=(()=>{class h{constructor(){}isBoolean(_){return function ye(h){return!0===h||!1===h||Ke(h)&&"[object Boolean]"==qt(h)}(_)}isNumber(_){return function Ce(h){return"number"==typeof h||Ke(h)&&"[object Number]"==qt(h)}(_)}isObservable(_){return _ instanceof jr.y}isPromise(_){return _ instanceof Promise}isString(_){return function Vn(h){return"string"==typeof h||!yt(h)&&Ke(h)&&"[object String]"==qt(h)}(_)}isTemplateRef(_){return _ instanceof g.Rgc}}return h.\u0275fac=function(_){return new(_||h)},h.\u0275prov=g.Yz7({token:h,factory:h.\u0275fac,providedIn:"root"}),h})();new g.OlP("default error image"),new g.OlP("default loading image");let Wn=(()=>{class h{constructor(_){this.valueTypeService=_}transform(_){return this.valueTypeService.isString(_)}}return h.\u0275fac=function(_){return new(_||h)(g.Y36(bn,16))},h.\u0275pipe=g.Yjl({name:"nbIsString",type:h,pure:!0}),h})(),it=(()=>{class h{constructor(_){this.valueTypeService=_}transform(_){return this.valueTypeService.isTemplateRef(_)?_:null}}return h.\u0275fac=function(_){return new(_||h)(g.Y36(bn,16))},h.\u0275pipe=g.Yjl({name:"nbTplContent",type:h,pure:!0}),h})(),Ln=(()=>{class h{}return h.\u0275fac=function(_){return new(_||h)},h.\u0275mod=g.oAB({type:h}),h.\u0275inj=g.cJS({imports:[A.ez]}),h})();var ct=N(591),wn=N(86),nt=N(654);class ve extends nt.w{constructor(E,_){super()}schedule(E,_=0){return this}}let ir=(()=>{class h{constructor(_,O=h.now){this.SchedulerAction=_,this.now=O}schedule(_,O=0,re){return new this.SchedulerAction(this,_).schedule(re,O)}}return h.now=()=>Date.now(),h})();class kt extends ir{constructor(E,_=ir.now){super(E,()=>kt.delegate&&kt.delegate!==this?kt.delegate.now():_()),this.actions=[],this.active=!1,this.scheduled=void 0}schedule(E,_=0,O){return kt.delegate&&kt.delegate!==this?kt.delegate.schedule(E,_,O):super.schedule(E,_,O)}flush(E){const{actions:_}=this;if(this.active)return void _.push(E);let O;this.active=!0;do{if(O=E.execute(E.state,E.delay))break}while(E=_.shift());if(this.active=!1,O){for(;E=_.shift();)E.unsubscribe();throw O}}}const eo=new kt(class Rt extends ve{constructor(E,_){super(E,_),this.scheduler=E,this.work=_,this.pending=!1}schedule(E,_=0){if(this.closed)return this;this.state=E;const O=this.id,re=this.scheduler;return null!=O&&(this.id=this.recycleAsyncId(re,O,_)),this.pending=!0,this.delay=_,this.id=this.id||this.requestAsyncId(re,this.id,_),this}requestAsyncId(E,_,O=0){return setInterval(E.flush.bind(E,this),O)}recycleAsyncId(E,_,O=0){if(null!==O&&this.delay===O&&!1===this.pending)return _;clearInterval(_)}execute(E,_){if(this.closed)return new Error("executing a cancelled action");this.pending=!1;const O=this._execute(E,_);if(O)return O;!1===this.pending&&null!=this.id&&(this.id=this.recycleAsyncId(this.scheduler,this.id,null))}_execute(E,_){let re,O=!1;try{this.work(E)}catch(de){O=!0,re=!!de&&de||new Error(de)}if(O)return this.unsubscribe(),re}_unsubscribe(){const E=this.id,_=this.scheduler,O=_.actions,re=O.indexOf(this);this.work=null,this.state=null,this.pending=!1,this.scheduler=null,-1!==re&&O.splice(re,1),null!=E&&(this.id=this.recycleAsyncId(_,E,null)),this.delay=null}});var Qt=N(688);function mn(h){return!(0,Qt.k)(h)&&h-parseFloat(h)+1>=0}var Sn=N(866);function _t(h){const{index:E,period:_,subscriber:O}=h;if(O.next(E),!O.closed){if(-1===_)return O.complete();h.index=E+1,this.schedule(h,_)}}var wt=N(254),on=N(545),Pn=N(850),Kn=N(489);class _r{constructor(E){this.predicate=E}call(E,_){return _.subscribe(new $(E,this.predicate))}}class $ extends Kn.L{constructor(E,_){super(E),this.predicate=_,this.skipping=!0,this.index=0}_next(E){const _=this.destination;this.skipping&&this.tryCallPredicate(E),this.skipping||_.next(E)}tryCallPredicate(E){try{const _=this.predicate(E,this.index++);this.skipping=Boolean(_)}catch(_){this.destination.error(_)}}}var b=N(868);class T{constructor(E,_){this.count=E,this.source=_}call(E,_){return _.subscribe(new x(E,this.count,this.source))}}class x extends Kn.L{constructor(E,_,O){super(E),this.count=_,this.source=O}error(E){if(!this.isStopped){const{source:_,count:O}=this;if(0===O)return super.error(E);O>-1&&(this.count=O-1),_.subscribe(this._unsubscribeAndRecycle())}}}var B=N(221);const ae=function ee(h){return"symbol"==typeof h||Ke(h)&&"[object Symbol]"==qt(h)};var ze=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,jt=/^\w*$/;const rt=function Ve(h){var E=typeof h;return null!=h&&("object"==E||"function"==E)},sr=function Eo(h){if(!rt(h))return!1;var E=qt(h);return"[object Function]"==E||"[object GeneratorFunction]"==E||"[object AsyncFunction]"==E||"[object Proxy]"==E};var h,wo=te["__core-js_shared__"],So=(h=/[^.]+$/.exec(wo&&wo.keys&&wo.keys.IE_PROTO||""))?"Symbol(src)_1."+h:"";var Pt=Function.prototype.toString;const Ot=function Cr(h){if(null!=h){try{return Pt.call(h)}catch{}try{return h+""}catch{}}return""};var me=/^\[object .+?Constructor\]$/,mt=RegExp("^"+Function.prototype.toString.call(Object.prototype.hasOwnProperty).replace(/[\\^$.*+?()[\]{}|]/g,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$");const St=function br(h){return!(!rt(h)||function Qo(h){return!!So&&So in h}(h))&&(sr(h)?mt:me).test(Ot(h))},Nn=function Fe(h,E){var _=function Io(h,E){return h?.[E]}(h,E);return St(_)?_:void 0},Fn=Nn(Object,"create");var Jo=Object.prototype.hasOwnProperty;var wi=Object.prototype.hasOwnProperty;function Mt(h){var E=-1,_=null==h?0:h.length;for(this.clear();++E<_;){var O=h[E];this.set(O[0],O[1])}}Mt.prototype.clear=function Er(){this.__data__=Fn?Fn(null):{},this.size=0},Mt.prototype.delete=function Br(h){var E=this.has(h)&&delete this.__data__[h];return this.size-=E?1:0,E},Mt.prototype.get=function lt(h){var E=this.__data__;if(Fn){var _=E[h];return"__lodash_hash_undefined__"===_?void 0:_}return Jo.call(E,h)?E[h]:void 0},Mt.prototype.has=function Hr(h){var E=this.__data__;return Fn?void 0!==E[h]:wi.call(E,h)},Mt.prototype.set=function Xt(h,E){var _=this.__data__;return this.size+=this.has(h)?0:1,_[h]=Fn&&void 0===E?"__lodash_hash_undefined__":E,this};const Ut=Mt,Mn=function Ao(h,E){return h===E||h!=h&&E!=E},ro=function Xo(h,E){for(var _=h.length;_--;)if(Mn(h[_][0],E))return _;return-1};var $s=Array.prototype.splice;function Ro(h){var E=-1,_=null==h?0:h.length;for(this.clear();++E<_;){var O=h[E];this.set(O[0],O[1])}}Ro.prototype.clear=function Ir(){this.__data__=[],this.size=0},Ro.prototype.delete=function Vs(h){var E=this.__data__,_=ro(E,h);return!(_<0||(_==E.length-1?E.pop():$s.call(E,_,1),--this.size,0))},Ro.prototype.get=function zs(h){var E=this.__data__,_=ro(E,h);return _<0?void 0:E[_][1]},Ro.prototype.has=function Ws(h){return ro(this.__data__,h)>-1},Ro.prototype.set=function za(h,E){var _=this.__data__,O=ro(_,h);return O<0?(++this.size,_.push([h,E])):_[O][1]=E,this};const rs=Ro,oo=Nn(te,"Map"),yn=function qs(h,E){var _=h.__data__;return function Tr(h){var E=typeof h;return"string"==E||"number"==E||"symbol"==E||"boolean"==E?"__proto__"!==h:null===h}(E)?_["string"==typeof E?"string":"hash"]:_.map};function Un(h){var E=-1,_=null==h?0:h.length;for(this.clear();++E<_;){var O=h[E];this.set(O[0],O[1])}}Un.prototype.clear=function io(){this.size=0,this.__data__={hash:new Ut,map:new(oo||rs),string:new Ut}},Un.prototype.delete=function Zs(h){var E=yn(this,h).delete(h);return this.size-=E?1:0,E},Un.prototype.get=function ei(h){return yn(this,h).get(h)},Un.prototype.has=function ao(h){return yn(this,h).has(h)},Un.prototype.set=function Mr(h,E){var _=yn(this,h),O=_.size;return _.set(h,E),this.size+=_.size==O?0:1,this};const uo=Un;function cr(h,E){if("function"!=typeof h||null!=E&&"function"!=typeof E)throw new TypeError("Expected a function");var _=function(){var O=arguments,re=E?E.apply(this,O):O[0],de=_.cache;if(de.has(re))return de.get(re);var Re=h.apply(this,O);return _.cache=de.set(re,Re)||de,Re};return _.cache=new(cr.Cache||uo),_}cr.Cache=uo;const Ii=cr;var dn=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,Mi=/\\(\\)?/g,ni=function Ti(h){var E=Ii(h,function(O){return 500===_.size&&_.clear(),O}),_=E.cache;return E}(function(h){var E=[];return 46===h.charCodeAt(0)&&E.push(""),h.replace(dn,function(_,O,re,de){E.push(re?de.replace(Mi,"$1"):O||_)}),E});const lo=ni;var Ai=z?z.prototype:void 0,lr=Ai?Ai.toString:void 0;const Ct=function fo(h){if("string"==typeof h)return h;if(yt(h))return function Wt(h,E){for(var _=-1,O=null==h?0:h.length,re=Array(O);++_ht))return!1;var gt=de.get(h),tr=de.get(E);if(gt&&tr)return gt==E&&tr==h;var hn=-1,pn=!0,Kr=2&_?new Ya:void 0;for(de.set(h,E),de.set(E,h);++hn-1&&h%1==0&&h-1&&h%1==0&&h<=9007199254740991};var It={};It["[object Float32Array]"]=It["[object Float64Array]"]=It["[object Int8Array]"]=It["[object Int16Array]"]=It["[object Int32Array]"]=It["[object Uint8Array]"]=It["[object Uint8ClampedArray]"]=It["[object Uint16Array]"]=It["[object Uint32Array]"]=!0,It["[object Arguments]"]=It["[object Array]"]=It["[object ArrayBuffer]"]=It["[object Boolean]"]=It["[object DataView]"]=It["[object Date]"]=It["[object Error]"]=It["[object Function]"]=It["[object Map]"]=It["[object Number]"]=It["[object Object]"]=It["[object RegExp]"]=It["[object Set]"]=It["[object String]"]=It["[object WeakMap]"]=!1;var Es="object"==typeof exports&&exports&&!exports.nodeType&&exports,Wr=Es&&"object"==typeof module&&module&&!module.nodeType&&module,vn=Wr&&Wr.exports===Es&&ue.process,Fr=function(){try{return Wr&&Wr.require&&Wr.require("util").types||vn&&vn.binding&&vn.binding("util")}catch{}}(),fi=Fr&&Fr.isTypedArray;const Ss=fi?function ha(h){return function(E){return h(E)}}(fi):function Vo(h){return Ke(h)&&ca(h.length)&&!!It[qt(h)]};var zu=Object.prototype.hasOwnProperty;const Bn=function Wi(h,E){var _=yt(h),O=!_&&qa(h),re=!_&&!O&&jo(h),de=!_&&!O&&!re&&Ss(h),Re=_||O||re||de,ht=Re?function ps(h,E){for(var _=-1,O=Array(h);++_(function(h){h.ZH_CN="zh-CN",h.ZH_TW="zh-TW",h.ZH_HK="zh-HK",h.EN="en",h.AR_EG="ar-EG",h.HY_AM="hy-AM",h.BG_BG="bg-BG",h.CA_ES="ca-ES",h.CS_CZ="cs-CZ",h.DA_DK="da-DK",h.DE_DE="de-DE",h.EL_GR="el-GR",h.EN_GB="en-GB",h.EN_US="en-US",h.ES_ES="es-ES",h.ET_EE="et-EE",h.FA_IR="fa-IR",h.FI_FI="fi-FI",h.FR_BE="fr-BE",h.FR_FR="fr-FR",h.HE_IL="he-IL",h.HI_IN="hi-IN",h.HR_HR="hr-HR",h.HU_HU="hu-HU",h.IS_IS="is-IS",h.ID_ID="id-ID",h.IT_IT="it-IT",h.JA_JP="ja-JP",h.KA_GE="ka-GE",h.KN_IN="kn-IN",h.KO_KR="ko-KR",h.KU_IQ="ku-IQ",h.LV_LV="lv-LV",h.MS_MY="ms-MY",h.MN_MN="mn-MN",h.NB_NO="nb-NO",h.NE_NP="ne-NP",h.NL_BE="nl-BE",h.NL_NL="nl-NL",h.PL_PL="pl-PL",h.PT_BR="pt-BR",h.PT_PT="pt-PT",h.SK_SK="sk-SK",h.SR_RS="sr-RS",h.SL_SI="sl-SI",h.SV_SE="sv-SE",h.TA_IN="ta-IN",h.TH_TH="th-TH",h.TR_TR="tr-TR",h.RO_RO="ro-RO",h.RU_RU="ru-RU",h.UK_UA="uk-UA",h.VI_VN="vi-VN"}(qi||(qi={})),qi))();const _a=new g.OlP("nb-trans-loader"),ll=new g.OlP("nb-trans-max-retry");var gi=(()=>(function(h){h[h.STR=0]="STR",h[h.COMP=1]="COMP",h[h.MULTI_COMP=2]="MULTI_COMP"}(gi||(gi={})),gi))();let mi=(()=>{class h{constructor(_){this.valueType=_}static checkNavigator(){return h.checkWindow()&&typeof window.navigator<"u"}static checkWindow(){return typeof window<"u"}getFinalKey(_,O){return O?`${O}.${_}`:_}handleSentence(_,O,re){return _.replace(new RegExp(O,"g"),re)}handleSentenceWithParams(_,O){if(!O)return _;const re=Object.keys(O);if(!re.length)return _;const de=this.getParamsKeyUuid(re),Re=this.replaceParamsKeysAsUuidKey(_,{keys:re,keysUUID:de});return this.replaceUuidKeyAsParamsValue(Re,{params:O,keys:re,keysUUID:de})}handleTrans(_){const O=[];for(;_.length;){const re=_.search(/<\d+>/);if(re>0){const Re=_.slice(0,re);O.push(Re)}const de=this.handleCompStr(_);this.valueType.isString(de)?(O.push(de),_=""):(O.push({index:de.index,content:de.content,list:de.list}),_=de.otherContent)}return O}getParamsKeyUuid(_){return _.reduce((O,re)=>(O[re]=sl(),O),{})}handleCompStr(_){const O=_.search(/<\d+>/);if(-1===O)return _;let re=[];const de=_.indexOf(">",O),Re=Number(_.slice(O+1,de)),ht=``,tn=_.indexOf(ht),gt=_.slice(de+1,tn);return gt.search(/<\d+>/)>-1&&(re=this.handleTrans(gt)),{index:Re,content:gt,list:re,otherContent:_.slice(tn+ht.length,_.length)}}replaceParamsKeysAsUuidKey(_,O){const{keys:re,keysUUID:de}=O;return re.forEach(Re=>{_=this.handleSentence(_,`{{${Re}}}`,de[Re])}),_}replaceUuidKeyAsParamsValue(_,O){const{params:re,keys:de,keysUUID:Re}=O;return de.forEach(ht=>{_=this.handleSentence(_,Re[ht],re[ht])}),_}}return h.\u0275fac=function(_){return new(_||h)(g.LFG(bn))},h.\u0275prov=g.Yz7({token:h,factory:h.\u0275fac,providedIn:"root"}),h})(),xs=(()=>{class h{constructor(_,O,re,de){this.transDefaultLang=_,this.transLoader=O,this.maxRetry=re,this.transToolsService=de,this.lang$=new ct.X(qi.ZH_CN),this.loadDefaultOver$=new ct.X(!1),this.loadLangTrans$=new zn.xQ,this.retry=5,this.translations={},this.retry=null==this.maxRetry?this.retry:this.maxRetry,this.transLoader=this.transLoader||{},this.lang$.next(_||qi.ZH_CN),this.loadDefaultTrans()}get lang(){return this.lang$.value}get loadDefaultOver(){return this.loadDefaultOver$.value}static getBrowserLang(){if(mi.checkNavigator())return window?.navigator?.language}static getBrowserLangs(){if(mi.checkNavigator())return window?.navigator?.languages}changeLang(_){const O={curLang:_,result:!0},re={curLang:this.lang,result:!1};return this.translations[_]?(this.lang$.next(_),(0,wn.of)(O)):this.transLoader[_]?this.loadLangTrans(_).pipe((0,on.w)(de=>{let Re=this.lang,ht=re;return de&&(Re=_,ht=O),this.lang$.next(Re),(0,wn.of)(ht)})):(function bo(h=0,E,_){let O=-1;return mn(E)?O=Number(E)<1?1:Number(E):(0,Sn.K)(E)&&(_=E),(0,Sn.K)(_)||(_=eo),new jr.y(re=>{const de=mn(h)?h:+h-_.now();return _.schedule(_t,de,{index:0,period:O,subscriber:re})})}().subscribe(de=>this.loadLangTrans$.next(!1)),(0,wn.of)(re))}changeLangSync(_){this.changeLang(_).subscribe()}getBrowserLang(){return console.warn("The function will be deprecated in the future, we recommend using NbTransService.getBrowserLang()!"),h.getBrowserLang()}getBrowserLangs(){return console.warn("The function will be deprecated in the future, we recommend using NbTransService.getBrowserLangs()!"),h.getBrowserLangs()}translationAsync(_,O){return this.lang$.pipe((0,on.w)(re=>this.translations[this.lang]?(0,wn.of)({trans:this.translations[this.lang],result:!0}):this.loadLangTrans$),(0,Pn.U)(re=>this.translationSync(_,O)))}translationSync(_,O){const re=this.transToolsService.getFinalKey(_,O?.prefix),de=!1===O?.returnKeyWhenEmpty?"":re;let Re=Be(this.translations[this.lang],re);if(Re||(Re=Be(this.translations[this.transDefaultLang],re)),!Re)return de;const ht=O?.params;return Re=this.transToolsService.handleSentenceWithParams(Re,ht),Re||de}subscribeLangChange(){return this.lang$.asObservable()}subscribeLoadDefaultOver(){return this.loadDefaultOver?(0,wn.of)(!0):this.loadDefaultOver$.asObservable().pipe(function sn(h){return E=>E.lift(new _r(h))}((_,O)=>!_&&0===O))}loadDefaultTrans(){this.loadTrans(this.lang).pipe((0,Pn.U)(_=>!!_)).subscribe(_=>{this.loadDefaultOver$.next(_),this.loadDefaultOver$.complete(),this.loadLangTrans$.next(_)})}loadLangTrans(_){return this.loadTrans(_).pipe((0,Pn.U)(O=>!!O),(0,b.b)(O=>this.loadLangTrans$.next(O)))}loadTrans(_){const O=this.transLoader[_];return O?(sr(O)?(0,wn.of)(null).pipe((0,on.w)(()=>(0,wt.D)(O()))):(0,wn.of)(O)).pipe((0,b.b)(de=>this.translations[_]=de),function C(h=-1){return E=>E.lift(new T(h,E))}(this.retry),(0,B.K)(de=>(0,wn.of)(null))):(0,wn.of)(null)}}return h.\u0275fac=function(_){return new(_||h)(g.LFG(cc,8),g.LFG(_a,8),g.LFG(ll,8),g.LFG(mi))},h.\u0275prov=g.Yz7({token:h,factory:h.\u0275fac,providedIn:"root"}),h})(),dc=(()=>{class h{constructor(_){this.transToolsService=_}transform(_,O){return this.transToolsService.handleSentenceWithParams(_,O)}}return h.\u0275fac=function(_){return new(_||h)(g.Y36(mi,16))},h.\u0275pipe=g.Yjl({name:"nbTransContent",type:h,pure:!0}),h})(),Zi=(()=>{class h{constructor(_){this.valueType=_}transform(_){let O;return this.valueType.isString(_)?O=gi.STR:this.valueType.isNumber(_?.index)&&(O=Array.isArray(_.list)&&_.list.length?gi.MULTI_COMP:gi.COMP),O}}return h.\u0275fac=function(_){return new(_||h)(g.Y36(bn,16))},h.\u0275pipe=g.Yjl({name:"nbSentenceItemType",type:h,pure:!0}),h})(),ba=(()=>{class h{constructor(_,O,re){this.changeDR=_,this.transToolsService=O,this.transService=re,this.components=[],this.key="",this.options={},this.sentenceList=[],this.SentenceItemEnum=gi,this.destroy$=new zn.xQ,this.originTrans="",this.subscribeLangChange()}ngOnChanges(_){const{key:O,options:re}=_;(O||re)&&(this.originTrans=this.transService.translationSync(this.key,this.options),this.reRender())}ngOnDestroy(){this.destroy$.next(),this.destroy$.complete()}reRender(){this.params=this.options?.params,this.sentenceList=this.transToolsService.handleTrans(this.originTrans),this.changeDR.markForCheck()}subscribeLangChange(){this.transService.subscribeLangChange().pipe((0,on.w)(_=>this.transService.translationAsync(this.key,this.options)),Ht(this.destroy$)).subscribe(_=>{this.originTrans=_,this.reRender()})}}return h.\u0275fac=function(_){return new(_||h)(g.Y36(g.sBO),g.Y36(mi),g.Y36(xs))},h.\u0275cmp=g.Xpm({type:h,selectors:[["nb-trans"]],inputs:{components:"components",key:"key",options:"options"},features:[g.TTD],decls:9,vars:4,consts:[[4,"ngTemplateOutlet","ngTemplateOutletContext"],["sentenceListTpl",""],["strTpl",""],["compTpl",""],["multiCompTpl",""],[4,"ngFor","ngForOf"],[3,"ngSwitch"],[3,"ngTemplateOutlet","ngTemplateOutletContext",4,"ngSwitchCase"],[3,"ngTemplateOutlet","ngTemplateOutletContext"]],template:function(_,O){if(1&_&&(g.YNc(0,tc,1,0,"ng-container",0),g.YNc(1,fu,1,1,"ng-template",null,1,g.W1O),g.YNc(3,xn,2,4,"ng-template",null,2,g.W1O),g.YNc(5,rc,3,9,"ng-template",null,3,g.W1O),g.YNc(7,ic,2,7,"ng-template",null,4,g.W1O)),2&_){const re=g.MAs(2);g.Q6J("ngTemplateOutlet",re)("ngTemplateOutletContext",g.VKq(2,sc,O.sentenceList))}},dependencies:[A.sg,A.tP,A.RF,A.n9,it,dc,Zi],encapsulation:2,changeDetection:0}),h})(),hu=(()=>{class h{constructor(){this.content="",this.subcontentList=[]}}return h.\u0275fac=function(_){return new(_||h)},h.\u0275cmp=g.Xpm({type:h,selectors:[["","nb-trans-subcontent",""]],inputs:{content:["nb-trans-subcontent","content"],subcontentList:"subcontentList"},attrs:ac,decls:4,vars:4,consts:[[3,"ngSwitch"],[4,"ngSwitchCase"],[3,"ngTemplateOutlet","ngTemplateOutletContext",4,"ngSwitchDefault"],[3,"ngTemplateOutlet","ngTemplateOutletContext"]],template:function(_,O){1&_&&(g.ynx(0,0),g.ALo(1,"nbIsString"),g.YNc(2,cl,2,1,"ng-container",1),g.YNc(3,uc,2,6,"ng-container",2),g.BQk()),2&_&&(g.Q6J("ngSwitch",g.lcZ(1,2,O.content)),g.xp6(2),g.Q6J("ngSwitchCase",!0))},dependencies:[A.tP,A.RF,A.n9,A.ED,it,Wn],encapsulation:2,changeDetection:0}),h})(),fc=(()=>{class h{constructor(_,O){this.changeDR=_,this.transService=O,this.latestValue="",this.destroy$=new zn.xQ,this.key="",this.subscribeLangChange()}transform(_,O){return(!this.latestValue||_!==this.key||!Xu(O,this.options))&&(this.latestValue=this.transService.translationSync(_,O),this.key=_,this.options=O),this.latestValue}ngOnDestroy(){this.destroy$.next(),this.destroy$.complete()}subscribeLangChange(){this.transService.subscribeLangChange().pipe((0,on.w)(_=>this.transService.translationAsync(this.key,this.options)),Ht(this.destroy$)).subscribe(_=>this.updateLatestValue(_))}updateLatestValue(_){this.latestValue=_,this.changeDR.markForCheck()}}return h.\u0275fac=function(_){return new(_||h)(g.Y36(g.sBO,16),g.Y36(xs,16))},h.\u0275pipe=g.Yjl({name:"nbTrans",type:h,pure:!1}),h})(),dl=(()=>{class h{}return h.\u0275fac=function(_){return new(_||h)},h.\u0275mod=g.oAB({type:h}),h.\u0275inj=g.cJS({imports:[A.ez,Ln]}),h})()},895:(Le,fe,N)=>{N.d(fe,{Do:()=>Je,ED:()=>mt,EM:()=>Ks,HT:()=>ue,JF:()=>so,K0:()=>J,Mx:()=>wo,Ov:()=>Tn,RF:()=>Vt,S$:()=>oe,Ts:()=>Zn,V_:()=>z,Ye:()=>le,b0:()=>et,bD:()=>ns,ez:()=>Vs,n9:()=>ar,q:()=>V,sg:()=>Pt,tP:()=>Fe,w_:()=>he});var g=N(738);let A=null;function V(){return A}function ue(f){A||(A=f)}class he{}const J=new g.OlP("DocumentToken");let te=(()=>{class f{historyGo(p){throw new Error("Not implemented")}}return f.\u0275fac=function(p){return new(p||f)},f.\u0275prov=g.Yz7({token:f,factory:function(){return function Z(){return(0,g.LFG)(k)}()},providedIn:"platform"}),f})();const z=new g.OlP("Location Initialized");let k=(()=>{class f extends te{constructor(p){super(),this._doc=p,this._init()}_init(){this.location=window.location,this._history=window.history}getBaseHrefFromDOM(){return V().getBaseHref(this._doc)}onPopState(p){const S=V().getGlobalEventTarget(this._doc,"window");return S.addEventListener("popstate",p,!1),()=>S.removeEventListener("popstate",p)}onHashChange(p){const S=V().getGlobalEventTarget(this._doc,"window");return S.addEventListener("hashchange",p,!1),()=>S.removeEventListener("hashchange",p)}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(p){this.location.pathname=p}pushState(p,S,P){j()?this._history.pushState(p,S,P):this.location.hash=P}replaceState(p,S,P){j()?this._history.replaceState(p,S,P):this.location.hash=P}forward(){this._history.forward()}back(){this._history.back()}historyGo(p=0){this._history.go(p)}getState(){return this._history.state}}return f.\u0275fac=function(p){return new(p||f)(g.LFG(J))},f.\u0275prov=g.Yz7({token:f,factory:function(){return function G(){return new k((0,g.LFG)(J))}()},providedIn:"platform"}),f})();function j(){return!!window.history.pushState}function q(f,D){if(0==f.length)return D;if(0==D.length)return f;let p=0;return f.endsWith("/")&&p++,D.startsWith("/")&&p++,2==p?f+D.substring(1):1==p?f+D:f+"/"+D}function X(f){const D=f.match(/#|\?|$/),p=D&&D.index||f.length;return f.slice(0,p-("/"===f[p-1]?1:0))+f.slice(p)}function Ie(f){return f&&"?"!==f[0]?"?"+f:f}let oe=(()=>{class f{historyGo(p){throw new Error("Not implemented")}}return f.\u0275fac=function(p){return new(p||f)},f.\u0275prov=g.Yz7({token:f,factory:function(){return(0,g.f3M)(et)},providedIn:"root"}),f})();const we=new g.OlP("appBaseHref");let et=(()=>{class f extends oe{constructor(p,S){super(),this._platformLocation=p,this._removeListenerFns=[],this._baseHref=S??this._platformLocation.getBaseHrefFromDOM()??(0,g.f3M)(J).location?.origin??""}ngOnDestroy(){for(;this._removeListenerFns.length;)this._removeListenerFns.pop()()}onPopState(p){this._removeListenerFns.push(this._platformLocation.onPopState(p),this._platformLocation.onHashChange(p))}getBaseHref(){return this._baseHref}prepareExternalUrl(p){return q(this._baseHref,p)}path(p=!1){const S=this._platformLocation.pathname+Ie(this._platformLocation.search),P=this._platformLocation.hash;return P&&p?`${S}${P}`:S}pushState(p,S,P,H){const K=this.prepareExternalUrl(P+Ie(H));this._platformLocation.pushState(p,S,K)}replaceState(p,S,P,H){const K=this.prepareExternalUrl(P+Ie(H));this._platformLocation.replaceState(p,S,K)}forward(){this._platformLocation.forward()}back(){this._platformLocation.back()}getState(){return this._platformLocation.getState()}historyGo(p=0){this._platformLocation.historyGo?.(p)}}return f.\u0275fac=function(p){return new(p||f)(g.LFG(te),g.LFG(we,8))},f.\u0275prov=g.Yz7({token:f,factory:f.\u0275fac,providedIn:"root"}),f})(),Je=(()=>{class f extends oe{constructor(p,S){super(),this._platformLocation=p,this._baseHref="",this._removeListenerFns=[],null!=S&&(this._baseHref=S)}ngOnDestroy(){for(;this._removeListenerFns.length;)this._removeListenerFns.pop()()}onPopState(p){this._removeListenerFns.push(this._platformLocation.onPopState(p),this._platformLocation.onHashChange(p))}getBaseHref(){return this._baseHref}path(p=!1){let S=this._platformLocation.hash;return null==S&&(S="#"),S.length>0?S.substring(1):S}prepareExternalUrl(p){const S=q(this._baseHref,p);return S.length>0?"#"+S:S}pushState(p,S,P,H){let K=this.prepareExternalUrl(P+Ie(H));0==K.length&&(K=this._platformLocation.pathname),this._platformLocation.pushState(p,S,K)}replaceState(p,S,P,H){let K=this.prepareExternalUrl(P+Ie(H));0==K.length&&(K=this._platformLocation.pathname),this._platformLocation.replaceState(p,S,K)}forward(){this._platformLocation.forward()}back(){this._platformLocation.back()}getState(){return this._platformLocation.getState()}historyGo(p=0){this._platformLocation.historyGo?.(p)}}return f.\u0275fac=function(p){return new(p||f)(g.LFG(te),g.LFG(we,8))},f.\u0275prov=g.Yz7({token:f,factory:f.\u0275fac}),f})(),le=(()=>{class f{constructor(p){this._subject=new g.vpe,this._urlChangeListeners=[],this._urlChangeSubscription=null,this._locationStrategy=p;const S=this._locationStrategy.getBaseHref();this._basePath=function qt(f){if(new RegExp("^(https?:)?//").test(f)){const[,p]=f.split(/\/\/[^\/]+/);return p}return f}(X(Kt(S))),this._locationStrategy.onPopState(P=>{this._subject.emit({url:this.path(!0),pop:!0,state:P.state,type:P.type})})}ngOnDestroy(){this._urlChangeSubscription?.unsubscribe(),this._urlChangeListeners=[]}path(p=!1){return this.normalize(this._locationStrategy.path(p))}getState(){return this._locationStrategy.getState()}isCurrentPathEqualTo(p,S=""){return this.path()==this.normalize(p+Ie(S))}normalize(p){return f.stripTrailingSlash(function cn(f,D){return f&&D.startsWith(f)?D.substring(f.length):D}(this._basePath,Kt(p)))}prepareExternalUrl(p){return p&&"/"!==p[0]&&(p="/"+p),this._locationStrategy.prepareExternalUrl(p)}go(p,S="",P=null){this._locationStrategy.pushState(P,"",p,S),this._notifyUrlChangeListeners(this.prepareExternalUrl(p+Ie(S)),P)}replaceState(p,S="",P=null){this._locationStrategy.replaceState(P,"",p,S),this._notifyUrlChangeListeners(this.prepareExternalUrl(p+Ie(S)),P)}forward(){this._locationStrategy.forward()}back(){this._locationStrategy.back()}historyGo(p=0){this._locationStrategy.historyGo?.(p)}onUrlChange(p){return this._urlChangeListeners.push(p),this._urlChangeSubscription||(this._urlChangeSubscription=this.subscribe(S=>{this._notifyUrlChangeListeners(S.url,S.state)})),()=>{const S=this._urlChangeListeners.indexOf(p);this._urlChangeListeners.splice(S,1),0===this._urlChangeListeners.length&&(this._urlChangeSubscription?.unsubscribe(),this._urlChangeSubscription=null)}}_notifyUrlChangeListeners(p="",S){this._urlChangeListeners.forEach(P=>P(p,S))}subscribe(p,S,P){return this._subject.subscribe({next:p,error:S,complete:P})}}return f.normalizeQueryParams=Ie,f.joinWithSlash=q,f.stripTrailingSlash=X,f.\u0275fac=function(p){return new(p||f)(g.LFG(oe))},f.\u0275prov=g.Yz7({token:f,factory:function(){return function rn(){return new le((0,g.LFG)(oe))}()},providedIn:"root"}),f})();function Kt(f){return f.replace(/\/index.html$/,"")}function wo(f,D){D=encodeURIComponent(D);for(const p of f.split(";")){const S=p.indexOf("="),[P,H]=-1==S?[p,""]:[p.slice(0,S),p.slice(S+1)];if(P.trim()===D)return decodeURIComponent(H)}return null}class Jt{constructor(D,p,S,P){this.$implicit=D,this.ngForOf=p,this.index=S,this.count=P}get first(){return 0===this.index}get last(){return this.index===this.count-1}get even(){return this.index%2==0}get odd(){return!this.even}}let Pt=(()=>{class f{constructor(p,S,P){this._viewContainer=p,this._template=S,this._differs=P,this._ngForOf=null,this._ngForOfDirty=!0,this._differ=null}set ngForOf(p){this._ngForOf=p,this._ngForOfDirty=!0}set ngForTrackBy(p){this._trackByFn=p}get ngForTrackBy(){return this._trackByFn}set ngForTemplate(p){p&&(this._template=p)}ngDoCheck(){if(this._ngForOfDirty){this._ngForOfDirty=!1;const p=this._ngForOf;!this._differ&&p&&(this._differ=this._differs.find(p).create(this.ngForTrackBy))}if(this._differ){const p=this._differ.diff(this._ngForOf);p&&this._applyChanges(p)}}_applyChanges(p){const S=this._viewContainer;p.forEachOperation((P,H,K)=>{if(null==P.previousIndex)S.createEmbeddedView(this._template,new Jt(P.item,this._ngForOf,-1,-1),null===K?void 0:K);else if(null==K)S.remove(null===H?void 0:H);else if(null!==H){const _e=S.get(H);S.move(_e,K),Cr(_e,P)}});for(let P=0,H=S.length;P{Cr(S.get(P.currentIndex),P)})}static ngTemplateContextGuard(p,S){return!0}}return f.\u0275fac=function(p){return new(p||f)(g.Y36(g.s_b),g.Y36(g.Rgc),g.Y36(g.ZZ4))},f.\u0275dir=g.lG2({type:f,selectors:[["","ngFor","","ngForOf",""]],inputs:{ngForOf:"ngForOf",ngForTrackBy:"ngForTrackBy",ngForTemplate:"ngForTemplate"},standalone:!0}),f})();function Cr(f,D){f.context.$implicit=D.item}class at{constructor(D,p){this._viewContainerRef=D,this._templateRef=p,this._created=!1}create(){this._created=!0,this._viewContainerRef.createEmbeddedView(this._templateRef)}destroy(){this._created=!1,this._viewContainerRef.clear()}enforceState(D){D&&!this._created?this.create():!D&&this._created&&this.destroy()}}let Vt=(()=>{class f{constructor(){this._defaultUsed=!1,this._caseCount=0,this._lastCaseCheckIndex=0,this._lastCasesMatched=!1}set ngSwitch(p){this._ngSwitch=p,0===this._caseCount&&this._updateDefaultCases(!0)}_addCase(){return this._caseCount++}_addDefault(p){this._defaultViews||(this._defaultViews=[]),this._defaultViews.push(p)}_matchCase(p){const S=p==this._ngSwitch;return this._lastCasesMatched=this._lastCasesMatched||S,this._lastCaseCheckIndex++,this._lastCaseCheckIndex===this._caseCount&&(this._updateDefaultCases(!this._lastCasesMatched),this._lastCaseCheckIndex=0,this._lastCasesMatched=!1),S}_updateDefaultCases(p){if(this._defaultViews&&p!==this._defaultUsed){this._defaultUsed=p;for(let S=0;S{class f{constructor(p,S,P){this.ngSwitch=P,P._addCase(),this._view=new at(p,S)}ngDoCheck(){this._view.enforceState(this.ngSwitch._matchCase(this.ngSwitchCase))}}return f.\u0275fac=function(p){return new(p||f)(g.Y36(g.s_b),g.Y36(g.Rgc),g.Y36(Vt,9))},f.\u0275dir=g.lG2({type:f,selectors:[["","ngSwitchCase",""]],inputs:{ngSwitchCase:"ngSwitchCase"},standalone:!0}),f})(),mt=(()=>{class f{constructor(p,S,P){P._addDefault(new at(p,S))}}return f.\u0275fac=function(p){return new(p||f)(g.Y36(g.s_b),g.Y36(g.Rgc),g.Y36(Vt,9))},f.\u0275dir=g.lG2({type:f,selectors:[["","ngSwitchDefault",""]],standalone:!0}),f})(),Fe=(()=>{class f{constructor(p){this._viewContainerRef=p,this._viewRef=null,this.ngTemplateOutletContext=null,this.ngTemplateOutlet=null,this.ngTemplateOutletInjector=null}ngOnChanges(p){if(p.ngTemplateOutlet||p.ngTemplateOutletInjector){const S=this._viewContainerRef;if(this._viewRef&&S.remove(S.indexOf(this._viewRef)),this.ngTemplateOutlet){const{ngTemplateOutlet:P,ngTemplateOutletContext:H,ngTemplateOutletInjector:K}=this;this._viewRef=S.createEmbeddedView(P,H,K?{injector:K}:void 0)}else this._viewRef=null}else this._viewRef&&p.ngTemplateOutletContext&&this.ngTemplateOutletContext&&(this._viewRef.context=this.ngTemplateOutletContext)}}return f.\u0275fac=function(p){return new(p||f)(g.Y36(g.s_b))},f.\u0275dir=g.lG2({type:f,selectors:[["","ngTemplateOutlet",""]],inputs:{ngTemplateOutletContext:"ngTemplateOutletContext",ngTemplateOutlet:"ngTemplateOutlet",ngTemplateOutletInjector:"ngTemplateOutletInjector"},standalone:!0,features:[g.TTD]}),f})();class Fn{createSubscription(D,p){return D.subscribe({next:p,error:S=>{throw S}})}dispose(D){D.unsubscribe()}}class Er{createSubscription(D,p){return D.then(p,S=>{throw S})}dispose(D){}}const zt=new Er,Br=new Fn;let Tn=(()=>{class f{constructor(p){this._latestValue=null,this._subscription=null,this._obj=null,this._strategy=null,this._ref=p}ngOnDestroy(){this._subscription&&this._dispose(),this._ref=null}transform(p){return this._obj?p!==this._obj?(this._dispose(),this.transform(p)):this._latestValue:(p&&this._subscribe(p),this._latestValue)}_subscribe(p){this._obj=p,this._strategy=this._selectStrategy(p),this._subscription=this._strategy.createSubscription(p,S=>this._updateLatestValue(p,S))}_selectStrategy(p){if((0,g.QGY)(p))return zt;if((0,g.F4k)(p))return Br;throw function Nt(f,D){return new g.vHH(2100,!1)}()}_dispose(){this._strategy.dispose(this._subscription),this._latestValue=null,this._subscription=null,this._obj=null}_updateLatestValue(p,S){p===this._obj&&(this._latestValue=S,this._ref.markForCheck())}}return f.\u0275fac=function(p){return new(p||f)(g.Y36(g.sBO,16))},f.\u0275pipe=g.Yjl({name:"async",type:f,pure:!1,standalone:!0}),f})(),Zn=(()=>{class f{transform(p){return JSON.stringify(p,null,2)}}return f.\u0275fac=function(p){return new(p||f)},f.\u0275pipe=g.Yjl({name:"json",type:f,pure:!1,standalone:!0}),f})(),Vs=(()=>{class f{}return f.\u0275fac=function(p){return new(p||f)},f.\u0275mod=g.oAB({type:f}),f.\u0275inj=g.cJS({}),f})();const ns="browser";let Ks=(()=>{class f{}return f.\u0275prov=(0,g.Yz7)({token:f,providedIn:"root",factory:()=>new oo((0,g.LFG)(J),window)}),f})();class oo{constructor(D,p){this.document=D,this.window=p,this.offset=()=>[0,0]}setOffset(D){this.offset=Array.isArray(D)?()=>D:D}getScrollPosition(){return this.supportsScrolling()?[this.window.pageXOffset,this.window.pageYOffset]:[0,0]}scrollToPosition(D){this.supportsScrolling()&&this.window.scrollTo(D[0],D[1])}scrollToAnchor(D){if(!this.supportsScrolling())return;const p=function xo(f,D){const p=f.getElementById(D)||f.getElementsByName(D)[0];if(p)return p;if("function"==typeof f.createTreeWalker&&f.body&&(f.body.createShadowRoot||f.body.attachShadow)){const S=f.createTreeWalker(f.body,NodeFilter.SHOW_ELEMENT);let P=S.currentNode;for(;P;){const H=P.shadowRoot;if(H){const K=H.getElementById(D)||H.querySelector(`[name="${D}"]`);if(K)return K}P=S.nextNode()}}return null}(this.document,D);p&&(this.scrollToElement(p),p.focus())}setHistoryScrollRestoration(D){if(this.supportScrollRestoration()){const p=this.window.history;p&&p.scrollRestoration&&(p.scrollRestoration=D)}}scrollToElement(D){const p=D.getBoundingClientRect(),S=p.left+this.window.pageXOffset,P=p.top+this.window.pageYOffset,H=this.offset();this.window.scrollTo(S-H[0],P-H[1])}supportScrollRestoration(){try{if(!this.supportsScrolling())return!1;const D=io(this.window.history)||io(Object.getPrototypeOf(this.window.history));return!(!D||!D.writable&&!D.set)}catch{return!1}}supportsScrolling(){try{return!!this.window&&!!this.window.scrollTo&&"pageXOffset"in this.window}catch{return!1}}}function io(f){return Object.getOwnPropertyDescriptor(f,"scrollRestoration")}class so{}},738:(Le,fe,N)=>{N.d(fe,{tb:()=>sm,AFp:()=>rm,ip1:()=>nm,CZH:()=>Gc,hGG:()=>zb,z2F:()=>Yc,sBO:()=>Mb,Sil:()=>cb,_Vd:()=>Du,EJc:()=>ab,Xts:()=>El,SBq:()=>_u,lqb:()=>Fs,qLn:()=>Cu,vpe:()=>Zo,XFs:()=>ie,OlP:()=>ft,zs3:()=>Ls,ZZ4:()=>Yd,aQg:()=>Kd,soG:()=>Wc,YKP:()=>ig,h0i:()=>Ha,PXZ:()=>bb,R0b:()=>Qr,FiY:()=>c,Lbi:()=>ob,g9A:()=>im,Qsj:()=>wy,FYo:()=>Lf,JOm:()=>er,tp0:()=>d,Rgc:()=>Fu,dDg:()=>vb,eoX:()=>hm,GfV:()=>kf,s_b:()=>$c,ifc:()=>se,MMx:()=>bd,Lck:()=>oC,eFA:()=>mm,G48:()=>Tb,f3M:()=>on,MR2:()=>cy,_c5:()=>Vb,c2e:()=>ib,zSh:()=>Tl,wAp:()=>Ae,vHH:()=>Se,lri:()=>dm,rWj:()=>fm,D6c:()=>Gb,cg1:()=>pd,kL8:()=>xp,dqk:()=>st,Z0I:()=>or,sIi:()=>Su,CqO:()=>kh,QGY:()=>od,QP$:()=>Cr,F4k:()=>Lh,RDi:()=>Bm,AaK:()=>oe,TTD:()=>ur,jDz:()=>ag,xp6:()=>zf,uIk:()=>Xl,Suo:()=>Pg,Xpm:()=>In,lG2:()=>So,Yz7:()=>tt,cJS:()=>Dt,oAB:()=>sr,Yjl:()=>Qo,Y36:()=>Ta,_UZ:()=>nd,GkF:()=>rd,BQk:()=>Oc,ynx:()=>Pc,qZA:()=>xc,TgZ:()=>Rc,n5z:()=>ci,Ikx:()=>hd,LFG:()=>_t,$8M:()=>Cs,$Z:()=>rh,NdJ:()=>id,CRH:()=>Og,oxw:()=>$h,ALo:()=>Eg,lcZ:()=>wg,xi3:()=>Sg,Q6J:()=>ed,DdM:()=>pg,VKq:()=>gg,WLB:()=>mg,kEZ:()=>yg,iGM:()=>xg,MAs:()=>Fh,LSH:()=>bl,P3R:()=>wf,YNc:()=>Nh,W1O:()=>kg,_uU:()=>hp,Oqu:()=>dd,hij:()=>Lc,AsE:()=>fd});var g=N(529),A=N(654),V=N(498),ue=N(866),he=N(146),J=N(9),Z=N(762);class k{constructor(t,n){this.subjectFactory=t,this.selector=n}call(t,n){const{selector:r}=this,o=this.subjectFactory(),i=r(o).subscribe(t);return i.add(n.subscribe(o)),i}}var j=N(327);function G(){return new g.xQ}function X(e){for(let t in e)if(e[t]===X)return t;throw Error("Could not find renamed property on target object.")}function oe(e){if("string"==typeof e)return e;if(Array.isArray(e))return"["+e.map(oe).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 we(e,t){return null==e||""===e?null===t?"":t:null==t||""===t?e:e+" "+t}const et=X({__forward_ref__:X});function Je(e){return e.__forward_ref__=Je,e.toString=function(){return oe(this())},e}function le(e){return rn(e)?e():e}function rn(e){return"function"==typeof e&&e.hasOwnProperty(et)&&e.__forward_ref__===Je}function cn(e){return e&&!!e.\u0275providers}const qt="https://g.co/ng/security#xss";class Se extends Error{constructor(t,n){super(function Ke(e,t){return`NG0${Math.abs(e)}${t?": "+t.trim():""}`}(t,n)),this.code=t}}function ge(e){return"string"==typeof e?e:null==e?"":String(e)}function Lt(e,t){throw new Se(-201,!1)}function $t(e,t){null==e&&function qe(e,t,n,r){throw new Error(`ASSERTION ERROR: ${e}`+(null==r?"":` [Expected=> ${n} ${r} ${t} <=Actual]`))}(t,e,null,"!=")}function tt(e){return{token:e.token,providedIn:e.providedIn||null,factory:e.factory,value:void 0}}function Dt(e){return{providers:e.providers||[],imports:e.imports||[]}}function ut(e){return Xr(e,En)||Xr(e,it)}function or(e){return null!==ut(e)}function Xr(e,t){return e.hasOwnProperty(t)?e[t]:null}function Ur(e){return e&&(e.hasOwnProperty(Wn)||e.hasOwnProperty(Te))?e[Wn]:null}const En=X({\u0275prov:X}),Wn=X({\u0275inj:X}),it=X({ngInjectableDef:X}),Te=X({ngInjectorDef:X});var ie=(()=>((ie=ie||{})[ie.Default=0]="Default",ie[ie.Host=1]="Host",ie[ie.Self=2]="Self",ie[ie.SkipSelf=4]="SkipSelf",ie[ie.Optional=8]="Optional",ie))();let Dr;function Ye(e){const t=Dr;return Dr=e,t}function Yn(e,t,n){const r=ut(e);return r&&"root"==r.providedIn?void 0===r.value?r.value=r.factory():r.value:n&ie.Optional?null:void 0!==t?t:void Lt(oe(e))}const st=(()=>typeof globalThis<"u"&&globalThis||typeof global<"u"&&global||typeof window<"u"&&window||typeof self<"u"&&typeof WorkerGlobalScope<"u"&&self instanceof WorkerGlobalScope&&self)(),ve={},Rt="__NG_DI_FLAG__",ir="ngTempTokenPath",Co=/\n/gm,Qt="__source";let mn;function Sn(e){const t=mn;return mn=e,t}function bo(e,t=ie.Default){if(void 0===mn)throw new Se(-203,!1);return null===mn?Yn(e,void 0,t):mn.get(e,t&ie.Optional?null:void 0,t)}function _t(e,t=ie.Default){return(function Ln(){return Dr}()||bo)(le(e),t)}function on(e,t=ie.Default){return _t(e,Pn(t))}function Pn(e){return typeof e>"u"||"number"==typeof e?e:0|(e.optional&&8)|(e.host&&1)|(e.self&&2)|(e.skipSelf&&4)}function Kn(e){const t=[];for(let n=0;n((T=T||{})[T.OnPush=0]="OnPush",T[T.Default=1]="Default",T))(),se=(()=>{return(e=se||(se={}))[e.Emulated=0]="Emulated",e[e.None=2]="None",e[e.ShadowDom=3]="ShadowDom",se;var e})();const ee={},ae=[],ze=X({\u0275cmp:X}),jt=X({\u0275dir:X}),ln=X({\u0275pipe:X}),Tt=X({\u0275mod:X}),Ve=X({\u0275fac:X}),rt=X({__NG_ELEMENT_ID__:X});let On=0;function In(e){return C(()=>{const n=!0===e.standalone,r={},o={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:r,inputs:null,outputs:null,exportAs:e.exportAs||null,onPush:e.changeDetection===T.OnPush,directiveDefs:null,pipeDefs:null,standalone:n,dependencies:n&&e.dependencies||null,getStandaloneInjector:null,selectors:e.selectors||ae,viewQuery:e.viewQuery||null,features:e.features||null,data:e.data||{},encapsulation:e.encapsulation||se.Emulated,id:"c"+On++,styles:e.styles||ae,_:null,setInput:null,schemas:e.schemas||null,tView:null,findHostDirectiveDefs:null,hostDirectives:null},i=e.dependencies,a=e.features;return o.inputs=to(e.inputs,r),o.outputs=to(e.outputs),a&&a.forEach(l=>l(o)),o.directiveDefs=i?()=>("function"==typeof i?i():i).map(kn).filter(Eo):null,o.pipeDefs=i?()=>("function"==typeof i?i():i).map(Pt).filter(Eo):null,o})}function kn(e){return Ze(e)||Jt(e)}function Eo(e){return null!==e}function sr(e){return C(()=>({type:e.type,bootstrap:e.bootstrap||ae,declarations:e.declarations||ae,imports:e.imports||ae,exports:e.exports||ae,transitiveCompileScopes:null,schemas:e.schemas||null,id:e.id||null}))}function to(e,t){if(null==e)return ee;const n={};for(const r in e)if(e.hasOwnProperty(r)){let o=e[r],i=o;Array.isArray(o)&&(i=o[1],o=o[0]),n[o]=r,t&&(t[o]=i)}return n}const So=In;function Qo(e){return{type:e.type,name:e.name,factory:null,pure:!1!==e.pure,standalone:!0===e.standalone,onDestroy:e.type.prototype.ngOnDestroy||null}}function Ze(e){return e[ze]||null}function Jt(e){return e[jt]||null}function Pt(e){return e[ln]||null}function Cr(e){const t=Ze(e)||Jt(e)||Pt(e);return null!==t&&t.standalone}function Ot(e,t){const n=e[Tt]||null;if(!n&&!0===t)throw new Error(`Type ${oe(e)} does not have '\u0275mod' property.`);return n}function Mt(e){return Array.isArray(e)&&"object"==typeof e[1]}function Ut(e){return Array.isArray(e)&&!0===e[1]}function Ir(e){return 0!=(4&e.flags)}function $r(e){return e.componentOffset>-1}function Ao(e){return 1==(1&e.flags)}function Mn(e){return null!==e.template}function Xo(e){return 0!=(256&e[2])}function yn(e,t){return e.hasOwnProperty(Ve)?e[Ve]:null}class Zs{constructor(t,n,r){this.previousValue=t,this.currentValue=n,this.firstChange=r}isFirstChange(){return this.firstChange}}function ur(){return ei}function ei(e){return e.type.prototype.ngOnChanges&&(e.setInput=ao),os}function os(){const e=Mr(this),t=e?.current;if(t){const n=e.previous;if(n===ee)e.previous=t;else for(let r in t)n[r]=t[r];e.current=null,this.ngOnChanges(t)}}function ao(e,t,n,r){const o=this.declaredInputs[n],i=Mr(e)||function Si(e,t){return e[ti]=t}(e,{previous:ee,current:null}),a=i.current||(i.current={}),l=i.previous,m=l[o];a[o]=new Zs(m&&m.currentValue,t,l===ee),e[r]=t}ur.ngInherit=!0;const ti="__ngSimpleChanges__";function Mr(e){return e[ti]||null}function Gt(e){for(;Array.isArray(e);)e=e[0];return e}function dn(e,t){return Gt(t[e.index])}function ni(e,t){return e.data[t]}function lo(e,t){return e[t]}function Wt(e,t){const n=t[e];return Mt(n)?n:n[0]}function Vr(e){return 64==(64&e[2])}function lr(e,t){return null==t?null:e[t]}function fo(e){e[18]=0}function Ct(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 Oe={lFrame:cs(null),bindingsEnabled:!0};function xi(){return Oe.bindingsEnabled}function Y(){return Oe.lFrame.lView}function Be(){return Oe.lFrame.tView}function Ft(){let e=Ar();for(;null!==e&&64===e.type;)e=e.parent;return e}function Ar(){return Oe.lFrame.currentTNode}function Qn(e,t){const n=Oe.lFrame;n.currentTNode=e,n.isParent=t}function Oo(){return Oe.lFrame.isParent}function Jn(){Oe.lFrame.isParent=!1}function dt(){const e=Oe.lFrame;let t=e.bindingRootIndex;return-1===t&&(t=e.bindingRootIndex=e.tView.bindingStartIndex),t}function po(){return Oe.lFrame.bindingIndex++}function ri(e,t){const n=Oe.lFrame;n.bindingIndex=n.bindingRootIndex=e,Ni(t)}function Ni(e){Oe.lFrame.currentDirectiveIndex=e}function go(){return Oe.lFrame.currentQueryIndex}function xr(e){Oe.lFrame.currentQueryIndex=e}function us(e){const t=e[1];return 2===t.type?t.declTNode:1===t.type?e[6]:null}function Fi(e,t,n){if(n&ie.SkipSelf){let o=t,i=e;for(;!(o=o.parent,null!==o||n&ie.Host||(o=us(i),null===o||(i=i[15],10&o.type))););if(null===o)return!1;t=o,e=i}const r=Oe.lFrame=ki();return r.currentTNode=t,r.lView=e,!0}function Li(e){const t=ki(),n=e[1];Oe.lFrame=t,t.currentTNode=n.firstChild,t.lView=e,t.tView=n,t.contextLView=e,t.bindingIndex=n.bindingStartIndex,t.inI18n=!1}function ki(){const e=Oe.lFrame,t=null===e?null:e.child;return null===t?cs(e):t}function cs(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 ji(){const e=Oe.lFrame;return Oe.lFrame=e.parent,e.currentTNode=null,e.lView=null,e}const ls=ji;function Ui(){const e=ji();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 f(){return Oe.lFrame.selectedIndex}function D(e){Oe.lFrame.selectedIndex=e}function p(){const e=Oe.lFrame;return ni(e.tView,e.selectedIndex)}function He(e,t){for(let n=t.directiveStart,r=t.directiveEnd;n=r)break}else t[m]<0&&(e[18]+=65536),(l>11>16&&(3&e[2])===t){e[2]+=2048;try{i.call(l)}finally{}}}else try{i.call(l)}finally{}}class an{constructor(t,n,r){this.factory=t,this.resolving=!1,this.canSeeViewProviders=n,this.injectImpl=r}}function fs(e,t,n){let r=0;for(;rt){a=i-1;break}}}for(;i>16}(e),r=t;for(;n>0;)r=r[15],n--;return r}let gs=!0;function Lo(e){const t=gs;return gs=e,t}let qa=0;const fr={};function si(e,t){const n=Vi(e,t);if(-1!==n)return n;const r=t[1];r.firstCreatePass&&(e.injectorIndex=t.length,ai(r.data,e),ai(t,null),ai(r.blueprint,null));const o=zi(e,t),i=e.injectorIndex;if(ps(o)){const a=$i(o),l=ii(o,t),m=l[1].data;for(let v=0;v<8;v++)t[i+v]=l[a+v]|m[a+v]}return t[i+8]=o,i}function ai(e,t){e.push(0,0,0,0,0,0,0,0,t)}function Vi(e,t){return-1===e.injectorIndex||e.parent&&e.parent.injectorIndex===e.injectorIndex||null===t[e.injectorIndex+8]?-1:e.injectorIndex}function zi(e,t){if(e.parent&&-1!==e.parent.injectorIndex)return e.parent.injectorIndex;let n=0,r=null,o=t;for(;null!==o;){if(r=_s(o),null===r)return-1;if(n++,o=o[15],-1!==r.injectorIndex)return r.injectorIndex|n<<16}return-1}function Gi(e,t,n){!function Za(e,t,n){let r;"string"==typeof n?r=n.charCodeAt(0)||0:n.hasOwnProperty(rt)&&(r=n[rt]),null==r&&(r=n[rt]=qa++);const o=255&r;t.data[e+(o>>5)]|=1<=0?255&t:Qa:t}(n);if("function"==typeof i){if(!Fi(t,e,r))return r&ie.Host?jo(o,0,r):ua(t,n,r,o);try{const a=i(r);if(null!=a||r&ie.Optional)return a;Lt()}finally{ls()}}else if("number"==typeof i){let a=null,l=Vi(e,t),m=-1,v=r&ie.Host?t[16][6]:null;for((-1===l||r&ie.SkipSelf)&&(m=-1===l?zi(e,t):t[l+8],-1!==m&&da(r,!1)?(a=t[1],l=$i(m),t=ii(m,t)):l=-1);-1!==l;){const I=t[1];if(la(i,l,I.data)){const R=vs(l,t,n,a,r,v);if(R!==fr)return R}m=t[l+8],-1!==m&&da(r,t[1].data[l+8]===v)&&la(i,l,t)?(a=I,l=$i(m),t=ii(m,t)):l=-1}}return o}function vs(e,t,n,r,o,i){const a=t[1],l=a.data[e+8],I=ui(l,a,n,null==r?$r(l)&&gs:r!=a&&0!=(3&l.type),o&ie.Host&&i===l);return null!==I?Gr(t,a,I,l):fr}function ui(e,t,n,r,o){const i=e.providerIndexes,a=t.data,l=1048575&i,m=e.directiveStart,I=i>>20,F=o?l+I:e.directiveEnd;for(let U=r?l:l+I;U=m&&W.type===n)return U}if(o){const U=a[m];if(U&&Mn(U)&&U.type===n)return m}return null}function Gr(e,t,n,r){let o=e[n];const i=t.data;if(function Pr(e){return e instanceof an}(o)){const a=o;a.resolving&&function Ne(e,t){const n=t?`. Dependency path: ${t.join(" > ")} > ${e}`:"";throw new Se(-200,`Circular dependency in DI detected for ${e}${n}`)}(function ye(e){return"function"==typeof e?e.name||e.toString():"object"==typeof e&&null!=e&&"function"==typeof e.type?e.type.name||e.type.toString():ge(e)}(i[n]));const l=Lo(a.canSeeViewProviders);a.resolving=!0;const m=a.injectImpl?Ye(a.injectImpl):null;Fi(e,r,ie.Default);try{o=e[n]=a.factory(void 0,i,e,r),t.firstCreatePass&&n>=r.directiveStart&&function Xe(e,t,n){const{ngOnChanges:r,ngOnInit:o,ngDoCheck:i}=t.type.prototype;if(r){const a=ei(t);(n.preOrderHooks||(n.preOrderHooks=[])).push(e,a),(n.preOrderCheckHooks||(n.preOrderCheckHooks=[])).push(e,a)}o&&(n.preOrderHooks||(n.preOrderHooks=[])).push(0-e,o),i&&((n.preOrderHooks||(n.preOrderHooks=[])).push(e,i),(n.preOrderCheckHooks||(n.preOrderCheckHooks=[])).push(e,i))}(n,i[n],t)}finally{null!==m&&Ye(m),Lo(l),a.resolving=!1,ls()}}return o}function la(e,t,n){return!!(n[t+(e>>5)]&1<{const t=e.prototype.constructor,n=t[Ve]||Ds(t),r=Object.prototype;let o=Object.getPrototypeOf(e.prototype).constructor;for(;o&&o!==r;){const i=o[Ve]||Ds(o);if(i&&i!==n)return i;o=Object.getPrototypeOf(o)}return i=>new i})}function Ds(e){return rn(e)?()=>{const t=Ds(le(e));return t&&t()}:yn(e)}function _s(e){const t=e[1],n=t.type;return 2===n?t.declTNode:1===n?e[6]:null}function Cs(e){return function ko(e,t){if("class"===t)return e.classes;if("style"===t)return e.styles;const n=e.attrs;if(n){const r=n.length;let o=0;for(;o{const r=function bs(e){return function(...n){if(e){const r=e(...n);for(const o in r)this[o]=r[o]}}}(t);function o(...i){if(this instanceof o)return r.apply(this,i),this;const a=new o(...i);return l.annotation=a,l;function l(m,v,I){const R=m.hasOwnProperty(Ho)?m[Ho]:Object.defineProperty(m,Ho,{value:[]})[Ho];for(;R.length<=I;)R.push(null);return(R[I]=R[I]||[]).push(a),m}}return n&&(o.prototype=Object.create(n.prototype)),o.prototype.ngMetadataName=e,o.annotationCls=o,o})}class ft{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=tt({token:this,providedIn:n.providedIn||"root",factory:n.factory}))}get multi(){return this}toString(){return`InjectionToken ${this._desc}`}}function Fr(e,t){e.forEach(n=>Array.isArray(n)?Fr(n,t):t(n))}function ws(e,t,n){t>=e.length?e.push(n):e.splice(t,0,n)}function fi(e,t){return t>=e.length-1?e.pop():e.splice(t,1)[0]}const c=sn(Nr("Optional"),8),d=sn(Nr("SkipSelf"),4);var er=(()=>((er=er||{})[er.Important=1]="Important",er[er.DashCase=2]="DashCase",er))();const ec=new Map;let tf=0;const fu="__ngContext__";function xn(e,t){Mt(t)?(e[fu]=t[20],function sl(e){ec.set(e[20],e)}(t)):e[fu]=t}function _a(e,t){return undefined(e,t)}function Ca(e){const t=e[3];return Ut(t)?t[3]:t}function mi(e){return dc(e[13])}function xs(e){return dc(e[4])}function dc(e){for(;null!==e&&!Ut(e);)e=e[4];return e}function Zi(e,t,n,r,o){if(null!=r){let i,a=!1;Ut(r)?i=r:Mt(r)&&(a=!0,r=r[0]);const l=Gt(r);0===e&&null!==n?null==o?pn(t,n,l):hn(t,n,l,o||null,!0):1===e&&null!==n?hn(t,n,l,o||null,!0):2===e?function hl(e,t,n){const r=Lr(e,t);r&&function gr(e,t,n,r){e.removeChild(t,n,r)}(e,r,t,n)}(t,l,a):3===e&&t.destroyNode(l),null!=i&&function Nm(e,t,n,r,o){const i=n[7];i!==Gt(n)&&Zi(t,e,r,i,o);for(let l=10;l0&&(e[n-1][4]=r[4]);const i=fi(e,10+t);!function rf(e,t){gu(e,t,t[11],2,null,null),t[0]=null,t[6]=null}(r[1],r);const a=i[19];null!==a&&a.detachView(i[1]),r[3]=null,r[4]=null,r[2]&=-65}return r}function de(e,t){if(!(128&t[2])){const n=t[11];n.destroyNode&&gu(e,t,n,3,null,null),function h(e){let t=e[13];if(!t)return Re(e[1],e);for(;t;){let n=null;if(Mt(t))n=t[13];else{const r=t[10];r&&(n=r)}if(!n){for(;t&&!t[4]&&t!==e;)Mt(t)&&Re(t[1],t),t=t[3];null===t&&(t=e),Mt(t)&&Re(t[1],t),n=t&&t[4]}t=n}}(t)}}function Re(e,t){if(!(128&t[2])){t[2]&=-65,t[2]|=128,function tn(e,t){let n;if(null!=e&&null!=(n=e.destroyHooks))for(let r=0;r=0?r[o=a]():r[o=-a].unsubscribe(),i+=2}else{const a=r[o=n[i+1]];n[i].call(a)}if(null!==r){for(let i=o+1;i-1){const{encapsulation:i}=e.data[r.directiveStart+o];if(i===se.None||i===se.Emulated)return null}return dn(r,n)}}(e,t.parent,n)}function hn(e,t,n,r,o){e.insertBefore(t,n,r,o)}function pn(e,t,n){e.appendChild(t,n)}function Kr(e,t,n,r,o){null!==r?hn(e,t,n,r,o):pn(e,t,n)}function Lr(e,t){return e.parentNode(t)}let ml,yc,Ps=function pu(e,t,n){return 40&e.type?dn(e,n):null};function pc(e,t,n,r){const o=gt(e,r,t),i=t[11],l=function Go(e,t,n){return Ps(e,t,n)}(r.parent||t[6],r,t);if(null!=o)if(Array.isArray(n))for(let m=0;me,createScript:e=>e,createScriptURL:e=>e})}catch{}return yc}()?.createScriptURL(e)||e}class mf{constructor(t){this.changingThisBreaksApplicationSecurity=t}toString(){return`SafeValue must use [property]=binding: ${this.changingThisBreaksApplicationSecurity} (see ${qt})`}}function Ji(e){return e instanceof mf?e.changingThisBreaksApplicationSecurity:e}function mu(e,t){const n=function Wm(e){return e instanceof mf&&e.getTypeName()||null}(e);if(null!=n&&n!==t){if("ResourceURL"===n&&"URL"===t)return!0;throw new Error(`Required a safe ${t}, got a ${n} (see ${qt})`)}return n===t}const Zm=/^(?:(?:https?|mailto|data|ftp|tel|file|sms):|[^&:/?#]*(?:[/?#]|$))/gi;var gn=(()=>((gn=gn||{})[gn.NONE=0]="NONE",gn[gn.HTML=1]="HTML",gn[gn.STYLE=2]="STYLE",gn[gn.SCRIPT=3]="SCRIPT",gn[gn.URL=4]="URL",gn[gn.RESOURCE_URL=5]="RESOURCE_URL",gn))();function bl(e){const t=vu();return t?t.sanitize(gn.URL,e)||"":mu(e,"URL")?Ji(e):function vl(e){return(e=String(e)).match(Zm)?e:"unsafe:"+e}(ge(e))}function Ef(e){const t=vu();if(t)return gf(t.sanitize(gn.RESOURCE_URL,e)||"");if(mu(e,"ResourceURL"))return gf(Ji(e));throw new Se(904,!1)}function wf(e,t,n){return function uy(e,t){return"src"===t&&("embed"===e||"frame"===e||"iframe"===e||"media"===e||"script"===e)||"href"===t&&("base"===e||"link"===e)?Ef:bl}(t,n)(e)}function vu(){const e=Y();return e&&e[12]}const El=new ft("ENVIRONMENT_INITIALIZER"),Sf=new ft("INJECTOR",-1),If=new ft("INJECTOR_DEF_TYPES");class Tf{get(t,n=ve){if(n===ve){const r=new Error(`NullInjectorError: No provider for ${oe(t)}!`);throw r.name="NullInjectorError",r}return n}}function cy(e){return{\u0275providers:e}}function ly(...e){return{\u0275providers:Mf(0,e),\u0275fromNgModule:!0}}function Mf(e,...t){const n=[],r=new Set;let o;return Fr(t,i=>{const a=i;wl(a,n,[],r)&&(o||(o=[]),o.push(a))}),void 0!==o&&Af(o,n),n}function Af(e,t){for(let n=0;n{t.push(i)})}}function wl(e,t,n,r){if(!(e=le(e)))return!1;let o=null,i=Ur(e);const a=!i&&Ze(e);if(i||a){if(a&&!a.standalone)return!1;o=e}else{const m=e.ngModule;if(i=Ur(m),!i)return!1;o=m}const l=r.has(o);if(a){if(l)return!1;if(r.add(o),a.dependencies){const m="function"==typeof a.dependencies?a.dependencies():a.dependencies;for(const v of m)wl(v,t,n,r)}}else{if(!i)return!1;{if(null!=i.imports&&!l){let v;r.add(o);try{Fr(i.imports,I=>{wl(I,t,n,r)&&(v||(v=[]),v.push(I))})}finally{}void 0!==v&&Af(v,t)}if(!l){const v=yn(o)||(()=>new o);t.push({provide:o,useFactory:v,deps:ae},{provide:If,useValue:o,multi:!0},{provide:El,useValue:()=>_t(o),multi:!0})}const m=i.providers;null==m||l||Sl(m,I=>{t.push(I)})}}return o!==e&&void 0!==e.providers}function Sl(e,t){for(let n of e)cn(n)&&(n=n.\u0275providers),Array.isArray(n)?Sl(n,t):t(n)}const dy=X({provide:String,useValue:X});function Il(e){return null!==e&&"object"==typeof e&&dy in e}function Ns(e){return"function"==typeof e}const Tl=new ft("Set Injector scope."),Dc={},hy={};let Ml;function _c(){return void 0===Ml&&(Ml=new Tf),Ml}class Fs{}class Pf extends Fs{constructor(t,n,r,o){super(),this.parent=n,this.source=r,this.scopes=o,this.records=new Map,this._ngOnDestroyHooks=new Set,this._onDestroyHooks=[],this._destroyed=!1,Rl(t,a=>this.processProvider(a)),this.records.set(Sf,Ea(void 0,this)),o.has("environment")&&this.records.set(Fs,Ea(void 0,this));const i=this.records.get(Tl);null!=i&&"string"==typeof i.value&&this.scopes.add(i.value),this.injectorDefTypes=new Set(this.get(If.multi,ae,ie.Self))}get destroyed(){return this._destroyed}destroy(){this.assertNotDestroyed(),this._destroyed=!0;try{for(const t of this._ngOnDestroyHooks)t.ngOnDestroy();for(const t of this._onDestroyHooks)t()}finally{this.records.clear(),this._ngOnDestroyHooks.clear(),this.injectorDefTypes.clear(),this._onDestroyHooks.length=0}}onDestroy(t){this._onDestroyHooks.push(t)}runInContext(t){this.assertNotDestroyed();const n=Sn(this),r=Ye(void 0);try{return t()}finally{Sn(n),Ye(r)}}get(t,n=ve,r=ie.Default){this.assertNotDestroyed(),r=Pn(r);const o=Sn(this),i=Ye(void 0);try{if(!(r&ie.SkipSelf)){let l=this.records.get(t);if(void 0===l){const m=function vy(e){return"function"==typeof e||"object"==typeof e&&e instanceof ft}(t)&&ut(t);l=m&&this.injectableDefInScope(m)?Ea(Al(t),Dc):null,this.records.set(t,l)}if(null!=l)return this.hydrate(t,l)}return(r&ie.Self?_c():this.parent).get(t,n=r&ie.Optional&&n===ve?null:n)}catch(a){if("NullInjectorError"===a.name){if((a[ir]=a[ir]||[]).unshift(oe(t)),o)throw a;return function $(e,t,n,r){const o=e[ir];throw t[Qt]&&o.unshift(t[Qt]),e.message=function b(e,t,n,r=null){e=e&&"\n"===e.charAt(0)&&"\u0275"==e.charAt(1)?e.slice(2):e;let o=oe(t);if(Array.isArray(t))o=t.map(oe).join(" -> ");else if("object"==typeof t){let i=[];for(let a in t)if(t.hasOwnProperty(a)){let l=t[a];i.push(a+":"+("string"==typeof l?JSON.stringify(l):oe(l)))}o=`{${i.join(", ")}}`}return`${n}${r?"("+r+")":""}[${o}]: ${e.replace(Co,"\n ")}`}("\n"+e.message,o,n,r),e.ngTokenPath=o,e[ir]=null,e}(a,t,"R3InjectorError",this.source)}throw a}finally{Ye(i),Sn(o)}}resolveInjectorInitializers(){const t=Sn(this),n=Ye(void 0);try{const r=this.get(El.multi,ae,ie.Self);for(const o of r)o()}finally{Sn(t),Ye(n)}}toString(){const t=[],n=this.records;for(const r of n.keys())t.push(oe(r));return`R3Injector[${t.join(", ")}]`}assertNotDestroyed(){if(this._destroyed)throw new Se(205,!1)}processProvider(t){let n=Ns(t=le(t))?t:le(t&&t.provide);const r=function gy(e){return Il(e)?Ea(void 0,e.useValue):Ea(function Of(e,t,n){let r;if(Ns(e)){const o=le(e);return yn(o)||Al(o)}if(Il(e))r=()=>le(e.useValue);else if(function xf(e){return!(!e||!e.useFactory)}(e))r=()=>e.useFactory(...Kn(e.deps||[]));else if(function Rf(e){return!(!e||!e.useExisting)}(e))r=()=>_t(le(e.useExisting));else{const o=le(e&&(e.useClass||e.provide));if(!function my(e){return!!e.deps}(e))return yn(o)||Al(o);r=()=>new o(...Kn(e.deps))}return r}(e),Dc)}(t);if(Ns(t)||!0!==t.multi)this.records.get(n);else{let o=this.records.get(n);o||(o=Ea(void 0,Dc,!0),o.factory=()=>Kn(o.multi),this.records.set(n,o)),n=t,o.multi.push(t)}this.records.set(n,r)}hydrate(t,n){return n.value===Dc&&(n.value=hy,n.value=n.factory()),"object"==typeof n.value&&n.value&&function yy(e){return null!==e&&"object"==typeof e&&"function"==typeof e.ngOnDestroy}(n.value)&&this._ngOnDestroyHooks.add(n.value),n.value}injectableDefInScope(t){if(!t.providedIn)return!1;const n=le(t.providedIn);return"string"==typeof n?"any"===n||this.scopes.has(n):this.injectorDefTypes.has(n)}}function Al(e){const t=ut(e),n=null!==t?t.factory:yn(e);if(null!==n)return n;if(e instanceof ft)throw new Se(204,!1);if(e instanceof Function)return function py(e){const t=e.length;if(t>0)throw function hi(e,t){const n=[];for(let r=0;rn.factory(e):()=>new e}(e);throw new Se(204,!1)}function Ea(e,t,n=!1){return{factory:e,value:t,multi:n?[]:void 0}}function Rl(e,t){for(const n of e)Array.isArray(n)?Rl(n,t):n&&cn(n)?Rl(n.\u0275providers,t):t(n)}class Dy{}class Nf{}class Cy{resolveComponentFactory(t){throw function _y(e){const t=Error(`No component factory found for ${oe(e)}. Did you add it to @NgModule.entryComponents?`);return t.ngComponent=e,t}(t)}}let Du=(()=>{class e{}return e.NULL=new Cy,e})();function by(){return wa(Ft(),Y())}function wa(e,t){return new _u(dn(e,t))}let _u=(()=>{class e{constructor(n){this.nativeElement=n}}return e.__NG_ELEMENT_ID__=by,e})();function Ey(e){return e instanceof _u?e.nativeElement:e}class Lf{}let wy=(()=>{class e{}return e.__NG_ELEMENT_ID__=()=>function Sy(){const e=Y(),n=Wt(Ft().index,e);return(Mt(n)?n:e)[11]}(),e})(),Iy=(()=>{class e{}return e.\u0275prov=tt({token:e,providedIn:"root",factory:()=>null}),e})();class kf{constructor(t){this.full=t,this.major=t.split(".")[0],this.minor=t.split(".")[1],this.patch=t.split(".").slice(2).join(".")}}const Ty=new kf("15.0.4"),xl={};function Ol(e){return e.ngOriginalError}class Cu{constructor(){this._console=console}handleError(t){const n=this._findOriginalError(t);this._console.error("ERROR",t),n&&this._console.error("ORIGINAL ERROR",n)}_findOriginalError(t){let n=t&&Ol(t);for(;n&&Ol(n);)n=Ol(n);return n||null}}function Di(e){return e instanceof Function?e():e}function Uf(e,t,n){let r=e.length;for(;;){const o=e.indexOf(t,n);if(-1===o)return o;if(0===o||e.charCodeAt(o-1)<=32){const i=t.length;if(o+i===r||e.charCodeAt(o+i)<=32)return o}n=o+1}}const Bf="ng-template";function jy(e,t,n){let r=0;for(;ri?"":o[R+1].toLowerCase();const U=8&r?F:null;if(U&&-1!==Uf(U,v,0)||2&r&&v!==F){if(mo(r))return!1;a=!0}}}}else{if(!a&&!mo(r)&&!mo(m))return!1;if(a&&mo(m))continue;a=!1,r=m|1&r}}return mo(r)||a}function mo(e){return 0==(1&e)}function Hy(e,t,n,r){if(null===t)return-1;let o=0;if(r||!n){let i=!1;for(;o-1)for(n++;n0?'="'+l+'"':"")+"]"}else 8&r?o+="."+a:4&r&&(o+=" "+a);else""!==o&&!mo(a)&&(t+=Vf(i,o),o=""),r=a,i=i||!mo(r);n++}return""!==o&&(t+=Vf(i,o)),t}const Ue={};function zf(e){Gf(Be(),Y(),f()+e,!1)}function Gf(e,t,n,r){if(!r)if(3==(3&t[2])){const i=e.preOrderCheckHooks;null!==i&&Ge(t,i,n)}else{const i=e.preOrderHooks;null!==i&&ke(t,i,0,n)}D(n)}function qf(e,t=null,n=null,r){const o=Zf(e,t,n,r);return o.resolveInjectorInitializers(),o}function Zf(e,t=null,n=null,r,o=new Set){const i=[n||ae,ly(e)];return r=r||("object"==typeof e?void 0:oe(e)),new Pf(i,t||_c(),r||null,o)}let Ls=(()=>{class e{static create(n,r){if(Array.isArray(n))return qf({name:""},r,n,"");{const o=n.name??"";return qf({name:o},n.parent,n.providers,o)}}}return e.THROW_IF_NOT_FOUND=ve,e.NULL=new Tf,e.\u0275prov=tt({token:e,providedIn:"any",factory:()=>_t(Sf)}),e.__NG_ELEMENT_ID__=-1,e})();function Ta(e,t=ie.Default){const n=Y();return null===n?_t(e,t):ms(Ft(),n,le(e),t)}function rh(){throw new Error("invalid")}function oh(e,t){const n=e.contentQueries;if(null!==n)for(let r=0;r22&&Gf(e,t,22,!1),n(r,o)}finally{D(i)}}function Bl(e,t,n){if(Ir(t)){const o=t.directiveEnd;for(let i=t.directiveStart;i0;){const n=e[--t];if("number"==typeof n&&n<0)return n}return 0})(a)!=l&&a.push(l),a.push(n,r,i)}}(e,t,r,bu(e,n,o.hostVars,Ue),o)}function Wo(e,t,n,r,o,i){const a=dn(e,t);!function Wl(e,t,n,r,o,i,a){if(null==i)e.removeAttribute(t,o,n);else{const l=null==a?ge(i):a(i,r||"",o);e.setAttribute(t,o,l,n)}}(t[11],a,i,e.value,n,r,o)}function Pv(e,t,n,r,o,i){const a=i[t];if(null!==a){const l=r.setInput;for(let m=0;m0&&Yl(n)}}function Yl(e){for(let r=mi(e);null!==r;r=xs(r))for(let o=10;o0&&Yl(i)}const n=e[1].components;if(null!==n)for(let r=0;r0&&Yl(o)}}function kv(e,t){const n=Wt(t,e),r=n[1];(function jv(e,t){for(let n=t.length;n-1&&(re(t,r),fi(n,r))}this._attachedToViewContainer=!1}de(this._lView[1],this._lView)}onDestroy(t){ah(this._lView[1],this._lView,null,t)}markForCheck(){Kl(this._cdRefInjectingView||this._lView)}detach(){this._lView[2]&=-65}reattach(){this._lView[2]|=64}detectChanges(){Sc(this._lView[1],this._lView,this.context)}checkNoChanges(){}attachToViewContainerRef(){if(this._appRef)throw new Se(902,!1);this._attachedToViewContainer=!0}detachFromAppRef(){this._appRef=null,function sf(e,t){gu(e,t,t[11],2,null,null)}(this._lView[1],this._lView)}attachToAppRef(t){if(this._attachedToViewContainer)throw new Se(902,!1);this._appRef=t}}class Uv extends Eu{constructor(t){super(t),this._view=t}detectChanges(){const t=this._view;Sc(t[1],t,t[8],!1)}checkNoChanges(){}get context(){return null}}class vh extends Du{constructor(t){super(),this.ngModule=t}resolveComponentFactory(t){const n=Ze(t);return new wu(n,this.ngModule)}}function Dh(e){const t=[];for(let n in e)e.hasOwnProperty(n)&&t.push({propName:e[n],templateName:n});return t}class Hv{constructor(t,n){this.injector=t,this.parentInjector=n}get(t,n,r){r=Pn(r);const o=this.injector.get(t,xl,r);return o!==xl||n===xl?o:this.parentInjector.get(t,n,r)}}class wu extends Nf{constructor(t,n){super(),this.componentDef=t,this.ngModule=n,this.componentType=t.type,this.selector=function Yy(e){return e.map(Wy).join(",")}(t.selectors),this.ngContentSelectors=t.ngContentSelectors?t.ngContentSelectors:[],this.isBoundToModule=!!n}get inputs(){return Dh(this.componentDef.inputs)}get outputs(){return Dh(this.componentDef.outputs)}create(t,n,r,o){let i=(o=o||this.ngModule)instanceof Fs?o:o?.injector;i&&null!==this.componentDef.getStandaloneInjector&&(i=this.componentDef.getStandaloneInjector(i)||i);const a=i?new Hv(t,i):t,l=a.get(Lf,null);if(null===l)throw new Se(407,!1);const m=a.get(Iy,null),v=l.createRenderer(null,this.componentDef),I=this.componentDef.selectors[0][0]||"div",R=r?function yv(e,t,n){return e.selectRootElement(t,n===se.ShadowDom)}(v,r,this.componentDef.encapsulation):hc(v,I,function Bv(e){const t=e.toLowerCase();return"svg"===t?"svg":"math"===t?"math":null}(I)),F=this.componentDef.onPush?288:272,U=Vl(0,null,null,1,0,null,null,null,null,null),W=bc(null,U,null,F,null,null,l,v,m,a,null);let ce,pe;Li(W);try{const Ee=this.componentDef;let xe,ne=null;Ee.findHostDirectiveDefs?(xe=[],ne=new Map,Ee.findHostDirectiveDefs(Ee,xe,ne),xe.push(Ee)):xe=[Ee];const je=function Vv(e,t){const n=e[1];return e[22]=t,Ma(n,22,2,"#host",null)}(W,R),Bt=function zv(e,t,n,r,o,i,a,l){const m=o[1];!function Gv(e,t,n,r){for(const o of e)t.mergedAttrs=oi(t.mergedAttrs,o.hostAttrs);null!==t.mergedAttrs&&(Ic(t,t.mergedAttrs,!0),null!==n&&df(r,n,t))}(r,e,t,a);const v=i.createRenderer(t,n),I=bc(o,sh(n),null,n.onPush?32:16,o[e.index],e,i,v,l||null,null,null);return m.firstCreatePass&&Gl(m,e,r.length-1),wc(o,I),o[e.index]=I}(je,R,Ee,xe,W,l,v);pe=ni(U,22),R&&function Yv(e,t,n,r){if(r)fs(e,n,["ng-version",Ty.full]);else{const{attrs:o,classes:i}=function Ky(e){const t=[],n=[];let r=1,o=2;for(;r0&&lf(e,n,i.join(" "))}}(v,Ee,R,r),void 0!==n&&function Kv(e,t,n){const r=e.projection=[];for(let o=0;oa(Gt(je[r.index])):r.index;let ne=null;if(!a&&l&&(ne=function pD(e,t,n,r){const o=e.cleanup;if(null!=o)for(let i=0;im?l[m]:null}"string"==typeof a&&(i+=2)}return null}(e,t,o,r.index)),null!==ne)(ne.__ngLastListenerFn__||ne).__ngNextListenerFn__=i,ne.__ngLastListenerFn__=i,F=!1;else{i=Hh(r,t,I,i,!1);const je=n.listen(pe,o,i);R.push(i,je),v&&v.push(o,xe,Ee,Ee+1)}}else i=Hh(r,t,I,i,!1);const U=r.outputs;let W;if(F&&null!==U&&(W=U[o])){const ce=W.length;if(ce)for(let pe=0;pe-1?Wt(e.index,t):t);let m=Bh(t,0,r,a),v=i.__ngNextListenerFn__;for(;v;)m=Bh(t,0,v,a)&&m,v=v.__ngNextListenerFn__;return o&&!1===m&&(a.preventDefault(),a.returnValue=!1),m}}function $h(e=1){return function ta(e){return(Oe.lFrame.contextLView=function ds(e,t){for(;e>0;)t=t[15],e--;return t}(e,Oe.lFrame.contextLView))[8]}(e)}function hp(e,t=""){const n=Y(),r=Be(),o=e+22,i=r.firstCreatePass?Ma(r,o,1,t,null):r.data[o],a=n[o]=function ba(e,t){return e.createText(t)}(n[11],t);pc(r,n,a,i),Qn(i,!1)}function dd(e){return Lc("",e,""),dd}function Lc(e,t,n){const r=Y(),o=function Ra(e,t,n,r){return $n(e,po(),n)?t+ge(n)+r:Ue}(r,e,t,n);return o!==Ue&&_i(r,f(),o),Lc}function fd(e,t,n,r,o){const i=Y(),a=xa(i,e,t,n,r,o);return a!==Ue&&_i(i,f(),a),fd}function hd(e,t,n){const r=Y();return $n(r,po(),t)&&kr(Be(),p(),r,e,t,r[11],n,!0),hd}const Bs=void 0;var o_=["en",[["a","p"],["AM","PM"],Bs],[["AM","PM"],Bs,Bs],[["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"]],Bs,[["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"]],Bs,[["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}",Bs,"{1} 'at' {0}",Bs],[".",",",";","%","+","-","E","\xd7","\u2030","\u221e","NaN",":"],["#,##0.###","#,##0%","\xa4#,##0.00","#E0"],"USD","$","US Dollar",{},"ltr",function r_(e){const n=Math.floor(Math.abs(e)),r=e.toString().replace(/^[^.]*\.?/,"").length;return 1===n&&0===r?1:5}];let Ua={};function pd(e){const t=function i_(e){return e.toLowerCase().replace(/_/g,"-")}(e);let n=Pp(t);if(n)return n;const r=t.split("-")[0];if(n=Pp(r),n)return n;if("en"===r)return o_;throw new Se(701,!1)}function xp(e){return pd(e)[Ae.PluralCase]}function Pp(e){return e in Ua||(Ua[e]=st.ng&&st.ng.common&&st.ng.common.locales&&st.ng.common.locales[e]),Ua[e]}var Ae=(()=>((Ae=Ae||{})[Ae.LocaleId=0]="LocaleId",Ae[Ae.DayPeriodsFormat=1]="DayPeriodsFormat",Ae[Ae.DayPeriodsStandalone=2]="DayPeriodsStandalone",Ae[Ae.DaysFormat=3]="DaysFormat",Ae[Ae.DaysStandalone=4]="DaysStandalone",Ae[Ae.MonthsFormat=5]="MonthsFormat",Ae[Ae.MonthsStandalone=6]="MonthsStandalone",Ae[Ae.Eras=7]="Eras",Ae[Ae.FirstDayOfWeek=8]="FirstDayOfWeek",Ae[Ae.WeekendRange=9]="WeekendRange",Ae[Ae.DateFormat=10]="DateFormat",Ae[Ae.TimeFormat=11]="TimeFormat",Ae[Ae.DateTimeFormat=12]="DateTimeFormat",Ae[Ae.NumberSymbols=13]="NumberSymbols",Ae[Ae.NumberFormats=14]="NumberFormats",Ae[Ae.CurrencyCode=15]="CurrencyCode",Ae[Ae.CurrencySymbol=16]="CurrencySymbol",Ae[Ae.CurrencyName=17]="CurrencyName",Ae[Ae.Currencies=18]="Currencies",Ae[Ae.Directionality=19]="Directionality",Ae[Ae.PluralCase=20]="PluralCase",Ae[Ae.ExtraData=21]="ExtraData",Ae))();const Ba="en-US";let Op=Ba;class Ha{}class ig{}function oC(e,t){return new sg(e,t??null)}class sg extends Ha{constructor(t,n){super(),this._parent=n,this._bootstrapComponents=[],this.destroyCbs=[],this.componentFactoryResolver=new vh(this);const r=Ot(t);this._bootstrapComponents=Di(r.bootstrap),this._r3Injector=Zf(t,n,[{provide:Ha,useValue:this},{provide:Du,useValue:this.componentFactoryResolver}],oe(t),new Set(["environment"])),this._r3Injector.resolveInjectorInitializers(),this.instance=this._r3Injector.get(t)}get injector(){return this._r3Injector}destroy(){const t=this._r3Injector;!t.destroyed&&t.destroy(),this.destroyCbs.forEach(n=>n()),this.destroyCbs=null}onDestroy(t){this.destroyCbs.push(t)}}class Cd extends ig{constructor(t){super(),this.moduleType=t}create(t){return new sg(this.moduleType,t)}}class iC extends Ha{constructor(t,n,r){super(),this.componentFactoryResolver=new vh(this),this.instance=null;const o=new Pf([...t,{provide:Ha,useValue:this},{provide:Du,useValue:this.componentFactoryResolver}],n||_c(),r,new Set(["environment"]));this.injector=o,o.resolveInjectorInitializers()}destroy(){this.injector.destroy()}onDestroy(t){this.injector.onDestroy(t)}}function bd(e,t,n=null){return new iC(e,t,n).injector}let sC=(()=>{class e{constructor(n){this._injector=n,this.cachedInjectors=new Map}getOrCreateStandaloneInjector(n){if(!n.standalone)return null;if(!this.cachedInjectors.has(n.id)){const r=Mf(0,n.type),o=r.length>0?bd([r],this._injector,`Standalone[${n.type.name}]`):null;this.cachedInjectors.set(n.id,o)}return this.cachedInjectors.get(n.id)}ngOnDestroy(){try{for(const n of this.cachedInjectors.values())null!==n&&n.destroy()}finally{this.cachedInjectors.clear()}}}return e.\u0275prov=tt({token:e,providedIn:"environment",factory:()=>new e(_t(Fs))}),e})();function ag(e){e.getStandaloneInjector=t=>t.get(sC).getOrCreateStandaloneInjector(e)}function pg(e,t,n){const r=dt()+e,o=Y();return o[r]===Ue?Yo(o,r,n?t.call(n):t()):function Iu(e,t){return e[t]}(o,r)}function gg(e,t,n,r){return vg(Y(),dt(),e,t,n,r)}function mg(e,t,n,r,o){return Dg(Y(),dt(),e,t,n,r,o)}function yg(e,t,n,r,o,i){return function _g(e,t,n,r,o,i,a,l){const m=t+n;return function Ac(e,t,n,r,o){const i=js(e,t,n,r);return $n(e,t+2,o)||i}(e,m,o,i,a)?Yo(e,m+3,l?r.call(l,o,i,a):r(o,i,a)):Ou(e,m+3)}(Y(),dt(),e,t,n,r,o,i)}function Ou(e,t){const n=e[t];return n===Ue?void 0:n}function vg(e,t,n,r,o,i){const a=t+n;return $n(e,a,o)?Yo(e,a+1,i?r.call(i,o):r(o)):Ou(e,a+1)}function Dg(e,t,n,r,o,i,a){const l=t+n;return js(e,l,o,i)?Yo(e,l+2,a?r.call(a,o,i):r(o,i)):Ou(e,l+2)}function Eg(e,t){const n=Be();let r;const o=e+22;n.firstCreatePass?(r=function CC(e,t){if(t)for(let n=t.length-1;n>=0;n--){const r=t[n];if(e===r.name)return r}}(t,n.pipeRegistry),n.data[o]=r,r.onDestroy&&(n.destroyHooks||(n.destroyHooks=[])).push(o,r.onDestroy)):r=n.data[o];const i=r.factory||(r.factory=yn(r.type)),a=Ye(Ta);try{const l=Lo(!1),m=i();return Lo(l),function lD(e,t,n,r){n>=e.data.length&&(e.data[n]=null,e.blueprint[n]=null),t[n]=r}(n,Y(),o,m),m}finally{Ye(a)}}function wg(e,t,n){const r=e+22,o=Y(),i=lo(o,r);return Nu(o,r)?vg(o,dt(),t,i.transform,n,i):i.transform(n)}function Sg(e,t,n,r){const o=e+22,i=Y(),a=lo(i,o);return Nu(i,o)?Dg(i,dt(),t,a.transform,n,r,a):a.transform(n,r)}function Nu(e,t){return e[1].data[t].pure}function wd(e){return t=>{setTimeout(e,void 0,t)}}const Zo=class SC extends g.xQ{constructor(t=!1){super(),this.__isAsync=t}emit(t){super.next(t)}subscribe(t,n,r){let o=t,i=n||(()=>null),a=r;if(t&&"object"==typeof t){const m=t;o=m.next?.bind(m),i=m.error?.bind(m),a=m.complete?.bind(m)}this.__isAsync&&(i=wd(i),o&&(o=wd(o)),a&&(a=wd(a)));const l=super.subscribe({next:o,error:i,complete:a});return t instanceof A.w&&t.add(l),l}};function IC(){return this._results[ks()]()}class Sd{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=ks(),r=Sd.prototype;r[n]||(r[n]=IC)}get changes(){return this._changes||(this._changes=new Zo)}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 o=function vn(e){return e.flat(Number.POSITIVE_INFINITY)}(t);(this._changesDetected=!function pa(e,t,n){if(e.length!==t.length)return!1;for(let r=0;r{class e{}return e.__NG_ELEMENT_ID__=AC,e})();const TC=Fu,MC=class extends TC{constructor(t,n,r){super(),this._declarationLView=t,this._declarationTContainer=n,this.elementRef=r}createEmbeddedView(t,n){const r=this._declarationTContainer.tViews,o=bc(this._declarationLView,r,t,16,null,r.declTNode,null,null,null,null,n||null);o[17]=this._declarationLView[this._declarationTContainer.index];const a=this._declarationLView[19];return null!==a&&(o[19]=a.createEmbeddedView(r)),Ul(r,o,t),new Eu(o)}};function AC(){return Hc(Ft(),Y())}function Hc(e,t){return 4&e.type?new MC(t,e,wa(e,t)):null}let $c=(()=>{class e{}return e.__NG_ELEMENT_ID__=RC,e})();function RC(){return Mg(Ft(),Y())}const xC=$c,Ig=class extends xC{constructor(t,n,r){super(),this._lContainer=t,this._hostTNode=n,this._hostLView=r}get element(){return wa(this._hostTNode,this._hostLView)}get injector(){return new Uo(this._hostTNode,this._hostLView)}get parentInjector(){const t=zi(this._hostTNode,this._hostLView);if(ps(t)){const n=ii(t,this._hostLView),r=$i(t);return new Uo(n[1].data[r+8],n)}return new Uo(null,this._hostLView)}clear(){for(;this.length>0;)this.remove(this.length-1)}get(t){const n=Tg(this._lContainer);return null!==n&&n[t]||null}get length(){return this._lContainer.length-10}createEmbeddedView(t,n,r){let o,i;"number"==typeof r?o=r:null!=r&&(o=r.index,i=r.injector);const a=t.createEmbeddedView(n||{},i);return this.insert(a,o),a}createComponent(t,n,r,o,i){const a=t&&!function Wr(e){return"function"==typeof e}(t);let l;if(a)l=n;else{const R=n||{};l=R.index,r=R.injector,o=R.projectableNodes,i=R.environmentInjector||R.ngModuleRef}const m=a?t:new wu(Ze(t)),v=r||this.parentInjector;if(!i&&null==m.ngModule){const F=(a?v:this.parentInjector).get(Fs,null);F&&(i=F)}const I=m.create(v,o,void 0,i);return this.insert(I.hostView,l),I}insert(t,n){const r=t._lView,o=r[1];if(function Ai(e){return Ut(e[3])}(r)){const I=this.indexOf(t);if(-1!==I)this.detach(I);else{const R=r[3],F=new Ig(R,R[6],R[3]);F.detach(F.indexOf(t))}}const i=this._adjustIndex(n),a=this._lContainer;!function E(e,t,n,r){const o=10+r,i=n.length;r>0&&(n[o-1][4]=t),r0)r.push(a[l/2]);else{const v=i[l+1],I=t[-m];for(let R=10;R{class e{constructor(n){this.appInits=n,this.resolve=zc,this.reject=zc,this.initialized=!1,this.done=!1,this.donePromise=new Promise((r,o)=>{this.resolve=r,this.reject=o})}runInitializers(){if(this.initialized)return;const n=[],r=()=>{this.done=!0,this.resolve()};if(this.appInits)for(let o=0;o{i.subscribe({complete:l,error:m})});n.push(a)}}Promise.all(n).then(()=>{r()}).catch(o=>{this.reject(o)}),0===n.length&&r(),this.initialized=!0}}return e.\u0275fac=function(n){return new(n||e)(_t(nm,8))},e.\u0275prov=tt({token:e,factory:e.\u0275fac,providedIn:"root"}),e})();const rm=new ft("AppId",{providedIn:"root",factory:function om(){return`${Ld()}${Ld()}${Ld()}`}});function Ld(){return String.fromCharCode(97+Math.floor(25*Math.random()))}const im=new ft("Platform Initializer"),ob=new ft("Platform ID",{providedIn:"platform",factory:()=>"unknown"}),sm=new ft("appBootstrapListener");let ib=(()=>{class e{log(n){console.log(n)}warn(n){console.warn(n)}}return e.\u0275fac=function(n){return new(n||e)},e.\u0275prov=tt({token:e,factory:e.\u0275fac,providedIn:"platform"}),e})();const Wc=new ft("LocaleId",{providedIn:"root",factory:()=>on(Wc,ie.Optional|ie.SkipSelf)||function sb(){return typeof $localize<"u"&&$localize.locale||Ba}()}),ab=new ft("DefaultCurrencyCode",{providedIn:"root",factory:()=>"USD"});class ub{constructor(t,n){this.ngModuleFactory=t,this.componentFactories=n}}let cb=(()=>{class e{compileModuleSync(n){return new Cd(n)}compileModuleAsync(n){return Promise.resolve(this.compileModuleSync(n))}compileModuleAndAllComponentsSync(n){const r=this.compileModuleSync(n),i=Di(Ot(n).declarations).reduce((a,l)=>{const m=Ze(l);return m&&a.push(new wu(m)),a},[]);return new ub(r,i)}compileModuleAndAllComponentsAsync(n){return Promise.resolve(this.compileModuleAndAllComponentsSync(n))}clearCache(){}clearCacheFor(n){}getModuleId(n){}}return e.\u0275fac=function(n){return new(n||e)},e.\u0275prov=tt({token:e,factory:e.\u0275fac,providedIn:"root"}),e})();const fb=(()=>Promise.resolve(0))();function kd(e){typeof Zone>"u"?fb.then(()=>{e&&e.apply(null,null)}):Zone.current.scheduleMicroTask("scheduleMicrotask",e)}class Qr{constructor({enableLongStackTrace:t=!1,shouldCoalesceEventChangeDetection:n=!1,shouldCoalesceRunChangeDetection:r=!1}){if(this.hasPendingMacrotasks=!1,this.hasPendingMicrotasks=!1,this.isStable=!0,this.onUnstable=new Zo(!1),this.onMicrotaskEmpty=new Zo(!1),this.onStable=new Zo(!1),this.onError=new Zo(!1),typeof Zone>"u")throw new Se(908,!1);Zone.assertZonePatched();const o=this;o._nesting=0,o._outer=o._inner=Zone.current,Zone.TaskTrackingZoneSpec&&(o._inner=o._inner.fork(new Zone.TaskTrackingZoneSpec)),t&&Zone.longStackTraceZoneSpec&&(o._inner=o._inner.fork(Zone.longStackTraceZoneSpec)),o.shouldCoalesceEventChangeDetection=!r&&n,o.shouldCoalesceRunChangeDetection=r,o.lastRequestAnimationFrameId=-1,o.nativeRequestAnimationFrame=function hb(){let e=st.requestAnimationFrame,t=st.cancelAnimationFrame;if(typeof Zone<"u"&&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 mb(e){const t=()=>{!function gb(e){e.isCheckStableRunning||-1!==e.lastRequestAnimationFrameId||(e.lastRequestAnimationFrameId=e.nativeRequestAnimationFrame.call(st,()=>{e.fakeTopEventTask||(e.fakeTopEventTask=Zone.root.scheduleEventTask("fakeTopEventTask",()=>{e.lastRequestAnimationFrameId=-1,Ud(e),e.isCheckStableRunning=!0,jd(e),e.isCheckStableRunning=!1},void 0,()=>{},()=>{})),e.fakeTopEventTask.invoke()}),Ud(e))}(e)};e._inner=e._inner.fork({name:"angular",properties:{isAngularZone:!0},onInvokeTask:(n,r,o,i,a,l)=>{try{return cm(e),n.invokeTask(o,i,a,l)}finally{(e.shouldCoalesceEventChangeDetection&&"eventTask"===i.type||e.shouldCoalesceRunChangeDetection)&&t(),lm(e)}},onInvoke:(n,r,o,i,a,l,m)=>{try{return cm(e),n.invoke(o,i,a,l,m)}finally{e.shouldCoalesceRunChangeDetection&&t(),lm(e)}},onHasTask:(n,r,o,i)=>{n.hasTask(o,i),r===o&&("microTask"==i.change?(e._hasPendingMicrotasks=i.microTask,Ud(e),jd(e)):"macroTask"==i.change&&(e.hasPendingMacrotasks=i.macroTask))},onHandleError:(n,r,o,i)=>(n.handleError(o,i),e.runOutsideAngular(()=>e.onError.emit(i)),!1)})}(o)}static isInAngularZone(){return typeof Zone<"u"&&!0===Zone.current.get("isAngularZone")}static assertInAngularZone(){if(!Qr.isInAngularZone())throw new Se(909,!1)}static assertNotInAngularZone(){if(Qr.isInAngularZone())throw new Se(909,!1)}run(t,n,r){return this._inner.run(t,n,r)}runTask(t,n,r,o){const i=this._inner,a=i.scheduleEventTask("NgZoneEvent: "+o,t,pb,zc,zc);try{return i.runTask(a,n,r)}finally{i.cancelTask(a)}}runGuarded(t,n,r){return this._inner.runGuarded(t,n,r)}runOutsideAngular(t){return this._outer.run(t)}}const pb={};function jd(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 Ud(e){e.hasPendingMicrotasks=!!(e._hasPendingMicrotasks||(e.shouldCoalesceEventChangeDetection||e.shouldCoalesceRunChangeDetection)&&-1!==e.lastRequestAnimationFrameId)}function cm(e){e._nesting++,e.isStable&&(e.isStable=!1,e.onUnstable.emit(null))}function lm(e){e._nesting--,jd(e)}class yb{constructor(){this.hasPendingMicrotasks=!1,this.hasPendingMacrotasks=!1,this.isStable=!0,this.onUnstable=new Zo,this.onMicrotaskEmpty=new Zo,this.onStable=new Zo,this.onError=new Zo}run(t,n,r){return t.apply(n,r)}runGuarded(t,n,r){return t.apply(n,r)}runOutsideAngular(t){return t()}runTask(t,n,r,o){return t.apply(n,r)}}const dm=new ft(""),fm=new ft("");let Bd,vb=(()=>{class e{constructor(n,r,o){this._ngZone=n,this.registry=r,this._pendingCount=0,this._isZoneStable=!0,this._didWork=!1,this._callbacks=[],this.taskTrackingZone=null,Bd||(function Db(e){Bd=e}(o),o.addToWindow(r)),this._watchAngularEvents(),n.run(()=>{this.taskTrackingZone=typeof Zone>"u"?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:()=>{Qr.assertNotInAngularZone(),kd(()=>{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())kd(()=>{for(;0!==this._callbacks.length;){let n=this._callbacks.pop();clearTimeout(n.timeoutId),n.doneCb(this._didWork)}this._didWork=!1});else{let n=this.getPendingTasks();this._callbacks=this._callbacks.filter(r=>!r.updateCb||!r.updateCb(n)||(clearTimeout(r.timeoutId),!1)),this._didWork=!0}}getPendingTasks(){return this.taskTrackingZone?this.taskTrackingZone.macroTasks.map(n=>({source:n.source,creationLocation:n.creationLocation,data:n.data})):[]}addCallback(n,r,o){let i=-1;r&&r>0&&(i=setTimeout(()=>{this._callbacks=this._callbacks.filter(a=>a.timeoutId!==i),n(this._didWork,this.getPendingTasks())},r)),this._callbacks.push({doneCb:n,timeoutId:i,updateCb:o})}whenStable(n,r,o){if(o&&!this.taskTrackingZone)throw new Error('Task tracking zone is required when passing an update callback to whenStable(). Is "zone.js/plugins/task-tracking" loaded?');this.addCallback(n,r,o),this._runCallbacksIfReady()}getPendingRequestCount(){return this._pendingCount}registerApplication(n){this.registry.registerApplication(n,this)}unregisterApplication(n){this.registry.unregisterApplication(n)}findProviders(n,r,o){return[]}}return e.\u0275fac=function(n){return new(n||e)(_t(Qr),_t(hm),_t(fm))},e.\u0275prov=tt({token:e,factory:e.\u0275fac}),e})(),hm=(()=>{class e{constructor(){this._applications=new Map}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 Bd?.findTestabilityInTree(this,n,r)??null}}return e.\u0275fac=function(n){return new(n||e)},e.\u0275prov=tt({token:e,factory:e.\u0275fac,providedIn:"platform"}),e})(),es=null;const pm=new ft("AllowMultipleToken"),Hd=new ft("PlatformDestroyListeners");class bb{constructor(t,n){this.name=t,this.token=n}}function mm(e,t,n=[]){const r=`Platform: ${t}`,o=new ft(r);return(i=[])=>{let a=$d();if(!a||a.injector.get(pm,!1)){const l=[...n,...i,{provide:o,useValue:!0}];e?e(l):function Eb(e){if(es&&!es.get(pm,!1))throw new Se(400,!1);es=e;const t=e.get(vm);(function gm(e){const t=e.get(im,null);t&&t.forEach(n=>n())})(e)}(function ym(e=[],t){return Ls.create({name:t,providers:[{provide:Tl,useValue:"platform"},{provide:Hd,useValue:new Set([()=>es=null])},...e]})}(l,r))}return function Sb(e){const t=$d();if(!t)throw new Se(401,!1);return t}()}}function $d(){return es?.get(vm)??null}let vm=(()=>{class e{constructor(n){this._injector=n,this._modules=[],this._destroyListeners=[],this._destroyed=!1}bootstrapModuleFactory(n,r){const o=function _m(e,t){let n;return n="noop"===e?new yb:("zone.js"===e?void 0:e)||new Qr(t),n}(r?.ngZone,function Dm(e){return{enableLongStackTrace:!1,shouldCoalesceEventChangeDetection:!(!e||!e.ngZoneEventCoalescing)||!1,shouldCoalesceRunChangeDetection:!(!e||!e.ngZoneRunCoalescing)||!1}}(r)),i=[{provide:Qr,useValue:o}];return o.run(()=>{const a=Ls.create({providers:i,parent:this.injector,name:n.moduleType.name}),l=n.create(a),m=l.injector.get(Cu,null);if(!m)throw new Se(402,!1);return o.runOutsideAngular(()=>{const v=o.onError.subscribe({next:I=>{m.handleError(I)}});l.onDestroy(()=>{Kc(this._modules,l),v.unsubscribe()})}),function Cm(e,t,n){try{const r=n();return od(r)?r.catch(o=>{throw t.runOutsideAngular(()=>e.handleError(o)),o}):r}catch(r){throw t.runOutsideAngular(()=>e.handleError(r)),r}}(m,o,()=>{const v=l.injector.get(Gc);return v.runInitializers(),v.donePromise.then(()=>(function Np(e){$t(e,"Expected localeId to be defined"),"string"==typeof e&&(Op=e.toLowerCase().replace(/_/g,"-"))}(l.injector.get(Wc,Ba)||Ba),this._moduleDoBootstrap(l),l))})})}bootstrapModule(n,r=[]){const o=bm({},r);return function _b(e,t,n){const r=new Cd(n);return Promise.resolve(r)}(0,0,n).then(i=>this.bootstrapModuleFactory(i,o))}_moduleDoBootstrap(n){const r=n.injector.get(Yc);if(n._bootstrapComponents.length>0)n._bootstrapComponents.forEach(o=>r.bootstrap(o));else{if(!n.instance.ngDoBootstrap)throw new Se(403,!1);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 Se(404,!1);this._modules.slice().forEach(r=>r.destroy()),this._destroyListeners.forEach(r=>r());const n=this._injector.get(Hd,null);n&&(n.forEach(r=>r()),n.clear()),this._destroyed=!0}get destroyed(){return this._destroyed}}return e.\u0275fac=function(n){return new(n||e)(_t(Ls))},e.\u0275prov=tt({token:e,factory:e.\u0275fac,providedIn:"platform"}),e})();function bm(e,t){return Array.isArray(t)?t.reduce(bm,e):{...e,...t}}let Yc=(()=>{class e{constructor(n,r,o){this._zone=n,this._injector=r,this._exceptionHandler=o,this._bootstrapListeners=[],this._views=[],this._runningTick=!1,this._stable=!0,this._destroyed=!1,this._destroyListeners=[],this.componentTypes=[],this.components=[],this._onMicrotaskEmptySubscription=this._zone.onMicrotaskEmpty.subscribe({next:()=>{this._zone.run(()=>{this.tick()})}});const i=new V.y(l=>{this._stable=this._zone.isStable&&!this._zone.hasPendingMacrotasks&&!this._zone.hasPendingMicrotasks,this._zone.runOutsideAngular(()=>{l.next(this._stable),l.complete()})}),a=new V.y(l=>{let m;this._zone.runOutsideAngular(()=>{m=this._zone.onStable.subscribe(()=>{Qr.assertNotInAngularZone(),kd(()=>{!this._stable&&!this._zone.hasPendingMacrotasks&&!this._zone.hasPendingMicrotasks&&(this._stable=!0,l.next(!0))})})});const v=this._zone.onUnstable.subscribe(()=>{Qr.assertInAngularZone(),this._stable&&(this._stable=!1,this._zone.runOutsideAngular(()=>{l.next(!1)}))});return()=>{m.unsubscribe(),v.unsubscribe()}});this.isStable=function te(...e){let t=Number.POSITIVE_INFINITY,n=null,r=e[e.length-1];return(0,ue.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 V.y?e[0]:(0,he.J)(t)((0,J.n)(e,n))}(i,a.pipe(function q(){return e=>(0,j.x)()(function z(e,t){return function(r){let o;if(o="function"==typeof e?e:function(){return e},"function"==typeof t)return r.lift(new k(o,t));const i=Object.create(r,Z.N);return i.source=r,i.subjectFactory=o,i}}(G)(e))}()))}get destroyed(){return this._destroyed}get injector(){return this._injector}bootstrap(n,r){const o=n instanceof Nf;if(!this._injector.get(Gc).done)throw!o&&Cr(n),new Se(405,false);let a;a=o?n:this._injector.get(Du).resolveComponentFactory(n),this.componentTypes.push(a.componentType);const l=function Cb(e){return e.isBoundToModule}(a)?void 0:this._injector.get(Ha),v=a.create(Ls.NULL,[],r||a.selector,l),I=v.location.nativeElement,R=v.injector.get(dm,null);return R?.registerApplication(I),v.onDestroy(()=>{this.detachView(v.hostView),Kc(this.components,v),R?.unregisterApplication(I)}),this._loadComponent(v),v}tick(){if(this._runningTick)throw new Se(101,!1);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;Kc(this._views,r),r.detachFromAppRef()}_loadComponent(n){this.attachView(n.hostView),this.tick(),this.components.push(n);const r=this._injector.get(sm,[]);r.push(...this._bootstrapListeners),r.forEach(o=>o(n))}ngOnDestroy(){if(!this._destroyed)try{this._destroyListeners.forEach(n=>n()),this._views.slice().forEach(n=>n.destroy()),this._onMicrotaskEmptySubscription.unsubscribe()}finally{this._destroyed=!0,this._views=[],this._bootstrapListeners=[],this._destroyListeners=[]}}onDestroy(n){return this._destroyListeners.push(n),()=>Kc(this._destroyListeners,n)}destroy(){if(this._destroyed)throw new Se(406,!1);const n=this._injector;n.destroy&&!n.destroyed&&n.destroy()}get viewCount(){return this._views.length}warnIfDestroyed(){}}return e.\u0275fac=function(n){return new(n||e)(_t(Qr),_t(Fs),_t(Cu))},e.\u0275prov=tt({token:e,factory:e.\u0275fac,providedIn:"root"}),e})();function Kc(e,t){const n=e.indexOf(t);n>-1&&e.splice(n,1)}function Tb(){}let Mb=(()=>{class e{}return e.__NG_ELEMENT_ID__=Ab,e})();function Ab(e){return function Rb(e,t,n){if($r(e)&&!n){const r=Wt(e.index,t);return new Eu(r,r)}return 47&e.type?new Eu(t[16],t):null}(Ft(),Y(),16==(16&e))}class Tm{constructor(){}supports(t){return Su(t)}create(t){return new Lb(t)}}const Fb=(e,t)=>t;class Lb{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||Fb}forEachItem(t){let n;for(n=this._itHead;null!==n;n=n._next)t(n)}forEachOperation(t){let n=this._itHead,r=this._removalsHead,o=0,i=null;for(;n||r;){const a=!r||n&&n.currentIndex{a=this._trackByFn(o,l),null!==n&&Object.is(n.trackById,a)?(r&&(n=this._verifyReinsertion(n,l,a,o)),Object.is(n.item,l)||this._addIdentityChange(n,l)):(n=this._mismatch(n,l,a,o),r=!0),n=n._next,o++}),this.length=o;return this._truncate(n),this.collection=t,this.isDirty}get isDirty(){return null!==this._additionsHead||null!==this._movesHead||null!==this._removalsHead||null!==this._identityChangesHead}_reset(){if(this.isDirty){let t;for(t=this._previousItHead=this._itHead;null!==t;t=t._next)t._nextPrevious=t._next;for(t=this._additionsHead;null!==t;t=t._nextAdded)t.previousIndex=t.currentIndex;for(this._additionsHead=this._additionsTail=null,t=this._movesHead;null!==t;t=t._nextMoved)t.previousIndex=t.currentIndex;this._movesHead=this._movesTail=null,this._removalsHead=this._removalsTail=null,this._identityChangesHead=this._identityChangesTail=null}}_mismatch(t,n,r,o){let i;return null===t?i=this._itTail:(i=t._prev,this._remove(t)),null!==(t=null===this._unlinkedRecords?null:this._unlinkedRecords.get(r,null))?(Object.is(t.item,n)||this._addIdentityChange(t,n),this._reinsertAfter(t,i,o)):null!==(t=null===this._linkedRecords?null:this._linkedRecords.get(r,o))?(Object.is(t.item,n)||this._addIdentityChange(t,n),this._moveAfter(t,i,o)):t=this._addAfter(new kb(n,r),i,o),t}_verifyReinsertion(t,n,r,o){let i=null===this._unlinkedRecords?null:this._unlinkedRecords.get(r,null);return null!==i?t=this._reinsertAfter(i,t._prev,o):t.currentIndex!=o&&(t.currentIndex=o,this._addToMoves(t,o)),t}_truncate(t){for(;null!==t;){const n=t._next;this._addToRemovals(this._unlink(t)),t=n}null!==this._unlinkedRecords&&this._unlinkedRecords.clear(),null!==this._additionsTail&&(this._additionsTail._nextAdded=null),null!==this._movesTail&&(this._movesTail._nextMoved=null),null!==this._itTail&&(this._itTail._next=null),null!==this._removalsTail&&(this._removalsTail._nextRemoved=null),null!==this._identityChangesTail&&(this._identityChangesTail._nextIdentityChange=null)}_reinsertAfter(t,n,r){null!==this._unlinkedRecords&&this._unlinkedRecords.remove(t);const o=t._prevRemoved,i=t._nextRemoved;return null===o?this._removalsHead=i:o._nextRemoved=i,null===i?this._removalsTail=o:i._prevRemoved=o,this._insertAfter(t,n,r),this._addToMoves(t,r),t}_moveAfter(t,n,r){return this._unlink(t),this._insertAfter(t,n,r),this._addToMoves(t,r),t}_addAfter(t,n,r){return this._insertAfter(t,n,r),this._additionsTail=null===this._additionsTail?this._additionsHead=t:this._additionsTail._nextAdded=t,t}_insertAfter(t,n,r){const o=null===n?this._itHead:n._next;return t._next=o,t._prev=n,null===o?this._itTail=t:o._prev=t,null===n?this._itHead=t:n._next=t,null===this._linkedRecords&&(this._linkedRecords=new Mm),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 Mm),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 kb{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 jb{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 Mm{constructor(){this.map=new Map}put(t){const n=t.trackById;let r=this.map.get(n);r||(r=new jb,this.map.set(n,r)),r.add(t)}get(t,n){const o=this.map.get(t);return o?o.get(t,n):null}remove(t){const n=t.trackById;return this.map.get(n).remove(t)&&this.map.delete(n),t}get isEmpty(){return 0===this.map.size}clear(){this.map.clear()}}function Am(e,t,n){const r=e.previousIndex;if(null===r)return r;let o=0;return n&&r{if(n&&n.key===o)this._maybeAddToChanges(n,r),this._appendAfter=n,n=n._next;else{const i=this._getOrCreateRecordForKey(o,r);n=this._insertBeforeOrAppend(n,i)}}),n){n._prev&&(n._prev._next=null),this._removalsHead=n;for(let r=n;null!==r;r=r._nextRemoved)r===this._mapHead&&(this._mapHead=null),this._records.delete(r.key),r._nextRemoved=r._next,r.previousValue=r.currentValue,r.currentValue=null,r._prev=null,r._next=null}return this._changesTail&&(this._changesTail._nextChanged=null),this._additionsTail&&(this._additionsTail._nextAdded=null),this.isDirty}_insertBeforeOrAppend(t,n){if(t){const r=t._prev;return n._next=t,n._prev=r,t._prev=n,r&&(r._next=n),t===this._mapHead&&(this._mapHead=n),this._appendAfter=t,t}return this._appendAfter?(this._appendAfter._next=n,n._prev=this._appendAfter):this._mapHead=n,this._appendAfter=n,null}_getOrCreateRecordForKey(t,n){if(this._records.has(t)){const o=this._records.get(t);this._maybeAddToChanges(o,n);const i=o._prev,a=o._next;return i&&(i._next=a),a&&(a._prev=i),o._next=null,o._prev=null,o}const r=new Bb(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 Bb{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 xm(){return new Yd([new Tm])}let Yd=(()=>{class e{constructor(n){this.factories=n}static create(n,r){if(null!=r){const o=r.factories.slice();n=n.concat(o)}return new e(n)}static extend(n){return{provide:e,useFactory:r=>e.create(n,r||xm()),deps:[[e,new d,new c]]}}find(n){const r=this.factories.find(o=>o.supports(n));if(null!=r)return r;throw new Se(901,!1)}}return e.\u0275prov=tt({token:e,providedIn:"root",factory:xm}),e})();function Pm(){return new Kd([new Rm])}let Kd=(()=>{class e{constructor(n){this.factories=n}static create(n,r){if(r){const o=r.factories.slice();n=n.concat(o)}return new e(n)}static extend(n){return{provide:e,useFactory:r=>e.create(n,r||Pm()),deps:[[e,new d,new c]]}}find(n){const r=this.factories.find(o=>o.supports(n));if(r)return r;throw new Se(901,!1)}}return e.\u0275prov=tt({token:e,providedIn:"root",factory:Pm}),e})();const Vb=mm(null,"core",[]);let zb=(()=>{class e{constructor(n){}}return e.\u0275fac=function(n){return new(n||e)(_t(Yc))},e.\u0275mod=sr({type:e}),e.\u0275inj=Dt({}),e})();function Gb(e){return"boolean"==typeof e?e:null!=e&&"false"!==e}},481:(Le,fe,N)=>{N.d(fe,{Dx:()=>Wn,b2:()=>Xr,q6:()=>Gn});var g=N(895),A=N(738);class V extends g.w_{constructor(){super(...arguments),this.supportsDOMEvents=!0}}class ue extends V{static makeCurrent(){(0,g.HT)(new ue)}onAndCancel(C,T,x){return C.addEventListener(T,x,!1),()=>{C.removeEventListener(T,x,!1)}}dispatchEvent(C,T){C.dispatchEvent(T)}remove(C){C.parentNode&&C.parentNode.removeChild(C)}createElement(C,T){return(T=T||this.getDefaultDocument()).createElement(C)}createHtmlDocument(){return document.implementation.createHTMLDocument("fakeTitle")}getDefaultDocument(){return document}isElementNode(C){return C.nodeType===Node.ELEMENT_NODE}isShadowRoot(C){return C instanceof DocumentFragment}getGlobalEventTarget(C,T){return"window"===T?window:"document"===T?C:"body"===T?C.body:null}getBaseHref(C){const T=function J(){return he=he||document.querySelector("base"),he?he.getAttribute("href"):null}();return null==T?null:function Z(b){te=te||document.createElement("a"),te.setAttribute("href",b);const C=te.pathname;return"/"===C.charAt(0)?C:`/${C}`}(T)}resetBaseElement(){he=null}getUserAgent(){return window.navigator.userAgent}getCookie(C){return(0,g.Mx)(document.cookie,C)}}let te,he=null;const z=new A.OlP("TRANSITION_ID"),j=[{provide:A.ip1,useFactory:function k(b,C,T){return()=>{T.get(A.CZH).donePromise.then(()=>{const x=(0,g.q)(),B=C.querySelectorAll(`style[ng-transition="${b}"]`);for(let se=0;se{class b{build(){return new XMLHttpRequest}}return b.\u0275fac=function(T){return new(T||b)},b.\u0275prov=A.Yz7({token:b,factory:b.\u0275fac}),b})();const X=new A.OlP("EventManagerPlugins");let Ie=(()=>{class b{constructor(T,x){this._zone=x,this._eventNameToPlugin=new Map,T.forEach(B=>B.manager=this),this._plugins=T.slice().reverse()}addEventListener(T,x,B){return this._findPluginFor(x).addEventListener(T,x,B)}addGlobalEventListener(T,x,B){return this._findPluginFor(x).addGlobalEventListener(T,x,B)}getZone(){return this._zone}_findPluginFor(T){const x=this._eventNameToPlugin.get(T);if(x)return x;const B=this._plugins;for(let se=0;se{class b{constructor(){this._stylesSet=new Set}addStyles(T){const x=new Set;T.forEach(B=>{this._stylesSet.has(B)||(this._stylesSet.add(B),x.add(B))}),this.onStylesAdded(x)}onStylesAdded(T){}getAllStyles(){return Array.from(this._stylesSet)}}return b.\u0275fac=function(T){return new(T||b)},b.\u0275prov=A.Yz7({token:b,factory:b.\u0275fac}),b})(),et=(()=>{class b extends we{constructor(T){super(),this._doc=T,this._hostNodes=new Map,this._hostNodes.set(T.head,[])}_addStylesToHost(T,x,B){T.forEach(se=>{const ee=this._doc.createElement("style");ee.textContent=se,B.push(x.appendChild(ee))})}addHost(T){const x=[];this._addStylesToHost(this._stylesSet,T,x),this._hostNodes.set(T,x)}removeHost(T){const x=this._hostNodes.get(T);x&&x.forEach(Je),this._hostNodes.delete(T)}onStylesAdded(T){this._hostNodes.forEach((x,B)=>{this._addStylesToHost(T,B,x)})}ngOnDestroy(){this._hostNodes.forEach(T=>T.forEach(Je))}}return b.\u0275fac=function(T){return new(T||b)(A.LFG(g.K0))},b.\u0275prov=A.Yz7({token:b,factory:b.\u0275fac}),b})();function Je(b){(0,g.q)().remove(b)}const le={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/",math:"http://www.w3.org/1998/MathML/"},rn=/%COMP%/g;function ye(b,C){return C.flat(100).map(T=>T.replace(rn,b))}function Ne(b){return C=>{if("__ngUnwrap__"===C)return b;!1===b(C)&&(C.preventDefault(),C.returnValue=!1)}}let Ce=(()=>{class b{constructor(T,x,B){this.eventManager=T,this.sharedStylesHost=x,this.appId=B,this.rendererByCompId=new Map,this.defaultRenderer=new Lt(T)}createRenderer(T,x){if(!T||!x)return this.defaultRenderer;switch(x.encapsulation){case A.ifc.Emulated:{let B=this.rendererByCompId.get(x.id);return B||(B=new Vn(this.eventManager,this.sharedStylesHost,x,this.appId),this.rendererByCompId.set(x.id,B)),B.applyToHost(T),B}case 1:case A.ifc.ShadowDom:return new $e(this.eventManager,this.sharedStylesHost,T,x);default:if(!this.rendererByCompId.has(x.id)){const B=ye(x.id,x.styles);this.sharedStylesHost.addStyles(B),this.rendererByCompId.set(x.id,this.defaultRenderer)}return this.defaultRenderer}}begin(){}end(){}}return b.\u0275fac=function(T){return new(T||b)(A.LFG(Ie),A.LFG(et),A.LFG(A.AFp))},b.\u0275prov=A.Yz7({token:b,factory:b.\u0275fac}),b})();class Lt{constructor(C){this.eventManager=C,this.data=Object.create(null),this.destroyNode=null}destroy(){}createElement(C,T){return T?document.createElementNS(le[T]||T,C):document.createElement(C)}createComment(C){return document.createComment(C)}createText(C){return document.createTextNode(C)}appendChild(C,T){(Jr(C)?C.content:C).appendChild(T)}insertBefore(C,T,x){C&&(Jr(C)?C.content:C).insertBefore(T,x)}removeChild(C,T){C&&C.removeChild(T)}selectRootElement(C,T){let x="string"==typeof C?document.querySelector(C):C;if(!x)throw new Error(`The selector "${C}" did not match any elements`);return T||(x.textContent=""),x}parentNode(C){return C.parentNode}nextSibling(C){return C.nextSibling}setAttribute(C,T,x,B){if(B){T=B+":"+T;const se=le[B];se?C.setAttributeNS(se,T,x):C.setAttribute(T,x)}else C.setAttribute(T,x)}removeAttribute(C,T,x){if(x){const B=le[x];B?C.removeAttributeNS(B,T):C.removeAttribute(`${x}:${T}`)}else C.removeAttribute(T)}addClass(C,T){C.classList.add(T)}removeClass(C,T){C.classList.remove(T)}setStyle(C,T,x,B){B&(A.JOm.DashCase|A.JOm.Important)?C.style.setProperty(T,x,B&A.JOm.Important?"important":""):C.style[T]=x}removeStyle(C,T,x){x&A.JOm.DashCase?C.style.removeProperty(T):C.style[T]=""}setProperty(C,T,x){C[T]=x}setValue(C,T){C.nodeValue=T}listen(C,T,x){return"string"==typeof C?this.eventManager.addGlobalEventListener(C,T,Ne(x)):this.eventManager.addEventListener(C,T,Ne(x))}}function Jr(b){return"TEMPLATE"===b.tagName&&void 0!==b.content}class Vn extends Lt{constructor(C,T,x,B){super(C),this.component=x;const se=ye(B+"-"+x.id,x.styles);T.addStyles(se),this.contentAttr=function Ke(b){return"_ngcontent-%COMP%".replace(rn,b)}(B+"-"+x.id),this.hostAttr=function ge(b){return"_nghost-%COMP%".replace(rn,b)}(B+"-"+x.id)}applyToHost(C){super.setAttribute(C,this.hostAttr,"")}createElement(C,T){const x=super.createElement(C,T);return super.setAttribute(x,this.contentAttr,""),x}}class $e extends Lt{constructor(C,T,x,B){super(C),this.sharedStylesHost=T,this.hostEl=x,this.shadowRoot=x.attachShadow({mode:"open"}),this.sharedStylesHost.addHost(this.shadowRoot);const se=ye(B.id,B.styles);for(let ee=0;ee{class b extends oe{constructor(T){super(T)}supports(T){return!0}addEventListener(T,x,B){return T.addEventListener(x,B,!1),()=>this.removeEventListener(T,x,B)}removeEventListener(T,x,B){return T.removeEventListener(x,B)}}return b.\u0275fac=function(T){return new(T||b)(A.LFG(g.K0))},b.\u0275prov=A.Yz7({token:b,factory:b.\u0275fac}),b})();const zn=["alt","control","meta","shift"],Cn={"\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"},Ht={alt:b=>b.altKey,control:b=>b.ctrlKey,meta:b=>b.metaKey,shift:b=>b.shiftKey};let vt=(()=>{class b extends oe{constructor(T){super(T)}supports(T){return null!=b.parseEventName(T)}addEventListener(T,x,B){const se=b.parseEventName(x),ee=b.eventCallback(se.fullKey,B,this.manager.getZone());return this.manager.getZone().runOutsideAngular(()=>(0,g.q)().onAndCancel(T,se.domEventName,ee))}static parseEventName(T){const x=T.toLowerCase().split("."),B=x.shift();if(0===x.length||"keydown"!==B&&"keyup"!==B)return null;const se=b._normalizeKey(x.pop());let ee="",ae=x.indexOf("code");if(ae>-1&&(x.splice(ae,1),ee="code."),zn.forEach(jt=>{const ln=x.indexOf(jt);ln>-1&&(x.splice(ln,1),ee+=jt+".")}),ee+=se,0!=x.length||0===se.length)return null;const ze={};return ze.domEventName=B,ze.fullKey=ee,ze}static matchEventFullKeyCode(T,x){let B=Cn[T.key]||T.key,se="";return x.indexOf("code.")>-1&&(B=T.code,se="code."),!(null==B||!B)&&(B=B.toLowerCase()," "===B?B="space":"."===B&&(B="dot"),zn.forEach(ee=>{ee!==B&&(0,Ht[ee])(T)&&(se+=ee+".")}),se+=B,se===x)}static eventCallback(T,x,B){return se=>{b.matchEventFullKeyCode(se,T)&&B.runGuarded(()=>x(se))}}static _normalizeKey(T){return"esc"===T?"escape":T}}return b.\u0275fac=function(T){return new(T||b)(A.LFG(g.K0))},b.\u0275prov=A.Yz7({token:b,factory:b.\u0275fac}),b})();const Gn=(0,A.eFA)(A._c5,"browser",[{provide:A.Lbi,useValue:g.bD},{provide:A.g9A,useValue:function yr(){ue.makeCurrent()},multi:!0},{provide:g.K0,useFactory:function rr(){return(0,A.RDi)(document),document},deps:[]}]),Dt=new A.OlP(""),ut=[{provide:A.rWj,useClass:class G{addToWindow(C){A.dqk.getAngularTestability=(x,B=!0)=>{const se=C.findTestabilityInTree(x,B);if(null==se)throw new Error("Could not find testability for element.");return se},A.dqk.getAllAngularTestabilities=()=>C.getAllTestabilities(),A.dqk.getAllAngularRootElements=()=>C.getAllRootElements(),A.dqk.frameworkStabilizers||(A.dqk.frameworkStabilizers=[]),A.dqk.frameworkStabilizers.push(x=>{const B=A.dqk.getAllAngularTestabilities();let se=B.length,ee=!1;const ae=function(ze){ee=ee||ze,se--,0==se&&x(ee)};B.forEach(function(ze){ze.whenStable(ae)})})}findTestabilityInTree(C,T,x){return null==T?null:C.getTestability(T)??(x?(0,g.q)().isShadowRoot(T)?this.findTestabilityInTree(C,T.host,!0):this.findTestabilityInTree(C,T.parentElement,!0):null)}},deps:[]},{provide:A.lri,useClass:A.dDg,deps:[A.R0b,A.eoX,A.rWj]},{provide:A.dDg,useClass:A.dDg,deps:[A.R0b,A.eoX,A.rWj]}],or=[{provide:A.zSh,useValue:"root"},{provide:A.qLn,useFactory:function bn(){return new A.qLn},deps:[]},{provide:X,useClass:jr,multi:!0,deps:[g.K0,A.R0b,A.Lbi]},{provide:X,useClass:vt,multi:!0,deps:[g.K0]},{provide:Ce,useClass:Ce,deps:[Ie,et,A.AFp]},{provide:A.FYo,useExisting:Ce},{provide:we,useExisting:et},{provide:et,useClass:et,deps:[g.K0]},{provide:Ie,useClass:Ie,deps:[X,A.R0b]},{provide:g.JF,useClass:q,deps:[]},[]];let Xr=(()=>{class b{constructor(T){}static withServerTransition(T){return{ngModule:b,providers:[{provide:A.AFp,useValue:T.appId},{provide:z,useExisting:A.AFp},j]}}}return b.\u0275fac=function(T){return new(T||b)(A.LFG(Dt,12))},b.\u0275mod=A.oAB({type:b}),b.\u0275inj=A.cJS({providers:[...or,...ut],imports:[g.ez,A.hGG]}),b})(),Wn=(()=>{class b{constructor(T){this._doc=T}getTitle(){return this._doc.title}setTitle(T){this._doc.title=T||""}}return b.\u0275fac=function(T){return new(T||b)(A.LFG(g.K0))},b.\u0275prov=A.Yz7({token:b,factory:function(T){let x=null;return x=T?new T:function En(){return new Wn((0,A.LFG)(g.K0))}(),x},providedIn:"root"}),b})();typeof window<"u"&&window},352:(Le,fe,N)=>{N.d(fe,{rH:()=>Nr,Bz:()=>ga,lC:()=>Vr});var g=N(738),A=N(254),V=N(86),ue=N(591);const J=(()=>{function u(){return Error.call(this),this.message="no elements in sequence",this.name="EmptyError",this}return u.prototype=Object.create(Error.prototype),u})();var te=N(866),Z=N(688),z=N(489);class k extends z.L{notifyNext(c,s,d,y,w){this.destination.next(s)}notifyError(c,s){this.destination.error(c)}notifyComplete(c){this.destination.complete()}}class j extends z.L{constructor(c,s,d){super(),this.parent=c,this.outerValue=s,this.outerIndex=d,this.index=0}_next(c){this.parent.notifyNext(this.outerValue,c,this.outerIndex,this.index++,this)}_error(c){this.parent.notifyError(c,this),this.unsubscribe()}_complete(){this.parent.notifyComplete(this),this.unsubscribe()}}var G=N(249),q=N(498);function X(u,c,s,d,y=new j(u,s,d)){if(!y.closed)return c instanceof q.y?c.subscribe(y):(0,G.s)(c)(y)}var Ie=N(9);const oe={};function we(...u){let c,s;return(0,te.K)(u[u.length-1])&&(s=u.pop()),"function"==typeof u[u.length-1]&&(c=u.pop()),1===u.length&&(0,Z.k)(u[0])&&(u=u[0]),(0,Ie.n)(u,s).lift(new et(c))}class et{constructor(c){this.resultSelector=c}call(c,s){return s.subscribe(new Je(c,this.resultSelector))}}class Je extends k{constructor(c,s){super(c),this.resultSelector=s,this.active=0,this.values=[],this.observables=[]}_next(c){this.values.push(oe),this.observables.push(c)}_complete(){const c=this.observables,s=c.length;if(0===s)this.destination.complete();else{this.active=s,this.toRespond=s;for(let d=0;du.complete());function qt(u){return u?function Se(u){return new q.y(c=>u.schedule(()=>c.complete()))}(u):Kt}function Ke(u){return new q.y(c=>{let s;try{s=u()}catch(y){return void c.error(y)}return(s?(0,A.D)(s):qt()).subscribe(c)})}var ge=N(843);function ye(u,c){return new q.y(c?s=>c.schedule(Ne,0,{error:u,subscriber:s}):s=>s.error(u))}function Ne({error:u,subscriber:c}){c.error(u)}var ot=N(762),Ce=N(529),Lt=N(895),Me=N(850),yt=N(545);const Vn=(()=>{function u(){return Error.call(this),this.message="argument out of range",this.name="ArgumentOutOfRangeError",this}return u.prototype=Object.create(Error.prototype),u})();function $e(u){return c=>0===u?qt():c.lift(new jr(u))}class jr{constructor(c){if(this.total=c,this.total<0)throw new Vn}call(c,s){return s.subscribe(new zn(c,this.total))}}class zn extends z.L{constructor(c,s){super(c),this.total=s,this.count=0}_next(c){const s=this.total,d=++this.count;d<=s&&(this.destination.next(c),d===s&&(this.destination.complete(),this.unsubscribe()))}}var Ht=N(198),vt=N(709);function Et(u=null){return c=>c.lift(new mr(u))}class mr{constructor(c){this.defaultValue=c}call(c,s){return s.subscribe(new bi(c,this.defaultValue))}}class bi extends z.L{constructor(c,s){super(c),this.defaultValue=s,this.isEmpty=!0}_next(c){this.isEmpty=!1,this.destination.next(c)}_complete(){this.isEmpty&&this.destination.next(this.defaultValue),this.destination.complete()}}function $t(u=bn){return c=>c.lift(new qe(u))}class qe{constructor(c){this.errorFactory=c}call(c,s){return s.subscribe(new yr(c,this.errorFactory))}}class yr extends z.L{constructor(c,s){super(c),this.errorFactory=s,this.hasValue=!1}_next(c){this.hasValue=!0,this.destination.next(c)}_complete(){if(this.hasValue)return this.destination.complete();{let c;try{c=this.errorFactory()}catch(s){c=s}this.destination.error(c)}}}function bn(){return new J}var rr=N(379);function tt(u,c){const s=arguments.length>=2;return d=>d.pipe(u?(0,Ht.h)((y,w)=>u(y,w,d)):rr.y,$e(1),s?Et(c):$t(()=>new J))}var Gn=N(406),Dt=N(868),ut=N(221);function or(u,c){let s=!1;return arguments.length>=2&&(s=!0),function(y){return y.lift(new Xr(u,c,s))}}class Xr{constructor(c,s,d=!1){this.accumulator=c,this.seed=s,this.hasSeed=d}call(c,s){return s.subscribe(new _o(c,this.accumulator,this.seed,this.hasSeed))}}class _o extends z.L{constructor(c,s,d,y){super(c),this.accumulator=s,this._seed=d,this.hasSeed=y,this.index=0}get seed(){return this._seed}set seed(c){this.hasSeed=!0,this._seed=c}_next(c){if(this.hasSeed)return this._tryNext(c);this.seed=c,this.destination.next(c)}_tryNext(c){const s=this.index++;let d;try{d=this.accumulator(this.seed,c,s)}catch(y){this.destination.error(y)}this.seed=d,this.destination.next(d)}}function vr(u){return function(s){return 0===u?qt():s.lift(new Ur(u))}}class Ur{constructor(c){if(this.total=c,this.total<0)throw new Vn}call(c,s){return s.subscribe(new En(c,this.total))}}class En extends z.L{constructor(c,s){super(c),this.total=s,this.ring=new Array,this.count=0}_next(c){const s=this.ring,d=this.total,y=this.count++;s.length0){const d=this.count>=this.total?this.total:this.count,y=this.ring;for(let w=0;w=2;return d=>d.pipe(u?(0,Ht.h)((y,w)=>u(y,w,d)):rr.y,vr(1),s?Et(c):$t(()=>new J))}class Te{constructor(c,s){this.predicate=c,this.inclusive=s}call(c,s){return s.subscribe(new ie(c,this.predicate,this.inclusive))}}class ie extends z.L{constructor(c,s,d){super(c),this.predicate=s,this.inclusive=d,this.index=0}_next(c){const s=this.destination;let d;try{d=this.predicate(c,this.index++)}catch(y){return void s.error(y)}this.nextOrComplete(c,d)}nextOrComplete(c,s){const d=this.destination;Boolean(s)?d.next(c):(this.inclusive&&d.next(c),d.complete())}}class Ln{constructor(c){this.value=c}call(c,s){return s.subscribe(new Ye(c,this.value))}}class Ye extends z.L{constructor(c,s){super(c),this.value=s}_next(c){this.destination.next(this.value)}}var Yn=N(654);function Zt(u){return c=>c.lift(new st(u))}class st{constructor(c){this.callback=c}call(c,s){return s.subscribe(new ct(c,this.callback))}}class ct extends z.L{constructor(c,s){super(c),this.add(new Yn.w(s))}}var wn=N(327),nt=N(481);const ve="primary",Rt=Symbol("RouteTitle");class ir{constructor(c){this.params=c||{}}has(c){return Object.prototype.hasOwnProperty.call(this.params,c)}get(c){if(this.has(c)){const s=this.params[c];return Array.isArray(s)?s[0]:s}return null}getAll(c){if(this.has(c)){const s=this.params[c];return Array.isArray(s)?s:[s]}return[]}get keys(){return Object.keys(this.params)}}function kt(u){return new ir(u)}function Co(u,c,s){const d=s.path.split("/");if(d.length>u.length||"full"===s.pathMatch&&(c.hasChildren()||d.lengthd[w]===y)}return u===c}function Sn(u){return Array.prototype.concat.apply([],u)}function bo(u){return u.length>0?u[u.length-1]:null}function wt(u,c){for(const s in u)u.hasOwnProperty(s)&&c(u[s],s)}function on(u){return(0,g.CqO)(u)?u:(0,g.QGY)(u)?(0,A.D)(Promise.resolve(u)):(0,V.of)(u)}const Pn=!1,Kn={exact:function b(u,c,s){if(!jt(u.segments,c.segments)||!B(u.segments,c.segments,s)||u.numberOfChildren!==c.numberOfChildren)return!1;for(const d in c.children)if(!u.children[d]||!b(u.children[d],c.children[d],s))return!1;return!0},subset:T},sn={exact:function $(u,c){return Qt(u,c)},subset:function C(u,c){return Object.keys(c).length<=Object.keys(u).length&&Object.keys(c).every(s=>mn(u[s],c[s]))},ignored:()=>!0};function _r(u,c,s){return Kn[s.paths](u.root,c.root,s.matrixParams)&&sn[s.queryParams](u.queryParams,c.queryParams)&&!("exact"===s.fragment&&u.fragment!==c.fragment)}function T(u,c,s){return x(u,c,c.segments,s)}function x(u,c,s,d){if(u.segments.length>s.length){const y=u.segments.slice(0,s.length);return!(!jt(y,s)||c.hasChildren()||!B(y,s,d))}if(u.segments.length===s.length){if(!jt(u.segments,s)||!B(u.segments,s,d))return!1;for(const y in c.children)if(!u.children[y]||!T(u.children[y],c.children[y],d))return!1;return!0}{const y=s.slice(0,u.segments.length),w=s.slice(u.segments.length);return!!(jt(u.segments,y)&&B(u.segments,y,d)&&u.children[ve])&&x(u.children[ve],c,w,d)}}function B(u,c,s){return c.every((d,y)=>sn[s](u[y].parameters,d.parameters))}class se{constructor(c=new ee([],{}),s={},d=null){this.root=c,this.queryParams=s,this.fragment=d}get queryParamMap(){return this._queryParamMap||(this._queryParamMap=kt(this.queryParams)),this._queryParamMap}toString(){return rt.serialize(this)}}class ee{constructor(c,s){this.segments=c,this.children=s,this.parent=null,wt(s,(d,y)=>d.parent=this)}hasChildren(){return this.numberOfChildren>0}get numberOfChildren(){return Object.keys(this.children).length}toString(){return On(this)}}class ae{constructor(c,s){this.path=c,this.parameters=s}get parameterMap(){return this._parameterMap||(this._parameterMap=kt(this.parameters)),this._parameterMap}toString(){return So(this)}}function jt(u,c){return u.length===c.length&&u.every((s,d)=>s.path===c[d].path)}let Tt=(()=>{class u{}return u.\u0275fac=function(s){return new(s||u)},u.\u0275prov=g.Yz7({token:u,factory:function(){return new Ve},providedIn:"root"}),u})();class Ve{parse(c){const s=new Pe(c);return new se(s.parseRootSegment(),s.parseQueryParams(),s.parseFragment())}serialize(c){const s=`/${In(c.root,!0)}`,d=function Ze(u){const c=Object.keys(u).map(s=>{const d=u[s];return Array.isArray(d)?d.map(y=>`${kn(s)}=${kn(y)}`).join("&"):`${kn(s)}=${kn(d)}`}).filter(s=>!!s);return c.length?`?${c.join("&")}`:""}(c.queryParams);return`${s}${d}${"string"==typeof c.fragment?`#${function Eo(u){return encodeURI(u)}(c.fragment)}`:""}`}}const rt=new Ve;function On(u){return u.segments.map(c=>So(c)).join("/")}function In(u,c){if(!u.hasChildren())return On(u);if(c){const s=u.children[ve]?In(u.children[ve],!1):"",d=[];return wt(u.children,(y,w)=>{w!==ve&&d.push(`${w}:${In(y,!1)}`)}),d.length>0?`${s}(${d.join("//")})`:s}{const s=function ln(u,c){let s=[];return wt(u.children,(d,y)=>{y===ve&&(s=s.concat(c(d,y)))}),wt(u.children,(d,y)=>{y!==ve&&(s=s.concat(c(d,y)))}),s}(u,(d,y)=>y===ve?[In(u.children[ve],!1)]:[`${y}:${In(d,!1)}`]);return 1===Object.keys(u.children).length&&null!=u.children[ve]?`${On(u)}/${s[0]}`:`${On(u)}/(${s.join("//")})`}}function xt(u){return encodeURIComponent(u).replace(/%40/g,"@").replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",")}function kn(u){return xt(u).replace(/%3B/gi,";")}function sr(u){return xt(u).replace(/\(/g,"%28").replace(/\)/g,"%29").replace(/%26/gi,"&")}function wo(u){return decodeURIComponent(u)}function to(u){return wo(u.replace(/\+/g,"%20"))}function So(u){return`${sr(u.path)}${function Qo(u){return Object.keys(u).map(c=>`;${sr(c)}=${sr(u[c])}`).join("")}(u.parameters)}`}const Jt=/^[^\/()?;=#]+/;function Pt(u){const c=u.match(Jt);return c?c[0]:""}const Cr=/^[^=?&#]+/,qn=/^[^&#]+/;class Pe{constructor(c){this.url=c,this.remaining=c}parseRootSegment(){return this.consumeOptional("/"),""===this.remaining||this.peekStartsWith("?")||this.peekStartsWith("#")?new ee([],{}):new ee([],this.parseChildren())}parseQueryParams(){const c={};if(this.consumeOptional("?"))do{this.parseQueryParam(c)}while(this.consumeOptional("&"));return c}parseFragment(){return this.consumeOptional("#")?decodeURIComponent(this.remaining):null}parseChildren(){if(""===this.remaining)return{};this.consumeOptional("/");const c=[];for(this.peekStartsWith("(")||c.push(this.parseSegment());this.peekStartsWith("/")&&!this.peekStartsWith("//")&&!this.peekStartsWith("/(");)this.capture("/"),c.push(this.parseSegment());let s={};this.peekStartsWith("/(")&&(this.capture("/"),s=this.parseParens(!0));let d={};return this.peekStartsWith("(")&&(d=this.parseParens(!1)),(c.length>0||Object.keys(s).length>0)&&(d[ve]=new ee(c,s)),d}parseSegment(){const c=Pt(this.remaining);if(""===c&&this.peekStartsWith(";"))throw new g.vHH(4009,Pn);return this.capture(c),new ae(wo(c),this.parseMatrixParams())}parseMatrixParams(){const c={};for(;this.consumeOptional(";");)this.parseParam(c);return c}parseParam(c){const s=Pt(this.remaining);if(!s)return;this.capture(s);let d="";if(this.consumeOptional("=")){const y=Pt(this.remaining);y&&(d=y,this.capture(d))}c[wo(s)]=wo(d)}parseQueryParam(c){const s=function Ot(u){const c=u.match(Cr);return c?c[0]:""}(this.remaining);if(!s)return;this.capture(s);let d="";if(this.consumeOptional("=")){const M=function me(u){const c=u.match(qn);return c?c[0]:""}(this.remaining);M&&(d=M,this.capture(d))}const y=to(s),w=to(d);if(c.hasOwnProperty(y)){let M=c[y];Array.isArray(M)||(M=[M],c[y]=M),M.push(w)}else c[y]=w}parseParens(c){const s={};for(this.capture("(");!this.consumeOptional(")")&&this.remaining.length>0;){const d=Pt(this.remaining),y=this.remaining[d.length];if("/"!==y&&")"!==y&&";"!==y)throw new g.vHH(4010,Pn);let w;d.indexOf(":")>-1?(w=d.slice(0,d.indexOf(":")),this.capture(w),this.capture(":")):c&&(w=ve);const M=this.parseChildren();s[w]=1===Object.keys(M).length?M[ve]:new ee([],M),this.consumeOptional("//")}return s}peekStartsWith(c){return this.remaining.startsWith(c)}consumeOptional(c){return!!this.peekStartsWith(c)&&(this.remaining=this.remaining.substring(c.length),!0)}capture(c){if(!this.consumeOptional(c))throw new g.vHH(4011,Pn)}}function at(u){return u.segments.length>0?new ee([],{[ve]:u}):u}function Vt(u){const c={};for(const d of Object.keys(u.children)){const w=Vt(u.children[d]);(w.segments.length>0||w.hasChildren())&&(c[d]=w)}return function ar(u){if(1===u.numberOfChildren&&u.children[ve]){const c=u.children[ve];return new ee(u.segments.concat(c.segments),c.children)}return u}(new ee(u.segments,c))}function mt(u){return u instanceof se}function Fe(u,c,s,d,y){if(0===s.length)return Fn(c.root,c.root,c.root,d,y);const w=function Br(u){if("string"==typeof u[0]&&1===u.length&&"/"===u[0])return new zt(!0,0,u);let c=0,s=!1;const d=u.reduce((y,w,M)=>{if("object"==typeof w&&null!=w){if(w.outlets){const L={};return wt(w.outlets,(Q,De)=>{L[De]="string"==typeof Q?Q.split("/"):Q}),[...y,{outlets:L}]}if(w.segmentPath)return[...y,w.segmentPath]}return"string"!=typeof w?[...y,w]:0===M?(w.split("/").forEach((L,Q)=>{0==Q&&"."===L||(0==Q&&""===L?s=!0:".."===L?c++:""!=L&&y.push(L))}),y):[...y,w]},[]);return new zt(s,c,d)}(s);return w.toRoot()?Fn(c.root,c.root,new ee([],{}),d,y):function M(Q){const De=function no(u,c,s,d){if(u.isAbsolute)return new Tn(c.root,!0,0);if(-1===d)return new Tn(s,s===c.root,0);return function Jo(u,c,s){let d=u,y=c,w=s;for(;w>y;){if(w-=y,d=d.parent,!d)throw new g.vHH(4005,!1);y=d.segments.length}return new Tn(d,!1,y-w)}(s,d+(Nn(u.commands[0])?0:1),u.numberOfDoubleDots)}(w,c,u.snapshot?._urlSegment,Q),be=De.processChildren?wr(De.segmentGroup,De.index,w.commands):Ei(De.segmentGroup,De.index,w.commands);return Fn(c.root,De.segmentGroup,be,d,y)}(u.snapshot?._lastPathIndex)}function Nn(u){return"object"==typeof u&&null!=u&&!u.outlets&&!u.segmentPath}function Nt(u){return"object"==typeof u&&null!=u&&u.outlets}function Fn(u,c,s,d,y){let M,w={};d&&wt(d,(Q,De)=>{w[De]=Array.isArray(Q)?Q.map(be=>`${be}`):`${Q}`}),M=u===c?s:Er(u,c,s);const L=at(Vt(M));return new se(L,w,y)}function Er(u,c,s){const d={};return wt(u.children,(y,w)=>{d[w]=y===c?s:Er(y,c,s)}),new ee(u.segments,d)}class zt{constructor(c,s,d){if(this.isAbsolute=c,this.numberOfDoubleDots=s,this.commands=d,c&&d.length>0&&Nn(d[0]))throw new g.vHH(4003,!1);const y=d.find(Nt);if(y&&y!==bo(d))throw new g.vHH(4004,!1)}toRoot(){return this.isAbsolute&&1===this.commands.length&&"/"==this.commands[0]}}class Tn{constructor(c,s,d){this.segmentGroup=c,this.processChildren=s,this.index=d}}function Ei(u,c,s){if(u||(u=new ee([],{})),0===u.segments.length&&u.hasChildren())return wr(u,c,s);const d=function wi(u,c,s){let d=0,y=c;const w={match:!1,pathIndex:0,commandIndex:0};for(;y=s.length)return w;const M=u.segments[y],L=s[d];if(Nt(L))break;const Q=`${L}`,De=d0&&void 0===Q)break;if(Q&&De&&"object"==typeof De&&void 0===De.outlets){if(!Xt(Q,De,M))return w;d+=2}else{if(!Xt(Q,{},M))return w;d++}y++}return{match:!0,pathIndex:y,commandIndex:d}}(u,c,s),y=s.slice(d.commandIndex);if(d.match&&d.pathIndex{"string"==typeof w&&(w=[w]),null!==w&&(y[M]=Ei(u.children[M],c,w))}),wt(u.children,(w,M)=>{void 0===d[M]&&(y[M]=w)}),new ee(u.segments,y)}}function Hr(u,c,s){const d=u.segments.slice(0,c);let y=0;for(;y{"string"==typeof s&&(s=[s]),null!==s&&(c[d]=Hr(new ee([],{}),0,s))}),c}function Sr(u){const c={};return wt(u,(s,d)=>c[d]=`${s}`),c}function Xt(u,c,s){return u==s.path&&Qt(c,s.parameters)}class Zn{constructor(c,s){this.id=c,this.url=s}}class Mt extends Zn{constructor(c,s,d="imperative",y=null){super(c,s),this.type=0,this.navigationTrigger=d,this.restoredState=y}toString(){return`NavigationStart(id: ${this.id}, url: '${this.url}')`}}class Ut extends Zn{constructor(c,s,d){super(c,s),this.urlAfterRedirects=d,this.type=1}toString(){return`NavigationEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}')`}}class Ir extends Zn{constructor(c,s,d,y){super(c,s),this.reason=d,this.code=y,this.type=2}toString(){return`NavigationCancel(id: ${this.id}, url: '${this.url}')`}}class $r extends Zn{constructor(c,s,d,y){super(c,s),this.error=d,this.target=y,this.type=3}toString(){return`NavigationError(id: ${this.id}, url: '${this.url}', error: ${this.error})`}}class Ao extends Zn{constructor(c,s,d,y){super(c,s),this.urlAfterRedirects=d,this.state=y,this.type=4}toString(){return`RoutesRecognized(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}}class Mn extends Zn{constructor(c,s,d,y){super(c,s),this.urlAfterRedirects=d,this.state=y,this.type=7}toString(){return`GuardsCheckStart(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}}class Xo extends Zn{constructor(c,s,d,y,w){super(c,s),this.urlAfterRedirects=d,this.state=y,this.shouldActivate=w,this.type=8}toString(){return`GuardsCheckEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state}, shouldActivate: ${this.shouldActivate})`}}class ro extends Zn{constructor(c,s,d,y){super(c,s),this.urlAfterRedirects=d,this.state=y,this.type=5}toString(){return`ResolveStart(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}}class ts extends Zn{constructor(c,s,d,y){super(c,s),this.urlAfterRedirects=d,this.state=y,this.type=6}toString(){return`ResolveEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}}class $s{constructor(c){this.route=c,this.type=9}toString(){return`RouteConfigLoadStart(path: ${this.route.path})`}}class Vs{constructor(c){this.route=c,this.type=10}toString(){return`RouteConfigLoadEnd(path: ${this.route.path})`}}class ns{constructor(c){this.snapshot=c,this.type=11}toString(){return`ChildActivationStart(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}}class zs{constructor(c){this.snapshot=c,this.type=12}toString(){return`ChildActivationEnd(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}}class Gs{constructor(c){this.snapshot=c,this.type=13}toString(){return`ActivationStart(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}}class Ws{constructor(c){this.snapshot=c,this.type=14}toString(){return`ActivationEnd(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}}class Ys{constructor(c,s,d){this.routerEvent=c,this.position=s,this.anchor=d,this.type=15}toString(){return`Scroll(anchor: '${this.anchor}', position: '${this.position?`${this.position[0]}, ${this.position[1]}`:null}')`}}let Ro=(()=>{class u{createUrlTree(s,d,y,w,M,L){return Fe(s||d.root,y,w,M,L)}}return u.\u0275fac=function(s){return new(s||u)},u.\u0275prov=g.Yz7({token:u,factory:u.\u0275fac}),u})(),Ks=(()=>{class u{}return u.\u0275fac=function(s){return new(s||u)},u.\u0275prov=g.Yz7({token:u,factory:function(c){return Ro.\u0275fac(c)},providedIn:"root"}),u})();class oo{constructor(c){this._root=c}get root(){return this._root.value}parent(c){const s=this.pathFromRoot(c);return s.length>1?s[s.length-2]:null}children(c){const s=io(c,this._root);return s?s.children.map(d=>d.value):[]}firstChild(c){const s=io(c,this._root);return s&&s.children.length>0?s.children[0].value:null}siblings(c){const s=xo(c,this._root);return s.length<2?[]:s[s.length-2].children.map(y=>y.value).filter(y=>y!==c)}pathFromRoot(c){return xo(c,this._root).map(s=>s.value)}}function io(u,c){if(u===c.value)return c;for(const s of c.children){const d=io(u,s);if(d)return d}return null}function xo(u,c){if(u===c.value)return[c];for(const s of c.children){const d=xo(u,s);if(d.length)return d.unshift(c),d}return[]}class Tr{constructor(c,s){this.value=c,this.children=s}toString(){return`TreeNode(${this.value})`}}function so(u){const c={};return u&&u.children.forEach(s=>c[s.value.outlet]=s),c}class qs extends oo{constructor(c,s){super(c),this.snapshot=s,Mr(this,c)}toString(){return this.snapshot.toString()}}function yn(u,c){const s=function Zs(u,c){const M=new ao([],{},{},"",{},ve,c,null,u.root,-1,{});return new ti("",new Tr(M,[]))}(u,c),d=new ue.X([new ae("",{})]),y=new ue.X({}),w=new ue.X({}),M=new ue.X({}),L=new ue.X(""),Q=new ur(d,y,M,L,w,ve,c,s.root);return Q.snapshot=s.root,new qs(new Tr(Q,[]),s)}class ur{constructor(c,s,d,y,w,M,L,Q){this.url=c,this.params=s,this.queryParams=d,this.fragment=y,this.data=w,this.outlet=M,this.component=L,this.title=this.data?.pipe((0,Me.U)(De=>De[Rt]))??(0,V.of)(void 0),this._futureSnapshot=Q}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,Me.U)(c=>kt(c)))),this._paramMap}get queryParamMap(){return this._queryParamMap||(this._queryParamMap=this.queryParams.pipe((0,Me.U)(c=>kt(c)))),this._queryParamMap}toString(){return this.snapshot?this.snapshot.toString():`Future(${this._futureSnapshot})`}}function ei(u,c="emptyOnly"){const s=u.pathFromRoot;let d=0;if("always"!==c)for(d=s.length-1;d>=1;){const y=s[d],w=s[d-1];if(y.routeConfig&&""===y.routeConfig.path)d--;else{if(w.component)break;d--}}return function os(u){return u.reduce((c,s)=>({params:{...c.params,...s.params},data:{...c.data,...s.data},resolve:{...s.data,...c.resolve,...s.routeConfig?.data,...s._resolvedData}}),{params:{},data:{},resolve:{}})}(s.slice(d))}class ao{constructor(c,s,d,y,w,M,L,Q,De,be,We){this.url=c,this.params=s,this.queryParams=d,this.fragment=y,this.data=w,this.outlet=M,this.component=L,this.routeConfig=Q,this._urlSegment=De,this._lastPathIndex=be,this._resolve=We}get title(){return this.data?.[Rt]}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=kt(this.params)),this._paramMap}get queryParamMap(){return this._queryParamMap||(this._queryParamMap=kt(this.queryParams)),this._queryParamMap}toString(){return`Route(url:'${this.url.map(d=>d.toString()).join("/")}', path:'${this.routeConfig?this.routeConfig.path:""}')`}}class ti extends oo{constructor(c,s){super(s),this.url=c,Mr(this,s)}toString(){return Si(this._root)}}function Mr(u,c){c.value._routerState=u,c.children.forEach(s=>Mr(u,s))}function Si(u){const c=u.children.length>0?` { ${u.children.map(Si).join(", ")} } `:"";return`${u.value}${c}`}function Un(u){if(u.snapshot){const c=u.snapshot,s=u._futureSnapshot;u.snapshot=s,Qt(c.queryParams,s.queryParams)||u.queryParams.next(s.queryParams),c.fragment!==s.fragment&&u.fragment.next(s.fragment),Qt(c.params,s.params)||u.params.next(s.params),function eo(u,c){if(u.length!==c.length)return!1;for(let s=0;sQt(s.parameters,c[d].parameters))}(u.url,c.url);return s&&!(!u.parent!=!c.parent)&&(!u.parent||uo(u.parent,c.parent))}function cr(u,c,s){if(s&&u.shouldReuseRoute(c.value,s.value.snapshot)){const d=s.value;d._futureSnapshot=c.value;const y=function Ii(u,c,s){return c.children.map(d=>{for(const y of s.children)if(u.shouldReuseRoute(d.value,y.value.snapshot))return cr(u,d,y);return cr(u,d)})}(u,c,s);return new Tr(d,y)}{if(u.shouldAttach(c.value)){const w=u.retrieve(c.value);if(null!==w){const M=w.route;return M.value._futureSnapshot=c.value,M.children=c.children.map(L=>cr(u,L)),M}}const d=function Gt(u){return new ur(new ue.X(u.url),new ue.X(u.params),new ue.X(u.queryParams),new ue.X(u.fragment),new ue.X(u.data),u.outlet,u.component,u)}(c.value),y=c.children.map(w=>cr(u,w));return new Tr(d,y)}}const Ti="ngNavigationCancelingError";function co(u,c){const{redirectTo:s,navigationBehaviorOptions:d}=mt(c)?{redirectTo:c,navigationBehaviorOptions:void 0}:c,y=dn(!1,0,c);return y.url=s,y.navigationBehaviorOptions=d,y}function dn(u,c,s){const d=new Error("NavigationCancelingError: "+(u||""));return d[Ti]=!0,d.cancellationCode=c,s&&(d.url=s),d}function Mi(u){return ni(u)&&mt(u.url)}function ni(u){return u&&u[Ti]}class lo{constructor(){this.outlet=null,this.route=null,this.resolver=null,this.injector=null,this.children=new Wt,this.attachRef=null}}let Wt=(()=>{class u{constructor(){this.contexts=new Map}onChildOutletCreated(s,d){const y=this.getOrCreateContext(s);y.outlet=d,this.contexts.set(s,y)}onChildOutletDestroyed(s){const d=this.getContext(s);d&&(d.outlet=null,d.attachRef=null)}onOutletDeactivated(){const s=this.contexts;return this.contexts=new Map,s}onOutletReAttached(s){this.contexts=s}getOrCreateContext(s){let d=this.getContext(s);return d||(d=new lo,this.contexts.set(s,d)),d}getContext(s){return this.contexts.get(s)||null}}return u.\u0275fac=function(s){return new(s||u)},u.\u0275prov=g.Yz7({token:u,factory:u.\u0275fac,providedIn:"root"}),u})();const Po=!1;let Vr=(()=>{class u{constructor(){this.activated=null,this._activatedRoute=null,this.name=ve,this.activateEvents=new g.vpe,this.deactivateEvents=new g.vpe,this.attachEvents=new g.vpe,this.detachEvents=new g.vpe,this.parentContexts=(0,g.f3M)(Wt),this.location=(0,g.f3M)(g.s_b),this.changeDetector=(0,g.f3M)(g.sBO),this.environmentInjector=(0,g.f3M)(g.lqb)}ngOnChanges(s){if(s.name){const{firstChange:d,previousValue:y}=s.name;if(d)return;this.isTrackedInParentContexts(y)&&(this.deactivate(),this.parentContexts.onChildOutletDestroyed(y)),this.initializeOutletWithName()}}ngOnDestroy(){this.isTrackedInParentContexts(this.name)&&this.parentContexts.onChildOutletDestroyed(this.name)}isTrackedInParentContexts(s){return this.parentContexts.getContext(s)?.outlet===this}ngOnInit(){this.initializeOutletWithName()}initializeOutletWithName(){if(this.parentContexts.onChildOutletCreated(this.name,this),this.activated)return;const s=this.parentContexts.getContext(this.name);s?.route&&(s.attachRef?this.attach(s.attachRef,s.route):this.activateWith(s.route,s.injector))}get isActivated(){return!!this.activated}get component(){if(!this.activated)throw new g.vHH(4012,Po);return this.activated.instance}get activatedRoute(){if(!this.activated)throw new g.vHH(4012,Po);return this._activatedRoute}get activatedRouteData(){return this._activatedRoute?this._activatedRoute.snapshot.data:{}}detach(){if(!this.activated)throw new g.vHH(4012,Po);this.location.detach();const s=this.activated;return this.activated=null,this._activatedRoute=null,this.detachEvents.emit(s.instance),s}attach(s,d){this.activated=s,this._activatedRoute=d,this.location.insert(s.hostView),this.attachEvents.emit(s.instance)}deactivate(){if(this.activated){const s=this.component;this.activated.destroy(),this.activated=null,this._activatedRoute=null,this.deactivateEvents.emit(s)}}activateWith(s,d){if(this.isActivated)throw new g.vHH(4013,Po);this._activatedRoute=s;const y=this.location,M=s.snapshot.component,L=this.parentContexts.getOrCreateContext(this.name).children,Q=new Ai(s,L,y.injector);if(d&&function lr(u){return!!u.resolveComponentFactory}(d)){const De=d.resolveComponentFactory(M);this.activated=y.createComponent(De,y.length,Q)}else this.activated=y.createComponent(M,{index:y.length,injector:Q,environmentInjector:d??this.environmentInjector});this.changeDetector.markForCheck(),this.activateEvents.emit(this.activated.instance)}}return u.\u0275fac=function(s){return new(s||u)},u.\u0275dir=g.lG2({type:u,selectors:[["router-outlet"]],inputs:{name:"name"},outputs:{activateEvents:"activate",deactivateEvents:"deactivate",attachEvents:"attach",detachEvents:"detach"},exportAs:["outlet"],standalone:!0,features:[g.TTD]}),u})();class Ai{constructor(c,s,d){this.route=c,this.childContexts=s,this.parent=d}get(c,s){return c===ur?this.route:c===Wt?this.childContexts:this.parent.get(c,s)}}let fo=(()=>{class u{}return u.\u0275fac=function(s){return new(s||u)},u.\u0275cmp=g.Xpm({type:u,selectors:[["ng-component"]],standalone:!0,features:[g.jDz],decls:1,vars:0,template:function(s,d){1&s&&g._UZ(0,"router-outlet")},dependencies:[Vr],encapsulation:2}),u})();function Ct(u,c){return u.providers&&!u._injector&&(u._injector=(0,g.MMx)(u.providers,c,`Route: ${u.path}`)),u._injector??c}function Pi(u){const c=u.children&&u.children.map(Pi),s=c?{...u,children:c}:{...u};return!s.component&&!s.loadComponent&&(c||s.loadChildren)&&s.outlet&&s.outlet!==ve&&(s.component=fo),s}function Y(u){return u.outlet||ve}function Be(u,c){const s=u.filter(d=>Y(d)===c);return s.push(...u.filter(d=>Y(d)!==c)),s}function ho(u){if(!u)return null;if(u.routeConfig?._injector)return u.routeConfig._injector;for(let c=u.parent;c;c=c.parent){const s=c.routeConfig;if(s?._loadedInjector)return s._loadedInjector;if(s?._injector)return s._injector}return null}class Ft{constructor(c,s,d,y){this.routeReuseStrategy=c,this.futureState=s,this.currState=d,this.forwardEvent=y}activate(c){const s=this.futureState._root,d=this.currState?this.currState._root:null;this.deactivateChildRoutes(s,d,c),Un(this.futureState.root),this.activateChildRoutes(s,d,c)}deactivateChildRoutes(c,s,d){const y=so(s);c.children.forEach(w=>{const M=w.value.outlet;this.deactivateRoutes(w,y[M],d),delete y[M]}),wt(y,(w,M)=>{this.deactivateRouteAndItsChildren(w,d)})}deactivateRoutes(c,s,d){const y=c.value,w=s?s.value:null;if(y===w)if(y.component){const M=d.getContext(y.outlet);M&&this.deactivateChildRoutes(c,s,M.children)}else this.deactivateChildRoutes(c,s,d);else w&&this.deactivateRouteAndItsChildren(s,d)}deactivateRouteAndItsChildren(c,s){c.value.component&&this.routeReuseStrategy.shouldDetach(c.value.snapshot)?this.detachAndStoreRouteSubtree(c,s):this.deactivateRouteAndOutlet(c,s)}detachAndStoreRouteSubtree(c,s){const d=s.getContext(c.value.outlet),y=d&&c.value.component?d.children:s,w=so(c);for(const M of Object.keys(w))this.deactivateRouteAndItsChildren(w[M],y);if(d&&d.outlet){const M=d.outlet.detach(),L=d.children.onOutletDeactivated();this.routeReuseStrategy.store(c.value.snapshot,{componentRef:M,route:c,contexts:L})}}deactivateRouteAndOutlet(c,s){const d=s.getContext(c.value.outlet),y=d&&c.value.component?d.children:s,w=so(c);for(const M of Object.keys(w))this.deactivateRouteAndItsChildren(w[M],y);d&&d.outlet&&(d.outlet.deactivate(),d.children.onOutletDeactivated(),d.attachRef=null,d.resolver=null,d.route=null)}activateChildRoutes(c,s,d){const y=so(s);c.children.forEach(w=>{this.activateRoutes(w,y[w.value.outlet],d),this.forwardEvent(new Ws(w.value.snapshot))}),c.children.length&&this.forwardEvent(new zs(c.value.snapshot))}activateRoutes(c,s,d){const y=c.value,w=s?s.value:null;if(Un(y),y===w)if(y.component){const M=d.getOrCreateContext(y.outlet);this.activateChildRoutes(c,s,M.children)}else this.activateChildRoutes(c,s,d);else if(y.component){const M=d.getOrCreateContext(y.outlet);if(this.routeReuseStrategy.shouldAttach(y.snapshot)){const L=this.routeReuseStrategy.retrieve(y.snapshot);this.routeReuseStrategy.store(y.snapshot,null),M.children.onOutletReAttached(L.contexts),M.attachRef=L.componentRef,M.route=L.route.value,M.outlet&&M.outlet.attach(L.componentRef,L.route.value),Un(L.route.value),this.activateChildRoutes(c,null,M.children)}else{const L=ho(y.snapshot),Q=L?.get(g._Vd)??null;M.attachRef=null,M.route=y,M.resolver=Q,M.injector=L,M.outlet&&M.outlet.activateWith(y,M.injector),this.activateChildRoutes(c,null,M.children)}}else this.activateChildRoutes(c,null,d)}}class Ar{constructor(c){this.path=c,this.route=this.path[this.path.length-1]}}class Rr{constructor(c,s){this.component=c,this.route=s}}function Qn(u,c,s){const d=u._root;return No(d,c?c._root:null,s,[d.value])}function Jn(u,c){const s=Symbol(),d=c.get(u,s);return d===s?"function"!=typeof u||(0,g.Z0I)(u)?c.get(u):u:d}function No(u,c,s,d,y={canDeactivateChecks:[],canActivateChecks:[]}){const w=so(c);return u.children.forEach(M=>{(function Wa(u,c,s,d,y={canDeactivateChecks:[],canActivateChecks:[]}){const w=u.value,M=c?c.value:null,L=s?s.getContext(u.value.outlet):null;if(M&&w.routeConfig===M.routeConfig){const Q=function Oi(u,c,s){if("function"==typeof s)return s(u,c);switch(s){case"pathParamsChange":return!jt(u.url,c.url);case"pathParamsOrQueryParamsChange":return!jt(u.url,c.url)||!Qt(u.queryParams,c.queryParams);case"always":return!0;case"paramsOrQueryParamsChange":return!uo(u,c)||!Qt(u.queryParams,c.queryParams);default:return!uo(u,c)}}(M,w,w.routeConfig.runGuardsAndResolvers);Q?y.canActivateChecks.push(new Ar(d)):(w.data=M.data,w._resolvedData=M._resolvedData),No(u,c,w.component?L?L.children:null:s,d,y),Q&&L&&L.outlet&&L.outlet.isActivated&&y.canDeactivateChecks.push(new Rr(L.outlet.component,M))}else M&&dt(c,L,y),y.canActivateChecks.push(new Ar(d)),No(u,null,w.component?L?L.children:null:s,d,y)})(M,w[M.value.outlet],s,d.concat([M.value]),y),delete w[M.value.outlet]}),wt(w,(M,L)=>dt(M,s.getContext(L),y)),y}function dt(u,c,s){const d=so(u),y=u.value;wt(d,(w,M)=>{dt(w,y.component?c?c.children.getContext(M):null:c,s)}),s.canDeactivateChecks.push(new Rr(y.component&&c&&c.outlet&&c.outlet.isActivated?c.outlet.component:null,y))}function fn(u){return"function"==typeof u}function Fo(u){return u instanceof J||"EmptyError"===u?.name}const go=Symbol("INITIAL_VALUE");function xr(){return(0,yt.w)(u=>we(u.map(c=>c.pipe($e(1),function Cn(...u){const c=u[u.length-1];return(0,te.K)(c)?(u.pop(),s=>cn(u,s,c)):s=>cn(u,s)}(go)))).pipe((0,Me.U)(c=>{for(const s of c)if(!0!==s){if(s===go)return go;if(!1===s||s instanceof se)return s}return!0}),(0,Ht.h)(c=>c!==go),$e(1)))}function ds(u){return(0,ge.z)((0,Dt.b)(c=>{if(mt(c))throw co(0,c)}),(0,Me.U)(c=>!0===c))}const D={matched:!1,consumedSegments:[],remainingSegments:[],parameters:{},positionalParamSegments:{}};function p(u,c,s,d,y){const w=S(u,c,s);return w.matched?function f(u,c,s,d){const y=c.canMatch;if(!y||0===y.length)return(0,V.of)(!0);const w=y.map(M=>{const L=Jn(M,u);return on(function ri(u){return u&&fn(u.canMatch)}(L)?L.canMatch(c,s):u.runInContext(()=>L(c,s)))});return(0,V.of)(w).pipe(xr(),ds())}(d=Ct(c,d),c,s).pipe((0,Me.U)(M=>!0===M?w:{...D})):(0,V.of)(w)}function S(u,c,s){if(""===c.path)return"full"===c.pathMatch&&(u.hasChildren()||s.length>0)?{...D}:{matched:!0,consumedSegments:[],remainingSegments:s,parameters:{},positionalParamSegments:{}};const y=(c.matcher||Co)(s,u,c);if(!y)return{...D};const w={};wt(y.posParams,(L,Q)=>{w[Q]=L.path});const M=y.consumed.length>0?{...w,...y.consumed[y.consumed.length-1].parameters}:w;return{matched:!0,consumedSegments:y.consumed,remainingSegments:s.slice(y.consumed.length),parameters:M,positionalParamSegments:y.posParams??{}}}function P(u,c,s,d){if(s.length>0&&function _e(u,c,s){return s.some(d=>He(u,c,d)&&Y(d)!==ve)}(u,s,d)){const w=new ee(c,function K(u,c,s,d){const y={};y[ve]=d,d._sourceSegment=u,d._segmentIndexShift=c.length;for(const w of s)if(""===w.path&&Y(w)!==ve){const M=new ee([],{});M._sourceSegment=u,M._segmentIndexShift=c.length,y[Y(w)]=M}return y}(u,c,d,new ee(s,u.children)));return w._sourceSegment=u,w._segmentIndexShift=c.length,{segmentGroup:w,slicedSegments:[]}}if(0===s.length&&function Xe(u,c,s){return s.some(d=>He(u,c,d))}(u,s,d)){const w=new ee(u.segments,function H(u,c,s,d,y){const w={};for(const M of d)if(He(u,s,M)&&!y[Y(M)]){const L=new ee([],{});L._sourceSegment=u,L._segmentIndexShift=c.length,w[Y(M)]=L}return{...y,...w}}(u,c,s,d,u.children));return w._sourceSegment=u,w._segmentIndexShift=c.length,{segmentGroup:w,slicedSegments:s}}const y=new ee(u.segments,u.children);return y._sourceSegment=u,y._segmentIndexShift=c.length,{segmentGroup:y,slicedSegments:s}}function He(u,c,s){return(!(u.hasChildren()||c.length>0)||"full"!==s.pathMatch)&&""===s.path}function Ge(u,c,s,d){return!!(Y(u)===d||d!==ve&&He(c,s,u))&&("**"===u.path||S(c,u,s).matched)}function ke(u,c,s){return 0===c.length&&!u.children[s]}const pt=!1;class Qe{constructor(c){this.segmentGroup=c||null}}class At{constructor(c){this.urlTree=c}}function en(u){return ye(new Qe(u))}function an(u){return ye(new At(u))}class Bi{constructor(c,s,d,y,w){this.injector=c,this.configLoader=s,this.urlSerializer=d,this.urlTree=y,this.config=w,this.allowRedirects=!0}apply(){const c=P(this.urlTree.root,[],[],this.config).segmentGroup,s=new ee(c.segments,c.children);return this.expandSegmentGroup(this.injector,this.config,s,ve).pipe((0,Me.U)(w=>this.createUrlTree(Vt(w),this.urlTree.queryParams,this.urlTree.fragment))).pipe((0,ut.K)(w=>{if(w instanceof At)return this.allowRedirects=!1,this.match(w.urlTree);throw w instanceof Qe?this.noMatchError(w):w}))}match(c){return this.expandSegmentGroup(this.injector,this.config,c.root,ve).pipe((0,Me.U)(y=>this.createUrlTree(Vt(y),c.queryParams,c.fragment))).pipe((0,ut.K)(y=>{throw y instanceof Qe?this.noMatchError(y):y}))}noMatchError(c){return new g.vHH(4002,pt)}createUrlTree(c,s,d){const y=at(c);return new se(y,s,d)}expandSegmentGroup(c,s,d,y){return 0===d.segments.length&&d.hasChildren()?this.expandChildren(c,s,d).pipe((0,Me.U)(w=>new ee([],w))):this.expandSegment(c,d,s,d.segments,y,!0)}expandChildren(c,s,d){const y=[];for(const w of Object.keys(d.children))"primary"===w?y.unshift(w):y.push(w);return(0,A.D)(y).pipe((0,Gn.b)(w=>{const M=d.children[w],L=Be(s,w);return this.expandSegmentGroup(c,L,M,w).pipe((0,Me.U)(Q=>({segment:Q,outlet:w})))}),or((w,M)=>(w[M.outlet]=M.segment,w),{}),Wn())}expandSegment(c,s,d,y,w,M){return(0,A.D)(d).pipe((0,Gn.b)(L=>this.expandSegmentAgainstRoute(c,s,d,L,y,w,M).pipe((0,ut.K)(De=>{if(De instanceof Qe)return(0,V.of)(null);throw De}))),tt(L=>!!L),(0,ut.K)((L,Q)=>{if(Fo(L))return ke(s,y,w)?(0,V.of)(new ee([],{})):en(s);throw L}))}expandSegmentAgainstRoute(c,s,d,y,w,M,L){return Ge(y,s,w,M)?void 0===y.redirectTo?this.matchSegmentAgainstRoute(c,s,y,w,M):L&&this.allowRedirects?this.expandSegmentAgainstRouteUsingRedirect(c,s,d,y,w,M):en(s):en(s)}expandSegmentAgainstRouteUsingRedirect(c,s,d,y,w,M){return"**"===y.path?this.expandWildCardWithParamsAgainstRouteUsingRedirect(c,d,y,M):this.expandRegularSegmentAgainstRouteUsingRedirect(c,s,d,y,w,M)}expandWildCardWithParamsAgainstRouteUsingRedirect(c,s,d,y){const w=this.applyRedirectCommands([],d.redirectTo,{});return d.redirectTo.startsWith("/")?an(w):this.lineralizeSegments(d,w).pipe((0,vt.zg)(M=>{const L=new ee(M,{});return this.expandSegment(c,L,s,M,y,!1)}))}expandRegularSegmentAgainstRouteUsingRedirect(c,s,d,y,w,M){const{matched:L,consumedSegments:Q,remainingSegments:De,positionalParamSegments:be}=S(s,y,w);if(!L)return en(s);const We=this.applyRedirectCommands(Q,y.redirectTo,be);return y.redirectTo.startsWith("/")?an(We):this.lineralizeSegments(y,We).pipe((0,vt.zg)(bt=>this.expandSegment(c,s,d,bt.concat(De),M,!1)))}matchSegmentAgainstRoute(c,s,d,y,w){return"**"===d.path?(c=Ct(d,c),d.loadChildren?(d._loadedRoutes?(0,V.of)({routes:d._loadedRoutes,injector:d._loadedInjector}):this.configLoader.loadChildren(c,d)).pipe((0,Me.U)(L=>(d._loadedRoutes=L.routes,d._loadedInjector=L.injector,new ee(y,{})))):(0,V.of)(new ee(y,{}))):p(s,d,y,c).pipe((0,yt.w)(({matched:M,consumedSegments:L,remainingSegments:Q})=>M?this.getChildConfig(c=d._injector??c,d,y).pipe((0,vt.zg)(be=>{const We=be.injector??c,bt=be.routes,{segmentGroup:hr,slicedSegments:Yr}=P(s,L,Q,bt),pr=new ee(hr.segments,hr.children);if(0===Yr.length&&pr.hasChildren())return this.expandChildren(We,bt,pr).pipe((0,Me.U)(iu=>new ee(L,iu)));if(0===bt.length&&0===Yr.length)return(0,V.of)(new ee(L,{}));const Xn=Y(d)===w;return this.expandSegment(We,pr,bt,Yr,Xn?ve:w,!0).pipe((0,Me.U)(Ki=>new ee(L.concat(Ki.segments),Ki.children)))})):en(s)))}getChildConfig(c,s,d){return s.children?(0,V.of)({routes:s.children,injector:c}):s.loadChildren?void 0!==s._loadedRoutes?(0,V.of)({routes:s._loadedRoutes,injector:s._loadedInjector}):function ta(u,c,s,d){const y=c.canLoad;if(void 0===y||0===y.length)return(0,V.of)(!0);const w=y.map(M=>{const L=Jn(M,u);return on(function po(u){return u&&fn(u.canLoad)}(L)?L.canLoad(c,s):u.runInContext(()=>L(c,s)))});return(0,V.of)(w).pipe(xr(),ds())}(c,s,d).pipe((0,vt.zg)(y=>y?this.configLoader.loadChildren(c,s).pipe((0,Dt.b)(w=>{s._loadedRoutes=w.routes,s._loadedInjector=w.injector})):function Or(u){return ye(dn(pt,3))}())):(0,V.of)({routes:[],injector:c})}lineralizeSegments(c,s){let d=[],y=s.root;for(;;){if(d=d.concat(y.segments),0===y.numberOfChildren)return(0,V.of)(d);if(y.numberOfChildren>1||!y.children[ve])return ye(new g.vHH(4e3,pt));y=y.children[ve]}}applyRedirectCommands(c,s,d){return this.applyRedirectCreateUrlTree(s,this.urlSerializer.parse(s),c,d)}applyRedirectCreateUrlTree(c,s,d,y){const w=this.createSegmentGroup(c,s.root,d,y);return new se(w,this.createQueryParams(s.queryParams,this.urlTree.queryParams),s.fragment)}createQueryParams(c,s){const d={};return wt(c,(y,w)=>{if("string"==typeof y&&y.startsWith(":")){const L=y.substring(1);d[w]=s[L]}else d[w]=y}),d}createSegmentGroup(c,s,d,y){const w=this.createSegments(c,s.segments,d,y);let M={};return wt(s.children,(L,Q)=>{M[Q]=this.createSegmentGroup(c,L,d,y)}),new ee(w,M)}createSegments(c,s,d,y){return s.map(w=>w.path.startsWith(":")?this.findPosParam(c,w,y):this.findOrReturn(w,d))}findPosParam(c,s,d){const y=d[s.path.substring(1)];if(!y)throw new g.vHH(4001,pt);return y}findOrReturn(c,s){let d=0;for(const y of s){if(y.path===c.path)return s.splice(d),y;d++}return c}}class Uu{}class ra{constructor(c,s,d,y,w,M,L){this.injector=c,this.rootComponentType=s,this.config=d,this.urlTree=y,this.url=w,this.paramsInheritanceStrategy=M,this.urlSerializer=L}recognize(){const c=P(this.urlTree.root,[],[],this.config.filter(s=>void 0===s.redirectTo)).segmentGroup;return this.processSegmentGroup(this.injector,this.config,c,ve).pipe((0,Me.U)(s=>{if(null===s)return null;const d=new ao([],Object.freeze({}),Object.freeze({...this.urlTree.queryParams}),this.urlTree.fragment,{},ve,this.rootComponentType,null,this.urlTree.root,-1,{}),y=new Tr(d,s),w=new ti(this.url,y);return this.inheritParamsAndData(w._root),w}))}inheritParamsAndData(c){const s=c.value,d=ei(s,this.paramsInheritanceStrategy);s.params=Object.freeze(d.params),s.data=Object.freeze(d.data),c.children.forEach(y=>this.inheritParamsAndData(y))}processSegmentGroup(c,s,d,y){return 0===d.segments.length&&d.hasChildren()?this.processChildren(c,s,d):this.processSegment(c,s,d,d.segments,y)}processChildren(c,s,d){return(0,A.D)(Object.keys(d.children)).pipe((0,Gn.b)(y=>{const w=d.children[y],M=Be(s,y);return this.processSegmentGroup(c,M,w,y)}),or((y,w)=>y&&w?(y.push(...w),y):null),function it(u,c=!1){return s=>s.lift(new Te(u,c))}(y=>null!==y),Et(null),Wn(),(0,Me.U)(y=>{if(null===y)return null;const w=ps(y);return function hs(u){u.sort((c,s)=>c.value.outlet===ve?-1:s.value.outlet===ve?1:c.value.outlet.localeCompare(s.value.outlet))}(w),w}))}processSegment(c,s,d,y,w){return(0,A.D)(s).pipe((0,Gn.b)(M=>this.processSegmentAgainstRoute(M._injector??c,M,d,y,w)),tt(M=>!!M),(0,ut.K)(M=>{if(Fo(M))return ke(d,y,w)?(0,V.of)([]):(0,V.of)(null);throw M}))}processSegmentAgainstRoute(c,s,d,y,w){if(s.redirectTo||!Ge(s,d,y,w))return(0,V.of)(null);let M;if("**"===s.path){const L=y.length>0?bo(y).parameters:{},Q=ii(d)+y.length,De=new ao(y,L,Object.freeze({...this.urlTree.queryParams}),this.urlTree.fragment,Lo(s),Y(s),s.component??s._loadedComponent??null,s,ia(d),Q,Ka(s));M=(0,V.of)({snapshot:De,consumedSegments:[],remainingSegments:[]})}else M=p(d,s,y,c).pipe((0,Me.U)(({matched:L,consumedSegments:Q,remainingSegments:De,parameters:be})=>{if(!L)return null;const We=ii(d)+Q.length;return{snapshot:new ao(Q,be,Object.freeze({...this.urlTree.queryParams}),this.urlTree.fragment,Lo(s),Y(s),s.component??s._loadedComponent??null,s,ia(d),We,Ka(s)),consumedSegments:Q,remainingSegments:De}}));return M.pipe((0,yt.w)(L=>{if(null===L)return(0,V.of)(null);const{snapshot:Q,consumedSegments:De,remainingSegments:be}=L;c=s._injector??c;const We=s._loadedInjector??c,bt=function oi(u){return u.children?u.children:u.loadChildren?u._loadedRoutes:[]}(s),{segmentGroup:hr,slicedSegments:Yr}=P(d,De,be,bt.filter(Xn=>void 0===Xn.redirectTo));if(0===Yr.length&&hr.hasChildren())return this.processChildren(We,bt,hr).pipe((0,Me.U)(Xn=>null===Xn?null:[new Tr(Q,Xn)]));if(0===bt.length&&0===Yr.length)return(0,V.of)([new Tr(Q,[])]);const pr=Y(s)===w;return this.processSegment(We,bt,hr,Yr,pr?ve:w).pipe((0,Me.U)(Xn=>null===Xn?null:[new Tr(Q,Xn)]))}))}}function oa(u){const c=u.value.routeConfig;return c&&""===c.path&&void 0===c.redirectTo}function ps(u){const c=[],s=new Set;for(const d of u){if(!oa(d)){c.push(d);continue}const y=c.find(w=>d.value.routeConfig===w.value.routeConfig);void 0!==y?(y.children.push(...d.children),s.add(y)):c.push(d)}for(const d of s){const y=ps(d.children);c.push(new Tr(d.value,y))}return c.filter(d=>!s.has(d))}function ia(u){let c=u;for(;c._sourceSegment;)c=c._sourceSegment;return c}function ii(u){let c=u,s=c._segmentIndexShift??0;for(;c._sourceSegment;)c=c._sourceSegment,s+=c._segmentIndexShift??0;return s-1}function Lo(u){return u.data||{}}function Ka(u){return u.resolve||{}}function ai(u){return"string"==typeof u.title||null===u.title}function Vi(u){return(0,yt.w)(c=>{const s=u(c);return s?(0,A.D)(s).pipe((0,Me.U)(()=>c)):(0,V.of)(c)})}const ko=new g.OlP("ROUTES");let jo=(()=>{class u{constructor(s,d){this.injector=s,this.compiler=d,this.componentLoaders=new WeakMap,this.childrenLoaders=new WeakMap}loadComponent(s){if(this.componentLoaders.get(s))return this.componentLoaders.get(s);if(s._loadedComponent)return(0,V.of)(s._loadedComponent);this.onLoadStartListener&&this.onLoadStartListener(s);const d=on(s.loadComponent()).pipe((0,Me.U)(ms),(0,Dt.b)(w=>{this.onLoadEndListener&&this.onLoadEndListener(s),s._loadedComponent=w}),Zt(()=>{this.componentLoaders.delete(s)})),y=new ot.c(d,()=>new Ce.xQ).pipe((0,wn.x)());return this.componentLoaders.set(s,y),y}loadChildren(s,d){if(this.childrenLoaders.get(d))return this.childrenLoaders.get(d);if(d._loadedRoutes)return(0,V.of)({routes:d._loadedRoutes,injector:d._loadedInjector});this.onLoadStartListener&&this.onLoadStartListener(d);const w=this.loadModuleFactoryOrRoutes(d.loadChildren).pipe((0,Me.U)(L=>{this.onLoadEndListener&&this.onLoadEndListener(d);let Q,De,be=!1;Array.isArray(L)?De=L:(Q=L.create(s).injector,De=Sn(Q.get(ko,[],g.XFs.Self|g.XFs.Optional)));return{routes:De.map(Pi),injector:Q}}),Zt(()=>{this.childrenLoaders.delete(d)})),M=new ot.c(w,()=>new Ce.xQ).pipe((0,wn.x)());return this.childrenLoaders.set(d,M),M}loadModuleFactoryOrRoutes(s){return on(s()).pipe((0,Me.U)(ms),(0,vt.zg)(y=>y instanceof g.YKP||Array.isArray(y)?(0,V.of)(y):(0,A.D)(this.compiler.compileModuleAsync(y))))}}return u.\u0275fac=function(s){return new(s||u)(g.LFG(g.zs3),g.LFG(g.Sil))},u.\u0275prov=g.Yz7({token:u,factory:u.\u0275fac,providedIn:"root"}),u})();function ms(u){return function ua(u){return u&&"object"==typeof u&&"default"in u}(u)?u.default:u}let vs=(()=>{class u{constructor(){this.currentNavigation=null,this.lastSuccessfulNavigation=null,this.events=new Ce.xQ,this.configLoader=(0,g.f3M)(jo),this.environmentInjector=(0,g.f3M)(g.lqb),this.urlSerializer=(0,g.f3M)(Tt),this.rootContexts=(0,g.f3M)(Wt),this.navigationId=0,this.configLoader.onLoadEndListener=y=>this.events.next(new Vs(y)),this.configLoader.onLoadStartListener=y=>this.events.next(new $s(y))}get hasRequestedNavigation(){return 0!==this.navigationId}complete(){this.transitions?.complete()}handleNavigationRequest(s){const d=++this.navigationId;this.transitions?.next({...this.transitions.value,...s,id:d})}setupNavigations(s){return this.transitions=new ue.X({id:0,targetPageId:0,currentUrlTree:s.currentUrlTree,currentRawUrl:s.currentUrlTree,extractedUrl:s.urlHandlingStrategy.extract(s.currentUrlTree),urlAfterRedirects:s.urlHandlingStrategy.extract(s.currentUrlTree),rawUrl:s.currentUrlTree,extras:{},resolve:null,reject:null,promise:Promise.resolve(!0),source:"imperative",restoredState:null,currentSnapshot:s.routerState.snapshot,targetSnapshot:null,currentRouterState:s.routerState,targetRouterState:null,guards:{canActivateChecks:[],canDeactivateChecks:[]},guardsResult:null}),this.transitions.pipe((0,Ht.h)(d=>0!==d.id),(0,Me.U)(d=>({...d,extractedUrl:s.urlHandlingStrategy.extract(d.rawUrl)})),(0,yt.w)(d=>{let y=!1,w=!1;return(0,V.of)(d).pipe((0,Dt.b)(M=>{this.currentNavigation={id:M.id,initialUrl:M.rawUrl,extractedUrl:M.extractedUrl,trigger:M.source,extras:M.extras,previousNavigation:this.lastSuccessfulNavigation?{...this.lastSuccessfulNavigation,previousNavigation:null}:null}}),(0,yt.w)(M=>{const L=s.browserUrlTree.toString(),Q=!s.navigated||M.extractedUrl.toString()!==L||L!==s.currentUrlTree.toString();if(("reload"===s.onSameUrlNavigation||Q)&&s.urlHandlingStrategy.shouldProcessUrl(M.rawUrl))return ui(M.source)&&(s.browserUrlTree=M.extractedUrl),(0,V.of)(M).pipe((0,yt.w)(be=>{const We=this.transitions?.getValue();return this.events.next(new Mt(be.id,this.urlSerializer.serialize(be.extractedUrl),be.source,be.restoredState)),We!==this.transitions?.getValue()?Kt:Promise.resolve(be)}),function Hi(u,c,s,d){return(0,yt.w)(y=>function zr(u,c,s,d,y){return new Bi(u,c,s,d,y).apply()}(u,c,s,y.extractedUrl,d).pipe((0,Me.U)(w=>({...y,urlAfterRedirects:w}))))}(this.environmentInjector,this.configLoader,this.urlSerializer,s.config),(0,Dt.b)(be=>{this.currentNavigation={...this.currentNavigation,finalUrl:be.urlAfterRedirects},d.urlAfterRedirects=be.urlAfterRedirects}),function sa(u,c,s,d,y){return(0,vt.zg)(w=>function fs(u,c,s,d,y,w,M="emptyOnly"){return new ra(u,c,s,d,y,M,w).recognize().pipe((0,yt.w)(L=>null===L?function Bu(u){return new q.y(c=>c.error(u))}(new Uu):(0,V.of)(L)))}(u,c,s,w.urlAfterRedirects,d.serialize(w.urlAfterRedirects),d,y).pipe((0,Me.U)(M=>({...w,targetSnapshot:M}))))}(this.environmentInjector,s.rootComponentType,s.config,this.urlSerializer,s.paramsInheritanceStrategy),(0,Dt.b)(be=>{if(d.targetSnapshot=be.targetSnapshot,"eager"===s.urlUpdateStrategy){if(!be.extras.skipLocationChange){const bt=s.urlHandlingStrategy.merge(be.urlAfterRedirects,be.rawUrl);s.setBrowserUrl(bt,be)}s.browserUrlTree=be.urlAfterRedirects}const We=new Ao(be.id,this.urlSerializer.serialize(be.extractedUrl),this.urlSerializer.serialize(be.urlAfterRedirects),be.targetSnapshot);this.events.next(We)}));if(Q&&s.rawUrlTree&&s.urlHandlingStrategy.shouldProcessUrl(s.rawUrlTree)){const{id:We,extractedUrl:bt,source:hr,restoredState:Yr,extras:pr}=M,Xn=new Mt(We,this.urlSerializer.serialize(bt),hr,Yr);this.events.next(Xn);const Ms=yn(bt,s.rootComponentType).snapshot;return d={...M,targetSnapshot:Ms,urlAfterRedirects:bt,extras:{...pr,skipLocationChange:!1,replaceUrl:!1}},(0,V.of)(d)}return s.rawUrlTree=M.rawUrl,M.resolve(null),Kt}),(0,Dt.b)(M=>{const L=new Mn(M.id,this.urlSerializer.serialize(M.extractedUrl),this.urlSerializer.serialize(M.urlAfterRedirects),M.targetSnapshot);this.events.next(L)}),(0,Me.U)(M=>d={...M,guards:Qn(M.targetSnapshot,M.currentSnapshot,this.rootContexts)}),function us(u,c){return(0,vt.zg)(s=>{const{targetSnapshot:d,currentSnapshot:y,guards:{canActivateChecks:w,canDeactivateChecks:M}}=s;return 0===M.length&&0===w.length?(0,V.of)({...s,guardsResult:!0}):function Fi(u,c,s,d){return(0,A.D)(u).pipe((0,vt.zg)(y=>function Ui(u,c,s,d,y){const w=c&&c.routeConfig?c.routeConfig.canDeactivate:null;if(!w||0===w.length)return(0,V.of)(!0);const M=w.map(L=>{const Q=ho(c)??y,De=Jn(L,Q);return on(function as(u){return u&&fn(u.canDeactivate)}(De)?De.canDeactivate(u,c,s,d):Q.runInContext(()=>De(u,c,s,d))).pipe(tt())});return(0,V.of)(M).pipe(xr())}(y.component,y.route,s,c,d)),tt(y=>!0!==y,!0))}(M,d,y,u).pipe((0,vt.zg)(L=>L&&function ss(u){return"boolean"==typeof u}(L)?function Li(u,c,s,d){return(0,A.D)(c).pipe((0,Gn.b)(y=>cn(function cs(u,c){return null!==u&&c&&c(new ns(u)),(0,V.of)(!0)}(y.route.parent,d),function ki(u,c){return null!==u&&c&&c(new Gs(u)),(0,V.of)(!0)}(y.route,d),function ls(u,c,s){const d=c[c.length-1],w=c.slice(0,c.length-1).reverse().map(M=>function Oo(u){const c=u.routeConfig?u.routeConfig.canActivateChild:null;return c&&0!==c.length?{node:u,guards:c}:null}(M)).filter(M=>null!==M).map(M=>Ke(()=>{const L=M.guards.map(Q=>{const De=ho(M.node)??s,be=Jn(Q,De);return on(function ea(u){return u&&fn(u.canActivateChild)}(be)?be.canActivateChild(d,u):De.runInContext(()=>be(d,u))).pipe(tt())});return(0,V.of)(L).pipe(xr())}));return(0,V.of)(w).pipe(xr())}(u,y.path,s),function ji(u,c,s){const d=c.routeConfig?c.routeConfig.canActivate:null;if(!d||0===d.length)return(0,V.of)(!0);const y=d.map(w=>Ke(()=>{const M=ho(c)??s,L=Jn(w,M);return on(function dr(u){return u&&fn(u.canActivate)}(L)?L.canActivate(c,u):M.runInContext(()=>L(c,u))).pipe(tt())}));return(0,V.of)(y).pipe(xr())}(u,y.route,s))),tt(y=>!0!==y,!0))}(d,w,u,c):(0,V.of)(L)),(0,Me.U)(L=>({...s,guardsResult:L})))})}(this.environmentInjector,M=>this.events.next(M)),(0,Dt.b)(M=>{if(d.guardsResult=M.guardsResult,mt(M.guardsResult))throw co(0,M.guardsResult);const L=new Xo(M.id,this.urlSerializer.serialize(M.extractedUrl),this.urlSerializer.serialize(M.urlAfterRedirects),M.targetSnapshot,!!M.guardsResult);this.events.next(L)}),(0,Ht.h)(M=>!!M.guardsResult||(s.restoreHistory(M),this.cancelNavigationTransition(M,"",3,s),!1)),Vi(M=>{if(M.guards.canActivateChecks.length)return(0,V.of)(M).pipe((0,Dt.b)(L=>{const Q=new ro(L.id,this.urlSerializer.serialize(L.extractedUrl),this.urlSerializer.serialize(L.urlAfterRedirects),L.targetSnapshot);this.events.next(Q)}),(0,yt.w)(L=>{let Q=!1;return(0,V.of)(L).pipe(function aa(u,c){return(0,vt.zg)(s=>{const{targetSnapshot:d,guards:{canActivateChecks:y}}=s;if(!y.length)return(0,V.of)(s);let w=0;return(0,A.D)(y).pipe((0,Gn.b)(M=>function qa(u,c,s,d){const y=u.routeConfig,w=u._resolve;return void 0!==y?.title&&!ai(y)&&(w[Rt]=y.title),function fr(u,c,s,d){const y=function Za(u){return[...Object.keys(u),...Object.getOwnPropertySymbols(u)]}(u);if(0===y.length)return(0,V.of)({});const w={};return(0,A.D)(y).pipe((0,vt.zg)(M=>function si(u,c,s,d){const y=ho(c)??d,w=Jn(u,y);return on(w.resolve?w.resolve(c,s):y.runInContext(()=>w(c,s)))}(u[M],c,s,d).pipe(tt(),(0,Dt.b)(L=>{w[M]=L}))),vr(1),function Dr(u){return c=>c.lift(new Ln(u))}(w),(0,ut.K)(M=>Fo(M)?Kt:ye(M)))}(w,u,c,d).pipe((0,Me.U)(M=>(u._resolvedData=M,u.data=ei(u,s).resolve,y&&ai(y)&&(u.data[Rt]=y.title),null)))}(M.route,d,u,c)),(0,Dt.b)(()=>w++),vr(1),(0,vt.zg)(M=>w===y.length?(0,V.of)(s):Kt))})}(s.paramsInheritanceStrategy,this.environmentInjector),(0,Dt.b)({next:()=>Q=!0,complete:()=>{Q||(s.restoreHistory(L),this.cancelNavigationTransition(L,"",2,s))}}))}),(0,Dt.b)(L=>{const Q=new ts(L.id,this.urlSerializer.serialize(L.extractedUrl),this.urlSerializer.serialize(L.urlAfterRedirects),L.targetSnapshot);this.events.next(Q)}))}),Vi(M=>{const L=Q=>{const De=[];Q.routeConfig?.loadComponent&&!Q.routeConfig._loadedComponent&&De.push(this.configLoader.loadComponent(Q.routeConfig).pipe((0,Dt.b)(be=>{Q.component=be}),(0,Me.U)(()=>{})));for(const be of Q.children)De.push(...L(be));return De};return we(L(M.targetSnapshot.root)).pipe(Et(),$e(1))}),Vi(()=>s.afterPreactivation()),(0,Me.U)(M=>{const L=function An(u,c,s){const d=cr(u,c._root,s?s._root:void 0);return new qs(d,c)}(s.routeReuseStrategy,M.targetSnapshot,M.currentRouterState);return d={...M,targetRouterState:L}}),(0,Dt.b)(M=>{s.currentUrlTree=M.urlAfterRedirects,s.rawUrlTree=s.urlHandlingStrategy.merge(M.urlAfterRedirects,M.rawUrl),s.routerState=M.targetRouterState,"deferred"===s.urlUpdateStrategy&&(M.extras.skipLocationChange||s.setBrowserUrl(s.rawUrlTree,M),s.browserUrlTree=M.urlAfterRedirects)}),((u,c,s)=>(0,Me.U)(d=>(new Ft(c,d.targetRouterState,d.currentRouterState,s).activate(u),d)))(this.rootContexts,s.routeReuseStrategy,M=>this.events.next(M)),(0,Dt.b)({next:M=>{y=!0,this.lastSuccessfulNavigation=this.currentNavigation,s.navigated=!0,this.events.next(new Ut(M.id,this.urlSerializer.serialize(M.extractedUrl),this.urlSerializer.serialize(s.currentUrlTree))),s.titleStrategy?.updateTitle(M.targetRouterState.snapshot),M.resolve(!0)},complete:()=>{y=!0}}),Zt(()=>{y||w||this.cancelNavigationTransition(d,"",1,s),this.currentNavigation?.id===d.id&&(this.currentNavigation=null)}),(0,ut.K)(M=>{if(w=!0,ni(M)){Mi(M)||(s.navigated=!0,s.restoreHistory(d,!0));const L=new Ir(d.id,this.urlSerializer.serialize(d.extractedUrl),M.message,M.cancellationCode);if(this.events.next(L),Mi(M)){const Q=s.urlHandlingStrategy.merge(M.url,s.rawUrlTree),De={skipLocationChange:d.extras.skipLocationChange,replaceUrl:"eager"===s.urlUpdateStrategy||ui(d.source)};s.scheduleNavigation(Q,"imperative",null,De,{resolve:d.resolve,reject:d.reject,promise:d.promise})}else d.resolve(!1)}else{s.restoreHistory(d,!0);const L=new $r(d.id,this.urlSerializer.serialize(d.extractedUrl),M,d.targetSnapshot??void 0);this.events.next(L);try{d.resolve(s.errorHandler(M))}catch(Q){d.reject(Q)}}return Kt}))}))}cancelNavigationTransition(s,d,y,w){const M=new Ir(s.id,this.urlSerializer.serialize(s.extractedUrl),d,y);this.events.next(M),s.resolve(!1)}}return u.\u0275fac=function(s){return new(s||u)},u.\u0275prov=g.Yz7({token:u,factory:u.\u0275fac,providedIn:"root"}),u})();function ui(u){return"imperative"!==u}let Gr=(()=>{class u{buildTitle(s){let d,y=s.root;for(;void 0!==y;)d=this.getResolvedTitleForRoute(y)??d,y=y.children.find(w=>w.outlet===ve);return d}getResolvedTitleForRoute(s){return s.data[Rt]}}return u.\u0275fac=function(s){return new(s||u)},u.\u0275prov=g.Yz7({token:u,factory:function(){return(0,g.f3M)(ca)},providedIn:"root"}),u})(),ca=(()=>{class u extends Gr{constructor(s){super(),this.title=s}updateTitle(s){const d=this.buildTitle(s);void 0!==d&&this.title.setTitle(d)}}return u.\u0275fac=function(s){return new(s||u)(g.LFG(nt.Dx))},u.\u0275prov=g.Yz7({token:u,factory:u.\u0275fac,providedIn:"root"}),u})(),la=(()=>{class u{}return u.\u0275fac=function(s){return new(s||u)},u.\u0275prov=g.Yz7({token:u,factory:function(){return(0,g.f3M)(Uo)},providedIn:"root"}),u})();class da{shouldDetach(c){return!1}store(c,s){}shouldAttach(c){return!1}retrieve(c){return null}shouldReuseRoute(c,s){return c.routeConfig===s.routeConfig}}let Uo=(()=>{class u extends da{}return u.\u0275fac=function(){let c;return function(d){return(c||(c=g.n5z(u)))(d||u)}}(),u.\u0275prov=g.Yz7({token:u,factory:u.\u0275fac,providedIn:"root"}),u})();const ci=new g.OlP("",{providedIn:"root",factory:()=>({})});let Ds=(()=>{class u{}return u.\u0275fac=function(s){return new(s||u)},u.\u0275prov=g.Yz7({token:u,factory:function(){return(0,g.f3M)(Ja)},providedIn:"root"}),u})(),Ja=(()=>{class u{shouldProcessUrl(s){return!0}extract(s){return s}merge(s,d){return s}}return u.\u0275fac=function(s){return new(s||u)},u.\u0275prov=g.Yz7({token:u,factory:u.\u0275fac,providedIn:"root"}),u})();function Cs(u){throw u}function Bo(u,c,s){return c.parse("/")}const Ho={paths:"exact",fragment:"ignored",matrixParams:"ignored",queryParams:"exact"},$o={paths:"subset",fragment:"ignored",matrixParams:"ignored",queryParams:"subset"};let Rn=(()=>{class u{constructor(){this.disposed=!1,this.currentPageId=0,this.console=(0,g.f3M)(g.c2e),this.isNgZoneEnabled=!1,this.options=(0,g.f3M)(ci,{optional:!0})||{},this.errorHandler=this.options.errorHandler||Cs,this.malformedUriErrorHandler=this.options.malformedUriErrorHandler||Bo,this.navigated=!1,this.lastSuccessfulId=-1,this.afterPreactivation=()=>(0,V.of)(void 0),this.urlHandlingStrategy=(0,g.f3M)(Ds),this.routeReuseStrategy=(0,g.f3M)(la),this.urlCreationStrategy=(0,g.f3M)(Ks),this.titleStrategy=(0,g.f3M)(Gr),this.onSameUrlNavigation=this.options.onSameUrlNavigation||"ignore",this.paramsInheritanceStrategy=this.options.paramsInheritanceStrategy||"emptyOnly",this.urlUpdateStrategy=this.options.urlUpdateStrategy||"deferred",this.canceledNavigationResolution=this.options.canceledNavigationResolution||"replace",this.config=Sn((0,g.f3M)(ko,{optional:!0})??[]),this.navigationTransitions=(0,g.f3M)(vs),this.urlSerializer=(0,g.f3M)(Tt),this.location=(0,g.f3M)(Lt.Ye),this.rootComponentType=null,this.isNgZoneEnabled=(0,g.f3M)(g.R0b)instanceof g.R0b&&g.R0b.isInAngularZone(),this.resetConfig(this.config),this.currentUrlTree=new se,this.rawUrlTree=this.currentUrlTree,this.browserUrlTree=this.currentUrlTree,this.routerState=yn(this.currentUrlTree,this.rootComponentType),this.navigationTransitions.setupNavigations(this).subscribe(s=>{this.lastSuccessfulId=s.id,this.currentPageId=s.targetPageId},s=>{this.console.warn(`Unhandled Navigation Error: ${s}`)})}get navigationId(){return this.navigationTransitions.navigationId}get browserPageId(){return this.location.getState()?.\u0275routerPageId}get events(){return this.navigationTransitions.events}resetRootComponentType(s){this.rootComponentType=s,this.routerState.root.component=this.rootComponentType}initialNavigation(){this.setUpLocationChangeListener(),this.navigationTransitions.hasRequestedNavigation||this.navigateByUrl(this.location.path(!0),{replaceUrl:!0})}setUpLocationChangeListener(){this.locationSubscription||(this.locationSubscription=this.location.subscribe(s=>{const d="popstate"===s.type?"popstate":"hashchange";"popstate"===d&&setTimeout(()=>{const y={replaceUrl:!0},w=s.state?.navigationId?s.state:null;if(s.state){const L={...s.state};delete L.navigationId,delete L.\u0275routerPageId,0!==Object.keys(L).length&&(y.state=L)}const M=this.parseUrl(s.url);this.scheduleNavigation(M,d,w,y)},0)}))}get url(){return this.serializeUrl(this.currentUrlTree)}getCurrentNavigation(){return this.navigationTransitions.currentNavigation}resetConfig(s){this.config=s.map(Pi),this.navigated=!1,this.lastSuccessfulId=-1}ngOnDestroy(){this.dispose()}dispose(){this.navigationTransitions.complete(),this.locationSubscription&&(this.locationSubscription.unsubscribe(),this.locationSubscription=void 0),this.disposed=!0}createUrlTree(s,d={}){const{relativeTo:y,queryParams:w,fragment:M,queryParamsHandling:L,preserveFragment:Q}=d,De=Q?this.currentUrlTree.fragment:M;let be=null;switch(L){case"merge":be={...this.currentUrlTree.queryParams,...w};break;case"preserve":be=this.currentUrlTree.queryParams;break;default:be=w||null}return null!==be&&(be=this.removeEmptyProps(be)),this.urlCreationStrategy.createUrlTree(y,this.routerState,this.currentUrlTree,s,be,De??null)}navigateByUrl(s,d={skipLocationChange:!1}){const y=mt(s)?s:this.parseUrl(s),w=this.urlHandlingStrategy.merge(y,this.rawUrlTree);return this.scheduleNavigation(w,"imperative",null,d)}navigate(s,d={skipLocationChange:!1}){return function bs(u){for(let c=0;c{const w=s[y];return null!=w&&(d[y]=w),d},{})}scheduleNavigation(s,d,y,w,M){if(this.disposed)return Promise.resolve(!1);let L,Q,De,be;return M?(L=M.resolve,Q=M.reject,De=M.promise):De=new Promise((We,bt)=>{L=We,Q=bt}),"computed"===this.canceledNavigationResolution?(0===this.currentPageId&&(y=this.location.getState()),be=y&&y.\u0275routerPageId?y.\u0275routerPageId:w.replaceUrl||w.skipLocationChange?this.browserPageId??0:(this.browserPageId??0)+1):be=0,this.navigationTransitions.handleNavigationRequest({targetPageId:be,source:d,restoredState:y,currentUrlTree:this.currentUrlTree,currentRawUrl:this.currentUrlTree,rawUrl:s,extras:w,resolve:L,reject:Q,promise:De,currentSnapshot:this.routerState.snapshot,currentRouterState:this.routerState}),De.catch(We=>Promise.reject(We))}setBrowserUrl(s,d){const y=this.urlSerializer.serialize(s),w={...d.extras.state,...this.generateNgRouterState(d.id,d.targetPageId)};this.location.isCurrentPathEqualTo(y)||d.extras.replaceUrl?this.location.replaceState(y,"",w):this.location.go(y,"",w)}restoreHistory(s,d=!1){if("computed"===this.canceledNavigationResolution){const y=this.currentPageId-s.targetPageId;"popstate"!==s.source&&"eager"!==this.urlUpdateStrategy&&this.currentUrlTree!==this.getCurrentNavigation()?.finalUrl||0===y?this.currentUrlTree===this.getCurrentNavigation()?.finalUrl&&0===y&&(this.resetState(s),this.browserUrlTree=s.currentUrlTree,this.resetUrlToCurrentUrlTree()):this.location.historyGo(y)}else"replace"===this.canceledNavigationResolution&&(d&&this.resetState(s),this.resetUrlToCurrentUrlTree())}resetState(s){this.routerState=s.currentRouterState,this.currentUrlTree=s.currentUrlTree,this.rawUrlTree=this.urlHandlingStrategy.merge(this.currentUrlTree,s.rawUrl)}resetUrlToCurrentUrlTree(){this.location.replaceState(this.urlSerializer.serialize(this.rawUrlTree),"",this.generateNgRouterState(this.lastSuccessfulId,this.currentPageId))}generateNgRouterState(s,d){return"computed"===this.canceledNavigationResolution?{navigationId:s,\u0275routerPageId:d}:{navigationId:s}}}return u.\u0275fac=function(s){return new(s||u)},u.\u0275prov=g.Yz7({token:u,factory:u.\u0275fac,providedIn:"root"}),u})(),Nr=(()=>{class u{constructor(s,d,y,w,M,L){this.router=s,this.route=d,this.tabIndexAttribute=y,this.renderer=w,this.el=M,this.locationStrategy=L,this._preserveFragment=!1,this._skipLocationChange=!1,this._replaceUrl=!1,this.href=null,this.commands=null,this.onChanges=new Ce.xQ;const Q=M.nativeElement.tagName;this.isAnchorElement="A"===Q||"AREA"===Q,this.isAnchorElement?this.subscription=s.events.subscribe(De=>{De instanceof Ut&&this.updateHref()}):this.setTabIndexIfNotOnNativeEl("0")}set preserveFragment(s){this._preserveFragment=(0,g.D6c)(s)}get preserveFragment(){return this._preserveFragment}set skipLocationChange(s){this._skipLocationChange=(0,g.D6c)(s)}get skipLocationChange(){return this._skipLocationChange}set replaceUrl(s){this._replaceUrl=(0,g.D6c)(s)}get replaceUrl(){return this._replaceUrl}setTabIndexIfNotOnNativeEl(s){null!=this.tabIndexAttribute||this.isAnchorElement||this.applyAttributeValue("tabindex",s)}ngOnChanges(s){this.isAnchorElement&&this.updateHref(),this.onChanges.next(this)}set routerLink(s){null!=s?(this.commands=Array.isArray(s)?s:[s],this.setTabIndexIfNotOnNativeEl("0")):(this.commands=null,this.setTabIndexIfNotOnNativeEl(null))}onClick(s,d,y,w,M){return!!(null===this.urlTree||this.isAnchorElement&&(0!==s||d||y||w||M||"string"==typeof this.target&&"_self"!=this.target))||(this.router.navigateByUrl(this.urlTree,{skipLocationChange:this.skipLocationChange,replaceUrl:this.replaceUrl,state:this.state}),!this.isAnchorElement)}ngOnDestroy(){this.subscription?.unsubscribe()}updateHref(){this.href=null!==this.urlTree&&this.locationStrategy?this.locationStrategy?.prepareExternalUrl(this.router.serializeUrl(this.urlTree)):null;const s=null===this.href?null:(0,g.P3R)(this.href,this.el.nativeElement.tagName.toLowerCase(),"href");this.applyAttributeValue("href",s)}applyAttributeValue(s,d){const y=this.renderer,w=this.el.nativeElement;null!==d?y.setAttribute(w,s,d):y.removeAttribute(w,s)}get urlTree(){return null===this.commands?null:this.router.createUrlTree(this.commands,{relativeTo:void 0!==this.relativeTo?this.relativeTo:this.route,queryParams:this.queryParams,fragment:this.fragment,queryParamsHandling:this.queryParamsHandling,preserveFragment:this.preserveFragment})}}return u.\u0275fac=function(s){return new(s||u)(g.Y36(Rn),g.Y36(ur),g.$8M("tabindex"),g.Y36(g.Qsj),g.Y36(g.SBq),g.Y36(Lt.S$))},u.\u0275dir=g.lG2({type:u,selectors:[["","routerLink",""]],hostVars:1,hostBindings:function(s,d){1&s&&g.NdJ("click",function(w){return d.onClick(w.button,w.ctrlKey,w.shiftKey,w.altKey,w.metaKey)}),2&s&&g.uIk("target",d.target)},inputs:{target:"target",queryParams:"queryParams",fragment:"fragment",queryParamsHandling:"queryParamsHandling",state:"state",relativeTo:"relativeTo",preserveFragment:"preserveFragment",skipLocationChange:"skipLocationChange",replaceUrl:"replaceUrl",routerLink:"routerLink"},standalone:!0,features:[g.TTD]}),u})();class ft{}let $u=(()=>{class u{constructor(s,d,y,w,M){this.router=s,this.injector=y,this.preloadingStrategy=w,this.loader=M}setUpPreloading(){this.subscription=this.router.events.pipe((0,Ht.h)(s=>s instanceof Ut),(0,Gn.b)(()=>this.preload())).subscribe(()=>{})}preload(){return this.processRoutes(this.injector,this.router.config)}ngOnDestroy(){this.subscription&&this.subscription.unsubscribe()}processRoutes(s,d){const y=[];for(const w of d){w.providers&&!w._injector&&(w._injector=(0,g.MMx)(w.providers,s,`Route: ${w.path}`));const M=w._injector??s,L=w._loadedInjector??M;w.loadChildren&&!w._loadedRoutes&&void 0===w.canLoad||w.loadComponent&&!w._loadedComponent?y.push(this.preloadConfig(M,w)):(w.children||w._loadedRoutes)&&y.push(this.processRoutes(L,w.children??w._loadedRoutes))}return(0,A.D)(y).pipe((0,le.J)())}preloadConfig(s,d){return this.preloadingStrategy.preload(d,()=>{let y;y=d.loadChildren&&void 0===d.canLoad?this.loader.loadChildren(s,d):(0,V.of)(null);const w=y.pipe((0,vt.zg)(M=>null===M?(0,V.of)(void 0):(d._loadedRoutes=M.routes,d._loadedInjector=M.injector,this.processRoutes(M.injector??s,M.routes))));if(d.loadComponent&&!d._loadedComponent){const M=this.loader.loadComponent(d);return(0,A.D)([w,M]).pipe((0,le.J)())}return w})}}return u.\u0275fac=function(s){return new(s||u)(g.LFG(Rn),g.LFG(g.Sil),g.LFG(g.lqb),g.LFG(ft),g.LFG(jo))},u.\u0275prov=g.Yz7({token:u,factory:u.\u0275fac,providedIn:"root"}),u})();const fa=new g.OlP("");let eu=(()=>{class u{constructor(s,d,y,w,M={}){this.urlSerializer=s,this.transitions=d,this.viewportScroller=y,this.zone=w,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.transitions.events.subscribe(s=>{s instanceof Mt?(this.store[this.lastId]=this.viewportScroller.getScrollPosition(),this.lastSource=s.navigationTrigger,this.restoredId=s.restoredState?s.restoredState.navigationId:0):s instanceof Ut&&(this.lastId=s.id,this.scheduleScrollEvent(s,this.urlSerializer.parse(s.urlAfterRedirects).fragment))})}consumeScrollEvents(){return this.transitions.events.subscribe(s=>{s instanceof Ys&&(s.position?"top"===this.options.scrollPositionRestoration?this.viewportScroller.scrollToPosition([0,0]):"enabled"===this.options.scrollPositionRestoration&&this.viewportScroller.scrollToPosition(s.position):s.anchor&&"enabled"===this.options.anchorScrolling?this.viewportScroller.scrollToAnchor(s.anchor):"disabled"!==this.options.scrollPositionRestoration&&this.viewportScroller.scrollToPosition([0,0]))})}scheduleScrollEvent(s,d){this.zone.runOutsideAngular(()=>{setTimeout(()=>{this.zone.run(()=>{this.transitions.events.next(new Ys(s,"popstate"===this.lastSource?this.store[this.restoredId]:null,d))})},0)})}ngOnDestroy(){this.routerEventsSubscription?.unsubscribe(),this.scrollEventsSubscription?.unsubscribe()}}return u.\u0275fac=function(s){g.$Z()},u.\u0275prov=g.Yz7({token:u,factory:u.\u0275fac}),u})();function di(u,c){return{\u0275kind:u,\u0275providers:c}}function pa(){const u=(0,g.f3M)(g.zs3);return c=>{const s=u.get(g.z2F);if(c!==s.components[0])return;const d=u.get(Rn),y=u.get(vn);1===u.get(Fr)&&d.initialNavigation(),u.get(Ss,null,g.XFs.Optional)?.setUpPreloading(),u.get(fa,null,g.XFs.Optional)?.init(),d.resetRootComponentType(s.componentTypes[0]),y.closed||(y.next(),y.unsubscribe())}}const vn=new g.OlP("",{factory:()=>new Ce.xQ}),Fr=new g.OlP("",{providedIn:"root",factory:()=>1});const Ss=new g.OlP("");function Vu(u){return di(0,[{provide:Ss,useExisting:$u},{provide:ft,useExisting:u}])}const Yi=new g.OlP("ROUTER_FORROOT_GUARD"),zo=[Lt.Ye,{provide:Tt,useClass:Ve},Rn,Wt,{provide:ur,useFactory:function Vo(u){return u.routerState.root},deps:[Rn]},jo,[]];function Gu(){return new g.PXZ("Router",Rn)}let ga=(()=>{class u{constructor(s){}static forRoot(s,d){return{ngModule:u,providers:[zo,[],{provide:ko,multi:!0,useValue:s},{provide:Yi,useFactory:ru,deps:[[Rn,new g.FiY,new g.tp0]]},{provide:ci,useValue:d||{}},d?.useHash?{provide:Lt.S$,useClass:Lt.Do}:{provide:Lt.S$,useClass:Lt.b0},{provide:fa,useFactory:()=>{const u=(0,g.f3M)(Lt.EM),c=(0,g.f3M)(g.R0b),s=(0,g.f3M)(ci),d=(0,g.f3M)(vs),y=(0,g.f3M)(Tt);return s.scrollOffset&&u.setOffset(s.scrollOffset),new eu(y,d,u,c,s)}},d?.preloadingStrategy?Vu(d.preloadingStrategy).\u0275providers:[],{provide:g.PXZ,multi:!0,useFactory:Gu},d?.initialNavigation?ou(d):[],[{provide:ma,useFactory:pa},{provide:g.tb,multi:!0,useExisting:ma}]]}}static forChild(s){return{ngModule:u,providers:[{provide:ko,multi:!0,useValue:s}]}}}return u.\u0275fac=function(s){return new(s||u)(g.LFG(Yi,8))},u.\u0275mod=g.oAB({type:u}),u.\u0275inj=g.cJS({imports:[fo]}),u})();function ru(u){return"guarded"}function ou(u){return["disabled"===u.initialNavigation?di(3,[{provide:g.ip1,multi:!0,useFactory:()=>{const c=(0,g.f3M)(Rn);return()=>{c.setUpLocationChangeListener()}}},{provide:Fr,useValue:2}]).\u0275providers:[],"enabledBlocking"===u.initialNavigation?di(2,[{provide:Fr,useValue:0},{provide:g.ip1,multi:!0,deps:[g.zs3],useFactory:c=>{const s=c.get(Lt.V_,Promise.resolve());return()=>s.then(()=>new Promise(y=>{const w=c.get(Rn),M=c.get(vn);(function d(y){c.get(Rn).events.pipe((0,Ht.h)(M=>M instanceof Ut||M instanceof Ir||M instanceof $r),(0,Me.U)(M=>M instanceof Ut||M instanceof Ir&&(0===M.code||1===M.code)&&null),(0,Ht.h)(M=>null!==M),$e(1)).subscribe(()=>{y()})})(()=>{y(!0)}),w.afterPreactivation=()=>(y(!0),M.closed?(0,V.of)(void 0):M),w.initialNavigation()}))}}]).\u0275providers:[]]}const ma=new g.OlP("")}},Le=>{Le(Le.s=759)}]); \ No newline at end of file diff --git a/docs/main.bd1ea1cc91825da8.js b/docs/main.bd1ea1cc91825da8.js new file mode 100644 index 0000000..8228618 --- /dev/null +++ b/docs/main.bd1ea1cc91825da8.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunknb_trans_demo=self.webpackChunknb_trans_demo||[]).push([[179],{759:(Le,he,N)=>{var g=N(481),A=N(738),H=N(723),re=N(352);class de{constructor(b){this.transService=b}resolve(){return this.transService.subscribeLoadDefaultOver().toPromise()}}de.\u0275fac=function(b){return new(b||de)(A.LFG(H.v6))},de.\u0275prov=A.Yz7({token:de,factory:de.\u0275fac,providedIn:"root"});const Q=[{path:"",resolve:{defalutLangLoadOver:de},children:[{path:"",loadChildren:()=>N.e(934).then(N.bind(N,934)).then($=>$.Feature1Module)},{path:"standalone",loadChildren:()=>N.e(651).then(N.bind(N,651)).then($=>$.routes)}]}];class ae{}ae.\u0275fac=function(b){return new(b||ae)},ae.\u0275mod=A.oAB({type:ae}),ae.\u0275inj=A.cJS({imports:[re.Bz.forRoot(Q,{initialNavigation:"enabledBlocking"}),re.Bz]});var q=N(895);const z=function(){return{prefix:"content"}},k=function($){return{prefix:"content",params:$}},j=function(){return{returnKeyWhenEmpty:!1}};class G{constructor(b){this.transService=b,this.params={params1:"{{params2}}",params2:"1111",params3:"2222"}}get title(){return this.transService.translationSync("title")}get lang(){return this.transService.lang}ngOnInit(){this.title$=this.transService.translationAsync("title")}onChangeLang(b){this.transService.changeLang(b).subscribe(C=>{console.log(C),C.result||alert("\u5207\u6362\u8bed\u8a00\u5931\u8d25\uff0c\u6ca1\u6709\u5bfc\u5165\u8be5\u8bed\u8a00\u5305,\u5f53\u524d\u8bed\u8a00\u662f:"+C.curLang)})}}G.\u0275fac=function(b){return new(b||G)(A.Y36(H.v6))},G.\u0275cmp=A.Xpm({type:G,selectors:[["app-root"]],decls:64,vars:40,consts:[["href","https://github.com/bigBear713/nb-trans/blob/master/projects/nb-trans/README.md","target","_blank"],["href","https://github.com/bigBear713/nb-trans/blob/master/CHANGELOG.md","target","_blank"],[1,"actions"],[3,"click"],["routerLink","/"],["routerLink","/standalone"]],template:function(b,C){1&b&&(A.TgZ(0,"h2")(1,"a",0),A._uU(2," Document "),A.qZA(),A.TgZ(3,"a",1),A._uU(4," Changelog "),A.qZA()(),A._UZ(5,"hr"),A.TgZ(6,"div",2)(7,"button",3),A.NdJ("click",function(){return C.onChangeLang("zh-CN")}),A._uU(8,"\u5207\u6362\u4e3a\u4e2d\u6587"),A.qZA(),A.TgZ(9,"button",3),A.NdJ("click",function(){return C.onChangeLang("en")}),A._uU(10,"\u5207\u6362\u4e3a\u82f1\u6587"),A.qZA(),A.TgZ(11,"button",3),A.NdJ("click",function(){return C.onChangeLang("other")}),A._uU(12,"\u5207\u6362\u4e3a\u5176\u5b83\u4e0d\u5b58\u5728\u7684\u8bed\u8a00"),A.qZA(),A._UZ(13,"hr"),A.qZA(),A.TgZ(14,"div")(15,"h5"),A._uU(16,"\u4f7f\u7528 nbTrans \u7ba1\u9053\uff0c\u8bed\u8a00\u5207\u6362\u65f6\u81ea\u52a8\u83b7\u53d6\u6700\u65b0\u7684\u7ffb\u8bd1"),A.qZA(),A._uU(17),A.ALo(18,"nbTrans"),A.qZA(),A._UZ(19,"hr"),A.TgZ(20,"div")(21,"h5"),A._uU(22,"\u4f7f\u7528 nbTrans \u7ba1\u9053\uff0ckey\u503c\u4e3a\u591a\u5c42"),A.qZA(),A._uU(23),A.ALo(24,"nbTrans"),A.qZA(),A._UZ(25,"hr"),A.TgZ(26,"div")(27,"h5"),A._uU(28),A.ALo(29,"json"),A.qZA(),A.TgZ(30,"p"),A._uU(31),A.ALo(32,"nbTrans"),A.qZA(),A._uU(33),A.ALo(34,"nbTrans"),A.qZA(),A._UZ(35,"hr"),A.TgZ(36,"div")(37,"h5"),A._uU(38,"\u901a\u8fc7getter\uff0c\u8c03\u7528translationSync()\u65f6\u65f6\u83b7\u53d6\u6700\u65b0\u7684\u7ffb\u8bd1"),A.qZA(),A._uU(39),A.qZA(),A._UZ(40,"hr"),A.TgZ(41,"div")(42,"h5"),A._uU(43,"\u8c03\u7528translationAsync()\u5f97\u5230\u4e00\u4e2aObservable,\u7ed3\u5408 async \u7ba1\u9053\u4f7f\u7528\uff0c\u8bed\u8a00\u5207\u6362\u65f6\u81ea\u52a8\u83b7\u53d6\u6700\u65b0\u7684\u7ffb\u8bd1"),A.qZA(),A.TgZ(44,"div"),A._uU(45),A.qZA(),A._uU(46),A.ALo(47,"async"),A.qZA(),A._UZ(48,"hr"),A.TgZ(49,"div"),A._uU(50),A.ALo(51,"nbTrans"),A.qZA(),A._UZ(52,"hr"),A.TgZ(53,"div"),A._uU(54),A.ALo(55,"nbTrans"),A.qZA(),A._UZ(56,"hr"),A.TgZ(57,"h3"),A._uU(58,"children component"),A.qZA(),A.TgZ(59,"a",4),A._uU(60,"Module Component"),A.qZA(),A.TgZ(61,"a",5),A._uU(62,"Standalone Component"),A.qZA(),A._UZ(63,"router-outlet")),2&b&&(A.xp6(17),A.AsE(" ","{{'title'| nbTrans}}\uff1a"," ",A.lcZ(18,17,"title"),"\n"),A.xp6(6),A.AsE(" ","{{'content.helloWorld'| nbTrans}}:"," ",A.lcZ(24,19,"content.helloWorld"),"\n"),A.xp6(5),A.hij("\u4f7f\u7528 nbTrans \u7ba1\u9053\uff0c\u5e26\u6709options\u53c2\u6570\u3002\u8bbe\u7f6ekey\u503c\u524d\u7f00\u548c\u7ffb\u8bd1\u6587\u672c\u4e2d\u7684\u53c2\u6570,params\u53c2\u6570\u4e3a\uff1a",A.lcZ(29,21,C.params),""),A.xp6(3),A.hij(" \u7ffb\u8bd1\u6587\u672c\u539f\u6587\uff1a",A.xi3(32,23,"contentWithParams",A.DdM(36,z))," "),A.xp6(2),A.AsE(" ","{{'contentWithParams'| nbTrans:({prefix:'content',params: params})}}:"," ",A.xi3(34,26,"contentWithParams",A.VKq(37,k,C.params)),"\n"),A.xp6(6),A.AsE(" ","get title(){return this.transService.translationSync('title');}:"," ",C.title,"\n"),A.xp6(6),A.Oqu("this.title$ = this.transService.translationAsync('title');// ts"),A.xp6(1),A.AsE(" ","{{title$ | async}}:"," ",A.lcZ(47,29,C.title$),"\n"),A.xp6(4),A.AsE(" ","{{'test.test'| nbTrans}}","\uff0c\u5f53key\u5bf9\u5e94\u7684\u5185\u5bb9\u4e0d\u5b58\u5728, \u9ed8\u8ba4\u8fd4\u56dekey: ",A.lcZ(51,31,"test.test"),"\n"),A.xp6(4),A.AsE(" ","{{'test.test'| nbTrans:({returnKeyWhenEmpty:false})}}","\uff0c\u5f53key\u5bf9\u5e94\u7684\u5185\u5bb9\u4e0d\u5b58\u5728, \u4e5f\u53ef\u4ee5\u8bbe\u7f6e\u8fd4\u56de\u7a7a\u5b57\u7b26\u4e32: ",A.xi3(55,33,"test.test",A.DdM(39,j)),"\n"))},dependencies:[re.lC,re.rH,q.Ov,q.Ts,H.y6],styles:["h2[_ngcontent-%COMP%] a[_ngcontent-%COMP%]{margin:0 8px}.actions[_ngcontent-%COMP%]{position:sticky;top:0;background-color:#fff}a[_ngcontent-%COMP%]{margin:0 5px}"]});var J=N(86),X=N(498),Te=N(406),ue=N(198),Se=N(850);class tt{}class Ye{}class le{constructor(b){this.normalizedNames=new Map,this.lazyUpdate=null,b?this.lazyInit="string"==typeof b?()=>{this.headers=new Map,b.split("\n").forEach(C=>{const T=C.indexOf(":");if(T>0){const x=C.slice(0,T),B=x.toLowerCase(),oe=C.slice(T+1).trim();this.maybeSetNormalizedName(x,B),this.headers.has(B)?this.headers.get(B).push(oe):this.headers.set(B,[oe])}})}:()=>{this.headers=new Map,Object.keys(b).forEach(C=>{let T=b[C];const x=C.toLowerCase();"string"==typeof T&&(T=[T]),T.length>0&&(this.headers.set(x,T),this.maybeSetNormalizedName(C,x))})}:this.headers=new Map}has(b){return this.init(),this.headers.has(b.toLowerCase())}get(b){this.init();const C=this.headers.get(b.toLowerCase());return C&&C.length>0?C[0]:null}keys(){return this.init(),Array.from(this.normalizedNames.values())}getAll(b){return this.init(),this.headers.get(b.toLowerCase())||null}append(b,C){return this.clone({name:b,value:C,op:"a"})}set(b,C){return this.clone({name:b,value:C,op:"s"})}delete(b,C){return this.clone({name:b,value:C,op:"d"})}maybeSetNormalizedName(b,C){this.normalizedNames.has(C)||this.normalizedNames.set(C,b)}init(){this.lazyInit&&(this.lazyInit instanceof le?this.copyFrom(this.lazyInit):this.lazyInit(),this.lazyInit=null,this.lazyUpdate&&(this.lazyUpdate.forEach(b=>this.applyUpdate(b)),this.lazyUpdate=null))}copyFrom(b){b.init(),Array.from(b.headers.keys()).forEach(C=>{this.headers.set(C,b.headers.get(C)),this.normalizedNames.set(C,b.normalizedNames.get(C))})}clone(b){const C=new le;return C.lazyInit=this.lazyInit&&this.lazyInit instanceof le?this.lazyInit:this,C.lazyUpdate=(this.lazyUpdate||[]).concat([b]),C}applyUpdate(b){const C=b.name.toLowerCase();switch(b.op){case"a":case"s":let T=b.value;if("string"==typeof T&&(T=[T]),0===T.length)return;this.maybeSetNormalizedName(b.name,C);const x=("a"===b.op?this.headers.get(C):void 0)||[];x.push(...T),this.headers.set(C,x);break;case"d":const B=b.value;if(B){let oe=this.headers.get(C);if(!oe)return;oe=oe.filter(ee=>-1===B.indexOf(ee)),0===oe.length?(this.headers.delete(C),this.normalizedNames.delete(C)):this.headers.set(C,oe)}else this.headers.delete(C),this.normalizedNames.delete(C)}}forEach(b){this.init(),Array.from(this.normalizedNames.keys()).forEach(C=>b(this.normalizedNames.get(C),this.headers.get(C)))}}class hn{encodeKey(b){return _t(b)}encodeValue(b){return _t(b)}decodeKey(b){return decodeURIComponent(b)}decodeValue(b){return decodeURIComponent(b)}}const qn=/%(\d[a-f0-9])/gi,Ee={40:"@","3A":":",24:"$","2C":",","3B":";","3D":"=","3F":"?","2F":"/"};function _t($){return encodeURIComponent($).replace(qn,(b,C)=>Ee[C]??b)}function ge($){return`${$}`}class ye{constructor(b={}){if(this.updates=null,this.cloneFrom=null,this.encoder=b.encoder||new hn,b.fromString){if(b.fromObject)throw new Error("Cannot specify both fromString and fromObject.");this.map=function qt($,b){const C=new Map;return $.length>0&&$.replace(/^\?/,"").split("&").forEach(x=>{const B=x.indexOf("="),[oe,ee]=-1==B?[b.decodeKey(x),""]:[b.decodeKey(x.slice(0,B)),b.decodeValue(x.slice(B+1))],se=C.get(oe)||[];se.push(ee),C.set(oe,se)}),C}(b.fromString,this.encoder)}else b.fromObject?(this.map=new Map,Object.keys(b.fromObject).forEach(C=>{const T=b.fromObject[C],x=Array.isArray(T)?T.map(ge):[ge(T)];this.map.set(C,x)})):this.map=null}has(b){return this.init(),this.map.has(b)}get(b){this.init();const C=this.map.get(b);return C?C[0]:null}getAll(b){return this.init(),this.map.get(b)||null}keys(){return this.init(),Array.from(this.map.keys())}append(b,C){return this.clone({param:b,value:C,op:"a"})}appendAll(b){const C=[];return Object.keys(b).forEach(T=>{const x=b[T];Array.isArray(x)?x.forEach(B=>{C.push({param:T,value:B,op:"a"})}):C.push({param:T,value:x,op:"a"})}),this.clone(C)}set(b,C){return this.clone({param:b,value:C,op:"s"})}delete(b,C){return this.clone({param:b,value:C,op:"d"})}toString(){return this.init(),this.keys().map(b=>{const C=this.encoder.encodeKey(b);return this.map.get(b).map(T=>C+"="+this.encoder.encodeValue(T)).join("&")}).filter(b=>""!==b).join("&")}clone(b){const C=new ye({encoder:this.encoder});return C.cloneFrom=this.cloneFrom||this,C.updates=(this.updates||[]).concat(b),C}init(){null===this.map&&(this.map=new Map),null!==this.cloneFrom&&(this.cloneFrom.init(),this.cloneFrom.keys().forEach(b=>this.map.set(b,this.cloneFrom.map.get(b))),this.updates.forEach(b=>{switch(b.op){case"a":case"s":const C=("a"===b.op?this.map.get(b.param):void 0)||[];C.push(ge(b.value)),this.map.set(b.param,C);break;case"d":if(void 0===b.value){this.map.delete(b.param);break}{let T=this.map.get(b.param)||[];const x=T.indexOf(ge(b.value));-1!==x&&T.splice(x,1),T.length>0?this.map.set(b.param,T):this.map.delete(b.param)}}}),this.cloneFrom=this.updates=null)}}class nt{constructor(){this.map=new Map}set(b,C){return this.map.set(b,C),this}get(b){return this.map.has(b)||this.map.set(b,b.defaultValue()),this.map.get(b)}delete(b){return this.map.delete(b),this}has(b){return this.map.has(b)}keys(){return this.map.keys()}}function Bt($){return typeof ArrayBuffer<"u"&&$ instanceof ArrayBuffer}function Me($){return typeof Blob<"u"&&$ instanceof Blob}function Ue($){return typeof FormData<"u"&&$ instanceof FormData}class Qt{constructor(b,C,T,x){let B;if(this.url=C,this.body=null,this.reportProgress=!1,this.withCredentials=!1,this.responseType="json",this.method=b.toUpperCase(),function Ce($){switch($){case"DELETE":case"GET":case"HEAD":case"OPTIONS":case"JSONP":return!1;default:return!0}}(this.method)||x?(this.body=void 0!==T?T:null,B=x):B=T,B&&(this.reportProgress=!!B.reportProgress,this.withCredentials=!!B.withCredentials,B.responseType&&(this.responseType=B.responseType),B.headers&&(this.headers=B.headers),B.context&&(this.context=B.context),B.params&&(this.params=B.params)),this.headers||(this.headers=new le),this.context||(this.context=new nt),this.params){const oe=this.params.toString();if(0===oe.length)this.urlWithParams=C;else{const ee=C.indexOf("?");this.urlWithParams=C+(-1===ee?"?":eeun.set(Ot,b.setHeaders[Ot]),se)),b.setParams&&(Ze=Object.keys(b.setParams).reduce((un,Ot)=>un.set(Ot,b.setParams[Ot]),Ze)),new Qt(C,T,B,{params:Ze,headers:se,context:$t,reportProgress:ee,responseType:x,withCredentials:oe})}}var We=(()=>((We=We||{})[We.Sent=0]="Sent",We[We.UploadProgress=1]="UploadProgress",We[We.ResponseHeader=2]="ResponseHeader",We[We.DownloadProgress=3]="DownloadProgress",We[We.Response=4]="Response",We[We.User=5]="User",We))();class Pr{constructor(b,C=200,T="OK"){this.headers=b.headers||new le,this.status=void 0!==b.status?b.status:C,this.statusText=b.statusText||T,this.url=b.url||null,this.ok=this.status>=200&&this.status<300}}class Or extends Pr{constructor(b={}){super(b),this.type=We.ResponseHeader}clone(b={}){return new Or({headers:b.headers||this.headers,status:void 0!==b.status?b.status:this.status,statusText:b.statusText||this.statusText,url:b.url||this.url||void 0})}}class Rn extends Pr{constructor(b={}){super(b),this.type=We.Response,this.body=void 0!==b.body?b.body:null}clone(b={}){return new Rn({body:void 0!==b.body?b.body:this.body,headers:b.headers||this.headers,status:void 0!==b.status?b.status:this.status,statusText:b.statusText||this.statusText,url:b.url||this.url||void 0})}}class Ct extends Pr{constructor(b){super(b,0,"Unknown Error"),this.name="HttpErrorResponse",this.ok=!1,this.message=this.status>=200&&this.status<300?`Http failure during parsing for ${b.url||"(unknown url)"}`:`Http failure response for ${b.url||"(unknown url)"}: ${b.status} ${b.statusText}`,this.error=b.error||null}}function Et($,b){return{body:b,headers:$.headers,context:$.context,observe:$.observe,params:$.params,reportProgress:$.reportProgress,responseType:$.responseType,withCredentials:$.withCredentials}}let rt=(()=>{class ${constructor(C){this.handler=C}request(C,T,x={}){let B;if(C instanceof Qt)B=C;else{let se,Ze;se=x.headers instanceof le?x.headers:new le(x.headers),x.params&&(Ze=x.params instanceof ye?x.params:new ye({fromObject:x.params})),B=new Qt(C,T,void 0!==x.body?x.body:null,{headers:se,context:x.context,params:Ze,reportProgress:x.reportProgress,responseType:x.responseType||"json",withCredentials:x.withCredentials})}const oe=(0,J.of)(B).pipe((0,Te.b)(se=>this.handler.handle(se)));if(C instanceof Qt||"events"===x.observe)return oe;const ee=oe.pipe((0,ue.h)(se=>se instanceof Rn));switch(x.observe||"body"){case"body":switch(B.responseType){case"arraybuffer":return ee.pipe((0,Se.U)(se=>{if(null!==se.body&&!(se.body instanceof ArrayBuffer))throw new Error("Response is not an ArrayBuffer.");return se.body}));case"blob":return ee.pipe((0,Se.U)(se=>{if(null!==se.body&&!(se.body instanceof Blob))throw new Error("Response is not a Blob.");return se.body}));case"text":return ee.pipe((0,Se.U)(se=>{if(null!==se.body&&"string"!=typeof se.body)throw new Error("Response is not a string.");return se.body}));default:return ee.pipe((0,Se.U)(se=>se.body))}case"response":return ee;default:throw new Error(`Unreachable: unhandled observe type ${x.observe}}`)}}delete(C,T={}){return this.request("DELETE",C,T)}get(C,T={}){return this.request("GET",C,T)}head(C,T={}){return this.request("HEAD",C,T)}jsonp(C,T){return this.request("JSONP",C,{params:(new ye).append(T,"JSONP_CALLBACK"),observe:"body",responseType:"json"})}options(C,T={}){return this.request("OPTIONS",C,T)}patch(C,T,x={}){return this.request("PATCH",C,Et(x,T))}post(C,T,x={}){return this.request("POST",C,Et(x,T))}put(C,T,x={}){return this.request("PUT",C,Et(x,T))}}return $.\u0275fac=function(C){return new(C||$)(A.LFG(tt))},$.\u0275prov=A.Yz7({token:$,factory:$.\u0275fac}),$})();function Qn($,b){return b($)}function Ci($,b){return(C,T)=>b.intercept(C,{handle:x=>$(x,T)})}const Ve=new A.OlP("HTTP_INTERCEPTORS"),Jn=new A.OlP("HTTP_INTERCEPTOR_FNS");function mo(){let $=null;return(b,C)=>(null===$&&($=((0,A.f3M)(Ve,{optional:!0})??[]).reduceRight(Ci,Qn)),$(b,C))}let cr=(()=>{class $ extends tt{constructor(C,T){super(),this.backend=C,this.injector=T,this.chain=null}handle(C){if(null===this.chain){const T=Array.from(new Set(this.injector.get(Jn)));this.chain=T.reduceRight((x,B)=>function Gt($,b,C){return(T,x)=>C.runInContext(()=>b(T,B=>$(B,x)))}(x,B,this.injector),Qn)}return this.chain(C,T=>this.backend.handle(T))}}return $.\u0275fac=function(C){return new(C||$)(A.LFG(Ye),A.LFG(A.lqb))},$.\u0275prov=A.Yz7({token:$,factory:$.\u0275fac}),$})();const yt=/^\)\]\}',?\n/;let ie=(()=>{class ${constructor(C){this.xhrFactory=C}handle(C){if("JSONP"===C.method)throw new Error("Attempted to construct Jsonp request without HttpClientJsonpModule installed.");return new X.y(T=>{const x=this.xhrFactory.build();if(x.open(C.method,C.urlWithParams),C.withCredentials&&(x.withCredentials=!0),C.headers.forEach((Ke,ct)=>x.setRequestHeader(Ke,ct.join(","))),C.headers.has("Accept")||x.setRequestHeader("Accept","application/json, text/plain, */*"),!C.headers.has("Content-Type")){const Ke=C.detectContentTypeHeader();null!==Ke&&x.setRequestHeader("Content-Type",Ke)}if(C.responseType){const Ke=C.responseType.toLowerCase();x.responseType="json"!==Ke?Ke:"text"}const B=C.serializeBody();let oe=null;const ee=()=>{if(null!==oe)return oe;const Ke=x.statusText||"OK",ct=new le(x.getAllResponseHeaders()),In=function Ie($){return"responseURL"in $&&$.responseURL?$.responseURL:/^X-Request-URL:/m.test($.getAllResponseHeaders())?$.getResponseHeader("X-Request-URL"):null}(x)||C.url;return oe=new Or({headers:ct,status:x.status,statusText:Ke,url:In}),oe},se=()=>{let{headers:Ke,status:ct,statusText:In,url:Dn}=ee(),kt=null;204!==ct&&(kt=typeof x.response>"u"?x.responseText:x.response),0===ct&&(ct=kt?200:0);let On=ct>=200&&ct<300;if("json"===C.responseType&&"string"==typeof kt){const _o=kt;kt=kt.replace(yt,"");try{kt=""!==kt?JSON.parse(kt):null}catch(kr){kt=_o,On&&(On=!1,kt={error:kr,text:kt})}}On?(T.next(new Rn({body:kt,headers:Ke,status:ct,statusText:In,url:Dn||void 0})),T.complete()):T.error(new Ct({error:kt,headers:Ke,status:ct,statusText:In,url:Dn||void 0}))},Ze=Ke=>{const{url:ct}=ee(),In=new Ct({error:Ke,status:x.status||0,statusText:x.statusText||"Unknown Error",url:ct||void 0});T.error(In)};let $t=!1;const un=Ke=>{$t||(T.next(ee()),$t=!0);let ct={type:We.DownloadProgress,loaded:Ke.loaded};Ke.lengthComputable&&(ct.total=Ke.total),"text"===C.responseType&&!!x.responseText&&(ct.partialText=x.responseText),T.next(ct)},Ot=Ke=>{let ct={type:We.UploadProgress,loaded:Ke.loaded};Ke.lengthComputable&&(ct.total=Ke.total),T.next(ct)};return x.addEventListener("load",se),x.addEventListener("error",Ze),x.addEventListener("timeout",Ze),x.addEventListener("abort",Ze),C.reportProgress&&(x.addEventListener("progress",un),null!==B&&x.upload&&x.upload.addEventListener("progress",Ot)),x.send(B),T.next({type:We.Sent}),()=>{x.removeEventListener("error",Ze),x.removeEventListener("abort",Ze),x.removeEventListener("load",se),x.removeEventListener("timeout",Ze),C.reportProgress&&(x.removeEventListener("progress",un),null!==B&&x.upload&&x.upload.removeEventListener("progress",Ot)),x.readyState!==x.DONE&&x.abort()}})}}return $.\u0275fac=function(C){return new(C||$)(A.LFG(q.JF))},$.\u0275prov=A.Yz7({token:$,factory:$.\u0275fac}),$})();const tr=new A.OlP("XSRF_ENABLED"),xn="XSRF-TOKEN",Qe=new A.OlP("XSRF_COOKIE_NAME",{providedIn:"root",factory:()=>xn}),Pn="X-XSRF-TOKEN",Ht=new A.OlP("XSRF_HEADER_NAME",{providedIn:"root",factory:()=>Pn});class at{}let vt=(()=>{class ${constructor(C,T,x){this.doc=C,this.platform=T,this.cookieName=x,this.lastCookieString="",this.lastToken=null,this.parseCount=0}getToken(){if("server"===this.platform)return null;const C=this.doc.cookie||"";return C!==this.lastCookieString&&(this.parseCount++,this.lastToken=(0,q.Mx)(C,this.cookieName),this.lastCookieString=C),this.lastToken}}return $.\u0275fac=function(C){return new(C||$)(A.LFG(q.K0),A.LFG(A.Lbi),A.LFG(Qe))},$.\u0275prov=A.Yz7({token:$,factory:$.\u0275fac}),$})();function vo($,b){const C=$.url.toLowerCase();if(!(0,A.f3M)(tr)||"GET"===$.method||"HEAD"===$.method||C.startsWith("http://")||C.startsWith("https://"))return b($);const T=(0,A.f3M)(at).getToken(),x=(0,A.f3M)(Ht);return null!=T&&!$.headers.has(x)&&($=$.clone({headers:$.headers.set(x,T)})),b($)}var De=(()=>((De=De||{})[De.Interceptors=0]="Interceptors",De[De.LegacyInterceptors=1]="LegacyInterceptors",De[De.CustomXsrfConfiguration=2]="CustomXsrfConfiguration",De[De.NoXsrfProtection=3]="NoXsrfProtection",De[De.JsonpSupport=4]="JsonpSupport",De[De.RequestsMadeViaParent=5]="RequestsMadeViaParent",De))();function Tt($,b){return{\u0275kind:$,\u0275providers:b}}function lr(...$){const b=[rt,ie,cr,{provide:tt,useExisting:cr},{provide:Ye,useExisting:ie},{provide:Jn,useValue:vo,multi:!0},{provide:tr,useValue:!0},{provide:at,useClass:vt}];for(const C of $)b.push(...C.\u0275providers);return(0,A.MR2)(b)}const Lr=new A.OlP("LEGACY_INTERCEPTOR_FN");function Jt({cookieName:$,headerName:b}){const C=[];return void 0!==$&&C.push({provide:Qe,useValue:$}),void 0!==b&&C.push({provide:Ht,useValue:b}),Tt(De.CustomXsrfConfiguration,C)}let Mt=(()=>{class ${}return $.\u0275fac=function(C){return new(C||$)},$.\u0275mod=A.oAB({type:$}),$.\u0275inj=A.cJS({providers:[lr(Tt(De.LegacyInterceptors,[{provide:Lr,useFactory:mo},{provide:Jn,useExisting:Lr,multi:!0}]),Jt({cookieName:xn,headerName:Pn}))]}),$})();class rn{}function dr(){g.q6().bootstrapModule(rn).catch($=>console.error($))}rn.\u0275fac=function(b){return new(b||rn)},rn.\u0275mod=A.oAB({type:rn,bootstrap:[G]}),rn.\u0275inj=A.cJS({providers:[{provide:H.oo,useValue:H.oi.ZH_CN},{provide:H.x,useValue:{[H.oi.EN]:()=>N.e(906).then(N.bind(N,906)).then($=>$.trans),[H.oi.ZH_CN]:()=>N.e(881).then(N.bind(N,881)).then($=>$.trans)}},{provide:H.x,useFactory:$=>({[H.oi.EN]:()=>$.get("./assets/localization/en/translations.json"),[H.oi.ZH_CN]:()=>$.get("./assets/localization/zh-CN/translations.json")}),deps:[rt]}],imports:[g.b2.withServerTransition({appId:"serverApp"}),H.pT,Mt,ae]}),(0,A.G48)(),"complete"===document.readyState?dr():document.addEventListener("DOMContentLoaded",dr)},591:(Le,he,N)=>{N.d(he,{X:()=>H});var g=N(529),A=N(279);class H extends g.xQ{constructor(de){super(),this._value=de}get value(){return this.getValue()}_subscribe(de){const Q=super._subscribe(de);return Q&&!Q.closed&&de.next(this._value),Q}getValue(){if(this.hasError)throw this.thrownError;if(this.closed)throw new A.N;return this._value}next(de){super.next(this._value=de)}}},498:(Le,he,N)=>{N.d(he,{y:()=>z});var g=N(489),H=N(668),re=N(292),Q=N(821),ae=N(843),q=N(735);let z=(()=>{class j{constructor(J){this._isScalar=!1,J&&(this._subscribe=J)}lift(J){const X=new j;return X.source=this,X.operator=J,X}subscribe(J,X,Te){const{operator:ue}=this,Se=function de(j,G,J){if(j){if(j instanceof g.L)return j;if(j[H.b])return j[H.b]()}return j||G||J?new g.L(j,G,J):new g.L(re.c)}(J,X,Te);if(Se.add(ue?ue.call(Se,this.source):this.source||q.v.useDeprecatedSynchronousErrorHandling&&!Se.syncErrorThrowable?this._subscribe(Se):this._trySubscribe(Se)),q.v.useDeprecatedSynchronousErrorHandling&&Se.syncErrorThrowable&&(Se.syncErrorThrowable=!1,Se.syncErrorThrown))throw Se.syncErrorValue;return Se}_trySubscribe(J){try{return this._subscribe(J)}catch(X){q.v.useDeprecatedSynchronousErrorHandling&&(J.syncErrorThrown=!0,J.syncErrorValue=X),function A(j){for(;j;){const{closed:G,destination:J,isStopped:X}=j;if(G||X)return!1;j=J&&J instanceof g.L?J:null}return!0}(J)?J.error(X):console.warn(X)}}forEach(J,X){return new(X=k(X))((Te,ue)=>{let Se;Se=this.subscribe(tt=>{try{J(tt)}catch(Ye){ue(Ye),Se&&Se.unsubscribe()}},ue,Te)})}_subscribe(J){const{source:X}=this;return X&&X.subscribe(J)}[Q.L](){return this}pipe(...J){return 0===J.length?this:(0,ae.U)(J)(this)}toPromise(J){return new(J=k(J))((X,Te)=>{let ue;this.subscribe(Se=>ue=Se,Se=>Te(Se),()=>X(ue))})}}return j.create=G=>new j(G),j})();function k(j){if(j||(j=q.v.Promise||Promise),!j)throw new Error("no Promise impl found");return j}},292:(Le,he,N)=>{N.d(he,{c:()=>H});var g=N(735),A=N(782);const H={closed:!0,next(re){},error(re){if(g.v.useDeprecatedSynchronousErrorHandling)throw re;(0,A.z)(re)},complete(){}}},529:(Le,he,N)=>{N.d(he,{xQ:()=>q,Yc:()=>ae});var g=N(498),A=N(489),H=N(654),re=N(279);class de extends H.w{constructor(j,G){super(),this.subject=j,this.subscriber=G,this.closed=!1}unsubscribe(){if(this.closed)return;this.closed=!0;const j=this.subject,G=j.observers;if(this.subject=null,!G||0===G.length||j.isStopped||j.closed)return;const J=G.indexOf(this.subscriber);-1!==J&&G.splice(J,1)}}var Q=N(668);class ae extends A.L{constructor(j){super(j),this.destination=j}}let q=(()=>{class k extends g.y{constructor(){super(),this.observers=[],this.closed=!1,this.isStopped=!1,this.hasError=!1,this.thrownError=null}[Q.b](){return new ae(this)}lift(G){const J=new z(this,this);return J.operator=G,J}next(G){if(this.closed)throw new re.N;if(!this.isStopped){const{observers:J}=this,X=J.length,Te=J.slice();for(let ue=0;uenew z(j,G),k})();class z extends q{constructor(j,G){super(),this.destination=j,this.source=G}next(j){const{destination:G}=this;G&&G.next&&G.next(j)}error(j){const{destination:G}=this;G&&G.error&&this.destination.error(j)}complete(){const{destination:j}=this;j&&j.complete&&this.destination.complete()}_subscribe(j){const{source:G}=this;return G?this.source.subscribe(j):H.w.EMPTY}}},489:(Le,he,N)=>{N.d(he,{L:()=>ae});var g=N(43),A=N(292),H=N(654),re=N(668),de=N(735),Q=N(782);class ae extends H.w{constructor(k,j,G){switch(super(),this.syncErrorValue=null,this.syncErrorThrown=!1,this.syncErrorThrowable=!1,this.isStopped=!1,arguments.length){case 0:this.destination=A.c;break;case 1:if(!k){this.destination=A.c;break}if("object"==typeof k){k instanceof ae?(this.syncErrorThrowable=k.syncErrorThrowable,this.destination=k,k.add(this)):(this.syncErrorThrowable=!0,this.destination=new q(this,k));break}default:this.syncErrorThrowable=!0,this.destination=new q(this,k,j,G)}}[re.b](){return this}static create(k,j,G){const J=new ae(k,j,G);return J.syncErrorThrowable=!1,J}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 q extends ae{constructor(k,j,G,J){super(),this._parentSubscriber=k;let X,Te=this;(0,g.m)(j)?X=j:j&&(X=j.next,G=j.error,J=j.complete,j!==A.c&&(Te=Object.create(j),(0,g.m)(Te.unsubscribe)&&this.add(Te.unsubscribe.bind(Te)),Te.unsubscribe=this.unsubscribe.bind(this))),this._context=Te,this._next=X,this._error=G,this._complete=J}next(k){if(!this.isStopped&&this._next){const{_parentSubscriber:j}=this;de.v.useDeprecatedSynchronousErrorHandling&&j.syncErrorThrowable?this.__tryOrSetError(j,this._next,k)&&this.unsubscribe():this.__tryOrUnsub(this._next,k)}}error(k){if(!this.isStopped){const{_parentSubscriber:j}=this,{useDeprecatedSynchronousErrorHandling:G}=de.v;if(this._error)G&&j.syncErrorThrowable?(this.__tryOrSetError(j,this._error,k),this.unsubscribe()):(this.__tryOrUnsub(this._error,k),this.unsubscribe());else if(j.syncErrorThrowable)G?(j.syncErrorValue=k,j.syncErrorThrown=!0):(0,Q.z)(k),this.unsubscribe();else{if(this.unsubscribe(),G)throw k;(0,Q.z)(k)}}}complete(){if(!this.isStopped){const{_parentSubscriber:k}=this;if(this._complete){const j=()=>this._complete.call(this._context);de.v.useDeprecatedSynchronousErrorHandling&&k.syncErrorThrowable?(this.__tryOrSetError(k,j),this.unsubscribe()):(this.__tryOrUnsub(j),this.unsubscribe())}else this.unsubscribe()}}__tryOrUnsub(k,j){try{k.call(this._context,j)}catch(G){if(this.unsubscribe(),de.v.useDeprecatedSynchronousErrorHandling)throw G;(0,Q.z)(G)}}__tryOrSetError(k,j,G){if(!de.v.useDeprecatedSynchronousErrorHandling)throw new Error("bad call");try{j.call(this._context,G)}catch(J){return de.v.useDeprecatedSynchronousErrorHandling?(k.syncErrorValue=J,k.syncErrorThrown=!0,!0):((0,Q.z)(J),!0)}return!1}_unsubscribe(){const{_parentSubscriber:k}=this;this._context=null,this._parentSubscriber=null,k.unsubscribe()}}},654:(Le,he,N)=>{N.d(he,{w:()=>Q});var g=N(688),A=N(830),H=N(43);const de=(()=>{function q(z){return Error.call(this),this.message=z?`${z.length} errors occurred during unsubscription:\n${z.map((k,j)=>`${j+1}) ${k.toString()}`).join("\n ")}`:"",this.name="UnsubscriptionError",this.errors=z,this}return q.prototype=Object.create(Error.prototype),q})();class Q{constructor(z){this.closed=!1,this._parentOrParents=null,this._subscriptions=null,z&&(this._ctorUnsubscribe=!0,this._unsubscribe=z)}unsubscribe(){let z;if(this.closed)return;let{_parentOrParents:k,_ctorUnsubscribe:j,_unsubscribe:G,_subscriptions:J}=this;if(this.closed=!0,this._parentOrParents=null,this._subscriptions=null,k instanceof Q)k.remove(this);else if(null!==k)for(let X=0;Xz.concat(k instanceof de?k.errors:k),[])}Q.EMPTY=((q=new Q).closed=!0,q)},735:(Le,he,N)=>{N.d(he,{v:()=>A});let g=!1;const A={Promise:void 0,set useDeprecatedSynchronousErrorHandling(H){if(H){const re=new Error;console.warn("DEPRECATED! RxJS was set to use deprecated synchronous error handling behavior by code at: \n"+re.stack)}else g&&console.log("RxJS: Back to a better error behavior. Thank you. <3");g=H},get useDeprecatedSynchronousErrorHandling(){return g}}},177:(Le,he,N)=>{N.d(he,{Ds:()=>Q,IY:()=>re,ft:()=>q});var g=N(489),A=N(498),H=N(249);class re extends g.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 Q extends g.L{notifyNext(k){this.destination.next(k)}notifyError(k){this.destination.error(k)}notifyComplete(){this.destination.complete()}}function q(z,k){if(k.closed)return;if(z instanceof A.y)return z.subscribe(k);let j;try{j=(0,H.s)(z)(k)}catch(G){k.error(G)}return j}},762:(Le,he,N)=>{N.d(he,{N:()=>Q,c:()=>de});var g=N(529),A=N(498),H=N(654),re=N(327);class de extends A.y{constructor(j,G){super(),this.source=j,this.subjectFactory=G,this._refCount=0,this._isComplete=!1}_subscribe(j){return this.getSubject().subscribe(j)}getSubject(){const j=this._subject;return(!j||j.isStopped)&&(this._subject=this.subjectFactory()),this._subject}connect(){let j=this._connection;return j||(this._isComplete=!1,j=this._connection=new H.w,j.add(this.source.subscribe(new ae(this.getSubject(),this))),j.closed&&(this._connection=null,j=H.w.EMPTY)),j}refCount(){return(0,re.x)()(this)}}const Q=(()=>{const k=de.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 ae extends g.Yc{constructor(j,G){super(j),this.connectable=G}_error(j){this._unsubscribe(),super._error(j)}_complete(){this.connectable._isComplete=!0,this._unsubscribe(),super._complete()}_unsubscribe(){const j=this.connectable;if(j){this.connectable=null;const G=j._connection;j._refCount=0,j._subject=null,j._connection=null,G&&G.unsubscribe()}}}},254:(Le,he,N)=>{N.d(he,{D:()=>Te});var g=N(498),A=N(249),H=N(654),re=N(821),ae=N(454),q=N(430),j=N(955),G=N(515);function Te(ue,Se){return Se?function X(ue,Se){if(null!=ue){if(function k(ue){return ue&&"function"==typeof ue[re.L]}(ue))return function de(ue,Se){return new g.y(tt=>{const Ye=new H.w;return Ye.add(Se.schedule(()=>{const le=ue[re.L]();Ye.add(le.subscribe({next(Zt){Ye.add(Se.schedule(()=>tt.next(Zt)))},error(Zt){Ye.add(Se.schedule(()=>tt.error(Zt)))},complete(){Ye.add(Se.schedule(()=>tt.complete()))}}))})),Ye})}(ue,Se);if((0,j.t)(ue))return function Q(ue,Se){return new g.y(tt=>{const Ye=new H.w;return Ye.add(Se.schedule(()=>ue.then(le=>{Ye.add(Se.schedule(()=>{tt.next(le),Ye.add(Se.schedule(()=>tt.complete()))}))},le=>{Ye.add(Se.schedule(()=>tt.error(le)))}))),Ye})}(ue,Se);if((0,G.z)(ue))return(0,ae.r)(ue,Se);if(function J(ue){return ue&&"function"==typeof ue[q.hZ]}(ue)||"string"==typeof ue)return function z(ue,Se){if(!ue)throw new Error("Iterable cannot be null");return new g.y(tt=>{const Ye=new H.w;let le;return Ye.add(()=>{le&&"function"==typeof le.return&&le.return()}),Ye.add(Se.schedule(()=>{le=ue[q.hZ](),Ye.add(Se.schedule(function(){if(tt.closed)return;let Zt,hn;try{const qt=le.next();Zt=qt.value,hn=qt.done}catch(qt){return void tt.error(qt)}hn?tt.complete():(tt.next(Zt),this.schedule())}))})),Ye})}(ue,Se)}throw new TypeError((null!==ue&&typeof ue||ue)+" is not observable")}(ue,Se):ue instanceof g.y?ue:new g.y((0,A.s)(ue))}},9:(Le,he,N)=>{N.d(he,{n:()=>re});var g=N(498),A=N(650),H=N(454);function re(de,Q){return Q?(0,H.r)(de,Q):new g.y((0,A.V)(de))}},86:(Le,he,N)=>{N.d(he,{of:()=>re});var g=N(866),A=N(9),H=N(454);function re(...de){let Q=de[de.length-1];return(0,g.K)(Q)?(de.pop(),(0,H.r)(de,Q)):(0,A.n)(de)}},221:(Le,he,N)=>{N.d(he,{K:()=>A});var g=N(177);function A(de){return function(ae){const q=new H(de),z=ae.lift(q);return q.caught=z}}class H{constructor(Q){this.selector=Q}call(Q,ae){return ae.subscribe(new re(Q,this.selector,this.caught))}}class re extends g.Ds{constructor(Q,ae,q){super(Q),this.selector=ae,this.caught=q}error(Q){if(!this.isStopped){let ae;try{ae=this.selector(Q,this.caught)}catch(k){return void super.error(k)}this._unsubscribeAndRecycle();const q=new g.IY(this);this.add(q);const z=(0,g.ft)(ae,q);z!==q&&this.add(z)}}}},406:(Le,he,N)=>{N.d(he,{b:()=>A});var g=N(709);function A(H,re){return(0,g.zg)(H,re,1)}},198:(Le,he,N)=>{N.d(he,{h:()=>A});var g=N(489);function A(de,Q){return function(q){return q.lift(new H(de,Q))}}class H{constructor(Q,ae){this.predicate=Q,this.thisArg=ae}call(Q,ae){return ae.subscribe(new re(Q,this.predicate,this.thisArg))}}class re extends g.L{constructor(Q,ae,q){super(Q),this.predicate=ae,this.thisArg=q,this.count=0}_next(Q){let ae;try{ae=this.predicate.call(this.thisArg,Q,this.count++)}catch(q){return void this.destination.error(q)}ae&&this.destination.next(Q)}}},850:(Le,he,N)=>{N.d(he,{U:()=>A});var g=N(489);function A(de,Q){return function(q){if("function"!=typeof de)throw new TypeError("argument is not a function. Are you looking for `mapTo()`?");return q.lift(new H(de,Q))}}class H{constructor(Q,ae){this.project=Q,this.thisArg=ae}call(Q,ae){return ae.subscribe(new re(Q,this.project,this.thisArg))}}class re extends g.L{constructor(Q,ae,q){super(Q),this.project=ae,this.count=0,this.thisArg=q||this}_next(Q){let ae;try{ae=this.project.call(this.thisArg,Q,this.count++)}catch(q){return void this.destination.error(q)}this.destination.next(ae)}}},146:(Le,he,N)=>{N.d(he,{J:()=>H});var g=N(709),A=N(379);function H(re=Number.POSITIVE_INFINITY){return(0,g.zg)(A.y,re)}},709:(Le,he,N)=>{N.d(he,{zg:()=>re});var g=N(850),A=N(254),H=N(177);function re(q,z,k=Number.POSITIVE_INFINITY){return"function"==typeof z?j=>j.pipe(re((G,J)=>(0,A.D)(q(G,J)).pipe((0,g.U)((X,Te)=>z(G,X,J,Te))),k)):("number"==typeof z&&(k=z),j=>j.lift(new de(q,k)))}class de{constructor(z,k=Number.POSITIVE_INFINITY){this.project=z,this.concurrent=k}call(z,k){return k.subscribe(new Q(z,this.project,this.concurrent))}}class Q extends H.Ds{constructor(z,k,j=Number.POSITIVE_INFINITY){super(z),this.project=k,this.concurrent=j,this.hasCompleted=!1,this.buffer=[],this.active=0,this.index=0}_next(z){this.active0?this._next(z.shift()):0===this.active&&this.hasCompleted&&this.destination.complete()}}},327:(Le,he,N)=>{N.d(he,{x:()=>A});var g=N(489);function A(){return function(Q){return Q.lift(new H(Q))}}class H{constructor(Q){this.connectable=Q}call(Q,ae){const{connectable:q}=this;q._refCount++;const z=new re(Q,q),k=ae.subscribe(z);return z.closed||(z.connection=q.connect()),k}}class re extends g.L{constructor(Q,ae){super(Q),this.connectable=ae}_unsubscribe(){const{connectable:Q}=this;if(!Q)return void(this.connection=null);this.connectable=null;const ae=Q._refCount;if(ae<=0)return void(this.connection=null);if(Q._refCount=ae-1,ae>1)return void(this.connection=null);const{connection:q}=this,z=Q._connection;this.connection=null,z&&(!q||z===q)&&z.unsubscribe()}}},545:(Le,he,N)=>{N.d(he,{w:()=>re});var g=N(850),A=N(254),H=N(177);function re(ae,q){return"function"==typeof q?z=>z.pipe(re((k,j)=>(0,A.D)(ae(k,j)).pipe((0,g.U)((G,J)=>q(k,G,j,J))))):z=>z.lift(new de(ae))}class de{constructor(q){this.project=q}call(q,z){return z.subscribe(new Q(q,this.project))}}class Q extends H.Ds{constructor(q,z){super(q),this.project=z,this.index=0}_next(q){let z;const k=this.index++;try{z=this.project(q,k)}catch(j){return void this.destination.error(j)}this._innerSub(z)}_innerSub(q){const z=this.innerSubscription;z&&z.unsubscribe();const k=new H.IY(this),j=this.destination;j.add(k),this.innerSubscription=(0,H.ft)(q,k),this.innerSubscription!==k&&j.add(this.innerSubscription)}_complete(){const{innerSubscription:q}=this;(!q||q.closed)&&super._complete(),this.unsubscribe()}_unsubscribe(){this.innerSubscription=void 0}notifyComplete(){this.innerSubscription=void 0,this.isStopped&&super._complete()}notifyNext(q){this.destination.next(q)}}},868:(Le,he,N)=>{N.d(he,{b:()=>re});var g=N(489);function A(){}var H=N(43);function re(ae,q,z){return function(j){return j.lift(new de(ae,q,z))}}class de{constructor(q,z,k){this.nextOrObserver=q,this.error=z,this.complete=k}call(q,z){return z.subscribe(new Q(q,this.nextOrObserver,this.error,this.complete))}}class Q extends g.L{constructor(q,z,k,j){super(q),this._tapNext=A,this._tapError=A,this._tapComplete=A,this._tapError=k||A,this._tapComplete=j||A,(0,H.m)(z)?(this._context=this,this._tapNext=z):z&&(this._context=z,this._tapNext=z.next||A,this._tapError=z.error||A,this._tapComplete=z.complete||A)}_next(q){try{this._tapNext.call(this._context,q)}catch(z){return void this.destination.error(z)}this.destination.next(q)}_error(q){try{this._tapError.call(this._context,q)}catch(z){return void this.destination.error(z)}this.destination.error(q)}_complete(){try{this._tapComplete.call(this._context)}catch(q){return void this.destination.error(q)}return this.destination.complete()}}},454:(Le,he,N)=>{N.d(he,{r:()=>H});var g=N(498),A=N(654);function H(re,de){return new g.y(Q=>{const ae=new A.w;let q=0;return ae.add(de.schedule(function(){q!==re.length?(Q.next(re[q++]),Q.closed||ae.add(this.schedule())):Q.complete()})),ae})}},430:(Le,he,N)=>{N.d(he,{hZ:()=>A});const A=function g(){return"function"==typeof Symbol&&Symbol.iterator?Symbol.iterator:"@@iterator"}()},821:(Le,he,N)=>{N.d(he,{L:()=>g});const g="function"==typeof Symbol&&Symbol.observable||"@@observable"},668:(Le,he,N)=>{N.d(he,{b:()=>g});const g="function"==typeof Symbol?Symbol("rxSubscriber"):"@@rxSubscriber_"+Math.random()},279:(Le,he,N)=>{N.d(he,{N:()=>A});const A=(()=>{function H(){return Error.call(this),this.message="object unsubscribed",this.name="ObjectUnsubscribedError",this}return H.prototype=Object.create(Error.prototype),H})()},782:(Le,he,N)=>{function g(A){setTimeout(()=>{throw A},0)}N.d(he,{z:()=>g})},379:(Le,he,N)=>{function g(A){return A}N.d(he,{y:()=>g})},688:(Le,he,N)=>{N.d(he,{k:()=>g});const g=Array.isArray||(A=>A&&"number"==typeof A.length)},515:(Le,he,N)=>{N.d(he,{z:()=>g});const g=A=>A&&"number"==typeof A.length&&"function"!=typeof A},43:(Le,he,N)=>{function g(A){return"function"==typeof A}N.d(he,{m:()=>g})},830:(Le,he,N)=>{function g(A){return null!==A&&"object"==typeof A}N.d(he,{K:()=>g})},955:(Le,he,N)=>{function g(A){return!!A&&"function"!=typeof A.subscribe&&"function"==typeof A.then}N.d(he,{t:()=>g})},866:(Le,he,N)=>{function g(A){return A&&"function"==typeof A.schedule}N.d(he,{K:()=>g})},843:(Le,he,N)=>{N.d(he,{U:()=>H,z:()=>A});var g=N(379);function A(...re){return H(re)}function H(re){return 0===re.length?g.y:1===re.length?re[0]:function(Q){return re.reduce((ae,q)=>q(ae),Q)}}},249:(Le,he,N)=>{N.d(he,{s:()=>j});var g=N(650),A=N(782),re=N(430),Q=N(821),q=N(515),z=N(955),k=N(830);const j=G=>{if(G&&"function"==typeof G[Q.L])return(G=>J=>{const X=G[Q.L]();if("function"!=typeof X.subscribe)throw new TypeError("Provided object does not correctly implement Symbol.observable");return X.subscribe(J)})(G);if((0,q.z)(G))return(0,g.V)(G);if((0,z.t)(G))return(G=>J=>(G.then(X=>{J.closed||(J.next(X),J.complete())},X=>J.error(X)).then(null,A.z),J))(G);if(G&&"function"==typeof G[re.hZ])return(G=>J=>{const X=G[re.hZ]();for(;;){let Te;try{Te=X.next()}catch(ue){return J.error(ue),J}if(Te.done){J.complete();break}if(J.next(Te.value),J.closed)break}return"function"==typeof X.return&&J.add(()=>{X.return&&X.return()}),J})(G);{const X=`You provided ${(0,k.K)(G)?"an invalid object":`'${G}'`} where a stream was expected. You can provide an Observable, Promise, Array, or Iterable.`;throw new TypeError(X)}}},650:(Le,he,N)=>{N.d(he,{V:()=>g});const g=A=>H=>{for(let re=0,de=A.length;re{N.d(he,{oo:()=>Da,x:()=>Yi,gD:()=>ic,oi:()=>Vo,pT:()=>cc,y6:()=>_a,v6:()=>zo,DA:()=>sc});var g=N(738),A=N(591),H=N(529),re=N(86),de=N(498),Q=N(654);class ae extends Q.w{constructor(E,_){super()}schedule(E,_=0){return this}}let z=(()=>{class p{constructor(_,O=p.now){this.SchedulerAction=_,this.now=O}schedule(_,O=0,te){return new this.SchedulerAction(this,_).schedule(te,O)}}return p.now=()=>Date.now(),p})();class k extends z{constructor(E,_=z.now){super(E,()=>k.delegate&&k.delegate!==this?k.delegate.now():_()),this.actions=[],this.active=!1,this.scheduled=void 0}schedule(E,_=0,O){return k.delegate&&k.delegate!==this?k.delegate.schedule(E,_,O):super.schedule(E,_,O)}flush(E){const{actions:_}=this;if(this.active)return void _.push(E);let O;this.active=!0;do{if(O=E.execute(E.state,E.delay))break}while(E=_.shift());if(this.active=!1,O){for(;E=_.shift();)E.unsubscribe();throw O}}}const G=new k(class q extends ae{constructor(E,_){super(E,_),this.scheduler=E,this.work=_,this.pending=!1}schedule(E,_=0){if(this.closed)return this;this.state=E;const O=this.id,te=this.scheduler;return null!=O&&(this.id=this.recycleAsyncId(te,O,_)),this.pending=!0,this.delay=_,this.id=this.id||this.requestAsyncId(te,this.id,_),this}requestAsyncId(E,_,O=0){return setInterval(E.flush.bind(E,this),O)}recycleAsyncId(E,_,O=0){if(null!==O&&this.delay===O&&!1===this.pending)return _;clearInterval(_)}execute(E,_){if(this.closed)return new Error("executing a cancelled action");this.pending=!1;const O=this._execute(E,_);if(O)return O;!1===this.pending&&null!=this.id&&(this.id=this.recycleAsyncId(this.scheduler,this.id,null))}_execute(E,_){let te,O=!1;try{this.work(E)}catch(fe){O=!0,te=!!fe&&fe||new Error(fe)}if(O)return this.unsubscribe(),te}_unsubscribe(){const E=this.id,_=this.scheduler,O=_.actions,te=O.indexOf(this);this.work=null,this.state=null,this.pending=!1,this.scheduler=null,-1!==te&&O.splice(te,1),null!=E&&(this.id=this.recycleAsyncId(_,E,null)),this.delay=null}});var J=N(688);function X(p){return!(0,J.k)(p)&&p-parseFloat(p)+1>=0}var Te=N(866);function Se(p){const{index:E,period:_,subscriber:O}=p;if(O.next(E),!O.closed){if(-1===_)return O.complete();p.index=E+1,this.schedule(p,_)}}var tt=N(254),Ye=N(545),le=N(850),Zt=N(489);class qt{constructor(E){this.predicate=E}call(E,_){return _.subscribe(new qn(E,this.predicate))}}class qn extends Zt.L{constructor(E,_){super(E),this.predicate=_,this.skipping=!0,this.index=0}_next(E){const _=this.destination;this.skipping&&this.tryCallPredicate(E),this.skipping||_.next(E)}tryCallPredicate(E){try{const _=this.predicate(E,this.index++);this.skipping=Boolean(_)}catch(_){this.destination.error(_)}}}var Ee=N(868);class ge{constructor(E,_){this.count=E,this.source=_}call(E,_){return _.subscribe(new ye(E,this.count,this.source))}}class ye extends Zt.L{constructor(E,_,O){super(E),this.count=_,this.source=O}error(E){if(!this.isStopped){const{source:_,count:O}=this;if(0===O)return super.error(E);O>-1&&(this.count=O-1),_.subscribe(this._unsubscribeAndRecycle())}}}var Ne=N(221),nt=N(177);function Ce(p){return E=>E.lift(new Bt(p))}class Bt{constructor(E){this.notifier=E}call(E,_){const O=new Me(E),te=(0,nt.ft)(this.notifier,new nt.IY(O));return te&&!O.seenValue?(O.add(te),_.subscribe(O)):O}}class Me extends nt.Ds{constructor(E){super(E),this.seenValue=!1}notifyNext(){this.seenValue=!0,this.complete()}notifyComplete(){}}var Ue=N(895);const Qt=Array.isArray,Pr="object"==typeof global&&global&&global.Object===Object&&global;var Or="object"==typeof self&&self&&self.Object===Object&&self;const Ct=Pr||Or||Function("return this")(),rt=Ct.Symbol;var Qn=Object.prototype,Ci=Qn.hasOwnProperty,Gt=Qn.toString,Ve=rt?rt.toStringTag:void 0;var st=Object.prototype.toString;var Nr=rt?rt.toStringTag:void 0;const nn=function yo(p){return null==p?void 0===p?"[object Undefined]":"[object Null]":Nr&&Nr in Object(p)?function Jn(p){var E=Ci.call(p,Ve),_=p[Ve];try{p[Ve]=void 0;var O=!0}catch{}var te=Gt.call(p);return O&&(E?p[Ve]=_:delete p[Ve]),te}(p):function Bn(p){return st.call(p)}(p)},Pt=function Fr(p){return null!=p&&"object"==typeof p},Ie=function yt(p){return"symbol"==typeof p||Pt(p)&&"[object Symbol]"==nn(p)};var ie=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,tr=/^\w*$/;const Ht=function Pn(p){var E=typeof p;return null!=p&&("object"==E||"function"==E)},Tt=function De(p){if(!Ht(p))return!1;var E=nn(p);return"[object Function]"==E||"[object GeneratorFunction]"==E||"[object AsyncFunction]"==E||"[object Proxy]"==E};var p,lr=Ct["__core-js_shared__"],Lr=(p=/[^.]+$/.exec(lr&&lr.keys&&lr.keys.IE_PROTO||""))?"Symbol(src)_1."+p:"";var wn=Function.prototype.toString;const ot=function Do(p){if(null!=p){try{return wn.call(p)}catch{}try{return p+""}catch{}}return""};var Sn=/^\[object .+?Constructor\]$/,$=RegExp("^"+Function.prototype.toString.call(Object.prototype.hasOwnProperty).replace(/[\\^$.*+?()[\]{}|]/g,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$");const C=function b(p){return!(!Ht(p)||function Zr(p){return!!Lr&&Lr in p}(p))&&(Tt(p)?$:Sn).test(ot(p))},oe=function B(p,E){var _=function T(p,E){return p?.[E]}(p,E);return C(_)?_:void 0},se=oe(Object,"create");var In=Object.prototype.hasOwnProperty;var _o=Object.prototype.hasOwnProperty;function ze(p){var E=-1,_=null==p?0:p.length;for(this.clear();++E<_;){var O=p[E];this.set(O[0],O[1])}}ze.prototype.clear=function Ze(){this.__data__=se?se(null):{},this.size=0},ze.prototype.delete=function un(p){var E=this.has(p)&&delete this.__data__[p];return this.size-=E?1:0,E},ze.prototype.get=function Dn(p){var E=this.__data__;if(se){var _=E[p];return"__lodash_hash_undefined__"===_?void 0:_}return In.call(E,p)?E[p]:void 0},ze.prototype.has=function kr(p){var E=this.__data__;return se?void 0!==E[p]:_o.call(E,p)},ze.prototype.set=function Jo(p,E){var _=this.__data__;return this.size+=this.has(p)?0:1,_[p]=se&&void 0===E?"__lodash_hash_undefined__":E,this};const Wt=ze,Nn=function gn(p,E){return p===E||p!=p&&E!=E},Re=function me(p,E){for(var _=p.length;_--;)if(Nn(p[_][0],E))return _;return-1};var Yt=Array.prototype.splice;function Dt(p){var E=-1,_=null==p?0:p.length;for(this.clear();++E<_;){var O=p[E];this.set(O[0],O[1])}}Dt.prototype.clear=function jt(){this.__data__=[],this.size=0},Dt.prototype.delete=function rr(p){var E=this.__data__,_=Re(E,p);return!(_<0||(_==E.length-1?E.pop():Yt.call(E,_,1),--this.size,0))},Dt.prototype.get=function hr(p){var E=this.__data__,_=Re(E,p);return _<0?void 0:E[_][1]},Dt.prototype.has=function bo(p){return Re(this.__data__,p)>-1},Dt.prototype.set=function Fe(p,E){var _=this.__data__,O=Re(_,p);return O<0?(++this.size,_.push([p,E])):_[O][1]=E,this};const Fn=Dt,Rt=oe(Ct,"Map"),it=function ei(p,E){var _=p.__data__;return function Ln(p){var E=typeof p;return"string"==E||"number"==E||"symbol"==E||"boolean"==E?"__proto__"!==p:null===p}(E)?_["string"==typeof E?"string":"hash"]:_.map};function Nt(p){var E=-1,_=null==p?0:p.length;for(this.clear();++E<_;){var O=p[E];this.set(O[0],O[1])}}Nt.prototype.clear=function Ur(){this.size=0,this.__data__={hash:new Wt,map:new(Rt||Fn),string:new Wt}},Nt.prototype.delete=function bi(p){var E=it(this,p).delete(p);return this.size-=E?1:0,E},Nt.prototype.get=function Ei(p){return it(this,p).get(p)},Nt.prototype.has=function wo(p){return it(this,p).has(p)},Nt.prototype.set=function Xt(p,E){var _=it(this,p),O=_.size;return _.set(p,E),this.size+=_.size==O?0:1,this};const Ft=Nt;function or(p,E){if("function"!=typeof p||null!=E&&"function"!=typeof E)throw new TypeError("Expected a function");var _=function(){var O=arguments,te=E?E.apply(this,O):O[0],fe=_.cache;if(fe.has(te))return fe.get(te);var Pe=p.apply(this,O);return _.cache=fe.set(te,Pe)||fe,Pe};return _.cache=new(or.Cache||Ft),_}or.Cache=Ft;const So=or;var es=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,Bs=/\\(\\)?/g,Hs=function ti(p){var E=So(p,function(O){return 500===_.size&&_.clear(),O}),_=E.cache;return E}(function(p){var E=[];return 46===p.charCodeAt(0)&&E.push(""),p.replace(es,function(_,O,te,fe){E.push(te?fe.replace(Bs,"$1"):O||_)}),E});const ts=Hs;var ns=rt?rt.prototype:void 0,Gs=ns?ns.toString:void 0;const za=function Va(p){if("string"==typeof p)return p;if(Qt(p))return function $s(p,E){for(var _=-1,O=null==p?0:p.length,te=Array(O);++_mt))return!1;var ht=fe.get(p),ar=fe.get(E);if(ht&&ar)return ht==E&&ar==p;var Kn=-1,dn=!0,zr=2&_?new Mo:void 0;for(fe.set(p,E),fe.set(E,p);++Kn-1&&p%1==0&&p-1&&p%1==0&&p<=9007199254740991};var ft={};ft["[object Float32Array]"]=ft["[object Float64Array]"]=ft["[object Int8Array]"]=ft["[object Int16Array]"]=ft["[object Int32Array]"]=ft["[object Uint8Array]"]=ft["[object Uint8ClampedArray]"]=ft["[object Uint16Array]"]=ft["[object Uint32Array]"]=!0,ft["[object Arguments]"]=ft["[object Array]"]=ft["[object ArrayBuffer]"]=ft["[object Boolean]"]=ft["[object DataView]"]=ft["[object Date]"]=ft["[object Error]"]=ft["[object Function]"]=ft["[object Map]"]=ft["[object Number]"]=ft["[object Object]"]=ft["[object RegExp]"]=ft["[object Set]"]=ft["[object String]"]=ft["[object WeakMap]"]=!1;var vs="object"==typeof exports&&exports&&!exports.nodeType&&exports,so=vs&&"object"==typeof module&&module&&!module.nodeType&&module,li=so&&so.exports===vs&&Pr.process,di=function(){try{return so&&so.require&&so.require("util").types||li&&li.binding&&li.binding("util")}catch{}}(),ua=di&&di.isTypedArray;const _s=ua?function Oo(p){return function(E){return p(E)}}(ua):function ys(p){return Pt(p)&&Ir(p.length)&&!!ft[nn(p)]};var Ja=Object.prototype.hasOwnProperty;const Cs=function fi(p,E){var _=Qt(p),O=!_&&S(p),te=!_&&!O&&dt(p),fe=!_&&!O&&!te&&_s(p),Pe=_||O||te||fe,mt=Pe?function ds(p,E){for(var _=-1,O=Array(p);++_{class p{constructor(){}isBoolean(_){return function su(p){return!0===p||!1===p||Pt(p)&&"[object Boolean]"==nn(p)}(_)}isNumber(_){return function Bu(p){return"number"==typeof p||Pt(p)&&"[object Number]"==nn(p)}(_)}isObservable(_){return _ instanceof de.y}isPromise(_){return _ instanceof Promise}isString(_){return function Vd(p){return"string"==typeof p||!Qt(p)&&Pt(p)&&"[object String]"==nn(p)}(_)}isTemplateRef(_){return _ instanceof g.Rgc}}return p.\u0275fac=function(_){return new(_||p)},p.\u0275prov=g.Yz7({token:p,factory:p.\u0275fac,providedIn:"root"}),p})();new g.OlP("default error image"),new g.OlP("default loading image");let uu=(()=>{class p{constructor(_){this.valueTypeService=_}transform(_){return this.valueTypeService.isString(_)}}return p.\u0275fac=function(_){return new(_||p)(g.Y36($o,16))},p.\u0275pipe=g.Yjl({name:"nbIsString",type:p,pure:!0,standalone:!0}),p})(),As=(()=>{class p{constructor(_){this.valueTypeService=_}transform(_){return this.valueTypeService.isTemplateRef(_)?_:null}}return p.\u0275fac=function(_){return new(_||p)(g.Y36($o,16))},p.\u0275pipe=g.Yjl({name:"nbTplContent",type:p,pure:!0,standalone:!0}),p})();function rl(p,E){1&p&&g.GkF(0)}const mn=function(p){return{content:p}};function cu(p,E){if(1&p&&g.GkF(0,8),2&p){const _=g.oxw().$implicit;g.oxw(2);const O=g.MAs(4);g.Q6J("ngTemplateOutlet",O)("ngTemplateOutletContext",g.VKq(2,mn,_))}}function Zu(p,E){if(1&p&&g.GkF(0,8),2&p){const _=g.oxw().$implicit;g.oxw(2);const O=g.MAs(6);g.Q6J("ngTemplateOutlet",O)("ngTemplateOutletContext",g.VKq(2,mn,_))}}function lu(p,E){if(1&p&&g.GkF(0,8),2&p){const _=g.oxw().$implicit;g.oxw(2);const O=g.MAs(8);g.Q6J("ngTemplateOutlet",O)("ngTemplateOutletContext",g.VKq(2,mn,_))}}function En(p,E){if(1&p&&(g.ynx(0)(1,6),g.ALo(2,"nbSentenceItemType"),g.YNc(3,cu,1,4,"ng-container",7),g.YNc(4,Zu,1,4,"ng-container",7),g.YNc(5,lu,1,4,"ng-container",7),g.BQk()()),2&p){const _=E.$implicit,O=g.oxw(2);g.xp6(1),g.Q6J("ngSwitch",g.lcZ(2,4,_)),g.xp6(2),g.Q6J("ngSwitchCase",O.SentenceItemEnum.STR),g.xp6(1),g.Q6J("ngSwitchCase",O.SentenceItemEnum.COMP),g.xp6(1),g.Q6J("ngSwitchCase",O.SentenceItemEnum.MULTI_COMP)}}function Rs(p,E){1&p&&g.YNc(0,En,6,6,"ng-container",5),2&p&&g.Q6J("ngForOf",E.list)}function qu(p,E){if(1&p&&(g._uU(0),g.ALo(1,"nbTransContent")),2&p){const _=E.content,O=g.oxw();g.Oqu(g.xi3(1,1,_,O.params))}}function Qu(p,E){1&p&&g.GkF(0)}function ol(p,E){if(1&p&&(g.YNc(0,Qu,1,0,"ng-container",0),g.ALo(1,"nbTplContent"),g.ALo(2,"nbTransContent")),2&p){const _=E.content,O=g.oxw();g.Q6J("ngTemplateOutlet",g.lcZ(1,2,O.components[_.index]))("ngTemplateOutletContext",g.VKq(7,mn,g.xi3(2,4,_.content,O.params)))}}function Ju(p,E){1&p&&g.GkF(0)}const il=function(p,E){return{content:p,list:E}};function Xu(p,E){if(1&p&&(g.YNc(0,Ju,1,0,"ng-container",0),g.ALo(1,"nbTplContent")),2&p){const _=E.content,O=g.oxw(),te=g.MAs(2);g.Q6J("ngTemplateOutlet",g.lcZ(1,2,O.components[_.index]))("ngTemplateOutletContext",g.WLB(4,il,te,_.list))}}const ec=function(p){return{list:p}},tc=["nb-trans-subcontent",""];function sl(p,E){if(1&p&&(g.ynx(0),g._uU(1),g.BQk()),2&p){const _=g.oxw();g.xp6(1),g.Oqu(_.content)}}function al(p,E){if(1&p&&(g.GkF(0,3),g.ALo(1,"nbTplContent")),2&p){const _=g.oxw();g.Q6J("ngTemplateOutlet",g.lcZ(1,2,_.content))("ngTemplateOutletContext",g.VKq(4,ec,_.subcontentList))}}const Da=new g.OlP("nb-trans-default-lang");var Vo=(()=>(function(p){p.ZH_CN="zh-CN",p.ZH_TW="zh-TW",p.ZH_HK="zh-HK",p.EN="en",p.AR_EG="ar-EG",p.HY_AM="hy-AM",p.BG_BG="bg-BG",p.CA_ES="ca-ES",p.CS_CZ="cs-CZ",p.DA_DK="da-DK",p.DE_DE="de-DE",p.EL_GR="el-GR",p.EN_GB="en-GB",p.EN_US="en-US",p.ES_ES="es-ES",p.ET_EE="et-EE",p.FA_IR="fa-IR",p.FI_FI="fi-FI",p.FR_BE="fr-BE",p.FR_FR="fr-FR",p.HE_IL="he-IL",p.HI_IN="hi-IN",p.HR_HR="hr-HR",p.HU_HU="hu-HU",p.IS_IS="is-IS",p.ID_ID="id-ID",p.IT_IT="it-IT",p.JA_JP="ja-JP",p.KA_GE="ka-GE",p.KN_IN="kn-IN",p.KO_KR="ko-KR",p.KU_IQ="ku-IQ",p.LV_LV="lv-LV",p.MS_MY="ms-MY",p.MN_MN="mn-MN",p.NB_NO="nb-NO",p.NE_NP="ne-NP",p.NL_BE="nl-BE",p.NL_NL="nl-NL",p.PL_PL="pl-PL",p.PT_BR="pt-BR",p.PT_PT="pt-PT",p.SK_SK="sk-SK",p.SR_RS="sr-RS",p.SL_SI="sl-SI",p.SV_SE="sv-SE",p.TA_IN="ta-IN",p.TH_TH="th-TH",p.TR_TR="tr-TR",p.RO_RO="ro-RO",p.RU_RU="ru-RU",p.UK_UA="uk-UA",p.VI_VN="vi-VN"}(Vo||(Vo={})),Vo))();const Yi=new g.OlP("nb-trans-loader"),ul=new g.OlP("nb-trans-max-retry");var lo=(()=>(function(p){p[p.STR=0]="STR",p[p.COMP=1]="COMP",p[p.MULTI_COMP=2]="MULTI_COMP"}(lo||(lo={})),lo))();let Ki=(()=>{class p{constructor(_){this.valueType=_}static checkNavigator(){return p.checkWindow()&&typeof window.navigator<"u"}static checkWindow(){return typeof window<"u"}getFinalKey(_,O){return O?`${O}.${_}`:_}handleSentence(_,O,te){return _.replace(new RegExp(O,"g"),te)}handleSentenceWithParams(_,O){if(!O)return _;const te=Object.keys(O);if(!te.length)return _;const fe=this.getParamsKeyUuid(te),Pe=this.replaceParamsKeysAsUuidKey(_,{keys:te,keysUUID:fe});return this.replaceUuidKeyAsParamsValue(Pe,{params:O,keys:te,keysUUID:fe})}handleTrans(_){const O=[];for(;_.length;){const te=_.search(/<\d+>/);if(te>0){const Pe=_.slice(0,te);O.push(Pe)}const fe=this.handleCompStr(_);this.valueType.isString(fe)?(O.push(fe),_=""):(O.push({index:fe.index,content:fe.content,list:fe.list}),_=fe.otherContent)}return O}getParamsKeyUuid(_){return _.reduce((O,te)=>(O[te]=iu(),O),{})}handleCompStr(_){const O=_.search(/<\d+>/);if(-1===O)return _;let te=[];const fe=_.indexOf(">",O),Pe=Number(_.slice(O+1,fe)),mt=``,sn=_.indexOf(mt),ht=_.slice(fe+1,sn);return ht.search(/<\d+>/)>-1&&(te=this.handleTrans(ht)),{index:Pe,content:ht,list:te,otherContent:_.slice(sn+mt.length,_.length)}}replaceParamsKeysAsUuidKey(_,O){const{keys:te,keysUUID:fe}=O;return te.forEach(Pe=>{_=this.handleSentence(_,`{{${Pe}}}`,fe[Pe])}),_}replaceUuidKeyAsParamsValue(_,O){const{params:te,keys:fe,keysUUID:Pe}=O;return fe.forEach(mt=>{_=this.handleSentence(_,Pe[mt],te[mt])}),_}}return p.\u0275fac=function(_){return new(_||p)(g.LFG($o))},p.\u0275prov=g.Yz7({token:p,factory:p.\u0275fac,providedIn:"root"}),p})(),zo=(()=>{class p{constructor(_,O,te,fe){this.transDefaultLang=_,this.transLoader=O,this.maxRetry=te,this.transToolsService=fe,this.lang$=new A.X(Vo.ZH_CN),this.loadDefaultOver$=new A.X(!1),this.loadLangTrans$=new H.xQ,this.retry=5,this.translations={},this.retry=null==this.maxRetry?this.retry:this.maxRetry,this.transLoader=this.transLoader||{},this.lang$.next(_||Vo.ZH_CN),this.loadDefaultTrans()}get lang(){return this.lang$.value}get loadDefaultOver(){return this.loadDefaultOver$.value}static getBrowserLang(){if(Ki.checkNavigator())return window?.navigator?.language}static getBrowserLangs(){if(Ki.checkNavigator())return window?.navigator?.languages}changeLang(_){const O={curLang:_,result:!0},te={curLang:this.lang,result:!1};return this.translations[_]?(this.lang$.next(_),(0,re.of)(O)):this.transLoader[_]?this.loadLangTrans(_).pipe((0,Ye.w)(fe=>{let Pe=this.lang,mt=te;return fe&&(Pe=_,mt=O),this.lang$.next(Pe),(0,re.of)(mt)})):(function ue(p=0,E,_){let O=-1;return X(E)?O=Number(E)<1?1:Number(E):(0,Te.K)(E)&&(_=E),(0,Te.K)(_)||(_=G),new de.y(te=>{const fe=X(p)?p:+p-_.now();return _.schedule(Se,fe,{index:0,period:O,subscriber:te})})}().subscribe(fe=>this.loadLangTrans$.next(!1)),(0,re.of)(te))}changeLangSync(_){this.changeLang(_).subscribe()}getBrowserLang(){return console.warn("The function will be deprecated in the future, we recommend using NbTransService.getBrowserLang()!"),p.getBrowserLang()}getBrowserLangs(){return console.warn("The function will be deprecated in the future, we recommend using NbTransService.getBrowserLangs()!"),p.getBrowserLangs()}translationAsync(_,O){return this.lang$.pipe((0,Ye.w)(te=>this.translations[this.lang]?(0,re.of)({trans:this.translations[this.lang],result:!0}):this.loadLangTrans$),(0,le.U)(te=>this.translationSync(_,O)))}translationSync(_,O){const te=this.transToolsService.getFinalKey(_,O?.prefix),fe=!1===O?.returnKeyWhenEmpty?"":te;let Pe=Vn(this.translations[this.lang],te);if(Pe||(Pe=Vn(this.translations[this.transDefaultLang],te)),!Pe)return fe;const mt=O?.params;return Pe=this.transToolsService.handleSentenceWithParams(Pe,mt),Pe||fe}subscribeLangChange(){return this.lang$.asObservable()}subscribeLoadDefaultOver(){return this.loadDefaultOver?(0,re.of)(!0):this.loadDefaultOver$.asObservable().pipe(function hn(p){return E=>E.lift(new qt(p))}((_,O)=>!_&&0===O))}loadDefaultTrans(){this.loadTrans(this.lang).pipe((0,le.U)(_=>!!_)).subscribe(_=>{this.loadDefaultOver$.next(_),this.loadDefaultOver$.complete(),this.loadLangTrans$.next(_)})}loadLangTrans(_){return this.loadTrans(_).pipe((0,le.U)(O=>!!O),(0,Ee.b)(O=>this.loadLangTrans$.next(O)))}loadTrans(_){const O=this.transLoader[_];return O?(Tt(O)?(0,re.of)(null).pipe((0,Ye.w)(()=>(0,tt.D)(O()))):(0,re.of)(O)).pipe((0,Ee.b)(fe=>this.translations[_]=fe),function _t(p=-1){return E=>E.lift(new ge(p,E))}(this.retry),(0,Ne.K)(fe=>(0,re.of)(null))):(0,re.of)(null)}}return p.\u0275fac=function(_){return new(_||p)(g.LFG(Da,8),g.LFG(Yi,8),g.LFG(ul,8),g.LFG(Ki))},p.\u0275prov=g.Yz7({token:p,factory:p.\u0275fac,providedIn:"root"}),p})(),_a=(()=>{class p{constructor(_,O){this.changeDR=_,this.transService=O,this.latestValue="",this.destroy$=new H.xQ,this.key="",this.subscribeLangChange()}transform(_,O){return(!this.latestValue||_!==this.key||!M(O,this.options))&&(this.latestValue=this.transService.translationSync(_,O),this.key=_,this.options=O),this.latestValue}ngOnDestroy(){this.destroy$.next(),this.destroy$.complete()}subscribeLangChange(){this.transService.subscribeLangChange().pipe((0,Ye.w)(_=>this.transService.translationAsync(this.key,this.options)),Ce(this.destroy$)).subscribe(_=>this.updateLatestValue(_))}updateLatestValue(_){this.latestValue=_,this.changeDR.markForCheck()}}return p.\u0275fac=function(_){return new(_||p)(g.Y36(g.sBO,16),g.Y36(zo,16))},p.\u0275pipe=g.Yjl({name:"nbTrans",type:p,pure:!1,standalone:!0}),p})(),du=(()=>{class p{constructor(_){this.transToolsService=_}transform(_,O){return this.transToolsService.handleSentenceWithParams(_,O)}}return p.\u0275fac=function(_){return new(_||p)(g.Y36(Ki,16))},p.\u0275pipe=g.Yjl({name:"nbTransContent",type:p,pure:!0,standalone:!0}),p})(),rc=(()=>{class p{constructor(_){this.valueType=_}transform(_){let O;return this.valueType.isString(_)?O=lo.STR:this.valueType.isNumber(_?.index)&&(O=Array.isArray(_.list)&&_.list.length?lo.MULTI_COMP:lo.COMP),O}}return p.\u0275fac=function(_){return new(_||p)(g.Y36($o,16))},p.\u0275pipe=g.Yjl({name:"nbSentenceItemType",type:p,pure:!0,standalone:!0}),p})(),ic=(()=>{class p{constructor(_,O,te){this.changeDR=_,this.transToolsService=O,this.transService=te,this.components=[],this.key="",this.options={},this.sentenceList=[],this.SentenceItemEnum=lo,this.destroy$=new H.xQ,this.originTrans="",this.subscribeLangChange()}ngOnChanges(_){const{key:O,options:te}=_;(O||te)&&(this.originTrans=this.transService.translationSync(this.key,this.options),this.reRender())}ngOnDestroy(){this.destroy$.next(),this.destroy$.complete()}reRender(){this.params=this.options?.params,this.sentenceList=this.transToolsService.handleTrans(this.originTrans),this.changeDR.markForCheck()}subscribeLangChange(){this.transService.subscribeLangChange().pipe((0,Ye.w)(_=>this.transService.translationAsync(this.key,this.options)),Ce(this.destroy$)).subscribe(_=>{this.originTrans=_,this.reRender()})}}return p.\u0275fac=function(_){return new(_||p)(g.Y36(g.sBO),g.Y36(Ki),g.Y36(zo))},p.\u0275cmp=g.Xpm({type:p,selectors:[["nb-trans"]],inputs:{components:"components",key:"key",options:"options"},standalone:!0,features:[g.TTD,g.jDz],decls:9,vars:4,consts:[[4,"ngTemplateOutlet","ngTemplateOutletContext"],["sentenceListTpl",""],["strTpl",""],["compTpl",""],["multiCompTpl",""],[4,"ngFor","ngForOf"],[3,"ngSwitch"],[3,"ngTemplateOutlet","ngTemplateOutletContext",4,"ngSwitchCase"],[3,"ngTemplateOutlet","ngTemplateOutletContext"]],template:function(_,O){if(1&_&&(g.YNc(0,rl,1,0,"ng-container",0),g.YNc(1,Rs,1,1,"ng-template",null,1,g.W1O),g.YNc(3,qu,2,4,"ng-template",null,2,g.W1O),g.YNc(5,ol,3,9,"ng-template",null,3,g.W1O),g.YNc(7,Xu,2,7,"ng-template",null,4,g.W1O)),2&_){const te=g.MAs(2);g.Q6J("ngTemplateOutlet",te)("ngTemplateOutletContext",g.VKq(2,ec,O.sentenceList))}},dependencies:[Ue.tP,Ue.ax,Ue.RF,Ue.n9,As,rc,du],encapsulation:2,changeDetection:0}),p})(),sc=(()=>{class p{constructor(){this.content="",this.subcontentList=[]}}return p.\u0275fac=function(_){return new(_||p)},p.\u0275cmp=g.Xpm({type:p,selectors:[["","nb-trans-subcontent",""]],inputs:{content:["nb-trans-subcontent","content"],subcontentList:"subcontentList"},standalone:!0,features:[g.jDz],attrs:tc,decls:4,vars:4,consts:[[3,"ngSwitch"],[4,"ngSwitchCase"],[3,"ngTemplateOutlet","ngTemplateOutletContext",4,"ngSwitchDefault"],[3,"ngTemplateOutlet","ngTemplateOutletContext"]],template:function(_,O){1&_&&(g.ynx(0,0),g.ALo(1,"nbIsString"),g.YNc(2,sl,2,1,"ng-container",1),g.YNc(3,al,2,6,"ng-container",2),g.BQk()),2&_&&(g.Q6J("ngSwitch",g.lcZ(1,2,O.content)),g.xp6(2),g.Q6J("ngSwitchCase",!0))},dependencies:[Ue.RF,Ue.n9,Ue.ED,Ue.tP,uu,As],encapsulation:2,changeDetection:0}),p})();const ac=[ic,sc];let cc=(()=>{class p{}return p.\u0275fac=function(_){return new(_||p)},p.\u0275mod=g.oAB({type:p}),p.\u0275inj=g.cJS({imports:[ac]}),p})()},895:(Le,he,N)=>{N.d(he,{Do:()=>Ye,ED:()=>bt,EM:()=>Ws,HT:()=>re,JF:()=>Jr,K0:()=>Q,Mx:()=>Co,Ov:()=>_n,RF:()=>Yt,S$:()=>ue,Ts:()=>$n,V_:()=>z,Ye:()=>le,ax:()=>jt,b0:()=>tt,bD:()=>ts,ez:()=>Hs,n9:()=>rr,q:()=>H,tP:()=>Fe,w_:()=>de});var g=N(738);let A=null;function H(){return A}function re(f){A||(A=f)}class de{}const Q=new g.OlP("DocumentToken");let ae=(()=>{class f{historyGo(h){throw new Error("Not implemented")}}return f.\u0275fac=function(h){return new(h||f)},f.\u0275prov=g.Yz7({token:f,factory:function(){return function q(){return(0,g.LFG)(k)}()},providedIn:"platform"}),f})();const z=new g.OlP("Location Initialized");let k=(()=>{class f extends ae{constructor(h){super(),this._doc=h,this._init()}_init(){this.location=window.location,this._history=window.history}getBaseHrefFromDOM(){return H().getBaseHref(this._doc)}onPopState(h){const S=H().getGlobalEventTarget(this._doc,"window");return S.addEventListener("popstate",h,!1),()=>S.removeEventListener("popstate",h)}onHashChange(h){const S=H().getGlobalEventTarget(this._doc,"window");return S.addEventListener("hashchange",h,!1),()=>S.removeEventListener("hashchange",h)}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(h){this.location.pathname=h}pushState(h,S,P){j()?this._history.pushState(h,S,P):this.location.hash=P}replaceState(h,S,P){j()?this._history.replaceState(h,S,P):this.location.hash=P}forward(){this._history.forward()}back(){this._history.back()}historyGo(h=0){this._history.go(h)}getState(){return this._history.state}}return f.\u0275fac=function(h){return new(h||f)(g.LFG(Q))},f.\u0275prov=g.Yz7({token:f,factory:function(){return function G(){return new k((0,g.LFG)(Q))}()},providedIn:"platform"}),f})();function j(){return!!window.history.pushState}function J(f,D){if(0==f.length)return D;if(0==D.length)return f;let h=0;return f.endsWith("/")&&h++,D.startsWith("/")&&h++,2==h?f+D.substring(1):1==h?f+D:f+"/"+D}function X(f){const D=f.match(/#|\?|$/),h=D&&D.index||f.length;return f.slice(0,h-("/"===f[h-1]?1:0))+f.slice(h)}function Te(f){return f&&"?"!==f[0]?"?"+f:f}let ue=(()=>{class f{historyGo(h){throw new Error("Not implemented")}}return f.\u0275fac=function(h){return new(h||f)},f.\u0275prov=g.Yz7({token:f,factory:function(){return(0,g.f3M)(tt)},providedIn:"root"}),f})();const Se=new g.OlP("appBaseHref");let tt=(()=>{class f extends ue{constructor(h,S){super(),this._platformLocation=h,this._removeListenerFns=[],this._baseHref=S??this._platformLocation.getBaseHrefFromDOM()??(0,g.f3M)(Q).location?.origin??""}ngOnDestroy(){for(;this._removeListenerFns.length;)this._removeListenerFns.pop()()}onPopState(h){this._removeListenerFns.push(this._platformLocation.onPopState(h),this._platformLocation.onHashChange(h))}getBaseHref(){return this._baseHref}prepareExternalUrl(h){return J(this._baseHref,h)}path(h=!1){const S=this._platformLocation.pathname+Te(this._platformLocation.search),P=this._platformLocation.hash;return P&&h?`${S}${P}`:S}pushState(h,S,P,V){const K=this.prepareExternalUrl(P+Te(V));this._platformLocation.pushState(h,S,K)}replaceState(h,S,P,V){const K=this.prepareExternalUrl(P+Te(V));this._platformLocation.replaceState(h,S,K)}forward(){this._platformLocation.forward()}back(){this._platformLocation.back()}getState(){return this._platformLocation.getState()}historyGo(h=0){this._platformLocation.historyGo?.(h)}}return f.\u0275fac=function(h){return new(h||f)(g.LFG(ae),g.LFG(Se,8))},f.\u0275prov=g.Yz7({token:f,factory:f.\u0275fac,providedIn:"root"}),f})(),Ye=(()=>{class f extends ue{constructor(h,S){super(),this._platformLocation=h,this._baseHref="",this._removeListenerFns=[],null!=S&&(this._baseHref=S)}ngOnDestroy(){for(;this._removeListenerFns.length;)this._removeListenerFns.pop()()}onPopState(h){this._removeListenerFns.push(this._platformLocation.onPopState(h),this._platformLocation.onHashChange(h))}getBaseHref(){return this._baseHref}path(h=!1){let S=this._platformLocation.hash;return null==S&&(S="#"),S.length>0?S.substring(1):S}prepareExternalUrl(h){const S=J(this._baseHref,h);return S.length>0?"#"+S:S}pushState(h,S,P,V){let K=this.prepareExternalUrl(P+Te(V));0==K.length&&(K=this._platformLocation.pathname),this._platformLocation.pushState(h,S,K)}replaceState(h,S,P,V){let K=this.prepareExternalUrl(P+Te(V));0==K.length&&(K=this._platformLocation.pathname),this._platformLocation.replaceState(h,S,K)}forward(){this._platformLocation.forward()}back(){this._platformLocation.back()}getState(){return this._platformLocation.getState()}historyGo(h=0){this._platformLocation.historyGo?.(h)}}return f.\u0275fac=function(h){return new(h||f)(g.LFG(ae),g.LFG(Se,8))},f.\u0275prov=g.Yz7({token:f,factory:f.\u0275fac}),f})(),le=(()=>{class f{constructor(h){this._subject=new g.vpe,this._urlChangeListeners=[],this._urlChangeSubscription=null,this._locationStrategy=h;const S=this._locationStrategy.getBaseHref();this._basePath=function qn(f){if(new RegExp("^(https?:)?//").test(f)){const[,h]=f.split(/\/\/[^\/]+/);return h}return f}(X(qt(S))),this._locationStrategy.onPopState(P=>{this._subject.emit({url:this.path(!0),pop:!0,state:P.state,type:P.type})})}ngOnDestroy(){this._urlChangeSubscription?.unsubscribe(),this._urlChangeListeners=[]}path(h=!1){return this.normalize(this._locationStrategy.path(h))}getState(){return this._locationStrategy.getState()}isCurrentPathEqualTo(h,S=""){return this.path()==this.normalize(h+Te(S))}normalize(h){return f.stripTrailingSlash(function hn(f,D){return f&&D.startsWith(f)?D.substring(f.length):D}(this._basePath,qt(h)))}prepareExternalUrl(h){return h&&"/"!==h[0]&&(h="/"+h),this._locationStrategy.prepareExternalUrl(h)}go(h,S="",P=null){this._locationStrategy.pushState(P,"",h,S),this._notifyUrlChangeListeners(this.prepareExternalUrl(h+Te(S)),P)}replaceState(h,S="",P=null){this._locationStrategy.replaceState(P,"",h,S),this._notifyUrlChangeListeners(this.prepareExternalUrl(h+Te(S)),P)}forward(){this._locationStrategy.forward()}back(){this._locationStrategy.back()}historyGo(h=0){this._locationStrategy.historyGo?.(h)}onUrlChange(h){return this._urlChangeListeners.push(h),this._urlChangeSubscription||(this._urlChangeSubscription=this.subscribe(S=>{this._notifyUrlChangeListeners(S.url,S.state)})),()=>{const S=this._urlChangeListeners.indexOf(h);this._urlChangeListeners.splice(S,1),0===this._urlChangeListeners.length&&(this._urlChangeSubscription?.unsubscribe(),this._urlChangeSubscription=null)}}_notifyUrlChangeListeners(h="",S){this._urlChangeListeners.forEach(P=>P(h,S))}subscribe(h,S,P){return this._subject.subscribe({next:h,error:S,complete:P})}}return f.normalizeQueryParams=Te,f.joinWithSlash=J,f.stripTrailingSlash=X,f.\u0275fac=function(h){return new(h||f)(g.LFG(ue))},f.\u0275prov=g.Yz7({token:f,factory:function(){return function Zt(){return new le((0,g.LFG)(ue))}()},providedIn:"root"}),f})();function qt(f){return f.replace(/\/index.html$/,"")}function Co(f,D){D=encodeURIComponent(D);for(const h of f.split(";")){const S=h.indexOf("="),[P,V]=-1==S?[h,""]:[h.slice(0,S),h.slice(S+1)];if(P.trim()===D)return decodeURIComponent(V)}return null}class Wt{constructor(D,h,S,P){this.$implicit=D,this.ngForOf=h,this.index=S,this.count=P}get first(){return 0===this.index}get last(){return this.index===this.count-1}get even(){return this.index%2==0}get odd(){return!this.even}}let jt=(()=>{class f{constructor(h,S,P){this._viewContainer=h,this._template=S,this._differs=P,this._ngForOf=null,this._ngForOfDirty=!0,this._differ=null}set ngForOf(h){this._ngForOf=h,this._ngForOfDirty=!0}set ngForTrackBy(h){this._trackByFn=h}get ngForTrackBy(){return this._trackByFn}set ngForTemplate(h){h&&(this._template=h)}ngDoCheck(){if(this._ngForOfDirty){this._ngForOfDirty=!1;const h=this._ngForOf;!this._differ&&h&&(this._differ=this._differs.find(h).create(this.ngForTrackBy))}if(this._differ){const h=this._differ.diff(this._ngForOf);h&&this._applyChanges(h)}}_applyChanges(h){const S=this._viewContainer;h.forEachOperation((P,V,K)=>{if(null==P.previousIndex)S.createEmbeddedView(this._template,new Wt(P.item,this._ngForOf,-1,-1),null===K?void 0:K);else if(null==K)S.remove(null===V?void 0:V);else if(null!==V){const _e=S.get(V);S.move(_e,K),fr(_e,P)}});for(let P=0,V=S.length;P{fr(S.get(P.currentIndex),P)})}static ngTemplateContextGuard(h,S){return!0}}return f.\u0275fac=function(h){return new(h||f)(g.Y36(g.s_b),g.Y36(g.Rgc),g.Y36(g.ZZ4))},f.\u0275dir=g.lG2({type:f,selectors:[["","ngFor","","ngForOf",""]],inputs:{ngForOf:"ngForOf",ngForTrackBy:"ngForTrackBy",ngForTemplate:"ngForTemplate"},standalone:!0}),f})();function fr(f,D){f.context.$implicit=D.item}class lt{constructor(D,h){this._viewContainerRef=D,this._templateRef=h,this._created=!1}create(){this._created=!0,this._viewContainerRef.createEmbeddedView(this._templateRef)}destroy(){this._created=!1,this._viewContainerRef.clear()}enforceState(D){D&&!this._created?this.create():!D&&this._created&&this.destroy()}}let Yt=(()=>{class f{constructor(){this._defaultUsed=!1,this._caseCount=0,this._lastCaseCheckIndex=0,this._lastCasesMatched=!1}set ngSwitch(h){this._ngSwitch=h,0===this._caseCount&&this._updateDefaultCases(!0)}_addCase(){return this._caseCount++}_addDefault(h){this._defaultViews||(this._defaultViews=[]),this._defaultViews.push(h)}_matchCase(h){const S=h==this._ngSwitch;return this._lastCasesMatched=this._lastCasesMatched||S,this._lastCaseCheckIndex++,this._lastCaseCheckIndex===this._caseCount&&(this._updateDefaultCases(!this._lastCasesMatched),this._lastCaseCheckIndex=0,this._lastCasesMatched=!1),S}_updateDefaultCases(h){if(this._defaultViews&&h!==this._defaultUsed){this._defaultUsed=h;for(let S=0;S{class f{constructor(h,S,P){this.ngSwitch=P,P._addCase(),this._view=new lt(h,S)}ngDoCheck(){this._view.enforceState(this.ngSwitch._matchCase(this.ngSwitchCase))}}return f.\u0275fac=function(h){return new(h||f)(g.Y36(g.s_b),g.Y36(g.Rgc),g.Y36(Yt,9))},f.\u0275dir=g.lG2({type:f,selectors:[["","ngSwitchCase",""]],inputs:{ngSwitchCase:"ngSwitchCase"},standalone:!0}),f})(),bt=(()=>{class f{constructor(h,S,P){P._addDefault(new lt(h,S))}}return f.\u0275fac=function(h){return new(h||f)(g.Y36(g.s_b),g.Y36(g.Rgc),g.Y36(Yt,9))},f.\u0275dir=g.lG2({type:f,selectors:[["","ngSwitchDefault",""]],standalone:!0}),f})(),Fe=(()=>{class f{constructor(h){this._viewContainerRef=h,this._viewRef=null,this.ngTemplateOutletContext=null,this.ngTemplateOutlet=null,this.ngTemplateOutletInjector=null}ngOnChanges(h){if(h.ngTemplateOutlet||h.ngTemplateOutletInjector){const S=this._viewContainerRef;if(this._viewRef&&S.remove(S.indexOf(this._viewRef)),this.ngTemplateOutlet){const{ngTemplateOutlet:P,ngTemplateOutletContext:V,ngTemplateOutletInjector:K}=this;this._viewRef=S.createEmbeddedView(P,V,K?{injector:K}:void 0)}else this._viewRef=null}else this._viewRef&&h.ngTemplateOutletContext&&this.ngTemplateOutletContext&&(this._viewRef.context=this.ngTemplateOutletContext)}}return f.\u0275fac=function(h){return new(h||f)(g.Y36(g.s_b))},f.\u0275dir=g.lG2({type:f,selectors:[["","ngTemplateOutlet",""]],inputs:{ngTemplateOutletContext:"ngTemplateOutletContext",ngTemplateOutlet:"ngTemplateOutlet",ngTemplateOutletInjector:"ngTemplateOutletInjector"},standalone:!0,features:[g.TTD]}),f})();class Fn{createSubscription(D,h){return D.subscribe({next:h,error:S=>{throw S}})}dispose(D){D.unsubscribe()}}class pr{createSubscription(D,h){return D.then(h,S=>{throw S})}dispose(D){}}const Rt=new pr,Ur=new Fn;let _n=(()=>{class f{constructor(h){this._latestValue=null,this._subscription=null,this._obj=null,this._strategy=null,this._ref=h}ngOnDestroy(){this._subscription&&this._dispose(),this._ref=null}transform(h){return this._obj?h!==this._obj?(this._dispose(),this.transform(h)):this._latestValue:(h&&this._subscribe(h),this._latestValue)}_subscribe(h){this._obj=h,this._strategy=this._selectStrategy(h),this._subscription=this._strategy.createSubscription(h,S=>this._updateLatestValue(h,S))}_selectStrategy(h){if((0,g.QGY)(h))return Rt;if((0,g.F4k)(h))return Ur;throw function Dt(f,D){return new g.vHH(2100,!1)}()}_dispose(){this._strategy.dispose(this._subscription),this._latestValue=null,this._subscription=null,this._obj=null}_updateLatestValue(h,S){h===this._obj&&(this._latestValue=S,this._ref.markForCheck())}}return f.\u0275fac=function(h){return new(h||f)(g.Y36(g.sBO,16))},f.\u0275pipe=g.Yjl({name:"async",type:f,pure:!1,standalone:!0}),f})(),$n=(()=>{class f{transform(h){return JSON.stringify(h,null,2)}}return f.\u0275fac=function(h){return new(h||f)},f.\u0275pipe=g.Yjl({name:"json",type:f,pure:!1,standalone:!0}),f})(),Hs=(()=>{class f{}return f.\u0275fac=function(h){return new(h||f)},f.\u0275mod=g.oAB({type:f}),f.\u0275inj=g.cJS({}),f})();const ts="browser";let Ws=(()=>{class f{}return f.\u0275prov=(0,g.Yz7)({token:f,providedIn:"root",factory:()=>new rs((0,g.LFG)(Q),window)}),f})();class rs{constructor(D,h){this.document=D,this.window=h,this.offset=()=>[0,0]}setOffset(D){this.offset=Array.isArray(D)?()=>D:D}getScrollPosition(){return this.supportsScrolling()?[this.window.pageXOffset,this.window.pageYOffset]:[0,0]}scrollToPosition(D){this.supportsScrolling()&&this.window.scrollTo(D[0],D[1])}scrollToAnchor(D){if(!this.supportsScrolling())return;const h=function Io(f,D){const h=f.getElementById(D)||f.getElementsByName(D)[0];if(h)return h;if("function"==typeof f.createTreeWalker&&f.body&&(f.body.createShadowRoot||f.body.attachShadow)){const S=f.createTreeWalker(f.body,NodeFilter.SHOW_ELEMENT);let P=S.currentNode;for(;P;){const V=P.shadowRoot;if(V){const K=V.getElementById(D)||V.querySelector(`[name="${D}"]`);if(K)return K}P=S.nextNode()}}return null}(this.document,D);h&&(this.scrollToElement(h),h.focus())}setHistoryScrollRestoration(D){if(this.supportScrollRestoration()){const h=this.window.history;h&&h.scrollRestoration&&(h.scrollRestoration=D)}}scrollToElement(D){const h=D.getBoundingClientRect(),S=h.left+this.window.pageXOffset,P=h.top+this.window.pageYOffset,V=this.offset();this.window.scrollTo(S-V[0],P-V[1])}supportScrollRestoration(){try{if(!this.supportsScrolling())return!1;const D=Qr(this.window.history)||Qr(Object.getPrototypeOf(this.window.history));return!(!D||!D.writable&&!D.set)}catch{return!1}}supportsScrolling(){try{return!!this.window&&!!this.window.scrollTo&&"pageXOffset"in this.window}catch{return!1}}}function Qr(f){return Object.getOwnPropertyDescriptor(f,"scrollRestoration")}class Jr{}},738:(Le,he,N)=>{N.d(he,{tb:()=>rm,AFp:()=>em,ip1:()=>Xg,CZH:()=>Bc,hGG:()=>zb,z2F:()=>$c,sBO:()=>Mb,Sil:()=>cb,_Vd:()=>mu,EJc:()=>ab,Xts:()=>yl,SBq:()=>yu,lqb:()=>Os,qLn:()=>vu,vpe:()=>qo,XFs:()=>ie,OlP:()=>gt,zs3:()=>Ns,ZZ4:()=>Hd,aQg:()=>$d,soG:()=>Hc,YKP:()=>ng,h0i:()=>Ba,PXZ:()=>bb,R0b:()=>Yr,FiY:()=>c,Lbi:()=>ob,g9A:()=>nm,Qsj:()=>wy,FYo:()=>Of,JOm:()=>Vr,tp0:()=>d,Rgc:()=>Pu,dDg:()=>vb,eoX:()=>lm,GfV:()=>Nf,s_b:()=>kc,ifc:()=>oe,MMx:()=>md,Lck:()=>oC,eFA:()=>hm,G48:()=>Tb,f3M:()=>Sn,MR2:()=>cy,_c5:()=>Vb,c2e:()=>ib,zSh:()=>Cl,wAp:()=>Ae,vHH:()=>Ee,lri:()=>um,rWj:()=>cm,D6c:()=>Gb,cg1:()=>ud,kL8:()=>Mp,dqk:()=>at,Z0I:()=>Xn,sIi:()=>bu,CqO:()=>Nh,QGY:()=>Jl,QP$:()=>fr,F4k:()=>Oh,RDi:()=>Bm,AaK:()=>ue,TTD:()=>Vn,jDz:()=>og,xp6:()=>Hf,uIk:()=>Yl,Suo:()=>Ag,Xpm:()=>Dn,lG2:()=>Jo,Yz7:()=>st,cJS:()=>wt,oAB:()=>kr,Yjl:()=>Xo,Y36:()=>Ia,_UZ:()=>ql,GkF:()=>Ql,BQk:()=>Mc,ynx:()=>Tc,qZA:()=>Ic,TgZ:()=>Sc,n5z:()=>fi,Ikx:()=>ad,LFG:()=>ot,$8M:()=>Es,$Z:()=>eh,NdJ:()=>Xl,CRH:()=>Rg,oxw:()=>Uh,ALo:()=>_g,lcZ:()=>Cg,xi3:()=>bg,Q6J:()=>Kl,DdM:()=>dg,VKq:()=>fg,WLB:()=>hg,kEZ:()=>pg,iGM:()=>Mg,MAs:()=>Ph,LSH:()=>ml,P3R:()=>Cf,YNc:()=>xh,W1O:()=>Ng,_uU:()=>lp,Oqu:()=>id,hij:()=>xc,AsE:()=>sd});var g=N(529),A=N(654),H=N(498),re=N(866),de=N(146),Q=N(9),q=N(762);class k{constructor(t,n){this.subjectFactory=t,this.selector=n}call(t,n){const{selector:r}=this,o=this.subjectFactory(),i=r(o).subscribe(t);return i.add(n.subscribe(o)),i}}var j=N(327);function G(){return new g.xQ}function X(e){for(let t in e)if(e[t]===X)return t;throw Error("Could not find renamed property on target object.")}function ue(e){if("string"==typeof e)return e;if(Array.isArray(e))return"["+e.map(ue).join(", ")+"]";if(null==e)return""+e;if(e.overriddenName)return`${e.overriddenName}`;if(e.name)return`${e.name}`;const t=e.toString();if(null==t)return""+t;const n=t.indexOf("\n");return-1===n?t:t.substring(0,n)}function Se(e,t){return null==e||""===e?null===t?"":t:null==t||""===t?e:e+" "+t}const tt=X({__forward_ref__:X});function Ye(e){return e.__forward_ref__=Ye,e.toString=function(){return ue(this())},e}function le(e){return Zt(e)?e():e}function Zt(e){return"function"==typeof e&&e.hasOwnProperty(tt)&&e.__forward_ref__===Ye}function hn(e){return e&&!!e.\u0275providers}const qn="https://g.co/ng/security#xss";class Ee extends Error{constructor(t,n){super(function _t(e,t){return`NG0${Math.abs(e)}${t?": "+t.trim():""}`}(t,n)),this.code=t}}function ge(e){return"string"==typeof e?e:null==e?"":String(e)}function Bt(e,t){throw new Ee(-201,!1)}function Gt(e,t){null==e&&function Ve(e,t,n,r){throw new Error(`ASSERTION ERROR: ${e}`+(null==r?"":` [Expected=> ${n} ${r} ${t} <=Actual]`))}(t,e,null,"!=")}function st(e){return{token:e.token,providedIn:e.providedIn||null,factory:e.factory,value:void 0}}function wt(e){return{providers:e.providers||[],imports:e.imports||[]}}function pt(e){return Nr(e,Pt)||Nr(e,yt)}function Xn(e){return null!==pt(e)}function Nr(e,t){return e.hasOwnProperty(t)?e[t]:null}function Fr(e){return e&&(e.hasOwnProperty(er)||e.hasOwnProperty(Ie))?e[er]:null}const Pt=X({\u0275prov:X}),er=X({\u0275inj:X}),yt=X({ngInjectableDef:X}),Ie=X({ngInjectorDef:X});var ie=(()=>((ie=ie||{})[ie.Default=0]="Default",ie[ie.Host=1]="Host",ie[ie.Self=2]="Self",ie[ie.SkipSelf=4]="SkipSelf",ie[ie.Optional=8]="Optional",ie))();let tr;function Qe(e){const t=tr;return tr=e,t}function Pn(e,t,n){const r=pt(e);return r&&"root"==r.providedIn?void 0===r.value?r.value=r.factory():r.value:n&ie.Optional?null:void 0!==t?t:void Bt(ue(e))}const at=(()=>typeof globalThis<"u"&&globalThis||typeof global<"u"&&global||typeof window<"u"&&window||typeof self<"u"&&typeof WorkerGlobalScope<"u"&&self instanceof WorkerGlobalScope&&self)(),De={},Tt="__NG_DI_FLAG__",lr="ngTempTokenPath",Lr=/\n/gm,Jt="__source";let vn;function wn(e){const t=vn;return vn=e,t}function Do(e,t=ie.Default){if(void 0===vn)throw new Ee(-203,!1);return null===vn?Pn(e,void 0,t):vn.get(e,t&ie.Optional?null:void 0,t)}function ot(e,t=ie.Default){return(function xn(){return tr}()||Do)(le(e),t)}function Sn(e,t=ie.Default){return ot(e,Hn(t))}function Hn(e){return typeof e>"u"||"number"==typeof e?e:0|(e.optional&&8)|(e.host&&1)|(e.self&&2)|(e.skipSelf&&4)}function nr(e){const t=[];for(let n=0;n((T=T||{})[T.OnPush=0]="OnPush",T[T.Default=1]="Default",T))(),oe=(()=>{return(e=oe||(oe={}))[e.Emulated=0]="Emulated",e[e.None=2]="None",e[e.ShadowDom=3]="ShadowDom",oe;var e})();const ee={},se=[],Ze=X({\u0275cmp:X}),$t=X({\u0275dir:X}),un=X({\u0275pipe:X}),Ot=X({\u0275mod:X}),Ke=X({\u0275fac:X}),ct=X({__NG_ELEMENT_ID__:X});let In=0;function Dn(e){return C(()=>{const n=!0===e.standalone,r={},o={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:r,inputs:null,outputs:null,exportAs:e.exportAs||null,onPush:e.changeDetection===T.OnPush,directiveDefs:null,pipeDefs:null,standalone:n,dependencies:n&&e.dependencies||null,getStandaloneInjector:null,selectors:e.selectors||se,viewQuery:e.viewQuery||null,features:e.features||null,data:e.data||{},encapsulation:e.encapsulation||oe.Emulated,id:"c"+In++,styles:e.styles||se,_:null,setInput:null,schemas:e.schemas||null,tView:null,findHostDirectiveDefs:null,hostDirectives:null},i=e.dependencies,a=e.features;return o.inputs=Qo(e.inputs,r),o.outputs=Qo(e.outputs),a&&a.forEach(l=>l(o)),o.directiveDefs=i?()=>("function"==typeof i?i():i).map(On).filter(_o):null,o.pipeDefs=i?()=>("function"==typeof i?i():i).map(jt).filter(_o):null,o})}function On(e){return ze(e)||Wt(e)}function _o(e){return null!==e}function kr(e){return C(()=>({type:e.type,bootstrap:e.bootstrap||se,declarations:e.declarations||se,imports:e.imports||se,exports:e.exports||se,transitiveCompileScopes:null,schemas:e.schemas||null,id:e.id||null}))}function Qo(e,t){if(null==e)return ee;const n={};for(const r in e)if(e.hasOwnProperty(r)){let o=e[r],i=o;Array.isArray(o)&&(i=o[1],o=o[0]),n[o]=r,t&&(t[o]=i)}return n}const Jo=Dn;function Xo(e){return{type:e.type,name:e.name,factory:null,pure:!1!==e.pure,standalone:!0===e.standalone,onDestroy:e.type.prototype.ngOnDestroy||null}}function ze(e){return e[Ze]||null}function Wt(e){return e[$t]||null}function jt(e){return e[un]||null}function fr(e){const t=ze(e)||Wt(e)||jt(e);return null!==t&&t.standalone}function gn(e,t){const n=e[Ot]||null;if(!n&&!0===t)throw new Error(`Type ${ue(e)} does not have '\u0275mod' property.`);return n}function Nt(e){return Array.isArray(e)&&"object"==typeof e[1]}function Ft(e){return Array.isArray(e)&&!0===e[1]}function yr(e){return 0!=(4&e.flags)}function or(e){return e.componentOffset>-1}function So(e){return 1==(1&e.flags)}function Tn(e){return null!==e.template}function ti(e){return 0!=(256&e[2])}function kn(e,t){return e.hasOwnProperty(Ke)?e[Ke]:null}class Ks{constructor(t,n,r){this.previousValue=t,this.currentValue=n,this.firstChange=r}isFirstChange(){return this.firstChange}}function Vn(){return ni}function ni(e){return e.type.prototype.ngOnChanges&&(e.setInput=Xr),os}function os(){const e=Dr(this),t=e?.current;if(t){const n=e.previous;if(n===ee)e.previous=t;else for(let r in t)n[r]=t[r];e.current=null,this.ngOnChanges(t)}}function Xr(e,t,n,r){const o=this.declaredInputs[n],i=Dr(e)||function Si(e,t){return e[ri]=t}(e,{previous:ee,current:null}),a=i.current||(i.current={}),l=i.previous,m=l[o];a[o]=new Ks(m&&m.currentValue,t,l===ee),e[r]=t}Vn.ngInherit=!0;const ri="__ngSimpleChanges__";function Dr(e){return e[ri]||null}function St(e){for(;Array.isArray(e);)e=e[0];return e}function cn(e,t){return St(t[e.index])}function oi(e,t){return e.data[t]}function no(e,t){return e[t]}function Lt(e,t){const n=t[e];return Nt(n)?n:n[0]}function $r(e){return 64==(64&e[2])}function _r(e,t){return null==t?null:e[t]}function Ao(e){e[18]=0}function It(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 Oe={lFrame:ds(null),bindingsEnabled:!0};function Ai(){return Oe.bindingsEnabled}function Y(){return Oe.lFrame.lView}function Ge(){return Oe.lFrame.tView}function Ut(){let e=Cr();for(;null!==e&&64===e.type;)e=e.parent;return e}function Cr(){return Oe.lFrame.currentTNode}function zn(e,t){const n=Oe.lFrame;n.currentTNode=e,n.isParent=t}function Ro(){return Oe.lFrame.isParent}function Gn(){Oe.lFrame.isParent=!1}function xt(){const e=Oe.lFrame;let t=e.bindingRootIndex;return-1===t&&(t=e.bindingRootIndex=e.tView.bindingStartIndex),t}function oo(){return Oe.lFrame.bindingIndex++}function Xs(e,t){const n=Oe.lFrame;n.bindingIndex=n.bindingRootIndex=e,Pi(t)}function Pi(e){Oe.lFrame.currentDirectiveIndex=e}function io(){return Oe.lFrame.currentQueryIndex}function Er(e){Oe.lFrame.currentQueryIndex=e}function cs(e){const t=e[1];return 2===t.type?t.declTNode:1===t.type?e[6]:null}function si(e,t,n){if(n&ie.SkipSelf){let o=t,i=e;for(;!(o=o.parent,null!==o||n&ie.Host||(o=cs(i),null===o||(i=i[15],10&o.type))););if(null===o)return!1;t=o,e=i}const r=Oe.lFrame=ls();return r.currentTNode=t,r.lView=e,!0}function Oi(e){const t=ls(),n=e[1];Oe.lFrame=t,t.currentTNode=n.firstChild,t.lView=e,t.tView=n,t.contextLView=e,t.bindingIndex=n.bindingStartIndex,t.inI18n=!1}function ls(){const e=Oe.lFrame,t=null===e?null:e.child;return null===t?ds(e):t}function ds(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 fs(){const e=Oe.lFrame;return Oe.lFrame=e.parent,e.currentTNode=null,e.lView=null,e}const hs=fs;function Ni(){const e=fs();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 f(){return Oe.lFrame.selectedIndex}function D(e){Oe.lFrame.selectedIndex=e}function h(){const e=Oe.lFrame;return oi(e.tView,e.selectedIndex)}function $e(e,t){for(let n=t.directiveStart,r=t.directiveEnd;n=r)break}else t[m]<0&&(e[18]+=65536),(l>11>16&&(3&e[2])===t){e[2]+=2048;try{i.call(l)}finally{}}}else try{i.call(l)}finally{}}class on{constructor(t,n,r){this.factory=t,this.resolving=!1,this.canSeeViewProviders=n,this.injectImpl=r}}function gs(e,t,n){let r=0;for(;rt){a=i-1;break}}}for(;i>16}(e),r=t;for(;n>0;)r=r[15],n--;return r}let ia=!0;function ci(e){const t=ia;return ia=e,t}let qa=0;const sr={};function Ui(e,t){const n=ft(e,t);if(-1!==n)return n;const r=t[1];r.firstCreatePass&&(e.injectorIndex=t.length,Bi(r.data,e),Bi(t,null),Bi(r.blueprint,null));const o=ys(e,t),i=e.injectorIndex;if(ms(o)){const a=ji(o),l=ui(o,t),m=l[1].data;for(let v=0;v<8;v++)t[i+v]=l[a+v]|m[a+v]}return t[i+8]=o,i}function Bi(e,t){e.push(0,0,0,0,0,0,0,0,t)}function ft(e,t){return-1===e.injectorIndex||e.parent&&e.parent.injectorIndex===e.injectorIndex||null===t[e.injectorIndex+8]?-1:e.injectorIndex}function ys(e,t){if(e.parent&&-1!==e.parent.injectorIndex)return e.parent.injectorIndex;let n=0,r=null,o=t;for(;null!==o;){if(r=bs(o),null===r)return-1;if(n++,o=o[15],-1!==r.injectorIndex)return r.injectorIndex|n<<16}return-1}function Hi(e,t,n){!function Qa(e,t,n){let r;"string"==typeof n?r=n.charCodeAt(0)||0:n.hasOwnProperty(ct)&&(r=n[ct]),null==r&&(r=n[ct]=qa++);const o=255&r;t.data[e+(o>>5)]|=1<=0?255&t:Ja:t}(n);if("function"==typeof i){if(!si(t,e,r))return r&ie.Host?$i(o,0,r):vs(t,n,r,o);try{const a=i(r);if(null!=a||r&ie.Optional)return a;Bt()}finally{hs()}}else if("number"==typeof i){let a=null,l=ft(e,t),m=-1,v=r&ie.Host?t[16][6]:null;for((-1===l||r&ie.SkipSelf)&&(m=-1===l?ys(e,t):t[l+8],-1!==m&&_s(r,!1)?(a=t[1],l=ji(m),t=ui(m,t)):l=-1);-1!==l;){const I=t[1];if(ca(i,l,I.data)){const R=li(l,t,n,a,r,v);if(R!==sr)return R}m=t[l+8],-1!==m&&_s(r,t[1].data[l+8]===v)&&ca(i,l,t)?(a=I,l=ji(m),t=ui(m,t)):l=-1}}return o}function li(e,t,n,r,o,i){const a=t[1],l=a.data[e+8],I=di(l,a,n,null==r?or(l)&&ia:r!=a&&0!=(3&l.type),o&ie.Host&&i===l);return null!==I?Tr(t,a,I,l):sr}function di(e,t,n,r,o){const i=e.providerIndexes,a=t.data,l=1048575&i,m=e.directiveStart,I=i>>20,F=o?l+I:e.directiveEnd;for(let U=r?l:l+I;U=m&&W.type===n)return U}if(o){const U=a[m];if(U&&Tn(U)&&U.type===n)return m}return null}function Tr(e,t,n,r){let o=e[n];const i=t.data;if(function wr(e){return e instanceof on}(o)){const a=o;a.resolving&&function Ne(e,t){const n=t?`. Dependency path: ${t.join(" > ")} > ${e}`:"";throw new Ee(-200,`Circular dependency in DI detected for ${e}${n}`)}(function ye(e){return"function"==typeof e?e.name||e.toString():"object"==typeof e&&null!=e&&"function"==typeof e.type?e.type.name||e.type.toString():ge(e)}(i[n]));const l=ci(a.canSeeViewProviders);a.resolving=!0;const m=a.injectImpl?Qe(a.injectImpl):null;si(e,r,ie.Default);try{o=e[n]=a.factory(void 0,i,e,r),t.firstCreatePass&&n>=r.directiveStart&&function Xe(e,t,n){const{ngOnChanges:r,ngOnInit:o,ngDoCheck:i}=t.type.prototype;if(r){const a=ni(t);(n.preOrderHooks||(n.preOrderHooks=[])).push(e,a),(n.preOrderCheckHooks||(n.preOrderCheckHooks=[])).push(e,a)}o&&(n.preOrderHooks||(n.preOrderHooks=[])).push(0-e,o),i&&((n.preOrderHooks||(n.preOrderHooks=[])).push(e,i),(n.preOrderCheckHooks||(n.preOrderCheckHooks=[])).push(e,i))}(n,i[n],t)}finally{null!==m&&Qe(m),ci(l),a.resolving=!1,hs()}}return o}function ca(e,t,n){return!!(n[t+(e>>5)]&1<{const t=e.prototype.constructor,n=t[Ke]||Cs(t),r=Object.prototype;let o=Object.getPrototypeOf(e.prototype).constructor;for(;o&&o!==r;){const i=o[Ke]||Cs(o);if(i&&i!==n)return i;o=Object.getPrototypeOf(o)}return i=>new i})}function Cs(e){return Zt(e)?()=>{const t=Cs(le(e));return t&&t()}:kn(e)}function bs(e){const t=e[1],n=t.type;return 2===n?t.declTNode:1===n?e[6]:null}function Es(e){return function Oo(e,t){if("class"===t)return e.classes;if("style"===t)return e.styles;const n=e.attrs;if(n){const r=n.length;let o=0;for(;o{const r=function ws(e){return function(...n){if(e){const r=e(...n);for(const o in r)this[o]=r[o]}}}(t);function o(...i){if(this instanceof o)return r.apply(this,i),this;const a=new o(...i);return l.annotation=a,l;function l(m,v,I){const R=m.hasOwnProperty(hi)?m[hi]:Object.defineProperty(m,hi,{value:[]})[hi];for(;R.length<=I;)R.push(null);return(R[I]=R[I]||[]).push(a),m}}return n&&(o.prototype=Object.create(n.prototype)),o.prototype.ngMetadataName=e,o.annotationCls=o,o})}class gt{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=st({token:this,providedIn:n.providedIn||"root",factory:n.factory}))}get multi(){return this}toString(){return`InjectionToken ${this._desc}`}}function Wn(e,t){e.forEach(n=>Array.isArray(n)?Wn(n,t):t(n))}function ha(e,t,n){t>=e.length?e.push(n):e.splice(t,0,n)}function jo(e,t){return t>=e.length-1?e.pop():e.splice(t,1)[0]}const c=rn(Mr("Optional"),8),d=rn(Mr("SkipSelf"),4);var Vr=(()=>((Vr=Vr||{})[Vr.Important=1]="Important",Vr[Vr.DashCase=2]="DashCase",Vr))();const Ku=new Map;let Zd=0;const lu="__ngContext__";function En(e,t){Nt(t)?(e[lu]=t[20],function qd(e){Ku.set(e[20],e)}(t)):e[lu]=t}function Vo(e,t){return undefined(e,t)}function Yi(e){const t=e[3];return Ft(t)?t[3]:t}function lo(e){return Ki(e[13])}function nc(e){return Ki(e[4])}function Ki(e){for(;null!==e&&!Ft(e);)e=e[4];return e}function zo(e,t,n,r,o){if(null!=r){let i,a=!1;Ft(r)?i=r:Nt(r)&&(a=!0,r=r[0]);const l=St(r);0===e&&null!==n?null==o?fe(t,n,l):te(t,n,l,o||null,!0):1===e&&null!==n?te(t,n,l,o||null,!0):2===e?function Zi(e,t,n){const r=ht(e,t);r&&function mt(e,t,n,r){e.removeChild(t,n,r)}(e,r,t,n)}(t,l,a):3===e&&t.destroyNode(l),null!=i&&function Nm(e,t,n,r,o){const i=n[7];i!==St(n)&&zo(t,e,r,i,o);for(let l=10;l0&&(e[n-1][4]=r[4]);const i=jo(e,10+t);!function ef(e,t){fu(e,t,t[11],2,null,null),t[0]=null,t[6]=null}(r[1],r);const a=i[19];null!==a&&a.detachView(i[1]),r[3]=null,r[4]=null,r[2]&=-65}return r}function cc(e,t){if(!(128&t[2])){const n=t[11];n.destroyNode&&fu(e,t,n,3,null,null),function nf(e){let t=e[13];if(!t)return lc(e[1],e);for(;t;){let n=null;if(Nt(t))n=t[13];else{const r=t[10];r&&(n=r)}if(!n){for(;t&&!t[4]&&t!==e;)Nt(t)&&lc(t[1],t),t=t[3];null===t&&(t=e),Nt(t)&&lc(t[1],t),n=t&&t[4]}t=n}}(t)}}function lc(e,t){if(!(128&t[2])){t[2]&=-65,t[2]|=128,function E(e,t){let n;if(null!=e&&null!=(n=e.destroyHooks))for(let r=0;r=0?r[o=a]():r[o=-a].unsubscribe(),i+=2}else{const a=r[o=n[i+1]];n[i].call(a)}if(null!==r){for(let i=o+1;i-1){const{encapsulation:i}=e.data[r.directiveStart+o];if(i===oe.None||i===oe.Emulated)return null}return cn(r,n)}}(e,t.parent,n)}function te(e,t,n,r,o){e.insertBefore(t,n,r,o)}function fe(e,t,n){e.appendChild(t,n)}function Pe(e,t,n,r,o){null!==r?te(e,t,n,r,o):fe(e,t,n)}function ht(e,t){return e.parentNode(t)}let ll,fc,zr=function dn(e,t,n){return 40&e.type?cn(e,n):null};function Rr(e,t,n,r){const o=_(e,r,t),i=t[11],l=function Kn(e,t,n){return zr(e,t,n)}(r.parent||t[6],r,t);if(null!=o)if(Array.isArray(n))for(let m=0;me,createScript:e=>e,createScriptURL:e=>e})}catch{}return fc}()?.createScriptURL(e)||e}class hf{constructor(t){this.changingThisBreaksApplicationSecurity=t}toString(){return`SafeValue must use [property]=binding: ${this.changingThisBreaksApplicationSecurity} (see ${qn})`}}function Qi(e){return e instanceof hf?e.changingThisBreaksApplicationSecurity:e}function hu(e,t){const n=function Wm(e){return e instanceof hf&&e.getTypeName()||null}(e);if(null!=n&&n!==t){if("ResourceURL"===n&&"URL"===t)return!0;throw new Error(`Required a safe ${t}, got a ${n} (see ${qn})`)}return n===t}const qm=/^(?:(?:https?|mailto|data|ftp|tel|file|sms):|[^&:/?#]*(?:[/?#]|$))/gi;var fn=(()=>((fn=fn||{})[fn.NONE=0]="NONE",fn[fn.HTML=1]="HTML",fn[fn.STYLE=2]="STYLE",fn[fn.SCRIPT=3]="SCRIPT",fn[fn.URL=4]="URL",fn[fn.RESOURCE_URL=5]="RESOURCE_URL",fn))();function ml(e){const t=gu();return t?t.sanitize(fn.URL,e)||"":hu(e,"URL")?Qi(e):function fl(e){return(e=String(e)).match(qm)?e:"unsafe:"+e}(ge(e))}function _f(e){const t=gu();if(t)return ff(t.sanitize(fn.RESOURCE_URL,e)||"");if(hu(e,"ResourceURL"))return ff(Qi(e));throw new Ee(904,!1)}function Cf(e,t,n){return function uy(e,t){return"src"===t&&("embed"===e||"frame"===e||"iframe"===e||"media"===e||"script"===e)||"href"===t&&("base"===e||"link"===e)?_f:ml}(t,n)(e)}function gu(){const e=Y();return e&&e[12]}const yl=new gt("ENVIRONMENT_INITIALIZER"),bf=new gt("INJECTOR",-1),Ef=new gt("INJECTOR_DEF_TYPES");class wf{get(t,n=De){if(n===De){const r=new Error(`NullInjectorError: No provider for ${ue(t)}!`);throw r.name="NullInjectorError",r}return n}}function cy(e){return{\u0275providers:e}}function ly(...e){return{\u0275providers:Sf(0,e),\u0275fromNgModule:!0}}function Sf(e,...t){const n=[],r=new Set;let o;return Wn(t,i=>{const a=i;vl(a,n,[],r)&&(o||(o=[]),o.push(a))}),void 0!==o&&If(o,n),n}function If(e,t){for(let n=0;n{t.push(i)})}}function vl(e,t,n,r){if(!(e=le(e)))return!1;let o=null,i=Fr(e);const a=!i&&ze(e);if(i||a){if(a&&!a.standalone)return!1;o=e}else{const m=e.ngModule;if(i=Fr(m),!i)return!1;o=m}const l=r.has(o);if(a){if(l)return!1;if(r.add(o),a.dependencies){const m="function"==typeof a.dependencies?a.dependencies():a.dependencies;for(const v of m)vl(v,t,n,r)}}else{if(!i)return!1;{if(null!=i.imports&&!l){let v;r.add(o);try{Wn(i.imports,I=>{vl(I,t,n,r)&&(v||(v=[]),v.push(I))})}finally{}void 0!==v&&If(v,t)}if(!l){const v=kn(o)||(()=>new o);t.push({provide:o,useFactory:v,deps:se},{provide:Ef,useValue:o,multi:!0},{provide:yl,useValue:()=>ot(o),multi:!0})}const m=i.providers;null==m||l||Dl(m,I=>{t.push(I)})}}return o!==e&&void 0!==e.providers}function Dl(e,t){for(let n of e)hn(n)&&(n=n.\u0275providers),Array.isArray(n)?Dl(n,t):t(n)}const dy=X({provide:String,useValue:X});function _l(e){return null!==e&&"object"==typeof e&&dy in e}function Ps(e){return"function"==typeof e}const Cl=new gt("Set Injector scope."),pc={},hy={};let bl;function gc(){return void 0===bl&&(bl=new wf),bl}class Os{}class Af extends Os{constructor(t,n,r,o){super(),this.parent=n,this.source=r,this.scopes=o,this.records=new Map,this._ngOnDestroyHooks=new Set,this._onDestroyHooks=[],this._destroyed=!1,wl(t,a=>this.processProvider(a)),this.records.set(bf,ba(void 0,this)),o.has("environment")&&this.records.set(Os,ba(void 0,this));const i=this.records.get(Cl);null!=i&&"string"==typeof i.value&&this.scopes.add(i.value),this.injectorDefTypes=new Set(this.get(Ef.multi,se,ie.Self))}get destroyed(){return this._destroyed}destroy(){this.assertNotDestroyed(),this._destroyed=!0;try{for(const t of this._ngOnDestroyHooks)t.ngOnDestroy();for(const t of this._onDestroyHooks)t()}finally{this.records.clear(),this._ngOnDestroyHooks.clear(),this.injectorDefTypes.clear(),this._onDestroyHooks.length=0}}onDestroy(t){this._onDestroyHooks.push(t)}runInContext(t){this.assertNotDestroyed();const n=wn(this),r=Qe(void 0);try{return t()}finally{wn(n),Qe(r)}}get(t,n=De,r=ie.Default){this.assertNotDestroyed(),r=Hn(r);const o=wn(this),i=Qe(void 0);try{if(!(r&ie.SkipSelf)){let l=this.records.get(t);if(void 0===l){const m=function vy(e){return"function"==typeof e||"object"==typeof e&&e instanceof gt}(t)&&pt(t);l=m&&this.injectableDefInScope(m)?ba(El(t),pc):null,this.records.set(t,l)}if(null!=l)return this.hydrate(t,l)}return(r&ie.Self?gc():this.parent).get(t,n=r&ie.Optional&&n===De?null:n)}catch(a){if("NullInjectorError"===a.name){if((a[lr]=a[lr]||[]).unshift(ue(t)),o)throw a;return function $(e,t,n,r){const o=e[lr];throw t[Jt]&&o.unshift(t[Jt]),e.message=function b(e,t,n,r=null){e=e&&"\n"===e.charAt(0)&&"\u0275"==e.charAt(1)?e.slice(2):e;let o=ue(t);if(Array.isArray(t))o=t.map(ue).join(" -> ");else if("object"==typeof t){let i=[];for(let a in t)if(t.hasOwnProperty(a)){let l=t[a];i.push(a+":"+("string"==typeof l?JSON.stringify(l):ue(l)))}o=`{${i.join(", ")}}`}return`${n}${r?"("+r+")":""}[${o}]: ${e.replace(Lr,"\n ")}`}("\n"+e.message,o,n,r),e.ngTokenPath=o,e[lr]=null,e}(a,t,"R3InjectorError",this.source)}throw a}finally{Qe(i),wn(o)}}resolveInjectorInitializers(){const t=wn(this),n=Qe(void 0);try{const r=this.get(yl.multi,se,ie.Self);for(const o of r)o()}finally{wn(t),Qe(n)}}toString(){const t=[],n=this.records;for(const r of n.keys())t.push(ue(r));return`R3Injector[${t.join(", ")}]`}assertNotDestroyed(){if(this._destroyed)throw new Ee(205,!1)}processProvider(t){let n=Ps(t=le(t))?t:le(t&&t.provide);const r=function gy(e){return _l(e)?ba(void 0,e.useValue):ba(function Rf(e,t,n){let r;if(Ps(e)){const o=le(e);return kn(o)||El(o)}if(_l(e))r=()=>le(e.useValue);else if(function Mf(e){return!(!e||!e.useFactory)}(e))r=()=>e.useFactory(...nr(e.deps||[]));else if(function Tf(e){return!(!e||!e.useExisting)}(e))r=()=>ot(le(e.useExisting));else{const o=le(e&&(e.useClass||e.provide));if(!function my(e){return!!e.deps}(e))return kn(o)||El(o);r=()=>new o(...nr(e.deps))}return r}(e),pc)}(t);if(Ps(t)||!0!==t.multi)this.records.get(n);else{let o=this.records.get(n);o||(o=ba(void 0,pc,!0),o.factory=()=>nr(o.multi),this.records.set(n,o)),n=t,o.multi.push(t)}this.records.set(n,r)}hydrate(t,n){return n.value===pc&&(n.value=hy,n.value=n.factory()),"object"==typeof n.value&&n.value&&function yy(e){return null!==e&&"object"==typeof e&&"function"==typeof e.ngOnDestroy}(n.value)&&this._ngOnDestroyHooks.add(n.value),n.value}injectableDefInScope(t){if(!t.providedIn)return!1;const n=le(t.providedIn);return"string"==typeof n?"any"===n||this.scopes.has(n):this.injectorDefTypes.has(n)}}function El(e){const t=pt(e),n=null!==t?t.factory:kn(e);if(null!==n)return n;if(e instanceof gt)throw new Ee(204,!1);if(e instanceof Function)return function py(e){const t=e.length;if(t>0)throw function Uo(e,t){const n=[];for(let r=0;rn.factory(e):()=>new e}(e);throw new Ee(204,!1)}function ba(e,t,n=!1){return{factory:e,value:t,multi:n?[]:void 0}}function wl(e,t){for(const n of e)Array.isArray(n)?wl(n,t):n&&hn(n)?wl(n.\u0275providers,t):t(n)}class Dy{}class xf{}class Cy{resolveComponentFactory(t){throw function _y(e){const t=Error(`No component factory found for ${ue(e)}. Did you add it to @NgModule.entryComponents?`);return t.ngComponent=e,t}(t)}}let mu=(()=>{class e{}return e.NULL=new Cy,e})();function by(){return Ea(Ut(),Y())}function Ea(e,t){return new yu(cn(e,t))}let yu=(()=>{class e{constructor(n){this.nativeElement=n}}return e.__NG_ELEMENT_ID__=by,e})();function Ey(e){return e instanceof yu?e.nativeElement:e}class Of{}let wy=(()=>{class e{}return e.__NG_ELEMENT_ID__=()=>function Sy(){const e=Y(),n=Lt(Ut().index,e);return(Nt(n)?n:e)[11]}(),e})(),Iy=(()=>{class e{}return e.\u0275prov=st({token:e,providedIn:"root",factory:()=>null}),e})();class Nf{constructor(t){this.full=t,this.major=t.split(".")[0],this.minor=t.split(".")[1],this.patch=t.split(".").slice(2).join(".")}}const Ty=new Nf("15.0.4"),Sl={};function Tl(e){return e.ngOriginalError}class vu{constructor(){this._console=console}handleError(t){const n=this._findOriginalError(t);this._console.error("ERROR",t),n&&this._console.error("ORIGINAL ERROR",n)}_findOriginalError(t){let n=t&&Tl(t);for(;n&&Tl(n);)n=Tl(n);return n||null}}function vi(e){return e instanceof Function?e():e}function Lf(e,t,n){let r=e.length;for(;;){const o=e.indexOf(t,n);if(-1===o)return o;if(0===o||e.charCodeAt(o-1)<=32){const i=t.length;if(o+i===r||e.charCodeAt(o+i)<=32)return o}n=o+1}}const kf="ng-template";function jy(e,t,n){let r=0;for(;ri?"":o[R+1].toLowerCase();const U=8&r?F:null;if(U&&-1!==Lf(U,v,0)||2&r&&v!==F){if(fo(r))return!1;a=!0}}}}else{if(!a&&!fo(r)&&!fo(m))return!1;if(a&&fo(m))continue;a=!1,r=m|1&r}}return fo(r)||a}function fo(e){return 0==(1&e)}function Hy(e,t,n,r){if(null===t)return-1;let o=0;if(r||!n){let i=!1;for(;o-1)for(n++;n0?'="'+l+'"':"")+"]"}else 8&r?o+="."+a:4&r&&(o+=" "+a);else""!==o&&!fo(a)&&(t+=Bf(i,o),o=""),r=a,i=i||!fo(r);n++}return""!==o&&(t+=Bf(i,o)),t}const He={};function Hf(e){$f(Ge(),Y(),f()+e,!1)}function $f(e,t,n,r){if(!r)if(3==(3&t[2])){const i=e.preOrderCheckHooks;null!==i&&qe(t,i,n)}else{const i=e.preOrderHooks;null!==i&&ke(t,i,0,n)}D(n)}function Wf(e,t=null,n=null,r){const o=Yf(e,t,n,r);return o.resolveInjectorInitializers(),o}function Yf(e,t=null,n=null,r,o=new Set){const i=[n||se,ly(e)];return r=r||("object"==typeof e?void 0:ue(e)),new Af(i,t||gc(),r||null,o)}let Ns=(()=>{class e{static create(n,r){if(Array.isArray(n))return Wf({name:""},r,n,"");{const o=n.name??"";return Wf({name:o},n.parent,n.providers,o)}}}return e.THROW_IF_NOT_FOUND=De,e.NULL=new wf,e.\u0275prov=st({token:e,providedIn:"any",factory:()=>ot(bf)}),e.__NG_ELEMENT_ID__=-1,e})();function Ia(e,t=ie.Default){const n=Y();return null===n?ot(e,t):so(Ut(),n,le(e),t)}function eh(){throw new Error("invalid")}function th(e,t){const n=e.contentQueries;if(null!==n)for(let r=0;r22&&$f(e,t,22,!1),n(r,o)}finally{D(i)}}function Nl(e,t,n){if(yr(t)){const o=t.directiveEnd;for(let i=t.directiveStart;i0;){const n=e[--t];if("number"==typeof n&&n<0)return n}return 0})(a)!=l&&a.push(l),a.push(n,r,i)}}(e,t,r,Du(e,n,o.hostVars,He),o)}function Wo(e,t,n,r,o,i){const a=cn(e,t);!function Bl(e,t,n,r,o,i,a){if(null==i)e.removeAttribute(t,o,n);else{const l=null==a?ge(i):a(i,r||"",o);e.setAttribute(t,o,l,n)}}(t[11],a,i,e.value,n,r,o)}function Pv(e,t,n,r,o,i){const a=i[t];if(null!==a){const l=r.setInput;for(let m=0;m0&&Hl(n)}}function Hl(e){for(let r=lo(e);null!==r;r=nc(r))for(let o=10;o0&&Hl(i)}const n=e[1].components;if(null!==n)for(let r=0;r0&&Hl(o)}}function kv(e,t){const n=Lt(t,e),r=n[1];(function jv(e,t){for(let n=t.length;n-1&&(uc(t,r),jo(n,r))}this._attachedToViewContainer=!1}cc(this._lView[1],this._lView)}onDestroy(t){oh(this._lView[1],this._lView,null,t)}markForCheck(){$l(this._cdRefInjectingView||this._lView)}detach(){this._lView[2]&=-65}reattach(){this._lView[2]|=64}detectChanges(){_c(this._lView[1],this._lView,this.context)}checkNoChanges(){}attachToViewContainerRef(){if(this._appRef)throw new Ee(902,!1);this._attachedToViewContainer=!0}detachFromAppRef(){this._appRef=null,function ic(e,t){fu(e,t,t[11],2,null,null)}(this._lView[1],this._lView)}attachToAppRef(t){if(this._attachedToViewContainer)throw new Ee(902,!1);this._appRef=t}}class Uv extends _u{constructor(t){super(t),this._view=t}detectChanges(){const t=this._view;_c(t[1],t,t[8],!1)}checkNoChanges(){}get context(){return null}}class gh extends mu{constructor(t){super(),this.ngModule=t}resolveComponentFactory(t){const n=ze(t);return new Cu(n,this.ngModule)}}function mh(e){const t=[];for(let n in e)e.hasOwnProperty(n)&&t.push({propName:e[n],templateName:n});return t}class Hv{constructor(t,n){this.injector=t,this.parentInjector=n}get(t,n,r){r=Hn(r);const o=this.injector.get(t,Sl,r);return o!==Sl||n===Sl?o:this.parentInjector.get(t,n,r)}}class Cu extends xf{constructor(t,n){super(),this.componentDef=t,this.ngModule=n,this.componentType=t.type,this.selector=function Yy(e){return e.map(Wy).join(",")}(t.selectors),this.ngContentSelectors=t.ngContentSelectors?t.ngContentSelectors:[],this.isBoundToModule=!!n}get inputs(){return mh(this.componentDef.inputs)}get outputs(){return mh(this.componentDef.outputs)}create(t,n,r,o){let i=(o=o||this.ngModule)instanceof Os?o:o?.injector;i&&null!==this.componentDef.getStandaloneInjector&&(i=this.componentDef.getStandaloneInjector(i)||i);const a=i?new Hv(t,i):t,l=a.get(Of,null);if(null===l)throw new Ee(407,!1);const m=a.get(Iy,null),v=l.createRenderer(null,this.componentDef),I=this.componentDef.selectors[0][0]||"div",R=r?function yv(e,t,n){return e.selectRootElement(t,n===oe.ShadowDom)}(v,r,this.componentDef.encapsulation):oc(v,I,function Bv(e){const t=e.toLowerCase();return"svg"===t?"svg":"math"===t?"math":null}(I)),F=this.componentDef.onPush?288:272,U=kl(0,null,null,1,0,null,null,null,null,null),W=yc(null,U,null,F,null,null,l,v,m,a,null);let ce,pe;Oi(W);try{const we=this.componentDef;let xe,ne=null;we.findHostDirectiveDefs?(xe=[],ne=new Map,we.findHostDirectiveDefs(we,xe,ne),xe.push(we)):xe=[we];const je=function Vv(e,t){const n=e[1];return e[22]=t,Ta(n,22,2,"#host",null)}(W,R),zt=function zv(e,t,n,r,o,i,a,l){const m=o[1];!function Gv(e,t,n,r){for(const o of e)t.mergedAttrs=ai(t.mergedAttrs,o.hostAttrs);null!==t.mergedAttrs&&(Cc(t,t.mergedAttrs,!0),null!==n&&uf(r,n,t))}(r,e,t,a);const v=i.createRenderer(t,n),I=yc(o,rh(n),null,n.onPush?32:16,o[e.index],e,i,v,l||null,null,null);return m.firstCreatePass&&Ul(m,e,r.length-1),Dc(o,I),o[e.index]=I}(je,R,we,xe,W,l,v);pe=oi(U,22),R&&function Yv(e,t,n,r){if(r)gs(e,n,["ng-version",Ty.full]);else{const{attrs:o,classes:i}=function Ky(e){const t=[],n=[];let r=1,o=2;for(;r0&&af(e,n,i.join(" "))}}(v,we,R,r),void 0!==n&&function Kv(e,t,n){const r=e.projection=[];for(let o=0;oa(St(je[r.index])):r.index;let ne=null;if(!a&&l&&(ne=function pD(e,t,n,r){const o=e.cleanup;if(null!=o)for(let i=0;im?l[m]:null}"string"==typeof a&&(i+=2)}return null}(e,t,o,r.index)),null!==ne)(ne.__ngLastListenerFn__||ne).__ngNextListenerFn__=i,ne.__ngLastListenerFn__=i,F=!1;else{i=jh(r,t,I,i,!1);const je=n.listen(pe,o,i);R.push(i,je),v&&v.push(o,xe,we,we+1)}}else i=jh(r,t,I,i,!1);const U=r.outputs;let W;if(F&&null!==U&&(W=U[o])){const ce=W.length;if(ce)for(let pe=0;pe-1?Lt(e.index,t):t);let m=kh(t,0,r,a),v=i.__ngNextListenerFn__;for(;v;)m=kh(t,0,v,a)&&m,v=v.__ngNextListenerFn__;return o&&!1===m&&(a.preventDefault(),a.returnValue=!1),m}}function Uh(e=1){return function ps(e){return(Oe.lFrame.contextLView=function Fi(e,t){for(;e>0;)t=t[15],e--;return t}(e,Oe.lFrame.contextLView))[8]}(e)}function lp(e,t=""){const n=Y(),r=Ge(),o=e+22,i=r.firstCreatePass?Ta(r,o,1,t,null):r.data[o],a=n[o]=function _a(e,t){return e.createText(t)}(n[11],t);Rr(r,n,a,i),zn(i,!1)}function id(e){return xc("",e,""),id}function xc(e,t,n){const r=Y(),o=function Aa(e,t,n,r){return Un(e,oo(),n)?t+ge(n)+r:He}(r,e,t,n);return o!==He&&Di(r,f(),o),xc}function sd(e,t,n,r,o){const i=Y(),a=Ra(i,e,t,n,r,o);return a!==He&&Di(i,f(),a),sd}function ad(e,t,n){const r=Y();return Un(r,oo(),t)&&xr(Ge(),h(),r,e,t,r[11],n,!0),ad}const js=void 0;var o_=["en",[["a","p"],["AM","PM"],js],[["AM","PM"],js,js],[["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"]],js,[["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"]],js,[["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}",js,"{1} 'at' {0}",js],[".",",",";","%","+","-","E","\xd7","\u2030","\u221e","NaN",":"],["#,##0.###","#,##0%","\xa4#,##0.00","#E0"],"USD","$","US Dollar",{},"ltr",function r_(e){const n=Math.floor(Math.abs(e)),r=e.toString().replace(/^[^.]*\.?/,"").length;return 1===n&&0===r?1:5}];let ja={};function ud(e){const t=function i_(e){return e.toLowerCase().replace(/_/g,"-")}(e);let n=Ap(t);if(n)return n;const r=t.split("-")[0];if(n=Ap(r),n)return n;if("en"===r)return o_;throw new Ee(701,!1)}function Mp(e){return ud(e)[Ae.PluralCase]}function Ap(e){return e in ja||(ja[e]=at.ng&&at.ng.common&&at.ng.common.locales&&at.ng.common.locales[e]),ja[e]}var Ae=(()=>((Ae=Ae||{})[Ae.LocaleId=0]="LocaleId",Ae[Ae.DayPeriodsFormat=1]="DayPeriodsFormat",Ae[Ae.DayPeriodsStandalone=2]="DayPeriodsStandalone",Ae[Ae.DaysFormat=3]="DaysFormat",Ae[Ae.DaysStandalone=4]="DaysStandalone",Ae[Ae.MonthsFormat=5]="MonthsFormat",Ae[Ae.MonthsStandalone=6]="MonthsStandalone",Ae[Ae.Eras=7]="Eras",Ae[Ae.FirstDayOfWeek=8]="FirstDayOfWeek",Ae[Ae.WeekendRange=9]="WeekendRange",Ae[Ae.DateFormat=10]="DateFormat",Ae[Ae.TimeFormat=11]="TimeFormat",Ae[Ae.DateTimeFormat=12]="DateTimeFormat",Ae[Ae.NumberSymbols=13]="NumberSymbols",Ae[Ae.NumberFormats=14]="NumberFormats",Ae[Ae.CurrencyCode=15]="CurrencyCode",Ae[Ae.CurrencySymbol=16]="CurrencySymbol",Ae[Ae.CurrencyName=17]="CurrencyName",Ae[Ae.Currencies=18]="Currencies",Ae[Ae.Directionality=19]="Directionality",Ae[Ae.PluralCase=20]="PluralCase",Ae[Ae.ExtraData=21]="ExtraData",Ae))();const Ua="en-US";let Rp=Ua;class Ba{}class ng{}function oC(e,t){return new rg(e,t??null)}class rg extends Ba{constructor(t,n){super(),this._parent=n,this._bootstrapComponents=[],this.destroyCbs=[],this.componentFactoryResolver=new gh(this);const r=gn(t);this._bootstrapComponents=vi(r.bootstrap),this._r3Injector=Yf(t,n,[{provide:Ba,useValue:this},{provide:mu,useValue:this.componentFactoryResolver}],ue(t),new Set(["environment"])),this._r3Injector.resolveInjectorInitializers(),this.instance=this._r3Injector.get(t)}get injector(){return this._r3Injector}destroy(){const t=this._r3Injector;!t.destroyed&&t.destroy(),this.destroyCbs.forEach(n=>n()),this.destroyCbs=null}onDestroy(t){this.destroyCbs.push(t)}}class gd extends ng{constructor(t){super(),this.moduleType=t}create(t){return new rg(this.moduleType,t)}}class iC extends Ba{constructor(t,n,r){super(),this.componentFactoryResolver=new gh(this),this.instance=null;const o=new Af([...t,{provide:Ba,useValue:this},{provide:mu,useValue:this.componentFactoryResolver}],n||gc(),r,new Set(["environment"]));this.injector=o,o.resolveInjectorInitializers()}destroy(){this.injector.destroy()}onDestroy(t){this.injector.onDestroy(t)}}function md(e,t,n=null){return new iC(e,t,n).injector}let sC=(()=>{class e{constructor(n){this._injector=n,this.cachedInjectors=new Map}getOrCreateStandaloneInjector(n){if(!n.standalone)return null;if(!this.cachedInjectors.has(n.id)){const r=Sf(0,n.type),o=r.length>0?md([r],this._injector,`Standalone[${n.type.name}]`):null;this.cachedInjectors.set(n.id,o)}return this.cachedInjectors.get(n.id)}ngOnDestroy(){try{for(const n of this.cachedInjectors.values())null!==n&&n.destroy()}finally{this.cachedInjectors.clear()}}}return e.\u0275prov=st({token:e,providedIn:"environment",factory:()=>new e(ot(Os))}),e})();function og(e){e.getStandaloneInjector=t=>t.get(sC).getOrCreateStandaloneInjector(e)}function dg(e,t,n){const r=xt()+e,o=Y();return o[r]===He?Yo(o,r,n?t.call(n):t()):function Eu(e,t){return e[t]}(o,r)}function fg(e,t,n,r){return gg(Y(),xt(),e,t,n,r)}function hg(e,t,n,r,o){return mg(Y(),xt(),e,t,n,r,o)}function pg(e,t,n,r,o,i){return function yg(e,t,n,r,o,i,a,l){const m=t+n;return function wc(e,t,n,r,o){const i=Ls(e,t,n,r);return Un(e,t+2,o)||i}(e,m,o,i,a)?Yo(e,m+3,l?r.call(l,o,i,a):r(o,i,a)):Ru(e,m+3)}(Y(),xt(),e,t,n,r,o,i)}function Ru(e,t){const n=e[t];return n===He?void 0:n}function gg(e,t,n,r,o,i){const a=t+n;return Un(e,a,o)?Yo(e,a+1,i?r.call(i,o):r(o)):Ru(e,a+1)}function mg(e,t,n,r,o,i,a){const l=t+n;return Ls(e,l,o,i)?Yo(e,l+2,a?r.call(a,o,i):r(o,i)):Ru(e,l+2)}function _g(e,t){const n=Ge();let r;const o=e+22;n.firstCreatePass?(r=function CC(e,t){if(t)for(let n=t.length-1;n>=0;n--){const r=t[n];if(e===r.name)return r}}(t,n.pipeRegistry),n.data[o]=r,r.onDestroy&&(n.destroyHooks||(n.destroyHooks=[])).push(o,r.onDestroy)):r=n.data[o];const i=r.factory||(r.factory=kn(r.type)),a=Qe(Ia);try{const l=ci(!1),m=i();return ci(l),function lD(e,t,n,r){n>=e.data.length&&(e.data[n]=null,e.blueprint[n]=null),t[n]=r}(n,Y(),o,m),m}finally{Qe(a)}}function Cg(e,t,n){const r=e+22,o=Y(),i=no(o,r);return xu(o,r)?gg(o,xt(),t,i.transform,n,i):i.transform(n)}function bg(e,t,n,r){const o=e+22,i=Y(),a=no(i,o);return xu(i,o)?mg(i,xt(),t,a.transform,n,r,a):a.transform(n,r)}function xu(e,t){return e[1].data[t].pure}function vd(e){return t=>{setTimeout(e,void 0,t)}}const qo=class SC extends g.xQ{constructor(t=!1){super(),this.__isAsync=t}emit(t){super.next(t)}subscribe(t,n,r){let o=t,i=n||(()=>null),a=r;if(t&&"object"==typeof t){const m=t;o=m.next?.bind(m),i=m.error?.bind(m),a=m.complete?.bind(m)}this.__isAsync&&(i=vd(i),o&&(o=vd(o)),a&&(a=vd(a)));const l=super.subscribe({next:o,error:i,complete:a});return t instanceof A.w&&t.add(l),l}};function IC(){return this._results[Fs()]()}class Dd{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=Fs(),r=Dd.prototype;r[n]||(r[n]=IC)}get changes(){return this._changes||(this._changes=new qo)}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 o=function Mn(e){return e.flat(Number.POSITIVE_INFINITY)}(t);(this._changesDetected=!function Gi(e,t,n){if(e.length!==t.length)return!1;for(let r=0;r{class e{}return e.__NG_ELEMENT_ID__=AC,e})();const TC=Pu,MC=class extends TC{constructor(t,n,r){super(),this._declarationLView=t,this._declarationTContainer=n,this.elementRef=r}createEmbeddedView(t,n){const r=this._declarationTContainer.tViews,o=yc(this._declarationLView,r,t,16,null,r.declTNode,null,null,null,null,n||null);o[17]=this._declarationLView[this._declarationTContainer.index];const a=this._declarationLView[19];return null!==a&&(o[19]=a.createEmbeddedView(r)),Ol(r,o,t),new _u(o)}};function AC(){return Lc(Ut(),Y())}function Lc(e,t){return 4&e.type?new MC(t,e,Ea(e,t)):null}let kc=(()=>{class e{}return e.__NG_ELEMENT_ID__=RC,e})();function RC(){return Sg(Ut(),Y())}const xC=kc,Eg=class extends xC{constructor(t,n,r){super(),this._lContainer=t,this._hostTNode=n,this._hostLView=r}get element(){return Ea(this._hostTNode,this._hostLView)}get injector(){return new No(this._hostTNode,this._hostLView)}get parentInjector(){const t=ys(this._hostTNode,this._hostLView);if(ms(t)){const n=ui(t,this._hostLView),r=ji(t);return new No(n[1].data[r+8],n)}return new No(null,this._hostLView)}clear(){for(;this.length>0;)this.remove(this.length-1)}get(t){const n=wg(this._lContainer);return null!==n&&n[t]||null}get length(){return this._lContainer.length-10}createEmbeddedView(t,n,r){let o,i;"number"==typeof r?o=r:null!=r&&(o=r.index,i=r.injector);const a=t.createEmbeddedView(n||{},i);return this.insert(a,o),a}createComponent(t,n,r,o,i){const a=t&&!function zi(e){return"function"==typeof e}(t);let l;if(a)l=n;else{const R=n||{};l=R.index,r=R.injector,o=R.projectableNodes,i=R.environmentInjector||R.ngModuleRef}const m=a?t:new Cu(ze(t)),v=r||this.parentInjector;if(!i&&null==m.ngModule){const F=(a?v:this.parentInjector).get(Os,null);F&&(i=F)}const I=m.create(v,o,void 0,i);return this.insert(I.hostView,l),I}insert(t,n){const r=t._lView,o=r[1];if(function is(e){return Ft(e[3])}(r)){const I=this.indexOf(t);if(-1!==I)this.detach(I);else{const R=r[3],F=new Eg(R,R[6],R[3]);F.detach(F.indexOf(t))}}const i=this._adjustIndex(n),a=this._lContainer;!function rf(e,t,n,r){const o=10+r,i=n.length;r>0&&(n[o-1][4]=t),r0)r.push(a[l/2]);else{const v=i[l+1],I=t[-m];for(let R=10;R{class e{constructor(n){this.appInits=n,this.resolve=Uc,this.reject=Uc,this.initialized=!1,this.done=!1,this.donePromise=new Promise((r,o)=>{this.resolve=r,this.reject=o})}runInitializers(){if(this.initialized)return;const n=[],r=()=>{this.done=!0,this.resolve()};if(this.appInits)for(let o=0;o{i.subscribe({complete:l,error:m})});n.push(a)}}Promise.all(n).then(()=>{r()}).catch(o=>{this.reject(o)}),0===n.length&&r(),this.initialized=!0}}return e.\u0275fac=function(n){return new(n||e)(ot(Xg,8))},e.\u0275prov=st({token:e,factory:e.\u0275fac,providedIn:"root"}),e})();const em=new gt("AppId",{providedIn:"root",factory:function tm(){return`${Rd()}${Rd()}${Rd()}`}});function Rd(){return String.fromCharCode(97+Math.floor(25*Math.random()))}const nm=new gt("Platform Initializer"),ob=new gt("Platform ID",{providedIn:"platform",factory:()=>"unknown"}),rm=new gt("appBootstrapListener");let ib=(()=>{class e{log(n){console.log(n)}warn(n){console.warn(n)}}return e.\u0275fac=function(n){return new(n||e)},e.\u0275prov=st({token:e,factory:e.\u0275fac,providedIn:"platform"}),e})();const Hc=new gt("LocaleId",{providedIn:"root",factory:()=>Sn(Hc,ie.Optional|ie.SkipSelf)||function sb(){return typeof $localize<"u"&&$localize.locale||Ua}()}),ab=new gt("DefaultCurrencyCode",{providedIn:"root",factory:()=>"USD"});class ub{constructor(t,n){this.ngModuleFactory=t,this.componentFactories=n}}let cb=(()=>{class e{compileModuleSync(n){return new gd(n)}compileModuleAsync(n){return Promise.resolve(this.compileModuleSync(n))}compileModuleAndAllComponentsSync(n){const r=this.compileModuleSync(n),i=vi(gn(n).declarations).reduce((a,l)=>{const m=ze(l);return m&&a.push(new Cu(m)),a},[]);return new ub(r,i)}compileModuleAndAllComponentsAsync(n){return Promise.resolve(this.compileModuleAndAllComponentsSync(n))}clearCache(){}clearCacheFor(n){}getModuleId(n){}}return e.\u0275fac=function(n){return new(n||e)},e.\u0275prov=st({token:e,factory:e.\u0275fac,providedIn:"root"}),e})();const fb=(()=>Promise.resolve(0))();function xd(e){typeof Zone>"u"?fb.then(()=>{e&&e.apply(null,null)}):Zone.current.scheduleMicroTask("scheduleMicrotask",e)}class Yr{constructor({enableLongStackTrace:t=!1,shouldCoalesceEventChangeDetection:n=!1,shouldCoalesceRunChangeDetection:r=!1}){if(this.hasPendingMacrotasks=!1,this.hasPendingMicrotasks=!1,this.isStable=!0,this.onUnstable=new qo(!1),this.onMicrotaskEmpty=new qo(!1),this.onStable=new qo(!1),this.onError=new qo(!1),typeof Zone>"u")throw new Ee(908,!1);Zone.assertZonePatched();const o=this;o._nesting=0,o._outer=o._inner=Zone.current,Zone.TaskTrackingZoneSpec&&(o._inner=o._inner.fork(new Zone.TaskTrackingZoneSpec)),t&&Zone.longStackTraceZoneSpec&&(o._inner=o._inner.fork(Zone.longStackTraceZoneSpec)),o.shouldCoalesceEventChangeDetection=!r&&n,o.shouldCoalesceRunChangeDetection=r,o.lastRequestAnimationFrameId=-1,o.nativeRequestAnimationFrame=function hb(){let e=at.requestAnimationFrame,t=at.cancelAnimationFrame;if(typeof Zone<"u"&&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 mb(e){const t=()=>{!function gb(e){e.isCheckStableRunning||-1!==e.lastRequestAnimationFrameId||(e.lastRequestAnimationFrameId=e.nativeRequestAnimationFrame.call(at,()=>{e.fakeTopEventTask||(e.fakeTopEventTask=Zone.root.scheduleEventTask("fakeTopEventTask",()=>{e.lastRequestAnimationFrameId=-1,Od(e),e.isCheckStableRunning=!0,Pd(e),e.isCheckStableRunning=!1},void 0,()=>{},()=>{})),e.fakeTopEventTask.invoke()}),Od(e))}(e)};e._inner=e._inner.fork({name:"angular",properties:{isAngularZone:!0},onInvokeTask:(n,r,o,i,a,l)=>{try{return sm(e),n.invokeTask(o,i,a,l)}finally{(e.shouldCoalesceEventChangeDetection&&"eventTask"===i.type||e.shouldCoalesceRunChangeDetection)&&t(),am(e)}},onInvoke:(n,r,o,i,a,l,m)=>{try{return sm(e),n.invoke(o,i,a,l,m)}finally{e.shouldCoalesceRunChangeDetection&&t(),am(e)}},onHasTask:(n,r,o,i)=>{n.hasTask(o,i),r===o&&("microTask"==i.change?(e._hasPendingMicrotasks=i.microTask,Od(e),Pd(e)):"macroTask"==i.change&&(e.hasPendingMacrotasks=i.macroTask))},onHandleError:(n,r,o,i)=>(n.handleError(o,i),e.runOutsideAngular(()=>e.onError.emit(i)),!1)})}(o)}static isInAngularZone(){return typeof Zone<"u"&&!0===Zone.current.get("isAngularZone")}static assertInAngularZone(){if(!Yr.isInAngularZone())throw new Ee(909,!1)}static assertNotInAngularZone(){if(Yr.isInAngularZone())throw new Ee(909,!1)}run(t,n,r){return this._inner.run(t,n,r)}runTask(t,n,r,o){const i=this._inner,a=i.scheduleEventTask("NgZoneEvent: "+o,t,pb,Uc,Uc);try{return i.runTask(a,n,r)}finally{i.cancelTask(a)}}runGuarded(t,n,r){return this._inner.runGuarded(t,n,r)}runOutsideAngular(t){return this._outer.run(t)}}const pb={};function Pd(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 Od(e){e.hasPendingMicrotasks=!!(e._hasPendingMicrotasks||(e.shouldCoalesceEventChangeDetection||e.shouldCoalesceRunChangeDetection)&&-1!==e.lastRequestAnimationFrameId)}function sm(e){e._nesting++,e.isStable&&(e.isStable=!1,e.onUnstable.emit(null))}function am(e){e._nesting--,Pd(e)}class yb{constructor(){this.hasPendingMicrotasks=!1,this.hasPendingMacrotasks=!1,this.isStable=!0,this.onUnstable=new qo,this.onMicrotaskEmpty=new qo,this.onStable=new qo,this.onError=new qo}run(t,n,r){return t.apply(n,r)}runGuarded(t,n,r){return t.apply(n,r)}runOutsideAngular(t){return t()}runTask(t,n,r,o){return t.apply(n,r)}}const um=new gt(""),cm=new gt("");let Nd,vb=(()=>{class e{constructor(n,r,o){this._ngZone=n,this.registry=r,this._pendingCount=0,this._isZoneStable=!0,this._didWork=!1,this._callbacks=[],this.taskTrackingZone=null,Nd||(function Db(e){Nd=e}(o),o.addToWindow(r)),this._watchAngularEvents(),n.run(()=>{this.taskTrackingZone=typeof Zone>"u"?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:()=>{Yr.assertNotInAngularZone(),xd(()=>{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())xd(()=>{for(;0!==this._callbacks.length;){let n=this._callbacks.pop();clearTimeout(n.timeoutId),n.doneCb(this._didWork)}this._didWork=!1});else{let n=this.getPendingTasks();this._callbacks=this._callbacks.filter(r=>!r.updateCb||!r.updateCb(n)||(clearTimeout(r.timeoutId),!1)),this._didWork=!0}}getPendingTasks(){return this.taskTrackingZone?this.taskTrackingZone.macroTasks.map(n=>({source:n.source,creationLocation:n.creationLocation,data:n.data})):[]}addCallback(n,r,o){let i=-1;r&&r>0&&(i=setTimeout(()=>{this._callbacks=this._callbacks.filter(a=>a.timeoutId!==i),n(this._didWork,this.getPendingTasks())},r)),this._callbacks.push({doneCb:n,timeoutId:i,updateCb:o})}whenStable(n,r,o){if(o&&!this.taskTrackingZone)throw new Error('Task tracking zone is required when passing an update callback to whenStable(). Is "zone.js/plugins/task-tracking" loaded?');this.addCallback(n,r,o),this._runCallbacksIfReady()}getPendingRequestCount(){return this._pendingCount}registerApplication(n){this.registry.registerApplication(n,this)}unregisterApplication(n){this.registry.unregisterApplication(n)}findProviders(n,r,o){return[]}}return e.\u0275fac=function(n){return new(n||e)(ot(Yr),ot(lm),ot(cm))},e.\u0275prov=st({token:e,factory:e.\u0275fac}),e})(),lm=(()=>{class e{constructor(){this._applications=new Map}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)??null}}return e.\u0275fac=function(n){return new(n||e)},e.\u0275prov=st({token:e,factory:e.\u0275fac,providedIn:"platform"}),e})(),Xi=null;const dm=new gt("AllowMultipleToken"),Fd=new gt("PlatformDestroyListeners");class bb{constructor(t,n){this.name=t,this.token=n}}function hm(e,t,n=[]){const r=`Platform: ${t}`,o=new gt(r);return(i=[])=>{let a=Ld();if(!a||a.injector.get(dm,!1)){const l=[...n,...i,{provide:o,useValue:!0}];e?e(l):function Eb(e){if(Xi&&!Xi.get(dm,!1))throw new Ee(400,!1);Xi=e;const t=e.get(gm);(function fm(e){const t=e.get(nm,null);t&&t.forEach(n=>n())})(e)}(function pm(e=[],t){return Ns.create({name:t,providers:[{provide:Cl,useValue:"platform"},{provide:Fd,useValue:new Set([()=>Xi=null])},...e]})}(l,r))}return function Sb(e){const t=Ld();if(!t)throw new Ee(401,!1);return t}()}}function Ld(){return Xi?.get(gm)??null}let gm=(()=>{class e{constructor(n){this._injector=n,this._modules=[],this._destroyListeners=[],this._destroyed=!1}bootstrapModuleFactory(n,r){const o=function ym(e,t){let n;return n="noop"===e?new yb:("zone.js"===e?void 0:e)||new Yr(t),n}(r?.ngZone,function mm(e){return{enableLongStackTrace:!1,shouldCoalesceEventChangeDetection:!(!e||!e.ngZoneEventCoalescing)||!1,shouldCoalesceRunChangeDetection:!(!e||!e.ngZoneRunCoalescing)||!1}}(r)),i=[{provide:Yr,useValue:o}];return o.run(()=>{const a=Ns.create({providers:i,parent:this.injector,name:n.moduleType.name}),l=n.create(a),m=l.injector.get(vu,null);if(!m)throw new Ee(402,!1);return o.runOutsideAngular(()=>{const v=o.onError.subscribe({next:I=>{m.handleError(I)}});l.onDestroy(()=>{Vc(this._modules,l),v.unsubscribe()})}),function vm(e,t,n){try{const r=n();return Jl(r)?r.catch(o=>{throw t.runOutsideAngular(()=>e.handleError(o)),o}):r}catch(r){throw t.runOutsideAngular(()=>e.handleError(r)),r}}(m,o,()=>{const v=l.injector.get(Bc);return v.runInitializers(),v.donePromise.then(()=>(function xp(e){Gt(e,"Expected localeId to be defined"),"string"==typeof e&&(Rp=e.toLowerCase().replace(/_/g,"-"))}(l.injector.get(Hc,Ua)||Ua),this._moduleDoBootstrap(l),l))})})}bootstrapModule(n,r=[]){const o=Dm({},r);return function _b(e,t,n){const r=new gd(n);return Promise.resolve(r)}(0,0,n).then(i=>this.bootstrapModuleFactory(i,o))}_moduleDoBootstrap(n){const r=n.injector.get($c);if(n._bootstrapComponents.length>0)n._bootstrapComponents.forEach(o=>r.bootstrap(o));else{if(!n.instance.ngDoBootstrap)throw new Ee(403,!1);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 Ee(404,!1);this._modules.slice().forEach(r=>r.destroy()),this._destroyListeners.forEach(r=>r());const n=this._injector.get(Fd,null);n&&(n.forEach(r=>r()),n.clear()),this._destroyed=!0}get destroyed(){return this._destroyed}}return e.\u0275fac=function(n){return new(n||e)(ot(Ns))},e.\u0275prov=st({token:e,factory:e.\u0275fac,providedIn:"platform"}),e})();function Dm(e,t){return Array.isArray(t)?t.reduce(Dm,e):{...e,...t}}let $c=(()=>{class e{constructor(n,r,o){this._zone=n,this._injector=r,this._exceptionHandler=o,this._bootstrapListeners=[],this._views=[],this._runningTick=!1,this._stable=!0,this._destroyed=!1,this._destroyListeners=[],this.componentTypes=[],this.components=[],this._onMicrotaskEmptySubscription=this._zone.onMicrotaskEmpty.subscribe({next:()=>{this._zone.run(()=>{this.tick()})}});const i=new H.y(l=>{this._stable=this._zone.isStable&&!this._zone.hasPendingMacrotasks&&!this._zone.hasPendingMicrotasks,this._zone.runOutsideAngular(()=>{l.next(this._stable),l.complete()})}),a=new H.y(l=>{let m;this._zone.runOutsideAngular(()=>{m=this._zone.onStable.subscribe(()=>{Yr.assertNotInAngularZone(),xd(()=>{!this._stable&&!this._zone.hasPendingMacrotasks&&!this._zone.hasPendingMicrotasks&&(this._stable=!0,l.next(!0))})})});const v=this._zone.onUnstable.subscribe(()=>{Yr.assertInAngularZone(),this._stable&&(this._stable=!1,this._zone.runOutsideAngular(()=>{l.next(!1)}))});return()=>{m.unsubscribe(),v.unsubscribe()}});this.isStable=function ae(...e){let t=Number.POSITIVE_INFINITY,n=null,r=e[e.length-1];return(0,re.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 H.y?e[0]:(0,de.J)(t)((0,Q.n)(e,n))}(i,a.pipe(function J(){return e=>(0,j.x)()(function z(e,t){return function(r){let o;if(o="function"==typeof e?e:function(){return e},"function"==typeof t)return r.lift(new k(o,t));const i=Object.create(r,q.N);return i.source=r,i.subjectFactory=o,i}}(G)(e))}()))}get destroyed(){return this._destroyed}get injector(){return this._injector}bootstrap(n,r){const o=n instanceof xf;if(!this._injector.get(Bc).done)throw!o&&fr(n),new Ee(405,false);let a;a=o?n:this._injector.get(mu).resolveComponentFactory(n),this.componentTypes.push(a.componentType);const l=function Cb(e){return e.isBoundToModule}(a)?void 0:this._injector.get(Ba),v=a.create(Ns.NULL,[],r||a.selector,l),I=v.location.nativeElement,R=v.injector.get(um,null);return R?.registerApplication(I),v.onDestroy(()=>{this.detachView(v.hostView),Vc(this.components,v),R?.unregisterApplication(I)}),this._loadComponent(v),v}tick(){if(this._runningTick)throw new Ee(101,!1);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;Vc(this._views,r),r.detachFromAppRef()}_loadComponent(n){this.attachView(n.hostView),this.tick(),this.components.push(n);const r=this._injector.get(rm,[]);r.push(...this._bootstrapListeners),r.forEach(o=>o(n))}ngOnDestroy(){if(!this._destroyed)try{this._destroyListeners.forEach(n=>n()),this._views.slice().forEach(n=>n.destroy()),this._onMicrotaskEmptySubscription.unsubscribe()}finally{this._destroyed=!0,this._views=[],this._bootstrapListeners=[],this._destroyListeners=[]}}onDestroy(n){return this._destroyListeners.push(n),()=>Vc(this._destroyListeners,n)}destroy(){if(this._destroyed)throw new Ee(406,!1);const n=this._injector;n.destroy&&!n.destroyed&&n.destroy()}get viewCount(){return this._views.length}warnIfDestroyed(){}}return e.\u0275fac=function(n){return new(n||e)(ot(Yr),ot(Os),ot(vu))},e.\u0275prov=st({token:e,factory:e.\u0275fac,providedIn:"root"}),e})();function Vc(e,t){const n=e.indexOf(t);n>-1&&e.splice(n,1)}function Tb(){}let Mb=(()=>{class e{}return e.__NG_ELEMENT_ID__=Ab,e})();function Ab(e){return function Rb(e,t,n){if(or(e)&&!n){const r=Lt(e.index,t);return new _u(r,r)}return 47&e.type?new _u(t[16],t):null}(Ut(),Y(),16==(16&e))}class wm{constructor(){}supports(t){return bu(t)}create(t){return new Lb(t)}}const Fb=(e,t)=>t;class Lb{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||Fb}forEachItem(t){let n;for(n=this._itHead;null!==n;n=n._next)t(n)}forEachOperation(t){let n=this._itHead,r=this._removalsHead,o=0,i=null;for(;n||r;){const a=!r||n&&n.currentIndex{a=this._trackByFn(o,l),null!==n&&Object.is(n.trackById,a)?(r&&(n=this._verifyReinsertion(n,l,a,o)),Object.is(n.item,l)||this._addIdentityChange(n,l)):(n=this._mismatch(n,l,a,o),r=!0),n=n._next,o++}),this.length=o;return this._truncate(n),this.collection=t,this.isDirty}get isDirty(){return null!==this._additionsHead||null!==this._movesHead||null!==this._removalsHead||null!==this._identityChangesHead}_reset(){if(this.isDirty){let t;for(t=this._previousItHead=this._itHead;null!==t;t=t._next)t._nextPrevious=t._next;for(t=this._additionsHead;null!==t;t=t._nextAdded)t.previousIndex=t.currentIndex;for(this._additionsHead=this._additionsTail=null,t=this._movesHead;null!==t;t=t._nextMoved)t.previousIndex=t.currentIndex;this._movesHead=this._movesTail=null,this._removalsHead=this._removalsTail=null,this._identityChangesHead=this._identityChangesTail=null}}_mismatch(t,n,r,o){let i;return null===t?i=this._itTail:(i=t._prev,this._remove(t)),null!==(t=null===this._unlinkedRecords?null:this._unlinkedRecords.get(r,null))?(Object.is(t.item,n)||this._addIdentityChange(t,n),this._reinsertAfter(t,i,o)):null!==(t=null===this._linkedRecords?null:this._linkedRecords.get(r,o))?(Object.is(t.item,n)||this._addIdentityChange(t,n),this._moveAfter(t,i,o)):t=this._addAfter(new kb(n,r),i,o),t}_verifyReinsertion(t,n,r,o){let i=null===this._unlinkedRecords?null:this._unlinkedRecords.get(r,null);return null!==i?t=this._reinsertAfter(i,t._prev,o):t.currentIndex!=o&&(t.currentIndex=o,this._addToMoves(t,o)),t}_truncate(t){for(;null!==t;){const n=t._next;this._addToRemovals(this._unlink(t)),t=n}null!==this._unlinkedRecords&&this._unlinkedRecords.clear(),null!==this._additionsTail&&(this._additionsTail._nextAdded=null),null!==this._movesTail&&(this._movesTail._nextMoved=null),null!==this._itTail&&(this._itTail._next=null),null!==this._removalsTail&&(this._removalsTail._nextRemoved=null),null!==this._identityChangesTail&&(this._identityChangesTail._nextIdentityChange=null)}_reinsertAfter(t,n,r){null!==this._unlinkedRecords&&this._unlinkedRecords.remove(t);const o=t._prevRemoved,i=t._nextRemoved;return null===o?this._removalsHead=i:o._nextRemoved=i,null===i?this._removalsTail=o:i._prevRemoved=o,this._insertAfter(t,n,r),this._addToMoves(t,r),t}_moveAfter(t,n,r){return this._unlink(t),this._insertAfter(t,n,r),this._addToMoves(t,r),t}_addAfter(t,n,r){return this._insertAfter(t,n,r),this._additionsTail=null===this._additionsTail?this._additionsHead=t:this._additionsTail._nextAdded=t,t}_insertAfter(t,n,r){const o=null===n?this._itHead:n._next;return t._next=o,t._prev=n,null===o?this._itTail=t:o._prev=t,null===n?this._itHead=t:n._next=t,null===this._linkedRecords&&(this._linkedRecords=new Sm),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 Sm),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 kb{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 jb{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 Sm{constructor(){this.map=new Map}put(t){const n=t.trackById;let r=this.map.get(n);r||(r=new jb,this.map.set(n,r)),r.add(t)}get(t,n){const o=this.map.get(t);return o?o.get(t,n):null}remove(t){const n=t.trackById;return this.map.get(n).remove(t)&&this.map.delete(n),t}get isEmpty(){return 0===this.map.size}clear(){this.map.clear()}}function Im(e,t,n){const r=e.previousIndex;if(null===r)return r;let o=0;return n&&r{if(n&&n.key===o)this._maybeAddToChanges(n,r),this._appendAfter=n,n=n._next;else{const i=this._getOrCreateRecordForKey(o,r);n=this._insertBeforeOrAppend(n,i)}}),n){n._prev&&(n._prev._next=null),this._removalsHead=n;for(let r=n;null!==r;r=r._nextRemoved)r===this._mapHead&&(this._mapHead=null),this._records.delete(r.key),r._nextRemoved=r._next,r.previousValue=r.currentValue,r.currentValue=null,r._prev=null,r._next=null}return this._changesTail&&(this._changesTail._nextChanged=null),this._additionsTail&&(this._additionsTail._nextAdded=null),this.isDirty}_insertBeforeOrAppend(t,n){if(t){const r=t._prev;return n._next=t,n._prev=r,t._prev=n,r&&(r._next=n),t===this._mapHead&&(this._mapHead=n),this._appendAfter=t,t}return this._appendAfter?(this._appendAfter._next=n,n._prev=this._appendAfter):this._mapHead=n,this._appendAfter=n,null}_getOrCreateRecordForKey(t,n){if(this._records.has(t)){const o=this._records.get(t);this._maybeAddToChanges(o,n);const i=o._prev,a=o._next;return i&&(i._next=a),a&&(a._prev=i),o._next=null,o._prev=null,o}const r=new Bb(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 Bb{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 Mm(){return new Hd([new wm])}let Hd=(()=>{class e{constructor(n){this.factories=n}static create(n,r){if(null!=r){const o=r.factories.slice();n=n.concat(o)}return new e(n)}static extend(n){return{provide:e,useFactory:r=>e.create(n,r||Mm()),deps:[[e,new d,new c]]}}find(n){const r=this.factories.find(o=>o.supports(n));if(null!=r)return r;throw new Ee(901,!1)}}return e.\u0275prov=st({token:e,providedIn:"root",factory:Mm}),e})();function Am(){return new $d([new Tm])}let $d=(()=>{class e{constructor(n){this.factories=n}static create(n,r){if(r){const o=r.factories.slice();n=n.concat(o)}return new e(n)}static extend(n){return{provide:e,useFactory:r=>e.create(n,r||Am()),deps:[[e,new d,new c]]}}find(n){const r=this.factories.find(o=>o.supports(n));if(r)return r;throw new Ee(901,!1)}}return e.\u0275prov=st({token:e,providedIn:"root",factory:Am}),e})();const Vb=hm(null,"core",[]);let zb=(()=>{class e{constructor(n){}}return e.\u0275fac=function(n){return new(n||e)(ot($c))},e.\u0275mod=kr({type:e}),e.\u0275inj=wt({}),e})();function Gb(e){return"boolean"==typeof e?e:null!=e&&"false"!==e}},481:(Le,he,N)=>{N.d(he,{Dx:()=>er,b2:()=>Nr,q6:()=>Bn});var g=N(895),A=N(738);class H extends g.w_{constructor(){super(...arguments),this.supportsDOMEvents=!0}}class re extends H{static makeCurrent(){(0,g.HT)(new re)}onAndCancel(C,T,x){return C.addEventListener(T,x,!1),()=>{C.removeEventListener(T,x,!1)}}dispatchEvent(C,T){C.dispatchEvent(T)}remove(C){C.parentNode&&C.parentNode.removeChild(C)}createElement(C,T){return(T=T||this.getDefaultDocument()).createElement(C)}createHtmlDocument(){return document.implementation.createHTMLDocument("fakeTitle")}getDefaultDocument(){return document}isElementNode(C){return C.nodeType===Node.ELEMENT_NODE}isShadowRoot(C){return C instanceof DocumentFragment}getGlobalEventTarget(C,T){return"window"===T?window:"document"===T?C:"body"===T?C.body:null}getBaseHref(C){const T=function Q(){return de=de||document.querySelector("base"),de?de.getAttribute("href"):null}();return null==T?null:function q(b){ae=ae||document.createElement("a"),ae.setAttribute("href",b);const C=ae.pathname;return"/"===C.charAt(0)?C:`/${C}`}(T)}resetBaseElement(){de=null}getUserAgent(){return window.navigator.userAgent}getCookie(C){return(0,g.Mx)(document.cookie,C)}}let ae,de=null;const z=new A.OlP("TRANSITION_ID"),j=[{provide:A.ip1,useFactory:function k(b,C,T){return()=>{T.get(A.CZH).donePromise.then(()=>{const x=(0,g.q)(),B=C.querySelectorAll(`style[ng-transition="${b}"]`);for(let oe=0;oe{class b{build(){return new XMLHttpRequest}}return b.\u0275fac=function(T){return new(T||b)},b.\u0275prov=A.Yz7({token:b,factory:b.\u0275fac}),b})();const X=new A.OlP("EventManagerPlugins");let Te=(()=>{class b{constructor(T,x){this._zone=x,this._eventNameToPlugin=new Map,T.forEach(B=>B.manager=this),this._plugins=T.slice().reverse()}addEventListener(T,x,B){return this._findPluginFor(x).addEventListener(T,x,B)}addGlobalEventListener(T,x,B){return this._findPluginFor(x).addGlobalEventListener(T,x,B)}getZone(){return this._zone}_findPluginFor(T){const x=this._eventNameToPlugin.get(T);if(x)return x;const B=this._plugins;for(let oe=0;oe{class b{constructor(){this._stylesSet=new Set}addStyles(T){const x=new Set;T.forEach(B=>{this._stylesSet.has(B)||(this._stylesSet.add(B),x.add(B))}),this.onStylesAdded(x)}onStylesAdded(T){}getAllStyles(){return Array.from(this._stylesSet)}}return b.\u0275fac=function(T){return new(T||b)},b.\u0275prov=A.Yz7({token:b,factory:b.\u0275fac}),b})(),tt=(()=>{class b extends Se{constructor(T){super(),this._doc=T,this._hostNodes=new Map,this._hostNodes.set(T.head,[])}_addStylesToHost(T,x,B){T.forEach(oe=>{const ee=this._doc.createElement("style");ee.textContent=oe,B.push(x.appendChild(ee))})}addHost(T){const x=[];this._addStylesToHost(this._stylesSet,T,x),this._hostNodes.set(T,x)}removeHost(T){const x=this._hostNodes.get(T);x&&x.forEach(Ye),this._hostNodes.delete(T)}onStylesAdded(T){this._hostNodes.forEach((x,B)=>{this._addStylesToHost(T,B,x)})}ngOnDestroy(){this._hostNodes.forEach(T=>T.forEach(Ye))}}return b.\u0275fac=function(T){return new(T||b)(A.LFG(g.K0))},b.\u0275prov=A.Yz7({token:b,factory:b.\u0275fac}),b})();function Ye(b){(0,g.q)().remove(b)}const le={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/",math:"http://www.w3.org/1998/MathML/"},Zt=/%COMP%/g;function ye(b,C){return C.flat(100).map(T=>T.replace(Zt,b))}function Ne(b){return C=>{if("__ngUnwrap__"===C)return b;!1===b(C)&&(C.preventDefault(),C.returnValue=!1)}}let Ce=(()=>{class b{constructor(T,x,B){this.eventManager=T,this.sharedStylesHost=x,this.appId=B,this.rendererByCompId=new Map,this.defaultRenderer=new Bt(T)}createRenderer(T,x){if(!T||!x)return this.defaultRenderer;switch(x.encapsulation){case A.ifc.Emulated:{let B=this.rendererByCompId.get(x.id);return B||(B=new Qt(this.eventManager,this.sharedStylesHost,x,this.appId),this.rendererByCompId.set(x.id,B)),B.applyToHost(T),B}case 1:case A.ifc.ShadowDom:return new We(this.eventManager,this.sharedStylesHost,T,x);default:if(!this.rendererByCompId.has(x.id)){const B=ye(x.id,x.styles);this.sharedStylesHost.addStyles(B),this.rendererByCompId.set(x.id,this.defaultRenderer)}return this.defaultRenderer}}begin(){}end(){}}return b.\u0275fac=function(T){return new(T||b)(A.LFG(Te),A.LFG(tt),A.LFG(A.AFp))},b.\u0275prov=A.Yz7({token:b,factory:b.\u0275fac}),b})();class Bt{constructor(C){this.eventManager=C,this.data=Object.create(null),this.destroyNode=null}destroy(){}createElement(C,T){return T?document.createElementNS(le[T]||T,C):document.createElement(C)}createComment(C){return document.createComment(C)}createText(C){return document.createTextNode(C)}appendChild(C,T){(Kr(C)?C.content:C).appendChild(T)}insertBefore(C,T,x){C&&(Kr(C)?C.content:C).insertBefore(T,x)}removeChild(C,T){C&&C.removeChild(T)}selectRootElement(C,T){let x="string"==typeof C?document.querySelector(C):C;if(!x)throw new Error(`The selector "${C}" did not match any elements`);return T||(x.textContent=""),x}parentNode(C){return C.parentNode}nextSibling(C){return C.nextSibling}setAttribute(C,T,x,B){if(B){T=B+":"+T;const oe=le[B];oe?C.setAttributeNS(oe,T,x):C.setAttribute(T,x)}else C.setAttribute(T,x)}removeAttribute(C,T,x){if(x){const B=le[x];B?C.removeAttributeNS(B,T):C.removeAttribute(`${x}:${T}`)}else C.removeAttribute(T)}addClass(C,T){C.classList.add(T)}removeClass(C,T){C.classList.remove(T)}setStyle(C,T,x,B){B&(A.JOm.DashCase|A.JOm.Important)?C.style.setProperty(T,x,B&A.JOm.Important?"important":""):C.style[T]=x}removeStyle(C,T,x){x&A.JOm.DashCase?C.style.removeProperty(T):C.style[T]=""}setProperty(C,T,x){C[T]=x}setValue(C,T){C.nodeValue=T}listen(C,T,x){return"string"==typeof C?this.eventManager.addGlobalEventListener(C,T,Ne(x)):this.eventManager.addEventListener(C,T,Ne(x))}}function Kr(b){return"TEMPLATE"===b.tagName&&void 0!==b.content}class Qt extends Bt{constructor(C,T,x,B){super(C),this.component=x;const oe=ye(B+"-"+x.id,x.styles);T.addStyles(oe),this.contentAttr=function _t(b){return"_ngcontent-%COMP%".replace(Zt,b)}(B+"-"+x.id),this.hostAttr=function ge(b){return"_nghost-%COMP%".replace(Zt,b)}(B+"-"+x.id)}applyToHost(C){super.setAttribute(C,this.hostAttr,"")}createElement(C,T){const x=super.createElement(C,T);return super.setAttribute(x,this.contentAttr,""),x}}class We extends Bt{constructor(C,T,x,B){super(C),this.sharedStylesHost=T,this.hostEl=x,this.shadowRoot=x.attachShadow({mode:"open"}),this.sharedStylesHost.addHost(this.shadowRoot);const oe=ye(B.id,B.styles);for(let ee=0;ee{class b extends ue{constructor(T){super(T)}supports(T){return!0}addEventListener(T,x,B){return T.addEventListener(x,B,!1),()=>this.removeEventListener(T,x,B)}removeEventListener(T,x,B){return T.removeEventListener(x,B)}}return b.\u0275fac=function(T){return new(T||b)(A.LFG(g.K0))},b.\u0275prov=A.Yz7({token:b,factory:b.\u0275fac}),b})();const Or=["alt","control","meta","shift"],Rn={"\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"},Ct={alt:b=>b.altKey,control:b=>b.ctrlKey,meta:b=>b.metaKey,shift:b=>b.shiftKey};let Et=(()=>{class b extends ue{constructor(T){super(T)}supports(T){return null!=b.parseEventName(T)}addEventListener(T,x,B){const oe=b.parseEventName(x),ee=b.eventCallback(oe.fullKey,B,this.manager.getZone());return this.manager.getZone().runOutsideAngular(()=>(0,g.q)().onAndCancel(T,oe.domEventName,ee))}static parseEventName(T){const x=T.toLowerCase().split("."),B=x.shift();if(0===x.length||"keydown"!==B&&"keyup"!==B)return null;const oe=b._normalizeKey(x.pop());let ee="",se=x.indexOf("code");if(se>-1&&(x.splice(se,1),ee="code."),Or.forEach($t=>{const un=x.indexOf($t);un>-1&&(x.splice(un,1),ee+=$t+".")}),ee+=oe,0!=x.length||0===oe.length)return null;const Ze={};return Ze.domEventName=B,Ze.fullKey=ee,Ze}static matchEventFullKeyCode(T,x){let B=Rn[T.key]||T.key,oe="";return x.indexOf("code.")>-1&&(B=T.code,oe="code."),!(null==B||!B)&&(B=B.toLowerCase()," "===B?B="space":"."===B&&(B="dot"),Or.forEach(ee=>{ee!==B&&(0,Ct[ee])(T)&&(oe+=ee+".")}),oe+=B,oe===x)}static eventCallback(T,x,B){return oe=>{b.matchEventFullKeyCode(oe,T)&&B.runGuarded(()=>x(oe))}}static _normalizeKey(T){return"esc"===T?"escape":T}}return b.\u0275fac=function(T){return new(T||b)(A.LFG(g.K0))},b.\u0275prov=A.Yz7({token:b,factory:b.\u0275fac}),b})();const Bn=(0,A.eFA)(A._c5,"browser",[{provide:A.Lbi,useValue:g.bD},{provide:A.g9A,useValue:function Jn(){re.makeCurrent()},multi:!0},{provide:g.K0,useFactory:function cr(){return(0,A.RDi)(document),document},deps:[]}]),wt=new A.OlP(""),pt=[{provide:A.rWj,useClass:class G{addToWindow(C){A.dqk.getAngularTestability=(x,B=!0)=>{const oe=C.findTestabilityInTree(x,B);if(null==oe)throw new Error("Could not find testability for element.");return oe},A.dqk.getAllAngularTestabilities=()=>C.getAllTestabilities(),A.dqk.getAllAngularRootElements=()=>C.getAllRootElements(),A.dqk.frameworkStabilizers||(A.dqk.frameworkStabilizers=[]),A.dqk.frameworkStabilizers.push(x=>{const B=A.dqk.getAllAngularTestabilities();let oe=B.length,ee=!1;const se=function(Ze){ee=ee||Ze,oe--,0==oe&&x(ee)};B.forEach(function(Ze){Ze.whenStable(se)})})}findTestabilityInTree(C,T,x){return null==T?null:C.getTestability(T)??(x?(0,g.q)().isShadowRoot(T)?this.findTestabilityInTree(C,T.host,!0):this.findTestabilityInTree(C,T.parentElement,!0):null)}},deps:[]},{provide:A.lri,useClass:A.dDg,deps:[A.R0b,A.eoX,A.rWj]},{provide:A.dDg,useClass:A.dDg,deps:[A.R0b,A.eoX,A.rWj]}],Xn=[{provide:A.zSh,useValue:"root"},{provide:A.qLn,useFactory:function mo(){return new A.qLn},deps:[]},{provide:X,useClass:Pr,multi:!0,deps:[g.K0,A.R0b,A.Lbi]},{provide:X,useClass:Et,multi:!0,deps:[g.K0]},{provide:Ce,useClass:Ce,deps:[Te,tt,A.AFp]},{provide:A.FYo,useExisting:Ce},{provide:Se,useExisting:tt},{provide:tt,useClass:tt,deps:[g.K0]},{provide:Te,useClass:Te,deps:[X,A.R0b]},{provide:g.JF,useClass:J,deps:[]},[]];let Nr=(()=>{class b{constructor(T){}static withServerTransition(T){return{ngModule:b,providers:[{provide:A.AFp,useValue:T.appId},{provide:z,useExisting:A.AFp},j]}}}return b.\u0275fac=function(T){return new(T||b)(A.LFG(wt,12))},b.\u0275mod=A.oAB({type:b}),b.\u0275inj=A.cJS({providers:[...Xn,...pt],imports:[g.ez,A.hGG]}),b})(),er=(()=>{class b{constructor(T){this._doc=T}getTitle(){return this._doc.title}setTitle(T){this._doc.title=T||""}}return b.\u0275fac=function(T){return new(T||b)(A.LFG(g.K0))},b.\u0275prov=A.Yz7({token:b,factory:function(T){let x=null;return x=T?new T:function Pt(){return new er((0,A.LFG)(g.K0))}(),x},providedIn:"root"}),b})();typeof window<"u"&&window},352:(Le,he,N)=>{N.d(he,{rH:()=>Mr,Bz:()=>ga,lC:()=>$r});var g=N(738),A=N(254),H=N(86),re=N(591);const Q=(()=>{function u(){return Error.call(this),this.message="no elements in sequence",this.name="EmptyError",this}return u.prototype=Object.create(Error.prototype),u})();var ae=N(866),q=N(688),z=N(489);class k extends z.L{notifyNext(c,s,d,y,w){this.destination.next(s)}notifyError(c,s){this.destination.error(c)}notifyComplete(c){this.destination.complete()}}class j extends z.L{constructor(c,s,d){super(),this.parent=c,this.outerValue=s,this.outerIndex=d,this.index=0}_next(c){this.parent.notifyNext(this.outerValue,c,this.outerIndex,this.index++,this)}_error(c){this.parent.notifyError(c,this),this.unsubscribe()}_complete(){this.parent.notifyComplete(this),this.unsubscribe()}}var G=N(249),J=N(498);function X(u,c,s,d,y=new j(u,s,d)){if(!y.closed)return c instanceof J.y?c.subscribe(y):(0,G.s)(c)(y)}var Te=N(9);const ue={};function Se(...u){let c,s;return(0,ae.K)(u[u.length-1])&&(s=u.pop()),"function"==typeof u[u.length-1]&&(c=u.pop()),1===u.length&&(0,q.k)(u[0])&&(u=u[0]),(0,Te.n)(u,s).lift(new tt(c))}class tt{constructor(c){this.resultSelector=c}call(c,s){return s.subscribe(new Ye(c,this.resultSelector))}}class Ye extends k{constructor(c,s){super(c),this.resultSelector=s,this.active=0,this.values=[],this.observables=[]}_next(c){this.values.push(ue),this.observables.push(c)}_complete(){const c=this.observables,s=c.length;if(0===s)this.destination.complete();else{this.active=s,this.toRespond=s;for(let d=0;du.complete());function qn(u){return u?function Ee(u){return new J.y(c=>u.schedule(()=>c.complete()))}(u):qt}function _t(u){return new J.y(c=>{let s;try{s=u()}catch(y){return void c.error(y)}return(s?(0,A.D)(s):qn()).subscribe(c)})}var ge=N(843);function ye(u,c){return new J.y(c?s=>c.schedule(Ne,0,{error:u,subscriber:s}):s=>s.error(u))}function Ne({error:u,subscriber:c}){c.error(u)}var nt=N(762),Ce=N(529),Bt=N(895),Me=N(850),Ue=N(545);const Qt=(()=>{function u(){return Error.call(this),this.message="argument out of range",this.name="ArgumentOutOfRangeError",this}return u.prototype=Object.create(Error.prototype),u})();function We(u){return c=>0===u?qn():c.lift(new Pr(u))}class Pr{constructor(c){if(this.total=c,this.total<0)throw new Qt}call(c,s){return s.subscribe(new Or(c,this.total))}}class Or extends z.L{constructor(c,s){super(c),this.total=s,this.count=0}_next(c){const s=this.total,d=++this.count;d<=s&&(this.destination.next(c),d===s&&(this.destination.complete(),this.unsubscribe()))}}var Ct=N(198),Et=N(709);function rt(u=null){return c=>c.lift(new Qn(u))}class Qn{constructor(c){this.defaultValue=c}call(c,s){return s.subscribe(new Ci(c,this.defaultValue))}}class Ci extends z.L{constructor(c,s){super(c),this.defaultValue=s,this.isEmpty=!0}_next(c){this.isEmpty=!1,this.destination.next(c)}_complete(){this.isEmpty&&this.destination.next(this.defaultValue),this.destination.complete()}}function Gt(u=mo){return c=>c.lift(new Ve(u))}class Ve{constructor(c){this.errorFactory=c}call(c,s){return s.subscribe(new Jn(c,this.errorFactory))}}class Jn extends z.L{constructor(c,s){super(c),this.errorFactory=s,this.hasValue=!1}_next(c){this.hasValue=!0,this.destination.next(c)}_complete(){if(this.hasValue)return this.destination.complete();{let c;try{c=this.errorFactory()}catch(s){c=s}this.destination.error(c)}}}function mo(){return new Q}var cr=N(379);function st(u,c){const s=arguments.length>=2;return d=>d.pipe(u?(0,Ct.h)((y,w)=>u(y,w,d)):cr.y,We(1),s?rt(c):Gt(()=>new Q))}var Bn=N(406),wt=N(868),pt=N(221);function Xn(u,c){let s=!1;return arguments.length>=2&&(s=!0),function(y){return y.lift(new Nr(u,c,s))}}class Nr{constructor(c,s,d=!1){this.accumulator=c,this.seed=s,this.hasSeed=d}call(c,s){return s.subscribe(new yo(c,this.accumulator,this.seed,this.hasSeed))}}class yo extends z.L{constructor(c,s,d,y){super(c),this.accumulator=s,this._seed=d,this.hasSeed=y,this.index=0}get seed(){return this._seed}set seed(c){this.hasSeed=!0,this._seed=c}_next(c){if(this.hasSeed)return this._tryNext(c);this.seed=c,this.destination.next(c)}_tryNext(c){const s=this.index++;let d;try{d=this.accumulator(this.seed,c,s)}catch(y){this.destination.error(y)}this.seed=d,this.destination.next(d)}}function nn(u){return function(s){return 0===u?qn():s.lift(new Fr(u))}}class Fr{constructor(c){if(this.total=c,this.total<0)throw new Qt}call(c,s){return s.subscribe(new Pt(c,this.total))}}class Pt extends z.L{constructor(c,s){super(c),this.total=s,this.ring=new Array,this.count=0}_next(c){const s=this.ring,d=this.total,y=this.count++;s.length0){const d=this.count>=this.total?this.total:this.count,y=this.ring;for(let w=0;w=2;return d=>d.pipe(u?(0,Ct.h)((y,w)=>u(y,w,d)):cr.y,nn(1),s?rt(c):Gt(()=>new Q))}class Ie{constructor(c,s){this.predicate=c,this.inclusive=s}call(c,s){return s.subscribe(new ie(c,this.predicate,this.inclusive))}}class ie extends z.L{constructor(c,s,d){super(c),this.predicate=s,this.inclusive=d,this.index=0}_next(c){const s=this.destination;let d;try{d=this.predicate(c,this.index++)}catch(y){return void s.error(y)}this.nextOrComplete(c,d)}nextOrComplete(c,s){const d=this.destination;Boolean(s)?d.next(c):(this.inclusive&&d.next(c),d.complete())}}class xn{constructor(c){this.value=c}call(c,s){return s.subscribe(new Qe(c,this.value))}}class Qe extends z.L{constructor(c,s){super(c),this.value=s}_next(c){this.destination.next(this.value)}}var Pn=N(654);function Ht(u){return c=>c.lift(new at(u))}class at{constructor(c){this.callback=c}call(c,s){return s.subscribe(new vt(c,this.callback))}}class vt extends z.L{constructor(c,s){super(c),this.add(new Pn.w(s))}}var vo=N(327),ut=N(481);const De="primary",Tt=Symbol("RouteTitle");class lr{constructor(c){this.params=c||{}}has(c){return Object.prototype.hasOwnProperty.call(this.params,c)}get(c){if(this.has(c)){const s=this.params[c];return Array.isArray(s)?s[0]:s}return null}getAll(c){if(this.has(c)){const s=this.params[c];return Array.isArray(s)?s:[s]}return[]}get keys(){return Object.keys(this.params)}}function pn(u){return new lr(u)}function Lr(u,c,s){const d=s.path.split("/");if(d.length>u.length||"full"===s.pathMatch&&(c.hasChildren()||d.lengthd[w]===y)}return u===c}function wn(u){return Array.prototype.concat.apply([],u)}function Do(u){return u.length>0?u[u.length-1]:null}function Mt(u,c){for(const s in u)u.hasOwnProperty(s)&&c(u[s],s)}function Sn(u){return(0,g.CqO)(u)?u:(0,g.QGY)(u)?(0,A.D)(Promise.resolve(u)):(0,H.of)(u)}const Hn=!1,nr={exact:function b(u,c,s){if(!$t(u.segments,c.segments)||!B(u.segments,c.segments,s)||u.numberOfChildren!==c.numberOfChildren)return!1;for(const d in c.children)if(!u.children[d]||!b(u.children[d],c.children[d],s))return!1;return!0},subset:T},rn={exact:function $(u,c){return Jt(u,c)},subset:function C(u,c){return Object.keys(c).length<=Object.keys(u).length&&Object.keys(c).every(s=>vn(u[s],c[s]))},ignored:()=>!0};function dr(u,c,s){return nr[s.paths](u.root,c.root,s.matrixParams)&&rn[s.queryParams](u.queryParams,c.queryParams)&&!("exact"===s.fragment&&u.fragment!==c.fragment)}function T(u,c,s){return x(u,c,c.segments,s)}function x(u,c,s,d){if(u.segments.length>s.length){const y=u.segments.slice(0,s.length);return!(!$t(y,s)||c.hasChildren()||!B(y,s,d))}if(u.segments.length===s.length){if(!$t(u.segments,s)||!B(u.segments,s,d))return!1;for(const y in c.children)if(!u.children[y]||!T(u.children[y],c.children[y],d))return!1;return!0}{const y=s.slice(0,u.segments.length),w=s.slice(u.segments.length);return!!($t(u.segments,y)&&B(u.segments,y,d)&&u.children[De])&&x(u.children[De],c,w,d)}}function B(u,c,s){return c.every((d,y)=>rn[s](u[y].parameters,d.parameters))}class oe{constructor(c=new ee([],{}),s={},d=null){this.root=c,this.queryParams=s,this.fragment=d}get queryParamMap(){return this._queryParamMap||(this._queryParamMap=pn(this.queryParams)),this._queryParamMap}toString(){return ct.serialize(this)}}class ee{constructor(c,s){this.segments=c,this.children=s,this.parent=null,Mt(s,(d,y)=>d.parent=this)}hasChildren(){return this.numberOfChildren>0}get numberOfChildren(){return Object.keys(this.children).length}toString(){return In(this)}}class se{constructor(c,s){this.path=c,this.parameters=s}get parameterMap(){return this._parameterMap||(this._parameterMap=pn(this.parameters)),this._parameterMap}toString(){return Jo(this)}}function $t(u,c){return u.length===c.length&&u.every((s,d)=>s.path===c[d].path)}let Ot=(()=>{class u{}return u.\u0275fac=function(s){return new(s||u)},u.\u0275prov=g.Yz7({token:u,factory:function(){return new Ke},providedIn:"root"}),u})();class Ke{parse(c){const s=new Re(c);return new oe(s.parseRootSegment(),s.parseQueryParams(),s.parseFragment())}serialize(c){const s=`/${Dn(c.root,!0)}`,d=function ze(u){const c=Object.keys(u).map(s=>{const d=u[s];return Array.isArray(d)?d.map(y=>`${On(s)}=${On(y)}`).join("&"):`${On(s)}=${On(d)}`}).filter(s=>!!s);return c.length?`?${c.join("&")}`:""}(c.queryParams);return`${s}${d}${"string"==typeof c.fragment?`#${function _o(u){return encodeURI(u)}(c.fragment)}`:""}`}}const ct=new Ke;function In(u){return u.segments.map(c=>Jo(c)).join("/")}function Dn(u,c){if(!u.hasChildren())return In(u);if(c){const s=u.children[De]?Dn(u.children[De],!1):"",d=[];return Mt(u.children,(y,w)=>{w!==De&&d.push(`${w}:${Dn(y,!1)}`)}),d.length>0?`${s}(${d.join("//")})`:s}{const s=function un(u,c){let s=[];return Mt(u.children,(d,y)=>{y===De&&(s=s.concat(c(d,y)))}),Mt(u.children,(d,y)=>{y!==De&&(s=s.concat(c(d,y)))}),s}(u,(d,y)=>y===De?[Dn(u.children[De],!1)]:[`${y}:${Dn(d,!1)}`]);return 1===Object.keys(u.children).length&&null!=u.children[De]?`${In(u)}/${s[0]}`:`${In(u)}/(${s.join("//")})`}}function kt(u){return encodeURIComponent(u).replace(/%40/g,"@").replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",")}function On(u){return kt(u).replace(/%3B/gi,";")}function kr(u){return kt(u).replace(/\(/g,"%28").replace(/\)/g,"%29").replace(/%26/gi,"&")}function Co(u){return decodeURIComponent(u)}function Qo(u){return Co(u.replace(/\+/g,"%20"))}function Jo(u){return`${kr(u.path)}${function Xo(u){return Object.keys(u).map(c=>`;${kr(c)}=${kr(u[c])}`).join("")}(u.parameters)}`}const Wt=/^[^\/()?;=#]+/;function jt(u){const c=u.match(Wt);return c?c[0]:""}const fr=/^[^=?&#]+/,Nn=/^[^&#]+/;class Re{constructor(c){this.url=c,this.remaining=c}parseRootSegment(){return this.consumeOptional("/"),""===this.remaining||this.peekStartsWith("?")||this.peekStartsWith("#")?new ee([],{}):new ee([],this.parseChildren())}parseQueryParams(){const c={};if(this.consumeOptional("?"))do{this.parseQueryParam(c)}while(this.consumeOptional("&"));return c}parseFragment(){return this.consumeOptional("#")?decodeURIComponent(this.remaining):null}parseChildren(){if(""===this.remaining)return{};this.consumeOptional("/");const c=[];for(this.peekStartsWith("(")||c.push(this.parseSegment());this.peekStartsWith("/")&&!this.peekStartsWith("//")&&!this.peekStartsWith("/(");)this.capture("/"),c.push(this.parseSegment());let s={};this.peekStartsWith("/(")&&(this.capture("/"),s=this.parseParens(!0));let d={};return this.peekStartsWith("(")&&(d=this.parseParens(!1)),(c.length>0||Object.keys(s).length>0)&&(d[De]=new ee(c,s)),d}parseSegment(){const c=jt(this.remaining);if(""===c&&this.peekStartsWith(";"))throw new g.vHH(4009,Hn);return this.capture(c),new se(Co(c),this.parseMatrixParams())}parseMatrixParams(){const c={};for(;this.consumeOptional(";");)this.parseParam(c);return c}parseParam(c){const s=jt(this.remaining);if(!s)return;this.capture(s);let d="";if(this.consumeOptional("=")){const y=jt(this.remaining);y&&(d=y,this.capture(d))}c[Co(s)]=Co(d)}parseQueryParam(c){const s=function gn(u){const c=u.match(fr);return c?c[0]:""}(this.remaining);if(!s)return;this.capture(s);let d="";if(this.consumeOptional("=")){const M=function me(u){const c=u.match(Nn);return c?c[0]:""}(this.remaining);M&&(d=M,this.capture(d))}const y=Qo(s),w=Qo(d);if(c.hasOwnProperty(y)){let M=c[y];Array.isArray(M)||(M=[M],c[y]=M),M.push(w)}else c[y]=w}parseParens(c){const s={};for(this.capture("(");!this.consumeOptional(")")&&this.remaining.length>0;){const d=jt(this.remaining),y=this.remaining[d.length];if("/"!==y&&")"!==y&&";"!==y)throw new g.vHH(4010,Hn);let w;d.indexOf(":")>-1?(w=d.slice(0,d.indexOf(":")),this.capture(w),this.capture(":")):c&&(w=De);const M=this.parseChildren();s[w]=1===Object.keys(M).length?M[De]:new ee([],M),this.consumeOptional("//")}return s}peekStartsWith(c){return this.remaining.startsWith(c)}consumeOptional(c){return!!this.peekStartsWith(c)&&(this.remaining=this.remaining.substring(c.length),!0)}capture(c){if(!this.consumeOptional(c))throw new g.vHH(4011,Hn)}}function lt(u){return u.segments.length>0?new ee([],{[De]:u}):u}function Yt(u){const c={};for(const d of Object.keys(u.children)){const w=Yt(u.children[d]);(w.segments.length>0||w.hasChildren())&&(c[d]=w)}return function rr(u){if(1===u.numberOfChildren&&u.children[De]){const c=u.children[De];return new ee(u.segments.concat(c.segments),c.children)}return u}(new ee(u.segments,c))}function bt(u){return u instanceof oe}function Fe(u,c,s,d,y){if(0===s.length)return Fn(c.root,c.root,c.root,d,y);const w=function Ur(u){if("string"==typeof u[0]&&1===u.length&&"/"===u[0])return new Rt(!0,0,u);let c=0,s=!1;const d=u.reduce((y,w,M)=>{if("object"==typeof w&&null!=w){if(w.outlets){const L={};return Mt(w.outlets,(Z,ve)=>{L[ve]="string"==typeof Z?Z.split("/"):Z}),[...y,{outlets:L}]}if(w.segmentPath)return[...y,w.segmentPath]}return"string"!=typeof w?[...y,w]:0===M?(w.split("/").forEach((L,Z)=>{0==Z&&"."===L||(0==Z&&""===L?s=!0:".."===L?c++:""!=L&&y.push(L))}),y):[...y,w]},[]);return new Rt(s,c,d)}(s);return w.toRoot()?Fn(c.root,c.root,new ee([],{}),d,y):function M(Z){const ve=function qr(u,c,s,d){if(u.isAbsolute)return new _n(c.root,!0,0);if(-1===d)return new _n(s,s===c.root,0);return function ei(u,c,s){let d=u,y=c,w=s;for(;w>y;){if(w-=y,d=d.parent,!d)throw new g.vHH(4005,!1);y=d.segments.length}return new _n(d,!1,y-w)}(s,d+(jr(u.commands[0])?0:1),u.numberOfDoubleDots)}(w,c,u.snapshot?._urlSegment,Z),be=ve.processChildren?gr(ve.segmentGroup,ve.index,w.commands):bi(ve.segmentGroup,ve.index,w.commands);return Fn(c.root,ve.segmentGroup,be,d,y)}(u.snapshot?._lastPathIndex)}function jr(u){return"object"==typeof u&&null!=u&&!u.outlets&&!u.segmentPath}function Dt(u){return"object"==typeof u&&null!=u&&u.outlets}function Fn(u,c,s,d,y){let M,w={};d&&Mt(d,(Z,ve)=>{w[ve]=Array.isArray(Z)?Z.map(be=>`${be}`):`${Z}`}),M=u===c?s:pr(u,c,s);const L=lt(Yt(M));return new oe(L,w,y)}function pr(u,c,s){const d={};return Mt(u.children,(y,w)=>{d[w]=y===c?s:pr(y,c,s)}),new ee(u.segments,d)}class Rt{constructor(c,s,d){if(this.isAbsolute=c,this.numberOfDoubleDots=s,this.commands=d,c&&d.length>0&&jr(d[0]))throw new g.vHH(4003,!1);const y=d.find(Dt);if(y&&y!==Do(d))throw new g.vHH(4004,!1)}toRoot(){return this.isAbsolute&&1===this.commands.length&&"/"==this.commands[0]}}class _n{constructor(c,s,d){this.segmentGroup=c,this.processChildren=s,this.index=d}}function bi(u,c,s){if(u||(u=new ee([],{})),0===u.segments.length&&u.hasChildren())return gr(u,c,s);const d=function Ei(u,c,s){let d=0,y=c;const w={match:!1,pathIndex:0,commandIndex:0};for(;y=s.length)return w;const M=u.segments[y],L=s[d];if(Dt(L))break;const Z=`${L}`,ve=d0&&void 0===Z)break;if(Z&&ve&&"object"==typeof ve&&void 0===ve.outlets){if(!Xt(Z,ve,M))return w;d+=2}else{if(!Xt(Z,{},M))return w;d++}y++}return{match:!0,pathIndex:y,commandIndex:d}}(u,c,s),y=s.slice(d.commandIndex);if(d.match&&d.pathIndex{"string"==typeof w&&(w=[w]),null!==w&&(y[M]=bi(u.children[M],c,w))}),Mt(u.children,(w,M)=>{void 0===d[M]&&(y[M]=w)}),new ee(u.segments,y)}}function Br(u,c,s){const d=u.segments.slice(0,c);let y=0;for(;y{"string"==typeof s&&(s=[s]),null!==s&&(c[d]=Br(new ee([],{}),0,s))}),c}function mr(u){const c={};return Mt(u,(s,d)=>c[d]=`${s}`),c}function Xt(u,c,s){return u==s.path&&Jt(c,s.parameters)}class $n{constructor(c,s){this.id=c,this.url=s}}class Nt extends $n{constructor(c,s,d="imperative",y=null){super(c,s),this.type=0,this.navigationTrigger=d,this.restoredState=y}toString(){return`NavigationStart(id: ${this.id}, url: '${this.url}')`}}class Ft extends $n{constructor(c,s,d){super(c,s),this.urlAfterRedirects=d,this.type=1}toString(){return`NavigationEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}')`}}class yr extends $n{constructor(c,s,d,y){super(c,s),this.reason=d,this.code=y,this.type=2}toString(){return`NavigationCancel(id: ${this.id}, url: '${this.url}')`}}class or extends $n{constructor(c,s,d,y){super(c,s),this.error=d,this.target=y,this.type=3}toString(){return`NavigationError(id: ${this.id}, url: '${this.url}', error: ${this.error})`}}class So extends $n{constructor(c,s,d,y){super(c,s),this.urlAfterRedirects=d,this.state=y,this.type=4}toString(){return`RoutesRecognized(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}}class Tn extends $n{constructor(c,s,d,y){super(c,s),this.urlAfterRedirects=d,this.state=y,this.type=7}toString(){return`GuardsCheckStart(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}}class ti extends $n{constructor(c,s,d,y,w){super(c,s),this.urlAfterRedirects=d,this.state=y,this.shouldActivate=w,this.type=8}toString(){return`GuardsCheckEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state}, shouldActivate: ${this.shouldActivate})`}}class wi extends $n{constructor(c,s,d,y){super(c,s),this.urlAfterRedirects=d,this.state=y,this.type=5}toString(){return`ResolveStart(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}}class es extends $n{constructor(c,s,d,y){super(c,s),this.urlAfterRedirects=d,this.state=y,this.type=6}toString(){return`ResolveEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}}class Bs{constructor(c){this.route=c,this.type=9}toString(){return`RouteConfigLoadStart(path: ${this.route.path})`}}class Hs{constructor(c){this.route=c,this.type=10}toString(){return`RouteConfigLoadEnd(path: ${this.route.path})`}}class ts{constructor(c){this.snapshot=c,this.type=11}toString(){return`ChildActivationStart(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}}class $s{constructor(c){this.snapshot=c,this.type=12}toString(){return`ChildActivationEnd(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}}class Vs{constructor(c){this.snapshot=c,this.type=13}toString(){return`ActivationStart(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}}class zs{constructor(c){this.snapshot=c,this.type=14}toString(){return`ActivationEnd(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}}class ns{constructor(c,s,d){this.routerEvent=c,this.position=s,this.anchor=d,this.type=15}toString(){return`Scroll(anchor: '${this.anchor}', position: '${this.position?`${this.position[0]}, ${this.position[1]}`:null}')`}}let za=(()=>{class u{createUrlTree(s,d,y,w,M,L){return Fe(s||d.root,y,w,M,L)}}return u.\u0275fac=function(s){return new(s||u)},u.\u0275prov=g.Yz7({token:u,factory:u.\u0275fac}),u})(),Ws=(()=>{class u{}return u.\u0275fac=function(s){return new(s||u)},u.\u0275prov=g.Yz7({token:u,factory:function(c){return za.\u0275fac(c)},providedIn:"root"}),u})();class rs{constructor(c){this._root=c}get root(){return this._root.value}parent(c){const s=this.pathFromRoot(c);return s.length>1?s[s.length-2]:null}children(c){const s=Qr(c,this._root);return s?s.children.map(d=>d.value):[]}firstChild(c){const s=Qr(c,this._root);return s&&s.children.length>0?s.children[0].value:null}siblings(c){const s=Io(c,this._root);return s.length<2?[]:s[s.length-2].children.map(y=>y.value).filter(y=>y!==c)}pathFromRoot(c){return Io(c,this._root).map(s=>s.value)}}function Qr(u,c){if(u===c.value)return c;for(const s of c.children){const d=Qr(u,s);if(d)return d}return null}function Io(u,c){if(u===c.value)return[c];for(const s of c.children){const d=Io(u,s);if(d.length)return d.unshift(c),d}return[]}class vr{constructor(c,s){this.value=c,this.children=s}toString(){return`TreeNode(${this.value})`}}function Jr(u){const c={};return u&&u.children.forEach(s=>c[s.value.outlet]=s),c}class Ys extends rs{constructor(c,s){super(c),this.snapshot=s,Dr(this,c)}toString(){return this.snapshot.toString()}}function kn(u,c){const s=function Ks(u,c){const M=new Xr([],{},{},"",{},De,c,null,u.root,-1,{});return new ri("",new vr(M,[]))}(u,c),d=new re.X([new se("",{})]),y=new re.X({}),w=new re.X({}),M=new re.X({}),L=new re.X(""),Z=new Vn(d,y,M,L,w,De,c,s.root);return Z.snapshot=s.root,new Ys(new vr(Z,[]),s)}class Vn{constructor(c,s,d,y,w,M,L,Z){this.url=c,this.params=s,this.queryParams=d,this.fragment=y,this.data=w,this.outlet=M,this.component=L,this.title=this.data?.pipe((0,Me.U)(ve=>ve[Tt]))??(0,H.of)(void 0),this._futureSnapshot=Z}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,Me.U)(c=>pn(c)))),this._paramMap}get queryParamMap(){return this._queryParamMap||(this._queryParamMap=this.queryParams.pipe((0,Me.U)(c=>pn(c)))),this._queryParamMap}toString(){return this.snapshot?this.snapshot.toString():`Future(${this._futureSnapshot})`}}function ni(u,c="emptyOnly"){const s=u.pathFromRoot;let d=0;if("always"!==c)for(d=s.length-1;d>=1;){const y=s[d],w=s[d-1];if(y.routeConfig&&""===y.routeConfig.path)d--;else{if(w.component)break;d--}}return function os(u){return u.reduce((c,s)=>({params:{...c.params,...s.params},data:{...c.data,...s.data},resolve:{...s.data,...c.resolve,...s.routeConfig?.data,...s._resolvedData}}),{params:{},data:{},resolve:{}})}(s.slice(d))}class Xr{constructor(c,s,d,y,w,M,L,Z,ve,be,Je){this.url=c,this.params=s,this.queryParams=d,this.fragment=y,this.data=w,this.outlet=M,this.component=L,this.routeConfig=Z,this._urlSegment=ve,this._lastPathIndex=be,this._resolve=Je}get title(){return this.data?.[Tt]}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=pn(this.params)),this._paramMap}get queryParamMap(){return this._queryParamMap||(this._queryParamMap=pn(this.queryParams)),this._queryParamMap}toString(){return`Route(url:'${this.url.map(d=>d.toString()).join("/")}', path:'${this.routeConfig?this.routeConfig.path:""}')`}}class ri extends rs{constructor(c,s){super(s),this.url=c,Dr(this,s)}toString(){return Si(this._root)}}function Dr(u,c){c.value._routerState=u,c.children.forEach(s=>Dr(u,s))}function Si(u){const c=u.children.length>0?` { ${u.children.map(Si).join(", ")} } `:"";return`${u.value}${c}`}function eo(u){if(u.snapshot){const c=u.snapshot,s=u._futureSnapshot;u.snapshot=s,Jt(c.queryParams,s.queryParams)||u.queryParams.next(s.queryParams),c.fragment!==s.fragment&&u.fragment.next(s.fragment),Jt(c.params,s.params)||u.params.next(s.params),function Zr(u,c){if(u.length!==c.length)return!1;for(let s=0;sJt(s.parameters,c[d].parameters))}(u.url,c.url);return s&&!(!u.parent!=!c.parent)&&(!u.parent||Ii(u.parent,c.parent))}function Hr(u,c,s){if(s&&u.shouldReuseRoute(c.value,s.value.snapshot)){const d=s.value;d._futureSnapshot=c.value;const y=function Ti(u,c,s){return c.children.map(d=>{for(const y of s.children)if(u.shouldReuseRoute(d.value,y.value.snapshot))return Hr(u,d,y);return Hr(u,d)})}(u,c,s);return new vr(d,y)}{if(u.shouldAttach(c.value)){const w=u.retrieve(c.value);if(null!==w){const M=w.route;return M.value._futureSnapshot=c.value,M.children=c.children.map(L=>Hr(u,L)),M}}const d=function St(u){return new Vn(new re.X(u.url),new re.X(u.params),new re.X(u.queryParams),new re.X(u.fragment),new re.X(u.data),u.outlet,u.component,u)}(c.value),y=c.children.map(w=>Hr(u,w));return new vr(d,y)}}const To="ngNavigationCancelingError";function to(u,c){const{redirectTo:s,navigationBehaviorOptions:d}=bt(c)?{redirectTo:c,navigationBehaviorOptions:void 0}:c,y=cn(!1,0,c);return y.url=s,y.navigationBehaviorOptions=d,y}function cn(u,c,s){const d=new Error("NavigationCancelingError: "+(u||""));return d[To]=!0,d.cancellationCode=c,s&&(d.url=s),d}function Mi(u){return oi(u)&&bt(u.url)}function oi(u){return u&&u[To]}class no{constructor(){this.outlet=null,this.route=null,this.resolver=null,this.injector=null,this.children=new Lt,this.attachRef=null}}let Lt=(()=>{class u{constructor(){this.contexts=new Map}onChildOutletCreated(s,d){const y=this.getOrCreateContext(s);y.outlet=d,this.contexts.set(s,y)}onChildOutletDestroyed(s){const d=this.getContext(s);d&&(d.outlet=null,d.attachRef=null)}onOutletDeactivated(){const s=this.contexts;return this.contexts=new Map,s}onOutletReAttached(s){this.contexts=s}getOrCreateContext(s){let d=this.getContext(s);return d||(d=new no,this.contexts.set(s,d)),d}getContext(s){return this.contexts.get(s)||null}}return u.\u0275fac=function(s){return new(s||u)},u.\u0275prov=g.Yz7({token:u,factory:u.\u0275fac,providedIn:"root"}),u})();const Mo=!1;let $r=(()=>{class u{constructor(){this.activated=null,this._activatedRoute=null,this.name=De,this.activateEvents=new g.vpe,this.deactivateEvents=new g.vpe,this.attachEvents=new g.vpe,this.detachEvents=new g.vpe,this.parentContexts=(0,g.f3M)(Lt),this.location=(0,g.f3M)(g.s_b),this.changeDetector=(0,g.f3M)(g.sBO),this.environmentInjector=(0,g.f3M)(g.lqb)}ngOnChanges(s){if(s.name){const{firstChange:d,previousValue:y}=s.name;if(d)return;this.isTrackedInParentContexts(y)&&(this.deactivate(),this.parentContexts.onChildOutletDestroyed(y)),this.initializeOutletWithName()}}ngOnDestroy(){this.isTrackedInParentContexts(this.name)&&this.parentContexts.onChildOutletDestroyed(this.name)}isTrackedInParentContexts(s){return this.parentContexts.getContext(s)?.outlet===this}ngOnInit(){this.initializeOutletWithName()}initializeOutletWithName(){if(this.parentContexts.onChildOutletCreated(this.name,this),this.activated)return;const s=this.parentContexts.getContext(this.name);s?.route&&(s.attachRef?this.attach(s.attachRef,s.route):this.activateWith(s.route,s.injector))}get isActivated(){return!!this.activated}get component(){if(!this.activated)throw new g.vHH(4012,Mo);return this.activated.instance}get activatedRoute(){if(!this.activated)throw new g.vHH(4012,Mo);return this._activatedRoute}get activatedRouteData(){return this._activatedRoute?this._activatedRoute.snapshot.data:{}}detach(){if(!this.activated)throw new g.vHH(4012,Mo);this.location.detach();const s=this.activated;return this.activated=null,this._activatedRoute=null,this.detachEvents.emit(s.instance),s}attach(s,d){this.activated=s,this._activatedRoute=d,this.location.insert(s.hostView),this.attachEvents.emit(s.instance)}deactivate(){if(this.activated){const s=this.component;this.activated.destroy(),this.activated=null,this._activatedRoute=null,this.deactivateEvents.emit(s)}}activateWith(s,d){if(this.isActivated)throw new g.vHH(4013,Mo);this._activatedRoute=s;const y=this.location,M=s.snapshot.component,L=this.parentContexts.getOrCreateContext(this.name).children,Z=new is(s,L,y.injector);if(d&&function _r(u){return!!u.resolveComponentFactory}(d)){const ve=d.resolveComponentFactory(M);this.activated=y.createComponent(ve,y.length,Z)}else this.activated=y.createComponent(M,{index:y.length,injector:Z,environmentInjector:d??this.environmentInjector});this.changeDetector.markForCheck(),this.activateEvents.emit(this.activated.instance)}}return u.\u0275fac=function(s){return new(s||u)},u.\u0275dir=g.lG2({type:u,selectors:[["router-outlet"]],inputs:{name:"name"},outputs:{activateEvents:"activate",deactivateEvents:"deactivate",attachEvents:"attach",detachEvents:"detach"},exportAs:["outlet"],standalone:!0,features:[g.TTD]}),u})();class is{constructor(c,s,d){this.route=c,this.childContexts=s,this.parent=d}get(c,s){return c===Vn?this.route:c===Lt?this.childContexts:this.parent.get(c,s)}}let Ao=(()=>{class u{}return u.\u0275fac=function(s){return new(s||u)},u.\u0275cmp=g.Xpm({type:u,selectors:[["ng-component"]],standalone:!0,features:[g.jDz],decls:1,vars:0,template:function(s,d){1&s&&g._UZ(0,"router-outlet")},dependencies:[$r],encapsulation:2}),u})();function It(u,c){return u.providers&&!u._injector&&(u._injector=(0,g.MMx)(u.providers,c,`Route: ${u.path}`)),u._injector??c}function Ri(u){const c=u.children&&u.children.map(Ri),s=c?{...u,children:c}:{...u};return!s.component&&!s.loadComponent&&(c||s.loadChildren)&&s.outlet&&s.outlet!==De&&(s.component=Ao),s}function Y(u){return u.outlet||De}function Ge(u,c){const s=u.filter(d=>Y(d)===c);return s.push(...u.filter(d=>Y(d)!==c)),s}function ro(u){if(!u)return null;if(u.routeConfig?._injector)return u.routeConfig._injector;for(let c=u.parent;c;c=c.parent){const s=c.routeConfig;if(s?._loadedInjector)return s._loadedInjector;if(s?._injector)return s._injector}return null}class Ut{constructor(c,s,d,y){this.routeReuseStrategy=c,this.futureState=s,this.currState=d,this.forwardEvent=y}activate(c){const s=this.futureState._root,d=this.currState?this.currState._root:null;this.deactivateChildRoutes(s,d,c),eo(this.futureState.root),this.activateChildRoutes(s,d,c)}deactivateChildRoutes(c,s,d){const y=Jr(s);c.children.forEach(w=>{const M=w.value.outlet;this.deactivateRoutes(w,y[M],d),delete y[M]}),Mt(y,(w,M)=>{this.deactivateRouteAndItsChildren(w,d)})}deactivateRoutes(c,s,d){const y=c.value,w=s?s.value:null;if(y===w)if(y.component){const M=d.getContext(y.outlet);M&&this.deactivateChildRoutes(c,s,M.children)}else this.deactivateChildRoutes(c,s,d);else w&&this.deactivateRouteAndItsChildren(s,d)}deactivateRouteAndItsChildren(c,s){c.value.component&&this.routeReuseStrategy.shouldDetach(c.value.snapshot)?this.detachAndStoreRouteSubtree(c,s):this.deactivateRouteAndOutlet(c,s)}detachAndStoreRouteSubtree(c,s){const d=s.getContext(c.value.outlet),y=d&&c.value.component?d.children:s,w=Jr(c);for(const M of Object.keys(w))this.deactivateRouteAndItsChildren(w[M],y);if(d&&d.outlet){const M=d.outlet.detach(),L=d.children.onOutletDeactivated();this.routeReuseStrategy.store(c.value.snapshot,{componentRef:M,route:c,contexts:L})}}deactivateRouteAndOutlet(c,s){const d=s.getContext(c.value.outlet),y=d&&c.value.component?d.children:s,w=Jr(c);for(const M of Object.keys(w))this.deactivateRouteAndItsChildren(w[M],y);d&&d.outlet&&(d.outlet.deactivate(),d.children.onOutletDeactivated(),d.attachRef=null,d.resolver=null,d.route=null)}activateChildRoutes(c,s,d){const y=Jr(s);c.children.forEach(w=>{this.activateRoutes(w,y[w.value.outlet],d),this.forwardEvent(new zs(w.value.snapshot))}),c.children.length&&this.forwardEvent(new $s(c.value.snapshot))}activateRoutes(c,s,d){const y=c.value,w=s?s.value:null;if(eo(y),y===w)if(y.component){const M=d.getOrCreateContext(y.outlet);this.activateChildRoutes(c,s,M.children)}else this.activateChildRoutes(c,s,d);else if(y.component){const M=d.getOrCreateContext(y.outlet);if(this.routeReuseStrategy.shouldAttach(y.snapshot)){const L=this.routeReuseStrategy.retrieve(y.snapshot);this.routeReuseStrategy.store(y.snapshot,null),M.children.onOutletReAttached(L.contexts),M.attachRef=L.componentRef,M.route=L.route.value,M.outlet&&M.outlet.attach(L.componentRef,L.route.value),eo(L.route.value),this.activateChildRoutes(c,null,M.children)}else{const L=ro(y.snapshot),Z=L?.get(g._Vd)??null;M.attachRef=null,M.route=y,M.resolver=Z,M.injector=L,M.outlet&&M.outlet.activateWith(y,M.injector),this.activateChildRoutes(c,null,M.children)}}else this.activateChildRoutes(c,null,d)}}class Cr{constructor(c){this.path=c,this.route=this.path[this.path.length-1]}}class br{constructor(c,s){this.component=c,this.route=s}}function zn(u,c,s){const d=u._root;return xo(d,c?c._root:null,s,[d.value])}function Gn(u,c){const s=Symbol(),d=c.get(u,s);return d===s?"function"!=typeof u||(0,g.Z0I)(u)?c.get(u):u:d}function xo(u,c,s,d,y={canDeactivateChecks:[],canActivateChecks:[]}){const w=Jr(c);return u.children.forEach(M=>{(function Ya(u,c,s,d,y={canDeactivateChecks:[],canActivateChecks:[]}){const w=u.value,M=c?c.value:null,L=s?s.getContext(u.value.outlet):null;if(M&&w.routeConfig===M.routeConfig){const Z=function xi(u,c,s){if("function"==typeof s)return s(u,c);switch(s){case"pathParamsChange":return!$t(u.url,c.url);case"pathParamsOrQueryParamsChange":return!$t(u.url,c.url)||!Jt(u.queryParams,c.queryParams);case"always":return!0;case"paramsOrQueryParamsChange":return!Ii(u,c)||!Jt(u.queryParams,c.queryParams);default:return!Ii(u,c)}}(M,w,w.routeConfig.runGuardsAndResolvers);Z?y.canActivateChecks.push(new Cr(d)):(w.data=M.data,w._resolvedData=M._resolvedData),xo(u,c,w.component?L?L.children:null:s,d,y),Z&&L&&L.outlet&&L.outlet.isActivated&&y.canDeactivateChecks.push(new br(L.outlet.component,M))}else M&&xt(c,L,y),y.canActivateChecks.push(new Cr(d)),xo(u,null,w.component?L?L.children:null:s,d,y)})(M,w[M.value.outlet],s,d.concat([M.value]),y),delete w[M.value.outlet]}),Mt(w,(M,L)=>xt(M,s.getContext(L),y)),y}function xt(u,c,s){const d=Jr(u),y=u.value;Mt(d,(w,M)=>{xt(w,y.component?c?c.children.getContext(M):null:c,s)}),s.canDeactivateChecks.push(new br(y.component&&c&&c.outlet&&c.outlet.isActivated?c.outlet.component:null,y))}function ln(u){return"function"==typeof u}function Po(u){return u instanceof Q||"EmptyError"===u?.name}const io=Symbol("INITIAL_VALUE");function Er(){return(0,Ue.w)(u=>Se(u.map(c=>c.pipe(We(1),function Rn(...u){const c=u[u.length-1];return(0,ae.K)(c)?(u.pop(),s=>hn(u,s,c)):s=>hn(u,s)}(io)))).pipe((0,Me.U)(c=>{for(const s of c)if(!0!==s){if(s===io)return io;if(!1===s||s instanceof oe)return s}return!0}),(0,Ct.h)(c=>c!==io),We(1)))}function Fi(u){return(0,ge.z)((0,wt.b)(c=>{if(bt(c))throw to(0,c)}),(0,Me.U)(c=>!0===c))}const D={matched:!1,consumedSegments:[],remainingSegments:[],parameters:{},positionalParamSegments:{}};function h(u,c,s,d,y){const w=S(u,c,s);return w.matched?function f(u,c,s,d){const y=c.canMatch;if(!y||0===y.length)return(0,H.of)(!0);const w=y.map(M=>{const L=Gn(M,u);return Sn(function Xs(u){return u&&ln(u.canMatch)}(L)?L.canMatch(c,s):u.runInContext(()=>L(c,s)))});return(0,H.of)(w).pipe(Er(),Fi())}(d=It(c,d),c,s).pipe((0,Me.U)(M=>!0===M?w:{...D})):(0,H.of)(w)}function S(u,c,s){if(""===c.path)return"full"===c.pathMatch&&(u.hasChildren()||s.length>0)?{...D}:{matched:!0,consumedSegments:[],remainingSegments:s,parameters:{},positionalParamSegments:{}};const y=(c.matcher||Lr)(s,u,c);if(!y)return{...D};const w={};Mt(y.posParams,(L,Z)=>{w[Z]=L.path});const M=y.consumed.length>0?{...w,...y.consumed[y.consumed.length-1].parameters}:w;return{matched:!0,consumedSegments:y.consumed,remainingSegments:s.slice(y.consumed.length),parameters:M,positionalParamSegments:y.posParams??{}}}function P(u,c,s,d){if(s.length>0&&function _e(u,c,s){return s.some(d=>$e(u,c,d)&&Y(d)!==De)}(u,s,d)){const w=new ee(c,function K(u,c,s,d){const y={};y[De]=d,d._sourceSegment=u,d._segmentIndexShift=c.length;for(const w of s)if(""===w.path&&Y(w)!==De){const M=new ee([],{});M._sourceSegment=u,M._segmentIndexShift=c.length,y[Y(w)]=M}return y}(u,c,d,new ee(s,u.children)));return w._sourceSegment=u,w._segmentIndexShift=c.length,{segmentGroup:w,slicedSegments:[]}}if(0===s.length&&function Xe(u,c,s){return s.some(d=>$e(u,c,d))}(u,s,d)){const w=new ee(u.segments,function V(u,c,s,d,y){const w={};for(const M of d)if($e(u,s,M)&&!y[Y(M)]){const L=new ee([],{});L._sourceSegment=u,L._segmentIndexShift=c.length,w[Y(M)]=L}return{...y,...w}}(u,c,s,d,u.children));return w._sourceSegment=u,w._segmentIndexShift=c.length,{segmentGroup:w,slicedSegments:s}}const y=new ee(u.segments,u.children);return y._sourceSegment=u,y._segmentIndexShift=c.length,{segmentGroup:y,slicedSegments:s}}function $e(u,c,s){return(!(u.hasChildren()||c.length>0)||"full"!==s.pathMatch)&&""===s.path}function qe(u,c,s,d){return!!(Y(u)===d||d!==De&&$e(c,s,u))&&("**"===u.path||S(c,u,s).matched)}function ke(u,c,s){return 0===c.length&&!u.children[s]}const dt=!1;class et{constructor(c){this.segmentGroup=c||null}}class Vt{constructor(c){this.urlTree=c}}function en(u){return ye(new et(u))}function on(u){return ye(new Vt(u))}class Li{constructor(c,s,d,y,w){this.injector=c,this.configLoader=s,this.urlSerializer=d,this.urlTree=y,this.config=w,this.allowRedirects=!0}apply(){const c=P(this.urlTree.root,[],[],this.config).segmentGroup,s=new ee(c.segments,c.children);return this.expandSegmentGroup(this.injector,this.config,s,De).pipe((0,Me.U)(w=>this.createUrlTree(Yt(w),this.urlTree.queryParams,this.urlTree.fragment))).pipe((0,pt.K)(w=>{if(w instanceof Vt)return this.allowRedirects=!1,this.match(w.urlTree);throw w instanceof et?this.noMatchError(w):w}))}match(c){return this.expandSegmentGroup(this.injector,this.config,c.root,De).pipe((0,Me.U)(y=>this.createUrlTree(Yt(y),c.queryParams,c.fragment))).pipe((0,pt.K)(y=>{throw y instanceof et?this.noMatchError(y):y}))}noMatchError(c){return new g.vHH(4002,dt)}createUrlTree(c,s,d){const y=lt(c);return new oe(y,s,d)}expandSegmentGroup(c,s,d,y){return 0===d.segments.length&&d.hasChildren()?this.expandChildren(c,s,d).pipe((0,Me.U)(w=>new ee([],w))):this.expandSegment(c,d,s,d.segments,y,!0)}expandChildren(c,s,d){const y=[];for(const w of Object.keys(d.children))"primary"===w?y.unshift(w):y.push(w);return(0,A.D)(y).pipe((0,Bn.b)(w=>{const M=d.children[w],L=Ge(s,w);return this.expandSegmentGroup(c,L,M,w).pipe((0,Me.U)(Z=>({segment:Z,outlet:w})))}),Xn((w,M)=>(w[M.outlet]=M.segment,w),{}),er())}expandSegment(c,s,d,y,w,M){return(0,A.D)(d).pipe((0,Bn.b)(L=>this.expandSegmentAgainstRoute(c,s,d,L,y,w,M).pipe((0,pt.K)(ve=>{if(ve instanceof et)return(0,H.of)(null);throw ve}))),st(L=>!!L),(0,pt.K)((L,Z)=>{if(Po(L))return ke(s,y,w)?(0,H.of)(new ee([],{})):en(s);throw L}))}expandSegmentAgainstRoute(c,s,d,y,w,M,L){return qe(y,s,w,M)?void 0===y.redirectTo?this.matchSegmentAgainstRoute(c,s,y,w,M):L&&this.allowRedirects?this.expandSegmentAgainstRouteUsingRedirect(c,s,d,y,w,M):en(s):en(s)}expandSegmentAgainstRouteUsingRedirect(c,s,d,y,w,M){return"**"===y.path?this.expandWildCardWithParamsAgainstRouteUsingRedirect(c,d,y,M):this.expandRegularSegmentAgainstRouteUsingRedirect(c,s,d,y,w,M)}expandWildCardWithParamsAgainstRouteUsingRedirect(c,s,d,y){const w=this.applyRedirectCommands([],d.redirectTo,{});return d.redirectTo.startsWith("/")?on(w):this.lineralizeSegments(d,w).pipe((0,Et.zg)(M=>{const L=new ee(M,{});return this.expandSegment(c,L,s,M,y,!1)}))}expandRegularSegmentAgainstRouteUsingRedirect(c,s,d,y,w,M){const{matched:L,consumedSegments:Z,remainingSegments:ve,positionalParamSegments:be}=S(s,y,w);if(!L)return en(s);const Je=this.applyRedirectCommands(Z,y.redirectTo,be);return y.redirectTo.startsWith("/")?on(Je):this.lineralizeSegments(y,Je).pipe((0,Et.zg)(Be=>this.expandSegment(c,s,d,Be.concat(ve),M,!1)))}matchSegmentAgainstRoute(c,s,d,y,w){return"**"===d.path?(c=It(d,c),d.loadChildren?(d._loadedRoutes?(0,H.of)({routes:d._loadedRoutes,injector:d._loadedInjector}):this.configLoader.loadChildren(c,d)).pipe((0,Me.U)(L=>(d._loadedRoutes=L.routes,d._loadedInjector=L.injector,new ee(y,{})))):(0,H.of)(new ee(y,{}))):h(s,d,y,c).pipe((0,Ue.w)(({matched:M,consumedSegments:L,remainingSegments:Z})=>M?this.getChildConfig(c=d._injector??c,d,y).pipe((0,Et.zg)(be=>{const Je=be.injector??c,Be=be.routes,{segmentGroup:Ar,slicedSegments:uo}=P(s,L,Z,Be),co=new ee(Ar.segments,Ar.children);if(0===uo.length&&co.hasChildren())return this.expandChildren(Je,Be,co).pipe((0,Me.U)(su=>new ee(L,su)));if(0===Be.length&&0===uo.length)return(0,H.of)(new ee(L,{}));const Yn=Y(d)===w;return this.expandSegment(Je,co,Be,uo,Yn?De:w,!0).pipe((0,Me.U)(Ts=>new ee(L.concat(Ts.segments),Ts.children)))})):en(s)))}getChildConfig(c,s,d){return s.children?(0,H.of)({routes:s.children,injector:c}):s.loadChildren?void 0!==s._loadedRoutes?(0,H.of)({routes:s._loadedRoutes,injector:s._loadedInjector}):function ps(u,c,s,d){const y=c.canLoad;if(void 0===y||0===y.length)return(0,H.of)(!0);const w=y.map(M=>{const L=Gn(M,u);return Sn(function oo(u){return u&&ln(u.canLoad)}(L)?L.canLoad(c,s):u.runInContext(()=>L(c,s)))});return(0,H.of)(w).pipe(Er(),Fi())}(c,s,d).pipe((0,Et.zg)(y=>y?this.configLoader.loadChildren(c,s).pipe((0,wt.b)(w=>{s._loadedRoutes=w.routes,s._loadedInjector=w.injector})):function Sr(u){return ye(cn(dt,3))}())):(0,H.of)({routes:[],injector:c})}lineralizeSegments(c,s){let d=[],y=s.root;for(;;){if(d=d.concat(y.segments),0===y.numberOfChildren)return(0,H.of)(d);if(y.numberOfChildren>1||!y.children[De])return ye(new g.vHH(4e3,dt));y=y.children[De]}}applyRedirectCommands(c,s,d){return this.applyRedirectCreateUrlTree(s,this.urlSerializer.parse(s),c,d)}applyRedirectCreateUrlTree(c,s,d,y){const w=this.createSegmentGroup(c,s.root,d,y);return new oe(w,this.createQueryParams(s.queryParams,this.urlTree.queryParams),s.fragment)}createQueryParams(c,s){const d={};return Mt(c,(y,w)=>{if("string"==typeof y&&y.startsWith(":")){const L=y.substring(1);d[w]=s[L]}else d[w]=y}),d}createSegmentGroup(c,s,d,y){const w=this.createSegments(c,s.segments,d,y);let M={};return Mt(s.children,(L,Z)=>{M[Z]=this.createSegmentGroup(c,L,d,y)}),new ee(w,M)}createSegments(c,s,d,y){return s.map(w=>w.path.startsWith(":")?this.findPosParam(c,w,y):this.findOrReturn(w,d))}findPosParam(c,s,d){const y=d[s.path.substring(1)];if(!y)throw new g.vHH(4001,dt);return y}findOrReturn(c,s){let d=0;for(const y of s){if(y.path===c.path)return s.splice(d),y;d++}return c}}class Fu{}class ta{constructor(c,s,d,y,w,M,L){this.injector=c,this.rootComponentType=s,this.config=d,this.urlTree=y,this.url=w,this.paramsInheritanceStrategy=M,this.urlSerializer=L}recognize(){const c=P(this.urlTree.root,[],[],this.config.filter(s=>void 0===s.redirectTo)).segmentGroup;return this.processSegmentGroup(this.injector,this.config,c,De).pipe((0,Me.U)(s=>{if(null===s)return null;const d=new Xr([],Object.freeze({}),Object.freeze({...this.urlTree.queryParams}),this.urlTree.fragment,{},De,this.rootComponentType,null,this.urlTree.root,-1,{}),y=new vr(d,s),w=new ri(this.url,y);return this.inheritParamsAndData(w._root),w}))}inheritParamsAndData(c){const s=c.value,d=ni(s,this.paramsInheritanceStrategy);s.params=Object.freeze(d.params),s.data=Object.freeze(d.data),c.children.forEach(y=>this.inheritParamsAndData(y))}processSegmentGroup(c,s,d,y){return 0===d.segments.length&&d.hasChildren()?this.processChildren(c,s,d):this.processSegment(c,s,d,d.segments,y)}processChildren(c,s,d){return(0,A.D)(Object.keys(d.children)).pipe((0,Bn.b)(y=>{const w=d.children[y],M=Ge(s,y);return this.processSegmentGroup(c,M,w,y)}),Xn((y,w)=>y&&w?(y.push(...w),y):null),function yt(u,c=!1){return s=>s.lift(new Ie(u,c))}(y=>null!==y),rt(null),er(),(0,Me.U)(y=>{if(null===y)return null;const w=ms(y);return function na(u){u.sort((c,s)=>c.value.outlet===De?-1:s.value.outlet===De?1:c.value.outlet.localeCompare(s.value.outlet))}(w),w}))}processSegment(c,s,d,y,w){return(0,A.D)(s).pipe((0,Bn.b)(M=>this.processSegmentAgainstRoute(M._injector??c,M,d,y,w)),st(M=>!!M),(0,pt.K)(M=>{if(Po(M))return ke(d,y,w)?(0,H.of)([]):(0,H.of)(null);throw M}))}processSegmentAgainstRoute(c,s,d,y,w){if(s.redirectTo||!qe(s,d,y,w))return(0,H.of)(null);let M;if("**"===s.path){const L=y.length>0?Do(y).parameters:{},Z=ui(d)+y.length,ve=new Xr(y,L,Object.freeze({...this.urlTree.queryParams}),this.urlTree.fragment,ci(s),Y(s),s.component??s._loadedComponent??null,s,oa(d),Z,Za(s));M=(0,H.of)({snapshot:ve,consumedSegments:[],remainingSegments:[]})}else M=h(d,s,y,c).pipe((0,Me.U)(({matched:L,consumedSegments:Z,remainingSegments:ve,parameters:be})=>{if(!L)return null;const Je=ui(d)+Z.length;return{snapshot:new Xr(Z,be,Object.freeze({...this.urlTree.queryParams}),this.urlTree.fragment,ci(s),Y(s),s.component??s._loadedComponent??null,s,oa(d),Je,Za(s)),consumedSegments:Z,remainingSegments:ve}}));return M.pipe((0,Ue.w)(L=>{if(null===L)return(0,H.of)(null);const{snapshot:Z,consumedSegments:ve,remainingSegments:be}=L;c=s._injector??c;const Je=s._loadedInjector??c,Be=function ai(u){return u.children?u.children:u.loadChildren?u._loadedRoutes:[]}(s),{segmentGroup:Ar,slicedSegments:uo}=P(d,ve,be,Be.filter(Yn=>void 0===Yn.redirectTo));if(0===uo.length&&Ar.hasChildren())return this.processChildren(Je,Be,Ar).pipe((0,Me.U)(Yn=>null===Yn?null:[new vr(Z,Yn)]));if(0===Be.length&&0===uo.length)return(0,H.of)([new vr(Z,[])]);const co=Y(s)===w;return this.processSegment(Je,Be,Ar,uo,co?De:w).pipe((0,Me.U)(Yn=>null===Yn?null:[new vr(Z,Yn)]))}))}}function ra(u){const c=u.value.routeConfig;return c&&""===c.path&&void 0===c.redirectTo}function ms(u){const c=[],s=new Set;for(const d of u){if(!ra(d)){c.push(d);continue}const y=c.find(w=>d.value.routeConfig===w.value.routeConfig);void 0!==y?(y.children.push(...d.children),s.add(y)):c.push(d)}for(const d of s){const y=ms(d.children);c.push(new vr(d.value,y))}return c.filter(d=>!s.has(d))}function oa(u){let c=u;for(;c._sourceSegment;)c=c._sourceSegment;return c}function ui(u){let c=u,s=c._segmentIndexShift??0;for(;c._sourceSegment;)c=c._sourceSegment,s+=c._segmentIndexShift??0;return s-1}function ci(u){return u.data||{}}function Za(u){return u.resolve||{}}function Bi(u){return"string"==typeof u.title||null===u.title}function ft(u){return(0,Ue.w)(c=>{const s=u(c);return s?(0,A.D)(s).pipe((0,Me.U)(()=>c)):(0,H.of)(c)})}const Oo=new g.OlP("ROUTES");let $i=(()=>{class u{constructor(s,d){this.injector=s,this.compiler=d,this.componentLoaders=new WeakMap,this.childrenLoaders=new WeakMap}loadComponent(s){if(this.componentLoaders.get(s))return this.componentLoaders.get(s);if(s._loadedComponent)return(0,H.of)(s._loadedComponent);this.onLoadStartListener&&this.onLoadStartListener(s);const d=Sn(s.loadComponent()).pipe((0,Me.U)(so),(0,wt.b)(w=>{this.onLoadEndListener&&this.onLoadEndListener(s),s._loadedComponent=w}),Ht(()=>{this.componentLoaders.delete(s)})),y=new nt.c(d,()=>new Ce.xQ).pipe((0,vo.x)());return this.componentLoaders.set(s,y),y}loadChildren(s,d){if(this.childrenLoaders.get(d))return this.childrenLoaders.get(d);if(d._loadedRoutes)return(0,H.of)({routes:d._loadedRoutes,injector:d._loadedInjector});this.onLoadStartListener&&this.onLoadStartListener(d);const w=this.loadModuleFactoryOrRoutes(d.loadChildren).pipe((0,Me.U)(L=>{this.onLoadEndListener&&this.onLoadEndListener(d);let Z,ve,be=!1;Array.isArray(L)?ve=L:(Z=L.create(s).injector,ve=wn(Z.get(Oo,[],g.XFs.Self|g.XFs.Optional)));return{routes:ve.map(Ri),injector:Z}}),Ht(()=>{this.childrenLoaders.delete(d)})),M=new nt.c(w,()=>new Ce.xQ).pipe((0,vo.x)());return this.childrenLoaders.set(d,M),M}loadModuleFactoryOrRoutes(s){return Sn(s()).pipe((0,Me.U)(so),(0,Et.zg)(y=>y instanceof g.YKP||Array.isArray(y)?(0,H.of)(y):(0,A.D)(this.compiler.compileModuleAsync(y))))}}return u.\u0275fac=function(s){return new(s||u)(g.LFG(g.zs3),g.LFG(g.Sil))},u.\u0275prov=g.Yz7({token:u,factory:u.\u0275fac,providedIn:"root"}),u})();function so(u){return function vs(u){return u&&"object"==typeof u&&"default"in u}(u)?u.default:u}let li=(()=>{class u{constructor(){this.currentNavigation=null,this.lastSuccessfulNavigation=null,this.events=new Ce.xQ,this.configLoader=(0,g.f3M)($i),this.environmentInjector=(0,g.f3M)(g.lqb),this.urlSerializer=(0,g.f3M)(Ot),this.rootContexts=(0,g.f3M)(Lt),this.navigationId=0,this.configLoader.onLoadEndListener=y=>this.events.next(new Hs(y)),this.configLoader.onLoadStartListener=y=>this.events.next(new Bs(y))}get hasRequestedNavigation(){return 0!==this.navigationId}complete(){this.transitions?.complete()}handleNavigationRequest(s){const d=++this.navigationId;this.transitions?.next({...this.transitions.value,...s,id:d})}setupNavigations(s){return this.transitions=new re.X({id:0,targetPageId:0,currentUrlTree:s.currentUrlTree,currentRawUrl:s.currentUrlTree,extractedUrl:s.urlHandlingStrategy.extract(s.currentUrlTree),urlAfterRedirects:s.urlHandlingStrategy.extract(s.currentUrlTree),rawUrl:s.currentUrlTree,extras:{},resolve:null,reject:null,promise:Promise.resolve(!0),source:"imperative",restoredState:null,currentSnapshot:s.routerState.snapshot,targetSnapshot:null,currentRouterState:s.routerState,targetRouterState:null,guards:{canActivateChecks:[],canDeactivateChecks:[]},guardsResult:null}),this.transitions.pipe((0,Ct.h)(d=>0!==d.id),(0,Me.U)(d=>({...d,extractedUrl:s.urlHandlingStrategy.extract(d.rawUrl)})),(0,Ue.w)(d=>{let y=!1,w=!1;return(0,H.of)(d).pipe((0,wt.b)(M=>{this.currentNavigation={id:M.id,initialUrl:M.rawUrl,extractedUrl:M.extractedUrl,trigger:M.source,extras:M.extras,previousNavigation:this.lastSuccessfulNavigation?{...this.lastSuccessfulNavigation,previousNavigation:null}:null}}),(0,Ue.w)(M=>{const L=s.browserUrlTree.toString(),Z=!s.navigated||M.extractedUrl.toString()!==L||L!==s.currentUrlTree.toString();if(("reload"===s.onSameUrlNavigation||Z)&&s.urlHandlingStrategy.shouldProcessUrl(M.rawUrl))return di(M.source)&&(s.browserUrlTree=M.extractedUrl),(0,H.of)(M).pipe((0,Ue.w)(be=>{const Je=this.transitions?.getValue();return this.events.next(new Nt(be.id,this.urlSerializer.serialize(be.extractedUrl),be.source,be.restoredState)),Je!==this.transitions?.getValue()?qt:Promise.resolve(be)}),function ki(u,c,s,d){return(0,Ue.w)(y=>function Ir(u,c,s,d,y){return new Li(u,c,s,d,y).apply()}(u,c,s,y.extractedUrl,d).pipe((0,Me.U)(w=>({...y,urlAfterRedirects:w}))))}(this.environmentInjector,this.configLoader,this.urlSerializer,s.config),(0,wt.b)(be=>{this.currentNavigation={...this.currentNavigation,finalUrl:be.urlAfterRedirects},d.urlAfterRedirects=be.urlAfterRedirects}),function sa(u,c,s,d,y){return(0,Et.zg)(w=>function gs(u,c,s,d,y,w,M="emptyOnly"){return new ta(u,c,s,d,y,M,w).recognize().pipe((0,Ue.w)(L=>null===L?function Lu(u){return new J.y(c=>c.error(u))}(new Fu):(0,H.of)(L)))}(u,c,s,w.urlAfterRedirects,d.serialize(w.urlAfterRedirects),d,y).pipe((0,Me.U)(M=>({...w,targetSnapshot:M}))))}(this.environmentInjector,s.rootComponentType,s.config,this.urlSerializer,s.paramsInheritanceStrategy),(0,wt.b)(be=>{if(d.targetSnapshot=be.targetSnapshot,"eager"===s.urlUpdateStrategy){if(!be.extras.skipLocationChange){const Be=s.urlHandlingStrategy.merge(be.urlAfterRedirects,be.rawUrl);s.setBrowserUrl(Be,be)}s.browserUrlTree=be.urlAfterRedirects}const Je=new So(be.id,this.urlSerializer.serialize(be.extractedUrl),this.urlSerializer.serialize(be.urlAfterRedirects),be.targetSnapshot);this.events.next(Je)}));if(Z&&s.rawUrlTree&&s.urlHandlingStrategy.shouldProcessUrl(s.rawUrlTree)){const{id:Je,extractedUrl:Be,source:Ar,restoredState:uo,extras:co}=M,Yn=new Nt(Je,this.urlSerializer.serialize(Be),Ar,uo);this.events.next(Yn);const iu=kn(Be,s.rootComponentType).snapshot;return d={...M,targetSnapshot:iu,urlAfterRedirects:Be,extras:{...co,skipLocationChange:!1,replaceUrl:!1}},(0,H.of)(d)}return s.rawUrlTree=M.rawUrl,M.resolve(null),qt}),(0,wt.b)(M=>{const L=new Tn(M.id,this.urlSerializer.serialize(M.extractedUrl),this.urlSerializer.serialize(M.urlAfterRedirects),M.targetSnapshot);this.events.next(L)}),(0,Me.U)(M=>d={...M,guards:zn(M.targetSnapshot,M.currentSnapshot,this.rootContexts)}),function cs(u,c){return(0,Et.zg)(s=>{const{targetSnapshot:d,currentSnapshot:y,guards:{canActivateChecks:w,canDeactivateChecks:M}}=s;return 0===M.length&&0===w.length?(0,H.of)({...s,guardsResult:!0}):function si(u,c,s,d){return(0,A.D)(u).pipe((0,Et.zg)(y=>function Ni(u,c,s,d,y){const w=c&&c.routeConfig?c.routeConfig.canDeactivate:null;if(!w||0===w.length)return(0,H.of)(!0);const M=w.map(L=>{const Z=ro(c)??y,ve=Gn(L,Z);return Sn(function us(u){return u&&ln(u.canDeactivate)}(ve)?ve.canDeactivate(u,c,s,d):Z.runInContext(()=>ve(u,c,s,d))).pipe(st())});return(0,H.of)(M).pipe(Er())}(y.component,y.route,s,c,d)),st(y=>!0!==y,!0))}(M,d,y,u).pipe((0,Et.zg)(L=>L&&function as(u){return"boolean"==typeof u}(L)?function Oi(u,c,s,d){return(0,A.D)(c).pipe((0,Bn.b)(y=>hn(function ds(u,c){return null!==u&&c&&c(new ts(u)),(0,H.of)(!0)}(y.route.parent,d),function ls(u,c){return null!==u&&c&&c(new Vs(u)),(0,H.of)(!0)}(y.route,d),function hs(u,c,s){const d=c[c.length-1],w=c.slice(0,c.length-1).reverse().map(M=>function Ro(u){const c=u.routeConfig?u.routeConfig.canActivateChild:null;return c&&0!==c.length?{node:u,guards:c}:null}(M)).filter(M=>null!==M).map(M=>_t(()=>{const L=M.guards.map(Z=>{const ve=ro(M.node)??s,be=Gn(Z,ve);return Sn(function Js(u){return u&&ln(u.canActivateChild)}(be)?be.canActivateChild(d,u):ve.runInContext(()=>be(d,u))).pipe(st())});return(0,H.of)(L).pipe(Er())}));return(0,H.of)(w).pipe(Er())}(u,y.path,s),function fs(u,c,s){const d=c.routeConfig?c.routeConfig.canActivate:null;if(!d||0===d.length)return(0,H.of)(!0);const y=d.map(w=>_t(()=>{const M=ro(c)??s,L=Gn(w,M);return Sn(function ir(u){return u&&ln(u.canActivate)}(L)?L.canActivate(c,u):M.runInContext(()=>L(c,u))).pipe(st())}));return(0,H.of)(y).pipe(Er())}(u,y.route,s))),st(y=>!0!==y,!0))}(d,w,u,c):(0,H.of)(L)),(0,Me.U)(L=>({...s,guardsResult:L})))})}(this.environmentInjector,M=>this.events.next(M)),(0,wt.b)(M=>{if(d.guardsResult=M.guardsResult,bt(M.guardsResult))throw to(0,M.guardsResult);const L=new ti(M.id,this.urlSerializer.serialize(M.extractedUrl),this.urlSerializer.serialize(M.urlAfterRedirects),M.targetSnapshot,!!M.guardsResult);this.events.next(L)}),(0,Ct.h)(M=>!!M.guardsResult||(s.restoreHistory(M),this.cancelNavigationTransition(M,"",3,s),!1)),ft(M=>{if(M.guards.canActivateChecks.length)return(0,H.of)(M).pipe((0,wt.b)(L=>{const Z=new wi(L.id,this.urlSerializer.serialize(L.extractedUrl),this.urlSerializer.serialize(L.urlAfterRedirects),L.targetSnapshot);this.events.next(Z)}),(0,Ue.w)(L=>{let Z=!1;return(0,H.of)(L).pipe(function aa(u,c){return(0,Et.zg)(s=>{const{targetSnapshot:d,guards:{canActivateChecks:y}}=s;if(!y.length)return(0,H.of)(s);let w=0;return(0,A.D)(y).pipe((0,Bn.b)(M=>function qa(u,c,s,d){const y=u.routeConfig,w=u._resolve;return void 0!==y?.title&&!Bi(y)&&(w[Tt]=y.title),function sr(u,c,s,d){const y=function Qa(u){return[...Object.keys(u),...Object.getOwnPropertySymbols(u)]}(u);if(0===y.length)return(0,H.of)({});const w={};return(0,A.D)(y).pipe((0,Et.zg)(M=>function Ui(u,c,s,d){const y=ro(c)??d,w=Gn(u,y);return Sn(w.resolve?w.resolve(c,s):y.runInContext(()=>w(c,s)))}(u[M],c,s,d).pipe(st(),(0,wt.b)(L=>{w[M]=L}))),nn(1),function tr(u){return c=>c.lift(new xn(u))}(w),(0,pt.K)(M=>Po(M)?qt:ye(M)))}(w,u,c,d).pipe((0,Me.U)(M=>(u._resolvedData=M,u.data=ni(u,s).resolve,y&&Bi(y)&&(u.data[Tt]=y.title),null)))}(M.route,d,u,c)),(0,wt.b)(()=>w++),nn(1),(0,Et.zg)(M=>w===y.length?(0,H.of)(s):qt))})}(s.paramsInheritanceStrategy,this.environmentInjector),(0,wt.b)({next:()=>Z=!0,complete:()=>{Z||(s.restoreHistory(L),this.cancelNavigationTransition(L,"",2,s))}}))}),(0,wt.b)(L=>{const Z=new es(L.id,this.urlSerializer.serialize(L.extractedUrl),this.urlSerializer.serialize(L.urlAfterRedirects),L.targetSnapshot);this.events.next(Z)}))}),ft(M=>{const L=Z=>{const ve=[];Z.routeConfig?.loadComponent&&!Z.routeConfig._loadedComponent&&ve.push(this.configLoader.loadComponent(Z.routeConfig).pipe((0,wt.b)(be=>{Z.component=be}),(0,Me.U)(()=>{})));for(const be of Z.children)ve.push(...L(be));return ve};return Se(L(M.targetSnapshot.root)).pipe(rt(),We(1))}),ft(()=>s.afterPreactivation()),(0,Me.U)(M=>{const L=function Cn(u,c,s){const d=Hr(u,c._root,s?s._root:void 0);return new Ys(d,c)}(s.routeReuseStrategy,M.targetSnapshot,M.currentRouterState);return d={...M,targetRouterState:L}}),(0,wt.b)(M=>{s.currentUrlTree=M.urlAfterRedirects,s.rawUrlTree=s.urlHandlingStrategy.merge(M.urlAfterRedirects,M.rawUrl),s.routerState=M.targetRouterState,"deferred"===s.urlUpdateStrategy&&(M.extras.skipLocationChange||s.setBrowserUrl(s.rawUrlTree,M),s.browserUrlTree=M.urlAfterRedirects)}),((u,c,s)=>(0,Me.U)(d=>(new Ut(c,d.targetRouterState,d.currentRouterState,s).activate(u),d)))(this.rootContexts,s.routeReuseStrategy,M=>this.events.next(M)),(0,wt.b)({next:M=>{y=!0,this.lastSuccessfulNavigation=this.currentNavigation,s.navigated=!0,this.events.next(new Ft(M.id,this.urlSerializer.serialize(M.extractedUrl),this.urlSerializer.serialize(s.currentUrlTree))),s.titleStrategy?.updateTitle(M.targetRouterState.snapshot),M.resolve(!0)},complete:()=>{y=!0}}),Ht(()=>{y||w||this.cancelNavigationTransition(d,"",1,s),this.currentNavigation?.id===d.id&&(this.currentNavigation=null)}),(0,pt.K)(M=>{if(w=!0,oi(M)){Mi(M)||(s.navigated=!0,s.restoreHistory(d,!0));const L=new yr(d.id,this.urlSerializer.serialize(d.extractedUrl),M.message,M.cancellationCode);if(this.events.next(L),Mi(M)){const Z=s.urlHandlingStrategy.merge(M.url,s.rawUrlTree),ve={skipLocationChange:d.extras.skipLocationChange,replaceUrl:"eager"===s.urlUpdateStrategy||di(d.source)};s.scheduleNavigation(Z,"imperative",null,ve,{resolve:d.resolve,reject:d.reject,promise:d.promise})}else d.resolve(!1)}else{s.restoreHistory(d,!0);const L=new or(d.id,this.urlSerializer.serialize(d.extractedUrl),M,d.targetSnapshot??void 0);this.events.next(L);try{d.resolve(s.errorHandler(M))}catch(Z){d.reject(Z)}}return qt}))}))}cancelNavigationTransition(s,d,y,w){const M=new yr(s.id,this.urlSerializer.serialize(s.extractedUrl),d,y);this.events.next(M),s.resolve(!1)}}return u.\u0275fac=function(s){return new(s||u)},u.\u0275prov=g.Yz7({token:u,factory:u.\u0275fac,providedIn:"root"}),u})();function di(u){return"imperative"!==u}let Tr=(()=>{class u{buildTitle(s){let d,y=s.root;for(;void 0!==y;)d=this.getResolvedTitleForRoute(y)??d,y=y.children.find(w=>w.outlet===De);return d}getResolvedTitleForRoute(s){return s.data[Tt]}}return u.\u0275fac=function(s){return new(s||u)},u.\u0275prov=g.Yz7({token:u,factory:function(){return(0,g.f3M)(ua)},providedIn:"root"}),u})(),ua=(()=>{class u extends Tr{constructor(s){super(),this.title=s}updateTitle(s){const d=this.buildTitle(s);void 0!==d&&this.title.setTitle(d)}}return u.\u0275fac=function(s){return new(s||u)(g.LFG(ut.Dx))},u.\u0275prov=g.Yz7({token:u,factory:u.\u0275fac,providedIn:"root"}),u})(),ca=(()=>{class u{}return u.\u0275fac=function(s){return new(s||u)},u.\u0275prov=g.Yz7({token:u,factory:function(){return(0,g.f3M)(No)},providedIn:"root"}),u})();class _s{shouldDetach(c){return!1}store(c,s){}shouldAttach(c){return!1}retrieve(c){return null}shouldReuseRoute(c,s){return c.routeConfig===s.routeConfig}}let No=(()=>{class u extends _s{}return u.\u0275fac=function(){let c;return function(d){return(c||(c=g.n5z(u)))(d||u)}}(),u.\u0275prov=g.Yz7({token:u,factory:u.\u0275fac,providedIn:"root"}),u})();const fi=new g.OlP("",{providedIn:"root",factory:()=>({})});let Cs=(()=>{class u{}return u.\u0275fac=function(s){return new(s||u)},u.\u0275prov=g.Yz7({token:u,factory:function(){return(0,g.f3M)(Xa)},providedIn:"root"}),u})(),Xa=(()=>{class u{shouldProcessUrl(s){return!0}extract(s){return s}merge(s,d){return s}}return u.\u0275fac=function(s){return new(s||u)},u.\u0275prov=g.Yz7({token:u,factory:u.\u0275fac,providedIn:"root"}),u})();function Es(u){throw u}function Fo(u,c,s){return c.parse("/")}const hi={paths:"exact",fragment:"ignored",matrixParams:"ignored",queryParams:"exact"},Lo={paths:"subset",fragment:"ignored",matrixParams:"ignored",queryParams:"subset"};let bn=(()=>{class u{constructor(){this.disposed=!1,this.currentPageId=0,this.console=(0,g.f3M)(g.c2e),this.isNgZoneEnabled=!1,this.options=(0,g.f3M)(fi,{optional:!0})||{},this.errorHandler=this.options.errorHandler||Es,this.malformedUriErrorHandler=this.options.malformedUriErrorHandler||Fo,this.navigated=!1,this.lastSuccessfulId=-1,this.afterPreactivation=()=>(0,H.of)(void 0),this.urlHandlingStrategy=(0,g.f3M)(Cs),this.routeReuseStrategy=(0,g.f3M)(ca),this.urlCreationStrategy=(0,g.f3M)(Ws),this.titleStrategy=(0,g.f3M)(Tr),this.onSameUrlNavigation=this.options.onSameUrlNavigation||"ignore",this.paramsInheritanceStrategy=this.options.paramsInheritanceStrategy||"emptyOnly",this.urlUpdateStrategy=this.options.urlUpdateStrategy||"deferred",this.canceledNavigationResolution=this.options.canceledNavigationResolution||"replace",this.config=wn((0,g.f3M)(Oo,{optional:!0})??[]),this.navigationTransitions=(0,g.f3M)(li),this.urlSerializer=(0,g.f3M)(Ot),this.location=(0,g.f3M)(Bt.Ye),this.rootComponentType=null,this.isNgZoneEnabled=(0,g.f3M)(g.R0b)instanceof g.R0b&&g.R0b.isInAngularZone(),this.resetConfig(this.config),this.currentUrlTree=new oe,this.rawUrlTree=this.currentUrlTree,this.browserUrlTree=this.currentUrlTree,this.routerState=kn(this.currentUrlTree,this.rootComponentType),this.navigationTransitions.setupNavigations(this).subscribe(s=>{this.lastSuccessfulId=s.id,this.currentPageId=s.targetPageId},s=>{this.console.warn(`Unhandled Navigation Error: ${s}`)})}get navigationId(){return this.navigationTransitions.navigationId}get browserPageId(){return this.location.getState()?.\u0275routerPageId}get events(){return this.navigationTransitions.events}resetRootComponentType(s){this.rootComponentType=s,this.routerState.root.component=this.rootComponentType}initialNavigation(){this.setUpLocationChangeListener(),this.navigationTransitions.hasRequestedNavigation||this.navigateByUrl(this.location.path(!0),{replaceUrl:!0})}setUpLocationChangeListener(){this.locationSubscription||(this.locationSubscription=this.location.subscribe(s=>{const d="popstate"===s.type?"popstate":"hashchange";"popstate"===d&&setTimeout(()=>{const y={replaceUrl:!0},w=s.state?.navigationId?s.state:null;if(s.state){const L={...s.state};delete L.navigationId,delete L.\u0275routerPageId,0!==Object.keys(L).length&&(y.state=L)}const M=this.parseUrl(s.url);this.scheduleNavigation(M,d,w,y)},0)}))}get url(){return this.serializeUrl(this.currentUrlTree)}getCurrentNavigation(){return this.navigationTransitions.currentNavigation}resetConfig(s){this.config=s.map(Ri),this.navigated=!1,this.lastSuccessfulId=-1}ngOnDestroy(){this.dispose()}dispose(){this.navigationTransitions.complete(),this.locationSubscription&&(this.locationSubscription.unsubscribe(),this.locationSubscription=void 0),this.disposed=!0}createUrlTree(s,d={}){const{relativeTo:y,queryParams:w,fragment:M,queryParamsHandling:L,preserveFragment:Z}=d,ve=Z?this.currentUrlTree.fragment:M;let be=null;switch(L){case"merge":be={...this.currentUrlTree.queryParams,...w};break;case"preserve":be=this.currentUrlTree.queryParams;break;default:be=w||null}return null!==be&&(be=this.removeEmptyProps(be)),this.urlCreationStrategy.createUrlTree(y,this.routerState,this.currentUrlTree,s,be,ve??null)}navigateByUrl(s,d={skipLocationChange:!1}){const y=bt(s)?s:this.parseUrl(s),w=this.urlHandlingStrategy.merge(y,this.rawUrlTree);return this.scheduleNavigation(w,"imperative",null,d)}navigate(s,d={skipLocationChange:!1}){return function ws(u){for(let c=0;c{const w=s[y];return null!=w&&(d[y]=w),d},{})}scheduleNavigation(s,d,y,w,M){if(this.disposed)return Promise.resolve(!1);let L,Z,ve,be;return M?(L=M.resolve,Z=M.reject,ve=M.promise):ve=new Promise((Je,Be)=>{L=Je,Z=Be}),"computed"===this.canceledNavigationResolution?(0===this.currentPageId&&(y=this.location.getState()),be=y&&y.\u0275routerPageId?y.\u0275routerPageId:w.replaceUrl||w.skipLocationChange?this.browserPageId??0:(this.browserPageId??0)+1):be=0,this.navigationTransitions.handleNavigationRequest({targetPageId:be,source:d,restoredState:y,currentUrlTree:this.currentUrlTree,currentRawUrl:this.currentUrlTree,rawUrl:s,extras:w,resolve:L,reject:Z,promise:ve,currentSnapshot:this.routerState.snapshot,currentRouterState:this.routerState}),ve.catch(Je=>Promise.reject(Je))}setBrowserUrl(s,d){const y=this.urlSerializer.serialize(s),w={...d.extras.state,...this.generateNgRouterState(d.id,d.targetPageId)};this.location.isCurrentPathEqualTo(y)||d.extras.replaceUrl?this.location.replaceState(y,"",w):this.location.go(y,"",w)}restoreHistory(s,d=!1){if("computed"===this.canceledNavigationResolution){const y=this.currentPageId-s.targetPageId;"popstate"!==s.source&&"eager"!==this.urlUpdateStrategy&&this.currentUrlTree!==this.getCurrentNavigation()?.finalUrl||0===y?this.currentUrlTree===this.getCurrentNavigation()?.finalUrl&&0===y&&(this.resetState(s),this.browserUrlTree=s.currentUrlTree,this.resetUrlToCurrentUrlTree()):this.location.historyGo(y)}else"replace"===this.canceledNavigationResolution&&(d&&this.resetState(s),this.resetUrlToCurrentUrlTree())}resetState(s){this.routerState=s.currentRouterState,this.currentUrlTree=s.currentUrlTree,this.rawUrlTree=this.urlHandlingStrategy.merge(this.currentUrlTree,s.rawUrl)}resetUrlToCurrentUrlTree(){this.location.replaceState(this.urlSerializer.serialize(this.rawUrlTree),"",this.generateNgRouterState(this.lastSuccessfulId,this.currentPageId))}generateNgRouterState(s,d){return"computed"===this.canceledNavigationResolution?{navigationId:s,\u0275routerPageId:d}:{navigationId:s}}}return u.\u0275fac=function(s){return new(s||u)},u.\u0275prov=g.Yz7({token:u,factory:u.\u0275fac,providedIn:"root"}),u})(),Mr=(()=>{class u{constructor(s,d,y,w,M,L){this.router=s,this.route=d,this.tabIndexAttribute=y,this.renderer=w,this.el=M,this.locationStrategy=L,this._preserveFragment=!1,this._skipLocationChange=!1,this._replaceUrl=!1,this.href=null,this.commands=null,this.onChanges=new Ce.xQ;const Z=M.nativeElement.tagName;this.isAnchorElement="A"===Z||"AREA"===Z,this.isAnchorElement?this.subscription=s.events.subscribe(ve=>{ve instanceof Ft&&this.updateHref()}):this.setTabIndexIfNotOnNativeEl("0")}set preserveFragment(s){this._preserveFragment=(0,g.D6c)(s)}get preserveFragment(){return this._preserveFragment}set skipLocationChange(s){this._skipLocationChange=(0,g.D6c)(s)}get skipLocationChange(){return this._skipLocationChange}set replaceUrl(s){this._replaceUrl=(0,g.D6c)(s)}get replaceUrl(){return this._replaceUrl}setTabIndexIfNotOnNativeEl(s){null!=this.tabIndexAttribute||this.isAnchorElement||this.applyAttributeValue("tabindex",s)}ngOnChanges(s){this.isAnchorElement&&this.updateHref(),this.onChanges.next(this)}set routerLink(s){null!=s?(this.commands=Array.isArray(s)?s:[s],this.setTabIndexIfNotOnNativeEl("0")):(this.commands=null,this.setTabIndexIfNotOnNativeEl(null))}onClick(s,d,y,w,M){return!!(null===this.urlTree||this.isAnchorElement&&(0!==s||d||y||w||M||"string"==typeof this.target&&"_self"!=this.target))||(this.router.navigateByUrl(this.urlTree,{skipLocationChange:this.skipLocationChange,replaceUrl:this.replaceUrl,state:this.state}),!this.isAnchorElement)}ngOnDestroy(){this.subscription?.unsubscribe()}updateHref(){this.href=null!==this.urlTree&&this.locationStrategy?this.locationStrategy?.prepareExternalUrl(this.router.serializeUrl(this.urlTree)):null;const s=null===this.href?null:(0,g.P3R)(this.href,this.el.nativeElement.tagName.toLowerCase(),"href");this.applyAttributeValue("href",s)}applyAttributeValue(s,d){const y=this.renderer,w=this.el.nativeElement;null!==d?y.setAttribute(w,s,d):y.removeAttribute(w,s)}get urlTree(){return null===this.commands?null:this.router.createUrlTree(this.commands,{relativeTo:void 0!==this.relativeTo?this.relativeTo:this.route,queryParams:this.queryParams,fragment:this.fragment,queryParamsHandling:this.queryParamsHandling,preserveFragment:this.preserveFragment})}}return u.\u0275fac=function(s){return new(s||u)(g.Y36(bn),g.Y36(Vn),g.$8M("tabindex"),g.Y36(g.Qsj),g.Y36(g.SBq),g.Y36(Bt.S$))},u.\u0275dir=g.lG2({type:u,selectors:[["","routerLink",""]],hostVars:1,hostBindings:function(s,d){1&s&&g.NdJ("click",function(w){return d.onClick(w.button,w.ctrlKey,w.shiftKey,w.altKey,w.metaKey)}),2&s&&g.uIk("target",d.target)},inputs:{target:"target",queryParams:"queryParams",fragment:"fragment",queryParamsHandling:"queryParamsHandling",state:"state",relativeTo:"relativeTo",preserveFragment:"preserveFragment",skipLocationChange:"skipLocationChange",replaceUrl:"replaceUrl",routerLink:"routerLink"},standalone:!0,features:[g.TTD]}),u})();class gt{}let ju=(()=>{class u{constructor(s,d,y,w,M){this.router=s,this.injector=y,this.preloadingStrategy=w,this.loader=M}setUpPreloading(){this.subscription=this.router.events.pipe((0,Ct.h)(s=>s instanceof Ft),(0,Bn.b)(()=>this.preload())).subscribe(()=>{})}preload(){return this.processRoutes(this.injector,this.router.config)}ngOnDestroy(){this.subscription&&this.subscription.unsubscribe()}processRoutes(s,d){const y=[];for(const w of d){w.providers&&!w._injector&&(w._injector=(0,g.MMx)(w.providers,s,`Route: ${w.path}`));const M=w._injector??s,L=w._loadedInjector??M;w.loadChildren&&!w._loadedRoutes&&void 0===w.canLoad||w.loadComponent&&!w._loadedComponent?y.push(this.preloadConfig(M,w)):(w.children||w._loadedRoutes)&&y.push(this.processRoutes(L,w.children??w._loadedRoutes))}return(0,A.D)(y).pipe((0,le.J)())}preloadConfig(s,d){return this.preloadingStrategy.preload(d,()=>{let y;y=d.loadChildren&&void 0===d.canLoad?this.loader.loadChildren(s,d):(0,H.of)(null);const w=y.pipe((0,Et.zg)(M=>null===M?(0,H.of)(void 0):(d._loadedRoutes=M.routes,d._loadedInjector=M.injector,this.processRoutes(M.injector??s,M.routes))));if(d.loadComponent&&!d._loadedComponent){const M=this.loader.loadComponent(d);return(0,A.D)([w,M]).pipe((0,le.J)())}return w})}}return u.\u0275fac=function(s){return new(s||u)(g.LFG(bn),g.LFG(g.Sil),g.LFG(g.lqb),g.LFG(gt),g.LFG($i))},u.\u0275prov=g.Yz7({token:u,factory:u.\u0275fac,providedIn:"root"}),u})();const la=new g.OlP("");let da=(()=>{class u{constructor(s,d,y,w,M={}){this.urlSerializer=s,this.transitions=d,this.viewportScroller=y,this.zone=w,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.transitions.events.subscribe(s=>{s instanceof Nt?(this.store[this.lastId]=this.viewportScroller.getScrollPosition(),this.lastSource=s.navigationTrigger,this.restoredId=s.restoredState?s.restoredState.navigationId:0):s instanceof Ft&&(this.lastId=s.id,this.scheduleScrollEvent(s,this.urlSerializer.parse(s.urlAfterRedirects).fragment))})}consumeScrollEvents(){return this.transitions.events.subscribe(s=>{s instanceof ns&&(s.position?"top"===this.options.scrollPositionRestoration?this.viewportScroller.scrollToPosition([0,0]):"enabled"===this.options.scrollPositionRestoration&&this.viewportScroller.scrollToPosition(s.position):s.anchor&&"enabled"===this.options.anchorScrolling?this.viewportScroller.scrollToAnchor(s.anchor):"disabled"!==this.options.scrollPositionRestoration&&this.viewportScroller.scrollToPosition([0,0]))})}scheduleScrollEvent(s,d){this.zone.runOutsideAngular(()=>{setTimeout(()=>{this.zone.run(()=>{this.transitions.events.next(new ns(s,"popstate"===this.lastSource?this.store[this.restoredId]:null,d))})},0)})}ngOnDestroy(){this.routerEventsSubscription?.unsubscribe(),this.scrollEventsSubscription?.unsubscribe()}}return u.\u0275fac=function(s){g.$Z()},u.\u0275prov=g.Yz7({token:u,factory:u.\u0275fac}),u})();function gi(u,c){return{\u0275kind:u,\u0275providers:c}}function Gi(){const u=(0,g.f3M)(g.zs3);return c=>{const s=u.get(g.z2F);if(c!==s.components[0])return;const d=u.get(bn),y=u.get(Mn);1===u.get(Wn)&&d.initialNavigation(),u.get(pa,null,g.XFs.Optional)?.setUpPreloading(),u.get(la,null,g.XFs.Optional)?.init(),d.resetRootComponentType(s.componentTypes[0]),y.closed||(y.next(),y.unsubscribe())}}const Mn=new g.OlP("",{factory:()=>new Ce.xQ}),Wn=new g.OlP("",{providedIn:"root",factory:()=>1});const pa=new g.OlP("");function tu(u){return gi(0,[{provide:pa,useExisting:ju},{provide:gt,useExisting:u}])}const Wi=new g.OlP("ROUTER_FORROOT_GUARD"),Bo=[Bt.Ye,{provide:Ot,useClass:Ke},bn,Lt,{provide:Vn,useFactory:function ko(u){return u.routerState.root},deps:[bn]},$i,[]];function Uu(){return new g.PXZ("Router",bn)}let ga=(()=>{class u{constructor(s){}static forRoot(s,d){return{ngModule:u,providers:[Bo,[],{provide:Oo,multi:!0,useValue:s},{provide:Wi,useFactory:ou,deps:[[bn,new g.FiY,new g.tp0]]},{provide:fi,useValue:d||{}},d?.useHash?{provide:Bt.S$,useClass:Bt.Do}:{provide:Bt.S$,useClass:Bt.b0},{provide:la,useFactory:()=>{const u=(0,g.f3M)(Bt.EM),c=(0,g.f3M)(g.R0b),s=(0,g.f3M)(fi),d=(0,g.f3M)(li),y=(0,g.f3M)(Ot);return s.scrollOffset&&u.setOffset(s.scrollOffset),new da(y,d,u,c,s)}},d?.preloadingStrategy?tu(d.preloadingStrategy).\u0275providers:[],{provide:g.PXZ,multi:!0,useFactory:Uu},d?.initialNavigation?ya(d):[],[{provide:Ss,useFactory:Gi},{provide:g.tb,multi:!0,useExisting:Ss}]]}}static forChild(s){return{ngModule:u,providers:[{provide:Oo,multi:!0,useValue:s}]}}}return u.\u0275fac=function(s){return new(s||u)(g.LFG(Wi,8))},u.\u0275mod=g.oAB({type:u}),u.\u0275inj=g.cJS({imports:[Ao]}),u})();function ou(u){return"guarded"}function ya(u){return["disabled"===u.initialNavigation?gi(3,[{provide:g.ip1,multi:!0,useFactory:()=>{const c=(0,g.f3M)(bn);return()=>{c.setUpLocationChangeListener()}}},{provide:Wn,useValue:2}]).\u0275providers:[],"enabledBlocking"===u.initialNavigation?gi(2,[{provide:Wn,useValue:0},{provide:g.ip1,multi:!0,deps:[g.zs3],useFactory:c=>{const s=c.get(Bt.V_,Promise.resolve());return()=>s.then(()=>new Promise(y=>{const w=c.get(bn),M=c.get(Mn);(function d(y){c.get(bn).events.pipe((0,Ct.h)(M=>M instanceof Ft||M instanceof yr||M instanceof or),(0,Me.U)(M=>M instanceof Ft||M instanceof yr&&(0===M.code||1===M.code)&&null),(0,Ct.h)(M=>null!==M),We(1)).subscribe(()=>{y()})})(()=>{y(!0)}),w.afterPreactivation=()=>(y(!0),M.closed?(0,H.of)(void 0):M),w.initialNavigation()}))}}]).\u0275providers:[]]}const Ss=new g.OlP("")}},Le=>{Le(Le.s=759)}]); \ No newline at end of file diff --git a/docs/runtime.250062a3a47db9c6.js b/docs/runtime.250062a3a47db9c6.js new file mode 100644 index 0000000..af631d5 --- /dev/null +++ b/docs/runtime.250062a3a47db9c6.js @@ -0,0 +1 @@ +(()=>{"use strict";var e,v={},m={};function r(e){var n=m[e];if(void 0!==n)return n.exports;var t=m[e]={exports:{}};return v[e](t,t.exports,r),t.exports}r.m=v,e=[],r.O=(n,t,o,u)=>{if(!t){var a=1/0;for(i=0;i=u)&&Object.keys(r.O).every(p=>r.O[p](t[f]))?t.splice(f--,1):(s=!1,u0&&e[i-1][2]>u;i--)e[i]=e[i-1];e[i]=[t,o,u]},r.n=e=>{var n=e&&e.__esModule?()=>e.default:()=>e;return r.d(n,{a:n}),n},r.d=(e,n)=>{for(var t in n)r.o(n,t)&&!r.o(e,t)&&Object.defineProperty(e,t,{enumerable:!0,get:n[t]})},r.f={},r.e=e=>Promise.all(Object.keys(r.f).reduce((n,t)=>(r.f[t](e,n),n),[])),r.u=e=>e+"."+{651:"1f5e367df1d8a8ee",881:"26aeeb756d59fcb1",906:"dbb270d0899051f7",934:"37af3959f8937974"}[e]+".js",r.miniCssF=e=>{},r.o=(e,n)=>Object.prototype.hasOwnProperty.call(e,n),(()=>{var e={},n="nb-trans-demo:";r.l=(t,o,u,i)=>{if(e[t])e[t].push(o);else{var a,s;if(void 0!==u)for(var f=document.getElementsByTagName("script"),l=0;l{a.onerror=a.onload=null,clearTimeout(b);var g=e[t];if(delete e[t],a.parentNode&&a.parentNode.removeChild(a),g&&g.forEach(h=>h(p)),_)return _(p)},b=setTimeout(c.bind(null,void 0,{type:"timeout",target:a}),12e4);a.onerror=c.bind(null,a.onerror),a.onload=c.bind(null,a.onload),s&&document.head.appendChild(a)}}})(),r.r=e=>{typeof Symbol<"u"&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},(()=>{var e;r.tt=()=>(void 0===e&&(e={createScriptURL:n=>n},typeof trustedTypes<"u"&&trustedTypes.createPolicy&&(e=trustedTypes.createPolicy("angular#bundler",e))),e)})(),r.tu=e=>r.tt().createScriptURL(e),r.p="",(()=>{var e={666:0};r.f.j=(o,u)=>{var i=r.o(e,o)?e[o]:void 0;if(0!==i)if(i)u.push(i[2]);else if(666!=o){var a=new Promise((d,c)=>i=e[o]=[d,c]);u.push(i[2]=a);var s=r.p+r.u(o),f=new Error;r.l(s,d=>{if(r.o(e,o)&&(0!==(i=e[o])&&(e[o]=void 0),i)){var c=d&&("load"===d.type?"missing":d.type),b=d&&d.target&&d.target.src;f.message="Loading chunk "+o+" failed.\n("+c+": "+b+")",f.name="ChunkLoadError",f.type=c,f.request=b,i[1](f)}},"chunk-"+o,o)}else e[o]=0},r.O.j=o=>0===e[o];var n=(o,u)=>{var f,l,[i,a,s]=u,d=0;if(i.some(b=>0!==e[b])){for(f in a)r.o(a,f)&&(r.m[f]=a[f]);if(s)var c=s(r)}for(o&&o(u);d{"use strict";var e,v={},m={};function r(e){var n=m[e];if(void 0!==n)return n.exports;var t=m[e]={exports:{}};return v[e](t,t.exports,r),t.exports}r.m=v,e=[],r.O=(n,t,o,u)=>{if(!t){var a=1/0;for(i=0;i=u)&&Object.keys(r.O).every(b=>r.O[b](t[f]))?t.splice(f--,1):(s=!1,u0&&e[i-1][2]>u;i--)e[i]=e[i-1];e[i]=[t,o,u]},r.n=e=>{var n=e&&e.__esModule?()=>e.default:()=>e;return r.d(n,{a:n}),n},r.d=(e,n)=>{for(var t in n)r.o(n,t)&&!r.o(e,t)&&Object.defineProperty(e,t,{enumerable:!0,get:n[t]})},r.f={},r.e=e=>Promise.all(Object.keys(r.f).reduce((n,t)=>(r.f[t](e,n),n),[])),r.u=e=>e+"."+{651:"1f5e367df1d8a8ee",934:"37af3959f8937974"}[e]+".js",r.miniCssF=e=>{},r.o=(e,n)=>Object.prototype.hasOwnProperty.call(e,n),(()=>{var e={},n="nb-trans-demo:";r.l=(t,o,u,i)=>{if(e[t])e[t].push(o);else{var a,s;if(void 0!==u)for(var f=document.getElementsByTagName("script"),l=0;l{a.onerror=a.onload=null,clearTimeout(p);var g=e[t];if(delete e[t],a.parentNode&&a.parentNode.removeChild(a),g&&g.forEach(h=>h(b)),_)return _(b)},p=setTimeout(c.bind(null,void 0,{type:"timeout",target:a}),12e4);a.onerror=c.bind(null,a.onerror),a.onload=c.bind(null,a.onload),s&&document.head.appendChild(a)}}})(),r.r=e=>{typeof Symbol<"u"&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},(()=>{var e;r.tt=()=>(void 0===e&&(e={createScriptURL:n=>n},typeof trustedTypes<"u"&&trustedTypes.createPolicy&&(e=trustedTypes.createPolicy("angular#bundler",e))),e)})(),r.tu=e=>r.tt().createScriptURL(e),r.p="",(()=>{var e={666:0};r.f.j=(o,u)=>{var i=r.o(e,o)?e[o]:void 0;if(0!==i)if(i)u.push(i[2]);else if(666!=o){var a=new Promise((d,c)=>i=e[o]=[d,c]);u.push(i[2]=a);var s=r.p+r.u(o),f=new Error;r.l(s,d=>{if(r.o(e,o)&&(0!==(i=e[o])&&(e[o]=void 0),i)){var c=d&&("load"===d.type?"missing":d.type),p=d&&d.target&&d.target.src;f.message="Loading chunk "+o+" failed.\n("+c+": "+p+")",f.name="ChunkLoadError",f.type=c,f.request=p,i[1](f)}},"chunk-"+o,o)}else e[o]=0},r.O.j=o=>0===e[o];var n=(o,u)=>{var f,l,[i,a,s]=u,d=0;if(i.some(p=>0!==e[p])){for(f in a)r.o(a,f)&&(r.m[f]=a[f]);if(s)var c=s(r)}for(o&&o(u);d import('./localization/en/translations').then(data => data.trans), - [NbTransLang.ZH_CN]: () => import('./localization/zh-CN/translations').then(data => data.trans), - // direct load - // [NbTransLang.ZH_CN]: trans, - }, - }, + // { + // provide: NB_TRANS_LOADER, + // useValue: { + // // dyn load and the content is a ts file + // [NbTransLang.EN]: () => import('./localization/en/translations').then(data => data.trans), + // [NbTransLang.ZH_CN]: () => import('./localization/zh-CN/translations').then(data => data.trans), + // // direct load + // // [NbTransLang.ZH_CN]: trans, + // }, + // }, { provide: NB_TRANS_LOADER, useFactory: (http: HttpClient) => ({ From 2ef3843fc3c2574c20a64570701521921ed90efa Mon Sep 17 00:00:00 2001 From: bigBear713 <774326739@qq.com> Date: Sun, 12 Mar 2023 11:11:28 +0800 Subject: [PATCH 2/3] chore: update the dependencies version in package.json --- package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package.json b/package.json index ee51c89..7cb2adb 100644 --- a/package.json +++ b/package.json @@ -34,7 +34,7 @@ "@angular/platform-browser-dynamic": "^15.0.4", "@angular/platform-server": "^15.0.4", "@angular/router": "^15.0.4", - "@bigbear713/nb-common": "^15.0.0", + "@bigbear713/nb-common": "^15.1.0", "@nguniversal/express-engine": "^15.0.0", "express": "^4.15.2", "lodash-es": "^4.17.21", From 0fc5776d1410f19c7f5dca90bafa8c5f8a31a8ab Mon Sep 17 00:00:00 2001 From: bigBear713 <774326739@qq.com> Date: Sun, 12 Mar 2023 11:12:31 +0800 Subject: [PATCH 3/3] chore: update deploy files --- docs/404.html | 2 +- docs/881.26aeeb756d59fcb1.js | 1 - docs/906.dbb270d0899051f7.js | 1 - docs/index.html | 2 +- docs/main.bd1ea1cc91825da8.js | 1 - docs/main.de7ac6155bb0942f.js | 1 + docs/runtime.250062a3a47db9c6.js | 1 - docs/runtime.8eadfb7c426110f6.js | 1 + 8 files changed, 4 insertions(+), 6 deletions(-) delete mode 100644 docs/881.26aeeb756d59fcb1.js delete mode 100644 docs/906.dbb270d0899051f7.js delete mode 100644 docs/main.bd1ea1cc91825da8.js create mode 100644 docs/main.de7ac6155bb0942f.js delete mode 100644 docs/runtime.250062a3a47db9c6.js create mode 100644 docs/runtime.8eadfb7c426110f6.js diff --git a/docs/404.html b/docs/404.html index e0103ea..d0c2b98 100644 --- a/docs/404.html +++ b/docs/404.html @@ -8,6 +8,6 @@ - + \ No newline at end of file diff --git a/docs/881.26aeeb756d59fcb1.js b/docs/881.26aeeb756d59fcb1.js deleted file mode 100644 index bc73948..0000000 --- a/docs/881.26aeeb756d59fcb1.js +++ /dev/null @@ -1 +0,0 @@ -"use strict";(self.webpackChunknb_trans_demo=self.webpackChunknb_trans_demo||[]).push([[881],{881:(r,a,s)=>{s.r(a),s.d(a,{trans:()=>m});const m={title:"\u6807\u9898",content:{helloWorld:"\u4f60\u597d\uff0c\u4e16\u754c",contentWithParams:"\u8fd9\u662f\u4e00\u4e2a\u5e26\u6709\u53c2\u6570\u7684\u53e5\u5b50\u3002\u53c2\u6570: {{params1}} - {{params2}} - {{params3}} - {{params2}}",complexContent:"\u8fd9\u662f\u4e00\u4e2a\u53e5\u5b50 <0>\u7ec4\u4ef61. <0> {{params1}} - {{params2}} - {{params3}} - {{params2}}.\u4ee5\u4e0a\u8fd9\u4e9b\u662f\u53c2\u6570\u3002.<1><0>\u7ec4\u4ef62 abc.<1>\u6d4b\u8bd5 <0>\u8fd9\u4e9b\u662f\u53c2\u6570: {{params1}} - {{params2}} - {{params3}} - {{params2}}.<2>\u8fd9\u662f\u53c2\u65703222"}}}}]); \ No newline at end of file diff --git a/docs/906.dbb270d0899051f7.js b/docs/906.dbb270d0899051f7.js deleted file mode 100644 index 3d12648..0000000 --- a/docs/906.dbb270d0899051f7.js +++ /dev/null @@ -1 +0,0 @@ -"use strict";(self.webpackChunknb_trans_demo=self.webpackChunknb_trans_demo||[]).push([[906],{906:(t,a,s)=>{s.r(a),s.d(a,{trans:()=>n});const n={title:"title",content:{helloWorld:"hello world",contentWithParams:"This is a sentence. params: {{params1}} - {{params2}} - {{params3}} - {{params2}}",complexContent:"This is a sentence. <0>component1. <0>This is params: {{params1}} - {{params2}} - {{params3}} - {{params2}}.<1><0>component2 abc.<1>test <0>this is params: {{params1}} - {{params2}} - {{params3}} - {{params2}}.<2>this is component3222"}}}}]); \ No newline at end of file diff --git a/docs/index.html b/docs/index.html index e0103ea..d0c2b98 100644 --- a/docs/index.html +++ b/docs/index.html @@ -8,6 +8,6 @@ - + \ No newline at end of file diff --git a/docs/main.bd1ea1cc91825da8.js b/docs/main.bd1ea1cc91825da8.js deleted file mode 100644 index 8228618..0000000 --- a/docs/main.bd1ea1cc91825da8.js +++ /dev/null @@ -1 +0,0 @@ -"use strict";(self.webpackChunknb_trans_demo=self.webpackChunknb_trans_demo||[]).push([[179],{759:(Le,he,N)=>{var g=N(481),A=N(738),H=N(723),re=N(352);class de{constructor(b){this.transService=b}resolve(){return this.transService.subscribeLoadDefaultOver().toPromise()}}de.\u0275fac=function(b){return new(b||de)(A.LFG(H.v6))},de.\u0275prov=A.Yz7({token:de,factory:de.\u0275fac,providedIn:"root"});const Q=[{path:"",resolve:{defalutLangLoadOver:de},children:[{path:"",loadChildren:()=>N.e(934).then(N.bind(N,934)).then($=>$.Feature1Module)},{path:"standalone",loadChildren:()=>N.e(651).then(N.bind(N,651)).then($=>$.routes)}]}];class ae{}ae.\u0275fac=function(b){return new(b||ae)},ae.\u0275mod=A.oAB({type:ae}),ae.\u0275inj=A.cJS({imports:[re.Bz.forRoot(Q,{initialNavigation:"enabledBlocking"}),re.Bz]});var q=N(895);const z=function(){return{prefix:"content"}},k=function($){return{prefix:"content",params:$}},j=function(){return{returnKeyWhenEmpty:!1}};class G{constructor(b){this.transService=b,this.params={params1:"{{params2}}",params2:"1111",params3:"2222"}}get title(){return this.transService.translationSync("title")}get lang(){return this.transService.lang}ngOnInit(){this.title$=this.transService.translationAsync("title")}onChangeLang(b){this.transService.changeLang(b).subscribe(C=>{console.log(C),C.result||alert("\u5207\u6362\u8bed\u8a00\u5931\u8d25\uff0c\u6ca1\u6709\u5bfc\u5165\u8be5\u8bed\u8a00\u5305,\u5f53\u524d\u8bed\u8a00\u662f:"+C.curLang)})}}G.\u0275fac=function(b){return new(b||G)(A.Y36(H.v6))},G.\u0275cmp=A.Xpm({type:G,selectors:[["app-root"]],decls:64,vars:40,consts:[["href","https://github.com/bigBear713/nb-trans/blob/master/projects/nb-trans/README.md","target","_blank"],["href","https://github.com/bigBear713/nb-trans/blob/master/CHANGELOG.md","target","_blank"],[1,"actions"],[3,"click"],["routerLink","/"],["routerLink","/standalone"]],template:function(b,C){1&b&&(A.TgZ(0,"h2")(1,"a",0),A._uU(2," Document "),A.qZA(),A.TgZ(3,"a",1),A._uU(4," Changelog "),A.qZA()(),A._UZ(5,"hr"),A.TgZ(6,"div",2)(7,"button",3),A.NdJ("click",function(){return C.onChangeLang("zh-CN")}),A._uU(8,"\u5207\u6362\u4e3a\u4e2d\u6587"),A.qZA(),A.TgZ(9,"button",3),A.NdJ("click",function(){return C.onChangeLang("en")}),A._uU(10,"\u5207\u6362\u4e3a\u82f1\u6587"),A.qZA(),A.TgZ(11,"button",3),A.NdJ("click",function(){return C.onChangeLang("other")}),A._uU(12,"\u5207\u6362\u4e3a\u5176\u5b83\u4e0d\u5b58\u5728\u7684\u8bed\u8a00"),A.qZA(),A._UZ(13,"hr"),A.qZA(),A.TgZ(14,"div")(15,"h5"),A._uU(16,"\u4f7f\u7528 nbTrans \u7ba1\u9053\uff0c\u8bed\u8a00\u5207\u6362\u65f6\u81ea\u52a8\u83b7\u53d6\u6700\u65b0\u7684\u7ffb\u8bd1"),A.qZA(),A._uU(17),A.ALo(18,"nbTrans"),A.qZA(),A._UZ(19,"hr"),A.TgZ(20,"div")(21,"h5"),A._uU(22,"\u4f7f\u7528 nbTrans \u7ba1\u9053\uff0ckey\u503c\u4e3a\u591a\u5c42"),A.qZA(),A._uU(23),A.ALo(24,"nbTrans"),A.qZA(),A._UZ(25,"hr"),A.TgZ(26,"div")(27,"h5"),A._uU(28),A.ALo(29,"json"),A.qZA(),A.TgZ(30,"p"),A._uU(31),A.ALo(32,"nbTrans"),A.qZA(),A._uU(33),A.ALo(34,"nbTrans"),A.qZA(),A._UZ(35,"hr"),A.TgZ(36,"div")(37,"h5"),A._uU(38,"\u901a\u8fc7getter\uff0c\u8c03\u7528translationSync()\u65f6\u65f6\u83b7\u53d6\u6700\u65b0\u7684\u7ffb\u8bd1"),A.qZA(),A._uU(39),A.qZA(),A._UZ(40,"hr"),A.TgZ(41,"div")(42,"h5"),A._uU(43,"\u8c03\u7528translationAsync()\u5f97\u5230\u4e00\u4e2aObservable,\u7ed3\u5408 async \u7ba1\u9053\u4f7f\u7528\uff0c\u8bed\u8a00\u5207\u6362\u65f6\u81ea\u52a8\u83b7\u53d6\u6700\u65b0\u7684\u7ffb\u8bd1"),A.qZA(),A.TgZ(44,"div"),A._uU(45),A.qZA(),A._uU(46),A.ALo(47,"async"),A.qZA(),A._UZ(48,"hr"),A.TgZ(49,"div"),A._uU(50),A.ALo(51,"nbTrans"),A.qZA(),A._UZ(52,"hr"),A.TgZ(53,"div"),A._uU(54),A.ALo(55,"nbTrans"),A.qZA(),A._UZ(56,"hr"),A.TgZ(57,"h3"),A._uU(58,"children component"),A.qZA(),A.TgZ(59,"a",4),A._uU(60,"Module Component"),A.qZA(),A.TgZ(61,"a",5),A._uU(62,"Standalone Component"),A.qZA(),A._UZ(63,"router-outlet")),2&b&&(A.xp6(17),A.AsE(" ","{{'title'| nbTrans}}\uff1a"," ",A.lcZ(18,17,"title"),"\n"),A.xp6(6),A.AsE(" ","{{'content.helloWorld'| nbTrans}}:"," ",A.lcZ(24,19,"content.helloWorld"),"\n"),A.xp6(5),A.hij("\u4f7f\u7528 nbTrans \u7ba1\u9053\uff0c\u5e26\u6709options\u53c2\u6570\u3002\u8bbe\u7f6ekey\u503c\u524d\u7f00\u548c\u7ffb\u8bd1\u6587\u672c\u4e2d\u7684\u53c2\u6570,params\u53c2\u6570\u4e3a\uff1a",A.lcZ(29,21,C.params),""),A.xp6(3),A.hij(" \u7ffb\u8bd1\u6587\u672c\u539f\u6587\uff1a",A.xi3(32,23,"contentWithParams",A.DdM(36,z))," "),A.xp6(2),A.AsE(" ","{{'contentWithParams'| nbTrans:({prefix:'content',params: params})}}:"," ",A.xi3(34,26,"contentWithParams",A.VKq(37,k,C.params)),"\n"),A.xp6(6),A.AsE(" ","get title(){return this.transService.translationSync('title');}:"," ",C.title,"\n"),A.xp6(6),A.Oqu("this.title$ = this.transService.translationAsync('title');// ts"),A.xp6(1),A.AsE(" ","{{title$ | async}}:"," ",A.lcZ(47,29,C.title$),"\n"),A.xp6(4),A.AsE(" ","{{'test.test'| nbTrans}}","\uff0c\u5f53key\u5bf9\u5e94\u7684\u5185\u5bb9\u4e0d\u5b58\u5728, \u9ed8\u8ba4\u8fd4\u56dekey: ",A.lcZ(51,31,"test.test"),"\n"),A.xp6(4),A.AsE(" ","{{'test.test'| nbTrans:({returnKeyWhenEmpty:false})}}","\uff0c\u5f53key\u5bf9\u5e94\u7684\u5185\u5bb9\u4e0d\u5b58\u5728, \u4e5f\u53ef\u4ee5\u8bbe\u7f6e\u8fd4\u56de\u7a7a\u5b57\u7b26\u4e32: ",A.xi3(55,33,"test.test",A.DdM(39,j)),"\n"))},dependencies:[re.lC,re.rH,q.Ov,q.Ts,H.y6],styles:["h2[_ngcontent-%COMP%] a[_ngcontent-%COMP%]{margin:0 8px}.actions[_ngcontent-%COMP%]{position:sticky;top:0;background-color:#fff}a[_ngcontent-%COMP%]{margin:0 5px}"]});var J=N(86),X=N(498),Te=N(406),ue=N(198),Se=N(850);class tt{}class Ye{}class le{constructor(b){this.normalizedNames=new Map,this.lazyUpdate=null,b?this.lazyInit="string"==typeof b?()=>{this.headers=new Map,b.split("\n").forEach(C=>{const T=C.indexOf(":");if(T>0){const x=C.slice(0,T),B=x.toLowerCase(),oe=C.slice(T+1).trim();this.maybeSetNormalizedName(x,B),this.headers.has(B)?this.headers.get(B).push(oe):this.headers.set(B,[oe])}})}:()=>{this.headers=new Map,Object.keys(b).forEach(C=>{let T=b[C];const x=C.toLowerCase();"string"==typeof T&&(T=[T]),T.length>0&&(this.headers.set(x,T),this.maybeSetNormalizedName(C,x))})}:this.headers=new Map}has(b){return this.init(),this.headers.has(b.toLowerCase())}get(b){this.init();const C=this.headers.get(b.toLowerCase());return C&&C.length>0?C[0]:null}keys(){return this.init(),Array.from(this.normalizedNames.values())}getAll(b){return this.init(),this.headers.get(b.toLowerCase())||null}append(b,C){return this.clone({name:b,value:C,op:"a"})}set(b,C){return this.clone({name:b,value:C,op:"s"})}delete(b,C){return this.clone({name:b,value:C,op:"d"})}maybeSetNormalizedName(b,C){this.normalizedNames.has(C)||this.normalizedNames.set(C,b)}init(){this.lazyInit&&(this.lazyInit instanceof le?this.copyFrom(this.lazyInit):this.lazyInit(),this.lazyInit=null,this.lazyUpdate&&(this.lazyUpdate.forEach(b=>this.applyUpdate(b)),this.lazyUpdate=null))}copyFrom(b){b.init(),Array.from(b.headers.keys()).forEach(C=>{this.headers.set(C,b.headers.get(C)),this.normalizedNames.set(C,b.normalizedNames.get(C))})}clone(b){const C=new le;return C.lazyInit=this.lazyInit&&this.lazyInit instanceof le?this.lazyInit:this,C.lazyUpdate=(this.lazyUpdate||[]).concat([b]),C}applyUpdate(b){const C=b.name.toLowerCase();switch(b.op){case"a":case"s":let T=b.value;if("string"==typeof T&&(T=[T]),0===T.length)return;this.maybeSetNormalizedName(b.name,C);const x=("a"===b.op?this.headers.get(C):void 0)||[];x.push(...T),this.headers.set(C,x);break;case"d":const B=b.value;if(B){let oe=this.headers.get(C);if(!oe)return;oe=oe.filter(ee=>-1===B.indexOf(ee)),0===oe.length?(this.headers.delete(C),this.normalizedNames.delete(C)):this.headers.set(C,oe)}else this.headers.delete(C),this.normalizedNames.delete(C)}}forEach(b){this.init(),Array.from(this.normalizedNames.keys()).forEach(C=>b(this.normalizedNames.get(C),this.headers.get(C)))}}class hn{encodeKey(b){return _t(b)}encodeValue(b){return _t(b)}decodeKey(b){return decodeURIComponent(b)}decodeValue(b){return decodeURIComponent(b)}}const qn=/%(\d[a-f0-9])/gi,Ee={40:"@","3A":":",24:"$","2C":",","3B":";","3D":"=","3F":"?","2F":"/"};function _t($){return encodeURIComponent($).replace(qn,(b,C)=>Ee[C]??b)}function ge($){return`${$}`}class ye{constructor(b={}){if(this.updates=null,this.cloneFrom=null,this.encoder=b.encoder||new hn,b.fromString){if(b.fromObject)throw new Error("Cannot specify both fromString and fromObject.");this.map=function qt($,b){const C=new Map;return $.length>0&&$.replace(/^\?/,"").split("&").forEach(x=>{const B=x.indexOf("="),[oe,ee]=-1==B?[b.decodeKey(x),""]:[b.decodeKey(x.slice(0,B)),b.decodeValue(x.slice(B+1))],se=C.get(oe)||[];se.push(ee),C.set(oe,se)}),C}(b.fromString,this.encoder)}else b.fromObject?(this.map=new Map,Object.keys(b.fromObject).forEach(C=>{const T=b.fromObject[C],x=Array.isArray(T)?T.map(ge):[ge(T)];this.map.set(C,x)})):this.map=null}has(b){return this.init(),this.map.has(b)}get(b){this.init();const C=this.map.get(b);return C?C[0]:null}getAll(b){return this.init(),this.map.get(b)||null}keys(){return this.init(),Array.from(this.map.keys())}append(b,C){return this.clone({param:b,value:C,op:"a"})}appendAll(b){const C=[];return Object.keys(b).forEach(T=>{const x=b[T];Array.isArray(x)?x.forEach(B=>{C.push({param:T,value:B,op:"a"})}):C.push({param:T,value:x,op:"a"})}),this.clone(C)}set(b,C){return this.clone({param:b,value:C,op:"s"})}delete(b,C){return this.clone({param:b,value:C,op:"d"})}toString(){return this.init(),this.keys().map(b=>{const C=this.encoder.encodeKey(b);return this.map.get(b).map(T=>C+"="+this.encoder.encodeValue(T)).join("&")}).filter(b=>""!==b).join("&")}clone(b){const C=new ye({encoder:this.encoder});return C.cloneFrom=this.cloneFrom||this,C.updates=(this.updates||[]).concat(b),C}init(){null===this.map&&(this.map=new Map),null!==this.cloneFrom&&(this.cloneFrom.init(),this.cloneFrom.keys().forEach(b=>this.map.set(b,this.cloneFrom.map.get(b))),this.updates.forEach(b=>{switch(b.op){case"a":case"s":const C=("a"===b.op?this.map.get(b.param):void 0)||[];C.push(ge(b.value)),this.map.set(b.param,C);break;case"d":if(void 0===b.value){this.map.delete(b.param);break}{let T=this.map.get(b.param)||[];const x=T.indexOf(ge(b.value));-1!==x&&T.splice(x,1),T.length>0?this.map.set(b.param,T):this.map.delete(b.param)}}}),this.cloneFrom=this.updates=null)}}class nt{constructor(){this.map=new Map}set(b,C){return this.map.set(b,C),this}get(b){return this.map.has(b)||this.map.set(b,b.defaultValue()),this.map.get(b)}delete(b){return this.map.delete(b),this}has(b){return this.map.has(b)}keys(){return this.map.keys()}}function Bt($){return typeof ArrayBuffer<"u"&&$ instanceof ArrayBuffer}function Me($){return typeof Blob<"u"&&$ instanceof Blob}function Ue($){return typeof FormData<"u"&&$ instanceof FormData}class Qt{constructor(b,C,T,x){let B;if(this.url=C,this.body=null,this.reportProgress=!1,this.withCredentials=!1,this.responseType="json",this.method=b.toUpperCase(),function Ce($){switch($){case"DELETE":case"GET":case"HEAD":case"OPTIONS":case"JSONP":return!1;default:return!0}}(this.method)||x?(this.body=void 0!==T?T:null,B=x):B=T,B&&(this.reportProgress=!!B.reportProgress,this.withCredentials=!!B.withCredentials,B.responseType&&(this.responseType=B.responseType),B.headers&&(this.headers=B.headers),B.context&&(this.context=B.context),B.params&&(this.params=B.params)),this.headers||(this.headers=new le),this.context||(this.context=new nt),this.params){const oe=this.params.toString();if(0===oe.length)this.urlWithParams=C;else{const ee=C.indexOf("?");this.urlWithParams=C+(-1===ee?"?":eeun.set(Ot,b.setHeaders[Ot]),se)),b.setParams&&(Ze=Object.keys(b.setParams).reduce((un,Ot)=>un.set(Ot,b.setParams[Ot]),Ze)),new Qt(C,T,B,{params:Ze,headers:se,context:$t,reportProgress:ee,responseType:x,withCredentials:oe})}}var We=(()=>((We=We||{})[We.Sent=0]="Sent",We[We.UploadProgress=1]="UploadProgress",We[We.ResponseHeader=2]="ResponseHeader",We[We.DownloadProgress=3]="DownloadProgress",We[We.Response=4]="Response",We[We.User=5]="User",We))();class Pr{constructor(b,C=200,T="OK"){this.headers=b.headers||new le,this.status=void 0!==b.status?b.status:C,this.statusText=b.statusText||T,this.url=b.url||null,this.ok=this.status>=200&&this.status<300}}class Or extends Pr{constructor(b={}){super(b),this.type=We.ResponseHeader}clone(b={}){return new Or({headers:b.headers||this.headers,status:void 0!==b.status?b.status:this.status,statusText:b.statusText||this.statusText,url:b.url||this.url||void 0})}}class Rn extends Pr{constructor(b={}){super(b),this.type=We.Response,this.body=void 0!==b.body?b.body:null}clone(b={}){return new Rn({body:void 0!==b.body?b.body:this.body,headers:b.headers||this.headers,status:void 0!==b.status?b.status:this.status,statusText:b.statusText||this.statusText,url:b.url||this.url||void 0})}}class Ct extends Pr{constructor(b){super(b,0,"Unknown Error"),this.name="HttpErrorResponse",this.ok=!1,this.message=this.status>=200&&this.status<300?`Http failure during parsing for ${b.url||"(unknown url)"}`:`Http failure response for ${b.url||"(unknown url)"}: ${b.status} ${b.statusText}`,this.error=b.error||null}}function Et($,b){return{body:b,headers:$.headers,context:$.context,observe:$.observe,params:$.params,reportProgress:$.reportProgress,responseType:$.responseType,withCredentials:$.withCredentials}}let rt=(()=>{class ${constructor(C){this.handler=C}request(C,T,x={}){let B;if(C instanceof Qt)B=C;else{let se,Ze;se=x.headers instanceof le?x.headers:new le(x.headers),x.params&&(Ze=x.params instanceof ye?x.params:new ye({fromObject:x.params})),B=new Qt(C,T,void 0!==x.body?x.body:null,{headers:se,context:x.context,params:Ze,reportProgress:x.reportProgress,responseType:x.responseType||"json",withCredentials:x.withCredentials})}const oe=(0,J.of)(B).pipe((0,Te.b)(se=>this.handler.handle(se)));if(C instanceof Qt||"events"===x.observe)return oe;const ee=oe.pipe((0,ue.h)(se=>se instanceof Rn));switch(x.observe||"body"){case"body":switch(B.responseType){case"arraybuffer":return ee.pipe((0,Se.U)(se=>{if(null!==se.body&&!(se.body instanceof ArrayBuffer))throw new Error("Response is not an ArrayBuffer.");return se.body}));case"blob":return ee.pipe((0,Se.U)(se=>{if(null!==se.body&&!(se.body instanceof Blob))throw new Error("Response is not a Blob.");return se.body}));case"text":return ee.pipe((0,Se.U)(se=>{if(null!==se.body&&"string"!=typeof se.body)throw new Error("Response is not a string.");return se.body}));default:return ee.pipe((0,Se.U)(se=>se.body))}case"response":return ee;default:throw new Error(`Unreachable: unhandled observe type ${x.observe}}`)}}delete(C,T={}){return this.request("DELETE",C,T)}get(C,T={}){return this.request("GET",C,T)}head(C,T={}){return this.request("HEAD",C,T)}jsonp(C,T){return this.request("JSONP",C,{params:(new ye).append(T,"JSONP_CALLBACK"),observe:"body",responseType:"json"})}options(C,T={}){return this.request("OPTIONS",C,T)}patch(C,T,x={}){return this.request("PATCH",C,Et(x,T))}post(C,T,x={}){return this.request("POST",C,Et(x,T))}put(C,T,x={}){return this.request("PUT",C,Et(x,T))}}return $.\u0275fac=function(C){return new(C||$)(A.LFG(tt))},$.\u0275prov=A.Yz7({token:$,factory:$.\u0275fac}),$})();function Qn($,b){return b($)}function Ci($,b){return(C,T)=>b.intercept(C,{handle:x=>$(x,T)})}const Ve=new A.OlP("HTTP_INTERCEPTORS"),Jn=new A.OlP("HTTP_INTERCEPTOR_FNS");function mo(){let $=null;return(b,C)=>(null===$&&($=((0,A.f3M)(Ve,{optional:!0})??[]).reduceRight(Ci,Qn)),$(b,C))}let cr=(()=>{class $ extends tt{constructor(C,T){super(),this.backend=C,this.injector=T,this.chain=null}handle(C){if(null===this.chain){const T=Array.from(new Set(this.injector.get(Jn)));this.chain=T.reduceRight((x,B)=>function Gt($,b,C){return(T,x)=>C.runInContext(()=>b(T,B=>$(B,x)))}(x,B,this.injector),Qn)}return this.chain(C,T=>this.backend.handle(T))}}return $.\u0275fac=function(C){return new(C||$)(A.LFG(Ye),A.LFG(A.lqb))},$.\u0275prov=A.Yz7({token:$,factory:$.\u0275fac}),$})();const yt=/^\)\]\}',?\n/;let ie=(()=>{class ${constructor(C){this.xhrFactory=C}handle(C){if("JSONP"===C.method)throw new Error("Attempted to construct Jsonp request without HttpClientJsonpModule installed.");return new X.y(T=>{const x=this.xhrFactory.build();if(x.open(C.method,C.urlWithParams),C.withCredentials&&(x.withCredentials=!0),C.headers.forEach((Ke,ct)=>x.setRequestHeader(Ke,ct.join(","))),C.headers.has("Accept")||x.setRequestHeader("Accept","application/json, text/plain, */*"),!C.headers.has("Content-Type")){const Ke=C.detectContentTypeHeader();null!==Ke&&x.setRequestHeader("Content-Type",Ke)}if(C.responseType){const Ke=C.responseType.toLowerCase();x.responseType="json"!==Ke?Ke:"text"}const B=C.serializeBody();let oe=null;const ee=()=>{if(null!==oe)return oe;const Ke=x.statusText||"OK",ct=new le(x.getAllResponseHeaders()),In=function Ie($){return"responseURL"in $&&$.responseURL?$.responseURL:/^X-Request-URL:/m.test($.getAllResponseHeaders())?$.getResponseHeader("X-Request-URL"):null}(x)||C.url;return oe=new Or({headers:ct,status:x.status,statusText:Ke,url:In}),oe},se=()=>{let{headers:Ke,status:ct,statusText:In,url:Dn}=ee(),kt=null;204!==ct&&(kt=typeof x.response>"u"?x.responseText:x.response),0===ct&&(ct=kt?200:0);let On=ct>=200&&ct<300;if("json"===C.responseType&&"string"==typeof kt){const _o=kt;kt=kt.replace(yt,"");try{kt=""!==kt?JSON.parse(kt):null}catch(kr){kt=_o,On&&(On=!1,kt={error:kr,text:kt})}}On?(T.next(new Rn({body:kt,headers:Ke,status:ct,statusText:In,url:Dn||void 0})),T.complete()):T.error(new Ct({error:kt,headers:Ke,status:ct,statusText:In,url:Dn||void 0}))},Ze=Ke=>{const{url:ct}=ee(),In=new Ct({error:Ke,status:x.status||0,statusText:x.statusText||"Unknown Error",url:ct||void 0});T.error(In)};let $t=!1;const un=Ke=>{$t||(T.next(ee()),$t=!0);let ct={type:We.DownloadProgress,loaded:Ke.loaded};Ke.lengthComputable&&(ct.total=Ke.total),"text"===C.responseType&&!!x.responseText&&(ct.partialText=x.responseText),T.next(ct)},Ot=Ke=>{let ct={type:We.UploadProgress,loaded:Ke.loaded};Ke.lengthComputable&&(ct.total=Ke.total),T.next(ct)};return x.addEventListener("load",se),x.addEventListener("error",Ze),x.addEventListener("timeout",Ze),x.addEventListener("abort",Ze),C.reportProgress&&(x.addEventListener("progress",un),null!==B&&x.upload&&x.upload.addEventListener("progress",Ot)),x.send(B),T.next({type:We.Sent}),()=>{x.removeEventListener("error",Ze),x.removeEventListener("abort",Ze),x.removeEventListener("load",se),x.removeEventListener("timeout",Ze),C.reportProgress&&(x.removeEventListener("progress",un),null!==B&&x.upload&&x.upload.removeEventListener("progress",Ot)),x.readyState!==x.DONE&&x.abort()}})}}return $.\u0275fac=function(C){return new(C||$)(A.LFG(q.JF))},$.\u0275prov=A.Yz7({token:$,factory:$.\u0275fac}),$})();const tr=new A.OlP("XSRF_ENABLED"),xn="XSRF-TOKEN",Qe=new A.OlP("XSRF_COOKIE_NAME",{providedIn:"root",factory:()=>xn}),Pn="X-XSRF-TOKEN",Ht=new A.OlP("XSRF_HEADER_NAME",{providedIn:"root",factory:()=>Pn});class at{}let vt=(()=>{class ${constructor(C,T,x){this.doc=C,this.platform=T,this.cookieName=x,this.lastCookieString="",this.lastToken=null,this.parseCount=0}getToken(){if("server"===this.platform)return null;const C=this.doc.cookie||"";return C!==this.lastCookieString&&(this.parseCount++,this.lastToken=(0,q.Mx)(C,this.cookieName),this.lastCookieString=C),this.lastToken}}return $.\u0275fac=function(C){return new(C||$)(A.LFG(q.K0),A.LFG(A.Lbi),A.LFG(Qe))},$.\u0275prov=A.Yz7({token:$,factory:$.\u0275fac}),$})();function vo($,b){const C=$.url.toLowerCase();if(!(0,A.f3M)(tr)||"GET"===$.method||"HEAD"===$.method||C.startsWith("http://")||C.startsWith("https://"))return b($);const T=(0,A.f3M)(at).getToken(),x=(0,A.f3M)(Ht);return null!=T&&!$.headers.has(x)&&($=$.clone({headers:$.headers.set(x,T)})),b($)}var De=(()=>((De=De||{})[De.Interceptors=0]="Interceptors",De[De.LegacyInterceptors=1]="LegacyInterceptors",De[De.CustomXsrfConfiguration=2]="CustomXsrfConfiguration",De[De.NoXsrfProtection=3]="NoXsrfProtection",De[De.JsonpSupport=4]="JsonpSupport",De[De.RequestsMadeViaParent=5]="RequestsMadeViaParent",De))();function Tt($,b){return{\u0275kind:$,\u0275providers:b}}function lr(...$){const b=[rt,ie,cr,{provide:tt,useExisting:cr},{provide:Ye,useExisting:ie},{provide:Jn,useValue:vo,multi:!0},{provide:tr,useValue:!0},{provide:at,useClass:vt}];for(const C of $)b.push(...C.\u0275providers);return(0,A.MR2)(b)}const Lr=new A.OlP("LEGACY_INTERCEPTOR_FN");function Jt({cookieName:$,headerName:b}){const C=[];return void 0!==$&&C.push({provide:Qe,useValue:$}),void 0!==b&&C.push({provide:Ht,useValue:b}),Tt(De.CustomXsrfConfiguration,C)}let Mt=(()=>{class ${}return $.\u0275fac=function(C){return new(C||$)},$.\u0275mod=A.oAB({type:$}),$.\u0275inj=A.cJS({providers:[lr(Tt(De.LegacyInterceptors,[{provide:Lr,useFactory:mo},{provide:Jn,useExisting:Lr,multi:!0}]),Jt({cookieName:xn,headerName:Pn}))]}),$})();class rn{}function dr(){g.q6().bootstrapModule(rn).catch($=>console.error($))}rn.\u0275fac=function(b){return new(b||rn)},rn.\u0275mod=A.oAB({type:rn,bootstrap:[G]}),rn.\u0275inj=A.cJS({providers:[{provide:H.oo,useValue:H.oi.ZH_CN},{provide:H.x,useValue:{[H.oi.EN]:()=>N.e(906).then(N.bind(N,906)).then($=>$.trans),[H.oi.ZH_CN]:()=>N.e(881).then(N.bind(N,881)).then($=>$.trans)}},{provide:H.x,useFactory:$=>({[H.oi.EN]:()=>$.get("./assets/localization/en/translations.json"),[H.oi.ZH_CN]:()=>$.get("./assets/localization/zh-CN/translations.json")}),deps:[rt]}],imports:[g.b2.withServerTransition({appId:"serverApp"}),H.pT,Mt,ae]}),(0,A.G48)(),"complete"===document.readyState?dr():document.addEventListener("DOMContentLoaded",dr)},591:(Le,he,N)=>{N.d(he,{X:()=>H});var g=N(529),A=N(279);class H extends g.xQ{constructor(de){super(),this._value=de}get value(){return this.getValue()}_subscribe(de){const Q=super._subscribe(de);return Q&&!Q.closed&&de.next(this._value),Q}getValue(){if(this.hasError)throw this.thrownError;if(this.closed)throw new A.N;return this._value}next(de){super.next(this._value=de)}}},498:(Le,he,N)=>{N.d(he,{y:()=>z});var g=N(489),H=N(668),re=N(292),Q=N(821),ae=N(843),q=N(735);let z=(()=>{class j{constructor(J){this._isScalar=!1,J&&(this._subscribe=J)}lift(J){const X=new j;return X.source=this,X.operator=J,X}subscribe(J,X,Te){const{operator:ue}=this,Se=function de(j,G,J){if(j){if(j instanceof g.L)return j;if(j[H.b])return j[H.b]()}return j||G||J?new g.L(j,G,J):new g.L(re.c)}(J,X,Te);if(Se.add(ue?ue.call(Se,this.source):this.source||q.v.useDeprecatedSynchronousErrorHandling&&!Se.syncErrorThrowable?this._subscribe(Se):this._trySubscribe(Se)),q.v.useDeprecatedSynchronousErrorHandling&&Se.syncErrorThrowable&&(Se.syncErrorThrowable=!1,Se.syncErrorThrown))throw Se.syncErrorValue;return Se}_trySubscribe(J){try{return this._subscribe(J)}catch(X){q.v.useDeprecatedSynchronousErrorHandling&&(J.syncErrorThrown=!0,J.syncErrorValue=X),function A(j){for(;j;){const{closed:G,destination:J,isStopped:X}=j;if(G||X)return!1;j=J&&J instanceof g.L?J:null}return!0}(J)?J.error(X):console.warn(X)}}forEach(J,X){return new(X=k(X))((Te,ue)=>{let Se;Se=this.subscribe(tt=>{try{J(tt)}catch(Ye){ue(Ye),Se&&Se.unsubscribe()}},ue,Te)})}_subscribe(J){const{source:X}=this;return X&&X.subscribe(J)}[Q.L](){return this}pipe(...J){return 0===J.length?this:(0,ae.U)(J)(this)}toPromise(J){return new(J=k(J))((X,Te)=>{let ue;this.subscribe(Se=>ue=Se,Se=>Te(Se),()=>X(ue))})}}return j.create=G=>new j(G),j})();function k(j){if(j||(j=q.v.Promise||Promise),!j)throw new Error("no Promise impl found");return j}},292:(Le,he,N)=>{N.d(he,{c:()=>H});var g=N(735),A=N(782);const H={closed:!0,next(re){},error(re){if(g.v.useDeprecatedSynchronousErrorHandling)throw re;(0,A.z)(re)},complete(){}}},529:(Le,he,N)=>{N.d(he,{xQ:()=>q,Yc:()=>ae});var g=N(498),A=N(489),H=N(654),re=N(279);class de extends H.w{constructor(j,G){super(),this.subject=j,this.subscriber=G,this.closed=!1}unsubscribe(){if(this.closed)return;this.closed=!0;const j=this.subject,G=j.observers;if(this.subject=null,!G||0===G.length||j.isStopped||j.closed)return;const J=G.indexOf(this.subscriber);-1!==J&&G.splice(J,1)}}var Q=N(668);class ae extends A.L{constructor(j){super(j),this.destination=j}}let q=(()=>{class k extends g.y{constructor(){super(),this.observers=[],this.closed=!1,this.isStopped=!1,this.hasError=!1,this.thrownError=null}[Q.b](){return new ae(this)}lift(G){const J=new z(this,this);return J.operator=G,J}next(G){if(this.closed)throw new re.N;if(!this.isStopped){const{observers:J}=this,X=J.length,Te=J.slice();for(let ue=0;uenew z(j,G),k})();class z extends q{constructor(j,G){super(),this.destination=j,this.source=G}next(j){const{destination:G}=this;G&&G.next&&G.next(j)}error(j){const{destination:G}=this;G&&G.error&&this.destination.error(j)}complete(){const{destination:j}=this;j&&j.complete&&this.destination.complete()}_subscribe(j){const{source:G}=this;return G?this.source.subscribe(j):H.w.EMPTY}}},489:(Le,he,N)=>{N.d(he,{L:()=>ae});var g=N(43),A=N(292),H=N(654),re=N(668),de=N(735),Q=N(782);class ae extends H.w{constructor(k,j,G){switch(super(),this.syncErrorValue=null,this.syncErrorThrown=!1,this.syncErrorThrowable=!1,this.isStopped=!1,arguments.length){case 0:this.destination=A.c;break;case 1:if(!k){this.destination=A.c;break}if("object"==typeof k){k instanceof ae?(this.syncErrorThrowable=k.syncErrorThrowable,this.destination=k,k.add(this)):(this.syncErrorThrowable=!0,this.destination=new q(this,k));break}default:this.syncErrorThrowable=!0,this.destination=new q(this,k,j,G)}}[re.b](){return this}static create(k,j,G){const J=new ae(k,j,G);return J.syncErrorThrowable=!1,J}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 q extends ae{constructor(k,j,G,J){super(),this._parentSubscriber=k;let X,Te=this;(0,g.m)(j)?X=j:j&&(X=j.next,G=j.error,J=j.complete,j!==A.c&&(Te=Object.create(j),(0,g.m)(Te.unsubscribe)&&this.add(Te.unsubscribe.bind(Te)),Te.unsubscribe=this.unsubscribe.bind(this))),this._context=Te,this._next=X,this._error=G,this._complete=J}next(k){if(!this.isStopped&&this._next){const{_parentSubscriber:j}=this;de.v.useDeprecatedSynchronousErrorHandling&&j.syncErrorThrowable?this.__tryOrSetError(j,this._next,k)&&this.unsubscribe():this.__tryOrUnsub(this._next,k)}}error(k){if(!this.isStopped){const{_parentSubscriber:j}=this,{useDeprecatedSynchronousErrorHandling:G}=de.v;if(this._error)G&&j.syncErrorThrowable?(this.__tryOrSetError(j,this._error,k),this.unsubscribe()):(this.__tryOrUnsub(this._error,k),this.unsubscribe());else if(j.syncErrorThrowable)G?(j.syncErrorValue=k,j.syncErrorThrown=!0):(0,Q.z)(k),this.unsubscribe();else{if(this.unsubscribe(),G)throw k;(0,Q.z)(k)}}}complete(){if(!this.isStopped){const{_parentSubscriber:k}=this;if(this._complete){const j=()=>this._complete.call(this._context);de.v.useDeprecatedSynchronousErrorHandling&&k.syncErrorThrowable?(this.__tryOrSetError(k,j),this.unsubscribe()):(this.__tryOrUnsub(j),this.unsubscribe())}else this.unsubscribe()}}__tryOrUnsub(k,j){try{k.call(this._context,j)}catch(G){if(this.unsubscribe(),de.v.useDeprecatedSynchronousErrorHandling)throw G;(0,Q.z)(G)}}__tryOrSetError(k,j,G){if(!de.v.useDeprecatedSynchronousErrorHandling)throw new Error("bad call");try{j.call(this._context,G)}catch(J){return de.v.useDeprecatedSynchronousErrorHandling?(k.syncErrorValue=J,k.syncErrorThrown=!0,!0):((0,Q.z)(J),!0)}return!1}_unsubscribe(){const{_parentSubscriber:k}=this;this._context=null,this._parentSubscriber=null,k.unsubscribe()}}},654:(Le,he,N)=>{N.d(he,{w:()=>Q});var g=N(688),A=N(830),H=N(43);const de=(()=>{function q(z){return Error.call(this),this.message=z?`${z.length} errors occurred during unsubscription:\n${z.map((k,j)=>`${j+1}) ${k.toString()}`).join("\n ")}`:"",this.name="UnsubscriptionError",this.errors=z,this}return q.prototype=Object.create(Error.prototype),q})();class Q{constructor(z){this.closed=!1,this._parentOrParents=null,this._subscriptions=null,z&&(this._ctorUnsubscribe=!0,this._unsubscribe=z)}unsubscribe(){let z;if(this.closed)return;let{_parentOrParents:k,_ctorUnsubscribe:j,_unsubscribe:G,_subscriptions:J}=this;if(this.closed=!0,this._parentOrParents=null,this._subscriptions=null,k instanceof Q)k.remove(this);else if(null!==k)for(let X=0;Xz.concat(k instanceof de?k.errors:k),[])}Q.EMPTY=((q=new Q).closed=!0,q)},735:(Le,he,N)=>{N.d(he,{v:()=>A});let g=!1;const A={Promise:void 0,set useDeprecatedSynchronousErrorHandling(H){if(H){const re=new Error;console.warn("DEPRECATED! RxJS was set to use deprecated synchronous error handling behavior by code at: \n"+re.stack)}else g&&console.log("RxJS: Back to a better error behavior. Thank you. <3");g=H},get useDeprecatedSynchronousErrorHandling(){return g}}},177:(Le,he,N)=>{N.d(he,{Ds:()=>Q,IY:()=>re,ft:()=>q});var g=N(489),A=N(498),H=N(249);class re extends g.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 Q extends g.L{notifyNext(k){this.destination.next(k)}notifyError(k){this.destination.error(k)}notifyComplete(){this.destination.complete()}}function q(z,k){if(k.closed)return;if(z instanceof A.y)return z.subscribe(k);let j;try{j=(0,H.s)(z)(k)}catch(G){k.error(G)}return j}},762:(Le,he,N)=>{N.d(he,{N:()=>Q,c:()=>de});var g=N(529),A=N(498),H=N(654),re=N(327);class de extends A.y{constructor(j,G){super(),this.source=j,this.subjectFactory=G,this._refCount=0,this._isComplete=!1}_subscribe(j){return this.getSubject().subscribe(j)}getSubject(){const j=this._subject;return(!j||j.isStopped)&&(this._subject=this.subjectFactory()),this._subject}connect(){let j=this._connection;return j||(this._isComplete=!1,j=this._connection=new H.w,j.add(this.source.subscribe(new ae(this.getSubject(),this))),j.closed&&(this._connection=null,j=H.w.EMPTY)),j}refCount(){return(0,re.x)()(this)}}const Q=(()=>{const k=de.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 ae extends g.Yc{constructor(j,G){super(j),this.connectable=G}_error(j){this._unsubscribe(),super._error(j)}_complete(){this.connectable._isComplete=!0,this._unsubscribe(),super._complete()}_unsubscribe(){const j=this.connectable;if(j){this.connectable=null;const G=j._connection;j._refCount=0,j._subject=null,j._connection=null,G&&G.unsubscribe()}}}},254:(Le,he,N)=>{N.d(he,{D:()=>Te});var g=N(498),A=N(249),H=N(654),re=N(821),ae=N(454),q=N(430),j=N(955),G=N(515);function Te(ue,Se){return Se?function X(ue,Se){if(null!=ue){if(function k(ue){return ue&&"function"==typeof ue[re.L]}(ue))return function de(ue,Se){return new g.y(tt=>{const Ye=new H.w;return Ye.add(Se.schedule(()=>{const le=ue[re.L]();Ye.add(le.subscribe({next(Zt){Ye.add(Se.schedule(()=>tt.next(Zt)))},error(Zt){Ye.add(Se.schedule(()=>tt.error(Zt)))},complete(){Ye.add(Se.schedule(()=>tt.complete()))}}))})),Ye})}(ue,Se);if((0,j.t)(ue))return function Q(ue,Se){return new g.y(tt=>{const Ye=new H.w;return Ye.add(Se.schedule(()=>ue.then(le=>{Ye.add(Se.schedule(()=>{tt.next(le),Ye.add(Se.schedule(()=>tt.complete()))}))},le=>{Ye.add(Se.schedule(()=>tt.error(le)))}))),Ye})}(ue,Se);if((0,G.z)(ue))return(0,ae.r)(ue,Se);if(function J(ue){return ue&&"function"==typeof ue[q.hZ]}(ue)||"string"==typeof ue)return function z(ue,Se){if(!ue)throw new Error("Iterable cannot be null");return new g.y(tt=>{const Ye=new H.w;let le;return Ye.add(()=>{le&&"function"==typeof le.return&&le.return()}),Ye.add(Se.schedule(()=>{le=ue[q.hZ](),Ye.add(Se.schedule(function(){if(tt.closed)return;let Zt,hn;try{const qt=le.next();Zt=qt.value,hn=qt.done}catch(qt){return void tt.error(qt)}hn?tt.complete():(tt.next(Zt),this.schedule())}))})),Ye})}(ue,Se)}throw new TypeError((null!==ue&&typeof ue||ue)+" is not observable")}(ue,Se):ue instanceof g.y?ue:new g.y((0,A.s)(ue))}},9:(Le,he,N)=>{N.d(he,{n:()=>re});var g=N(498),A=N(650),H=N(454);function re(de,Q){return Q?(0,H.r)(de,Q):new g.y((0,A.V)(de))}},86:(Le,he,N)=>{N.d(he,{of:()=>re});var g=N(866),A=N(9),H=N(454);function re(...de){let Q=de[de.length-1];return(0,g.K)(Q)?(de.pop(),(0,H.r)(de,Q)):(0,A.n)(de)}},221:(Le,he,N)=>{N.d(he,{K:()=>A});var g=N(177);function A(de){return function(ae){const q=new H(de),z=ae.lift(q);return q.caught=z}}class H{constructor(Q){this.selector=Q}call(Q,ae){return ae.subscribe(new re(Q,this.selector,this.caught))}}class re extends g.Ds{constructor(Q,ae,q){super(Q),this.selector=ae,this.caught=q}error(Q){if(!this.isStopped){let ae;try{ae=this.selector(Q,this.caught)}catch(k){return void super.error(k)}this._unsubscribeAndRecycle();const q=new g.IY(this);this.add(q);const z=(0,g.ft)(ae,q);z!==q&&this.add(z)}}}},406:(Le,he,N)=>{N.d(he,{b:()=>A});var g=N(709);function A(H,re){return(0,g.zg)(H,re,1)}},198:(Le,he,N)=>{N.d(he,{h:()=>A});var g=N(489);function A(de,Q){return function(q){return q.lift(new H(de,Q))}}class H{constructor(Q,ae){this.predicate=Q,this.thisArg=ae}call(Q,ae){return ae.subscribe(new re(Q,this.predicate,this.thisArg))}}class re extends g.L{constructor(Q,ae,q){super(Q),this.predicate=ae,this.thisArg=q,this.count=0}_next(Q){let ae;try{ae=this.predicate.call(this.thisArg,Q,this.count++)}catch(q){return void this.destination.error(q)}ae&&this.destination.next(Q)}}},850:(Le,he,N)=>{N.d(he,{U:()=>A});var g=N(489);function A(de,Q){return function(q){if("function"!=typeof de)throw new TypeError("argument is not a function. Are you looking for `mapTo()`?");return q.lift(new H(de,Q))}}class H{constructor(Q,ae){this.project=Q,this.thisArg=ae}call(Q,ae){return ae.subscribe(new re(Q,this.project,this.thisArg))}}class re extends g.L{constructor(Q,ae,q){super(Q),this.project=ae,this.count=0,this.thisArg=q||this}_next(Q){let ae;try{ae=this.project.call(this.thisArg,Q,this.count++)}catch(q){return void this.destination.error(q)}this.destination.next(ae)}}},146:(Le,he,N)=>{N.d(he,{J:()=>H});var g=N(709),A=N(379);function H(re=Number.POSITIVE_INFINITY){return(0,g.zg)(A.y,re)}},709:(Le,he,N)=>{N.d(he,{zg:()=>re});var g=N(850),A=N(254),H=N(177);function re(q,z,k=Number.POSITIVE_INFINITY){return"function"==typeof z?j=>j.pipe(re((G,J)=>(0,A.D)(q(G,J)).pipe((0,g.U)((X,Te)=>z(G,X,J,Te))),k)):("number"==typeof z&&(k=z),j=>j.lift(new de(q,k)))}class de{constructor(z,k=Number.POSITIVE_INFINITY){this.project=z,this.concurrent=k}call(z,k){return k.subscribe(new Q(z,this.project,this.concurrent))}}class Q extends H.Ds{constructor(z,k,j=Number.POSITIVE_INFINITY){super(z),this.project=k,this.concurrent=j,this.hasCompleted=!1,this.buffer=[],this.active=0,this.index=0}_next(z){this.active0?this._next(z.shift()):0===this.active&&this.hasCompleted&&this.destination.complete()}}},327:(Le,he,N)=>{N.d(he,{x:()=>A});var g=N(489);function A(){return function(Q){return Q.lift(new H(Q))}}class H{constructor(Q){this.connectable=Q}call(Q,ae){const{connectable:q}=this;q._refCount++;const z=new re(Q,q),k=ae.subscribe(z);return z.closed||(z.connection=q.connect()),k}}class re extends g.L{constructor(Q,ae){super(Q),this.connectable=ae}_unsubscribe(){const{connectable:Q}=this;if(!Q)return void(this.connection=null);this.connectable=null;const ae=Q._refCount;if(ae<=0)return void(this.connection=null);if(Q._refCount=ae-1,ae>1)return void(this.connection=null);const{connection:q}=this,z=Q._connection;this.connection=null,z&&(!q||z===q)&&z.unsubscribe()}}},545:(Le,he,N)=>{N.d(he,{w:()=>re});var g=N(850),A=N(254),H=N(177);function re(ae,q){return"function"==typeof q?z=>z.pipe(re((k,j)=>(0,A.D)(ae(k,j)).pipe((0,g.U)((G,J)=>q(k,G,j,J))))):z=>z.lift(new de(ae))}class de{constructor(q){this.project=q}call(q,z){return z.subscribe(new Q(q,this.project))}}class Q extends H.Ds{constructor(q,z){super(q),this.project=z,this.index=0}_next(q){let z;const k=this.index++;try{z=this.project(q,k)}catch(j){return void this.destination.error(j)}this._innerSub(z)}_innerSub(q){const z=this.innerSubscription;z&&z.unsubscribe();const k=new H.IY(this),j=this.destination;j.add(k),this.innerSubscription=(0,H.ft)(q,k),this.innerSubscription!==k&&j.add(this.innerSubscription)}_complete(){const{innerSubscription:q}=this;(!q||q.closed)&&super._complete(),this.unsubscribe()}_unsubscribe(){this.innerSubscription=void 0}notifyComplete(){this.innerSubscription=void 0,this.isStopped&&super._complete()}notifyNext(q){this.destination.next(q)}}},868:(Le,he,N)=>{N.d(he,{b:()=>re});var g=N(489);function A(){}var H=N(43);function re(ae,q,z){return function(j){return j.lift(new de(ae,q,z))}}class de{constructor(q,z,k){this.nextOrObserver=q,this.error=z,this.complete=k}call(q,z){return z.subscribe(new Q(q,this.nextOrObserver,this.error,this.complete))}}class Q extends g.L{constructor(q,z,k,j){super(q),this._tapNext=A,this._tapError=A,this._tapComplete=A,this._tapError=k||A,this._tapComplete=j||A,(0,H.m)(z)?(this._context=this,this._tapNext=z):z&&(this._context=z,this._tapNext=z.next||A,this._tapError=z.error||A,this._tapComplete=z.complete||A)}_next(q){try{this._tapNext.call(this._context,q)}catch(z){return void this.destination.error(z)}this.destination.next(q)}_error(q){try{this._tapError.call(this._context,q)}catch(z){return void this.destination.error(z)}this.destination.error(q)}_complete(){try{this._tapComplete.call(this._context)}catch(q){return void this.destination.error(q)}return this.destination.complete()}}},454:(Le,he,N)=>{N.d(he,{r:()=>H});var g=N(498),A=N(654);function H(re,de){return new g.y(Q=>{const ae=new A.w;let q=0;return ae.add(de.schedule(function(){q!==re.length?(Q.next(re[q++]),Q.closed||ae.add(this.schedule())):Q.complete()})),ae})}},430:(Le,he,N)=>{N.d(he,{hZ:()=>A});const A=function g(){return"function"==typeof Symbol&&Symbol.iterator?Symbol.iterator:"@@iterator"}()},821:(Le,he,N)=>{N.d(he,{L:()=>g});const g="function"==typeof Symbol&&Symbol.observable||"@@observable"},668:(Le,he,N)=>{N.d(he,{b:()=>g});const g="function"==typeof Symbol?Symbol("rxSubscriber"):"@@rxSubscriber_"+Math.random()},279:(Le,he,N)=>{N.d(he,{N:()=>A});const A=(()=>{function H(){return Error.call(this),this.message="object unsubscribed",this.name="ObjectUnsubscribedError",this}return H.prototype=Object.create(Error.prototype),H})()},782:(Le,he,N)=>{function g(A){setTimeout(()=>{throw A},0)}N.d(he,{z:()=>g})},379:(Le,he,N)=>{function g(A){return A}N.d(he,{y:()=>g})},688:(Le,he,N)=>{N.d(he,{k:()=>g});const g=Array.isArray||(A=>A&&"number"==typeof A.length)},515:(Le,he,N)=>{N.d(he,{z:()=>g});const g=A=>A&&"number"==typeof A.length&&"function"!=typeof A},43:(Le,he,N)=>{function g(A){return"function"==typeof A}N.d(he,{m:()=>g})},830:(Le,he,N)=>{function g(A){return null!==A&&"object"==typeof A}N.d(he,{K:()=>g})},955:(Le,he,N)=>{function g(A){return!!A&&"function"!=typeof A.subscribe&&"function"==typeof A.then}N.d(he,{t:()=>g})},866:(Le,he,N)=>{function g(A){return A&&"function"==typeof A.schedule}N.d(he,{K:()=>g})},843:(Le,he,N)=>{N.d(he,{U:()=>H,z:()=>A});var g=N(379);function A(...re){return H(re)}function H(re){return 0===re.length?g.y:1===re.length?re[0]:function(Q){return re.reduce((ae,q)=>q(ae),Q)}}},249:(Le,he,N)=>{N.d(he,{s:()=>j});var g=N(650),A=N(782),re=N(430),Q=N(821),q=N(515),z=N(955),k=N(830);const j=G=>{if(G&&"function"==typeof G[Q.L])return(G=>J=>{const X=G[Q.L]();if("function"!=typeof X.subscribe)throw new TypeError("Provided object does not correctly implement Symbol.observable");return X.subscribe(J)})(G);if((0,q.z)(G))return(0,g.V)(G);if((0,z.t)(G))return(G=>J=>(G.then(X=>{J.closed||(J.next(X),J.complete())},X=>J.error(X)).then(null,A.z),J))(G);if(G&&"function"==typeof G[re.hZ])return(G=>J=>{const X=G[re.hZ]();for(;;){let Te;try{Te=X.next()}catch(ue){return J.error(ue),J}if(Te.done){J.complete();break}if(J.next(Te.value),J.closed)break}return"function"==typeof X.return&&J.add(()=>{X.return&&X.return()}),J})(G);{const X=`You provided ${(0,k.K)(G)?"an invalid object":`'${G}'`} where a stream was expected. You can provide an Observable, Promise, Array, or Iterable.`;throw new TypeError(X)}}},650:(Le,he,N)=>{N.d(he,{V:()=>g});const g=A=>H=>{for(let re=0,de=A.length;re{N.d(he,{oo:()=>Da,x:()=>Yi,gD:()=>ic,oi:()=>Vo,pT:()=>cc,y6:()=>_a,v6:()=>zo,DA:()=>sc});var g=N(738),A=N(591),H=N(529),re=N(86),de=N(498),Q=N(654);class ae extends Q.w{constructor(E,_){super()}schedule(E,_=0){return this}}let z=(()=>{class p{constructor(_,O=p.now){this.SchedulerAction=_,this.now=O}schedule(_,O=0,te){return new this.SchedulerAction(this,_).schedule(te,O)}}return p.now=()=>Date.now(),p})();class k extends z{constructor(E,_=z.now){super(E,()=>k.delegate&&k.delegate!==this?k.delegate.now():_()),this.actions=[],this.active=!1,this.scheduled=void 0}schedule(E,_=0,O){return k.delegate&&k.delegate!==this?k.delegate.schedule(E,_,O):super.schedule(E,_,O)}flush(E){const{actions:_}=this;if(this.active)return void _.push(E);let O;this.active=!0;do{if(O=E.execute(E.state,E.delay))break}while(E=_.shift());if(this.active=!1,O){for(;E=_.shift();)E.unsubscribe();throw O}}}const G=new k(class q extends ae{constructor(E,_){super(E,_),this.scheduler=E,this.work=_,this.pending=!1}schedule(E,_=0){if(this.closed)return this;this.state=E;const O=this.id,te=this.scheduler;return null!=O&&(this.id=this.recycleAsyncId(te,O,_)),this.pending=!0,this.delay=_,this.id=this.id||this.requestAsyncId(te,this.id,_),this}requestAsyncId(E,_,O=0){return setInterval(E.flush.bind(E,this),O)}recycleAsyncId(E,_,O=0){if(null!==O&&this.delay===O&&!1===this.pending)return _;clearInterval(_)}execute(E,_){if(this.closed)return new Error("executing a cancelled action");this.pending=!1;const O=this._execute(E,_);if(O)return O;!1===this.pending&&null!=this.id&&(this.id=this.recycleAsyncId(this.scheduler,this.id,null))}_execute(E,_){let te,O=!1;try{this.work(E)}catch(fe){O=!0,te=!!fe&&fe||new Error(fe)}if(O)return this.unsubscribe(),te}_unsubscribe(){const E=this.id,_=this.scheduler,O=_.actions,te=O.indexOf(this);this.work=null,this.state=null,this.pending=!1,this.scheduler=null,-1!==te&&O.splice(te,1),null!=E&&(this.id=this.recycleAsyncId(_,E,null)),this.delay=null}});var J=N(688);function X(p){return!(0,J.k)(p)&&p-parseFloat(p)+1>=0}var Te=N(866);function Se(p){const{index:E,period:_,subscriber:O}=p;if(O.next(E),!O.closed){if(-1===_)return O.complete();p.index=E+1,this.schedule(p,_)}}var tt=N(254),Ye=N(545),le=N(850),Zt=N(489);class qt{constructor(E){this.predicate=E}call(E,_){return _.subscribe(new qn(E,this.predicate))}}class qn extends Zt.L{constructor(E,_){super(E),this.predicate=_,this.skipping=!0,this.index=0}_next(E){const _=this.destination;this.skipping&&this.tryCallPredicate(E),this.skipping||_.next(E)}tryCallPredicate(E){try{const _=this.predicate(E,this.index++);this.skipping=Boolean(_)}catch(_){this.destination.error(_)}}}var Ee=N(868);class ge{constructor(E,_){this.count=E,this.source=_}call(E,_){return _.subscribe(new ye(E,this.count,this.source))}}class ye extends Zt.L{constructor(E,_,O){super(E),this.count=_,this.source=O}error(E){if(!this.isStopped){const{source:_,count:O}=this;if(0===O)return super.error(E);O>-1&&(this.count=O-1),_.subscribe(this._unsubscribeAndRecycle())}}}var Ne=N(221),nt=N(177);function Ce(p){return E=>E.lift(new Bt(p))}class Bt{constructor(E){this.notifier=E}call(E,_){const O=new Me(E),te=(0,nt.ft)(this.notifier,new nt.IY(O));return te&&!O.seenValue?(O.add(te),_.subscribe(O)):O}}class Me extends nt.Ds{constructor(E){super(E),this.seenValue=!1}notifyNext(){this.seenValue=!0,this.complete()}notifyComplete(){}}var Ue=N(895);const Qt=Array.isArray,Pr="object"==typeof global&&global&&global.Object===Object&&global;var Or="object"==typeof self&&self&&self.Object===Object&&self;const Ct=Pr||Or||Function("return this")(),rt=Ct.Symbol;var Qn=Object.prototype,Ci=Qn.hasOwnProperty,Gt=Qn.toString,Ve=rt?rt.toStringTag:void 0;var st=Object.prototype.toString;var Nr=rt?rt.toStringTag:void 0;const nn=function yo(p){return null==p?void 0===p?"[object Undefined]":"[object Null]":Nr&&Nr in Object(p)?function Jn(p){var E=Ci.call(p,Ve),_=p[Ve];try{p[Ve]=void 0;var O=!0}catch{}var te=Gt.call(p);return O&&(E?p[Ve]=_:delete p[Ve]),te}(p):function Bn(p){return st.call(p)}(p)},Pt=function Fr(p){return null!=p&&"object"==typeof p},Ie=function yt(p){return"symbol"==typeof p||Pt(p)&&"[object Symbol]"==nn(p)};var ie=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,tr=/^\w*$/;const Ht=function Pn(p){var E=typeof p;return null!=p&&("object"==E||"function"==E)},Tt=function De(p){if(!Ht(p))return!1;var E=nn(p);return"[object Function]"==E||"[object GeneratorFunction]"==E||"[object AsyncFunction]"==E||"[object Proxy]"==E};var p,lr=Ct["__core-js_shared__"],Lr=(p=/[^.]+$/.exec(lr&&lr.keys&&lr.keys.IE_PROTO||""))?"Symbol(src)_1."+p:"";var wn=Function.prototype.toString;const ot=function Do(p){if(null!=p){try{return wn.call(p)}catch{}try{return p+""}catch{}}return""};var Sn=/^\[object .+?Constructor\]$/,$=RegExp("^"+Function.prototype.toString.call(Object.prototype.hasOwnProperty).replace(/[\\^$.*+?()[\]{}|]/g,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$");const C=function b(p){return!(!Ht(p)||function Zr(p){return!!Lr&&Lr in p}(p))&&(Tt(p)?$:Sn).test(ot(p))},oe=function B(p,E){var _=function T(p,E){return p?.[E]}(p,E);return C(_)?_:void 0},se=oe(Object,"create");var In=Object.prototype.hasOwnProperty;var _o=Object.prototype.hasOwnProperty;function ze(p){var E=-1,_=null==p?0:p.length;for(this.clear();++E<_;){var O=p[E];this.set(O[0],O[1])}}ze.prototype.clear=function Ze(){this.__data__=se?se(null):{},this.size=0},ze.prototype.delete=function un(p){var E=this.has(p)&&delete this.__data__[p];return this.size-=E?1:0,E},ze.prototype.get=function Dn(p){var E=this.__data__;if(se){var _=E[p];return"__lodash_hash_undefined__"===_?void 0:_}return In.call(E,p)?E[p]:void 0},ze.prototype.has=function kr(p){var E=this.__data__;return se?void 0!==E[p]:_o.call(E,p)},ze.prototype.set=function Jo(p,E){var _=this.__data__;return this.size+=this.has(p)?0:1,_[p]=se&&void 0===E?"__lodash_hash_undefined__":E,this};const Wt=ze,Nn=function gn(p,E){return p===E||p!=p&&E!=E},Re=function me(p,E){for(var _=p.length;_--;)if(Nn(p[_][0],E))return _;return-1};var Yt=Array.prototype.splice;function Dt(p){var E=-1,_=null==p?0:p.length;for(this.clear();++E<_;){var O=p[E];this.set(O[0],O[1])}}Dt.prototype.clear=function jt(){this.__data__=[],this.size=0},Dt.prototype.delete=function rr(p){var E=this.__data__,_=Re(E,p);return!(_<0||(_==E.length-1?E.pop():Yt.call(E,_,1),--this.size,0))},Dt.prototype.get=function hr(p){var E=this.__data__,_=Re(E,p);return _<0?void 0:E[_][1]},Dt.prototype.has=function bo(p){return Re(this.__data__,p)>-1},Dt.prototype.set=function Fe(p,E){var _=this.__data__,O=Re(_,p);return O<0?(++this.size,_.push([p,E])):_[O][1]=E,this};const Fn=Dt,Rt=oe(Ct,"Map"),it=function ei(p,E){var _=p.__data__;return function Ln(p){var E=typeof p;return"string"==E||"number"==E||"symbol"==E||"boolean"==E?"__proto__"!==p:null===p}(E)?_["string"==typeof E?"string":"hash"]:_.map};function Nt(p){var E=-1,_=null==p?0:p.length;for(this.clear();++E<_;){var O=p[E];this.set(O[0],O[1])}}Nt.prototype.clear=function Ur(){this.size=0,this.__data__={hash:new Wt,map:new(Rt||Fn),string:new Wt}},Nt.prototype.delete=function bi(p){var E=it(this,p).delete(p);return this.size-=E?1:0,E},Nt.prototype.get=function Ei(p){return it(this,p).get(p)},Nt.prototype.has=function wo(p){return it(this,p).has(p)},Nt.prototype.set=function Xt(p,E){var _=it(this,p),O=_.size;return _.set(p,E),this.size+=_.size==O?0:1,this};const Ft=Nt;function or(p,E){if("function"!=typeof p||null!=E&&"function"!=typeof E)throw new TypeError("Expected a function");var _=function(){var O=arguments,te=E?E.apply(this,O):O[0],fe=_.cache;if(fe.has(te))return fe.get(te);var Pe=p.apply(this,O);return _.cache=fe.set(te,Pe)||fe,Pe};return _.cache=new(or.Cache||Ft),_}or.Cache=Ft;const So=or;var es=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,Bs=/\\(\\)?/g,Hs=function ti(p){var E=So(p,function(O){return 500===_.size&&_.clear(),O}),_=E.cache;return E}(function(p){var E=[];return 46===p.charCodeAt(0)&&E.push(""),p.replace(es,function(_,O,te,fe){E.push(te?fe.replace(Bs,"$1"):O||_)}),E});const ts=Hs;var ns=rt?rt.prototype:void 0,Gs=ns?ns.toString:void 0;const za=function Va(p){if("string"==typeof p)return p;if(Qt(p))return function $s(p,E){for(var _=-1,O=null==p?0:p.length,te=Array(O);++_mt))return!1;var ht=fe.get(p),ar=fe.get(E);if(ht&&ar)return ht==E&&ar==p;var Kn=-1,dn=!0,zr=2&_?new Mo:void 0;for(fe.set(p,E),fe.set(E,p);++Kn-1&&p%1==0&&p-1&&p%1==0&&p<=9007199254740991};var ft={};ft["[object Float32Array]"]=ft["[object Float64Array]"]=ft["[object Int8Array]"]=ft["[object Int16Array]"]=ft["[object Int32Array]"]=ft["[object Uint8Array]"]=ft["[object Uint8ClampedArray]"]=ft["[object Uint16Array]"]=ft["[object Uint32Array]"]=!0,ft["[object Arguments]"]=ft["[object Array]"]=ft["[object ArrayBuffer]"]=ft["[object Boolean]"]=ft["[object DataView]"]=ft["[object Date]"]=ft["[object Error]"]=ft["[object Function]"]=ft["[object Map]"]=ft["[object Number]"]=ft["[object Object]"]=ft["[object RegExp]"]=ft["[object Set]"]=ft["[object String]"]=ft["[object WeakMap]"]=!1;var vs="object"==typeof exports&&exports&&!exports.nodeType&&exports,so=vs&&"object"==typeof module&&module&&!module.nodeType&&module,li=so&&so.exports===vs&&Pr.process,di=function(){try{return so&&so.require&&so.require("util").types||li&&li.binding&&li.binding("util")}catch{}}(),ua=di&&di.isTypedArray;const _s=ua?function Oo(p){return function(E){return p(E)}}(ua):function ys(p){return Pt(p)&&Ir(p.length)&&!!ft[nn(p)]};var Ja=Object.prototype.hasOwnProperty;const Cs=function fi(p,E){var _=Qt(p),O=!_&&S(p),te=!_&&!O&&dt(p),fe=!_&&!O&&!te&&_s(p),Pe=_||O||te||fe,mt=Pe?function ds(p,E){for(var _=-1,O=Array(p);++_{class p{constructor(){}isBoolean(_){return function su(p){return!0===p||!1===p||Pt(p)&&"[object Boolean]"==nn(p)}(_)}isNumber(_){return function Bu(p){return"number"==typeof p||Pt(p)&&"[object Number]"==nn(p)}(_)}isObservable(_){return _ instanceof de.y}isPromise(_){return _ instanceof Promise}isString(_){return function Vd(p){return"string"==typeof p||!Qt(p)&&Pt(p)&&"[object String]"==nn(p)}(_)}isTemplateRef(_){return _ instanceof g.Rgc}}return p.\u0275fac=function(_){return new(_||p)},p.\u0275prov=g.Yz7({token:p,factory:p.\u0275fac,providedIn:"root"}),p})();new g.OlP("default error image"),new g.OlP("default loading image");let uu=(()=>{class p{constructor(_){this.valueTypeService=_}transform(_){return this.valueTypeService.isString(_)}}return p.\u0275fac=function(_){return new(_||p)(g.Y36($o,16))},p.\u0275pipe=g.Yjl({name:"nbIsString",type:p,pure:!0,standalone:!0}),p})(),As=(()=>{class p{constructor(_){this.valueTypeService=_}transform(_){return this.valueTypeService.isTemplateRef(_)?_:null}}return p.\u0275fac=function(_){return new(_||p)(g.Y36($o,16))},p.\u0275pipe=g.Yjl({name:"nbTplContent",type:p,pure:!0,standalone:!0}),p})();function rl(p,E){1&p&&g.GkF(0)}const mn=function(p){return{content:p}};function cu(p,E){if(1&p&&g.GkF(0,8),2&p){const _=g.oxw().$implicit;g.oxw(2);const O=g.MAs(4);g.Q6J("ngTemplateOutlet",O)("ngTemplateOutletContext",g.VKq(2,mn,_))}}function Zu(p,E){if(1&p&&g.GkF(0,8),2&p){const _=g.oxw().$implicit;g.oxw(2);const O=g.MAs(6);g.Q6J("ngTemplateOutlet",O)("ngTemplateOutletContext",g.VKq(2,mn,_))}}function lu(p,E){if(1&p&&g.GkF(0,8),2&p){const _=g.oxw().$implicit;g.oxw(2);const O=g.MAs(8);g.Q6J("ngTemplateOutlet",O)("ngTemplateOutletContext",g.VKq(2,mn,_))}}function En(p,E){if(1&p&&(g.ynx(0)(1,6),g.ALo(2,"nbSentenceItemType"),g.YNc(3,cu,1,4,"ng-container",7),g.YNc(4,Zu,1,4,"ng-container",7),g.YNc(5,lu,1,4,"ng-container",7),g.BQk()()),2&p){const _=E.$implicit,O=g.oxw(2);g.xp6(1),g.Q6J("ngSwitch",g.lcZ(2,4,_)),g.xp6(2),g.Q6J("ngSwitchCase",O.SentenceItemEnum.STR),g.xp6(1),g.Q6J("ngSwitchCase",O.SentenceItemEnum.COMP),g.xp6(1),g.Q6J("ngSwitchCase",O.SentenceItemEnum.MULTI_COMP)}}function Rs(p,E){1&p&&g.YNc(0,En,6,6,"ng-container",5),2&p&&g.Q6J("ngForOf",E.list)}function qu(p,E){if(1&p&&(g._uU(0),g.ALo(1,"nbTransContent")),2&p){const _=E.content,O=g.oxw();g.Oqu(g.xi3(1,1,_,O.params))}}function Qu(p,E){1&p&&g.GkF(0)}function ol(p,E){if(1&p&&(g.YNc(0,Qu,1,0,"ng-container",0),g.ALo(1,"nbTplContent"),g.ALo(2,"nbTransContent")),2&p){const _=E.content,O=g.oxw();g.Q6J("ngTemplateOutlet",g.lcZ(1,2,O.components[_.index]))("ngTemplateOutletContext",g.VKq(7,mn,g.xi3(2,4,_.content,O.params)))}}function Ju(p,E){1&p&&g.GkF(0)}const il=function(p,E){return{content:p,list:E}};function Xu(p,E){if(1&p&&(g.YNc(0,Ju,1,0,"ng-container",0),g.ALo(1,"nbTplContent")),2&p){const _=E.content,O=g.oxw(),te=g.MAs(2);g.Q6J("ngTemplateOutlet",g.lcZ(1,2,O.components[_.index]))("ngTemplateOutletContext",g.WLB(4,il,te,_.list))}}const ec=function(p){return{list:p}},tc=["nb-trans-subcontent",""];function sl(p,E){if(1&p&&(g.ynx(0),g._uU(1),g.BQk()),2&p){const _=g.oxw();g.xp6(1),g.Oqu(_.content)}}function al(p,E){if(1&p&&(g.GkF(0,3),g.ALo(1,"nbTplContent")),2&p){const _=g.oxw();g.Q6J("ngTemplateOutlet",g.lcZ(1,2,_.content))("ngTemplateOutletContext",g.VKq(4,ec,_.subcontentList))}}const Da=new g.OlP("nb-trans-default-lang");var Vo=(()=>(function(p){p.ZH_CN="zh-CN",p.ZH_TW="zh-TW",p.ZH_HK="zh-HK",p.EN="en",p.AR_EG="ar-EG",p.HY_AM="hy-AM",p.BG_BG="bg-BG",p.CA_ES="ca-ES",p.CS_CZ="cs-CZ",p.DA_DK="da-DK",p.DE_DE="de-DE",p.EL_GR="el-GR",p.EN_GB="en-GB",p.EN_US="en-US",p.ES_ES="es-ES",p.ET_EE="et-EE",p.FA_IR="fa-IR",p.FI_FI="fi-FI",p.FR_BE="fr-BE",p.FR_FR="fr-FR",p.HE_IL="he-IL",p.HI_IN="hi-IN",p.HR_HR="hr-HR",p.HU_HU="hu-HU",p.IS_IS="is-IS",p.ID_ID="id-ID",p.IT_IT="it-IT",p.JA_JP="ja-JP",p.KA_GE="ka-GE",p.KN_IN="kn-IN",p.KO_KR="ko-KR",p.KU_IQ="ku-IQ",p.LV_LV="lv-LV",p.MS_MY="ms-MY",p.MN_MN="mn-MN",p.NB_NO="nb-NO",p.NE_NP="ne-NP",p.NL_BE="nl-BE",p.NL_NL="nl-NL",p.PL_PL="pl-PL",p.PT_BR="pt-BR",p.PT_PT="pt-PT",p.SK_SK="sk-SK",p.SR_RS="sr-RS",p.SL_SI="sl-SI",p.SV_SE="sv-SE",p.TA_IN="ta-IN",p.TH_TH="th-TH",p.TR_TR="tr-TR",p.RO_RO="ro-RO",p.RU_RU="ru-RU",p.UK_UA="uk-UA",p.VI_VN="vi-VN"}(Vo||(Vo={})),Vo))();const Yi=new g.OlP("nb-trans-loader"),ul=new g.OlP("nb-trans-max-retry");var lo=(()=>(function(p){p[p.STR=0]="STR",p[p.COMP=1]="COMP",p[p.MULTI_COMP=2]="MULTI_COMP"}(lo||(lo={})),lo))();let Ki=(()=>{class p{constructor(_){this.valueType=_}static checkNavigator(){return p.checkWindow()&&typeof window.navigator<"u"}static checkWindow(){return typeof window<"u"}getFinalKey(_,O){return O?`${O}.${_}`:_}handleSentence(_,O,te){return _.replace(new RegExp(O,"g"),te)}handleSentenceWithParams(_,O){if(!O)return _;const te=Object.keys(O);if(!te.length)return _;const fe=this.getParamsKeyUuid(te),Pe=this.replaceParamsKeysAsUuidKey(_,{keys:te,keysUUID:fe});return this.replaceUuidKeyAsParamsValue(Pe,{params:O,keys:te,keysUUID:fe})}handleTrans(_){const O=[];for(;_.length;){const te=_.search(/<\d+>/);if(te>0){const Pe=_.slice(0,te);O.push(Pe)}const fe=this.handleCompStr(_);this.valueType.isString(fe)?(O.push(fe),_=""):(O.push({index:fe.index,content:fe.content,list:fe.list}),_=fe.otherContent)}return O}getParamsKeyUuid(_){return _.reduce((O,te)=>(O[te]=iu(),O),{})}handleCompStr(_){const O=_.search(/<\d+>/);if(-1===O)return _;let te=[];const fe=_.indexOf(">",O),Pe=Number(_.slice(O+1,fe)),mt=``,sn=_.indexOf(mt),ht=_.slice(fe+1,sn);return ht.search(/<\d+>/)>-1&&(te=this.handleTrans(ht)),{index:Pe,content:ht,list:te,otherContent:_.slice(sn+mt.length,_.length)}}replaceParamsKeysAsUuidKey(_,O){const{keys:te,keysUUID:fe}=O;return te.forEach(Pe=>{_=this.handleSentence(_,`{{${Pe}}}`,fe[Pe])}),_}replaceUuidKeyAsParamsValue(_,O){const{params:te,keys:fe,keysUUID:Pe}=O;return fe.forEach(mt=>{_=this.handleSentence(_,Pe[mt],te[mt])}),_}}return p.\u0275fac=function(_){return new(_||p)(g.LFG($o))},p.\u0275prov=g.Yz7({token:p,factory:p.\u0275fac,providedIn:"root"}),p})(),zo=(()=>{class p{constructor(_,O,te,fe){this.transDefaultLang=_,this.transLoader=O,this.maxRetry=te,this.transToolsService=fe,this.lang$=new A.X(Vo.ZH_CN),this.loadDefaultOver$=new A.X(!1),this.loadLangTrans$=new H.xQ,this.retry=5,this.translations={},this.retry=null==this.maxRetry?this.retry:this.maxRetry,this.transLoader=this.transLoader||{},this.lang$.next(_||Vo.ZH_CN),this.loadDefaultTrans()}get lang(){return this.lang$.value}get loadDefaultOver(){return this.loadDefaultOver$.value}static getBrowserLang(){if(Ki.checkNavigator())return window?.navigator?.language}static getBrowserLangs(){if(Ki.checkNavigator())return window?.navigator?.languages}changeLang(_){const O={curLang:_,result:!0},te={curLang:this.lang,result:!1};return this.translations[_]?(this.lang$.next(_),(0,re.of)(O)):this.transLoader[_]?this.loadLangTrans(_).pipe((0,Ye.w)(fe=>{let Pe=this.lang,mt=te;return fe&&(Pe=_,mt=O),this.lang$.next(Pe),(0,re.of)(mt)})):(function ue(p=0,E,_){let O=-1;return X(E)?O=Number(E)<1?1:Number(E):(0,Te.K)(E)&&(_=E),(0,Te.K)(_)||(_=G),new de.y(te=>{const fe=X(p)?p:+p-_.now();return _.schedule(Se,fe,{index:0,period:O,subscriber:te})})}().subscribe(fe=>this.loadLangTrans$.next(!1)),(0,re.of)(te))}changeLangSync(_){this.changeLang(_).subscribe()}getBrowserLang(){return console.warn("The function will be deprecated in the future, we recommend using NbTransService.getBrowserLang()!"),p.getBrowserLang()}getBrowserLangs(){return console.warn("The function will be deprecated in the future, we recommend using NbTransService.getBrowserLangs()!"),p.getBrowserLangs()}translationAsync(_,O){return this.lang$.pipe((0,Ye.w)(te=>this.translations[this.lang]?(0,re.of)({trans:this.translations[this.lang],result:!0}):this.loadLangTrans$),(0,le.U)(te=>this.translationSync(_,O)))}translationSync(_,O){const te=this.transToolsService.getFinalKey(_,O?.prefix),fe=!1===O?.returnKeyWhenEmpty?"":te;let Pe=Vn(this.translations[this.lang],te);if(Pe||(Pe=Vn(this.translations[this.transDefaultLang],te)),!Pe)return fe;const mt=O?.params;return Pe=this.transToolsService.handleSentenceWithParams(Pe,mt),Pe||fe}subscribeLangChange(){return this.lang$.asObservable()}subscribeLoadDefaultOver(){return this.loadDefaultOver?(0,re.of)(!0):this.loadDefaultOver$.asObservable().pipe(function hn(p){return E=>E.lift(new qt(p))}((_,O)=>!_&&0===O))}loadDefaultTrans(){this.loadTrans(this.lang).pipe((0,le.U)(_=>!!_)).subscribe(_=>{this.loadDefaultOver$.next(_),this.loadDefaultOver$.complete(),this.loadLangTrans$.next(_)})}loadLangTrans(_){return this.loadTrans(_).pipe((0,le.U)(O=>!!O),(0,Ee.b)(O=>this.loadLangTrans$.next(O)))}loadTrans(_){const O=this.transLoader[_];return O?(Tt(O)?(0,re.of)(null).pipe((0,Ye.w)(()=>(0,tt.D)(O()))):(0,re.of)(O)).pipe((0,Ee.b)(fe=>this.translations[_]=fe),function _t(p=-1){return E=>E.lift(new ge(p,E))}(this.retry),(0,Ne.K)(fe=>(0,re.of)(null))):(0,re.of)(null)}}return p.\u0275fac=function(_){return new(_||p)(g.LFG(Da,8),g.LFG(Yi,8),g.LFG(ul,8),g.LFG(Ki))},p.\u0275prov=g.Yz7({token:p,factory:p.\u0275fac,providedIn:"root"}),p})(),_a=(()=>{class p{constructor(_,O){this.changeDR=_,this.transService=O,this.latestValue="",this.destroy$=new H.xQ,this.key="",this.subscribeLangChange()}transform(_,O){return(!this.latestValue||_!==this.key||!M(O,this.options))&&(this.latestValue=this.transService.translationSync(_,O),this.key=_,this.options=O),this.latestValue}ngOnDestroy(){this.destroy$.next(),this.destroy$.complete()}subscribeLangChange(){this.transService.subscribeLangChange().pipe((0,Ye.w)(_=>this.transService.translationAsync(this.key,this.options)),Ce(this.destroy$)).subscribe(_=>this.updateLatestValue(_))}updateLatestValue(_){this.latestValue=_,this.changeDR.markForCheck()}}return p.\u0275fac=function(_){return new(_||p)(g.Y36(g.sBO,16),g.Y36(zo,16))},p.\u0275pipe=g.Yjl({name:"nbTrans",type:p,pure:!1,standalone:!0}),p})(),du=(()=>{class p{constructor(_){this.transToolsService=_}transform(_,O){return this.transToolsService.handleSentenceWithParams(_,O)}}return p.\u0275fac=function(_){return new(_||p)(g.Y36(Ki,16))},p.\u0275pipe=g.Yjl({name:"nbTransContent",type:p,pure:!0,standalone:!0}),p})(),rc=(()=>{class p{constructor(_){this.valueType=_}transform(_){let O;return this.valueType.isString(_)?O=lo.STR:this.valueType.isNumber(_?.index)&&(O=Array.isArray(_.list)&&_.list.length?lo.MULTI_COMP:lo.COMP),O}}return p.\u0275fac=function(_){return new(_||p)(g.Y36($o,16))},p.\u0275pipe=g.Yjl({name:"nbSentenceItemType",type:p,pure:!0,standalone:!0}),p})(),ic=(()=>{class p{constructor(_,O,te){this.changeDR=_,this.transToolsService=O,this.transService=te,this.components=[],this.key="",this.options={},this.sentenceList=[],this.SentenceItemEnum=lo,this.destroy$=new H.xQ,this.originTrans="",this.subscribeLangChange()}ngOnChanges(_){const{key:O,options:te}=_;(O||te)&&(this.originTrans=this.transService.translationSync(this.key,this.options),this.reRender())}ngOnDestroy(){this.destroy$.next(),this.destroy$.complete()}reRender(){this.params=this.options?.params,this.sentenceList=this.transToolsService.handleTrans(this.originTrans),this.changeDR.markForCheck()}subscribeLangChange(){this.transService.subscribeLangChange().pipe((0,Ye.w)(_=>this.transService.translationAsync(this.key,this.options)),Ce(this.destroy$)).subscribe(_=>{this.originTrans=_,this.reRender()})}}return p.\u0275fac=function(_){return new(_||p)(g.Y36(g.sBO),g.Y36(Ki),g.Y36(zo))},p.\u0275cmp=g.Xpm({type:p,selectors:[["nb-trans"]],inputs:{components:"components",key:"key",options:"options"},standalone:!0,features:[g.TTD,g.jDz],decls:9,vars:4,consts:[[4,"ngTemplateOutlet","ngTemplateOutletContext"],["sentenceListTpl",""],["strTpl",""],["compTpl",""],["multiCompTpl",""],[4,"ngFor","ngForOf"],[3,"ngSwitch"],[3,"ngTemplateOutlet","ngTemplateOutletContext",4,"ngSwitchCase"],[3,"ngTemplateOutlet","ngTemplateOutletContext"]],template:function(_,O){if(1&_&&(g.YNc(0,rl,1,0,"ng-container",0),g.YNc(1,Rs,1,1,"ng-template",null,1,g.W1O),g.YNc(3,qu,2,4,"ng-template",null,2,g.W1O),g.YNc(5,ol,3,9,"ng-template",null,3,g.W1O),g.YNc(7,Xu,2,7,"ng-template",null,4,g.W1O)),2&_){const te=g.MAs(2);g.Q6J("ngTemplateOutlet",te)("ngTemplateOutletContext",g.VKq(2,ec,O.sentenceList))}},dependencies:[Ue.tP,Ue.ax,Ue.RF,Ue.n9,As,rc,du],encapsulation:2,changeDetection:0}),p})(),sc=(()=>{class p{constructor(){this.content="",this.subcontentList=[]}}return p.\u0275fac=function(_){return new(_||p)},p.\u0275cmp=g.Xpm({type:p,selectors:[["","nb-trans-subcontent",""]],inputs:{content:["nb-trans-subcontent","content"],subcontentList:"subcontentList"},standalone:!0,features:[g.jDz],attrs:tc,decls:4,vars:4,consts:[[3,"ngSwitch"],[4,"ngSwitchCase"],[3,"ngTemplateOutlet","ngTemplateOutletContext",4,"ngSwitchDefault"],[3,"ngTemplateOutlet","ngTemplateOutletContext"]],template:function(_,O){1&_&&(g.ynx(0,0),g.ALo(1,"nbIsString"),g.YNc(2,sl,2,1,"ng-container",1),g.YNc(3,al,2,6,"ng-container",2),g.BQk()),2&_&&(g.Q6J("ngSwitch",g.lcZ(1,2,O.content)),g.xp6(2),g.Q6J("ngSwitchCase",!0))},dependencies:[Ue.RF,Ue.n9,Ue.ED,Ue.tP,uu,As],encapsulation:2,changeDetection:0}),p})();const ac=[ic,sc];let cc=(()=>{class p{}return p.\u0275fac=function(_){return new(_||p)},p.\u0275mod=g.oAB({type:p}),p.\u0275inj=g.cJS({imports:[ac]}),p})()},895:(Le,he,N)=>{N.d(he,{Do:()=>Ye,ED:()=>bt,EM:()=>Ws,HT:()=>re,JF:()=>Jr,K0:()=>Q,Mx:()=>Co,Ov:()=>_n,RF:()=>Yt,S$:()=>ue,Ts:()=>$n,V_:()=>z,Ye:()=>le,ax:()=>jt,b0:()=>tt,bD:()=>ts,ez:()=>Hs,n9:()=>rr,q:()=>H,tP:()=>Fe,w_:()=>de});var g=N(738);let A=null;function H(){return A}function re(f){A||(A=f)}class de{}const Q=new g.OlP("DocumentToken");let ae=(()=>{class f{historyGo(h){throw new Error("Not implemented")}}return f.\u0275fac=function(h){return new(h||f)},f.\u0275prov=g.Yz7({token:f,factory:function(){return function q(){return(0,g.LFG)(k)}()},providedIn:"platform"}),f})();const z=new g.OlP("Location Initialized");let k=(()=>{class f extends ae{constructor(h){super(),this._doc=h,this._init()}_init(){this.location=window.location,this._history=window.history}getBaseHrefFromDOM(){return H().getBaseHref(this._doc)}onPopState(h){const S=H().getGlobalEventTarget(this._doc,"window");return S.addEventListener("popstate",h,!1),()=>S.removeEventListener("popstate",h)}onHashChange(h){const S=H().getGlobalEventTarget(this._doc,"window");return S.addEventListener("hashchange",h,!1),()=>S.removeEventListener("hashchange",h)}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(h){this.location.pathname=h}pushState(h,S,P){j()?this._history.pushState(h,S,P):this.location.hash=P}replaceState(h,S,P){j()?this._history.replaceState(h,S,P):this.location.hash=P}forward(){this._history.forward()}back(){this._history.back()}historyGo(h=0){this._history.go(h)}getState(){return this._history.state}}return f.\u0275fac=function(h){return new(h||f)(g.LFG(Q))},f.\u0275prov=g.Yz7({token:f,factory:function(){return function G(){return new k((0,g.LFG)(Q))}()},providedIn:"platform"}),f})();function j(){return!!window.history.pushState}function J(f,D){if(0==f.length)return D;if(0==D.length)return f;let h=0;return f.endsWith("/")&&h++,D.startsWith("/")&&h++,2==h?f+D.substring(1):1==h?f+D:f+"/"+D}function X(f){const D=f.match(/#|\?|$/),h=D&&D.index||f.length;return f.slice(0,h-("/"===f[h-1]?1:0))+f.slice(h)}function Te(f){return f&&"?"!==f[0]?"?"+f:f}let ue=(()=>{class f{historyGo(h){throw new Error("Not implemented")}}return f.\u0275fac=function(h){return new(h||f)},f.\u0275prov=g.Yz7({token:f,factory:function(){return(0,g.f3M)(tt)},providedIn:"root"}),f})();const Se=new g.OlP("appBaseHref");let tt=(()=>{class f extends ue{constructor(h,S){super(),this._platformLocation=h,this._removeListenerFns=[],this._baseHref=S??this._platformLocation.getBaseHrefFromDOM()??(0,g.f3M)(Q).location?.origin??""}ngOnDestroy(){for(;this._removeListenerFns.length;)this._removeListenerFns.pop()()}onPopState(h){this._removeListenerFns.push(this._platformLocation.onPopState(h),this._platformLocation.onHashChange(h))}getBaseHref(){return this._baseHref}prepareExternalUrl(h){return J(this._baseHref,h)}path(h=!1){const S=this._platformLocation.pathname+Te(this._platformLocation.search),P=this._platformLocation.hash;return P&&h?`${S}${P}`:S}pushState(h,S,P,V){const K=this.prepareExternalUrl(P+Te(V));this._platformLocation.pushState(h,S,K)}replaceState(h,S,P,V){const K=this.prepareExternalUrl(P+Te(V));this._platformLocation.replaceState(h,S,K)}forward(){this._platformLocation.forward()}back(){this._platformLocation.back()}getState(){return this._platformLocation.getState()}historyGo(h=0){this._platformLocation.historyGo?.(h)}}return f.\u0275fac=function(h){return new(h||f)(g.LFG(ae),g.LFG(Se,8))},f.\u0275prov=g.Yz7({token:f,factory:f.\u0275fac,providedIn:"root"}),f})(),Ye=(()=>{class f extends ue{constructor(h,S){super(),this._platformLocation=h,this._baseHref="",this._removeListenerFns=[],null!=S&&(this._baseHref=S)}ngOnDestroy(){for(;this._removeListenerFns.length;)this._removeListenerFns.pop()()}onPopState(h){this._removeListenerFns.push(this._platformLocation.onPopState(h),this._platformLocation.onHashChange(h))}getBaseHref(){return this._baseHref}path(h=!1){let S=this._platformLocation.hash;return null==S&&(S="#"),S.length>0?S.substring(1):S}prepareExternalUrl(h){const S=J(this._baseHref,h);return S.length>0?"#"+S:S}pushState(h,S,P,V){let K=this.prepareExternalUrl(P+Te(V));0==K.length&&(K=this._platformLocation.pathname),this._platformLocation.pushState(h,S,K)}replaceState(h,S,P,V){let K=this.prepareExternalUrl(P+Te(V));0==K.length&&(K=this._platformLocation.pathname),this._platformLocation.replaceState(h,S,K)}forward(){this._platformLocation.forward()}back(){this._platformLocation.back()}getState(){return this._platformLocation.getState()}historyGo(h=0){this._platformLocation.historyGo?.(h)}}return f.\u0275fac=function(h){return new(h||f)(g.LFG(ae),g.LFG(Se,8))},f.\u0275prov=g.Yz7({token:f,factory:f.\u0275fac}),f})(),le=(()=>{class f{constructor(h){this._subject=new g.vpe,this._urlChangeListeners=[],this._urlChangeSubscription=null,this._locationStrategy=h;const S=this._locationStrategy.getBaseHref();this._basePath=function qn(f){if(new RegExp("^(https?:)?//").test(f)){const[,h]=f.split(/\/\/[^\/]+/);return h}return f}(X(qt(S))),this._locationStrategy.onPopState(P=>{this._subject.emit({url:this.path(!0),pop:!0,state:P.state,type:P.type})})}ngOnDestroy(){this._urlChangeSubscription?.unsubscribe(),this._urlChangeListeners=[]}path(h=!1){return this.normalize(this._locationStrategy.path(h))}getState(){return this._locationStrategy.getState()}isCurrentPathEqualTo(h,S=""){return this.path()==this.normalize(h+Te(S))}normalize(h){return f.stripTrailingSlash(function hn(f,D){return f&&D.startsWith(f)?D.substring(f.length):D}(this._basePath,qt(h)))}prepareExternalUrl(h){return h&&"/"!==h[0]&&(h="/"+h),this._locationStrategy.prepareExternalUrl(h)}go(h,S="",P=null){this._locationStrategy.pushState(P,"",h,S),this._notifyUrlChangeListeners(this.prepareExternalUrl(h+Te(S)),P)}replaceState(h,S="",P=null){this._locationStrategy.replaceState(P,"",h,S),this._notifyUrlChangeListeners(this.prepareExternalUrl(h+Te(S)),P)}forward(){this._locationStrategy.forward()}back(){this._locationStrategy.back()}historyGo(h=0){this._locationStrategy.historyGo?.(h)}onUrlChange(h){return this._urlChangeListeners.push(h),this._urlChangeSubscription||(this._urlChangeSubscription=this.subscribe(S=>{this._notifyUrlChangeListeners(S.url,S.state)})),()=>{const S=this._urlChangeListeners.indexOf(h);this._urlChangeListeners.splice(S,1),0===this._urlChangeListeners.length&&(this._urlChangeSubscription?.unsubscribe(),this._urlChangeSubscription=null)}}_notifyUrlChangeListeners(h="",S){this._urlChangeListeners.forEach(P=>P(h,S))}subscribe(h,S,P){return this._subject.subscribe({next:h,error:S,complete:P})}}return f.normalizeQueryParams=Te,f.joinWithSlash=J,f.stripTrailingSlash=X,f.\u0275fac=function(h){return new(h||f)(g.LFG(ue))},f.\u0275prov=g.Yz7({token:f,factory:function(){return function Zt(){return new le((0,g.LFG)(ue))}()},providedIn:"root"}),f})();function qt(f){return f.replace(/\/index.html$/,"")}function Co(f,D){D=encodeURIComponent(D);for(const h of f.split(";")){const S=h.indexOf("="),[P,V]=-1==S?[h,""]:[h.slice(0,S),h.slice(S+1)];if(P.trim()===D)return decodeURIComponent(V)}return null}class Wt{constructor(D,h,S,P){this.$implicit=D,this.ngForOf=h,this.index=S,this.count=P}get first(){return 0===this.index}get last(){return this.index===this.count-1}get even(){return this.index%2==0}get odd(){return!this.even}}let jt=(()=>{class f{constructor(h,S,P){this._viewContainer=h,this._template=S,this._differs=P,this._ngForOf=null,this._ngForOfDirty=!0,this._differ=null}set ngForOf(h){this._ngForOf=h,this._ngForOfDirty=!0}set ngForTrackBy(h){this._trackByFn=h}get ngForTrackBy(){return this._trackByFn}set ngForTemplate(h){h&&(this._template=h)}ngDoCheck(){if(this._ngForOfDirty){this._ngForOfDirty=!1;const h=this._ngForOf;!this._differ&&h&&(this._differ=this._differs.find(h).create(this.ngForTrackBy))}if(this._differ){const h=this._differ.diff(this._ngForOf);h&&this._applyChanges(h)}}_applyChanges(h){const S=this._viewContainer;h.forEachOperation((P,V,K)=>{if(null==P.previousIndex)S.createEmbeddedView(this._template,new Wt(P.item,this._ngForOf,-1,-1),null===K?void 0:K);else if(null==K)S.remove(null===V?void 0:V);else if(null!==V){const _e=S.get(V);S.move(_e,K),fr(_e,P)}});for(let P=0,V=S.length;P{fr(S.get(P.currentIndex),P)})}static ngTemplateContextGuard(h,S){return!0}}return f.\u0275fac=function(h){return new(h||f)(g.Y36(g.s_b),g.Y36(g.Rgc),g.Y36(g.ZZ4))},f.\u0275dir=g.lG2({type:f,selectors:[["","ngFor","","ngForOf",""]],inputs:{ngForOf:"ngForOf",ngForTrackBy:"ngForTrackBy",ngForTemplate:"ngForTemplate"},standalone:!0}),f})();function fr(f,D){f.context.$implicit=D.item}class lt{constructor(D,h){this._viewContainerRef=D,this._templateRef=h,this._created=!1}create(){this._created=!0,this._viewContainerRef.createEmbeddedView(this._templateRef)}destroy(){this._created=!1,this._viewContainerRef.clear()}enforceState(D){D&&!this._created?this.create():!D&&this._created&&this.destroy()}}let Yt=(()=>{class f{constructor(){this._defaultUsed=!1,this._caseCount=0,this._lastCaseCheckIndex=0,this._lastCasesMatched=!1}set ngSwitch(h){this._ngSwitch=h,0===this._caseCount&&this._updateDefaultCases(!0)}_addCase(){return this._caseCount++}_addDefault(h){this._defaultViews||(this._defaultViews=[]),this._defaultViews.push(h)}_matchCase(h){const S=h==this._ngSwitch;return this._lastCasesMatched=this._lastCasesMatched||S,this._lastCaseCheckIndex++,this._lastCaseCheckIndex===this._caseCount&&(this._updateDefaultCases(!this._lastCasesMatched),this._lastCaseCheckIndex=0,this._lastCasesMatched=!1),S}_updateDefaultCases(h){if(this._defaultViews&&h!==this._defaultUsed){this._defaultUsed=h;for(let S=0;S{class f{constructor(h,S,P){this.ngSwitch=P,P._addCase(),this._view=new lt(h,S)}ngDoCheck(){this._view.enforceState(this.ngSwitch._matchCase(this.ngSwitchCase))}}return f.\u0275fac=function(h){return new(h||f)(g.Y36(g.s_b),g.Y36(g.Rgc),g.Y36(Yt,9))},f.\u0275dir=g.lG2({type:f,selectors:[["","ngSwitchCase",""]],inputs:{ngSwitchCase:"ngSwitchCase"},standalone:!0}),f})(),bt=(()=>{class f{constructor(h,S,P){P._addDefault(new lt(h,S))}}return f.\u0275fac=function(h){return new(h||f)(g.Y36(g.s_b),g.Y36(g.Rgc),g.Y36(Yt,9))},f.\u0275dir=g.lG2({type:f,selectors:[["","ngSwitchDefault",""]],standalone:!0}),f})(),Fe=(()=>{class f{constructor(h){this._viewContainerRef=h,this._viewRef=null,this.ngTemplateOutletContext=null,this.ngTemplateOutlet=null,this.ngTemplateOutletInjector=null}ngOnChanges(h){if(h.ngTemplateOutlet||h.ngTemplateOutletInjector){const S=this._viewContainerRef;if(this._viewRef&&S.remove(S.indexOf(this._viewRef)),this.ngTemplateOutlet){const{ngTemplateOutlet:P,ngTemplateOutletContext:V,ngTemplateOutletInjector:K}=this;this._viewRef=S.createEmbeddedView(P,V,K?{injector:K}:void 0)}else this._viewRef=null}else this._viewRef&&h.ngTemplateOutletContext&&this.ngTemplateOutletContext&&(this._viewRef.context=this.ngTemplateOutletContext)}}return f.\u0275fac=function(h){return new(h||f)(g.Y36(g.s_b))},f.\u0275dir=g.lG2({type:f,selectors:[["","ngTemplateOutlet",""]],inputs:{ngTemplateOutletContext:"ngTemplateOutletContext",ngTemplateOutlet:"ngTemplateOutlet",ngTemplateOutletInjector:"ngTemplateOutletInjector"},standalone:!0,features:[g.TTD]}),f})();class Fn{createSubscription(D,h){return D.subscribe({next:h,error:S=>{throw S}})}dispose(D){D.unsubscribe()}}class pr{createSubscription(D,h){return D.then(h,S=>{throw S})}dispose(D){}}const Rt=new pr,Ur=new Fn;let _n=(()=>{class f{constructor(h){this._latestValue=null,this._subscription=null,this._obj=null,this._strategy=null,this._ref=h}ngOnDestroy(){this._subscription&&this._dispose(),this._ref=null}transform(h){return this._obj?h!==this._obj?(this._dispose(),this.transform(h)):this._latestValue:(h&&this._subscribe(h),this._latestValue)}_subscribe(h){this._obj=h,this._strategy=this._selectStrategy(h),this._subscription=this._strategy.createSubscription(h,S=>this._updateLatestValue(h,S))}_selectStrategy(h){if((0,g.QGY)(h))return Rt;if((0,g.F4k)(h))return Ur;throw function Dt(f,D){return new g.vHH(2100,!1)}()}_dispose(){this._strategy.dispose(this._subscription),this._latestValue=null,this._subscription=null,this._obj=null}_updateLatestValue(h,S){h===this._obj&&(this._latestValue=S,this._ref.markForCheck())}}return f.\u0275fac=function(h){return new(h||f)(g.Y36(g.sBO,16))},f.\u0275pipe=g.Yjl({name:"async",type:f,pure:!1,standalone:!0}),f})(),$n=(()=>{class f{transform(h){return JSON.stringify(h,null,2)}}return f.\u0275fac=function(h){return new(h||f)},f.\u0275pipe=g.Yjl({name:"json",type:f,pure:!1,standalone:!0}),f})(),Hs=(()=>{class f{}return f.\u0275fac=function(h){return new(h||f)},f.\u0275mod=g.oAB({type:f}),f.\u0275inj=g.cJS({}),f})();const ts="browser";let Ws=(()=>{class f{}return f.\u0275prov=(0,g.Yz7)({token:f,providedIn:"root",factory:()=>new rs((0,g.LFG)(Q),window)}),f})();class rs{constructor(D,h){this.document=D,this.window=h,this.offset=()=>[0,0]}setOffset(D){this.offset=Array.isArray(D)?()=>D:D}getScrollPosition(){return this.supportsScrolling()?[this.window.pageXOffset,this.window.pageYOffset]:[0,0]}scrollToPosition(D){this.supportsScrolling()&&this.window.scrollTo(D[0],D[1])}scrollToAnchor(D){if(!this.supportsScrolling())return;const h=function Io(f,D){const h=f.getElementById(D)||f.getElementsByName(D)[0];if(h)return h;if("function"==typeof f.createTreeWalker&&f.body&&(f.body.createShadowRoot||f.body.attachShadow)){const S=f.createTreeWalker(f.body,NodeFilter.SHOW_ELEMENT);let P=S.currentNode;for(;P;){const V=P.shadowRoot;if(V){const K=V.getElementById(D)||V.querySelector(`[name="${D}"]`);if(K)return K}P=S.nextNode()}}return null}(this.document,D);h&&(this.scrollToElement(h),h.focus())}setHistoryScrollRestoration(D){if(this.supportScrollRestoration()){const h=this.window.history;h&&h.scrollRestoration&&(h.scrollRestoration=D)}}scrollToElement(D){const h=D.getBoundingClientRect(),S=h.left+this.window.pageXOffset,P=h.top+this.window.pageYOffset,V=this.offset();this.window.scrollTo(S-V[0],P-V[1])}supportScrollRestoration(){try{if(!this.supportsScrolling())return!1;const D=Qr(this.window.history)||Qr(Object.getPrototypeOf(this.window.history));return!(!D||!D.writable&&!D.set)}catch{return!1}}supportsScrolling(){try{return!!this.window&&!!this.window.scrollTo&&"pageXOffset"in this.window}catch{return!1}}}function Qr(f){return Object.getOwnPropertyDescriptor(f,"scrollRestoration")}class Jr{}},738:(Le,he,N)=>{N.d(he,{tb:()=>rm,AFp:()=>em,ip1:()=>Xg,CZH:()=>Bc,hGG:()=>zb,z2F:()=>$c,sBO:()=>Mb,Sil:()=>cb,_Vd:()=>mu,EJc:()=>ab,Xts:()=>yl,SBq:()=>yu,lqb:()=>Os,qLn:()=>vu,vpe:()=>qo,XFs:()=>ie,OlP:()=>gt,zs3:()=>Ns,ZZ4:()=>Hd,aQg:()=>$d,soG:()=>Hc,YKP:()=>ng,h0i:()=>Ba,PXZ:()=>bb,R0b:()=>Yr,FiY:()=>c,Lbi:()=>ob,g9A:()=>nm,Qsj:()=>wy,FYo:()=>Of,JOm:()=>Vr,tp0:()=>d,Rgc:()=>Pu,dDg:()=>vb,eoX:()=>lm,GfV:()=>Nf,s_b:()=>kc,ifc:()=>oe,MMx:()=>md,Lck:()=>oC,eFA:()=>hm,G48:()=>Tb,f3M:()=>Sn,MR2:()=>cy,_c5:()=>Vb,c2e:()=>ib,zSh:()=>Cl,wAp:()=>Ae,vHH:()=>Ee,lri:()=>um,rWj:()=>cm,D6c:()=>Gb,cg1:()=>ud,kL8:()=>Mp,dqk:()=>at,Z0I:()=>Xn,sIi:()=>bu,CqO:()=>Nh,QGY:()=>Jl,QP$:()=>fr,F4k:()=>Oh,RDi:()=>Bm,AaK:()=>ue,TTD:()=>Vn,jDz:()=>og,xp6:()=>Hf,uIk:()=>Yl,Suo:()=>Ag,Xpm:()=>Dn,lG2:()=>Jo,Yz7:()=>st,cJS:()=>wt,oAB:()=>kr,Yjl:()=>Xo,Y36:()=>Ia,_UZ:()=>ql,GkF:()=>Ql,BQk:()=>Mc,ynx:()=>Tc,qZA:()=>Ic,TgZ:()=>Sc,n5z:()=>fi,Ikx:()=>ad,LFG:()=>ot,$8M:()=>Es,$Z:()=>eh,NdJ:()=>Xl,CRH:()=>Rg,oxw:()=>Uh,ALo:()=>_g,lcZ:()=>Cg,xi3:()=>bg,Q6J:()=>Kl,DdM:()=>dg,VKq:()=>fg,WLB:()=>hg,kEZ:()=>pg,iGM:()=>Mg,MAs:()=>Ph,LSH:()=>ml,P3R:()=>Cf,YNc:()=>xh,W1O:()=>Ng,_uU:()=>lp,Oqu:()=>id,hij:()=>xc,AsE:()=>sd});var g=N(529),A=N(654),H=N(498),re=N(866),de=N(146),Q=N(9),q=N(762);class k{constructor(t,n){this.subjectFactory=t,this.selector=n}call(t,n){const{selector:r}=this,o=this.subjectFactory(),i=r(o).subscribe(t);return i.add(n.subscribe(o)),i}}var j=N(327);function G(){return new g.xQ}function X(e){for(let t in e)if(e[t]===X)return t;throw Error("Could not find renamed property on target object.")}function ue(e){if("string"==typeof e)return e;if(Array.isArray(e))return"["+e.map(ue).join(", ")+"]";if(null==e)return""+e;if(e.overriddenName)return`${e.overriddenName}`;if(e.name)return`${e.name}`;const t=e.toString();if(null==t)return""+t;const n=t.indexOf("\n");return-1===n?t:t.substring(0,n)}function Se(e,t){return null==e||""===e?null===t?"":t:null==t||""===t?e:e+" "+t}const tt=X({__forward_ref__:X});function Ye(e){return e.__forward_ref__=Ye,e.toString=function(){return ue(this())},e}function le(e){return Zt(e)?e():e}function Zt(e){return"function"==typeof e&&e.hasOwnProperty(tt)&&e.__forward_ref__===Ye}function hn(e){return e&&!!e.\u0275providers}const qn="https://g.co/ng/security#xss";class Ee extends Error{constructor(t,n){super(function _t(e,t){return`NG0${Math.abs(e)}${t?": "+t.trim():""}`}(t,n)),this.code=t}}function ge(e){return"string"==typeof e?e:null==e?"":String(e)}function Bt(e,t){throw new Ee(-201,!1)}function Gt(e,t){null==e&&function Ve(e,t,n,r){throw new Error(`ASSERTION ERROR: ${e}`+(null==r?"":` [Expected=> ${n} ${r} ${t} <=Actual]`))}(t,e,null,"!=")}function st(e){return{token:e.token,providedIn:e.providedIn||null,factory:e.factory,value:void 0}}function wt(e){return{providers:e.providers||[],imports:e.imports||[]}}function pt(e){return Nr(e,Pt)||Nr(e,yt)}function Xn(e){return null!==pt(e)}function Nr(e,t){return e.hasOwnProperty(t)?e[t]:null}function Fr(e){return e&&(e.hasOwnProperty(er)||e.hasOwnProperty(Ie))?e[er]:null}const Pt=X({\u0275prov:X}),er=X({\u0275inj:X}),yt=X({ngInjectableDef:X}),Ie=X({ngInjectorDef:X});var ie=(()=>((ie=ie||{})[ie.Default=0]="Default",ie[ie.Host=1]="Host",ie[ie.Self=2]="Self",ie[ie.SkipSelf=4]="SkipSelf",ie[ie.Optional=8]="Optional",ie))();let tr;function Qe(e){const t=tr;return tr=e,t}function Pn(e,t,n){const r=pt(e);return r&&"root"==r.providedIn?void 0===r.value?r.value=r.factory():r.value:n&ie.Optional?null:void 0!==t?t:void Bt(ue(e))}const at=(()=>typeof globalThis<"u"&&globalThis||typeof global<"u"&&global||typeof window<"u"&&window||typeof self<"u"&&typeof WorkerGlobalScope<"u"&&self instanceof WorkerGlobalScope&&self)(),De={},Tt="__NG_DI_FLAG__",lr="ngTempTokenPath",Lr=/\n/gm,Jt="__source";let vn;function wn(e){const t=vn;return vn=e,t}function Do(e,t=ie.Default){if(void 0===vn)throw new Ee(-203,!1);return null===vn?Pn(e,void 0,t):vn.get(e,t&ie.Optional?null:void 0,t)}function ot(e,t=ie.Default){return(function xn(){return tr}()||Do)(le(e),t)}function Sn(e,t=ie.Default){return ot(e,Hn(t))}function Hn(e){return typeof e>"u"||"number"==typeof e?e:0|(e.optional&&8)|(e.host&&1)|(e.self&&2)|(e.skipSelf&&4)}function nr(e){const t=[];for(let n=0;n((T=T||{})[T.OnPush=0]="OnPush",T[T.Default=1]="Default",T))(),oe=(()=>{return(e=oe||(oe={}))[e.Emulated=0]="Emulated",e[e.None=2]="None",e[e.ShadowDom=3]="ShadowDom",oe;var e})();const ee={},se=[],Ze=X({\u0275cmp:X}),$t=X({\u0275dir:X}),un=X({\u0275pipe:X}),Ot=X({\u0275mod:X}),Ke=X({\u0275fac:X}),ct=X({__NG_ELEMENT_ID__:X});let In=0;function Dn(e){return C(()=>{const n=!0===e.standalone,r={},o={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:r,inputs:null,outputs:null,exportAs:e.exportAs||null,onPush:e.changeDetection===T.OnPush,directiveDefs:null,pipeDefs:null,standalone:n,dependencies:n&&e.dependencies||null,getStandaloneInjector:null,selectors:e.selectors||se,viewQuery:e.viewQuery||null,features:e.features||null,data:e.data||{},encapsulation:e.encapsulation||oe.Emulated,id:"c"+In++,styles:e.styles||se,_:null,setInput:null,schemas:e.schemas||null,tView:null,findHostDirectiveDefs:null,hostDirectives:null},i=e.dependencies,a=e.features;return o.inputs=Qo(e.inputs,r),o.outputs=Qo(e.outputs),a&&a.forEach(l=>l(o)),o.directiveDefs=i?()=>("function"==typeof i?i():i).map(On).filter(_o):null,o.pipeDefs=i?()=>("function"==typeof i?i():i).map(jt).filter(_o):null,o})}function On(e){return ze(e)||Wt(e)}function _o(e){return null!==e}function kr(e){return C(()=>({type:e.type,bootstrap:e.bootstrap||se,declarations:e.declarations||se,imports:e.imports||se,exports:e.exports||se,transitiveCompileScopes:null,schemas:e.schemas||null,id:e.id||null}))}function Qo(e,t){if(null==e)return ee;const n={};for(const r in e)if(e.hasOwnProperty(r)){let o=e[r],i=o;Array.isArray(o)&&(i=o[1],o=o[0]),n[o]=r,t&&(t[o]=i)}return n}const Jo=Dn;function Xo(e){return{type:e.type,name:e.name,factory:null,pure:!1!==e.pure,standalone:!0===e.standalone,onDestroy:e.type.prototype.ngOnDestroy||null}}function ze(e){return e[Ze]||null}function Wt(e){return e[$t]||null}function jt(e){return e[un]||null}function fr(e){const t=ze(e)||Wt(e)||jt(e);return null!==t&&t.standalone}function gn(e,t){const n=e[Ot]||null;if(!n&&!0===t)throw new Error(`Type ${ue(e)} does not have '\u0275mod' property.`);return n}function Nt(e){return Array.isArray(e)&&"object"==typeof e[1]}function Ft(e){return Array.isArray(e)&&!0===e[1]}function yr(e){return 0!=(4&e.flags)}function or(e){return e.componentOffset>-1}function So(e){return 1==(1&e.flags)}function Tn(e){return null!==e.template}function ti(e){return 0!=(256&e[2])}function kn(e,t){return e.hasOwnProperty(Ke)?e[Ke]:null}class Ks{constructor(t,n,r){this.previousValue=t,this.currentValue=n,this.firstChange=r}isFirstChange(){return this.firstChange}}function Vn(){return ni}function ni(e){return e.type.prototype.ngOnChanges&&(e.setInput=Xr),os}function os(){const e=Dr(this),t=e?.current;if(t){const n=e.previous;if(n===ee)e.previous=t;else for(let r in t)n[r]=t[r];e.current=null,this.ngOnChanges(t)}}function Xr(e,t,n,r){const o=this.declaredInputs[n],i=Dr(e)||function Si(e,t){return e[ri]=t}(e,{previous:ee,current:null}),a=i.current||(i.current={}),l=i.previous,m=l[o];a[o]=new Ks(m&&m.currentValue,t,l===ee),e[r]=t}Vn.ngInherit=!0;const ri="__ngSimpleChanges__";function Dr(e){return e[ri]||null}function St(e){for(;Array.isArray(e);)e=e[0];return e}function cn(e,t){return St(t[e.index])}function oi(e,t){return e.data[t]}function no(e,t){return e[t]}function Lt(e,t){const n=t[e];return Nt(n)?n:n[0]}function $r(e){return 64==(64&e[2])}function _r(e,t){return null==t?null:e[t]}function Ao(e){e[18]=0}function It(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 Oe={lFrame:ds(null),bindingsEnabled:!0};function Ai(){return Oe.bindingsEnabled}function Y(){return Oe.lFrame.lView}function Ge(){return Oe.lFrame.tView}function Ut(){let e=Cr();for(;null!==e&&64===e.type;)e=e.parent;return e}function Cr(){return Oe.lFrame.currentTNode}function zn(e,t){const n=Oe.lFrame;n.currentTNode=e,n.isParent=t}function Ro(){return Oe.lFrame.isParent}function Gn(){Oe.lFrame.isParent=!1}function xt(){const e=Oe.lFrame;let t=e.bindingRootIndex;return-1===t&&(t=e.bindingRootIndex=e.tView.bindingStartIndex),t}function oo(){return Oe.lFrame.bindingIndex++}function Xs(e,t){const n=Oe.lFrame;n.bindingIndex=n.bindingRootIndex=e,Pi(t)}function Pi(e){Oe.lFrame.currentDirectiveIndex=e}function io(){return Oe.lFrame.currentQueryIndex}function Er(e){Oe.lFrame.currentQueryIndex=e}function cs(e){const t=e[1];return 2===t.type?t.declTNode:1===t.type?e[6]:null}function si(e,t,n){if(n&ie.SkipSelf){let o=t,i=e;for(;!(o=o.parent,null!==o||n&ie.Host||(o=cs(i),null===o||(i=i[15],10&o.type))););if(null===o)return!1;t=o,e=i}const r=Oe.lFrame=ls();return r.currentTNode=t,r.lView=e,!0}function Oi(e){const t=ls(),n=e[1];Oe.lFrame=t,t.currentTNode=n.firstChild,t.lView=e,t.tView=n,t.contextLView=e,t.bindingIndex=n.bindingStartIndex,t.inI18n=!1}function ls(){const e=Oe.lFrame,t=null===e?null:e.child;return null===t?ds(e):t}function ds(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 fs(){const e=Oe.lFrame;return Oe.lFrame=e.parent,e.currentTNode=null,e.lView=null,e}const hs=fs;function Ni(){const e=fs();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 f(){return Oe.lFrame.selectedIndex}function D(e){Oe.lFrame.selectedIndex=e}function h(){const e=Oe.lFrame;return oi(e.tView,e.selectedIndex)}function $e(e,t){for(let n=t.directiveStart,r=t.directiveEnd;n=r)break}else t[m]<0&&(e[18]+=65536),(l>11>16&&(3&e[2])===t){e[2]+=2048;try{i.call(l)}finally{}}}else try{i.call(l)}finally{}}class on{constructor(t,n,r){this.factory=t,this.resolving=!1,this.canSeeViewProviders=n,this.injectImpl=r}}function gs(e,t,n){let r=0;for(;rt){a=i-1;break}}}for(;i>16}(e),r=t;for(;n>0;)r=r[15],n--;return r}let ia=!0;function ci(e){const t=ia;return ia=e,t}let qa=0;const sr={};function Ui(e,t){const n=ft(e,t);if(-1!==n)return n;const r=t[1];r.firstCreatePass&&(e.injectorIndex=t.length,Bi(r.data,e),Bi(t,null),Bi(r.blueprint,null));const o=ys(e,t),i=e.injectorIndex;if(ms(o)){const a=ji(o),l=ui(o,t),m=l[1].data;for(let v=0;v<8;v++)t[i+v]=l[a+v]|m[a+v]}return t[i+8]=o,i}function Bi(e,t){e.push(0,0,0,0,0,0,0,0,t)}function ft(e,t){return-1===e.injectorIndex||e.parent&&e.parent.injectorIndex===e.injectorIndex||null===t[e.injectorIndex+8]?-1:e.injectorIndex}function ys(e,t){if(e.parent&&-1!==e.parent.injectorIndex)return e.parent.injectorIndex;let n=0,r=null,o=t;for(;null!==o;){if(r=bs(o),null===r)return-1;if(n++,o=o[15],-1!==r.injectorIndex)return r.injectorIndex|n<<16}return-1}function Hi(e,t,n){!function Qa(e,t,n){let r;"string"==typeof n?r=n.charCodeAt(0)||0:n.hasOwnProperty(ct)&&(r=n[ct]),null==r&&(r=n[ct]=qa++);const o=255&r;t.data[e+(o>>5)]|=1<=0?255&t:Ja:t}(n);if("function"==typeof i){if(!si(t,e,r))return r&ie.Host?$i(o,0,r):vs(t,n,r,o);try{const a=i(r);if(null!=a||r&ie.Optional)return a;Bt()}finally{hs()}}else if("number"==typeof i){let a=null,l=ft(e,t),m=-1,v=r&ie.Host?t[16][6]:null;for((-1===l||r&ie.SkipSelf)&&(m=-1===l?ys(e,t):t[l+8],-1!==m&&_s(r,!1)?(a=t[1],l=ji(m),t=ui(m,t)):l=-1);-1!==l;){const I=t[1];if(ca(i,l,I.data)){const R=li(l,t,n,a,r,v);if(R!==sr)return R}m=t[l+8],-1!==m&&_s(r,t[1].data[l+8]===v)&&ca(i,l,t)?(a=I,l=ji(m),t=ui(m,t)):l=-1}}return o}function li(e,t,n,r,o,i){const a=t[1],l=a.data[e+8],I=di(l,a,n,null==r?or(l)&&ia:r!=a&&0!=(3&l.type),o&ie.Host&&i===l);return null!==I?Tr(t,a,I,l):sr}function di(e,t,n,r,o){const i=e.providerIndexes,a=t.data,l=1048575&i,m=e.directiveStart,I=i>>20,F=o?l+I:e.directiveEnd;for(let U=r?l:l+I;U=m&&W.type===n)return U}if(o){const U=a[m];if(U&&Tn(U)&&U.type===n)return m}return null}function Tr(e,t,n,r){let o=e[n];const i=t.data;if(function wr(e){return e instanceof on}(o)){const a=o;a.resolving&&function Ne(e,t){const n=t?`. Dependency path: ${t.join(" > ")} > ${e}`:"";throw new Ee(-200,`Circular dependency in DI detected for ${e}${n}`)}(function ye(e){return"function"==typeof e?e.name||e.toString():"object"==typeof e&&null!=e&&"function"==typeof e.type?e.type.name||e.type.toString():ge(e)}(i[n]));const l=ci(a.canSeeViewProviders);a.resolving=!0;const m=a.injectImpl?Qe(a.injectImpl):null;si(e,r,ie.Default);try{o=e[n]=a.factory(void 0,i,e,r),t.firstCreatePass&&n>=r.directiveStart&&function Xe(e,t,n){const{ngOnChanges:r,ngOnInit:o,ngDoCheck:i}=t.type.prototype;if(r){const a=ni(t);(n.preOrderHooks||(n.preOrderHooks=[])).push(e,a),(n.preOrderCheckHooks||(n.preOrderCheckHooks=[])).push(e,a)}o&&(n.preOrderHooks||(n.preOrderHooks=[])).push(0-e,o),i&&((n.preOrderHooks||(n.preOrderHooks=[])).push(e,i),(n.preOrderCheckHooks||(n.preOrderCheckHooks=[])).push(e,i))}(n,i[n],t)}finally{null!==m&&Qe(m),ci(l),a.resolving=!1,hs()}}return o}function ca(e,t,n){return!!(n[t+(e>>5)]&1<{const t=e.prototype.constructor,n=t[Ke]||Cs(t),r=Object.prototype;let o=Object.getPrototypeOf(e.prototype).constructor;for(;o&&o!==r;){const i=o[Ke]||Cs(o);if(i&&i!==n)return i;o=Object.getPrototypeOf(o)}return i=>new i})}function Cs(e){return Zt(e)?()=>{const t=Cs(le(e));return t&&t()}:kn(e)}function bs(e){const t=e[1],n=t.type;return 2===n?t.declTNode:1===n?e[6]:null}function Es(e){return function Oo(e,t){if("class"===t)return e.classes;if("style"===t)return e.styles;const n=e.attrs;if(n){const r=n.length;let o=0;for(;o{const r=function ws(e){return function(...n){if(e){const r=e(...n);for(const o in r)this[o]=r[o]}}}(t);function o(...i){if(this instanceof o)return r.apply(this,i),this;const a=new o(...i);return l.annotation=a,l;function l(m,v,I){const R=m.hasOwnProperty(hi)?m[hi]:Object.defineProperty(m,hi,{value:[]})[hi];for(;R.length<=I;)R.push(null);return(R[I]=R[I]||[]).push(a),m}}return n&&(o.prototype=Object.create(n.prototype)),o.prototype.ngMetadataName=e,o.annotationCls=o,o})}class gt{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=st({token:this,providedIn:n.providedIn||"root",factory:n.factory}))}get multi(){return this}toString(){return`InjectionToken ${this._desc}`}}function Wn(e,t){e.forEach(n=>Array.isArray(n)?Wn(n,t):t(n))}function ha(e,t,n){t>=e.length?e.push(n):e.splice(t,0,n)}function jo(e,t){return t>=e.length-1?e.pop():e.splice(t,1)[0]}const c=rn(Mr("Optional"),8),d=rn(Mr("SkipSelf"),4);var Vr=(()=>((Vr=Vr||{})[Vr.Important=1]="Important",Vr[Vr.DashCase=2]="DashCase",Vr))();const Ku=new Map;let Zd=0;const lu="__ngContext__";function En(e,t){Nt(t)?(e[lu]=t[20],function qd(e){Ku.set(e[20],e)}(t)):e[lu]=t}function Vo(e,t){return undefined(e,t)}function Yi(e){const t=e[3];return Ft(t)?t[3]:t}function lo(e){return Ki(e[13])}function nc(e){return Ki(e[4])}function Ki(e){for(;null!==e&&!Ft(e);)e=e[4];return e}function zo(e,t,n,r,o){if(null!=r){let i,a=!1;Ft(r)?i=r:Nt(r)&&(a=!0,r=r[0]);const l=St(r);0===e&&null!==n?null==o?fe(t,n,l):te(t,n,l,o||null,!0):1===e&&null!==n?te(t,n,l,o||null,!0):2===e?function Zi(e,t,n){const r=ht(e,t);r&&function mt(e,t,n,r){e.removeChild(t,n,r)}(e,r,t,n)}(t,l,a):3===e&&t.destroyNode(l),null!=i&&function Nm(e,t,n,r,o){const i=n[7];i!==St(n)&&zo(t,e,r,i,o);for(let l=10;l0&&(e[n-1][4]=r[4]);const i=jo(e,10+t);!function ef(e,t){fu(e,t,t[11],2,null,null),t[0]=null,t[6]=null}(r[1],r);const a=i[19];null!==a&&a.detachView(i[1]),r[3]=null,r[4]=null,r[2]&=-65}return r}function cc(e,t){if(!(128&t[2])){const n=t[11];n.destroyNode&&fu(e,t,n,3,null,null),function nf(e){let t=e[13];if(!t)return lc(e[1],e);for(;t;){let n=null;if(Nt(t))n=t[13];else{const r=t[10];r&&(n=r)}if(!n){for(;t&&!t[4]&&t!==e;)Nt(t)&&lc(t[1],t),t=t[3];null===t&&(t=e),Nt(t)&&lc(t[1],t),n=t&&t[4]}t=n}}(t)}}function lc(e,t){if(!(128&t[2])){t[2]&=-65,t[2]|=128,function E(e,t){let n;if(null!=e&&null!=(n=e.destroyHooks))for(let r=0;r=0?r[o=a]():r[o=-a].unsubscribe(),i+=2}else{const a=r[o=n[i+1]];n[i].call(a)}if(null!==r){for(let i=o+1;i-1){const{encapsulation:i}=e.data[r.directiveStart+o];if(i===oe.None||i===oe.Emulated)return null}return cn(r,n)}}(e,t.parent,n)}function te(e,t,n,r,o){e.insertBefore(t,n,r,o)}function fe(e,t,n){e.appendChild(t,n)}function Pe(e,t,n,r,o){null!==r?te(e,t,n,r,o):fe(e,t,n)}function ht(e,t){return e.parentNode(t)}let ll,fc,zr=function dn(e,t,n){return 40&e.type?cn(e,n):null};function Rr(e,t,n,r){const o=_(e,r,t),i=t[11],l=function Kn(e,t,n){return zr(e,t,n)}(r.parent||t[6],r,t);if(null!=o)if(Array.isArray(n))for(let m=0;me,createScript:e=>e,createScriptURL:e=>e})}catch{}return fc}()?.createScriptURL(e)||e}class hf{constructor(t){this.changingThisBreaksApplicationSecurity=t}toString(){return`SafeValue must use [property]=binding: ${this.changingThisBreaksApplicationSecurity} (see ${qn})`}}function Qi(e){return e instanceof hf?e.changingThisBreaksApplicationSecurity:e}function hu(e,t){const n=function Wm(e){return e instanceof hf&&e.getTypeName()||null}(e);if(null!=n&&n!==t){if("ResourceURL"===n&&"URL"===t)return!0;throw new Error(`Required a safe ${t}, got a ${n} (see ${qn})`)}return n===t}const qm=/^(?:(?:https?|mailto|data|ftp|tel|file|sms):|[^&:/?#]*(?:[/?#]|$))/gi;var fn=(()=>((fn=fn||{})[fn.NONE=0]="NONE",fn[fn.HTML=1]="HTML",fn[fn.STYLE=2]="STYLE",fn[fn.SCRIPT=3]="SCRIPT",fn[fn.URL=4]="URL",fn[fn.RESOURCE_URL=5]="RESOURCE_URL",fn))();function ml(e){const t=gu();return t?t.sanitize(fn.URL,e)||"":hu(e,"URL")?Qi(e):function fl(e){return(e=String(e)).match(qm)?e:"unsafe:"+e}(ge(e))}function _f(e){const t=gu();if(t)return ff(t.sanitize(fn.RESOURCE_URL,e)||"");if(hu(e,"ResourceURL"))return ff(Qi(e));throw new Ee(904,!1)}function Cf(e,t,n){return function uy(e,t){return"src"===t&&("embed"===e||"frame"===e||"iframe"===e||"media"===e||"script"===e)||"href"===t&&("base"===e||"link"===e)?_f:ml}(t,n)(e)}function gu(){const e=Y();return e&&e[12]}const yl=new gt("ENVIRONMENT_INITIALIZER"),bf=new gt("INJECTOR",-1),Ef=new gt("INJECTOR_DEF_TYPES");class wf{get(t,n=De){if(n===De){const r=new Error(`NullInjectorError: No provider for ${ue(t)}!`);throw r.name="NullInjectorError",r}return n}}function cy(e){return{\u0275providers:e}}function ly(...e){return{\u0275providers:Sf(0,e),\u0275fromNgModule:!0}}function Sf(e,...t){const n=[],r=new Set;let o;return Wn(t,i=>{const a=i;vl(a,n,[],r)&&(o||(o=[]),o.push(a))}),void 0!==o&&If(o,n),n}function If(e,t){for(let n=0;n{t.push(i)})}}function vl(e,t,n,r){if(!(e=le(e)))return!1;let o=null,i=Fr(e);const a=!i&&ze(e);if(i||a){if(a&&!a.standalone)return!1;o=e}else{const m=e.ngModule;if(i=Fr(m),!i)return!1;o=m}const l=r.has(o);if(a){if(l)return!1;if(r.add(o),a.dependencies){const m="function"==typeof a.dependencies?a.dependencies():a.dependencies;for(const v of m)vl(v,t,n,r)}}else{if(!i)return!1;{if(null!=i.imports&&!l){let v;r.add(o);try{Wn(i.imports,I=>{vl(I,t,n,r)&&(v||(v=[]),v.push(I))})}finally{}void 0!==v&&If(v,t)}if(!l){const v=kn(o)||(()=>new o);t.push({provide:o,useFactory:v,deps:se},{provide:Ef,useValue:o,multi:!0},{provide:yl,useValue:()=>ot(o),multi:!0})}const m=i.providers;null==m||l||Dl(m,I=>{t.push(I)})}}return o!==e&&void 0!==e.providers}function Dl(e,t){for(let n of e)hn(n)&&(n=n.\u0275providers),Array.isArray(n)?Dl(n,t):t(n)}const dy=X({provide:String,useValue:X});function _l(e){return null!==e&&"object"==typeof e&&dy in e}function Ps(e){return"function"==typeof e}const Cl=new gt("Set Injector scope."),pc={},hy={};let bl;function gc(){return void 0===bl&&(bl=new wf),bl}class Os{}class Af extends Os{constructor(t,n,r,o){super(),this.parent=n,this.source=r,this.scopes=o,this.records=new Map,this._ngOnDestroyHooks=new Set,this._onDestroyHooks=[],this._destroyed=!1,wl(t,a=>this.processProvider(a)),this.records.set(bf,ba(void 0,this)),o.has("environment")&&this.records.set(Os,ba(void 0,this));const i=this.records.get(Cl);null!=i&&"string"==typeof i.value&&this.scopes.add(i.value),this.injectorDefTypes=new Set(this.get(Ef.multi,se,ie.Self))}get destroyed(){return this._destroyed}destroy(){this.assertNotDestroyed(),this._destroyed=!0;try{for(const t of this._ngOnDestroyHooks)t.ngOnDestroy();for(const t of this._onDestroyHooks)t()}finally{this.records.clear(),this._ngOnDestroyHooks.clear(),this.injectorDefTypes.clear(),this._onDestroyHooks.length=0}}onDestroy(t){this._onDestroyHooks.push(t)}runInContext(t){this.assertNotDestroyed();const n=wn(this),r=Qe(void 0);try{return t()}finally{wn(n),Qe(r)}}get(t,n=De,r=ie.Default){this.assertNotDestroyed(),r=Hn(r);const o=wn(this),i=Qe(void 0);try{if(!(r&ie.SkipSelf)){let l=this.records.get(t);if(void 0===l){const m=function vy(e){return"function"==typeof e||"object"==typeof e&&e instanceof gt}(t)&&pt(t);l=m&&this.injectableDefInScope(m)?ba(El(t),pc):null,this.records.set(t,l)}if(null!=l)return this.hydrate(t,l)}return(r&ie.Self?gc():this.parent).get(t,n=r&ie.Optional&&n===De?null:n)}catch(a){if("NullInjectorError"===a.name){if((a[lr]=a[lr]||[]).unshift(ue(t)),o)throw a;return function $(e,t,n,r){const o=e[lr];throw t[Jt]&&o.unshift(t[Jt]),e.message=function b(e,t,n,r=null){e=e&&"\n"===e.charAt(0)&&"\u0275"==e.charAt(1)?e.slice(2):e;let o=ue(t);if(Array.isArray(t))o=t.map(ue).join(" -> ");else if("object"==typeof t){let i=[];for(let a in t)if(t.hasOwnProperty(a)){let l=t[a];i.push(a+":"+("string"==typeof l?JSON.stringify(l):ue(l)))}o=`{${i.join(", ")}}`}return`${n}${r?"("+r+")":""}[${o}]: ${e.replace(Lr,"\n ")}`}("\n"+e.message,o,n,r),e.ngTokenPath=o,e[lr]=null,e}(a,t,"R3InjectorError",this.source)}throw a}finally{Qe(i),wn(o)}}resolveInjectorInitializers(){const t=wn(this),n=Qe(void 0);try{const r=this.get(yl.multi,se,ie.Self);for(const o of r)o()}finally{wn(t),Qe(n)}}toString(){const t=[],n=this.records;for(const r of n.keys())t.push(ue(r));return`R3Injector[${t.join(", ")}]`}assertNotDestroyed(){if(this._destroyed)throw new Ee(205,!1)}processProvider(t){let n=Ps(t=le(t))?t:le(t&&t.provide);const r=function gy(e){return _l(e)?ba(void 0,e.useValue):ba(function Rf(e,t,n){let r;if(Ps(e)){const o=le(e);return kn(o)||El(o)}if(_l(e))r=()=>le(e.useValue);else if(function Mf(e){return!(!e||!e.useFactory)}(e))r=()=>e.useFactory(...nr(e.deps||[]));else if(function Tf(e){return!(!e||!e.useExisting)}(e))r=()=>ot(le(e.useExisting));else{const o=le(e&&(e.useClass||e.provide));if(!function my(e){return!!e.deps}(e))return kn(o)||El(o);r=()=>new o(...nr(e.deps))}return r}(e),pc)}(t);if(Ps(t)||!0!==t.multi)this.records.get(n);else{let o=this.records.get(n);o||(o=ba(void 0,pc,!0),o.factory=()=>nr(o.multi),this.records.set(n,o)),n=t,o.multi.push(t)}this.records.set(n,r)}hydrate(t,n){return n.value===pc&&(n.value=hy,n.value=n.factory()),"object"==typeof n.value&&n.value&&function yy(e){return null!==e&&"object"==typeof e&&"function"==typeof e.ngOnDestroy}(n.value)&&this._ngOnDestroyHooks.add(n.value),n.value}injectableDefInScope(t){if(!t.providedIn)return!1;const n=le(t.providedIn);return"string"==typeof n?"any"===n||this.scopes.has(n):this.injectorDefTypes.has(n)}}function El(e){const t=pt(e),n=null!==t?t.factory:kn(e);if(null!==n)return n;if(e instanceof gt)throw new Ee(204,!1);if(e instanceof Function)return function py(e){const t=e.length;if(t>0)throw function Uo(e,t){const n=[];for(let r=0;rn.factory(e):()=>new e}(e);throw new Ee(204,!1)}function ba(e,t,n=!1){return{factory:e,value:t,multi:n?[]:void 0}}function wl(e,t){for(const n of e)Array.isArray(n)?wl(n,t):n&&hn(n)?wl(n.\u0275providers,t):t(n)}class Dy{}class xf{}class Cy{resolveComponentFactory(t){throw function _y(e){const t=Error(`No component factory found for ${ue(e)}. Did you add it to @NgModule.entryComponents?`);return t.ngComponent=e,t}(t)}}let mu=(()=>{class e{}return e.NULL=new Cy,e})();function by(){return Ea(Ut(),Y())}function Ea(e,t){return new yu(cn(e,t))}let yu=(()=>{class e{constructor(n){this.nativeElement=n}}return e.__NG_ELEMENT_ID__=by,e})();function Ey(e){return e instanceof yu?e.nativeElement:e}class Of{}let wy=(()=>{class e{}return e.__NG_ELEMENT_ID__=()=>function Sy(){const e=Y(),n=Lt(Ut().index,e);return(Nt(n)?n:e)[11]}(),e})(),Iy=(()=>{class e{}return e.\u0275prov=st({token:e,providedIn:"root",factory:()=>null}),e})();class Nf{constructor(t){this.full=t,this.major=t.split(".")[0],this.minor=t.split(".")[1],this.patch=t.split(".").slice(2).join(".")}}const Ty=new Nf("15.0.4"),Sl={};function Tl(e){return e.ngOriginalError}class vu{constructor(){this._console=console}handleError(t){const n=this._findOriginalError(t);this._console.error("ERROR",t),n&&this._console.error("ORIGINAL ERROR",n)}_findOriginalError(t){let n=t&&Tl(t);for(;n&&Tl(n);)n=Tl(n);return n||null}}function vi(e){return e instanceof Function?e():e}function Lf(e,t,n){let r=e.length;for(;;){const o=e.indexOf(t,n);if(-1===o)return o;if(0===o||e.charCodeAt(o-1)<=32){const i=t.length;if(o+i===r||e.charCodeAt(o+i)<=32)return o}n=o+1}}const kf="ng-template";function jy(e,t,n){let r=0;for(;ri?"":o[R+1].toLowerCase();const U=8&r?F:null;if(U&&-1!==Lf(U,v,0)||2&r&&v!==F){if(fo(r))return!1;a=!0}}}}else{if(!a&&!fo(r)&&!fo(m))return!1;if(a&&fo(m))continue;a=!1,r=m|1&r}}return fo(r)||a}function fo(e){return 0==(1&e)}function Hy(e,t,n,r){if(null===t)return-1;let o=0;if(r||!n){let i=!1;for(;o-1)for(n++;n0?'="'+l+'"':"")+"]"}else 8&r?o+="."+a:4&r&&(o+=" "+a);else""!==o&&!fo(a)&&(t+=Bf(i,o),o=""),r=a,i=i||!fo(r);n++}return""!==o&&(t+=Bf(i,o)),t}const He={};function Hf(e){$f(Ge(),Y(),f()+e,!1)}function $f(e,t,n,r){if(!r)if(3==(3&t[2])){const i=e.preOrderCheckHooks;null!==i&&qe(t,i,n)}else{const i=e.preOrderHooks;null!==i&&ke(t,i,0,n)}D(n)}function Wf(e,t=null,n=null,r){const o=Yf(e,t,n,r);return o.resolveInjectorInitializers(),o}function Yf(e,t=null,n=null,r,o=new Set){const i=[n||se,ly(e)];return r=r||("object"==typeof e?void 0:ue(e)),new Af(i,t||gc(),r||null,o)}let Ns=(()=>{class e{static create(n,r){if(Array.isArray(n))return Wf({name:""},r,n,"");{const o=n.name??"";return Wf({name:o},n.parent,n.providers,o)}}}return e.THROW_IF_NOT_FOUND=De,e.NULL=new wf,e.\u0275prov=st({token:e,providedIn:"any",factory:()=>ot(bf)}),e.__NG_ELEMENT_ID__=-1,e})();function Ia(e,t=ie.Default){const n=Y();return null===n?ot(e,t):so(Ut(),n,le(e),t)}function eh(){throw new Error("invalid")}function th(e,t){const n=e.contentQueries;if(null!==n)for(let r=0;r22&&$f(e,t,22,!1),n(r,o)}finally{D(i)}}function Nl(e,t,n){if(yr(t)){const o=t.directiveEnd;for(let i=t.directiveStart;i0;){const n=e[--t];if("number"==typeof n&&n<0)return n}return 0})(a)!=l&&a.push(l),a.push(n,r,i)}}(e,t,r,Du(e,n,o.hostVars,He),o)}function Wo(e,t,n,r,o,i){const a=cn(e,t);!function Bl(e,t,n,r,o,i,a){if(null==i)e.removeAttribute(t,o,n);else{const l=null==a?ge(i):a(i,r||"",o);e.setAttribute(t,o,l,n)}}(t[11],a,i,e.value,n,r,o)}function Pv(e,t,n,r,o,i){const a=i[t];if(null!==a){const l=r.setInput;for(let m=0;m0&&Hl(n)}}function Hl(e){for(let r=lo(e);null!==r;r=nc(r))for(let o=10;o0&&Hl(i)}const n=e[1].components;if(null!==n)for(let r=0;r0&&Hl(o)}}function kv(e,t){const n=Lt(t,e),r=n[1];(function jv(e,t){for(let n=t.length;n-1&&(uc(t,r),jo(n,r))}this._attachedToViewContainer=!1}cc(this._lView[1],this._lView)}onDestroy(t){oh(this._lView[1],this._lView,null,t)}markForCheck(){$l(this._cdRefInjectingView||this._lView)}detach(){this._lView[2]&=-65}reattach(){this._lView[2]|=64}detectChanges(){_c(this._lView[1],this._lView,this.context)}checkNoChanges(){}attachToViewContainerRef(){if(this._appRef)throw new Ee(902,!1);this._attachedToViewContainer=!0}detachFromAppRef(){this._appRef=null,function ic(e,t){fu(e,t,t[11],2,null,null)}(this._lView[1],this._lView)}attachToAppRef(t){if(this._attachedToViewContainer)throw new Ee(902,!1);this._appRef=t}}class Uv extends _u{constructor(t){super(t),this._view=t}detectChanges(){const t=this._view;_c(t[1],t,t[8],!1)}checkNoChanges(){}get context(){return null}}class gh extends mu{constructor(t){super(),this.ngModule=t}resolveComponentFactory(t){const n=ze(t);return new Cu(n,this.ngModule)}}function mh(e){const t=[];for(let n in e)e.hasOwnProperty(n)&&t.push({propName:e[n],templateName:n});return t}class Hv{constructor(t,n){this.injector=t,this.parentInjector=n}get(t,n,r){r=Hn(r);const o=this.injector.get(t,Sl,r);return o!==Sl||n===Sl?o:this.parentInjector.get(t,n,r)}}class Cu extends xf{constructor(t,n){super(),this.componentDef=t,this.ngModule=n,this.componentType=t.type,this.selector=function Yy(e){return e.map(Wy).join(",")}(t.selectors),this.ngContentSelectors=t.ngContentSelectors?t.ngContentSelectors:[],this.isBoundToModule=!!n}get inputs(){return mh(this.componentDef.inputs)}get outputs(){return mh(this.componentDef.outputs)}create(t,n,r,o){let i=(o=o||this.ngModule)instanceof Os?o:o?.injector;i&&null!==this.componentDef.getStandaloneInjector&&(i=this.componentDef.getStandaloneInjector(i)||i);const a=i?new Hv(t,i):t,l=a.get(Of,null);if(null===l)throw new Ee(407,!1);const m=a.get(Iy,null),v=l.createRenderer(null,this.componentDef),I=this.componentDef.selectors[0][0]||"div",R=r?function yv(e,t,n){return e.selectRootElement(t,n===oe.ShadowDom)}(v,r,this.componentDef.encapsulation):oc(v,I,function Bv(e){const t=e.toLowerCase();return"svg"===t?"svg":"math"===t?"math":null}(I)),F=this.componentDef.onPush?288:272,U=kl(0,null,null,1,0,null,null,null,null,null),W=yc(null,U,null,F,null,null,l,v,m,a,null);let ce,pe;Oi(W);try{const we=this.componentDef;let xe,ne=null;we.findHostDirectiveDefs?(xe=[],ne=new Map,we.findHostDirectiveDefs(we,xe,ne),xe.push(we)):xe=[we];const je=function Vv(e,t){const n=e[1];return e[22]=t,Ta(n,22,2,"#host",null)}(W,R),zt=function zv(e,t,n,r,o,i,a,l){const m=o[1];!function Gv(e,t,n,r){for(const o of e)t.mergedAttrs=ai(t.mergedAttrs,o.hostAttrs);null!==t.mergedAttrs&&(Cc(t,t.mergedAttrs,!0),null!==n&&uf(r,n,t))}(r,e,t,a);const v=i.createRenderer(t,n),I=yc(o,rh(n),null,n.onPush?32:16,o[e.index],e,i,v,l||null,null,null);return m.firstCreatePass&&Ul(m,e,r.length-1),Dc(o,I),o[e.index]=I}(je,R,we,xe,W,l,v);pe=oi(U,22),R&&function Yv(e,t,n,r){if(r)gs(e,n,["ng-version",Ty.full]);else{const{attrs:o,classes:i}=function Ky(e){const t=[],n=[];let r=1,o=2;for(;r0&&af(e,n,i.join(" "))}}(v,we,R,r),void 0!==n&&function Kv(e,t,n){const r=e.projection=[];for(let o=0;oa(St(je[r.index])):r.index;let ne=null;if(!a&&l&&(ne=function pD(e,t,n,r){const o=e.cleanup;if(null!=o)for(let i=0;im?l[m]:null}"string"==typeof a&&(i+=2)}return null}(e,t,o,r.index)),null!==ne)(ne.__ngLastListenerFn__||ne).__ngNextListenerFn__=i,ne.__ngLastListenerFn__=i,F=!1;else{i=jh(r,t,I,i,!1);const je=n.listen(pe,o,i);R.push(i,je),v&&v.push(o,xe,we,we+1)}}else i=jh(r,t,I,i,!1);const U=r.outputs;let W;if(F&&null!==U&&(W=U[o])){const ce=W.length;if(ce)for(let pe=0;pe-1?Lt(e.index,t):t);let m=kh(t,0,r,a),v=i.__ngNextListenerFn__;for(;v;)m=kh(t,0,v,a)&&m,v=v.__ngNextListenerFn__;return o&&!1===m&&(a.preventDefault(),a.returnValue=!1),m}}function Uh(e=1){return function ps(e){return(Oe.lFrame.contextLView=function Fi(e,t){for(;e>0;)t=t[15],e--;return t}(e,Oe.lFrame.contextLView))[8]}(e)}function lp(e,t=""){const n=Y(),r=Ge(),o=e+22,i=r.firstCreatePass?Ta(r,o,1,t,null):r.data[o],a=n[o]=function _a(e,t){return e.createText(t)}(n[11],t);Rr(r,n,a,i),zn(i,!1)}function id(e){return xc("",e,""),id}function xc(e,t,n){const r=Y(),o=function Aa(e,t,n,r){return Un(e,oo(),n)?t+ge(n)+r:He}(r,e,t,n);return o!==He&&Di(r,f(),o),xc}function sd(e,t,n,r,o){const i=Y(),a=Ra(i,e,t,n,r,o);return a!==He&&Di(i,f(),a),sd}function ad(e,t,n){const r=Y();return Un(r,oo(),t)&&xr(Ge(),h(),r,e,t,r[11],n,!0),ad}const js=void 0;var o_=["en",[["a","p"],["AM","PM"],js],[["AM","PM"],js,js],[["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"]],js,[["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"]],js,[["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}",js,"{1} 'at' {0}",js],[".",",",";","%","+","-","E","\xd7","\u2030","\u221e","NaN",":"],["#,##0.###","#,##0%","\xa4#,##0.00","#E0"],"USD","$","US Dollar",{},"ltr",function r_(e){const n=Math.floor(Math.abs(e)),r=e.toString().replace(/^[^.]*\.?/,"").length;return 1===n&&0===r?1:5}];let ja={};function ud(e){const t=function i_(e){return e.toLowerCase().replace(/_/g,"-")}(e);let n=Ap(t);if(n)return n;const r=t.split("-")[0];if(n=Ap(r),n)return n;if("en"===r)return o_;throw new Ee(701,!1)}function Mp(e){return ud(e)[Ae.PluralCase]}function Ap(e){return e in ja||(ja[e]=at.ng&&at.ng.common&&at.ng.common.locales&&at.ng.common.locales[e]),ja[e]}var Ae=(()=>((Ae=Ae||{})[Ae.LocaleId=0]="LocaleId",Ae[Ae.DayPeriodsFormat=1]="DayPeriodsFormat",Ae[Ae.DayPeriodsStandalone=2]="DayPeriodsStandalone",Ae[Ae.DaysFormat=3]="DaysFormat",Ae[Ae.DaysStandalone=4]="DaysStandalone",Ae[Ae.MonthsFormat=5]="MonthsFormat",Ae[Ae.MonthsStandalone=6]="MonthsStandalone",Ae[Ae.Eras=7]="Eras",Ae[Ae.FirstDayOfWeek=8]="FirstDayOfWeek",Ae[Ae.WeekendRange=9]="WeekendRange",Ae[Ae.DateFormat=10]="DateFormat",Ae[Ae.TimeFormat=11]="TimeFormat",Ae[Ae.DateTimeFormat=12]="DateTimeFormat",Ae[Ae.NumberSymbols=13]="NumberSymbols",Ae[Ae.NumberFormats=14]="NumberFormats",Ae[Ae.CurrencyCode=15]="CurrencyCode",Ae[Ae.CurrencySymbol=16]="CurrencySymbol",Ae[Ae.CurrencyName=17]="CurrencyName",Ae[Ae.Currencies=18]="Currencies",Ae[Ae.Directionality=19]="Directionality",Ae[Ae.PluralCase=20]="PluralCase",Ae[Ae.ExtraData=21]="ExtraData",Ae))();const Ua="en-US";let Rp=Ua;class Ba{}class ng{}function oC(e,t){return new rg(e,t??null)}class rg extends Ba{constructor(t,n){super(),this._parent=n,this._bootstrapComponents=[],this.destroyCbs=[],this.componentFactoryResolver=new gh(this);const r=gn(t);this._bootstrapComponents=vi(r.bootstrap),this._r3Injector=Yf(t,n,[{provide:Ba,useValue:this},{provide:mu,useValue:this.componentFactoryResolver}],ue(t),new Set(["environment"])),this._r3Injector.resolveInjectorInitializers(),this.instance=this._r3Injector.get(t)}get injector(){return this._r3Injector}destroy(){const t=this._r3Injector;!t.destroyed&&t.destroy(),this.destroyCbs.forEach(n=>n()),this.destroyCbs=null}onDestroy(t){this.destroyCbs.push(t)}}class gd extends ng{constructor(t){super(),this.moduleType=t}create(t){return new rg(this.moduleType,t)}}class iC extends Ba{constructor(t,n,r){super(),this.componentFactoryResolver=new gh(this),this.instance=null;const o=new Af([...t,{provide:Ba,useValue:this},{provide:mu,useValue:this.componentFactoryResolver}],n||gc(),r,new Set(["environment"]));this.injector=o,o.resolveInjectorInitializers()}destroy(){this.injector.destroy()}onDestroy(t){this.injector.onDestroy(t)}}function md(e,t,n=null){return new iC(e,t,n).injector}let sC=(()=>{class e{constructor(n){this._injector=n,this.cachedInjectors=new Map}getOrCreateStandaloneInjector(n){if(!n.standalone)return null;if(!this.cachedInjectors.has(n.id)){const r=Sf(0,n.type),o=r.length>0?md([r],this._injector,`Standalone[${n.type.name}]`):null;this.cachedInjectors.set(n.id,o)}return this.cachedInjectors.get(n.id)}ngOnDestroy(){try{for(const n of this.cachedInjectors.values())null!==n&&n.destroy()}finally{this.cachedInjectors.clear()}}}return e.\u0275prov=st({token:e,providedIn:"environment",factory:()=>new e(ot(Os))}),e})();function og(e){e.getStandaloneInjector=t=>t.get(sC).getOrCreateStandaloneInjector(e)}function dg(e,t,n){const r=xt()+e,o=Y();return o[r]===He?Yo(o,r,n?t.call(n):t()):function Eu(e,t){return e[t]}(o,r)}function fg(e,t,n,r){return gg(Y(),xt(),e,t,n,r)}function hg(e,t,n,r,o){return mg(Y(),xt(),e,t,n,r,o)}function pg(e,t,n,r,o,i){return function yg(e,t,n,r,o,i,a,l){const m=t+n;return function wc(e,t,n,r,o){const i=Ls(e,t,n,r);return Un(e,t+2,o)||i}(e,m,o,i,a)?Yo(e,m+3,l?r.call(l,o,i,a):r(o,i,a)):Ru(e,m+3)}(Y(),xt(),e,t,n,r,o,i)}function Ru(e,t){const n=e[t];return n===He?void 0:n}function gg(e,t,n,r,o,i){const a=t+n;return Un(e,a,o)?Yo(e,a+1,i?r.call(i,o):r(o)):Ru(e,a+1)}function mg(e,t,n,r,o,i,a){const l=t+n;return Ls(e,l,o,i)?Yo(e,l+2,a?r.call(a,o,i):r(o,i)):Ru(e,l+2)}function _g(e,t){const n=Ge();let r;const o=e+22;n.firstCreatePass?(r=function CC(e,t){if(t)for(let n=t.length-1;n>=0;n--){const r=t[n];if(e===r.name)return r}}(t,n.pipeRegistry),n.data[o]=r,r.onDestroy&&(n.destroyHooks||(n.destroyHooks=[])).push(o,r.onDestroy)):r=n.data[o];const i=r.factory||(r.factory=kn(r.type)),a=Qe(Ia);try{const l=ci(!1),m=i();return ci(l),function lD(e,t,n,r){n>=e.data.length&&(e.data[n]=null,e.blueprint[n]=null),t[n]=r}(n,Y(),o,m),m}finally{Qe(a)}}function Cg(e,t,n){const r=e+22,o=Y(),i=no(o,r);return xu(o,r)?gg(o,xt(),t,i.transform,n,i):i.transform(n)}function bg(e,t,n,r){const o=e+22,i=Y(),a=no(i,o);return xu(i,o)?mg(i,xt(),t,a.transform,n,r,a):a.transform(n,r)}function xu(e,t){return e[1].data[t].pure}function vd(e){return t=>{setTimeout(e,void 0,t)}}const qo=class SC extends g.xQ{constructor(t=!1){super(),this.__isAsync=t}emit(t){super.next(t)}subscribe(t,n,r){let o=t,i=n||(()=>null),a=r;if(t&&"object"==typeof t){const m=t;o=m.next?.bind(m),i=m.error?.bind(m),a=m.complete?.bind(m)}this.__isAsync&&(i=vd(i),o&&(o=vd(o)),a&&(a=vd(a)));const l=super.subscribe({next:o,error:i,complete:a});return t instanceof A.w&&t.add(l),l}};function IC(){return this._results[Fs()]()}class Dd{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=Fs(),r=Dd.prototype;r[n]||(r[n]=IC)}get changes(){return this._changes||(this._changes=new qo)}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 o=function Mn(e){return e.flat(Number.POSITIVE_INFINITY)}(t);(this._changesDetected=!function Gi(e,t,n){if(e.length!==t.length)return!1;for(let r=0;r{class e{}return e.__NG_ELEMENT_ID__=AC,e})();const TC=Pu,MC=class extends TC{constructor(t,n,r){super(),this._declarationLView=t,this._declarationTContainer=n,this.elementRef=r}createEmbeddedView(t,n){const r=this._declarationTContainer.tViews,o=yc(this._declarationLView,r,t,16,null,r.declTNode,null,null,null,null,n||null);o[17]=this._declarationLView[this._declarationTContainer.index];const a=this._declarationLView[19];return null!==a&&(o[19]=a.createEmbeddedView(r)),Ol(r,o,t),new _u(o)}};function AC(){return Lc(Ut(),Y())}function Lc(e,t){return 4&e.type?new MC(t,e,Ea(e,t)):null}let kc=(()=>{class e{}return e.__NG_ELEMENT_ID__=RC,e})();function RC(){return Sg(Ut(),Y())}const xC=kc,Eg=class extends xC{constructor(t,n,r){super(),this._lContainer=t,this._hostTNode=n,this._hostLView=r}get element(){return Ea(this._hostTNode,this._hostLView)}get injector(){return new No(this._hostTNode,this._hostLView)}get parentInjector(){const t=ys(this._hostTNode,this._hostLView);if(ms(t)){const n=ui(t,this._hostLView),r=ji(t);return new No(n[1].data[r+8],n)}return new No(null,this._hostLView)}clear(){for(;this.length>0;)this.remove(this.length-1)}get(t){const n=wg(this._lContainer);return null!==n&&n[t]||null}get length(){return this._lContainer.length-10}createEmbeddedView(t,n,r){let o,i;"number"==typeof r?o=r:null!=r&&(o=r.index,i=r.injector);const a=t.createEmbeddedView(n||{},i);return this.insert(a,o),a}createComponent(t,n,r,o,i){const a=t&&!function zi(e){return"function"==typeof e}(t);let l;if(a)l=n;else{const R=n||{};l=R.index,r=R.injector,o=R.projectableNodes,i=R.environmentInjector||R.ngModuleRef}const m=a?t:new Cu(ze(t)),v=r||this.parentInjector;if(!i&&null==m.ngModule){const F=(a?v:this.parentInjector).get(Os,null);F&&(i=F)}const I=m.create(v,o,void 0,i);return this.insert(I.hostView,l),I}insert(t,n){const r=t._lView,o=r[1];if(function is(e){return Ft(e[3])}(r)){const I=this.indexOf(t);if(-1!==I)this.detach(I);else{const R=r[3],F=new Eg(R,R[6],R[3]);F.detach(F.indexOf(t))}}const i=this._adjustIndex(n),a=this._lContainer;!function rf(e,t,n,r){const o=10+r,i=n.length;r>0&&(n[o-1][4]=t),r0)r.push(a[l/2]);else{const v=i[l+1],I=t[-m];for(let R=10;R{class e{constructor(n){this.appInits=n,this.resolve=Uc,this.reject=Uc,this.initialized=!1,this.done=!1,this.donePromise=new Promise((r,o)=>{this.resolve=r,this.reject=o})}runInitializers(){if(this.initialized)return;const n=[],r=()=>{this.done=!0,this.resolve()};if(this.appInits)for(let o=0;o{i.subscribe({complete:l,error:m})});n.push(a)}}Promise.all(n).then(()=>{r()}).catch(o=>{this.reject(o)}),0===n.length&&r(),this.initialized=!0}}return e.\u0275fac=function(n){return new(n||e)(ot(Xg,8))},e.\u0275prov=st({token:e,factory:e.\u0275fac,providedIn:"root"}),e})();const em=new gt("AppId",{providedIn:"root",factory:function tm(){return`${Rd()}${Rd()}${Rd()}`}});function Rd(){return String.fromCharCode(97+Math.floor(25*Math.random()))}const nm=new gt("Platform Initializer"),ob=new gt("Platform ID",{providedIn:"platform",factory:()=>"unknown"}),rm=new gt("appBootstrapListener");let ib=(()=>{class e{log(n){console.log(n)}warn(n){console.warn(n)}}return e.\u0275fac=function(n){return new(n||e)},e.\u0275prov=st({token:e,factory:e.\u0275fac,providedIn:"platform"}),e})();const Hc=new gt("LocaleId",{providedIn:"root",factory:()=>Sn(Hc,ie.Optional|ie.SkipSelf)||function sb(){return typeof $localize<"u"&&$localize.locale||Ua}()}),ab=new gt("DefaultCurrencyCode",{providedIn:"root",factory:()=>"USD"});class ub{constructor(t,n){this.ngModuleFactory=t,this.componentFactories=n}}let cb=(()=>{class e{compileModuleSync(n){return new gd(n)}compileModuleAsync(n){return Promise.resolve(this.compileModuleSync(n))}compileModuleAndAllComponentsSync(n){const r=this.compileModuleSync(n),i=vi(gn(n).declarations).reduce((a,l)=>{const m=ze(l);return m&&a.push(new Cu(m)),a},[]);return new ub(r,i)}compileModuleAndAllComponentsAsync(n){return Promise.resolve(this.compileModuleAndAllComponentsSync(n))}clearCache(){}clearCacheFor(n){}getModuleId(n){}}return e.\u0275fac=function(n){return new(n||e)},e.\u0275prov=st({token:e,factory:e.\u0275fac,providedIn:"root"}),e})();const fb=(()=>Promise.resolve(0))();function xd(e){typeof Zone>"u"?fb.then(()=>{e&&e.apply(null,null)}):Zone.current.scheduleMicroTask("scheduleMicrotask",e)}class Yr{constructor({enableLongStackTrace:t=!1,shouldCoalesceEventChangeDetection:n=!1,shouldCoalesceRunChangeDetection:r=!1}){if(this.hasPendingMacrotasks=!1,this.hasPendingMicrotasks=!1,this.isStable=!0,this.onUnstable=new qo(!1),this.onMicrotaskEmpty=new qo(!1),this.onStable=new qo(!1),this.onError=new qo(!1),typeof Zone>"u")throw new Ee(908,!1);Zone.assertZonePatched();const o=this;o._nesting=0,o._outer=o._inner=Zone.current,Zone.TaskTrackingZoneSpec&&(o._inner=o._inner.fork(new Zone.TaskTrackingZoneSpec)),t&&Zone.longStackTraceZoneSpec&&(o._inner=o._inner.fork(Zone.longStackTraceZoneSpec)),o.shouldCoalesceEventChangeDetection=!r&&n,o.shouldCoalesceRunChangeDetection=r,o.lastRequestAnimationFrameId=-1,o.nativeRequestAnimationFrame=function hb(){let e=at.requestAnimationFrame,t=at.cancelAnimationFrame;if(typeof Zone<"u"&&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 mb(e){const t=()=>{!function gb(e){e.isCheckStableRunning||-1!==e.lastRequestAnimationFrameId||(e.lastRequestAnimationFrameId=e.nativeRequestAnimationFrame.call(at,()=>{e.fakeTopEventTask||(e.fakeTopEventTask=Zone.root.scheduleEventTask("fakeTopEventTask",()=>{e.lastRequestAnimationFrameId=-1,Od(e),e.isCheckStableRunning=!0,Pd(e),e.isCheckStableRunning=!1},void 0,()=>{},()=>{})),e.fakeTopEventTask.invoke()}),Od(e))}(e)};e._inner=e._inner.fork({name:"angular",properties:{isAngularZone:!0},onInvokeTask:(n,r,o,i,a,l)=>{try{return sm(e),n.invokeTask(o,i,a,l)}finally{(e.shouldCoalesceEventChangeDetection&&"eventTask"===i.type||e.shouldCoalesceRunChangeDetection)&&t(),am(e)}},onInvoke:(n,r,o,i,a,l,m)=>{try{return sm(e),n.invoke(o,i,a,l,m)}finally{e.shouldCoalesceRunChangeDetection&&t(),am(e)}},onHasTask:(n,r,o,i)=>{n.hasTask(o,i),r===o&&("microTask"==i.change?(e._hasPendingMicrotasks=i.microTask,Od(e),Pd(e)):"macroTask"==i.change&&(e.hasPendingMacrotasks=i.macroTask))},onHandleError:(n,r,o,i)=>(n.handleError(o,i),e.runOutsideAngular(()=>e.onError.emit(i)),!1)})}(o)}static isInAngularZone(){return typeof Zone<"u"&&!0===Zone.current.get("isAngularZone")}static assertInAngularZone(){if(!Yr.isInAngularZone())throw new Ee(909,!1)}static assertNotInAngularZone(){if(Yr.isInAngularZone())throw new Ee(909,!1)}run(t,n,r){return this._inner.run(t,n,r)}runTask(t,n,r,o){const i=this._inner,a=i.scheduleEventTask("NgZoneEvent: "+o,t,pb,Uc,Uc);try{return i.runTask(a,n,r)}finally{i.cancelTask(a)}}runGuarded(t,n,r){return this._inner.runGuarded(t,n,r)}runOutsideAngular(t){return this._outer.run(t)}}const pb={};function Pd(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 Od(e){e.hasPendingMicrotasks=!!(e._hasPendingMicrotasks||(e.shouldCoalesceEventChangeDetection||e.shouldCoalesceRunChangeDetection)&&-1!==e.lastRequestAnimationFrameId)}function sm(e){e._nesting++,e.isStable&&(e.isStable=!1,e.onUnstable.emit(null))}function am(e){e._nesting--,Pd(e)}class yb{constructor(){this.hasPendingMicrotasks=!1,this.hasPendingMacrotasks=!1,this.isStable=!0,this.onUnstable=new qo,this.onMicrotaskEmpty=new qo,this.onStable=new qo,this.onError=new qo}run(t,n,r){return t.apply(n,r)}runGuarded(t,n,r){return t.apply(n,r)}runOutsideAngular(t){return t()}runTask(t,n,r,o){return t.apply(n,r)}}const um=new gt(""),cm=new gt("");let Nd,vb=(()=>{class e{constructor(n,r,o){this._ngZone=n,this.registry=r,this._pendingCount=0,this._isZoneStable=!0,this._didWork=!1,this._callbacks=[],this.taskTrackingZone=null,Nd||(function Db(e){Nd=e}(o),o.addToWindow(r)),this._watchAngularEvents(),n.run(()=>{this.taskTrackingZone=typeof Zone>"u"?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:()=>{Yr.assertNotInAngularZone(),xd(()=>{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())xd(()=>{for(;0!==this._callbacks.length;){let n=this._callbacks.pop();clearTimeout(n.timeoutId),n.doneCb(this._didWork)}this._didWork=!1});else{let n=this.getPendingTasks();this._callbacks=this._callbacks.filter(r=>!r.updateCb||!r.updateCb(n)||(clearTimeout(r.timeoutId),!1)),this._didWork=!0}}getPendingTasks(){return this.taskTrackingZone?this.taskTrackingZone.macroTasks.map(n=>({source:n.source,creationLocation:n.creationLocation,data:n.data})):[]}addCallback(n,r,o){let i=-1;r&&r>0&&(i=setTimeout(()=>{this._callbacks=this._callbacks.filter(a=>a.timeoutId!==i),n(this._didWork,this.getPendingTasks())},r)),this._callbacks.push({doneCb:n,timeoutId:i,updateCb:o})}whenStable(n,r,o){if(o&&!this.taskTrackingZone)throw new Error('Task tracking zone is required when passing an update callback to whenStable(). Is "zone.js/plugins/task-tracking" loaded?');this.addCallback(n,r,o),this._runCallbacksIfReady()}getPendingRequestCount(){return this._pendingCount}registerApplication(n){this.registry.registerApplication(n,this)}unregisterApplication(n){this.registry.unregisterApplication(n)}findProviders(n,r,o){return[]}}return e.\u0275fac=function(n){return new(n||e)(ot(Yr),ot(lm),ot(cm))},e.\u0275prov=st({token:e,factory:e.\u0275fac}),e})(),lm=(()=>{class e{constructor(){this._applications=new Map}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)??null}}return e.\u0275fac=function(n){return new(n||e)},e.\u0275prov=st({token:e,factory:e.\u0275fac,providedIn:"platform"}),e})(),Xi=null;const dm=new gt("AllowMultipleToken"),Fd=new gt("PlatformDestroyListeners");class bb{constructor(t,n){this.name=t,this.token=n}}function hm(e,t,n=[]){const r=`Platform: ${t}`,o=new gt(r);return(i=[])=>{let a=Ld();if(!a||a.injector.get(dm,!1)){const l=[...n,...i,{provide:o,useValue:!0}];e?e(l):function Eb(e){if(Xi&&!Xi.get(dm,!1))throw new Ee(400,!1);Xi=e;const t=e.get(gm);(function fm(e){const t=e.get(nm,null);t&&t.forEach(n=>n())})(e)}(function pm(e=[],t){return Ns.create({name:t,providers:[{provide:Cl,useValue:"platform"},{provide:Fd,useValue:new Set([()=>Xi=null])},...e]})}(l,r))}return function Sb(e){const t=Ld();if(!t)throw new Ee(401,!1);return t}()}}function Ld(){return Xi?.get(gm)??null}let gm=(()=>{class e{constructor(n){this._injector=n,this._modules=[],this._destroyListeners=[],this._destroyed=!1}bootstrapModuleFactory(n,r){const o=function ym(e,t){let n;return n="noop"===e?new yb:("zone.js"===e?void 0:e)||new Yr(t),n}(r?.ngZone,function mm(e){return{enableLongStackTrace:!1,shouldCoalesceEventChangeDetection:!(!e||!e.ngZoneEventCoalescing)||!1,shouldCoalesceRunChangeDetection:!(!e||!e.ngZoneRunCoalescing)||!1}}(r)),i=[{provide:Yr,useValue:o}];return o.run(()=>{const a=Ns.create({providers:i,parent:this.injector,name:n.moduleType.name}),l=n.create(a),m=l.injector.get(vu,null);if(!m)throw new Ee(402,!1);return o.runOutsideAngular(()=>{const v=o.onError.subscribe({next:I=>{m.handleError(I)}});l.onDestroy(()=>{Vc(this._modules,l),v.unsubscribe()})}),function vm(e,t,n){try{const r=n();return Jl(r)?r.catch(o=>{throw t.runOutsideAngular(()=>e.handleError(o)),o}):r}catch(r){throw t.runOutsideAngular(()=>e.handleError(r)),r}}(m,o,()=>{const v=l.injector.get(Bc);return v.runInitializers(),v.donePromise.then(()=>(function xp(e){Gt(e,"Expected localeId to be defined"),"string"==typeof e&&(Rp=e.toLowerCase().replace(/_/g,"-"))}(l.injector.get(Hc,Ua)||Ua),this._moduleDoBootstrap(l),l))})})}bootstrapModule(n,r=[]){const o=Dm({},r);return function _b(e,t,n){const r=new gd(n);return Promise.resolve(r)}(0,0,n).then(i=>this.bootstrapModuleFactory(i,o))}_moduleDoBootstrap(n){const r=n.injector.get($c);if(n._bootstrapComponents.length>0)n._bootstrapComponents.forEach(o=>r.bootstrap(o));else{if(!n.instance.ngDoBootstrap)throw new Ee(403,!1);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 Ee(404,!1);this._modules.slice().forEach(r=>r.destroy()),this._destroyListeners.forEach(r=>r());const n=this._injector.get(Fd,null);n&&(n.forEach(r=>r()),n.clear()),this._destroyed=!0}get destroyed(){return this._destroyed}}return e.\u0275fac=function(n){return new(n||e)(ot(Ns))},e.\u0275prov=st({token:e,factory:e.\u0275fac,providedIn:"platform"}),e})();function Dm(e,t){return Array.isArray(t)?t.reduce(Dm,e):{...e,...t}}let $c=(()=>{class e{constructor(n,r,o){this._zone=n,this._injector=r,this._exceptionHandler=o,this._bootstrapListeners=[],this._views=[],this._runningTick=!1,this._stable=!0,this._destroyed=!1,this._destroyListeners=[],this.componentTypes=[],this.components=[],this._onMicrotaskEmptySubscription=this._zone.onMicrotaskEmpty.subscribe({next:()=>{this._zone.run(()=>{this.tick()})}});const i=new H.y(l=>{this._stable=this._zone.isStable&&!this._zone.hasPendingMacrotasks&&!this._zone.hasPendingMicrotasks,this._zone.runOutsideAngular(()=>{l.next(this._stable),l.complete()})}),a=new H.y(l=>{let m;this._zone.runOutsideAngular(()=>{m=this._zone.onStable.subscribe(()=>{Yr.assertNotInAngularZone(),xd(()=>{!this._stable&&!this._zone.hasPendingMacrotasks&&!this._zone.hasPendingMicrotasks&&(this._stable=!0,l.next(!0))})})});const v=this._zone.onUnstable.subscribe(()=>{Yr.assertInAngularZone(),this._stable&&(this._stable=!1,this._zone.runOutsideAngular(()=>{l.next(!1)}))});return()=>{m.unsubscribe(),v.unsubscribe()}});this.isStable=function ae(...e){let t=Number.POSITIVE_INFINITY,n=null,r=e[e.length-1];return(0,re.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 H.y?e[0]:(0,de.J)(t)((0,Q.n)(e,n))}(i,a.pipe(function J(){return e=>(0,j.x)()(function z(e,t){return function(r){let o;if(o="function"==typeof e?e:function(){return e},"function"==typeof t)return r.lift(new k(o,t));const i=Object.create(r,q.N);return i.source=r,i.subjectFactory=o,i}}(G)(e))}()))}get destroyed(){return this._destroyed}get injector(){return this._injector}bootstrap(n,r){const o=n instanceof xf;if(!this._injector.get(Bc).done)throw!o&&fr(n),new Ee(405,false);let a;a=o?n:this._injector.get(mu).resolveComponentFactory(n),this.componentTypes.push(a.componentType);const l=function Cb(e){return e.isBoundToModule}(a)?void 0:this._injector.get(Ba),v=a.create(Ns.NULL,[],r||a.selector,l),I=v.location.nativeElement,R=v.injector.get(um,null);return R?.registerApplication(I),v.onDestroy(()=>{this.detachView(v.hostView),Vc(this.components,v),R?.unregisterApplication(I)}),this._loadComponent(v),v}tick(){if(this._runningTick)throw new Ee(101,!1);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;Vc(this._views,r),r.detachFromAppRef()}_loadComponent(n){this.attachView(n.hostView),this.tick(),this.components.push(n);const r=this._injector.get(rm,[]);r.push(...this._bootstrapListeners),r.forEach(o=>o(n))}ngOnDestroy(){if(!this._destroyed)try{this._destroyListeners.forEach(n=>n()),this._views.slice().forEach(n=>n.destroy()),this._onMicrotaskEmptySubscription.unsubscribe()}finally{this._destroyed=!0,this._views=[],this._bootstrapListeners=[],this._destroyListeners=[]}}onDestroy(n){return this._destroyListeners.push(n),()=>Vc(this._destroyListeners,n)}destroy(){if(this._destroyed)throw new Ee(406,!1);const n=this._injector;n.destroy&&!n.destroyed&&n.destroy()}get viewCount(){return this._views.length}warnIfDestroyed(){}}return e.\u0275fac=function(n){return new(n||e)(ot(Yr),ot(Os),ot(vu))},e.\u0275prov=st({token:e,factory:e.\u0275fac,providedIn:"root"}),e})();function Vc(e,t){const n=e.indexOf(t);n>-1&&e.splice(n,1)}function Tb(){}let Mb=(()=>{class e{}return e.__NG_ELEMENT_ID__=Ab,e})();function Ab(e){return function Rb(e,t,n){if(or(e)&&!n){const r=Lt(e.index,t);return new _u(r,r)}return 47&e.type?new _u(t[16],t):null}(Ut(),Y(),16==(16&e))}class wm{constructor(){}supports(t){return bu(t)}create(t){return new Lb(t)}}const Fb=(e,t)=>t;class Lb{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||Fb}forEachItem(t){let n;for(n=this._itHead;null!==n;n=n._next)t(n)}forEachOperation(t){let n=this._itHead,r=this._removalsHead,o=0,i=null;for(;n||r;){const a=!r||n&&n.currentIndex{a=this._trackByFn(o,l),null!==n&&Object.is(n.trackById,a)?(r&&(n=this._verifyReinsertion(n,l,a,o)),Object.is(n.item,l)||this._addIdentityChange(n,l)):(n=this._mismatch(n,l,a,o),r=!0),n=n._next,o++}),this.length=o;return this._truncate(n),this.collection=t,this.isDirty}get isDirty(){return null!==this._additionsHead||null!==this._movesHead||null!==this._removalsHead||null!==this._identityChangesHead}_reset(){if(this.isDirty){let t;for(t=this._previousItHead=this._itHead;null!==t;t=t._next)t._nextPrevious=t._next;for(t=this._additionsHead;null!==t;t=t._nextAdded)t.previousIndex=t.currentIndex;for(this._additionsHead=this._additionsTail=null,t=this._movesHead;null!==t;t=t._nextMoved)t.previousIndex=t.currentIndex;this._movesHead=this._movesTail=null,this._removalsHead=this._removalsTail=null,this._identityChangesHead=this._identityChangesTail=null}}_mismatch(t,n,r,o){let i;return null===t?i=this._itTail:(i=t._prev,this._remove(t)),null!==(t=null===this._unlinkedRecords?null:this._unlinkedRecords.get(r,null))?(Object.is(t.item,n)||this._addIdentityChange(t,n),this._reinsertAfter(t,i,o)):null!==(t=null===this._linkedRecords?null:this._linkedRecords.get(r,o))?(Object.is(t.item,n)||this._addIdentityChange(t,n),this._moveAfter(t,i,o)):t=this._addAfter(new kb(n,r),i,o),t}_verifyReinsertion(t,n,r,o){let i=null===this._unlinkedRecords?null:this._unlinkedRecords.get(r,null);return null!==i?t=this._reinsertAfter(i,t._prev,o):t.currentIndex!=o&&(t.currentIndex=o,this._addToMoves(t,o)),t}_truncate(t){for(;null!==t;){const n=t._next;this._addToRemovals(this._unlink(t)),t=n}null!==this._unlinkedRecords&&this._unlinkedRecords.clear(),null!==this._additionsTail&&(this._additionsTail._nextAdded=null),null!==this._movesTail&&(this._movesTail._nextMoved=null),null!==this._itTail&&(this._itTail._next=null),null!==this._removalsTail&&(this._removalsTail._nextRemoved=null),null!==this._identityChangesTail&&(this._identityChangesTail._nextIdentityChange=null)}_reinsertAfter(t,n,r){null!==this._unlinkedRecords&&this._unlinkedRecords.remove(t);const o=t._prevRemoved,i=t._nextRemoved;return null===o?this._removalsHead=i:o._nextRemoved=i,null===i?this._removalsTail=o:i._prevRemoved=o,this._insertAfter(t,n,r),this._addToMoves(t,r),t}_moveAfter(t,n,r){return this._unlink(t),this._insertAfter(t,n,r),this._addToMoves(t,r),t}_addAfter(t,n,r){return this._insertAfter(t,n,r),this._additionsTail=null===this._additionsTail?this._additionsHead=t:this._additionsTail._nextAdded=t,t}_insertAfter(t,n,r){const o=null===n?this._itHead:n._next;return t._next=o,t._prev=n,null===o?this._itTail=t:o._prev=t,null===n?this._itHead=t:n._next=t,null===this._linkedRecords&&(this._linkedRecords=new Sm),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 Sm),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 kb{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 jb{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 Sm{constructor(){this.map=new Map}put(t){const n=t.trackById;let r=this.map.get(n);r||(r=new jb,this.map.set(n,r)),r.add(t)}get(t,n){const o=this.map.get(t);return o?o.get(t,n):null}remove(t){const n=t.trackById;return this.map.get(n).remove(t)&&this.map.delete(n),t}get isEmpty(){return 0===this.map.size}clear(){this.map.clear()}}function Im(e,t,n){const r=e.previousIndex;if(null===r)return r;let o=0;return n&&r{if(n&&n.key===o)this._maybeAddToChanges(n,r),this._appendAfter=n,n=n._next;else{const i=this._getOrCreateRecordForKey(o,r);n=this._insertBeforeOrAppend(n,i)}}),n){n._prev&&(n._prev._next=null),this._removalsHead=n;for(let r=n;null!==r;r=r._nextRemoved)r===this._mapHead&&(this._mapHead=null),this._records.delete(r.key),r._nextRemoved=r._next,r.previousValue=r.currentValue,r.currentValue=null,r._prev=null,r._next=null}return this._changesTail&&(this._changesTail._nextChanged=null),this._additionsTail&&(this._additionsTail._nextAdded=null),this.isDirty}_insertBeforeOrAppend(t,n){if(t){const r=t._prev;return n._next=t,n._prev=r,t._prev=n,r&&(r._next=n),t===this._mapHead&&(this._mapHead=n),this._appendAfter=t,t}return this._appendAfter?(this._appendAfter._next=n,n._prev=this._appendAfter):this._mapHead=n,this._appendAfter=n,null}_getOrCreateRecordForKey(t,n){if(this._records.has(t)){const o=this._records.get(t);this._maybeAddToChanges(o,n);const i=o._prev,a=o._next;return i&&(i._next=a),a&&(a._prev=i),o._next=null,o._prev=null,o}const r=new Bb(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 Bb{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 Mm(){return new Hd([new wm])}let Hd=(()=>{class e{constructor(n){this.factories=n}static create(n,r){if(null!=r){const o=r.factories.slice();n=n.concat(o)}return new e(n)}static extend(n){return{provide:e,useFactory:r=>e.create(n,r||Mm()),deps:[[e,new d,new c]]}}find(n){const r=this.factories.find(o=>o.supports(n));if(null!=r)return r;throw new Ee(901,!1)}}return e.\u0275prov=st({token:e,providedIn:"root",factory:Mm}),e})();function Am(){return new $d([new Tm])}let $d=(()=>{class e{constructor(n){this.factories=n}static create(n,r){if(r){const o=r.factories.slice();n=n.concat(o)}return new e(n)}static extend(n){return{provide:e,useFactory:r=>e.create(n,r||Am()),deps:[[e,new d,new c]]}}find(n){const r=this.factories.find(o=>o.supports(n));if(r)return r;throw new Ee(901,!1)}}return e.\u0275prov=st({token:e,providedIn:"root",factory:Am}),e})();const Vb=hm(null,"core",[]);let zb=(()=>{class e{constructor(n){}}return e.\u0275fac=function(n){return new(n||e)(ot($c))},e.\u0275mod=kr({type:e}),e.\u0275inj=wt({}),e})();function Gb(e){return"boolean"==typeof e?e:null!=e&&"false"!==e}},481:(Le,he,N)=>{N.d(he,{Dx:()=>er,b2:()=>Nr,q6:()=>Bn});var g=N(895),A=N(738);class H extends g.w_{constructor(){super(...arguments),this.supportsDOMEvents=!0}}class re extends H{static makeCurrent(){(0,g.HT)(new re)}onAndCancel(C,T,x){return C.addEventListener(T,x,!1),()=>{C.removeEventListener(T,x,!1)}}dispatchEvent(C,T){C.dispatchEvent(T)}remove(C){C.parentNode&&C.parentNode.removeChild(C)}createElement(C,T){return(T=T||this.getDefaultDocument()).createElement(C)}createHtmlDocument(){return document.implementation.createHTMLDocument("fakeTitle")}getDefaultDocument(){return document}isElementNode(C){return C.nodeType===Node.ELEMENT_NODE}isShadowRoot(C){return C instanceof DocumentFragment}getGlobalEventTarget(C,T){return"window"===T?window:"document"===T?C:"body"===T?C.body:null}getBaseHref(C){const T=function Q(){return de=de||document.querySelector("base"),de?de.getAttribute("href"):null}();return null==T?null:function q(b){ae=ae||document.createElement("a"),ae.setAttribute("href",b);const C=ae.pathname;return"/"===C.charAt(0)?C:`/${C}`}(T)}resetBaseElement(){de=null}getUserAgent(){return window.navigator.userAgent}getCookie(C){return(0,g.Mx)(document.cookie,C)}}let ae,de=null;const z=new A.OlP("TRANSITION_ID"),j=[{provide:A.ip1,useFactory:function k(b,C,T){return()=>{T.get(A.CZH).donePromise.then(()=>{const x=(0,g.q)(),B=C.querySelectorAll(`style[ng-transition="${b}"]`);for(let oe=0;oe{class b{build(){return new XMLHttpRequest}}return b.\u0275fac=function(T){return new(T||b)},b.\u0275prov=A.Yz7({token:b,factory:b.\u0275fac}),b})();const X=new A.OlP("EventManagerPlugins");let Te=(()=>{class b{constructor(T,x){this._zone=x,this._eventNameToPlugin=new Map,T.forEach(B=>B.manager=this),this._plugins=T.slice().reverse()}addEventListener(T,x,B){return this._findPluginFor(x).addEventListener(T,x,B)}addGlobalEventListener(T,x,B){return this._findPluginFor(x).addGlobalEventListener(T,x,B)}getZone(){return this._zone}_findPluginFor(T){const x=this._eventNameToPlugin.get(T);if(x)return x;const B=this._plugins;for(let oe=0;oe{class b{constructor(){this._stylesSet=new Set}addStyles(T){const x=new Set;T.forEach(B=>{this._stylesSet.has(B)||(this._stylesSet.add(B),x.add(B))}),this.onStylesAdded(x)}onStylesAdded(T){}getAllStyles(){return Array.from(this._stylesSet)}}return b.\u0275fac=function(T){return new(T||b)},b.\u0275prov=A.Yz7({token:b,factory:b.\u0275fac}),b})(),tt=(()=>{class b extends Se{constructor(T){super(),this._doc=T,this._hostNodes=new Map,this._hostNodes.set(T.head,[])}_addStylesToHost(T,x,B){T.forEach(oe=>{const ee=this._doc.createElement("style");ee.textContent=oe,B.push(x.appendChild(ee))})}addHost(T){const x=[];this._addStylesToHost(this._stylesSet,T,x),this._hostNodes.set(T,x)}removeHost(T){const x=this._hostNodes.get(T);x&&x.forEach(Ye),this._hostNodes.delete(T)}onStylesAdded(T){this._hostNodes.forEach((x,B)=>{this._addStylesToHost(T,B,x)})}ngOnDestroy(){this._hostNodes.forEach(T=>T.forEach(Ye))}}return b.\u0275fac=function(T){return new(T||b)(A.LFG(g.K0))},b.\u0275prov=A.Yz7({token:b,factory:b.\u0275fac}),b})();function Ye(b){(0,g.q)().remove(b)}const le={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/",math:"http://www.w3.org/1998/MathML/"},Zt=/%COMP%/g;function ye(b,C){return C.flat(100).map(T=>T.replace(Zt,b))}function Ne(b){return C=>{if("__ngUnwrap__"===C)return b;!1===b(C)&&(C.preventDefault(),C.returnValue=!1)}}let Ce=(()=>{class b{constructor(T,x,B){this.eventManager=T,this.sharedStylesHost=x,this.appId=B,this.rendererByCompId=new Map,this.defaultRenderer=new Bt(T)}createRenderer(T,x){if(!T||!x)return this.defaultRenderer;switch(x.encapsulation){case A.ifc.Emulated:{let B=this.rendererByCompId.get(x.id);return B||(B=new Qt(this.eventManager,this.sharedStylesHost,x,this.appId),this.rendererByCompId.set(x.id,B)),B.applyToHost(T),B}case 1:case A.ifc.ShadowDom:return new We(this.eventManager,this.sharedStylesHost,T,x);default:if(!this.rendererByCompId.has(x.id)){const B=ye(x.id,x.styles);this.sharedStylesHost.addStyles(B),this.rendererByCompId.set(x.id,this.defaultRenderer)}return this.defaultRenderer}}begin(){}end(){}}return b.\u0275fac=function(T){return new(T||b)(A.LFG(Te),A.LFG(tt),A.LFG(A.AFp))},b.\u0275prov=A.Yz7({token:b,factory:b.\u0275fac}),b})();class Bt{constructor(C){this.eventManager=C,this.data=Object.create(null),this.destroyNode=null}destroy(){}createElement(C,T){return T?document.createElementNS(le[T]||T,C):document.createElement(C)}createComment(C){return document.createComment(C)}createText(C){return document.createTextNode(C)}appendChild(C,T){(Kr(C)?C.content:C).appendChild(T)}insertBefore(C,T,x){C&&(Kr(C)?C.content:C).insertBefore(T,x)}removeChild(C,T){C&&C.removeChild(T)}selectRootElement(C,T){let x="string"==typeof C?document.querySelector(C):C;if(!x)throw new Error(`The selector "${C}" did not match any elements`);return T||(x.textContent=""),x}parentNode(C){return C.parentNode}nextSibling(C){return C.nextSibling}setAttribute(C,T,x,B){if(B){T=B+":"+T;const oe=le[B];oe?C.setAttributeNS(oe,T,x):C.setAttribute(T,x)}else C.setAttribute(T,x)}removeAttribute(C,T,x){if(x){const B=le[x];B?C.removeAttributeNS(B,T):C.removeAttribute(`${x}:${T}`)}else C.removeAttribute(T)}addClass(C,T){C.classList.add(T)}removeClass(C,T){C.classList.remove(T)}setStyle(C,T,x,B){B&(A.JOm.DashCase|A.JOm.Important)?C.style.setProperty(T,x,B&A.JOm.Important?"important":""):C.style[T]=x}removeStyle(C,T,x){x&A.JOm.DashCase?C.style.removeProperty(T):C.style[T]=""}setProperty(C,T,x){C[T]=x}setValue(C,T){C.nodeValue=T}listen(C,T,x){return"string"==typeof C?this.eventManager.addGlobalEventListener(C,T,Ne(x)):this.eventManager.addEventListener(C,T,Ne(x))}}function Kr(b){return"TEMPLATE"===b.tagName&&void 0!==b.content}class Qt extends Bt{constructor(C,T,x,B){super(C),this.component=x;const oe=ye(B+"-"+x.id,x.styles);T.addStyles(oe),this.contentAttr=function _t(b){return"_ngcontent-%COMP%".replace(Zt,b)}(B+"-"+x.id),this.hostAttr=function ge(b){return"_nghost-%COMP%".replace(Zt,b)}(B+"-"+x.id)}applyToHost(C){super.setAttribute(C,this.hostAttr,"")}createElement(C,T){const x=super.createElement(C,T);return super.setAttribute(x,this.contentAttr,""),x}}class We extends Bt{constructor(C,T,x,B){super(C),this.sharedStylesHost=T,this.hostEl=x,this.shadowRoot=x.attachShadow({mode:"open"}),this.sharedStylesHost.addHost(this.shadowRoot);const oe=ye(B.id,B.styles);for(let ee=0;ee{class b extends ue{constructor(T){super(T)}supports(T){return!0}addEventListener(T,x,B){return T.addEventListener(x,B,!1),()=>this.removeEventListener(T,x,B)}removeEventListener(T,x,B){return T.removeEventListener(x,B)}}return b.\u0275fac=function(T){return new(T||b)(A.LFG(g.K0))},b.\u0275prov=A.Yz7({token:b,factory:b.\u0275fac}),b})();const Or=["alt","control","meta","shift"],Rn={"\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"},Ct={alt:b=>b.altKey,control:b=>b.ctrlKey,meta:b=>b.metaKey,shift:b=>b.shiftKey};let Et=(()=>{class b extends ue{constructor(T){super(T)}supports(T){return null!=b.parseEventName(T)}addEventListener(T,x,B){const oe=b.parseEventName(x),ee=b.eventCallback(oe.fullKey,B,this.manager.getZone());return this.manager.getZone().runOutsideAngular(()=>(0,g.q)().onAndCancel(T,oe.domEventName,ee))}static parseEventName(T){const x=T.toLowerCase().split("."),B=x.shift();if(0===x.length||"keydown"!==B&&"keyup"!==B)return null;const oe=b._normalizeKey(x.pop());let ee="",se=x.indexOf("code");if(se>-1&&(x.splice(se,1),ee="code."),Or.forEach($t=>{const un=x.indexOf($t);un>-1&&(x.splice(un,1),ee+=$t+".")}),ee+=oe,0!=x.length||0===oe.length)return null;const Ze={};return Ze.domEventName=B,Ze.fullKey=ee,Ze}static matchEventFullKeyCode(T,x){let B=Rn[T.key]||T.key,oe="";return x.indexOf("code.")>-1&&(B=T.code,oe="code."),!(null==B||!B)&&(B=B.toLowerCase()," "===B?B="space":"."===B&&(B="dot"),Or.forEach(ee=>{ee!==B&&(0,Ct[ee])(T)&&(oe+=ee+".")}),oe+=B,oe===x)}static eventCallback(T,x,B){return oe=>{b.matchEventFullKeyCode(oe,T)&&B.runGuarded(()=>x(oe))}}static _normalizeKey(T){return"esc"===T?"escape":T}}return b.\u0275fac=function(T){return new(T||b)(A.LFG(g.K0))},b.\u0275prov=A.Yz7({token:b,factory:b.\u0275fac}),b})();const Bn=(0,A.eFA)(A._c5,"browser",[{provide:A.Lbi,useValue:g.bD},{provide:A.g9A,useValue:function Jn(){re.makeCurrent()},multi:!0},{provide:g.K0,useFactory:function cr(){return(0,A.RDi)(document),document},deps:[]}]),wt=new A.OlP(""),pt=[{provide:A.rWj,useClass:class G{addToWindow(C){A.dqk.getAngularTestability=(x,B=!0)=>{const oe=C.findTestabilityInTree(x,B);if(null==oe)throw new Error("Could not find testability for element.");return oe},A.dqk.getAllAngularTestabilities=()=>C.getAllTestabilities(),A.dqk.getAllAngularRootElements=()=>C.getAllRootElements(),A.dqk.frameworkStabilizers||(A.dqk.frameworkStabilizers=[]),A.dqk.frameworkStabilizers.push(x=>{const B=A.dqk.getAllAngularTestabilities();let oe=B.length,ee=!1;const se=function(Ze){ee=ee||Ze,oe--,0==oe&&x(ee)};B.forEach(function(Ze){Ze.whenStable(se)})})}findTestabilityInTree(C,T,x){return null==T?null:C.getTestability(T)??(x?(0,g.q)().isShadowRoot(T)?this.findTestabilityInTree(C,T.host,!0):this.findTestabilityInTree(C,T.parentElement,!0):null)}},deps:[]},{provide:A.lri,useClass:A.dDg,deps:[A.R0b,A.eoX,A.rWj]},{provide:A.dDg,useClass:A.dDg,deps:[A.R0b,A.eoX,A.rWj]}],Xn=[{provide:A.zSh,useValue:"root"},{provide:A.qLn,useFactory:function mo(){return new A.qLn},deps:[]},{provide:X,useClass:Pr,multi:!0,deps:[g.K0,A.R0b,A.Lbi]},{provide:X,useClass:Et,multi:!0,deps:[g.K0]},{provide:Ce,useClass:Ce,deps:[Te,tt,A.AFp]},{provide:A.FYo,useExisting:Ce},{provide:Se,useExisting:tt},{provide:tt,useClass:tt,deps:[g.K0]},{provide:Te,useClass:Te,deps:[X,A.R0b]},{provide:g.JF,useClass:J,deps:[]},[]];let Nr=(()=>{class b{constructor(T){}static withServerTransition(T){return{ngModule:b,providers:[{provide:A.AFp,useValue:T.appId},{provide:z,useExisting:A.AFp},j]}}}return b.\u0275fac=function(T){return new(T||b)(A.LFG(wt,12))},b.\u0275mod=A.oAB({type:b}),b.\u0275inj=A.cJS({providers:[...Xn,...pt],imports:[g.ez,A.hGG]}),b})(),er=(()=>{class b{constructor(T){this._doc=T}getTitle(){return this._doc.title}setTitle(T){this._doc.title=T||""}}return b.\u0275fac=function(T){return new(T||b)(A.LFG(g.K0))},b.\u0275prov=A.Yz7({token:b,factory:function(T){let x=null;return x=T?new T:function Pt(){return new er((0,A.LFG)(g.K0))}(),x},providedIn:"root"}),b})();typeof window<"u"&&window},352:(Le,he,N)=>{N.d(he,{rH:()=>Mr,Bz:()=>ga,lC:()=>$r});var g=N(738),A=N(254),H=N(86),re=N(591);const Q=(()=>{function u(){return Error.call(this),this.message="no elements in sequence",this.name="EmptyError",this}return u.prototype=Object.create(Error.prototype),u})();var ae=N(866),q=N(688),z=N(489);class k extends z.L{notifyNext(c,s,d,y,w){this.destination.next(s)}notifyError(c,s){this.destination.error(c)}notifyComplete(c){this.destination.complete()}}class j extends z.L{constructor(c,s,d){super(),this.parent=c,this.outerValue=s,this.outerIndex=d,this.index=0}_next(c){this.parent.notifyNext(this.outerValue,c,this.outerIndex,this.index++,this)}_error(c){this.parent.notifyError(c,this),this.unsubscribe()}_complete(){this.parent.notifyComplete(this),this.unsubscribe()}}var G=N(249),J=N(498);function X(u,c,s,d,y=new j(u,s,d)){if(!y.closed)return c instanceof J.y?c.subscribe(y):(0,G.s)(c)(y)}var Te=N(9);const ue={};function Se(...u){let c,s;return(0,ae.K)(u[u.length-1])&&(s=u.pop()),"function"==typeof u[u.length-1]&&(c=u.pop()),1===u.length&&(0,q.k)(u[0])&&(u=u[0]),(0,Te.n)(u,s).lift(new tt(c))}class tt{constructor(c){this.resultSelector=c}call(c,s){return s.subscribe(new Ye(c,this.resultSelector))}}class Ye extends k{constructor(c,s){super(c),this.resultSelector=s,this.active=0,this.values=[],this.observables=[]}_next(c){this.values.push(ue),this.observables.push(c)}_complete(){const c=this.observables,s=c.length;if(0===s)this.destination.complete();else{this.active=s,this.toRespond=s;for(let d=0;du.complete());function qn(u){return u?function Ee(u){return new J.y(c=>u.schedule(()=>c.complete()))}(u):qt}function _t(u){return new J.y(c=>{let s;try{s=u()}catch(y){return void c.error(y)}return(s?(0,A.D)(s):qn()).subscribe(c)})}var ge=N(843);function ye(u,c){return new J.y(c?s=>c.schedule(Ne,0,{error:u,subscriber:s}):s=>s.error(u))}function Ne({error:u,subscriber:c}){c.error(u)}var nt=N(762),Ce=N(529),Bt=N(895),Me=N(850),Ue=N(545);const Qt=(()=>{function u(){return Error.call(this),this.message="argument out of range",this.name="ArgumentOutOfRangeError",this}return u.prototype=Object.create(Error.prototype),u})();function We(u){return c=>0===u?qn():c.lift(new Pr(u))}class Pr{constructor(c){if(this.total=c,this.total<0)throw new Qt}call(c,s){return s.subscribe(new Or(c,this.total))}}class Or extends z.L{constructor(c,s){super(c),this.total=s,this.count=0}_next(c){const s=this.total,d=++this.count;d<=s&&(this.destination.next(c),d===s&&(this.destination.complete(),this.unsubscribe()))}}var Ct=N(198),Et=N(709);function rt(u=null){return c=>c.lift(new Qn(u))}class Qn{constructor(c){this.defaultValue=c}call(c,s){return s.subscribe(new Ci(c,this.defaultValue))}}class Ci extends z.L{constructor(c,s){super(c),this.defaultValue=s,this.isEmpty=!0}_next(c){this.isEmpty=!1,this.destination.next(c)}_complete(){this.isEmpty&&this.destination.next(this.defaultValue),this.destination.complete()}}function Gt(u=mo){return c=>c.lift(new Ve(u))}class Ve{constructor(c){this.errorFactory=c}call(c,s){return s.subscribe(new Jn(c,this.errorFactory))}}class Jn extends z.L{constructor(c,s){super(c),this.errorFactory=s,this.hasValue=!1}_next(c){this.hasValue=!0,this.destination.next(c)}_complete(){if(this.hasValue)return this.destination.complete();{let c;try{c=this.errorFactory()}catch(s){c=s}this.destination.error(c)}}}function mo(){return new Q}var cr=N(379);function st(u,c){const s=arguments.length>=2;return d=>d.pipe(u?(0,Ct.h)((y,w)=>u(y,w,d)):cr.y,We(1),s?rt(c):Gt(()=>new Q))}var Bn=N(406),wt=N(868),pt=N(221);function Xn(u,c){let s=!1;return arguments.length>=2&&(s=!0),function(y){return y.lift(new Nr(u,c,s))}}class Nr{constructor(c,s,d=!1){this.accumulator=c,this.seed=s,this.hasSeed=d}call(c,s){return s.subscribe(new yo(c,this.accumulator,this.seed,this.hasSeed))}}class yo extends z.L{constructor(c,s,d,y){super(c),this.accumulator=s,this._seed=d,this.hasSeed=y,this.index=0}get seed(){return this._seed}set seed(c){this.hasSeed=!0,this._seed=c}_next(c){if(this.hasSeed)return this._tryNext(c);this.seed=c,this.destination.next(c)}_tryNext(c){const s=this.index++;let d;try{d=this.accumulator(this.seed,c,s)}catch(y){this.destination.error(y)}this.seed=d,this.destination.next(d)}}function nn(u){return function(s){return 0===u?qn():s.lift(new Fr(u))}}class Fr{constructor(c){if(this.total=c,this.total<0)throw new Qt}call(c,s){return s.subscribe(new Pt(c,this.total))}}class Pt extends z.L{constructor(c,s){super(c),this.total=s,this.ring=new Array,this.count=0}_next(c){const s=this.ring,d=this.total,y=this.count++;s.length0){const d=this.count>=this.total?this.total:this.count,y=this.ring;for(let w=0;w=2;return d=>d.pipe(u?(0,Ct.h)((y,w)=>u(y,w,d)):cr.y,nn(1),s?rt(c):Gt(()=>new Q))}class Ie{constructor(c,s){this.predicate=c,this.inclusive=s}call(c,s){return s.subscribe(new ie(c,this.predicate,this.inclusive))}}class ie extends z.L{constructor(c,s,d){super(c),this.predicate=s,this.inclusive=d,this.index=0}_next(c){const s=this.destination;let d;try{d=this.predicate(c,this.index++)}catch(y){return void s.error(y)}this.nextOrComplete(c,d)}nextOrComplete(c,s){const d=this.destination;Boolean(s)?d.next(c):(this.inclusive&&d.next(c),d.complete())}}class xn{constructor(c){this.value=c}call(c,s){return s.subscribe(new Qe(c,this.value))}}class Qe extends z.L{constructor(c,s){super(c),this.value=s}_next(c){this.destination.next(this.value)}}var Pn=N(654);function Ht(u){return c=>c.lift(new at(u))}class at{constructor(c){this.callback=c}call(c,s){return s.subscribe(new vt(c,this.callback))}}class vt extends z.L{constructor(c,s){super(c),this.add(new Pn.w(s))}}var vo=N(327),ut=N(481);const De="primary",Tt=Symbol("RouteTitle");class lr{constructor(c){this.params=c||{}}has(c){return Object.prototype.hasOwnProperty.call(this.params,c)}get(c){if(this.has(c)){const s=this.params[c];return Array.isArray(s)?s[0]:s}return null}getAll(c){if(this.has(c)){const s=this.params[c];return Array.isArray(s)?s:[s]}return[]}get keys(){return Object.keys(this.params)}}function pn(u){return new lr(u)}function Lr(u,c,s){const d=s.path.split("/");if(d.length>u.length||"full"===s.pathMatch&&(c.hasChildren()||d.lengthd[w]===y)}return u===c}function wn(u){return Array.prototype.concat.apply([],u)}function Do(u){return u.length>0?u[u.length-1]:null}function Mt(u,c){for(const s in u)u.hasOwnProperty(s)&&c(u[s],s)}function Sn(u){return(0,g.CqO)(u)?u:(0,g.QGY)(u)?(0,A.D)(Promise.resolve(u)):(0,H.of)(u)}const Hn=!1,nr={exact:function b(u,c,s){if(!$t(u.segments,c.segments)||!B(u.segments,c.segments,s)||u.numberOfChildren!==c.numberOfChildren)return!1;for(const d in c.children)if(!u.children[d]||!b(u.children[d],c.children[d],s))return!1;return!0},subset:T},rn={exact:function $(u,c){return Jt(u,c)},subset:function C(u,c){return Object.keys(c).length<=Object.keys(u).length&&Object.keys(c).every(s=>vn(u[s],c[s]))},ignored:()=>!0};function dr(u,c,s){return nr[s.paths](u.root,c.root,s.matrixParams)&&rn[s.queryParams](u.queryParams,c.queryParams)&&!("exact"===s.fragment&&u.fragment!==c.fragment)}function T(u,c,s){return x(u,c,c.segments,s)}function x(u,c,s,d){if(u.segments.length>s.length){const y=u.segments.slice(0,s.length);return!(!$t(y,s)||c.hasChildren()||!B(y,s,d))}if(u.segments.length===s.length){if(!$t(u.segments,s)||!B(u.segments,s,d))return!1;for(const y in c.children)if(!u.children[y]||!T(u.children[y],c.children[y],d))return!1;return!0}{const y=s.slice(0,u.segments.length),w=s.slice(u.segments.length);return!!($t(u.segments,y)&&B(u.segments,y,d)&&u.children[De])&&x(u.children[De],c,w,d)}}function B(u,c,s){return c.every((d,y)=>rn[s](u[y].parameters,d.parameters))}class oe{constructor(c=new ee([],{}),s={},d=null){this.root=c,this.queryParams=s,this.fragment=d}get queryParamMap(){return this._queryParamMap||(this._queryParamMap=pn(this.queryParams)),this._queryParamMap}toString(){return ct.serialize(this)}}class ee{constructor(c,s){this.segments=c,this.children=s,this.parent=null,Mt(s,(d,y)=>d.parent=this)}hasChildren(){return this.numberOfChildren>0}get numberOfChildren(){return Object.keys(this.children).length}toString(){return In(this)}}class se{constructor(c,s){this.path=c,this.parameters=s}get parameterMap(){return this._parameterMap||(this._parameterMap=pn(this.parameters)),this._parameterMap}toString(){return Jo(this)}}function $t(u,c){return u.length===c.length&&u.every((s,d)=>s.path===c[d].path)}let Ot=(()=>{class u{}return u.\u0275fac=function(s){return new(s||u)},u.\u0275prov=g.Yz7({token:u,factory:function(){return new Ke},providedIn:"root"}),u})();class Ke{parse(c){const s=new Re(c);return new oe(s.parseRootSegment(),s.parseQueryParams(),s.parseFragment())}serialize(c){const s=`/${Dn(c.root,!0)}`,d=function ze(u){const c=Object.keys(u).map(s=>{const d=u[s];return Array.isArray(d)?d.map(y=>`${On(s)}=${On(y)}`).join("&"):`${On(s)}=${On(d)}`}).filter(s=>!!s);return c.length?`?${c.join("&")}`:""}(c.queryParams);return`${s}${d}${"string"==typeof c.fragment?`#${function _o(u){return encodeURI(u)}(c.fragment)}`:""}`}}const ct=new Ke;function In(u){return u.segments.map(c=>Jo(c)).join("/")}function Dn(u,c){if(!u.hasChildren())return In(u);if(c){const s=u.children[De]?Dn(u.children[De],!1):"",d=[];return Mt(u.children,(y,w)=>{w!==De&&d.push(`${w}:${Dn(y,!1)}`)}),d.length>0?`${s}(${d.join("//")})`:s}{const s=function un(u,c){let s=[];return Mt(u.children,(d,y)=>{y===De&&(s=s.concat(c(d,y)))}),Mt(u.children,(d,y)=>{y!==De&&(s=s.concat(c(d,y)))}),s}(u,(d,y)=>y===De?[Dn(u.children[De],!1)]:[`${y}:${Dn(d,!1)}`]);return 1===Object.keys(u.children).length&&null!=u.children[De]?`${In(u)}/${s[0]}`:`${In(u)}/(${s.join("//")})`}}function kt(u){return encodeURIComponent(u).replace(/%40/g,"@").replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",")}function On(u){return kt(u).replace(/%3B/gi,";")}function kr(u){return kt(u).replace(/\(/g,"%28").replace(/\)/g,"%29").replace(/%26/gi,"&")}function Co(u){return decodeURIComponent(u)}function Qo(u){return Co(u.replace(/\+/g,"%20"))}function Jo(u){return`${kr(u.path)}${function Xo(u){return Object.keys(u).map(c=>`;${kr(c)}=${kr(u[c])}`).join("")}(u.parameters)}`}const Wt=/^[^\/()?;=#]+/;function jt(u){const c=u.match(Wt);return c?c[0]:""}const fr=/^[^=?&#]+/,Nn=/^[^&#]+/;class Re{constructor(c){this.url=c,this.remaining=c}parseRootSegment(){return this.consumeOptional("/"),""===this.remaining||this.peekStartsWith("?")||this.peekStartsWith("#")?new ee([],{}):new ee([],this.parseChildren())}parseQueryParams(){const c={};if(this.consumeOptional("?"))do{this.parseQueryParam(c)}while(this.consumeOptional("&"));return c}parseFragment(){return this.consumeOptional("#")?decodeURIComponent(this.remaining):null}parseChildren(){if(""===this.remaining)return{};this.consumeOptional("/");const c=[];for(this.peekStartsWith("(")||c.push(this.parseSegment());this.peekStartsWith("/")&&!this.peekStartsWith("//")&&!this.peekStartsWith("/(");)this.capture("/"),c.push(this.parseSegment());let s={};this.peekStartsWith("/(")&&(this.capture("/"),s=this.parseParens(!0));let d={};return this.peekStartsWith("(")&&(d=this.parseParens(!1)),(c.length>0||Object.keys(s).length>0)&&(d[De]=new ee(c,s)),d}parseSegment(){const c=jt(this.remaining);if(""===c&&this.peekStartsWith(";"))throw new g.vHH(4009,Hn);return this.capture(c),new se(Co(c),this.parseMatrixParams())}parseMatrixParams(){const c={};for(;this.consumeOptional(";");)this.parseParam(c);return c}parseParam(c){const s=jt(this.remaining);if(!s)return;this.capture(s);let d="";if(this.consumeOptional("=")){const y=jt(this.remaining);y&&(d=y,this.capture(d))}c[Co(s)]=Co(d)}parseQueryParam(c){const s=function gn(u){const c=u.match(fr);return c?c[0]:""}(this.remaining);if(!s)return;this.capture(s);let d="";if(this.consumeOptional("=")){const M=function me(u){const c=u.match(Nn);return c?c[0]:""}(this.remaining);M&&(d=M,this.capture(d))}const y=Qo(s),w=Qo(d);if(c.hasOwnProperty(y)){let M=c[y];Array.isArray(M)||(M=[M],c[y]=M),M.push(w)}else c[y]=w}parseParens(c){const s={};for(this.capture("(");!this.consumeOptional(")")&&this.remaining.length>0;){const d=jt(this.remaining),y=this.remaining[d.length];if("/"!==y&&")"!==y&&";"!==y)throw new g.vHH(4010,Hn);let w;d.indexOf(":")>-1?(w=d.slice(0,d.indexOf(":")),this.capture(w),this.capture(":")):c&&(w=De);const M=this.parseChildren();s[w]=1===Object.keys(M).length?M[De]:new ee([],M),this.consumeOptional("//")}return s}peekStartsWith(c){return this.remaining.startsWith(c)}consumeOptional(c){return!!this.peekStartsWith(c)&&(this.remaining=this.remaining.substring(c.length),!0)}capture(c){if(!this.consumeOptional(c))throw new g.vHH(4011,Hn)}}function lt(u){return u.segments.length>0?new ee([],{[De]:u}):u}function Yt(u){const c={};for(const d of Object.keys(u.children)){const w=Yt(u.children[d]);(w.segments.length>0||w.hasChildren())&&(c[d]=w)}return function rr(u){if(1===u.numberOfChildren&&u.children[De]){const c=u.children[De];return new ee(u.segments.concat(c.segments),c.children)}return u}(new ee(u.segments,c))}function bt(u){return u instanceof oe}function Fe(u,c,s,d,y){if(0===s.length)return Fn(c.root,c.root,c.root,d,y);const w=function Ur(u){if("string"==typeof u[0]&&1===u.length&&"/"===u[0])return new Rt(!0,0,u);let c=0,s=!1;const d=u.reduce((y,w,M)=>{if("object"==typeof w&&null!=w){if(w.outlets){const L={};return Mt(w.outlets,(Z,ve)=>{L[ve]="string"==typeof Z?Z.split("/"):Z}),[...y,{outlets:L}]}if(w.segmentPath)return[...y,w.segmentPath]}return"string"!=typeof w?[...y,w]:0===M?(w.split("/").forEach((L,Z)=>{0==Z&&"."===L||(0==Z&&""===L?s=!0:".."===L?c++:""!=L&&y.push(L))}),y):[...y,w]},[]);return new Rt(s,c,d)}(s);return w.toRoot()?Fn(c.root,c.root,new ee([],{}),d,y):function M(Z){const ve=function qr(u,c,s,d){if(u.isAbsolute)return new _n(c.root,!0,0);if(-1===d)return new _n(s,s===c.root,0);return function ei(u,c,s){let d=u,y=c,w=s;for(;w>y;){if(w-=y,d=d.parent,!d)throw new g.vHH(4005,!1);y=d.segments.length}return new _n(d,!1,y-w)}(s,d+(jr(u.commands[0])?0:1),u.numberOfDoubleDots)}(w,c,u.snapshot?._urlSegment,Z),be=ve.processChildren?gr(ve.segmentGroup,ve.index,w.commands):bi(ve.segmentGroup,ve.index,w.commands);return Fn(c.root,ve.segmentGroup,be,d,y)}(u.snapshot?._lastPathIndex)}function jr(u){return"object"==typeof u&&null!=u&&!u.outlets&&!u.segmentPath}function Dt(u){return"object"==typeof u&&null!=u&&u.outlets}function Fn(u,c,s,d,y){let M,w={};d&&Mt(d,(Z,ve)=>{w[ve]=Array.isArray(Z)?Z.map(be=>`${be}`):`${Z}`}),M=u===c?s:pr(u,c,s);const L=lt(Yt(M));return new oe(L,w,y)}function pr(u,c,s){const d={};return Mt(u.children,(y,w)=>{d[w]=y===c?s:pr(y,c,s)}),new ee(u.segments,d)}class Rt{constructor(c,s,d){if(this.isAbsolute=c,this.numberOfDoubleDots=s,this.commands=d,c&&d.length>0&&jr(d[0]))throw new g.vHH(4003,!1);const y=d.find(Dt);if(y&&y!==Do(d))throw new g.vHH(4004,!1)}toRoot(){return this.isAbsolute&&1===this.commands.length&&"/"==this.commands[0]}}class _n{constructor(c,s,d){this.segmentGroup=c,this.processChildren=s,this.index=d}}function bi(u,c,s){if(u||(u=new ee([],{})),0===u.segments.length&&u.hasChildren())return gr(u,c,s);const d=function Ei(u,c,s){let d=0,y=c;const w={match:!1,pathIndex:0,commandIndex:0};for(;y=s.length)return w;const M=u.segments[y],L=s[d];if(Dt(L))break;const Z=`${L}`,ve=d0&&void 0===Z)break;if(Z&&ve&&"object"==typeof ve&&void 0===ve.outlets){if(!Xt(Z,ve,M))return w;d+=2}else{if(!Xt(Z,{},M))return w;d++}y++}return{match:!0,pathIndex:y,commandIndex:d}}(u,c,s),y=s.slice(d.commandIndex);if(d.match&&d.pathIndex{"string"==typeof w&&(w=[w]),null!==w&&(y[M]=bi(u.children[M],c,w))}),Mt(u.children,(w,M)=>{void 0===d[M]&&(y[M]=w)}),new ee(u.segments,y)}}function Br(u,c,s){const d=u.segments.slice(0,c);let y=0;for(;y{"string"==typeof s&&(s=[s]),null!==s&&(c[d]=Br(new ee([],{}),0,s))}),c}function mr(u){const c={};return Mt(u,(s,d)=>c[d]=`${s}`),c}function Xt(u,c,s){return u==s.path&&Jt(c,s.parameters)}class $n{constructor(c,s){this.id=c,this.url=s}}class Nt extends $n{constructor(c,s,d="imperative",y=null){super(c,s),this.type=0,this.navigationTrigger=d,this.restoredState=y}toString(){return`NavigationStart(id: ${this.id}, url: '${this.url}')`}}class Ft extends $n{constructor(c,s,d){super(c,s),this.urlAfterRedirects=d,this.type=1}toString(){return`NavigationEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}')`}}class yr extends $n{constructor(c,s,d,y){super(c,s),this.reason=d,this.code=y,this.type=2}toString(){return`NavigationCancel(id: ${this.id}, url: '${this.url}')`}}class or extends $n{constructor(c,s,d,y){super(c,s),this.error=d,this.target=y,this.type=3}toString(){return`NavigationError(id: ${this.id}, url: '${this.url}', error: ${this.error})`}}class So extends $n{constructor(c,s,d,y){super(c,s),this.urlAfterRedirects=d,this.state=y,this.type=4}toString(){return`RoutesRecognized(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}}class Tn extends $n{constructor(c,s,d,y){super(c,s),this.urlAfterRedirects=d,this.state=y,this.type=7}toString(){return`GuardsCheckStart(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}}class ti extends $n{constructor(c,s,d,y,w){super(c,s),this.urlAfterRedirects=d,this.state=y,this.shouldActivate=w,this.type=8}toString(){return`GuardsCheckEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state}, shouldActivate: ${this.shouldActivate})`}}class wi extends $n{constructor(c,s,d,y){super(c,s),this.urlAfterRedirects=d,this.state=y,this.type=5}toString(){return`ResolveStart(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}}class es extends $n{constructor(c,s,d,y){super(c,s),this.urlAfterRedirects=d,this.state=y,this.type=6}toString(){return`ResolveEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}}class Bs{constructor(c){this.route=c,this.type=9}toString(){return`RouteConfigLoadStart(path: ${this.route.path})`}}class Hs{constructor(c){this.route=c,this.type=10}toString(){return`RouteConfigLoadEnd(path: ${this.route.path})`}}class ts{constructor(c){this.snapshot=c,this.type=11}toString(){return`ChildActivationStart(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}}class $s{constructor(c){this.snapshot=c,this.type=12}toString(){return`ChildActivationEnd(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}}class Vs{constructor(c){this.snapshot=c,this.type=13}toString(){return`ActivationStart(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}}class zs{constructor(c){this.snapshot=c,this.type=14}toString(){return`ActivationEnd(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}}class ns{constructor(c,s,d){this.routerEvent=c,this.position=s,this.anchor=d,this.type=15}toString(){return`Scroll(anchor: '${this.anchor}', position: '${this.position?`${this.position[0]}, ${this.position[1]}`:null}')`}}let za=(()=>{class u{createUrlTree(s,d,y,w,M,L){return Fe(s||d.root,y,w,M,L)}}return u.\u0275fac=function(s){return new(s||u)},u.\u0275prov=g.Yz7({token:u,factory:u.\u0275fac}),u})(),Ws=(()=>{class u{}return u.\u0275fac=function(s){return new(s||u)},u.\u0275prov=g.Yz7({token:u,factory:function(c){return za.\u0275fac(c)},providedIn:"root"}),u})();class rs{constructor(c){this._root=c}get root(){return this._root.value}parent(c){const s=this.pathFromRoot(c);return s.length>1?s[s.length-2]:null}children(c){const s=Qr(c,this._root);return s?s.children.map(d=>d.value):[]}firstChild(c){const s=Qr(c,this._root);return s&&s.children.length>0?s.children[0].value:null}siblings(c){const s=Io(c,this._root);return s.length<2?[]:s[s.length-2].children.map(y=>y.value).filter(y=>y!==c)}pathFromRoot(c){return Io(c,this._root).map(s=>s.value)}}function Qr(u,c){if(u===c.value)return c;for(const s of c.children){const d=Qr(u,s);if(d)return d}return null}function Io(u,c){if(u===c.value)return[c];for(const s of c.children){const d=Io(u,s);if(d.length)return d.unshift(c),d}return[]}class vr{constructor(c,s){this.value=c,this.children=s}toString(){return`TreeNode(${this.value})`}}function Jr(u){const c={};return u&&u.children.forEach(s=>c[s.value.outlet]=s),c}class Ys extends rs{constructor(c,s){super(c),this.snapshot=s,Dr(this,c)}toString(){return this.snapshot.toString()}}function kn(u,c){const s=function Ks(u,c){const M=new Xr([],{},{},"",{},De,c,null,u.root,-1,{});return new ri("",new vr(M,[]))}(u,c),d=new re.X([new se("",{})]),y=new re.X({}),w=new re.X({}),M=new re.X({}),L=new re.X(""),Z=new Vn(d,y,M,L,w,De,c,s.root);return Z.snapshot=s.root,new Ys(new vr(Z,[]),s)}class Vn{constructor(c,s,d,y,w,M,L,Z){this.url=c,this.params=s,this.queryParams=d,this.fragment=y,this.data=w,this.outlet=M,this.component=L,this.title=this.data?.pipe((0,Me.U)(ve=>ve[Tt]))??(0,H.of)(void 0),this._futureSnapshot=Z}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,Me.U)(c=>pn(c)))),this._paramMap}get queryParamMap(){return this._queryParamMap||(this._queryParamMap=this.queryParams.pipe((0,Me.U)(c=>pn(c)))),this._queryParamMap}toString(){return this.snapshot?this.snapshot.toString():`Future(${this._futureSnapshot})`}}function ni(u,c="emptyOnly"){const s=u.pathFromRoot;let d=0;if("always"!==c)for(d=s.length-1;d>=1;){const y=s[d],w=s[d-1];if(y.routeConfig&&""===y.routeConfig.path)d--;else{if(w.component)break;d--}}return function os(u){return u.reduce((c,s)=>({params:{...c.params,...s.params},data:{...c.data,...s.data},resolve:{...s.data,...c.resolve,...s.routeConfig?.data,...s._resolvedData}}),{params:{},data:{},resolve:{}})}(s.slice(d))}class Xr{constructor(c,s,d,y,w,M,L,Z,ve,be,Je){this.url=c,this.params=s,this.queryParams=d,this.fragment=y,this.data=w,this.outlet=M,this.component=L,this.routeConfig=Z,this._urlSegment=ve,this._lastPathIndex=be,this._resolve=Je}get title(){return this.data?.[Tt]}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=pn(this.params)),this._paramMap}get queryParamMap(){return this._queryParamMap||(this._queryParamMap=pn(this.queryParams)),this._queryParamMap}toString(){return`Route(url:'${this.url.map(d=>d.toString()).join("/")}', path:'${this.routeConfig?this.routeConfig.path:""}')`}}class ri extends rs{constructor(c,s){super(s),this.url=c,Dr(this,s)}toString(){return Si(this._root)}}function Dr(u,c){c.value._routerState=u,c.children.forEach(s=>Dr(u,s))}function Si(u){const c=u.children.length>0?` { ${u.children.map(Si).join(", ")} } `:"";return`${u.value}${c}`}function eo(u){if(u.snapshot){const c=u.snapshot,s=u._futureSnapshot;u.snapshot=s,Jt(c.queryParams,s.queryParams)||u.queryParams.next(s.queryParams),c.fragment!==s.fragment&&u.fragment.next(s.fragment),Jt(c.params,s.params)||u.params.next(s.params),function Zr(u,c){if(u.length!==c.length)return!1;for(let s=0;sJt(s.parameters,c[d].parameters))}(u.url,c.url);return s&&!(!u.parent!=!c.parent)&&(!u.parent||Ii(u.parent,c.parent))}function Hr(u,c,s){if(s&&u.shouldReuseRoute(c.value,s.value.snapshot)){const d=s.value;d._futureSnapshot=c.value;const y=function Ti(u,c,s){return c.children.map(d=>{for(const y of s.children)if(u.shouldReuseRoute(d.value,y.value.snapshot))return Hr(u,d,y);return Hr(u,d)})}(u,c,s);return new vr(d,y)}{if(u.shouldAttach(c.value)){const w=u.retrieve(c.value);if(null!==w){const M=w.route;return M.value._futureSnapshot=c.value,M.children=c.children.map(L=>Hr(u,L)),M}}const d=function St(u){return new Vn(new re.X(u.url),new re.X(u.params),new re.X(u.queryParams),new re.X(u.fragment),new re.X(u.data),u.outlet,u.component,u)}(c.value),y=c.children.map(w=>Hr(u,w));return new vr(d,y)}}const To="ngNavigationCancelingError";function to(u,c){const{redirectTo:s,navigationBehaviorOptions:d}=bt(c)?{redirectTo:c,navigationBehaviorOptions:void 0}:c,y=cn(!1,0,c);return y.url=s,y.navigationBehaviorOptions=d,y}function cn(u,c,s){const d=new Error("NavigationCancelingError: "+(u||""));return d[To]=!0,d.cancellationCode=c,s&&(d.url=s),d}function Mi(u){return oi(u)&&bt(u.url)}function oi(u){return u&&u[To]}class no{constructor(){this.outlet=null,this.route=null,this.resolver=null,this.injector=null,this.children=new Lt,this.attachRef=null}}let Lt=(()=>{class u{constructor(){this.contexts=new Map}onChildOutletCreated(s,d){const y=this.getOrCreateContext(s);y.outlet=d,this.contexts.set(s,y)}onChildOutletDestroyed(s){const d=this.getContext(s);d&&(d.outlet=null,d.attachRef=null)}onOutletDeactivated(){const s=this.contexts;return this.contexts=new Map,s}onOutletReAttached(s){this.contexts=s}getOrCreateContext(s){let d=this.getContext(s);return d||(d=new no,this.contexts.set(s,d)),d}getContext(s){return this.contexts.get(s)||null}}return u.\u0275fac=function(s){return new(s||u)},u.\u0275prov=g.Yz7({token:u,factory:u.\u0275fac,providedIn:"root"}),u})();const Mo=!1;let $r=(()=>{class u{constructor(){this.activated=null,this._activatedRoute=null,this.name=De,this.activateEvents=new g.vpe,this.deactivateEvents=new g.vpe,this.attachEvents=new g.vpe,this.detachEvents=new g.vpe,this.parentContexts=(0,g.f3M)(Lt),this.location=(0,g.f3M)(g.s_b),this.changeDetector=(0,g.f3M)(g.sBO),this.environmentInjector=(0,g.f3M)(g.lqb)}ngOnChanges(s){if(s.name){const{firstChange:d,previousValue:y}=s.name;if(d)return;this.isTrackedInParentContexts(y)&&(this.deactivate(),this.parentContexts.onChildOutletDestroyed(y)),this.initializeOutletWithName()}}ngOnDestroy(){this.isTrackedInParentContexts(this.name)&&this.parentContexts.onChildOutletDestroyed(this.name)}isTrackedInParentContexts(s){return this.parentContexts.getContext(s)?.outlet===this}ngOnInit(){this.initializeOutletWithName()}initializeOutletWithName(){if(this.parentContexts.onChildOutletCreated(this.name,this),this.activated)return;const s=this.parentContexts.getContext(this.name);s?.route&&(s.attachRef?this.attach(s.attachRef,s.route):this.activateWith(s.route,s.injector))}get isActivated(){return!!this.activated}get component(){if(!this.activated)throw new g.vHH(4012,Mo);return this.activated.instance}get activatedRoute(){if(!this.activated)throw new g.vHH(4012,Mo);return this._activatedRoute}get activatedRouteData(){return this._activatedRoute?this._activatedRoute.snapshot.data:{}}detach(){if(!this.activated)throw new g.vHH(4012,Mo);this.location.detach();const s=this.activated;return this.activated=null,this._activatedRoute=null,this.detachEvents.emit(s.instance),s}attach(s,d){this.activated=s,this._activatedRoute=d,this.location.insert(s.hostView),this.attachEvents.emit(s.instance)}deactivate(){if(this.activated){const s=this.component;this.activated.destroy(),this.activated=null,this._activatedRoute=null,this.deactivateEvents.emit(s)}}activateWith(s,d){if(this.isActivated)throw new g.vHH(4013,Mo);this._activatedRoute=s;const y=this.location,M=s.snapshot.component,L=this.parentContexts.getOrCreateContext(this.name).children,Z=new is(s,L,y.injector);if(d&&function _r(u){return!!u.resolveComponentFactory}(d)){const ve=d.resolveComponentFactory(M);this.activated=y.createComponent(ve,y.length,Z)}else this.activated=y.createComponent(M,{index:y.length,injector:Z,environmentInjector:d??this.environmentInjector});this.changeDetector.markForCheck(),this.activateEvents.emit(this.activated.instance)}}return u.\u0275fac=function(s){return new(s||u)},u.\u0275dir=g.lG2({type:u,selectors:[["router-outlet"]],inputs:{name:"name"},outputs:{activateEvents:"activate",deactivateEvents:"deactivate",attachEvents:"attach",detachEvents:"detach"},exportAs:["outlet"],standalone:!0,features:[g.TTD]}),u})();class is{constructor(c,s,d){this.route=c,this.childContexts=s,this.parent=d}get(c,s){return c===Vn?this.route:c===Lt?this.childContexts:this.parent.get(c,s)}}let Ao=(()=>{class u{}return u.\u0275fac=function(s){return new(s||u)},u.\u0275cmp=g.Xpm({type:u,selectors:[["ng-component"]],standalone:!0,features:[g.jDz],decls:1,vars:0,template:function(s,d){1&s&&g._UZ(0,"router-outlet")},dependencies:[$r],encapsulation:2}),u})();function It(u,c){return u.providers&&!u._injector&&(u._injector=(0,g.MMx)(u.providers,c,`Route: ${u.path}`)),u._injector??c}function Ri(u){const c=u.children&&u.children.map(Ri),s=c?{...u,children:c}:{...u};return!s.component&&!s.loadComponent&&(c||s.loadChildren)&&s.outlet&&s.outlet!==De&&(s.component=Ao),s}function Y(u){return u.outlet||De}function Ge(u,c){const s=u.filter(d=>Y(d)===c);return s.push(...u.filter(d=>Y(d)!==c)),s}function ro(u){if(!u)return null;if(u.routeConfig?._injector)return u.routeConfig._injector;for(let c=u.parent;c;c=c.parent){const s=c.routeConfig;if(s?._loadedInjector)return s._loadedInjector;if(s?._injector)return s._injector}return null}class Ut{constructor(c,s,d,y){this.routeReuseStrategy=c,this.futureState=s,this.currState=d,this.forwardEvent=y}activate(c){const s=this.futureState._root,d=this.currState?this.currState._root:null;this.deactivateChildRoutes(s,d,c),eo(this.futureState.root),this.activateChildRoutes(s,d,c)}deactivateChildRoutes(c,s,d){const y=Jr(s);c.children.forEach(w=>{const M=w.value.outlet;this.deactivateRoutes(w,y[M],d),delete y[M]}),Mt(y,(w,M)=>{this.deactivateRouteAndItsChildren(w,d)})}deactivateRoutes(c,s,d){const y=c.value,w=s?s.value:null;if(y===w)if(y.component){const M=d.getContext(y.outlet);M&&this.deactivateChildRoutes(c,s,M.children)}else this.deactivateChildRoutes(c,s,d);else w&&this.deactivateRouteAndItsChildren(s,d)}deactivateRouteAndItsChildren(c,s){c.value.component&&this.routeReuseStrategy.shouldDetach(c.value.snapshot)?this.detachAndStoreRouteSubtree(c,s):this.deactivateRouteAndOutlet(c,s)}detachAndStoreRouteSubtree(c,s){const d=s.getContext(c.value.outlet),y=d&&c.value.component?d.children:s,w=Jr(c);for(const M of Object.keys(w))this.deactivateRouteAndItsChildren(w[M],y);if(d&&d.outlet){const M=d.outlet.detach(),L=d.children.onOutletDeactivated();this.routeReuseStrategy.store(c.value.snapshot,{componentRef:M,route:c,contexts:L})}}deactivateRouteAndOutlet(c,s){const d=s.getContext(c.value.outlet),y=d&&c.value.component?d.children:s,w=Jr(c);for(const M of Object.keys(w))this.deactivateRouteAndItsChildren(w[M],y);d&&d.outlet&&(d.outlet.deactivate(),d.children.onOutletDeactivated(),d.attachRef=null,d.resolver=null,d.route=null)}activateChildRoutes(c,s,d){const y=Jr(s);c.children.forEach(w=>{this.activateRoutes(w,y[w.value.outlet],d),this.forwardEvent(new zs(w.value.snapshot))}),c.children.length&&this.forwardEvent(new $s(c.value.snapshot))}activateRoutes(c,s,d){const y=c.value,w=s?s.value:null;if(eo(y),y===w)if(y.component){const M=d.getOrCreateContext(y.outlet);this.activateChildRoutes(c,s,M.children)}else this.activateChildRoutes(c,s,d);else if(y.component){const M=d.getOrCreateContext(y.outlet);if(this.routeReuseStrategy.shouldAttach(y.snapshot)){const L=this.routeReuseStrategy.retrieve(y.snapshot);this.routeReuseStrategy.store(y.snapshot,null),M.children.onOutletReAttached(L.contexts),M.attachRef=L.componentRef,M.route=L.route.value,M.outlet&&M.outlet.attach(L.componentRef,L.route.value),eo(L.route.value),this.activateChildRoutes(c,null,M.children)}else{const L=ro(y.snapshot),Z=L?.get(g._Vd)??null;M.attachRef=null,M.route=y,M.resolver=Z,M.injector=L,M.outlet&&M.outlet.activateWith(y,M.injector),this.activateChildRoutes(c,null,M.children)}}else this.activateChildRoutes(c,null,d)}}class Cr{constructor(c){this.path=c,this.route=this.path[this.path.length-1]}}class br{constructor(c,s){this.component=c,this.route=s}}function zn(u,c,s){const d=u._root;return xo(d,c?c._root:null,s,[d.value])}function Gn(u,c){const s=Symbol(),d=c.get(u,s);return d===s?"function"!=typeof u||(0,g.Z0I)(u)?c.get(u):u:d}function xo(u,c,s,d,y={canDeactivateChecks:[],canActivateChecks:[]}){const w=Jr(c);return u.children.forEach(M=>{(function Ya(u,c,s,d,y={canDeactivateChecks:[],canActivateChecks:[]}){const w=u.value,M=c?c.value:null,L=s?s.getContext(u.value.outlet):null;if(M&&w.routeConfig===M.routeConfig){const Z=function xi(u,c,s){if("function"==typeof s)return s(u,c);switch(s){case"pathParamsChange":return!$t(u.url,c.url);case"pathParamsOrQueryParamsChange":return!$t(u.url,c.url)||!Jt(u.queryParams,c.queryParams);case"always":return!0;case"paramsOrQueryParamsChange":return!Ii(u,c)||!Jt(u.queryParams,c.queryParams);default:return!Ii(u,c)}}(M,w,w.routeConfig.runGuardsAndResolvers);Z?y.canActivateChecks.push(new Cr(d)):(w.data=M.data,w._resolvedData=M._resolvedData),xo(u,c,w.component?L?L.children:null:s,d,y),Z&&L&&L.outlet&&L.outlet.isActivated&&y.canDeactivateChecks.push(new br(L.outlet.component,M))}else M&&xt(c,L,y),y.canActivateChecks.push(new Cr(d)),xo(u,null,w.component?L?L.children:null:s,d,y)})(M,w[M.value.outlet],s,d.concat([M.value]),y),delete w[M.value.outlet]}),Mt(w,(M,L)=>xt(M,s.getContext(L),y)),y}function xt(u,c,s){const d=Jr(u),y=u.value;Mt(d,(w,M)=>{xt(w,y.component?c?c.children.getContext(M):null:c,s)}),s.canDeactivateChecks.push(new br(y.component&&c&&c.outlet&&c.outlet.isActivated?c.outlet.component:null,y))}function ln(u){return"function"==typeof u}function Po(u){return u instanceof Q||"EmptyError"===u?.name}const io=Symbol("INITIAL_VALUE");function Er(){return(0,Ue.w)(u=>Se(u.map(c=>c.pipe(We(1),function Rn(...u){const c=u[u.length-1];return(0,ae.K)(c)?(u.pop(),s=>hn(u,s,c)):s=>hn(u,s)}(io)))).pipe((0,Me.U)(c=>{for(const s of c)if(!0!==s){if(s===io)return io;if(!1===s||s instanceof oe)return s}return!0}),(0,Ct.h)(c=>c!==io),We(1)))}function Fi(u){return(0,ge.z)((0,wt.b)(c=>{if(bt(c))throw to(0,c)}),(0,Me.U)(c=>!0===c))}const D={matched:!1,consumedSegments:[],remainingSegments:[],parameters:{},positionalParamSegments:{}};function h(u,c,s,d,y){const w=S(u,c,s);return w.matched?function f(u,c,s,d){const y=c.canMatch;if(!y||0===y.length)return(0,H.of)(!0);const w=y.map(M=>{const L=Gn(M,u);return Sn(function Xs(u){return u&&ln(u.canMatch)}(L)?L.canMatch(c,s):u.runInContext(()=>L(c,s)))});return(0,H.of)(w).pipe(Er(),Fi())}(d=It(c,d),c,s).pipe((0,Me.U)(M=>!0===M?w:{...D})):(0,H.of)(w)}function S(u,c,s){if(""===c.path)return"full"===c.pathMatch&&(u.hasChildren()||s.length>0)?{...D}:{matched:!0,consumedSegments:[],remainingSegments:s,parameters:{},positionalParamSegments:{}};const y=(c.matcher||Lr)(s,u,c);if(!y)return{...D};const w={};Mt(y.posParams,(L,Z)=>{w[Z]=L.path});const M=y.consumed.length>0?{...w,...y.consumed[y.consumed.length-1].parameters}:w;return{matched:!0,consumedSegments:y.consumed,remainingSegments:s.slice(y.consumed.length),parameters:M,positionalParamSegments:y.posParams??{}}}function P(u,c,s,d){if(s.length>0&&function _e(u,c,s){return s.some(d=>$e(u,c,d)&&Y(d)!==De)}(u,s,d)){const w=new ee(c,function K(u,c,s,d){const y={};y[De]=d,d._sourceSegment=u,d._segmentIndexShift=c.length;for(const w of s)if(""===w.path&&Y(w)!==De){const M=new ee([],{});M._sourceSegment=u,M._segmentIndexShift=c.length,y[Y(w)]=M}return y}(u,c,d,new ee(s,u.children)));return w._sourceSegment=u,w._segmentIndexShift=c.length,{segmentGroup:w,slicedSegments:[]}}if(0===s.length&&function Xe(u,c,s){return s.some(d=>$e(u,c,d))}(u,s,d)){const w=new ee(u.segments,function V(u,c,s,d,y){const w={};for(const M of d)if($e(u,s,M)&&!y[Y(M)]){const L=new ee([],{});L._sourceSegment=u,L._segmentIndexShift=c.length,w[Y(M)]=L}return{...y,...w}}(u,c,s,d,u.children));return w._sourceSegment=u,w._segmentIndexShift=c.length,{segmentGroup:w,slicedSegments:s}}const y=new ee(u.segments,u.children);return y._sourceSegment=u,y._segmentIndexShift=c.length,{segmentGroup:y,slicedSegments:s}}function $e(u,c,s){return(!(u.hasChildren()||c.length>0)||"full"!==s.pathMatch)&&""===s.path}function qe(u,c,s,d){return!!(Y(u)===d||d!==De&&$e(c,s,u))&&("**"===u.path||S(c,u,s).matched)}function ke(u,c,s){return 0===c.length&&!u.children[s]}const dt=!1;class et{constructor(c){this.segmentGroup=c||null}}class Vt{constructor(c){this.urlTree=c}}function en(u){return ye(new et(u))}function on(u){return ye(new Vt(u))}class Li{constructor(c,s,d,y,w){this.injector=c,this.configLoader=s,this.urlSerializer=d,this.urlTree=y,this.config=w,this.allowRedirects=!0}apply(){const c=P(this.urlTree.root,[],[],this.config).segmentGroup,s=new ee(c.segments,c.children);return this.expandSegmentGroup(this.injector,this.config,s,De).pipe((0,Me.U)(w=>this.createUrlTree(Yt(w),this.urlTree.queryParams,this.urlTree.fragment))).pipe((0,pt.K)(w=>{if(w instanceof Vt)return this.allowRedirects=!1,this.match(w.urlTree);throw w instanceof et?this.noMatchError(w):w}))}match(c){return this.expandSegmentGroup(this.injector,this.config,c.root,De).pipe((0,Me.U)(y=>this.createUrlTree(Yt(y),c.queryParams,c.fragment))).pipe((0,pt.K)(y=>{throw y instanceof et?this.noMatchError(y):y}))}noMatchError(c){return new g.vHH(4002,dt)}createUrlTree(c,s,d){const y=lt(c);return new oe(y,s,d)}expandSegmentGroup(c,s,d,y){return 0===d.segments.length&&d.hasChildren()?this.expandChildren(c,s,d).pipe((0,Me.U)(w=>new ee([],w))):this.expandSegment(c,d,s,d.segments,y,!0)}expandChildren(c,s,d){const y=[];for(const w of Object.keys(d.children))"primary"===w?y.unshift(w):y.push(w);return(0,A.D)(y).pipe((0,Bn.b)(w=>{const M=d.children[w],L=Ge(s,w);return this.expandSegmentGroup(c,L,M,w).pipe((0,Me.U)(Z=>({segment:Z,outlet:w})))}),Xn((w,M)=>(w[M.outlet]=M.segment,w),{}),er())}expandSegment(c,s,d,y,w,M){return(0,A.D)(d).pipe((0,Bn.b)(L=>this.expandSegmentAgainstRoute(c,s,d,L,y,w,M).pipe((0,pt.K)(ve=>{if(ve instanceof et)return(0,H.of)(null);throw ve}))),st(L=>!!L),(0,pt.K)((L,Z)=>{if(Po(L))return ke(s,y,w)?(0,H.of)(new ee([],{})):en(s);throw L}))}expandSegmentAgainstRoute(c,s,d,y,w,M,L){return qe(y,s,w,M)?void 0===y.redirectTo?this.matchSegmentAgainstRoute(c,s,y,w,M):L&&this.allowRedirects?this.expandSegmentAgainstRouteUsingRedirect(c,s,d,y,w,M):en(s):en(s)}expandSegmentAgainstRouteUsingRedirect(c,s,d,y,w,M){return"**"===y.path?this.expandWildCardWithParamsAgainstRouteUsingRedirect(c,d,y,M):this.expandRegularSegmentAgainstRouteUsingRedirect(c,s,d,y,w,M)}expandWildCardWithParamsAgainstRouteUsingRedirect(c,s,d,y){const w=this.applyRedirectCommands([],d.redirectTo,{});return d.redirectTo.startsWith("/")?on(w):this.lineralizeSegments(d,w).pipe((0,Et.zg)(M=>{const L=new ee(M,{});return this.expandSegment(c,L,s,M,y,!1)}))}expandRegularSegmentAgainstRouteUsingRedirect(c,s,d,y,w,M){const{matched:L,consumedSegments:Z,remainingSegments:ve,positionalParamSegments:be}=S(s,y,w);if(!L)return en(s);const Je=this.applyRedirectCommands(Z,y.redirectTo,be);return y.redirectTo.startsWith("/")?on(Je):this.lineralizeSegments(y,Je).pipe((0,Et.zg)(Be=>this.expandSegment(c,s,d,Be.concat(ve),M,!1)))}matchSegmentAgainstRoute(c,s,d,y,w){return"**"===d.path?(c=It(d,c),d.loadChildren?(d._loadedRoutes?(0,H.of)({routes:d._loadedRoutes,injector:d._loadedInjector}):this.configLoader.loadChildren(c,d)).pipe((0,Me.U)(L=>(d._loadedRoutes=L.routes,d._loadedInjector=L.injector,new ee(y,{})))):(0,H.of)(new ee(y,{}))):h(s,d,y,c).pipe((0,Ue.w)(({matched:M,consumedSegments:L,remainingSegments:Z})=>M?this.getChildConfig(c=d._injector??c,d,y).pipe((0,Et.zg)(be=>{const Je=be.injector??c,Be=be.routes,{segmentGroup:Ar,slicedSegments:uo}=P(s,L,Z,Be),co=new ee(Ar.segments,Ar.children);if(0===uo.length&&co.hasChildren())return this.expandChildren(Je,Be,co).pipe((0,Me.U)(su=>new ee(L,su)));if(0===Be.length&&0===uo.length)return(0,H.of)(new ee(L,{}));const Yn=Y(d)===w;return this.expandSegment(Je,co,Be,uo,Yn?De:w,!0).pipe((0,Me.U)(Ts=>new ee(L.concat(Ts.segments),Ts.children)))})):en(s)))}getChildConfig(c,s,d){return s.children?(0,H.of)({routes:s.children,injector:c}):s.loadChildren?void 0!==s._loadedRoutes?(0,H.of)({routes:s._loadedRoutes,injector:s._loadedInjector}):function ps(u,c,s,d){const y=c.canLoad;if(void 0===y||0===y.length)return(0,H.of)(!0);const w=y.map(M=>{const L=Gn(M,u);return Sn(function oo(u){return u&&ln(u.canLoad)}(L)?L.canLoad(c,s):u.runInContext(()=>L(c,s)))});return(0,H.of)(w).pipe(Er(),Fi())}(c,s,d).pipe((0,Et.zg)(y=>y?this.configLoader.loadChildren(c,s).pipe((0,wt.b)(w=>{s._loadedRoutes=w.routes,s._loadedInjector=w.injector})):function Sr(u){return ye(cn(dt,3))}())):(0,H.of)({routes:[],injector:c})}lineralizeSegments(c,s){let d=[],y=s.root;for(;;){if(d=d.concat(y.segments),0===y.numberOfChildren)return(0,H.of)(d);if(y.numberOfChildren>1||!y.children[De])return ye(new g.vHH(4e3,dt));y=y.children[De]}}applyRedirectCommands(c,s,d){return this.applyRedirectCreateUrlTree(s,this.urlSerializer.parse(s),c,d)}applyRedirectCreateUrlTree(c,s,d,y){const w=this.createSegmentGroup(c,s.root,d,y);return new oe(w,this.createQueryParams(s.queryParams,this.urlTree.queryParams),s.fragment)}createQueryParams(c,s){const d={};return Mt(c,(y,w)=>{if("string"==typeof y&&y.startsWith(":")){const L=y.substring(1);d[w]=s[L]}else d[w]=y}),d}createSegmentGroup(c,s,d,y){const w=this.createSegments(c,s.segments,d,y);let M={};return Mt(s.children,(L,Z)=>{M[Z]=this.createSegmentGroup(c,L,d,y)}),new ee(w,M)}createSegments(c,s,d,y){return s.map(w=>w.path.startsWith(":")?this.findPosParam(c,w,y):this.findOrReturn(w,d))}findPosParam(c,s,d){const y=d[s.path.substring(1)];if(!y)throw new g.vHH(4001,dt);return y}findOrReturn(c,s){let d=0;for(const y of s){if(y.path===c.path)return s.splice(d),y;d++}return c}}class Fu{}class ta{constructor(c,s,d,y,w,M,L){this.injector=c,this.rootComponentType=s,this.config=d,this.urlTree=y,this.url=w,this.paramsInheritanceStrategy=M,this.urlSerializer=L}recognize(){const c=P(this.urlTree.root,[],[],this.config.filter(s=>void 0===s.redirectTo)).segmentGroup;return this.processSegmentGroup(this.injector,this.config,c,De).pipe((0,Me.U)(s=>{if(null===s)return null;const d=new Xr([],Object.freeze({}),Object.freeze({...this.urlTree.queryParams}),this.urlTree.fragment,{},De,this.rootComponentType,null,this.urlTree.root,-1,{}),y=new vr(d,s),w=new ri(this.url,y);return this.inheritParamsAndData(w._root),w}))}inheritParamsAndData(c){const s=c.value,d=ni(s,this.paramsInheritanceStrategy);s.params=Object.freeze(d.params),s.data=Object.freeze(d.data),c.children.forEach(y=>this.inheritParamsAndData(y))}processSegmentGroup(c,s,d,y){return 0===d.segments.length&&d.hasChildren()?this.processChildren(c,s,d):this.processSegment(c,s,d,d.segments,y)}processChildren(c,s,d){return(0,A.D)(Object.keys(d.children)).pipe((0,Bn.b)(y=>{const w=d.children[y],M=Ge(s,y);return this.processSegmentGroup(c,M,w,y)}),Xn((y,w)=>y&&w?(y.push(...w),y):null),function yt(u,c=!1){return s=>s.lift(new Ie(u,c))}(y=>null!==y),rt(null),er(),(0,Me.U)(y=>{if(null===y)return null;const w=ms(y);return function na(u){u.sort((c,s)=>c.value.outlet===De?-1:s.value.outlet===De?1:c.value.outlet.localeCompare(s.value.outlet))}(w),w}))}processSegment(c,s,d,y,w){return(0,A.D)(s).pipe((0,Bn.b)(M=>this.processSegmentAgainstRoute(M._injector??c,M,d,y,w)),st(M=>!!M),(0,pt.K)(M=>{if(Po(M))return ke(d,y,w)?(0,H.of)([]):(0,H.of)(null);throw M}))}processSegmentAgainstRoute(c,s,d,y,w){if(s.redirectTo||!qe(s,d,y,w))return(0,H.of)(null);let M;if("**"===s.path){const L=y.length>0?Do(y).parameters:{},Z=ui(d)+y.length,ve=new Xr(y,L,Object.freeze({...this.urlTree.queryParams}),this.urlTree.fragment,ci(s),Y(s),s.component??s._loadedComponent??null,s,oa(d),Z,Za(s));M=(0,H.of)({snapshot:ve,consumedSegments:[],remainingSegments:[]})}else M=h(d,s,y,c).pipe((0,Me.U)(({matched:L,consumedSegments:Z,remainingSegments:ve,parameters:be})=>{if(!L)return null;const Je=ui(d)+Z.length;return{snapshot:new Xr(Z,be,Object.freeze({...this.urlTree.queryParams}),this.urlTree.fragment,ci(s),Y(s),s.component??s._loadedComponent??null,s,oa(d),Je,Za(s)),consumedSegments:Z,remainingSegments:ve}}));return M.pipe((0,Ue.w)(L=>{if(null===L)return(0,H.of)(null);const{snapshot:Z,consumedSegments:ve,remainingSegments:be}=L;c=s._injector??c;const Je=s._loadedInjector??c,Be=function ai(u){return u.children?u.children:u.loadChildren?u._loadedRoutes:[]}(s),{segmentGroup:Ar,slicedSegments:uo}=P(d,ve,be,Be.filter(Yn=>void 0===Yn.redirectTo));if(0===uo.length&&Ar.hasChildren())return this.processChildren(Je,Be,Ar).pipe((0,Me.U)(Yn=>null===Yn?null:[new vr(Z,Yn)]));if(0===Be.length&&0===uo.length)return(0,H.of)([new vr(Z,[])]);const co=Y(s)===w;return this.processSegment(Je,Be,Ar,uo,co?De:w).pipe((0,Me.U)(Yn=>null===Yn?null:[new vr(Z,Yn)]))}))}}function ra(u){const c=u.value.routeConfig;return c&&""===c.path&&void 0===c.redirectTo}function ms(u){const c=[],s=new Set;for(const d of u){if(!ra(d)){c.push(d);continue}const y=c.find(w=>d.value.routeConfig===w.value.routeConfig);void 0!==y?(y.children.push(...d.children),s.add(y)):c.push(d)}for(const d of s){const y=ms(d.children);c.push(new vr(d.value,y))}return c.filter(d=>!s.has(d))}function oa(u){let c=u;for(;c._sourceSegment;)c=c._sourceSegment;return c}function ui(u){let c=u,s=c._segmentIndexShift??0;for(;c._sourceSegment;)c=c._sourceSegment,s+=c._segmentIndexShift??0;return s-1}function ci(u){return u.data||{}}function Za(u){return u.resolve||{}}function Bi(u){return"string"==typeof u.title||null===u.title}function ft(u){return(0,Ue.w)(c=>{const s=u(c);return s?(0,A.D)(s).pipe((0,Me.U)(()=>c)):(0,H.of)(c)})}const Oo=new g.OlP("ROUTES");let $i=(()=>{class u{constructor(s,d){this.injector=s,this.compiler=d,this.componentLoaders=new WeakMap,this.childrenLoaders=new WeakMap}loadComponent(s){if(this.componentLoaders.get(s))return this.componentLoaders.get(s);if(s._loadedComponent)return(0,H.of)(s._loadedComponent);this.onLoadStartListener&&this.onLoadStartListener(s);const d=Sn(s.loadComponent()).pipe((0,Me.U)(so),(0,wt.b)(w=>{this.onLoadEndListener&&this.onLoadEndListener(s),s._loadedComponent=w}),Ht(()=>{this.componentLoaders.delete(s)})),y=new nt.c(d,()=>new Ce.xQ).pipe((0,vo.x)());return this.componentLoaders.set(s,y),y}loadChildren(s,d){if(this.childrenLoaders.get(d))return this.childrenLoaders.get(d);if(d._loadedRoutes)return(0,H.of)({routes:d._loadedRoutes,injector:d._loadedInjector});this.onLoadStartListener&&this.onLoadStartListener(d);const w=this.loadModuleFactoryOrRoutes(d.loadChildren).pipe((0,Me.U)(L=>{this.onLoadEndListener&&this.onLoadEndListener(d);let Z,ve,be=!1;Array.isArray(L)?ve=L:(Z=L.create(s).injector,ve=wn(Z.get(Oo,[],g.XFs.Self|g.XFs.Optional)));return{routes:ve.map(Ri),injector:Z}}),Ht(()=>{this.childrenLoaders.delete(d)})),M=new nt.c(w,()=>new Ce.xQ).pipe((0,vo.x)());return this.childrenLoaders.set(d,M),M}loadModuleFactoryOrRoutes(s){return Sn(s()).pipe((0,Me.U)(so),(0,Et.zg)(y=>y instanceof g.YKP||Array.isArray(y)?(0,H.of)(y):(0,A.D)(this.compiler.compileModuleAsync(y))))}}return u.\u0275fac=function(s){return new(s||u)(g.LFG(g.zs3),g.LFG(g.Sil))},u.\u0275prov=g.Yz7({token:u,factory:u.\u0275fac,providedIn:"root"}),u})();function so(u){return function vs(u){return u&&"object"==typeof u&&"default"in u}(u)?u.default:u}let li=(()=>{class u{constructor(){this.currentNavigation=null,this.lastSuccessfulNavigation=null,this.events=new Ce.xQ,this.configLoader=(0,g.f3M)($i),this.environmentInjector=(0,g.f3M)(g.lqb),this.urlSerializer=(0,g.f3M)(Ot),this.rootContexts=(0,g.f3M)(Lt),this.navigationId=0,this.configLoader.onLoadEndListener=y=>this.events.next(new Hs(y)),this.configLoader.onLoadStartListener=y=>this.events.next(new Bs(y))}get hasRequestedNavigation(){return 0!==this.navigationId}complete(){this.transitions?.complete()}handleNavigationRequest(s){const d=++this.navigationId;this.transitions?.next({...this.transitions.value,...s,id:d})}setupNavigations(s){return this.transitions=new re.X({id:0,targetPageId:0,currentUrlTree:s.currentUrlTree,currentRawUrl:s.currentUrlTree,extractedUrl:s.urlHandlingStrategy.extract(s.currentUrlTree),urlAfterRedirects:s.urlHandlingStrategy.extract(s.currentUrlTree),rawUrl:s.currentUrlTree,extras:{},resolve:null,reject:null,promise:Promise.resolve(!0),source:"imperative",restoredState:null,currentSnapshot:s.routerState.snapshot,targetSnapshot:null,currentRouterState:s.routerState,targetRouterState:null,guards:{canActivateChecks:[],canDeactivateChecks:[]},guardsResult:null}),this.transitions.pipe((0,Ct.h)(d=>0!==d.id),(0,Me.U)(d=>({...d,extractedUrl:s.urlHandlingStrategy.extract(d.rawUrl)})),(0,Ue.w)(d=>{let y=!1,w=!1;return(0,H.of)(d).pipe((0,wt.b)(M=>{this.currentNavigation={id:M.id,initialUrl:M.rawUrl,extractedUrl:M.extractedUrl,trigger:M.source,extras:M.extras,previousNavigation:this.lastSuccessfulNavigation?{...this.lastSuccessfulNavigation,previousNavigation:null}:null}}),(0,Ue.w)(M=>{const L=s.browserUrlTree.toString(),Z=!s.navigated||M.extractedUrl.toString()!==L||L!==s.currentUrlTree.toString();if(("reload"===s.onSameUrlNavigation||Z)&&s.urlHandlingStrategy.shouldProcessUrl(M.rawUrl))return di(M.source)&&(s.browserUrlTree=M.extractedUrl),(0,H.of)(M).pipe((0,Ue.w)(be=>{const Je=this.transitions?.getValue();return this.events.next(new Nt(be.id,this.urlSerializer.serialize(be.extractedUrl),be.source,be.restoredState)),Je!==this.transitions?.getValue()?qt:Promise.resolve(be)}),function ki(u,c,s,d){return(0,Ue.w)(y=>function Ir(u,c,s,d,y){return new Li(u,c,s,d,y).apply()}(u,c,s,y.extractedUrl,d).pipe((0,Me.U)(w=>({...y,urlAfterRedirects:w}))))}(this.environmentInjector,this.configLoader,this.urlSerializer,s.config),(0,wt.b)(be=>{this.currentNavigation={...this.currentNavigation,finalUrl:be.urlAfterRedirects},d.urlAfterRedirects=be.urlAfterRedirects}),function sa(u,c,s,d,y){return(0,Et.zg)(w=>function gs(u,c,s,d,y,w,M="emptyOnly"){return new ta(u,c,s,d,y,M,w).recognize().pipe((0,Ue.w)(L=>null===L?function Lu(u){return new J.y(c=>c.error(u))}(new Fu):(0,H.of)(L)))}(u,c,s,w.urlAfterRedirects,d.serialize(w.urlAfterRedirects),d,y).pipe((0,Me.U)(M=>({...w,targetSnapshot:M}))))}(this.environmentInjector,s.rootComponentType,s.config,this.urlSerializer,s.paramsInheritanceStrategy),(0,wt.b)(be=>{if(d.targetSnapshot=be.targetSnapshot,"eager"===s.urlUpdateStrategy){if(!be.extras.skipLocationChange){const Be=s.urlHandlingStrategy.merge(be.urlAfterRedirects,be.rawUrl);s.setBrowserUrl(Be,be)}s.browserUrlTree=be.urlAfterRedirects}const Je=new So(be.id,this.urlSerializer.serialize(be.extractedUrl),this.urlSerializer.serialize(be.urlAfterRedirects),be.targetSnapshot);this.events.next(Je)}));if(Z&&s.rawUrlTree&&s.urlHandlingStrategy.shouldProcessUrl(s.rawUrlTree)){const{id:Je,extractedUrl:Be,source:Ar,restoredState:uo,extras:co}=M,Yn=new Nt(Je,this.urlSerializer.serialize(Be),Ar,uo);this.events.next(Yn);const iu=kn(Be,s.rootComponentType).snapshot;return d={...M,targetSnapshot:iu,urlAfterRedirects:Be,extras:{...co,skipLocationChange:!1,replaceUrl:!1}},(0,H.of)(d)}return s.rawUrlTree=M.rawUrl,M.resolve(null),qt}),(0,wt.b)(M=>{const L=new Tn(M.id,this.urlSerializer.serialize(M.extractedUrl),this.urlSerializer.serialize(M.urlAfterRedirects),M.targetSnapshot);this.events.next(L)}),(0,Me.U)(M=>d={...M,guards:zn(M.targetSnapshot,M.currentSnapshot,this.rootContexts)}),function cs(u,c){return(0,Et.zg)(s=>{const{targetSnapshot:d,currentSnapshot:y,guards:{canActivateChecks:w,canDeactivateChecks:M}}=s;return 0===M.length&&0===w.length?(0,H.of)({...s,guardsResult:!0}):function si(u,c,s,d){return(0,A.D)(u).pipe((0,Et.zg)(y=>function Ni(u,c,s,d,y){const w=c&&c.routeConfig?c.routeConfig.canDeactivate:null;if(!w||0===w.length)return(0,H.of)(!0);const M=w.map(L=>{const Z=ro(c)??y,ve=Gn(L,Z);return Sn(function us(u){return u&&ln(u.canDeactivate)}(ve)?ve.canDeactivate(u,c,s,d):Z.runInContext(()=>ve(u,c,s,d))).pipe(st())});return(0,H.of)(M).pipe(Er())}(y.component,y.route,s,c,d)),st(y=>!0!==y,!0))}(M,d,y,u).pipe((0,Et.zg)(L=>L&&function as(u){return"boolean"==typeof u}(L)?function Oi(u,c,s,d){return(0,A.D)(c).pipe((0,Bn.b)(y=>hn(function ds(u,c){return null!==u&&c&&c(new ts(u)),(0,H.of)(!0)}(y.route.parent,d),function ls(u,c){return null!==u&&c&&c(new Vs(u)),(0,H.of)(!0)}(y.route,d),function hs(u,c,s){const d=c[c.length-1],w=c.slice(0,c.length-1).reverse().map(M=>function Ro(u){const c=u.routeConfig?u.routeConfig.canActivateChild:null;return c&&0!==c.length?{node:u,guards:c}:null}(M)).filter(M=>null!==M).map(M=>_t(()=>{const L=M.guards.map(Z=>{const ve=ro(M.node)??s,be=Gn(Z,ve);return Sn(function Js(u){return u&&ln(u.canActivateChild)}(be)?be.canActivateChild(d,u):ve.runInContext(()=>be(d,u))).pipe(st())});return(0,H.of)(L).pipe(Er())}));return(0,H.of)(w).pipe(Er())}(u,y.path,s),function fs(u,c,s){const d=c.routeConfig?c.routeConfig.canActivate:null;if(!d||0===d.length)return(0,H.of)(!0);const y=d.map(w=>_t(()=>{const M=ro(c)??s,L=Gn(w,M);return Sn(function ir(u){return u&&ln(u.canActivate)}(L)?L.canActivate(c,u):M.runInContext(()=>L(c,u))).pipe(st())}));return(0,H.of)(y).pipe(Er())}(u,y.route,s))),st(y=>!0!==y,!0))}(d,w,u,c):(0,H.of)(L)),(0,Me.U)(L=>({...s,guardsResult:L})))})}(this.environmentInjector,M=>this.events.next(M)),(0,wt.b)(M=>{if(d.guardsResult=M.guardsResult,bt(M.guardsResult))throw to(0,M.guardsResult);const L=new ti(M.id,this.urlSerializer.serialize(M.extractedUrl),this.urlSerializer.serialize(M.urlAfterRedirects),M.targetSnapshot,!!M.guardsResult);this.events.next(L)}),(0,Ct.h)(M=>!!M.guardsResult||(s.restoreHistory(M),this.cancelNavigationTransition(M,"",3,s),!1)),ft(M=>{if(M.guards.canActivateChecks.length)return(0,H.of)(M).pipe((0,wt.b)(L=>{const Z=new wi(L.id,this.urlSerializer.serialize(L.extractedUrl),this.urlSerializer.serialize(L.urlAfterRedirects),L.targetSnapshot);this.events.next(Z)}),(0,Ue.w)(L=>{let Z=!1;return(0,H.of)(L).pipe(function aa(u,c){return(0,Et.zg)(s=>{const{targetSnapshot:d,guards:{canActivateChecks:y}}=s;if(!y.length)return(0,H.of)(s);let w=0;return(0,A.D)(y).pipe((0,Bn.b)(M=>function qa(u,c,s,d){const y=u.routeConfig,w=u._resolve;return void 0!==y?.title&&!Bi(y)&&(w[Tt]=y.title),function sr(u,c,s,d){const y=function Qa(u){return[...Object.keys(u),...Object.getOwnPropertySymbols(u)]}(u);if(0===y.length)return(0,H.of)({});const w={};return(0,A.D)(y).pipe((0,Et.zg)(M=>function Ui(u,c,s,d){const y=ro(c)??d,w=Gn(u,y);return Sn(w.resolve?w.resolve(c,s):y.runInContext(()=>w(c,s)))}(u[M],c,s,d).pipe(st(),(0,wt.b)(L=>{w[M]=L}))),nn(1),function tr(u){return c=>c.lift(new xn(u))}(w),(0,pt.K)(M=>Po(M)?qt:ye(M)))}(w,u,c,d).pipe((0,Me.U)(M=>(u._resolvedData=M,u.data=ni(u,s).resolve,y&&Bi(y)&&(u.data[Tt]=y.title),null)))}(M.route,d,u,c)),(0,wt.b)(()=>w++),nn(1),(0,Et.zg)(M=>w===y.length?(0,H.of)(s):qt))})}(s.paramsInheritanceStrategy,this.environmentInjector),(0,wt.b)({next:()=>Z=!0,complete:()=>{Z||(s.restoreHistory(L),this.cancelNavigationTransition(L,"",2,s))}}))}),(0,wt.b)(L=>{const Z=new es(L.id,this.urlSerializer.serialize(L.extractedUrl),this.urlSerializer.serialize(L.urlAfterRedirects),L.targetSnapshot);this.events.next(Z)}))}),ft(M=>{const L=Z=>{const ve=[];Z.routeConfig?.loadComponent&&!Z.routeConfig._loadedComponent&&ve.push(this.configLoader.loadComponent(Z.routeConfig).pipe((0,wt.b)(be=>{Z.component=be}),(0,Me.U)(()=>{})));for(const be of Z.children)ve.push(...L(be));return ve};return Se(L(M.targetSnapshot.root)).pipe(rt(),We(1))}),ft(()=>s.afterPreactivation()),(0,Me.U)(M=>{const L=function Cn(u,c,s){const d=Hr(u,c._root,s?s._root:void 0);return new Ys(d,c)}(s.routeReuseStrategy,M.targetSnapshot,M.currentRouterState);return d={...M,targetRouterState:L}}),(0,wt.b)(M=>{s.currentUrlTree=M.urlAfterRedirects,s.rawUrlTree=s.urlHandlingStrategy.merge(M.urlAfterRedirects,M.rawUrl),s.routerState=M.targetRouterState,"deferred"===s.urlUpdateStrategy&&(M.extras.skipLocationChange||s.setBrowserUrl(s.rawUrlTree,M),s.browserUrlTree=M.urlAfterRedirects)}),((u,c,s)=>(0,Me.U)(d=>(new Ut(c,d.targetRouterState,d.currentRouterState,s).activate(u),d)))(this.rootContexts,s.routeReuseStrategy,M=>this.events.next(M)),(0,wt.b)({next:M=>{y=!0,this.lastSuccessfulNavigation=this.currentNavigation,s.navigated=!0,this.events.next(new Ft(M.id,this.urlSerializer.serialize(M.extractedUrl),this.urlSerializer.serialize(s.currentUrlTree))),s.titleStrategy?.updateTitle(M.targetRouterState.snapshot),M.resolve(!0)},complete:()=>{y=!0}}),Ht(()=>{y||w||this.cancelNavigationTransition(d,"",1,s),this.currentNavigation?.id===d.id&&(this.currentNavigation=null)}),(0,pt.K)(M=>{if(w=!0,oi(M)){Mi(M)||(s.navigated=!0,s.restoreHistory(d,!0));const L=new yr(d.id,this.urlSerializer.serialize(d.extractedUrl),M.message,M.cancellationCode);if(this.events.next(L),Mi(M)){const Z=s.urlHandlingStrategy.merge(M.url,s.rawUrlTree),ve={skipLocationChange:d.extras.skipLocationChange,replaceUrl:"eager"===s.urlUpdateStrategy||di(d.source)};s.scheduleNavigation(Z,"imperative",null,ve,{resolve:d.resolve,reject:d.reject,promise:d.promise})}else d.resolve(!1)}else{s.restoreHistory(d,!0);const L=new or(d.id,this.urlSerializer.serialize(d.extractedUrl),M,d.targetSnapshot??void 0);this.events.next(L);try{d.resolve(s.errorHandler(M))}catch(Z){d.reject(Z)}}return qt}))}))}cancelNavigationTransition(s,d,y,w){const M=new yr(s.id,this.urlSerializer.serialize(s.extractedUrl),d,y);this.events.next(M),s.resolve(!1)}}return u.\u0275fac=function(s){return new(s||u)},u.\u0275prov=g.Yz7({token:u,factory:u.\u0275fac,providedIn:"root"}),u})();function di(u){return"imperative"!==u}let Tr=(()=>{class u{buildTitle(s){let d,y=s.root;for(;void 0!==y;)d=this.getResolvedTitleForRoute(y)??d,y=y.children.find(w=>w.outlet===De);return d}getResolvedTitleForRoute(s){return s.data[Tt]}}return u.\u0275fac=function(s){return new(s||u)},u.\u0275prov=g.Yz7({token:u,factory:function(){return(0,g.f3M)(ua)},providedIn:"root"}),u})(),ua=(()=>{class u extends Tr{constructor(s){super(),this.title=s}updateTitle(s){const d=this.buildTitle(s);void 0!==d&&this.title.setTitle(d)}}return u.\u0275fac=function(s){return new(s||u)(g.LFG(ut.Dx))},u.\u0275prov=g.Yz7({token:u,factory:u.\u0275fac,providedIn:"root"}),u})(),ca=(()=>{class u{}return u.\u0275fac=function(s){return new(s||u)},u.\u0275prov=g.Yz7({token:u,factory:function(){return(0,g.f3M)(No)},providedIn:"root"}),u})();class _s{shouldDetach(c){return!1}store(c,s){}shouldAttach(c){return!1}retrieve(c){return null}shouldReuseRoute(c,s){return c.routeConfig===s.routeConfig}}let No=(()=>{class u extends _s{}return u.\u0275fac=function(){let c;return function(d){return(c||(c=g.n5z(u)))(d||u)}}(),u.\u0275prov=g.Yz7({token:u,factory:u.\u0275fac,providedIn:"root"}),u})();const fi=new g.OlP("",{providedIn:"root",factory:()=>({})});let Cs=(()=>{class u{}return u.\u0275fac=function(s){return new(s||u)},u.\u0275prov=g.Yz7({token:u,factory:function(){return(0,g.f3M)(Xa)},providedIn:"root"}),u})(),Xa=(()=>{class u{shouldProcessUrl(s){return!0}extract(s){return s}merge(s,d){return s}}return u.\u0275fac=function(s){return new(s||u)},u.\u0275prov=g.Yz7({token:u,factory:u.\u0275fac,providedIn:"root"}),u})();function Es(u){throw u}function Fo(u,c,s){return c.parse("/")}const hi={paths:"exact",fragment:"ignored",matrixParams:"ignored",queryParams:"exact"},Lo={paths:"subset",fragment:"ignored",matrixParams:"ignored",queryParams:"subset"};let bn=(()=>{class u{constructor(){this.disposed=!1,this.currentPageId=0,this.console=(0,g.f3M)(g.c2e),this.isNgZoneEnabled=!1,this.options=(0,g.f3M)(fi,{optional:!0})||{},this.errorHandler=this.options.errorHandler||Es,this.malformedUriErrorHandler=this.options.malformedUriErrorHandler||Fo,this.navigated=!1,this.lastSuccessfulId=-1,this.afterPreactivation=()=>(0,H.of)(void 0),this.urlHandlingStrategy=(0,g.f3M)(Cs),this.routeReuseStrategy=(0,g.f3M)(ca),this.urlCreationStrategy=(0,g.f3M)(Ws),this.titleStrategy=(0,g.f3M)(Tr),this.onSameUrlNavigation=this.options.onSameUrlNavigation||"ignore",this.paramsInheritanceStrategy=this.options.paramsInheritanceStrategy||"emptyOnly",this.urlUpdateStrategy=this.options.urlUpdateStrategy||"deferred",this.canceledNavigationResolution=this.options.canceledNavigationResolution||"replace",this.config=wn((0,g.f3M)(Oo,{optional:!0})??[]),this.navigationTransitions=(0,g.f3M)(li),this.urlSerializer=(0,g.f3M)(Ot),this.location=(0,g.f3M)(Bt.Ye),this.rootComponentType=null,this.isNgZoneEnabled=(0,g.f3M)(g.R0b)instanceof g.R0b&&g.R0b.isInAngularZone(),this.resetConfig(this.config),this.currentUrlTree=new oe,this.rawUrlTree=this.currentUrlTree,this.browserUrlTree=this.currentUrlTree,this.routerState=kn(this.currentUrlTree,this.rootComponentType),this.navigationTransitions.setupNavigations(this).subscribe(s=>{this.lastSuccessfulId=s.id,this.currentPageId=s.targetPageId},s=>{this.console.warn(`Unhandled Navigation Error: ${s}`)})}get navigationId(){return this.navigationTransitions.navigationId}get browserPageId(){return this.location.getState()?.\u0275routerPageId}get events(){return this.navigationTransitions.events}resetRootComponentType(s){this.rootComponentType=s,this.routerState.root.component=this.rootComponentType}initialNavigation(){this.setUpLocationChangeListener(),this.navigationTransitions.hasRequestedNavigation||this.navigateByUrl(this.location.path(!0),{replaceUrl:!0})}setUpLocationChangeListener(){this.locationSubscription||(this.locationSubscription=this.location.subscribe(s=>{const d="popstate"===s.type?"popstate":"hashchange";"popstate"===d&&setTimeout(()=>{const y={replaceUrl:!0},w=s.state?.navigationId?s.state:null;if(s.state){const L={...s.state};delete L.navigationId,delete L.\u0275routerPageId,0!==Object.keys(L).length&&(y.state=L)}const M=this.parseUrl(s.url);this.scheduleNavigation(M,d,w,y)},0)}))}get url(){return this.serializeUrl(this.currentUrlTree)}getCurrentNavigation(){return this.navigationTransitions.currentNavigation}resetConfig(s){this.config=s.map(Ri),this.navigated=!1,this.lastSuccessfulId=-1}ngOnDestroy(){this.dispose()}dispose(){this.navigationTransitions.complete(),this.locationSubscription&&(this.locationSubscription.unsubscribe(),this.locationSubscription=void 0),this.disposed=!0}createUrlTree(s,d={}){const{relativeTo:y,queryParams:w,fragment:M,queryParamsHandling:L,preserveFragment:Z}=d,ve=Z?this.currentUrlTree.fragment:M;let be=null;switch(L){case"merge":be={...this.currentUrlTree.queryParams,...w};break;case"preserve":be=this.currentUrlTree.queryParams;break;default:be=w||null}return null!==be&&(be=this.removeEmptyProps(be)),this.urlCreationStrategy.createUrlTree(y,this.routerState,this.currentUrlTree,s,be,ve??null)}navigateByUrl(s,d={skipLocationChange:!1}){const y=bt(s)?s:this.parseUrl(s),w=this.urlHandlingStrategy.merge(y,this.rawUrlTree);return this.scheduleNavigation(w,"imperative",null,d)}navigate(s,d={skipLocationChange:!1}){return function ws(u){for(let c=0;c{const w=s[y];return null!=w&&(d[y]=w),d},{})}scheduleNavigation(s,d,y,w,M){if(this.disposed)return Promise.resolve(!1);let L,Z,ve,be;return M?(L=M.resolve,Z=M.reject,ve=M.promise):ve=new Promise((Je,Be)=>{L=Je,Z=Be}),"computed"===this.canceledNavigationResolution?(0===this.currentPageId&&(y=this.location.getState()),be=y&&y.\u0275routerPageId?y.\u0275routerPageId:w.replaceUrl||w.skipLocationChange?this.browserPageId??0:(this.browserPageId??0)+1):be=0,this.navigationTransitions.handleNavigationRequest({targetPageId:be,source:d,restoredState:y,currentUrlTree:this.currentUrlTree,currentRawUrl:this.currentUrlTree,rawUrl:s,extras:w,resolve:L,reject:Z,promise:ve,currentSnapshot:this.routerState.snapshot,currentRouterState:this.routerState}),ve.catch(Je=>Promise.reject(Je))}setBrowserUrl(s,d){const y=this.urlSerializer.serialize(s),w={...d.extras.state,...this.generateNgRouterState(d.id,d.targetPageId)};this.location.isCurrentPathEqualTo(y)||d.extras.replaceUrl?this.location.replaceState(y,"",w):this.location.go(y,"",w)}restoreHistory(s,d=!1){if("computed"===this.canceledNavigationResolution){const y=this.currentPageId-s.targetPageId;"popstate"!==s.source&&"eager"!==this.urlUpdateStrategy&&this.currentUrlTree!==this.getCurrentNavigation()?.finalUrl||0===y?this.currentUrlTree===this.getCurrentNavigation()?.finalUrl&&0===y&&(this.resetState(s),this.browserUrlTree=s.currentUrlTree,this.resetUrlToCurrentUrlTree()):this.location.historyGo(y)}else"replace"===this.canceledNavigationResolution&&(d&&this.resetState(s),this.resetUrlToCurrentUrlTree())}resetState(s){this.routerState=s.currentRouterState,this.currentUrlTree=s.currentUrlTree,this.rawUrlTree=this.urlHandlingStrategy.merge(this.currentUrlTree,s.rawUrl)}resetUrlToCurrentUrlTree(){this.location.replaceState(this.urlSerializer.serialize(this.rawUrlTree),"",this.generateNgRouterState(this.lastSuccessfulId,this.currentPageId))}generateNgRouterState(s,d){return"computed"===this.canceledNavigationResolution?{navigationId:s,\u0275routerPageId:d}:{navigationId:s}}}return u.\u0275fac=function(s){return new(s||u)},u.\u0275prov=g.Yz7({token:u,factory:u.\u0275fac,providedIn:"root"}),u})(),Mr=(()=>{class u{constructor(s,d,y,w,M,L){this.router=s,this.route=d,this.tabIndexAttribute=y,this.renderer=w,this.el=M,this.locationStrategy=L,this._preserveFragment=!1,this._skipLocationChange=!1,this._replaceUrl=!1,this.href=null,this.commands=null,this.onChanges=new Ce.xQ;const Z=M.nativeElement.tagName;this.isAnchorElement="A"===Z||"AREA"===Z,this.isAnchorElement?this.subscription=s.events.subscribe(ve=>{ve instanceof Ft&&this.updateHref()}):this.setTabIndexIfNotOnNativeEl("0")}set preserveFragment(s){this._preserveFragment=(0,g.D6c)(s)}get preserveFragment(){return this._preserveFragment}set skipLocationChange(s){this._skipLocationChange=(0,g.D6c)(s)}get skipLocationChange(){return this._skipLocationChange}set replaceUrl(s){this._replaceUrl=(0,g.D6c)(s)}get replaceUrl(){return this._replaceUrl}setTabIndexIfNotOnNativeEl(s){null!=this.tabIndexAttribute||this.isAnchorElement||this.applyAttributeValue("tabindex",s)}ngOnChanges(s){this.isAnchorElement&&this.updateHref(),this.onChanges.next(this)}set routerLink(s){null!=s?(this.commands=Array.isArray(s)?s:[s],this.setTabIndexIfNotOnNativeEl("0")):(this.commands=null,this.setTabIndexIfNotOnNativeEl(null))}onClick(s,d,y,w,M){return!!(null===this.urlTree||this.isAnchorElement&&(0!==s||d||y||w||M||"string"==typeof this.target&&"_self"!=this.target))||(this.router.navigateByUrl(this.urlTree,{skipLocationChange:this.skipLocationChange,replaceUrl:this.replaceUrl,state:this.state}),!this.isAnchorElement)}ngOnDestroy(){this.subscription?.unsubscribe()}updateHref(){this.href=null!==this.urlTree&&this.locationStrategy?this.locationStrategy?.prepareExternalUrl(this.router.serializeUrl(this.urlTree)):null;const s=null===this.href?null:(0,g.P3R)(this.href,this.el.nativeElement.tagName.toLowerCase(),"href");this.applyAttributeValue("href",s)}applyAttributeValue(s,d){const y=this.renderer,w=this.el.nativeElement;null!==d?y.setAttribute(w,s,d):y.removeAttribute(w,s)}get urlTree(){return null===this.commands?null:this.router.createUrlTree(this.commands,{relativeTo:void 0!==this.relativeTo?this.relativeTo:this.route,queryParams:this.queryParams,fragment:this.fragment,queryParamsHandling:this.queryParamsHandling,preserveFragment:this.preserveFragment})}}return u.\u0275fac=function(s){return new(s||u)(g.Y36(bn),g.Y36(Vn),g.$8M("tabindex"),g.Y36(g.Qsj),g.Y36(g.SBq),g.Y36(Bt.S$))},u.\u0275dir=g.lG2({type:u,selectors:[["","routerLink",""]],hostVars:1,hostBindings:function(s,d){1&s&&g.NdJ("click",function(w){return d.onClick(w.button,w.ctrlKey,w.shiftKey,w.altKey,w.metaKey)}),2&s&&g.uIk("target",d.target)},inputs:{target:"target",queryParams:"queryParams",fragment:"fragment",queryParamsHandling:"queryParamsHandling",state:"state",relativeTo:"relativeTo",preserveFragment:"preserveFragment",skipLocationChange:"skipLocationChange",replaceUrl:"replaceUrl",routerLink:"routerLink"},standalone:!0,features:[g.TTD]}),u})();class gt{}let ju=(()=>{class u{constructor(s,d,y,w,M){this.router=s,this.injector=y,this.preloadingStrategy=w,this.loader=M}setUpPreloading(){this.subscription=this.router.events.pipe((0,Ct.h)(s=>s instanceof Ft),(0,Bn.b)(()=>this.preload())).subscribe(()=>{})}preload(){return this.processRoutes(this.injector,this.router.config)}ngOnDestroy(){this.subscription&&this.subscription.unsubscribe()}processRoutes(s,d){const y=[];for(const w of d){w.providers&&!w._injector&&(w._injector=(0,g.MMx)(w.providers,s,`Route: ${w.path}`));const M=w._injector??s,L=w._loadedInjector??M;w.loadChildren&&!w._loadedRoutes&&void 0===w.canLoad||w.loadComponent&&!w._loadedComponent?y.push(this.preloadConfig(M,w)):(w.children||w._loadedRoutes)&&y.push(this.processRoutes(L,w.children??w._loadedRoutes))}return(0,A.D)(y).pipe((0,le.J)())}preloadConfig(s,d){return this.preloadingStrategy.preload(d,()=>{let y;y=d.loadChildren&&void 0===d.canLoad?this.loader.loadChildren(s,d):(0,H.of)(null);const w=y.pipe((0,Et.zg)(M=>null===M?(0,H.of)(void 0):(d._loadedRoutes=M.routes,d._loadedInjector=M.injector,this.processRoutes(M.injector??s,M.routes))));if(d.loadComponent&&!d._loadedComponent){const M=this.loader.loadComponent(d);return(0,A.D)([w,M]).pipe((0,le.J)())}return w})}}return u.\u0275fac=function(s){return new(s||u)(g.LFG(bn),g.LFG(g.Sil),g.LFG(g.lqb),g.LFG(gt),g.LFG($i))},u.\u0275prov=g.Yz7({token:u,factory:u.\u0275fac,providedIn:"root"}),u})();const la=new g.OlP("");let da=(()=>{class u{constructor(s,d,y,w,M={}){this.urlSerializer=s,this.transitions=d,this.viewportScroller=y,this.zone=w,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.transitions.events.subscribe(s=>{s instanceof Nt?(this.store[this.lastId]=this.viewportScroller.getScrollPosition(),this.lastSource=s.navigationTrigger,this.restoredId=s.restoredState?s.restoredState.navigationId:0):s instanceof Ft&&(this.lastId=s.id,this.scheduleScrollEvent(s,this.urlSerializer.parse(s.urlAfterRedirects).fragment))})}consumeScrollEvents(){return this.transitions.events.subscribe(s=>{s instanceof ns&&(s.position?"top"===this.options.scrollPositionRestoration?this.viewportScroller.scrollToPosition([0,0]):"enabled"===this.options.scrollPositionRestoration&&this.viewportScroller.scrollToPosition(s.position):s.anchor&&"enabled"===this.options.anchorScrolling?this.viewportScroller.scrollToAnchor(s.anchor):"disabled"!==this.options.scrollPositionRestoration&&this.viewportScroller.scrollToPosition([0,0]))})}scheduleScrollEvent(s,d){this.zone.runOutsideAngular(()=>{setTimeout(()=>{this.zone.run(()=>{this.transitions.events.next(new ns(s,"popstate"===this.lastSource?this.store[this.restoredId]:null,d))})},0)})}ngOnDestroy(){this.routerEventsSubscription?.unsubscribe(),this.scrollEventsSubscription?.unsubscribe()}}return u.\u0275fac=function(s){g.$Z()},u.\u0275prov=g.Yz7({token:u,factory:u.\u0275fac}),u})();function gi(u,c){return{\u0275kind:u,\u0275providers:c}}function Gi(){const u=(0,g.f3M)(g.zs3);return c=>{const s=u.get(g.z2F);if(c!==s.components[0])return;const d=u.get(bn),y=u.get(Mn);1===u.get(Wn)&&d.initialNavigation(),u.get(pa,null,g.XFs.Optional)?.setUpPreloading(),u.get(la,null,g.XFs.Optional)?.init(),d.resetRootComponentType(s.componentTypes[0]),y.closed||(y.next(),y.unsubscribe())}}const Mn=new g.OlP("",{factory:()=>new Ce.xQ}),Wn=new g.OlP("",{providedIn:"root",factory:()=>1});const pa=new g.OlP("");function tu(u){return gi(0,[{provide:pa,useExisting:ju},{provide:gt,useExisting:u}])}const Wi=new g.OlP("ROUTER_FORROOT_GUARD"),Bo=[Bt.Ye,{provide:Ot,useClass:Ke},bn,Lt,{provide:Vn,useFactory:function ko(u){return u.routerState.root},deps:[bn]},$i,[]];function Uu(){return new g.PXZ("Router",bn)}let ga=(()=>{class u{constructor(s){}static forRoot(s,d){return{ngModule:u,providers:[Bo,[],{provide:Oo,multi:!0,useValue:s},{provide:Wi,useFactory:ou,deps:[[bn,new g.FiY,new g.tp0]]},{provide:fi,useValue:d||{}},d?.useHash?{provide:Bt.S$,useClass:Bt.Do}:{provide:Bt.S$,useClass:Bt.b0},{provide:la,useFactory:()=>{const u=(0,g.f3M)(Bt.EM),c=(0,g.f3M)(g.R0b),s=(0,g.f3M)(fi),d=(0,g.f3M)(li),y=(0,g.f3M)(Ot);return s.scrollOffset&&u.setOffset(s.scrollOffset),new da(y,d,u,c,s)}},d?.preloadingStrategy?tu(d.preloadingStrategy).\u0275providers:[],{provide:g.PXZ,multi:!0,useFactory:Uu},d?.initialNavigation?ya(d):[],[{provide:Ss,useFactory:Gi},{provide:g.tb,multi:!0,useExisting:Ss}]]}}static forChild(s){return{ngModule:u,providers:[{provide:Oo,multi:!0,useValue:s}]}}}return u.\u0275fac=function(s){return new(s||u)(g.LFG(Wi,8))},u.\u0275mod=g.oAB({type:u}),u.\u0275inj=g.cJS({imports:[Ao]}),u})();function ou(u){return"guarded"}function ya(u){return["disabled"===u.initialNavigation?gi(3,[{provide:g.ip1,multi:!0,useFactory:()=>{const c=(0,g.f3M)(bn);return()=>{c.setUpLocationChangeListener()}}},{provide:Wn,useValue:2}]).\u0275providers:[],"enabledBlocking"===u.initialNavigation?gi(2,[{provide:Wn,useValue:0},{provide:g.ip1,multi:!0,deps:[g.zs3],useFactory:c=>{const s=c.get(Bt.V_,Promise.resolve());return()=>s.then(()=>new Promise(y=>{const w=c.get(bn),M=c.get(Mn);(function d(y){c.get(bn).events.pipe((0,Ct.h)(M=>M instanceof Ft||M instanceof yr||M instanceof or),(0,Me.U)(M=>M instanceof Ft||M instanceof yr&&(0===M.code||1===M.code)&&null),(0,Ct.h)(M=>null!==M),We(1)).subscribe(()=>{y()})})(()=>{y(!0)}),w.afterPreactivation=()=>(y(!0),M.closed?(0,H.of)(void 0):M),w.initialNavigation()}))}}]).\u0275providers:[]]}const Ss=new g.OlP("")}},Le=>{Le(Le.s=759)}]); \ No newline at end of file diff --git a/docs/main.de7ac6155bb0942f.js b/docs/main.de7ac6155bb0942f.js new file mode 100644 index 0000000..fdf7689 --- /dev/null +++ b/docs/main.de7ac6155bb0942f.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunknb_trans_demo=self.webpackChunknb_trans_demo||[]).push([[179],{759:(Le,he,N)=>{var g=N(481),A=N(738),$=N(723),re=N(352);class de{constructor(b){this.transService=b}resolve(){return this.transService.subscribeLoadDefaultOver().toPromise()}}de.\u0275fac=function(b){return new(b||de)(A.LFG($.v6))},de.\u0275prov=A.Yz7({token:de,factory:de.\u0275fac,providedIn:"root"});const Q=[{path:"",resolve:{defalutLangLoadOver:de},children:[{path:"",loadChildren:()=>N.e(934).then(N.bind(N,934)).then(V=>V.Feature1Module)},{path:"standalone",loadChildren:()=>N.e(651).then(N.bind(N,651)).then(V=>V.routes)}]}];class ae{}ae.\u0275fac=function(b){return new(b||ae)},ae.\u0275mod=A.oAB({type:ae}),ae.\u0275inj=A.cJS({imports:[re.Bz.forRoot(Q,{initialNavigation:"enabledBlocking"}),re.Bz]});var q=N(895);const z=function(){return{prefix:"content"}},k=function(V){return{prefix:"content",params:V}},j=function(){return{returnKeyWhenEmpty:!1}};class G{constructor(b){this.transService=b,this.params={params1:"{{params2}}",params2:"1111",params3:"2222"}}get title(){return this.transService.translationSync("title")}get lang(){return this.transService.lang}ngOnInit(){this.title$=this.transService.translationAsync("title")}onChangeLang(b){this.transService.changeLang(b).subscribe(C=>{console.log(C),C.result||alert("\u5207\u6362\u8bed\u8a00\u5931\u8d25\uff0c\u6ca1\u6709\u5bfc\u5165\u8be5\u8bed\u8a00\u5305,\u5f53\u524d\u8bed\u8a00\u662f:"+C.curLang)})}}G.\u0275fac=function(b){return new(b||G)(A.Y36($.v6))},G.\u0275cmp=A.Xpm({type:G,selectors:[["app-root"]],decls:64,vars:40,consts:[["href","https://github.com/bigBear713/nb-trans/blob/master/projects/nb-trans/README.md","target","_blank"],["href","https://github.com/bigBear713/nb-trans/blob/master/CHANGELOG.md","target","_blank"],[1,"actions"],[3,"click"],["routerLink","/"],["routerLink","/standalone"]],template:function(b,C){1&b&&(A.TgZ(0,"h2")(1,"a",0),A._uU(2," Document "),A.qZA(),A.TgZ(3,"a",1),A._uU(4," Changelog "),A.qZA()(),A._UZ(5,"hr"),A.TgZ(6,"div",2)(7,"button",3),A.NdJ("click",function(){return C.onChangeLang("zh-CN")}),A._uU(8,"\u5207\u6362\u4e3a\u4e2d\u6587"),A.qZA(),A.TgZ(9,"button",3),A.NdJ("click",function(){return C.onChangeLang("en")}),A._uU(10,"\u5207\u6362\u4e3a\u82f1\u6587"),A.qZA(),A.TgZ(11,"button",3),A.NdJ("click",function(){return C.onChangeLang("other")}),A._uU(12,"\u5207\u6362\u4e3a\u5176\u5b83\u4e0d\u5b58\u5728\u7684\u8bed\u8a00"),A.qZA(),A._UZ(13,"hr"),A.qZA(),A.TgZ(14,"div")(15,"h5"),A._uU(16,"\u4f7f\u7528 nbTrans \u7ba1\u9053\uff0c\u8bed\u8a00\u5207\u6362\u65f6\u81ea\u52a8\u83b7\u53d6\u6700\u65b0\u7684\u7ffb\u8bd1"),A.qZA(),A._uU(17),A.ALo(18,"nbTrans"),A.qZA(),A._UZ(19,"hr"),A.TgZ(20,"div")(21,"h5"),A._uU(22,"\u4f7f\u7528 nbTrans \u7ba1\u9053\uff0ckey\u503c\u4e3a\u591a\u5c42"),A.qZA(),A._uU(23),A.ALo(24,"nbTrans"),A.qZA(),A._UZ(25,"hr"),A.TgZ(26,"div")(27,"h5"),A._uU(28),A.ALo(29,"json"),A.qZA(),A.TgZ(30,"p"),A._uU(31),A.ALo(32,"nbTrans"),A.qZA(),A._uU(33),A.ALo(34,"nbTrans"),A.qZA(),A._UZ(35,"hr"),A.TgZ(36,"div")(37,"h5"),A._uU(38,"\u901a\u8fc7getter\uff0c\u8c03\u7528translationSync()\u65f6\u65f6\u83b7\u53d6\u6700\u65b0\u7684\u7ffb\u8bd1"),A.qZA(),A._uU(39),A.qZA(),A._UZ(40,"hr"),A.TgZ(41,"div")(42,"h5"),A._uU(43,"\u8c03\u7528translationAsync()\u5f97\u5230\u4e00\u4e2aObservable,\u7ed3\u5408 async \u7ba1\u9053\u4f7f\u7528\uff0c\u8bed\u8a00\u5207\u6362\u65f6\u81ea\u52a8\u83b7\u53d6\u6700\u65b0\u7684\u7ffb\u8bd1"),A.qZA(),A.TgZ(44,"div"),A._uU(45),A.qZA(),A._uU(46),A.ALo(47,"async"),A.qZA(),A._UZ(48,"hr"),A.TgZ(49,"div"),A._uU(50),A.ALo(51,"nbTrans"),A.qZA(),A._UZ(52,"hr"),A.TgZ(53,"div"),A._uU(54),A.ALo(55,"nbTrans"),A.qZA(),A._UZ(56,"hr"),A.TgZ(57,"h3"),A._uU(58,"children component"),A.qZA(),A.TgZ(59,"a",4),A._uU(60,"Module Component"),A.qZA(),A.TgZ(61,"a",5),A._uU(62,"Standalone Component"),A.qZA(),A._UZ(63,"router-outlet")),2&b&&(A.xp6(17),A.AsE(" ","{{'title'| nbTrans}}\uff1a"," ",A.lcZ(18,17,"title"),"\n"),A.xp6(6),A.AsE(" ","{{'content.helloWorld'| nbTrans}}:"," ",A.lcZ(24,19,"content.helloWorld"),"\n"),A.xp6(5),A.hij("\u4f7f\u7528 nbTrans \u7ba1\u9053\uff0c\u5e26\u6709options\u53c2\u6570\u3002\u8bbe\u7f6ekey\u503c\u524d\u7f00\u548c\u7ffb\u8bd1\u6587\u672c\u4e2d\u7684\u53c2\u6570,params\u53c2\u6570\u4e3a\uff1a",A.lcZ(29,21,C.params),""),A.xp6(3),A.hij(" \u7ffb\u8bd1\u6587\u672c\u539f\u6587\uff1a",A.xi3(32,23,"contentWithParams",A.DdM(36,z))," "),A.xp6(2),A.AsE(" ","{{'contentWithParams'| nbTrans:({prefix:'content',params: params})}}:"," ",A.xi3(34,26,"contentWithParams",A.VKq(37,k,C.params)),"\n"),A.xp6(6),A.AsE(" ","get title(){return this.transService.translationSync('title');}:"," ",C.title,"\n"),A.xp6(6),A.Oqu("this.title$ = this.transService.translationAsync('title');// ts"),A.xp6(1),A.AsE(" ","{{title$ | async}}:"," ",A.lcZ(47,29,C.title$),"\n"),A.xp6(4),A.AsE(" ","{{'test.test'| nbTrans}}","\uff0c\u5f53key\u5bf9\u5e94\u7684\u5185\u5bb9\u4e0d\u5b58\u5728, \u9ed8\u8ba4\u8fd4\u56dekey: ",A.lcZ(51,31,"test.test"),"\n"),A.xp6(4),A.AsE(" ","{{'test.test'| nbTrans:({returnKeyWhenEmpty:false})}}","\uff0c\u5f53key\u5bf9\u5e94\u7684\u5185\u5bb9\u4e0d\u5b58\u5728, \u4e5f\u53ef\u4ee5\u8bbe\u7f6e\u8fd4\u56de\u7a7a\u5b57\u7b26\u4e32: ",A.xi3(55,33,"test.test",A.DdM(39,j)),"\n"))},dependencies:[re.lC,re.rH,q.Ov,q.Ts,$.y6],styles:["h2[_ngcontent-%COMP%] a[_ngcontent-%COMP%]{margin:0 8px}.actions[_ngcontent-%COMP%]{position:sticky;top:0;background-color:#fff}a[_ngcontent-%COMP%]{margin:0 5px}"]});var J=N(86),X=N(498),Te=N(406),ue=N(198),Se=N(850);class tt{}class Ye{}class le{constructor(b){this.normalizedNames=new Map,this.lazyUpdate=null,b?this.lazyInit="string"==typeof b?()=>{this.headers=new Map,b.split("\n").forEach(C=>{const T=C.indexOf(":");if(T>0){const x=C.slice(0,T),B=x.toLowerCase(),oe=C.slice(T+1).trim();this.maybeSetNormalizedName(x,B),this.headers.has(B)?this.headers.get(B).push(oe):this.headers.set(B,[oe])}})}:()=>{this.headers=new Map,Object.keys(b).forEach(C=>{let T=b[C];const x=C.toLowerCase();"string"==typeof T&&(T=[T]),T.length>0&&(this.headers.set(x,T),this.maybeSetNormalizedName(C,x))})}:this.headers=new Map}has(b){return this.init(),this.headers.has(b.toLowerCase())}get(b){this.init();const C=this.headers.get(b.toLowerCase());return C&&C.length>0?C[0]:null}keys(){return this.init(),Array.from(this.normalizedNames.values())}getAll(b){return this.init(),this.headers.get(b.toLowerCase())||null}append(b,C){return this.clone({name:b,value:C,op:"a"})}set(b,C){return this.clone({name:b,value:C,op:"s"})}delete(b,C){return this.clone({name:b,value:C,op:"d"})}maybeSetNormalizedName(b,C){this.normalizedNames.has(C)||this.normalizedNames.set(C,b)}init(){this.lazyInit&&(this.lazyInit instanceof le?this.copyFrom(this.lazyInit):this.lazyInit(),this.lazyInit=null,this.lazyUpdate&&(this.lazyUpdate.forEach(b=>this.applyUpdate(b)),this.lazyUpdate=null))}copyFrom(b){b.init(),Array.from(b.headers.keys()).forEach(C=>{this.headers.set(C,b.headers.get(C)),this.normalizedNames.set(C,b.normalizedNames.get(C))})}clone(b){const C=new le;return C.lazyInit=this.lazyInit&&this.lazyInit instanceof le?this.lazyInit:this,C.lazyUpdate=(this.lazyUpdate||[]).concat([b]),C}applyUpdate(b){const C=b.name.toLowerCase();switch(b.op){case"a":case"s":let T=b.value;if("string"==typeof T&&(T=[T]),0===T.length)return;this.maybeSetNormalizedName(b.name,C);const x=("a"===b.op?this.headers.get(C):void 0)||[];x.push(...T),this.headers.set(C,x);break;case"d":const B=b.value;if(B){let oe=this.headers.get(C);if(!oe)return;oe=oe.filter(ee=>-1===B.indexOf(ee)),0===oe.length?(this.headers.delete(C),this.normalizedNames.delete(C)):this.headers.set(C,oe)}else this.headers.delete(C),this.normalizedNames.delete(C)}}forEach(b){this.init(),Array.from(this.normalizedNames.keys()).forEach(C=>b(this.normalizedNames.get(C),this.headers.get(C)))}}class hn{encodeKey(b){return _t(b)}encodeValue(b){return _t(b)}decodeKey(b){return decodeURIComponent(b)}decodeValue(b){return decodeURIComponent(b)}}const qn=/%(\d[a-f0-9])/gi,Ee={40:"@","3A":":",24:"$","2C":",","3B":";","3D":"=","3F":"?","2F":"/"};function _t(V){return encodeURIComponent(V).replace(qn,(b,C)=>Ee[C]??b)}function ge(V){return`${V}`}class ye{constructor(b={}){if(this.updates=null,this.cloneFrom=null,this.encoder=b.encoder||new hn,b.fromString){if(b.fromObject)throw new Error("Cannot specify both fromString and fromObject.");this.map=function qt(V,b){const C=new Map;return V.length>0&&V.replace(/^\?/,"").split("&").forEach(x=>{const B=x.indexOf("="),[oe,ee]=-1==B?[b.decodeKey(x),""]:[b.decodeKey(x.slice(0,B)),b.decodeValue(x.slice(B+1))],se=C.get(oe)||[];se.push(ee),C.set(oe,se)}),C}(b.fromString,this.encoder)}else b.fromObject?(this.map=new Map,Object.keys(b.fromObject).forEach(C=>{const T=b.fromObject[C],x=Array.isArray(T)?T.map(ge):[ge(T)];this.map.set(C,x)})):this.map=null}has(b){return this.init(),this.map.has(b)}get(b){this.init();const C=this.map.get(b);return C?C[0]:null}getAll(b){return this.init(),this.map.get(b)||null}keys(){return this.init(),Array.from(this.map.keys())}append(b,C){return this.clone({param:b,value:C,op:"a"})}appendAll(b){const C=[];return Object.keys(b).forEach(T=>{const x=b[T];Array.isArray(x)?x.forEach(B=>{C.push({param:T,value:B,op:"a"})}):C.push({param:T,value:x,op:"a"})}),this.clone(C)}set(b,C){return this.clone({param:b,value:C,op:"s"})}delete(b,C){return this.clone({param:b,value:C,op:"d"})}toString(){return this.init(),this.keys().map(b=>{const C=this.encoder.encodeKey(b);return this.map.get(b).map(T=>C+"="+this.encoder.encodeValue(T)).join("&")}).filter(b=>""!==b).join("&")}clone(b){const C=new ye({encoder:this.encoder});return C.cloneFrom=this.cloneFrom||this,C.updates=(this.updates||[]).concat(b),C}init(){null===this.map&&(this.map=new Map),null!==this.cloneFrom&&(this.cloneFrom.init(),this.cloneFrom.keys().forEach(b=>this.map.set(b,this.cloneFrom.map.get(b))),this.updates.forEach(b=>{switch(b.op){case"a":case"s":const C=("a"===b.op?this.map.get(b.param):void 0)||[];C.push(ge(b.value)),this.map.set(b.param,C);break;case"d":if(void 0===b.value){this.map.delete(b.param);break}{let T=this.map.get(b.param)||[];const x=T.indexOf(ge(b.value));-1!==x&&T.splice(x,1),T.length>0?this.map.set(b.param,T):this.map.delete(b.param)}}}),this.cloneFrom=this.updates=null)}}class nt{constructor(){this.map=new Map}set(b,C){return this.map.set(b,C),this}get(b){return this.map.has(b)||this.map.set(b,b.defaultValue()),this.map.get(b)}delete(b){return this.map.delete(b),this}has(b){return this.map.has(b)}keys(){return this.map.keys()}}function Bt(V){return typeof ArrayBuffer<"u"&&V instanceof ArrayBuffer}function Me(V){return typeof Blob<"u"&&V instanceof Blob}function Ue(V){return typeof FormData<"u"&&V instanceof FormData}class Qt{constructor(b,C,T,x){let B;if(this.url=C,this.body=null,this.reportProgress=!1,this.withCredentials=!1,this.responseType="json",this.method=b.toUpperCase(),function Ce(V){switch(V){case"DELETE":case"GET":case"HEAD":case"OPTIONS":case"JSONP":return!1;default:return!0}}(this.method)||x?(this.body=void 0!==T?T:null,B=x):B=T,B&&(this.reportProgress=!!B.reportProgress,this.withCredentials=!!B.withCredentials,B.responseType&&(this.responseType=B.responseType),B.headers&&(this.headers=B.headers),B.context&&(this.context=B.context),B.params&&(this.params=B.params)),this.headers||(this.headers=new le),this.context||(this.context=new nt),this.params){const oe=this.params.toString();if(0===oe.length)this.urlWithParams=C;else{const ee=C.indexOf("?");this.urlWithParams=C+(-1===ee?"?":eeun.set(Ot,b.setHeaders[Ot]),se)),b.setParams&&(Ze=Object.keys(b.setParams).reduce((un,Ot)=>un.set(Ot,b.setParams[Ot]),Ze)),new Qt(C,T,B,{params:Ze,headers:se,context:$t,reportProgress:ee,responseType:x,withCredentials:oe})}}var We=(()=>((We=We||{})[We.Sent=0]="Sent",We[We.UploadProgress=1]="UploadProgress",We[We.ResponseHeader=2]="ResponseHeader",We[We.DownloadProgress=3]="DownloadProgress",We[We.Response=4]="Response",We[We.User=5]="User",We))();class Pr{constructor(b,C=200,T="OK"){this.headers=b.headers||new le,this.status=void 0!==b.status?b.status:C,this.statusText=b.statusText||T,this.url=b.url||null,this.ok=this.status>=200&&this.status<300}}class Or extends Pr{constructor(b={}){super(b),this.type=We.ResponseHeader}clone(b={}){return new Or({headers:b.headers||this.headers,status:void 0!==b.status?b.status:this.status,statusText:b.statusText||this.statusText,url:b.url||this.url||void 0})}}class Rn extends Pr{constructor(b={}){super(b),this.type=We.Response,this.body=void 0!==b.body?b.body:null}clone(b={}){return new Rn({body:void 0!==b.body?b.body:this.body,headers:b.headers||this.headers,status:void 0!==b.status?b.status:this.status,statusText:b.statusText||this.statusText,url:b.url||this.url||void 0})}}class Ct extends Pr{constructor(b){super(b,0,"Unknown Error"),this.name="HttpErrorResponse",this.ok=!1,this.message=this.status>=200&&this.status<300?`Http failure during parsing for ${b.url||"(unknown url)"}`:`Http failure response for ${b.url||"(unknown url)"}: ${b.status} ${b.statusText}`,this.error=b.error||null}}function Et(V,b){return{body:b,headers:V.headers,context:V.context,observe:V.observe,params:V.params,reportProgress:V.reportProgress,responseType:V.responseType,withCredentials:V.withCredentials}}let rt=(()=>{class V{constructor(C){this.handler=C}request(C,T,x={}){let B;if(C instanceof Qt)B=C;else{let se,Ze;se=x.headers instanceof le?x.headers:new le(x.headers),x.params&&(Ze=x.params instanceof ye?x.params:new ye({fromObject:x.params})),B=new Qt(C,T,void 0!==x.body?x.body:null,{headers:se,context:x.context,params:Ze,reportProgress:x.reportProgress,responseType:x.responseType||"json",withCredentials:x.withCredentials})}const oe=(0,J.of)(B).pipe((0,Te.b)(se=>this.handler.handle(se)));if(C instanceof Qt||"events"===x.observe)return oe;const ee=oe.pipe((0,ue.h)(se=>se instanceof Rn));switch(x.observe||"body"){case"body":switch(B.responseType){case"arraybuffer":return ee.pipe((0,Se.U)(se=>{if(null!==se.body&&!(se.body instanceof ArrayBuffer))throw new Error("Response is not an ArrayBuffer.");return se.body}));case"blob":return ee.pipe((0,Se.U)(se=>{if(null!==se.body&&!(se.body instanceof Blob))throw new Error("Response is not a Blob.");return se.body}));case"text":return ee.pipe((0,Se.U)(se=>{if(null!==se.body&&"string"!=typeof se.body)throw new Error("Response is not a string.");return se.body}));default:return ee.pipe((0,Se.U)(se=>se.body))}case"response":return ee;default:throw new Error(`Unreachable: unhandled observe type ${x.observe}}`)}}delete(C,T={}){return this.request("DELETE",C,T)}get(C,T={}){return this.request("GET",C,T)}head(C,T={}){return this.request("HEAD",C,T)}jsonp(C,T){return this.request("JSONP",C,{params:(new ye).append(T,"JSONP_CALLBACK"),observe:"body",responseType:"json"})}options(C,T={}){return this.request("OPTIONS",C,T)}patch(C,T,x={}){return this.request("PATCH",C,Et(x,T))}post(C,T,x={}){return this.request("POST",C,Et(x,T))}put(C,T,x={}){return this.request("PUT",C,Et(x,T))}}return V.\u0275fac=function(C){return new(C||V)(A.LFG(tt))},V.\u0275prov=A.Yz7({token:V,factory:V.\u0275fac}),V})();function Qn(V,b){return b(V)}function Ci(V,b){return(C,T)=>b.intercept(C,{handle:x=>V(x,T)})}const Ve=new A.OlP("HTTP_INTERCEPTORS"),Jn=new A.OlP("HTTP_INTERCEPTOR_FNS");function mo(){let V=null;return(b,C)=>(null===V&&(V=((0,A.f3M)(Ve,{optional:!0})??[]).reduceRight(Ci,Qn)),V(b,C))}let cr=(()=>{class V extends tt{constructor(C,T){super(),this.backend=C,this.injector=T,this.chain=null}handle(C){if(null===this.chain){const T=Array.from(new Set(this.injector.get(Jn)));this.chain=T.reduceRight((x,B)=>function Gt(V,b,C){return(T,x)=>C.runInContext(()=>b(T,B=>V(B,x)))}(x,B,this.injector),Qn)}return this.chain(C,T=>this.backend.handle(T))}}return V.\u0275fac=function(C){return new(C||V)(A.LFG(Ye),A.LFG(A.lqb))},V.\u0275prov=A.Yz7({token:V,factory:V.\u0275fac}),V})();const yt=/^\)\]\}',?\n/;let ie=(()=>{class V{constructor(C){this.xhrFactory=C}handle(C){if("JSONP"===C.method)throw new Error("Attempted to construct Jsonp request without HttpClientJsonpModule installed.");return new X.y(T=>{const x=this.xhrFactory.build();if(x.open(C.method,C.urlWithParams),C.withCredentials&&(x.withCredentials=!0),C.headers.forEach((Ke,ct)=>x.setRequestHeader(Ke,ct.join(","))),C.headers.has("Accept")||x.setRequestHeader("Accept","application/json, text/plain, */*"),!C.headers.has("Content-Type")){const Ke=C.detectContentTypeHeader();null!==Ke&&x.setRequestHeader("Content-Type",Ke)}if(C.responseType){const Ke=C.responseType.toLowerCase();x.responseType="json"!==Ke?Ke:"text"}const B=C.serializeBody();let oe=null;const ee=()=>{if(null!==oe)return oe;const Ke=x.statusText||"OK",ct=new le(x.getAllResponseHeaders()),In=function Ie(V){return"responseURL"in V&&V.responseURL?V.responseURL:/^X-Request-URL:/m.test(V.getAllResponseHeaders())?V.getResponseHeader("X-Request-URL"):null}(x)||C.url;return oe=new Or({headers:ct,status:x.status,statusText:Ke,url:In}),oe},se=()=>{let{headers:Ke,status:ct,statusText:In,url:Dn}=ee(),kt=null;204!==ct&&(kt=typeof x.response>"u"?x.responseText:x.response),0===ct&&(ct=kt?200:0);let On=ct>=200&&ct<300;if("json"===C.responseType&&"string"==typeof kt){const _o=kt;kt=kt.replace(yt,"");try{kt=""!==kt?JSON.parse(kt):null}catch(kr){kt=_o,On&&(On=!1,kt={error:kr,text:kt})}}On?(T.next(new Rn({body:kt,headers:Ke,status:ct,statusText:In,url:Dn||void 0})),T.complete()):T.error(new Ct({error:kt,headers:Ke,status:ct,statusText:In,url:Dn||void 0}))},Ze=Ke=>{const{url:ct}=ee(),In=new Ct({error:Ke,status:x.status||0,statusText:x.statusText||"Unknown Error",url:ct||void 0});T.error(In)};let $t=!1;const un=Ke=>{$t||(T.next(ee()),$t=!0);let ct={type:We.DownloadProgress,loaded:Ke.loaded};Ke.lengthComputable&&(ct.total=Ke.total),"text"===C.responseType&&!!x.responseText&&(ct.partialText=x.responseText),T.next(ct)},Ot=Ke=>{let ct={type:We.UploadProgress,loaded:Ke.loaded};Ke.lengthComputable&&(ct.total=Ke.total),T.next(ct)};return x.addEventListener("load",se),x.addEventListener("error",Ze),x.addEventListener("timeout",Ze),x.addEventListener("abort",Ze),C.reportProgress&&(x.addEventListener("progress",un),null!==B&&x.upload&&x.upload.addEventListener("progress",Ot)),x.send(B),T.next({type:We.Sent}),()=>{x.removeEventListener("error",Ze),x.removeEventListener("abort",Ze),x.removeEventListener("load",se),x.removeEventListener("timeout",Ze),C.reportProgress&&(x.removeEventListener("progress",un),null!==B&&x.upload&&x.upload.removeEventListener("progress",Ot)),x.readyState!==x.DONE&&x.abort()}})}}return V.\u0275fac=function(C){return new(C||V)(A.LFG(q.JF))},V.\u0275prov=A.Yz7({token:V,factory:V.\u0275fac}),V})();const tr=new A.OlP("XSRF_ENABLED"),xn="XSRF-TOKEN",Qe=new A.OlP("XSRF_COOKIE_NAME",{providedIn:"root",factory:()=>xn}),Pn="X-XSRF-TOKEN",Ht=new A.OlP("XSRF_HEADER_NAME",{providedIn:"root",factory:()=>Pn});class at{}let vt=(()=>{class V{constructor(C,T,x){this.doc=C,this.platform=T,this.cookieName=x,this.lastCookieString="",this.lastToken=null,this.parseCount=0}getToken(){if("server"===this.platform)return null;const C=this.doc.cookie||"";return C!==this.lastCookieString&&(this.parseCount++,this.lastToken=(0,q.Mx)(C,this.cookieName),this.lastCookieString=C),this.lastToken}}return V.\u0275fac=function(C){return new(C||V)(A.LFG(q.K0),A.LFG(A.Lbi),A.LFG(Qe))},V.\u0275prov=A.Yz7({token:V,factory:V.\u0275fac}),V})();function vo(V,b){const C=V.url.toLowerCase();if(!(0,A.f3M)(tr)||"GET"===V.method||"HEAD"===V.method||C.startsWith("http://")||C.startsWith("https://"))return b(V);const T=(0,A.f3M)(at).getToken(),x=(0,A.f3M)(Ht);return null!=T&&!V.headers.has(x)&&(V=V.clone({headers:V.headers.set(x,T)})),b(V)}var De=(()=>((De=De||{})[De.Interceptors=0]="Interceptors",De[De.LegacyInterceptors=1]="LegacyInterceptors",De[De.CustomXsrfConfiguration=2]="CustomXsrfConfiguration",De[De.NoXsrfProtection=3]="NoXsrfProtection",De[De.JsonpSupport=4]="JsonpSupport",De[De.RequestsMadeViaParent=5]="RequestsMadeViaParent",De))();function Tt(V,b){return{\u0275kind:V,\u0275providers:b}}function lr(...V){const b=[rt,ie,cr,{provide:tt,useExisting:cr},{provide:Ye,useExisting:ie},{provide:Jn,useValue:vo,multi:!0},{provide:tr,useValue:!0},{provide:at,useClass:vt}];for(const C of V)b.push(...C.\u0275providers);return(0,A.MR2)(b)}const Lr=new A.OlP("LEGACY_INTERCEPTOR_FN");function Jt({cookieName:V,headerName:b}){const C=[];return void 0!==V&&C.push({provide:Qe,useValue:V}),void 0!==b&&C.push({provide:Ht,useValue:b}),Tt(De.CustomXsrfConfiguration,C)}let Mt=(()=>{class V{}return V.\u0275fac=function(C){return new(C||V)},V.\u0275mod=A.oAB({type:V}),V.\u0275inj=A.cJS({providers:[lr(Tt(De.LegacyInterceptors,[{provide:Lr,useFactory:mo},{provide:Jn,useExisting:Lr,multi:!0}]),Jt({cookieName:xn,headerName:Pn}))]}),V})();class rn{}function dr(){g.q6().bootstrapModule(rn).catch(V=>console.error(V))}rn.\u0275fac=function(b){return new(b||rn)},rn.\u0275mod=A.oAB({type:rn,bootstrap:[G]}),rn.\u0275inj=A.cJS({providers:[{provide:$.oo,useValue:$.oi.ZH_CN},{provide:$.x,useFactory:V=>({[$.oi.EN]:()=>V.get("./assets/localization/en/translations.json"),[$.oi.ZH_CN]:()=>V.get("./assets/localization/zh-CN/translations.json")}),deps:[rt]}],imports:[g.b2.withServerTransition({appId:"serverApp"}),$.pT,Mt,ae]}),(0,A.G48)(),"complete"===document.readyState?dr():document.addEventListener("DOMContentLoaded",dr)},591:(Le,he,N)=>{N.d(he,{X:()=>$});var g=N(529),A=N(279);class $ extends g.xQ{constructor(de){super(),this._value=de}get value(){return this.getValue()}_subscribe(de){const Q=super._subscribe(de);return Q&&!Q.closed&&de.next(this._value),Q}getValue(){if(this.hasError)throw this.thrownError;if(this.closed)throw new A.N;return this._value}next(de){super.next(this._value=de)}}},498:(Le,he,N)=>{N.d(he,{y:()=>z});var g=N(489),$=N(668),re=N(292),Q=N(821),ae=N(843),q=N(735);let z=(()=>{class j{constructor(J){this._isScalar=!1,J&&(this._subscribe=J)}lift(J){const X=new j;return X.source=this,X.operator=J,X}subscribe(J,X,Te){const{operator:ue}=this,Se=function de(j,G,J){if(j){if(j instanceof g.L)return j;if(j[$.b])return j[$.b]()}return j||G||J?new g.L(j,G,J):new g.L(re.c)}(J,X,Te);if(Se.add(ue?ue.call(Se,this.source):this.source||q.v.useDeprecatedSynchronousErrorHandling&&!Se.syncErrorThrowable?this._subscribe(Se):this._trySubscribe(Se)),q.v.useDeprecatedSynchronousErrorHandling&&Se.syncErrorThrowable&&(Se.syncErrorThrowable=!1,Se.syncErrorThrown))throw Se.syncErrorValue;return Se}_trySubscribe(J){try{return this._subscribe(J)}catch(X){q.v.useDeprecatedSynchronousErrorHandling&&(J.syncErrorThrown=!0,J.syncErrorValue=X),function A(j){for(;j;){const{closed:G,destination:J,isStopped:X}=j;if(G||X)return!1;j=J&&J instanceof g.L?J:null}return!0}(J)?J.error(X):console.warn(X)}}forEach(J,X){return new(X=k(X))((Te,ue)=>{let Se;Se=this.subscribe(tt=>{try{J(tt)}catch(Ye){ue(Ye),Se&&Se.unsubscribe()}},ue,Te)})}_subscribe(J){const{source:X}=this;return X&&X.subscribe(J)}[Q.L](){return this}pipe(...J){return 0===J.length?this:(0,ae.U)(J)(this)}toPromise(J){return new(J=k(J))((X,Te)=>{let ue;this.subscribe(Se=>ue=Se,Se=>Te(Se),()=>X(ue))})}}return j.create=G=>new j(G),j})();function k(j){if(j||(j=q.v.Promise||Promise),!j)throw new Error("no Promise impl found");return j}},292:(Le,he,N)=>{N.d(he,{c:()=>$});var g=N(735),A=N(782);const $={closed:!0,next(re){},error(re){if(g.v.useDeprecatedSynchronousErrorHandling)throw re;(0,A.z)(re)},complete(){}}},529:(Le,he,N)=>{N.d(he,{xQ:()=>q,Yc:()=>ae});var g=N(498),A=N(489),$=N(654),re=N(279);class de extends $.w{constructor(j,G){super(),this.subject=j,this.subscriber=G,this.closed=!1}unsubscribe(){if(this.closed)return;this.closed=!0;const j=this.subject,G=j.observers;if(this.subject=null,!G||0===G.length||j.isStopped||j.closed)return;const J=G.indexOf(this.subscriber);-1!==J&&G.splice(J,1)}}var Q=N(668);class ae extends A.L{constructor(j){super(j),this.destination=j}}let q=(()=>{class k extends g.y{constructor(){super(),this.observers=[],this.closed=!1,this.isStopped=!1,this.hasError=!1,this.thrownError=null}[Q.b](){return new ae(this)}lift(G){const J=new z(this,this);return J.operator=G,J}next(G){if(this.closed)throw new re.N;if(!this.isStopped){const{observers:J}=this,X=J.length,Te=J.slice();for(let ue=0;uenew z(j,G),k})();class z extends q{constructor(j,G){super(),this.destination=j,this.source=G}next(j){const{destination:G}=this;G&&G.next&&G.next(j)}error(j){const{destination:G}=this;G&&G.error&&this.destination.error(j)}complete(){const{destination:j}=this;j&&j.complete&&this.destination.complete()}_subscribe(j){const{source:G}=this;return G?this.source.subscribe(j):$.w.EMPTY}}},489:(Le,he,N)=>{N.d(he,{L:()=>ae});var g=N(43),A=N(292),$=N(654),re=N(668),de=N(735),Q=N(782);class ae extends $.w{constructor(k,j,G){switch(super(),this.syncErrorValue=null,this.syncErrorThrown=!1,this.syncErrorThrowable=!1,this.isStopped=!1,arguments.length){case 0:this.destination=A.c;break;case 1:if(!k){this.destination=A.c;break}if("object"==typeof k){k instanceof ae?(this.syncErrorThrowable=k.syncErrorThrowable,this.destination=k,k.add(this)):(this.syncErrorThrowable=!0,this.destination=new q(this,k));break}default:this.syncErrorThrowable=!0,this.destination=new q(this,k,j,G)}}[re.b](){return this}static create(k,j,G){const J=new ae(k,j,G);return J.syncErrorThrowable=!1,J}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 q extends ae{constructor(k,j,G,J){super(),this._parentSubscriber=k;let X,Te=this;(0,g.m)(j)?X=j:j&&(X=j.next,G=j.error,J=j.complete,j!==A.c&&(Te=Object.create(j),(0,g.m)(Te.unsubscribe)&&this.add(Te.unsubscribe.bind(Te)),Te.unsubscribe=this.unsubscribe.bind(this))),this._context=Te,this._next=X,this._error=G,this._complete=J}next(k){if(!this.isStopped&&this._next){const{_parentSubscriber:j}=this;de.v.useDeprecatedSynchronousErrorHandling&&j.syncErrorThrowable?this.__tryOrSetError(j,this._next,k)&&this.unsubscribe():this.__tryOrUnsub(this._next,k)}}error(k){if(!this.isStopped){const{_parentSubscriber:j}=this,{useDeprecatedSynchronousErrorHandling:G}=de.v;if(this._error)G&&j.syncErrorThrowable?(this.__tryOrSetError(j,this._error,k),this.unsubscribe()):(this.__tryOrUnsub(this._error,k),this.unsubscribe());else if(j.syncErrorThrowable)G?(j.syncErrorValue=k,j.syncErrorThrown=!0):(0,Q.z)(k),this.unsubscribe();else{if(this.unsubscribe(),G)throw k;(0,Q.z)(k)}}}complete(){if(!this.isStopped){const{_parentSubscriber:k}=this;if(this._complete){const j=()=>this._complete.call(this._context);de.v.useDeprecatedSynchronousErrorHandling&&k.syncErrorThrowable?(this.__tryOrSetError(k,j),this.unsubscribe()):(this.__tryOrUnsub(j),this.unsubscribe())}else this.unsubscribe()}}__tryOrUnsub(k,j){try{k.call(this._context,j)}catch(G){if(this.unsubscribe(),de.v.useDeprecatedSynchronousErrorHandling)throw G;(0,Q.z)(G)}}__tryOrSetError(k,j,G){if(!de.v.useDeprecatedSynchronousErrorHandling)throw new Error("bad call");try{j.call(this._context,G)}catch(J){return de.v.useDeprecatedSynchronousErrorHandling?(k.syncErrorValue=J,k.syncErrorThrown=!0,!0):((0,Q.z)(J),!0)}return!1}_unsubscribe(){const{_parentSubscriber:k}=this;this._context=null,this._parentSubscriber=null,k.unsubscribe()}}},654:(Le,he,N)=>{N.d(he,{w:()=>Q});var g=N(688),A=N(830),$=N(43);const de=(()=>{function q(z){return Error.call(this),this.message=z?`${z.length} errors occurred during unsubscription:\n${z.map((k,j)=>`${j+1}) ${k.toString()}`).join("\n ")}`:"",this.name="UnsubscriptionError",this.errors=z,this}return q.prototype=Object.create(Error.prototype),q})();class Q{constructor(z){this.closed=!1,this._parentOrParents=null,this._subscriptions=null,z&&(this._ctorUnsubscribe=!0,this._unsubscribe=z)}unsubscribe(){let z;if(this.closed)return;let{_parentOrParents:k,_ctorUnsubscribe:j,_unsubscribe:G,_subscriptions:J}=this;if(this.closed=!0,this._parentOrParents=null,this._subscriptions=null,k instanceof Q)k.remove(this);else if(null!==k)for(let X=0;Xz.concat(k instanceof de?k.errors:k),[])}Q.EMPTY=((q=new Q).closed=!0,q)},735:(Le,he,N)=>{N.d(he,{v:()=>A});let g=!1;const A={Promise:void 0,set useDeprecatedSynchronousErrorHandling($){if($){const re=new Error;console.warn("DEPRECATED! RxJS was set to use deprecated synchronous error handling behavior by code at: \n"+re.stack)}else g&&console.log("RxJS: Back to a better error behavior. Thank you. <3");g=$},get useDeprecatedSynchronousErrorHandling(){return g}}},177:(Le,he,N)=>{N.d(he,{Ds:()=>Q,IY:()=>re,ft:()=>q});var g=N(489),A=N(498),$=N(249);class re extends g.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 Q extends g.L{notifyNext(k){this.destination.next(k)}notifyError(k){this.destination.error(k)}notifyComplete(){this.destination.complete()}}function q(z,k){if(k.closed)return;if(z instanceof A.y)return z.subscribe(k);let j;try{j=(0,$.s)(z)(k)}catch(G){k.error(G)}return j}},762:(Le,he,N)=>{N.d(he,{N:()=>Q,c:()=>de});var g=N(529),A=N(498),$=N(654),re=N(327);class de extends A.y{constructor(j,G){super(),this.source=j,this.subjectFactory=G,this._refCount=0,this._isComplete=!1}_subscribe(j){return this.getSubject().subscribe(j)}getSubject(){const j=this._subject;return(!j||j.isStopped)&&(this._subject=this.subjectFactory()),this._subject}connect(){let j=this._connection;return j||(this._isComplete=!1,j=this._connection=new $.w,j.add(this.source.subscribe(new ae(this.getSubject(),this))),j.closed&&(this._connection=null,j=$.w.EMPTY)),j}refCount(){return(0,re.x)()(this)}}const Q=(()=>{const k=de.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 ae extends g.Yc{constructor(j,G){super(j),this.connectable=G}_error(j){this._unsubscribe(),super._error(j)}_complete(){this.connectable._isComplete=!0,this._unsubscribe(),super._complete()}_unsubscribe(){const j=this.connectable;if(j){this.connectable=null;const G=j._connection;j._refCount=0,j._subject=null,j._connection=null,G&&G.unsubscribe()}}}},254:(Le,he,N)=>{N.d(he,{D:()=>Te});var g=N(498),A=N(249),$=N(654),re=N(821),ae=N(454),q=N(430),j=N(955),G=N(515);function Te(ue,Se){return Se?function X(ue,Se){if(null!=ue){if(function k(ue){return ue&&"function"==typeof ue[re.L]}(ue))return function de(ue,Se){return new g.y(tt=>{const Ye=new $.w;return Ye.add(Se.schedule(()=>{const le=ue[re.L]();Ye.add(le.subscribe({next(Zt){Ye.add(Se.schedule(()=>tt.next(Zt)))},error(Zt){Ye.add(Se.schedule(()=>tt.error(Zt)))},complete(){Ye.add(Se.schedule(()=>tt.complete()))}}))})),Ye})}(ue,Se);if((0,j.t)(ue))return function Q(ue,Se){return new g.y(tt=>{const Ye=new $.w;return Ye.add(Se.schedule(()=>ue.then(le=>{Ye.add(Se.schedule(()=>{tt.next(le),Ye.add(Se.schedule(()=>tt.complete()))}))},le=>{Ye.add(Se.schedule(()=>tt.error(le)))}))),Ye})}(ue,Se);if((0,G.z)(ue))return(0,ae.r)(ue,Se);if(function J(ue){return ue&&"function"==typeof ue[q.hZ]}(ue)||"string"==typeof ue)return function z(ue,Se){if(!ue)throw new Error("Iterable cannot be null");return new g.y(tt=>{const Ye=new $.w;let le;return Ye.add(()=>{le&&"function"==typeof le.return&&le.return()}),Ye.add(Se.schedule(()=>{le=ue[q.hZ](),Ye.add(Se.schedule(function(){if(tt.closed)return;let Zt,hn;try{const qt=le.next();Zt=qt.value,hn=qt.done}catch(qt){return void tt.error(qt)}hn?tt.complete():(tt.next(Zt),this.schedule())}))})),Ye})}(ue,Se)}throw new TypeError((null!==ue&&typeof ue||ue)+" is not observable")}(ue,Se):ue instanceof g.y?ue:new g.y((0,A.s)(ue))}},9:(Le,he,N)=>{N.d(he,{n:()=>re});var g=N(498),A=N(650),$=N(454);function re(de,Q){return Q?(0,$.r)(de,Q):new g.y((0,A.V)(de))}},86:(Le,he,N)=>{N.d(he,{of:()=>re});var g=N(866),A=N(9),$=N(454);function re(...de){let Q=de[de.length-1];return(0,g.K)(Q)?(de.pop(),(0,$.r)(de,Q)):(0,A.n)(de)}},221:(Le,he,N)=>{N.d(he,{K:()=>A});var g=N(177);function A(de){return function(ae){const q=new $(de),z=ae.lift(q);return q.caught=z}}class ${constructor(Q){this.selector=Q}call(Q,ae){return ae.subscribe(new re(Q,this.selector,this.caught))}}class re extends g.Ds{constructor(Q,ae,q){super(Q),this.selector=ae,this.caught=q}error(Q){if(!this.isStopped){let ae;try{ae=this.selector(Q,this.caught)}catch(k){return void super.error(k)}this._unsubscribeAndRecycle();const q=new g.IY(this);this.add(q);const z=(0,g.ft)(ae,q);z!==q&&this.add(z)}}}},406:(Le,he,N)=>{N.d(he,{b:()=>A});var g=N(709);function A($,re){return(0,g.zg)($,re,1)}},198:(Le,he,N)=>{N.d(he,{h:()=>A});var g=N(489);function A(de,Q){return function(q){return q.lift(new $(de,Q))}}class ${constructor(Q,ae){this.predicate=Q,this.thisArg=ae}call(Q,ae){return ae.subscribe(new re(Q,this.predicate,this.thisArg))}}class re extends g.L{constructor(Q,ae,q){super(Q),this.predicate=ae,this.thisArg=q,this.count=0}_next(Q){let ae;try{ae=this.predicate.call(this.thisArg,Q,this.count++)}catch(q){return void this.destination.error(q)}ae&&this.destination.next(Q)}}},850:(Le,he,N)=>{N.d(he,{U:()=>A});var g=N(489);function A(de,Q){return function(q){if("function"!=typeof de)throw new TypeError("argument is not a function. Are you looking for `mapTo()`?");return q.lift(new $(de,Q))}}class ${constructor(Q,ae){this.project=Q,this.thisArg=ae}call(Q,ae){return ae.subscribe(new re(Q,this.project,this.thisArg))}}class re extends g.L{constructor(Q,ae,q){super(Q),this.project=ae,this.count=0,this.thisArg=q||this}_next(Q){let ae;try{ae=this.project.call(this.thisArg,Q,this.count++)}catch(q){return void this.destination.error(q)}this.destination.next(ae)}}},146:(Le,he,N)=>{N.d(he,{J:()=>$});var g=N(709),A=N(379);function $(re=Number.POSITIVE_INFINITY){return(0,g.zg)(A.y,re)}},709:(Le,he,N)=>{N.d(he,{zg:()=>re});var g=N(850),A=N(254),$=N(177);function re(q,z,k=Number.POSITIVE_INFINITY){return"function"==typeof z?j=>j.pipe(re((G,J)=>(0,A.D)(q(G,J)).pipe((0,g.U)((X,Te)=>z(G,X,J,Te))),k)):("number"==typeof z&&(k=z),j=>j.lift(new de(q,k)))}class de{constructor(z,k=Number.POSITIVE_INFINITY){this.project=z,this.concurrent=k}call(z,k){return k.subscribe(new Q(z,this.project,this.concurrent))}}class Q extends $.Ds{constructor(z,k,j=Number.POSITIVE_INFINITY){super(z),this.project=k,this.concurrent=j,this.hasCompleted=!1,this.buffer=[],this.active=0,this.index=0}_next(z){this.active0?this._next(z.shift()):0===this.active&&this.hasCompleted&&this.destination.complete()}}},327:(Le,he,N)=>{N.d(he,{x:()=>A});var g=N(489);function A(){return function(Q){return Q.lift(new $(Q))}}class ${constructor(Q){this.connectable=Q}call(Q,ae){const{connectable:q}=this;q._refCount++;const z=new re(Q,q),k=ae.subscribe(z);return z.closed||(z.connection=q.connect()),k}}class re extends g.L{constructor(Q,ae){super(Q),this.connectable=ae}_unsubscribe(){const{connectable:Q}=this;if(!Q)return void(this.connection=null);this.connectable=null;const ae=Q._refCount;if(ae<=0)return void(this.connection=null);if(Q._refCount=ae-1,ae>1)return void(this.connection=null);const{connection:q}=this,z=Q._connection;this.connection=null,z&&(!q||z===q)&&z.unsubscribe()}}},545:(Le,he,N)=>{N.d(he,{w:()=>re});var g=N(850),A=N(254),$=N(177);function re(ae,q){return"function"==typeof q?z=>z.pipe(re((k,j)=>(0,A.D)(ae(k,j)).pipe((0,g.U)((G,J)=>q(k,G,j,J))))):z=>z.lift(new de(ae))}class de{constructor(q){this.project=q}call(q,z){return z.subscribe(new Q(q,this.project))}}class Q extends $.Ds{constructor(q,z){super(q),this.project=z,this.index=0}_next(q){let z;const k=this.index++;try{z=this.project(q,k)}catch(j){return void this.destination.error(j)}this._innerSub(z)}_innerSub(q){const z=this.innerSubscription;z&&z.unsubscribe();const k=new $.IY(this),j=this.destination;j.add(k),this.innerSubscription=(0,$.ft)(q,k),this.innerSubscription!==k&&j.add(this.innerSubscription)}_complete(){const{innerSubscription:q}=this;(!q||q.closed)&&super._complete(),this.unsubscribe()}_unsubscribe(){this.innerSubscription=void 0}notifyComplete(){this.innerSubscription=void 0,this.isStopped&&super._complete()}notifyNext(q){this.destination.next(q)}}},868:(Le,he,N)=>{N.d(he,{b:()=>re});var g=N(489);function A(){}var $=N(43);function re(ae,q,z){return function(j){return j.lift(new de(ae,q,z))}}class de{constructor(q,z,k){this.nextOrObserver=q,this.error=z,this.complete=k}call(q,z){return z.subscribe(new Q(q,this.nextOrObserver,this.error,this.complete))}}class Q extends g.L{constructor(q,z,k,j){super(q),this._tapNext=A,this._tapError=A,this._tapComplete=A,this._tapError=k||A,this._tapComplete=j||A,(0,$.m)(z)?(this._context=this,this._tapNext=z):z&&(this._context=z,this._tapNext=z.next||A,this._tapError=z.error||A,this._tapComplete=z.complete||A)}_next(q){try{this._tapNext.call(this._context,q)}catch(z){return void this.destination.error(z)}this.destination.next(q)}_error(q){try{this._tapError.call(this._context,q)}catch(z){return void this.destination.error(z)}this.destination.error(q)}_complete(){try{this._tapComplete.call(this._context)}catch(q){return void this.destination.error(q)}return this.destination.complete()}}},454:(Le,he,N)=>{N.d(he,{r:()=>$});var g=N(498),A=N(654);function $(re,de){return new g.y(Q=>{const ae=new A.w;let q=0;return ae.add(de.schedule(function(){q!==re.length?(Q.next(re[q++]),Q.closed||ae.add(this.schedule())):Q.complete()})),ae})}},430:(Le,he,N)=>{N.d(he,{hZ:()=>A});const A=function g(){return"function"==typeof Symbol&&Symbol.iterator?Symbol.iterator:"@@iterator"}()},821:(Le,he,N)=>{N.d(he,{L:()=>g});const g="function"==typeof Symbol&&Symbol.observable||"@@observable"},668:(Le,he,N)=>{N.d(he,{b:()=>g});const g="function"==typeof Symbol?Symbol("rxSubscriber"):"@@rxSubscriber_"+Math.random()},279:(Le,he,N)=>{N.d(he,{N:()=>A});const A=(()=>{function $(){return Error.call(this),this.message="object unsubscribed",this.name="ObjectUnsubscribedError",this}return $.prototype=Object.create(Error.prototype),$})()},782:(Le,he,N)=>{function g(A){setTimeout(()=>{throw A},0)}N.d(he,{z:()=>g})},379:(Le,he,N)=>{function g(A){return A}N.d(he,{y:()=>g})},688:(Le,he,N)=>{N.d(he,{k:()=>g});const g=Array.isArray||(A=>A&&"number"==typeof A.length)},515:(Le,he,N)=>{N.d(he,{z:()=>g});const g=A=>A&&"number"==typeof A.length&&"function"!=typeof A},43:(Le,he,N)=>{function g(A){return"function"==typeof A}N.d(he,{m:()=>g})},830:(Le,he,N)=>{function g(A){return null!==A&&"object"==typeof A}N.d(he,{K:()=>g})},955:(Le,he,N)=>{function g(A){return!!A&&"function"!=typeof A.subscribe&&"function"==typeof A.then}N.d(he,{t:()=>g})},866:(Le,he,N)=>{function g(A){return A&&"function"==typeof A.schedule}N.d(he,{K:()=>g})},843:(Le,he,N)=>{N.d(he,{U:()=>$,z:()=>A});var g=N(379);function A(...re){return $(re)}function $(re){return 0===re.length?g.y:1===re.length?re[0]:function(Q){return re.reduce((ae,q)=>q(ae),Q)}}},249:(Le,he,N)=>{N.d(he,{s:()=>j});var g=N(650),A=N(782),re=N(430),Q=N(821),q=N(515),z=N(955),k=N(830);const j=G=>{if(G&&"function"==typeof G[Q.L])return(G=>J=>{const X=G[Q.L]();if("function"!=typeof X.subscribe)throw new TypeError("Provided object does not correctly implement Symbol.observable");return X.subscribe(J)})(G);if((0,q.z)(G))return(0,g.V)(G);if((0,z.t)(G))return(G=>J=>(G.then(X=>{J.closed||(J.next(X),J.complete())},X=>J.error(X)).then(null,A.z),J))(G);if(G&&"function"==typeof G[re.hZ])return(G=>J=>{const X=G[re.hZ]();for(;;){let Te;try{Te=X.next()}catch(ue){return J.error(ue),J}if(Te.done){J.complete();break}if(J.next(Te.value),J.closed)break}return"function"==typeof X.return&&J.add(()=>{X.return&&X.return()}),J})(G);{const X=`You provided ${(0,k.K)(G)?"an invalid object":`'${G}'`} where a stream was expected. You can provide an Observable, Promise, Array, or Iterable.`;throw new TypeError(X)}}},650:(Le,he,N)=>{N.d(he,{V:()=>g});const g=A=>$=>{for(let re=0,de=A.length;re{N.d(he,{oo:()=>Da,x:()=>Yi,gD:()=>ic,oi:()=>Vo,pT:()=>cc,y6:()=>_a,v6:()=>zo,DA:()=>sc});var g=N(738),A=N(591),$=N(529),re=N(86),de=N(498),Q=N(654);class ae extends Q.w{constructor(E,_){super()}schedule(E,_=0){return this}}let z=(()=>{class p{constructor(_,O=p.now){this.SchedulerAction=_,this.now=O}schedule(_,O=0,te){return new this.SchedulerAction(this,_).schedule(te,O)}}return p.now=()=>Date.now(),p})();class k extends z{constructor(E,_=z.now){super(E,()=>k.delegate&&k.delegate!==this?k.delegate.now():_()),this.actions=[],this.active=!1,this.scheduled=void 0}schedule(E,_=0,O){return k.delegate&&k.delegate!==this?k.delegate.schedule(E,_,O):super.schedule(E,_,O)}flush(E){const{actions:_}=this;if(this.active)return void _.push(E);let O;this.active=!0;do{if(O=E.execute(E.state,E.delay))break}while(E=_.shift());if(this.active=!1,O){for(;E=_.shift();)E.unsubscribe();throw O}}}const G=new k(class q extends ae{constructor(E,_){super(E,_),this.scheduler=E,this.work=_,this.pending=!1}schedule(E,_=0){if(this.closed)return this;this.state=E;const O=this.id,te=this.scheduler;return null!=O&&(this.id=this.recycleAsyncId(te,O,_)),this.pending=!0,this.delay=_,this.id=this.id||this.requestAsyncId(te,this.id,_),this}requestAsyncId(E,_,O=0){return setInterval(E.flush.bind(E,this),O)}recycleAsyncId(E,_,O=0){if(null!==O&&this.delay===O&&!1===this.pending)return _;clearInterval(_)}execute(E,_){if(this.closed)return new Error("executing a cancelled action");this.pending=!1;const O=this._execute(E,_);if(O)return O;!1===this.pending&&null!=this.id&&(this.id=this.recycleAsyncId(this.scheduler,this.id,null))}_execute(E,_){let te,O=!1;try{this.work(E)}catch(fe){O=!0,te=!!fe&&fe||new Error(fe)}if(O)return this.unsubscribe(),te}_unsubscribe(){const E=this.id,_=this.scheduler,O=_.actions,te=O.indexOf(this);this.work=null,this.state=null,this.pending=!1,this.scheduler=null,-1!==te&&O.splice(te,1),null!=E&&(this.id=this.recycleAsyncId(_,E,null)),this.delay=null}});var J=N(688);function X(p){return!(0,J.k)(p)&&p-parseFloat(p)+1>=0}var Te=N(866);function Se(p){const{index:E,period:_,subscriber:O}=p;if(O.next(E),!O.closed){if(-1===_)return O.complete();p.index=E+1,this.schedule(p,_)}}var tt=N(254),Ye=N(545),le=N(850),Zt=N(489);class qt{constructor(E){this.predicate=E}call(E,_){return _.subscribe(new qn(E,this.predicate))}}class qn extends Zt.L{constructor(E,_){super(E),this.predicate=_,this.skipping=!0,this.index=0}_next(E){const _=this.destination;this.skipping&&this.tryCallPredicate(E),this.skipping||_.next(E)}tryCallPredicate(E){try{const _=this.predicate(E,this.index++);this.skipping=Boolean(_)}catch(_){this.destination.error(_)}}}var Ee=N(868);class ge{constructor(E,_){this.count=E,this.source=_}call(E,_){return _.subscribe(new ye(E,this.count,this.source))}}class ye extends Zt.L{constructor(E,_,O){super(E),this.count=_,this.source=O}error(E){if(!this.isStopped){const{source:_,count:O}=this;if(0===O)return super.error(E);O>-1&&(this.count=O-1),_.subscribe(this._unsubscribeAndRecycle())}}}var Ne=N(221),nt=N(177);function Ce(p){return E=>E.lift(new Bt(p))}class Bt{constructor(E){this.notifier=E}call(E,_){const O=new Me(E),te=(0,nt.ft)(this.notifier,new nt.IY(O));return te&&!O.seenValue?(O.add(te),_.subscribe(O)):O}}class Me extends nt.Ds{constructor(E){super(E),this.seenValue=!1}notifyNext(){this.seenValue=!0,this.complete()}notifyComplete(){}}var Ue=N(895);const Qt=Array.isArray,Pr="object"==typeof global&&global&&global.Object===Object&&global;var Or="object"==typeof self&&self&&self.Object===Object&&self;const Ct=Pr||Or||Function("return this")(),rt=Ct.Symbol;var Qn=Object.prototype,Ci=Qn.hasOwnProperty,Gt=Qn.toString,Ve=rt?rt.toStringTag:void 0;var st=Object.prototype.toString;var Nr=rt?rt.toStringTag:void 0;const nn=function yo(p){return null==p?void 0===p?"[object Undefined]":"[object Null]":Nr&&Nr in Object(p)?function Jn(p){var E=Ci.call(p,Ve),_=p[Ve];try{p[Ve]=void 0;var O=!0}catch{}var te=Gt.call(p);return O&&(E?p[Ve]=_:delete p[Ve]),te}(p):function Bn(p){return st.call(p)}(p)},Pt=function Fr(p){return null!=p&&"object"==typeof p},Ie=function yt(p){return"symbol"==typeof p||Pt(p)&&"[object Symbol]"==nn(p)};var ie=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,tr=/^\w*$/;const Ht=function Pn(p){var E=typeof p;return null!=p&&("object"==E||"function"==E)},Tt=function De(p){if(!Ht(p))return!1;var E=nn(p);return"[object Function]"==E||"[object GeneratorFunction]"==E||"[object AsyncFunction]"==E||"[object Proxy]"==E};var p,lr=Ct["__core-js_shared__"],Lr=(p=/[^.]+$/.exec(lr&&lr.keys&&lr.keys.IE_PROTO||""))?"Symbol(src)_1."+p:"";var wn=Function.prototype.toString;const ot=function Do(p){if(null!=p){try{return wn.call(p)}catch{}try{return p+""}catch{}}return""};var Sn=/^\[object .+?Constructor\]$/,V=RegExp("^"+Function.prototype.toString.call(Object.prototype.hasOwnProperty).replace(/[\\^$.*+?()[\]{}|]/g,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$");const C=function b(p){return!(!Ht(p)||function Zr(p){return!!Lr&&Lr in p}(p))&&(Tt(p)?V:Sn).test(ot(p))},oe=function B(p,E){var _=function T(p,E){return p?.[E]}(p,E);return C(_)?_:void 0},se=oe(Object,"create");var In=Object.prototype.hasOwnProperty;var _o=Object.prototype.hasOwnProperty;function ze(p){var E=-1,_=null==p?0:p.length;for(this.clear();++E<_;){var O=p[E];this.set(O[0],O[1])}}ze.prototype.clear=function Ze(){this.__data__=se?se(null):{},this.size=0},ze.prototype.delete=function un(p){var E=this.has(p)&&delete this.__data__[p];return this.size-=E?1:0,E},ze.prototype.get=function Dn(p){var E=this.__data__;if(se){var _=E[p];return"__lodash_hash_undefined__"===_?void 0:_}return In.call(E,p)?E[p]:void 0},ze.prototype.has=function kr(p){var E=this.__data__;return se?void 0!==E[p]:_o.call(E,p)},ze.prototype.set=function Jo(p,E){var _=this.__data__;return this.size+=this.has(p)?0:1,_[p]=se&&void 0===E?"__lodash_hash_undefined__":E,this};const Wt=ze,Nn=function gn(p,E){return p===E||p!=p&&E!=E},Re=function me(p,E){for(var _=p.length;_--;)if(Nn(p[_][0],E))return _;return-1};var Yt=Array.prototype.splice;function Dt(p){var E=-1,_=null==p?0:p.length;for(this.clear();++E<_;){var O=p[E];this.set(O[0],O[1])}}Dt.prototype.clear=function jt(){this.__data__=[],this.size=0},Dt.prototype.delete=function rr(p){var E=this.__data__,_=Re(E,p);return!(_<0||(_==E.length-1?E.pop():Yt.call(E,_,1),--this.size,0))},Dt.prototype.get=function hr(p){var E=this.__data__,_=Re(E,p);return _<0?void 0:E[_][1]},Dt.prototype.has=function bo(p){return Re(this.__data__,p)>-1},Dt.prototype.set=function Fe(p,E){var _=this.__data__,O=Re(_,p);return O<0?(++this.size,_.push([p,E])):_[O][1]=E,this};const Fn=Dt,Rt=oe(Ct,"Map"),it=function ei(p,E){var _=p.__data__;return function Ln(p){var E=typeof p;return"string"==E||"number"==E||"symbol"==E||"boolean"==E?"__proto__"!==p:null===p}(E)?_["string"==typeof E?"string":"hash"]:_.map};function Nt(p){var E=-1,_=null==p?0:p.length;for(this.clear();++E<_;){var O=p[E];this.set(O[0],O[1])}}Nt.prototype.clear=function Ur(){this.size=0,this.__data__={hash:new Wt,map:new(Rt||Fn),string:new Wt}},Nt.prototype.delete=function bi(p){var E=it(this,p).delete(p);return this.size-=E?1:0,E},Nt.prototype.get=function Ei(p){return it(this,p).get(p)},Nt.prototype.has=function wo(p){return it(this,p).has(p)},Nt.prototype.set=function Xt(p,E){var _=it(this,p),O=_.size;return _.set(p,E),this.size+=_.size==O?0:1,this};const Ft=Nt;function or(p,E){if("function"!=typeof p||null!=E&&"function"!=typeof E)throw new TypeError("Expected a function");var _=function(){var O=arguments,te=E?E.apply(this,O):O[0],fe=_.cache;if(fe.has(te))return fe.get(te);var Pe=p.apply(this,O);return _.cache=fe.set(te,Pe)||fe,Pe};return _.cache=new(or.Cache||Ft),_}or.Cache=Ft;const So=or;var es=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,Bs=/\\(\\)?/g,Hs=function ti(p){var E=So(p,function(O){return 500===_.size&&_.clear(),O}),_=E.cache;return E}(function(p){var E=[];return 46===p.charCodeAt(0)&&E.push(""),p.replace(es,function(_,O,te,fe){E.push(te?fe.replace(Bs,"$1"):O||_)}),E});const ts=Hs;var ns=rt?rt.prototype:void 0,Gs=ns?ns.toString:void 0;const za=function Va(p){if("string"==typeof p)return p;if(Qt(p))return function $s(p,E){for(var _=-1,O=null==p?0:p.length,te=Array(O);++_mt))return!1;var ht=fe.get(p),ar=fe.get(E);if(ht&&ar)return ht==E&&ar==p;var Kn=-1,dn=!0,zr=2&_?new Mo:void 0;for(fe.set(p,E),fe.set(E,p);++Kn-1&&p%1==0&&p-1&&p%1==0&&p<=9007199254740991};var ft={};ft["[object Float32Array]"]=ft["[object Float64Array]"]=ft["[object Int8Array]"]=ft["[object Int16Array]"]=ft["[object Int32Array]"]=ft["[object Uint8Array]"]=ft["[object Uint8ClampedArray]"]=ft["[object Uint16Array]"]=ft["[object Uint32Array]"]=!0,ft["[object Arguments]"]=ft["[object Array]"]=ft["[object ArrayBuffer]"]=ft["[object Boolean]"]=ft["[object DataView]"]=ft["[object Date]"]=ft["[object Error]"]=ft["[object Function]"]=ft["[object Map]"]=ft["[object Number]"]=ft["[object Object]"]=ft["[object RegExp]"]=ft["[object Set]"]=ft["[object String]"]=ft["[object WeakMap]"]=!1;var vs="object"==typeof exports&&exports&&!exports.nodeType&&exports,so=vs&&"object"==typeof module&&module&&!module.nodeType&&module,li=so&&so.exports===vs&&Pr.process,di=function(){try{return so&&so.require&&so.require("util").types||li&&li.binding&&li.binding("util")}catch{}}(),ua=di&&di.isTypedArray;const _s=ua?function Oo(p){return function(E){return p(E)}}(ua):function ys(p){return Pt(p)&&Ir(p.length)&&!!ft[nn(p)]};var Ja=Object.prototype.hasOwnProperty;const Cs=function fi(p,E){var _=Qt(p),O=!_&&S(p),te=!_&&!O&&dt(p),fe=!_&&!O&&!te&&_s(p),Pe=_||O||te||fe,mt=Pe?function ds(p,E){for(var _=-1,O=Array(p);++_{class p{constructor(){}isBoolean(_){return function su(p){return!0===p||!1===p||Pt(p)&&"[object Boolean]"==nn(p)}(_)}isNumber(_){return function Bu(p){return"number"==typeof p||Pt(p)&&"[object Number]"==nn(p)}(_)}isObservable(_){return _ instanceof de.y}isPromise(_){return _ instanceof Promise}isString(_){return function Vd(p){return"string"==typeof p||!Qt(p)&&Pt(p)&&"[object String]"==nn(p)}(_)}isTemplateRef(_){return _ instanceof g.Rgc}}return p.\u0275fac=function(_){return new(_||p)},p.\u0275prov=g.Yz7({token:p,factory:p.\u0275fac,providedIn:"root"}),p})();new g.OlP("default error image"),new g.OlP("default loading image");let uu=(()=>{class p{constructor(_){this.valueTypeService=_}transform(_){return this.valueTypeService.isString(_)}}return p.\u0275fac=function(_){return new(_||p)(g.Y36($o,16))},p.\u0275pipe=g.Yjl({name:"nbIsString",type:p,pure:!0,standalone:!0}),p})(),As=(()=>{class p{constructor(_){this.valueTypeService=_}transform(_){return this.valueTypeService.isTemplateRef(_)?_:null}}return p.\u0275fac=function(_){return new(_||p)(g.Y36($o,16))},p.\u0275pipe=g.Yjl({name:"nbTplContent",type:p,pure:!0,standalone:!0}),p})();function rl(p,E){1&p&&g.GkF(0)}const mn=function(p){return{content:p}};function cu(p,E){if(1&p&&g.GkF(0,8),2&p){const _=g.oxw().$implicit;g.oxw(2);const O=g.MAs(4);g.Q6J("ngTemplateOutlet",O)("ngTemplateOutletContext",g.VKq(2,mn,_))}}function Zu(p,E){if(1&p&&g.GkF(0,8),2&p){const _=g.oxw().$implicit;g.oxw(2);const O=g.MAs(6);g.Q6J("ngTemplateOutlet",O)("ngTemplateOutletContext",g.VKq(2,mn,_))}}function lu(p,E){if(1&p&&g.GkF(0,8),2&p){const _=g.oxw().$implicit;g.oxw(2);const O=g.MAs(8);g.Q6J("ngTemplateOutlet",O)("ngTemplateOutletContext",g.VKq(2,mn,_))}}function En(p,E){if(1&p&&(g.ynx(0)(1,6),g.ALo(2,"nbSentenceItemType"),g.YNc(3,cu,1,4,"ng-container",7),g.YNc(4,Zu,1,4,"ng-container",7),g.YNc(5,lu,1,4,"ng-container",7),g.BQk()()),2&p){const _=E.$implicit,O=g.oxw(2);g.xp6(1),g.Q6J("ngSwitch",g.lcZ(2,4,_)),g.xp6(2),g.Q6J("ngSwitchCase",O.SentenceItemEnum.STR),g.xp6(1),g.Q6J("ngSwitchCase",O.SentenceItemEnum.COMP),g.xp6(1),g.Q6J("ngSwitchCase",O.SentenceItemEnum.MULTI_COMP)}}function Rs(p,E){1&p&&g.YNc(0,En,6,6,"ng-container",5),2&p&&g.Q6J("ngForOf",E.list)}function qu(p,E){if(1&p&&(g._uU(0),g.ALo(1,"nbTransContent")),2&p){const _=E.content,O=g.oxw();g.Oqu(g.xi3(1,1,_,O.params))}}function Qu(p,E){1&p&&g.GkF(0)}function ol(p,E){if(1&p&&(g.YNc(0,Qu,1,0,"ng-container",0),g.ALo(1,"nbTplContent"),g.ALo(2,"nbTransContent")),2&p){const _=E.content,O=g.oxw();g.Q6J("ngTemplateOutlet",g.lcZ(1,2,O.components[_.index]))("ngTemplateOutletContext",g.VKq(7,mn,g.xi3(2,4,_.content,O.params)))}}function Ju(p,E){1&p&&g.GkF(0)}const il=function(p,E){return{content:p,list:E}};function Xu(p,E){if(1&p&&(g.YNc(0,Ju,1,0,"ng-container",0),g.ALo(1,"nbTplContent")),2&p){const _=E.content,O=g.oxw(),te=g.MAs(2);g.Q6J("ngTemplateOutlet",g.lcZ(1,2,O.components[_.index]))("ngTemplateOutletContext",g.WLB(4,il,te,_.list))}}const ec=function(p){return{list:p}},tc=["nb-trans-subcontent",""];function sl(p,E){if(1&p&&(g.ynx(0),g._uU(1),g.BQk()),2&p){const _=g.oxw();g.xp6(1),g.Oqu(_.content)}}function al(p,E){if(1&p&&(g.GkF(0,3),g.ALo(1,"nbTplContent")),2&p){const _=g.oxw();g.Q6J("ngTemplateOutlet",g.lcZ(1,2,_.content))("ngTemplateOutletContext",g.VKq(4,ec,_.subcontentList))}}const Da=new g.OlP("nb-trans-default-lang");var Vo=(()=>(function(p){p.ZH_CN="zh-CN",p.ZH_TW="zh-TW",p.ZH_HK="zh-HK",p.EN="en",p.AR_EG="ar-EG",p.HY_AM="hy-AM",p.BG_BG="bg-BG",p.CA_ES="ca-ES",p.CS_CZ="cs-CZ",p.DA_DK="da-DK",p.DE_DE="de-DE",p.EL_GR="el-GR",p.EN_GB="en-GB",p.EN_US="en-US",p.ES_ES="es-ES",p.ET_EE="et-EE",p.FA_IR="fa-IR",p.FI_FI="fi-FI",p.FR_BE="fr-BE",p.FR_FR="fr-FR",p.HE_IL="he-IL",p.HI_IN="hi-IN",p.HR_HR="hr-HR",p.HU_HU="hu-HU",p.IS_IS="is-IS",p.ID_ID="id-ID",p.IT_IT="it-IT",p.JA_JP="ja-JP",p.KA_GE="ka-GE",p.KN_IN="kn-IN",p.KO_KR="ko-KR",p.KU_IQ="ku-IQ",p.LV_LV="lv-LV",p.MS_MY="ms-MY",p.MN_MN="mn-MN",p.NB_NO="nb-NO",p.NE_NP="ne-NP",p.NL_BE="nl-BE",p.NL_NL="nl-NL",p.PL_PL="pl-PL",p.PT_BR="pt-BR",p.PT_PT="pt-PT",p.SK_SK="sk-SK",p.SR_RS="sr-RS",p.SL_SI="sl-SI",p.SV_SE="sv-SE",p.TA_IN="ta-IN",p.TH_TH="th-TH",p.TR_TR="tr-TR",p.RO_RO="ro-RO",p.RU_RU="ru-RU",p.UK_UA="uk-UA",p.VI_VN="vi-VN"}(Vo||(Vo={})),Vo))();const Yi=new g.OlP("nb-trans-loader"),ul=new g.OlP("nb-trans-max-retry");var lo=(()=>(function(p){p[p.STR=0]="STR",p[p.COMP=1]="COMP",p[p.MULTI_COMP=2]="MULTI_COMP"}(lo||(lo={})),lo))();let Ki=(()=>{class p{constructor(_){this.valueType=_}static checkNavigator(){return p.checkWindow()&&typeof window.navigator<"u"}static checkWindow(){return typeof window<"u"}getFinalKey(_,O){return O?`${O}.${_}`:_}handleSentence(_,O,te){return _.replace(new RegExp(O,"g"),te)}handleSentenceWithParams(_,O){if(!O)return _;const te=Object.keys(O);if(!te.length)return _;const fe=this.getParamsKeyUuid(te),Pe=this.replaceParamsKeysAsUuidKey(_,{keys:te,keysUUID:fe});return this.replaceUuidKeyAsParamsValue(Pe,{params:O,keys:te,keysUUID:fe})}handleTrans(_){const O=[];for(;_.length;){const te=_.search(/<\d+>/);if(te>0){const Pe=_.slice(0,te);O.push(Pe)}const fe=this.handleCompStr(_);this.valueType.isString(fe)?(O.push(fe),_=""):(O.push({index:fe.index,content:fe.content,list:fe.list}),_=fe.otherContent)}return O}getParamsKeyUuid(_){return _.reduce((O,te)=>(O[te]=iu(),O),{})}handleCompStr(_){const O=_.search(/<\d+>/);if(-1===O)return _;let te=[];const fe=_.indexOf(">",O),Pe=Number(_.slice(O+1,fe)),mt=``,sn=_.indexOf(mt),ht=_.slice(fe+1,sn);return ht.search(/<\d+>/)>-1&&(te=this.handleTrans(ht)),{index:Pe,content:ht,list:te,otherContent:_.slice(sn+mt.length,_.length)}}replaceParamsKeysAsUuidKey(_,O){const{keys:te,keysUUID:fe}=O;return te.forEach(Pe=>{_=this.handleSentence(_,`{{${Pe}}}`,fe[Pe])}),_}replaceUuidKeyAsParamsValue(_,O){const{params:te,keys:fe,keysUUID:Pe}=O;return fe.forEach(mt=>{_=this.handleSentence(_,Pe[mt],te[mt])}),_}}return p.\u0275fac=function(_){return new(_||p)(g.LFG($o))},p.\u0275prov=g.Yz7({token:p,factory:p.\u0275fac,providedIn:"root"}),p})(),zo=(()=>{class p{constructor(_,O,te,fe){this.transDefaultLang=_,this.transLoader=O,this.maxRetry=te,this.transToolsService=fe,this.lang$=new A.X(Vo.ZH_CN),this.loadDefaultOver$=new A.X(!1),this.loadLangTrans$=new $.xQ,this.retry=5,this.translations={},this.retry=null==this.maxRetry?this.retry:this.maxRetry,this.transLoader=this.transLoader||{},this.lang$.next(_||Vo.ZH_CN),this.loadDefaultTrans()}get lang(){return this.lang$.value}get loadDefaultOver(){return this.loadDefaultOver$.value}static getBrowserLang(){if(Ki.checkNavigator())return window?.navigator?.language}static getBrowserLangs(){if(Ki.checkNavigator())return window?.navigator?.languages}changeLang(_){const O={curLang:_,result:!0},te={curLang:this.lang,result:!1};return this.translations[_]?(this.lang$.next(_),(0,re.of)(O)):this.transLoader[_]?this.loadLangTrans(_).pipe((0,Ye.w)(fe=>{let Pe=this.lang,mt=te;return fe&&(Pe=_,mt=O),this.lang$.next(Pe),(0,re.of)(mt)})):(function ue(p=0,E,_){let O=-1;return X(E)?O=Number(E)<1?1:Number(E):(0,Te.K)(E)&&(_=E),(0,Te.K)(_)||(_=G),new de.y(te=>{const fe=X(p)?p:+p-_.now();return _.schedule(Se,fe,{index:0,period:O,subscriber:te})})}().subscribe(fe=>this.loadLangTrans$.next(!1)),(0,re.of)(te))}changeLangSync(_){this.changeLang(_).subscribe()}getBrowserLang(){return console.warn("The function will be deprecated in the future, we recommend using NbTransService.getBrowserLang()!"),p.getBrowserLang()}getBrowserLangs(){return console.warn("The function will be deprecated in the future, we recommend using NbTransService.getBrowserLangs()!"),p.getBrowserLangs()}translationAsync(_,O){return this.lang$.pipe((0,Ye.w)(te=>this.translations[this.lang]?(0,re.of)({trans:this.translations[this.lang],result:!0}):this.loadLangTrans$),(0,le.U)(te=>this.translationSync(_,O)))}translationSync(_,O){const te=this.transToolsService.getFinalKey(_,O?.prefix),fe=!1===O?.returnKeyWhenEmpty?"":te;let Pe=Vn(this.translations[this.lang],te);if(Pe||(Pe=Vn(this.translations[this.transDefaultLang],te)),!Pe)return fe;const mt=O?.params;return Pe=this.transToolsService.handleSentenceWithParams(Pe,mt),Pe||fe}subscribeLangChange(){return this.lang$.asObservable()}subscribeLoadDefaultOver(){return this.loadDefaultOver?(0,re.of)(!0):this.loadDefaultOver$.asObservable().pipe(function hn(p){return E=>E.lift(new qt(p))}((_,O)=>!_&&0===O))}loadDefaultTrans(){this.loadTrans(this.lang).pipe((0,le.U)(_=>!!_)).subscribe(_=>{this.loadDefaultOver$.next(_),this.loadDefaultOver$.complete(),this.loadLangTrans$.next(_)})}loadLangTrans(_){return this.loadTrans(_).pipe((0,le.U)(O=>!!O),(0,Ee.b)(O=>this.loadLangTrans$.next(O)))}loadTrans(_){const O=this.transLoader[_];return O?(Tt(O)?(0,re.of)(null).pipe((0,Ye.w)(()=>(0,tt.D)(O()))):(0,re.of)(O)).pipe((0,Ee.b)(fe=>this.translations[_]=fe),function _t(p=-1){return E=>E.lift(new ge(p,E))}(this.retry),(0,Ne.K)(fe=>(0,re.of)(null))):(0,re.of)(null)}}return p.\u0275fac=function(_){return new(_||p)(g.LFG(Da,8),g.LFG(Yi,8),g.LFG(ul,8),g.LFG(Ki))},p.\u0275prov=g.Yz7({token:p,factory:p.\u0275fac,providedIn:"root"}),p})(),_a=(()=>{class p{constructor(_,O){this.changeDR=_,this.transService=O,this.latestValue="",this.destroy$=new $.xQ,this.key="",this.subscribeLangChange()}transform(_,O){return(!this.latestValue||_!==this.key||!M(O,this.options))&&(this.latestValue=this.transService.translationSync(_,O),this.key=_,this.options=O),this.latestValue}ngOnDestroy(){this.destroy$.next(),this.destroy$.complete()}subscribeLangChange(){this.transService.subscribeLangChange().pipe((0,Ye.w)(_=>this.transService.translationAsync(this.key,this.options)),Ce(this.destroy$)).subscribe(_=>this.updateLatestValue(_))}updateLatestValue(_){this.latestValue=_,this.changeDR.markForCheck()}}return p.\u0275fac=function(_){return new(_||p)(g.Y36(g.sBO,16),g.Y36(zo,16))},p.\u0275pipe=g.Yjl({name:"nbTrans",type:p,pure:!1,standalone:!0}),p})(),du=(()=>{class p{constructor(_){this.transToolsService=_}transform(_,O){return this.transToolsService.handleSentenceWithParams(_,O)}}return p.\u0275fac=function(_){return new(_||p)(g.Y36(Ki,16))},p.\u0275pipe=g.Yjl({name:"nbTransContent",type:p,pure:!0,standalone:!0}),p})(),rc=(()=>{class p{constructor(_){this.valueType=_}transform(_){let O;return this.valueType.isString(_)?O=lo.STR:this.valueType.isNumber(_?.index)&&(O=Array.isArray(_.list)&&_.list.length?lo.MULTI_COMP:lo.COMP),O}}return p.\u0275fac=function(_){return new(_||p)(g.Y36($o,16))},p.\u0275pipe=g.Yjl({name:"nbSentenceItemType",type:p,pure:!0,standalone:!0}),p})(),ic=(()=>{class p{constructor(_,O,te){this.changeDR=_,this.transToolsService=O,this.transService=te,this.components=[],this.key="",this.options={},this.sentenceList=[],this.SentenceItemEnum=lo,this.destroy$=new $.xQ,this.originTrans="",this.subscribeLangChange()}ngOnChanges(_){const{key:O,options:te}=_;(O||te)&&(this.originTrans=this.transService.translationSync(this.key,this.options),this.reRender())}ngOnDestroy(){this.destroy$.next(),this.destroy$.complete()}reRender(){this.params=this.options?.params,this.sentenceList=this.transToolsService.handleTrans(this.originTrans),this.changeDR.markForCheck()}subscribeLangChange(){this.transService.subscribeLangChange().pipe((0,Ye.w)(_=>this.transService.translationAsync(this.key,this.options)),Ce(this.destroy$)).subscribe(_=>{this.originTrans=_,this.reRender()})}}return p.\u0275fac=function(_){return new(_||p)(g.Y36(g.sBO),g.Y36(Ki),g.Y36(zo))},p.\u0275cmp=g.Xpm({type:p,selectors:[["nb-trans"]],inputs:{components:"components",key:"key",options:"options"},standalone:!0,features:[g.TTD,g.jDz],decls:9,vars:4,consts:[[4,"ngTemplateOutlet","ngTemplateOutletContext"],["sentenceListTpl",""],["strTpl",""],["compTpl",""],["multiCompTpl",""],[4,"ngFor","ngForOf"],[3,"ngSwitch"],[3,"ngTemplateOutlet","ngTemplateOutletContext",4,"ngSwitchCase"],[3,"ngTemplateOutlet","ngTemplateOutletContext"]],template:function(_,O){if(1&_&&(g.YNc(0,rl,1,0,"ng-container",0),g.YNc(1,Rs,1,1,"ng-template",null,1,g.W1O),g.YNc(3,qu,2,4,"ng-template",null,2,g.W1O),g.YNc(5,ol,3,9,"ng-template",null,3,g.W1O),g.YNc(7,Xu,2,7,"ng-template",null,4,g.W1O)),2&_){const te=g.MAs(2);g.Q6J("ngTemplateOutlet",te)("ngTemplateOutletContext",g.VKq(2,ec,O.sentenceList))}},dependencies:[Ue.tP,Ue.ax,Ue.RF,Ue.n9,As,rc,du],encapsulation:2,changeDetection:0}),p})(),sc=(()=>{class p{constructor(){this.content="",this.subcontentList=[]}}return p.\u0275fac=function(_){return new(_||p)},p.\u0275cmp=g.Xpm({type:p,selectors:[["","nb-trans-subcontent",""]],inputs:{content:["nb-trans-subcontent","content"],subcontentList:"subcontentList"},standalone:!0,features:[g.jDz],attrs:tc,decls:4,vars:4,consts:[[3,"ngSwitch"],[4,"ngSwitchCase"],[3,"ngTemplateOutlet","ngTemplateOutletContext",4,"ngSwitchDefault"],[3,"ngTemplateOutlet","ngTemplateOutletContext"]],template:function(_,O){1&_&&(g.ynx(0,0),g.ALo(1,"nbIsString"),g.YNc(2,sl,2,1,"ng-container",1),g.YNc(3,al,2,6,"ng-container",2),g.BQk()),2&_&&(g.Q6J("ngSwitch",g.lcZ(1,2,O.content)),g.xp6(2),g.Q6J("ngSwitchCase",!0))},dependencies:[Ue.RF,Ue.n9,Ue.ED,Ue.tP,uu,As],encapsulation:2,changeDetection:0}),p})();const ac=[ic,sc];let cc=(()=>{class p{}return p.\u0275fac=function(_){return new(_||p)},p.\u0275mod=g.oAB({type:p}),p.\u0275inj=g.cJS({imports:[ac]}),p})()},895:(Le,he,N)=>{N.d(he,{Do:()=>Ye,ED:()=>bt,EM:()=>Ws,HT:()=>re,JF:()=>Jr,K0:()=>Q,Mx:()=>Co,Ov:()=>_n,RF:()=>Yt,S$:()=>ue,Ts:()=>$n,V_:()=>z,Ye:()=>le,ax:()=>jt,b0:()=>tt,bD:()=>ts,ez:()=>Hs,n9:()=>rr,q:()=>$,tP:()=>Fe,w_:()=>de});var g=N(738);let A=null;function $(){return A}function re(f){A||(A=f)}class de{}const Q=new g.OlP("DocumentToken");let ae=(()=>{class f{historyGo(h){throw new Error("Not implemented")}}return f.\u0275fac=function(h){return new(h||f)},f.\u0275prov=g.Yz7({token:f,factory:function(){return function q(){return(0,g.LFG)(k)}()},providedIn:"platform"}),f})();const z=new g.OlP("Location Initialized");let k=(()=>{class f extends ae{constructor(h){super(),this._doc=h,this._init()}_init(){this.location=window.location,this._history=window.history}getBaseHrefFromDOM(){return $().getBaseHref(this._doc)}onPopState(h){const S=$().getGlobalEventTarget(this._doc,"window");return S.addEventListener("popstate",h,!1),()=>S.removeEventListener("popstate",h)}onHashChange(h){const S=$().getGlobalEventTarget(this._doc,"window");return S.addEventListener("hashchange",h,!1),()=>S.removeEventListener("hashchange",h)}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(h){this.location.pathname=h}pushState(h,S,P){j()?this._history.pushState(h,S,P):this.location.hash=P}replaceState(h,S,P){j()?this._history.replaceState(h,S,P):this.location.hash=P}forward(){this._history.forward()}back(){this._history.back()}historyGo(h=0){this._history.go(h)}getState(){return this._history.state}}return f.\u0275fac=function(h){return new(h||f)(g.LFG(Q))},f.\u0275prov=g.Yz7({token:f,factory:function(){return function G(){return new k((0,g.LFG)(Q))}()},providedIn:"platform"}),f})();function j(){return!!window.history.pushState}function J(f,D){if(0==f.length)return D;if(0==D.length)return f;let h=0;return f.endsWith("/")&&h++,D.startsWith("/")&&h++,2==h?f+D.substring(1):1==h?f+D:f+"/"+D}function X(f){const D=f.match(/#|\?|$/),h=D&&D.index||f.length;return f.slice(0,h-("/"===f[h-1]?1:0))+f.slice(h)}function Te(f){return f&&"?"!==f[0]?"?"+f:f}let ue=(()=>{class f{historyGo(h){throw new Error("Not implemented")}}return f.\u0275fac=function(h){return new(h||f)},f.\u0275prov=g.Yz7({token:f,factory:function(){return(0,g.f3M)(tt)},providedIn:"root"}),f})();const Se=new g.OlP("appBaseHref");let tt=(()=>{class f extends ue{constructor(h,S){super(),this._platformLocation=h,this._removeListenerFns=[],this._baseHref=S??this._platformLocation.getBaseHrefFromDOM()??(0,g.f3M)(Q).location?.origin??""}ngOnDestroy(){for(;this._removeListenerFns.length;)this._removeListenerFns.pop()()}onPopState(h){this._removeListenerFns.push(this._platformLocation.onPopState(h),this._platformLocation.onHashChange(h))}getBaseHref(){return this._baseHref}prepareExternalUrl(h){return J(this._baseHref,h)}path(h=!1){const S=this._platformLocation.pathname+Te(this._platformLocation.search),P=this._platformLocation.hash;return P&&h?`${S}${P}`:S}pushState(h,S,P,H){const K=this.prepareExternalUrl(P+Te(H));this._platformLocation.pushState(h,S,K)}replaceState(h,S,P,H){const K=this.prepareExternalUrl(P+Te(H));this._platformLocation.replaceState(h,S,K)}forward(){this._platformLocation.forward()}back(){this._platformLocation.back()}getState(){return this._platformLocation.getState()}historyGo(h=0){this._platformLocation.historyGo?.(h)}}return f.\u0275fac=function(h){return new(h||f)(g.LFG(ae),g.LFG(Se,8))},f.\u0275prov=g.Yz7({token:f,factory:f.\u0275fac,providedIn:"root"}),f})(),Ye=(()=>{class f extends ue{constructor(h,S){super(),this._platformLocation=h,this._baseHref="",this._removeListenerFns=[],null!=S&&(this._baseHref=S)}ngOnDestroy(){for(;this._removeListenerFns.length;)this._removeListenerFns.pop()()}onPopState(h){this._removeListenerFns.push(this._platformLocation.onPopState(h),this._platformLocation.onHashChange(h))}getBaseHref(){return this._baseHref}path(h=!1){let S=this._platformLocation.hash;return null==S&&(S="#"),S.length>0?S.substring(1):S}prepareExternalUrl(h){const S=J(this._baseHref,h);return S.length>0?"#"+S:S}pushState(h,S,P,H){let K=this.prepareExternalUrl(P+Te(H));0==K.length&&(K=this._platformLocation.pathname),this._platformLocation.pushState(h,S,K)}replaceState(h,S,P,H){let K=this.prepareExternalUrl(P+Te(H));0==K.length&&(K=this._platformLocation.pathname),this._platformLocation.replaceState(h,S,K)}forward(){this._platformLocation.forward()}back(){this._platformLocation.back()}getState(){return this._platformLocation.getState()}historyGo(h=0){this._platformLocation.historyGo?.(h)}}return f.\u0275fac=function(h){return new(h||f)(g.LFG(ae),g.LFG(Se,8))},f.\u0275prov=g.Yz7({token:f,factory:f.\u0275fac}),f})(),le=(()=>{class f{constructor(h){this._subject=new g.vpe,this._urlChangeListeners=[],this._urlChangeSubscription=null,this._locationStrategy=h;const S=this._locationStrategy.getBaseHref();this._basePath=function qn(f){if(new RegExp("^(https?:)?//").test(f)){const[,h]=f.split(/\/\/[^\/]+/);return h}return f}(X(qt(S))),this._locationStrategy.onPopState(P=>{this._subject.emit({url:this.path(!0),pop:!0,state:P.state,type:P.type})})}ngOnDestroy(){this._urlChangeSubscription?.unsubscribe(),this._urlChangeListeners=[]}path(h=!1){return this.normalize(this._locationStrategy.path(h))}getState(){return this._locationStrategy.getState()}isCurrentPathEqualTo(h,S=""){return this.path()==this.normalize(h+Te(S))}normalize(h){return f.stripTrailingSlash(function hn(f,D){return f&&D.startsWith(f)?D.substring(f.length):D}(this._basePath,qt(h)))}prepareExternalUrl(h){return h&&"/"!==h[0]&&(h="/"+h),this._locationStrategy.prepareExternalUrl(h)}go(h,S="",P=null){this._locationStrategy.pushState(P,"",h,S),this._notifyUrlChangeListeners(this.prepareExternalUrl(h+Te(S)),P)}replaceState(h,S="",P=null){this._locationStrategy.replaceState(P,"",h,S),this._notifyUrlChangeListeners(this.prepareExternalUrl(h+Te(S)),P)}forward(){this._locationStrategy.forward()}back(){this._locationStrategy.back()}historyGo(h=0){this._locationStrategy.historyGo?.(h)}onUrlChange(h){return this._urlChangeListeners.push(h),this._urlChangeSubscription||(this._urlChangeSubscription=this.subscribe(S=>{this._notifyUrlChangeListeners(S.url,S.state)})),()=>{const S=this._urlChangeListeners.indexOf(h);this._urlChangeListeners.splice(S,1),0===this._urlChangeListeners.length&&(this._urlChangeSubscription?.unsubscribe(),this._urlChangeSubscription=null)}}_notifyUrlChangeListeners(h="",S){this._urlChangeListeners.forEach(P=>P(h,S))}subscribe(h,S,P){return this._subject.subscribe({next:h,error:S,complete:P})}}return f.normalizeQueryParams=Te,f.joinWithSlash=J,f.stripTrailingSlash=X,f.\u0275fac=function(h){return new(h||f)(g.LFG(ue))},f.\u0275prov=g.Yz7({token:f,factory:function(){return function Zt(){return new le((0,g.LFG)(ue))}()},providedIn:"root"}),f})();function qt(f){return f.replace(/\/index.html$/,"")}function Co(f,D){D=encodeURIComponent(D);for(const h of f.split(";")){const S=h.indexOf("="),[P,H]=-1==S?[h,""]:[h.slice(0,S),h.slice(S+1)];if(P.trim()===D)return decodeURIComponent(H)}return null}class Wt{constructor(D,h,S,P){this.$implicit=D,this.ngForOf=h,this.index=S,this.count=P}get first(){return 0===this.index}get last(){return this.index===this.count-1}get even(){return this.index%2==0}get odd(){return!this.even}}let jt=(()=>{class f{constructor(h,S,P){this._viewContainer=h,this._template=S,this._differs=P,this._ngForOf=null,this._ngForOfDirty=!0,this._differ=null}set ngForOf(h){this._ngForOf=h,this._ngForOfDirty=!0}set ngForTrackBy(h){this._trackByFn=h}get ngForTrackBy(){return this._trackByFn}set ngForTemplate(h){h&&(this._template=h)}ngDoCheck(){if(this._ngForOfDirty){this._ngForOfDirty=!1;const h=this._ngForOf;!this._differ&&h&&(this._differ=this._differs.find(h).create(this.ngForTrackBy))}if(this._differ){const h=this._differ.diff(this._ngForOf);h&&this._applyChanges(h)}}_applyChanges(h){const S=this._viewContainer;h.forEachOperation((P,H,K)=>{if(null==P.previousIndex)S.createEmbeddedView(this._template,new Wt(P.item,this._ngForOf,-1,-1),null===K?void 0:K);else if(null==K)S.remove(null===H?void 0:H);else if(null!==H){const _e=S.get(H);S.move(_e,K),fr(_e,P)}});for(let P=0,H=S.length;P{fr(S.get(P.currentIndex),P)})}static ngTemplateContextGuard(h,S){return!0}}return f.\u0275fac=function(h){return new(h||f)(g.Y36(g.s_b),g.Y36(g.Rgc),g.Y36(g.ZZ4))},f.\u0275dir=g.lG2({type:f,selectors:[["","ngFor","","ngForOf",""]],inputs:{ngForOf:"ngForOf",ngForTrackBy:"ngForTrackBy",ngForTemplate:"ngForTemplate"},standalone:!0}),f})();function fr(f,D){f.context.$implicit=D.item}class lt{constructor(D,h){this._viewContainerRef=D,this._templateRef=h,this._created=!1}create(){this._created=!0,this._viewContainerRef.createEmbeddedView(this._templateRef)}destroy(){this._created=!1,this._viewContainerRef.clear()}enforceState(D){D&&!this._created?this.create():!D&&this._created&&this.destroy()}}let Yt=(()=>{class f{constructor(){this._defaultUsed=!1,this._caseCount=0,this._lastCaseCheckIndex=0,this._lastCasesMatched=!1}set ngSwitch(h){this._ngSwitch=h,0===this._caseCount&&this._updateDefaultCases(!0)}_addCase(){return this._caseCount++}_addDefault(h){this._defaultViews||(this._defaultViews=[]),this._defaultViews.push(h)}_matchCase(h){const S=h==this._ngSwitch;return this._lastCasesMatched=this._lastCasesMatched||S,this._lastCaseCheckIndex++,this._lastCaseCheckIndex===this._caseCount&&(this._updateDefaultCases(!this._lastCasesMatched),this._lastCaseCheckIndex=0,this._lastCasesMatched=!1),S}_updateDefaultCases(h){if(this._defaultViews&&h!==this._defaultUsed){this._defaultUsed=h;for(let S=0;S{class f{constructor(h,S,P){this.ngSwitch=P,P._addCase(),this._view=new lt(h,S)}ngDoCheck(){this._view.enforceState(this.ngSwitch._matchCase(this.ngSwitchCase))}}return f.\u0275fac=function(h){return new(h||f)(g.Y36(g.s_b),g.Y36(g.Rgc),g.Y36(Yt,9))},f.\u0275dir=g.lG2({type:f,selectors:[["","ngSwitchCase",""]],inputs:{ngSwitchCase:"ngSwitchCase"},standalone:!0}),f})(),bt=(()=>{class f{constructor(h,S,P){P._addDefault(new lt(h,S))}}return f.\u0275fac=function(h){return new(h||f)(g.Y36(g.s_b),g.Y36(g.Rgc),g.Y36(Yt,9))},f.\u0275dir=g.lG2({type:f,selectors:[["","ngSwitchDefault",""]],standalone:!0}),f})(),Fe=(()=>{class f{constructor(h){this._viewContainerRef=h,this._viewRef=null,this.ngTemplateOutletContext=null,this.ngTemplateOutlet=null,this.ngTemplateOutletInjector=null}ngOnChanges(h){if(h.ngTemplateOutlet||h.ngTemplateOutletInjector){const S=this._viewContainerRef;if(this._viewRef&&S.remove(S.indexOf(this._viewRef)),this.ngTemplateOutlet){const{ngTemplateOutlet:P,ngTemplateOutletContext:H,ngTemplateOutletInjector:K}=this;this._viewRef=S.createEmbeddedView(P,H,K?{injector:K}:void 0)}else this._viewRef=null}else this._viewRef&&h.ngTemplateOutletContext&&this.ngTemplateOutletContext&&(this._viewRef.context=this.ngTemplateOutletContext)}}return f.\u0275fac=function(h){return new(h||f)(g.Y36(g.s_b))},f.\u0275dir=g.lG2({type:f,selectors:[["","ngTemplateOutlet",""]],inputs:{ngTemplateOutletContext:"ngTemplateOutletContext",ngTemplateOutlet:"ngTemplateOutlet",ngTemplateOutletInjector:"ngTemplateOutletInjector"},standalone:!0,features:[g.TTD]}),f})();class Fn{createSubscription(D,h){return D.subscribe({next:h,error:S=>{throw S}})}dispose(D){D.unsubscribe()}}class pr{createSubscription(D,h){return D.then(h,S=>{throw S})}dispose(D){}}const Rt=new pr,Ur=new Fn;let _n=(()=>{class f{constructor(h){this._latestValue=null,this._subscription=null,this._obj=null,this._strategy=null,this._ref=h}ngOnDestroy(){this._subscription&&this._dispose(),this._ref=null}transform(h){return this._obj?h!==this._obj?(this._dispose(),this.transform(h)):this._latestValue:(h&&this._subscribe(h),this._latestValue)}_subscribe(h){this._obj=h,this._strategy=this._selectStrategy(h),this._subscription=this._strategy.createSubscription(h,S=>this._updateLatestValue(h,S))}_selectStrategy(h){if((0,g.QGY)(h))return Rt;if((0,g.F4k)(h))return Ur;throw function Dt(f,D){return new g.vHH(2100,!1)}()}_dispose(){this._strategy.dispose(this._subscription),this._latestValue=null,this._subscription=null,this._obj=null}_updateLatestValue(h,S){h===this._obj&&(this._latestValue=S,this._ref.markForCheck())}}return f.\u0275fac=function(h){return new(h||f)(g.Y36(g.sBO,16))},f.\u0275pipe=g.Yjl({name:"async",type:f,pure:!1,standalone:!0}),f})(),$n=(()=>{class f{transform(h){return JSON.stringify(h,null,2)}}return f.\u0275fac=function(h){return new(h||f)},f.\u0275pipe=g.Yjl({name:"json",type:f,pure:!1,standalone:!0}),f})(),Hs=(()=>{class f{}return f.\u0275fac=function(h){return new(h||f)},f.\u0275mod=g.oAB({type:f}),f.\u0275inj=g.cJS({}),f})();const ts="browser";let Ws=(()=>{class f{}return f.\u0275prov=(0,g.Yz7)({token:f,providedIn:"root",factory:()=>new rs((0,g.LFG)(Q),window)}),f})();class rs{constructor(D,h){this.document=D,this.window=h,this.offset=()=>[0,0]}setOffset(D){this.offset=Array.isArray(D)?()=>D:D}getScrollPosition(){return this.supportsScrolling()?[this.window.pageXOffset,this.window.pageYOffset]:[0,0]}scrollToPosition(D){this.supportsScrolling()&&this.window.scrollTo(D[0],D[1])}scrollToAnchor(D){if(!this.supportsScrolling())return;const h=function Io(f,D){const h=f.getElementById(D)||f.getElementsByName(D)[0];if(h)return h;if("function"==typeof f.createTreeWalker&&f.body&&(f.body.createShadowRoot||f.body.attachShadow)){const S=f.createTreeWalker(f.body,NodeFilter.SHOW_ELEMENT);let P=S.currentNode;for(;P;){const H=P.shadowRoot;if(H){const K=H.getElementById(D)||H.querySelector(`[name="${D}"]`);if(K)return K}P=S.nextNode()}}return null}(this.document,D);h&&(this.scrollToElement(h),h.focus())}setHistoryScrollRestoration(D){if(this.supportScrollRestoration()){const h=this.window.history;h&&h.scrollRestoration&&(h.scrollRestoration=D)}}scrollToElement(D){const h=D.getBoundingClientRect(),S=h.left+this.window.pageXOffset,P=h.top+this.window.pageYOffset,H=this.offset();this.window.scrollTo(S-H[0],P-H[1])}supportScrollRestoration(){try{if(!this.supportsScrolling())return!1;const D=Qr(this.window.history)||Qr(Object.getPrototypeOf(this.window.history));return!(!D||!D.writable&&!D.set)}catch{return!1}}supportsScrolling(){try{return!!this.window&&!!this.window.scrollTo&&"pageXOffset"in this.window}catch{return!1}}}function Qr(f){return Object.getOwnPropertyDescriptor(f,"scrollRestoration")}class Jr{}},738:(Le,he,N)=>{N.d(he,{tb:()=>rm,AFp:()=>em,ip1:()=>Xg,CZH:()=>Bc,hGG:()=>zb,z2F:()=>$c,sBO:()=>Mb,Sil:()=>cb,_Vd:()=>mu,EJc:()=>ab,Xts:()=>yl,SBq:()=>yu,lqb:()=>Os,qLn:()=>vu,vpe:()=>qo,XFs:()=>ie,OlP:()=>gt,zs3:()=>Ns,ZZ4:()=>Hd,aQg:()=>$d,soG:()=>Hc,YKP:()=>ng,h0i:()=>Ba,PXZ:()=>bb,R0b:()=>Yr,FiY:()=>c,Lbi:()=>ob,g9A:()=>nm,Qsj:()=>wy,FYo:()=>Of,JOm:()=>Vr,tp0:()=>d,Rgc:()=>Pu,dDg:()=>vb,eoX:()=>lm,GfV:()=>Nf,s_b:()=>kc,ifc:()=>oe,MMx:()=>md,Lck:()=>oC,eFA:()=>hm,G48:()=>Tb,f3M:()=>Sn,MR2:()=>cy,_c5:()=>Vb,c2e:()=>ib,zSh:()=>Cl,wAp:()=>Ae,vHH:()=>Ee,lri:()=>um,rWj:()=>cm,D6c:()=>Gb,cg1:()=>ud,kL8:()=>Mp,dqk:()=>at,Z0I:()=>Xn,sIi:()=>bu,CqO:()=>Nh,QGY:()=>Jl,QP$:()=>fr,F4k:()=>Oh,RDi:()=>Bm,AaK:()=>ue,TTD:()=>Vn,jDz:()=>og,xp6:()=>Hf,uIk:()=>Yl,Suo:()=>Ag,Xpm:()=>Dn,lG2:()=>Jo,Yz7:()=>st,cJS:()=>wt,oAB:()=>kr,Yjl:()=>Xo,Y36:()=>Ia,_UZ:()=>ql,GkF:()=>Ql,BQk:()=>Mc,ynx:()=>Tc,qZA:()=>Ic,TgZ:()=>Sc,n5z:()=>fi,Ikx:()=>ad,LFG:()=>ot,$8M:()=>Es,$Z:()=>eh,NdJ:()=>Xl,CRH:()=>Rg,oxw:()=>Uh,ALo:()=>_g,lcZ:()=>Cg,xi3:()=>bg,Q6J:()=>Kl,DdM:()=>dg,VKq:()=>fg,WLB:()=>hg,kEZ:()=>pg,iGM:()=>Mg,MAs:()=>Ph,LSH:()=>ml,P3R:()=>Cf,YNc:()=>xh,W1O:()=>Ng,_uU:()=>lp,Oqu:()=>id,hij:()=>xc,AsE:()=>sd});var g=N(529),A=N(654),$=N(498),re=N(866),de=N(146),Q=N(9),q=N(762);class k{constructor(t,n){this.subjectFactory=t,this.selector=n}call(t,n){const{selector:r}=this,o=this.subjectFactory(),i=r(o).subscribe(t);return i.add(n.subscribe(o)),i}}var j=N(327);function G(){return new g.xQ}function X(e){for(let t in e)if(e[t]===X)return t;throw Error("Could not find renamed property on target object.")}function ue(e){if("string"==typeof e)return e;if(Array.isArray(e))return"["+e.map(ue).join(", ")+"]";if(null==e)return""+e;if(e.overriddenName)return`${e.overriddenName}`;if(e.name)return`${e.name}`;const t=e.toString();if(null==t)return""+t;const n=t.indexOf("\n");return-1===n?t:t.substring(0,n)}function Se(e,t){return null==e||""===e?null===t?"":t:null==t||""===t?e:e+" "+t}const tt=X({__forward_ref__:X});function Ye(e){return e.__forward_ref__=Ye,e.toString=function(){return ue(this())},e}function le(e){return Zt(e)?e():e}function Zt(e){return"function"==typeof e&&e.hasOwnProperty(tt)&&e.__forward_ref__===Ye}function hn(e){return e&&!!e.\u0275providers}const qn="https://g.co/ng/security#xss";class Ee extends Error{constructor(t,n){super(function _t(e,t){return`NG0${Math.abs(e)}${t?": "+t.trim():""}`}(t,n)),this.code=t}}function ge(e){return"string"==typeof e?e:null==e?"":String(e)}function Bt(e,t){throw new Ee(-201,!1)}function Gt(e,t){null==e&&function Ve(e,t,n,r){throw new Error(`ASSERTION ERROR: ${e}`+(null==r?"":` [Expected=> ${n} ${r} ${t} <=Actual]`))}(t,e,null,"!=")}function st(e){return{token:e.token,providedIn:e.providedIn||null,factory:e.factory,value:void 0}}function wt(e){return{providers:e.providers||[],imports:e.imports||[]}}function pt(e){return Nr(e,Pt)||Nr(e,yt)}function Xn(e){return null!==pt(e)}function Nr(e,t){return e.hasOwnProperty(t)?e[t]:null}function Fr(e){return e&&(e.hasOwnProperty(er)||e.hasOwnProperty(Ie))?e[er]:null}const Pt=X({\u0275prov:X}),er=X({\u0275inj:X}),yt=X({ngInjectableDef:X}),Ie=X({ngInjectorDef:X});var ie=(()=>((ie=ie||{})[ie.Default=0]="Default",ie[ie.Host=1]="Host",ie[ie.Self=2]="Self",ie[ie.SkipSelf=4]="SkipSelf",ie[ie.Optional=8]="Optional",ie))();let tr;function Qe(e){const t=tr;return tr=e,t}function Pn(e,t,n){const r=pt(e);return r&&"root"==r.providedIn?void 0===r.value?r.value=r.factory():r.value:n&ie.Optional?null:void 0!==t?t:void Bt(ue(e))}const at=(()=>typeof globalThis<"u"&&globalThis||typeof global<"u"&&global||typeof window<"u"&&window||typeof self<"u"&&typeof WorkerGlobalScope<"u"&&self instanceof WorkerGlobalScope&&self)(),De={},Tt="__NG_DI_FLAG__",lr="ngTempTokenPath",Lr=/\n/gm,Jt="__source";let vn;function wn(e){const t=vn;return vn=e,t}function Do(e,t=ie.Default){if(void 0===vn)throw new Ee(-203,!1);return null===vn?Pn(e,void 0,t):vn.get(e,t&ie.Optional?null:void 0,t)}function ot(e,t=ie.Default){return(function xn(){return tr}()||Do)(le(e),t)}function Sn(e,t=ie.Default){return ot(e,Hn(t))}function Hn(e){return typeof e>"u"||"number"==typeof e?e:0|(e.optional&&8)|(e.host&&1)|(e.self&&2)|(e.skipSelf&&4)}function nr(e){const t=[];for(let n=0;n((T=T||{})[T.OnPush=0]="OnPush",T[T.Default=1]="Default",T))(),oe=(()=>{return(e=oe||(oe={}))[e.Emulated=0]="Emulated",e[e.None=2]="None",e[e.ShadowDom=3]="ShadowDom",oe;var e})();const ee={},se=[],Ze=X({\u0275cmp:X}),$t=X({\u0275dir:X}),un=X({\u0275pipe:X}),Ot=X({\u0275mod:X}),Ke=X({\u0275fac:X}),ct=X({__NG_ELEMENT_ID__:X});let In=0;function Dn(e){return C(()=>{const n=!0===e.standalone,r={},o={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:r,inputs:null,outputs:null,exportAs:e.exportAs||null,onPush:e.changeDetection===T.OnPush,directiveDefs:null,pipeDefs:null,standalone:n,dependencies:n&&e.dependencies||null,getStandaloneInjector:null,selectors:e.selectors||se,viewQuery:e.viewQuery||null,features:e.features||null,data:e.data||{},encapsulation:e.encapsulation||oe.Emulated,id:"c"+In++,styles:e.styles||se,_:null,setInput:null,schemas:e.schemas||null,tView:null,findHostDirectiveDefs:null,hostDirectives:null},i=e.dependencies,a=e.features;return o.inputs=Qo(e.inputs,r),o.outputs=Qo(e.outputs),a&&a.forEach(l=>l(o)),o.directiveDefs=i?()=>("function"==typeof i?i():i).map(On).filter(_o):null,o.pipeDefs=i?()=>("function"==typeof i?i():i).map(jt).filter(_o):null,o})}function On(e){return ze(e)||Wt(e)}function _o(e){return null!==e}function kr(e){return C(()=>({type:e.type,bootstrap:e.bootstrap||se,declarations:e.declarations||se,imports:e.imports||se,exports:e.exports||se,transitiveCompileScopes:null,schemas:e.schemas||null,id:e.id||null}))}function Qo(e,t){if(null==e)return ee;const n={};for(const r in e)if(e.hasOwnProperty(r)){let o=e[r],i=o;Array.isArray(o)&&(i=o[1],o=o[0]),n[o]=r,t&&(t[o]=i)}return n}const Jo=Dn;function Xo(e){return{type:e.type,name:e.name,factory:null,pure:!1!==e.pure,standalone:!0===e.standalone,onDestroy:e.type.prototype.ngOnDestroy||null}}function ze(e){return e[Ze]||null}function Wt(e){return e[$t]||null}function jt(e){return e[un]||null}function fr(e){const t=ze(e)||Wt(e)||jt(e);return null!==t&&t.standalone}function gn(e,t){const n=e[Ot]||null;if(!n&&!0===t)throw new Error(`Type ${ue(e)} does not have '\u0275mod' property.`);return n}function Nt(e){return Array.isArray(e)&&"object"==typeof e[1]}function Ft(e){return Array.isArray(e)&&!0===e[1]}function yr(e){return 0!=(4&e.flags)}function or(e){return e.componentOffset>-1}function So(e){return 1==(1&e.flags)}function Tn(e){return null!==e.template}function ti(e){return 0!=(256&e[2])}function kn(e,t){return e.hasOwnProperty(Ke)?e[Ke]:null}class Ks{constructor(t,n,r){this.previousValue=t,this.currentValue=n,this.firstChange=r}isFirstChange(){return this.firstChange}}function Vn(){return ni}function ni(e){return e.type.prototype.ngOnChanges&&(e.setInput=Xr),os}function os(){const e=Dr(this),t=e?.current;if(t){const n=e.previous;if(n===ee)e.previous=t;else for(let r in t)n[r]=t[r];e.current=null,this.ngOnChanges(t)}}function Xr(e,t,n,r){const o=this.declaredInputs[n],i=Dr(e)||function Si(e,t){return e[ri]=t}(e,{previous:ee,current:null}),a=i.current||(i.current={}),l=i.previous,m=l[o];a[o]=new Ks(m&&m.currentValue,t,l===ee),e[r]=t}Vn.ngInherit=!0;const ri="__ngSimpleChanges__";function Dr(e){return e[ri]||null}function St(e){for(;Array.isArray(e);)e=e[0];return e}function cn(e,t){return St(t[e.index])}function oi(e,t){return e.data[t]}function no(e,t){return e[t]}function Lt(e,t){const n=t[e];return Nt(n)?n:n[0]}function $r(e){return 64==(64&e[2])}function _r(e,t){return null==t?null:e[t]}function Ao(e){e[18]=0}function It(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 Oe={lFrame:ds(null),bindingsEnabled:!0};function Ai(){return Oe.bindingsEnabled}function Y(){return Oe.lFrame.lView}function Ge(){return Oe.lFrame.tView}function Ut(){let e=Cr();for(;null!==e&&64===e.type;)e=e.parent;return e}function Cr(){return Oe.lFrame.currentTNode}function zn(e,t){const n=Oe.lFrame;n.currentTNode=e,n.isParent=t}function Ro(){return Oe.lFrame.isParent}function Gn(){Oe.lFrame.isParent=!1}function xt(){const e=Oe.lFrame;let t=e.bindingRootIndex;return-1===t&&(t=e.bindingRootIndex=e.tView.bindingStartIndex),t}function oo(){return Oe.lFrame.bindingIndex++}function Xs(e,t){const n=Oe.lFrame;n.bindingIndex=n.bindingRootIndex=e,Pi(t)}function Pi(e){Oe.lFrame.currentDirectiveIndex=e}function io(){return Oe.lFrame.currentQueryIndex}function Er(e){Oe.lFrame.currentQueryIndex=e}function cs(e){const t=e[1];return 2===t.type?t.declTNode:1===t.type?e[6]:null}function si(e,t,n){if(n&ie.SkipSelf){let o=t,i=e;for(;!(o=o.parent,null!==o||n&ie.Host||(o=cs(i),null===o||(i=i[15],10&o.type))););if(null===o)return!1;t=o,e=i}const r=Oe.lFrame=ls();return r.currentTNode=t,r.lView=e,!0}function Oi(e){const t=ls(),n=e[1];Oe.lFrame=t,t.currentTNode=n.firstChild,t.lView=e,t.tView=n,t.contextLView=e,t.bindingIndex=n.bindingStartIndex,t.inI18n=!1}function ls(){const e=Oe.lFrame,t=null===e?null:e.child;return null===t?ds(e):t}function ds(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 fs(){const e=Oe.lFrame;return Oe.lFrame=e.parent,e.currentTNode=null,e.lView=null,e}const hs=fs;function Ni(){const e=fs();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 f(){return Oe.lFrame.selectedIndex}function D(e){Oe.lFrame.selectedIndex=e}function h(){const e=Oe.lFrame;return oi(e.tView,e.selectedIndex)}function $e(e,t){for(let n=t.directiveStart,r=t.directiveEnd;n=r)break}else t[m]<0&&(e[18]+=65536),(l>11>16&&(3&e[2])===t){e[2]+=2048;try{i.call(l)}finally{}}}else try{i.call(l)}finally{}}class on{constructor(t,n,r){this.factory=t,this.resolving=!1,this.canSeeViewProviders=n,this.injectImpl=r}}function gs(e,t,n){let r=0;for(;rt){a=i-1;break}}}for(;i>16}(e),r=t;for(;n>0;)r=r[15],n--;return r}let ia=!0;function ci(e){const t=ia;return ia=e,t}let qa=0;const sr={};function Ui(e,t){const n=ft(e,t);if(-1!==n)return n;const r=t[1];r.firstCreatePass&&(e.injectorIndex=t.length,Bi(r.data,e),Bi(t,null),Bi(r.blueprint,null));const o=ys(e,t),i=e.injectorIndex;if(ms(o)){const a=ji(o),l=ui(o,t),m=l[1].data;for(let v=0;v<8;v++)t[i+v]=l[a+v]|m[a+v]}return t[i+8]=o,i}function Bi(e,t){e.push(0,0,0,0,0,0,0,0,t)}function ft(e,t){return-1===e.injectorIndex||e.parent&&e.parent.injectorIndex===e.injectorIndex||null===t[e.injectorIndex+8]?-1:e.injectorIndex}function ys(e,t){if(e.parent&&-1!==e.parent.injectorIndex)return e.parent.injectorIndex;let n=0,r=null,o=t;for(;null!==o;){if(r=bs(o),null===r)return-1;if(n++,o=o[15],-1!==r.injectorIndex)return r.injectorIndex|n<<16}return-1}function Hi(e,t,n){!function Qa(e,t,n){let r;"string"==typeof n?r=n.charCodeAt(0)||0:n.hasOwnProperty(ct)&&(r=n[ct]),null==r&&(r=n[ct]=qa++);const o=255&r;t.data[e+(o>>5)]|=1<=0?255&t:Ja:t}(n);if("function"==typeof i){if(!si(t,e,r))return r&ie.Host?$i(o,0,r):vs(t,n,r,o);try{const a=i(r);if(null!=a||r&ie.Optional)return a;Bt()}finally{hs()}}else if("number"==typeof i){let a=null,l=ft(e,t),m=-1,v=r&ie.Host?t[16][6]:null;for((-1===l||r&ie.SkipSelf)&&(m=-1===l?ys(e,t):t[l+8],-1!==m&&_s(r,!1)?(a=t[1],l=ji(m),t=ui(m,t)):l=-1);-1!==l;){const I=t[1];if(ca(i,l,I.data)){const R=li(l,t,n,a,r,v);if(R!==sr)return R}m=t[l+8],-1!==m&&_s(r,t[1].data[l+8]===v)&&ca(i,l,t)?(a=I,l=ji(m),t=ui(m,t)):l=-1}}return o}function li(e,t,n,r,o,i){const a=t[1],l=a.data[e+8],I=di(l,a,n,null==r?or(l)&&ia:r!=a&&0!=(3&l.type),o&ie.Host&&i===l);return null!==I?Tr(t,a,I,l):sr}function di(e,t,n,r,o){const i=e.providerIndexes,a=t.data,l=1048575&i,m=e.directiveStart,I=i>>20,F=o?l+I:e.directiveEnd;for(let U=r?l:l+I;U=m&&W.type===n)return U}if(o){const U=a[m];if(U&&Tn(U)&&U.type===n)return m}return null}function Tr(e,t,n,r){let o=e[n];const i=t.data;if(function wr(e){return e instanceof on}(o)){const a=o;a.resolving&&function Ne(e,t){const n=t?`. Dependency path: ${t.join(" > ")} > ${e}`:"";throw new Ee(-200,`Circular dependency in DI detected for ${e}${n}`)}(function ye(e){return"function"==typeof e?e.name||e.toString():"object"==typeof e&&null!=e&&"function"==typeof e.type?e.type.name||e.type.toString():ge(e)}(i[n]));const l=ci(a.canSeeViewProviders);a.resolving=!0;const m=a.injectImpl?Qe(a.injectImpl):null;si(e,r,ie.Default);try{o=e[n]=a.factory(void 0,i,e,r),t.firstCreatePass&&n>=r.directiveStart&&function Xe(e,t,n){const{ngOnChanges:r,ngOnInit:o,ngDoCheck:i}=t.type.prototype;if(r){const a=ni(t);(n.preOrderHooks||(n.preOrderHooks=[])).push(e,a),(n.preOrderCheckHooks||(n.preOrderCheckHooks=[])).push(e,a)}o&&(n.preOrderHooks||(n.preOrderHooks=[])).push(0-e,o),i&&((n.preOrderHooks||(n.preOrderHooks=[])).push(e,i),(n.preOrderCheckHooks||(n.preOrderCheckHooks=[])).push(e,i))}(n,i[n],t)}finally{null!==m&&Qe(m),ci(l),a.resolving=!1,hs()}}return o}function ca(e,t,n){return!!(n[t+(e>>5)]&1<{const t=e.prototype.constructor,n=t[Ke]||Cs(t),r=Object.prototype;let o=Object.getPrototypeOf(e.prototype).constructor;for(;o&&o!==r;){const i=o[Ke]||Cs(o);if(i&&i!==n)return i;o=Object.getPrototypeOf(o)}return i=>new i})}function Cs(e){return Zt(e)?()=>{const t=Cs(le(e));return t&&t()}:kn(e)}function bs(e){const t=e[1],n=t.type;return 2===n?t.declTNode:1===n?e[6]:null}function Es(e){return function Oo(e,t){if("class"===t)return e.classes;if("style"===t)return e.styles;const n=e.attrs;if(n){const r=n.length;let o=0;for(;o{const r=function ws(e){return function(...n){if(e){const r=e(...n);for(const o in r)this[o]=r[o]}}}(t);function o(...i){if(this instanceof o)return r.apply(this,i),this;const a=new o(...i);return l.annotation=a,l;function l(m,v,I){const R=m.hasOwnProperty(hi)?m[hi]:Object.defineProperty(m,hi,{value:[]})[hi];for(;R.length<=I;)R.push(null);return(R[I]=R[I]||[]).push(a),m}}return n&&(o.prototype=Object.create(n.prototype)),o.prototype.ngMetadataName=e,o.annotationCls=o,o})}class gt{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=st({token:this,providedIn:n.providedIn||"root",factory:n.factory}))}get multi(){return this}toString(){return`InjectionToken ${this._desc}`}}function Wn(e,t){e.forEach(n=>Array.isArray(n)?Wn(n,t):t(n))}function ha(e,t,n){t>=e.length?e.push(n):e.splice(t,0,n)}function jo(e,t){return t>=e.length-1?e.pop():e.splice(t,1)[0]}const c=rn(Mr("Optional"),8),d=rn(Mr("SkipSelf"),4);var Vr=(()=>((Vr=Vr||{})[Vr.Important=1]="Important",Vr[Vr.DashCase=2]="DashCase",Vr))();const Ku=new Map;let Zd=0;const lu="__ngContext__";function En(e,t){Nt(t)?(e[lu]=t[20],function qd(e){Ku.set(e[20],e)}(t)):e[lu]=t}function Vo(e,t){return undefined(e,t)}function Yi(e){const t=e[3];return Ft(t)?t[3]:t}function lo(e){return Ki(e[13])}function nc(e){return Ki(e[4])}function Ki(e){for(;null!==e&&!Ft(e);)e=e[4];return e}function zo(e,t,n,r,o){if(null!=r){let i,a=!1;Ft(r)?i=r:Nt(r)&&(a=!0,r=r[0]);const l=St(r);0===e&&null!==n?null==o?fe(t,n,l):te(t,n,l,o||null,!0):1===e&&null!==n?te(t,n,l,o||null,!0):2===e?function Zi(e,t,n){const r=ht(e,t);r&&function mt(e,t,n,r){e.removeChild(t,n,r)}(e,r,t,n)}(t,l,a):3===e&&t.destroyNode(l),null!=i&&function Nm(e,t,n,r,o){const i=n[7];i!==St(n)&&zo(t,e,r,i,o);for(let l=10;l0&&(e[n-1][4]=r[4]);const i=jo(e,10+t);!function ef(e,t){fu(e,t,t[11],2,null,null),t[0]=null,t[6]=null}(r[1],r);const a=i[19];null!==a&&a.detachView(i[1]),r[3]=null,r[4]=null,r[2]&=-65}return r}function cc(e,t){if(!(128&t[2])){const n=t[11];n.destroyNode&&fu(e,t,n,3,null,null),function nf(e){let t=e[13];if(!t)return lc(e[1],e);for(;t;){let n=null;if(Nt(t))n=t[13];else{const r=t[10];r&&(n=r)}if(!n){for(;t&&!t[4]&&t!==e;)Nt(t)&&lc(t[1],t),t=t[3];null===t&&(t=e),Nt(t)&&lc(t[1],t),n=t&&t[4]}t=n}}(t)}}function lc(e,t){if(!(128&t[2])){t[2]&=-65,t[2]|=128,function E(e,t){let n;if(null!=e&&null!=(n=e.destroyHooks))for(let r=0;r=0?r[o=a]():r[o=-a].unsubscribe(),i+=2}else{const a=r[o=n[i+1]];n[i].call(a)}if(null!==r){for(let i=o+1;i-1){const{encapsulation:i}=e.data[r.directiveStart+o];if(i===oe.None||i===oe.Emulated)return null}return cn(r,n)}}(e,t.parent,n)}function te(e,t,n,r,o){e.insertBefore(t,n,r,o)}function fe(e,t,n){e.appendChild(t,n)}function Pe(e,t,n,r,o){null!==r?te(e,t,n,r,o):fe(e,t,n)}function ht(e,t){return e.parentNode(t)}let ll,fc,zr=function dn(e,t,n){return 40&e.type?cn(e,n):null};function Rr(e,t,n,r){const o=_(e,r,t),i=t[11],l=function Kn(e,t,n){return zr(e,t,n)}(r.parent||t[6],r,t);if(null!=o)if(Array.isArray(n))for(let m=0;me,createScript:e=>e,createScriptURL:e=>e})}catch{}return fc}()?.createScriptURL(e)||e}class hf{constructor(t){this.changingThisBreaksApplicationSecurity=t}toString(){return`SafeValue must use [property]=binding: ${this.changingThisBreaksApplicationSecurity} (see ${qn})`}}function Qi(e){return e instanceof hf?e.changingThisBreaksApplicationSecurity:e}function hu(e,t){const n=function Wm(e){return e instanceof hf&&e.getTypeName()||null}(e);if(null!=n&&n!==t){if("ResourceURL"===n&&"URL"===t)return!0;throw new Error(`Required a safe ${t}, got a ${n} (see ${qn})`)}return n===t}const qm=/^(?:(?:https?|mailto|data|ftp|tel|file|sms):|[^&:/?#]*(?:[/?#]|$))/gi;var fn=(()=>((fn=fn||{})[fn.NONE=0]="NONE",fn[fn.HTML=1]="HTML",fn[fn.STYLE=2]="STYLE",fn[fn.SCRIPT=3]="SCRIPT",fn[fn.URL=4]="URL",fn[fn.RESOURCE_URL=5]="RESOURCE_URL",fn))();function ml(e){const t=gu();return t?t.sanitize(fn.URL,e)||"":hu(e,"URL")?Qi(e):function fl(e){return(e=String(e)).match(qm)?e:"unsafe:"+e}(ge(e))}function _f(e){const t=gu();if(t)return ff(t.sanitize(fn.RESOURCE_URL,e)||"");if(hu(e,"ResourceURL"))return ff(Qi(e));throw new Ee(904,!1)}function Cf(e,t,n){return function uy(e,t){return"src"===t&&("embed"===e||"frame"===e||"iframe"===e||"media"===e||"script"===e)||"href"===t&&("base"===e||"link"===e)?_f:ml}(t,n)(e)}function gu(){const e=Y();return e&&e[12]}const yl=new gt("ENVIRONMENT_INITIALIZER"),bf=new gt("INJECTOR",-1),Ef=new gt("INJECTOR_DEF_TYPES");class wf{get(t,n=De){if(n===De){const r=new Error(`NullInjectorError: No provider for ${ue(t)}!`);throw r.name="NullInjectorError",r}return n}}function cy(e){return{\u0275providers:e}}function ly(...e){return{\u0275providers:Sf(0,e),\u0275fromNgModule:!0}}function Sf(e,...t){const n=[],r=new Set;let o;return Wn(t,i=>{const a=i;vl(a,n,[],r)&&(o||(o=[]),o.push(a))}),void 0!==o&&If(o,n),n}function If(e,t){for(let n=0;n{t.push(i)})}}function vl(e,t,n,r){if(!(e=le(e)))return!1;let o=null,i=Fr(e);const a=!i&&ze(e);if(i||a){if(a&&!a.standalone)return!1;o=e}else{const m=e.ngModule;if(i=Fr(m),!i)return!1;o=m}const l=r.has(o);if(a){if(l)return!1;if(r.add(o),a.dependencies){const m="function"==typeof a.dependencies?a.dependencies():a.dependencies;for(const v of m)vl(v,t,n,r)}}else{if(!i)return!1;{if(null!=i.imports&&!l){let v;r.add(o);try{Wn(i.imports,I=>{vl(I,t,n,r)&&(v||(v=[]),v.push(I))})}finally{}void 0!==v&&If(v,t)}if(!l){const v=kn(o)||(()=>new o);t.push({provide:o,useFactory:v,deps:se},{provide:Ef,useValue:o,multi:!0},{provide:yl,useValue:()=>ot(o),multi:!0})}const m=i.providers;null==m||l||Dl(m,I=>{t.push(I)})}}return o!==e&&void 0!==e.providers}function Dl(e,t){for(let n of e)hn(n)&&(n=n.\u0275providers),Array.isArray(n)?Dl(n,t):t(n)}const dy=X({provide:String,useValue:X});function _l(e){return null!==e&&"object"==typeof e&&dy in e}function Ps(e){return"function"==typeof e}const Cl=new gt("Set Injector scope."),pc={},hy={};let bl;function gc(){return void 0===bl&&(bl=new wf),bl}class Os{}class Af extends Os{constructor(t,n,r,o){super(),this.parent=n,this.source=r,this.scopes=o,this.records=new Map,this._ngOnDestroyHooks=new Set,this._onDestroyHooks=[],this._destroyed=!1,wl(t,a=>this.processProvider(a)),this.records.set(bf,ba(void 0,this)),o.has("environment")&&this.records.set(Os,ba(void 0,this));const i=this.records.get(Cl);null!=i&&"string"==typeof i.value&&this.scopes.add(i.value),this.injectorDefTypes=new Set(this.get(Ef.multi,se,ie.Self))}get destroyed(){return this._destroyed}destroy(){this.assertNotDestroyed(),this._destroyed=!0;try{for(const t of this._ngOnDestroyHooks)t.ngOnDestroy();for(const t of this._onDestroyHooks)t()}finally{this.records.clear(),this._ngOnDestroyHooks.clear(),this.injectorDefTypes.clear(),this._onDestroyHooks.length=0}}onDestroy(t){this._onDestroyHooks.push(t)}runInContext(t){this.assertNotDestroyed();const n=wn(this),r=Qe(void 0);try{return t()}finally{wn(n),Qe(r)}}get(t,n=De,r=ie.Default){this.assertNotDestroyed(),r=Hn(r);const o=wn(this),i=Qe(void 0);try{if(!(r&ie.SkipSelf)){let l=this.records.get(t);if(void 0===l){const m=function vy(e){return"function"==typeof e||"object"==typeof e&&e instanceof gt}(t)&&pt(t);l=m&&this.injectableDefInScope(m)?ba(El(t),pc):null,this.records.set(t,l)}if(null!=l)return this.hydrate(t,l)}return(r&ie.Self?gc():this.parent).get(t,n=r&ie.Optional&&n===De?null:n)}catch(a){if("NullInjectorError"===a.name){if((a[lr]=a[lr]||[]).unshift(ue(t)),o)throw a;return function V(e,t,n,r){const o=e[lr];throw t[Jt]&&o.unshift(t[Jt]),e.message=function b(e,t,n,r=null){e=e&&"\n"===e.charAt(0)&&"\u0275"==e.charAt(1)?e.slice(2):e;let o=ue(t);if(Array.isArray(t))o=t.map(ue).join(" -> ");else if("object"==typeof t){let i=[];for(let a in t)if(t.hasOwnProperty(a)){let l=t[a];i.push(a+":"+("string"==typeof l?JSON.stringify(l):ue(l)))}o=`{${i.join(", ")}}`}return`${n}${r?"("+r+")":""}[${o}]: ${e.replace(Lr,"\n ")}`}("\n"+e.message,o,n,r),e.ngTokenPath=o,e[lr]=null,e}(a,t,"R3InjectorError",this.source)}throw a}finally{Qe(i),wn(o)}}resolveInjectorInitializers(){const t=wn(this),n=Qe(void 0);try{const r=this.get(yl.multi,se,ie.Self);for(const o of r)o()}finally{wn(t),Qe(n)}}toString(){const t=[],n=this.records;for(const r of n.keys())t.push(ue(r));return`R3Injector[${t.join(", ")}]`}assertNotDestroyed(){if(this._destroyed)throw new Ee(205,!1)}processProvider(t){let n=Ps(t=le(t))?t:le(t&&t.provide);const r=function gy(e){return _l(e)?ba(void 0,e.useValue):ba(function Rf(e,t,n){let r;if(Ps(e)){const o=le(e);return kn(o)||El(o)}if(_l(e))r=()=>le(e.useValue);else if(function Mf(e){return!(!e||!e.useFactory)}(e))r=()=>e.useFactory(...nr(e.deps||[]));else if(function Tf(e){return!(!e||!e.useExisting)}(e))r=()=>ot(le(e.useExisting));else{const o=le(e&&(e.useClass||e.provide));if(!function my(e){return!!e.deps}(e))return kn(o)||El(o);r=()=>new o(...nr(e.deps))}return r}(e),pc)}(t);if(Ps(t)||!0!==t.multi)this.records.get(n);else{let o=this.records.get(n);o||(o=ba(void 0,pc,!0),o.factory=()=>nr(o.multi),this.records.set(n,o)),n=t,o.multi.push(t)}this.records.set(n,r)}hydrate(t,n){return n.value===pc&&(n.value=hy,n.value=n.factory()),"object"==typeof n.value&&n.value&&function yy(e){return null!==e&&"object"==typeof e&&"function"==typeof e.ngOnDestroy}(n.value)&&this._ngOnDestroyHooks.add(n.value),n.value}injectableDefInScope(t){if(!t.providedIn)return!1;const n=le(t.providedIn);return"string"==typeof n?"any"===n||this.scopes.has(n):this.injectorDefTypes.has(n)}}function El(e){const t=pt(e),n=null!==t?t.factory:kn(e);if(null!==n)return n;if(e instanceof gt)throw new Ee(204,!1);if(e instanceof Function)return function py(e){const t=e.length;if(t>0)throw function Uo(e,t){const n=[];for(let r=0;rn.factory(e):()=>new e}(e);throw new Ee(204,!1)}function ba(e,t,n=!1){return{factory:e,value:t,multi:n?[]:void 0}}function wl(e,t){for(const n of e)Array.isArray(n)?wl(n,t):n&&hn(n)?wl(n.\u0275providers,t):t(n)}class Dy{}class xf{}class Cy{resolveComponentFactory(t){throw function _y(e){const t=Error(`No component factory found for ${ue(e)}. Did you add it to @NgModule.entryComponents?`);return t.ngComponent=e,t}(t)}}let mu=(()=>{class e{}return e.NULL=new Cy,e})();function by(){return Ea(Ut(),Y())}function Ea(e,t){return new yu(cn(e,t))}let yu=(()=>{class e{constructor(n){this.nativeElement=n}}return e.__NG_ELEMENT_ID__=by,e})();function Ey(e){return e instanceof yu?e.nativeElement:e}class Of{}let wy=(()=>{class e{}return e.__NG_ELEMENT_ID__=()=>function Sy(){const e=Y(),n=Lt(Ut().index,e);return(Nt(n)?n:e)[11]}(),e})(),Iy=(()=>{class e{}return e.\u0275prov=st({token:e,providedIn:"root",factory:()=>null}),e})();class Nf{constructor(t){this.full=t,this.major=t.split(".")[0],this.minor=t.split(".")[1],this.patch=t.split(".").slice(2).join(".")}}const Ty=new Nf("15.0.4"),Sl={};function Tl(e){return e.ngOriginalError}class vu{constructor(){this._console=console}handleError(t){const n=this._findOriginalError(t);this._console.error("ERROR",t),n&&this._console.error("ORIGINAL ERROR",n)}_findOriginalError(t){let n=t&&Tl(t);for(;n&&Tl(n);)n=Tl(n);return n||null}}function vi(e){return e instanceof Function?e():e}function Lf(e,t,n){let r=e.length;for(;;){const o=e.indexOf(t,n);if(-1===o)return o;if(0===o||e.charCodeAt(o-1)<=32){const i=t.length;if(o+i===r||e.charCodeAt(o+i)<=32)return o}n=o+1}}const kf="ng-template";function jy(e,t,n){let r=0;for(;ri?"":o[R+1].toLowerCase();const U=8&r?F:null;if(U&&-1!==Lf(U,v,0)||2&r&&v!==F){if(fo(r))return!1;a=!0}}}}else{if(!a&&!fo(r)&&!fo(m))return!1;if(a&&fo(m))continue;a=!1,r=m|1&r}}return fo(r)||a}function fo(e){return 0==(1&e)}function Hy(e,t,n,r){if(null===t)return-1;let o=0;if(r||!n){let i=!1;for(;o-1)for(n++;n0?'="'+l+'"':"")+"]"}else 8&r?o+="."+a:4&r&&(o+=" "+a);else""!==o&&!fo(a)&&(t+=Bf(i,o),o=""),r=a,i=i||!fo(r);n++}return""!==o&&(t+=Bf(i,o)),t}const He={};function Hf(e){$f(Ge(),Y(),f()+e,!1)}function $f(e,t,n,r){if(!r)if(3==(3&t[2])){const i=e.preOrderCheckHooks;null!==i&&qe(t,i,n)}else{const i=e.preOrderHooks;null!==i&&ke(t,i,0,n)}D(n)}function Wf(e,t=null,n=null,r){const o=Yf(e,t,n,r);return o.resolveInjectorInitializers(),o}function Yf(e,t=null,n=null,r,o=new Set){const i=[n||se,ly(e)];return r=r||("object"==typeof e?void 0:ue(e)),new Af(i,t||gc(),r||null,o)}let Ns=(()=>{class e{static create(n,r){if(Array.isArray(n))return Wf({name:""},r,n,"");{const o=n.name??"";return Wf({name:o},n.parent,n.providers,o)}}}return e.THROW_IF_NOT_FOUND=De,e.NULL=new wf,e.\u0275prov=st({token:e,providedIn:"any",factory:()=>ot(bf)}),e.__NG_ELEMENT_ID__=-1,e})();function Ia(e,t=ie.Default){const n=Y();return null===n?ot(e,t):so(Ut(),n,le(e),t)}function eh(){throw new Error("invalid")}function th(e,t){const n=e.contentQueries;if(null!==n)for(let r=0;r22&&$f(e,t,22,!1),n(r,o)}finally{D(i)}}function Nl(e,t,n){if(yr(t)){const o=t.directiveEnd;for(let i=t.directiveStart;i0;){const n=e[--t];if("number"==typeof n&&n<0)return n}return 0})(a)!=l&&a.push(l),a.push(n,r,i)}}(e,t,r,Du(e,n,o.hostVars,He),o)}function Wo(e,t,n,r,o,i){const a=cn(e,t);!function Bl(e,t,n,r,o,i,a){if(null==i)e.removeAttribute(t,o,n);else{const l=null==a?ge(i):a(i,r||"",o);e.setAttribute(t,o,l,n)}}(t[11],a,i,e.value,n,r,o)}function Pv(e,t,n,r,o,i){const a=i[t];if(null!==a){const l=r.setInput;for(let m=0;m0&&Hl(n)}}function Hl(e){for(let r=lo(e);null!==r;r=nc(r))for(let o=10;o0&&Hl(i)}const n=e[1].components;if(null!==n)for(let r=0;r0&&Hl(o)}}function kv(e,t){const n=Lt(t,e),r=n[1];(function jv(e,t){for(let n=t.length;n-1&&(uc(t,r),jo(n,r))}this._attachedToViewContainer=!1}cc(this._lView[1],this._lView)}onDestroy(t){oh(this._lView[1],this._lView,null,t)}markForCheck(){$l(this._cdRefInjectingView||this._lView)}detach(){this._lView[2]&=-65}reattach(){this._lView[2]|=64}detectChanges(){_c(this._lView[1],this._lView,this.context)}checkNoChanges(){}attachToViewContainerRef(){if(this._appRef)throw new Ee(902,!1);this._attachedToViewContainer=!0}detachFromAppRef(){this._appRef=null,function ic(e,t){fu(e,t,t[11],2,null,null)}(this._lView[1],this._lView)}attachToAppRef(t){if(this._attachedToViewContainer)throw new Ee(902,!1);this._appRef=t}}class Uv extends _u{constructor(t){super(t),this._view=t}detectChanges(){const t=this._view;_c(t[1],t,t[8],!1)}checkNoChanges(){}get context(){return null}}class gh extends mu{constructor(t){super(),this.ngModule=t}resolveComponentFactory(t){const n=ze(t);return new Cu(n,this.ngModule)}}function mh(e){const t=[];for(let n in e)e.hasOwnProperty(n)&&t.push({propName:e[n],templateName:n});return t}class Hv{constructor(t,n){this.injector=t,this.parentInjector=n}get(t,n,r){r=Hn(r);const o=this.injector.get(t,Sl,r);return o!==Sl||n===Sl?o:this.parentInjector.get(t,n,r)}}class Cu extends xf{constructor(t,n){super(),this.componentDef=t,this.ngModule=n,this.componentType=t.type,this.selector=function Yy(e){return e.map(Wy).join(",")}(t.selectors),this.ngContentSelectors=t.ngContentSelectors?t.ngContentSelectors:[],this.isBoundToModule=!!n}get inputs(){return mh(this.componentDef.inputs)}get outputs(){return mh(this.componentDef.outputs)}create(t,n,r,o){let i=(o=o||this.ngModule)instanceof Os?o:o?.injector;i&&null!==this.componentDef.getStandaloneInjector&&(i=this.componentDef.getStandaloneInjector(i)||i);const a=i?new Hv(t,i):t,l=a.get(Of,null);if(null===l)throw new Ee(407,!1);const m=a.get(Iy,null),v=l.createRenderer(null,this.componentDef),I=this.componentDef.selectors[0][0]||"div",R=r?function yv(e,t,n){return e.selectRootElement(t,n===oe.ShadowDom)}(v,r,this.componentDef.encapsulation):oc(v,I,function Bv(e){const t=e.toLowerCase();return"svg"===t?"svg":"math"===t?"math":null}(I)),F=this.componentDef.onPush?288:272,U=kl(0,null,null,1,0,null,null,null,null,null),W=yc(null,U,null,F,null,null,l,v,m,a,null);let ce,pe;Oi(W);try{const we=this.componentDef;let xe,ne=null;we.findHostDirectiveDefs?(xe=[],ne=new Map,we.findHostDirectiveDefs(we,xe,ne),xe.push(we)):xe=[we];const je=function Vv(e,t){const n=e[1];return e[22]=t,Ta(n,22,2,"#host",null)}(W,R),zt=function zv(e,t,n,r,o,i,a,l){const m=o[1];!function Gv(e,t,n,r){for(const o of e)t.mergedAttrs=ai(t.mergedAttrs,o.hostAttrs);null!==t.mergedAttrs&&(Cc(t,t.mergedAttrs,!0),null!==n&&uf(r,n,t))}(r,e,t,a);const v=i.createRenderer(t,n),I=yc(o,rh(n),null,n.onPush?32:16,o[e.index],e,i,v,l||null,null,null);return m.firstCreatePass&&Ul(m,e,r.length-1),Dc(o,I),o[e.index]=I}(je,R,we,xe,W,l,v);pe=oi(U,22),R&&function Yv(e,t,n,r){if(r)gs(e,n,["ng-version",Ty.full]);else{const{attrs:o,classes:i}=function Ky(e){const t=[],n=[];let r=1,o=2;for(;r0&&af(e,n,i.join(" "))}}(v,we,R,r),void 0!==n&&function Kv(e,t,n){const r=e.projection=[];for(let o=0;oa(St(je[r.index])):r.index;let ne=null;if(!a&&l&&(ne=function pD(e,t,n,r){const o=e.cleanup;if(null!=o)for(let i=0;im?l[m]:null}"string"==typeof a&&(i+=2)}return null}(e,t,o,r.index)),null!==ne)(ne.__ngLastListenerFn__||ne).__ngNextListenerFn__=i,ne.__ngLastListenerFn__=i,F=!1;else{i=jh(r,t,I,i,!1);const je=n.listen(pe,o,i);R.push(i,je),v&&v.push(o,xe,we,we+1)}}else i=jh(r,t,I,i,!1);const U=r.outputs;let W;if(F&&null!==U&&(W=U[o])){const ce=W.length;if(ce)for(let pe=0;pe-1?Lt(e.index,t):t);let m=kh(t,0,r,a),v=i.__ngNextListenerFn__;for(;v;)m=kh(t,0,v,a)&&m,v=v.__ngNextListenerFn__;return o&&!1===m&&(a.preventDefault(),a.returnValue=!1),m}}function Uh(e=1){return function ps(e){return(Oe.lFrame.contextLView=function Fi(e,t){for(;e>0;)t=t[15],e--;return t}(e,Oe.lFrame.contextLView))[8]}(e)}function lp(e,t=""){const n=Y(),r=Ge(),o=e+22,i=r.firstCreatePass?Ta(r,o,1,t,null):r.data[o],a=n[o]=function _a(e,t){return e.createText(t)}(n[11],t);Rr(r,n,a,i),zn(i,!1)}function id(e){return xc("",e,""),id}function xc(e,t,n){const r=Y(),o=function Aa(e,t,n,r){return Un(e,oo(),n)?t+ge(n)+r:He}(r,e,t,n);return o!==He&&Di(r,f(),o),xc}function sd(e,t,n,r,o){const i=Y(),a=Ra(i,e,t,n,r,o);return a!==He&&Di(i,f(),a),sd}function ad(e,t,n){const r=Y();return Un(r,oo(),t)&&xr(Ge(),h(),r,e,t,r[11],n,!0),ad}const js=void 0;var o_=["en",[["a","p"],["AM","PM"],js],[["AM","PM"],js,js],[["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"]],js,[["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"]],js,[["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}",js,"{1} 'at' {0}",js],[".",",",";","%","+","-","E","\xd7","\u2030","\u221e","NaN",":"],["#,##0.###","#,##0%","\xa4#,##0.00","#E0"],"USD","$","US Dollar",{},"ltr",function r_(e){const n=Math.floor(Math.abs(e)),r=e.toString().replace(/^[^.]*\.?/,"").length;return 1===n&&0===r?1:5}];let ja={};function ud(e){const t=function i_(e){return e.toLowerCase().replace(/_/g,"-")}(e);let n=Ap(t);if(n)return n;const r=t.split("-")[0];if(n=Ap(r),n)return n;if("en"===r)return o_;throw new Ee(701,!1)}function Mp(e){return ud(e)[Ae.PluralCase]}function Ap(e){return e in ja||(ja[e]=at.ng&&at.ng.common&&at.ng.common.locales&&at.ng.common.locales[e]),ja[e]}var Ae=(()=>((Ae=Ae||{})[Ae.LocaleId=0]="LocaleId",Ae[Ae.DayPeriodsFormat=1]="DayPeriodsFormat",Ae[Ae.DayPeriodsStandalone=2]="DayPeriodsStandalone",Ae[Ae.DaysFormat=3]="DaysFormat",Ae[Ae.DaysStandalone=4]="DaysStandalone",Ae[Ae.MonthsFormat=5]="MonthsFormat",Ae[Ae.MonthsStandalone=6]="MonthsStandalone",Ae[Ae.Eras=7]="Eras",Ae[Ae.FirstDayOfWeek=8]="FirstDayOfWeek",Ae[Ae.WeekendRange=9]="WeekendRange",Ae[Ae.DateFormat=10]="DateFormat",Ae[Ae.TimeFormat=11]="TimeFormat",Ae[Ae.DateTimeFormat=12]="DateTimeFormat",Ae[Ae.NumberSymbols=13]="NumberSymbols",Ae[Ae.NumberFormats=14]="NumberFormats",Ae[Ae.CurrencyCode=15]="CurrencyCode",Ae[Ae.CurrencySymbol=16]="CurrencySymbol",Ae[Ae.CurrencyName=17]="CurrencyName",Ae[Ae.Currencies=18]="Currencies",Ae[Ae.Directionality=19]="Directionality",Ae[Ae.PluralCase=20]="PluralCase",Ae[Ae.ExtraData=21]="ExtraData",Ae))();const Ua="en-US";let Rp=Ua;class Ba{}class ng{}function oC(e,t){return new rg(e,t??null)}class rg extends Ba{constructor(t,n){super(),this._parent=n,this._bootstrapComponents=[],this.destroyCbs=[],this.componentFactoryResolver=new gh(this);const r=gn(t);this._bootstrapComponents=vi(r.bootstrap),this._r3Injector=Yf(t,n,[{provide:Ba,useValue:this},{provide:mu,useValue:this.componentFactoryResolver}],ue(t),new Set(["environment"])),this._r3Injector.resolveInjectorInitializers(),this.instance=this._r3Injector.get(t)}get injector(){return this._r3Injector}destroy(){const t=this._r3Injector;!t.destroyed&&t.destroy(),this.destroyCbs.forEach(n=>n()),this.destroyCbs=null}onDestroy(t){this.destroyCbs.push(t)}}class gd extends ng{constructor(t){super(),this.moduleType=t}create(t){return new rg(this.moduleType,t)}}class iC extends Ba{constructor(t,n,r){super(),this.componentFactoryResolver=new gh(this),this.instance=null;const o=new Af([...t,{provide:Ba,useValue:this},{provide:mu,useValue:this.componentFactoryResolver}],n||gc(),r,new Set(["environment"]));this.injector=o,o.resolveInjectorInitializers()}destroy(){this.injector.destroy()}onDestroy(t){this.injector.onDestroy(t)}}function md(e,t,n=null){return new iC(e,t,n).injector}let sC=(()=>{class e{constructor(n){this._injector=n,this.cachedInjectors=new Map}getOrCreateStandaloneInjector(n){if(!n.standalone)return null;if(!this.cachedInjectors.has(n.id)){const r=Sf(0,n.type),o=r.length>0?md([r],this._injector,`Standalone[${n.type.name}]`):null;this.cachedInjectors.set(n.id,o)}return this.cachedInjectors.get(n.id)}ngOnDestroy(){try{for(const n of this.cachedInjectors.values())null!==n&&n.destroy()}finally{this.cachedInjectors.clear()}}}return e.\u0275prov=st({token:e,providedIn:"environment",factory:()=>new e(ot(Os))}),e})();function og(e){e.getStandaloneInjector=t=>t.get(sC).getOrCreateStandaloneInjector(e)}function dg(e,t,n){const r=xt()+e,o=Y();return o[r]===He?Yo(o,r,n?t.call(n):t()):function Eu(e,t){return e[t]}(o,r)}function fg(e,t,n,r){return gg(Y(),xt(),e,t,n,r)}function hg(e,t,n,r,o){return mg(Y(),xt(),e,t,n,r,o)}function pg(e,t,n,r,o,i){return function yg(e,t,n,r,o,i,a,l){const m=t+n;return function wc(e,t,n,r,o){const i=Ls(e,t,n,r);return Un(e,t+2,o)||i}(e,m,o,i,a)?Yo(e,m+3,l?r.call(l,o,i,a):r(o,i,a)):Ru(e,m+3)}(Y(),xt(),e,t,n,r,o,i)}function Ru(e,t){const n=e[t];return n===He?void 0:n}function gg(e,t,n,r,o,i){const a=t+n;return Un(e,a,o)?Yo(e,a+1,i?r.call(i,o):r(o)):Ru(e,a+1)}function mg(e,t,n,r,o,i,a){const l=t+n;return Ls(e,l,o,i)?Yo(e,l+2,a?r.call(a,o,i):r(o,i)):Ru(e,l+2)}function _g(e,t){const n=Ge();let r;const o=e+22;n.firstCreatePass?(r=function CC(e,t){if(t)for(let n=t.length-1;n>=0;n--){const r=t[n];if(e===r.name)return r}}(t,n.pipeRegistry),n.data[o]=r,r.onDestroy&&(n.destroyHooks||(n.destroyHooks=[])).push(o,r.onDestroy)):r=n.data[o];const i=r.factory||(r.factory=kn(r.type)),a=Qe(Ia);try{const l=ci(!1),m=i();return ci(l),function lD(e,t,n,r){n>=e.data.length&&(e.data[n]=null,e.blueprint[n]=null),t[n]=r}(n,Y(),o,m),m}finally{Qe(a)}}function Cg(e,t,n){const r=e+22,o=Y(),i=no(o,r);return xu(o,r)?gg(o,xt(),t,i.transform,n,i):i.transform(n)}function bg(e,t,n,r){const o=e+22,i=Y(),a=no(i,o);return xu(i,o)?mg(i,xt(),t,a.transform,n,r,a):a.transform(n,r)}function xu(e,t){return e[1].data[t].pure}function vd(e){return t=>{setTimeout(e,void 0,t)}}const qo=class SC extends g.xQ{constructor(t=!1){super(),this.__isAsync=t}emit(t){super.next(t)}subscribe(t,n,r){let o=t,i=n||(()=>null),a=r;if(t&&"object"==typeof t){const m=t;o=m.next?.bind(m),i=m.error?.bind(m),a=m.complete?.bind(m)}this.__isAsync&&(i=vd(i),o&&(o=vd(o)),a&&(a=vd(a)));const l=super.subscribe({next:o,error:i,complete:a});return t instanceof A.w&&t.add(l),l}};function IC(){return this._results[Fs()]()}class Dd{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=Fs(),r=Dd.prototype;r[n]||(r[n]=IC)}get changes(){return this._changes||(this._changes=new qo)}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 o=function Mn(e){return e.flat(Number.POSITIVE_INFINITY)}(t);(this._changesDetected=!function Gi(e,t,n){if(e.length!==t.length)return!1;for(let r=0;r{class e{}return e.__NG_ELEMENT_ID__=AC,e})();const TC=Pu,MC=class extends TC{constructor(t,n,r){super(),this._declarationLView=t,this._declarationTContainer=n,this.elementRef=r}createEmbeddedView(t,n){const r=this._declarationTContainer.tViews,o=yc(this._declarationLView,r,t,16,null,r.declTNode,null,null,null,null,n||null);o[17]=this._declarationLView[this._declarationTContainer.index];const a=this._declarationLView[19];return null!==a&&(o[19]=a.createEmbeddedView(r)),Ol(r,o,t),new _u(o)}};function AC(){return Lc(Ut(),Y())}function Lc(e,t){return 4&e.type?new MC(t,e,Ea(e,t)):null}let kc=(()=>{class e{}return e.__NG_ELEMENT_ID__=RC,e})();function RC(){return Sg(Ut(),Y())}const xC=kc,Eg=class extends xC{constructor(t,n,r){super(),this._lContainer=t,this._hostTNode=n,this._hostLView=r}get element(){return Ea(this._hostTNode,this._hostLView)}get injector(){return new No(this._hostTNode,this._hostLView)}get parentInjector(){const t=ys(this._hostTNode,this._hostLView);if(ms(t)){const n=ui(t,this._hostLView),r=ji(t);return new No(n[1].data[r+8],n)}return new No(null,this._hostLView)}clear(){for(;this.length>0;)this.remove(this.length-1)}get(t){const n=wg(this._lContainer);return null!==n&&n[t]||null}get length(){return this._lContainer.length-10}createEmbeddedView(t,n,r){let o,i;"number"==typeof r?o=r:null!=r&&(o=r.index,i=r.injector);const a=t.createEmbeddedView(n||{},i);return this.insert(a,o),a}createComponent(t,n,r,o,i){const a=t&&!function zi(e){return"function"==typeof e}(t);let l;if(a)l=n;else{const R=n||{};l=R.index,r=R.injector,o=R.projectableNodes,i=R.environmentInjector||R.ngModuleRef}const m=a?t:new Cu(ze(t)),v=r||this.parentInjector;if(!i&&null==m.ngModule){const F=(a?v:this.parentInjector).get(Os,null);F&&(i=F)}const I=m.create(v,o,void 0,i);return this.insert(I.hostView,l),I}insert(t,n){const r=t._lView,o=r[1];if(function is(e){return Ft(e[3])}(r)){const I=this.indexOf(t);if(-1!==I)this.detach(I);else{const R=r[3],F=new Eg(R,R[6],R[3]);F.detach(F.indexOf(t))}}const i=this._adjustIndex(n),a=this._lContainer;!function rf(e,t,n,r){const o=10+r,i=n.length;r>0&&(n[o-1][4]=t),r0)r.push(a[l/2]);else{const v=i[l+1],I=t[-m];for(let R=10;R{class e{constructor(n){this.appInits=n,this.resolve=Uc,this.reject=Uc,this.initialized=!1,this.done=!1,this.donePromise=new Promise((r,o)=>{this.resolve=r,this.reject=o})}runInitializers(){if(this.initialized)return;const n=[],r=()=>{this.done=!0,this.resolve()};if(this.appInits)for(let o=0;o{i.subscribe({complete:l,error:m})});n.push(a)}}Promise.all(n).then(()=>{r()}).catch(o=>{this.reject(o)}),0===n.length&&r(),this.initialized=!0}}return e.\u0275fac=function(n){return new(n||e)(ot(Xg,8))},e.\u0275prov=st({token:e,factory:e.\u0275fac,providedIn:"root"}),e})();const em=new gt("AppId",{providedIn:"root",factory:function tm(){return`${Rd()}${Rd()}${Rd()}`}});function Rd(){return String.fromCharCode(97+Math.floor(25*Math.random()))}const nm=new gt("Platform Initializer"),ob=new gt("Platform ID",{providedIn:"platform",factory:()=>"unknown"}),rm=new gt("appBootstrapListener");let ib=(()=>{class e{log(n){console.log(n)}warn(n){console.warn(n)}}return e.\u0275fac=function(n){return new(n||e)},e.\u0275prov=st({token:e,factory:e.\u0275fac,providedIn:"platform"}),e})();const Hc=new gt("LocaleId",{providedIn:"root",factory:()=>Sn(Hc,ie.Optional|ie.SkipSelf)||function sb(){return typeof $localize<"u"&&$localize.locale||Ua}()}),ab=new gt("DefaultCurrencyCode",{providedIn:"root",factory:()=>"USD"});class ub{constructor(t,n){this.ngModuleFactory=t,this.componentFactories=n}}let cb=(()=>{class e{compileModuleSync(n){return new gd(n)}compileModuleAsync(n){return Promise.resolve(this.compileModuleSync(n))}compileModuleAndAllComponentsSync(n){const r=this.compileModuleSync(n),i=vi(gn(n).declarations).reduce((a,l)=>{const m=ze(l);return m&&a.push(new Cu(m)),a},[]);return new ub(r,i)}compileModuleAndAllComponentsAsync(n){return Promise.resolve(this.compileModuleAndAllComponentsSync(n))}clearCache(){}clearCacheFor(n){}getModuleId(n){}}return e.\u0275fac=function(n){return new(n||e)},e.\u0275prov=st({token:e,factory:e.\u0275fac,providedIn:"root"}),e})();const fb=(()=>Promise.resolve(0))();function xd(e){typeof Zone>"u"?fb.then(()=>{e&&e.apply(null,null)}):Zone.current.scheduleMicroTask("scheduleMicrotask",e)}class Yr{constructor({enableLongStackTrace:t=!1,shouldCoalesceEventChangeDetection:n=!1,shouldCoalesceRunChangeDetection:r=!1}){if(this.hasPendingMacrotasks=!1,this.hasPendingMicrotasks=!1,this.isStable=!0,this.onUnstable=new qo(!1),this.onMicrotaskEmpty=new qo(!1),this.onStable=new qo(!1),this.onError=new qo(!1),typeof Zone>"u")throw new Ee(908,!1);Zone.assertZonePatched();const o=this;o._nesting=0,o._outer=o._inner=Zone.current,Zone.TaskTrackingZoneSpec&&(o._inner=o._inner.fork(new Zone.TaskTrackingZoneSpec)),t&&Zone.longStackTraceZoneSpec&&(o._inner=o._inner.fork(Zone.longStackTraceZoneSpec)),o.shouldCoalesceEventChangeDetection=!r&&n,o.shouldCoalesceRunChangeDetection=r,o.lastRequestAnimationFrameId=-1,o.nativeRequestAnimationFrame=function hb(){let e=at.requestAnimationFrame,t=at.cancelAnimationFrame;if(typeof Zone<"u"&&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 mb(e){const t=()=>{!function gb(e){e.isCheckStableRunning||-1!==e.lastRequestAnimationFrameId||(e.lastRequestAnimationFrameId=e.nativeRequestAnimationFrame.call(at,()=>{e.fakeTopEventTask||(e.fakeTopEventTask=Zone.root.scheduleEventTask("fakeTopEventTask",()=>{e.lastRequestAnimationFrameId=-1,Od(e),e.isCheckStableRunning=!0,Pd(e),e.isCheckStableRunning=!1},void 0,()=>{},()=>{})),e.fakeTopEventTask.invoke()}),Od(e))}(e)};e._inner=e._inner.fork({name:"angular",properties:{isAngularZone:!0},onInvokeTask:(n,r,o,i,a,l)=>{try{return sm(e),n.invokeTask(o,i,a,l)}finally{(e.shouldCoalesceEventChangeDetection&&"eventTask"===i.type||e.shouldCoalesceRunChangeDetection)&&t(),am(e)}},onInvoke:(n,r,o,i,a,l,m)=>{try{return sm(e),n.invoke(o,i,a,l,m)}finally{e.shouldCoalesceRunChangeDetection&&t(),am(e)}},onHasTask:(n,r,o,i)=>{n.hasTask(o,i),r===o&&("microTask"==i.change?(e._hasPendingMicrotasks=i.microTask,Od(e),Pd(e)):"macroTask"==i.change&&(e.hasPendingMacrotasks=i.macroTask))},onHandleError:(n,r,o,i)=>(n.handleError(o,i),e.runOutsideAngular(()=>e.onError.emit(i)),!1)})}(o)}static isInAngularZone(){return typeof Zone<"u"&&!0===Zone.current.get("isAngularZone")}static assertInAngularZone(){if(!Yr.isInAngularZone())throw new Ee(909,!1)}static assertNotInAngularZone(){if(Yr.isInAngularZone())throw new Ee(909,!1)}run(t,n,r){return this._inner.run(t,n,r)}runTask(t,n,r,o){const i=this._inner,a=i.scheduleEventTask("NgZoneEvent: "+o,t,pb,Uc,Uc);try{return i.runTask(a,n,r)}finally{i.cancelTask(a)}}runGuarded(t,n,r){return this._inner.runGuarded(t,n,r)}runOutsideAngular(t){return this._outer.run(t)}}const pb={};function Pd(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 Od(e){e.hasPendingMicrotasks=!!(e._hasPendingMicrotasks||(e.shouldCoalesceEventChangeDetection||e.shouldCoalesceRunChangeDetection)&&-1!==e.lastRequestAnimationFrameId)}function sm(e){e._nesting++,e.isStable&&(e.isStable=!1,e.onUnstable.emit(null))}function am(e){e._nesting--,Pd(e)}class yb{constructor(){this.hasPendingMicrotasks=!1,this.hasPendingMacrotasks=!1,this.isStable=!0,this.onUnstable=new qo,this.onMicrotaskEmpty=new qo,this.onStable=new qo,this.onError=new qo}run(t,n,r){return t.apply(n,r)}runGuarded(t,n,r){return t.apply(n,r)}runOutsideAngular(t){return t()}runTask(t,n,r,o){return t.apply(n,r)}}const um=new gt(""),cm=new gt("");let Nd,vb=(()=>{class e{constructor(n,r,o){this._ngZone=n,this.registry=r,this._pendingCount=0,this._isZoneStable=!0,this._didWork=!1,this._callbacks=[],this.taskTrackingZone=null,Nd||(function Db(e){Nd=e}(o),o.addToWindow(r)),this._watchAngularEvents(),n.run(()=>{this.taskTrackingZone=typeof Zone>"u"?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:()=>{Yr.assertNotInAngularZone(),xd(()=>{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())xd(()=>{for(;0!==this._callbacks.length;){let n=this._callbacks.pop();clearTimeout(n.timeoutId),n.doneCb(this._didWork)}this._didWork=!1});else{let n=this.getPendingTasks();this._callbacks=this._callbacks.filter(r=>!r.updateCb||!r.updateCb(n)||(clearTimeout(r.timeoutId),!1)),this._didWork=!0}}getPendingTasks(){return this.taskTrackingZone?this.taskTrackingZone.macroTasks.map(n=>({source:n.source,creationLocation:n.creationLocation,data:n.data})):[]}addCallback(n,r,o){let i=-1;r&&r>0&&(i=setTimeout(()=>{this._callbacks=this._callbacks.filter(a=>a.timeoutId!==i),n(this._didWork,this.getPendingTasks())},r)),this._callbacks.push({doneCb:n,timeoutId:i,updateCb:o})}whenStable(n,r,o){if(o&&!this.taskTrackingZone)throw new Error('Task tracking zone is required when passing an update callback to whenStable(). Is "zone.js/plugins/task-tracking" loaded?');this.addCallback(n,r,o),this._runCallbacksIfReady()}getPendingRequestCount(){return this._pendingCount}registerApplication(n){this.registry.registerApplication(n,this)}unregisterApplication(n){this.registry.unregisterApplication(n)}findProviders(n,r,o){return[]}}return e.\u0275fac=function(n){return new(n||e)(ot(Yr),ot(lm),ot(cm))},e.\u0275prov=st({token:e,factory:e.\u0275fac}),e})(),lm=(()=>{class e{constructor(){this._applications=new Map}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)??null}}return e.\u0275fac=function(n){return new(n||e)},e.\u0275prov=st({token:e,factory:e.\u0275fac,providedIn:"platform"}),e})(),Xi=null;const dm=new gt("AllowMultipleToken"),Fd=new gt("PlatformDestroyListeners");class bb{constructor(t,n){this.name=t,this.token=n}}function hm(e,t,n=[]){const r=`Platform: ${t}`,o=new gt(r);return(i=[])=>{let a=Ld();if(!a||a.injector.get(dm,!1)){const l=[...n,...i,{provide:o,useValue:!0}];e?e(l):function Eb(e){if(Xi&&!Xi.get(dm,!1))throw new Ee(400,!1);Xi=e;const t=e.get(gm);(function fm(e){const t=e.get(nm,null);t&&t.forEach(n=>n())})(e)}(function pm(e=[],t){return Ns.create({name:t,providers:[{provide:Cl,useValue:"platform"},{provide:Fd,useValue:new Set([()=>Xi=null])},...e]})}(l,r))}return function Sb(e){const t=Ld();if(!t)throw new Ee(401,!1);return t}()}}function Ld(){return Xi?.get(gm)??null}let gm=(()=>{class e{constructor(n){this._injector=n,this._modules=[],this._destroyListeners=[],this._destroyed=!1}bootstrapModuleFactory(n,r){const o=function ym(e,t){let n;return n="noop"===e?new yb:("zone.js"===e?void 0:e)||new Yr(t),n}(r?.ngZone,function mm(e){return{enableLongStackTrace:!1,shouldCoalesceEventChangeDetection:!(!e||!e.ngZoneEventCoalescing)||!1,shouldCoalesceRunChangeDetection:!(!e||!e.ngZoneRunCoalescing)||!1}}(r)),i=[{provide:Yr,useValue:o}];return o.run(()=>{const a=Ns.create({providers:i,parent:this.injector,name:n.moduleType.name}),l=n.create(a),m=l.injector.get(vu,null);if(!m)throw new Ee(402,!1);return o.runOutsideAngular(()=>{const v=o.onError.subscribe({next:I=>{m.handleError(I)}});l.onDestroy(()=>{Vc(this._modules,l),v.unsubscribe()})}),function vm(e,t,n){try{const r=n();return Jl(r)?r.catch(o=>{throw t.runOutsideAngular(()=>e.handleError(o)),o}):r}catch(r){throw t.runOutsideAngular(()=>e.handleError(r)),r}}(m,o,()=>{const v=l.injector.get(Bc);return v.runInitializers(),v.donePromise.then(()=>(function xp(e){Gt(e,"Expected localeId to be defined"),"string"==typeof e&&(Rp=e.toLowerCase().replace(/_/g,"-"))}(l.injector.get(Hc,Ua)||Ua),this._moduleDoBootstrap(l),l))})})}bootstrapModule(n,r=[]){const o=Dm({},r);return function _b(e,t,n){const r=new gd(n);return Promise.resolve(r)}(0,0,n).then(i=>this.bootstrapModuleFactory(i,o))}_moduleDoBootstrap(n){const r=n.injector.get($c);if(n._bootstrapComponents.length>0)n._bootstrapComponents.forEach(o=>r.bootstrap(o));else{if(!n.instance.ngDoBootstrap)throw new Ee(403,!1);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 Ee(404,!1);this._modules.slice().forEach(r=>r.destroy()),this._destroyListeners.forEach(r=>r());const n=this._injector.get(Fd,null);n&&(n.forEach(r=>r()),n.clear()),this._destroyed=!0}get destroyed(){return this._destroyed}}return e.\u0275fac=function(n){return new(n||e)(ot(Ns))},e.\u0275prov=st({token:e,factory:e.\u0275fac,providedIn:"platform"}),e})();function Dm(e,t){return Array.isArray(t)?t.reduce(Dm,e):{...e,...t}}let $c=(()=>{class e{constructor(n,r,o){this._zone=n,this._injector=r,this._exceptionHandler=o,this._bootstrapListeners=[],this._views=[],this._runningTick=!1,this._stable=!0,this._destroyed=!1,this._destroyListeners=[],this.componentTypes=[],this.components=[],this._onMicrotaskEmptySubscription=this._zone.onMicrotaskEmpty.subscribe({next:()=>{this._zone.run(()=>{this.tick()})}});const i=new $.y(l=>{this._stable=this._zone.isStable&&!this._zone.hasPendingMacrotasks&&!this._zone.hasPendingMicrotasks,this._zone.runOutsideAngular(()=>{l.next(this._stable),l.complete()})}),a=new $.y(l=>{let m;this._zone.runOutsideAngular(()=>{m=this._zone.onStable.subscribe(()=>{Yr.assertNotInAngularZone(),xd(()=>{!this._stable&&!this._zone.hasPendingMacrotasks&&!this._zone.hasPendingMicrotasks&&(this._stable=!0,l.next(!0))})})});const v=this._zone.onUnstable.subscribe(()=>{Yr.assertInAngularZone(),this._stable&&(this._stable=!1,this._zone.runOutsideAngular(()=>{l.next(!1)}))});return()=>{m.unsubscribe(),v.unsubscribe()}});this.isStable=function ae(...e){let t=Number.POSITIVE_INFINITY,n=null,r=e[e.length-1];return(0,re.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 $.y?e[0]:(0,de.J)(t)((0,Q.n)(e,n))}(i,a.pipe(function J(){return e=>(0,j.x)()(function z(e,t){return function(r){let o;if(o="function"==typeof e?e:function(){return e},"function"==typeof t)return r.lift(new k(o,t));const i=Object.create(r,q.N);return i.source=r,i.subjectFactory=o,i}}(G)(e))}()))}get destroyed(){return this._destroyed}get injector(){return this._injector}bootstrap(n,r){const o=n instanceof xf;if(!this._injector.get(Bc).done)throw!o&&fr(n),new Ee(405,false);let a;a=o?n:this._injector.get(mu).resolveComponentFactory(n),this.componentTypes.push(a.componentType);const l=function Cb(e){return e.isBoundToModule}(a)?void 0:this._injector.get(Ba),v=a.create(Ns.NULL,[],r||a.selector,l),I=v.location.nativeElement,R=v.injector.get(um,null);return R?.registerApplication(I),v.onDestroy(()=>{this.detachView(v.hostView),Vc(this.components,v),R?.unregisterApplication(I)}),this._loadComponent(v),v}tick(){if(this._runningTick)throw new Ee(101,!1);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;Vc(this._views,r),r.detachFromAppRef()}_loadComponent(n){this.attachView(n.hostView),this.tick(),this.components.push(n);const r=this._injector.get(rm,[]);r.push(...this._bootstrapListeners),r.forEach(o=>o(n))}ngOnDestroy(){if(!this._destroyed)try{this._destroyListeners.forEach(n=>n()),this._views.slice().forEach(n=>n.destroy()),this._onMicrotaskEmptySubscription.unsubscribe()}finally{this._destroyed=!0,this._views=[],this._bootstrapListeners=[],this._destroyListeners=[]}}onDestroy(n){return this._destroyListeners.push(n),()=>Vc(this._destroyListeners,n)}destroy(){if(this._destroyed)throw new Ee(406,!1);const n=this._injector;n.destroy&&!n.destroyed&&n.destroy()}get viewCount(){return this._views.length}warnIfDestroyed(){}}return e.\u0275fac=function(n){return new(n||e)(ot(Yr),ot(Os),ot(vu))},e.\u0275prov=st({token:e,factory:e.\u0275fac,providedIn:"root"}),e})();function Vc(e,t){const n=e.indexOf(t);n>-1&&e.splice(n,1)}function Tb(){}let Mb=(()=>{class e{}return e.__NG_ELEMENT_ID__=Ab,e})();function Ab(e){return function Rb(e,t,n){if(or(e)&&!n){const r=Lt(e.index,t);return new _u(r,r)}return 47&e.type?new _u(t[16],t):null}(Ut(),Y(),16==(16&e))}class wm{constructor(){}supports(t){return bu(t)}create(t){return new Lb(t)}}const Fb=(e,t)=>t;class Lb{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||Fb}forEachItem(t){let n;for(n=this._itHead;null!==n;n=n._next)t(n)}forEachOperation(t){let n=this._itHead,r=this._removalsHead,o=0,i=null;for(;n||r;){const a=!r||n&&n.currentIndex{a=this._trackByFn(o,l),null!==n&&Object.is(n.trackById,a)?(r&&(n=this._verifyReinsertion(n,l,a,o)),Object.is(n.item,l)||this._addIdentityChange(n,l)):(n=this._mismatch(n,l,a,o),r=!0),n=n._next,o++}),this.length=o;return this._truncate(n),this.collection=t,this.isDirty}get isDirty(){return null!==this._additionsHead||null!==this._movesHead||null!==this._removalsHead||null!==this._identityChangesHead}_reset(){if(this.isDirty){let t;for(t=this._previousItHead=this._itHead;null!==t;t=t._next)t._nextPrevious=t._next;for(t=this._additionsHead;null!==t;t=t._nextAdded)t.previousIndex=t.currentIndex;for(this._additionsHead=this._additionsTail=null,t=this._movesHead;null!==t;t=t._nextMoved)t.previousIndex=t.currentIndex;this._movesHead=this._movesTail=null,this._removalsHead=this._removalsTail=null,this._identityChangesHead=this._identityChangesTail=null}}_mismatch(t,n,r,o){let i;return null===t?i=this._itTail:(i=t._prev,this._remove(t)),null!==(t=null===this._unlinkedRecords?null:this._unlinkedRecords.get(r,null))?(Object.is(t.item,n)||this._addIdentityChange(t,n),this._reinsertAfter(t,i,o)):null!==(t=null===this._linkedRecords?null:this._linkedRecords.get(r,o))?(Object.is(t.item,n)||this._addIdentityChange(t,n),this._moveAfter(t,i,o)):t=this._addAfter(new kb(n,r),i,o),t}_verifyReinsertion(t,n,r,o){let i=null===this._unlinkedRecords?null:this._unlinkedRecords.get(r,null);return null!==i?t=this._reinsertAfter(i,t._prev,o):t.currentIndex!=o&&(t.currentIndex=o,this._addToMoves(t,o)),t}_truncate(t){for(;null!==t;){const n=t._next;this._addToRemovals(this._unlink(t)),t=n}null!==this._unlinkedRecords&&this._unlinkedRecords.clear(),null!==this._additionsTail&&(this._additionsTail._nextAdded=null),null!==this._movesTail&&(this._movesTail._nextMoved=null),null!==this._itTail&&(this._itTail._next=null),null!==this._removalsTail&&(this._removalsTail._nextRemoved=null),null!==this._identityChangesTail&&(this._identityChangesTail._nextIdentityChange=null)}_reinsertAfter(t,n,r){null!==this._unlinkedRecords&&this._unlinkedRecords.remove(t);const o=t._prevRemoved,i=t._nextRemoved;return null===o?this._removalsHead=i:o._nextRemoved=i,null===i?this._removalsTail=o:i._prevRemoved=o,this._insertAfter(t,n,r),this._addToMoves(t,r),t}_moveAfter(t,n,r){return this._unlink(t),this._insertAfter(t,n,r),this._addToMoves(t,r),t}_addAfter(t,n,r){return this._insertAfter(t,n,r),this._additionsTail=null===this._additionsTail?this._additionsHead=t:this._additionsTail._nextAdded=t,t}_insertAfter(t,n,r){const o=null===n?this._itHead:n._next;return t._next=o,t._prev=n,null===o?this._itTail=t:o._prev=t,null===n?this._itHead=t:n._next=t,null===this._linkedRecords&&(this._linkedRecords=new Sm),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 Sm),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 kb{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 jb{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 Sm{constructor(){this.map=new Map}put(t){const n=t.trackById;let r=this.map.get(n);r||(r=new jb,this.map.set(n,r)),r.add(t)}get(t,n){const o=this.map.get(t);return o?o.get(t,n):null}remove(t){const n=t.trackById;return this.map.get(n).remove(t)&&this.map.delete(n),t}get isEmpty(){return 0===this.map.size}clear(){this.map.clear()}}function Im(e,t,n){const r=e.previousIndex;if(null===r)return r;let o=0;return n&&r{if(n&&n.key===o)this._maybeAddToChanges(n,r),this._appendAfter=n,n=n._next;else{const i=this._getOrCreateRecordForKey(o,r);n=this._insertBeforeOrAppend(n,i)}}),n){n._prev&&(n._prev._next=null),this._removalsHead=n;for(let r=n;null!==r;r=r._nextRemoved)r===this._mapHead&&(this._mapHead=null),this._records.delete(r.key),r._nextRemoved=r._next,r.previousValue=r.currentValue,r.currentValue=null,r._prev=null,r._next=null}return this._changesTail&&(this._changesTail._nextChanged=null),this._additionsTail&&(this._additionsTail._nextAdded=null),this.isDirty}_insertBeforeOrAppend(t,n){if(t){const r=t._prev;return n._next=t,n._prev=r,t._prev=n,r&&(r._next=n),t===this._mapHead&&(this._mapHead=n),this._appendAfter=t,t}return this._appendAfter?(this._appendAfter._next=n,n._prev=this._appendAfter):this._mapHead=n,this._appendAfter=n,null}_getOrCreateRecordForKey(t,n){if(this._records.has(t)){const o=this._records.get(t);this._maybeAddToChanges(o,n);const i=o._prev,a=o._next;return i&&(i._next=a),a&&(a._prev=i),o._next=null,o._prev=null,o}const r=new Bb(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 Bb{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 Mm(){return new Hd([new wm])}let Hd=(()=>{class e{constructor(n){this.factories=n}static create(n,r){if(null!=r){const o=r.factories.slice();n=n.concat(o)}return new e(n)}static extend(n){return{provide:e,useFactory:r=>e.create(n,r||Mm()),deps:[[e,new d,new c]]}}find(n){const r=this.factories.find(o=>o.supports(n));if(null!=r)return r;throw new Ee(901,!1)}}return e.\u0275prov=st({token:e,providedIn:"root",factory:Mm}),e})();function Am(){return new $d([new Tm])}let $d=(()=>{class e{constructor(n){this.factories=n}static create(n,r){if(r){const o=r.factories.slice();n=n.concat(o)}return new e(n)}static extend(n){return{provide:e,useFactory:r=>e.create(n,r||Am()),deps:[[e,new d,new c]]}}find(n){const r=this.factories.find(o=>o.supports(n));if(r)return r;throw new Ee(901,!1)}}return e.\u0275prov=st({token:e,providedIn:"root",factory:Am}),e})();const Vb=hm(null,"core",[]);let zb=(()=>{class e{constructor(n){}}return e.\u0275fac=function(n){return new(n||e)(ot($c))},e.\u0275mod=kr({type:e}),e.\u0275inj=wt({}),e})();function Gb(e){return"boolean"==typeof e?e:null!=e&&"false"!==e}},481:(Le,he,N)=>{N.d(he,{Dx:()=>er,b2:()=>Nr,q6:()=>Bn});var g=N(895),A=N(738);class $ extends g.w_{constructor(){super(...arguments),this.supportsDOMEvents=!0}}class re extends ${static makeCurrent(){(0,g.HT)(new re)}onAndCancel(C,T,x){return C.addEventListener(T,x,!1),()=>{C.removeEventListener(T,x,!1)}}dispatchEvent(C,T){C.dispatchEvent(T)}remove(C){C.parentNode&&C.parentNode.removeChild(C)}createElement(C,T){return(T=T||this.getDefaultDocument()).createElement(C)}createHtmlDocument(){return document.implementation.createHTMLDocument("fakeTitle")}getDefaultDocument(){return document}isElementNode(C){return C.nodeType===Node.ELEMENT_NODE}isShadowRoot(C){return C instanceof DocumentFragment}getGlobalEventTarget(C,T){return"window"===T?window:"document"===T?C:"body"===T?C.body:null}getBaseHref(C){const T=function Q(){return de=de||document.querySelector("base"),de?de.getAttribute("href"):null}();return null==T?null:function q(b){ae=ae||document.createElement("a"),ae.setAttribute("href",b);const C=ae.pathname;return"/"===C.charAt(0)?C:`/${C}`}(T)}resetBaseElement(){de=null}getUserAgent(){return window.navigator.userAgent}getCookie(C){return(0,g.Mx)(document.cookie,C)}}let ae,de=null;const z=new A.OlP("TRANSITION_ID"),j=[{provide:A.ip1,useFactory:function k(b,C,T){return()=>{T.get(A.CZH).donePromise.then(()=>{const x=(0,g.q)(),B=C.querySelectorAll(`style[ng-transition="${b}"]`);for(let oe=0;oe{class b{build(){return new XMLHttpRequest}}return b.\u0275fac=function(T){return new(T||b)},b.\u0275prov=A.Yz7({token:b,factory:b.\u0275fac}),b})();const X=new A.OlP("EventManagerPlugins");let Te=(()=>{class b{constructor(T,x){this._zone=x,this._eventNameToPlugin=new Map,T.forEach(B=>B.manager=this),this._plugins=T.slice().reverse()}addEventListener(T,x,B){return this._findPluginFor(x).addEventListener(T,x,B)}addGlobalEventListener(T,x,B){return this._findPluginFor(x).addGlobalEventListener(T,x,B)}getZone(){return this._zone}_findPluginFor(T){const x=this._eventNameToPlugin.get(T);if(x)return x;const B=this._plugins;for(let oe=0;oe{class b{constructor(){this._stylesSet=new Set}addStyles(T){const x=new Set;T.forEach(B=>{this._stylesSet.has(B)||(this._stylesSet.add(B),x.add(B))}),this.onStylesAdded(x)}onStylesAdded(T){}getAllStyles(){return Array.from(this._stylesSet)}}return b.\u0275fac=function(T){return new(T||b)},b.\u0275prov=A.Yz7({token:b,factory:b.\u0275fac}),b})(),tt=(()=>{class b extends Se{constructor(T){super(),this._doc=T,this._hostNodes=new Map,this._hostNodes.set(T.head,[])}_addStylesToHost(T,x,B){T.forEach(oe=>{const ee=this._doc.createElement("style");ee.textContent=oe,B.push(x.appendChild(ee))})}addHost(T){const x=[];this._addStylesToHost(this._stylesSet,T,x),this._hostNodes.set(T,x)}removeHost(T){const x=this._hostNodes.get(T);x&&x.forEach(Ye),this._hostNodes.delete(T)}onStylesAdded(T){this._hostNodes.forEach((x,B)=>{this._addStylesToHost(T,B,x)})}ngOnDestroy(){this._hostNodes.forEach(T=>T.forEach(Ye))}}return b.\u0275fac=function(T){return new(T||b)(A.LFG(g.K0))},b.\u0275prov=A.Yz7({token:b,factory:b.\u0275fac}),b})();function Ye(b){(0,g.q)().remove(b)}const le={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/",math:"http://www.w3.org/1998/MathML/"},Zt=/%COMP%/g;function ye(b,C){return C.flat(100).map(T=>T.replace(Zt,b))}function Ne(b){return C=>{if("__ngUnwrap__"===C)return b;!1===b(C)&&(C.preventDefault(),C.returnValue=!1)}}let Ce=(()=>{class b{constructor(T,x,B){this.eventManager=T,this.sharedStylesHost=x,this.appId=B,this.rendererByCompId=new Map,this.defaultRenderer=new Bt(T)}createRenderer(T,x){if(!T||!x)return this.defaultRenderer;switch(x.encapsulation){case A.ifc.Emulated:{let B=this.rendererByCompId.get(x.id);return B||(B=new Qt(this.eventManager,this.sharedStylesHost,x,this.appId),this.rendererByCompId.set(x.id,B)),B.applyToHost(T),B}case 1:case A.ifc.ShadowDom:return new We(this.eventManager,this.sharedStylesHost,T,x);default:if(!this.rendererByCompId.has(x.id)){const B=ye(x.id,x.styles);this.sharedStylesHost.addStyles(B),this.rendererByCompId.set(x.id,this.defaultRenderer)}return this.defaultRenderer}}begin(){}end(){}}return b.\u0275fac=function(T){return new(T||b)(A.LFG(Te),A.LFG(tt),A.LFG(A.AFp))},b.\u0275prov=A.Yz7({token:b,factory:b.\u0275fac}),b})();class Bt{constructor(C){this.eventManager=C,this.data=Object.create(null),this.destroyNode=null}destroy(){}createElement(C,T){return T?document.createElementNS(le[T]||T,C):document.createElement(C)}createComment(C){return document.createComment(C)}createText(C){return document.createTextNode(C)}appendChild(C,T){(Kr(C)?C.content:C).appendChild(T)}insertBefore(C,T,x){C&&(Kr(C)?C.content:C).insertBefore(T,x)}removeChild(C,T){C&&C.removeChild(T)}selectRootElement(C,T){let x="string"==typeof C?document.querySelector(C):C;if(!x)throw new Error(`The selector "${C}" did not match any elements`);return T||(x.textContent=""),x}parentNode(C){return C.parentNode}nextSibling(C){return C.nextSibling}setAttribute(C,T,x,B){if(B){T=B+":"+T;const oe=le[B];oe?C.setAttributeNS(oe,T,x):C.setAttribute(T,x)}else C.setAttribute(T,x)}removeAttribute(C,T,x){if(x){const B=le[x];B?C.removeAttributeNS(B,T):C.removeAttribute(`${x}:${T}`)}else C.removeAttribute(T)}addClass(C,T){C.classList.add(T)}removeClass(C,T){C.classList.remove(T)}setStyle(C,T,x,B){B&(A.JOm.DashCase|A.JOm.Important)?C.style.setProperty(T,x,B&A.JOm.Important?"important":""):C.style[T]=x}removeStyle(C,T,x){x&A.JOm.DashCase?C.style.removeProperty(T):C.style[T]=""}setProperty(C,T,x){C[T]=x}setValue(C,T){C.nodeValue=T}listen(C,T,x){return"string"==typeof C?this.eventManager.addGlobalEventListener(C,T,Ne(x)):this.eventManager.addEventListener(C,T,Ne(x))}}function Kr(b){return"TEMPLATE"===b.tagName&&void 0!==b.content}class Qt extends Bt{constructor(C,T,x,B){super(C),this.component=x;const oe=ye(B+"-"+x.id,x.styles);T.addStyles(oe),this.contentAttr=function _t(b){return"_ngcontent-%COMP%".replace(Zt,b)}(B+"-"+x.id),this.hostAttr=function ge(b){return"_nghost-%COMP%".replace(Zt,b)}(B+"-"+x.id)}applyToHost(C){super.setAttribute(C,this.hostAttr,"")}createElement(C,T){const x=super.createElement(C,T);return super.setAttribute(x,this.contentAttr,""),x}}class We extends Bt{constructor(C,T,x,B){super(C),this.sharedStylesHost=T,this.hostEl=x,this.shadowRoot=x.attachShadow({mode:"open"}),this.sharedStylesHost.addHost(this.shadowRoot);const oe=ye(B.id,B.styles);for(let ee=0;ee{class b extends ue{constructor(T){super(T)}supports(T){return!0}addEventListener(T,x,B){return T.addEventListener(x,B,!1),()=>this.removeEventListener(T,x,B)}removeEventListener(T,x,B){return T.removeEventListener(x,B)}}return b.\u0275fac=function(T){return new(T||b)(A.LFG(g.K0))},b.\u0275prov=A.Yz7({token:b,factory:b.\u0275fac}),b})();const Or=["alt","control","meta","shift"],Rn={"\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"},Ct={alt:b=>b.altKey,control:b=>b.ctrlKey,meta:b=>b.metaKey,shift:b=>b.shiftKey};let Et=(()=>{class b extends ue{constructor(T){super(T)}supports(T){return null!=b.parseEventName(T)}addEventListener(T,x,B){const oe=b.parseEventName(x),ee=b.eventCallback(oe.fullKey,B,this.manager.getZone());return this.manager.getZone().runOutsideAngular(()=>(0,g.q)().onAndCancel(T,oe.domEventName,ee))}static parseEventName(T){const x=T.toLowerCase().split("."),B=x.shift();if(0===x.length||"keydown"!==B&&"keyup"!==B)return null;const oe=b._normalizeKey(x.pop());let ee="",se=x.indexOf("code");if(se>-1&&(x.splice(se,1),ee="code."),Or.forEach($t=>{const un=x.indexOf($t);un>-1&&(x.splice(un,1),ee+=$t+".")}),ee+=oe,0!=x.length||0===oe.length)return null;const Ze={};return Ze.domEventName=B,Ze.fullKey=ee,Ze}static matchEventFullKeyCode(T,x){let B=Rn[T.key]||T.key,oe="";return x.indexOf("code.")>-1&&(B=T.code,oe="code."),!(null==B||!B)&&(B=B.toLowerCase()," "===B?B="space":"."===B&&(B="dot"),Or.forEach(ee=>{ee!==B&&(0,Ct[ee])(T)&&(oe+=ee+".")}),oe+=B,oe===x)}static eventCallback(T,x,B){return oe=>{b.matchEventFullKeyCode(oe,T)&&B.runGuarded(()=>x(oe))}}static _normalizeKey(T){return"esc"===T?"escape":T}}return b.\u0275fac=function(T){return new(T||b)(A.LFG(g.K0))},b.\u0275prov=A.Yz7({token:b,factory:b.\u0275fac}),b})();const Bn=(0,A.eFA)(A._c5,"browser",[{provide:A.Lbi,useValue:g.bD},{provide:A.g9A,useValue:function Jn(){re.makeCurrent()},multi:!0},{provide:g.K0,useFactory:function cr(){return(0,A.RDi)(document),document},deps:[]}]),wt=new A.OlP(""),pt=[{provide:A.rWj,useClass:class G{addToWindow(C){A.dqk.getAngularTestability=(x,B=!0)=>{const oe=C.findTestabilityInTree(x,B);if(null==oe)throw new Error("Could not find testability for element.");return oe},A.dqk.getAllAngularTestabilities=()=>C.getAllTestabilities(),A.dqk.getAllAngularRootElements=()=>C.getAllRootElements(),A.dqk.frameworkStabilizers||(A.dqk.frameworkStabilizers=[]),A.dqk.frameworkStabilizers.push(x=>{const B=A.dqk.getAllAngularTestabilities();let oe=B.length,ee=!1;const se=function(Ze){ee=ee||Ze,oe--,0==oe&&x(ee)};B.forEach(function(Ze){Ze.whenStable(se)})})}findTestabilityInTree(C,T,x){return null==T?null:C.getTestability(T)??(x?(0,g.q)().isShadowRoot(T)?this.findTestabilityInTree(C,T.host,!0):this.findTestabilityInTree(C,T.parentElement,!0):null)}},deps:[]},{provide:A.lri,useClass:A.dDg,deps:[A.R0b,A.eoX,A.rWj]},{provide:A.dDg,useClass:A.dDg,deps:[A.R0b,A.eoX,A.rWj]}],Xn=[{provide:A.zSh,useValue:"root"},{provide:A.qLn,useFactory:function mo(){return new A.qLn},deps:[]},{provide:X,useClass:Pr,multi:!0,deps:[g.K0,A.R0b,A.Lbi]},{provide:X,useClass:Et,multi:!0,deps:[g.K0]},{provide:Ce,useClass:Ce,deps:[Te,tt,A.AFp]},{provide:A.FYo,useExisting:Ce},{provide:Se,useExisting:tt},{provide:tt,useClass:tt,deps:[g.K0]},{provide:Te,useClass:Te,deps:[X,A.R0b]},{provide:g.JF,useClass:J,deps:[]},[]];let Nr=(()=>{class b{constructor(T){}static withServerTransition(T){return{ngModule:b,providers:[{provide:A.AFp,useValue:T.appId},{provide:z,useExisting:A.AFp},j]}}}return b.\u0275fac=function(T){return new(T||b)(A.LFG(wt,12))},b.\u0275mod=A.oAB({type:b}),b.\u0275inj=A.cJS({providers:[...Xn,...pt],imports:[g.ez,A.hGG]}),b})(),er=(()=>{class b{constructor(T){this._doc=T}getTitle(){return this._doc.title}setTitle(T){this._doc.title=T||""}}return b.\u0275fac=function(T){return new(T||b)(A.LFG(g.K0))},b.\u0275prov=A.Yz7({token:b,factory:function(T){let x=null;return x=T?new T:function Pt(){return new er((0,A.LFG)(g.K0))}(),x},providedIn:"root"}),b})();typeof window<"u"&&window},352:(Le,he,N)=>{N.d(he,{rH:()=>Mr,Bz:()=>ga,lC:()=>$r});var g=N(738),A=N(254),$=N(86),re=N(591);const Q=(()=>{function u(){return Error.call(this),this.message="no elements in sequence",this.name="EmptyError",this}return u.prototype=Object.create(Error.prototype),u})();var ae=N(866),q=N(688),z=N(489);class k extends z.L{notifyNext(c,s,d,y,w){this.destination.next(s)}notifyError(c,s){this.destination.error(c)}notifyComplete(c){this.destination.complete()}}class j extends z.L{constructor(c,s,d){super(),this.parent=c,this.outerValue=s,this.outerIndex=d,this.index=0}_next(c){this.parent.notifyNext(this.outerValue,c,this.outerIndex,this.index++,this)}_error(c){this.parent.notifyError(c,this),this.unsubscribe()}_complete(){this.parent.notifyComplete(this),this.unsubscribe()}}var G=N(249),J=N(498);function X(u,c,s,d,y=new j(u,s,d)){if(!y.closed)return c instanceof J.y?c.subscribe(y):(0,G.s)(c)(y)}var Te=N(9);const ue={};function Se(...u){let c,s;return(0,ae.K)(u[u.length-1])&&(s=u.pop()),"function"==typeof u[u.length-1]&&(c=u.pop()),1===u.length&&(0,q.k)(u[0])&&(u=u[0]),(0,Te.n)(u,s).lift(new tt(c))}class tt{constructor(c){this.resultSelector=c}call(c,s){return s.subscribe(new Ye(c,this.resultSelector))}}class Ye extends k{constructor(c,s){super(c),this.resultSelector=s,this.active=0,this.values=[],this.observables=[]}_next(c){this.values.push(ue),this.observables.push(c)}_complete(){const c=this.observables,s=c.length;if(0===s)this.destination.complete();else{this.active=s,this.toRespond=s;for(let d=0;du.complete());function qn(u){return u?function Ee(u){return new J.y(c=>u.schedule(()=>c.complete()))}(u):qt}function _t(u){return new J.y(c=>{let s;try{s=u()}catch(y){return void c.error(y)}return(s?(0,A.D)(s):qn()).subscribe(c)})}var ge=N(843);function ye(u,c){return new J.y(c?s=>c.schedule(Ne,0,{error:u,subscriber:s}):s=>s.error(u))}function Ne({error:u,subscriber:c}){c.error(u)}var nt=N(762),Ce=N(529),Bt=N(895),Me=N(850),Ue=N(545);const Qt=(()=>{function u(){return Error.call(this),this.message="argument out of range",this.name="ArgumentOutOfRangeError",this}return u.prototype=Object.create(Error.prototype),u})();function We(u){return c=>0===u?qn():c.lift(new Pr(u))}class Pr{constructor(c){if(this.total=c,this.total<0)throw new Qt}call(c,s){return s.subscribe(new Or(c,this.total))}}class Or extends z.L{constructor(c,s){super(c),this.total=s,this.count=0}_next(c){const s=this.total,d=++this.count;d<=s&&(this.destination.next(c),d===s&&(this.destination.complete(),this.unsubscribe()))}}var Ct=N(198),Et=N(709);function rt(u=null){return c=>c.lift(new Qn(u))}class Qn{constructor(c){this.defaultValue=c}call(c,s){return s.subscribe(new Ci(c,this.defaultValue))}}class Ci extends z.L{constructor(c,s){super(c),this.defaultValue=s,this.isEmpty=!0}_next(c){this.isEmpty=!1,this.destination.next(c)}_complete(){this.isEmpty&&this.destination.next(this.defaultValue),this.destination.complete()}}function Gt(u=mo){return c=>c.lift(new Ve(u))}class Ve{constructor(c){this.errorFactory=c}call(c,s){return s.subscribe(new Jn(c,this.errorFactory))}}class Jn extends z.L{constructor(c,s){super(c),this.errorFactory=s,this.hasValue=!1}_next(c){this.hasValue=!0,this.destination.next(c)}_complete(){if(this.hasValue)return this.destination.complete();{let c;try{c=this.errorFactory()}catch(s){c=s}this.destination.error(c)}}}function mo(){return new Q}var cr=N(379);function st(u,c){const s=arguments.length>=2;return d=>d.pipe(u?(0,Ct.h)((y,w)=>u(y,w,d)):cr.y,We(1),s?rt(c):Gt(()=>new Q))}var Bn=N(406),wt=N(868),pt=N(221);function Xn(u,c){let s=!1;return arguments.length>=2&&(s=!0),function(y){return y.lift(new Nr(u,c,s))}}class Nr{constructor(c,s,d=!1){this.accumulator=c,this.seed=s,this.hasSeed=d}call(c,s){return s.subscribe(new yo(c,this.accumulator,this.seed,this.hasSeed))}}class yo extends z.L{constructor(c,s,d,y){super(c),this.accumulator=s,this._seed=d,this.hasSeed=y,this.index=0}get seed(){return this._seed}set seed(c){this.hasSeed=!0,this._seed=c}_next(c){if(this.hasSeed)return this._tryNext(c);this.seed=c,this.destination.next(c)}_tryNext(c){const s=this.index++;let d;try{d=this.accumulator(this.seed,c,s)}catch(y){this.destination.error(y)}this.seed=d,this.destination.next(d)}}function nn(u){return function(s){return 0===u?qn():s.lift(new Fr(u))}}class Fr{constructor(c){if(this.total=c,this.total<0)throw new Qt}call(c,s){return s.subscribe(new Pt(c,this.total))}}class Pt extends z.L{constructor(c,s){super(c),this.total=s,this.ring=new Array,this.count=0}_next(c){const s=this.ring,d=this.total,y=this.count++;s.length0){const d=this.count>=this.total?this.total:this.count,y=this.ring;for(let w=0;w=2;return d=>d.pipe(u?(0,Ct.h)((y,w)=>u(y,w,d)):cr.y,nn(1),s?rt(c):Gt(()=>new Q))}class Ie{constructor(c,s){this.predicate=c,this.inclusive=s}call(c,s){return s.subscribe(new ie(c,this.predicate,this.inclusive))}}class ie extends z.L{constructor(c,s,d){super(c),this.predicate=s,this.inclusive=d,this.index=0}_next(c){const s=this.destination;let d;try{d=this.predicate(c,this.index++)}catch(y){return void s.error(y)}this.nextOrComplete(c,d)}nextOrComplete(c,s){const d=this.destination;Boolean(s)?d.next(c):(this.inclusive&&d.next(c),d.complete())}}class xn{constructor(c){this.value=c}call(c,s){return s.subscribe(new Qe(c,this.value))}}class Qe extends z.L{constructor(c,s){super(c),this.value=s}_next(c){this.destination.next(this.value)}}var Pn=N(654);function Ht(u){return c=>c.lift(new at(u))}class at{constructor(c){this.callback=c}call(c,s){return s.subscribe(new vt(c,this.callback))}}class vt extends z.L{constructor(c,s){super(c),this.add(new Pn.w(s))}}var vo=N(327),ut=N(481);const De="primary",Tt=Symbol("RouteTitle");class lr{constructor(c){this.params=c||{}}has(c){return Object.prototype.hasOwnProperty.call(this.params,c)}get(c){if(this.has(c)){const s=this.params[c];return Array.isArray(s)?s[0]:s}return null}getAll(c){if(this.has(c)){const s=this.params[c];return Array.isArray(s)?s:[s]}return[]}get keys(){return Object.keys(this.params)}}function pn(u){return new lr(u)}function Lr(u,c,s){const d=s.path.split("/");if(d.length>u.length||"full"===s.pathMatch&&(c.hasChildren()||d.lengthd[w]===y)}return u===c}function wn(u){return Array.prototype.concat.apply([],u)}function Do(u){return u.length>0?u[u.length-1]:null}function Mt(u,c){for(const s in u)u.hasOwnProperty(s)&&c(u[s],s)}function Sn(u){return(0,g.CqO)(u)?u:(0,g.QGY)(u)?(0,A.D)(Promise.resolve(u)):(0,$.of)(u)}const Hn=!1,nr={exact:function b(u,c,s){if(!$t(u.segments,c.segments)||!B(u.segments,c.segments,s)||u.numberOfChildren!==c.numberOfChildren)return!1;for(const d in c.children)if(!u.children[d]||!b(u.children[d],c.children[d],s))return!1;return!0},subset:T},rn={exact:function V(u,c){return Jt(u,c)},subset:function C(u,c){return Object.keys(c).length<=Object.keys(u).length&&Object.keys(c).every(s=>vn(u[s],c[s]))},ignored:()=>!0};function dr(u,c,s){return nr[s.paths](u.root,c.root,s.matrixParams)&&rn[s.queryParams](u.queryParams,c.queryParams)&&!("exact"===s.fragment&&u.fragment!==c.fragment)}function T(u,c,s){return x(u,c,c.segments,s)}function x(u,c,s,d){if(u.segments.length>s.length){const y=u.segments.slice(0,s.length);return!(!$t(y,s)||c.hasChildren()||!B(y,s,d))}if(u.segments.length===s.length){if(!$t(u.segments,s)||!B(u.segments,s,d))return!1;for(const y in c.children)if(!u.children[y]||!T(u.children[y],c.children[y],d))return!1;return!0}{const y=s.slice(0,u.segments.length),w=s.slice(u.segments.length);return!!($t(u.segments,y)&&B(u.segments,y,d)&&u.children[De])&&x(u.children[De],c,w,d)}}function B(u,c,s){return c.every((d,y)=>rn[s](u[y].parameters,d.parameters))}class oe{constructor(c=new ee([],{}),s={},d=null){this.root=c,this.queryParams=s,this.fragment=d}get queryParamMap(){return this._queryParamMap||(this._queryParamMap=pn(this.queryParams)),this._queryParamMap}toString(){return ct.serialize(this)}}class ee{constructor(c,s){this.segments=c,this.children=s,this.parent=null,Mt(s,(d,y)=>d.parent=this)}hasChildren(){return this.numberOfChildren>0}get numberOfChildren(){return Object.keys(this.children).length}toString(){return In(this)}}class se{constructor(c,s){this.path=c,this.parameters=s}get parameterMap(){return this._parameterMap||(this._parameterMap=pn(this.parameters)),this._parameterMap}toString(){return Jo(this)}}function $t(u,c){return u.length===c.length&&u.every((s,d)=>s.path===c[d].path)}let Ot=(()=>{class u{}return u.\u0275fac=function(s){return new(s||u)},u.\u0275prov=g.Yz7({token:u,factory:function(){return new Ke},providedIn:"root"}),u})();class Ke{parse(c){const s=new Re(c);return new oe(s.parseRootSegment(),s.parseQueryParams(),s.parseFragment())}serialize(c){const s=`/${Dn(c.root,!0)}`,d=function ze(u){const c=Object.keys(u).map(s=>{const d=u[s];return Array.isArray(d)?d.map(y=>`${On(s)}=${On(y)}`).join("&"):`${On(s)}=${On(d)}`}).filter(s=>!!s);return c.length?`?${c.join("&")}`:""}(c.queryParams);return`${s}${d}${"string"==typeof c.fragment?`#${function _o(u){return encodeURI(u)}(c.fragment)}`:""}`}}const ct=new Ke;function In(u){return u.segments.map(c=>Jo(c)).join("/")}function Dn(u,c){if(!u.hasChildren())return In(u);if(c){const s=u.children[De]?Dn(u.children[De],!1):"",d=[];return Mt(u.children,(y,w)=>{w!==De&&d.push(`${w}:${Dn(y,!1)}`)}),d.length>0?`${s}(${d.join("//")})`:s}{const s=function un(u,c){let s=[];return Mt(u.children,(d,y)=>{y===De&&(s=s.concat(c(d,y)))}),Mt(u.children,(d,y)=>{y!==De&&(s=s.concat(c(d,y)))}),s}(u,(d,y)=>y===De?[Dn(u.children[De],!1)]:[`${y}:${Dn(d,!1)}`]);return 1===Object.keys(u.children).length&&null!=u.children[De]?`${In(u)}/${s[0]}`:`${In(u)}/(${s.join("//")})`}}function kt(u){return encodeURIComponent(u).replace(/%40/g,"@").replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",")}function On(u){return kt(u).replace(/%3B/gi,";")}function kr(u){return kt(u).replace(/\(/g,"%28").replace(/\)/g,"%29").replace(/%26/gi,"&")}function Co(u){return decodeURIComponent(u)}function Qo(u){return Co(u.replace(/\+/g,"%20"))}function Jo(u){return`${kr(u.path)}${function Xo(u){return Object.keys(u).map(c=>`;${kr(c)}=${kr(u[c])}`).join("")}(u.parameters)}`}const Wt=/^[^\/()?;=#]+/;function jt(u){const c=u.match(Wt);return c?c[0]:""}const fr=/^[^=?&#]+/,Nn=/^[^&#]+/;class Re{constructor(c){this.url=c,this.remaining=c}parseRootSegment(){return this.consumeOptional("/"),""===this.remaining||this.peekStartsWith("?")||this.peekStartsWith("#")?new ee([],{}):new ee([],this.parseChildren())}parseQueryParams(){const c={};if(this.consumeOptional("?"))do{this.parseQueryParam(c)}while(this.consumeOptional("&"));return c}parseFragment(){return this.consumeOptional("#")?decodeURIComponent(this.remaining):null}parseChildren(){if(""===this.remaining)return{};this.consumeOptional("/");const c=[];for(this.peekStartsWith("(")||c.push(this.parseSegment());this.peekStartsWith("/")&&!this.peekStartsWith("//")&&!this.peekStartsWith("/(");)this.capture("/"),c.push(this.parseSegment());let s={};this.peekStartsWith("/(")&&(this.capture("/"),s=this.parseParens(!0));let d={};return this.peekStartsWith("(")&&(d=this.parseParens(!1)),(c.length>0||Object.keys(s).length>0)&&(d[De]=new ee(c,s)),d}parseSegment(){const c=jt(this.remaining);if(""===c&&this.peekStartsWith(";"))throw new g.vHH(4009,Hn);return this.capture(c),new se(Co(c),this.parseMatrixParams())}parseMatrixParams(){const c={};for(;this.consumeOptional(";");)this.parseParam(c);return c}parseParam(c){const s=jt(this.remaining);if(!s)return;this.capture(s);let d="";if(this.consumeOptional("=")){const y=jt(this.remaining);y&&(d=y,this.capture(d))}c[Co(s)]=Co(d)}parseQueryParam(c){const s=function gn(u){const c=u.match(fr);return c?c[0]:""}(this.remaining);if(!s)return;this.capture(s);let d="";if(this.consumeOptional("=")){const M=function me(u){const c=u.match(Nn);return c?c[0]:""}(this.remaining);M&&(d=M,this.capture(d))}const y=Qo(s),w=Qo(d);if(c.hasOwnProperty(y)){let M=c[y];Array.isArray(M)||(M=[M],c[y]=M),M.push(w)}else c[y]=w}parseParens(c){const s={};for(this.capture("(");!this.consumeOptional(")")&&this.remaining.length>0;){const d=jt(this.remaining),y=this.remaining[d.length];if("/"!==y&&")"!==y&&";"!==y)throw new g.vHH(4010,Hn);let w;d.indexOf(":")>-1?(w=d.slice(0,d.indexOf(":")),this.capture(w),this.capture(":")):c&&(w=De);const M=this.parseChildren();s[w]=1===Object.keys(M).length?M[De]:new ee([],M),this.consumeOptional("//")}return s}peekStartsWith(c){return this.remaining.startsWith(c)}consumeOptional(c){return!!this.peekStartsWith(c)&&(this.remaining=this.remaining.substring(c.length),!0)}capture(c){if(!this.consumeOptional(c))throw new g.vHH(4011,Hn)}}function lt(u){return u.segments.length>0?new ee([],{[De]:u}):u}function Yt(u){const c={};for(const d of Object.keys(u.children)){const w=Yt(u.children[d]);(w.segments.length>0||w.hasChildren())&&(c[d]=w)}return function rr(u){if(1===u.numberOfChildren&&u.children[De]){const c=u.children[De];return new ee(u.segments.concat(c.segments),c.children)}return u}(new ee(u.segments,c))}function bt(u){return u instanceof oe}function Fe(u,c,s,d,y){if(0===s.length)return Fn(c.root,c.root,c.root,d,y);const w=function Ur(u){if("string"==typeof u[0]&&1===u.length&&"/"===u[0])return new Rt(!0,0,u);let c=0,s=!1;const d=u.reduce((y,w,M)=>{if("object"==typeof w&&null!=w){if(w.outlets){const L={};return Mt(w.outlets,(Z,ve)=>{L[ve]="string"==typeof Z?Z.split("/"):Z}),[...y,{outlets:L}]}if(w.segmentPath)return[...y,w.segmentPath]}return"string"!=typeof w?[...y,w]:0===M?(w.split("/").forEach((L,Z)=>{0==Z&&"."===L||(0==Z&&""===L?s=!0:".."===L?c++:""!=L&&y.push(L))}),y):[...y,w]},[]);return new Rt(s,c,d)}(s);return w.toRoot()?Fn(c.root,c.root,new ee([],{}),d,y):function M(Z){const ve=function qr(u,c,s,d){if(u.isAbsolute)return new _n(c.root,!0,0);if(-1===d)return new _n(s,s===c.root,0);return function ei(u,c,s){let d=u,y=c,w=s;for(;w>y;){if(w-=y,d=d.parent,!d)throw new g.vHH(4005,!1);y=d.segments.length}return new _n(d,!1,y-w)}(s,d+(jr(u.commands[0])?0:1),u.numberOfDoubleDots)}(w,c,u.snapshot?._urlSegment,Z),be=ve.processChildren?gr(ve.segmentGroup,ve.index,w.commands):bi(ve.segmentGroup,ve.index,w.commands);return Fn(c.root,ve.segmentGroup,be,d,y)}(u.snapshot?._lastPathIndex)}function jr(u){return"object"==typeof u&&null!=u&&!u.outlets&&!u.segmentPath}function Dt(u){return"object"==typeof u&&null!=u&&u.outlets}function Fn(u,c,s,d,y){let M,w={};d&&Mt(d,(Z,ve)=>{w[ve]=Array.isArray(Z)?Z.map(be=>`${be}`):`${Z}`}),M=u===c?s:pr(u,c,s);const L=lt(Yt(M));return new oe(L,w,y)}function pr(u,c,s){const d={};return Mt(u.children,(y,w)=>{d[w]=y===c?s:pr(y,c,s)}),new ee(u.segments,d)}class Rt{constructor(c,s,d){if(this.isAbsolute=c,this.numberOfDoubleDots=s,this.commands=d,c&&d.length>0&&jr(d[0]))throw new g.vHH(4003,!1);const y=d.find(Dt);if(y&&y!==Do(d))throw new g.vHH(4004,!1)}toRoot(){return this.isAbsolute&&1===this.commands.length&&"/"==this.commands[0]}}class _n{constructor(c,s,d){this.segmentGroup=c,this.processChildren=s,this.index=d}}function bi(u,c,s){if(u||(u=new ee([],{})),0===u.segments.length&&u.hasChildren())return gr(u,c,s);const d=function Ei(u,c,s){let d=0,y=c;const w={match:!1,pathIndex:0,commandIndex:0};for(;y=s.length)return w;const M=u.segments[y],L=s[d];if(Dt(L))break;const Z=`${L}`,ve=d0&&void 0===Z)break;if(Z&&ve&&"object"==typeof ve&&void 0===ve.outlets){if(!Xt(Z,ve,M))return w;d+=2}else{if(!Xt(Z,{},M))return w;d++}y++}return{match:!0,pathIndex:y,commandIndex:d}}(u,c,s),y=s.slice(d.commandIndex);if(d.match&&d.pathIndex{"string"==typeof w&&(w=[w]),null!==w&&(y[M]=bi(u.children[M],c,w))}),Mt(u.children,(w,M)=>{void 0===d[M]&&(y[M]=w)}),new ee(u.segments,y)}}function Br(u,c,s){const d=u.segments.slice(0,c);let y=0;for(;y{"string"==typeof s&&(s=[s]),null!==s&&(c[d]=Br(new ee([],{}),0,s))}),c}function mr(u){const c={};return Mt(u,(s,d)=>c[d]=`${s}`),c}function Xt(u,c,s){return u==s.path&&Jt(c,s.parameters)}class $n{constructor(c,s){this.id=c,this.url=s}}class Nt extends $n{constructor(c,s,d="imperative",y=null){super(c,s),this.type=0,this.navigationTrigger=d,this.restoredState=y}toString(){return`NavigationStart(id: ${this.id}, url: '${this.url}')`}}class Ft extends $n{constructor(c,s,d){super(c,s),this.urlAfterRedirects=d,this.type=1}toString(){return`NavigationEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}')`}}class yr extends $n{constructor(c,s,d,y){super(c,s),this.reason=d,this.code=y,this.type=2}toString(){return`NavigationCancel(id: ${this.id}, url: '${this.url}')`}}class or extends $n{constructor(c,s,d,y){super(c,s),this.error=d,this.target=y,this.type=3}toString(){return`NavigationError(id: ${this.id}, url: '${this.url}', error: ${this.error})`}}class So extends $n{constructor(c,s,d,y){super(c,s),this.urlAfterRedirects=d,this.state=y,this.type=4}toString(){return`RoutesRecognized(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}}class Tn extends $n{constructor(c,s,d,y){super(c,s),this.urlAfterRedirects=d,this.state=y,this.type=7}toString(){return`GuardsCheckStart(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}}class ti extends $n{constructor(c,s,d,y,w){super(c,s),this.urlAfterRedirects=d,this.state=y,this.shouldActivate=w,this.type=8}toString(){return`GuardsCheckEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state}, shouldActivate: ${this.shouldActivate})`}}class wi extends $n{constructor(c,s,d,y){super(c,s),this.urlAfterRedirects=d,this.state=y,this.type=5}toString(){return`ResolveStart(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}}class es extends $n{constructor(c,s,d,y){super(c,s),this.urlAfterRedirects=d,this.state=y,this.type=6}toString(){return`ResolveEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}}class Bs{constructor(c){this.route=c,this.type=9}toString(){return`RouteConfigLoadStart(path: ${this.route.path})`}}class Hs{constructor(c){this.route=c,this.type=10}toString(){return`RouteConfigLoadEnd(path: ${this.route.path})`}}class ts{constructor(c){this.snapshot=c,this.type=11}toString(){return`ChildActivationStart(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}}class $s{constructor(c){this.snapshot=c,this.type=12}toString(){return`ChildActivationEnd(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}}class Vs{constructor(c){this.snapshot=c,this.type=13}toString(){return`ActivationStart(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}}class zs{constructor(c){this.snapshot=c,this.type=14}toString(){return`ActivationEnd(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}}class ns{constructor(c,s,d){this.routerEvent=c,this.position=s,this.anchor=d,this.type=15}toString(){return`Scroll(anchor: '${this.anchor}', position: '${this.position?`${this.position[0]}, ${this.position[1]}`:null}')`}}let za=(()=>{class u{createUrlTree(s,d,y,w,M,L){return Fe(s||d.root,y,w,M,L)}}return u.\u0275fac=function(s){return new(s||u)},u.\u0275prov=g.Yz7({token:u,factory:u.\u0275fac}),u})(),Ws=(()=>{class u{}return u.\u0275fac=function(s){return new(s||u)},u.\u0275prov=g.Yz7({token:u,factory:function(c){return za.\u0275fac(c)},providedIn:"root"}),u})();class rs{constructor(c){this._root=c}get root(){return this._root.value}parent(c){const s=this.pathFromRoot(c);return s.length>1?s[s.length-2]:null}children(c){const s=Qr(c,this._root);return s?s.children.map(d=>d.value):[]}firstChild(c){const s=Qr(c,this._root);return s&&s.children.length>0?s.children[0].value:null}siblings(c){const s=Io(c,this._root);return s.length<2?[]:s[s.length-2].children.map(y=>y.value).filter(y=>y!==c)}pathFromRoot(c){return Io(c,this._root).map(s=>s.value)}}function Qr(u,c){if(u===c.value)return c;for(const s of c.children){const d=Qr(u,s);if(d)return d}return null}function Io(u,c){if(u===c.value)return[c];for(const s of c.children){const d=Io(u,s);if(d.length)return d.unshift(c),d}return[]}class vr{constructor(c,s){this.value=c,this.children=s}toString(){return`TreeNode(${this.value})`}}function Jr(u){const c={};return u&&u.children.forEach(s=>c[s.value.outlet]=s),c}class Ys extends rs{constructor(c,s){super(c),this.snapshot=s,Dr(this,c)}toString(){return this.snapshot.toString()}}function kn(u,c){const s=function Ks(u,c){const M=new Xr([],{},{},"",{},De,c,null,u.root,-1,{});return new ri("",new vr(M,[]))}(u,c),d=new re.X([new se("",{})]),y=new re.X({}),w=new re.X({}),M=new re.X({}),L=new re.X(""),Z=new Vn(d,y,M,L,w,De,c,s.root);return Z.snapshot=s.root,new Ys(new vr(Z,[]),s)}class Vn{constructor(c,s,d,y,w,M,L,Z){this.url=c,this.params=s,this.queryParams=d,this.fragment=y,this.data=w,this.outlet=M,this.component=L,this.title=this.data?.pipe((0,Me.U)(ve=>ve[Tt]))??(0,$.of)(void 0),this._futureSnapshot=Z}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,Me.U)(c=>pn(c)))),this._paramMap}get queryParamMap(){return this._queryParamMap||(this._queryParamMap=this.queryParams.pipe((0,Me.U)(c=>pn(c)))),this._queryParamMap}toString(){return this.snapshot?this.snapshot.toString():`Future(${this._futureSnapshot})`}}function ni(u,c="emptyOnly"){const s=u.pathFromRoot;let d=0;if("always"!==c)for(d=s.length-1;d>=1;){const y=s[d],w=s[d-1];if(y.routeConfig&&""===y.routeConfig.path)d--;else{if(w.component)break;d--}}return function os(u){return u.reduce((c,s)=>({params:{...c.params,...s.params},data:{...c.data,...s.data},resolve:{...s.data,...c.resolve,...s.routeConfig?.data,...s._resolvedData}}),{params:{},data:{},resolve:{}})}(s.slice(d))}class Xr{constructor(c,s,d,y,w,M,L,Z,ve,be,Je){this.url=c,this.params=s,this.queryParams=d,this.fragment=y,this.data=w,this.outlet=M,this.component=L,this.routeConfig=Z,this._urlSegment=ve,this._lastPathIndex=be,this._resolve=Je}get title(){return this.data?.[Tt]}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=pn(this.params)),this._paramMap}get queryParamMap(){return this._queryParamMap||(this._queryParamMap=pn(this.queryParams)),this._queryParamMap}toString(){return`Route(url:'${this.url.map(d=>d.toString()).join("/")}', path:'${this.routeConfig?this.routeConfig.path:""}')`}}class ri extends rs{constructor(c,s){super(s),this.url=c,Dr(this,s)}toString(){return Si(this._root)}}function Dr(u,c){c.value._routerState=u,c.children.forEach(s=>Dr(u,s))}function Si(u){const c=u.children.length>0?` { ${u.children.map(Si).join(", ")} } `:"";return`${u.value}${c}`}function eo(u){if(u.snapshot){const c=u.snapshot,s=u._futureSnapshot;u.snapshot=s,Jt(c.queryParams,s.queryParams)||u.queryParams.next(s.queryParams),c.fragment!==s.fragment&&u.fragment.next(s.fragment),Jt(c.params,s.params)||u.params.next(s.params),function Zr(u,c){if(u.length!==c.length)return!1;for(let s=0;sJt(s.parameters,c[d].parameters))}(u.url,c.url);return s&&!(!u.parent!=!c.parent)&&(!u.parent||Ii(u.parent,c.parent))}function Hr(u,c,s){if(s&&u.shouldReuseRoute(c.value,s.value.snapshot)){const d=s.value;d._futureSnapshot=c.value;const y=function Ti(u,c,s){return c.children.map(d=>{for(const y of s.children)if(u.shouldReuseRoute(d.value,y.value.snapshot))return Hr(u,d,y);return Hr(u,d)})}(u,c,s);return new vr(d,y)}{if(u.shouldAttach(c.value)){const w=u.retrieve(c.value);if(null!==w){const M=w.route;return M.value._futureSnapshot=c.value,M.children=c.children.map(L=>Hr(u,L)),M}}const d=function St(u){return new Vn(new re.X(u.url),new re.X(u.params),new re.X(u.queryParams),new re.X(u.fragment),new re.X(u.data),u.outlet,u.component,u)}(c.value),y=c.children.map(w=>Hr(u,w));return new vr(d,y)}}const To="ngNavigationCancelingError";function to(u,c){const{redirectTo:s,navigationBehaviorOptions:d}=bt(c)?{redirectTo:c,navigationBehaviorOptions:void 0}:c,y=cn(!1,0,c);return y.url=s,y.navigationBehaviorOptions=d,y}function cn(u,c,s){const d=new Error("NavigationCancelingError: "+(u||""));return d[To]=!0,d.cancellationCode=c,s&&(d.url=s),d}function Mi(u){return oi(u)&&bt(u.url)}function oi(u){return u&&u[To]}class no{constructor(){this.outlet=null,this.route=null,this.resolver=null,this.injector=null,this.children=new Lt,this.attachRef=null}}let Lt=(()=>{class u{constructor(){this.contexts=new Map}onChildOutletCreated(s,d){const y=this.getOrCreateContext(s);y.outlet=d,this.contexts.set(s,y)}onChildOutletDestroyed(s){const d=this.getContext(s);d&&(d.outlet=null,d.attachRef=null)}onOutletDeactivated(){const s=this.contexts;return this.contexts=new Map,s}onOutletReAttached(s){this.contexts=s}getOrCreateContext(s){let d=this.getContext(s);return d||(d=new no,this.contexts.set(s,d)),d}getContext(s){return this.contexts.get(s)||null}}return u.\u0275fac=function(s){return new(s||u)},u.\u0275prov=g.Yz7({token:u,factory:u.\u0275fac,providedIn:"root"}),u})();const Mo=!1;let $r=(()=>{class u{constructor(){this.activated=null,this._activatedRoute=null,this.name=De,this.activateEvents=new g.vpe,this.deactivateEvents=new g.vpe,this.attachEvents=new g.vpe,this.detachEvents=new g.vpe,this.parentContexts=(0,g.f3M)(Lt),this.location=(0,g.f3M)(g.s_b),this.changeDetector=(0,g.f3M)(g.sBO),this.environmentInjector=(0,g.f3M)(g.lqb)}ngOnChanges(s){if(s.name){const{firstChange:d,previousValue:y}=s.name;if(d)return;this.isTrackedInParentContexts(y)&&(this.deactivate(),this.parentContexts.onChildOutletDestroyed(y)),this.initializeOutletWithName()}}ngOnDestroy(){this.isTrackedInParentContexts(this.name)&&this.parentContexts.onChildOutletDestroyed(this.name)}isTrackedInParentContexts(s){return this.parentContexts.getContext(s)?.outlet===this}ngOnInit(){this.initializeOutletWithName()}initializeOutletWithName(){if(this.parentContexts.onChildOutletCreated(this.name,this),this.activated)return;const s=this.parentContexts.getContext(this.name);s?.route&&(s.attachRef?this.attach(s.attachRef,s.route):this.activateWith(s.route,s.injector))}get isActivated(){return!!this.activated}get component(){if(!this.activated)throw new g.vHH(4012,Mo);return this.activated.instance}get activatedRoute(){if(!this.activated)throw new g.vHH(4012,Mo);return this._activatedRoute}get activatedRouteData(){return this._activatedRoute?this._activatedRoute.snapshot.data:{}}detach(){if(!this.activated)throw new g.vHH(4012,Mo);this.location.detach();const s=this.activated;return this.activated=null,this._activatedRoute=null,this.detachEvents.emit(s.instance),s}attach(s,d){this.activated=s,this._activatedRoute=d,this.location.insert(s.hostView),this.attachEvents.emit(s.instance)}deactivate(){if(this.activated){const s=this.component;this.activated.destroy(),this.activated=null,this._activatedRoute=null,this.deactivateEvents.emit(s)}}activateWith(s,d){if(this.isActivated)throw new g.vHH(4013,Mo);this._activatedRoute=s;const y=this.location,M=s.snapshot.component,L=this.parentContexts.getOrCreateContext(this.name).children,Z=new is(s,L,y.injector);if(d&&function _r(u){return!!u.resolveComponentFactory}(d)){const ve=d.resolveComponentFactory(M);this.activated=y.createComponent(ve,y.length,Z)}else this.activated=y.createComponent(M,{index:y.length,injector:Z,environmentInjector:d??this.environmentInjector});this.changeDetector.markForCheck(),this.activateEvents.emit(this.activated.instance)}}return u.\u0275fac=function(s){return new(s||u)},u.\u0275dir=g.lG2({type:u,selectors:[["router-outlet"]],inputs:{name:"name"},outputs:{activateEvents:"activate",deactivateEvents:"deactivate",attachEvents:"attach",detachEvents:"detach"},exportAs:["outlet"],standalone:!0,features:[g.TTD]}),u})();class is{constructor(c,s,d){this.route=c,this.childContexts=s,this.parent=d}get(c,s){return c===Vn?this.route:c===Lt?this.childContexts:this.parent.get(c,s)}}let Ao=(()=>{class u{}return u.\u0275fac=function(s){return new(s||u)},u.\u0275cmp=g.Xpm({type:u,selectors:[["ng-component"]],standalone:!0,features:[g.jDz],decls:1,vars:0,template:function(s,d){1&s&&g._UZ(0,"router-outlet")},dependencies:[$r],encapsulation:2}),u})();function It(u,c){return u.providers&&!u._injector&&(u._injector=(0,g.MMx)(u.providers,c,`Route: ${u.path}`)),u._injector??c}function Ri(u){const c=u.children&&u.children.map(Ri),s=c?{...u,children:c}:{...u};return!s.component&&!s.loadComponent&&(c||s.loadChildren)&&s.outlet&&s.outlet!==De&&(s.component=Ao),s}function Y(u){return u.outlet||De}function Ge(u,c){const s=u.filter(d=>Y(d)===c);return s.push(...u.filter(d=>Y(d)!==c)),s}function ro(u){if(!u)return null;if(u.routeConfig?._injector)return u.routeConfig._injector;for(let c=u.parent;c;c=c.parent){const s=c.routeConfig;if(s?._loadedInjector)return s._loadedInjector;if(s?._injector)return s._injector}return null}class Ut{constructor(c,s,d,y){this.routeReuseStrategy=c,this.futureState=s,this.currState=d,this.forwardEvent=y}activate(c){const s=this.futureState._root,d=this.currState?this.currState._root:null;this.deactivateChildRoutes(s,d,c),eo(this.futureState.root),this.activateChildRoutes(s,d,c)}deactivateChildRoutes(c,s,d){const y=Jr(s);c.children.forEach(w=>{const M=w.value.outlet;this.deactivateRoutes(w,y[M],d),delete y[M]}),Mt(y,(w,M)=>{this.deactivateRouteAndItsChildren(w,d)})}deactivateRoutes(c,s,d){const y=c.value,w=s?s.value:null;if(y===w)if(y.component){const M=d.getContext(y.outlet);M&&this.deactivateChildRoutes(c,s,M.children)}else this.deactivateChildRoutes(c,s,d);else w&&this.deactivateRouteAndItsChildren(s,d)}deactivateRouteAndItsChildren(c,s){c.value.component&&this.routeReuseStrategy.shouldDetach(c.value.snapshot)?this.detachAndStoreRouteSubtree(c,s):this.deactivateRouteAndOutlet(c,s)}detachAndStoreRouteSubtree(c,s){const d=s.getContext(c.value.outlet),y=d&&c.value.component?d.children:s,w=Jr(c);for(const M of Object.keys(w))this.deactivateRouteAndItsChildren(w[M],y);if(d&&d.outlet){const M=d.outlet.detach(),L=d.children.onOutletDeactivated();this.routeReuseStrategy.store(c.value.snapshot,{componentRef:M,route:c,contexts:L})}}deactivateRouteAndOutlet(c,s){const d=s.getContext(c.value.outlet),y=d&&c.value.component?d.children:s,w=Jr(c);for(const M of Object.keys(w))this.deactivateRouteAndItsChildren(w[M],y);d&&d.outlet&&(d.outlet.deactivate(),d.children.onOutletDeactivated(),d.attachRef=null,d.resolver=null,d.route=null)}activateChildRoutes(c,s,d){const y=Jr(s);c.children.forEach(w=>{this.activateRoutes(w,y[w.value.outlet],d),this.forwardEvent(new zs(w.value.snapshot))}),c.children.length&&this.forwardEvent(new $s(c.value.snapshot))}activateRoutes(c,s,d){const y=c.value,w=s?s.value:null;if(eo(y),y===w)if(y.component){const M=d.getOrCreateContext(y.outlet);this.activateChildRoutes(c,s,M.children)}else this.activateChildRoutes(c,s,d);else if(y.component){const M=d.getOrCreateContext(y.outlet);if(this.routeReuseStrategy.shouldAttach(y.snapshot)){const L=this.routeReuseStrategy.retrieve(y.snapshot);this.routeReuseStrategy.store(y.snapshot,null),M.children.onOutletReAttached(L.contexts),M.attachRef=L.componentRef,M.route=L.route.value,M.outlet&&M.outlet.attach(L.componentRef,L.route.value),eo(L.route.value),this.activateChildRoutes(c,null,M.children)}else{const L=ro(y.snapshot),Z=L?.get(g._Vd)??null;M.attachRef=null,M.route=y,M.resolver=Z,M.injector=L,M.outlet&&M.outlet.activateWith(y,M.injector),this.activateChildRoutes(c,null,M.children)}}else this.activateChildRoutes(c,null,d)}}class Cr{constructor(c){this.path=c,this.route=this.path[this.path.length-1]}}class br{constructor(c,s){this.component=c,this.route=s}}function zn(u,c,s){const d=u._root;return xo(d,c?c._root:null,s,[d.value])}function Gn(u,c){const s=Symbol(),d=c.get(u,s);return d===s?"function"!=typeof u||(0,g.Z0I)(u)?c.get(u):u:d}function xo(u,c,s,d,y={canDeactivateChecks:[],canActivateChecks:[]}){const w=Jr(c);return u.children.forEach(M=>{(function Ya(u,c,s,d,y={canDeactivateChecks:[],canActivateChecks:[]}){const w=u.value,M=c?c.value:null,L=s?s.getContext(u.value.outlet):null;if(M&&w.routeConfig===M.routeConfig){const Z=function xi(u,c,s){if("function"==typeof s)return s(u,c);switch(s){case"pathParamsChange":return!$t(u.url,c.url);case"pathParamsOrQueryParamsChange":return!$t(u.url,c.url)||!Jt(u.queryParams,c.queryParams);case"always":return!0;case"paramsOrQueryParamsChange":return!Ii(u,c)||!Jt(u.queryParams,c.queryParams);default:return!Ii(u,c)}}(M,w,w.routeConfig.runGuardsAndResolvers);Z?y.canActivateChecks.push(new Cr(d)):(w.data=M.data,w._resolvedData=M._resolvedData),xo(u,c,w.component?L?L.children:null:s,d,y),Z&&L&&L.outlet&&L.outlet.isActivated&&y.canDeactivateChecks.push(new br(L.outlet.component,M))}else M&&xt(c,L,y),y.canActivateChecks.push(new Cr(d)),xo(u,null,w.component?L?L.children:null:s,d,y)})(M,w[M.value.outlet],s,d.concat([M.value]),y),delete w[M.value.outlet]}),Mt(w,(M,L)=>xt(M,s.getContext(L),y)),y}function xt(u,c,s){const d=Jr(u),y=u.value;Mt(d,(w,M)=>{xt(w,y.component?c?c.children.getContext(M):null:c,s)}),s.canDeactivateChecks.push(new br(y.component&&c&&c.outlet&&c.outlet.isActivated?c.outlet.component:null,y))}function ln(u){return"function"==typeof u}function Po(u){return u instanceof Q||"EmptyError"===u?.name}const io=Symbol("INITIAL_VALUE");function Er(){return(0,Ue.w)(u=>Se(u.map(c=>c.pipe(We(1),function Rn(...u){const c=u[u.length-1];return(0,ae.K)(c)?(u.pop(),s=>hn(u,s,c)):s=>hn(u,s)}(io)))).pipe((0,Me.U)(c=>{for(const s of c)if(!0!==s){if(s===io)return io;if(!1===s||s instanceof oe)return s}return!0}),(0,Ct.h)(c=>c!==io),We(1)))}function Fi(u){return(0,ge.z)((0,wt.b)(c=>{if(bt(c))throw to(0,c)}),(0,Me.U)(c=>!0===c))}const D={matched:!1,consumedSegments:[],remainingSegments:[],parameters:{},positionalParamSegments:{}};function h(u,c,s,d,y){const w=S(u,c,s);return w.matched?function f(u,c,s,d){const y=c.canMatch;if(!y||0===y.length)return(0,$.of)(!0);const w=y.map(M=>{const L=Gn(M,u);return Sn(function Xs(u){return u&&ln(u.canMatch)}(L)?L.canMatch(c,s):u.runInContext(()=>L(c,s)))});return(0,$.of)(w).pipe(Er(),Fi())}(d=It(c,d),c,s).pipe((0,Me.U)(M=>!0===M?w:{...D})):(0,$.of)(w)}function S(u,c,s){if(""===c.path)return"full"===c.pathMatch&&(u.hasChildren()||s.length>0)?{...D}:{matched:!0,consumedSegments:[],remainingSegments:s,parameters:{},positionalParamSegments:{}};const y=(c.matcher||Lr)(s,u,c);if(!y)return{...D};const w={};Mt(y.posParams,(L,Z)=>{w[Z]=L.path});const M=y.consumed.length>0?{...w,...y.consumed[y.consumed.length-1].parameters}:w;return{matched:!0,consumedSegments:y.consumed,remainingSegments:s.slice(y.consumed.length),parameters:M,positionalParamSegments:y.posParams??{}}}function P(u,c,s,d){if(s.length>0&&function _e(u,c,s){return s.some(d=>$e(u,c,d)&&Y(d)!==De)}(u,s,d)){const w=new ee(c,function K(u,c,s,d){const y={};y[De]=d,d._sourceSegment=u,d._segmentIndexShift=c.length;for(const w of s)if(""===w.path&&Y(w)!==De){const M=new ee([],{});M._sourceSegment=u,M._segmentIndexShift=c.length,y[Y(w)]=M}return y}(u,c,d,new ee(s,u.children)));return w._sourceSegment=u,w._segmentIndexShift=c.length,{segmentGroup:w,slicedSegments:[]}}if(0===s.length&&function Xe(u,c,s){return s.some(d=>$e(u,c,d))}(u,s,d)){const w=new ee(u.segments,function H(u,c,s,d,y){const w={};for(const M of d)if($e(u,s,M)&&!y[Y(M)]){const L=new ee([],{});L._sourceSegment=u,L._segmentIndexShift=c.length,w[Y(M)]=L}return{...y,...w}}(u,c,s,d,u.children));return w._sourceSegment=u,w._segmentIndexShift=c.length,{segmentGroup:w,slicedSegments:s}}const y=new ee(u.segments,u.children);return y._sourceSegment=u,y._segmentIndexShift=c.length,{segmentGroup:y,slicedSegments:s}}function $e(u,c,s){return(!(u.hasChildren()||c.length>0)||"full"!==s.pathMatch)&&""===s.path}function qe(u,c,s,d){return!!(Y(u)===d||d!==De&&$e(c,s,u))&&("**"===u.path||S(c,u,s).matched)}function ke(u,c,s){return 0===c.length&&!u.children[s]}const dt=!1;class et{constructor(c){this.segmentGroup=c||null}}class Vt{constructor(c){this.urlTree=c}}function en(u){return ye(new et(u))}function on(u){return ye(new Vt(u))}class Li{constructor(c,s,d,y,w){this.injector=c,this.configLoader=s,this.urlSerializer=d,this.urlTree=y,this.config=w,this.allowRedirects=!0}apply(){const c=P(this.urlTree.root,[],[],this.config).segmentGroup,s=new ee(c.segments,c.children);return this.expandSegmentGroup(this.injector,this.config,s,De).pipe((0,Me.U)(w=>this.createUrlTree(Yt(w),this.urlTree.queryParams,this.urlTree.fragment))).pipe((0,pt.K)(w=>{if(w instanceof Vt)return this.allowRedirects=!1,this.match(w.urlTree);throw w instanceof et?this.noMatchError(w):w}))}match(c){return this.expandSegmentGroup(this.injector,this.config,c.root,De).pipe((0,Me.U)(y=>this.createUrlTree(Yt(y),c.queryParams,c.fragment))).pipe((0,pt.K)(y=>{throw y instanceof et?this.noMatchError(y):y}))}noMatchError(c){return new g.vHH(4002,dt)}createUrlTree(c,s,d){const y=lt(c);return new oe(y,s,d)}expandSegmentGroup(c,s,d,y){return 0===d.segments.length&&d.hasChildren()?this.expandChildren(c,s,d).pipe((0,Me.U)(w=>new ee([],w))):this.expandSegment(c,d,s,d.segments,y,!0)}expandChildren(c,s,d){const y=[];for(const w of Object.keys(d.children))"primary"===w?y.unshift(w):y.push(w);return(0,A.D)(y).pipe((0,Bn.b)(w=>{const M=d.children[w],L=Ge(s,w);return this.expandSegmentGroup(c,L,M,w).pipe((0,Me.U)(Z=>({segment:Z,outlet:w})))}),Xn((w,M)=>(w[M.outlet]=M.segment,w),{}),er())}expandSegment(c,s,d,y,w,M){return(0,A.D)(d).pipe((0,Bn.b)(L=>this.expandSegmentAgainstRoute(c,s,d,L,y,w,M).pipe((0,pt.K)(ve=>{if(ve instanceof et)return(0,$.of)(null);throw ve}))),st(L=>!!L),(0,pt.K)((L,Z)=>{if(Po(L))return ke(s,y,w)?(0,$.of)(new ee([],{})):en(s);throw L}))}expandSegmentAgainstRoute(c,s,d,y,w,M,L){return qe(y,s,w,M)?void 0===y.redirectTo?this.matchSegmentAgainstRoute(c,s,y,w,M):L&&this.allowRedirects?this.expandSegmentAgainstRouteUsingRedirect(c,s,d,y,w,M):en(s):en(s)}expandSegmentAgainstRouteUsingRedirect(c,s,d,y,w,M){return"**"===y.path?this.expandWildCardWithParamsAgainstRouteUsingRedirect(c,d,y,M):this.expandRegularSegmentAgainstRouteUsingRedirect(c,s,d,y,w,M)}expandWildCardWithParamsAgainstRouteUsingRedirect(c,s,d,y){const w=this.applyRedirectCommands([],d.redirectTo,{});return d.redirectTo.startsWith("/")?on(w):this.lineralizeSegments(d,w).pipe((0,Et.zg)(M=>{const L=new ee(M,{});return this.expandSegment(c,L,s,M,y,!1)}))}expandRegularSegmentAgainstRouteUsingRedirect(c,s,d,y,w,M){const{matched:L,consumedSegments:Z,remainingSegments:ve,positionalParamSegments:be}=S(s,y,w);if(!L)return en(s);const Je=this.applyRedirectCommands(Z,y.redirectTo,be);return y.redirectTo.startsWith("/")?on(Je):this.lineralizeSegments(y,Je).pipe((0,Et.zg)(Be=>this.expandSegment(c,s,d,Be.concat(ve),M,!1)))}matchSegmentAgainstRoute(c,s,d,y,w){return"**"===d.path?(c=It(d,c),d.loadChildren?(d._loadedRoutes?(0,$.of)({routes:d._loadedRoutes,injector:d._loadedInjector}):this.configLoader.loadChildren(c,d)).pipe((0,Me.U)(L=>(d._loadedRoutes=L.routes,d._loadedInjector=L.injector,new ee(y,{})))):(0,$.of)(new ee(y,{}))):h(s,d,y,c).pipe((0,Ue.w)(({matched:M,consumedSegments:L,remainingSegments:Z})=>M?this.getChildConfig(c=d._injector??c,d,y).pipe((0,Et.zg)(be=>{const Je=be.injector??c,Be=be.routes,{segmentGroup:Ar,slicedSegments:uo}=P(s,L,Z,Be),co=new ee(Ar.segments,Ar.children);if(0===uo.length&&co.hasChildren())return this.expandChildren(Je,Be,co).pipe((0,Me.U)(su=>new ee(L,su)));if(0===Be.length&&0===uo.length)return(0,$.of)(new ee(L,{}));const Yn=Y(d)===w;return this.expandSegment(Je,co,Be,uo,Yn?De:w,!0).pipe((0,Me.U)(Ts=>new ee(L.concat(Ts.segments),Ts.children)))})):en(s)))}getChildConfig(c,s,d){return s.children?(0,$.of)({routes:s.children,injector:c}):s.loadChildren?void 0!==s._loadedRoutes?(0,$.of)({routes:s._loadedRoutes,injector:s._loadedInjector}):function ps(u,c,s,d){const y=c.canLoad;if(void 0===y||0===y.length)return(0,$.of)(!0);const w=y.map(M=>{const L=Gn(M,u);return Sn(function oo(u){return u&&ln(u.canLoad)}(L)?L.canLoad(c,s):u.runInContext(()=>L(c,s)))});return(0,$.of)(w).pipe(Er(),Fi())}(c,s,d).pipe((0,Et.zg)(y=>y?this.configLoader.loadChildren(c,s).pipe((0,wt.b)(w=>{s._loadedRoutes=w.routes,s._loadedInjector=w.injector})):function Sr(u){return ye(cn(dt,3))}())):(0,$.of)({routes:[],injector:c})}lineralizeSegments(c,s){let d=[],y=s.root;for(;;){if(d=d.concat(y.segments),0===y.numberOfChildren)return(0,$.of)(d);if(y.numberOfChildren>1||!y.children[De])return ye(new g.vHH(4e3,dt));y=y.children[De]}}applyRedirectCommands(c,s,d){return this.applyRedirectCreateUrlTree(s,this.urlSerializer.parse(s),c,d)}applyRedirectCreateUrlTree(c,s,d,y){const w=this.createSegmentGroup(c,s.root,d,y);return new oe(w,this.createQueryParams(s.queryParams,this.urlTree.queryParams),s.fragment)}createQueryParams(c,s){const d={};return Mt(c,(y,w)=>{if("string"==typeof y&&y.startsWith(":")){const L=y.substring(1);d[w]=s[L]}else d[w]=y}),d}createSegmentGroup(c,s,d,y){const w=this.createSegments(c,s.segments,d,y);let M={};return Mt(s.children,(L,Z)=>{M[Z]=this.createSegmentGroup(c,L,d,y)}),new ee(w,M)}createSegments(c,s,d,y){return s.map(w=>w.path.startsWith(":")?this.findPosParam(c,w,y):this.findOrReturn(w,d))}findPosParam(c,s,d){const y=d[s.path.substring(1)];if(!y)throw new g.vHH(4001,dt);return y}findOrReturn(c,s){let d=0;for(const y of s){if(y.path===c.path)return s.splice(d),y;d++}return c}}class Fu{}class ta{constructor(c,s,d,y,w,M,L){this.injector=c,this.rootComponentType=s,this.config=d,this.urlTree=y,this.url=w,this.paramsInheritanceStrategy=M,this.urlSerializer=L}recognize(){const c=P(this.urlTree.root,[],[],this.config.filter(s=>void 0===s.redirectTo)).segmentGroup;return this.processSegmentGroup(this.injector,this.config,c,De).pipe((0,Me.U)(s=>{if(null===s)return null;const d=new Xr([],Object.freeze({}),Object.freeze({...this.urlTree.queryParams}),this.urlTree.fragment,{},De,this.rootComponentType,null,this.urlTree.root,-1,{}),y=new vr(d,s),w=new ri(this.url,y);return this.inheritParamsAndData(w._root),w}))}inheritParamsAndData(c){const s=c.value,d=ni(s,this.paramsInheritanceStrategy);s.params=Object.freeze(d.params),s.data=Object.freeze(d.data),c.children.forEach(y=>this.inheritParamsAndData(y))}processSegmentGroup(c,s,d,y){return 0===d.segments.length&&d.hasChildren()?this.processChildren(c,s,d):this.processSegment(c,s,d,d.segments,y)}processChildren(c,s,d){return(0,A.D)(Object.keys(d.children)).pipe((0,Bn.b)(y=>{const w=d.children[y],M=Ge(s,y);return this.processSegmentGroup(c,M,w,y)}),Xn((y,w)=>y&&w?(y.push(...w),y):null),function yt(u,c=!1){return s=>s.lift(new Ie(u,c))}(y=>null!==y),rt(null),er(),(0,Me.U)(y=>{if(null===y)return null;const w=ms(y);return function na(u){u.sort((c,s)=>c.value.outlet===De?-1:s.value.outlet===De?1:c.value.outlet.localeCompare(s.value.outlet))}(w),w}))}processSegment(c,s,d,y,w){return(0,A.D)(s).pipe((0,Bn.b)(M=>this.processSegmentAgainstRoute(M._injector??c,M,d,y,w)),st(M=>!!M),(0,pt.K)(M=>{if(Po(M))return ke(d,y,w)?(0,$.of)([]):(0,$.of)(null);throw M}))}processSegmentAgainstRoute(c,s,d,y,w){if(s.redirectTo||!qe(s,d,y,w))return(0,$.of)(null);let M;if("**"===s.path){const L=y.length>0?Do(y).parameters:{},Z=ui(d)+y.length,ve=new Xr(y,L,Object.freeze({...this.urlTree.queryParams}),this.urlTree.fragment,ci(s),Y(s),s.component??s._loadedComponent??null,s,oa(d),Z,Za(s));M=(0,$.of)({snapshot:ve,consumedSegments:[],remainingSegments:[]})}else M=h(d,s,y,c).pipe((0,Me.U)(({matched:L,consumedSegments:Z,remainingSegments:ve,parameters:be})=>{if(!L)return null;const Je=ui(d)+Z.length;return{snapshot:new Xr(Z,be,Object.freeze({...this.urlTree.queryParams}),this.urlTree.fragment,ci(s),Y(s),s.component??s._loadedComponent??null,s,oa(d),Je,Za(s)),consumedSegments:Z,remainingSegments:ve}}));return M.pipe((0,Ue.w)(L=>{if(null===L)return(0,$.of)(null);const{snapshot:Z,consumedSegments:ve,remainingSegments:be}=L;c=s._injector??c;const Je=s._loadedInjector??c,Be=function ai(u){return u.children?u.children:u.loadChildren?u._loadedRoutes:[]}(s),{segmentGroup:Ar,slicedSegments:uo}=P(d,ve,be,Be.filter(Yn=>void 0===Yn.redirectTo));if(0===uo.length&&Ar.hasChildren())return this.processChildren(Je,Be,Ar).pipe((0,Me.U)(Yn=>null===Yn?null:[new vr(Z,Yn)]));if(0===Be.length&&0===uo.length)return(0,$.of)([new vr(Z,[])]);const co=Y(s)===w;return this.processSegment(Je,Be,Ar,uo,co?De:w).pipe((0,Me.U)(Yn=>null===Yn?null:[new vr(Z,Yn)]))}))}}function ra(u){const c=u.value.routeConfig;return c&&""===c.path&&void 0===c.redirectTo}function ms(u){const c=[],s=new Set;for(const d of u){if(!ra(d)){c.push(d);continue}const y=c.find(w=>d.value.routeConfig===w.value.routeConfig);void 0!==y?(y.children.push(...d.children),s.add(y)):c.push(d)}for(const d of s){const y=ms(d.children);c.push(new vr(d.value,y))}return c.filter(d=>!s.has(d))}function oa(u){let c=u;for(;c._sourceSegment;)c=c._sourceSegment;return c}function ui(u){let c=u,s=c._segmentIndexShift??0;for(;c._sourceSegment;)c=c._sourceSegment,s+=c._segmentIndexShift??0;return s-1}function ci(u){return u.data||{}}function Za(u){return u.resolve||{}}function Bi(u){return"string"==typeof u.title||null===u.title}function ft(u){return(0,Ue.w)(c=>{const s=u(c);return s?(0,A.D)(s).pipe((0,Me.U)(()=>c)):(0,$.of)(c)})}const Oo=new g.OlP("ROUTES");let $i=(()=>{class u{constructor(s,d){this.injector=s,this.compiler=d,this.componentLoaders=new WeakMap,this.childrenLoaders=new WeakMap}loadComponent(s){if(this.componentLoaders.get(s))return this.componentLoaders.get(s);if(s._loadedComponent)return(0,$.of)(s._loadedComponent);this.onLoadStartListener&&this.onLoadStartListener(s);const d=Sn(s.loadComponent()).pipe((0,Me.U)(so),(0,wt.b)(w=>{this.onLoadEndListener&&this.onLoadEndListener(s),s._loadedComponent=w}),Ht(()=>{this.componentLoaders.delete(s)})),y=new nt.c(d,()=>new Ce.xQ).pipe((0,vo.x)());return this.componentLoaders.set(s,y),y}loadChildren(s,d){if(this.childrenLoaders.get(d))return this.childrenLoaders.get(d);if(d._loadedRoutes)return(0,$.of)({routes:d._loadedRoutes,injector:d._loadedInjector});this.onLoadStartListener&&this.onLoadStartListener(d);const w=this.loadModuleFactoryOrRoutes(d.loadChildren).pipe((0,Me.U)(L=>{this.onLoadEndListener&&this.onLoadEndListener(d);let Z,ve,be=!1;Array.isArray(L)?ve=L:(Z=L.create(s).injector,ve=wn(Z.get(Oo,[],g.XFs.Self|g.XFs.Optional)));return{routes:ve.map(Ri),injector:Z}}),Ht(()=>{this.childrenLoaders.delete(d)})),M=new nt.c(w,()=>new Ce.xQ).pipe((0,vo.x)());return this.childrenLoaders.set(d,M),M}loadModuleFactoryOrRoutes(s){return Sn(s()).pipe((0,Me.U)(so),(0,Et.zg)(y=>y instanceof g.YKP||Array.isArray(y)?(0,$.of)(y):(0,A.D)(this.compiler.compileModuleAsync(y))))}}return u.\u0275fac=function(s){return new(s||u)(g.LFG(g.zs3),g.LFG(g.Sil))},u.\u0275prov=g.Yz7({token:u,factory:u.\u0275fac,providedIn:"root"}),u})();function so(u){return function vs(u){return u&&"object"==typeof u&&"default"in u}(u)?u.default:u}let li=(()=>{class u{constructor(){this.currentNavigation=null,this.lastSuccessfulNavigation=null,this.events=new Ce.xQ,this.configLoader=(0,g.f3M)($i),this.environmentInjector=(0,g.f3M)(g.lqb),this.urlSerializer=(0,g.f3M)(Ot),this.rootContexts=(0,g.f3M)(Lt),this.navigationId=0,this.configLoader.onLoadEndListener=y=>this.events.next(new Hs(y)),this.configLoader.onLoadStartListener=y=>this.events.next(new Bs(y))}get hasRequestedNavigation(){return 0!==this.navigationId}complete(){this.transitions?.complete()}handleNavigationRequest(s){const d=++this.navigationId;this.transitions?.next({...this.transitions.value,...s,id:d})}setupNavigations(s){return this.transitions=new re.X({id:0,targetPageId:0,currentUrlTree:s.currentUrlTree,currentRawUrl:s.currentUrlTree,extractedUrl:s.urlHandlingStrategy.extract(s.currentUrlTree),urlAfterRedirects:s.urlHandlingStrategy.extract(s.currentUrlTree),rawUrl:s.currentUrlTree,extras:{},resolve:null,reject:null,promise:Promise.resolve(!0),source:"imperative",restoredState:null,currentSnapshot:s.routerState.snapshot,targetSnapshot:null,currentRouterState:s.routerState,targetRouterState:null,guards:{canActivateChecks:[],canDeactivateChecks:[]},guardsResult:null}),this.transitions.pipe((0,Ct.h)(d=>0!==d.id),(0,Me.U)(d=>({...d,extractedUrl:s.urlHandlingStrategy.extract(d.rawUrl)})),(0,Ue.w)(d=>{let y=!1,w=!1;return(0,$.of)(d).pipe((0,wt.b)(M=>{this.currentNavigation={id:M.id,initialUrl:M.rawUrl,extractedUrl:M.extractedUrl,trigger:M.source,extras:M.extras,previousNavigation:this.lastSuccessfulNavigation?{...this.lastSuccessfulNavigation,previousNavigation:null}:null}}),(0,Ue.w)(M=>{const L=s.browserUrlTree.toString(),Z=!s.navigated||M.extractedUrl.toString()!==L||L!==s.currentUrlTree.toString();if(("reload"===s.onSameUrlNavigation||Z)&&s.urlHandlingStrategy.shouldProcessUrl(M.rawUrl))return di(M.source)&&(s.browserUrlTree=M.extractedUrl),(0,$.of)(M).pipe((0,Ue.w)(be=>{const Je=this.transitions?.getValue();return this.events.next(new Nt(be.id,this.urlSerializer.serialize(be.extractedUrl),be.source,be.restoredState)),Je!==this.transitions?.getValue()?qt:Promise.resolve(be)}),function ki(u,c,s,d){return(0,Ue.w)(y=>function Ir(u,c,s,d,y){return new Li(u,c,s,d,y).apply()}(u,c,s,y.extractedUrl,d).pipe((0,Me.U)(w=>({...y,urlAfterRedirects:w}))))}(this.environmentInjector,this.configLoader,this.urlSerializer,s.config),(0,wt.b)(be=>{this.currentNavigation={...this.currentNavigation,finalUrl:be.urlAfterRedirects},d.urlAfterRedirects=be.urlAfterRedirects}),function sa(u,c,s,d,y){return(0,Et.zg)(w=>function gs(u,c,s,d,y,w,M="emptyOnly"){return new ta(u,c,s,d,y,M,w).recognize().pipe((0,Ue.w)(L=>null===L?function Lu(u){return new J.y(c=>c.error(u))}(new Fu):(0,$.of)(L)))}(u,c,s,w.urlAfterRedirects,d.serialize(w.urlAfterRedirects),d,y).pipe((0,Me.U)(M=>({...w,targetSnapshot:M}))))}(this.environmentInjector,s.rootComponentType,s.config,this.urlSerializer,s.paramsInheritanceStrategy),(0,wt.b)(be=>{if(d.targetSnapshot=be.targetSnapshot,"eager"===s.urlUpdateStrategy){if(!be.extras.skipLocationChange){const Be=s.urlHandlingStrategy.merge(be.urlAfterRedirects,be.rawUrl);s.setBrowserUrl(Be,be)}s.browserUrlTree=be.urlAfterRedirects}const Je=new So(be.id,this.urlSerializer.serialize(be.extractedUrl),this.urlSerializer.serialize(be.urlAfterRedirects),be.targetSnapshot);this.events.next(Je)}));if(Z&&s.rawUrlTree&&s.urlHandlingStrategy.shouldProcessUrl(s.rawUrlTree)){const{id:Je,extractedUrl:Be,source:Ar,restoredState:uo,extras:co}=M,Yn=new Nt(Je,this.urlSerializer.serialize(Be),Ar,uo);this.events.next(Yn);const iu=kn(Be,s.rootComponentType).snapshot;return d={...M,targetSnapshot:iu,urlAfterRedirects:Be,extras:{...co,skipLocationChange:!1,replaceUrl:!1}},(0,$.of)(d)}return s.rawUrlTree=M.rawUrl,M.resolve(null),qt}),(0,wt.b)(M=>{const L=new Tn(M.id,this.urlSerializer.serialize(M.extractedUrl),this.urlSerializer.serialize(M.urlAfterRedirects),M.targetSnapshot);this.events.next(L)}),(0,Me.U)(M=>d={...M,guards:zn(M.targetSnapshot,M.currentSnapshot,this.rootContexts)}),function cs(u,c){return(0,Et.zg)(s=>{const{targetSnapshot:d,currentSnapshot:y,guards:{canActivateChecks:w,canDeactivateChecks:M}}=s;return 0===M.length&&0===w.length?(0,$.of)({...s,guardsResult:!0}):function si(u,c,s,d){return(0,A.D)(u).pipe((0,Et.zg)(y=>function Ni(u,c,s,d,y){const w=c&&c.routeConfig?c.routeConfig.canDeactivate:null;if(!w||0===w.length)return(0,$.of)(!0);const M=w.map(L=>{const Z=ro(c)??y,ve=Gn(L,Z);return Sn(function us(u){return u&&ln(u.canDeactivate)}(ve)?ve.canDeactivate(u,c,s,d):Z.runInContext(()=>ve(u,c,s,d))).pipe(st())});return(0,$.of)(M).pipe(Er())}(y.component,y.route,s,c,d)),st(y=>!0!==y,!0))}(M,d,y,u).pipe((0,Et.zg)(L=>L&&function as(u){return"boolean"==typeof u}(L)?function Oi(u,c,s,d){return(0,A.D)(c).pipe((0,Bn.b)(y=>hn(function ds(u,c){return null!==u&&c&&c(new ts(u)),(0,$.of)(!0)}(y.route.parent,d),function ls(u,c){return null!==u&&c&&c(new Vs(u)),(0,$.of)(!0)}(y.route,d),function hs(u,c,s){const d=c[c.length-1],w=c.slice(0,c.length-1).reverse().map(M=>function Ro(u){const c=u.routeConfig?u.routeConfig.canActivateChild:null;return c&&0!==c.length?{node:u,guards:c}:null}(M)).filter(M=>null!==M).map(M=>_t(()=>{const L=M.guards.map(Z=>{const ve=ro(M.node)??s,be=Gn(Z,ve);return Sn(function Js(u){return u&&ln(u.canActivateChild)}(be)?be.canActivateChild(d,u):ve.runInContext(()=>be(d,u))).pipe(st())});return(0,$.of)(L).pipe(Er())}));return(0,$.of)(w).pipe(Er())}(u,y.path,s),function fs(u,c,s){const d=c.routeConfig?c.routeConfig.canActivate:null;if(!d||0===d.length)return(0,$.of)(!0);const y=d.map(w=>_t(()=>{const M=ro(c)??s,L=Gn(w,M);return Sn(function ir(u){return u&&ln(u.canActivate)}(L)?L.canActivate(c,u):M.runInContext(()=>L(c,u))).pipe(st())}));return(0,$.of)(y).pipe(Er())}(u,y.route,s))),st(y=>!0!==y,!0))}(d,w,u,c):(0,$.of)(L)),(0,Me.U)(L=>({...s,guardsResult:L})))})}(this.environmentInjector,M=>this.events.next(M)),(0,wt.b)(M=>{if(d.guardsResult=M.guardsResult,bt(M.guardsResult))throw to(0,M.guardsResult);const L=new ti(M.id,this.urlSerializer.serialize(M.extractedUrl),this.urlSerializer.serialize(M.urlAfterRedirects),M.targetSnapshot,!!M.guardsResult);this.events.next(L)}),(0,Ct.h)(M=>!!M.guardsResult||(s.restoreHistory(M),this.cancelNavigationTransition(M,"",3,s),!1)),ft(M=>{if(M.guards.canActivateChecks.length)return(0,$.of)(M).pipe((0,wt.b)(L=>{const Z=new wi(L.id,this.urlSerializer.serialize(L.extractedUrl),this.urlSerializer.serialize(L.urlAfterRedirects),L.targetSnapshot);this.events.next(Z)}),(0,Ue.w)(L=>{let Z=!1;return(0,$.of)(L).pipe(function aa(u,c){return(0,Et.zg)(s=>{const{targetSnapshot:d,guards:{canActivateChecks:y}}=s;if(!y.length)return(0,$.of)(s);let w=0;return(0,A.D)(y).pipe((0,Bn.b)(M=>function qa(u,c,s,d){const y=u.routeConfig,w=u._resolve;return void 0!==y?.title&&!Bi(y)&&(w[Tt]=y.title),function sr(u,c,s,d){const y=function Qa(u){return[...Object.keys(u),...Object.getOwnPropertySymbols(u)]}(u);if(0===y.length)return(0,$.of)({});const w={};return(0,A.D)(y).pipe((0,Et.zg)(M=>function Ui(u,c,s,d){const y=ro(c)??d,w=Gn(u,y);return Sn(w.resolve?w.resolve(c,s):y.runInContext(()=>w(c,s)))}(u[M],c,s,d).pipe(st(),(0,wt.b)(L=>{w[M]=L}))),nn(1),function tr(u){return c=>c.lift(new xn(u))}(w),(0,pt.K)(M=>Po(M)?qt:ye(M)))}(w,u,c,d).pipe((0,Me.U)(M=>(u._resolvedData=M,u.data=ni(u,s).resolve,y&&Bi(y)&&(u.data[Tt]=y.title),null)))}(M.route,d,u,c)),(0,wt.b)(()=>w++),nn(1),(0,Et.zg)(M=>w===y.length?(0,$.of)(s):qt))})}(s.paramsInheritanceStrategy,this.environmentInjector),(0,wt.b)({next:()=>Z=!0,complete:()=>{Z||(s.restoreHistory(L),this.cancelNavigationTransition(L,"",2,s))}}))}),(0,wt.b)(L=>{const Z=new es(L.id,this.urlSerializer.serialize(L.extractedUrl),this.urlSerializer.serialize(L.urlAfterRedirects),L.targetSnapshot);this.events.next(Z)}))}),ft(M=>{const L=Z=>{const ve=[];Z.routeConfig?.loadComponent&&!Z.routeConfig._loadedComponent&&ve.push(this.configLoader.loadComponent(Z.routeConfig).pipe((0,wt.b)(be=>{Z.component=be}),(0,Me.U)(()=>{})));for(const be of Z.children)ve.push(...L(be));return ve};return Se(L(M.targetSnapshot.root)).pipe(rt(),We(1))}),ft(()=>s.afterPreactivation()),(0,Me.U)(M=>{const L=function Cn(u,c,s){const d=Hr(u,c._root,s?s._root:void 0);return new Ys(d,c)}(s.routeReuseStrategy,M.targetSnapshot,M.currentRouterState);return d={...M,targetRouterState:L}}),(0,wt.b)(M=>{s.currentUrlTree=M.urlAfterRedirects,s.rawUrlTree=s.urlHandlingStrategy.merge(M.urlAfterRedirects,M.rawUrl),s.routerState=M.targetRouterState,"deferred"===s.urlUpdateStrategy&&(M.extras.skipLocationChange||s.setBrowserUrl(s.rawUrlTree,M),s.browserUrlTree=M.urlAfterRedirects)}),((u,c,s)=>(0,Me.U)(d=>(new Ut(c,d.targetRouterState,d.currentRouterState,s).activate(u),d)))(this.rootContexts,s.routeReuseStrategy,M=>this.events.next(M)),(0,wt.b)({next:M=>{y=!0,this.lastSuccessfulNavigation=this.currentNavigation,s.navigated=!0,this.events.next(new Ft(M.id,this.urlSerializer.serialize(M.extractedUrl),this.urlSerializer.serialize(s.currentUrlTree))),s.titleStrategy?.updateTitle(M.targetRouterState.snapshot),M.resolve(!0)},complete:()=>{y=!0}}),Ht(()=>{y||w||this.cancelNavigationTransition(d,"",1,s),this.currentNavigation?.id===d.id&&(this.currentNavigation=null)}),(0,pt.K)(M=>{if(w=!0,oi(M)){Mi(M)||(s.navigated=!0,s.restoreHistory(d,!0));const L=new yr(d.id,this.urlSerializer.serialize(d.extractedUrl),M.message,M.cancellationCode);if(this.events.next(L),Mi(M)){const Z=s.urlHandlingStrategy.merge(M.url,s.rawUrlTree),ve={skipLocationChange:d.extras.skipLocationChange,replaceUrl:"eager"===s.urlUpdateStrategy||di(d.source)};s.scheduleNavigation(Z,"imperative",null,ve,{resolve:d.resolve,reject:d.reject,promise:d.promise})}else d.resolve(!1)}else{s.restoreHistory(d,!0);const L=new or(d.id,this.urlSerializer.serialize(d.extractedUrl),M,d.targetSnapshot??void 0);this.events.next(L);try{d.resolve(s.errorHandler(M))}catch(Z){d.reject(Z)}}return qt}))}))}cancelNavigationTransition(s,d,y,w){const M=new yr(s.id,this.urlSerializer.serialize(s.extractedUrl),d,y);this.events.next(M),s.resolve(!1)}}return u.\u0275fac=function(s){return new(s||u)},u.\u0275prov=g.Yz7({token:u,factory:u.\u0275fac,providedIn:"root"}),u})();function di(u){return"imperative"!==u}let Tr=(()=>{class u{buildTitle(s){let d,y=s.root;for(;void 0!==y;)d=this.getResolvedTitleForRoute(y)??d,y=y.children.find(w=>w.outlet===De);return d}getResolvedTitleForRoute(s){return s.data[Tt]}}return u.\u0275fac=function(s){return new(s||u)},u.\u0275prov=g.Yz7({token:u,factory:function(){return(0,g.f3M)(ua)},providedIn:"root"}),u})(),ua=(()=>{class u extends Tr{constructor(s){super(),this.title=s}updateTitle(s){const d=this.buildTitle(s);void 0!==d&&this.title.setTitle(d)}}return u.\u0275fac=function(s){return new(s||u)(g.LFG(ut.Dx))},u.\u0275prov=g.Yz7({token:u,factory:u.\u0275fac,providedIn:"root"}),u})(),ca=(()=>{class u{}return u.\u0275fac=function(s){return new(s||u)},u.\u0275prov=g.Yz7({token:u,factory:function(){return(0,g.f3M)(No)},providedIn:"root"}),u})();class _s{shouldDetach(c){return!1}store(c,s){}shouldAttach(c){return!1}retrieve(c){return null}shouldReuseRoute(c,s){return c.routeConfig===s.routeConfig}}let No=(()=>{class u extends _s{}return u.\u0275fac=function(){let c;return function(d){return(c||(c=g.n5z(u)))(d||u)}}(),u.\u0275prov=g.Yz7({token:u,factory:u.\u0275fac,providedIn:"root"}),u})();const fi=new g.OlP("",{providedIn:"root",factory:()=>({})});let Cs=(()=>{class u{}return u.\u0275fac=function(s){return new(s||u)},u.\u0275prov=g.Yz7({token:u,factory:function(){return(0,g.f3M)(Xa)},providedIn:"root"}),u})(),Xa=(()=>{class u{shouldProcessUrl(s){return!0}extract(s){return s}merge(s,d){return s}}return u.\u0275fac=function(s){return new(s||u)},u.\u0275prov=g.Yz7({token:u,factory:u.\u0275fac,providedIn:"root"}),u})();function Es(u){throw u}function Fo(u,c,s){return c.parse("/")}const hi={paths:"exact",fragment:"ignored",matrixParams:"ignored",queryParams:"exact"},Lo={paths:"subset",fragment:"ignored",matrixParams:"ignored",queryParams:"subset"};let bn=(()=>{class u{constructor(){this.disposed=!1,this.currentPageId=0,this.console=(0,g.f3M)(g.c2e),this.isNgZoneEnabled=!1,this.options=(0,g.f3M)(fi,{optional:!0})||{},this.errorHandler=this.options.errorHandler||Es,this.malformedUriErrorHandler=this.options.malformedUriErrorHandler||Fo,this.navigated=!1,this.lastSuccessfulId=-1,this.afterPreactivation=()=>(0,$.of)(void 0),this.urlHandlingStrategy=(0,g.f3M)(Cs),this.routeReuseStrategy=(0,g.f3M)(ca),this.urlCreationStrategy=(0,g.f3M)(Ws),this.titleStrategy=(0,g.f3M)(Tr),this.onSameUrlNavigation=this.options.onSameUrlNavigation||"ignore",this.paramsInheritanceStrategy=this.options.paramsInheritanceStrategy||"emptyOnly",this.urlUpdateStrategy=this.options.urlUpdateStrategy||"deferred",this.canceledNavigationResolution=this.options.canceledNavigationResolution||"replace",this.config=wn((0,g.f3M)(Oo,{optional:!0})??[]),this.navigationTransitions=(0,g.f3M)(li),this.urlSerializer=(0,g.f3M)(Ot),this.location=(0,g.f3M)(Bt.Ye),this.rootComponentType=null,this.isNgZoneEnabled=(0,g.f3M)(g.R0b)instanceof g.R0b&&g.R0b.isInAngularZone(),this.resetConfig(this.config),this.currentUrlTree=new oe,this.rawUrlTree=this.currentUrlTree,this.browserUrlTree=this.currentUrlTree,this.routerState=kn(this.currentUrlTree,this.rootComponentType),this.navigationTransitions.setupNavigations(this).subscribe(s=>{this.lastSuccessfulId=s.id,this.currentPageId=s.targetPageId},s=>{this.console.warn(`Unhandled Navigation Error: ${s}`)})}get navigationId(){return this.navigationTransitions.navigationId}get browserPageId(){return this.location.getState()?.\u0275routerPageId}get events(){return this.navigationTransitions.events}resetRootComponentType(s){this.rootComponentType=s,this.routerState.root.component=this.rootComponentType}initialNavigation(){this.setUpLocationChangeListener(),this.navigationTransitions.hasRequestedNavigation||this.navigateByUrl(this.location.path(!0),{replaceUrl:!0})}setUpLocationChangeListener(){this.locationSubscription||(this.locationSubscription=this.location.subscribe(s=>{const d="popstate"===s.type?"popstate":"hashchange";"popstate"===d&&setTimeout(()=>{const y={replaceUrl:!0},w=s.state?.navigationId?s.state:null;if(s.state){const L={...s.state};delete L.navigationId,delete L.\u0275routerPageId,0!==Object.keys(L).length&&(y.state=L)}const M=this.parseUrl(s.url);this.scheduleNavigation(M,d,w,y)},0)}))}get url(){return this.serializeUrl(this.currentUrlTree)}getCurrentNavigation(){return this.navigationTransitions.currentNavigation}resetConfig(s){this.config=s.map(Ri),this.navigated=!1,this.lastSuccessfulId=-1}ngOnDestroy(){this.dispose()}dispose(){this.navigationTransitions.complete(),this.locationSubscription&&(this.locationSubscription.unsubscribe(),this.locationSubscription=void 0),this.disposed=!0}createUrlTree(s,d={}){const{relativeTo:y,queryParams:w,fragment:M,queryParamsHandling:L,preserveFragment:Z}=d,ve=Z?this.currentUrlTree.fragment:M;let be=null;switch(L){case"merge":be={...this.currentUrlTree.queryParams,...w};break;case"preserve":be=this.currentUrlTree.queryParams;break;default:be=w||null}return null!==be&&(be=this.removeEmptyProps(be)),this.urlCreationStrategy.createUrlTree(y,this.routerState,this.currentUrlTree,s,be,ve??null)}navigateByUrl(s,d={skipLocationChange:!1}){const y=bt(s)?s:this.parseUrl(s),w=this.urlHandlingStrategy.merge(y,this.rawUrlTree);return this.scheduleNavigation(w,"imperative",null,d)}navigate(s,d={skipLocationChange:!1}){return function ws(u){for(let c=0;c{const w=s[y];return null!=w&&(d[y]=w),d},{})}scheduleNavigation(s,d,y,w,M){if(this.disposed)return Promise.resolve(!1);let L,Z,ve,be;return M?(L=M.resolve,Z=M.reject,ve=M.promise):ve=new Promise((Je,Be)=>{L=Je,Z=Be}),"computed"===this.canceledNavigationResolution?(0===this.currentPageId&&(y=this.location.getState()),be=y&&y.\u0275routerPageId?y.\u0275routerPageId:w.replaceUrl||w.skipLocationChange?this.browserPageId??0:(this.browserPageId??0)+1):be=0,this.navigationTransitions.handleNavigationRequest({targetPageId:be,source:d,restoredState:y,currentUrlTree:this.currentUrlTree,currentRawUrl:this.currentUrlTree,rawUrl:s,extras:w,resolve:L,reject:Z,promise:ve,currentSnapshot:this.routerState.snapshot,currentRouterState:this.routerState}),ve.catch(Je=>Promise.reject(Je))}setBrowserUrl(s,d){const y=this.urlSerializer.serialize(s),w={...d.extras.state,...this.generateNgRouterState(d.id,d.targetPageId)};this.location.isCurrentPathEqualTo(y)||d.extras.replaceUrl?this.location.replaceState(y,"",w):this.location.go(y,"",w)}restoreHistory(s,d=!1){if("computed"===this.canceledNavigationResolution){const y=this.currentPageId-s.targetPageId;"popstate"!==s.source&&"eager"!==this.urlUpdateStrategy&&this.currentUrlTree!==this.getCurrentNavigation()?.finalUrl||0===y?this.currentUrlTree===this.getCurrentNavigation()?.finalUrl&&0===y&&(this.resetState(s),this.browserUrlTree=s.currentUrlTree,this.resetUrlToCurrentUrlTree()):this.location.historyGo(y)}else"replace"===this.canceledNavigationResolution&&(d&&this.resetState(s),this.resetUrlToCurrentUrlTree())}resetState(s){this.routerState=s.currentRouterState,this.currentUrlTree=s.currentUrlTree,this.rawUrlTree=this.urlHandlingStrategy.merge(this.currentUrlTree,s.rawUrl)}resetUrlToCurrentUrlTree(){this.location.replaceState(this.urlSerializer.serialize(this.rawUrlTree),"",this.generateNgRouterState(this.lastSuccessfulId,this.currentPageId))}generateNgRouterState(s,d){return"computed"===this.canceledNavigationResolution?{navigationId:s,\u0275routerPageId:d}:{navigationId:s}}}return u.\u0275fac=function(s){return new(s||u)},u.\u0275prov=g.Yz7({token:u,factory:u.\u0275fac,providedIn:"root"}),u})(),Mr=(()=>{class u{constructor(s,d,y,w,M,L){this.router=s,this.route=d,this.tabIndexAttribute=y,this.renderer=w,this.el=M,this.locationStrategy=L,this._preserveFragment=!1,this._skipLocationChange=!1,this._replaceUrl=!1,this.href=null,this.commands=null,this.onChanges=new Ce.xQ;const Z=M.nativeElement.tagName;this.isAnchorElement="A"===Z||"AREA"===Z,this.isAnchorElement?this.subscription=s.events.subscribe(ve=>{ve instanceof Ft&&this.updateHref()}):this.setTabIndexIfNotOnNativeEl("0")}set preserveFragment(s){this._preserveFragment=(0,g.D6c)(s)}get preserveFragment(){return this._preserveFragment}set skipLocationChange(s){this._skipLocationChange=(0,g.D6c)(s)}get skipLocationChange(){return this._skipLocationChange}set replaceUrl(s){this._replaceUrl=(0,g.D6c)(s)}get replaceUrl(){return this._replaceUrl}setTabIndexIfNotOnNativeEl(s){null!=this.tabIndexAttribute||this.isAnchorElement||this.applyAttributeValue("tabindex",s)}ngOnChanges(s){this.isAnchorElement&&this.updateHref(),this.onChanges.next(this)}set routerLink(s){null!=s?(this.commands=Array.isArray(s)?s:[s],this.setTabIndexIfNotOnNativeEl("0")):(this.commands=null,this.setTabIndexIfNotOnNativeEl(null))}onClick(s,d,y,w,M){return!!(null===this.urlTree||this.isAnchorElement&&(0!==s||d||y||w||M||"string"==typeof this.target&&"_self"!=this.target))||(this.router.navigateByUrl(this.urlTree,{skipLocationChange:this.skipLocationChange,replaceUrl:this.replaceUrl,state:this.state}),!this.isAnchorElement)}ngOnDestroy(){this.subscription?.unsubscribe()}updateHref(){this.href=null!==this.urlTree&&this.locationStrategy?this.locationStrategy?.prepareExternalUrl(this.router.serializeUrl(this.urlTree)):null;const s=null===this.href?null:(0,g.P3R)(this.href,this.el.nativeElement.tagName.toLowerCase(),"href");this.applyAttributeValue("href",s)}applyAttributeValue(s,d){const y=this.renderer,w=this.el.nativeElement;null!==d?y.setAttribute(w,s,d):y.removeAttribute(w,s)}get urlTree(){return null===this.commands?null:this.router.createUrlTree(this.commands,{relativeTo:void 0!==this.relativeTo?this.relativeTo:this.route,queryParams:this.queryParams,fragment:this.fragment,queryParamsHandling:this.queryParamsHandling,preserveFragment:this.preserveFragment})}}return u.\u0275fac=function(s){return new(s||u)(g.Y36(bn),g.Y36(Vn),g.$8M("tabindex"),g.Y36(g.Qsj),g.Y36(g.SBq),g.Y36(Bt.S$))},u.\u0275dir=g.lG2({type:u,selectors:[["","routerLink",""]],hostVars:1,hostBindings:function(s,d){1&s&&g.NdJ("click",function(w){return d.onClick(w.button,w.ctrlKey,w.shiftKey,w.altKey,w.metaKey)}),2&s&&g.uIk("target",d.target)},inputs:{target:"target",queryParams:"queryParams",fragment:"fragment",queryParamsHandling:"queryParamsHandling",state:"state",relativeTo:"relativeTo",preserveFragment:"preserveFragment",skipLocationChange:"skipLocationChange",replaceUrl:"replaceUrl",routerLink:"routerLink"},standalone:!0,features:[g.TTD]}),u})();class gt{}let ju=(()=>{class u{constructor(s,d,y,w,M){this.router=s,this.injector=y,this.preloadingStrategy=w,this.loader=M}setUpPreloading(){this.subscription=this.router.events.pipe((0,Ct.h)(s=>s instanceof Ft),(0,Bn.b)(()=>this.preload())).subscribe(()=>{})}preload(){return this.processRoutes(this.injector,this.router.config)}ngOnDestroy(){this.subscription&&this.subscription.unsubscribe()}processRoutes(s,d){const y=[];for(const w of d){w.providers&&!w._injector&&(w._injector=(0,g.MMx)(w.providers,s,`Route: ${w.path}`));const M=w._injector??s,L=w._loadedInjector??M;w.loadChildren&&!w._loadedRoutes&&void 0===w.canLoad||w.loadComponent&&!w._loadedComponent?y.push(this.preloadConfig(M,w)):(w.children||w._loadedRoutes)&&y.push(this.processRoutes(L,w.children??w._loadedRoutes))}return(0,A.D)(y).pipe((0,le.J)())}preloadConfig(s,d){return this.preloadingStrategy.preload(d,()=>{let y;y=d.loadChildren&&void 0===d.canLoad?this.loader.loadChildren(s,d):(0,$.of)(null);const w=y.pipe((0,Et.zg)(M=>null===M?(0,$.of)(void 0):(d._loadedRoutes=M.routes,d._loadedInjector=M.injector,this.processRoutes(M.injector??s,M.routes))));if(d.loadComponent&&!d._loadedComponent){const M=this.loader.loadComponent(d);return(0,A.D)([w,M]).pipe((0,le.J)())}return w})}}return u.\u0275fac=function(s){return new(s||u)(g.LFG(bn),g.LFG(g.Sil),g.LFG(g.lqb),g.LFG(gt),g.LFG($i))},u.\u0275prov=g.Yz7({token:u,factory:u.\u0275fac,providedIn:"root"}),u})();const la=new g.OlP("");let da=(()=>{class u{constructor(s,d,y,w,M={}){this.urlSerializer=s,this.transitions=d,this.viewportScroller=y,this.zone=w,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.transitions.events.subscribe(s=>{s instanceof Nt?(this.store[this.lastId]=this.viewportScroller.getScrollPosition(),this.lastSource=s.navigationTrigger,this.restoredId=s.restoredState?s.restoredState.navigationId:0):s instanceof Ft&&(this.lastId=s.id,this.scheduleScrollEvent(s,this.urlSerializer.parse(s.urlAfterRedirects).fragment))})}consumeScrollEvents(){return this.transitions.events.subscribe(s=>{s instanceof ns&&(s.position?"top"===this.options.scrollPositionRestoration?this.viewportScroller.scrollToPosition([0,0]):"enabled"===this.options.scrollPositionRestoration&&this.viewportScroller.scrollToPosition(s.position):s.anchor&&"enabled"===this.options.anchorScrolling?this.viewportScroller.scrollToAnchor(s.anchor):"disabled"!==this.options.scrollPositionRestoration&&this.viewportScroller.scrollToPosition([0,0]))})}scheduleScrollEvent(s,d){this.zone.runOutsideAngular(()=>{setTimeout(()=>{this.zone.run(()=>{this.transitions.events.next(new ns(s,"popstate"===this.lastSource?this.store[this.restoredId]:null,d))})},0)})}ngOnDestroy(){this.routerEventsSubscription?.unsubscribe(),this.scrollEventsSubscription?.unsubscribe()}}return u.\u0275fac=function(s){g.$Z()},u.\u0275prov=g.Yz7({token:u,factory:u.\u0275fac}),u})();function gi(u,c){return{\u0275kind:u,\u0275providers:c}}function Gi(){const u=(0,g.f3M)(g.zs3);return c=>{const s=u.get(g.z2F);if(c!==s.components[0])return;const d=u.get(bn),y=u.get(Mn);1===u.get(Wn)&&d.initialNavigation(),u.get(pa,null,g.XFs.Optional)?.setUpPreloading(),u.get(la,null,g.XFs.Optional)?.init(),d.resetRootComponentType(s.componentTypes[0]),y.closed||(y.next(),y.unsubscribe())}}const Mn=new g.OlP("",{factory:()=>new Ce.xQ}),Wn=new g.OlP("",{providedIn:"root",factory:()=>1});const pa=new g.OlP("");function tu(u){return gi(0,[{provide:pa,useExisting:ju},{provide:gt,useExisting:u}])}const Wi=new g.OlP("ROUTER_FORROOT_GUARD"),Bo=[Bt.Ye,{provide:Ot,useClass:Ke},bn,Lt,{provide:Vn,useFactory:function ko(u){return u.routerState.root},deps:[bn]},$i,[]];function Uu(){return new g.PXZ("Router",bn)}let ga=(()=>{class u{constructor(s){}static forRoot(s,d){return{ngModule:u,providers:[Bo,[],{provide:Oo,multi:!0,useValue:s},{provide:Wi,useFactory:ou,deps:[[bn,new g.FiY,new g.tp0]]},{provide:fi,useValue:d||{}},d?.useHash?{provide:Bt.S$,useClass:Bt.Do}:{provide:Bt.S$,useClass:Bt.b0},{provide:la,useFactory:()=>{const u=(0,g.f3M)(Bt.EM),c=(0,g.f3M)(g.R0b),s=(0,g.f3M)(fi),d=(0,g.f3M)(li),y=(0,g.f3M)(Ot);return s.scrollOffset&&u.setOffset(s.scrollOffset),new da(y,d,u,c,s)}},d?.preloadingStrategy?tu(d.preloadingStrategy).\u0275providers:[],{provide:g.PXZ,multi:!0,useFactory:Uu},d?.initialNavigation?ya(d):[],[{provide:Ss,useFactory:Gi},{provide:g.tb,multi:!0,useExisting:Ss}]]}}static forChild(s){return{ngModule:u,providers:[{provide:Oo,multi:!0,useValue:s}]}}}return u.\u0275fac=function(s){return new(s||u)(g.LFG(Wi,8))},u.\u0275mod=g.oAB({type:u}),u.\u0275inj=g.cJS({imports:[Ao]}),u})();function ou(u){return"guarded"}function ya(u){return["disabled"===u.initialNavigation?gi(3,[{provide:g.ip1,multi:!0,useFactory:()=>{const c=(0,g.f3M)(bn);return()=>{c.setUpLocationChangeListener()}}},{provide:Wn,useValue:2}]).\u0275providers:[],"enabledBlocking"===u.initialNavigation?gi(2,[{provide:Wn,useValue:0},{provide:g.ip1,multi:!0,deps:[g.zs3],useFactory:c=>{const s=c.get(Bt.V_,Promise.resolve());return()=>s.then(()=>new Promise(y=>{const w=c.get(bn),M=c.get(Mn);(function d(y){c.get(bn).events.pipe((0,Ct.h)(M=>M instanceof Ft||M instanceof yr||M instanceof or),(0,Me.U)(M=>M instanceof Ft||M instanceof yr&&(0===M.code||1===M.code)&&null),(0,Ct.h)(M=>null!==M),We(1)).subscribe(()=>{y()})})(()=>{y(!0)}),w.afterPreactivation=()=>(y(!0),M.closed?(0,$.of)(void 0):M),w.initialNavigation()}))}}]).\u0275providers:[]]}const Ss=new g.OlP("")}},Le=>{Le(Le.s=759)}]); \ No newline at end of file diff --git a/docs/runtime.250062a3a47db9c6.js b/docs/runtime.250062a3a47db9c6.js deleted file mode 100644 index af631d5..0000000 --- a/docs/runtime.250062a3a47db9c6.js +++ /dev/null @@ -1 +0,0 @@ -(()=>{"use strict";var e,v={},m={};function r(e){var n=m[e];if(void 0!==n)return n.exports;var t=m[e]={exports:{}};return v[e](t,t.exports,r),t.exports}r.m=v,e=[],r.O=(n,t,o,u)=>{if(!t){var a=1/0;for(i=0;i=u)&&Object.keys(r.O).every(p=>r.O[p](t[f]))?t.splice(f--,1):(s=!1,u0&&e[i-1][2]>u;i--)e[i]=e[i-1];e[i]=[t,o,u]},r.n=e=>{var n=e&&e.__esModule?()=>e.default:()=>e;return r.d(n,{a:n}),n},r.d=(e,n)=>{for(var t in n)r.o(n,t)&&!r.o(e,t)&&Object.defineProperty(e,t,{enumerable:!0,get:n[t]})},r.f={},r.e=e=>Promise.all(Object.keys(r.f).reduce((n,t)=>(r.f[t](e,n),n),[])),r.u=e=>e+"."+{651:"1f5e367df1d8a8ee",881:"26aeeb756d59fcb1",906:"dbb270d0899051f7",934:"37af3959f8937974"}[e]+".js",r.miniCssF=e=>{},r.o=(e,n)=>Object.prototype.hasOwnProperty.call(e,n),(()=>{var e={},n="nb-trans-demo:";r.l=(t,o,u,i)=>{if(e[t])e[t].push(o);else{var a,s;if(void 0!==u)for(var f=document.getElementsByTagName("script"),l=0;l{a.onerror=a.onload=null,clearTimeout(b);var g=e[t];if(delete e[t],a.parentNode&&a.parentNode.removeChild(a),g&&g.forEach(h=>h(p)),_)return _(p)},b=setTimeout(c.bind(null,void 0,{type:"timeout",target:a}),12e4);a.onerror=c.bind(null,a.onerror),a.onload=c.bind(null,a.onload),s&&document.head.appendChild(a)}}})(),r.r=e=>{typeof Symbol<"u"&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},(()=>{var e;r.tt=()=>(void 0===e&&(e={createScriptURL:n=>n},typeof trustedTypes<"u"&&trustedTypes.createPolicy&&(e=trustedTypes.createPolicy("angular#bundler",e))),e)})(),r.tu=e=>r.tt().createScriptURL(e),r.p="",(()=>{var e={666:0};r.f.j=(o,u)=>{var i=r.o(e,o)?e[o]:void 0;if(0!==i)if(i)u.push(i[2]);else if(666!=o){var a=new Promise((d,c)=>i=e[o]=[d,c]);u.push(i[2]=a);var s=r.p+r.u(o),f=new Error;r.l(s,d=>{if(r.o(e,o)&&(0!==(i=e[o])&&(e[o]=void 0),i)){var c=d&&("load"===d.type?"missing":d.type),b=d&&d.target&&d.target.src;f.message="Loading chunk "+o+" failed.\n("+c+": "+b+")",f.name="ChunkLoadError",f.type=c,f.request=b,i[1](f)}},"chunk-"+o,o)}else e[o]=0},r.O.j=o=>0===e[o];var n=(o,u)=>{var f,l,[i,a,s]=u,d=0;if(i.some(b=>0!==e[b])){for(f in a)r.o(a,f)&&(r.m[f]=a[f]);if(s)var c=s(r)}for(o&&o(u);d{"use strict";var e,v={},m={};function r(e){var n=m[e];if(void 0!==n)return n.exports;var t=m[e]={exports:{}};return v[e](t,t.exports,r),t.exports}r.m=v,e=[],r.O=(n,t,o,u)=>{if(!t){var a=1/0;for(i=0;i=u)&&Object.keys(r.O).every(b=>r.O[b](t[f]))?t.splice(f--,1):(s=!1,u0&&e[i-1][2]>u;i--)e[i]=e[i-1];e[i]=[t,o,u]},r.n=e=>{var n=e&&e.__esModule?()=>e.default:()=>e;return r.d(n,{a:n}),n},r.d=(e,n)=>{for(var t in n)r.o(n,t)&&!r.o(e,t)&&Object.defineProperty(e,t,{enumerable:!0,get:n[t]})},r.f={},r.e=e=>Promise.all(Object.keys(r.f).reduce((n,t)=>(r.f[t](e,n),n),[])),r.u=e=>e+"."+{651:"1f5e367df1d8a8ee",934:"37af3959f8937974"}[e]+".js",r.miniCssF=e=>{},r.o=(e,n)=>Object.prototype.hasOwnProperty.call(e,n),(()=>{var e={},n="nb-trans-demo:";r.l=(t,o,u,i)=>{if(e[t])e[t].push(o);else{var a,s;if(void 0!==u)for(var f=document.getElementsByTagName("script"),l=0;l{a.onerror=a.onload=null,clearTimeout(p);var g=e[t];if(delete e[t],a.parentNode&&a.parentNode.removeChild(a),g&&g.forEach(h=>h(b)),_)return _(b)},p=setTimeout(c.bind(null,void 0,{type:"timeout",target:a}),12e4);a.onerror=c.bind(null,a.onerror),a.onload=c.bind(null,a.onload),s&&document.head.appendChild(a)}}})(),r.r=e=>{typeof Symbol<"u"&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},(()=>{var e;r.tt=()=>(void 0===e&&(e={createScriptURL:n=>n},typeof trustedTypes<"u"&&trustedTypes.createPolicy&&(e=trustedTypes.createPolicy("angular#bundler",e))),e)})(),r.tu=e=>r.tt().createScriptURL(e),r.p="",(()=>{var e={666:0};r.f.j=(o,u)=>{var i=r.o(e,o)?e[o]:void 0;if(0!==i)if(i)u.push(i[2]);else if(666!=o){var a=new Promise((d,c)=>i=e[o]=[d,c]);u.push(i[2]=a);var s=r.p+r.u(o),f=new Error;r.l(s,d=>{if(r.o(e,o)&&(0!==(i=e[o])&&(e[o]=void 0),i)){var c=d&&("load"===d.type?"missing":d.type),p=d&&d.target&&d.target.src;f.message="Loading chunk "+o+" failed.\n("+c+": "+p+")",f.name="ChunkLoadError",f.type=c,f.request=p,i[1](f)}},"chunk-"+o,o)}else e[o]=0},r.O.j=o=>0===e[o];var n=(o,u)=>{var f,l,[i,a,s]=u,d=0;if(i.some(p=>0!==e[p])){for(f in a)r.o(a,f)&&(r.m[f]=a[f]);if(s)var c=s(r)}for(o&&o(u);d