langflower 0.3.0 → 0.4.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 +25 -24
- package/dist/{chunk-KOS7BXAM.js → chunk-32BC3YXC.js} +1 -1
- package/dist/{chunk-26UB55E5.js → chunk-5B3555QF.js} +2 -0
- package/dist/{chunk-X3FU465E.js → chunk-P3QJHZO7.js} +1 -1
- package/dist/{chunk-3Z7Q6SQ5.js → chunk-VVJLF47H.js} +93 -10
- package/dist/index.js +8869 -7828
- package/docs/{public → assets/public}/README.md +8 -1
- package/docs/{public → assets/public}/configuration.md +7 -0
- package/docs/{public → assets/public}/extending.md +9 -2
- package/docs/{public → assets/public}/getting-started.md +11 -4
- package/docs/{public → assets/public}/how-it-works.md +7 -0
- package/docs/{public → assets/public}/launcher.md +11 -2
- package/docs/{public → assets/public}/product.md +10 -1
- package/docs/{public → assets/public}/using-the-editor.md +7 -0
- package/docs/{public → assets/public}/workflows.md +7 -0
- package/package.json +2 -2
- package/ui-dist/{chunk-B3D35SQ5.js → chunk-33CXNPF2.js} +1 -1
- package/ui-dist/chunk-SNO65Y6K.js +4 -0
- package/ui-dist/index.html +2 -2
- package/ui-dist/main-GN43PQD5.js +323 -0
- package/ui-dist/styles-DMRPMU4V.css +1 -0
- package/vendor/node-sdk/dist/node-factory/define-llm-node/default-llm-ports.d.ts +11 -1
- package/vendor/node-sdk/dist/node-factory/define-llm-node/define-llm-node.d.ts +1 -1
- package/vendor/node-sdk/dist/node-factory/define-llm-node/steer-control.d.ts +5 -2
- package/vendor/node-sdk/dist/node-factory/define-llm-node/steer-control.js +3 -2
- package/vendor/node-sdk/dist/node-factory/define-node/define-node.d.ts +2 -1
- package/vendor/node-sdk/dist/node-factory/define-reactive-node/capabilities.d.ts +32 -1
- package/vendor/node-sdk/dist/node-factory/define-reactive-node/define-reactive-node.d.ts +2 -1
- package/vendor/node-sdk/dist/node-factory/define-reactive-node/define-reactive-node.js +1 -0
- package/vendor/node-sdk/dist/node-factory/define-reactive-node/hitl-config.d.ts +14 -0
- package/vendor/node-sdk/dist/node-factory/define-reactive-node/hitl-config.js +24 -1
- package/vendor/node-sdk/dist/node-factory/define-reactive-node/io-helpers.d.ts +7 -4
- package/vendor/node-sdk/dist/node-factory/define-reactive-node/port-meta.d.ts +7 -2
- package/vendor/node-sdk/dist/node-factory/define-reactive-node/ui-schema-inference.d.ts +18 -0
- package/vendor/node-sdk/package.json +1 -1
- package/vendor/runtime/dist/runtime-editor.js +9 -2
- package/vendor/runtime/dist/runtime-runner.js +2 -1
- package/vendor/runtime/dist/runtime.d.ts +2 -0
- package/vendor/runtime/dist/runtime.js +1 -0
- package/vendor/runtime/dist/types.d.ts +7 -1
- package/vendor/runtime/dist/wire-type.d.ts +12 -0
- package/vendor/runtime/dist/wire-type.js +18 -0
- package/vendor/server/skeleton/nodes/hello-embed/README.md +1 -1
- package/vendor/server/skeleton/nodes/hello-embed/package.json +1 -1
- package/vendor/server/skeleton/nodes/my-nodes/package.json +1 -1
- package/vendor/server/skeleton/skills/langflower-helper/SKILL.md +88 -49
- package/vendor/server/skeleton/skills/langflower-helper/architecture.md +13 -3
- package/vendor/server/skeleton/skills/langflower-helper/layout.md +8 -0
- package/vendor/server/skeleton/skills/langflower-node-writer/SKILL.md +3 -0
- package/vendor/server/skeleton/skills/langflower-workflow-writer/SKILL.md +1 -1
- package/vendor/server/skeleton/workflows/agents-dialog.json +1 -1
- package/vendor/server/skeleton/workflows/kb-rag.json +1 -1
- package/ui-dist/chunk-2F7UKSIL.js +0 -4
- package/ui-dist/main-TL5G57BL.js +0 -323
- package/ui-dist/styles-O74ATCGZ.css +0 -1
|
@@ -1,4 +0,0 @@
|
|
|
1
|
-
var bp=Object.create;var fi=Object.defineProperty,_p=Object.defineProperties,Mp=Object.getOwnPropertyDescriptor,Np=Object.getOwnPropertyDescriptors,Sp=Object.getOwnPropertyNames,cr=Object.getOwnPropertySymbols,xp=Object.getPrototypeOf,pi=Object.prototype.hasOwnProperty,ac=Object.prototype.propertyIsEnumerable;var sc=(e,t,n)=>t in e?fi(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,W=(e,t)=>{for(var n in t||={})pi.call(t,n)&&sc(e,n,t[n]);if(cr)for(var n of cr(t))ac.call(t,n)&&sc(e,n,t[n]);return e},q=(e,t)=>_p(e,Np(t));var Ap=(e,t)=>{var n={};for(var r in e)pi.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&cr)for(var r of cr(e))t.indexOf(r)<0&&ac.call(e,r)&&(n[r]=e[r]);return n};var GE=(e,t)=>()=>{try{return t||e((t={exports:{}}).exports,t),t.exports}catch(n){throw t=0,n}};var Rp=(e,t,n,r)=>{if(t&&typeof t=="object"||typeof t=="function")for(let o of Sp(t))!pi.call(e,o)&&o!==n&&fi(e,o,{get:()=>t[o],enumerable:!(r=Mp(t,o))||r.enumerable});return e};var zE=(e,t,n)=>(n=e!=null?bp(xp(e)):{},Rp(t||!e||!e.__esModule?fi(n,"default",{value:e,enumerable:!0}):n,e));var hi=(e,t,n)=>new Promise((r,o)=>{var i=c=>{try{a(n.next(c))}catch(l){o(l)}},s=c=>{try{a(n.throw(c))}catch(l){o(l)}},a=c=>c.done?r(c.value):Promise.resolve(c.value).then(i,s);a((n=n.apply(e,t)).next())});var z=null,lr=!1,gi=1,kp=null,V=Symbol("SIGNAL");function m(e){let t=z;return z=e,t}function pr(){return z}var et={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 Be(e){if(lr)throw new Error("");if(z===null)return;z.consumerOnSignalRead(e);let t=z.producersTail;if(t!==void 0&&t.producer===e)return;let n,r=z.recomputing;if(r&&(n=t!==void 0?t.nextProducer:z.producers,n!==void 0&&n.producer===e)){z.producersTail=n,n.lastReadVersion=e.version;return}let o=e.consumersTail;if(o!==void 0&&o.consumer===z&&(!r||Pp(o,z)))return;let i=Pt(z),s={producer:e,consumer:z,nextProducer:n,prevConsumer:void 0,lastReadVersion:e.version,nextConsumer:void 0};z.producersTail=s,t!==void 0?t.nextProducer=s:z.producers=s,i&&dc(e,s)}function cc(){gi++}function hr(e){if(!(Pt(e)&&!e.dirty)&&!(!e.dirty&&e.lastCleanEpoch===gi)){if(!e.producerMustRecompute(e)&&!Ot(e)){fr(e);return}e.producerRecomputeValue(e),fr(e)}}function mi(e){if(e.consumers===void 0)return;let t=lr;lr=!0;try{for(let n=e.consumers;n!==void 0;n=n.nextConsumer){let r=n.consumer;r.dirty||Op(r)}}finally{lr=t}}function yi(){return z?.consumerAllowSignalWrites!==!1}function Op(e){e.dirty=!0,mi(e),e.consumerMarkedDirty?.(e)}function fr(e){e.dirty=!1,e.lastCleanEpoch=gi}function $e(e){return e&&lc(e),m(e)}function lc(e){e.producersTail=void 0,e.recomputing=!0}function tt(e,t){m(t),e&&uc(e)}function uc(e){e.recomputing=!1;let t=e.producersTail,n=t!==void 0?t.nextProducer:e.producers;if(n!==void 0){if(Pt(e))do n=vi(n);while(n!==void 0);t!==void 0?t.nextProducer=void 0:e.producers=void 0}}function Ot(e){for(let t=e.producers;t!==void 0;t=t.nextProducer){let n=t.producer,r=t.lastReadVersion;if(r!==n.version||(hr(n),r!==n.version))return!0}return!1}function Ue(e){if(Pt(e)){let t=e.producers;for(;t!==void 0;)t=vi(t)}e.producers=void 0,e.producersTail=void 0,e.consumers=void 0,e.consumersTail=void 0}function dc(e,t){let n=e.consumersTail,r=Pt(e);if(n!==void 0?(t.nextConsumer=n.nextConsumer,n.nextConsumer=t):(t.nextConsumer=void 0,e.consumers=t),t.prevConsumer=n,e.consumersTail=t,!r)for(let o=e.producers;o!==void 0;o=o.nextProducer)dc(o.producer,o)}function vi(e){let t=e.producer,n=e.nextProducer,r=e.nextConsumer,o=e.prevConsumer;if(e.nextConsumer=void 0,e.prevConsumer=void 0,r!==void 0?r.prevConsumer=o:t.consumersTail=o,o!==void 0)o.nextConsumer=r;else if(t.consumers=r,!Pt(t)){let i=t.producers;for(;i!==void 0;)i=vi(i)}return n}function Pt(e){return e.consumerIsAlwaysLive||e.consumers!==void 0}function gr(e){kp?.(e)}function Pp(e,t){let n=t.producersTail;if(n!==void 0){let r=t.producers;do{if(r===e)return!0;if(r===n)break;r=r.nextProducer}while(r!==void 0)}return!1}function mr(e,t){return Object.is(e,t)}function hn(e,t){let n=Object.create(Lp);n.computation=e,t!==void 0&&(n.equal=t);let r=()=>{if(hr(n),Be(n),n.value===pn)throw n.error;return n.value};return r[V]=n,gr(n),r}var ur=Symbol("UNSET"),dr=Symbol("COMPUTING"),pn=Symbol("ERRORED"),Lp=q(W({},et),{value:ur,dirty:!0,error:null,equal:mr,kind:"computed",producerMustRecompute(e){return e.value===ur||e.value===dr},producerRecomputeValue(e){if(e.value===dr)throw new Error("");let t=e.value;e.value=dr;let n=$e(e),r,o=!1;try{r=e.computation(),m(null),o=t!==ur&&t!==pn&&r!==pn&&e.equal(t,r)}catch(i){r=pn,e.error=i}finally{tt(e,n)}if(o){e.value=t;return}e.value=r,e.version++}});function Fp(){throw new Error}var fc=Fp;function pc(e){fc(e)}function Ii(e){fc=e}var jp=null;function Ei(e,t){let n=Object.create(gn);n.value=e,t!==void 0&&(n.equal=t);let r=()=>hc(n);return r[V]=n,gr(n),[r,s=>nt(n,s),s=>Di(n,s)]}function hc(e){return Be(e),e.value}function nt(e,t){yi()||pc(e),e.equal(e.value,t)||(e.value=t,Vp(e))}function Di(e,t){yi()||pc(e),nt(e,t(e.value))}var gn=q(W({},et),{equal:mr,value:void 0,kind:"signal"});function Vp(e){e.version++,cc(),mi(e),jp?.(e)}var wi=q(W({},et),{consumerIsAlwaysLive:!0,consumerAllowSignalWrites:!0,dirty:!0,kind:"effect"});function Ti(e){if(e.dirty=!1,e.version>0&&!Ot(e))return;e.version++;let t=$e(e);try{e.cleanup(),e.fn()}finally{tt(e,t)}}var Ci;function yr(){return Ci}function we(e){let t=Ci;return Ci=e,t}var gc=Symbol("NotFound");function Lt(e){return e===gc||e?.name==="\u0275NotFound"}function mc(e){let t=m(null);try{return e()}finally{m(t)}}function D(e){return typeof e=="function"}function Ft(e){let n=e(r=>{Error.call(r),r.stack=new Error().stack});return n.prototype=Object.create(Error.prototype),n.prototype.constructor=n,n}var vr=Ft(e=>function(n){e(this),this.message=n?`${n.length} errors occurred during unsubscription:
|
|
2
|
-
${n.map((r,o)=>`${o+1}) ${r.toString()}`).join(`
|
|
3
|
-
`)}`:"",this.name="UnsubscriptionError",this.errors=n});function rt(e,t){if(e){let n=e.indexOf(t);0<=n&&e.splice(n,1)}}var H=class e{constructor(t){this.initialTeardown=t,this.closed=!1,this._parentage=null,this._finalizers=null}unsubscribe(){let t;if(!this.closed){this.closed=!0;let{_parentage:n}=this;if(n)if(this._parentage=null,Array.isArray(n))for(let i of n)i.remove(this);else n.remove(this);let{initialTeardown:r}=this;if(D(r))try{r()}catch(i){t=i instanceof vr?i.errors:[i]}let{_finalizers:o}=this;if(o){this._finalizers=null;for(let i of o)try{yc(i)}catch(s){t=t??[],s instanceof vr?t=[...t,...s.errors]:t.push(s)}}if(t)throw new vr(t)}}add(t){var n;if(t&&t!==this)if(this.closed)yc(t);else{if(t instanceof e){if(t.closed||t._hasParent(this))return;t._addParent(this)}(this._finalizers=(n=this._finalizers)!==null&&n!==void 0?n:[]).push(t)}}_hasParent(t){let{_parentage:n}=this;return n===t||Array.isArray(n)&&n.includes(t)}_addParent(t){let{_parentage:n}=this;this._parentage=Array.isArray(n)?(n.push(t),n):n?[n,t]:t}_removeParent(t){let{_parentage:n}=this;n===t?this._parentage=null:Array.isArray(n)&&rt(n,t)}remove(t){let{_finalizers:n}=this;n&&rt(n,t),t instanceof e&&t._removeParent(this)}};H.EMPTY=(()=>{let e=new H;return e.closed=!0,e})();var bi=H.EMPTY;function Ir(e){return e instanceof H||e&&"closed"in e&&D(e.remove)&&D(e.add)&&D(e.unsubscribe)}function yc(e){D(e)?e():e.unsubscribe()}var de={onUnhandledError:null,onStoppedNotification:null,Promise:void 0,useDeprecatedSynchronousErrorHandling:!1,useDeprecatedNextContext:!1};var jt={setTimeout(e,t,...n){let{delegate:r}=jt;return r?.setTimeout?r.setTimeout(e,t,...n):setTimeout(e,t,...n)},clearTimeout(e){let{delegate:t}=jt;return(t?.clearTimeout||clearTimeout)(e)},delegate:void 0};function Er(e){jt.setTimeout(()=>{let{onUnhandledError:t}=de;if(t)t(e);else throw e})}function mn(){}var vc=_i("C",void 0,void 0);function Ic(e){return _i("E",void 0,e)}function Ec(e){return _i("N",e,void 0)}function _i(e,t,n){return{kind:e,value:t,error:n}}var ot=null;function Vt(e){if(de.useDeprecatedSynchronousErrorHandling){let t=!ot;if(t&&(ot={errorThrown:!1,error:null}),e(),t){let{errorThrown:n,error:r}=ot;if(ot=null,n)throw r}}else e()}function Dc(e){de.useDeprecatedSynchronousErrorHandling&&ot&&(ot.errorThrown=!0,ot.error=e)}var it=class extends H{constructor(t){super(),this.isStopped=!1,t?(this.destination=t,Ir(t)&&t.add(this)):this.destination=$p}static create(t,n,r){return new fe(t,n,r)}next(t){this.isStopped?Ni(Ec(t),this):this._next(t)}error(t){this.isStopped?Ni(Ic(t),this):(this.isStopped=!0,this._error(t))}complete(){this.isStopped?Ni(vc,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()}}},Hp=Function.prototype.bind;function Mi(e,t){return Hp.call(e,t)}var Si=class{constructor(t){this.partialObserver=t}next(t){let{partialObserver:n}=this;if(n.next)try{n.next(t)}catch(r){Dr(r)}}error(t){let{partialObserver:n}=this;if(n.error)try{n.error(t)}catch(r){Dr(r)}else Dr(t)}complete(){let{partialObserver:t}=this;if(t.complete)try{t.complete()}catch(n){Dr(n)}}},fe=class extends it{constructor(t,n,r){super();let o;if(D(t)||!t)o={next:t??void 0,error:n??void 0,complete:r??void 0};else{let i;this&&de.useDeprecatedNextContext?(i=Object.create(t),i.unsubscribe=()=>this.unsubscribe(),o={next:t.next&&Mi(t.next,i),error:t.error&&Mi(t.error,i),complete:t.complete&&Mi(t.complete,i)}):o=t}this.destination=new Si(o)}};function Dr(e){de.useDeprecatedSynchronousErrorHandling?Dc(e):Er(e)}function Bp(e){throw e}function Ni(e,t){let{onStoppedNotification:n}=de;n&&jt.setTimeout(()=>n(e,t))}var $p={closed:!0,next:mn,error:Bp,complete:mn};var Ht=typeof Symbol=="function"&&Symbol.observable||"@@observable";function te(e){return e}function Up(...e){return xi(e)}function xi(e){return e.length===0?te:e.length===1?e[0]:function(n){return e.reduce((r,o)=>o(r),n)}}var S=(()=>{class e{constructor(n){n&&(this._subscribe=n)}lift(n){let r=new e;return r.source=this,r.operator=n,r}subscribe(n,r,o){let i=qp(n)?n:new fe(n,r,o);return Vt(()=>{let{operator:s,source:a}=this;i.add(s?s.call(i,a):a?this._subscribe(i):this._trySubscribe(i))}),i}_trySubscribe(n){try{return this._subscribe(n)}catch(r){n.error(r)}}forEach(n,r){return r=wc(r),new r((o,i)=>{let s=new fe({next:a=>{try{n(a)}catch(c){i(c),s.unsubscribe()}},error:i,complete:o});this.subscribe(s)})}_subscribe(n){var r;return(r=this.source)===null||r===void 0?void 0:r.subscribe(n)}[Ht](){return this}pipe(...n){return xi(n)(this)}toPromise(n){return n=wc(n),new n((r,o)=>{let i;this.subscribe(s=>i=s,s=>o(s),()=>r(i))})}}return e.create=t=>new e(t),e})();function wc(e){var t;return(t=e??de.Promise)!==null&&t!==void 0?t:Promise}function Wp(e){return e&&D(e.next)&&D(e.error)&&D(e.complete)}function qp(e){return e&&e instanceof it||Wp(e)&&Ir(e)}function Gp(e){return D(e?.lift)}function T(e){return t=>{if(Gp(t))return t.lift(function(n){try{return e(n,this)}catch(r){this.error(r)}});throw new TypeError("Unable to lift unknown Observable type")}}function C(e,t,n,r,o){return new Ai(e,t,n,r,o)}var Ai=class extends it{constructor(t,n,r,o,i,s){super(t),this.onFinalize=i,this.shouldUnsubscribe=s,this._next=n?function(a){try{n(a)}catch(c){t.error(c)}}:super._next,this._error=o?function(a){try{o(a)}catch(c){t.error(c)}finally{this.unsubscribe()}}:super._error,this._complete=r?function(){try{r()}catch(a){t.error(a)}finally{this.unsubscribe()}}:super._complete}unsubscribe(){var t;if(!this.shouldUnsubscribe||this.shouldUnsubscribe()){let{closed:n}=this;super.unsubscribe(),!n&&((t=this.onFinalize)===null||t===void 0||t.call(this))}}};var Tc=Ft(e=>function(){e(this),this.name="ObjectUnsubscribedError",this.message="object unsubscribed"});var ne=(()=>{class e extends S{constructor(){super(),this.closed=!1,this.currentObservers=null,this.observers=[],this.isStopped=!1,this.hasError=!1,this.thrownError=null}lift(n){let r=new wr(this,this);return r.operator=n,r}_throwIfClosed(){if(this.closed)throw new Tc}next(n){Vt(()=>{if(this._throwIfClosed(),!this.isStopped){this.currentObservers||(this.currentObservers=Array.from(this.observers));for(let r of this.currentObservers)r.next(n)}})}error(n){Vt(()=>{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(){Vt(()=>{if(this._throwIfClosed(),!this.isStopped){this.isStopped=!0;let{observers:n}=this;for(;n.length;)n.shift().complete()}})}unsubscribe(){this.isStopped=this.closed=!0,this.observers=this.currentObservers=null}get observed(){var n;return((n=this.observers)===null||n===void 0?void 0:n.length)>0}_trySubscribe(n){return this._throwIfClosed(),super._trySubscribe(n)}_subscribe(n){return this._throwIfClosed(),this._checkFinalizedStatuses(n),this._innerSubscribe(n)}_innerSubscribe(n){let{hasError:r,isStopped:o,observers:i}=this;return r||o?bi:(this.currentObservers=null,i.push(n),new H(()=>{this.currentObservers=null,rt(i,n)}))}_checkFinalizedStatuses(n){let{hasError:r,thrownError:o,isStopped:i}=this;r?n.error(o):i&&n.complete()}asObservable(){let n=new S;return n.source=this,n}}return e.create=(t,n)=>new wr(t,n),e})(),wr=class extends ne{constructor(t,n){super(),this.destination=t,this.source=n}next(t){var n,r;(r=(n=this.destination)===null||n===void 0?void 0:n.next)===null||r===void 0||r.call(n,t)}error(t){var n,r;(r=(n=this.destination)===null||n===void 0?void 0:n.error)===null||r===void 0||r.call(n,t)}complete(){var t,n;(n=(t=this.destination)===null||t===void 0?void 0:t.complete)===null||n===void 0||n.call(t)}_subscribe(t){var n,r;return(r=(n=this.source)===null||n===void 0?void 0:n.subscribe(t))!==null&&r!==void 0?r:bi}};var yn=class extends ne{constructor(t){super(),this._value=t}get value(){return this.getValue()}_subscribe(t){let n=super._subscribe(t);return!n.closed&&t.next(this._value),n}getValue(){let{hasError:t,thrownError:n,_value:r}=this;if(t)throw n;return this._throwIfClosed(),r}next(t){super.next(this._value=t)}};var vn={now(){return(vn.delegate||Date).now()},delegate:void 0};var In=class extends ne{constructor(t=1/0,n=1/0,r=vn){super(),this._bufferSize=t,this._windowTime=n,this._timestampProvider=r,this._buffer=[],this._infiniteTimeWindow=!0,this._infiniteTimeWindow=n===1/0,this._bufferSize=Math.max(1,t),this._windowTime=Math.max(1,n)}next(t){let{isStopped:n,_buffer:r,_infiniteTimeWindow:o,_timestampProvider:i,_windowTime:s}=this;n||(r.push(t),!o&&r.push(i.now()+s)),this._trimBuffer(),super.next(t)}_subscribe(t){this._throwIfClosed(),this._trimBuffer();let n=this._innerSubscribe(t),{_infiniteTimeWindow:r,_buffer:o}=this,i=o.slice();for(let s=0;s<i.length&&!t.closed;s+=r?1:2)t.next(i[s]);return this._checkFinalizedStatuses(t),n}_trimBuffer(){let{_bufferSize:t,_timestampProvider:n,_buffer:r,_infiniteTimeWindow:o}=this,i=(o?1:2)*t;if(t<1/0&&i<r.length&&r.splice(0,r.length-i),!o){let s=n.now(),a=0;for(let c=1;c<r.length&&r[c]<=s;c+=2)a=c;a&&r.splice(0,a+1)}}};var Tr=class extends H{constructor(t,n){super()}schedule(t,n=0){return this}};var En={setInterval(e,t,...n){let{delegate:r}=En;return r?.setInterval?r.setInterval(e,t,...n):setInterval(e,t,...n)},clearInterval(e){let{delegate:t}=En;return(t?.clearInterval||clearInterval)(e)},delegate:void 0};var Cr=class extends Tr{constructor(t,n){super(t,n),this.scheduler=t,this.work=n,this.pending=!1}schedule(t,n=0){var r;if(this.closed)return this;this.state=t;let o=this.id,i=this.scheduler;return o!=null&&(this.id=this.recycleAsyncId(i,o,n)),this.pending=!0,this.delay=n,this.id=(r=this.id)!==null&&r!==void 0?r:this.requestAsyncId(i,this.id,n),this}requestAsyncId(t,n,r=0){return En.setInterval(t.flush.bind(t,this),r)}recycleAsyncId(t,n,r=0){if(r!=null&&this.delay===r&&this.pending===!1)return n;n!=null&&En.clearInterval(n)}execute(t,n){if(this.closed)return new Error("executing a cancelled action");this.pending=!1;let r=this._execute(t,n);if(r)return r;this.pending===!1&&this.id!=null&&(this.id=this.recycleAsyncId(this.scheduler,this.id,null))}_execute(t,n){let r=!1,o;try{this.work(t)}catch(i){r=!0,o=i||new Error("Scheduled action threw falsy error")}if(r)return this.unsubscribe(),o}unsubscribe(){if(!this.closed){let{id:t,scheduler:n}=this,{actions:r}=n;this.work=this.state=this.scheduler=null,this.pending=!1,rt(r,this),t!=null&&(this.id=this.recycleAsyncId(n,t,null)),this.delay=null,super.unsubscribe()}}};var Bt=class e{constructor(t,n=e.now){this.schedulerActionCtor=t,this.now=n}schedule(t,n=0,r){return new this.schedulerActionCtor(this,t).schedule(r,n)}};Bt.now=vn.now;var br=class extends Bt{constructor(t,n=Bt.now){super(t,n),this.actions=[],this._active=!1}flush(t){let{actions:n}=this;if(this._active){n.push(t);return}let r;this._active=!0;do if(r=t.execute(t.state,t.delay))break;while(t=n.shift());if(this._active=!1,r){for(;t=n.shift();)t.unsubscribe();throw r}}};var st=new br(Cr),Cc=st;var at=new S(e=>e.complete());function _r(e){return e&&D(e.schedule)}function Ri(e){return e[e.length-1]}function bc(e){return D(Ri(e))?e.pop():void 0}function Te(e){return _r(Ri(e))?e.pop():void 0}function _c(e,t){return typeof Ri(e)=="number"?e.pop():t}function Nc(e,t,n,r){function o(i){return i instanceof n?i:new n(function(s){s(i)})}return new(n||(n=Promise))(function(i,s){function a(u){try{l(r.next(u))}catch(d){s(d)}}function c(u){try{l(r.throw(u))}catch(d){s(d)}}function l(u){u.done?i(u.value):o(u.value).then(a,c)}l((r=r.apply(e,t||[])).next())})}function Mc(e){var t=typeof Symbol=="function"&&Symbol.iterator,n=t&&e[t],r=0;if(n)return n.call(e);if(e&&typeof e.length=="number")return{next:function(){return e&&r>=e.length&&(e=void 0),{value:e&&e[r++],done:!e}}};throw new TypeError(t?"Object is not iterable.":"Symbol.iterator is not defined.")}function ct(e){return this instanceof ct?(this.v=e,this):new ct(e)}function Sc(e,t,n){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var r=n.apply(e,t||[]),o,i=[];return o=Object.create((typeof AsyncIterator=="function"?AsyncIterator:Object).prototype),a("next"),a("throw"),a("return",s),o[Symbol.asyncIterator]=function(){return this},o;function s(f){return function(h){return Promise.resolve(h).then(f,d)}}function a(f,h){r[f]&&(o[f]=function(v){return new Promise(function(_,N){i.push([f,v,_,N])>1||c(f,v)})},h&&(o[f]=h(o[f])))}function c(f,h){try{l(r[f](h))}catch(v){p(i[0][3],v)}}function l(f){f.value instanceof ct?Promise.resolve(f.value.v).then(u,d):p(i[0][2],f)}function u(f){c("next",f)}function d(f){c("throw",f)}function p(f,h){f(h),i.shift(),i.length&&c(i[0][0],i[0][1])}}function xc(e){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var t=e[Symbol.asyncIterator],n;return t?t.call(e):(e=typeof Mc=="function"?Mc(e):e[Symbol.iterator](),n={},r("next"),r("throw"),r("return"),n[Symbol.asyncIterator]=function(){return this},n);function r(i){n[i]=e[i]&&function(s){return new Promise(function(a,c){s=e[i](s),o(a,c,s.done,s.value)})}}function o(i,s,a,c){Promise.resolve(c).then(function(l){i({value:l,done:a})},s)}}var Mr=e=>e&&typeof e.length=="number"&&typeof e!="function";function Nr(e){return D(e?.then)}function Sr(e){return D(e[Ht])}function xr(e){return Symbol.asyncIterator&&D(e?.[Symbol.asyncIterator])}function Ar(e){return new TypeError(`You provided ${e!==null&&typeof e=="object"?"an invalid object":`'${e}'`} where a stream was expected. You can provide an Observable, Promise, ReadableStream, Array, AsyncIterable, or Iterable.`)}function zp(){return typeof Symbol!="function"||!Symbol.iterator?"@@iterator":Symbol.iterator}var Rr=zp();function kr(e){return D(e?.[Rr])}function Or(e){return Sc(this,arguments,function*(){let n=e.getReader();try{for(;;){let{value:r,done:o}=yield ct(n.read());if(o)return yield ct(void 0);yield yield ct(r)}}finally{n.releaseLock()}})}function Pr(e){return D(e?.getReader)}function P(e){if(e instanceof S)return e;if(e!=null){if(Sr(e))return Qp(e);if(Mr(e))return Zp(e);if(Nr(e))return Yp(e);if(xr(e))return Ac(e);if(kr(e))return Kp(e);if(Pr(e))return Jp(e)}throw Ar(e)}function Qp(e){return new S(t=>{let n=e[Ht]();if(D(n.subscribe))return n.subscribe(t);throw new TypeError("Provided object does not correctly implement Symbol.observable")})}function Zp(e){return new S(t=>{for(let n=0;n<e.length&&!t.closed;n++)t.next(e[n]);t.complete()})}function Yp(e){return new S(t=>{e.then(n=>{t.closed||(t.next(n),t.complete())},n=>t.error(n)).then(null,Er)})}function Kp(e){return new S(t=>{for(let n of e)if(t.next(n),t.closed)return;t.complete()})}function Ac(e){return new S(t=>{Xp(e,t).catch(n=>t.error(n))})}function Jp(e){return Ac(Or(e))}function Xp(e,t){var n,r,o,i;return Nc(this,void 0,void 0,function*(){try{for(n=xc(e);r=yield n.next(),!r.done;){let s=r.value;if(t.next(s),t.closed)return}}catch(s){o={error:s}}finally{try{r&&!r.done&&(i=n.return)&&(yield i.call(n))}finally{if(o)throw o.error}}t.complete()})}function X(e,t,n,r=0,o=!1){let i=t.schedule(function(){n(),o?e.add(this.schedule(null,r)):this.unsubscribe()},r);if(e.add(i),!o)return i}function Lr(e,t=0){return T((n,r)=>{n.subscribe(C(r,o=>X(r,e,()=>r.next(o),t),()=>X(r,e,()=>r.complete(),t),o=>X(r,e,()=>r.error(o),t)))})}function Fr(e,t=0){return T((n,r)=>{r.add(e.schedule(()=>n.subscribe(r),t))})}function Rc(e,t){return P(e).pipe(Fr(t),Lr(t))}function kc(e,t){return P(e).pipe(Fr(t),Lr(t))}function Oc(e,t){return new S(n=>{let r=0;return t.schedule(function(){r===e.length?n.complete():(n.next(e[r++]),n.closed||this.schedule())})})}function Pc(e,t){return new S(n=>{let r;return X(n,t,()=>{r=e[Rr](),X(n,t,()=>{let o,i;try{({value:o,done:i}=r.next())}catch(s){n.error(s);return}i?n.complete():n.next(o)},0,!0)}),()=>D(r?.return)&&r.return()})}function jr(e,t){if(!e)throw new Error("Iterable cannot be null");return new S(n=>{X(n,t,()=>{let r=e[Symbol.asyncIterator]();X(n,t,()=>{r.next().then(o=>{o.done?n.complete():n.next(o.value)})},0,!0)})})}function Lc(e,t){return jr(Or(e),t)}function Fc(e,t){if(e!=null){if(Sr(e))return Rc(e,t);if(Mr(e))return Oc(e,t);if(Nr(e))return kc(e,t);if(xr(e))return jr(e,t);if(kr(e))return Pc(e,t);if(Pr(e))return Lc(e,t)}throw Ar(e)}function Ce(e,t){return t?Fc(e,t):P(e)}function eh(...e){let t=Te(e);return Ce(e,t)}function th(e,t){let n=D(e)?e:()=>e,r=o=>o.error(n());return new S(t?o=>t.schedule(r,0,o):r)}function nh(e){return!!e&&(e instanceof S||D(e.lift)&&D(e.subscribe))}var lt=Ft(e=>function(){e(this),this.name="EmptyError",this.message="no elements in sequence"});function rh(e,t){let n=typeof t=="object";return new Promise((r,o)=>{let i=new fe({next:s=>{r(s),i.unsubscribe()},error:o,complete:()=>{n?r(t.defaultValue):o(new lt)}});e.subscribe(i)})}function jc(e){return e instanceof Date&&!isNaN(e)}function We(e,t){return T((n,r)=>{let o=0;n.subscribe(C(r,i=>{r.next(e.call(t,i,o++))}))})}var{isArray:oh}=Array;function ih(e,t){return oh(t)?e(...t):e(t)}function Vc(e){return We(t=>ih(e,t))}var{isArray:sh}=Array,{getPrototypeOf:ah,prototype:ch,keys:lh}=Object;function Hc(e){if(e.length===1){let t=e[0];if(sh(t))return{args:t,keys:null};if(uh(t)){let n=lh(t);return{args:n.map(r=>t[r]),keys:n}}}return{args:e,keys:null}}function uh(e){return e&&typeof e=="object"&&ah(e)===ch}function Bc(e,t){return e.reduce((n,r,o)=>(n[r]=t[o],n),{})}function dh(...e){let t=Te(e),n=bc(e),{args:r,keys:o}=Hc(e);if(r.length===0)return Ce([],t);let i=new S(fh(r,t,o?s=>Bc(o,s):te));return n?i.pipe(Vc(n)):i}function fh(e,t,n=te){return r=>{$c(t,()=>{let{length:o}=e,i=new Array(o),s=o,a=o;for(let c=0;c<o;c++)$c(t,()=>{let l=Ce(e[c],t),u=!1;l.subscribe(C(r,d=>{i[c]=d,u||(u=!0,a--),a||r.next(n(i.slice()))},()=>{--s||r.complete()}))},r)},r)}}function $c(e,t,n){e?X(n,e,t):t()}function Uc(e,t,n,r,o,i,s,a){let c=[],l=0,u=0,d=!1,p=()=>{d&&!c.length&&!l&&t.complete()},f=v=>l<r?h(v):c.push(v),h=v=>{i&&t.next(v),l++;let _=!1;P(n(v,u++)).subscribe(C(t,N=>{o?.(N),i?f(N):t.next(N)},()=>{_=!0},void 0,()=>{if(_)try{for(l--;c.length&&l<r;){let N=c.shift();s?X(t,s,()=>h(N)):h(N)}p()}catch(N){t.error(N)}}))};return e.subscribe(C(t,f,()=>{d=!0,p()})),()=>{a?.()}}function ut(e,t,n=1/0){return D(t)?ut((r,o)=>We((i,s)=>t(r,i,o,s))(P(e(r,o))),n):(typeof t=="number"&&(n=t),T((r,o)=>Uc(r,o,e,n)))}function Vr(e=1/0){return ut(te,e)}function Wc(){return Vr(1)}function Hr(...e){return Wc()(Ce(e,Te(e)))}function ph(e){return new S(t=>{P(e()).subscribe(t)})}function Dn(e=0,t,n=Cc){let r=-1;return t!=null&&(_r(t)?n=t:r=t),new S(o=>{let i=jc(e)?+e-n.now():e;i<0&&(i=0);let s=0;return n.schedule(function(){o.closed||(o.next(s++),0<=r?this.schedule(void 0,r):o.complete())},i)})}function hh(e=0,t=st){return e<0&&(e=0),Dn(e,e,t)}function gh(...e){let t=Te(e),n=_c(e,1/0),r=e;return r.length?r.length===1?P(r[0]):Vr(n)(Ce(r,t)):at}function $t(e,t){return T((n,r)=>{let o=0;n.subscribe(C(r,i=>e.call(t,i,o++)&&r.next(i)))})}function qc(e){return T((t,n)=>{let r=!1,o=null,i=null,s=!1,a=()=>{if(i?.unsubscribe(),i=null,r){r=!1;let l=o;o=null,n.next(l)}s&&n.complete()},c=()=>{i=null,s&&n.complete()};t.subscribe(C(n,l=>{r=!0,o=l,i||P(e(l)).subscribe(i=C(n,a,c))},()=>{s=!0,(!r||!i||i.closed)&&n.complete()}))})}function mh(e,t=st){return qc(()=>Dn(e,t))}function Gc(e){return T((t,n)=>{let r=null,o=!1,i;r=t.subscribe(C(n,void 0,void 0,s=>{i=P(e(s,Gc(e)(t))),r?(r.unsubscribe(),r=null,i.subscribe(n)):o=!0})),o&&(r.unsubscribe(),r=null,i.subscribe(n))})}function zc(e,t,n,r,o){return(i,s)=>{let a=n,c=t,l=0;i.subscribe(C(s,u=>{let d=l++;c=a?e(c,u,d):(a=!0,u),r&&s.next(c)},o&&(()=>{a&&s.next(c),s.complete()})))}}function yh(e,t){return D(t)?ut(e,t,1):ut(e,1)}function Qc(e,t=st){return T((n,r)=>{let o=null,i=null,s=null,a=()=>{if(o){o.unsubscribe(),o=null;let l=i;i=null,r.next(l)}};function c(){let l=s+e,u=t.now();if(u<l){o=this.schedule(void 0,l-u),r.add(o);return}a()}n.subscribe(C(r,l=>{i=l,s=t.now(),o||(o=t.schedule(c,e),r.add(o))},()=>{a(),r.complete()},void 0,()=>{i=o=null}))})}function Zc(e){return T((t,n)=>{let r=!1;t.subscribe(C(n,o=>{r=!0,n.next(o)},()=>{r||n.next(e),n.complete()}))})}function Br(e){return e<=0?()=>at:T((t,n)=>{let r=0;t.subscribe(C(n,o=>{++r<=e&&(n.next(o),e<=r&&n.complete())}))})}function Yc(e,t=te){return e=e??vh,T((n,r)=>{let o,i=!0;n.subscribe(C(r,s=>{let a=t(s);(i||!e(o,a))&&(i=!1,o=a,r.next(s))}))})}function vh(e,t){return e===t}function Kc(e=Ih){return T((t,n)=>{let r=!1;t.subscribe(C(n,o=>{r=!0,n.next(o)},()=>r?n.complete():n.error(e())))})}function Ih(){return new lt}function Eh(e){return T((t,n)=>{try{t.subscribe(n)}finally{n.add(e)}})}function Dh(e,t){let n=arguments.length>=2;return r=>r.pipe(e?$t((o,i)=>e(o,i,r)):te,Br(1),n?Zc(t):Kc(()=>new lt))}function wh(e){return e<=0?()=>at:T((t,n)=>{let r=[];t.subscribe(C(n,o=>{r.push(o),e<r.length&&r.shift()},()=>{for(let o of r)n.next(o);n.complete()},void 0,()=>{r=null}))})}function Jc(e,t){return T(zc(e,t,arguments.length>=2,!0))}function Xc(e={}){let{connector:t=()=>new ne,resetOnError:n=!0,resetOnComplete:r=!0,resetOnRefCountZero:o=!0}=e;return i=>{let s,a,c,l=0,u=!1,d=!1,p=()=>{a?.unsubscribe(),a=void 0},f=()=>{p(),s=c=void 0,u=d=!1},h=()=>{let v=s;f(),v?.unsubscribe()};return T((v,_)=>{l++,!d&&!u&&p();let N=c=c??t();_.add(()=>{l--,l===0&&!d&&!u&&(a=ki(h,o))}),N.subscribe(_),!s&&l>0&&(s=new fe({next:ue=>N.next(ue),error:ue=>{d=!0,p(),a=ki(f,n,ue),N.error(ue)},complete:()=>{u=!0,p(),a=ki(f,r),N.complete()}}),P(v).subscribe(s))})(i)}}function ki(e,t,...n){if(t===!0){e();return}if(t===!1)return;let r=new fe({next:()=>{r.unsubscribe(),e()}});return P(t(...n)).subscribe(r)}function el(e,t,n){let r,o=!1;return e&&typeof e=="object"?{bufferSize:r=1/0,windowTime:t=1/0,refCount:o=!1,scheduler:n}=e:r=e??1/0,Xc({connector:()=>new In(r,t,n),resetOnError:!0,resetOnComplete:!1,resetOnRefCountZero:o})}function Th(e){return $t((t,n)=>e<=n)}function tl(...e){let t=Te(e);return T((n,r)=>{(t?Hr(e,n,t):Hr(e,n)).subscribe(r)})}function nl(e,t){return T((n,r)=>{let o=null,i=0,s=!1,a=()=>s&&!o&&r.complete();n.subscribe(C(r,c=>{o?.unsubscribe();let l=0,u=i++;P(e(c,u)).subscribe(o=C(r,d=>r.next(t?t(c,d,u,l++):d),()=>{o=null,a()}))},()=>{s=!0,a()}))})}function Ch(e){return T((t,n)=>{P(e).subscribe(C(n,()=>n.complete(),mn)),!n.closed&&t.subscribe(n)})}function bh(e,t,n){let r=D(e)||t||n?{next:e,error:t,complete:n}:e;return r?T((o,i)=>{var s;(s=r.subscribe)===null||s===void 0||s.call(r);let a=!0;o.subscribe(C(i,c=>{var l;(l=r.next)===null||l===void 0||l.call(r,c),i.next(c)},()=>{var c;a=!1,(c=r.complete)===null||c===void 0||c.call(r),i.complete()},c=>{var l;a=!1,(l=r.error)===null||l===void 0||l.call(r,c),i.error(c)},()=>{var c,l;a&&((c=r.unsubscribe)===null||c===void 0||c.call(r)),(l=r.finalize)===null||l===void 0||l.call(r)}))}):te}var Qr="https://angular.dev/best-practices/security#preventing-cross-site-scripting-xss",b=class extends Error{code;constructor(t,n){super(Mn(t,n)),this.code=t}};function _h(e){return`NG0${Math.abs(e)}`}function Mn(e,t){return`${_h(e)}${t?": "+t:""}`}function A(e){for(let t in e)if(e[t]===A)return t;throw Error("")}function al(e,t){for(let n in t)t.hasOwnProperty(n)&&!e.hasOwnProperty(n)&&(e[n]=t[n])}function Nn(e){if(typeof e=="string")return e;if(Array.isArray(e))return`[${e.map(Nn).join(", ")}]`;if(e==null)return""+e;let t=e.overriddenName||e.name;if(t)return`${t}`;let n=e.toString();if(n==null)return""+n;let r=n.indexOf(`
|
|
4
|
-
`);return r>=0?n.slice(0,r):n}function Zr(e,t){return e?t?`${e} ${t}`:e:t||""}var Mh=A({__forward_ref__:A});function Yr(e){return e.__forward_ref__=Yr,e}function B(e){return Gi(e)?e():e}function Gi(e){return typeof e=="function"&&e.hasOwnProperty(Mh)&&e.__forward_ref__===Yr}function he(e){return{token:e.token,providedIn:e.providedIn||null,factory:e.factory,value:void 0}}function cl(e){return{providers:e.providers||[],imports:e.imports||[]}}function Sn(e){return Sh(e,Kr)}function Nh(e){return Sn(e)!==null}function Sh(e,t){return e.hasOwnProperty(t)&&e[t]||null}function xh(e){let t=e?.[Kr]??null;return t||null}function Pi(e){return e&&e.hasOwnProperty(Ur)?e[Ur]:null}var Kr=A({\u0275prov:A}),Ur=A({\u0275inj:A}),x=class{_desc;ngMetadataName="InjectionToken";\u0275prov;constructor(t,n){this._desc=t,this.\u0275prov=void 0,typeof n=="number"?this.__NG_ELEMENT_ID__=n:n!==void 0&&(this.\u0275prov=he({token:this,providedIn:n.providedIn||"root",factory:n.factory}))}get multi(){return this}toString(){return`InjectionToken ${this._desc}`}};function zi(e){return e&&!!e.\u0275providers}var Qi=A({\u0275cmp:A}),Zi=A({\u0275dir:A}),Yi=A({\u0275pipe:A}),Ki=A({\u0275mod:A}),Tn=A({\u0275fac:A}),gt=A({__NG_ELEMENT_ID__:A}),rl=A({__NG_ENV_ID__:A});function ll(e){return Xr(e,"@NgModule"),e[Ki]||null}function ze(e){return Xr(e,"@Component"),e[Qi]||null}function Jr(e){return Xr(e,"@Directive"),e[Zi]||null}function ul(e){return Xr(e,"@Pipe"),e[Yi]||null}function Xr(e,t){if(e==null)throw new b(-919,!1)}function qt(e){return typeof e=="string"?e:e==null?"":String(e)}var dl=A({ngErrorCode:A}),Ah=A({ngErrorMessage:A}),Rh=A({ngTokenPath:A});function Ji(e,t){return fl("",-200,t)}function eo(e,t){throw new b(-201,!1)}function fl(e,t,n){let r=new b(t,e);return r[dl]=t,r[Ah]=e,n&&(r[Rh]=n),r}function kh(e){return e[dl]}var Li;function pl(){return Li}function K(e){let t=Li;return Li=e,t}function Xi(e,t,n){let r=Sn(e);if(r&&r.providedIn=="root")return r.value===void 0?r.value=r.factory():r.value;if(n&8)return null;if(t!==void 0)return t;eo(e,"")}var Gt=globalThis;var Oh={},dt=Oh,Ph="__NG_DI_FLAG__",Fi=class{injector;constructor(t){this.injector=t}retrieve(t,n){let r=ft(n)||0;try{return this.injector.get(t,r&8?null:dt,r)}catch(o){if(Lt(o))return o;throw o}}};function Lh(e,t=0){let n=yr();if(n===void 0)throw new b(-203,!1);if(n===null)return Xi(e,void 0,t);{let r=Fh(t),o=n.retrieve(e,r);if(Lt(o)){if(r.optional)return null;throw o}return o}}function be(e,t=0){return(pl()||Lh)(B(e),t)}function E(e,t){return be(e,ft(t))}function ft(e){return typeof e>"u"||typeof e=="number"?e:0|(e.optional&&8)|(e.host&&1)|(e.self&&2)|(e.skipSelf&&4)}function Fh(e){return{optional:!!(e&8),host:!!(e&1),self:!!(e&2),skipSelf:!!(e&4)}}function ji(e){let t=[];for(let n=0;n<e.length;n++){let r=B(e[n]);if(Array.isArray(r)){if(r.length===0)throw new b(900,!1);let o,i=0;for(let s=0;s<r.length;s++){let a=r[s],c=jh(a);typeof c=="number"?c===-1?o=a.token:i|=c:o=a}t.push(be(o,i))}else t.push(be(r))}return t}function jh(e){return e[Ph]}function qe(e,t){let n=e.hasOwnProperty(Tn);return n?e[Tn]:null}function hl(e,t,n){if(e.length!==t.length)return!1;for(let r=0;r<e.length;r++){let o=e[r],i=t[r];if(n&&(o=n(o),i=n(i)),i!==o)return!1}return!0}function gl(e){return e.flat(Number.POSITIVE_INFINITY)}function to(e,t){e.forEach(n=>Array.isArray(n)?to(n,t):t(n))}function es(e,t,n){t>=e.length?e.push(n):e.splice(t,0,n)}function xn(e,t){return t>=e.length-1?e.pop():e.splice(t,1)[0]}function ml(e,t){let n=[];for(let r=0;r<e;r++)n.push(t);return n}function yl(e,t,n,r){let o=e.length;if(o==t)e.push(n,r);else if(o===1)e.push(r,e[0]),e[0]=n;else{for(o--,e.push(e[o-1],e[o]);o>t;){let i=o-2;e[o]=e[i],o--}e[t]=n,e[t+1]=r}}function An(e,t,n){let r=zt(e,t);return r>=0?e[r|1]=n:(r=~r,yl(e,r,t,n)),r}function no(e,t){let n=zt(e,t);if(n>=0)return e[n|1]}function zt(e,t){return Vh(e,t,1)}function Vh(e,t,n){let r=0,o=e.length>>n;for(;o!==r;){let i=r+(o-r>>1),s=e[i<<n];if(t===s)return i<<n;s>t?o=i:r=i+1}return~(o<<n)}var Qe={},Q=[],mt=new x(""),Rn=new x("",-1),ts=new x(""),Wt=class{get(t,n=dt){if(n===dt){let o=fl("",-201);throw o.name="\u0275NotFound",o}return n}};function ns(e){return{\u0275providers:e}}function vl(...e){return{\u0275providers:rs(!0,e),\u0275fromNgModule:!0}}function rs(e,...t){let n=[],r=new Set,o,i=s=>{n.push(s)};return to(t,s=>{let a=s;Wr(a,i,[],r)&&(o||=[],o.push(a))}),o!==void 0&&Il(o,i),n}function Il(e,t){for(let n=0;n<e.length;n++){let{ngModule:r,providers:o}=e[n];os(o,i=>{t(i,r)})}}function Wr(e,t,n,r){if(e=B(e),!e)return!1;let o=null,i=Pi(e),s=!i&&ze(e);if(!i&&!s){let c=e.ngModule;if(i=Pi(c),i)o=c;else return!1}else{if(s&&!s.standalone)return!1;o=e}let a=r.has(o);if(s){if(a)return!1;if(r.add(o),s.dependencies){let c=typeof s.dependencies=="function"?s.dependencies():s.dependencies;for(let l of c)Wr(l,t,n,r)}}else if(i){if(i.imports!=null&&!a){r.add(o);let l;to(i.imports,u=>{Wr(u,t,n,r)&&(l||=[],l.push(u))}),l!==void 0&&Il(l,t)}if(!a){let l=qe(o)||(()=>new o);t({provide:o,useFactory:l,deps:Q},o),t({provide:ts,useValue:o,multi:!0},o),t({provide:mt,useValue:()=>be(o),multi:!0},o)}let c=i.providers;if(c!=null&&!a){let l=e;os(c,u=>{t(u,l)})}}else return!1;return o!==e&&e.providers!==void 0}function os(e,t){for(let n of e)zi(n)&&(n=n.\u0275providers),Array.isArray(n)?os(n,t):t(n)}var Hh=A({provide:String,useValue:A});function El(e){return e!==null&&typeof e=="object"&&Hh in e}function Bh(e){return!!(e&&e.useExisting)}function $h(e){return!!(e&&e.useFactory)}function pt(e){return typeof e=="function"}function Dl(e){return!!e.useClass}var is=new x(""),$r={},ol={},Oi;function Qt(){return Oi===void 0&&(Oi=new Wt),Oi}var oe=class{},ht=class extends oe{parent;source;scopes;records=new Map;_ngOnDestroyHooks=new Set;_onDestroyHooks=[];get destroyed(){return this._destroyed}_destroyed=!1;injectorDefTypes;constructor(t,n,r,o){super(),this.parent=n,this.source=r,this.scopes=o,Hi(t,s=>this.processProvider(s)),this.records.set(Rn,Ut(void 0,this)),o.has("environment")&&this.records.set(oe,Ut(void 0,this));let i=this.records.get(is);i!=null&&typeof i.value=="string"&&this.scopes.add(i.value),this.injectorDefTypes=new Set(this.get(ts,Q,{self:!0}))}retrieve(t,n){let r=ft(n)||0;try{return this.get(t,dt,r)}catch(o){if(Lt(o))return o;throw o}}destroy(){wn(this),this._destroyed=!0;let t=m(null);try{for(let r of this._ngOnDestroyHooks)r.ngOnDestroy();let n=this._onDestroyHooks;this._onDestroyHooks=[];for(let r of n)r()}finally{this.records.clear(),this._ngOnDestroyHooks.clear(),this.injectorDefTypes.clear(),m(t)}}onDestroy(t){return wn(this),this._onDestroyHooks.push(t),()=>this.removeOnDestroy(t)}runInContext(t){wn(this);let n=we(this),r=K(void 0),o;try{return t()}finally{we(n),K(r)}}get(t,n=dt,r){if(wn(this),t.hasOwnProperty(rl))return t[rl](this);let o=ft(r),i,s=we(this),a=K(void 0);try{if(!(o&4)){let l=this.records.get(t);if(l===void 0){let u=zh(t)&&Sn(t);u&&this.injectableDefInScope(u)?l=Ut(Vi(t),$r):l=null,this.records.set(t,l)}if(l!=null)return this.hydrate(t,l,o)}let c=o&2?Qt():this.parent;return n=o&8&&n===dt?null:n,c.get(t,n)}catch(c){let l=kh(c);throw l===-200||l===-201?new b(l,null):c}finally{K(a),we(s)}}resolveInjectorInitializers(){let t=m(null),n=we(this),r=K(void 0),o;try{let i=this.get(mt,Q,{self:!0});for(let s of i)s()}finally{we(n),K(r),m(t)}}toString(){return"R3Injector[...]"}processProvider(t){t=B(t);let n=pt(t)?t:B(t&&t.provide),r=Wh(t);if(!pt(t)&&t.multi===!0){let o=this.records.get(n);o||(o=Ut(void 0,$r,!0),o.factory=()=>ji(o.multi),this.records.set(n,o)),n=t,o.multi.push(t)}this.records.set(n,r)}hydrate(t,n,r){let o=m(null);try{if(n.value===ol)throw Ji("");return n.value===$r&&(n.value=ol,n.value=n.factory(void 0,r)),typeof n.value=="object"&&n.value&&Gh(n.value)&&this._ngOnDestroyHooks.add(n.value),n.value}finally{m(o)}}injectableDefInScope(t){if(!t.providedIn)return!1;let n=B(t.providedIn);return typeof n=="string"?n==="any"||this.scopes.has(n):this.injectorDefTypes.has(n)}removeOnDestroy(t){let n=this._onDestroyHooks.indexOf(t);n!==-1&&this._onDestroyHooks.splice(n,1)}};function Vi(e){let t=Sn(e),n=t!==null?t.factory:qe(e);if(n!==null)return n;if(e instanceof x)throw new b(-204,!1);if(e instanceof Function)return Uh(e);throw new b(-204,!1)}function Uh(e){if(e.length>0)throw new b(-204,!1);let n=xh(e);return n!==null?()=>n.factory(e):()=>new e}function Wh(e){if(El(e))return Ut(void 0,e.useValue);{let t=ss(e);return Ut(t,$r)}}function ss(e,t,n){let r;if(pt(e)){let o=B(e);return qe(o)||Vi(o)}else if(El(e))r=()=>B(e.useValue);else if($h(e))r=()=>e.useFactory(...ji(e.deps||[]));else if(Bh(e))r=(o,i)=>be(B(e.useExisting),i!==void 0&&i&8?8:void 0);else{let o=B(e&&(e.useClass||e.provide));if(qh(e))r=()=>new o(...ji(e.deps));else return qe(o)||Vi(o)}return r}function wn(e){if(e.destroyed)throw new b(-205,!1)}function Ut(e,t,n=!1){return{factory:e,value:t,multi:n?[]:void 0}}function qh(e){return!!e.deps}function Gh(e){return e!==null&&typeof e=="object"&&typeof e.ngOnDestroy=="function"}function zh(e){return typeof e=="function"||typeof e=="object"&&e.ngMetadataName==="InjectionToken"}function Hi(e,t){for(let n of e)Array.isArray(n)?Hi(n,t):n&&zi(n)?Hi(n.\u0275providers,t):t(n)}function ro(e,t){let n;e instanceof ht?(wn(e),n=e):n=new Fi(e);let r,o=we(n),i=K(void 0);try{return t()}finally{we(o),K(i)}}function wl(){return pl()!==void 0||yr()!=null}var ge=0,g=1,I=2,$=3,ie=4,Z=5,yt=6,Zt=7,j=8,Me=9,me=10,k=11,Yt=12,as=13,vt=14,J=15,Ze=16,It=17,Ne=18,Se=19,cs=20,ke=21,oo=22,Ge=23,re=24,Et=25,xe=26,O=27,Tl=1,ls=6,Ye=7,kn=8,Dt=9,L=10;function Le(e){return Array.isArray(e)&&typeof e[Tl]=="object"}function se(e){return Array.isArray(e)&&e[Tl]===!0}function us(e){return(e.flags&4)!==0}function Fe(e){return e.componentOffset>-1}function Kt(e){return(e.flags&1)===1}function ye(e){return!!e.template}function Jt(e){return(e[I]&512)!==0}function wt(e){return(e[I]&256)===256}var ds="svg",Cl="math";function ae(e){for(;Array.isArray(e);)e=e[ge];return e}function fs(e,t){return ae(t[e])}function ve(e,t){return ae(t[e.index])}function io(e,t){return e.data[t]}function so(e,t){return e[t]}function On(e,t,n,r){n>=e.data.length&&(e.data[n]=null,e.blueprint[n]=null),t[n]=r}function ce(e,t){let n=t[e];return Le(n)?n:n[ge]}function ao(e){return(e[I]&128)===128}function bl(e){return se(e[$])}function le(e,t){return t==null?null:e[t]}function ps(e){e[It]=0}function hs(e){e[I]&1024||(e[I]|=1024,ao(e)&&Tt(e))}function _l(e,t){for(;e>0;)t=t[vt],e--;return t}function Pn(e){return!!(e[I]&9216||e[re]?.dirty)}function co(e){e[me].changeDetectionScheduler?.notify(8),e[I]&64&&(e[I]|=1024),Pn(e)&&Tt(e)}function Tt(e){e[me].changeDetectionScheduler?.notify(0);let t=Oe(e);for(;t!==null&&!(t[I]&8192||(t[I]|=8192,!ao(t)));)t=Oe(t)}function lo(e,t){if(wt(e))throw new b(911,!1);e[ke]===null&&(e[ke]=[]),e[ke].push(t)}function Ml(e,t){if(e[ke]===null)return;let n=e[ke].indexOf(t);n!==-1&&e[ke].splice(n,1)}function Oe(e){let t=e[$];return se(t)?t[$]:t}function gs(e){return e[Zt]??=[]}function ms(e){return e.cleanup??=[]}function Nl(e,t,n,r){let o=gs(t);o.push(n),e.firstCreatePass&&ms(e).push(r,o.length-1)}var w={lFrame:$l(null),bindingsEnabled:!0,skipHydrationRootTNode:null};var Bi=!1;function Sl(){return w.lFrame.elementDepthCount}function xl(){w.lFrame.elementDepthCount++}function ys(){w.lFrame.elementDepthCount--}function uo(){return w.bindingsEnabled}function vs(){return w.skipHydrationRootTNode!==null}function Is(e){return w.skipHydrationRootTNode===e}function Es(){w.skipHydrationRootTNode=null}function y(){return w.lFrame.lView}function F(){return w.lFrame.tView}function Al(e){return w.lFrame.contextLView=e,e[j]}function Rl(e){return w.lFrame.contextLView=null,e}function Y(){let e=Ds();for(;e!==null&&e.type===64;)e=e.parent;return e}function Ds(){return w.lFrame.currentTNode}function kl(){let e=w.lFrame,t=e.currentTNode;return e.isParent?t:t.parent}function Ct(e,t){let n=w.lFrame;n.currentTNode=e,n.isParent=t}function ws(){return w.lFrame.isParent}function Ts(){w.lFrame.isParent=!1}function Cs(){return w.lFrame.contextLView}function bs(){return Bi}function Cn(e){let t=Bi;return Bi=e,t}function fo(){let e=w.lFrame,t=e.bindingRootIndex;return t===-1&&(t=e.bindingRootIndex=e.tView.bindingStartIndex),t}function Ol(){return w.lFrame.bindingIndex}function Pl(e){return w.lFrame.bindingIndex=e}function bt(){return w.lFrame.bindingIndex++}function po(e){let t=w.lFrame,n=t.bindingIndex;return t.bindingIndex=t.bindingIndex+e,n}function Ll(){return w.lFrame.inI18n}function Fl(e,t){let n=w.lFrame;n.bindingIndex=n.bindingRootIndex=e,ho(t)}function jl(){return w.lFrame.currentDirectiveIndex}function ho(e){w.lFrame.currentDirectiveIndex=e}function Vl(e){let t=w.lFrame.currentDirectiveIndex;return t===-1?null:e[t]}function Hl(){return w.lFrame.currentQueryIndex}function go(e){w.lFrame.currentQueryIndex=e}function Qh(e){let t=e[g];return t.type===2?t.declTNode:t.type===1?e[Z]:null}function _s(e,t,n){if(n&4){let o=t,i=e;for(;o=o.parent,o===null&&!(n&1);)if(o=Qh(i),o===null||(i=i[vt],o.type&10))break;if(o===null)return!1;t=o,e=i}let r=w.lFrame=Bl();return r.currentTNode=t,r.lView=e,!0}function mo(e){let t=Bl(),n=e[g];w.lFrame=t,t.currentTNode=n.firstChild,t.lView=e,t.tView=n,t.contextLView=e,t.bindingIndex=n.bindingStartIndex,t.inI18n=!1}function Bl(){let e=w.lFrame,t=e===null?null:e.child;return t===null?$l(e):t}function $l(e){let t={currentTNode:null,isParent:!0,lView:null,tView:null,selectedIndex:-1,contextLView:null,elementDepthCount:0,currentNamespace:null,currentDirectiveIndex:-1,bindingRootIndex:-1,bindingIndex:-1,currentQueryIndex:0,parent:e,child:null,inI18n:!1};return e!==null&&(e.child=t),t}function Ul(){let e=w.lFrame;return w.lFrame=e.parent,e.currentTNode=null,e.lView=null,e}var Ms=Ul;function yo(){let e=Ul();e.isParent=!0,e.tView=null,e.selectedIndex=-1,e.contextLView=null,e.elementDepthCount=0,e.currentDirectiveIndex=-1,e.currentNamespace=null,e.bindingRootIndex=-1,e.bindingIndex=-1,e.currentQueryIndex=0}function Wl(e){return(w.lFrame.contextLView=_l(e,w.lFrame.contextLView))[j]}function Ie(){return w.lFrame.selectedIndex}function Ke(e){w.lFrame.selectedIndex=e}function vo(){let e=w.lFrame;return io(e.tView,e.selectedIndex)}function ql(){w.lFrame.currentNamespace=ds}function Gl(){Zh()}function Zh(){w.lFrame.currentNamespace=null}function Ns(){return w.lFrame.currentNamespace}var zl=!0;function Io(){return zl}function Ln(e){zl=e}function $i(e,t=null,n=null,r){let o=Ss(e,t,n,r);return o.resolveInjectorInitializers(),o}function Ss(e,t=null,n=null,r,o=new Set){let i=[n||Q,vl(e)],s;return new ht(i,t||Qt(),s||null,o)}var pe=class e{static THROW_IF_NOT_FOUND=dt;static NULL=new Wt;static create(t,n){if(Array.isArray(t))return $i({name:""},n,t,"");{let r=t.name??"";return $i({name:r},t.parent,t.providers,r)}}static \u0275prov=he({token:e,providedIn:"any",factory:()=>be(Rn)});static __NG_ELEMENT_ID__=-1},Eo=new x(""),je=(()=>{class e{static __NG_ELEMENT_ID__=Yh;static __NG_ENV_ID__=n=>n}return e})(),qr=class extends je{_lView;constructor(t){super(),this._lView=t}get destroyed(){return wt(this._lView)}onDestroy(t){let n=this._lView;return lo(n,t),()=>Ml(n,t)}};function Yh(){return new qr(y())}var xs=!1,Ql=new x(""),_t=(()=>{class e{taskId=0;pendingTasks=new Set;destroyed=!1;pendingTask=new yn(!1);debugTaskTracker=E(Ql,{optional:!0});get hasPendingTasks(){return this.destroyed?!1:this.pendingTask.value}get hasPendingTasksObservable(){return this.destroyed?new S(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),this.debugTaskTracker?.add(n),n}has(n){return this.pendingTasks.has(n)}remove(n){this.pendingTasks.delete(n),this.debugTaskTracker?.remove(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=he({token:e,providedIn:"root",factory:()=>new e})}return e})(),Ui=class extends ne{__isAsync;destroyRef=void 0;pendingTasks=void 0;constructor(t=!1){super(),this.__isAsync=t,wl()&&(this.destroyRef=E(je,{optional:!0})??void 0,this.pendingTasks=E(_t,{optional:!0})??void 0)}emit(t){let n=m(null);try{super.next(t)}finally{m(n)}}subscribe(t,n,r){let o=t,i=n||(()=>null),s=r;if(t&&typeof t=="object"){let c=t;o=c.next?.bind(c),i=c.error?.bind(c),s=c.complete?.bind(c)}this.__isAsync&&(i=this.wrapInTimeout(i),o&&(o=this.wrapInTimeout(o)),s&&(s=this.wrapInTimeout(s)));let a=super.subscribe({next:o,error:i,complete:s});return t instanceof H&&t.add(a),a}wrapInTimeout(t){return n=>{let r=this.pendingTasks?.add();setTimeout(()=>{try{t(n)}finally{r!==void 0&&this.pendingTasks?.remove(r)}})}}},Re=Ui;function Gr(...e){}function As(e){let t,n;function r(){e=Gr;try{n!==void 0&&typeof cancelAnimationFrame=="function"&&cancelAnimationFrame(n),t!==void 0&&clearTimeout(t)}catch(o){}}return t=setTimeout(()=>{e(),r()}),typeof requestAnimationFrame=="function"&&(n=requestAnimationFrame(()=>{e(),r()})),()=>r()}function Zl(e){return queueMicrotask(()=>e()),()=>{e=Gr}}var Rs="isAngularZone",bn=Rs+"_ID",Kh=0,G=class e{hasPendingMacrotasks=!1;hasPendingMicrotasks=!1;isStable=!0;onUnstable=new Re(!1);onMicrotaskEmpty=new Re(!1);onStable=new Re(!1);onError=new Re(!1);constructor(t){let{enableLongStackTrace:n=!1,shouldCoalesceEventChangeDetection:r=!1,shouldCoalesceRunChangeDetection:o=!1,scheduleInRootZone:i=xs}=t;if(typeof Zone>"u")throw new b(908,!1);Zone.assertZonePatched();let s=this;s._nesting=0,s._outer=s._inner=Zone.current,Zone.TaskTrackingZoneSpec&&(s._inner=s._inner.fork(new Zone.TaskTrackingZoneSpec)),n&&Zone.longStackTraceZoneSpec&&(s._inner=s._inner.fork(Zone.longStackTraceZoneSpec)),s.shouldCoalesceEventChangeDetection=!o&&r,s.shouldCoalesceRunChangeDetection=o,s.callbackScheduled=!1,s.scheduleInRootZone=i,eg(s)}static isInAngularZone(){return typeof Zone<"u"&&Zone.current.get(Rs)===!0}static assertInAngularZone(){if(!e.isInAngularZone())throw new b(909,!1)}static assertNotInAngularZone(){if(e.isInAngularZone())throw new b(909,!1)}run(t,n,r){return this._inner.run(t,n,r)}runTask(t,n,r,o){let i=this._inner,s=i.scheduleEventTask("NgZoneEvent: "+o,t,Jh,Gr,Gr);try{return i.runTask(s,n,r)}finally{i.cancelTask(s)}}runGuarded(t,n,r){return this._inner.runGuarded(t,n,r)}runOutsideAngular(t){return this._outer.run(t)}},Jh={};function ks(e){if(e._nesting==0&&!e.hasPendingMicrotasks&&!e.isStable)try{e._nesting++,e.onMicrotaskEmpty.emit(null)}finally{if(e._nesting--,!e.hasPendingMicrotasks)try{e.runOutsideAngular(()=>e.onStable.emit(null))}finally{e.isStable=!0}}}function Xh(e){if(e.isCheckStableRunning||e.callbackScheduled)return;e.callbackScheduled=!0;function t(){As(()=>{e.callbackScheduled=!1,Wi(e),e.isCheckStableRunning=!0,ks(e),e.isCheckStableRunning=!1})}e.scheduleInRootZone?Zone.root.run(()=>{t()}):e._outer.run(()=>{t()}),Wi(e)}function eg(e){let t=()=>{Xh(e)},n=Kh++;e._inner=e._inner.fork({name:"angular",properties:{[Rs]:!0,[bn]:n,[bn+n]:!0},onInvokeTask:(r,o,i,s,a,c)=>{if(tg(c))return r.invokeTask(i,s,a,c);try{return il(e),r.invokeTask(i,s,a,c)}finally{(e.shouldCoalesceEventChangeDetection&&s.type==="eventTask"||e.shouldCoalesceRunChangeDetection)&&t(),sl(e)}},onInvoke:(r,o,i,s,a,c,l)=>{try{return il(e),r.invoke(i,s,a,c,l)}finally{e.shouldCoalesceRunChangeDetection&&!e.callbackScheduled&&!ng(c)&&t(),sl(e)}},onHasTask:(r,o,i,s)=>{r.hasTask(i,s),o===i&&(s.change=="microTask"?(e._hasPendingMicrotasks=s.microTask,Wi(e),ks(e)):s.change=="macroTask"&&(e.hasPendingMacrotasks=s.macroTask))},onHandleError:(r,o,i,s)=>(r.handleError(i,s),e.runOutsideAngular(()=>e.onError.emit(s)),!1)})}function Wi(e){e._hasPendingMicrotasks||(e.shouldCoalesceEventChangeDetection||e.shouldCoalesceRunChangeDetection)&&e.callbackScheduled===!0?e.hasPendingMicrotasks=!0:e.hasPendingMicrotasks=!1}function il(e){e._nesting++,e.isStable&&(e.isStable=!1,e.onUnstable.emit(null))}function sl(e){e._nesting--,ks(e)}var _n=class{hasPendingMicrotasks=!1;hasPendingMacrotasks=!1;isStable=!0;onUnstable=new Re;onMicrotaskEmpty=new Re;onStable=new Re;onError=new Re;run(t,n,r){return t.apply(n,r)}runGuarded(t,n,r){return t.apply(n,r)}runOutsideAngular(t){return t()}runTask(t,n,r,o){return t.apply(n,r)}};function tg(e){return Yl(e,"__ignore_ng_zone__")}function ng(e){return Yl(e,"__scheduler_tick__")}function Yl(e,t){return!Array.isArray(e)||e.length!==1?!1:e[0]?.data?.[t]===!0}var Pe=class{_console=console;handleError(t){this._console.error("ERROR",t)}},Mt=new x("",{factory:()=>{let e=E(G),t=E(oe),n;return r=>{e.runOutsideAngular(()=>{t.destroyed&&!n?setTimeout(()=>{throw r}):(n??=t.get(Pe),n.handleError(r))})}}}),Kl={provide:mt,useValue:()=>{let e=E(Pe,{optional:!0})},multi:!0};function Do(e,t){let[n,r,o]=Ei(e,t?.equal),i=n,s=i[V];return i.set=r,i.update=o,i.asReadonly=wo.bind(i),i}function wo(){let e=this[V];if(e.readonlyFn===void 0){let t=()=>this();t[V]=e,e.readonlyFn=t}return e.readonlyFn}var Jl=new x("",{factory:()=>rg}),rg="ng";var Xl=new x(""),og=new x("",{providedIn:"platform",factory:()=>"unknown"}),ig=new x(""),sg=new x("",{factory:()=>E(Eo).body?.querySelector("[ngCspNonce]")?.getAttribute("ngCspNonce")||null});var Xt=(()=>{class e{view;node;constructor(n,r){this.view=n,this.node=r}static __NG_ELEMENT_ID__=ag}return e})();function ag(){return new Xt(y(),Y())}var _e=class{},en=new x("",{factory:()=>!0});var To=new x(""),Co=(()=>{class e{static \u0275prov=he({token:e,providedIn:"root",factory:()=>new qi})}return e})(),qi=class{dirtyEffectCount=0;queues=new Map;add(t){this.enqueue(t),this.schedule(t)}schedule(t){t.dirty&&this.dirtyEffectCount++}remove(t){let n=t.zone,r=this.queues.get(n);r.has(t)&&(r.delete(t),t.dirty&&this.dirtyEffectCount--)}enqueue(t){let n=t.zone;this.queues.has(n)||this.queues.set(n,new Set);let r=this.queues.get(n);r.has(t)||r.add(t)}flush(){for(;this.dirtyEffectCount>0;){let t=!1;for(let[n,r]of this.queues)n===null?t||=this.flushQueue(r):t||=n.run(()=>this.flushQueue(r));t||(this.dirtyEffectCount=0)}}flushQueue(t){let n=!1;for(let r of t)r.dirty&&(this.dirtyEffectCount--,n=!0,r.run());return n}},zr=class{[V];constructor(t){this[V]=t}destroy(){this[V].destroy()}};function eu(e,t){let n=t?.injector??E(pe),r=t?.manualCleanup!==!0?n.get(je):null,o,i=n.get(Xt,null,{optional:!0}),s=n.get(_e);return i!==null?(o=ug(i.view,s,e),r instanceof qr&&r._lView===i.view&&(r=null)):o=dg(e,n.get(Co),s),o.injector=n,r!==null&&(o.onDestroyFns=[r.onDestroy(()=>o.destroy())]),new zr(o)}var tu=q(W({},wi),{cleanupFns:void 0,zone:null,onDestroyFns:null,run(){let e=Cn(!1);try{Ti(this)}finally{Cn(e)}},cleanup(){if(!this.cleanupFns?.length)return;let e=m(null);try{for(;this.cleanupFns.length;)this.cleanupFns.pop()()}finally{this.cleanupFns=[],m(e)}}}),cg=q(W({},tu),{consumerMarkedDirty(){this.scheduler.schedule(this),this.notifier.notify(12)},destroy(){if(Ue(this),this.onDestroyFns!==null)for(let e of this.onDestroyFns)e();this.cleanup(),this.scheduler.remove(this)}}),lg=q(W({},tu),{consumerMarkedDirty(){this.view[I]|=8192,Tt(this.view),this.notifier.notify(13)},destroy(){if(Ue(this),this.onDestroyFns!==null)for(let e of this.onDestroyFns)e();this.cleanup(),this.view[Ge]?.delete(this)}});function ug(e,t,n){let r=Object.create(lg);return r.view=e,r.zone=typeof Zone<"u"?Zone.current:null,r.notifier=t,r.fn=nu(r,n),e[Ge]??=new Set,e[Ge].add(r),r.consumerMarkedDirty(r),r}function dg(e,t,n){let r=Object.create(cg);return r.fn=nu(r,e),r.scheduler=t,r.notifier=n,r.zone=typeof Zone<"u"?Zone.current:null,r.scheduler.add(r),r.notifier.notify(12),r}function nu(e,t){return()=>{t(n=>(e.cleanupFns??=[]).push(n))}}function Yn(e){return{toString:e}.toString()}var Oo=class{previousValue;currentValue;firstChange;constructor(t,n,r){this.previousValue=t,this.currentValue=n,this.firstChange=r}isFirstChange(){return this.firstChange}};function Uu(e,t,n,r){t!==null?t.applyValueToInputSignal(t,r):e[n]=r}var Tg=(()=>{let e=()=>Wu;return e.ngInherit=!0,e})();function Wu(e){return e.type.prototype.ngOnChanges&&(e.setInput=bg),Cg}function Cg(){let e=qu(this),t=e?.current;if(t){let n=e.previous;if(n===Qe)e.previous=t;else for(let r in t)n[r]=t[r];e.current=null,this.ngOnChanges(t)}}function bg(e,t,n,r,o){let i=this.declaredInputs[r],s=qu(e)||_g(e,{previous:Qe,current:null}),a=s.current||(s.current={}),c=s.previous,l=c[i];a[i]=new Oo(l&&l.currentValue,n,c===Qe),Uu(e,t,o,n)}var Ws="__ngSimpleChanges__";function qu(e){return Object.hasOwn(e,Ws)&&e[Ws]||null}function _g(e,t){return e[Ws]=t}var ru=[];var R=function(e,t=null,n){for(let r=0;r<ru.length;r++){let o=ru[r];o(e,t,n)}},M=(function(e){return e[e.TemplateCreateStart=0]="TemplateCreateStart",e[e.TemplateCreateEnd=1]="TemplateCreateEnd",e[e.TemplateUpdateStart=2]="TemplateUpdateStart",e[e.TemplateUpdateEnd=3]="TemplateUpdateEnd",e[e.LifecycleHookStart=4]="LifecycleHookStart",e[e.LifecycleHookEnd=5]="LifecycleHookEnd",e[e.OutputStart=6]="OutputStart",e[e.OutputEnd=7]="OutputEnd",e[e.BootstrapApplicationStart=8]="BootstrapApplicationStart",e[e.BootstrapApplicationEnd=9]="BootstrapApplicationEnd",e[e.BootstrapComponentStart=10]="BootstrapComponentStart",e[e.BootstrapComponentEnd=11]="BootstrapComponentEnd",e[e.ChangeDetectionStart=12]="ChangeDetectionStart",e[e.ChangeDetectionEnd=13]="ChangeDetectionEnd",e[e.ChangeDetectionSyncStart=14]="ChangeDetectionSyncStart",e[e.ChangeDetectionSyncEnd=15]="ChangeDetectionSyncEnd",e[e.AfterRenderHooksStart=16]="AfterRenderHooksStart",e[e.AfterRenderHooksEnd=17]="AfterRenderHooksEnd",e[e.ComponentStart=18]="ComponentStart",e[e.ComponentEnd=19]="ComponentEnd",e[e.DeferBlockStateStart=20]="DeferBlockStateStart",e[e.DeferBlockStateEnd=21]="DeferBlockStateEnd",e[e.DynamicComponentStart=22]="DynamicComponentStart",e[e.DynamicComponentEnd=23]="DynamicComponentEnd",e[e.HostBindingsUpdateStart=24]="HostBindingsUpdateStart",e[e.HostBindingsUpdateEnd=25]="HostBindingsUpdateEnd",e})(M||{});function Mg(e,t,n){let{ngOnChanges:r,ngOnInit:o,ngDoCheck:i}=t.type.prototype;if(r){let s=Wu(t);(n.preOrderHooks??=[]).push(e,s),(n.preOrderCheckHooks??=[]).push(e,s)}o&&(n.preOrderHooks??=[]).push(0-e,o),i&&((n.preOrderHooks??=[]).push(e,i),(n.preOrderCheckHooks??=[]).push(e,i))}function Gu(e,t){for(let n=t.directiveStart,r=t.directiveEnd;n<r;n++){let i=e.data[n].type.prototype,{ngAfterContentInit:s,ngAfterContentChecked:a,ngAfterViewInit:c,ngAfterViewChecked:l,ngOnDestroy:u}=i;s&&(e.contentHooks??=[]).push(-n,s),a&&((e.contentHooks??=[]).push(n,a),(e.contentCheckHooks??=[]).push(n,a)),c&&(e.viewHooks??=[]).push(-n,c),l&&((e.viewHooks??=[]).push(n,l),(e.viewCheckHooks??=[]).push(n,l)),u!=null&&(e.destroyHooks??=[]).push(n,u)}}function So(e,t,n){zu(e,t,3,n)}function xo(e,t,n,r){(e[I]&3)===n&&zu(e,t,n,r)}function Os(e,t){let n=e[I];(n&3)===t&&(n&=16383,n+=1,e[I]=n)}function zu(e,t,n,r){let o=r!==void 0?e[It]&65535:0,i=r??-1,s=t.length-1,a=0;for(let c=o;c<s;c++)if(typeof t[c+1]=="number"){if(a=t[c],r!=null&&a>=r)break}else t[c]<0&&(e[It]+=65536),(a<i||i==-1)&&(Ng(e,n,t,c),e[It]=(e[It]&4294901760)+c+2),c++}function ou(e,t){R(M.LifecycleHookStart,e,t);let n=m(null);try{t.call(e)}finally{m(n),R(M.LifecycleHookEnd,e,t)}}function Ng(e,t,n,r){let o=n[r]<0,i=n[r+1],s=o?-n[r]:n[r],a=e[s];o?e[I]>>14<e[It]>>16&&(e[I]&3)===t&&(e[I]+=16384,ou(a,i)):ou(a,i)}var nn=-1,Nt=class{factory;name;injectImpl;resolving=!1;canSeeViewProviders;multi;componentProviders;index;providerFactory;constructor(t,n,r,o){this.factory=t,this.name=o,this.canSeeViewProviders=n,this.injectImpl=r}};function Sg(e){return(e.flags&8)!==0}function xg(e){return(e.flags&16)!==0}function Ag(e,t,n){let r=0;for(;r<n.length;){let o=n[r];if(typeof o=="number"){if(o!==0)break;r++;let i=n[r++],s=n[r++],a=n[r++];e.setAttribute(t,s,a,i)}else{let i=o,s=n[++r];kg(i)?e.setProperty(t,i,s):e.setAttribute(t,i,s),r++}}return r}function Rg(e){return e===3||e===4||e===6}function kg(e){return e.charCodeAt(0)===64}function rn(e,t){if(!(t===null||t.length===0))if(e===null||e.length===0)e=t.slice();else{let n=-1;for(let r=0;r<t.length;r++){let o=t[r];typeof o=="number"?n=o:n===0||(n===-1||n===2?iu(e,n,o,null,t[++r]):iu(e,n,o,null,null))}}return e}function iu(e,t,n,r,o){let i=0,s=e.length;if(t===-1)s=-1;else for(;i<e.length;){let a=e[i++];if(typeof a=="number"){if(a===t){s=-1;break}else if(a>t){s=i-1;break}}}for(;i<e.length;){let a=e[i];if(typeof a=="number")break;if(a===n){o!==null&&(e[i+1]=o);return}i++,o!==null&&i++}s!==-1&&(e.splice(s,0,t),i=s+1),e.splice(i++,0,n),o!==null&&e.splice(i++,0,o)}function Qu(e){return e!==nn}function Po(e){return e&32767}function Og(e){return e>>16}function Lo(e,t){let n=Og(e),r=t;for(;n>0;)r=r[vt],n--;return r}var qs=!0;function Fo(e){let t=qs;return qs=e,t}var Pg=256,Zu=Pg-1,Yu=5,Lg=0,Ae={};function Fg(e,t,n){let r;typeof n=="string"?r=n.charCodeAt(0)||0:n.hasOwnProperty(gt)&&(r=n[gt]),r==null&&(r=n[gt]=Lg++);let o=r&Zu,i=1<<o;t.data[e+(o>>Yu)]|=i}function jo(e,t){let n=Ku(e,t);if(n!==-1)return n;let r=t[g];r.firstCreatePass&&(e.injectorIndex=t.length,Ps(r.data,e),Ps(t,null),Ps(r.blueprint,null));let o=Ta(e,t),i=e.injectorIndex;if(Qu(o)){let s=Po(o),a=Lo(o,t),c=a[g].data;for(let l=0;l<8;l++)t[i+l]=a[s+l]|c[s+l]}return t[i+8]=o,i}function Ps(e,t){e.push(0,0,0,0,0,0,0,0,t)}function Ku(e,t){return e.injectorIndex===-1||e.parent&&e.parent.injectorIndex===e.injectorIndex||t[e.injectorIndex+8]===null?-1:e.injectorIndex}function Ta(e,t){if(e.parent&&e.parent.injectorIndex!==-1)return e.parent.injectorIndex;let n=0,r=null,o=t;for(;o!==null;){if(r=nd(o),r===null)return nn;if(n++,o=o[vt],r.injectorIndex!==-1)return r.injectorIndex|n<<16}return nn}function Gs(e,t,n){Fg(e,t,n)}function Ju(e,t,n){if(n&8||e!==void 0)return e;eo(t,"NodeInjector")}function Xu(e,t,n,r){if(n&8&&r===void 0&&(r=null),(n&3)===0){let o=e[Me],i=K(void 0);try{return o?o.get(t,r,n&8):Xi(t,r,n&8)}finally{K(i)}}return Ju(r,t,n)}function ed(e,t,n,r=0,o){if(e!==null){if(t[I]&2048&&!(r&2)){let s=$g(e,t,n,r,Ae);if(s!==Ae)return s}let i=td(e,t,n,r,Ae);if(i!==Ae)return i}return Xu(t,n,r,o)}function td(e,t,n,r,o){let i=Vg(n);if(typeof i=="function"){if(!_s(t,e,r))return r&1?Ju(o,n,r):Xu(t,n,r,o);try{let s;if(s=i(r),s==null&&!(r&8))eo(n);else return s}finally{Ms()}}else if(typeof i=="number"){let s=null,a=Ku(e,t),c=nn,l=r&1?t[J][Z]:null;for((a===-1||r&4)&&(c=a===-1?Ta(e,t):t[a+8],c===nn||!au(r,!1)?a=-1:(s=t[g],a=Po(c),t=Lo(c,t)));a!==-1;){let u=t[g];if(su(i,a,u.data)){let d=jg(a,t,n,s,r,l);if(d!==Ae)return d}c=t[a+8],c!==nn&&au(r,t[g].data[a+8]===l)&&su(i,a,t)?(s=u,a=Po(c),t=Lo(c,t)):a=-1}}return o}function jg(e,t,n,r,o,i){let s=t[g],a=s.data[e+8],c=r==null?Fe(a)&&qs:r!=s&&(a.type&3)!==0,l=o&1&&i===a,u=Ao(a,s,n,c,l);return u!==null?Hn(t,s,u,a,o):Ae}function Ao(e,t,n,r,o){let i=e.providerIndexes,s=t.data,a=i&1048575,c=e.directiveStart,l=e.directiveEnd,u=i>>20,d=r?a:a+u,p=o?a+u:l;for(let f=d;f<p;f++){let h=s[f];if(f<c&&n===h||f>=c&&h.type===n)return f}if(o){let f=s[c];if(f&&ye(f)&&f.type===n)return c}return null}function Hn(e,t,n,r,o){let i=e[n],s=t.data;if(i instanceof Nt){let a=i;if(a.resolving)throw Ji("");let c=Fo(a.canSeeViewProviders);a.resolving=!0;let l=s[n].type||s[n],u,d=a.injectImpl?K(a.injectImpl):null,p=_s(e,r,0);try{i=e[n]=a.factory(void 0,o,s,e,r),t.firstCreatePass&&n>=r.directiveStart&&Mg(n,s[n],t)}finally{d!==null&&K(d),Fo(c),a.resolving=!1,Ms()}}return i}function Vg(e){if(typeof e=="string")return e.charCodeAt(0)||0;let t=e.hasOwnProperty(gt)?e[gt]:void 0;return typeof t=="number"?t>=0?t&Zu:Hg:t}function su(e,t,n){let r=1<<e;return!!(n[t+(e>>Yu)]&r)}function au(e,t){return!(e&2)&&!(e&1&&t)}var Je=class{_tNode;_lView;constructor(t,n){this._tNode=t,this._lView=n}get(t,n,r){return ed(this._tNode,this._lView,t,ft(r),n)}};function Hg(){return new Je(Y(),y())}function Bg(e){return Yn(()=>{let t=e.prototype.constructor,n=t[Tn]||zs(t),r=Object.prototype,o=Object.getPrototypeOf(e.prototype).constructor;for(;o&&o!==r;){let i=o[Tn]||zs(o);if(i&&i!==n)return i;o=Object.getPrototypeOf(o)}return i=>new i})}function zs(e){return Gi(e)?()=>{let t=zs(B(e));return t&&t()}:qe(e)}function $g(e,t,n,r,o){let i=e,s=t;for(;i!==null&&s!==null&&s[I]&2048&&!Jt(s);){let a=td(i,s,n,r|2,Ae);if(a!==Ae)return a;let c=i.parent;if(!c){let l=s[cs];if(l){let u=l.get(n,Ae,r&-5);if(u!==Ae)return u}c=nd(s),s=s[vt]}i=c}return o}function nd(e){let t=e[g],n=t.type;return n===2?t.declTNode:n===1?e[Z]:null}function At(e){return{token:e.token,providedIn:e.autoProvided===!1?null:"root",factory:e.factory,value:void 0}}function Ug(){return fn(Y(),y())}function fn(e,t){return new Kn(ve(e,t))}var Kn=(()=>{class e{nativeElement;constructor(n){this.nativeElement=n}static __NG_ELEMENT_ID__=Ug}return e})();function Wg(e){return e instanceof Kn?e.nativeElement:e}function qg(){return this._results[Symbol.iterator]()}var Vo=class{_emitDistinctChangesOnly;dirty=!0;_onDirty=void 0;_results=[];_changesDetected=!1;_changes=void 0;length=0;first=void 0;last=void 0;get changes(){return this._changes??=new ne}constructor(t=!1){this._emitDistinctChangesOnly=t}get(t){return this._results[t]}map(t){return this._results.map(t)}filter(t){return this._results.filter(t)}find(t){return this._results.find(t)}reduce(t,n){return this._results.reduce(t,n)}forEach(t){this._results.forEach(t)}some(t){return this._results.some(t)}toArray(){return this._results.slice()}toString(){return this._results.toString()}reset(t,n){this.dirty=!1;let r=gl(t);(this._changesDetected=!hl(this._results,r,n))&&(this._results=r,this.length=r.length,this.last=r[this.length-1],this.first=r[0])}notifyOnChanges(){this._changes!==void 0&&(this._changesDetected||!this._emitDistinctChangesOnly)&&this._changes.next(this)}onDirty(t){this._onDirty=t}setDirty(){this.dirty=!0,this._onDirty?.()}destroy(){this._changes!==void 0&&(this._changes.complete(),this._changes.unsubscribe())}[Symbol.iterator]=qg};function rd(e){return(e.flags&128)===128}var Ca=(function(e){return e[e.OnPush=0]="OnPush",e[e.Eager=1]="Eager",e[e.Default=1]="Default",e})(Ca||{}),od=new Map,Gg=0;function zg(){return Gg++}function Qg(e){od.set(e[Se],e)}function Qs(e){od.delete(e[Se])}var cu="__ngContext__";function on(e,t){Le(t)?(e[cu]=t[Se],Qg(t)):e[cu]=t}function id(e){return ad(e[Yt])}function sd(e){return ad(e[ie])}function ad(e){for(;e!==null&&!se(e);)e=e[ie];return e}var Zs;function Zg(e){Zs=e}function ba(){if(Zs!==void 0)return Zs;if(typeof document<"u")return document;throw new b(210,!1)}var cd="r";var ld="di";var ud=!1,dd=new x("",{factory:()=>ud});var lu=new WeakMap;function Yg(e,t){if(e==null||typeof e!="object")return;let n=lu.get(e);n||(n=new WeakSet,lu.set(e,n)),n.add(t)}var Kg=(e,t,n,r)=>{};function Jg(e,t,n,r){Kg(e,t,n,r)}function Jo(e){return(e.flags&32)===32}var Xg=()=>null;function fd(e,t,n=!1){return Xg(e,t,n)}function pd(e,t){let n=e.contentQueries;if(n!==null){let r=m(null);try{for(let o=0;o<n.length;o+=2){let i=n[o],s=n[o+1];if(s!==-1){let a=e.data[s];go(i),a.contentQueries(2,t[s],s)}}}finally{m(r)}}}function Ys(e,t,n){go(0);let r=m(null);try{t(e,n)}finally{m(r)}}function _a(e,t,n){if(us(t)){let r=m(null);try{let o=t.directiveStart,i=t.directiveEnd;for(let s=o;s<i;s++){let a=e.data[s];if(a.contentQueries){let c=n[s];a.contentQueries(1,c,s)}}}finally{m(r)}}}var St=(function(e){return e[e.Emulated=0]="Emulated",e[e.None=2]="None",e[e.ShadowDom=3]="ShadowDom",e[e.ExperimentalIsolatedShadowDom=4]="ExperimentalIsolatedShadowDom",e})(St||{});var bo;function em(){if(bo===void 0&&(bo=null,Gt.trustedTypes))try{bo=Gt.trustedTypes.createPolicy("angular",{createHTML:e=>e,createScript:e=>e,createScriptURL:e=>e})}catch(e){}return bo}function Xo(e){return em()?.createHTML(e)||e}var _o;function tm(){if(_o===void 0&&(_o=null,Gt.trustedTypes))try{_o=Gt.trustedTypes.createPolicy("angular#unsafe-bypass",{createHTML:e=>e,createScript:e=>e,createScriptURL:e=>e})}catch(e){}return _o}function uu(e){return tm()?.createHTML(e)||e}var Ho=class{changingThisBreaksApplicationSecurity;constructor(t){this.changingThisBreaksApplicationSecurity=t}toString(){return`SafeValue must use [property]=binding: ${this.changingThisBreaksApplicationSecurity} (see ${Qr})`}};function Jn(e){return e instanceof Ho?e.changingThisBreaksApplicationSecurity:e}function hd(e,t){let n=gd(e);if(n!=null&&n!==t){if(n==="ResourceURL"&&t==="URL")return!0;throw new Error(`Required a safe ${t}, got a ${n} (see ${Qr})`)}return n===t}function gd(e){return e instanceof Ho&&e.getTypeName()||null}function nm(e){let t=new Js(e);return rm()?new Ks(t):t}var Ks=class{inertDocumentHelper;constructor(t){this.inertDocumentHelper=t}getInertBodyElement(t){t="<body><remove></remove>"+t;try{let n=new window.DOMParser().parseFromString(Xo(t),"text/html").body;return n===null?this.inertDocumentHelper.getInertBodyElement(t):(n.firstChild?.remove(),n)}catch(n){return null}}},Js=class{defaultDoc;inertDocument;constructor(t){this.defaultDoc=t,this.inertDocument=this.defaultDoc.implementation.createHTMLDocument("sanitization-inert")}getInertBodyElement(t){let n=this.inertDocument.createElement("template");return n.innerHTML=Xo(t),n}};function rm(){try{return!!new window.DOMParser().parseFromString(Xo(""),"text/html")}catch(e){return!1}}var om=/^(?!javascript:)(?:[a-z0-9+.-]+:|[^&:\/?#]*(?:[\/?#]|$))/i;function md(e){return e=String(e),e.match(om)?e:"unsafe:"+e}function Ve(e){let t={};for(let n of e.split(","))t[n]=!0;return t}function Xn(...e){let t={};for(let n of e)for(let r in n)n.hasOwnProperty(r)&&(t[r]=!0);return t}var yd=Ve("area,br,col,hr,img,wbr"),vd=Ve("colgroup,dd,dt,li,p,tbody,td,tfoot,th,thead,tr"),Id=Ve("rp,rt"),im=Xn(Id,vd),sm=Xn(vd,Ve("address,article,aside,blockquote,caption,center,del,details,dialog,dir,div,dl,figure,figcaption,footer,h1,h2,h3,h4,h5,h6,header,hgroup,hr,ins,main,map,menu,nav,ol,pre,section,summary,table,ul")),am=Xn(Id,Ve("a,abbr,acronym,audio,b,bdi,bdo,big,br,cite,code,del,dfn,em,font,i,img,ins,kbd,label,map,mark,picture,q,ruby,rp,rt,s,samp,small,source,span,strike,strong,sub,sup,time,track,tt,u,var,video")),du=Xn(yd,sm,am,im),Ed=Ve("background,cite,href,itemtype,longdesc,poster,src,xlink:href"),cm=Ve("abbr,accesskey,align,alt,autoplay,axis,bgcolor,border,cellpadding,cellspacing,class,clear,color,cols,colspan,compact,controls,coords,datetime,default,dir,download,face,headers,height,hidden,hreflang,hspace,ismap,itemscope,itemprop,kind,label,lang,language,loop,media,muted,nohref,nowrap,open,preload,rel,rev,role,rows,rowspan,rules,scope,scrolling,shape,size,sizes,span,srclang,srcset,start,summary,tabindex,target,title,translate,type,usemap,valign,value,vspace,width"),lm=Ve("aria-activedescendant,aria-atomic,aria-autocomplete,aria-busy,aria-checked,aria-colcount,aria-colindex,aria-colspan,aria-controls,aria-current,aria-describedby,aria-details,aria-disabled,aria-dropeffect,aria-errormessage,aria-expanded,aria-flowto,aria-grabbed,aria-haspopup,aria-hidden,aria-invalid,aria-keyshortcuts,aria-label,aria-labelledby,aria-level,aria-live,aria-modal,aria-multiline,aria-multiselectable,aria-orientation,aria-owns,aria-placeholder,aria-posinset,aria-pressed,aria-readonly,aria-relevant,aria-required,aria-roledescription,aria-rowcount,aria-rowindex,aria-rowspan,aria-selected,aria-setsize,aria-sort,aria-valuemax,aria-valuemin,aria-valuenow,aria-valuetext"),um=Xn(Ed,cm,lm),dm=Ve("script,style,template"),Xs=class{sanitizedSomething=!1;buf=[];sanitizeChildren(t){let n=t.firstChild,r=!0,o=[];for(;n;){if(n.nodeType===Node.ELEMENT_NODE?r=this.startElement(n):n.nodeType===Node.TEXT_NODE?this.chars(n.nodeValue):this.sanitizedSomething=!0,r&&n.firstChild){o.push(n),n=hm(n);continue}for(;n;){n.nodeType===Node.ELEMENT_NODE&&this.endElement(n);let i=pm(n);if(i){n=i;break}n=o.pop()}}return this.buf.join("")}startElement(t){let n=fu(t).toLowerCase();if(!du.hasOwnProperty(n))return this.sanitizedSomething=!0,!dm.hasOwnProperty(n);this.buf.push("<"),this.buf.push(n);let r=t.attributes;for(let o=0;o<r.length;o++){let i=r.item(o),s=i.name,a=s.toLowerCase();if(!um.hasOwnProperty(a)){this.sanitizedSomething=!0;continue}let c=i.value;Ed[a]&&(c=md(c)),this.buf.push(" ",s,'="',pu(c),'"')}return this.buf.push(">"),!0}endElement(t){let n=fu(t).toLowerCase();du.hasOwnProperty(n)&&!yd.hasOwnProperty(n)&&(this.buf.push("</"),this.buf.push(n),this.buf.push(">"))}chars(t){this.buf.push(pu(t))}};function fm(e,t){return(e.compareDocumentPosition(t)&Node.DOCUMENT_POSITION_CONTAINED_BY)!==Node.DOCUMENT_POSITION_CONTAINED_BY}function pm(e){let t=e.nextSibling;if(t&&e!==t.previousSibling)throw Dd(t);return t}function hm(e){let t=e.firstChild;if(t&&fm(e,t))throw Dd(t);return t}function fu(e){let t=e.nodeName;return typeof t=="string"?t:"FORM"}function Dd(e){return new Error(`Failed to sanitize html because the element is clobbered: ${e.outerHTML}`)}var gm=/[\uD800-\uDBFF][\uDC00-\uDFFF]/g,mm=/([^\#-~ |!])/g;function pu(e){return e.replace(/&/g,"&").replace(gm,function(t){let n=t.charCodeAt(0),r=t.charCodeAt(1);return"&#"+((n-55296)*1024+(r-56320)+65536)+";"}).replace(mm,function(t){return"&#"+t.charCodeAt(0)+";"}).replace(/</g,"<").replace(/>/g,">")}var Mo;function wd(e,t){let n=null;try{Mo=Mo||nm(e);let r=t?String(t):"";n=Mo.getInertBodyElement(r);let o=5,i=r;do{if(o===0)throw new Error("Failed to sanitize html because the input is unstable");o--,r=i,i=n.innerHTML,n=Mo.getInertBodyElement(r)}while(r!==i);let a=new Xs().sanitizeChildren(hu(n)||n);return Xo(a)}finally{if(n){let r=hu(n)||n;for(;r.firstChild;)r.firstChild.remove()}}}function hu(e){return"content"in e&&ym(e)?e.content:null}function ym(e){return e.nodeType===Node.ELEMENT_NODE&&e.nodeName==="TEMPLATE"}var vm=/^>|^->|<!--|-->|--!>|<!-$/g,Im=/(<|>)/g,Em="\u200B$1\u200B";function Dm(e){return e.replace(vm,t=>t.replace(Im,Em))}function wm(e,t){return e.createText(t)}function Tm(e,t,n){e.setValue(t,n)}function Cm(e,t){return e.createComment(Dm(t))}function Td(e,t,n){return e.createElement(t,n)}function Bo(e,t,n,r,o){e.insertBefore(t,n,r,o)}function Cd(e,t,n){e.appendChild(t,n)}function gu(e,t,n,r,o){r!==null?Bo(e,t,n,r,o):Cd(e,t,n)}function bd(e,t,n,r){e.removeChild(null,t,n,r)}function bm(e,t,n){e.setAttribute(t,"style",n)}function _m(e,t,n){n===""?e.removeAttribute(t,"class"):e.setAttribute(t,"class",n)}function _d(e,t,n){let{mergedAttrs:r,classes:o,styles:i}=n;r!==null&&Ag(e,t,r),o!==null&&_m(e,t,o),i!==null&&bm(e,t,i)}var Ma=(function(e){return e[e.NONE=0]="NONE",e[e.HTML=1]="HTML",e[e.STYLE=2]="STYLE",e[e.SCRIPT=3]="SCRIPT",e[e.URL=4]="URL",e[e.RESOURCE_URL=5]="RESOURCE_URL",e[e.ATTRIBUTE_NO_BINDING=6]="ATTRIBUTE_NO_BINDING",e})(Ma||{});function Mm(e){let t=Nm();return t?uu(t.sanitize(Ma.HTML,e)||""):hd(e,"HTML")?uu(Jn(e)):wd(ba(),qt(e))}function Nm(){let e=y();return e&&e[me].sanitizer}function Sm(e){return e.ownerDocument}function xm(e){return e instanceof Function?e():e}function Am(e,t,n){let r=e.length;for(;;){let o=e.indexOf(t,n);if(o===-1)return o;if(o===0||e.charCodeAt(o-1)<=32){let i=t.length;if(o+i===r||e.charCodeAt(o+i)<=32)return o}n=o+1}}var Md="ng-template";function Rm(e,t,n,r){let o=0;if(r){for(;o<t.length&&typeof t[o]=="string";o+=2)if(t[o]==="class"&&Am(t[o+1].toLowerCase(),n,0)!==-1)return!0}else if(Na(e))return!1;if(o=t.indexOf(1,o),o>-1){let i;for(;++o<t.length&&typeof(i=t[o])=="string";)if(i.toLowerCase()===n)return!0}return!1}function Na(e){return e.type===4&&e.value!==Md}function km(e,t,n){let r=e.type===4&&!n?Md:e.value;return t===r}function Om(e,t,n){let r=4,o=e.attrs,i=o!==null?Fm(o):0,s=!1;for(let a=0;a<t.length;a++){let c=t[a];if(typeof c=="number"){if(!s&&!Ee(r)&&!Ee(c))return!1;if(s&&Ee(c))continue;s=!1,r=c|r&1;continue}if(!s)if(r&4){if(r=2|r&1,c!==""&&!km(e,c,n)||c===""&&t.length===1){if(Ee(r))return!1;s=!0}}else if(r&8){if(o===null||!Rm(e,o,c,n)){if(Ee(r))return!1;s=!0}}else{let l=t[++a],u=Pm(c,o,Na(e),n);if(u===-1){if(Ee(r))return!1;s=!0;continue}if(l!==""){let d;if(u>i?d="":d=o[u+1].toLowerCase(),r&2&&l!==d){if(Ee(r))return!1;s=!0}}}}return Ee(r)||s}function Ee(e){return(e&1)===0}function Pm(e,t,n,r){if(t===null)return-1;let o=0;if(r||!n){let i=!1;for(;o<t.length;){let s=t[o];if(s===e)return o;if(s===3||s===6)i=!0;else if(s===1||s===2){let a=t[++o];for(;typeof a=="string";)a=t[++o];continue}else{if(s===4)break;if(s===0){o+=4;continue}}o+=i?1:2}return-1}else return jm(t,e)}function Nd(e,t,n=!1){for(let r=0;r<t.length;r++)if(Om(e,t[r],n))return!0;return!1}function Lm(e){let t=e.attrs;if(t!=null){let n=t.indexOf(5);if((n&1)===0)return t[n+1]}return null}function Fm(e){for(let t=0;t<e.length;t++){let n=e[t];if(Rg(n))return t}return e.length}function jm(e,t){let n=e.indexOf(4);if(n>-1)for(n++;n<e.length;){let r=e[n];if(typeof r=="number")return-1;if(r===t)return n;n++}return-1}function Vm(e,t){e:for(let n=0;n<t.length;n++){let r=t[n];if(e.length===r.length){for(let o=0;o<e.length;o++)if(e[o]!==r[o])continue e;return!0}}return!1}function mu(e,t){return e?":not("+t.trim()+")":t}function Hm(e){let t=e[0],n=1,r=2,o="",i=!1;for(;n<e.length;){let s=e[n];if(typeof s=="string")if(r&2){let a=e[++n];o+="["+s+(a.length>0?'="'+a+'"':"")+"]"}else r&8?o+="."+s:r&4&&(o+=" "+s);else o!==""&&!Ee(s)&&(t+=mu(i,o),o=""),r=s,i=i||!Ee(r);n++}return o!==""&&(t+=mu(i,o)),t}function Bm(e){return e.map(Hm).join(",")}function $m(e){let t=[],n=[],r=1,o=2;for(;r<e.length;){let i=e[r];if(typeof i=="string")o===2?i!==""&&t.push(i,e[++r]):o===8&&n.push(i);else{if(!Ee(o))break;o=i}r++}return n.length&&t.push(1,...n),t}var ee={},$o=(function(e){return e[e.Important=1]="Important",e[e.DashCase=2]="DashCase",e})($o||{}),Um;function Sa(e,t){return Um(e,t)}var pS=typeof document<"u"&&typeof document?.documentElement?.getAnimations=="function";var ea=new WeakMap,Fn=new WeakSet;function Wm(e,t){let n=ea.get(e);if(!n||n.length===0)return;let r=t.parentNode,o=t.previousSibling;for(let i=n.length-1;i>=0;i--){let s=n[i],a=s.parentNode;s===t?(n.splice(i,1),Fn.add(s),s.dispatchEvent(new CustomEvent("animationend",{detail:{cancel:!0}}))):(o&&s===o||a&&r&&a!==r)&&(n.splice(i,1),s.dispatchEvent(new CustomEvent("animationend",{detail:{cancel:!0}})),s.parentNode?.removeChild(s))}}function qm(e,t){let n=ea.get(e);n?n.includes(t)||n.push(t):ea.set(e,[t])}var sn=new Set,ei=(function(e){return e[e.CHANGE_DETECTION=0]="CHANGE_DETECTION",e[e.AFTER_NEXT_RENDER=1]="AFTER_NEXT_RENDER",e})(ei||{}),Rt=new x(""),yu=new Set;function He(e){yu.has(e)||(yu.add(e),performance?.mark?.("mark_feature_usage",{detail:{feature:e}}))}var ti=(()=>{class e{impl=null;execute(){this.impl?.execute()}static \u0275prov=he({token:e,providedIn:"root",factory:()=>new e})}return e})(),xa=[0,1,2,3],Aa=(()=>{class e{ngZone=E(G);scheduler=E(_e);errorHandler=E(Pe,{optional:!0});sequences=new Set;deferredRegistrations=new Set;executing=!1;constructor(){E(Rt,{optional:!0})}execute(){let n=this.sequences.size>0;n&&R(M.AfterRenderHooksStart),this.executing=!0;for(let r of xa)for(let o of this.sequences)if(!(o.erroredOrDestroyed||!o.hooks[r]))try{o.pipelinedValue=this.ngZone.runOutsideAngular(()=>this.maybeTrace(()=>{let i=o.hooks[r];return i(o.pipelinedValue)},o.snapshot))}catch(i){o.erroredOrDestroyed=!0,this.errorHandler?.handleError(i)}this.executing=!1;for(let r of this.sequences)r.afterRun(),r.once&&(this.sequences.delete(r),r.destroy());for(let r of this.deferredRegistrations)this.sequences.add(r);this.deferredRegistrations.size>0&&this.scheduler.notify(7),this.deferredRegistrations.clear(),n&&R(M.AfterRenderHooksEnd)}register(n){let{view:r}=n;r!==void 0?((r[Et]??=[]).push(n),Tt(r),r[I]|=8192):this.executing?this.deferredRegistrations.add(n):this.addSequence(n)}addSequence(n){this.sequences.add(n),this.scheduler.notify(7)}unregister(n){this.executing&&this.sequences.has(n)?(n.erroredOrDestroyed=!0,n.pipelinedValue=void 0,n.once=!0):(this.sequences.delete(n),this.deferredRegistrations.delete(n))}maybeTrace(n,r){return r?r.run(ei.AFTER_NEXT_RENDER,n):n()}static \u0275prov=he({token:e,providedIn:"root",factory:()=>new e})}return e})(),Bn=class{impl;hooks;view;once;snapshot;erroredOrDestroyed=!1;pipelinedValue=void 0;unregisterOnDestroy;constructor(t,n,r,o,i,s=null){this.impl=t,this.hooks=n,this.view=r,this.once=o,this.snapshot=s,this.unregisterOnDestroy=i?.onDestroy(()=>this.destroy())}afterRun(){this.erroredOrDestroyed=!1,this.pipelinedValue=void 0,this.snapshot?.dispose(),this.snapshot=null}destroy(){this.impl.unregister(this),this.unregisterOnDestroy?.();let t=this.view?.[Et];t&&(this.view[Et]=t.filter(n=>n!==this))}};function Gm(e,t){let n=t?.injector??E(pe);return He("NgAfterNextRender"),Qm(e,n,t,!0)}function zm(e){return e instanceof Function?[void 0,void 0,e,void 0]:[e.earlyRead,e.write,e.mixedReadWrite,e.read]}function Qm(e,t,n,r){let o=t.get(ti);o.impl??=t.get(Aa);let i=t.get(Rt,null,{optional:!0}),s=n?.manualCleanup!==!0?t.get(je):null,a=t.get(Xt,null,{optional:!0}),c=new Bn(o.impl,zm(e),a?.view,r,s,i?.snapshot(null));return o.impl.register(c),c}var Ra=new x("",{factory:()=>{let e=E(oe),t=new Set;return e.onDestroy(()=>t.clear()),{queue:t,isScheduled:!1,scheduler:null,injector:e}}});function Sd(e,t,n){let r=e.get(Ra);if(Array.isArray(t))for(let o of t)r.queue.add(o),n?.detachedLeaveAnimationFns?.push(o);else r.queue.add(t),n?.detachedLeaveAnimationFns?.push(t);r.scheduler&&r.scheduler(e)}function Zm(e,t){let n=e.get(Ra);if(Array.isArray(t))for(let r of t)n.queue.delete(r);else n.queue.delete(t)}function Ym(e,t){let n=e.get(Ra);if(t.detachedLeaveAnimationFns){for(let r of t.detachedLeaveAnimationFns)n.queue.delete(r);t.detachedLeaveAnimationFns=void 0}}function Km(e,t){for(let[n,r]of t)Sd(e,r.animateFns)}function vu(e,t,n,r){let o=e?.[xe]?.enter;t!==null&&o&&o.has(n.index)&&Km(r,o)}function Iu(e,t,n,r){try{n.get(Rn)}catch(s){return r(!1)}let o=e?.[xe];o?.enter?.has(t.index)&&Zm(n,o.enter.get(t.index).animateFns);let i=Jm(e,t,o);if(i.size===0){let s=!1;if(e){let a=[];ni(e,t,a),s=a.length>0}if(!s)return r(!1)}e&&sn.add(e[Se]),Sd(n,()=>Xm(e,t,o||void 0,i,r),o||void 0)}function Jm(e,t,n){let r=new Map,o=n?.leave;if(o&&o.has(t.index)&&r.set(t.index,o.get(t.index)),e&&o)for(let[i,s]of o){if(r.has(i))continue;let c=e[g].data[i].parent;for(;c;){if(c===t){r.set(i,s);break}c=c.parent}}return r}function Xm(e,t,n,r,o){let i=[];if(n&&n.leave)for(let[s]of r){if(!n.leave.has(s))continue;let a=n.leave.get(s);for(let c of a.animateFns){let{promise:l}=c();i.push(l)}n.detachedLeaveAnimationFns=void 0}if(e&&ni(e,t,i),i.length>0){let s=n||e?.[xe];if(s){let a=s.running;a&&i.push(a),s.running=Promise.allSettled(i),ty(e,s.running,o)}else Promise.allSettled(i).then(()=>{e&&sn.delete(e[Se]),o(!0)})}else e&&sn.delete(e[Se]),o(!1)}function ni(e,t,n){if(t.type&12){let o=e[t.index];if(se(o))for(let i=L;i<o.length;i++){let s=o[i];s[g].type===2&&ey(s,n)}}let r=t.child;for(;r;)ni(e,r,n),r=r.next}function ey(e,t){let n=e[xe];if(n&&n.leave)for(let o of n.leave.values())for(let i of o.animateFns){let{promise:s}=i();t.push(s)}let r=e[g].firstChild;for(;r;)ni(e,r,t),r=r.next}function ty(e,t,n){t.then(()=>{e[xe]?.running===t&&(e[xe].running=void 0,sn.delete(e[Se])),n(!0)})}function tn(e,t,n,r,o,i,s,a){if(o!=null){let c,l=!1;se(o)?c=o:Le(o)&&(l=!0,o=o[ge]);let u=ae(o);e===0&&r!==null?(vu(a,r,i,n),s==null?Cd(t,r,u):Bo(t,r,u,s||null,!0)):e===1&&r!==null?(vu(a,r,i,n),Bo(t,r,u,s||null,!0),Wm(i,u)):e===2?(a?.[xe]?.leave?.has(i.index)&&qm(i,u),Fn.delete(u),Iu(a,i,n,d=>{if(Fn.has(u)){Fn.delete(u);return}bd(t,u,l,d)})):e===3&&(Fn.delete(u),Iu(a,i,n,()=>{t.destroyNode(u)})),c!=null&&dy(t,e,n,c,i,r,s)}}function ny(e,t){xd(e,t),t[ge]=null,t[Z]=null}function ry(e,t,n,r,o,i){r[ge]=o,r[Z]=t,oi(e,r,n,1,o,i)}function xd(e,t){t[me].changeDetectionScheduler?.notify(9),oi(e,t,t[k],2,null,null)}function oy(e){let t=e[Yt];if(!t)return Ls(e[g],e);for(;t;){let n=null;if(Le(t))n=t[Yt];else{let r=t[L];r&&(n=r)}if(!n){for(;t&&!t[ie]&&t!==e;)Le(t)&&Ls(t[g],t),t=t[$];t===null&&(t=e),Le(t)&&Ls(t[g],t),n=t&&t[ie]}t=n}}function ka(e,t){let n=e[Dt],r=n.indexOf(t);n.splice(r,1)}function ri(e,t){if(wt(t))return;let n=t[k];n.destroyNode&&oi(e,t,n,3,null,null),oy(t)}function Ls(e,t){if(wt(t))return;let n=m(null);try{t[I]&=-129,t[I]|=256,t[re]&&Ue(t[re]),sy(e,t),iy(e,t),t[g].type===1&&t[k].destroy();let r=t[Ze];if(r!==null&&se(t[$])){r!==t[$]&&ka(r,t);let o=t[Ne];o!==null&&o.detachView(e)}Qs(t)}finally{m(n)}}function iy(e,t){let n=e.cleanup,r=t[Zt];if(n!==null)for(let s=0;s<n.length-1;s+=2)if(typeof n[s]=="string"){let a=n[s+3];a>=0?r[a]():r[-a].unsubscribe(),s+=2}else{let a=r[n[s+1]];n[s].call(a)}r!==null&&(t[Zt]=null);let o=t[ke];if(o!==null){t[ke]=null;for(let s=0;s<o.length;s++){let a=o[s];a()}}let i=t[Ge];if(i!==null){t[Ge]=null;for(let s of i)s.destroy()}}function sy(e,t){let n;if(e!=null&&(n=e.destroyHooks)!=null)for(let r=0;r<n.length;r+=2){let o=t[n[r]];if(!(o instanceof Nt)){let i=n[r+1];if(Array.isArray(i))for(let s=0;s<i.length;s+=2){let a=o[i[s]],c=i[s+1];R(M.LifecycleHookStart,a,c);try{c.call(a)}finally{R(M.LifecycleHookEnd,a,c)}}else{R(M.LifecycleHookStart,o,i);try{i.call(o)}finally{R(M.LifecycleHookEnd,o,i)}}}}}function Ad(e,t,n){return ay(e,t.parent,n)}function ay(e,t,n){let r=t;for(;r!==null&&r.type&168;)t=r,r=t.parent;if(r===null)return n[ge];if(Fe(r)){let{encapsulation:o}=e.data[r.directiveStart+r.componentOffset];if(o===St.None||o===St.Emulated)return null}return ve(r,n)}function Rd(e,t,n){return ly(e,t,n)}function cy(e,t,n){return e.type&40?ve(e,n):null}var ly=cy,Eu;function Oa(e,t,n,r){let o=Ad(e,r,t),i=t[k],s=r.parent||t[Z],a=Rd(s,r,t);if(o!=null)if(Array.isArray(n))for(let c=0;c<n.length;c++)gu(i,o,n[c],a,!1);else gu(i,o,n,a,!1);Eu!==void 0&&Eu(i,r,t,n,o)}function jn(e,t){if(t!==null){let n=t.type;if(n&3)return ve(t,e);if(n&4)return ta(-1,e[t.index]);if(n&8){let r=t.child;if(r!==null)return jn(e,r);{let o=e[t.index];return se(o)?ta(-1,o):ae(o)}}else{if(n&128)return jn(e,t.next);if(n&32)return Sa(t,e)()||ae(e[t.index]);{let r=kd(e,t);if(r!==null){if(Array.isArray(r))return r[0];let o=Oe(e[J]);return jn(o,r)}else return jn(e,t.next)}}}return null}function kd(e,t){if(t!==null){let r=e[J][Z],o=t.projection;return r.projection[o]}return null}function ta(e,t){let n=L+e+1;if(n<t.length){let r=t[n],o=r[g].firstChild;if(o!==null)return jn(r,o)}return t[Ye]}function Pa(e,t,n,r,o,i,s){for(;n!=null;){let a=r[Me];if(n.type===128){n=n.next;continue}let c=r[n.index],l=n.type;if(s&&t===0&&(c&&on(ae(c),r),n.flags|=2),!Jo(n))if(l&8)Pa(e,t,n.child,r,o,i,!1),tn(t,e,a,o,c,n,i,r);else if(l&32){let u=Sa(n,r),d;for(;d=u();)tn(t,e,a,o,d,n,i,r);tn(t,e,a,o,c,n,i,r)}else l&16?Od(e,t,r,n,o,i):tn(t,e,a,o,c,n,i,r);n=s?n.projectionNext:n.next}}function oi(e,t,n,r,o,i){Pa(n,r,e.firstChild,t,o,i,!1)}function uy(e,t,n){let r=t[k],o=Ad(e,n,t),i=n.parent||t[Z],s=Rd(i,n,t);Od(r,0,t,n,o,s)}function Od(e,t,n,r,o,i){let s=n[J],c=s[Z].projection[r.projection];if(Array.isArray(c))for(let l=0;l<c.length;l++){let u=c[l];tn(t,e,n[Me],o,u,r,i,n)}else{let l=c,u=s[$];rd(r)&&(l.flags|=128),Pa(e,t,l,u,o,i,!0)}}function dy(e,t,n,r,o,i,s){let a=r[Ye],c=ae(r);a!==c&&tn(t,e,n,i,a,o,s);for(let l=L;l<r.length;l++){let u=r[l];oi(u[g],u,e,t,i,a)}}function fy(e,t,n,r,o){if(t)o?e.addClass(n,r):e.removeClass(n,r);else{let i=r.indexOf("-")===-1?void 0:$o.DashCase;o==null?e.removeStyle(n,r,i):(typeof o=="string"&&o.endsWith("!important")&&(o=o.slice(0,-10),i|=$o.Important),e.setStyle(n,r,o,i))}}function La(e,t,n,r,o,i,s,a,c,l,u){let d=O+r,p=d+o,f=py(d,p),h=typeof l=="function"?l():l;return f[g]={type:e,blueprint:f,template:n,queries:null,viewQuery:a,declTNode:t,data:f.slice().fill(null,d),bindingStartIndex:d,expandoStartIndex:p,hostBindingOpCodes:null,firstCreatePass:!0,firstUpdatePass:!0,staticViewQueries:!1,staticContentQueries:!1,preOrderHooks:null,preOrderCheckHooks:null,contentHooks:null,contentCheckHooks:null,viewHooks:null,viewCheckHooks:null,destroyHooks:null,cleanup:null,contentQueries:null,components:null,directiveRegistry:typeof i=="function"?i():i,pipeRegistry:typeof s=="function"?s():s,firstChild:null,schemas:c,consts:h,incompleteFirstPass:!1,ssrId:u}}function py(e,t){let n=[];for(let r=0;r<t;r++)n.push(r<e?null:ee);return n}function hy(e){let t=e.tView;return t===null||t.incompleteFirstPass?e.tView=La(1,null,e.template,e.decls,e.vars,e.directiveDefs,e.pipeDefs,e.viewQuery,e.schemas,e.consts,e.id):t}function Fa(e,t,n,r,o,i,s,a,c,l,u){let d=t.blueprint.slice();return d[ge]=o,d[I]=r|4|128|8|64|1024,(l!==null||e&&e[I]&2048)&&(d[I]|=2048),ps(d),d[$]=d[vt]=e,d[j]=n,d[me]=s||e&&e[me],d[k]=a||e&&e[k],d[Me]=c||e&&e[Me]||null,d[Z]=i,d[Se]=zg(),d[yt]=u,d[cs]=l,d[J]=t.type==2?e[J]:d,d}function gy(e,t,n){let r=ve(t,e),o=hy(n),i=e[me].rendererFactory,s=ja(e,Fa(e,o,null,Pd(n),r,t,null,i.createRenderer(r,n),null,null,null));return e[t.index]=s}function Pd(e){let t=16;return e.signals?t=4096:e.onPush&&(t=64),t}function Ld(e,t,n,r){if(n===0)return-1;let o=t.length;for(let i=0;i<n;i++)t.push(r),e.blueprint.push(r),e.data.push(null);return o}function ja(e,t){return e[Yt]?e[as][ie]=t:e[Yt]=t,e[as]=t,t}function my(e=1){Fd(F(),y(),Ie()+e,!1)}function Fd(e,t,n,r){if(!r)if((t[I]&3)===3){let i=e.preOrderCheckHooks;i!==null&&So(t,i,n)}else{let i=e.preOrderHooks;i!==null&&xo(t,i,0,n)}Ke(n)}var ii=(function(e){return e[e.None=0]="None",e[e.SignalBased=1]="SignalBased",e[e.HasDecoratorInputTransform=2]="HasDecoratorInputTransform",e})(ii||{});function na(e,t,n,r){let o=m(null);try{let[i,s,a]=e.inputs[n],c=null;(s&ii.SignalBased)!==0&&(c=t[i][V]),c!==null&&c.transformFn!==void 0?r=c.transformFn(r):a!==null&&(r=a.call(t,r)),e.setInput!==null?e.setInput(t,c,r,n,i):Uu(t,c,i,r)}finally{m(o)}}function jd(e,t,n,r,o){let i=Ie(),s=r&2;try{Ke(-1),s&&t.length>O&&Fd(e,t,O,!1);let a=s?M.TemplateUpdateStart:M.TemplateCreateStart;R(a,o,n),n(r,o)}finally{Ke(i);let a=s?M.TemplateUpdateEnd:M.TemplateCreateEnd;R(a,o,n)}}function si(e,t,n){Ty(e,t,n),(n.flags&64)===64&&Cy(e,t,n)}function er(e,t,n=ve){let r=t.localNames;if(r!==null){let o=t.index+1;for(let i=0;i<r.length;i+=2){let s=r[i+1],a=s===-1?n(t,e):e[s];e[o++]=a}}}function yy(e,t,n,r){let i=r.get(dd,ud)||n===St.ShadowDom||n===St.ExperimentalIsolatedShadowDom,s=e.selectRootElement(t,i);if(s.tagName.toLowerCase()==="script")throw new b(905,!1);return vy(s),s}function vy(e){Iy(e)}var Iy=()=>null;function Ey(e){return e==="class"?"className":e==="for"?"htmlFor":e==="formaction"?"formAction":e==="innerHtml"?"innerHTML":e==="readonly"?"readOnly":e==="tabindex"?"tabIndex":e}function Dy(e,t,n,r,o,i){let s=t[g];if($a(e,s,t,n,r)){Fe(e)&&wy(t,e.index);return}e.type&3&&(n=Ey(n)),Vd(e,t,n,r,o,i)}function Vd(e,t,n,r,o,i){if(e.type&3){let s=ve(e,t);r=i!=null?i(r,e.value||"",n):r,o.setProperty(s,n,r)}else e.type&12}function wy(e,t){let n=ce(t,e);n[I]&16||(n[I]|=64)}function Ty(e,t,n){let r=n.directiveStart,o=n.directiveEnd;Fe(n)&&gy(t,n,e.data[r+n.componentOffset]),e.firstCreatePass||jo(n,t);let i=n.initialInputs;for(let s=r;s<o;s++){let a=e.data[s],c=Hn(t,e,s,n);if(on(c,t),i!==null&&Ny(t,s-r,c,a,n,i),ye(a)){let l=ce(n.index,t);l[j]=Hn(t,e,s,n)}}}function Cy(e,t,n){let r=n.directiveStart,o=n.directiveEnd,i=n.index,s=jl();try{Ke(i);for(let a=r;a<o;a++){let c=e.data[a],l=t[a];ho(a),(c.hostBindings!==null||c.hostVars!==0||c.hostAttrs!==null)&&by(c,l)}}finally{Ke(-1),ho(s)}}function by(e,t){e.hostBindings!==null&&e.hostBindings(1,t)}function Va(e,t){let n=e.directiveRegistry,r=null;if(n)for(let o=0;o<n.length;o++){let i=n[o];Nd(t,i.selectors,!1)&&(r??=[],ye(i)?r.unshift(i):r.push(i))}return r}function _y(e,t,n,r,o,i){let s=ve(e,t);My(t[k],s,i,e.value,n,r,o)}function My(e,t,n,r,o,i,s){if(i==null)s?.(i,r||"",o),e.removeAttribute(t,o,n);else{let a=s==null?qt(i):s(i,r||"",o);e.setAttribute(t,o,a,n)}}function Ny(e,t,n,r,o,i){let s=i[t];if(s!==null)for(let a=0;a<s.length;a+=2){let c=s[a],l=s[a+1];na(r,n,c,l)}}function Ha(e,t,n,r,o){let i=O+n,s=t[g],a=o(s,t,e,r,n);t[i]=a,Ct(e,!0);let c=e.type===2;return c?(_d(t[k],a,e),(Sl()===0||Kt(e))&&on(a,t),xl()):on(a,t),Io()&&(!c||!Jo(e))&&Oa(s,t,a,e),e}function Ba(e){let t=e;return ws()?Ts():(t=t.parent,Ct(t,!1)),t}function Sy(e,t){let n=e[Me];if(!n)return;let r;try{r=n.get(Mt,null)}catch(o){r=null}r?.(t)}function $a(e,t,n,r,o){let i=e.inputs?.[r],s=e.hostDirectiveInputs?.[r],a=!1;if(s)for(let c=0;c<s.length;c+=2){let l=s[c],u=s[c+1],d=t.data[l];na(d,n[l],u,o),a=!0}if(i)for(let c of i){let l=n[c],u=t.data[c];na(u,l,r,o),a=!0}return a}function xy(e,t){let n=ce(t,e),r=n[g];Ay(r,n);let o=n[ge];o!==null&&n[yt]===null&&(n[yt]=fd(o,n[Me])),R(M.ComponentStart);try{Ua(r,n,n[j])}finally{R(M.ComponentEnd,n[j])}}function Ay(e,t){for(let n=t.length;n<e.blueprint.length;n++)t.push(e.blueprint[n])}function Ua(e,t,n){mo(t);try{let r=e.viewQuery;r!==null&&Ys(1,r,n);let o=e.template;o!==null&&jd(e,t,o,1,n),e.firstCreatePass&&(e.firstCreatePass=!1),t[Ne]?.finishViewCreation(e),e.staticContentQueries&&pd(e,t),e.staticViewQueries&&Ys(2,e.viewQuery,n);let i=e.components;i!==null&&Ry(t,i)}catch(r){throw e.firstCreatePass&&(e.incompleteFirstPass=!0,e.firstCreatePass=!1),r}finally{t[I]&=-5,yo()}}function Ry(e,t){for(let n=0;n<t.length;n++)xy(e,t[n])}function tr(e,t,n,r){let o=m(null);try{let i=t.tView,a=e[I]&4096?4096:16,c=Fa(e,i,n,a,null,t,null,null,r?.injector??null,r?.embeddedViewInjector??null,r?.dehydratedView??null),l=e[t.index];c[Ze]=l;let u=e[Ne];return u!==null&&(c[Ne]=u.createEmbeddedView(i)),Ua(i,c,n),c}finally{m(o)}}function an(e,t){return!t||t.firstChild===null||rd(e)}function $n(e,t,n,r,o=!1){for(;n!==null;){if(n.type===128){n=o?n.projectionNext:n.next;continue}let i=t[n.index];i!==null&&r.push(ae(i)),se(i)&&Hd(i,r);let s=n.type;if(s&8)$n(e,t,n.child,r);else if(s&32){let a=Sa(n,t),c;for(;c=a();)r.push(c)}else if(s&16){let a=kd(t,n);if(Array.isArray(a))r.push(...a);else{let c=Oe(t[J]);$n(c[g],c,a,r,!0)}}n=o?n.projectionNext:n.next}return r}function Hd(e,t){for(let n=L;n<e.length;n++){let r=e[n],o=r[g].firstChild;o!==null&&$n(r[g],r,o,t)}e[Ye]!==e[ge]&&t.push(e[Ye])}function Bd(e){if(e[Et]!==null){for(let t of e[Et])t.impl.addSequence(t);e[Et].length=0}}var $d=[];function ky(e){return e[re]??Oy(e)}function Oy(e){let t=$d.pop()??Object.create(Ly);return t.lView=e,t}function Py(e){e.lView[re]!==e&&(e.lView=null,$d.push(e))}var Ly=q(W({},et),{consumerIsAlwaysLive:!0,kind:"template",consumerMarkedDirty:e=>{Tt(e.lView)},consumerOnSignalRead(){this.lView[re]=this}});function Fy(e){let t=e[re]??Object.create(jy);return t.lView=e,t}var jy=q(W({},et),{consumerIsAlwaysLive:!0,kind:"template",consumerMarkedDirty:e=>{let t=Oe(e.lView);for(;t&&!Ud(t[g]);)t=Oe(t);t&&hs(t)},consumerOnSignalRead(){this.lView[re]=this}});function Ud(e){return e.type!==2}function Wd(e){if(e[Ge]===null)return;let t=!0;for(;t;){let n=!1;for(let r of e[Ge])r.dirty&&(n=!0,r.zone===null||Zone.current===r.zone?r.run():r.zone.run(()=>r.run()));t=n&&!!(e[I]&8192)}}var Vy=100;function qd(e,t=0){let r=e[me].rendererFactory,o=!1;o||r.begin?.();try{Hy(e,t)}finally{o||r.end?.()}}function Hy(e,t){let n=bs();try{Cn(!0),ra(e,t);let r=0;for(;Pn(e);){if(r===Vy)throw new b(103,!1);r++,ra(e,1)}}finally{Cn(n)}}function By(e,t,n,r){if(wt(t))return;let o=t[I],i=!1,s=!1;mo(t);let a=!0,c=null,l=null;i||(Ud(e)?(l=ky(t),c=$e(l)):pr()===null?(a=!1,l=Fy(t),c=$e(l)):t[re]&&(Ue(t[re]),t[re]=null));try{ps(t),Pl(e.bindingStartIndex),n!==null&&jd(e,t,n,2,r);let u=(o&3)===3;if(!i)if(u){let f=e.preOrderCheckHooks;f!==null&&So(t,f,null)}else{let f=e.preOrderHooks;f!==null&&xo(t,f,0,null),Os(t,0)}if(s||$y(t),Wd(t),Gd(t,0),e.contentQueries!==null&&pd(e,t),!i)if(u){let f=e.contentCheckHooks;f!==null&&So(t,f)}else{let f=e.contentHooks;f!==null&&xo(t,f,1),Os(t,1)}Wy(e,t);let d=e.components;d!==null&&Qd(t,d,0);let p=e.viewQuery;if(p!==null&&Ys(2,p,r),!i)if(u){let f=e.viewCheckHooks;f!==null&&So(t,f)}else{let f=e.viewHooks;f!==null&&xo(t,f,2),Os(t,2)}if(e.firstUpdatePass===!0&&(e.firstUpdatePass=!1),t[oo]){for(let f of t[oo])f();t[oo]=null}i||(Bd(t),t[I]&=-73)}catch(u){throw i||Tt(t),u}finally{l!==null&&(tt(l,c),a&&Py(l)),yo()}}function Gd(e,t){for(let n=id(e);n!==null;n=sd(n))for(let r=L;r<n.length;r++){let o=n[r];zd(o,t)}}function $y(e){for(let t=id(e);t!==null;t=sd(t)){if(!(t[I]&2))continue;let n=t[Dt];for(let r=0;r<n.length;r++){let o=n[r];hs(o)}}}function Uy(e,t,n){R(M.ComponentStart);let r=ce(t,e);try{zd(r,n)}finally{R(M.ComponentEnd,r[j])}}function zd(e,t){ao(e)&&ra(e,t)}function ra(e,t){let r=e[g],o=e[I],i=e[re],s=!!(t===0&&o&16);if(s||=!!(o&64&&t===0),s||=!!(o&1024),s||=!!(i?.dirty&&Ot(i)),s||=!1,i&&(i.dirty=!1),e[I]&=-9217,s)By(r,e,r.template,e[j]);else if(o&8192){let a=m(null);try{Wd(e),Gd(e,1);let c=r.components;c!==null&&Qd(e,c,1),Bd(e)}finally{m(a)}}}function Qd(e,t,n){for(let r=0;r<t.length;r++)Uy(e,t[r],n)}function Wy(e,t){let n=e.hostBindingOpCodes;if(n!==null)try{for(let r=0;r<n.length;r++){let o=n[r];if(o<0)Ke(~o);else{let i=o,s=n[++r],a=n[++r];Fl(s,i);let c=t[i];R(M.HostBindingsUpdateStart,c);try{a(2,c)}finally{R(M.HostBindingsUpdateEnd,c)}}}}finally{Ke(-1)}}function Wa(e,t){let n=bs()?64:1088;for(e[me].changeDetectionScheduler?.notify(t);e;){e[I]|=n;let r=Oe(e);if(Jt(e)&&!r)return e;e=r}return null}function Zd(e,t,n,r){return[e,!0,0,t,null,r,null,n,null,null]}function Yd(e,t){let n=L+t;if(n<e.length)return e[n]}function nr(e,t,n,r=!0){let o=t[g];if(qy(o,t,e,n),r){let s=ta(n,e),a=t[k],c=a.parentNode(e[Ye]);c!==null&&ry(o,e[Z],a,t,c,s)}let i=t[yt];i!==null&&i.firstChild!==null&&(i.firstChild=null)}function Kd(e,t){let n=Un(e,t);return n!==void 0&&ri(n[g],n),n}function Un(e,t){if(e.length<=L)return;let n=L+t,r=e[n];if(r){let o=r[Ze];o!==null&&o!==e&&ka(o,r),t>0&&(e[n-1][ie]=r[ie]);let i=xn(e,L+t);ny(r[g],r);let s=i[Ne];s!==null&&s.detachView(i[g]),r[$]=null,r[ie]=null,r[I]&=-129}return r}function qy(e,t,n,r){let o=L+r,i=n.length;r>0&&(n[o-1][ie]=t),r<i-L?(t[ie]=n[o],es(n,L+r,t)):(n.push(t),t[ie]=null),t[$]=n;let s=t[Ze];s!==null&&n!==s&&Jd(s,t);let a=t[Ne];a!==null&&a.insertView(e),co(t),t[I]|=128}function Jd(e,t){let n=e[Dt],r=t[$];if(Le(r))e[I]|=2;else{let o=r[$][J];t[J]!==o&&(e[I]|=2)}n===null?e[Dt]=[t]:n.push(t)}var Xe=class{_lView;_cdRefInjectingView;_appRef=null;_attachedToViewContainer=!1;exhaustive;get rootNodes(){let t=this._lView,n=t[g];return $n(n,t,n.firstChild,[])}constructor(t,n){this._lView=t,this._cdRefInjectingView=n}get context(){return this._lView[j]}set context(t){this._lView[j]=t}get destroyed(){return wt(this._lView)}destroy(){if(this._appRef)this._appRef.detachView(this);else if(this._attachedToViewContainer){let t=this._lView[$];if(se(t)){let n=t[kn],r=n?n.indexOf(this):-1;r>-1&&(Un(t,r),xn(n,r))}this._attachedToViewContainer=!1}ri(this._lView[g],this._lView)}onDestroy(t){lo(this._lView,t)}markForCheck(){Wa(this._cdRefInjectingView||this._lView,4)}detach(){this._lView[I]&=-129}reattach(){co(this._lView),this._lView[I]|=128}detectChanges(){this._lView[I]|=1024,qd(this._lView)}checkNoChanges(){}attachToViewContainerRef(){if(this._appRef)throw new b(902,!1);this._attachedToViewContainer=!0}detachFromAppRef(){this._appRef=null;let t=Jt(this._lView),n=this._lView[Ze];n!==null&&!t&&ka(n,this._lView),xd(this._lView[g],this._lView)}attachToAppRef(t){if(this._attachedToViewContainer)throw new b(902,!1);this._appRef=t;let n=Jt(this._lView),r=this._lView[Ze];r!==null&&!n&&Jd(r,this._lView),co(this._lView)}};var Wn=(()=>{class e{_declarationLView;_declarationTContainer;elementRef;static __NG_ELEMENT_ID__=Gy;constructor(n,r,o){this._declarationLView=n,this._declarationTContainer=r,this.elementRef=o}get ssrId(){return this._declarationTContainer.tView?.ssrId||null}createEmbeddedView(n,r){return this.createEmbeddedViewImpl(n,r)}createEmbeddedViewImpl(n,r,o){let i=tr(this._declarationLView,this._declarationTContainer,n,{embeddedViewInjector:r,dehydratedView:o});return new Xe(i)}}return e})();function Gy(){return ai(Y(),y())}function ai(e,t){return e.type&4?new Wn(t,e,fn(e,t)):null}function kt(e,t,n,r,o){let i=e.data[t];if(i===null)i=zy(e,t,n,r,o),Ll()&&(i.flags|=32);else if(i.type&64){i.type=n,i.value=r,i.attrs=o;let s=kl();i.injectorIndex=s===null?-1:s.injectorIndex}return Ct(i,!0),i}function zy(e,t,n,r,o){let i=Ds(),s=ws(),a=s?i:i&&i.parent,c=e.data[t]=Zy(e,a,n,t,r,o);return Qy(e,c,i,s),c}function Qy(e,t,n,r){e.firstChild===null&&(e.firstChild=t),n!==null&&(r?n.child==null&&t.parent!==null&&(n.child=t):n.next===null&&(n.next=t,t.prev=n))}function Zy(e,t,n,r,o,i){let s=t?t.injectorIndex:-1,a=0;return vs()&&(a|=128),{type:n,index:r,insertBeforeIndex:null,injectorIndex:s,directiveStart:-1,directiveEnd:-1,directiveStylingLast:-1,componentOffset:-1,controlDirectiveIndex:-1,customControlIndex:-1,propertyBindings:null,flags:a,providerIndexes:0,value:o,namespace:Ns(),attrs:i,mergedAttrs:null,localNames:null,initialInputs:null,inputs:null,hostDirectiveInputs:null,outputs:null,hostDirectiveOutputs:null,directiveToIndex:null,tView:null,next:null,prev:null,projectionNext:null,child:null,parent:t,projection:null,styles:null,stylesWithoutHost:null,residualStyles:void 0,classes:null,classesWithoutHost:null,residualClasses:void 0,classBindings:0,styleBindings:0}}function Yy(e){let t=e[ls]??[],r=e[$][k],o=[];for(let i of t)i.data[ld]!==void 0?o.push(i):Ky(i,r);e[ls]=o}function Ky(e,t){let n=0,r=e.firstChild;if(r){let o=e.data[cd];for(;n<o;){let i=r.nextSibling;bd(t,r,!1),r=i,n++}}}var Jy=()=>null,Xy=()=>null;function Uo(e,t){return Jy(e,t)}function Xd(e,t,n){return Xy(e,t,n)}var ef=class{},qn=class{},ev=(()=>{class e{destroyNode=null;static __NG_ELEMENT_ID__=()=>tv()}return e})();function tv(){let e=y(),t=Y(),n=ce(t.index,e);return(Le(n)?n:e)[k]}var tf=(()=>{class e{static \u0275prov=he({token:e,providedIn:"root",factory:()=>null})}return e})();function nf(e){return e.debugInfo?.className||e.type.name||null}var Ro={},Wo=class{injector;parentInjector;constructor(t,n){this.injector=t,this.parentInjector=n}get(t,n,r){let o=this.injector.get(t,Ro,r);return o!==Ro||n===Ro?o:this.parentInjector.get(t,n,r)}};function rf(e,t,n){return e[t]=n}function De(e,t,n){if(n===ee)return!1;let r=e[t];return Object.is(r,n)?!1:(e[t]=n,!0)}function of(e,t,n,r){let o=De(e,t,n);return De(e,t+1,r)||o}function ko(e,t,n){return function r(o){let i=r.__ngNativeEl__;i!==void 0&&Yg(o,i);let s=Fe(e)?ce(e.index,t):t;Wa(s,5);let a=t[j],c=Du(t,a,n,o),l=r.__ngNextListenerFn__;for(;l;)c=Du(t,a,l,o)&&c,l=l.__ngNextListenerFn__;return c}}function Du(e,t,n,r){let o=m(null);try{return R(M.OutputStart,t,n),n(r)!==!1}catch(i){return Sy(e,i),!1}finally{R(M.OutputEnd,t,n),m(o)}}function sf(e,t,n,r,o,i,s,a){let c=Kt(e),l=!1,u=null;if(!r&&c&&(u=rv(t,n,i,e.index)),u!==null){let d=u.__ngLastListenerFn__||u;d.__ngNextListenerFn__=s,u.__ngLastListenerFn__=s,l=!0}else{let d=ve(e,n),p=r?r(d):d;Jg(n,p,i,a),r||(a.__ngNativeEl__=d);let f=o.listen(p,i,a);if(!nv(i)){let h=r?v=>r(ae(v[e.index])):e.index;af(h,t,n,i,a,f,!1)}}return l}function nv(e){return e.startsWith("animation")||e.startsWith("transition")}function rv(e,t,n,r){let o=e.cleanup;if(o!=null)for(let i=0;i<o.length-1;i+=2){let s=o[i];if(s===n&&o[i+1]===r){let a=t[Zt],c=o[i+2];return a&&a.length>c?a[c]:null}typeof s=="string"&&(i+=2)}return null}function af(e,t,n,r,o,i,s){let a=t.firstCreatePass?ms(t):null,c=gs(n),l=c.length;c.push(o,i),a&&a.push(r,e,l,(l+1)*(s?-1:1))}function wu(e,t,n,r,o,i){let s=t[n],a=t[g],l=a.data[n].outputs[r],d=s[l].subscribe(i);af(e.index,a,t,o,i,d,!0)}var oa=Symbol("BINDING");var cf=new x("");function qo(e,t,n){let r=n?e.styles:null,o=n?e.classes:null,i=0;if(t!==null)for(let s=0;s<t.length;s++){let a=t[s];if(typeof a=="number")i=a;else if(i==1)o=Zr(o,a);else if(i==2){let c=a,l=t[++s];r=Zr(r,c+": "+l+";")}}n?e.styles=r:e.stylesWithoutHost=r,n?e.classes=o:e.classesWithoutHost=o}function rr(e,t=0){let n=y();if(n===null)return be(e,t);let r=Y();return ed(r,n,B(e),t)}function ov(){let e="invalid";throw new Error(e)}function lf(e,t,n,r,o){let i=r===null?null:{"":-1},s=o(e,n);if(s!==null){let a=s,c=null,l=null;for(let u of s)if(u.resolveHostDirectives!==null){[a,c,l]=u.resolveHostDirectives(s);break}av(e,t,n,a,i,c,l)}i!==null&&r!==null&&iv(n,r,i)}function iv(e,t,n){let r=e.localNames=[];for(let o=0;o<t.length;o+=2){let i=n[t[o+1]];if(i==null)throw new b(-301,!1);r.push(t[o],i)}}function sv(e,t,n){t.componentOffset=n,(e.components??=[]).push(t.index)}function av(e,t,n,r,o,i,s){let a=r.length,c=null;for(let p=0;p<a;p++){let f=r[p];c===null&&ye(f)&&(c=f,sv(e,n,p)),Gs(jo(n,t),e,f.type)}pv(n,e.data.length,a),c?.viewProvidersResolver&&c.viewProvidersResolver(c);for(let p=0;p<a;p++){let f=r[p];f.providersResolver&&f.providersResolver(f)}let l=!1,u=!1,d=Ld(e,t,a,null);a>0&&(n.directiveToIndex=new Map);for(let p=0;p<a;p++){let f=r[p];if(n.mergedAttrs=rn(n.mergedAttrs,f.hostAttrs),lv(e,n,t,d,f),fv(d,f,o),s!==null&&s.has(f)){let[v,_]=s.get(f);n.directiveToIndex.set(f.type,[d,v+n.directiveStart,_+n.directiveStart])}else(i===null||!i.has(f))&&n.directiveToIndex.set(f.type,d);f.contentQueries!==null&&(n.flags|=4),(f.hostBindings!==null||f.hostAttrs!==null||f.hostVars!==0)&&(n.flags|=64);let h=f.type.prototype;!l&&(h.ngOnChanges||h.ngOnInit||h.ngDoCheck)&&((e.preOrderHooks??=[]).push(n.index),l=!0),!u&&(h.ngOnChanges||h.ngDoCheck)&&((e.preOrderCheckHooks??=[]).push(n.index),u=!0),d++}cv(e,n,i)}function cv(e,t,n){for(let r=t.directiveStart;r<t.directiveEnd;r++){let o=e.data[r];if(n===null||!n.has(o))Tu(0,t,o,r),Tu(1,t,o,r),bu(t,r,!1);else{let i=n.get(o);Cu(0,t,i,r),Cu(1,t,i,r),bu(t,r,!0)}}}function Tu(e,t,n,r){let o=e===0?n.inputs:n.outputs;for(let i in o)if(o.hasOwnProperty(i)){let s;e===0?s=t.inputs??={}:s=t.outputs??={},s[i]??=[],s[i].push(r),uf(t,i)}}function Cu(e,t,n,r){let o=e===0?n.inputs:n.outputs;for(let i in o)if(o.hasOwnProperty(i)){let s=o[i],a;e===0?a=t.hostDirectiveInputs??={}:a=t.hostDirectiveOutputs??={},a[s]??=[],a[s].push(r,i),uf(t,s)}}function uf(e,t){t==="class"?e.flags|=8:t==="style"&&(e.flags|=16)}function bu(e,t,n){let{attrs:r,inputs:o,hostDirectiveInputs:i}=e;if(r===null||!n&&o===null||n&&i===null||Na(e)){e.initialInputs??=[],e.initialInputs.push(null);return}let s=null,a=0;for(;a<r.length;){let c=r[a];if(c===0){a+=4;continue}else if(c===5){a+=2;continue}else if(typeof c=="number")break;if(!n&&o.hasOwnProperty(c)){let l=o[c];for(let u of l)if(u===t){s??=[],s.push(c,r[a+1]);break}}else if(n&&i.hasOwnProperty(c)){let l=i[c];for(let u=0;u<l.length;u+=2)if(l[u]===t){s??=[],s.push(l[u+1],r[a+1]);break}}a+=2}e.initialInputs??=[],e.initialInputs.push(s)}function lv(e,t,n,r,o){e.data[r]=o;let i=o.factory||(o.factory=qe(o.type,!0)),s=new Nt(i,ye(o),rr,null);e.blueprint[r]=s,n[r]=s,uv(e,t,r,Ld(e,n,o.hostVars,ee),o)}function uv(e,t,n,r,o){let i=o.hostBindings;if(i){let s=e.hostBindingOpCodes;s===null&&(s=e.hostBindingOpCodes=[]);let a=~t.index;dv(s)!=a&&s.push(a),s.push(n,r,i)}}function dv(e){let t=e.length;for(;t>0;){let n=e[--t];if(typeof n=="number"&&n<0)return n}return 0}function fv(e,t,n){if(n){if(t.exportAs)for(let r=0;r<t.exportAs.length;r++)n[t.exportAs[r]]=e;ye(t)&&(n[""]=e)}}function pv(e,t,n){e.flags|=1,e.directiveStart=t,e.directiveEnd=t+n,e.providerIndexes=t}function qa(e,t,n,r,o,i,s,a){let c=t[g],l=c.consts,u=le(l,s),d=kt(c,e,n,r,u);return i&&lf(c,t,d,le(l,a),o),d.mergedAttrs=rn(d.mergedAttrs,d.attrs),d.attrs!==null&&qo(d,d.attrs,!1),d.mergedAttrs!==null&&qo(d,d.mergedAttrs,!0),c.queries!==null&&c.queries.elementStart(c,d),d}function Ga(e,t){Gu(e,t),us(t)&&e.queries.elementEnd(t)}function hv(e,t,n,r,o,i){let s=t.consts,a=le(s,o),c=kt(t,e,n,r,a);if(c.mergedAttrs=rn(c.mergedAttrs,c.attrs),i!=null){let l=le(s,i);c.localNames=[];for(let u=0;u<l.length;u+=2)c.localNames.push(l[u],-1)}return c.attrs!==null&&qo(c,c.attrs,!1),c.mergedAttrs!==null&&qo(c,c.mergedAttrs,!0),t.queries!==null&&t.queries.elementStart(t,c),c}var df=typeof ShadowRoot<"u",gv=typeof Document<"u";function mv(e){return Object.keys(e).map(t=>{let[n,r,o]=e[t],i={propName:n,templateName:t,isSignal:(r&ii.SignalBased)!==0};return o&&(i.transform=o),i})}function yv(e){return Object.keys(e).map(t=>({propName:e[t],templateName:t}))}function vv(e,t,n){let r=t instanceof oe?t:t?.injector;return r&&e.getStandaloneInjector!==null&&(r=e.getStandaloneInjector(r)||r),r?new Wo(n,r):n}function Iv(e){let t=e.get(qn,null);if(t===null)throw new b(407,!1);let n=e.get(tf,null),r=e.get(_e,null),o=e.get(Rt,null,{optional:!0});return{rendererFactory:t,sanitizer:n,changeDetectionScheduler:r,ngReflect:!1,tracingService:o}}function Ev(e,t){let n=ff(e);return Td(t,n,n==="svg"?ds:n==="math"?Cl:null)}function ff(e){return(e.selectors[0][0]||"div").toLowerCase()}var cn=class{componentDef;ngModule;selector;componentType;ngContentSelectors;isBoundToModule;cachedInputs=null;cachedOutputs=null;get inputs(){return this.cachedInputs??=mv(this.componentDef.inputs),this.cachedInputs}get outputs(){return this.cachedOutputs??=yv(this.componentDef.outputs),this.cachedOutputs}constructor(t,n){this.componentDef=t,this.ngModule=n,this.componentType=t.type,this.selector=Bm(t.selectors),this.ngContentSelectors=t.ngContentSelectors??[],this.isBoundToModule=!!n}create(t,n,r,o,i,s){R(M.DynamicComponentStart);let a=m(null);try{let c=this.componentDef,l=vv(c,o||this.ngModule,t),u=Iv(l),d=u.tracingService;return d&&d.componentCreate?d.componentCreate(nf(c),()=>this.createComponentRef(u,l,n,r,i,s)):this.createComponentRef(u,l,n,r,i,s)}finally{m(a)}}createComponentRef(t,n,r,o,i,s){let a=this.componentDef,c=Dv(o,a,s,i),l=t.rendererFactory.createRenderer(null,a),u=o?yy(l,o,a.encapsulation,n):Ev(a,l),d=n.get(cf,null),p=wv(u,()=>n.get(Eo,null)??ba());d&&d.addHost(p);let f=s?.some(_u)||i?.some(_=>typeof _!="function"&&_.bindings.some(_u)),h=Fa(null,c,null,512|Pd(a),null,null,t,l,n,null,fd(u,n,!0));d&&df&&p instanceof ShadowRoot&&lo(h,()=>{d.removeHost(p)}),h[O]=u,mo(h);let v=null;try{let _=qa(O,h,2,"#host",()=>c.directiveRegistry,!0,0);_d(l,u,_),on(u,h),si(c,h,_),_a(c,_,h),Ga(c,_),r!==void 0&&Cv(_,this.ngContentSelectors,r),v=ce(_.index,h),h[j]=v[j],Ua(c,h,null)}catch(_){throw v!==null&&Qs(v),Qs(h),_}finally{R(M.DynamicComponentEnd),yo()}return new Go(this.componentType,h,!!f)}};function Dv(e,t,n,r){let o=e?["ng-version","22.0.1"]:$m(t.selectors[0]),i=null,s=null,a=0;if(n)for(let u of n)a+=u[oa].requiredVars,u.create&&(u.targetIdx=0,(i??=[]).push(u)),u.update&&(u.targetIdx=0,(s??=[]).push(u));if(r)for(let u=0;u<r.length;u++){let d=r[u];if(typeof d!="function")for(let p of d.bindings){a+=p[oa].requiredVars;let f=u+1;p.create&&(p.targetIdx=f,(i??=[]).push(p)),p.update&&(p.targetIdx=f,(s??=[]).push(p))}}let c=[t];if(r)for(let u of r){let d=typeof u=="function"?u:u.type,p=Jr(d);c.push(p)}return La(0,null,Tv(i,s),1,a,c,null,null,null,[o],null)}function wv(e,t){let n=e.getRootNode?.();return gv&&n instanceof Document?n.head:n&&df&&n instanceof ShadowRoot?n:t().head}function Tv(e,t){return!e&&!t?null:n=>{if(n&1&&e)for(let r of e)r.create();if(n&2&&t)for(let r of t)r.update()}}function _u(e){let t=e[oa].kind;return t==="input"||t==="twoWay"}var Go=class extends ef{_rootLView;_hasInputBindings;instance;hostView;changeDetectorRef;componentType;location;previousInputValues=null;_tNode;constructor(t,n,r){super(),this._rootLView=n,this._hasInputBindings=r,this._tNode=io(n[g],O),this.location=fn(this._tNode,n),this.instance=ce(this._tNode.index,n)[j],this.hostView=this.changeDetectorRef=new Xe(n,void 0),this.componentType=t}setInput(t,n){this._hasInputBindings;let r=this._tNode;if(this.previousInputValues??=new Map,this.previousInputValues.has(t)&&Object.is(this.previousInputValues.get(t),n))return;let o=this._rootLView,i=$a(r,o[g],o,t,n);this.previousInputValues.set(t,n);let s=ce(r.index,o);Wa(s,1)}get injector(){return new Je(this._tNode,this._rootLView)}destroy(){this.hostView.destroy()}onDestroy(t){this.hostView.onDestroy(t)}};function Cv(e,t,n){let r=e.projection=[];for(let o=0;o<t.length;o++){let i=n[o];r.push(i!=null&&i.length?Array.from(i):null)}}var ci=(()=>{class e{static __NG_ELEMENT_ID__=bv}return e})();function bv(){let e=Y();return pf(e,y())}var ia=class e extends ci{_lContainer;_hostTNode;_hostLView;constructor(t,n,r){super(),this._lContainer=t,this._hostTNode=n,this._hostLView=r}get element(){return fn(this._hostTNode,this._hostLView)}get injector(){return new Je(this._hostTNode,this._hostLView)}get parentInjector(){let t=Ta(this._hostTNode,this._hostLView);if(Qu(t)){let n=Lo(t,this._hostLView),r=Po(t),o=n[g].data[r+8];return new Je(o,n)}else return new Je(null,this._hostLView)}clear(){for(;this.length>0;)this.remove(this.length-1)}get(t){let n=Mu(this._lContainer);return n!==null&&n[t]||null}get length(){return this._lContainer.length-L}createEmbeddedView(t,n,r){let o,i;typeof r=="number"?o=r:r!=null&&(o=r.index,i=r.injector);let s=Uo(this._lContainer,t.ssrId),a=t.createEmbeddedViewImpl(n||{},i,s);return this.insertImpl(a,o,an(this._hostTNode,s)),a}createComponent(t,n,r,o,i,s,a){let c,l=n||{};c=l.index,r=l.injector,o=l.projectableNodes,i=l.environmentInjector||l.ngModuleRef,s=l.directives,a=l.bindings;let u=new cn(ze(t)),d=r||this.parentInjector;if(!i&&u.ngModule==null){let N=this.parentInjector.get(oe,null);N&&(i=N)}let p=ze(u.componentType??{}),f=Uo(this._lContainer,p?.id??null),h=f?.firstChild??null,v=u.create(d,o,h,i,s,a);return this.insertImpl(v.hostView,c,an(this._hostTNode,f)),v}insert(t,n){return this.insertImpl(t,n,!0)}insertImpl(t,n,r){let o=t._lView;if(bl(o)){let a=this.indexOf(t);if(a!==-1)this.detach(a);else{let c=o[$],l=new e(c,c[Z],c[$]);l.detach(l.indexOf(t))}}let i=this._adjustIndex(n),s=this._lContainer;return nr(s,o,i,r),t.attachToViewContainerRef(),es(Fs(s),i,t),t}move(t,n){return this.insert(t,n)}indexOf(t){let n=Mu(this._lContainer);return n!==null?n.indexOf(t):-1}remove(t){let n=this._adjustIndex(t,-1),r=Un(this._lContainer,n);r&&(xn(Fs(this._lContainer),n),ri(r[g],r))}detach(t){let n=this._adjustIndex(t,-1),r=Un(this._lContainer,n);return r&&xn(Fs(this._lContainer),n)!=null?new Xe(r):null}_adjustIndex(t,n=0){return t??this.length+n}};function Mu(e){return e[kn]}function Fs(e){return e[kn]||(e[kn]=[])}function pf(e,t){let n,r=t[e.index];return se(r)?n=r:(n=Zd(r,t,null,e),t[e.index]=n,ja(t,n)),Mv(n,t,e,r),new ia(n,e,t)}function _v(e,t){let n=e[k],r=n.createComment(""),o=ve(t,e),i=n.parentNode(o);return Bo(n,i,r,n.nextSibling(o),!1),r}var Mv=xv,Nv=()=>!1;function Sv(e,t,n){return Nv(e,t,n)}function xv(e,t,n,r){if(e[Ye])return;let o;n.type&8?o=ae(r):o=_v(t,n),e[Ye]=o}var sa=class e{queryList;matches=null;constructor(t){this.queryList=t}clone(){return new e(this.queryList)}setDirty(){this.queryList.setDirty()}},aa=class e{queries;constructor(t=[]){this.queries=t}createEmbeddedView(t){let n=t.queries;if(n!==null){let r=t.contentQueries!==null?t.contentQueries[0]:n.length,o=[];for(let i=0;i<r;i++){let s=n.getByIndex(i),a=this.queries[s.indexInDeclarationView];o.push(a.clone())}return new e(o)}return null}insertView(t){this.dirtyQueriesWithMatches(t)}detachView(t){this.dirtyQueriesWithMatches(t)}finishViewCreation(t){this.dirtyQueriesWithMatches(t)}dirtyQueriesWithMatches(t){for(let n=0;n<this.queries.length;n++)mf(t,n).matches!==null&&this.queries[n].setDirty()}},ca=class{flags;read;predicate;constructor(t,n,r=null){this.flags=n,this.read=r,typeof t=="string"?this.predicate=Fv(t):this.predicate=t}},la=class e{queries;constructor(t=[]){this.queries=t}elementStart(t,n){for(let r=0;r<this.queries.length;r++)this.queries[r].elementStart(t,n)}elementEnd(t){for(let n=0;n<this.queries.length;n++)this.queries[n].elementEnd(t)}embeddedTView(t){let n=null;for(let r=0;r<this.length;r++){let o=n!==null?n.length:0,i=this.getByIndex(r).embeddedTView(t,o);i&&(i.indexInDeclarationView=r,n!==null?n.push(i):n=[i])}return n!==null?new e(n):null}template(t,n){for(let r=0;r<this.queries.length;r++)this.queries[r].template(t,n)}getByIndex(t){return this.queries[t]}get length(){return this.queries.length}track(t){this.queries.push(t)}},ua=class e{metadata;matches=null;indexInDeclarationView=-1;crossesNgTemplate=!1;_declarationNodeIndex;_appliesToNextNode=!0;constructor(t,n=-1){this.metadata=t,this._declarationNodeIndex=n}elementStart(t,n){this.isApplyingToNode(n)&&this.matchTNode(t,n)}elementEnd(t){this._declarationNodeIndex===t.index&&(this._appliesToNextNode=!1)}template(t,n){this.elementStart(t,n)}embeddedTView(t,n){return this.isApplyingToNode(t)?(this.crossesNgTemplate=!0,this.addMatch(-t.index,n),new e(this.metadata)):null}isApplyingToNode(t){if(this._appliesToNextNode&&(this.metadata.flags&1)!==1){let n=this._declarationNodeIndex,r=t.parent;for(;r!==null&&r.type&8&&r.index!==n;)r=r.parent;return n===(r!==null?r.index:-1)}return this._appliesToNextNode}matchTNode(t,n){let r=this.metadata.predicate;if(Array.isArray(r))for(let o=0;o<r.length;o++){let i=r[o];this.matchTNodeWithReadOption(t,n,Av(n,i)),this.matchTNodeWithReadOption(t,n,Ao(n,t,i,!1,!1))}else r===Wn?n.type&4&&this.matchTNodeWithReadOption(t,n,-1):this.matchTNodeWithReadOption(t,n,Ao(n,t,r,!1,!1))}matchTNodeWithReadOption(t,n,r){if(r!==null){let o=this.metadata.read;if(o!==null)if(o===Kn||o===ci||o===Wn&&n.type&4)this.addMatch(n.index,-2);else{let i=Ao(n,t,o,!1,!1);i!==null&&this.addMatch(n.index,i)}else this.addMatch(n.index,r)}}addMatch(t,n){this.matches===null?this.matches=[t,n]:this.matches.push(t,n)}};function Av(e,t){let n=e.localNames;if(n!==null){for(let r=0;r<n.length;r+=2)if(n[r]===t)return n[r+1]}return null}function Rv(e,t){return e.type&11?fn(e,t):e.type&4?ai(e,t):null}function kv(e,t,n,r){return n===-1?Rv(t,e):n===-2?Ov(e,t,r):Hn(e,e[g],n,t)}function Ov(e,t,n){if(n===Kn)return fn(t,e);if(n===Wn)return ai(t,e);if(n===ci)return pf(t,e)}function hf(e,t,n,r){let o=t[Ne].queries[r];if(o.matches===null){let i=e.data,s=n.matches,a=[];for(let c=0;s!==null&&c<s.length;c+=2){let l=s[c];if(l<0)a.push(null);else{let u=i[l];a.push(kv(t,u,s[c+1],n.metadata.read))}}o.matches=a}return o.matches}function da(e,t,n,r){let o=e.queries.getByIndex(n),i=o.matches;if(i!==null){let s=hf(e,t,o,n);for(let a=0;a<i.length;a+=2){let c=i[a];if(c>0)r.push(s[a/2]);else{let l=i[a+1],u=t[-c];for(let d=L;d<u.length;d++){let p=u[d];p[Ze]===p[$]&&da(p[g],p,l,r)}if(u[Dt]!==null){let d=u[Dt];for(let p=0;p<d.length;p++){let f=d[p];da(f[g],f,l,r)}}}}}return r}function gf(e,t){return e[Ne].queries[t].queryList}function Pv(e,t,n){let r=new Vo((n&4)===4);return Nl(e,t,r,r.destroy),(t[Ne]??=new aa).queries.push(new sa(r))-1}function Lv(e,t,n){let r=F();return r.firstCreatePass&&(jv(r,new ca(e,t,n),-1),(t&2)===2&&(r.staticViewQueries=!0)),Pv(r,y(),t)}function Fv(e){return e.split(",").map(t=>t.trim())}function jv(e,t,n){e.queries===null&&(e.queries=new la),e.queries.track(new ua(t,n))}function mf(e,t){return e.queries.getByIndex(t)}function Vv(e,t){let n=e[g],r=mf(n,t);return r.crossesNgTemplate?da(n,e,t,[]):hf(n,e,r,t)}function yf(e,t,n){let r,o=hn(()=>{r._dirtyCounter();let i=Bv(r,e);if(t&&i===void 0)throw new b(-951,!1);return i});return r=o[V],r._dirtyCounter=Do(0),r._flatValue=void 0,o}function vf(e){return yf(!0,!1,e)}function If(e){return yf(!0,!0,e)}function Hv(e,t){let n=e[V];n._lView=y(),n._queryIndex=t,n._queryList=gf(n._lView,t),n._queryList.onDirty(()=>n._dirtyCounter.update(r=>r+1))}function Bv(e,t){let n=e._lView,r=e._queryIndex;if(n===void 0||r===void 0||n[I]&4)return t?void 0:Q;let o=gf(n,r),i=Vv(n,r);return o.reset(i,Wg),t?o.first:o._changesDetected||e._flatValue===void 0?e._flatValue=o.toArray():e._flatValue}function za(e){return!!e&&typeof e.then=="function"}function Ef(e){return!!e&&typeof e.subscribe=="function"}var ln=class{},Df=class{};function $v(e,t){return new Gn(e,t??null,[])}var Gn=class extends ln{ngModuleType;_parent;_bootstrapComponents=[];_r3Injector;instance;destroyCbs=[];constructor(t,n,r,o=!0){super(),this.ngModuleType=t,this._parent=n;let i=ll(t);this._bootstrapComponents=xm(i.bootstrap),this._r3Injector=Ss(t,n,[{provide:ln,useValue:this},...r],Nn(t),new Set(["environment"])),o&&this.resolveInjectorInitializers()}resolveInjectorInitializers(){this._r3Injector.resolveInjectorInitializers(),this.instance=this._r3Injector.get(this.ngModuleType)}get injector(){return this._r3Injector}destroy(){let t=this._r3Injector;!t.destroyed&&t.destroy(),this.destroyCbs.forEach(n=>n()),this.destroyCbs=null}onDestroy(t){this.destroyCbs.push(t)}},zo=class extends Df{moduleType;constructor(t){super(),this.moduleType=t}create(t){return new Gn(this.moduleType,t,[])}};var zn=class extends ln{injector;instance=null;constructor(t){super();let n=new ht([...t.providers,{provide:ln,useValue:this}],t.parent||Qt(),t.debugName,new Set(["environment"]));this.injector=n,t.runEnvironmentInitializers&&n.resolveInjectorInitializers()}destroy(){this.injector.destroy()}onDestroy(t){this.injector.onDestroy(t)}};function wf(e,t,n=null){return new zn({providers:e,parent:t,debugName:n,runEnvironmentInitializers:!0}).injector}var Uv=(()=>{class e{_injector;cachedInjectors=new Map;constructor(n){this._injector=n}getOrCreateStandaloneInjector(n){if(!n.standalone)return null;if(!this.cachedInjectors.has(n)){let r=rs(!1,n.type),o=r.length>0?wf([r],this._injector,""):null;this.cachedInjectors.set(n,o)}return this.cachedInjectors.get(n)}ngOnDestroy(){try{for(let n of this.cachedInjectors.values())n!==null&&n.destroy()}finally{this.cachedInjectors.clear()}}static \u0275prov=he({token:e,providedIn:"environment",factory:()=>new e(be(oe))})}return e})();function Wv(e){return Yn(()=>{let t=Tf(e),n=q(W({},t),{type:e.type,decls:e.decls,vars:e.vars,template:e.template,consts:e.consts||null,ngContentSelectors:e.ngContentSelectors,onPush:e.changeDetection!==Ca.Eager,directiveDefs:null,pipeDefs:null,dependencies:t.standalone&&e.dependencies||null,getStandaloneInjector:t.standalone?o=>o.get(Uv).getOrCreateStandaloneInjector(n):null,getExternalStyles:null,signals:e.signals??!1,data:e.data||{},encapsulation:e.encapsulation||St.Emulated,styles:e.styles||Q,_:null,schemas:e.schemas||null,tView:null,id:""});t.standalone&&He("NgStandalone"),Cf(n);let r=e.dependencies;return n.directiveDefs=Nu(r,qv),n.pipeDefs=Nu(r,ul),n.id=Kv(n),n})}function qv(e){return ze(e)||Jr(e)}function Gv(e){return Yn(()=>({type:e.type,bootstrap:e.bootstrap||Q,declarations:e.declarations||Q,imports:e.imports||Q,exports:e.exports||Q,transitiveCompileScopes:null,schemas:e.schemas||null,id:e.id||null}))}function zv(e,t){if(e==null)return Qe;let n={};for(let r in e)if(e.hasOwnProperty(r)){let o=e[r],i,s,a,c;Array.isArray(o)?(a=o[0],i=o[1],s=o[2]??i,c=o[3]||null):(i=o,s=o,a=ii.None,c=null),n[i]=[r,a,c],t[i]=s}return n}function Qv(e){if(e==null)return Qe;let t={};for(let n in e)e.hasOwnProperty(n)&&(t[e[n]]=n);return t}function Zv(e){return Yn(()=>{let t=Tf(e);return Cf(t),t})}function Yv(e){return{type:e.type,name:e.name,factory:null,pure:e.pure!==!1,standalone:e.standalone??!0,onDestroy:e.type.prototype.ngOnDestroy||null}}function Tf(e){let t={};return{type:e.type,providersResolver:null,viewProvidersResolver:null,factory:null,hostBindings:e.hostBindings||null,hostVars:e.hostVars||0,hostAttrs:e.hostAttrs||null,contentQueries:e.contentQueries||null,declaredInputs:t,inputConfig:e.inputs||Qe,exportAs:e.exportAs||null,standalone:e.standalone??!0,signals:e.signals===!0,selectors:e.selectors||Q,viewQuery:e.viewQuery||null,features:e.features||null,setInput:null,resolveHostDirectives:null,hostDirectives:null,controlDef:null,signalFormsInputPresence:null,inputs:zv(e.inputs,t),outputs:Qv(e.outputs),debugInfo:null}}function Cf(e){e.features?.forEach(t=>t(e))}function Nu(e,t){return e?()=>{let n=typeof e=="function"?e():e,r=[];for(let o of n){let i=t(o);i!==null&&r.push(i)}return r}:null}function Kv(e){let t=0,n=typeof e.consts=="function"?"":e.consts,r=[e.selectors,e.ngContentSelectors,e.hostVars,e.hostAttrs,n,e.vars,e.decls,e.encapsulation,e.standalone,e.signals,e.exportAs,JSON.stringify(e.inputs),JSON.stringify(e.outputs),Object.getOwnPropertyNames(e.type.prototype),!!e.contentQueries,!!e.viewQuery];for(let i of r.join("|"))t=Math.imul(31,t)+i.charCodeAt(0)<<0;return t+=2147483648,"c"+t}var bf=new x("");var Qa=(()=>{class e{resolve;reject;initialized=!1;done=!1;donePromise=new Promise((n,r)=>{this.resolve=n,this.reject=r});appInits=E(bf,{optional:!0})??[];injector=E(pe);constructor(){}runInitializers(){if(this.initialized)return;let n=[];for(let o of this.appInits){let i=ro(this.injector,o);if(za(i))n.push(i);else if(Ef(i)){let s=new Promise((a,c)=>{i.subscribe({complete:a,error:c})});n.push(s)}}let r=()=>{this.done=!0,this.resolve()};Promise.all(n).then(()=>{r()}).catch(o=>{this.reject(o)}),n.length===0&&r(),this.initialized=!0}static \u0275fac=function(r){return new(r||e)};static \u0275prov=At({token:e,factory:e.\u0275fac})}return e})();function Jv(e){let t=n=>{let r=Array.isArray(e);n.hostDirectives===null?(n.resolveHostDirectives=Xv,n.hostDirectives=r?e.map(fa):[e]):r?n.hostDirectives.unshift(...e.map(fa)):n.hostDirectives.unshift(e)};return t.ngInherit=!0,t}function Xv(e){let t=[],n=!1,r=null,o=null;for(let i=0;i<e.length;i++){let s=e[i];if(s.hostDirectives!==null){let a=t.length;r??=new Map,o??=new Map,_f(s,t,r,e),o.set(s,[a,t.length-1])}i===0&&ye(s)&&(n=!0,t.push(s))}for(let i=n?1:0;i<e.length;i++)t.push(e[i]);return r!==null&&r.forEach((i,s)=>{eI(s.declaredInputs,i.inputs)}),[t,r,o]}function _f(e,t,n,r){if(e.hostDirectives!==null)for(let o of e.hostDirectives)if(typeof o=="function"){let i=o();for(let s of i)Su(fa(s),t,n,r)}else Su(o,t,n,r)}function Su(e,t,n,r){let o=Jr(e.directive);if(_f(o,t,n,r),n.has(o)){let i=n.get(o);xu(i,e.inputs,"input"),xu(i,e.outputs,"output")}else r.includes(o)||(n.set(o,e),t.push(o))}function xu(e,t,n){let r=n==="input"?e.inputs:e.outputs;Object.keys(t).forEach(o=>{let i=t[o];(!r.hasOwnProperty(o)||r[o]===i)&&(r[o]=i)})}function fa(e){return typeof e=="function"?{directive:B(e),inputs:{},outputs:{}}:{directive:B(e.directive),inputs:Au(e.inputs),outputs:Au(e.outputs)}}function Au(e){let t={};if(e!==void 0&&e.length>0)for(let n=0;n<e.length;n+=2)t[e[n]]=e[n+1];return t}function eI(e,t){for(let n in t)if(t.hasOwnProperty(n)){let r=t[n],o=e[n];e[r]=o}}function tI(e){return Object.getPrototypeOf(e.prototype).constructor}function Mf(e){let t=tI(e.type),n=!0,r=[e];for(;t;){let o;if(ye(e))o=t.\u0275cmp||t.\u0275dir;else{if(t.\u0275cmp)throw new b(903,!1);o=t.\u0275dir}if(o){if(n){r.push(o);let s=e;s.inputs=js(e.inputs),s.declaredInputs=js(e.declaredInputs),s.outputs=js(e.outputs);let a=o.hostBindings;a&&sI(e,a);let c=o.viewQuery,l=o.contentQueries;if(c&&oI(e,c),l&&iI(e,l),nI(e,o),al(e.outputs,o.outputs),ye(o)&&o.data.animation){let u=e.data;u.animation=(u.animation||[]).concat(o.data.animation)}}let i=o.features;if(i)for(let s=0;s<i.length;s++){let a=i[s];a&&a.ngInherit&&a(e),a===Mf&&(n=!1)}}t=Object.getPrototypeOf(t)}rI(r)}function nI(e,t){for(let n in t.inputs){if(!t.inputs.hasOwnProperty(n)||e.inputs.hasOwnProperty(n))continue;let r=t.inputs[n];r!==void 0&&(e.inputs[n]=r,e.declaredInputs[n]=t.declaredInputs[n])}}function rI(e){let t=0,n=null;for(let r=e.length-1;r>=0;r--){let o=e[r];o.hostVars=t+=o.hostVars,o.hostAttrs=rn(o.hostAttrs,n=rn(n,o.hostAttrs))}}function js(e){return e===Qe?{}:e===Q?[]:e}function oI(e,t){let n=e.viewQuery;n?e.viewQuery=(r,o)=>{t(r,o),n(r,o)}:e.viewQuery=t}function iI(e,t){let n=e.contentQueries;n?e.contentQueries=(r,o,i)=>{t(r,o,i),n(r,o,i)}:e.contentQueries=t}function sI(e,t){let n=e.hostBindings;n?e.hostBindings=(r,o)=>{t(r,o),n(r,o)}:e.hostBindings=t}function Nf(e,t,n,r,o,i,s,a){if(n.firstCreatePass){e.mergedAttrs=rn(e.mergedAttrs,e.attrs);let u=e.tView=La(2,e,o,i,s,n.directiveRegistry,n.pipeRegistry,null,n.schemas,n.consts,null);n.queries!==null&&(n.queries.template(n,e),u.queries=n.queries.embeddedTView(e))}a&&(e.flags|=a),Ct(e,!1);let c=cI(n,t,e,r);Io()&&Oa(n,t,c,e),on(c,t);let l=Zd(c,t,c,e);t[r+O]=l,ja(t,l),Sv(l,e,t)}function aI(e,t,n,r,o,i,s,a,c,l,u){let d=n+O,p;return t.firstCreatePass?(p=kt(t,d,4,s||null,a||null),uo()&&lf(t,e,p,le(t.consts,l),Va),Gu(t,p)):p=t.data[d],Nf(p,e,t,n,r,o,i,c),Kt(p)&&si(t,e,p),l!=null&&er(e,p,u),p}function Qn(e,t,n,r,o,i,s,a,c,l,u){let d=n+O,p;if(t.firstCreatePass){if(p=kt(t,d,4,s||null,a||null),l!=null){let f=le(t.consts,l);p.localNames=[];for(let h=0;h<f.length;h+=2)p.localNames.push(f[h],-1)}}else p=t.data[d];return Nf(p,e,t,n,r,o,i,c),l!=null&&er(e,p,u),p}function Sf(e,t,n,r,o,i,s,a){let c=y(),l=F(),u=le(l.consts,i);return aI(c,l,e,t,n,r,o,u,void 0,s,a),Sf}var cI=lI;function lI(e,t,n,r){return Ln(!0),t[k].createComment("")}var uI=(()=>{class e{log(n){console.log(n)}warn(n){console.warn(n)}static \u0275fac=function(r){return new(r||e)};static \u0275prov=he({token:e,factory:e.\u0275fac,providedIn:"platform"})}return e})();var xf=new x("");var Af=new x("");function Rf(){Ii(()=>{let e="";throw new b(600,e)})}var dI=10;var or=(()=>{class e{_runningTick=!1;_destroyed=!1;_destroyListeners=[];_views=[];internalErrorHandler=E(Mt);afterRenderManager=E(ti);zonelessEnabled=E(en);rootEffectScheduler=E(Co);dirtyFlags=0;tracingSnapshot=null;allTestViews=new Set;autoDetectTestViews=new Set;includeAllTestViews=!1;afterTick=new ne;get allViews(){return[...(this.includeAllTestViews?this.allTestViews:this.autoDetectTestViews).keys(),...this._views]}get destroyed(){return this._destroyed}componentTypes=[];components=[];internalPendingTask=E(_t);get isStable(){return this.internalPendingTask.hasPendingTasksObservable.pipe(We(n=>!n))}constructor(){E(Rt,{optional:!0})}whenStable(){let n;return new Promise(r=>{n=this.isStable.subscribe({next:o=>{o&&r()}})}).finally(()=>{n.unsubscribe()})}_injector=E(oe);_rendererFactory=null;get injector(){return this._injector}bootstrap(n,r){return this.bootstrapImpl(n,r)}bootstrapImpl(n,r,o=pe.NULL){return this._injector.get(G).run(()=>{if(R(M.BootstrapComponentStart),!this._injector.get(Qa).done){let N="";throw new b(405,N)}let a=ze(n),c=this._injector.get(ln),l=new cn(a,c);this.componentTypes.push(n);let{hostElement:u,directives:d,bindings:p}=fI(r),f=u||l.selector,h=l.create(o,[],f,c.injector,d,p),v=h.location.nativeElement,_=h.injector.get(xf,null);return _?.registerApplication(v),h.onDestroy(()=>{this.detachView(h.hostView),Vn(this.components,h),_?.unregisterApplication(v)}),this._loadComponent(h),R(M.BootstrapComponentEnd,h),h})}tick(){this.zonelessEnabled||(this.dirtyFlags|=1),this._tick()}_tick(){R(M.ChangeDetectionStart),this.tracingSnapshot!==null?this.tracingSnapshot.run(ei.CHANGE_DETECTION,this.tickImpl):this.tickImpl()}tickImpl=()=>{if(this._runningTick)throw R(M.ChangeDetectionEnd),new b(101,!1);let n=m(null);try{this._runningTick=!0,this.synchronize()}finally{this._runningTick=!1,this.tracingSnapshot?.dispose(),this.tracingSnapshot=null,m(n),this.afterTick.next(),R(M.ChangeDetectionEnd)}};synchronize(){this._rendererFactory===null&&!this._injector.destroyed&&(this._rendererFactory=this._injector.get(qn,null,{optional:!0}));let n=0;for(;this.dirtyFlags!==0&&n++<dI;){R(M.ChangeDetectionSyncStart);try{this.synchronizeOnce()}finally{R(M.ChangeDetectionSyncEnd)}}}synchronizeOnce(){this.dirtyFlags&16&&(this.dirtyFlags&=-17,this.rootEffectScheduler.flush());let n=!1;if(this.dirtyFlags&7){let r=!!(this.dirtyFlags&1);this.dirtyFlags&=-8,this.dirtyFlags|=8;for(let{_lView:o}of this.allViews){if(!r&&!Pn(o))continue;let i=r&&!this.zonelessEnabled?0:1;qd(o,i),n=!0}if(this.dirtyFlags&=-5,this.syncDirtyFlagsWithViews(),this.dirtyFlags&23)return}n||(this._rendererFactory?.begin?.(),this._rendererFactory?.end?.()),this.dirtyFlags&8&&(this.dirtyFlags&=-9,this.afterRenderManager.execute()),this.syncDirtyFlagsWithViews()}syncDirtyFlagsWithViews(){if(this.allViews.some(({_lView:n})=>Pn(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;Vn(this._views,r),r.detachFromAppRef()}_loadComponent(n){this.attachView(n.hostView);try{this.tick()}catch(o){this.internalErrorHandler(o)}this.components.push(n),this._injector.get(Af,[]).forEach(o=>o(n))}ngOnDestroy(){if(!this._destroyed)try{this._destroyListeners.forEach(n=>n()),this._views.slice().forEach(n=>n.destroy())}finally{this._destroyed=!0,this._views=[],this._destroyListeners=[]}}onDestroy(n){return this._destroyListeners.push(n),()=>Vn(this._destroyListeners,n)}destroy(){if(this._destroyed)throw new b(406,!1);let n=this._injector;n.destroy&&!n.destroyed&&n.destroy()}get viewCount(){return this._views.length}static \u0275fac=function(r){return new(r||e)};static \u0275prov=At({token:e,factory:e.\u0275fac})}return e})();function fI(e){return e===void 0||typeof e=="string"||e instanceof Element?{hostElement:e}:e}function Vn(e,t){let n=e.indexOf(t);n>-1&&e.splice(n,1)}function kf(e,t,n,r){let o=y(),i=bt();if(De(o,i,t)){let s=F(),a=vo();_y(a,o,e,t,n,r)}return kf}var pa=class{destroy(t){}updateValue(t,n){}swap(t,n){let r=Math.min(t,n),o=Math.max(t,n),i=this.detach(o);if(o-r>1){let s=this.detach(r);this.attach(r,i),this.attach(o,s)}else this.attach(r,i)}move(t,n){this.attach(n,this.detach(t))}};function Vs(e,t,n,r,o){return e===n&&Object.is(t,r)?1:Object.is(o(e,t),o(n,r))?-1:0}function pI(e,t,n,r){let o,i,s=0,a=e.length-1,c=void 0;if(Array.isArray(t)){m(r);let l=t.length-1;for(m(null);s<=a&&s<=l;){let u=e.at(s),d=t[s],p=Vs(s,u,s,d,n);if(p!==0){p<0&&e.updateValue(s,d),s++;continue}let f=e.at(a),h=t[l],v=Vs(a,f,l,h,n);if(v!==0){v<0&&e.updateValue(a,h),a--,l--;continue}let _=n(s,u),N=n(a,f),ue=n(s,d);if(Object.is(ue,N)){let di=n(l,h);Object.is(di,_)?(e.swap(s,a),e.updateValue(a,h),l--,a--):e.move(a,s),e.updateValue(s,d),s++;continue}if(o??=new Qo,i??=ku(e,s,a,n),ha(e,o,s,ue))e.updateValue(s,d),s++,a++;else if(i.has(ue))o.set(_,e.detach(s)),a--;else{let di=e.create(s,t[s]);e.attach(s,di),s++,a++}}for(;s<=l;)Ru(e,o,n,s,t[s]),s++}else if(t!=null){m(r);let l=t[Symbol.iterator]();m(null);let u=l.next();for(;!u.done&&s<=a;){let d=e.at(s),p=u.value,f=Vs(s,d,s,p,n);if(f!==0)f<0&&e.updateValue(s,p),s++,u=l.next();else{o??=new Qo,i??=ku(e,s,a,n);let h=n(s,p);if(ha(e,o,s,h))e.updateValue(s,p),s++,a++,u=l.next();else if(!i.has(h))e.attach(s,e.create(s,p)),s++,a++,u=l.next();else{let v=n(s,d);o.set(v,e.detach(s)),a--}}}for(;!u.done;)Ru(e,o,n,e.length,u.value),u=l.next()}for(;s<=a;)e.destroy(e.detach(a--));o?.forEach(l=>{e.destroy(l)})}function ha(e,t,n,r){return t!==void 0&&t.has(r)?(e.attach(n,t.get(r)),t.delete(r),!0):!1}function Ru(e,t,n,r,o){if(ha(e,t,r,n(r,o)))e.updateValue(r,o);else{let i=e.create(r,o);e.attach(r,i)}}function ku(e,t,n,r){let o=new Set;for(let i=t;i<=n;i++)o.add(r(i,e.at(i)));return o}var Qo=class{kvMap=new Map;_vMap=void 0;has(t){return this.kvMap.has(t)}delete(t){if(!this.has(t))return!1;let n=this.kvMap.get(t);return this._vMap!==void 0&&this._vMap.has(n)?(this.kvMap.set(t,this._vMap.get(n)),this._vMap.delete(n)):this.kvMap.delete(t),!0}get(t){return this.kvMap.get(t)}set(t,n){if(this.kvMap.has(t)){let r=this.kvMap.get(t);this._vMap===void 0&&(this._vMap=new Map);let o=this._vMap;for(;o.has(r);)r=o.get(r);o.set(r,n)}else this.kvMap.set(t,n)}forEach(t){for(let[n,r]of this.kvMap)if(t(r,n),this._vMap!==void 0){let o=this._vMap;for(;o.has(r);)r=o.get(r),t(r,n)}}};function hI(e,t,n,r,o,i,s,a){He("NgControlFlow");let c=y(),l=F(),u=le(l.consts,i);return Qn(c,l,e,t,n,r,o,u,256,s,a),Za}function Za(e,t,n,r,o,i,s,a){He("NgControlFlow");let c=y(),l=F(),u=le(l.consts,i);return Qn(c,l,e,t,n,r,o,u,512,s,a),Za}function gI(e,t){He("NgControlFlow");let n=y(),r=bt(),o=n[r]!==ee?n[r]:-1,i=o!==-1?Zo(n,O+o):void 0,s=0;if(De(n,r,e)){let a=m(null);try{if(i!==void 0&&Kd(i,s),e!==-1){let c=O+e,l=Zo(n,c),u=va(n[g],c),d=Xd(l,u,n),p=tr(n,u,t,{dehydratedView:d});nr(l,p,s,an(u,d))}}finally{m(a)}}else if(i!==void 0){let a=Yd(i,s);a!==void 0&&(a[j]=t)}}var ga=class{lContainer;$implicit;$index;constructor(t,n,r){this.lContainer=t,this.$implicit=n,this.$index=r}get $count(){return this.lContainer.length-L}};function mI(e){return e}function yI(e,t){return t}var ma=class{hasEmptyBlock;trackByFn;liveCollection;constructor(t,n,r){this.hasEmptyBlock=t,this.trackByFn=n,this.liveCollection=r}};function vI(e,t,n,r,o,i,s,a,c,l,u,d,p){He("NgControlFlow");let f=y(),h=F(),v=c!==void 0,_=y(),N=a?s.bind(_[J][j]):s,ue=new ma(v,N);_[O+e]=ue,Qn(f,h,e+1,t,n,r,o,le(h.consts,i),256),v&&Qn(f,h,e+2,c,l,u,d,le(h.consts,p),512)}var ya=class extends pa{lContainer;hostLView;templateTNode;operationsCounter=void 0;needsIndexUpdate=!1;constructor(t,n,r){super(),this.lContainer=t,this.hostLView=n,this.templateTNode=r}get length(){return this.lContainer.length-L}at(t){return this.getLView(t)[j].$implicit}attach(t,n){let r=n[yt];this.needsIndexUpdate||=t!==this.length,nr(this.lContainer,n,t,an(this.templateTNode,r)),EI(this.lContainer,t)}detach(t){return this.needsIndexUpdate||=t!==this.length-1,DI(this.lContainer,t),wI(this.lContainer,t)}create(t,n){let r=Uo(this.lContainer,this.templateTNode.tView.ssrId);return tr(this.hostLView,this.templateTNode,new ga(this.lContainer,n,t),{dehydratedView:r})}destroy(t){ri(t[g],t)}updateValue(t,n){this.getLView(t)[j].$implicit=n}reset(){this.needsIndexUpdate=!1}updateIndexes(){if(this.needsIndexUpdate)for(let t=0;t<this.length;t++)this.getLView(t)[j].$index=t}getLView(t){return TI(this.lContainer,t)}};function II(e){let t=m(null),n=Ie();try{let r=y(),o=r[g],i=r[n],s=n+1,a=Zo(r,s);if(i.liveCollection===void 0){let l=va(o,s);i.liveCollection=new ya(a,r,l)}else i.liveCollection.reset();let c=i.liveCollection;if(pI(c,e,i.trackByFn,t),c.updateIndexes(),i.hasEmptyBlock){let l=bt(),u=c.length===0;if(De(r,l,u)){let d=n+2,p=Zo(r,d);if(u){let f=va(o,d),h=Xd(p,f,r),v=tr(r,f,void 0,{dehydratedView:h});nr(p,v,0,an(f,h))}else o.firstUpdatePass&&Yy(p),Kd(p,0)}}}finally{m(t)}}function Zo(e,t){return e[t]}function EI(e,t){if(e.length<=L)return;let n=L+t,r=e[n],o=r?r[xe]:void 0;if(r&&o&&o.detachedLeaveAnimationFns&&o.detachedLeaveAnimationFns.length>0){let i=r[Me];Ym(i,o),sn.delete(r[Se]),o.detachedLeaveAnimationFns=void 0}}function DI(e,t){if(e.length<=L)return;let n=L+t,r=e[n],o=r?r[xe]:void 0;o&&o.leave&&o.leave.size>0&&(o.detachedLeaveAnimationFns=[])}function wI(e,t){return Un(e,t)}function TI(e,t){return Yd(e,t)}function va(e,t){return io(e,t)}function Of(e,t,n){let r=y(),o=bt();if(De(r,o,t)){let i=F(),s=vo();Dy(s,r,e,t,r[k],n)}return Of}function Ia(e,t,n,r,o){$a(t,e,n,o?"class":"style",r)}function Yo(e,t,n,r){let o=y(),i=o[g],s=e+O,a=i.firstCreatePass?qa(s,o,2,t,Va,uo(),n,r):i.data[s];if(Fe(a)){let c=o[me].tracingService;if(c&&c.componentCreate){let l=i.data[a.directiveStart+a.componentOffset];return c.componentCreate(nf(l),()=>(Ou(e,t,o,a,r),Yo))}}return Ou(e,t,o,a,r),Yo}function Ou(e,t,n,r,o){if(Ha(r,n,e,t,Ff),Kt(r)){let i=n[g];si(i,n,r),_a(i,r,n)}o!=null&&er(n,r)}function Ya(){let e=F(),t=Y(),n=Ba(t);return e.firstCreatePass&&Ga(e,n),Is(n)&&Es(),ys(),n.classesWithoutHost!=null&&Sg(n)&&Ia(e,n,y(),n.classesWithoutHost,!0),n.stylesWithoutHost!=null&&xg(n)&&Ia(e,n,y(),n.stylesWithoutHost,!1),Ya}function Pf(e,t,n,r){return Yo(e,t,n,r),Ya(),Pf}function Ka(e,t,n,r){let o=y(),i=o[g],s=e+O,a=i.firstCreatePass?hv(s,i,2,t,n,r):i.data[s];return Ha(a,o,e,t,Ff),r!=null&&er(o,a),Ka}function Ja(){let e=Y(),t=Ba(e);return Is(t)&&Es(),ys(),Ja}function Lf(e,t,n,r){return Ka(e,t,n,r),Ja(),Lf}var Ff=(e,t,n,r,o)=>(Ln(!0),Td(t[k],r,Ns()));function Xa(e,t,n){let r=y(),o=r[g],i=e+O,s=o.firstCreatePass?qa(i,r,8,"ng-container",Va,uo(),t,n):o.data[i];if(Ha(s,r,e,"ng-container",CI),Kt(s)){let a=r[g];si(a,r,s),_a(a,s,r)}return n!=null&&er(r,s),Xa}function ec(){let e=F(),t=Y(),n=Ba(t);return e.firstCreatePass&&Ga(e,n),ec}function jf(e,t,n){return Xa(e,t,n),ec(),jf}var CI=(e,t,n,r,o)=>(Ln(!0),Cm(t[k],""));function bI(){return y()}function Vf(e,t,n){let r=y(),o=bt();if(De(r,o,t)){let i=F(),s=vo();Vd(s,r,e,t,r[k],n)}return Vf}var ir="en-US";var _I=ir;function Hf(e){typeof e=="string"&&(_I=e.toLowerCase().replace(/_/g,"-"))}function Bf(e,t,n){let r=y(),o=F(),i=Y();return MI(o,r,r[k],i,e,t,n),Bf}function $f(e,t,n){let r=y(),o=F(),i=Y();return(i.type&3||n)&&sf(i,o,r,n,r[k],e,t,ko(i,r,t)),$f}function MI(e,t,n,r,o,i,s){let a=!0,c=null;if((r.type&3||s)&&(c??=ko(r,t,i),sf(r,e,t,s,n,o,i,c)&&(a=!1)),a){let l=r.outputs?.[o],u=r.hostDirectiveOutputs?.[o];if(u&&u.length)for(let d=0;d<u.length;d+=2){let p=u[d],f=u[d+1];c??=ko(r,t,i),wu(r,t,p,f,o,c)}if(l&&l.length)for(let d of l)c??=ko(r,t,i),wu(r,t,d,o,o,c)}}function NI(e=1){return Wl(e)}function SI(e,t){let n=null,r=Lm(e);for(let o=0;o<t.length;o++){let i=t[o];if(i==="*"){n=o;continue}if(r===null?Nd(e,i,!0):Vm(r,i))return o}return n}function xI(e){let t=y()[J][Z];if(!t.projection){let n=e?e.length:1,r=t.projection=ml(n,null),o=r.slice(),i=t.child;for(;i!==null;){if(i.type!==128){let s=e?SI(i,e):0;s!==null&&(o[s]?o[s].projectionNext=i:r[s]=i,o[s]=i)}i=i.next}}}function AI(e,t=0,n,r,o,i){let s=y(),a=F(),c=r?e+1:null;c!==null&&Qn(s,a,c,r,o,i,null,n);let l=kt(a,O+e,16,null,n||null);l.projection===null&&(l.projection=t),Ts();let d=!s[yt]||vs();s[J][Z].projection[l.projection]===null&&c!==null?RI(s,a,c):d&&!Jo(l)&&uy(a,s,l)}function RI(e,t,n){let r=O+n,o=t.data[r],i=e[r],s=Uo(i,o.tView.ssrId),a=tr(e,o,void 0,{dehydratedView:s});nr(i,a,0,an(o,s))}function Uf(e,t,n,r){return Hv(e,Lv(t,n,r)),Uf}function kI(e=1){go(Hl()+e)}function OI(e){let t=Cs();return so(t,O+e)}function No(e,t){return e<<17|t<<2}function xt(e){return e>>17&32767}function PI(e){return(e&2)==2}function LI(e,t){return e&131071|t<<17}function Ea(e){return e|2}function un(e){return(e&131068)>>2}function Hs(e,t){return e&-131069|t<<2}function FI(e){return(e&1)===1}function Da(e){return e|1}function jI(e,t,n,r,o,i){let s=i?t.classBindings:t.styleBindings,a=xt(s),c=un(s);e[r]=n;let l=!1,u;if(Array.isArray(n)){let d=n;u=d[1],(u===null||zt(d,u)>0)&&(l=!0)}else u=n;if(o)if(c!==0){let p=xt(e[a+1]);e[r+1]=No(p,a),p!==0&&(e[p+1]=Hs(e[p+1],r)),e[a+1]=LI(e[a+1],r)}else e[r+1]=No(a,0),a!==0&&(e[a+1]=Hs(e[a+1],r)),a=r;else e[r+1]=No(c,0),a===0?a=r:e[c+1]=Hs(e[c+1],r),c=r;l&&(e[r+1]=Ea(e[r+1])),Pu(e,u,r,!0),Pu(e,u,r,!1),VI(t,u,e,r,i),s=No(a,c),i?t.classBindings=s:t.styleBindings=s}function VI(e,t,n,r,o){let i=o?e.residualClasses:e.residualStyles;i!=null&&typeof t=="string"&&zt(i,t)>=0&&(n[r+1]=Da(n[r+1]))}function Pu(e,t,n,r){let o=e[n+1],i=t===null,s=r?xt(o):un(o),a=!1;for(;s!==0&&(a===!1||i);){let c=e[s],l=e[s+1];HI(c,t)&&(a=!0,e[s+1]=r?Da(l):Ea(l)),s=r?xt(l):un(l)}a&&(e[n+1]=r?Ea(o):Da(o))}function HI(e,t){return e===null||t==null||(Array.isArray(e)?e[1]:e)===t?!0:Array.isArray(e)&&typeof t=="string"?zt(e,t)>=0:!1}var U={textEnd:0,key:0,keyEnd:0,value:0,valueEnd:0};function Wf(e){return e.substring(U.key,U.keyEnd)}function BI(e){return e.substring(U.value,U.valueEnd)}function $I(e){return zf(e),qf(e,dn(e,0,U.textEnd))}function qf(e,t){let n=U.textEnd;return n===t?-1:(t=U.keyEnd=WI(e,U.key=t,n),dn(e,t,n))}function UI(e){return zf(e),Gf(e,dn(e,0,U.textEnd))}function Gf(e,t){let n=U.textEnd,r=U.key=dn(e,t,n);return n===r?-1:(r=U.keyEnd=qI(e,r,n),r=Lu(e,r,n,58),r=U.value=dn(e,r,n),r=U.valueEnd=GI(e,r,n),Lu(e,r,n,59))}function zf(e){U.key=0,U.keyEnd=0,U.value=0,U.valueEnd=0,U.textEnd=e.length}function dn(e,t,n){for(;t<n&&e.charCodeAt(t)<=32;)t++;return t}function WI(e,t,n){for(;t<n&&e.charCodeAt(t)>32;)t++;return t}function qI(e,t,n){let r;for(;t<n&&((r=e.charCodeAt(t))===45||r===95||(r&-33)>=65&&(r&-33)<=90||r>=48&&r<=57);)t++;return t}function Lu(e,t,n,r){return t=dn(e,t,n),t<n&&t++,t}function GI(e,t,n){let r=-1,o=-1,i=-1,s=t,a=s;for(;s<n;){let c=e.charCodeAt(s++);if(c===59)return a;c===34||c===39?a=s=Fu(e,c,s,n):t===s-4&&i===85&&o===82&&r===76&&c===40?a=s=Fu(e,41,s,n):c>32&&(a=s),i=o,o=r,r=c&-33}return a}function Fu(e,t,n,r){let o=-1,i=n;for(;i<r;){let s=e.charCodeAt(i++);if(s==t&&o!==92)return i;s==92&&o===92?o=0:o=s}throw new Error}function Qf(e,t,n){return Yf(e,t,n,!1),Qf}function Zf(e,t){return Yf(e,t,null,!0),Zf}function zI(e){Kf(ep,QI,e,!1)}function QI(e,t){for(let n=UI(t);n>=0;n=Gf(t,n))ep(e,Wf(t),BI(t))}function ZI(e){Kf(nE,YI,e,!0)}function YI(e,t){for(let n=$I(t);n>=0;n=qf(t,n))An(e,Wf(t),!0)}function Yf(e,t,n,r){let o=y(),i=F(),s=po(2);if(i.firstUpdatePass&&Xf(i,e,s,r),t!==ee&&De(o,s,t)){let a=i.data[Ie()];tp(i,a,o,o[k],e,o[s+1]=oE(t,n),r,s)}}function Kf(e,t,n,r){let o=F(),i=po(2);o.firstUpdatePass&&Xf(o,null,i,r);let s=y();if(n!==ee&&De(s,i,n)){let a=o.data[Ie()];if(np(a,r)&&!Jf(o,i)){let c=r?a.classesWithoutHost:a.stylesWithoutHost;c!==null&&(n=Zr(c,n||"")),Ia(o,a,s,n,r)}else rE(o,a,s,s[k],s[i+1],s[i+1]=tE(e,t,n),r,i)}}function Jf(e,t){return t>=e.expandoStartIndex}function Xf(e,t,n,r){let o=e.data;if(o[n+1]===null){let i=o[Ie()],s=Jf(e,n);np(i,r)&&t===null&&!s&&(t=!1),t=KI(o,i,t,r),jI(o,i,t,n,s,r)}}function KI(e,t,n,r){let o=Vl(e),i=r?t.residualClasses:t.residualStyles;if(o===null)(r?t.classBindings:t.styleBindings)===0&&(n=Bs(null,e,t,n,r),n=Zn(n,t.attrs,r),i=null);else{let s=t.directiveStylingLast;if(s===-1||e[s]!==o)if(n=Bs(o,e,t,n,r),i===null){let c=JI(e,t,r);c!==void 0&&Array.isArray(c)&&(c=Bs(null,e,t,c[1],r),c=Zn(c,t.attrs,r),XI(e,t,r,c))}else i=eE(e,t,r)}return i!==void 0&&(r?t.residualClasses=i:t.residualStyles=i),n}function JI(e,t,n){let r=n?t.classBindings:t.styleBindings;if(un(r)!==0)return e[xt(r)]}function XI(e,t,n,r){let o=n?t.classBindings:t.styleBindings;e[xt(o)]=r}function eE(e,t,n){let r,o=t.directiveEnd;for(let i=1+t.directiveStylingLast;i<o;i++){let s=e[i].hostAttrs;r=Zn(r,s,n)}return Zn(r,t.attrs,n)}function Bs(e,t,n,r,o){let i=null,s=n.directiveEnd,a=n.directiveStylingLast;for(a===-1?a=n.directiveStart:a++;a<s&&(i=t[a],r=Zn(r,i.hostAttrs,o),i!==e);)a++;return e!==null&&(n.directiveStylingLast=a),r}function Zn(e,t,n){let r=n?1:2,o=-1;if(t!==null)for(let i=0;i<t.length;i++){let s=t[i];typeof s=="number"?o=s:o===r&&(Array.isArray(e)||(e=e===void 0?[]:["",e]),An(e,s,n?!0:t[++i]))}return e===void 0?null:e}function tE(e,t,n){if(n==null||n==="")return Q;let r=[],o=Jn(n);if(Array.isArray(o))for(let i=0;i<o.length;i++)e(r,o[i],!0);else if(o instanceof Set)for(let i of o)e(r,i,!0);else if(typeof o=="object")for(let i in o)Object.hasOwn(o,i)&&e(r,i,o[i]);else typeof o=="string"&&t(r,o);return r}function ep(e,t,n){An(e,t,Jn(n))}function nE(e,t,n){let r=String(t);r!==""&&!r.includes(" ")&&An(e,r,n)}function rE(e,t,n,r,o,i,s,a){o===ee&&(o=Q);let c=0,l=0,u=0<o.length?o[0]:null,d=0<i.length?i[0]:null;for(;u!==null||d!==null;){let p=c<o.length?o[c+1]:void 0,f=l<i.length?i[l+1]:void 0,h=null,v;u===d?(c+=2,l+=2,p!==f&&(h=d,v=f)):d===null||u!==null&&u<d?(c+=2,h=u):(l+=2,h=d,v=f),h!==null&&tp(e,t,n,r,h,v,s,a),u=c<o.length?o[c]:null,d=l<i.length?i[l]:null}}function tp(e,t,n,r,o,i,s,a){if(!(t.type&3))return;let c=e.data,l=c[a+1],u=FI(l)?ju(c,t,n,o,un(l),s):void 0;if(!Ko(u)){Ko(i)||PI(l)&&(i=ju(c,null,n,o,a,s));let d=fs(Ie(),n);fy(r,s,d,o,i)}}function ju(e,t,n,r,o,i){let s=t===null,a;for(;o>0;){let c=e[o],l=Array.isArray(c),u=l?c[1]:c,d=u===null,p=n[o+1];p===ee&&(p=d?Q:void 0);let f=d?no(p,r):u===r?p:void 0;if(l&&!Ko(f)&&(f=no(c,r)),Ko(f)&&(a=f,s))return a;let h=e[o+1];o=s?xt(h):un(h)}if(t!==null){let c=i?t.residualClasses:t.residualStyles;c!=null&&(a=no(c,r))}return a}function Ko(e){return e!==void 0}function oE(e,t){return e==null||e===""||(typeof t=="string"?e=e+t:typeof e=="object"&&(e=Nn(Jn(e)))),e}function np(e,t){return(e.flags&(t?8:16))!==0}function iE(e,t=""){let n=y(),r=F(),o=e+O,i=r.firstCreatePass?kt(r,o,1,t,null):r.data[o],s=sE(r,n,i,t);n[o]=s,Io()&&Oa(r,n,s,i),Ct(i,!1)}var sE=(e,t,n,r)=>(Ln(!0),wm(t[k],r));function rp(e,t,n,r=""){return De(e,bt(),n)?t+qt(n)+r:ee}function op(e,t,n,r,o,i=""){let s=Ol(),a=of(e,s,n,o);return po(2),a?t+qt(n)+r+qt(o)+i:ee}function ip(e){return tc("",e),ip}function tc(e,t,n){let r=y(),o=rp(r,e,t,n);return o!==ee&&ap(r,Ie(),o),tc}function sp(e,t,n,r,o){let i=y(),s=op(i,e,t,n,r,o);return s!==ee&&ap(i,Ie(),s),sp}function ap(e,t,n){let r=fs(t,e);Tm(e[k],r,n)}var cp={};function lp(e){He("NgLet");let t=F(),n=y(),r=e+O,o=kt(t,r,128,null,null);return Ct(o,!1),On(t,n,r,cp),lp}function aE(e){let t=F(),n=y(),r=Ie();return On(t,n,r,e),e}function cE(e){let t=Cs(),n=so(t,O+e);if(n===cp)throw new b(314,!1);return n}function lE(e,t,n=""){return rp(y(),e,t,n)}function uE(e,t,n,r,o=""){return op(y(),e,t,n,r,o)}function Vu(e,t,n){let r=F();r.firstCreatePass&&up(t,r.data,r.blueprint,ye(e),n)}function up(e,t,n,r,o){if(e=B(e),Array.isArray(e))for(let i=0;i<e.length;i++)up(e[i],t,n,r,o);else{let i=F(),s=y(),a=Y(),c=pt(e)?e:B(e.provide),l=ss(e),u=a.providerIndexes&1048575,d=a.directiveStart,p=a.providerIndexes>>20;if(pt(e)||!e.multi){let f=new Nt(l,o,rr,null),h=Us(c,t,o?u:u+p,d);h===-1?(Gs(jo(a,s),i,c),$s(i,e,t.length),t.push(c),a.directiveStart++,a.directiveEnd++,o&&(a.providerIndexes+=1048576),n.push(f),s.push(f)):(n[h]=f,s[h]=f)}else{let f=Us(c,t,u+p,d),h=Us(c,t,u,u+p),v=f>=0&&n[f],_=h>=0&&n[h];if(o&&!_||!o&&!v){Gs(jo(a,s),i,c);let N=pE(o?fE:dE,n.length,o,r,l,e);!o&&_&&(n[h].providerFactory=N),$s(i,e,t.length,0),t.push(c),a.directiveStart++,a.directiveEnd++,o&&(a.providerIndexes+=1048576),n.push(N),s.push(N)}else{let N=dp(n[o?h:f],l,!o&&r);$s(i,e,f>-1?f:h,N)}!o&&r&&_&&n[h].componentProviders++}}}function $s(e,t,n,r){let o=pt(t),i=Dl(t);if(o||i){let c=(i?B(t.useClass):t).prototype.ngOnDestroy;if(c){let l=e.destroyHooks||(e.destroyHooks=[]);if(!o&&t.multi){let u=l.indexOf(n);u===-1?l.push(n,[r,c]):l[u+1].push(r,c)}else l.push(n,c)}}}function dp(e,t,n){return n&&e.componentProviders++,e.multi.push(t)-1}function Us(e,t,n,r){for(let o=n;o<r;o++)if(t[o]===e)return o;return-1}function dE(e,t,n,r,o){return wa(this.multi,[])}function fE(e,t,n,r,o){let i=this.multi,s;if(this.providerFactory){let a=this.providerFactory.componentProviders,c=Hn(r,r[g],this.providerFactory.index,o);s=c.slice(0,a),wa(i,s);for(let l=a;l<c.length;l++)s.push(c[l])}else s=[],wa(i,s);return s}function wa(e,t){for(let n=0;n<e.length;n++){let r=e[n];t.push(r())}return t}function pE(e,t,n,r,o,i){let s=new Nt(e,n,rr,null);return s.multi=[],s.index=t,s.componentProviders=0,dp(s,o,r&&!n),s}function hE(e,t){return n=>{n.providersResolver=(r,o)=>Vu(r,o?o(e):e,!1),t&&(n.viewProvidersResolver=(r,o)=>Vu(r,o?o(t):t,!0))}}function gE(e,t,n){return pp(y(),fo(),e,t,n)}function mE(e,t,n,r){return yE(y(),fo(),e,t,n,r)}function fp(e,t){let n=e[t];return n===ee?void 0:n}function pp(e,t,n,r,o,i){let s=t+n;return De(e,s,o)?rf(e,s+1,i?r.call(i,o):r(o)):fp(e,s+1)}function yE(e,t,n,r,o,i,s){let a=t+n;return of(e,a,o,i)?rf(e,a+2,s?r.call(s,o,i):r(o,i)):fp(e,a+2)}function vE(e,t){let n=F(),r,o=e+O;n.firstCreatePass?(r=IE(t,n.pipeRegistry),n.data[o]=r,r.onDestroy&&(n.destroyHooks??=[]).push(o,r.onDestroy)):r=n.data[o];let i=r.factory||(r.factory=qe(r.type,!0)),s,a=K(rr);try{let c=Fo(!1),l=i();return Fo(c),On(n,y(),o,l),l}finally{K(a)}}function IE(e,t){if(t)for(let n=t.length-1;n>=0;n--){let r=t[n];if(e===r.name)return r}}function EE(e,t,n){let r=e+O,o=y(),i=so(o,r);return DE(o,r)?pp(o,fo(),t,i.transform,n,i):i.transform(n)}function DE(e,t){return e[g].data[t].pure}function wE(e,t){return ai(e,t)}var hp=(()=>{class e{applicationErrorHandler=E(Mt);appRef=E(or);taskService=E(_t);ngZone=E(G);zonelessEnabled=E(en);tracing=E(Rt,{optional:!0});zoneIsDefined=typeof Zone<"u"&&!!Zone.root.run;schedulerTickApplyArgs=[{data:{__scheduler_tick__:!0}}];subscriptions=new H;angularZoneId=this.zoneIsDefined?this.ngZone._inner?.get(bn):null;scheduleInRootZone=!this.zonelessEnabled&&this.zoneIsDefined&&(E(To,{optional:!0})??!1);cancelScheduledCallback=null;useMicrotaskScheduler=!1;runningTick=!1;pendingRenderTaskId=null;constructor(){this.subscriptions.add(this.appRef.afterTick.subscribe(()=>{let n=this.taskService.add();if(!this.runningTick&&(this.cleanup(),!this.zonelessEnabled||this.appRef.includeAllTestViews)){this.taskService.remove(n);return}this.switchToMicrotaskScheduler(),this.taskService.remove(n)})),this.subscriptions.add(this.ngZone.onUnstable.subscribe(()=>{this.runningTick||this.cleanup()}))}switchToMicrotaskScheduler(){this.ngZone.runOutsideAngular(()=>{let n=this.taskService.add();this.useMicrotaskScheduler=!0,queueMicrotask(()=>{this.useMicrotaskScheduler=!1,this.taskService.remove(n)})})}notify(n){if(!this.zonelessEnabled&&n===5)return;switch(n){case 0:case 2:{this.appRef.dirtyFlags|=2;break}case 3:case 4:case 5:case 1:{this.appRef.dirtyFlags|=4;break}case 6:{this.appRef.dirtyFlags|=2;break}case 12:{this.appRef.dirtyFlags|=16;break}case 13:{this.appRef.dirtyFlags|=2;break}case 11:break;default:this.appRef.dirtyFlags|=8}if(this.appRef.tracingSnapshot=this.tracing?.snapshot(this.appRef.tracingSnapshot)??null,!this.shouldScheduleTick())return;let r=this.useMicrotaskScheduler?Zl:As;this.pendingRenderTaskId=this.taskService.add(),this.scheduleInRootZone?this.cancelScheduledCallback=Zone.root.run(()=>r(()=>this.tick())):this.cancelScheduledCallback=this.ngZone.runOutsideAngular(()=>r(()=>this.tick()))}shouldScheduleTick(){return!(this.appRef.destroyed||this.pendingRenderTaskId!==null||this.runningTick||this.appRef._runningTick||!this.zonelessEnabled&&this.zoneIsDefined&&Zone.current.get(bn+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.applicationErrorHandler(r)}finally{this.taskService.remove(n),this.cleanup()}}ngOnDestroy(){this.subscriptions.unsubscribe(),this.cleanup()}cleanup(){if(this.runningTick=!1,this.cancelScheduledCallback?.(),this.cancelScheduledCallback=null,this.pendingRenderTaskId!==null){let n=this.pendingRenderTaskId;this.pendingRenderTaskId=null,this.taskService.remove(n)}}static \u0275fac=function(r){return new(r||e)};static \u0275prov=At({token:e,factory:e.\u0275fac})}return e})();function gp(){return[{provide:_e,useExisting:hp},{provide:G,useClass:_n},{provide:en,useValue:!0}]}var TE=(()=>{class e{compileModuleSync(n){return new zo(n)}compileModuleAsync(n){return Promise.resolve(this.compileModuleSync(n))}clearCache(){}clearCacheFor(n){}getModuleId(n){}static \u0275fac=function(r){return new(r||e)};static \u0275prov=At({token:e,factory:e.\u0275fac})}return e})();function CE(){return typeof $localize<"u"&&$localize.locale||ir}var nc=new x("",{factory:()=>E(nc,{optional:!0,skipSelf:!0})||CE()});var sr=class{destroyed=!1;listeners=null;errorHandler=E(Pe,{optional:!0});destroyRef=E(je);constructor(){this.destroyRef.onDestroy(()=>{this.destroyed=!0,this.listeners=null})}subscribe(t){if(this.destroyed)throw new b(953,!1);return(this.listeners??=[]).push(t),{unsubscribe:()=>{let n=this.listeners?.indexOf(t);n!==void 0&&n!==-1&&this.listeners?.splice(n,1)}}}emit(t){if(this.destroyed){console.warn(Mn(953,!1));return}if(this.listeners===null)return;let n=m(null);try{for(let r of this.listeners)try{r(t)}catch(o){this.errorHandler?.handleError(o)}}finally{m(n)}}};function bE(e,t){return hn(e,t?.equal)}function _E(e){return mc(e)}var ui=Symbol("InputSignalNode#UNSET"),Ep=q(W({},gn),{transformFn:void 0,applyValueToInputSignal(e,t){nt(e,t)}});function Dp(e,t){let n=Object.create(Ep);n.value=e,n.transformFn=t?.transform;function r(){if(Be(n),n.value===ui){let o=null;throw new b(-950,o)}return n.value}return r[V]=n,r}function BP(e){return ME(e)?e.default:e}function ME(e){return e&&typeof e=="object"&&"default"in e}function $P(e){return new sr}function mp(e,t){return Dp(e,t)}function NE(e){return Dp(ui,e)}var UP=(mp.required=NE,mp);function wp(e,t){let n=Object.create(Ep),r=new sr;n.value=e;function o(){return Be(n),yp(n.value),n.value}return o[V]=n,o.asReadonly=wo.bind(o),o.set=i=>{n.equal(n.value,i)||(nt(n,i),r.emit(i))},o.update=i=>{yp(n.value),o.set(i(n.value))},o.subscribe=r.subscribe.bind(r),o.destroyRef=r.destroyRef,o}function yp(e){if(e===ui)throw new b(952,!1)}function vp(e,t){return wp(e,t)}function SE(e){return wp(ui,e)}var WP=(vp.required=SE,vp);function Ip(e,t){return vf(t)}function xE(e,t){return If(t)}var qP=(Ip.required=xE,Ip);var AE=1e4;var GP=AE-1e3;var zP=(()=>{class e{static __NG_ELEMENT_ID__=RE}return e})();function RE(e){return kE(Y(),y(),(e&16)===16)}function kE(e,t,n){if(Fe(e)&&!n){let r=ce(e.index,t);return new Xe(r,r)}else if(e.type&175){let r=t[J];return new Xe(r,t)}return null}var OE=(()=>{class e{zone=E(G);changeDetectionScheduler=E(_e);applicationRef=E(or);applicationErrorHandler=E(Mt);_onMicrotaskEmptySubscription;initialize(){this._onMicrotaskEmptySubscription||(this._onMicrotaskEmptySubscription=this.zone.onMicrotaskEmpty.subscribe({next:()=>{this.changeDetectionScheduler.runningTick||this.zone.run(()=>{try{this.applicationRef.dirtyFlags|=1,this.applicationRef._tick()}catch(n){this.applicationErrorHandler(n)}})}}))}ngOnDestroy(){this._onMicrotaskEmptySubscription?.unsubscribe()}static \u0275fac=function(r){return new(r||e)};static \u0275prov=At({token:e,factory:e.\u0275fac})}return e})(),PE=new x("",{factory:()=>!1});function LE({ngZoneFactory:e,scheduleInRootZone:t}){return e??=()=>new G(q(W({},Tp()),{scheduleInRootZone:t})),[{provide:en,useValue:!1},{provide:G,useFactory:e},{provide:mt,multi:!0,useFactory:()=>{let n=E(OE,{optional:!0});return()=>n.initialize()}},{provide:mt,multi:!0,useFactory:()=>{let n=E(FE);return()=>{n.initialize()}}},{provide:To,useValue:t??xs}]}function QP(e){let t=e?.scheduleInRootZone,n=LE({ngZoneFactory:()=>{let r=Tp(e);return r.scheduleInRootZone=t,r.shouldCoalesceEventChangeDetection&&He("NgZone_CoalesceEvent"),new G(r)},scheduleInRootZone:t});return ns([{provide:PE,useValue:!0},n])}function Tp(e){return{enableLongStackTrace:!1,shouldCoalesceEventChangeDetection:e?.eventCoalescing??!1,shouldCoalesceRunChangeDetection:e?.runCoalescing??!1}}var FE=(()=>{class e{subscription=new H;initialized=!1;zone=E(G);pendingTasks=E(_t);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(()=>{G.assertNotInAngularZone(),queueMicrotask(()=>{n!==null&&!this.zone.hasPendingMacrotasks&&!this.zone.hasPendingMicrotasks&&(this.pendingTasks.remove(n),n=null)})}))}),this.subscription.add(this.zone.onUnstable.subscribe(()=>{G.assertInAngularZone(),n??=this.pendingTasks.add()}))}ngOnDestroy(){this.subscription.unsubscribe()}static \u0275fac=function(r){return new(r||e)};static \u0275prov=At({token:e,factory:e.\u0275fac})}return e})();var oc=new x(""),jE=new x("");function ar(e){return!e.moduleRef}function VE(e){let t=ar(e)?e.r3Injector:e.moduleRef.injector,n=t.get(G);return n.run(()=>{ar(e)?e.r3Injector.resolveInjectorInitializers():e.moduleRef.resolveInjectorInitializers();let r=t.get(Mt),o;if(n.runOutsideAngular(()=>{o=n.onError.subscribe({next:r})}),ar(e)){let i=()=>t.destroy(),s=e.platformInjector.get(oc);s.add(i),t.onDestroy(()=>{o.unsubscribe(),s.delete(i)})}else{let i=()=>e.moduleRef.destroy(),s=e.platformInjector.get(oc);s.add(i),e.moduleRef.onDestroy(()=>{Vn(e.allPlatformModules,e.moduleRef),o.unsubscribe(),s.delete(i)})}return BE(r,n,()=>{let i=t.get(_t),s=i.add(),a=t.get(Qa);return a.runInitializers(),a.donePromise.then(()=>{let c=t.get(nc,ir);if(Hf(c||ir),!t.get(jE,!0))return ar(e)?t.get(or):(e.allPlatformModules.push(e.moduleRef),e.moduleRef);if(ar(e)){let u=t.get(or);return e.rootComponent!==void 0&&u.bootstrap(e.rootComponent),u}else return HE?.(e.moduleRef,e.allPlatformModules),e.moduleRef}).finally(()=>{i.remove(s)})})})}var HE;function BE(e,t,n){try{let r=n();return za(r)?r.catch(o=>{throw t.runOutsideAngular(()=>e(o)),o}):r}catch(r){throw t.runOutsideAngular(()=>e(r)),r}}var li=null;function $E(e=[],t){return pe.create({name:t,providers:[{provide:is,useValue:"platform"},{provide:oc,useValue:new Set([()=>li=null])},...e]})}function UE(e=[]){if(li)return li;let t=$E(e);return li=t,Rf(),WE(t),t}function WE(e){let t=e.get(Xl,null);ro(e,()=>{t?.forEach(n=>n())})}function ZP(e){let{rootComponent:t,appProviders:n,platformProviders:r,platformRef:o}=e;R(M.BootstrapApplicationStart);try{let i=o?.injector??UE(r),s=[gp(),Kl,...n||[]],a=new zn({providers:s,parent:i,debugName:"",runEnvironmentInitializers:!1});return VE({r3Injector:a.injector,platformInjector:i,rootComponent:t})}catch(i){return Promise.reject(i)}finally{R(M.BootstrapApplicationEnd)}}var rc=Symbol("NOT_SET"),Cp=new Set,qE=q(W({},gn),{kind:"afterRenderEffectPhase",consumerIsAlwaysLive:!0,consumerAllowSignalWrites:!0,value:rc,cleanup:null,consumerMarkedDirty(){if(this.sequence.impl.executing){if(this.sequence.lastPhase===null||this.sequence.lastPhase<this.phase)return;this.sequence.erroredOrDestroyed=!0}this.sequence.scheduler.notify(7)},phaseFn(e){if(this.sequence.lastPhase=this.phase,!this.dirty)return this.signal;if(this.dirty=!1,this.value!==rc&&!Ot(this))return this.signal;try{for(let o of this.cleanup??Cp)o()}finally{this.cleanup?.clear()}let t=[];e!==void 0&&t.push(e),t.push(this.registerCleanupFn);let n=$e(this),r;try{r=this.userFn.apply(null,t)}finally{tt(this,n)}return(this.value===rc||!this.equal(this.value,r))&&(this.value=r,this.version++),this.signal}}),ic=class extends Bn{scheduler;lastPhase=null;nodes=[void 0,void 0,void 0,void 0];onDestroyFns=null;constructor(t,n,r,o,i,s=null){super(t,[void 0,void 0,void 0,void 0],r,!1,i.get(je),s),this.scheduler=o;for(let a of xa){let c=n[a];if(c===void 0)continue;let l=Object.create(qE);l.sequence=this,l.phase=a,l.userFn=c,l.dirty=!0,l.signal=()=>(Be(l),l.value),l.signal[V]=l,l.registerCleanupFn=u=>(l.cleanup??=new Set).add(u),this.nodes[a]=l,this.hooks[a]=u=>l.phaseFn(u)}}afterRun(){super.afterRun(),this.lastPhase=null}destroy(){if(this.onDestroyFns!==null)for(let t of this.onDestroyFns)t();super.destroy();for(let t of this.nodes)if(t)try{for(let n of t.cleanup??Cp)n()}finally{Ue(t)}}};function YP(e,t){let n=t?.injector??E(pe),r=n.get(_e),o=n.get(ti),i=n.get(Rt,null,{optional:!0});o.impl??=n.get(Aa);let s=e;typeof s=="function"&&(s={mixedReadWrite:e});let a=n.get(Xt,null,{optional:!0}),c=new ic(o.impl,[s.earlyRead,s.write,s.mixedReadWrite,s.read],a?.view,r,n,i?.snapshot(null));return o.impl.register(c),c}function KP(e,t){let n=ze(e),r=t.elementInjector||Qt();return new cn(n).create(r,t.projectableNodes,t.hostElement,t.environmentInjector,t.directives,t.bindings)}export{W as a,q as b,Ap as c,GE as d,zE as e,hi as f,H as g,Up as h,S as i,ne as j,yn as k,In as l,at as m,Ce as n,eh as o,th as p,nh as q,lt as r,rh as s,We as t,dh as u,ut as v,Hr as w,ph as x,Dn as y,hh as z,gh as A,$t as B,mh as C,Gc as D,yh as E,Qc as F,Br as G,Yc as H,Eh as I,Dh as J,wh as K,Jc as L,el as M,Th as N,tl as O,nl as P,Ch as Q,bh as R,b as S,Mn as T,he as U,cl as V,Nh as W,x as X,be as Y,E as Z,ns as _,is as $,oe as aa,ro as ba,Al as ca,Rl as da,ql as ea,Gl as fa,pe as ga,Eo as ha,je as ia,_t as ja,Re as ka,G as la,Pe as ma,Mt as na,Do as oa,Jl as pa,Xl as qa,og as ra,ig as sa,sg as ta,_e as ua,eu as va,Tg as wa,Bg as xa,At as ya,Kn as za,Zg as Aa,St as Ba,Mm as Ca,Sm as Da,$o as Ea,sn as Fa,Rt as Ga,He as Ha,Gm as Ia,my as Ja,qn as Ka,ev as La,cf as Ma,rr as Na,ov as Oa,ci as Pa,za as Qa,Ef as Ra,ln as Sa,Df as Ta,$v as Ua,wf as Va,Wv as Wa,Gv as Xa,Zv as Ya,Yv as Za,Jv as _a,Mf as $a,Sf as ab,uI as bb,Af as cb,or as db,kf as eb,hI as fb,gI as gb,mI as hb,yI as ib,vI as jb,II as kb,Of as lb,Yo as mb,Ya as nb,Pf as ob,Ka as pb,Ja as qb,Lf as rb,jf as sb,bI as tb,Vf as ub,Bf as vb,$f as wb,NI as xb,xI as yb,AI as zb,Uf as Ab,kI as Bb,OI as Cb,Qf as Db,Zf as Eb,zI as Fb,ZI as Gb,iE as Hb,ip as Ib,tc as Jb,sp as Kb,lp as Lb,aE as Mb,cE as Nb,lE as Ob,uE as Pb,hE as Qb,gE as Rb,mE as Sb,vE as Tb,EE as Ub,wE as Vb,TE as Wb,bE as Xb,_E as Yb,BP as Zb,$P as _b,UP as $b,WP as ac,qP as bc,zP as cc,QP as dc,ZP as ec,YP as fc,KP as gc};
|