codecharta-visualization 1.140.1 → 1.141.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json CHANGED
@@ -10,7 +10,7 @@
10
10
  "url": "https://github.com/MaibornWolff/codecharta.git"
11
11
  },
12
12
  "name": "codecharta-visualization",
13
- "version": "1.140.1",
13
+ "version": "1.141.0",
14
14
  "engines": {
15
15
  "node": ">=20"
16
16
  },
@@ -45,9 +45,9 @@
45
45
  "test:autoNoCoverage": "npm run test:auto -- --coverage false",
46
46
  "test:updateSnaps": "npm test -- --updateSnapshot",
47
47
  "test:createCoverageFile": "jest --config conf/jestUnit.config.json --coverage --coverageReporters=lcov --coverageDirectory=coverage",
48
- "e2e": "jest --config conf/jestE2E.config.json .*\\.e2e\\.ts --coverage false",
49
- "e2e:auto": "npm run e2e -- --watch",
50
- "e2e:ci": "npm run e2e -- --runInBand",
48
+ "e2e": "npx playwright test",
49
+ "e2e:auto": "npx playwright test --ui",
50
+ "e2e:ci": "npx playwright test --workers=1",
51
51
  "package": "node script/appMain.js",
52
52
  "package:local": "npm run package -- --local",
53
53
  "schema:generate": "typescript-json-schema ./app/codeCharta/codeCharta.model.ts ExportCCFile --required --topRef --out app/codeCharta/util/generatedSchema.json",
@@ -60,15 +60,15 @@
60
60
  },
61
61
  "license": "BSD-3-Clause",
62
62
  "dependencies": {
63
- "@angular/animations": "^20.3.4",
64
- "@angular/cdk": "^20.2.8",
65
- "@angular/common": "^20.3.4",
66
- "@angular/core": "^20.3.4",
67
- "@angular/forms": "^20.3.4",
63
+ "@angular/animations": "^20.3.15",
64
+ "@angular/cdk": "^20.2.14",
65
+ "@angular/common": "^20.3.15",
66
+ "@angular/core": "^20.3.15",
67
+ "@angular/forms": "^20.3.15",
68
68
  "@angular/material": "^20.2.8",
69
- "@angular/platform-browser": "^20.3.4",
70
- "@angular/platform-browser-dynamic": "^20.3.4",
71
- "@angular/router": "^20.3.4",
69
+ "@angular/platform-browser": "^20.3.15",
70
+ "@angular/platform-browser-dynamic": "^20.3.15",
71
+ "@angular/router": "^20.3.15",
72
72
  "@ngrx/effects": "^20.0.0",
73
73
  "@ngrx/operators": "^20.0.0",
74
74
  "@ngrx/store": "^20.0.0",
@@ -102,42 +102,39 @@
102
102
  "tailwindcss": "^4.1.15",
103
103
  "three": "^0.168.0",
104
104
  "three-orbit-controls": "^82.1.0",
105
- "typescript-json-schema": "0.65.1",
105
+ "typescript-json-schema": "0.66.0",
106
106
  "zone.js": "^0.15.1"
107
107
  },
108
108
  "devDependencies": {
109
- "@angular/build": "^20.3.5",
110
- "@angular/cli": "^20.3.5",
111
- "@angular/compiler": "^20.3.4",
112
- "@angular/compiler-cli": "^20.3.4",
109
+ "@angular/build": "^20.3.13",
110
+ "@angular/cli": "^20.3.13",
111
+ "@angular/compiler": "^20.3.15",
112
+ "@angular/compiler-cli": "^20.3.15",
113
113
  "@babel/plugin-transform-class-static-block": "^7.23.3",
114
114
  "@cyclonedx/cyclonedx-npm": "^4.0.3",
115
115
  "@electron/get": "^4.0.2",
116
116
  "@electron/packager": "^19.0.1",
117
+ "@playwright/test": "^1.57.0",
117
118
  "@testing-library/angular": "^18.1.0",
118
119
  "@testing-library/user-event": "^14.5.2",
119
120
  "@types/color-convert": "2.0.4",
120
121
  "@types/d3-hierarchy": "^3.0.2",
121
- "@types/expect-puppeteer": "^5.0.2",
122
122
  "@types/jest": "^30.0.0",
123
- "@types/jest-environment-puppeteer": "^5.0.6",
124
123
  "@types/node": "^24.0.0",
125
124
  "@types/three": "^0.168.0",
126
125
  "autoprefixer": "^10.4.21",
127
126
  "bestzip": "^2.2.0",
128
127
  "daisyui": "^5.3.7",
129
- "dependency-cruiser": "^17.2.0",
128
+ "dependency-cruiser": "^17.3.2",
130
129
  "fast-xml-parser": "^5.0.0",
131
130
  "html-loader": "^5.0.0",
132
131
  "jest": "^30.2.0",
133
132
  "jest-canvas-mock": "^2.4.0",
134
133
  "jest-environment-jsdom": "^30.1.0",
135
134
  "jest-preset-angular": "15.0.3",
136
- "jest-puppeteer": "^11.0.0",
137
135
  "marked": "^5.0.2",
138
136
  "postcss": "^8.5.6",
139
- "puppeteer": "^24.24.0",
140
- "ts-jest": "^29.4.5",
137
+ "ts-jest": "^29.4.6",
141
138
  "typescript": "5.8.3",
142
139
  "webpack-glsl-loader": "^1.0.1"
143
140
  },
