From 2ebb9433e5fbfe27ebfa0729b274d1af74ec11c7 Mon Sep 17 00:00:00 2001 From: bigBear713 <774326739@qq.com> Date: Tue, 5 Dec 2023 19:54:44 +0800 Subject: [PATCH 1/5] chore: upgrade ng to v17 --- angular.json | 6 +++--- package.json | 30 +++++++++++++++--------------- 2 files changed, 18 insertions(+), 18 deletions(-) diff --git a/angular.json b/angular.json index 96c0423..5444907 100644 --- a/angular.json +++ b/angular.json @@ -72,10 +72,10 @@ "builder": "@angular-devkit/build-angular:dev-server", "configurations": { "production": { - "browserTarget": "nb-form-demo:build:production" + "buildTarget": "nb-form-demo:build:production" }, "development": { - "browserTarget": "nb-form-demo:build:development" + "buildTarget": "nb-form-demo:build:development" } }, "defaultConfiguration": "development" @@ -83,7 +83,7 @@ "extract-i18n": { "builder": "@angular-devkit/build-angular:extract-i18n", "options": { - "browserTarget": "nb-form-demo:build" + "buildTarget": "nb-form-demo:build" } }, "test": { diff --git a/package.json b/package.json index d74ada0..aadc1b0 100644 --- a/package.json +++ b/package.json @@ -21,26 +21,26 @@ }, "private": true, "dependencies": { - "@angular/animations": "^16.0.0", - "@angular/common": "^16.0.0", - "@angular/compiler": "^16.0.0", - "@angular/core": "^16.0.0", - "@angular/forms": "^16.0.0", - "@angular/platform-browser": "^16.0.0", - "@angular/platform-browser-dynamic": "^16.0.0", - "@angular/router": "^16.0.0", + "@angular/animations": "^17.0.5", + "@angular/common": "^17.0.5", + "@angular/compiler": "^17.0.5", + "@angular/core": "^17.0.5", + "@angular/forms": "^17.0.5", + "@angular/platform-browser": "^17.0.5", + "@angular/platform-browser-dynamic": "^17.0.5", + "@angular/router": "^17.0.5", "@bigbear713/nb-common": "^16.0.0", "@bigbear713/nb-trans": "^16.0.0", "dayjs": "^1.11.7", "lodash-es": "^4.17.21", "rxjs": "~6.6.0", "tslib": "^2.3.0", - "zone.js": "~0.13.0" + "zone.js": "~0.14.2" }, "devDependencies": { - "@angular-devkit/build-angular": "^16.0.0", - "@angular/cli": "^16.0.0", - "@angular/compiler-cli": "^16.0.0", + "@angular-devkit/build-angular": "^17.0.5", + "@angular/cli": "^17.0.5", + "@angular/compiler-cli": "^17.0.5", "@types/jasmine": "~3.8.0", "@types/lodash-es": "^4.17.5", "@types/node": "^12.11.1", @@ -50,8 +50,8 @@ "karma-coverage": "~2.0.3", "karma-jasmine": "~4.0.0", "karma-jasmine-html-reporter": "~1.7.0", - "ng-packagr": "^16.0.0", + "ng-packagr": "^17.0.2", "source-map-explorer": "^2.5.2", - "typescript": "~5.0.4" + "typescript": "~5.2.2" } -} +} \ No newline at end of file From dd58cedab316ea6ea86434595b37d6d9bfc38108 Mon Sep 17 00:00:00 2001 From: bigBear713 <774326739@qq.com> Date: Tue, 16 Jan 2024 23:07:41 +0800 Subject: [PATCH 2/5] chore: update dependencies version --- package.json | 10 +++++----- projects/nb-form/package.json | 11 ++++++----- 2 files changed, 11 insertions(+), 10 deletions(-) diff --git a/package.json b/package.json index aadc1b0..626c44a 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "nb-form-demo", - "version": "16.0.0", + "version": "17.0.0", "scripts": { "ng": "ng", "start": "ng serve", @@ -29,8 +29,8 @@ "@angular/platform-browser": "^17.0.5", "@angular/platform-browser-dynamic": "^17.0.5", "@angular/router": "^17.0.5", - "@bigbear713/nb-common": "^16.0.0", - "@bigbear713/nb-trans": "^16.0.0", + "@bigbear713/nb-common": "^17.0.0", + "@bigbear713/nb-trans": "^17.0.0", "dayjs": "^1.11.7", "lodash-es": "^4.17.21", "rxjs": "~6.6.0", @@ -43,7 +43,7 @@ "@angular/compiler-cli": "^17.0.5", "@types/jasmine": "~3.8.0", "@types/lodash-es": "^4.17.5", - "@types/node": "^12.11.1", + "@types/node": "^18.18.0", "jasmine-core": "~3.8.0", "karma": "~6.3.0", "karma-chrome-launcher": "~3.1.0", @@ -54,4 +54,4 @@ "source-map-explorer": "^2.5.2", "typescript": "~5.2.2" } -} \ No newline at end of file +} diff --git a/projects/nb-form/package.json b/projects/nb-form/package.json index ab48e6e..d5fd1fe 100644 --- a/projects/nb-form/package.json +++ b/projects/nb-form/package.json @@ -1,6 +1,6 @@ { "name": "@bigbear713/nb-form", - "version": "16.0.0", + "version": "17.0.0", "homepage": "https://github.com/bigBear713/nb-form/blob/main/projects/nb-form/README.md", "description": "Angular common form lib by bigBear713.", "keywords": [ @@ -11,6 +11,7 @@ "angular14", "angular15", "angular16", + "angular17", "form", "validators", "bigBear713" @@ -24,12 +25,12 @@ "url": "https://github.com/bigBear713/nb-form/issues" }, "peerDependencies": { - "@angular/common": "^16.0.0", - "@angular/core": "^16.0.0", - "@angular/forms": "^16.0.0" + "@angular/common": "^17.0.0", + "@angular/core": "^17.0.0", + "@angular/forms": "^17.0.0" }, "dependencies": { - "@bigbear713/nb-common": "^16.0.0", + "@bigbear713/nb-common": "^17.0.0", "lodash-es": "^4.17.21", "tslib": "^2.3.0" }, From 137d368d98d6cf3984083e26559ae33fdbf21390 Mon Sep 17 00:00:00 2001 From: bigBear713 <774326739@qq.com> Date: Tue, 16 Jan 2024 23:07:52 +0800 Subject: [PATCH 3/5] doc: update documents --- CHANGELOG.CN.md | 7 +++++++ CHANGELOG.md | 7 +++++++ README.CN.md | 1 + README.md | 1 + projects/nb-form/README.CN.md | 1 + projects/nb-form/README.md | 1 + 6 files changed, 18 insertions(+) diff --git a/CHANGELOG.CN.md b/CHANGELOG.CN.md index 11172b0..b55412f 100644 --- a/CHANGELOG.CN.md +++ b/CHANGELOG.CN.md @@ -1,3 +1,10 @@ +# v16.0.0 +## 破坏性更新 +- feat: `angular`升级到`^17.0.0`; +- feat: `@bigbear713/nb-common`升级到`^17.0.0`; + +--- + # v16.0.0 ## 破坏性更新 - feat: `angular`升级到`^16.0.0`; diff --git a/CHANGELOG.md b/CHANGELOG.md index 9d415d2..36175fd 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,3 +1,10 @@ +# v17.0.0 +## Breaking Changes +- feat: Upgrade `angular` to `^17.0.0`; +- feat: Upgrade `@bigbear713/nb-common` to `^17.0.0`; + +--- + # v16.0.0 ## Breaking Changes - feat: Upgrade `angular` to `^16.0.0`; diff --git a/README.CN.md b/README.CN.md index 92fac76..841366a 100644 --- a/README.CN.md +++ b/README.CN.md @@ -50,6 +50,7 @@ Angular common form lib by bigBear713. | ^14.0.0 | ^14.0.0 | | ^15.0.0 | ^15.0.0 | | ^16.0.0 | ^16.0.0 | +| ^17.0.0 | ^17.0.0 | --- diff --git a/README.md b/README.md index 4cfdf3c..ad84969 100644 --- a/README.md +++ b/README.md @@ -50,6 +50,7 @@ Angular common form lib by bigBear713. | ^14.0.0 | ^14.0.0 | | ^15.0.0 | ^15.0.0 | | ^16.0.0 | ^16.0.0 | +| ^17.0.0 | ^17.0.0 | --- diff --git a/projects/nb-form/README.CN.md b/projects/nb-form/README.CN.md index f60d85b..876affd 100644 --- a/projects/nb-form/README.CN.md +++ b/projects/nb-form/README.CN.md @@ -48,6 +48,7 @@ Angular common form lib by bigBear713. | ^14.0.0 | ^14.0.0 | | ^15.0.0 | ^15.0.0 | | ^16.0.0 | ^16.0.0 | +| ^17.0.0 | ^17.0.0 | <br> diff --git a/projects/nb-form/README.md b/projects/nb-form/README.md index ec657cc..d1fcb16 100644 --- a/projects/nb-form/README.md +++ b/projects/nb-form/README.md @@ -48,6 +48,7 @@ Angular common form lib by bigBear713. | ^14.0.0 | ^14.0.0 | | ^15.0.0 | ^15.0.0 | | ^16.0.0 | ^16.0.0 | +| ^17.0.0 | ^17.0.0 | <br> From 791fdf5ffbe8db3e9bb5d2ed26bea359f60c4ddb Mon Sep 17 00:00:00 2001 From: bigBear713 <774326739@qq.com> Date: Mon, 22 Jan 2024 08:50:08 +0800 Subject: [PATCH 4/5] doc: update changelog doc --- CHANGELOG.CN.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/CHANGELOG.CN.md b/CHANGELOG.CN.md index b55412f..c4631eb 100644 --- a/CHANGELOG.CN.md +++ b/CHANGELOG.CN.md @@ -1,4 +1,4 @@ -# v16.0.0 +# v17.0.0 ## 破坏性更新 - feat: `angular`升级到`^17.0.0`; - feat: `@bigbear713/nb-common`升级到`^17.0.0`; @@ -95,4 +95,4 @@ - feat: [INbControlErrInfo](https://github.com/bigBear713/nb-form/blob/main/projects/nb-form/README.CN.md#inbformconfigs) - 控件错误信息 ## [Enums](https://github.com/bigBear713/nb-form/blob/main/projects/nb-form/README.CN.md#Enums "Enums") -- feat: [NbControlErrType](https://github.com/bigBear713/nb-form/blob/main/projects/nb-form/README.CN.md#nbcontrolerrtype) - 常用表单错误枚举 \ No newline at end of file +- feat: [NbControlErrType](https://github.com/bigBear713/nb-form/blob/main/projects/nb-form/README.CN.md#nbcontrolerrtype) - 常用表单错误枚举 From d7d331132a132bcabbea98d73791160488892648 Mon Sep 17 00:00:00 2001 From: bigBear713 <774326739@qq.com> Date: Wed, 24 Jan 2024 13:25:26 +0800 Subject: [PATCH 5/5] chore: update deploy files --- docs/249.d275b82b7ed83afa.js | 1 - docs/3rdpartylicenses.txt | 2 +- docs/403.6e1dc614f820d04b.js | 1 + docs/404.html | 11 +++++++---- docs/index.html | 11 +++++++---- docs/main.6e677eb02931830e.js | 1 + docs/main.79b64d36d8cc245e.js | 1 - docs/polyfills.aa4c97512125549f.js | 1 + docs/polyfills.ce94525ff22a9194.js | 1 - ...cd40b0b2425fe70.js => runtime.9ad0796bc9a3e999.js} | 2 +- 10 files changed, 19 insertions(+), 13 deletions(-) delete mode 100644 docs/249.d275b82b7ed83afa.js create mode 100644 docs/403.6e1dc614f820d04b.js create mode 100644 docs/main.6e677eb02931830e.js delete mode 100644 docs/main.79b64d36d8cc245e.js create mode 100644 docs/polyfills.aa4c97512125549f.js delete mode 100644 docs/polyfills.ce94525ff22a9194.js rename docs/{runtime.3cd40b0b2425fe70.js => runtime.9ad0796bc9a3e999.js} (72%) diff --git a/docs/249.d275b82b7ed83afa.js b/docs/249.d275b82b7ed83afa.js deleted file mode 100644 index 39e30d7..0000000 --- a/docs/249.d275b82b7ed83afa.js +++ /dev/null @@ -1 +0,0 @@ -"use strict";(self.webpackChunknb_form_demo=self.webpackChunknb_form_demo||[]).push([[249],{1249:(d,a,r)=>{r.r(a),r.d(a,{Feature1Component:()=>u,routes:()=>c});var m=r(4755),i=r(1199),s=r(8487),l=r(861),e=r(666);function _(n,f){if(1&n){const t=e.EpF();e.TgZ(0,"form",1)(1,"nb-field-item",2)(2,"span",3),e._uU(3),e.ALo(4,"nbTrans"),e.qZA(),e.TgZ(5,"input",4),e.NdJ("change",function(p){e.CHM(t);const g=e.oxw();return e.KtG(g.onChangeFile(p))}),e.qZA()()()}if(2&n){const t=e.oxw();e.Q6J("formGroup",t.form),e.xp6(1),e.Q6J("control",t.field1Ctrl)("errInfo",t.errInfo2),e.xp6(2),e.hij("",e.lcZ(4,4,"demoContent.field1"),"\uff1a")}}let u=(()=>{class n{get field1Ctrl(){return this.form?.get("field1")}constructor(t,o){this.fb=t,this.formService=o,this.errInfo2={[l.ti.FILE_MAX_SIZE]:"The file max size is 500kb!"},this.buildForm()}ngOnInit(){}onChangeFile(t){const o=t.target;o&&o.files?.length&&(this.field1Ctrl.markAsDirty(),this.field1Ctrl.setValue(o.files[0]))}buildForm(){this.form=this.fb.group({field1:[null,this.formService.getValidatorsFromControlConfig({fileType:["image/svg+xml","image/jpeg"],maxFileSize:5e5,minFileSize:1e5})]})}}return n.\u0275fac=function(t){return new(t||n)(e.Y36(i.QS),e.Y36(l.LR))},n.\u0275cmp=e.Xpm({type:n,selectors:[["app-feature1"]],standalone:!0,features:[e.jDz],decls:3,vars:1,consts:[[3,"formGroup",4,"ngIf"],[3,"formGroup"],[3,"control","errInfo"],["field-label",""],["type","file",3,"change"]],template:function(t,o){1&t&&(e.TgZ(0,"h4"),e._uU(1,"standalone component"),e.qZA(),e.YNc(2,_,6,6,"form",0)),2&t&&(e.xp6(2),e.Q6J("ngIf",o.form))},dependencies:[l.XI,l.XX,s.pT,s.y6,m.ez,m.O5,i.u5,i._Y,i.JL,i.UX,i.sg]}),n})();const c=[{path:"",component:u}]}}]); \ No newline at end of file diff --git a/docs/3rdpartylicenses.txt b/docs/3rdpartylicenses.txt index 2427c91..8dc8276 100644 --- a/docs/3rdpartylicenses.txt +++ b/docs/3rdpartylicenses.txt @@ -371,7 +371,7 @@ zone.js MIT The MIT License -Copyright (c) 2010-2022 Google LLC. https://angular.io/license +Copyright (c) 2010-2023 Google LLC. https://angular.io/license Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal diff --git a/docs/403.6e1dc614f820d04b.js b/docs/403.6e1dc614f820d04b.js new file mode 100644 index 0000000..0a89339 --- /dev/null +++ b/docs/403.6e1dc614f820d04b.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunknb_form_demo=self.webpackChunknb_form_demo||[]).push([[403],{9403:(g,s,o)=>{o.r(s),o.d(s,{Feature1Component:()=>_,routes:()=>c});var a=o(6814),i=o(285),m=o(6516),l=o(3174),e=o(5088);function u(r,h){if(1&r){const t=e.EpF();e.TgZ(0,"form",1)(1,"nb-field-item",2)(2,"span",3),e._uU(3),e.ALo(4,"nbTrans"),e.qZA(),e.TgZ(5,"input",4),e.NdJ("change",function(f){e.CHM(t);const p=e.oxw();return e.KtG(p.onChangeFile(f))}),e.qZA()()()}if(2&r){const t=e.oxw();e.Q6J("formGroup",t.form),e.xp6(1),e.Q6J("control",t.field1Ctrl)("errInfo",t.errInfo2),e.xp6(2),e.hij("",e.lcZ(4,4,"demoContent.field1"),"\uff1a")}}let _=(()=>{class r{get field1Ctrl(){return this.form?.get("field1")}constructor(t,n){this.fb=t,this.formService=n,this.errInfo2={[l.ti.FILE_MAX_SIZE]:"The file max size is 500kb!"},this.buildForm()}ngOnInit(){}onChangeFile(t){const n=t.target;n&&n.files?.length&&(this.field1Ctrl.markAsDirty(),this.field1Ctrl.setValue(n.files[0]))}buildForm(){this.form=this.fb.group({field1:[null,this.formService.getValidatorsFromControlConfig({fileType:["image/svg+xml","image/jpeg"],maxFileSize:5e5,minFileSize:1e5})]})}static#e=this.\u0275fac=function(n){return new(n||r)(e.Y36(i.QS),e.Y36(l.LR))};static#t=this.\u0275cmp=e.Xpm({type:r,selectors:[["app-feature1"]],standalone:!0,features:[e.jDz],decls:3,vars:1,consts:[[3,"formGroup",4,"ngIf"],[3,"formGroup"],[3,"control","errInfo"],["field-label",""],["type","file",3,"change"]],template:function(n,f){1&n&&(e.TgZ(0,"h4"),e._uU(1,"standalone component"),e.qZA(),e.YNc(2,u,6,6,"form",0)),2&n&&(e.xp6(2),e.Q6J("ngIf",f.form))},dependencies:[l.XI,l.XX,m.pT,m.y6,a.ez,a.O5,i.u5,i._Y,i.JL,i.UX,i.sg]})}return r})();const c=[{path:"",component:_}]}}]); \ No newline at end of file diff --git a/docs/404.html b/docs/404.html index 45189be..63f030e 100644 --- a/docs/404.html +++ b/docs/404.html @@ -1,11 +1,14 @@ -<!DOCTYPE html><html><head> +<!doctype html> +<html data-critters-container> + +<head> <meta charset="utf-8"> <title>NbForm</title> <base href="/nb-form/"> <meta name="viewport" content="width=device-width, initial-scale=1"> <link rel="icon" type="image/x-icon" href="favicon.ico"> <!-- Google tag (gtag.js) --> - <script async="" src="https://www.googletagmanager.com/gtag/js?id=G-2C00ZKDNJZ"></script> + <script async src="https://www.googletagmanager.com/gtag/js?id=G-2C00ZKDNJZ"></script> <script> window.website_ga_id = 'G-2C00ZKDNJZ'; window.libs_ga_id = 'G-V3SHZ9LQWZ'; @@ -20,6 +23,6 @@ <body> <app-root></app-root> -<script src="runtime.3cd40b0b2425fe70.js" type="module"></script><script src="polyfills.ce94525ff22a9194.js" type="module"></script><script src="main.79b64d36d8cc245e.js" type="module"></script> +<script src="runtime.9ad0796bc9a3e999.js" type="module"></script><script src="polyfills.aa4c97512125549f.js" type="module"></script><script src="main.6e677eb02931830e.js" type="module"></script></body> -</body></html> \ No newline at end of file +</html> \ No newline at end of file diff --git a/docs/index.html b/docs/index.html index 45189be..63f030e 100644 --- a/docs/index.html +++ b/docs/index.html @@ -1,11 +1,14 @@ -<!DOCTYPE html><html><head> +<!doctype html> +<html data-critters-container> + +<head> <meta charset="utf-8"> <title>NbForm</title> <base href="/nb-form/"> <meta name="viewport" content="width=device-width, initial-scale=1"> <link rel="icon" type="image/x-icon" href="favicon.ico"> <!-- Google tag (gtag.js) --> - <script async="" src="https://www.googletagmanager.com/gtag/js?id=G-2C00ZKDNJZ"></script> + <script async src="https://www.googletagmanager.com/gtag/js?id=G-2C00ZKDNJZ"></script> <script> window.website_ga_id = 'G-2C00ZKDNJZ'; window.libs_ga_id = 'G-V3SHZ9LQWZ'; @@ -20,6 +23,6 @@ <body> <app-root></app-root> -<script src="runtime.3cd40b0b2425fe70.js" type="module"></script><script src="polyfills.ce94525ff22a9194.js" type="module"></script><script src="main.79b64d36d8cc245e.js" type="module"></script> +<script src="runtime.9ad0796bc9a3e999.js" type="module"></script><script src="polyfills.aa4c97512125549f.js" type="module"></script><script src="main.6e677eb02931830e.js" type="module"></script></body> -</body></html> \ No newline at end of file +</html> \ No newline at end of file diff --git a/docs/main.6e677eb02931830e.js b/docs/main.6e677eb02931830e.js new file mode 100644 index 0000000..ad6d880 --- /dev/null +++ b/docs/main.6e677eb02931830e.js @@ -0,0 +1 @@ +(self.webpackChunknb_form_demo=self.webpackChunknb_form_demo||[]).push([[179],{9754:(Le,te,S)=>{"use strict";var s=S(5088),L=S(6814);class q extends L.w_{constructor(){super(...arguments),this.supportsDOMEvents=!0}}class X extends q{static makeCurrent(){(0,L.HT)(new X)}onAndCancel(c,a,d){return c.addEventListener(a,d),()=>{c.removeEventListener(a,d)}}dispatchEvent(c,a){c.dispatchEvent(a)}remove(c){c.parentNode&&c.parentNode.removeChild(c)}createElement(c,a){return(a=a||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,a){return"window"===a?window:"document"===a?c:"body"===a?c.body:null}getBaseHref(c){const a=function G(){return Y=Y||document.querySelector("base"),Y?Y.getAttribute("href"):null}();return null==a?null:function se(u){return new URL(u,"http://a").pathname}(a)}resetBaseElement(){Y=null}getUserAgent(){return window.navigator.userAgent}getCookie(c){return(0,L.Mx)(document.cookie,c)}}let Y=null,z=(()=>{class u{build(){return new XMLHttpRequest}static#e=this.\u0275fac=function(d){return new(d||u)};static#t=this.\u0275prov=s.Yz7({token:u,factory:u.\u0275fac})}return u})();const k=new s.OlP("EventManagerPlugins");let H=(()=>{class u{constructor(a,d){this._zone=d,this._eventNameToPlugin=new Map,a.forEach(g=>{g.manager=this}),this._plugins=a.slice().reverse()}addEventListener(a,d,g){return this._findPluginFor(d).addEventListener(a,d,g)}getZone(){return this._zone}_findPluginFor(a){let d=this._eventNameToPlugin.get(a);if(d)return d;if(d=this._plugins.find(D=>D.supports(a)),!d)throw new s.vHH(5101,!1);return this._eventNameToPlugin.set(a,d),d}static#e=this.\u0275fac=function(d){return new(d||u)(s.LFG(k),s.LFG(s.R0b))};static#t=this.\u0275prov=s.Yz7({token:u,factory:u.\u0275fac})}return u})();class j{constructor(c){this._doc=c}}const W="ng-app-id";let oe=(()=>{class u{constructor(a,d,g,D={}){this.doc=a,this.appId=d,this.nonce=g,this.platformId=D,this.styleRef=new Map,this.hostNodes=new Set,this.styleNodesInDOM=this.collectServerRenderedStyles(),this.platformIsServer=(0,L.PM)(D),this.resetHostNodes()}addStyles(a){for(const d of a)1===this.changeUsageCount(d,1)&&this.onStyleAdded(d)}removeStyles(a){for(const d of a)this.changeUsageCount(d,-1)<=0&&this.onStyleRemoved(d)}ngOnDestroy(){const a=this.styleNodesInDOM;a&&(a.forEach(d=>d.remove()),a.clear());for(const d of this.getAllStyles())this.onStyleRemoved(d);this.resetHostNodes()}addHost(a){this.hostNodes.add(a);for(const d of this.getAllStyles())this.addStyleToHost(a,d)}removeHost(a){this.hostNodes.delete(a)}getAllStyles(){return this.styleRef.keys()}onStyleAdded(a){for(const d of this.hostNodes)this.addStyleToHost(d,a)}onStyleRemoved(a){const d=this.styleRef;d.get(a)?.elements?.forEach(g=>g.remove()),d.delete(a)}collectServerRenderedStyles(){const a=this.doc.head?.querySelectorAll(`style[${W}="${this.appId}"]`);if(a?.length){const d=new Map;return a.forEach(g=>{null!=g.textContent&&d.set(g.textContent,g)}),d}return null}changeUsageCount(a,d){const g=this.styleRef;if(g.has(a)){const D=g.get(a);return D.usage+=d,D.usage}return g.set(a,{usage:d,elements:[]}),d}getStyleElement(a,d){const g=this.styleNodesInDOM,D=g?.get(d);if(D?.parentNode===a)return g.delete(d),D.removeAttribute(W),D;{const M=this.doc.createElement("style");return this.nonce&&M.setAttribute("nonce",this.nonce),M.textContent=d,this.platformIsServer&&M.setAttribute(W,this.appId),a.appendChild(M),M}}addStyleToHost(a,d){const g=this.getStyleElement(a,d),D=this.styleRef,M=D.get(d)?.elements;M?M.push(g):D.set(d,{elements:[g],usage:1})}resetHostNodes(){const a=this.hostNodes;a.clear(),a.add(this.doc.head)}static#e=this.\u0275fac=function(d){return new(d||u)(s.LFG(L.K0),s.LFG(s.AFp),s.LFG(s.Ojb,8),s.LFG(s.Lbi))};static#t=this.\u0275prov=s.Yz7({token:u,factory:u.\u0275fac})}return u})();const de={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/"},re=/%COMP%/g,Ze=new s.OlP("RemoveStylesOnCompDestroy",{providedIn:"root",factory:()=>!0});function Ue(u,c){return c.map(a=>a.replace(re,u))}let _t=(()=>{class u{constructor(a,d,g,D,M,F,O,ie=null){this.eventManager=a,this.sharedStylesHost=d,this.appId=g,this.removeStylesOnCompDestroy=D,this.doc=M,this.platformId=F,this.ngZone=O,this.nonce=ie,this.rendererByCompId=new Map,this.platformIsServer=(0,L.PM)(F),this.defaultRenderer=new rt(a,M,O,this.platformIsServer)}createRenderer(a,d){if(!a||!d)return this.defaultRenderer;this.platformIsServer&&d.encapsulation===s.ifc.ShadowDom&&(d={...d,encapsulation:s.ifc.Emulated});const g=this.getOrCreateRenderer(a,d);return g instanceof $e?g.applyToHost(a):g instanceof Ce&&g.applyStyles(),g}getOrCreateRenderer(a,d){const g=this.rendererByCompId;let D=g.get(d.id);if(!D){const M=this.doc,F=this.ngZone,O=this.eventManager,ie=this.sharedStylesHost,Ae=this.removeStylesOnCompDestroy,Fe=this.platformIsServer;switch(d.encapsulation){case s.ifc.Emulated:D=new $e(O,ie,d,this.appId,Ae,M,F,Fe);break;case s.ifc.ShadowDom:return new xe(O,ie,a,d,M,F,this.nonce,Fe);default:D=new Ce(O,ie,d,Ae,M,F,Fe)}g.set(d.id,D)}return D}ngOnDestroy(){this.rendererByCompId.clear()}static#e=this.\u0275fac=function(d){return new(d||u)(s.LFG(H),s.LFG(oe),s.LFG(s.AFp),s.LFG(Ze),s.LFG(L.K0),s.LFG(s.Lbi),s.LFG(s.R0b),s.LFG(s.Ojb))};static#t=this.\u0275prov=s.Yz7({token:u,factory:u.\u0275fac})}return u})();class rt{constructor(c,a,d,g){this.eventManager=c,this.doc=a,this.ngZone=d,this.platformIsServer=g,this.data=Object.create(null),this.throwOnSyntheticProps=!0,this.destroyNode=null}destroy(){}createElement(c,a){return a?this.doc.createElementNS(de[a]||a,c):this.doc.createElement(c)}createComment(c){return this.doc.createComment(c)}createText(c){return this.doc.createTextNode(c)}appendChild(c,a){(me(c)?c.content:c).appendChild(a)}insertBefore(c,a,d){c&&(me(c)?c.content:c).insertBefore(a,d)}removeChild(c,a){c&&c.removeChild(a)}selectRootElement(c,a){let d="string"==typeof c?this.doc.querySelector(c):c;if(!d)throw new s.vHH(-5104,!1);return a||(d.textContent=""),d}parentNode(c){return c.parentNode}nextSibling(c){return c.nextSibling}setAttribute(c,a,d,g){if(g){a=g+":"+a;const D=de[g];D?c.setAttributeNS(D,a,d):c.setAttribute(a,d)}else c.setAttribute(a,d)}removeAttribute(c,a,d){if(d){const g=de[d];g?c.removeAttributeNS(g,a):c.removeAttribute(`${d}:${a}`)}else c.removeAttribute(a)}addClass(c,a){c.classList.add(a)}removeClass(c,a){c.classList.remove(a)}setStyle(c,a,d,g){g&(s.JOm.DashCase|s.JOm.Important)?c.style.setProperty(a,d,g&s.JOm.Important?"important":""):c.style[a]=d}removeStyle(c,a,d){d&s.JOm.DashCase?c.style.removeProperty(a):c.style[a]=""}setProperty(c,a,d){null!=c&&(c[a]=d)}setValue(c,a){c.nodeValue=a}listen(c,a,d){if("string"==typeof c&&!(c=(0,L.q)().getGlobalEventTarget(this.doc,c)))throw new Error(`Unsupported event target ${c} for event ${a}`);return this.eventManager.addEventListener(c,a,this.decoratePreventDefault(d))}decoratePreventDefault(c){return a=>{if("__ngUnwrap__"===a)return c;!1===(this.platformIsServer?this.ngZone.runGuarded(()=>c(a)):c(a))&&a.preventDefault()}}}function me(u){return"TEMPLATE"===u.tagName&&void 0!==u.content}class xe extends rt{constructor(c,a,d,g,D,M,F,O){super(c,D,M,O),this.sharedStylesHost=a,this.hostEl=d,this.shadowRoot=d.attachShadow({mode:"open"}),this.sharedStylesHost.addHost(this.shadowRoot);const ie=Ue(g.id,g.styles);for(const Ae of ie){const Fe=document.createElement("style");F&&Fe.setAttribute("nonce",F),Fe.textContent=Ae,this.shadowRoot.appendChild(Fe)}}nodeOrShadowRoot(c){return c===this.hostEl?this.shadowRoot:c}appendChild(c,a){return super.appendChild(this.nodeOrShadowRoot(c),a)}insertBefore(c,a,d){return super.insertBefore(this.nodeOrShadowRoot(c),a,d)}removeChild(c,a){return super.removeChild(this.nodeOrShadowRoot(c),a)}parentNode(c){return this.nodeOrShadowRoot(super.parentNode(this.nodeOrShadowRoot(c)))}destroy(){this.sharedStylesHost.removeHost(this.shadowRoot)}}class Ce extends rt{constructor(c,a,d,g,D,M,F,O){super(c,D,M,F),this.sharedStylesHost=a,this.removeStylesOnCompDestroy=g,this.styles=O?Ue(O,d.styles):d.styles}applyStyles(){this.sharedStylesHost.addStyles(this.styles)}destroy(){this.removeStylesOnCompDestroy&&this.sharedStylesHost.removeStyles(this.styles)}}class $e extends Ce{constructor(c,a,d,g,D,M,F,O){const ie=g+"-"+d.id;super(c,a,d,D,M,F,O,ie),this.contentAttr=function ht(u){return"_ngcontent-%COMP%".replace(re,u)}(ie),this.hostAttr=function We(u){return"_nghost-%COMP%".replace(re,u)}(ie)}applyToHost(c){this.applyStyles(),this.setAttribute(c,this.hostAttr,"")}createElement(c,a){const d=super.createElement(c,a);return super.setAttribute(d,this.contentAttr,""),d}}let Re=(()=>{class u extends j{constructor(a){super(a)}supports(a){return!0}addEventListener(a,d,g){return a.addEventListener(d,g,!1),()=>this.removeEventListener(a,d,g)}removeEventListener(a,d,g){return a.removeEventListener(d,g)}static#e=this.\u0275fac=function(d){return new(d||u)(s.LFG(L.K0))};static#t=this.\u0275prov=s.Yz7({token:u,factory:u.\u0275fac})}return u})();const ft=["alt","control","meta","shift"],mt={"\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"},St={alt:u=>u.altKey,control:u=>u.ctrlKey,meta:u=>u.metaKey,shift:u=>u.shiftKey};let Tt=(()=>{class u extends j{constructor(a){super(a)}supports(a){return null!=u.parseEventName(a)}addEventListener(a,d,g){const D=u.parseEventName(d),M=u.eventCallback(D.fullKey,g,this.manager.getZone());return this.manager.getZone().runOutsideAngular(()=>(0,L.q)().onAndCancel(a,D.domEventName,M))}static parseEventName(a){const d=a.toLowerCase().split("."),g=d.shift();if(0===d.length||"keydown"!==g&&"keyup"!==g)return null;const D=u._normalizeKey(d.pop());let M="",F=d.indexOf("code");if(F>-1&&(d.splice(F,1),M="code."),ft.forEach(ie=>{const Ae=d.indexOf(ie);Ae>-1&&(d.splice(Ae,1),M+=ie+".")}),M+=D,0!=d.length||0===D.length)return null;const O={};return O.domEventName=g,O.fullKey=M,O}static matchEventFullKeyCode(a,d){let g=mt[a.key]||a.key,D="";return d.indexOf("code.")>-1&&(g=a.code,D="code."),!(null==g||!g)&&(g=g.toLowerCase()," "===g?g="space":"."===g&&(g="dot"),ft.forEach(M=>{M!==g&&(0,St[M])(a)&&(D+=M+".")}),D+=g,D===d)}static eventCallback(a,d,g){return D=>{u.matchEventFullKeyCode(D,a)&&g.runGuarded(()=>d(D))}}static _normalizeKey(a){return"esc"===a?"escape":a}static#e=this.\u0275fac=function(d){return new(d||u)(s.LFG(L.K0))};static#t=this.\u0275prov=s.Yz7({token:u,factory:u.\u0275fac})}return u})();const ot=(0,s.eFA)(s._c5,"browser",[{provide:s.Lbi,useValue:L.bD},{provide:s.g9A,useValue:function Q(){X.makeCurrent()},multi:!0},{provide:L.K0,useFactory:function be(){return(0,s.RDi)(document),document},deps:[]}]),fe=new s.OlP(""),Bt=[{provide:s.rWj,useClass:class K{addToWindow(c){s.dqk.getAngularTestability=(d,g=!0)=>{const D=c.findTestabilityInTree(d,g);if(null==D)throw new s.vHH(5103,!1);return D},s.dqk.getAllAngularTestabilities=()=>c.getAllTestabilities(),s.dqk.getAllAngularRootElements=()=>c.getAllRootElements(),s.dqk.frameworkStabilizers||(s.dqk.frameworkStabilizers=[]),s.dqk.frameworkStabilizers.push(d=>{const g=s.dqk.getAllAngularTestabilities();let D=g.length,M=!1;const F=function(O){M=M||O,D--,0==D&&d(M)};g.forEach(O=>{O.whenStable(F)})})}findTestabilityInTree(c,a,d){return null==a?null:c.getTestability(a)??(d?(0,L.q)().isShadowRoot(a)?this.findTestabilityInTree(c,a.host,!0):this.findTestabilityInTree(c,a.parentElement,!0):null)}},deps:[]},{provide:s.lri,useClass:s.dDg,deps:[s.R0b,s.eoX,s.rWj]},{provide:s.dDg,useClass:s.dDg,deps:[s.R0b,s.eoX,s.rWj]}],ce=[{provide:s.zSh,useValue:"root"},{provide:s.qLn,useFactory:function Ke(){return new s.qLn},deps:[]},{provide:k,useClass:Re,multi:!0,deps:[L.K0,s.R0b,s.Lbi]},{provide:k,useClass:Tt,multi:!0,deps:[L.K0]},_t,oe,H,{provide:s.FYo,useExisting:_t},{provide:L.JF,useClass:z,deps:[]},[]];let ke=(()=>{class u{constructor(a){}static withServerTransition(a){return{ngModule:u,providers:[{provide:s.AFp,useValue:a.appId}]}}static#e=this.\u0275fac=function(d){return new(d||u)(s.LFG(fe,12))};static#t=this.\u0275mod=s.oAB({type:u});static#n=this.\u0275inj=s.cJS({providers:[...ce,...Bt],imports:[L.ez,s.hGG]})}return u})(),co=(()=>{class u{constructor(a){this._doc=a}getTitle(){return this._doc.title}setTitle(a){this._doc.title=a||""}static#e=this.\u0275fac=function(d){return new(d||u)(s.LFG(L.K0))};static#t=this.\u0275prov=s.Yz7({token:u,factory:function(d){let g=null;return g=d?new d:function uo(){return new co((0,s.LFG)(L.K0))}(),g},providedIn:"root"})}return u})();typeof window<"u"&&window;var rn=S(285),un=S(6516),en=S(3174),He=S(4699),qt=S(5253),ze=S(9193),hn=S(5125),Yo=S(2994);const hr=(()=>{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 Kt=S(3990);const jn=new He.y(u=>u.complete());function rr(u){return u?function Gr(u){return new He.y(c=>u.schedule(()=>c.complete()))}(u):jn}function Cn(u){return new He.y(c=>{let a;try{a=u()}catch(g){return void c.error(g)}return(a?(0,qt.D)(a):rr()).subscribe(c)})}var zr=S(4813);function Nr(u,c){return new He.y(c?a=>c.schedule(Ao,0,{error:u,subscriber:a}):a=>a.error(u))}function Ao({error:u,subscriber:c}){c.error(u)}var Wr=S(4247),pr=S(8152),br=S(7902),Dt=S(6124),bn=S(5222),$t=S(254);const Yr=(()=>{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 Er(u){return c=>0===u?rr():c.lift(new vo(u))}class vo{constructor(c){if(this.total=c,this.total<0)throw new Yr}call(c,a){return a.subscribe(new Zo(c,this.total))}}class Zo extends $t.L{constructor(c,a){super(c),this.total=a,this.count=0}_next(c){const a=this.total,d=++this.count;d<=a&&(this.destination.next(c),d===a&&(this.destination.complete(),this.unsubscribe()))}}var Vt=S(3075);function En(u,c){return function(d){return d.lift(new Zr(u,c))}}class Zr{constructor(c,a){this.predicate=c,this.thisArg=a}call(c,a){return a.subscribe(new Hn(c,this.predicate,this.thisArg))}}class Hn extends $t.L{constructor(c,a,d){super(c),this.predicate=a,this.thisArg=d,this.count=0}_next(c){let a;try{a=this.predicate.call(this.thisArg,c,this.count++)}catch(d){return void this.destination.error(d)}a&&this.destination.next(c)}}var on=S(6743);function xr(u=null){return c=>c.lift(new yo(u))}class yo{constructor(c){this.defaultValue=c}call(c,a){return a.subscribe(new wr(c,this.defaultValue))}}class wr extends $t.L{constructor(c,a){super(c),this.defaultValue=a,this.isEmpty=!0}_next(c){this.isEmpty=!1,this.destination.next(c)}_complete(){this.isEmpty&&this.destination.next(this.defaultValue),this.destination.complete()}}function Yn(u=Ct){return c=>c.lift(new qr(u))}class qr{constructor(c){this.errorFactory=c}call(c,a){return a.subscribe(new Kr(c,this.errorFactory))}}class Kr extends $t.L{constructor(c,a){super(c),this.errorFactory=a,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(a){c=a}this.destination.error(c)}}}function Ct(){return new hr}var et=S(158);function or(u,c){const a=arguments.length>=2;return d=>d.pipe(u?En((g,D)=>u(g,D,d)):et.y,Er(1),a?xr(c):Yn(()=>new hr))}function Rr(u,c){return(0,on.zg)(u,c,1)}var wt=S(2420),Pr=S(2413);class jt{constructor(c,a,d=!1){this.accumulator=c,this.seed=a,this.hasSeed=d}call(c,a){return a.subscribe(new Ni(c,this.accumulator,this.seed,this.hasSeed))}}class Ni extends $t.L{constructor(c,a,d,g){super(c),this.accumulator=a,this._seed=d,this.hasSeed=g,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 a=this.index++;let d;try{d=this.accumulator(this.seed,c,a)}catch(g){this.destination.error(g)}this.seed=d,this.destination.next(d)}}function A(u){return function(a){return 0===u?rr():a.lift(new $(u))}}class ${constructor(c){if(this.total=c,this.total<0)throw new Yr}call(c,a){return a.subscribe(new R(c,this.total))}}class R extends $t.L{constructor(c,a){super(c),this.total=a,this.ring=new Array,this.count=0}_next(c){const a=this.ring,d=this.total,g=this.count++;a.length<d?a.push(c):a[g%d]=c}_complete(){const c=this.destination;let a=this.count;if(a>0){const d=this.count>=this.total?this.total:this.count,g=this.ring;for(let D=0;D<d;D++){const M=a++%d;c.next(g[M])}}c.complete()}}class Be{constructor(c){this.value=c}call(c,a){return a.subscribe(new Et(c,this.value))}}class Et extends $t.L{constructor(c,a){super(c),this.value=a}_next(c){this.destination.next(this.value)}}function sn(u){return c=>c.lift(new _o(u))}class _o{constructor(c){this.callback=c}call(c,a){return a.subscribe(new Qr(c,this.callback))}}class Qr extends $t.L{constructor(c,a){super(c),this.add(new br.w(a))}}var Oo=S(2851),ts=S(9352),No=S(7449);const Xe="primary",Fr=Symbol("RouteTitle");class Jr{constructor(c){this.params=c||{}}has(c){return Object.prototype.hasOwnProperty.call(this.params,c)}get(c){if(this.has(c)){const a=this.params[c];return Array.isArray(a)?a[0]:a}return null}getAll(c){if(this.has(c)){const a=this.params[c];return Array.isArray(a)?a:[a]}return[]}get keys(){return Object.keys(this.params)}}function Xr(u){return new Jr(u)}function qo(u,c,a){const d=a.path.split("/");if(d.length>u.length||"full"===a.pathMatch&&(c.hasChildren()||d.length<u.length))return null;const g={};for(let D=0;D<d.length;D++){const M=d[D],F=u[D];if(M.startsWith(":"))g[M.substring(1)]=F;else if(M!==F.path)return null}return{consumed:u.slice(0,d.length),posParams:g}}function wn(u,c){const a=u?Ir(u):void 0,d=c?Ir(c):void 0;if(!a||!d||a.length!=d.length)return!1;let g;for(let D=0;D<a.length;D++)if(g=a[D],!Do(u[g],c[g]))return!1;return!0}function Ir(u){return[...Object.keys(u),...Object.getOwnPropertySymbols(u)]}function Do(u,c){if(Array.isArray(u)&&Array.isArray(c)){if(u.length!==c.length)return!1;const a=[...u].sort(),d=[...c].sort();return a.every((g,D)=>d[D]===g)}return u===c}function gr(u){return u.length>0?u[u.length-1]:null}function ir(u){return function lt(u){return!!u&&(u instanceof He.y||"function"==typeof u.lift&&"function"==typeof u.subscribe)}(u)?u:(0,s.QGY)(u)?(0,qt.D)(Promise.resolve(u)):(0,ze.of)(u)}const pn={exact:function Ro(u,c,a){if(!dt(u.segments,c.segments)||!Po(u.segments,c.segments,a)||u.numberOfChildren!==c.numberOfChildren)return!1;for(const d in c.children)if(!u.children[d]||!Ro(u.children[d],c.children[d],a))return!1;return!0},subset:Eo},Co={exact:function xo(u,c){return wn(u,c)},subset:function bo(u,c){return Object.keys(c).length<=Object.keys(u).length&&Object.keys(c).every(a=>Do(u[a],c[a]))},ignored:()=>!0};function pt(u,c,a){return pn[a.paths](u.root,c.root,a.matrixParams)&&Co[a.queryParams](u.queryParams,c.queryParams)&&!("exact"===a.fragment&&u.fragment!==c.fragment)}function Eo(u,c,a){return ci(u,c,c.segments,a)}function ci(u,c,a,d){if(u.segments.length>a.length){const g=u.segments.slice(0,a.length);return!(!dt(g,a)||c.hasChildren()||!Po(g,a,d))}if(u.segments.length===a.length){if(!dt(u.segments,a)||!Po(u.segments,a,d))return!1;for(const g in c.children)if(!u.children[g]||!Eo(u.children[g],c.children[g],d))return!1;return!0}{const g=a.slice(0,u.segments.length),D=a.slice(u.segments.length);return!!(dt(u.segments,g)&&Po(u.segments,g,d)&&u.children[Xe])&&ci(u.children[Xe],c,D,d)}}function Po(u,c,a){return c.every((d,g)=>Co[a](u[g].parameters,d.parameters))}class dn{constructor(c=new It([],{}),a={},d=null){this.root=c,this.queryParams=a,this.fragment=d}get queryParamMap(){return this._queryParamMap||(this._queryParamMap=Xr(this.queryParams)),this._queryParamMap}toString(){return Fo.serialize(this)}}class It{constructor(c,a){this.segments=c,this.children=a,this.parent=null,Object.values(a).forEach(d=>d.parent=this)}hasChildren(){return this.numberOfChildren>0}get numberOfChildren(){return Object.keys(this.children).length}toString(){return xn(this)}}class Nn{constructor(c,a){this.path=c,this.parameters=a}get parameterMap(){return this._parameterMap||(this._parameterMap=Xr(this.parameters)),this._parameterMap}toString(){return no(this)}}function dt(u,c){return u.length===c.length&&u.every((a,d)=>a.path===c[d].path)}let qn=(()=>{class u{static#e=this.\u0275fac=function(d){return new(d||u)};static#t=this.\u0275prov=s.Yz7({token:u,factory:()=>new sr,providedIn:"root"})}return u})();class sr{parse(c){const a=new Jo(c);return new dn(a.parseRootSegment(),a.parseQueryParams(),a.parseFragment())}serialize(c){const a=`/${Lr(c.root,!0)}`,d=function Ri(u){const c=Object.keys(u).map(a=>{const d=u[a];return Array.isArray(d)?d.map(g=>`${kr(a)}=${kr(g)}`).join("&"):`${kr(a)}=${kr(d)}`}).filter(a=>!!a);return c.length?`?${c.join("&")}`:""}(c.queryParams);return`${a}${d}${"string"==typeof c.fragment?`#${function di(u){return encodeURI(u)}(c.fragment)}`:""}`}}const Fo=new sr;function xn(u){return u.segments.map(c=>no(c)).join("/")}function Lr(u,c){if(!u.hasChildren())return xn(u);if(c){const a=u.children[Xe]?Lr(u.children[Xe],!1):"",d=[];return Object.entries(u.children).forEach(([g,D])=>{g!==Xe&&d.push(`${g}:${Lr(D,!1)}`)}),d.length>0?`${a}(${d.join("//")})`:a}{const a=function li(u,c){let a=[];return Object.entries(u.children).forEach(([d,g])=>{d===Xe&&(a=a.concat(c(g,d)))}),Object.entries(u.children).forEach(([d,g])=>{d!==Xe&&(a=a.concat(c(g,d)))}),a}(u,(d,g)=>g===Xe?[Lr(u.children[Xe],!1)]:[`${g}:${Lr(d,!1)}`]);return 1===Object.keys(u.children).length&&null!=u.children[Xe]?`${xn(u)}/${a[0]}`:`${xn(u)}/(${a.join("//")})`}}function Ko(u){return encodeURIComponent(u).replace(/%40/g,"@").replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",")}function kr(u){return Ko(u).replace(/%3B/gi,";")}function eo(u){return Ko(u).replace(/\(/g,"%28").replace(/\)/g,"%29").replace(/%26/gi,"&")}function to(u){return decodeURIComponent(u)}function Un(u){return to(u.replace(/\+/g,"%20"))}function no(u){return`${eo(u.path)}${function fi(u){return Object.keys(u).map(c=>`;${eo(c)}=${eo(u[c])}`).join("")}(u.parameters)}`}const Pi=/^[^\/()?;#]+/;function ar(u){const c=u.match(Pi);return c?c[0]:""}const Fi=/^[^\/()?;=#]+/,Li=/^[^=?&#]+/,Qo=/^[^&#]+/;class Jo{constructor(c){this.url=c,this.remaining=c}parseRootSegment(){return this.consumeOptional("/"),""===this.remaining||this.peekStartsWith("?")||this.peekStartsWith("#")?new It([],{}):new It([],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 a={};this.peekStartsWith("/(")&&(this.capture("/"),a=this.parseParens(!0));let d={};return this.peekStartsWith("(")&&(d=this.parseParens(!1)),(c.length>0||Object.keys(a).length>0)&&(d[Xe]=new It(c,a)),d}parseSegment(){const c=ar(this.remaining);if(""===c&&this.peekStartsWith(";"))throw new s.vHH(4009,!1);return this.capture(c),new Nn(to(c),this.parseMatrixParams())}parseMatrixParams(){const c={};for(;this.consumeOptional(";");)this.parseParam(c);return c}parseParam(c){const a=function hi(u){const c=u.match(Fi);return c?c[0]:""}(this.remaining);if(!a)return;this.capture(a);let d="";if(this.consumeOptional("=")){const g=ar(this.remaining);g&&(d=g,this.capture(d))}c[to(a)]=to(d)}parseQueryParam(c){const a=function ki(u){const c=u.match(Li);return c?c[0]:""}(this.remaining);if(!a)return;this.capture(a);let d="";if(this.consumeOptional("=")){const M=function pi(u){const c=u.match(Qo);return c?c[0]:""}(this.remaining);M&&(d=M,this.capture(d))}const g=Un(a),D=Un(d);if(c.hasOwnProperty(g)){let M=c[g];Array.isArray(M)||(M=[M],c[g]=M),M.push(D)}else c[g]=D}parseParens(c){const a={};for(this.capture("(");!this.consumeOptional(")")&&this.remaining.length>0;){const d=ar(this.remaining),g=this.remaining[d.length];if("/"!==g&&")"!==g&&";"!==g)throw new s.vHH(4010,!1);let D;d.indexOf(":")>-1?(D=d.slice(0,d.indexOf(":")),this.capture(D),this.capture(":")):c&&(D=Xe);const M=this.parseChildren();a[D]=1===Object.keys(M).length?M[Xe]:new It([],M),this.consumeOptional("//")}return a}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 s.vHH(4011,!1)}}function gi(u){return u.segments.length>0?new It([],{[Xe]:u}):u}function Xo(u){const c={};for(const d of Object.keys(u.children)){const D=Xo(u.children[d]);if(d===Xe&&0===D.segments.length&&D.hasChildren())for(const[M,F]of Object.entries(D.children))c[M]=F;else(D.segments.length>0||D.hasChildren())&&(c[d]=D)}return function Lo(u){if(1===u.numberOfChildren&&u.children[Xe]){const c=u.children[Xe];return new It(u.segments.concat(c.segments),c.children)}return u}(new It(u.segments,c))}function Vr(u){return u instanceof dn}function ut(u){let c;const g=gi(function a(D){const M={};for(const O of D.children){const ie=a(O);M[O.outlet]=ie}const F=new It(D.url,M);return D===u&&(c=F),F}(u.root));return c??g}function B(u,c,a,d){let g=u;for(;g.parent;)g=g.parent;if(0===c.length)return y(g,g,g,a,d);const D=function I(u){if("string"==typeof u[0]&&1===u.length&&"/"===u[0])return new m(!0,0,u);let c=0,a=!1;const d=u.reduce((g,D,M)=>{if("object"==typeof D&&null!=D){if(D.outlets){const F={};return Object.entries(D.outlets).forEach(([O,ie])=>{F[O]="string"==typeof ie?ie.split("/"):ie}),[...g,{outlets:F}]}if(D.segmentPath)return[...g,D.segmentPath]}return"string"!=typeof D?[...g,D]:0===M?(D.split("/").forEach((F,O)=>{0==O&&"."===F||(0==O&&""===F?a=!0:".."===F?c++:""!=F&&g.push(F))}),g):[...g,D]},[]);return new m(a,c,d)}(c);if(D.toRoot())return y(g,g,new It([],{}),a,d);const M=function ye(u,c,a){if(u.isAbsolute)return new x(c,!0,0);if(!a)return new x(c,!1,NaN);if(null===a.parent)return new x(a,!0,0);const d=ee(u.commands[0])?0:1;return function ve(u,c,a){let d=u,g=c,D=a;for(;D>g;){if(D-=g,d=d.parent,!d)throw new s.vHH(4005,!1);g=d.segments.length}return new x(d,!1,g-D)}(a,a.segments.length-1+d,u.numberOfDoubleDots)}(D,g,u),F=M.processChildren?qe(M.segmentGroup,M.index,D.commands):Te(M.segmentGroup,M.index,D.commands);return y(g,M.segmentGroup,F,a,d)}function ee(u){return"object"==typeof u&&null!=u&&!u.outlets&&!u.segmentPath}function De(u){return"object"==typeof u&&null!=u&&u.outlets}function y(u,c,a,d,g){let M,D={};d&&Object.entries(d).forEach(([O,ie])=>{D[O]=Array.isArray(ie)?ie.map(Ae=>`${Ae}`):`${ie}`}),M=u===c?a:C(u,c,a);const F=gi(Xo(M));return new dn(F,D,g)}function C(u,c,a){const d={};return Object.entries(u.children).forEach(([g,D])=>{d[g]=D===c?a:C(D,c,a)}),new It(u.segments,d)}class m{constructor(c,a,d){if(this.isAbsolute=c,this.numberOfDoubleDots=a,this.commands=d,c&&d.length>0&&ee(d[0]))throw new s.vHH(4003,!1);const g=d.find(De);if(g&&g!==gr(d))throw new s.vHH(4004,!1)}toRoot(){return this.isAbsolute&&1===this.commands.length&&"/"==this.commands[0]}}class x{constructor(c,a,d){this.segmentGroup=c,this.processChildren=a,this.index=d}}function Te(u,c,a){if(u||(u=new It([],{})),0===u.segments.length&&u.hasChildren())return qe(u,c,a);const d=function Gt(u,c,a){let d=0,g=c;const D={match:!1,pathIndex:0,commandIndex:0};for(;g<u.segments.length;){if(d>=a.length)return D;const M=u.segments[g],F=a[d];if(De(F))break;const O=`${F}`,ie=d<a.length-1?a[d+1]:null;if(g>0&&void 0===O)break;if(O&&ie&&"object"==typeof ie&&void 0===ie.outlets){if(!bt(O,ie,M))return D;d+=2}else{if(!bt(O,{},M))return D;d++}g++}return{match:!0,pathIndex:g,commandIndex:d}}(u,c,a),g=a.slice(d.commandIndex);if(d.match&&d.pathIndex<u.segments.length){const D=new It(u.segments.slice(0,d.pathIndex),{});return D.children[Xe]=new It(u.segments.slice(d.pathIndex),u.children),qe(D,0,g)}return d.match&&0===g.length?new It(u.segments,{}):d.match&&!u.hasChildren()?Nt(u,c,a):d.match?qe(u,0,g):Nt(u,c,a)}function qe(u,c,a){if(0===a.length)return new It(u.segments,{});{const d=function ae(u){return De(u[0])?u[0].outlets:{[Xe]:u}}(a),g={};if(Object.keys(d).some(D=>D!==Xe)&&u.children[Xe]&&1===u.numberOfChildren&&0===u.children[Xe].segments.length){const D=qe(u.children[Xe],c,a);return new It(u.segments,D.children)}return Object.entries(d).forEach(([D,M])=>{"string"==typeof M&&(M=[M]),null!==M&&(g[D]=Te(u.children[D],c,M))}),Object.entries(u.children).forEach(([D,M])=>{void 0===d[D]&&(g[D]=M)}),new It(u.segments,g)}}function Nt(u,c,a){const d=u.segments.slice(0,c);let g=0;for(;g<a.length;){const D=a[g];if(De(D)){const O=cn(D.outlets);return new It(d,O)}if(0===g&&ee(a[0])){d.push(new Nn(u.segments[c].path,Rn(a[0]))),g++;continue}const M=De(D)?D.outlets[Xe]:`${D}`,F=g<a.length-1?a[g+1]:null;M&&F&&ee(F)?(d.push(new Nn(M,Rn(F))),g+=2):(d.push(new Nn(M,{})),g++)}return new It(d,{})}function cn(u){const c={};return Object.entries(u).forEach(([a,d])=>{"string"==typeof d&&(d=[d]),null!==d&&(c[a]=Nt(new It([],{}),0,d))}),c}function Rn(u){const c={};return Object.entries(u).forEach(([a,d])=>c[a]=`${d}`),c}function bt(u,c,a){return u==a.path&&wn(c,a.parameters)}const zt="imperative";class vn{constructor(c,a){this.id=c,this.url=a}}class Ye extends vn{constructor(c,a,d="imperative",g=null){super(c,a),this.type=0,this.navigationTrigger=d,this.restoredState=g}toString(){return`NavigationStart(id: ${this.id}, url: '${this.url}')`}}class Pn extends vn{constructor(c,a,d){super(c,a),this.urlAfterRedirects=d,this.type=1}toString(){return`NavigationEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}')`}}class mi extends vn{constructor(c,a,d,g){super(c,a),this.reason=d,this.code=g,this.type=2}toString(){return`NavigationCancel(id: ${this.id}, url: '${this.url}')`}}class Mr extends vn{constructor(c,a,d,g){super(c,a),this.reason=d,this.code=g,this.type=16}}class Wt extends vn{constructor(c,a,d,g){super(c,a),this.error=d,this.target=g,this.type=3}toString(){return`NavigationError(id: ${this.id}, url: '${this.url}', error: ${this.error})`}}class Vi extends vn{constructor(c,a,d,g){super(c,a),this.urlAfterRedirects=d,this.state=g,this.type=4}toString(){return`RoutesRecognized(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}}class ji extends vn{constructor(c,a,d,g){super(c,a),this.urlAfterRedirects=d,this.state=g,this.type=7}toString(){return`GuardsCheckStart(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}}class ro extends vn{constructor(c,a,d,g,D){super(c,a),this.urlAfterRedirects=d,this.state=g,this.shouldActivate=D,this.type=8}toString(){return`GuardsCheckEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state}, shouldActivate: ${this.shouldActivate})`}}class rs extends vn{constructor(c,a,d,g){super(c,a),this.urlAfterRedirects=d,this.state=g,this.type=5}toString(){return`ResolveStart(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}}class yu extends vn{constructor(c,a,d,g){super(c,a),this.urlAfterRedirects=d,this.state=g,this.type=6}toString(){return`ResolveEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}}class ei{constructor(c){this.route=c,this.type=9}toString(){return`RouteConfigLoadStart(path: ${this.route.path})`}}class Ss{constructor(c){this.route=c,this.type=10}toString(){return`RouteConfigLoadEnd(path: ${this.route.path})`}}class vi{constructor(c){this.snapshot=c,this.type=11}toString(){return`ChildActivationStart(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}}class ct{constructor(c){this.snapshot=c,this.type=12}toString(){return`ChildActivationEnd(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}}class fa{constructor(c){this.snapshot=c,this.type=13}toString(){return`ActivationStart(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}}class Hi{constructor(c){this.snapshot=c,this.type=14}toString(){return`ActivationEnd(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}}class oo{constructor(c,a,d){this.routerEvent=c,this.position=a,this.anchor=d,this.type=15}toString(){return`Scroll(anchor: '${this.anchor}', position: '${this.position?`${this.position[0]}, ${this.position[1]}`:null}')`}}class yi{}class ko{constructor(c){this.url=c}}class Ui{constructor(){this.outlet=null,this.route=null,this.injector=null,this.children=new yn,this.attachRef=null}}let yn=(()=>{class u{constructor(){this.contexts=new Map}onChildOutletCreated(a,d){const g=this.getOrCreateContext(a);g.outlet=d,this.contexts.set(a,g)}onChildOutletDestroyed(a){const d=this.getContext(a);d&&(d.outlet=null,d.attachRef=null)}onOutletDeactivated(){const a=this.contexts;return this.contexts=new Map,a}onOutletReAttached(a){this.contexts=a}getOrCreateContext(a){let d=this.getContext(a);return d||(d=new Ui,this.contexts.set(a,d)),d}getContext(a){return this.contexts.get(a)||null}static#e=this.\u0275fac=function(d){return new(d||u)};static#t=this.\u0275prov=s.Yz7({token:u,factory:u.\u0275fac,providedIn:"root"})}return u})();class In{constructor(c){this._root=c}get root(){return this._root.value}parent(c){const a=this.pathFromRoot(c);return a.length>1?a[a.length-2]:null}children(c){const a=os(c,this._root);return a?a.children.map(d=>d.value):[]}firstChild(c){const a=os(c,this._root);return a&&a.children.length>0?a.children[0].value:null}siblings(c){const a=Vo(c,this._root);return a.length<2?[]:a[a.length-2].children.map(g=>g.value).filter(g=>g!==c)}pathFromRoot(c){return Vo(c,this._root).map(a=>a.value)}}function os(u,c){if(u===c.value)return c;for(const a of c.children){const d=os(u,a);if(d)return d}return null}function Vo(u,c){if(u===c.value)return[c];for(const a of c.children){const d=Vo(u,a);if(d.length)return d.unshift(c),d}return[]}class mr{constructor(c,a){this.value=c,this.children=a}toString(){return`TreeNode(${this.value})`}}function Kn(u){const c={};return u&&u.children.forEach(a=>c[a.value.outlet]=a),c}class Ts extends In{constructor(c,a){super(c),this.snapshot=a,b(this,c)}toString(){return this.snapshot.toString()}}function _u(u,c){const a=function is(u,c){const M=new w([],{},{},"",{},Xe,c,null,{});return new v("",new mr(M,[]))}(0,c),d=new hn.X([new Nn("",{})]),g=new hn.X({}),D=new hn.X({}),M=new hn.X({}),F=new hn.X(""),O=new ti(d,g,M,F,D,Xe,c,a.root);return O.snapshot=a.root,new Ts(new mr(O,[]),a)}class ti{constructor(c,a,d,g,D,M,F,O){this.urlSubject=c,this.paramsSubject=a,this.queryParamsSubject=d,this.fragmentSubject=g,this.dataSubject=D,this.outlet=M,this.component=F,this._futureSnapshot=O,this.title=this.dataSubject?.pipe((0,Dt.U)(ie=>ie[Fr]))??(0,ze.of)(void 0),this.url=c,this.params=a,this.queryParams=d,this.fragment=g,this.data=D}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,Dt.U)(c=>Xr(c)))),this._paramMap}get queryParamMap(){return this._queryParamMap||(this._queryParamMap=this.queryParams.pipe((0,Dt.U)(c=>Xr(c)))),this._queryParamMap}toString(){return this.snapshot?this.snapshot.toString():`Future(${this._futureSnapshot})`}}function p(u,c,a="emptyOnly"){let d;const{routeConfig:g}=u;return d=null===c||"always"!==a&&""!==g?.path&&(c.component||c.routeConfig?.loadComponent)?{params:u.params,data:u.data,resolve:{...u.data,...u._resolvedData??{}}}:{params:{...c.params,...u.params},data:{...c.data,...u.data},resolve:{...u.data,...c.data,...g?.data,...u._resolvedData}},g&&Pe(g)&&(d.resolve[Fr]=g.title),d}class w{get title(){return this.data?.[Fr]}constructor(c,a,d,g,D,M,F,O,ie){this.url=c,this.params=a,this.queryParams=d,this.fragment=g,this.data=D,this.outlet=M,this.component=F,this.routeConfig=O,this._resolve=ie}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=Xr(this.params)),this._paramMap}get queryParamMap(){return this._queryParamMap||(this._queryParamMap=Xr(this.queryParams)),this._queryParamMap}toString(){return`Route(url:'${this.url.map(d=>d.toString()).join("/")}', path:'${this.routeConfig?this.routeConfig.path:""}')`}}class v extends In{constructor(c,a){super(a),this.url=c,b(this,a)}toString(){return N(this._root)}}function b(u,c){c.value._routerState=u,c.children.forEach(a=>b(u,a))}function N(u){const c=u.children.length>0?` { ${u.children.map(N).join(", ")} } `:"";return`${u.value}${c}`}function Z(u){if(u.snapshot){const c=u.snapshot,a=u._futureSnapshot;u.snapshot=a,wn(c.queryParams,a.queryParams)||u.queryParamsSubject.next(a.queryParams),c.fragment!==a.fragment&&u.fragmentSubject.next(a.fragment),wn(c.params,a.params)||u.paramsSubject.next(a.params),function xi(u,c){if(u.length!==c.length)return!1;for(let a=0;a<u.length;++a)if(!wn(u[a],c[a]))return!1;return!0}(c.url,a.url)||u.urlSubject.next(a.url),wn(c.data,a.data)||u.dataSubject.next(a.data)}else u.snapshot=u._futureSnapshot,u.dataSubject.next(u._futureSnapshot.data)}function ue(u,c){const a=wn(u.params,c.params)&&function Zn(u,c){return dt(u,c)&&u.every((a,d)=>wn(a.parameters,c[d].parameters))}(u.url,c.url);return a&&!(!u.parent!=!c.parent)&&(!u.parent||ue(u.parent,c.parent))}function Pe(u){return"string"==typeof u.title||null===u.title}let Qt=(()=>{class u{constructor(){this.activated=null,this._activatedRoute=null,this.name=Xe,this.activateEvents=new s.vpe,this.deactivateEvents=new s.vpe,this.attachEvents=new s.vpe,this.detachEvents=new s.vpe,this.parentContexts=(0,s.f3M)(yn),this.location=(0,s.f3M)(s.s_b),this.changeDetector=(0,s.f3M)(s.sBO),this.environmentInjector=(0,s.f3M)(s.lqb),this.inputBinder=(0,s.f3M)(Ht,{optional:!0}),this.supportsBindingToComponentInputs=!0}get activatedComponentRef(){return this.activated}ngOnChanges(a){if(a.name){const{firstChange:d,previousValue:g}=a.name;if(d)return;this.isTrackedInParentContexts(g)&&(this.deactivate(),this.parentContexts.onChildOutletDestroyed(g)),this.initializeOutletWithName()}}ngOnDestroy(){this.isTrackedInParentContexts(this.name)&&this.parentContexts.onChildOutletDestroyed(this.name),this.inputBinder?.unsubscribeFromRouteData(this)}isTrackedInParentContexts(a){return this.parentContexts.getContext(a)?.outlet===this}ngOnInit(){this.initializeOutletWithName()}initializeOutletWithName(){if(this.parentContexts.onChildOutletCreated(this.name,this),this.activated)return;const a=this.parentContexts.getContext(this.name);a?.route&&(a.attachRef?this.attach(a.attachRef,a.route):this.activateWith(a.route,a.injector))}get isActivated(){return!!this.activated}get component(){if(!this.activated)throw new s.vHH(4012,!1);return this.activated.instance}get activatedRoute(){if(!this.activated)throw new s.vHH(4012,!1);return this._activatedRoute}get activatedRouteData(){return this._activatedRoute?this._activatedRoute.snapshot.data:{}}detach(){if(!this.activated)throw new s.vHH(4012,!1);this.location.detach();const a=this.activated;return this.activated=null,this._activatedRoute=null,this.detachEvents.emit(a.instance),a}attach(a,d){this.activated=a,this._activatedRoute=d,this.location.insert(a.hostView),this.inputBinder?.bindActivatedRouteToOutletComponent(this),this.attachEvents.emit(a.instance)}deactivate(){if(this.activated){const a=this.component;this.activated.destroy(),this.activated=null,this._activatedRoute=null,this.deactivateEvents.emit(a)}}activateWith(a,d){if(this.isActivated)throw new s.vHH(4013,!1);this._activatedRoute=a;const g=this.location,M=a.snapshot.component,F=this.parentContexts.getOrCreateContext(this.name).children,O=new Jt(a,F,g.injector);this.activated=g.createComponent(M,{index:g.length,injector:O,environmentInjector:d??this.environmentInjector}),this.changeDetector.markForCheck(),this.inputBinder?.bindActivatedRouteToOutletComponent(this),this.activateEvents.emit(this.activated.instance)}static#e=this.\u0275fac=function(d){return new(d||u)};static#t=this.\u0275dir=s.lG2({type:u,selectors:[["router-outlet"]],inputs:{name:"name"},outputs:{activateEvents:"activate",deactivateEvents:"deactivate",attachEvents:"attach",detachEvents:"detach"},exportAs:["outlet"],standalone:!0,features:[s.TTD]})}return u})();class Jt{constructor(c,a,d){this.route=c,this.childContexts=a,this.parent=d}get(c,a){return c===ti?this.route:c===yn?this.childContexts:this.parent.get(c,a)}}const Ht=new s.OlP("");let yt=(()=>{class u{constructor(){this.outletDataSubscriptions=new Map}bindActivatedRouteToOutletComponent(a){this.unsubscribeFromRouteData(a),this.subscribeToRouteData(a)}unsubscribeFromRouteData(a){this.outletDataSubscriptions.get(a)?.unsubscribe(),this.outletDataSubscriptions.delete(a)}subscribeToRouteData(a){const{activatedRoute:d}=a,g=(0,Yo.aj)([d.queryParams,d.params,d.data]).pipe((0,bn.w)(([D,M,F],O)=>(F={...D,...M,...F},0===O?(0,ze.of)(F):Promise.resolve(F)))).subscribe(D=>{if(!a.isActivated||!a.activatedComponentRef||a.activatedRoute!==d||null===d.component)return void this.unsubscribeFromRouteData(a);const M=(0,s.qFp)(d.component);if(M)for(const{templateName:F}of M.inputs)a.activatedComponentRef.setInput(F,D[F]);else this.unsubscribeFromRouteData(a)});this.outletDataSubscriptions.set(a,g)}static#e=this.\u0275fac=function(d){return new(d||u)};static#t=this.\u0275prov=s.Yz7({token:u,factory:u.\u0275fac})}return u})();function Pt(u,c,a){if(a&&u.shouldReuseRoute(c.value,a.value.snapshot)){const d=a.value;d._futureSnapshot=c.value;const g=function Fn(u,c,a){return c.children.map(d=>{for(const g of a.children)if(u.shouldReuseRoute(d.value,g.value.snapshot))return Pt(u,d,g);return Pt(u,d)})}(u,c,a);return new mr(d,g)}{if(u.shouldAttach(c.value)){const D=u.retrieve(c.value);if(null!==D){const M=D.route;return M.value._futureSnapshot=c.value,M.children=c.children.map(F=>Pt(u,F)),M}}const d=function wo(u){return new ti(new hn.X(u.url),new hn.X(u.params),new hn.X(u.queryParams),new hn.X(u.fragment),new hn.X(u.data),u.outlet,u.component,u)}(c.value),g=c.children.map(D=>Pt(u,D));return new mr(d,g)}}const vr="ngNavigationCancelingError";function _i(u,c){const{redirectTo:a,navigationBehaviorOptions:d}=Vr(c)?{redirectTo:c,navigationBehaviorOptions:void 0}:c,g=jo(!1,0,c);return g.url=a,g.navigationBehaviorOptions=d,g}function jo(u,c,a){const d=new Error("NavigationCancelingError: "+(u||""));return d[vr]=!0,d.cancellationCode=c,a&&(d.url=a),d}function Ho(u){return u&&u[vr]}let yr=(()=>{class u{static#e=this.\u0275fac=function(d){return new(d||u)};static#t=this.\u0275cmp=s.Xpm({type:u,selectors:[["ng-component"]],standalone:!0,features:[s.jDz],decls:1,vars:0,template:function(d,g){1&d&&s._UZ(0,"router-outlet")},dependencies:[Qt],encapsulation:2})}return u})();function Cu(u){const c=u.children&&u.children.map(Cu),a=c?{...u,children:c}:{...u};return!a.component&&!a.loadComponent&&(c||a.loadChildren)&&a.outlet&&a.outlet!==Xe&&(a.component=yr),a}function Ln(u){return u.outlet||Xe}function ss(u){if(!u)return null;if(u.routeConfig?._injector)return u.routeConfig._injector;for(let c=u.parent;c;c=c.parent){const a=c.routeConfig;if(a?._loadedInjector)return a._loadedInjector;if(a?._injector)return a._injector}return null}class Os{constructor(c,a,d,g,D){this.routeReuseStrategy=c,this.futureState=a,this.currState=d,this.forwardEvent=g,this.inputBindingEnabled=D}activate(c){const a=this.futureState._root,d=this.currState?this.currState._root:null;this.deactivateChildRoutes(a,d,c),Z(this.futureState.root),this.activateChildRoutes(a,d,c)}deactivateChildRoutes(c,a,d){const g=Kn(a);c.children.forEach(D=>{const M=D.value.outlet;this.deactivateRoutes(D,g[M],d),delete g[M]}),Object.values(g).forEach(D=>{this.deactivateRouteAndItsChildren(D,d)})}deactivateRoutes(c,a,d){const g=c.value,D=a?a.value:null;if(g===D)if(g.component){const M=d.getContext(g.outlet);M&&this.deactivateChildRoutes(c,a,M.children)}else this.deactivateChildRoutes(c,a,d);else D&&this.deactivateRouteAndItsChildren(a,d)}deactivateRouteAndItsChildren(c,a){c.value.component&&this.routeReuseStrategy.shouldDetach(c.value.snapshot)?this.detachAndStoreRouteSubtree(c,a):this.deactivateRouteAndOutlet(c,a)}detachAndStoreRouteSubtree(c,a){const d=a.getContext(c.value.outlet),g=d&&c.value.component?d.children:a,D=Kn(c);for(const M of Object.keys(D))this.deactivateRouteAndItsChildren(D[M],g);if(d&&d.outlet){const M=d.outlet.detach(),F=d.children.onOutletDeactivated();this.routeReuseStrategy.store(c.value.snapshot,{componentRef:M,route:c,contexts:F})}}deactivateRouteAndOutlet(c,a){const d=a.getContext(c.value.outlet),g=d&&c.value.component?d.children:a,D=Kn(c);for(const M of Object.keys(D))this.deactivateRouteAndItsChildren(D[M],g);d&&(d.outlet&&(d.outlet.deactivate(),d.children.onOutletDeactivated()),d.attachRef=null,d.route=null)}activateChildRoutes(c,a,d){const g=Kn(a);c.children.forEach(D=>{this.activateRoutes(D,g[D.value.outlet],d),this.forwardEvent(new Hi(D.value.snapshot))}),c.children.length&&this.forwardEvent(new ct(c.value.snapshot))}activateRoutes(c,a,d){const g=c.value,D=a?a.value:null;if(Z(g),g===D)if(g.component){const M=d.getOrCreateContext(g.outlet);this.activateChildRoutes(c,a,M.children)}else this.activateChildRoutes(c,a,d);else if(g.component){const M=d.getOrCreateContext(g.outlet);if(this.routeReuseStrategy.shouldAttach(g.snapshot)){const F=this.routeReuseStrategy.retrieve(g.snapshot);this.routeReuseStrategy.store(g.snapshot,null),M.children.onOutletReAttached(F.contexts),M.attachRef=F.componentRef,M.route=F.route.value,M.outlet&&M.outlet.attach(F.componentRef,F.route.value),Z(F.route.value),this.activateChildRoutes(c,null,M.children)}else{const F=ss(g.snapshot);M.attachRef=null,M.route=g,M.injector=F,M.outlet&&M.outlet.activateWith(g,M.injector),this.activateChildRoutes(c,null,M.children)}}else this.activateChildRoutes(c,null,d)}}class ur{constructor(c){this.path=c,this.route=this.path[this.path.length-1]}}class ha{constructor(c,a){this.component=c,this.route=a}}function Ns(u,c,a){const d=u._root;return xs(d,c?c._root:null,a,[d.value])}function Bn(u,c){const a=Symbol(),d=c.get(u,a);return d===a?"function"!=typeof u||(0,s.Z0I)(u)?c.get(u):u:d}function xs(u,c,a,d,g={canDeactivateChecks:[],canActivateChecks:[]}){const D=Kn(c);return u.children.forEach(M=>{(function Eu(u,c,a,d,g={canDeactivateChecks:[],canActivateChecks:[]}){const D=u.value,M=c?c.value:null,F=a?a.getContext(u.value.outlet):null;if(M&&D.routeConfig===M.routeConfig){const O=function Zd(u,c,a){if("function"==typeof a)return a(u,c);switch(a){case"pathParamsChange":return!dt(u.url,c.url);case"pathParamsOrQueryParamsChange":return!dt(u.url,c.url)||!wn(u.queryParams,c.queryParams);case"always":return!0;case"paramsOrQueryParamsChange":return!ue(u,c)||!wn(u.queryParams,c.queryParams);default:return!ue(u,c)}}(M,D,D.routeConfig.runGuardsAndResolvers);O?g.canActivateChecks.push(new ur(d)):(D.data=M.data,D._resolvedData=M._resolvedData),xs(u,c,D.component?F?F.children:null:a,d,g),O&&F&&F.outlet&&F.outlet.isActivated&&g.canDeactivateChecks.push(new ha(F.outlet.component,M))}else M&&Sr(c,F,g),g.canActivateChecks.push(new ur(d)),xs(u,null,D.component?F?F.children:null:a,d,g)})(M,D[M.value.outlet],a,d.concat([M.value]),g),delete D[M.value.outlet]}),Object.entries(D).forEach(([M,F])=>Sr(F,a.getContext(M),g)),g}function Sr(u,c,a){const d=Kn(u),g=u.value;Object.entries(d).forEach(([D,M])=>{Sr(M,g.component?c?c.children.getContext(D):null:c,a)}),a.canDeactivateChecks.push(new ha(g.component&&c&&c.outlet&&c.outlet.isActivated?c.outlet.component:null,g))}function us(u){return"function"==typeof u}function wu(u){return u instanceof hr||"EmptyError"===u?.name}const Iu=Symbol("INITIAL_VALUE");function cs(){return(0,bn.w)(u=>(0,Yo.aj)(u.map(c=>c.pipe(Er(1),(0,Vt.O)(Iu)))).pipe((0,Dt.U)(c=>{for(const a of c)if(!0!==a){if(a===Iu)return Iu;if(!1===a||a instanceof dn)return a}return!0}),En(c=>c!==Iu),Er(1)))}function ne(u){return(0,zr.z)((0,wt.b)(c=>{if(Vr(c))throw _i(0,c)}),(0,Dt.U)(c=>!0===c))}class ma{constructor(c){this.segmentGroup=c||null}}class va extends Error{constructor(c){super(),this.urlTree=c}}function Ft(u){return Nr(new ma(u))}class Mu{constructor(c,a){this.urlSerializer=c,this.urlTree=a}noMatchError(c){return new s.vHH(4002,!1)}lineralizeSegments(c,a){let d=[],g=a.root;for(;;){if(d=d.concat(g.segments),0===g.numberOfChildren)return(0,ze.of)(d);if(g.numberOfChildren>1||!g.children[Xe])return Nr(new s.vHH(4e3,!1));g=g.children[Xe]}}applyRedirectCommands(c,a,d){const g=this.applyRedirectCreateUrlTree(a,this.urlSerializer.parse(a),c,d);if(a.startsWith("/"))throw new va(g);return g}applyRedirectCreateUrlTree(c,a,d,g){const D=this.createSegmentGroup(c,a.root,d,g);return new dn(D,this.createQueryParams(a.queryParams,this.urlTree.queryParams),a.fragment)}createQueryParams(c,a){const d={};return Object.entries(c).forEach(([g,D])=>{if("string"==typeof D&&D.startsWith(":")){const F=D.substring(1);d[g]=a[F]}else d[g]=D}),d}createSegmentGroup(c,a,d,g){const D=this.createSegments(c,a.segments,d,g);let M={};return Object.entries(a.children).forEach(([F,O])=>{M[F]=this.createSegmentGroup(c,O,d,g)}),new It(D,M)}createSegments(c,a,d,g){return a.map(D=>D.path.startsWith(":")?this.findPosParam(c,D,g):this.findOrReturn(D,d))}findPosParam(c,a,d){const g=d[a.path.substring(1)];if(!g)throw new s.vHH(4001,!1);return g}findOrReturn(c,a){let d=0;for(const g of a){if(g.path===c.path)return a.splice(d),g;d++}return c}}const Ps={matched:!1,consumedSegments:[],remainingSegments:[],parameters:{},positionalParamSegments:{}};function sf(u,c,a,d,g){const D=Qc(u,c,a);return D.matched?(d=function As(u,c){return u.providers&&!u._injector&&(u._injector=(0,s.MMx)(u.providers,c,`Route: ${u.path}`)),u._injector??c}(c,d),function At(u,c,a,d){const g=c.canMatch;if(!g||0===g.length)return(0,ze.of)(!0);const D=g.map(M=>{const F=Bn(M,u);return ir(function ga(u){return u&&us(u.canMatch)}(F)?F.canMatch(c,a):(0,s.r_H)(u,()=>F(c,a)))});return(0,ze.of)(D).pipe(cs(),ne())}(d,c,a).pipe((0,Dt.U)(M=>!0===M?D:{...Ps}))):(0,ze.of)(D)}function Qc(u,c,a){if(""===c.path)return"full"===c.pathMatch&&(u.hasChildren()||a.length>0)?{...Ps}:{matched:!0,consumedSegments:[],remainingSegments:a,parameters:{},positionalParamSegments:{}};const g=(c.matcher||qo)(a,u,c);if(!g)return{...Ps};const D={};Object.entries(g.posParams??{}).forEach(([F,O])=>{D[F]=O.path});const M=g.consumed.length>0?{...D,...g.consumed[g.consumed.length-1].parameters}:D;return{matched:!0,consumedSegments:g.consumed,remainingSegments:a.slice(g.consumed.length),parameters:M,positionalParamSegments:g.posParams??{}}}function Su(u,c,a,d){return a.length>0&&function Jc(u,c,a){return a.some(d=>io(u,c,d)&&Ln(d)!==Xe)}(u,a,d)?{segmentGroup:new It(c,ni(d,new It(a,u.children))),slicedSegments:[]}:0===a.length&&function Bo(u,c,a){return a.some(d=>io(u,c,d))}(u,a,d)?{segmentGroup:new It(u.segments,_r(u,0,a,d,u.children)),slicedSegments:a}:{segmentGroup:new It(u.segments,u.children),slicedSegments:a}}function _r(u,c,a,d,g){const D={};for(const M of d)if(io(u,a,M)&&!g[Ln(M)]){const F=new It([],{});D[Ln(M)]=F}return{...g,...D}}function ni(u,c){const a={};a[Xe]=c;for(const d of u)if(""===d.path&&Ln(d)!==Xe){const g=new It([],{});a[Ln(d)]=g}return a}function io(u,c,a){return(!(u.hasChildren()||c.length>0)||"full"!==a.pathMatch)&&""===a.path}class uf{}class Au{constructor(c,a,d,g,D,M,F){this.injector=c,this.configLoader=a,this.rootComponentType=d,this.config=g,this.urlTree=D,this.paramsInheritanceStrategy=M,this.urlSerializer=F,this.applyRedirects=new Mu(this.urlSerializer,this.urlTree),this.absoluteRedirectCount=0,this.allowRedirects=!0}noMatchError(c){return new s.vHH(4002,!1)}recognize(){const c=Su(this.urlTree.root,[],[],this.config).segmentGroup;return this.match(c).pipe((0,Dt.U)(a=>{const d=new w([],Object.freeze({}),Object.freeze({...this.urlTree.queryParams}),this.urlTree.fragment,{},Xe,this.rootComponentType,null,{}),g=new mr(d,a),D=new v("",g),M=function ns(u,c,a=null,d=null){return B(ut(u),c,a,d)}(d,[],this.urlTree.queryParams,this.urlTree.fragment);return M.queryParams=this.urlTree.queryParams,D.url=this.urlSerializer.serialize(M),this.inheritParamsAndData(D._root,null),{state:D,tree:M}}))}match(c){return this.processSegmentGroup(this.injector,this.config,c,Xe).pipe((0,Pr.K)(d=>{if(d instanceof va)return this.urlTree=d.urlTree,this.match(d.urlTree.root);throw d instanceof ma?this.noMatchError(d):d}))}inheritParamsAndData(c,a){const d=c.value,g=p(d,a,this.paramsInheritanceStrategy);d.params=Object.freeze(g.params),d.data=Object.freeze(g.data),c.children.forEach(D=>this.inheritParamsAndData(D,d))}processSegmentGroup(c,a,d,g){return 0===d.segments.length&&d.hasChildren()?this.processChildren(c,a,d):this.processSegment(c,a,d,d.segments,g,!0).pipe((0,Dt.U)(D=>D instanceof mr?[D]:[]))}processChildren(c,a,d){const g=[];for(const D of Object.keys(d.children))"primary"===D?g.unshift(D):g.push(D);return(0,qt.D)(g).pipe(Rr(D=>{const M=d.children[D],F=function zc(u,c){const a=u.filter(d=>Ln(d)===c);return a.push(...u.filter(d=>Ln(d)!==c)),a}(a,D);return this.processSegmentGroup(c,F,M,D)}),function Oi(u,c){let a=!1;return arguments.length>=2&&(a=!0),function(g){return g.lift(new jt(u,c,a))}}((D,M)=>(D.push(...M),D)),xr(null),function U(u,c){const a=arguments.length>=2;return d=>d.pipe(u?En((g,D)=>u(g,D,d)):et.y,A(1),a?xr(c):Yn(()=>new hr))}(),(0,on.zg)(D=>{if(null===D)return Ft(d);const M=tl(D);return function el(u){u.sort((c,a)=>c.value.outlet===Xe?-1:a.value.outlet===Xe?1:c.value.outlet.localeCompare(a.value.outlet))}(M),(0,ze.of)(M)}))}processSegment(c,a,d,g,D,M){return(0,qt.D)(a).pipe(Rr(F=>this.processSegmentAgainstRoute(F._injector??c,a,F,d,g,D,M).pipe((0,Pr.K)(O=>{if(O instanceof ma)return(0,ze.of)(null);throw O}))),or(F=>!!F),(0,Pr.K)(F=>{if(wu(F))return function Xc(u,c,a){return 0===c.length&&!u.children[a]}(d,g,D)?(0,ze.of)(new uf):Ft(d);throw F}))}processSegmentAgainstRoute(c,a,d,g,D,M,F){return function af(u,c,a,d){return!!(Ln(u)===d||d!==Xe&&io(c,a,u))&&("**"===u.path||Qc(c,u,a).matched)}(d,g,D,M)?void 0===d.redirectTo?this.matchSegmentAgainstRoute(c,g,d,D,M):this.allowRedirects&&F?this.expandSegmentAgainstRouteUsingRedirect(c,g,a,d,D,M):Ft(g):Ft(g)}expandSegmentAgainstRouteUsingRedirect(c,a,d,g,D,M){const{matched:F,consumedSegments:O,positionalParamSegments:ie,remainingSegments:Ae}="**"===g.path?xu(D):Qc(a,g,D);if(!F)return Ft(a);g.redirectTo.startsWith("/")&&(this.absoluteRedirectCount++,this.absoluteRedirectCount>31&&(this.allowRedirects=!1));const Fe=this.applyRedirects.applyRedirectCommands(O,g.redirectTo,ie);return this.applyRedirects.lineralizeSegments(g,Fe).pipe((0,on.zg)(st=>this.processSegment(c,d,a,st.concat(Ae),M,!1)))}matchSegmentAgainstRoute(c,a,d,g,D){let M;return"**"===d.path?(M=(0,ze.of)(xu(g)),a.children={}):M=sf(a,d,g,c),M.pipe((0,bn.w)(F=>F.matched?this.getChildConfig(c=d._injector??c,d,g).pipe((0,bn.w)(({routes:O})=>{const ie=d._loadedInjector??c,{consumedSegments:Ae,remainingSegments:Fe,parameters:st}=F,Dr=new w(Ae,st,Object.freeze({...this.urlTree.queryParams}),this.urlTree.fragment,function Nu(u){return u.data||{}}(d),Ln(d),d.component??d._loadedComponent??null,d,function nl(u){return u.resolve||{}}(d)),{segmentGroup:Mn,slicedSegments:Mt}=Su(a,Ae,Fe,O);if(0===Mt.length&&Mn.hasChildren())return this.processChildren(ie,O,Mn).pipe((0,Dt.U)(Sn=>null===Sn?null:new mr(Dr,Sn)));if(0===O.length&&0===Mt.length)return(0,ze.of)(new mr(Dr,[]));const Ut=Ln(d)===D;return this.processSegment(ie,O,Mn,Mt,Ut?Xe:D,!0).pipe((0,Dt.U)(Sn=>new mr(Dr,Sn instanceof mr?[Sn]:[])))})):Ft(a)))}getChildConfig(c,a,d){return a.children?(0,ze.of)({routes:a.children,injector:c}):a.loadChildren?void 0!==a._loadedRoutes?(0,ze.of)({routes:a._loadedRoutes,injector:a._loadedInjector}):function nf(u,c,a,d){const g=c.canLoad;if(void 0===g||0===g.length)return(0,ze.of)(!0);const D=g.map(M=>{const F=Bn(M,u);return ir(function Wc(u){return u&&us(u.canLoad)}(F)?F.canLoad(c,a):(0,s.r_H)(u,()=>F(c,a)))});return(0,ze.of)(D).pipe(cs(),ne())}(c,a,d).pipe((0,on.zg)(g=>g?this.configLoader.loadChildren(c,a).pipe((0,wt.b)(D=>{a._loadedRoutes=D.routes,a._loadedInjector=D.injector})):function Uo(u){return Nr(jo(!1,3))}())):(0,ze.of)({routes:[],injector:c})}}function Ou(u){const c=u.value.routeConfig;return c&&""===c.path}function tl(u){const c=[],a=new Set;for(const d of u){if(!Ou(d)){c.push(d);continue}const g=c.find(D=>d.value.routeConfig===D.value.routeConfig);void 0!==g?(g.children.push(...d.children),a.add(g)):c.push(d)}for(const d of a){const g=tl(d.children);c.push(new mr(d.value,g))}return c.filter(d=>!a.has(d))}function xu(u){return{matched:!0,parameters:u.length>0?gr(u).parameters:{},consumedSegments:u,remainingSegments:[],positionalParamSegments:{}}}function ya(u){const c=u.children.map(a=>ya(a)).flat();return[u,...c]}function tn(u){return(0,bn.w)(c=>{const a=u(c);return a?(0,qt.D)(a).pipe((0,Dt.U)(()=>c)):(0,ze.of)(c)})}let il=(()=>{class u{buildTitle(a){let d,g=a.root;for(;void 0!==g;)d=this.getResolvedTitleForRoute(g)??d,g=g.children.find(D=>D.outlet===Xe);return d}getResolvedTitleForRoute(a){return a.data[Fr]}static#e=this.\u0275fac=function(d){return new(d||u)};static#t=this.\u0275prov=s.Yz7({token:u,factory:()=>(0,s.f3M)(ff),providedIn:"root"})}return u})(),ff=(()=>{class u extends il{constructor(a){super(),this.title=a}updateTitle(a){const d=this.buildTitle(a);void 0!==d&&this.title.setTitle(d)}static#e=this.\u0275fac=function(d){return new(d||u)(s.LFG(co))};static#t=this.\u0275prov=s.Yz7({token:u,factory:u.\u0275fac,providedIn:"root"})}return u})();const ds=new s.OlP("",{providedIn:"root",factory:()=>({})}),fs=new s.OlP("ROUTES");let _a=(()=>{class u{constructor(){this.componentLoaders=new WeakMap,this.childrenLoaders=new WeakMap,this.compiler=(0,s.f3M)(s.Sil)}loadComponent(a){if(this.componentLoaders.get(a))return this.componentLoaders.get(a);if(a._loadedComponent)return(0,ze.of)(a._loadedComponent);this.onLoadStartListener&&this.onLoadStartListener(a);const d=ir(a.loadComponent()).pipe((0,Dt.U)(ri),(0,wt.b)(D=>{this.onLoadEndListener&&this.onLoadEndListener(a),a._loadedComponent=D}),sn(()=>{this.componentLoaders.delete(a)})),g=new Wr.c(d,()=>new pr.xQ).pipe((0,Oo.x)());return this.componentLoaders.set(a,g),g}loadChildren(a,d){if(this.childrenLoaders.get(d))return this.childrenLoaders.get(d);if(d._loadedRoutes)return(0,ze.of)({routes:d._loadedRoutes,injector:d._loadedInjector});this.onLoadStartListener&&this.onLoadStartListener(d);const D=function sl(u,c,a,d){return ir(u.loadChildren()).pipe((0,Dt.U)(ri),(0,on.zg)(g=>g instanceof s.YKP||Array.isArray(g)?(0,ze.of)(g):(0,qt.D)(c.compileModuleAsync(g))),(0,Dt.U)(g=>{d&&d(u);let D,M,F=!1;return Array.isArray(g)?(M=g,!0):(D=g.create(a).injector,M=D.get(fs,[],{optional:!0,self:!0}).flat()),{routes:M.map(Cu),injector:D}}))}(d,this.compiler,a,this.onLoadEndListener).pipe(sn(()=>{this.childrenLoaders.delete(d)})),M=new Wr.c(D,()=>new pr.xQ).pipe((0,Oo.x)());return this.childrenLoaders.set(d,M),M}static#e=this.\u0275fac=function(d){return new(d||u)};static#t=this.\u0275prov=s.Yz7({token:u,factory:u.\u0275fac,providedIn:"root"})}return u})();function ri(u){return function Da(u){return u&&"object"==typeof u&&"default"in u}(u)?u.default:u}let Ru=(()=>{class u{static#e=this.\u0275fac=function(d){return new(d||u)};static#t=this.\u0275prov=s.Yz7({token:u,factory:()=>(0,s.f3M)(Ca),providedIn:"root"})}return u})(),Ca=(()=>{class u{shouldProcessUrl(a){return!0}extract(a){return a}merge(a,d){return a}static#e=this.\u0275fac=function(d){return new(d||u)};static#t=this.\u0275prov=s.Yz7({token:u,factory:u.\u0275fac,providedIn:"root"})}return u})();const Fs=new s.OlP(""),Ls=new s.OlP("");function Pu(u,c,a){const d=u.get(Ls),g=u.get(L.K0);return u.get(s.R0b).runOutsideAngular(()=>{if(!g.startViewTransition||d.skipNextTransition)return d.skipNextTransition=!1,Promise.resolve();let D;const M=new Promise(ie=>{D=ie}),F=g.startViewTransition(()=>(D(),function al(u){return new Promise(c=>{(0,s.T8G)(c,{injector:u})})}(u))),{onViewTransitionCreated:O}=d;return O&&(0,s.r_H)(u,()=>O({transition:F,from:c,to:a})),M})}let ks=(()=>{class u{get hasRequestedNavigation(){return 0!==this.navigationId}constructor(){this.currentNavigation=null,this.currentTransition=null,this.lastSuccessfulNavigation=null,this.events=new pr.xQ,this.transitionAbortSubject=new pr.xQ,this.configLoader=(0,s.f3M)(_a),this.environmentInjector=(0,s.f3M)(s.lqb),this.urlSerializer=(0,s.f3M)(qn),this.rootContexts=(0,s.f3M)(yn),this.location=(0,s.f3M)(L.Ye),this.inputBindingEnabled=null!==(0,s.f3M)(Ht,{optional:!0}),this.titleStrategy=(0,s.f3M)(il),this.options=(0,s.f3M)(ds,{optional:!0})||{},this.paramsInheritanceStrategy=this.options.paramsInheritanceStrategy||"emptyOnly",this.urlHandlingStrategy=(0,s.f3M)(Ru),this.createViewTransition=(0,s.f3M)(Fs,{optional:!0}),this.navigationId=0,this.afterPreactivation=()=>(0,ze.of)(void 0),this.rootComponentType=null,this.configLoader.onLoadEndListener=g=>this.events.next(new Ss(g)),this.configLoader.onLoadStartListener=g=>this.events.next(new ei(g))}complete(){this.transitions?.complete()}handleNavigationRequest(a){const d=++this.navigationId;this.transitions?.next({...this.transitions.value,...a,id:d})}setupNavigations(a,d,g){return this.transitions=new hn.X({id:0,currentUrlTree:d,currentRawUrl:d,extractedUrl:this.urlHandlingStrategy.extract(d),urlAfterRedirects:this.urlHandlingStrategy.extract(d),rawUrl:d,extras:{},resolve:null,reject:null,promise:Promise.resolve(!0),source:zt,restoredState:null,currentSnapshot:g.snapshot,targetSnapshot:null,currentRouterState:g,targetRouterState:null,guards:{canActivateChecks:[],canDeactivateChecks:[]},guardsResult:null}),this.transitions.pipe(En(D=>0!==D.id),(0,Dt.U)(D=>({...D,extractedUrl:this.urlHandlingStrategy.extract(D.rawUrl)})),(0,bn.w)(D=>{this.currentTransition=D;let M=!1,F=!1;return(0,ze.of)(D).pipe((0,wt.b)(O=>{this.currentNavigation={id:O.id,initialUrl:O.rawUrl,extractedUrl:O.extractedUrl,trigger:O.source,extras:O.extras,previousNavigation:this.lastSuccessfulNavigation?{...this.lastSuccessfulNavigation,previousNavigation:null}:null}}),(0,bn.w)(O=>{const ie=!a.navigated||this.isUpdatingInternalState()||this.isUpdatedBrowserUrl();if(!ie&&"reload"!==(O.extras.onSameUrlNavigation??a.onSameUrlNavigation)){const Fe="";return this.events.next(new Mr(O.id,this.urlSerializer.serialize(O.rawUrl),Fe,0)),O.resolve(null),jn}if(this.urlHandlingStrategy.shouldProcessUrl(O.rawUrl))return(0,ze.of)(O).pipe((0,bn.w)(Fe=>{const st=this.transitions?.getValue();return this.events.next(new Ye(Fe.id,this.urlSerializer.serialize(Fe.extractedUrl),Fe.source,Fe.restoredState)),st!==this.transitions?.getValue()?jn:Promise.resolve(Fe)}),function rl(u,c,a,d,g,D){return(0,on.zg)(M=>function cf(u,c,a,d,g,D,M="emptyOnly"){return new Au(u,c,a,d,g,M,D).recognize()}(u,c,a,d,M.extractedUrl,g,D).pipe((0,Dt.U)(({state:F,tree:O})=>({...M,targetSnapshot:F,urlAfterRedirects:O}))))}(this.environmentInjector,this.configLoader,this.rootComponentType,a.config,this.urlSerializer,this.paramsInheritanceStrategy),(0,wt.b)(Fe=>{D.targetSnapshot=Fe.targetSnapshot,D.urlAfterRedirects=Fe.urlAfterRedirects,this.currentNavigation={...this.currentNavigation,finalUrl:Fe.urlAfterRedirects};const st=new Vi(Fe.id,this.urlSerializer.serialize(Fe.extractedUrl),this.urlSerializer.serialize(Fe.urlAfterRedirects),Fe.targetSnapshot);this.events.next(st)}));if(ie&&this.urlHandlingStrategy.shouldProcessUrl(O.currentRawUrl)){const{id:Fe,extractedUrl:st,source:Dr,restoredState:Mn,extras:Mt}=O,Ut=new Ye(Fe,this.urlSerializer.serialize(st),Dr,Mn);this.events.next(Ut);const Sn=_u(0,this.rootComponentType).snapshot;return this.currentTransition=D={...O,targetSnapshot:Sn,urlAfterRedirects:st,extras:{...Mt,skipLocationChange:!1,replaceUrl:!1}},this.currentNavigation.finalUrl=st,(0,ze.of)(D)}{const Fe="";return this.events.next(new Mr(O.id,this.urlSerializer.serialize(O.extractedUrl),Fe,1)),O.resolve(null),jn}}),(0,wt.b)(O=>{const ie=new ji(O.id,this.urlSerializer.serialize(O.extractedUrl),this.urlSerializer.serialize(O.urlAfterRedirects),O.targetSnapshot);this.events.next(ie)}),(0,Dt.U)(O=>(this.currentTransition=D={...O,guards:Ns(O.targetSnapshot,O.currentSnapshot,this.rootContexts)},D)),function Kd(u,c){return(0,on.zg)(a=>{const{targetSnapshot:d,currentSnapshot:g,guards:{canActivateChecks:D,canDeactivateChecks:M}}=a;return 0===M.length&&0===D.length?(0,ze.of)({...a,guardsResult:!0}):function Qd(u,c,a,d){return(0,qt.D)(u).pipe((0,on.zg)(g=>function tf(u,c,a,d,g){const D=c&&c.routeConfig?c.routeConfig.canDeactivate:null;if(!D||0===D.length)return(0,ze.of)(!0);const M=D.map(F=>{const O=ss(c)??g,ie=Bn(F,O);return ir(function pa(u){return u&&us(u.canDeactivate)}(ie)?ie.canDeactivate(u,c,a,d):(0,s.r_H)(O,()=>ie(u,c,a,d))).pipe(or())});return(0,ze.of)(M).pipe(cs())}(g.component,g.route,a,c,d)),or(g=>!0!==g,!0))}(M,d,g,u).pipe((0,on.zg)(F=>F&&function qd(u){return"boolean"==typeof u}(F)?function Kc(u,c,a,d){return(0,qt.D)(c).pipe(Rr(g=>(0,Kt.z)(function Jd(u,c){return null!==u&&c&&c(new vi(u)),(0,ze.of)(!0)}(g.route.parent,d),function ls(u,c){return null!==u&&c&&c(new fa(u)),(0,ze.of)(!0)}(g.route,d),function ef(u,c,a){const d=c[c.length-1],D=c.slice(0,c.length-1).reverse().map(M=>function as(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=>Cn(()=>{const F=M.guards.map(O=>{const ie=ss(M.node)??a,Ae=Bn(O,ie);return ir(function Zc(u){return u&&us(u.canActivateChild)}(Ae)?Ae.canActivateChild(d,u):(0,s.r_H)(ie,()=>Ae(d,u))).pipe(or())});return(0,ze.of)(F).pipe(cs())}));return(0,ze.of)(D).pipe(cs())}(u,g.path,a),function Xd(u,c,a){const d=c.routeConfig?c.routeConfig.canActivate:null;if(!d||0===d.length)return(0,ze.of)(!0);const g=d.map(D=>Cn(()=>{const M=ss(c)??a,F=Bn(D,M);return ir(function Yc(u){return u&&us(u.canActivate)}(F)?F.canActivate(c,u):(0,s.r_H)(M,()=>F(c,u))).pipe(or())}));return(0,ze.of)(g).pipe(cs())}(u,g.route,a))),or(g=>!0!==g,!0))}(d,D,u,c):(0,ze.of)(F)),(0,Dt.U)(F=>({...a,guardsResult:F})))})}(this.environmentInjector,O=>this.events.next(O)),(0,wt.b)(O=>{if(D.guardsResult=O.guardsResult,Vr(O.guardsResult))throw _i(0,O.guardsResult);const ie=new ro(O.id,this.urlSerializer.serialize(O.extractedUrl),this.urlSerializer.serialize(O.urlAfterRedirects),O.targetSnapshot,!!O.guardsResult);this.events.next(ie)}),En(O=>!!O.guardsResult||(this.cancelNavigationTransition(O,"",3),!1)),tn(O=>{if(O.guards.canActivateChecks.length)return(0,ze.of)(O).pipe((0,wt.b)(ie=>{const Ae=new rs(ie.id,this.urlSerializer.serialize(ie.extractedUrl),this.urlSerializer.serialize(ie.urlAfterRedirects),ie.targetSnapshot);this.events.next(Ae)}),(0,bn.w)(ie=>{let Ae=!1;return(0,ze.of)(ie).pipe(function ol(u,c){return(0,on.zg)(a=>{const{targetSnapshot:d,guards:{canActivateChecks:g}}=a;if(!g.length)return(0,ze.of)(a);const D=new Set(g.map(O=>O.route)),M=new Set;for(const O of D)if(!M.has(O))for(const ie of ya(O))M.add(ie);let F=0;return(0,qt.D)(M).pipe(Rr(O=>D.has(O)?function df(u,c,a,d){const g=u.routeConfig,D=u._resolve;return void 0!==g?.title&&!Pe(g)&&(D[Fr]=g.title),function cr(u,c,a,d){const g=Ir(u);if(0===g.length)return(0,ze.of)({});const D={};return(0,qt.D)(g).pipe((0,on.zg)(M=>function Bi(u,c,a,d){const g=ss(c)??d,D=Bn(u,g);return ir(D.resolve?D.resolve(c,a):(0,s.r_H)(g,()=>D(c,a)))}(u[M],c,a,d).pipe(or(),(0,wt.b)(F=>{D[M]=F}))),A(1),function Me(u){return c=>c.lift(new Be(u))}(D),(0,Pr.K)(M=>wu(M)?jn:Nr(M)))}(D,u,c,d).pipe((0,Dt.U)(M=>(u._resolvedData=M,u.data=p(u,u.parent,a).resolve,null)))}(O,d,u,c):(O.data=p(O,O.parent,u).resolve,(0,ze.of)(void 0))),(0,wt.b)(()=>F++),A(1),(0,on.zg)(O=>F===M.size?(0,ze.of)(a):jn))})}(this.paramsInheritanceStrategy,this.environmentInjector),(0,wt.b)({next:()=>Ae=!0,complete:()=>{Ae||this.cancelNavigationTransition(ie,"",2)}}))}),(0,wt.b)(ie=>{const Ae=new yu(ie.id,this.urlSerializer.serialize(ie.extractedUrl),this.urlSerializer.serialize(ie.urlAfterRedirects),ie.targetSnapshot);this.events.next(Ae)}))}),tn(O=>{const ie=Ae=>{const Fe=[];Ae.routeConfig?.loadComponent&&!Ae.routeConfig._loadedComponent&&Fe.push(this.configLoader.loadComponent(Ae.routeConfig).pipe((0,wt.b)(st=>{Ae.component=st}),(0,Dt.U)(()=>{})));for(const st of Ae.children)Fe.push(...ie(st));return Fe};return(0,Yo.aj)(ie(O.targetSnapshot.root)).pipe(xr(),Er(1))}),tn(()=>this.afterPreactivation()),(0,bn.w)(()=>{const{currentSnapshot:O,targetSnapshot:ie}=D,Ae=this.createViewTransition?.(this.environmentInjector,O.root,ie.root);return Ae?(0,qt.D)(Ae).pipe((0,Dt.U)(()=>D)):(0,ze.of)(D)}),(0,Dt.U)(O=>{const ie=function gn(u,c,a){const d=Pt(u,c._root,a?a._root:void 0);return new Ts(d,c)}(a.routeReuseStrategy,O.targetSnapshot,O.currentRouterState);return this.currentTransition=D={...O,targetRouterState:ie},this.currentNavigation.targetRouterState=ie,D}),(0,wt.b)(()=>{this.events.next(new yi)}),((u,c,a,d)=>(0,Dt.U)(g=>(new Os(c,g.targetRouterState,g.currentRouterState,a,d).activate(u),g)))(this.rootContexts,a.routeReuseStrategy,O=>this.events.next(O),this.inputBindingEnabled),Er(1),(0,wt.b)({next:O=>{M=!0,this.lastSuccessfulNavigation=this.currentNavigation,this.events.next(new Pn(O.id,this.urlSerializer.serialize(O.extractedUrl),this.urlSerializer.serialize(O.urlAfterRedirects))),this.titleStrategy?.updateTitle(O.targetRouterState.snapshot),O.resolve(!0)},complete:()=>{M=!0}}),(0,ts.R)(this.transitionAbortSubject.pipe((0,wt.b)(O=>{throw O}))),sn(()=>{M||F||this.cancelNavigationTransition(D,"",1),this.currentNavigation?.id===D.id&&(this.currentNavigation=null)}),(0,Pr.K)(O=>{if(F=!0,Ho(O))this.events.next(new mi(D.id,this.urlSerializer.serialize(D.extractedUrl),O.message,O.cancellationCode)),function Di(u){return Ho(u)&&Vr(u.url)}(O)?this.events.next(new ko(O.url)):D.resolve(!1);else{this.events.next(new Wt(D.id,this.urlSerializer.serialize(D.extractedUrl),O,D.targetSnapshot??void 0));try{D.resolve(a.errorHandler(O))}catch(ie){D.reject(ie)}}return jn}))}))}cancelNavigationTransition(a,d,g){const D=new mi(a.id,this.urlSerializer.serialize(a.extractedUrl),d,g);this.events.next(D),a.resolve(!1)}isUpdatingInternalState(){return this.currentTransition?.extractedUrl.toString()!==this.currentTransition?.currentUrlTree.toString()}isUpdatedBrowserUrl(){return this.urlHandlingStrategy.extract(this.urlSerializer.parse(this.location.path(!0))).toString()!==this.currentTransition?.extractedUrl.toString()&&!this.currentTransition?.extras.skipLocationChange}static#e=this.\u0275fac=function(d){return new(d||u)};static#t=this.\u0275prov=s.Yz7({token:u,factory:u.\u0275fac,providedIn:"root"})}return u})();function hf(u){return u!==zt}let hs=(()=>{class u{static#e=this.\u0275fac=function(d){return new(d||u)};static#t=this.\u0275prov=s.Yz7({token:u,factory:()=>(0,s.f3M)(pf),providedIn:"root"})}return u})();class Vs{shouldDetach(c){return!1}store(c,a){}shouldAttach(c){return!1}retrieve(c){return null}shouldReuseRoute(c,a){return c.routeConfig===a.routeConfig}}let pf=(()=>{class u extends Vs{static#e=this.\u0275fac=(()=>{let a;return function(g){return(a||(a=s.n5z(u)))(g||u)}})();static#t=this.\u0275prov=s.Yz7({token:u,factory:u.\u0275fac,providedIn:"root"})}return u})(),ba=(()=>{class u{static#e=this.\u0275fac=function(d){return new(d||u)};static#t=this.\u0275prov=s.Yz7({token:u,factory:()=>(0,s.f3M)(gf),providedIn:"root"})}return u})(),gf=(()=>{class u extends ba{constructor(){super(...arguments),this.location=(0,s.f3M)(L.Ye),this.urlSerializer=(0,s.f3M)(qn),this.options=(0,s.f3M)(ds,{optional:!0})||{},this.canceledNavigationResolution=this.options.canceledNavigationResolution||"replace",this.urlHandlingStrategy=(0,s.f3M)(Ru),this.urlUpdateStrategy=this.options.urlUpdateStrategy||"deferred",this.currentUrlTree=new dn,this.rawUrlTree=this.currentUrlTree,this.currentPageId=0,this.lastSuccessfulId=-1,this.routerState=_u(0,null),this.stateMemento=this.createStateMemento()}getCurrentUrlTree(){return this.currentUrlTree}getRawUrlTree(){return this.rawUrlTree}restoredState(){return this.location.getState()}get browserPageId(){return"computed"!==this.canceledNavigationResolution?this.currentPageId:this.restoredState()?.\u0275routerPageId??this.currentPageId}getRouterState(){return this.routerState}createStateMemento(){return{rawUrlTree:this.rawUrlTree,currentUrlTree:this.currentUrlTree,routerState:this.routerState}}registerNonRouterCurrentEntryChangeListener(a){return this.location.subscribe(d=>{"popstate"===d.type&&a(d.url,d.state)})}handleRouterEvent(a,d){if(a instanceof Ye)this.stateMemento=this.createStateMemento();else if(a instanceof Mr)this.rawUrlTree=d.initialUrl;else if(a instanceof Vi){if("eager"===this.urlUpdateStrategy&&!d.extras.skipLocationChange){const g=this.urlHandlingStrategy.merge(d.finalUrl,d.initialUrl);this.setBrowserUrl(g,d)}}else a instanceof yi?(this.currentUrlTree=d.finalUrl,this.rawUrlTree=this.urlHandlingStrategy.merge(d.finalUrl,d.initialUrl),this.routerState=d.targetRouterState,"deferred"===this.urlUpdateStrategy&&(d.extras.skipLocationChange||this.setBrowserUrl(this.rawUrlTree,d))):a instanceof mi&&(3===a.code||2===a.code)?this.restoreHistory(d):a instanceof Wt?this.restoreHistory(d,!0):a instanceof Pn&&(this.lastSuccessfulId=a.id,this.currentPageId=this.browserPageId)}setBrowserUrl(a,d){const g=this.urlSerializer.serialize(a);if(this.location.isCurrentPathEqualTo(g)||d.extras.replaceUrl){const M={...d.extras.state,...this.generateNgRouterState(d.id,this.browserPageId)};this.location.replaceState(g,"",M)}else{const D={...d.extras.state,...this.generateNgRouterState(d.id,this.browserPageId+1)};this.location.go(g,"",D)}}restoreHistory(a,d=!1){if("computed"===this.canceledNavigationResolution){const D=this.currentPageId-this.browserPageId;0!==D?this.location.historyGo(D):this.currentUrlTree===a.finalUrl&&0===D&&(this.resetState(a),this.resetUrlToCurrentUrlTree())}else"replace"===this.canceledNavigationResolution&&(d&&this.resetState(a),this.resetUrlToCurrentUrlTree())}resetState(a){this.routerState=this.stateMemento.routerState,this.currentUrlTree=this.stateMemento.currentUrlTree,this.rawUrlTree=this.urlHandlingStrategy.merge(this.currentUrlTree,a.finalUrl??this.rawUrlTree)}resetUrlToCurrentUrlTree(){this.location.replaceState(this.urlSerializer.serialize(this.rawUrlTree),"",this.generateNgRouterState(this.lastSuccessfulId,this.currentPageId))}generateNgRouterState(a,d){return"computed"===this.canceledNavigationResolution?{navigationId:a,\u0275routerPageId:d}:{navigationId:a}}static#e=this.\u0275fac=(()=>{let a;return function(g){return(a||(a=s.n5z(u)))(g||u)}})();static#t=this.\u0275prov=s.Yz7({token:u,factory:u.\u0275fac,providedIn:"root"})}return u})();var js=function(u){return u[u.COMPLETE=0]="COMPLETE",u[u.FAILED=1]="FAILED",u[u.REDIRECTING=2]="REDIRECTING",u}(js||{});function ul(u,c){u.events.pipe(En(a=>a instanceof Pn||a instanceof mi||a instanceof Wt||a instanceof Mr),(0,Dt.U)(a=>a instanceof Pn||a instanceof Mr?js.COMPLETE:a instanceof mi&&(0===a.code||1===a.code)?js.REDIRECTING:js.FAILED),En(a=>a!==js.REDIRECTING),Er(1)).subscribe(()=>{c()})}function cg(u){throw u}const lg={paths:"exact",fragment:"ignored",matrixParams:"ignored",queryParams:"exact"},Fu={paths:"subset",fragment:"ignored",matrixParams:"ignored",queryParams:"subset"};let lr=(()=>{class u{get currentUrlTree(){return this.stateManager.getCurrentUrlTree()}get rawUrlTree(){return this.stateManager.getRawUrlTree()}get events(){return this._events}get routerState(){return this.stateManager.getRouterState()}constructor(){this.disposed=!1,this.isNgZoneEnabled=!1,this.console=(0,s.f3M)(s.c2e),this.stateManager=(0,s.f3M)(ba),this.options=(0,s.f3M)(ds,{optional:!0})||{},this.pendingTasks=(0,s.f3M)(s.HDt),this.urlUpdateStrategy=this.options.urlUpdateStrategy||"deferred",this.navigationTransitions=(0,s.f3M)(ks),this.urlSerializer=(0,s.f3M)(qn),this.location=(0,s.f3M)(L.Ye),this.urlHandlingStrategy=(0,s.f3M)(Ru),this._events=new pr.xQ,this.errorHandler=this.options.errorHandler||cg,this.navigated=!1,this.routeReuseStrategy=(0,s.f3M)(hs),this.onSameUrlNavigation=this.options.onSameUrlNavigation||"ignore",this.config=(0,s.f3M)(fs,{optional:!0})?.flat()??[],this.componentInputBindingEnabled=!!(0,s.f3M)(Ht,{optional:!0}),this.eventsSubscription=new br.w,this.isNgZoneEnabled=(0,s.f3M)(s.R0b)instanceof s.R0b&&s.R0b.isInAngularZone(),this.resetConfig(this.config),this.navigationTransitions.setupNavigations(this,this.currentUrlTree,this.routerState).subscribe({error:a=>{this.console.warn(a)}}),this.subscribeToNavigationEvents()}subscribeToNavigationEvents(){const a=this.navigationTransitions.events.subscribe(d=>{try{const g=this.navigationTransitions.currentTransition,D=this.navigationTransitions.currentNavigation;if(null!==g&&null!==D)if(this.stateManager.handleRouterEvent(d,D),d instanceof mi&&0!==d.code&&1!==d.code)this.navigated=!0;else if(d instanceof Pn)this.navigated=!0;else if(d instanceof ko){const M=this.urlHandlingStrategy.merge(d.url,g.currentRawUrl),F={skipLocationChange:g.extras.skipLocationChange,replaceUrl:"eager"===this.urlUpdateStrategy||hf(g.source)};this.scheduleNavigation(M,zt,null,F,{resolve:g.resolve,reject:g.reject,promise:g.promise})}(function Hs(u){return!(u instanceof yi||u instanceof ko)})(d)&&this._events.next(d)}catch(g){this.navigationTransitions.transitionAbortSubject.next(g)}});this.eventsSubscription.add(a)}resetRootComponentType(a){this.routerState.root.component=a,this.navigationTransitions.rootComponentType=a}initialNavigation(){this.setUpLocationChangeListener(),this.navigationTransitions.hasRequestedNavigation||this.navigateToSyncWithBrowser(this.location.path(!0),zt,this.stateManager.restoredState())}setUpLocationChangeListener(){this.nonRouterCurrentEntryChangeSubscription||(this.nonRouterCurrentEntryChangeSubscription=this.stateManager.registerNonRouterCurrentEntryChangeListener((a,d)=>{setTimeout(()=>{this.navigateToSyncWithBrowser(a,"popstate",d)},0)}))}navigateToSyncWithBrowser(a,d,g){const D={replaceUrl:!0},M=g?.navigationId?g:null;if(g){const O={...g};delete O.navigationId,delete O.\u0275routerPageId,0!==Object.keys(O).length&&(D.state=O)}const F=this.parseUrl(a);this.scheduleNavigation(F,d,M,D)}get url(){return this.serializeUrl(this.currentUrlTree)}getCurrentNavigation(){return this.navigationTransitions.currentNavigation}get lastSuccessfulNavigation(){return this.navigationTransitions.lastSuccessfulNavigation}resetConfig(a){this.config=a.map(Cu),this.navigated=!1}ngOnDestroy(){this.dispose()}dispose(){this.navigationTransitions.complete(),this.nonRouterCurrentEntryChangeSubscription&&(this.nonRouterCurrentEntryChangeSubscription.unsubscribe(),this.nonRouterCurrentEntryChangeSubscription=void 0),this.disposed=!0,this.eventsSubscription.unsubscribe()}createUrlTree(a,d={}){const{relativeTo:g,queryParams:D,fragment:M,queryParamsHandling:F,preserveFragment:O}=d,ie=O?this.currentUrlTree.fragment:M;let Fe,Ae=null;switch(F){case"merge":Ae={...this.currentUrlTree.queryParams,...D};break;case"preserve":Ae=this.currentUrlTree.queryParams;break;default:Ae=D||null}null!==Ae&&(Ae=this.removeEmptyProps(Ae));try{Fe=ut(g?g.snapshot:this.routerState.snapshot.root)}catch{("string"!=typeof a[0]||!a[0].startsWith("/"))&&(a=[]),Fe=this.currentUrlTree.root}return B(Fe,a,Ae,ie??null)}navigateByUrl(a,d={skipLocationChange:!1}){const g=Vr(a)?a:this.parseUrl(a),D=this.urlHandlingStrategy.merge(g,this.rawUrlTree);return this.scheduleNavigation(D,zt,null,d)}navigate(a,d={skipLocationChange:!1}){return function mf(u){for(let c=0;c<u.length;c++)if(null==u[c])throw new s.vHH(4008,!1)}(a),this.navigateByUrl(this.createUrlTree(a,d),d)}serializeUrl(a){return this.urlSerializer.serialize(a)}parseUrl(a){try{return this.urlSerializer.parse(a)}catch{return this.urlSerializer.parse("/")}}isActive(a,d){let g;if(g=!0===d?{...lg}:!1===d?{...Fu}:d,Vr(a))return pt(this.currentUrlTree,a,g);const D=this.parseUrl(a);return pt(this.currentUrlTree,D,g)}removeEmptyProps(a){return Object.keys(a).reduce((d,g)=>{const D=a[g];return null!=D&&(d[g]=D),d},{})}scheduleNavigation(a,d,g,D,M){if(this.disposed)return Promise.resolve(!1);let F,O,ie;M?(F=M.resolve,O=M.reject,ie=M.promise):ie=new Promise((Fe,st)=>{F=Fe,O=st});const Ae=this.pendingTasks.add();return ul(this,()=>{queueMicrotask(()=>this.pendingTasks.remove(Ae))}),this.navigationTransitions.handleNavigationRequest({source:d,restoredState:g,currentUrlTree:this.currentUrlTree,currentRawUrl:this.currentUrlTree,rawUrl:a,extras:D,resolve:F,reject:O,promise:ie,currentSnapshot:this.routerState.snapshot,currentRouterState:this.routerState}),ie.catch(Fe=>Promise.reject(Fe))}static#e=this.\u0275fac=function(d){return new(d||u)};static#t=this.\u0275prov=s.Yz7({token:u,factory:u.\u0275fac,providedIn:"root"})}return u})();class Lu{}let $o=(()=>{class u{constructor(a,d,g,D,M){this.router=a,this.injector=g,this.preloadingStrategy=D,this.loader=M}setUpPreloading(){this.subscription=this.router.events.pipe(En(a=>a instanceof Pn),Rr(()=>this.preload())).subscribe(()=>{})}preload(){return this.processRoutes(this.injector,this.router.config)}ngOnDestroy(){this.subscription&&this.subscription.unsubscribe()}processRoutes(a,d){const g=[];for(const D of d){D.providers&&!D._injector&&(D._injector=(0,s.MMx)(D.providers,a,`Route: ${D.path}`));const M=D._injector??a,F=D._loadedInjector??M;(D.loadChildren&&!D._loadedRoutes&&void 0===D.canLoad||D.loadComponent&&!D._loadedComponent)&&g.push(this.preloadConfig(M,D)),(D.children||D._loadedRoutes)&&g.push(this.processRoutes(F,D.children??D._loadedRoutes))}return(0,qt.D)(g).pipe((0,No.J)())}preloadConfig(a,d){return this.preloadingStrategy.preload(d,()=>{let g;g=d.loadChildren&&void 0===d.canLoad?this.loader.loadChildren(a,d):(0,ze.of)(null);const D=g.pipe((0,on.zg)(M=>null===M?(0,ze.of)(void 0):(d._loadedRoutes=M.routes,d._loadedInjector=M.injector,this.processRoutes(M.injector??a,M.routes))));if(d.loadComponent&&!d._loadedComponent){const M=this.loader.loadComponent(d);return(0,qt.D)([D,M]).pipe((0,No.J)())}return D})}static#e=this.\u0275fac=function(d){return new(d||u)(s.LFG(lr),s.LFG(s.Sil),s.LFG(s.lqb),s.LFG(Lu),s.LFG(_a))};static#t=this.\u0275prov=s.Yz7({token:u,factory:u.\u0275fac,providedIn:"root"})}return u})();const ku=new s.OlP("");let Bs=(()=>{class u{constructor(a,d,g,D,M={}){this.urlSerializer=a,this.transitions=d,this.viewportScroller=g,this.zone=D,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(a=>{a instanceof Ye?(this.store[this.lastId]=this.viewportScroller.getScrollPosition(),this.lastSource=a.navigationTrigger,this.restoredId=a.restoredState?a.restoredState.navigationId:0):a instanceof Pn?(this.lastId=a.id,this.scheduleScrollEvent(a,this.urlSerializer.parse(a.urlAfterRedirects).fragment)):a instanceof Mr&&0===a.code&&(this.lastSource=void 0,this.restoredId=0,this.scheduleScrollEvent(a,this.urlSerializer.parse(a.url).fragment))})}consumeScrollEvents(){return this.transitions.events.subscribe(a=>{a instanceof oo&&(a.position?"top"===this.options.scrollPositionRestoration?this.viewportScroller.scrollToPosition([0,0]):"enabled"===this.options.scrollPositionRestoration&&this.viewportScroller.scrollToPosition(a.position):a.anchor&&"enabled"===this.options.anchorScrolling?this.viewportScroller.scrollToAnchor(a.anchor):"disabled"!==this.options.scrollPositionRestoration&&this.viewportScroller.scrollToPosition([0,0]))})}scheduleScrollEvent(a,d){this.zone.runOutsideAngular(()=>{setTimeout(()=>{this.zone.run(()=>{this.transitions.events.next(new oo(a,"popstate"===this.lastSource?this.store[this.restoredId]:null,d))})},0)})}ngOnDestroy(){this.routerEventsSubscription?.unsubscribe(),this.scrollEventsSubscription?.unsubscribe()}static#e=this.\u0275fac=function(d){s.$Z()};static#t=this.\u0275prov=s.Yz7({token:u,factory:u.\u0275fac})}return u})();function jr(u,c){return{\u0275kind:u,\u0275providers:c}}function Hu(){const u=(0,s.f3M)(s.zs3);return c=>{const a=u.get(s.z2F);if(c!==a.components[0])return;const d=u.get(lr),g=u.get(Uu);1===u.get(Bu)&&d.initialNavigation(),u.get($u,null,s.XFs.Optional)?.setUpPreloading(),u.get(ku,null,s.XFs.Optional)?.init(),d.resetRootComponentType(a.componentTypes[0]),g.closed||(g.next(),g.complete(),g.unsubscribe())}}const Uu=new s.OlP("",{factory:()=>new pr.xQ}),Bu=new s.OlP("",{providedIn:"root",factory:()=>1}),$u=new s.OlP("");function ll(u){return jr(0,[{provide:$u,useExisting:$o},{provide:Lu,useExisting:u}])}function dl(u){return jr(9,[{provide:Fs,useValue:Pu},{provide:Ls,useValue:{skipNextTransition:!!u?.skipInitialTransition,...u}}])}const hl=new s.OlP("ROUTER_FORROOT_GUARD"),pl=[L.Ye,{provide:qn,useClass:sr},lr,yn,{provide:ti,useFactory:function Vu(u){return u.routerState.root},deps:[lr]},_a,[]];let Ia=(()=>{class u{constructor(a){}static forRoot(a,d){return{ngModule:u,providers:[pl,[],{provide:fs,multi:!0,useValue:a},{provide:hl,useFactory:gl,deps:[[lr,new s.FiY,new s.tp0]]},{provide:ds,useValue:d||{}},d?.useHash?{provide:L.S$,useClass:L.Do}:{provide:L.S$,useClass:L.b0},{provide:ku,useFactory:()=>{const u=(0,s.f3M)(L.EM),c=(0,s.f3M)(s.R0b),a=(0,s.f3M)(ds),d=(0,s.f3M)(ks),g=(0,s.f3M)(qn);return a.scrollOffset&&u.setOffset(a.scrollOffset),new Bs(g,d,u,c,a)}},d?.preloadingStrategy?ll(d.preloadingStrategy).\u0275providers:[],d?.initialNavigation?Gu(d):[],d?.bindToComponentInputs?jr(8,[yt,{provide:Ht,useExisting:yt}]).\u0275providers:[],d?.enableViewTransitions?dl().\u0275providers:[],[{provide:Gi,useFactory:Hu},{provide:s.tb,multi:!0,useExisting:Gi}]]}}static forChild(a){return{ngModule:u,providers:[{provide:fs,multi:!0,useValue:a}]}}static#e=this.\u0275fac=function(d){return new(d||u)(s.LFG(hl,8))};static#t=this.\u0275mod=s.oAB({type:u});static#n=this.\u0275inj=s.cJS({})}return u})();function gl(u){return"guarded"}function Gu(u){return["disabled"===u.initialNavigation?jr(3,[{provide:s.ip1,multi:!0,useFactory:()=>{const c=(0,s.f3M)(lr);return()=>{c.setUpLocationChangeListener()}}},{provide:Bu,useValue:2}]).\u0275providers:[],"enabledBlocking"===u.initialNavigation?jr(2,[{provide:Bu,useValue:0},{provide:s.ip1,multi:!0,deps:[s.zs3],useFactory:c=>{const a=c.get(L.V_,Promise.resolve());return()=>a.then(()=>new Promise(d=>{const g=c.get(lr),D=c.get(Uu);ul(g,()=>{d(!0)}),c.get(ks).afterPreactivation=()=>(d(!0),D.closed?(0,ze.of)(void 0):D),g.initialNavigation()}))}}]).\u0275providers:[]]}const Gi=new s.OlP(""),vg=[{path:"",loadChildren:()=>S.e(403).then(S.bind(S,9403)).then(u=>u.routes)}];let vs=(()=>{class u{static#e=this.\u0275fac=function(d){return new(d||u)};static#t=this.\u0275mod=s.oAB({type:u});static#n=this.\u0275inj=s.cJS({imports:[Ia.forRoot(vg),Ia]})}return u})();var ml=S(3304),Cf=S(944);ml.extend(Cf);const vl=window.gtag||(()=>{}),bf=window.website_ga_id,Tr=window.libs_ga_id;let ys=(()=>{class u{constructor(a,d){this.router=a,this.transService=d}trackPage(a){this.trackEvent("View_Page",a)}trackButton(a){this.trackEvent("Click_Button",a)}trackLink(a){this.trackEvent("Visit_Link",a)}trackEvent(a,d){const g={send_to:bf,datetime:ml().utc().format(),url:this.router.url,language:this.transService.lang,...d},D={...g,send_to:Tr,website_id:"@bigbear713/nb-form"};vl("event",a,g),vl("event",a,D)}static#e=this.\u0275fac=function(d){return new(d||u)(s.LFG(lr),s.LFG(un.v6))};static#t=this.\u0275prov=s.Yz7({token:u,factory:u.\u0275fac,providedIn:"root"})}return u})();function yl(u,c){if(1&u){const a=s.EpF();s.TgZ(0,"form",6)(1,"nb-field-item",7)(2,"span",8),s._uU(3),s.ALo(4,"nbTrans"),s.qZA(),s._UZ(5,"input",9),s.qZA(),s.TgZ(6,"nb-field-item",10)(7,"span",8),s._uU(8),s.ALo(9,"nbTrans"),s.qZA(),s._UZ(10,"input",9),s.qZA(),s.TgZ(11,"nb-field-item",10)(12,"span",8),s._uU(13),s.ALo(14,"nbTrans"),s.qZA(),s.TgZ(15,"input",11),s.NdJ("change",function(g){s.CHM(a);const D=s.oxw();return s.KtG(D.onChangeFile(g))}),s.qZA()(),s.TgZ(16,"nb-field-item",12)(17,"span",8),s._uU(18),s.ALo(19,"nbTrans"),s.qZA(),s._UZ(20,"input",9),s.qZA(),s.TgZ(21,"nb-field-item",12)(22,"span",8),s._uU(23),s.ALo(24,"nbTrans"),s.qZA(),s._UZ(25,"input",9),s.qZA(),s.TgZ(26,"nb-field-item",10)(27,"span",8)(28,"i"),s._uU(29,"+"),s.qZA(),s._uU(30),s.ALo(31,"nbTrans"),s.qZA(),s._UZ(32,"input",9),s.qZA()()}if(2&u){const a=s.oxw();s.Q6J("formGroup",a.form),s.xp6(1),s.Q6J("required",!0)("control",a.field1Ctrl)("errInfo",a.errInfo1),s.xp6(2),s.hij("",s.lcZ(4,23,"demoContent.field1"),"\uff1a"),s.xp6(2),s.Q6J("formControl",a.field1Ctrl),s.xp6(1),s.Q6J("control",a.field2Ctrl)("errInfo",a.errInfo1),s.xp6(2),s.hij("",s.lcZ(9,25,"demoContent.field2"),"\uff1a"),s.xp6(2),s.Q6J("formControl",a.field2Ctrl),s.xp6(1),s.Q6J("control",a.field3Ctrl)("errInfo",a.errInfo2),s.xp6(2),s.hij("",s.lcZ(14,27,"demoContent.field3"),"\uff1a"),s.xp6(3),s.Q6J("control",a.field4Ctrl),s.xp6(2),s.hij("",s.lcZ(19,29,"demoContent.field4"),"\uff1a"),s.xp6(2),s.Q6J("formControl",a.field4Ctrl),s.xp6(1),s.Q6J("control",a.field5Ctrl),s.xp6(2),s.hij("",s.lcZ(24,31,"demoContent.field5"),"\uff1a"),s.xp6(2),s.Q6J("formControl",a.field5Ctrl),s.xp6(1),s.Q6J("control",a.field6Ctrl)("errInfo",a.errInfo1),s.xp6(4),s.hij("",s.lcZ(31,33,"demoContent.field6"),"\uff1a"),s.xp6(2),s.Q6J("formControl",a.field6Ctrl)}}function Ma(u,c){if(1&u&&(s.TgZ(0,"form",13),s._UZ(1,"input",14)(2,"nb-control-err",10),s.qZA()),2&u){const a=s.oxw();s.Q6J("formGroup",a.form),s.xp6(2),s.Q6J("control",a.field1Ctrl)("errInfo",a.errInfo1)}}function Ws(u,c){1&u&&s._uU(0,"+")}let zu=(()=>{class u{get field1Ctrl(){return this.form?.get("field1")}get field2Ctrl(){return this.form?.get("field2")}get field3Ctrl(){return this.form?.get("field3")}get field4Ctrl(){return this.form?.get("field4")}get field5Ctrl(){return this.form?.get("field5")}get field6Ctrl(){return this.form?.get("field6")}constructor(a,d,g,D){this.fb=a,this.formService=d,this.gtagService=g,this.transService=D,this.errInfo1={[en.ti.REQUIRED]:this.transService.translationAsync("errors.required"),[en.ti.WHITESPACE]:this.transService.translationAsync("errors.required")},this.errInfo2={[en.ti.FILE_MAX_SIZE]:"The file max size is 500kb!"},this.links={changelog:{title:"Changelog",link:"https://github.com/bigBear713/nb-form/blob/main/CHANGELOG.md"},document:{title:"Document",link:"https://github.com/bigBear713/nb-form/blob/main/projects/nb-form/README.md"}}}ngOnInit(){this.trackPage(),this.buildForm(),this.formService.updateEqualControlsValidities({target:this.field4Ctrl,compared:this.field5Ctrl})}changeLanguage(a){const d="en"===a?un.oi.EN:un.oi.ZH_CN;this.transService.changeLangSync(d),this.gtagService.trackButton({button_name:"zh-CN"===d?"\u5207\u6362\u4e3a\u4e2d\u6587":"switch as English",language:d})}go2Link(a){this.gtagService.trackLink({link_name:a.title,link:a.link})}resetCtrl1(){this.field1Ctrl.reset(),this.gtagService.trackButton({button_name:"reset field"})}onChangeFile(a){const d=a.target;d&&d.files?.length&&(this.field3Ctrl.markAsDirty(),this.field3Ctrl.setValue(d.files[0]))}onSubmit(){this.formService.showAllErrInfo(this.form),this.gtagService.trackButton({button_name:"submit"})}buildForm(){this.form=this.fb.group({field1:[null,[en.aJ.required(!0)]],field2:[null,[en.aJ.whitespace(!1)]],field3:[void 0,this.formService.getValidatorsFromControlConfig({fileType:["image/svg+xml","image/jpeg"],maxFileSize:5e5,minFileSize:1e5})],field4:[""],field5:[null],field6:[null,[en.aJ.required(!0)]]}),this.field4Ctrl.setValidators([en.aJ.equal(this.field5Ctrl,!1)]),this.field5Ctrl.setValidators([en.aJ.equal(this.field4Ctrl,!1)]),this.field6Ctrl.markAsDirty()}trackPage(){this.gtagService.trackPage({page_name:"homepage"})}static#e=this.\u0275fac=function(d){return new(d||u)(s.Y36(rn.QS),s.Y36(en.LR),s.Y36(ys),s.Y36(un.v6))};static#t=this.\u0275cmp=s.Xpm({type:u,selectors:[["app-root"]],decls:58,vars:42,consts:[["target","_blank",3,"href","click"],["type","button",3,"click"],[3,"formGroup",4,"ngIf"],["style","margin-bottom: 20px;width: 200px;",3,"formGroup",4,"ngIf"],[3,"click"],["requiredIcon",""],[3,"formGroup"],[3,"required","control","errInfo"],["field-label",""],["type","text",3,"formControl"],[3,"control","errInfo"],["type","file",3,"change"],[3,"control"],[2,"margin-bottom","20px","width","200px",3,"formGroup"],["type","text","formControlName","field1"]],template:function(d,g){1&d&&(s.TgZ(0,"h2")(1,"a",0),s.NdJ("click",function(){return g.go2Link(g.links.document)}),s._uU(2),s.qZA(),s.TgZ(3,"a",0),s.NdJ("click",function(){return g.go2Link(g.links.changelog)}),s._uU(4),s.qZA()(),s._UZ(5,"hr"),s.TgZ(6,"h3")(7,"button",1),s.NdJ("click",function(){return g.changeLanguage("zh-CN")}),s._uU(8,"\u5207\u6362\u4e3a\u4e2d\u6587"),s.qZA(),s.TgZ(9,"button",1),s.NdJ("click",function(){return g.changeLanguage("en")}),s._uU(10,"switch as English"),s.qZA()(),s.YNc(11,yl,33,35,"form",2),s._UZ(12,"hr"),s.TgZ(13,"h5"),s._uU(14),s.ALo(15,"nbTrans"),s.qZA(),s.YNc(16,Ma,3,3,"form",3),s._UZ(17,"hr"),s.TgZ(18,"button",1),s.NdJ("click",function(){return g.onSubmit()}),s._uU(19),s.ALo(20,"nbTrans"),s.qZA(),s.TgZ(21,"button",4),s.NdJ("click",function(){return g.resetCtrl1()}),s._uU(22),s.ALo(23,"nbTrans"),s.qZA(),s.TgZ(24,"div")(25,"p"),s._uU(26),s.ALo(27,"nbTrans"),s.qZA(),s.TgZ(28,"p"),s._uU(29),s.ALo(30,"nbTrans"),s.qZA(),s.TgZ(31,"p"),s._uU(32),s.ALo(33,"nbTrans"),s.qZA(),s.TgZ(34,"p"),s._uU(35),s.ALo(36,"nbTrans"),s.qZA(),s.TgZ(37,"p"),s._uU(38),s.ALo(39,"nbTrans"),s.qZA(),s.TgZ(40,"p"),s._uU(41),s.ALo(42,"nbTrans"),s.qZA(),s.TgZ(43,"p"),s._uU(44),s.ALo(45,"nbTrans"),s.qZA(),s.TgZ(46,"p"),s._uU(47),s.ALo(48,"nbTrans"),s.qZA(),s.TgZ(49,"p"),s._uU(50),s.ALo(51,"nbTrans"),s.qZA()(),s._UZ(52,"hr"),s.TgZ(53,"h2"),s._uU(54,"children router component"),s.qZA(),s._UZ(55,"router-outlet"),s.YNc(56,Ws,1,0,"ng-template",null,5,s.W1O)),2&d&&(s.xp6(1),s.Q6J("href",g.links.document.link,s.LSH),s.xp6(1),s.hij(" ",g.links.document.title," "),s.xp6(1),s.Q6J("href",g.links.changelog.link,s.LSH),s.xp6(1),s.hij(" ",g.links.changelog.title," "),s.xp6(7),s.Q6J("ngIf",g.form),s.xp6(3),s.Oqu(s.lcZ(15,18,"demoContent.useComp")),s.xp6(2),s.Q6J("ngIf",g.form),s.xp6(3),s.Oqu(s.lcZ(20,20,"demoContent.submit")),s.xp6(3),s.Oqu(s.lcZ(23,22,"demoContent.resetField1")),s.xp6(4),s.Oqu(s.lcZ(27,24,"demoContent.desc")),s.xp6(3),s.Oqu(s.lcZ(30,26,"demoContent.desc1")),s.xp6(3),s.Oqu(s.lcZ(33,28,"demoContent.desc2")),s.xp6(3),s.Oqu(s.lcZ(36,30,"demoContent.desc3")),s.xp6(3),s.Oqu(s.lcZ(39,32,"demoContent.desc4")),s.xp6(3),s.Oqu(s.lcZ(42,34,"demoContent.desc5")),s.xp6(3),s.Oqu(s.lcZ(45,36,"demoContent.desc6")),s.xp6(3),s.Oqu(s.lcZ(48,38,"demoContent.desc7")),s.xp6(3),s.Oqu(s.lcZ(51,40,"demoContent.desc8")))},dependencies:[L.O5,rn._Y,rn.Fj,rn.JJ,rn.JL,rn.oH,rn.sg,rn.u,en.Ik,en.XX,Qt,un.y6],styles:["h2[_ngcontent-%COMP%] a[_ngcontent-%COMP%]{margin:0 8px}form[_ngcontent-%COMP%]{width:300px}span[_ngcontent-%COMP%] i[_ngcontent-%COMP%]{color:red;font-style:normal}"]})}return u})();class Yu{}class dr{}class Ar{constructor(c){this.normalizedNames=new Map,this.lazyUpdate=null,c?"string"==typeof c?this.lazyInit=()=>{this.headers=new Map,c.split("\n").forEach(a=>{const d=a.indexOf(":");if(d>0){const g=a.slice(0,d),D=g.toLowerCase(),M=a.slice(d+1).trim();this.maybeSetNormalizedName(g,D),this.headers.has(D)?this.headers.get(D).push(M):this.headers.set(D,[M])}})}:typeof Headers<"u"&&c instanceof Headers?(this.headers=new Map,c.forEach((a,d)=>{this.setHeaderEntries(d,a)})):this.lazyInit=()=>{this.headers=new Map,Object.entries(c).forEach(([a,d])=>{this.setHeaderEntries(a,d)})}:this.headers=new Map}has(c){return this.init(),this.headers.has(c.toLowerCase())}get(c){this.init();const a=this.headers.get(c.toLowerCase());return a&&a.length>0?a[0]:null}keys(){return this.init(),Array.from(this.normalizedNames.values())}getAll(c){return this.init(),this.headers.get(c.toLowerCase())||null}append(c,a){return this.clone({name:c,value:a,op:"a"})}set(c,a){return this.clone({name:c,value:a,op:"s"})}delete(c,a){return this.clone({name:c,value:a,op:"d"})}maybeSetNormalizedName(c,a){this.normalizedNames.has(a)||this.normalizedNames.set(a,c)}init(){this.lazyInit&&(this.lazyInit instanceof Ar?this.copyFrom(this.lazyInit):this.lazyInit(),this.lazyInit=null,this.lazyUpdate&&(this.lazyUpdate.forEach(c=>this.applyUpdate(c)),this.lazyUpdate=null))}copyFrom(c){c.init(),Array.from(c.headers.keys()).forEach(a=>{this.headers.set(a,c.headers.get(a)),this.normalizedNames.set(a,c.normalizedNames.get(a))})}clone(c){const a=new Ar;return a.lazyInit=this.lazyInit&&this.lazyInit instanceof Ar?this.lazyInit:this,a.lazyUpdate=(this.lazyUpdate||[]).concat([c]),a}applyUpdate(c){const a=c.name.toLowerCase();switch(c.op){case"a":case"s":let d=c.value;if("string"==typeof d&&(d=[d]),0===d.length)return;this.maybeSetNormalizedName(c.name,a);const g=("a"===c.op?this.headers.get(a):void 0)||[];g.push(...d),this.headers.set(a,g);break;case"d":const D=c.value;if(D){let M=this.headers.get(a);if(!M)return;M=M.filter(F=>-1===D.indexOf(F)),0===M.length?(this.headers.delete(a),this.normalizedNames.delete(a)):this.headers.set(a,M)}else this.headers.delete(a),this.normalizedNames.delete(a)}}setHeaderEntries(c,a){const d=(Array.isArray(a)?a:[a]).map(D=>D.toString()),g=c.toLowerCase();this.headers.set(g,d),this.maybeSetNormalizedName(c,g)}forEach(c){this.init(),Array.from(this.normalizedNames.keys()).forEach(a=>c(this.normalizedNames.get(a),this.headers.get(a)))}}class yg{encodeKey(c){return Dl(c)}encodeValue(c){return Dl(c)}decodeKey(c){return decodeURIComponent(c)}decodeValue(c){return decodeURIComponent(c)}}const wf=/%(\d[a-f0-9])/gi,If={40:"@","3A":":",24:"$","2C":",","3B":";","3D":"=","3F":"?","2F":"/"};function Dl(u){return encodeURIComponent(u).replace(wf,(c,a)=>If[a]??c)}function Sa(u){return`${u}`}class Ci{constructor(c={}){if(this.updates=null,this.cloneFrom=null,this.encoder=c.encoder||new yg,c.fromString){if(c.fromObject)throw new Error("Cannot specify both fromString and fromObject.");this.map=function _l(u,c){const a=new Map;return u.length>0&&u.replace(/^\?/,"").split("&").forEach(g=>{const D=g.indexOf("="),[M,F]=-1==D?[c.decodeKey(g),""]:[c.decodeKey(g.slice(0,D)),c.decodeValue(g.slice(D+1))],O=a.get(M)||[];O.push(F),a.set(M,O)}),a}(c.fromString,this.encoder)}else c.fromObject?(this.map=new Map,Object.keys(c.fromObject).forEach(a=>{const d=c.fromObject[a],g=Array.isArray(d)?d.map(Sa):[Sa(d)];this.map.set(a,g)})):this.map=null}has(c){return this.init(),this.map.has(c)}get(c){this.init();const a=this.map.get(c);return a?a[0]:null}getAll(c){return this.init(),this.map.get(c)||null}keys(){return this.init(),Array.from(this.map.keys())}append(c,a){return this.clone({param:c,value:a,op:"a"})}appendAll(c){const a=[];return Object.keys(c).forEach(d=>{const g=c[d];Array.isArray(g)?g.forEach(D=>{a.push({param:d,value:D,op:"a"})}):a.push({param:d,value:g,op:"a"})}),this.clone(a)}set(c,a){return this.clone({param:c,value:a,op:"s"})}delete(c,a){return this.clone({param:c,value:a,op:"d"})}toString(){return this.init(),this.keys().map(c=>{const a=this.encoder.encodeKey(c);return this.map.get(c).map(d=>a+"="+this.encoder.encodeValue(d)).join("&")}).filter(c=>""!==c).join("&")}clone(c){const a=new Ci({encoder:this.encoder});return a.cloneFrom=this.cloneFrom||this,a.updates=(this.updates||[]).concat(c),a}init(){null===this.map&&(this.map=new Map),null!==this.cloneFrom&&(this.cloneFrom.init(),this.cloneFrom.keys().forEach(c=>this.map.set(c,this.cloneFrom.map.get(c))),this.updates.forEach(c=>{switch(c.op){case"a":case"s":const a=("a"===c.op?this.map.get(c.param):void 0)||[];a.push(Sa(c.value)),this.map.set(c.param,a);break;case"d":if(void 0===c.value){this.map.delete(c.param);break}{let d=this.map.get(c.param)||[];const g=d.indexOf(Sa(c.value));-1!==g&&d.splice(g,1),d.length>0?this.map.set(c.param,d):this.map.delete(c.param)}}}),this.cloneFrom=this.updates=null)}}class Zu{constructor(){this.map=new Map}set(c,a){return this.map.set(c,a),this}get(c){return this.map.has(c)||this.map.set(c,c.defaultValue()),this.map.get(c)}delete(c){return this.map.delete(c),this}has(c){return this.map.has(c)}keys(){return this.map.keys()}}function Cl(u){return typeof ArrayBuffer<"u"&&u instanceof ArrayBuffer}function Zs(u){return typeof Blob<"u"&&u instanceof Blob}function bl(u){return typeof FormData<"u"&&u instanceof FormData}class qs{constructor(c,a,d,g){let D;if(this.url=a,this.body=null,this.reportProgress=!1,this.withCredentials=!1,this.responseType="json",this.method=c.toUpperCase(),function Ta(u){switch(u){case"DELETE":case"GET":case"HEAD":case"OPTIONS":case"JSONP":return!1;default:return!0}}(this.method)||g?(this.body=void 0!==d?d:null,D=g):D=d,D&&(this.reportProgress=!!D.reportProgress,this.withCredentials=!!D.withCredentials,D.responseType&&(this.responseType=D.responseType),D.headers&&(this.headers=D.headers),D.context&&(this.context=D.context),D.params&&(this.params=D.params),this.transferCache=D.transferCache),this.headers||(this.headers=new Ar),this.context||(this.context=new Zu),this.params){const M=this.params.toString();if(0===M.length)this.urlWithParams=a;else{const F=a.indexOf("?");this.urlWithParams=a+(-1===F?"?":F<a.length-1?"&":"")+M}}else this.params=new Ci,this.urlWithParams=a}serializeBody(){return null===this.body?null:Cl(this.body)||Zs(this.body)||bl(this.body)||function Aa(u){return typeof URLSearchParams<"u"&&u instanceof URLSearchParams}(this.body)||"string"==typeof this.body?this.body:this.body instanceof Ci?this.body.toString():"object"==typeof this.body||"boolean"==typeof this.body||Array.isArray(this.body)?JSON.stringify(this.body):this.body.toString()}detectContentTypeHeader(){return null===this.body||bl(this.body)?null:Zs(this.body)?this.body.type||null:Cl(this.body)?null:"string"==typeof this.body?"text/plain":this.body instanceof Ci?"application/x-www-form-urlencoded;charset=UTF-8":"object"==typeof this.body||"number"==typeof this.body||"boolean"==typeof this.body?"application/json":null}clone(c={}){const a=c.method||this.method,d=c.url||this.url,g=c.responseType||this.responseType,D=void 0!==c.body?c.body:this.body,M=void 0!==c.withCredentials?c.withCredentials:this.withCredentials,F=void 0!==c.reportProgress?c.reportProgress:this.reportProgress;let O=c.headers||this.headers,ie=c.params||this.params;const Ae=c.context??this.context;return void 0!==c.setHeaders&&(O=Object.keys(c.setHeaders).reduce((Fe,st)=>Fe.set(st,c.setHeaders[st]),O)),c.setParams&&(ie=Object.keys(c.setParams).reduce((Fe,st)=>Fe.set(st,c.setParams[st]),ie)),new qs(a,d,D,{params:ie,headers:O,context:Ae,reportProgress:F,responseType:g,withCredentials:M})}}var oi=function(u){return u[u.Sent=0]="Sent",u[u.UploadProgress=1]="UploadProgress",u[u.ResponseHeader=2]="ResponseHeader",u[u.DownloadProgress=3]="DownloadProgress",u[u.Response=4]="Response",u[u.User=5]="User",u}(oi||{});class Ks{constructor(c,a=200,d="OK"){this.headers=c.headers||new Ar,this.status=void 0!==c.status?c.status:a,this.statusText=c.statusText||d,this.url=c.url||null,this.ok=this.status>=200&&this.status<300}}class zi extends Ks{constructor(c={}){super(c),this.type=oi.ResponseHeader}clone(c={}){return new zi({headers:c.headers||this.headers,status:void 0!==c.status?c.status:this.status,statusText:c.statusText||this.statusText,url:c.url||this.url||void 0})}}class bi extends Ks{constructor(c={}){super(c),this.type=oi.Response,this.body=void 0!==c.body?c.body:null}clone(c={}){return new bi({body:void 0!==c.body?c.body:this.body,headers:c.headers||this.headers,status:void 0!==c.status?c.status:this.status,statusText:c.statusText||this.statusText,url:c.url||this.url||void 0})}}class _s extends Ks{constructor(c){super(c,0,"Unknown Error"),this.name="HttpErrorResponse",this.ok=!1,this.message=this.status>=200&&this.status<300?`Http failure during parsing for ${c.url||"(unknown url)"}`:`Http failure response for ${c.url||"(unknown url)"}: ${c.status} ${c.statusText}`,this.error=c.error||null}}function qu(u,c){return{body:c,headers:u.headers,context:u.context,observe:u.observe,params:u.params,reportProgress:u.reportProgress,responseType:u.responseType,withCredentials:u.withCredentials,transferCache:u.transferCache}}let Wi=(()=>{class u{constructor(a){this.handler=a}request(a,d,g={}){let D;if(a instanceof qs)D=a;else{let O,ie;O=g.headers instanceof Ar?g.headers:new Ar(g.headers),g.params&&(ie=g.params instanceof Ci?g.params:new Ci({fromObject:g.params})),D=new qs(a,d,void 0!==g.body?g.body:null,{headers:O,context:g.context,params:ie,reportProgress:g.reportProgress,responseType:g.responseType||"json",withCredentials:g.withCredentials,transferCache:g.transferCache})}const M=(0,ze.of)(D).pipe(Rr(O=>this.handler.handle(O)));if(a instanceof qs||"events"===g.observe)return M;const F=M.pipe(En(O=>O instanceof bi));switch(g.observe||"body"){case"body":switch(D.responseType){case"arraybuffer":return F.pipe((0,Dt.U)(O=>{if(null!==O.body&&!(O.body instanceof ArrayBuffer))throw new Error("Response is not an ArrayBuffer.");return O.body}));case"blob":return F.pipe((0,Dt.U)(O=>{if(null!==O.body&&!(O.body instanceof Blob))throw new Error("Response is not a Blob.");return O.body}));case"text":return F.pipe((0,Dt.U)(O=>{if(null!==O.body&&"string"!=typeof O.body)throw new Error("Response is not a string.");return O.body}));default:return F.pipe((0,Dt.U)(O=>O.body))}case"response":return F;default:throw new Error(`Unreachable: unhandled observe type ${g.observe}}`)}}delete(a,d={}){return this.request("DELETE",a,d)}get(a,d={}){return this.request("GET",a,d)}head(a,d={}){return this.request("HEAD",a,d)}jsonp(a,d){return this.request("JSONP",a,{params:(new Ci).append(d,"JSONP_CALLBACK"),observe:"body",responseType:"json"})}options(a,d={}){return this.request("OPTIONS",a,d)}patch(a,d,g={}){return this.request("PATCH",a,qu(g,d))}post(a,d,g={}){return this.request("POST",a,qu(g,d))}put(a,d,g={}){return this.request("PUT",a,qu(g,d))}static#e=this.\u0275fac=function(d){return new(d||u)(s.LFG(Yu))};static#t=this.\u0275prov=s.Yz7({token:u,factory:u.\u0275fac})}return u})();function wl(u,c){return c(u)}function Of(u,c){return(a,d)=>c.intercept(a,{handle:g=>u(g,d)})}const Il=new s.OlP(""),Yi=new s.OlP(""),Js=new s.OlP(""),Na=new s.OlP("");function Nf(){let u=null;return(c,a)=>{null===u&&(u=((0,s.f3M)(Il,{optional:!0})??[]).reduceRight(Of,wl));const d=(0,s.f3M)(s.HDt),g=d.add();return u(c,a).pipe(sn(()=>d.remove(g)))}}let Xs=(()=>{class u extends Yu{constructor(a,d){super(),this.backend=a,this.injector=d,this.chain=null,this.pendingTasks=(0,s.f3M)(s.HDt);const g=(0,s.f3M)(Na,{optional:!0});this.backend=g??a}handle(a){if(null===this.chain){const g=Array.from(new Set([...this.injector.get(Yi),...this.injector.get(Js,[])]));this.chain=g.reduceRight((D,M)=>function Ds(u,c,a){return(d,g)=>(0,s.r_H)(a,()=>c(d,D=>u(D,g)))}(D,M,this.injector),wl)}const d=this.pendingTasks.add();return this.chain(a,g=>this.backend.handle(g)).pipe(sn(()=>this.pendingTasks.remove(d)))}static#e=this.\u0275fac=function(d){return new(d||u)(s.LFG(dr),s.LFG(s.lqb))};static#t=this.\u0275prov=s.Yz7({token:u,factory:u.\u0275fac})}return u})();const Ku=/^\)\]\}',?\n/;let Io=(()=>{class u{constructor(a){this.xhrFactory=a}handle(a){if("JSONP"===a.method)throw new s.vHH(-2800,!1);const d=this.xhrFactory;return(d.\u0275loadImpl?(0,qt.D)(d.\u0275loadImpl()):(0,ze.of)(null)).pipe((0,bn.w)(()=>new He.y(D=>{const M=d.build();if(M.open(a.method,a.urlWithParams),a.withCredentials&&(M.withCredentials=!0),a.headers.forEach((Mt,Ut)=>M.setRequestHeader(Mt,Ut.join(","))),a.headers.has("Accept")||M.setRequestHeader("Accept","application/json, text/plain, */*"),!a.headers.has("Content-Type")){const Mt=a.detectContentTypeHeader();null!==Mt&&M.setRequestHeader("Content-Type",Mt)}if(a.responseType){const Mt=a.responseType.toLowerCase();M.responseType="json"!==Mt?Mt:"text"}const F=a.serializeBody();let O=null;const ie=()=>{if(null!==O)return O;const Mt=M.statusText||"OK",Ut=new Ar(M.getAllResponseHeaders()),Sn=function Pa(u){return"responseURL"in u&&u.responseURL?u.responseURL:/^X-Request-URL:/m.test(u.getAllResponseHeaders())?u.getResponseHeader("X-Request-URL"):null}(M)||a.url;return O=new zi({headers:Ut,status:M.status,statusText:Mt,url:Sn}),O},Ae=()=>{let{headers:Mt,status:Ut,statusText:Sn,url:ta}=ie(),Qn=null;204!==Ut&&(Qn=typeof M.response>"u"?M.responseText:M.response),0===Ut&&(Ut=Qn?200:0);let Qi=Ut>=200&&Ut<300;if("json"===a.responseType&&"string"==typeof Qn){const Rl=Qn;Qn=Qn.replace(Ku,"");try{Qn=""!==Qn?JSON.parse(Qn):null}catch(Ji){Qn=Rl,Qi&&(Qi=!1,Qn={error:Ji,text:Qn})}}Qi?(D.next(new bi({body:Qn,headers:Mt,status:Ut,statusText:Sn,url:ta||void 0})),D.complete()):D.error(new _s({error:Qn,headers:Mt,status:Ut,statusText:Sn,url:ta||void 0}))},Fe=Mt=>{const{url:Ut}=ie(),Sn=new _s({error:Mt,status:M.status||0,statusText:M.statusText||"Unknown Error",url:Ut||void 0});D.error(Sn)};let st=!1;const Dr=Mt=>{st||(D.next(ie()),st=!0);let Ut={type:oi.DownloadProgress,loaded:Mt.loaded};Mt.lengthComputable&&(Ut.total=Mt.total),"text"===a.responseType&&M.responseText&&(Ut.partialText=M.responseText),D.next(Ut)},Mn=Mt=>{let Ut={type:oi.UploadProgress,loaded:Mt.loaded};Mt.lengthComputable&&(Ut.total=Mt.total),D.next(Ut)};return M.addEventListener("load",Ae),M.addEventListener("error",Fe),M.addEventListener("timeout",Fe),M.addEventListener("abort",Fe),a.reportProgress&&(M.addEventListener("progress",Dr),null!==F&&M.upload&&M.upload.addEventListener("progress",Mn)),M.send(F),D.next({type:oi.Sent}),()=>{M.removeEventListener("error",Fe),M.removeEventListener("abort",Fe),M.removeEventListener("load",Ae),M.removeEventListener("timeout",Fe),a.reportProgress&&(M.removeEventListener("progress",Dr),null!==F&&M.upload&&M.upload.removeEventListener("progress",Mn)),M.readyState!==M.DONE&&M.abort()}})))}static#e=this.\u0275fac=function(d){return new(d||u)(s.LFG(L.JF))};static#t=this.\u0275prov=s.Yz7({token:u,factory:u.\u0275fac})}return u})();const Ei=new s.OlP("XSRF_ENABLED"),Al=new s.OlP("XSRF_COOKIE_NAME",{providedIn:"root",factory:()=>"XSRF-TOKEN"}),Ju=new s.OlP("XSRF_HEADER_NAME",{providedIn:"root",factory:()=>"X-XSRF-TOKEN"});class qi{}let kf=(()=>{class u{constructor(a,d,g){this.doc=a,this.platform=d,this.cookieName=g,this.lastCookieString="",this.lastToken=null,this.parseCount=0}getToken(){if("server"===this.platform)return null;const a=this.doc.cookie||"";return a!==this.lastCookieString&&(this.parseCount++,this.lastToken=(0,L.Mx)(a,this.cookieName),this.lastCookieString=a),this.lastToken}static#e=this.\u0275fac=function(d){return new(d||u)(s.LFG(L.K0),s.LFG(s.Lbi),s.LFG(Al))};static#t=this.\u0275prov=s.Yz7({token:u,factory:u.\u0275fac})}return u})();function Vf(u,c){const a=u.url.toLowerCase();if(!(0,s.f3M)(Ei)||"GET"===u.method||"HEAD"===u.method||a.startsWith("http://")||a.startsWith("https://"))return c(u);const d=(0,s.f3M)(qi).getToken(),g=(0,s.f3M)(Ju);return null!=d&&!u.headers.has(g)&&(u=u.clone({headers:u.headers.set(g,d)})),c(u)}var Go=function(u){return u[u.Interceptors=0]="Interceptors",u[u.LegacyInterceptors=1]="LegacyInterceptors",u[u.CustomXsrfConfiguration=2]="CustomXsrfConfiguration",u[u.NoXsrfProtection=3]="NoXsrfProtection",u[u.JsonpSupport=4]="JsonpSupport",u[u.RequestsMadeViaParent=5]="RequestsMadeViaParent",u[u.Fetch=6]="Fetch",u}(Go||{});function Xu(...u){const c=[Wi,Io,Xs,{provide:Yu,useExisting:Xs},{provide:dr,useExisting:Io},{provide:Yi,useValue:Vf,multi:!0},{provide:Ei,useValue:!0},{provide:qi,useClass:kf}];for(const a of u)c.push(...a.\u0275providers);return(0,s.MR2)(c)}const Ol=new s.OlP("LEGACY_INTERCEPTOR_FN");function Hf(){return function Ki(u,c){return{\u0275kind:u,\u0275providers:c}}(Go.LegacyInterceptors,[{provide:Ol,useFactory:Nf},{provide:Yi,useExisting:Ol,multi:!0}])}let Nl=(()=>{class u{static#e=this.\u0275fac=function(d){return new(d||u)};static#t=this.\u0275mod=s.oAB({type:u});static#n=this.\u0275inj=s.cJS({providers:[Xu(Hf())]})}return u})(),nc=(()=>{class u{static#e=this.\u0275fac=function(d){return new(d||u)};static#t=this.\u0275mod=s.oAB({type:u,bootstrap:[zu]});static#n=this.\u0275inj=s.cJS({providers:[{provide:en.Y6,useFactory:a=>({[en.ti.FILE_TYPE]:a.translationAsync("errors.fileType"),[en.ti.FILE_MIN_SIZE]:"The file min size is 100KB!!!!",[en.ti.EQUAL]:"\u4e24\u4e2a\u63a7\u4ef6\u503c\u4e0d\u76f8\u7b49"}),deps:[un.v6]},{provide:un.x,useFactory:a=>({[un.oi.ZH_CN]:()=>a.get("./assets/localization/zh-CN/translations.json"),[un.oi.EN]:()=>a.get("./assets/localization/en/translations.json")}),deps:[Wi]}],imports:[ke,Nl,rn.u5,rn.UX,en.XI,un.pT,vs]})}return u})();(0,s.G48)(),ot().bootstrapModule(nc).catch(u=>console.error(u))},3304:function(Le){Le.exports=function(){"use strict";var S=6e4,s=36e5,L="millisecond",q="second",X="minute",Y="hour",G="day",se="week",K="month",z="quarter",k="year",H="date",j="Invalid Date",W=/^(\d{4})[-/]?(\d{1,2})?[-/]?(\d{0,2})[Tt\s]*(\d{1,2})?:?(\d{1,2})?:?(\d{1,2})?[.:]?(\d+)?$/,oe=/\[([^\]]+)]|Y{1,4}|M{1,4}|D{1,2}|d{1,4}|H{1,2}|h{1,2}|a|A|m{1,2}|s{1,2}|Z{1,2}|SSS/g,de={name:"en",weekdays:"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),months:"January_February_March_April_May_June_July_August_September_October_November_December".split("_"),ordinal:function(we){var ge=["th","st","nd","rd"],me=we%100;return"["+we+(ge[(me-20)%10]||ge[me]||ge[0])+"]"}},re=function(we,ge,me){var xe=String(we);return!xe||xe.length>=ge?we:""+Array(ge+1-xe.length).join(me)+we},pe={s:re,z:function(we){var ge=-we.utcOffset(),me=Math.abs(ge),xe=Math.floor(me/60),Ce=me%60;return(ge<=0?"+":"-")+re(xe,2,"0")+":"+re(Ce,2,"0")},m:function we(ge,me){if(ge.date()<me.date())return-we(me,ge);var xe=12*(me.year()-ge.year())+(me.month()-ge.month()),Ce=ge.clone().add(xe,K),$e=me-Ce<0,Re=ge.clone().add(xe+($e?-1:1),K);return+(-(xe+(me-Ce)/($e?Ce-Re:Re-Ce))||0)},a:function(we){return we<0?Math.ceil(we)||0:Math.floor(we)},p:function(we){return{M:K,y:k,w:se,d:G,D:H,h:Y,m:X,s:q,ms:L,Q:z}[we]||String(we||"").toLowerCase().replace(/s$/,"")},u:function(we){return void 0===we}},Se="en",_e={};_e[Se]=de;var Ne="$isDayjsObject",Ze=function(we){return we instanceof _t||!(!we||!we[Ne])},ht=function we(ge,me,xe){var Ce;if(!ge)return Se;if("string"==typeof ge){var $e=ge.toLowerCase();_e[$e]&&(Ce=$e),me&&(_e[$e]=me,Ce=$e);var Re=ge.split("-");if(!Ce&&Re.length>1)return we(Re[0])}else{var ft=ge.name;_e[ft]=ge,Ce=ft}return!xe&&Ce&&(Se=Ce),Ce||!xe&&Se},We=function(we,ge){if(Ze(we))return we.clone();var me="object"==typeof ge?ge:{};return me.date=we,me.args=arguments,new _t(me)},Ue=pe;Ue.l=ht,Ue.i=Ze,Ue.w=function(we,ge){return We(we,{locale:ge.$L,utc:ge.$u,x:ge.$x,$offset:ge.$offset})};var _t=function(){function we(me){this.$L=ht(me.locale,null,!0),this.parse(me),this.$x=this.$x||me.x||{},this[Ne]=!0}var ge=we.prototype;return ge.parse=function(me){this.$d=function(xe){var Ce=xe.date,$e=xe.utc;if(null===Ce)return new Date(NaN);if(Ue.u(Ce))return new Date;if(Ce instanceof Date)return new Date(Ce);if("string"==typeof Ce&&!/Z$/i.test(Ce)){var Re=Ce.match(W);if(Re){var ft=Re[2]-1||0,mt=(Re[7]||"0").substring(0,3);return $e?new Date(Date.UTC(Re[1],ft,Re[3]||1,Re[4]||0,Re[5]||0,Re[6]||0,mt)):new Date(Re[1],ft,Re[3]||1,Re[4]||0,Re[5]||0,Re[6]||0,mt)}}return new Date(Ce)}(me),this.init()},ge.init=function(){var me=this.$d;this.$y=me.getFullYear(),this.$M=me.getMonth(),this.$D=me.getDate(),this.$W=me.getDay(),this.$H=me.getHours(),this.$m=me.getMinutes(),this.$s=me.getSeconds(),this.$ms=me.getMilliseconds()},ge.$utils=function(){return Ue},ge.isValid=function(){return this.$d.toString()!==j},ge.isSame=function(me,xe){var Ce=We(me);return this.startOf(xe)<=Ce&&Ce<=this.endOf(xe)},ge.isAfter=function(me,xe){return We(me)<this.startOf(xe)},ge.isBefore=function(me,xe){return this.endOf(xe)<We(me)},ge.$g=function(me,xe,Ce){return Ue.u(me)?this[xe]:this.set(Ce,me)},ge.unix=function(){return Math.floor(this.valueOf()/1e3)},ge.valueOf=function(){return this.$d.getTime()},ge.startOf=function(me,xe){var Ce=this,$e=!!Ue.u(xe)||xe,Re=Ue.p(me),ft=function(Q,Ke){var be=Ue.w(Ce.$u?Date.UTC(Ce.$y,Ke,Q):new Date(Ce.$y,Ke,Q),Ce);return $e?be:be.endOf(G)},mt=function(Q,Ke){return Ue.w(Ce.toDate()[Q].apply(Ce.toDate("s"),($e?[0,0,0,0]:[23,59,59,999]).slice(Ke)),Ce)},St=this.$W,Tt=this.$M,xt=this.$D,an="set"+(this.$u?"UTC":"");switch(Re){case k:return $e?ft(1,0):ft(31,11);case K:return $e?ft(1,Tt):ft(0,Tt+1);case se:var Oe=this.$locale().weekStart||0,Je=(St<Oe?St+7:St)-Oe;return ft($e?xt-Je:xt+(6-Je),Tt);case G:case H:return mt(an+"Hours",0);case Y:return mt(an+"Minutes",1);case X:return mt(an+"Seconds",2);case q:return mt(an+"Milliseconds",3);default:return this.clone()}},ge.endOf=function(me){return this.startOf(me,!1)},ge.$set=function(me,xe){var Ce,$e=Ue.p(me),Re="set"+(this.$u?"UTC":""),ft=(Ce={},Ce[G]=Re+"Date",Ce[H]=Re+"Date",Ce[K]=Re+"Month",Ce[k]=Re+"FullYear",Ce[Y]=Re+"Hours",Ce[X]=Re+"Minutes",Ce[q]=Re+"Seconds",Ce[L]=Re+"Milliseconds",Ce)[$e],mt=$e===G?this.$D+(xe-this.$W):xe;if($e===K||$e===k){var St=this.clone().set(H,1);St.$d[ft](mt),St.init(),this.$d=St.set(H,Math.min(this.$D,St.daysInMonth())).$d}else ft&&this.$d[ft](mt);return this.init(),this},ge.set=function(me,xe){return this.clone().$set(me,xe)},ge.get=function(me){return this[Ue.p(me)]()},ge.add=function(me,xe){var Ce,$e=this;me=Number(me);var Re=Ue.p(xe),ft=function(Tt){var xt=We($e);return Ue.w(xt.date(xt.date()+Math.round(Tt*me)),$e)};if(Re===K)return this.set(K,this.$M+me);if(Re===k)return this.set(k,this.$y+me);if(Re===G)return ft(1);if(Re===se)return ft(7);var mt=(Ce={},Ce[X]=S,Ce[Y]=s,Ce[q]=1e3,Ce)[Re]||1,St=this.$d.getTime()+me*mt;return Ue.w(St,this)},ge.subtract=function(me,xe){return this.add(-1*me,xe)},ge.format=function(me){var xe=this,Ce=this.$locale();if(!this.isValid())return Ce.invalidDate||j;var $e=me||"YYYY-MM-DDTHH:mm:ssZ",Re=Ue.z(this),ft=this.$H,mt=this.$m,St=this.$M,Tt=Ce.weekdays,xt=Ce.months,Oe=function(Ke,be,je,ot){return Ke&&(Ke[be]||Ke(xe,$e))||je[be].slice(0,ot)},Je=function(Ke){return Ue.s(ft%12||12,Ke,"0")},Q=Ce.meridiem||function(Ke,be,je){var ot=Ke<12?"AM":"PM";return je?ot.toLowerCase():ot};return $e.replace(oe,function(Ke,be){return be||function(je){switch(je){case"YY":return String(xe.$y).slice(-2);case"YYYY":return Ue.s(xe.$y,4,"0");case"M":return St+1;case"MM":return Ue.s(St+1,2,"0");case"MMM":return Oe(Ce.monthsShort,St,xt,3);case"MMMM":return Oe(xt,St);case"D":return xe.$D;case"DD":return Ue.s(xe.$D,2,"0");case"d":return String(xe.$W);case"dd":return Oe(Ce.weekdaysMin,xe.$W,Tt,2);case"ddd":return Oe(Ce.weekdaysShort,xe.$W,Tt,3);case"dddd":return Tt[xe.$W];case"H":return String(ft);case"HH":return Ue.s(ft,2,"0");case"h":return Je(1);case"hh":return Je(2);case"a":return Q(ft,mt,!0);case"A":return Q(ft,mt,!1);case"m":return String(mt);case"mm":return Ue.s(mt,2,"0");case"s":return String(xe.$s);case"ss":return Ue.s(xe.$s,2,"0");case"SSS":return Ue.s(xe.$ms,3,"0");case"Z":return Re}return null}(Ke)||Re.replace(":","")})},ge.utcOffset=function(){return 15*-Math.round(this.$d.getTimezoneOffset()/15)},ge.diff=function(me,xe,Ce){var $e,Re=this,ft=Ue.p(xe),mt=We(me),St=(mt.utcOffset()-this.utcOffset())*S,Tt=this-mt,xt=function(){return Ue.m(Re,mt)};switch(ft){case k:$e=xt()/12;break;case K:$e=xt();break;case z:$e=xt()/3;break;case se:$e=(Tt-St)/6048e5;break;case G:$e=(Tt-St)/864e5;break;case Y:$e=Tt/s;break;case X:$e=Tt/S;break;case q:$e=Tt/1e3;break;default:$e=Tt}return Ce?$e:Ue.a($e)},ge.daysInMonth=function(){return this.endOf(K).$D},ge.$locale=function(){return _e[this.$L]},ge.locale=function(me,xe){if(!me)return this.$L;var Ce=this.clone(),$e=ht(me,xe,!0);return $e&&(Ce.$L=$e),Ce},ge.clone=function(){return Ue.w(this.$d,this)},ge.toDate=function(){return new Date(this.valueOf())},ge.toJSON=function(){return this.isValid()?this.toISOString():null},ge.toISOString=function(){return this.$d.toISOString()},ge.toString=function(){return this.$d.toUTCString()},we}(),rt=_t.prototype;return We.prototype=rt,[["$ms",L],["$s",q],["$m",X],["$H",Y],["$W",G],["$M",K],["$y",k],["$D",H]].forEach(function(we){rt[we[1]]=function(ge){return this.$g(ge,we[0],we[1])}}),We.extend=function(we,ge){return we.$i||(we(ge,_t,We),we.$i=!0),We},We.locale=ht,We.isDayjs=Ze,We.unix=function(we){return We(1e3*we)},We.en=_e[Se],We.Ls=_e,We.p={},We}()},944:function(Le){Le.exports=function(){"use strict";var S=/[+-]\d\d(?::?\d\d)?/g,s=/([+-]|\d\d)/g;return function(L,q,X){var Y=q.prototype;X.utc=function(j){return new q({date:j,utc:!0,args:arguments})},Y.utc=function(j){var W=X(this.toDate(),{locale:this.$L,utc:!0});return j?W.add(this.utcOffset(),"minute"):W},Y.local=function(){return X(this.toDate(),{locale:this.$L,utc:!1})};var G=Y.parse;Y.parse=function(j){j.utc&&(this.$u=!0),this.$utils().u(j.$offset)||(this.$offset=j.$offset),G.call(this,j)};var se=Y.init;Y.init=function(){if(this.$u){var j=this.$d;this.$y=j.getUTCFullYear(),this.$M=j.getUTCMonth(),this.$D=j.getUTCDate(),this.$W=j.getUTCDay(),this.$H=j.getUTCHours(),this.$m=j.getUTCMinutes(),this.$s=j.getUTCSeconds(),this.$ms=j.getUTCMilliseconds()}else se.call(this)};var K=Y.utcOffset;Y.utcOffset=function(j,W){var oe=this.$utils().u;if(oe(j))return this.$u?0:oe(this.$offset)?K.call(this):this.$offset;if("string"==typeof j&&null===(j=function(Se){void 0===Se&&(Se="");var _e=Se.match(S);if(!_e)return null;var Ne=(""+_e[0]).match(s)||["-",0,0],ht=60*+Ne[1]+ +Ne[2];return 0===ht?0:"+"===Ne[0]?ht:-ht}(j)))return this;var de=Math.abs(j)<=16?60*j:j,re=this;if(W)return re.$offset=de,re.$u=0===j,re;if(0!==j){var pe=this.$u?this.toDate().getTimezoneOffset():-1*this.utcOffset();(re=this.local().add(de+pe,"minute")).$offset=de,re.$x.$localOffset=pe}else re=this.utc();return re};var z=Y.format;Y.format=function(j){return z.call(this,j||(this.$u?"YYYY-MM-DDTHH:mm:ss[Z]":""))},Y.valueOf=function(){var j=this.$utils().u(this.$offset)?0:this.$offset+(this.$x.$localOffset||this.$d.getTimezoneOffset());return this.$d.valueOf()-6e4*j},Y.isUTC=function(){return!!this.$u},Y.toISOString=function(){return this.toDate().toISOString()},Y.toString=function(){return this.toDate().toUTCString()};var k=Y.toDate;Y.toDate=function(j){return"s"===j&&this.$offset?X(this.format("YYYY-MM-DD HH:mm:ss:SSS")).toDate():k.call(this)};var H=Y.diff;Y.diff=function(j,W,oe){if(j&&this.$u===j.$u)return H.call(this,j,W,oe);var de=this.local(),re=X(j).local();return H.call(de,re,W,oe)}}}()},5125:(Le,te,S)=>{"use strict";S.d(te,{X:()=>q});var s=S(8152),L=S(6229);class q extends s.xQ{constructor(Y){super(),this._value=Y}get value(){return this.getValue()}_subscribe(Y){const G=super._subscribe(Y);return G&&!G.closed&&Y.next(this._value),G}getValue(){if(this.hasError)throw this.thrownError;if(this.closed)throw new L.N;return this._value}next(Y){super.next(this._value=Y)}}},4699:(Le,te,S)=>{"use strict";S.d(te,{y:()=>z});var s=S(254),q=S(5297),X=S(7308),G=S(2677),se=S(4813),K=S(7213);let z=(()=>{class H{constructor(W){this._isScalar=!1,W&&(this._subscribe=W)}lift(W){const oe=new H;return oe.source=this,oe.operator=W,oe}subscribe(W,oe,de){const{operator:re}=this,pe=function Y(H,j,W){if(H){if(H instanceof s.L)return H;if(H[q.b])return H[q.b]()}return H||j||W?new s.L(H,j,W):new s.L(X.c)}(W,oe,de);if(pe.add(re?re.call(pe,this.source):this.source||K.config.useDeprecatedSynchronousErrorHandling&&!pe.syncErrorThrowable?this._subscribe(pe):this._trySubscribe(pe)),K.config.useDeprecatedSynchronousErrorHandling&&pe.syncErrorThrowable&&(pe.syncErrorThrowable=!1,pe.syncErrorThrown))throw pe.syncErrorValue;return pe}_trySubscribe(W){try{return this._subscribe(W)}catch(oe){K.config.useDeprecatedSynchronousErrorHandling&&(W.syncErrorThrown=!0,W.syncErrorValue=oe),function L(H){for(;H;){const{closed:j,destination:W,isStopped:oe}=H;if(j||oe)return!1;H=W&&W instanceof s.L?W:null}return!0}(W)?W.error(oe):console.warn(oe)}}forEach(W,oe){return new(oe=k(oe))((de,re)=>{let pe;pe=this.subscribe(Se=>{try{W(Se)}catch(_e){re(_e),pe&&pe.unsubscribe()}},re,de)})}_subscribe(W){const{source:oe}=this;return oe&&oe.subscribe(W)}[G.L](){return this}pipe(...W){return 0===W.length?this:(0,se.U)(W)(this)}toPromise(W){return new(W=k(W))((oe,de)=>{let re;this.subscribe(pe=>re=pe,pe=>de(pe),()=>oe(re))})}}return H.create=j=>new H(j),H})();function k(H){if(H||(H=K.config.Promise||Promise),!H)throw new Error("no Promise impl found");return H}},7308:(Le,te,S)=>{"use strict";S.d(te,{c:()=>q});var s=S(7213),L=S(3510);const q={closed:!0,next(X){},error(X){if(s.config.useDeprecatedSynchronousErrorHandling)throw X;(0,L.z)(X)},complete(){}}},8152:(Le,te,S)=>{"use strict";S.d(te,{xQ:()=>K,Yc:()=>se});var s=S(4699),L=S(254),q=S(7902),X=S(6229);class Y extends q.w{constructor(H,j){super(),this.subject=H,this.subscriber=j,this.closed=!1}unsubscribe(){if(this.closed)return;this.closed=!0;const H=this.subject,j=H.observers;if(this.subject=null,!j||0===j.length||H.isStopped||H.closed)return;const W=j.indexOf(this.subscriber);-1!==W&&j.splice(W,1)}}var G=S(5297);class se extends L.L{constructor(H){super(H),this.destination=H}}let K=(()=>{class k extends s.y{constructor(){super(),this.observers=[],this.closed=!1,this.isStopped=!1,this.hasError=!1,this.thrownError=null}[G.b](){return new se(this)}lift(j){const W=new z(this,this);return W.operator=j,W}next(j){if(this.closed)throw new X.N;if(!this.isStopped){const{observers:W}=this,oe=W.length,de=W.slice();for(let re=0;re<oe;re++)de[re].next(j)}}error(j){if(this.closed)throw new X.N;this.hasError=!0,this.thrownError=j,this.isStopped=!0;const{observers:W}=this,oe=W.length,de=W.slice();for(let re=0;re<oe;re++)de[re].error(j);this.observers.length=0}complete(){if(this.closed)throw new X.N;this.isStopped=!0;const{observers:j}=this,W=j.length,oe=j.slice();for(let de=0;de<W;de++)oe[de].complete();this.observers.length=0}unsubscribe(){this.isStopped=!0,this.closed=!0,this.observers=null}_trySubscribe(j){if(this.closed)throw new X.N;return super._trySubscribe(j)}_subscribe(j){if(this.closed)throw new X.N;return this.hasError?(j.error(this.thrownError),q.w.EMPTY):this.isStopped?(j.complete(),q.w.EMPTY):(this.observers.push(j),new Y(this,j))}asObservable(){const j=new s.y;return j.source=this,j}}return k.create=(H,j)=>new z(H,j),k})();class z extends K{constructor(H,j){super(),this.destination=H,this.source=j}next(H){const{destination:j}=this;j&&j.next&&j.next(H)}error(H){const{destination:j}=this;j&&j.error&&this.destination.error(H)}complete(){const{destination:H}=this;H&&H.complete&&this.destination.complete()}_subscribe(H){const{source:j}=this;return j?this.source.subscribe(H):q.w.EMPTY}}},254:(Le,te,S)=>{"use strict";S.d(te,{L:()=>se});var s=S(8594),L=S(7308),q=S(7902),X=S(5297),Y=S(7213),G=S(3510);class se extends q.w{constructor(k,H,j){switch(super(),this.syncErrorValue=null,this.syncErrorThrown=!1,this.syncErrorThrowable=!1,this.isStopped=!1,arguments.length){case 0:this.destination=L.c;break;case 1:if(!k){this.destination=L.c;break}if("object"==typeof k){k instanceof se?(this.syncErrorThrowable=k.syncErrorThrowable,this.destination=k,k.add(this)):(this.syncErrorThrowable=!0,this.destination=new K(this,k));break}default:this.syncErrorThrowable=!0,this.destination=new K(this,k,H,j)}}[X.b](){return this}static create(k,H,j){const W=new se(k,H,j);return W.syncErrorThrowable=!1,W}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 K extends se{constructor(k,H,j,W){super(),this._parentSubscriber=k;let oe,de=this;(0,s.m)(H)?oe=H:H&&(oe=H.next,j=H.error,W=H.complete,H!==L.c&&(de=Object.create(H),(0,s.m)(de.unsubscribe)&&this.add(de.unsubscribe.bind(de)),de.unsubscribe=this.unsubscribe.bind(this))),this._context=de,this._next=oe,this._error=j,this._complete=W}next(k){if(!this.isStopped&&this._next){const{_parentSubscriber:H}=this;Y.config.useDeprecatedSynchronousErrorHandling&&H.syncErrorThrowable?this.__tryOrSetError(H,this._next,k)&&this.unsubscribe():this.__tryOrUnsub(this._next,k)}}error(k){if(!this.isStopped){const{_parentSubscriber:H}=this,{useDeprecatedSynchronousErrorHandling:j}=Y.config;if(this._error)j&&H.syncErrorThrowable?(this.__tryOrSetError(H,this._error,k),this.unsubscribe()):(this.__tryOrUnsub(this._error,k),this.unsubscribe());else if(H.syncErrorThrowable)j?(H.syncErrorValue=k,H.syncErrorThrown=!0):(0,G.z)(k),this.unsubscribe();else{if(this.unsubscribe(),j)throw k;(0,G.z)(k)}}}complete(){if(!this.isStopped){const{_parentSubscriber:k}=this;if(this._complete){const H=()=>this._complete.call(this._context);Y.config.useDeprecatedSynchronousErrorHandling&&k.syncErrorThrowable?(this.__tryOrSetError(k,H),this.unsubscribe()):(this.__tryOrUnsub(H),this.unsubscribe())}else this.unsubscribe()}}__tryOrUnsub(k,H){try{k.call(this._context,H)}catch(j){if(this.unsubscribe(),Y.config.useDeprecatedSynchronousErrorHandling)throw j;(0,G.z)(j)}}__tryOrSetError(k,H,j){if(!Y.config.useDeprecatedSynchronousErrorHandling)throw new Error("bad call");try{H.call(this._context,j)}catch(W){return Y.config.useDeprecatedSynchronousErrorHandling?(k.syncErrorValue=W,k.syncErrorThrown=!0,!0):((0,G.z)(W),!0)}return!1}_unsubscribe(){const{_parentSubscriber:k}=this;this._context=null,this._parentSubscriber=null,k.unsubscribe()}}},7902:(Le,te,S)=>{"use strict";S.d(te,{w:()=>G});var s=S(1280),L=S(7755),q=S(8594);const Y=(()=>{function K(z){return Error.call(this),this.message=z?`${z.length} errors occurred during unsubscription:\n${z.map((k,H)=>`${H+1}) ${k.toString()}`).join("\n ")}`:"",this.name="UnsubscriptionError",this.errors=z,this}return K.prototype=Object.create(Error.prototype),K})();class G{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:H,_unsubscribe:j,_subscriptions:W}=this;if(this.closed=!0,this._parentOrParents=null,this._subscriptions=null,k instanceof G)k.remove(this);else if(null!==k)for(let oe=0;oe<k.length;++oe)k[oe].remove(this);if((0,q.m)(j)){H&&(this._unsubscribe=void 0);try{j.call(this)}catch(oe){z=oe instanceof Y?se(oe.errors):[oe]}}if((0,s.k)(W)){let oe=-1,de=W.length;for(;++oe<de;){const re=W[oe];if((0,L.K)(re))try{re.unsubscribe()}catch(pe){z=z||[],pe instanceof Y?z=z.concat(se(pe.errors)):z.push(pe)}}}if(z)throw new Y(z)}add(z){let k=z;if(!z)return G.EMPTY;switch(typeof z){case"function":k=new G(z);case"object":if(k===this||k.closed||"function"!=typeof k.unsubscribe)return k;if(this.closed)return k.unsubscribe(),k;if(!(k instanceof G)){const W=k;k=new G,k._subscriptions=[W]}break;default:throw new Error("unrecognized teardown "+z+" added to Subscription.")}let{_parentOrParents:H}=k;if(null===H)k._parentOrParents=this;else if(H instanceof G){if(H===this)return k;k._parentOrParents=[H,this]}else{if(-1!==H.indexOf(this))return k;H.push(this)}const j=this._subscriptions;return null===j?this._subscriptions=[k]:j.push(k),k}remove(z){const k=this._subscriptions;if(k){const H=k.indexOf(z);-1!==H&&k.splice(H,1)}}}var K;function se(K){return K.reduce((z,k)=>z.concat(k instanceof Y?k.errors:k),[])}G.EMPTY=((K=new G).closed=!0,K)},7213:(Le,te,S)=>{"use strict";S.d(te,{config:()=>L});let s=!1;const L={Promise:void 0,set useDeprecatedSynchronousErrorHandling(q){if(q){const X=new Error;console.warn("DEPRECATED! RxJS was set to use deprecated synchronous error handling behavior by code at: \n"+X.stack)}else s&&console.log("RxJS: Back to a better error behavior. Thank you. <3");s=q},get useDeprecatedSynchronousErrorHandling(){return s}}},5846:(Le,te,S)=>{"use strict";S.d(te,{Ds:()=>G,IY:()=>X,ft:()=>K});var s=S(254),L=S(4699),q=S(4372);class X extends s.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 G extends s.L{notifyNext(k){this.destination.next(k)}notifyError(k){this.destination.error(k)}notifyComplete(){this.destination.complete()}}function K(z,k){if(k.closed)return;if(z instanceof L.y)return z.subscribe(k);let H;try{H=(0,q.s)(z)(k)}catch(j){k.error(j)}return H}},4247:(Le,te,S)=>{"use strict";S.d(te,{N:()=>G,c:()=>Y});var s=S(8152),L=S(4699),q=S(7902),X=S(2851);class Y extends L.y{constructor(H,j){super(),this.source=H,this.subjectFactory=j,this._refCount=0,this._isComplete=!1}_subscribe(H){return this.getSubject().subscribe(H)}getSubject(){const H=this._subject;return(!H||H.isStopped)&&(this._subject=this.subjectFactory()),this._subject}connect(){let H=this._connection;return H||(this._isComplete=!1,H=this._connection=new q.w,H.add(this.source.subscribe(new se(this.getSubject(),this))),H.closed&&(this._connection=null,H=q.w.EMPTY)),H}refCount(){return(0,X.x)()(this)}}const G=(()=>{const k=Y.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 se extends s.Yc{constructor(H,j){super(H),this.connectable=j}_error(H){this._unsubscribe(),super._error(H)}_complete(){this.connectable._isComplete=!0,this._unsubscribe(),super._complete()}_unsubscribe(){const H=this.connectable;if(H){this.connectable=null;const j=H._connection;H._refCount=0,H._subject=null,H._connection=null,j&&j.unsubscribe()}}}},2994:(Le,te,S)=>{"use strict";S.d(te,{aj:()=>H});var s=S(9759),L=S(1280),q=S(254);class X extends q.L{notifyNext(de,re,pe,Se,_e){this.destination.next(re)}notifyError(de,re){this.destination.error(de)}notifyComplete(de){this.destination.complete()}}class Y extends q.L{constructor(de,re,pe){super(),this.parent=de,this.outerValue=re,this.outerIndex=pe,this.index=0}_next(de){this.parent.notifyNext(this.outerValue,de,this.outerIndex,this.index++,this)}_error(de){this.parent.notifyError(de,this),this.unsubscribe()}_complete(){this.parent.notifyComplete(this),this.unsubscribe()}}var G=S(4372),se=S(4699);function K(oe,de,re,pe,Se=new Y(oe,re,pe)){if(!Se.closed)return de instanceof se.y?de.subscribe(Se):(0,G.s)(de)(Se)}var z=S(2594);const k={};function H(...oe){let de,re;return(0,s.K)(oe[oe.length-1])&&(re=oe.pop()),"function"==typeof oe[oe.length-1]&&(de=oe.pop()),1===oe.length&&(0,L.k)(oe[0])&&(oe=oe[0]),(0,z.n)(oe,re).lift(new j(de))}class j{constructor(de){this.resultSelector=de}call(de,re){return re.subscribe(new W(de,this.resultSelector))}}class W extends X{constructor(de,re){super(de),this.resultSelector=re,this.active=0,this.values=[],this.observables=[]}_next(de){this.values.push(k),this.observables.push(de)}_complete(){const de=this.observables,re=de.length;if(0===re)this.destination.complete();else{this.active=re,this.toRespond=re;for(let pe=0;pe<re;pe++)this.add(K(this,de[pe],void 0,pe))}}notifyComplete(de){0==(this.active-=1)&&this.destination.complete()}notifyNext(de,re,pe){const Se=this.values,Ne=this.toRespond?Se[pe]===k?--this.toRespond:this.toRespond:0;Se[pe]=re,0===Ne&&(this.resultSelector?this._tryResultSelector(Se):this.destination.next(Se.slice()))}_tryResultSelector(de){let re;try{re=this.resultSelector.apply(this,de)}catch(pe){return void this.destination.error(pe)}this.destination.next(re)}}},3990:(Le,te,S)=>{"use strict";S.d(te,{z:()=>X});var s=S(9193),L=S(7449);function X(...Y){return function q(){return(0,L.J)(1)}()((0,s.of)(...Y))}},5253:(Le,te,S)=>{"use strict";S.d(te,{D:()=>de});var s=S(4699),L=S(4372),q=S(7902),X=S(2677),se=S(5513),K=S(6258),H=S(6007),j=S(9990);function de(re,pe){return pe?function oe(re,pe){if(null!=re){if(function k(re){return re&&"function"==typeof re[X.L]}(re))return function Y(re,pe){return new s.y(Se=>{const _e=new q.w;return _e.add(pe.schedule(()=>{const Ne=re[X.L]();_e.add(Ne.subscribe({next(Ze){_e.add(pe.schedule(()=>Se.next(Ze)))},error(Ze){_e.add(pe.schedule(()=>Se.error(Ze)))},complete(){_e.add(pe.schedule(()=>Se.complete()))}}))})),_e})}(re,pe);if((0,H.t)(re))return function G(re,pe){return new s.y(Se=>{const _e=new q.w;return _e.add(pe.schedule(()=>re.then(Ne=>{_e.add(pe.schedule(()=>{Se.next(Ne),_e.add(pe.schedule(()=>Se.complete()))}))},Ne=>{_e.add(pe.schedule(()=>Se.error(Ne)))}))),_e})}(re,pe);if((0,j.z)(re))return(0,se.r)(re,pe);if(function W(re){return re&&"function"==typeof re[K.hZ]}(re)||"string"==typeof re)return function z(re,pe){if(!re)throw new Error("Iterable cannot be null");return new s.y(Se=>{const _e=new q.w;let Ne;return _e.add(()=>{Ne&&"function"==typeof Ne.return&&Ne.return()}),_e.add(pe.schedule(()=>{Ne=re[K.hZ](),_e.add(pe.schedule(function(){if(Se.closed)return;let Ze,ht;try{const We=Ne.next();Ze=We.value,ht=We.done}catch(We){return void Se.error(We)}ht?Se.complete():(Se.next(Ze),this.schedule())}))})),_e})}(re,pe)}throw new TypeError((null!==re&&typeof re||re)+" is not observable")}(re,pe):re instanceof s.y?re:new s.y((0,L.s)(re))}},2594:(Le,te,S)=>{"use strict";S.d(te,{n:()=>X});var s=S(4699),L=S(4947),q=S(5513);function X(Y,G){return G?(0,q.r)(Y,G):new s.y((0,L.V)(Y))}},9193:(Le,te,S)=>{"use strict";S.d(te,{of:()=>X});var s=S(9759),L=S(2594),q=S(5513);function X(...Y){let G=Y[Y.length-1];return(0,s.K)(G)?(Y.pop(),(0,q.r)(Y,G)):(0,L.n)(Y)}},2413:(Le,te,S)=>{"use strict";S.d(te,{K:()=>L});var s=S(5846);function L(Y){return function(se){const K=new q(Y),z=se.lift(K);return K.caught=z}}class q{constructor(G){this.selector=G}call(G,se){return se.subscribe(new X(G,this.selector,this.caught))}}class X extends s.Ds{constructor(G,se,K){super(G),this.selector=se,this.caught=K}error(G){if(!this.isStopped){let se;try{se=this.selector(G,this.caught)}catch(k){return void super.error(k)}this._unsubscribeAndRecycle();const K=new s.IY(this);this.add(K);const z=(0,s.ft)(se,K);z!==K&&this.add(z)}}}},2068:(Le,te,S)=>{"use strict";S.d(te,{x:()=>L});var s=S(254);function L(Y,G){return se=>se.lift(new q(Y,G))}class q{constructor(G,se){this.compare=G,this.keySelector=se}call(G,se){return se.subscribe(new X(G,this.compare,this.keySelector))}}class X extends s.L{constructor(G,se,K){super(G),this.keySelector=K,this.hasKey=!1,"function"==typeof se&&(this.compare=se)}compare(G,se){return G===se}_next(G){let se;try{const{keySelector:z}=this;se=z?z(G):G}catch(z){return this.destination.error(z)}let K=!1;if(this.hasKey)try{const{compare:z}=this;K=z(this.key,se)}catch(z){return this.destination.error(z)}else this.hasKey=!0;K||(this.key=se,this.destination.next(G))}}},6124:(Le,te,S)=>{"use strict";S.d(te,{U:()=>L});var s=S(254);function L(Y,G){return function(K){if("function"!=typeof Y)throw new TypeError("argument is not a function. Are you looking for `mapTo()`?");return K.lift(new q(Y,G))}}class q{constructor(G,se){this.project=G,this.thisArg=se}call(G,se){return se.subscribe(new X(G,this.project,this.thisArg))}}class X extends s.L{constructor(G,se,K){super(G),this.project=se,this.count=0,this.thisArg=K||this}_next(G){let se;try{se=this.project.call(this.thisArg,G,this.count++)}catch(K){return void this.destination.error(K)}this.destination.next(se)}}},7449:(Le,te,S)=>{"use strict";S.d(te,{J:()=>q});var s=S(6743),L=S(158);function q(X=Number.POSITIVE_INFINITY){return(0,s.zg)(L.y,X)}},6743:(Le,te,S)=>{"use strict";S.d(te,{zg:()=>X});var s=S(6124),L=S(5253),q=S(5846);function X(K,z,k=Number.POSITIVE_INFINITY){return"function"==typeof z?H=>H.pipe(X((j,W)=>(0,L.D)(K(j,W)).pipe((0,s.U)((oe,de)=>z(j,oe,W,de))),k)):("number"==typeof z&&(k=z),H=>H.lift(new Y(K,k)))}class Y{constructor(z,k=Number.POSITIVE_INFINITY){this.project=z,this.concurrent=k}call(z,k){return k.subscribe(new G(z,this.project,this.concurrent))}}class G extends q.Ds{constructor(z,k,H=Number.POSITIVE_INFINITY){super(z),this.project=k,this.concurrent=H,this.hasCompleted=!1,this.buffer=[],this.active=0,this.index=0}_next(z){this.active<this.concurrent?this._tryNext(z):this.buffer.push(z)}_tryNext(z){let k;const H=this.index++;try{k=this.project(z,H)}catch(j){return void this.destination.error(j)}this.active++,this._innerSub(k)}_innerSub(z){const k=new q.IY(this),H=this.destination;H.add(k);const j=(0,q.ft)(z,k);j!==k&&H.add(j)}_complete(){this.hasCompleted=!0,0===this.active&&0===this.buffer.length&&this.destination.complete(),this.unsubscribe()}notifyNext(z){this.destination.next(z)}notifyComplete(){const z=this.buffer;this.active--,z.length>0?this._next(z.shift()):0===this.active&&this.hasCompleted&&this.destination.complete()}}},2851:(Le,te,S)=>{"use strict";S.d(te,{x:()=>L});var s=S(254);function L(){return function(G){return G.lift(new q(G))}}class q{constructor(G){this.connectable=G}call(G,se){const{connectable:K}=this;K._refCount++;const z=new X(G,K),k=se.subscribe(z);return z.closed||(z.connection=K.connect()),k}}class X extends s.L{constructor(G,se){super(G),this.connectable=se}_unsubscribe(){const{connectable:G}=this;if(!G)return void(this.connection=null);this.connectable=null;const se=G._refCount;if(se<=0)return void(this.connection=null);if(G._refCount=se-1,se>1)return void(this.connection=null);const{connection:K}=this,z=G._connection;this.connection=null,z&&(!K||z===K)&&z.unsubscribe()}}},3075:(Le,te,S)=>{"use strict";S.d(te,{O:()=>q});var s=S(3990),L=S(9759);function q(...X){const Y=X[X.length-1];return(0,L.K)(Y)?(X.pop(),G=>(0,s.z)(X,G,Y)):G=>(0,s.z)(X,G)}},5222:(Le,te,S)=>{"use strict";S.d(te,{w:()=>X});var s=S(6124),L=S(5253),q=S(5846);function X(se,K){return"function"==typeof K?z=>z.pipe(X((k,H)=>(0,L.D)(se(k,H)).pipe((0,s.U)((j,W)=>K(k,j,H,W))))):z=>z.lift(new Y(se))}class Y{constructor(K){this.project=K}call(K,z){return z.subscribe(new G(K,this.project))}}class G extends q.Ds{constructor(K,z){super(K),this.project=z,this.index=0}_next(K){let z;const k=this.index++;try{z=this.project(K,k)}catch(H){return void this.destination.error(H)}this._innerSub(z)}_innerSub(K){const z=this.innerSubscription;z&&z.unsubscribe();const k=new q.IY(this),H=this.destination;H.add(k),this.innerSubscription=(0,q.ft)(K,k),this.innerSubscription!==k&&H.add(this.innerSubscription)}_complete(){const{innerSubscription:K}=this;(!K||K.closed)&&super._complete(),this.unsubscribe()}_unsubscribe(){this.innerSubscription=void 0}notifyComplete(){this.innerSubscription=void 0,this.isStopped&&super._complete()}notifyNext(K){this.destination.next(K)}}},9352:(Le,te,S)=>{"use strict";S.d(te,{R:()=>L});var s=S(5846);function L(Y){return G=>G.lift(new q(Y))}class q{constructor(G){this.notifier=G}call(G,se){const K=new X(G),z=(0,s.ft)(this.notifier,new s.IY(K));return z&&!K.seenValue?(K.add(z),se.subscribe(K)):K}}class X extends s.Ds{constructor(G){super(G),this.seenValue=!1}notifyNext(){this.seenValue=!0,this.complete()}notifyComplete(){}}},2420:(Le,te,S)=>{"use strict";S.d(te,{b:()=>X});var s=S(254);function L(){}var q=S(8594);function X(se,K,z){return function(H){return H.lift(new Y(se,K,z))}}class Y{constructor(K,z,k){this.nextOrObserver=K,this.error=z,this.complete=k}call(K,z){return z.subscribe(new G(K,this.nextOrObserver,this.error,this.complete))}}class G extends s.L{constructor(K,z,k,H){super(K),this._tapNext=L,this._tapError=L,this._tapComplete=L,this._tapError=k||L,this._tapComplete=H||L,(0,q.m)(z)?(this._context=this,this._tapNext=z):z&&(this._context=z,this._tapNext=z.next||L,this._tapError=z.error||L,this._tapComplete=z.complete||L)}_next(K){try{this._tapNext.call(this._context,K)}catch(z){return void this.destination.error(z)}this.destination.next(K)}_error(K){try{this._tapError.call(this._context,K)}catch(z){return void this.destination.error(z)}this.destination.error(K)}_complete(){try{this._tapComplete.call(this._context)}catch(K){return void this.destination.error(K)}return this.destination.complete()}}},5513:(Le,te,S)=>{"use strict";S.d(te,{r:()=>q});var s=S(4699),L=S(7902);function q(X,Y){return new s.y(G=>{const se=new L.w;let K=0;return se.add(Y.schedule(function(){K!==X.length?(G.next(X[K++]),G.closed||se.add(this.schedule())):G.complete()})),se})}},6258:(Le,te,S)=>{"use strict";S.d(te,{hZ:()=>L});const L=function s(){return"function"==typeof Symbol&&Symbol.iterator?Symbol.iterator:"@@iterator"}()},2677:(Le,te,S)=>{"use strict";S.d(te,{L:()=>s});const s="function"==typeof Symbol&&Symbol.observable||"@@observable"},5297:(Le,te,S)=>{"use strict";S.d(te,{b:()=>s});const s="function"==typeof Symbol?Symbol("rxSubscriber"):"@@rxSubscriber_"+Math.random()},6229:(Le,te,S)=>{"use strict";S.d(te,{N:()=>L});const L=(()=>{function q(){return Error.call(this),this.message="object unsubscribed",this.name="ObjectUnsubscribedError",this}return q.prototype=Object.create(Error.prototype),q})()},3510:(Le,te,S)=>{"use strict";function s(L){setTimeout(()=>{throw L},0)}S.d(te,{z:()=>s})},158:(Le,te,S)=>{"use strict";function s(L){return L}S.d(te,{y:()=>s})},1280:(Le,te,S)=>{"use strict";S.d(te,{k:()=>s});const s=Array.isArray||(L=>L&&"number"==typeof L.length)},9990:(Le,te,S)=>{"use strict";S.d(te,{z:()=>s});const s=L=>L&&"number"==typeof L.length&&"function"!=typeof L},8594:(Le,te,S)=>{"use strict";function s(L){return"function"==typeof L}S.d(te,{m:()=>s})},7755:(Le,te,S)=>{"use strict";function s(L){return null!==L&&"object"==typeof L}S.d(te,{K:()=>s})},6007:(Le,te,S)=>{"use strict";function s(L){return!!L&&"function"!=typeof L.subscribe&&"function"==typeof L.then}S.d(te,{t:()=>s})},9759:(Le,te,S)=>{"use strict";function s(L){return L&&"function"==typeof L.schedule}S.d(te,{K:()=>s})},4813:(Le,te,S)=>{"use strict";S.d(te,{U:()=>q,z:()=>L});var s=S(158);function L(...X){return q(X)}function q(X){return 0===X.length?s.y:1===X.length?X[0]:function(G){return X.reduce((se,K)=>K(se),G)}}},4372:(Le,te,S)=>{"use strict";S.d(te,{s:()=>H});var s=S(4947),L=S(3510),X=S(6258),G=S(2677),K=S(9990),z=S(6007),k=S(7755);const H=j=>{if(j&&"function"==typeof j[G.L])return(j=>W=>{const oe=j[G.L]();if("function"!=typeof oe.subscribe)throw new TypeError("Provided object does not correctly implement Symbol.observable");return oe.subscribe(W)})(j);if((0,K.z)(j))return(0,s.V)(j);if((0,z.t)(j))return(j=>W=>(j.then(oe=>{W.closed||(W.next(oe),W.complete())},oe=>W.error(oe)).then(null,L.z),W))(j);if(j&&"function"==typeof j[X.hZ])return(j=>W=>{const oe=j[X.hZ]();for(;;){let de;try{de=oe.next()}catch(re){return W.error(re),W}if(de.done){W.complete();break}if(W.next(de.value),W.closed)break}return"function"==typeof oe.return&&W.add(()=>{oe.return&&oe.return()}),W})(j);{const oe=`You provided ${(0,k.K)(j)?"an invalid object":`'${j}'`} where a stream was expected. You can provide an Observable, Promise, Array, or Iterable.`;throw new TypeError(oe)}}},4947:(Le,te,S)=>{"use strict";S.d(te,{V:()=>s});const s=L=>q=>{for(let X=0,Y=L.length;X<Y&&!q.closed;X++)q.next(L[X]);q.complete()}},3174:(Le,te,S)=>{"use strict";S.d(te,{Ik:()=>Re,LR:()=>Oe,XI:()=>xt,XX:()=>St,Y6:()=>pe,aJ:()=>we,ti:()=>_e});var s=S(5088),L=S(285),q=S(1665),X=S(7008),Y=S(6814),G=S(7443),se=S(2994),K=S(3075),z=S(2068),k=S(9352),H=S(2420);function j(Q,Ke){if(1&Q&&(s._UZ(0,"div",1),s.ALo(1,"nbErrInfo")),2&Q){const be=s.oxw();s.Q6J("nb-r-str",s.xi3(1,1,be.control.errors,be.allErrInfo))}}function W(Q,Ke){1&Q&&(s.TgZ(0,"span",4),s._uU(1,"*"),s.qZA())}function oe(Q,Ke){if(1&Q&&s._UZ(0,"nb-control-err",5),2&Q){const be=s.oxw();s.Q6J("control",be.control)("errInfo",be.errInfo)}}const de=[[["","field-label",""]],"*"],re=["[field-label]","*"],pe=new s.OlP("common errors information");var _e=function(Q){return Q.REQUIRED="required",Q.FILE_MAX_SIZE="fileMaxSize",Q.FILE_MIN_SIZE="fileMinSize",Q.FILE_TYPE="fileType",Q.EQUAL="equal",Q.MAX_LENGTH="maxlength",Q.MIN_LENGTH="minlength",Q.ARR_MAX_LENGTH="arrMaxLength",Q.ARR_MIN_LENGTH="arrMinLength",Q.WHITESPACE="whitespace",Q}(_e||{});const we={arrLength:Q=>Ke=>Array.isArray(Ke.value)?Q.max&&Ke.value.length>Q.max?{[_e.ARR_MAX_LENGTH]:!0}:Q.min&&Ke.value.length<Q.min?{[_e.ARR_MIN_LENGTH]:!0}:null:null,equal:(Q,Ke=!0)=>be=>!Ke&&!Q.dirty||(0,q.Z)(be.value,Q.value)?null:{[_e.EQUAL]:!0},fileSize:Q=>Ke=>{const be=Ke.value;return be instanceof File?Q.max&&be.size>Q.max?{[_e.FILE_MAX_SIZE]:!0}:Q.min&&be.size<Q.min?{[_e.FILE_MIN_SIZE]:!0}:null:null},fileType:Q=>Ke=>{const be=Ke.value;return be instanceof File&&Q.length&&!Q.includes(be.type)?{[_e.FILE_TYPE]:!0}:null},required:(Q=!0)=>Ke=>Q?L.kI.required(Ke):null,whitespace:(Q=!0)=>Ke=>Q||!Ke.value||!(0,X.Z)(Ke.value)||Ke.value.trim()?null:{[_e.WHITESPACE]:!0}},ge={required:Q=>we.required(Q.required),max:Q=>{if(Q.max)return L.kI.max(Q.max)},min:Q=>{if(Q.min)return L.kI.min(Q.min)},maxLength:Q=>{if(Q.maxLength)return L.kI.maxLength(Q.maxLength)},minLength:Q=>{if(Q.minLength)return L.kI.minLength(Q.minLength)},arrMaxLength:Q=>{if(Q.arrMaxLength)return we.arrLength({max:Q.arrMaxLength})},arrMinLength:Q=>{if(Q.arrMinLength)return we.arrLength({min:Q.arrMinLength})},maxFileSize:Q=>{if(Q.maxFileSize)return we.fileSize({max:Q.maxFileSize})},minFileSize:Q=>{if(Q.minFileSize)return we.fileSize({min:Q.minFileSize})},fileType:Q=>{if(Q.fileType?.length)return we.fileType(Q.fileType)},pattern:Q=>{if(Q.pattern)return L.kI.pattern(Q.pattern)},whitespace:Q=>we.whitespace(Q.whitespace)};let me=(()=>{class Q{transform(be,je){const ot=Object.keys(be||{})[0];return ot&&je?.[ot]||""}static#e=this.\u0275fac=function(je){return new(je||Q)};static#t=this.\u0275pipe=s.Yjl({name:"nbErrInfo",type:Q,pure:!0,standalone:!0})}return Q})(),Re=(()=>{class Q{constructor(be={},je,ot){this.commonErrInfo=be,this.changeDR=je,this.unsubscribeService=ot,this.errInfo={},this.allErrInfo={},this.hasErr=!1}ngOnChanges(be){const{control:je,errInfo:ot}=be;je&&this.subscribeControlChange(),ot&&this.updateAllErrInfo()}subscribeControlChange(){this.updateHasErr(this.control);const be=this.control.statusChanges.subscribe(je=>this.updateHasErr(this.control));this.unsubscribeService.collectASubscriptionByKey("control-status-changes",be)}updateAllErrInfo(){this.allErrInfo={...this.commonErrInfo,...this.errInfo},this.changeDR.markForCheck()}updateHasErr(be){this.hasErr=be.dirty&&"INVALID"===be.status,this.changeDR.markForCheck()}static#e=this.\u0275fac=function(je){return new(je||Q)(s.Y36(pe,8),s.Y36(s.sBO),s.Y36(G.ql))};static#t=this.\u0275cmp=s.Xpm({type:Q,selectors:[["nb-control-err"]],inputs:{control:"control",errInfo:"errInfo"},standalone:!0,features:[s._Bn([G.ql]),s.TTD,s.jDz],decls:1,vars:1,consts:[["class","err-info",3,"nb-r-str",4,"ngIf"],[1,"err-info",3,"nb-r-str"]],template:function(je,ot){1&je&&s.YNc(0,j,2,4,"div",0),2&je&&s.Q6J("ngIf",ot.control&&ot.hasErr)},dependencies:[Y.O5,G.dn,me],styles:["[_nghost-%COMP%]{position:relative;top:100%;left:0;display:block;font-size:14px;color:red}.err-info[_ngcontent-%COMP%]{position:absolute;top:0;left:0;word-break:break-word}"],changeDetection:0})}return Q})(),St=(()=>{class Q{constructor(){this.errInfo={},this.required=!1}static#e=this.\u0275fac=function(je){return new(je||Q)};static#t=this.\u0275cmp=s.Xpm({type:Q,selectors:[["nb-field-item"]],inputs:{control:"control",errInfo:"errInfo",required:"required"},standalone:!0,features:[s.jDz],ngContentSelectors:re,decls:6,vars:2,consts:[[1,"field-label"],["class","label-required",4,"ngIf"],[1,"field-content"],["class","nb-control-err",3,"control","errInfo",4,"ngIf"],[1,"label-required"],[1,"nb-control-err",3,"control","errInfo"]],template:function(je,ot){1&je&&(s.F$t(de),s.TgZ(0,"label",0),s.YNc(1,W,2,0,"span",1),s.Hsn(2),s.qZA(),s.TgZ(3,"div",2),s.Hsn(4,1),s.YNc(5,oe,1,2,"nb-control-err",3),s.qZA()),2&je&&(s.xp6(1),s.Q6J("ngIf",ot.required),s.xp6(4),s.Q6J("ngIf",ot.control))},dependencies:[Y.O5,Re],styles:["[_nghost-%COMP%]{display:flex;align-items:center;margin-bottom:24px}[_nghost-%COMP%]:last-child{margin-bottom:0}.field-label[_ngcontent-%COMP%]{flex:0 0 120px;display:flex;justify-content:flex-end;align-items:center;padding:0 8px 0 4px;word-break:break-word}.field-label[_ngcontent-%COMP%]:empty{flex-basis:0;padding:0}.label-required[_ngcontent-%COMP%]{color:red}.field-content[_ngcontent-%COMP%]{flex:1 1 auto;position:relative;display:flex;align-items:center}.nb-control-err[_ngcontent-%COMP%]{position:absolute;width:100%}"],changeDetection:0})}return Q})();const Tt=[Re,St];let xt=(()=>{class Q{static#e=this.\u0275fac=function(je){return new(je||Q)};static#t=this.\u0275mod=s.oAB({type:Q});static#n=this.\u0275inj=s.cJS({imports:[Tt]})}return Q})(),an=(()=>{class Q{constructor(){}doFormArrayFn(be,je){be.controls.forEach(ot=>je(ot))}doFormGroupFn(be,je){Object.keys(be.controls).forEach(ot=>je(be.get(ot)))}static#e=this.\u0275fac=function(je){return new(je||Q)};static#t=this.\u0275prov=s.Yz7({token:Q,factory:Q.\u0275fac,providedIn:"root"})}return Q})(),Oe=(()=>{class Q{constructor(be){this.formTools=be}getValidatorsFromControlConfig(be){const je=ge;return Object.keys(be).map(ot=>je[ot]?.(be)).filter(ot=>!!ot)}markAllAsDirty(be,je){be?.markAsDirty(je);const ot=fe=>this.markAllAsDirty(fe,je);be instanceof L.vC?this.formTools.doFormArrayFn(be,ot):be instanceof L.nJ&&this.formTools.doFormGroupFn(be,ot)}showAllErrInfo(be,je){be?.markAllAsTouched(),this.markAllAsDirty(be,je),this.updateAllValueAndValidity(be,je)}updateAllValueAndValidity(be,je){be?.updateValueAndValidity(je);const ot=fe=>this.updateAllValueAndValidity(fe,je);be instanceof L.vC?this.formTools.doFormArrayFn(be,ot):be instanceof L.nJ&&this.formTools.doFormGroupFn(be,ot)}updateEqualControlsValidities(be,je){const{target:ot,compared:fe}=be;return(0,se.aj)([ot.statusChanges.pipe((0,K.O)(ot.status)),fe.statusChanges.pipe((0,K.O)(fe.status))]).pipe((0,z.x)((Bt,ce)=>(0,q.Z)(Bt,ce)),je?(0,k.R)(je):(0,H.b)(()=>{})).subscribe(Bt=>{ot.updateValueAndValidity(),fe.updateValueAndValidity()})}static#e=this.\u0275fac=function(je){return new(je||Q)(s.LFG(an))};static#t=this.\u0275prov=s.Yz7({token:Q,factory:Q.\u0275fac,providedIn:"root"})}return Q})()},6814:(Le,te,S)=>{"use strict";S.d(te,{Do:()=>re,ED:()=>or,EM:()=>qn,HT:()=>X,JF:()=>Lr,K0:()=>G,Mx:()=>Yr,O5:()=>yo,Ov:()=>Et,PM:()=>Nn,RF:()=>Ct,S$:()=>W,V_:()=>K,Ye:()=>pe,ax:()=>Hn,b0:()=>de,bD:()=>Eo,ez:()=>bo,n9:()=>et,q:()=>q,tP:()=>Ni,w_:()=>Y});var s=S(5088);let L=null;function q(){return L}function X(p){L||(L=p)}class Y{}const G=new s.OlP("DocumentToken");let se=(()=>{class p{historyGo(v){throw new Error("Not implemented")}static#e=this.\u0275fac=function(b){return new(b||p)};static#t=this.\u0275prov=s.Yz7({token:p,factory:()=>(0,s.f3M)(z),providedIn:"platform"})}return p})();const K=new s.OlP("Location Initialized");let z=(()=>{class p extends se{constructor(){super(),this._doc=(0,s.f3M)(G),this._location=window.location,this._history=window.history}getBaseHrefFromDOM(){return q().getBaseHref(this._doc)}onPopState(v){const b=q().getGlobalEventTarget(this._doc,"window");return b.addEventListener("popstate",v,!1),()=>b.removeEventListener("popstate",v)}onHashChange(v){const b=q().getGlobalEventTarget(this._doc,"window");return b.addEventListener("hashchange",v,!1),()=>b.removeEventListener("hashchange",v)}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(v){this._location.pathname=v}pushState(v,b,N){this._history.pushState(v,b,N)}replaceState(v,b,N){this._history.replaceState(v,b,N)}forward(){this._history.forward()}back(){this._history.back()}historyGo(v=0){this._history.go(v)}getState(){return this._history.state}static#e=this.\u0275fac=function(b){return new(b||p)};static#t=this.\u0275prov=s.Yz7({token:p,factory:()=>new p,providedIn:"platform"})}return p})();function k(p,w){if(0==p.length)return w;if(0==w.length)return p;let v=0;return p.endsWith("/")&&v++,w.startsWith("/")&&v++,2==v?p+w.substring(1):1==v?p+w:p+"/"+w}function H(p){const w=p.match(/#|\?|$/),v=w&&w.index||p.length;return p.slice(0,v-("/"===p[v-1]?1:0))+p.slice(v)}function j(p){return p&&"?"!==p[0]?"?"+p:p}let W=(()=>{class p{historyGo(v){throw new Error("Not implemented")}static#e=this.\u0275fac=function(b){return new(b||p)};static#t=this.\u0275prov=s.Yz7({token:p,factory:()=>(0,s.f3M)(de),providedIn:"root"})}return p})();const oe=new s.OlP("appBaseHref");let de=(()=>{class p extends W{constructor(v,b){super(),this._platformLocation=v,this._removeListenerFns=[],this._baseHref=b??this._platformLocation.getBaseHrefFromDOM()??(0,s.f3M)(G).location?.origin??""}ngOnDestroy(){for(;this._removeListenerFns.length;)this._removeListenerFns.pop()()}onPopState(v){this._removeListenerFns.push(this._platformLocation.onPopState(v),this._platformLocation.onHashChange(v))}getBaseHref(){return this._baseHref}prepareExternalUrl(v){return k(this._baseHref,v)}path(v=!1){const b=this._platformLocation.pathname+j(this._platformLocation.search),N=this._platformLocation.hash;return N&&v?`${b}${N}`:b}pushState(v,b,N,Z){const ue=this.prepareExternalUrl(N+j(Z));this._platformLocation.pushState(v,b,ue)}replaceState(v,b,N,Z){const ue=this.prepareExternalUrl(N+j(Z));this._platformLocation.replaceState(v,b,ue)}forward(){this._platformLocation.forward()}back(){this._platformLocation.back()}getState(){return this._platformLocation.getState()}historyGo(v=0){this._platformLocation.historyGo?.(v)}static#e=this.\u0275fac=function(b){return new(b||p)(s.LFG(se),s.LFG(oe,8))};static#t=this.\u0275prov=s.Yz7({token:p,factory:p.\u0275fac,providedIn:"root"})}return p})(),re=(()=>{class p extends W{constructor(v,b){super(),this._platformLocation=v,this._baseHref="",this._removeListenerFns=[],null!=b&&(this._baseHref=b)}ngOnDestroy(){for(;this._removeListenerFns.length;)this._removeListenerFns.pop()()}onPopState(v){this._removeListenerFns.push(this._platformLocation.onPopState(v),this._platformLocation.onHashChange(v))}getBaseHref(){return this._baseHref}path(v=!1){let b=this._platformLocation.hash;return null==b&&(b="#"),b.length>0?b.substring(1):b}prepareExternalUrl(v){const b=k(this._baseHref,v);return b.length>0?"#"+b:b}pushState(v,b,N,Z){let ue=this.prepareExternalUrl(N+j(Z));0==ue.length&&(ue=this._platformLocation.pathname),this._platformLocation.pushState(v,b,ue)}replaceState(v,b,N,Z){let ue=this.prepareExternalUrl(N+j(Z));0==ue.length&&(ue=this._platformLocation.pathname),this._platformLocation.replaceState(v,b,ue)}forward(){this._platformLocation.forward()}back(){this._platformLocation.back()}getState(){return this._platformLocation.getState()}historyGo(v=0){this._platformLocation.historyGo?.(v)}static#e=this.\u0275fac=function(b){return new(b||p)(s.LFG(se),s.LFG(oe,8))};static#t=this.\u0275prov=s.Yz7({token:p,factory:p.\u0275fac})}return p})(),pe=(()=>{class p{constructor(v){this._subject=new s.vpe,this._urlChangeListeners=[],this._urlChangeSubscription=null,this._locationStrategy=v;const b=this._locationStrategy.getBaseHref();this._basePath=function Ze(p){if(new RegExp("^(https?:)?//").test(p)){const[,v]=p.split(/\/\/[^\/]+/);return v}return p}(H(Ne(b))),this._locationStrategy.onPopState(N=>{this._subject.emit({url:this.path(!0),pop:!0,state:N.state,type:N.type})})}ngOnDestroy(){this._urlChangeSubscription?.unsubscribe(),this._urlChangeListeners=[]}path(v=!1){return this.normalize(this._locationStrategy.path(v))}getState(){return this._locationStrategy.getState()}isCurrentPathEqualTo(v,b=""){return this.path()==this.normalize(v+j(b))}normalize(v){return p.stripTrailingSlash(function _e(p,w){if(!p||!w.startsWith(p))return w;const v=w.substring(p.length);return""===v||["/",";","?","#"].includes(v[0])?v:w}(this._basePath,Ne(v)))}prepareExternalUrl(v){return v&&"/"!==v[0]&&(v="/"+v),this._locationStrategy.prepareExternalUrl(v)}go(v,b="",N=null){this._locationStrategy.pushState(N,"",v,b),this._notifyUrlChangeListeners(this.prepareExternalUrl(v+j(b)),N)}replaceState(v,b="",N=null){this._locationStrategy.replaceState(N,"",v,b),this._notifyUrlChangeListeners(this.prepareExternalUrl(v+j(b)),N)}forward(){this._locationStrategy.forward()}back(){this._locationStrategy.back()}historyGo(v=0){this._locationStrategy.historyGo?.(v)}onUrlChange(v){return this._urlChangeListeners.push(v),this._urlChangeSubscription||(this._urlChangeSubscription=this.subscribe(b=>{this._notifyUrlChangeListeners(b.url,b.state)})),()=>{const b=this._urlChangeListeners.indexOf(v);this._urlChangeListeners.splice(b,1),0===this._urlChangeListeners.length&&(this._urlChangeSubscription?.unsubscribe(),this._urlChangeSubscription=null)}}_notifyUrlChangeListeners(v="",b){this._urlChangeListeners.forEach(N=>N(v,b))}subscribe(v,b,N){return this._subject.subscribe({next:v,error:b,complete:N})}static#e=this.normalizeQueryParams=j;static#t=this.joinWithSlash=k;static#n=this.stripTrailingSlash=H;static#r=this.\u0275fac=function(b){return new(b||p)(s.LFG(W))};static#o=this.\u0275prov=s.Yz7({token:p,factory:()=>function Se(){return new pe((0,s.LFG)(W))}(),providedIn:"root"})}return p})();function Ne(p){return p.replace(/\/index.html$/,"")}function Yr(p,w){w=encodeURIComponent(w);for(const v of p.split(";")){const b=v.indexOf("="),[N,Z]=-1==b?[v,""]:[v.slice(0,b),v.slice(b+1)];if(N.trim()===w)return decodeURIComponent(Z)}return null}class Zr{constructor(w,v,b,N){this.$implicit=w,this.ngForOf=v,this.index=b,this.count=N}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 Hn=(()=>{class p{set ngForOf(v){this._ngForOf=v,this._ngForOfDirty=!0}set ngForTrackBy(v){this._trackByFn=v}get ngForTrackBy(){return this._trackByFn}constructor(v,b,N){this._viewContainer=v,this._template=b,this._differs=N,this._ngForOf=null,this._ngForOfDirty=!0,this._differ=null}set ngForTemplate(v){v&&(this._template=v)}ngDoCheck(){if(this._ngForOfDirty){this._ngForOfDirty=!1;const v=this._ngForOf;!this._differ&&v&&(this._differ=this._differs.find(v).create(this.ngForTrackBy))}if(this._differ){const v=this._differ.diff(this._ngForOf);v&&this._applyChanges(v)}}_applyChanges(v){const b=this._viewContainer;v.forEachOperation((N,Z,ue)=>{if(null==N.previousIndex)b.createEmbeddedView(this._template,new Zr(N.item,this._ngForOf,-1,-1),null===ue?void 0:ue);else if(null==ue)b.remove(null===Z?void 0:Z);else if(null!==Z){const Pe=b.get(Z);b.move(Pe,ue),on(Pe,N)}});for(let N=0,Z=b.length;N<Z;N++){const Pe=b.get(N).context;Pe.index=N,Pe.count=Z,Pe.ngForOf=this._ngForOf}v.forEachIdentityChange(N=>{on(b.get(N.currentIndex),N)})}static ngTemplateContextGuard(v,b){return!0}static#e=this.\u0275fac=function(b){return new(b||p)(s.Y36(s.s_b),s.Y36(s.Rgc),s.Y36(s.ZZ4))};static#t=this.\u0275dir=s.lG2({type:p,selectors:[["","ngFor","","ngForOf",""]],inputs:{ngForOf:"ngForOf",ngForTrackBy:"ngForTrackBy",ngForTemplate:"ngForTemplate"},standalone:!0})}return p})();function on(p,w){p.context.$implicit=w.item}let yo=(()=>{class p{constructor(v,b){this._viewContainer=v,this._context=new wr,this._thenTemplateRef=null,this._elseTemplateRef=null,this._thenViewRef=null,this._elseViewRef=null,this._thenTemplateRef=b}set ngIf(v){this._context.$implicit=this._context.ngIf=v,this._updateView()}set ngIfThen(v){Yn("ngIfThen",v),this._thenTemplateRef=v,this._thenViewRef=null,this._updateView()}set ngIfElse(v){Yn("ngIfElse",v),this._elseTemplateRef=v,this._elseViewRef=null,this._updateView()}_updateView(){this._context.$implicit?this._thenViewRef||(this._viewContainer.clear(),this._elseViewRef=null,this._thenTemplateRef&&(this._thenViewRef=this._viewContainer.createEmbeddedView(this._thenTemplateRef,this._context))):this._elseViewRef||(this._viewContainer.clear(),this._thenViewRef=null,this._elseTemplateRef&&(this._elseViewRef=this._viewContainer.createEmbeddedView(this._elseTemplateRef,this._context)))}static ngTemplateContextGuard(v,b){return!0}static#e=this.\u0275fac=function(b){return new(b||p)(s.Y36(s.s_b),s.Y36(s.Rgc))};static#t=this.\u0275dir=s.lG2({type:p,selectors:[["","ngIf",""]],inputs:{ngIf:"ngIf",ngIfThen:"ngIfThen",ngIfElse:"ngIfElse"},standalone:!0})}return p})();class wr{constructor(){this.$implicit=null,this.ngIf=null}}function Yn(p,w){if(w&&!w.createEmbeddedView)throw new Error(`${p} must be a TemplateRef, but received '${(0,s.AaK)(w)}'.`)}class Kr{constructor(w,v){this._viewContainerRef=w,this._templateRef=v,this._created=!1}create(){this._created=!0,this._viewContainerRef.createEmbeddedView(this._templateRef)}destroy(){this._created=!1,this._viewContainerRef.clear()}enforceState(w){w&&!this._created?this.create():!w&&this._created&&this.destroy()}}let Ct=(()=>{class p{constructor(){this._defaultViews=[],this._defaultUsed=!1,this._caseCount=0,this._lastCaseCheckIndex=0,this._lastCasesMatched=!1}set ngSwitch(v){this._ngSwitch=v,0===this._caseCount&&this._updateDefaultCases(!0)}_addCase(){return this._caseCount++}_addDefault(v){this._defaultViews.push(v)}_matchCase(v){const b=v===this._ngSwitch;return this._lastCasesMatched=this._lastCasesMatched||b,this._lastCaseCheckIndex++,this._lastCaseCheckIndex===this._caseCount&&(this._updateDefaultCases(!this._lastCasesMatched),this._lastCaseCheckIndex=0,this._lastCasesMatched=!1),b}_updateDefaultCases(v){if(this._defaultViews.length>0&&v!==this._defaultUsed){this._defaultUsed=v;for(const b of this._defaultViews)b.enforceState(v)}}static#e=this.\u0275fac=function(b){return new(b||p)};static#t=this.\u0275dir=s.lG2({type:p,selectors:[["","ngSwitch",""]],inputs:{ngSwitch:"ngSwitch"},standalone:!0})}return p})(),et=(()=>{class p{constructor(v,b,N){this.ngSwitch=N,N._addCase(),this._view=new Kr(v,b)}ngDoCheck(){this._view.enforceState(this.ngSwitch._matchCase(this.ngSwitchCase))}static#e=this.\u0275fac=function(b){return new(b||p)(s.Y36(s.s_b),s.Y36(s.Rgc),s.Y36(Ct,9))};static#t=this.\u0275dir=s.lG2({type:p,selectors:[["","ngSwitchCase",""]],inputs:{ngSwitchCase:"ngSwitchCase"},standalone:!0})}return p})(),or=(()=>{class p{constructor(v,b,N){N._addDefault(new Kr(v,b))}static#e=this.\u0275fac=function(b){return new(b||p)(s.Y36(s.s_b),s.Y36(s.Rgc),s.Y36(Ct,9))};static#t=this.\u0275dir=s.lG2({type:p,selectors:[["","ngSwitchDefault",""]],standalone:!0})}return p})(),Ni=(()=>{class p{constructor(v){this._viewContainerRef=v,this._viewRef=null,this.ngTemplateOutletContext=null,this.ngTemplateOutlet=null,this.ngTemplateOutletInjector=null}ngOnChanges(v){if(this._shouldRecreateView(v)){const b=this._viewContainerRef;if(this._viewRef&&b.remove(b.indexOf(this._viewRef)),!this.ngTemplateOutlet)return void(this._viewRef=null);const N=this._createContextForwardProxy();this._viewRef=b.createEmbeddedView(this.ngTemplateOutlet,N,{injector:this.ngTemplateOutletInjector??void 0})}}_shouldRecreateView(v){return!!v.ngTemplateOutlet||!!v.ngTemplateOutletInjector}_createContextForwardProxy(){return new Proxy({},{set:(v,b,N)=>!!this.ngTemplateOutletContext&&Reflect.set(this.ngTemplateOutletContext,b,N),get:(v,b,N)=>{if(this.ngTemplateOutletContext)return Reflect.get(this.ngTemplateOutletContext,b,N)}})}static#e=this.\u0275fac=function(b){return new(b||p)(s.Y36(s.s_b))};static#t=this.\u0275dir=s.lG2({type:p,selectors:[["","ngTemplateOutlet",""]],inputs:{ngTemplateOutletContext:"ngTemplateOutletContext",ngTemplateOutlet:"ngTemplateOutlet",ngTemplateOutletInjector:"ngTemplateOutletInjector"},standalone:!0,features:[s.TTD]})}return p})();class R{createSubscription(w,v){return(0,s.rg0)(()=>w.subscribe({next:v,error:b=>{throw b}}))}dispose(w){(0,s.rg0)(()=>w.unsubscribe())}}class U{createSubscription(w,v){return w.then(v,b=>{throw b})}dispose(w){}}const Me=new U,Be=new R;let Et=(()=>{class p{constructor(v){this._latestValue=null,this._subscription=null,this._obj=null,this._strategy=null,this._ref=v}ngOnDestroy(){this._subscription&&this._dispose(),this._ref=null}transform(v){return this._obj?v!==this._obj?(this._dispose(),this.transform(v)):this._latestValue:(v&&this._subscribe(v),this._latestValue)}_subscribe(v){this._obj=v,this._strategy=this._selectStrategy(v),this._subscription=this._strategy.createSubscription(v,b=>this._updateLatestValue(v,b))}_selectStrategy(v){if((0,s.QGY)(v))return Me;if((0,s.F4k)(v))return Be;throw function $(p,w){return new s.vHH(2100,!1)}()}_dispose(){this._strategy.dispose(this._subscription),this._latestValue=null,this._subscription=null,this._obj=null}_updateLatestValue(v,b){v===this._obj&&(this._latestValue=b,this._ref.markForCheck())}static#e=this.\u0275fac=function(b){return new(b||p)(s.Y36(s.sBO,16))};static#t=this.\u0275pipe=s.Yjl({name:"async",type:p,pure:!1,standalone:!0})}return p})(),bo=(()=>{class p{static#e=this.\u0275fac=function(b){return new(b||p)};static#t=this.\u0275mod=s.oAB({type:p});static#n=this.\u0275inj=s.cJS({})}return p})();const Eo="browser",ci="server";function Nn(p){return p===ci}let qn=(()=>{class p{static#e=this.\u0275prov=(0,s.Yz7)({token:p,providedIn:"root",factory:()=>new sr((0,s.LFG)(G),window)})}return p})();class sr{constructor(w,v){this.document=w,this.window=v,this.offset=()=>[0,0]}setOffset(w){this.offset=Array.isArray(w)?()=>w:w}getScrollPosition(){return this.supportsScrolling()?[this.window.pageXOffset,this.window.pageYOffset]:[0,0]}scrollToPosition(w){this.supportsScrolling()&&this.window.scrollTo(w[0],w[1])}scrollToAnchor(w){if(!this.supportsScrolling())return;const v=function Fo(p,w){const v=p.getElementById(w)||p.getElementsByName(w)[0];if(v)return v;if("function"==typeof p.createTreeWalker&&p.body&&"function"==typeof p.body.attachShadow){const b=p.createTreeWalker(p.body,NodeFilter.SHOW_ELEMENT);let N=b.currentNode;for(;N;){const Z=N.shadowRoot;if(Z){const ue=Z.getElementById(w)||Z.querySelector(`[name="${w}"]`);if(ue)return ue}N=b.nextNode()}}return null}(this.document,w);v&&(this.scrollToElement(v),v.focus())}setHistoryScrollRestoration(w){this.supportsScrolling()&&(this.window.history.scrollRestoration=w)}scrollToElement(w){const v=w.getBoundingClientRect(),b=v.left+this.window.pageXOffset,N=v.top+this.window.pageYOffset,Z=this.offset();this.window.scrollTo(b-Z[0],N-Z[1])}supportsScrolling(){try{return!!this.window&&!!this.window.scrollTo&&"pageXOffset"in this.window}catch{return!1}}}class Lr{}},5088:(Le,te,S)=>{"use strict";S.d(te,{tb:()=>qp,AFp:()=>xl,ip1:()=>kD,hGG:()=>nA,z2F:()=>mu,Ojb:()=>c,sBO:()=>nv,Sil:()=>fT,EJc:()=>sT,Xts:()=>Ds,SBq:()=>gc,lqb:()=>Io,qLn:()=>Es,vpe:()=>Mi,XFs:()=>et,OlP:()=>$,zs3:()=>Hr,ZZ4:()=>Ih,aQg:()=>Mh,soG:()=>Fd,YKP:()=>W_,h0i:()=>ca,R0b:()=>Gn,FiY:()=>Zs,Lbi:()=>nc,g9A:()=>Wf,Qsj:()=>Jb,FYo:()=>_m,JOm:()=>Vl,tp0:()=>Aa,Rgc:()=>Vc,dDg:()=>kT,eoX:()=>YD,GfV:()=>Dm,s_b:()=>md,ifc:()=>Nn,T8G:()=>dv,VuI:()=>EA,MMx:()=>Z_,Lck:()=>nS,eFA:()=>QD,G48:()=>KT,Gpc:()=>ho,f3M:()=>pt,X6Q:()=>qT,$WT:()=>De,MR2:()=>Na,_c5:()=>tA,qFp:()=>IA,r_H:()=>Ki,rg0:()=>rE,c2e:()=>VD,zSh:()=>xa,HDt:()=>HD,wAp:()=>fu,vHH:()=>Ie,lri:()=>zD,rWj:()=>WD,cg1:()=>Cp,kuF:()=>fn,kL8:()=>Py,dqk:()=>jt,Z0I:()=>on,eJc:()=>ii,QGY:()=>wp,F4k:()=>a_,RDi:()=>zf,AaK:()=>nn,qOj:()=>$h,Xq5:()=>Dv,TTD:()=>$c,_Bn:()=>z_,jDz:()=>q_,xp6:()=>Fm,uIk:()=>Gh,ekj:()=>Kh,Suo:()=>mD,Xpm:()=>pi,lG2:()=>Vr,Yz7:()=>Vt,cJS:()=>Zr,oAB:()=>Xo,Yjl:()=>ns,Y36:()=>Ga,_UZ:()=>yp,GkF:()=>_p,BQk:()=>Id,ynx:()=>wd,qZA:()=>Ed,TgZ:()=>bd,EpF:()=>xy,n5z:()=>dl,Ikx:()=>Dp,LFG:()=>pn,$8M:()=>Ia,$Z:()=>km,NdJ:()=>Ip,CRH:()=>vD,oxw:()=>f_,ALo:()=>lD,lcZ:()=>dD,xi3:()=>fD,Hsn:()=>p_,F$t:()=>h_,Q6J:()=>Zh,VKq:()=>rD,WLB:()=>oD,iGM:()=>gD,MAs:()=>w_,KtG:()=>va,CHM:()=>ma,LSH:()=>fh,P3R:()=>hm,YNc:()=>ou,W1O:()=>CD,_uU:()=>P_,Oqu:()=>Sp,hij:()=>Od});let L=null,X=1;function G(e){const t=L;return L=e,t}function W(e){if((!We(e)||e.dirty)&&(e.dirty||e.lastCleanEpoch!==X)){if(!e.producerMustRecompute(e)&&!_e(e))return e.dirty=!1,void(e.lastCleanEpoch=X);e.producerRecomputeValue(e),e.dirty=!1,e.lastCleanEpoch=X}}function _e(e){Ue(e);for(let t=0;t<e.producerNode.length;t++){const n=e.producerNode[t],r=e.producerLastReadVersion[t];if(r!==n.version||(W(n),r!==n.version))return!0}return!1}function ht(e,t){if(function _t(e){e.liveConsumerNode??=[],e.liveConsumerIndexOfThis??=[]}(e),Ue(e),1===e.liveConsumerNode.length)for(let r=0;r<e.producerNode.length;r++)ht(e.producerNode[r],e.producerIndexOfThis[r]);const n=e.liveConsumerNode.length-1;if(e.liveConsumerNode[t]=e.liveConsumerNode[n],e.liveConsumerIndexOfThis[t]=e.liveConsumerIndexOfThis[n],e.liveConsumerNode.length--,e.liveConsumerIndexOfThis.length--,t<e.liveConsumerNode.length){const r=e.liveConsumerIndexOfThis[t],o=e.liveConsumerNode[t];Ue(o),o.producerIndexOfThis[r]=t}}function We(e){return e.consumerIsAlwaysLive||(e?.liveConsumerNode?.length??0)>0}function Ue(e){e.producerNode??=[],e.producerIndexOfThis??=[],e.producerLastReadVersion??=[]}let $e=null;var Bt=S(8152),ce=S(7902),ke=S(4699),Ot=S(9759),kt=S(7449),er=S(2594),co=S(5125),_n=S(9193),mn=S(4247);class Xt{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 it=S(2851);function vt(){return new Bt.xQ}function lo(){return e=>(0,it.x)()(function So(e,t){return function(r){let o;if(o="function"==typeof e?e:function(){return e},"function"==typeof t)return r.lift(new Xt(o,t));const i=Object.create(r,mn.N);return i.source=r,i.subjectFactory=o,i}}(vt)(e))}var fo=S(5222),tr=S(2068);function at(e){for(let t in e)if(e[t]===at)return t;throw Error("Could not find renamed property on target object.")}function Tn(e,t){for(const n in t)t.hasOwnProperty(n)&&!e.hasOwnProperty(n)&&(e[n]=t[n])}function nn(e){if("string"==typeof e)return e;if(Array.isArray(e))return"["+e.map(nn).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 Zt(e,t){return null==e||""===e?null===t?"":t:null==t||""===t?e:e+" "+t}const Rt=at({__forward_ref__:at});function ho(e){return e.__forward_ref__=ho,e.toString=function(){return nn(this())},e}function Ge(e){return To(e)?e():e}function To(e){return"function"==typeof e&&e.hasOwnProperty(Rt)&&e.__forward_ref__===ho}function nr(e){return e&&!!e.\u0275providers}const Cr="https://g.co/ng/security#xss";class Ie extends Error{constructor(t,n){super(fn(t,n)),this.code=t}}function fn(e,t){return`NG0${Math.abs(e)}${t?": "+t:""}`}const On=at({\u0275cmp:at}),$r=at({\u0275dir:at}),po=at({\u0275pipe:at}),go=at({\u0275mod:at}),rn=at({\u0275fac:at}),un=at({__NG_ELEMENT_ID__:at}),en=at({__NG_ENV_ID__:at});function He(e){return"string"==typeof e?e:null==e?"":String(e)}function hr(e,t){throw new Ie(-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 Vt(e){return{token:e.token,providedIn:e.providedIn||null,factory:e.factory,value:void 0}}function Zr(e){return{providers:e.providers||[],imports:e.imports||[]}}function Hn(e){return xr(e,Yn)||xr(e,Kr)}function on(e){return null!==Hn(e)}function xr(e,t){return e.hasOwnProperty(t)?e[t]:null}function wr(e){return e&&(e.hasOwnProperty(qr)||e.hasOwnProperty(Ct))?e[qr]:null}const Yn=at({\u0275prov:at}),qr=at({\u0275inj:at}),Kr=at({ngInjectableDef:at}),Ct=at({ngInjectorDef:at});var et=function(e){return e[e.Default=0]="Default",e[e.Host=1]="Host",e[e.Self=2]="Self",e[e.SkipSelf=4]="SkipSelf",e[e.Optional=8]="Optional",e}(et||{});let or;function Rr(){return or}function wt(e){const t=or;return or=e,t}function Pr(e,t,n){const r=Hn(e);return r&&"root"==r.providedIn?void 0===r.value?r.value=r.factory():r.value:n&et.Optional?null:void 0!==t?t:void hr(nn(e))}const jt=globalThis;class ${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=Vt({token:this,providedIn:n.providedIn||"root",factory:n.factory}))}get multi(){return this}toString(){return`InjectionToken ${this._desc}`}}const Xe={},Fr="__NG_DI_FLAG__",Jr="ngTempTokenPath",qo=/\n/gm,wn="__source";let Ir;function gr(e){const t=Ir;return Ir=e,t}function ir(e,t=et.Default){if(void 0===Ir)throw new Ie(-203,!1);return null===Ir?Pr(e,void 0,t):Ir.get(e,t&et.Optional?null:void 0,t)}function pn(e,t=et.Default){return(Rr()||ir)(Ge(e),t)}function pt(e,t=et.Default){return pn(e,xo(t))}function xo(e){return typeof e>"u"||"number"==typeof e?e:0|(e.optional&&8)|(e.host&&1)|(e.self&&2)|(e.skipSelf&&4)}function Ro(e){const t=[];for(let n=0;n<e.length;n++){const r=Ge(e[n]);if(Array.isArray(r)){if(0===r.length)throw new Ie(900,!1);let o,i=et.Default;for(let l=0;l<r.length;l++){const f=r[l],h=Eo(f);"number"==typeof h?-1===h?o=f.token:i|=h:o=f}t.push(pn(o,i))}else t.push(pn(r))}return t}function bo(e,t){return e[Fr]=t,e.prototype[Fr]=t,e}function Eo(e){return e[Fr]}function dn(e){return{toString:e}.toString()}var It=function(e){return e[e.OnPush=0]="OnPush",e[e.Default=1]="Default",e}(It||{}),Nn=function(e){return e[e.Emulated=0]="Emulated",e[e.None=2]="None",e[e.ShadowDom=3]="ShadowDom",e}(Nn||{});const Zn={},dt=[];function li(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}}function qn(e,t,n){let r=0;for(;r<n.length;){const o=n[r];if("number"==typeof o){if(0!==o)break;r++;const i=n[r++],l=n[r++],f=n[r++];e.setAttribute(t,l,f,i)}else{const i=o,l=n[++r];Fo(i)?e.setProperty(t,i,l):e.setAttribute(t,i,l),r++}}return r}function sr(e){return 3===e||4===e||6===e}function Fo(e){return 64===e.charCodeAt(0)}function xn(e,t){if(null!==t&&0!==t.length)if(null===e||0===e.length)e=t.slice();else{let n=-1;for(let r=0;r<t.length;r++){const o=t[r];"number"==typeof o?n=o:0===n||Lr(e,n,o,null,-1===n||2===n?t[++r]:null)}}return e}function Lr(e,t,n,r,o){let i=0,l=e.length;if(-1===t)l=-1;else for(;i<e.length;){const f=e[i++];if("number"==typeof f){if(f===t){l=-1;break}if(f>t){l=i-1;break}}}for(;i<e.length;){const f=e[i];if("number"==typeof f)break;if(f===n){if(null===r)return void(null!==o&&(e[i+1]=o));if(r===e[i+1])return void(e[i+2]=o)}i++,null!==r&&i++,null!==o&&i++}-1!==l&&(e.splice(l,0,t),i=l+1),e.splice(i++,0,n),null!==r&&e.splice(i++,0,r),null!==o&&e.splice(i++,0,o)}const Ko="ng-template";function kr(e,t,n){let r=0,o=!0;for(;r<e.length;){let i=e[r++];if("string"==typeof i&&o){const l=e[r++];if(n&&"class"===i&&-1!==li(l.toLowerCase(),t,0))return!0}else{if(1===i){for(;r<e.length&&"string"==typeof(i=e[r++]);)if(i.toLowerCase()===t)return!0;return!1}"number"==typeof i&&(o=!1)}}return!1}function di(e){return 4===e.type&&e.value!==Ko}function eo(e,t,n){return t===(4!==e.type||n?e.value:Ko)}function to(e,t,n){let r=4;const o=e.attrs||[],i=function Pi(e){for(let t=0;t<e.length;t++)if(sr(e[t]))return t;return e.length}(o);let l=!1;for(let f=0;f<t.length;f++){const h=t[f];if("number"!=typeof h){if(!l)if(4&r){if(r=2|1&r,""!==h&&!eo(e,h,n)||""===h&&1===t.length){if(Un(r))return!1;l=!0}}else{const _=8&r?h:t[++f];if(8&r&&null!==e.attrs){if(!kr(e.attrs,_,n)){if(Un(r))return!1;l=!0}continue}const T=no(8&r?"class":h,o,di(e),n);if(-1===T){if(Un(r))return!1;l=!0;continue}if(""!==_){let P;P=T>i?"":o[T+1].toLowerCase();const V=8&r?P:null;if(V&&-1!==li(V,_,0)||2&r&&_!==P){if(Un(r))return!1;l=!0}}}}else{if(!l&&!Un(r)&&!Un(h))return!1;if(l&&Un(h))continue;l=!1,r=h|1&r}}return Un(r)||l}function Un(e){return 0==(1&e)}function no(e,t,n,r){if(null===t)return-1;let o=0;if(r||!n){let i=!1;for(;o<t.length;){const l=t[o];if(l===e)return o;if(3===l||6===l)i=!0;else{if(1===l||2===l){let f=t[++o];for(;"string"==typeof f;)f=t[++o];continue}if(4===l)break;if(0===l){o+=4;continue}}o+=i?1:2}return-1}return function ar(e,t){let n=e.indexOf(4);if(n>-1)for(n++;n<e.length;){const r=e[n];if("number"==typeof r)return-1;if(r===t)return n;n++}return-1}(t,e)}function fi(e,t,n=!1){for(let r=0;r<t.length;r++)if(to(e,t[r],n))return!0;return!1}function Fi(e,t){e:for(let n=0;n<t.length;n++){const r=t[n];if(e.length===r.length){for(let o=0;o<e.length;o++)if(e[o]!==r[o])continue e;return!0}}return!1}function hi(e,t){return e?":not("+t.trim()+")":t}function Li(e){let t=e[0],n=1,r=2,o="",i=!1;for(;n<e.length;){let l=e[n];if("string"==typeof l)if(2&r){const f=e[++n];o+="["+l+(f.length>0?'="'+f+'"':"")+"]"}else 8&r?o+="."+l:4&r&&(o+=" "+l);else""!==o&&!Un(l)&&(t+=hi(i,o),o=""),r=l,i=i||!Un(r);n++}return""!==o&&(t+=hi(i,o)),t}function pi(e){return dn(()=>{const t=C(e),n={...t,decls:e.decls,vars:e.vars,template:e.template,consts:e.consts||null,ngContentSelectors:e.ngContentSelectors,onPush:e.changeDetection===It.OnPush,directiveDefs:null,pipeDefs:null,dependencies:t.standalone&&e.dependencies||null,getStandaloneInjector:null,signals:e.signals??!1,data:e.data||{},encapsulation:e.encapsulation||Nn.Emulated,styles:e.styles||dt,_:null,schemas:e.schemas||null,tView:null,id:""};m(n);const r=e.dependencies;return n.directiveDefs=I(r,!1),n.pipeDefs=I(r,!0),n.id=function ye(e){let t=0;const n=[e.selectors,e.ngContentSelectors,e.hostVars,e.hostAttrs,e.consts,e.vars,e.decls,e.encapsulation,e.standalone,e.signals,e.exportAs,JSON.stringify(e.inputs),JSON.stringify(e.outputs),Object.getOwnPropertyNames(e.type.prototype),!!e.contentQueries,!!e.viewQuery].join("|");for(const o of n)t=Math.imul(31,t)+o.charCodeAt(0)<<0;return t+=2147483648,"c"+t}(n),n})}function Jo(e){return ut(e)||B(e)}function gi(e){return null!==e}function Xo(e){return dn(()=>({type:e.type,bootstrap:e.bootstrap||dt,declarations:e.declarations||dt,imports:e.imports||dt,exports:e.exports||dt,transitiveCompileScopes:null,schemas:e.schemas||null,id:e.id||null}))}function Lo(e,t){if(null==e)return Zn;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}function Vr(e){return dn(()=>{const t=C(e);return m(t),t})}function ns(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 ut(e){return e[On]||null}function B(e){return e[$r]||null}function ee(e){return e[po]||null}function De(e){const t=ut(e)||B(e)||ee(e);return null!==t&&t.standalone}function y(e,t){const n=e[go]||null;if(!n&&!0===t)throw new Error(`Type ${nn(e)} does not have '\u0275mod' property.`);return n}function C(e){const t={};return{type:e.type,providersResolver:null,factory:null,hostBindings:e.hostBindings||null,hostVars:e.hostVars||0,hostAttrs:e.hostAttrs||null,contentQueries:e.contentQueries||null,declaredInputs:t,inputTransforms:null,inputConfig:e.inputs||Zn,exportAs:e.exportAs||null,standalone:!0===e.standalone,signals:!0===e.signals,selectors:e.selectors||dt,viewQuery:e.viewQuery||null,features:e.features||null,setInput:null,findHostDirectiveDefs:null,hostDirectives:null,inputs:Lo(e.inputs,t),outputs:Lo(e.outputs),debugInfo:null}}function m(e){e.features?.forEach(t=>t(e))}function I(e,t){if(!e)return null;const n=t?ee:Jo;return()=>("function"==typeof e?e():e).map(r=>n(r)).filter(gi)}const ve=0,ae=1,Te=2,qe=3,Gt=4,Nt=5,cn=6,Rn=7,bt=8,zt=9,vn=10,Ye=11,Pn=12,mi=13,Mr=14,Wt=15,Vi=16,ji=17,ro=18,rs=19,yu=20,ei=21,Ss=22,vi=23,ct=25,fa=1,oo=7,ko=9,Dn=10;var Ui=function(e){return e[e.None=0]="None",e[e.HasTransplantedViews=2]="HasTransplantedViews",e[e.HasChildViewsToRefresh=4]="HasChildViewsToRefresh",e}(Ui||{});function yn(e){return Array.isArray(e)&&"object"==typeof e[fa]}function In(e){return Array.isArray(e)&&!0===e[fa]}function os(e){return 0!=(4&e.flags)}function Vo(e){return e.componentOffset>-1}function mr(e){return 1==(1&e.flags)}function Kn(e){return!!e.template}function Ts(e){return 0!=(512&e[Te])}function yr(e,t){return e.hasOwnProperty(rn)?e[rn]:null}class As{constructor(t,n,r){this.previousValue=t,this.currentValue=n,this.firstChange=r}isFirstChange(){return this.firstChange}}function $c(){return zd}function zd(e){return e.type.prototype.ngOnChanges&&(e.setInput=ug),ag}function ag(){const e=Wd(this),t=e?.current;if(t){const n=e.previous;if(n===Zn)e.previous=t;else for(let r in t)n[r]=t[r];e.current=null,this.ngOnChanges(t)}}function ug(e,t,n,r){const o=this.declaredInputs[n],i=Wd(e)||function Yd(e,t){return e[Gc]=t}(e,{previous:Zn,current:null}),l=i.current||(i.current={}),f=i.previous,h=f[o];l[o]=new As(h&&h.currentValue,t,f===Zn),e[r]=t}$c.ngInherit=!0;const Gc="__ngSimpleChanges__";function Wd(e){return e[Gc]||null}const Ln=function(e,t,n){};function ln(e){for(;Array.isArray(e);)e=e[ve];return e}function Os(e,t){return ln(t[e])}function ur(e,t){return ln(t[e.index])}function Ns(e,t){return e.data[t]}function as(e,t){return e[t]}function Bn(e,t){const n=t[e];return yn(n)?n:n[ve]}function Eu(e){return 128==(128&e[Te])}function Sr(e,t){return null==t?null:e[t]}function us(e){e[ji]=0}function qd(e){1024&e[Te]||(e[Te]|=1024,Eu(e)&&pa(e))}function Yc(e){return 9216&e[Te]||e[vi]?.dirty}function Zc(e){Yc(e)&&pa(e)}function pa(e){let t=e[qe];for(;null!==t&&!(In(t)&&t[Te]&Ui.HasChildViewsToRefresh||yn(t)&&8192&t[Te]);){if(In(t))t[Te]|=Ui.HasChildViewsToRefresh;else if(t[Te]|=8192,!Eu(t))break;t=t[qe]}}function ga(e,t){if(256==(256&e[Te]))throw new Ie(911,!1);null===e[ei]&&(e[ei]=[]),e[ei].push(t)}const nt={lFrame:xu(null),bindingsEnabled:!0,skipHydrationRootTNode:null};function Kc(){return nt.bindingsEnabled}function ls(){return null!==nt.skipHydrationRootTNode}function ne(){return nt.lFrame.lView}function At(){return nt.lFrame.tView}function ma(e){return nt.lFrame.contextLView=e,e[bt]}function va(e){return nt.lFrame.contextLView=null,e}function Ft(){let e=rf();for(;null!==e&&64===e.type;)e=e.parent;return e}function rf(){return nt.lFrame.currentTNode}function Uo(e,t){const n=nt.lFrame;n.currentTNode=e,n.isParent=t}function Mu(){return nt.lFrame.isParent}function Ps(){nt.lFrame.isParent=!1}function _r(){const e=nt.lFrame;let t=e.bindingRootIndex;return-1===t&&(t=e.bindingRootIndex=e.tView.bindingStartIndex),t}function Bo(){return nt.lFrame.bindingIndex++}function uf(e,t){const n=nt.lFrame;n.bindingIndex=n.bindingRootIndex=e,Tu(t)}function Tu(e){nt.lFrame.currentDirectiveIndex=e}function el(){return nt.lFrame.currentQueryIndex}function Ou(e){nt.lFrame.currentQueryIndex=e}function tl(e){const t=e[ae];return 2===t.type?t.declTNode:1===t.type?e[Nt]:null}function lf(e,t,n){if(n&et.SkipSelf){let o=t,i=e;for(;!(o=o.parent,null!==o||n&et.Host||(o=tl(i),null===o||(i=i[Mr],10&o.type))););if(null===o)return!1;t=o,e=i}const r=nt.lFrame=nl();return r.currentTNode=t,r.lView=e,!0}function Nu(e){const t=nl(),n=e[ae];nt.lFrame=t,t.currentTNode=n.firstChild,t.lView=e,t.tView=n,t.contextLView=e,t.bindingIndex=n.bindingStartIndex,t.inI18n=!1}function nl(){const e=nt.lFrame,t=null===e?null:e.child;return null===t?xu(e):t}function xu(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 rl(){const e=nt.lFrame;return nt.lFrame=e.parent,e.currentTNode=null,e.lView=null,e}const ol=rl;function ya(){const e=rl();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 cr(){return nt.lFrame.selectedIndex}function Bi(e){nt.lFrame.selectedIndex=e}function tn(){const e=nt.lFrame;return Ns(e.tView,e.selectedIndex)}let sl=!0;function Da(){return sl}function ri(e){sl=e}function Ca(e,t){for(let n=t.directiveStart,r=t.directiveEnd;n<r;n++){const i=e.data[n].type.prototype,{ngAfterContentInit:l,ngAfterContentChecked:f,ngAfterViewInit:h,ngAfterViewChecked:_,ngOnDestroy:E}=i;l&&(e.contentHooks??=[]).push(-n,l),f&&((e.contentHooks??=[]).push(n,f),(e.contentCheckHooks??=[]).push(n,f)),h&&(e.viewHooks??=[]).push(-n,h),_&&((e.viewHooks??=[]).push(n,_),(e.viewCheckHooks??=[]).push(n,_)),null!=E&&(e.destroyHooks??=[]).push(n,E)}}function Fs(e,t,n){al(e,t,3,n)}function Ls(e,t,n,r){(3&e[Te])===n&&al(e,t,n,r)}function Pu(e,t){let n=e[Te];(3&n)===t&&(n&=16383,n+=1,e[Te]=n)}function al(e,t,n,r){const i=r??-1,l=t.length-1;let f=0;for(let h=void 0!==r?65535&e[ji]:0;h<l;h++)if("number"==typeof t[h+1]){if(f=t[h],null!=r&&f>=r)break}else t[h]<0&&(e[ji]+=65536),(f<i||-1==i)&&(hf(e,n,t,h),e[ji]=(4294901760&e[ji])+h+2),h++}function ks(e,t){Ln(4,e,t);const n=G(null);try{t.call(e)}finally{G(n),Ln(5,e,t)}}function hf(e,t,n,r){const o=n[r]<0,i=n[r+1],f=e[o?-n[r]:n[r]];o?e[Te]>>14<e[ji]>>16&&(3&e[Te])===t&&(e[Te]+=16384,ks(f,i)):ks(f,i)}const hs=-1;class Vs{constructor(t,n,r){this.factory=t,this.resolving=!1,this.canSeeViewProviders=n,this.injectImpl=r}}function Fu(e){return e!==hs}function lr(e){return 32767&e}function Hs(e,t){let n=function mf(e){return e>>16}(e),r=t;for(;n>0;)r=r[Mr],n--;return r}let Us=!0;function Ea(e){const t=Us;return Us=e,t}const Lu=255,vf=5;let fg=0;const $o={};function Bs(e,t){const n=Vu(e,t);if(-1!==n)return n;const r=t[ae];r.firstCreatePass&&(e.injectorIndex=t.length,cl(r.data,e),cl(t,null),cl(r.blueprint,null));const o=jr(e,t),i=e.injectorIndex;if(Fu(o)){const l=lr(o),f=Hs(o,t),h=f[ae].data;for(let _=0;_<8;_++)t[i+_]=f[l+_]|h[l+_]}return t[i+8]=o,i}function cl(e,t){e.push(0,0,0,0,0,0,0,0,t)}function Vu(e,t){return-1===e.injectorIndex||e.parent&&e.parent.injectorIndex===e.injectorIndex||null===t[e.injectorIndex+8]?-1:e.injectorIndex}function jr(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=pl(o),null===r)return hs;if(n++,o=o[Mr],-1!==r.injectorIndex)return r.injectorIndex|n<<16}return hs}function ju(e,t,n){!function ku(e,t,n){let r;"string"==typeof n?r=n.charCodeAt(0)||0:n.hasOwnProperty(un)&&(r=n[un]),null==r&&(r=n[un]=fg++);const o=r&Lu;t.data[e+(o>>vf)]|=1<<o}(e,t,n)}function yf(e,t,n){if(n&et.Optional||void 0!==e)return e;hr()}function _f(e,t,n,r){if(n&et.Optional&&void 0===r&&(r=null),!(n&(et.Self|et.Host))){const o=e[zt],i=wt(void 0);try{return o?o.get(t,r,n&et.Optional):Pr(t,r,n&et.Optional)}finally{wt(i)}}return yf(r,0,n)}function Hu(e,t,n,r=et.Default,o){if(null!==e){if(2048&t[Te]&&!(r&et.Self)){const l=function hl(e,t,n,r,o){let i=e,l=t;for(;null!==i&&null!==l&&2048&l[Te]&&!(512&l[Te]);){const f=Uu(i,l,n,r|et.Self,$o);if(f!==$o)return f;let h=i.parent;if(!h){const _=l[yu];if(_){const E=_.get(n,$o,r);if(E!==$o)return E}h=pl(l),l=l[Mr]}i=h}return o}(e,t,n,r,$o);if(l!==$o)return l}const i=Uu(e,t,n,r,$o);if(i!==$o)return i}return _f(t,n,r,o)}function Uu(e,t,n,r,o){const i=function pg(e){if("string"==typeof e)return e.charCodeAt(0)||0;const t=e.hasOwnProperty(un)?e[un]:void 0;return"number"==typeof t?t>=0?t&Lu:Df:t}(n);if("function"==typeof i){if(!lf(t,e,r))return r&et.Host?yf(o,0,r):_f(t,n,r,o);try{let l;if(l=i(r),null!=l||r&et.Optional)return l;hr()}finally{ol()}}else if("number"==typeof i){let l=null,f=Vu(e,t),h=hs,_=r&et.Host?t[Wt][Nt]:null;for((-1===f||r&et.SkipSelf)&&(h=-1===f?jr(e,t):t[f+8],h!==hs&&ll(r,!1)?(l=t[ae],f=lr(h),t=Hs(h,t)):f=-1);-1!==f;){const E=t[ae];if($u(i,f,E.data)){const T=Bu(f,t,n,l,r,_);if(T!==$o)return T}h=t[f+8],h!==hs&&ll(r,t[ae].data[f+8]===_)&&$u(i,f,t)?(l=E,f=lr(h),t=Hs(h,t)):f=-1}}return o}function Bu(e,t,n,r,o,i){const l=t[ae],f=l.data[e+8],E=wa(f,l,n,null==r?Vo(f)&&Us:r!=l&&0!=(3&f.type),o&et.Host&&i===f);return null!==E?$i(t,l,E,f):$o}function wa(e,t,n,r,o){const i=e.providerIndexes,l=t.data,f=1048575&i,h=e.directiveStart,E=i>>20,P=o?f+E:e.directiveEnd;for(let V=r?f:f+E;V<P;V++){const J=l[V];if(V<h&&n===J||V>=h&&J.type===n)return V}if(o){const V=l[h];if(V&&Kn(V)&&V.type===n)return h}return null}function $i(e,t,n,r){let o=e[n];const i=t.data;if(function pf(e){return e instanceof Vs}(o)){const l=o;l.resolving&&function hn(e,t){const n=t?`. Dependency path: ${t.join(" > ")} > ${e}`:"";throw new Ie(-200,`Circular dependency in DI detected for ${e}${n}`)}(function lt(e){return"function"==typeof e?e.name||e.toString():"object"==typeof e&&null!=e&&"function"==typeof e.type?e.type.name||e.type.toString():He(e)}(i[n]));const f=Ea(l.canSeeViewProviders);l.resolving=!0;const _=l.injectImpl?wt(l.injectImpl):null;lf(e,r,et.Default);try{o=e[n]=l.factory(void 0,i,e,r),t.firstCreatePass&&n>=r.directiveStart&&function Ru(e,t,n){const{ngOnChanges:r,ngOnInit:o,ngDoCheck:i}=t.type.prototype;if(r){const l=zd(t);(n.preOrderHooks??=[]).push(e,l),(n.preOrderCheckHooks??=[]).push(e,l)}o&&(n.preOrderHooks??=[]).push(0-e,o),i&&((n.preOrderHooks??=[]).push(e,i),(n.preOrderCheckHooks??=[]).push(e,i))}(n,i[n],t)}finally{null!==_&&wt(_),Ea(f),l.resolving=!1,ol()}}return o}function $u(e,t,n){return!!(n[t+(e>>vf)]&1<<e)}function ll(e,t){return!(e&et.Self||e&et.Host&&t)}class $n{constructor(t,n){this._tNode=t,this._lView=n}get(t,n,r){return Hu(this._tNode,this._lView,t,xo(r),n)}}function Df(){return new $n(Ft(),ne())}function dl(e){return dn(()=>{const t=e.prototype.constructor,n=t[rn]||fl(t),r=Object.prototype;let o=Object.getPrototypeOf(e.prototype).constructor;for(;o&&o!==r;){const i=o[rn]||fl(o);if(i&&i!==n)return i;o=Object.getPrototypeOf(o)}return i=>new i})}function fl(e){return To(e)?()=>{const t=fl(Ge(e));return t&&t()}:yr(e)}function pl(e){const t=e[ae],n=t.type;return 2===n?t.declTNode:1===n?e[Nt]:null}function Ia(e){return function hg(e,t){if("class"===t)return e.classes;if("style"===t)return e.styles;const n=e.attrs;if(n){const r=n.length;let o=0;for(;o<r;){const i=n[o];if(sr(i))break;if(0===i)o+=2;else if("number"==typeof i)for(o++;o<r&&"string"==typeof n[o];)o++;else{if(i===t)return n[o+1];o+=2}}}return null}(Ft(),e)}const gs="__parameters__";function Gi(e,t,n){return dn(()=>{const r=function Gu(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 l=new o(...i);return f.annotation=l,f;function f(h,_,E){const T=h.hasOwnProperty(gs)?h[gs]:Object.defineProperty(h,gs,{value:[]})[gs];for(;T.length<=E;)T.push(null);return(T[E]=T[E]||[]).push(l),h}}return n&&(o.prototype=Object.create(n.prototype)),o.prototype.ngMetadataName=e,o.annotationCls=o,o})}function ys(e,t){e.forEach(n=>Array.isArray(n)?ys(n,t):t(n))}function yl(e,t,n){t>=e.length?e.push(n):e.splice(t,0,n)}function Ma(e,t){return t>=e.length-1?e.pop():e.splice(t,1)[0]}function Ws(e,t){const n=[];for(let r=0;r<e;r++)n.push(t);return n}function dr(e,t,n){let r=Ys(e,t);return r>=0?e[1|r]=n:(r=~r,function Wu(e,t,n,r){let o=e.length;if(o==t)e.push(n,r);else if(1===o)e.push(r,e[0]),e[0]=n;else{for(o--,e.push(e[o-1],e[o]);o>t;)e[o]=e[o-2],o--;e[t]=n,e[t+1]=r}}(e,r,t,n)),r}function Ar(e,t){const n=Ys(e,t);if(n>=0)return e[1|n]}function Ys(e,t){return function _l(e,t,n){let r=0,o=e.length>>n;for(;o!==r;){const i=r+(o-r>>1),l=e[i<<n];if(t===l)return i<<n;l>t?o=i:r=i+1}return~(o<<n)}(e,t,1)}const Zs=bo(Gi("Optional"),8),Aa=bo(Gi("SkipSelf"),4),Ds=new $("ENVIRONMENT_INITIALIZER"),Il=new $("INJECTOR",-1),Yi=new $("INJECTOR_DEF_TYPES");class Js{get(t,n=Xe){if(n===Xe){const r=new Error(`NullInjectorError: No provider for ${nn(t)}!`);throw r.name="NullInjectorError",r}return n}}function Na(e){return{\u0275providers:e}}function Nf(...e){return{\u0275providers:Ml(0,e),\u0275fromNgModule:!0}}function Ml(e,...t){const n=[],r=new Set;let o;const i=l=>{n.push(l)};return ys(t,l=>{const f=l;Xs(f,i,[],r)&&(o||=[],o.push(f))}),void 0!==o&&xf(o,i),n}function xf(e,t){for(let n=0;n<e.length;n++){const{ngModule:r,providers:o}=e[n];Sl(o,i=>{t(i,r)})}}function Xs(e,t,n,r){if(!(e=Ge(e)))return!1;let o=null,i=wr(e);const l=!i&&ut(e);if(i||l){if(l&&!l.standalone)return!1;o=e}else{const h=e.ngModule;if(i=wr(h),!i)return!1;o=h}const f=r.has(o);if(l){if(f)return!1;if(r.add(o),l.dependencies){const h="function"==typeof l.dependencies?l.dependencies():l.dependencies;for(const _ of h)Xs(_,t,n,r)}}else{if(!i)return!1;{if(null!=i.imports&&!f){let _;r.add(o);try{ys(i.imports,E=>{Xs(E,t,n,r)&&(_||=[],_.push(E))})}finally{}void 0!==_&&xf(_,t)}if(!f){const _=yr(o)||(()=>new o);t({provide:o,useFactory:_,deps:dt},o),t({provide:Yi,useValue:o,multi:!0},o),t({provide:Ds,useValue:()=>pn(o),multi:!0},o)}const h=i.providers;if(null!=h&&!f){const _=e;Sl(h,E=>{t(E,_)})}}}return o!==e&&void 0!==e.providers}function Sl(e,t){for(let n of e)nr(n)&&(n=n.\u0275providers),Array.isArray(n)?Sl(n,t):t(n)}const Dg=at({provide:String,useValue:at});function Tl(e){return null!==e&&"object"==typeof e&&Dg in e}function Zi(e){return"function"==typeof e}const xa=new $("Set Injector scope."),Ra={},Cg={};let Ku;function Pa(){return void 0===Ku&&(Ku=new Js),Ku}class Io{}class Ei extends Io{get destroyed(){return this._destroyed}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,Go(t,l=>this.processProvider(l)),this.records.set(Il,qi(void 0,this)),o.has("environment")&&this.records.set(Io,qi(void 0,this));const i=this.records.get(xa);null!=i&&"string"==typeof i.value&&this.scopes.add(i.value),this.injectorDefTypes=new Set(this.get(Yi,dt,et.Self))}destroy(){this.assertNotDestroyed(),this._destroyed=!0;try{for(const n of this._ngOnDestroyHooks)n.ngOnDestroy();const t=this._onDestroyHooks;this._onDestroyHooks=[];for(const n of t)n()}finally{this.records.clear(),this._ngOnDestroyHooks.clear(),this.injectorDefTypes.clear()}}onDestroy(t){return this.assertNotDestroyed(),this._onDestroyHooks.push(t),()=>this.removeOnDestroy(t)}runInContext(t){this.assertNotDestroyed();const n=gr(this),r=wt(void 0);try{return t()}finally{gr(n),wt(r)}}get(t,n=Xe,r=et.Default){if(this.assertNotDestroyed(),t.hasOwnProperty(en))return t[en](this);r=xo(r);const i=gr(this),l=wt(void 0);try{if(!(r&et.SkipSelf)){let h=this.records.get(t);if(void 0===h){const _=function bg(e){return"function"==typeof e||"object"==typeof e&&e instanceof $}(t)&&Hn(t);h=_&&this.injectableDefInScope(_)?qi(Qu(t),Ra):null,this.records.set(t,h)}if(null!=h)return this.hydrate(t,h)}return(r&et.Self?Pa():this.parent).get(t,n=r&et.Optional&&n===Xe?null:n)}catch(f){if("NullInjectorError"===f.name){if((f[Jr]=f[Jr]||[]).unshift(nn(t)),i)throw f;return function ci(e,t,n,r){const o=e[Jr];throw t[wn]&&o.unshift(t[wn]),e.message=function Po(e,t,n,r=null){e=e&&"\n"===e.charAt(0)&&"\u0275"==e.charAt(1)?e.slice(2):e;let o=nn(t);if(Array.isArray(t))o=t.map(nn).join(" -> ");else if("object"==typeof t){let i=[];for(let l in t)if(t.hasOwnProperty(l)){let f=t[l];i.push(l+":"+("string"==typeof f?JSON.stringify(f):nn(f)))}o=`{${i.join(", ")}}`}return`${n}${r?"("+r+")":""}[${o}]: ${e.replace(qo,"\n ")}`}("\n"+e.message,o,n,r),e.ngTokenPath=o,e[Jr]=null,e}(f,t,"R3InjectorError",this.source)}throw f}finally{wt(l),gr(i)}}resolveInjectorInitializers(){const t=gr(this),n=wt(void 0);try{const o=this.get(Ds,dt,et.Self);for(const i of o)i()}finally{gr(t),wt(n)}}toString(){const t=[],n=this.records;for(const r of n.keys())t.push(nn(r));return`R3Injector[${t.join(", ")}]`}assertNotDestroyed(){if(this._destroyed)throw new Ie(205,!1)}processProvider(t){let n=Zi(t=Ge(t))?t:Ge(t&&t.provide);const r=function Lf(e){return Tl(e)?qi(void 0,e.useValue):qi(Ju(e),Ra)}(t);if(Zi(t)||!0!==t.multi)this.records.get(n);else{let o=this.records.get(n);o||(o=qi(void 0,Ra,!0),o.factory=()=>Ro(o.multi),this.records.set(n,o)),n=t,o.multi.push(t)}this.records.set(n,r)}hydrate(t,n){return n.value===Ra&&(n.value=Cg,n.value=n.factory()),"object"==typeof n.value&&n.value&&function Vf(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=Ge(t.providedIn);return"string"==typeof n?"any"===n||this.scopes.has(n):this.injectorDefTypes.has(n)}removeOnDestroy(t){const n=this._onDestroyHooks.indexOf(t);-1!==n&&this._onDestroyHooks.splice(n,1)}}function Qu(e){const t=Hn(e),n=null!==t?t.factory:yr(e);if(null!==n)return n;if(e instanceof $)throw new Ie(204,!1);if(e instanceof Function)return function Al(e){const t=e.length;if(t>0)throw Ws(t,"?"),new Ie(204,!1);const n=function yo(e){return e&&(e[Yn]||e[Kr])||null}(e);return null!==n?()=>n.factory(e):()=>new e}(e);throw new Ie(204,!1)}function Ju(e,t,n){let r;if(Zi(e)){const o=Ge(e);return yr(o)||Qu(o)}if(Tl(e))r=()=>Ge(e.useValue);else if(function Pf(e){return!(!e||!e.useFactory)}(e))r=()=>e.useFactory(...Ro(e.deps||[]));else if(function Rf(e){return!(!e||!e.useExisting)}(e))r=()=>pn(Ge(e.useExisting));else{const o=Ge(e&&(e.useClass||e.provide));if(!function kf(e){return!!e.deps}(e))return yr(o)||Qu(o);r=()=>new o(...Ro(e.deps))}return r}function qi(e,t,n=!1){return{factory:e,value:t,multi:n?[]:void 0}}function Go(e,t){for(const n of e)Array.isArray(n)?Go(n,t):n&&nr(n)?Go(n.\u0275providers,t):t(n)}function Ki(e,t){e instanceof Ei&&e.assertNotDestroyed();const r=gr(e),o=wt(void 0);try{return t()}finally{gr(r),wt(o)}}function Nl(e,t=null,n=null,r){const o=$f(e,t,n,r);return o.resolveInjectorInitializers(),o}function $f(e,t=null,n=null,r,o=new Set){const i=[n||dt,Nf(e)];return r=r||("object"==typeof e?void 0:nn(e)),new Ei(i,t||Pa(),r||null,o)}let tc,Hr=(()=>{class e{static#e=this.THROW_IF_NOT_FOUND=Xe;static#t=this.NULL=new Js;static create(n,r){if(Array.isArray(n))return Nl({name:""},r,n,"");{const o=n.name??"";return Nl({name:o},n.parent,n.providers,o)}}static#n=this.\u0275prov=Vt({token:e,providedIn:"any",factory:()=>pn(Il)});static#r=this.__NG_ELEMENT_ID__=-1}return e})();function ii(e){return!!y(e)}function zf(e){tc=e}const xl=new $("AppId",{providedIn:"root",factory:()=>Mg}),Mg="ng",Wf=new $("Platform Initializer"),nc=new $("Platform ID",{providedIn:"platform",factory:()=>"unknown"}),c=new $("CSP nonce",{providedIn:"root",factory:()=>function wi(){if(void 0!==tc)return tc;if(typeof document<"u")return document;throw new Ie(210,!1)}().body?.querySelector("[ngCspNonce]")?.getAttribute("ngCspNonce")||null});function O(e){return e instanceof Function?e():e}function Ll(e){return 128==(128&e.flags)}var Vl=function(e){return e[e.Important=1]="Important",e[e.DashCase=2]="DashCase",e}(Vl||{});const VC=/^>|^->|<!--|-->|--!>|<!-$/g,jC=/(<|>)/g,HC="\u200b$1\u200b";const qf=new Map;let UC=0;const Qf="__ngContext__";function Or(e,t){yn(t)?(e[Qf]=t[rs],function $C(e){qf.set(e[rs],e)}(t)):e[Qf]=t}let Jf;function Xf(e,t){return Jf(e,t)}function sc(e){const t=e[qe];return In(t)?t[qe]:t}function jg(e){return Ug(e[Pn])}function Hg(e){return Ug(e[Gt])}function Ug(e){for(;null!==e&&!In(e);)e=e[Gt];return e}function Va(e,t,n,r,o){if(null!=r){let i,l=!1;In(r)?i=r:yn(r)&&(l=!0,r=r[ve]);const f=ln(r);0===e&&null!==n?null==o?zg(t,n,f):na(t,n,f,o||null,!0):1===e&&null!==n?na(t,n,f,o||null,!0):2===e?function Gl(e,t,n){const r=Bl(e,t);r&&function ub(e,t,n,r){e.removeChild(t,n,r)}(e,r,t,n)}(t,f,l):3===e&&t.destroyNode(f),null!=i&&function db(e,t,n,r,o){const i=n[oo];i!==ln(n)&&Va(t,e,r,i,o);for(let f=Dn;f<n.length;f++){const h=n[f];cc(h[ae],h,e,t,r,i)}}(t,e,i,n,o)}}function eh(e,t){return e.createComment(function Ng(e){return e.replace(VC,t=>t.replace(jC,HC))}(t))}function Hl(e,t,n){return e.createElement(t,n)}function $g(e,t){const n=e[ko],r=n.indexOf(t);n.splice(r,1)}function ac(e,t){if(e.length<=Dn)return;const n=Dn+t,r=e[n];if(r){const o=r[Vi];null!==o&&o!==e&&$g(o,r),t>0&&(e[n-1][Gt]=r[Gt]);const i=Ma(e,Dn+t);!function eb(e,t){cc(e,t,t[Ye],2,null,null),t[ve]=null,t[Nt]=null}(r[ae],r);const l=i[ro];null!==l&&l.detachView(i[ae]),r[qe]=null,r[Gt]=null,r[Te]&=-129}return r}function Ul(e,t){if(!(256&t[Te])){const n=t[Ye];t[vi]&&function Ne(e){if(Ue(e),We(e))for(let t=0;t<e.producerNode.length;t++)ht(e.producerNode[t],e.producerIndexOfThis[t]);e.producerNode.length=e.producerLastReadVersion.length=e.producerIndexOfThis.length=0,e.liveConsumerNode&&(e.liveConsumerNode.length=e.liveConsumerIndexOfThis.length=0)}(t[vi]),n.destroyNode&&cc(e,t,n,3,null,null),function rb(e){let t=e[Pn];if(!t)return th(e[ae],e);for(;t;){let n=null;if(yn(t))n=t[Pn];else{const r=t[Dn];r&&(n=r)}if(!n){for(;t&&!t[Gt]&&t!==e;)yn(t)&&th(t[ae],t),t=t[qe];null===t&&(t=e),yn(t)&&th(t[ae],t),n=t&&t[Gt]}t=n}}(t)}}function th(e,t){if(!(256&t[Te])){t[Te]&=-129,t[Te]|=256,function ab(e,t){let n;if(null!=e&&null!=(n=e.destroyHooks))for(let r=0;r<n.length;r+=2){const o=t[n[r]];if(!(o instanceof Vs)){const i=n[r+1];if(Array.isArray(i))for(let l=0;l<i.length;l+=2){const f=o[i[l]],h=i[l+1];Ln(4,f,h);try{h.call(f)}finally{Ln(5,f,h)}}else{Ln(4,o,i);try{i.call(o)}finally{Ln(5,o,i)}}}}}(e,t),function sb(e,t){const n=e.cleanup,r=t[Rn];if(null!==n)for(let i=0;i<n.length-1;i+=2)if("string"==typeof n[i]){const l=n[i+3];l>=0?r[l]():r[-l].unsubscribe(),i+=2}else n[i].call(r[n[i+1]]);null!==r&&(t[Rn]=null);const o=t[ei];if(null!==o){t[ei]=null;for(let i=0;i<o.length;i++)(0,o[i])()}}(e,t),1===t[ae].type&&t[Ye].destroy();const n=t[Vi];if(null!==n&&In(t[qe])){n!==t[qe]&&$g(n,t);const r=t[ro];null!==r&&r.detachView(e)}!function GC(e){qf.delete(e[rs])}(t)}}function nh(e,t,n){return function Gg(e,t,n){let r=t;for(;null!==r&&40&r.type;)r=(t=r).parent;if(null===r)return n[ve];{const{componentOffset:o}=r;if(o>-1){const{encapsulation:i}=e.data[r.directiveStart+o];if(i===Nn.None||i===Nn.Emulated)return null}return ur(r,n)}}(e,t.parent,n)}function na(e,t,n,r,o){e.insertBefore(t,n,r,o)}function zg(e,t,n){e.appendChild(t,n)}function Wg(e,t,n,r,o){null!==r?na(e,t,n,r,o):zg(e,t,n)}function Bl(e,t){return e.parentNode(t)}function Yg(e,t,n){return qg(e,t,n)}let rh,Wl,qg=function Zg(e,t,n){return 40&e.type?ur(e,n):null};function $l(e,t,n,r){const o=nh(e,r,t),i=t[Ye],f=Yg(r.parent||t[Nt],r,t);if(null!=o)if(Array.isArray(n))for(let h=0;h<n.length;h++)Wg(i,o,n[h],f,!1);else Wg(i,o,n,f,!1);void 0!==rh&&rh(i,r,t,n,o)}function uc(e,t){if(null!==t){const n=t.type;if(3&n)return ur(t,e);if(4&n)return oh(-1,e[t.index]);if(8&n){const r=t.child;if(null!==r)return uc(e,r);{const o=e[t.index];return In(o)?oh(-1,o):ln(o)}}if(32&n)return Xf(t,e)()||ln(e[t.index]);{const r=Qg(e,t);return null!==r?Array.isArray(r)?r[0]:uc(sc(e[Wt]),r):uc(e,t.next)}}return null}function Qg(e,t){return null!==t?e[Wt][Nt].projection[t.projection]:null}function oh(e,t){const n=Dn+e+1;if(n<t.length){const r=t[n],o=r[ae].firstChild;if(null!==o)return uc(r,o)}return t[oo]}function ih(e,t,n,r,o,i,l){for(;null!=n;){const f=r[n.index],h=n.type;if(l&&0===t&&(f&&Or(ln(f),r),n.flags|=2),32!=(32&n.flags))if(8&h)ih(e,t,n.child,r,o,i,!1),Va(t,e,o,f,i);else if(32&h){const _=Xf(n,r);let E;for(;E=_();)Va(t,e,o,E,i);Va(t,e,o,f,i)}else 16&h?Xg(e,t,r,n,o,i):Va(t,e,o,f,i);n=l?n.projectionNext:n.next}}function cc(e,t,n,r,o,i){ih(n,r,e.firstChild,t,o,i,!1)}function Xg(e,t,n,r,o,i){const l=n[Wt],h=l[Nt].projection[r.projection];if(Array.isArray(h))for(let _=0;_<h.length;_++)Va(t,e,o,h[_],i);else{let _=h;const E=l[qe];Ll(r)&&(_.flags|=128),ih(e,t,_,E,o,i,!0)}}function em(e,t,n){""===n?e.removeAttribute(t,"class"):e.setAttribute(t,"class",n)}function tm(e,t,n){const{mergedAttrs:r,classes:o,styles:i}=n;null!==r&&qn(e,t,r),null!==o&&em(e,t,o),null!==i&&function hb(e,t,n){e.setAttribute(t,"style",n)}(e,t,i)}function om(e){return function ah(){if(void 0===Wl&&(Wl=null,jt.trustedTypes))try{Wl=jt.trustedTypes.createPolicy("angular#unsafe-bypass",{createHTML:e=>e,createScript:e=>e,createScriptURL:e=>e})}catch{}return Wl}()?.createScriptURL(e)||e}class im{constructor(t){this.changingThisBreaksApplicationSecurity=t}toString(){return`SafeValue must use [property]=binding: ${this.changingThisBreaksApplicationSecurity} (see ${Cr})`}}function bs(e){return e instanceof im?e.changingThisBreaksApplicationSecurity:e}function lc(e,t){const n=function bb(e){return e instanceof im&&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 ${Cr})`)}return n===t}const Mb=/^(?!javascript:)(?:[a-z0-9+.-]+:|[^&:\/?#]*(?:[\/?#]|$))/i;var Ha=function(e){return e[e.NONE=0]="NONE",e[e.HTML=1]="HTML",e[e.STYLE=2]="STYLE",e[e.SCRIPT=3]="SCRIPT",e[e.URL=4]="URL",e[e.RESOURCE_URL=5]="RESOURCE_URL",e}(Ha||{});function fh(e){const t=fc();return t?t.sanitize(Ha.URL,e)||"":lc(e,"URL")?bs(e):function uh(e){return(e=String(e)).match(Mb)?e:"unsafe:"+e}(He(e))}function fm(e){const t=fc();if(t)return om(t.sanitize(Ha.RESOURCE_URL,e)||"");if(lc(e,"ResourceURL"))return om(bs(e));throw new Ie(904,!1)}function hm(e,t,n){return function Vb(e,t){return"src"===t&&("embed"===e||"frame"===e||"iframe"===e||"media"===e||"script"===e)||"href"===t&&("base"===e||"link"===e)?fm:fh}(t,n)(e)}function fc(){const e=ne();return e&&e[vn].sanitizer}let pm=(e,t,n)=>null;function Dh(e,t,n=!1){return pm(e,t,n)}class Yb{}class vm{}class qb{resolveComponentFactory(t){throw function Zb(e){const t=Error(`No component factory found for ${nn(e)}.`);return t.ngComponent=e,t}(t)}}let Xl=(()=>{class e{static#e=this.NULL=new qb}return e})();function Kb(){return $a(Ft(),ne())}function $a(e,t){return new gc(ur(e,t))}let gc=(()=>{class e{constructor(n){this.nativeElement=n}static#e=this.__NG_ELEMENT_ID__=Kb}return e})();function Qb(e){return e instanceof gc?e.nativeElement:e}class _m{}let Jb=(()=>{class e{constructor(){this.destroyNode=null}static#e=this.__NG_ELEMENT_ID__=()=>function Xb(){const e=ne(),n=Bn(Ft().index,e);return(yn(n)?n:e)[Ye]}()}return e})(),eE=(()=>{class e{static#e=this.\u0275prov=Vt({token:e,providedIn:"root",factory:()=>null})}return e})();class Dm{constructor(t){this.full=t,this.major=t.split(".")[0],this.minor=t.split(".")[1],this.patch=t.split(".").slice(2).join(".")}}const tE=new Dm("17.0.5"),Eh={};function rE(e){const t=G(null);try{return e()}finally{G(t)}}function ed(e){return!!wh(e)&&(Array.isArray(e)||!(e instanceof Map)&&Symbol.iterator in e)}function wh(e){return null!==e&&("function"==typeof e||"object"==typeof e)}class Cm{constructor(){}supports(t){return ed(t)}create(t){return new aE(t)}}const sE=(e,t)=>t;class aE{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||sE}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 l=!r||n&&n.currentIndex<Em(r,o,i)?n:r,f=Em(l,o,i),h=l.currentIndex;if(l===r)o--,r=r._nextRemoved;else if(n=n._next,null==l.previousIndex)o++;else{i||(i=[]);const _=f-o,E=h-o;if(_!=E){for(let P=0;P<_;P++){const V=P<i.length?i[P]:i[P]=0,J=V+P;E<=J&&J<_&&(i[P]=V+1)}i[l.previousIndex]=E-_}}f!==h&&t(l,f,h)}}forEachPreviousItem(t){let n;for(n=this._previousItHead;null!==n;n=n._nextPrevious)t(n)}forEachAddedItem(t){let n;for(n=this._additionsHead;null!==n;n=n._nextAdded)t(n)}forEachMovedItem(t){let n;for(n=this._movesHead;null!==n;n=n._nextMoved)t(n)}forEachRemovedItem(t){let n;for(n=this._removalsHead;null!==n;n=n._nextRemoved)t(n)}forEachIdentityChange(t){let n;for(n=this._identityChangesHead;null!==n;n=n._nextIdentityChange)t(n)}diff(t){if(null==t&&(t=[]),!ed(t))throw new Ie(900,!1);return this.check(t)?this:null}onDestroy(){}check(t){this._reset();let o,i,l,n=this._itHead,r=!1;if(Array.isArray(t)){this.length=t.length;for(let f=0;f<this.length;f++)i=t[f],l=this._trackByFn(f,i),null!==n&&Object.is(n.trackById,l)?(r&&(n=this._verifyReinsertion(n,i,l,f)),Object.is(n.item,i)||this._addIdentityChange(n,i)):(n=this._mismatch(n,i,l,f),r=!0),n=n._next}else o=0,function iE(e,t){if(Array.isArray(e))for(let n=0;n<e.length;n++)t(e[n]);else{const n=e[Symbol.iterator]();let r;for(;!(r=n.next()).done;)t(r.value)}}(t,f=>{l=this._trackByFn(o,f),null!==n&&Object.is(n.trackById,l)?(r&&(n=this._verifyReinsertion(n,f,l,o)),Object.is(n.item,f)||this._addIdentityChange(n,f)):(n=this._mismatch(n,f,l,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 uE(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 bm),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 bm),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 uE{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 cE{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 bm{constructor(){this.map=new Map}put(t){const n=t.trackById;let r=this.map.get(n);r||(r=new cE,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 Em(e,t,n){const r=e.previousIndex;if(null===r)return r;let o=0;return n&&r<n.length&&(o=n[r]),r+t+o}class wm{constructor(){}supports(t){return t instanceof Map||wh(t)}create(){return new lE}}class lE{constructor(){this._records=new Map,this._mapHead=null,this._appendAfter=null,this._previousMapHead=null,this._changesHead=null,this._changesTail=null,this._additionsHead=null,this._additionsTail=null,this._removalsHead=null,this._removalsTail=null}get isDirty(){return null!==this._additionsHead||null!==this._changesHead||null!==this._removalsHead}forEachItem(t){let n;for(n=this._mapHead;null!==n;n=n._next)t(n)}forEachPreviousItem(t){let n;for(n=this._previousMapHead;null!==n;n=n._nextPrevious)t(n)}forEachChangedItem(t){let n;for(n=this._changesHead;null!==n;n=n._nextChanged)t(n)}forEachAddedItem(t){let n;for(n=this._additionsHead;null!==n;n=n._nextAdded)t(n)}forEachRemovedItem(t){let n;for(n=this._removalsHead;null!==n;n=n._nextRemoved)t(n)}diff(t){if(t){if(!(t instanceof Map||wh(t)))throw new Ie(900,!1)}else t=new Map;return this.check(t)?this:null}onDestroy(){}check(t){this._reset();let n=this._mapHead;if(this._appendAfter=null,this._forEach(t,(r,o)=>{if(n&&n.key===o)this._maybeAddToChanges(n,r),this._appendAfter=n,n=n._next;else{const i=this._getOrCreateRecordForKey(o,r);n=this._insertBeforeOrAppend(n,i)}}),n){n._prev&&(n._prev._next=null),this._removalsHead=n;for(let r=n;null!==r;r=r._nextRemoved)r===this._mapHead&&(this._mapHead=null),this._records.delete(r.key),r._nextRemoved=r._next,r.previousValue=r.currentValue,r.currentValue=null,r._prev=null,r._next=null}return this._changesTail&&(this._changesTail._nextChanged=null),this._additionsTail&&(this._additionsTail._nextAdded=null),this.isDirty}_insertBeforeOrAppend(t,n){if(t){const r=t._prev;return n._next=t,n._prev=r,t._prev=n,r&&(r._next=n),t===this._mapHead&&(this._mapHead=n),this._appendAfter=t,t}return this._appendAfter?(this._appendAfter._next=n,n._prev=this._appendAfter):this._mapHead=n,this._appendAfter=n,null}_getOrCreateRecordForKey(t,n){if(this._records.has(t)){const o=this._records.get(t);this._maybeAddToChanges(o,n);const i=o._prev,l=o._next;return i&&(i._next=l),l&&(l._prev=i),o._next=null,o._prev=null,o}const r=new dE(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 dE{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 Im(){return new Ih([new Cm])}let Ih=(()=>{class e{static#e=this.\u0275prov=Vt({token:e,providedIn:"root",factory:Im});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||Im()),deps:[[e,new Aa,new Zs]]}}find(n){const r=this.factories.find(o=>o.supports(n));if(null!=r)return r;throw new Ie(901,!1)}}return e})();function Mm(){return new Mh([new wm])}let Mh=(()=>{class e{static#e=this.\u0275prov=Vt({token:e,providedIn:"root",factory:Mm});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||Mm()),deps:[[e,new Aa,new Zs]]}}find(n){const r=this.factories.find(o=>o.supports(n));if(r)return r;throw new Ie(901,!1)}}return e})();function mc(e,t,n,r,o=!1){for(;null!==n;){const i=t[n.index];null!==i&&r.push(ln(i)),In(i)&&Sm(i,r);const l=n.type;if(8&l)mc(e,t,n.child,r);else if(32&l){const f=Xf(n,t);let h;for(;h=f();)r.push(h)}else if(16&l){const f=Qg(t,n);if(Array.isArray(f))r.push(...f);else{const h=sc(t[Wt]);mc(h[ae],h,f,r,!0)}}n=o?n.projectionNext:n.next}return r}function Sm(e,t){for(let n=Dn;n<e.length;n++){const r=e[n],o=r[ae].firstChild;null!==o&&mc(r[ae],r,o,t)}e[oo]!==e[ve]&&t.push(e[oo])}let Tm=[];const mE={version:0,lastCleanEpoch:0,dirty:!1,producerNode:void 0,producerLastReadVersion:void 0,producerIndexOfThis:void 0,nextProducerIndex:0,liveConsumerNode:void 0,liveConsumerIndexOfThis:void 0,consumerAllowSignalWrites:!1,consumerIsAlwaysLive:!1,producerMustRecompute:()=>!1,producerRecomputeValue:()=>{},consumerMarkedDirty:()=>{},consumerOnSignalRead:()=>{},consumerIsAlwaysLive:!0,consumerMarkedDirty:e=>{pa(e.lView)},consumerOnSignalRead(){this.lView[vi]=this}};function Sh(e){return e.ngOriginalError}class Es{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&&Sh(t);for(;n&&Sh(n);)n=Sh(n);return n||null}}const Nm=new $("",{providedIn:"root",factory:()=>!1}),gt={};function Fm(e){Lm(At(),ne(),cr()+e,!1)}function Lm(e,t,n,r){if(!r)if(3==(3&t[Te])){const i=e.preOrderCheckHooks;null!==i&&Fs(t,i,n)}else{const i=e.preOrderHooks;null!==i&&Ls(t,i,0,n)}Bi(n)}function Ga(e,t=et.Default){const n=ne();return null===n?pn(e,t):Hu(Ft(),n,Ge(e),t)}function km(){throw new Error("invalid")}function nd(e,t,n,r,o,i,l,f,h,_,E){const T=t.blueprint.slice();return T[ve]=o,T[Te]=140|r,(null!==_||e&&2048&e[Te])&&(T[Te]|=2048),us(T),T[qe]=T[Mr]=e,T[bt]=n,T[vn]=l||e&&e[vn],T[Ye]=f||e&&e[Ye],T[zt]=h||e&&e[zt]||null,T[Nt]=i,T[rs]=function BC(){return UC++}(),T[cn]=E,T[yu]=_,T[Wt]=2==t.type?e[Wt]:T,T}function za(e,t,n,r,o){let i=e.data[t];if(null===i)i=function Th(e,t,n,r,o){const i=rf(),l=Mu(),h=e.data[t]=function AE(e,t,n,r,o,i){let l=t?t.injectorIndex:-1,f=0;return ls()&&(f|=128),{type:n,index:r,insertBeforeIndex:null,injectorIndex:l,directiveStart:-1,directiveEnd:-1,directiveStylingLast:-1,componentOffset:-1,propertyBindings:null,flags:f,providerIndexes:0,value:o,attrs:i,mergedAttrs:null,localNames:null,initialInputs:void 0,inputs:null,outputs:null,tView:null,next:null,prev:null,projectionNext:null,child:null,parent:t,projection:null,styles:null,stylesWithoutHost:null,residualStyles:void 0,classes:null,classesWithoutHost:null,residualClasses:void 0,classBindings:0,styleBindings:0}}(0,l?i:i&&i.parent,n,t,r,o);return null===e.firstChild&&(e.firstChild=h),null!==i&&(l?null==i.child&&null!==h.parent&&(i.child=h):null===i.next&&(i.next=h,h.prev=i)),h}(e,t,n,r,o),function af(){return nt.lFrame.inI18n}()&&(i.flags|=32);else if(64&i.type){i.type=n,i.value=r,i.attrs=o;const l=function Rs(){const e=nt.lFrame,t=e.currentTNode;return e.isParent?t:t.parent}();i.injectorIndex=null===l?-1:l.injectorIndex}return Uo(i,!0),i}function vc(e,t,n,r){if(0===n)return-1;const o=t.length;for(let i=0;i<n;i++)t.push(r),e.blueprint.push(r),e.data.push(null);return o}function Vm(e,t,n,r,o){const i=cr(),l=2&r;try{Bi(-1),l&&t.length>ct&&Lm(e,t,ct,!1),Ln(l?2:0,o),n(r,o)}finally{Bi(i),Ln(l?3:1,o)}}function Ah(e,t,n){if(os(t)){const r=G(null);try{const i=t.directiveEnd;for(let l=t.directiveStart;l<i;l++){const f=e.data[l];f.contentQueries&&f.contentQueries(1,n[l],l)}}finally{G(r)}}}function Oh(e,t,n){Kc()&&(function LE(e,t,n,r){const o=n.directiveStart,i=n.directiveEnd;Vo(n)&&function $E(e,t,n){const r=ur(t,e),o=jm(n);let l=16;n.signals?l=4096:n.onPush&&(l=64);const f=rd(e,nd(e,o,null,l,r,t,null,e[vn].rendererFactory.createRenderer(r,n),null,null,null));e[t.index]=f}(t,n,e.data[o+n.componentOffset]),e.firstCreatePass||Bs(n,t),Or(r,t);const l=n.initialInputs;for(let f=o;f<i;f++){const h=e.data[f],_=$i(t,e,f,n);Or(_,t),null!==l&&GE(0,f-o,_,h,0,l),Kn(h)&&(Bn(n.index,t)[bt]=$i(t,e,f,n))}}(e,t,n,ur(n,t)),64==(64&n.flags)&&Gm(e,t,n))}function Nh(e,t,n=ur){const r=t.localNames;if(null!==r){let o=t.index+1;for(let i=0;i<r.length;i+=2){const l=r[i+1],f=-1===l?n(t,e):e[l];e[o++]=f}}}function jm(e){const t=e.tView;return null===t||t.incompleteFirstPass?e.tView=xh(1,null,e.template,e.decls,e.vars,e.directiveDefs,e.pipeDefs,e.viewQuery,e.schemas,e.consts,e.id):t}function xh(e,t,n,r,o,i,l,f,h,_,E){const T=ct+r,P=T+o,V=function EE(e,t){const n=[];for(let r=0;r<t;r++)n.push(r<e?null:gt);return n}(T,P),J="function"==typeof _?_():_;return V[ae]={type:e,blueprint:V,template:n,queries:null,viewQuery:f,declTNode:t,data:V.slice().fill(null,T),bindingStartIndex:T,expandoStartIndex:P,hostBindingOpCodes:null,firstCreatePass:!0,firstUpdatePass:!0,staticViewQueries:!1,staticContentQueries:!1,preOrderHooks:null,preOrderCheckHooks:null,contentHooks:null,contentCheckHooks:null,viewHooks:null,viewCheckHooks:null,destroyHooks:null,cleanup:null,contentQueries:null,components:null,directiveRegistry:"function"==typeof i?i():i,pipeRegistry:"function"==typeof l?l():l,firstChild:null,schemas:h,consts:J,incompleteFirstPass:!1,ssrId:E}}let Hm=e=>null;function Um(e,t,n,r){for(let o in e)if(e.hasOwnProperty(o)){n=null===n?{}:n;const i=e[o];null===r?Bm(n,t,o,i):r.hasOwnProperty(o)&&Bm(n,t,r[o],i)}return n}function Bm(e,t,n,r){e.hasOwnProperty(n)?e[n].push(t,r):e[n]=[t,r]}function Mo(e,t,n,r,o,i,l,f){const h=ur(t,n);let E,_=t.inputs;!f&&null!=_&&(E=_[r])?(kh(e,n,E,r,o),Vo(t)&&function xE(e,t){const n=Bn(t,e);16&n[Te]||(n[Te]|=64)}(n,t.index)):3&t.type&&(r=function NE(e){return"class"===e?"className":"for"===e?"htmlFor":"formaction"===e?"formAction":"innerHtml"===e?"innerHTML":"readonly"===e?"readOnly":"tabindex"===e?"tabIndex":e}(r),o=null!=l?l(o,t.value||"",r):o,i.setProperty(h,r,o))}function Rh(e,t,n,r){if(Kc()){const o=null===r?null:{"":-1},i=function VE(e,t){const n=e.directiveRegistry;let r=null,o=null;if(n)for(let i=0;i<n.length;i++){const l=n[i];if(fi(t,l.selectors,!1))if(r||(r=[]),Kn(l))if(null!==l.findHostDirectiveDefs){const f=[];o=o||new Map,l.findHostDirectiveDefs(l,f,o),r.unshift(...f,l),Ph(e,t,f.length)}else r.unshift(l),Ph(e,t,0);else o=o||new Map,l.findHostDirectiveDefs?.(l,r,o),r.push(l)}return null===r?null:[r,o]}(e,n);let l,f;null===i?l=f=null:[l,f]=i,null!==l&&$m(e,t,n,l,o,f),o&&function jE(e,t,n){if(t){const r=e.localNames=[];for(let o=0;o<t.length;o+=2){const i=n[t[o+1]];if(null==i)throw new Ie(-301,!1);r.push(t[o],i)}}}(n,r,o)}n.mergedAttrs=xn(n.mergedAttrs,n.attrs)}function $m(e,t,n,r,o,i){for(let _=0;_<r.length;_++)ju(Bs(n,t),e,r[_].type);!function UE(e,t,n){e.flags|=1,e.directiveStart=t,e.directiveEnd=t+n,e.providerIndexes=t}(n,e.data.length,r.length);for(let _=0;_<r.length;_++){const E=r[_];E.providersResolver&&E.providersResolver(E)}let l=!1,f=!1,h=vc(e,t,r.length,null);for(let _=0;_<r.length;_++){const E=r[_];n.mergedAttrs=xn(n.mergedAttrs,E.hostAttrs),BE(e,n,t,h,E),HE(h,E,o),null!==E.contentQueries&&(n.flags|=4),(null!==E.hostBindings||null!==E.hostAttrs||0!==E.hostVars)&&(n.flags|=64);const T=E.type.prototype;!l&&(T.ngOnChanges||T.ngOnInit||T.ngDoCheck)&&((e.preOrderHooks??=[]).push(n.index),l=!0),!f&&(T.ngOnChanges||T.ngDoCheck)&&((e.preOrderCheckHooks??=[]).push(n.index),f=!0),h++}!function OE(e,t,n){const o=t.directiveEnd,i=e.data,l=t.attrs,f=[];let h=null,_=null;for(let E=t.directiveStart;E<o;E++){const T=i[E],P=n?n.get(T):null,J=P?P.outputs:null;h=Um(T.inputs,E,h,P?P.inputs:null),_=Um(T.outputs,E,_,J);const he=null===h||null===l||di(t)?null:zE(h,E,l);f.push(he)}null!==h&&(h.hasOwnProperty("class")&&(t.flags|=8),h.hasOwnProperty("style")&&(t.flags|=16)),t.initialInputs=f,t.inputs=h,t.outputs=_}(e,n,i)}function Gm(e,t,n){const r=n.directiveStart,o=n.directiveEnd,i=n.index,l=function cf(){return nt.lFrame.currentDirectiveIndex}();try{Bi(i);for(let f=r;f<o;f++){const h=e.data[f],_=t[f];Tu(f),(null!==h.hostBindings||0!==h.hostVars||null!==h.hostAttrs)&&kE(h,_)}}finally{Bi(-1),Tu(l)}}function kE(e,t){null!==e.hostBindings&&e.hostBindings(1,t)}function Ph(e,t,n){t.componentOffset=n,(e.components??=[]).push(t.index)}function HE(e,t,n){if(n){if(t.exportAs)for(let r=0;r<t.exportAs.length;r++)n[t.exportAs[r]]=e;Kn(t)&&(n[""]=e)}}function BE(e,t,n,r,o){e.data[r]=o;const i=o.factory||(o.factory=yr(o.type)),l=new Vs(i,Kn(o),Ga);e.blueprint[r]=l,n[r]=l,function PE(e,t,n,r,o){const i=o.hostBindings;if(i){let l=e.hostBindingOpCodes;null===l&&(l=e.hostBindingOpCodes=[]);const f=~t.index;(function FE(e){let t=e.length;for(;t>0;){const n=e[--t];if("number"==typeof n&&n<0)return n}return 0})(l)!=f&&l.push(f),l.push(n,r,i)}}(e,t,r,vc(e,n,o.hostVars,gt),o)}function Ii(e,t,n,r,o,i){const l=ur(e,t);!function Fh(e,t,n,r,o,i,l){if(null==i)e.removeAttribute(t,o,n);else{const f=null==l?He(i):l(i,r||"",o);e.setAttribute(t,o,f,n)}}(t[Ye],l,i,e.value,n,r,o)}function GE(e,t,n,r,o,i){const l=i[t];if(null!==l)for(let f=0;f<l.length;)zm(r,n,l[f++],l[f++],l[f++])}function zm(e,t,n,r,o){const i=G(null);try{const l=e.inputTransforms;null!==l&&l.hasOwnProperty(r)&&(o=l[r].call(t,o)),null!==e.setInput?e.setInput(t,o,n,r):t[r]=o}finally{G(i)}}function zE(e,t,n){let r=null,o=0;for(;o<n.length;){const i=n[o];if(0!==i)if(5!==i){if("number"==typeof i)break;if(e.hasOwnProperty(i)){null===r&&(r=[]);const l=e[i];for(let f=0;f<l.length;f+=2)if(l[f]===t){r.push(i,l[f+1],n[o+1]);break}}o+=2}else o+=2;else o+=4}return r}function Wm(e,t,n,r){return[e,!0,0,t,null,r,null,n,null,null]}function Ym(e,t){const n=e.contentQueries;if(null!==n){const r=G(null);try{for(let o=0;o<n.length;o+=2){const l=n[o+1];if(-1!==l){const f=e.data[l];Ou(n[o]),f.contentQueries(2,t[l],l)}}}finally{G(r)}}}function rd(e,t){return e[Pn]?e[mi][Gt]=t:e[Pn]=t,e[mi]=t,t}function Lh(e,t,n){Ou(0);const r=G(null);try{t(e,n)}finally{G(r)}}function Zm(e){return e[Rn]||(e[Rn]=[])}function qm(e){return e.cleanup||(e.cleanup=[])}function od(e,t){const n=e[zt],r=n?n.get(Es,null):null;r&&r.handleError(t)}function kh(e,t,n,r,o){for(let i=0;i<n.length;){const l=n[i++],f=n[i++];zm(e.data[l],t[l],r,f,o)}}function Qm(e,t,n,r){const o=t[Te];if(256==(256&o))return;t[vn].inlineEffectRunner?.flush(),Nu(t);let l=null,f=null;(function ZE(e){return 2!==e.type})(e)&&(f=function hE(e){return e[vi]??function pE(e){const t=Tm.pop()??Object.create(mE);return t.lView=e,t}(e)}(t),l=function pe(e){return e&&(e.nextProducerIndex=0),G(e)}(f));try{us(t),function Jc(e){return nt.lFrame.bindingIndex=e}(e.bindingStartIndex),null!==n&&Vm(e,t,n,2,r);const h=3==(3&o);if(h){const T=e.preOrderCheckHooks;null!==T&&Fs(t,T,null)}else{const T=e.preOrderHooks;null!==T&&Ls(t,T,0,null),Pu(t,0)}if(function qE(e){for(let t=jg(e);null!==t;t=Hg(t)){if(!(t[Te]&Ui.HasTransplantedViews))continue;const n=t[ko];for(let r=0;r<n.length;r++){qd(n[r])}}}(t),Jm(t,0),null!==e.contentQueries&&Ym(e,t),h){const T=e.contentCheckHooks;null!==T&&Fs(t,T)}else{const T=e.contentHooks;null!==T&&Ls(t,T,1),Pu(t,1)}!function bE(e,t){const n=e.hostBindingOpCodes;if(null!==n)try{for(let r=0;r<n.length;r++){const o=n[r];if(o<0)Bi(~o);else{const i=o,l=n[++r],f=n[++r];uf(l,i),f(2,t[i])}}}finally{Bi(-1)}}(e,t);const _=e.components;null!==_&&tv(t,_,0);const E=e.viewQuery;if(null!==E&&Lh(2,E,r),h){const T=e.viewCheckHooks;null!==T&&Fs(t,T)}else{const T=e.viewHooks;null!==T&&Ls(t,T,2),Pu(t,2)}if(!0===e.firstUpdatePass&&(e.firstUpdatePass=!1),t[Ss]){for(const T of t[Ss])T();t[Ss]=null}t[Te]&=-73}catch(h){throw pa(t),h}finally{null!==f&&(function Se(e,t){if(G(t),e&&void 0!==e.producerNode&&void 0!==e.producerIndexOfThis&&void 0!==e.producerLastReadVersion){if(We(e))for(let n=e.nextProducerIndex;n<e.producerNode.length;n++)ht(e.producerNode[n],e.producerIndexOfThis[n]);for(;e.producerNode.length>e.nextProducerIndex;)e.producerNode.pop(),e.producerLastReadVersion.pop(),e.producerIndexOfThis.pop()}}(f,l),function gE(e){e.lView[vi]!==e&&(e.lView=null,Tm.push(e))}(f)),ya()}}function Jm(e,t){for(let n=jg(e);null!==n;n=Hg(n)){n[Te]&=~Ui.HasChildViewsToRefresh;for(let r=Dn;r<n.length;r++)Xm(n[r],t)}}function KE(e,t,n){Xm(Bn(t,e),n)}function Xm(e,t){Eu(e)&&ev(e,t)}function ev(e,t){const r=e[ae],o=e[Te],i=e[vi];let l=!!(0===t&&16&o);if(l||=!!(64&o&&0===t),l||=!!(1024&o),l||=!(!i?.dirty||!_e(i)),i&&(i.dirty=!1),e[Te]&=-9217,l)Qm(r,e,r.template,e[bt]);else if(8192&o){Jm(e,1);const f=r.components;null!==f&&tv(e,f,1)}}function tv(e,t,n){for(let r=0;r<t.length;r++)KE(e,t[r],n)}function yc(e){for(;e;){e[Te]|=64;const t=sc(e);if(Ts(e)&&!t)return e;e=t}return null}class _c{get rootNodes(){const t=this._lView,n=t[ae];return mc(n,t,n.firstChild,[])}constructor(t,n,r=!0){this._lView=t,this._cdRefInjectingView=n,this.notifyErrorHandler=r,this._appRef=null,this._attachedToViewContainer=!1}get context(){return this._lView[bt]}set context(t){this._lView[bt]=t}get destroyed(){return 256==(256&this._lView[Te])}destroy(){if(this._appRef)this._appRef.detachView(this);else if(this._attachedToViewContainer){const t=this._lView[qe];if(In(t)){const n=t[8],r=n?n.indexOf(this):-1;r>-1&&(ac(t,r),Ma(n,r))}this._attachedToViewContainer=!1}Ul(this._lView[ae],this._lView)}onDestroy(t){ga(this._lView,t)}markForCheck(){yc(this._cdRefInjectingView||this._lView)}detach(){this._lView[Te]&=-129}reattach(){Zc(this._lView),this._lView[Te]|=128}detectChanges(){!function Vh(e,t=!0){const n=e[vn],r=n.rendererFactory,o=n.afterRenderEventManager;r.begin?.(),o?.begin();try{const l=e[ae];Qm(l,e,l.template,e[bt]),function YE(e){let t=0;for(;Yc(e);){if(100===t)throw new Ie(103,!1);t++,ev(e,1)}}(e)}catch(l){throw t&&od(e,l),l}finally{r.end?.(),n.inlineEffectRunner?.flush(),o?.end()}}(this._lView,this.notifyErrorHandler)}checkNoChanges(){}attachToViewContainerRef(){if(this._appRef)throw new Ie(902,!1);this._attachedToViewContainer=!0}detachFromAppRef(){this._appRef=null,function nb(e,t){cc(e,t,t[Ye],2,null,null)}(this._lView[ae],this._lView)}attachToAppRef(t){if(this._attachedToViewContainer)throw new Ie(902,!1);this._appRef=t}}let nv=(()=>{class e{static#e=this.__NG_ELEMENT_ID__=QE}return e})();function QE(e){return function JE(e,t,n){if(Vo(e)&&!n){const r=Bn(e.index,t);return new _c(r,r)}return 47&e.type?new _c(t[Wt],t):null}(Ft(),ne(),16==(16&e))}let id=(()=>{class e{static#e=this.__NG_ELEMENT_ID__=nw;static#t=this.__NG_ENV_ID__=n=>n}return e})();class tw extends id{constructor(t){super(),this._lView=t}onDestroy(t){return ga(this._lView,t),()=>function qc(e,t){if(null===e[ei])return;const n=e[ei].indexOf(t);-1!==n&&e[ei].splice(n,1)}(this._lView,t)}}function nw(){return new tw(ne())}const rv=new Set;function ra(e){rv.has(e)||(rv.add(e),performance?.mark?.("mark_use_counter",{detail:{feature:e}}))}function jh(e){return t=>{setTimeout(e,void 0,t)}}const Mi=class cw extends Bt.xQ{constructor(t=!1){super(),this.__isAsync=t}emit(t){super.next(t)}subscribe(t,n,r){let o=t,i=n||(()=>null),l=r;if(t&&"object"==typeof t){const h=t;o=h.next?.bind(h),i=h.error?.bind(h),l=h.complete?.bind(h)}this.__isAsync&&(i=jh(i),o&&(o=jh(o)),l&&(l=jh(l)));const f=super.subscribe({next:o,error:i,complete:l});return t instanceof ce.w&&t.add(f),f}};function ov(...e){}class Gn{constructor({enableLongStackTrace:t=!1,shouldCoalesceEventChangeDetection:n=!1,shouldCoalesceRunChangeDetection:r=!1}){if(this.hasPendingMacrotasks=!1,this.hasPendingMicrotasks=!1,this.isStable=!0,this.onUnstable=new Mi(!1),this.onMicrotaskEmpty=new Mi(!1),this.onStable=new Mi(!1),this.onError=new Mi(!1),typeof Zone>"u")throw new Ie(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 lw(){const e="function"==typeof jt.requestAnimationFrame;let t=jt[e?"requestAnimationFrame":"setTimeout"],n=jt[e?"cancelAnimationFrame":"clearTimeout"];if(typeof Zone<"u"&&t&&n){const r=t[Zone.__symbol__("OriginalDelegate")];r&&(t=r);const o=n[Zone.__symbol__("OriginalDelegate")];o&&(n=o)}return{nativeRequestAnimationFrame:t,nativeCancelAnimationFrame:n}}().nativeRequestAnimationFrame,function hw(e){const t=()=>{!function fw(e){e.isCheckStableRunning||-1!==e.lastRequestAnimationFrameId||(e.lastRequestAnimationFrameId=e.nativeRequestAnimationFrame.call(jt,()=>{e.fakeTopEventTask||(e.fakeTopEventTask=Zone.root.scheduleEventTask("fakeTopEventTask",()=>{e.lastRequestAnimationFrameId=-1,Uh(e),e.isCheckStableRunning=!0,Hh(e),e.isCheckStableRunning=!1},void 0,()=>{},()=>{})),e.fakeTopEventTask.invoke()}),Uh(e))}(e)};e._inner=e._inner.fork({name:"angular",properties:{isAngularZone:!0},onInvokeTask:(n,r,o,i,l,f)=>{if(function gw(e){return!(!Array.isArray(e)||1!==e.length)&&!0===e[0].data?.__ignore_ng_zone__}(f))return n.invokeTask(o,i,l,f);try{return iv(e),n.invokeTask(o,i,l,f)}finally{(e.shouldCoalesceEventChangeDetection&&"eventTask"===i.type||e.shouldCoalesceRunChangeDetection)&&t(),sv(e)}},onInvoke:(n,r,o,i,l,f,h)=>{try{return iv(e),n.invoke(o,i,l,f,h)}finally{e.shouldCoalesceRunChangeDetection&&t(),sv(e)}},onHasTask:(n,r,o,i)=>{n.hasTask(o,i),r===o&&("microTask"==i.change?(e._hasPendingMicrotasks=i.microTask,Uh(e),Hh(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(!Gn.isInAngularZone())throw new Ie(909,!1)}static assertNotInAngularZone(){if(Gn.isInAngularZone())throw new Ie(909,!1)}run(t,n,r){return this._inner.run(t,n,r)}runTask(t,n,r,o){const i=this._inner,l=i.scheduleEventTask("NgZoneEvent: "+o,t,dw,ov,ov);try{return i.runTask(l,n,r)}finally{i.cancelTask(l)}}runGuarded(t,n,r){return this._inner.runGuarded(t,n,r)}runOutsideAngular(t){return this._outer.run(t)}}const dw={};function Hh(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 Uh(e){e.hasPendingMicrotasks=!!(e._hasPendingMicrotasks||(e.shouldCoalesceEventChangeDetection||e.shouldCoalesceRunChangeDetection)&&-1!==e.lastRequestAnimationFrameId)}function iv(e){e._nesting++,e.isStable&&(e.isStable=!1,e.onUnstable.emit(null))}function sv(e){e._nesting--,Hh(e)}class pw{constructor(){this.hasPendingMicrotasks=!1,this.hasPendingMacrotasks=!1,this.isStable=!0,this.onUnstable=new Mi,this.onMicrotaskEmpty=new Mi,this.onStable=new Mi,this.onError=new Mi}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 av=new $("",{providedIn:"root",factory:uv});function uv(){const e=pt(Gn);let t=!0;return function uo(...e){let t=Number.POSITIVE_INFINITY,n=null,r=e[e.length-1];return(0,Ot.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 ke.y?e[0]:(0,kt.J)(t)((0,er.n)(e,n))}(new ke.y(o=>{t=e.isStable&&!e.hasPendingMacrotasks&&!e.hasPendingMicrotasks,e.runOutsideAngular(()=>{o.next(t),o.complete()})}),new ke.y(o=>{let i;e.runOutsideAngular(()=>{i=e.onStable.subscribe(()=>{Gn.assertNotInAngularZone(),queueMicrotask(()=>{!t&&!e.hasPendingMacrotasks&&!e.hasPendingMicrotasks&&(t=!0,o.next(!0))})})});const l=e.onUnstable.subscribe(()=>{Gn.assertInAngularZone(),t&&(t=!1,e.runOutsideAngular(()=>{o.next(!1)}))});return()=>{i.unsubscribe(),l.unsubscribe()}}).pipe(lo()))}var oa=function(e){return e[e.EarlyRead=0]="EarlyRead",e[e.Write=1]="Write",e[e.MixedReadWrite=2]="MixedReadWrite",e[e.Read=3]="Read",e}(oa||{});const cv={destroy(){}};function dv(e,t){!t&&function Xu(e){if(!Rr()&&!function Do(){return Ir}())throw new Ie(-203,!1)}();const n=t?.injector??pt(Hr);if(!function ie(e){return"browser"===(e??pt(Hr)).get(nc)}(n))return cv;ra("NgAfterNextRender");const r=n.get(sd),o=r.handler??=new hv,i=t?.phase??oa.MixedReadWrite,l=()=>{o.unregister(h),f()},f=n.get(id).onDestroy(l),h=new fv(n,i,()=>{l(),e()});return o.register(h),{destroy:l}}class fv{constructor(t,n,r){this.phase=n,this.callbackFn=r,this.zone=t.get(Gn),this.errorHandler=t.get(Es,null,{optional:!0})}invoke(){try{this.zone.runOutsideAngular(this.callbackFn)}catch(t){this.errorHandler?.handleError(t)}}}class hv{constructor(){this.executingCallbacks=!1,this.buckets={[oa.EarlyRead]:new Set,[oa.Write]:new Set,[oa.MixedReadWrite]:new Set,[oa.Read]:new Set},this.deferredCallbacks=new Set}validateBegin(){if(this.executingCallbacks)throw new Ie(102,!1)}register(t){(this.executingCallbacks?this.deferredCallbacks:this.buckets[t.phase]).add(t)}unregister(t){this.buckets[t.phase].delete(t),this.deferredCallbacks.delete(t)}execute(){this.executingCallbacks=!0;for(const t of Object.values(this.buckets))for(const n of t)n.invoke();this.executingCallbacks=!1;for(const t of this.deferredCallbacks)this.buckets[t.phase].add(t);this.deferredCallbacks.clear()}destroy(){for(const t of Object.values(this.buckets))t.clear();this.deferredCallbacks.clear()}}let sd=(()=>{class e{constructor(){this.renderDepth=0,this.handler=null,this.internalCallbacks=[]}begin(){this.handler?.validateBegin(),this.renderDepth++}end(){if(this.renderDepth--,0===this.renderDepth){for(const n of this.internalCallbacks)n();this.internalCallbacks.length=0,this.handler?.execute()}}ngOnDestroy(){this.handler?.destroy(),this.handler=null,this.internalCallbacks.length=0}static#e=this.\u0275prov=Vt({token:e,providedIn:"root",factory:()=>new e})}return e})();function vw(e,t){const n=Bn(t,e),r=n[ae];!function yw(e,t){for(let n=t.length;n<e.blueprint.length;n++)t.push(e.blueprint[n])}(r,n);const o=n[ve];null!==o&&null===n[cn]&&(n[cn]=Dh(o,n[zt])),Bh(r,n,n[bt])}function Bh(e,t,n){Nu(t);try{const r=e.viewQuery;null!==r&&Lh(1,r,n);const o=e.template;null!==o&&Vm(e,t,o,1,n),e.firstCreatePass&&(e.firstCreatePass=!1),e.staticContentQueries&&Ym(e,t),e.staticViewQueries&&Lh(2,e.viewQuery,n);const i=e.components;null!==i&&function _w(e,t){for(let n=0;n<t.length;n++)vw(e,t[n])}(t,i)}catch(r){throw e.firstCreatePass&&(e.incompleteFirstPass=!0,e.firstCreatePass=!1),r}finally{t[Te]&=-5,ya()}}function ad(e,t,n){let r=n?e.styles:null,o=n?e.classes:null,i=0;if(null!==t)for(let l=0;l<t.length;l++){const f=t[l];"number"==typeof f?i=f:1==i?o=Zt(o,f):2==i&&(r=Zt(r,f+": "+t[++l]+";"))}n?e.styles=r:e.stylesWithoutHost=r,n?e.classes=o:e.classesWithoutHost=o}class pv extends Xl{constructor(t){super(),this.ngModule=t}resolveComponentFactory(t){const n=ut(t);return new Dc(n,this.ngModule)}}function gv(e){const t=[];for(let n in e)e.hasOwnProperty(n)&&t.push({propName:e[n],templateName:n});return t}class Cw{constructor(t,n){this.injector=t,this.parentInjector=n}get(t,n,r){r=xo(r);const o=this.injector.get(t,Eh,r);return o!==Eh||n===Eh?o:this.parentInjector.get(t,n,r)}}class Dc extends vm{get inputs(){const t=this.componentDef,n=t.inputTransforms,r=gv(t.inputs);if(null!==n)for(const o of r)n.hasOwnProperty(o.propName)&&(o.transform=n[o.propName]);return r}get outputs(){return gv(this.componentDef.outputs)}constructor(t,n){super(),this.componentDef=t,this.ngModule=n,this.componentType=t.type,this.selector=function ki(e){return e.map(Li).join(",")}(t.selectors),this.ngContentSelectors=t.ngContentSelectors?t.ngContentSelectors:[],this.isBoundToModule=!!n}create(t,n,r,o){let i=(o=o||this.ngModule)instanceof Io?o:o?.injector;i&&null!==this.componentDef.getStandaloneInjector&&(i=this.componentDef.getStandaloneInjector(i)||i);const l=i?new Cw(t,i):t,f=l.get(_m,null);if(null===f)throw new Ie(407,!1);const E={rendererFactory:f,sanitizer:l.get(eE,null),inlineEffectRunner:null,afterRenderEventManager:l.get(sd,null)},T=f.createRenderer(null,this.componentDef),P=this.componentDef.selectors[0][0]||"div",V=r?function wE(e,t,n,r){const i=r.get(Nm,!1)||n===Nn.ShadowDom,l=e.selectRootElement(t,i);return function IE(e){Hm(e)}(l),l}(T,r,this.componentDef.encapsulation,l):Hl(T,P,function Dw(e){const t=e.toLowerCase();return"svg"===t?"svg":"math"===t?"math":null}(P)),Ee=this.componentDef.signals?4608:this.componentDef.onPush?576:528;let Ve=null;null!==V&&(Ve=Dh(V,l,!0));const le=xh(0,null,null,1,0,null,null,null,null,null,null),tt=nd(null,le,null,Ee,null,null,E,T,l,null,Ve);let Lt,Yt;Nu(tt);try{const fr=this.componentDef;let da,sg=null;fr.findHostDirectiveDefs?(da=[],sg=new Map,fr.findHostDirectiveDefs(fr,da,sg),da.push(fr)):da=[fr];const MA=function Ew(e,t){const n=e[ae],r=ct;return e[r]=t,za(n,r,2,"#host",null)}(tt,V),SA=function ww(e,t,n,r,o,i,l){const f=o[ae];!function Iw(e,t,n,r){for(const o of e)t.mergedAttrs=xn(t.mergedAttrs,o.hostAttrs);null!==t.mergedAttrs&&(ad(t,t.mergedAttrs,!0),null!==n&&tm(r,n,t))}(r,e,t,l);let h=null;null!==t&&(h=Dh(t,o[zt]));const _=i.rendererFactory.createRenderer(t,n);let E=16;n.signals?E=4096:n.onPush&&(E=64);const T=nd(o,jm(n),null,E,o[e.index],e,i,_,null,null,h);return f.firstCreatePass&&Ph(f,e,r.length-1),rd(o,T),o[e.index]=T}(MA,V,fr,da,tt,E,T);Yt=Ns(le,ct),V&&function Sw(e,t,n,r){if(r)qn(e,n,["ng-version",tE.full]);else{const{attrs:o,classes:i}=function Qo(e){const t=[],n=[];let r=1,o=2;for(;r<e.length;){let i=e[r];if("string"==typeof i)2===o?""!==i&&t.push(i,e[++r]):8===o&&n.push(i);else{if(!Un(o))break;o=i}r++}return{attrs:t,classes:n}}(t.selectors[0]);o&&qn(e,n,o),i&&i.length>0&&em(e,n,i.join(" "))}}(T,fr,V,r),void 0!==n&&function Tw(e,t,n){const r=e.projection=[];for(let o=0;o<t.length;o++){const i=n[o];r.push(null!=i?Array.from(i):null)}}(Yt,this.ngContentSelectors,n),Lt=function Mw(e,t,n,r,o,i){const l=Ft(),f=o[ae],h=ur(l,o);$m(f,o,l,n,null,r);for(let E=0;E<n.length;E++)Or($i(o,f,l.directiveStart+E,l),o);Gm(f,o,l),h&&Or(h,o);const _=$i(o,f,l.directiveStart+l.componentOffset,l);if(e[bt]=o[bt]=_,null!==i)for(const E of i)E(_,t);return Ah(f,l,e),_}(SA,fr,da,sg,tt,[Aw]),Bh(le,tt,null)}finally{ya()}return new bw(this.componentType,Lt,$a(Yt,tt),tt,Yt)}}class bw extends Yb{constructor(t,n,r,o,i){super(),this.location=r,this._rootLView=o,this._tNode=i,this.previousInputValues=null,this.instance=n,this.hostView=this.changeDetectorRef=new _c(o,void 0,!1),this.componentType=t}setInput(t,n){const r=this._tNode.inputs;let o;if(null!==r&&(o=r[t])){if(this.previousInputValues??=new Map,this.previousInputValues.has(t)&&Object.is(this.previousInputValues.get(t),n))return;const i=this._rootLView;kh(i[ae],i,o,t,n),this.previousInputValues.set(t,n),yc(Bn(this._tNode.index,i))}}get injector(){return new $n(this._tNode,this._rootLView)}destroy(){this.hostView.destroy()}onDestroy(t){this.hostView.onDestroy(t)}}function Aw(){const e=Ft();Ca(ne()[ae],e)}function $h(e){let t=function mv(e){return Object.getPrototypeOf(e.prototype).constructor}(e.type),n=!0;const r=[e];for(;t;){let o;if(Kn(e))o=t.\u0275cmp||t.\u0275dir;else{if(t.\u0275cmp)throw new Ie(903,!1);o=t.\u0275dir}if(o){if(n){r.push(o);const l=e;l.inputs=ud(e.inputs),l.inputTransforms=ud(e.inputTransforms),l.declaredInputs=ud(e.declaredInputs),l.outputs=ud(e.outputs);const f=o.hostBindings;f&&Rw(e,f);const h=o.viewQuery,_=o.contentQueries;if(h&&Nw(e,h),_&&xw(e,_),Tn(e.inputs,o.inputs),Tn(e.declaredInputs,o.declaredInputs),Tn(e.outputs,o.outputs),null!==o.inputTransforms&&(null===l.inputTransforms&&(l.inputTransforms={}),Tn(l.inputTransforms,o.inputTransforms)),Kn(o)&&o.data.animation){const E=e.data;E.animation=(E.animation||[]).concat(o.data.animation)}}const i=o.features;if(i)for(let l=0;l<i.length;l++){const f=i[l];f&&f.ngInherit&&f(e),f===$h&&(n=!1)}}t=Object.getPrototypeOf(t)}!function Ow(e){let t=0,n=null;for(let r=e.length-1;r>=0;r--){const o=e[r];o.hostVars=t+=o.hostVars,o.hostAttrs=xn(o.hostAttrs,n=xn(n,o.hostAttrs))}}(r)}function ud(e){return e===Zn?{}:e===dt?[]:e}function Nw(e,t){const n=e.viewQuery;e.viewQuery=n?(r,o)=>{t(r,o),n(r,o)}:t}function xw(e,t){const n=e.contentQueries;e.contentQueries=n?(r,o,i)=>{t(r,o,i),n(r,o,i)}:t}function Rw(e,t){const n=e.hostBindings;e.hostBindings=n?(r,o)=>{t(r,o),n(r,o)}:t}function Dv(e){const t=e.inputConfig,n={};for(const r in t)if(t.hasOwnProperty(r)){const o=t[r];Array.isArray(o)&&o[2]&&(n[r]=o[2])}e.inputTransforms=n}function Si(e,t,n){return e[t]=n}function zn(e,t,n){return!Object.is(e[t],n)&&(e[t]=n,!0)}function Gh(e,t,n,r){const o=ne();return zn(o,Bo(),t)&&(At(),Ii(tn(),o,e,t,n,r)),Gh}function ld(e,t){return e<<17|t<<2}function ws(e){return e>>17&32767}function zh(e){return 2|e}function sa(e){return(131068&e)>>2}function Wh(e,t){return-131069&e|t<<2}function Yh(e){return 1|e}function Ov(e,t,n,r,o){const i=e[n+1],l=null===t;let f=r?ws(i):sa(i),h=!1;for(;0!==f&&(!1===h||l);){const E=e[f+1];Gw(e[f],t)&&(h=!0,e[f+1]=r?Yh(E):zh(E)),f=r?ws(E):sa(E)}h&&(e[n+1]=r?zh(i):Yh(i))}function Gw(e,t){return null===e||null==t||(Array.isArray(e)?e[1]:e)===t||!(!Array.isArray(e)||"string"!=typeof t)&&Ys(e,t)>=0}function Zh(e,t,n){const r=ne();return zn(r,Bo(),t)&&Mo(At(),tn(),r,e,t,r[Ye],n,!1),Zh}function qh(e,t,n,r,o){const l=o?"class":"style";kh(e,n,t.inputs[l],l,r)}function Kh(e,t){return function si(e,t,n,r){const o=ne(),i=At(),l=function io(e){const t=nt.lFrame,n=t.bindingIndex;return t.bindingIndex=t.bindingIndex+e,n}(2);i.firstUpdatePass&&function jv(e,t,n,r){const o=e.data;if(null===o[n+1]){const i=o[cr()],l=function Vv(e,t){return t>=e.expandoStartIndex}(e,n);(function $v(e,t){return 0!=(e.flags&(t?8:16))})(i,r)&&null===t&&!l&&(t=!1),t=function Xw(e,t,n,r){const o=function Au(e){const t=nt.lFrame.currentDirectiveIndex;return-1===t?null:e[t]}(e);let i=r?t.residualClasses:t.residualStyles;if(null===o)0===(r?t.classBindings:t.styleBindings)&&(n=bc(n=Qh(null,e,t,n,r),t.attrs,r),i=null);else{const l=t.directiveStylingLast;if(-1===l||e[l]!==o)if(n=Qh(o,e,t,n,r),null===i){let h=function eI(e,t,n){const r=n?t.classBindings:t.styleBindings;if(0!==sa(r))return e[ws(r)]}(e,t,r);void 0!==h&&Array.isArray(h)&&(h=Qh(null,e,t,h[1],r),h=bc(h,t.attrs,r),function tI(e,t,n,r){e[ws(n?t.classBindings:t.styleBindings)]=r}(e,t,r,h))}else i=function nI(e,t,n){let r;const o=t.directiveEnd;for(let i=1+t.directiveStylingLast;i<o;i++)r=bc(r,e[i].hostAttrs,n);return bc(r,t.attrs,n)}(e,t,r)}return void 0!==i&&(r?t.residualClasses=i:t.residualStyles=i),n}(o,i,t,r),function Bw(e,t,n,r,o,i){let l=i?t.classBindings:t.styleBindings,f=ws(l),h=sa(l);e[r]=n;let E,_=!1;if(Array.isArray(n)?(E=n[1],(null===E||Ys(n,E)>0)&&(_=!0)):E=n,o)if(0!==h){const P=ws(e[f+1]);e[r+1]=ld(P,f),0!==P&&(e[P+1]=Wh(e[P+1],r)),e[f+1]=function Hw(e,t){return 131071&e|t<<17}(e[f+1],r)}else e[r+1]=ld(f,0),0!==f&&(e[f+1]=Wh(e[f+1],r)),f=r;else e[r+1]=ld(h,0),0===f?f=r:e[h+1]=Wh(e[h+1],r),h=r;_&&(e[r+1]=zh(e[r+1])),Ov(e,E,r,!0),Ov(e,E,r,!1),function $w(e,t,n,r,o){const i=o?e.residualClasses:e.residualStyles;null!=i&&"string"==typeof t&&Ys(i,t)>=0&&(n[r+1]=Yh(n[r+1]))}(t,E,e,r,i),l=ld(f,h),i?t.classBindings=l:t.styleBindings=l}(o,i,t,n,l,r)}}(i,e,l,r),t!==gt&&zn(o,l,t)&&function Uv(e,t,n,r,o,i,l,f){if(!(3&t.type))return;const h=e.data,_=h[f+1],E=function Uw(e){return 1==(1&e)}(_)?Bv(h,t,n,o,sa(_),l):void 0;dd(E)||(dd(i)||function jw(e){return 2==(2&e)}(_)&&(i=Bv(h,null,n,o,f,l)),function fb(e,t,n,r,o){if(t)o?e.addClass(n,r):e.removeClass(n,r);else{let i=-1===r.indexOf("-")?void 0:Vl.DashCase;null==o?e.removeStyle(n,r,i):("string"==typeof o&&o.endsWith("!important")&&(o=o.slice(0,-10),i|=Vl.Important),e.setStyle(n,r,o,i))}}(r,l,Os(cr(),n),o,i))}(i,i.data[cr()],o,o[Ye],e,o[l+1]=function sI(e,t){return null==e||""===e||("string"==typeof t?e+=t:"object"==typeof e&&(e=nn(bs(e)))),e}(t,n),r,l)}(e,t,null,!0),Kh}function Qh(e,t,n,r,o){let i=null;const l=n.directiveEnd;let f=n.directiveStylingLast;for(-1===f?f=n.directiveStart:f++;f<l&&(i=t[f],r=bc(r,i.hostAttrs,o),i!==e);)f++;return null!==e&&(n.directiveStylingLast=f),r}function bc(e,t,n){const r=n?1:2;let o=-1;if(null!==t)for(let i=0;i<t.length;i++){const l=t[i];"number"==typeof l?o=l:o===r&&(Array.isArray(e)||(e=void 0===e?[]:["",e]),dr(e,l,!!n||t[++i]))}return void 0===e?null:e}function Bv(e,t,n,r,o,i){const l=null===t;let f;for(;o>0;){const h=e[o],_=Array.isArray(h),E=_?h[1]:h,T=null===E;let P=n[o+1];P===gt&&(P=T?dt:void 0);let V=T?Ar(P,r):E===r?P:void 0;if(_&&!dd(V)&&(V=Ar(h,r)),dd(V)&&(f=V,l))return f;const J=e[o+1];o=l?ws(J):sa(J)}if(null!==t){let h=i?t.residualClasses:t.residualStyles;null!=h&&(f=Ar(h,r))}return f}function dd(e){return void 0!==e}function ru(e,t){return!t||Ll(e)}function Sc(e,t,n,r=!0){const o=t[ae];if(function ob(e,t,n,r){const o=Dn+r,i=n.length;r>0&&(n[o-1][Gt]=t),r<i-Dn?(t[Gt]=n[o],yl(n,Dn+r,t)):(n.push(t),t[Gt]=null),t[qe]=n;const l=t[Vi];null!==l&&n!==l&&function ib(e,t){const n=e[ko];t[Wt]!==t[qe][qe][Wt]&&(e[Te]|=Ui.HasTransplantedViews),null===n?e[ko]=[t]:n.push(t)}(l,t);const f=t[ro];null!==f&&f.insertView(e),Zc(t),t[Te]|=128}(o,t,e,n),r){const i=oh(n,e),l=t[Ye],f=Bl(l,e[oo]);null!==f&&function tb(e,t,n,r,o,i){r[ve]=o,r[Nt]=t,cc(e,r,n,1,o,i)}(o,e[Nt],l,t,f,i)}}let md=(()=>{class e{static#e=this.__NG_ELEMENT_ID__=HI}return e})();function HI(){return ny(Ft(),ne())}const UI=md,ey=class extends UI{constructor(t,n,r){super(),this._lContainer=t,this._hostTNode=n,this._hostLView=r}get element(){return $a(this._hostTNode,this._hostLView)}get injector(){return new $n(this._hostTNode,this._hostLView)}get parentInjector(){const t=jr(this._hostTNode,this._hostLView);if(Fu(t)){const n=Hs(t,this._hostLView),r=lr(t);return new $n(n[ae].data[r+8],n)}return new $n(null,this._hostLView)}clear(){for(;this.length>0;)this.remove(this.length-1)}get(t){const n=ty(this._lContainer);return null!==n&&n[t]||null}get length(){return this._lContainer.length-Dn}createEmbeddedView(t,n,r){let o,i;"number"==typeof r?o=r:null!=r&&(o=r.index,i=r.injector);const f=t.createEmbeddedViewImpl(n||{},i,null);return this.insertImpl(f,o,ru(this._hostTNode,null)),f}createComponent(t,n,r,o,i){const l=t&&!function zs(e){return"function"==typeof e}(t);let f;if(l)f=n;else{const J=n||{};f=J.index,r=J.injector,o=J.projectableNodes,i=J.environmentInjector||J.ngModuleRef}const h=l?t:new Dc(ut(t)),_=r||this.parentInjector;if(!i&&null==h.ngModule){const he=(l?_:this.parentInjector).get(Io,null);he&&(i=he)}ut(h.componentType??{});const V=h.create(_,o,null,i);return this.insertImpl(V.hostView,f,ru(this._hostTNode,null)),V}insert(t,n){return this.insertImpl(t,n,!0)}insertImpl(t,n,r){const o=t._lView;if(function Zd(e){return In(e[qe])}(o)){const f=this.indexOf(t);if(-1!==f)this.detach(f);else{const h=o[qe],_=new ey(h,h[Nt],h[qe]);_.detach(_.indexOf(t))}}const i=this._adjustIndex(n),l=this._lContainer;return Sc(l,o,i,r),t.attachToViewContainerRef(),yl(sp(l),i,t),t}move(t,n){return this.insert(t,n)}indexOf(t){const n=ty(this._lContainer);return null!==n?n.indexOf(t):-1}remove(t){const n=this._adjustIndex(t,-1),r=ac(this._lContainer,n);r&&(Ma(sp(this._lContainer),n),Ul(r[ae],r))}detach(t){const n=this._adjustIndex(t,-1),r=ac(this._lContainer,n);return r&&null!=Ma(sp(this._lContainer),n)?new _c(r):null}_adjustIndex(t,n=0){return t??this.length+n}};function ty(e){return e[8]}function sp(e){return e[8]||(e[8]=[])}function ny(e,t){let n;const r=t[e.index];return In(r)?n=r:(n=Wm(r,t,null,e),t[e.index]=n,rd(t,n)),ry(n,t,e,r),new ey(n,e,t)}let ry=function iy(e,t,n,r){if(e[oo])return;let o;o=8&n.type?ln(r):function BI(e,t){const n=e[Ye],r=n.createComment(""),o=ur(t,e);return na(n,Bl(n,o),r,function cb(e,t){return e.nextSibling(t)}(n,o),!1),r}(t,n),e[oo]=o},ap=(e,t,n)=>!1;function ou(e,t,n,r,o,i,l,f){const h=ne(),_=At(),E=e+ct,T=_.firstCreatePass?function WI(e,t,n,r,o,i,l,f,h){const _=t.consts,E=za(t,e,4,l||null,Sr(_,f));Rh(t,n,E,Sr(_,h)),Ca(t,E);const T=E.tView=xh(2,E,r,o,i,t.directiveRegistry,t.pipeRegistry,null,t.schemas,_,null);return null!==t.queries&&(t.queries.template(t,E),T.queries=t.queries.embeddedTView(E)),E}(E,_,h,t,n,r,o,i,l):_.data[E];Uo(T,!1);const P=sy(_,h,T,e);Da()&&$l(_,h,P,T),Or(P,h);const V=Wm(P,h,P,T);return h[E]=V,rd(h,V),function oy(e,t,n){return ap(e,t,n)}(V,T,h),mr(T)&&Oh(_,h,T),null!=l&&Nh(h,T,f),ou}let sy=function ay(e,t,n,r){return ri(!0),t[Ye].createComment("")};function bd(e,t,n,r){const o=ne(),i=At(),l=ct+e,f=o[Ye],h=i.firstCreatePass?function FM(e,t,n,r,o,i){const l=t.consts,h=za(t,e,2,r,Sr(l,o));return Rh(t,n,h,Sr(l,i)),null!==h.attrs&&ad(h,h.attrs,!1),null!==h.mergedAttrs&&ad(h,h.mergedAttrs,!0),null!==t.queries&&t.queries.elementStart(t,h),h}(l,i,o,t,n,r):i.data[l],_=Oy(i,o,h,f,t,e);o[l]=_;const E=mr(h);return Uo(h,!0),tm(f,_,h),32!=(32&h.flags)&&Da()&&$l(i,o,_,h),0===function cs(){return nt.lFrame.elementDepthCount}()&&Or(_,o),function Kd(){nt.lFrame.elementDepthCount++}(),E&&(Oh(i,o,h),Ah(i,h,o)),null!==r&&Nh(o,h),bd}function Ed(){let e=Ft();Mu()?Ps():(e=e.parent,Uo(e,!1));const t=e;(function Jd(e){return nt.skipHydrationRootTNode===e})(t)&&function nf(){nt.skipHydrationRootTNode=null}(),function Qd(){nt.lFrame.elementDepthCount--}();const n=At();return n.firstCreatePass&&(Ca(n,e),os(e)&&n.queries.elementEnd(e)),null!=t.classesWithoutHost&&function js(e){return 0!=(8&e.flags)}(t)&&qh(n,t,ne(),t.classesWithoutHost,!0),null!=t.stylesWithoutHost&&function ul(e){return 0!=(16&e.flags)}(t)&&qh(n,t,ne(),t.stylesWithoutHost,!1),Ed}function yp(e,t,n,r){return bd(e,t,n,r),Ed(),yp}let Oy=(e,t,n,r,o,i)=>(ri(!0),Hl(r,o,function _a(){return nt.lFrame.currentNamespace}()));function wd(e,t,n){const r=ne(),o=At(),i=e+ct,l=o.firstCreatePass?function VM(e,t,n,r,o){const i=t.consts,l=Sr(i,r),f=za(t,e,8,"ng-container",l);return null!==l&&ad(f,l,!0),Rh(t,n,f,Sr(i,o)),null!==t.queries&&t.queries.elementStart(t,f),f}(i,o,r,t,n):o.data[i];Uo(l,!0);const f=Ny(o,r,l,e);return r[i]=f,Da()&&$l(o,r,f,l),Or(f,r),mr(l)&&(Oh(o,r,l),Ah(o,l,r)),null!=n&&Nh(r,l),wd}function Id(){let e=Ft();const t=At();return Mu()?Ps():(e=e.parent,Uo(e,!1)),t.firstCreatePass&&(Ca(t,e),os(e)&&t.queries.elementEnd(e)),Id}function _p(e,t,n){return wd(e,t,n),Id(),_p}let Ny=(e,t,n,r)=>(ri(!0),eh(t[Ye],""));function xy(){return ne()}function Dp(e,t,n){const r=ne();return zn(r,Bo(),t)&&Mo(At(),tn(),r,e,t,r[Ye],n,!0),Dp}const ua=void 0;var BM=["en",[["a","p"],["AM","PM"],ua],[["AM","PM"],ua,ua],[["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"]],ua,[["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"]],ua,[["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}",ua,"{1} 'at' {0}",ua],[".",",",";","%","+","-","E","\xd7","\u2030","\u221e","NaN",":"],["#,##0.###","#,##0%","\xa4#,##0.00","#E0"],"USD","$","US Dollar",{},"ltr",function UM(e){const n=Math.floor(Math.abs(e)),r=e.toString().replace(/^[^.]*\.?/,"").length;return 1===n&&0===r?1:5}];let du={};function Cp(e){const t=function $M(e){return e.toLowerCase().replace(/_/g,"-")}(e);let n=Fy(t);if(n)return n;const r=t.split("-")[0];if(n=Fy(r),n)return n;if("en"===r)return BM;throw new Ie(701,!1)}function Py(e){return Cp(e)[fu.PluralCase]}function Fy(e){return e in du||(du[e]=jt.ng&&jt.ng.common&&jt.ng.common.locales&&jt.ng.common.locales[e]),du[e]}var fu=function(e){return e[e.LocaleId=0]="LocaleId",e[e.DayPeriodsFormat=1]="DayPeriodsFormat",e[e.DayPeriodsStandalone=2]="DayPeriodsStandalone",e[e.DaysFormat=3]="DaysFormat",e[e.DaysStandalone=4]="DaysStandalone",e[e.MonthsFormat=5]="MonthsFormat",e[e.MonthsStandalone=6]="MonthsStandalone",e[e.Eras=7]="Eras",e[e.FirstDayOfWeek=8]="FirstDayOfWeek",e[e.WeekendRange=9]="WeekendRange",e[e.DateFormat=10]="DateFormat",e[e.TimeFormat=11]="TimeFormat",e[e.DateTimeFormat=12]="DateTimeFormat",e[e.NumberSymbols=13]="NumberSymbols",e[e.NumberFormats=14]="NumberFormats",e[e.CurrencyCode=15]="CurrencyCode",e[e.CurrencySymbol=16]="CurrencySymbol",e[e.CurrencyName=17]="CurrencyName",e[e.Currencies=18]="Currencies",e[e.Directionality=19]="Directionality",e[e.PluralCase=20]="PluralCase",e[e.ExtraData=21]="ExtraData",e}(fu||{});const hu="en-US";let Ly=hu;function wp(e){return!!e&&"function"==typeof e.then}function a_(e){return!!e&&"function"==typeof e.subscribe}function Ip(e,t,n,r){const o=ne(),i=At(),l=Ft();return function c_(e,t,n,r,o,i,l){const f=mr(r),_=e.firstCreatePass&&qm(e),E=t[bt],T=Zm(t);let P=!0;if(3&r.type||l){const he=ur(r,t),Ee=l?l(he):he,Ve=T.length,le=l?Lt=>l(ln(Lt[r.index])):r.index;let tt=null;if(!l&&f&&(tt=function V0(e,t,n,r){const o=e.cleanup;if(null!=o)for(let i=0;i<o.length-1;i+=2){const l=o[i];if(l===n&&o[i+1]===r){const f=t[Rn],h=o[i+2];return f.length>h?f[h]:null}"string"==typeof l&&(i+=2)}return null}(e,t,o,r.index)),null!==tt)(tt.__ngLastListenerFn__||tt).__ngNextListenerFn__=i,tt.__ngLastListenerFn__=i,P=!1;else{i=d_(r,t,E,i,!1);const Lt=n.listen(Ee,o,i);T.push(i,Lt),_&&_.push(o,le,Ve,Ve+1)}}else i=d_(r,t,E,i,!1);const V=r.outputs;let J;if(P&&null!==V&&(J=V[o])){const he=J.length;if(he)for(let Ee=0;Ee<he;Ee+=2){const Yt=t[J[Ee]][J[Ee+1]].subscribe(i),fr=T.length;T.push(i,Yt),_&&_.push(o,r.index,fr,-(fr+1))}}}(i,o,o[Ye],l,e,t,r),Ip}function l_(e,t,n,r){try{return Ln(6,t,n),!1!==n(r)}catch(o){return od(e,o),!1}finally{Ln(7,t,n)}}function d_(e,t,n,r,o){return function i(l){if(l===Function)return r;yc(e.componentOffset>-1?Bn(e.index,t):t);let h=l_(t,n,r,l),_=i.__ngNextListenerFn__;for(;_;)h=l_(t,n,_,l)&&h,_=_.__ngNextListenerFn__;return o&&!1===h&&l.preventDefault(),h}}function f_(e=1){return function df(e){return(nt.lFrame.contextLView=function Wc(e,t){for(;e>0;)t=t[Mr],e--;return t}(e,nt.lFrame.contextLView))[bt]}(e)}function j0(e,t){let n=null;const r=function Ri(e){const t=e.attrs;if(null!=t){const n=t.indexOf(5);if(!(1&n))return t[n+1]}return null}(e);for(let o=0;o<t.length;o++){const i=t[o];if("*"!==i){if(null===r?fi(e,i,!0):Fi(r,i))return o}else n=o}return n}function h_(e){const t=ne()[Wt][Nt];if(!t.projection){const r=t.projection=Ws(e?e.length:1,null),o=r.slice();let i=t.child;for(;null!==i;){const l=e?j0(i,e):0;null!==l&&(o[l]?o[l].projectionNext=i:r[l]=i,o[l]=i),i=i.next}}}function p_(e,t=0,n){const r=ne(),o=At(),i=za(o,ct+e,16,null,n||null);null===i.projection&&(i.projection=t),Ps(),(!r[cn]||ls())&&32!=(32&i.flags)&&function lb(e,t,n){Xg(t[Ye],0,t,n,nh(e,n,t),Yg(n.parent||t[Nt],n,t))}(o,r,i)}function w_(e){return as(function sf(){return nt.lFrame.contextLView}(),ct+e)}function P_(e,t=""){const n=ne(),r=At(),o=e+ct,i=r.firstCreatePass?za(r,o,1,t,null):r.data[o],l=F_(r,n,i,t,e);n[o]=l,Da()&&$l(r,n,l,i),Uo(i,!1)}let F_=(e,t,n,r,o)=>(ri(!0),function jl(e,t){return e.createText(t)}(t[Ye],r));function Sp(e){return Od("",e,""),Sp}function Od(e,t,n){const r=ne(),o=function Ya(e,t,n,r){return zn(e,Bo(),n)?t+He(n)+r:gt}(r,e,t,n);return o!==gt&&function es(e,t,n){const r=Os(t,e);!function Bg(e,t,n){e.setValue(t,n)}(e[Ye],r,n)}(r,cr(),o),Od}function Tp(e,t,n,r,o){if(e=Ge(e),Array.isArray(e))for(let i=0;i<e.length;i++)Tp(e[i],t,n,r,o);else{const i=At(),l=ne(),f=Ft();let h=Zi(e)?e:Ge(e.provide);const _=Ju(e),E=1048575&f.providerIndexes,T=f.directiveStart,P=f.providerIndexes>>20;if(Zi(e)||!e.multi){const V=new Vs(_,o,Ga),J=Op(h,t,o?E:E+P,T);-1===J?(ju(Bs(f,l),i,h),Ap(i,e,t.length),t.push(h),f.directiveStart++,f.directiveEnd++,o&&(f.providerIndexes+=1048576),n.push(V),l.push(V)):(n[J]=V,l[J]=V)}else{const V=Op(h,t,E+P,T),J=Op(h,t,E,E+P),Ee=J>=0&&n[J];if(o&&!Ee||!o&&!(V>=0&&n[V])){ju(Bs(f,l),i,h);const Ve=function tS(e,t,n,r,o){const i=new Vs(e,n,Ga);return i.multi=[],i.index=t,i.componentProviders=0,G_(i,o,r&&!n),i}(o?eS:X0,n.length,o,r,_);!o&&Ee&&(n[J].providerFactory=Ve),Ap(i,e,t.length,0),t.push(h),f.directiveStart++,f.directiveEnd++,o&&(f.providerIndexes+=1048576),n.push(Ve),l.push(Ve)}else Ap(i,e,V>-1?V:J,G_(n[o?J:V],_,!o&&r));!o&&r&&Ee&&n[J].componentProviders++}}}function Ap(e,t,n,r){const o=Zi(t),i=function Ff(e){return!!e.useClass}(t);if(o||i){const h=(i?Ge(t.useClass):t).prototype.ngOnDestroy;if(h){const _=e.destroyHooks||(e.destroyHooks=[]);if(!o&&t.multi){const E=_.indexOf(n);-1===E?_.push(n,[r,h]):_[E+1].push(r,h)}else _.push(n,h)}}}function G_(e,t,n){return n&&e.componentProviders++,e.multi.push(t)-1}function Op(e,t,n,r){for(let o=n;o<r;o++)if(t[o]===e)return o;return-1}function X0(e,t,n,r){return Np(this.multi,[])}function eS(e,t,n,r){const o=this.multi;let i;if(this.providerFactory){const l=this.providerFactory.componentProviders,f=$i(n,n[ae],this.providerFactory.index,r);i=f.slice(0,l),Np(o,i);for(let h=l;h<f.length;h++)i.push(f[h])}else i=[],Np(o,i);return i}function Np(e,t){for(let n=0;n<e.length;n++)t.push((0,e[n])());return t}function z_(e,t=[]){return n=>{n.providersResolver=(r,o)=>function J0(e,t,n){const r=At();if(r.firstCreatePass){const o=Kn(e);Tp(n,r.data,r.blueprint,o,!0),Tp(t,r.data,r.blueprint,o,!1)}}(r,o?o(e):e,t)}}class ca{}class W_{}function nS(e,t){return new xp(e,t??null,[])}class xp extends ca{constructor(t,n,r){super(),this._parent=n,this._bootstrapComponents=[],this.destroyCbs=[],this.componentFactoryResolver=new pv(this);const o=y(t);this._bootstrapComponents=O(o.bootstrap),this._r3Injector=$f(t,n,[{provide:ca,useValue:this},{provide:Xl,useValue:this.componentFactoryResolver},...r],nn(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 Rp extends W_{constructor(t){super(),this.moduleType=t}create(t){return new xp(this.moduleType,t,[])}}class Y_ extends ca{constructor(t){super(),this.componentFactoryResolver=new pv(this),this.instance=null;const n=new Ei([...t.providers,{provide:ca,useValue:this},{provide:Xl,useValue:this.componentFactoryResolver}],t.parent||Pa(),t.debugName,new Set(["environment"]));this.injector=n,t.runEnvironmentInitializers&&n.resolveInjectorInitializers()}destroy(){this.injector.destroy()}onDestroy(t){this.injector.onDestroy(t)}}function Z_(e,t,n=null){return new Y_({providers:e,parent:t,debugName:n,runEnvironmentInitializers:!0}).injector}let oS=(()=>{class e{constructor(n){this._injector=n,this.cachedInjectors=new Map}getOrCreateStandaloneInjector(n){if(!n.standalone)return null;if(!this.cachedInjectors.has(n)){const r=Ml(0,n.type),o=r.length>0?Z_([r],this._injector,`Standalone[${n.type.name}]`):null;this.cachedInjectors.set(n,o)}return this.cachedInjectors.get(n)}ngOnDestroy(){try{for(const n of this.cachedInjectors.values())null!==n&&n.destroy()}finally{this.cachedInjectors.clear()}}static#e=this.\u0275prov=Vt({token:e,providedIn:"environment",factory:()=>new e(pn(Io))})}return e})();function q_(e){ra("NgStandalone"),e.getStandaloneInjector=t=>t.get(oS).getOrCreateStandaloneInjector(e)}function rD(e,t,n,r){return iD(ne(),_r(),e,t,n,r)}function oD(e,t,n,r,o){return sD(ne(),_r(),e,t,n,r,o)}function Lc(e,t){const n=e[t];return n===gt?void 0:n}function iD(e,t,n,r,o,i){const l=t+n;return zn(e,l,o)?Si(e,l+1,i?r.call(i,o):r(o)):Lc(e,l+1)}function sD(e,t,n,r,o,i,l){const f=t+n;return function ia(e,t,n,r){const o=zn(e,t,n);return zn(e,t+1,r)||o}(e,f,o,i)?Si(e,f+2,l?r.call(l,o,i):r(o,i)):Lc(e,f+2)}function lD(e,t){const n=At();let r;const o=e+ct;n.firstCreatePass?(r=function ES(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??=[]).push(o,r.onDestroy)):r=n.data[o];const i=r.factory||(r.factory=yr(r.type)),f=wt(Ga);try{const h=Ea(!1),_=i();return Ea(h),function H0(e,t,n,r){n>=e.data.length&&(e.data[n]=null,e.blueprint[n]=null),t[n]=r}(n,ne(),o,_),_}finally{wt(f)}}function dD(e,t,n){const r=e+ct,o=ne(),i=as(o,r);return kc(o,r)?iD(o,_r(),t,i.transform,n,i):i.transform(n)}function fD(e,t,n,r){const o=e+ct,i=ne(),l=as(i,o);return kc(i,o)?sD(i,_r(),t,l.transform,n,r,l):l.transform(n,r)}function kc(e,t){return e[ae].data[t].pure}function SS(){return this._results[Symbol.iterator]()}class Fp{static#e=Symbol.iterator;get changes(){return this._changes||(this._changes=new Mi)}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=Fp.prototype;n[Symbol.iterator]||(n[Symbol.iterator]=SS)}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){this.dirty=!1;const r=function Tr(e){return e.flat(Number.POSITIVE_INFINITY)}(t);(this._changesDetected=!function bf(e,t,n){if(e.length!==t.length)return!1;for(let r=0;r<e.length;r++){let o=e[r],i=t[r];if(n&&(o=n(o),i=n(i)),i!==o)return!1}return!0}(this._results,r,n))&&(this._results=r,this.length=r.length,this.last=r[this.length-1],this.first=r[0])}notifyOnChanges(){this._changes&&(this._changesDetected||!this._emitDistinctChangesOnly)&&this._changes.emit(this)}setDirty(){this.dirty=!0}destroy(){this.changes.complete(),this.changes.unsubscribe()}}let Vc=(()=>{class e{static#e=this.__NG_ELEMENT_ID__=OS}return e})();const TS=Vc,AS=class extends TS{constructor(t,n,r){super(),this._declarationLView=t,this._declarationTContainer=n,this.elementRef=r}get ssrId(){return this._declarationTContainer.tView?.ssrId||null}createEmbeddedView(t,n){return this.createEmbeddedViewImpl(t,n)}createEmbeddedViewImpl(t,n,r){const o=function Mc(e,t,n,r){const o=t.tView,f=nd(e,o,n,4096&e[Te]?4096:16,null,t,null,null,null,r?.injector??null,r?.dehydratedView??null);f[Vi]=e[t.index];const _=e[ro];return null!==_&&(f[ro]=_.createEmbeddedView(o)),Bh(o,f,n),f}(this._declarationLView,this._declarationTContainer,t,{injector:n,dehydratedView:r});return new _c(o)}};function OS(){return Rd(Ft(),ne())}function Rd(e,t){return 4&e.type?new AS(t,e,$a(e,t)):null}class Lp{constructor(t){this.queryList=t,this.matches=null}clone(){return new Lp(this.queryList)}setDirty(){this.queryList.setDirty()}}class kp{constructor(t=[]){this.queries=t}createEmbeddedView(t){const n=t.queries;if(null!==n){const r=null!==t.contentQueries?t.contentQueries[0]:n.length,o=[];for(let i=0;i<r;i++){const l=n.getByIndex(i);o.push(this.queries[l.indexInDeclarationView].clone())}return new kp(o)}return null}insertView(t){this.dirtyQueriesWithMatches(t)}detachView(t){this.dirtyQueriesWithMatches(t)}dirtyQueriesWithMatches(t){for(let n=0;n<this.queries.length;n++)null!==DD(t,n).matches&&this.queries[n].setDirty()}}class hD{constructor(t,n,r=null){this.predicate=t,this.flags=n,this.read=r}}class Vp{constructor(t=[]){this.queries=t}elementStart(t,n){for(let r=0;r<this.queries.length;r++)this.queries[r].elementStart(t,n)}elementEnd(t){for(let n=0;n<this.queries.length;n++)this.queries[n].elementEnd(t)}embeddedTView(t){let n=null;for(let r=0;r<this.length;r++){const o=null!==n?n.length:0,i=this.getByIndex(r).embeddedTView(t,o);i&&(i.indexInDeclarationView=r,null!==n?n.push(i):n=[i])}return null!==n?new Vp(n):null}template(t,n){for(let r=0;r<this.queries.length;r++)this.queries[r].template(t,n)}getByIndex(t){return this.queries[t]}get length(){return this.queries.length}track(t){this.queries.push(t)}}class jp{constructor(t,n=-1){this.metadata=t,this.matches=null,this.indexInDeclarationView=-1,this.crossesNgTemplate=!1,this._appliesToNextNode=!0,this._declarationNodeIndex=n}elementStart(t,n){this.isApplyingToNode(n)&&this.matchTNode(t,n)}elementEnd(t){this._declarationNodeIndex===t.index&&(this._appliesToNextNode=!1)}template(t,n){this.elementStart(t,n)}embeddedTView(t,n){return this.isApplyingToNode(t)?(this.crossesNgTemplate=!0,this.addMatch(-t.index,n),new jp(this.metadata)):null}isApplyingToNode(t){if(this._appliesToNextNode&&1!=(1&this.metadata.flags)){const n=this._declarationNodeIndex;let r=t.parent;for(;null!==r&&8&r.type&&r.index!==n;)r=r.parent;return n===(null!==r?r.index:-1)}return this._appliesToNextNode}matchTNode(t,n){const r=this.metadata.predicate;if(Array.isArray(r))for(let o=0;o<r.length;o++){const i=r[o];this.matchTNodeWithReadOption(t,n,NS(n,i)),this.matchTNodeWithReadOption(t,n,wa(n,t,i,!1,!1))}else r===Vc?4&n.type&&this.matchTNodeWithReadOption(t,n,-1):this.matchTNodeWithReadOption(t,n,wa(n,t,r,!1,!1))}matchTNodeWithReadOption(t,n,r){if(null!==r){const o=this.metadata.read;if(null!==o)if(o===gc||o===md||o===Vc&&4&n.type)this.addMatch(n.index,-2);else{const i=wa(n,t,o,!1,!1);null!==i&&this.addMatch(n.index,i)}else this.addMatch(n.index,r)}}addMatch(t,n){null===this.matches?this.matches=[t,n]:this.matches.push(t,n)}}function NS(e,t){const n=e.localNames;if(null!==n)for(let r=0;r<n.length;r+=2)if(n[r]===t)return n[r+1];return null}function RS(e,t,n,r){return-1===n?function xS(e,t){return 11&e.type?$a(e,t):4&e.type?Rd(e,t):null}(t,e):-2===n?function PS(e,t,n){return n===gc?$a(t,e):n===Vc?Rd(t,e):n===md?ny(t,e):void 0}(e,t,r):$i(e,e[ae],n,t)}function pD(e,t,n,r){const o=t[ro].queries[r];if(null===o.matches){const i=e.data,l=n.matches,f=[];for(let h=0;h<l.length;h+=2){const _=l[h];f.push(_<0?null:RS(t,i[_],l[h+1],n.metadata.read))}o.matches=f}return o.matches}function Hp(e,t,n,r){const o=e.queries.getByIndex(n),i=o.matches;if(null!==i){const l=pD(e,t,o,n);for(let f=0;f<i.length;f+=2){const h=i[f];if(h>0)r.push(l[f/2]);else{const _=i[f+1],E=t[-h];for(let T=Dn;T<E.length;T++){const P=E[T];P[Vi]===P[qe]&&Hp(P[ae],P,_,r)}if(null!==E[ko]){const T=E[ko];for(let P=0;P<T.length;P++){const V=T[P];Hp(V[ae],V,_,r)}}}}}return r}function gD(e){const t=ne(),n=At(),r=el();Ou(r+1);const o=DD(n,r);if(e.dirty&&function xs(e){return 4==(4&e[Te])}(t)===(2==(2&o.metadata.flags))){if(null===o.matches)e.reset([]);else{const i=o.crossesNgTemplate?Hp(n,t,r,[]):pD(n,t,o,r);e.reset(i,Qb),e.notifyOnChanges()}return!0}return!1}function mD(e,t,n,r){const o=At();if(o.firstCreatePass){const i=Ft();(function _D(e,t,n){null===e.queries&&(e.queries=new Vp),e.queries.track(new jp(t,n))})(o,new hD(t,n,r),i.index),function kS(e,t){const n=e.contentQueries||(e.contentQueries=[]);t!==(n.length?n[n.length-1]:-1)&&n.push(e.queries.length-1,t)}(o,e),2==(2&n)&&(o.staticContentQueries=!0)}!function yD(e,t,n){const r=new Fp(4==(4&n));(function TE(e,t,n,r){const o=Zm(t);o.push(n),e.firstCreatePass&&qm(e).push(r,o.length-1)})(e,t,r,r.destroy),null===t[ro]&&(t[ro]=new kp),t[ro].queries.push(new Lp(r))}(o,ne(),n)}function vD(){return function LS(e,t){return e[ro].queries[t].queryList}(ne(),el())}function DD(e,t){return e.queries.getByIndex(t)}function CD(e,t){return Rd(e,t)}const kD=new $("Application Initializer");let zp=(()=>{class e{constructor(){this.initialized=!1,this.done=!1,this.donePromise=new Promise((n,r)=>{this.resolve=n,this.reject=r}),this.appInits=pt(kD,{optional:!0})??[]}runInitializers(){if(this.initialized)return;const n=[];for(const o of this.appInits){const i=o();if(wp(i))n.push(i);else if(a_(i)){const l=new Promise((f,h)=>{i.subscribe({complete:f,error:h})});n.push(l)}}const r=()=>{this.done=!0,this.resolve()};Promise.all(n).then(()=>{r()}).catch(o=>{this.reject(o)}),0===n.length&&r(),this.initialized=!0}static#e=this.\u0275fac=function(r){return new(r||e)};static#t=this.\u0275prov=Vt({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})(),VD=(()=>{class e{log(n){console.log(n)}warn(n){console.warn(n)}static#e=this.\u0275fac=function(r){return new(r||e)};static#t=this.\u0275prov=Vt({token:e,factory:e.\u0275fac,providedIn:"platform"})}return e})();const Fd=new $("LocaleId",{providedIn:"root",factory:()=>pt(Fd,et.Optional|et.SkipSelf)||function iT(){return typeof $localize<"u"&&$localize.locale||hu}()}),sT=new $("DefaultCurrencyCode",{providedIn:"root",factory:()=>"USD"});let HD=(()=>{class e{constructor(){this.taskId=0,this.pendingTasks=new Set,this.hasPendingTasks=new co.X(!1)}add(){this.hasPendingTasks.next(!0);const n=this.taskId++;return this.pendingTasks.add(n),n}remove(n){this.pendingTasks.delete(n),0===this.pendingTasks.size&&this.hasPendingTasks.next(!1)}ngOnDestroy(){this.pendingTasks.clear(),this.hasPendingTasks.next(!1)}static#e=this.\u0275fac=function(r){return new(r||e)};static#t=this.\u0275prov=Vt({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();class dT{constructor(t,n){this.ngModuleFactory=t,this.componentFactories=n}}let fT=(()=>{class e{compileModuleSync(n){return new Rp(n)}compileModuleAsync(n){return Promise.resolve(this.compileModuleSync(n))}compileModuleAndAllComponentsSync(n){const r=this.compileModuleSync(n),i=O(y(n).declarations).reduce((l,f)=>{const h=ut(f);return h&&l.push(new Dc(h)),l},[]);return new dT(r,i)}compileModuleAndAllComponentsAsync(n){return Promise.resolve(this.compileModuleAndAllComponentsSync(n))}clearCache(){}clearCacheFor(n){}getModuleId(n){}static#e=this.\u0275fac=function(r){return new(r||e)};static#t=this.\u0275prov=Vt({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();const zD=new $(""),WD=new $("");let Yp,kT=(()=>{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,Yp||(function VT(e){Yp=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:()=>{Gn.assertNotInAngularZone(),queueMicrotask(()=>{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())queueMicrotask(()=>{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(l=>l.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[]}static#e=this.\u0275fac=function(r){return new(r||e)(pn(Gn),pn(YD),pn(WD))};static#t=this.\u0275prov=Vt({token:e,factory:e.\u0275fac})}return e})(),YD=(()=>{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 Yp?.findTestabilityInTree(this,n,r)??null}static#e=this.\u0275fac=function(r){return new(r||e)};static#t=this.\u0275prov=Vt({token:e,factory:e.\u0275fac,providedIn:"platform"})}return e})(),Ms=null;const ZD=new $("AllowMultipleToken"),Zp=new $("PlatformDestroyListeners"),qp=new $("appBootstrapListener");function QD(e,t,n=[]){const r=`Platform: ${t}`,o=new $(r);return(i=[])=>{let l=Kp();if(!l||l.injector.get(ZD,!1)){const f=[...n,...i,{provide:o,useValue:!0}];e?e(f):function UT(e){if(Ms&&!Ms.get(ZD,!1))throw new Ie(400,!1);(function qD(){!function ft(e){$e=e}(()=>{throw new Ie(600,!1)})})(),Ms=e;const t=e.get(XD);(function KD(e){e.get(Wf,null)?.forEach(n=>n())})(e)}(function JD(e=[],t){return Hr.create({name:t,providers:[{provide:xa,useValue:"platform"},{provide:Zp,useValue:new Set([()=>Ms=null])},...e]})}(f,r))}return function $T(e){const t=Kp();if(!t)throw new Ie(401,!1);return t}()}}function Kp(){return Ms?.get(XD)??null}let XD=(()=>{class e{constructor(n){this._injector=n,this._modules=[],this._destroyListeners=[],this._destroyed=!1}bootstrapModuleFactory(n,r){const o=function GT(e="zone.js",t){return"noop"===e?new pw:"zone.js"===e?new Gn(t):e}(r?.ngZone,function eC(e){return{enableLongStackTrace:!1,shouldCoalesceEventChangeDetection:e?.eventCoalescing??!1,shouldCoalesceRunChangeDetection:e?.runCoalescing??!1}}({eventCoalescing:r?.ngZoneEventCoalescing,runCoalescing:r?.ngZoneRunCoalescing}));return o.run(()=>{const i=function rS(e,t,n){return new xp(e,t,n)}(n.moduleType,this.injector,function iC(e){return[{provide:Gn,useFactory:e},{provide:Ds,multi:!0,useFactory:()=>{const t=pt(WT,{optional:!0});return()=>t.initialize()}},{provide:oC,useFactory:zT},{provide:av,useFactory:uv}]}(()=>o)),l=i.injector.get(Es,null);return o.runOutsideAngular(()=>{const f=o.onError.subscribe({next:h=>{l.handleError(h)}});i.onDestroy(()=>{kd(this._modules,i),f.unsubscribe()})}),function tC(e,t,n){try{const r=n();return wp(r)?r.catch(o=>{throw t.runOutsideAngular(()=>e.handleError(o)),o}):r}catch(r){throw t.runOutsideAngular(()=>e.handleError(r)),r}}(l,o,()=>{const f=i.injector.get(zp);return f.runInitializers(),f.donePromise.then(()=>(function ky(e){$t(e,"Expected localeId to be defined"),"string"==typeof e&&(Ly=e.toLowerCase().replace(/_/g,"-"))}(i.injector.get(Fd,hu)||hu),this._moduleDoBootstrap(i),i))})})}bootstrapModule(n,r=[]){const o=nC({},r);return function jT(e,t,n){const r=new Rp(n);return Promise.resolve(r)}(0,0,n).then(i=>this.bootstrapModuleFactory(i,o))}_moduleDoBootstrap(n){const r=n.injector.get(mu);if(n._bootstrapComponents.length>0)n._bootstrapComponents.forEach(o=>r.bootstrap(o));else{if(!n.instance.ngDoBootstrap)throw new Ie(-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 Ie(404,!1);this._modules.slice().forEach(r=>r.destroy()),this._destroyListeners.forEach(r=>r());const n=this._injector.get(Zp,null);n&&(n.forEach(r=>r()),n.clear()),this._destroyed=!0}get destroyed(){return this._destroyed}static#e=this.\u0275fac=function(r){return new(r||e)(pn(Hr))};static#t=this.\u0275prov=Vt({token:e,factory:e.\u0275fac,providedIn:"platform"})}return e})();function nC(e,t){return Array.isArray(t)?t.reduce(nC,e):{...e,...t}}let mu=(()=>{class e{constructor(){this._bootstrapListeners=[],this._runningTick=!1,this._destroyed=!1,this._destroyListeners=[],this._views=[],this.internalErrorHandler=pt(oC),this.zoneIsStable=pt(av),this.componentTypes=[],this.components=[],this.isStable=pt(HD).hasPendingTasks.pipe((0,fo.w)(n=>n?(0,_n.of)(!1):this.zoneIsStable),(0,tr.x)(),lo()),this._injector=pt(Io)}get destroyed(){return this._destroyed}get injector(){return this._injector}bootstrap(n,r){const o=n instanceof vm;if(!this._injector.get(zp).done)throw!o&&De(n),new Ie(405,!1);let l;l=o?n:this._injector.get(Xl).resolveComponentFactory(n),this.componentTypes.push(l.componentType);const f=function HT(e){return e.isBoundToModule}(l)?void 0:this._injector.get(ca),_=l.create(Hr.NULL,[],r||l.selector,f),E=_.location.nativeElement,T=_.injector.get(zD,null);return T?.registerApplication(E),_.onDestroy(()=>{this.detachView(_.hostView),kd(this.components,_),T?.unregisterApplication(E)}),this._loadComponent(_),_}tick(){if(this._runningTick)throw new Ie(101,!1);try{this._runningTick=!0;for(let n of this._views)n.detectChanges()}catch(n){this.internalErrorHandler(n)}finally{this._runningTick=!1}}attachView(n){const r=n;this._views.push(r),r.attachToAppRef(this)}detachView(n){const r=n;kd(this._views,r),r.detachFromAppRef()}_loadComponent(n){this.attachView(n.hostView),this.tick(),this.components.push(n);const r=this._injector.get(qp,[]);[...this._bootstrapListeners,...r].forEach(o=>o(n))}ngOnDestroy(){if(!this._destroyed)try{this._destroyListeners.forEach(n=>n()),this._views.slice().forEach(n=>n.destroy())}finally{this._destroyed=!0,this._views=[],this._bootstrapListeners=[],this._destroyListeners=[]}}onDestroy(n){return this._destroyListeners.push(n),()=>kd(this._destroyListeners,n)}destroy(){if(this._destroyed)throw new Ie(406,!1);const n=this._injector;n.destroy&&!n.destroyed&&n.destroy()}get viewCount(){return this._views.length}warnIfDestroyed(){}static#e=this.\u0275fac=function(r){return new(r||e)};static#t=this.\u0275prov=Vt({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();function kd(e,t){const n=e.indexOf(t);n>-1&&e.splice(n,1)}const oC=new $("",{providedIn:"root",factory:()=>pt(Es).handleError.bind(void 0)});function zT(){const e=pt(Gn),t=pt(Es);return n=>e.runOutsideAngular(()=>t.handleError(n))}let WT=(()=>{class e{constructor(){this.zone=pt(Gn),this.applicationRef=pt(mu)}initialize(){this._onMicrotaskEmptySubscription||(this._onMicrotaskEmptySubscription=this.zone.onMicrotaskEmpty.subscribe({next:()=>{this.zone.run(()=>{this.applicationRef.tick()})}}))}ngOnDestroy(){this._onMicrotaskEmptySubscription?.unsubscribe()}static#e=this.\u0275fac=function(r){return new(r||e)};static#t=this.\u0275prov=Vt({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();function qT(){return!1}function KT(){}const tA=QD(null,"core",[]);let nA=(()=>{class e{constructor(n){}static#e=this.\u0275fac=function(r){return new(r||e)(pn(mu))};static#t=this.\u0275mod=Xo({type:e});static#n=this.\u0275inj=Zr({})}return e})();function EA(e){return"boolean"==typeof e?e:null!=e&&"false"!==e}function IA(e){const t=ut(e);if(!t)return null;const n=new Dc(t);return{get selector(){return n.selector},get type(){return n.componentType},get inputs(){return n.inputs},get outputs(){return n.outputs},get ngContentSelectors(){return n.ngContentSelectors},get isStandalone(){return t.standalone},get isSignal(){return t.signals}}}},285:(Le,te,S)=>{"use strict";S.d(te,{Fj:()=>Se,oH:()=>qo,u:()=>pt,sg:()=>wn,u5:()=>ee,JJ:()=>mn,JL:()=>So,UX:()=>De,vC:()=>gi,QS:()=>ut,nJ:()=>hn,kI:()=>Ue,_Y:()=>Be});var s=S(5088),L=S(6814),q=S(5253),X=S(4699),Y=S(1280),G=S(6124),se=S(7755);function z(y,C){return new X.y(m=>{const I=y.length;if(0===I)return void m.complete();const x=new Array(I);let ye=0,ve=0;for(let ae=0;ae<I;ae++){const Te=(0,q.D)(y[ae]);let qe=!1;m.add(Te.subscribe({next:Gt=>{qe||(qe=!0,ve++),x[ae]=Gt},error:Gt=>m.error(Gt),complete:()=>{ye++,(ye===I||!qe)&&(ve===I&&m.next(C?C.reduce((Gt,Nt,cn)=>(Gt[Nt]=x[cn],Gt),{}):x),m.complete())}}))}})}let k=(()=>{class y{constructor(m,I){this._renderer=m,this._elementRef=I,this.onChange=x=>{},this.onTouched=()=>{}}setProperty(m,I){this._renderer.setProperty(this._elementRef.nativeElement,m,I)}registerOnTouched(m){this.onTouched=m}registerOnChange(m){this.onChange=m}setDisabledState(m){this.setProperty("disabled",m)}static#e=this.\u0275fac=function(I){return new(I||y)(s.Y36(s.Qsj),s.Y36(s.SBq))};static#t=this.\u0275dir=s.lG2({type:y})}return y})(),H=(()=>{class y extends k{static#e=this.\u0275fac=(()=>{let m;return function(x){return(m||(m=s.n5z(y)))(x||y)}})();static#t=this.\u0275dir=s.lG2({type:y,features:[s.qOj]})}return y})();const j=new s.OlP("NgValueAccessor"),de={provide:j,useExisting:(0,s.Gpc)(()=>Se),multi:!0},pe=new s.OlP("CompositionEventMode");let Se=(()=>{class y extends k{constructor(m,I,x){super(m,I),this._compositionMode=x,this._composing=!1,null==this._compositionMode&&(this._compositionMode=!function re(){const y=(0,L.q)()?(0,L.q)().getUserAgent():"";return/android (\d+)/.test(y.toLowerCase())}())}writeValue(m){this.setProperty("value",m??"")}_handleInput(m){(!this._compositionMode||this._compositionMode&&!this._composing)&&this.onChange(m)}_compositionStart(){this._composing=!0}_compositionEnd(m){this._composing=!1,this._compositionMode&&this.onChange(m)}static#e=this.\u0275fac=function(I){return new(I||y)(s.Y36(s.Qsj),s.Y36(s.SBq),s.Y36(pe,8))};static#t=this.\u0275dir=s.lG2({type:y,selectors:[["input","formControlName","",3,"type","checkbox"],["textarea","formControlName",""],["input","formControl","",3,"type","checkbox"],["textarea","formControl",""],["input","ngModel","",3,"type","checkbox"],["textarea","ngModel",""],["","ngDefaultControl",""]],hostBindings:function(I,x){1&I&&s.NdJ("input",function(ve){return x._handleInput(ve.target.value)})("blur",function(){return x.onTouched()})("compositionstart",function(){return x._compositionStart()})("compositionend",function(ve){return x._compositionEnd(ve.target.value)})},features:[s._Bn([de]),s.qOj]})}return y})();function _e(y){return null==y||("string"==typeof y||Array.isArray(y))&&0===y.length}function Ne(y){return null!=y&&"number"==typeof y.length}const Ze=new s.OlP("NgValidators"),ht=new s.OlP("NgAsyncValidators"),We=/^(?=.{1,254}$)(?=.{1,64}@)[a-zA-Z0-9!#$%&'*+/=?^_`{|}~-]+(?:\.[a-zA-Z0-9!#$%&'*+/=?^_`{|}~-]+)*@[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?(?:\.[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?)*$/;class Ue{static min(C){return function _t(y){return C=>{if(_e(C.value)||_e(y))return null;const m=parseFloat(C.value);return!isNaN(m)&&m<y?{min:{min:y,actual:C.value}}:null}}(C)}static max(C){return function rt(y){return C=>{if(_e(C.value)||_e(y))return null;const m=parseFloat(C.value);return!isNaN(m)&&m>y?{max:{max:y,actual:C.value}}:null}}(C)}static required(C){return function we(y){return _e(y.value)?{required:!0}:null}(C)}static requiredTrue(C){return function ge(y){return!0===y.value?null:{required:!0}}(C)}static email(C){return function me(y){return _e(y.value)||We.test(y.value)?null:{email:!0}}(C)}static minLength(C){return function xe(y){return C=>_e(C.value)||!Ne(C.value)?null:C.value.length<y?{minlength:{requiredLength:y,actualLength:C.value.length}}:null}(C)}static maxLength(C){return function Ce(y){return C=>Ne(C.value)&&C.value.length>y?{maxlength:{requiredLength:y,actualLength:C.value.length}}:null}(C)}static pattern(C){return function $e(y){if(!y)return Re;let C,m;return"string"==typeof y?(m="","^"!==y.charAt(0)&&(m+="^"),m+=y,"$"!==y.charAt(y.length-1)&&(m+="$"),C=new RegExp(m)):(m=y.toString(),C=y),I=>{if(_e(I.value))return null;const x=I.value;return C.test(x)?null:{pattern:{requiredPattern:m,actualValue:x}}}}(C)}static nullValidator(C){return null}static compose(C){return Oe(C)}static composeAsync(C){return Q(C)}}function Re(y){return null}function ft(y){return null!=y}function mt(y){return(0,s.QGY)(y)?(0,q.D)(y):y}function St(y){let C={};return y.forEach(m=>{C=null!=m?{...C,...m}:C}),0===Object.keys(C).length?null:C}function Tt(y,C){return C.map(m=>m(y))}function an(y){return y.map(C=>function xt(y){return!y.validate}(C)?C:m=>C.validate(m))}function Oe(y){if(!y)return null;const C=y.filter(ft);return 0==C.length?null:function(m){return St(Tt(m,C))}}function Je(y){return null!=y?Oe(an(y)):null}function Q(y){if(!y)return null;const C=y.filter(ft);return 0==C.length?null:function(m){return function K(...y){if(1===y.length){const C=y[0];if((0,Y.k)(C))return z(C,null);if((0,se.K)(C)&&Object.getPrototypeOf(C)===Object.prototype){const m=Object.keys(C);return z(m.map(I=>C[I]),m)}}if("function"==typeof y[y.length-1]){const C=y.pop();return z(y=1===y.length&&(0,Y.k)(y[0])?y[0]:y,null).pipe((0,G.U)(m=>C(...m)))}return z(y,null)}(Tt(m,C).map(mt)).pipe((0,G.U)(St))}}function Ke(y){return null!=y?Q(an(y)):null}function be(y,C){return null===y?[C]:Array.isArray(y)?[...y,C]:[y,C]}function je(y){return y._rawValidators}function ot(y){return y._rawAsyncValidators}function fe(y){return y?Array.isArray(y)?y:[y]:[]}function Bt(y,C){return Array.isArray(y)?y.includes(C):y===C}function ce(y,C){const m=fe(C);return fe(y).forEach(x=>{Bt(m,x)||m.push(x)}),m}function ke(y,C){return fe(C).filter(m=>!Bt(y,m))}class Ot{constructor(){this._rawValidators=[],this._rawAsyncValidators=[],this._onDestroyCallbacks=[]}get value(){return this.control?this.control.value:null}get valid(){return this.control?this.control.valid:null}get invalid(){return this.control?this.control.invalid:null}get pending(){return this.control?this.control.pending:null}get disabled(){return this.control?this.control.disabled:null}get enabled(){return this.control?this.control.enabled:null}get errors(){return this.control?this.control.errors:null}get pristine(){return this.control?this.control.pristine:null}get dirty(){return this.control?this.control.dirty:null}get touched(){return this.control?this.control.touched:null}get status(){return this.control?this.control.status:null}get untouched(){return this.control?this.control.untouched:null}get statusChanges(){return this.control?this.control.statusChanges:null}get valueChanges(){return this.control?this.control.valueChanges:null}get path(){return null}_setValidators(C){this._rawValidators=C||[],this._composedValidatorFn=Je(this._rawValidators)}_setAsyncValidators(C){this._rawAsyncValidators=C||[],this._composedAsyncValidatorFn=Ke(this._rawAsyncValidators)}get validator(){return this._composedValidatorFn||null}get asyncValidator(){return this._composedAsyncValidatorFn||null}_registerOnDestroy(C){this._onDestroyCallbacks.push(C)}_invokeOnDestroyCallbacks(){this._onDestroyCallbacks.forEach(C=>C()),this._onDestroyCallbacks=[]}reset(C=void 0){this.control&&this.control.reset(C)}hasError(C,m){return!!this.control&&this.control.hasError(C,m)}getError(C,m){return this.control?this.control.getError(C,m):null}}class kt extends Ot{get formDirective(){return null}get path(){return null}}class er extends Ot{constructor(){super(...arguments),this._parent=null,this.name=null,this.valueAccessor=null}}class uo{constructor(C){this._cd=C}get isTouched(){return!!this._cd?.control?.touched}get isUntouched(){return!!this._cd?.control?.untouched}get isPristine(){return!!this._cd?.control?.pristine}get isDirty(){return!!this._cd?.control?.dirty}get isValid(){return!!this._cd?.control?.valid}get isInvalid(){return!!this._cd?.control?.invalid}get isPending(){return!!this._cd?.control?.pending}get isSubmitted(){return!!this._cd?.submitted}}let mn=(()=>{class y extends uo{constructor(m){super(m)}static#e=this.\u0275fac=function(I){return new(I||y)(s.Y36(er,2))};static#t=this.\u0275dir=s.lG2({type:y,selectors:[["","formControlName",""],["","ngModel",""],["","formControl",""]],hostVars:14,hostBindings:function(I,x){2&I&&s.ekj("ng-untouched",x.isUntouched)("ng-touched",x.isTouched)("ng-pristine",x.isPristine)("ng-dirty",x.isDirty)("ng-valid",x.isValid)("ng-invalid",x.isInvalid)("ng-pending",x.isPending)},features:[s.qOj]})}return y})(),So=(()=>{class y extends uo{constructor(m){super(m)}static#e=this.\u0275fac=function(I){return new(I||y)(s.Y36(kt,10))};static#t=this.\u0275dir=s.lG2({type:y,selectors:[["","formGroupName",""],["","formArrayName",""],["","ngModelGroup",""],["","formGroup",""],["form",3,"ngNoForm",""],["","ngForm",""]],hostVars:16,hostBindings:function(I,x){2&I&&s.ekj("ng-untouched",x.isUntouched)("ng-touched",x.isTouched)("ng-pristine",x.isPristine)("ng-dirty",x.isDirty)("ng-valid",x.isValid)("ng-invalid",x.isInvalid)("ng-pending",x.isPending)("ng-submitted",x.isSubmitted)},features:[s.qOj]})}return y})();const Cr="VALID",Ie="INVALID",fn="PENDING",On="DISABLED";function $r(y){return(un(y)?y.validators:y)||null}function go(y,C){return(un(C)?C.asyncValidators:y)||null}function un(y){return null!=y&&!Array.isArray(y)&&"object"==typeof y}function en(y,C,m){const I=y.controls;if(!(C?Object.keys(I):I).length)throw new s.vHH(1e3,"");if(!I[m])throw new s.vHH(1001,"")}function He(y,C,m){y._forEachChild((I,x)=>{if(void 0===m[x])throw new s.vHH(1002,"")})}class lt{constructor(C,m){this._pendingDirty=!1,this._hasOwnPendingAsyncValidator=!1,this._pendingTouched=!1,this._onCollectionChange=()=>{},this._parent=null,this.pristine=!0,this.touched=!1,this._onDisabledChange=[],this._assignValidators(C),this._assignAsyncValidators(m)}get validator(){return this._composedValidatorFn}set validator(C){this._rawValidators=this._composedValidatorFn=C}get asyncValidator(){return this._composedAsyncValidatorFn}set asyncValidator(C){this._rawAsyncValidators=this._composedAsyncValidatorFn=C}get parent(){return this._parent}get valid(){return this.status===Cr}get invalid(){return this.status===Ie}get pending(){return this.status==fn}get disabled(){return this.status===On}get enabled(){return this.status!==On}get dirty(){return!this.pristine}get untouched(){return!this.touched}get updateOn(){return this._updateOn?this._updateOn:this.parent?this.parent.updateOn:"change"}setValidators(C){this._assignValidators(C)}setAsyncValidators(C){this._assignAsyncValidators(C)}addValidators(C){this.setValidators(ce(C,this._rawValidators))}addAsyncValidators(C){this.setAsyncValidators(ce(C,this._rawAsyncValidators))}removeValidators(C){this.setValidators(ke(C,this._rawValidators))}removeAsyncValidators(C){this.setAsyncValidators(ke(C,this._rawAsyncValidators))}hasValidator(C){return Bt(this._rawValidators,C)}hasAsyncValidator(C){return Bt(this._rawAsyncValidators,C)}clearValidators(){this.validator=null}clearAsyncValidators(){this.asyncValidator=null}markAsTouched(C={}){this.touched=!0,this._parent&&!C.onlySelf&&this._parent.markAsTouched(C)}markAllAsTouched(){this.markAsTouched({onlySelf:!0}),this._forEachChild(C=>C.markAllAsTouched())}markAsUntouched(C={}){this.touched=!1,this._pendingTouched=!1,this._forEachChild(m=>{m.markAsUntouched({onlySelf:!0})}),this._parent&&!C.onlySelf&&this._parent._updateTouched(C)}markAsDirty(C={}){this.pristine=!1,this._parent&&!C.onlySelf&&this._parent.markAsDirty(C)}markAsPristine(C={}){this.pristine=!0,this._pendingDirty=!1,this._forEachChild(m=>{m.markAsPristine({onlySelf:!0})}),this._parent&&!C.onlySelf&&this._parent._updatePristine(C)}markAsPending(C={}){this.status=fn,!1!==C.emitEvent&&this.statusChanges.emit(this.status),this._parent&&!C.onlySelf&&this._parent.markAsPending(C)}disable(C={}){const m=this._parentMarkedDirty(C.onlySelf);this.status=On,this.errors=null,this._forEachChild(I=>{I.disable({...C,onlySelf:!0})}),this._updateValue(),!1!==C.emitEvent&&(this.valueChanges.emit(this.value),this.statusChanges.emit(this.status)),this._updateAncestors({...C,skipPristineCheck:m}),this._onDisabledChange.forEach(I=>I(!0))}enable(C={}){const m=this._parentMarkedDirty(C.onlySelf);this.status=Cr,this._forEachChild(I=>{I.enable({...C,onlySelf:!0})}),this.updateValueAndValidity({onlySelf:!0,emitEvent:C.emitEvent}),this._updateAncestors({...C,skipPristineCheck:m}),this._onDisabledChange.forEach(I=>I(!1))}_updateAncestors(C){this._parent&&!C.onlySelf&&(this._parent.updateValueAndValidity(C),C.skipPristineCheck||this._parent._updatePristine(),this._parent._updateTouched())}setParent(C){this._parent=C}getRawValue(){return this.value}updateValueAndValidity(C={}){this._setInitialStatus(),this._updateValue(),this.enabled&&(this._cancelExistingSubscription(),this.errors=this._runValidator(),this.status=this._calculateStatus(),(this.status===Cr||this.status===fn)&&this._runAsyncValidator(C.emitEvent)),!1!==C.emitEvent&&(this.valueChanges.emit(this.value),this.statusChanges.emit(this.status)),this._parent&&!C.onlySelf&&this._parent.updateValueAndValidity(C)}_updateTreeValidity(C={emitEvent:!0}){this._forEachChild(m=>m._updateTreeValidity(C)),this.updateValueAndValidity({onlySelf:!0,emitEvent:C.emitEvent})}_setInitialStatus(){this.status=this._allControlsDisabled()?On:Cr}_runValidator(){return this.validator?this.validator(this):null}_runAsyncValidator(C){if(this.asyncValidator){this.status=fn,this._hasOwnPendingAsyncValidator=!0;const m=mt(this.asyncValidator(this));this._asyncValidationSubscription=m.subscribe(I=>{this._hasOwnPendingAsyncValidator=!1,this.setErrors(I,{emitEvent:C})})}}_cancelExistingSubscription(){this._asyncValidationSubscription&&(this._asyncValidationSubscription.unsubscribe(),this._hasOwnPendingAsyncValidator=!1)}setErrors(C,m={}){this.errors=C,this._updateControlsErrors(!1!==m.emitEvent)}get(C){let m=C;return null==m||(Array.isArray(m)||(m=m.split(".")),0===m.length)?null:m.reduce((I,x)=>I&&I._find(x),this)}getError(C,m){const I=m?this.get(m):this;return I&&I.errors?I.errors[C]:null}hasError(C,m){return!!this.getError(C,m)}get root(){let C=this;for(;C._parent;)C=C._parent;return C}_updateControlsErrors(C){this.status=this._calculateStatus(),C&&this.statusChanges.emit(this.status),this._parent&&this._parent._updateControlsErrors(C)}_initObservables(){this.valueChanges=new s.vpe,this.statusChanges=new s.vpe}_calculateStatus(){return this._allControlsDisabled()?On:this.errors?Ie:this._hasOwnPendingAsyncValidator||this._anyControlsHaveStatus(fn)?fn:this._anyControlsHaveStatus(Ie)?Ie:Cr}_anyControlsHaveStatus(C){return this._anyControls(m=>m.status===C)}_anyControlsDirty(){return this._anyControls(C=>C.dirty)}_anyControlsTouched(){return this._anyControls(C=>C.touched)}_updatePristine(C={}){this.pristine=!this._anyControlsDirty(),this._parent&&!C.onlySelf&&this._parent._updatePristine(C)}_updateTouched(C={}){this.touched=this._anyControlsTouched(),this._parent&&!C.onlySelf&&this._parent._updateTouched(C)}_registerOnCollectionChange(C){this._onCollectionChange=C}_setUpdateStrategy(C){un(C)&&null!=C.updateOn&&(this._updateOn=C.updateOn)}_parentMarkedDirty(C){return!C&&!(!this._parent||!this._parent.dirty)&&!this._parent._anyControlsDirty()}_find(C){return null}_assignValidators(C){this._rawValidators=Array.isArray(C)?C.slice():C,this._composedValidatorFn=function po(y){return Array.isArray(y)?Je(y):y||null}(this._rawValidators)}_assignAsyncValidators(C){this._rawAsyncValidators=Array.isArray(C)?C.slice():C,this._composedAsyncValidatorFn=function rn(y){return Array.isArray(y)?Ke(y):y||null}(this._rawAsyncValidators)}}class qt extends lt{constructor(C,m,I){super($r(m),go(I,m)),this.controls=C,this._initObservables(),this._setUpdateStrategy(m),this._setUpControls(),this.updateValueAndValidity({onlySelf:!0,emitEvent:!!this.asyncValidator})}registerControl(C,m){return this.controls[C]?this.controls[C]:(this.controls[C]=m,m.setParent(this),m._registerOnCollectionChange(this._onCollectionChange),m)}addControl(C,m,I={}){this.registerControl(C,m),this.updateValueAndValidity({emitEvent:I.emitEvent}),this._onCollectionChange()}removeControl(C,m={}){this.controls[C]&&this.controls[C]._registerOnCollectionChange(()=>{}),delete this.controls[C],this.updateValueAndValidity({emitEvent:m.emitEvent}),this._onCollectionChange()}setControl(C,m,I={}){this.controls[C]&&this.controls[C]._registerOnCollectionChange(()=>{}),delete this.controls[C],m&&this.registerControl(C,m),this.updateValueAndValidity({emitEvent:I.emitEvent}),this._onCollectionChange()}contains(C){return this.controls.hasOwnProperty(C)&&this.controls[C].enabled}setValue(C,m={}){He(this,0,C),Object.keys(C).forEach(I=>{en(this,!0,I),this.controls[I].setValue(C[I],{onlySelf:!0,emitEvent:m.emitEvent})}),this.updateValueAndValidity(m)}patchValue(C,m={}){null!=C&&(Object.keys(C).forEach(I=>{const x=this.controls[I];x&&x.patchValue(C[I],{onlySelf:!0,emitEvent:m.emitEvent})}),this.updateValueAndValidity(m))}reset(C={},m={}){this._forEachChild((I,x)=>{I.reset(C?C[x]:null,{onlySelf:!0,emitEvent:m.emitEvent})}),this._updatePristine(m),this._updateTouched(m),this.updateValueAndValidity(m)}getRawValue(){return this._reduceChildren({},(C,m,I)=>(C[I]=m.getRawValue(),C))}_syncPendingControls(){let C=this._reduceChildren(!1,(m,I)=>!!I._syncPendingControls()||m);return C&&this.updateValueAndValidity({onlySelf:!0}),C}_forEachChild(C){Object.keys(this.controls).forEach(m=>{const I=this.controls[m];I&&C(I,m)})}_setUpControls(){this._forEachChild(C=>{C.setParent(this),C._registerOnCollectionChange(this._onCollectionChange)})}_updateValue(){this.value=this._reduceValue()}_anyControls(C){for(const[m,I]of Object.entries(this.controls))if(this.contains(m)&&C(I))return!0;return!1}_reduceValue(){return this._reduceChildren({},(m,I,x)=>((I.enabled||this.disabled)&&(m[x]=I.value),m))}_reduceChildren(C,m){let I=C;return this._forEachChild((x,ye)=>{I=m(I,x,ye)}),I}_allControlsDisabled(){for(const C of Object.keys(this.controls))if(this.controls[C].enabled)return!1;return Object.keys(this.controls).length>0||this.disabled}_find(C){return this.controls.hasOwnProperty(C)?this.controls[C]:null}}const hn=qt;class mo extends qt{}const Kt=new s.OlP("CallSetDisabledState",{providedIn:"root",factory:()=>jn}),jn="always";function Gr(y,C,m=jn){Ao(y,C),C.valueAccessor.writeValue(y.value),(y.disabled||"always"===m)&&C.valueAccessor.setDisabledState?.(y.disabled),function pr(y,C){C.valueAccessor.registerOnChange(m=>{y._pendingValue=m,y._pendingChange=!0,y._pendingDirty=!0,"change"===y.updateOn&&Dt(y,C)})}(y,C),function bn(y,C){const m=(I,x)=>{C.valueAccessor.writeValue(I),x&&C.viewToModelUpdate(I)};y.registerOnChange(m),C._registerOnDestroy(()=>{y._unregisterOnChange(m)})}(y,C),function br(y,C){C.valueAccessor.registerOnTouched(()=>{y._pendingTouched=!0,"blur"===y.updateOn&&y._pendingChange&&Dt(y,C),"submit"!==y.updateOn&&y.markAsTouched()})}(y,C),function Nr(y,C){if(C.valueAccessor.setDisabledState){const m=I=>{C.valueAccessor.setDisabledState(I)};y.registerOnDisabledChange(m),C._registerOnDestroy(()=>{y._unregisterOnDisabledChange(m)})}}(y,C)}function Cn(y,C,m=!0){const I=()=>{};C.valueAccessor&&(C.valueAccessor.registerOnChange(I),C.valueAccessor.registerOnTouched(I)),Wr(y,C),y&&(C._invokeOnDestroyCallbacks(),y._registerOnCollectionChange(()=>{}))}function zr(y,C){y.forEach(m=>{m.registerOnValidatorChange&&m.registerOnValidatorChange(C)})}function Ao(y,C){const m=je(y);null!==C.validator?y.setValidators(be(m,C.validator)):"function"==typeof m&&y.setValidators([m]);const I=ot(y);null!==C.asyncValidator?y.setAsyncValidators(be(I,C.asyncValidator)):"function"==typeof I&&y.setAsyncValidators([I]);const x=()=>y.updateValueAndValidity();zr(C._rawValidators,x),zr(C._rawAsyncValidators,x)}function Wr(y,C){let m=!1;if(null!==y){if(null!==C.validator){const x=je(y);if(Array.isArray(x)&&x.length>0){const ye=x.filter(ve=>ve!==C.validator);ye.length!==x.length&&(m=!0,y.setValidators(ye))}}if(null!==C.asyncValidator){const x=ot(y);if(Array.isArray(x)&&x.length>0){const ye=x.filter(ve=>ve!==C.asyncValidator);ye.length!==x.length&&(m=!0,y.setAsyncValidators(ye))}}}const I=()=>{};return zr(C._rawValidators,I),zr(C._rawAsyncValidators,I),m}function Dt(y,C){y._pendingDirty&&y.markAsDirty(),y.setValue(y._pendingValue,{emitModelToViewChange:!1}),C.viewToModelUpdate(y._pendingValue),y._pendingChange=!1}function En(y,C){if(!y.hasOwnProperty("model"))return!1;const m=y.model;return!!m.isFirstChange()||!Object.is(C,m.currentValue)}function on(y,C){if(!C)return null;let m,I,x;return Array.isArray(C),C.forEach(ye=>{ye.constructor===Se?m=ye:function Zr(y){return Object.getPrototypeOf(y.constructor)===H}(ye)?I=ye:x=ye}),x||I||m||null}function Kr(y,C){const m=y.indexOf(C);m>-1&&y.splice(m,1)}function Ct(y){return"object"==typeof y&&null!==y&&2===Object.keys(y).length&&"value"in y&&"disabled"in y}const et=class extends lt{constructor(C=null,m,I){super($r(m),go(I,m)),this.defaultValue=null,this._onChange=[],this._pendingChange=!1,this._applyFormState(C),this._setUpdateStrategy(m),this._initObservables(),this.updateValueAndValidity({onlySelf:!0,emitEvent:!!this.asyncValidator}),un(m)&&(m.nonNullable||m.initialValueIsDefault)&&(this.defaultValue=Ct(C)?C.value:C)}setValue(C,m={}){this.value=this._pendingValue=C,this._onChange.length&&!1!==m.emitModelToViewChange&&this._onChange.forEach(I=>I(this.value,!1!==m.emitViewToModelChange)),this.updateValueAndValidity(m)}patchValue(C,m={}){this.setValue(C,m)}reset(C=this.defaultValue,m={}){this._applyFormState(C),this.markAsPristine(m),this.markAsUntouched(m),this.setValue(this.value,m),this._pendingChange=!1}_updateValue(){}_anyControls(C){return!1}_allControlsDisabled(){return this.disabled}registerOnChange(C){this._onChange.push(C)}_unregisterOnChange(C){Kr(this._onChange,C)}registerOnDisabledChange(C){this._onDisabledChange.push(C)}_unregisterOnDisabledChange(C){Kr(this._onDisabledChange,C)}_forEachChild(C){}_syncPendingControls(){return!("submit"!==this.updateOn||(this._pendingDirty&&this.markAsDirty(),this._pendingTouched&&this.markAsTouched(),!this._pendingChange)||(this.setValue(this._pendingValue,{onlySelf:!0,emitModelToViewChange:!1}),0))}_applyFormState(C){Ct(C)?(this.value=this._pendingValue=C.value,C.disabled?this.disable({onlySelf:!0,emitEvent:!1}):this.enable({onlySelf:!0,emitEvent:!1})):this.value=this._pendingValue=C}};let Be=(()=>{class y{static#e=this.\u0275fac=function(I){return new(I||y)};static#t=this.\u0275dir=s.lG2({type:y,selectors:[["form",3,"ngNoForm","",3,"ngNativeValidate",""]],hostAttrs:["novalidate",""]})}return y})(),Oo=(()=>{class y{static#e=this.\u0275fac=function(I){return new(I||y)};static#t=this.\u0275mod=s.oAB({type:y});static#n=this.\u0275inj=s.cJS({})}return y})();const Jr=new s.OlP("NgModelWithFormControlWarning"),Xr={provide:er,useExisting:(0,s.Gpc)(()=>qo)};let qo=(()=>{class y extends er{set isDisabled(m){}static#e=this._ngModelWarningSentOnce=!1;constructor(m,I,x,ye,ve){super(),this._ngModelWarningConfig=ye,this.callSetDisabledState=ve,this.update=new s.vpe,this._ngModelWarningSent=!1,this._setValidators(m),this._setAsyncValidators(I),this.valueAccessor=on(0,x)}ngOnChanges(m){if(this._isControlChanged(m)){const I=m.form.previousValue;I&&Cn(I,this,!1),Gr(this.form,this,this.callSetDisabledState),this.form.updateValueAndValidity({emitEvent:!1})}En(m,this.viewModel)&&(this.form.setValue(this.model),this.viewModel=this.model)}ngOnDestroy(){this.form&&Cn(this.form,this,!1)}get path(){return[]}get control(){return this.form}viewToModelUpdate(m){this.viewModel=m,this.update.emit(m)}_isControlChanged(m){return m.hasOwnProperty("form")}static#t=this.\u0275fac=function(I){return new(I||y)(s.Y36(Ze,10),s.Y36(ht,10),s.Y36(j,10),s.Y36(Jr,8),s.Y36(Kt,8))};static#n=this.\u0275dir=s.lG2({type:y,selectors:[["","formControl",""]],inputs:{form:["formControl","form"],isDisabled:["disabled","isDisabled"],model:["ngModel","model"]},outputs:{update:"ngModelChange"},exportAs:["ngForm"],features:[s._Bn([Xr]),s.qOj,s.TTD]})}return y})();const xi={provide:kt,useExisting:(0,s.Gpc)(()=>wn)};let wn=(()=>{class y extends kt{constructor(m,I,x){super(),this.callSetDisabledState=x,this.submitted=!1,this._onCollectionChange=()=>this._updateDomValue(),this.directives=[],this.form=null,this.ngSubmit=new s.vpe,this._setValidators(m),this._setAsyncValidators(I)}ngOnChanges(m){this._checkFormPresent(),m.hasOwnProperty("form")&&(this._updateValidators(),this._updateDomValue(),this._updateRegistrations(),this._oldForm=this.form)}ngOnDestroy(){this.form&&(Wr(this.form,this),this.form._onCollectionChange===this._onCollectionChange&&this.form._registerOnCollectionChange(()=>{}))}get formDirective(){return this}get control(){return this.form}get path(){return[]}addControl(m){const I=this.form.get(m.path);return Gr(I,m,this.callSetDisabledState),I.updateValueAndValidity({emitEvent:!1}),this.directives.push(m),I}getControl(m){return this.form.get(m.path)}removeControl(m){Cn(m.control||null,m,!1),function xr(y,C){const m=y.indexOf(C);m>-1&&y.splice(m,1)}(this.directives,m)}addFormGroup(m){this._setUpFormContainer(m)}removeFormGroup(m){this._cleanUpFormContainer(m)}getFormGroup(m){return this.form.get(m.path)}addFormArray(m){this._setUpFormContainer(m)}removeFormArray(m){this._cleanUpFormContainer(m)}getFormArray(m){return this.form.get(m.path)}updateModel(m,I){this.form.get(m.path).setValue(I)}onSubmit(m){return this.submitted=!0,function Hn(y,C){y._syncPendingControls(),C.forEach(m=>{const I=m.control;"submit"===I.updateOn&&I._pendingChange&&(m.viewToModelUpdate(I._pendingValue),I._pendingChange=!1)})}(this.form,this.directives),this.ngSubmit.emit(m),"dialog"===m?.target?.method}onReset(){this.resetForm()}resetForm(m=void 0){this.form.reset(m),this.submitted=!1}_updateDomValue(){this.directives.forEach(m=>{const I=m.control,x=this.form.get(m.path);I!==x&&(Cn(I||null,m),(y=>y instanceof et)(x)&&(Gr(x,m,this.callSetDisabledState),m.control=x))}),this.form._updateTreeValidity({emitEvent:!1})}_setUpFormContainer(m){const I=this.form.get(m.path);(function $t(y,C){Ao(y,C)})(I,m),I.updateValueAndValidity({emitEvent:!1})}_cleanUpFormContainer(m){if(this.form){const I=this.form.get(m.path);I&&function Qe(y,C){return Wr(y,C)}(I,m)&&I.updateValueAndValidity({emitEvent:!1})}}_updateRegistrations(){this.form._registerOnCollectionChange(this._onCollectionChange),this._oldForm&&this._oldForm._registerOnCollectionChange(()=>{})}_updateValidators(){Ao(this.form,this),this._oldForm&&Wr(this._oldForm,this)}_checkFormPresent(){}static#e=this.\u0275fac=function(I){return new(I||y)(s.Y36(Ze,10),s.Y36(ht,10),s.Y36(Kt,8))};static#t=this.\u0275dir=s.lG2({type:y,selectors:[["","formGroup",""]],hostBindings:function(I,x){1&I&&s.NdJ("submit",function(ve){return x.onSubmit(ve)})("reset",function(){return x.onReset()})},inputs:{form:["formGroup","form"]},outputs:{ngSubmit:"ngSubmit"},exportAs:["ngForm"],features:[s._Bn([xi]),s.qOj,s.TTD]})}return y})();const Co={provide:er,useExisting:(0,s.Gpc)(()=>pt)};let pt=(()=>{class y extends er{set isDisabled(m){}static#e=this._ngModelWarningSentOnce=!1;constructor(m,I,x,ye,ve){super(),this._ngModelWarningConfig=ve,this._added=!1,this.name=null,this.update=new s.vpe,this._ngModelWarningSent=!1,this._parent=m,this._setValidators(I),this._setAsyncValidators(x),this.valueAccessor=on(0,ye)}ngOnChanges(m){this._added||this._setUpControl(),En(m,this.viewModel)&&(this.viewModel=this.model,this.formDirective.updateModel(this,this.model))}ngOnDestroy(){this.formDirective&&this.formDirective.removeControl(this)}viewToModelUpdate(m){this.viewModel=m,this.update.emit(m)}get path(){return function rr(y,C){return[...C.path,y]}(null==this.name?this.name:this.name.toString(),this._parent)}get formDirective(){return this._parent?this._parent.formDirective:null}_checkParentType(){}_setUpControl(){this._checkParentType(),this.control=this.formDirective.addControl(this),this._added=!0}static#t=this.\u0275fac=function(I){return new(I||y)(s.Y36(kt,13),s.Y36(Ze,10),s.Y36(ht,10),s.Y36(j,10),s.Y36(Jr,8))};static#n=this.\u0275dir=s.lG2({type:y,selectors:[["","formControlName",""]],inputs:{name:["formControlName","name"],isDisabled:["disabled","isDisabled"],model:["ngModel","model"]},outputs:{update:"ngModelChange"},features:[s._Bn([Co]),s.qOj,s.TTD]})}return y})(),pi=(()=>{class y{static#e=this.\u0275fac=function(I){return new(I||y)};static#t=this.\u0275mod=s.oAB({type:y});static#n=this.\u0275inj=s.cJS({imports:[Oo]})}return y})();class Jo extends lt{constructor(C,m,I){super($r(m),go(I,m)),this.controls=C,this._initObservables(),this._setUpdateStrategy(m),this._setUpControls(),this.updateValueAndValidity({onlySelf:!0,emitEvent:!!this.asyncValidator})}at(C){return this.controls[this._adjustIndex(C)]}push(C,m={}){this.controls.push(C),this._registerControl(C),this.updateValueAndValidity({emitEvent:m.emitEvent}),this._onCollectionChange()}insert(C,m,I={}){this.controls.splice(C,0,m),this._registerControl(m),this.updateValueAndValidity({emitEvent:I.emitEvent})}removeAt(C,m={}){let I=this._adjustIndex(C);I<0&&(I=0),this.controls[I]&&this.controls[I]._registerOnCollectionChange(()=>{}),this.controls.splice(I,1),this.updateValueAndValidity({emitEvent:m.emitEvent})}setControl(C,m,I={}){let x=this._adjustIndex(C);x<0&&(x=0),this.controls[x]&&this.controls[x]._registerOnCollectionChange(()=>{}),this.controls.splice(x,1),m&&(this.controls.splice(x,0,m),this._registerControl(m)),this.updateValueAndValidity({emitEvent:I.emitEvent}),this._onCollectionChange()}get length(){return this.controls.length}setValue(C,m={}){He(this,0,C),C.forEach((I,x)=>{en(this,!1,x),this.at(x).setValue(I,{onlySelf:!0,emitEvent:m.emitEvent})}),this.updateValueAndValidity(m)}patchValue(C,m={}){null!=C&&(C.forEach((I,x)=>{this.at(x)&&this.at(x).patchValue(I,{onlySelf:!0,emitEvent:m.emitEvent})}),this.updateValueAndValidity(m))}reset(C=[],m={}){this._forEachChild((I,x)=>{I.reset(C[x],{onlySelf:!0,emitEvent:m.emitEvent})}),this._updatePristine(m),this._updateTouched(m),this.updateValueAndValidity(m)}getRawValue(){return this.controls.map(C=>C.getRawValue())}clear(C={}){this.controls.length<1||(this._forEachChild(m=>m._registerOnCollectionChange(()=>{})),this.controls.splice(0),this.updateValueAndValidity({emitEvent:C.emitEvent}))}_adjustIndex(C){return C<0?C+this.length:C}_syncPendingControls(){let C=this.controls.reduce((m,I)=>!!I._syncPendingControls()||m,!1);return C&&this.updateValueAndValidity({onlySelf:!0}),C}_forEachChild(C){this.controls.forEach((m,I)=>{C(m,I)})}_updateValue(){this.value=this.controls.filter(C=>C.enabled||this.disabled).map(C=>C.value)}_anyControls(C){return this.controls.some(m=>m.enabled&&C(m))}_setUpControls(){this._forEachChild(C=>this._registerControl(C))}_allControlsDisabled(){for(const C of this.controls)if(C.enabled)return!1;return this.controls.length>0||this.disabled}_registerControl(C){C.setParent(this),C._registerOnCollectionChange(this._onCollectionChange)}_find(C){return this.at(C)??null}}const gi=Jo;function Lo(y){return!!y&&(void 0!==y.asyncValidators||void 0!==y.validators||void 0!==y.updateOn)}let Vr=(()=>{class y{constructor(){this.useNonNullable=!1}get nonNullable(){const m=new y;return m.useNonNullable=!0,m}group(m,I=null){const x=this._reduceControls(m);let ye={};return Lo(I)?ye=I:null!==I&&(ye.validators=I.validator,ye.asyncValidators=I.asyncValidator),new qt(x,ye)}record(m,I=null){const x=this._reduceControls(m);return new mo(x,I)}control(m,I,x){let ye={};return this.useNonNullable?(Lo(I)?ye=I:(ye.validators=I,ye.asyncValidators=x),new et(m,{...ye,nonNullable:!0})):new et(m,I,x)}array(m,I,x){const ye=m.map(ve=>this._createControl(ve));return new Jo(ye,I,x)}_reduceControls(m){const I={};return Object.keys(m).forEach(x=>{I[x]=this._createControl(m[x])}),I}_createControl(m){return m instanceof et||m instanceof lt?m:Array.isArray(m)?this.control(m[0],m.length>1?m[1]:null,m.length>2?m[2]:null):this.control(m)}static#e=this.\u0275fac=function(I){return new(I||y)};static#t=this.\u0275prov=s.Yz7({token:y,factory:y.\u0275fac,providedIn:"root"})}return y})(),ut=(()=>{class y extends Vr{group(m,I=null){return super.group(m,I)}control(m,I,x){return super.control(m,I,x)}array(m,I,x){return super.array(m,I,x)}static#e=this.\u0275fac=(()=>{let m;return function(x){return(m||(m=s.n5z(y)))(x||y)}})();static#t=this.\u0275prov=s.Yz7({token:y,factory:y.\u0275fac,providedIn:"root"})}return y})(),ee=(()=>{class y{static withConfig(m){return{ngModule:y,providers:[{provide:Kt,useValue:m.callSetDisabledState??jn}]}}static#e=this.\u0275fac=function(I){return new(I||y)};static#t=this.\u0275mod=s.oAB({type:y});static#n=this.\u0275inj=s.cJS({imports:[pi]})}return y})(),De=(()=>{class y{static withConfig(m){return{ngModule:y,providers:[{provide:Jr,useValue:m.warnOnNgModelWithFormControl??"always"},{provide:Kt,useValue:m.callSetDisabledState??jn}]}}static#e=this.\u0275fac=function(I){return new(I||y)};static#t=this.\u0275mod=s.oAB({type:y});static#n=this.\u0275inj=s.cJS({imports:[pi]})}return y})()},7443:(Le,te,S)=>{"use strict";S.d(te,{H1:()=>mt,dn:()=>Ue,vG:()=>St,ql:()=>xe,B_:()=>Ne});var s=S(5088),L=S(6814),q=S(3844),X=S(1196);var H=S(7008),j=S(4699),W=S(8152),oe=S(9352);const de=["nb-r-str",""];function re(fe,Bt){if(1&fe&&(s.ynx(0),s._uU(1),s.ALo(2,"async"),s.BQk()),2&fe){const ce=s.oxw();s.xp6(1),s.Oqu(s.lcZ(2,1,ce.asyncContent))}}function pe(fe,Bt){if(1&fe&&(s.ynx(0),s._uU(1),s.BQk()),2&fe){const ce=s.oxw();s.xp6(1),s.Oqu(ce.content)}}let Ne=(()=>{class fe{constructor(){}isBoolean(ce){return function G(fe){return!0===fe||!1===fe||(0,X.Z)(fe)&&"[object Boolean]"==(0,q.Z)(fe)}(ce)}isNumber(ce){return function z(fe){return"number"==typeof fe||(0,X.Z)(fe)&&"[object Number]"==(0,q.Z)(fe)}(ce)}isObservable(ce){return ce instanceof j.y}isPromise(ce){return ce instanceof Promise}isString(ce){return(0,H.Z)(ce)}isTemplateRef(ce){return ce instanceof s.Rgc}static#e=this.\u0275fac=function(ke){return new(ke||fe)};static#t=this.\u0275prov=s.Yz7({token:fe,factory:fe.\u0275fac,providedIn:"root"})}return fe})(),Ze=(()=>{class fe{constructor(ce){this.valueTypeService=ce}transform(ce){return this.valueTypeService.isObservable(ce)||this.valueTypeService.isPromise(ce)}static#e=this.\u0275fac=function(ke){return new(ke||fe)(s.Y36(Ne,16))};static#t=this.\u0275pipe=s.Yjl({name:"nbIsAsync",type:fe,pure:!0,standalone:!0})}return fe})(),Ue=(()=>{class fe{constructor(){this.content=""}get asyncContent(){return this.content}static#e=this.\u0275fac=function(ke){return new(ke||fe)};static#t=this.\u0275cmp=s.Xpm({type:fe,selectors:[["","nb-r-str",""]],inputs:{content:["nb-r-str","content"]},standalone:!0,features:[s.jDz],attrs:de,decls:4,vars:4,consts:[[3,"ngSwitch"],[4,"ngSwitchCase"],[4,"ngSwitchDefault"]],template:function(ke,Ot){1&ke&&(s.ynx(0,0),s.ALo(1,"nbIsAsync"),s.YNc(2,re,3,3,"ng-container",1)(3,pe,2,1,"ng-container",2),s.BQk()),2&ke&&(s.Q6J("ngSwitch",s.lcZ(1,2,Ot.content)),s.xp6(2),s.Q6J("ngSwitchCase",!0))},dependencies:[L.RF,L.n9,L.ED,L.Ov,Ze],encapsulation:2,changeDetection:0})}return fe})();new s.OlP("default error image"),new s.OlP("default loading image");let xe=(()=>{class fe{constructor(){this.destroy$=new W.xQ,this.subscriptionList=[],this.subscriptionMap=new Map}addUnsubscribeOperator(ce){return ce.pipe((0,oe.R)(this.destroy$))}clearAllSubscriptions(){this.subscriptionList.forEach(ce=>ce.unsubscribe()),this.subscriptionList.length=0}clearAllSubscriptionsFromKeyRecord(){this.subscriptionMap.forEach((ce,ke)=>{ce.unsubscribe(),this.subscriptionMap.delete(ke)})}collectASubscription(ce){this.subscriptionList.push(ce)}collectASubscriptionByKey(ce,ke,Ot=!0){const kt=this.subscriptionMap.get(ce);return kt&&Ot&&kt.unsubscribe(),this.subscriptionMap.set(ce,ke),kt}getDestructionSignal(){return this.destroy$.asObservable()}unsubscribeASubscriptionByKey(ce){const ke=this.subscriptionMap.get(ce);return!!ke&&(ke.unsubscribe(),this.subscriptionMap.delete(ce))}ngOnDestroy(){this.destroy$.next(),this.destroy$.complete(),this.clearAllSubscriptions(),this.clearAllSubscriptionsFromKeyRecord()}static#e=this.\u0275fac=function(ke){return new(ke||fe)};static#t=this.\u0275prov=s.Yz7({token:fe,factory:fe.\u0275fac})}return fe})(),mt=(()=>{class fe{constructor(ce){this.valueTypeService=ce}transform(ce){return this.valueTypeService.isString(ce)}static#e=this.\u0275fac=function(ke){return new(ke||fe)(s.Y36(Ne,16))};static#t=this.\u0275pipe=s.Yjl({name:"nbIsString",type:fe,pure:!0,standalone:!0})}return fe})(),St=(()=>{class fe{constructor(ce){this.valueTypeService=ce}transform(ce){return this.valueTypeService.isTemplateRef(ce)?ce:null}static#e=this.\u0275fac=function(ke){return new(ke||fe)(s.Y36(Ne,16))};static#t=this.\u0275pipe=s.Yjl({name:"nbTplContent",type:fe,pure:!0,standalone:!0})}return fe})()},6516:(Le,te,S)=>{"use strict";S.d(te,{x:()=>bn,oi:()=>br,pT:()=>jt,y6:()=>xr,v6:()=>on});var s=S(5088),L=S(5222),q=S(6124),X=S(254);class G{constructor($){this.predicate=$}call($,R){return R.subscribe(new se($,this.predicate))}}class se extends X.L{constructor($,R){super($),this.predicate=R,this.skipping=!0,this.index=0}_next($){const R=this.destination;this.skipping&&this.tryCallPredicate($),this.skipping||R.next($)}tryCallPredicate($){try{const R=this.predicate($,this.index++);this.skipping=!!R}catch(R){this.destination.error(R)}}}var K=S(2420);class k{constructor($,R){this.count=$,this.source=R}call($,R){return R.subscribe(new H($,this.count,this.source))}}class H extends X.L{constructor($,R,U){super($),this.count=R,this.source=U}error($){if(!this.isStopped){const{source:R,count:U}=this;if(0===U)return super.error($);U>-1&&(this.count=U-1),R.subscribe(this._unsubscribeAndRecycle())}}}var j=S(2413),oe=(S(6814),S(9977)),de=S(3844),re=S(1196);const _e=function Se(A){return"symbol"==typeof A||(0,re.Z)(A)&&"[object Symbol]"==(0,de.Z)(A)};var Ne=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,Ze=/^\w*$/;var Ue=S(8410);function rt(A,$){if("function"!=typeof A||null!=$&&"function"!=typeof $)throw new TypeError("Expected a function");var R=function(){var U=arguments,Me=$?$.apply(this,U):U[0],Be=R.cache;if(Be.has(Me))return Be.get(Me);var Et=A.apply(this,U);return R.cache=Be.set(Me,Et)||Be,Et};return R.cache=new(rt.Cache||Ue.Z),R}rt.Cache=Ue.Z;const we=rt;var Ce=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,$e=/\\(\\)?/g;const ft=function me(A){var $=we(A,function(U){return 500===R.size&&R.clear(),U}),R=$.cache;return $}(function(A){var $=[];return 46===A.charCodeAt(0)&&$.push(""),A.replace(Ce,function(R,U,Me,Be){$.push(Me?Be.replace($e,"$1"):U||R)}),$});var mt=S(6875);var an=mt.Z?mt.Z.prototype:void 0,Oe=an?an.toString:void 0;const Q=function Je(A){if("string"==typeof A)return A;if((0,oe.Z)(A))return function St(A,$){for(var R=-1,U=null==A?0:A.length,Me=Array(U);++R<U;)Me[R]=$(A[R],R,A);return Me}(A,Je)+"";if(_e(A))return Oe?Oe.call(A):"";var $=A+"";return"0"==$&&1/A==-1/0?"-0":$},ot=function je(A,$){return(0,oe.Z)(A)?A:function ht(A,$){if((0,oe.Z)(A))return!1;var R=typeof A;return!("number"!=R&&"symbol"!=R&&"boolean"!=R&&null!=A&&!_e(A))||Ze.test(A)||!Ne.test(A)||null!=$&&A in Object($)}(A,$)?[A]:ft(function Ke(A){return null==A?"":Q(A)}(A))},ce=function Bt(A){if("string"==typeof A||_e(A))return A;var $=A+"";return"0"==$&&1/A==-1/0?"-0":$},er=function kt(A,$,R){var U=null==A?void 0:function ke(A,$){for(var R=0,U=($=ot($,A)).length;null!=A&&R<U;)A=A[ce($[R++])];return R&&R==U?A:void 0}(A,$);return void 0===U?R:U};var uo=S(4842),co=S(1665),_n=S(7443),mn=S(5125),So=S(8152),Xt=S(9193),it=S(4699),vt=S(7902);class lo extends vt.w{constructor($,R){super()}schedule($,R=0){return this}}let tr=(()=>{class A{constructor(R,U=A.now){this.SchedulerAction=R,this.now=U}schedule(R,U=0,Me){return new this.SchedulerAction(this,R).schedule(Me,U)}}return A.now=()=>Date.now(),A})();class at extends tr{constructor($,R=tr.now){super($,()=>at.delegate&&at.delegate!==this?at.delegate.now():R()),this.actions=[],this.active=!1,this.scheduled=void 0}schedule($,R=0,U){return at.delegate&&at.delegate!==this?at.delegate.schedule($,R,U):super.schedule($,R,U)}flush($){const{actions:R}=this;if(this.active)return void R.push($);let U;this.active=!0;do{if(U=$.execute($.state,$.delay))break}while($=R.shift());if(this.active=!1,U){for(;$=R.shift();)$.unsubscribe();throw U}}}const nn=new at(class fo extends lo{constructor($,R){super($,R),this.scheduler=$,this.work=R,this.pending=!1}schedule($,R=0){if(this.closed)return this;this.state=$;const U=this.id,Me=this.scheduler;return null!=U&&(this.id=this.recycleAsyncId(Me,U,R)),this.pending=!0,this.delay=R,this.id=this.id||this.requestAsyncId(Me,this.id,R),this}requestAsyncId($,R,U=0){return setInterval($.flush.bind($,this),U)}recycleAsyncId($,R,U=0){if(null!==U&&this.delay===U&&!1===this.pending)return R;clearInterval(R)}execute($,R){if(this.closed)return new Error("executing a cancelled action");this.pending=!1;const U=this._execute($,R);if(U)return U;!1===this.pending&&null!=this.id&&(this.id=this.recycleAsyncId(this.scheduler,this.id,null))}_execute($,R){let Me,U=!1;try{this.work($)}catch(Be){U=!0,Me=!!Be&&Be||new Error(Be)}if(U)return this.unsubscribe(),Me}_unsubscribe(){const $=this.id,R=this.scheduler,U=R.actions,Me=U.indexOf(this);this.work=null,this.state=null,this.pending=!1,this.scheduler=null,-1!==Me&&U.splice(Me,1),null!=$&&(this.id=this.recycleAsyncId(R,$,null)),this.delay=null}});var Zt=S(1280);function ui(A){return!(0,Zt.k)(A)&&A-parseFloat(A)+1>=0}var Rt=S(9759);function Ge(A){const{index:$,period:R,subscriber:U}=A;if(U.next($),!U.closed){if(-1===R)return U.complete();A.index=$+1,this.schedule(A,R)}}var To=S(5253);const pr=new s.OlP("nb-trans-default-lang");var br=function(A){return A.ZH_CN="zh-CN",A.ZH_TW="zh-TW",A.ZH_HK="zh-HK",A.EN="en",A.AR_EG="ar-EG",A.HY_AM="hy-AM",A.BG_BG="bg-BG",A.CA_ES="ca-ES",A.CS_CZ="cs-CZ",A.DA_DK="da-DK",A.DE_DE="de-DE",A.EL_GR="el-GR",A.EN_GB="en-GB",A.EN_US="en-US",A.ES_ES="es-ES",A.ET_EE="et-EE",A.FA_IR="fa-IR",A.FI_FI="fi-FI",A.FR_BE="fr-BE",A.FR_FR="fr-FR",A.HE_IL="he-IL",A.HI_IN="hi-IN",A.HR_HR="hr-HR",A.HU_HU="hu-HU",A.IS_IS="is-IS",A.ID_ID="id-ID",A.IT_IT="it-IT",A.JA_JP="ja-JP",A.KA_GE="ka-GE",A.KN_IN="kn-IN",A.KO_KR="ko-KR",A.KU_IQ="ku-IQ",A.LV_LV="lv-LV",A.MS_MY="ms-MY",A.MN_MN="mn-MN",A.NB_NO="nb-NO",A.NE_NP="ne-NP",A.NL_BE="nl-BE",A.NL_NL="nl-NL",A.PL_PL="pl-PL",A.PT_BR="pt-BR",A.PT_PT="pt-PT",A.SK_SK="sk-SK",A.SR_RS="sr-RS",A.SL_SI="sl-SI",A.SV_SE="sv-SE",A.TA_IN="ta-IN",A.TH_TH="th-TH",A.TR_TR="tr-TR",A.RO_RO="ro-RO",A.RU_RU="ru-RU",A.UK_UA="uk-UA",A.VI_VN="vi-VN",A}(br||{});const bn=new s.OlP("nb-trans-loader"),$t=new s.OlP("nb-trans-max-retry"),vo=new s.OlP("Whether to print the warning info when the param key is invalid?"),Zo="[$_a-zA-Z]+[\\w$]*",Vt=new RegExp(Zo,"g"),En=new RegExp(`({{\\s*${Zo}\\s*}})`,"g"),Zr=(0,s.X6Q)();let Hn=(()=>{class A{static checkNavigator(){return A.checkWindow()&&typeof window.navigator<"u"}static checkWindow(){return typeof window<"u"}constructor(R,U){this.warnParamKeyInvalid=R,this.valueType=U,this.setWarnParamKeyInvalidDefault()}getFinalKey(R,U){return U?`${U}.${R}`:R}handleSentenceWithParams(R,U){if(!U)return R;const Me=Object.keys(U);if(!Me.length)return R;const Be=this.cleanParams(U,Me);if(!Object.keys(Be).length)return R;const Et=R.split(En);return this.replaceAsParamsValueInSplitArr(Et,Be).join("")}handleTrans(R){const U=[];for(;R.length;){const Me=R.search(/<\d+>/);if(Me>0){const Et=R.slice(0,Me);U.push(Et)}const Be=this.handleCompStr(R);this.valueType.isString(Be)?(U.push(Be),R=""):(U.push({index:Be.index,content:Be.content,list:Be.list}),R=Be.otherContent)}return U}isTranslatedStringValid(R){return!(!R||!this.valueType.isString(R))}cleanParams(R,U){const Me=new RegExp(`{{${Zo}}}`);return U.filter(Be=>{const Et=Me.test(`{{${Be}}}`);return Me.lastIndex=0,Et||this.logParamKeyIsInvalid(Be),Et}).reduce((Be,Et)=>(Be[Et]=R[Et],Be),{})}handleCompStr(R){const U=R.search(/<\d+>/);if(-1===U)return R;let Me=[];const Be=R.indexOf(">",U),Et=Number(R.slice(U+1,Be)),sn=`</${Et}>`,_o=R.indexOf(sn),Qr=R.slice(Be+1,_o);return Qr.search(/<\d+>/)>-1&&(Me=this.handleTrans(Qr)),{index:Et,content:Qr,list:Me,otherContent:R.slice(_o+sn.length,R.length)}}logParamKeyIsInvalid(R){!Zr||!this.warnParamKeyInvalid||console.warn(`The param key: "${R}" is invalid! \n It should consist of "letter", "number", "_" or "$", \n and the "number" can't be the first character.\n See this changelog: https://github.com/bigBear713/nb-trans/blob/main/CHANGELOG.md#v1600`)}replaceAsParamsValueInSplitArr(R,U){const Me=new RegExp(En);return R.forEach((Et,sn)=>{if(!(Et=>{const sn=Me.test(Et);return Me.lastIndex=0,sn})(Et))return;const _o=Et.match(Vt)[0],Qr=U[_o];Qr&&(R[sn]=Qr)}),R}setWarnParamKeyInvalidDefault(){!1!==this.warnParamKeyInvalid&&(this.warnParamKeyInvalid=!0)}static#e=this.\u0275fac=function(U){return new(U||A)(s.LFG(vo,8),s.LFG(_n.B_))};static#t=this.\u0275prov=s.Yz7({token:A,factory:A.\u0275fac,providedIn:"root"})}return A})(),on=(()=>{class A{get lang(){return this.lang$.value}get loadDefaultOver(){return this.loadDefaultOver$.value}static getBrowserLang(){if(Hn.checkNavigator())return window?.navigator?.language}static getBrowserLangs(){if(Hn.checkNavigator())return window?.navigator?.languages}constructor(R,U,Me,Be){this.transDefaultLang=R,this.transLoader=U,this.maxRetry=Me,this.transToolsService=Be,this.lang$=new mn.X(br.ZH_CN),this.loadDefaultOver$=new mn.X(!1),this.loadLangTrans$=new So.xQ,this.retry=5,this.translations={},this.retry=null==this.maxRetry?this.retry:this.maxRetry,this.transLoader=this.transLoader||{},this.lang$.next(R||br.ZH_CN),this.loadDefaultTrans()}changeLang(R){const U={curLang:R,result:!0},Me={curLang:this.lang,result:!1};return this.translations[R]?(this.lang$.next(R),(0,Xt.of)(U)):this.transLoader[R]?this.loadLangTrans(R).pipe((0,L.w)(Be=>{let Et=this.lang,sn=Me;return Be&&(Et=R,sn=U),this.lang$.next(Et),(0,Xt.of)(sn)})):(function ho(A=0,$,R){let U=-1;return ui($)?U=Number($)<1?1:Number($):(0,Rt.K)($)&&(R=$),(0,Rt.K)(R)||(R=nn),new it.y(Me=>{const Be=ui(A)?A:+A-R.now();return R.schedule(Ge,Be,{index:0,period:U,subscriber:Me})})}(1).subscribe(Be=>this.loadLangTrans$.next(!1)),(0,Xt.of)(Me))}changeLangSync(R){this.changeLang(R).subscribe()}getBrowserLang(){return console.warn("The function will be deprecated in the future, we recommend using NbTransService.getBrowserLang()!"),A.getBrowserLang()}getBrowserLangs(){return console.warn("The function will be deprecated in the future, we recommend using NbTransService.getBrowserLangs()!"),A.getBrowserLangs()}translationAsync(R,U){return this.lang$.pipe((0,L.w)(Me=>this.translations[this.lang]?(0,Xt.of)({trans:this.translations[this.lang],result:!0}):this.loadLangTrans$),(0,q.U)(Me=>this.translationSync(R,U)))}translationSync(R,U){const Me=this.transToolsService.getFinalKey(R,U?.prefix),Be=!1===U?.returnKeyWhenEmpty?"":Me;let Et=er(this.translations[this.lang],Me);if(this.transToolsService.isTranslatedStringValid(Et)||(Et=er(this.translations[this.transDefaultLang],Me)),!this.transToolsService.isTranslatedStringValid(Et))return Be;const sn=U?.params;return this.transToolsService.handleSentenceWithParams(Et,sn)}subscribeLangChange(){return this.lang$.asObservable()}subscribeLoadDefaultOver(){return this.loadDefaultOver?(0,Xt.of)(!0):this.loadDefaultOver$.asObservable().pipe(function Y(A){return $=>$.lift(new G(A))}((R,U)=>!R&&0===U))}loadDefaultTrans(){this.loadTrans(this.lang).pipe((0,q.U)(R=>!!R)).subscribe(R=>{this.loadDefaultOver$.next(R),this.loadDefaultOver$.complete(),this.loadLangTrans$.next(R)})}loadLangTrans(R){return this.loadTrans(R).pipe((0,q.U)(U=>!!U),(0,K.b)(U=>this.loadLangTrans$.next(U)))}loadTrans(R){const U=this.transLoader[R];return U?((0,uo.Z)(U)?(0,Xt.of)(null).pipe((0,L.w)(()=>(0,To.D)(U()))):(0,Xt.of)(U)).pipe((0,K.b)(Be=>this.translations[R]=Be),function z(A=-1){return $=>$.lift(new k(A,$))}(this.retry),(0,j.K)(Be=>(0,Xt.of)(null))):(0,Xt.of)(null)}static#e=this.\u0275fac=function(U){return new(U||A)(s.LFG(pr,8),s.LFG(bn,8),s.LFG($t,8),s.LFG(Hn))};static#t=this.\u0275prov=s.Yz7({token:A,factory:A.\u0275fac,providedIn:"root"})}return A})(),xr=(()=>{class A{constructor(R,U){this.changeDR=R,this.transService=U,this.latestValue="",this.key="",this.unsubscribeService=new _n.ql,this.subscribeLangChange()}transform(R,U){return(!this.latestValue||R!==this.key||!(0,co.Z)(U,this.options))&&(this.latestValue=this.transService.translationSync(R,U),this.key=R,this.options=U),this.latestValue}ngOnDestroy(){this.unsubscribeService.ngOnDestroy()}subscribeLangChange(){const R=this.transService.subscribeLangChange().pipe((0,L.w)(U=>this.transService.translationAsync(this.key,this.options)));this.unsubscribeService.addUnsubscribeOperator(R).subscribe(U=>this.updateLatestValue(U))}updateLatestValue(R){this.latestValue=R,this.changeDR.markForCheck()}static#e=this.\u0275fac=function(U){return new(U||A)(s.Y36(s.sBO,16),s.Y36(on,16))};static#t=this.\u0275pipe=s.Yjl({name:"nbTrans",type:A,pure:!1,standalone:!0})}return A})(),jt=(()=>{class A{static#e=this.\u0275fac=function(U){return new(U||A)};static#t=this.\u0275mod=s.oAB({type:A});static#n=this.\u0275inj=s.cJS({})}return A})()},7066:(Le,te,S)=>{"use strict";S.d(te,{Z:()=>pe});var q=S(8418);const Y=function X(Se,_e){for(var Ne=Se.length;Ne--;)if((0,q.Z)(Se[Ne][0],_e))return Ne;return-1};var se=Array.prototype.splice;function re(Se){var _e=-1,Ne=null==Se?0:Se.length;for(this.clear();++_e<Ne;){var Ze=Se[_e];this.set(Ze[0],Ze[1])}}re.prototype.clear=function s(){this.__data__=[],this.size=0},re.prototype.delete=function K(Se){var _e=this.__data__,Ne=Y(_e,Se);return!(Ne<0||(Ne==_e.length-1?_e.pop():se.call(_e,Ne,1),--this.size,0))},re.prototype.get=function k(Se){var _e=this.__data__,Ne=Y(_e,Se);return Ne<0?void 0:_e[Ne][1]},re.prototype.has=function j(Se){return Y(this.__data__,Se)>-1},re.prototype.set=function oe(Se,_e){var Ne=this.__data__,Ze=Y(Ne,Se);return Ze<0?(++this.size,Ne.push([Se,_e])):Ne[Ze][1]=_e,this};const pe=re},2847:(Le,te,S)=>{"use strict";S.d(te,{Z:()=>X});var s=S(2656),L=S(4131);const X=(0,s.Z)(L.Z,"Map")},8410:(Le,te,S)=>{"use strict";S.d(te,{Z:()=>an});const q=(0,S(2656).Z)(Object,"create");var k=Object.prototype.hasOwnProperty;var oe=Object.prototype.hasOwnProperty;function Ne(Oe){var Je=-1,Q=null==Oe?0:Oe.length;for(this.clear();++Je<Q;){var Ke=Oe[Je];this.set(Ke[0],Ke[1])}}Ne.prototype.clear=function X(){this.__data__=q?q(null):{},this.size=0},Ne.prototype.delete=function G(Oe){var Je=this.has(Oe)&&delete this.__data__[Oe];return this.size-=Je?1:0,Je},Ne.prototype.get=function H(Oe){var Je=this.__data__;if(q){var Q=Je[Oe];return"__lodash_hash_undefined__"===Q?void 0:Q}return k.call(Je,Oe)?Je[Oe]:void 0},Ne.prototype.has=function de(Oe){var Je=this.__data__;return q?void 0!==Je[Oe]:oe.call(Je,Oe)},Ne.prototype.set=function Se(Oe,Je){var Q=this.__data__;return this.size+=this.has(Oe)?0:1,Q[Oe]=q&&void 0===Je?"__lodash_hash_undefined__":Je,this};const Ze=Ne;var ht=S(7066),We=S(2847);const me=function ge(Oe,Je){var Q=Oe.__data__;return function rt(Oe){var Je=typeof Oe;return"string"==Je||"number"==Je||"symbol"==Je||"boolean"==Je?"__proto__"!==Oe:null===Oe}(Je)?Q["string"==typeof Je?"string":"hash"]:Q.map};function xt(Oe){var Je=-1,Q=null==Oe?0:Oe.length;for(this.clear();++Je<Q;){var Ke=Oe[Je];this.set(Ke[0],Ke[1])}}xt.prototype.clear=function Ue(){this.size=0,this.__data__={hash:new Ze,map:new(We.Z||ht.Z),string:new Ze}},xt.prototype.delete=function xe(Oe){var Je=me(this,Oe).delete(Oe);return this.size-=Je?1:0,Je},xt.prototype.get=function $e(Oe){return me(this,Oe).get(Oe)},xt.prototype.has=function ft(Oe){return me(this,Oe).has(Oe)},xt.prototype.set=function St(Oe,Je){var Q=me(this,Oe),Ke=Q.size;return Q.set(Oe,Je),this.size+=Q.size==Ke?0:1,this};const an=xt},6875:(Le,te,S)=>{"use strict";S.d(te,{Z:()=>q});const q=S(4131).Z.Symbol},3844:(Le,te,S)=>{"use strict";S.d(te,{Z:()=>re});var s=S(6875),L=Object.prototype,q=L.hasOwnProperty,X=L.toString,Y=s.Z?s.Z.toStringTag:void 0;var z=Object.prototype.toString;var oe=s.Z?s.Z.toStringTag:void 0;const re=function de(pe){return null==pe?void 0===pe?"[object Undefined]":"[object Null]":oe&&oe in Object(pe)?function G(pe){var Se=q.call(pe,Y),_e=pe[Y];try{pe[Y]=void 0;var Ne=!0}catch{}var Ze=X.call(pe);return Ne&&(Se?pe[Y]=_e:delete pe[Y]),Ze}(pe):function k(pe){return z.call(pe)}(pe)}},7806:(Le,te,S)=>{"use strict";S.d(te,{Z:()=>L});const L="object"==typeof global&&global&&global.Object===Object&&global},2656:(Le,te,S)=>{"use strict";S.d(te,{Z:()=>ht});var We,s=S(4842),q=S(4131).Z["__core-js_shared__"],Y=(We=/[^.]+$/.exec(q&&q.keys&&q.keys.IE_PROTO||""))?"Symbol(src)_1."+We:"";var K=S(5829),z=S(1532),H=/^\[object .+?Constructor\]$/,re=RegExp("^"+Function.prototype.toString.call(Object.prototype.hasOwnProperty).replace(/[\\^$.*+?()[\]{}|]/g,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$");const Se=function pe(We){return!(!(0,K.Z)(We)||function G(We){return!!Y&&Y in We}(We))&&((0,s.Z)(We)?re:H).test((0,z.Z)(We))},ht=function Ze(We,Ue){var _t=function _e(We,Ue){return We?.[Ue]}(We,Ue);return Se(_t)?_t:void 0}},4131:(Le,te,S)=>{"use strict";S.d(te,{Z:()=>X});var s=S(7806),L="object"==typeof self&&self&&self.Object===Object&&self;const X=s.Z||L||Function("return this")()},1532:(Le,te,S)=>{"use strict";S.d(te,{Z:()=>X});var L=Function.prototype.toString;const X=function q(Y){if(null!=Y){try{return L.call(Y)}catch{}try{return Y+""}catch{}}return""}},8418:(Le,te,S)=>{"use strict";S.d(te,{Z:()=>L});const L=function s(q,X){return q===X||q!=q&&X!=X}},9977:(Le,te,S)=>{"use strict";S.d(te,{Z:()=>L});const L=Array.isArray},1665:(Le,te,S)=>{"use strict";S.d(te,{Z:()=>ut});var s=S(7066);var k=S(2847),H=S(8410);function de(B){var ee=this.__data__=new s.Z(B);this.size=ee.size}de.prototype.clear=function L(){this.__data__=new s.Z,this.size=0},de.prototype.delete=function X(B){var ee=this.__data__,De=ee.delete(B);return this.size=ee.size,De},de.prototype.get=function G(B){return this.__data__.get(B)},de.prototype.has=function K(B){return this.__data__.has(B)},de.prototype.set=function W(B,ee){var De=this.__data__;if(De instanceof s.Z){var y=De.__data__;if(!k.Z||y.length<199)return y.push([B,ee]),this.size=++De.size,this;De=this.__data__=new H.Z(y)}return De.set(B,ee),this.size=De.size,this};const re=de;function ht(B){var ee=-1,De=null==B?0:B.length;for(this.__data__=new H.Z;++ee<De;)this.add(B[ee])}ht.prototype.add=ht.prototype.push=function Se(B){return this.__data__.set(B,"__lodash_hash_undefined__"),this},ht.prototype.has=function Ne(B){return this.__data__.has(B)};const We=ht,_t=function Ue(B,ee){for(var De=-1,y=null==B?0:B.length;++De<y;)if(ee(B[De],De,B))return!0;return!1},we=function rt(B,ee){return B.has(ee)},Ce=function xe(B,ee,De,y,C,m){var I=1&De,x=B.length,ye=ee.length;if(x!=ye&&!(I&&ye>x))return!1;var ve=m.get(B),ae=m.get(ee);if(ve&&ae)return ve==ee&&ae==B;var Te=-1,qe=!0,Gt=2&De?new We:void 0;for(m.set(B,ee),m.set(ee,B);++Te<x;){var Nt=B[Te],cn=ee[Te];if(y)var Rn=I?y(cn,Nt,Te,ee,B,m):y(Nt,cn,Te,B,ee,m);if(void 0!==Rn){if(Rn)continue;qe=!1;break}if(Gt){if(!_t(ee,function(bt,zt){if(!we(Gt,zt)&&(Nt===bt||C(Nt,bt,De,y,m)))return Gt.push(zt)})){qe=!1;break}}else if(Nt!==cn&&!C(Nt,cn,De,y,m)){qe=!1;break}}return m.delete(B),m.delete(ee),qe};var $e=S(6875),Re=S(4131);const mt=Re.Z.Uint8Array;var St=S(8418);const xt=function Tt(B){var ee=-1,De=Array(B.size);return B.forEach(function(y,C){De[++ee]=[C,y]}),De},Oe=function an(B){var ee=-1,De=Array(B.size);return B.forEach(function(y){De[++ee]=y}),De};var uo=$e.Z?$e.Z.prototype:void 0,co=uo?uo.valueOf:void 0;var it=S(9977);var Zt=Object.prototype.propertyIsEnumerable,ui=Object.getOwnPropertySymbols;const ho=ui?function(B){return null==B?[]:(B=Object(B),function fo(B,ee){for(var De=-1,y=null==B?0:B.length,C=0,m=[];++De<y;){var I=B[De];ee(I,De,B)&&(m[C++]=I)}return m}(ui(B),function(ee){return Zt.call(B,ee)}))}:function at(){return[]};var nr=S(3844),An=S(1196);const fn=function Ie(B){return(0,An.Z)(B)&&"[object Arguments]"==(0,nr.Z)(B)};var On=Object.prototype,$r=On.hasOwnProperty,po=On.propertyIsEnumerable;const rn=fn(function(){return arguments}())?fn:function(B){return(0,An.Z)(B)&&$r.call(B,"callee")&&!po.call(B,"callee")};var He="object"==typeof exports&&exports&&!exports.nodeType&&exports,lt=He&&"object"==typeof module&&module&&!module.nodeType&&module,ze=lt&<.exports===He?Re.Z.Buffer:void 0;const mo=(ze?ze.isBuffer:void 0)||function un(){return!1};var Kt=/^(?:0|[1-9]\d*)$/;const rr=function jn(B,ee){var De=typeof B;return!!(ee=ee??9007199254740991)&&("number"==De||"symbol"!=De&&Kt.test(B))&&B>-1&&B%1==0&&B<ee},zr=function Cn(B){return"number"==typeof B&&B>-1&&B%1==0&&B<=9007199254740991};var Ct={};Ct["[object Float32Array]"]=Ct["[object Float64Array]"]=Ct["[object Int8Array]"]=Ct["[object Int16Array]"]=Ct["[object Int32Array]"]=Ct["[object Uint8Array]"]=Ct["[object Uint8ClampedArray]"]=Ct["[object Uint16Array]"]=Ct["[object Uint32Array]"]=!0,Ct["[object Arguments]"]=Ct["[object Array]"]=Ct["[object ArrayBuffer]"]=Ct["[object Boolean]"]=Ct["[object DataView]"]=Ct["[object Date]"]=Ct["[object Error]"]=Ct["[object Function]"]=Ct["[object Map]"]=Ct["[object Number]"]=Ct["[object Object]"]=Ct["[object RegExp]"]=Ct["[object Set]"]=Ct["[object String]"]=Ct["[object WeakMap]"]=!1;var Pr=S(7806),Oi="object"==typeof exports&&exports&&!exports.nodeType&&exports,jt=Oi&&"object"==typeof module&&module&&!module.nodeType&&module,A=jt&&jt.exports===Oi&&Pr.Z.process,$=function(){try{return jt&&jt.require&&jt.require("util").types||A&&A.binding&&A.binding("util")}catch{}}(),U=$&&$.isTypedArray;const Be=U?function Rr(B){return function(ee){return B(ee)}}(U):function et(B){return(0,An.Z)(B)&&zr(B.length)&&!!Ct[(0,nr.Z)(B)]};var sn=Object.prototype.hasOwnProperty;const Qr=function _o(B,ee){var De=(0,it.Z)(B),y=!De&&rn(B),C=!De&&!y&&mo(B),m=!De&&!y&&!C&&Be(B),I=De||y||C||m,x=I?function Ge(B,ee){for(var De=-1,y=Array(B);++De<B;)y[De]=ee(De);return y}(B.length,String):[],ye=x.length;for(var ve in B)(ee||sn.call(B,ve))&&(!I||!("length"==ve||C&&("offset"==ve||"parent"==ve)||m&&("buffer"==ve||"byteLength"==ve||"byteOffset"==ve)||rr(ve,ye)))&&x.push(ve);return x};var Oo=Object.prototype;const Xr=function Xe(B,ee){return function(De){return B(ee(De))}}(Object.keys,Object);var xi=Object.prototype.hasOwnProperty;const Ir=function wn(B){if(!function ts(B){var ee=B&&B.constructor;return B===("function"==typeof ee&&ee.prototype||Oo)}(B))return Xr(B);var ee=[];for(var De in Object(B))xi.call(B,De)&&"constructor"!=De&&ee.push(De);return ee};var Do=S(4842);const Co=function pn(B){return function gr(B){return null!=B&&zr(B.length)&&!(0,Do.Z)(B)}(B)?Qr(B):Ir(B)},xo=function pt(B){return function vt(B,ee,De){var y=ee(B);return(0,it.Z)(B)?y:function So(B,ee){for(var De=-1,y=ee.length,C=B.length;++De<y;)B[C+De]=ee[De];return B}(y,De(B))}(B,Co,ho)};var Eo=Object.prototype.hasOwnProperty;var dn=S(2656);const Nn=(0,dn.Z)(Re.Z,"DataView"),dt=(0,dn.Z)(Re.Z,"Promise"),qn=(0,dn.Z)(Re.Z,"Set"),Fo=(0,dn.Z)(Re.Z,"WeakMap");var xn=S(1532),Lr="[object Map]",kr="[object Promise]",di="[object Set]",eo="[object WeakMap]",to="[object DataView]",Un=(0,xn.Z)(Nn),no=(0,xn.Z)(k.Z),fi=(0,xn.Z)(dt),Ri=(0,xn.Z)(qn),Pi=(0,xn.Z)(Fo),ar=nr.Z;(Nn&&ar(new Nn(new ArrayBuffer(1)))!=to||k.Z&&ar(new k.Z)!=Lr||dt&&ar(dt.resolve())!=kr||qn&&ar(new qn)!=di||Fo&&ar(new Fo)!=eo)&&(ar=function(B){var ee=(0,nr.Z)(B),De="[object Object]"==ee?B.constructor:void 0,y=De?(0,xn.Z)(De):"";if(y)switch(y){case Un:return to;case no:return Lr;case fi:return kr;case Ri:return di;case Pi:return eo}return ee});const Fi=ar;var Li="[object Arguments]",ki="[object Array]",Qo="[object Object]",Jo=Object.prototype.hasOwnProperty;const Xo=function gi(B,ee,De,y,C,m){var I=(0,it.Z)(B),x=(0,it.Z)(ee),ye=I?ki:Fi(B),ve=x?ki:Fi(ee),ae=(ye=ye==Li?Qo:ye)==Qo,Te=(ve=ve==Li?Qo:ve)==Qo,qe=ye==ve;if(qe&&mo(B)){if(!mo(ee))return!1;I=!0,ae=!1}if(qe&&!ae)return m||(m=new re),I||Be(B)?Ce(B,ee,De,y,C,m):function _n(B,ee,De,y,C,m,I){switch(De){case"[object DataView]":if(B.byteLength!=ee.byteLength||B.byteOffset!=ee.byteOffset)return!1;B=B.buffer,ee=ee.buffer;case"[object ArrayBuffer]":return!(B.byteLength!=ee.byteLength||!m(new mt(B),new mt(ee)));case"[object Boolean]":case"[object Date]":case"[object Number]":return(0,St.Z)(+B,+ee);case"[object Error]":return B.name==ee.name&&B.message==ee.message;case"[object RegExp]":case"[object String]":return B==ee+"";case"[object Map]":var x=xt;case"[object Set]":if(x||(x=Oe),B.size!=ee.size&&!(1&y))return!1;var ve=I.get(B);if(ve)return ve==ee;y|=2,I.set(B,ee);var ae=Ce(x(B),x(ee),y,C,m,I);return I.delete(B),ae;case"[object Symbol]":if(co)return co.call(B)==co.call(ee)}return!1}(B,ee,ye,De,y,C,m);if(!(1&De)){var Gt=ae&&Jo.call(B,"__wrapped__"),Nt=Te&&Jo.call(ee,"__wrapped__");if(Gt||Nt){var cn=Gt?B.value():B,Rn=Nt?ee.value():ee;return m||(m=new re),C(cn,Rn,De,y,m)}}return!!qe&&(m||(m=new re),function ci(B,ee,De,y,C,m){var I=1&De,x=xo(B),ye=x.length;if(ye!=xo(ee).length&&!I)return!1;for(var Te=ye;Te--;){var qe=x[Te];if(!(I?qe in ee:Eo.call(ee,qe)))return!1}var Gt=m.get(B),Nt=m.get(ee);if(Gt&&Nt)return Gt==ee&&Nt==B;var cn=!0;m.set(B,ee),m.set(ee,B);for(var Rn=I;++Te<ye;){var bt=B[qe=x[Te]],zt=ee[qe];if(y)var vn=I?y(zt,bt,qe,ee,B,m):y(bt,zt,qe,B,ee,m);if(!(void 0===vn?bt===zt||C(bt,zt,De,y,m):vn)){cn=!1;break}Rn||(Rn="constructor"==qe)}if(cn&&!Rn){var Ye=B.constructor,Pn=ee.constructor;Ye!=Pn&&"constructor"in B&&"constructor"in ee&&!("function"==typeof Ye&&Ye instanceof Ye&&"function"==typeof Pn&&Pn instanceof Pn)&&(cn=!1)}return m.delete(B),m.delete(ee),cn}(B,ee,De,y,C,m))},Vr=function Lo(B,ee,De,y,C){return B===ee||(null==B||null==ee||!(0,An.Z)(B)&&!(0,An.Z)(ee)?B!=B&&ee!=ee:Xo(B,ee,De,y,Lo,C))},ut=function ns(B,ee){return Vr(B,ee)}},4842:(Le,te,S)=>{"use strict";S.d(te,{Z:()=>K});var s=S(3844),L=S(5829);const K=function se(z){if(!(0,L.Z)(z))return!1;var k=(0,s.Z)(z);return"[object Function]"==k||"[object GeneratorFunction]"==k||"[object AsyncFunction]"==k||"[object Proxy]"==k}},5829:(Le,te,S)=>{"use strict";S.d(te,{Z:()=>L});const L=function s(q){var X=typeof q;return null!=q&&("object"==X||"function"==X)}},1196:(Le,te,S)=>{"use strict";S.d(te,{Z:()=>L});const L=function s(q){return null!=q&&"object"==typeof q}},7008:(Le,te,S)=>{"use strict";S.d(te,{Z:()=>G});var s=S(3844),L=S(9977),q=S(1196);const G=function Y(se){return"string"==typeof se||!(0,L.Z)(se)&&(0,q.Z)(se)&&"[object String]"==(0,s.Z)(se)}}},Le=>{Le(Le.s=9754)}]); \ No newline at end of file diff --git a/docs/main.79b64d36d8cc245e.js b/docs/main.79b64d36d8cc245e.js deleted file mode 100644 index 9fe5233..0000000 --- a/docs/main.79b64d36d8cc245e.js +++ /dev/null @@ -1 +0,0 @@ -(self.webpackChunknb_form_demo=self.webpackChunknb_form_demo||[]).push([[179],{5206:(Le,ie,T)=>{"use strict";var s=T(666),V=T(4755);class te extends V.w_{constructor(){super(...arguments),this.supportsDOMEvents=!0}}class oe extends te{static makeCurrent(){(0,V.HT)(new oe)}onAndCancel(u,i,d){return u.addEventListener(i,d),()=>{u.removeEventListener(i,d)}}dispatchEvent(u,i){u.dispatchEvent(i)}remove(u){u.parentNode&&u.parentNode.removeChild(u)}createElement(u,i){return(i=i||this.getDefaultDocument()).createElement(u)}createHtmlDocument(){return document.implementation.createHTMLDocument("fakeTitle")}getDefaultDocument(){return document}isElementNode(u){return u.nodeType===Node.ELEMENT_NODE}isShadowRoot(u){return u instanceof DocumentFragment}getGlobalEventTarget(u,i){return"window"===i?window:"document"===i?u:"body"===i?u.body:null}getBaseHref(u){const i=function X(){return J=J||document.querySelector("base"),J?J.getAttribute("href"):null}();return null==i?null:function ne(l){ge=ge||document.createElement("a"),ge.setAttribute("href",l);const u=ge.pathname;return"/"===u.charAt(0)?u:`/${u}`}(i)}resetBaseElement(){J=null}getUserAgent(){return window.navigator.userAgent}getCookie(u){return(0,V.Mx)(document.cookie,u)}}let ge,J=null,x=(()=>{class l{build(){return new XMLHttpRequest}}return l.\u0275fac=function(i){return new(i||l)},l.\u0275prov=s.Yz7({token:l,factory:l.\u0275fac}),l})();const F=new s.OlP("EventManagerPlugins");let H=(()=>{class l{constructor(i,d){this._zone=d,this._eventNameToPlugin=new Map,i.forEach(h=>{h.manager=this}),this._plugins=i.slice().reverse()}addEventListener(i,d,h){return this._findPluginFor(d).addEventListener(i,d,h)}getZone(){return this._zone}_findPluginFor(i){const d=this._eventNameToPlugin.get(i);if(d)return d;const h=this._plugins;for(let C=0;C<h.length;C++){const E=h[C];if(E.supports(i))return this._eventNameToPlugin.set(i,E),E}throw new Error(`No event manager plugin found for event ${i}`)}}return l.\u0275fac=function(i){return new(i||l)(s.LFG(F),s.LFG(s.R0b))},l.\u0275prov=s.Yz7({token:l,factory:l.\u0275fac}),l})();class Z{constructor(u){this._doc=u}}const q="ng-app-id";let he=(()=>{class l{constructor(i,d,h,C={}){this.doc=i,this.appId=d,this.nonce=h,this.platformId=C,this.styleRef=new Map,this.hostNodes=new Set,this.styleNodesInDOM=this.collectServerRenderedStyles(),this.platformIsServer=(0,V.PM)(C),this.resetHostNodes()}addStyles(i){for(const d of i)1===this.changeUsageCount(d,1)&&this.onStyleAdded(d)}removeStyles(i){for(const d of i)this.changeUsageCount(d,-1)<=0&&this.onStyleRemoved(d)}ngOnDestroy(){const i=this.styleNodesInDOM;i&&(i.forEach(d=>d.remove()),i.clear());for(const d of this.getAllStyles())this.onStyleRemoved(d);this.resetHostNodes()}addHost(i){this.hostNodes.add(i);for(const d of this.getAllStyles())this.addStyleToHost(i,d)}removeHost(i){this.hostNodes.delete(i)}getAllStyles(){return this.styleRef.keys()}onStyleAdded(i){for(const d of this.hostNodes)this.addStyleToHost(d,i)}onStyleRemoved(i){const d=this.styleRef;d.get(i)?.elements?.forEach(h=>h.remove()),d.delete(i)}collectServerRenderedStyles(){const i=this.doc.head?.querySelectorAll(`style[${q}="${this.appId}"]`);if(i?.length){const d=new Map;return i.forEach(h=>{null!=h.textContent&&d.set(h.textContent,h)}),d}return null}changeUsageCount(i,d){const h=this.styleRef;if(h.has(i)){const C=h.get(i);return C.usage+=d,C.usage}return h.set(i,{usage:d,elements:[]}),d}getStyleElement(i,d){const h=this.styleNodesInDOM,C=h?.get(d);if(C?.parentNode===i)return h.delete(d),C.removeAttribute(q),C;{const E=this.doc.createElement("style");return this.nonce&&E.setAttribute("nonce",this.nonce),E.textContent=d,this.platformIsServer&&E.setAttribute(q,this.appId),E}}addStyleToHost(i,d){const h=this.getStyleElement(i,d);i.appendChild(h);const C=this.styleRef,E=C.get(d)?.elements;E?E.push(h):C.set(d,{elements:[h],usage:1})}resetHostNodes(){const i=this.hostNodes;i.clear(),i.add(this.doc.head)}}return l.\u0275fac=function(i){return new(i||l)(s.LFG(V.K0),s.LFG(s.AFp),s.LFG(s.Ojb,8),s.LFG(s.Lbi))},l.\u0275prov=s.Yz7({token:l,factory:l.\u0275fac}),l})();const ee={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/"},ye=/%COMP%/g,Ne=new s.OlP("RemoveStylesOnCompDestory",{providedIn:"root",factory:()=>!1});function Se(l,u){return u.map(i=>i.replace(ye,l))}let Ae=(()=>{class l{constructor(i,d,h,C,E,R,$,Ce=null){this.eventManager=i,this.sharedStylesHost=d,this.appId=h,this.removeStylesOnCompDestory=C,this.doc=E,this.platformId=R,this.ngZone=$,this.nonce=Ce,this.rendererByCompId=new Map,this.platformIsServer=(0,V.PM)(R),this.defaultRenderer=new Q(i,E,$,this.platformIsServer)}createRenderer(i,d){if(!i||!d)return this.defaultRenderer;this.platformIsServer&&d.encapsulation===s.ifc.ShadowDom&&(d={...d,encapsulation:s.ifc.Emulated});const h=this.getOrCreateRenderer(i,d);return h instanceof He?h.applyToHost(i):h instanceof Ve&&h.applyStyles(),h}getOrCreateRenderer(i,d){const h=this.rendererByCompId;let C=h.get(d.id);if(!C){const E=this.doc,R=this.ngZone,$=this.eventManager,Ce=this.sharedStylesHost,Re=this.removeStylesOnCompDestory,et=this.platformIsServer;switch(d.encapsulation){case s.ifc.Emulated:C=new He($,Ce,d,this.appId,Re,E,R,et);break;case s.ifc.ShadowDom:return new me($,Ce,i,d,E,R,this.nonce,et);default:C=new Ve($,Ce,d,Re,E,R,et)}C.onDestroy=()=>h.delete(d.id),h.set(d.id,C)}return C}ngOnDestroy(){this.rendererByCompId.clear()}}return l.\u0275fac=function(i){return new(i||l)(s.LFG(H),s.LFG(he),s.LFG(s.AFp),s.LFG(Ne),s.LFG(V.K0),s.LFG(s.Lbi),s.LFG(s.R0b),s.LFG(s.Ojb))},l.\u0275prov=s.Yz7({token:l,factory:l.\u0275fac}),l})();class Q{constructor(u,i,d,h){this.eventManager=u,this.doc=i,this.ngZone=d,this.platformIsServer=h,this.data=Object.create(null),this.destroyNode=null}destroy(){}createElement(u,i){return i?this.doc.createElementNS(ee[i]||i,u):this.doc.createElement(u)}createComment(u){return this.doc.createComment(u)}createText(u){return this.doc.createTextNode(u)}appendChild(u,i){(de(u)?u.content:u).appendChild(i)}insertBefore(u,i,d){u&&(de(u)?u.content:u).insertBefore(i,d)}removeChild(u,i){u&&u.removeChild(i)}selectRootElement(u,i){let d="string"==typeof u?this.doc.querySelector(u):u;if(!d)throw new Error(`The selector "${u}" did not match any elements`);return i||(d.textContent=""),d}parentNode(u){return u.parentNode}nextSibling(u){return u.nextSibling}setAttribute(u,i,d,h){if(h){i=h+":"+i;const C=ee[h];C?u.setAttributeNS(C,i,d):u.setAttribute(i,d)}else u.setAttribute(i,d)}removeAttribute(u,i,d){if(d){const h=ee[d];h?u.removeAttributeNS(h,i):u.removeAttribute(`${d}:${i}`)}else u.removeAttribute(i)}addClass(u,i){u.classList.add(i)}removeClass(u,i){u.classList.remove(i)}setStyle(u,i,d,h){h&(s.JOm.DashCase|s.JOm.Important)?u.style.setProperty(i,d,h&s.JOm.Important?"important":""):u.style[i]=d}removeStyle(u,i,d){d&s.JOm.DashCase?u.style.removeProperty(i):u.style[i]=""}setProperty(u,i,d){u[i]=d}setValue(u,i){u.nodeValue=i}listen(u,i,d){if("string"==typeof u&&!(u=(0,V.q)().getGlobalEventTarget(this.doc,u)))throw new Error(`Unsupported event target ${u} for event ${i}`);return this.eventManager.addEventListener(u,i,this.decoratePreventDefault(d))}decoratePreventDefault(u){return i=>{if("__ngUnwrap__"===i)return u;!1===(this.platformIsServer?this.ngZone.runGuarded(()=>u(i)):u(i))&&(i.preventDefault(),i.returnValue=!1)}}}function de(l){return"TEMPLATE"===l.tagName&&void 0!==l.content}class me extends Q{constructor(u,i,d,h,C,E,R,$){super(u,C,E,$),this.sharedStylesHost=i,this.hostEl=d,this.shadowRoot=d.attachShadow({mode:"open"}),this.sharedStylesHost.addHost(this.shadowRoot);const Ce=Se(h.id,h.styles);for(const Re of Ce){const et=document.createElement("style");R&&et.setAttribute("nonce",R),et.textContent=Re,this.shadowRoot.appendChild(et)}}nodeOrShadowRoot(u){return u===this.hostEl?this.shadowRoot:u}appendChild(u,i){return super.appendChild(this.nodeOrShadowRoot(u),i)}insertBefore(u,i,d){return super.insertBefore(this.nodeOrShadowRoot(u),i,d)}removeChild(u,i){return super.removeChild(this.nodeOrShadowRoot(u),i)}parentNode(u){return this.nodeOrShadowRoot(super.parentNode(this.nodeOrShadowRoot(u)))}destroy(){this.sharedStylesHost.removeHost(this.shadowRoot)}}class Ve extends Q{constructor(u,i,d,h,C,E,R,$){super(u,C,E,R),this.sharedStylesHost=i,this.removeStylesOnCompDestory=h,this.rendererUsageCount=0,this.styles=$?Se($,d.styles):d.styles}applyStyles(){this.sharedStylesHost.addStyles(this.styles),this.rendererUsageCount++}destroy(){this.removeStylesOnCompDestory&&(this.sharedStylesHost.removeStyles(this.styles),this.rendererUsageCount--,0===this.rendererUsageCount&&this.onDestroy?.())}}class He extends Ve{constructor(u,i,d,h,C,E,R,$){const Ce=h+"-"+d.id;super(u,i,d,C,E,R,$,Ce),this.contentAttr=function je(l){return"_ngcontent-%COMP%".replace(ye,l)}(Ce),this.hostAttr=function kt(l){return"_nghost-%COMP%".replace(ye,l)}(Ce)}applyToHost(u){this.applyStyles(),this.setAttribute(u,this.hostAttr,"")}createElement(u,i){const d=super.createElement(u,i);return super.setAttribute(d,this.contentAttr,""),d}}let _t=(()=>{class l extends Z{constructor(i){super(i)}supports(i){return!0}addEventListener(i,d,h){return i.addEventListener(d,h,!1),()=>this.removeEventListener(i,d,h)}removeEventListener(i,d,h){return i.removeEventListener(d,h)}}return l.\u0275fac=function(i){return new(i||l)(s.LFG(V.K0))},l.\u0275prov=s.Yz7({token:l,factory:l.\u0275fac}),l})();const ot=["alt","control","meta","shift"],gt={"\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"},Tt={alt:l=>l.altKey,control:l=>l.ctrlKey,meta:l=>l.metaKey,shift:l=>l.shiftKey};let zt=(()=>{class l extends Z{constructor(i){super(i)}supports(i){return null!=l.parseEventName(i)}addEventListener(i,d,h){const C=l.parseEventName(d),E=l.eventCallback(C.fullKey,h,this.manager.getZone());return this.manager.getZone().runOutsideAngular(()=>(0,V.q)().onAndCancel(i,C.domEventName,E))}static parseEventName(i){const d=i.toLowerCase().split("."),h=d.shift();if(0===d.length||"keydown"!==h&&"keyup"!==h)return null;const C=l._normalizeKey(d.pop());let E="",R=d.indexOf("code");if(R>-1&&(d.splice(R,1),E="code."),ot.forEach(Ce=>{const Re=d.indexOf(Ce);Re>-1&&(d.splice(Re,1),E+=Ce+".")}),E+=C,0!=d.length||0===C.length)return null;const $={};return $.domEventName=h,$.fullKey=E,$}static matchEventFullKeyCode(i,d){let h=gt[i.key]||i.key,C="";return d.indexOf("code.")>-1&&(h=i.code,C="code."),!(null==h||!h)&&(h=h.toLowerCase()," "===h?h="space":"."===h&&(h="dot"),ot.forEach(E=>{E!==h&&(0,Tt[E])(i)&&(C+=E+".")}),C+=h,C===d)}static eventCallback(i,d,h){return C=>{l.matchEventFullKeyCode(C,i)&&h.runGuarded(()=>d(C))}}static _normalizeKey(i){return"esc"===i?"escape":i}}return l.\u0275fac=function(i){return new(i||l)(s.LFG(V.K0))},l.\u0275prov=s.Yz7({token:l,factory:l.\u0275fac}),l})();const U=(0,s.eFA)(s._c5,"browser",[{provide:s.Lbi,useValue:V.bD},{provide:s.g9A,useValue:function lt(){oe.makeCurrent()},multi:!0},{provide:V.K0,useFactory:function ue(){return(0,s.RDi)(document),document},deps:[]}]),W=new s.OlP(""),xe=[{provide:s.rWj,useClass:class Y{addToWindow(u){s.dqk.getAngularTestability=(d,h=!0)=>{const C=u.findTestabilityInTree(d,h);if(null==C)throw new Error("Could not find testability for element.");return C},s.dqk.getAllAngularTestabilities=()=>u.getAllTestabilities(),s.dqk.getAllAngularRootElements=()=>u.getAllRootElements(),s.dqk.frameworkStabilizers||(s.dqk.frameworkStabilizers=[]),s.dqk.frameworkStabilizers.push(d=>{const h=s.dqk.getAllAngularTestabilities();let C=h.length,E=!1;const R=function($){E=E||$,C--,0==C&&d(E)};h.forEach(function($){$.whenStable(R)})})}findTestabilityInTree(u,i,d){return null==i?null:u.getTestability(i)??(d?(0,V.q)().isShadowRoot(i)?this.findTestabilityInTree(u,i.host,!0):this.findTestabilityInTree(u,i.parentElement,!0):null)}},deps:[]},{provide:s.lri,useClass:s.dDg,deps:[s.R0b,s.eoX,s.rWj]},{provide:s.dDg,useClass:s.dDg,deps:[s.R0b,s.eoX,s.rWj]}],Wt=[{provide:s.zSh,useValue:"root"},{provide:s.qLn,useFactory:function xn(){return new s.qLn},deps:[]},{provide:F,useClass:_t,multi:!0,deps:[V.K0,s.R0b,s.Lbi]},{provide:F,useClass:zt,multi:!0,deps:[V.K0]},Ae,he,H,{provide:s.FYo,useExisting:Ae},{provide:V.JF,useClass:x,deps:[]},[]];let bt=(()=>{class l{constructor(i){}static withServerTransition(i){return{ngModule:l,providers:[{provide:s.AFp,useValue:i.appId}]}}}return l.\u0275fac=function(i){return new(i||l)(s.LFG(W,12))},l.\u0275mod=s.oAB({type:l}),l.\u0275inj=s.cJS({providers:[...Wt,...xe],imports:[V.ez,s.hGG]}),l})(),ln=(()=>{class l{constructor(i){this._doc=i}getTitle(){return this._doc.title}setTitle(i){this._doc.title=i||""}}return l.\u0275fac=function(i){return new(i||l)(s.LFG(V.K0))},l.\u0275prov=s.Yz7({token:l,factory:function(i){let d=null;return d=i?new i:function Yr(){return new ln((0,s.LFG)(V.K0))}(),d},providedIn:"root"}),l})();typeof window<"u"&&window;var ht=T(1199),gn=T(8487),qe=T(861),sn=T(6498),Bt=T(5254),We=T(1086),mn=T(591),fr=T(3426);const Qt=(()=>{function l(){return Error.call(this),this.message="no elements in sequence",this.name="EmptyError",this}return l.prototype=Object.create(Error.prototype),l})();var yn=T(1221);const Ot=new sn.y(l=>l.complete());function nt(l){return l?function hr(l){return new sn.y(u=>l.schedule(()=>u.complete()))}(l):Ot}function pr(l){return new sn.y(u=>{let i;try{i=l()}catch(h){return void u.error(h)}return(i?(0,Bt.D)(i):nt()).subscribe(u)})}var Lr=T(4843);function Un(l,u){return new sn.y(u?i=>u.schedule($n,0,{error:l,subscriber:i}):i=>i.error(l))}function $n({error:l,subscriber:u}){u.error(l)}var tr=T(1762),Oe=T(5529),Dt=T(4850),vn=T(7545),Nn=T(3489);const Ut=(()=>{function l(){return Error.call(this),this.message="argument out of range",this.name="ArgumentOutOfRangeError",this}return l.prototype=Object.create(Error.prototype),l})();function nr(l){return u=>0===l?nt():u.lift(new zo(l))}class zo{constructor(u){if(this.total=u,this.total<0)throw new Ut}call(u,i){return i.subscribe(new po(u,this.total))}}class po extends Nn.L{constructor(u,i){super(u),this.total=i,this.count=0}_next(u){const i=this.total,d=++this.count;d<=i&&(this.destination.next(u),d===i&&(this.destination.complete(),this.unsubscribe()))}}var Er=T(1059);function On(l,u){return function(d){return d.lift(new go(l,u))}}class go{constructor(u,i){this.predicate=u,this.thisArg=i}call(u,i){return i.subscribe(new Xt(u,this.predicate,this.thisArg))}}class Xt extends Nn.L{constructor(u,i,d){super(u),this.predicate=i,this.thisArg=d,this.count=0}_next(u){let i;try{i=this.predicate.call(this.thisArg,u,this.count++)}catch(d){return void this.destination.error(d)}i&&this.destination.next(u)}}var en=T(1709);function kr(l=null){return u=>u.lift(new Jr(l))}class Jr{constructor(u){this.defaultValue=u}call(u,i){return i.subscribe(new rr(u,this.defaultValue))}}class rr extends Nn.L{constructor(u,i){super(u),this.defaultValue=i,this.isEmpty=!0}_next(u){this.isEmpty=!1,this.destination.next(u)}_complete(){this.isEmpty&&this.destination.next(this.defaultValue),this.destination.complete()}}function mo(l=ct){return u=>u.lift(new yo(l))}class yo{constructor(u){this.errorFactory=u}call(u,i){return i.subscribe(new vo(u,this.errorFactory))}}class vo extends Nn.L{constructor(u,i){super(u),this.errorFactory=i,this.hasValue=!1}_next(u){this.hasValue=!0,this.destination.next(u)}_complete(){if(this.hasValue)return this.destination.complete();{let u;try{u=this.errorFactory()}catch(i){u=i}this.destination.error(u)}}}function ct(){return new Qt}var io=T(5379);function Gn(l,u){const i=arguments.length>=2;return d=>d.pipe(l?On((h,C)=>l(h,C,d)):io.y,nr(1),i?kr(u):mo(()=>new Qt))}function or(l,u){return(0,en.zg)(l,u,1)}var dn=T(2868),so=T(7221);class wr{constructor(u,i,d=!1){this.accumulator=u,this.seed=i,this.hasSeed=d}call(u,i){return i.subscribe(new Wo(u,this.accumulator,this.seed,this.hasSeed))}}class Wo extends Nn.L{constructor(u,i,d,h){super(u),this.accumulator=i,this._seed=d,this.hasSeed=h,this.index=0}get seed(){return this._seed}set seed(u){this.hasSeed=!0,this._seed=u}_next(u){if(this.hasSeed)return this._tryNext(u);this.seed=u,this.destination.next(u)}_tryNext(u){const i=this.index++;let d;try{d=this.accumulator(this.seed,u,i)}catch(h){this.destination.error(h)}this.seed=d,this.destination.next(d)}}function O(l){return function(i){return 0===l?nt():i.lift(new z(l))}}class z{constructor(u){if(this.total=u,this.total<0)throw new Ut}call(u,i){return i.subscribe(new N(u,this.total))}}class N extends Nn.L{constructor(u,i){super(u),this.total=i,this.ring=new Array,this.count=0}_next(u){const i=this.ring,d=this.total,h=this.count++;i.length<d?i.push(u):i[h%d]=u}_complete(){const u=this.destination;let i=this.count;if(i>0){const d=this.count>=this.total?this.total:this.count,h=this.ring;for(let C=0;C<d;C++){const E=i++%d;u.next(h[E])}}u.complete()}}class Pe{constructor(u){this.value=u}call(u,i){return i.subscribe(new it(u,this.value))}}class it extends Nn.L{constructor(u,i){super(u),this.value=i}_next(u){this.destination.next(this.value)}}var St=T(2654);function Sr(l){return u=>u.lift(new ir(l))}class ir{constructor(u){this.callback=u}call(u,i){return i.subscribe(new Qr(u,this.callback))}}class Qr extends Nn.L{constructor(u,i){super(u),this.add(new St.w(i))}}var Io=T(4327),_o=T(9146);const ke="primary",we=Symbol("RouteTitle");class Qe{constructor(u){this.params=u||{}}has(u){return Object.prototype.hasOwnProperty.call(this.params,u)}get(u){if(this.has(u)){const i=this.params[u];return Array.isArray(i)?i[0]:i}return null}getAll(u){if(this.has(u)){const i=this.params[u];return Array.isArray(i)?i:[i]}return[]}get keys(){return Object.keys(this.params)}}function yt(l){return new Qe(l)}function zn(l,u,i){const d=i.path.split("/");if(d.length>l.length||"full"===i.pathMatch&&(u.hasChildren()||d.length<l.length))return null;const h={};for(let C=0;C<d.length;C++){const E=d[C],R=l[C];if(E.startsWith(":"))h[E.substring(1)]=R;else if(E!==R.path)return null}return{consumed:l.slice(0,d.length),posParams:h}}function Mt(l,u){const i=l?Object.keys(l):void 0,d=u?Object.keys(u):void 0;if(!i||!d||i.length!=d.length)return!1;let h;for(let C=0;C<i.length;C++)if(h=i[C],!gr(l[h],u[h]))return!1;return!0}function gr(l,u){if(Array.isArray(l)&&Array.isArray(u)){if(l.length!==u.length)return!1;const i=[...l].sort(),d=[...u].sort();return i.every((h,C)=>d[C]===h)}return l===u}function Rt(l){return l.length>0?l[l.length-1]:null}function fn(l){return function er(l){return!!l&&(l instanceof sn.y||"function"==typeof l.lift&&"function"==typeof l.subscribe)}(l)?l:(0,s.QGY)(l)?(0,Bt.D)(Promise.resolve(l)):(0,We.of)(l)}const Mr={exact:function Wn(l,u,i){if(!ar(l.segments,u.segments)||!bn(l.segments,u.segments,i)||l.numberOfChildren!==u.numberOfChildren)return!1;for(const d in u.children)if(!l.children[d]||!Wn(l.children[d],u.children[d],i))return!1;return!0},subset:Vr},Ye={exact:function Do(l,u){return Mt(l,u)},subset:function tn(l,u){return Object.keys(u).length<=Object.keys(l).length&&Object.keys(u).every(i=>gr(l[i],u[i]))},ignored:()=>!0};function Tr(l,u,i){return Mr[i.paths](l.root,u.root,i.matrixParams)&&Ye[i.queryParams](l.queryParams,u.queryParams)&&!("exact"===i.fragment&&l.fragment!==u.fragment)}function Vr(l,u,i){return Hr(l,u,u.segments,i)}function Hr(l,u,i,d){if(l.segments.length>i.length){const h=l.segments.slice(0,i.length);return!(!ar(h,i)||u.hasChildren()||!bn(h,i,d))}if(l.segments.length===i.length){if(!ar(l.segments,i)||!bn(l.segments,i,d))return!1;for(const h in u.children)if(!l.children[h]||!Vr(l.children[h],u.children[h],d))return!1;return!0}{const h=i.slice(0,l.segments.length),C=i.slice(l.segments.length);return!!(ar(l.segments,h)&&bn(l.segments,h,d)&&l.children[ke])&&Hr(l.children[ke],u,C,d)}}function bn(l,u,i){return u.every((d,h)=>Ye[i](l[h].parameters,d.parameters))}class Yn{constructor(u=new dt([],{}),i={},d=null){this.root=u,this.queryParams=i,this.fragment=d}get queryParamMap(){return this._queryParamMap||(this._queryParamMap=yt(this.queryParams)),this._queryParamMap}toString(){return Ao.serialize(this)}}class dt{constructor(u,i){this.segments=u,this.children=i,this.parent=null,Object.values(i).forEach(d=>d.parent=this)}hasChildren(){return this.numberOfChildren>0}get numberOfChildren(){return Object.keys(this.children).length}toString(){return Ir(this)}}class Zn{constructor(u,i){this.path=u,this.parameters=i}get parameterMap(){return this._parameterMap||(this._parameterMap=yt(this.parameters)),this._parameterMap}toString(){return _n(this)}}function ar(l,u){return l.length===u.length&&l.every((i,d)=>i.path===u[d].path)}let rt=(()=>{class l{}return l.\u0275fac=function(i){return new(i||l)},l.\u0275prov=s.Yz7({token:l,factory:function(){return new mr},providedIn:"root"}),l})();class mr{parse(u){const i=new Yo(u);return new Yn(i.parseRootSegment(),i.parseQueryParams(),i.parseFragment())}serialize(u){const i=`/${qt(u.root,!0)}`,d=function Nr(l){const u=Object.keys(l).map(i=>{const d=l[i];return Array.isArray(d)?d.map(h=>`${Ar(i)}=${Ar(h)}`).join("&"):`${Ar(i)}=${Ar(d)}`}).filter(i=>!!i);return u.length?`?${u.join("&")}`:""}(u.queryParams);return`${i}${d}${"string"==typeof u.fragment?`#${function eo(l){return encodeURI(l)}(u.fragment)}`:""}`}}const Ao=new mr;function Ir(l){return l.segments.map(u=>_n(u)).join("/")}function qt(l,u){if(!l.hasChildren())return Ir(l);if(u){const i=l.children[ke]?qt(l.children[ke],!1):"",d=[];return Object.entries(l.children).forEach(([h,C])=>{h!==ke&&d.push(`${h}:${qt(C,!1)}`)}),d.length>0?`${i}(${d.join("//")})`:i}{const i=function Xr(l,u){let i=[];return Object.entries(l.children).forEach(([d,h])=>{d===ke&&(i=i.concat(u(h,d)))}),Object.entries(l.children).forEach(([d,h])=>{d!==ke&&(i=i.concat(u(h,d)))}),i}(l,(d,h)=>h===ke?[qt(l.children[ke],!1)]:[`${h}:${qt(d,!1)}`]);return 1===Object.keys(l.children).length&&null!=l.children[ke]?`${Ir(l)}/${i[0]}`:`${Ir(l)}/(${i.join("//")})`}}function jr(l){return encodeURIComponent(l).replace(/%40/g,"@").replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",")}function Ar(l){return jr(l).replace(/%3B/gi,";")}function $t(l){return jr(l).replace(/\(/g,"%28").replace(/\)/g,"%29").replace(/%26/gi,"&")}function Br(l){return decodeURIComponent(l)}function En(l){return Br(l.replace(/\+/g,"%20"))}function _n(l){return`${$t(l.path)}${function No(l){return Object.keys(l).map(u=>`;${$t(u)}=${$t(l[u])}`).join("")}(l.parameters)}`}const Ur=/^[^\/()?;#]+/;function wn(l){const u=l.match(Ur);return u?u[0]:""}const Ln=/^[^\/()?;=#]+/,Zi=/^[^=?&#]+/,ui=/^[^&#]+/;class Yo{constructor(u){this.url=u,this.remaining=u}parseRootSegment(){return this.consumeOptional("/"),""===this.remaining||this.peekStartsWith("?")||this.peekStartsWith("#")?new dt([],{}):new dt([],this.parseChildren())}parseQueryParams(){const u={};if(this.consumeOptional("?"))do{this.parseQueryParam(u)}while(this.consumeOptional("&"));return u}parseFragment(){return this.consumeOptional("#")?decodeURIComponent(this.remaining):null}parseChildren(){if(""===this.remaining)return{};this.consumeOptional("/");const u=[];for(this.peekStartsWith("(")||u.push(this.parseSegment());this.peekStartsWith("/")&&!this.peekStartsWith("//")&&!this.peekStartsWith("/(");)this.capture("/"),u.push(this.parseSegment());let i={};this.peekStartsWith("/(")&&(this.capture("/"),i=this.parseParens(!0));let d={};return this.peekStartsWith("(")&&(d=this.parseParens(!1)),(u.length>0||Object.keys(i).length>0)&&(d[ke]=new dt(u,i)),d}parseSegment(){const u=wn(this.remaining);if(""===u&&this.peekStartsWith(";"))throw new s.vHH(4009,!1);return this.capture(u),new Zn(Br(u),this.parseMatrixParams())}parseMatrixParams(){const u={};for(;this.consumeOptional(";");)this.parseParam(u);return u}parseParam(u){const i=function Oo(l){const u=l.match(Ln);return u?u[0]:""}(this.remaining);if(!i)return;this.capture(i);let d="";if(this.consumeOptional("=")){const h=wn(this.remaining);h&&(d=h,this.capture(d))}u[Br(i)]=Br(d)}parseQueryParam(u){const i=function Ei(l){const u=l.match(Zi);return u?u[0]:""}(this.remaining);if(!i)return;this.capture(i);let d="";if(this.consumeOptional("=")){const E=function Co(l){const u=l.match(ui);return u?u[0]:""}(this.remaining);E&&(d=E,this.capture(d))}const h=En(i),C=En(d);if(u.hasOwnProperty(h)){let E=u[h];Array.isArray(E)||(E=[E],u[h]=E),E.push(C)}else u[h]=C}parseParens(u){const i={};for(this.capture("(");!this.consumeOptional(")")&&this.remaining.length>0;){const d=wn(this.remaining),h=this.remaining[d.length];if("/"!==h&&")"!==h&&";"!==h)throw new s.vHH(4010,!1);let C;d.indexOf(":")>-1?(C=d.slice(0,d.indexOf(":")),this.capture(C),this.capture(":")):u&&(C=ke);const E=this.parseChildren();i[C]=1===Object.keys(E).length?E[ke]:new dt([],E),this.consumeOptional("//")}return i}peekStartsWith(u){return this.remaining.startsWith(u)}consumeOptional(u){return!!this.peekStartsWith(u)&&(this.remaining=this.remaining.substring(u.length),!0)}capture(u){if(!this.consumeOptional(u))throw new s.vHH(4011,!1)}}function Zo(l){return l.segments.length>0?new dt([],{[ke]:l}):l}function qi(l){const u={};for(const d of Object.keys(l.children)){const C=qi(l.children[d]);if(d===ke&&0===C.segments.length&&C.hasChildren())for(const[E,R]of Object.entries(C.children))u[E]=R;else(C.segments.length>0||C.hasChildren())&&(u[d]=C)}return function li(l){if(1===l.numberOfChildren&&l.children[ke]){const u=l.children[ke];return new dt(l.segments.concat(u.segments),u.children)}return l}(new dt(l.segments,u))}function $r(l){return l instanceof Yn}function ci(l){let u;const h=Zo(function i(C){const E={};for(const $ of C.children){const Ce=i($);E[$.outlet]=Ce}const R=new dt(C.url,E);return C===l&&(u=R),R}(l.root));return u??h}function Ji(l,u,i,d){let h=l;for(;h.parent;)h=h.parent;if(0===u.length)return v(h,h,h,i,d);const C=function w(l){if("string"==typeof l[0]&&1===l.length&&"/"===l[0])return new m(!0,0,l);let u=0,i=!1;const d=l.reduce((h,C,E)=>{if("object"==typeof C&&null!=C){if(C.outlets){const R={};return Object.entries(C.outlets).forEach(([$,Ce])=>{R[$]="string"==typeof Ce?Ce.split("/"):Ce}),[...h,{outlets:R}]}if(C.segmentPath)return[...h,C.segmentPath]}return"string"!=typeof C?[...h,C]:0===E?(C.split("/").forEach((R,$)=>{0==$&&"."===R||(0==$&&""===R?i=!0:".."===R?u++:""!=R&&h.push(R))}),h):[...h,C]},[]);return new m(i,u,d)}(u);if(C.toRoot())return v(h,h,new dt([],{}),i,d);const E=function be(l,u,i){if(l.isAbsolute)return new k(u,!0,0);if(!i)return new k(u,!1,NaN);if(null===i.parent)return new k(i,!0,0);const d=j(l.commands[0])?0:1;return function Xe(l,u,i){let d=l,h=u,C=i;for(;C>h;){if(C-=h,d=d.parent,!d)throw new s.vHH(4005,!1);h=d.segments.length}return new k(d,!1,h-C)}(i,i.segments.length-1+d,l.numberOfDoubleDots)}(C,h,l),R=E.processChildren?xt(E.segmentGroup,E.index,C.commands):Sn(E.segmentGroup,E.index,C.commands);return v(h,E.segmentGroup,R,i,d)}function j(l){return"object"==typeof l&&null!=l&&!l.outlets&&!l.segmentPath}function le(l){return"object"==typeof l&&null!=l&&l.outlets}function v(l,u,i,d,h){let E,C={};d&&Object.entries(d).forEach(([$,Ce])=>{C[$]=Array.isArray(Ce)?Ce.map(Re=>`${Re}`):`${Ce}`}),E=l===u?i:y(l,u,i);const R=Zo(qi(E));return new Yn(R,C,h)}function y(l,u,i){const d={};return Object.entries(l.children).forEach(([h,C])=>{d[h]=C===u?i:y(C,u,i)}),new dt(l.segments,d)}class m{constructor(u,i,d){if(this.isAbsolute=u,this.numberOfDoubleDots=i,this.commands=d,u&&d.length>0&&j(d[0]))throw new s.vHH(4003,!1);const h=d.find(le);if(h&&h!==Rt(d))throw new s.vHH(4004,!1)}toRoot(){return this.isAbsolute&&1===this.commands.length&&"/"==this.commands[0]}}class k{constructor(u,i,d){this.segmentGroup=u,this.processChildren=i,this.index=d}}function Sn(l,u,i){if(l||(l=new dt([],{})),0===l.segments.length&&l.hasChildren())return xt(l,u,i);const d=function Vt(l,u,i){let d=0,h=u;const C={match:!1,pathIndex:0,commandIndex:0};for(;h<l.segments.length;){if(d>=i.length)return C;const E=l.segments[h],R=i[d];if(le(R))break;const $=`${R}`,Ce=d<i.length-1?i[d+1]:null;if(h>0&&void 0===$)break;if($&&Ce&&"object"==typeof Ce&&void 0===Ce.outlets){if(!ao($,Ce,E))return C;d+=2}else{if(!ao($,{},E))return C;d++}h++}return{match:!0,pathIndex:h,commandIndex:d}}(l,u,i),h=i.slice(d.commandIndex);if(d.match&&d.pathIndex<l.segments.length){const C=new dt(l.segments.slice(0,d.pathIndex),{});return C.children[ke]=new dt(l.segments.slice(d.pathIndex),l.children),xt(C,0,h)}return d.match&&0===h.length?new dt(l.segments,{}):d.match&&!l.hasChildren()?qn(l,u,i):d.match?xt(l,0,h):qn(l,u,i)}function xt(l,u,i){if(0===i.length)return new dt(l.segments,{});{const d=function st(l){return le(l[0])?l[0].outlets:{[ke]:l}}(i),h={};if(!d[ke]&&l.children[ke]&&1===l.numberOfChildren&&0===l.children[ke].segments.length){const C=xt(l.children[ke],u,i);return new dt(l.segments,C.children)}return Object.entries(d).forEach(([C,E])=>{"string"==typeof E&&(E=[E]),null!==E&&(h[C]=Sn(l.children[C],u,E))}),Object.entries(l.children).forEach(([C,E])=>{void 0===d[C]&&(h[C]=E)}),new dt(l.segments,h)}}function qn(l,u,i){const d=l.segments.slice(0,u);let h=0;for(;h<i.length;){const C=i[h];if(le(C)){const $=Kn(C.outlets);return new dt(d,$)}if(0===h&&j(i[0])){d.push(new Zn(l.segments[u].path,yr(i[0]))),h++;continue}const E=le(C)?C.outlets[ke]:`${C}`,R=h<i.length-1?i[h+1]:null;E&&R&&j(R)?(d.push(new Zn(E,yr(R))),h+=2):(d.push(new Zn(E,{})),h++)}return new dt(d,{})}function Kn(l){const u={};return Object.entries(l).forEach(([i,d])=>{"string"==typeof d&&(d=[d]),null!==d&&(u[i]=qn(new dt([],{}),0,d))}),u}function yr(l){const u={};return Object.entries(l).forEach(([i,d])=>u[i]=`${d}`),u}function ao(l,u,i){return l==i.path&&Mt(u,i.parameters)}const ur="imperative";class Pt{constructor(u,i){this.id=u,this.url=i}}class uo extends Pt{constructor(u,i,d="imperative",h=null){super(u,i),this.type=0,this.navigationTrigger=d,this.restoredState=h}toString(){return`NavigationStart(id: ${this.id}, url: '${this.url}')`}}class Et extends Pt{constructor(u,i,d){super(u,i),this.urlAfterRedirects=d,this.type=1}toString(){return`NavigationEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}')`}}class lr extends Pt{constructor(u,i,d,h){super(u,i),this.reason=d,this.code=h,this.type=2}toString(){return`NavigationCancel(id: ${this.id}, url: '${this.url}')`}}class Qi extends Pt{constructor(u,i,d,h){super(u,i),this.reason=d,this.code=h,this.type=16}}class wi extends Pt{constructor(u,i,d,h){super(u,i),this.error=d,this.target=h,this.type=3}toString(){return`NavigationError(id: ${this.id}, url: '${this.url}', error: ${this.error})`}}class Si extends Pt{constructor(u,i,d,h){super(u,i),this.urlAfterRedirects=d,this.state=h,this.type=4}toString(){return`RoutesRecognized(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}}class di extends Pt{constructor(u,i,d,h){super(u,i),this.urlAfterRedirects=d,this.state=h,this.type=7}toString(){return`GuardsCheckStart(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}}class Ru extends Pt{constructor(u,i,d,h,C){super(u,i),this.urlAfterRedirects=d,this.state=h,this.shouldActivate=C,this.type=8}toString(){return`GuardsCheckEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state}, shouldActivate: ${this.shouldActivate})`}}class Dc extends Pt{constructor(u,i,d,h){super(u,i),this.urlAfterRedirects=d,this.state=h,this.type=5}toString(){return`ResolveStart(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}}class Ms extends Pt{constructor(u,i,d,h){super(u,i),this.urlAfterRedirects=d,this.state=h,this.type=6}toString(){return`ResolveEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}}class Mi{constructor(u){this.route=u,this.type=9}toString(){return`RouteConfigLoadStart(path: ${this.route.path})`}}class xu{constructor(u){this.route=u,this.type=10}toString(){return`RouteConfigLoadEnd(path: ${this.route.path})`}}class Xi{constructor(u){this.snapshot=u,this.type=11}toString(){return`ChildActivationStart(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}}class Pu{constructor(u){this.snapshot=u,this.type=12}toString(){return`ChildActivationEnd(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}}class Cc{constructor(u){this.snapshot=u,this.type=13}toString(){return`ActivationStart(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}}class bc{constructor(u){this.snapshot=u,this.type=14}toString(){return`ActivationEnd(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}}class Fu{constructor(u,i,d){this.routerEvent=u,this.position=i,this.anchor=d,this.type=15}toString(){return`Scroll(anchor: '${this.anchor}', position: '${this.position?`${this.position[0]}, ${this.position[1]}`:null}')`}}class ku{constructor(){this.outlet=null,this.route=null,this.injector=null,this.children=new Ti,this.attachRef=null}}let Ti=(()=>{class l{constructor(){this.contexts=new Map}onChildOutletCreated(i,d){const h=this.getOrCreateContext(i);h.outlet=d,this.contexts.set(i,h)}onChildOutletDestroyed(i){const d=this.getContext(i);d&&(d.outlet=null,d.attachRef=null)}onOutletDeactivated(){const i=this.contexts;return this.contexts=new Map,i}onOutletReAttached(i){this.contexts=i}getOrCreateContext(i){let d=this.getContext(i);return d||(d=new ku,this.contexts.set(i,d)),d}getContext(i){return this.contexts.get(i)||null}}return l.\u0275fac=function(i){return new(i||l)},l.\u0275prov=s.Yz7({token:l,factory:l.\u0275fac,providedIn:"root"}),l})();class es{constructor(u){this._root=u}get root(){return this._root.value}parent(u){const i=this.pathFromRoot(u);return i.length>1?i[i.length-2]:null}children(u){const i=Ii(u,this._root);return i?i.children.map(d=>d.value):[]}firstChild(u){const i=Ii(u,this._root);return i&&i.children.length>0?i.children[0].value:null}siblings(u){const i=Ts(u,this._root);return i.length<2?[]:i[i.length-2].children.map(h=>h.value).filter(h=>h!==u)}pathFromRoot(u){return Ts(u,this._root).map(i=>i.value)}}function Ii(l,u){if(l===u.value)return u;for(const i of u.children){const d=Ii(l,i);if(d)return d}return null}function Ts(l,u){if(l===u.value)return[u];for(const i of u.children){const d=Ts(l,i);if(d.length)return d.unshift(u),d}return[]}class lo{constructor(u,i){this.value=u,this.children=i}toString(){return`TreeNode(${this.value})`}}function Ro(l){const u={};return l&&l.children.forEach(i=>u[i.value.outlet]=i),u}class Is extends es{constructor(u,i){super(u),this.snapshot=i,Ns(this,u)}toString(){return this.snapshot.toString()}}function Ta(l,u){const i=function As(l,u){const E=new Ai([],{},{},"",{},ke,u,null,{});return new Gt("",new lo(E,[]))}(0,u),d=new mn.X([new Zn("",{})]),h=new mn.X({}),C=new mn.X({}),E=new mn.X({}),R=new mn.X(""),$=new fi(d,h,E,R,C,ke,u,i.root);return $.snapshot=i.root,new Is(new lo($,[]),i)}class fi{constructor(u,i,d,h,C,E,R,$){this.urlSubject=u,this.paramsSubject=i,this.queryParamsSubject=d,this.fragmentSubject=h,this.dataSubject=C,this.outlet=E,this.component=R,this._futureSnapshot=$,this.title=this.dataSubject?.pipe((0,Dt.U)(Ce=>Ce[we]))??(0,We.of)(void 0),this.url=u,this.params=i,this.queryParams=d,this.fragment=h,this.data=C}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,Dt.U)(u=>yt(u)))),this._paramMap}get queryParamMap(){return this._queryParamMap||(this._queryParamMap=this.queryParams.pipe((0,Dt.U)(u=>yt(u)))),this._queryParamMap}toString(){return this.snapshot?this.snapshot.toString():`Future(${this._futureSnapshot})`}}function to(l,u="emptyOnly"){const i=l.pathFromRoot;let d=0;if("always"!==u)for(d=i.length-1;d>=1;){const h=i[d],C=i[d-1];if(h.routeConfig&&""===h.routeConfig.path)d--;else{if(C.component)break;d--}}return function Ia(l){return l.reduce((u,i)=>({params:{...u.params,...i.params},data:{...u.data,...i.data},resolve:{...i.data,...u.resolve,...i.routeConfig?.data,...i._resolvedData}}),{params:{},data:{},resolve:{}})}(i.slice(d))}class Ai{get title(){return this.data?.[we]}constructor(u,i,d,h,C,E,R,$,Ce){this.url=u,this.params=i,this.queryParams=d,this.fragment=h,this.data=C,this.outlet=E,this.component=R,this.routeConfig=$,this._resolve=Ce}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=yt(this.params)),this._paramMap}get queryParamMap(){return this._queryParamMap||(this._queryParamMap=yt(this.queryParams)),this._queryParamMap}toString(){return`Route(url:'${this.url.map(d=>d.toString()).join("/")}', path:'${this.routeConfig?this.routeConfig.path:""}')`}}class Gt extends es{constructor(u,i){super(i),this.url=u,Ns(this,i)}toString(){return Ni(this._root)}}function Ns(l,u){u.value._routerState=l,u.children.forEach(i=>Ns(l,i))}function Ni(l){const u=l.children.length>0?` { ${l.children.map(Ni).join(", ")} } `:"";return`${l.value}${u}`}function p(l){if(l.snapshot){const u=l.snapshot,i=l._futureSnapshot;l.snapshot=i,Mt(u.queryParams,i.queryParams)||l.queryParamsSubject.next(i.queryParams),u.fragment!==i.fragment&&l.fragmentSubject.next(i.fragment),Mt(u.params,i.params)||l.paramsSubject.next(i.params),function sr(l,u){if(l.length!==u.length)return!1;for(let i=0;i<l.length;++i)if(!Mt(l[i],u[i]))return!1;return!0}(u.url,i.url)||l.urlSubject.next(i.url),Mt(u.data,i.data)||l.dataSubject.next(i.data)}else l.snapshot=l._futureSnapshot,l.dataSubject.next(l._futureSnapshot.data)}function b(l,u){const i=Mt(l.params,u.params)&&function Fn(l,u){return ar(l,u)&&l.every((i,d)=>Mt(i.parameters,u[d].parameters))}(l.url,u.url);return i&&!(!l.parent!=!u.parent)&&(!l.parent||b(l.parent,u.parent))}let _=(()=>{class l{constructor(){this.activated=null,this._activatedRoute=null,this.name=ke,this.activateEvents=new s.vpe,this.deactivateEvents=new s.vpe,this.attachEvents=new s.vpe,this.detachEvents=new s.vpe,this.parentContexts=(0,s.f3M)(Ti),this.location=(0,s.f3M)(s.s_b),this.changeDetector=(0,s.f3M)(s.sBO),this.environmentInjector=(0,s.f3M)(s.lqb),this.inputBinder=(0,s.f3M)(A,{optional:!0}),this.supportsBindingToComponentInputs=!0}get activatedComponentRef(){return this.activated}ngOnChanges(i){if(i.name){const{firstChange:d,previousValue:h}=i.name;if(d)return;this.isTrackedInParentContexts(h)&&(this.deactivate(),this.parentContexts.onChildOutletDestroyed(h)),this.initializeOutletWithName()}}ngOnDestroy(){this.isTrackedInParentContexts(this.name)&&this.parentContexts.onChildOutletDestroyed(this.name),this.inputBinder?.unsubscribeFromRouteData(this)}isTrackedInParentContexts(i){return this.parentContexts.getContext(i)?.outlet===this}ngOnInit(){this.initializeOutletWithName()}initializeOutletWithName(){if(this.parentContexts.onChildOutletCreated(this.name,this),this.activated)return;const i=this.parentContexts.getContext(this.name);i?.route&&(i.attachRef?this.attach(i.attachRef,i.route):this.activateWith(i.route,i.injector))}get isActivated(){return!!this.activated}get component(){if(!this.activated)throw new s.vHH(4012,!1);return this.activated.instance}get activatedRoute(){if(!this.activated)throw new s.vHH(4012,!1);return this._activatedRoute}get activatedRouteData(){return this._activatedRoute?this._activatedRoute.snapshot.data:{}}detach(){if(!this.activated)throw new s.vHH(4012,!1);this.location.detach();const i=this.activated;return this.activated=null,this._activatedRoute=null,this.detachEvents.emit(i.instance),i}attach(i,d){this.activated=i,this._activatedRoute=d,this.location.insert(i.hostView),this.inputBinder?.bindActivatedRouteToOutletComponent(this),this.attachEvents.emit(i.instance)}deactivate(){if(this.activated){const i=this.component;this.activated.destroy(),this.activated=null,this._activatedRoute=null,this.deactivateEvents.emit(i)}}activateWith(i,d){if(this.isActivated)throw new s.vHH(4013,!1);this._activatedRoute=i;const h=this.location,E=i.snapshot.component,R=this.parentContexts.getOrCreateContext(this.name).children,$=new S(i,R,h.injector);this.activated=h.createComponent(E,{index:h.length,injector:$,environmentInjector:d??this.environmentInjector}),this.changeDetector.markForCheck(),this.inputBinder?.bindActivatedRouteToOutletComponent(this),this.activateEvents.emit(this.activated.instance)}}return l.\u0275fac=function(i){return new(i||l)},l.\u0275dir=s.lG2({type:l,selectors:[["router-outlet"]],inputs:{name:"name"},outputs:{activateEvents:"activate",deactivateEvents:"deactivate",attachEvents:"attach",detachEvents:"detach"},exportAs:["outlet"],standalone:!0,features:[s.TTD]}),l})();class S{constructor(u,i,d){this.route=u,this.childContexts=i,this.parent=d}get(u,i){return u===fi?this.route:u===Ti?this.childContexts:this.parent.get(u,i)}}const A=new s.OlP("");let K=(()=>{class l{constructor(){this.outletDataSubscriptions=new Map}bindActivatedRouteToOutletComponent(i){this.unsubscribeFromRouteData(i),this.subscribeToRouteData(i)}unsubscribeFromRouteData(i){this.outletDataSubscriptions.get(i)?.unsubscribe(),this.outletDataSubscriptions.delete(i)}subscribeToRouteData(i){const{activatedRoute:d}=i,h=(0,fr.aj)([d.queryParams,d.params,d.data]).pipe((0,vn.w)(([C,E,R],$)=>(R={...C,...E,...R},0===$?(0,We.of)(R):Promise.resolve(R)))).subscribe(C=>{if(!i.isActivated||!i.activatedComponentRef||i.activatedRoute!==d||null===d.component)return void this.unsubscribeFromRouteData(i);const E=(0,s.qFp)(d.component);if(E)for(const{templateName:R}of E.inputs)i.activatedComponentRef.setInput(R,C[R]);else this.unsubscribeFromRouteData(i)});this.outletDataSubscriptions.set(i,h)}}return l.\u0275fac=function(i){return new(i||l)},l.\u0275prov=s.Yz7({token:l,factory:l.\u0275fac}),l})();function Fe(l,u,i){if(i&&l.shouldReuseRoute(u.value,i.value.snapshot)){const d=i.value;d._futureSnapshot=u.value;const h=function vt(l,u,i){return u.children.map(d=>{for(const h of i.children)if(l.shouldReuseRoute(d.value,h.value.snapshot))return Fe(l,d,h);return Fe(l,d)})}(l,u,i);return new lo(d,h)}{if(l.shouldAttach(u.value)){const C=l.retrieve(u.value);if(null!==C){const E=C.route;return E.value._futureSnapshot=u.value,E.children=u.children.map(R=>Fe(l,R)),E}}const d=function At(l){return new fi(new mn.X(l.url),new mn.X(l.params),new mn.X(l.queryParams),new mn.X(l.fragment),new mn.X(l.data),l.outlet,l.component,l)}(u.value),h=u.children.map(C=>Fe(l,C));return new lo(d,h)}}const Ct="ngNavigationCancelingError";function at(l,u){const{redirectTo:i,navigationBehaviorOptions:d}=$r(u)?{redirectTo:u,navigationBehaviorOptions:void 0}:u,h=nn(!1,0,u);return h.url=i,h.navigationBehaviorOptions=d,h}function nn(l,u,i){const d=new Error("NavigationCancelingError: "+(l||""));return d[Ct]=!0,d.cancellationCode=u,i&&(d.url=i),d}function Nt(l){return Dn(l)&&$r(l.url)}function Dn(l){return l&&l[Ct]}let Ge=(()=>{class l{}return l.\u0275fac=function(i){return new(i||l)},l.\u0275cmp=s.Xpm({type:l,selectors:[["ng-component"]],standalone:!0,features:[s.jDz],decls:1,vars:0,template:function(i,d){1&i&&s._UZ(0,"router-outlet")},dependencies:[_],encapsulation:2}),l})();function Aa(l){const u=l.children&&l.children.map(Aa),i=u?{...l,children:u}:{...l};return!i.component&&!i.loadComponent&&(u||i.loadChildren)&&i.outlet&&i.outlet!==ke&&(i.component=Ge),i}function co(l){return l.outlet||ke}function fe(l){if(!l)return null;if(l.routeConfig?._injector)return l.routeConfig._injector;for(let u=l.parent;u;u=u.parent){const i=u.routeConfig;if(i?._loadedInjector)return i._loadedInjector;if(i?._injector)return i._injector}return null}class Hu{constructor(u,i,d,h,C){this.routeReuseStrategy=u,this.futureState=i,this.currState=d,this.forwardEvent=h,this.inputBindingEnabled=C}activate(u){const i=this.futureState._root,d=this.currState?this.currState._root:null;this.deactivateChildRoutes(i,d,u),p(this.futureState.root),this.activateChildRoutes(i,d,u)}deactivateChildRoutes(u,i,d){const h=Ro(i);u.children.forEach(C=>{const E=C.value.outlet;this.deactivateRoutes(C,h[E],d),delete h[E]}),Object.values(h).forEach(C=>{this.deactivateRouteAndItsChildren(C,d)})}deactivateRoutes(u,i,d){const h=u.value,C=i?i.value:null;if(h===C)if(h.component){const E=d.getContext(h.outlet);E&&this.deactivateChildRoutes(u,i,E.children)}else this.deactivateChildRoutes(u,i,d);else C&&this.deactivateRouteAndItsChildren(i,d)}deactivateRouteAndItsChildren(u,i){u.value.component&&this.routeReuseStrategy.shouldDetach(u.value.snapshot)?this.detachAndStoreRouteSubtree(u,i):this.deactivateRouteAndOutlet(u,i)}detachAndStoreRouteSubtree(u,i){const d=i.getContext(u.value.outlet),h=d&&u.value.component?d.children:i,C=Ro(u);for(const E of Object.keys(C))this.deactivateRouteAndItsChildren(C[E],h);if(d&&d.outlet){const E=d.outlet.detach(),R=d.children.onOutletDeactivated();this.routeReuseStrategy.store(u.value.snapshot,{componentRef:E,route:u,contexts:R})}}deactivateRouteAndOutlet(u,i){const d=i.getContext(u.value.outlet),h=d&&u.value.component?d.children:i,C=Ro(u);for(const E of Object.keys(C))this.deactivateRouteAndItsChildren(C[E],h);d&&(d.outlet&&(d.outlet.deactivate(),d.children.onOutletDeactivated()),d.attachRef=null,d.route=null)}activateChildRoutes(u,i,d){const h=Ro(i);u.children.forEach(C=>{this.activateRoutes(C,h[C.value.outlet],d),this.forwardEvent(new bc(C.value.snapshot))}),u.children.length&&this.forwardEvent(new Pu(u.value.snapshot))}activateRoutes(u,i,d){const h=u.value,C=i?i.value:null;if(p(h),h===C)if(h.component){const E=d.getOrCreateContext(h.outlet);this.activateChildRoutes(u,i,E.children)}else this.activateChildRoutes(u,i,d);else if(h.component){const E=d.getOrCreateContext(h.outlet);if(this.routeReuseStrategy.shouldAttach(h.snapshot)){const R=this.routeReuseStrategy.retrieve(h.snapshot);this.routeReuseStrategy.store(h.snapshot,null),E.children.onOutletReAttached(R.contexts),E.attachRef=R.componentRef,E.route=R.route.value,E.outlet&&E.outlet.attach(R.componentRef,R.route.value),p(R.route.value),this.activateChildRoutes(u,null,E.children)}else{const R=fe(h.snapshot);E.attachRef=null,E.route=h,E.injector=R,E.outlet&&E.outlet.activateWith(h,E.injector),this.activateChildRoutes(u,null,E.children)}}else this.activateChildRoutes(u,null,d)}}class kn{constructor(u){this.path=u,this.route=this.path[this.path.length-1]}}class ts{constructor(u,i){this.component=u,this.route=i}}function ns(l,u,i){const d=l._root;return hi(d,u?u._root:null,i,[d.value])}function Jo(l,u){const i=Symbol(),d=u.get(l,i);return d===i?"function"!=typeof l||(0,s.Z0I)(l)?u.get(l):l:d}function hi(l,u,i,d,h={canDeactivateChecks:[],canActivateChecks:[]}){const C=Ro(u);return l.children.forEach(E=>{(function Mc(l,u,i,d,h={canDeactivateChecks:[],canActivateChecks:[]}){const C=l.value,E=u?u.value:null,R=i?i.getContext(l.value.outlet):null;if(E&&C.routeConfig===E.routeConfig){const $=function fh(l,u,i){if("function"==typeof i)return i(l,u);switch(i){case"pathParamsChange":return!ar(l.url,u.url);case"pathParamsOrQueryParamsChange":return!ar(l.url,u.url)||!Mt(l.queryParams,u.queryParams);case"always":return!0;case"paramsOrQueryParamsChange":return!b(l,u)||!Mt(l.queryParams,u.queryParams);default:return!b(l,u)}}(E,C,C.routeConfig.runGuardsAndResolvers);$?h.canActivateChecks.push(new kn(d)):(C.data=E.data,C._resolvedData=E._resolvedData),hi(l,u,C.component?R?R.children:null:i,d,h),$&&R&&R.outlet&&R.outlet.isActivated&&h.canDeactivateChecks.push(new ts(R.outlet.component,E))}else E&&Ri(u,R,h),h.canActivateChecks.push(new kn(d)),hi(l,null,C.component?R?R.children:null:i,d,h)})(E,C[E.value.outlet],i,d.concat([E.value]),h),delete C[E.value.outlet]}),Object.entries(C).forEach(([E,R])=>Ri(R,i.getContext(E),h)),h}function Ri(l,u,i){const d=Ro(l),h=l.value;Object.entries(d).forEach(([C,E])=>{Ri(E,h.component?u?u.children.getContext(C):null:u,i)}),i.canDeactivateChecks.push(new ts(h.component&&u&&u.outlet&&u.outlet.isActivated?u.outlet.component:null,h))}function Rn(l){return"function"==typeof l}function Rs(l){return l instanceof Qt||"EmptyError"===l?.name}const Pi=Symbol("INITIAL_VALUE");function pi(){return(0,vn.w)(l=>(0,fr.aj)(l.map(u=>u.pipe(nr(1),(0,Er.O)(Pi)))).pipe((0,Dt.U)(u=>{for(const i of u)if(!0!==i){if(i===Pi)return Pi;if(!1===i||i instanceof Yn)return i}return!0}),On(u=>u!==Pi),nr(1)))}function Yu(l){return(0,Lr.z)((0,dn.b)(u=>{if($r(u))throw at(0,u)}),(0,Dt.U)(u=>!0===u))}class Vn{constructor(u){this.segmentGroup=u||null}}class Qo{constructor(u){this.urlTree=u}}function Ht(l){return Un(new Vn(l))}function Zu(l){return Un(new Qo(l))}class xc{constructor(u,i){this.urlSerializer=u,this.urlTree=i}noMatchError(u){return new s.vHH(4002,!1)}lineralizeSegments(u,i){let d=[],h=i.root;for(;;){if(d=d.concat(h.segments),0===h.numberOfChildren)return(0,We.of)(d);if(h.numberOfChildren>1||!h.children[ke])return Un(new s.vHH(4e3,!1));h=h.children[ke]}}applyRedirectCommands(u,i,d){return this.applyRedirectCreateUrlTree(i,this.urlSerializer.parse(i),u,d)}applyRedirectCreateUrlTree(u,i,d,h){const C=this.createSegmentGroup(u,i.root,d,h);return new Yn(C,this.createQueryParams(i.queryParams,this.urlTree.queryParams),i.fragment)}createQueryParams(u,i){const d={};return Object.entries(u).forEach(([h,C])=>{if("string"==typeof C&&C.startsWith(":")){const R=C.substring(1);d[h]=i[R]}else d[h]=C}),d}createSegmentGroup(u,i,d,h){const C=this.createSegments(u,i.segments,d,h);let E={};return Object.entries(i.children).forEach(([R,$])=>{E[R]=this.createSegmentGroup(u,$,d,h)}),new dt(C,E)}createSegments(u,i,d,h){return i.map(C=>C.path.startsWith(":")?this.findPosParam(u,C,h):this.findOrReturn(C,d))}findPosParam(u,i,d){const h=d[i.path.substring(1)];if(!h)throw new s.vHH(4001,!1);return h}findOrReturn(u,i){let d=0;for(const h of i){if(h.path===u.path)return i.splice(d),h;d++}return u}}const xs={matched:!1,consumedSegments:[],remainingSegments:[],parameters:{},positionalParamSegments:{}};function qu(l,u,i,d,h){const C=Fi(l,u,i);return C.matched?(d=function no(l,u){return l.providers&&!l._injector&&(l._injector=(0,s.MMx)(l.providers,u,`Route: ${l.path}`)),l._injector??u}(u,d),function Nc(l,u,i,d){const h=u.canMatch;if(!h||0===h.length)return(0,We.of)(!0);const C=h.map(E=>{const R=Jo(E,l);return fn(function Bu(l){return l&&Rn(l.canMatch)}(R)?R.canMatch(u,i):l.runInContext(()=>R(u,i)))});return(0,We.of)(C).pipe(pi(),Yu())}(d,u,i).pipe((0,Dt.U)(E=>!0===E?C:{...xs}))):(0,We.of)(C)}function Fi(l,u,i){if(""===u.path)return"full"===u.pathMatch&&(l.hasChildren()||i.length>0)?{...xs}:{matched:!0,consumedSegments:[],remainingSegments:i,parameters:{},positionalParamSegments:{}};const h=(u.matcher||zn)(i,l,u);if(!h)return{...xs};const C={};Object.entries(h.posParams??{}).forEach(([R,$])=>{C[R]=$.path});const E=h.consumed.length>0?{...C,...h.consumed[h.consumed.length-1].parameters}:C;return{matched:!0,consumedSegments:h.consumed,remainingSegments:i.slice(h.consumed.length),parameters:E,positionalParamSegments:h.posParams??{}}}function Lo(l,u,i,d){return i.length>0&&function Fs(l,u,i){return i.some(d=>Li(l,u,d)&&co(d)!==ke)}(l,i,d)?{segmentGroup:new dt(u,Ps(d,new dt(i,l.children))),slicedSegments:[]}:0===i.length&&function Ls(l,u,i){return i.some(d=>Li(l,u,d))}(l,i,d)?{segmentGroup:new dt(l.segments,Pc(l,0,i,d,l.children)),slicedSegments:i}:{segmentGroup:new dt(l.segments,l.children),slicedSegments:i}}function Pc(l,u,i,d,h){const C={};for(const E of d)if(Li(l,i,E)&&!h[co(E)]){const R=new dt([],{});C[co(E)]=R}return{...h,...C}}function Ps(l,u){const i={};i[ke]=u;for(const d of l)if(""===d.path&&co(d)!==ke){const h=new dt([],{});i[co(d)]=h}return i}function Li(l,u,i){return(!(l.hasChildren()||u.length>0)||"full"!==i.pathMatch)&&""===i.path}class ki{constructor(u,i,d,h,C,E,R){this.injector=u,this.configLoader=i,this.rootComponentType=d,this.config=h,this.urlTree=C,this.paramsInheritanceStrategy=E,this.urlSerializer=R,this.allowRedirects=!0,this.applyRedirects=new xc(this.urlSerializer,this.urlTree)}noMatchError(u){return new s.vHH(4002,!1)}recognize(){const u=Lo(this.urlTree.root,[],[],this.config).segmentGroup;return this.processSegmentGroup(this.injector,this.config,u,ke).pipe((0,so.K)(i=>{if(i instanceof Qo)return this.allowRedirects=!1,this.urlTree=i.urlTree,this.match(i.urlTree);throw i instanceof Vn?this.noMatchError(i):i}),(0,Dt.U)(i=>{const d=new Ai([],Object.freeze({}),Object.freeze({...this.urlTree.queryParams}),this.urlTree.fragment,{},ke,this.rootComponentType,null,{}),h=new lo(d,i),C=new Gt("",h),E=function Ki(l,u,i=null,d=null){return Ji(ci(l),u,i,d)}(d,[],this.urlTree.queryParams,this.urlTree.fragment);return E.queryParams=this.urlTree.queryParams,C.url=this.urlSerializer.serialize(E),this.inheritParamsAndData(C._root),{state:C,tree:E}}))}match(u){return this.processSegmentGroup(this.injector,this.config,u.root,ke).pipe((0,so.K)(d=>{throw d instanceof Vn?this.noMatchError(d):d}))}inheritParamsAndData(u){const i=u.value,d=to(i,this.paramsInheritanceStrategy);i.params=Object.freeze(d.params),i.data=Object.freeze(d.data),u.children.forEach(h=>this.inheritParamsAndData(h))}processSegmentGroup(u,i,d,h){return 0===d.segments.length&&d.hasChildren()?this.processChildren(u,i,d):this.processSegment(u,i,d,d.segments,h,!0)}processChildren(u,i,d){const h=[];for(const C of Object.keys(d.children))"primary"===C?h.unshift(C):h.push(C);return(0,Bt.D)(h).pipe(or(C=>{const E=d.children[C],R=function Sc(l,u){const i=l.filter(d=>co(d)===u);return i.push(...l.filter(d=>co(d)!==u)),i}(i,C);return this.processSegmentGroup(u,R,E,C)}),function To(l,u){let i=!1;return arguments.length>=2&&(i=!0),function(h){return h.lift(new wr(l,u,i))}}((C,E)=>(C.push(...E),C)),kr(null),function P(l,u){const i=arguments.length>=2;return d=>d.pipe(l?On((h,C)=>l(h,C,d)):io.y,O(1),i?kr(u):mo(()=>new Qt))}(),(0,en.zg)(C=>{if(null===C)return Ht(d);const E=kc(C);return function rs(l){l.sort((u,i)=>u.value.outlet===ke?-1:i.value.outlet===ke?1:u.value.outlet.localeCompare(i.value.outlet))}(E),(0,We.of)(E)}))}processSegment(u,i,d,h,C,E){return(0,Bt.D)(i).pipe(or(R=>this.processSegmentAgainstRoute(R._injector??u,i,R,d,h,C,E).pipe((0,so.K)($=>{if($ instanceof Vn)return(0,We.of)(null);throw $}))),Gn(R=>!!R),(0,so.K)(R=>{if(Rs(R))return function Ju(l,u,i){return 0===u.length&&!l.children[i]}(d,h,C)?(0,We.of)([]):Ht(d);throw R}))}processSegmentAgainstRoute(u,i,d,h,C,E,R){return function Ku(l,u,i,d){return!!(co(l)===d||d!==ke&&Li(u,i,l))&&("**"===l.path||Fi(u,l,i).matched)}(d,h,C,E)?void 0===d.redirectTo?this.matchSegmentAgainstRoute(u,h,d,C,E,R):R&&this.allowRedirects?this.expandSegmentAgainstRouteUsingRedirect(u,h,i,d,C,E):Ht(h):Ht(h)}expandSegmentAgainstRouteUsingRedirect(u,i,d,h,C,E){return"**"===h.path?this.expandWildCardWithParamsAgainstRouteUsingRedirect(u,d,h,E):this.expandRegularSegmentAgainstRouteUsingRedirect(u,i,d,h,C,E)}expandWildCardWithParamsAgainstRouteUsingRedirect(u,i,d,h){const C=this.applyRedirects.applyRedirectCommands([],d.redirectTo,{});return d.redirectTo.startsWith("/")?Zu(C):this.applyRedirects.lineralizeSegments(d,C).pipe((0,en.zg)(E=>{const R=new dt(E,{});return this.processSegment(u,i,R,E,h,!1)}))}expandRegularSegmentAgainstRouteUsingRedirect(u,i,d,h,C,E){const{matched:R,consumedSegments:$,remainingSegments:Ce,positionalParamSegments:Re}=Fi(i,h,C);if(!R)return Ht(i);const et=this.applyRedirects.applyRedirectCommands($,h.redirectTo,Re);return h.redirectTo.startsWith("/")?Zu(et):this.applyRedirects.lineralizeSegments(h,et).pipe((0,en.zg)(Kt=>this.processSegment(u,d,i,Kt.concat(Ce),E,!1)))}matchSegmentAgainstRoute(u,i,d,h,C,E){let R;if("**"===d.path){const $=h.length>0?Rt(h).parameters:{},Ce=new Ai(h,$,Object.freeze({...this.urlTree.queryParams}),this.urlTree.fragment,Vc(d),co(d),d.component??d._loadedComponent??null,d,Xu(d));R=(0,We.of)({snapshot:Ce,consumedSegments:[],remainingSegments:[]}),i.children={}}else R=qu(i,d,h,u).pipe((0,Dt.U)(({matched:$,consumedSegments:Ce,remainingSegments:Re,parameters:et})=>$?{snapshot:new Ai(Ce,et,Object.freeze({...this.urlTree.queryParams}),this.urlTree.fragment,Vc(d),co(d),d.component??d._loadedComponent??null,d,Xu(d)),consumedSegments:Ce,remainingSegments:Re}:null));return R.pipe((0,vn.w)($=>null===$?Ht(i):this.getChildConfig(u=d._injector??u,d,h).pipe((0,vn.w)(({routes:Ce})=>{const Re=d._loadedInjector??u,{snapshot:et,consumedSegments:Kt,remainingSegments:ei}=$,{segmentGroup:ti,slicedSegments:vi}=Lo(i,Kt,ei,Ce);if(0===vi.length&&ti.hasChildren())return this.processChildren(Re,Ce,ti).pipe((0,Dt.U)(rn=>null===rn?null:[new lo(et,rn)]));if(0===Ce.length&&0===vi.length)return(0,We.of)([new lo(et,[])]);const Ft=co(d)===C;return this.processSegment(Re,Ce,ti,vi,Ft?ke:C,!0).pipe((0,Dt.U)(rn=>[new lo(et,rn)]))}))))}getChildConfig(u,i,d){return i.children?(0,We.of)({routes:i.children,injector:u}):i.loadChildren?void 0!==i._loadedRoutes?(0,We.of)({routes:i._loadedRoutes,injector:i._loadedInjector}):function Ra(l,u,i,d){const h=u.canLoad;if(void 0===h||0===h.length)return(0,We.of)(!0);const C=h.map(E=>{const R=Jo(E,l);return fn(function ju(l){return l&&Rn(l.canLoad)}(R)?R.canLoad(u,i):l.runInContext(()=>R(u,i)))});return(0,We.of)(C).pipe(pi(),Yu())}(u,i,d).pipe((0,en.zg)(h=>h?this.configLoader.loadChildren(u,i).pipe((0,dn.b)(C=>{i._loadedRoutes=C.routes,i._loadedInjector=C.injector})):function Rc(l){return Un(nn(!1,3))}())):(0,We.of)({routes:[],injector:u})}}function Lc(l){const u=l.value.routeConfig;return u&&""===u.path}function kc(l){const u=[],i=new Set;for(const d of l){if(!Lc(d)){u.push(d);continue}const h=u.find(C=>d.value.routeConfig===C.value.routeConfig);void 0!==h?(h.children.push(...d.children),i.add(h)):u.push(d)}for(const d of i){const h=kc(d.children);u.push(new lo(d.value,h))}return u.filter(d=>!i.has(d))}function Vc(l){return l.data||{}}function Xu(l){return l.resolve||{}}function os(l){return"string"==typeof l.title||null===l.title}function is(l){return(0,vn.w)(u=>{const i=l(u);return i?(0,Bt.D)(i).pipe((0,Dt.U)(()=>u)):(0,We.of)(u)})}const ko=new s.OlP("ROUTES");let tl=(()=>{class l{constructor(){this.componentLoaders=new WeakMap,this.childrenLoaders=new WeakMap,this.compiler=(0,s.f3M)(s.Sil)}loadComponent(i){if(this.componentLoaders.get(i))return this.componentLoaders.get(i);if(i._loadedComponent)return(0,We.of)(i._loadedComponent);this.onLoadStartListener&&this.onLoadStartListener(i);const d=fn(i.loadComponent()).pipe((0,Dt.U)(xa),(0,dn.b)(C=>{this.onLoadEndListener&&this.onLoadEndListener(i),i._loadedComponent=C}),Sr(()=>{this.componentLoaders.delete(i)})),h=new tr.c(d,()=>new Oe.xQ).pipe((0,Io.x)());return this.componentLoaders.set(i,h),h}loadChildren(i,d){if(this.childrenLoaders.get(d))return this.childrenLoaders.get(d);if(d._loadedRoutes)return(0,We.of)({routes:d._loadedRoutes,injector:d._loadedInjector});this.onLoadStartListener&&this.onLoadStartListener(d);const C=this.loadModuleFactoryOrRoutes(d.loadChildren).pipe((0,Dt.U)(R=>{this.onLoadEndListener&&this.onLoadEndListener(d);let $,Ce;return Array.isArray(R)?Ce=R:($=R.create(i).injector,Ce=$.get(ko,[],s.XFs.Self|s.XFs.Optional).flat()),{routes:Ce.map(Aa),injector:$}}),Sr(()=>{this.childrenLoaders.delete(d)})),E=new tr.c(C,()=>new Oe.xQ).pipe((0,Io.x)());return this.childrenLoaders.set(d,E),E}loadModuleFactoryOrRoutes(i){return fn(i()).pipe((0,Dt.U)(xa),(0,en.zg)(d=>d instanceof s.YKP||Array.isArray(d)?(0,We.of)(d):(0,Bt.D)(this.compiler.compileModuleAsync(d))))}}return l.\u0275fac=function(i){return new(i||l)},l.\u0275prov=s.Yz7({token:l,factory:l.\u0275fac,providedIn:"root"}),l})();function xa(l){return function nl(l){return l&&"object"==typeof l&&"default"in l}(l)?l.default:l}let Vs=(()=>{class l{get hasRequestedNavigation(){return 0!==this.navigationId}constructor(){this.currentNavigation=null,this.lastSuccessfulNavigation=null,this.events=new Oe.xQ,this.configLoader=(0,s.f3M)(tl),this.environmentInjector=(0,s.f3M)(s.lqb),this.urlSerializer=(0,s.f3M)(rt),this.rootContexts=(0,s.f3M)(Ti),this.inputBindingEnabled=null!==(0,s.f3M)(A,{optional:!0}),this.navigationId=0,this.afterPreactivation=()=>(0,We.of)(void 0),this.rootComponentType=null,this.configLoader.onLoadEndListener=h=>this.events.next(new xu(h)),this.configLoader.onLoadStartListener=h=>this.events.next(new Mi(h))}complete(){this.transitions?.complete()}handleNavigationRequest(i){const d=++this.navigationId;this.transitions?.next({...this.transitions.value,...i,id:d})}setupNavigations(i){return this.transitions=new mn.X({id:0,currentUrlTree:i.currentUrlTree,currentRawUrl:i.currentUrlTree,extractedUrl:i.urlHandlingStrategy.extract(i.currentUrlTree),urlAfterRedirects:i.urlHandlingStrategy.extract(i.currentUrlTree),rawUrl:i.currentUrlTree,extras:{},resolve:null,reject:null,promise:Promise.resolve(!0),source:ur,restoredState:null,currentSnapshot:i.routerState.snapshot,targetSnapshot:null,currentRouterState:i.routerState,targetRouterState:null,guards:{canActivateChecks:[],canDeactivateChecks:[]},guardsResult:null}),this.transitions.pipe(On(d=>0!==d.id),(0,Dt.U)(d=>({...d,extractedUrl:i.urlHandlingStrategy.extract(d.rawUrl)})),(0,vn.w)(d=>{let h=!1,C=!1;return(0,We.of)(d).pipe((0,dn.b)(E=>{this.currentNavigation={id:E.id,initialUrl:E.rawUrl,extractedUrl:E.extractedUrl,trigger:E.source,extras:E.extras,previousNavigation:this.lastSuccessfulNavigation?{...this.lastSuccessfulNavigation,previousNavigation:null}:null}}),(0,vn.w)(E=>{const R=i.browserUrlTree.toString(),$=!i.navigated||E.extractedUrl.toString()!==R||R!==i.currentUrlTree.toString();if(!$&&"reload"!==(E.extras.onSameUrlNavigation??i.onSameUrlNavigation)){const Re="";return this.events.next(new Qi(E.id,i.serializeUrl(d.rawUrl),Re,0)),i.rawUrlTree=E.rawUrl,E.resolve(null),Ot}if(i.urlHandlingStrategy.shouldProcessUrl(E.rawUrl))return fo(E.source)&&(i.browserUrlTree=E.extractedUrl),(0,We.of)(E).pipe((0,vn.w)(Re=>{const et=this.transitions?.getValue();return this.events.next(new uo(Re.id,this.urlSerializer.serialize(Re.extractedUrl),Re.source,Re.restoredState)),et!==this.transitions?.getValue()?Ot:Promise.resolve(Re)}),function Hc(l,u,i,d,h,C){return(0,en.zg)(E=>function Fc(l,u,i,d,h,C,E="emptyOnly"){return new ki(l,u,i,d,h,E,C).recognize()}(l,u,i,d,E.extractedUrl,h,C).pipe((0,Dt.U)(({state:R,tree:$})=>({...E,targetSnapshot:R,urlAfterRedirects:$}))))}(this.environmentInjector,this.configLoader,this.rootComponentType,i.config,this.urlSerializer,i.paramsInheritanceStrategy),(0,dn.b)(Re=>{if(d.targetSnapshot=Re.targetSnapshot,d.urlAfterRedirects=Re.urlAfterRedirects,this.currentNavigation={...this.currentNavigation,finalUrl:Re.urlAfterRedirects},"eager"===i.urlUpdateStrategy){if(!Re.extras.skipLocationChange){const Kt=i.urlHandlingStrategy.merge(Re.urlAfterRedirects,Re.rawUrl);i.setBrowserUrl(Kt,Re)}i.browserUrlTree=Re.urlAfterRedirects}const et=new Si(Re.id,this.urlSerializer.serialize(Re.extractedUrl),this.urlSerializer.serialize(Re.urlAfterRedirects),Re.targetSnapshot);this.events.next(et)}));if($&&i.urlHandlingStrategy.shouldProcessUrl(i.rawUrlTree)){const{id:Re,extractedUrl:et,source:Kt,restoredState:ei,extras:ti}=E,vi=new uo(Re,this.urlSerializer.serialize(et),Kt,ei);this.events.next(vi);const Ft=Ta(0,this.rootComponentType).snapshot;return d={...E,targetSnapshot:Ft,urlAfterRedirects:et,extras:{...ti,skipLocationChange:!1,replaceUrl:!1}},(0,We.of)(d)}{const Re="";return this.events.next(new Qi(E.id,i.serializeUrl(d.extractedUrl),Re,1)),i.rawUrlTree=E.rawUrl,E.resolve(null),Ot}}),(0,dn.b)(E=>{const R=new di(E.id,this.urlSerializer.serialize(E.extractedUrl),this.urlSerializer.serialize(E.urlAfterRedirects),E.targetSnapshot);this.events.next(R)}),(0,Dt.U)(E=>d={...E,guards:ns(E.targetSnapshot,E.currentSnapshot,this.rootContexts)}),function Na(l,u){return(0,en.zg)(i=>{const{targetSnapshot:d,currentSnapshot:h,guards:{canActivateChecks:C,canDeactivateChecks:E}}=i;return 0===E.length&&0===C.length?(0,We.of)({...i,guardsResult:!0}):function Ac(l,u,i,d){return(0,Bt.D)(l).pipe((0,en.zg)(h=>function Wu(l,u,i,d,h){const C=u&&u.routeConfig?u.routeConfig.canDeactivate:null;if(!C||0===C.length)return(0,We.of)(!0);const E=C.map(R=>{const $=fe(u)??h,Ce=Jo(R,$);return fn(function Tc(l){return l&&Rn(l.canDeactivate)}(Ce)?Ce.canDeactivate(l,u,i,d):$.runInContext(()=>Ce(l,u,i,d))).pipe(Gn())});return(0,We.of)(E).pipe(pi())}(h.component,h.route,i,u,d)),Gn(h=>!0!==h,!0))}(E,d,h,l).pipe((0,en.zg)(R=>R&&function Po(l){return"boolean"==typeof l}(R)?function Uu(l,u,i,d){return(0,Bt.D)(u).pipe(or(h=>(0,yn.z)(function $u(l,u){return null!==l&&u&&u(new Xi(l)),(0,We.of)(!0)}(h.route.parent,d),function Oa(l,u){return null!==l&&u&&u(new Cc(l)),(0,We.of)(!0)}(h.route,d),function zu(l,u,i){const d=u[u.length-1],C=u.slice(0,u.length-1).reverse().map(E=>function bo(l){const u=l.routeConfig?l.routeConfig.canActivateChild:null;return u&&0!==u.length?{node:l,guards:u}:null}(E)).filter(E=>null!==E).map(E=>pr(()=>{const R=E.guards.map($=>{const Ce=fe(E.node)??i,Re=Jo($,Ce);return fn(function Fo(l){return l&&Rn(l.canActivateChild)}(Re)?Re.canActivateChild(d,l):Ce.runInContext(()=>Re(d,l))).pipe(Gn())});return(0,We.of)(R).pipe(pi())}));return(0,We.of)(C).pipe(pi())}(l,h.path,i),function Gu(l,u,i){const d=u.routeConfig?u.routeConfig.canActivate:null;if(!d||0===d.length)return(0,We.of)(!0);const h=d.map(C=>pr(()=>{const E=fe(u)??i,R=Jo(C,E);return fn(function xi(l){return l&&Rn(l.canActivate)}(R)?R.canActivate(u,l):E.runInContext(()=>R(u,l))).pipe(Gn())}));return(0,We.of)(h).pipe(pi())}(l,h.route,i))),Gn(h=>!0!==h,!0))}(d,C,l,u):(0,We.of)(R)),(0,Dt.U)(R=>({...i,guardsResult:R})))})}(this.environmentInjector,E=>this.events.next(E)),(0,dn.b)(E=>{if(d.guardsResult=E.guardsResult,$r(E.guardsResult))throw at(0,E.guardsResult);const R=new Ru(E.id,this.urlSerializer.serialize(E.extractedUrl),this.urlSerializer.serialize(E.urlAfterRedirects),E.targetSnapshot,!!E.guardsResult);this.events.next(R)}),On(E=>!!E.guardsResult||(i.restoreHistory(E),this.cancelNavigationTransition(E,"",3),!1)),is(E=>{if(E.guards.canActivateChecks.length)return(0,We.of)(E).pipe((0,dn.b)(R=>{const $=new Dc(R.id,this.urlSerializer.serialize(R.extractedUrl),this.urlSerializer.serialize(R.urlAfterRedirects),R.targetSnapshot);this.events.next($)}),(0,vn.w)(R=>{let $=!1;return(0,We.of)(R).pipe(function ph(l,u){return(0,en.zg)(i=>{const{targetSnapshot:d,guards:{canActivateChecks:h}}=i;if(!h.length)return(0,We.of)(i);let C=0;return(0,Bt.D)(h).pipe(or(E=>function gh(l,u,i,d){const h=l.routeConfig,C=l._resolve;return void 0!==h?.title&&!os(h)&&(C[we]=h.title),function el(l,u,i,d){const h=function ks(l){return[...Object.keys(l),...Object.getOwnPropertySymbols(l)]}(l);if(0===h.length)return(0,We.of)({});const C={};return(0,Bt.D)(h).pipe((0,en.zg)(E=>function jc(l,u,i,d){const h=fe(u)??d,C=Jo(l,h);return fn(C.resolve?C.resolve(u,i):h.runInContext(()=>C(u,i)))}(l[E],u,i,d).pipe(Gn(),(0,dn.b)(R=>{C[E]=R}))),O(1),function Ee(l){return u=>u.lift(new Pe(l))}(C),(0,so.K)(E=>Rs(E)?Ot:Un(E)))}(C,l,u,d).pipe((0,Dt.U)(E=>(l._resolvedData=E,l.data=to(l,i).resolve,h&&os(h)&&(l.data[we]=h.title),null)))}(E.route,d,l,u)),(0,dn.b)(()=>C++),O(1),(0,en.zg)(E=>C===h.length?(0,We.of)(i):Ot))})}(i.paramsInheritanceStrategy,this.environmentInjector),(0,dn.b)({next:()=>$=!0,complete:()=>{$||(i.restoreHistory(R),this.cancelNavigationTransition(R,"",2))}}))}),(0,dn.b)(R=>{const $=new Ms(R.id,this.urlSerializer.serialize(R.extractedUrl),this.urlSerializer.serialize(R.urlAfterRedirects),R.targetSnapshot);this.events.next($)}))}),is(E=>{const R=$=>{const Ce=[];$.routeConfig?.loadComponent&&!$.routeConfig._loadedComponent&&Ce.push(this.configLoader.loadComponent($.routeConfig).pipe((0,dn.b)(Re=>{$.component=Re}),(0,Dt.U)(()=>{})));for(const Re of $.children)Ce.push(...R(Re));return Ce};return(0,fr.aj)(R(E.targetSnapshot.root)).pipe(kr(),nr(1))}),is(()=>this.afterPreactivation()),(0,Dt.U)(E=>{const R=function ae(l,u,i){const d=Fe(l,u._root,i?i._root:void 0);return new Is(d,u)}(i.routeReuseStrategy,E.targetSnapshot,E.currentRouterState);return d={...E,targetRouterState:R}}),(0,dn.b)(E=>{i.currentUrlTree=E.urlAfterRedirects,i.rawUrlTree=i.urlHandlingStrategy.merge(E.urlAfterRedirects,E.rawUrl),i.routerState=E.targetRouterState,"deferred"===i.urlUpdateStrategy&&(E.extras.skipLocationChange||i.setBrowserUrl(i.rawUrlTree,E),i.browserUrlTree=E.urlAfterRedirects)}),((l,u,i,d)=>(0,Dt.U)(h=>(new Hu(u,h.targetRouterState,h.currentRouterState,i,d).activate(l),h)))(this.rootContexts,i.routeReuseStrategy,E=>this.events.next(E),this.inputBindingEnabled),nr(1),(0,dn.b)({next:E=>{h=!0,this.lastSuccessfulNavigation=this.currentNavigation,i.navigated=!0,this.events.next(new Et(E.id,this.urlSerializer.serialize(E.extractedUrl),this.urlSerializer.serialize(i.currentUrlTree))),i.titleStrategy?.updateTitle(E.targetRouterState.snapshot),E.resolve(!0)},complete:()=>{h=!0}}),Sr(()=>{h||C||this.cancelNavigationTransition(d,"",1),this.currentNavigation?.id===d.id&&(this.currentNavigation=null)}),(0,so.K)(E=>{if(C=!0,Dn(E)){Nt(E)||(i.navigated=!0,i.restoreHistory(d,!0));const R=new lr(d.id,this.urlSerializer.serialize(d.extractedUrl),E.message,E.cancellationCode);if(this.events.next(R),Nt(E)){const $=i.urlHandlingStrategy.merge(E.url,i.rawUrlTree),Ce={skipLocationChange:d.extras.skipLocationChange,replaceUrl:"eager"===i.urlUpdateStrategy||fo(d.source)};i.scheduleNavigation($,ur,null,Ce,{resolve:d.resolve,reject:d.reject,promise:d.promise})}else d.resolve(!1)}else{i.restoreHistory(d,!0);const R=new wi(d.id,this.urlSerializer.serialize(d.extractedUrl),E,d.targetSnapshot??void 0);this.events.next(R);try{d.resolve(i.errorHandler(E))}catch($){d.reject($)}}return Ot}))}))}cancelNavigationTransition(i,d,h){const C=new lr(i.id,this.urlSerializer.serialize(i.extractedUrl),d,h);this.events.next(C),i.resolve(!1)}}return l.\u0275fac=function(i){return new(i||l)},l.\u0275prov=s.Yz7({token:l,factory:l.\u0275fac,providedIn:"root"}),l})();function fo(l){return l!==ur}let rl=(()=>{class l{buildTitle(i){let d,h=i.root;for(;void 0!==h;)d=this.getResolvedTitleForRoute(h)??d,h=h.children.find(C=>C.outlet===ke);return d}getResolvedTitleForRoute(i){return i.data[we]}}return l.\u0275fac=function(i){return new(i||l)},l.\u0275prov=s.Yz7({token:l,factory:function(){return(0,s.f3M)(Hs)},providedIn:"root"}),l})(),Hs=(()=>{class l extends rl{constructor(i){super(),this.title=i}updateTitle(i){const d=this.buildTitle(i);void 0!==d&&this.title.setTitle(d)}}return l.\u0275fac=function(i){return new(i||l)(s.LFG(ln))},l.\u0275prov=s.Yz7({token:l,factory:l.\u0275fac,providedIn:"root"}),l})(),Pa=(()=>{class l{}return l.\u0275fac=function(i){return new(i||l)},l.\u0275prov=s.Yz7({token:l,factory:function(){return(0,s.f3M)(Fa)},providedIn:"root"}),l})();class ol{shouldDetach(u){return!1}store(u,i){}shouldAttach(u){return!1}retrieve(u){return null}shouldReuseRoute(u,i){return u.routeConfig===i.routeConfig}}let Fa=(()=>{class l extends ol{}return l.\u0275fac=function(){let u;return function(d){return(u||(u=s.n5z(l)))(d||l)}}(),l.\u0275prov=s.Yz7({token:l,factory:l.\u0275fac,providedIn:"root"}),l})();const Vi=new s.OlP("",{providedIn:"root",factory:()=>({})});let Bc=(()=>{class l{}return l.\u0275fac=function(i){return new(i||l)},l.\u0275prov=s.Yz7({token:l,factory:function(){return(0,s.f3M)(il)},providedIn:"root"}),l})(),il=(()=>{class l{shouldProcessUrl(i){return!0}extract(i){return i}merge(i,d){return i}}return l.\u0275fac=function(i){return new(i||l)},l.\u0275prov=s.Yz7({token:l,factory:l.\u0275fac,providedIn:"root"}),l})();var Or=(()=>((Or=Or||{})[Or.COMPLETE=0]="COMPLETE",Or[Or.FAILED=1]="FAILED",Or[Or.REDIRECTING=2]="REDIRECTING",Or))();function La(l,u){l.events.pipe(On(i=>i instanceof Et||i instanceof lr||i instanceof wi||i instanceof Qi),(0,Dt.U)(i=>i instanceof Et||i instanceof Qi?Or.COMPLETE:i instanceof lr&&(0===i.code||1===i.code)?Or.REDIRECTING:Or.FAILED),On(i=>i!==Or.REDIRECTING),nr(1)).subscribe(()=>{u()})}function sl(l){throw l}function Uc(l,u,i){return u.parse("/")}const js={paths:"exact",fragment:"ignored",matrixParams:"ignored",queryParams:"exact"},gi={paths:"subset",fragment:"ignored",matrixParams:"ignored",queryParams:"subset"};let Gr=(()=>{class l{get navigationId(){return this.navigationTransitions.navigationId}get browserPageId(){if("computed"===this.canceledNavigationResolution)return this.location.getState()?.\u0275routerPageId}get events(){return this.navigationTransitions.events}constructor(){this.disposed=!1,this.currentPageId=0,this.console=(0,s.f3M)(s.c2e),this.isNgZoneEnabled=!1,this.options=(0,s.f3M)(Vi,{optional:!0})||{},this.pendingTasks=(0,s.f3M)(s.HDt),this.errorHandler=this.options.errorHandler||sl,this.malformedUriErrorHandler=this.options.malformedUriErrorHandler||Uc,this.navigated=!1,this.lastSuccessfulId=-1,this.urlHandlingStrategy=(0,s.f3M)(Bc),this.routeReuseStrategy=(0,s.f3M)(Pa),this.titleStrategy=(0,s.f3M)(rl),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=(0,s.f3M)(ko,{optional:!0})?.flat()??[],this.navigationTransitions=(0,s.f3M)(Vs),this.urlSerializer=(0,s.f3M)(rt),this.location=(0,s.f3M)(V.Ye),this.componentInputBindingEnabled=!!(0,s.f3M)(A,{optional:!0}),this.isNgZoneEnabled=(0,s.f3M)(s.R0b)instanceof s.R0b&&s.R0b.isInAngularZone(),this.resetConfig(this.config),this.currentUrlTree=new Yn,this.rawUrlTree=this.currentUrlTree,this.browserUrlTree=this.currentUrlTree,this.routerState=Ta(0,null),this.navigationTransitions.setupNavigations(this).subscribe(i=>{this.lastSuccessfulId=i.id,this.currentPageId=this.browserPageId??0},i=>{this.console.warn(`Unhandled Navigation Error: ${i}`)})}resetRootComponentType(i){this.routerState.root.component=i,this.navigationTransitions.rootComponentType=i}initialNavigation(){if(this.setUpLocationChangeListener(),!this.navigationTransitions.hasRequestedNavigation){const i=this.location.getState();this.navigateToSyncWithBrowser(this.location.path(!0),ur,i)}}setUpLocationChangeListener(){this.locationSubscription||(this.locationSubscription=this.location.subscribe(i=>{const d="popstate"===i.type?"popstate":"hashchange";"popstate"===d&&setTimeout(()=>{this.navigateToSyncWithBrowser(i.url,d,i.state)},0)}))}navigateToSyncWithBrowser(i,d,h){const C={replaceUrl:!0},E=h?.navigationId?h:null;if(h){const $={...h};delete $.navigationId,delete $.\u0275routerPageId,0!==Object.keys($).length&&(C.state=$)}const R=this.parseUrl(i);this.scheduleNavigation(R,d,E,C)}get url(){return this.serializeUrl(this.currentUrlTree)}getCurrentNavigation(){return this.navigationTransitions.currentNavigation}get lastSuccessfulNavigation(){return this.navigationTransitions.lastSuccessfulNavigation}resetConfig(i){this.config=i.map(Aa),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(i,d={}){const{relativeTo:h,queryParams:C,fragment:E,queryParamsHandling:R,preserveFragment:$}=d,Ce=$?this.currentUrlTree.fragment:E;let et,Re=null;switch(R){case"merge":Re={...this.currentUrlTree.queryParams,...C};break;case"preserve":Re=this.currentUrlTree.queryParams;break;default:Re=C||null}null!==Re&&(Re=this.removeEmptyProps(Re));try{et=ci(h?h.snapshot:this.routerState.snapshot.root)}catch{("string"!=typeof i[0]||!i[0].startsWith("/"))&&(i=[]),et=this.currentUrlTree.root}return Ji(et,i,Re,Ce??null)}navigateByUrl(i,d={skipLocationChange:!1}){const h=$r(i)?i:this.parseUrl(i),C=this.urlHandlingStrategy.merge(h,this.rawUrlTree);return this.scheduleNavigation(C,ur,null,d)}navigate(i,d={skipLocationChange:!1}){return function al(l){for(let u=0;u<l.length;u++)if(null==l[u])throw new s.vHH(4008,!1)}(i),this.navigateByUrl(this.createUrlTree(i,d),d)}serializeUrl(i){return this.urlSerializer.serialize(i)}parseUrl(i){let d;try{d=this.urlSerializer.parse(i)}catch(h){d=this.malformedUriErrorHandler(h,this.urlSerializer,i)}return d}isActive(i,d){let h;if(h=!0===d?{...js}:!1===d?{...gi}:d,$r(i))return Tr(this.currentUrlTree,i,h);const C=this.parseUrl(i);return Tr(this.currentUrlTree,C,h)}removeEmptyProps(i){return Object.keys(i).reduce((d,h)=>{const C=i[h];return null!=C&&(d[h]=C),d},{})}scheduleNavigation(i,d,h,C,E){if(this.disposed)return Promise.resolve(!1);let R,$,Ce;E?(R=E.resolve,$=E.reject,Ce=E.promise):Ce=new Promise((et,Kt)=>{R=et,$=Kt});const Re=this.pendingTasks.add();return La(this,()=>{Promise.resolve().then(()=>this.pendingTasks.remove(Re))}),this.navigationTransitions.handleNavigationRequest({source:d,restoredState:h,currentUrlTree:this.currentUrlTree,currentRawUrl:this.currentUrlTree,rawUrl:i,extras:C,resolve:R,reject:$,promise:Ce,currentSnapshot:this.routerState.snapshot,currentRouterState:this.routerState}),Ce.catch(et=>Promise.reject(et))}setBrowserUrl(i,d){const h=this.urlSerializer.serialize(i);if(this.location.isCurrentPathEqualTo(h)||d.extras.replaceUrl){const E={...d.extras.state,...this.generateNgRouterState(d.id,this.browserPageId)};this.location.replaceState(h,"",E)}else{const C={...d.extras.state,...this.generateNgRouterState(d.id,(this.browserPageId??0)+1)};this.location.go(h,"",C)}}restoreHistory(i,d=!1){if("computed"===this.canceledNavigationResolution){const C=this.currentPageId-(this.browserPageId??this.currentPageId);0!==C?this.location.historyGo(C):this.currentUrlTree===this.getCurrentNavigation()?.finalUrl&&0===C&&(this.resetState(i),this.browserUrlTree=i.currentUrlTree,this.resetUrlToCurrentUrlTree())}else"replace"===this.canceledNavigationResolution&&(d&&this.resetState(i),this.resetUrlToCurrentUrlTree())}resetState(i){this.routerState=i.currentRouterState,this.currentUrlTree=i.currentUrlTree,this.rawUrlTree=this.urlHandlingStrategy.merge(this.currentUrlTree,i.rawUrl)}resetUrlToCurrentUrlTree(){this.location.replaceState(this.urlSerializer.serialize(this.rawUrlTree),"",this.generateNgRouterState(this.lastSuccessfulId,this.currentPageId))}generateNgRouterState(i,d){return"computed"===this.canceledNavigationResolution?{navigationId:i,\u0275routerPageId:d}:{navigationId:i}}}return l.\u0275fac=function(i){return new(i||l)},l.\u0275prov=s.Yz7({token:l,factory:l.\u0275fac,providedIn:"root"}),l})();class ka{}let ll=(()=>{class l{constructor(i,d,h,C,E){this.router=i,this.injector=h,this.preloadingStrategy=C,this.loader=E}setUpPreloading(){this.subscription=this.router.events.pipe(On(i=>i instanceof Et),or(()=>this.preload())).subscribe(()=>{})}preload(){return this.processRoutes(this.injector,this.router.config)}ngOnDestroy(){this.subscription&&this.subscription.unsubscribe()}processRoutes(i,d){const h=[];for(const C of d){C.providers&&!C._injector&&(C._injector=(0,s.MMx)(C.providers,i,`Route: ${C.path}`));const E=C._injector??i,R=C._loadedInjector??E;(C.loadChildren&&!C._loadedRoutes&&void 0===C.canLoad||C.loadComponent&&!C._loadedComponent)&&h.push(this.preloadConfig(E,C)),(C.children||C._loadedRoutes)&&h.push(this.processRoutes(R,C.children??C._loadedRoutes))}return(0,Bt.D)(h).pipe((0,_o.J)())}preloadConfig(i,d){return this.preloadingStrategy.preload(d,()=>{let h;h=d.loadChildren&&void 0===d.canLoad?this.loader.loadChildren(i,d):(0,We.of)(null);const C=h.pipe((0,en.zg)(E=>null===E?(0,We.of)(void 0):(d._loadedRoutes=E.routes,d._loadedInjector=E.injector,this.processRoutes(E.injector??i,E.routes))));if(d.loadComponent&&!d._loadedComponent){const E=this.loader.loadComponent(d);return(0,Bt.D)([C,E]).pipe((0,_o.J)())}return C})}}return l.\u0275fac=function(i){return new(i||l)(s.LFG(Gr),s.LFG(s.Sil),s.LFG(s.lqb),s.LFG(ka),s.LFG(tl))},l.\u0275prov=s.Yz7({token:l,factory:l.\u0275fac,providedIn:"root"}),l})();const ss=new s.OlP("");let mi=(()=>{class l{constructor(i,d,h,C,E={}){this.urlSerializer=i,this.transitions=d,this.viewportScroller=h,this.zone=C,this.options=E,this.lastId=0,this.lastSource="imperative",this.restoredId=0,this.store={},E.scrollPositionRestoration=E.scrollPositionRestoration||"disabled",E.anchorScrolling=E.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(i=>{i instanceof uo?(this.store[this.lastId]=this.viewportScroller.getScrollPosition(),this.lastSource=i.navigationTrigger,this.restoredId=i.restoredState?i.restoredState.navigationId:0):i instanceof Et?(this.lastId=i.id,this.scheduleScrollEvent(i,this.urlSerializer.parse(i.urlAfterRedirects).fragment)):i instanceof Qi&&0===i.code&&(this.lastSource=void 0,this.restoredId=0,this.scheduleScrollEvent(i,this.urlSerializer.parse(i.url).fragment))})}consumeScrollEvents(){return this.transitions.events.subscribe(i=>{i instanceof Fu&&(i.position?"top"===this.options.scrollPositionRestoration?this.viewportScroller.scrollToPosition([0,0]):"enabled"===this.options.scrollPositionRestoration&&this.viewportScroller.scrollToPosition(i.position):i.anchor&&"enabled"===this.options.anchorScrolling?this.viewportScroller.scrollToAnchor(i.anchor):"disabled"!==this.options.scrollPositionRestoration&&this.viewportScroller.scrollToPosition([0,0]))})}scheduleScrollEvent(i,d){this.zone.runOutsideAngular(()=>{setTimeout(()=>{this.zone.run(()=>{this.transitions.events.next(new Fu(i,"popstate"===this.lastSource?this.store[this.restoredId]:null,d))})},0)})}ngOnDestroy(){this.routerEventsSubscription?.unsubscribe(),this.scrollEventsSubscription?.unsubscribe()}}return l.\u0275fac=function(i){s.$Z()},l.\u0275prov=s.Yz7({token:l,factory:l.\u0275fac}),l})();function Eo(l,u){return{\u0275kind:l,\u0275providers:u}}function Gc(){const l=(0,s.f3M)(s.zs3);return u=>{const i=l.get(s.z2F);if(u!==i.components[0])return;const d=l.get(Gr),h=l.get(zc);1===l.get(cl)&&d.initialNavigation(),l.get(ji,null,s.XFs.Optional)?.setUpPreloading(),l.get(ss,null,s.XFs.Optional)?.init(),d.resetRootComponentType(i.componentTypes[0]),h.closed||(h.next(),h.complete(),h.unsubscribe())}}const zc=new s.OlP("",{factory:()=>new Oe.xQ}),cl=new s.OlP("",{providedIn:"root",factory:()=>1}),ji=new s.OlP("");function Dh(l){return Eo(0,[{provide:ji,useExisting:ll},{provide:ka,useExisting:l}])}const zr=new s.OlP("ROUTER_FORROOT_GUARD"),cs=[V.Ye,{provide:rt,useClass:mr},Gr,Ti,{provide:fi,useFactory:function yi(l){return l.routerState.root},deps:[Gr]},tl,[]];function dl(){return new s.PXZ("Router",Gr)}let ds=(()=>{class l{constructor(i){}static forRoot(i,d){return{ngModule:l,providers:[cs,[],{provide:ko,multi:!0,useValue:i},{provide:zr,useFactory:Yc,deps:[[Gr,new s.FiY,new s.tp0]]},{provide:Vi,useValue:d||{}},d?.useHash?{provide:V.S$,useClass:V.Do}:{provide:V.S$,useClass:V.b0},{provide:ss,useFactory:()=>{const l=(0,s.f3M)(V.EM),u=(0,s.f3M)(s.R0b),i=(0,s.f3M)(Vi),d=(0,s.f3M)(Vs),h=(0,s.f3M)(rt);return i.scrollOffset&&l.setOffset(i.scrollOffset),new mi(h,d,l,u,i)}},d?.preloadingStrategy?Dh(d.preloadingStrategy).\u0275providers:[],{provide:s.PXZ,multi:!0,useFactory:dl},d?.initialNavigation?wh(d):[],d?.bindToComponentInputs?Eo(8,[K,{provide:A,useExisting:K}]).\u0275providers:[],[{provide:Rr,useFactory:Gc},{provide:s.tb,multi:!0,useExisting:Rr}]]}}static forChild(i){return{ngModule:l,providers:[{provide:ko,multi:!0,useValue:i}]}}}return l.\u0275fac=function(i){return new(i||l)(s.LFG(zr,8))},l.\u0275mod=s.oAB({type:l}),l.\u0275inj=s.cJS({}),l})();function Yc(l){return"guarded"}function wh(l){return["disabled"===l.initialNavigation?Eo(3,[{provide:s.ip1,multi:!0,useFactory:()=>{const u=(0,s.f3M)(Gr);return()=>{u.setUpLocationChangeListener()}}},{provide:cl,useValue:2}]).\u0275providers:[],"enabledBlocking"===l.initialNavigation?Eo(2,[{provide:cl,useValue:0},{provide:s.ip1,multi:!0,deps:[s.zs3],useFactory:u=>{const i=u.get(V.V_,Promise.resolve());return()=>i.then(()=>new Promise(d=>{const h=u.get(Gr),C=u.get(zc);La(h,()=>{d(!0)}),u.get(Vs).afterPreactivation=()=>(d(!0),C.closed?(0,We.of)(void 0):C),h.initialNavigation()}))}}]).\u0275providers:[]]}const Rr=new s.OlP(""),qc=[{path:"",loadChildren:()=>T.e(249).then(T.bind(T,1249)).then(l=>l.routes)}];let Kc=(()=>{class l{}return l.\u0275fac=function(i){return new(i||l)},l.\u0275mod=s.oAB({type:l}),l.\u0275inj=s.cJS({imports:[ds.forRoot(qc),ds]}),l})();var fl=T(1764),ja=T(5268);fl.extend(ja);const hl=window.gtag||(()=>{}),Jc=window.website_ga_id,Gs=window.libs_ga_id;let Qc=(()=>{class l{constructor(i,d){this.router=i,this.transService=d}trackPage(i){this.trackEvent("View_Page",i)}trackButton(i){this.trackEvent("Click_Button",i)}trackLink(i){this.trackEvent("Visit_Link",i)}trackEvent(i,d){const h={send_to:Jc,datetime:fl().utc().format(),url:this.router.url,language:this.transService.lang,...d},C={...h,send_to:Gs,website_id:"@bigbear713/nb-form"};hl("event",i,h),hl("event",i,C)}}return l.\u0275fac=function(i){return new(i||l)(s.LFG(Gr),s.LFG(gn.v6))},l.\u0275prov=s.Yz7({token:l,factory:l.\u0275fac,providedIn:"root"}),l})();function pl(l,u){if(1&l){const i=s.EpF();s.TgZ(0,"form",6)(1,"nb-field-item",7)(2,"span",8),s._uU(3),s.ALo(4,"nbTrans"),s.qZA(),s._UZ(5,"input",9),s.qZA(),s.TgZ(6,"nb-field-item",10)(7,"span",8),s._uU(8),s.ALo(9,"nbTrans"),s.qZA(),s._UZ(10,"input",9),s.qZA(),s.TgZ(11,"nb-field-item",10)(12,"span",8),s._uU(13),s.ALo(14,"nbTrans"),s.qZA(),s.TgZ(15,"input",11),s.NdJ("change",function(h){s.CHM(i);const C=s.oxw();return s.KtG(C.onChangeFile(h))}),s.qZA()(),s.TgZ(16,"nb-field-item",12)(17,"span",8),s._uU(18),s.ALo(19,"nbTrans"),s.qZA(),s._UZ(20,"input",9),s.qZA(),s.TgZ(21,"nb-field-item",12)(22,"span",8),s._uU(23),s.ALo(24,"nbTrans"),s.qZA(),s._UZ(25,"input",9),s.qZA(),s.TgZ(26,"nb-field-item",10)(27,"span",8)(28,"i"),s._uU(29,"+"),s.qZA(),s._uU(30),s.ALo(31,"nbTrans"),s.qZA(),s._UZ(32,"input",9),s.qZA()()}if(2&l){const i=s.oxw();s.Q6J("formGroup",i.form),s.xp6(1),s.Q6J("required",!0)("control",i.field1Ctrl)("errInfo",i.errInfo1),s.xp6(2),s.hij("",s.lcZ(4,23,"demoContent.field1"),"\uff1a"),s.xp6(2),s.Q6J("formControl",i.field1Ctrl),s.xp6(1),s.Q6J("control",i.field2Ctrl)("errInfo",i.errInfo1),s.xp6(2),s.hij("",s.lcZ(9,25,"demoContent.field2"),"\uff1a"),s.xp6(2),s.Q6J("formControl",i.field2Ctrl),s.xp6(1),s.Q6J("control",i.field3Ctrl)("errInfo",i.errInfo2),s.xp6(2),s.hij("",s.lcZ(14,27,"demoContent.field3"),"\uff1a"),s.xp6(3),s.Q6J("control",i.field4Ctrl),s.xp6(2),s.hij("",s.lcZ(19,29,"demoContent.field4"),"\uff1a"),s.xp6(2),s.Q6J("formControl",i.field4Ctrl),s.xp6(1),s.Q6J("control",i.field5Ctrl),s.xp6(2),s.hij("",s.lcZ(24,31,"demoContent.field5"),"\uff1a"),s.xp6(2),s.Q6J("formControl",i.field5Ctrl),s.xp6(1),s.Q6J("control",i.field6Ctrl)("errInfo",i.errInfo1),s.xp6(4),s.hij("",s.lcZ(31,33,"demoContent.field6"),"\uff1a"),s.xp6(2),s.Q6J("formControl",i.field6Ctrl)}}function Ba(l,u){if(1&l&&(s.TgZ(0,"form",13),s._UZ(1,"input",14)(2,"nb-control-err",10),s.qZA()),2&l){const i=s.oxw();s.Q6J("formGroup",i.form),s.xp6(2),s.Q6J("control",i.field1Ctrl)("errInfo",i.errInfo1)}}function zs(l,u){1&l&&s._uU(0,"+")}let gl=(()=>{class l{get field1Ctrl(){return this.form?.get("field1")}get field2Ctrl(){return this.form?.get("field2")}get field3Ctrl(){return this.form?.get("field3")}get field4Ctrl(){return this.form?.get("field4")}get field5Ctrl(){return this.form?.get("field5")}get field6Ctrl(){return this.form?.get("field6")}constructor(i,d,h,C){this.fb=i,this.formService=d,this.gtagService=h,this.transService=C,this.errInfo1={[qe.ti.REQUIRED]:this.transService.translationAsync("errors.required"),[qe.ti.WHITESPACE]:this.transService.translationAsync("errors.required")},this.errInfo2={[qe.ti.FILE_MAX_SIZE]:"The file max size is 500kb!"},this.links={changelog:{title:"Changelog",link:"https://github.com/bigBear713/nb-form/blob/main/CHANGELOG.md"},document:{title:"Document",link:"https://github.com/bigBear713/nb-form/blob/main/projects/nb-form/README.md"}}}ngOnInit(){this.trackPage(),this.buildForm(),this.formService.updateEqualControlsValidities({target:this.field4Ctrl,compared:this.field5Ctrl})}changeLanguage(i){const d="en"===i?gn.oi.EN:gn.oi.ZH_CN;this.transService.changeLangSync(d),this.gtagService.trackButton({button_name:"zh-CN"===d?"\u5207\u6362\u4e3a\u4e2d\u6587":"switch as English",language:d})}go2Link(i){this.gtagService.trackLink({link_name:i.title,link:i.link})}resetCtrl1(){this.field1Ctrl.reset(),this.gtagService.trackButton({button_name:"reset field"})}onChangeFile(i){const d=i.target;d&&d.files?.length&&(this.field3Ctrl.markAsDirty(),this.field3Ctrl.setValue(d.files[0]))}onSubmit(){this.formService.showAllErrInfo(this.form),this.gtagService.trackButton({button_name:"submit"})}buildForm(){this.form=this.fb.group({field1:[null,[qe.aJ.required(!0)]],field2:[null,[qe.aJ.whitespace(!1)]],field3:[void 0,this.formService.getValidatorsFromControlConfig({fileType:["image/svg+xml","image/jpeg"],maxFileSize:5e5,minFileSize:1e5})],field4:[""],field5:[null],field6:[null,[qe.aJ.required(!0)]]}),this.field4Ctrl.setValidators([qe.aJ.equal(this.field5Ctrl,!1)]),this.field5Ctrl.setValidators([qe.aJ.equal(this.field4Ctrl,!1)]),this.field6Ctrl.markAsDirty()}trackPage(){this.gtagService.trackPage({page_name:"homepage"})}}return l.\u0275fac=function(i){return new(i||l)(s.Y36(ht.QS),s.Y36(qe.LR),s.Y36(Qc),s.Y36(gn.v6))},l.\u0275cmp=s.Xpm({type:l,selectors:[["app-root"]],decls:58,vars:42,consts:[["target","_blank",3,"href","click"],["type","button",3,"click"],[3,"formGroup",4,"ngIf"],["style","margin-bottom: 20px;width: 200px;",3,"formGroup",4,"ngIf"],[3,"click"],["requiredIcon",""],[3,"formGroup"],[3,"required","control","errInfo"],["field-label",""],["type","text",3,"formControl"],[3,"control","errInfo"],["type","file",3,"change"],[3,"control"],[2,"margin-bottom","20px","width","200px",3,"formGroup"],["type","text","formControlName","field1"]],template:function(i,d){1&i&&(s.TgZ(0,"h2")(1,"a",0),s.NdJ("click",function(){return d.go2Link(d.links.document)}),s._uU(2),s.qZA(),s.TgZ(3,"a",0),s.NdJ("click",function(){return d.go2Link(d.links.changelog)}),s._uU(4),s.qZA()(),s._UZ(5,"hr"),s.TgZ(6,"h3")(7,"button",1),s.NdJ("click",function(){return d.changeLanguage("zh-CN")}),s._uU(8,"\u5207\u6362\u4e3a\u4e2d\u6587"),s.qZA(),s.TgZ(9,"button",1),s.NdJ("click",function(){return d.changeLanguage("en")}),s._uU(10,"switch as English"),s.qZA()(),s.YNc(11,pl,33,35,"form",2),s._UZ(12,"hr"),s.TgZ(13,"h5"),s._uU(14),s.ALo(15,"nbTrans"),s.qZA(),s.YNc(16,Ba,3,3,"form",3),s._UZ(17,"hr"),s.TgZ(18,"button",1),s.NdJ("click",function(){return d.onSubmit()}),s._uU(19),s.ALo(20,"nbTrans"),s.qZA(),s.TgZ(21,"button",4),s.NdJ("click",function(){return d.resetCtrl1()}),s._uU(22),s.ALo(23,"nbTrans"),s.qZA(),s.TgZ(24,"div")(25,"p"),s._uU(26),s.ALo(27,"nbTrans"),s.qZA(),s.TgZ(28,"p"),s._uU(29),s.ALo(30,"nbTrans"),s.qZA(),s.TgZ(31,"p"),s._uU(32),s.ALo(33,"nbTrans"),s.qZA(),s.TgZ(34,"p"),s._uU(35),s.ALo(36,"nbTrans"),s.qZA(),s.TgZ(37,"p"),s._uU(38),s.ALo(39,"nbTrans"),s.qZA(),s.TgZ(40,"p"),s._uU(41),s.ALo(42,"nbTrans"),s.qZA(),s.TgZ(43,"p"),s._uU(44),s.ALo(45,"nbTrans"),s.qZA(),s.TgZ(46,"p"),s._uU(47),s.ALo(48,"nbTrans"),s.qZA(),s.TgZ(49,"p"),s._uU(50),s.ALo(51,"nbTrans"),s.qZA()(),s._UZ(52,"hr"),s.TgZ(53,"h2"),s._uU(54,"children router component"),s.qZA(),s._UZ(55,"router-outlet"),s.YNc(56,zs,1,0,"ng-template",null,5,s.W1O)),2&i&&(s.xp6(1),s.Q6J("href",d.links.document.link,s.LSH),s.xp6(1),s.hij(" ",d.links.document.title," "),s.xp6(1),s.Q6J("href",d.links.changelog.link,s.LSH),s.xp6(1),s.hij(" ",d.links.changelog.title," "),s.xp6(7),s.Q6J("ngIf",d.form),s.xp6(3),s.Oqu(s.lcZ(15,18,"demoContent.useComp")),s.xp6(2),s.Q6J("ngIf",d.form),s.xp6(3),s.Oqu(s.lcZ(20,20,"demoContent.submit")),s.xp6(3),s.Oqu(s.lcZ(23,22,"demoContent.resetField1")),s.xp6(4),s.Oqu(s.lcZ(27,24,"demoContent.desc")),s.xp6(3),s.Oqu(s.lcZ(30,26,"demoContent.desc1")),s.xp6(3),s.Oqu(s.lcZ(33,28,"demoContent.desc2")),s.xp6(3),s.Oqu(s.lcZ(36,30,"demoContent.desc3")),s.xp6(3),s.Oqu(s.lcZ(39,32,"demoContent.desc4")),s.xp6(3),s.Oqu(s.lcZ(42,34,"demoContent.desc5")),s.xp6(3),s.Oqu(s.lcZ(45,36,"demoContent.desc6")),s.xp6(3),s.Oqu(s.lcZ(48,38,"demoContent.desc7")),s.xp6(3),s.Oqu(s.lcZ(51,40,"demoContent.desc8")))},dependencies:[V.O5,ht._Y,ht.Fj,ht.JJ,ht.JL,ht.oH,ht.sg,ht.u,qe.Ik,qe.XX,_,gn.y6],styles:["h2[_ngcontent-%COMP%] a[_ngcontent-%COMP%]{margin:0 8px}form[_ngcontent-%COMP%]{width:300px}span[_ngcontent-%COMP%] i[_ngcontent-%COMP%]{color:red;font-style:normal}"]}),l})();class Ws{}class Ua{}class vr{constructor(u){this.normalizedNames=new Map,this.lazyUpdate=null,u?this.lazyInit="string"==typeof u?()=>{this.headers=new Map,u.split("\n").forEach(i=>{const d=i.indexOf(":");if(d>0){const h=i.slice(0,d),C=h.toLowerCase(),E=i.slice(d+1).trim();this.maybeSetNormalizedName(h,C),this.headers.has(C)?this.headers.get(C).push(E):this.headers.set(C,[E])}})}:()=>{this.headers=new Map,Object.entries(u).forEach(([i,d])=>{let h;if(h="string"==typeof d?[d]:"number"==typeof d?[d.toString()]:d.map(C=>C.toString()),h.length>0){const C=i.toLowerCase();this.headers.set(C,h),this.maybeSetNormalizedName(i,C)}})}:this.headers=new Map}has(u){return this.init(),this.headers.has(u.toLowerCase())}get(u){this.init();const i=this.headers.get(u.toLowerCase());return i&&i.length>0?i[0]:null}keys(){return this.init(),Array.from(this.normalizedNames.values())}getAll(u){return this.init(),this.headers.get(u.toLowerCase())||null}append(u,i){return this.clone({name:u,value:i,op:"a"})}set(u,i){return this.clone({name:u,value:i,op:"s"})}delete(u,i){return this.clone({name:u,value:i,op:"d"})}maybeSetNormalizedName(u,i){this.normalizedNames.has(i)||this.normalizedNames.set(i,u)}init(){this.lazyInit&&(this.lazyInit instanceof vr?this.copyFrom(this.lazyInit):this.lazyInit(),this.lazyInit=null,this.lazyUpdate&&(this.lazyUpdate.forEach(u=>this.applyUpdate(u)),this.lazyUpdate=null))}copyFrom(u){u.init(),Array.from(u.headers.keys()).forEach(i=>{this.headers.set(i,u.headers.get(i)),this.normalizedNames.set(i,u.normalizedNames.get(i))})}clone(u){const i=new vr;return i.lazyInit=this.lazyInit&&this.lazyInit instanceof vr?this.lazyInit:this,i.lazyUpdate=(this.lazyUpdate||[]).concat([u]),i}applyUpdate(u){const i=u.name.toLowerCase();switch(u.op){case"a":case"s":let d=u.value;if("string"==typeof d&&(d=[d]),0===d.length)return;this.maybeSetNormalizedName(u.name,i);const h=("a"===u.op?this.headers.get(i):void 0)||[];h.push(...d),this.headers.set(i,h);break;case"d":const C=u.value;if(C){let E=this.headers.get(i);if(!E)return;E=E.filter(R=>-1===C.indexOf(R)),0===E.length?(this.headers.delete(i),this.normalizedNames.delete(i)):this.headers.set(i,E)}else this.headers.delete(i),this.normalizedNames.delete(i)}}forEach(u){this.init(),Array.from(this.normalizedNames.keys()).forEach(i=>u(this.normalizedNames.get(i),this.headers.get(i)))}}class Xc{encodeKey(u){return td(u)}encodeValue(u){return td(u)}decodeKey(u){return decodeURIComponent(u)}decodeValue(u){return decodeURIComponent(u)}}const ml=/%(\d[a-f0-9])/gi,ed={40:"@","3A":":",24:"$","2C":",","3B":";","3D":"=","3F":"?","2F":"/"};function td(l){return encodeURIComponent(l).replace(ml,(u,i)=>ed[i]??u)}function Zs(l){return`${l}`}class Xo{constructor(u={}){if(this.updates=null,this.cloneFrom=null,this.encoder=u.encoder||new Xc,u.fromString){if(u.fromObject)throw new Error("Cannot specify both fromString and fromObject.");this.map=function Ih(l,u){const i=new Map;return l.length>0&&l.replace(/^\?/,"").split("&").forEach(h=>{const C=h.indexOf("="),[E,R]=-1==C?[u.decodeKey(h),""]:[u.decodeKey(h.slice(0,C)),u.decodeValue(h.slice(C+1))],$=i.get(E)||[];$.push(R),i.set(E,$)}),i}(u.fromString,this.encoder)}else u.fromObject?(this.map=new Map,Object.keys(u.fromObject).forEach(i=>{const d=u.fromObject[i],h=Array.isArray(d)?d.map(Zs):[Zs(d)];this.map.set(i,h)})):this.map=null}has(u){return this.init(),this.map.has(u)}get(u){this.init();const i=this.map.get(u);return i?i[0]:null}getAll(u){return this.init(),this.map.get(u)||null}keys(){return this.init(),Array.from(this.map.keys())}append(u,i){return this.clone({param:u,value:i,op:"a"})}appendAll(u){const i=[];return Object.keys(u).forEach(d=>{const h=u[d];Array.isArray(h)?h.forEach(C=>{i.push({param:d,value:C,op:"a"})}):i.push({param:d,value:h,op:"a"})}),this.clone(i)}set(u,i){return this.clone({param:u,value:i,op:"s"})}delete(u,i){return this.clone({param:u,value:i,op:"d"})}toString(){return this.init(),this.keys().map(u=>{const i=this.encoder.encodeKey(u);return this.map.get(u).map(d=>i+"="+this.encoder.encodeValue(d)).join("&")}).filter(u=>""!==u).join("&")}clone(u){const i=new Xo({encoder:this.encoder});return i.cloneFrom=this.cloneFrom||this,i.updates=(this.updates||[]).concat(u),i}init(){null===this.map&&(this.map=new Map),null!==this.cloneFrom&&(this.cloneFrom.init(),this.cloneFrom.keys().forEach(u=>this.map.set(u,this.cloneFrom.map.get(u))),this.updates.forEach(u=>{switch(u.op){case"a":case"s":const i=("a"===u.op?this.map.get(u.param):void 0)||[];i.push(Zs(u.value)),this.map.set(u.param,i);break;case"d":if(void 0===u.value){this.map.delete(u.param);break}{let d=this.map.get(u.param)||[];const h=d.indexOf(Zs(u.value));-1!==h&&d.splice(h,1),d.length>0?this.map.set(u.param,d):this.map.delete(u.param)}}}),this.cloneFrom=this.updates=null)}}class qs{constructor(){this.map=new Map}set(u,i){return this.map.set(u,i),this}get(u){return this.map.has(u)||this.map.set(u,u.defaultValue()),this.map.get(u)}delete(u){return this.map.delete(u),this}has(u){return this.map.has(u)}keys(){return this.map.keys()}}function vl(l){return typeof ArrayBuffer<"u"&&l instanceof ArrayBuffer}function $a(l){return typeof Blob<"u"&&l instanceof Blob}function nd(l){return typeof FormData<"u"&&l instanceof FormData}class Ks{constructor(u,i,d,h){let C;if(this.url=i,this.body=null,this.reportProgress=!1,this.withCredentials=!1,this.responseType="json",this.method=u.toUpperCase(),function yl(l){switch(l){case"DELETE":case"GET":case"HEAD":case"OPTIONS":case"JSONP":return!1;default:return!0}}(this.method)||h?(this.body=void 0!==d?d:null,C=h):C=d,C&&(this.reportProgress=!!C.reportProgress,this.withCredentials=!!C.withCredentials,C.responseType&&(this.responseType=C.responseType),C.headers&&(this.headers=C.headers),C.context&&(this.context=C.context),C.params&&(this.params=C.params)),this.headers||(this.headers=new vr),this.context||(this.context=new qs),this.params){const E=this.params.toString();if(0===E.length)this.urlWithParams=i;else{const R=i.indexOf("?");this.urlWithParams=i+(-1===R?"?":R<i.length-1?"&":"")+E}}else this.params=new Xo,this.urlWithParams=i}serializeBody(){return null===this.body?null:vl(this.body)||$a(this.body)||nd(this.body)||function _l(l){return typeof URLSearchParams<"u"&&l instanceof URLSearchParams}(this.body)||"string"==typeof this.body?this.body:this.body instanceof Xo?this.body.toString():"object"==typeof this.body||"boolean"==typeof this.body||Array.isArray(this.body)?JSON.stringify(this.body):this.body.toString()}detectContentTypeHeader(){return null===this.body||nd(this.body)?null:$a(this.body)?this.body.type||null:vl(this.body)?null:"string"==typeof this.body?"text/plain":this.body instanceof Xo?"application/x-www-form-urlencoded;charset=UTF-8":"object"==typeof this.body||"number"==typeof this.body||"boolean"==typeof this.body?"application/json":null}clone(u={}){const i=u.method||this.method,d=u.url||this.url,h=u.responseType||this.responseType,C=void 0!==u.body?u.body:this.body,E=void 0!==u.withCredentials?u.withCredentials:this.withCredentials,R=void 0!==u.reportProgress?u.reportProgress:this.reportProgress;let $=u.headers||this.headers,Ce=u.params||this.params;const Re=u.context??this.context;return void 0!==u.setHeaders&&($=Object.keys(u.setHeaders).reduce((et,Kt)=>et.set(Kt,u.setHeaders[Kt]),$)),u.setParams&&(Ce=Object.keys(u.setParams).reduce((et,Kt)=>et.set(Kt,u.setParams[Kt]),Ce)),new Ks(i,d,C,{params:Ce,headers:$,context:Re,reportProgress:R,responseType:h,withCredentials:E})}}var Mn=(()=>((Mn=Mn||{})[Mn.Sent=0]="Sent",Mn[Mn.UploadProgress=1]="UploadProgress",Mn[Mn.ResponseHeader=2]="ResponseHeader",Mn[Mn.DownloadProgress=3]="DownloadProgress",Mn[Mn.Response=4]="Response",Mn[Mn.User=5]="User",Mn))();class Ga{constructor(u,i=200,d="OK"){this.headers=u.headers||new vr,this.status=void 0!==u.status?u.status:i,this.statusText=u.statusText||d,this.url=u.url||null,this.ok=this.status>=200&&this.status<300}}class ps extends Ga{constructor(u={}){super(u),this.type=Mn.ResponseHeader}clone(u={}){return new ps({headers:u.headers||this.headers,status:void 0!==u.status?u.status:this.status,statusText:u.statusText||this.statusText,url:u.url||this.url||void 0})}}class gs extends Ga{constructor(u={}){super(u),this.type=Mn.Response,this.body=void 0!==u.body?u.body:null}clone(u={}){return new gs({body:void 0!==u.body?u.body:this.body,headers:u.headers||this.headers,status:void 0!==u.status?u.status:this.status,statusText:u.statusText||this.statusText,url:u.url||this.url||void 0})}}class rd extends Ga{constructor(u){super(u,0,"Unknown Error"),this.name="HttpErrorResponse",this.ok=!1,this.message=this.status>=200&&this.status<300?`Http failure during parsing for ${u.url||"(unknown url)"}`:`Http failure response for ${u.url||"(unknown url)"}: ${u.status} ${u.statusText}`,this.error=u.error||null}}function ms(l,u){return{body:u,headers:l.headers,context:l.context,observe:l.observe,params:l.params,reportProgress:l.reportProgress,responseType:l.responseType,withCredentials:l.withCredentials}}let od=(()=>{class l{constructor(i){this.handler=i}request(i,d,h={}){let C;if(i instanceof Ks)C=i;else{let $,Ce;$=h.headers instanceof vr?h.headers:new vr(h.headers),h.params&&(Ce=h.params instanceof Xo?h.params:new Xo({fromObject:h.params})),C=new Ks(i,d,void 0!==h.body?h.body:null,{headers:$,context:h.context,params:Ce,reportProgress:h.reportProgress,responseType:h.responseType||"json",withCredentials:h.withCredentials})}const E=(0,We.of)(C).pipe(or($=>this.handler.handle($)));if(i instanceof Ks||"events"===h.observe)return E;const R=E.pipe(On($=>$ instanceof gs));switch(h.observe||"body"){case"body":switch(C.responseType){case"arraybuffer":return R.pipe((0,Dt.U)($=>{if(null!==$.body&&!($.body instanceof ArrayBuffer))throw new Error("Response is not an ArrayBuffer.");return $.body}));case"blob":return R.pipe((0,Dt.U)($=>{if(null!==$.body&&!($.body instanceof Blob))throw new Error("Response is not a Blob.");return $.body}));case"text":return R.pipe((0,Dt.U)($=>{if(null!==$.body&&"string"!=typeof $.body)throw new Error("Response is not a string.");return $.body}));default:return R.pipe((0,Dt.U)($=>$.body))}case"response":return R;default:throw new Error(`Unreachable: unhandled observe type ${h.observe}}`)}}delete(i,d={}){return this.request("DELETE",i,d)}get(i,d={}){return this.request("GET",i,d)}head(i,d={}){return this.request("HEAD",i,d)}jsonp(i,d){return this.request("JSONP",i,{params:(new Xo).append(d,"JSONP_CALLBACK"),observe:"body",responseType:"json"})}options(i,d={}){return this.request("OPTIONS",i,d)}patch(i,d,h={}){return this.request("PATCH",i,ms(h,d))}post(i,d,h={}){return this.request("POST",i,ms(h,d))}put(i,d,h={}){return this.request("PUT",i,ms(h,d))}}return l.\u0275fac=function(i){return new(i||l)(s.LFG(Ws))},l.\u0275prov=s.Yz7({token:l,factory:l.\u0275fac}),l})();function id(l,u){return u(l)}function Nh(l,u){return(i,d)=>u.intercept(i,{handle:h=>l(h,d)})}const Rh=new s.OlP(""),ys=new s.OlP(""),Js=new s.OlP("");function za(){let l=null;return(u,i)=>(null===l&&(l=((0,s.f3M)(Rh,{optional:!0})??[]).reduceRight(Nh,id)),l(u,i))}let Wa=(()=>{class l extends Ws{constructor(i,d){super(),this.backend=i,this.injector=d,this.chain=null}handle(i){if(null===this.chain){const d=Array.from(new Set([...this.injector.get(ys),...this.injector.get(Js,[])]));this.chain=d.reduceRight((h,C)=>function Oh(l,u,i){return(d,h)=>i.runInContext(()=>u(d,C=>l(C,h)))}(h,C,this.injector),id)}return this.chain(i,d=>this.backend.handle(d))}}return l.\u0275fac=function(i){return new(i||l)(s.LFG(Ua),s.LFG(s.lqb))},l.\u0275prov=s.Yz7({token:l,factory:l.\u0275fac}),l})();const bl=/^\)\]\}',?\n/;let El=(()=>{class l{constructor(i){this.xhrFactory=i}handle(i){if("JSONP"===i.method)throw new Error("Attempted to construct Jsonp request without HttpClientJsonpModule installed.");return new sn.y(d=>{const h=this.xhrFactory.build();if(h.open(i.method,i.urlWithParams),i.withCredentials&&(h.withCredentials=!0),i.headers.forEach((Ft,rn)=>h.setRequestHeader(Ft,rn.join(","))),i.headers.has("Accept")||h.setRequestHeader("Accept","application/json, text/plain, */*"),!i.headers.has("Content-Type")){const Ft=i.detectContentTypeHeader();null!==Ft&&h.setRequestHeader("Content-Type",Ft)}if(i.responseType){const Ft=i.responseType.toLowerCase();h.responseType="json"!==Ft?Ft:"text"}const C=i.serializeBody();let E=null;const R=()=>{if(null!==E)return E;const Ft=h.statusText||"OK",rn=new vr(h.getAllResponseHeaders()),_i=function ld(l){return"responseURL"in l&&l.responseURL?l.responseURL:/^X-Request-URL:/m.test(l.getAllResponseHeaders())?l.getResponseHeader("X-Request-URL"):null}(h)||i.url;return E=new ps({headers:rn,status:h.status,statusText:Ft,url:_i}),E},$=()=>{let{headers:Ft,status:rn,statusText:_i,url:tu}=R(),_r=null;204!==rn&&(_r=typeof h.response>"u"?h.responseText:h.response),0===rn&&(rn=_r?200:0);let _s=rn>=200&&rn<300;if("json"===i.responseType&&"string"==typeof _r){const Nl=_r;_r=_r.replace(bl,"");try{_r=""!==_r?JSON.parse(_r):null}catch(na){_r=Nl,_s&&(_s=!1,_r={error:na,text:_r})}}_s?(d.next(new gs({body:_r,headers:Ft,status:rn,statusText:_i,url:tu||void 0})),d.complete()):d.error(new rd({error:_r,headers:Ft,status:rn,statusText:_i,url:tu||void 0}))},Ce=Ft=>{const{url:rn}=R(),_i=new rd({error:Ft,status:h.status||0,statusText:h.statusText||"Unknown Error",url:rn||void 0});d.error(_i)};let Re=!1;const et=Ft=>{Re||(d.next(R()),Re=!0);let rn={type:Mn.DownloadProgress,loaded:Ft.loaded};Ft.lengthComputable&&(rn.total=Ft.total),"text"===i.responseType&&h.responseText&&(rn.partialText=h.responseText),d.next(rn)},Kt=Ft=>{let rn={type:Mn.UploadProgress,loaded:Ft.loaded};Ft.lengthComputable&&(rn.total=Ft.total),d.next(rn)};let ei;h.addEventListener("load",$),h.addEventListener("error",Ce),h.addEventListener("timeout",Ce),h.addEventListener("abort",Ce),i.reportProgress&&(h.addEventListener("progress",et),null!==C&&h.upload&&h.upload.addEventListener("progress",Kt));const ti=()=>{ei??=function Za(){const l=setTimeout(()=>{},xr);return()=>clearTimeout(l)}()},vi=()=>{ei?.()};return h.addEventListener("loadstart",ti),h.addEventListener("loadend",vi),h.send(C),d.next({type:Mn.Sent}),()=>{h.removeEventListener("loadstart",ti),h.removeEventListener("loadend",vi),h.removeEventListener("error",Ce),h.removeEventListener("abort",Ce),h.removeEventListener("load",$),h.removeEventListener("timeout",Ce),ei?.(),i.reportProgress&&(h.removeEventListener("progress",et),null!==C&&h.upload&&h.upload.removeEventListener("progress",Kt)),h.readyState!==h.DONE&&h.abort()}})}}return l.\u0275fac=function(i){return new(i||l)(s.LFG(V.JF))},l.\u0275prov=s.Yz7({token:l,factory:l.\u0275fac}),l})();const xr=2147483647,Qs=new s.OlP("XSRF_ENABLED"),Jn=new s.OlP("XSRF_COOKIE_NAME",{providedIn:"root",factory:()=>"XSRF-TOKEN"}),Ka=new s.OlP("XSRF_HEADER_NAME",{providedIn:"root",factory:()=>"X-XSRF-TOKEN"});class Ja{}let cd=(()=>{class l{constructor(i,d,h){this.doc=i,this.platform=d,this.cookieName=h,this.lastCookieString="",this.lastToken=null,this.parseCount=0}getToken(){if("server"===this.platform)return null;const i=this.doc.cookie||"";return i!==this.lastCookieString&&(this.parseCount++,this.lastToken=(0,V.Mx)(i,this.cookieName),this.lastCookieString=i),this.lastToken}}return l.\u0275fac=function(i){return new(i||l)(s.LFG(V.K0),s.LFG(s.Lbi),s.LFG(Jn))},l.\u0275prov=s.Yz7({token:l,factory:l.\u0275fac}),l})();function wl(l,u){const i=l.url.toLowerCase();if(!(0,s.f3M)(Qs)||"GET"===l.method||"HEAD"===l.method||i.startsWith("http://")||i.startsWith("https://"))return u(l);const d=(0,s.f3M)(Ja).getToken(),h=(0,s.f3M)(Ka);return null!=d&&!l.headers.has(h)&&(l=l.clone({headers:l.headers.set(h,d)})),u(l)}var hn=(()=>((hn=hn||{})[hn.Interceptors=0]="Interceptors",hn[hn.LegacyInterceptors=1]="LegacyInterceptors",hn[hn.CustomXsrfConfiguration=2]="CustomXsrfConfiguration",hn[hn.NoXsrfProtection=3]="NoXsrfProtection",hn[hn.JsonpSupport=4]="JsonpSupport",hn[hn.RequestsMadeViaParent=5]="RequestsMadeViaParent",hn))();function Bi(l,u){return{\u0275kind:l,\u0275providers:u}}function Sl(...l){const u=[od,El,Wa,{provide:Ws,useExisting:Wa},{provide:Ua,useExisting:El},{provide:ys,useValue:wl,multi:!0},{provide:Qs,useValue:!0},{provide:Ja,useClass:cd}];for(const i of l)u.push(...i.\u0275providers);return(0,s.MR2)(u)}const Ml=new s.OlP("LEGACY_INTERCEPTOR_FN");let Xa=(()=>{class l{}return l.\u0275fac=function(i){return new(i||l)},l.\u0275mod=s.oAB({type:l}),l.\u0275inj=s.cJS({providers:[Sl(Bi(hn.LegacyInterceptors,[{provide:Ml,useFactory:za},{provide:ys,useExisting:Ml,multi:!0}]))]}),l})(),dd=(()=>{class l{}return l.\u0275fac=function(i){return new(i||l)},l.\u0275mod=s.oAB({type:l,bootstrap:[gl]}),l.\u0275inj=s.cJS({providers:[{provide:qe.Y6,useFactory:u=>({[qe.ti.FILE_TYPE]:u.translationAsync("errors.fileType"),[qe.ti.FILE_MIN_SIZE]:"The file min size is 100KB!!!!",[qe.ti.EQUAL]:"\u4e24\u4e2a\u63a7\u4ef6\u503c\u4e0d\u76f8\u7b49"}),deps:[gn.v6]},{provide:gn.x,useFactory:u=>({[gn.oi.ZH_CN]:()=>u.get("./assets/localization/zh-CN/translations.json"),[gn.oi.EN]:()=>u.get("./assets/localization/en/translations.json")}),deps:[od]}],imports:[bt,Xa,ht.u5,ht.UX,qe.XI,gn.pT,Kc]}),l})();(0,s.G48)(),U().bootstrapModule(dd).catch(l=>console.error(l))},1764:function(Le){Le.exports=function(){"use strict";var T=6e4,s=36e5,V="millisecond",te="second",oe="minute",J="hour",X="day",ge="week",ne="month",Y="quarter",x="year",F="date",H="Invalid Date",Z=/^(\d{4})[-/]?(\d{1,2})?[-/]?(\d{0,2})[Tt\s]*(\d{1,2})?:?(\d{1,2})?:?(\d{1,2})?[.:]?(\d+)?$/,q=/\[([^\]]+)]|Y{1,4}|M{1,4}|D{1,2}|d{1,4}|H{1,2}|h{1,2}|a|A|m{1,2}|s{1,2}|Z{1,2}|SSS/g,he={name:"en",weekdays:"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),months:"January_February_March_April_May_June_July_August_September_October_November_December".split("_"),ordinal:function(Ae){var Q=["th","st","nd","rd"],re=Ae%100;return"["+Ae+(Q[(re-20)%10]||Q[re]||Q[0])+"]"}},ee=function(Ae,Q,re){var _e=String(Ae);return!_e||_e.length>=Q?Ae:""+Array(Q+1-_e.length).join(re)+Ae},ye={s:ee,z:function(Ae){var Q=-Ae.utcOffset(),re=Math.abs(Q),_e=Math.floor(re/60),de=re%60;return(Q<=0?"+":"-")+ee(_e,2,"0")+":"+ee(de,2,"0")},m:function Ae(Q,re){if(Q.date()<re.date())return-Ae(re,Q);var _e=12*(re.year()-Q.year())+(re.month()-Q.month()),de=Q.clone().add(_e,ne),me=re-de<0,Ve=Q.clone().add(_e+(me?-1:1),ne);return+(-(_e+(re-de)/(me?de-Ve:Ve-de))||0)},a:function(Ae){return Ae<0?Math.ceil(Ae)||0:Math.floor(Ae)},p:function(Ae){return{M:ne,y:x,w:ge,d:X,D:F,h:J,m:oe,s:te,ms:V,Q:Y}[Ae]||String(Ae||"").toLowerCase().replace(/s$/,"")},u:function(Ae){return void 0===Ae}},Ie="en",Me={};Me[Ie]=he;var ce=function(Ae){return Ae instanceof kt},Be=function Ae(Q,re,_e){var de;if(!Q)return Ie;if("string"==typeof Q){var me=Q.toLowerCase();Me[me]&&(de=me),re&&(Me[me]=re,de=me);var Ve=Q.split("-");if(!de&&Ve.length>1)return Ae(Ve[0])}else{var He=Q.name;Me[He]=Q,de=He}return!_e&&de&&(Ie=de),de||!_e&&Ie},Ne=function(Ae,Q){if(ce(Ae))return Ae.clone();var re="object"==typeof Q?Q:{};return re.date=Ae,re.args=arguments,new kt(re)},je=ye;je.l=Be,je.i=ce,je.w=function(Ae,Q){return Ne(Ae,{locale:Q.$L,utc:Q.$u,x:Q.$x,$offset:Q.$offset})};var kt=function(){function Ae(re){this.$L=Be(re.locale,null,!0),this.parse(re)}var Q=Ae.prototype;return Q.parse=function(re){this.$d=function(_e){var de=_e.date,me=_e.utc;if(null===de)return new Date(NaN);if(je.u(de))return new Date;if(de instanceof Date)return new Date(de);if("string"==typeof de&&!/Z$/i.test(de)){var Ve=de.match(Z);if(Ve){var He=Ve[2]-1||0,_t=(Ve[7]||"0").substring(0,3);return me?new Date(Date.UTC(Ve[1],He,Ve[3]||1,Ve[4]||0,Ve[5]||0,Ve[6]||0,_t)):new Date(Ve[1],He,Ve[3]||1,Ve[4]||0,Ve[5]||0,Ve[6]||0,_t)}}return new Date(de)}(re),this.$x=re.x||{},this.init()},Q.init=function(){var re=this.$d;this.$y=re.getFullYear(),this.$M=re.getMonth(),this.$D=re.getDate(),this.$W=re.getDay(),this.$H=re.getHours(),this.$m=re.getMinutes(),this.$s=re.getSeconds(),this.$ms=re.getMilliseconds()},Q.$utils=function(){return je},Q.isValid=function(){return this.$d.toString()!==H},Q.isSame=function(re,_e){var de=Ne(re);return this.startOf(_e)<=de&&de<=this.endOf(_e)},Q.isAfter=function(re,_e){return Ne(re)<this.startOf(_e)},Q.isBefore=function(re,_e){return this.endOf(_e)<Ne(re)},Q.$g=function(re,_e,de){return je.u(re)?this[_e]:this.set(de,re)},Q.unix=function(){return Math.floor(this.valueOf()/1e3)},Q.valueOf=function(){return this.$d.getTime()},Q.startOf=function(re,_e){var de=this,me=!!je.u(_e)||_e,Ve=je.p(re),He=function($e,tt){var lt=je.w(de.$u?Date.UTC(de.$y,tt,$e):new Date(de.$y,tt,$e),de);return me?lt:lt.endOf(X)},_t=function($e,tt){return je.w(de.toDate()[$e].apply(de.toDate("s"),(me?[0,0,0,0]:[23,59,59,999]).slice(tt)),de)},ot=this.$W,gt=this.$M,Tt=this.$D,zt="set"+(this.$u?"UTC":"");switch(Ve){case x:return me?He(1,0):He(31,11);case ne:return me?He(1,gt):He(0,gt+1);case ge:var Cn=this.$locale().weekStart||0,Ue=(ot<Cn?ot+7:ot)-Cn;return He(me?Tt-Ue:Tt+(6-Ue),gt);case X:case F:return _t(zt+"Hours",0);case J:return _t(zt+"Minutes",1);case oe:return _t(zt+"Seconds",2);case te:return _t(zt+"Milliseconds",3);default:return this.clone()}},Q.endOf=function(re){return this.startOf(re,!1)},Q.$set=function(re,_e){var de,me=je.p(re),Ve="set"+(this.$u?"UTC":""),He=(de={},de[X]=Ve+"Date",de[F]=Ve+"Date",de[ne]=Ve+"Month",de[x]=Ve+"FullYear",de[J]=Ve+"Hours",de[oe]=Ve+"Minutes",de[te]=Ve+"Seconds",de[V]=Ve+"Milliseconds",de)[me],_t=me===X?this.$D+(_e-this.$W):_e;if(me===ne||me===x){var ot=this.clone().set(F,1);ot.$d[He](_t),ot.init(),this.$d=ot.set(F,Math.min(this.$D,ot.daysInMonth())).$d}else He&&this.$d[He](_t);return this.init(),this},Q.set=function(re,_e){return this.clone().$set(re,_e)},Q.get=function(re){return this[je.p(re)]()},Q.add=function(re,_e){var de,me=this;re=Number(re);var Ve=je.p(_e),He=function(gt){var Tt=Ne(me);return je.w(Tt.date(Tt.date()+Math.round(gt*re)),me)};if(Ve===ne)return this.set(ne,this.$M+re);if(Ve===x)return this.set(x,this.$y+re);if(Ve===X)return He(1);if(Ve===ge)return He(7);var _t=(de={},de[oe]=T,de[J]=s,de[te]=1e3,de)[Ve]||1,ot=this.$d.getTime()+re*_t;return je.w(ot,this)},Q.subtract=function(re,_e){return this.add(-1*re,_e)},Q.format=function(re){var _e=this,de=this.$locale();if(!this.isValid())return de.invalidDate||H;var me=re||"YYYY-MM-DDTHH:mm:ssZ",Ve=je.z(this),He=this.$H,_t=this.$m,ot=this.$M,gt=de.weekdays,Tt=de.months,zt=function(tt,lt,xn,ue){return tt&&(tt[lt]||tt(_e,me))||xn[lt].slice(0,ue)},Cn=function(tt){return je.s(He%12||12,tt,"0")},Ue=de.meridiem||function(tt,lt,xn){var ue=tt<12?"AM":"PM";return xn?ue.toLowerCase():ue},$e={YY:String(this.$y).slice(-2),YYYY:this.$y,M:ot+1,MM:je.s(ot+1,2,"0"),MMM:zt(de.monthsShort,ot,Tt,3),MMMM:zt(Tt,ot),D:this.$D,DD:je.s(this.$D,2,"0"),d:String(this.$W),dd:zt(de.weekdaysMin,this.$W,gt,2),ddd:zt(de.weekdaysShort,this.$W,gt,3),dddd:gt[this.$W],H:String(He),HH:je.s(He,2,"0"),h:Cn(1),hh:Cn(2),a:Ue(He,_t,!0),A:Ue(He,_t,!1),m:String(_t),mm:je.s(_t,2,"0"),s:String(this.$s),ss:je.s(this.$s,2,"0"),SSS:je.s(this.$ms,3,"0"),Z:Ve};return me.replace(q,function(tt,lt){return lt||$e[tt]||Ve.replace(":","")})},Q.utcOffset=function(){return 15*-Math.round(this.$d.getTimezoneOffset()/15)},Q.diff=function(re,_e,de){var me,Ve=je.p(_e),He=Ne(re),_t=(He.utcOffset()-this.utcOffset())*T,ot=this-He,gt=je.m(this,He);return gt=(me={},me[x]=gt/12,me[ne]=gt,me[Y]=gt/3,me[ge]=(ot-_t)/6048e5,me[X]=(ot-_t)/864e5,me[J]=ot/s,me[oe]=ot/T,me[te]=ot/1e3,me)[Ve]||ot,de?gt:je.a(gt)},Q.daysInMonth=function(){return this.endOf(ne).$D},Q.$locale=function(){return Me[this.$L]},Q.locale=function(re,_e){if(!re)return this.$L;var de=this.clone(),me=Be(re,_e,!0);return me&&(de.$L=me),de},Q.clone=function(){return je.w(this.$d,this)},Q.toDate=function(){return new Date(this.valueOf())},Q.toJSON=function(){return this.isValid()?this.toISOString():null},Q.toISOString=function(){return this.$d.toISOString()},Q.toString=function(){return this.$d.toUTCString()},Ae}(),Se=kt.prototype;return Ne.prototype=Se,[["$ms",V],["$s",te],["$m",oe],["$H",J],["$W",X],["$M",ne],["$y",x],["$D",F]].forEach(function(Ae){Se[Ae[1]]=function(Q){return this.$g(Q,Ae[0],Ae[1])}}),Ne.extend=function(Ae,Q){return Ae.$i||(Ae(Q,kt,Ne),Ae.$i=!0),Ne},Ne.locale=Be,Ne.isDayjs=ce,Ne.unix=function(Ae){return Ne(1e3*Ae)},Ne.en=Me[Ie],Ne.Ls=Me,Ne.p={},Ne}()},5268:function(Le){Le.exports=function(){"use strict";var T=/[+-]\d\d(?::?\d\d)?/g,s=/([+-]|\d\d)/g;return function(V,te,oe){var J=te.prototype;oe.utc=function(H){return new te({date:H,utc:!0,args:arguments})},J.utc=function(H){var Z=oe(this.toDate(),{locale:this.$L,utc:!0});return H?Z.add(this.utcOffset(),"minute"):Z},J.local=function(){return oe(this.toDate(),{locale:this.$L,utc:!1})};var X=J.parse;J.parse=function(H){H.utc&&(this.$u=!0),this.$utils().u(H.$offset)||(this.$offset=H.$offset),X.call(this,H)};var ge=J.init;J.init=function(){if(this.$u){var H=this.$d;this.$y=H.getUTCFullYear(),this.$M=H.getUTCMonth(),this.$D=H.getUTCDate(),this.$W=H.getUTCDay(),this.$H=H.getUTCHours(),this.$m=H.getUTCMinutes(),this.$s=H.getUTCSeconds(),this.$ms=H.getUTCMilliseconds()}else ge.call(this)};var ne=J.utcOffset;J.utcOffset=function(H,Z){var q=this.$utils().u;if(q(H))return this.$u?0:q(this.$offset)?ne.call(this):this.$offset;if("string"==typeof H&&null===(H=function(Ie){void 0===Ie&&(Ie="");var Me=Ie.match(T);if(!Me)return null;var ce=(""+Me[0]).match(s)||["-",0,0],Ne=60*+ce[1]+ +ce[2];return 0===Ne?0:"+"===ce[0]?Ne:-Ne}(H)))return this;var he=Math.abs(H)<=16?60*H:H,ee=this;if(Z)return ee.$offset=he,ee.$u=0===H,ee;if(0!==H){var ye=this.$u?this.toDate().getTimezoneOffset():-1*this.utcOffset();(ee=this.local().add(he+ye,"minute")).$offset=he,ee.$x.$localOffset=ye}else ee=this.utc();return ee};var Y=J.format;J.format=function(H){return Y.call(this,H||(this.$u?"YYYY-MM-DDTHH:mm:ss[Z]":""))},J.valueOf=function(){var H=this.$utils().u(this.$offset)?0:this.$offset+(this.$x.$localOffset||this.$d.getTimezoneOffset());return this.$d.valueOf()-6e4*H},J.isUTC=function(){return!!this.$u},J.toISOString=function(){return this.toDate().toISOString()},J.toString=function(){return this.toDate().toUTCString()};var x=J.toDate;J.toDate=function(H){return"s"===H&&this.$offset?oe(this.format("YYYY-MM-DD HH:mm:ss:SSS")).toDate():x.call(this)};var F=J.diff;J.diff=function(H,Z,q){if(H&&this.$u===H.$u)return F.call(this,H,Z,q);var he=this.local(),ee=oe(H).local();return F.call(he,ee,Z,q)}}}()},591:(Le,ie,T)=>{"use strict";T.d(ie,{X:()=>te});var s=T(5529),V=T(5279);class te extends s.xQ{constructor(J){super(),this._value=J}get value(){return this.getValue()}_subscribe(J){const X=super._subscribe(J);return X&&!X.closed&&J.next(this._value),X}getValue(){if(this.hasError)throw this.thrownError;if(this.closed)throw new V.N;return this._value}next(J){super.next(this._value=J)}}},6498:(Le,ie,T)=>{"use strict";T.d(ie,{y:()=>Y});var s=T(3489),te=T(7668),oe=T(3292),X=T(3821),ge=T(4843),ne=T(2830);let Y=(()=>{class F{constructor(Z){this._isScalar=!1,Z&&(this._subscribe=Z)}lift(Z){const q=new F;return q.source=this,q.operator=Z,q}subscribe(Z,q,he){const{operator:ee}=this,ye=function J(F,H,Z){if(F){if(F instanceof s.L)return F;if(F[te.b])return F[te.b]()}return F||H||Z?new s.L(F,H,Z):new s.L(oe.c)}(Z,q,he);if(ye.add(ee?ee.call(ye,this.source):this.source||ne.config.useDeprecatedSynchronousErrorHandling&&!ye.syncErrorThrowable?this._subscribe(ye):this._trySubscribe(ye)),ne.config.useDeprecatedSynchronousErrorHandling&&ye.syncErrorThrowable&&(ye.syncErrorThrowable=!1,ye.syncErrorThrown))throw ye.syncErrorValue;return ye}_trySubscribe(Z){try{return this._subscribe(Z)}catch(q){ne.config.useDeprecatedSynchronousErrorHandling&&(Z.syncErrorThrown=!0,Z.syncErrorValue=q),function V(F){for(;F;){const{closed:H,destination:Z,isStopped:q}=F;if(H||q)return!1;F=Z&&Z instanceof s.L?Z:null}return!0}(Z)?Z.error(q):console.warn(q)}}forEach(Z,q){return new(q=x(q))((he,ee)=>{let ye;ye=this.subscribe(Ie=>{try{Z(Ie)}catch(Me){ee(Me),ye&&ye.unsubscribe()}},ee,he)})}_subscribe(Z){const{source:q}=this;return q&&q.subscribe(Z)}[X.L](){return this}pipe(...Z){return 0===Z.length?this:(0,ge.U)(Z)(this)}toPromise(Z){return new(Z=x(Z))((q,he)=>{let ee;this.subscribe(ye=>ee=ye,ye=>he(ye),()=>q(ee))})}}return F.create=H=>new F(H),F})();function x(F){if(F||(F=ne.config.Promise||Promise),!F)throw new Error("no Promise impl found");return F}},3292:(Le,ie,T)=>{"use strict";T.d(ie,{c:()=>te});var s=T(2830),V=T(2782);const te={closed:!0,next(oe){},error(oe){if(s.config.useDeprecatedSynchronousErrorHandling)throw oe;(0,V.z)(oe)},complete(){}}},5529:(Le,ie,T)=>{"use strict";T.d(ie,{xQ:()=>ne,Yc:()=>ge});var s=T(6498),V=T(3489),te=T(2654),oe=T(5279);class J extends te.w{constructor(F,H){super(),this.subject=F,this.subscriber=H,this.closed=!1}unsubscribe(){if(this.closed)return;this.closed=!0;const F=this.subject,H=F.observers;if(this.subject=null,!H||0===H.length||F.isStopped||F.closed)return;const Z=H.indexOf(this.subscriber);-1!==Z&&H.splice(Z,1)}}var X=T(7668);class ge extends V.L{constructor(F){super(F),this.destination=F}}let ne=(()=>{class x extends s.y{constructor(){super(),this.observers=[],this.closed=!1,this.isStopped=!1,this.hasError=!1,this.thrownError=null}[X.b](){return new ge(this)}lift(H){const Z=new Y(this,this);return Z.operator=H,Z}next(H){if(this.closed)throw new oe.N;if(!this.isStopped){const{observers:Z}=this,q=Z.length,he=Z.slice();for(let ee=0;ee<q;ee++)he[ee].next(H)}}error(H){if(this.closed)throw new oe.N;this.hasError=!0,this.thrownError=H,this.isStopped=!0;const{observers:Z}=this,q=Z.length,he=Z.slice();for(let ee=0;ee<q;ee++)he[ee].error(H);this.observers.length=0}complete(){if(this.closed)throw new oe.N;this.isStopped=!0;const{observers:H}=this,Z=H.length,q=H.slice();for(let he=0;he<Z;he++)q[he].complete();this.observers.length=0}unsubscribe(){this.isStopped=!0,this.closed=!0,this.observers=null}_trySubscribe(H){if(this.closed)throw new oe.N;return super._trySubscribe(H)}_subscribe(H){if(this.closed)throw new oe.N;return this.hasError?(H.error(this.thrownError),te.w.EMPTY):this.isStopped?(H.complete(),te.w.EMPTY):(this.observers.push(H),new J(this,H))}asObservable(){const H=new s.y;return H.source=this,H}}return x.create=(F,H)=>new Y(F,H),x})();class Y extends ne{constructor(F,H){super(),this.destination=F,this.source=H}next(F){const{destination:H}=this;H&&H.next&&H.next(F)}error(F){const{destination:H}=this;H&&H.error&&this.destination.error(F)}complete(){const{destination:F}=this;F&&F.complete&&this.destination.complete()}_subscribe(F){const{source:H}=this;return H?this.source.subscribe(F):te.w.EMPTY}}},3489:(Le,ie,T)=>{"use strict";T.d(ie,{L:()=>ge});var s=T(7043),V=T(3292),te=T(2654),oe=T(7668),J=T(2830),X=T(2782);class ge extends te.w{constructor(x,F,H){switch(super(),this.syncErrorValue=null,this.syncErrorThrown=!1,this.syncErrorThrowable=!1,this.isStopped=!1,arguments.length){case 0:this.destination=V.c;break;case 1:if(!x){this.destination=V.c;break}if("object"==typeof x){x instanceof ge?(this.syncErrorThrowable=x.syncErrorThrowable,this.destination=x,x.add(this)):(this.syncErrorThrowable=!0,this.destination=new ne(this,x));break}default:this.syncErrorThrowable=!0,this.destination=new ne(this,x,F,H)}}[oe.b](){return this}static create(x,F,H){const Z=new ge(x,F,H);return Z.syncErrorThrowable=!1,Z}next(x){this.isStopped||this._next(x)}error(x){this.isStopped||(this.isStopped=!0,this._error(x))}complete(){this.isStopped||(this.isStopped=!0,this._complete())}unsubscribe(){this.closed||(this.isStopped=!0,super.unsubscribe())}_next(x){this.destination.next(x)}_error(x){this.destination.error(x),this.unsubscribe()}_complete(){this.destination.complete(),this.unsubscribe()}_unsubscribeAndRecycle(){const{_parentOrParents:x}=this;return this._parentOrParents=null,this.unsubscribe(),this.closed=!1,this.isStopped=!1,this._parentOrParents=x,this}}class ne extends ge{constructor(x,F,H,Z){super(),this._parentSubscriber=x;let q,he=this;(0,s.m)(F)?q=F:F&&(q=F.next,H=F.error,Z=F.complete,F!==V.c&&(he=Object.create(F),(0,s.m)(he.unsubscribe)&&this.add(he.unsubscribe.bind(he)),he.unsubscribe=this.unsubscribe.bind(this))),this._context=he,this._next=q,this._error=H,this._complete=Z}next(x){if(!this.isStopped&&this._next){const{_parentSubscriber:F}=this;J.config.useDeprecatedSynchronousErrorHandling&&F.syncErrorThrowable?this.__tryOrSetError(F,this._next,x)&&this.unsubscribe():this.__tryOrUnsub(this._next,x)}}error(x){if(!this.isStopped){const{_parentSubscriber:F}=this,{useDeprecatedSynchronousErrorHandling:H}=J.config;if(this._error)H&&F.syncErrorThrowable?(this.__tryOrSetError(F,this._error,x),this.unsubscribe()):(this.__tryOrUnsub(this._error,x),this.unsubscribe());else if(F.syncErrorThrowable)H?(F.syncErrorValue=x,F.syncErrorThrown=!0):(0,X.z)(x),this.unsubscribe();else{if(this.unsubscribe(),H)throw x;(0,X.z)(x)}}}complete(){if(!this.isStopped){const{_parentSubscriber:x}=this;if(this._complete){const F=()=>this._complete.call(this._context);J.config.useDeprecatedSynchronousErrorHandling&&x.syncErrorThrowable?(this.__tryOrSetError(x,F),this.unsubscribe()):(this.__tryOrUnsub(F),this.unsubscribe())}else this.unsubscribe()}}__tryOrUnsub(x,F){try{x.call(this._context,F)}catch(H){if(this.unsubscribe(),J.config.useDeprecatedSynchronousErrorHandling)throw H;(0,X.z)(H)}}__tryOrSetError(x,F,H){if(!J.config.useDeprecatedSynchronousErrorHandling)throw new Error("bad call");try{F.call(this._context,H)}catch(Z){return J.config.useDeprecatedSynchronousErrorHandling?(x.syncErrorValue=Z,x.syncErrorThrown=!0,!0):((0,X.z)(Z),!0)}return!1}_unsubscribe(){const{_parentSubscriber:x}=this;this._context=null,this._parentSubscriber=null,x.unsubscribe()}}},2654:(Le,ie,T)=>{"use strict";T.d(ie,{w:()=>X});var s=T(6688),V=T(7830),te=T(7043);const J=(()=>{function ne(Y){return Error.call(this),this.message=Y?`${Y.length} errors occurred during unsubscription:\n${Y.map((x,F)=>`${F+1}) ${x.toString()}`).join("\n ")}`:"",this.name="UnsubscriptionError",this.errors=Y,this}return ne.prototype=Object.create(Error.prototype),ne})();class X{constructor(Y){this.closed=!1,this._parentOrParents=null,this._subscriptions=null,Y&&(this._ctorUnsubscribe=!0,this._unsubscribe=Y)}unsubscribe(){let Y;if(this.closed)return;let{_parentOrParents:x,_ctorUnsubscribe:F,_unsubscribe:H,_subscriptions:Z}=this;if(this.closed=!0,this._parentOrParents=null,this._subscriptions=null,x instanceof X)x.remove(this);else if(null!==x)for(let q=0;q<x.length;++q)x[q].remove(this);if((0,te.m)(H)){F&&(this._unsubscribe=void 0);try{H.call(this)}catch(q){Y=q instanceof J?ge(q.errors):[q]}}if((0,s.k)(Z)){let q=-1,he=Z.length;for(;++q<he;){const ee=Z[q];if((0,V.K)(ee))try{ee.unsubscribe()}catch(ye){Y=Y||[],ye instanceof J?Y=Y.concat(ge(ye.errors)):Y.push(ye)}}}if(Y)throw new J(Y)}add(Y){let x=Y;if(!Y)return X.EMPTY;switch(typeof Y){case"function":x=new X(Y);case"object":if(x===this||x.closed||"function"!=typeof x.unsubscribe)return x;if(this.closed)return x.unsubscribe(),x;if(!(x instanceof X)){const Z=x;x=new X,x._subscriptions=[Z]}break;default:throw new Error("unrecognized teardown "+Y+" added to Subscription.")}let{_parentOrParents:F}=x;if(null===F)x._parentOrParents=this;else if(F instanceof X){if(F===this)return x;x._parentOrParents=[F,this]}else{if(-1!==F.indexOf(this))return x;F.push(this)}const H=this._subscriptions;return null===H?this._subscriptions=[x]:H.push(x),x}remove(Y){const x=this._subscriptions;if(x){const F=x.indexOf(Y);-1!==F&&x.splice(F,1)}}}var ne;function ge(ne){return ne.reduce((Y,x)=>Y.concat(x instanceof J?x.errors:x),[])}X.EMPTY=((ne=new X).closed=!0,ne)},2830:(Le,ie,T)=>{"use strict";T.d(ie,{config:()=>V});let s=!1;const V={Promise:void 0,set useDeprecatedSynchronousErrorHandling(te){if(te){const oe=new Error;console.warn("DEPRECATED! RxJS was set to use deprecated synchronous error handling behavior by code at: \n"+oe.stack)}else s&&console.log("RxJS: Back to a better error behavior. Thank you. <3");s=te},get useDeprecatedSynchronousErrorHandling(){return s}}},1177:(Le,ie,T)=>{"use strict";T.d(ie,{Ds:()=>X,IY:()=>oe,ft:()=>ne});var s=T(3489),V=T(6498),te=T(9249);class oe extends s.L{constructor(x){super(),this.parent=x}_next(x){this.parent.notifyNext(x)}_error(x){this.parent.notifyError(x),this.unsubscribe()}_complete(){this.parent.notifyComplete(),this.unsubscribe()}}class X extends s.L{notifyNext(x){this.destination.next(x)}notifyError(x){this.destination.error(x)}notifyComplete(){this.destination.complete()}}function ne(Y,x){if(x.closed)return;if(Y instanceof V.y)return Y.subscribe(x);let F;try{F=(0,te.s)(Y)(x)}catch(H){x.error(H)}return F}},1762:(Le,ie,T)=>{"use strict";T.d(ie,{N:()=>X,c:()=>J});var s=T(5529),V=T(6498),te=T(2654),oe=T(4327);class J extends V.y{constructor(F,H){super(),this.source=F,this.subjectFactory=H,this._refCount=0,this._isComplete=!1}_subscribe(F){return this.getSubject().subscribe(F)}getSubject(){const F=this._subject;return(!F||F.isStopped)&&(this._subject=this.subjectFactory()),this._subject}connect(){let F=this._connection;return F||(this._isComplete=!1,F=this._connection=new te.w,F.add(this.source.subscribe(new ge(this.getSubject(),this))),F.closed&&(this._connection=null,F=te.w.EMPTY)),F}refCount(){return(0,oe.x)()(this)}}const X=(()=>{const x=J.prototype;return{operator:{value:null},_refCount:{value:0,writable:!0},_subject:{value:null,writable:!0},_connection:{value:null,writable:!0},_subscribe:{value:x._subscribe},_isComplete:{value:x._isComplete,writable:!0},getSubject:{value:x.getSubject},connect:{value:x.connect},refCount:{value:x.refCount}}})();class ge extends s.Yc{constructor(F,H){super(F),this.connectable=H}_error(F){this._unsubscribe(),super._error(F)}_complete(){this.connectable._isComplete=!0,this._unsubscribe(),super._complete()}_unsubscribe(){const F=this.connectable;if(F){this.connectable=null;const H=F._connection;F._refCount=0,F._subject=null,F._connection=null,H&&H.unsubscribe()}}}},3426:(Le,ie,T)=>{"use strict";T.d(ie,{aj:()=>F});var s=T(2866),V=T(6688),te=T(3489);class oe extends te.L{notifyNext(he,ee,ye,Ie,Me){this.destination.next(ee)}notifyError(he,ee){this.destination.error(he)}notifyComplete(he){this.destination.complete()}}class J extends te.L{constructor(he,ee,ye){super(),this.parent=he,this.outerValue=ee,this.outerIndex=ye,this.index=0}_next(he){this.parent.notifyNext(this.outerValue,he,this.outerIndex,this.index++,this)}_error(he){this.parent.notifyError(he,this),this.unsubscribe()}_complete(){this.parent.notifyComplete(this),this.unsubscribe()}}var X=T(9249),ge=T(6498);function ne(q,he,ee,ye,Ie=new J(q,ee,ye)){if(!Ie.closed)return he instanceof ge.y?he.subscribe(Ie):(0,X.s)(he)(Ie)}var Y=T(3009);const x={};function F(...q){let he,ee;return(0,s.K)(q[q.length-1])&&(ee=q.pop()),"function"==typeof q[q.length-1]&&(he=q.pop()),1===q.length&&(0,V.k)(q[0])&&(q=q[0]),(0,Y.n)(q,ee).lift(new H(he))}class H{constructor(he){this.resultSelector=he}call(he,ee){return ee.subscribe(new Z(he,this.resultSelector))}}class Z extends oe{constructor(he,ee){super(he),this.resultSelector=ee,this.active=0,this.values=[],this.observables=[]}_next(he){this.values.push(x),this.observables.push(he)}_complete(){const he=this.observables,ee=he.length;if(0===ee)this.destination.complete();else{this.active=ee,this.toRespond=ee;for(let ye=0;ye<ee;ye++)this.add(ne(this,he[ye],void 0,ye))}}notifyComplete(he){0==(this.active-=1)&&this.destination.complete()}notifyNext(he,ee,ye){const Ie=this.values,ce=this.toRespond?Ie[ye]===x?--this.toRespond:this.toRespond:0;Ie[ye]=ee,0===ce&&(this.resultSelector?this._tryResultSelector(Ie):this.destination.next(Ie.slice()))}_tryResultSelector(he){let ee;try{ee=this.resultSelector.apply(this,he)}catch(ye){return void this.destination.error(ye)}this.destination.next(ee)}}},1221:(Le,ie,T)=>{"use strict";T.d(ie,{z:()=>oe});var s=T(1086),V=T(9146);function oe(...J){return function te(){return(0,V.J)(1)}()((0,s.of)(...J))}},5254:(Le,ie,T)=>{"use strict";T.d(ie,{D:()=>he});var s=T(6498),V=T(9249),te=T(2654),oe=T(3821),ge=T(6454),ne=T(5430),F=T(8955),H=T(8515);function he(ee,ye){return ye?function q(ee,ye){if(null!=ee){if(function x(ee){return ee&&"function"==typeof ee[oe.L]}(ee))return function J(ee,ye){return new s.y(Ie=>{const Me=new te.w;return Me.add(ye.schedule(()=>{const ce=ee[oe.L]();Me.add(ce.subscribe({next(Be){Me.add(ye.schedule(()=>Ie.next(Be)))},error(Be){Me.add(ye.schedule(()=>Ie.error(Be)))},complete(){Me.add(ye.schedule(()=>Ie.complete()))}}))})),Me})}(ee,ye);if((0,F.t)(ee))return function X(ee,ye){return new s.y(Ie=>{const Me=new te.w;return Me.add(ye.schedule(()=>ee.then(ce=>{Me.add(ye.schedule(()=>{Ie.next(ce),Me.add(ye.schedule(()=>Ie.complete()))}))},ce=>{Me.add(ye.schedule(()=>Ie.error(ce)))}))),Me})}(ee,ye);if((0,H.z)(ee))return(0,ge.r)(ee,ye);if(function Z(ee){return ee&&"function"==typeof ee[ne.hZ]}(ee)||"string"==typeof ee)return function Y(ee,ye){if(!ee)throw new Error("Iterable cannot be null");return new s.y(Ie=>{const Me=new te.w;let ce;return Me.add(()=>{ce&&"function"==typeof ce.return&&ce.return()}),Me.add(ye.schedule(()=>{ce=ee[ne.hZ](),Me.add(ye.schedule(function(){if(Ie.closed)return;let Be,Ne;try{const je=ce.next();Be=je.value,Ne=je.done}catch(je){return void Ie.error(je)}Ne?Ie.complete():(Ie.next(Be),this.schedule())}))})),Me})}(ee,ye)}throw new TypeError((null!==ee&&typeof ee||ee)+" is not observable")}(ee,ye):ee instanceof s.y?ee:new s.y((0,V.s)(ee))}},3009:(Le,ie,T)=>{"use strict";T.d(ie,{n:()=>oe});var s=T(6498),V=T(3650),te=T(6454);function oe(J,X){return X?(0,te.r)(J,X):new s.y((0,V.V)(J))}},1086:(Le,ie,T)=>{"use strict";T.d(ie,{of:()=>oe});var s=T(2866),V=T(3009),te=T(6454);function oe(...J){let X=J[J.length-1];return(0,s.K)(X)?(J.pop(),(0,te.r)(J,X)):(0,V.n)(J)}},7221:(Le,ie,T)=>{"use strict";T.d(ie,{K:()=>V});var s=T(1177);function V(J){return function(ge){const ne=new te(J),Y=ge.lift(ne);return ne.caught=Y}}class te{constructor(X){this.selector=X}call(X,ge){return ge.subscribe(new oe(X,this.selector,this.caught))}}class oe extends s.Ds{constructor(X,ge,ne){super(X),this.selector=ge,this.caught=ne}error(X){if(!this.isStopped){let ge;try{ge=this.selector(X,this.caught)}catch(x){return void super.error(x)}this._unsubscribeAndRecycle();const ne=new s.IY(this);this.add(ne);const Y=(0,s.ft)(ge,ne);Y!==ne&&this.add(Y)}}}},4850:(Le,ie,T)=>{"use strict";T.d(ie,{U:()=>V});var s=T(3489);function V(J,X){return function(ne){if("function"!=typeof J)throw new TypeError("argument is not a function. Are you looking for `mapTo()`?");return ne.lift(new te(J,X))}}class te{constructor(X,ge){this.project=X,this.thisArg=ge}call(X,ge){return ge.subscribe(new oe(X,this.project,this.thisArg))}}class oe extends s.L{constructor(X,ge,ne){super(X),this.project=ge,this.count=0,this.thisArg=ne||this}_next(X){let ge;try{ge=this.project.call(this.thisArg,X,this.count++)}catch(ne){return void this.destination.error(ne)}this.destination.next(ge)}}},9146:(Le,ie,T)=>{"use strict";T.d(ie,{J:()=>te});var s=T(1709),V=T(5379);function te(oe=Number.POSITIVE_INFINITY){return(0,s.zg)(V.y,oe)}},1709:(Le,ie,T)=>{"use strict";T.d(ie,{zg:()=>oe});var s=T(4850),V=T(5254),te=T(1177);function oe(ne,Y,x=Number.POSITIVE_INFINITY){return"function"==typeof Y?F=>F.pipe(oe((H,Z)=>(0,V.D)(ne(H,Z)).pipe((0,s.U)((q,he)=>Y(H,q,Z,he))),x)):("number"==typeof Y&&(x=Y),F=>F.lift(new J(ne,x)))}class J{constructor(Y,x=Number.POSITIVE_INFINITY){this.project=Y,this.concurrent=x}call(Y,x){return x.subscribe(new X(Y,this.project,this.concurrent))}}class X extends te.Ds{constructor(Y,x,F=Number.POSITIVE_INFINITY){super(Y),this.project=x,this.concurrent=F,this.hasCompleted=!1,this.buffer=[],this.active=0,this.index=0}_next(Y){this.active<this.concurrent?this._tryNext(Y):this.buffer.push(Y)}_tryNext(Y){let x;const F=this.index++;try{x=this.project(Y,F)}catch(H){return void this.destination.error(H)}this.active++,this._innerSub(x)}_innerSub(Y){const x=new te.IY(this),F=this.destination;F.add(x);const H=(0,te.ft)(Y,x);H!==x&&F.add(H)}_complete(){this.hasCompleted=!0,0===this.active&&0===this.buffer.length&&this.destination.complete(),this.unsubscribe()}notifyNext(Y){this.destination.next(Y)}notifyComplete(){const Y=this.buffer;this.active--,Y.length>0?this._next(Y.shift()):0===this.active&&this.hasCompleted&&this.destination.complete()}}},4327:(Le,ie,T)=>{"use strict";T.d(ie,{x:()=>V});var s=T(3489);function V(){return function(X){return X.lift(new te(X))}}class te{constructor(X){this.connectable=X}call(X,ge){const{connectable:ne}=this;ne._refCount++;const Y=new oe(X,ne),x=ge.subscribe(Y);return Y.closed||(Y.connection=ne.connect()),x}}class oe extends s.L{constructor(X,ge){super(X),this.connectable=ge}_unsubscribe(){const{connectable:X}=this;if(!X)return void(this.connection=null);this.connectable=null;const ge=X._refCount;if(ge<=0)return void(this.connection=null);if(X._refCount=ge-1,ge>1)return void(this.connection=null);const{connection:ne}=this,Y=X._connection;this.connection=null,Y&&(!ne||Y===ne)&&Y.unsubscribe()}}},1059:(Le,ie,T)=>{"use strict";T.d(ie,{O:()=>te});var s=T(1221),V=T(2866);function te(...oe){const J=oe[oe.length-1];return(0,V.K)(J)?(oe.pop(),X=>(0,s.z)(oe,X,J)):X=>(0,s.z)(oe,X)}},7545:(Le,ie,T)=>{"use strict";T.d(ie,{w:()=>oe});var s=T(4850),V=T(5254),te=T(1177);function oe(ge,ne){return"function"==typeof ne?Y=>Y.pipe(oe((x,F)=>(0,V.D)(ge(x,F)).pipe((0,s.U)((H,Z)=>ne(x,H,F,Z))))):Y=>Y.lift(new J(ge))}class J{constructor(ne){this.project=ne}call(ne,Y){return Y.subscribe(new X(ne,this.project))}}class X extends te.Ds{constructor(ne,Y){super(ne),this.project=Y,this.index=0}_next(ne){let Y;const x=this.index++;try{Y=this.project(ne,x)}catch(F){return void this.destination.error(F)}this._innerSub(Y)}_innerSub(ne){const Y=this.innerSubscription;Y&&Y.unsubscribe();const x=new te.IY(this),F=this.destination;F.add(x),this.innerSubscription=(0,te.ft)(ne,x),this.innerSubscription!==x&&F.add(this.innerSubscription)}_complete(){const{innerSubscription:ne}=this;(!ne||ne.closed)&&super._complete(),this.unsubscribe()}_unsubscribe(){this.innerSubscription=void 0}notifyComplete(){this.innerSubscription=void 0,this.isStopped&&super._complete()}notifyNext(ne){this.destination.next(ne)}}},7625:(Le,ie,T)=>{"use strict";T.d(ie,{R:()=>V});var s=T(1177);function V(J){return X=>X.lift(new te(J))}class te{constructor(X){this.notifier=X}call(X,ge){const ne=new oe(X),Y=(0,s.ft)(this.notifier,new s.IY(ne));return Y&&!ne.seenValue?(ne.add(Y),ge.subscribe(ne)):ne}}class oe extends s.Ds{constructor(X){super(X),this.seenValue=!1}notifyNext(){this.seenValue=!0,this.complete()}notifyComplete(){}}},2868:(Le,ie,T)=>{"use strict";T.d(ie,{b:()=>oe});var s=T(3489);function V(){}var te=T(7043);function oe(ge,ne,Y){return function(F){return F.lift(new J(ge,ne,Y))}}class J{constructor(ne,Y,x){this.nextOrObserver=ne,this.error=Y,this.complete=x}call(ne,Y){return Y.subscribe(new X(ne,this.nextOrObserver,this.error,this.complete))}}class X extends s.L{constructor(ne,Y,x,F){super(ne),this._tapNext=V,this._tapError=V,this._tapComplete=V,this._tapError=x||V,this._tapComplete=F||V,(0,te.m)(Y)?(this._context=this,this._tapNext=Y):Y&&(this._context=Y,this._tapNext=Y.next||V,this._tapError=Y.error||V,this._tapComplete=Y.complete||V)}_next(ne){try{this._tapNext.call(this._context,ne)}catch(Y){return void this.destination.error(Y)}this.destination.next(ne)}_error(ne){try{this._tapError.call(this._context,ne)}catch(Y){return void this.destination.error(Y)}this.destination.error(ne)}_complete(){try{this._tapComplete.call(this._context)}catch(ne){return void this.destination.error(ne)}return this.destination.complete()}}},6454:(Le,ie,T)=>{"use strict";T.d(ie,{r:()=>te});var s=T(6498),V=T(2654);function te(oe,J){return new s.y(X=>{const ge=new V.w;let ne=0;return ge.add(J.schedule(function(){ne!==oe.length?(X.next(oe[ne++]),X.closed||ge.add(this.schedule())):X.complete()})),ge})}},5430:(Le,ie,T)=>{"use strict";T.d(ie,{hZ:()=>V});const V=function s(){return"function"==typeof Symbol&&Symbol.iterator?Symbol.iterator:"@@iterator"}()},3821:(Le,ie,T)=>{"use strict";T.d(ie,{L:()=>s});const s="function"==typeof Symbol&&Symbol.observable||"@@observable"},7668:(Le,ie,T)=>{"use strict";T.d(ie,{b:()=>s});const s="function"==typeof Symbol?Symbol("rxSubscriber"):"@@rxSubscriber_"+Math.random()},5279:(Le,ie,T)=>{"use strict";T.d(ie,{N:()=>V});const V=(()=>{function te(){return Error.call(this),this.message="object unsubscribed",this.name="ObjectUnsubscribedError",this}return te.prototype=Object.create(Error.prototype),te})()},2782:(Le,ie,T)=>{"use strict";function s(V){setTimeout(()=>{throw V},0)}T.d(ie,{z:()=>s})},5379:(Le,ie,T)=>{"use strict";function s(V){return V}T.d(ie,{y:()=>s})},6688:(Le,ie,T)=>{"use strict";T.d(ie,{k:()=>s});const s=Array.isArray||(V=>V&&"number"==typeof V.length)},8515:(Le,ie,T)=>{"use strict";T.d(ie,{z:()=>s});const s=V=>V&&"number"==typeof V.length&&"function"!=typeof V},7043:(Le,ie,T)=>{"use strict";function s(V){return"function"==typeof V}T.d(ie,{m:()=>s})},7830:(Le,ie,T)=>{"use strict";function s(V){return null!==V&&"object"==typeof V}T.d(ie,{K:()=>s})},8955:(Le,ie,T)=>{"use strict";function s(V){return!!V&&"function"!=typeof V.subscribe&&"function"==typeof V.then}T.d(ie,{t:()=>s})},2866:(Le,ie,T)=>{"use strict";function s(V){return V&&"function"==typeof V.schedule}T.d(ie,{K:()=>s})},4843:(Le,ie,T)=>{"use strict";T.d(ie,{U:()=>te,z:()=>V});var s=T(5379);function V(...oe){return te(oe)}function te(oe){return 0===oe.length?s.y:1===oe.length?oe[0]:function(X){return oe.reduce((ge,ne)=>ne(ge),X)}}},9249:(Le,ie,T)=>{"use strict";T.d(ie,{s:()=>F});var s=T(3650),V=T(2782),oe=T(5430),X=T(3821),ne=T(8515),Y=T(8955),x=T(7830);const F=H=>{if(H&&"function"==typeof H[X.L])return(H=>Z=>{const q=H[X.L]();if("function"!=typeof q.subscribe)throw new TypeError("Provided object does not correctly implement Symbol.observable");return q.subscribe(Z)})(H);if((0,ne.z)(H))return(0,s.V)(H);if((0,Y.t)(H))return(H=>Z=>(H.then(q=>{Z.closed||(Z.next(q),Z.complete())},q=>Z.error(q)).then(null,V.z),Z))(H);if(H&&"function"==typeof H[oe.hZ])return(H=>Z=>{const q=H[oe.hZ]();for(;;){let he;try{he=q.next()}catch(ee){return Z.error(ee),Z}if(he.done){Z.complete();break}if(Z.next(he.value),Z.closed)break}return"function"==typeof q.return&&Z.add(()=>{q.return&&q.return()}),Z})(H);{const q=`You provided ${(0,x.K)(H)?"an invalid object":`'${H}'`} where a stream was expected. You can provide an Observable, Promise, Array, or Iterable.`;throw new TypeError(q)}}},3650:(Le,ie,T)=>{"use strict";T.d(ie,{V:()=>s});const s=V=>te=>{for(let oe=0,J=V.length;oe<J&&!te.closed;oe++)te.next(V[oe]);te.complete()}},861:(Le,ie,T)=>{"use strict";T.d(ie,{Y6:()=>ce,Ik:()=>gt,ti:()=>Ne,XX:()=>Cn,XI:()=>$e,LR:()=>lt,aJ:()=>de});var s=T(666),V=T(1199),te=T(6789),oe=T(5689),J=T(4755),X=T(426),ge=T(3426),ne=T(1059),Y=T(3489);class F{constructor(G,U){this.compare=G,this.keySelector=U}call(G,U){return U.subscribe(new H(G,this.compare,this.keySelector))}}class H extends Y.L{constructor(G,U,W){super(G),this.keySelector=W,this.hasKey=!1,"function"==typeof U&&(this.compare=U)}compare(G,U){return G===U}_next(G){let U;try{const{keySelector:xe}=this;U=xe?xe(G):G}catch(xe){return this.destination.error(xe)}let W=!1;if(this.hasKey)try{const{compare:xe}=this;W=xe(this.key,U)}catch(xe){return this.destination.error(xe)}else this.hasKey=!0;W||(this.key=U,this.destination.next(G))}}var Z=T(7625),q=T(2868);function he(ue,G){if(1&ue&&(s._UZ(0,"div",1),s.ALo(1,"nbErrInfo")),2&ue){const U=s.oxw();s.Q6J("nb-r-str",s.xi3(1,1,U.control.errors,U.allErrInfo))}}function ee(ue,G){1&ue&&(s.TgZ(0,"span",4),s._uU(1,"*"),s.qZA())}function ye(ue,G){if(1&ue&&s._UZ(0,"nb-control-err",5),2&ue){const U=s.oxw();s.Q6J("control",U.control)("errInfo",U.errInfo)}}const Ie=[[["","field-label",""]],"*"],Me=["[field-label]","*"],ce=new s.OlP("common errors information");var Ne=(()=>((Ne=Ne||{}).REQUIRED="required",Ne.FILE_MAX_SIZE="fileMaxSize",Ne.FILE_MIN_SIZE="fileMinSize",Ne.FILE_TYPE="fileType",Ne.EQUAL="equal",Ne.MAX_LENGTH="maxlength",Ne.MIN_LENGTH="minlength",Ne.ARR_MAX_LENGTH="arrMaxLength",Ne.ARR_MIN_LENGTH="arrMinLength",Ne.WHITESPACE="whitespace",Ne))();const de={arrLength:ue=>G=>Array.isArray(G.value)?ue.max&&G.value.length>ue.max?{[Ne.ARR_MAX_LENGTH]:!0}:ue.min&&G.value.length<ue.min?{[Ne.ARR_MIN_LENGTH]:!0}:null:null,equal:(ue,G=!0)=>U=>!G&&!ue.dirty||(0,te.Z)(U.value,ue.value)?null:{[Ne.EQUAL]:!0},fileSize:ue=>G=>{const U=G.value;return U instanceof File?ue.max&&U.size>ue.max?{[Ne.FILE_MAX_SIZE]:!0}:ue.min&&U.size<ue.min?{[Ne.FILE_MIN_SIZE]:!0}:null:null},fileType:ue=>G=>{const U=G.value;return U instanceof File&&ue.length&&!ue.includes(U.type)?{[Ne.FILE_TYPE]:!0}:null},required:(ue=!0)=>G=>ue?V.kI.required(G):null,whitespace:(ue=!0)=>G=>ue||!G.value||!(0,oe.Z)(G.value)||G.value.trim()?null:{[Ne.WHITESPACE]:!0}},me={required:ue=>de.required(ue.required),max:ue=>{if(ue.max)return V.kI.max(ue.max)},min:ue=>{if(ue.min)return V.kI.min(ue.min)},maxLength:ue=>{if(ue.maxLength)return V.kI.maxLength(ue.maxLength)},minLength:ue=>{if(ue.minLength)return V.kI.minLength(ue.minLength)},arrMaxLength:ue=>{if(ue.arrMaxLength)return de.arrLength({max:ue.arrMaxLength})},arrMinLength:ue=>{if(ue.arrMinLength)return de.arrLength({min:ue.arrMinLength})},maxFileSize:ue=>{if(ue.maxFileSize)return de.fileSize({max:ue.maxFileSize})},minFileSize:ue=>{if(ue.minFileSize)return de.fileSize({min:ue.minFileSize})},fileType:ue=>{if(ue.fileType?.length)return de.fileType(ue.fileType)},pattern:ue=>{if(ue.pattern)return V.kI.pattern(ue.pattern)},whitespace:ue=>de.whitespace(ue.whitespace)};let Ve=(()=>{class ue{transform(U,W){const xe=Object.keys(U||{})[0];return xe&&W?.[xe]||""}}return ue.\u0275fac=function(U){return new(U||ue)},ue.\u0275pipe=s.Yjl({name:"nbErrInfo",type:ue,pure:!0,standalone:!0}),ue})(),gt=(()=>{class ue{constructor(U={},W,xe){this.commonErrInfo=U,this.changeDR=W,this.unsubscribeService=xe,this.errInfo={},this.allErrInfo={},this.hasErr=!1}ngOnChanges(U){const{control:W,errInfo:xe}=U;W&&this.subscribeControlChange(),xe&&this.updateAllErrInfo()}subscribeControlChange(){this.updateHasErr(this.control);const U=this.control.statusChanges.subscribe(W=>this.updateHasErr(this.control));this.unsubscribeService.collectASubscriptionByKey("control-status-changes",U)}updateAllErrInfo(){this.allErrInfo={...this.commonErrInfo,...this.errInfo},this.changeDR.markForCheck()}updateHasErr(U){this.hasErr=U.dirty&&"INVALID"===U.status,this.changeDR.markForCheck()}}return ue.\u0275fac=function(U){return new(U||ue)(s.Y36(ce,8),s.Y36(s.sBO),s.Y36(X.ql))},ue.\u0275cmp=s.Xpm({type:ue,selectors:[["nb-control-err"]],inputs:{control:"control",errInfo:"errInfo"},standalone:!0,features:[s._Bn([X.ql]),s.TTD,s.jDz],decls:1,vars:1,consts:[["class","err-info",3,"nb-r-str",4,"ngIf"],[1,"err-info",3,"nb-r-str"]],template:function(U,W){1&U&&s.YNc(0,he,2,4,"div",0),2&U&&s.Q6J("ngIf",W.control&&W.hasErr)},dependencies:[J.O5,X.dn,Ve],styles:["[_nghost-%COMP%]{position:relative;top:100%;left:0;display:block;font-size:14px;color:red}.err-info[_ngcontent-%COMP%]{position:absolute;top:0;left:0;word-break:break-word}"],changeDetection:0}),ue})(),Cn=(()=>{class ue{constructor(){this.errInfo={},this.required=!1}}return ue.\u0275fac=function(U){return new(U||ue)},ue.\u0275cmp=s.Xpm({type:ue,selectors:[["nb-field-item"]],inputs:{control:"control",errInfo:"errInfo",required:"required"},standalone:!0,features:[s.jDz],ngContentSelectors:Me,decls:6,vars:2,consts:[[1,"field-label"],["class","label-required",4,"ngIf"],[1,"field-content"],["class","nb-control-err",3,"control","errInfo",4,"ngIf"],[1,"label-required"],[1,"nb-control-err",3,"control","errInfo"]],template:function(U,W){1&U&&(s.F$t(Ie),s.TgZ(0,"label",0),s.YNc(1,ee,2,0,"span",1),s.Hsn(2),s.qZA(),s.TgZ(3,"div",2),s.Hsn(4,1),s.YNc(5,ye,1,2,"nb-control-err",3),s.qZA()),2&U&&(s.xp6(1),s.Q6J("ngIf",W.required),s.xp6(4),s.Q6J("ngIf",W.control))},dependencies:[J.O5,gt],styles:["[_nghost-%COMP%]{display:flex;align-items:center;margin-bottom:24px}[_nghost-%COMP%]:last-child{margin-bottom:0}.field-label[_ngcontent-%COMP%]{flex:0 0 120px;display:flex;justify-content:flex-end;align-items:center;padding:0 8px 0 4px;word-break:break-word}.field-label[_ngcontent-%COMP%]:empty{flex-basis:0;padding:0}.label-required[_ngcontent-%COMP%]{color:red}.field-content[_ngcontent-%COMP%]{flex:1 1 auto;position:relative;display:flex;align-items:center}.nb-control-err[_ngcontent-%COMP%]{position:absolute;width:100%}"],changeDetection:0}),ue})();const Ue=[gt,Cn];let $e=(()=>{class ue{}return ue.\u0275fac=function(U){return new(U||ue)},ue.\u0275mod=s.oAB({type:ue}),ue.\u0275inj=s.cJS({imports:[Ue]}),ue})(),tt=(()=>{class ue{constructor(){}doFormArrayFn(U,W){U.controls.forEach(xe=>W(xe))}doFormGroupFn(U,W){Object.keys(U.controls).forEach(xe=>W(U.get(xe)))}}return ue.\u0275fac=function(U){return new(U||ue)},ue.\u0275prov=s.Yz7({token:ue,factory:ue.\u0275fac,providedIn:"root"}),ue})(),lt=(()=>{class ue{constructor(U){this.formTools=U}getValidatorsFromControlConfig(U){const W=me;return Object.keys(U).map(xe=>W[xe]?.(U)).filter(xe=>!!xe)}markAllAsDirty(U,W){U?.markAsDirty(W);const xe=Wt=>this.markAllAsDirty(Wt,W);U instanceof V.vC?this.formTools.doFormArrayFn(U,xe):U instanceof V.nJ&&this.formTools.doFormGroupFn(U,xe)}showAllErrInfo(U,W){U?.markAllAsTouched(),this.markAllAsDirty(U,W),this.updateAllValueAndValidity(U,W)}updateAllValueAndValidity(U,W){U?.updateValueAndValidity(W);const xe=Wt=>this.updateAllValueAndValidity(Wt,W);U instanceof V.vC?this.formTools.doFormArrayFn(U,xe):U instanceof V.nJ&&this.formTools.doFormGroupFn(U,xe)}updateEqualControlsValidities(U,W){const{target:xe,compared:Wt}=U;return(0,ge.aj)([xe.statusChanges.pipe((0,ne.O)(xe.status)),Wt.statusChanges.pipe((0,ne.O)(Wt.status))]).pipe(function x(ue,G){return U=>U.lift(new F(ue,G))}((bt,an)=>(0,te.Z)(bt,an)),W?(0,Z.R)(W):(0,q.b)(()=>{})).subscribe(bt=>{xe.updateValueAndValidity(),Wt.updateValueAndValidity()})}}return ue.\u0275fac=function(U){return new(U||ue)(s.LFG(tt))},ue.\u0275prov=s.Yz7({token:ue,factory:ue.\u0275fac,providedIn:"root"}),ue})()},4755:(Le,ie,T)=>{"use strict";T.d(ie,{Do:()=>Me,ED:()=>dn,EM:()=>Ao,HT:()=>oe,JF:()=>eo,K0:()=>X,Mx:()=>po,O5:()=>yo,Ov:()=>St,PM:()=>ar,RF:()=>Gn,S$:()=>ee,V_:()=>Y,Ye:()=>ce,ax:()=>Jr,b0:()=>Ie,bD:()=>bn,ez:()=>Hr,n9:()=>or,q:()=>te,tP:()=>O,w_:()=>J});var s=T(666);let V=null;function te(){return V}function oe(p){V||(V=p)}class J{}const X=new s.OlP("DocumentToken");let ge=(()=>{class p{historyGo(_){throw new Error("Not implemented")}}return p.\u0275fac=function(_){return new(_||p)},p.\u0275prov=s.Yz7({token:p,factory:function(){return function ne(){return(0,s.LFG)(x)}()},providedIn:"platform"}),p})();const Y=new s.OlP("Location Initialized");let x=(()=>{class p extends ge{constructor(_){super(),this._doc=_,this._location=window.location,this._history=window.history}getBaseHrefFromDOM(){return te().getBaseHref(this._doc)}onPopState(_){const S=te().getGlobalEventTarget(this._doc,"window");return S.addEventListener("popstate",_,!1),()=>S.removeEventListener("popstate",_)}onHashChange(_){const S=te().getGlobalEventTarget(this._doc,"window");return S.addEventListener("hashchange",_,!1),()=>S.removeEventListener("hashchange",_)}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(_){this._location.pathname=_}pushState(_,S,A){F()?this._history.pushState(_,S,A):this._location.hash=A}replaceState(_,S,A){F()?this._history.replaceState(_,S,A):this._location.hash=A}forward(){this._history.forward()}back(){this._history.back()}historyGo(_=0){this._history.go(_)}getState(){return this._history.state}}return p.\u0275fac=function(_){return new(_||p)(s.LFG(X))},p.\u0275prov=s.Yz7({token:p,factory:function(){return function H(){return new x((0,s.LFG)(X))}()},providedIn:"platform"}),p})();function F(){return!!window.history.pushState}function Z(p,b){if(0==p.length)return b;if(0==b.length)return p;let _=0;return p.endsWith("/")&&_++,b.startsWith("/")&&_++,2==_?p+b.substring(1):1==_?p+b:p+"/"+b}function q(p){const b=p.match(/#|\?|$/),_=b&&b.index||p.length;return p.slice(0,_-("/"===p[_-1]?1:0))+p.slice(_)}function he(p){return p&&"?"!==p[0]?"?"+p:p}let ee=(()=>{class p{historyGo(_){throw new Error("Not implemented")}}return p.\u0275fac=function(_){return new(_||p)},p.\u0275prov=s.Yz7({token:p,factory:function(){return(0,s.f3M)(Ie)},providedIn:"root"}),p})();const ye=new s.OlP("appBaseHref");let Ie=(()=>{class p extends ee{constructor(_,S){super(),this._platformLocation=_,this._removeListenerFns=[],this._baseHref=S??this._platformLocation.getBaseHrefFromDOM()??(0,s.f3M)(X).location?.origin??""}ngOnDestroy(){for(;this._removeListenerFns.length;)this._removeListenerFns.pop()()}onPopState(_){this._removeListenerFns.push(this._platformLocation.onPopState(_),this._platformLocation.onHashChange(_))}getBaseHref(){return this._baseHref}prepareExternalUrl(_){return Z(this._baseHref,_)}path(_=!1){const S=this._platformLocation.pathname+he(this._platformLocation.search),A=this._platformLocation.hash;return A&&_?`${S}${A}`:S}pushState(_,S,A,K){const ae=this.prepareExternalUrl(A+he(K));this._platformLocation.pushState(_,S,ae)}replaceState(_,S,A,K){const ae=this.prepareExternalUrl(A+he(K));this._platformLocation.replaceState(_,S,ae)}forward(){this._platformLocation.forward()}back(){this._platformLocation.back()}getState(){return this._platformLocation.getState()}historyGo(_=0){this._platformLocation.historyGo?.(_)}}return p.\u0275fac=function(_){return new(_||p)(s.LFG(ge),s.LFG(ye,8))},p.\u0275prov=s.Yz7({token:p,factory:p.\u0275fac,providedIn:"root"}),p})(),Me=(()=>{class p extends ee{constructor(_,S){super(),this._platformLocation=_,this._baseHref="",this._removeListenerFns=[],null!=S&&(this._baseHref=S)}ngOnDestroy(){for(;this._removeListenerFns.length;)this._removeListenerFns.pop()()}onPopState(_){this._removeListenerFns.push(this._platformLocation.onPopState(_),this._platformLocation.onHashChange(_))}getBaseHref(){return this._baseHref}path(_=!1){let S=this._platformLocation.hash;return null==S&&(S="#"),S.length>0?S.substring(1):S}prepareExternalUrl(_){const S=Z(this._baseHref,_);return S.length>0?"#"+S:S}pushState(_,S,A,K){let ae=this.prepareExternalUrl(A+he(K));0==ae.length&&(ae=this._platformLocation.pathname),this._platformLocation.pushState(_,S,ae)}replaceState(_,S,A,K){let ae=this.prepareExternalUrl(A+he(K));0==ae.length&&(ae=this._platformLocation.pathname),this._platformLocation.replaceState(_,S,ae)}forward(){this._platformLocation.forward()}back(){this._platformLocation.back()}getState(){return this._platformLocation.getState()}historyGo(_=0){this._platformLocation.historyGo?.(_)}}return p.\u0275fac=function(_){return new(_||p)(s.LFG(ge),s.LFG(ye,8))},p.\u0275prov=s.Yz7({token:p,factory:p.\u0275fac}),p})(),ce=(()=>{class p{constructor(_){this._subject=new s.vpe,this._urlChangeListeners=[],this._urlChangeSubscription=null,this._locationStrategy=_;const S=this._locationStrategy.getBaseHref();this._basePath=function kt(p){if(new RegExp("^(https?:)?//").test(p)){const[,_]=p.split(/\/\/[^\/]+/);return _}return p}(q(je(S))),this._locationStrategy.onPopState(A=>{this._subject.emit({url:this.path(!0),pop:!0,state:A.state,type:A.type})})}ngOnDestroy(){this._urlChangeSubscription?.unsubscribe(),this._urlChangeListeners=[]}path(_=!1){return this.normalize(this._locationStrategy.path(_))}getState(){return this._locationStrategy.getState()}isCurrentPathEqualTo(_,S=""){return this.path()==this.normalize(_+he(S))}normalize(_){return p.stripTrailingSlash(function Ne(p,b){if(!p||!b.startsWith(p))return b;const _=b.substring(p.length);return""===_||["/",";","?","#"].includes(_[0])?_:b}(this._basePath,je(_)))}prepareExternalUrl(_){return _&&"/"!==_[0]&&(_="/"+_),this._locationStrategy.prepareExternalUrl(_)}go(_,S="",A=null){this._locationStrategy.pushState(A,"",_,S),this._notifyUrlChangeListeners(this.prepareExternalUrl(_+he(S)),A)}replaceState(_,S="",A=null){this._locationStrategy.replaceState(A,"",_,S),this._notifyUrlChangeListeners(this.prepareExternalUrl(_+he(S)),A)}forward(){this._locationStrategy.forward()}back(){this._locationStrategy.back()}historyGo(_=0){this._locationStrategy.historyGo?.(_)}onUrlChange(_){return this._urlChangeListeners.push(_),this._urlChangeSubscription||(this._urlChangeSubscription=this.subscribe(S=>{this._notifyUrlChangeListeners(S.url,S.state)})),()=>{const S=this._urlChangeListeners.indexOf(_);this._urlChangeListeners.splice(S,1),0===this._urlChangeListeners.length&&(this._urlChangeSubscription?.unsubscribe(),this._urlChangeSubscription=null)}}_notifyUrlChangeListeners(_="",S){this._urlChangeListeners.forEach(A=>A(_,S))}subscribe(_,S,A){return this._subject.subscribe({next:_,error:S,complete:A})}}return p.normalizeQueryParams=he,p.joinWithSlash=Z,p.stripTrailingSlash=q,p.\u0275fac=function(_){return new(_||p)(s.LFG(ee))},p.\u0275prov=s.Yz7({token:p,factory:function(){return function Be(){return new ce((0,s.LFG)(ee))}()},providedIn:"root"}),p})();function je(p){return p.replace(/\/index.html$/,"")}function po(p,b){b=encodeURIComponent(b);for(const _ of p.split(";")){const S=_.indexOf("="),[A,K]=-1==S?[_,""]:[_.slice(0,S),_.slice(S+1)];if(A.trim()===b)return decodeURIComponent(K)}return null}class kr{constructor(b,_,S,A){this.$implicit=b,this.ngForOf=_,this.index=S,this.count=A}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 Jr=(()=>{class p{set ngForOf(_){this._ngForOf=_,this._ngForOfDirty=!0}set ngForTrackBy(_){this._trackByFn=_}get ngForTrackBy(){return this._trackByFn}constructor(_,S,A){this._viewContainer=_,this._template=S,this._differs=A,this._ngForOf=null,this._ngForOfDirty=!0,this._differ=null}set ngForTemplate(_){_&&(this._template=_)}ngDoCheck(){if(this._ngForOfDirty){this._ngForOfDirty=!1;const _=this._ngForOf;!this._differ&&_&&(this._differ=this._differs.find(_).create(this.ngForTrackBy))}if(this._differ){const _=this._differ.diff(this._ngForOf);_&&this._applyChanges(_)}}_applyChanges(_){const S=this._viewContainer;_.forEachOperation((A,K,ae)=>{if(null==A.previousIndex)S.createEmbeddedView(this._template,new kr(A.item,this._ngForOf,-1,-1),null===ae?void 0:ae);else if(null==ae)S.remove(null===K?void 0:K);else if(null!==K){const Fe=S.get(K);S.move(Fe,ae),rr(Fe,A)}});for(let A=0,K=S.length;A<K;A++){const Fe=S.get(A).context;Fe.index=A,Fe.count=K,Fe.ngForOf=this._ngForOf}_.forEachIdentityChange(A=>{rr(S.get(A.currentIndex),A)})}static ngTemplateContextGuard(_,S){return!0}}return p.\u0275fac=function(_){return new(_||p)(s.Y36(s.s_b),s.Y36(s.Rgc),s.Y36(s.ZZ4))},p.\u0275dir=s.lG2({type:p,selectors:[["","ngFor","","ngForOf",""]],inputs:{ngForOf:"ngForOf",ngForTrackBy:"ngForTrackBy",ngForTemplate:"ngForTemplate"},standalone:!0}),p})();function rr(p,b){p.context.$implicit=b.item}let yo=(()=>{class p{constructor(_,S){this._viewContainer=_,this._context=new vo,this._thenTemplateRef=null,this._elseTemplateRef=null,this._thenViewRef=null,this._elseViewRef=null,this._thenTemplateRef=S}set ngIf(_){this._context.$implicit=this._context.ngIf=_,this._updateView()}set ngIfThen(_){ct("ngIfThen",_),this._thenTemplateRef=_,this._thenViewRef=null,this._updateView()}set ngIfElse(_){ct("ngIfElse",_),this._elseTemplateRef=_,this._elseViewRef=null,this._updateView()}_updateView(){this._context.$implicit?this._thenViewRef||(this._viewContainer.clear(),this._elseViewRef=null,this._thenTemplateRef&&(this._thenViewRef=this._viewContainer.createEmbeddedView(this._thenTemplateRef,this._context))):this._elseViewRef||(this._viewContainer.clear(),this._thenViewRef=null,this._elseTemplateRef&&(this._elseViewRef=this._viewContainer.createEmbeddedView(this._elseTemplateRef,this._context)))}static ngTemplateContextGuard(_,S){return!0}}return p.\u0275fac=function(_){return new(_||p)(s.Y36(s.s_b),s.Y36(s.Rgc))},p.\u0275dir=s.lG2({type:p,selectors:[["","ngIf",""]],inputs:{ngIf:"ngIf",ngIfThen:"ngIfThen",ngIfElse:"ngIfElse"},standalone:!0}),p})();class vo{constructor(){this.$implicit=null,this.ngIf=null}}function ct(p,b){if(b&&!b.createEmbeddedView)throw new Error(`${p} must be a TemplateRef, but received '${(0,s.AaK)(b)}'.`)}class io{constructor(b,_){this._viewContainerRef=b,this._templateRef=_,this._created=!1}create(){this._created=!0,this._viewContainerRef.createEmbeddedView(this._templateRef)}destroy(){this._created=!1,this._viewContainerRef.clear()}enforceState(b){b&&!this._created?this.create():!b&&this._created&&this.destroy()}}let Gn=(()=>{class p{constructor(){this._defaultViews=[],this._defaultUsed=!1,this._caseCount=0,this._lastCaseCheckIndex=0,this._lastCasesMatched=!1}set ngSwitch(_){this._ngSwitch=_,0===this._caseCount&&this._updateDefaultCases(!0)}_addCase(){return this._caseCount++}_addDefault(_){this._defaultViews.push(_)}_matchCase(_){const S=_==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(_){if(this._defaultViews.length>0&&_!==this._defaultUsed){this._defaultUsed=_;for(const S of this._defaultViews)S.enforceState(_)}}}return p.\u0275fac=function(_){return new(_||p)},p.\u0275dir=s.lG2({type:p,selectors:[["","ngSwitch",""]],inputs:{ngSwitch:"ngSwitch"},standalone:!0}),p})(),or=(()=>{class p{constructor(_,S,A){this.ngSwitch=A,A._addCase(),this._view=new io(_,S)}ngDoCheck(){this._view.enforceState(this.ngSwitch._matchCase(this.ngSwitchCase))}}return p.\u0275fac=function(_){return new(_||p)(s.Y36(s.s_b),s.Y36(s.Rgc),s.Y36(Gn,9))},p.\u0275dir=s.lG2({type:p,selectors:[["","ngSwitchCase",""]],inputs:{ngSwitchCase:"ngSwitchCase"},standalone:!0}),p})(),dn=(()=>{class p{constructor(_,S,A){A._addDefault(new io(_,S))}}return p.\u0275fac=function(_){return new(_||p)(s.Y36(s.s_b),s.Y36(s.Rgc),s.Y36(Gn,9))},p.\u0275dir=s.lG2({type:p,selectors:[["","ngSwitchDefault",""]],standalone:!0}),p})(),O=(()=>{class p{constructor(_){this._viewContainerRef=_,this._viewRef=null,this.ngTemplateOutletContext=null,this.ngTemplateOutlet=null,this.ngTemplateOutletInjector=null}ngOnChanges(_){if(_.ngTemplateOutlet||_.ngTemplateOutletInjector){const S=this._viewContainerRef;if(this._viewRef&&S.remove(S.indexOf(this._viewRef)),this.ngTemplateOutlet){const{ngTemplateOutlet:A,ngTemplateOutletContext:K,ngTemplateOutletInjector:ae}=this;this._viewRef=S.createEmbeddedView(A,K,ae?{injector:ae}:void 0)}else this._viewRef=null}else this._viewRef&&_.ngTemplateOutletContext&&this.ngTemplateOutletContext&&(this._viewRef.context=this.ngTemplateOutletContext)}}return p.\u0275fac=function(_){return new(_||p)(s.Y36(s.s_b))},p.\u0275dir=s.lG2({type:p,selectors:[["","ngTemplateOutlet",""]],inputs:{ngTemplateOutletContext:"ngTemplateOutletContext",ngTemplateOutlet:"ngTemplateOutlet",ngTemplateOutletInjector:"ngTemplateOutletInjector"},standalone:!0,features:[s.TTD]}),p})();class P{createSubscription(b,_){return b.subscribe({next:_,error:S=>{throw S}})}dispose(b){b.unsubscribe()}}class Ee{createSubscription(b,_){return b.then(_,S=>{throw S})}dispose(b){}}const Pe=new Ee,it=new P;let St=(()=>{class p{constructor(_){this._latestValue=null,this._subscription=null,this._obj=null,this._strategy=null,this._ref=_}ngOnDestroy(){this._subscription&&this._dispose(),this._ref=null}transform(_){return this._obj?_!==this._obj?(this._dispose(),this.transform(_)):this._latestValue:(_&&this._subscribe(_),this._latestValue)}_subscribe(_){this._obj=_,this._strategy=this._selectStrategy(_),this._subscription=this._strategy.createSubscription(_,S=>this._updateLatestValue(_,S))}_selectStrategy(_){if((0,s.QGY)(_))return Pe;if((0,s.F4k)(_))return it;throw function N(p,b){return new s.vHH(2100,!1)}()}_dispose(){this._strategy.dispose(this._subscription),this._latestValue=null,this._subscription=null,this._obj=null}_updateLatestValue(_,S){_===this._obj&&(this._latestValue=S,this._ref.markForCheck())}}return p.\u0275fac=function(_){return new(_||p)(s.Y36(s.sBO,16))},p.\u0275pipe=s.Yjl({name:"async",type:p,pure:!1,standalone:!0}),p})(),Hr=(()=>{class p{}return p.\u0275fac=function(_){return new(_||p)},p.\u0275mod=s.oAB({type:p}),p.\u0275inj=s.cJS({}),p})();const bn="browser",Yn="server";function ar(p){return p===Yn}let Ao=(()=>{class p{}return p.\u0275prov=(0,s.Yz7)({token:p,providedIn:"root",factory:()=>new Ir((0,s.LFG)(X),window)}),p})();class Ir{constructor(b,_){this.document=b,this.window=_,this.offset=()=>[0,0]}setOffset(b){this.offset=Array.isArray(b)?()=>b:b}getScrollPosition(){return this.supportsScrolling()?[this.window.pageXOffset,this.window.pageYOffset]:[0,0]}scrollToPosition(b){this.supportsScrolling()&&this.window.scrollTo(b[0],b[1])}scrollToAnchor(b){if(!this.supportsScrolling())return;const _=function jr(p,b){const _=p.getElementById(b)||p.getElementsByName(b)[0];if(_)return _;if("function"==typeof p.createTreeWalker&&p.body&&"function"==typeof p.body.attachShadow){const S=p.createTreeWalker(p.body,NodeFilter.SHOW_ELEMENT);let A=S.currentNode;for(;A;){const K=A.shadowRoot;if(K){const ae=K.getElementById(b)||K.querySelector(`[name="${b}"]`);if(ae)return ae}A=S.nextNode()}}return null}(this.document,b);_&&(this.scrollToElement(_),_.focus())}setHistoryScrollRestoration(b){if(this.supportScrollRestoration()){const _=this.window.history;_&&_.scrollRestoration&&(_.scrollRestoration=b)}}scrollToElement(b){const _=b.getBoundingClientRect(),S=_.left+this.window.pageXOffset,A=_.top+this.window.pageYOffset,K=this.offset();this.window.scrollTo(S-K[0],A-K[1])}supportScrollRestoration(){try{if(!this.supportsScrolling())return!1;const b=qt(this.window.history)||qt(Object.getPrototypeOf(this.window.history));return!(!b||!b.writable&&!b.set)}catch{return!1}}supportsScrolling(){try{return!!this.window&&!!this.window.scrollTo&&"pageXOffset"in this.window}catch{return!1}}}function qt(p){return Object.getOwnPropertyDescriptor(p,"scrollRestoration")}class eo{}},666:(Le,ie,T)=>{"use strict";T.d(ie,{tb:()=>nh,AFp:()=>gp,ip1:()=>nv,hGG:()=>OS,z2F:()=>Ma,Ojb:()=>x_,sBO:()=>gS,Sil:()=>Ww,EJc:()=>Gw,Xts:()=>uu,SBq:()=>fu,lqb:()=>Cs,qLn:()=>sa,vpe:()=>si,XFs:()=>ve,OlP:()=>Lt,zs3:()=>zi,ZZ4:()=>uh,aQg:()=>lh,soG:()=>gc,YKP:()=>ry,h0i:()=>Ea,PXZ:()=>iS,R0b:()=>Fr,FiY:()=>$s,Lbi:()=>yp,g9A:()=>mp,Qsj:()=>Z_,FYo:()=>Sp,JOm:()=>Vo,tp0:()=>Gs,Rgc:()=>Nu,dDg:()=>tS,eoX:()=>hv,GfV:()=>Mp,s_b:()=>hc,ifc:()=>yn,MMx:()=>iy,Lck:()=>OE,eFA:()=>yv,G48:()=>pS,Gpc:()=>Me,f3M:()=>qe,X6Q:()=>hS,$WT:()=>it,MR2:()=>bd,_c5:()=>NS,qFp:()=>US,c2e:()=>rv,zSh:()=>Md,HDt:()=>jv,wAp:()=>Ke,vHH:()=>Se,lri:()=>dv,rWj:()=>fv,D6c:()=>jS,cg1:()=>Mf,kL8:()=>Im,dqk:()=>ft,Z0I:()=>Yr,eJc:()=>zf,QGY:()=>mf,F4k:()=>Og,RDi:()=>e_,AaK:()=>ee,qOj:()=>tf,TTD:()=>es,_Bn:()=>ny,jDz:()=>sy,xp6:()=>kp,uIk:()=>sf,ekj:()=>bf,Suo:()=>Py,Xpm:()=>or,lG2:()=>z,Yz7:()=>bt,cJS:()=>In,oAB:()=>wr,Yjl:()=>N,Y36:()=>la,_UZ:()=>pf,GkF:()=>gf,BQk:()=>oc,ynx:()=>rc,qZA:()=>nc,TgZ:()=>tc,EpF:()=>Ng,n5z:()=>ka,Ikx:()=>Sf,LFG:()=>ht,$8M:()=>ss,$Z:()=>Gp,NdJ:()=>yf,CRH:()=>Fy,oxw:()=>Lg,ALo:()=>Dy,lcZ:()=>Cy,xi3:()=>by,Hsn:()=>Vg,F$t:()=>kg,Q6J:()=>ff,VKq:()=>hy,WLB:()=>py,iGM:()=>xy,MAs:()=>Tg,KtG:()=>Hu,CHM:()=>Vu,LSH:()=>Cd,P3R:()=>sp,YNc:()=>wg,W1O:()=>Hy,_uU:()=>um,Oqu:()=>wf,hij:()=>ac});var s=T(5529),V=T(2654),te=T(6498),oe=T(2866),J=T(9146),X=T(3009),ne=T(1762);class x{constructor(t,n){this.subjectFactory=t,this.selector=n}call(t,n){const{selector:r}=this,o=this.subjectFactory(),a=r(o).subscribe(t);return a.add(n.subscribe(o)),a}}var F=T(4327);function H(){return new s.xQ}function q(e){for(let t in e)if(e[t]===q)return t;throw Error("Could not find renamed property on target object.")}function he(e,t){for(const n in t)t.hasOwnProperty(n)&&!e.hasOwnProperty(n)&&(e[n]=t[n])}function ee(e){if("string"==typeof e)return e;if(Array.isArray(e))return"["+e.map(ee).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 ye(e,t){return null==e||""===e?null===t?"":t:null==t||""===t?e:e+" "+t}const Ie=q({__forward_ref__:q});function Me(e){return e.__forward_ref__=Me,e.toString=function(){return ee(this())},e}function ce(e){return Be(e)?e():e}function Be(e){return"function"==typeof e&&e.hasOwnProperty(Ie)&&e.__forward_ref__===Me}function Ne(e){return e&&!!e.\u0275providers}const kt="https://g.co/ng/security#xss";class Se extends Error{constructor(t,n){super(function Ae(e,t){return`NG0${Math.abs(e)}${t?": "+t:""}`}(t,n)),this.code=t}}function Q(e){return"string"==typeof e?e:null==e?"":String(e)}function Ve(e,t){throw new Se(-201,!1)}function G(e,t){null==e&&function U(e,t,n,r){throw new Error(`ASSERTION ERROR: ${e}`+(null==r?"":` [Expected=> ${n} ${r} ${t} <=Actual]`))}(t,e,null,"!=")}function bt(e){return{token:e.token,providedIn:e.providedIn||null,factory:e.factory,value:void 0}}function In(e){return{providers:e.providers||[],imports:e.imports||[]}}function on(e){return ln(e,cn)||ln(e,qr)}function Yr(e){return null!==on(e)}function ln(e,t){return e.hasOwnProperty(t)?e[t]:null}function Pn(e){return e&&(e.hasOwnProperty(pn)||e.hasOwnProperty(It))?e[pn]:null}const cn=q({\u0275prov:q}),pn=q({\u0275inj:q}),qr=q({ngInjectableDef:q}),It=q({ngInjectorDef:q});var ve=(()=>((ve=ve||{})[ve.Default=0]="Default",ve[ve.Host=1]="Host",ve[ve.Self=2]="Self",ve[ve.SkipSelf=4]="SkipSelf",ve[ve.Optional=8]="Optional",ve))();let Ze;function un(e){const t=Ze;return Ze=e,t}function Xn(e,t,n){const r=on(e);return r&&"root"==r.providedIn?void 0===r.value?r.value=r.factory():r.value:n&ve.Optional?null:void 0!==t?t:void Ve(ee(e))}const ft=(()=>typeof globalThis<"u"&&globalThis||typeof global<"u"&&global||typeof window<"u"&&window||typeof self<"u"&&typeof WorkerGlobalScope<"u"&&self instanceof WorkerGlobalScope&&self)(),mt={},Kr="__NG_DI_FLAG__",Jt="ngTempTokenPath",Cr=/\n/gm,dr="__source";let Bn;function An(e){const t=Bn;return Bn=e,t}function Go(e,t=ve.Default){if(void 0===Bn)throw new Se(-203,!1);return null===Bn?Xn(e,void 0,t):Bn.get(e,t&ve.Optional?null:void 0,t)}function ht(e,t=ve.Default){return(function cr(){return Ze}()||Go)(ce(e),t)}function qe(e,t=ve.Default){return ht(e,sn(t))}function sn(e){return typeof e>"u"||"number"==typeof e?e:0|(e.optional&&8)|(e.host&&1)|(e.self&&2)|(e.skipSelf&&4)}function er(e){const t=[];for(let n=0;n<e.length;n++){const r=ce(e[n]);if(Array.isArray(r)){if(0===r.length)throw new Se(900,!1);let o,a=ve.Default;for(let c=0;c<r.length;c++){const f=r[c],g=We(f);"number"==typeof g?-1===g?o=f.token:a|=g:o=f}t.push(ht(o,a))}else t.push(ht(r))}return t}function Bt(e,t){return e[Kr]=t,e.prototype[Kr]=t,e}function We(e){return e[Kr]}function Zt(e){return{toString:e}.toString()}var Qt=(()=>((Qt=Qt||{})[Qt.OnPush=0]="OnPush",Qt[Qt.Default=1]="Default",Qt))(),yn=(()=>{return(e=yn||(yn={}))[e.Emulated=0]="Emulated",e[e.None=2]="None",e[e.ShadowDom=3]="ShadowDom",yn;var e})();const Ot={},nt=[],hr=q({\u0275cmp:q}),pr=q({\u0275dir:q}),Lr=q({\u0275pipe:q}),Un=q({\u0275mod:q}),$n=q({\u0275fac:q}),tr=q({__NG_ELEMENT_ID__:q}),Oe=q({__NG_ENV_ID__:q});function Dt(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 a=t.length;if(o+a===r||e.charCodeAt(o+a)<=32)return o}n=o+1}}function vn(e,t,n){let r=0;for(;r<n.length;){const o=n[r];if("number"==typeof o){if(0!==o)break;r++;const a=n[r++],c=n[r++],f=n[r++];e.setAttribute(t,c,f,a)}else{const a=o,c=n[++r];Mo(a)?e.setProperty(t,a,c):e.setAttribute(t,a,c),r++}}return r}function Nn(e){return 3===e||4===e||6===e}function Mo(e){return 64===e.charCodeAt(0)}function Ut(e,t){if(null!==t&&0!==t.length)if(null===e||0===e.length)e=t.slice();else{let n=-1;for(let r=0;r<t.length;r++){const o=t[r];"number"==typeof o?n=o:0===n||nr(e,n,o,null,-1===n||2===n?t[++r]:null)}}return e}function nr(e,t,n,r,o){let a=0,c=e.length;if(-1===t)c=-1;else for(;a<e.length;){const f=e[a++];if("number"==typeof f){if(f===t){c=-1;break}if(f>t){c=a-1;break}}}for(;a<e.length;){const f=e[a];if("number"==typeof f)break;if(f===n){if(null===r)return void(null!==o&&(e[a+1]=o));if(r===e[a+1])return void(e[a+2]=o)}a++,null!==r&&a++,null!==o&&a++}-1!==c&&(e.splice(c,0,t),a=c+1),e.splice(a++,0,n),null!==r&&e.splice(a++,0,r),null!==o&&e.splice(a++,0,o)}const zo="ng-template";function po(e,t,n){let r=0,o=!0;for(;r<e.length;){let a=e[r++];if("string"==typeof a&&o){const c=e[r++];if(n&&"class"===a&&-1!==Dt(c.toLowerCase(),t,0))return!0}else{if(1===a){for(;r<e.length&&"string"==typeof(a=e[r++]);)if(a.toLowerCase()===t)return!0;return!1}"number"==typeof a&&(o=!1)}}return!1}function Er(e){return 4===e.type&&e.value!==zo}function On(e,t,n){return t===(4!==e.type||n?e.value:zo)}function go(e,t,n){let r=4;const o=e.attrs||[],a=function rr(e){for(let t=0;t<e.length;t++)if(Nn(e[t]))return t;return e.length}(o);let c=!1;for(let f=0;f<t.length;f++){const g=t[f];if("number"!=typeof g){if(!c)if(4&r){if(r=2|1&r,""!==g&&!On(e,g,n)||""===g&&1===t.length){if(Xt(r))return!1;c=!0}}else{const D=8&r?g:t[++f];if(8&r&&null!==e.attrs){if(!po(e.attrs,D,n)){if(Xt(r))return!1;c=!0}continue}const I=en(8&r?"class":g,o,Er(e),n);if(-1===I){if(Xt(r))return!1;c=!0;continue}if(""!==D){let L;L=I>a?"":o[I+1].toLowerCase();const B=8&r?L:null;if(B&&-1!==Dt(B,D,0)||2&r&&D!==L){if(Xt(r))return!1;c=!0}}}}else{if(!c&&!Xt(r)&&!Xt(g))return!1;if(c&&Xt(g))continue;c=!1,r=g|1&r}}return Xt(r)||c}function Xt(e){return 0==(1&e)}function en(e,t,n,r){if(null===t)return-1;let o=0;if(r||!n){let a=!1;for(;o<t.length;){const c=t[o];if(c===e)return o;if(3===c||6===c)a=!0;else{if(1===c||2===c){let f=t[++o];for(;"string"==typeof f;)f=t[++o];continue}if(4===c)break;if(0===c){o+=4;continue}}o+=a?1:2}return-1}return function mo(e,t){let n=e.indexOf(4);if(n>-1)for(n++;n<e.length;){const r=e[n];if("number"==typeof r)return-1;if(r===t)return n;n++}return-1}(t,e)}function kr(e,t,n=!1){for(let r=0;r<t.length;r++)if(go(e,t[r],n))return!0;return!1}function yo(e,t){e:for(let n=0;n<t.length;n++){const r=t[n];if(e.length===r.length){for(let o=0;o<e.length;o++)if(e[o]!==r[o])continue e;return!0}}return!1}function vo(e,t){return e?":not("+t.trim()+")":t}function ct(e){let t=e[0],n=1,r=2,o="",a=!1;for(;n<e.length;){let c=e[n];if("string"==typeof c)if(2&r){const f=e[++n];o+="["+c+(f.length>0?'="'+f+'"':"")+"]"}else 8&r?o+="."+c:4&r&&(o+=" "+c);else""!==o&&!Xt(c)&&(t+=vo(a,o),o=""),r=c,a=a||!Xt(r);n++}return""!==o&&(t+=vo(a,o)),t}function or(e){return Zt(()=>{const t=Sr(e),n={...t,decls:e.decls,vars:e.vars,template:e.template,consts:e.consts||null,ngContentSelectors:e.ngContentSelectors,onPush:e.changeDetection===Qt.OnPush,directiveDefs:null,pipeDefs:null,dependencies:t.standalone&&e.dependencies||null,getStandaloneInjector:null,data:e.data||{},encapsulation:e.encapsulation||yn.Emulated,styles:e.styles||nt,_:null,schemas:e.schemas||null,tView:null,id:""};ir(n);const r=e.dependencies;return n.directiveDefs=Qr(r,!1),n.pipeDefs=Qr(r,!0),n.id=function _o(e){let t=0;const n=[e.selectors,e.ngContentSelectors,e.hostVars,e.hostAttrs,e.consts,e.vars,e.decls,e.encapsulation,e.standalone,Object.getOwnPropertyNames(e.type.prototype),!!e.contentQueries,!!e.viewQuery].join("|");for(const o of n)t=Math.imul(31,t)+o.charCodeAt(0)<<0;return t+=2147483648,"c"+t}(n),n})}function so(e){return P(e)||Ee(e)}function To(e){return null!==e}function wr(e){return Zt(()=>({type:e.type,bootstrap:e.bootstrap||nt,declarations:e.declarations||nt,imports:e.imports||nt,exports:e.exports||nt,transitiveCompileScopes:null,schemas:e.schemas||null,id:e.id||null}))}function O(e,t){if(null==e)return Ot;const n={};for(const r in e)if(e.hasOwnProperty(r)){let o=e[r],a=o;Array.isArray(o)&&(a=o[1],o=o[0]),n[o]=r,t&&(t[o]=a)}return n}function z(e){return Zt(()=>{const t=Sr(e);return ir(t),t})}function N(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 P(e){return e[hr]||null}function Ee(e){return e[pr]||null}function Pe(e){return e[Lr]||null}function it(e){const t=P(e)||Ee(e)||Pe(e);return null!==t&&t.standalone}function St(e,t){const n=e[Un]||null;if(!n&&!0===t)throw new Error(`Type ${ee(e)} does not have '\u0275mod' property.`);return n}function Sr(e){const t={};return{type:e.type,providersResolver:null,factory:null,hostBindings:e.hostBindings||null,hostVars:e.hostVars||0,hostAttrs:e.hostAttrs||null,contentQueries:e.contentQueries||null,declaredInputs:t,exportAs:e.exportAs||null,standalone:!0===e.standalone,selectors:e.selectors||nt,viewQuery:e.viewQuery||null,features:e.features||null,setInput:null,findHostDirectiveDefs:null,hostDirectives:null,inputs:O(e.inputs,t),outputs:O(e.outputs)}}function ir(e){e.features?.forEach(t=>t(e))}function Qr(e,t){if(!e)return null;const n=t?Pe:so;return()=>("function"==typeof e?e():e).map(r=>n(r)).filter(To)}const ke=0,we=1,Qe=2,yt=3,zn=4,sr=5,Mt=6,gr=7,Rt=8,fn=9,Mr=10,Ye=11,Tr=12,Do=13,Wn=14,tn=15,Vr=16,Hr=17,bn=18,Yn=19,dt=20,Zn=21,Fn=22,ar=23,Xr=24,rt=25,Ao=1,Ir=2,qt=7,jr=8,Ar=9,$t=11;function En(e){return Array.isArray(e)&&"object"==typeof e[Ao]}function _n(e){return Array.isArray(e)&&!0===e[Ao]}function No(e){return 0!=(4&e.flags)}function Nr(e){return e.componentOffset>-1}function Ur(e){return 1==(1&e.flags)}function wn(e){return!!e.template}function Ln(e){return 0!=(512&e[Qe])}function Xe(e,t){return e.hasOwnProperty($n)?e[$n]:null}let Kn=ft.WeakRef??class qn{constructor(t){this.ref=t}deref(){return this.ref}},ur=0,Pt=null,uo=!1;function Et(e){const t=Pt;return Pt=e,t}class lr{constructor(){this.id=ur++,this.ref=function yr(e){return new Kn(e)}(this),this.producers=new Map,this.consumers=new Map,this.trackingVersion=0,this.valueVersion=0}consumerPollProducersForChange(){for(const[t,n]of this.producers){const r=n.producerNode.deref();if(void 0!==r&&n.atTrackingVersion===this.trackingVersion){if(r.producerPollStatus(n.seenValueVersion))return!0}else this.producers.delete(t),r?.consumers.delete(this.id)}return!1}producerMayHaveChanged(){const t=uo;uo=!0;try{for(const[n,r]of this.consumers){const o=r.consumerNode.deref();void 0!==o&&o.trackingVersion===r.atTrackingVersion?o.onConsumerDependencyMayHaveChanged():(this.consumers.delete(n),o?.producers.delete(this.id))}}finally{uo=t}}producerAccessed(){if(uo)throw new Error("");if(null===Pt)return;let t=Pt.producers.get(this.id);void 0===t?(t={consumerNode:Pt.ref,producerNode:this.ref,seenValueVersion:this.valueVersion,atTrackingVersion:Pt.trackingVersion},Pt.producers.set(this.id,t),this.consumers.set(Pt.id,t)):(t.seenValueVersion=this.valueVersion,t.atTrackingVersion=Pt.trackingVersion)}get hasProducers(){return this.producers.size>0}get producerUpdatesAllowed(){return!1!==Pt?.consumerAllowSignalWrites}producerPollStatus(t){return this.valueVersion!==t||(this.onProducerUpdateValueVersion(),this.valueVersion!==t)}}let Ms=null;const Lu=()=>{};class ku extends lr{constructor(t,n,r){super(),this.watch=t,this.schedule=n,this.dirty=!1,this.cleanupFn=Lu,this.registerOnCleanup=o=>{this.cleanupFn=o},this.consumerAllowSignalWrites=r}notify(){this.dirty||this.schedule(this),this.dirty=!0}onConsumerDependencyMayHaveChanged(){this.notify()}onProducerUpdateValueVersion(){}run(){if(this.dirty=!1,0!==this.trackingVersion&&!this.consumerPollProducersForChange())return;const t=Et(this);this.trackingVersion++;try{this.cleanupFn(),this.cleanupFn=Lu,this.watch(this.registerOnCleanup)}finally{Et(t)}}cleanup(){this.cleanupFn()}}class Ti{constructor(t,n,r){this.previousValue=t,this.currentValue=n,this.firstChange=r}isFirstChange(){return this.firstChange}}function es(){return Ii}function Ii(e){return e.type.prototype.ngOnChanges&&(e.setInput=lo),Ts}function Ts(){const e=Is(this),t=e?.current;if(t){const n=e.previous;if(n===Ot)e.previous=t;else for(let r in t)n[r]=t[r];e.current=null,this.ngOnChanges(t)}}function lo(e,t,n,r){const o=this.declaredInputs[n],a=Is(e)||function Ta(e,t){return e[Ro]=t}(e,{previous:Ot,current:null}),c=a.current||(a.current={}),f=a.previous,g=f[o];c[o]=new Ti(g&&g.currentValue,t,f===Ot),e[r]=t}es.ngInherit=!0;const Ro="__ngSimpleChanges__";function Is(e){return e[Ro]||null}const to=function(e,t,n){};function Gt(e){for(;Array.isArray(e);)e=e[ke];return e}function Ni(e,t){return Gt(t[e])}function p(e,t){return Gt(t[e.index])}function _(e,t){return e.data[t]}function S(e,t){return e[t]}function A(e,t){const n=t[e];return En(n)?n:n[ke]}function ae(e){return 128==(128&e[Qe])}function vt(e,t){return null==t?null:e[t]}function At(e){e[Hr]=0}function Ct(e){1024&e[Qe]||(e[Qe]|=1024,nn(e,1))}function at(e){1024&e[Qe]&&(e[Qe]&=-1025,nn(e,-1))}function nn(e,t){let n=e[yt];if(null===n)return;n[sr]+=t;let r=n;for(n=n[yt];null!==n&&(1===t&&1===r[sr]||-1===t&&0===r[sr]);)n[sr]+=t,r=n,n=n[yt]}const Ge={lFrame:Gu(null),bindingsEnabled:!0,skipHydrationRootTNode:null};function xo(){return Ge.bindingsEnabled}function fe(){return Ge.lFrame.lView}function wt(){return Ge.lFrame.tView}function Vu(e){return Ge.lFrame.contextLView=e,e[Rt]}function Hu(e){return Ge.lFrame.contextLView=null,e}function kn(){let e=ts();for(;null!==e&&64===e.type;)e=e.parent;return e}function ts(){return Ge.lFrame.currentTNode}function bo(e,t){const n=Ge.lFrame;n.currentTNode=e,n.isParent=t}function Jo(){return Ge.lFrame.isParent}function hi(){Ge.lFrame.isParent=!1}function Rn(){const e=Ge.lFrame;let t=e.bindingRootIndex;return-1===t&&(t=e.bindingRootIndex=e.tView.bindingStartIndex),t}function xi(){return Ge.lFrame.bindingIndex++}function hh(e,t){const n=Ge.lFrame;n.bindingIndex=n.bindingRootIndex=e,Rs(t)}function Rs(e){Ge.lFrame.currentDirectiveIndex=e}function pi(){return Ge.lFrame.currentQueryIndex}function Na(e){Ge.lFrame.currentQueryIndex=e}function Ac(e){const t=e[we];return 2===t.type?t.declTNode:1===t.type?e[Mt]:null}function Uu(e,t,n){if(n&ve.SkipSelf){let o=t,a=e;for(;!(o=o.parent,null!==o||n&ve.Host||(o=Ac(a),null===o||(a=a[Wn],10&o.type))););if(null===o)return!1;t=o,e=a}const r=Ge.lFrame=$u();return r.currentTNode=t,r.lView=e,!0}function Oa(e){const t=$u(),n=e[we];Ge.lFrame=t,t.currentTNode=n.firstChild,t.lView=e,t.tView=n,t.contextLView=e,t.bindingIndex=n.bindingStartIndex,t.inI18n=!1}function $u(){const e=Ge.lFrame,t=null===e?null:e.child;return null===t?Gu(e):t}function Gu(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 zu(){const e=Ge.lFrame;return Ge.lFrame=e.parent,e.currentTNode=null,e.lView=null,e}const Wu=zu;function Ra(){const e=zu();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 Vn(){return Ge.lFrame.selectedIndex}function Qo(e){Ge.lFrame.selectedIndex=e}function Ht(){const e=Ge.lFrame;return _(e.tView,e.selectedIndex)}let qu=!0;function Fi(){return qu}function Lo(e){qu=e}function Ps(e,t){for(let n=t.directiveStart,r=t.directiveEnd;n<r;n++){const a=e.data[n].type.prototype,{ngAfterContentInit:c,ngAfterContentChecked:f,ngAfterViewInit:g,ngAfterViewChecked:D,ngOnDestroy:M}=a;c&&(e.contentHooks??=[]).push(-n,c),f&&((e.contentHooks??=[]).push(n,f),(e.contentCheckHooks??=[]).push(n,f)),g&&(e.viewHooks??=[]).push(-n,g),D&&((e.viewHooks??=[]).push(n,D),(e.viewCheckHooks??=[]).push(n,D)),null!=M&&(e.destroyHooks??=[]).push(n,M)}}function Fs(e,t,n){Ku(e,t,3,n)}function Ls(e,t,n,r){(3&e[Qe])===n&&Ku(e,t,n,r)}function Li(e,t){let n=e[Qe];(3&n)===t&&(n&=4095,n+=1,e[Qe]=n)}function Ku(e,t,n,r){const a=r??-1,c=t.length-1;let f=0;for(let g=void 0!==r?65535&e[Hr]:0;g<c;g++)if("number"==typeof t[g+1]){if(f=t[g],null!=r&&f>=r)break}else t[g]<0&&(e[Hr]+=65536),(f<a||-1==a)&&(Fc(e,n,t,g),e[Hr]=(4294901760&e[Hr])+g+2),g++}function Ju(e,t){to(4,e,t);const n=Et(null);try{t.call(e)}finally{Et(n),to(5,e,t)}}function Fc(e,t,n,r){const o=n[r]<0,a=n[r+1],f=e[o?-n[r]:n[r]];o?e[Qe]>>12<e[Hr]>>16&&(3&e[Qe])===t&&(e[Qe]+=4096,Ju(f,a)):Ju(f,a)}const ki=-1;class rs{constructor(t,n,r){this.factory=t,this.resolving=!1,this.canSeeViewProviders=n,this.injectImpl=r}}function el(e){return e!==ki}function ks(e){return 32767&e}function os(e,t){let n=function jc(e){return e>>16}(e),r=t;for(;n>0;)r=r[Wn],n--;return r}let is=!0;function ko(e){const t=is;return is=e,t}const nl=255,xa=5;let Vs=0;const fo={};function Hs(e,t){const n=ol(e,t);if(-1!==n)return n;const r=t[we];r.firstCreatePass&&(e.injectorIndex=t.length,Pa(r.data,e),Pa(t,null),Pa(r.blueprint,null));const o=Fa(e,t),a=e.injectorIndex;if(el(o)){const c=ks(o),f=os(o,t),g=f[we].data;for(let D=0;D<8;D++)t[a+D]=f[c+D]|g[c+D]}return t[a+8]=o,a}function Pa(e,t){e.push(0,0,0,0,0,0,0,0,t)}function ol(e,t){return-1===e.injectorIndex||e.parent&&e.parent.injectorIndex===e.injectorIndex||null===t[e.injectorIndex+8]?-1:e.injectorIndex}function Fa(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=ll(o),null===r)return ki;if(n++,o=o[Wn],-1!==r.injectorIndex)return r.injectorIndex|n<<16}return ki}function Vi(e,t,n){!function rl(e,t,n){let r;"string"==typeof n?r=n.charCodeAt(0)||0:n.hasOwnProperty(tr)&&(r=n[tr]),null==r&&(r=n[tr]=Vs++);const o=r&nl;t.data[e+(o>>xa)]|=1<<o}(e,t,n)}function il(e,t,n){if(n&ve.Optional||void 0!==e)return e;Ve()}function Or(e,t,n,r){if(n&ve.Optional&&void 0===r&&(r=null),!(n&(ve.Self|ve.Host))){const o=e[fn],a=un(void 0);try{return o?o.get(t,r,n&ve.Optional):Xn(t,r,n&ve.Optional)}finally{un(a)}}return il(r,0,n)}function La(e,t,n,r=ve.Default,o){if(null!==e){if(2048&t[Qe]){const c=function mh(e,t,n,r,o){let a=e,c=t;for(;null!==a&&null!==c&&2048&c[Qe]&&!(512&c[Qe]);){const f=sl(a,c,n,r|ve.Self,fo);if(f!==fo)return f;let g=a.parent;if(!g){const D=c[dt];if(D){const M=D.get(n,fo,r);if(M!==fo)return M}g=ll(c),c=c[Wn]}a=g}return o}(e,t,n,r,fo);if(c!==fo)return c}const a=sl(e,t,n,r,fo);if(a!==fo)return a}return Or(t,n,r,o)}function sl(e,t,n,r,o){const a=function Gr(e){if("string"==typeof e)return e.charCodeAt(0)||0;const t=e.hasOwnProperty(tr)?e[tr]:void 0;return"number"==typeof t?t>=0?t&nl:$c:t}(n);if("function"==typeof a){if(!Uu(t,e,r))return r&ve.Host?il(o,0,r):Or(t,n,r,o);try{const c=a(r);if(null!=c||r&ve.Optional)return c;Ve()}finally{Wu()}}else if("number"==typeof a){let c=null,f=ol(e,t),g=ki,D=r&ve.Host?t[tn][Mt]:null;for((-1===f||r&ve.SkipSelf)&&(g=-1===f?Fa(e,t):t[f+8],g!==ki&&Bs(r,!1)?(c=t[we],f=ks(g),t=os(g,t)):f=-1);-1!==f;){const M=t[we];if(al(a,f,M.data)){const I=Uc(f,t,n,c,r,D);if(I!==fo)return I}g=t[f+8],g!==ki&&Bs(r,t[we].data[f+8]===D)&&al(a,f,t)?(c=M,f=ks(g),t=os(g,t)):f=-1}}return o}function Uc(e,t,n,r,o,a){const c=t[we],f=c.data[e+8],M=js(f,c,n,null==r?Nr(f)&&is:r!=c&&0!=(3&f.type),o&ve.Host&&a===f);return null!==M?gi(t,c,M,f):fo}function js(e,t,n,r,o){const a=e.providerIndexes,c=t.data,f=1048575&a,g=e.directiveStart,M=a>>20,L=o?f+M:e.directiveEnd;for(let B=r?f:f+M;B<L;B++){const se=c[B];if(B<g&&n===se||B>=g&&se.type===n)return B}if(o){const B=c[g];if(B&&wn(B)&&B.type===n)return g}return null}function gi(e,t,n,r){let o=e[n];const a=t.data;if(function Lc(e){return e instanceof rs}(o)){const c=o;c.resolving&&function _e(e,t){const n=t?`. Dependency path: ${t.join(" > ")} > ${e}`:"";throw new Se(-200,`Circular dependency in DI detected for ${e}${n}`)}(function re(e){return"function"==typeof e?e.name||e.toString():"object"==typeof e&&null!=e&&"function"==typeof e.type?e.type.name||e.type.toString():Q(e)}(a[n]));const f=ko(c.canSeeViewProviders);c.resolving=!0;const g=c.injectImpl?un(c.injectImpl):null;Uu(e,r,ve.Default);try{o=e[n]=c.factory(void 0,a,e,r),t.firstCreatePass&&n>=r.directiveStart&&function Pc(e,t,n){const{ngOnChanges:r,ngOnInit:o,ngDoCheck:a}=t.type.prototype;if(r){const c=Ii(t);(n.preOrderHooks??=[]).push(e,c),(n.preOrderCheckHooks??=[]).push(e,c)}o&&(n.preOrderHooks??=[]).push(0-e,o),a&&((n.preOrderHooks??=[]).push(e,a),(n.preOrderCheckHooks??=[]).push(e,a))}(n,a[n],t)}finally{null!==g&&un(g),ko(f),c.resolving=!1,Wu()}}return o}function al(e,t,n){return!!(n[t+(e>>xa)]&1<<e)}function Bs(e,t){return!(e&ve.Self||e&ve.Host&&t)}class Hi{constructor(t,n){this._tNode=t,this._lView=n}get(t,n,r){return La(this._tNode,this._lView,t,sn(r),n)}}function $c(){return new Hi(kn(),fe())}function ka(e){return Zt(()=>{const t=e.prototype.constructor,n=t[$n]||ul(t),r=Object.prototype;let o=Object.getPrototypeOf(e.prototype).constructor;for(;o&&o!==r;){const a=o[$n]||ul(o);if(a&&a!==n)return a;o=Object.getPrototypeOf(o)}return a=>new a})}function ul(e){return Be(e)?()=>{const t=ul(ce(e));return t&&t()}:Xe(e)}function ll(e){const t=e[we],n=t.type;return 2===n?t.declTNode:1===n?e[Mt]:null}function ss(e){return function Bc(e,t){if("class"===t)return e.classes;if("style"===t)return e.styles;const n=e.attrs;if(n){const r=n.length;let o=0;for(;o<r;){const a=n[o];if(Nn(a))break;if(0===a)o+=2;else if("number"==typeof a)for(o++;o<r&&"string"==typeof n[o];)o++;else{if(a===t)return n[o+1];o+=2}}}return null}(kn(),e)}const as="__parameters__";function us(e,t,n){return Zt(()=>{const r=function Va(e){return function(...n){if(e){const r=e(...n);for(const o in r)this[o]=r[o]}}}(t);function o(...a){if(this instanceof o)return r.apply(this,a),this;const c=new o(...a);return f.annotation=c,f;function f(g,D,M){const I=g.hasOwnProperty(as)?g[as]:Object.defineProperty(g,as,{value:[]})[as];for(;I.length<=M;)I.push(null);return(I[M]=I[M]||[]).push(c),g}}return n&&(o.prototype=Object.create(n.prototype)),o.prototype.ngMetadataName=e,o.annotationCls=o,o})}function cs(e,t){e.forEach(n=>Array.isArray(n)?cs(n,t):t(n))}function dl(e,t,n){t>=e.length?e.push(n):e.splice(t,0,n)}function ds(e,t){return t>=e.length-1?e.pop():e.splice(t,1)[0]}function fs(e,t){const n=[];for(let r=0;r<e;r++)n.push(t);return n}function Rr(e,t,n){let r=hs(e,t);return r>=0?e[1|r]=n:(r=~r,function Yc(e,t,n,r){let o=e.length;if(o==t)e.push(n,r);else if(1===o)e.push(r,e[0]),e[0]=n;else{for(o--,e.push(e[o-1],e[o]);o>t;)e[o]=e[o-2],o--;e[t]=n,e[t+1]=r}}(e,r,t,n)),r}function Ha(e,t){const n=hs(e,t);if(n>=0)return e[1|n]}function hs(e,t){return function Zc(e,t,n){let r=0,o=e.length>>n;for(;o!==r;){const a=r+(o-r>>1),c=e[a<<n];if(t===c)return a<<n;c>t?o=a:r=a+1}return~(o<<n)}(e,t,1)}const $s=Bt(us("Optional"),8),Gs=Bt(us("SkipSelf"),4);var Vo=(()=>((Vo=Vo||{})[Vo.Important=1]="Important",Vo[Vo.DashCase=2]="DashCase",Vo))();const xh=/^>|^->|<!--|-->|--!>|<!-$/g,Ph=/(<|>)/,Fh="\u200b$1\u200b";const Ya=new Map;let Cl=0;const qa="__ngContext__";function Jn(e,t){En(t)?(e[qa]=t[Yn],function Lh(e){Ya.set(e[Yn],e)}(t)):e[qa]=t}let Qa;function Tl(e,t){return Qa(e,t)}function Xs(e){const t=e[yt];return _n(t)?t[yt]:t}function Xa(e){return Ui(e[Tr])}function Il(e){return Ui(e[zn])}function Ui(e){for(;null!==e&&!_n(e);)e=e[zn];return e}function $i(e,t,n,r,o){if(null!=r){let a,c=!1;_n(r)?a=r:En(r)&&(c=!0,r=r[ke]);const f=Gt(r);0===e&&null!==n?null==o?Kt(t,n,f):et(t,n,f,o||null,!0):1===e&&null!==n?et(t,n,f,o||null,!0):2===e?function Ol(e,t,n){const r=Ft(e,t);r&&function ti(e,t,n,r){e.removeChild(t,n,r)}(e,r,t,n)}(t,f,c):3===e&&t.destroyNode(f),null!=a&&function Zv(e,t,n,r,o){const a=n[qt];a!==Gt(n)&&$i(t,e,r,a,o);for(let f=$t;f<n.length;f++){const g=n[f];ru(g[we],g,e,t,r,a)}}(t,e,a,n,o)}}function eu(e,t){return e.createComment(function Dl(e){return e.replace(xh,t=>t.replace(Ph,Fh))}(t))}function ta(e,t,n){return e.createElement(t,n)}function d(e,t){const n=e[Ar],r=n.indexOf(t);at(t),n.splice(r,1)}function h(e,t){if(e.length<=$t)return;const n=$t+t,r=e[n];if(r){const o=r[Vr];null!==o&&o!==e&&d(o,r),t>0&&(e[n-1][zn]=r[zn]);const a=ds(e,$t+t);!function Uh(e,t){ru(e,t,t[Ye],2,null,null),t[ke]=null,t[Mt]=null}(r[we],r);const c=a[bn];null!==c&&c.detachView(a[we]),r[yt]=null,r[zn]=null,r[Qe]&=-129}return r}function C(e,t){if(!(256&t[Qe])){const n=t[Ye];t[ar]?.destroy(),t[Xr]?.destroy(),n.destroyNode&&ru(e,t,n,3,null,null),function l(e){let t=e[Tr];if(!t)return E(e[we],e);for(;t;){let n=null;if(En(t))n=t[Tr];else{const r=t[$t];r&&(n=r)}if(!n){for(;t&&!t[zn]&&t!==e;)En(t)&&E(t[we],t),t=t[yt];null===t&&(t=e),En(t)&&E(t[we],t),n=t&&t[zn]}t=n}}(t)}}function E(e,t){if(!(256&t[Qe])){t[Qe]&=-129,t[Qe]|=256,function $(e,t){let n;if(null!=e&&null!=(n=e.destroyHooks))for(let r=0;r<n.length;r+=2){const o=t[n[r]];if(!(o instanceof rs)){const a=n[r+1];if(Array.isArray(a))for(let c=0;c<a.length;c+=2){const f=o[a[c]],g=a[c+1];to(4,f,g);try{g.call(f)}finally{to(5,f,g)}}else{to(4,o,a);try{a.call(o)}finally{to(5,o,a)}}}}}(e,t),function R(e,t){const n=e.cleanup,r=t[gr];if(null!==n)for(let a=0;a<n.length-1;a+=2)if("string"==typeof n[a]){const c=n[a+3];c>=0?r[c]():r[-c].unsubscribe(),a+=2}else n[a].call(r[n[a+1]]);null!==r&&(t[gr]=null);const o=t[Zn];if(null!==o){for(let a=0;a<o.length;a++)(0,o[a])();t[Zn]=null}}(e,t),1===t[we].type&&t[Ye].destroy();const n=t[Vr];if(null!==n&&_n(t[yt])){n!==t[yt]&&d(n,t);const r=t[bn];null!==r&&r.detachView(e)}!function ld(e){Ya.delete(e[Yn])}(t)}}function Ce(e,t,n){return function Re(e,t,n){let r=t;for(;null!==r&&40&r.type;)r=(t=r).parent;if(null===r)return n[ke];{const{componentOffset:o}=r;if(o>-1){const{encapsulation:a}=e.data[r.directiveStart+o];if(a===yn.None||a===yn.Emulated)return null}return p(r,n)}}(e,t.parent,n)}function et(e,t,n,r,o){e.insertBefore(t,n,r,o)}function Kt(e,t,n){e.appendChild(t,n)}function ei(e,t,n,r,o){null!==r?et(e,t,n,r,o):Kt(e,t,n)}function Ft(e,t){return e.parentNode(t)}function _i(e,t,n){return _r(e,t,n)}let _s,gd,xl,_r=function tu(e,t,n){return 40&e.type?p(e,n):null};function na(e,t,n,r){const o=Ce(e,r,t),a=t[Ye],f=_i(r.parent||t[Mt],r,t);if(null!=o)if(Array.isArray(n))for(let g=0;g<n.length;g++)ei(a,o,n[g],f,!1);else ei(a,o,n,f,!1);void 0!==_s&&_s(a,r,t,n,o)}function nu(e,t){if(null!==t){const n=t.type;if(3&n)return p(t,e);if(4&n)return fd(-1,e[t.index]);if(8&n){const r=t.child;if(null!==r)return nu(e,r);{const o=e[t.index];return _n(o)?fd(-1,o):Gt(o)}}if(32&n)return Tl(t,e)()||Gt(e[t.index]);{const r=Gh(e,t);return null!==r?Array.isArray(r)?r[0]:nu(Xs(e[tn]),r):nu(e,t.next)}}return null}function Gh(e,t){return null!==t?e[tn][Mt].projection[t.projection]:null}function fd(e,t){const n=$t+e+1;if(n<t.length){const r=t[n],o=r[we].firstChild;if(null!==o)return nu(r,o)}return t[qt]}function hd(e,t,n,r,o,a,c){for(;null!=n;){const f=r[n.index],g=n.type;if(c&&0===t&&(f&&Jn(Gt(f),r),n.flags|=2),32!=(32&n.flags))if(8&g)hd(e,t,n.child,r,o,a,!1),$i(t,e,o,f,a);else if(32&g){const D=Tl(n,r);let M;for(;M=D();)$i(t,e,o,M,a);$i(t,e,o,f,a)}else 16&g?Wh(e,t,r,n,o,a):$i(t,e,o,f,a);n=c?n.projectionNext:n.next}}function ru(e,t,n,r,o,a){hd(n,r,e.firstChild,t,o,a,!1)}function Wh(e,t,n,r,o,a){const c=n[tn],g=c[Mt].projection[r.projection];if(Array.isArray(g))for(let D=0;D<g.length;D++)$i(t,e,o,g[D],a);else hd(e,t,g,c[yt],o,a,!0)}function Yh(e,t,n){""===n?e.removeAttribute(t,"class"):e.setAttribute(t,"class",n)}function Zh(e,t,n){const{mergedAttrs:r,classes:o,styles:a}=n;null!==r&&vn(e,t,r),null!==o&&Yh(e,t,o),null!==a&&function Kv(e,t,n){e.setAttribute(t,"style",n)}(e,t,a)}function e_(e){gd=e}function Jh(e){return function md(){if(void 0===xl&&(xl=null,ft.trustedTypes))try{xl=ft.trustedTypes.createPolicy("angular#unsafe-bypass",{createHTML:e=>e,createScript:e=>e,createScriptURL:e=>e})}catch{}return xl}()?.createScriptURL(e)||e}class Qh{constructor(t){this.changingThisBreaksApplicationSecurity=t}toString(){return`SafeValue must use [property]=binding: ${this.changingThisBreaksApplicationSecurity} (see ${kt})`}}function Gi(e){return e instanceof Qh?e.changingThisBreaksApplicationSecurity:e}function iu(e,t){const n=function s_(e){return e instanceof Qh&&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 ${kt})`)}return n===t}const c_=/^(?!javascript:)(?:[a-z0-9+.-]+:|[^&:\/?#]*(?:[\/?#]|$))/i;var jn=(()=>((jn=jn||{})[jn.NONE=0]="NONE",jn[jn.HTML=1]="HTML",jn[jn.STYLE=2]="STYLE",jn[jn.SCRIPT=3]="SCRIPT",jn[jn.URL=4]="URL",jn[jn.RESOURCE_URL=5]="RESOURCE_URL",jn))();function Cd(e){const t=au();return t?t.sanitize(jn.URL,e)||"":iu(e,"URL")?Gi(e):function yd(e){return(e=String(e)).match(c_)?e:"unsafe:"+e}(Q(e))}function ip(e){const t=au();if(t)return Jh(t.sanitize(jn.RESOURCE_URL,e)||"");if(iu(e,"ResourceURL"))return Jh(Gi(e));throw new Se(904,!1)}function sp(e,t,n){return function b_(e,t){return"src"===t&&("embed"===e||"frame"===e||"iframe"===e||"media"===e||"script"===e)||"href"===t&&("base"===e||"link"===e)?ip:Cd}(t,n)(e)}function au(){const e=fe();return e&&e[Mr].sanitizer}class Lt{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=bt({token:this,providedIn:n.providedIn||"root",factory:n.factory}))}get multi(){return this}toString(){return`InjectionToken ${this._desc}`}}const uu=new Lt("ENVIRONMENT_INITIALIZER"),ap=new Lt("INJECTOR",-1),up=new Lt("INJECTOR_DEF_TYPES");class lp{get(t,n=mt){if(n===mt){const r=new Error(`NullInjectorError: No provider for ${ee(t)}!`);throw r.name="NullInjectorError",r}return n}}function bd(e){return{\u0275providers:e}}function E_(...e){return{\u0275providers:cp(0,e),\u0275fromNgModule:!0}}function cp(e,...t){const n=[],r=new Set;let o;return cs(t,a=>{const c=a;Ed(c,n,[],r)&&(o||=[],o.push(c))}),void 0!==o&&dp(o,n),n}function dp(e,t){for(let n=0;n<e.length;n++){const{providers:o}=e[n];wd(o,a=>{t.push(a)})}}function Ed(e,t,n,r){if(!(e=ce(e)))return!1;let o=null,a=Pn(e);const c=!a&&P(e);if(a||c){if(c&&!c.standalone)return!1;o=e}else{const g=e.ngModule;if(a=Pn(g),!a)return!1;o=g}const f=r.has(o);if(c){if(f)return!1;if(r.add(o),c.dependencies){const g="function"==typeof c.dependencies?c.dependencies():c.dependencies;for(const D of g)Ed(D,t,n,r)}}else{if(!a)return!1;{if(null!=a.imports&&!f){let D;r.add(o);try{cs(a.imports,M=>{Ed(M,t,n,r)&&(D||=[],D.push(M))})}finally{}void 0!==D&&dp(D,t)}if(!f){const D=Xe(o)||(()=>new o);t.push({provide:o,useFactory:D,deps:nt},{provide:up,useValue:o,multi:!0},{provide:uu,useValue:()=>ht(o),multi:!0})}const g=a.providers;null==g||f||wd(g,M=>{t.push(M)})}}return o!==e&&void 0!==e.providers}function wd(e,t){for(let n of e)Ne(n)&&(n=n.\u0275providers),Array.isArray(n)?wd(n,t):t(n)}const w_=q({provide:String,useValue:q});function Sd(e){return null!==e&&"object"==typeof e&&w_ in e}function Ds(e){return"function"==typeof e}const Md=new Lt("Set Injector scope."),Fl={},M_={};let Td;function Ll(){return void 0===Td&&(Td=new lp),Td}class Cs{}class Id extends Cs{get destroyed(){return this._destroyed}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,Nd(t,c=>this.processProvider(c)),this.records.set(ap,oa(void 0,this)),o.has("environment")&&this.records.set(Cs,oa(void 0,this));const a=this.records.get(Md);null!=a&&"string"==typeof a.value&&this.scopes.add(a.value),this.injectorDefTypes=new Set(this.get(up.multi,nt,ve.Self))}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){return this.assertNotDestroyed(),this._onDestroyHooks.push(t),()=>this.removeOnDestroy(t)}runInContext(t){this.assertNotDestroyed();const n=An(this),r=un(void 0);try{return t()}finally{An(n),un(r)}}get(t,n=mt,r=ve.Default){if(this.assertNotDestroyed(),t.hasOwnProperty(Oe))return t[Oe](this);r=sn(r);const o=An(this),a=un(void 0);try{if(!(r&ve.SkipSelf)){let f=this.records.get(t);if(void 0===f){const g=function O_(e){return"function"==typeof e||"object"==typeof e&&e instanceof Lt}(t)&&on(t);f=g&&this.injectableDefInScope(g)?oa(Ad(t),Fl):null,this.records.set(t,f)}if(null!=f)return this.hydrate(t,f)}return(r&ve.Self?Ll():this.parent).get(t,n=r&ve.Optional&&n===mt?null:n)}catch(c){if("NullInjectorError"===c.name){if((c[Jt]=c[Jt]||[]).unshift(ee(t)),o)throw c;return function mn(e,t,n,r){const o=e[Jt];throw t[dr]&&o.unshift(t[dr]),e.message=function fr(e,t,n,r=null){e=e&&"\n"===e.charAt(0)&&"\u0275"==e.charAt(1)?e.slice(2):e;let o=ee(t);if(Array.isArray(t))o=t.map(ee).join(" -> ");else if("object"==typeof t){let a=[];for(let c in t)if(t.hasOwnProperty(c)){let f=t[c];a.push(c+":"+("string"==typeof f?JSON.stringify(f):ee(f)))}o=`{${a.join(", ")}}`}return`${n}${r?"("+r+")":""}[${o}]: ${e.replace(Cr,"\n ")}`}("\n"+e.message,o,n,r),e.ngTokenPath=o,e[Jt]=null,e}(c,t,"R3InjectorError",this.source)}throw c}finally{un(a),An(o)}}resolveInjectorInitializers(){const t=An(this),n=un(void 0);try{const r=this.get(uu.multi,nt,ve.Self);for(const o of r)o()}finally{An(t),un(n)}}toString(){const t=[],n=this.records;for(const r of n.keys())t.push(ee(r));return`R3Injector[${t.join(", ")}]`}assertNotDestroyed(){if(this._destroyed)throw new Se(205,!1)}processProvider(t){let n=Ds(t=ce(t))?t:ce(t&&t.provide);const r=function I_(e){return Sd(e)?oa(void 0,e.useValue):oa(pp(e),Fl)}(t);if(Ds(t)||!0!==t.multi)this.records.get(n);else{let o=this.records.get(n);o||(o=oa(void 0,Fl,!0),o.factory=()=>er(o.multi),this.records.set(n,o)),n=t,o.multi.push(t)}this.records.set(n,r)}hydrate(t,n){return n.value===Fl&&(n.value=M_,n.value=n.factory()),"object"==typeof n.value&&n.value&&function N_(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=ce(t.providedIn);return"string"==typeof n?"any"===n||this.scopes.has(n):this.injectorDefTypes.has(n)}removeOnDestroy(t){const n=this._onDestroyHooks.indexOf(t);-1!==n&&this._onDestroyHooks.splice(n,1)}}function Ad(e){const t=on(e),n=null!==t?t.factory:Xe(e);if(null!==n)return n;if(e instanceof Lt)throw new Se(204,!1);if(e instanceof Function)return function T_(e){const t=e.length;if(t>0)throw fs(t,"?"),new Se(204,!1);const n=function Zr(e){return e&&(e[cn]||e[qr])||null}(e);return null!==n?()=>n.factory(e):()=>new e}(e);throw new Se(204,!1)}function pp(e,t,n){let r;if(Ds(e)){const o=ce(e);return Xe(o)||Ad(o)}if(Sd(e))r=()=>ce(e.useValue);else if(function hp(e){return!(!e||!e.useFactory)}(e))r=()=>e.useFactory(...er(e.deps||[]));else if(function fp(e){return!(!e||!e.useExisting)}(e))r=()=>ht(ce(e.useExisting));else{const o=ce(e&&(e.useClass||e.provide));if(!function A_(e){return!!e.deps}(e))return Xe(o)||Ad(o);r=()=>new o(...er(e.deps))}return r}function oa(e,t,n=!1){return{factory:e,value:t,multi:n?[]:void 0}}function Nd(e,t){for(const n of e)Array.isArray(n)?Nd(n,t):n&&Ne(n)?Nd(n.\u0275providers,t):t(n)}const gp=new Lt("AppId",{providedIn:"root",factory:()=>R_}),R_="ng",mp=new Lt("Platform Initializer"),yp=new Lt("Platform ID",{providedIn:"platform",factory:()=>"unknown"}),x_=new Lt("CSP nonce",{providedIn:"root",factory:()=>function ou(){return void 0!==gd?gd:typeof document<"u"?document:void 0}().body?.querySelector("[ngCspNonce]")?.getAttribute("ngCspNonce")||null});let _p=(e,t)=>null;function Dp(e,t){return _p(e,t)}class $_{}class Ep{}class z_{resolveComponentFactory(t){throw function G_(e){const t=Error(`No component factory found for ${ee(e)}.`);return t.ngComponent=e,t}(t)}}let Bl=(()=>{class e{}return e.NULL=new z_,e})();function W_(){return ia(kn(),fe())}function ia(e,t){return new fu(p(e,t))}let fu=(()=>{class e{constructor(n){this.nativeElement=n}}return e.__NG_ELEMENT_ID__=W_,e})();function Y_(e){return e instanceof fu?e.nativeElement:e}class Sp{}let Z_=(()=>{class e{}return e.__NG_ELEMENT_ID__=()=>function q_(){const e=fe(),n=A(kn().index,e);return(En(n)?n:e)[Ye]}(),e})(),K_=(()=>{class e{}return e.\u0275prov=bt({token:e,providedIn:"root",factory:()=>null}),e})();class Mp{constructor(t){this.full=t,this.major=t.split(".")[0],this.minor=t.split(".")[1],this.patch=t.split(".").slice(2).join(".")}}const J_=new Mp("16.0.0"),Bd={};function hu(e){for(;e;){e[Qe]|=64;const t=Xs(e);if(Ln(e)&&!t)return e;e=t}return null}function Ud(e){return e.ngOriginalError}class sa{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&&Ud(t);for(;n&&Ud(n);)n=Ud(n);return n||null}}const Np=new Lt("",{providedIn:"root",factory:()=>!1});function Ci(e){return e instanceof Function?e():e}class xp extends lr{constructor(){super(...arguments),this.consumerAllowSignalWrites=!1,this._lView=null}set lView(t){this._lView=t}onConsumerDependencyMayHaveChanged(){hu(this._lView)}onProducerUpdateValueVersion(){}get hasReadASignal(){return this.hasProducers}runInContext(t,n,r){const o=Et(this);this.trackingVersion++;try{t(n,r)}finally{Et(o)}}destroy(){this.trackingVersion++}}let Gl=null;function Pp(){return Gl??=new xp,Gl}function Fp(e,t){return e[t]??Pp()}function Lp(e,t){const n=Pp();n.hasReadASignal&&(e[t]=Gl,n.lView=e,Gl=new xp)}const ut={};function kp(e){Vp(wt(),fe(),Vn()+e,!1)}function Vp(e,t,n,r){if(!r)if(3==(3&t[Qe])){const a=e.preOrderCheckHooks;null!==a&&Fs(t,a,n)}else{const a=e.preOrderHooks;null!==a&&Ls(t,a,0,n)}Qo(n)}function Up(e,t=null,n=null,r){const o=$p(e,t,n,r);return o.resolveInjectorInitializers(),o}function $p(e,t=null,n=null,r,o=new Set){const a=[n||nt,E_(e)];return r=r||("object"==typeof e?void 0:ee(e)),new Id(a,t||Ll(),r||null,o)}let zi=(()=>{class e{static create(n,r){if(Array.isArray(n))return Up({name:""},r,n,"");{const o=n.name??"";return Up({name:o},n.parent,n.providers,o)}}}return e.THROW_IF_NOT_FOUND=mt,e.NULL=new lp,e.\u0275prov=bt({token:e,providedIn:"any",factory:()=>ht(ap)}),e.__NG_ELEMENT_ID__=-1,e})();function la(e,t=ve.Default){const n=fe();return null===n?ht(e,t):La(kn(),n,ce(e),t)}function Gp(){throw new Error("invalid")}function zl(e,t,n,r,o,a,c,f,g,D,M){const I=t.blueprint.slice();return I[ke]=o,I[Qe]=140|r,(null!==D||e&&2048&e[Qe])&&(I[Qe]|=2048),At(I),I[yt]=I[Wn]=e,I[Rt]=n,I[Mr]=c||e&&e[Mr],I[Ye]=f||e&&e[Ye],I[fn]=g||e&&e[fn]||null,I[Mt]=a,I[Yn]=function ud(){return Cl++}(),I[Fn]=M,I[dt]=D,I[tn]=2==t.type?e[tn]:I,I}function ca(e,t,n,r,o){let a=e.data[t];if(null===a)a=function $d(e,t,n,r,o){const a=ts(),c=Jo(),g=e.data[t]=function vD(e,t,n,r,o,a){return{type:n,index:r,insertBeforeIndex:null,injectorIndex:t?t.injectorIndex:-1,directiveStart:-1,directiveEnd:-1,directiveStylingLast:-1,componentOffset:-1,propertyBindings:null,flags:0,providerIndexes:0,value:o,attrs:a,mergedAttrs:null,localNames:null,initialInputs:void 0,inputs:null,outputs:null,tView:null,next:null,prev:null,projectionNext:null,child:null,parent:t,projection:null,styles:null,stylesWithoutHost:null,residualStyles:void 0,classes:null,classesWithoutHost:null,residualClasses:void 0,classBindings:0,styleBindings:0}}(0,c?a:a&&a.parent,n,t,r,o);return null===e.firstChild&&(e.firstChild=g),null!==a&&(c?null==a.child&&null!==g.parent&&(a.child=g):null===a.next&&(a.next=g,g.prev=a)),g}(e,t,n,r,o),function Tc(){return Ge.lFrame.inI18n}()&&(a.flags|=32);else if(64&a.type){a.type=n,a.value=r,a.attrs=o;const c=function ns(){const e=Ge.lFrame,t=e.currentTNode;return e.isParent?t:t.parent}();a.injectorIndex=null===c?-1:c.injectorIndex}return bo(a,!0),a}function pu(e,t,n,r){if(0===n)return-1;const o=t.length;for(let a=0;a<n;a++)t.push(r),e.blueprint.push(r),e.data.push(null);return o}function zp(e,t,n,r,o){const a=Fp(t,ar),c=Vn(),f=2&r;try{if(Qo(-1),f&&t.length>rt&&Vp(e,t,rt,!1),to(f?2:0,o),f)a.runInContext(n,r,o);else{const D=Et(null);try{n(r,o)}finally{Et(D)}}}finally{f&&null===t[ar]&&Lp(t,ar),Qo(c),to(f?3:1,o)}}function Gd(e,t,n){if(No(t)){const r=Et(null);try{const a=t.directiveEnd;for(let c=t.directiveStart;c<a;c++){const f=e.data[c];f.contentQueries&&f.contentQueries(1,n[c],c)}}finally{Et(r)}}}function zd(e,t,n){xo()&&(function SD(e,t,n,r){const o=n.directiveStart,a=n.directiveEnd;Nr(n)&&function RD(e,t,n){const r=p(t,e),c=Wl(e,zl(e,Wp(n),null,n.onPush?64:16,r,t,null,e[Mr].rendererFactory.createRenderer(r,n),null,null,null));e[t.index]=c}(t,n,e.data[o+n.componentOffset]),e.firstCreatePass||Hs(n,t),Jn(r,t);const c=n.initialInputs;for(let f=o;f<a;f++){const g=e.data[f],D=gi(t,e,f,n);Jn(D,t),null!==c&&xD(0,f-o,D,g,0,c),wn(g)&&(A(n.index,t)[Rt]=gi(t,e,f,n))}}(e,t,n,p(n,t)),64==(64&n.flags)&&Jp(e,t,n))}function Wd(e,t,n=p){const r=t.localNames;if(null!==r){let o=t.index+1;for(let a=0;a<r.length;a+=2){const c=r[a+1],f=-1===c?n(t,e):e[c];e[o++]=f}}}function Wp(e){const t=e.tView;return null===t||t.incompleteFirstPass?e.tView=Yd(1,null,e.template,e.decls,e.vars,e.directiveDefs,e.pipeDefs,e.viewQuery,e.schemas,e.consts,e.id):t}function Yd(e,t,n,r,o,a,c,f,g,D,M){const I=rt+r,L=I+o,B=function fD(e,t){const n=[];for(let r=0;r<t;r++)n.push(r<e?null:ut);return n}(I,L),se="function"==typeof D?D():D;return B[we]={type:e,blueprint:B,template:n,queries:null,viewQuery:f,declTNode:t,data:B.slice().fill(null,I),bindingStartIndex:I,expandoStartIndex:L,hostBindingOpCodes:null,firstCreatePass:!0,firstUpdatePass:!0,staticViewQueries:!1,staticContentQueries:!1,preOrderHooks:null,preOrderCheckHooks:null,contentHooks:null,contentCheckHooks:null,viewHooks:null,viewCheckHooks:null,destroyHooks:null,cleanup:null,contentQueries:null,components:null,directiveRegistry:"function"==typeof a?a():a,pipeRegistry:"function"==typeof c?c():c,firstChild:null,schemas:g,consts:se,incompleteFirstPass:!1,ssrId:M}}let Yp=e=>null;function Zp(e,t,n,r){for(let o in e)if(e.hasOwnProperty(o)){n=null===n?{}:n;const a=e[o];null===r?qp(n,t,o,a):r.hasOwnProperty(o)&&qp(n,t,r[o],a)}return n}function qp(e,t,n,r){e.hasOwnProperty(n)?e[n].push(t,r):e[n]=[t,r]}function ho(e,t,n,r,o,a,c,f){const g=p(t,n);let M,D=t.inputs;!f&&null!=D&&(M=D[r])?(Qd(e,n,M,r,o),Nr(t)&&function CD(e,t){const n=A(t,e);16&n[Qe]||(n[Qe]|=64)}(n,t.index)):3&t.type&&(r=function DD(e){return"class"===e?"className":"for"===e?"htmlFor":"formaction"===e?"formAction":"innerHtml"===e?"innerHTML":"readonly"===e?"readOnly":"tabindex"===e?"tabIndex":e}(r),o=null!=c?c(o,t.value||"",r):o,a.setProperty(g,r,o))}function Zd(e,t,n,r){if(xo()){const o=null===r?null:{"":-1},a=function TD(e,t){const n=e.directiveRegistry;let r=null,o=null;if(n)for(let a=0;a<n.length;a++){const c=n[a];if(kr(t,c.selectors,!1))if(r||(r=[]),wn(c))if(null!==c.findHostDirectiveDefs){const f=[];o=o||new Map,c.findHostDirectiveDefs(c,f,o),r.unshift(...f,c),qd(e,t,f.length)}else r.unshift(c),qd(e,t,0);else o=o||new Map,c.findHostDirectiveDefs?.(c,r,o),r.push(c)}return null===r?null:[r,o]}(e,n);let c,f;null===a?c=f=null:[c,f]=a,null!==c&&Kp(e,t,n,c,o,f),o&&function ID(e,t,n){if(t){const r=e.localNames=[];for(let o=0;o<t.length;o+=2){const a=n[t[o+1]];if(null==a)throw new Se(-301,!1);r.push(t[o],a)}}}(n,r,o)}n.mergedAttrs=Ut(n.mergedAttrs,n.attrs)}function Kp(e,t,n,r,o,a){for(let D=0;D<r.length;D++)Vi(Hs(n,t),e,r[D].type);!function ND(e,t,n){e.flags|=1,e.directiveStart=t,e.directiveEnd=t+n,e.providerIndexes=t}(n,e.data.length,r.length);for(let D=0;D<r.length;D++){const M=r[D];M.providersResolver&&M.providersResolver(M)}let c=!1,f=!1,g=pu(e,t,r.length,null);for(let D=0;D<r.length;D++){const M=r[D];n.mergedAttrs=Ut(n.mergedAttrs,M.hostAttrs),OD(e,n,t,g,M),AD(g,M,o),null!==M.contentQueries&&(n.flags|=4),(null!==M.hostBindings||null!==M.hostAttrs||0!==M.hostVars)&&(n.flags|=64);const I=M.type.prototype;!c&&(I.ngOnChanges||I.ngOnInit||I.ngDoCheck)&&((e.preOrderHooks??=[]).push(n.index),c=!0),!f&&(I.ngOnChanges||I.ngDoCheck)&&((e.preOrderCheckHooks??=[]).push(n.index),f=!0),g++}!function _D(e,t,n){const o=t.directiveEnd,a=e.data,c=t.attrs,f=[];let g=null,D=null;for(let M=t.directiveStart;M<o;M++){const I=a[M],L=n?n.get(I):null,se=L?L.outputs:null;g=Zp(I.inputs,M,g,L?L.inputs:null),D=Zp(I.outputs,M,D,se);const De=null===g||null===c||Er(t)?null:PD(g,M,c);f.push(De)}null!==g&&(g.hasOwnProperty("class")&&(t.flags|=8),g.hasOwnProperty("style")&&(t.flags|=16)),t.initialInputs=f,t.inputs=g,t.outputs=D}(e,n,a)}function Jp(e,t,n){const r=n.directiveStart,o=n.directiveEnd,a=n.index,c=function Ic(){return Ge.lFrame.currentDirectiveIndex}();try{Qo(a);for(let f=r;f<o;f++){const g=e.data[f],D=t[f];Rs(f),(null!==g.hostBindings||0!==g.hostVars||null!==g.hostAttrs)&&MD(g,D)}}finally{Qo(-1),Rs(c)}}function MD(e,t){null!==e.hostBindings&&e.hostBindings(1,t)}function qd(e,t,n){t.componentOffset=n,(e.components??=[]).push(t.index)}function AD(e,t,n){if(n){if(t.exportAs)for(let r=0;r<t.exportAs.length;r++)n[t.exportAs[r]]=e;wn(t)&&(n[""]=e)}}function OD(e,t,n,r,o){e.data[r]=o;const a=o.factory||(o.factory=Xe(o.type)),c=new rs(a,wn(o),la);e.blueprint[r]=c,n[r]=c,function ED(e,t,n,r,o){const a=o.hostBindings;if(a){let c=e.hostBindingOpCodes;null===c&&(c=e.hostBindingOpCodes=[]);const f=~t.index;(function wD(e){let t=e.length;for(;t>0;){const n=e[--t];if("number"==typeof n&&n<0)return n}return 0})(c)!=f&&c.push(f),c.push(n,r,a)}}(e,t,r,pu(e,n,o.hostVars,ut),o)}function ni(e,t,n,r,o,a){const c=p(e,t);!function Kd(e,t,n,r,o,a,c){if(null==a)e.removeAttribute(t,o,n);else{const f=null==c?Q(a):c(a,r||"",o);e.setAttribute(t,o,f,n)}}(t[Ye],c,a,e.value,n,r,o)}function xD(e,t,n,r,o,a){const c=a[t];if(null!==c)for(let f=0;f<c.length;)Qp(r,n,c[f++],c[f++],c[f++])}function Qp(e,t,n,r,o){const a=Et(null);try{null!==e.setInput?e.setInput(t,o,n,r):t[r]=o}finally{Et(a)}}function PD(e,t,n){let r=null,o=0;for(;o<n.length;){const a=n[o];if(0!==a)if(5!==a){if("number"==typeof a)break;if(e.hasOwnProperty(a)){null===r&&(r=[]);const c=e[a];for(let f=0;f<c.length;f+=2)if(c[f]===t){r.push(a,c[f+1],n[o+1]);break}}o+=2}else o+=2;else o+=4}return r}function Xp(e,t,n,r){return[e,!0,!1,t,null,0,r,n,null,null,null]}function eg(e,t){const n=e.contentQueries;if(null!==n)for(let r=0;r<n.length;r+=2){const a=n[r+1];if(-1!==a){const c=e.data[a];Na(n[r]),c.contentQueries(2,t[a],a)}}}function Wl(e,t){return e[Tr]?e[Do][zn]=t:e[Tr]=t,e[Do]=t,t}function Jd(e,t,n){Na(0);const r=Et(null);try{t(e,n)}finally{Et(r)}}function tg(e){return e[gr]||(e[gr]=[])}function ng(e){return e.cleanup||(e.cleanup=[])}function og(e,t){const n=e[fn],r=n?n.get(sa,null):null;r&&r.handleError(t)}function Qd(e,t,n,r,o){for(let a=0;a<n.length;){const c=n[a++],f=n[a++];Qp(e.data[c],t[c],r,f,o)}}function FD(e,t){const n=A(t,e),r=n[we];!function LD(e,t){for(let n=t.length;n<e.blueprint.length;n++)t.push(e.blueprint[n])}(r,n);const o=n[ke];null!==o&&null===n[Fn]&&(n[Fn]=Dp(o,n[fn])),Xd(r,n,n[Rt])}function Xd(e,t,n){Oa(t);try{const r=e.viewQuery;null!==r&&Jd(1,r,n);const o=e.template;null!==o&&zp(e,t,o,1,n),e.firstCreatePass&&(e.firstCreatePass=!1),e.staticContentQueries&&eg(e,t),e.staticViewQueries&&Jd(2,e.viewQuery,n);const a=e.components;null!==a&&function kD(e,t){for(let n=0;n<t.length;n++)FD(e,t[n])}(t,a)}catch(r){throw e.firstCreatePass&&(e.incompleteFirstPass=!0,e.firstCreatePass=!1),r}finally{t[Qe]&=-5,Ra()}}let ig=(()=>{class e{constructor(){this.all=new Set,this.queue=new Map}create(n,r,o){const a=typeof Zone>"u"?null:Zone.current,c=new ku(n,D=>{this.all.has(D)&&this.queue.set(D,a)},o);let f;this.all.add(c),c.notify();const g=()=>{c.cleanup(),f?.(),this.all.delete(c),this.queue.delete(c)};return f=r?.onDestroy(g),{destroy:g}}flush(){if(0!==this.queue.size)for(const[n,r]of this.queue)this.queue.delete(n),r?r.run(()=>n.run()):n.run()}get isQueueEmpty(){return 0===this.queue.size}}return e.\u0275prov=bt({token:e,providedIn:"root",factory:()=>new e}),e})();function Yl(e,t,n){let r=n?e.styles:null,o=n?e.classes:null,a=0;if(null!==t)for(let c=0;c<t.length;c++){const f=t[c];"number"==typeof f?a=f:1==a?o=ye(o,f):2==a&&(r=ye(r,f+": "+t[++c]+";"))}n?e.styles=r:e.stylesWithoutHost=r,n?e.classes=o:e.classesWithoutHost=o}function gu(e,t,n,r,o=!1){for(;null!==n;){const a=t[n.index];if(null!==a&&r.push(Gt(a)),_n(a)){for(let f=$t;f<a.length;f++){const g=a[f],D=g[we].firstChild;null!==D&&gu(g[we],g,D,r)}a[qt]!==a[ke]&&r.push(a[qt])}const c=n.type;if(8&c)gu(e,t,n.child,r);else if(32&c){const f=Tl(n,t);let g;for(;g=f();)r.push(g)}else if(16&c){const f=Gh(t,n);if(Array.isArray(f))r.push(...f);else{const g=Xs(t[tn]);gu(g[we],g,f,r,!0)}}n=o?n.projectionNext:n.next}return r}function Zl(e,t,n,r=!0){const o=t[Mr].rendererFactory;o.begin&&o.begin();try{ql(e,t,e.template,n)}catch(c){throw r&&og(t,c),c}finally{o.end&&o.end(),t[Mr].effectManager?.flush()}}function ql(e,t,n,r){const o=t[Qe];if(256!=(256&o)){t[Mr].effectManager?.flush(),Oa(t);try{At(t),function ju(e){return Ge.lFrame.bindingIndex=e}(e.bindingStartIndex),null!==n&&zp(e,t,n,2,r);const c=3==(3&o);if(c){const D=e.preOrderCheckHooks;null!==D&&Fs(t,D,null)}else{const D=e.preOrderHooks;null!==D&&Ls(t,D,0,null),Li(t,0)}if(function $D(e){for(let t=Xa(e);null!==t;t=Il(t)){if(!t[Ir])continue;const n=t[Ar];for(let r=0;r<n.length;r++){Ct(n[r])}}}(t),function UD(e){for(let t=Xa(e);null!==t;t=Il(t))for(let n=$t;n<t.length;n++){const r=t[n],o=r[we];ae(r)&&ql(o,r,o.template,r[Rt])}}(t),null!==e.contentQueries&&eg(e,t),c){const D=e.contentCheckHooks;null!==D&&Fs(t,D)}else{const D=e.contentHooks;null!==D&&Ls(t,D,1),Li(t,1)}!function dD(e,t){const n=e.hostBindingOpCodes;if(null===n)return;const r=Fp(t,Xr);try{for(let o=0;o<n.length;o++){const a=n[o];if(a<0)Qo(~a);else{const c=a,f=n[++o],g=n[++o];hh(f,c),r.runInContext(g,2,t[c])}}}finally{null===t[Xr]&&Lp(t,Xr),Qo(-1)}}(e,t);const f=e.components;null!==f&&function zD(e,t){for(let n=0;n<t.length;n++)GD(e,t[n])}(t,f);const g=e.viewQuery;if(null!==g&&Jd(2,g,r),c){const D=e.viewCheckHooks;null!==D&&Fs(t,D)}else{const D=e.viewHooks;null!==D&&Ls(t,D,2),Li(t,2)}!0===e.firstUpdatePass&&(e.firstUpdatePass=!1),t[Qe]&=-73,at(t)}finally{Ra()}}}function GD(e,t){const n=A(t,e);if(ae(n)){const r=n[we];80&n[Qe]?ql(r,n,r.template,n[Rt]):n[sr]>0&&ef(n)}}function ef(e){for(let r=Xa(e);null!==r;r=Il(r))for(let o=$t;o<r.length;o++){const a=r[o];if(ae(a))if(1024&a[Qe]){const c=a[we];ql(c,a,c.template,a[Rt])}else a[sr]>0&&ef(a)}const n=e[we].components;if(null!==n)for(let r=0;r<n.length;r++){const o=A(n[r],e);ae(o)&&o[sr]>0&&ef(o)}}class mu{get rootNodes(){const t=this._lView,n=t[we];return gu(n,t,n.firstChild,[])}constructor(t,n){this._lView=t,this._cdRefInjectingView=n,this._appRef=null,this._attachedToViewContainer=!1}get context(){return this._lView[Rt]}set context(t){this._lView[Rt]=t}get destroyed(){return 256==(256&this._lView[Qe])}destroy(){if(this._appRef)this._appRef.detachView(this);else if(this._attachedToViewContainer){const t=this._lView[yt];if(_n(t)){const n=t[jr],r=n?n.indexOf(this):-1;r>-1&&(h(t,r),ds(n,r))}this._attachedToViewContainer=!1}C(this._lView[we],this._lView)}onDestroy(t){!function Nt(e,t){if(256==(256&e[Qe]))throw new Se(911,!1);null===e[Zn]&&(e[Zn]=[]),e[Zn].push(t)}(this._lView,t)}markForCheck(){hu(this._cdRefInjectingView||this._lView)}detach(){this._lView[Qe]&=-129}reattach(){this._lView[Qe]|=128}detectChanges(){Zl(this._lView[we],this._lView,this.context)}checkNoChanges(){}attachToViewContainerRef(){if(this._appRef)throw new Se(902,!1);this._attachedToViewContainer=!0}detachFromAppRef(){this._appRef=null,function $h(e,t){ru(e,t,t[Ye],2,null,null)}(this._lView[we],this._lView)}attachToAppRef(t){if(this._attachedToViewContainer)throw new Se(902,!1);this._appRef=t}}class WD extends mu{constructor(t){super(t),this._view=t}detectChanges(){const t=this._view;Zl(t[we],t,t[Rt],!1)}checkNoChanges(){}get context(){return null}}class sg extends Bl{constructor(t){super(),this.ngModule=t}resolveComponentFactory(t){const n=P(t);return new yu(n,this.ngModule)}}function ag(e){const t=[];for(let n in e)e.hasOwnProperty(n)&&t.push({propName:e[n],templateName:n});return t}class ZD{constructor(t,n){this.injector=t,this.parentInjector=n}get(t,n,r){r=sn(r);const o=this.injector.get(t,Bd,r);return o!==Bd||n===Bd?o:this.parentInjector.get(t,n,r)}}class yu extends Ep{get inputs(){return ag(this.componentDef.inputs)}get outputs(){return ag(this.componentDef.outputs)}constructor(t,n){super(),this.componentDef=t,this.ngModule=n,this.componentType=t.type,this.selector=function io(e){return e.map(ct).join(",")}(t.selectors),this.ngContentSelectors=t.ngContentSelectors?t.ngContentSelectors:[],this.isBoundToModule=!!n}create(t,n,r,o){let a=(o=o||this.ngModule)instanceof Cs?o:o?.injector;a&&null!==this.componentDef.getStandaloneInjector&&(a=this.componentDef.getStandaloneInjector(a)||a);const c=a?new ZD(t,a):t,f=c.get(Sp,null);if(null===f)throw new Se(407,!1);const M={rendererFactory:f,sanitizer:c.get(K_,null),effectManager:c.get(ig,null)},I=f.createRenderer(null,this.componentDef),L=this.componentDef.selectors[0][0]||"div",B=r?function hD(e,t,n,r){const a=r.get(Np,!1)||n===yn.ShadowDom,c=e.selectRootElement(t,a);return function pD(e){Yp(e)}(c),c}(I,r,this.componentDef.encapsulation,c):ta(I,L,function YD(e){const t=e.toLowerCase();return"svg"===t?"svg":"math"===t?"math":null}(L)),se=this.componentDef.onPush?576:528,De=Yd(0,null,null,1,0,null,null,null,null,null,null),Te=zl(null,De,null,se,null,null,M,I,c,null,null);let ze,pe;Oa(Te);try{const Je=this.componentDef;let pt,jt=null;Je.findHostDirectiveDefs?(pt=[],jt=new Map,Je.findHostDirectiveDefs(Je,pt,jt),pt.push(Je)):pt=[Je];const Uo=function KD(e,t){const n=e[we],r=rt;return e[r]=t,ca(n,r,2,"#host",null)}(Te,B),Uv=function JD(e,t,n,r,o,a,c){const f=o[we];!function QD(e,t,n,r){for(const o of e)t.mergedAttrs=Ut(t.mergedAttrs,o.hostAttrs);null!==t.mergedAttrs&&(Yl(t,t.mergedAttrs,!0),null!==n&&Zh(r,n,t))}(r,e,t,c);let g=null;null!==t&&(g=Dp(t,o[fn]));const D=a.rendererFactory.createRenderer(t,n),M=zl(o,Wp(n),null,n.onPush?64:16,o[e.index],e,a,D,null,null,g);return f.firstCreatePass&&qd(f,e,r.length-1),Wl(o,M),o[e.index]=M}(Uo,B,Je,pt,Te,M,I);pe=_(De,rt),B&&function eC(e,t,n,r){if(r)vn(e,n,["ng-version",J_.full]);else{const{attrs:o,classes:a}=function Gn(e){const t=[],n=[];let r=1,o=2;for(;r<e.length;){let a=e[r];if("string"==typeof a)2===o?""!==a&&t.push(a,e[++r]):8===o&&n.push(a);else{if(!Xt(o))break;o=a}r++}return{attrs:t,classes:n}}(t.selectors[0]);o&&vn(e,n,o),a&&a.length>0&&Yh(e,n,a.join(" "))}}(I,Je,B,r),void 0!==n&&function tC(e,t,n){const r=e.projection=[];for(let o=0;o<t.length;o++){const a=n[o];r.push(null!=a?Array.from(a):null)}}(pe,this.ngContentSelectors,n),ze=function XD(e,t,n,r,o,a){const c=kn(),f=o[we],g=p(c,o);Kp(f,o,c,n,null,r);for(let M=0;M<n.length;M++)Jn(gi(o,f,c.directiveStart+M,c),o);Jp(f,o,c),g&&Jn(g,o);const D=gi(o,f,c.directiveStart+c.componentOffset,c);if(e[Rt]=o[Rt]=D,null!==a)for(const M of a)M(D,t);return Gd(f,c,e),D}(Uv,Je,pt,jt,Te,[nC]),Xd(De,Te,null)}finally{Ra()}return new qD(this.componentType,ze,ia(pe,Te),Te,pe)}}class qD extends $_{constructor(t,n,r,o,a){super(),this.location=r,this._rootLView=o,this._tNode=a,this.previousInputValues=null,this.instance=n,this.hostView=this.changeDetectorRef=new WD(o),this.componentType=t}setInput(t,n){const r=this._tNode.inputs;let o;if(null!==r&&(o=r[t])){if(this.previousInputValues??=new Map,this.previousInputValues.has(t)&&Object.is(this.previousInputValues.get(t),n))return;const a=this._rootLView;Qd(a[we],a,o,t,n),this.previousInputValues.set(t,n),hu(A(this._tNode.index,a))}}get injector(){return new Hi(this._tNode,this._rootLView)}destroy(){this.hostView.destroy()}onDestroy(t){this.hostView.onDestroy(t)}}function nC(){const e=kn();Ps(fe()[we],e)}function tf(e){let t=function ug(e){return Object.getPrototypeOf(e.prototype).constructor}(e.type),n=!0;const r=[e];for(;t;){let o;if(wn(e))o=t.\u0275cmp||t.\u0275dir;else{if(t.\u0275cmp)throw new Se(903,!1);o=t.\u0275dir}if(o){if(n){r.push(o);const c=e;c.inputs=nf(e.inputs),c.declaredInputs=nf(e.declaredInputs),c.outputs=nf(e.outputs);const f=o.hostBindings;f&&sC(e,f);const g=o.viewQuery,D=o.contentQueries;if(g&&oC(e,g),D&&iC(e,D),he(e.inputs,o.inputs),he(e.declaredInputs,o.declaredInputs),he(e.outputs,o.outputs),wn(o)&&o.data.animation){const M=e.data;M.animation=(M.animation||[]).concat(o.data.animation)}}const a=o.features;if(a)for(let c=0;c<a.length;c++){const f=a[c];f&&f.ngInherit&&f(e),f===tf&&(n=!1)}}t=Object.getPrototypeOf(t)}!function rC(e){let t=0,n=null;for(let r=e.length-1;r>=0;r--){const o=e[r];o.hostVars=t+=o.hostVars,o.hostAttrs=Ut(o.hostAttrs,n=Ut(n,o.hostAttrs))}}(r)}function nf(e){return e===Ot?{}:e===nt?[]:e}function oC(e,t){const n=e.viewQuery;e.viewQuery=n?(r,o)=>{t(r,o),n(r,o)}:t}function iC(e,t){const n=e.contentQueries;e.contentQueries=n?(r,o,a)=>{t(r,o,a),n(r,o,a)}:t}function sC(e,t){const n=e.hostBindings;e.hostBindings=n?(r,o)=>{t(r,o),n(r,o)}:t}function Kl(e){return!!rf(e)&&(Array.isArray(e)||!(e instanceof Map)&&Symbol.iterator in e)}function rf(e){return null!==e&&("function"==typeof e||"object"==typeof e)}function ri(e,t,n){return e[t]=n}function Pr(e,t,n){return!Object.is(e[t],n)&&(e[t]=n,!0)}function sf(e,t,n,r){const o=fe();return Pr(o,xi(),t)&&(wt(),ni(Ht(),o,e,t,n,r)),sf}function wg(e,t,n,r,o,a,c,f){const g=fe(),D=wt(),M=e+rt,I=D.firstCreatePass?function OC(e,t,n,r,o,a,c,f,g){const D=t.consts,M=ca(t,e,4,c||null,vt(D,f));Zd(t,n,M,vt(D,g)),Ps(t,M);const I=M.tView=Yd(2,M,r,o,a,t.directiveRegistry,t.pipeRegistry,null,t.schemas,D,null);return null!==t.queries&&(t.queries.template(t,M),I.queries=t.queries.embeddedTView(M)),M}(M,D,g,t,n,r,o,a,c):D.data[M];bo(I,!1);const L=Sg(D,g,I,e);Fi()&&na(D,g,L,I),Jn(L,g),Wl(g,g[M]=Xp(L,g,L,I)),Ur(I)&&zd(D,g,I),null!=c&&Wd(g,I,f)}let Sg=function Mg(e,t,n,r){return Lo(!0),t[Ye].createComment("")};function Tg(e){return S(function Mc(){return Ge.lFrame.contextLView}(),rt+e)}function ff(e,t,n){const r=fe();return Pr(r,xi(),t)&&ho(wt(),Ht(),r,e,t,r[Ye],n,!1),ff}function hf(e,t,n,r,o){const c=o?"class":"style";Qd(e,n,t.inputs[c],c,r)}function tc(e,t,n,r){const o=fe(),a=wt(),c=rt+e,f=o[Ye],g=a.firstCreatePass?function FC(e,t,n,r,o,a){const c=t.consts,g=ca(t,e,2,r,vt(c,o));return Zd(t,n,g,vt(c,a)),null!==g.attrs&&Yl(g,g.attrs,!1),null!==g.mergedAttrs&&Yl(g,g.mergedAttrs,!0),null!==t.queries&&t.queries.elementStart(t,g),g}(c,a,o,t,n,r):a.data[c],D=Ig(a,o,g,f,t,e);o[c]=D;const M=Ur(g);return bo(g,!0),Zh(f,D,g),32!=(32&g.flags)&&Fi()&&na(a,o,D,g),0===function ro(){return Ge.lFrame.elementDepthCount}()&&Jn(D,o),function qo(){Ge.lFrame.elementDepthCount++}(),M&&(zd(a,o,g),Gd(a,g,o)),null!==r&&Wd(o,g),tc}function nc(){let e=kn();Jo()?hi():(e=e.parent,bo(e,!1));const t=e;(function Ec(e){return Ge.skipHydrationRootTNode===e})(t)&&function Sc(){Ge.skipHydrationRootTNode=null}(),function Ko(){Ge.lFrame.elementDepthCount--}();const n=wt();return n.firstCreatePass&&(Ps(n,e),No(e)&&n.queries.elementEnd(e)),null!=t.classesWithoutHost&&function Xu(e){return 0!=(8&e.flags)}(t)&&hf(n,t,fe(),t.classesWithoutHost,!0),null!=t.stylesWithoutHost&&function Hc(e){return 0!=(16&e.flags)}(t)&&hf(n,t,fe(),t.stylesWithoutHost,!1),nc}function pf(e,t,n,r){return tc(e,t,n,r),nc(),pf}let Ig=(e,t,n,r,o,a)=>(Lo(!0),ta(r,o,function xs(){return Ge.lFrame.currentNamespace}()));function rc(e,t,n){const r=fe(),o=wt(),a=e+rt,c=o.firstCreatePass?function VC(e,t,n,r,o){const a=t.consts,c=vt(a,r),f=ca(t,e,8,"ng-container",c);return null!==c&&Yl(f,c,!0),Zd(t,n,f,vt(a,o)),null!==t.queries&&t.queries.elementStart(t,f),f}(a,o,r,t,n):o.data[a];bo(c,!0);const f=Ag(o,r,c,e);return r[a]=f,Fi()&&na(o,r,f,c),Jn(f,r),Ur(c)&&(zd(o,r,c),Gd(o,c,r)),null!=n&&Wd(r,c),rc}function oc(){let e=kn();const t=wt();return Jo()?hi():(e=e.parent,bo(e,!1)),t.firstCreatePass&&(Ps(t,e),No(e)&&t.queries.elementEnd(e)),oc}function gf(e,t,n){return rc(e,t,n),oc(),gf}let Ag=(e,t,n,r)=>(Lo(!0),eu(t[Ye],""));function Ng(){return fe()}function mf(e){return!!e&&"function"==typeof e.then}function Og(e){return!!e&&"function"==typeof e.subscribe}function yf(e,t,n,r){const o=fe(),a=wt(),c=kn();return function xg(e,t,n,r,o,a,c){const f=Ur(r),D=e.firstCreatePass&&ng(e),M=t[Rt],I=tg(t);let L=!0;if(3&r.type||c){const De=p(r,t),Te=c?c(De):De,ze=I.length,pe=c?pt=>c(Gt(pt[r.index])):r.index;let Je=null;if(!c&&f&&(Je=function BC(e,t,n,r){const o=e.cleanup;if(null!=o)for(let a=0;a<o.length-1;a+=2){const c=o[a];if(c===n&&o[a+1]===r){const f=t[gr],g=o[a+2];return f.length>g?f[g]:null}"string"==typeof c&&(a+=2)}return null}(e,t,o,r.index)),null!==Je)(Je.__ngLastListenerFn__||Je).__ngNextListenerFn__=a,Je.__ngLastListenerFn__=a,L=!1;else{a=Fg(r,t,M,a,!1);const pt=n.listen(Te,o,a);I.push(a,pt),D&&D.push(o,pe,ze,ze+1)}}else a=Fg(r,t,M,a,!1);const B=r.outputs;let se;if(L&&null!==B&&(se=B[o])){const De=se.length;if(De)for(let Te=0;Te<De;Te+=2){const jt=t[se[Te]][se[Te+1]].subscribe(a),Uo=I.length;I.push(a,jt),D&&D.push(o,r.index,Uo,-(Uo+1))}}}(a,o,o[Ye],c,e,t,r),yf}function Pg(e,t,n,r){try{return to(6,t,n),!1!==n(r)}catch(o){return og(e,o),!1}finally{to(7,t,n)}}function Fg(e,t,n,r,o){return function a(c){if(c===Function)return r;hu(e.componentOffset>-1?A(e.index,t):t);let g=Pg(t,n,r,c),D=a.__ngNextListenerFn__;for(;D;)g=Pg(t,n,D,c)&&g,D=D.__ngNextListenerFn__;return o&&!1===g&&(c.preventDefault(),c.returnValue=!1),g}}function Lg(e=1){return function Yu(e){return(Ge.lFrame.contextLView=function Nc(e,t){for(;e>0;)t=t[Wn],e--;return t}(e,Ge.lFrame.contextLView))[Rt]}(e)}function UC(e,t){let n=null;const r=function Jr(e){const t=e.attrs;if(null!=t){const n=t.indexOf(5);if(!(1&n))return t[n+1]}return null}(e);for(let o=0;o<t.length;o++){const a=t[o];if("*"!==a){if(null===r?kr(e,a,!0):yo(r,a))return o}else n=o}return n}function kg(e){const t=fe()[tn][Mt];if(!t.projection){const r=t.projection=fs(e?e.length:1,null),o=r.slice();let a=t.child;for(;null!==a;){const c=e?UC(a,e):0;null!==c&&(o[c]?o[c].projectionNext=a:r[c]=a,o[c]=a),a=a.next}}}function Vg(e,t=0,n){const r=fe(),o=wt(),a=ca(o,rt+e,16,null,n||null);null===a.projection&&(a.projection=t),hi(),(!r[Fn]||function Os(){return null!==Ge.skipHydrationRootTNode}())&&32!=(32&a.flags)&&function Yv(e,t,n){Wh(t[Ye],0,t,n,Ce(e,n,t),_i(n.parent||t[Mt],n,t))}(o,r,a)}function ic(e,t){return e<<17|t<<2}function Wi(e){return e>>17&32767}function _f(e){return 2|e}function Es(e){return(131068&e)>>2}function Df(e,t){return-131069&e|t<<2}function Cf(e){return 1|e}function Zg(e,t,n,r,o){const a=e[n+1],c=null===t;let f=r?Wi(a):Es(a),g=!1;for(;0!==f&&(!1===g||c);){const M=e[f+1];ZC(e[f],t)&&(g=!0,e[f+1]=r?Cf(M):_f(M)),f=r?Wi(M):Es(M)}g&&(e[n+1]=r?_f(a):Cf(a))}function ZC(e,t){return null===e||null==t||(Array.isArray(e)?e[1]:e)===t||!(!Array.isArray(e)||"string"!=typeof t)&&hs(e,t)>=0}function bf(e,t){return function Ho(e,t,n,r){const o=fe(),a=wt(),c=function Fo(e){const t=Ge.lFrame,n=t.bindingIndex;return t.bindingIndex=t.bindingIndex+e,n}(2);a.firstUpdatePass&&function rm(e,t,n,r){const o=e.data;if(null===o[n+1]){const a=o[Vn()],c=function nm(e,t){return t>=e.expandoStartIndex}(e,n);(function am(e,t){return 0!=(e.flags&(t?8:16))})(a,r)&&null===t&&!c&&(t=!1),t=function rb(e,t,n,r){const o=function Pi(e){const t=Ge.lFrame.currentDirectiveIndex;return-1===t?null:e[t]}(e);let a=r?t.residualClasses:t.residualStyles;if(null===o)0===(r?t.classBindings:t.styleBindings)&&(n=bu(n=Ef(null,e,t,n,r),t.attrs,r),a=null);else{const c=t.directiveStylingLast;if(-1===c||e[c]!==o)if(n=Ef(o,e,t,n,r),null===a){let g=function ob(e,t,n){const r=n?t.classBindings:t.styleBindings;if(0!==Es(r))return e[Wi(r)]}(e,t,r);void 0!==g&&Array.isArray(g)&&(g=Ef(null,e,t,g[1],r),g=bu(g,t.attrs,r),function ib(e,t,n,r){e[Wi(n?t.classBindings:t.styleBindings)]=r}(e,t,r,g))}else a=function sb(e,t,n){let r;const o=t.directiveEnd;for(let a=1+t.directiveStylingLast;a<o;a++)r=bu(r,e[a].hostAttrs,n);return bu(r,t.attrs,n)}(e,t,r)}return void 0!==a&&(r?t.residualClasses=a:t.residualStyles=a),n}(o,a,t,r),function WC(e,t,n,r,o,a){let c=a?t.classBindings:t.styleBindings,f=Wi(c),g=Es(c);e[r]=n;let M,D=!1;if(Array.isArray(n)?(M=n[1],(null===M||hs(n,M)>0)&&(D=!0)):M=n,o)if(0!==g){const L=Wi(e[f+1]);e[r+1]=ic(L,f),0!==L&&(e[L+1]=Df(e[L+1],r)),e[f+1]=function GC(e,t){return 131071&e|t<<17}(e[f+1],r)}else e[r+1]=ic(f,0),0!==f&&(e[f+1]=Df(e[f+1],r)),f=r;else e[r+1]=ic(g,0),0===f?f=r:e[g+1]=Df(e[g+1],r),g=r;D&&(e[r+1]=_f(e[r+1])),Zg(e,M,r,!0),Zg(e,M,r,!1),function YC(e,t,n,r,o){const a=o?e.residualClasses:e.residualStyles;null!=a&&"string"==typeof t&&hs(a,t)>=0&&(n[r+1]=Cf(n[r+1]))}(t,M,e,r,a),c=ic(f,g),a?t.classBindings=c:t.styleBindings=c}(o,a,t,n,c,r)}}(a,e,c,r),t!==ut&&Pr(o,c,t)&&function im(e,t,n,r,o,a,c,f){if(!(3&t.type))return;const g=e.data,D=g[f+1],M=function zC(e){return 1==(1&e)}(D)?sm(g,t,n,o,Es(D),c):void 0;sc(M)||(sc(a)||function $C(e){return 2==(2&e)}(D)&&(a=sm(g,null,n,o,f,c)),function qv(e,t,n,r,o){if(t)o?e.addClass(n,r):e.removeClass(n,r);else{let a=-1===r.indexOf("-")?void 0:Vo.DashCase;null==o?e.removeStyle(n,r,a):("string"==typeof o&&o.endsWith("!important")&&(o=o.slice(0,-10),a|=Vo.Important),e.setStyle(n,r,o,a))}}(r,c,Ni(Vn(),n),o,a))}(a,a.data[Vn()],o,o[Ye],e,o[c+1]=function cb(e,t){return null==e||""===e||("string"==typeof t?e+=t:"object"==typeof e&&(e=ee(Gi(e)))),e}(t,n),r,c)}(e,t,null,!0),bf}function Ef(e,t,n,r,o){let a=null;const c=n.directiveEnd;let f=n.directiveStylingLast;for(-1===f?f=n.directiveStart:f++;f<c&&(a=t[f],r=bu(r,a.hostAttrs,o),a!==e);)f++;return null!==e&&(n.directiveStylingLast=f),r}function bu(e,t,n){const r=n?1:2;let o=-1;if(null!==t)for(let a=0;a<t.length;a++){const c=t[a];"number"==typeof c?o=c:o===r&&(Array.isArray(e)||(e=void 0===e?[]:["",e]),Rr(e,c,!!n||t[++a]))}return void 0===e?null:e}function sm(e,t,n,r,o,a){const c=null===t;let f;for(;o>0;){const g=e[o],D=Array.isArray(g),M=D?g[1]:g,I=null===M;let L=n[o+1];L===ut&&(L=I?nt:void 0);let B=I?Ha(L,r):M===r?L:void 0;if(D&&!sc(B)&&(B=Ha(g,r)),sc(B)&&(f=B,c))return f;const se=e[o+1];o=c?Wi(se):Es(se)}if(null!==t){let g=a?t.residualClasses:t.residualStyles;null!=g&&(f=Ha(g,r))}return f}function sc(e){return void 0!==e}function um(e,t=""){const n=fe(),r=wt(),o=e+rt,a=r.firstCreatePass?ca(r,o,1,t,null):r.data[o],c=lm(r,n,a,t,e);n[o]=c,Fi()&&na(r,n,c,a),bo(a,!1)}let lm=(e,t,n,r,o)=>(Lo(!0),function ea(e,t){return e.createText(t)}(t[Ye],r));function wf(e){return ac("",e,""),wf}function ac(e,t,n){const r=fe(),o=function fa(e,t,n,r){return Pr(e,xi(),n)?t+Q(n)+r:ut}(r,e,t,n);return o!==ut&&function bi(e,t,n){const r=Ni(t,e);!function Al(e,t,n){e.setValue(t,n)}(e[Ye],r,n)}(r,Vn(),o),ac}function Sf(e,t,n){const r=fe();return Pr(r,xi(),t)&&ho(wt(),Ht(),r,e,t,r[Ye],n,!0),Sf}const ws=void 0;var Rb=["en",[["a","p"],["AM","PM"],ws],[["AM","PM"],ws,ws],[["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"]],ws,[["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"]],ws,[["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}",ws,"{1} 'at' {0}",ws],[".",",",";","%","+","-","E","\xd7","\u2030","\u221e","NaN",":"],["#,##0.###","#,##0%","\xa4#,##0.00","#E0"],"USD","$","US Dollar",{},"ltr",function Ob(e){const n=Math.floor(Math.abs(e)),r=e.toString().replace(/^[^.]*\.?/,"").length;return 1===n&&0===r?1:5}];let Ca={};function Mf(e){const t=function xb(e){return e.toLowerCase().replace(/_/g,"-")}(e);let n=Am(t);if(n)return n;const r=t.split("-")[0];if(n=Am(r),n)return n;if("en"===r)return Rb;throw new Se(701,!1)}function Im(e){return Mf(e)[Ke.PluralCase]}function Am(e){return e in Ca||(Ca[e]=ft.ng&&ft.ng.common&&ft.ng.common.locales&&ft.ng.common.locales[e]),Ca[e]}var Ke=(()=>((Ke=Ke||{})[Ke.LocaleId=0]="LocaleId",Ke[Ke.DayPeriodsFormat=1]="DayPeriodsFormat",Ke[Ke.DayPeriodsStandalone=2]="DayPeriodsStandalone",Ke[Ke.DaysFormat=3]="DaysFormat",Ke[Ke.DaysStandalone=4]="DaysStandalone",Ke[Ke.MonthsFormat=5]="MonthsFormat",Ke[Ke.MonthsStandalone=6]="MonthsStandalone",Ke[Ke.Eras=7]="Eras",Ke[Ke.FirstDayOfWeek=8]="FirstDayOfWeek",Ke[Ke.WeekendRange=9]="WeekendRange",Ke[Ke.DateFormat=10]="DateFormat",Ke[Ke.TimeFormat=11]="TimeFormat",Ke[Ke.DateTimeFormat=12]="DateTimeFormat",Ke[Ke.NumberSymbols=13]="NumberSymbols",Ke[Ke.NumberFormats=14]="NumberFormats",Ke[Ke.CurrencyCode=15]="CurrencyCode",Ke[Ke.CurrencySymbol=16]="CurrencySymbol",Ke[Ke.CurrencyName=17]="CurrencyName",Ke[Ke.Currencies=18]="Currencies",Ke[Ke.Directionality=19]="Directionality",Ke[Ke.PluralCase=20]="PluralCase",Ke[Ke.ExtraData=21]="ExtraData",Ke))();const ba="en-US";let Nm=ba;function Af(e,t,n,r,o){if(e=ce(e),Array.isArray(e))for(let a=0;a<e.length;a++)Af(e[a],t,n,r,o);else{const a=wt(),c=fe();let f=Ds(e)?e:ce(e.provide),g=pp(e);const D=kn(),M=1048575&D.providerIndexes,I=D.directiveStart,L=D.providerIndexes>>20;if(Ds(e)||!e.multi){const B=new rs(g,o,la),se=Of(f,t,o?M:M+L,I);-1===se?(Vi(Hs(D,c),a,f),Nf(a,e,t.length),t.push(f),D.directiveStart++,D.directiveEnd++,o&&(D.providerIndexes+=1048576),n.push(B),c.push(B)):(n[se]=B,c[se]=B)}else{const B=Of(f,t,M+L,I),se=Of(f,t,M,M+L),Te=se>=0&&n[se];if(o&&!Te||!o&&!(B>=0&&n[B])){Vi(Hs(D,c),a,f);const ze=function NE(e,t,n,r,o){const a=new rs(e,n,la);return a.multi=[],a.index=t,a.componentProviders=0,ty(a,o,r&&!n),a}(o?AE:IE,n.length,o,r,g);!o&&Te&&(n[se].providerFactory=ze),Nf(a,e,t.length,0),t.push(f),D.directiveStart++,D.directiveEnd++,o&&(D.providerIndexes+=1048576),n.push(ze),c.push(ze)}else Nf(a,e,B>-1?B:se,ty(n[o?se:B],g,!o&&r));!o&&r&&Te&&n[se].componentProviders++}}}function Nf(e,t,n,r){const o=Ds(t),a=function S_(e){return!!e.useClass}(t);if(o||a){const g=(a?ce(t.useClass):t).prototype.ngOnDestroy;if(g){const D=e.destroyHooks||(e.destroyHooks=[]);if(!o&&t.multi){const M=D.indexOf(n);-1===M?D.push(n,[r,g]):D[M+1].push(r,g)}else D.push(n,g)}}}function ty(e,t,n){return n&&e.componentProviders++,e.multi.push(t)-1}function Of(e,t,n,r){for(let o=n;o<r;o++)if(t[o]===e)return o;return-1}function IE(e,t,n,r){return Rf(this.multi,[])}function AE(e,t,n,r){const o=this.multi;let a;if(this.providerFactory){const c=this.providerFactory.componentProviders,f=gi(n,n[we],this.providerFactory.index,r);a=f.slice(0,c),Rf(o,a);for(let g=c;g<f.length;g++)a.push(f[g])}else a=[],Rf(o,a);return a}function Rf(e,t){for(let n=0;n<e.length;n++)t.push((0,e[n])());return t}function ny(e,t=[]){return n=>{n.providersResolver=(r,o)=>function TE(e,t,n){const r=wt();if(r.firstCreatePass){const o=wn(e);Af(n,r.data,r.blueprint,o,!0),Af(t,r.data,r.blueprint,o,!1)}}(r,o?o(e):e,t)}}class Ea{}class ry{}function OE(e,t){return new xf(e,t??null,[])}class xf extends Ea{constructor(t,n,r){super(),this._parent=n,this._bootstrapComponents=[],this.destroyCbs=[],this.componentFactoryResolver=new sg(this);const o=St(t);this._bootstrapComponents=Ci(o.bootstrap),this._r3Injector=$p(t,n,[{provide:Ea,useValue:this},{provide:Bl,useValue:this.componentFactoryResolver},...r],ee(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 Pf extends ry{constructor(t){super(),this.moduleType=t}create(t){return new xf(this.moduleType,t,[])}}class oy extends Ea{constructor(t){super(),this.componentFactoryResolver=new sg(this),this.instance=null;const n=new Id([...t.providers,{provide:Ea,useValue:this},{provide:Bl,useValue:this.componentFactoryResolver}],t.parent||Ll(),t.debugName,new Set(["environment"]));this.injector=n,t.runEnvironmentInitializers&&n.resolveInjectorInitializers()}destroy(){this.injector.destroy()}onDestroy(t){this.injector.onDestroy(t)}}function iy(e,t,n=null){return new oy({providers:e,parent:t,debugName:n,runEnvironmentInitializers:!0}).injector}let xE=(()=>{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=cp(0,n.type),o=r.length>0?iy([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=bt({token:e,providedIn:"environment",factory:()=>new e(ht(Cs))}),e})();function sy(e){e.getStandaloneInjector=t=>t.get(xE).getOrCreateStandaloneInjector(e)}function hy(e,t,n,r){return gy(fe(),Rn(),e,t,n,r)}function py(e,t,n,r,o){return my(fe(),Rn(),e,t,n,r,o)}function Iu(e,t){const n=e[t];return n===ut?void 0:n}function gy(e,t,n,r,o,a){const c=t+n;return Pr(e,c,o)?ri(e,c+1,a?r.call(a,o):r(o)):Iu(e,c+1)}function my(e,t,n,r,o,a,c){const f=t+n;return function bs(e,t,n,r){const o=Pr(e,t,n);return Pr(e,t+1,r)||o}(e,f,o,a)?ri(e,f+2,c?r.call(c,o,a):r(o,a)):Iu(e,f+2)}function Dy(e,t){const n=wt();let r;const o=e+rt;n.firstCreatePass?(r=function KE(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??=[]).push(o,r.onDestroy)):r=n.data[o];const a=r.factory||(r.factory=Xe(r.type)),c=un(la);try{const f=ko(!1),g=a();return ko(f),function PC(e,t,n,r){n>=e.data.length&&(e.data[n]=null,e.blueprint[n]=null),t[n]=r}(n,fe(),o,g),g}finally{un(c)}}function Cy(e,t,n){const r=e+rt,o=fe(),a=S(o,r);return Au(o,r)?gy(o,Rn(),t,a.transform,n,a):a.transform(n)}function by(e,t,n,r){const o=e+rt,a=fe(),c=S(a,o);return Au(a,o)?my(a,Rn(),t,c.transform,n,r,c):c.transform(n,r)}function Au(e,t){return e[we].data[t].pure}function Lf(e){return t=>{setTimeout(e,void 0,t)}}const si=class ew extends s.xQ{constructor(t=!1){super(),this.__isAsync=t}emit(t){super.next(t)}subscribe(t,n,r){let o=t,a=n||(()=>null),c=r;if(t&&"object"==typeof t){const g=t;o=g.next?.bind(g),a=g.error?.bind(g),c=g.complete?.bind(g)}this.__isAsync&&(a=Lf(a),o&&(o=Lf(o)),c&&(c=Lf(c)));const f=super.subscribe({next:o,error:a,complete:c});return t instanceof V.w&&t.add(f),f}};function tw(){return this._results[Symbol.iterator]()}class kf{get changes(){return this._changes||(this._changes=new si)}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=kf.prototype;n[Symbol.iterator]||(n[Symbol.iterator]=tw)}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 zr(e){return e.flat(Number.POSITIVE_INFINITY)}(t);(this._changesDetected=!function bh(e,t,n){if(e.length!==t.length)return!1;for(let r=0;r<e.length;r++){let o=e[r],a=t[r];if(n&&(o=n(o),a=n(a)),a!==o)return!1}return!0}(r._results,o,n))&&(r._results=o,r.length=o.length,r.last=o[this.length-1],r.first=o[0])}notifyOnChanges(){this._changes&&(this._changesDetected||!this._emitDistinctChangesOnly)&&this._changes.emit(this)}setDirty(){this.dirty=!0}destroy(){this.changes.complete(),this.changes.unsubscribe()}}let Nu=(()=>{class e{}return e.__NG_ELEMENT_ID__=ow,e})();const nw=Nu,rw=class extends nw{constructor(t,n,r){super(),this._declarationLView=t,this._declarationTContainer=n,this.elementRef=r}get ssrId(){return this._declarationTContainer.tView?.ssrId||null}createEmbeddedView(t,n){return this.createEmbeddedViewImpl(t,n,null)}createEmbeddedViewImpl(t,n,r){const o=this._declarationTContainer.tView,a=zl(this._declarationLView,o,t,16,null,o.declTNode,null,null,null,n||null,r||null);a[Vr]=this._declarationLView[this._declarationTContainer.index];const f=this._declarationLView[bn];return null!==f&&(a[bn]=f.createEmbeddedView(o)),Xd(o,a,t),new mu(a)}};function ow(){return fc(kn(),fe())}function fc(e,t){return 4&e.type?new rw(t,e,ia(e,t)):null}let hc=(()=>{class e{}return e.__NG_ELEMENT_ID__=dw,e})();function dw(){return Iy(kn(),fe())}const fw=hc,My=class extends fw{constructor(t,n,r){super(),this._lContainer=t,this._hostTNode=n,this._hostLView=r}get element(){return ia(this._hostTNode,this._hostLView)}get injector(){return new Hi(this._hostTNode,this._hostLView)}get parentInjector(){const t=Fa(this._hostTNode,this._hostLView);if(el(t)){const n=os(t,this._hostLView),r=ks(t);return new Hi(n[we].data[r+8],n)}return new Hi(null,this._hostLView)}clear(){for(;this.length>0;)this.remove(this.length-1)}get(t){const n=Ty(this._lContainer);return null!==n&&n[t]||null}get length(){return this._lContainer.length-$t}createEmbeddedView(t,n,r){let o,a;"number"==typeof r?o=r:null!=r&&(o=r.index,a=r.injector);const f=t.createEmbeddedViewImpl(n||{},a,null);return this.insertImpl(f,o,!1),f}createComponent(t,n,r,o,a){const c=t&&!function ls(e){return"function"==typeof e}(t);let f;if(c)f=n;else{const se=n||{};f=se.index,r=se.injector,o=se.projectableNodes,a=se.environmentInjector||se.ngModuleRef}const g=c?t:new yu(P(t)),D=r||this.parentInjector;if(!a&&null==g.ngModule){const De=(c?D:this.parentInjector).get(Cs,null);De&&(a=De)}P(g.componentType??{});const B=g.create(D,o,null,a);return this.insertImpl(B.hostView,f,!1),B}insert(t,n){return this.insertImpl(t,n,!1)}insertImpl(t,n,r){const o=t._lView,a=o[we];if(function Fe(e){return _n(e[yt])}(o)){const g=this.indexOf(t);if(-1!==g)this.detach(g);else{const D=o[yt],M=new My(D,D[Mt],D[yt]);M.detach(M.indexOf(t))}}const c=this._adjustIndex(n),f=this._lContainer;if(function u(e,t,n,r){const o=$t+r,a=n.length;r>0&&(n[o-1][zn]=t),r<a-$t?(t[zn]=n[o],dl(n,$t+r,t)):(n.push(t),t[zn]=null),t[yt]=n;const c=t[Vr];null!==c&&n!==c&&function i(e,t){const n=e[Ar];t[tn]!==t[yt][yt][tn]&&(e[Ir]=!0),null===n?e[Ar]=[t]:n.push(t)}(c,t);const f=t[bn];null!==f&&f.insertView(e),t[Qe]|=128}(a,o,f,c),!r){const g=fd(c,f),D=o[Ye],M=Ft(D,f[qt]);null!==M&&function dd(e,t,n,r,o,a){r[ke]=o,r[Mt]=t,ru(e,r,n,1,o,a)}(a,f[Mt],D,o,M,g)}return t.attachToViewContainerRef(),dl(Hf(f),c,t),t}move(t,n){return this.insert(t,n)}indexOf(t){const n=Ty(this._lContainer);return null!==n?n.indexOf(t):-1}remove(t){const n=this._adjustIndex(t,-1),r=h(this._lContainer,n);r&&(ds(Hf(this._lContainer),n),C(r[we],r))}detach(t){const n=this._adjustIndex(t,-1),r=h(this._lContainer,n);return r&&null!=ds(Hf(this._lContainer),n)?new mu(r):null}_adjustIndex(t,n=0){return t??this.length+n}};function Ty(e){return e[jr]}function Hf(e){return e[jr]||(e[jr]=[])}function Iy(e,t){let n;const r=t[e.index];return _n(r)?n=r:(n=Xp(r,t,null,e),t[e.index]=n,Wl(t,n)),Ay(n,t,e,r),new My(n,e,t)}let Ay=function Ny(e,t,n,r){if(e[qt])return;let o;o=8&n.type?Gt(r):function hw(e,t){const n=e[Ye],r=n.createComment(""),o=p(t,e);return et(n,Ft(n,o),r,function rn(e,t){return e.nextSibling(t)}(n,o),!1),r}(t,n),e[qt]=o};class jf{constructor(t){this.queryList=t,this.matches=null}clone(){return new jf(this.queryList)}setDirty(){this.queryList.setDirty()}}class Bf{constructor(t=[]){this.queries=t}createEmbeddedView(t){const n=t.queries;if(null!==n){const r=null!==t.contentQueries?t.contentQueries[0]:n.length,o=[];for(let a=0;a<r;a++){const c=n.getByIndex(a);o.push(this.queries[c.indexInDeclarationView].clone())}return new Bf(o)}return null}insertView(t){this.dirtyQueriesWithMatches(t)}detachView(t){this.dirtyQueriesWithMatches(t)}dirtyQueriesWithMatches(t){for(let n=0;n<this.queries.length;n++)null!==Vy(t,n).matches&&this.queries[n].setDirty()}}class Oy{constructor(t,n,r=null){this.predicate=t,this.flags=n,this.read=r}}class Uf{constructor(t=[]){this.queries=t}elementStart(t,n){for(let r=0;r<this.queries.length;r++)this.queries[r].elementStart(t,n)}elementEnd(t){for(let n=0;n<this.queries.length;n++)this.queries[n].elementEnd(t)}embeddedTView(t){let n=null;for(let r=0;r<this.length;r++){const o=null!==n?n.length:0,a=this.getByIndex(r).embeddedTView(t,o);a&&(a.indexInDeclarationView=r,null!==n?n.push(a):n=[a])}return null!==n?new Uf(n):null}template(t,n){for(let r=0;r<this.queries.length;r++)this.queries[r].template(t,n)}getByIndex(t){return this.queries[t]}get length(){return this.queries.length}track(t){this.queries.push(t)}}class $f{constructor(t,n=-1){this.metadata=t,this.matches=null,this.indexInDeclarationView=-1,this.crossesNgTemplate=!1,this._appliesToNextNode=!0,this._declarationNodeIndex=n}elementStart(t,n){this.isApplyingToNode(n)&&this.matchTNode(t,n)}elementEnd(t){this._declarationNodeIndex===t.index&&(this._appliesToNextNode=!1)}template(t,n){this.elementStart(t,n)}embeddedTView(t,n){return this.isApplyingToNode(t)?(this.crossesNgTemplate=!0,this.addMatch(-t.index,n),new $f(this.metadata)):null}isApplyingToNode(t){if(this._appliesToNextNode&&1!=(1&this.metadata.flags)){const n=this._declarationNodeIndex;let r=t.parent;for(;null!==r&&8&r.type&&r.index!==n;)r=r.parent;return n===(null!==r?r.index:-1)}return this._appliesToNextNode}matchTNode(t,n){const r=this.metadata.predicate;if(Array.isArray(r))for(let o=0;o<r.length;o++){const a=r[o];this.matchTNodeWithReadOption(t,n,mw(n,a)),this.matchTNodeWithReadOption(t,n,js(n,t,a,!1,!1))}else r===Nu?4&n.type&&this.matchTNodeWithReadOption(t,n,-1):this.matchTNodeWithReadOption(t,n,js(n,t,r,!1,!1))}matchTNodeWithReadOption(t,n,r){if(null!==r){const o=this.metadata.read;if(null!==o)if(o===fu||o===hc||o===Nu&&4&n.type)this.addMatch(n.index,-2);else{const a=js(n,t,o,!1,!1);null!==a&&this.addMatch(n.index,a)}else this.addMatch(n.index,r)}}addMatch(t,n){null===this.matches?this.matches=[t,n]:this.matches.push(t,n)}}function mw(e,t){const n=e.localNames;if(null!==n)for(let r=0;r<n.length;r+=2)if(n[r]===t)return n[r+1];return null}function vw(e,t,n,r){return-1===n?function yw(e,t){return 11&e.type?ia(e,t):4&e.type?fc(e,t):null}(t,e):-2===n?function _w(e,t,n){return n===fu?ia(t,e):n===Nu?fc(t,e):n===hc?Iy(t,e):void 0}(e,t,r):gi(e,e[we],n,t)}function Ry(e,t,n,r){const o=t[bn].queries[r];if(null===o.matches){const a=e.data,c=n.matches,f=[];for(let g=0;g<c.length;g+=2){const D=c[g];f.push(D<0?null:vw(t,a[D],c[g+1],n.metadata.read))}o.matches=f}return o.matches}function Gf(e,t,n,r){const o=e.queries.getByIndex(n),a=o.matches;if(null!==a){const c=Ry(e,t,o,n);for(let f=0;f<a.length;f+=2){const g=a[f];if(g>0)r.push(c[f/2]);else{const D=a[f+1],M=t[-g];for(let I=$t;I<M.length;I++){const L=M[I];L[Vr]===L[yt]&&Gf(L[we],L,D,r)}if(null!==M[Ar]){const I=M[Ar];for(let L=0;L<I.length;L++){const B=I[L];Gf(B[we],B,D,r)}}}}}return r}function xy(e){const t=fe(),n=wt(),r=pi();Na(r+1);const o=Vy(n,r);if(e.dirty&&function K(e){return 4==(4&e[Qe])}(t)===(2==(2&o.metadata.flags))){if(null===o.matches)e.reset([]);else{const a=o.crossesNgTemplate?Gf(n,t,r,[]):Ry(n,t,o,r);e.reset(a,Y_),e.notifyOnChanges()}return!0}return!1}function Py(e,t,n,r){const o=wt();if(o.firstCreatePass){const a=kn();(function ky(e,t,n){null===e.queries&&(e.queries=new Uf),e.queries.track(new $f(t,n))})(o,new Oy(t,n,r),a.index),function bw(e,t){const n=e.contentQueries||(e.contentQueries=[]);t!==(n.length?n[n.length-1]:-1)&&n.push(e.queries.length-1,t)}(o,e),2==(2&n)&&(o.staticContentQueries=!0)}!function Ly(e,t,n){const r=new kf(4==(4&n));(function yD(e,t,n,r){const o=tg(t);o.push(n),e.firstCreatePass&&ng(e).push(r,o.length-1)})(e,t,r,r.destroy),null===t[bn]&&(t[bn]=new Bf),t[bn].queries.push(new jf(r))}(o,fe(),n)}function Fy(){return function Cw(e,t){return e[bn].queries[t].queryList}(fe(),pi())}function Vy(e,t){return e.queries.getByIndex(t)}function Hy(e,t){return fc(e,t)}function zf(e){return!!St(e)}const nv=new Lt("Application Initializer");let Kf=(()=>{class e{constructor(){this.initialized=!1,this.done=!1,this.donePromise=new Promise((n,r)=>{this.resolve=n,this.reject=r}),this.appInits=qe(nv,{optional:!0})??[]}runInitializers(){if(this.initialized)return;const n=[];for(const o of this.appInits){const a=o();if(mf(a))n.push(a);else if(Og(a)){const c=new Promise((f,g)=>{a.subscribe({complete:f,error:g})});n.push(c)}}const r=()=>{this.done=!0,this.resolve()};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)},e.\u0275prov=bt({token:e,factory:e.\u0275fac,providedIn:"root"}),e})(),rv=(()=>{class e{log(n){console.log(n)}warn(n){console.warn(n)}}return e.\u0275fac=function(n){return new(n||e)},e.\u0275prov=bt({token:e,factory:e.\u0275fac,providedIn:"platform"}),e})();const gc=new Lt("LocaleId",{providedIn:"root",factory:()=>qe(gc,ve.Optional|ve.SkipSelf)||function $w(){return typeof $localize<"u"&&$localize.locale||ba}()}),Gw=new Lt("DefaultCurrencyCode",{providedIn:"root",factory:()=>"USD"});class zw{constructor(t,n){this.ngModuleFactory=t,this.componentFactories=n}}let Ww=(()=>{class e{compileModuleSync(n){return new Pf(n)}compileModuleAsync(n){return Promise.resolve(this.compileModuleSync(n))}compileModuleAndAllComponentsSync(n){const r=this.compileModuleSync(n),a=Ci(St(n).declarations).reduce((c,f)=>{const g=P(f);return g&&c.push(new yu(g)),c},[]);return new zw(r,a)}compileModuleAndAllComponentsAsync(n){return Promise.resolve(this.compileModuleAndAllComponentsSync(n))}clearCache(){}clearCacheFor(n){}getModuleId(n){}}return e.\u0275fac=function(n){return new(n||e)},e.\u0275prov=bt({token:e,factory:e.\u0275fac,providedIn:"root"}),e})();const qw=(()=>Promise.resolve(0))();function Jf(e){typeof Zone>"u"?qw.then(()=>{e&&e.apply(null,null)}):Zone.current.scheduleMicroTask("scheduleMicrotask",e)}function sv(...e){}class Fr{constructor({enableLongStackTrace:t=!1,shouldCoalesceEventChangeDetection:n=!1,shouldCoalesceRunChangeDetection:r=!1}){if(this.hasPendingMacrotasks=!1,this.hasPendingMicrotasks=!1,this.isStable=!0,this.onUnstable=new si(!1),this.onMicrotaskEmpty=new si(!1),this.onStable=new si(!1),this.onError=new si(!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 Kw(){let e=ft.requestAnimationFrame,t=ft.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 Xw(e){const t=()=>{!function Qw(e){e.isCheckStableRunning||-1!==e.lastRequestAnimationFrameId||(e.lastRequestAnimationFrameId=e.nativeRequestAnimationFrame.call(ft,()=>{e.fakeTopEventTask||(e.fakeTopEventTask=Zone.root.scheduleEventTask("fakeTopEventTask",()=>{e.lastRequestAnimationFrameId=-1,Xf(e),e.isCheckStableRunning=!0,Qf(e),e.isCheckStableRunning=!1},void 0,()=>{},()=>{})),e.fakeTopEventTask.invoke()}),Xf(e))}(e)};e._inner=e._inner.fork({name:"angular",properties:{isAngularZone:!0},onInvokeTask:(n,r,o,a,c,f)=>{try{return av(e),n.invokeTask(o,a,c,f)}finally{(e.shouldCoalesceEventChangeDetection&&"eventTask"===a.type||e.shouldCoalesceRunChangeDetection)&&t(),uv(e)}},onInvoke:(n,r,o,a,c,f,g)=>{try{return av(e),n.invoke(o,a,c,f,g)}finally{e.shouldCoalesceRunChangeDetection&&t(),uv(e)}},onHasTask:(n,r,o,a)=>{n.hasTask(o,a),r===o&&("microTask"==a.change?(e._hasPendingMicrotasks=a.microTask,Xf(e),Qf(e)):"macroTask"==a.change&&(e.hasPendingMacrotasks=a.macroTask))},onHandleError:(n,r,o,a)=>(n.handleError(o,a),e.runOutsideAngular(()=>e.onError.emit(a)),!1)})}(o)}static isInAngularZone(){return typeof Zone<"u"&&!0===Zone.current.get("isAngularZone")}static assertInAngularZone(){if(!Fr.isInAngularZone())throw new Se(909,!1)}static assertNotInAngularZone(){if(Fr.isInAngularZone())throw new Se(909,!1)}run(t,n,r){return this._inner.run(t,n,r)}runTask(t,n,r,o){const a=this._inner,c=a.scheduleEventTask("NgZoneEvent: "+o,t,Jw,sv,sv);try{return a.runTask(c,n,r)}finally{a.cancelTask(c)}}runGuarded(t,n,r){return this._inner.runGuarded(t,n,r)}runOutsideAngular(t){return this._outer.run(t)}}const Jw={};function Qf(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 Xf(e){e.hasPendingMicrotasks=!!(e._hasPendingMicrotasks||(e.shouldCoalesceEventChangeDetection||e.shouldCoalesceRunChangeDetection)&&-1!==e.lastRequestAnimationFrameId)}function av(e){e._nesting++,e.isStable&&(e.isStable=!1,e.onUnstable.emit(null))}function uv(e){e._nesting--,Qf(e)}class eS{constructor(){this.hasPendingMicrotasks=!1,this.hasPendingMacrotasks=!1,this.isStable=!0,this.onUnstable=new si,this.onMicrotaskEmpty=new si,this.onStable=new si,this.onError=new si}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 lv=new Lt("",{providedIn:"root",factory:cv});function cv(){const e=qe(Fr);let t=!0;return function ge(...e){let t=Number.POSITIVE_INFINITY,n=null,r=e[e.length-1];return(0,oe.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 te.y?e[0]:(0,J.J)(t)((0,X.n)(e,n))}(new te.y(o=>{t=e.isStable&&!e.hasPendingMacrotasks&&!e.hasPendingMicrotasks,e.runOutsideAngular(()=>{o.next(t),o.complete()})}),new te.y(o=>{let a;e.runOutsideAngular(()=>{a=e.onStable.subscribe(()=>{Fr.assertNotInAngularZone(),Jf(()=>{!t&&!e.hasPendingMacrotasks&&!e.hasPendingMicrotasks&&(t=!0,o.next(!0))})})});const c=e.onUnstable.subscribe(()=>{Fr.assertInAngularZone(),t&&(t=!1,e.runOutsideAngular(()=>{o.next(!1)}))});return()=>{a.unsubscribe(),c.unsubscribe()}}).pipe(function Z(){return e=>(0,F.x)()(function Y(e,t){return function(r){let o;if(o="function"==typeof e?e:function(){return e},"function"==typeof t)return r.lift(new x(o,t));const a=Object.create(r,ne.N);return a.source=r,a.subjectFactory=o,a}}(H)(e))}()))}const dv=new Lt(""),fv=new Lt("");let eh,tS=(()=>{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,eh||(function nS(e){eh=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:()=>{Fr.assertNotInAngularZone(),Jf(()=>{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())Jf(()=>{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 a=-1;r&&r>0&&(a=setTimeout(()=>{this._callbacks=this._callbacks.filter(c=>c.timeoutId!==a),n(this._didWork,this.getPendingTasks())},r)),this._callbacks.push({doneCb:n,timeoutId:a,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)(ht(Fr),ht(hv),ht(fv))},e.\u0275prov=bt({token:e,factory:e.\u0275fac}),e})(),hv=(()=>{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 eh?.findTestabilityInTree(this,n,r)??null}}return e.\u0275fac=function(n){return new(n||e)},e.\u0275prov=bt({token:e,factory:e.\u0275fac,providedIn:"platform"}),e})(),Yi=null;const pv=new Lt("AllowMultipleToken"),th=new Lt("PlatformDestroyListeners"),nh=new Lt("appBootstrapListener");class iS{constructor(t,n){this.name=t,this.token=n}}function yv(e,t,n=[]){const r=`Platform: ${t}`,o=new Lt(r);return(a=[])=>{let c=rh();if(!c||c.injector.get(pv,!1)){const f=[...n,...a,{provide:o,useValue:!0}];e?e(f):function sS(e){if(Yi&&!Yi.get(pv,!1))throw new Se(400,!1);(function gv(){!function xu(e){Ms=e}(()=>{throw new Se(600,!1)})})(),Yi=e;const t=e.get(_v);(function mv(e){e.get(mp,null)?.forEach(n=>n())})(e)}(function vv(e=[],t){return zi.create({name:t,providers:[{provide:Md,useValue:"platform"},{provide:th,useValue:new Set([()=>Yi=null])},...e]})}(f,r))}return function uS(e){const t=rh();if(!t)throw new Se(401,!1);return t}()}}function rh(){return Yi?.get(_v)??null}let _v=(()=>{class e{constructor(n){this._injector=n,this._modules=[],this._destroyListeners=[],this._destroyed=!1}bootstrapModuleFactory(n,r){const o=function lS(e="zone.js",t){return"noop"===e?new eS:"zone.js"===e?new Fr(t):e}(r?.ngZone,function Dv(e){return{enableLongStackTrace:!1,shouldCoalesceEventChangeDetection:e?.eventCoalescing??!1,shouldCoalesceRunChangeDetection:e?.runCoalescing??!1}}({eventCoalescing:r?.ngZoneEventCoalescing,runCoalescing:r?.ngZoneRunCoalescing}));return o.run(()=>{const a=function RE(e,t,n){return new xf(e,t,n)}(n.moduleType,this.injector,function Sv(e){return[{provide:Fr,useFactory:e},{provide:uu,multi:!0,useFactory:()=>{const t=qe(dS,{optional:!0});return()=>t.initialize()}},{provide:wv,useFactory:cS},{provide:lv,useFactory:cv}]}(()=>o)),c=a.injector.get(sa,null);return o.runOutsideAngular(()=>{const f=o.onError.subscribe({next:g=>{c.handleError(g)}});a.onDestroy(()=>{mc(this._modules,a),f.unsubscribe()})}),function Cv(e,t,n){try{const r=n();return mf(r)?r.catch(o=>{throw t.runOutsideAngular(()=>e.handleError(o)),o}):r}catch(r){throw t.runOutsideAngular(()=>e.handleError(r)),r}}(c,o,()=>{const f=a.injector.get(Kf);return f.runInitializers(),f.donePromise.then(()=>(function Om(e){G(e,"Expected localeId to be defined"),"string"==typeof e&&(Nm=e.toLowerCase().replace(/_/g,"-"))}(a.injector.get(gc,ba)||ba),this._moduleDoBootstrap(a),a))})})}bootstrapModule(n,r=[]){const o=bv({},r);return function rS(e,t,n){const r=new Pf(n);return Promise.resolve(r)}(0,0,n).then(a=>this.bootstrapModuleFactory(a,o))}_moduleDoBootstrap(n){const r=n.injector.get(Ma);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(th,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)(ht(zi))},e.\u0275prov=bt({token:e,factory:e.\u0275fac,providedIn:"platform"}),e})();function bv(e,t){return Array.isArray(t)?t.reduce(bv,e):{...e,...t}}let Ma=(()=>{class e{constructor(){this._bootstrapListeners=[],this._runningTick=!1,this._destroyed=!1,this._destroyListeners=[],this._views=[],this.internalErrorHandler=qe(wv),this.componentTypes=[],this.components=[],this.isStable=qe(lv),this._injector=qe(Cs)}get destroyed(){return this._destroyed}get injector(){return this._injector}bootstrap(n,r){const o=n instanceof Ep;if(!this._injector.get(Kf).done)throw!o&&it(n),new Se(405,!1);let c;c=o?n:this._injector.get(Bl).resolveComponentFactory(n),this.componentTypes.push(c.componentType);const f=function oS(e){return e.isBoundToModule}(c)?void 0:this._injector.get(Ea),D=c.create(zi.NULL,[],r||c.selector,f),M=D.location.nativeElement,I=D.injector.get(dv,null);return I?.registerApplication(M),D.onDestroy(()=>{this.detachView(D.hostView),mc(this.components,D),I?.unregisterApplication(M)}),this._loadComponent(D),D}tick(){if(this._runningTick)throw new Se(101,!1);try{this._runningTick=!0;for(let n of this._views)n.detectChanges()}catch(n){this.internalErrorHandler(n)}finally{this._runningTick=!1}}attachView(n){const r=n;this._views.push(r),r.attachToAppRef(this)}detachView(n){const r=n;mc(this._views,r),r.detachFromAppRef()}_loadComponent(n){this.attachView(n.hostView),this.tick(),this.components.push(n);const r=this._injector.get(nh,[]);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())}finally{this._destroyed=!0,this._views=[],this._bootstrapListeners=[],this._destroyListeners=[]}}onDestroy(n){return this._destroyListeners.push(n),()=>mc(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)},e.\u0275prov=bt({token:e,factory:e.\u0275fac,providedIn:"root"}),e})();function mc(e,t){const n=e.indexOf(t);n>-1&&e.splice(n,1)}const wv=new Lt("",{providedIn:"root",factory:()=>qe(sa).handleError.bind(void 0)});function cS(){const e=qe(Fr),t=qe(sa);return n=>e.runOutsideAngular(()=>t.handleError(n))}let dS=(()=>{class e{constructor(){this.zone=qe(Fr),this.applicationRef=qe(Ma)}initialize(){this._onMicrotaskEmptySubscription||(this._onMicrotaskEmptySubscription=this.zone.onMicrotaskEmpty.subscribe({next:()=>{this.zone.run(()=>{this.applicationRef.tick()})}}))}ngOnDestroy(){this._onMicrotaskEmptySubscription?.unsubscribe()}}return e.\u0275fac=function(n){return new(n||e)},e.\u0275prov=bt({token:e,factory:e.\u0275fac,providedIn:"root"}),e})();function hS(){return!1}function pS(){}let gS=(()=>{class e{}return e.__NG_ELEMENT_ID__=mS,e})();function mS(e){return function yS(e,t,n){if(Nr(e)&&!n){const r=A(e.index,t);return new mu(r,r)}return 47&e.type?new mu(t[tn],t):null}(kn(),fe(),16==(16&e))}class Av{constructor(){}supports(t){return Kl(t)}create(t){return new ES(t)}}const bS=(e,t)=>t;class ES{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||bS}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,a=null;for(;n||r;){const c=!r||n&&n.currentIndex<Ov(r,o,a)?n:r,f=Ov(c,o,a),g=c.currentIndex;if(c===r)o--,r=r._nextRemoved;else if(n=n._next,null==c.previousIndex)o++;else{a||(a=[]);const D=f-o,M=g-o;if(D!=M){for(let L=0;L<D;L++){const B=L<a.length?a[L]:a[L]=0,se=B+L;M<=se&&se<D&&(a[L]=B+1)}a[c.previousIndex]=M-D}}f!==g&&t(c,f,g)}}forEachPreviousItem(t){let n;for(n=this._previousItHead;null!==n;n=n._nextPrevious)t(n)}forEachAddedItem(t){let n;for(n=this._additionsHead;null!==n;n=n._nextAdded)t(n)}forEachMovedItem(t){let n;for(n=this._movesHead;null!==n;n=n._nextMoved)t(n)}forEachRemovedItem(t){let n;for(n=this._removalsHead;null!==n;n=n._nextRemoved)t(n)}forEachIdentityChange(t){let n;for(n=this._identityChangesHead;null!==n;n=n._nextIdentityChange)t(n)}diff(t){if(null==t&&(t=[]),!Kl(t))throw new Se(900,!1);return this.check(t)?this:null}onDestroy(){}check(t){this._reset();let o,a,c,n=this._itHead,r=!1;if(Array.isArray(t)){this.length=t.length;for(let f=0;f<this.length;f++)a=t[f],c=this._trackByFn(f,a),null!==n&&Object.is(n.trackById,c)?(r&&(n=this._verifyReinsertion(n,a,c,f)),Object.is(n.item,a)||this._addIdentityChange(n,a)):(n=this._mismatch(n,a,c,f),r=!0),n=n._next}else o=0,function hC(e,t){if(Array.isArray(e))for(let n=0;n<e.length;n++)t(e[n]);else{const n=e[Symbol.iterator]();let r;for(;!(r=n.next()).done;)t(r.value)}}(t,f=>{c=this._trackByFn(o,f),null!==n&&Object.is(n.trackById,c)?(r&&(n=this._verifyReinsertion(n,f,c,o)),Object.is(n.item,f)||this._addIdentityChange(n,f)):(n=this._mismatch(n,f,c,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 a;return null===t?a=this._itTail:(a=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,a,o)):null!==(t=null===this._linkedRecords?null:this._linkedRecords.get(r,o))?(Object.is(t.item,n)||this._addIdentityChange(t,n),this._moveAfter(t,a,o)):t=this._addAfter(new wS(n,r),a,o),t}_verifyReinsertion(t,n,r,o){let a=null===this._unlinkedRecords?null:this._unlinkedRecords.get(r,null);return null!==a?t=this._reinsertAfter(a,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,a=t._nextRemoved;return null===o?this._removalsHead=a:o._nextRemoved=a,null===a?this._removalsTail=o:a._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 Nv),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 Nv),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 wS{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 SS{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 Nv{constructor(){this.map=new Map}put(t){const n=t.trackById;let r=this.map.get(n);r||(r=new SS,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 Ov(e,t,n){const r=e.previousIndex;if(null===r)return r;let o=0;return n&&r<n.length&&(o=n[r]),r+t+o}class Rv{constructor(){}supports(t){return t instanceof Map||rf(t)}create(){return new MS}}class MS{constructor(){this._records=new Map,this._mapHead=null,this._appendAfter=null,this._previousMapHead=null,this._changesHead=null,this._changesTail=null,this._additionsHead=null,this._additionsTail=null,this._removalsHead=null,this._removalsTail=null}get isDirty(){return null!==this._additionsHead||null!==this._changesHead||null!==this._removalsHead}forEachItem(t){let n;for(n=this._mapHead;null!==n;n=n._next)t(n)}forEachPreviousItem(t){let n;for(n=this._previousMapHead;null!==n;n=n._nextPrevious)t(n)}forEachChangedItem(t){let n;for(n=this._changesHead;null!==n;n=n._nextChanged)t(n)}forEachAddedItem(t){let n;for(n=this._additionsHead;null!==n;n=n._nextAdded)t(n)}forEachRemovedItem(t){let n;for(n=this._removalsHead;null!==n;n=n._nextRemoved)t(n)}diff(t){if(t){if(!(t instanceof Map||rf(t)))throw new Se(900,!1)}else t=new Map;return this.check(t)?this:null}onDestroy(){}check(t){this._reset();let n=this._mapHead;if(this._appendAfter=null,this._forEach(t,(r,o)=>{if(n&&n.key===o)this._maybeAddToChanges(n,r),this._appendAfter=n,n=n._next;else{const a=this._getOrCreateRecordForKey(o,r);n=this._insertBeforeOrAppend(n,a)}}),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 a=o._prev,c=o._next;return a&&(a._next=c),c&&(c._prev=a),o._next=null,o._prev=null,o}const r=new TS(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 TS{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 xv(){return new uh([new Av])}let uh=(()=>{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||xv()),deps:[[e,new Gs,new $s]]}}find(n){const r=this.factories.find(o=>o.supports(n));if(null!=r)return r;throw new Se(901,!1)}}return e.\u0275prov=bt({token:e,providedIn:"root",factory:xv}),e})();function Pv(){return new lh([new Rv])}let lh=(()=>{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||Pv()),deps:[[e,new Gs,new $s]]}}find(n){const r=this.factories.find(o=>o.supports(n));if(r)return r;throw new Se(901,!1)}}return e.\u0275prov=bt({token:e,providedIn:"root",factory:Pv}),e})();const NS=yv(null,"core",[]);let OS=(()=>{class e{constructor(n){}}return e.\u0275fac=function(n){return new(n||e)(ht(Ma))},e.\u0275mod=wr({type:e}),e.\u0275inj=In({}),e})(),jv=(()=>{class e{get whenAllTasksComplete(){return 0===this.collection.size&&this.complete(),this.promise}constructor(){this.taskId=0,this.collection=new Set,this.ngZone=qe(Fr),this.completed=!1,this.ngZone.runOutsideAngular(()=>{this.promise=new Promise(n=>{this.resolve=n})})}add(){if(this.completed)return-1;const n=this.taskId++;return this.collection.add(n),n}remove(n){this.completed||(this.collection.delete(n),0===this.collection.size&&this.complete())}ngOnDestroy(){this.complete(),this.collection.clear()}complete(){this.completed=!0,this.resolve()}}return e.\u0275fac=function(n){return new(n||e)},e.\u0275prov=bt({token:e,factory:e.\u0275fac,providedIn:"root"}),e})();function jS(e){return"boolean"==typeof e?e:null!=e&&"false"!==e}function US(e){const t=P(e);if(!t)return null;const n=new yu(t);return{get selector(){return n.selector},get type(){return n.componentType},get inputs(){return n.inputs},get outputs(){return n.outputs},get ngContentSelectors(){return n.ngContentSelectors},get isStandalone(){return t.standalone}}}},1199:(Le,ie,T)=>{"use strict";T.d(ie,{Fj:()=>Ie,oH:()=>yt,u:()=>Tr,sg:()=>sr,u5:()=>j,JJ:()=>Zr,JL:()=>Pn,UX:()=>le,vC:()=>Zo,QS:()=>ci,nJ:()=>Bt,kI:()=>kt,_Y:()=>Ee});var s=T(666),V=T(4755),te=T(5254),oe=T(6498),J=T(6688),X=T(4850),ge=T(7830);function Y(v,y){return new oe.y(m=>{const w=v.length;if(0===w)return void m.complete();const k=new Array(w);let be=0,Xe=0;for(let st=0;st<w;st++){const Sn=(0,te.D)(v[st]);let xt=!1;m.add(Sn.subscribe({next:Vt=>{xt||(xt=!0,Xe++),k[st]=Vt},error:Vt=>m.error(Vt),complete:()=>{be++,(be===w||!xt)&&(Xe===w&&m.next(y?y.reduce((Vt,qn,Kn)=>(Vt[qn]=k[Kn],Vt),{}):k),m.complete())}}))}})}let x=(()=>{class v{constructor(m,w){this._renderer=m,this._elementRef=w,this.onChange=k=>{},this.onTouched=()=>{}}setProperty(m,w){this._renderer.setProperty(this._elementRef.nativeElement,m,w)}registerOnTouched(m){this.onTouched=m}registerOnChange(m){this.onChange=m}setDisabledState(m){this.setProperty("disabled",m)}}return v.\u0275fac=function(m){return new(m||v)(s.Y36(s.Qsj),s.Y36(s.SBq))},v.\u0275dir=s.lG2({type:v}),v})(),F=(()=>{class v extends x{}return v.\u0275fac=function(){let y;return function(w){return(y||(y=s.n5z(v)))(w||v)}}(),v.\u0275dir=s.lG2({type:v,features:[s.qOj]}),v})();const H=new s.OlP("NgValueAccessor"),he={provide:H,useExisting:(0,s.Gpc)(()=>Ie),multi:!0},ye=new s.OlP("CompositionEventMode");let Ie=(()=>{class v extends x{constructor(m,w,k){super(m,w),this._compositionMode=k,this._composing=!1,null==this._compositionMode&&(this._compositionMode=!function ee(){const v=(0,V.q)()?(0,V.q)().getUserAgent():"";return/android (\d+)/.test(v.toLowerCase())}())}writeValue(m){this.setProperty("value",m??"")}_handleInput(m){(!this._compositionMode||this._compositionMode&&!this._composing)&&this.onChange(m)}_compositionStart(){this._composing=!0}_compositionEnd(m){this._composing=!1,this._compositionMode&&this.onChange(m)}}return v.\u0275fac=function(m){return new(m||v)(s.Y36(s.Qsj),s.Y36(s.SBq),s.Y36(ye,8))},v.\u0275dir=s.lG2({type:v,selectors:[["input","formControlName","",3,"type","checkbox"],["textarea","formControlName",""],["input","formControl","",3,"type","checkbox"],["textarea","formControl",""],["input","ngModel","",3,"type","checkbox"],["textarea","ngModel",""],["","ngDefaultControl",""]],hostBindings:function(m,w){1&m&&s.NdJ("input",function(be){return w._handleInput(be.target.value)})("blur",function(){return w.onTouched()})("compositionstart",function(){return w._compositionStart()})("compositionend",function(be){return w._compositionEnd(be.target.value)})},features:[s._Bn([he]),s.qOj]}),v})();function Me(v){return null==v||("string"==typeof v||Array.isArray(v))&&0===v.length}function ce(v){return null!=v&&"number"==typeof v.length}const Be=new s.OlP("NgValidators"),Ne=new s.OlP("NgAsyncValidators"),je=/^(?=.{1,254}$)(?=.{1,64}@)[a-zA-Z0-9!#$%&'*+/=?^_`{|}~-]+(?:\.[a-zA-Z0-9!#$%&'*+/=?^_`{|}~-]+)*@[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?(?:\.[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?)*$/;class kt{static min(y){return function Se(v){return y=>{if(Me(y.value)||Me(v))return null;const m=parseFloat(y.value);return!isNaN(m)&&m<v?{min:{min:v,actual:y.value}}:null}}(y)}static max(y){return function Ae(v){return y=>{if(Me(y.value)||Me(v))return null;const m=parseFloat(y.value);return!isNaN(m)&&m>v?{max:{max:v,actual:y.value}}:null}}(y)}static required(y){return function Q(v){return Me(v.value)?{required:!0}:null}(y)}static requiredTrue(y){return function re(v){return!0===v.value?null:{required:!0}}(y)}static email(y){return function _e(v){return Me(v.value)||je.test(v.value)?null:{email:!0}}(y)}static minLength(y){return function de(v){return y=>Me(y.value)||!ce(y.value)?null:y.value.length<v?{minlength:{requiredLength:v,actualLength:y.value.length}}:null}(y)}static maxLength(y){return function me(v){return y=>ce(y.value)&&y.value.length>v?{maxlength:{requiredLength:v,actualLength:y.value.length}}:null}(y)}static pattern(y){return function Ve(v){if(!v)return He;let y,m;return"string"==typeof v?(m="","^"!==v.charAt(0)&&(m+="^"),m+=v,"$"!==v.charAt(v.length-1)&&(m+="$"),y=new RegExp(m)):(m=v.toString(),y=v),w=>{if(Me(w.value))return null;const k=w.value;return y.test(k)?null:{pattern:{requiredPattern:m,actualValue:k}}}}(y)}static nullValidator(y){return null}static compose(y){return Ue(y)}static composeAsync(y){return tt(y)}}function He(v){return null}function _t(v){return null!=v}function ot(v){return(0,s.QGY)(v)?(0,te.D)(v):v}function gt(v){let y={};return v.forEach(m=>{y=null!=m?{...y,...m}:y}),0===Object.keys(y).length?null:y}function Tt(v,y){return y.map(m=>m(v))}function Cn(v){return v.map(y=>function zt(v){return!v.validate}(y)?y:m=>y.validate(m))}function Ue(v){if(!v)return null;const y=v.filter(_t);return 0==y.length?null:function(m){return gt(Tt(m,y))}}function $e(v){return null!=v?Ue(Cn(v)):null}function tt(v){if(!v)return null;const y=v.filter(_t);return 0==y.length?null:function(m){return function ne(...v){if(1===v.length){const y=v[0];if((0,J.k)(y))return Y(y,null);if((0,ge.K)(y)&&Object.getPrototypeOf(y)===Object.prototype){const m=Object.keys(y);return Y(m.map(w=>y[w]),m)}}if("function"==typeof v[v.length-1]){const y=v.pop();return Y(v=1===v.length&&(0,J.k)(v[0])?v[0]:v,null).pipe((0,X.U)(m=>y(...m)))}return Y(v,null)}(Tt(m,y).map(ot)).pipe((0,X.U)(gt))}}function lt(v){return null!=v?tt(Cn(v)):null}function xn(v,y){return null===v?[y]:Array.isArray(v)?[...v,y]:[v,y]}function ue(v){return v._rawValidators}function G(v){return v._rawAsyncValidators}function U(v){return v?Array.isArray(v)?v:[v]:[]}function W(v,y){return Array.isArray(v)?v.includes(y):v===y}function xe(v,y){const m=U(y);return U(v).forEach(k=>{W(m,k)||m.push(k)}),m}function Wt(v,y){return U(y).filter(m=>!W(v,m))}class bt{constructor(){this._rawValidators=[],this._rawAsyncValidators=[],this._onDestroyCallbacks=[]}get value(){return this.control?this.control.value:null}get valid(){return this.control?this.control.valid:null}get invalid(){return this.control?this.control.invalid:null}get pending(){return this.control?this.control.pending:null}get disabled(){return this.control?this.control.disabled:null}get enabled(){return this.control?this.control.enabled:null}get errors(){return this.control?this.control.errors:null}get pristine(){return this.control?this.control.pristine:null}get dirty(){return this.control?this.control.dirty:null}get touched(){return this.control?this.control.touched:null}get status(){return this.control?this.control.status:null}get untouched(){return this.control?this.control.untouched:null}get statusChanges(){return this.control?this.control.statusChanges:null}get valueChanges(){return this.control?this.control.valueChanges:null}get path(){return null}_setValidators(y){this._rawValidators=y||[],this._composedValidatorFn=$e(this._rawValidators)}_setAsyncValidators(y){this._rawAsyncValidators=y||[],this._composedAsyncValidatorFn=lt(this._rawAsyncValidators)}get validator(){return this._composedValidatorFn||null}get asyncValidator(){return this._composedAsyncValidatorFn||null}_registerOnDestroy(y){this._onDestroyCallbacks.push(y)}_invokeOnDestroyCallbacks(){this._onDestroyCallbacks.forEach(y=>y()),this._onDestroyCallbacks=[]}reset(y=void 0){this.control&&this.control.reset(y)}hasError(y,m){return!!this.control&&this.control.hasError(y,m)}getError(y,m){return this.control?this.control.getError(y,m):null}}class an extends bt{get formDirective(){return null}get path(){return null}}class In extends bt{constructor(){super(...arguments),this._parent=null,this.name=null,this.valueAccessor=null}}class on{constructor(y){this._cd=y}get isTouched(){return!!this._cd?.control?.touched}get isUntouched(){return!!this._cd?.control?.untouched}get isPristine(){return!!this._cd?.control?.pristine}get isDirty(){return!!this._cd?.control?.dirty}get isValid(){return!!this._cd?.control?.valid}get isInvalid(){return!!this._cd?.control?.invalid}get isPending(){return!!this._cd?.control?.pending}get isSubmitted(){return!!this._cd?.submitted}}let Zr=(()=>{class v extends on{constructor(m){super(m)}}return v.\u0275fac=function(m){return new(m||v)(s.Y36(In,2))},v.\u0275dir=s.lG2({type:v,selectors:[["","formControlName",""],["","ngModel",""],["","formControl",""]],hostVars:14,hostBindings:function(m,w){2&m&&s.ekj("ng-untouched",w.isUntouched)("ng-touched",w.isTouched)("ng-pristine",w.isPristine)("ng-dirty",w.isDirty)("ng-valid",w.isValid)("ng-invalid",w.isInvalid)("ng-pending",w.isPending)},features:[s.qOj]}),v})(),Pn=(()=>{class v extends on{constructor(m){super(m)}}return v.\u0275fac=function(m){return new(m||v)(s.Y36(an,10))},v.\u0275dir=s.lG2({type:v,selectors:[["","formGroupName",""],["","formArrayName",""],["","ngModelGroup",""],["","formGroup",""],["form",3,"ngNoForm",""],["","ngForm",""]],hostVars:16,hostBindings:function(m,w){2&m&&s.ekj("ng-untouched",w.isUntouched)("ng-touched",w.isTouched)("ng-pristine",w.isPristine)("ng-dirty",w.isDirty)("ng-valid",w.isValid)("ng-invalid",w.isInvalid)("ng-pending",w.isPending)("ng-submitted",w.isSubmitted)},features:[s.qOj]}),v})();const Dr="VALID",Cr="INVALID",br="PENDING",dr="DISABLED";function Bn(v){return(ht(v)?v.validators:v)||null}function An(v,y){return(ht(y)?y.asyncValidators:v)||null}function ht(v){return null!=v&&!Array.isArray(v)&&"object"==typeof v}function gn(v,y,m){const w=v.controls;if(!(y?Object.keys(w):w).length)throw new s.vHH(1e3,"");if(!w[m])throw new s.vHH(1001,"")}function qe(v,y,m){v._forEachChild((w,k)=>{if(void 0===m[k])throw new s.vHH(1002,"")})}class sn{constructor(y,m){this._pendingDirty=!1,this._hasOwnPendingAsyncValidator=!1,this._pendingTouched=!1,this._onCollectionChange=()=>{},this._parent=null,this.pristine=!0,this.touched=!1,this._onDisabledChange=[],this._assignValidators(y),this._assignAsyncValidators(m)}get validator(){return this._composedValidatorFn}set validator(y){this._rawValidators=this._composedValidatorFn=y}get asyncValidator(){return this._composedAsyncValidatorFn}set asyncValidator(y){this._rawAsyncValidators=this._composedAsyncValidatorFn=y}get parent(){return this._parent}get valid(){return this.status===Dr}get invalid(){return this.status===Cr}get pending(){return this.status==br}get disabled(){return this.status===dr}get enabled(){return this.status!==dr}get dirty(){return!this.pristine}get untouched(){return!this.touched}get updateOn(){return this._updateOn?this._updateOn:this.parent?this.parent.updateOn:"change"}setValidators(y){this._assignValidators(y)}setAsyncValidators(y){this._assignAsyncValidators(y)}addValidators(y){this.setValidators(xe(y,this._rawValidators))}addAsyncValidators(y){this.setAsyncValidators(xe(y,this._rawAsyncValidators))}removeValidators(y){this.setValidators(Wt(y,this._rawValidators))}removeAsyncValidators(y){this.setAsyncValidators(Wt(y,this._rawAsyncValidators))}hasValidator(y){return W(this._rawValidators,y)}hasAsyncValidator(y){return W(this._rawAsyncValidators,y)}clearValidators(){this.validator=null}clearAsyncValidators(){this.asyncValidator=null}markAsTouched(y={}){this.touched=!0,this._parent&&!y.onlySelf&&this._parent.markAsTouched(y)}markAllAsTouched(){this.markAsTouched({onlySelf:!0}),this._forEachChild(y=>y.markAllAsTouched())}markAsUntouched(y={}){this.touched=!1,this._pendingTouched=!1,this._forEachChild(m=>{m.markAsUntouched({onlySelf:!0})}),this._parent&&!y.onlySelf&&this._parent._updateTouched(y)}markAsDirty(y={}){this.pristine=!1,this._parent&&!y.onlySelf&&this._parent.markAsDirty(y)}markAsPristine(y={}){this.pristine=!0,this._pendingDirty=!1,this._forEachChild(m=>{m.markAsPristine({onlySelf:!0})}),this._parent&&!y.onlySelf&&this._parent._updatePristine(y)}markAsPending(y={}){this.status=br,!1!==y.emitEvent&&this.statusChanges.emit(this.status),this._parent&&!y.onlySelf&&this._parent.markAsPending(y)}disable(y={}){const m=this._parentMarkedDirty(y.onlySelf);this.status=dr,this.errors=null,this._forEachChild(w=>{w.disable({...y,onlySelf:!0})}),this._updateValue(),!1!==y.emitEvent&&(this.valueChanges.emit(this.value),this.statusChanges.emit(this.status)),this._updateAncestors({...y,skipPristineCheck:m}),this._onDisabledChange.forEach(w=>w(!0))}enable(y={}){const m=this._parentMarkedDirty(y.onlySelf);this.status=Dr,this._forEachChild(w=>{w.enable({...y,onlySelf:!0})}),this.updateValueAndValidity({onlySelf:!0,emitEvent:y.emitEvent}),this._updateAncestors({...y,skipPristineCheck:m}),this._onDisabledChange.forEach(w=>w(!1))}_updateAncestors(y){this._parent&&!y.onlySelf&&(this._parent.updateValueAndValidity(y),y.skipPristineCheck||this._parent._updatePristine(),this._parent._updateTouched())}setParent(y){this._parent=y}getRawValue(){return this.value}updateValueAndValidity(y={}){this._setInitialStatus(),this._updateValue(),this.enabled&&(this._cancelExistingSubscription(),this.errors=this._runValidator(),this.status=this._calculateStatus(),(this.status===Dr||this.status===br)&&this._runAsyncValidator(y.emitEvent)),!1!==y.emitEvent&&(this.valueChanges.emit(this.value),this.statusChanges.emit(this.status)),this._parent&&!y.onlySelf&&this._parent.updateValueAndValidity(y)}_updateTreeValidity(y={emitEvent:!0}){this._forEachChild(m=>m._updateTreeValidity(y)),this.updateValueAndValidity({onlySelf:!0,emitEvent:y.emitEvent})}_setInitialStatus(){this.status=this._allControlsDisabled()?dr:Dr}_runValidator(){return this.validator?this.validator(this):null}_runAsyncValidator(y){if(this.asyncValidator){this.status=br,this._hasOwnPendingAsyncValidator=!0;const m=ot(this.asyncValidator(this));this._asyncValidationSubscription=m.subscribe(w=>{this._hasOwnPendingAsyncValidator=!1,this.setErrors(w,{emitEvent:y})})}}_cancelExistingSubscription(){this._asyncValidationSubscription&&(this._asyncValidationSubscription.unsubscribe(),this._hasOwnPendingAsyncValidator=!1)}setErrors(y,m={}){this.errors=y,this._updateControlsErrors(!1!==m.emitEvent)}get(y){let m=y;return null==m||(Array.isArray(m)||(m=m.split(".")),0===m.length)?null:m.reduce((w,k)=>w&&w._find(k),this)}getError(y,m){const w=m?this.get(m):this;return w&&w.errors?w.errors[y]:null}hasError(y,m){return!!this.getError(y,m)}get root(){let y=this;for(;y._parent;)y=y._parent;return y}_updateControlsErrors(y){this.status=this._calculateStatus(),y&&this.statusChanges.emit(this.status),this._parent&&this._parent._updateControlsErrors(y)}_initObservables(){this.valueChanges=new s.vpe,this.statusChanges=new s.vpe}_calculateStatus(){return this._allControlsDisabled()?dr:this.errors?Cr:this._hasOwnPendingAsyncValidator||this._anyControlsHaveStatus(br)?br:this._anyControlsHaveStatus(Cr)?Cr:Dr}_anyControlsHaveStatus(y){return this._anyControls(m=>m.status===y)}_anyControlsDirty(){return this._anyControls(y=>y.dirty)}_anyControlsTouched(){return this._anyControls(y=>y.touched)}_updatePristine(y={}){this.pristine=!this._anyControlsDirty(),this._parent&&!y.onlySelf&&this._parent._updatePristine(y)}_updateTouched(y={}){this.touched=this._anyControlsTouched(),this._parent&&!y.onlySelf&&this._parent._updateTouched(y)}_registerOnCollectionChange(y){this._onCollectionChange=y}_setUpdateStrategy(y){ht(y)&&null!=y.updateOn&&(this._updateOn=y.updateOn)}_parentMarkedDirty(y){return!y&&!(!this._parent||!this._parent.dirty)&&!this._parent._anyControlsDirty()}_find(y){return null}_assignValidators(y){this._rawValidators=Array.isArray(y)?y.slice():y,this._composedValidatorFn=function oo(v){return Array.isArray(v)?$e(v):v||null}(this._rawValidators)}_assignAsyncValidators(y){this._rawAsyncValidators=Array.isArray(y)?y.slice():y,this._composedAsyncValidatorFn=function Go(v){return Array.isArray(v)?lt(v):v||null}(this._rawAsyncValidators)}}class er extends sn{constructor(y,m,w){super(Bn(m),An(w,m)),this.controls=y,this._initObservables(),this._setUpdateStrategy(m),this._setUpControls(),this.updateValueAndValidity({onlySelf:!0,emitEvent:!!this.asyncValidator})}registerControl(y,m){return this.controls[y]?this.controls[y]:(this.controls[y]=m,m.setParent(this),m._registerOnCollectionChange(this._onCollectionChange),m)}addControl(y,m,w={}){this.registerControl(y,m),this.updateValueAndValidity({emitEvent:w.emitEvent}),this._onCollectionChange()}removeControl(y,m={}){this.controls[y]&&this.controls[y]._registerOnCollectionChange(()=>{}),delete this.controls[y],this.updateValueAndValidity({emitEvent:m.emitEvent}),this._onCollectionChange()}setControl(y,m,w={}){this.controls[y]&&this.controls[y]._registerOnCollectionChange(()=>{}),delete this.controls[y],m&&this.registerControl(y,m),this.updateValueAndValidity({emitEvent:w.emitEvent}),this._onCollectionChange()}contains(y){return this.controls.hasOwnProperty(y)&&this.controls[y].enabled}setValue(y,m={}){qe(this,0,y),Object.keys(y).forEach(w=>{gn(this,!0,w),this.controls[w].setValue(y[w],{onlySelf:!0,emitEvent:m.emitEvent})}),this.updateValueAndValidity(m)}patchValue(y,m={}){null!=y&&(Object.keys(y).forEach(w=>{const k=this.controls[w];k&&k.patchValue(y[w],{onlySelf:!0,emitEvent:m.emitEvent})}),this.updateValueAndValidity(m))}reset(y={},m={}){this._forEachChild((w,k)=>{w.reset(y[k],{onlySelf:!0,emitEvent:m.emitEvent})}),this._updatePristine(m),this._updateTouched(m),this.updateValueAndValidity(m)}getRawValue(){return this._reduceChildren({},(y,m,w)=>(y[w]=m.getRawValue(),y))}_syncPendingControls(){let y=this._reduceChildren(!1,(m,w)=>!!w._syncPendingControls()||m);return y&&this.updateValueAndValidity({onlySelf:!0}),y}_forEachChild(y){Object.keys(this.controls).forEach(m=>{const w=this.controls[m];w&&y(w,m)})}_setUpControls(){this._forEachChild(y=>{y.setParent(this),y._registerOnCollectionChange(this._onCollectionChange)})}_updateValue(){this.value=this._reduceValue()}_anyControls(y){for(const[m,w]of Object.entries(this.controls))if(this.contains(m)&&y(w))return!0;return!1}_reduceValue(){return this._reduceChildren({},(m,w,k)=>((w.enabled||this.disabled)&&(m[k]=w.value),m))}_reduceChildren(y,m){let w=y;return this._forEachChild((k,be)=>{w=m(w,k,be)}),w}_allControlsDisabled(){for(const y of Object.keys(this.controls))if(this.controls[y].enabled)return!1;return Object.keys(this.controls).length>0||this.disabled}_find(y){return this.controls.hasOwnProperty(y)?this.controls[y]:null}}const Bt=er;class mn extends er{}const Zt=new s.OlP("CallSetDisabledState",{providedIn:"root",factory:()=>Qt}),Qt="always";function Ot(v,y,m=Qt){Lr(v,y),y.valueAccessor.writeValue(v.value),(v.disabled||"always"===m)&&y.valueAccessor.setDisabledState?.(v.disabled),function $n(v,y){y.valueAccessor.registerOnChange(m=>{v._pendingValue=m,v._pendingChange=!0,v._pendingDirty=!0,"change"===v.updateOn&&Oe(v,y)})}(v,y),function Dt(v,y){const m=(w,k)=>{y.valueAccessor.writeValue(w),k&&y.viewToModelUpdate(w)};v.registerOnChange(m),y._registerOnDestroy(()=>{v._unregisterOnChange(m)})}(v,y),function tr(v,y){y.valueAccessor.registerOnTouched(()=>{v._pendingTouched=!0,"blur"===v.updateOn&&v._pendingChange&&Oe(v,y),"submit"!==v.updateOn&&v.markAsTouched()})}(v,y),function pr(v,y){if(y.valueAccessor.setDisabledState){const m=w=>{y.valueAccessor.setDisabledState(w)};v.registerOnDisabledChange(m),y._registerOnDestroy(()=>{v._unregisterOnDisabledChange(m)})}}(v,y)}function nt(v,y,m=!0){const w=()=>{};y.valueAccessor&&(y.valueAccessor.registerOnChange(w),y.valueAccessor.registerOnTouched(w)),Un(v,y),v&&(y._invokeOnDestroyCallbacks(),v._registerOnCollectionChange(()=>{}))}function hr(v,y){v.forEach(m=>{m.registerOnValidatorChange&&m.registerOnValidatorChange(y)})}function Lr(v,y){const m=ue(v);null!==y.validator?v.setValidators(xn(m,y.validator)):"function"==typeof m&&v.setValidators([m]);const w=G(v);null!==y.asyncValidator?v.setAsyncValidators(xn(w,y.asyncValidator)):"function"==typeof w&&v.setAsyncValidators([w]);const k=()=>v.updateValueAndValidity();hr(y._rawValidators,k),hr(y._rawAsyncValidators,k)}function Un(v,y){let m=!1;if(null!==v){if(null!==y.validator){const k=ue(v);if(Array.isArray(k)&&k.length>0){const be=k.filter(Xe=>Xe!==y.validator);be.length!==k.length&&(m=!0,v.setValidators(be))}}if(null!==y.asyncValidator){const k=G(v);if(Array.isArray(k)&&k.length>0){const be=k.filter(Xe=>Xe!==y.asyncValidator);be.length!==k.length&&(m=!0,v.setAsyncValidators(be))}}}const w=()=>{};return hr(y._rawValidators,w),hr(y._rawAsyncValidators,w),m}function Oe(v,y){v._pendingDirty&&v.markAsDirty(),v.setValue(v._pendingValue,{emitModelToViewChange:!1}),y.viewToModelUpdate(v._pendingValue),v._pendingChange=!1}function Er(v,y){if(!v.hasOwnProperty("model"))return!1;const m=v.model;return!!m.isFirstChange()||!Object.is(y,m.currentValue)}function Xt(v,y){if(!y)return null;let m,w,k;return Array.isArray(y),y.forEach(be=>{be.constructor===Ie?m=be:function On(v){return Object.getPrototypeOf(v.constructor)===F}(be)?w=be:k=be}),k||w||m||null}function yo(v,y){const m=v.indexOf(y);m>-1&&v.splice(m,1)}function vo(v){return"object"==typeof v&&null!==v&&2===Object.keys(v).length&&"value"in v&&"disabled"in v}const ct=class extends sn{constructor(y=null,m,w){super(Bn(m),An(w,m)),this.defaultValue=null,this._onChange=[],this._pendingChange=!1,this._applyFormState(y),this._setUpdateStrategy(m),this._initObservables(),this.updateValueAndValidity({onlySelf:!0,emitEvent:!!this.asyncValidator}),ht(m)&&(m.nonNullable||m.initialValueIsDefault)&&(this.defaultValue=vo(y)?y.value:y)}setValue(y,m={}){this.value=this._pendingValue=y,this._onChange.length&&!1!==m.emitModelToViewChange&&this._onChange.forEach(w=>w(this.value,!1!==m.emitViewToModelChange)),this.updateValueAndValidity(m)}patchValue(y,m={}){this.setValue(y,m)}reset(y=this.defaultValue,m={}){this._applyFormState(y),this.markAsPristine(m),this.markAsUntouched(m),this.setValue(this.value,m),this._pendingChange=!1}_updateValue(){}_anyControls(y){return!1}_allControlsDisabled(){return this.disabled}registerOnChange(y){this._onChange.push(y)}_unregisterOnChange(y){yo(this._onChange,y)}registerOnDisabledChange(y){this._onDisabledChange.push(y)}_unregisterOnDisabledChange(y){yo(this._onDisabledChange,y)}_forEachChild(y){}_syncPendingControls(){return!("submit"!==this.updateOn||(this._pendingDirty&&this.markAsDirty(),this._pendingTouched&&this.markAsTouched(),!this._pendingChange)||(this.setValue(this._pendingValue,{onlySelf:!0,emitModelToViewChange:!1}),0))}_applyFormState(y){vo(y)?(this.value=this._pendingValue=y.value,y.disabled?this.disable({onlySelf:!0,emitEvent:!1}):this.enable({onlySelf:!0,emitEvent:!1})):this.value=this._pendingValue=y}};let Ee=(()=>{class v{}return v.\u0275fac=function(m){return new(m||v)},v.\u0275dir=s.lG2({type:v,selectors:[["form",3,"ngNoForm","",3,"ngNativeValidate",""]],hostAttrs:["novalidate",""]}),v})(),ir=(()=>{class v{}return v.\u0275fac=function(m){return new(m||v)},v.\u0275mod=s.oAB({type:v}),v.\u0275inj=s.cJS({}),v})();const we=new s.OlP("NgModelWithFormControlWarning"),Qe={provide:In,useExisting:(0,s.Gpc)(()=>yt)};let yt=(()=>{class v extends In{set isDisabled(m){}constructor(m,w,k,be,Xe){super(),this._ngModelWarningConfig=be,this.callSetDisabledState=Xe,this.update=new s.vpe,this._ngModelWarningSent=!1,this._setValidators(m),this._setAsyncValidators(w),this.valueAccessor=Xt(0,k)}ngOnChanges(m){if(this._isControlChanged(m)){const w=m.form.previousValue;w&&nt(w,this,!1),Ot(this.form,this,this.callSetDisabledState),this.form.updateValueAndValidity({emitEvent:!1})}Er(m,this.viewModel)&&(this.form.setValue(this.model),this.viewModel=this.model)}ngOnDestroy(){this.form&&nt(this.form,this,!1)}get path(){return[]}get control(){return this.form}viewToModelUpdate(m){this.viewModel=m,this.update.emit(m)}_isControlChanged(m){return m.hasOwnProperty("form")}}return v._ngModelWarningSentOnce=!1,v.\u0275fac=function(m){return new(m||v)(s.Y36(Be,10),s.Y36(Ne,10),s.Y36(H,10),s.Y36(we,8),s.Y36(Zt,8))},v.\u0275dir=s.lG2({type:v,selectors:[["","formControl",""]],inputs:{form:["formControl","form"],isDisabled:["disabled","isDisabled"],model:["ngModel","model"]},outputs:{update:"ngModelChange"},exportAs:["ngForm"],features:[s._Bn([Qe]),s.qOj,s.TTD]}),v})();const zn={provide:an,useExisting:(0,s.Gpc)(()=>sr)};let sr=(()=>{class v extends an{constructor(m,w,k){super(),this.callSetDisabledState=k,this.submitted=!1,this._onCollectionChange=()=>this._updateDomValue(),this.directives=[],this.form=null,this.ngSubmit=new s.vpe,this._setValidators(m),this._setAsyncValidators(w)}ngOnChanges(m){this._checkFormPresent(),m.hasOwnProperty("form")&&(this._updateValidators(),this._updateDomValue(),this._updateRegistrations(),this._oldForm=this.form)}ngOnDestroy(){this.form&&(Un(this.form,this),this.form._onCollectionChange===this._onCollectionChange&&this.form._registerOnCollectionChange(()=>{}))}get formDirective(){return this}get control(){return this.form}get path(){return[]}addControl(m){const w=this.form.get(m.path);return Ot(w,m,this.callSetDisabledState),w.updateValueAndValidity({emitEvent:!1}),this.directives.push(m),w}getControl(m){return this.form.get(m.path)}removeControl(m){nt(m.control||null,m,!1),function en(v,y){const m=v.indexOf(y);m>-1&&v.splice(m,1)}(this.directives,m)}addFormGroup(m){this._setUpFormContainer(m)}removeFormGroup(m){this._cleanUpFormContainer(m)}getFormGroup(m){return this.form.get(m.path)}addFormArray(m){this._setUpFormContainer(m)}removeFormArray(m){this._cleanUpFormContainer(m)}getFormArray(m){return this.form.get(m.path)}updateModel(m,w){this.form.get(m.path).setValue(w)}onSubmit(m){return this.submitted=!0,function go(v,y){v._syncPendingControls(),y.forEach(m=>{const w=m.control;"submit"===w.updateOn&&w._pendingChange&&(m.viewToModelUpdate(w._pendingValue),w._pendingChange=!1)})}(this.form,this.directives),this.ngSubmit.emit(m),"dialog"===m?.target?.method}onReset(){this.resetForm()}resetForm(m=void 0){this.form.reset(m),this.submitted=!1}_updateDomValue(){this.directives.forEach(m=>{const w=m.control,k=this.form.get(m.path);w!==k&&(nt(w||null,m),(v=>v instanceof ct)(k)&&(Ot(k,m,this.callSetDisabledState),m.control=k))}),this.form._updateTreeValidity({emitEvent:!1})}_setUpFormContainer(m){const w=this.form.get(m.path);(function vn(v,y){Lr(v,y)})(w,m),w.updateValueAndValidity({emitEvent:!1})}_cleanUpFormContainer(m){if(this.form){const w=this.form.get(m.path);w&&function Nn(v,y){return Un(v,y)}(w,m)&&w.updateValueAndValidity({emitEvent:!1})}}_updateRegistrations(){this.form._registerOnCollectionChange(this._onCollectionChange),this._oldForm&&this._oldForm._registerOnCollectionChange(()=>{})}_updateValidators(){Lr(this.form,this),this._oldForm&&Un(this._oldForm,this)}_checkFormPresent(){}}return v.\u0275fac=function(m){return new(m||v)(s.Y36(Be,10),s.Y36(Ne,10),s.Y36(Zt,8))},v.\u0275dir=s.lG2({type:v,selectors:[["","formGroup",""]],hostBindings:function(m,w){1&m&&s.NdJ("submit",function(be){return w.onSubmit(be)})("reset",function(){return w.onReset()})},inputs:{form:["formGroup","form"]},outputs:{ngSubmit:"ngSubmit"},exportAs:["ngForm"],features:[s._Bn([zn]),s.qOj,s.TTD]}),v})();const Ye={provide:In,useExisting:(0,s.Gpc)(()=>Tr)};let Tr=(()=>{class v extends In{set isDisabled(m){}constructor(m,w,k,be,Xe){super(),this._ngModelWarningConfig=Xe,this._added=!1,this.name=null,this.update=new s.vpe,this._ngModelWarningSent=!1,this._parent=m,this._setValidators(w),this._setAsyncValidators(k),this.valueAccessor=Xt(0,be)}ngOnChanges(m){this._added||this._setUpControl(),Er(m,this.viewModel)&&(this.viewModel=this.model,this.formDirective.updateModel(this,this.model))}ngOnDestroy(){this.formDirective&&this.formDirective.removeControl(this)}viewToModelUpdate(m){this.viewModel=m,this.update.emit(m)}get path(){return function yn(v,y){return[...y.path,v]}(null==this.name?this.name:this.name.toString(),this._parent)}get formDirective(){return this._parent?this._parent.formDirective:null}_checkParentType(){}_setUpControl(){this._checkParentType(),this.control=this.formDirective.addControl(this),this._added=!0}}return v._ngModelWarningSentOnce=!1,v.\u0275fac=function(m){return new(m||v)(s.Y36(an,13),s.Y36(Be,10),s.Y36(Ne,10),s.Y36(H,10),s.Y36(we,8))},v.\u0275dir=s.lG2({type:v,selectors:[["","formControlName",""]],inputs:{name:["formControlName","name"],isDisabled:["disabled","isDisabled"],model:["ngModel","model"]},outputs:{update:"ngModelChange"},features:[s._Bn([Ye]),s.qOj,s.TTD]}),v})(),Co=(()=>{class v{}return v.\u0275fac=function(m){return new(m||v)},v.\u0275mod=s.oAB({type:v}),v.\u0275inj=s.cJS({imports:[ir]}),v})();class Yo extends sn{constructor(y,m,w){super(Bn(m),An(w,m)),this.controls=y,this._initObservables(),this._setUpdateStrategy(m),this._setUpControls(),this.updateValueAndValidity({onlySelf:!0,emitEvent:!!this.asyncValidator})}at(y){return this.controls[this._adjustIndex(y)]}push(y,m={}){this.controls.push(y),this._registerControl(y),this.updateValueAndValidity({emitEvent:m.emitEvent}),this._onCollectionChange()}insert(y,m,w={}){this.controls.splice(y,0,m),this._registerControl(m),this.updateValueAndValidity({emitEvent:w.emitEvent})}removeAt(y,m={}){let w=this._adjustIndex(y);w<0&&(w=0),this.controls[w]&&this.controls[w]._registerOnCollectionChange(()=>{}),this.controls.splice(w,1),this.updateValueAndValidity({emitEvent:m.emitEvent})}setControl(y,m,w={}){let k=this._adjustIndex(y);k<0&&(k=0),this.controls[k]&&this.controls[k]._registerOnCollectionChange(()=>{}),this.controls.splice(k,1),m&&(this.controls.splice(k,0,m),this._registerControl(m)),this.updateValueAndValidity({emitEvent:w.emitEvent}),this._onCollectionChange()}get length(){return this.controls.length}setValue(y,m={}){qe(this,0,y),y.forEach((w,k)=>{gn(this,!1,k),this.at(k).setValue(w,{onlySelf:!0,emitEvent:m.emitEvent})}),this.updateValueAndValidity(m)}patchValue(y,m={}){null!=y&&(y.forEach((w,k)=>{this.at(k)&&this.at(k).patchValue(w,{onlySelf:!0,emitEvent:m.emitEvent})}),this.updateValueAndValidity(m))}reset(y=[],m={}){this._forEachChild((w,k)=>{w.reset(y[k],{onlySelf:!0,emitEvent:m.emitEvent})}),this._updatePristine(m),this._updateTouched(m),this.updateValueAndValidity(m)}getRawValue(){return this.controls.map(y=>y.getRawValue())}clear(y={}){this.controls.length<1||(this._forEachChild(m=>m._registerOnCollectionChange(()=>{})),this.controls.splice(0),this.updateValueAndValidity({emitEvent:y.emitEvent}))}_adjustIndex(y){return y<0?y+this.length:y}_syncPendingControls(){let y=this.controls.reduce((m,w)=>!!w._syncPendingControls()||m,!1);return y&&this.updateValueAndValidity({onlySelf:!0}),y}_forEachChild(y){this.controls.forEach((m,w)=>{y(m,w)})}_updateValue(){this.value=this.controls.filter(y=>y.enabled||this.disabled).map(y=>y.value)}_anyControls(y){return this.controls.some(m=>m.enabled&&y(m))}_setUpControls(){this._forEachChild(y=>this._registerControl(y))}_allControlsDisabled(){for(const y of this.controls)if(y.enabled)return!1;return this.controls.length>0||this.disabled}_registerControl(y){y.setParent(this),y._registerOnCollectionChange(this._onCollectionChange)}_find(y){return this.at(y)??null}}const Zo=Yo;function li(v){return!!v&&(void 0!==v.asyncValidators||void 0!==v.validators||void 0!==v.updateOn)}let $r=(()=>{class v{constructor(){this.useNonNullable=!1}get nonNullable(){const m=new v;return m.useNonNullable=!0,m}group(m,w=null){const k=this._reduceControls(m);let be={};return li(w)?be=w:null!==w&&(be.validators=w.validator,be.asyncValidators=w.asyncValidator),new er(k,be)}record(m,w=null){const k=this._reduceControls(m);return new mn(k,w)}control(m,w,k){let be={};return this.useNonNullable?(li(w)?be=w:(be.validators=w,be.asyncValidators=k),new ct(m,{...be,nonNullable:!0})):new ct(m,w,k)}array(m,w,k){const be=m.map(Xe=>this._createControl(Xe));return new Yo(be,w,k)}_reduceControls(m){const w={};return Object.keys(m).forEach(k=>{w[k]=this._createControl(m[k])}),w}_createControl(m){return m instanceof ct||m instanceof sn?m:Array.isArray(m)?this.control(m[0],m.length>1?m[1]:null,m.length>2?m[2]:null):this.control(m)}}return v.\u0275fac=function(m){return new(m||v)},v.\u0275prov=s.Yz7({token:v,factory:v.\u0275fac,providedIn:"root"}),v})(),ci=(()=>{class v extends $r{group(m,w=null){return super.group(m,w)}control(m,w,k){return super.control(m,w,k)}array(m,w,k){return super.array(m,w,k)}}return v.\u0275fac=function(){let y;return function(w){return(y||(y=s.n5z(v)))(w||v)}}(),v.\u0275prov=s.Yz7({token:v,factory:v.\u0275fac,providedIn:"root"}),v})(),j=(()=>{class v{static withConfig(m){return{ngModule:v,providers:[{provide:Zt,useValue:m.callSetDisabledState??Qt}]}}}return v.\u0275fac=function(m){return new(m||v)},v.\u0275mod=s.oAB({type:v}),v.\u0275inj=s.cJS({imports:[Co]}),v})(),le=(()=>{class v{static withConfig(m){return{ngModule:v,providers:[{provide:we,useValue:m.warnOnNgModelWithFormControl??"always"},{provide:Zt,useValue:m.callSetDisabledState??Qt}]}}}return v.\u0275fac=function(m){return new(m||v)},v.\u0275mod=s.oAB({type:v}),v.\u0275inj=s.cJS({imports:[Co]}),v})()},426:(Le,ie,T)=>{"use strict";T.d(ie,{H1:()=>ot,dn:()=>kt,vG:()=>gt,ql:()=>de,B_:()=>ce});var s=T(666),V=T(4755),te=T(7079),oe=T(214);var F=T(5689),H=T(6498),Z=T(5529),q=T(7625);const he=["nb-r-str",""];function ee(G,U){if(1&G&&(s.ynx(0),s._uU(1),s.ALo(2,"async"),s.BQk()),2&G){const W=s.oxw();s.xp6(1),s.Oqu(s.lcZ(2,1,W.asyncContent))}}function ye(G,U){if(1&G&&(s.ynx(0),s._uU(1),s.BQk()),2&G){const W=s.oxw();s.xp6(1),s.Oqu(W.content)}}let ce=(()=>{class G{constructor(){}isBoolean(W){return function X(G){return!0===G||!1===G||(0,oe.Z)(G)&&"[object Boolean]"==(0,te.Z)(G)}(W)}isNumber(W){return function Y(G){return"number"==typeof G||(0,oe.Z)(G)&&"[object Number]"==(0,te.Z)(G)}(W)}isObservable(W){return W instanceof H.y}isPromise(W){return W instanceof Promise}isString(W){return(0,F.Z)(W)}isTemplateRef(W){return W instanceof s.Rgc}}return G.\u0275fac=function(W){return new(W||G)},G.\u0275prov=s.Yz7({token:G,factory:G.\u0275fac,providedIn:"root"}),G})(),Be=(()=>{class G{constructor(W){this.valueTypeService=W}transform(W){return this.valueTypeService.isObservable(W)||this.valueTypeService.isPromise(W)}}return G.\u0275fac=function(W){return new(W||G)(s.Y36(ce,16))},G.\u0275pipe=s.Yjl({name:"nbIsAsync",type:G,pure:!0,standalone:!0}),G})(),kt=(()=>{class G{constructor(){this.content=""}get asyncContent(){return this.content}}return G.\u0275fac=function(W){return new(W||G)},G.\u0275cmp=s.Xpm({type:G,selectors:[["","nb-r-str",""]],inputs:{content:["nb-r-str","content"]},standalone:!0,features:[s.jDz],attrs:he,decls:4,vars:4,consts:[[3,"ngSwitch"],[4,"ngSwitchCase"],[4,"ngSwitchDefault"]],template:function(W,xe){1&W&&(s.ynx(0,0),s.ALo(1,"nbIsAsync"),s.YNc(2,ee,3,3,"ng-container",1),s.YNc(3,ye,2,1,"ng-container",2),s.BQk()),2&W&&(s.Q6J("ngSwitch",s.lcZ(1,2,xe.content)),s.xp6(2),s.Q6J("ngSwitchCase",!0))},dependencies:[V.RF,V.n9,V.ED,V.Ov,Be],encapsulation:2,changeDetection:0}),G})();new s.OlP("default error image"),new s.OlP("default loading image");let de=(()=>{class G{constructor(){this.destroy$=new Z.xQ,this.subscriptionList=[],this.subscriptionMap=new Map}addUnsubscribeOperator(W){return W.pipe((0,q.R)(this.destroy$))}clearAllSubscriptions(){this.subscriptionList.forEach(W=>W.unsubscribe()),this.subscriptionList.length=0}clearAllSubscriptionsFromKeyRecord(){this.subscriptionMap.forEach((W,xe)=>{W.unsubscribe(),this.subscriptionMap.delete(xe)})}collectASubscription(W){this.subscriptionList.push(W)}collectASubscriptionByKey(W,xe,Wt=!0){Wt&&this.unsubscribeASubscriptionByKey(W),this.subscriptionMap.set(W,xe)}getDestructionSignal(){return this.destroy$.asObservable()}unsubscribeASubscriptionByKey(W){const xe=this.subscriptionMap.get(W);return!!xe&&(xe.unsubscribe(),this.subscriptionMap.delete(W))}ngOnDestroy(){this.destroy$.next(),this.destroy$.complete(),this.clearAllSubscriptions(),this.clearAllSubscriptionsFromKeyRecord()}}return G.\u0275fac=function(W){return new(W||G)},G.\u0275prov=s.Yz7({token:G,factory:G.\u0275fac}),G})(),ot=(()=>{class G{constructor(W){this.valueTypeService=W}transform(W){return this.valueTypeService.isString(W)}}return G.\u0275fac=function(W){return new(W||G)(s.Y36(ce,16))},G.\u0275pipe=s.Yjl({name:"nbIsString",type:G,pure:!0,standalone:!0}),G})(),gt=(()=>{class G{constructor(W){this.valueTypeService=W}transform(W){return this.valueTypeService.isTemplateRef(W)?W:null}}return G.\u0275fac=function(W){return new(W||G)(s.Y36(ce,16))},G.\u0275pipe=s.Yjl({name:"nbTplContent",type:G,pure:!0,standalone:!0}),G})()},8487:(Le,ie,T)=>{"use strict";T.d(ie,{x:()=>vn,oi:()=>Oe,pT:()=>wr,y6:()=>kr,v6:()=>en});var s=T(666),V=T(7545),te=T(4850),oe=T(3489);class X{constructor(z){this.predicate=z}call(z,N){return N.subscribe(new ge(z,this.predicate))}}class ge extends oe.L{constructor(z,N){super(z),this.predicate=N,this.skipping=!0,this.index=0}_next(z){const N=this.destination;this.skipping&&this.tryCallPredicate(z),this.skipping||N.next(z)}tryCallPredicate(z){try{const N=this.predicate(z,this.index++);this.skipping=!!N}catch(N){this.destination.error(N)}}}var ne=T(2868);class x{constructor(z,N){this.count=z,this.source=N}call(z,N){return N.subscribe(new F(z,this.count,this.source))}}class F extends oe.L{constructor(z,N,P){super(z),this.count=N,this.source=P}error(z){if(!this.isStopped){const{source:N,count:P}=this;if(0===P)return super.error(z);P>-1&&(this.count=P-1),N.subscribe(this._unsubscribeAndRecycle())}}}var H=T(7221),q=(T(4755),T(4177)),he=T(7079),ee=T(214);const Me=function Ie(O){return"symbol"==typeof O||(0,ee.Z)(O)&&"[object Symbol]"==(0,he.Z)(O)};var ce=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,Be=/^\w*$/;var kt=T(3639);function Ae(O,z){if("function"!=typeof O||null!=z&&"function"!=typeof z)throw new TypeError("Expected a function");var N=function(){var P=arguments,Ee=z?z.apply(this,P):P[0],Pe=N.cache;if(Pe.has(Ee))return Pe.get(Ee);var it=O.apply(this,P);return N.cache=Pe.set(Ee,it)||Pe,it};return N.cache=new(Ae.Cache||kt.Z),N}Ae.Cache=kt.Z;const Q=Ae;var me=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,Ve=/\\(\\)?/g;const _t=function _e(O){var z=Q(O,function(P){return 500===N.size&&N.clear(),P}),N=z.cache;return z}(function(O){var z=[];return 46===O.charCodeAt(0)&&z.push(""),O.replace(me,function(N,P,Ee,Pe){z.push(Ee?Pe.replace(Ve,"$1"):P||N)}),z});var ot=T(8492);var Cn=ot.Z?ot.Z.prototype:void 0,Ue=Cn?Cn.toString:void 0;const tt=function $e(O){if("string"==typeof O)return O;if((0,q.Z)(O))return function gt(O,z){for(var N=-1,P=null==O?0:O.length,Ee=Array(P);++N<P;)Ee[N]=z(O[N],N,O);return Ee}(O,$e)+"";if(Me(O))return Ue?Ue.call(O):"";var z=O+"";return"0"==z&&1/O==-1/0?"-0":z},G=function ue(O,z){return(0,q.Z)(O)?O:function Ne(O,z){if((0,q.Z)(O))return!1;var N=typeof O;return!("number"!=N&&"symbol"!=N&&"boolean"!=N&&null!=O&&!Me(O))||Be.test(O)||!ce.test(O)||null!=z&&O in Object(z)}(O,z)?[O]:_t(function lt(O){return null==O?"":tt(O)}(O))},xe=function W(O){if("string"==typeof O||Me(O))return O;var z=O+"";return"0"==z&&1/O==-1/0?"-0":z},In=function an(O,z,N){var P=null==O?void 0:function Wt(O,z){for(var N=0,P=(z=G(z,O)).length;null!=O&&N<P;)O=O[xe(z[N++])];return N&&N==P?O:void 0}(O,z);return void 0===P?N:P};var on=T(2089),Yr=T(6789),ln=T(426),Zr=T(591),Pn=T(5529),cn=T(1086),pn=T(6498),qr=T(2654);class It extends qr.w{constructor(z,N){super()}schedule(z,N=0){return this}}let Ze=(()=>{class O{constructor(N,P=O.now){this.SchedulerAction=N,this.now=P}schedule(N,P=0,Ee){return new this.SchedulerAction(this,N).schedule(Ee,P)}}return O.now=()=>Date.now(),O})();class cr extends Ze{constructor(z,N=Ze.now){super(z,()=>cr.delegate&&cr.delegate!==this?cr.delegate.now():N()),this.actions=[],this.active=!1,this.scheduled=void 0}schedule(z,N=0,P){return cr.delegate&&cr.delegate!==this?cr.delegate.schedule(z,N,P):super.schedule(z,N,P)}flush(z){const{actions:N}=this;if(this.active)return void N.push(z);let P;this.active=!0;do{if(P=z.execute(z.state,z.delay))break}while(z=N.shift());if(this.active=!1,P){for(;z=N.shift();)z.unsubscribe();throw P}}}const Xn=new cr(class ve extends It{constructor(z,N){super(z,N),this.scheduler=z,this.work=N,this.pending=!1}schedule(z,N=0){if(this.closed)return this;this.state=z;const P=this.id,Ee=this.scheduler;return null!=P&&(this.id=this.recycleAsyncId(Ee,P,N)),this.pending=!0,this.delay=N,this.id=this.id||this.requestAsyncId(Ee,this.id,N),this}requestAsyncId(z,N,P=0){return setInterval(z.flush.bind(z,this),P)}recycleAsyncId(z,N,P=0){if(null!==P&&this.delay===P&&!1===this.pending)return N;clearInterval(N)}execute(z,N){if(this.closed)return new Error("executing a cancelled action");this.pending=!1;const P=this._execute(z,N);if(P)return P;!1===this.pending&&null!=this.id&&(this.id=this.recycleAsyncId(this.scheduler,this.id,null))}_execute(z,N){let Ee,P=!1;try{this.work(z)}catch(Pe){P=!0,Ee=!!Pe&&Pe||new Error(Pe)}if(P)return this.unsubscribe(),Ee}_unsubscribe(){const z=this.id,N=this.scheduler,P=N.actions,Ee=P.indexOf(this);this.work=null,this.state=null,this.pending=!1,this.scheduler=null,-1!==Ee&&P.splice(Ee,1),null!=z&&(this.id=this.recycleAsyncId(N,z,null)),this.delay=null}});var So=T(6688);function ft(O){return!(0,So.k)(O)&&O-parseFloat(O)+1>=0}var ai=T(2866);function $o(O){const{index:z,period:N,subscriber:P}=O;if(P.next(z),!P.closed){if(-1===N)return P.complete();O.index=z+1,this.schedule(O,N)}}var mt=T(5254);const tr=new s.OlP("nb-trans-default-lang");var Oe=(()=>((Oe=Oe||{}).ZH_CN="zh-CN",Oe.ZH_TW="zh-TW",Oe.ZH_HK="zh-HK",Oe.EN="en",Oe.AR_EG="ar-EG",Oe.HY_AM="hy-AM",Oe.BG_BG="bg-BG",Oe.CA_ES="ca-ES",Oe.CS_CZ="cs-CZ",Oe.DA_DK="da-DK",Oe.DE_DE="de-DE",Oe.EL_GR="el-GR",Oe.EN_GB="en-GB",Oe.EN_US="en-US",Oe.ES_ES="es-ES",Oe.ET_EE="et-EE",Oe.FA_IR="fa-IR",Oe.FI_FI="fi-FI",Oe.FR_BE="fr-BE",Oe.FR_FR="fr-FR",Oe.HE_IL="he-IL",Oe.HI_IN="hi-IN",Oe.HR_HR="hr-HR",Oe.HU_HU="hu-HU",Oe.IS_IS="is-IS",Oe.ID_ID="id-ID",Oe.IT_IT="it-IT",Oe.JA_JP="ja-JP",Oe.KA_GE="ka-GE",Oe.KN_IN="kn-IN",Oe.KO_KR="ko-KR",Oe.KU_IQ="ku-IQ",Oe.LV_LV="lv-LV",Oe.MS_MY="ms-MY",Oe.MN_MN="mn-MN",Oe.NB_NO="nb-NO",Oe.NE_NP="ne-NP",Oe.NL_BE="nl-BE",Oe.NL_NL="nl-NL",Oe.PL_PL="pl-PL",Oe.PT_BR="pt-BR",Oe.PT_PT="pt-PT",Oe.SK_SK="sk-SK",Oe.SR_RS="sr-RS",Oe.SL_SI="sl-SI",Oe.SV_SE="sv-SE",Oe.TA_IN="ta-IN",Oe.TH_TH="th-TH",Oe.TR_TR="tr-TR",Oe.RO_RO="ro-RO",Oe.RU_RU="ru-RU",Oe.UK_UA="uk-UA",Oe.VI_VN="vi-VN",Oe))();const vn=new s.OlP("nb-trans-loader"),Nn=new s.OlP("nb-trans-max-retry"),zo=new s.OlP("Whether to print the warning info when the param key is invalid?"),po="[$_a-zA-Z]+[\\w$]*",Er=new RegExp(po,"g"),On=new RegExp(`({{\\s*${po}\\s*}})`,"g"),go=(0,s.X6Q)();let Xt=(()=>{class O{static checkNavigator(){return O.checkWindow()&&typeof window.navigator<"u"}static checkWindow(){return typeof window<"u"}constructor(N,P){this.warnParamKeyInvalid=N,this.valueType=P,this.setWarnParamKeyInvalidDefault()}getFinalKey(N,P){return P?`${P}.${N}`:N}handleSentenceWithParams(N,P){if(!P)return N;const Ee=Object.keys(P);if(!Ee.length)return N;const Pe=this.cleanParams(P,Ee);if(!Object.keys(Pe).length)return N;const it=N.split(On);return this.replaceAsParamsValueInSplitArr(it,Pe).join("")}handleTrans(N){const P=[];for(;N.length;){const Ee=N.search(/<\d+>/);if(Ee>0){const it=N.slice(0,Ee);P.push(it)}const Pe=this.handleCompStr(N);this.valueType.isString(Pe)?(P.push(Pe),N=""):(P.push({index:Pe.index,content:Pe.content,list:Pe.list}),N=Pe.otherContent)}return P}isTranslatedStringValid(N){return!(!N||!this.valueType.isString(N))}cleanParams(N,P){const Ee=new RegExp(`{{${po}}}`);return P.filter(Pe=>{const it=Ee.test(`{{${Pe}}}`);return Ee.lastIndex=0,it||this.logParamKeyIsInvalid(Pe),it}).reduce((Pe,it)=>(Pe[it]=N[it],Pe),{})}handleCompStr(N){const P=N.search(/<\d+>/);if(-1===P)return N;let Ee=[];const Pe=N.indexOf(">",P),it=Number(N.slice(P+1,Pe)),St=`</${it}>`,Sr=N.indexOf(St),ir=N.slice(Pe+1,Sr);return ir.search(/<\d+>/)>-1&&(Ee=this.handleTrans(ir)),{index:it,content:ir,list:Ee,otherContent:N.slice(Sr+St.length,N.length)}}logParamKeyIsInvalid(N){!go||!this.warnParamKeyInvalid||console.warn(`The param key: "${N}" is invalid! \n It should consist of "letter", "number", "_" or "$", \n and the "number" can't be the first character.\n See this changelog: https://github.com/bigBear713/nb-trans/blob/master/CHANGELOG.md#v1600`)}replaceAsParamsValueInSplitArr(N,P){const Ee=new RegExp(On);return N.forEach((it,St)=>{if(!(it=>{const St=Ee.test(it);return Ee.lastIndex=0,St})(it))return;const Sr=it.match(Er)[0],ir=P[Sr];ir&&(N[St]=ir)}),N}setWarnParamKeyInvalidDefault(){!1!==this.warnParamKeyInvalid&&(this.warnParamKeyInvalid=!0)}}return O.\u0275fac=function(N){return new(N||O)(s.LFG(zo,8),s.LFG(ln.B_))},O.\u0275prov=s.Yz7({token:O,factory:O.\u0275fac,providedIn:"root"}),O})(),en=(()=>{class O{get lang(){return this.lang$.value}get loadDefaultOver(){return this.loadDefaultOver$.value}static getBrowserLang(){if(Xt.checkNavigator())return window?.navigator?.language}static getBrowserLangs(){if(Xt.checkNavigator())return window?.navigator?.languages}constructor(N,P,Ee,Pe){this.transDefaultLang=N,this.transLoader=P,this.maxRetry=Ee,this.transToolsService=Pe,this.lang$=new Zr.X(Oe.ZH_CN),this.loadDefaultOver$=new Zr.X(!1),this.loadLangTrans$=new Pn.xQ,this.retry=5,this.translations={},this.retry=null==this.maxRetry?this.retry:this.maxRetry,this.transLoader=this.transLoader||{},this.lang$.next(N||Oe.ZH_CN),this.loadDefaultTrans()}changeLang(N){const P={curLang:N,result:!0},Ee={curLang:this.lang,result:!1};return this.translations[N]?(this.lang$.next(N),(0,cn.of)(P)):this.transLoader[N]?this.loadLangTrans(N).pipe((0,V.w)(Pe=>{let it=this.lang,St=Ee;return Pe&&(it=N,St=P),this.lang$.next(it),(0,cn.of)(St)})):(function Yt(O=0,z,N){let P=-1;return ft(z)?P=Number(z)<1?1:Number(z):(0,ai.K)(z)&&(N=z),(0,ai.K)(N)||(N=Xn),new pn.y(Ee=>{const Pe=ft(O)?O:+O-N.now();return N.schedule($o,Pe,{index:0,period:P,subscriber:Ee})})}().subscribe(Pe=>this.loadLangTrans$.next(!1)),(0,cn.of)(Ee))}changeLangSync(N){this.changeLang(N).subscribe()}getBrowserLang(){return console.warn("The function will be deprecated in the future, we recommend using NbTransService.getBrowserLang()!"),O.getBrowserLang()}getBrowserLangs(){return console.warn("The function will be deprecated in the future, we recommend using NbTransService.getBrowserLangs()!"),O.getBrowserLangs()}translationAsync(N,P){return this.lang$.pipe((0,V.w)(Ee=>this.translations[this.lang]?(0,cn.of)({trans:this.translations[this.lang],result:!0}):this.loadLangTrans$),(0,te.U)(Ee=>this.translationSync(N,P)))}translationSync(N,P){const Ee=this.transToolsService.getFinalKey(N,P?.prefix),Pe=!1===P?.returnKeyWhenEmpty?"":Ee;let it=In(this.translations[this.lang],Ee);if(this.transToolsService.isTranslatedStringValid(it)||(it=In(this.translations[this.transDefaultLang],Ee)),!this.transToolsService.isTranslatedStringValid(it))return Pe;const St=P?.params;return this.transToolsService.handleSentenceWithParams(it,St)}subscribeLangChange(){return this.lang$.asObservable()}subscribeLoadDefaultOver(){return this.loadDefaultOver?(0,cn.of)(!0):this.loadDefaultOver$.asObservable().pipe(function J(O){return z=>z.lift(new X(O))}((N,P)=>!N&&0===P))}loadDefaultTrans(){this.loadTrans(this.lang).pipe((0,te.U)(N=>!!N)).subscribe(N=>{this.loadDefaultOver$.next(N),this.loadDefaultOver$.complete(),this.loadLangTrans$.next(N)})}loadLangTrans(N){return this.loadTrans(N).pipe((0,te.U)(P=>!!P),(0,ne.b)(P=>this.loadLangTrans$.next(P)))}loadTrans(N){const P=this.transLoader[N];return P?((0,on.Z)(P)?(0,cn.of)(null).pipe((0,V.w)(()=>(0,mt.D)(P()))):(0,cn.of)(P)).pipe((0,ne.b)(Pe=>this.translations[N]=Pe),function Y(O=-1){return z=>z.lift(new x(O,z))}(this.retry),(0,H.K)(Pe=>(0,cn.of)(null))):(0,cn.of)(null)}}return O.\u0275fac=function(N){return new(N||O)(s.LFG(tr,8),s.LFG(vn,8),s.LFG(Nn,8),s.LFG(Xt))},O.\u0275prov=s.Yz7({token:O,factory:O.\u0275fac,providedIn:"root"}),O})(),kr=(()=>{class O{constructor(N,P){this.changeDR=N,this.transService=P,this.latestValue="",this.key="",this.unsubscribeService=new ln.ql,this.subscribeLangChange()}transform(N,P){return(!this.latestValue||N!==this.key||!(0,Yr.Z)(P,this.options))&&(this.latestValue=this.transService.translationSync(N,P),this.key=N,this.options=P),this.latestValue}ngOnDestroy(){this.unsubscribeService.ngOnDestroy()}subscribeLangChange(){const N=this.transService.subscribeLangChange().pipe((0,V.w)(P=>this.transService.translationAsync(this.key,this.options)));this.unsubscribeService.addUnsubscribeOperator(N).subscribe(P=>this.updateLatestValue(P))}updateLatestValue(N){this.latestValue=N,this.changeDR.markForCheck()}}return O.\u0275fac=function(N){return new(N||O)(s.Y36(s.sBO,16),s.Y36(en,16))},O.\u0275pipe=s.Yjl({name:"nbTrans",type:O,pure:!1,standalone:!0}),O})(),wr=(()=>{class O{}return O.\u0275fac=function(N){return new(N||O)},O.\u0275mod=s.oAB({type:O}),O.\u0275inj=s.cJS({}),O})()},2622:(Le,ie,T)=>{"use strict";T.d(ie,{Z:()=>ye});var te=T(3093);const J=function oe(Ie,Me){for(var ce=Ie.length;ce--;)if((0,te.Z)(Ie[ce][0],Me))return ce;return-1};var ge=Array.prototype.splice;function ee(Ie){var Me=-1,ce=null==Ie?0:Ie.length;for(this.clear();++Me<ce;){var Be=Ie[Me];this.set(Be[0],Be[1])}}ee.prototype.clear=function s(){this.__data__=[],this.size=0},ee.prototype.delete=function ne(Ie){var Me=this.__data__,ce=J(Me,Ie);return!(ce<0||(ce==Me.length-1?Me.pop():ge.call(Me,ce,1),--this.size,0))},ee.prototype.get=function x(Ie){var Me=this.__data__,ce=J(Me,Ie);return ce<0?void 0:Me[ce][1]},ee.prototype.has=function H(Ie){return J(this.__data__,Ie)>-1},ee.prototype.set=function q(Ie,Me){var ce=this.__data__,Be=J(ce,Ie);return Be<0?(++this.size,ce.push([Ie,Me])):ce[Be][1]=Me,this};const ye=ee},9329:(Le,ie,T)=>{"use strict";T.d(ie,{Z:()=>oe});var s=T(3858),V=T(5946);const oe=(0,s.Z)(V.Z,"Map")},3639:(Le,ie,T)=>{"use strict";T.d(ie,{Z:()=>Cn});const te=(0,T(3858).Z)(Object,"create");var x=Object.prototype.hasOwnProperty;var q=Object.prototype.hasOwnProperty;function ce(Ue){var $e=-1,tt=null==Ue?0:Ue.length;for(this.clear();++$e<tt;){var lt=Ue[$e];this.set(lt[0],lt[1])}}ce.prototype.clear=function oe(){this.__data__=te?te(null):{},this.size=0},ce.prototype.delete=function X(Ue){var $e=this.has(Ue)&&delete this.__data__[Ue];return this.size-=$e?1:0,$e},ce.prototype.get=function F(Ue){var $e=this.__data__;if(te){var tt=$e[Ue];return"__lodash_hash_undefined__"===tt?void 0:tt}return x.call($e,Ue)?$e[Ue]:void 0},ce.prototype.has=function he(Ue){var $e=this.__data__;return te?void 0!==$e[Ue]:q.call($e,Ue)},ce.prototype.set=function Ie(Ue,$e){var tt=this.__data__;return this.size+=this.has(Ue)?0:1,tt[Ue]=te&&void 0===$e?"__lodash_hash_undefined__":$e,this};const Be=ce;var Ne=T(2622),je=T(9329);const _e=function re(Ue,$e){var tt=Ue.__data__;return function Ae(Ue){var $e=typeof Ue;return"string"==$e||"number"==$e||"symbol"==$e||"boolean"==$e?"__proto__"!==Ue:null===Ue}($e)?tt["string"==typeof $e?"string":"hash"]:tt.map};function zt(Ue){var $e=-1,tt=null==Ue?0:Ue.length;for(this.clear();++$e<tt;){var lt=Ue[$e];this.set(lt[0],lt[1])}}zt.prototype.clear=function kt(){this.size=0,this.__data__={hash:new Be,map:new(je.Z||Ne.Z),string:new Be}},zt.prototype.delete=function de(Ue){var $e=_e(this,Ue).delete(Ue);return this.size-=$e?1:0,$e},zt.prototype.get=function Ve(Ue){return _e(this,Ue).get(Ue)},zt.prototype.has=function _t(Ue){return _e(this,Ue).has(Ue)},zt.prototype.set=function gt(Ue,$e){var tt=_e(this,Ue),lt=tt.size;return tt.set(Ue,$e),this.size+=tt.size==lt?0:1,this};const Cn=zt},8492:(Le,ie,T)=>{"use strict";T.d(ie,{Z:()=>te});const te=T(5946).Z.Symbol},7079:(Le,ie,T)=>{"use strict";T.d(ie,{Z:()=>ee});var s=T(8492),V=Object.prototype,te=V.hasOwnProperty,oe=V.toString,J=s.Z?s.Z.toStringTag:void 0;var Y=Object.prototype.toString;var q=s.Z?s.Z.toStringTag:void 0;const ee=function he(ye){return null==ye?void 0===ye?"[object Undefined]":"[object Null]":q&&q in Object(ye)?function X(ye){var Ie=te.call(ye,J),Me=ye[J];try{ye[J]=void 0;var ce=!0}catch{}var Be=oe.call(ye);return ce&&(Ie?ye[J]=Me:delete ye[J]),Be}(ye):function x(ye){return Y.call(ye)}(ye)}},8346:(Le,ie,T)=>{"use strict";T.d(ie,{Z:()=>V});const V="object"==typeof global&&global&&global.Object===Object&&global},3858:(Le,ie,T)=>{"use strict";T.d(ie,{Z:()=>Ne});var je,s=T(2089),te=T(5946).Z["__core-js_shared__"],J=(je=/[^.]+$/.exec(te&&te.keys&&te.keys.IE_PROTO||""))?"Symbol(src)_1."+je:"";var ne=T(1999),Y=T(4407),F=/^\[object .+?Constructor\]$/,ee=RegExp("^"+Function.prototype.toString.call(Object.prototype.hasOwnProperty).replace(/[\\^$.*+?()[\]{}|]/g,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$");const Ie=function ye(je){return!(!(0,ne.Z)(je)||function X(je){return!!J&&J in je}(je))&&((0,s.Z)(je)?ee:F).test((0,Y.Z)(je))},Ne=function Be(je,kt){var Se=function Me(je,kt){return je?.[kt]}(je,kt);return Ie(Se)?Se:void 0}},5946:(Le,ie,T)=>{"use strict";T.d(ie,{Z:()=>oe});var s=T(8346),V="object"==typeof self&&self&&self.Object===Object&&self;const oe=s.Z||V||Function("return this")()},4407:(Le,ie,T)=>{"use strict";T.d(ie,{Z:()=>oe});var V=Function.prototype.toString;const oe=function te(J){if(null!=J){try{return V.call(J)}catch{}try{return J+""}catch{}}return""}},3093:(Le,ie,T)=>{"use strict";T.d(ie,{Z:()=>V});const V=function s(te,oe){return te===oe||te!=te&&oe!=oe}},4177:(Le,ie,T)=>{"use strict";T.d(ie,{Z:()=>V});const V=Array.isArray},6789:(Le,ie,T)=>{"use strict";T.d(ie,{Z:()=>Ji});var s=T(2622);var x=T(9329),F=T(3639);function he(j){var le=this.__data__=new s.Z(j);this.size=le.size}he.prototype.clear=function V(){this.__data__=new s.Z,this.size=0},he.prototype.delete=function oe(j){var le=this.__data__,v=le.delete(j);return this.size=le.size,v},he.prototype.get=function X(j){return this.__data__.get(j)},he.prototype.has=function ne(j){return this.__data__.has(j)},he.prototype.set=function Z(j,le){var v=this.__data__;if(v instanceof s.Z){var y=v.__data__;if(!x.Z||y.length<199)return y.push([j,le]),this.size=++v.size,this;v=this.__data__=new F.Z(y)}return v.set(j,le),this.size=v.size,this};const ee=he;function Ne(j){var le=-1,v=null==j?0:j.length;for(this.__data__=new F.Z;++le<v;)this.add(j[le])}Ne.prototype.add=Ne.prototype.push=function Ie(j){return this.__data__.set(j,"__lodash_hash_undefined__"),this},Ne.prototype.has=function ce(j){return this.__data__.has(j)};const je=Ne,Se=function kt(j,le){for(var v=-1,y=null==j?0:j.length;++v<y;)if(le(j[v],v,j))return!0;return!1},Q=function Ae(j,le){return j.has(le)},me=function de(j,le,v,y,m,w){var k=1&v,be=j.length,Xe=le.length;if(be!=Xe&&!(k&&Xe>be))return!1;var st=w.get(j),Sn=w.get(le);if(st&&Sn)return st==le&&Sn==j;var xt=-1,Vt=!0,qn=2&v?new je:void 0;for(w.set(j,le),w.set(le,j);++xt<be;){var Kn=j[xt],yr=le[xt];if(y)var ao=k?y(yr,Kn,xt,le,j,w):y(Kn,yr,xt,j,le,w);if(void 0!==ao){if(ao)continue;Vt=!1;break}if(qn){if(!Se(le,function(ur,Pt){if(!Q(qn,Pt)&&(Kn===ur||m(Kn,ur,v,y,w)))return qn.push(Pt)})){Vt=!1;break}}else if(Kn!==yr&&!m(Kn,yr,v,y,w)){Vt=!1;break}}return w.delete(j),w.delete(le),Vt};var Ve=T(8492),He=T(5946);const ot=He.Z.Uint8Array;var gt=T(3093);const zt=function Tt(j){var le=-1,v=Array(j.size);return j.forEach(function(y,m){v[++le]=[m,y]}),v},Ue=function Cn(j){var le=-1,v=Array(j.size);return j.forEach(function(y){v[++le]=y}),v};var on=Ve.Z?Ve.Z.prototype:void 0,Yr=on?on.valueOf:void 0;var pn=T(4177);var So=Object.prototype.propertyIsEnumerable,ft=Object.getOwnPropertySymbols;const Yt=ft?function(j){return null==j?[]:(j=Object(j),function ve(j,le){for(var v=-1,y=null==j?0:j.length,m=0,w=[];++v<y;){var k=j[v];le(k,v,j)&&(w[m++]=k)}return w}(ft(j),function(le){return So.call(j,le)}))}:function cr(){return[]};var Kr=T(7079),Jt=T(214);const br=function Cr(j){return(0,Jt.Z)(j)&&"[object Arguments]"==(0,Kr.Z)(j)};var dr=Object.prototype,Bn=dr.hasOwnProperty,oo=dr.propertyIsEnumerable;const Go=br(function(){return arguments}())?br:function(j){return(0,Jt.Z)(j)&&Bn.call(j,"callee")&&!oo.call(j,"callee")};var qe="object"==typeof exports&&exports&&!exports.nodeType&&exports,sn=qe&&"object"==typeof module&&module&&!module.nodeType&&module,Bt=sn&&sn.exports===qe?He.Z.Buffer:void 0;const fr=(Bt?Bt.isBuffer:void 0)||function ht(){return!1};var Qt=/^(?:0|[1-9]\d*)$/;const Ot=function yn(j,le){var v=typeof j;return!!(le=le??9007199254740991)&&("number"==v||"symbol"!=v&&Qt.test(j))&&j>-1&&j%1==0&&j<le},pr=function hr(j){return"number"==typeof j&&j>-1&&j%1==0&&j<=9007199254740991};var ct={};ct["[object Float32Array]"]=ct["[object Float64Array]"]=ct["[object Int8Array]"]=ct["[object Int16Array]"]=ct["[object Int32Array]"]=ct["[object Uint8Array]"]=ct["[object Uint8ClampedArray]"]=ct["[object Uint16Array]"]=ct["[object Uint32Array]"]=!0,ct["[object Arguments]"]=ct["[object Array]"]=ct["[object ArrayBuffer]"]=ct["[object Boolean]"]=ct["[object DataView]"]=ct["[object Date]"]=ct["[object Error]"]=ct["[object Function]"]=ct["[object Map]"]=ct["[object Number]"]=ct["[object Object]"]=ct["[object RegExp]"]=ct["[object Set]"]=ct["[object String]"]=ct["[object WeakMap]"]=!1;var so=T(8346),To="object"==typeof exports&&exports&&!exports.nodeType&&exports,wr=To&&"object"==typeof module&&module&&!module.nodeType&&module,O=wr&&wr.exports===To&&so.Z.process,z=function(){try{return wr&&wr.require&&wr.require("util").types||O&&O.binding&&O.binding("util")}catch{}}(),P=z&&z.isTypedArray;const Pe=P?function or(j){return function(le){return j(le)}}(P):function io(j){return(0,Jt.Z)(j)&&pr(j.length)&&!!ct[(0,Kr.Z)(j)]};var St=Object.prototype.hasOwnProperty;const ir=function Sr(j,le){var v=(0,pn.Z)(j),y=!v&&Go(j),m=!v&&!y&&fr(j),w=!v&&!y&&!m&&Pe(j),k=v||y||m||w,be=k?function $o(j,le){for(var v=-1,y=Array(j);++v<j;)y[v]=le(v);return y}(j.length,String):[],Xe=be.length;for(var st in j)(le||St.call(j,st))&&(!k||!("length"==st||m&&("offset"==st||"parent"==st)||w&&("buffer"==st||"byteLength"==st||"byteOffset"==st)||Ot(st,Xe)))&&be.push(st);return be};var Qr=Object.prototype;const yt=function ke(j,le){return function(v){return j(le(v))}}(Object.keys,Object);var sr=Object.prototype.hasOwnProperty;const gr=function Mt(j){if(!function Io(j){var le=j&&j.constructor;return j===("function"==typeof le&&le.prototype||Qr)}(j))return yt(j);var le=[];for(var v in Object(j))sr.call(j,v)&&"constructor"!=v&&le.push(v);return le};var Rt=T(2089);const Tr=function Ye(j){return function fn(j){return null!=j&&pr(j.length)&&!(0,Rt.Z)(j)}(j)?ir(j):gr(j)},Wn=function Do(j){return function qr(j,le,v){var y=le(j);return(0,pn.Z)(j)?y:function Pn(j,le){for(var v=-1,y=le.length,m=j.length;++v<y;)j[m+v]=le[v];return j}(y,v(j))}(j,Tr,Yt)};var Hr=Object.prototype.hasOwnProperty;var dt=T(3858);const Fn=(0,dt.Z)(He.Z,"DataView"),Xr=(0,dt.Z)(He.Z,"Promise"),mr=(0,dt.Z)(He.Z,"Set"),Ir=(0,dt.Z)(He.Z,"WeakMap");var qt=T(4407),jr="[object Map]",eo="[object Promise]",$t="[object Set]",Br="[object WeakMap]",En="[object DataView]",_n=(0,qt.Z)(Fn),No=(0,qt.Z)(x.Z),Nr=(0,qt.Z)(Xr),Ur=(0,qt.Z)(mr),wn=(0,qt.Z)(Ir),Ln=Kr.Z;(Fn&&Ln(new Fn(new ArrayBuffer(1)))!=En||x.Z&&Ln(new x.Z)!=jr||Xr&&Ln(Xr.resolve())!=eo||mr&&Ln(new mr)!=$t||Ir&&Ln(new Ir)!=Br)&&(Ln=function(j){var le=(0,Kr.Z)(j),v="[object Object]"==le?j.constructor:void 0,y=v?(0,qt.Z)(v):"";if(y)switch(y){case _n:return En;case No:return jr;case Nr:return eo;case Ur:return $t;case wn:return Br}return le});const Oo=Ln;var Ei="[object Arguments]",ui="[object Array]",Co="[object Object]",Zo=Object.prototype.hasOwnProperty;const li=function qi(j,le,v,y,m,w){var k=(0,pn.Z)(j),be=(0,pn.Z)(le),Xe=k?ui:Oo(j),st=be?ui:Oo(le),Sn=(Xe=Xe==Ei?Co:Xe)==Co,xt=(st=st==Ei?Co:st)==Co,Vt=Xe==st;if(Vt&&fr(j)){if(!fr(le))return!1;k=!0,Sn=!1}if(Vt&&!Sn)return w||(w=new ee),k||Pe(j)?me(j,le,v,y,m,w):function ln(j,le,v,y,m,w,k){switch(v){case"[object DataView]":if(j.byteLength!=le.byteLength||j.byteOffset!=le.byteOffset)return!1;j=j.buffer,le=le.buffer;case"[object ArrayBuffer]":return!(j.byteLength!=le.byteLength||!w(new ot(j),new ot(le)));case"[object Boolean]":case"[object Date]":case"[object Number]":return(0,gt.Z)(+j,+le);case"[object Error]":return j.name==le.name&&j.message==le.message;case"[object RegExp]":case"[object String]":return j==le+"";case"[object Map]":var be=zt;case"[object Set]":if(be||(be=Ue),j.size!=le.size&&!(1&y))return!1;var st=k.get(j);if(st)return st==le;y|=2,k.set(j,le);var Sn=me(be(j),be(le),y,m,w,k);return k.delete(j),Sn;case"[object Symbol]":if(Yr)return Yr.call(j)==Yr.call(le)}return!1}(j,le,Xe,v,y,m,w);if(!(1&v)){var qn=Sn&&Zo.call(j,"__wrapped__"),Kn=xt&&Zo.call(le,"__wrapped__");if(qn||Kn){var yr=qn?j.value():j,ao=Kn?le.value():le;return w||(w=new ee),m(yr,ao,v,y,w)}}return!!Vt&&(w||(w=new ee),function bn(j,le,v,y,m,w){var k=1&v,be=Wn(j),Xe=be.length;if(Xe!=Wn(le).length&&!k)return!1;for(var xt=Xe;xt--;){var Vt=be[xt];if(!(k?Vt in le:Hr.call(le,Vt)))return!1}var qn=w.get(j),Kn=w.get(le);if(qn&&Kn)return qn==le&&Kn==j;var yr=!0;w.set(j,le),w.set(le,j);for(var ao=k;++xt<Xe;){var ur=j[Vt=be[xt]],Pt=le[Vt];if(y)var uo=k?y(Pt,ur,Vt,le,j,w):y(ur,Pt,Vt,j,le,w);if(!(void 0===uo?ur===Pt||m(ur,Pt,v,y,w):uo)){yr=!1;break}ao||(ao="constructor"==Vt)}if(yr&&!ao){var Et=j.constructor,lr=le.constructor;Et!=lr&&"constructor"in j&&"constructor"in le&&!("function"==typeof Et&&Et instanceof Et&&"function"==typeof lr&&lr instanceof lr)&&(yr=!1)}return w.delete(j),w.delete(le),yr}(j,le,v,y,m,w))},Ki=function $r(j,le,v,y,m){return j===le||(null==j||null==le||!(0,Jt.Z)(j)&&!(0,Jt.Z)(le)?j!=j&&le!=le:li(j,le,v,y,$r,m))},Ji=function ci(j,le){return Ki(j,le)}},2089:(Le,ie,T)=>{"use strict";T.d(ie,{Z:()=>ne});var s=T(7079),V=T(1999);const ne=function ge(Y){if(!(0,V.Z)(Y))return!1;var x=(0,s.Z)(Y);return"[object Function]"==x||"[object GeneratorFunction]"==x||"[object AsyncFunction]"==x||"[object Proxy]"==x}},1999:(Le,ie,T)=>{"use strict";T.d(ie,{Z:()=>V});const V=function s(te){var oe=typeof te;return null!=te&&("object"==oe||"function"==oe)}},214:(Le,ie,T)=>{"use strict";T.d(ie,{Z:()=>V});const V=function s(te){return null!=te&&"object"==typeof te}},5689:(Le,ie,T)=>{"use strict";T.d(ie,{Z:()=>X});var s=T(7079),V=T(4177),te=T(214);const X=function J(ge){return"string"==typeof ge||!(0,V.Z)(ge)&&(0,te.Z)(ge)&&"[object String]"==(0,s.Z)(ge)}}},Le=>{Le(Le.s=5206)}]); \ No newline at end of file diff --git a/docs/polyfills.aa4c97512125549f.js b/docs/polyfills.aa4c97512125549f.js new file mode 100644 index 0000000..f1c91b5 --- /dev/null +++ b/docs/polyfills.aa4c97512125549f.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunknb_form_demo=self.webpackChunknb_form_demo||[]).push([[429],{5321:(ie,Ee,de)=>{de(8332)},8332:()=>{!function(e){const n=e.performance;function i(L){n&&n.mark&&n.mark(L)}function o(L,T){n&&n.measure&&n.measure(L,T)}i("Zone");const c=e.__Zone_symbol_prefix||"__zone_symbol__";function a(L){return c+L}const y=!0===e[a("forceDuplicateZoneCheck")];if(e.Zone){if(y||"function"!=typeof e.Zone.__symbol__)throw new Error("Zone already loaded.");return e.Zone}let d=(()=>{class L{static#e=this.__symbol__=a;static assertZonePatched(){if(e.Promise!==oe.ZoneAwarePromise)throw new Error("Zone.js has detected that ZoneAwarePromise `(window|global).Promise` has been overwritten.\nMost likely cause is that a Promise polyfill has been loaded after Zone.js (Polyfilling Promise api is not necessary when zone.js is loaded. If you must load one, do so before loading zone.js.)")}static get root(){let t=L.current;for(;t.parent;)t=t.parent;return t}static get current(){return U.zone}static get currentTask(){return re}static __load_patch(t,r,k=!1){if(oe.hasOwnProperty(t)){if(!k&&y)throw Error("Already loaded patch: "+t)}else if(!e["__Zone_disable_"+t]){const C="Zone:"+t;i(C),oe[t]=r(e,L,z),o(C,C)}}get parent(){return this._parent}get name(){return this._name}constructor(t,r){this._parent=t,this._name=r?r.name||"unnamed":"<root>",this._properties=r&&r.properties||{},this._zoneDelegate=new v(this,this._parent&&this._parent._zoneDelegate,r)}get(t){const r=this.getZoneWith(t);if(r)return r._properties[t]}getZoneWith(t){let r=this;for(;r;){if(r._properties.hasOwnProperty(t))return r;r=r._parent}return null}fork(t){if(!t)throw new Error("ZoneSpec required!");return this._zoneDelegate.fork(this,t)}wrap(t,r){if("function"!=typeof t)throw new Error("Expecting function got: "+t);const k=this._zoneDelegate.intercept(this,t,r),C=this;return function(){return C.runGuarded(k,this,arguments,r)}}run(t,r,k,C){U={parent:U,zone:this};try{return this._zoneDelegate.invoke(this,t,r,k,C)}finally{U=U.parent}}runGuarded(t,r=null,k,C){U={parent:U,zone:this};try{try{return this._zoneDelegate.invoke(this,t,r,k,C)}catch($){if(this._zoneDelegate.handleError(this,$))throw $}}finally{U=U.parent}}runTask(t,r,k){if(t.zone!=this)throw new Error("A task can only be run in the zone of creation! (Creation: "+(t.zone||K).name+"; Execution: "+this.name+")");if(t.state===x&&(t.type===Q||t.type===P))return;const C=t.state!=E;C&&t._transitionTo(E,A),t.runCount++;const $=re;re=t,U={parent:U,zone:this};try{t.type==P&&t.data&&!t.data.isPeriodic&&(t.cancelFn=void 0);try{return this._zoneDelegate.invokeTask(this,t,r,k)}catch(l){if(this._zoneDelegate.handleError(this,l))throw l}}finally{t.state!==x&&t.state!==h&&(t.type==Q||t.data&&t.data.isPeriodic?C&&t._transitionTo(A,E):(t.runCount=0,this._updateTaskCount(t,-1),C&&t._transitionTo(x,E,x))),U=U.parent,re=$}}scheduleTask(t){if(t.zone&&t.zone!==this){let k=this;for(;k;){if(k===t.zone)throw Error(`can not reschedule task to ${this.name} which is descendants of the original zone ${t.zone.name}`);k=k.parent}}t._transitionTo(X,x);const r=[];t._zoneDelegates=r,t._zone=this;try{t=this._zoneDelegate.scheduleTask(this,t)}catch(k){throw t._transitionTo(h,X,x),this._zoneDelegate.handleError(this,k),k}return t._zoneDelegates===r&&this._updateTaskCount(t,1),t.state==X&&t._transitionTo(A,X),t}scheduleMicroTask(t,r,k,C){return this.scheduleTask(new m(I,t,r,k,C,void 0))}scheduleMacroTask(t,r,k,C,$){return this.scheduleTask(new m(P,t,r,k,C,$))}scheduleEventTask(t,r,k,C,$){return this.scheduleTask(new m(Q,t,r,k,C,$))}cancelTask(t){if(t.zone!=this)throw new Error("A task can only be cancelled in the zone of creation! (Creation: "+(t.zone||K).name+"; Execution: "+this.name+")");if(t.state===A||t.state===E){t._transitionTo(G,A,E);try{this._zoneDelegate.cancelTask(this,t)}catch(r){throw t._transitionTo(h,G),this._zoneDelegate.handleError(this,r),r}return this._updateTaskCount(t,-1),t._transitionTo(x,G),t.runCount=0,t}}_updateTaskCount(t,r){const k=t._zoneDelegates;-1==r&&(t._zoneDelegates=null);for(let C=0;C<k.length;C++)k[C]._updateTaskCount(t.type,r)}}return L})();const b={name:"",onHasTask:(L,T,t,r)=>L.hasTask(t,r),onScheduleTask:(L,T,t,r)=>L.scheduleTask(t,r),onInvokeTask:(L,T,t,r,k,C)=>L.invokeTask(t,r,k,C),onCancelTask:(L,T,t,r)=>L.cancelTask(t,r)};class v{constructor(T,t,r){this._taskCounts={microTask:0,macroTask:0,eventTask:0},this.zone=T,this._parentDelegate=t,this._forkZS=r&&(r&&r.onFork?r:t._forkZS),this._forkDlgt=r&&(r.onFork?t:t._forkDlgt),this._forkCurrZone=r&&(r.onFork?this.zone:t._forkCurrZone),this._interceptZS=r&&(r.onIntercept?r:t._interceptZS),this._interceptDlgt=r&&(r.onIntercept?t:t._interceptDlgt),this._interceptCurrZone=r&&(r.onIntercept?this.zone:t._interceptCurrZone),this._invokeZS=r&&(r.onInvoke?r:t._invokeZS),this._invokeDlgt=r&&(r.onInvoke?t:t._invokeDlgt),this._invokeCurrZone=r&&(r.onInvoke?this.zone:t._invokeCurrZone),this._handleErrorZS=r&&(r.onHandleError?r:t._handleErrorZS),this._handleErrorDlgt=r&&(r.onHandleError?t:t._handleErrorDlgt),this._handleErrorCurrZone=r&&(r.onHandleError?this.zone:t._handleErrorCurrZone),this._scheduleTaskZS=r&&(r.onScheduleTask?r:t._scheduleTaskZS),this._scheduleTaskDlgt=r&&(r.onScheduleTask?t:t._scheduleTaskDlgt),this._scheduleTaskCurrZone=r&&(r.onScheduleTask?this.zone:t._scheduleTaskCurrZone),this._invokeTaskZS=r&&(r.onInvokeTask?r:t._invokeTaskZS),this._invokeTaskDlgt=r&&(r.onInvokeTask?t:t._invokeTaskDlgt),this._invokeTaskCurrZone=r&&(r.onInvokeTask?this.zone:t._invokeTaskCurrZone),this._cancelTaskZS=r&&(r.onCancelTask?r:t._cancelTaskZS),this._cancelTaskDlgt=r&&(r.onCancelTask?t:t._cancelTaskDlgt),this._cancelTaskCurrZone=r&&(r.onCancelTask?this.zone:t._cancelTaskCurrZone),this._hasTaskZS=null,this._hasTaskDlgt=null,this._hasTaskDlgtOwner=null,this._hasTaskCurrZone=null;const k=r&&r.onHasTask;(k||t&&t._hasTaskZS)&&(this._hasTaskZS=k?r:b,this._hasTaskDlgt=t,this._hasTaskDlgtOwner=this,this._hasTaskCurrZone=T,r.onScheduleTask||(this._scheduleTaskZS=b,this._scheduleTaskDlgt=t,this._scheduleTaskCurrZone=this.zone),r.onInvokeTask||(this._invokeTaskZS=b,this._invokeTaskDlgt=t,this._invokeTaskCurrZone=this.zone),r.onCancelTask||(this._cancelTaskZS=b,this._cancelTaskDlgt=t,this._cancelTaskCurrZone=this.zone))}fork(T,t){return this._forkZS?this._forkZS.onFork(this._forkDlgt,this.zone,T,t):new d(T,t)}intercept(T,t,r){return this._interceptZS?this._interceptZS.onIntercept(this._interceptDlgt,this._interceptCurrZone,T,t,r):t}invoke(T,t,r,k,C){return this._invokeZS?this._invokeZS.onInvoke(this._invokeDlgt,this._invokeCurrZone,T,t,r,k,C):t.apply(r,k)}handleError(T,t){return!this._handleErrorZS||this._handleErrorZS.onHandleError(this._handleErrorDlgt,this._handleErrorCurrZone,T,t)}scheduleTask(T,t){let r=t;if(this._scheduleTaskZS)this._hasTaskZS&&r._zoneDelegates.push(this._hasTaskDlgtOwner),r=this._scheduleTaskZS.onScheduleTask(this._scheduleTaskDlgt,this._scheduleTaskCurrZone,T,t),r||(r=t);else if(t.scheduleFn)t.scheduleFn(t);else{if(t.type!=I)throw new Error("Task is missing scheduleFn.");R(t)}return r}invokeTask(T,t,r,k){return this._invokeTaskZS?this._invokeTaskZS.onInvokeTask(this._invokeTaskDlgt,this._invokeTaskCurrZone,T,t,r,k):t.callback.apply(r,k)}cancelTask(T,t){let r;if(this._cancelTaskZS)r=this._cancelTaskZS.onCancelTask(this._cancelTaskDlgt,this._cancelTaskCurrZone,T,t);else{if(!t.cancelFn)throw Error("Task is not cancelable");r=t.cancelFn(t)}return r}hasTask(T,t){try{this._hasTaskZS&&this._hasTaskZS.onHasTask(this._hasTaskDlgt,this._hasTaskCurrZone,T,t)}catch(r){this.handleError(T,r)}}_updateTaskCount(T,t){const r=this._taskCounts,k=r[T],C=r[T]=k+t;if(C<0)throw new Error("More tasks executed then were scheduled.");0!=k&&0!=C||this.hasTask(this.zone,{microTask:r.microTask>0,macroTask:r.macroTask>0,eventTask:r.eventTask>0,change:T})}}class m{constructor(T,t,r,k,C,$){if(this._zone=null,this.runCount=0,this._zoneDelegates=null,this._state="notScheduled",this.type=T,this.source=t,this.data=k,this.scheduleFn=C,this.cancelFn=$,!r)throw new Error("callback is not defined");this.callback=r;const l=this;this.invoke=T===Q&&k&&k.useG?m.invokeTask:function(){return m.invokeTask.call(e,l,this,arguments)}}static invokeTask(T,t,r){T||(T=this),ee++;try{return T.runCount++,T.zone.runTask(T,t,r)}finally{1==ee&&_(),ee--}}get zone(){return this._zone}get state(){return this._state}cancelScheduleRequest(){this._transitionTo(x,X)}_transitionTo(T,t,r){if(this._state!==t&&this._state!==r)throw new Error(`${this.type} '${this.source}': can not transition to '${T}', expecting state '${t}'${r?" or '"+r+"'":""}, was '${this._state}'.`);this._state=T,T==x&&(this._zoneDelegates=null)}toString(){return this.data&&typeof this.data.handleId<"u"?this.data.handleId.toString():Object.prototype.toString.call(this)}toJSON(){return{type:this.type,state:this.state,source:this.source,zone:this.zone.name,runCount:this.runCount}}}const M=a("setTimeout"),Z=a("Promise"),N=a("then");let J,B=[],H=!1;function q(L){if(J||e[Z]&&(J=e[Z].resolve(0)),J){let T=J[N];T||(T=J.then),T.call(J,L)}else e[M](L,0)}function R(L){0===ee&&0===B.length&&q(_),L&&B.push(L)}function _(){if(!H){for(H=!0;B.length;){const L=B;B=[];for(let T=0;T<L.length;T++){const t=L[T];try{t.zone.runTask(t,null,null)}catch(r){z.onUnhandledError(r)}}}z.microtaskDrainDone(),H=!1}}const K={name:"NO ZONE"},x="notScheduled",X="scheduling",A="scheduled",E="running",G="canceling",h="unknown",I="microTask",P="macroTask",Q="eventTask",oe={},z={symbol:a,currentZoneFrame:()=>U,onUnhandledError:W,microtaskDrainDone:W,scheduleMicroTask:R,showUncaughtError:()=>!d[a("ignoreConsoleErrorUncaughtError")],patchEventTarget:()=>[],patchOnProperties:W,patchMethod:()=>W,bindArguments:()=>[],patchThen:()=>W,patchMacroTask:()=>W,patchEventPrototype:()=>W,isIEOrEdge:()=>!1,getGlobalObjects:()=>{},ObjectDefineProperty:()=>W,ObjectGetOwnPropertyDescriptor:()=>{},ObjectCreate:()=>{},ArraySlice:()=>[],patchClass:()=>W,wrapWithCurrentZone:()=>W,filterProperties:()=>[],attachOriginToPatched:()=>W,_redefineProperty:()=>W,patchCallbacks:()=>W,nativeScheduleMicroTask:q};let U={parent:null,zone:new d(null,null)},re=null,ee=0;function W(){}o("Zone","Zone"),e.Zone=d}(globalThis);const ie=Object.getOwnPropertyDescriptor,Ee=Object.defineProperty,de=Object.getPrototypeOf,ge=Object.create,Ve=Array.prototype.slice,Se="addEventListener",Oe="removeEventListener",Ze=Zone.__symbol__(Se),Ne=Zone.__symbol__(Oe),ce="true",ae="false",ke=Zone.__symbol__("");function Ie(e,n){return Zone.current.wrap(e,n)}function Me(e,n,i,o,c){return Zone.current.scheduleMacroTask(e,n,i,o,c)}const j=Zone.__symbol__,Pe=typeof window<"u",Te=Pe?window:void 0,Y=Pe&&Te||globalThis,ct="removeAttribute";function Le(e,n){for(let i=e.length-1;i>=0;i--)"function"==typeof e[i]&&(e[i]=Ie(e[i],n+"_"+i));return e}function Fe(e){return!e||!1!==e.writable&&!("function"==typeof e.get&&typeof e.set>"u")}const Be=typeof WorkerGlobalScope<"u"&&self instanceof WorkerGlobalScope,we=!("nw"in Y)&&typeof Y.process<"u"&&"[object process]"==={}.toString.call(Y.process),Ae=!we&&!Be&&!(!Pe||!Te.HTMLElement),Ue=typeof Y.process<"u"&&"[object process]"==={}.toString.call(Y.process)&&!Be&&!(!Pe||!Te.HTMLElement),Re={},We=function(e){if(!(e=e||Y.event))return;let n=Re[e.type];n||(n=Re[e.type]=j("ON_PROPERTY"+e.type));const i=this||e.target||Y,o=i[n];let c;return Ae&&i===Te&&"error"===e.type?(c=o&&o.call(this,e.message,e.filename,e.lineno,e.colno,e.error),!0===c&&e.preventDefault()):(c=o&&o.apply(this,arguments),null!=c&&!c&&e.preventDefault()),c};function qe(e,n,i){let o=ie(e,n);if(!o&&i&&ie(i,n)&&(o={enumerable:!0,configurable:!0}),!o||!o.configurable)return;const c=j("on"+n+"patched");if(e.hasOwnProperty(c)&&e[c])return;delete o.writable,delete o.value;const a=o.get,y=o.set,d=n.slice(2);let b=Re[d];b||(b=Re[d]=j("ON_PROPERTY"+d)),o.set=function(v){let m=this;!m&&e===Y&&(m=Y),m&&("function"==typeof m[b]&&m.removeEventListener(d,We),y&&y.call(m,null),m[b]=v,"function"==typeof v&&m.addEventListener(d,We,!1))},o.get=function(){let v=this;if(!v&&e===Y&&(v=Y),!v)return null;const m=v[b];if(m)return m;if(a){let M=a.call(this);if(M)return o.set.call(this,M),"function"==typeof v[ct]&&v.removeAttribute(n),M}return null},Ee(e,n,o),e[c]=!0}function Xe(e,n,i){if(n)for(let o=0;o<n.length;o++)qe(e,"on"+n[o],i);else{const o=[];for(const c in e)"on"==c.slice(0,2)&&o.push(c);for(let c=0;c<o.length;c++)qe(e,o[c],i)}}const ne=j("originalInstance");function ve(e){const n=Y[e];if(!n)return;Y[j(e)]=n,Y[e]=function(){const c=Le(arguments,e);switch(c.length){case 0:this[ne]=new n;break;case 1:this[ne]=new n(c[0]);break;case 2:this[ne]=new n(c[0],c[1]);break;case 3:this[ne]=new n(c[0],c[1],c[2]);break;case 4:this[ne]=new n(c[0],c[1],c[2],c[3]);break;default:throw new Error("Arg list too long.")}},ue(Y[e],n);const i=new n(function(){});let o;for(o in i)"XMLHttpRequest"===e&&"responseBlob"===o||function(c){"function"==typeof i[c]?Y[e].prototype[c]=function(){return this[ne][c].apply(this[ne],arguments)}:Ee(Y[e].prototype,c,{set:function(a){"function"==typeof a?(this[ne][c]=Ie(a,e+"."+c),ue(this[ne][c],a)):this[ne][c]=a},get:function(){return this[ne][c]}})}(o);for(o in n)"prototype"!==o&&n.hasOwnProperty(o)&&(Y[e][o]=n[o])}function le(e,n,i){let o=e;for(;o&&!o.hasOwnProperty(n);)o=de(o);!o&&e[n]&&(o=e);const c=j(n);let a=null;if(o&&(!(a=o[c])||!o.hasOwnProperty(c))&&(a=o[c]=o[n],Fe(o&&ie(o,n)))){const d=i(a,c,n);o[n]=function(){return d(this,arguments)},ue(o[n],a)}return a}function lt(e,n,i){let o=null;function c(a){const y=a.data;return y.args[y.cbIdx]=function(){a.invoke.apply(this,arguments)},o.apply(y.target,y.args),a}o=le(e,n,a=>function(y,d){const b=i(y,d);return b.cbIdx>=0&&"function"==typeof d[b.cbIdx]?Me(b.name,d[b.cbIdx],b,c):a.apply(y,d)})}function ue(e,n){e[j("OriginalDelegate")]=n}let ze=!1,je=!1;function ft(){if(ze)return je;ze=!0;try{const e=Te.navigator.userAgent;(-1!==e.indexOf("MSIE ")||-1!==e.indexOf("Trident/")||-1!==e.indexOf("Edge/"))&&(je=!0)}catch{}return je}Zone.__load_patch("ZoneAwarePromise",(e,n,i)=>{const o=Object.getOwnPropertyDescriptor,c=Object.defineProperty,y=i.symbol,d=[],b=!1!==e[y("DISABLE_WRAPPING_UNCAUGHT_PROMISE_REJECTION")],v=y("Promise"),m=y("then"),M="__creationTrace__";i.onUnhandledError=l=>{if(i.showUncaughtError()){const u=l&&l.rejection;u?console.error("Unhandled Promise rejection:",u instanceof Error?u.message:u,"; Zone:",l.zone.name,"; Task:",l.task&&l.task.source,"; Value:",u,u instanceof Error?u.stack:void 0):console.error(l)}},i.microtaskDrainDone=()=>{for(;d.length;){const l=d.shift();try{l.zone.runGuarded(()=>{throw l.throwOriginal?l.rejection:l})}catch(u){N(u)}}};const Z=y("unhandledPromiseRejectionHandler");function N(l){i.onUnhandledError(l);try{const u=n[Z];"function"==typeof u&&u.call(this,l)}catch{}}function B(l){return l&&l.then}function H(l){return l}function J(l){return t.reject(l)}const q=y("state"),R=y("value"),_=y("finally"),K=y("parentPromiseValue"),x=y("parentPromiseState"),X="Promise.then",A=null,E=!0,G=!1,h=0;function I(l,u){return s=>{try{z(l,u,s)}catch(f){z(l,!1,f)}}}const P=function(){let l=!1;return function(s){return function(){l||(l=!0,s.apply(null,arguments))}}},Q="Promise resolved with itself",oe=y("currentTaskTrace");function z(l,u,s){const f=P();if(l===s)throw new TypeError(Q);if(l[q]===A){let g=null;try{("object"==typeof s||"function"==typeof s)&&(g=s&&s.then)}catch(w){return f(()=>{z(l,!1,w)})(),l}if(u!==G&&s instanceof t&&s.hasOwnProperty(q)&&s.hasOwnProperty(R)&&s[q]!==A)re(s),z(l,s[q],s[R]);else if(u!==G&&"function"==typeof g)try{g.call(s,f(I(l,u)),f(I(l,!1)))}catch(w){f(()=>{z(l,!1,w)})()}else{l[q]=u;const w=l[R];if(l[R]=s,l[_]===_&&u===E&&(l[q]=l[x],l[R]=l[K]),u===G&&s instanceof Error){const p=n.currentTask&&n.currentTask.data&&n.currentTask.data[M];p&&c(s,oe,{configurable:!0,enumerable:!1,writable:!0,value:p})}for(let p=0;p<w.length;)ee(l,w[p++],w[p++],w[p++],w[p++]);if(0==w.length&&u==G){l[q]=h;let p=s;try{throw new Error("Uncaught (in promise): "+function a(l){return l&&l.toString===Object.prototype.toString?(l.constructor&&l.constructor.name||"")+": "+JSON.stringify(l):l?l.toString():Object.prototype.toString.call(l)}(s)+(s&&s.stack?"\n"+s.stack:""))}catch(D){p=D}b&&(p.throwOriginal=!0),p.rejection=s,p.promise=l,p.zone=n.current,p.task=n.currentTask,d.push(p),i.scheduleMicroTask()}}}return l}const U=y("rejectionHandledHandler");function re(l){if(l[q]===h){try{const u=n[U];u&&"function"==typeof u&&u.call(this,{rejection:l[R],promise:l})}catch{}l[q]=G;for(let u=0;u<d.length;u++)l===d[u].promise&&d.splice(u,1)}}function ee(l,u,s,f,g){re(l);const w=l[q],p=w?"function"==typeof f?f:H:"function"==typeof g?g:J;u.scheduleMicroTask(X,()=>{try{const D=l[R],S=!!s&&_===s[_];S&&(s[K]=D,s[x]=w);const O=u.run(p,void 0,S&&p!==J&&p!==H?[]:[D]);z(s,!0,O)}catch(D){z(s,!1,D)}},s)}const L=function(){},T=e.AggregateError;class t{static toString(){return"function ZoneAwarePromise() { [native code] }"}static resolve(u){return z(new this(null),E,u)}static reject(u){return z(new this(null),G,u)}static any(u){if(!u||"function"!=typeof u[Symbol.iterator])return Promise.reject(new T([],"All promises were rejected"));const s=[];let f=0;try{for(let p of u)f++,s.push(t.resolve(p))}catch{return Promise.reject(new T([],"All promises were rejected"))}if(0===f)return Promise.reject(new T([],"All promises were rejected"));let g=!1;const w=[];return new t((p,D)=>{for(let S=0;S<s.length;S++)s[S].then(O=>{g||(g=!0,p(O))},O=>{w.push(O),f--,0===f&&(g=!0,D(new T(w,"All promises were rejected")))})})}static race(u){let s,f,g=new this((D,S)=>{s=D,f=S});function w(D){s(D)}function p(D){f(D)}for(let D of u)B(D)||(D=this.resolve(D)),D.then(w,p);return g}static all(u){return t.allWithCallback(u)}static allSettled(u){return(this&&this.prototype instanceof t?this:t).allWithCallback(u,{thenCallback:f=>({status:"fulfilled",value:f}),errorCallback:f=>({status:"rejected",reason:f})})}static allWithCallback(u,s){let f,g,w=new this((O,V)=>{f=O,g=V}),p=2,D=0;const S=[];for(let O of u){B(O)||(O=this.resolve(O));const V=D;try{O.then(F=>{S[V]=s?s.thenCallback(F):F,p--,0===p&&f(S)},F=>{s?(S[V]=s.errorCallback(F),p--,0===p&&f(S)):g(F)})}catch(F){g(F)}p++,D++}return p-=2,0===p&&f(S),w}constructor(u){const s=this;if(!(s instanceof t))throw new Error("Must be an instanceof Promise.");s[q]=A,s[R]=[];try{const f=P();u&&u(f(I(s,E)),f(I(s,G)))}catch(f){z(s,!1,f)}}get[Symbol.toStringTag](){return"Promise"}get[Symbol.species](){return t}then(u,s){let f=this.constructor?.[Symbol.species];(!f||"function"!=typeof f)&&(f=this.constructor||t);const g=new f(L),w=n.current;return this[q]==A?this[R].push(w,g,u,s):ee(this,w,g,u,s),g}catch(u){return this.then(null,u)}finally(u){let s=this.constructor?.[Symbol.species];(!s||"function"!=typeof s)&&(s=t);const f=new s(L);f[_]=_;const g=n.current;return this[q]==A?this[R].push(g,f,u,u):ee(this,g,f,u,u),f}}t.resolve=t.resolve,t.reject=t.reject,t.race=t.race,t.all=t.all;const r=e[v]=e.Promise;e.Promise=t;const k=y("thenPatched");function C(l){const u=l.prototype,s=o(u,"then");if(s&&(!1===s.writable||!s.configurable))return;const f=u.then;u[m]=f,l.prototype.then=function(g,w){return new t((D,S)=>{f.call(this,D,S)}).then(g,w)},l[k]=!0}return i.patchThen=C,r&&(C(r),le(e,"fetch",l=>function $(l){return function(u,s){let f=l.apply(u,s);if(f instanceof t)return f;let g=f.constructor;return g[k]||C(g),f}}(l))),Promise[n.__symbol__("uncaughtPromiseErrors")]=d,t}),Zone.__load_patch("toString",e=>{const n=Function.prototype.toString,i=j("OriginalDelegate"),o=j("Promise"),c=j("Error"),a=function(){if("function"==typeof this){const v=this[i];if(v)return"function"==typeof v?n.call(v):Object.prototype.toString.call(v);if(this===Promise){const m=e[o];if(m)return n.call(m)}if(this===Error){const m=e[c];if(m)return n.call(m)}}return n.call(this)};a[i]=n,Function.prototype.toString=a;const y=Object.prototype.toString;Object.prototype.toString=function(){return"function"==typeof Promise&&this instanceof Promise?"[object Promise]":y.call(this)}});let ye=!1;if(typeof window<"u")try{const e=Object.defineProperty({},"passive",{get:function(){ye=!0}});window.addEventListener("test",e,e),window.removeEventListener("test",e,e)}catch{ye=!1}const ht={useG:!0},te={},Ye={},$e=new RegExp("^"+ke+"(\\w+)(true|false)$"),Ke=j("propagationStopped");function Je(e,n){const i=(n?n(e):e)+ae,o=(n?n(e):e)+ce,c=ke+i,a=ke+o;te[e]={},te[e][ae]=c,te[e][ce]=a}function dt(e,n,i,o){const c=o&&o.add||Se,a=o&&o.rm||Oe,y=o&&o.listeners||"eventListeners",d=o&&o.rmAll||"removeAllListeners",b=j(c),v="."+c+":",m="prependListener",M="."+m+":",Z=function(R,_,K){if(R.isRemoved)return;const x=R.callback;let X;"object"==typeof x&&x.handleEvent&&(R.callback=E=>x.handleEvent(E),R.originalDelegate=x);try{R.invoke(R,_,[K])}catch(E){X=E}const A=R.options;return A&&"object"==typeof A&&A.once&&_[a].call(_,K.type,R.originalDelegate?R.originalDelegate:R.callback,A),X};function N(R,_,K){if(!(_=_||e.event))return;const x=R||_.target||e,X=x[te[_.type][K?ce:ae]];if(X){const A=[];if(1===X.length){const E=Z(X[0],x,_);E&&A.push(E)}else{const E=X.slice();for(let G=0;G<E.length&&(!_||!0!==_[Ke]);G++){const h=Z(E[G],x,_);h&&A.push(h)}}if(1===A.length)throw A[0];for(let E=0;E<A.length;E++){const G=A[E];n.nativeScheduleMicroTask(()=>{throw G})}}}const B=function(R){return N(this,R,!1)},H=function(R){return N(this,R,!0)};function J(R,_){if(!R)return!1;let K=!0;_&&void 0!==_.useG&&(K=_.useG);const x=_&&_.vh;let X=!0;_&&void 0!==_.chkDup&&(X=_.chkDup);let A=!1;_&&void 0!==_.rt&&(A=_.rt);let E=R;for(;E&&!E.hasOwnProperty(c);)E=de(E);if(!E&&R[c]&&(E=R),!E||E[b])return!1;const G=_&&_.eventNameToString,h={},I=E[b]=E[c],P=E[j(a)]=E[a],Q=E[j(y)]=E[y],oe=E[j(d)]=E[d];let z;_&&_.prepend&&(z=E[j(_.prepend)]=E[_.prepend]);const t=K?function(s){if(!h.isExisting)return I.call(h.target,h.eventName,h.capture?H:B,h.options)}:function(s){return I.call(h.target,h.eventName,s.invoke,h.options)},r=K?function(s){if(!s.isRemoved){const f=te[s.eventName];let g;f&&(g=f[s.capture?ce:ae]);const w=g&&s.target[g];if(w)for(let p=0;p<w.length;p++)if(w[p]===s){w.splice(p,1),s.isRemoved=!0,0===w.length&&(s.allRemoved=!0,s.target[g]=null);break}}if(s.allRemoved)return P.call(s.target,s.eventName,s.capture?H:B,s.options)}:function(s){return P.call(s.target,s.eventName,s.invoke,s.options)},C=_&&_.diff?_.diff:function(s,f){const g=typeof f;return"function"===g&&s.callback===f||"object"===g&&s.originalDelegate===f},$=Zone[j("UNPATCHED_EVENTS")],l=e[j("PASSIVE_EVENTS")],u=function(s,f,g,w,p=!1,D=!1){return function(){const S=this||e;let O=arguments[0];_&&_.transferEventName&&(O=_.transferEventName(O));let V=arguments[1];if(!V)return s.apply(this,arguments);if(we&&"uncaughtException"===O)return s.apply(this,arguments);let F=!1;if("function"!=typeof V){if(!V.handleEvent)return s.apply(this,arguments);F=!0}if(x&&!x(s,V,S,arguments))return;const fe=ye&&!!l&&-1!==l.indexOf(O),se=function U(s,f){return!ye&&"object"==typeof s&&s?!!s.capture:ye&&f?"boolean"==typeof s?{capture:s,passive:!0}:s?"object"==typeof s&&!1!==s.passive?{...s,passive:!0}:s:{passive:!0}:s}(arguments[2],fe);if($)for(let _e=0;_e<$.length;_e++)if(O===$[_e])return fe?s.call(S,O,V,se):s.apply(this,arguments);const xe=!!se&&("boolean"==typeof se||se.capture),nt=!(!se||"object"!=typeof se)&&se.once,kt=Zone.current;let Ge=te[O];Ge||(Je(O,G),Ge=te[O]);const rt=Ge[xe?ce:ae];let De,pe=S[rt],ot=!1;if(pe){if(ot=!0,X)for(let _e=0;_e<pe.length;_e++)if(C(pe[_e],V))return}else pe=S[rt]=[];const st=S.constructor.name,it=Ye[st];it&&(De=it[O]),De||(De=st+f+(G?G(O):O)),h.options=se,nt&&(h.options.once=!1),h.target=S,h.capture=xe,h.eventName=O,h.isExisting=ot;const be=K?ht:void 0;be&&(be.taskData=h);const he=kt.scheduleEventTask(De,V,be,g,w);return h.target=null,be&&(be.taskData=null),nt&&(se.once=!0),!ye&&"boolean"==typeof he.options||(he.options=se),he.target=S,he.capture=xe,he.eventName=O,F&&(he.originalDelegate=V),D?pe.unshift(he):pe.push(he),p?S:void 0}};return E[c]=u(I,v,t,r,A),z&&(E[m]=u(z,M,function(s){return z.call(h.target,h.eventName,s.invoke,h.options)},r,A,!0)),E[a]=function(){const s=this||e;let f=arguments[0];_&&_.transferEventName&&(f=_.transferEventName(f));const g=arguments[2],w=!!g&&("boolean"==typeof g||g.capture),p=arguments[1];if(!p)return P.apply(this,arguments);if(x&&!x(P,p,s,arguments))return;const D=te[f];let S;D&&(S=D[w?ce:ae]);const O=S&&s[S];if(O)for(let V=0;V<O.length;V++){const F=O[V];if(C(F,p))return O.splice(V,1),F.isRemoved=!0,0===O.length&&(F.allRemoved=!0,s[S]=null,"string"==typeof f)&&(s[ke+"ON_PROPERTY"+f]=null),F.zone.cancelTask(F),A?s:void 0}return P.apply(this,arguments)},E[y]=function(){const s=this||e;let f=arguments[0];_&&_.transferEventName&&(f=_.transferEventName(f));const g=[],w=Qe(s,G?G(f):f);for(let p=0;p<w.length;p++){const D=w[p];g.push(D.originalDelegate?D.originalDelegate:D.callback)}return g},E[d]=function(){const s=this||e;let f=arguments[0];if(f){_&&_.transferEventName&&(f=_.transferEventName(f));const g=te[f];if(g){const D=s[g[ae]],S=s[g[ce]];if(D){const O=D.slice();for(let V=0;V<O.length;V++){const F=O[V];this[a].call(this,f,F.originalDelegate?F.originalDelegate:F.callback,F.options)}}if(S){const O=S.slice();for(let V=0;V<O.length;V++){const F=O[V];this[a].call(this,f,F.originalDelegate?F.originalDelegate:F.callback,F.options)}}}}else{const g=Object.keys(s);for(let w=0;w<g.length;w++){const D=$e.exec(g[w]);let S=D&&D[1];S&&"removeListener"!==S&&this[d].call(this,S)}this[d].call(this,"removeListener")}if(A)return this},ue(E[c],I),ue(E[a],P),oe&&ue(E[d],oe),Q&&ue(E[y],Q),!0}let q=[];for(let R=0;R<i.length;R++)q[R]=J(i[R],o);return q}function Qe(e,n){if(!n){const a=[];for(let y in e){const d=$e.exec(y);let b=d&&d[1];if(b&&(!n||b===n)){const v=e[y];if(v)for(let m=0;m<v.length;m++)a.push(v[m])}}return a}let i=te[n];i||(Je(n),i=te[n]);const o=e[i[ae]],c=e[i[ce]];return o?c?o.concat(c):o.slice():c?c.slice():[]}function _t(e,n){const i=e.Event;i&&i.prototype&&n.patchMethod(i.prototype,"stopImmediatePropagation",o=>function(c,a){c[Ke]=!0,o&&o.apply(c,a)})}function Et(e,n,i,o,c){const a=Zone.__symbol__(o);if(n[a])return;const y=n[a]=n[o];n[o]=function(d,b,v){return b&&b.prototype&&c.forEach(function(m){const M=`${i}.${o}::`+m,Z=b.prototype;try{if(Z.hasOwnProperty(m)){const N=e.ObjectGetOwnPropertyDescriptor(Z,m);N&&N.value?(N.value=e.wrapWithCurrentZone(N.value,M),e._redefineProperty(b.prototype,m,N)):Z[m]&&(Z[m]=e.wrapWithCurrentZone(Z[m],M))}else Z[m]&&(Z[m]=e.wrapWithCurrentZone(Z[m],M))}catch{}}),y.call(n,d,b,v)},e.attachOriginToPatched(n[o],y)}function et(e,n,i){if(!i||0===i.length)return n;const o=i.filter(a=>a.target===e);if(!o||0===o.length)return n;const c=o[0].ignoreProperties;return n.filter(a=>-1===c.indexOf(a))}function tt(e,n,i,o){e&&Xe(e,et(e,n,i),o)}function He(e){return Object.getOwnPropertyNames(e).filter(n=>n.startsWith("on")&&n.length>2).map(n=>n.substring(2))}Zone.__load_patch("util",(e,n,i)=>{const o=He(e);i.patchOnProperties=Xe,i.patchMethod=le,i.bindArguments=Le,i.patchMacroTask=lt;const c=n.__symbol__("BLACK_LISTED_EVENTS"),a=n.__symbol__("UNPATCHED_EVENTS");e[a]&&(e[c]=e[a]),e[c]&&(n[c]=n[a]=e[c]),i.patchEventPrototype=_t,i.patchEventTarget=dt,i.isIEOrEdge=ft,i.ObjectDefineProperty=Ee,i.ObjectGetOwnPropertyDescriptor=ie,i.ObjectCreate=ge,i.ArraySlice=Ve,i.patchClass=ve,i.wrapWithCurrentZone=Ie,i.filterProperties=et,i.attachOriginToPatched=ue,i._redefineProperty=Object.defineProperty,i.patchCallbacks=Et,i.getGlobalObjects=()=>({globalSources:Ye,zoneSymbolEventNames:te,eventNames:o,isBrowser:Ae,isMix:Ue,isNode:we,TRUE_STR:ce,FALSE_STR:ae,ZONE_SYMBOL_PREFIX:ke,ADD_EVENT_LISTENER_STR:Se,REMOVE_EVENT_LISTENER_STR:Oe})});const Ce=j("zoneTask");function me(e,n,i,o){let c=null,a=null;i+=o;const y={};function d(v){const m=v.data;return m.args[0]=function(){return v.invoke.apply(this,arguments)},m.handleId=c.apply(e,m.args),v}function b(v){return a.call(e,v.data.handleId)}c=le(e,n+=o,v=>function(m,M){if("function"==typeof M[0]){const Z={isPeriodic:"Interval"===o,delay:"Timeout"===o||"Interval"===o?M[1]||0:void 0,args:M},N=M[0];M[0]=function(){try{return N.apply(this,arguments)}finally{Z.isPeriodic||("number"==typeof Z.handleId?delete y[Z.handleId]:Z.handleId&&(Z.handleId[Ce]=null))}};const B=Me(n,M[0],Z,d,b);if(!B)return B;const H=B.data.handleId;return"number"==typeof H?y[H]=B:H&&(H[Ce]=B),H&&H.ref&&H.unref&&"function"==typeof H.ref&&"function"==typeof H.unref&&(B.ref=H.ref.bind(H),B.unref=H.unref.bind(H)),"number"==typeof H||H?H:B}return v.apply(e,M)}),a=le(e,i,v=>function(m,M){const Z=M[0];let N;"number"==typeof Z?N=y[Z]:(N=Z&&Z[Ce],N||(N=Z)),N&&"string"==typeof N.type?"notScheduled"!==N.state&&(N.cancelFn&&N.data.isPeriodic||0===N.runCount)&&("number"==typeof Z?delete y[Z]:Z&&(Z[Ce]=null),N.zone.cancelTask(N)):v.apply(e,M)})}Zone.__load_patch("legacy",e=>{const n=e[Zone.__symbol__("legacyPatch")];n&&n()}),Zone.__load_patch("timers",e=>{const n="set",i="clear";me(e,n,i,"Timeout"),me(e,n,i,"Interval"),me(e,n,i,"Immediate")}),Zone.__load_patch("requestAnimationFrame",e=>{me(e,"request","cancel","AnimationFrame"),me(e,"mozRequest","mozCancel","AnimationFrame"),me(e,"webkitRequest","webkitCancel","AnimationFrame")}),Zone.__load_patch("blocking",(e,n)=>{const i=["alert","prompt","confirm"];for(let o=0;o<i.length;o++)le(e,i[o],(a,y,d)=>function(b,v){return n.current.run(a,e,v,d)})}),Zone.__load_patch("EventTarget",(e,n,i)=>{(function gt(e,n){n.patchEventPrototype(e,n)})(e,i),function pt(e,n){if(Zone[n.symbol("patchEventTarget")])return;const{eventNames:i,zoneSymbolEventNames:o,TRUE_STR:c,FALSE_STR:a,ZONE_SYMBOL_PREFIX:y}=n.getGlobalObjects();for(let b=0;b<i.length;b++){const v=i[b],Z=y+(v+a),N=y+(v+c);o[v]={},o[v][a]=Z,o[v][c]=N}const d=e.EventTarget;d&&d.prototype&&n.patchEventTarget(e,n,[d&&d.prototype])}(e,i);const o=e.XMLHttpRequestEventTarget;o&&o.prototype&&i.patchEventTarget(e,i,[o.prototype])}),Zone.__load_patch("MutationObserver",(e,n,i)=>{ve("MutationObserver"),ve("WebKitMutationObserver")}),Zone.__load_patch("IntersectionObserver",(e,n,i)=>{ve("IntersectionObserver")}),Zone.__load_patch("FileReader",(e,n,i)=>{ve("FileReader")}),Zone.__load_patch("on_property",(e,n,i)=>{!function Tt(e,n){if(we&&!Ue||Zone[e.symbol("patchEvents")])return;const i=n.__Zone_ignore_on_properties;let o=[];if(Ae){const c=window;o=o.concat(["Document","SVGElement","Element","HTMLElement","HTMLBodyElement","HTMLMediaElement","HTMLFrameSetElement","HTMLFrameElement","HTMLIFrameElement","HTMLMarqueeElement","Worker"]);const a=function ut(){try{const e=Te.navigator.userAgent;if(-1!==e.indexOf("MSIE ")||-1!==e.indexOf("Trident/"))return!0}catch{}return!1}()?[{target:c,ignoreProperties:["error"]}]:[];tt(c,He(c),i&&i.concat(a),de(c))}o=o.concat(["XMLHttpRequest","XMLHttpRequestEventTarget","IDBIndex","IDBRequest","IDBOpenDBRequest","IDBDatabase","IDBTransaction","IDBCursor","WebSocket"]);for(let c=0;c<o.length;c++){const a=n[o[c]];a&&a.prototype&&tt(a.prototype,He(a.prototype),i)}}(i,e)}),Zone.__load_patch("customElements",(e,n,i)=>{!function mt(e,n){const{isBrowser:i,isMix:o}=n.getGlobalObjects();(i||o)&&e.customElements&&"customElements"in e&&n.patchCallbacks(n,e.customElements,"customElements","define",["connectedCallback","disconnectedCallback","adoptedCallback","attributeChangedCallback"])}(e,i)}),Zone.__load_patch("XHR",(e,n)=>{!function b(v){const m=v.XMLHttpRequest;if(!m)return;const M=m.prototype;let N=M[Ze],B=M[Ne];if(!N){const h=v.XMLHttpRequestEventTarget;if(h){const I=h.prototype;N=I[Ze],B=I[Ne]}}const H="readystatechange",J="scheduled";function q(h){const I=h.data,P=I.target;P[a]=!1,P[d]=!1;const Q=P[c];N||(N=P[Ze],B=P[Ne]),Q&&B.call(P,H,Q);const oe=P[c]=()=>{if(P.readyState===P.DONE)if(!I.aborted&&P[a]&&h.state===J){const U=P[n.__symbol__("loadfalse")];if(0!==P.status&&U&&U.length>0){const re=h.invoke;h.invoke=function(){const ee=P[n.__symbol__("loadfalse")];for(let W=0;W<ee.length;W++)ee[W]===h&&ee.splice(W,1);!I.aborted&&h.state===J&&re.call(h)},U.push(h)}else h.invoke()}else!I.aborted&&!1===P[a]&&(P[d]=!0)};return N.call(P,H,oe),P[i]||(P[i]=h),E.apply(P,I.args),P[a]=!0,h}function R(){}function _(h){const I=h.data;return I.aborted=!0,G.apply(I.target,I.args)}const K=le(M,"open",()=>function(h,I){return h[o]=0==I[2],h[y]=I[1],K.apply(h,I)}),X=j("fetchTaskAborting"),A=j("fetchTaskScheduling"),E=le(M,"send",()=>function(h,I){if(!0===n.current[A]||h[o])return E.apply(h,I);{const P={target:h,url:h[y],isPeriodic:!1,args:I,aborted:!1},Q=Me("XMLHttpRequest.send",R,P,q,_);h&&!0===h[d]&&!P.aborted&&Q.state===J&&Q.invoke()}}),G=le(M,"abort",()=>function(h,I){const P=function Z(h){return h[i]}(h);if(P&&"string"==typeof P.type){if(null==P.cancelFn||P.data&&P.data.aborted)return;P.zone.cancelTask(P)}else if(!0===n.current[X])return G.apply(h,I)})}(e);const i=j("xhrTask"),o=j("xhrSync"),c=j("xhrListener"),a=j("xhrScheduled"),y=j("xhrURL"),d=j("xhrErrorBeforeScheduled")}),Zone.__load_patch("geolocation",e=>{e.navigator&&e.navigator.geolocation&&function at(e,n){const i=e.constructor.name;for(let o=0;o<n.length;o++){const c=n[o],a=e[c];if(a){if(!Fe(ie(e,c)))continue;e[c]=(d=>{const b=function(){return d.apply(this,Le(arguments,i+"."+c))};return ue(b,d),b})(a)}}}(e.navigator.geolocation,["getCurrentPosition","watchPosition"])}),Zone.__load_patch("PromiseRejectionEvent",(e,n)=>{function i(o){return function(c){Qe(e,o).forEach(y=>{const d=e.PromiseRejectionEvent;if(d){const b=new d(o,{promise:c.promise,reason:c.rejection});y.invoke(b)}})}}e.PromiseRejectionEvent&&(n[j("unhandledPromiseRejectionHandler")]=i("unhandledrejection"),n[j("rejectionHandledHandler")]=i("rejectionhandled"))}),Zone.__load_patch("queueMicrotask",(e,n,i)=>{!function yt(e,n){n.patchMethod(e,"queueMicrotask",i=>function(o,c){Zone.current.scheduleMicroTask("queueMicrotask",c[0])})}(e,i)})}},ie=>{ie(ie.s=5321)}]); \ No newline at end of file diff --git a/docs/polyfills.ce94525ff22a9194.js b/docs/polyfills.ce94525ff22a9194.js deleted file mode 100644 index 444ad4b..0000000 --- a/docs/polyfills.ce94525ff22a9194.js +++ /dev/null @@ -1 +0,0 @@ -"use strict";(self.webpackChunknb_form_demo=self.webpackChunknb_form_demo||[]).push([[429],{7435:(ie,Ee,de)=>{de(8583)},8583:()=>{!function(t){const n=t.performance;function i(M){n&&n.mark&&n.mark(M)}function o(M,T){n&&n.measure&&n.measure(M,T)}i("Zone");const c=t.__Zone_symbol_prefix||"__zone_symbol__";function a(M){return c+M}const y=!0===t[a("forceDuplicateZoneCheck")];if(t.Zone){if(y||"function"!=typeof t.Zone.__symbol__)throw new Error("Zone already loaded.");return t.Zone}let d=(()=>{class M{static assertZonePatched(){if(t.Promise!==oe.ZoneAwarePromise)throw new Error("Zone.js has detected that ZoneAwarePromise `(window|global).Promise` has been overwritten.\nMost likely cause is that a Promise polyfill has been loaded after Zone.js (Polyfilling Promise api is not necessary when zone.js is loaded. If you must load one, do so before loading zone.js.)")}static get root(){let e=M.current;for(;e.parent;)e=e.parent;return e}static get current(){return U.zone}static get currentTask(){return re}static __load_patch(e,r,k=!1){if(oe.hasOwnProperty(e)){if(!k&&y)throw Error("Already loaded patch: "+e)}else if(!t["__Zone_disable_"+e]){const C="Zone:"+e;i(C),oe[e]=r(t,M,z),o(C,C)}}get parent(){return this._parent}get name(){return this._name}constructor(e,r){this._parent=e,this._name=r?r.name||"unnamed":"<root>",this._properties=r&&r.properties||{},this._zoneDelegate=new v(this,this._parent&&this._parent._zoneDelegate,r)}get(e){const r=this.getZoneWith(e);if(r)return r._properties[e]}getZoneWith(e){let r=this;for(;r;){if(r._properties.hasOwnProperty(e))return r;r=r._parent}return null}fork(e){if(!e)throw new Error("ZoneSpec required!");return this._zoneDelegate.fork(this,e)}wrap(e,r){if("function"!=typeof e)throw new Error("Expecting function got: "+e);const k=this._zoneDelegate.intercept(this,e,r),C=this;return function(){return C.runGuarded(k,this,arguments,r)}}run(e,r,k,C){U={parent:U,zone:this};try{return this._zoneDelegate.invoke(this,e,r,k,C)}finally{U=U.parent}}runGuarded(e,r=null,k,C){U={parent:U,zone:this};try{try{return this._zoneDelegate.invoke(this,e,r,k,C)}catch($){if(this._zoneDelegate.handleError(this,$))throw $}}finally{U=U.parent}}runTask(e,r,k){if(e.zone!=this)throw new Error("A task can only be run in the zone of creation! (Creation: "+(e.zone||K).name+"; Execution: "+this.name+")");if(e.state===x&&(e.type===Q||e.type===P))return;const C=e.state!=E;C&&e._transitionTo(E,A),e.runCount++;const $=re;re=e,U={parent:U,zone:this};try{e.type==P&&e.data&&!e.data.isPeriodic&&(e.cancelFn=void 0);try{return this._zoneDelegate.invokeTask(this,e,r,k)}catch(l){if(this._zoneDelegate.handleError(this,l))throw l}}finally{e.state!==x&&e.state!==h&&(e.type==Q||e.data&&e.data.isPeriodic?C&&e._transitionTo(A,E):(e.runCount=0,this._updateTaskCount(e,-1),C&&e._transitionTo(x,E,x))),U=U.parent,re=$}}scheduleTask(e){if(e.zone&&e.zone!==this){let k=this;for(;k;){if(k===e.zone)throw Error(`can not reschedule task to ${this.name} which is descendants of the original zone ${e.zone.name}`);k=k.parent}}e._transitionTo(X,x);const r=[];e._zoneDelegates=r,e._zone=this;try{e=this._zoneDelegate.scheduleTask(this,e)}catch(k){throw e._transitionTo(h,X,x),this._zoneDelegate.handleError(this,k),k}return e._zoneDelegates===r&&this._updateTaskCount(e,1),e.state==X&&e._transitionTo(A,X),e}scheduleMicroTask(e,r,k,C){return this.scheduleTask(new m(I,e,r,k,C,void 0))}scheduleMacroTask(e,r,k,C,$){return this.scheduleTask(new m(P,e,r,k,C,$))}scheduleEventTask(e,r,k,C,$){return this.scheduleTask(new m(Q,e,r,k,C,$))}cancelTask(e){if(e.zone!=this)throw new Error("A task can only be cancelled in the zone of creation! (Creation: "+(e.zone||K).name+"; Execution: "+this.name+")");if(e.state===A||e.state===E){e._transitionTo(G,A,E);try{this._zoneDelegate.cancelTask(this,e)}catch(r){throw e._transitionTo(h,G),this._zoneDelegate.handleError(this,r),r}return this._updateTaskCount(e,-1),e._transitionTo(x,G),e.runCount=0,e}}_updateTaskCount(e,r){const k=e._zoneDelegates;-1==r&&(e._zoneDelegates=null);for(let C=0;C<k.length;C++)k[C]._updateTaskCount(e.type,r)}}return M.__symbol__=a,M})();const b={name:"",onHasTask:(M,T,e,r)=>M.hasTask(e,r),onScheduleTask:(M,T,e,r)=>M.scheduleTask(e,r),onInvokeTask:(M,T,e,r,k,C)=>M.invokeTask(e,r,k,C),onCancelTask:(M,T,e,r)=>M.cancelTask(e,r)};class v{constructor(T,e,r){this._taskCounts={microTask:0,macroTask:0,eventTask:0},this.zone=T,this._parentDelegate=e,this._forkZS=r&&(r&&r.onFork?r:e._forkZS),this._forkDlgt=r&&(r.onFork?e:e._forkDlgt),this._forkCurrZone=r&&(r.onFork?this.zone:e._forkCurrZone),this._interceptZS=r&&(r.onIntercept?r:e._interceptZS),this._interceptDlgt=r&&(r.onIntercept?e:e._interceptDlgt),this._interceptCurrZone=r&&(r.onIntercept?this.zone:e._interceptCurrZone),this._invokeZS=r&&(r.onInvoke?r:e._invokeZS),this._invokeDlgt=r&&(r.onInvoke?e:e._invokeDlgt),this._invokeCurrZone=r&&(r.onInvoke?this.zone:e._invokeCurrZone),this._handleErrorZS=r&&(r.onHandleError?r:e._handleErrorZS),this._handleErrorDlgt=r&&(r.onHandleError?e:e._handleErrorDlgt),this._handleErrorCurrZone=r&&(r.onHandleError?this.zone:e._handleErrorCurrZone),this._scheduleTaskZS=r&&(r.onScheduleTask?r:e._scheduleTaskZS),this._scheduleTaskDlgt=r&&(r.onScheduleTask?e:e._scheduleTaskDlgt),this._scheduleTaskCurrZone=r&&(r.onScheduleTask?this.zone:e._scheduleTaskCurrZone),this._invokeTaskZS=r&&(r.onInvokeTask?r:e._invokeTaskZS),this._invokeTaskDlgt=r&&(r.onInvokeTask?e:e._invokeTaskDlgt),this._invokeTaskCurrZone=r&&(r.onInvokeTask?this.zone:e._invokeTaskCurrZone),this._cancelTaskZS=r&&(r.onCancelTask?r:e._cancelTaskZS),this._cancelTaskDlgt=r&&(r.onCancelTask?e:e._cancelTaskDlgt),this._cancelTaskCurrZone=r&&(r.onCancelTask?this.zone:e._cancelTaskCurrZone),this._hasTaskZS=null,this._hasTaskDlgt=null,this._hasTaskDlgtOwner=null,this._hasTaskCurrZone=null;const k=r&&r.onHasTask;(k||e&&e._hasTaskZS)&&(this._hasTaskZS=k?r:b,this._hasTaskDlgt=e,this._hasTaskDlgtOwner=this,this._hasTaskCurrZone=T,r.onScheduleTask||(this._scheduleTaskZS=b,this._scheduleTaskDlgt=e,this._scheduleTaskCurrZone=this.zone),r.onInvokeTask||(this._invokeTaskZS=b,this._invokeTaskDlgt=e,this._invokeTaskCurrZone=this.zone),r.onCancelTask||(this._cancelTaskZS=b,this._cancelTaskDlgt=e,this._cancelTaskCurrZone=this.zone))}fork(T,e){return this._forkZS?this._forkZS.onFork(this._forkDlgt,this.zone,T,e):new d(T,e)}intercept(T,e,r){return this._interceptZS?this._interceptZS.onIntercept(this._interceptDlgt,this._interceptCurrZone,T,e,r):e}invoke(T,e,r,k,C){return this._invokeZS?this._invokeZS.onInvoke(this._invokeDlgt,this._invokeCurrZone,T,e,r,k,C):e.apply(r,k)}handleError(T,e){return!this._handleErrorZS||this._handleErrorZS.onHandleError(this._handleErrorDlgt,this._handleErrorCurrZone,T,e)}scheduleTask(T,e){let r=e;if(this._scheduleTaskZS)this._hasTaskZS&&r._zoneDelegates.push(this._hasTaskDlgtOwner),r=this._scheduleTaskZS.onScheduleTask(this._scheduleTaskDlgt,this._scheduleTaskCurrZone,T,e),r||(r=e);else if(e.scheduleFn)e.scheduleFn(e);else{if(e.type!=I)throw new Error("Task is missing scheduleFn.");R(e)}return r}invokeTask(T,e,r,k){return this._invokeTaskZS?this._invokeTaskZS.onInvokeTask(this._invokeTaskDlgt,this._invokeTaskCurrZone,T,e,r,k):e.callback.apply(r,k)}cancelTask(T,e){let r;if(this._cancelTaskZS)r=this._cancelTaskZS.onCancelTask(this._cancelTaskDlgt,this._cancelTaskCurrZone,T,e);else{if(!e.cancelFn)throw Error("Task is not cancelable");r=e.cancelFn(e)}return r}hasTask(T,e){try{this._hasTaskZS&&this._hasTaskZS.onHasTask(this._hasTaskDlgt,this._hasTaskCurrZone,T,e)}catch(r){this.handleError(T,r)}}_updateTaskCount(T,e){const r=this._taskCounts,k=r[T],C=r[T]=k+e;if(C<0)throw new Error("More tasks executed then were scheduled.");0!=k&&0!=C||this.hasTask(this.zone,{microTask:r.microTask>0,macroTask:r.macroTask>0,eventTask:r.eventTask>0,change:T})}}class m{constructor(T,e,r,k,C,$){if(this._zone=null,this.runCount=0,this._zoneDelegates=null,this._state="notScheduled",this.type=T,this.source=e,this.data=k,this.scheduleFn=C,this.cancelFn=$,!r)throw new Error("callback is not defined");this.callback=r;const l=this;this.invoke=T===Q&&k&&k.useG?m.invokeTask:function(){return m.invokeTask.call(t,l,this,arguments)}}static invokeTask(T,e,r){T||(T=this),ee++;try{return T.runCount++,T.zone.runTask(T,e,r)}finally{1==ee&&_(),ee--}}get zone(){return this._zone}get state(){return this._state}cancelScheduleRequest(){this._transitionTo(x,X)}_transitionTo(T,e,r){if(this._state!==e&&this._state!==r)throw new Error(`${this.type} '${this.source}': can not transition to '${T}', expecting state '${e}'${r?" or '"+r+"'":""}, was '${this._state}'.`);this._state=T,T==x&&(this._zoneDelegates=null)}toString(){return this.data&&typeof this.data.handleId<"u"?this.data.handleId.toString():Object.prototype.toString.call(this)}toJSON(){return{type:this.type,state:this.state,source:this.source,zone:this.zone.name,runCount:this.runCount}}}const L=a("setTimeout"),Z=a("Promise"),N=a("then");let J,B=[],H=!1;function q(M){if(J||t[Z]&&(J=t[Z].resolve(0)),J){let T=J[N];T||(T=J.then),T.call(J,M)}else t[L](M,0)}function R(M){0===ee&&0===B.length&&q(_),M&&B.push(M)}function _(){if(!H){for(H=!0;B.length;){const M=B;B=[];for(let T=0;T<M.length;T++){const e=M[T];try{e.zone.runTask(e,null,null)}catch(r){z.onUnhandledError(r)}}}z.microtaskDrainDone(),H=!1}}const K={name:"NO ZONE"},x="notScheduled",X="scheduling",A="scheduled",E="running",G="canceling",h="unknown",I="microTask",P="macroTask",Q="eventTask",oe={},z={symbol:a,currentZoneFrame:()=>U,onUnhandledError:W,microtaskDrainDone:W,scheduleMicroTask:R,showUncaughtError:()=>!d[a("ignoreConsoleErrorUncaughtError")],patchEventTarget:()=>[],patchOnProperties:W,patchMethod:()=>W,bindArguments:()=>[],patchThen:()=>W,patchMacroTask:()=>W,patchEventPrototype:()=>W,isIEOrEdge:()=>!1,getGlobalObjects:()=>{},ObjectDefineProperty:()=>W,ObjectGetOwnPropertyDescriptor:()=>{},ObjectCreate:()=>{},ArraySlice:()=>[],patchClass:()=>W,wrapWithCurrentZone:()=>W,filterProperties:()=>[],attachOriginToPatched:()=>W,_redefineProperty:()=>W,patchCallbacks:()=>W,nativeScheduleMicroTask:q};let U={parent:null,zone:new d(null,null)},re=null,ee=0;function W(){}o("Zone","Zone"),t.Zone=d}(typeof window<"u"&&window||typeof self<"u"&&self||global);const ie=Object.getOwnPropertyDescriptor,Ee=Object.defineProperty,de=Object.getPrototypeOf,ge=Object.create,Ve=Array.prototype.slice,Se="addEventListener",Oe="removeEventListener",Ze=Zone.__symbol__(Se),Ne=Zone.__symbol__(Oe),ce="true",ae="false",ke=Zone.__symbol__("");function Ie(t,n){return Zone.current.wrap(t,n)}function Me(t,n,i,o,c){return Zone.current.scheduleMacroTask(t,n,i,o,c)}const j=Zone.__symbol__,Pe=typeof window<"u",Te=Pe?window:void 0,Y=Pe&&Te||"object"==typeof self&&self||global,ct="removeAttribute";function Le(t,n){for(let i=t.length-1;i>=0;i--)"function"==typeof t[i]&&(t[i]=Ie(t[i],n+"_"+i));return t}function Fe(t){return!t||!1!==t.writable&&!("function"==typeof t.get&&typeof t.set>"u")}const Be=typeof WorkerGlobalScope<"u"&&self instanceof WorkerGlobalScope,we=!("nw"in Y)&&typeof Y.process<"u"&&"[object process]"==={}.toString.call(Y.process),Ae=!we&&!Be&&!(!Pe||!Te.HTMLElement),Ue=typeof Y.process<"u"&&"[object process]"==={}.toString.call(Y.process)&&!Be&&!(!Pe||!Te.HTMLElement),Re={},We=function(t){if(!(t=t||Y.event))return;let n=Re[t.type];n||(n=Re[t.type]=j("ON_PROPERTY"+t.type));const i=this||t.target||Y,o=i[n];let c;return Ae&&i===Te&&"error"===t.type?(c=o&&o.call(this,t.message,t.filename,t.lineno,t.colno,t.error),!0===c&&t.preventDefault()):(c=o&&o.apply(this,arguments),null!=c&&!c&&t.preventDefault()),c};function qe(t,n,i){let o=ie(t,n);if(!o&&i&&ie(i,n)&&(o={enumerable:!0,configurable:!0}),!o||!o.configurable)return;const c=j("on"+n+"patched");if(t.hasOwnProperty(c)&&t[c])return;delete o.writable,delete o.value;const a=o.get,y=o.set,d=n.slice(2);let b=Re[d];b||(b=Re[d]=j("ON_PROPERTY"+d)),o.set=function(v){let m=this;!m&&t===Y&&(m=Y),m&&("function"==typeof m[b]&&m.removeEventListener(d,We),y&&y.call(m,null),m[b]=v,"function"==typeof v&&m.addEventListener(d,We,!1))},o.get=function(){let v=this;if(!v&&t===Y&&(v=Y),!v)return null;const m=v[b];if(m)return m;if(a){let L=a.call(this);if(L)return o.set.call(this,L),"function"==typeof v[ct]&&v.removeAttribute(n),L}return null},Ee(t,n,o),t[c]=!0}function Xe(t,n,i){if(n)for(let o=0;o<n.length;o++)qe(t,"on"+n[o],i);else{const o=[];for(const c in t)"on"==c.slice(0,2)&&o.push(c);for(let c=0;c<o.length;c++)qe(t,o[c],i)}}const ne=j("originalInstance");function ve(t){const n=Y[t];if(!n)return;Y[j(t)]=n,Y[t]=function(){const c=Le(arguments,t);switch(c.length){case 0:this[ne]=new n;break;case 1:this[ne]=new n(c[0]);break;case 2:this[ne]=new n(c[0],c[1]);break;case 3:this[ne]=new n(c[0],c[1],c[2]);break;case 4:this[ne]=new n(c[0],c[1],c[2],c[3]);break;default:throw new Error("Arg list too long.")}},ue(Y[t],n);const i=new n(function(){});let o;for(o in i)"XMLHttpRequest"===t&&"responseBlob"===o||function(c){"function"==typeof i[c]?Y[t].prototype[c]=function(){return this[ne][c].apply(this[ne],arguments)}:Ee(Y[t].prototype,c,{set:function(a){"function"==typeof a?(this[ne][c]=Ie(a,t+"."+c),ue(this[ne][c],a)):this[ne][c]=a},get:function(){return this[ne][c]}})}(o);for(o in n)"prototype"!==o&&n.hasOwnProperty(o)&&(Y[t][o]=n[o])}function le(t,n,i){let o=t;for(;o&&!o.hasOwnProperty(n);)o=de(o);!o&&t[n]&&(o=t);const c=j(n);let a=null;if(o&&(!(a=o[c])||!o.hasOwnProperty(c))&&(a=o[c]=o[n],Fe(o&&ie(o,n)))){const d=i(a,c,n);o[n]=function(){return d(this,arguments)},ue(o[n],a)}return a}function lt(t,n,i){let o=null;function c(a){const y=a.data;return y.args[y.cbIdx]=function(){a.invoke.apply(this,arguments)},o.apply(y.target,y.args),a}o=le(t,n,a=>function(y,d){const b=i(y,d);return b.cbIdx>=0&&"function"==typeof d[b.cbIdx]?Me(b.name,d[b.cbIdx],b,c):a.apply(y,d)})}function ue(t,n){t[j("OriginalDelegate")]=n}let ze=!1,je=!1;function ft(){if(ze)return je;ze=!0;try{const t=Te.navigator.userAgent;(-1!==t.indexOf("MSIE ")||-1!==t.indexOf("Trident/")||-1!==t.indexOf("Edge/"))&&(je=!0)}catch{}return je}Zone.__load_patch("ZoneAwarePromise",(t,n,i)=>{const o=Object.getOwnPropertyDescriptor,c=Object.defineProperty,y=i.symbol,d=[],b=!0===t[y("DISABLE_WRAPPING_UNCAUGHT_PROMISE_REJECTION")],v=y("Promise"),m=y("then"),L="__creationTrace__";i.onUnhandledError=l=>{if(i.showUncaughtError()){const u=l&&l.rejection;u?console.error("Unhandled Promise rejection:",u instanceof Error?u.message:u,"; Zone:",l.zone.name,"; Task:",l.task&&l.task.source,"; Value:",u,u instanceof Error?u.stack:void 0):console.error(l)}},i.microtaskDrainDone=()=>{for(;d.length;){const l=d.shift();try{l.zone.runGuarded(()=>{throw l.throwOriginal?l.rejection:l})}catch(u){N(u)}}};const Z=y("unhandledPromiseRejectionHandler");function N(l){i.onUnhandledError(l);try{const u=n[Z];"function"==typeof u&&u.call(this,l)}catch{}}function B(l){return l&&l.then}function H(l){return l}function J(l){return e.reject(l)}const q=y("state"),R=y("value"),_=y("finally"),K=y("parentPromiseValue"),x=y("parentPromiseState"),X="Promise.then",A=null,E=!0,G=!1,h=0;function I(l,u){return s=>{try{z(l,u,s)}catch(f){z(l,!1,f)}}}const P=function(){let l=!1;return function(s){return function(){l||(l=!0,s.apply(null,arguments))}}},Q="Promise resolved with itself",oe=y("currentTaskTrace");function z(l,u,s){const f=P();if(l===s)throw new TypeError(Q);if(l[q]===A){let g=null;try{("object"==typeof s||"function"==typeof s)&&(g=s&&s.then)}catch(w){return f(()=>{z(l,!1,w)})(),l}if(u!==G&&s instanceof e&&s.hasOwnProperty(q)&&s.hasOwnProperty(R)&&s[q]!==A)re(s),z(l,s[q],s[R]);else if(u!==G&&"function"==typeof g)try{g.call(s,f(I(l,u)),f(I(l,!1)))}catch(w){f(()=>{z(l,!1,w)})()}else{l[q]=u;const w=l[R];if(l[R]=s,l[_]===_&&u===E&&(l[q]=l[x],l[R]=l[K]),u===G&&s instanceof Error){const p=n.currentTask&&n.currentTask.data&&n.currentTask.data[L];p&&c(s,oe,{configurable:!0,enumerable:!1,writable:!0,value:p})}for(let p=0;p<w.length;)ee(l,w[p++],w[p++],w[p++],w[p++]);if(0==w.length&&u==G){l[q]=h;let p=s;try{throw new Error("Uncaught (in promise): "+function a(l){return l&&l.toString===Object.prototype.toString?(l.constructor&&l.constructor.name||"")+": "+JSON.stringify(l):l?l.toString():Object.prototype.toString.call(l)}(s)+(s&&s.stack?"\n"+s.stack:""))}catch(D){p=D}b&&(p.throwOriginal=!0),p.rejection=s,p.promise=l,p.zone=n.current,p.task=n.currentTask,d.push(p),i.scheduleMicroTask()}}}return l}const U=y("rejectionHandledHandler");function re(l){if(l[q]===h){try{const u=n[U];u&&"function"==typeof u&&u.call(this,{rejection:l[R],promise:l})}catch{}l[q]=G;for(let u=0;u<d.length;u++)l===d[u].promise&&d.splice(u,1)}}function ee(l,u,s,f,g){re(l);const w=l[q],p=w?"function"==typeof f?f:H:"function"==typeof g?g:J;u.scheduleMicroTask(X,()=>{try{const D=l[R],S=!!s&&_===s[_];S&&(s[K]=D,s[x]=w);const O=u.run(p,void 0,S&&p!==J&&p!==H?[]:[D]);z(s,!0,O)}catch(D){z(s,!1,D)}},s)}const M=function(){},T=t.AggregateError;class e{static toString(){return"function ZoneAwarePromise() { [native code] }"}static resolve(u){return z(new this(null),E,u)}static reject(u){return z(new this(null),G,u)}static any(u){if(!u||"function"!=typeof u[Symbol.iterator])return Promise.reject(new T([],"All promises were rejected"));const s=[];let f=0;try{for(let p of u)f++,s.push(e.resolve(p))}catch{return Promise.reject(new T([],"All promises were rejected"))}if(0===f)return Promise.reject(new T([],"All promises were rejected"));let g=!1;const w=[];return new e((p,D)=>{for(let S=0;S<s.length;S++)s[S].then(O=>{g||(g=!0,p(O))},O=>{w.push(O),f--,0===f&&(g=!0,D(new T(w,"All promises were rejected")))})})}static race(u){let s,f,g=new this((D,S)=>{s=D,f=S});function w(D){s(D)}function p(D){f(D)}for(let D of u)B(D)||(D=this.resolve(D)),D.then(w,p);return g}static all(u){return e.allWithCallback(u)}static allSettled(u){return(this&&this.prototype instanceof e?this:e).allWithCallback(u,{thenCallback:f=>({status:"fulfilled",value:f}),errorCallback:f=>({status:"rejected",reason:f})})}static allWithCallback(u,s){let f,g,w=new this((O,V)=>{f=O,g=V}),p=2,D=0;const S=[];for(let O of u){B(O)||(O=this.resolve(O));const V=D;try{O.then(F=>{S[V]=s?s.thenCallback(F):F,p--,0===p&&f(S)},F=>{s?(S[V]=s.errorCallback(F),p--,0===p&&f(S)):g(F)})}catch(F){g(F)}p++,D++}return p-=2,0===p&&f(S),w}constructor(u){const s=this;if(!(s instanceof e))throw new Error("Must be an instanceof Promise.");s[q]=A,s[R]=[];try{const f=P();u&&u(f(I(s,E)),f(I(s,G)))}catch(f){z(s,!1,f)}}get[Symbol.toStringTag](){return"Promise"}get[Symbol.species](){return e}then(u,s){let f=this.constructor?.[Symbol.species];(!f||"function"!=typeof f)&&(f=this.constructor||e);const g=new f(M),w=n.current;return this[q]==A?this[R].push(w,g,u,s):ee(this,w,g,u,s),g}catch(u){return this.then(null,u)}finally(u){let s=this.constructor?.[Symbol.species];(!s||"function"!=typeof s)&&(s=e);const f=new s(M);f[_]=_;const g=n.current;return this[q]==A?this[R].push(g,f,u,u):ee(this,g,f,u,u),f}}e.resolve=e.resolve,e.reject=e.reject,e.race=e.race,e.all=e.all;const r=t[v]=t.Promise;t.Promise=e;const k=y("thenPatched");function C(l){const u=l.prototype,s=o(u,"then");if(s&&(!1===s.writable||!s.configurable))return;const f=u.then;u[m]=f,l.prototype.then=function(g,w){return new e((D,S)=>{f.call(this,D,S)}).then(g,w)},l[k]=!0}return i.patchThen=C,r&&(C(r),le(t,"fetch",l=>function $(l){return function(u,s){let f=l.apply(u,s);if(f instanceof e)return f;let g=f.constructor;return g[k]||C(g),f}}(l))),Promise[n.__symbol__("uncaughtPromiseErrors")]=d,e}),Zone.__load_patch("toString",t=>{const n=Function.prototype.toString,i=j("OriginalDelegate"),o=j("Promise"),c=j("Error"),a=function(){if("function"==typeof this){const v=this[i];if(v)return"function"==typeof v?n.call(v):Object.prototype.toString.call(v);if(this===Promise){const m=t[o];if(m)return n.call(m)}if(this===Error){const m=t[c];if(m)return n.call(m)}}return n.call(this)};a[i]=n,Function.prototype.toString=a;const y=Object.prototype.toString;Object.prototype.toString=function(){return"function"==typeof Promise&&this instanceof Promise?"[object Promise]":y.call(this)}});let ye=!1;if(typeof window<"u")try{const t=Object.defineProperty({},"passive",{get:function(){ye=!0}});window.addEventListener("test",t,t),window.removeEventListener("test",t,t)}catch{ye=!1}const ht={useG:!0},te={},Ye={},$e=new RegExp("^"+ke+"(\\w+)(true|false)$"),Ke=j("propagationStopped");function Je(t,n){const i=(n?n(t):t)+ae,o=(n?n(t):t)+ce,c=ke+i,a=ke+o;te[t]={},te[t][ae]=c,te[t][ce]=a}function dt(t,n,i,o){const c=o&&o.add||Se,a=o&&o.rm||Oe,y=o&&o.listeners||"eventListeners",d=o&&o.rmAll||"removeAllListeners",b=j(c),v="."+c+":",m="prependListener",L="."+m+":",Z=function(R,_,K){if(R.isRemoved)return;const x=R.callback;let X;"object"==typeof x&&x.handleEvent&&(R.callback=E=>x.handleEvent(E),R.originalDelegate=x);try{R.invoke(R,_,[K])}catch(E){X=E}const A=R.options;return A&&"object"==typeof A&&A.once&&_[a].call(_,K.type,R.originalDelegate?R.originalDelegate:R.callback,A),X};function N(R,_,K){if(!(_=_||t.event))return;const x=R||_.target||t,X=x[te[_.type][K?ce:ae]];if(X){const A=[];if(1===X.length){const E=Z(X[0],x,_);E&&A.push(E)}else{const E=X.slice();for(let G=0;G<E.length&&(!_||!0!==_[Ke]);G++){const h=Z(E[G],x,_);h&&A.push(h)}}if(1===A.length)throw A[0];for(let E=0;E<A.length;E++){const G=A[E];n.nativeScheduleMicroTask(()=>{throw G})}}}const B=function(R){return N(this,R,!1)},H=function(R){return N(this,R,!0)};function J(R,_){if(!R)return!1;let K=!0;_&&void 0!==_.useG&&(K=_.useG);const x=_&&_.vh;let X=!0;_&&void 0!==_.chkDup&&(X=_.chkDup);let A=!1;_&&void 0!==_.rt&&(A=_.rt);let E=R;for(;E&&!E.hasOwnProperty(c);)E=de(E);if(!E&&R[c]&&(E=R),!E||E[b])return!1;const G=_&&_.eventNameToString,h={},I=E[b]=E[c],P=E[j(a)]=E[a],Q=E[j(y)]=E[y],oe=E[j(d)]=E[d];let z;_&&_.prepend&&(z=E[j(_.prepend)]=E[_.prepend]);const e=K?function(s){if(!h.isExisting)return I.call(h.target,h.eventName,h.capture?H:B,h.options)}:function(s){return I.call(h.target,h.eventName,s.invoke,h.options)},r=K?function(s){if(!s.isRemoved){const f=te[s.eventName];let g;f&&(g=f[s.capture?ce:ae]);const w=g&&s.target[g];if(w)for(let p=0;p<w.length;p++)if(w[p]===s){w.splice(p,1),s.isRemoved=!0,0===w.length&&(s.allRemoved=!0,s.target[g]=null);break}}if(s.allRemoved)return P.call(s.target,s.eventName,s.capture?H:B,s.options)}:function(s){return P.call(s.target,s.eventName,s.invoke,s.options)},C=_&&_.diff?_.diff:function(s,f){const g=typeof f;return"function"===g&&s.callback===f||"object"===g&&s.originalDelegate===f},$=Zone[j("UNPATCHED_EVENTS")],l=t[j("PASSIVE_EVENTS")],u=function(s,f,g,w,p=!1,D=!1){return function(){const S=this||t;let O=arguments[0];_&&_.transferEventName&&(O=_.transferEventName(O));let V=arguments[1];if(!V)return s.apply(this,arguments);if(we&&"uncaughtException"===O)return s.apply(this,arguments);let F=!1;if("function"!=typeof V){if(!V.handleEvent)return s.apply(this,arguments);F=!0}if(x&&!x(s,V,S,arguments))return;const fe=ye&&!!l&&-1!==l.indexOf(O),se=function U(s,f){return!ye&&"object"==typeof s&&s?!!s.capture:ye&&f?"boolean"==typeof s?{capture:s,passive:!0}:s?"object"==typeof s&&!1!==s.passive?{...s,passive:!0}:s:{passive:!0}:s}(arguments[2],fe);if($)for(let _e=0;_e<$.length;_e++)if(O===$[_e])return fe?s.call(S,O,V,se):s.apply(this,arguments);const xe=!!se&&("boolean"==typeof se||se.capture),nt=!(!se||"object"!=typeof se)&&se.once,gt=Zone.current;let Ge=te[O];Ge||(Je(O,G),Ge=te[O]);const rt=Ge[xe?ce:ae];let De,pe=S[rt],ot=!1;if(pe){if(ot=!0,X)for(let _e=0;_e<pe.length;_e++)if(C(pe[_e],V))return}else pe=S[rt]=[];const st=S.constructor.name,it=Ye[st];it&&(De=it[O]),De||(De=st+f+(G?G(O):O)),h.options=se,nt&&(h.options.once=!1),h.target=S,h.capture=xe,h.eventName=O,h.isExisting=ot;const be=K?ht:void 0;be&&(be.taskData=h);const he=gt.scheduleEventTask(De,V,be,g,w);return h.target=null,be&&(be.taskData=null),nt&&(se.once=!0),!ye&&"boolean"==typeof he.options||(he.options=se),he.target=S,he.capture=xe,he.eventName=O,F&&(he.originalDelegate=V),D?pe.unshift(he):pe.push(he),p?S:void 0}};return E[c]=u(I,v,e,r,A),z&&(E[m]=u(z,L,function(s){return z.call(h.target,h.eventName,s.invoke,h.options)},r,A,!0)),E[a]=function(){const s=this||t;let f=arguments[0];_&&_.transferEventName&&(f=_.transferEventName(f));const g=arguments[2],w=!!g&&("boolean"==typeof g||g.capture),p=arguments[1];if(!p)return P.apply(this,arguments);if(x&&!x(P,p,s,arguments))return;const D=te[f];let S;D&&(S=D[w?ce:ae]);const O=S&&s[S];if(O)for(let V=0;V<O.length;V++){const F=O[V];if(C(F,p))return O.splice(V,1),F.isRemoved=!0,0===O.length&&(F.allRemoved=!0,s[S]=null,"string"==typeof f)&&(s[ke+"ON_PROPERTY"+f]=null),F.zone.cancelTask(F),A?s:void 0}return P.apply(this,arguments)},E[y]=function(){const s=this||t;let f=arguments[0];_&&_.transferEventName&&(f=_.transferEventName(f));const g=[],w=Qe(s,G?G(f):f);for(let p=0;p<w.length;p++){const D=w[p];g.push(D.originalDelegate?D.originalDelegate:D.callback)}return g},E[d]=function(){const s=this||t;let f=arguments[0];if(f){_&&_.transferEventName&&(f=_.transferEventName(f));const g=te[f];if(g){const D=s[g[ae]],S=s[g[ce]];if(D){const O=D.slice();for(let V=0;V<O.length;V++){const F=O[V];this[a].call(this,f,F.originalDelegate?F.originalDelegate:F.callback,F.options)}}if(S){const O=S.slice();for(let V=0;V<O.length;V++){const F=O[V];this[a].call(this,f,F.originalDelegate?F.originalDelegate:F.callback,F.options)}}}}else{const g=Object.keys(s);for(let w=0;w<g.length;w++){const D=$e.exec(g[w]);let S=D&&D[1];S&&"removeListener"!==S&&this[d].call(this,S)}this[d].call(this,"removeListener")}if(A)return this},ue(E[c],I),ue(E[a],P),oe&&ue(E[d],oe),Q&&ue(E[y],Q),!0}let q=[];for(let R=0;R<i.length;R++)q[R]=J(i[R],o);return q}function Qe(t,n){if(!n){const a=[];for(let y in t){const d=$e.exec(y);let b=d&&d[1];if(b&&(!n||b===n)){const v=t[y];if(v)for(let m=0;m<v.length;m++)a.push(v[m])}}return a}let i=te[n];i||(Je(n),i=te[n]);const o=t[i[ae]],c=t[i[ce]];return o?c?o.concat(c):o.slice():c?c.slice():[]}function _t(t,n){const i=t.Event;i&&i.prototype&&n.patchMethod(i.prototype,"stopImmediatePropagation",o=>function(c,a){c[Ke]=!0,o&&o.apply(c,a)})}function Et(t,n,i,o,c){const a=Zone.__symbol__(o);if(n[a])return;const y=n[a]=n[o];n[o]=function(d,b,v){return b&&b.prototype&&c.forEach(function(m){const L=`${i}.${o}::`+m,Z=b.prototype;try{if(Z.hasOwnProperty(m)){const N=t.ObjectGetOwnPropertyDescriptor(Z,m);N&&N.value?(N.value=t.wrapWithCurrentZone(N.value,L),t._redefineProperty(b.prototype,m,N)):Z[m]&&(Z[m]=t.wrapWithCurrentZone(Z[m],L))}else Z[m]&&(Z[m]=t.wrapWithCurrentZone(Z[m],L))}catch{}}),y.call(n,d,b,v)},t.attachOriginToPatched(n[o],y)}function et(t,n,i){if(!i||0===i.length)return n;const o=i.filter(a=>a.target===t);if(!o||0===o.length)return n;const c=o[0].ignoreProperties;return n.filter(a=>-1===c.indexOf(a))}function tt(t,n,i,o){t&&Xe(t,et(t,n,i),o)}function He(t){return Object.getOwnPropertyNames(t).filter(n=>n.startsWith("on")&&n.length>2).map(n=>n.substring(2))}Zone.__load_patch("util",(t,n,i)=>{const o=He(t);i.patchOnProperties=Xe,i.patchMethod=le,i.bindArguments=Le,i.patchMacroTask=lt;const c=n.__symbol__("BLACK_LISTED_EVENTS"),a=n.__symbol__("UNPATCHED_EVENTS");t[a]&&(t[c]=t[a]),t[c]&&(n[c]=n[a]=t[c]),i.patchEventPrototype=_t,i.patchEventTarget=dt,i.isIEOrEdge=ft,i.ObjectDefineProperty=Ee,i.ObjectGetOwnPropertyDescriptor=ie,i.ObjectCreate=ge,i.ArraySlice=Ve,i.patchClass=ve,i.wrapWithCurrentZone=Ie,i.filterProperties=et,i.attachOriginToPatched=ue,i._redefineProperty=Object.defineProperty,i.patchCallbacks=Et,i.getGlobalObjects=()=>({globalSources:Ye,zoneSymbolEventNames:te,eventNames:o,isBrowser:Ae,isMix:Ue,isNode:we,TRUE_STR:ce,FALSE_STR:ae,ZONE_SYMBOL_PREFIX:ke,ADD_EVENT_LISTENER_STR:Se,REMOVE_EVENT_LISTENER_STR:Oe})});const Ce=j("zoneTask");function me(t,n,i,o){let c=null,a=null;i+=o;const y={};function d(v){const m=v.data;return m.args[0]=function(){return v.invoke.apply(this,arguments)},m.handleId=c.apply(t,m.args),v}function b(v){return a.call(t,v.data.handleId)}c=le(t,n+=o,v=>function(m,L){if("function"==typeof L[0]){const Z={isPeriodic:"Interval"===o,delay:"Timeout"===o||"Interval"===o?L[1]||0:void 0,args:L},N=L[0];L[0]=function(){try{return N.apply(this,arguments)}finally{Z.isPeriodic||("number"==typeof Z.handleId?delete y[Z.handleId]:Z.handleId&&(Z.handleId[Ce]=null))}};const B=Me(n,L[0],Z,d,b);if(!B)return B;const H=B.data.handleId;return"number"==typeof H?y[H]=B:H&&(H[Ce]=B),H&&H.ref&&H.unref&&"function"==typeof H.ref&&"function"==typeof H.unref&&(B.ref=H.ref.bind(H),B.unref=H.unref.bind(H)),"number"==typeof H||H?H:B}return v.apply(t,L)}),a=le(t,i,v=>function(m,L){const Z=L[0];let N;"number"==typeof Z?N=y[Z]:(N=Z&&Z[Ce],N||(N=Z)),N&&"string"==typeof N.type?"notScheduled"!==N.state&&(N.cancelFn&&N.data.isPeriodic||0===N.runCount)&&("number"==typeof Z?delete y[Z]:Z&&(Z[Ce]=null),N.zone.cancelTask(N)):v.apply(t,L)})}Zone.__load_patch("legacy",t=>{const n=t[Zone.__symbol__("legacyPatch")];n&&n()}),Zone.__load_patch("queueMicrotask",(t,n,i)=>{i.patchMethod(t,"queueMicrotask",o=>function(c,a){n.current.scheduleMicroTask("queueMicrotask",a[0])})}),Zone.__load_patch("timers",t=>{const n="set",i="clear";me(t,n,i,"Timeout"),me(t,n,i,"Interval"),me(t,n,i,"Immediate")}),Zone.__load_patch("requestAnimationFrame",t=>{me(t,"request","cancel","AnimationFrame"),me(t,"mozRequest","mozCancel","AnimationFrame"),me(t,"webkitRequest","webkitCancel","AnimationFrame")}),Zone.__load_patch("blocking",(t,n)=>{const i=["alert","prompt","confirm"];for(let o=0;o<i.length;o++)le(t,i[o],(a,y,d)=>function(b,v){return n.current.run(a,t,v,d)})}),Zone.__load_patch("EventTarget",(t,n,i)=>{(function pt(t,n){n.patchEventPrototype(t,n)})(t,i),function mt(t,n){if(Zone[n.symbol("patchEventTarget")])return;const{eventNames:i,zoneSymbolEventNames:o,TRUE_STR:c,FALSE_STR:a,ZONE_SYMBOL_PREFIX:y}=n.getGlobalObjects();for(let b=0;b<i.length;b++){const v=i[b],Z=y+(v+a),N=y+(v+c);o[v]={},o[v][a]=Z,o[v][c]=N}const d=t.EventTarget;d&&d.prototype&&n.patchEventTarget(t,n,[d&&d.prototype])}(t,i);const o=t.XMLHttpRequestEventTarget;o&&o.prototype&&i.patchEventTarget(t,i,[o.prototype])}),Zone.__load_patch("MutationObserver",(t,n,i)=>{ve("MutationObserver"),ve("WebKitMutationObserver")}),Zone.__load_patch("IntersectionObserver",(t,n,i)=>{ve("IntersectionObserver")}),Zone.__load_patch("FileReader",(t,n,i)=>{ve("FileReader")}),Zone.__load_patch("on_property",(t,n,i)=>{!function Tt(t,n){if(we&&!Ue||Zone[t.symbol("patchEvents")])return;const i=n.__Zone_ignore_on_properties;let o=[];if(Ae){const c=window;o=o.concat(["Document","SVGElement","Element","HTMLElement","HTMLBodyElement","HTMLMediaElement","HTMLFrameSetElement","HTMLFrameElement","HTMLIFrameElement","HTMLMarqueeElement","Worker"]);const a=function ut(){try{const t=Te.navigator.userAgent;if(-1!==t.indexOf("MSIE ")||-1!==t.indexOf("Trident/"))return!0}catch{}return!1}()?[{target:c,ignoreProperties:["error"]}]:[];tt(c,He(c),i&&i.concat(a),de(c))}o=o.concat(["XMLHttpRequest","XMLHttpRequestEventTarget","IDBIndex","IDBRequest","IDBOpenDBRequest","IDBDatabase","IDBTransaction","IDBCursor","WebSocket"]);for(let c=0;c<o.length;c++){const a=n[o[c]];a&&a.prototype&&tt(a.prototype,He(a.prototype),i)}}(i,t)}),Zone.__load_patch("customElements",(t,n,i)=>{!function yt(t,n){const{isBrowser:i,isMix:o}=n.getGlobalObjects();(i||o)&&t.customElements&&"customElements"in t&&n.patchCallbacks(n,t.customElements,"customElements","define",["connectedCallback","disconnectedCallback","adoptedCallback","attributeChangedCallback"])}(t,i)}),Zone.__load_patch("XHR",(t,n)=>{!function b(v){const m=v.XMLHttpRequest;if(!m)return;const L=m.prototype;let N=L[Ze],B=L[Ne];if(!N){const h=v.XMLHttpRequestEventTarget;if(h){const I=h.prototype;N=I[Ze],B=I[Ne]}}const H="readystatechange",J="scheduled";function q(h){const I=h.data,P=I.target;P[a]=!1,P[d]=!1;const Q=P[c];N||(N=P[Ze],B=P[Ne]),Q&&B.call(P,H,Q);const oe=P[c]=()=>{if(P.readyState===P.DONE)if(!I.aborted&&P[a]&&h.state===J){const U=P[n.__symbol__("loadfalse")];if(0!==P.status&&U&&U.length>0){const re=h.invoke;h.invoke=function(){const ee=P[n.__symbol__("loadfalse")];for(let W=0;W<ee.length;W++)ee[W]===h&&ee.splice(W,1);!I.aborted&&h.state===J&&re.call(h)},U.push(h)}else h.invoke()}else!I.aborted&&!1===P[a]&&(P[d]=!0)};return N.call(P,H,oe),P[i]||(P[i]=h),E.apply(P,I.args),P[a]=!0,h}function R(){}function _(h){const I=h.data;return I.aborted=!0,G.apply(I.target,I.args)}const K=le(L,"open",()=>function(h,I){return h[o]=0==I[2],h[y]=I[1],K.apply(h,I)}),X=j("fetchTaskAborting"),A=j("fetchTaskScheduling"),E=le(L,"send",()=>function(h,I){if(!0===n.current[A]||h[o])return E.apply(h,I);{const P={target:h,url:h[y],isPeriodic:!1,args:I,aborted:!1},Q=Me("XMLHttpRequest.send",R,P,q,_);h&&!0===h[d]&&!P.aborted&&Q.state===J&&Q.invoke()}}),G=le(L,"abort",()=>function(h,I){const P=function Z(h){return h[i]}(h);if(P&&"string"==typeof P.type){if(null==P.cancelFn||P.data&&P.data.aborted)return;P.zone.cancelTask(P)}else if(!0===n.current[X])return G.apply(h,I)})}(t);const i=j("xhrTask"),o=j("xhrSync"),c=j("xhrListener"),a=j("xhrScheduled"),y=j("xhrURL"),d=j("xhrErrorBeforeScheduled")}),Zone.__load_patch("geolocation",t=>{t.navigator&&t.navigator.geolocation&&function at(t,n){const i=t.constructor.name;for(let o=0;o<n.length;o++){const c=n[o],a=t[c];if(a){if(!Fe(ie(t,c)))continue;t[c]=(d=>{const b=function(){return d.apply(this,Le(arguments,i+"."+c))};return ue(b,d),b})(a)}}}(t.navigator.geolocation,["getCurrentPosition","watchPosition"])}),Zone.__load_patch("PromiseRejectionEvent",(t,n)=>{function i(o){return function(c){Qe(t,o).forEach(y=>{const d=t.PromiseRejectionEvent;if(d){const b=new d(o,{promise:c.promise,reason:c.rejection});y.invoke(b)}})}}t.PromiseRejectionEvent&&(n[j("unhandledPromiseRejectionHandler")]=i("unhandledrejection"),n[j("rejectionHandledHandler")]=i("rejectionhandled"))})}},ie=>{ie(ie.s=7435)}]); \ No newline at end of file diff --git a/docs/runtime.3cd40b0b2425fe70.js b/docs/runtime.9ad0796bc9a3e999.js similarity index 72% rename from docs/runtime.3cd40b0b2425fe70.js rename to docs/runtime.9ad0796bc9a3e999.js index 9bb59dd..67f75fb 100644 --- a/docs/runtime.3cd40b0b2425fe70.js +++ b/docs/runtime.9ad0796bc9a3e999.js @@ -1 +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].call(t.exports,t,t.exports,r),t.exports}r.m=v,e=[],r.O=(n,t,i,f)=>{if(!t){var a=1/0;for(o=0;o<e.length;o++){for(var[t,i,f]=e[o],s=!0,u=0;u<t.length;u++)(!1&f||a>=f)&&Object.keys(r.O).every(b=>r.O[b](t[u]))?t.splice(u--,1):(s=!1,f<a&&(a=f));if(s){e.splice(o--,1);var d=i();void 0!==d&&(n=d)}}return n}f=f||0;for(var o=e.length;o>0&&e[o-1][2]>f;o--)e[o]=e[o-1];e[o]=[t,i,f]},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+".d275b82b7ed83afa.js",r.miniCssF=e=>{},r.o=(e,n)=>Object.prototype.hasOwnProperty.call(e,n),(()=>{var e={},n="nb-form-demo:";r.l=(t,i,f,o)=>{if(e[t])e[t].push(i);else{var a,s;if(void 0!==f)for(var u=document.getElementsByTagName("script"),d=0;d<u.length;d++){var l=u[d];if(l.getAttribute("src")==t||l.getAttribute("data-webpack")==n+f){a=l;break}}a||(s=!0,(a=document.createElement("script")).type="module",a.charset="utf-8",a.timeout=120,r.nc&&a.setAttribute("nonce",r.nc),a.setAttribute("data-webpack",n+f),a.src=r.tu(t)),e[t]=[i];var c=(_,b)=>{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=(i,f)=>{var o=r.o(e,i)?e[i]:void 0;if(0!==o)if(o)f.push(o[2]);else if(666!=i){var a=new Promise((l,c)=>o=e[i]=[l,c]);f.push(o[2]=a);var s=r.p+r.u(i),u=new Error;r.l(s,l=>{if(r.o(e,i)&&(0!==(o=e[i])&&(e[i]=void 0),o)){var c=l&&("load"===l.type?"missing":l.type),p=l&&l.target&&l.target.src;u.message="Loading chunk "+i+" failed.\n("+c+": "+p+")",u.name="ChunkLoadError",u.type=c,u.request=p,o[1](u)}},"chunk-"+i,i)}else e[i]=0},r.O.j=i=>0===e[i];var n=(i,f)=>{var u,d,[o,a,s]=f,l=0;if(o.some(p=>0!==e[p])){for(u in a)r.o(a,u)&&(r.m[u]=a[u]);if(s)var c=s(r)}for(i&&i(f);l<o.length;l++)r.o(e,d=o[l])&&e[d]&&e[d][0](),e[d]=0;return r.O(c)},t=self.webpackChunknb_form_demo=self.webpackChunknb_form_demo||[];t.forEach(n.bind(null,0)),t.push=n.bind(null,t.push.bind(t))})()})(); \ No newline at end of file +(()=>{"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].call(t.exports,t,t.exports,r),t.exports}r.m=v,e=[],r.O=(n,t,i,f)=>{if(!t){var a=1/0;for(o=0;o<e.length;o++){for(var[t,i,f]=e[o],s=!0,u=0;u<t.length;u++)(!1&f||a>=f)&&Object.keys(r.O).every(b=>r.O[b](t[u]))?t.splice(u--,1):(s=!1,f<a&&(a=f));if(s){e.splice(o--,1);var l=i();void 0!==l&&(n=l)}}return n}f=f||0;for(var o=e.length;o>0&&e[o-1][2]>f;o--)e[o]=e[o-1];e[o]=[t,i,f]},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+".6e1dc614f820d04b.js",r.miniCssF=e=>{},r.o=(e,n)=>Object.prototype.hasOwnProperty.call(e,n),(()=>{var e={},n="nb-form-demo:";r.l=(t,i,f,o)=>{if(e[t])e[t].push(i);else{var a,s;if(void 0!==f)for(var u=document.getElementsByTagName("script"),l=0;l<u.length;l++){var d=u[l];if(d.getAttribute("src")==t||d.getAttribute("data-webpack")==n+f){a=d;break}}a||(s=!0,(a=document.createElement("script")).type="module",a.charset="utf-8",a.timeout=120,r.nc&&a.setAttribute("nonce",r.nc),a.setAttribute("data-webpack",n+f),a.src=r.tu(t)),e[t]=[i];var c=(_,b)=>{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=(i,f)=>{var o=r.o(e,i)?e[i]:void 0;if(0!==o)if(o)f.push(o[2]);else if(666!=i){var a=new Promise((d,c)=>o=e[i]=[d,c]);f.push(o[2]=a);var s=r.p+r.u(i),u=new Error;r.l(s,d=>{if(r.o(e,i)&&(0!==(o=e[i])&&(e[i]=void 0),o)){var c=d&&("load"===d.type?"missing":d.type),p=d&&d.target&&d.target.src;u.message="Loading chunk "+i+" failed.\n("+c+": "+p+")",u.name="ChunkLoadError",u.type=c,u.request=p,o[1](u)}},"chunk-"+i,i)}else e[i]=0},r.O.j=i=>0===e[i];var n=(i,f)=>{var u,l,[o,a,s]=f,d=0;if(o.some(p=>0!==e[p])){for(u in a)r.o(a,u)&&(r.m[u]=a[u]);if(s)var c=s(r)}for(i&&i(f);d<o.length;d++)r.o(e,l=o[d])&&e[l]&&e[l][0](),e[l]=0;return r.O(c)},t=self.webpackChunknb_form_demo=self.webpackChunknb_form_demo||[];t.forEach(n.bind(null,0)),t.push=n.bind(null,t.push.bind(t))})()})(); \ No newline at end of file