aas-configuration-web-component 0.0.0-stage → 1.0.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/README.md
CHANGED
|
@@ -1,3 +1,81 @@
|
|
|
1
|
-
#
|
|
2
|
-
|
|
3
|
-
|
|
1
|
+
# AAS Configuration Web Component
|
|
2
|
+
|
|
3
|
+
A framework-agnostic configuration form for Asset Administration Shell services. Angular and Angular Elements are bundled inside the distributable, so consumers only need a browser and the generated JavaScript file.
|
|
4
|
+
|
|
5
|
+
## Build
|
|
6
|
+
|
|
7
|
+
Requires Node.js 20.19+ or 22.12+ and npm.
|
|
8
|
+
|
|
9
|
+
```powershell
|
|
10
|
+
cd aas-configuration
|
|
11
|
+
npm install
|
|
12
|
+
npm run build
|
|
13
|
+
```
|
|
14
|
+
|
|
15
|
+
The production artifact is `dist/aas-configuration/aas-configuration.bundle.js`. The generated `demo.html` can be used for a local smoke test.
|
|
16
|
+
|
|
17
|
+
## Consume the component
|
|
18
|
+
|
|
19
|
+
```html
|
|
20
|
+
<script src="https://cdn.example.com/aas-configuration.bundle.js"></script>
|
|
21
|
+
|
|
22
|
+
<aas-configuration
|
|
23
|
+
primary-color="#0078d4"
|
|
24
|
+
secondary-color="#106ebe"
|
|
25
|
+
background-color="#ffffff"
|
|
26
|
+
text-color="#323130"
|
|
27
|
+
button-color="#0078d4"
|
|
28
|
+
border-radius="8px"
|
|
29
|
+
font-family="Segoe UI"
|
|
30
|
+
>
|
|
31
|
+
</aas-configuration>
|
|
32
|
+
|
|
33
|
+
<script>
|
|
34
|
+
const component = document.querySelector("aas-configuration");
|
|
35
|
+
|
|
36
|
+
component.configuration = {
|
|
37
|
+
general: {
|
|
38
|
+
customerDomainUrl: "https://mm-software.com",
|
|
39
|
+
dataEngineRepositoryBaseUrl: "http://localhost:5059",
|
|
40
|
+
maxFileAttachmentSizeBytes: 104857600,
|
|
41
|
+
enableNoCacheParameter: false,
|
|
42
|
+
},
|
|
43
|
+
headerSanitization: {
|
|
44
|
+
maxHeaderSize: 8192,
|
|
45
|
+
maxHeaderNameSize: 256,
|
|
46
|
+
allowedHeaderNames: "^[a-zA-Z0-9\\-_]+$",
|
|
47
|
+
allowedHeaderValues: "^[\\x20-\\x7E]+$",
|
|
48
|
+
blockedPatterns: "\\r|\\n, \\x00, <script",
|
|
49
|
+
},
|
|
50
|
+
plugins: {
|
|
51
|
+
submodelElementIndexContextPrefix: "_aastwinengineindex_",
|
|
52
|
+
defaultLanguages: "",
|
|
53
|
+
semanticPostfixSeparator: "_",
|
|
54
|
+
name: "RelationalDatabasePlugin",
|
|
55
|
+
baseUrl: "http://localhost:8086",
|
|
56
|
+
healthEndpoint: "/healthz",
|
|
57
|
+
},
|
|
58
|
+
templateManagement: {
|
|
59
|
+
batchSize: 250,
|
|
60
|
+
batchMaxConcurrency: 10,
|
|
61
|
+
internalSemanticId: "InternalSemanticId",
|
|
62
|
+
aasTemplateRepositoryUrl: "http://localhost:8081",
|
|
63
|
+
submodelTemplateRepositoryUrl: "http://localhost:8081",
|
|
64
|
+
aasTemplateRegistryUrl: "http://localhost:8082",
|
|
65
|
+
submodelTemplateRegistryUrl: "http://localhost:8083",
|
|
66
|
+
},
|
|
67
|
+
};
|
|
68
|
+
|
|
69
|
+
component.addEventListener("configurationUpdated", (event) => {
|
|
70
|
+
console.log(event.detail);
|
|
71
|
+
});
|
|
72
|
+
</script>
|
|
73
|
+
```
|
|
74
|
+
|
|
75
|
+
`configurationUpdated` is emitted only after the form is valid. The event is composed and bubbles through the shadow boundary. The payload is grouped into `general`, `headerSanitization`, `plugins`, and `templateManagement` sections that correspond to the DataEngine `appsettings.json` structure.
|
|
76
|
+
|
|
77
|
+
## Deployment
|
|
78
|
+
|
|
79
|
+
Upload `dist/aas-configuration/aas-configuration.bundle.js` to an Azure Storage Static Website container or Azure App Service static file directory. Put the file behind Azure CDN or Front Door when it is shared across applications. Configure the host application to allow the bundle's origin through its Content Security Policy and CORS policy where applicable.
|
|
80
|
+
|
|
81
|
+
The bundle is static and contains no service credentials. Do not place client secrets in the component attributes, `configuration` object, or emitted event. Authentication fields are identifiers only; token acquisition remains the host application's responsibility.
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
"use strict";(()=>{var Ea=Object.defineProperty,ka=Object.defineProperties,Aa=Object.getOwnPropertyDescriptors,Gi=Object.getOwnPropertySymbols,Ia=Object.prototype.hasOwnProperty,Ta=Object.prototype.propertyIsEnumerable,$i=(t,e,n)=>e in t?Ea(t,e,{enumerable:!0,configurable:!0,writable:!0,value:n}):t[e]=n,j=(t,e)=>{for(var n in e||={})Ia.call(e,n)&&$i(t,n,e[n]);if(Gi)for(var n of Gi(e))Ta.call(e,n)&&$i(t,n,e[n]);return t},L=(t,e)=>ka(t,Aa(e)),ir;function Yo(){return ir}function gt(t){let e=ir;return ir=t,e}var Oa=Symbol("NotFound");function Zr(t){return t===Oa||t?.name==="\u0275NotFound"}var z=null,Be=!1,Br=1,Da=null,ut=Symbol("SIGNAL");function b(t){let e=z;return z=t,e}function Na(){return z}var Cn={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 Xo(t){if(Be)throw new Error("");if(z===null)return;z.consumerOnSignalRead(t);let e=z.producersTail;if(e!==void 0&&e.producer===t)return;let n,r=z.recomputing;if(r&&(n=e!==void 0?e.nextProducer:z.producers,n!==void 0&&n.producer===t)){z.producersTail=n,n.lastReadVersion=t.version;return}let i=t.consumersTail;if(i!==void 0&&i.consumer===z&&(!r||Ma(i,z)))return;let o=Xt(z),s={producer:t,consumer:z,nextProducer:n,prevConsumer:i,lastReadVersion:t.version,nextConsumer:void 0};z.producersTail=s,e!==void 0?e.nextProducer=s:z.producers=s,o&&os(t,s)}function Ra(){Br++}function Jo(t){if(!(Xt(t)&&!t.dirty)&&!(!t.dirty&&t.lastCleanEpoch===Br)){if(!t.producerMustRecompute(t)&&!rs(t)){Qi(t);return}t.producerRecomputeValue(t),Qi(t)}}function ts(t){if(t.consumers===void 0)return;let e=Be;Be=!0;try{for(let n=t.consumers;n!==void 0;n=n.nextConsumer){let r=n.consumer;r.dirty||Pa(r)}}finally{Be=e}}function es(){return z?.consumerAllowSignalWrites!==!1}function Pa(t){t.dirty=!0,ts(t),t.consumerMarkedDirty?.(t)}function Qi(t){t.dirty=!1,t.lastCleanEpoch=Br}function or(t){return t&&Fa(t),b(t)}function Fa(t){t.producersTail=void 0,t.recomputing=!0}function ns(t,e){b(e),t&&ja(t)}function ja(t){t.recomputing=!1;let e=t.producersTail,n=e!==void 0?e.nextProducer:t.producers;if(n!==void 0){if(Xt(t))do n=qr(n);while(n!==void 0);e!==void 0?e.nextProducer=void 0:t.producers=void 0}}function rs(t){for(let e=t.producers;e!==void 0;e=e.nextProducer){let n=e.producer,r=e.lastReadVersion;if(r!==n.version||(Jo(n),r!==n.version))return!0}return!1}function is(t){if(Xt(t)){let e=t.producers;for(;e!==void 0;)e=qr(e)}t.producers=void 0,t.producersTail=void 0,t.consumers=void 0,t.consumersTail=void 0}function os(t,e){let n=t.consumersTail,r=Xt(t);if(n!==void 0?(e.nextConsumer=n.nextConsumer,n.nextConsumer=e):(e.nextConsumer=void 0,t.consumers=e),e.prevConsumer=n,t.consumersTail=e,!r)for(let i=t.producers;i!==void 0;i=i.nextProducer)os(i.producer,i)}function qr(t){let e=t.producer,n=t.nextProducer,r=t.nextConsumer,i=t.prevConsumer;if(t.nextConsumer=void 0,t.prevConsumer=void 0,r!==void 0?r.prevConsumer=i:e.consumersTail=i,i!==void 0)i.nextConsumer=r;else if(e.consumers=r,!Xt(e)){let o=e.producers;for(;o!==void 0;)o=qr(o)}return n}function Xt(t){return t.consumerIsAlwaysLive||t.consumers!==void 0}function ss(t){Da?.(t)}function Ma(t,e){let n=e.producersTail;if(n!==void 0){let r=e.producers;do{if(r===t)return!0;if(r===n)break;r=r.nextProducer}while(r!==void 0)}return!1}function ls(t,e){return Object.is(t,e)}function za(t,e){let n=Object.create(Ha);n.computation=t,e!==void 0&&(n.equal=e);let r=()=>{if(Jo(n),Xo(n),n.value===qe)throw n.error;return n.value};return r[ut]=n,ss(n),r}var Rn=Symbol("UNSET"),Pn=Symbol("COMPUTING"),qe=Symbol("ERRORED"),Ha=L(j({},Cn),{value:Rn,dirty:!0,error:null,equal:ls,kind:"computed",producerMustRecompute(t){return t.value===Rn||t.value===Pn},producerRecomputeValue(t){if(t.value===Pn)throw new Error("");let e=t.value;t.value=Pn;let n=or(t),r,i=!1;try{r=t.computation(),b(null),i=e!==Rn&&e!==qe&&r!==qe&&t.equal(e,r)}catch(o){r=qe,t.error=o}finally{ns(t,n)}if(i){t.value=e;return}t.value=r,t.version++}});function La(){throw new Error}var us=La;function as(t){us(t)}function Ua(t){us=t}var Za=null;function Ba(t,e){let n=Object.create($a);n.value=t,e!==void 0&&(n.equal=e);let r=()=>qa(n);return r[ut]=n,ss(n),[r,i=>cs(n,i),i=>Ga(n,i)]}function qa(t){return Xo(t),t.value}function cs(t,e){es()||as(t),t.equal(t.value,e)||(t.value=e,Qa(t))}function Ga(t,e){es()||as(t),cs(t,e(t.value))}var $a=L(j({},Cn),{equal:ls,value:void 0,kind:"signal"});function Qa(t){t.version++,Ra(),ts(t),Za?.(t)}function N(t){return typeof t=="function"}function ds(t){let e=t(n=>{Error.call(n),n.stack=new Error().stack});return e.prototype=Object.create(Error.prototype),e.prototype.constructor=e,e}var Fn=ds(t=>function(e){t(this),this.message=e?`${e.length} errors occurred during unsubscription:
|
|
2
|
+
${e.map((n,r)=>`${r+1}) ${n.toString()}`).join(`
|
|
3
|
+
`)}`:"",this.name="UnsubscriptionError",this.errors=e});function sr(t,e){if(t){let n=t.indexOf(e);0<=n&&t.splice(n,1)}}var at=class lr{constructor(e){this.initialTeardown=e,this.closed=!1,this._parentage=null,this._finalizers=null}unsubscribe(){let e;if(!this.closed){this.closed=!0;let{_parentage:n}=this;if(n)if(this._parentage=null,Array.isArray(n))for(let o of n)o.remove(this);else n.remove(this);let{initialTeardown:r}=this;if(N(r))try{r()}catch(o){e=o instanceof Fn?o.errors:[o]}let{_finalizers:i}=this;if(i){this._finalizers=null;for(let o of i)try{Wi(o)}catch(s){e=e??[],s instanceof Fn?e=[...e,...s.errors]:e.push(s)}}if(e)throw new Fn(e)}}add(e){var n;if(e&&e!==this)if(this.closed)Wi(e);else{if(e instanceof lr){if(e.closed||e._hasParent(this))return;e._addParent(this)}(this._finalizers=(n=this._finalizers)!==null&&n!==void 0?n:[]).push(e)}}_hasParent(e){let{_parentage:n}=this;return n===e||Array.isArray(n)&&n.includes(e)}_addParent(e){let{_parentage:n}=this;this._parentage=Array.isArray(n)?(n.push(e),n):n?[n,e]:e}_removeParent(e){let{_parentage:n}=this;n===e?this._parentage=null:Array.isArray(n)&&sr(n,e)}remove(e){let{_finalizers:n}=this;n&&sr(n,e),e instanceof lr&&e._removeParent(this)}};at.EMPTY=(()=>{let t=new at;return t.closed=!0,t})();var hs=at.EMPTY;function fs(t){return t instanceof at||t&&"closed"in t&&N(t.remove)&&N(t.add)&&N(t.unsubscribe)}function Wi(t){N(t)?t():t.unsubscribe()}var jt={onUnhandledError:null,onStoppedNotification:null,Promise:void 0,useDeprecatedSynchronousErrorHandling:!1,useDeprecatedNextContext:!1},tn={setTimeout(t,e,...n){let{delegate:r}=tn;return r?.setTimeout?r.setTimeout(t,e,...n):setTimeout(t,e,...n)},clearTimeout(t){let{delegate:e}=tn;return(e?.clearTimeout||clearTimeout)(t)},delegate:void 0};function ps(t){tn.setTimeout(()=>{let{onUnhandledError:e}=jt;if(e)e(t);else throw t})}function Ki(){}var Wa=Gr("C",void 0,void 0);function Ka(t){return Gr("E",void 0,t)}function Ya(t){return Gr("N",t,void 0)}function Gr(t,e,n){return{kind:t,value:e,error:n}}var Vt=null;function Ge(t){if(jt.useDeprecatedSynchronousErrorHandling){let e=!Vt;if(e&&(Vt={errorThrown:!1,error:null}),t(),e){let{errorThrown:n,error:r}=Vt;if(Vt=null,n)throw r}}else t()}function Xa(t){jt.useDeprecatedSynchronousErrorHandling&&Vt&&(Vt.errorThrown=!0,Vt.error=t)}var $r=class extends at{constructor(t){super(),this.isStopped=!1,t?(this.destination=t,fs(t)&&t.add(this)):this.destination=nc}static create(t,e,n){return new ur(t,e,n)}next(t){this.isStopped?Mn(Ya(t),this):this._next(t)}error(t){this.isStopped?Mn(Ka(t),this):(this.isStopped=!0,this._error(t))}complete(){this.isStopped?Mn(Wa,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()}}},Ja=Function.prototype.bind;function jn(t,e){return Ja.call(t,e)}var tc=class{constructor(t){this.partialObserver=t}next(t){let{partialObserver:e}=this;if(e.next)try{e.next(t)}catch(n){Me(n)}}error(t){let{partialObserver:e}=this;if(e.error)try{e.error(t)}catch(n){Me(n)}else Me(t)}complete(){let{partialObserver:t}=this;if(t.complete)try{t.complete()}catch(e){Me(e)}}},ur=class extends $r{constructor(t,e,n){super();let r;if(N(t)||!t)r={next:t??void 0,error:e??void 0,complete:n??void 0};else{let i;this&&jt.useDeprecatedNextContext?(i=Object.create(t),i.unsubscribe=()=>this.unsubscribe(),r={next:t.next&&jn(t.next,i),error:t.error&&jn(t.error,i),complete:t.complete&&jn(t.complete,i)}):r=t}this.destination=new tc(r)}};function Me(t){jt.useDeprecatedSynchronousErrorHandling?Xa(t):ps(t)}function ec(t){throw t}function Mn(t,e){let{onStoppedNotification:n}=jt;n&&tn.setTimeout(()=>n(t,e))}var nc={closed:!0,next:Ki,error:ec,complete:Ki},Qr=typeof Symbol=="function"&&Symbol.observable||"@@observable";function ms(t){return t}function rc(t){return t.length===0?ms:t.length===1?t[0]:function(e){return t.reduce((n,r)=>r(n),e)}}var Z=(()=>{class t{constructor(n){n&&(this._subscribe=n)}lift(n){let r=new t;return r.source=this,r.operator=n,r}subscribe(n,r,i){let o=oc(n)?n:new ur(n,r,i);return Ge(()=>{let{operator:s,source:l}=this;o.add(s?s.call(o,l):l?this._subscribe(o):this._trySubscribe(o))}),o}_trySubscribe(n){try{return this._subscribe(n)}catch(r){n.error(r)}}forEach(n,r){return r=Yi(r),new r((i,o)=>{let s=new ur({next:l=>{try{n(l)}catch(u){o(u),s.unsubscribe()}},error:o,complete:i});this.subscribe(s)})}_subscribe(n){var r;return(r=this.source)===null||r===void 0?void 0:r.subscribe(n)}[Qr](){return this}pipe(...n){return rc(n)(this)}toPromise(n){return n=Yi(n),new n((r,i)=>{let o;this.subscribe(s=>o=s,s=>i(s),()=>r(o))})}}return t.create=e=>new t(e),t})();function Yi(t){var e;return(e=t??jt.Promise)!==null&&e!==void 0?e:Promise}function ic(t){return t&&N(t.next)&&N(t.error)&&N(t.complete)}function oc(t){return t&&t instanceof $r||ic(t)&&fs(t)}function sc(t){return N(t?.lift)}function Se(t){return e=>{if(sc(e))return e.lift(function(n){try{return t(n,this)}catch(r){this.error(r)}});throw new TypeError("Unable to lift unknown Observable type")}}function At(t,e,n,r,i){return new lc(t,e,n,r,i)}var lc=class extends $r{constructor(t,e,n,r,i,o){super(t),this.onFinalize=i,this.shouldUnsubscribe=o,this._next=e?function(s){try{e(s)}catch(l){t.error(l)}}:super._next,this._error=r?function(s){try{r(s)}catch(l){t.error(l)}finally{this.unsubscribe()}}:super._error,this._complete=n?function(){try{n()}catch(s){t.error(s)}finally{this.unsubscribe()}}:super._complete}unsubscribe(){var t;if(!this.shouldUnsubscribe||this.shouldUnsubscribe()){let{closed:e}=this;super.unsubscribe(),!e&&((t=this.onFinalize)===null||t===void 0||t.call(this))}}},uc=ds(t=>function(){t(this),this.name="ObjectUnsubscribedError",this.message="object unsubscribed"}),Jt=(()=>{class t extends Z{constructor(){super(),this.closed=!1,this.currentObservers=null,this.observers=[],this.isStopped=!1,this.hasError=!1,this.thrownError=null}lift(n){let r=new Xi(this,this);return r.operator=n,r}_throwIfClosed(){if(this.closed)throw new uc}next(n){Ge(()=>{if(this._throwIfClosed(),!this.isStopped){this.currentObservers||(this.currentObservers=Array.from(this.observers));for(let r of this.currentObservers)r.next(n)}})}error(n){Ge(()=>{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(){Ge(()=>{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:i,observers:o}=this;return r||i?hs:(this.currentObservers=null,o.push(n),new at(()=>{this.currentObservers=null,sr(o,n)}))}_checkFinalizedStatuses(n){let{hasError:r,thrownError:i,isStopped:o}=this;r?n.error(i):o&&n.complete()}asObservable(){let n=new Z;return n.source=this,n}}return t.create=(e,n)=>new Xi(e,n),t})(),Xi=class extends Jt{constructor(t,e){super(),this.destination=t,this.source=e}next(t){var e,n;(n=(e=this.destination)===null||e===void 0?void 0:e.next)===null||n===void 0||n.call(e,t)}error(t){var e,n;(n=(e=this.destination)===null||e===void 0?void 0:e.error)===null||n===void 0||n.call(e,t)}complete(){var t,e;(e=(t=this.destination)===null||t===void 0?void 0:t.complete)===null||e===void 0||e.call(t)}_subscribe(t){var e,n;return(n=(e=this.source)===null||e===void 0?void 0:e.subscribe(t))!==null&&n!==void 0?n:hs}},ac=class extends Jt{constructor(t){super(),this._value=t}get value(){return this.getValue()}_subscribe(t){let e=super._subscribe(t);return!e.closed&&t.next(this._value),e}getValue(){let{hasError:t,thrownError:e,_value:n}=this;if(t)throw e;return this._throwIfClosed(),n}next(t){super.next(this._value=t)}},gs={now(){return(gs.delegate||Date).now()},delegate:void 0},cc=class extends Jt{constructor(t=1/0,e=1/0,n=gs){super(),this._bufferSize=t,this._windowTime=e,this._timestampProvider=n,this._buffer=[],this._infiniteTimeWindow=!0,this._infiniteTimeWindow=e===1/0,this._bufferSize=Math.max(1,t),this._windowTime=Math.max(1,e)}next(t){let{isStopped:e,_buffer:n,_infiniteTimeWindow:r,_timestampProvider:i,_windowTime:o}=this;e||(n.push(t),!r&&n.push(i.now()+o)),this._trimBuffer(),super.next(t)}_subscribe(t){this._throwIfClosed(),this._trimBuffer();let e=this._innerSubscribe(t),{_infiniteTimeWindow:n,_buffer:r}=this,i=r.slice();for(let o=0;o<i.length&&!t.closed;o+=n?1:2)t.next(i[o]);return this._checkFinalizedStatuses(t),e}_trimBuffer(){let{_bufferSize:t,_timestampProvider:e,_buffer:n,_infiniteTimeWindow:r}=this,i=(r?1:2)*t;if(t<1/0&&i<n.length&&n.splice(0,n.length-i),!r){let o=e.now(),s=0;for(let l=1;l<n.length&&n[l]<=o;l+=2)s=l;s&&n.splice(0,s+1)}}},dc=new Z(t=>t.complete());function hc(t){return t&&N(t.schedule)}function Wr(t){return t[t.length-1]}function fc(t){return N(Wr(t))?t.pop():void 0}function pc(t){return hc(Wr(t))?t.pop():void 0}function mc(t,e){return typeof Wr(t)=="number"?t.pop():e}function gc(t,e,n,r){function i(o){return o instanceof n?o:new n(function(s){s(o)})}return new(n||(n=Promise))(function(o,s){function l(c){try{a(r.next(c))}catch(d){s(d)}}function u(c){try{a(r.throw(c))}catch(d){s(d)}}function a(c){c.done?o(c.value):i(c.value).then(l,u)}a((r=r.apply(t,e||[])).next())})}function Ji(t){var e=typeof Symbol=="function"&&Symbol.iterator,n=e&&t[e],r=0;if(n)return n.call(t);if(t&&typeof t.length=="number")return{next:function(){return t&&r>=t.length&&(t=void 0),{value:t&&t[r++],done:!t}}};throw new TypeError(e?"Object is not iterable.":"Symbol.iterator is not defined.")}function Zt(t){return this instanceof Zt?(this.v=t,this):new Zt(t)}function yc(t,e,n){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var r=n.apply(t,e||[]),i,o=[];return i=Object.create((typeof AsyncIterator=="function"?AsyncIterator:Object).prototype),l("next"),l("throw"),l("return",s),i[Symbol.asyncIterator]=function(){return this},i;function s(h){return function(m){return Promise.resolve(m).then(h,d)}}function l(h,m){r[h]&&(i[h]=function(D){return new Promise(function(O,M){o.push([h,D,O,M])>1||u(h,D)})},m&&(i[h]=m(i[h])))}function u(h,m){try{a(r[h](m))}catch(D){f(o[0][3],D)}}function a(h){h.value instanceof Zt?Promise.resolve(h.value.v).then(c,d):f(o[0][2],h)}function c(h){u("next",h)}function d(h){u("throw",h)}function f(h,m){h(m),o.shift(),o.length&&u(o[0][0],o[0][1])}}function vc(t){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var e=t[Symbol.asyncIterator],n;return e?e.call(t):(t=typeof Ji=="function"?Ji(t):t[Symbol.iterator](),n={},r("next"),r("throw"),r("return"),n[Symbol.asyncIterator]=function(){return this},n);function r(o){n[o]=t[o]&&function(s){return new Promise(function(l,u){s=t[o](s),i(l,u,s.done,s.value)})}}function i(o,s,l,u){Promise.resolve(u).then(function(a){o({value:a,done:l})},s)}}var ys=t=>t&&typeof t.length=="number"&&typeof t!="function";function vs(t){return N(t?.then)}function bs(t){return N(t[Qr])}function ws(t){return Symbol.asyncIterator&&N(t?.[Symbol.asyncIterator])}function _s(t){return new TypeError(`You provided ${t!==null&&typeof t=="object"?"an invalid object":`'${t}'`} where a stream was expected. You can provide an Observable, Promise, ReadableStream, Array, AsyncIterable, or Iterable.`)}function bc(){return typeof Symbol!="function"||!Symbol.iterator?"@@iterator":Symbol.iterator}var Cs=bc();function xs(t){return N(t?.[Cs])}function Ss(t){return yc(this,arguments,function*(){let e=t.getReader();try{for(;;){let{value:n,done:r}=yield Zt(e.read());if(r)return yield Zt(void 0);yield yield Zt(n)}}finally{e.releaseLock()}})}function Vs(t){return N(t?.getReader)}function _t(t){if(t instanceof Z)return t;if(t!=null){if(bs(t))return wc(t);if(ys(t))return _c(t);if(vs(t))return Cc(t);if(ws(t))return Es(t);if(xs(t))return xc(t);if(Vs(t))return Sc(t)}throw _s(t)}function wc(t){return new Z(e=>{let n=t[Qr]();if(N(n.subscribe))return n.subscribe(e);throw new TypeError("Provided object does not correctly implement Symbol.observable")})}function _c(t){return new Z(e=>{for(let n=0;n<t.length&&!e.closed;n++)e.next(t[n]);e.complete()})}function Cc(t){return new Z(e=>{t.then(n=>{e.closed||(e.next(n),e.complete())},n=>e.error(n)).then(null,ps)})}function xc(t){return new Z(e=>{for(let n of t)if(e.next(n),e.closed)return;e.complete()})}function Es(t){return new Z(e=>{Vc(t,e).catch(n=>e.error(n))})}function Sc(t){return Es(Ss(t))}function Vc(t,e){var n,r,i,o;return gc(this,void 0,void 0,function*(){try{for(n=vc(t);r=yield n.next(),!r.done;){let s=r.value;if(e.next(s),e.closed)return}}catch(s){i={error:s}}finally{try{r&&!r.done&&(o=n.return)&&(yield o.call(n))}finally{if(i)throw i.error}}e.complete()})}function yt(t,e,n,r=0,i=!1){let o=e.schedule(function(){n(),i?t.add(this.schedule(null,r)):this.unsubscribe()},r);if(t.add(o),!i)return o}function ks(t,e=0){return Se((n,r)=>{n.subscribe(At(r,i=>yt(r,t,()=>r.next(i),e),()=>yt(r,t,()=>r.complete(),e),i=>yt(r,t,()=>r.error(i),e)))})}function As(t,e=0){return Se((n,r)=>{r.add(t.schedule(()=>n.subscribe(r),e))})}function Ec(t,e){return _t(t).pipe(As(e),ks(e))}function kc(t,e){return _t(t).pipe(As(e),ks(e))}function Ac(t,e){return new Z(n=>{let r=0;return e.schedule(function(){r===t.length?n.complete():(n.next(t[r++]),n.closed||this.schedule())})})}function Ic(t,e){return new Z(n=>{let r;return yt(n,e,()=>{r=t[Cs](),yt(n,e,()=>{let i,o;try{({value:i,done:o}=r.next())}catch(s){n.error(s);return}o?n.complete():n.next(i)},0,!0)}),()=>N(r?.return)&&r.return()})}function Is(t,e){if(!t)throw new Error("Iterable cannot be null");return new Z(n=>{yt(n,e,()=>{let r=t[Symbol.asyncIterator]();yt(n,e,()=>{r.next().then(i=>{i.done?n.complete():n.next(i.value)})},0,!0)})})}function Tc(t,e){return Is(Ss(t),e)}function Oc(t,e){if(t!=null){if(bs(t))return Ec(t,e);if(ys(t))return Ac(t,e);if(vs(t))return kc(t,e);if(ws(t))return Is(t,e);if(xs(t))return Ic(t,e);if(Vs(t))return Tc(t,e)}throw _s(t)}function Ts(t,e){return e?Oc(t,e):_t(t)}function xn(t,e){return Se((n,r)=>{let i=0;n.subscribe(At(r,o=>{r.next(t.call(e,o,i++))}))})}var{isArray:Dc}=Array;function Nc(t,e){return Dc(e)?t(...e):t(e)}function Rc(t){return xn(e=>Nc(t,e))}var{isArray:Pc}=Array,{getPrototypeOf:Fc,prototype:jc,keys:Mc}=Object;function zc(t){if(t.length===1){let e=t[0];if(Pc(e))return{args:e,keys:null};if(Hc(e)){let n=Mc(e);return{args:n.map(r=>e[r]),keys:n}}}return{args:t,keys:null}}function Hc(t){return t&&typeof t=="object"&&Fc(t)===jc}function Lc(t,e){return t.reduce((n,r,i)=>(n[r]=e[i],n),{})}function Uc(t,e,n,r,i,o,s,l){let u=[],a=0,c=0,d=!1,f=()=>{d&&!u.length&&!a&&e.complete()},h=D=>a<r?m(D):u.push(D),m=D=>{o&&e.next(D),a++;let O=!1;_t(n(D,c++)).subscribe(At(e,M=>{i?.(M),o?h(M):e.next(M)},()=>{O=!0},void 0,()=>{if(O)try{for(a--;u.length&&a<r;){let M=u.shift();s?yt(e,s,()=>m(M)):m(M)}f()}catch(M){e.error(M)}}))};return t.subscribe(At(e,h,()=>{d=!0,f()})),()=>{l?.()}}function Os(t,e,n=1/0){return N(e)?Os((r,i)=>xn((o,s)=>e(r,o,i,s))(_t(t(r,i))),n):(typeof e=="number"&&(n=e),Se((r,i)=>Uc(r,i,t,n)))}function Zc(t=1/0){return Os(ms,t)}function Bc(...t){let e=fc(t),{args:n,keys:r}=zc(t),i=new Z(o=>{let{length:s}=n;if(!s){o.complete();return}let l=new Array(s),u=s,a=s;for(let c=0;c<s;c++){let d=!1;_t(n[c]).subscribe(At(o,f=>{d||(d=!0,a--),l[c]=f},()=>u--,void 0,()=>{(!u||!d)&&(a||o.next(r?Lc(r,l):l),o.complete())}))}});return e?i.pipe(Rc(e)):i}function qc(...t){let e=pc(t),n=mc(t,1/0),r=t;return r.length?r.length===1?_t(r[0]):Zc(n)(Ts(r,e)):dc}function Gc(t,e){return Se((n,r)=>{let i=null,o=0,s=!1,l=()=>s&&!i&&r.complete();n.subscribe(At(r,u=>{i?.unsubscribe();let a=0,c=o++;_t(t(u,c)).subscribe(i=At(r,d=>r.next(e?e(u,d,c,a++):d),()=>{i=null,l()}))},()=>{s=!0,l()}))})}function $c(t){let e=b(null);try{return t()}finally{b(e)}}var Qc="https://angular.dev/best-practices/security#preventing-cross-site-scripting-xss",_=class extends Error{code;constructor(t,e){super(Kc(t,e)),this.code=t}};function Wc(t){return`NG0${Math.abs(t)}`}function Kc(t,e){return`${Wc(t)}${e?": "+e:""}`}function V(t){for(let e in t)if(t[e]===V)return e;throw Error("")}function Yc(t,e){for(let n in e)e.hasOwnProperty(n)&&!t.hasOwnProperty(n)&&(t[n]=e[n])}function qt(t){if(typeof t=="string")return t;if(Array.isArray(t))return`[${t.map(qt).join(", ")}]`;if(t==null)return""+t;let e=t.overriddenName||t.name;if(e)return`${e}`;let n=t.toString();if(n==null)return""+n;let r=n.indexOf(`
|
|
4
|
+
`);return r>=0?n.slice(0,r):n}function to(t,e){return t?e?`${t} ${e}`:t:e||""}var Xc=V({__forward_ref__:V});function st(t){return t.__forward_ref__=st,t.toString=function(){return qt(this())},t}function U(t){return Ds(t)?t():t}function Ds(t){return typeof t=="function"&&t.hasOwnProperty(Xc)&&t.__forward_ref__===st}function F(t){return{token:t.token,providedIn:t.providedIn||null,factory:t.factory,value:void 0}}function Ns(t){return{providers:t.providers||[],imports:t.imports||[]}}function Kr(t){return Jc(t,Rs)}function Jc(t,e){return t.hasOwnProperty(e)&&t[e]||null}function td(t){return(t?.[Rs]??null)||null}function eo(t){return t&&t.hasOwnProperty(no)?t[no]:null}var Rs=V({\u0275prov:V}),no=V({\u0275inj:V}),S=class{_desc;ngMetadataName="InjectionToken";\u0275prov;constructor(t,e){this._desc=t,this.\u0275prov=void 0,typeof e=="number"?this.__NG_ELEMENT_ID__=e:e!==void 0&&(this.\u0275prov=F({token:this,providedIn:e.providedIn||"root",factory:e.factory}))}get multi(){return this}toString(){return`InjectionToken ${this._desc}`}};function Ps(t){return t&&!!t.\u0275providers}var ed=V({\u0275cmp:V}),nd=V({\u0275dir:V}),rd=V({\u0275pipe:V}),en=V({\u0275fac:V}),pe=V({__NG_ELEMENT_ID__:V}),ro=V({__NG_ENV_ID__:V});function Fs(t){return typeof t=="string"?t:t==null?"":String(t)}function id(t){return typeof t=="function"?t.name||t.toString():typeof t=="object"&&t!=null&&typeof t.type=="function"?t.type.name||t.type.toString():Fs(t)}var js=V({ngErrorCode:V}),od=V({ngErrorMessage:V}),sd=V({ngTokenPath:V});function Ms(t,e){return zs("",-200,e)}function Yr(t,e){throw new _(-201,!1)}function zs(t,e,n){let r=new _(e,t);return r[js]=e,r[od]=t,n&&(r[sd]=n),r}function ld(t){return t[js]}var ar;function Hs(){return ar}function K(t){let e=ar;return ar=t,e}function Ls(t,e,n){let r=Kr(t);if(r&&r.providedIn=="root")return r.value===void 0?r.value=r.factory():r.value;if(n&8)return null;if(e!==void 0)return e;Yr(t,"Injector")}var ud={},kt=ud,ad="__NG_DI_FLAG__",cd=class{injector;constructor(t){this.injector=t}retrieve(t,e){let n=me(e)||0;try{return this.injector.get(t,n&8?null:kt,n)}catch(r){if(Zr(r))return r;throw r}}};function dd(t,e=0){let n=Yo();if(n===void 0)throw new _(-203,!1);if(n===null)return Ls(t,void 0,e);{let r=hd(e),i=n.retrieve(t,r);if(Zr(i)){if(r.optional)return null;throw i}return i}}function k(t,e=0){return(Hs()||dd)(U(t),e)}function C(t,e){return k(t,me(e))}function me(t){return typeof t>"u"||typeof t=="number"?t:0|(t.optional&&8)|(t.host&&1)|(t.self&&2)|(t.skipSelf&&4)}function hd(t){return{optional:!!(t&8),host:!!(t&1),self:!!(t&2),skipSelf:!!(t&4)}}function cr(t){let e=[];for(let n=0;n<t.length;n++){let r=U(t[n]);if(Array.isArray(r)){if(r.length===0)throw new _(900,!1);let i,o=0;for(let s=0;s<r.length;s++){let l=r[s],u=fd(l);typeof u=="number"?u===-1?i=l.token:o|=u:i=l}e.push(k(i,o))}else e.push(k(r))}return e}function fd(t){return t[ad]}function Gt(t,e){return t.hasOwnProperty(en)?t[en]:null}function Xr(t,e){t.forEach(n=>Array.isArray(n)?Xr(n,e):e(n))}function pd(t,e,n){e>=t.length?t.push(n):t.splice(e,0,n)}function Us(t,e){return e>=t.length-1?t.pop():t.splice(e,1)[0]}function md(t,e,n,r){let i=t.length;if(i==e)t.push(n,r);else if(i===1)t.push(r,t[0]),t[0]=n;else{for(i--,t.push(t[i-1],t[i]);i>e;){let o=i-2;t[i]=t[o],i--}t[e]=n,t[e+1]=r}}function gd(t,e,n){let r=Ve(t,e);return r>=0?t[r|1]=n:(r=~r,md(t,r,e,n)),r}function zn(t,e){let n=Ve(t,e);if(n>=0)return t[n|1]}function Ve(t,e){return yd(t,e,1)}function yd(t,e,n){let r=0,i=t.length>>n;for(;i!==r;){let o=r+(i-r>>1),s=t[o<<n];if(e===s)return o<<n;s>e?i=o:r=o+1}return~(i<<n)}var It={},Y=[],ge=new S(""),Zs=new S("",-1),Bs=new S(""),qs=class{get(t,e=kt){if(e===kt){let n=zs("",-201);throw n.name="\u0275NotFound",n}return e}};function Jr(t){return t[ed]||null}function Gs(t){return t[nd]||null}function vd(t){return t[rd]||null}function bd(t){return{\u0275providers:t}}function wd(...t){return{\u0275providers:$s(!0,t),\u0275fromNgModule:!0}}function $s(t,...e){let n=[],r=new Set,i,o=s=>{n.push(s)};return Xr(e,s=>{let l=s;dr(l,o,[],r)&&(i||=[],i.push(l))}),i!==void 0&&Qs(i,o),n}function Qs(t,e){for(let n=0;n<t.length;n++){let{ngModule:r,providers:i}=t[n];ti(i,o=>{e(o,r)})}}function dr(t,e,n,r){if(t=U(t),!t)return!1;let i=null,o=eo(t),s=!o&&Jr(t);if(!o&&!s){let u=t.ngModule;if(o=eo(u),o)i=u;else return!1}else{if(s&&!s.standalone)return!1;i=t}let l=r.has(i);if(s){if(l)return!1;if(r.add(i),s.dependencies){let u=typeof s.dependencies=="function"?s.dependencies():s.dependencies;for(let a of u)dr(a,e,n,r)}}else if(o){if(o.imports!=null&&!l){r.add(i);let a;Xr(o.imports,c=>{dr(c,e,n,r)&&(a||=[],a.push(c))}),a!==void 0&&Qs(a,e)}if(!l){let a=Gt(i)||(()=>new i);e({provide:i,useFactory:a,deps:Y},i),e({provide:Bs,useValue:i,multi:!0},i),e({provide:ge,useValue:()=>k(i),multi:!0},i)}let u=o.providers;if(u!=null&&!l){let a=t;ti(u,c=>{e(c,a)})}}else return!1;return i!==t&&t.providers!==void 0}function ti(t,e){for(let n of t)Ps(n)&&(n=n.\u0275providers),Array.isArray(n)?ti(n,e):e(n)}var _d=V({provide:String,useValue:V});function Ws(t){return t!==null&&typeof t=="object"&&_d in t}function Cd(t){return!!(t&&t.useExisting)}function xd(t){return!!(t&&t.useFactory)}function $t(t){return typeof t=="function"}function Sd(t){return!!t.useClass}var ei=new S(""),$e={},io={},Hn;function ni(){return Hn===void 0&&(Hn=new qs),Hn}var Tt=class{},ri=class extends Tt{parent;source;scopes;records=new Map;_ngOnDestroyHooks=new Set;_onDestroyHooks=[];get destroyed(){return this._destroyed}_destroyed=!1;injectorDefTypes;constructor(t,e,n,r){super(),this.parent=e,this.source=n,this.scopes=r,fr(t,o=>this.processProvider(o)),this.records.set(Zs,Ht(void 0,this)),r.has("environment")&&this.records.set(Tt,Ht(void 0,this));let i=this.records.get(ei);i!=null&&typeof i.value=="string"&&this.scopes.add(i.value),this.injectorDefTypes=new Set(this.get(Bs,Y,{self:!0}))}retrieve(t,e){let n=me(e)||0;try{return this.get(t,kt,n)}catch(r){if(Zr(r))return r;throw r}}destroy(){ce(this),this._destroyed=!0;let t=b(null);try{for(let n of this._ngOnDestroyHooks)n.ngOnDestroy();let e=this._onDestroyHooks;this._onDestroyHooks=[];for(let n of e)n()}finally{this.records.clear(),this._ngOnDestroyHooks.clear(),this.injectorDefTypes.clear(),b(t)}}onDestroy(t){return ce(this),this._onDestroyHooks.push(t),()=>this.removeOnDestroy(t)}runInContext(t){ce(this);let e=gt(this),n=K(void 0),r;try{return t()}finally{gt(e),K(n)}}get(t,e=kt,n){if(ce(this),t.hasOwnProperty(ro))return t[ro](this);let r=me(n),i,o=gt(this),s=K(void 0);try{if(!(r&4)){let u=this.records.get(t);if(u===void 0){let a=Id(t)&&Kr(t);a&&this.injectableDefInScope(a)?u=Ht(hr(t),$e):u=null,this.records.set(t,u)}if(u!=null)return this.hydrate(t,u,r)}let l=r&2?ni():this.parent;return e=r&8&&e===kt?null:e,l.get(t,e)}catch(l){let u=ld(l);throw u===-200||u===-201?new _(u,null):l}finally{K(s),gt(o)}}resolveInjectorInitializers(){let t=b(null),e=gt(this),n=K(void 0),r;try{let i=this.get(ge,Y,{self:!0});for(let o of i)o()}finally{gt(e),K(n),b(t)}}toString(){let t=[],e=this.records;for(let n of e.keys())t.push(qt(n));return`R3Injector[${t.join(", ")}]`}processProvider(t){t=U(t);let e=$t(t)?t:U(t&&t.provide),n=Ed(t);if(!$t(t)&&t.multi===!0){let r=this.records.get(e);r||(r=Ht(void 0,$e,!0),r.factory=()=>cr(r.multi),this.records.set(e,r)),e=t,r.multi.push(t)}this.records.set(e,n)}hydrate(t,e,n){let r=b(null);try{if(e.value===io)throw Ms(qt(t));return e.value===$e&&(e.value=io,e.value=e.factory(void 0,n)),typeof e.value=="object"&&e.value&&Ad(e.value)&&this._ngOnDestroyHooks.add(e.value),e.value}finally{b(r)}}injectableDefInScope(t){if(!t.providedIn)return!1;let e=U(t.providedIn);return typeof e=="string"?e==="any"||this.scopes.has(e):this.injectorDefTypes.has(e)}removeOnDestroy(t){let e=this._onDestroyHooks.indexOf(t);e!==-1&&this._onDestroyHooks.splice(e,1)}};function hr(t){let e=Kr(t),n=e!==null?e.factory:Gt(t);if(n!==null)return n;if(t instanceof S)throw new _(204,!1);if(t instanceof Function)return Vd(t);throw new _(204,!1)}function Vd(t){if(t.length>0)throw new _(204,!1);let e=td(t);return e!==null?()=>e.factory(t):()=>new t}function Ed(t){if(Ws(t))return Ht(void 0,t.useValue);{let e=Ks(t);return Ht(e,$e)}}function Ks(t,e,n){let r;if($t(t)){let i=U(t);return Gt(i)||hr(i)}else if(Ws(t))r=()=>U(t.useValue);else if(xd(t))r=()=>t.useFactory(...cr(t.deps||[]));else if(Cd(t))r=(i,o)=>k(U(t.useExisting),o!==void 0&&o&8?8:void 0);else{let i=U(t&&(t.useClass||t.provide));if(kd(t))r=()=>new i(...cr(t.deps));else return Gt(i)||hr(i)}return r}function ce(t){if(t.destroyed)throw new _(205,!1)}function Ht(t,e,n=!1){return{factory:t,value:e,multi:n?[]:void 0}}function kd(t){return!!t.deps}function Ad(t){return t!==null&&typeof t=="object"&&typeof t.ngOnDestroy=="function"}function Id(t){return typeof t=="function"||typeof t=="object"&&t.ngMetadataName==="InjectionToken"}function fr(t,e){for(let n of t)Array.isArray(n)?fr(n,e):n&&Ps(n)?fr(n.\u0275providers,e):e(n)}function Ys(t,e){let n;t instanceof ri?(ce(t),n=t):n=new cd(t);let r,i=gt(n),o=K(void 0);try{return e()}finally{gt(i),K(o)}}function Td(){return Hs()!==void 0||Yo()!=null}var pt=0,v=1,g=2,tt=3,nt=4,lt=5,nn=6,rn=7,$=8,Ot=9,wt=10,H=11,ye=12,oo=13,Ee=14,ct=15,Qt=16,Lt=17,Wt=18,Sn=19,Xs=20,vt=21,Ln=22,on=23,X=24,Un=25,sn=26,Q=27,Js=1,ve=7,Od=8,ln=9,J=10;function bt(t){return Array.isArray(t)&&typeof t[Js]=="object"}function Mt(t){return Array.isArray(t)&&t[Js]===!0}function tl(t){return(t.flags&4)!==0}function ke(t){return t.componentOffset>-1}function ii(t){return(t.flags&1)===1}function dt(t){return!!t.template}function un(t){return(t[g]&512)!==0}function te(t){return(t[g]&256)===256}var Dd="svg",Nd="math";function ht(t){for(;Array.isArray(t);)t=t[pt];return t}function Rd(t,e){return ht(e[t])}function mt(t,e){return ht(e[t.index])}function oi(t,e){return t.data[e]}function ft(t,e){let n=e[t];return bt(n)?n:n[pt]}function si(t){return(t[g]&128)===128}function be(t,e){return e==null?null:t[e]}function el(t){t[Lt]=0}function li(t){t[g]&1024||(t[g]|=1024,si(t)&&Vn(t))}function we(t){return!!(t[g]&9216||t[X]?.dirty)}function pr(t){t[wt].changeDetectionScheduler?.notify(8),t[g]&64&&(t[g]|=1024),we(t)&&Vn(t)}function Vn(t){t[wt].changeDetectionScheduler?.notify(0);let e=Dt(t);for(;e!==null&&!(e[g]&8192||(e[g]|=8192,!si(e)));)e=Dt(e)}function nl(t,e){if(te(t))throw new _(911,!1);t[vt]===null&&(t[vt]=[]),t[vt].push(e)}function Pd(t,e){if(t[vt]===null)return;let n=t[vt].indexOf(e);n!==-1&&t[vt].splice(n,1)}function Dt(t){let e=t[tt];return Mt(e)?e[tt]:e}function Fd(t){return t[rn]??=[]}function jd(t){return t.cleanup??=[]}var x={lFrame:al(null),bindingsEnabled:!0,skipHydrationRootTNode:null},mr=!1;function Md(){return x.lFrame.elementDepthCount}function zd(){x.lFrame.elementDepthCount++}function Hd(){x.lFrame.elementDepthCount--}function Ld(){return x.bindingsEnabled}function Ud(){return x.skipHydrationRootTNode!==null}function Zd(t){return x.skipHydrationRootTNode===t}function Bd(){x.skipHydrationRootTNode=null}function P(){return x.lFrame.lView}function rt(){return x.lFrame.tView}function Ct(){let t=rl();for(;t!==null&&t.type===64;)t=t.parent;return t}function rl(){return x.lFrame.currentTNode}function qd(){let t=x.lFrame,e=t.currentTNode;return t.isParent?e:e.parent}function Ae(t,e){let n=x.lFrame;n.currentTNode=t,n.isParent=e}function il(){return x.lFrame.isParent}function Gd(){x.lFrame.isParent=!1}function ol(){return mr}function so(t){let e=mr;return mr=t,e}function $d(t){return x.lFrame.bindingIndex=t}function ui(){return x.lFrame.bindingIndex++}function Qd(t){let e=x.lFrame,n=e.bindingIndex;return e.bindingIndex=e.bindingIndex+t,n}function Wd(){return x.lFrame.inI18n}function Kd(t,e){let n=x.lFrame;n.bindingIndex=n.bindingRootIndex=t,gr(e)}function Yd(){return x.lFrame.currentDirectiveIndex}function gr(t){x.lFrame.currentDirectiveIndex=t}function Xd(t){let e=x.lFrame.currentDirectiveIndex;return e===-1?null:t[e]}function sl(t){x.lFrame.currentQueryIndex=t}function Jd(t){let e=t[v];return e.type===2?e.declTNode:e.type===1?t[lt]:null}function ll(t,e,n){if(n&4){let i=e,o=t;for(;(i=i.parent,i===null&&!(n&1))&&(i=Jd(o),!(i===null||(o=o[Ee],i.type&10))););if(i===null)return!1;e=i,t=o}let r=x.lFrame=ul();return r.currentTNode=e,r.lView=t,!0}function ai(t){let e=ul(),n=t[v];x.lFrame=e,e.currentTNode=n.firstChild,e.lView=t,e.tView=n,e.contextLView=t,e.bindingIndex=n.bindingStartIndex,e.inI18n=!1}function ul(){let t=x.lFrame,e=t===null?null:t.child;return e===null?al(t):e}function al(t){let e={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:t,child:null,inI18n:!1};return t!==null&&(t.child=e),e}function cl(){let t=x.lFrame;return x.lFrame=t.parent,t.currentTNode=null,t.lView=null,t}var dl=cl;function ci(){let t=cl();t.isParent=!0,t.tView=null,t.selectedIndex=-1,t.contextLView=null,t.elementDepthCount=0,t.currentDirectiveIndex=-1,t.currentNamespace=null,t.bindingRootIndex=-1,t.bindingIndex=-1,t.currentQueryIndex=0}function Ie(){return x.lFrame.selectedIndex}function Nt(t){x.lFrame.selectedIndex=t}function hl(){let t=x.lFrame;return oi(t.tView,t.selectedIndex)}function fl(){return x.lFrame.currentNamespace}var pl=!0;function di(){return pl}function hi(t){pl=t}function lo(t,e=null,n=null,r){let i=th(t,e,n,r);return i.resolveInjectorInitializers(),i}function th(t,e=null,n=null,r,i=new Set){let o=[n||Y,wd(t)];return r=r||(typeof t=="object"?void 0:qt(t)),new ri(o,e||ni(),r||null,i)}var En=class ml{static THROW_IF_NOT_FOUND=kt;static NULL=new qs;static create(e,n){if(Array.isArray(e))return lo({name:""},n,e,"");{let r=e.name??"";return lo({name:r},e.parent,e.providers,r)}}static \u0275prov=F({token:ml,providedIn:"any",factory:()=>k(Zs)});static __NG_ELEMENT_ID__=-1},Rt=new S(""),gl=(()=>{class t{static __NG_ELEMENT_ID__=nh;static __NG_ENV_ID__=n=>n}return t})(),eh=class extends gl{_lView;constructor(t){super(),this._lView=t}get destroyed(){return te(this._lView)}onDestroy(t){let e=this._lView;return nl(e,t),()=>Pd(e,t)}};function nh(){return new eh(P())}var Te=class{_console=console;handleError(t){this._console.error("ERROR",t)}},ee=new S("",{providedIn:"root",factory:()=>{let t=C(Tt),e;return n=>{t.destroyed&&!e?setTimeout(()=>{throw n}):(e??=t.get(Te),e.handleError(n))}}}),rh={provide:ge,useValue:()=>{C(Te)},multi:!0};function Qe(t,e){let[n,r,i]=Ba(t,e?.equal),o=n,s=o[ut];return o.set=r,o.update=i,o.asReadonly=ih.bind(o),o}function ih(){let t=this[ut];if(t.readonlyFn===void 0){let e=()=>this();e[ut]=t,t.readonlyFn=e}return t.readonlyFn}var Oe=class{},fi=new S("",{providedIn:"root",factory:()=>!1}),yl=new S(""),pi=new S(""),De=(()=>{class t{taskId=0;pendingTasks=new Set;destroyed=!1;pendingTask=new ac(!1);get hasPendingTasks(){return this.destroyed?!1:this.pendingTask.value}get hasPendingTasksObservable(){return this.destroyed?new Z(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=F({token:t,providedIn:"root",factory:()=>new t})}return t})();function an(...t){}var oh=(()=>{class t{static \u0275prov=F({token:t,providedIn:"root",factory:()=>new sh})}return t})(),sh=class{dirtyEffectCount=0;queues=new Map;add(t){this.enqueue(t),this.schedule(t)}schedule(t){t.dirty&&this.dirtyEffectCount++}remove(t){let e=t.zone,n=this.queues.get(e);n.has(t)&&(n.delete(t),t.dirty&&this.dirtyEffectCount--)}enqueue(t){let e=t.zone;this.queues.has(e)||this.queues.set(e,new Set);let n=this.queues.get(e);n.has(t)||n.add(t)}flush(){for(;this.dirtyEffectCount>0;){let t=!1;for(let[e,n]of this.queues)e===null?t||=this.flushQueue(n):t||=e.run(()=>this.flushQueue(n));t||(this.dirtyEffectCount=0)}}flushQueue(t){let e=!1;for(let n of t)n.dirty&&(this.dirtyEffectCount--,e=!0,n.run());return e}};function kn(t){return{toString:t}.toString()}var lh=class{previousValue;currentValue;firstChange;constructor(t,e,n){this.previousValue=t,this.currentValue=e,this.firstChange=n}isFirstChange(){return this.firstChange}};function vl(t,e,n,r){e!==null?e.applyValueToInputSignal(e,r):t[n]=r}var mi=(()=>{let t=()=>bl;return t.ngInherit=!0,t})();function bl(t){return t.type.prototype.ngOnChanges&&(t.setInput=ah),uh}function uh(){let t=_l(this),e=t?.current;if(e){let n=t.previous;if(n===It)t.previous=e;else for(let r in e)n[r]=e[r];t.current=null,this.ngOnChanges(e)}}function ah(t,e,n,r,i){let o=this.declaredInputs[r],s=_l(t)||ch(t,{previous:It,current:null}),l=s.current||(s.current={}),u=s.previous,a=u[o];l[o]=new lh(a&&a.currentValue,n,u===It),vl(t,e,i,n)}var wl="__ngSimpleChanges__";function _l(t){return t[wl]||null}function ch(t,e){return t[wl]=e}var uo=[],E=function(t,e=null,n){for(let r=0;r<uo.length;r++){let i=uo[r];i(t,e,n)}};function dh(t,e,n){let{ngOnChanges:r,ngOnInit:i,ngDoCheck:o}=e.type.prototype;if(r){let s=bl(e);(n.preOrderHooks??=[]).push(t,s),(n.preOrderCheckHooks??=[]).push(t,s)}i&&(n.preOrderHooks??=[]).push(0-t,i),o&&((n.preOrderHooks??=[]).push(t,o),(n.preOrderCheckHooks??=[]).push(t,o))}function hh(t,e){for(let n=e.directiveStart,r=e.directiveEnd;n<r;n++){let i=t.data[n].type.prototype,{ngAfterContentInit:o,ngAfterContentChecked:s,ngAfterViewInit:l,ngAfterViewChecked:u,ngOnDestroy:a}=i;o&&(t.contentHooks??=[]).push(-n,o),s&&((t.contentHooks??=[]).push(n,s),(t.contentCheckHooks??=[]).push(n,s)),l&&(t.viewHooks??=[]).push(-n,l),u&&((t.viewHooks??=[]).push(n,u),(t.viewCheckHooks??=[]).push(n,u)),a!=null&&(t.destroyHooks??=[]).push(n,a)}}function We(t,e,n){Cl(t,e,3,n)}function Ke(t,e,n,r){(t[g]&3)===n&&Cl(t,e,n,r)}function Zn(t,e){let n=t[g];(n&3)===e&&(n&=16383,n+=1,t[g]=n)}function Cl(t,e,n,r){let i=r!==void 0?t[Lt]&65535:0,o=r??-1,s=e.length-1,l=0;for(let u=i;u<s;u++)if(typeof e[u+1]=="number"){if(l=e[u],r!=null&&l>=r)break}else e[u]<0&&(t[Lt]+=65536),(l<o||o==-1)&&(fh(t,n,e,u),t[Lt]=(t[Lt]&4294901760)+u+2),u++}function ao(t,e){E(4,t,e);let n=b(null);try{e.call(t)}finally{b(n),E(5,t,e)}}function fh(t,e,n,r){let i=n[r]<0,o=n[r+1],s=i?-n[r]:n[r],l=t[s];i?t[g]>>14<t[Lt]>>16&&(t[g]&3)===e&&(t[g]+=16384,ao(l,o)):ao(l,o)}var Bt=-1,Ne=class{factory;name;injectImpl;resolving=!1;canSeeViewProviders;multi;componentProviders;index;providerFactory;constructor(t,e,n,r){this.factory=t,this.name=r,this.canSeeViewProviders=e,this.injectImpl=n}};function ph(t){return(t.flags&8)!==0}function mh(t){return(t.flags&16)!==0}function gh(t,e,n){let r=0;for(;r<n.length;){let i=n[r];if(typeof i=="number"){if(i!==0)break;r++;let o=n[r++],s=n[r++],l=n[r++];t.setAttribute(e,s,l,o)}else{let o=i,s=n[++r];vh(o)?t.setProperty(e,o,s):t.setAttribute(e,o,s),r++}}return r}function yh(t){return t===3||t===4||t===6}function vh(t){return t.charCodeAt(0)===64}function _e(t,e){if(!(e===null||e.length===0))if(t===null||t.length===0)t=e.slice();else{let n=-1;for(let r=0;r<e.length;r++){let i=e[r];typeof i=="number"?n=i:n===0||(n===-1||n===2?co(t,n,i,null,e[++r]):co(t,n,i,null,null))}}return t}function co(t,e,n,r,i){let o=0,s=t.length;if(e===-1)s=-1;else for(;o<t.length;){let l=t[o++];if(typeof l=="number"){if(l===e){s=-1;break}else if(l>e){s=o-1;break}}}for(;o<t.length;){let l=t[o];if(typeof l=="number")break;if(l===n){i!==null&&(t[o+1]=i);return}o++,i!==null&&o++}s!==-1&&(t.splice(s,0,e),o=s+1),t.splice(o++,0,n),i!==null&&t.splice(o++,0,i)}function bh(t){return t!==Bt}function yr(t){return t&32767}function wh(t){return t>>16}function vr(t,e){let n=wh(t),r=e;for(;n>0;)r=r[Ee],n--;return r}var br=!0;function ho(t){let e=br;return br=t,e}var _h=256,xl=_h-1,Sl=5,Ch=0,it={};function xh(t,e,n){let r;typeof n=="string"?r=n.charCodeAt(0)||0:n.hasOwnProperty(pe)&&(r=n[pe]),r==null&&(r=n[pe]=Ch++);let i=r&xl,o=1<<i;e.data[t+(i>>Sl)]|=o}function cn(t,e){let n=Vl(t,e);if(n!==-1)return n;let r=e[v];r.firstCreatePass&&(t.injectorIndex=e.length,Bn(r.data,t),Bn(e,null),Bn(r.blueprint,null));let i=El(t,e),o=t.injectorIndex;if(bh(i)){let s=yr(i),l=vr(i,e),u=l[v].data;for(let a=0;a<8;a++)e[o+a]=l[s+a]|u[s+a]}return e[o+8]=i,o}function Bn(t,e){t.push(0,0,0,0,0,0,0,0,e)}function Vl(t,e){return t.injectorIndex===-1||t.parent&&t.parent.injectorIndex===t.injectorIndex||e[t.injectorIndex+8]===null?-1:t.injectorIndex}function El(t,e){if(t.parent&&t.parent.injectorIndex!==-1)return t.parent.injectorIndex;let n=0,r=null,i=e;for(;i!==null;){if(r=Dl(i),r===null)return Bt;if(n++,i=i[Ee],r.injectorIndex!==-1)return r.injectorIndex|n<<16}return Bt}function wr(t,e,n){xh(t,e,n)}function kl(t,e,n){if(n&8||t!==void 0)return t;Yr(e,"NodeInjector")}function Al(t,e,n,r){if(n&8&&r===void 0&&(r=null),(n&3)===0){let i=t[Ot],o=K(void 0);try{return i?i.get(e,r,n&8):Ls(e,r,n&8)}finally{K(o)}}return kl(r,e,n)}function Il(t,e,n,r=0,i){if(t!==null){if(e[g]&2048&&!(r&2)){let s=Ah(t,e,n,r,it);if(s!==it)return s}let o=Tl(t,e,n,r,it);if(o!==it)return o}return Al(e,n,r,i)}function Tl(t,e,n,r,i){let o=Eh(n);if(typeof o=="function"){if(!ll(e,t,r))return r&1?kl(i,n,r):Al(e,n,r,i);try{let s;if(s=o(r),s==null&&!(r&8))Yr(n);else return s}finally{dl()}}else if(typeof o=="number"){let s=null,l=Vl(t,e),u=Bt,a=r&1?e[ct][lt]:null;for((l===-1||r&4)&&(u=l===-1?El(t,e):e[l+8],u===Bt||!po(r,!1)?l=-1:(s=e[v],l=yr(u),e=vr(u,e)));l!==-1;){let c=e[v];if(fo(o,l,c.data)){let d=Sh(l,e,n,s,r,a);if(d!==it)return d}u=e[l+8],u!==Bt&&po(r,e[v].data[l+8]===a)&&fo(o,l,e)?(s=c,l=yr(u),e=vr(u,e)):l=-1}}return i}function Sh(t,e,n,r,i,o){let s=e[v],l=s.data[t+8],u=r==null?ke(l)&&br:r!=s&&(l.type&3)!==0,a=i&1&&o===l,c=Vh(l,s,n,u,a);return c!==null?dn(e,s,c,l,i):it}function Vh(t,e,n,r,i){let o=t.providerIndexes,s=e.data,l=o&1048575,u=t.directiveStart,a=t.directiveEnd,c=o>>20,d=r?l:l+c,f=i?l+c:a;for(let h=d;h<f;h++){let m=s[h];if(h<u&&n===m||h>=u&&m.type===n)return h}if(i){let h=s[u];if(h&&dt(h)&&h.type===n)return u}return null}function dn(t,e,n,r,i){let o=t[n],s=e.data;if(o instanceof Ne){let l=o;if(l.resolving){let h=id(s[n]);throw Ms(h)}let u=ho(l.canSeeViewProviders);l.resolving=!0;let a=s[n].type||s[n],c,d=l.injectImpl?K(l.injectImpl):null,f=ll(t,r,0);try{o=t[n]=l.factory(void 0,i,s,t,r),e.firstCreatePass&&n>=r.directiveStart&&dh(n,s[n],e)}finally{d!==null&&K(d),ho(u),l.resolving=!1,dl()}}return o}function Eh(t){if(typeof t=="string")return t.charCodeAt(0)||0;let e=t.hasOwnProperty(pe)?t[pe]:void 0;return typeof e=="number"?e>=0?e&xl:kh:e}function fo(t,e,n){let r=1<<t;return!!(n[e+(t>>Sl)]&r)}function po(t,e){return!(t&2)&&!(t&1&&e)}var Ol=class{_tNode;_lView;constructor(t,e){this._tNode=t,this._lView=e}get(t,e,n){return Il(this._tNode,this._lView,t,me(n),e)}};function kh(){return new Ol(Ct(),P())}function Re(t){return kn(()=>{let e=t.prototype.constructor,n=e[en]||_r(e),r=Object.prototype,i=Object.getPrototypeOf(t.prototype).constructor;for(;i&&i!==r;){let o=i[en]||_r(i);if(o&&o!==n)return o;i=Object.getPrototypeOf(i)}return o=>new o})}function _r(t){return Ds(t)?()=>{let e=_r(U(t));return e&&e()}:Gt(t)}function Ah(t,e,n,r,i){let o=t,s=e;for(;o!==null&&s!==null&&s[g]&2048&&!un(s);){let l=Tl(o,s,n,r|2,it);if(l!==it)return l;let u=o.parent;if(!u){let a=s[Xs];if(a){let c=a.get(n,it,r);if(c!==it)return c}u=Dl(s),s=s[Ee]}o=u}return i}function Dl(t){let e=t[v],n=e.type;return n===2?e.declTNode:n===1?t[lt]:null}function Ih(){return Nl(Ct(),P())}function Nl(t,e){return new gi(mt(t,e))}var gi=(()=>{class t{nativeElement;constructor(n){this.nativeElement=n}static __NG_ELEMENT_ID__=Ih}return t})();function Rl(t){return(t.flags&128)===128}var Pl=(function(t){return t[t.OnPush=0]="OnPush",t[t.Default=1]="Default",t})(Pl||{}),Fl=new Map,Th=0;function Oh(){return Th++}function Dh(t){Fl.set(t[Sn],t)}function Cr(t){Fl.delete(t[Sn])}var mo="__ngContext__";function Kt(t,e){bt(e)?(t[mo]=e[Sn],Dh(e)):t[mo]=e}function jl(t){return zl(t[ye])}function Ml(t){return zl(t[nt])}function zl(t){for(;t!==null&&!Mt(t);)t=t[nt];return t}var xr;function Nh(t){xr=t}function Rh(){if(xr!==void 0)return xr;if(typeof document<"u")return document;throw new _(210,!1)}var Hl=new S("",{providedIn:"root",factory:()=>Ph}),Ph="ng",Ll=new S(""),Ul=new S("",{providedIn:"platform",factory:()=>"unknown"}),Zl=new S("",{providedIn:"root",factory:()=>Rh().body?.querySelector("[ngCspNonce]")?.getAttribute("ngCspNonce")||null}),Fh="h",jh="b",Bl=!1,Mh=new S("",{providedIn:"root",factory:()=>Bl}),zh=(t,e,n,r)=>{};function Hh(t,e,n,r){zh(t,e,n,r)}function ql(t){return(t.flags&32)===32}var Lh=()=>null;function Gl(t,e,n=!1){return Lh(t,e,n)}function $l(t,e){let n=t.contentQueries;if(n!==null){let r=b(null);try{for(let i=0;i<n.length;i+=2){let o=n[i],s=n[i+1];if(s!==-1){let l=t.data[s];sl(o),l.contentQueries(2,e[s],s)}}}finally{b(r)}}}function Sr(t,e,n){sl(0);let r=b(null);try{e(t,n)}finally{b(r)}}function Ql(t,e,n){if(tl(e)){let r=b(null);try{let i=e.directiveStart,o=e.directiveEnd;for(let s=i;s<o;s++){let l=t.data[s];if(l.contentQueries){let u=n[s];l.contentQueries(1,u,s)}}}finally{b(r)}}}var Pt=(function(t){return t[t.Emulated=0]="Emulated",t[t.None=2]="None",t[t.ShadowDom=3]="ShadowDom",t})(Pt||{}),Uh=class{changingThisBreaksApplicationSecurity;constructor(t){this.changingThisBreaksApplicationSecurity=t}toString(){return`SafeValue must use [property]=binding: ${this.changingThisBreaksApplicationSecurity} (see ${Qc})`}};function Zh(t){return t instanceof Uh?t.changingThisBreaksApplicationSecurity:t}function Bh(t,e){return t.createText(e)}function Wl(t,e,n){return t.createElement(e,n)}function Vr(t,e,n,r,i){t.insertBefore(e,n,r,i)}function Kl(t,e,n){t.appendChild(e,n)}function go(t,e,n,r,i){r!==null?Vr(t,e,n,r,i):Kl(t,e,n)}function qh(t,e,n,r){t.removeChild(null,e,n,r)}function Gh(t,e,n){t.setAttribute(e,"style",n)}function $h(t,e,n){n===""?t.removeAttribute(e,"class"):t.setAttribute(e,"class",n)}function Yl(t,e,n){let{mergedAttrs:r,classes:i,styles:o}=n;r!==null&&gh(t,e,r),i!==null&&$h(t,e,i),o!==null&&Gh(t,e,o)}function Qh(t,e,n){let r=t.length;for(;;){let i=t.indexOf(e,n);if(i===-1)return i;if(i===0||t.charCodeAt(i-1)<=32){let o=e.length;if(i+o===r||t.charCodeAt(i+o)<=32)return i}n=i+1}}var Xl="ng-template";function Wh(t,e,n,r){let i=0;if(r){for(;i<e.length&&typeof e[i]=="string";i+=2)if(e[i]==="class"&&Qh(e[i+1].toLowerCase(),n,0)!==-1)return!0}else if(yi(t))return!1;if(i=e.indexOf(1,i),i>-1){let o;for(;++i<e.length&&typeof(o=e[i])=="string";)if(o.toLowerCase()===n)return!0}return!1}function yi(t){return t.type===4&&t.value!==Xl}function Kh(t,e,n){let r=t.type===4&&!n?Xl:t.value;return e===r}function Yh(t,e,n){let r=4,i=t.attrs,o=i!==null?tf(i):0,s=!1;for(let l=0;l<e.length;l++){let u=e[l];if(typeof u=="number"){if(!s&&!et(r)&&!et(u))return!1;if(s&&et(u))continue;s=!1,r=u|r&1;continue}if(!s)if(r&4){if(r=2|r&1,u!==""&&!Kh(t,u,n)||u===""&&e.length===1){if(et(r))return!1;s=!0}}else if(r&8){if(i===null||!Wh(t,i,u,n)){if(et(r))return!1;s=!0}}else{let a=e[++l],c=Xh(u,i,yi(t),n);if(c===-1){if(et(r))return!1;s=!0;continue}if(a!==""){let d;if(c>o?d="":d=i[c+1].toLowerCase(),r&2&&a!==d){if(et(r))return!1;s=!0}}}}return et(r)||s}function et(t){return(t&1)===0}function Xh(t,e,n,r){if(e===null)return-1;let i=0;if(r||!n){let o=!1;for(;i<e.length;){let s=e[i];if(s===t)return i;if(s===3||s===6)o=!0;else if(s===1||s===2){let l=e[++i];for(;typeof l=="string";)l=e[++i];continue}else{if(s===4)break;if(s===0){i+=4;continue}}i+=o?1:2}return-1}else return ef(e,t)}function Jh(t,e,n=!1){for(let r=0;r<e.length;r++)if(Yh(t,e[r],n))return!0;return!1}function tf(t){for(let e=0;e<t.length;e++){let n=t[e];if(yh(n))return e}return t.length}function ef(t,e){let n=t.indexOf(4);if(n>-1)for(n++;n<t.length;){let r=t[n];if(typeof r=="number")return-1;if(r===e)return n;n++}return-1}function yo(t,e){return t?":not("+e.trim()+")":e}function nf(t){let e=t[0],n=1,r=2,i="",o=!1;for(;n<t.length;){let s=t[n];if(typeof s=="string")if(r&2){let l=t[++n];i+="["+s+(l.length>0?'="'+l+'"':"")+"]"}else r&8?i+="."+s:r&4&&(i+=" "+s);else i!==""&&!et(s)&&(e+=yo(o,i),i=""),r=s,o=o||!et(r);n++}return i!==""&&(e+=yo(o,i)),e}function rf(t){return t.map(nf).join(",")}function of(t){let e=[],n=[],r=1,i=2;for(;r<t.length;){let o=t[r];if(typeof o=="string")i===2?o!==""&&e.push(o,t[++r]):i===8&&n.push(o);else{if(!et(i))break;i=o}r++}return n.length&&e.push(1,...n),e}var ne={};function vi(t,e,n,r,i,o,s,l,u,a,c){let d=Q+r,f=d+i,h=sf(d,f),m=typeof a=="function"?a():a;return h[v]={type:t,blueprint:h,template:n,queries:null,viewQuery:l,declTNode:e,data:h.slice().fill(null,d),bindingStartIndex:d,expandoStartIndex:f,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 o=="function"?o():o,pipeRegistry:typeof s=="function"?s():s,firstChild:null,schemas:u,consts:m,incompleteFirstPass:!1,ssrId:c}}function sf(t,e){let n=[];for(let r=0;r<e;r++)n.push(r<t?null:ne);return n}function lf(t){let e=t.tView;return e===null||e.incompleteFirstPass?t.tView=vi(1,null,t.template,t.decls,t.vars,t.directiveDefs,t.pipeDefs,t.viewQuery,t.schemas,t.consts,t.id):e}function bi(t,e,n,r,i,o,s,l,u,a,c){let d=e.blueprint.slice();return d[pt]=i,d[g]=r|4|128|8|64|1024,(a!==null||t&&t[g]&2048)&&(d[g]|=2048),el(d),d[tt]=d[Ee]=t,d[$]=n,d[wt]=s||t&&t[wt],d[H]=l||t&&t[H],d[Ot]=u||t&&t[Ot]||null,d[lt]=o,d[Sn]=Oh(),d[nn]=c,d[Xs]=a,d[ct]=e.type==2?t[ct]:d,d}function uf(t,e,n){let r=mt(e,t),i=lf(n),o=t[wt].rendererFactory,s=eu(t,bi(t,i,null,Jl(n),r,e,null,o.createRenderer(r,n),null,null,null));return t[e.index]=s}function Jl(t){let e=16;return t.signals?e=4096:t.onPush&&(e=64),e}function tu(t,e,n,r){if(n===0)return-1;let i=e.length;for(let o=0;o<n;o++)e.push(r),t.blueprint.push(r),t.data.push(null);return i}function eu(t,e){return t[ye]?t[oo][nt]=e:t[ye]=e,t[oo]=e,e}function oe(t=1){nu(rt(),P(),Ie()+t,!1)}function nu(t,e,n,r){if(!r)if((e[g]&3)===3){let i=t.preOrderCheckHooks;i!==null&&We(e,i,n)}else{let i=t.preOrderHooks;i!==null&&Ke(e,i,0,n)}Nt(n)}var An=(function(t){return t[t.None=0]="None",t[t.SignalBased=1]="SignalBased",t[t.HasDecoratorInputTransform=2]="HasDecoratorInputTransform",t})(An||{});function Er(t,e,n,r){let i=b(null);try{let[o,s,l]=t.inputs[n],u=null;(s&An.SignalBased)!==0&&(u=e[o][ut]),u!==null&&u.transformFn!==void 0?r=u.transformFn(r):l!==null&&(r=l.call(e,r)),t.setInput!==null?t.setInput(e,u,r,n,o):vl(e,u,o,r)}finally{b(i)}}var Et=(function(t){return t[t.Important=1]="Important",t[t.DashCase=2]="DashCase",t})(Et||{}),af;function wi(t,e){return af(t,e)}var hn=new Set,ru=(function(t){return t[t.CHANGE_DETECTION=0]="CHANGE_DETECTION",t[t.AFTER_NEXT_RENDER=1]="AFTER_NEXT_RENDER",t})(ru||{}),_i=new S(""),vo=new Set;function Pe(t){vo.has(t)||(vo.add(t),performance?.mark?.("mark_feature_usage",{detail:{feature:t}}))}var iu=!1,cf=class extends Jt{__isAsync;destroyRef=void 0;pendingTasks=void 0;constructor(t=!1){super(),this.__isAsync=t,Td()&&(this.destroyRef=C(gl,{optional:!0})??void 0,this.pendingTasks=C(De,{optional:!0})??void 0)}emit(t){let e=b(null);try{super.next(t)}finally{b(e)}}subscribe(t,e,n){let r=t,i=e||(()=>null),o=n;if(t&&typeof t=="object"){let l=t;r=l.next?.bind(l),i=l.error?.bind(l),o=l.complete?.bind(l)}this.__isAsync&&(i=this.wrapInTimeout(i),r&&(r=this.wrapInTimeout(r)),o&&(o=this.wrapInTimeout(o)));let s=super.subscribe({next:r,error:i,complete:o});return t instanceof at&&t.add(s),s}wrapInTimeout(t){return e=>{let n=this.pendingTasks?.add();setTimeout(()=>{try{t(e)}finally{n!==void 0&&this.pendingTasks?.remove(n)}})}}},G=cf;function ou(t){let e,n;function r(){t=an;try{n!==void 0&&typeof cancelAnimationFrame=="function"&&cancelAnimationFrame(n),e!==void 0&&clearTimeout(e)}catch{}}return e=setTimeout(()=>{t(),r()}),typeof requestAnimationFrame=="function"&&(n=requestAnimationFrame(()=>{t(),r()})),()=>r()}function bo(t){return queueMicrotask(()=>t()),()=>{t=an}}var Ci="isAngularZone",fn=Ci+"_ID",df=0,q=class kr{hasPendingMacrotasks=!1;hasPendingMicrotasks=!1;isStable=!0;onUnstable=new G(!1);onMicrotaskEmpty=new G(!1);onStable=new G(!1);onError=new G(!1);constructor(e){let{enableLongStackTrace:n=!1,shouldCoalesceEventChangeDetection:r=!1,shouldCoalesceRunChangeDetection:i=!1,scheduleInRootZone:o=iu}=e;if(typeof Zone>"u")throw new _(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=!i&&r,s.shouldCoalesceRunChangeDetection=i,s.callbackScheduled=!1,s.scheduleInRootZone=o,pf(s)}static isInAngularZone(){return typeof Zone<"u"&&Zone.current.get(Ci)===!0}static assertInAngularZone(){if(!kr.isInAngularZone())throw new _(909,!1)}static assertNotInAngularZone(){if(kr.isInAngularZone())throw new _(909,!1)}run(e,n,r){return this._inner.run(e,n,r)}runTask(e,n,r,i){let o=this._inner,s=o.scheduleEventTask("NgZoneEvent: "+i,e,hf,an,an);try{return o.runTask(s,n,r)}finally{o.cancelTask(s)}}runGuarded(e,n,r){return this._inner.runGuarded(e,n,r)}runOutsideAngular(e){return this._outer.run(e)}},hf={};function xi(t){if(t._nesting==0&&!t.hasPendingMicrotasks&&!t.isStable)try{t._nesting++,t.onMicrotaskEmpty.emit(null)}finally{if(t._nesting--,!t.hasPendingMicrotasks)try{t.runOutsideAngular(()=>t.onStable.emit(null))}finally{t.isStable=!0}}}function ff(t){if(t.isCheckStableRunning||t.callbackScheduled)return;t.callbackScheduled=!0;function e(){ou(()=>{t.callbackScheduled=!1,Ar(t),t.isCheckStableRunning=!0,xi(t),t.isCheckStableRunning=!1})}t.scheduleInRootZone?Zone.root.run(()=>{e()}):t._outer.run(()=>{e()}),Ar(t)}function pf(t){let e=()=>{ff(t)},n=df++;t._inner=t._inner.fork({name:"angular",properties:{[Ci]:!0,[fn]:n,[fn+n]:!0},onInvokeTask:(r,i,o,s,l,u)=>{if(mf(u))return r.invokeTask(o,s,l,u);try{return wo(t),r.invokeTask(o,s,l,u)}finally{(t.shouldCoalesceEventChangeDetection&&s.type==="eventTask"||t.shouldCoalesceRunChangeDetection)&&e(),_o(t)}},onInvoke:(r,i,o,s,l,u,a)=>{try{return wo(t),r.invoke(o,s,l,u,a)}finally{t.shouldCoalesceRunChangeDetection&&!t.callbackScheduled&&!gf(u)&&e(),_o(t)}},onHasTask:(r,i,o,s)=>{r.hasTask(o,s),i===o&&(s.change=="microTask"?(t._hasPendingMicrotasks=s.microTask,Ar(t),xi(t)):s.change=="macroTask"&&(t.hasPendingMacrotasks=s.macroTask))},onHandleError:(r,i,o,s)=>(r.handleError(o,s),t.runOutsideAngular(()=>t.onError.emit(s)),!1)})}function Ar(t){t._hasPendingMicrotasks||(t.shouldCoalesceEventChangeDetection||t.shouldCoalesceRunChangeDetection)&&t.callbackScheduled===!0?t.hasPendingMicrotasks=!0:t.hasPendingMicrotasks=!1}function wo(t){t._nesting++,t.isStable&&(t.isStable=!1,t.onUnstable.emit(null))}function _o(t){t._nesting--,xi(t)}var su=class{hasPendingMicrotasks=!1;hasPendingMacrotasks=!1;isStable=!0;onUnstable=new G;onMicrotaskEmpty=new G;onStable=new G;onError=new G;run(t,e,n){return t.apply(e,n)}runGuarded(t,e,n){return t.apply(e,n)}runOutsideAngular(t){return t()}runTask(t,e,n,r){return t.apply(e,n)}};function mf(t){return lu(t,"__ignore_ng_zone__")}function gf(t){return lu(t,"__scheduler_tick__")}function lu(t,e){return!Array.isArray(t)||t.length!==1?!1:t[0]?.data?.[e]===!0}var yf=(()=>{class t{impl=null;execute(){this.impl?.execute()}static \u0275prov=F({token:t,providedIn:"root",factory:()=>new t})}return t})(),vf=new S("",{providedIn:"root",factory:()=>({queue:new Set,isScheduled:!1,scheduler:null})});function uu(t,e,n){let r=t.get(vf);if(Array.isArray(e))for(let i of e)r.queue.add(i),n?.detachedLeaveAnimationFns?.push(i);else r.queue.add(e),n?.detachedLeaveAnimationFns?.push(e);r.scheduler&&r.scheduler(t)}function bf(t,e){for(let[n,r]of e)uu(t,r.animateFns)}function Co(t,e,n,r){let i=t?.[sn]?.enter;e!==null&&i&&i.has(n.index)&&bf(r,i)}function Ut(t,e,n,r,i,o,s,l){if(i!=null){let u,a=!1;Mt(i)?u=i:bt(i)&&(a=!0,i=i[pt]);let c=ht(i);t===0&&r!==null?(Co(l,r,o,n),s==null?Kl(e,r,c):Vr(e,r,c,s||null,!0)):t===1&&r!==null?(Co(l,r,o,n),Vr(e,r,c,s||null,!0)):t===2?xo(l,o,n,d=>{qh(e,c,a,d)}):t===3&&xo(l,o,n,()=>{e.destroyNode(c)}),u!=null&&Df(e,t,n,u,o,r,s)}}function wf(t,e){au(t,e),e[pt]=null,e[lt]=null}function _f(t,e,n,r,i,o){r[pt]=i,r[lt]=e,In(t,r,n,1,i,o)}function au(t,e){e[wt].changeDetectionScheduler?.notify(9),In(t,e,e[H],2,null,null)}function Cf(t){let e=t[ye];if(!e)return qn(t[v],t);for(;e;){let n=null;if(bt(e))n=e[ye];else{let r=e[J];r&&(n=r)}if(!n){for(;e&&!e[nt]&&e!==t;)bt(e)&&qn(e[v],e),e=e[tt];e===null&&(e=t),bt(e)&&qn(e[v],e),n=e&&e[nt]}e=n}}function Si(t,e){let n=t[ln],r=n.indexOf(e);n.splice(r,1)}function cu(t,e){if(te(e))return;let n=e[H];n.destroyNode&&In(t,e,n,3,null,null),Cf(e)}function qn(t,e){if(te(e))return;let n=b(null);try{e[g]&=-129,e[g]|=256,e[X]&&is(e[X]),Vf(t,e),Sf(t,e),e[v].type===1&&e[H].destroy();let r=e[Qt];if(r!==null&&Mt(e[tt])){r!==e[tt]&&Si(r,e);let i=e[Wt];i!==null&&i.detachView(t)}Cr(e)}finally{b(n)}}function xo(t,e,n,r){let i=t?.[sn];if(i==null||i.leave==null||!i.leave.has(e.index))return r(!1);t&&hn.add(t),uu(n,()=>{if(i.leave&&i.leave.has(e.index)){let o=i.leave.get(e.index),s=[];if(o){for(let l=0;l<o.animateFns.length;l++){let u=o.animateFns[l],{promise:a}=u();s.push(a)}i.detachedLeaveAnimationFns=void 0}i.running=Promise.allSettled(s),xf(t,r)}else t&&hn.delete(t),r(!1)},i)}function xf(t,e){let n=t[sn]?.running;if(n){n.then(()=>{t[sn].running=void 0,hn.delete(t),e(!0)});return}e(!1)}function Sf(t,e){let n=t.cleanup,r=e[rn];if(n!==null)for(let s=0;s<n.length-1;s+=2)if(typeof n[s]=="string"){let l=n[s+3];l>=0?r[l]():r[-l].unsubscribe(),s+=2}else{let l=r[n[s+1]];n[s].call(l)}r!==null&&(e[rn]=null);let i=e[vt];if(i!==null){e[vt]=null;for(let s=0;s<i.length;s++){let l=i[s];l()}}let o=e[on];if(o!==null){e[on]=null;for(let s of o)s.destroy()}}function Vf(t,e){let n;if(t!=null&&(n=t.destroyHooks)!=null)for(let r=0;r<n.length;r+=2){let i=e[n[r]];if(!(i instanceof Ne)){let o=n[r+1];if(Array.isArray(o))for(let s=0;s<o.length;s+=2){let l=i[o[s]],u=o[s+1];E(4,l,u);try{u.call(l)}finally{E(5,l,u)}}else{E(4,i,o);try{o.call(i)}finally{E(5,i,o)}}}}}function Ef(t,e,n){return kf(t,e.parent,n)}function kf(t,e,n){let r=e;for(;r!==null&&r.type&168;)e=r,r=e.parent;if(r===null)return n[pt];if(ke(r)){let{encapsulation:i}=t.data[r.directiveStart+r.componentOffset];if(i===Pt.None||i===Pt.Emulated)return null}return mt(r,n)}function Af(t,e,n){return Tf(t,e,n)}function If(t,e,n){return t.type&40?mt(t,n):null}var Tf=If,So;function Vi(t,e,n,r){let i=Ef(t,r,e),o=e[H],s=r.parent||e[lt],l=Af(s,r,e);if(i!=null)if(Array.isArray(n))for(let u=0;u<n.length;u++)go(o,i,n[u],l,!1);else go(o,i,n,l,!1);So!==void 0&&So(o,r,e,n,i)}function de(t,e){if(e!==null){let n=e.type;if(n&3)return mt(e,t);if(n&4)return Ir(-1,t[e.index]);if(n&8){let r=e.child;if(r!==null)return de(t,r);{let i=t[e.index];return Mt(i)?Ir(-1,i):ht(i)}}else{if(n&128)return de(t,e.next);if(n&32)return wi(e,t)()||ht(t[e.index]);{let r=du(t,e);if(r!==null){if(Array.isArray(r))return r[0];let i=Dt(t[ct]);return de(i,r)}else return de(t,e.next)}}}return null}function du(t,e){if(e!==null){let n=t[ct][lt],r=e.projection;return n.projection[r]}return null}function Ir(t,e){let n=J+t+1;if(n<e.length){let r=e[n],i=r[v].firstChild;if(i!==null)return de(r,i)}return e[ve]}function Ei(t,e,n,r,i,o,s){for(;n!=null;){let l=r[Ot];if(n.type===128){n=n.next;continue}let u=r[n.index],a=n.type;if(s&&e===0&&(u&&Kt(ht(u),r),n.flags|=2),!ql(n))if(a&8)Ei(t,e,n.child,r,i,o,!1),Ut(e,t,l,i,u,n,o,r);else if(a&32){let c=wi(n,r),d;for(;d=c();)Ut(e,t,l,i,d,n,o,r);Ut(e,t,l,i,u,n,o,r)}else a&16?Of(t,e,r,n,i,o):Ut(e,t,l,i,u,n,o,r);n=s?n.projectionNext:n.next}}function In(t,e,n,r,i,o){Ei(n,r,t.firstChild,e,i,o,!1)}function Of(t,e,n,r,i,o){let s=n[ct],l=s[lt].projection[r.projection];if(Array.isArray(l))for(let u=0;u<l.length;u++){let a=l[u];Ut(e,t,n[Ot],i,a,r,o,n)}else{let u=l,a=s[tt];Rl(r)&&(u.flags|=128),Ei(t,e,u,a,i,o,!0)}}function Df(t,e,n,r,i,o,s){let l=r[ve],u=ht(r);l!==u&&Ut(e,t,n,o,l,i,s);for(let a=J;a<r.length;a++){let c=r[a];In(c[v],c,t,e,o,l)}}function Nf(t,e,n,r,i){if(e)i?t.addClass(n,r):t.removeClass(n,r);else{let o=r.indexOf("-")===-1?void 0:Et.DashCase;i==null?t.removeStyle(n,r,o):(typeof i=="string"&&i.endsWith("!important")&&(i=i.slice(0,-10),o|=Et.Important),t.setStyle(n,r,i,o))}}function hu(t,e,n,r,i){let o=Ie(),s=r&2;try{Nt(-1),s&&e.length>Q&&nu(t,e,Q,!1),E(s?2:0,i,n),n(r,i)}finally{Nt(o),E(s?3:1,i,n)}}function fu(t,e,n){Lf(t,e,n),(n.flags&64)===64&&Uf(t,e,n)}function pu(t,e,n=mt){let r=e.localNames;if(r!==null){let i=e.index+1;for(let o=0;o<r.length;o+=2){let s=r[o+1],l=s===-1?n(e,t):t[s];t[i++]=l}}}function Rf(t,e,n,r){let i=r.get(Mh,Bl)||n===Pt.ShadowDom,o=t.selectRootElement(e,i);return Pf(o),o}function Pf(t){Ff(t)}var Ff=()=>null;function jf(t){return t==="class"?"className":t==="for"?"htmlFor":t==="formaction"?"formAction":t==="innerHtml"?"innerHTML":t==="readonly"?"readOnly":t==="tabindex"?"tabIndex":t}function Mf(t,e,n,r,i,o){let s=e[v];if(ki(t,s,e,n,r)){ke(t)&&Hf(e,t.index);return}t.type&3&&(n=jf(n)),zf(t,e,n,r,i,o)}function zf(t,e,n,r,i,o){if(t.type&3){let s=mt(t,e);r=o!=null?o(r,t.value||"",n):r,i.setProperty(s,n,r)}else t.type&12}function Hf(t,e){let n=ft(e,t);n[g]&16||(n[g]|=64)}function Lf(t,e,n){let r=n.directiveStart,i=n.directiveEnd;ke(n)&&uf(e,n,t.data[r+n.componentOffset]),t.firstCreatePass||cn(n,e);let o=n.initialInputs;for(let s=r;s<i;s++){let l=t.data[s],u=dn(e,t,s,n);if(Kt(u,e),o!==null&&$f(e,s-r,u,l,n,o),dt(l)){let a=ft(n.index,e);a[$]=dn(e,t,s,n)}}}function Uf(t,e,n){let r=n.directiveStart,i=n.directiveEnd,o=n.index,s=Yd();try{Nt(o);for(let l=r;l<i;l++){let u=t.data[l],a=e[l];gr(l),(u.hostBindings!==null||u.hostVars!==0||u.hostAttrs!==null)&&Zf(u,a)}}finally{Nt(-1),gr(s)}}function Zf(t,e){t.hostBindings!==null&&t.hostBindings(1,e)}function Bf(t,e){let n=t.directiveRegistry,r=null;if(n)for(let i=0;i<n.length;i++){let o=n[i];Jh(e,o.selectors,!1)&&(r??=[],dt(o)?r.unshift(o):r.push(o))}return r}function qf(t,e,n,r,i,o){let s=mt(t,e);Gf(e[H],s,o,t.value,n,r,i)}function Gf(t,e,n,r,i,o,s){if(o==null)t.removeAttribute(e,i,n);else{let l=s==null?Fs(o):s(o,r||"",i);t.setAttribute(e,i,l,n)}}function $f(t,e,n,r,i,o){let s=o[e];if(s!==null)for(let l=0;l<s.length;l+=2){let u=s[l],a=s[l+1];Er(r,n,u,a)}}function Qf(t,e,n,r,i){let o=Q+n,s=e[v],l=i(s,e,t,r,n);e[o]=l,Ae(t,!0);let u=t.type===2;return u?(Yl(e[H],l,t),(Md()===0||ii(t))&&Kt(l,e),zd()):Kt(l,e),di()&&(!u||!ql(t))&&Vi(s,e,l,t),t}function Wf(t){let e=t;return il()?Gd():(e=e.parent,Ae(e,!1)),e}function Kf(t,e){let n=t[Ot];if(!n)return;let r;try{r=n.get(ee,null)}catch{r=null}r?.(e)}function ki(t,e,n,r,i){let o=t.inputs?.[r],s=t.hostDirectiveInputs?.[r],l=!1;if(s)for(let u=0;u<s.length;u+=2){let a=s[u],c=s[u+1],d=e.data[a];Er(d,n[a],c,i),l=!0}if(o)for(let u of o){let a=n[u],c=e.data[u];Er(c,a,r,i),l=!0}return l}function Yf(t,e){let n=ft(e,t),r=n[v];Xf(r,n);let i=n[pt];i!==null&&n[nn]===null&&(n[nn]=Gl(i,n[Ot])),E(18),Ai(r,n,n[$]),E(19,n[$])}function Xf(t,e){for(let n=e.length;n<t.blueprint.length;n++)e.push(t.blueprint[n])}function Ai(t,e,n){ai(e);try{let r=t.viewQuery;r!==null&&Sr(1,r,n);let i=t.template;i!==null&&hu(t,e,i,1,n),t.firstCreatePass&&(t.firstCreatePass=!1),e[Wt]?.finishViewCreation(t),t.staticContentQueries&&$l(t,e),t.staticViewQueries&&Sr(2,t.viewQuery,n);let o=t.components;o!==null&&Jf(e,o)}catch(r){throw t.firstCreatePass&&(t.incompleteFirstPass=!0,t.firstCreatePass=!1),r}finally{e[g]&=-5,ci()}}function Jf(t,e){for(let n=0;n<e.length;n++)Yf(t,e[n])}function tp(t,e,n,r){let i=b(null);try{let o=e.tView,s=t[g]&4096?4096:16,l=bi(t,o,n,s,null,e,null,null,r?.injector??null,r?.embeddedViewInjector??null,r?.dehydratedView??null),u=t[e.index];l[Qt]=u;let a=t[Wt];return a!==null&&(l[Wt]=a.createEmbeddedView(o)),Ai(o,l,n),l}finally{b(i)}}function ep(t,e){return!e||e.firstChild===null||Rl(t)}function pn(t,e,n,r,i=!1){for(;n!==null;){if(n.type===128){n=i?n.projectionNext:n.next;continue}let o=e[n.index];o!==null&&r.push(ht(o)),Mt(o)&&np(o,r);let s=n.type;if(s&8)pn(t,e,n.child,r);else if(s&32){let l=wi(n,e),u;for(;u=l();)r.push(u)}else if(s&16){let l=du(e,n);if(Array.isArray(l))r.push(...l);else{let u=Dt(e[ct]);pn(u[v],u,l,r,!0)}}n=i?n.projectionNext:n.next}return r}function np(t,e){for(let n=J;n<t.length;n++){let r=t[n],i=r[v].firstChild;i!==null&&pn(r[v],r,i,e)}t[ve]!==t[pt]&&e.push(t[ve])}function mu(t){if(t[Un]!==null){for(let e of t[Un])e.impl.addSequence(e);t[Un].length=0}}var gu=[];function rp(t){return t[X]??ip(t)}function ip(t){let e=gu.pop()??Object.create(sp);return e.lView=t,e}function op(t){t.lView[X]!==t&&(t.lView=null,gu.push(t))}var sp=L(j({},Cn),{consumerIsAlwaysLive:!0,kind:"template",consumerMarkedDirty:t=>{Vn(t.lView)},consumerOnSignalRead(){this.lView[X]=this}});function lp(t){let e=t[X]??Object.create(up);return e.lView=t,e}var up=L(j({},Cn),{consumerIsAlwaysLive:!0,kind:"template",consumerMarkedDirty:t=>{let e=Dt(t.lView);for(;e&&!yu(e[v]);)e=Dt(e);e&&li(e)},consumerOnSignalRead(){this.lView[X]=this}});function yu(t){return t.type!==2}function vu(t){if(t[on]===null)return;let e=!0;for(;e;){let n=!1;for(let r of t[on])r.dirty&&(n=!0,r.zone===null||Zone.current===r.zone?r.run():r.zone.run(()=>r.run()));e=n&&!!(t[g]&8192)}}var ap=100;function bu(t,e=0){let n=t[wt].rendererFactory,r=!1;r||n.begin?.();try{cp(t,e)}finally{r||n.end?.()}}function cp(t,e){let n=ol();try{so(!0),Tr(t,e);let r=0;for(;we(t);){if(r===ap)throw new _(103,!1);r++,Tr(t,1)}}finally{so(n)}}function dp(t,e,n,r){if(te(e))return;let i=e[g],o=!1,s=!1;ai(e);let l=!0,u=null,a=null;o||(yu(t)?(a=rp(e),u=or(a)):Na()===null?(l=!1,a=lp(e),u=or(a)):e[X]&&(is(e[X]),e[X]=null));try{el(e),$d(t.bindingStartIndex),n!==null&&hu(t,e,n,2,r);let c=(i&3)===3;if(!o)if(c){let h=t.preOrderCheckHooks;h!==null&&We(e,h,null)}else{let h=t.preOrderHooks;h!==null&&Ke(e,h,0,null),Zn(e,0)}if(s||hp(e),vu(e),wu(e,0),t.contentQueries!==null&&$l(t,e),!o)if(c){let h=t.contentCheckHooks;h!==null&&We(e,h)}else{let h=t.contentHooks;h!==null&&Ke(e,h,1),Zn(e,1)}pp(t,e);let d=t.components;d!==null&&Cu(e,d,0);let f=t.viewQuery;if(f!==null&&Sr(2,f,r),!o)if(c){let h=t.viewCheckHooks;h!==null&&We(e,h)}else{let h=t.viewHooks;h!==null&&Ke(e,h,2),Zn(e,2)}if(t.firstUpdatePass===!0&&(t.firstUpdatePass=!1),e[Ln]){for(let h of e[Ln])h();e[Ln]=null}o||(mu(e),e[g]&=-73)}catch(c){throw o||Vn(e),c}finally{a!==null&&(ns(a,u),l&&op(a)),ci()}}function wu(t,e){for(let n=jl(t);n!==null;n=Ml(n))for(let r=J;r<n.length;r++){let i=n[r];_u(i,e)}}function hp(t){for(let e=jl(t);e!==null;e=Ml(e)){if(!(e[g]&2))continue;let n=e[ln];for(let r=0;r<n.length;r++){let i=n[r];li(i)}}}function fp(t,e,n){E(18);let r=ft(e,t);_u(r,n),E(19,r[$])}function _u(t,e){si(t)&&Tr(t,e)}function Tr(t,e){let n=t[v],r=t[g],i=t[X],o=!!(e===0&&r&16);if(o||=!!(r&64&&e===0),o||=!!(r&1024),o||=!!(i?.dirty&&rs(i)),o||=!1,i&&(i.dirty=!1),t[g]&=-9217,o)dp(n,t,n.template,t[$]);else if(r&8192){let s=b(null);try{vu(t),wu(t,1);let l=n.components;l!==null&&Cu(t,l,1),mu(t)}finally{b(s)}}}function Cu(t,e,n){for(let r=0;r<e.length;r++)fp(t,e[r],n)}function pp(t,e){let n=t.hostBindingOpCodes;if(n!==null)try{for(let r=0;r<n.length;r++){let i=n[r];if(i<0)Nt(~i);else{let o=i,s=n[++r],l=n[++r];Kd(s,o);let u=e[o];E(24,u),l(2,u),E(25,u)}}}finally{Nt(-1)}}function Ii(t,e){let n=ol()?64:1088;for(t[wt].changeDetectionScheduler?.notify(e);t;){t[g]|=n;let r=Dt(t);if(un(t)&&!r)return t;t=r}return null}function mp(t,e,n,r){return[t,!0,0,e,null,r,null,n,null,null]}function gp(t,e){let n=J+e;if(n<t.length)return t[n]}function yp(t,e,n,r=!0){let i=e[v];if(bp(i,e,t,n),r){let s=Ir(n,t),l=e[H],u=l.parentNode(t[ve]);u!==null&&_f(i,t[lt],l,e,u,s)}let o=e[nn];o!==null&&o.firstChild!==null&&(o.firstChild=null)}function vp(t,e){let n=xu(t,e);return n!==void 0&&cu(n[v],n),n}function xu(t,e){if(t.length<=J)return;let n=J+e,r=t[n];if(r){let i=r[Qt];i!==null&&i!==t&&Si(i,r),e>0&&(t[n-1][nt]=r[nt]);let o=Us(t,J+e);wf(r[v],r);let s=o[Wt];s!==null&&s.detachView(o[v]),r[tt]=null,r[nt]=null,r[g]&=-129}return r}function bp(t,e,n,r){let i=J+r,o=n.length;r>0&&(n[i-1][nt]=e),r<o-J?(e[nt]=n[i],pd(n,J+r,e)):(n.push(e),e[nt]=null),e[tt]=n;let s=e[Qt];s!==null&&n!==s&&Su(s,e);let l=e[Wt];l!==null&&l.insertView(t),pr(e),e[g]|=128}function Su(t,e){let n=t[ln],r=e[tt];if(bt(r))t[g]|=2;else{let i=r[tt][ct];e[ct]!==i&&(t[g]|=2)}n===null?t[ln]=[e]:n.push(e)}var wp=class{_lView;_cdRefInjectingView;_appRef=null;_attachedToViewContainer=!1;exhaustive;get rootNodes(){let t=this._lView,e=t[v];return pn(e,t,e.firstChild,[])}constructor(t,e){this._lView=t,this._cdRefInjectingView=e}get context(){return this._lView[$]}set context(t){this._lView[$]=t}get destroyed(){return te(this._lView)}destroy(){if(this._appRef)this._appRef.detachView(this);else if(this._attachedToViewContainer){let t=this._lView[tt];if(Mt(t)){let e=t[Od],n=e?e.indexOf(this):-1;n>-1&&(xu(t,n),Us(e,n))}this._attachedToViewContainer=!1}cu(this._lView[v],this._lView)}onDestroy(t){nl(this._lView,t)}markForCheck(){Ii(this._cdRefInjectingView||this._lView,4)}detach(){this._lView[g]&=-129}reattach(){pr(this._lView),this._lView[g]|=128}detectChanges(){this._lView[g]|=1024,bu(this._lView)}checkNoChanges(){}attachToViewContainerRef(){if(this._appRef)throw new _(902,!1);this._attachedToViewContainer=!0}detachFromAppRef(){this._appRef=null;let t=un(this._lView),e=this._lView[Qt];e!==null&&!t&&Si(e,this._lView),au(this._lView[v],this._lView)}attachToAppRef(t){if(this._attachedToViewContainer)throw new _(902,!1);this._appRef=t;let e=un(this._lView),n=this._lView[Qt];n!==null&&!e&&Su(n,this._lView),pr(this._lView)}};function _p(t){return we(t._lView)||!!(t._lView[g]&64)}function Cp(t){li(t._lView)}function Ti(t,e,n,r,i){let o=t.data[e];if(o===null)o=xp(t,e,n,r,i),Wd()&&(o.flags|=32);else if(o.type&64){o.type=n,o.value=r,o.attrs=i;let s=qd();o.injectorIndex=s===null?-1:s.injectorIndex}return Ae(o,!0),o}function xp(t,e,n,r,i){let o=rl(),s=il(),l=s?o:o&&o.parent,u=t.data[e]=Vp(t,l,n,e,r,i);return Sp(t,u,o,s),u}function Sp(t,e,n,r){t.firstChild===null&&(t.firstChild=e),n!==null&&(r?n.child==null&&e.parent!==null&&(n.child=e):n.next===null&&(n.next=e,e.prev=n))}function Vp(t,e,n,r,i,o){let s=e?e.injectorIndex:-1,l=0;return Ud()&&(l|=128),{type:n,index:r,insertBeforeIndex:null,injectorIndex:s,directiveStart:-1,directiveEnd:-1,directiveStylingLast:-1,componentOffset:-1,propertyBindings:null,flags:l,providerIndexes:0,value:i,namespace:fl(),attrs:o,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:e,projection:null,styles:null,stylesWithoutHost:null,residualStyles:void 0,classes:null,classesWithoutHost:null,residualClasses:void 0,classBindings:0,styleBindings:0}}var Xy=new RegExp(`^(\\d+)*(${jh}|${Fh})*(.*)`),Ep=()=>null;function kp(t,e,n){return Ep(t,e,n)}var Ap=class{},Vu=class{},Ip=class{resolveComponentFactory(t){throw new _(917,!1)}},Fe=class{static NULL=new Ip},Oi=class{},Eu=(()=>{class t{destroyNode=null;static __NG_ELEMENT_ID__=()=>Tp()}return t})();function Tp(){let t=P(),e=Ct(),n=ft(e.index,t);return(bt(n)?n:t)[H]}var Op=(()=>{class t{static \u0275prov=F({token:t,providedIn:"root",factory:()=>null})}return t})(),Gn={},Dp=class{injector;parentInjector;constructor(t,e){this.injector=t,this.parentInjector=e}get(t,e,n){let r=this.injector.get(t,Gn,n);return r!==Gn||e===Gn?r:this.parentInjector.get(t,e,n)}};function Vo(t,e,n){let r=n?t.styles:null,i=n?t.classes:null,o=0;if(e!==null)for(let s=0;s<e.length;s++){let l=e[s];if(typeof l=="number")o=l;else if(o==1)i=to(i,l);else if(o==2){let u=l,a=e[++s];r=to(r,u+": "+a+";")}}n?t.styles=r:t.stylesWithoutHost=r,n?t.classes=i:t.classesWithoutHost=i}function A(t,e=0){let n=P();if(n===null)return k(t,e);let r=Ct();return Il(r,n,U(t),e)}function Np(t,e,n,r,i){let o=r===null?null:{"":-1},s=i(t,n);if(s!==null){let l=s,u=null,a=null;for(let c of s)if(c.resolveHostDirectives!==null){[l,u,a]=c.resolveHostDirectives(s);break}Fp(t,e,n,l,o,u,a)}o!==null&&r!==null&&Rp(n,r,o)}function Rp(t,e,n){let r=t.localNames=[];for(let i=0;i<e.length;i+=2){let o=n[e[i+1]];if(o==null)throw new _(-301,!1);r.push(e[i],o)}}function Pp(t,e,n){e.componentOffset=n,(t.components??=[]).push(e.index)}function Fp(t,e,n,r,i,o,s){let l=r.length,u=!1;for(let f=0;f<l;f++){let h=r[f];!u&&dt(h)&&(u=!0,Pp(t,n,f)),wr(cn(n,e),t,h.type)}Up(n,t.data.length,l);for(let f=0;f<l;f++){let h=r[f];h.providersResolver&&h.providersResolver(h)}let a=!1,c=!1,d=tu(t,e,l,null);l>0&&(n.directiveToIndex=new Map);for(let f=0;f<l;f++){let h=r[f];if(n.mergedAttrs=_e(n.mergedAttrs,h.hostAttrs),Mp(t,n,e,d,h),Lp(d,h,i),s!==null&&s.has(h)){let[D,O]=s.get(h);n.directiveToIndex.set(h.type,[d,D+n.directiveStart,O+n.directiveStart])}else(o===null||!o.has(h))&&n.directiveToIndex.set(h.type,d);h.contentQueries!==null&&(n.flags|=4),(h.hostBindings!==null||h.hostAttrs!==null||h.hostVars!==0)&&(n.flags|=64);let m=h.type.prototype;!a&&(m.ngOnChanges||m.ngOnInit||m.ngDoCheck)&&((t.preOrderHooks??=[]).push(n.index),a=!0),!c&&(m.ngOnChanges||m.ngDoCheck)&&((t.preOrderCheckHooks??=[]).push(n.index),c=!0),d++}jp(t,n,o)}function jp(t,e,n){for(let r=e.directiveStart;r<e.directiveEnd;r++){let i=t.data[r];if(n===null||!n.has(i))Eo(0,e,i,r),Eo(1,e,i,r),Ao(e,r,!1);else{let o=n.get(i);ko(0,e,o,r),ko(1,e,o,r),Ao(e,r,!0)}}}function Eo(t,e,n,r){let i=t===0?n.inputs:n.outputs;for(let o in i)if(i.hasOwnProperty(o)){let s;t===0?s=e.inputs??={}:s=e.outputs??={},s[o]??=[],s[o].push(r),ku(e,o)}}function ko(t,e,n,r){let i=t===0?n.inputs:n.outputs;for(let o in i)if(i.hasOwnProperty(o)){let s=i[o],l;t===0?l=e.hostDirectiveInputs??={}:l=e.hostDirectiveOutputs??={},l[s]??=[],l[s].push(r,o),ku(e,s)}}function ku(t,e){e==="class"?t.flags|=8:e==="style"&&(t.flags|=16)}function Ao(t,e,n){let{attrs:r,inputs:i,hostDirectiveInputs:o}=t;if(r===null||!n&&i===null||n&&o===null||yi(t)){t.initialInputs??=[],t.initialInputs.push(null);return}let s=null,l=0;for(;l<r.length;){let u=r[l];if(u===0){l+=4;continue}else if(u===5){l+=2;continue}else if(typeof u=="number")break;if(!n&&i.hasOwnProperty(u)){let a=i[u];for(let c of a)if(c===e){s??=[],s.push(u,r[l+1]);break}}else if(n&&o.hasOwnProperty(u)){let a=o[u];for(let c=0;c<a.length;c+=2)if(a[c]===e){s??=[],s.push(a[c+1],r[l+1]);break}}l+=2}t.initialInputs??=[],t.initialInputs.push(s)}function Mp(t,e,n,r,i){t.data[r]=i;let o=i.factory||(i.factory=Gt(i.type,!0)),s=new Ne(o,dt(i),A,null);t.blueprint[r]=s,n[r]=s,zp(t,e,r,tu(t,n,i.hostVars,ne),i)}function zp(t,e,n,r,i){let o=i.hostBindings;if(o){let s=t.hostBindingOpCodes;s===null&&(s=t.hostBindingOpCodes=[]);let l=~e.index;Hp(s)!=l&&s.push(l),s.push(n,r,o)}}function Hp(t){let e=t.length;for(;e>0;){let n=t[--e];if(typeof n=="number"&&n<0)return n}return 0}function Lp(t,e,n){if(n){if(e.exportAs)for(let r=0;r<e.exportAs.length;r++)n[e.exportAs[r]]=t;dt(e)&&(n[""]=t)}}function Up(t,e,n){t.flags|=1,t.directiveStart=e,t.directiveEnd=e+n,t.providerIndexes=e}function Au(t,e,n,r,i,o,s,l){let u=e[v],a=u.consts,c=be(a,s),d=Ti(u,t,n,r,c);return o&&Np(u,e,d,be(a,l),i),d.mergedAttrs=_e(d.mergedAttrs,d.attrs),d.attrs!==null&&Vo(d,d.attrs,!1),d.mergedAttrs!==null&&Vo(d,d.mergedAttrs,!0),u.queries!==null&&u.queries.elementStart(u,d),d}function Iu(t,e){hh(t,e),tl(e)&&t.queries.elementEnd(e)}function Tn(t,e,n){if(n===ne)return!1;let r=t[e];return Object.is(r,n)?!1:(t[e]=n,!0)}function $n(t,e,n){return function r(i){let o=ke(t)?ft(t.index,e):e;Ii(o,5);let s=e[$],l=Io(e,s,n,i),u=r.__ngNextListenerFn__;for(;u;)l=Io(e,s,u,i)&&l,u=u.__ngNextListenerFn__;return l}}function Io(t,e,n,r){let i=b(null);try{return E(6,e,n),n(r)!==!1}catch(o){return Kf(t,o),!1}finally{E(7,e,n),b(i)}}function Zp(t,e,n,r,i,o,s,l){let u=ii(t),a=!1,c=null;if(!r&&u&&(c=qp(e,n,o,t.index)),c!==null){let d=c.__ngLastListenerFn__||c;d.__ngNextListenerFn__=s,c.__ngLastListenerFn__=s,a=!0}else{let d=mt(t,n),f=r?r(d):d;Hh(n,f,o,l);let h=i.listen(f,o,l);if(!Bp(o)){let m=r?D=>r(ht(D[t.index])):t.index;Tu(m,e,n,o,l,h,!1)}}return a}function Bp(t){return t.startsWith("animation")||t.startsWith("transition")}function qp(t,e,n,r){let i=t.cleanup;if(i!=null)for(let o=0;o<i.length-1;o+=2){let s=i[o];if(s===n&&i[o+1]===r){let l=e[rn],u=i[o+2];return l&&l.length>u?l[u]:null}typeof s=="string"&&(o+=2)}return null}function Tu(t,e,n,r,i,o,s){let l=e.firstCreatePass?jd(e):null,u=Fd(n),a=u.length;u.push(i,o),l&&l.push(r,t,a,(a+1)*(s?-1:1))}function To(t,e,n,r,i,o){let s=e[n],l=e[v],u=l.data[n].outputs[r],a=s[u].subscribe(o);Tu(t.index,l,e,i,o,a,!0)}var Or=Symbol("BINDING"),Gp=class extends Fe{ngModule;constructor(t){super(),this.ngModule=t}resolveComponentFactory(t){let e=Jr(t);return new tm(e,this.ngModule)}};function $p(t){return Object.keys(t).map(e=>{let[n,r,i]=t[e],o={propName:n,templateName:e,isSignal:(r&An.SignalBased)!==0};return i&&(o.transform=i),o})}function Qp(t){return Object.keys(t).map(e=>({propName:t[e],templateName:e}))}function Wp(t,e,n){let r=e instanceof Tt?e:e?.injector;return r&&t.getStandaloneInjector!==null&&(r=t.getStandaloneInjector(r)||r),r?new Dp(n,r):n}function Kp(t){let e=t.get(Oi,null);if(e===null)throw new _(407,!1);let n=t.get(Op,null),r=t.get(Oe,null);return{rendererFactory:e,sanitizer:n,changeDetectionScheduler:r,ngReflect:!1}}function Yp(t,e){let n=Jp(t);return Wl(e,n,n==="svg"?Dd:n==="math"?Nd:null)}function Xp(t){if(t?.toLowerCase()==="script")throw new _(905,!1)}function Jp(t){return(t.selectors[0][0]||"div").toLowerCase()}var tm=class extends Vu{componentDef;ngModule;selector;componentType;ngContentSelectors;isBoundToModule;cachedInputs=null;cachedOutputs=null;get inputs(){return this.cachedInputs??=$p(this.componentDef.inputs),this.cachedInputs}get outputs(){return this.cachedOutputs??=Qp(this.componentDef.outputs),this.cachedOutputs}constructor(t,e){super(),this.componentDef=t,this.ngModule=e,this.componentType=t.type,this.selector=rf(t.selectors),this.ngContentSelectors=t.ngContentSelectors??[],this.isBoundToModule=!!e}create(t,e,n,r,i,o){E(22);let s=b(null);try{let l=this.componentDef,u=em(n,l,o,i),a=Wp(l,r||this.ngModule,t),c=Kp(a),d=c.rendererFactory.createRenderer(null,l),f=n?Rf(d,n,l.encapsulation,a):Yp(l,d);Xp(f?.tagName);let h=o?.some(Oo)||i?.some(O=>typeof O!="function"&&O.bindings.some(Oo)),m=bi(null,u,null,512|Jl(l),null,null,c,d,a,null,Gl(f,a,!0));m[Q]=f,ai(m);let D=null;try{let O=Au(Q,m,2,"#host",()=>u.directiveRegistry,!0,0);Yl(d,f,O),Kt(f,m),fu(u,m,O),Ql(u,O,m),Iu(u,O),e!==void 0&&im(O,this.ngContentSelectors,e),D=ft(O.index,m),m[$]=D[$],Ai(u,m,null)}catch(O){throw D!==null&&Cr(D),Cr(m),O}finally{E(23),ci()}return new rm(this.componentType,m,!!h)}finally{b(s)}}};function em(t,e,n,r){let i=t?["ng-version","20.3.33"]:of(e.selectors[0]),o=null,s=null,l=0;if(n)for(let a of n)l+=a[Or].requiredVars,a.create&&(a.targetIdx=0,(o??=[]).push(a)),a.update&&(a.targetIdx=0,(s??=[]).push(a));if(r)for(let a=0;a<r.length;a++){let c=r[a];if(typeof c!="function")for(let d of c.bindings){l+=d[Or].requiredVars;let f=a+1;d.create&&(d.targetIdx=f,(o??=[]).push(d)),d.update&&(d.targetIdx=f,(s??=[]).push(d))}}let u=[e];if(r)for(let a of r){let c=typeof a=="function"?a:a.type,d=Gs(c);u.push(d)}return vi(0,null,nm(o,s),1,l,u,null,null,null,[i],null)}function nm(t,e){return!t&&!e?null:n=>{if(n&1&&t)for(let r of t)r.create();if(n&2&&e)for(let r of e)r.update()}}function Oo(t){let e=t[Or].kind;return e==="input"||e==="twoWay"}var rm=class extends Ap{_rootLView;_hasInputBindings;instance;hostView;changeDetectorRef;componentType;location;previousInputValues=null;_tNode;constructor(t,e,n){super(),this._rootLView=e,this._hasInputBindings=n,this._tNode=oi(e[v],Q),this.location=Nl(this._tNode,e),this.instance=ft(this._tNode.index,e)[$],this.hostView=this.changeDetectorRef=new wp(e,void 0),this.componentType=t}setInput(t,e){this._hasInputBindings;let n=this._tNode;if(this.previousInputValues??=new Map,this.previousInputValues.has(t)&&Object.is(this.previousInputValues.get(t),e))return;let r=this._rootLView,i=ki(n,r[v],r,t,e);this.previousInputValues.set(t,e);let o=ft(n.index,r);Ii(o,1)}get injector(){return new Ol(this._tNode,this._rootLView)}destroy(){this.hostView.destroy()}onDestroy(t){this.hostView.onDestroy(t)}};function im(t,e,n){let r=t.projection=[];for(let i=0;i<e.length;i++){let o=n[i];r.push(o!=null&&o.length?Array.from(o):null)}}var om=()=>!1;function sm(t,e,n){return om(t,e,n)}var Dr=class{},Ou=class extends Dr{injector;componentFactoryResolver=new Gp(this);instance=null;constructor(t){super();let e=new ri([...t.providers,{provide:Dr,useValue:this},{provide:Fe,useValue:this.componentFactoryResolver}],t.parent||ni(),t.debugName,new Set(["environment"]));this.injector=e,t.runEnvironmentInitializers&&e.resolveInjectorInitializers()}destroy(){this.injector.destroy()}onDestroy(t){this.injector.onDestroy(t)}};function lm(t,e,n=null){return new Ou({providers:t,parent:e,debugName:n,runEnvironmentInitializers:!0}).injector}var um=(()=>{class t{_injector;cachedInjectors=new Map;constructor(n){this._injector=n}getOrCreateStandaloneInjector(n){if(!n.standalone)return null;if(!this.cachedInjectors.has(n)){let r=$s(!1,n.type),i=r.length>0?lm([r],this._injector,`Standalone[${n.type.name}]`):null;this.cachedInjectors.set(n,i)}return this.cachedInjectors.get(n)}ngOnDestroy(){try{for(let n of this.cachedInjectors.values())n!==null&&n.destroy()}finally{this.cachedInjectors.clear()}}static \u0275prov=F({token:t,providedIn:"environment",factory:()=>new t(k(Tt))})}return t})();function am(t){return kn(()=>{let e=Nu(t),n=L(j({},e),{decls:t.decls,vars:t.vars,template:t.template,consts:t.consts||null,ngContentSelectors:t.ngContentSelectors,onPush:t.changeDetection===Pl.OnPush,directiveDefs:null,pipeDefs:null,dependencies:e.standalone&&t.dependencies||null,getStandaloneInjector:e.standalone?i=>i.get(um).getOrCreateStandaloneInjector(n):null,getExternalStyles:null,signals:t.signals??!1,data:t.data||{},encapsulation:t.encapsulation||Pt.Emulated,styles:t.styles||Y,_:null,schemas:t.schemas||null,tView:null,id:""});e.standalone&&Pe("NgStandalone"),Ru(n);let r=t.dependencies;return n.directiveDefs=Do(r,cm),n.pipeDefs=Do(r,vd),n.id=fm(n),n})}function cm(t){return Jr(t)||Gs(t)}function Du(t){return kn(()=>({type:t.type,bootstrap:t.bootstrap||Y,declarations:t.declarations||Y,imports:t.imports||Y,exports:t.exports||Y,transitiveCompileScopes:null,schemas:t.schemas||null,id:t.id||null}))}function dm(t,e){if(t==null)return It;let n={};for(let r in t)if(t.hasOwnProperty(r)){let i=t[r],o,s,l,u;Array.isArray(i)?(l=i[0],o=i[1],s=i[2]??o,u=i[3]||null):(o=i,s=i,l=An.None,u=null),n[o]=[r,l,u],e[o]=s}return n}function hm(t){if(t==null)return It;let e={};for(let n in t)t.hasOwnProperty(n)&&(e[t[n]]=n);return e}function B(t){return kn(()=>{let e=Nu(t);return Ru(e),e})}function Nu(t){let e={};return{type:t.type,providersResolver:null,factory:null,hostBindings:t.hostBindings||null,hostVars:t.hostVars||0,hostAttrs:t.hostAttrs||null,contentQueries:t.contentQueries||null,declaredInputs:e,inputConfig:t.inputs||It,exportAs:t.exportAs||null,standalone:t.standalone??!0,signals:t.signals===!0,selectors:t.selectors||Y,viewQuery:t.viewQuery||null,features:t.features||null,setInput:null,resolveHostDirectives:null,hostDirectives:null,inputs:dm(t.inputs,e),outputs:hm(t.outputs),debugInfo:null}}function Ru(t){t.features?.forEach(e=>e(t))}function Do(t,e){return t?()=>{let n=typeof t=="function"?t():t,r=[];for(let i of n){let o=e(i);o!==null&&r.push(o)}return r}:null}function fm(t){let e=0,n=typeof t.consts=="function"?"":t.consts,r=[t.selectors,t.ngContentSelectors,t.hostVars,t.hostAttrs,n,t.vars,t.decls,t.encapsulation,t.standalone,t.signals,t.exportAs,JSON.stringify(t.inputs),JSON.stringify(t.outputs),Object.getOwnPropertyNames(t.type.prototype),!!t.contentQueries,!!t.viewQuery];for(let i of r.join("|"))e=Math.imul(31,e)+i.charCodeAt(0)<<0;return e+=2147483648,"c"+e}function pm(t){return Object.getPrototypeOf(t.prototype).constructor}function W(t){let e=pm(t.type),n=!0,r=[t];for(;e;){let i;if(dt(t))i=e.\u0275cmp||e.\u0275dir;else{if(e.\u0275cmp)throw new _(903,!1);i=e.\u0275dir}if(i){if(n){r.push(i);let s=t;s.inputs=Qn(t.inputs),s.declaredInputs=Qn(t.declaredInputs),s.outputs=Qn(t.outputs);let l=i.hostBindings;l&&bm(t,l);let u=i.viewQuery,a=i.contentQueries;if(u&&ym(t,u),a&&vm(t,a),mm(t,i),Yc(t.outputs,i.outputs),dt(i)&&i.data.animation){let c=t.data;c.animation=(c.animation||[]).concat(i.data.animation)}}let o=i.features;if(o)for(let s=0;s<o.length;s++){let l=o[s];l&&l.ngInherit&&l(t),l===W&&(n=!1)}}e=Object.getPrototypeOf(e)}gm(r)}function mm(t,e){for(let n in e.inputs){if(!e.inputs.hasOwnProperty(n)||t.inputs.hasOwnProperty(n))continue;let r=e.inputs[n];r!==void 0&&(t.inputs[n]=r,t.declaredInputs[n]=e.declaredInputs[n])}}function gm(t){let e=0,n=null;for(let r=t.length-1;r>=0;r--){let i=t[r];i.hostVars=e+=i.hostVars,i.hostAttrs=_e(i.hostAttrs,n=_e(n,i.hostAttrs))}}function Qn(t){return t===It?{}:t===Y?[]:t}function ym(t,e){let n=t.viewQuery;n?t.viewQuery=(r,i)=>{e(r,i),n(r,i)}:t.viewQuery=e}function vm(t,e){let n=t.contentQueries;n?t.contentQueries=(r,i,o)=>{e(r,i,o),n(r,i,o)}:t.contentQueries=e}function bm(t,e){let n=t.hostBindings;n?t.hostBindings=(r,i)=>{e(r,i),n(r,i)}:t.hostBindings=e}function wm(t,e,n,r,i,o,s,l){if(n.firstCreatePass){t.mergedAttrs=_e(t.mergedAttrs,t.attrs);let c=t.tView=vi(2,t,i,o,s,n.directiveRegistry,n.pipeRegistry,null,n.schemas,n.consts,null);n.queries!==null&&(n.queries.template(n,t),c.queries=n.queries.embeddedTView(t))}l&&(t.flags|=l),Ae(t,!1);let u=_m(n,e,t,r);di()&&Vi(n,e,u,t),Kt(u,e);let a=mp(u,e,u,t);e[r+Q]=a,eu(e,a),sm(a,t,e)}function Pu(t,e,n,r,i,o,s,l,u,a,c){let d=n+Q,f;if(e.firstCreatePass){if(f=Ti(e,d,4,s||null,l||null),a!=null){let h=be(e.consts,a);f.localNames=[];for(let m=0;m<h.length;m+=2)f.localNames.push(h[m],-1)}}else f=e.data[d];return wm(f,t,e,n,r,i,o,u),a!=null&&pu(t,f,c),f}var _m=Cm;function Cm(t,e,n,r){return hi(!0),e[H].createComment("")}var xm=new S("");function Di(t){return!!t&&typeof t.then=="function"}function Sm(t){return!!t&&typeof t.subscribe=="function"}var Vm=new S(""),Fu=(()=>{class t{resolve;reject;initialized=!1;done=!1;donePromise=new Promise((n,r)=>{this.resolve=n,this.reject=r});appInits=C(Vm,{optional:!0})??[];injector=C(En);constructor(){}runInitializers(){if(this.initialized)return;let n=[];for(let i of this.appInits){let o=Ys(this.injector,i);if(Di(o))n.push(o);else if(Sm(o)){let s=new Promise((l,u)=>{o.subscribe({complete:l,error:u})});n.push(s)}}let r=()=>{this.done=!0,this.resolve()};Promise.all(n).then(()=>{r()}).catch(i=>{this.reject(i)}),n.length===0&&r(),this.initialized=!0}static \u0275fac=function(n){return new(n||t)};static \u0275prov=F({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})(),Em=new S("");function km(){Ua(()=>{let t="";throw new _(600,t)})}function Am(t){return t.isBoundToModule}var Im=10,Ce=(()=>{class t{_runningTick=!1;_destroyed=!1;_destroyListeners=[];_views=[];internalErrorHandler=C(ee);afterRenderManager=C(yf);zonelessEnabled=C(fi);rootEffectScheduler=C(oh);dirtyFlags=0;tracingSnapshot=null;allTestViews=new Set;autoDetectTestViews=new Set;includeAllTestViews=!1;afterTick=new Jt;get allViews(){return[...(this.includeAllTestViews?this.allTestViews:this.autoDetectTestViews).keys(),...this._views]}get destroyed(){return this._destroyed}componentTypes=[];components=[];internalPendingTask=C(De);get isStable(){return this.internalPendingTask.hasPendingTasksObservable.pipe(xn(n=>!n))}constructor(){C(_i,{optional:!0})}whenStable(){let n;return new Promise(r=>{n=this.isStable.subscribe({next:i=>{i&&r()}})}).finally(()=>{n.unsubscribe()})}_injector=C(Tt);_rendererFactory=null;get injector(){return this._injector}bootstrap(n,r){return this.bootstrapImpl(n,r)}bootstrapImpl(n,r,i=En.NULL){return this._injector.get(q).run(()=>{E(10);let o=n instanceof Vu;if(!this._injector.get(Fu).done){let f="";throw new _(405,f)}let s;o?s=n:s=this._injector.get(Fe).resolveComponentFactory(n),this.componentTypes.push(s.componentType);let l=Am(s)?void 0:this._injector.get(Dr),u=r||s.selector,a=s.create(i,[],u,l),c=a.location.nativeElement,d=a.injector.get(xm,null);return d?.registerApplication(c),a.onDestroy(()=>{this.detachView(a.hostView),Ye(this.components,a),d?.unregisterApplication(c)}),this._loadComponent(a),E(11,a),a})}tick(){this.zonelessEnabled||(this.dirtyFlags|=1),this._tick()}_tick(){E(12),this.tracingSnapshot!==null?this.tracingSnapshot.run(ru.CHANGE_DETECTION,this.tickImpl):this.tickImpl()}tickImpl=()=>{if(this._runningTick)throw new _(101,!1);let n=b(null);try{this._runningTick=!0,this.synchronize()}finally{this._runningTick=!1,this.tracingSnapshot?.dispose(),this.tracingSnapshot=null,b(n),this.afterTick.next(),E(13)}};synchronize(){this._rendererFactory===null&&!this._injector.destroyed&&(this._rendererFactory=this._injector.get(Oi,null,{optional:!0}));let n=0;for(;this.dirtyFlags!==0&&n++<Im;)E(14),this.synchronizeOnce(),E(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:i}of this.allViews){if(!r&&!we(i))continue;let o=r&&!this.zonelessEnabled?0:1;bu(i,o),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})=>we(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;Ye(this._views,r),r.detachFromAppRef()}_loadComponent(n){this.attachView(n.hostView);try{this.tick()}catch(r){this.internalErrorHandler(r)}this.components.push(n),this._injector.get(Em,[]).forEach(r=>r(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),()=>Ye(this._destroyListeners,n)}destroy(){if(this._destroyed)throw new _(406,!1);let n=this._injector;n.destroy&&!n.destroyed&&n.destroy()}get viewCount(){return this._views.length}static \u0275fac=function(n){return new(n||t)};static \u0275prov=F({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})();function Ye(t,e){let n=t.indexOf(e);n>-1&&t.splice(n,1)}function ju(t,e,n,r){let i=P(),o=ui();if(Tn(i,o,e)){let s=rt(),l=hl();qf(l,i,t,e,n,r)}return ju}var Jy=typeof document<"u"&&typeof document?.documentElement?.getAnimations=="function";function ze(t,e,n,r,i,o,s,l){Pe("NgControlFlow");let u=P(),a=rt(),c=be(a.consts,o);return Pu(u,a,t,e,n,r,i,c,256,s,l),Mu}function Mu(t,e,n,r,i,o,s,l){Pe("NgControlFlow");let u=P(),a=rt(),c=be(a.consts,o);return Pu(u,a,t,e,n,r,i,c,512,s,l),Mu}function He(t,e){Pe("NgControlFlow");let n=P(),r=ui(),i=n[r]!==ne?n[r]:-1,o=i!==-1?No(n,Q+i):void 0,s=0;if(Tn(n,r,t)){let l=b(null);try{if(o!==void 0&&vp(o,s),t!==-1){let u=Q+t,a=No(n,u),c=Tm(n[v],u),d=kp(a,c,n),f=tp(n,c,e,{dehydratedView:d});yp(a,f,s,ep(c,d))}}finally{b(l)}}else if(o!==void 0){let l=gp(o,s);l!==void 0&&(l[$]=e)}}function No(t,e){return t[e]}function Tm(t,e){return oi(t,e)}function zu(t,e,n){let r=P(),i=ui();if(Tn(r,i,e)){let o=rt(),s=hl();Mf(s,r,t,e,r[H],n)}return zu}function Ro(t,e,n,r,i){ki(e,t,n,i?"class":"style",r)}function y(t,e,n,r){let i=P(),o=i[v],s=t+Q,l=o.firstCreatePass?Au(s,i,2,e,Bf,Ld(),n,r):o.data[s];if(Qf(l,i,t,e,Om),ii(l)){let u=i[v];fu(u,i,l),Ql(u,l,i)}return r!=null&&pu(i,l),y}function p(){let t=rt(),e=Ct(),n=Wf(e);return t.firstCreatePass&&Iu(t,n),Zd(n)&&Bd(),Hd(),n.classesWithoutHost!=null&&ph(n)&&Ro(t,n,P(),n.classesWithoutHost,!0),n.stylesWithoutHost!=null&&mh(n)&&Ro(t,n,P(),n.stylesWithoutHost,!1),p}function I(t,e,n,r){return y(t,e,n,r),p(),I}var Om=(t,e,n,r,i)=>(hi(!0),Wl(e[H],r,fl())),mn="en-US",Dm=mn;function Nm(t){typeof t=="string"&&(Dm=t.toLowerCase().replace(/_/g,"-"))}function re(t,e,n){let r=P(),i=rt(),o=Ct();return Rm(i,r,r[H],o,t,e,n),re}function Rm(t,e,n,r,i,o,s){let l=!0,u=null;if((r.type&3||s)&&(u??=$n(r,e,o),Zp(r,t,e,s,n,i,o,u)&&(l=!1)),l){let a=r.outputs?.[i],c=r.hostDirectiveOutputs?.[i];if(c&&c.length)for(let d=0;d<c.length;d+=2){let f=c[d],h=c[d+1];u??=$n(r,e,o),To(r,e,f,h,i,u)}if(a&&a.length)for(let d of a)u??=$n(r,e,o),To(r,e,d,i,i,u)}}function Le(t,e){return t<<17|e<<2}function Ft(t){return t>>17&32767}function Pm(t){return(t&2)==2}function Fm(t,e){return t&131071|e<<17}function Nr(t){return t|2}function Yt(t){return(t&131068)>>2}function Wn(t,e){return t&-131069|e<<2}function jm(t){return(t&1)===1}function Rr(t){return t|1}function Mm(t,e,n,r,i,o){let s=o?e.classBindings:e.styleBindings,l=Ft(s),u=Yt(s);t[r]=n;let a=!1,c;if(Array.isArray(n)){let d=n;c=d[1],(c===null||Ve(d,c)>0)&&(a=!0)}else c=n;if(i)if(u!==0){let d=Ft(t[l+1]);t[r+1]=Le(d,l),d!==0&&(t[d+1]=Wn(t[d+1],r)),t[l+1]=Fm(t[l+1],r)}else t[r+1]=Le(l,0),l!==0&&(t[l+1]=Wn(t[l+1],r)),l=r;else t[r+1]=Le(u,0),l===0?l=r:t[u+1]=Wn(t[u+1],r),u=r;a&&(t[r+1]=Nr(t[r+1])),Po(t,c,r,!0),Po(t,c,r,!1),zm(e,c,t,r,o),s=Le(l,u),o?e.classBindings=s:e.styleBindings=s}function zm(t,e,n,r,i){let o=i?t.residualClasses:t.residualStyles;o!=null&&typeof e=="string"&&Ve(o,e)>=0&&(n[r+1]=Rr(n[r+1]))}function Po(t,e,n,r){let i=t[n+1],o=e===null,s=r?Ft(i):Yt(i),l=!1;for(;s!==0&&(l===!1||o);){let u=t[s],a=t[s+1];Hm(u,e)&&(l=!0,t[s+1]=r?Rr(a):Nr(a)),s=r?Ft(a):Yt(a)}l&&(t[n+1]=r?Nr(i):Rr(i))}function Hm(t,e){return t===null||e==null||(Array.isArray(t)?t[1]:t)===e?!0:Array.isArray(t)&&typeof e=="string"?Ve(t,e)>=0:!1}function Hu(t,e,n){return Lu(t,e,n,!1),Hu}function Ni(t,e){return Lu(t,e,null,!0),Ni}function Lu(t,e,n,r){let i=P(),o=rt(),s=Qd(2);if(o.firstUpdatePass&&Um(o,t,s,r),e!==ne&&Tn(i,s,e)){let l=o.data[Ie()];$m(o,l,i,i[H],t,i[s+1]=Qm(e,n),r,s)}}function Lm(t,e){return e>=t.expandoStartIndex}function Um(t,e,n,r){let i=t.data;if(i[n+1]===null){let o=i[Ie()],s=Lm(t,n);Wm(o,r)&&e===null&&!s&&(e=!1),e=Zm(i,o,e,r),Mm(i,o,e,n,s,r)}}function Zm(t,e,n,r){let i=Xd(t),o=r?e.residualClasses:e.residualStyles;if(i===null)(r?e.classBindings:e.styleBindings)===0&&(n=Kn(null,t,e,n,r),n=xe(n,e.attrs,r),o=null);else{let s=e.directiveStylingLast;if(s===-1||t[s]!==i)if(n=Kn(i,t,e,n,r),o===null){let l=Bm(t,e,r);l!==void 0&&Array.isArray(l)&&(l=Kn(null,t,e,l[1],r),l=xe(l,e.attrs,r),qm(t,e,r,l))}else o=Gm(t,e,r)}return o!==void 0&&(r?e.residualClasses=o:e.residualStyles=o),n}function Bm(t,e,n){let r=n?e.classBindings:e.styleBindings;if(Yt(r)!==0)return t[Ft(r)]}function qm(t,e,n,r){let i=n?e.classBindings:e.styleBindings;t[Ft(i)]=r}function Gm(t,e,n){let r,i=e.directiveEnd;for(let o=1+e.directiveStylingLast;o<i;o++){let s=t[o].hostAttrs;r=xe(r,s,n)}return xe(r,e.attrs,n)}function Kn(t,e,n,r,i){let o=null,s=n.directiveEnd,l=n.directiveStylingLast;for(l===-1?l=n.directiveStart:l++;l<s&&(o=e[l],r=xe(r,o.hostAttrs,i),o!==t);)l++;return t!==null&&(n.directiveStylingLast=l),r}function xe(t,e,n){let r=n?1:2,i=-1;if(e!==null)for(let o=0;o<e.length;o++){let s=e[o];typeof s=="number"?i=s:i===r&&(Array.isArray(t)||(t=t===void 0?[]:["",t]),gd(t,s,n?!0:e[++o]))}return t===void 0?null:t}function $m(t,e,n,r,i,o,s,l){if(!(e.type&3))return;let u=t.data,a=u[l+1],c=jm(a)?Fo(u,e,n,i,Yt(a),s):void 0;if(!gn(c)){gn(o)||Pm(a)&&(o=Fo(u,null,n,i,l,s));let d=Rd(Ie(),n);Nf(r,s,d,i,o)}}function Fo(t,e,n,r,i,o){let s=e===null,l;for(;i>0;){let u=t[i],a=Array.isArray(u),c=a?u[1]:u,d=c===null,f=n[i+1];f===ne&&(f=d?Y:void 0);let h=d?zn(f,r):c===r?f:void 0;if(a&&!gn(h)&&(h=zn(u,r)),gn(h)&&(l=h,s))return l;let m=t[i+1];i=s?Ft(m):Yt(m)}if(e!==null){let u=o?e.residualClasses:e.residualStyles;u!=null&&(l=zn(u,r))}return l}function gn(t){return t!==void 0}function Qm(t,e){return t==null||t===""||(typeof e=="string"?t=t+e:typeof t=="object"&&(t=qt(Zh(t)))),t}function Wm(t,e){return(t.flags&(e?8:16))!==0}function w(t,e=""){let n=P(),r=rt(),i=t+Q,o=r.firstCreatePass?Ti(r,i,1,e,null):r.data[i],s=Km(r,n,o,e,t);n[i]=s,di()&&Vi(r,n,s,o),Ae(o,!1)}var Km=(t,e,n,r,i)=>(hi(!0),Bh(e[H],r));function Ym(t,e,n){let r=rt();if(r.firstCreatePass){let i=dt(t);Pr(n,r.data,r.blueprint,i,!0),Pr(e,r.data,r.blueprint,i,!1)}}function Pr(t,e,n,r,i){if(t=U(t),Array.isArray(t))for(let o=0;o<t.length;o++)Pr(t[o],e,n,r,i);else{let o=rt(),s=P(),l=Ct(),u=$t(t)?t:U(t.provide),a=Ks(t),c=l.providerIndexes&1048575,d=l.directiveStart,f=l.providerIndexes>>20;if($t(t)||!t.multi){let h=new Ne(a,i,A,null),m=Xn(u,e,i?c:c+f,d);m===-1?(wr(cn(l,s),o,u),Yn(o,t,e.length),e.push(u),l.directiveStart++,l.directiveEnd++,i&&(l.providerIndexes+=1048576),n.push(h),s.push(h)):(n[m]=h,s[m]=h)}else{let h=Xn(u,e,c+f,d),m=Xn(u,e,c,c+f),D=h>=0&&n[h],O=m>=0&&n[m];if(i&&!O||!i&&!D){wr(cn(l,s),o,u);let M=tg(i?Jm:Xm,n.length,i,r,a,t);!i&&O&&(n[m].providerFactory=M),Yn(o,t,e.length,0),e.push(u),l.directiveStart++,l.directiveEnd++,i&&(l.providerIndexes+=1048576),n.push(M),s.push(M)}else{let M=Uu(n[i?m:h],a,!i&&r);Yn(o,t,h>-1?h:m,M)}!i&&r&&O&&n[m].componentProviders++}}}function Yn(t,e,n,r){let i=$t(e),o=Sd(e);if(i||o){let s=(o?U(e.useClass):e).prototype.ngOnDestroy;if(s){let l=t.destroyHooks||(t.destroyHooks=[]);if(!i&&e.multi){let u=l.indexOf(n);u===-1?l.push(n,[r,s]):l[u+1].push(r,s)}else l.push(n,s)}}}function Uu(t,e,n){return n&&t.componentProviders++,t.multi.push(e)-1}function Xn(t,e,n,r){for(let i=n;i<r;i++)if(e[i]===t)return i;return-1}function Xm(t,e,n,r,i){return Fr(this.multi,[])}function Jm(t,e,n,r,i){let o=this.multi,s;if(this.providerFactory){let l=this.providerFactory.componentProviders,u=dn(r,r[v],this.providerFactory.index,i);s=u.slice(0,l),Fr(o,s);for(let a=l;a<u.length;a++)s.push(u[a])}else s=[],Fr(o,s);return s}function Fr(t,e){for(let n=0;n<t.length;n++){let r=t[n];e.push(r())}return e}function tg(t,e,n,r,i,o){let s=new Ne(t,n,A,null);return s.multi=[],s.index=e,s.componentProviders=0,Uu(s,i,r&&!n),s}function xt(t,e=[]){return n=>{n.providersResolver=(r,i)=>Ym(r,i?i(t):t,e)}}var eg=(()=>{class t{zone=C(q);changeDetectionScheduler=C(Oe);applicationRef=C(Ce);applicationErrorHandler=C(ee);_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(n){return new(n||t)};static \u0275prov=F({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})();function ng({ngZoneFactory:t,ignoreChangesOutsideZone:e,scheduleInRootZone:n}){return t??=()=>new q(L(j({},rg()),{scheduleInRootZone:n})),[{provide:q,useFactory:t},{provide:ge,multi:!0,useFactory:()=>{let r=C(eg,{optional:!0});return()=>r.initialize()}},{provide:ge,multi:!0,useFactory:()=>{let r=C(ig);return()=>{r.initialize()}}},e===!0?{provide:yl,useValue:!0}:[],{provide:pi,useValue:n??iu},{provide:ee,useFactory:()=>{let r=C(q),i=C(Tt),o;return s=>{r.runOutsideAngular(()=>{i.destroyed&&!o?setTimeout(()=>{throw s}):(o??=i.get(Te),o.handleError(s))})}}}]}function rg(t){return{enableLongStackTrace:!1,shouldCoalesceEventChangeDetection:t?.eventCoalescing??!1,shouldCoalesceRunChangeDetection:t?.runCoalescing??!1}}var ig=(()=>{class t{subscription=new at;initialized=!1;zone=C(q);pendingTasks=C(De);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(()=>{q.assertNotInAngularZone(),queueMicrotask(()=>{n!==null&&!this.zone.hasPendingMacrotasks&&!this.zone.hasPendingMicrotasks&&(this.pendingTasks.remove(n),n=null)})}))}),this.subscription.add(this.zone.onUnstable.subscribe(()=>{q.assertInAngularZone(),n??=this.pendingTasks.add()}))}ngOnDestroy(){this.subscription.unsubscribe()}static \u0275fac=function(n){return new(n||t)};static \u0275prov=F({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})(),Zu=(()=>{class t{applicationErrorHandler=C(ee);appRef=C(Ce);taskService=C(De);ngZone=C(q);zonelessEnabled=C(fi);tracing=C(_i,{optional:!0});disableScheduling=C(yl,{optional:!0})??!1;zoneIsDefined=typeof Zone<"u"&&!!Zone.root.run;schedulerTickApplyArgs=[{data:{__scheduler_tick__:!0}}];subscriptions=new at;angularZoneId=this.zoneIsDefined?this.ngZone._inner?.get(fn):null;scheduleInRootZone=!this.zonelessEnabled&&this.zoneIsDefined&&(C(pi,{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 su||!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}default:this.appRef.dirtyFlags|=8}if(this.appRef.tracingSnapshot=this.tracing?.snapshot(this.appRef.tracingSnapshot)??null,!this.shouldScheduleTick(r))return;let i=this.useMicrotaskScheduler?bo:ou;this.pendingRenderTaskId=this.taskService.add(),this.scheduleInRootZone?this.cancelScheduledCallback=Zone.root.run(()=>i(()=>this.tick())):this.cancelScheduledCallback=this.ngZone.runOutsideAngular(()=>i(()=>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(fn+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,bo(()=>{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(n){return new(n||t)};static \u0275prov=F({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})();function og(){return Pe("NgZoneless"),bd([{provide:Oe,useExisting:Zu},{provide:q,useClass:su},{provide:fi,useValue:!0},{provide:pi,useValue:!1},[]])}function sg(){return typeof $localize<"u"&&$localize.locale||mn}var Bu=new S("",{providedIn:"root",factory:()=>C(Bu,{optional:!0,skipSelf:!0})||sg()});function St(t){return $c(t)}function Xe(t,e){return za(t,e?.equal)}var tv=class{[ut];constructor(t){this[ut]=t}destroy(){this[ut].destroy()}},lg=new S("");lg.__NG_ELEMENT_ID__=t=>{let e=Ct();if(e===null)throw new _(204,!1);if(e.type&2)return e.value;if(t&8)return null;throw new _(204,!1)};var jr=new S(""),ug=new S("");function se(t){return!t.moduleRef}function ag(t){let e=se(t)?t.r3Injector:t.moduleRef.injector,n=e.get(q);return n.run(()=>{se(t)?t.r3Injector.resolveInjectorInitializers():t.moduleRef.resolveInjectorInitializers();let r=e.get(ee),i;if(n.runOutsideAngular(()=>{i=n.onError.subscribe({next:r})}),se(t)){let o=()=>e.destroy(),s=t.platformInjector.get(jr);s.add(o),e.onDestroy(()=>{i.unsubscribe(),s.delete(o)})}else{let o=()=>t.moduleRef.destroy(),s=t.platformInjector.get(jr);s.add(o),t.moduleRef.onDestroy(()=>{Ye(t.allPlatformModules,t.moduleRef),i.unsubscribe(),s.delete(o)})}return dg(r,n,()=>{let o=e.get(De),s=o.add(),l=e.get(Fu);return l.runInitializers(),l.donePromise.then(()=>{let u=e.get(Bu,mn);if(Nm(u||mn),!e.get(ug,!0))return se(t)?e.get(Ce):(t.allPlatformModules.push(t.moduleRef),t.moduleRef);if(se(t)){let a=e.get(Ce);return t.rootComponent!==void 0&&a.bootstrap(t.rootComponent),a}else return cg?.(t.moduleRef,t.allPlatformModules),t.moduleRef}).finally(()=>{o.remove(s)})})})}var cg;function dg(t,e,n){try{let r=n();return Di(r)?r.catch(i=>{throw e.runOutsideAngular(()=>t(i)),i}):r}catch(r){throw e.runOutsideAngular(()=>t(r)),r}}var Je=null;function hg(t=[],e){return En.create({name:e,providers:[{provide:ei,useValue:"platform"},{provide:jr,useValue:new Set([()=>Je=null])},...t]})}function fg(t=[]){if(Je)return Je;let e=hg(t);return Je=e,km(),pg(e),e}function pg(t){let e=t.get(Ll,null);Ys(t,()=>{e?.forEach(n=>n())})}function mg(t){let{rootComponent:e,appProviders:n,platformProviders:r,platformRef:i}=t;E(8);try{let o=i?.injector??fg(r),s=[ng({}),{provide:Oe,useExisting:Zu},rh,...n||[]],l=new Ou({providers:s,parent:o,debugName:"",runEnvironmentInitializers:!1});return ag({r3Injector:l.injector,platformInjector:o,rootComponent:e})}catch(o){return Promise.reject(o)}finally{E(9)}}var gg={schedule(t,e){let n=setTimeout(t,e);return()=>clearTimeout(n)}};function yg(t){return t.replace(/[A-Z]/g,e=>`-${e.toLowerCase()}`)}function vg(t){return!!t&&t.nodeType===Node.ELEMENT_NODE}var Jn;function bg(t,e){if(!Jn){let n=Element.prototype;Jn=n.matches||n.matchesSelector||n.mozMatchesSelector||n.msMatchesSelector||n.oMatchesSelector||n.webkitMatchesSelector}return t.nodeType===Node.ELEMENT_NODE?Jn.call(t,e):!1}function wg(t){let e={};return t.forEach(({propName:n,templateName:r,transform:i})=>{e[yg(r)]=[n,i]}),e}function _g(t,e){return e.get(Fe).resolveComponentFactory(t).inputs}function Cg(t,e){let n=t.childNodes,r=e.map(()=>[]),i=-1;e.some((o,s)=>o==="*"?(i=s,!0):!1);for(let o=0,s=n.length;o<s;++o){let l=n[o],u=xg(l,e,i);u!==-1&&r[u].push(l)}return r}function xg(t,e,n){let r=n;return vg(t)&&e.some((i,o)=>i!=="*"&&bg(t,i)?(r=o,!0):!1),r}var Sg=10,Vg=class{componentFactory;inputMap=new Map;constructor(t,e){this.componentFactory=e.get(Fe).resolveComponentFactory(t);for(let n of this.componentFactory.inputs)this.inputMap.set(n.propName,n.templateName)}create(t){return new Eg(this.componentFactory,t,this.inputMap)}},Eg=class{componentFactory;injector;inputMap;eventEmitters=new cc(1);events=this.eventEmitters.pipe(Gc(t=>qc(...t)));componentRef=null;scheduledDestroyFn=null;initialInputValues=new Map;ngZone;elementZone;appRef;cdScheduler;constructor(t,e,n){this.componentFactory=t,this.injector=e,this.inputMap=n,this.ngZone=this.injector.get(q),this.appRef=this.injector.get(Ce),this.cdScheduler=e.get(Oe),this.elementZone=typeof Zone>"u"?null:this.ngZone.run(()=>Zone.current)}connect(t){this.runInZone(()=>{if(this.scheduledDestroyFn!==null){this.scheduledDestroyFn(),this.scheduledDestroyFn=null;return}this.componentRef===null&&this.initializeComponent(t)})}disconnect(){this.runInZone(()=>{this.componentRef===null||this.scheduledDestroyFn!==null||(this.scheduledDestroyFn=gg.schedule(()=>{this.componentRef!==null&&(this.componentRef.destroy(),this.componentRef=null)},Sg))})}getInputValue(t){return this.runInZone(()=>this.componentRef===null?this.initialInputValues.get(t):this.componentRef.instance[t])}setInputValue(t,e){if(this.componentRef===null){this.initialInputValues.set(t,e);return}this.runInZone(()=>{this.componentRef.setInput(this.inputMap.get(t)??t,e),_p(this.componentRef.hostView)&&(Cp(this.componentRef.changeDetectorRef),this.cdScheduler.notify(6))})}initializeComponent(t){let e=En.create({providers:[],parent:this.injector}),n=Cg(t,this.componentFactory.ngContentSelectors);this.componentRef=this.componentFactory.create(e,n,t),this.initializeInputs(),this.initializeOutputs(this.componentRef),this.appRef.attachView(this.componentRef.hostView),this.componentRef.hostView.detectChanges()}initializeInputs(){for(let[t,e]of this.initialInputValues)this.setInputValue(t,e);this.initialInputValues.clear()}initializeOutputs(t){let e=this.componentFactory.outputs.map(({propName:n,templateName:r})=>{let i=t.instance[n];return new Z(o=>{let s=i.subscribe(l=>o.next({name:r,value:l}));return()=>s.unsubscribe()})});this.eventEmitters.next(e)}runInZone(t){return this.elementZone&&Zone.current!==this.elementZone?this.ngZone.run(t):t()}},kg=class extends HTMLElement{ngElementEventsSubscription=null};function Ag(t,e){let n=_g(t,e.injector),r=e.strategyFactory||new Vg(t,e.injector),i=wg(n);class o extends kg{injector;static observedAttributes=Object.keys(i);get ngElementStrategy(){if(!this._ngElementStrategy){let l=this._ngElementStrategy=r.create(this.injector||e.injector);n.forEach(({propName:u,transform:a})=>{if(!this.hasOwnProperty(u))return;let c=this[u];delete this[u],l.setInputValue(u,c,a)})}return this._ngElementStrategy}_ngElementStrategy;constructor(l){super(),this.injector=l}attributeChangedCallback(l,u,a,c){let[d,f]=i[l];this.ngElementStrategy.setInputValue(d,a,f)}connectedCallback(){let l=!1;this.ngElementStrategy.events&&(this.subscribeToEvents(),l=!0),this.ngElementStrategy.connect(this),l||this.subscribeToEvents()}disconnectedCallback(){this._ngElementStrategy&&this._ngElementStrategy.disconnect(),this.ngElementEventsSubscription&&(this.ngElementEventsSubscription.unsubscribe(),this.ngElementEventsSubscription=null)}subscribeToEvents(){this.ngElementEventsSubscription=this.ngElementStrategy.events.subscribe(l=>{let u=new CustomEvent(l.name,{detail:l.value});this.dispatchEvent(u)})}}return n.forEach(({propName:s,transform:l})=>{Object.defineProperty(o.prototype,s,{get(){return this.ngElementStrategy.getInputValue(s)},set(u){this.ngElementStrategy.setInputValue(s,u,l)},configurable:!0,enumerable:!0})}),o}var qu=null;function yn(){return qu}function Ig(t){qu??=t}var Tg=class{};function Og(t,e){e=encodeURIComponent(e);for(let n of t.split(";")){let r=n.indexOf("="),[i,o]=r==-1?[n,""]:[n.slice(0,r),n.slice(r+1)];if(i.trim()===e)return decodeURIComponent(o)}return null}var Dg=class{},Ng="browser",Gu=class{_doc;constructor(t){this._doc=t}manager},Mr=(()=>{class t extends Gu{constructor(n){super(n)}supports(n){return!0}addEventListener(n,r,i,o){return n.addEventListener(r,i,o),()=>this.removeEventListener(n,r,i,o)}removeEventListener(n,r,i,o){return n.removeEventListener(r,i,o)}static \u0275fac=function(n){return new(n||t)(k(Rt))};static \u0275prov=F({token:t,factory:t.\u0275fac})}return t})(),zr=new S(""),$u=(()=>{class t{_zone;_plugins;_eventNameToPlugin=new Map;constructor(n,r){this._zone=r,n.forEach(s=>{s.manager=this});let i=n.filter(s=>!(s instanceof Mr));this._plugins=i.slice().reverse();let o=n.find(s=>s instanceof Mr);o&&this._plugins.push(o)}addEventListener(n,r,i,o){return this._findPluginFor(r).addEventListener(n,r,i,o)}getZone(){return this._zone}_findPluginFor(n){let r=this._eventNameToPlugin.get(n);if(r)return r;if(r=this._plugins.find(i=>i.supports(n)),!r)throw new _(5101,!1);return this._eventNameToPlugin.set(n,r),r}static \u0275fac=function(n){return new(n||t)(k(zr),k(q))};static \u0275prov=F({token:t,factory:t.\u0275fac})}return t})(),tr="ng-app-id";function jo(t){for(let e of t)e.remove()}function Mo(t,e){let n=e.createElement("style");return n.textContent=t,n}function Rg(t,e,n,r){let i=t.head?.querySelectorAll(`style[${tr}="${e}"],link[${tr}="${e}"]`);if(i)for(let o of i)o.removeAttribute(tr),o instanceof HTMLLinkElement?r.set(o.href.slice(o.href.lastIndexOf("/")+1),{usage:0,elements:[o]}):o.textContent&&n.set(o.textContent,{usage:0,elements:[o]})}function Hr(t,e){let n=e.createElement("link");return n.setAttribute("rel","stylesheet"),n.setAttribute("href",t),n}var Qu=(()=>{class t{doc;appId;nonce;inline=new Map;external=new Map;hosts=new Set;constructor(n,r,i,o={}){this.doc=n,this.appId=r,this.nonce=i,Rg(n,r,this.inline,this.external),this.hosts.add(n.head)}addStyles(n,r){for(let i of n)this.addUsage(i,this.inline,Mo);r?.forEach(i=>this.addUsage(i,this.external,Hr))}removeStyles(n,r){for(let i of n)this.removeUsage(i,this.inline);r?.forEach(i=>this.removeUsage(i,this.external))}addUsage(n,r,i){let o=r.get(n);o?o.usage++:r.set(n,{usage:1,elements:[...this.hosts].map(s=>this.addElement(s,i(n,this.doc)))})}removeUsage(n,r){let i=r.get(n);i&&(i.usage--,i.usage<=0&&(jo(i.elements),r.delete(n)))}ngOnDestroy(){for(let[,{elements:n}]of[...this.inline,...this.external])jo(n);this.hosts.clear()}addHost(n){this.hosts.add(n);for(let[r,{elements:i}]of this.inline)i.push(this.addElement(n,Mo(r,this.doc)));for(let[r,{elements:i}]of this.external)i.push(this.addElement(n,Hr(r,this.doc)))}removeHost(n){this.hosts.delete(n)}addElement(n,r){return this.nonce&&r.setAttribute("nonce",this.nonce),n.appendChild(r)}static \u0275fac=function(n){return new(n||t)(k(Rt),k(Hl),k(Zl,8),k(Ul))};static \u0275prov=F({token:t,factory:t.\u0275fac})}return t})(),er={svg:"http://www.w3.org/2000/svg",xhtml:"http://www.w3.org/1999/xhtml",xlink:"http://www.w3.org/1999/xlink",xml:"http://www.w3.org/XML/1998/namespace",xmlns:"http://www.w3.org/2000/xmlns/",math:"http://www.w3.org/1998/Math/MathML"},Ri=/%COMP%/g,Wu="%COMP%",Pg=`_nghost-${Wu}`,Fg=`_ngcontent-${Wu}`,jg=!0,Mg=new S("",{providedIn:"root",factory:()=>jg});function zg(t){return Fg.replace(Ri,t)}function Hg(t){return Pg.replace(Ri,t)}function Ku(t,e){return e.map(n=>n.replace(Ri,t))}var zo=(()=>{class t{eventManager;sharedStylesHost;appId;removeStylesOnCompDestroy;doc;ngZone;nonce;tracingService;rendererByCompId=new Map;defaultRenderer;platformIsServer;constructor(n,r,i,o,s,l,u=null,a=null){this.eventManager=n,this.sharedStylesHost=r,this.appId=i,this.removeStylesOnCompDestroy=o,this.doc=s,this.ngZone=l,this.nonce=u,this.tracingService=a,this.platformIsServer=!1,this.defaultRenderer=new Pi(n,s,l,this.platformIsServer,this.tracingService)}createRenderer(n,r){if(!n||!r)return this.defaultRenderer;let i=this.getOrCreateRenderer(n,r);return i instanceof Lo?i.applyToHost(n):i instanceof Lr&&i.applyStyles(),i}getOrCreateRenderer(n,r){let i=this.rendererByCompId,o=i.get(r.id);if(!o){let s=this.doc,l=this.ngZone,u=this.eventManager,a=this.sharedStylesHost,c=this.removeStylesOnCompDestroy,d=this.platformIsServer,f=this.tracingService;switch(r.encapsulation){case Pt.Emulated:o=new Lo(u,a,r,this.appId,c,s,l,d,f);break;case Pt.ShadowDom:return new Lg(u,a,n,r,s,l,this.nonce,d,f);default:o=new Lr(u,a,r,c,s,l,d,f);break}i.set(r.id,o)}return o}ngOnDestroy(){this.rendererByCompId.clear()}componentReplaced(n){this.rendererByCompId.delete(n)}static \u0275fac=function(n){return new(n||t)(k($u),k(Qu),k(Hl),k(Mg),k(Rt),k(q),k(Zl),k(_i,8))};static \u0275prov=F({token:t,factory:t.\u0275fac})}return t})(),Pi=class{eventManager;doc;ngZone;platformIsServer;tracingService;data=Object.create(null);throwOnSyntheticProps=!0;constructor(t,e,n,r,i){this.eventManager=t,this.doc=e,this.ngZone=n,this.platformIsServer=r,this.tracingService=i}destroy(){}destroyNode=null;createElement(t,e){return e?this.doc.createElementNS(er[e]||e,t):this.doc.createElement(t)}createComment(t){return this.doc.createComment(t)}createText(t){return this.doc.createTextNode(t)}appendChild(t,e){(Ho(t)?t.content:t).appendChild(e)}insertBefore(t,e,n){t&&(Ho(t)?t.content:t).insertBefore(e,n)}removeChild(t,e){e.remove()}selectRootElement(t,e){let n=typeof t=="string"?this.doc.querySelector(t):t;if(!n)throw new _(-5104,!1);return e||(n.textContent=""),n}parentNode(t){return t.parentNode}nextSibling(t){return t.nextSibling}setAttribute(t,e,n,r){if(r){e=r+":"+e;let i=er[r];i?t.setAttributeNS(i,e,n):t.setAttribute(e,n)}else t.setAttribute(e,n)}removeAttribute(t,e,n){if(n){let r=er[n];r?t.removeAttributeNS(r,e):t.removeAttribute(`${n}:${e}`)}else t.removeAttribute(e)}addClass(t,e){t.classList.add(e)}removeClass(t,e){t.classList.remove(e)}setStyle(t,e,n,r){r&(Et.DashCase|Et.Important)?t.style.setProperty(e,n,r&Et.Important?"important":""):t.style[e]=n}removeStyle(t,e,n){n&Et.DashCase?t.style.removeProperty(e):t.style[e]=""}setProperty(t,e,n){t!=null&&(t[e]=n)}setValue(t,e){t.nodeValue=e}listen(t,e,n,r){if(typeof t=="string"&&(t=yn().getGlobalEventTarget(this.doc,t),!t))throw new _(5102,!1);let i=this.decoratePreventDefault(n);return this.tracingService?.wrapEventListener&&(i=this.tracingService.wrapEventListener(t,e,i)),this.eventManager.addEventListener(t,e,i,r)}decoratePreventDefault(t){return e=>{if(e==="__ngUnwrap__")return t;t(e)===!1&&e.preventDefault()}}};function Ho(t){return t.tagName==="TEMPLATE"&&t.content!==void 0}var Lg=class extends Pi{sharedStylesHost;hostEl;shadowRoot;constructor(t,e,n,r,i,o,s,l,u){super(t,i,o,l,u),this.sharedStylesHost=e,this.hostEl=n,this.shadowRoot=n.attachShadow({mode:"open"}),this.sharedStylesHost.addHost(this.shadowRoot);let a=r.styles;a=Ku(r.id,a);for(let d of a){let f=document.createElement("style");s&&f.setAttribute("nonce",s),f.textContent=d,this.shadowRoot.appendChild(f)}let c=r.getExternalStyles?.();if(c)for(let d of c){let f=Hr(d,i);s&&f.setAttribute("nonce",s),this.shadowRoot.appendChild(f)}}nodeOrShadowRoot(t){return t===this.hostEl?this.shadowRoot:t}appendChild(t,e){return super.appendChild(this.nodeOrShadowRoot(t),e)}insertBefore(t,e,n){return super.insertBefore(this.nodeOrShadowRoot(t),e,n)}removeChild(t,e){return super.removeChild(null,e)}parentNode(t){return this.nodeOrShadowRoot(super.parentNode(this.nodeOrShadowRoot(t)))}destroy(){this.sharedStylesHost.removeHost(this.shadowRoot)}},Lr=class extends Pi{sharedStylesHost;removeStylesOnCompDestroy;styles;styleUrls;constructor(t,e,n,r,i,o,s,l,u){super(t,i,o,s,l),this.sharedStylesHost=e,this.removeStylesOnCompDestroy=r;let a=n.styles;this.styles=u?Ku(u,a):a,this.styleUrls=n.getExternalStyles?.(u)}applyStyles(){this.sharedStylesHost.addStyles(this.styles,this.styleUrls)}destroy(){this.removeStylesOnCompDestroy&&hn.size===0&&this.sharedStylesHost.removeStyles(this.styles,this.styleUrls)}},Lo=class extends Lr{contentAttr;hostAttr;constructor(t,e,n,r,i,o,s,l,u){let a=r+"-"+n.id;super(t,e,n,i,o,s,l,u,a),this.contentAttr=zg(a),this.hostAttr=Hg(a)}applyToHost(t){this.applyStyles(),this.setAttribute(t,this.hostAttr,"")}createElement(t,e){let n=super.createElement(t,e);return super.setAttribute(n,this.contentAttr,""),n}},Ug=class Yu extends Tg{supportsDOMEvents=!0;static makeCurrent(){Ig(new Yu)}onAndCancel(e,n,r,i){return e.addEventListener(n,r,i),()=>{e.removeEventListener(n,r,i)}}dispatchEvent(e,n){e.dispatchEvent(n)}remove(e){e.remove()}createElement(e,n){return n=n||this.getDefaultDocument(),n.createElement(e)}createHtmlDocument(){return document.implementation.createHTMLDocument("fakeTitle")}getDefaultDocument(){return document}isElementNode(e){return e.nodeType===Node.ELEMENT_NODE}isShadowRoot(e){return e instanceof DocumentFragment}getGlobalEventTarget(e,n){return n==="window"?window:n==="document"?e:n==="body"?e.body:null}getBaseHref(e){let n=Zg();return n==null?null:Bg(n)}resetBaseElement(){he=null}getUserAgent(){return window.navigator.userAgent}getCookie(e){return Og(document.cookie,e)}},he=null;function Zg(){return he=he||document.head.querySelector("base"),he?he.getAttribute("href"):null}function Bg(t){return new URL(t,document.baseURI).pathname}var qg=(()=>{class t{build(){return new XMLHttpRequest}static \u0275fac=function(n){return new(n||t)};static \u0275prov=F({token:t,factory:t.\u0275fac})}return t})(),Uo=["alt","control","meta","shift"],Gg={"\b":"Backspace"," ":"Tab","\x7F":"Delete","\x1B":"Escape",Del:"Delete",Esc:"Escape",Left:"ArrowLeft",Right:"ArrowRight",Up:"ArrowUp",Down:"ArrowDown",Menu:"ContextMenu",Scroll:"ScrollLock",Win:"OS"},$g={alt:t=>t.altKey,control:t=>t.ctrlKey,meta:t=>t.metaKey,shift:t=>t.shiftKey},Qg=(()=>{class t extends Gu{constructor(n){super(n)}supports(n){return t.parseEventName(n)!=null}addEventListener(n,r,i,o){let s=t.parseEventName(r),l=t.eventCallback(s.fullKey,i,this.manager.getZone());return this.manager.getZone().runOutsideAngular(()=>yn().onAndCancel(n,s.domEventName,l,o))}static parseEventName(n){let r=n.toLowerCase().split("."),i=r.shift();if(r.length===0||!(i==="keydown"||i==="keyup"))return null;let o=t._normalizeKey(r.pop()),s="",l=r.indexOf("code");if(l>-1&&(r.splice(l,1),s="code."),Uo.forEach(a=>{let c=r.indexOf(a);c>-1&&(r.splice(c,1),s+=a+".")}),s+=o,r.length!=0||o.length===0)return null;let u={};return u.domEventName=i,u.fullKey=s,u}static matchEventFullKeyCode(n,r){let i=Gg[n.key]||n.key,o="";return r.indexOf("code.")>-1&&(i=n.code,o="code."),i==null||!i?!1:(i=i.toLowerCase(),i===" "?i="space":i==="."&&(i="dot"),Uo.forEach(s=>{if(s!==i){let l=$g[s];l(n)&&(o+=s+".")}}),o+=i,o===r)}static eventCallback(n,r,i){return o=>{t.matchEventFullKeyCode(o,n)&&i.runGuarded(()=>r(o))}}static _normalizeKey(n){return n==="esc"?"escape":n}static \u0275fac=function(n){return new(n||t)(k(Rt))};static \u0275prov=F({token:t,factory:t.\u0275fac})}return t})();function Wg(t){return mg(Kg(t))}function Kg(t){return{appProviders:[...ey,...t?.providers??[]],platformProviders:ty}}function Yg(){Ug.makeCurrent()}function Xg(){return new Te}function Jg(){return Nh(document),document}var ty=[{provide:Ul,useValue:Ng},{provide:Ll,useValue:Yg,multi:!0},{provide:Rt,useFactory:Jg}],ey=[{provide:ei,useValue:"root"},{provide:Te,useFactory:Xg},{provide:zr,useClass:Mr,multi:!0,deps:[Rt]},{provide:zr,useClass:Qg,multi:!0,deps:[Rt]},zo,Qu,$u,{provide:Oi,useExisting:zo},{provide:Dg,useClass:qg},[]],Xu=(()=>{class t{_renderer;_elementRef;onChange=n=>{};onTouched=()=>{};constructor(n,r){this._renderer=n,this._elementRef=r}setProperty(n,r){this._renderer.setProperty(this._elementRef.nativeElement,n,r)}registerOnTouched(n){this.onTouched=n}registerOnChange(n){this.onChange=n}setDisabledState(n){this.setProperty("disabled",n)}static \u0275fac=function(n){return new(n||t)(A(Eu),A(gi))};static \u0275dir=B({type:t})}return t})(),Fi=(()=>{class t extends Xu{static \u0275fac=(()=>{let n;return function(r){return(n||(n=Re(t)))(r||t)}})();static \u0275dir=B({type:t,features:[W]})}return t})(),On=new S(""),ny={provide:On,useExisting:st(()=>Ju),multi:!0},Ju=(()=>{class t extends Fi{writeValue(n){this.setProperty("checked",n)}static \u0275fac=(()=>{let n;return function(r){return(n||(n=Re(t)))(r||t)}})();static \u0275dir=B({type:t,selectors:[["input","type","checkbox","formControlName",""],["input","type","checkbox","formControl",""],["input","type","checkbox","ngModel",""]],hostBindings:function(n,r){n&1&&re("change",function(i){return r.onChange(i.target.checked)})("blur",function(){return r.onTouched()})},standalone:!1,features:[xt([ny]),W]})}return t})(),ry={provide:On,useExisting:st(()=>ji),multi:!0};function iy(){let t=yn()?yn().getUserAgent():"";return/android (\d+)/.test(t.toLowerCase())}var oy=new S(""),ji=(()=>{class t extends Xu{_compositionMode;_composing=!1;constructor(n,r,i){super(n,r),this._compositionMode=i,this._compositionMode==null&&(this._compositionMode=!iy())}writeValue(n){let r=n??"";this.setProperty("value",r)}_handleInput(n){(!this._compositionMode||this._compositionMode&&!this._composing)&&this.onChange(n)}_compositionStart(){this._composing=!0}_compositionEnd(n){this._composing=!1,this._compositionMode&&this.onChange(n)}static \u0275fac=function(n){return new(n||t)(A(Eu),A(gi),A(oy,8))};static \u0275dir=B({type:t,selectors:[["input","formControlName","",3,"type","checkbox"],["textarea","formControlName",""],["input","formControl","",3,"type","checkbox"],["textarea","formControl",""],["input","ngModel","",3,"type","checkbox"],["textarea","ngModel",""],["","ngDefaultControl",""]],hostBindings:function(n,r){n&1&&re("input",function(i){return r._handleInput(i.target.value)})("blur",function(){return r.onTouched()})("compositionstart",function(){return r._compositionStart()})("compositionend",function(i){return r._compositionEnd(i.target.value)})},standalone:!1,features:[xt([ry]),W]})}return t})();function Mi(t){return t==null||zi(t)===0}function zi(t){return t==null?null:Array.isArray(t)||typeof t=="string"?t.length:t instanceof Set?t.size:null}var je=new S(""),Dn=new S(""),sy=/^(?=.{1,254}$)(?=.{1,64}@)[a-zA-Z0-9!#$%&'*+/=?^_`{|}~-]+(?:\.[a-zA-Z0-9!#$%&'*+/=?^_`{|}~-]+)*@[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?(?:\.[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?)*$/,R=class{static min(t){return ta(t)}static max(t){return ly(t)}static required(t){return uy(t)}static requiredTrue(t){return ay(t)}static email(t){return cy(t)}static minLength(t){return dy(t)}static maxLength(t){return hy(t)}static pattern(t){return fy(t)}static nullValidator(t){return vn()}static compose(t){return sa(t)}static composeAsync(t){return ua(t)}};function ta(t){return e=>{if(e.value==null||t==null)return null;let n=parseFloat(e.value);return!isNaN(n)&&n<t?{min:{min:t,actual:e.value}}:null}}function ly(t){return e=>{if(e.value==null||t==null)return null;let n=parseFloat(e.value);return!isNaN(n)&&n>t?{max:{max:t,actual:e.value}}:null}}function uy(t){return Mi(t.value)?{required:!0}:null}function ay(t){return t.value===!0?null:{required:!0}}function cy(t){return Mi(t.value)||sy.test(t.value)?null:{email:!0}}function dy(t){return e=>{let n=e.value?.length??zi(e.value);return n===null||n===0?null:n<t?{minlength:{requiredLength:t,actualLength:n}}:null}}function hy(t){return e=>{let n=e.value?.length??zi(e.value);return n!==null&&n>t?{maxlength:{requiredLength:t,actualLength:n}}:null}}function fy(t){if(!t)return vn;let e,n;return typeof t=="string"?(n="",t.charAt(0)!=="^"&&(n+="^"),n+=t,t.charAt(t.length-1)!=="$"&&(n+="$"),e=new RegExp(n)):(n=t.toString(),e=t),r=>{if(Mi(r.value))return null;let i=r.value;return e.test(i)?null:{pattern:{requiredPattern:n,actualValue:i}}}}function vn(t){return null}function ea(t){return t!=null}function na(t){return Di(t)?Ts(t):t}function ra(t){let e={};return t.forEach(n=>{e=n!=null?j(j({},e),n):e}),Object.keys(e).length===0?null:e}function ia(t,e){return e.map(n=>n(t))}function py(t){return!t.validate}function oa(t){return t.map(e=>py(e)?e:n=>e.validate(n))}function sa(t){if(!t)return null;let e=t.filter(ea);return e.length==0?null:function(n){return ra(ia(n,e))}}function la(t){return t!=null?sa(oa(t)):null}function ua(t){if(!t)return null;let e=t.filter(ea);return e.length==0?null:function(n){let r=ia(n,e).map(na);return Bc(r).pipe(xn(ra))}}function aa(t){return t!=null?ua(oa(t)):null}function Zo(t,e){return t===null?[e]:Array.isArray(t)?[...t,e]:[t,e]}function ca(t){return t._rawValidators}function da(t){return t._rawAsyncValidators}function Ur(t){return t?Array.isArray(t)?t:[t]:[]}function bn(t,e){return Array.isArray(t)?t.includes(e):t===e}function Bo(t,e){let n=Ur(e);return Ur(t).forEach(r=>{bn(n,r)||n.push(r)}),n}function qo(t,e){return Ur(e).filter(n=>!bn(t,n))}var ha=class{get value(){return this.control?this.control.value:null}get valid(){return this.control?this.control.valid:null}get invalid(){return this.control?this.control.invalid:null}get pending(){return this.control?this.control.pending:null}get disabled(){return this.control?this.control.disabled:null}get enabled(){return this.control?this.control.enabled:null}get errors(){return this.control?this.control.errors:null}get pristine(){return this.control?this.control.pristine:null}get dirty(){return this.control?this.control.dirty:null}get touched(){return this.control?this.control.touched:null}get status(){return this.control?this.control.status:null}get untouched(){return this.control?this.control.untouched:null}get statusChanges(){return this.control?this.control.statusChanges:null}get valueChanges(){return this.control?this.control.valueChanges:null}get path(){return null}_composedValidatorFn;_composedAsyncValidatorFn;_rawValidators=[];_rawAsyncValidators=[];_setValidators(t){this._rawValidators=t||[],this._composedValidatorFn=la(this._rawValidators)}_setAsyncValidators(t){this._rawAsyncValidators=t||[],this._composedAsyncValidatorFn=aa(this._rawAsyncValidators)}get validator(){return this._composedValidatorFn||null}get asyncValidator(){return this._composedAsyncValidatorFn||null}_onDestroyCallbacks=[];_registerOnDestroy(t){this._onDestroyCallbacks.push(t)}_invokeOnDestroyCallbacks(){this._onDestroyCallbacks.forEach(t=>t()),this._onDestroyCallbacks=[]}reset(t=void 0){this.control&&this.control.reset(t)}hasError(t,e){return this.control?this.control.hasError(t,e):!1}getError(t,e){return this.control?this.control.getError(t,e):null}},ot=class extends ha{name;get formDirective(){return null}get path(){return null}},Hi=class extends ha{_parent=null;name=null;valueAccessor=null},fa=class{_cd;constructor(t){this._cd=t}get isTouched(){return this._cd?.control?._touched?.(),!!this._cd?.control?.touched}get isUntouched(){return!!this._cd?.control?.untouched}get isPristine(){return this._cd?.control?._pristine?.(),!!this._cd?.control?.pristine}get isDirty(){return!!this._cd?.control?.dirty}get isValid(){return this._cd?.control?._status?.(),!!this._cd?.control?.valid}get isInvalid(){return!!this._cd?.control?.invalid}get isPending(){return!!this._cd?.control?.pending}get isSubmitted(){return this._cd?._submitted?.(),!!this._cd?.submitted}},my={"[class.ng-untouched]":"isUntouched","[class.ng-touched]":"isTouched","[class.ng-pristine]":"isPristine","[class.ng-dirty]":"isDirty","[class.ng-valid]":"isValid","[class.ng-invalid]":"isInvalid","[class.ng-pending]":"isPending"},ev=L(j({},my),{"[class.ng-submitted]":"isSubmitted"}),gy=(()=>{class t extends fa{constructor(n){super(n)}static \u0275fac=function(n){return new(n||t)(A(Hi,2))};static \u0275dir=B({type:t,selectors:[["","formControlName",""],["","ngModel",""],["","formControl",""]],hostVars:14,hostBindings:function(n,r){n&2&&Ni("ng-untouched",r.isUntouched)("ng-touched",r.isTouched)("ng-pristine",r.isPristine)("ng-dirty",r.isDirty)("ng-valid",r.isValid)("ng-invalid",r.isInvalid)("ng-pending",r.isPending)},standalone:!1,features:[W]})}return t})(),yy=(()=>{class t extends fa{constructor(n){super(n)}static \u0275fac=function(n){return new(n||t)(A(ot,10))};static \u0275dir=B({type:t,selectors:[["","formGroupName",""],["","formArrayName",""],["","ngModelGroup",""],["","formGroup",""],["form",3,"ngNoForm",""],["","ngForm",""]],hostVars:16,hostBindings:function(n,r){n&2&&Ni("ng-untouched",r.isUntouched)("ng-touched",r.isTouched)("ng-pristine",r.isPristine)("ng-dirty",r.isDirty)("ng-valid",r.isValid)("ng-invalid",r.isInvalid)("ng-pending",r.isPending)("ng-submitted",r.isSubmitted)},standalone:!1,features:[W]})}return t})(),le="VALID",Ue="INVALID",zt="PENDING",ue="DISABLED",ie=class{},Go=class extends ie{value;source;constructor(t,e){super(),this.value=t,this.source=e}},nr=class extends ie{pristine;source;constructor(t,e){super(),this.pristine=t,this.source=e}},rr=class extends ie{touched;source;constructor(t,e){super(),this.touched=t,this.source=e}},Ze=class extends ie{status;source;constructor(t,e){super(),this.status=t,this.source=e}},vy=class extends ie{source;constructor(t){super(),this.source=t}},pa=class extends ie{source;constructor(t){super(),this.source=t}};function ma(t){return(Nn(t)?t.validators:t)||null}function by(t){return Array.isArray(t)?la(t):t||null}function ga(t,e){return(Nn(e)?e.asyncValidators:t)||null}function wy(t){return Array.isArray(t)?aa(t):t||null}function Nn(t){return t!=null&&!Array.isArray(t)&&typeof t=="object"}function _y(t,e,n){let r=t.controls;if(!(e?Object.keys(r):r).length)throw new _(1e3,"");if(!r[n])throw new _(1001,"")}function Cy(t,e,n){t._forEachChild((r,i)=>{if(n[i]===void 0)throw new _(1002,"")})}var ya=class{_pendingDirty=!1;_hasOwnPendingAsyncValidator=null;_pendingTouched=!1;_onCollectionChange=()=>{};_updateOn;_parent=null;_asyncValidationSubscription;_composedValidatorFn;_composedAsyncValidatorFn;_rawValidators;_rawAsyncValidators;value;constructor(t,e){this._assignValidators(t),this._assignAsyncValidators(e)}get validator(){return this._composedValidatorFn}set validator(t){this._rawValidators=this._composedValidatorFn=t}get asyncValidator(){return this._composedAsyncValidatorFn}set asyncValidator(t){this._rawAsyncValidators=this._composedAsyncValidatorFn=t}get parent(){return this._parent}get status(){return St(this.statusReactive)}set status(t){St(()=>this.statusReactive.set(t))}_status=Xe(()=>this.statusReactive());statusReactive=Qe(void 0);get valid(){return this.status===le}get invalid(){return this.status===Ue}get pending(){return this.status==zt}get disabled(){return this.status===ue}get enabled(){return this.status!==ue}errors;get pristine(){return St(this.pristineReactive)}set pristine(t){St(()=>this.pristineReactive.set(t))}_pristine=Xe(()=>this.pristineReactive());pristineReactive=Qe(!0);get dirty(){return!this.pristine}get touched(){return St(this.touchedReactive)}set touched(t){St(()=>this.touchedReactive.set(t))}_touched=Xe(()=>this.touchedReactive());touchedReactive=Qe(!1);get untouched(){return!this.touched}_events=new Jt;events=this._events.asObservable();valueChanges;statusChanges;get updateOn(){return this._updateOn?this._updateOn:this.parent?this.parent.updateOn:"change"}setValidators(t){this._assignValidators(t)}setAsyncValidators(t){this._assignAsyncValidators(t)}addValidators(t){this.setValidators(Bo(t,this._rawValidators))}addAsyncValidators(t){this.setAsyncValidators(Bo(t,this._rawAsyncValidators))}removeValidators(t){this.setValidators(qo(t,this._rawValidators))}removeAsyncValidators(t){this.setAsyncValidators(qo(t,this._rawAsyncValidators))}hasValidator(t){return bn(this._rawValidators,t)}hasAsyncValidator(t){return bn(this._rawAsyncValidators,t)}clearValidators(){this.validator=null}clearAsyncValidators(){this.asyncValidator=null}markAsTouched(t={}){let e=this.touched===!1;this.touched=!0;let n=t.sourceControl??this;this._parent&&!t.onlySelf&&this._parent.markAsTouched(L(j({},t),{sourceControl:n})),e&&t.emitEvent!==!1&&this._events.next(new rr(!0,n))}markAllAsDirty(t={}){this.markAsDirty({onlySelf:!0,emitEvent:t.emitEvent,sourceControl:this}),this._forEachChild(e=>e.markAllAsDirty(t))}markAllAsTouched(t={}){this.markAsTouched({onlySelf:!0,emitEvent:t.emitEvent,sourceControl:this}),this._forEachChild(e=>e.markAllAsTouched(t))}markAsUntouched(t={}){let e=this.touched===!0;this.touched=!1,this._pendingTouched=!1;let n=t.sourceControl??this;this._forEachChild(r=>{r.markAsUntouched({onlySelf:!0,emitEvent:t.emitEvent,sourceControl:n})}),this._parent&&!t.onlySelf&&this._parent._updateTouched(t,n),e&&t.emitEvent!==!1&&this._events.next(new rr(!1,n))}markAsDirty(t={}){let e=this.pristine===!0;this.pristine=!1;let n=t.sourceControl??this;this._parent&&!t.onlySelf&&this._parent.markAsDirty(L(j({},t),{sourceControl:n})),e&&t.emitEvent!==!1&&this._events.next(new nr(!1,n))}markAsPristine(t={}){let e=this.pristine===!1;this.pristine=!0,this._pendingDirty=!1;let n=t.sourceControl??this;this._forEachChild(r=>{r.markAsPristine({onlySelf:!0,emitEvent:t.emitEvent})}),this._parent&&!t.onlySelf&&this._parent._updatePristine(t,n),e&&t.emitEvent!==!1&&this._events.next(new nr(!0,n))}markAsPending(t={}){this.status=zt;let e=t.sourceControl??this;t.emitEvent!==!1&&(this._events.next(new Ze(this.status,e)),this.statusChanges.emit(this.status)),this._parent&&!t.onlySelf&&this._parent.markAsPending(L(j({},t),{sourceControl:e}))}disable(t={}){let e=this._parentMarkedDirty(t.onlySelf);this.status=ue,this.errors=null,this._forEachChild(r=>{r.disable(L(j({},t),{onlySelf:!0}))}),this._updateValue();let n=t.sourceControl??this;t.emitEvent!==!1&&(this._events.next(new Go(this.value,n)),this._events.next(new Ze(this.status,n)),this.valueChanges.emit(this.value),this.statusChanges.emit(this.status)),this._updateAncestors(L(j({},t),{skipPristineCheck:e}),this),this._onDisabledChange.forEach(r=>r(!0))}enable(t={}){let e=this._parentMarkedDirty(t.onlySelf);this.status=le,this._forEachChild(n=>{n.enable(L(j({},t),{onlySelf:!0}))}),this.updateValueAndValidity({onlySelf:!0,emitEvent:t.emitEvent}),this._updateAncestors(L(j({},t),{skipPristineCheck:e}),this),this._onDisabledChange.forEach(n=>n(!1))}_updateAncestors(t,e){this._parent&&!t.onlySelf&&(this._parent.updateValueAndValidity(t),t.skipPristineCheck||this._parent._updatePristine({},e),this._parent._updateTouched({},e))}setParent(t){this._parent=t}getRawValue(){return this.value}updateValueAndValidity(t={}){if(this._setInitialStatus(),this._updateValue(),this.enabled){let n=this._cancelExistingSubscription();this.errors=this._runValidator(),this.status=this._calculateStatus(),(this.status===le||this.status===zt)&&this._runAsyncValidator(n,t.emitEvent)}let e=t.sourceControl??this;t.emitEvent!==!1&&(this._events.next(new Go(this.value,e)),this._events.next(new Ze(this.status,e)),this.valueChanges.emit(this.value),this.statusChanges.emit(this.status)),this._parent&&!t.onlySelf&&this._parent.updateValueAndValidity(L(j({},t),{sourceControl:e}))}_updateTreeValidity(t={emitEvent:!0}){this._forEachChild(e=>e._updateTreeValidity(t)),this.updateValueAndValidity({onlySelf:!0,emitEvent:t.emitEvent})}_setInitialStatus(){this.status=this._allControlsDisabled()?ue:le}_runValidator(){return this.validator?this.validator(this):null}_runAsyncValidator(t,e){if(this.asyncValidator){this.status=zt,this._hasOwnPendingAsyncValidator={emitEvent:e!==!1,shouldHaveEmitted:t!==!1};let n=na(this.asyncValidator(this));this._asyncValidationSubscription=n.subscribe(r=>{this._hasOwnPendingAsyncValidator=null,this.setErrors(r,{emitEvent:e,shouldHaveEmitted:t})})}}_cancelExistingSubscription(){if(this._asyncValidationSubscription){this._asyncValidationSubscription.unsubscribe();let t=(this._hasOwnPendingAsyncValidator?.emitEvent||this._hasOwnPendingAsyncValidator?.shouldHaveEmitted)??!1;return this._hasOwnPendingAsyncValidator=null,t}return!1}setErrors(t,e={}){this.errors=t,this._updateControlsErrors(e.emitEvent!==!1,this,e.shouldHaveEmitted)}get(t){let e=t;return e==null||(Array.isArray(e)||(e=e.split(".")),e.length===0)?null:e.reduce((n,r)=>n&&n._find(r),this)}getError(t,e){let n=e?this.get(e):this;return n&&n.errors?n.errors[t]:null}hasError(t,e){return!!this.getError(t,e)}get root(){let t=this;for(;t._parent;)t=t._parent;return t}_updateControlsErrors(t,e,n){this.status=this._calculateStatus(),t&&this.statusChanges.emit(this.status),(t||n)&&this._events.next(new Ze(this.status,e)),this._parent&&this._parent._updateControlsErrors(t,e,n)}_initObservables(){this.valueChanges=new G,this.statusChanges=new G}_calculateStatus(){return this._allControlsDisabled()?ue:this.errors?Ue:this._hasOwnPendingAsyncValidator||this._anyControlsHaveStatus(zt)?zt:this._anyControlsHaveStatus(Ue)?Ue:le}_anyControlsHaveStatus(t){return this._anyControls(e=>e.status===t)}_anyControlsDirty(){return this._anyControls(t=>t.dirty)}_anyControlsTouched(){return this._anyControls(t=>t.touched)}_updatePristine(t,e){let n=!this._anyControlsDirty(),r=this.pristine!==n;this.pristine=n,this._parent&&!t.onlySelf&&this._parent._updatePristine(t,e),r&&this._events.next(new nr(this.pristine,e))}_updateTouched(t={},e){this.touched=this._anyControlsTouched(),this._events.next(new rr(this.touched,e)),this._parent&&!t.onlySelf&&this._parent._updateTouched(t,e)}_onDisabledChange=[];_registerOnCollectionChange(t){this._onCollectionChange=t}_setUpdateStrategy(t){Nn(t)&&t.updateOn!=null&&(this._updateOn=t.updateOn)}_parentMarkedDirty(t){let e=this._parent&&this._parent.dirty;return!t&&!!e&&!this._parent._anyControlsDirty()}_find(t){return null}_assignValidators(t){this._rawValidators=Array.isArray(t)?t.slice():t,this._composedValidatorFn=by(this._rawValidators)}_assignAsyncValidators(t){this._rawAsyncValidators=Array.isArray(t)?t.slice():t,this._composedAsyncValidatorFn=wy(this._rawAsyncValidators)}},ae=class extends ya{constructor(t,e,n){super(ma(e),ga(n,e)),this.controls=t,this._initObservables(),this._setUpdateStrategy(e),this._setUpControls(),this.updateValueAndValidity({onlySelf:!0,emitEvent:!!this.asyncValidator})}controls;registerControl(t,e){return this.controls[t]?this.controls[t]:(this.controls[t]=e,e.setParent(this),e._registerOnCollectionChange(this._onCollectionChange),e)}addControl(t,e,n={}){this.registerControl(t,e),this.updateValueAndValidity({emitEvent:n.emitEvent}),this._onCollectionChange()}removeControl(t,e={}){this.controls[t]&&this.controls[t]._registerOnCollectionChange(()=>{}),delete this.controls[t],this.updateValueAndValidity({emitEvent:e.emitEvent}),this._onCollectionChange()}setControl(t,e,n={}){this.controls[t]&&this.controls[t]._registerOnCollectionChange(()=>{}),delete this.controls[t],e&&this.registerControl(t,e),this.updateValueAndValidity({emitEvent:n.emitEvent}),this._onCollectionChange()}contains(t){return this.controls.hasOwnProperty(t)&&this.controls[t].enabled}setValue(t,e={}){Cy(this,!0,t),Object.keys(t).forEach(n=>{_y(this,!0,n),this.controls[n].setValue(t[n],{onlySelf:!0,emitEvent:e.emitEvent})}),this.updateValueAndValidity(e)}patchValue(t,e={}){t!=null&&(Object.keys(t).forEach(n=>{let r=this.controls[n];r&&r.patchValue(t[n],{onlySelf:!0,emitEvent:e.emitEvent})}),this.updateValueAndValidity(e))}reset(t={},e={}){this._forEachChild((n,r)=>{n.reset(t?t[r]:null,{onlySelf:!0,emitEvent:e.emitEvent})}),this._updatePristine(e,this),this._updateTouched(e,this),this.updateValueAndValidity(e),e?.emitEvent!==!1&&this._events.next(new pa(this))}getRawValue(){return this._reduceChildren({},(t,e,n)=>(t[n]=e.getRawValue(),t))}_syncPendingControls(){let t=this._reduceChildren(!1,(e,n)=>n._syncPendingControls()?!0:e);return t&&this.updateValueAndValidity({onlySelf:!0}),t}_forEachChild(t){Object.keys(this.controls).forEach(e=>{let n=this.controls[e];n&&t(n,e)})}_setUpControls(){this._forEachChild(t=>{t.setParent(this),t._registerOnCollectionChange(this._onCollectionChange)})}_updateValue(){this.value=this._reduceValue()}_anyControls(t){for(let[e,n]of Object.entries(this.controls))if(this.contains(e)&&t(n))return!0;return!1}_reduceValue(){let t={};return this._reduceChildren(t,(e,n,r)=>((n.enabled||this.disabled)&&(e[r]=n.value),e))}_reduceChildren(t,e){let n=t;return this._forEachChild((r,i)=>{n=e(n,r,i)}),n}_allControlsDisabled(){for(let t of Object.keys(this.controls))if(this.controls[t].enabled)return!1;return Object.keys(this.controls).length>0||this.disabled}_find(t){return this.controls.hasOwnProperty(t)?this.controls[t]:null}},va=new S("",{providedIn:"root",factory:()=>Li}),Li="always";function Ui(t,e){return[...e.path,t]}function $o(t,e,n=Li){Zi(t,e),e.valueAccessor.writeValue(t.value),(t.disabled||n==="always")&&e.valueAccessor.setDisabledState?.(t.disabled),Sy(t,e),Ey(t,e),Vy(t,e),xy(t,e)}function Qo(t,e,n=!0){let r=()=>{};e.valueAccessor&&(e.valueAccessor.registerOnChange(r),e.valueAccessor.registerOnTouched(r)),_n(t,e),t&&(e._invokeOnDestroyCallbacks(),t._registerOnCollectionChange(()=>{}))}function wn(t,e){t.forEach(n=>{n.registerOnValidatorChange&&n.registerOnValidatorChange(e)})}function xy(t,e){if(e.valueAccessor.setDisabledState){let n=r=>{e.valueAccessor.setDisabledState(r)};t.registerOnDisabledChange(n),e._registerOnDestroy(()=>{t._unregisterOnDisabledChange(n)})}}function Zi(t,e){let n=ca(t);e.validator!==null?t.setValidators(Zo(n,e.validator)):typeof n=="function"&&t.setValidators([n]);let r=da(t);e.asyncValidator!==null?t.setAsyncValidators(Zo(r,e.asyncValidator)):typeof r=="function"&&t.setAsyncValidators([r]);let i=()=>t.updateValueAndValidity();wn(e._rawValidators,i),wn(e._rawAsyncValidators,i)}function _n(t,e){let n=!1;if(t!==null){if(e.validator!==null){let i=ca(t);if(Array.isArray(i)&&i.length>0){let o=i.filter(s=>s!==e.validator);o.length!==i.length&&(n=!0,t.setValidators(o))}}if(e.asyncValidator!==null){let i=da(t);if(Array.isArray(i)&&i.length>0){let o=i.filter(s=>s!==e.asyncValidator);o.length!==i.length&&(n=!0,t.setAsyncValidators(o))}}}let r=()=>{};return wn(e._rawValidators,r),wn(e._rawAsyncValidators,r),n}function Sy(t,e){e.valueAccessor.registerOnChange(n=>{t._pendingValue=n,t._pendingChange=!0,t._pendingDirty=!0,t.updateOn==="change"&&ba(t,e)})}function Vy(t,e){e.valueAccessor.registerOnTouched(()=>{t._pendingTouched=!0,t.updateOn==="blur"&&t._pendingChange&&ba(t,e),t.updateOn!=="submit"&&t.markAsTouched()})}function ba(t,e){t._pendingDirty&&t.markAsDirty(),t.setValue(t._pendingValue,{emitModelToViewChange:!1}),e.viewToModelUpdate(t._pendingValue),t._pendingChange=!1}function Ey(t,e){let n=(r,i)=>{e.valueAccessor.writeValue(r),i&&e.viewToModelUpdate(r)};t.registerOnChange(n),e._registerOnDestroy(()=>{t._unregisterOnChange(n)})}function ky(t,e){t==null,Zi(t,e)}function Ay(t,e){return _n(t,e)}function Iy(t,e){if(!t.hasOwnProperty("model"))return!1;let n=t.model;return n.isFirstChange()?!0:!Object.is(e,n.currentValue)}function Ty(t){return Object.getPrototypeOf(t.constructor)===Fi}function Oy(t,e){t._syncPendingControls(),e.forEach(n=>{let r=n.control;r.updateOn==="submit"&&r._pendingChange&&(n.viewToModelUpdate(r._pendingValue),r._pendingChange=!1)})}function Dy(t,e){if(!e)return null;Array.isArray(e);let n,r,i;return e.forEach(o=>{o.constructor===ji?n=o:Ty(o)?r=o:i=o}),i||r||n||null}function Ny(t,e){let n=t.indexOf(e);n>-1&&t.splice(n,1)}function Wo(t,e){let n=t.indexOf(e);n>-1&&t.splice(n,1)}function Ko(t){return typeof t=="object"&&t!==null&&Object.keys(t).length===2&&"value"in t&&"disabled"in t}var T=class extends ya{defaultValue=null;_onChange=[];_pendingValue;_pendingChange=!1;constructor(t=null,e,n){super(ma(e),ga(n,e)),this._applyFormState(t),this._setUpdateStrategy(e),this._initObservables(),this.updateValueAndValidity({onlySelf:!0,emitEvent:!!this.asyncValidator}),Nn(e)&&(e.nonNullable||e.initialValueIsDefault)&&(Ko(t)?this.defaultValue=t.value:this.defaultValue=t)}setValue(t,e={}){this.value=this._pendingValue=t,this._onChange.length&&e.emitModelToViewChange!==!1&&this._onChange.forEach(n=>n(this.value,e.emitViewToModelChange!==!1)),this.updateValueAndValidity(e)}patchValue(t,e={}){this.setValue(t,e)}reset(t=this.defaultValue,e={}){this._applyFormState(t),this.markAsPristine(e),this.markAsUntouched(e),this.setValue(this.value,e),this._pendingChange=!1,e?.emitEvent!==!1&&this._events.next(new pa(this))}_updateValue(){}_anyControls(t){return!1}_allControlsDisabled(){return this.disabled}registerOnChange(t){this._onChange.push(t)}_unregisterOnChange(t){Wo(this._onChange,t)}registerOnDisabledChange(t){this._onDisabledChange.push(t)}_unregisterOnDisabledChange(t){Wo(this._onDisabledChange,t)}_forEachChild(t){}_syncPendingControls(){return this.updateOn==="submit"&&(this._pendingDirty&&this.markAsDirty(),this._pendingTouched&&this.markAsTouched(),this._pendingChange)?(this.setValue(this._pendingValue,{onlySelf:!0,emitModelToViewChange:!1}),!0):!1}_applyFormState(t){Ko(t)?(this.value=this._pendingValue=t.value,t.disabled?this.disable({onlySelf:!0,emitEvent:!1}):this.enable({onlySelf:!0,emitEvent:!1})):this.value=this._pendingValue=t}},Ry=t=>t instanceof T,Py=(()=>{class t extends ot{_parent;ngOnInit(){this._checkParentType(),this.formDirective.addFormGroup(this)}ngOnDestroy(){this.formDirective&&this.formDirective.removeFormGroup(this)}get control(){return this.formDirective.getFormGroup(this)}get path(){return Ui(this.name==null?this.name:this.name.toString(),this._parent)}get formDirective(){return this._parent?this._parent.formDirective:null}_checkParentType(){}static \u0275fac=(()=>{let n;return function(r){return(n||(n=Re(t)))(r||t)}})();static \u0275dir=B({type:t,standalone:!1,features:[W]})}return t})(),Fy=(()=>{class t{static \u0275fac=function(n){return new(n||t)};static \u0275dir=B({type:t,selectors:[["form",3,"ngNoForm","",3,"ngNativeValidate",""]],hostAttrs:["novalidate",""],standalone:!1})}return t})(),jy={provide:On,useExisting:st(()=>wa),multi:!0},wa=(()=>{class t extends Fi{writeValue(n){let r=n??"";this.setProperty("value",r)}registerOnChange(n){this.onChange=r=>{n(r==""?null:parseFloat(r))}}static \u0275fac=(()=>{let n;return function(r){return(n||(n=Re(t)))(r||t)}})();static \u0275dir=B({type:t,selectors:[["input","type","number","formControlName",""],["input","type","number","formControl",""],["input","type","number","ngModel",""]],hostBindings:function(n,r){n&1&&re("input",function(i){return r.onChange(i.target.value)})("blur",function(){return r.onTouched()})},standalone:!1,features:[xt([jy]),W]})}return t})(),_a=new S(""),My={provide:ot,useExisting:st(()=>Bi)},Bi=(()=>{class t extends ot{callSetDisabledState;get submitted(){return St(this._submittedReactive)}set submitted(n){this._submittedReactive.set(n)}_submitted=Xe(()=>this._submittedReactive());_submittedReactive=Qe(!1);_oldForm;_onCollectionChange=()=>this._updateDomValue();directives=[];form=null;ngSubmit=new G;constructor(n,r,i){super(),this.callSetDisabledState=i,this._setValidators(n),this._setAsyncValidators(r)}ngOnChanges(n){n.hasOwnProperty("form")&&(this._updateValidators(),this._updateDomValue(),this._updateRegistrations(),this._oldForm=this.form)}ngOnDestroy(){this.form&&(_n(this.form,this),this.form._onCollectionChange===this._onCollectionChange&&this.form._registerOnCollectionChange(()=>{}))}get formDirective(){return this}get control(){return this.form}get path(){return[]}addControl(n){let r=this.form.get(n.path);return $o(r,n,this.callSetDisabledState),r.updateValueAndValidity({emitEvent:!1}),this.directives.push(n),r}getControl(n){return this.form.get(n.path)}removeControl(n){Qo(n.control||null,n,!1),Ny(this.directives,n)}addFormGroup(n){this._setUpFormContainer(n)}removeFormGroup(n){this._cleanUpFormContainer(n)}getFormGroup(n){return this.form.get(n.path)}addFormArray(n){this._setUpFormContainer(n)}removeFormArray(n){this._cleanUpFormContainer(n)}getFormArray(n){return this.form.get(n.path)}updateModel(n,r){this.form.get(n.path).setValue(r)}onSubmit(n){return this._submittedReactive.set(!0),Oy(this.form,this.directives),this.ngSubmit.emit(n),this.form._events.next(new vy(this.control)),n?.target?.method==="dialog"}onReset(){this.resetForm()}resetForm(n=void 0,r={}){this.form.reset(n,r),this._submittedReactive.set(!1)}_updateDomValue(){this.directives.forEach(n=>{let r=n.control,i=this.form.get(n.path);r!==i&&(Qo(r||null,n),Ry(i)&&($o(i,n,this.callSetDisabledState),n.control=i))}),this.form._updateTreeValidity({emitEvent:!1})}_setUpFormContainer(n){let r=this.form.get(n.path);ky(r,n),r.updateValueAndValidity({emitEvent:!1})}_cleanUpFormContainer(n){if(this.form){let r=this.form.get(n.path);r&&Ay(r,n)&&r.updateValueAndValidity({emitEvent:!1})}}_updateRegistrations(){this.form._registerOnCollectionChange(this._onCollectionChange),this._oldForm&&this._oldForm._registerOnCollectionChange(()=>{})}_updateValidators(){Zi(this.form,this),this._oldForm&&_n(this._oldForm,this)}static \u0275fac=function(n){return new(n||t)(A(je,10),A(Dn,10),A(va,8))};static \u0275dir=B({type:t,selectors:[["","formGroup",""]],hostBindings:function(n,r){n&1&&re("submit",function(i){return r.onSubmit(i)})("reset",function(){return r.onReset()})},inputs:{form:[0,"formGroup","form"]},outputs:{ngSubmit:"ngSubmit"},exportAs:["ngForm"],standalone:!1,features:[xt([My]),W,mi]})}return t})(),zy={provide:ot,useExisting:st(()=>qi)},qi=(()=>{class t extends Py{name=null;constructor(n,r,i){super(),this._parent=n,this._setValidators(r),this._setAsyncValidators(i)}_checkParentType(){xa(this._parent)}static \u0275fac=function(n){return new(n||t)(A(ot,13),A(je,10),A(Dn,10))};static \u0275dir=B({type:t,selectors:[["","formGroupName",""]],inputs:{name:[0,"formGroupName","name"]},standalone:!1,features:[xt([zy]),W]})}return t})(),Hy={provide:ot,useExisting:st(()=>Ca)},Ca=(()=>{class t extends ot{_parent;name=null;constructor(n,r,i){super(),this._parent=n,this._setValidators(r),this._setAsyncValidators(i)}ngOnInit(){xa(this._parent),this.formDirective.addFormArray(this)}ngOnDestroy(){this.formDirective?.removeFormArray(this)}get control(){return this.formDirective.getFormArray(this)}get formDirective(){return this._parent?this._parent.formDirective:null}get path(){return Ui(this.name==null?this.name:this.name.toString(),this._parent)}static \u0275fac=function(n){return new(n||t)(A(ot,13),A(je,10),A(Dn,10))};static \u0275dir=B({type:t,selectors:[["","formArrayName",""]],inputs:{name:[0,"formArrayName","name"]},standalone:!1,features:[xt([Hy]),W]})}return t})();function xa(t){return!(t instanceof qi)&&!(t instanceof Bi)&&!(t instanceof Ca)}var Ly={provide:Hi,useExisting:st(()=>Sa)},Sa=(()=>{class t extends Hi{_ngModelWarningConfig;_added=!1;viewModel;control;name=null;set isDisabled(n){}model;update=new G;static _ngModelWarningSentOnce=!1;_ngModelWarningSent=!1;constructor(n,r,i,o,s){super(),this._ngModelWarningConfig=s,this._parent=n,this._setValidators(r),this._setAsyncValidators(i),this.valueAccessor=Dy(this,o)}ngOnChanges(n){this._added||this._setUpControl(),Iy(n,this.viewModel)&&(this.viewModel=this.model,this.formDirective.updateModel(this,this.model))}ngOnDestroy(){this.formDirective&&this.formDirective.removeControl(this)}viewToModelUpdate(n){this.viewModel=n,this.update.emit(n)}get path(){return Ui(this.name==null?this.name:this.name.toString(),this._parent)}get formDirective(){return this._parent?this._parent.formDirective:null}_setUpControl(){this.control=this.formDirective.addControl(this),this._added=!0}static \u0275fac=function(n){return new(n||t)(A(ot,13),A(je,10),A(Dn,10),A(On,10),A(_a,8))};static \u0275dir=B({type:t,selectors:[["","formControlName",""]],inputs:{name:[0,"formControlName","name"],isDisabled:[0,"disabled","isDisabled"],model:[0,"ngModel","model"]},outputs:{update:"ngModelChange"},standalone:!1,features:[xt([Ly]),W,mi]})}return t})();function Uy(t){return typeof t=="number"?t:parseFloat(t)}var Zy=(()=>{class t{_validator=vn;_onChange;_enabled;ngOnChanges(n){if(this.inputName in n){let r=this.normalizeInput(n[this.inputName].currentValue);this._enabled=this.enabled(r),this._validator=this._enabled?this.createValidator(r):vn,this._onChange&&this._onChange()}}validate(n){return this._validator(n)}registerOnValidatorChange(n){this._onChange=n}enabled(n){return n!=null}static \u0275fac=function(n){return new(n||t)};static \u0275dir=B({type:t,features:[mi]})}return t})(),By={provide:je,useExisting:st(()=>Va),multi:!0},Va=(()=>{class t extends Zy{min;inputName="min";normalizeInput=n=>Uy(n);createValidator=n=>ta(n);static \u0275fac=(()=>{let n;return function(r){return(n||(n=Re(t)))(r||t)}})();static \u0275dir=B({type:t,selectors:[["input","type","number","min","","formControlName",""],["input","type","number","min","","formControl",""],["input","type","number","min","","ngModel",""]],hostVars:1,hostBindings:function(n,r){n&2&&ju("min",r._enabled?r.min:null)},inputs:{min:"min"},standalone:!1,features:[xt([By]),W]})}return t})(),qy=(()=>{class t{static \u0275fac=function(n){return new(n||t)};static \u0275mod=Du({type:t});static \u0275inj=Ns({})}return t})(),Gy=(()=>{class t{static withConfig(n){return{ngModule:t,providers:[{provide:_a,useValue:n.warnOnNgModelWithFormControl??"always"},{provide:va,useValue:n.callSetDisabledState??Li}]}}static \u0275fac=function(n){return new(n||t)};static \u0275mod=Du({type:t});static \u0275inj=Ns({imports:[qy]})}return t})();function $y(t,e){t&1&&(y(0,"small",8),w(1,"Enter a valid HTTP or HTTPS URL."),p())}function Qy(t,e){t&1&&(y(0,"small",8),w(1,"Enter a valid HTTP or HTTPS URL."),p())}function Wy(t,e){t&1&&(y(0,"small",8),w(1,"Enter a value greater than zero."),p())}function Ky(t,e){t&1&&(y(0,"small",8),w(1,"Enter a valid HTTP or HTTPS URL."),p())}var fe=class{constructor(){this.primaryColor="#0078d4",this.secondaryColor="#106ebe",this.backgroundColor="#ffffff",this.textColor="#323130",this.buttonColor="#0078d4",this.borderRadius="8px",this.fontFamily="Segoe UI, sans-serif",this.configurationUpdated=new G,this.form=new ae({general:new ae({customerDomainUrl:new T("https://mm-software.com",{nonNullable:!0,validators:[this.urlValidator()]}),dataEngineRepositoryBaseUrl:new T("http://localhost:5059",{nonNullable:!0,validators:[this.urlValidator()]}),maxFileAttachmentSizeBytes:new T(104857600,{nonNullable:!0,validators:[R.required,R.min(1)]}),enableNoCacheParameter:new T(!1,{nonNullable:!0})}),headerSanitization:new ae({maxHeaderSize:new T(8192,{nonNullable:!0,validators:[R.required,R.min(1)]}),maxHeaderNameSize:new T(256,{nonNullable:!0,validators:[R.required,R.min(1)]}),allowedHeaderNames:new T("^[a-zA-Z0-9\\-_]+$",{nonNullable:!0,validators:[R.required]}),allowedHeaderValues:new T("^[\\x20-\\x7E]+$",{nonNullable:!0,validators:[R.required]}),blockedPatterns:new T("\\r|\\n, \\x00, <script",{nonNullable:!0,validators:[R.required]})}),plugins:new ae({submodelElementIndexContextPrefix:new T("_aastwinengineindex_",{nonNullable:!0,validators:[R.required]}),defaultLanguages:new T("",{nonNullable:!0}),semanticPostfixSeparator:new T("_",{nonNullable:!0,validators:[R.required]}),name:new T("RelationalDatabasePlugin",{nonNullable:!0,validators:[R.required]}),baseUrl:new T("http://localhost:8086",{nonNullable:!0,validators:[this.urlValidator()]}),healthEndpoint:new T("/healthz",{nonNullable:!0,validators:[R.required]})}),templateManagement:new ae({batchSize:new T(250,{nonNullable:!0,validators:[R.required,R.min(1)]}),batchMaxConcurrency:new T(10,{nonNullable:!0,validators:[R.required,R.min(1)]}),internalSemanticId:new T("InternalSemanticId",{nonNullable:!0,validators:[R.required]}),aasTemplateRepositoryUrl:new T("http://localhost:8081",{nonNullable:!0,validators:[this.urlValidator()]}),submodelTemplateRepositoryUrl:new T("http://localhost:8081",{nonNullable:!0,validators:[this.urlValidator()]}),aasTemplateRegistryUrl:new T("http://localhost:8082",{nonNullable:!0,validators:[this.urlValidator()]}),submodelTemplateRegistryUrl:new T("http://localhost:8083",{nonNullable:!0,validators:[this.urlValidator()]})})}),this.configurationValue={}}set configuration(e){this.configurationValue=e??{},this.form.patchValue(this.configurationValue,{emitEvent:!1})}get configuration(){return this.configurationValue}update(){if(this.form.invalid){this.form.markAllAsTouched();return}let e=this.form.getRawValue();this.configurationUpdated.emit(e)}isInvalid(e){return e.invalid&&(e.dirty||e.touched)}urlValidator(){return R.pattern("^https?://.+")}};fe.\u0275fac=function(t){return new(t||fe)},fe.\u0275cmp=am({type:fe,selectors:[["aas-configuration-form"]],inputs:{primaryColor:[0,"primary-color","primaryColor"],secondaryColor:[0,"secondary-color","secondaryColor"],backgroundColor:[0,"background-color","backgroundColor"],textColor:[0,"text-color","textColor"],buttonColor:[0,"button-color","buttonColor"],borderRadius:[0,"border-radius","borderRadius"],fontFamily:[0,"font-family","fontFamily"],configuration:"configuration"},outputs:{configurationUpdated:"configurationUpdated"},decls:123,vars:19,consts:[[1,"configuration-card"],[1,"header"],[1,"eyebrow"],[1,"intro"],["novalidate","",3,"ngSubmit","formGroup"],["formGroupName","general"],[1,"fields"],["type","url","formControlName","customerDomainUrl","autocomplete","url"],[1,"error"],["type","url","formControlName","dataEngineRepositoryBaseUrl","autocomplete","url"],["type","number","formControlName","maxFileAttachmentSizeBytes","min","1"],[1,"toggle-row"],["type","checkbox","formControlName","enableNoCacheParameter"],["formGroupName","headerSanitization"],["type","number","formControlName","maxHeaderSize","min","1"],["type","number","formControlName","maxHeaderNameSize","min","1"],["type","text","formControlName","allowedHeaderNames"],["type","text","formControlName","allowedHeaderValues"],[1,"full-width"],["type","text","formControlName","blockedPatterns"],["formGroupName","plugins"],["type","text","formControlName","name"],["type","url","formControlName","baseUrl","autocomplete","url"],["type","text","formControlName","healthEndpoint"],["type","text","formControlName","submodelElementIndexContextPrefix"],["type","text","formControlName","defaultLanguages"],["type","text","formControlName","semanticPostfixSeparator"],["formGroupName","templateManagement"],["type","number","formControlName","batchSize","min","1"],["type","number","formControlName","batchMaxConcurrency","min","1"],["type","text","formControlName","internalSemanticId"],["type","url","formControlName","aasTemplateRepositoryUrl","autocomplete","url"],["type","url","formControlName","submodelTemplateRepositoryUrl","autocomplete","url"],["type","url","formControlName","aasTemplateRegistryUrl","autocomplete","url"],["type","url","formControlName","submodelTemplateRegistryUrl","autocomplete","url"],[1,"actions"],[1,"required-note"],["type","submit"]],template:function(t,e){t&1&&(y(0,"section",0)(1,"header",1)(2,"div")(3,"p",2),w(4,"Asset Administration Shell"),p(),y(5,"h1"),w(6,"DataEngine Configuration"),p(),y(7,"p",3),w(8,"Configure the DataEngine runtime, plugin connection, header protection, and template services."),p()()(),y(9,"form",4),re("ngSubmit",function(){return e.update()}),y(10,"fieldset",5)(11,"legend"),w(12,"General"),p(),y(13,"div",6)(14,"label")(15,"span"),w(16,"Customer domain URL"),p(),I(17,"input",7),ze(18,$y,2,0,"small",8),p(),y(19,"label")(20,"span"),w(21,"DataEngine repository URL"),p(),I(22,"input",9),ze(23,Qy,2,0,"small",8),p(),y(24,"label")(25,"span"),w(26,"Maximum file attachment size (bytes)"),p(),I(27,"input",10),ze(28,Wy,2,0,"small",8),p(),y(29,"label",11),I(30,"input",12),y(31,"span"),w(32,"Enable no-cache query parameter"),p()()()(),y(33,"fieldset",13)(34,"legend"),w(35,"Header Sanitization"),p(),y(36,"div",6)(37,"label")(38,"span"),w(39,"Maximum header size (bytes)"),p(),I(40,"input",14),p(),y(41,"label")(42,"span"),w(43,"Maximum header name size (characters)"),p(),I(44,"input",15),p(),y(45,"label")(46,"span"),w(47,"Allowed header names pattern"),p(),I(48,"input",16),p(),y(49,"label")(50,"span"),w(51,"Allowed header values pattern"),p(),I(52,"input",17),p(),y(53,"label",18)(54,"span"),w(55,"Blocked patterns (comma separated)"),p(),I(56,"input",19),p()()(),y(57,"fieldset",20)(58,"legend"),w(59,"Plugins"),p(),y(60,"div",6)(61,"label")(62,"span"),w(63,"Plugin name"),p(),I(64,"input",21),p(),y(65,"label")(66,"span"),w(67,"Plugin base URL"),p(),I(68,"input",22),ze(69,Ky,2,0,"small",8),p(),y(70,"label")(71,"span"),w(72,"Health endpoint"),p(),I(73,"input",23),p(),y(74,"label")(75,"span"),w(76,"Index context prefix"),p(),I(77,"input",24),p(),y(78,"label")(79,"span"),w(80,"Default languages (comma separated)"),p(),I(81,"input",25),p(),y(82,"label")(83,"span"),w(84,"Semantic postfix separator"),p(),I(85,"input",26),p()()(),y(86,"fieldset",27)(87,"legend"),w(88,"Template Management"),p(),y(89,"div",6)(90,"label")(91,"span"),w(92,"Batch size"),p(),I(93,"input",28),p(),y(94,"label")(95,"span"),w(96,"Maximum batch concurrency"),p(),I(97,"input",29),p(),y(98,"label")(99,"span"),w(100,"Internal semantic ID"),p(),I(101,"input",30),p(),y(102,"label")(103,"span"),w(104,"AAS template repository URL"),p(),I(105,"input",31),p(),y(106,"label")(107,"span"),w(108,"Submodel template repository URL"),p(),I(109,"input",32),p(),y(110,"label")(111,"span"),w(112,"AAS template registry URL"),p(),I(113,"input",33),p(),y(114,"label")(115,"span"),w(116,"Submodel template registry URL"),p(),I(117,"input",34),p()()(),y(118,"div",35)(119,"p",36),w(120,"Values are emitted as a DataEngine configuration object."),p(),y(121,"button",37),w(122,"Apply configuration"),p()()()()),t&2&&(Hu("--primary-color",e.primaryColor)("--secondary-color",e.secondaryColor)("--background-color",e.backgroundColor)("--text-color",e.textColor)("--button-color",e.buttonColor)("--border-radius",e.borderRadius)("--font-family",e.fontFamily),oe(9),zu("formGroup",e.form),oe(9),He(e.isInvalid(e.form.controls.general.controls.customerDomainUrl)?18:-1),oe(5),He(e.isInvalid(e.form.controls.general.controls.dataEngineRepositoryBaseUrl)?23:-1),oe(5),He(e.isInvalid(e.form.controls.general.controls.maxFileAttachmentSizeBytes)?28:-1),oe(41),He(e.isInvalid(e.form.controls.plugins.controls.baseUrl)?69:-1))},dependencies:[Gy,Fy,ji,wa,Ju,gy,yy,Va,Bi,Sa,qi],styles:[`:host{display:block;color:var(--text-color, #323130);font-family:var(--font-family, "Segoe UI", sans-serif)}*{box-sizing:border-box}.configuration-card{position:relative;overflow:hidden;max-width:1040px;margin:1rem auto;padding:clamp(1.25rem,4vw,2.5rem);background:var(--background-color, #fff);border:2px solid var(--primary-color, #0078d4);border-radius:var(--border-radius, 8px);box-shadow:0 14px 36px color-mix(in srgb,var(--primary-color, #0078d4) 22%,transparent)}.header{margin:calc(clamp(1.25rem,4vw,2.5rem)*-1) calc(clamp(1.25rem,4vw,2.5rem)*-1) 1.5rem;padding:1.5rem clamp(1.25rem,4vw,2.5rem);background:linear-gradient(120deg,var(--primary-color, #0078d4),var(--secondary-color, #106ebe));color:#fff}.eyebrow{margin:0 0 .35rem;color:color-mix(in srgb,#fff 82%,var(--secondary-color, #106ebe));font-size:.75rem;font-weight:700;letter-spacing:.08em;text-transform:uppercase}h1{margin:0;color:#fff;font-size:clamp(1.45rem,4vw,2rem)}.intro{max-width:58ch;margin:.65rem 0 0;color:color-mix(in srgb,#fff 88%,var(--primary-color, #0078d4));line-height:1.5}form{display:grid;gap:1rem}.fields{grid-template-columns:repeat(2,minmax(0,1fr))}fieldset{min-width:0;margin:0;padding:1.15rem;border:1px solid color-mix(in srgb,var(--primary-color, #0078d4) 25%,#d5d5d5);border-radius:calc(var(--border-radius, 8px) / 2);background:color-mix(in srgb,var(--background-color, #fff) 94%,var(--primary-color, #0078d4))}legend{padding:0 .45rem;color:var(--secondary-color, #106ebe);font-size:1rem;font-weight:750}.fields{display:grid;gap:1rem 1.25rem}label{display:grid;grid-template-columns:minmax(11rem,42%) minmax(0,1fr);align-items:center;gap:.65rem;font-size:.9rem;font-weight:600}label:has(.error){align-items:start}.full-width{grid-column:1 / -1}input:not([type=checkbox]),textarea{width:100%;border:2px solid color-mix(in srgb,var(--primary-color, #0078d4) 35%,#b8b8b8);border-radius:calc(var(--border-radius, 8px) / 2);background:color-mix(in srgb,var(--background-color, #fff) 86%,var(--primary-color, #0078d4));color:var(--text-color, #323130);font:inherit;padding:.72rem .8rem}input:not([type=checkbox]):focus,textarea:focus{border-color:var(--primary-color, #0078d4);outline:2px solid color-mix(in srgb,var(--primary-color, #0078d4) 28%,transparent)}textarea{resize:vertical}.toggle-row{display:flex;align-items:center;gap:.65rem}.toggle-row input{width:1.1rem;height:1.1rem;accent-color:var(--primary-color, #0078d4)}.error{color:#a4262c;font-weight:500}.actions{display:flex;align-items:center;justify-content:space-between;gap:1rem;margin-top:.5rem}.required-note{margin:0;color:#605e5c;font-size:.8rem}button{border:0;border-radius:var(--border-radius, 8px);background:var(--button-color, #0078d4);color:#fff;cursor:pointer;font:inherit;font-weight:700;padding:.75rem 1.35rem;box-shadow:0 4px 12px color-mix(in srgb,var(--button-color, #0078d4) 38%,transparent)}button:hover{background:var(--secondary-color, #106ebe);transform:translateY(-1px)}button:focus-visible{outline:3px solid color-mix(in srgb,var(--primary-color, #0078d4) 35%,transparent);outline-offset:2px}@media(max-width:600px){.fields{grid-template-columns:1fr}label,.full-width{grid-column:auto;grid-template-columns:1fr;gap:.4rem}.actions{align-items:stretch;flex-direction:column}button{width:100%}}
|
|
5
|
+
`],encapsulation:3,changeDetection:0});var Yy=fe;(async()=>{let t=await Wg({providers:[og()]});if(!customElements.get("aas-configuration")){let e=Ag(Yy,{injector:t.injector});customElements.define("aas-configuration",e)}})();})();
|
package/package.json
CHANGED
|
@@ -1,6 +1,39 @@
|
|
|
1
|
-
{
|
|
2
|
-
"name": "aas-configuration-web-component",
|
|
3
|
-
"version": "
|
|
4
|
-
"
|
|
5
|
-
"description": "
|
|
6
|
-
|
|
1
|
+
{
|
|
2
|
+
"name": "aas-configuration-web-component",
|
|
3
|
+
"version": "1.0.0",
|
|
4
|
+
"private": false,
|
|
5
|
+
"description": "Framework-agnostic AAS configuration form built with Angular Elements.",
|
|
6
|
+
"type": "module",
|
|
7
|
+
"files": [
|
|
8
|
+
"dist/aas-configuration/aas-configuration.bundle.js",
|
|
9
|
+
"README.md"
|
|
10
|
+
],
|
|
11
|
+
"main": "./dist/aas-configuration/aas-configuration.bundle.js",
|
|
12
|
+
"unpkg": "./dist/aas-configuration/aas-configuration.bundle.js",
|
|
13
|
+
"jsdelivr": "./dist/aas-configuration/aas-configuration.bundle.js",
|
|
14
|
+
"exports": {
|
|
15
|
+
".": "./dist/aas-configuration/aas-configuration.bundle.js"
|
|
16
|
+
},
|
|
17
|
+
"scripts": {
|
|
18
|
+
"build": "ng build --configuration production && node scripts/create-single-bundle.mjs",
|
|
19
|
+
"prepublishOnly": "npm run build",
|
|
20
|
+
"build:watch": "ng build --watch --configuration development",
|
|
21
|
+
"start": "ng serve",
|
|
22
|
+
"test": "ng test --watch=false --browsers=ChromeHeadless"
|
|
23
|
+
},
|
|
24
|
+
"dependencies": {
|
|
25
|
+
"@angular/core": "^20.3.0",
|
|
26
|
+
"@angular/elements": "^20.3.0",
|
|
27
|
+
"@angular/forms": "^20.3.0",
|
|
28
|
+
"@angular/platform-browser": "^20.3.0",
|
|
29
|
+
"rxjs": "~7.8.2",
|
|
30
|
+
"tslib": "^2.8.1"
|
|
31
|
+
},
|
|
32
|
+
"devDependencies": {
|
|
33
|
+
"@angular-devkit/build-angular": "^20.3.0",
|
|
34
|
+
"@angular/cli": "^20.3.0",
|
|
35
|
+
"@angular/compiler-cli": "^20.3.0",
|
|
36
|
+
"esbuild": "^0.25.0",
|
|
37
|
+
"typescript": "~5.9.2"
|
|
38
|
+
}
|
|
39
|
+
}
|