@@ -1,4 +0,0 @@
1
- const tsPreset = require("ts-jest/jest-preset")
2
- const puppeteerPreset = require("jest-puppeteer/jest-preset")
3
-
4
- module.exports = Object.assign(tsPreset, puppeteerPreset)
@@ -1,23 +0,0 @@
1
- {
2
- "collectCoverage": true,
3
- "rootDir": "./../",
4
- "coverageDirectory": "<rootDir>/dist/coverage",
5
- "collectCoverageFrom": ["<rootDir>/app/**/*.ts", "!**/node_modules/**"],
6
- "coveragePathIgnorePatterns": ["\\.(spec|e2e|po)\\.ts$", "<rootDir>/app/puppeteer.helper.ts"],
7
- "transform": {
8
- "\\.(ts|tsx)$": [
9
- "ts-jest",
10
- {
11
- "tsconfig": "tsconfig.spec.json"
12
- }
13
- ],
14
- "^.+\\.md$": "<rootDir>/app/codeCharta/util/testUtils/markdown-transformer.js"
15
- },
16
- "transformIgnorePatterns": ["/node_modules/(?!(three|ngx-color/fesm2020))"],
17
- "roots": ["<rootDir>/app"],
18
- "testMatch": ["**/*.e2e.ts"],
19
- "moduleFileExtensions": ["js", "json", "ts", "mjs"],
20
- "moduleDirectories": ["node_modules", "<rootDir>/app"],
21
- "preset": "./conf/jestE2E-preset.js",
22
- "testTimeout": 60000
23
- }
@@ -1,4 +0,0 @@
1
- var eh=Object.create;var hi=Object.defineProperty,th=Object.defineProperties,nh=Object.getOwnPropertyDescriptor,rh=Object.getOwnPropertyDescriptors,oh=Object.getOwnPropertyNames,dr=Object.getOwnPropertySymbols,Nc=Object.getPrototypeOf,gi=Object.prototype.hasOwnProperty,xc=Object.prototype.propertyIsEnumerable,ih=Reflect.get;var sh=(e,t)=>(t=Symbol[e])?t:Symbol.for("Symbol."+e);var Mc=(e,t,n)=>t in e?hi(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,U=(e,t)=>{for(var n in t||={})gi.call(t,n)&&Mc(e,n,t[n]);if(dr)for(var n of dr(t))xc.call(t,n)&&Mc(e,n,t[n]);return e},q=(e,t)=>th(e,rh(t));var FD=(e,t)=>{var n={};for(var r in e)gi.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&dr)for(var r of dr(e))t.indexOf(r)<0&&xc.call(e,r)&&(n[r]=e[r]);return n};var jD=(e,t)=>()=>(t||e((t={exports:{}}).exports,t),t.exports);var ah=(e,t,n,r)=>{if(t&&typeof t=="object"||typeof t=="function")for(let o of oh(t))!gi.call(e,o)&&o!==n&&hi(e,o,{get:()=>t[o],enumerable:!(r=nh(t,o))||r.enumerable});return e};var VD=(e,t,n)=>(n=e!=null?eh(Nc(e)):{},ah(t||!e||!e.__esModule?hi(n,"default",{value:e,enumerable:!0}):n,e));var HD=(e,t,n)=>ih(Nc(e),n,t);var Sc=(e,t,n)=>new Promise((r,o)=>{var i=c=>{try{a(n.next(c))}catch(l){o(l)}},s=c=>{try{a(n.throw(c))}catch(l){o(l)}},a=c=>c.done?r(c.value):Promise.resolve(c.value).then(i,s);a((n=n.apply(e,t)).next())}),ch=function(e,t){this[0]=e,this[1]=t},BD=(e,t,n)=>{var r=(s,a,c,l)=>{try{var u=n[s](a),d=(a=u.value)instanceof ch,p=u.done;Promise.resolve(d?a[0]:a).then(f=>d?r(s==="return"?s:"next",a[1]?{done:f.done,value:f.value}:f,c,l):c({value:f,done:p})).catch(f=>r("throw",f,c,l))}catch(f){l(f)}},o=s=>i[s]=a=>new Promise((c,l)=>r(s,a,c,l)),i={};return n=n.apply(e,t),i[sh("asyncIterator")]=()=>i,o("next"),o("throw"),o("return"),i};var mi;function fr(){return mi}function be(e){let t=mi;return mi=e,t}var Ac=Symbol("NotFound");function Pt(e){return e===Ac||e?.name==="\u0275NotFound"}var Z=null,pr=!1,yi=1,lh=null,V=Symbol("SIGNAL");function D(e){let t=Z;return Z=e,t}function yr(){return Z}var at={version:0,lastCleanEpoch:0,dirty:!1,producers:void 0,producersTail:void 0,consumers:void 0,consumersTail:void 0,recomputing:!1,consumerAllowSignalWrites:!1,consumerIsAlwaysLive:!1,kind:"unknown",producerMustRecompute:()=>!1,producerRecomputeValue:()=>{},consumerMarkedDirty:()=>{},consumerOnSignalRead:()=>{}};function ct(e){if(pr)throw new Error("");if(Z===null)return;Z.consumerOnSignalRead(e);let t=Z.producersTail;if(t!==void 0&&t.producer===e)return;let n,r=Z.recomputing;if(r&&(n=t!==void 0?t.nextProducer:Z.producers,n!==void 0&&n.producer===e)){Z.producersTail=n,n.lastReadVersion=e.version;return}let o=e.consumersTail;if(o!==void 0&&o.consumer===Z&&(!r||dh(o,Z)))return;let i=Lt(Z),s={producer:e,consumer:Z,nextProducer:n,prevConsumer:o,lastReadVersion:e.version,nextConsumer:void 0};Z.producersTail=s,t!==void 0?t.nextProducer=s:Z.producers=s,i&&Pc(e,s)}function Rc(){yi++}function vr(e){if(!(Lt(e)&&!e.dirty)&&!(!e.dirty&&e.lastCleanEpoch===yi)){if(!e.producerMustRecompute(e)&&!ut(e)){mr(e);return}e.producerRecomputeValue(e),mr(e)}}function vi(e){if(e.consumers===void 0)return;let t=pr;pr=!0;try{for(let n=e.consumers;n!==void 0;n=n.nextConsumer){let r=n.consumer;r.dirty||uh(r)}}finally{pr=t}}function Ei(){return Z?.consumerAllowSignalWrites!==!1}function uh(e){e.dirty=!0,vi(e),e.consumerMarkedDirty?.(e)}function mr(e){e.dirty=!1,e.lastCleanEpoch=yi}function qe(e){return e&&Oc(e),D(e)}function Oc(e){e.producersTail=void 0,e.recomputing=!0}function lt(e,t){D(t),e&&kc(e)}function kc(e){e.recomputing=!1;let t=e.producersTail,n=t!==void 0?t.nextProducer:e.producers;if(n!==void 0){if(Lt(e))do n=Ii(n);while(n!==void 0);t!==void 0?t.nextProducer=void 0:e.producers=void 0}}function ut(e){for(let t=e.producers;t!==void 0;t=t.nextProducer){let n=t.producer,r=t.lastReadVersion;if(r!==n.version||(vr(n),r!==n.version))return!0}return!1}function We(e){if(Lt(e)){let t=e.producers;for(;t!==void 0;)t=Ii(t)}e.producers=void 0,e.producersTail=void 0,e.consumers=void 0,e.consumersTail=void 0}function Pc(e,t){let n=e.consumersTail,r=Lt(e);if(n!==void 0?(t.nextConsumer=n.nextConsumer,n.nextConsumer=t):(t.nextConsumer=void 0,e.consumers=t),t.prevConsumer=n,e.consumersTail=t,!r)for(let o=e.producers;o!==void 0;o=o.nextProducer)Pc(o.producer,o)}function Ii(e){let t=e.producer,n=e.nextProducer,r=e.nextConsumer,o=e.prevConsumer;if(e.nextConsumer=void 0,e.prevConsumer=void 0,r!==void 0?r.prevConsumer=o:t.consumersTail=o,o!==void 0)o.nextConsumer=r;else if(t.consumers=r,!Lt(t)){let i=t.producers;for(;i!==void 0;)i=Ii(i)}return n}function Lt(e){return e.consumerIsAlwaysLive||e.consumers!==void 0}function Er(e){lh?.(e)}function dh(e,t){let n=t.producersTail;if(n!==void 0){let r=t.producers;do{if(r===e)return!0;if(r===n)break;r=r.nextProducer}while(r!==void 0)}return!1}function Ir(e,t){return Object.is(e,t)}function Cn(e,t){let n=Object.create(fh);n.computation=e,t!==void 0&&(n.equal=t);let r=()=>{if(vr(n),ct(n),n.value===Dn)throw n.error;return n.value};return r[V]=n,Er(n),r}var hr=Symbol("UNSET"),gr=Symbol("COMPUTING"),Dn=Symbol("ERRORED"),fh=q(U({},at),{value:hr,dirty:!0,error:null,equal:Ir,kind:"computed",producerMustRecompute(e){return e.value===hr||e.value===gr},producerRecomputeValue(e){if(e.value===gr)throw new Error("");let t=e.value;e.value=gr;let n=qe(e),r,o=!1;try{r=e.computation(),D(null),o=t!==hr&&t!==Dn&&r!==Dn&&e.equal(t,r)}catch(i){r=Dn,e.error=i}finally{lt(e,n)}if(o){e.value=t;return}e.value=r,e.version++}});function ph(){throw new Error}var Lc=ph;function Fc(e){Lc(e)}function Di(e){Lc=e}var hh=null;function Ci(e,t){let n=Object.create(wn);n.value=e,t!==void 0&&(n.equal=t);let r=()=>jc(n);return r[V]=n,Er(n),[r,s=>Ft(n,s),s=>wi(n,s)]}function jc(e){return ct(e),e.value}function Ft(e,t){Ei()||Fc(e),e.equal(e.value,t)||(e.value=t,gh(e))}function wi(e,t){Ei()||Fc(e),Ft(e,t(e.value))}var wn=q(U({},at),{equal:Ir,value:void 0,kind:"signal"});function gh(e){e.version++,Rc(),vi(e),hh?.(e)}function I(e){return typeof e=="function"}function jt(e){let n=e(r=>{Error.call(r),r.stack=new Error().stack});return n.prototype=Object.create(Error.prototype),n.prototype.constructor=n,n}var Dr=jt(e=>function(n){e(this),this.message=n?`${n.length} errors occurred during unsubscription:
2
- ${n.map((r,o)=>`${o+1}) ${r.toString()}`).join(`
3
- `)}`:"",this.name="UnsubscriptionError",this.errors=n});function dt(e,t){if(e){let n=e.indexOf(t);0<=n&&e.splice(n,1)}}var z=class e{constructor(t){this.initialTeardown=t,this.closed=!1,this._parentage=null,this._finalizers=null}unsubscribe(){let t;if(!this.closed){this.closed=!0;let{_parentage:n}=this;if(n)if(this._parentage=null,Array.isArray(n))for(let i of n)i.remove(this);else n.remove(this);let{initialTeardown:r}=this;if(I(r))try{r()}catch(i){t=i instanceof Dr?i.errors:[i]}let{_finalizers:o}=this;if(o){this._finalizers=null;for(let i of o)try{Vc(i)}catch(s){t=t??[],s instanceof Dr?t=[...t,...s.errors]:t.push(s)}}if(t)throw new Dr(t)}}add(t){var n;if(t&&t!==this)if(this.closed)Vc(t);else{if(t instanceof e){if(t.closed||t._hasParent(this))return;t._addParent(this)}(this._finalizers=(n=this._finalizers)!==null&&n!==void 0?n:[]).push(t)}}_hasParent(t){let{_parentage:n}=this;return n===t||Array.isArray(n)&&n.includes(t)}_addParent(t){let{_parentage:n}=this;this._parentage=Array.isArray(n)?(n.push(t),n):n?[n,t]:t}_removeParent(t){let{_parentage:n}=this;n===t?this._parentage=null:Array.isArray(n)&&dt(n,t)}remove(t){let{_finalizers:n}=this;n&&dt(n,t),t instanceof e&&t._removeParent(this)}};z.EMPTY=(()=>{let e=new z;return e.closed=!0,e})();var Ti=z.EMPTY;function Cr(e){return e instanceof z||e&&"closed"in e&&I(e.remove)&&I(e.add)&&I(e.unsubscribe)}function Vc(e){I(e)?e():e.unsubscribe()}var he={onUnhandledError:null,onStoppedNotification:null,Promise:void 0,useDeprecatedSynchronousErrorHandling:!1,useDeprecatedNextContext:!1};var Vt={setTimeout(e,t,...n){let{delegate:r}=Vt;return r?.setTimeout?r.setTimeout(e,t,...n):setTimeout(e,t,...n)},clearTimeout(e){let{delegate:t}=Vt;return(t?.clearTimeout||clearTimeout)(e)},delegate:void 0};function wr(e){Vt.setTimeout(()=>{let{onUnhandledError:t}=he;if(t)t(e);else throw e})}function ge(){}var Hc=bi("C",void 0,void 0);function Bc(e){return bi("E",void 0,e)}function $c(e){return bi("N",e,void 0)}function bi(e,t,n){return{kind:e,value:t,error:n}}var ft=null;function Ht(e){if(he.useDeprecatedSynchronousErrorHandling){let t=!ft;if(t&&(ft={errorThrown:!1,error:null}),e(),t){let{errorThrown:n,error:r}=ft;if(ft=null,n)throw r}}else e()}function Uc(e){he.useDeprecatedSynchronousErrorHandling&&ft&&(ft.errorThrown=!0,ft.error=e)}var pt=class extends z{constructor(t){super(),this.isStopped=!1,t?(this.destination=t,Cr(t)&&t.add(this)):this.destination=vh}static create(t,n,r){return new me(t,n,r)}next(t){this.isStopped?Mi($c(t),this):this._next(t)}error(t){this.isStopped?Mi(Bc(t),this):(this.isStopped=!0,this._error(t))}complete(){this.isStopped?Mi(Hc,this):(this.isStopped=!0,this._complete())}unsubscribe(){this.closed||(this.isStopped=!0,super.unsubscribe(),this.destination=null)}_next(t){this.destination.next(t)}_error(t){try{this.destination.error(t)}finally{this.unsubscribe()}}_complete(){try{this.destination.complete()}finally{this.unsubscribe()}}},mh=Function.prototype.bind;function _i(e,t){return mh.call(e,t)}var Ni=class{constructor(t){this.partialObserver=t}next(t){let{partialObserver:n}=this;if(n.next)try{n.next(t)}catch(r){Tr(r)}}error(t){let{partialObserver:n}=this;if(n.error)try{n.error(t)}catch(r){Tr(r)}else Tr(t)}complete(){let{partialObserver:t}=this;if(t.complete)try{t.complete()}catch(n){Tr(n)}}},me=class extends pt{constructor(t,n,r){super();let o;if(I(t)||!t)o={next:t??void 0,error:n??void 0,complete:r??void 0};else{let i;this&&he.useDeprecatedNextContext?(i=Object.create(t),i.unsubscribe=()=>this.unsubscribe(),o={next:t.next&&_i(t.next,i),error:t.error&&_i(t.error,i),complete:t.complete&&_i(t.complete,i)}):o=t}this.destination=new Ni(o)}};function Tr(e){he.useDeprecatedSynchronousErrorHandling?Uc(e):wr(e)}function yh(e){throw e}function Mi(e,t){let{onStoppedNotification:n}=he;n&&Vt.setTimeout(()=>n(e,t))}var vh={closed:!0,next:ge,error:yh,complete:ge};var Bt=typeof Symbol=="function"&&Symbol.observable||"@@observable";function J(e){return e}function qc(e){return e.length===0?J:e.length===1?e[0]:function(n){return e.reduce((r,o)=>o(r),n)}}var x=(()=>{class e{constructor(n){n&&(this._subscribe=n)}lift(n){let r=new e;return r.source=this,r.operator=n,r}subscribe(n,r,o){let i=Ih(n)?n:new me(n,r,o);return Ht(()=>{let{operator:s,source:a}=this;i.add(s?s.call(i,a):a?this._subscribe(i):this._trySubscribe(i))}),i}_trySubscribe(n){try{return this._subscribe(n)}catch(r){n.error(r)}}forEach(n,r){return r=Wc(r),new r((o,i)=>{let s=new me({next:a=>{try{n(a)}catch(c){i(c),s.unsubscribe()}},error:i,complete:o});this.subscribe(s)})}_subscribe(n){var r;return(r=this.source)===null||r===void 0?void 0:r.subscribe(n)}[Bt](){return this}pipe(...n){return qc(n)(this)}toPromise(n){return n=Wc(n),new n((r,o)=>{let i;this.subscribe(s=>i=s,s=>o(s),()=>r(i))})}}return e.create=t=>new e(t),e})();function Wc(e){var t;return(t=e??he.Promise)!==null&&t!==void 0?t:Promise}function Eh(e){return e&&I(e.next)&&I(e.error)&&I(e.complete)}function Ih(e){return e&&e instanceof pt||Eh(e)&&Cr(e)}function Dh(e){return I(e?.lift)}function y(e){return t=>{if(Dh(t))return t.lift(function(n){try{return e(n,this)}catch(r){this.error(r)}});throw new TypeError("Unable to lift unknown Observable type")}}function g(e,t,n,r,o){return new Tn(e,t,n,r,o)}var Tn=class extends pt{constructor(t,n,r,o,i,s){super(t),this.onFinalize=i,this.shouldUnsubscribe=s,this._next=n?function(a){try{n(a)}catch(c){t.error(c)}}:super._next,this._error=o?function(a){try{o(a)}catch(c){t.error(c)}finally{this.unsubscribe()}}:super._error,this._complete=r?function(){try{r()}catch(a){t.error(a)}finally{this.unsubscribe()}}:super._complete}unsubscribe(){var t;if(!this.shouldUnsubscribe||this.shouldUnsubscribe()){let{closed:n}=this;super.unsubscribe(),!n&&((t=this.onFinalize)===null||t===void 0||t.call(this))}}};var Gc=jt(e=>function(){e(this),this.name="ObjectUnsubscribedError",this.message="object unsubscribed"});var te=(()=>{class e extends x{constructor(){super(),this.closed=!1,this.currentObservers=null,this.observers=[],this.isStopped=!1,this.hasError=!1,this.thrownError=null}lift(n){let r=new br(this,this);return r.operator=n,r}_throwIfClosed(){if(this.closed)throw new Gc}next(n){Ht(()=>{if(this._throwIfClosed(),!this.isStopped){this.currentObservers||(this.currentObservers=Array.from(this.observers));for(let r of this.currentObservers)r.next(n)}})}error(n){Ht(()=>{if(this._throwIfClosed(),!this.isStopped){this.hasError=this.isStopped=!0,this.thrownError=n;let{observers:r}=this;for(;r.length;)r.shift().error(n)}})}complete(){Ht(()=>{if(this._throwIfClosed(),!this.isStopped){this.isStopped=!0;let{observers:n}=this;for(;n.length;)n.shift().complete()}})}unsubscribe(){this.isStopped=this.closed=!0,this.observers=this.currentObservers=null}get observed(){var n;return((n=this.observers)===null||n===void 0?void 0:n.length)>0}_trySubscribe(n){return this._throwIfClosed(),super._trySubscribe(n)}_subscribe(n){return this._throwIfClosed(),this._checkFinalizedStatuses(n),this._innerSubscribe(n)}_innerSubscribe(n){let{hasError:r,isStopped:o,observers:i}=this;return r||o?Ti:(this.currentObservers=null,i.push(n),new z(()=>{this.currentObservers=null,dt(i,n)}))}_checkFinalizedStatuses(n){let{hasError:r,thrownError:o,isStopped:i}=this;r?n.error(o):i&&n.complete()}asObservable(){let n=new x;return n.source=this,n}}return e.create=(t,n)=>new br(t,n),e})(),br=class extends te{constructor(t,n){super(),this.destination=t,this.source=n}next(t){var n,r;(r=(n=this.destination)===null||n===void 0?void 0:n.next)===null||r===void 0||r.call(n,t)}error(t){var n,r;(r=(n=this.destination)===null||n===void 0?void 0:n.error)===null||r===void 0||r.call(n,t)}complete(){var t,n;(n=(t=this.destination)===null||t===void 0?void 0:t.complete)===null||n===void 0||n.call(t)}_subscribe(t){var n,r;return(r=(n=this.source)===null||n===void 0?void 0:n.subscribe(t))!==null&&r!==void 0?r:Ti}};var bn=class extends te{constructor(t){super(),this._value=t}get value(){return this.getValue()}_subscribe(t){let n=super._subscribe(t);return!n.closed&&t.next(this._value),n}getValue(){let{hasError:t,thrownError:n,_value:r}=this;if(t)throw n;return this._throwIfClosed(),r}next(t){super.next(this._value=t)}};var _n={now(){return(_n.delegate||Date).now()},delegate:void 0};var _r=class extends te{constructor(t=1/0,n=1/0,r=_n){super(),this._bufferSize=t,this._windowTime=n,this._timestampProvider=r,this._buffer=[],this._infiniteTimeWindow=!0,this._infiniteTimeWindow=n===1/0,this._bufferSize=Math.max(1,t),this._windowTime=Math.max(1,n)}next(t){let{isStopped:n,_buffer:r,_infiniteTimeWindow:o,_timestampProvider:i,_windowTime:s}=this;n||(r.push(t),!o&&r.push(i.now()+s)),this._trimBuffer(),super.next(t)}_subscribe(t){this._throwIfClosed(),this._trimBuffer();let n=this._innerSubscribe(t),{_infiniteTimeWindow:r,_buffer:o}=this,i=o.slice();for(let s=0;s<i.length&&!t.closed;s+=r?1:2)t.next(i[s]);return this._checkFinalizedStatuses(t),n}_trimBuffer(){let{_bufferSize:t,_timestampProvider:n,_buffer:r,_infiniteTimeWindow:o}=this,i=(o?1:2)*t;if(t<1/0&&i<r.length&&r.splice(0,r.length-i),!o){let s=n.now(),a=0;for(let c=1;c<r.length&&r[c]<=s;c+=2)a=c;a&&r.splice(0,a+1)}}};var Mr=class extends z{constructor(t,n){super()}schedule(t,n=0){return this}};var Mn={setInterval(e,t,...n){let{delegate:r}=Mn;return r?.setInterval?r.setInterval(e,t,...n):setInterval(e,t,...n)},clearInterval(e){let{delegate:t}=Mn;return(t?.clearInterval||clearInterval)(e)},delegate:void 0};var $t=class extends Mr{constructor(t,n){super(t,n),this.scheduler=t,this.work=n,this.pending=!1}schedule(t,n=0){var r;if(this.closed)return this;this.state=t;let o=this.id,i=this.scheduler;return o!=null&&(this.id=this.recycleAsyncId(i,o,n)),this.pending=!0,this.delay=n,this.id=(r=this.id)!==null&&r!==void 0?r:this.requestAsyncId(i,this.id,n),this}requestAsyncId(t,n,r=0){return Mn.setInterval(t.flush.bind(t,this),r)}recycleAsyncId(t,n,r=0){if(r!=null&&this.delay===r&&this.pending===!1)return n;n!=null&&Mn.clearInterval(n)}execute(t,n){if(this.closed)return new Error("executing a cancelled action");this.pending=!1;let r=this._execute(t,n);if(r)return r;this.pending===!1&&this.id!=null&&(this.id=this.recycleAsyncId(this.scheduler,this.id,null))}_execute(t,n){let r=!1,o;try{this.work(t)}catch(i){r=!0,o=i||new Error("Scheduled action threw falsy error")}if(r)return this.unsubscribe(),o}unsubscribe(){if(!this.closed){let{id:t,scheduler:n}=this,{actions:r}=n;this.work=this.state=this.scheduler=null,this.pending=!1,dt(r,this),t!=null&&(this.id=this.recycleAsyncId(n,t,null)),this.delay=null,super.unsubscribe()}}};var Ut=class e{constructor(t,n=e.now){this.schedulerActionCtor=t,this.now=n}schedule(t,n=0,r){return new this.schedulerActionCtor(this,t).schedule(r,n)}};Ut.now=_n.now;var qt=class extends Ut{constructor(t,n=Ut.now){super(t,n),this.actions=[],this._active=!1}flush(t){let{actions:n}=this;if(this._active){n.push(t);return}let r;this._active=!0;do if(r=t.execute(t.state,t.delay))break;while(t=n.shift());if(this._active=!1,r){for(;t=n.shift();)t.unsubscribe();throw r}}};var Ge=new qt($t),xi=Ge;var Nr=class extends $t{constructor(t,n){super(t,n),this.scheduler=t,this.work=n}schedule(t,n=0){return n>0?super.schedule(t,n):(this.delay=n,this.state=t,this.scheduler.flush(this),this)}execute(t,n){return n>0||this.closed?super.execute(t,n):this._execute(t,n)}requestAsyncId(t,n,r=0){return r!=null&&r>0||r==null&&this.delay>0?super.requestAsyncId(t,n,r):(t.flush(this),0)}};var xr=class extends qt{};var Ch=new xr(Nr);var ht=new x(e=>e.complete());function Sr(e){return e&&I(e.schedule)}function Si(e){return e[e.length-1]}function Wt(e){return I(Si(e))?e.pop():void 0}function _e(e){return Sr(Si(e))?e.pop():void 0}function zc(e,t){return typeof Si(e)=="number"?e.pop():t}function Zc(e,t,n,r){function o(i){return i instanceof n?i:new n(function(s){s(i)})}return new(n||(n=Promise))(function(i,s){function a(u){try{l(r.next(u))}catch(d){s(d)}}function c(u){try{l(r.throw(u))}catch(d){s(d)}}function l(u){u.done?i(u.value):o(u.value).then(a,c)}l((r=r.apply(e,t||[])).next())})}function Qc(e){var t=typeof Symbol=="function"&&Symbol.iterator,n=t&&e[t],r=0;if(n)return n.call(e);if(e&&typeof e.length=="number")return{next:function(){return e&&r>=e.length&&(e=void 0),{value:e&&e[r++],done:!e}}};throw new TypeError(t?"Object is not iterable.":"Symbol.iterator is not defined.")}function gt(e){return this instanceof gt?(this.v=e,this):new gt(e)}function Yc(e,t,n){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var r=n.apply(e,t||[]),o,i=[];return o=Object.create((typeof AsyncIterator=="function"?AsyncIterator:Object).prototype),a("next"),a("throw"),a("return",s),o[Symbol.asyncIterator]=function(){return this},o;function s(f){return function(h){return Promise.resolve(h).then(f,d)}}function a(f,h){r[f]&&(o[f]=function(m){return new Promise(function(_,T){i.push([f,m,_,T])>1||c(f,m)})},h&&(o[f]=h(o[f])))}function c(f,h){try{l(r[f](h))}catch(m){p(i[0][3],m)}}function l(f){f.value instanceof gt?Promise.resolve(f.value.v).then(u,d):p(i[0][2],f)}function u(f){c("next",f)}function d(f){c("throw",f)}function p(f,h){f(h),i.shift(),i.length&&c(i[0][0],i[0][1])}}function Kc(e){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var t=e[Symbol.asyncIterator],n;return t?t.call(e):(e=typeof Qc=="function"?Qc(e):e[Symbol.iterator](),n={},r("next"),r("throw"),r("return"),n[Symbol.asyncIterator]=function(){return this},n);function r(i){n[i]=e[i]&&function(s){return new Promise(function(a,c){s=e[i](s),o(a,c,s.done,s.value)})}}function o(i,s,a,c){Promise.resolve(c).then(function(l){i({value:l,done:a})},s)}}var Gt=e=>e&&typeof e.length=="number"&&typeof e!="function";function Ar(e){return I(e?.then)}function Rr(e){return I(e[Bt])}function Or(e){return Symbol.asyncIterator&&I(e?.[Symbol.asyncIterator])}function kr(e){return new TypeError(`You provided ${e!==null&&typeof e=="object"?"an invalid object":`'${e}'`} where a stream was expected. You can provide an Observable, Promise, ReadableStream, Array, AsyncIterable, or Iterable.`)}function wh(){return typeof Symbol!="function"||!Symbol.iterator?"@@iterator":Symbol.iterator}var Pr=wh();function Lr(e){return I(e?.[Pr])}function Fr(e){return Yc(this,arguments,function*(){let n=e.getReader();try{for(;;){let{value:r,done:o}=yield gt(n.read());if(o)return yield gt(void 0);yield yield gt(r)}}finally{n.releaseLock()}})}function jr(e){return I(e?.getReader)}function b(e){if(e instanceof x)return e;if(e!=null){if(Rr(e))return Th(e);if(Gt(e))return bh(e);if(Ar(e))return _h(e);if(Or(e))return Jc(e);if(Lr(e))return Mh(e);if(jr(e))return Nh(e)}throw kr(e)}function Th(e){return new x(t=>{let n=e[Bt]();if(I(n.subscribe))return n.subscribe(t);throw new TypeError("Provided object does not correctly implement Symbol.observable")})}function bh(e){return new x(t=>{for(let n=0;n<e.length&&!t.closed;n++)t.next(e[n]);t.complete()})}function _h(e){return new x(t=>{e.then(n=>{t.closed||(t.next(n),t.complete())},n=>t.error(n)).then(null,wr)})}function Mh(e){return new x(t=>{for(let n of e)if(t.next(n),t.closed)return;t.complete()})}function Jc(e){return new x(t=>{xh(e,t).catch(n=>t.error(n))})}function Nh(e){return Jc(Fr(e))}function xh(e,t){var n,r,o,i;return Zc(this,void 0,void 0,function*(){try{for(n=Kc(e);r=yield n.next(),!r.done;){let s=r.value;if(t.next(s),t.closed)return}}catch(s){o={error:s}}finally{try{r&&!r.done&&(i=n.return)&&(yield i.call(n))}finally{if(o)throw o.error}}t.complete()})}function ne(e,t,n,r=0,o=!1){let i=t.schedule(function(){n(),o?e.add(this.schedule(null,r)):this.unsubscribe()},r);if(e.add(i),!o)return i}function Nn(e,t=0){return y((n,r)=>{n.subscribe(g(r,o=>ne(r,e,()=>r.next(o),t),()=>ne(r,e,()=>r.complete(),t),o=>ne(r,e,()=>r.error(o),t)))})}function Vr(e,t=0){return y((n,r)=>{r.add(e.schedule(()=>n.subscribe(r),t))})}function Xc(e,t){return b(e).pipe(Vr(t),Nn(t))}function el(e,t){return b(e).pipe(Vr(t),Nn(t))}function tl(e,t){return new x(n=>{let r=0;return t.schedule(function(){r===e.length?n.complete():(n.next(e[r++]),n.closed||this.schedule())})})}function nl(e,t){return new x(n=>{let r;return ne(n,t,()=>{r=e[Pr](),ne(n,t,()=>{let o,i;try{({value:o,done:i}=r.next())}catch(s){n.error(s);return}i?n.complete():n.next(o)},0,!0)}),()=>I(r?.return)&&r.return()})}function Hr(e,t){if(!e)throw new Error("Iterable cannot be null");return new x(n=>{ne(n,t,()=>{let r=e[Symbol.asyncIterator]();ne(n,t,()=>{r.next().then(o=>{o.done?n.complete():n.next(o.value)})},0,!0)})})}function rl(e,t){return Hr(Fr(e),t)}function ol(e,t){if(e!=null){if(Rr(e))return Xc(e,t);if(Gt(e))return tl(e,t);if(Ar(e))return el(e,t);if(Or(e))return Hr(e,t);if(Lr(e))return nl(e,t);if(jr(e))return rl(e,t)}throw kr(e)}function Me(e,t){return t?ol(e,t):b(e)}function Ai(...e){let t=_e(e);return Me(e,t)}function il(e,t){let n=I(e)?e:()=>e,r=o=>o.error(n());return new x(t?o=>t.schedule(r,0,o):r)}var ze=class e{constructor(t,n,r){this.kind=t,this.value=n,this.error=r,this.hasValue=t==="N"}observe(t){return Ri(this,t)}do(t,n,r){let{kind:o,value:i,error:s}=this;return o==="N"?t?.(i):o==="E"?n?.(s):r?.()}accept(t,n,r){var o;return I((o=t)===null||o===void 0?void 0:o.next)?this.observe(t):this.do(t,n,r)}toObservable(){let{kind:t,value:n,error:r}=this,o=t==="N"?Ai(n):t==="E"?il(()=>r):t==="C"?ht:0;if(!o)throw new TypeError(`Unexpected notification kind ${t}`);return o}static createNext(t){return new e("N",t)}static createError(t){return new e("E",void 0,t)}static createComplete(){return e.completeNotification}};ze.completeNotification=new ze("C");function Ri(e,t){var n,r,o;let{kind:i,value:s,error:a}=e;if(typeof i!="string")throw new TypeError('Invalid notification, missing "kind"');i==="N"?(n=t.next)===null||n===void 0||n.call(t,s):i==="E"?(r=t.error)===null||r===void 0||r.call(t,a):(o=t.complete)===null||o===void 0||o.call(t)}var zt=jt(e=>function(){e(this),this.name="EmptyError",this.message="no elements in sequence"});function Sh(e,t){let n=typeof t=="object";return new Promise((r,o)=>{let i=new me({next:s=>{r(s),i.unsubscribe()},error:o,complete:()=>{n?r(t.defaultValue):o(new zt)}});e.subscribe(i)})}function sl(e){return e instanceof Date&&!isNaN(e)}function re(e,t){return y((n,r)=>{let o=0;n.subscribe(g(r,i=>{r.next(e.call(t,i,o++))}))})}var{isArray:Ah}=Array;function Rh(e,t){return Ah(t)?e(...t):e(t)}function Qt(e){return re(t=>Rh(e,t))}var{isArray:Oh}=Array,{getPrototypeOf:kh,prototype:Ph,keys:Lh}=Object;function Br(e){if(e.length===1){let t=e[0];if(Oh(t))return{args:t,keys:null};if(Fh(t)){let n=Lh(t);return{args:n.map(r=>t[r]),keys:n}}}return{args:e,keys:null}}function Fh(e){return e&&typeof e=="object"&&kh(e)===Ph}function $r(e,t){return e.reduce((n,r,o)=>(n[r]=t[o],n),{})}function jh(...e){let t=_e(e),n=Wt(e),{args:r,keys:o}=Br(e);if(r.length===0)return Me([],t);let i=new x(Vh(r,t,o?s=>$r(o,s):J));return n?i.pipe(Qt(n)):i}function Vh(e,t,n=J){return r=>{al(t,()=>{let{length:o}=e,i=new Array(o),s=o,a=o;for(let c=0;c<o;c++)al(t,()=>{let l=Me(e[c],t),u=!1;l.subscribe(g(r,d=>{i[c]=d,u||(u=!0,a--),a||r.next(n(i.slice()))},()=>{--s||r.complete()}))},r)},r)}}function al(e,t,n){e?ne(n,e,t):t()}function cl(e,t,n,r,o,i,s,a){let c=[],l=0,u=0,d=!1,p=()=>{d&&!c.length&&!l&&t.complete()},f=m=>l<r?h(m):c.push(m),h=m=>{i&&t.next(m),l++;let _=!1;b(n(m,u++)).subscribe(g(t,T=>{o?.(T),i?f(T):t.next(T)},()=>{_=!0},void 0,()=>{if(_)try{for(l--;c.length&&l<r;){let T=c.shift();s?ne(t,s,()=>h(T)):h(T)}p()}catch(T){t.error(T)}}))};return e.subscribe(g(t,f,()=>{d=!0,p()})),()=>{a?.()}}function Ne(e,t,n=1/0){return I(t)?Ne((r,o)=>re((i,s)=>t(r,i,o,s))(b(e(r,o))),n):(typeof t=="number"&&(n=t),y((r,o)=>cl(r,o,e,n)))}function xn(e=1/0){return Ne(J,e)}function ll(){return xn(1)}function Oi(...e){return ll()(Me(e,_e(e)))}function Hh(e){return new x(t=>{b(e()).subscribe(t)})}function Bh(...e){let t=Wt(e),{args:n,keys:r}=Br(e),o=new x(i=>{let{length:s}=n;if(!s){i.complete();return}let a=new Array(s),c=s,l=s;for(let u=0;u<s;u++){let d=!1;b(n[u]).subscribe(g(i,p=>{d||(d=!0,l--),a[u]=p},()=>c--,void 0,()=>{(!c||!d)&&(l||i.next(r?$r(r,a):a),i.complete())}))}});return t?o.pipe(Qt(t)):o}var $h=["addListener","removeListener"],Uh=["addEventListener","removeEventListener"],qh=["on","off"];function ki(e,t,n,r){if(I(n)&&(r=n,n=void 0),r)return ki(e,t,n).pipe(Qt(r));let[o,i]=zh(e)?Uh.map(s=>a=>e[s](t,a,n)):Wh(e)?$h.map(ul(e,t)):Gh(e)?qh.map(ul(e,t)):[];if(!o&&Gt(e))return Ne(s=>ki(s,t,n))(b(e));if(!o)throw new TypeError("Invalid event target");return new x(s=>{let a=(...c)=>s.next(1<c.length?c:c[0]);return o(a),()=>i(a)})}function ul(e,t){return n=>r=>e[n](t,r)}function Wh(e){return I(e.addListener)&&I(e.removeListener)}function Gh(e){return I(e.on)&&I(e.off)}function zh(e){return I(e.addEventListener)&&I(e.removeEventListener)}function Ur(e=0,t,n=xi){let r=-1;return t!=null&&(Sr(t)?n=t:r=t),new x(o=>{let i=sl(e)?+e-n.now():e;i<0&&(i=0);let s=0;return n.schedule(function(){o.closed||(o.next(s++),0<=r?this.schedule(void 0,r):o.complete())},i)})}function Qh(...e){let t=_e(e),n=zc(e,1/0),r=e;return r.length?r.length===1?b(r[0]):xn(n)(Me(r,t)):ht}function dl(e,t){return(n,r)=>!e.call(t,n,r)}function Le(e,t){return y((n,r)=>{let o=0;n.subscribe(g(r,i=>e.call(t,i,o++)&&r.next(i)))})}function Zh(e,t,n){return[Le(t,n)(b(e)),Le(dl(t,n))(b(e))]}function fl(e){return y((t,n)=>{let r=!1,o=null,i=null,s=!1,a=()=>{if(i?.unsubscribe(),i=null,r){r=!1;let l=o;o=null,n.next(l)}s&&n.complete()},c=()=>{i=null,s&&n.complete()};t.subscribe(g(n,l=>{r=!0,o=l,i||b(e(l)).subscribe(i=g(n,a,c))},()=>{s=!0,(!r||!i||i.closed)&&n.complete()}))})}function Yh(e,t=Ge){return fl(()=>Ur(e,t))}function pl(e){return y((t,n)=>{let r=null,o=!1,i;r=t.subscribe(g(n,void 0,void 0,s=>{i=b(e(s,pl(e)(t))),r?(r.unsubscribe(),r=null,i.subscribe(n)):o=!0})),o&&(r.unsubscribe(),r=null,i.subscribe(n))})}function hl(e,t,n,r,o){return(i,s)=>{let a=n,c=t,l=0;i.subscribe(g(s,u=>{let d=l++;c=a?e(c,u,d):(a=!0,u),r&&s.next(c)},o&&(()=>{a&&s.next(c),s.complete()})))}}function Kh(e,t){return I(t)?Ne(e,t,1):Ne(e,1)}function gl(e,t=Ge){return y((n,r)=>{let o=null,i=null,s=null,a=()=>{if(o){o.unsubscribe(),o=null;let l=i;i=null,r.next(l)}};function c(){let l=s+e,u=t.now();if(u<l){o=this.schedule(void 0,l-u),r.add(o);return}a()}n.subscribe(g(r,l=>{i=l,s=t.now(),o||(o=t.schedule(c,e),r.add(o))},()=>{a(),r.complete()},void 0,()=>{i=o=null}))})}function ml(e){return y((t,n)=>{let r=!1;t.subscribe(g(n,o=>{r=!0,n.next(o)},()=>{r||n.next(e),n.complete()}))})}function qr(e){return e<=0?()=>ht:y((t,n)=>{let r=0;t.subscribe(g(n,o=>{++r<=e&&(n.next(o),e<=r&&n.complete())}))})}function Jh(){return y((e,t)=>{e.subscribe(g(t,ge))})}function Xh(e){return re(()=>e)}function eg(){return y((e,t)=>{e.subscribe(g(t,n=>Ri(n,t)))})}function tg(e,t){return y((n,r)=>{let o=new Set;n.subscribe(g(r,i=>{let s=e?e(i):i;o.has(s)||(o.add(s),r.next(i))})),t&&b(t).subscribe(g(r,()=>o.clear(),ge))})}function yl(e,t=J){return e=e??ng,y((n,r)=>{let o,i=!0;n.subscribe(g(r,s=>{let a=t(s);(i||!e(o,a))&&(i=!1,o=a,r.next(s))}))})}function ng(e,t){return e===t}function vl(e=rg){return y((t,n)=>{let r=!1;t.subscribe(g(n,o=>{r=!0,n.next(o)},()=>r?n.complete():n.error(e())))})}function rg(){return new zt}function El(e,t){return t?n=>n.pipe(El((r,o)=>b(e(r,o)).pipe(re((i,s)=>t(r,i,o,s))))):y((n,r)=>{let o=0,i=null,s=!1;n.subscribe(g(r,a=>{i||(i=g(r,void 0,()=>{i=null,s&&r.complete()}),b(e(a,o++)).subscribe(i))},()=>{s=!0,!i&&r.complete()}))})}function og(e){return y((t,n)=>{try{t.subscribe(n)}finally{n.add(e)}})}function ig(e,t){let n=arguments.length>=2;return r=>r.pipe(e?Le((o,i)=>e(o,i,r)):J,qr(1),n?ml(t):vl(()=>new zt))}function sg(e,t,n,r){return y((o,i)=>{let s;!t||typeof t=="function"?s=t:{duration:n,element:s,connector:r}=t;let a=new Map,c=h=>{a.forEach(h),h(i)},l=h=>c(m=>m.error(h)),u=0,d=!1,p=new Tn(i,h=>{try{let m=e(h),_=a.get(m);if(!_){a.set(m,_=r?r():new te);let T=f(m,_);if(i.next(T),n){let G=g(_,()=>{_.complete(),G?.unsubscribe()},void 0,void 0,()=>a.delete(m));p.add(b(n(T)).subscribe(G))}}_.next(s?s(h):h)}catch(m){l(m)}},()=>c(h=>h.complete()),l,()=>a.clear(),()=>(d=!0,u===0));o.subscribe(p);function f(h,m){let _=new x(T=>{u++;let G=m.subscribe(T);return()=>{G.unsubscribe(),--u===0&&d&&p.unsubscribe()}});return _.key=h,_}})}function ag(){return y((e,t)=>{e.subscribe(g(t,n=>{t.next(ze.createNext(n))},()=>{t.next(ze.createComplete()),t.complete()},n=>{t.next(ze.createError(n)),t.complete()}))})}function Il(){return y((e,t)=>{let n,r=!1;e.subscribe(g(t,o=>{let i=n;n=o,r&&t.next([i,o]),r=!0}))})}function cg(...e){let t=e.length;if(t===0)throw new Error("list of properties cannot be empty.");return re(n=>{let r=n;for(let o=0;o<t;o++){let i=r?.[e[o]];if(typeof i<"u")r=i;else return}return r})}function lg(e,t){return y(hl(e,t,arguments.length>=2,!0))}function Li(e={}){let{connector:t=()=>new te,resetOnError:n=!0,resetOnComplete:r=!0,resetOnRefCountZero:o=!0}=e;return i=>{let s,a,c,l=0,u=!1,d=!1,p=()=>{a?.unsubscribe(),a=void 0},f=()=>{p(),s=c=void 0,u=d=!1},h=()=>{let m=s;f(),m?.unsubscribe()};return y((m,_)=>{l++,!d&&!u&&p();let T=c=c??t();_.add(()=>{l--,l===0&&!d&&!u&&(a=Pi(h,o))}),T.subscribe(_),!s&&l>0&&(s=new me({next:G=>T.next(G),error:G=>{d=!0,p(),a=Pi(f,n,G),T.error(G)},complete:()=>{u=!0,p(),a=Pi(f,r),T.complete()}}),b(m).subscribe(s))})(i)}}function Pi(e,t,...n){if(t===!0){e();return}if(t===!1)return;let r=new me({next:()=>{r.unsubscribe(),e()}});return b(t(...n)).subscribe(r)}function ug(e,t,n){let r,o=!1;return e&&typeof e=="object"?{bufferSize:r=1/0,windowTime:t=1/0,refCount:o=!1,scheduler:n}=e:r=e??1/0,Li({connector:()=>new _r(r,t,n),resetOnError:!0,resetOnComplete:!1,resetOnRefCountZero:o})}function Dl(e){return Le((t,n)=>e<=n)}function dg(e){return y((t,n)=>{let r=!1,o=0;t.subscribe(g(n,i=>(r||(r=!e(i,o++)))&&n.next(i)))})}function fg(...e){let t=_e(e);return y((n,r)=>{(t?Oi(e,n,t):Oi(e,n)).subscribe(r)})}function Cl(e,t){return y((n,r)=>{let o=null,i=0,s=!1,a=()=>s&&!o&&r.complete();n.subscribe(g(r,c=>{o?.unsubscribe();let l=0,u=i++;b(e(c,u)).subscribe(o=g(r,d=>r.next(t?t(c,d,u,l++):d),()=>{o=null,a()}))},()=>{s=!0,a()}))})}function pg(e){return y((t,n)=>{b(e).subscribe(g(n,()=>n.complete(),ge)),!n.closed&&t.subscribe(n)})}function hg(e,t=!1){return y((n,r)=>{let o=0;n.subscribe(g(r,i=>{let s=e(i,o++);(s||t)&&r.next(i),!s&&r.complete()}))})}function wl(e,t,n){let r=I(e)||t||n?{next:e,error:t,complete:n}:e;return r?y((o,i)=>{var s;(s=r.subscribe)===null||s===void 0||s.call(r);let a=!0;o.subscribe(g(i,c=>{var l;(l=r.next)===null||l===void 0||l.call(r,c),i.next(c)},()=>{var c;a=!1,(c=r.complete)===null||c===void 0||c.call(r),i.complete()},c=>{var l;a=!1,(l=r.error)===null||l===void 0||l.call(r,c),i.error(c)},()=>{var c,l;a&&((c=r.unsubscribe)===null||c===void 0||c.call(r)),(l=r.finalize)===null||l===void 0||l.call(r)}))}):J}function Tl(e,t){return y((n,r)=>{let{leading:o=!0,trailing:i=!1}=t??{},s=!1,a=null,c=null,l=!1,u=()=>{c?.unsubscribe(),c=null,i&&(f(),l&&r.complete())},d=()=>{c=null,l&&r.complete()},p=h=>c=b(e(h)).subscribe(g(r,u,d)),f=()=>{if(s){s=!1;let h=a;a=null,r.next(h),!l&&p(h)}};n.subscribe(g(r,h=>{s=!0,a=h,!(c&&!c.closed)&&(o?f():p(h))},()=>{l=!0,!(i&&s&&c&&!c.closed)&&r.complete()}))})}function gg(e,t=Ge,n){let r=Ur(e,t);return Tl(()=>r,n)}function bl(...e){let t=Wt(e);return y((n,r)=>{let o=e.length,i=new Array(o),s=e.map(()=>!1),a=!1;for(let c=0;c<o;c++)b(e[c]).subscribe(g(r,l=>{i[c]=l,!a&&!s[c]&&(s[c]=!0,(a=s.every(J))&&(s=null))},ge));n.subscribe(g(r,c=>{if(a){let l=[c,...i];r.next(t?t(...l):l)}}))})}function _l(e){let t=D(null);try{return e()}finally{D(t)}}var Ml=q(U({},at),{consumerIsAlwaysLive:!0,consumerAllowSignalWrites:!0,dirty:!0,kind:"effect"});function Nl(e){if(e.dirty=!1,e.version>0&&!ut(e))return;e.version++;let t=qe(e);try{e.cleanup(),e.fn()}finally{lt(e,t)}}var Qr="https://angular.dev/best-practices/security#preventing-cross-site-scripting-xss",N=class extends Error{code;constructor(t,n){super(kn(t,n)),this.code=t}};function mg(e){return`NG0${Math.abs(e)}`}function kn(e,t){return`${mg(e)}${t?": "+t:""}`}var Ae=globalThis;function R(e){for(let t in e)if(e[t]===R)return t;throw Error("")}function Al(e,t){for(let n in t)t.hasOwnProperty(n)&&!e.hasOwnProperty(n)&&(e[n]=t[n])}function Qe(e){if(typeof e=="string")return e;if(Array.isArray(e))return`[${e.map(Qe).join(", ")}]`;if(e==null)return""+e;let t=e.overriddenName||e.name;if(t)return`${t}`;let n=e.toString();if(n==null)return""+n;let r=n.indexOf(`
4
- `);return r>=0?n.slice(0,r):n}function Zr(e,t){return e?t?`${e} ${t}`:e:t||""}var yg=R({__forward_ref__:R});function Yr(e){return e.__forward_ref__=Yr,e.toString=function(){return Qe(this())},e}function H(e){return Qi(e)?e():e}function Qi(e){return typeof e=="function"&&e.hasOwnProperty(yg)&&e.__forward_ref__===Yr}function Q(e){return{token:e.token,providedIn:e.providedIn||null,factory:e.factory,value:void 0}}function Rl(e){return{providers:e.providers||[],imports:e.imports||[]}}function Kr(e){return vg(e,Jr)}function vg(e,t){return e.hasOwnProperty(t)&&e[t]||null}function Eg(e){let t=e?.[Jr]??null;return t||null}function ji(e){return e&&e.hasOwnProperty(Gr)?e[Gr]:null}var Jr=R({\u0275prov:R}),Gr=R({\u0275inj:R}),S=class{_desc;ngMetadataName="InjectionToken";\u0275prov;constructor(t,n){this._desc=t,this.\u0275prov=void 0,typeof n=="number"?this.__NG_ELEMENT_ID__=n:n!==void 0&&(this.\u0275prov=Q({token:this,providedIn:n.providedIn||"root",factory:n.factory}))}get multi(){return this}toString(){return`InjectionToken ${this._desc}`}};function Zi(e){return e&&!!e.\u0275providers}var Yi=R({\u0275cmp:R}),Ki=R({\u0275dir:R}),Ji=R({\u0275pipe:R});var An=R({\u0275fac:R}),It=R({__NG_ELEMENT_ID__:R}),xl=R({__NG_ENV_ID__:R});function ie(e){return typeof e=="string"?e:e==null?"":String(e)}function Ol(e){return typeof e=="function"?e.name||e.toString():typeof e=="object"&&e!=null&&typeof e.type=="function"?e.type.name||e.type.toString():ie(e)}var kl=R({ngErrorCode:R}),Ig=R({ngErrorMessage:R}),Dg=R({ngTokenPath:R});function Xi(e,t){return Pl("",-200,t)}function Xr(e,t){throw new N(-201,!1)}function Pl(e,t,n){let r=new N(t,e);return r[kl]=t,r[Ig]=e,n&&(r[Dg]=n),r}function Cg(e){return e[kl]}var Vi;function Ll(){return Vi}function X(e){let t=Vi;return Vi=e,t}function es(e,t,n){let r=Kr(e);if(r&&r.providedIn=="root")return r.value===void 0?r.value=r.factory():r.value;if(n&8)return null;if(t!==void 0)return t;Xr(e,"Injector")}var wg={},mt=wg,Hi="__NG_DI_FLAG__",Bi=class{injector;constructor(t){this.injector=t}retrieve(t,n){let r=yt(n)||0;try{return this.injector.get(t,r&8?null:mt,r)}catch(o){if(Pt(o))return o;throw o}}};function Tg(e,t=0){let n=fr();if(n===void 0)throw new N(-203,!1);if(n===null)return es(e,void 0,t);{let r=bg(t),o=n.retrieve(e,r);if(Pt(o)){if(r.optional)return null;throw o}return o}}function xe(e,t=0){return(Ll()||Tg)(H(e),t)}function C(e,t){return xe(e,yt(t))}function yt(e){return typeof e>"u"||typeof e=="number"?e:0|(e.optional&&8)|(e.host&&1)|(e.self&&2)|(e.skipSelf&&4)}function bg(e){return{optional:!!(e&8),host:!!(e&1),self:!!(e&2),skipSelf:!!(e&4)}}function $i(e){let t=[];for(let n=0;n<e.length;n++){let r=H(e[n]);if(Array.isArray(r)){if(r.length===0)throw new N(900,!1);let o,i=0;for(let s=0;s<r.length;s++){let a=r[s],c=_g(a);typeof c=="number"?c===-1?o=a.token:i|=c:o=a}t.push(xe(o,i))}else t.push(xe(r))}return t}function eo(e,t){return e[Hi]=t,e.prototype[Hi]=t,e}function _g(e){return e[Hi]}function Ze(e,t){let n=e.hasOwnProperty(An);return n?e[An]:null}function Fl(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}function jl(e){return e.flat(Number.POSITIVE_INFINITY)}function to(e,t){e.forEach(n=>Array.isArray(n)?to(n,t):t(n))}function ts(e,t,n){t>=e.length?e.push(n):e.splice(t,0,n)}function Pn(e,t){return t>=e.length-1?e.pop():e.splice(t,1)[0]}function Vl(e,t){let n=[];for(let r=0;r<e;r++)n.push(t);return n}function Hl(e,t,n,r){let o=e.length;if(o==t)e.push(n,r);else if(o===1)e.push(r,e[0]),e[0]=n;else{for(o--,e.push(e[o-1],e[o]);o>t;){let i=o-2;e[o]=e[i],o--}e[t]=n,e[t+1]=r}}function Ln(e,t,n){let r=Yt(e,t);return r>=0?e[r|1]=n:(r=~r,Hl(e,r,t,n)),r}function no(e,t){let n=Yt(e,t);if(n>=0)return e[n|1]}function Yt(e,t){return Mg(e,t,1)}function Mg(e,t,n){let r=0,o=e.length>>n;for(;o!==r;){let i=r+(o-r>>1),s=e[i<<n];if(t===s)return i<<n;s>t?o=i:r=i+1}return~(o<<n)}var ve={},Y=[],Ke=new S(""),ns=new S("",-1),rs=new S(""),Rn=class{get(t,n=mt){if(n===mt){let o=Pl("",-201);throw o.name="\u0275NotFound",o}return n}};function Je(e){return e[Yi]||null}function ro(e){return e[Ki]||null}function Bl(e){return e[Ji]||null}function os(e){return{\u0275providers:e}}function Ng(e){return os([{provide:Ke,multi:!0,useValue:e}])}function $l(...e){return{\u0275providers:is(!0,e),\u0275fromNgModule:!0}}function is(e,...t){let n=[],r=new Set,o,i=s=>{n.push(s)};return to(t,s=>{let a=s;zr(a,i,[],r)&&(o||=[],o.push(a))}),o!==void 0&&Ul(o,i),n}function Ul(e,t){for(let n=0;n<e.length;n++){let{ngModule:r,providers:o}=e[n];ss(o,i=>{t(i,r)})}}function zr(e,t,n,r){if(e=H(e),!e)return!1;let o=null,i=ji(e),s=!i&&Je(e);if(!i&&!s){let c=e.ngModule;if(i=ji(c),i)o=c;else return!1}else{if(s&&!s.standalone)return!1;o=e}let a=r.has(o);if(s){if(a)return!1;if(r.add(o),s.dependencies){let c=typeof s.dependencies=="function"?s.dependencies():s.dependencies;for(let l of c)zr(l,t,n,r)}}else if(i){if(i.imports!=null&&!a){r.add(o);let l;try{to(i.imports,u=>{zr(u,t,n,r)&&(l||=[],l.push(u))})}finally{}l!==void 0&&Ul(l,t)}if(!a){let l=Ze(o)||(()=>new o);t({provide:o,useFactory:l,deps:Y},o),t({provide:rs,useValue:o,multi:!0},o),t({provide:Ke,useValue:()=>xe(o),multi:!0},o)}let c=i.providers;if(c!=null&&!a){let l=e;ss(c,u=>{t(u,l)})}}else return!1;return o!==e&&e.providers!==void 0}function ss(e,t){for(let n of e)Zi(n)&&(n=n.\u0275providers),Array.isArray(n)?ss(n,t):t(n)}var xg=R({provide:String,useValue:R});function ql(e){return e!==null&&typeof e=="object"&&xg in e}function Sg(e){return!!(e&&e.useExisting)}function Ag(e){return!!(e&&e.useFactory)}function vt(e){return typeof e=="function"}function Wl(e){return!!e.useClass}var as=new S(""),Wr={},Sl={},Fi;function Kt(){return Fi===void 0&&(Fi=new Rn),Fi}var le=class{},Et=class extends le{parent;source;scopes;records=new Map;_ngOnDestroyHooks=new Set;_onDestroyHooks=[];get destroyed(){return this._destroyed}_destroyed=!1;injectorDefTypes;constructor(t,n,r,o){super(),this.parent=n,this.source=r,this.scopes=o,qi(t,s=>this.processProvider(s)),this.records.set(ns,Zt(void 0,this)),o.has("environment")&&this.records.set(le,Zt(void 0,this));let i=this.records.get(as);i!=null&&typeof i.value=="string"&&this.scopes.add(i.value),this.injectorDefTypes=new Set(this.get(rs,Y,{self:!0}))}retrieve(t,n){let r=yt(n)||0;try{return this.get(t,mt,r)}catch(o){if(Pt(o))return o;throw o}}destroy(){Sn(this),this._destroyed=!0;let t=D(null);try{for(let r of this._ngOnDestroyHooks)r.ngOnDestroy();let n=this._onDestroyHooks;this._onDestroyHooks=[];for(let r of n)r()}finally{this.records.clear(),this._ngOnDestroyHooks.clear(),this.injectorDefTypes.clear(),D(t)}}onDestroy(t){return Sn(this),this._onDestroyHooks.push(t),()=>this.removeOnDestroy(t)}runInContext(t){Sn(this);let n=be(this),r=X(void 0),o;try{return t()}finally{be(n),X(r)}}get(t,n=mt,r){if(Sn(this),t.hasOwnProperty(xl))return t[xl](this);let o=yt(r),i,s=be(this),a=X(void 0);try{if(!(o&4)){let l=this.records.get(t);if(l===void 0){let u=Lg(t)&&Kr(t);u&&this.injectableDefInScope(u)?l=Zt(Ui(t),Wr):l=null,this.records.set(t,l)}if(l!=null)return this.hydrate(t,l,o)}let c=o&2?Kt():this.parent;return n=o&8&&n===mt?null:n,c.get(t,n)}catch(c){let l=Cg(c);throw l===-200||l===-201?new N(l,null):c}finally{X(a),be(s)}}resolveInjectorInitializers(){let t=D(null),n=be(this),r=X(void 0),o;try{let i=this.get(Ke,Y,{self:!0});for(let s of i)s()}finally{be(n),X(r),D(t)}}toString(){let t=[],n=this.records;for(let r of n.keys())t.push(Qe(r));return`R3Injector[${t.join(", ")}]`}processProvider(t){t=H(t);let n=vt(t)?t:H(t&&t.provide),r=Og(t);if(!vt(t)&&t.multi===!0){let o=this.records.get(n);o||(o=Zt(void 0,Wr,!0),o.factory=()=>$i(o.multi),this.records.set(n,o)),n=t,o.multi.push(t)}this.records.set(n,r)}hydrate(t,n,r){let o=D(null);try{if(n.value===Sl)throw Xi(Qe(t));return n.value===Wr&&(n.value=Sl,n.value=n.factory(void 0,r)),typeof n.value=="object"&&n.value&&Pg(n.value)&&this._ngOnDestroyHooks.add(n.value),n.value}finally{D(o)}}injectableDefInScope(t){if(!t.providedIn)return!1;let n=H(t.providedIn);return typeof n=="string"?n==="any"||this.scopes.has(n):this.injectorDefTypes.has(n)}removeOnDestroy(t){let n=this._onDestroyHooks.indexOf(t);n!==-1&&this._onDestroyHooks.splice(n,1)}};function Ui(e){let t=Kr(e),n=t!==null?t.factory:Ze(e);if(n!==null)return n;if(e instanceof S)throw new N(204,!1);if(e instanceof Function)return Rg(e);throw new N(204,!1)}function Rg(e){if(e.length>0)throw new N(204,!1);let n=Eg(e);return n!==null?()=>n.factory(e):()=>new e}function Og(e){if(ql(e))return Zt(void 0,e.useValue);{let t=cs(e);return Zt(t,Wr)}}function cs(e,t,n){let r;if(vt(e)){let o=H(e);return Ze(o)||Ui(o)}else if(ql(e))r=()=>H(e.useValue);else if(Ag(e))r=()=>e.useFactory(...$i(e.deps||[]));else if(Sg(e))r=(o,i)=>xe(H(e.useExisting),i!==void 0&&i&8?8:void 0);else{let o=H(e&&(e.useClass||e.provide));if(kg(e))r=()=>new o(...$i(e.deps));else return Ze(o)||Ui(o)}return r}function Sn(e){if(e.destroyed)throw new N(205,!1)}function Zt(e,t,n=!1){return{factory:e,value:t,multi:n?[]:void 0}}function kg(e){return!!e.deps}function Pg(e){return e!==null&&typeof e=="object"&&typeof e.ngOnDestroy=="function"}function Lg(e){return typeof e=="function"||typeof e=="object"&&e.ngMetadataName==="InjectionToken"}function qi(e,t){for(let n of e)Array.isArray(n)?qi(n,t):n&&Zi(n)?qi(n.\u0275providers,t):t(n)}function oo(e,t){let n;e instanceof Et?(Sn(e),n=e):n=new Bi(e);let r,o=be(n),i=X(void 0);try{return t()}finally{be(o),X(i)}}function Gl(){return Ll()!==void 0||fr()!=null}var Ee=0,E=1,w=2,B=3,de=4,ee=5,Dt=6,Jt=7,L=8,Xe=9,Re=10,O=11,Xt=12,ls=13,Ct=14,K=15,et=16,wt=17,Oe=18,Fn=19,us=20,Fe=21,io=22,je=23,se=24,Tt=25,bt=26,k=27,zl=1,ds=6,tt=7,jn=8,_t=9,j=10;function ke(e){return Array.isArray(e)&&typeof e[zl]=="object"}function Ie(e){return Array.isArray(e)&&e[zl]===!0}function fs(e){return(e.flags&4)!==0}function nt(e){return e.componentOffset>-1}function en(e){return(e.flags&1)===1}function De(e){return!!e.template}function tn(e){return(e[w]&512)!==0}function Mt(e){return(e[w]&256)===256}var ps="svg",Ql="math";function fe(e){for(;Array.isArray(e);)e=e[Ee];return e}function hs(e,t){return fe(t[e])}function Ce(e,t){return fe(t[e.index])}function Vn(e,t){return e.data[t]}function Hn(e,t){return e[t]}function gs(e,t,n,r){n>=e.data.length&&(e.data[n]=null,e.blueprint[n]=null),t[n]=r}function pe(e,t){let n=t[e];return ke(n)?n:n[Ee]}function Zl(e){return(e[w]&4)===4}function so(e){return(e[w]&128)===128}function Yl(e){return Ie(e[B])}function ae(e,t){return t==null?null:e[t]}function ms(e){e[wt]=0}function ys(e){e[w]&1024||(e[w]|=1024,so(e)&&rt(e))}function Kl(e,t){for(;e>0;)t=t[Ct],e--;return t}function Bn(e){return!!(e[w]&9216||e[se]?.dirty)}function ao(e){e[Re].changeDetectionScheduler?.notify(8),e[w]&64&&(e[w]|=1024),Bn(e)&&rt(e)}function rt(e){e[Re].changeDetectionScheduler?.notify(0);let t=Ye(e);for(;t!==null&&!(t[w]&8192||(t[w]|=8192,!so(t)));)t=Ye(t)}function vs(e,t){if(Mt(e))throw new N(911,!1);e[Fe]===null&&(e[Fe]=[]),e[Fe].push(t)}function Jl(e,t){if(e[Fe]===null)return;let n=e[Fe].indexOf(t);n!==-1&&e[Fe].splice(n,1)}function Ye(e){let t=e[B];return Ie(t)?t[B]:t}function Es(e){return e[Jt]??=[]}function Is(e){return e.cleanup??=[]}function Xl(e,t,n,r){let o=Es(t);o.push(n),e.firstCreatePass&&Is(e).push(r,o.length-1)}var M={lFrame:fu(null),bindingsEnabled:!0,skipHydrationRootTNode:null};var Wi=!1;function eu(){return M.lFrame.elementDepthCount}function tu(){M.lFrame.elementDepthCount++}function Ds(){M.lFrame.elementDepthCount--}function co(){return M.bindingsEnabled}function Cs(){return M.skipHydrationRootTNode!==null}function ws(e){return M.skipHydrationRootTNode===e}function Ts(){M.skipHydrationRootTNode=null}function v(){return M.lFrame.lView}function P(){return M.lFrame.tView}function nu(e){return M.lFrame.contextLView=e,e[L]}function ru(e){return M.lFrame.contextLView=null,e}function F(){let e=bs();for(;e!==null&&e.type===64;)e=e.parent;return e}function bs(){return M.lFrame.currentTNode}function ou(){let e=M.lFrame,t=e.currentTNode;return e.isParent?t:t.parent}function nn(e,t){let n=M.lFrame;n.currentTNode=e,n.isParent=t}function _s(){return M.lFrame.isParent}function Ms(){M.lFrame.isParent=!1}function iu(){return M.lFrame.contextLView}function Ns(){return Wi}function rn(e){let t=Wi;return Wi=e,t}function Nt(){let e=M.lFrame,t=e.bindingRootIndex;return t===-1&&(t=e.bindingRootIndex=e.tView.bindingStartIndex),t}function xs(){return M.lFrame.bindingIndex}function su(e){return M.lFrame.bindingIndex=e}function Ve(){return M.lFrame.bindingIndex++}function $n(e){let t=M.lFrame,n=t.bindingIndex;return t.bindingIndex=t.bindingIndex+e,n}function au(){return M.lFrame.inI18n}function cu(e,t){let n=M.lFrame;n.bindingIndex=n.bindingRootIndex=e,lo(t)}function lu(){return M.lFrame.currentDirectiveIndex}function lo(e){M.lFrame.currentDirectiveIndex=e}function uu(e){let t=M.lFrame.currentDirectiveIndex;return t===-1?null:e[t]}function uo(){return M.lFrame.currentQueryIndex}function Un(e){M.lFrame.currentQueryIndex=e}function Fg(e){let t=e[E];return t.type===2?t.declTNode:t.type===1?e[ee]:null}function Ss(e,t,n){if(n&4){let o=t,i=e;for(;o=o.parent,o===null&&!(n&1);)if(o=Fg(i),o===null||(i=i[Ct],o.type&10))break;if(o===null)return!1;t=o,e=i}let r=M.lFrame=du();return r.currentTNode=t,r.lView=e,!0}function fo(e){let t=du(),n=e[E];M.lFrame=t,t.currentTNode=n.firstChild,t.lView=e,t.tView=n,t.contextLView=e,t.bindingIndex=n.bindingStartIndex,t.inI18n=!1}function du(){let e=M.lFrame,t=e===null?null:e.child;return t===null?fu(e):t}function fu(e){let 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 e!==null&&(e.child=t),t}function pu(){let e=M.lFrame;return M.lFrame=e.parent,e.currentTNode=null,e.lView=null,e}var As=pu;function po(){let e=pu();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 hu(e){return(M.lFrame.contextLView=Kl(e,M.lFrame.contextLView))[L]}function we(){return M.lFrame.selectedIndex}function ot(e){M.lFrame.selectedIndex=e}function qn(){let e=M.lFrame;return Vn(e.tView,e.selectedIndex)}function gu(){M.lFrame.currentNamespace=ps}function mu(){jg()}function jg(){M.lFrame.currentNamespace=null}function yu(){return M.lFrame.currentNamespace}var vu=!0;function ho(){return vu}function Wn(e){vu=e}function Gi(e,t=null,n=null,r){let o=Eu(e,t,n,r);return o.resolveInjectorInitializers(),o}function Eu(e,t=null,n=null,r,o=new Set){let i=[n||Y,$l(e)];return r=r||(typeof e=="object"?void 0:Qe(e)),new Et(i,t||Kt(),r||null,o)}var ye=class e{static THROW_IF_NOT_FOUND=mt;static NULL=new Rn;static create(t,n){if(Array.isArray(t))return Gi({name:""},n,t,"");{let r=t.name??"";return Gi({name:r},t.parent,t.providers,r)}}static \u0275prov=Q({token:e,providedIn:"any",factory:()=>xe(ns)});static __NG_ELEMENT_ID__=-1},Vg=new S(""),He=(()=>{class e{static __NG_ELEMENT_ID__=Hg;static __NG_ENV_ID__=n=>n}return e})(),On=class extends He{_lView;constructor(t){super(),this._lView=t}get destroyed(){return Mt(this._lView)}onDestroy(t){let n=this._lView;return vs(n,t),()=>Jl(n,t)}};function Hg(){return new On(v())}var Se=class{_console=console;handleError(t){this._console.error("ERROR",t)}},Be=new S("",{providedIn:"root",factory:()=>{let e=C(le),t;return n=>{e.destroyed&&!t?setTimeout(()=>{throw n}):(t??=e.get(Se),t.handleError(n))}}}),Iu={provide:Ke,useValue:()=>void C(Se),multi:!0};function Rs(e){return typeof e=="function"&&e[V]!==void 0}function go(e,t){let[n,r,o]=Ci(e,t?.equal),i=n,s=i[V];return i.set=r,i.update=o,i.asReadonly=Os.bind(i),i}function Os(){let e=this[V];if(e.readonlyFn===void 0){let t=()=>this();t[V]=e,e.readonlyFn=t}return e.readonlyFn}function ks(e){return Rs(e)&&typeof e.set=="function"}var xt=(()=>{class e{view;node;constructor(n,r){this.view=n,this.node=r}static __NG_ELEMENT_ID__=Bg}return e})();function Bg(){return new xt(v(),F())}var ue=class{},mo=new S("",{providedIn:"root",factory:()=>!1});var Ps=new S(""),Ls=new S(""),it=(()=>{class e{taskId=0;pendingTasks=new Set;destroyed=!1;pendingTask=new bn(!1);get hasPendingTasks(){return this.destroyed?!1:this.pendingTask.value}get hasPendingTasksObservable(){return this.destroyed?new x(n=>{n.next(!1),n.complete()}):this.pendingTask}add(){!this.hasPendingTasks&&!this.destroyed&&this.pendingTask.next(!0);let n=this.taskId++;return this.pendingTasks.add(n),n}has(n){return this.pendingTasks.has(n)}remove(n){this.pendingTasks.delete(n),this.pendingTasks.size===0&&this.hasPendingTasks&&this.pendingTask.next(!1)}ngOnDestroy(){this.pendingTasks.clear(),this.hasPendingTasks&&this.pendingTask.next(!1),this.destroyed=!0,this.pendingTask.unsubscribe()}static \u0275prov=Q({token:e,providedIn:"root",factory:()=>new e})}return e})(),Fs=(()=>{class e{internalPendingTasks=C(it);scheduler=C(ue);errorHandler=C(Be);add(){let n=this.internalPendingTasks.add();return()=>{this.internalPendingTasks.has(n)&&(this.scheduler.notify(11),this.internalPendingTasks.remove(n))}}run(n){let r=this.add();n().catch(this.errorHandler).finally(r)}static \u0275prov=Q({token:e,providedIn:"root",factory:()=>new e})}return e})();function St(...e){}var Gn=(()=>{class e{static \u0275prov=Q({token:e,providedIn:"root",factory:()=>new zi})}return e})(),zi=class{dirtyEffectCount=0;queues=new Map;add(t){this.enqueue(t),this.schedule(t)}schedule(t){t.dirty&&this.dirtyEffectCount++}remove(t){let n=t.zone,r=this.queues.get(n);r.has(t)&&(r.delete(t),t.dirty&&this.dirtyEffectCount--)}enqueue(t){let n=t.zone;this.queues.has(n)||this.queues.set(n,new Set);let r=this.queues.get(n);r.has(t)||r.add(t)}flush(){for(;this.dirtyEffectCount>0;){let t=!1;for(let[n,r]of this.queues)n===null?t||=this.flushQueue(r):t||=n.run(()=>this.flushQueue(r));t||(this.dirtyEffectCount=0)}}flushQueue(t){let n=!1;for(let r of t)r.dirty&&(this.dirtyEffectCount--,n=!0,r.run());return n}};function gn(e){return{toString:e}.toString()}var yo="__parameters__";function Zg(e){return function(...n){if(e){let r=e(...n);for(let o in r)this[o]=r[o]}}}function Sa(e,t,n){return gn(()=>{let r=Zg(t);function o(...i){if(this instanceof o)return r.apply(this,i),this;let s=new o(...i);return a.annotation=s,a;function a(c,l,u){let d=c.hasOwnProperty(yo)?c[yo]:Object.defineProperty(c,yo,{value:[]})[yo];for(;d.length<=u;)d.push(null);return(d[u]=d[u]||[]).push(s),c}}return o.prototype.ngMetadataName=e,o.annotationCls=o,o})}var Yg=eo(Sa("Inject",e=>({token:e})),-1),Kg=eo(Sa("Optional"),8);var Jg=eo(Sa("SkipSelf"),4);function Xg(e){return typeof e=="function"}var No=class{previousValue;currentValue;firstChange;constructor(t,n,r){this.previousValue=t,this.currentValue=n,this.firstChange=r}isFirstChange(){return this.firstChange}};function od(e,t,n,r){t!==null?t.applyValueToInputSignal(t,r):e[n]=r}var em=(()=>{let e=()=>id;return e.ngInherit=!0,e})();function id(e){return e.type.prototype.ngOnChanges&&(e.setInput=nm),tm}function tm(){let e=ad(this),t=e?.current;if(t){let n=e.previous;if(n===ve)e.previous=t;else for(let r in t)n[r]=t[r];e.current=null,this.ngOnChanges(t)}}function nm(e,t,n,r,o){let i=this.declaredInputs[r],s=ad(e)||rm(e,{previous:ve,current:null}),a=s.current||(s.current={}),c=s.previous,l=c[i];a[i]=new No(l&&l.currentValue,n,c===ve),od(e,t,o,n)}var sd="__ngSimpleChanges__";function ad(e){return e[sd]||null}function rm(e,t){return e[sd]=t}var Du=[];var A=function(e,t=null,n){for(let r=0;r<Du.length;r++){let o=Du[r];o(e,t,n)}};function om(e,t,n){let{ngOnChanges:r,ngOnInit:o,ngDoCheck:i}=t.type.prototype;if(r){let s=id(t);(n.preOrderHooks??=[]).push(e,s),(n.preOrderCheckHooks??=[]).push(e,s)}o&&(n.preOrderHooks??=[]).push(0-e,o),i&&((n.preOrderHooks??=[]).push(e,i),(n.preOrderCheckHooks??=[]).push(e,i))}function cd(e,t){for(let n=t.directiveStart,r=t.directiveEnd;n<r;n++){let i=e.data[n].type.prototype,{ngAfterContentInit:s,ngAfterContentChecked:a,ngAfterViewInit:c,ngAfterViewChecked:l,ngOnDestroy:u}=i;s&&(e.contentHooks??=[]).push(-n,s),a&&((e.contentHooks??=[]).push(n,a),(e.contentCheckHooks??=[]).push(n,a)),c&&(e.viewHooks??=[]).push(-n,c),l&&((e.viewHooks??=[]).push(n,l),(e.viewCheckHooks??=[]).push(n,l)),u!=null&&(e.destroyHooks??=[]).push(n,u)}}function wo(e,t,n){ld(e,t,3,n)}function To(e,t,n,r){(e[w]&3)===n&&ld(e,t,n,r)}function js(e,t){let n=e[w];(n&3)===t&&(n&=16383,n+=1,e[w]=n)}function ld(e,t,n,r){let o=r!==void 0?e[wt]&65535:0,i=r??-1,s=t.length-1,a=0;for(let c=o;c<s;c++)if(typeof t[c+1]=="number"){if(a=t[c],r!=null&&a>=r)break}else t[c]<0&&(e[wt]+=65536),(a<i||i==-1)&&(im(e,n,t,c),e[wt]=(e[wt]&4294901760)+c+2),c++}function Cu(e,t){A(4,e,t);let n=D(null);try{t.call(e)}finally{D(n),A(5,e,t)}}function im(e,t,n,r){let o=n[r]<0,i=n[r+1],s=o?-n[r]:n[r],a=e[s];o?e[w]>>14<e[wt]>>16&&(e[w]&3)===t&&(e[w]+=16384,Cu(a,i)):Cu(a,i)}var sn=-1,Rt=class{factory;name;injectImpl;resolving=!1;canSeeViewProviders;multi;componentProviders;index;providerFactory;constructor(t,n,r,o){this.factory=t,this.name=o,this.canSeeViewProviders=n,this.injectImpl=r}};function sm(e){return(e.flags&8)!==0}function am(e){return(e.flags&16)!==0}function cm(e,t,n){let r=0;for(;r<n.length;){let o=n[r];if(typeof o=="number"){if(o!==0)break;r++;let i=n[r++],s=n[r++],a=n[r++];e.setAttribute(t,s,a,i)}else{let i=o,s=n[++r];lm(i)?e.setProperty(t,i,s):e.setAttribute(t,i,s),r++}}return r}function ud(e){return e===3||e===4||e===6}function lm(e){return e.charCodeAt(0)===64}function an(e,t){if(!(t===null||t.length===0))if(e===null||e.length===0)e=t.slice();else{let n=-1;for(let r=0;r<t.length;r++){let o=t[r];typeof o=="number"?n=o:n===0||(n===-1||n===2?wu(e,n,o,null,t[++r]):wu(e,n,o,null,null))}}return e}function wu(e,t,n,r,o){let i=0,s=e.length;if(t===-1)s=-1;else for(;i<e.length;){let a=e[i++];if(typeof a=="number"){if(a===t){s=-1;break}else if(a>t){s=i-1;break}}}for(;i<e.length;){let a=e[i];if(typeof a=="number")break;if(a===n){o!==null&&(e[i+1]=o);return}i++,o!==null&&i++}s!==-1&&(e.splice(s,0,t),i=s+1),e.splice(i++,0,n),o!==null&&e.splice(i++,0,o)}function dd(e){return e!==sn}function xo(e){return e&32767}function um(e){return e>>16}function So(e,t){let n=um(e),r=t;for(;n>0;)r=r[Ct],n--;return r}var Zs=!0;function Ao(e){let t=Zs;return Zs=e,t}var dm=256,fd=dm-1,pd=5,fm=0,Pe={};function pm(e,t,n){let r;typeof n=="string"?r=n.charCodeAt(0)||0:n.hasOwnProperty(It)&&(r=n[It]),r==null&&(r=n[It]=fm++);let o=r&fd,i=1<<o;t.data[e+(o>>pd)]|=i}function Ro(e,t){let n=hd(e,t);if(n!==-1)return n;let r=t[E];r.firstCreatePass&&(e.injectorIndex=t.length,Vs(r.data,e),Vs(t,null),Vs(r.blueprint,null));let o=Aa(e,t),i=e.injectorIndex;if(dd(o)){let s=xo(o),a=So(o,t),c=a[E].data;for(let l=0;l<8;l++)t[i+l]=a[s+l]|c[s+l]}return t[i+8]=o,i}function Vs(e,t){e.push(0,0,0,0,0,0,0,0,t)}function hd(e,t){return e.injectorIndex===-1||e.parent&&e.parent.injectorIndex===e.injectorIndex||t[e.injectorIndex+8]===null?-1:e.injectorIndex}function Aa(e,t){if(e.parent&&e.parent.injectorIndex!==-1)return e.parent.injectorIndex;let n=0,r=null,o=t;for(;o!==null;){if(r=Ed(o),r===null)return sn;if(n++,o=o[Ct],r.injectorIndex!==-1)return r.injectorIndex|n<<16}return sn}function Ys(e,t,n){pm(e,t,n)}function hm(e,t){if(t==="class")return e.classes;if(t==="style")return e.styles;let n=e.attrs;if(n){let r=n.length,o=0;for(;o<r;){let i=n[o];if(ud(i))break;if(i===0)o=o+2;else if(typeof i=="number")for(o++;o<r&&typeof n[o]=="string";)o++;else{if(i===t)return n[o+1];o=o+2}}}return null}function gd(e,t,n){if(n&8||e!==void 0)return e;Xr(t,"NodeInjector")}function md(e,t,n,r){if(n&8&&r===void 0&&(r=null),(n&3)===0){let o=e[Xe],i=X(void 0);try{return o?o.get(t,r,n&8):es(t,r,n&8)}finally{X(i)}}return gd(r,t,n)}function yd(e,t,n,r=0,o){if(e!==null){if(t[w]&2048&&!(r&2)){let s=Em(e,t,n,r,Pe);if(s!==Pe)return s}let i=vd(e,t,n,r,Pe);if(i!==Pe)return i}return md(t,n,r,o)}function vd(e,t,n,r,o){let i=mm(n);if(typeof i=="function"){if(!Ss(t,e,r))return r&1?gd(o,n,r):md(t,n,r,o);try{let s;if(s=i(r),s==null&&!(r&8))Xr(n);else return s}finally{As()}}else if(typeof i=="number"){let s=null,a=hd(e,t),c=sn,l=r&1?t[K][ee]:null;for((a===-1||r&4)&&(c=a===-1?Aa(e,t):t[a+8],c===sn||!bu(r,!1)?a=-1:(s=t[E],a=xo(c),t=So(c,t)));a!==-1;){let u=t[E];if(Tu(i,a,u.data)){let d=gm(a,t,n,s,r,l);if(d!==Pe)return d}c=t[a+8],c!==sn&&bu(r,t[E].data[a+8]===l)&&Tu(i,a,t)?(s=u,a=xo(c),t=So(c,t)):a=-1}}return o}function gm(e,t,n,r,o,i){let s=t[E],a=s.data[e+8],c=r==null?nt(a)&&Zs:r!=s&&(a.type&3)!==0,l=o&1&&i===a,u=bo(a,s,n,c,l);return u!==null?Zn(t,s,u,a,o):Pe}function bo(e,t,n,r,o){let i=e.providerIndexes,s=t.data,a=i&1048575,c=e.directiveStart,l=e.directiveEnd,u=i>>20,d=r?a:a+u,p=o?a+u:l;for(let f=d;f<p;f++){let h=s[f];if(f<c&&n===h||f>=c&&h.type===n)return f}if(o){let f=s[c];if(f&&De(f)&&f.type===n)return c}return null}function Zn(e,t,n,r,o){let i=e[n],s=t.data;if(i instanceof Rt){let a=i;if(a.resolving){let f=Ol(s[n]);throw Xi(f)}let c=Ao(a.canSeeViewProviders);a.resolving=!0;let l=s[n].type||s[n],u,d=a.injectImpl?X(a.injectImpl):null,p=Ss(e,r,0);try{i=e[n]=a.factory(void 0,o,s,e,r),t.firstCreatePass&&n>=r.directiveStart&&om(n,s[n],t)}finally{d!==null&&X(d),Ao(c),a.resolving=!1,As()}}return i}function mm(e){if(typeof e=="string")return e.charCodeAt(0)||0;let t=e.hasOwnProperty(It)?e[It]:void 0;return typeof t=="number"?t>=0?t&fd:ym:t}function Tu(e,t,n){let r=1<<e;return!!(n[t+(e>>pd)]&r)}function bu(e,t){return!(e&2)&&!(e&1&&t)}var At=class{_tNode;_lView;constructor(t,n){this._tNode=t,this._lView=n}get(t,n,r){return yd(this._tNode,this._lView,t,yt(r),n)}};function ym(){return new At(F(),v())}function vm(e){return gn(()=>{let t=e.prototype.constructor,n=t[An]||Ks(t),r=Object.prototype,o=Object.getPrototypeOf(e.prototype).constructor;for(;o&&o!==r;){let i=o[An]||Ks(o);if(i&&i!==n)return i;o=Object.getPrototypeOf(o)}return i=>new i})}function Ks(e){return Qi(e)?()=>{let t=Ks(H(e));return t&&t()}:Ze(e)}function Em(e,t,n,r,o){let i=e,s=t;for(;i!==null&&s!==null&&s[w]&2048&&!tn(s);){let a=vd(i,s,n,r|2,Pe);if(a!==Pe)return a;let c=i.parent;if(!c){let l=s[us];if(l){let u=l.get(n,Pe,r);if(u!==Pe)return u}c=Ed(s),s=s[Ct]}i=c}return o}function Ed(e){let t=e[E],n=t.type;return n===2?t.declTNode:n===1?e[ee]:null}function Id(e){return hm(F(),e)}function Im(){return mn(F(),v())}function mn(e,t){return new rr(Ce(e,t))}var rr=(()=>{class e{nativeElement;constructor(n){this.nativeElement=n}static __NG_ELEMENT_ID__=Im}return e})();function Dd(e){return e instanceof rr?e.nativeElement:e}function Dm(){return this._results[Symbol.iterator]()}var Oo=class{_emitDistinctChangesOnly;dirty=!0;_onDirty=void 0;_results=[];_changesDetected=!1;_changes=void 0;length=0;first=void 0;last=void 0;get changes(){return this._changes??=new te}constructor(t=!1){this._emitDistinctChangesOnly=t}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;let r=jl(t);(this._changesDetected=!Fl(this._results,r,n))&&(this._results=r,this.length=r.length,this.last=r[this.length-1],this.first=r[0])}notifyOnChanges(){this._changes!==void 0&&(this._changesDetected||!this._emitDistinctChangesOnly)&&this._changes.next(this)}onDirty(t){this._onDirty=t}setDirty(){this.dirty=!0,this._onDirty?.()}destroy(){this._changes!==void 0&&(this._changes.complete(),this._changes.unsubscribe())}[Symbol.iterator]=Dm};function Cd(e){return(e.flags&128)===128}var Ra=(function(e){return e[e.OnPush=0]="OnPush",e[e.Default=1]="Default",e})(Ra||{}),wd=new Map,Cm=0;function wm(){return Cm++}function Tm(e){wd.set(e[Fn],e)}function Js(e){wd.delete(e[Fn])}var _u="__ngContext__";function cn(e,t){ke(t)?(e[_u]=t[Fn],Tm(t)):e[_u]=t}function Td(e){return _d(e[Xt])}function bd(e){return _d(e[de])}function _d(e){for(;e!==null&&!Ie(e);)e=e[de];return e}var Xs;function bm(e){Xs=e}function Oa(){if(Xs!==void 0)return Xs;if(typeof document<"u")return document;throw new N(210,!1)}var _m=new S("",{providedIn:"root",factory:()=>Mm}),Mm="ng",Md=new S(""),Nm=new S("",{providedIn:"platform",factory:()=>"unknown"});var xm=new S(""),Sm=new S("",{providedIn:"root",factory:()=>Oa().body?.querySelector("[ngCspNonce]")?.getAttribute("ngCspNonce")||null}),Nd={breakpoints:[16,32,48,64,96,128,256,384,640,750,828,1080,1200,1920,2048,3840],placeholderResolution:30,disableImageSizeWarning:!1,disableImageLazyLoadWarning:!1},Am=new S("",{providedIn:"root",factory:()=>Nd});var Rm="h",Om="b";var xd="r";var Sd="di";var Ad=!1,Rd=new S("",{providedIn:"root",factory:()=>Ad});var km=(e,t,n,r)=>{};function Pm(e,t,n,r){km(e,t,n,r)}function Zo(e){return(e.flags&32)===32}var Lm=()=>null;function Od(e,t,n=!1){return Lm(e,t,n)}function kd(e,t){let n=e.contentQueries;if(n!==null){let r=D(null);try{for(let o=0;o<n.length;o+=2){let i=n[o],s=n[o+1];if(s!==-1){let a=e.data[s];Un(i),a.contentQueries(2,t[s],s)}}}finally{D(r)}}}function ea(e,t,n){Un(0);let r=D(null);try{t(e,n)}finally{D(r)}}function ka(e,t,n){if(fs(t)){let r=D(null);try{let o=t.directiveStart,i=t.directiveEnd;for(let s=o;s<i;s++){let a=e.data[s];if(a.contentQueries){let c=n[s];a.contentQueries(1,c,s)}}}finally{D(r)}}}var ln=(function(e){return e[e.Emulated=0]="Emulated",e[e.None=2]="None",e[e.ShadowDom=3]="ShadowDom",e})(ln||{}),vo;function Fm(){if(vo===void 0&&(vo=null,Ae.trustedTypes))try{vo=Ae.trustedTypes.createPolicy("angular",{createHTML:e=>e,createScript:e=>e,createScriptURL:e=>e})}catch{}return vo}function Yo(e){return Fm()?.createHTML(e)||e}var Eo;function jm(){if(Eo===void 0&&(Eo=null,Ae.trustedTypes))try{Eo=Ae.trustedTypes.createPolicy("angular#unsafe-bypass",{createHTML:e=>e,createScript:e=>e,createScriptURL:e=>e})}catch{}return Eo}function Mu(e){return jm()?.createHTML(e)||e}var ko=class{changingThisBreaksApplicationSecurity;constructor(t){this.changingThisBreaksApplicationSecurity=t}toString(){return`SafeValue must use [property]=binding: ${this.changingThisBreaksApplicationSecurity} (see ${Qr})`}};function yn(e){return e instanceof ko?e.changingThisBreaksApplicationSecurity:e}function Pa(e,t){let n=Pd(e);if(n!=null&&n!==t){if(n==="ResourceURL"&&t==="URL")return!0;throw new Error(`Required a safe ${t}, got a ${n} (see ${Qr})`)}return n===t}function Pd(e){return e instanceof ko&&e.getTypeName()||null}function Vm(e){let t=new na(e);return Hm()?new ta(t):t}var ta=class{inertDocumentHelper;constructor(t){this.inertDocumentHelper=t}getInertBodyElement(t){t="<body><remove></remove>"+t;try{let n=new window.DOMParser().parseFromString(Yo(t),"text/html").body;return n===null?this.inertDocumentHelper.getInertBodyElement(t):(n.firstChild?.remove(),n)}catch{return null}}},na=class{defaultDoc;inertDocument;constructor(t){this.defaultDoc=t,this.inertDocument=this.defaultDoc.implementation.createHTMLDocument("sanitization-inert")}getInertBodyElement(t){let n=this.inertDocument.createElement("template");return n.innerHTML=Yo(t),n}};function Hm(){try{return!!new window.DOMParser().parseFromString(Yo(""),"text/html")}catch{return!1}}var Bm=/^(?!javascript:)(?:[a-z0-9+.-]+:|[^&:\/?#]*(?:[\/?#]|$))/i;function La(e){return e=String(e),e.match(Bm)?e:"unsafe:"+e}function Ue(e){let t={};for(let n of e.split(","))t[n]=!0;return t}function or(...e){let t={};for(let n of e)for(let r in n)n.hasOwnProperty(r)&&(t[r]=!0);return t}var Ld=Ue("area,br,col,hr,img,wbr"),Fd=Ue("colgroup,dd,dt,li,p,tbody,td,tfoot,th,thead,tr"),jd=Ue("rp,rt"),$m=or(jd,Fd),Um=or(Fd,Ue("address,article,aside,blockquote,caption,center,del,details,dialog,dir,div,dl,figure,figcaption,footer,h1,h2,h3,h4,h5,h6,header,hgroup,hr,ins,main,map,menu,nav,ol,pre,section,summary,table,ul")),qm=or(jd,Ue("a,abbr,acronym,audio,b,bdi,bdo,big,br,cite,code,del,dfn,em,font,i,img,ins,kbd,label,map,mark,picture,q,ruby,rp,rt,s,samp,small,source,span,strike,strong,sub,sup,time,track,tt,u,var,video")),Nu=or(Ld,Um,qm,$m),Vd=Ue("background,cite,href,itemtype,longdesc,poster,src,xlink:href"),Wm=Ue("abbr,accesskey,align,alt,autoplay,axis,bgcolor,border,cellpadding,cellspacing,class,clear,color,cols,colspan,compact,controls,coords,datetime,default,dir,download,face,headers,height,hidden,hreflang,hspace,ismap,itemscope,itemprop,kind,label,lang,language,loop,media,muted,nohref,nowrap,open,preload,rel,rev,role,rows,rowspan,rules,scope,scrolling,shape,size,sizes,span,srclang,srcset,start,summary,tabindex,target,title,translate,type,usemap,valign,value,vspace,width"),Gm=Ue("aria-activedescendant,aria-atomic,aria-autocomplete,aria-busy,aria-checked,aria-colcount,aria-colindex,aria-colspan,aria-controls,aria-current,aria-describedby,aria-details,aria-disabled,aria-dropeffect,aria-errormessage,aria-expanded,aria-flowto,aria-grabbed,aria-haspopup,aria-hidden,aria-invalid,aria-keyshortcuts,aria-label,aria-labelledby,aria-level,aria-live,aria-modal,aria-multiline,aria-multiselectable,aria-orientation,aria-owns,aria-placeholder,aria-posinset,aria-pressed,aria-readonly,aria-relevant,aria-required,aria-roledescription,aria-rowcount,aria-rowindex,aria-rowspan,aria-selected,aria-setsize,aria-sort,aria-valuemax,aria-valuemin,aria-valuenow,aria-valuetext"),zm=or(Vd,Wm,Gm),Qm=Ue("script,style,template"),ra=class{sanitizedSomething=!1;buf=[];sanitizeChildren(t){let n=t.firstChild,r=!0,o=[];for(;n;){if(n.nodeType===Node.ELEMENT_NODE?r=this.startElement(n):n.nodeType===Node.TEXT_NODE?this.chars(n.nodeValue):this.sanitizedSomething=!0,r&&n.firstChild){o.push(n),n=Km(n);continue}for(;n;){n.nodeType===Node.ELEMENT_NODE&&this.endElement(n);let i=Ym(n);if(i){n=i;break}n=o.pop()}}return this.buf.join("")}startElement(t){let n=xu(t).toLowerCase();if(!Nu.hasOwnProperty(n))return this.sanitizedSomething=!0,!Qm.hasOwnProperty(n);this.buf.push("<"),this.buf.push(n);let r=t.attributes;for(let o=0;o<r.length;o++){let i=r.item(o),s=i.name,a=s.toLowerCase();if(!zm.hasOwnProperty(a)){this.sanitizedSomething=!0;continue}let c=i.value;Vd[a]&&(c=La(c)),this.buf.push(" ",s,'="',Su(c),'"')}return this.buf.push(">"),!0}endElement(t){let n=xu(t).toLowerCase();Nu.hasOwnProperty(n)&&!Ld.hasOwnProperty(n)&&(this.buf.push("</"),this.buf.push(n),this.buf.push(">"))}chars(t){this.buf.push(Su(t))}};function Zm(e,t){return(e.compareDocumentPosition(t)&Node.DOCUMENT_POSITION_CONTAINED_BY)!==Node.DOCUMENT_POSITION_CONTAINED_BY}function Ym(e){let t=e.nextSibling;if(t&&e!==t.previousSibling)throw Hd(t);return t}function Km(e){let t=e.firstChild;if(t&&Zm(e,t))throw Hd(t);return t}function xu(e){let t=e.nodeName;return typeof t=="string"?t:"FORM"}function Hd(e){return new Error(`Failed to sanitize html because the element is clobbered: ${e.outerHTML}`)}var Jm=/[\uD800-\uDBFF][\uDC00-\uDFFF]/g,Xm=/([^\#-~ |!])/g;function Su(e){return e.replace(/&/g,"&amp;").replace(Jm,function(t){let n=t.charCodeAt(0),r=t.charCodeAt(1);return"&#"+((n-55296)*1024+(r-56320)+65536)+";"}).replace(Xm,function(t){return"&#"+t.charCodeAt(0)+";"}).replace(/</g,"&lt;").replace(/>/g,"&gt;")}var Io;function Bd(e,t){let n=null;try{Io=Io||Vm(e);let r=t?String(t):"";n=Io.getInertBodyElement(r);let o=5,i=r;do{if(o===0)throw new Error("Failed to sanitize html because the input is unstable");o--,r=i,i=n.innerHTML,n=Io.getInertBodyElement(r)}while(r!==i);let a=new ra().sanitizeChildren(Au(n)||n);return Yo(a)}finally{if(n){let r=Au(n)||n;for(;r.firstChild;)r.firstChild.remove()}}}function Au(e){return"content"in e&&ey(e)?e.content:null}function ey(e){return e.nodeType===Node.ELEMENT_NODE&&e.nodeName==="TEMPLATE"}var Ko=(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})(Ko||{});function ty(e){let t=$d();return t?Mu(t.sanitize(Ko.HTML,e)||""):Pa(e,"HTML")?Mu(yn(e)):Bd(Oa(),ie(e))}function ny(e){let t=$d();return t?t.sanitize(Ko.URL,e)||"":Pa(e,"URL")?yn(e):La(ie(e))}function $d(){let e=v();return e&&e[Re].sanitizer}var ry=/^>|^->|<!--|-->|--!>|<!-$/g,oy=/(<|>)/g,iy="\u200B$1\u200B";function sy(e){return e.replace(ry,t=>t.replace(oy,iy))}function ay(e){return e.ownerDocument.defaultView}function cy(e){return e.ownerDocument}function ly(e,t,n){let r=e.length;for(;;){let o=e.indexOf(t,n);if(o===-1)return o;if(o===0||e.charCodeAt(o-1)<=32){let i=t.length;if(o+i===r||e.charCodeAt(o+i)<=32)return o}n=o+1}}var Ud="ng-template";function uy(e,t,n,r){let o=0;if(r){for(;o<t.length&&typeof t[o]=="string";o+=2)if(t[o]==="class"&&ly(t[o+1].toLowerCase(),n,0)!==-1)return!0}else if(Fa(e))return!1;if(o=t.indexOf(1,o),o>-1){let i;for(;++o<t.length&&typeof(i=t[o])=="string";)if(i.toLowerCase()===n)return!0}return!1}function Fa(e){return e.type===4&&e.value!==Ud}function dy(e,t,n){let r=e.type===4&&!n?Ud:e.value;return t===r}function fy(e,t,n){let r=4,o=e.attrs,i=o!==null?gy(o):0,s=!1;for(let a=0;a<t.length;a++){let c=t[a];if(typeof c=="number"){if(!s&&!Te(r)&&!Te(c))return!1;if(s&&Te(c))continue;s=!1,r=c|r&1;continue}if(!s)if(r&4){if(r=2|r&1,c!==""&&!dy(e,c,n)||c===""&&t.length===1){if(Te(r))return!1;s=!0}}else if(r&8){if(o===null||!uy(e,o,c,n)){if(Te(r))return!1;s=!0}}else{let l=t[++a],u=py(c,o,Fa(e),n);if(u===-1){if(Te(r))return!1;s=!0;continue}if(l!==""){let d;if(u>i?d="":d=o[u+1].toLowerCase(),r&2&&l!==d){if(Te(r))return!1;s=!0}}}}return Te(r)||s}function Te(e){return(e&1)===0}function py(e,t,n,r){if(t===null)return-1;let o=0;if(r||!n){let i=!1;for(;o<t.length;){let s=t[o];if(s===e)return o;if(s===3||s===6)i=!0;else if(s===1||s===2){let a=t[++o];for(;typeof a=="string";)a=t[++o];continue}else{if(s===4)break;if(s===0){o+=4;continue}}o+=i?1:2}return-1}else return my(t,e)}function qd(e,t,n=!1){for(let r=0;r<t.length;r++)if(fy(e,t[r],n))return!0;return!1}function hy(e){let t=e.attrs;if(t!=null){let n=t.indexOf(5);if((n&1)===0)return t[n+1]}return null}function gy(e){for(let t=0;t<e.length;t++){let n=e[t];if(ud(n))return t}return e.length}function my(e,t){let n=e.indexOf(4);if(n>-1)for(n++;n<e.length;){let r=e[n];if(typeof r=="number")return-1;if(r===t)return n;n++}return-1}function yy(e,t){e:for(let n=0;n<t.length;n++){let 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 Ru(e,t){return e?":not("+t.trim()+")":t}function vy(e){let t=e[0],n=1,r=2,o="",i=!1;for(;n<e.length;){let s=e[n];if(typeof s=="string")if(r&2){let a=e[++n];o+="["+s+(a.length>0?'="'+a+'"':"")+"]"}else r&8?o+="."+s:r&4&&(o+=" "+s);else o!==""&&!Te(s)&&(t+=Ru(i,o),o=""),r=s,i=i||!Te(r);n++}return o!==""&&(t+=Ru(i,o)),t}function Ey(e){return e.map(vy).join(",")}function Iy(e){let t=[],n=[],r=1,o=2;for(;r<e.length;){let i=e[r];if(typeof i=="string")o===2?i!==""&&t.push(i,e[++r]):o===8&&n.push(i);else{if(!Te(o))break;o=i}r++}return n.length&&t.push(1,...n),t}var W={};function Dy(e,t){return e.createText(t)}function Cy(e,t,n){e.setValue(t,n)}function wy(e,t){return e.createComment(sy(t))}function Wd(e,t,n){return e.createElement(t,n)}function Po(e,t,n,r,o){e.insertBefore(t,n,r,o)}function Gd(e,t,n){e.appendChild(t,n)}function Ou(e,t,n,r,o){r!==null?Po(e,t,n,r,o):Gd(e,t,n)}function zd(e,t,n,r){e.removeChild(null,t,n,r)}function Ty(e,t,n){e.setAttribute(t,"style",n)}function by(e,t,n){n===""?e.removeAttribute(t,"class"):e.setAttribute(t,"class",n)}function Qd(e,t,n){let{mergedAttrs:r,classes:o,styles:i}=n;r!==null&&cm(e,t,r),o!==null&&by(e,t,o),i!==null&&Ty(e,t,i)}function ja(e,t,n,r,o,i,s,a,c,l,u){let d=k+r,p=d+o,f=_y(d,p),h=typeof l=="function"?l():l;return f[E]={type:e,blueprint:f,template:n,queries:null,viewQuery:a,declTNode:t,data:f.slice().fill(null,d),bindingStartIndex:d,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:typeof i=="function"?i():i,pipeRegistry:typeof s=="function"?s():s,firstChild:null,schemas:c,consts:h,incompleteFirstPass:!1,ssrId:u}}function _y(e,t){let n=[];for(let r=0;r<t;r++)n.push(r<e?null:W);return n}function My(e){let t=e.tView;return t===null||t.incompleteFirstPass?e.tView=ja(1,null,e.template,e.decls,e.vars,e.directiveDefs,e.pipeDefs,e.viewQuery,e.schemas,e.consts,e.id):t}function Va(e,t,n,r,o,i,s,a,c,l,u){let d=t.blueprint.slice();return d[Ee]=o,d[w]=r|4|128|8|64|1024,(l!==null||e&&e[w]&2048)&&(d[w]|=2048),ms(d),d[B]=d[Ct]=e,d[L]=n,d[Re]=s||e&&e[Re],d[O]=a||e&&e[O],d[Xe]=c||e&&e[Xe]||null,d[ee]=i,d[Fn]=wm(),d[Dt]=u,d[us]=l,d[K]=t.type==2?e[K]:d,d}function Ny(e,t,n){let r=Ce(t,e),o=My(n),i=e[Re].rendererFactory,s=Ha(e,Va(e,o,null,Zd(n),r,t,null,i.createRenderer(r,n),null,null,null));return e[t.index]=s}function Zd(e){let t=16;return e.signals?t=4096:e.onPush&&(t=64),t}function Yd(e,t,n,r){if(n===0)return-1;let o=t.length;for(let i=0;i<n;i++)t.push(r),e.blueprint.push(r),e.data.push(null);return o}function Ha(e,t){return e[Xt]?e[ls][de]=t:e[Xt]=t,e[ls]=t,t}function xy(e=1){Kd(P(),v(),we()+e,!1)}function Kd(e,t,n,r){if(!r)if((t[w]&3)===3){let i=e.preOrderCheckHooks;i!==null&&wo(t,i,n)}else{let i=e.preOrderHooks;i!==null&&To(t,i,0,n)}ot(n)}var Jo=(function(e){return e[e.None=0]="None",e[e.SignalBased=1]="SignalBased",e[e.HasDecoratorInputTransform=2]="HasDecoratorInputTransform",e})(Jo||{});function oa(e,t,n,r){let o=D(null);try{let[i,s,a]=e.inputs[n],c=null;(s&Jo.SignalBased)!==0&&(c=t[i][V]),c!==null&&c.transformFn!==void 0?r=c.transformFn(r):a!==null&&(r=a.call(t,r)),e.setInput!==null?e.setInput(t,c,r,n,i):od(t,c,i,r)}finally{D(o)}}var Lo=(function(e){return e[e.Important=1]="Important",e[e.DashCase=2]="DashCase",e})(Lo||{}),Sy;function Ba(e,t){return Sy(e,t)}var Fo=new Set,Xo=(function(e){return e[e.CHANGE_DETECTION=0]="CHANGE_DETECTION",e[e.AFTER_NEXT_RENDER=1]="AFTER_NEXT_RENDER",e})(Xo||{}),vn=new S(""),ku=new Set;function kt(e){ku.has(e)||(ku.add(e),performance?.mark?.("mark_feature_usage",{detail:{feature:e}}))}var Jd=!1,ia=class extends te{__isAsync;destroyRef=void 0;pendingTasks=void 0;constructor(t=!1){super(),this.__isAsync=t,Gl()&&(this.destroyRef=C(He,{optional:!0})??void 0,this.pendingTasks=C(it,{optional:!0})??void 0)}emit(t){let n=D(null);try{super.next(t)}finally{D(n)}}subscribe(t,n,r){let o=t,i=n||(()=>null),s=r;if(t&&typeof t=="object"){let c=t;o=c.next?.bind(c),i=c.error?.bind(c),s=c.complete?.bind(c)}this.__isAsync&&(i=this.wrapInTimeout(i),o&&(o=this.wrapInTimeout(o)),s&&(s=this.wrapInTimeout(s)));let a=super.subscribe({next:o,error:i,complete:s});return t instanceof z&&t.add(a),a}wrapInTimeout(t){return n=>{let r=this.pendingTasks?.add();setTimeout(()=>{try{t(n)}finally{r!==void 0&&this.pendingTasks?.remove(r)}})}}},$e=ia;function Xd(e){let t,n;function r(){e=St;try{n!==void 0&&typeof cancelAnimationFrame=="function"&&cancelAnimationFrame(n),t!==void 0&&clearTimeout(t)}catch{}}return t=setTimeout(()=>{e(),r()}),typeof requestAnimationFrame=="function"&&(n=requestAnimationFrame(()=>{e(),r()})),()=>r()}function Pu(e){return queueMicrotask(()=>e()),()=>{e=St}}var $a="isAngularZone",jo=$a+"_ID",Ay=0,oe=class e{hasPendingMacrotasks=!1;hasPendingMicrotasks=!1;isStable=!0;onUnstable=new $e(!1);onMicrotaskEmpty=new $e(!1);onStable=new $e(!1);onError=new $e(!1);constructor(t){let{enableLongStackTrace:n=!1,shouldCoalesceEventChangeDetection:r=!1,shouldCoalesceRunChangeDetection:o=!1,scheduleInRootZone:i=Jd}=t;if(typeof Zone>"u")throw new N(908,!1);Zone.assertZonePatched();let s=this;s._nesting=0,s._outer=s._inner=Zone.current,Zone.TaskTrackingZoneSpec&&(s._inner=s._inner.fork(new Zone.TaskTrackingZoneSpec)),n&&Zone.longStackTraceZoneSpec&&(s._inner=s._inner.fork(Zone.longStackTraceZoneSpec)),s.shouldCoalesceEventChangeDetection=!o&&r,s.shouldCoalesceRunChangeDetection=o,s.callbackScheduled=!1,s.scheduleInRootZone=i,ky(s)}static isInAngularZone(){return typeof Zone<"u"&&Zone.current.get($a)===!0}static assertInAngularZone(){if(!e.isInAngularZone())throw new N(909,!1)}static assertNotInAngularZone(){if(e.isInAngularZone())throw new N(909,!1)}run(t,n,r){return this._inner.run(t,n,r)}runTask(t,n,r,o){let i=this._inner,s=i.scheduleEventTask("NgZoneEvent: "+o,t,Ry,St,St);try{return i.runTask(s,n,r)}finally{i.cancelTask(s)}}runGuarded(t,n,r){return this._inner.runGuarded(t,n,r)}runOutsideAngular(t){return this._outer.run(t)}},Ry={};function Ua(e){if(e._nesting==0&&!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 Oy(e){if(e.isCheckStableRunning||e.callbackScheduled)return;e.callbackScheduled=!0;function t(){Xd(()=>{e.callbackScheduled=!1,sa(e),e.isCheckStableRunning=!0,Ua(e),e.isCheckStableRunning=!1})}e.scheduleInRootZone?Zone.root.run(()=>{t()}):e._outer.run(()=>{t()}),sa(e)}function ky(e){let t=()=>{Oy(e)},n=Ay++;e._inner=e._inner.fork({name:"angular",properties:{[$a]:!0,[jo]:n,[jo+n]:!0},onInvokeTask:(r,o,i,s,a,c)=>{if(Py(c))return r.invokeTask(i,s,a,c);try{return Lu(e),r.invokeTask(i,s,a,c)}finally{(e.shouldCoalesceEventChangeDetection&&s.type==="eventTask"||e.shouldCoalesceRunChangeDetection)&&t(),Fu(e)}},onInvoke:(r,o,i,s,a,c,l)=>{try{return Lu(e),r.invoke(i,s,a,c,l)}finally{e.shouldCoalesceRunChangeDetection&&!e.callbackScheduled&&!Ly(c)&&t(),Fu(e)}},onHasTask:(r,o,i,s)=>{r.hasTask(i,s),o===i&&(s.change=="microTask"?(e._hasPendingMicrotasks=s.microTask,sa(e),Ua(e)):s.change=="macroTask"&&(e.hasPendingMacrotasks=s.macroTask))},onHandleError:(r,o,i,s)=>(r.handleError(i,s),e.runOutsideAngular(()=>e.onError.emit(s)),!1)})}function sa(e){e._hasPendingMicrotasks||(e.shouldCoalesceEventChangeDetection||e.shouldCoalesceRunChangeDetection)&&e.callbackScheduled===!0?e.hasPendingMicrotasks=!0:e.hasPendingMicrotasks=!1}function Lu(e){e._nesting++,e.isStable&&(e.isStable=!1,e.onUnstable.emit(null))}function Fu(e){e._nesting--,Ua(e)}var Vo=class{hasPendingMicrotasks=!1;hasPendingMacrotasks=!1;isStable=!0;onUnstable=new $e;onMicrotaskEmpty=new $e;onStable=new $e;onError=new $e;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)}};function Py(e){return ef(e,"__ignore_ng_zone__")}function Ly(e){return ef(e,"__scheduler_tick__")}function ef(e,t){return!Array.isArray(e)||e.length!==1?!1:e[0]?.data?.[t]===!0}var ei=(()=>{class e{impl=null;execute(){this.impl?.execute()}static \u0275prov=Q({token:e,providedIn:"root",factory:()=>new e})}return e})(),qa=[0,1,2,3],Wa=(()=>{class e{ngZone=C(oe);scheduler=C(ue);errorHandler=C(Se,{optional:!0});sequences=new Set;deferredRegistrations=new Set;executing=!1;constructor(){C(vn,{optional:!0})}execute(){let n=this.sequences.size>0;n&&A(16),this.executing=!0;for(let r of qa)for(let o of this.sequences)if(!(o.erroredOrDestroyed||!o.hooks[r]))try{o.pipelinedValue=this.ngZone.runOutsideAngular(()=>this.maybeTrace(()=>{let i=o.hooks[r];return i(o.pipelinedValue)},o.snapshot))}catch(i){o.erroredOrDestroyed=!0,this.errorHandler?.handleError(i)}this.executing=!1;for(let r of this.sequences)r.afterRun(),r.once&&(this.sequences.delete(r),r.destroy());for(let r of this.deferredRegistrations)this.sequences.add(r);this.deferredRegistrations.size>0&&this.scheduler.notify(7),this.deferredRegistrations.clear(),n&&A(17)}register(n){let{view:r}=n;r!==void 0?((r[Tt]??=[]).push(n),rt(r),r[w]|=8192):this.executing?this.deferredRegistrations.add(n):this.addSequence(n)}addSequence(n){this.sequences.add(n),this.scheduler.notify(7)}unregister(n){this.executing&&this.sequences.has(n)?(n.erroredOrDestroyed=!0,n.pipelinedValue=void 0,n.once=!0):(this.sequences.delete(n),this.deferredRegistrations.delete(n))}maybeTrace(n,r){return r?r.run(Xo.AFTER_NEXT_RENDER,n):n()}static \u0275prov=Q({token:e,providedIn:"root",factory:()=>new e})}return e})(),Yn=class{impl;hooks;view;once;snapshot;erroredOrDestroyed=!1;pipelinedValue=void 0;unregisterOnDestroy;constructor(t,n,r,o,i,s=null){this.impl=t,this.hooks=n,this.view=r,this.once=o,this.snapshot=s,this.unregisterOnDestroy=i?.onDestroy(()=>this.destroy())}afterRun(){this.erroredOrDestroyed=!1,this.pipelinedValue=void 0,this.snapshot?.dispose(),this.snapshot=null}destroy(){this.impl.unregister(this),this.unregisterOnDestroy?.();let t=this.view?.[Tt];t&&(this.view[Tt]=t.filter(n=>n!==this))}};function Fy(e,t){let n=t?.injector??C(ye);return kt("NgAfterNextRender"),Vy(e,n,t,!0)}function jy(e){return e instanceof Function?[void 0,void 0,e,void 0]:[e.earlyRead,e.write,e.mixedReadWrite,e.read]}function Vy(e,t,n,r){let o=t.get(ei);o.impl??=t.get(Wa);let i=t.get(vn,null,{optional:!0}),s=n?.manualCleanup!==!0?t.get(He):null,a=t.get(xt,null,{optional:!0}),c=new Yn(o.impl,jy(e),a?.view,r,s,i?.snapshot(null));return o.impl.register(c),c}var Hy=new S("",{providedIn:"root",factory:()=>({queue:new Set,isScheduled:!1,scheduler:null})});function tf(e,t){let n=e.get(Hy);if(Array.isArray(t))for(let r of t)n.queue.add(r);else n.queue.add(t);n.scheduler&&n.scheduler(e)}function By(e,t){for(let[n,r]of t)tf(e,r.animateFns)}function ju(e,t,n,r){let o=e?.[bt]?.enter;t!==null&&o&&o.has(n.index)&&By(r,o)}function on(e,t,n,r,o,i,s,a){if(o!=null){let c,l=!1;Ie(o)?c=o:ke(o)&&(l=!0,o=o[Ee]);let u=fe(o);e===0&&r!==null?(ju(a,r,i,n),s==null?Gd(t,r,u):Po(t,r,u,s||null,!0)):e===1&&r!==null?(ju(a,r,i,n),Po(t,r,u,s||null,!0)):e===2?Vu(a,i,n,d=>{zd(t,u,l,d)}):e===3&&Vu(a,i,n,()=>{t.destroyNode(u)}),c!=null&&Jy(t,e,n,c,i,r,s)}}function $y(e,t){nf(e,t),t[Ee]=null,t[ee]=null}function Uy(e,t,n,r,o,i){r[Ee]=o,r[ee]=t,ni(e,r,n,1,o,i)}function nf(e,t){t[Re].changeDetectionScheduler?.notify(9),ni(e,t,t[O],2,null,null)}function qy(e){let t=e[Xt];if(!t)return Hs(e[E],e);for(;t;){let n=null;if(ke(t))n=t[Xt];else{let r=t[j];r&&(n=r)}if(!n){for(;t&&!t[de]&&t!==e;)ke(t)&&Hs(t[E],t),t=t[B];t===null&&(t=e),ke(t)&&Hs(t[E],t),n=t&&t[de]}t=n}}function Ga(e,t){let n=e[_t],r=n.indexOf(t);n.splice(r,1)}function ti(e,t){if(Mt(t))return;let n=t[O];n.destroyNode&&ni(e,t,n,3,null,null),qy(t)}function Hs(e,t){if(Mt(t))return;let n=D(null);try{t[w]&=-129,t[w]|=256,t[se]&&We(t[se]),zy(e,t),Gy(e,t),t[E].type===1&&t[O].destroy();let r=t[et];if(r!==null&&Ie(t[B])){r!==t[B]&&Ga(r,t);let o=t[Oe];o!==null&&o.detachView(e)}Js(t)}finally{D(n)}}function Vu(e,t,n,r){let o=e?.[bt];if(o==null||o.leave==null||!o.leave.has(t.index))return r(!1);if(o.skipLeaveAnimations)return o.skipLeaveAnimations=!1,r(!1);e&&Fo.add(e),tf(n,()=>{if(o.leave&&o.leave.has(t.index)){let s=o.leave.get(t.index),a=[];if(s)for(let c=0;c<s.animateFns.length;c++){let l=s.animateFns[c],{promise:u}=l();a.push(u)}o.running=Promise.allSettled(a),Wy(e,r)}else e&&Fo.delete(e),r(!1)})}function Wy(e,t){let n=e[bt]?.running;if(n){n.then(()=>{e[bt].running=void 0,Fo.delete(e),t(!0)});return}t(!1)}function Gy(e,t){let n=e.cleanup,r=t[Jt];if(n!==null)for(let s=0;s<n.length-1;s+=2)if(typeof n[s]=="string"){let a=n[s+3];a>=0?r[a]():r[-a].unsubscribe(),s+=2}else{let a=r[n[s+1]];n[s].call(a)}r!==null&&(t[Jt]=null);let o=t[Fe];if(o!==null){t[Fe]=null;for(let s=0;s<o.length;s++){let a=o[s];a()}}let i=t[je];if(i!==null){t[je]=null;for(let s of i)s.destroy()}}function zy(e,t){let n;if(e!=null&&(n=e.destroyHooks)!=null)for(let r=0;r<n.length;r+=2){let o=t[n[r]];if(!(o instanceof Rt)){let i=n[r+1];if(Array.isArray(i))for(let s=0;s<i.length;s+=2){let a=o[i[s]],c=i[s+1];A(4,a,c);try{c.call(a)}finally{A(5,a,c)}}else{A(4,o,i);try{i.call(o)}finally{A(5,o,i)}}}}}function rf(e,t,n){return Qy(e,t.parent,n)}function Qy(e,t,n){let r=t;for(;r!==null&&r.type&168;)t=r,r=t.parent;if(r===null)return n[Ee];if(nt(r)){let{encapsulation:o}=e.data[r.directiveStart+r.componentOffset];if(o===ln.None||o===ln.Emulated)return null}return Ce(r,n)}function of(e,t,n){return Yy(e,t,n)}function Zy(e,t,n){return e.type&40?Ce(e,n):null}var Yy=Zy,Hu;function za(e,t,n,r){let o=rf(e,r,t),i=t[O],s=r.parent||t[ee],a=of(s,r,t);if(o!=null)if(Array.isArray(n))for(let c=0;c<n.length;c++)Ou(i,o,n[c],a,!1);else Ou(i,o,n,a,!1);Hu!==void 0&&Hu(i,r,t,n,o)}function zn(e,t){if(t!==null){let n=t.type;if(n&3)return Ce(t,e);if(n&4)return aa(-1,e[t.index]);if(n&8){let r=t.child;if(r!==null)return zn(e,r);{let o=e[t.index];return Ie(o)?aa(-1,o):fe(o)}}else{if(n&128)return zn(e,t.next);if(n&32)return Ba(t,e)()||fe(e[t.index]);{let r=sf(e,t);if(r!==null){if(Array.isArray(r))return r[0];let o=Ye(e[K]);return zn(o,r)}else return zn(e,t.next)}}}return null}function sf(e,t){if(t!==null){let r=e[K][ee],o=t.projection;return r.projection[o]}return null}function aa(e,t){let n=j+e+1;if(n<t.length){let r=t[n],o=r[E].firstChild;if(o!==null)return zn(r,o)}return t[tt]}function Qa(e,t,n,r,o,i,s){for(;n!=null;){let a=r[Xe];if(n.type===128){n=n.next;continue}let c=r[n.index],l=n.type;if(s&&t===0&&(c&&cn(fe(c),r),n.flags|=2),!Zo(n))if(l&8)Qa(e,t,n.child,r,o,i,!1),on(t,e,a,o,c,n,i,r);else if(l&32){let u=Ba(n,r),d;for(;d=u();)on(t,e,a,o,d,n,i,r);on(t,e,a,o,c,n,i,r)}else l&16?af(e,t,r,n,o,i):on(t,e,a,o,c,n,i,r);n=s?n.projectionNext:n.next}}function ni(e,t,n,r,o,i){Qa(n,r,e.firstChild,t,o,i,!1)}function Ky(e,t,n){let r=t[O],o=rf(e,n,t),i=n.parent||t[ee],s=of(i,n,t);af(r,0,t,n,o,s)}function af(e,t,n,r,o,i){let s=n[K],c=s[ee].projection[r.projection];if(Array.isArray(c))for(let l=0;l<c.length;l++){let u=c[l];on(t,e,n[Xe],o,u,r,i,n)}else{let l=c,u=s[B];Cd(r)&&(l.flags|=128),Qa(e,t,l,u,o,i,!0)}}function Jy(e,t,n,r,o,i,s){let a=r[tt],c=fe(r);a!==c&&on(t,e,n,i,a,o,s);for(let l=j;l<r.length;l++){let u=r[l];ni(u[E],u,e,t,i,a)}}function Xy(e,t,n,r,o){if(t)o?e.addClass(n,r):e.removeClass(n,r);else{let i=r.indexOf("-")===-1?void 0:Lo.DashCase;o==null?e.removeStyle(n,r,i):(typeof o=="string"&&o.endsWith("!important")&&(o=o.slice(0,-10),i|=Lo.Important),e.setStyle(n,r,o,i))}}function cf(e,t,n,r,o){let i=we(),s=r&2;try{ot(-1),s&&t.length>k&&Kd(e,t,k,!1),A(s?2:0,o,n),n(r,o)}finally{ot(i),A(s?3:1,o,n)}}function ri(e,t,n){iv(e,t,n),(n.flags&64)===64&&sv(e,t,n)}function En(e,t,n=Ce){let r=t.localNames;if(r!==null){let o=t.index+1;for(let i=0;i<r.length;i+=2){let s=r[i+1],a=s===-1?n(t,e):e[s];e[o++]=a}}}function ev(e,t,n,r){let i=r.get(Rd,Ad)||n===ln.ShadowDom,s=e.selectRootElement(t,i);return tv(s),s}function tv(e){nv(e)}var nv=()=>null;function rv(e){return e==="class"?"className":e==="for"?"htmlFor":e==="formaction"?"formAction":e==="innerHtml"?"innerHTML":e==="readonly"?"readOnly":e==="tabindex"?"tabIndex":e}function lf(e,t,n,r,o,i){let s=t[E];if(Ya(e,s,t,n,r)){nt(e)&&ov(t,e.index);return}e.type&3&&(n=rv(n)),uf(e,t,n,r,o,i)}function uf(e,t,n,r,o,i){if(e.type&3){let s=Ce(e,t);r=i!=null?i(r,e.value||"",n):r,o.setProperty(s,n,r)}else e.type&12}function ov(e,t){let n=pe(t,e);n[w]&16||(n[w]|=64)}function iv(e,t,n){let r=n.directiveStart,o=n.directiveEnd;nt(n)&&Ny(t,n,e.data[r+n.componentOffset]),e.firstCreatePass||Ro(n,t);let i=n.initialInputs;for(let s=r;s<o;s++){let a=e.data[s],c=Zn(t,e,s,n);if(cn(c,t),i!==null&&uv(t,s-r,c,a,n,i),De(a)){let l=pe(n.index,t);l[L]=Zn(t,e,s,n)}}}function sv(e,t,n){let r=n.directiveStart,o=n.directiveEnd,i=n.index,s=lu();try{ot(i);for(let a=r;a<o;a++){let c=e.data[a],l=t[a];lo(a),(c.hostBindings!==null||c.hostVars!==0||c.hostAttrs!==null)&&av(c,l)}}finally{ot(-1),lo(s)}}function av(e,t){e.hostBindings!==null&&e.hostBindings(1,t)}function Za(e,t){let n=e.directiveRegistry,r=null;if(n)for(let o=0;o<n.length;o++){let i=n[o];qd(t,i.selectors,!1)&&(r??=[],De(i)?r.unshift(i):r.push(i))}return r}function cv(e,t,n,r,o,i){let s=Ce(e,t);lv(t[O],s,i,e.value,n,r,o)}function lv(e,t,n,r,o,i,s){if(i==null)e.removeAttribute(t,o,n);else{let a=s==null?ie(i):s(i,r||"",o);e.setAttribute(t,o,a,n)}}function uv(e,t,n,r,o,i){let s=i[t];if(s!==null)for(let a=0;a<s.length;a+=2){let c=s[a],l=s[a+1];oa(r,n,c,l)}}function oi(e,t,n,r,o){let i=k+n,s=t[E],a=o(s,t,e,r,n);t[i]=a,nn(e,!0);let c=e.type===2;return c?(Qd(t[O],a,e),(eu()===0||en(e))&&cn(a,t),tu()):cn(a,t),ho()&&(!c||!Zo(e))&&za(s,t,a,e),e}function ii(e){let t=e;return _s()?Ms():(t=t.parent,nn(t,!1)),t}function dv(e,t){let n=e[Xe];if(!n)return;let r;try{r=n.get(Be,null)}catch{r=null}r?.(t)}function Ya(e,t,n,r,o){let i=e.inputs?.[r],s=e.hostDirectiveInputs?.[r],a=!1;if(s)for(let c=0;c<s.length;c+=2){let l=s[c],u=s[c+1],d=t.data[l];oa(d,n[l],u,o),a=!0}if(i)for(let c of i){let l=n[c],u=t.data[c];oa(u,l,r,o),a=!0}return a}function fv(e,t){let n=pe(t,e),r=n[E];pv(r,n);let o=n[Ee];o!==null&&n[Dt]===null&&(n[Dt]=Od(o,n[Xe])),A(18),Ka(r,n,n[L]),A(19,n[L])}function pv(e,t){for(let n=t.length;n<e.blueprint.length;n++)t.push(e.blueprint[n])}function Ka(e,t,n){fo(t);try{let r=e.viewQuery;r!==null&&ea(1,r,n);let o=e.template;o!==null&&cf(e,t,o,1,n),e.firstCreatePass&&(e.firstCreatePass=!1),t[Oe]?.finishViewCreation(e),e.staticContentQueries&&kd(e,t),e.staticViewQueries&&ea(2,e.viewQuery,n);let i=e.components;i!==null&&hv(t,i)}catch(r){throw e.firstCreatePass&&(e.incompleteFirstPass=!0,e.firstCreatePass=!1),r}finally{t[w]&=-5,po()}}function hv(e,t){for(let n=0;n<t.length;n++)fv(e,t[n])}function ir(e,t,n,r){let o=D(null);try{let i=t.tView,a=e[w]&4096?4096:16,c=Va(e,i,n,a,null,t,null,null,r?.injector??null,r?.embeddedViewInjector??null,r?.dehydratedView??null),l=e[t.index];c[et]=l;let u=e[Oe];return u!==null&&(c[Oe]=u.createEmbeddedView(i)),Ka(i,c,n),c}finally{D(o)}}function un(e,t){return!t||t.firstChild===null||Cd(e)}function Kn(e,t,n,r,o=!1){for(;n!==null;){if(n.type===128){n=o?n.projectionNext:n.next;continue}let i=t[n.index];i!==null&&r.push(fe(i)),Ie(i)&&df(i,r);let s=n.type;if(s&8)Kn(e,t,n.child,r);else if(s&32){let a=Ba(n,t),c;for(;c=a();)r.push(c)}else if(s&16){let a=sf(t,n);if(Array.isArray(a))r.push(...a);else{let c=Ye(t[K]);Kn(c[E],c,a,r,!0)}}n=o?n.projectionNext:n.next}return r}function df(e,t){for(let n=j;n<e.length;n++){let r=e[n],o=r[E].firstChild;o!==null&&Kn(r[E],r,o,t)}e[tt]!==e[Ee]&&t.push(e[tt])}function ff(e){if(e[Tt]!==null){for(let t of e[Tt])t.impl.addSequence(t);e[Tt].length=0}}var pf=[];function gv(e){return e[se]??mv(e)}function mv(e){let t=pf.pop()??Object.create(vv);return t.lView=e,t}function yv(e){e.lView[se]!==e&&(e.lView=null,pf.push(e))}var vv=q(U({},at),{consumerIsAlwaysLive:!0,kind:"template",consumerMarkedDirty:e=>{rt(e.lView)},consumerOnSignalRead(){this.lView[se]=this}});function Ev(e){let t=e[se]??Object.create(Iv);return t.lView=e,t}var Iv=q(U({},at),{consumerIsAlwaysLive:!0,kind:"template",consumerMarkedDirty:e=>{let t=Ye(e.lView);for(;t&&!hf(t[E]);)t=Ye(t);t&&ys(t)},consumerOnSignalRead(){this.lView[se]=this}});function hf(e){return e.type!==2}function gf(e){if(e[je]===null)return;let t=!0;for(;t;){let n=!1;for(let r of e[je])r.dirty&&(n=!0,r.zone===null||Zone.current===r.zone?r.run():r.zone.run(()=>r.run()));t=n&&!!(e[w]&8192)}}var Dv=100;function mf(e,t=0){let r=e[Re].rendererFactory,o=!1;o||r.begin?.();try{Cv(e,t)}finally{o||r.end?.()}}function Cv(e,t){let n=Ns();try{rn(!0),ca(e,t);let r=0;for(;Bn(e);){if(r===Dv)throw new N(103,!1);r++,ca(e,1)}}finally{rn(n)}}function wv(e,t,n,r){if(Mt(t))return;let o=t[w],i=!1,s=!1;fo(t);let a=!0,c=null,l=null;i||(hf(e)?(l=gv(t),c=qe(l)):yr()===null?(a=!1,l=Ev(t),c=qe(l)):t[se]&&(We(t[se]),t[se]=null));try{ms(t),su(e.bindingStartIndex),n!==null&&cf(e,t,n,2,r);let u=(o&3)===3;if(!i)if(u){let f=e.preOrderCheckHooks;f!==null&&wo(t,f,null)}else{let f=e.preOrderHooks;f!==null&&To(t,f,0,null),js(t,0)}if(s||Tv(t),gf(t),yf(t,0),e.contentQueries!==null&&kd(e,t),!i)if(u){let f=e.contentCheckHooks;f!==null&&wo(t,f)}else{let f=e.contentHooks;f!==null&&To(t,f,1),js(t,1)}_v(e,t);let d=e.components;d!==null&&Ef(t,d,0);let p=e.viewQuery;if(p!==null&&ea(2,p,r),!i)if(u){let f=e.viewCheckHooks;f!==null&&wo(t,f)}else{let f=e.viewHooks;f!==null&&To(t,f,2),js(t,2)}if(e.firstUpdatePass===!0&&(e.firstUpdatePass=!1),t[io]){for(let f of t[io])f();t[io]=null}i||(ff(t),t[w]&=-73)}catch(u){throw i||rt(t),u}finally{l!==null&&(lt(l,c),a&&yv(l)),po()}}function yf(e,t){for(let n=Td(e);n!==null;n=bd(n))for(let r=j;r<n.length;r++){let o=n[r];vf(o,t)}}function Tv(e){for(let t=Td(e);t!==null;t=bd(t)){if(!(t[w]&2))continue;let n=t[_t];for(let r=0;r<n.length;r++){let o=n[r];ys(o)}}}function bv(e,t,n){A(18);let r=pe(t,e);vf(r,n),A(19,r[L])}function vf(e,t){so(e)&&ca(e,t)}function ca(e,t){let r=e[E],o=e[w],i=e[se],s=!!(t===0&&o&16);if(s||=!!(o&64&&t===0),s||=!!(o&1024),s||=!!(i?.dirty&&ut(i)),s||=!1,i&&(i.dirty=!1),e[w]&=-9217,s)wv(r,e,r.template,e[L]);else if(o&8192){let a=D(null);try{gf(e),yf(e,1);let c=r.components;c!==null&&Ef(e,c,1),ff(e)}finally{D(a)}}}function Ef(e,t,n){for(let r=0;r<t.length;r++)bv(e,t[r],n)}function _v(e,t){let n=e.hostBindingOpCodes;if(n!==null)try{for(let r=0;r<n.length;r++){let o=n[r];if(o<0)ot(~o);else{let i=o,s=n[++r],a=n[++r];cu(s,i);let c=t[i];A(24,c),a(2,c),A(25,c)}}}finally{ot(-1)}}function Ja(e,t){let n=Ns()?64:1088;for(e[Re].changeDetectionScheduler?.notify(t);e;){e[w]|=n;let r=Ye(e);if(tn(e)&&!r)return e;e=r}return null}function If(e,t,n,r){return[e,!0,0,t,null,r,null,n,null,null]}function Df(e,t){let n=j+t;if(n<e.length)return e[n]}function sr(e,t,n,r=!0){let o=t[E];if(Mv(o,t,e,n),r){let s=aa(n,e),a=t[O],c=a.parentNode(e[tt]);c!==null&&Uy(o,e[ee],a,t,c,s)}let i=t[Dt];i!==null&&i.firstChild!==null&&(i.firstChild=null)}function Cf(e,t){let n=Jn(e,t);return n!==void 0&&ti(n[E],n),n}function Jn(e,t){if(e.length<=j)return;let n=j+t,r=e[n];if(r){let o=r[et];o!==null&&o!==e&&Ga(o,r),t>0&&(e[n-1][de]=r[de]);let i=Pn(e,j+t);$y(r[E],r);let s=i[Oe];s!==null&&s.detachView(i[E]),r[B]=null,r[de]=null,r[w]&=-129}return r}function Mv(e,t,n,r){let o=j+r,i=n.length;r>0&&(n[o-1][de]=t),r<i-j?(t[de]=n[o],ts(n,j+r,t)):(n.push(t),t[de]=null),t[B]=n;let s=t[et];s!==null&&n!==s&&wf(s,t);let a=t[Oe];a!==null&&a.insertView(e),ao(t),t[w]|=128}function wf(e,t){let n=e[_t],r=t[B];if(ke(r))e[w]|=2;else{let o=r[B][K];t[K]!==o&&(e[w]|=2)}n===null?e[_t]=[t]:n.push(t)}var st=class{_lView;_cdRefInjectingView;_appRef=null;_attachedToViewContainer=!1;exhaustive;get rootNodes(){let t=this._lView,n=t[E];return Kn(n,t,n.firstChild,[])}constructor(t,n){this._lView=t,this._cdRefInjectingView=n}get context(){return this._lView[L]}set context(t){this._lView[L]=t}get destroyed(){return Mt(this._lView)}destroy(){if(this._appRef)this._appRef.detachView(this);else if(this._attachedToViewContainer){let t=this._lView[B];if(Ie(t)){let n=t[jn],r=n?n.indexOf(this):-1;r>-1&&(Jn(t,r),Pn(n,r))}this._attachedToViewContainer=!1}ti(this._lView[E],this._lView)}onDestroy(t){vs(this._lView,t)}markForCheck(){Ja(this._cdRefInjectingView||this._lView,4)}detach(){this._lView[w]&=-129}reattach(){ao(this._lView),this._lView[w]|=128}detectChanges(){this._lView[w]|=1024,mf(this._lView)}checkNoChanges(){}attachToViewContainerRef(){if(this._appRef)throw new N(902,!1);this._attachedToViewContainer=!0}detachFromAppRef(){this._appRef=null;let t=tn(this._lView),n=this._lView[et];n!==null&&!t&&Ga(n,this._lView),nf(this._lView[E],this._lView)}attachToAppRef(t){if(this._attachedToViewContainer)throw new N(902,!1);this._appRef=t;let n=tn(this._lView),r=this._lView[et];r!==null&&!n&&wf(r,this._lView),ao(this._lView)}};var Xn=(()=>{class e{_declarationLView;_declarationTContainer;elementRef;static __NG_ELEMENT_ID__=Nv;constructor(n,r,o){this._declarationLView=n,this._declarationTContainer=r,this.elementRef=o}get ssrId(){return this._declarationTContainer.tView?.ssrId||null}createEmbeddedView(n,r){return this.createEmbeddedViewImpl(n,r)}createEmbeddedViewImpl(n,r,o){let i=ir(this._declarationLView,this._declarationTContainer,n,{embeddedViewInjector:r,dehydratedView:o});return new st(i)}}return e})();function Nv(){return si(F(),v())}function si(e,t){return e.type&4?new Xn(t,e,mn(e,t)):null}function In(e,t,n,r,o){let i=e.data[t];if(i===null)i=xv(e,t,n,r,o),au()&&(i.flags|=32);else if(i.type&64){i.type=n,i.value=r,i.attrs=o;let s=ou();i.injectorIndex=s===null?-1:s.injectorIndex}return nn(i,!0),i}function xv(e,t,n,r,o){let i=bs(),s=_s(),a=s?i:i&&i.parent,c=e.data[t]=Av(e,a,n,t,r,o);return Sv(e,c,i,s),c}function Sv(e,t,n,r){e.firstChild===null&&(e.firstChild=t),n!==null&&(r?n.child==null&&t.parent!==null&&(n.child=t):n.next===null&&(n.next=t,t.prev=n))}function Av(e,t,n,r,o,i){let s=t?t.injectorIndex:-1,a=0;return Cs()&&(a|=128),{type:n,index:r,insertBeforeIndex:null,injectorIndex:s,directiveStart:-1,directiveEnd:-1,directiveStylingLast:-1,componentOffset:-1,propertyBindings:null,flags:a,providerIndexes:0,value:o,attrs:i,mergedAttrs:null,localNames:null,initialInputs:null,inputs:null,hostDirectiveInputs:null,outputs:null,hostDirectiveOutputs:null,directiveToIndex: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}}var VA=new RegExp(`^(\\d+)*(${Om}|${Rm})*(.*)`);function Rv(e){let t=e[ds]??[],r=e[B][O],o=[];for(let i of t)i.data[Sd]!==void 0?o.push(i):Ov(i,r);e[ds]=o}function Ov(e,t){let n=0,r=e.firstChild;if(r){let o=e.data[xd];for(;n<o;){let i=r.nextSibling;zd(t,r,!1),r=i,n++}}}var kv=()=>null,Pv=()=>null;function Ho(e,t){return kv(e,t)}function Tf(e,t,n){return Pv(e,t,n)}var bf=class{},ai=class{},la=class{resolveComponentFactory(t){throw new N(917,!1)}},ci=class{static NULL=new la},er=class{},Lv=(()=>{class e{destroyNode=null;static __NG_ELEMENT_ID__=()=>Fv()}return e})();function Fv(){let e=v(),t=F(),n=pe(t.index,e);return(ke(n)?n:e)[O]}var _f=(()=>{class e{static \u0275prov=Q({token:e,providedIn:"root",factory:()=>null})}return e})();var _o={},ua=class{injector;parentInjector;constructor(t,n){this.injector=t,this.parentInjector=n}get(t,n,r){let o=this.injector.get(t,_o,r);return o!==_o||n===_o?o:this.parentInjector.get(t,n,r)}};function Bo(e,t,n){let r=n?e.styles:null,o=n?e.classes:null,i=0;if(t!==null)for(let s=0;s<t.length;s++){let a=t[s];if(typeof a=="number")i=a;else if(i==1)o=Zr(o,a);else if(i==2){let c=a,l=t[++s];r=Zr(r,c+": "+l+";")}}n?e.styles=r:e.stylesWithoutHost=r,n?e.classes=o:e.classesWithoutHost=o}function ar(e,t=0){let n=v();if(n===null)return xe(e,t);let r=F();return yd(r,n,H(e),t)}function jv(){let e="invalid";throw new Error(e)}function Mf(e,t,n,r,o){let i=r===null?null:{"":-1},s=o(e,n);if(s!==null){let a=s,c=null,l=null;for(let u of s)if(u.resolveHostDirectives!==null){[a,c,l]=u.resolveHostDirectives(s);break}Bv(e,t,n,a,i,c,l)}i!==null&&r!==null&&Vv(n,r,i)}function Vv(e,t,n){let r=e.localNames=[];for(let o=0;o<t.length;o+=2){let i=n[t[o+1]];if(i==null)throw new N(-301,!1);r.push(t[o],i)}}function Hv(e,t,n){t.componentOffset=n,(e.components??=[]).push(t.index)}function Bv(e,t,n,r,o,i,s){let a=r.length,c=!1;for(let p=0;p<a;p++){let f=r[p];!c&&De(f)&&(c=!0,Hv(e,n,p)),Ys(Ro(n,t),e,f.type)}zv(n,e.data.length,a);for(let p=0;p<a;p++){let f=r[p];f.providersResolver&&f.providersResolver(f)}let l=!1,u=!1,d=Yd(e,t,a,null);a>0&&(n.directiveToIndex=new Map);for(let p=0;p<a;p++){let f=r[p];if(n.mergedAttrs=an(n.mergedAttrs,f.hostAttrs),Uv(e,n,t,d,f),Gv(d,f,o),s!==null&&s.has(f)){let[m,_]=s.get(f);n.directiveToIndex.set(f.type,[d,m+n.directiveStart,_+n.directiveStart])}else(i===null||!i.has(f))&&n.directiveToIndex.set(f.type,d);f.contentQueries!==null&&(n.flags|=4),(f.hostBindings!==null||f.hostAttrs!==null||f.hostVars!==0)&&(n.flags|=64);let h=f.type.prototype;!l&&(h.ngOnChanges||h.ngOnInit||h.ngDoCheck)&&((e.preOrderHooks??=[]).push(n.index),l=!0),!u&&(h.ngOnChanges||h.ngDoCheck)&&((e.preOrderCheckHooks??=[]).push(n.index),u=!0),d++}$v(e,n,i)}function $v(e,t,n){for(let r=t.directiveStart;r<t.directiveEnd;r++){let o=e.data[r];if(n===null||!n.has(o))Bu(0,t,o,r),Bu(1,t,o,r),Uu(t,r,!1);else{let i=n.get(o);$u(0,t,i,r),$u(1,t,i,r),Uu(t,r,!0)}}}function Bu(e,t,n,r){let o=e===0?n.inputs:n.outputs;for(let i in o)if(o.hasOwnProperty(i)){let s;e===0?s=t.inputs??={}:s=t.outputs??={},s[i]??=[],s[i].push(r),Nf(t,i)}}function $u(e,t,n,r){let o=e===0?n.inputs:n.outputs;for(let i in o)if(o.hasOwnProperty(i)){let s=o[i],a;e===0?a=t.hostDirectiveInputs??={}:a=t.hostDirectiveOutputs??={},a[s]??=[],a[s].push(r,i),Nf(t,s)}}function Nf(e,t){t==="class"?e.flags|=8:t==="style"&&(e.flags|=16)}function Uu(e,t,n){let{attrs:r,inputs:o,hostDirectiveInputs:i}=e;if(r===null||!n&&o===null||n&&i===null||Fa(e)){e.initialInputs??=[],e.initialInputs.push(null);return}let s=null,a=0;for(;a<r.length;){let c=r[a];if(c===0){a+=4;continue}else if(c===5){a+=2;continue}else if(typeof c=="number")break;if(!n&&o.hasOwnProperty(c)){let l=o[c];for(let u of l)if(u===t){s??=[],s.push(c,r[a+1]);break}}else if(n&&i.hasOwnProperty(c)){let l=i[c];for(let u=0;u<l.length;u+=2)if(l[u]===t){s??=[],s.push(l[u+1],r[a+1]);break}}a+=2}e.initialInputs??=[],e.initialInputs.push(s)}function Uv(e,t,n,r,o){e.data[r]=o;let i=o.factory||(o.factory=Ze(o.type,!0)),s=new Rt(i,De(o),ar,null);e.blueprint[r]=s,n[r]=s,qv(e,t,r,Yd(e,n,o.hostVars,W),o)}function qv(e,t,n,r,o){let i=o.hostBindings;if(i){let s=e.hostBindingOpCodes;s===null&&(s=e.hostBindingOpCodes=[]);let a=~t.index;Wv(s)!=a&&s.push(a),s.push(n,r,i)}}function Wv(e){let t=e.length;for(;t>0;){let n=e[--t];if(typeof n=="number"&&n<0)return n}return 0}function Gv(e,t,n){if(n){if(t.exportAs)for(let r=0;r<t.exportAs.length;r++)n[t.exportAs[r]]=e;De(t)&&(n[""]=e)}}function zv(e,t,n){e.flags|=1,e.directiveStart=t,e.directiveEnd=t+n,e.providerIndexes=t}function Xa(e,t,n,r,o,i,s,a){let c=t[E],l=c.consts,u=ae(l,s),d=In(c,e,n,r,u);return i&&Mf(c,t,d,ae(l,a),o),d.mergedAttrs=an(d.mergedAttrs,d.attrs),d.attrs!==null&&Bo(d,d.attrs,!1),d.mergedAttrs!==null&&Bo(d,d.mergedAttrs,!0),c.queries!==null&&c.queries.elementStart(c,d),d}function ec(e,t){cd(e,t),fs(t)&&e.queries.elementEnd(t)}function xf(e,t,n,r,o,i){let s=t.consts,a=ae(s,o),c=In(t,e,n,r,a);if(c.mergedAttrs=an(c.mergedAttrs,c.attrs),i!=null){let l=ae(s,i);c.localNames=[];for(let u=0;u<l.length;u+=2)c.localNames.push(l[u],-1)}return c.attrs!==null&&Bo(c,c.attrs,!1),c.mergedAttrs!==null&&Bo(c,c.mergedAttrs,!0),t.queries!==null&&t.queries.elementStart(t,c),c}function tc(e){return e!==null&&(typeof e=="function"||typeof e=="object")}function li(e,t,n){return e[t]=n}function Qv(e,t){return e[t]}function ce(e,t,n){if(n===W)return!1;let r=e[t];return Object.is(r,n)?!1:(e[t]=n,!0)}function $o(e,t,n,r){let o=ce(e,t,n);return ce(e,t+1,r)||o}function Sf(e,t,n,r,o,i){let s=$o(e,t,n,r);return $o(e,t+2,o,i)||s}function Mo(e,t,n){return function r(o){let i=nt(e)?pe(e.index,t):t;Ja(i,5);let s=t[L],a=qu(t,s,n,o),c=r.__ngNextListenerFn__;for(;c;)a=qu(t,s,c,o)&&a,c=c.__ngNextListenerFn__;return a}}function qu(e,t,n,r){let o=D(null);try{return A(6,t,n),n(r)!==!1}catch(i){return dv(e,i),!1}finally{A(7,t,n),D(o)}}function Af(e,t,n,r,o,i,s,a){let c=en(e),l=!1,u=null;if(!r&&c&&(u=Yv(t,n,i,e.index)),u!==null){let d=u.__ngLastListenerFn__||u;d.__ngNextListenerFn__=s,u.__ngLastListenerFn__=s,l=!0}else{let d=Ce(e,n),p=r?r(d):d;Pm(n,p,i,a);let f=o.listen(p,i,a);if(!Zv(i)){let h=r?m=>r(fe(m[e.index])):e.index;Rf(h,t,n,i,a,f,!1)}}return l}function Zv(e){return e.startsWith("animation")||e.startsWith("transition")}function Yv(e,t,n,r){let o=e.cleanup;if(o!=null)for(let i=0;i<o.length-1;i+=2){let s=o[i];if(s===n&&o[i+1]===r){let a=t[Jt],c=o[i+2];return a&&a.length>c?a[c]:null}typeof s=="string"&&(i+=2)}return null}function Rf(e,t,n,r,o,i,s){let a=t.firstCreatePass?Is(t):null,c=Es(n),l=c.length;c.push(o,i),a&&a.push(r,e,l,(l+1)*(s?-1:1))}function Wu(e,t,n,r,o,i){let s=t[n],a=t[E],l=a.data[n].outputs[r],d=s[l].subscribe(i);Rf(e.index,a,t,o,i,d,!0)}var da=Symbol("BINDING");var fa=class extends ci{ngModule;constructor(t){super(),this.ngModule=t}resolveComponentFactory(t){let n=Je(t);return new dn(n,this.ngModule)}};function Kv(e){return Object.keys(e).map(t=>{let[n,r,o]=e[t],i={propName:n,templateName:t,isSignal:(r&Jo.SignalBased)!==0};return o&&(i.transform=o),i})}function Jv(e){return Object.keys(e).map(t=>({propName:e[t],templateName:t}))}function Xv(e,t,n){let r=t instanceof le?t:t?.injector;return r&&e.getStandaloneInjector!==null&&(r=e.getStandaloneInjector(r)||r),r?new ua(n,r):n}function eE(e){let t=e.get(er,null);if(t===null)throw new N(407,!1);let n=e.get(_f,null),r=e.get(ue,null);return{rendererFactory:t,sanitizer:n,changeDetectionScheduler:r,ngReflect:!1}}function tE(e,t){let n=Of(e);return Wd(t,n,n==="svg"?ps:n==="math"?Ql:null)}function Of(e){return(e.selectors[0][0]||"div").toLowerCase()}var dn=class extends ai{componentDef;ngModule;selector;componentType;ngContentSelectors;isBoundToModule;cachedInputs=null;cachedOutputs=null;get inputs(){return this.cachedInputs??=Kv(this.componentDef.inputs),this.cachedInputs}get outputs(){return this.cachedOutputs??=Jv(this.componentDef.outputs),this.cachedOutputs}constructor(t,n){super(),this.componentDef=t,this.ngModule=n,this.componentType=t.type,this.selector=Ey(t.selectors),this.ngContentSelectors=t.ngContentSelectors??[],this.isBoundToModule=!!n}create(t,n,r,o,i,s){A(22);let a=D(null);try{let c=this.componentDef,l=nE(r,c,s,i),u=Xv(c,o||this.ngModule,t),d=eE(u),p=d.rendererFactory.createRenderer(null,c),f=r?ev(p,r,c.encapsulation,u):tE(c,p),h=s?.some(Gu)||i?.some(T=>typeof T!="function"&&T.bindings.some(Gu)),m=Va(null,l,null,512|Zd(c),null,null,d,p,u,null,Od(f,u,!0));m[k]=f,fo(m);let _=null;try{let T=Xa(k,m,2,"#host",()=>l.directiveRegistry,!0,0);Qd(p,f,T),cn(f,m),ri(l,m,T),ka(l,T,m),ec(l,T),n!==void 0&&oE(T,this.ngContentSelectors,n),_=pe(T.index,m),m[L]=_[L],Ka(l,m,null)}catch(T){throw _!==null&&Js(_),Js(m),T}finally{A(23),po()}return new Uo(this.componentType,m,!!h)}finally{D(a)}}};function nE(e,t,n,r){let o=e?["ng-version","20.3.10"]:Iy(t.selectors[0]),i=null,s=null,a=0;if(n)for(let u of n)a+=u[da].requiredVars,u.create&&(u.targetIdx=0,(i??=[]).push(u)),u.update&&(u.targetIdx=0,(s??=[]).push(u));if(r)for(let u=0;u<r.length;u++){let d=r[u];if(typeof d!="function")for(let p of d.bindings){a+=p[da].requiredVars;let f=u+1;p.create&&(p.targetIdx=f,(i??=[]).push(p)),p.update&&(p.targetIdx=f,(s??=[]).push(p))}}let c=[t];if(r)for(let u of r){let d=typeof u=="function"?u:u.type,p=ro(d);c.push(p)}return ja(0,null,rE(i,s),1,a,c,null,null,null,[o],null)}function rE(e,t){return!e&&!t?null:n=>{if(n&1&&e)for(let r of e)r.create();if(n&2&&t)for(let r of t)r.update()}}function Gu(e){let t=e[da].kind;return t==="input"||t==="twoWay"}var Uo=class extends bf{_rootLView;_hasInputBindings;instance;hostView;changeDetectorRef;componentType;location;previousInputValues=null;_tNode;constructor(t,n,r){super(),this._rootLView=n,this._hasInputBindings=r,this._tNode=Vn(n[E],k),this.location=mn(this._tNode,n),this.instance=pe(this._tNode.index,n)[L],this.hostView=this.changeDetectorRef=new st(n,void 0),this.componentType=t}setInput(t,n){this._hasInputBindings;let r=this._tNode;if(this.previousInputValues??=new Map,this.previousInputValues.has(t)&&Object.is(this.previousInputValues.get(t),n))return;let o=this._rootLView,i=Ya(r,o[E],o,t,n);this.previousInputValues.set(t,n);let s=pe(r.index,o);Ja(s,1)}get injector(){return new At(this._tNode,this._rootLView)}destroy(){this.hostView.destroy()}onDestroy(t){this.hostView.onDestroy(t)}};function oE(e,t,n){let r=e.projection=[];for(let o=0;o<t.length;o++){let i=n[o];r.push(i!=null&&i.length?Array.from(i):null)}}var ui=(()=>{class e{static __NG_ELEMENT_ID__=iE}return e})();function iE(){let e=F();return Pf(e,v())}var sE=ui,kf=class extends sE{_lContainer;_hostTNode;_hostLView;constructor(t,n,r){super(),this._lContainer=t,this._hostTNode=n,this._hostLView=r}get element(){return mn(this._hostTNode,this._hostLView)}get injector(){return new At(this._hostTNode,this._hostLView)}get parentInjector(){let t=Aa(this._hostTNode,this._hostLView);if(dd(t)){let n=So(t,this._hostLView),r=xo(t),o=n[E].data[r+8];return new At(o,n)}else return new At(null,this._hostLView)}clear(){for(;this.length>0;)this.remove(this.length-1)}get(t){let n=zu(this._lContainer);return n!==null&&n[t]||null}get length(){return this._lContainer.length-j}createEmbeddedView(t,n,r){let o,i;typeof r=="number"?o=r:r!=null&&(o=r.index,i=r.injector);let s=Ho(this._lContainer,t.ssrId),a=t.createEmbeddedViewImpl(n||{},i,s);return this.insertImpl(a,o,un(this._hostTNode,s)),a}createComponent(t,n,r,o,i,s,a){let c=t&&!Xg(t),l;if(c)l=n;else{let _=n||{};l=_.index,r=_.injector,o=_.projectableNodes,i=_.environmentInjector||_.ngModuleRef,s=_.directives,a=_.bindings}let u=c?t:new dn(Je(t)),d=r||this.parentInjector;if(!i&&u.ngModule==null){let T=(c?d:this.parentInjector).get(le,null);T&&(i=T)}let p=Je(u.componentType??{}),f=Ho(this._lContainer,p?.id??null),h=f?.firstChild??null,m=u.create(d,o,h,i,s,a);return this.insertImpl(m.hostView,l,un(this._hostTNode,f)),m}insert(t,n){return this.insertImpl(t,n,!0)}insertImpl(t,n,r){let o=t._lView;if(Yl(o)){let a=this.indexOf(t);if(a!==-1)this.detach(a);else{let c=o[B],l=new kf(c,c[ee],c[B]);l.detach(l.indexOf(t))}}let i=this._adjustIndex(n),s=this._lContainer;return sr(s,o,i,r),t.attachToViewContainerRef(),ts(Bs(s),i,t),t}move(t,n){return this.insert(t,n)}indexOf(t){let n=zu(this._lContainer);return n!==null?n.indexOf(t):-1}remove(t){let n=this._adjustIndex(t,-1),r=Jn(this._lContainer,n);r&&(Pn(Bs(this._lContainer),n),ti(r[E],r))}detach(t){let n=this._adjustIndex(t,-1),r=Jn(this._lContainer,n);return r&&Pn(Bs(this._lContainer),n)!=null?new st(r):null}_adjustIndex(t,n=0){return t??this.length+n}};function zu(e){return e[jn]}function Bs(e){return e[jn]||(e[jn]=[])}function Pf(e,t){let n,r=t[e.index];return Ie(r)?n=r:(n=If(r,t,null,e),t[e.index]=n,Ha(t,n)),cE(n,t,e,r),new kf(n,e,t)}function aE(e,t){let n=e[O],r=n.createComment(""),o=Ce(t,e),i=n.parentNode(o);return Po(n,i,r,n.nextSibling(o),!1),r}var cE=dE,lE=()=>!1;function uE(e,t,n){return lE(e,t,n)}function dE(e,t,n,r){if(e[tt])return;let o;n.type&8?o=fe(r):o=aE(t,n),e[tt]=o}var pa=class e{queryList;matches=null;constructor(t){this.queryList=t}clone(){return new e(this.queryList)}setDirty(){this.queryList.setDirty()}},ha=class e{queries;constructor(t=[]){this.queries=t}createEmbeddedView(t){let n=t.queries;if(n!==null){let r=t.contentQueries!==null?t.contentQueries[0]:n.length,o=[];for(let i=0;i<r;i++){let s=n.getByIndex(i),a=this.queries[s.indexInDeclarationView];o.push(a.clone())}return new e(o)}return null}insertView(t){this.dirtyQueriesWithMatches(t)}detachView(t){this.dirtyQueriesWithMatches(t)}finishViewCreation(t){this.dirtyQueriesWithMatches(t)}dirtyQueriesWithMatches(t){for(let n=0;n<this.queries.length;n++)rc(t,n).matches!==null&&this.queries[n].setDirty()}},qo=class{flags;read;predicate;constructor(t,n,r=null){this.flags=n,this.read=r,typeof t=="string"?this.predicate=mE(t):this.predicate=t}},ga=class e{queries;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++){let o=n!==null?n.length:0,i=this.getByIndex(r).embeddedTView(t,o);i&&(i.indexInDeclarationView=r,n!==null?n.push(i):n=[i])}return n!==null?new e(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)}},ma=class e{metadata;matches=null;indexInDeclarationView=-1;crossesNgTemplate=!1;_declarationNodeIndex;_appliesToNextNode=!0;constructor(t,n=-1){this.metadata=t,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 e(this.metadata)):null}isApplyingToNode(t){if(this._appliesToNextNode&&(this.metadata.flags&1)!==1){let n=this._declarationNodeIndex,r=t.parent;for(;r!==null&&r.type&8&&r.index!==n;)r=r.parent;return n===(r!==null?r.index:-1)}return this._appliesToNextNode}matchTNode(t,n){let r=this.metadata.predicate;if(Array.isArray(r))for(let o=0;o<r.length;o++){let i=r[o];this.matchTNodeWithReadOption(t,n,fE(n,i)),this.matchTNodeWithReadOption(t,n,bo(n,t,i,!1,!1))}else r===Xn?n.type&4&&this.matchTNodeWithReadOption(t,n,-1):this.matchTNodeWithReadOption(t,n,bo(n,t,r,!1,!1))}matchTNodeWithReadOption(t,n,r){if(r!==null){let o=this.metadata.read;if(o!==null)if(o===rr||o===ui||o===Xn&&n.type&4)this.addMatch(n.index,-2);else{let i=bo(n,t,o,!1,!1);i!==null&&this.addMatch(n.index,i)}else this.addMatch(n.index,r)}}addMatch(t,n){this.matches===null?this.matches=[t,n]:this.matches.push(t,n)}};function fE(e,t){let n=e.localNames;if(n!==null){for(let r=0;r<n.length;r+=2)if(n[r]===t)return n[r+1]}return null}function pE(e,t){return e.type&11?mn(e,t):e.type&4?si(e,t):null}function hE(e,t,n,r){return n===-1?pE(t,e):n===-2?gE(e,t,r):Zn(e,e[E],n,t)}function gE(e,t,n){if(n===rr)return mn(t,e);if(n===Xn)return si(t,e);if(n===ui)return Pf(t,e)}function Lf(e,t,n,r){let o=t[Oe].queries[r];if(o.matches===null){let i=e.data,s=n.matches,a=[];for(let c=0;s!==null&&c<s.length;c+=2){let l=s[c];if(l<0)a.push(null);else{let u=i[l];a.push(hE(t,u,s[c+1],n.metadata.read))}}o.matches=a}return o.matches}function ya(e,t,n,r){let o=e.queries.getByIndex(n),i=o.matches;if(i!==null){let s=Lf(e,t,o,n);for(let a=0;a<i.length;a+=2){let c=i[a];if(c>0)r.push(s[a/2]);else{let l=i[a+1],u=t[-c];for(let d=j;d<u.length;d++){let p=u[d];p[et]===p[B]&&ya(p[E],p,l,r)}if(u[_t]!==null){let d=u[_t];for(let p=0;p<d.length;p++){let f=d[p];ya(f[E],f,l,r)}}}}}return r}function nc(e,t){return e[Oe].queries[t].queryList}function Ff(e,t,n){let r=new Oo((n&4)===4);return Xl(e,t,r,r.destroy),(t[Oe]??=new ha).queries.push(new pa(r))-1}function jf(e,t,n){let r=P();return r.firstCreatePass&&(Hf(r,new qo(e,t,n),-1),(t&2)===2&&(r.staticViewQueries=!0)),Ff(r,v(),t)}function Vf(e,t,n,r){let o=P();if(o.firstCreatePass){let i=F();Hf(o,new qo(t,n,r),i.index),yE(o,e),(n&2)===2&&(o.staticContentQueries=!0)}return Ff(o,v(),n)}function mE(e){return e.split(",").map(t=>t.trim())}function Hf(e,t,n){e.queries===null&&(e.queries=new ga),e.queries.track(new ma(t,n))}function yE(e,t){let n=e.contentQueries||(e.contentQueries=[]),r=n.length?n[n.length-1]:-1;t!==r&&n.push(e.queries.length-1,t)}function rc(e,t){return e.queries.getByIndex(t)}function Bf(e,t){let n=e[E],r=rc(n,t);return r.crossesNgTemplate?ya(n,e,t,[]):Lf(n,e,r,t)}function $f(e,t,n){let r,o=Cn(()=>{r._dirtyCounter();let i=vE(r,e);if(t&&i===void 0)throw new N(-951,!1);return i});return r=o[V],r._dirtyCounter=go(0),r._flatValue=void 0,o}function oc(e){return $f(!0,!1,e)}function ic(e){return $f(!0,!0,e)}function Uf(e,t){let n=e[V];n._lView=v(),n._queryIndex=t,n._queryList=nc(n._lView,t),n._queryList.onDirty(()=>n._dirtyCounter.update(r=>r+1))}function vE(e,t){let n=e._lView,r=e._queryIndex;if(n===void 0||r===void 0||n[w]&4)return t?void 0:Y;let o=nc(n,r),i=Bf(n,r);return o.reset(i,Dd),t?o.first:o._changesDetected||e._flatValue===void 0?e._flatValue=o.toArray():e._flatValue}var Wo=class{};var tr=class extends Wo{injector;componentFactoryResolver=new fa(this);instance=null;constructor(t){super();let n=new Et([...t.providers,{provide:Wo,useValue:this},{provide:ci,useValue:this.componentFactoryResolver}],t.parent||Kt(),t.debugName,new Set(["environment"]));this.injector=n,t.runEnvironmentInitializers&&n.resolveInjectorInitializers()}destroy(){this.injector.destroy()}onDestroy(t){this.injector.onDestroy(t)}};function qf(e,t,n=null){return new tr({providers:e,parent:t,debugName:n,runEnvironmentInitializers:!0}).injector}var EE=(()=>{class e{_injector;cachedInjectors=new Map;constructor(n){this._injector=n}getOrCreateStandaloneInjector(n){if(!n.standalone)return null;if(!this.cachedInjectors.has(n)){let r=is(!1,n.type),o=r.length>0?qf([r],this._injector,`Standalone[${n.type.name}]`):null;this.cachedInjectors.set(n,o)}return this.cachedInjectors.get(n)}ngOnDestroy(){try{for(let n of this.cachedInjectors.values())n!==null&&n.destroy()}finally{this.cachedInjectors.clear()}}static \u0275prov=Q({token:e,providedIn:"environment",factory:()=>new e(xe(le))})}return e})();function IE(e){return gn(()=>{let t=Wf(e),n=q(U({},t),{decls:e.decls,vars:e.vars,template:e.template,consts:e.consts||null,ngContentSelectors:e.ngContentSelectors,onPush:e.changeDetection===Ra.OnPush,directiveDefs:null,pipeDefs:null,dependencies:t.standalone&&e.dependencies||null,getStandaloneInjector:t.standalone?o=>o.get(EE).getOrCreateStandaloneInjector(n):null,getExternalStyles:null,signals:e.signals??!1,data:e.data||{},encapsulation:e.encapsulation||ln.Emulated,styles:e.styles||Y,_:null,schemas:e.schemas||null,tView:null,id:""});t.standalone&&kt("NgStandalone"),Gf(n);let r=e.dependencies;return n.directiveDefs=Qu(r,DE),n.pipeDefs=Qu(r,Bl),n.id=ME(n),n})}function DE(e){return Je(e)||ro(e)}function CE(e){return gn(()=>({type:e.type,bootstrap:e.bootstrap||Y,declarations:e.declarations||Y,imports:e.imports||Y,exports:e.exports||Y,transitiveCompileScopes:null,schemas:e.schemas||null,id:e.id||null}))}function wE(e,t){if(e==null)return ve;let n={};for(let r in e)if(e.hasOwnProperty(r)){let o=e[r],i,s,a,c;Array.isArray(o)?(a=o[0],i=o[1],s=o[2]??i,c=o[3]||null):(i=o,s=o,a=Jo.None,c=null),n[i]=[r,a,c],t[i]=s}return n}function TE(e){if(e==null)return ve;let t={};for(let n in e)e.hasOwnProperty(n)&&(t[e[n]]=n);return t}function bE(e){return gn(()=>{let t=Wf(e);return Gf(t),t})}function _E(e){return{type:e.type,name:e.name,factory:null,pure:e.pure!==!1,standalone:e.standalone??!0,onDestroy:e.type.prototype.ngOnDestroy||null}}function Wf(e){let 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,inputConfig:e.inputs||ve,exportAs:e.exportAs||null,standalone:e.standalone??!0,signals:e.signals===!0,selectors:e.selectors||Y,viewQuery:e.viewQuery||null,features:e.features||null,setInput:null,resolveHostDirectives:null,hostDirectives:null,inputs:wE(e.inputs,t),outputs:TE(e.outputs),debugInfo:null}}function Gf(e){e.features?.forEach(t=>t(e))}function Qu(e,t){return e?()=>{let n=typeof e=="function"?e():e,r=[];for(let o of n){let i=t(o);i!==null&&r.push(i)}return r}:null}function ME(e){let t=0,n=typeof e.consts=="function"?"":e.consts,r=[e.selectors,e.ngContentSelectors,e.hostVars,e.hostAttrs,n,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];for(let i of r.join("|"))t=Math.imul(31,t)+i.charCodeAt(0)<<0;return t+=2147483648,"c"+t}function NE(e){return Object.getPrototypeOf(e.prototype).constructor}function zf(e){let t=NE(e.type),n=!0,r=[e];for(;t;){let o;if(De(e))o=t.\u0275cmp||t.\u0275dir;else{if(t.\u0275cmp)throw new N(903,!1);o=t.\u0275dir}if(o){if(n){r.push(o);let s=e;s.inputs=$s(e.inputs),s.declaredInputs=$s(e.declaredInputs),s.outputs=$s(e.outputs);let a=o.hostBindings;a&&OE(e,a);let c=o.viewQuery,l=o.contentQueries;if(c&&AE(e,c),l&&RE(e,l),xE(e,o),Al(e.outputs,o.outputs),De(o)&&o.data.animation){let u=e.data;u.animation=(u.animation||[]).concat(o.data.animation)}}let i=o.features;if(i)for(let s=0;s<i.length;s++){let a=i[s];a&&a.ngInherit&&a(e),a===zf&&(n=!1)}}t=Object.getPrototypeOf(t)}SE(r)}function xE(e,t){for(let n in t.inputs){if(!t.inputs.hasOwnProperty(n)||e.inputs.hasOwnProperty(n))continue;let r=t.inputs[n];r!==void 0&&(e.inputs[n]=r,e.declaredInputs[n]=t.declaredInputs[n])}}function SE(e){let t=0,n=null;for(let r=e.length-1;r>=0;r--){let o=e[r];o.hostVars=t+=o.hostVars,o.hostAttrs=an(o.hostAttrs,n=an(n,o.hostAttrs))}}function $s(e){return e===ve?{}:e===Y?[]:e}function AE(e,t){let n=e.viewQuery;n?e.viewQuery=(r,o)=>{t(r,o),n(r,o)}:e.viewQuery=t}function RE(e,t){let n=e.contentQueries;n?e.contentQueries=(r,o,i)=>{t(r,o,i),n(r,o,i)}:e.contentQueries=t}function OE(e,t){let n=e.hostBindings;n?e.hostBindings=(r,o)=>{t(r,o),n(r,o)}:e.hostBindings=t}function kE(e){let t=n=>{let r=Array.isArray(e);n.hostDirectives===null?(n.resolveHostDirectives=PE,n.hostDirectives=r?e.map(va):[e]):r?n.hostDirectives.unshift(...e.map(va)):n.hostDirectives.unshift(e)};return t.ngInherit=!0,t}function PE(e){let t=[],n=!1,r=null,o=null;for(let i=0;i<e.length;i++){let s=e[i];if(s.hostDirectives!==null){let a=t.length;r??=new Map,o??=new Map,Qf(s,t,r),o.set(s,[a,t.length-1])}i===0&&De(s)&&(n=!0,t.push(s))}for(let i=n?1:0;i<e.length;i++)t.push(e[i]);return[t,r,o]}function Qf(e,t,n){if(e.hostDirectives!==null)for(let r of e.hostDirectives)if(typeof r=="function"){let o=r();for(let i of o)Zu(va(i),t,n)}else Zu(r,t,n)}function Zu(e,t,n){let r=ro(e.directive);LE(r.declaredInputs,e.inputs),Qf(r,t,n),n.set(r,e),t.push(r)}function va(e){return typeof e=="function"?{directive:H(e),inputs:ve,outputs:ve}:{directive:H(e.directive),inputs:Yu(e.inputs),outputs:Yu(e.outputs)}}function Yu(e){if(e===void 0||e.length===0)return ve;let t={};for(let n=0;n<e.length;n+=2)t[e[n]]=e[n+1];return t}function LE(e,t){for(let n in t)if(t.hasOwnProperty(n)){let r=t[n],o=e[n];e[r]=o}}function Zf(e,t,n,r,o,i,s,a){if(n.firstCreatePass){e.mergedAttrs=an(e.mergedAttrs,e.attrs);let u=e.tView=ja(2,e,o,i,s,n.directiveRegistry,n.pipeRegistry,null,n.schemas,n.consts,null);n.queries!==null&&(n.queries.template(n,e),u.queries=n.queries.embeddedTView(e))}a&&(e.flags|=a),nn(e,!1);let c=jE(n,t,e,r);ho()&&za(n,t,c,e),cn(c,t);let l=If(c,t,c,e);t[r+k]=l,Ha(t,l),uE(l,e,t)}function FE(e,t,n,r,o,i,s,a,c,l,u){let d=n+k,p;return t.firstCreatePass?(p=In(t,d,4,s||null,a||null),co()&&Mf(t,e,p,ae(t.consts,l),Za),cd(t,p)):p=t.data[d],Zf(p,e,t,n,r,o,i,c),en(p)&&ri(t,e,p),l!=null&&En(e,p,u),p}function fn(e,t,n,r,o,i,s,a,c,l,u){let d=n+k,p;if(t.firstCreatePass){if(p=In(t,d,4,s||null,a||null),l!=null){let f=ae(t.consts,l);p.localNames=[];for(let h=0;h<f.length;h+=2)p.localNames.push(f[h],-1)}}else p=t.data[d];return Zf(p,e,t,n,r,o,i,c),l!=null&&En(e,p,u),p}function Yf(e,t,n,r,o,i,s,a){let c=v(),l=P(),u=ae(l.consts,i);return FE(c,l,e,t,n,r,o,u,void 0,s,a),Yf}function Kf(e,t,n,r,o,i,s,a){let c=v(),l=P(),u=ae(l.consts,i);return fn(c,l,e,t,n,r,o,u,void 0,s,a),Kf}var jE=VE;function VE(e,t,n,r){return Wn(!0),t[O].createComment("")}var Jf=new S("");function sc(e){return!!e&&typeof e.then=="function"}function Xf(e){return!!e&&typeof e.subscribe=="function"}var ep=new S("");var ac=(()=>{class e{resolve;reject;initialized=!1;done=!1;donePromise=new Promise((n,r)=>{this.resolve=n,this.reject=r});appInits=C(ep,{optional:!0})??[];injector=C(ye);constructor(){}runInitializers(){if(this.initialized)return;let n=[];for(let o of this.appInits){let i=oo(this.injector,o);if(sc(i))n.push(i);else if(Xf(i)){let s=new Promise((a,c)=>{i.subscribe({complete:a,error:c})});n.push(s)}}let r=()=>{this.done=!0,this.resolve()};Promise.all(n).then(()=>{r()}).catch(o=>{this.reject(o)}),n.length===0&&r(),this.initialized=!0}static \u0275fac=function(r){return new(r||e)};static \u0275prov=Q({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})(),tp=new S("");function np(){Di(()=>{let e="";throw new N(600,e)})}function rp(e){return e.isBoundToModule}var HE=10;var cr=(()=>{class e{_runningTick=!1;_destroyed=!1;_destroyListeners=[];_views=[];internalErrorHandler=C(Be);afterRenderManager=C(ei);zonelessEnabled=C(mo);rootEffectScheduler=C(Gn);dirtyFlags=0;tracingSnapshot=null;allTestViews=new Set;autoDetectTestViews=new Set;includeAllTestViews=!1;afterTick=new te;get allViews(){return[...(this.includeAllTestViews?this.allTestViews:this.autoDetectTestViews).keys(),...this._views]}get destroyed(){return this._destroyed}componentTypes=[];components=[];internalPendingTask=C(it);get isStable(){return this.internalPendingTask.hasPendingTasksObservable.pipe(re(n=>!n))}constructor(){C(vn,{optional:!0})}whenStable(){let n;return new Promise(r=>{n=this.isStable.subscribe({next:o=>{o&&r()}})}).finally(()=>{n.unsubscribe()})}_injector=C(le);_rendererFactory=null;get injector(){return this._injector}bootstrap(n,r){return this.bootstrapImpl(n,r)}bootstrapImpl(n,r,o=ye.NULL){return this._injector.get(oe).run(()=>{A(10);let s=n instanceof ai;if(!this._injector.get(ac).done){let h="";throw new N(405,h)}let c;s?c=n:c=this._injector.get(ci).resolveComponentFactory(n),this.componentTypes.push(c.componentType);let l=rp(c)?void 0:this._injector.get(Wo),u=r||c.selector,d=c.create(o,[],u,l),p=d.location.nativeElement,f=d.injector.get(Jf,null);return f?.registerApplication(p),d.onDestroy(()=>{this.detachView(d.hostView),Qn(this.components,d),f?.unregisterApplication(p)}),this._loadComponent(d),A(11,d),d})}tick(){this.zonelessEnabled||(this.dirtyFlags|=1),this._tick()}_tick(){A(12),this.tracingSnapshot!==null?this.tracingSnapshot.run(Xo.CHANGE_DETECTION,this.tickImpl):this.tickImpl()}tickImpl=()=>{if(this._runningTick)throw new N(101,!1);let n=D(null);try{this._runningTick=!0,this.synchronize()}finally{this._runningTick=!1,this.tracingSnapshot?.dispose(),this.tracingSnapshot=null,D(n),this.afterTick.next(),A(13)}};synchronize(){this._rendererFactory===null&&!this._injector.destroyed&&(this._rendererFactory=this._injector.get(er,null,{optional:!0}));let n=0;for(;this.dirtyFlags!==0&&n++<HE;)A(14),this.synchronizeOnce(),A(15)}synchronizeOnce(){this.dirtyFlags&16&&(this.dirtyFlags&=-17,this.rootEffectScheduler.flush());let n=!1;if(this.dirtyFlags&7){let r=!!(this.dirtyFlags&1);this.dirtyFlags&=-8,this.dirtyFlags|=8;for(let{_lView:o}of this.allViews){if(!r&&!Bn(o))continue;let i=r&&!this.zonelessEnabled?0:1;mf(o,i),n=!0}if(this.dirtyFlags&=-5,this.syncDirtyFlagsWithViews(),this.dirtyFlags&23)return}n||(this._rendererFactory?.begin?.(),this._rendererFactory?.end?.()),this.dirtyFlags&8&&(this.dirtyFlags&=-9,this.afterRenderManager.execute()),this.syncDirtyFlagsWithViews()}syncDirtyFlagsWithViews(){if(this.allViews.some(({_lView:n})=>Bn(n))){this.dirtyFlags|=2;return}else this.dirtyFlags&=-8}attachView(n){let r=n;this._views.push(r),r.attachToAppRef(this)}detachView(n){let r=n;Qn(this._views,r),r.detachFromAppRef()}_loadComponent(n){this.attachView(n.hostView);try{this.tick()}catch(o){this.internalErrorHandler(o)}this.components.push(n),this._injector.get(tp,[]).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._destroyListeners=[]}}onDestroy(n){return this._destroyListeners.push(n),()=>Qn(this._destroyListeners,n)}destroy(){if(this._destroyed)throw new N(406,!1);let n=this._injector;n.destroy&&!n.destroyed&&n.destroy()}get viewCount(){return this._views.length}static \u0275fac=function(r){return new(r||e)};static \u0275prov=Q({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();function Qn(e,t){let n=e.indexOf(t);n>-1&&e.splice(n,1)}function op(e,t,n,r){let o=v(),i=Ve();if(ce(o,i,t)){let s=P(),a=qn();cv(a,o,e,t,n,r)}return op}var WA=typeof document<"u"&&typeof document?.documentElement?.getAnimations=="function";function BE(){return v()[K][L]}var Ea=class{destroy(t){}updateValue(t,n){}swap(t,n){let r=Math.min(t,n),o=Math.max(t,n),i=this.detach(o);if(o-r>1){let s=this.detach(r);this.attach(r,i),this.attach(o,s)}else this.attach(r,i)}move(t,n){this.attach(n,this.detach(t,!0))}};function Us(e,t,n,r,o){return e===n&&Object.is(t,r)?1:Object.is(o(e,t),o(n,r))?-1:0}function $E(e,t,n){let r,o,i=0,s=e.length-1,a=void 0;if(Array.isArray(t)){let c=t.length-1;for(;i<=s&&i<=c;){let l=e.at(i),u=t[i],d=Us(i,l,i,u,n);if(d!==0){d<0&&e.updateValue(i,u),i++;continue}let p=e.at(s),f=t[c],h=Us(s,p,c,f,n);if(h!==0){h<0&&e.updateValue(s,f),s--,c--;continue}let m=n(i,l),_=n(s,p),T=n(i,u);if(Object.is(T,_)){let G=n(c,f);Object.is(G,m)?(e.swap(i,s),e.updateValue(s,f),c--,s--):e.move(s,i),e.updateValue(i,u),i++;continue}if(r??=new Go,o??=Ju(e,i,s,n),Ia(e,r,i,T))e.updateValue(i,u),i++,s++;else if(o.has(T))r.set(m,e.detach(i)),s--;else{let G=e.create(i,t[i]);e.attach(i,G),i++,s++}}for(;i<=c;)Ku(e,r,n,i,t[i]),i++}else if(t!=null){let c=t[Symbol.iterator](),l=c.next();for(;!l.done&&i<=s;){let u=e.at(i),d=l.value,p=Us(i,u,i,d,n);if(p!==0)p<0&&e.updateValue(i,d),i++,l=c.next();else{r??=new Go,o??=Ju(e,i,s,n);let f=n(i,d);if(Ia(e,r,i,f))e.updateValue(i,d),i++,s++,l=c.next();else if(!o.has(f))e.attach(i,e.create(i,d)),i++,s++,l=c.next();else{let h=n(i,u);r.set(h,e.detach(i)),s--}}}for(;!l.done;)Ku(e,r,n,e.length,l.value),l=c.next()}for(;i<=s;)e.destroy(e.detach(s--));r?.forEach(c=>{e.destroy(c)})}function Ia(e,t,n,r){return t!==void 0&&t.has(r)?(e.attach(n,t.get(r)),t.delete(r),!0):!1}function Ku(e,t,n,r,o){if(Ia(e,t,r,n(r,o)))e.updateValue(r,o);else{let i=e.create(r,o);e.attach(r,i)}}function Ju(e,t,n,r){let o=new Set;for(let i=t;i<=n;i++)o.add(r(i,e.at(i)));return o}var Go=class{kvMap=new Map;_vMap=void 0;has(t){return this.kvMap.has(t)}delete(t){if(!this.has(t))return!1;let n=this.kvMap.get(t);return this._vMap!==void 0&&this._vMap.has(n)?(this.kvMap.set(t,this._vMap.get(n)),this._vMap.delete(n)):this.kvMap.delete(t),!0}get(t){return this.kvMap.get(t)}set(t,n){if(this.kvMap.has(t)){let r=this.kvMap.get(t);this._vMap===void 0&&(this._vMap=new Map);let o=this._vMap;for(;o.has(r);)r=o.get(r);o.set(r,n)}else this.kvMap.set(t,n)}forEach(t){for(let[n,r]of this.kvMap)if(t(r,n),this._vMap!==void 0){let o=this._vMap;for(;o.has(r);)r=o.get(r),t(r,n)}}};function UE(e,t,n,r,o,i,s,a){kt("NgControlFlow");let c=v(),l=P(),u=ae(l.consts,i);return fn(c,l,e,t,n,r,o,u,256,s,a),cc}function cc(e,t,n,r,o,i,s,a){kt("NgControlFlow");let c=v(),l=P(),u=ae(l.consts,i);return fn(c,l,e,t,n,r,o,u,512,s,a),cc}function qE(e,t){kt("NgControlFlow");let n=v(),r=Ve(),o=n[r]!==W?n[r]:-1,i=o!==-1?zo(n,k+o):void 0,s=0;if(ce(n,r,e)){let a=D(null);try{if(i!==void 0&&Cf(i,s),e!==-1){let c=k+e,l=zo(n,c),u=Ta(n[E],c),d=Tf(l,u,n),p=ir(n,u,t,{dehydratedView:d});sr(l,p,s,un(u,d))}}finally{D(a)}}else if(i!==void 0){let a=Df(i,s);a!==void 0&&(a[L]=t)}}var Da=class{lContainer;$implicit;$index;constructor(t,n,r){this.lContainer=t,this.$implicit=n,this.$index=r}get $count(){return this.lContainer.length-j}};function WE(e){return e}function GE(e,t){return t}var Ca=class{hasEmptyBlock;trackByFn;liveCollection;constructor(t,n,r){this.hasEmptyBlock=t,this.trackByFn=n,this.liveCollection=r}};function zE(e,t,n,r,o,i,s,a,c,l,u,d,p){kt("NgControlFlow");let f=v(),h=P(),m=c!==void 0,_=v(),T=a?s.bind(_[K][L]):s,G=new Ca(m,T);_[k+e]=G,fn(f,h,e+1,t,n,r,o,ae(h.consts,i),256),m&&fn(f,h,e+2,c,l,u,d,ae(h.consts,p),512)}var wa=class extends Ea{lContainer;hostLView;templateTNode;operationsCounter=void 0;needsIndexUpdate=!1;constructor(t,n,r){super(),this.lContainer=t,this.hostLView=n,this.templateTNode=r}get length(){return this.lContainer.length-j}at(t){return this.getLView(t)[L].$implicit}attach(t,n){let r=n[Dt];this.needsIndexUpdate||=t!==this.length,sr(this.lContainer,n,t,un(this.templateTNode,r))}detach(t,n){return this.needsIndexUpdate||=t!==this.length-1,n&&ZE(this.lContainer,t),YE(this.lContainer,t)}create(t,n){let r=Ho(this.lContainer,this.templateTNode.tView.ssrId),o=ir(this.hostLView,this.templateTNode,new Da(this.lContainer,n,t),{dehydratedView:r});return this.operationsCounter?.recordCreate(),o}destroy(t){ti(t[E],t),this.operationsCounter?.recordDestroy()}updateValue(t,n){this.getLView(t)[L].$implicit=n}reset(){this.needsIndexUpdate=!1,this.operationsCounter?.reset()}updateIndexes(){if(this.needsIndexUpdate)for(let t=0;t<this.length;t++)this.getLView(t)[L].$index=t}getLView(t){return KE(this.lContainer,t)}};function QE(e){let t=D(null),n=we();try{let r=v(),o=r[E],i=r[n],s=n+1,a=zo(r,s);if(i.liveCollection===void 0){let l=Ta(o,s);i.liveCollection=new wa(a,r,l)}else i.liveCollection.reset();let c=i.liveCollection;if($E(c,e,i.trackByFn),c.updateIndexes(),i.hasEmptyBlock){let l=Ve(),u=c.length===0;if(ce(r,l,u)){let d=n+2,p=zo(r,d);if(u){let f=Ta(o,d),h=Tf(p,f,r),m=ir(r,f,void 0,{dehydratedView:h});sr(p,m,0,un(f,h))}else o.firstUpdatePass&&Rv(p),Cf(p,0)}}}finally{D(t)}}function zo(e,t){return e[t]}function ZE(e,t){if(e.length<=j)return;let n=j+t,r=e[n];r&&r[bt]&&(r[bt].skipLeaveAnimations=!0)}function YE(e,t){return Jn(e,t)}function KE(e,t){return Df(e,t)}function Ta(e,t){return Vn(e,t)}function ip(e,t,n){let r=v(),o=Ve();if(ce(r,o,t)){let i=P(),s=qn();lf(s,r,e,t,r[O],n)}return ip}function ba(e,t,n,r,o){Ya(t,e,n,o?"class":"style",r)}function lc(e,t,n,r){let o=v(),i=o[E],s=e+k,a=i.firstCreatePass?Xa(s,o,2,t,Za,co(),n,r):i.data[s];if(oi(a,o,e,t,cp),en(a)){let c=o[E];ri(c,o,a),ka(c,a,o)}return r!=null&&En(o,a),lc}function uc(){let e=P(),t=F(),n=ii(t);return e.firstCreatePass&&ec(e,n),ws(n)&&Ts(),Ds(),n.classesWithoutHost!=null&&sm(n)&&ba(e,n,v(),n.classesWithoutHost,!0),n.stylesWithoutHost!=null&&am(n)&&ba(e,n,v(),n.stylesWithoutHost,!1),uc}function sp(e,t,n,r){return lc(e,t,n,r),uc(),sp}function dc(e,t,n,r){let o=v(),i=o[E],s=e+k,a=i.firstCreatePass?xf(s,i,2,t,n,r):i.data[s];return oi(a,o,e,t,cp),r!=null&&En(o,a),dc}function fc(){let e=F(),t=ii(e);return ws(t)&&Ts(),Ds(),fc}function ap(e,t,n,r){return dc(e,t,n,r),fc(),ap}var cp=(e,t,n,r,o)=>(Wn(!0),Wd(t[O],r,yu()));function pc(e,t,n){let r=v(),o=r[E],i=e+k,s=o.firstCreatePass?Xa(i,r,8,"ng-container",Za,co(),t,n):o.data[i];if(oi(s,r,e,"ng-container",dp),en(s)){let a=r[E];ri(a,r,s),ka(a,s,r)}return n!=null&&En(r,s),pc}function di(){let e=P(),t=F(),n=ii(t);return e.firstCreatePass&&ec(e,n),di}function lp(e,t,n){return pc(e,t,n),di(),lp}function up(e,t,n){let r=v(),o=r[E],i=e+k,s=o.firstCreatePass?xf(i,o,8,"ng-container",t,n):o.data[i];return oi(s,r,e,"ng-container",dp),n!=null&&En(r,s),up}function JE(){let e=F(),t=ii(e);return di}var dp=(e,t,n,r,o)=>(Wn(!0),wy(t[O],""));function XE(){return v()}function fp(e,t,n){let r=v(),o=Ve();if(ce(r,o,t)){let i=P(),s=qn();uf(s,r,e,t,r[O],n)}return fp}var Do=void 0;function eI(e){let t=Math.floor(Math.abs(e)),n=e.toString().replace(/^[^.]*\.?/,"").length;return t===1&&n===0?1:5}var tI=["en",[["a","p"],["AM","PM"]],[["AM","PM"]],[["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"]],Do,[["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"]],Do,[["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}",Do,"{1} 'at' {0}",Do],[".",",",";","%","+","-","E","\xD7","\u2030","\u221E","NaN",":"],["#,##0.###","#,##0%","\xA4#,##0.00","#E0"],"USD","$","US Dollar",{},"ltr",eI],qs={};function pp(e){let t=rI(e),n=Xu(t);if(n)return n;let r=t.split("-")[0];if(n=Xu(r),n)return n;if(r==="en")return tI;throw new N(701,!1)}function nI(e){return pp(e)[hc.PluralCase]}function Xu(e){return e in qs||(qs[e]=Ae.ng&&Ae.ng.common&&Ae.ng.common.locales&&Ae.ng.common.locales[e]),qs[e]}var hc=(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})(hc||{});function rI(e){return e.toLowerCase().replace(/_/g,"-")}var lr="en-US";var oI=lr;function hp(e){typeof e=="string"&&(oI=e.toLowerCase().replace(/_/g,"-"))}function gp(e,t,n){let r=v(),o=P(),i=F();return yp(o,r,r[O],i,e,t,n),gp}function mp(e,t,n){let r=v(),o=P(),i=F();return(i.type&3||n)&&Af(i,o,r,n,r[O],e,t,Mo(i,r,t)),mp}function yp(e,t,n,r,o,i,s){let a=!0,c=null;if((r.type&3||s)&&(c??=Mo(r,t,i),Af(r,e,t,s,n,o,i,c)&&(a=!1)),a){let l=r.outputs?.[o],u=r.hostDirectiveOutputs?.[o];if(u&&u.length)for(let d=0;d<u.length;d+=2){let p=u[d],f=u[d+1];c??=Mo(r,t,i),Wu(r,t,p,f,o,c)}if(l&&l.length)for(let d of l)c??=Mo(r,t,i),Wu(r,t,d,o,o,c)}}function iI(e=1){return hu(e)}function sI(e,t){let n=null,r=hy(e);for(let o=0;o<t.length;o++){let i=t[o];if(i==="*"){n=o;continue}if(r===null?qd(e,i,!0):yy(r,i))return o}return n}function aI(e){let t=v()[K][ee];if(!t.projection){let n=e?e.length:1,r=t.projection=Vl(n,null),o=r.slice(),i=t.child;for(;i!==null;){if(i.type!==128){let s=e?sI(i,e):0;s!==null&&(o[s]?o[s].projectionNext=i:r[s]=i,o[s]=i)}i=i.next}}}function cI(e,t=0,n,r,o,i){let s=v(),a=P(),c=r?e+1:null;c!==null&&fn(s,a,c,r,o,i,null,n);let l=In(a,k+e,16,null,n||null);l.projection===null&&(l.projection=t),Ms();let d=!s[Dt]||Cs();s[K][ee].projection[l.projection]===null&&c!==null?lI(s,a,c):d&&!Zo(l)&&Ky(a,s,l)}function lI(e,t,n){let r=k+n,o=t.data[r],i=e[r],s=Ho(i,o.tView.ssrId),a=ir(e,o,void 0,{dehydratedView:s});sr(i,a,0,un(o,s))}function uI(e,t,n,r){Vf(e,t,n,r)}function dI(e,t,n){jf(e,t,n)}function fI(e){let t=v(),n=P(),r=uo();Un(r+1);let o=rc(n,r);if(e.dirty&&Zl(t)===((o.metadata.flags&2)===2)){if(o.matches===null)e.reset([]);else{let i=Bf(t,r);e.reset(i,Dd),e.notifyOnChanges()}return!0}return!1}function pI(){return nc(v(),uo())}function hI(e,t,n,r,o){Uf(t,Vf(e,n,r,o))}function gI(e,t,n,r){Uf(e,jf(t,n,r))}function mI(e=1){Un(uo()+e)}function yI(e){let t=iu();return Hn(t,k+e)}function Co(e,t){return e<<17|t<<2}function Ot(e){return e>>17&32767}function vI(e){return(e&2)==2}function EI(e,t){return e&131071|t<<17}function _a(e){return e|2}function pn(e){return(e&131068)>>2}function Ws(e,t){return e&-131069|t<<2}function II(e){return(e&1)===1}function Ma(e){return e|1}function DI(e,t,n,r,o,i){let s=i?t.classBindings:t.styleBindings,a=Ot(s),c=pn(s);e[r]=n;let l=!1,u;if(Array.isArray(n)){let d=n;u=d[1],(u===null||Yt(d,u)>0)&&(l=!0)}else u=n;if(o)if(c!==0){let p=Ot(e[a+1]);e[r+1]=Co(p,a),p!==0&&(e[p+1]=Ws(e[p+1],r)),e[a+1]=EI(e[a+1],r)}else e[r+1]=Co(a,0),a!==0&&(e[a+1]=Ws(e[a+1],r)),a=r;else e[r+1]=Co(c,0),a===0?a=r:e[c+1]=Ws(e[c+1],r),c=r;l&&(e[r+1]=_a(e[r+1])),ed(e,u,r,!0),ed(e,u,r,!1),CI(t,u,e,r,i),s=Co(a,c),i?t.classBindings=s:t.styleBindings=s}function CI(e,t,n,r,o){let i=o?e.residualClasses:e.residualStyles;i!=null&&typeof t=="string"&&Yt(i,t)>=0&&(n[r+1]=Ma(n[r+1]))}function ed(e,t,n,r){let o=e[n+1],i=t===null,s=r?Ot(o):pn(o),a=!1;for(;s!==0&&(a===!1||i);){let c=e[s],l=e[s+1];wI(c,t)&&(a=!0,e[s+1]=r?Ma(l):_a(l)),s=r?Ot(l):pn(l)}a&&(e[n+1]=r?_a(o):Ma(o))}function wI(e,t){return e===null||t==null||(Array.isArray(e)?e[1]:e)===t?!0:Array.isArray(e)&&typeof t=="string"?Yt(e,t)>=0:!1}var $={textEnd:0,key:0,keyEnd:0,value:0,valueEnd:0};function vp(e){return e.substring($.key,$.keyEnd)}function TI(e){return e.substring($.value,$.valueEnd)}function bI(e){return Dp(e),Ep(e,hn(e,0,$.textEnd))}function Ep(e,t){let n=$.textEnd;return n===t?-1:(t=$.keyEnd=MI(e,$.key=t,n),hn(e,t,n))}function _I(e){return Dp(e),Ip(e,hn(e,0,$.textEnd))}function Ip(e,t){let n=$.textEnd,r=$.key=hn(e,t,n);return n===r?-1:(r=$.keyEnd=NI(e,r,n),r=td(e,r,n,58),r=$.value=hn(e,r,n),r=$.valueEnd=xI(e,r,n),td(e,r,n,59))}function Dp(e){$.key=0,$.keyEnd=0,$.value=0,$.valueEnd=0,$.textEnd=e.length}function hn(e,t,n){for(;t<n&&e.charCodeAt(t)<=32;)t++;return t}function MI(e,t,n){for(;t<n&&e.charCodeAt(t)>32;)t++;return t}function NI(e,t,n){let r;for(;t<n&&((r=e.charCodeAt(t))===45||r===95||(r&-33)>=65&&(r&-33)<=90||r>=48&&r<=57);)t++;return t}function td(e,t,n,r){return t=hn(e,t,n),t<n&&t++,t}function xI(e,t,n){let r=-1,o=-1,i=-1,s=t,a=s;for(;s<n;){let c=e.charCodeAt(s++);if(c===59)return a;c===34||c===39?a=s=nd(e,c,s,n):t===s-4&&i===85&&o===82&&r===76&&c===40?a=s=nd(e,41,s,n):c>32&&(a=s),i=o,o=r,r=c&-33}return a}function nd(e,t,n,r){let o=-1,i=n;for(;i<r;){let s=e.charCodeAt(i++);if(s==t&&o!==92)return i;s==92&&o===92?o=0:o=s}throw new Error}function Cp(e,t,n){return Tp(e,t,n,!1),Cp}function wp(e,t){return Tp(e,t,null,!0),wp}function SI(e){bp(Np,AI,e,!1)}function AI(e,t){for(let n=_I(t);n>=0;n=Ip(t,n))Np(e,vp(t),TI(t))}function RI(e){bp(VI,OI,e,!0)}function OI(e,t){for(let n=bI(t);n>=0;n=Ep(t,n))Ln(e,vp(t),!0)}function Tp(e,t,n,r){let o=v(),i=P(),s=$n(2);if(i.firstUpdatePass&&Mp(i,e,s,r),t!==W&&ce(o,s,t)){let a=i.data[we()];xp(i,a,o,o[O],e,o[s+1]=BI(t,n),r,s)}}function bp(e,t,n,r){let o=P(),i=$n(2);o.firstUpdatePass&&Mp(o,null,i,r);let s=v();if(n!==W&&ce(s,i,n)){let a=o.data[we()];if(Sp(a,r)&&!_p(o,i)){let c=r?a.classesWithoutHost:a.stylesWithoutHost;c!==null&&(n=Zr(c,n||"")),ba(o,a,s,n,r)}else HI(o,a,s,s[O],s[i+1],s[i+1]=jI(e,t,n),r,i)}}function _p(e,t){return t>=e.expandoStartIndex}function Mp(e,t,n,r){let o=e.data;if(o[n+1]===null){let i=o[we()],s=_p(e,n);Sp(i,r)&&t===null&&!s&&(t=!1),t=kI(o,i,t,r),DI(o,i,t,n,s,r)}}function kI(e,t,n,r){let o=uu(e),i=r?t.residualClasses:t.residualStyles;if(o===null)(r?t.classBindings:t.styleBindings)===0&&(n=Gs(null,e,t,n,r),n=nr(n,t.attrs,r),i=null);else{let s=t.directiveStylingLast;if(s===-1||e[s]!==o)if(n=Gs(o,e,t,n,r),i===null){let c=PI(e,t,r);c!==void 0&&Array.isArray(c)&&(c=Gs(null,e,t,c[1],r),c=nr(c,t.attrs,r),LI(e,t,r,c))}else i=FI(e,t,r)}return i!==void 0&&(r?t.residualClasses=i:t.residualStyles=i),n}function PI(e,t,n){let r=n?t.classBindings:t.styleBindings;if(pn(r)!==0)return e[Ot(r)]}function LI(e,t,n,r){let o=n?t.classBindings:t.styleBindings;e[Ot(o)]=r}function FI(e,t,n){let r,o=t.directiveEnd;for(let i=1+t.directiveStylingLast;i<o;i++){let s=e[i].hostAttrs;r=nr(r,s,n)}return nr(r,t.attrs,n)}function Gs(e,t,n,r,o){let i=null,s=n.directiveEnd,a=n.directiveStylingLast;for(a===-1?a=n.directiveStart:a++;a<s&&(i=t[a],r=nr(r,i.hostAttrs,o),i!==e);)a++;return e!==null&&(n.directiveStylingLast=a),r}function nr(e,t,n){let r=n?1:2,o=-1;if(t!==null)for(let i=0;i<t.length;i++){let s=t[i];typeof s=="number"?o=s:o===r&&(Array.isArray(e)||(e=e===void 0?[]:["",e]),Ln(e,s,n?!0:t[++i]))}return e===void 0?null:e}function jI(e,t,n){if(n==null||n==="")return Y;let r=[],o=yn(n);if(Array.isArray(o))for(let i=0;i<o.length;i++)e(r,o[i],!0);else if(typeof o=="object")for(let i in o)o.hasOwnProperty(i)&&e(r,i,o[i]);else typeof o=="string"&&t(r,o);return r}function Np(e,t,n){Ln(e,t,yn(n))}function VI(e,t,n){let r=String(t);r!==""&&!r.includes(" ")&&Ln(e,r,n)}function HI(e,t,n,r,o,i,s,a){o===W&&(o=Y);let c=0,l=0,u=0<o.length?o[0]:null,d=0<i.length?i[0]:null;for(;u!==null||d!==null;){let p=c<o.length?o[c+1]:void 0,f=l<i.length?i[l+1]:void 0,h=null,m;u===d?(c+=2,l+=2,p!==f&&(h=d,m=f)):d===null||u!==null&&u<d?(c+=2,h=u):(l+=2,h=d,m=f),h!==null&&xp(e,t,n,r,h,m,s,a),u=c<o.length?o[c]:null,d=l<i.length?i[l]:null}}function xp(e,t,n,r,o,i,s,a){if(!(t.type&3))return;let c=e.data,l=c[a+1],u=II(l)?rd(c,t,n,o,pn(l),s):void 0;if(!Qo(u)){Qo(i)||vI(l)&&(i=rd(c,null,n,o,a,s));let d=hs(we(),n);Xy(r,s,d,o,i)}}function rd(e,t,n,r,o,i){let s=t===null,a;for(;o>0;){let c=e[o],l=Array.isArray(c),u=l?c[1]:c,d=u===null,p=n[o+1];p===W&&(p=d?Y:void 0);let f=d?no(p,r):u===r?p:void 0;if(l&&!Qo(f)&&(f=no(c,r)),Qo(f)&&(a=f,s))return a;let h=e[o+1];o=s?Ot(h):pn(h)}if(t!==null){let c=i?t.residualClasses:t.residualStyles;c!=null&&(a=no(c,r))}return a}function Qo(e){return e!==void 0}function BI(e,t){return e==null||e===""||(typeof t=="string"?e=e+t:typeof e=="object"&&(e=Qe(yn(e)))),e}function Sp(e,t){return(e.flags&(t?8:16))!==0}function $I(e,t=""){let n=v(),r=P(),o=e+k,i=r.firstCreatePass?In(r,o,1,t,null):r.data[o],s=UI(r,n,i,t,e);n[o]=s,ho()&&za(r,n,s,i),nn(i,!1)}var UI=(e,t,n,r,o)=>(Wn(!0),Dy(t[O],r));function Ap(e,t,n,r=""){return ce(e,Ve(),n)?t+ie(n)+r:W}function Rp(e,t,n,r,o,i=""){let s=xs(),a=$o(e,s,n,o);return $n(2),a?t+ie(n)+r+ie(o)+i:W}function qI(e,t,n,r,o,i,s,a,c,l=""){let u=xs(),d=Sf(e,u,n,o,s,c);return $n(4),d?t+ie(n)+r+ie(o)+i+ie(s)+a+ie(c)+l:W}function Op(e){return gc("",e),Op}function gc(e,t,n){let r=v(),o=Ap(r,e,t,n);return o!==W&&mc(r,we(),o),gc}function kp(e,t,n,r,o){let i=v(),s=Rp(i,e,t,n,r,o);return s!==W&&mc(i,we(),s),kp}function Pp(e,t,n,r,o,i,s,a,c){let l=v(),u=qI(l,e,t,n,r,o,i,s,a,c);return u!==W&&mc(l,we(),u),Pp}function mc(e,t,n){let r=hs(t,e);Cy(e[O],r,n)}function Lp(e,t,n){ks(t)&&(t=t());let r=v(),o=Ve();if(ce(r,o,t)){let i=P(),s=qn();lf(s,r,e,t,r[O],n)}return Lp}function WI(e,t){let n=ks(e);return n&&e.set(t),n}function Fp(e,t){let n=v(),r=P(),o=F();return yp(r,n,n[O],o,e,t),Fp}function GI(e){return ce(v(),Ve(),e)?ie(e):W}function zI(e,t,n=""){return Ap(v(),e,t,n)}function QI(e,t,n,r,o=""){return Rp(v(),e,t,n,r,o)}function ZI(e,t,n){let r=P();if(r.firstCreatePass){let o=De(e);Na(n,r.data,r.blueprint,o,!0),Na(t,r.data,r.blueprint,o,!1)}}function Na(e,t,n,r,o){if(e=H(e),Array.isArray(e))for(let i=0;i<e.length;i++)Na(e[i],t,n,r,o);else{let i=P(),s=v(),a=F(),c=vt(e)?e:H(e.provide),l=cs(e),u=a.providerIndexes&1048575,d=a.directiveStart,p=a.providerIndexes>>20;if(vt(e)||!e.multi){let f=new Rt(l,o,ar,null),h=Qs(c,t,o?u:u+p,d);h===-1?(Ys(Ro(a,s),i,c),zs(i,e,t.length),t.push(c),a.directiveStart++,a.directiveEnd++,o&&(a.providerIndexes+=1048576),n.push(f),s.push(f)):(n[h]=f,s[h]=f)}else{let f=Qs(c,t,u+p,d),h=Qs(c,t,u,u+p),m=f>=0&&n[f],_=h>=0&&n[h];if(o&&!_||!o&&!m){Ys(Ro(a,s),i,c);let T=JI(o?KI:YI,n.length,o,r,l,e);!o&&_&&(n[h].providerFactory=T),zs(i,e,t.length,0),t.push(c),a.directiveStart++,a.directiveEnd++,o&&(a.providerIndexes+=1048576),n.push(T),s.push(T)}else{let T=jp(n[o?h:f],l,!o&&r);zs(i,e,f>-1?f:h,T)}!o&&r&&_&&n[h].componentProviders++}}}function zs(e,t,n,r){let o=vt(t),i=Wl(t);if(o||i){let c=(i?H(t.useClass):t).prototype.ngOnDestroy;if(c){let l=e.destroyHooks||(e.destroyHooks=[]);if(!o&&t.multi){let u=l.indexOf(n);u===-1?l.push(n,[r,c]):l[u+1].push(r,c)}else l.push(n,c)}}}function jp(e,t,n){return n&&e.componentProviders++,e.multi.push(t)-1}function Qs(e,t,n,r){for(let o=n;o<r;o++)if(t[o]===e)return o;return-1}function YI(e,t,n,r,o){return xa(this.multi,[])}function KI(e,t,n,r,o){let i=this.multi,s;if(this.providerFactory){let a=this.providerFactory.componentProviders,c=Zn(r,r[E],this.providerFactory.index,o);s=c.slice(0,a),xa(i,s);for(let l=a;l<c.length;l++)s.push(c[l])}else s=[],xa(i,s);return s}function xa(e,t){for(let n=0;n<e.length;n++){let r=e[n];t.push(r())}return t}function JI(e,t,n,r,o,i){let s=new Rt(e,n,ar,null);return s.multi=[],s.index=t,s.componentProviders=0,jp(s,o,r&&!n),s}function XI(e,t=[]){return n=>{n.providersResolver=(r,o)=>ZI(r,o?o(e):e,t)}}function eD(e,t,n){let r=Nt()+e,o=v();return o[r]===W?li(o,r,n?t.call(n):t()):Qv(o,r)}function tD(e,t,n,r){return Vp(v(),Nt(),e,t,n,r)}function nD(e,t,n,r,o){return Hp(v(),Nt(),e,t,n,r,o)}function yc(e,t){let n=e[t];return n===W?void 0:n}function Vp(e,t,n,r,o,i){let s=t+n;return ce(e,s,o)?li(e,s+1,i?r.call(i,o):r(o)):yc(e,s+1)}function Hp(e,t,n,r,o,i,s){let a=t+n;return $o(e,a,o,i)?li(e,a+2,s?r.call(s,o,i):r(o,i)):yc(e,a+2)}function rD(e,t,n,r,o,i,s,a,c){let l=t+n;return Sf(e,l,o,i,s,a)?li(e,l+4,c?r.call(c,o,i,s,a):r(o,i,s,a)):yc(e,l+4)}function oD(e,t){let n=P(),r,o=e+k;n.firstCreatePass?(r=iD(t,n.pipeRegistry),n.data[o]=r,r.onDestroy&&(n.destroyHooks??=[]).push(o,r.onDestroy)):r=n.data[o];let i=r.factory||(r.factory=Ze(r.type,!0)),s,a=X(ar);try{let c=Ao(!1),l=i();return Ao(c),gs(n,v(),o,l),l}finally{X(a)}}function iD(e,t){if(t)for(let n=t.length-1;n>=0;n--){let r=t[n];if(e===r.name)return r}}function sD(e,t,n){let r=e+k,o=v(),i=Hn(o,r);return vc(o,r)?Vp(o,Nt(),t,i.transform,n,i):i.transform(n)}function aD(e,t,n,r){let o=e+k,i=v(),s=Hn(i,o);return vc(i,o)?Hp(i,Nt(),t,s.transform,n,r,s):s.transform(n,r)}function cD(e,t,n,r,o,i){let s=e+k,a=v(),c=Hn(a,s);return vc(a,s)?rD(a,Nt(),t,c.transform,n,r,o,i,c):c.transform(n,r,o,i)}function vc(e,t){return e[E].data[t].pure}function lD(e,t){return si(e,t)}var uD=(()=>{class e{zone=C(oe);changeDetectionScheduler=C(ue);applicationRef=C(cr);applicationErrorHandler=C(Be);_onMicrotaskEmptySubscription;initialize(){this._onMicrotaskEmptySubscription||(this._onMicrotaskEmptySubscription=this.zone.onMicrotaskEmpty.subscribe({next:()=>{this.changeDetectionScheduler.runningTick||this.zone.run(()=>{try{this.applicationRef.dirtyFlags|=1,this.applicationRef._tick()}catch(n){this.applicationErrorHandler(n)}})}}))}ngOnDestroy(){this._onMicrotaskEmptySubscription?.unsubscribe()}static \u0275fac=function(r){return new(r||e)};static \u0275prov=Q({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();function Bp({ngZoneFactory:e,ignoreChangesOutsideZone:t,scheduleInRootZone:n}){return e??=()=>new oe(q(U({},$p()),{scheduleInRootZone:n})),[{provide:oe,useFactory:e},{provide:Ke,multi:!0,useFactory:()=>{let r=C(uD,{optional:!0});return()=>r.initialize()}},{provide:Ke,multi:!0,useFactory:()=>{let r=C(dD);return()=>{r.initialize()}}},t===!0?{provide:Ps,useValue:!0}:[],{provide:Ls,useValue:n??Jd},{provide:Be,useFactory:()=>{let r=C(oe),o=C(le),i;return s=>{r.runOutsideAngular(()=>{o.destroyed&&!i?setTimeout(()=>{throw s}):(i??=o.get(Se),i.handleError(s))})}}}]}function $p(e){return{enableLongStackTrace:!1,shouldCoalesceEventChangeDetection:e?.eventCoalescing??!1,shouldCoalesceRunChangeDetection:e?.runCoalescing??!1}}var dD=(()=>{class e{subscription=new z;initialized=!1;zone=C(oe);pendingTasks=C(it);initialize(){if(this.initialized)return;this.initialized=!0;let n=null;!this.zone.isStable&&!this.zone.hasPendingMacrotasks&&!this.zone.hasPendingMicrotasks&&(n=this.pendingTasks.add()),this.zone.runOutsideAngular(()=>{this.subscription.add(this.zone.onStable.subscribe(()=>{oe.assertNotInAngularZone(),queueMicrotask(()=>{n!==null&&!this.zone.hasPendingMacrotasks&&!this.zone.hasPendingMicrotasks&&(this.pendingTasks.remove(n),n=null)})}))}),this.subscription.add(this.zone.onUnstable.subscribe(()=>{oe.assertInAngularZone(),n??=this.pendingTasks.add()}))}ngOnDestroy(){this.subscription.unsubscribe()}static \u0275fac=function(r){return new(r||e)};static \u0275prov=Q({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();var Up=(()=>{class e{applicationErrorHandler=C(Be);appRef=C(cr);taskService=C(it);ngZone=C(oe);zonelessEnabled=C(mo);tracing=C(vn,{optional:!0});disableScheduling=C(Ps,{optional:!0})??!1;zoneIsDefined=typeof Zone<"u"&&!!Zone.root.run;schedulerTickApplyArgs=[{data:{__scheduler_tick__:!0}}];subscriptions=new z;angularZoneId=this.zoneIsDefined?this.ngZone._inner?.get(jo):null;scheduleInRootZone=!this.zonelessEnabled&&this.zoneIsDefined&&(C(Ls,{optional:!0})??!1);cancelScheduledCallback=null;useMicrotaskScheduler=!1;runningTick=!1;pendingRenderTaskId=null;constructor(){this.subscriptions.add(this.appRef.afterTick.subscribe(()=>{this.runningTick||this.cleanup()})),this.subscriptions.add(this.ngZone.onUnstable.subscribe(()=>{this.runningTick||this.cleanup()})),this.disableScheduling||=!this.zonelessEnabled&&(this.ngZone instanceof Vo||!this.zoneIsDefined)}notify(n){if(!this.zonelessEnabled&&n===5)return;let r=!1;switch(n){case 0:{this.appRef.dirtyFlags|=2;break}case 3:case 2:case 4:case 5:case 1:{this.appRef.dirtyFlags|=4;break}case 6:{this.appRef.dirtyFlags|=2,r=!0;break}case 12:{this.appRef.dirtyFlags|=16,r=!0;break}case 13:{this.appRef.dirtyFlags|=2,r=!0;break}case 11:{r=!0;break}case 9:case 8:case 7:case 10:default:this.appRef.dirtyFlags|=8}if(this.appRef.tracingSnapshot=this.tracing?.snapshot(this.appRef.tracingSnapshot)??null,!this.shouldScheduleTick(r))return;let o=this.useMicrotaskScheduler?Pu:Xd;this.pendingRenderTaskId=this.taskService.add(),this.scheduleInRootZone?this.cancelScheduledCallback=Zone.root.run(()=>o(()=>this.tick())):this.cancelScheduledCallback=this.ngZone.runOutsideAngular(()=>o(()=>this.tick()))}shouldScheduleTick(n){return!(this.disableScheduling&&!n||this.appRef.destroyed||this.pendingRenderTaskId!==null||this.runningTick||this.appRef._runningTick||!this.zonelessEnabled&&this.zoneIsDefined&&Zone.current.get(jo+this.angularZoneId))}tick(){if(this.runningTick||this.appRef.destroyed)return;if(this.appRef.dirtyFlags===0){this.cleanup();return}!this.zonelessEnabled&&this.appRef.dirtyFlags&7&&(this.appRef.dirtyFlags|=1);let n=this.taskService.add();try{this.ngZone.run(()=>{this.runningTick=!0,this.appRef._tick()},void 0,this.schedulerTickApplyArgs)}catch(r){this.taskService.remove(n),this.applicationErrorHandler(r)}finally{this.cleanup()}this.useMicrotaskScheduler=!0,Pu(()=>{this.useMicrotaskScheduler=!1,this.taskService.remove(n)})}ngOnDestroy(){this.subscriptions.unsubscribe(),this.cleanup()}cleanup(){if(this.runningTick=!1,this.cancelScheduledCallback?.(),this.cancelScheduledCallback=null,this.pendingRenderTaskId!==null){let n=this.pendingRenderTaskId;this.pendingRenderTaskId=null,this.taskService.remove(n)}}static \u0275fac=function(r){return new(r||e)};static \u0275prov=Q({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();function fD(){return typeof $localize<"u"&&$localize.locale||lr}var Ec=new S("",{providedIn:"root",factory:()=>C(Ec,{optional:!0,skipSelf:!0})||fD()});var fi=class{destroyed=!1;listeners=null;errorHandler=C(Se,{optional:!0});destroyRef=C(He);constructor(){this.destroyRef.onDestroy(()=>{this.destroyed=!0,this.listeners=null})}subscribe(t){if(this.destroyed)throw new N(953,!1);return(this.listeners??=[]).push(t),{unsubscribe:()=>{let n=this.listeners?.indexOf(t);n!==void 0&&n!==-1&&this.listeners?.splice(n,1)}}}emit(t){if(this.destroyed){console.warn(kn(953,!1));return}if(this.listeners===null)return;let n=D(null);try{for(let r of this.listeners)try{r(t)}catch(o){this.errorHandler?.handleError(o)}}finally{D(n)}}};function pD(e){return _l(e)}function hD(e,t){return Cn(e,t?.equal)}var Ic=class{[V];constructor(t){this[V]=t}destroy(){this[V].destroy()}};function gD(e,t){let n=t?.injector??C(ye),r=t?.manualCleanup!==!0?n.get(He):null,o,i=n.get(xt,null,{optional:!0}),s=n.get(ue);return i!==null?(o=vD(i.view,s,e),r instanceof On&&r._lView===i.view&&(r=null)):o=ED(e,n.get(Gn),s),o.injector=n,r!==null&&(o.onDestroyFn=r.onDestroy(()=>o.destroy())),new Ic(o)}var qp=q(U({},Ml),{cleanupFns:void 0,zone:null,onDestroyFn:St,run(){let e=rn(!1);try{Nl(this)}finally{rn(e)}},cleanup(){if(!this.cleanupFns?.length)return;let e=D(null);try{for(;this.cleanupFns.length;)this.cleanupFns.pop()()}finally{this.cleanupFns=[],D(e)}}}),mD=q(U({},qp),{consumerMarkedDirty(){this.scheduler.schedule(this),this.notifier.notify(12)},destroy(){We(this),this.onDestroyFn(),this.cleanup(),this.scheduler.remove(this)}}),yD=q(U({},qp),{consumerMarkedDirty(){this.view[w]|=8192,rt(this.view),this.notifier.notify(13)},destroy(){We(this),this.onDestroyFn(),this.cleanup(),this.view[je]?.delete(this)}});function vD(e,t,n){let r=Object.create(yD);return r.view=e,r.zone=typeof Zone<"u"?Zone.current:null,r.notifier=t,r.fn=Wp(r,n),e[je]??=new Set,e[je].add(r),r.consumerMarkedDirty(r),r}function ED(e,t,n){let r=Object.create(mD);return r.fn=Wp(r,e),r.scheduler=t,r.notifier=n,r.zone=typeof Zone<"u"?Zone.current:null,r.scheduler.add(r),r.notifier.notify(12),r}function Wp(e,t){return()=>{t(n=>(e.cleanupFns??=[]).push(n))}}var Kp=Symbol("InputSignalNode#UNSET"),DD=q(U({},wn),{transformFn:void 0,applyValueToInputSignal(e,t){Ft(e,t)}});function Jp(e,t){let n=Object.create(DD);n.value=e,n.transformFn=t?.transform;function r(){if(ct(n),n.value===Kp){let o=null;throw new N(-950,o)}return n.value}return r[V]=n,r}var Gp=class{attributeName;constructor(t){this.attributeName=t}__NG_ELEMENT_ID__=()=>Id(this.attributeName);toString(){return`HostAttributeToken ${this.attributeName}`}},CD=new S("");CD.__NG_ELEMENT_ID__=e=>{let t=F();if(t===null)throw new N(204,!1);if(t.type&2)return t.value;if(e&8)return null;throw new N(204,!1)};function QF(e){return new fi}function zp(e,t){return Jp(e,t)}function wD(e){return Jp(Kp,e)}var ZF=(zp.required=wD,zp);function Qp(e,t){return oc(t)}function TD(e,t){return ic(t)}var YF=(Qp.required=TD,Qp);function Zp(e,t){return oc(t)}function bD(e,t){return ic(t)}var KF=(Zp.required=bD,Zp);var Cc=new S(""),_D=new S("");function ur(e){return!e.moduleRef}function MD(e){let t=ur(e)?e.r3Injector:e.moduleRef.injector,n=t.get(oe);return n.run(()=>{ur(e)?e.r3Injector.resolveInjectorInitializers():e.moduleRef.resolveInjectorInitializers();let r=t.get(Be),o;if(n.runOutsideAngular(()=>{o=n.onError.subscribe({next:r})}),ur(e)){let i=()=>t.destroy(),s=e.platformInjector.get(Cc);s.add(i),t.onDestroy(()=>{o.unsubscribe(),s.delete(i)})}else{let i=()=>e.moduleRef.destroy(),s=e.platformInjector.get(Cc);s.add(i),e.moduleRef.onDestroy(()=>{Qn(e.allPlatformModules,e.moduleRef),o.unsubscribe(),s.delete(i)})}return xD(r,n,()=>{let i=t.get(it),s=i.add(),a=t.get(ac);return a.runInitializers(),a.donePromise.then(()=>{let c=t.get(Ec,lr);if(hp(c||lr),!t.get(_D,!0))return ur(e)?t.get(cr):(e.allPlatformModules.push(e.moduleRef),e.moduleRef);if(ur(e)){let u=t.get(cr);return e.rootComponent!==void 0&&u.bootstrap(e.rootComponent),u}else return ND?.(e.moduleRef,e.allPlatformModules),e.moduleRef}).finally(()=>void i.remove(s))})})}var ND;function xD(e,t,n){try{let r=n();return sc(r)?r.catch(o=>{throw t.runOutsideAngular(()=>e(o)),o}):r}catch(r){throw t.runOutsideAngular(()=>e(r)),r}}var pi=null;function SD(e=[],t){return ye.create({name:t,providers:[{provide:as,useValue:"platform"},{provide:Cc,useValue:new Set([()=>pi=null])},...e]})}function AD(e=[]){if(pi)return pi;let t=SD(e);return pi=t,np(),RD(t),t}function RD(e){let t=e.get(Md,null);oo(e,()=>{t?.forEach(n=>n())})}function JF(){return!1}var XF=(()=>{class e{static __NG_ELEMENT_ID__=OD}return e})();function OD(e){return kD(F(),v(),(e&16)===16)}function kD(e,t,n){if(nt(e)&&!n){let r=pe(e.index,t);return new st(r,r)}else if(e.type&175){let r=t[K];return new st(r,t)}return null}var wc=class{constructor(){}supports(t){return t instanceof Map||tc(t)}create(){return new Tc}},Tc=class{_records=new Map;_mapHead=null;_appendAfter=null;_previousMapHead=null;_changesHead=null;_changesTail=null;_additionsHead=null;_additionsTail=null;_removalsHead=null;_removalsTail=null;get isDirty(){return this._additionsHead!==null||this._changesHead!==null||this._removalsHead!==null}forEachItem(t){let n;for(n=this._mapHead;n!==null;n=n._next)t(n)}forEachPreviousItem(t){let n;for(n=this._previousMapHead;n!==null;n=n._nextPrevious)t(n)}forEachChangedItem(t){let n;for(n=this._changesHead;n!==null;n=n._nextChanged)t(n)}forEachAddedItem(t){let n;for(n=this._additionsHead;n!==null;n=n._nextAdded)t(n)}forEachRemovedItem(t){let n;for(n=this._removalsHead;n!==null;n=n._nextRemoved)t(n)}diff(t){if(!t)t=new Map;else if(!(t instanceof Map||tc(t)))throw new N(900,!1);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{let i=this._getOrCreateRecordForKey(o,r);n=this._insertBeforeOrAppend(n,i)}}),n){n._prev&&(n._prev._next=null),this._removalsHead=n;for(let r=n;r!==null;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){let 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)){let o=this._records.get(t);this._maybeAddToChanges(o,n);let i=o._prev,s=o._next;return i&&(i._next=s),s&&(s._prev=i),o._next=null,o._prev=null,o}let r=new bc(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;t!==null;t=t._next)t._nextPrevious=t._next;for(t=this._changesHead;t!==null;t=t._nextChanged)t.previousValue=t.currentValue;for(t=this._additionsHead;t!=null;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){this._additionsHead===null?this._additionsHead=this._additionsTail=t:(this._additionsTail._nextAdded=t,this._additionsTail=t)}_addToChanges(t){this._changesHead===null?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))}},bc=class{key;previousValue=null;currentValue=null;_nextPrevious=null;_next=null;_prev=null;_nextAdded=null;_nextRemoved=null;_nextChanged=null;constructor(t){this.key=t}};function Yp(){return new PD([new wc])}var PD=(()=>{class e{static \u0275prov=Q({token:e,providedIn:"root",factory:Yp});factories;constructor(n){this.factories=n}static create(n,r){if(r){let o=r.factories.slice();n=n.concat(o)}return new e(n)}static extend(n){return{provide:e,useFactory:()=>{let r=C(e,{optional:!0,skipSelf:!0});return e.create(n,r||Yp())}}}find(n){let r=this.factories.find(o=>o.supports(n));if(r)return r;throw new N(901,!1)}}return e})();function e0(e){let{rootComponent:t,appProviders:n,platformProviders:r,platformRef:o}=e;A(8);try{let i=o?.injector??AD(r),s=[Bp({}),{provide:ue,useExisting:Up},Iu,...n||[]],a=new tr({providers:s,parent:i,debugName:"",runEnvironmentInitializers:!1});return MD({r3Injector:a.injector,platformInjector:i,rootComponent:t})}catch(i){return Promise.reject(i)}finally{A(9)}}function t0(e){return typeof e=="boolean"?e:e!=null&&e!=="false"}function n0(e,t=NaN){return!isNaN(parseFloat(e))&&!isNaN(Number(e))?Number(e):t}var Dc=Symbol("NOT_SET"),Xp=new Set,LD=q(U({},wn),{consumerIsAlwaysLive:!0,consumerAllowSignalWrites:!0,value:Dc,cleanup:null,consumerMarkedDirty(){if(this.sequence.impl.executing){if(this.sequence.lastPhase===null||this.sequence.lastPhase<this.phase)return;this.sequence.erroredOrDestroyed=!0}this.sequence.scheduler.notify(7)},phaseFn(e){if(this.sequence.lastPhase=this.phase,!this.dirty)return this.signal;if(this.dirty=!1,this.value!==Dc&&!ut(this))return this.signal;try{for(let o of this.cleanup??Xp)o()}finally{this.cleanup?.clear()}let t=[];e!==void 0&&t.push(e),t.push(this.registerCleanupFn);let n=qe(this),r;try{r=this.userFn.apply(null,t)}finally{lt(this,n)}return(this.value===Dc||!this.equal(this.value,r))&&(this.value=r,this.version++),this.signal}}),_c=class extends Yn{scheduler;lastPhase=null;nodes=[void 0,void 0,void 0,void 0];constructor(t,n,r,o,i,s=null){super(t,[void 0,void 0,void 0,void 0],r,!1,i.get(He),s),this.scheduler=o;for(let a of qa){let c=n[a];if(c===void 0)continue;let l=Object.create(LD);l.sequence=this,l.phase=a,l.userFn=c,l.dirty=!0,l.signal=()=>(ct(l),l.value),l.signal[V]=l,l.registerCleanupFn=u=>(l.cleanup??=new Set).add(u),this.nodes[a]=l,this.hooks[a]=u=>l.phaseFn(u)}}afterRun(){super.afterRun(),this.lastPhase=null}destroy(){super.destroy();for(let t of this.nodes)if(t)try{for(let n of t.cleanup??Xp)n()}finally{We(t)}}};function r0(e,t){let n=t?.injector??C(ye),r=n.get(ue),o=n.get(ei),i=n.get(vn,null,{optional:!0});o.impl??=n.get(Wa);let s=e;typeof s=="function"&&(s={mixedReadWrite:e});let a=n.get(xt,null,{optional:!0}),c=new _c(o.impl,[s.earlyRead,s.write,s.mixedReadWrite,s.read],a?.view,r,n,i?.snapshot(null));return o.impl.register(c),c}function o0(e,t){let n=Je(e),r=t.elementInjector||Kt();return new dn(n).create(r,t.projectableNodes,t.hostElement,t.environmentInjector,t.directives,t.bindings)}export{U as a,q as b,FD as c,jD as d,VD as e,HD as f,Sc as g,ch as h,BD as i,z as j,x as k,te as l,bn as m,Ge as n,Ch as o,ht as p,Nn as q,Me as r,Ai as s,Sh as t,re as u,jh as v,Ne as w,xn as x,Hh as y,Bh as z,ki as A,Qh as B,Le as C,Zh as D,Yh as E,pl as F,Kh as G,gl as H,qr as I,Jh as J,Xh as K,eg as L,tg as M,yl as N,El as O,og as P,ig as Q,sg as R,ag as S,Il as T,cg as U,lg as V,Li as W,ug as X,Dl as Y,dg as Z,fg as _,Cl as $,pg as aa,hg as ba,wl as ca,gg as da,bl as ea,N as fa,Yr as ga,Q as ha,Rl as ia,S as ja,xe as ka,C as la,os as ma,Ng as na,as as oa,le as pa,oo as qa,nu as ra,ru as sa,gu as ta,mu as ua,ye as va,Vg as wa,He as xa,Se as ya,Be as za,Rs as Aa,go as Ba,ue as Ca,Fs as Da,Yg as Ea,Kg as Fa,Jg as Ga,em as Ha,vm as Ia,Id as Ja,rr as Ka,Oo as La,bm as Ma,_m as Na,Md as Oa,Nm as Pa,xm as Qa,Sm as Ra,Nd as Sa,Am as Ta,ln as Ua,yn as Va,ty as Wa,ny as Xa,ay as Ya,cy as Za,xy as _a,Lo as $a,Fo as ab,vn as bb,kt as cb,$e as db,oe as eb,Fy as fb,Xn as gb,er as hb,Lv as ib,ar as jb,jv as kb,ui as lb,Wo as mb,IE as nb,CE as ob,bE as pb,_E as qb,zf as rb,kE as sb,Yf as tb,Kf as ub,sc as vb,Xf as wb,ep as xb,cr as yb,op as zb,BE as Ab,UE as Bb,cc as Cb,qE as Db,WE as Eb,GE as Fb,zE as Gb,QE as Hb,ip as Ib,lc as Jb,uc as Kb,sp as Lb,dc as Mb,fc as Nb,ap as Ob,lp as Pb,up as Qb,JE as Rb,XE as Sb,fp as Tb,pp as Ub,nI as Vb,hc as Wb,gp as Xb,mp as Yb,iI as Zb,aI as _b,cI as $b,uI as ac,dI as bc,fI as cc,pI as dc,hI as ec,gI as fc,mI as gc,yI as hc,Cp as ic,wp as jc,SI as kc,RI as lc,$I as mc,Op as nc,gc as oc,kp as pc,Pp as qc,Lp as rc,WI as sc,Fp as tc,GI as uc,zI as vc,QI as wc,XI as xc,eD as yc,tD as zc,nD as Ac,oD as Bc,sD as Cc,aD as Dc,cD as Ec,lD as Fc,Ec as Gc,pD as Hc,hD as Ic,gD as Jc,Gp as Kc,QF as Lc,ZF as Mc,YF as Nc,KF as Oc,JF as Pc,XF as Qc,PD as Rc,e0 as Sc,t0 as Tc,n0 as Uc,r0 as Vc,o0 as Wc};