@dx-do/cli 6.0.1 → 6.0.4
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 +12 -6
- package/dist-node/{03-discover-sources.nassql.data-store-by6sqk23.json5 → 03-discover-sources.nassql.data-store-d6hb6wf7.json5} +4 -3
- package/dist-node/{20-nassql-from-metadata-basic.nassql.data-store-zdf1gp1v.json5 → 20-nassql-from-metadata-basic.nassql.data-store-mq1hn0qz.json5} +4 -2
- package/dist-node/34-nassql-entity-to-metric-ids.nassql-jn6t8zxs.md +76 -0
- package/dist-node/34-nassql-entity-to-metric-ids.nassql.data-store-t8ecm336.json5 +69 -0
- package/dist-node/34-nassql-entity-to-metric-ids.nassql.data-store-tmd-9vbg6p76.json +4 -0
- package/dist-node/40-metadata-filter-by-typeenum.metadata-kmcc85ac.md +66 -0
- package/dist-node/40-metadata-filter-by-typeenum.metadata.data-store-b4erpx6h.json5 +52 -0
- package/dist-node/40-metadata-filter-by-typeenum.metadata.data-store-tmd-3zg3n0j1.json +4 -0
- package/dist-node/41-metadata-frontend-durations.metadata-n2ba62j7.md +50 -0
- package/dist-node/41-metadata-frontend-durations.metadata.data-store-kpkhaf6c.json5 +48 -0
- package/dist-node/41-metadata-frontend-durations.metadata.data-store-tmd-c685fc9v.json +4 -0
- package/dist-node/42-metadata-metric-id-to-entities.metadata-qg0p7y71.md +67 -0
- package/dist-node/42-metadata-metric-id-to-entities.metadata.data-store-tmd-zd99v6pz.json +4 -0
- package/dist-node/42-metadata-metric-id-to-entities.metadata.data-store-vwv8dq0e.json5 +52 -0
- package/dist-node/{SKILL-1xn7r9nt.md → SKILL-86r2cm61.md} +26 -2
- package/dist-node/{agentic-mcp-rycd2gh8.md → agentic-mcp-9nz7zh8d.md} +2 -1
- package/dist-node/alarms-cookbook-xrwbrdte.md +160 -0
- package/dist-node/alarms-quickstart-fhg59mr2.md +100 -0
- package/dist-node/{chunk-RNMHSXZF-pdwasrg7.js → chunk-4L5DIG2E-9p3rrkp9.js} +1 -1
- package/dist-node/{chunk-VV2FJEMA-3rvtkmga.js → chunk-4Q347M53-e6wyjnpc.js} +2 -2
- package/dist-node/{chunk-Q2JA73UH-akkb8bh3.js → chunk-6TL6OWJA-jrr526kw.js} +1 -1
- package/dist-node/chunk-7G4RSOZU-nnmp25yx.js +3753 -0
- package/dist-node/{chunk-YVD3UK5I-9pxr1jka.js → chunk-JYKZ5EMU-6jq5egbw.js} +3 -3
- package/dist-node/{chunk-5VSFINOX-ewzpx7wh.js → chunk-OV4PNSIK-pqs8y3nm.js} +3 -3
- package/dist-node/{chunk-JRM4BLOM-rg32z8w4.js → chunk-P6TRLBVU-rxz4tacs.js} +1 -1
- package/dist-node/{chunk-4I3HBO6U-2ebgf7kh.js → chunk-TFFMCZCS-rhchxvk7.js} +1 -1
- package/dist-node/{chunk-4PMCLJMS-0mqvr4m4.js → chunk-W5FHICA2-x50sz7wk.js} +1 -1
- package/dist-node/{discovery-flow-fw79kbx4.md → discovery-flow-m0zp07e3.md} +13 -0
- package/dist-node/{gotchas-8ab64kcd.md → gotchas-p696dmam.md} +131 -0
- package/dist-node/{index-104hyb1m.html → index-dfkxebky.html} +1 -1
- package/dist-node/{index-mbzg9rhc.json → index-mf7znaf7.json} +30 -0
- package/dist-node/{index-g3hh5wez.json → index-x07qhy6g.json} +53 -0
- package/dist-node/{investigator-flow-jc2s0n46.md → investigator-flow-dcyk8v51.md} +36 -2
- package/dist-node/main-4VTFKCWX-6x4n4v8m.js +13 -0
- package/dist-node/main.js +26106 -18435
- package/dist-node/{metrics-grounding-2h4kkbe3.md → metrics-grounding-8vhfqya9.md} +59 -4
- package/dist-node/{mm-cookbook-23jpw721.md → mm-cookbook-fdwbt989.md} +1 -1
- package/dist-node/{nassql-cookbook-n8kc0mff.md → nassql-cookbook-kp525xra.md} +41 -1
- package/dist-node/{nassql-quickstart-090e0yex.md → nassql-quickstart-mth22qd3.md} +3 -1
- package/package.json +1 -1
- package/dist-node/chunk-72HYG3XZ-kf7hy4vs.js +0 -3625
- package/dist-node/main-SGLYO5YX-ht69eb0y.js +0 -13
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
var Dm=Object.create;var so=Object.defineProperty,Em=Object.defineProperties,Im=Object.getOwnPropertyDescriptor,Cm=Object.getOwnPropertyDescriptors,wm=Object.getOwnPropertyNames,io=Object.getOwnPropertySymbols,bm=Object.getPrototypeOf,Ss=Object.prototype.hasOwnProperty,cl=Object.prototype.propertyIsEnumerable;var al=(e,t,n)=>t in e?so(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,j=(e,t)=>{for(var n in t||={})Ss.call(t,n)&&al(e,n,t[n]);if(io)for(var n of io(t))cl.call(t,n)&&al(e,n,t[n]);return e},$=(e,t)=>Em(e,Cm(t));var Tm=(e,t)=>{var n={};for(var r in e)Ss.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&io)for(var r of io(e))t.indexOf(r)<0&&cl.call(e,r)&&(n[r]=e[r]);return n};var Rb=(e,t)=>()=>(t||e((t={exports:{}}).exports,t),t.exports),Ob=(e,t)=>{for(var n in t)so(e,n,{get:t[n],enumerable:!0})},_m=(e,t,n,r)=>{if(t&&typeof t=="object"||typeof t=="function")for(let o of wm(t))!Ss.call(e,o)&&o!==n&&so(e,o,{get:()=>t[o],enumerable:!(r=Im(t,o))||r.enumerable});return e};var kb=(e,t,n)=>(n=e!=null?Dm(bm(e)):{},_m(t||!e||!e.__esModule?so(n,"default",{value:e,enumerable:!0}):n,e));var un=(e,t,n)=>new Promise((r,o)=>{var i=c=>{try{a(n.next(c))}catch(u){o(u)}},s=c=>{try{a(n.throw(c))}catch(u){o(u)}},a=c=>c.done?r(c.value):Promise.resolve(c.value).then(i,s);a((n=n.apply(e,t)).next())});var te=null,ao=!1,Ns=1,Mm=null,U=Symbol("SIGNAL");function y(e){let t=te;return te=e,t}function co(){return te}var ft={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 Qe(e){if(ao)throw new Error("");if(te===null)return;te.consumerOnSignalRead(e);let t=te.producersTail;if(t!==void 0&&t.producer===e)return;let n,r=te.recomputing;if(r&&(n=t!==void 0?t.nextProducer:te.producers,n!==void 0&&n.producer===e)){te.producersTail=n,n.lastReadVersion=e.version;return}let o=e.consumersTail;if(o!==void 0&&o.consumer===te&&(!r||Nm(o,te)))return;let i=fn(te),s={producer:e,consumer:te,nextProducer:n,prevConsumer:o,lastReadVersion:e.version,nextConsumer:void 0};te.producersTail=s,t!==void 0?t.nextProducer=s:te.producers=s,i&&fl(e,s)}function ul(){Ns++}function Ot(e){if(!(fn(e)&&!e.dirty)&&!(!e.dirty&&e.lastCleanEpoch===Ns)){if(!e.producerMustRecompute(e)&&!dn(e)){ln(e);return}e.producerRecomputeValue(e),ln(e)}}function As(e){if(e.consumers===void 0)return;let t=ao;ao=!0;try{for(let n=e.consumers;n!==void 0;n=n.nextConsumer){let r=n.consumer;r.dirty||Sm(r)}}finally{ao=t}}function xs(){return te?.consumerAllowSignalWrites!==!1}function Sm(e){e.dirty=!0,As(e),e.consumerMarkedDirty?.(e)}function ln(e){e.dirty=!1,e.lastCleanEpoch=Ns}function Ye(e){return e&&ll(e),y(e)}function ll(e){e.producersTail=void 0,e.recomputing=!0}function pt(e,t){y(t),e&&dl(e)}function dl(e){e.recomputing=!1;let t=e.producersTail,n=t!==void 0?t.nextProducer:e.producers;if(n!==void 0){if(fn(e))do n=Rs(n);while(n!==void 0);t!==void 0?t.nextProducer=void 0:e.producers=void 0}}function dn(e){for(let t=e.producers;t!==void 0;t=t.nextProducer){let n=t.producer,r=t.lastReadVersion;if(r!==n.version||(Ot(n),r!==n.version))return!0}return!1}function ht(e){if(fn(e)){let t=e.producers;for(;t!==void 0;)t=Rs(t)}e.producers=void 0,e.producersTail=void 0,e.consumers=void 0,e.consumersTail=void 0}function fl(e,t){let n=e.consumersTail,r=fn(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)fl(o.producer,o)}function Rs(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,!fn(t)){let i=t.producers;for(;i!==void 0;)i=Rs(i)}return n}function fn(e){return e.consumerIsAlwaysLive||e.consumers!==void 0}function er(e){Mm?.(e)}function Nm(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 tr(e,t){return Object.is(e,t)}function nr(e,t){let n=Object.create(Am);n.computation=e,t!==void 0&&(n.equal=t);let r=()=>{if(Ot(n),Qe(n),n.value===Fe)throw n.error;return n.value};return r[U]=n,er(n),r}var xt=Symbol("UNSET"),Rt=Symbol("COMPUTING"),Fe=Symbol("ERRORED"),Am=$(j({},ft),{value:xt,dirty:!0,error:null,equal:tr,kind:"computed",producerMustRecompute(e){return e.value===xt||e.value===Rt},producerRecomputeValue(e){if(e.value===Rt)throw new Error("");let t=e.value;e.value=Rt;let n=Ye(e),r,o=!1;try{r=e.computation(),y(null),o=t!==xt&&t!==Fe&&r!==Fe&&e.equal(t,r)}catch(i){r=Fe,e.error=i}finally{pt(e,n)}if(o){e.value=t;return}e.value=r,e.version++}});function xm(){throw new Error}var pl=xm;function hl(e){pl(e)}function Os(e){pl=e}var Rm=null;function ks(e,t){let n=Object.create(rr);n.value=e,t!==void 0&&(n.equal=t);let r=()=>gl(n);return r[U]=n,er(n),[r,s=>gt(n,s),s=>uo(n,s)]}function gl(e){return Qe(e),e.value}function gt(e,t){xs()||hl(e),e.equal(e.value,t)||(e.value=t,Om(e))}function uo(e,t){xs()||hl(e),gt(e,t(e.value))}var rr=$(j({},ft),{equal:tr,value:void 0,kind:"signal"});function Om(e){e.version++,ul(),As(e),Rm?.(e)}var Fs=$(j({},ft),{consumerIsAlwaysLive:!0,consumerAllowSignalWrites:!0,dirty:!0,kind:"effect"});function Ps(e){if(e.dirty=!1,e.version>0&&!dn(e))return;e.version++;let t=Ye(e);try{e.cleanup(),e.fn()}finally{pt(e,t)}}function T(e){return typeof e=="function"}function pn(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 lo=pn(e=>function(n){e(this),this.message=n?`${n.length} errors occurred during unsubscription:
|
|
2
2
|
${n.map((r,o)=>`${o+1}) ${r.toString()}`).join(`
|
|
3
|
-
`)}`:"",this.name="UnsubscriptionError",this.errors=n});function kt(e,t){if(e){let n=e.indexOf(t);0<=n&&e.splice(n,1)}}var z=class e{constructor(t){this.initialTeardown=t,this.closed=!1,this._parentage=null,this._finalizers=null}unsubscribe(){let t;if(!this.closed){this.closed=!0;let{_parentage:n}=this;if(n)if(this._parentage=null,Array.isArray(n))for(let i of n)i.remove(this);else n.remove(this);let{initialTeardown:r}=this;if(T(r))try{r()}catch(i){t=i instanceof lo?i.errors:[i]}let{_finalizers:o}=this;if(o){this._finalizers=null;for(let i of o)try{ml(i)}catch(s){t=t??[],s instanceof lo?t=[...t,...s.errors]:t.push(s)}}if(t)throw new lo(t)}}add(t){var n;if(t&&t!==this)if(this.closed)ml(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)&&kt(n,t)}remove(t){let{_finalizers:n}=this;n&&kt(n,t),t instanceof e&&t._removeParent(this)}};z.EMPTY=(()=>{let e=new z;return e.closed=!0,e})();var Ls=z.EMPTY;function fo(e){return e instanceof z||e&&"closed"in e&&T(e.remove)&&T(e.add)&&T(e.unsubscribe)}function ml(e){T(e)?e():e.unsubscribe()}var Ce={onUnhandledError:null,onStoppedNotification:null,Promise:void 0,useDeprecatedSynchronousErrorHandling:!1,useDeprecatedNextContext:!1};var hn={setTimeout(e,t,...n){let{delegate:r}=hn;return r?.setTimeout?r.setTimeout(e,t,...n):setTimeout(e,t,...n)},clearTimeout(e){let{delegate:t}=hn;return(t?.clearTimeout||clearTimeout)(e)},delegate:void 0};function po(e){hn.setTimeout(()=>{let{onUnhandledError:t}=Ce;if(t)t(e);else throw e})}function or(){}var yl=js("C",void 0,void 0);function vl(e){return js("E",void 0,e)}function Dl(e){return js("N",e,void 0)}function js(e,t,n){return{kind:e,value:t,error:n}}var Ft=null;function gn(e){if(Ce.useDeprecatedSynchronousErrorHandling){let t=!Ft;if(t&&(Ft={errorThrown:!1,error:null}),e(),t){let{errorThrown:n,error:r}=Ft;if(Ft=null,n)throw r}}else e()}function El(e){Ce.useDeprecatedSynchronousErrorHandling&&Ft&&(Ft.errorThrown=!0,Ft.error=e)}var Pt=class extends z{constructor(t){super(),this.isStopped=!1,t?(this.destination=t,fo(t)&&t.add(this)):this.destination=Pm}static create(t,n,r){return new mt(t,n,r)}next(t){this.isStopped?Vs(Dl(t),this):this._next(t)}error(t){this.isStopped?Vs(vl(t),this):(this.isStopped=!0,this._error(t))}complete(){this.isStopped?Vs(yl,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()}}},km=Function.prototype.bind;function Bs(e,t){return km.call(e,t)}var Hs=class{constructor(t){this.partialObserver=t}next(t){let{partialObserver:n}=this;if(n.next)try{n.next(t)}catch(r){ho(r)}}error(t){let{partialObserver:n}=this;if(n.error)try{n.error(t)}catch(r){ho(r)}else ho(t)}complete(){let{partialObserver:t}=this;if(t.complete)try{t.complete()}catch(n){ho(n)}}},mt=class extends Pt{constructor(t,n,r){super();let o;if(T(t)||!t)o={next:t??void 0,error:n??void 0,complete:r??void 0};else{let i;this&&Ce.useDeprecatedNextContext?(i=Object.create(t),i.unsubscribe=()=>this.unsubscribe(),o={next:t.next&&Bs(t.next,i),error:t.error&&Bs(t.error,i),complete:t.complete&&Bs(t.complete,i)}):o=t}this.destination=new Hs(o)}};function ho(e){Ce.useDeprecatedSynchronousErrorHandling?El(e):po(e)}function Fm(e){throw e}function Vs(e,t){let{onStoppedNotification:n}=Ce;n&&hn.setTimeout(()=>n(e,t))}var Pm={closed:!0,next:or,error:Fm,complete:or};var mn=typeof Symbol=="function"&&Symbol.observable||"@@observable";function we(e){return e}function Lm(...e){return $s(e)}function $s(e){return e.length===0?we: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=Bm(n)?n:new mt(n,r,o);return gn(()=>{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=Il(r),new r((o,i)=>{let s=new mt({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)}[mn](){return this}pipe(...n){return $s(n)(this)}toPromise(n){return n=Il(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 Il(e){var t;return(t=e??Ce.Promise)!==null&&t!==void 0?t:Promise}function jm(e){return e&&T(e.next)&&T(e.error)&&T(e.complete)}function Bm(e){return e&&e instanceof Pt||jm(e)&&fo(e)}function Vm(e){return T(e?.lift)}function x(e){return t=>{if(Vm(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 N(e,t,n,r,o){return new Us(e,t,n,r,o)}var Us=class extends Pt{constructor(t,n,r,o,i,s){super(t),this.onFinalize=i,this.shouldUnsubscribe=s,this._next=n?function(a){try{n(a)}catch(c){t.error(c)}}:super._next,this._error=o?function(a){try{o(a)}catch(c){t.error(c)}finally{this.unsubscribe()}}:super._error,this._complete=r?function(){try{r()}catch(a){t.error(a)}finally{this.unsubscribe()}}:super._complete}unsubscribe(){var t;if(!this.shouldUnsubscribe||this.shouldUnsubscribe()){let{closed:n}=this;super.unsubscribe(),!n&&((t=this.onFinalize)===null||t===void 0||t.call(this))}}};var yn={schedule(e){let t=requestAnimationFrame,n=cancelAnimationFrame,{delegate:r}=yn;r&&(t=r.requestAnimationFrame,n=r.cancelAnimationFrame);let o=t(i=>{n=void 0,e(i)});return new z(()=>n?.(o))},requestAnimationFrame(...e){let{delegate:t}=yn;return(t?.requestAnimationFrame||requestAnimationFrame)(...e)},cancelAnimationFrame(...e){let{delegate:t}=yn;return(t?.cancelAnimationFrame||cancelAnimationFrame)(...e)},delegate:void 0};var Cl=pn(e=>function(){e(this),this.name="ObjectUnsubscribedError",this.message="object unsubscribed"});var be=(()=>{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 go(this,this);return r.operator=n,r}_throwIfClosed(){if(this.closed)throw new Cl}next(n){gn(()=>{if(this._throwIfClosed(),!this.isStopped){this.currentObservers||(this.currentObservers=Array.from(this.observers));for(let r of this.currentObservers)r.next(n)}})}error(n){gn(()=>{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(){gn(()=>{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?Ls:(this.currentObservers=null,i.push(n),new z(()=>{this.currentObservers=null,kt(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 go(t,n),e})(),go=class extends be{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:Ls}};var ir=class extends be{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 Gs={now(){return(Gs.delegate||Date).now()},delegate:void 0};var mo=class extends z{constructor(t,n){super()}schedule(t,n=0){return this}};var sr={setInterval(e,t,...n){let{delegate:r}=sr;return r?.setInterval?r.setInterval(e,t,...n):setInterval(e,t,...n)},clearInterval(e){let{delegate:t}=sr;return(t?.clearInterval||clearInterval)(e)},delegate:void 0};var vn=class extends mo{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 sr.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&&sr.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,kt(r,this),t!=null&&(this.id=this.recycleAsyncId(n,t,null)),this.delay=null,super.unsubscribe()}}};var Dn=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)}};Dn.now=Gs.now;var En=class extends Dn{constructor(t,n=Dn.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 ar=new En(vn),wl=ar;var yo=class extends vn{constructor(t,n){super(t,n),this.scheduler=t,this.work=n}requestAsyncId(t,n,r=0){return r!==null&&r>0?super.requestAsyncId(t,n,r):(t.actions.push(this),t._scheduled||(t._scheduled=yn.requestAnimationFrame(()=>t.flush(void 0))))}recycleAsyncId(t,n,r=0){var o;if(r!=null?r>0:this.delay>0)return super.recycleAsyncId(t,n,r);let{actions:i}=t;n!=null&&n===t._scheduled&&((o=i[i.length-1])===null||o===void 0?void 0:o.id)!==n&&(yn.cancelAnimationFrame(n),t._scheduled=void 0)}};var vo=class extends En{flush(t){this._active=!0;let n;t?n=t.id:(n=this._scheduled,this._scheduled=void 0);let{actions:r}=this,o;t=t||r.shift();do if(o=t.execute(t.state,t.delay))break;while((t=r[0])&&t.id===n&&r.shift());if(this._active=!1,o){for(;(t=r[0])&&t.id===n&&r.shift();)t.unsubscribe();throw o}}};var Hm=new vo(yo);var Lt=new S(e=>e.complete());function Do(e){return e&&T(e.schedule)}function zs(e){return e[e.length-1]}function Eo(e){return T(zs(e))?e.pop():void 0}function Pe(e){return Do(zs(e))?e.pop():void 0}function bl(e,t){return typeof zs(e)=="number"?e.pop():t}function _l(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(l){try{u(r.next(l))}catch(d){s(d)}}function c(l){try{u(r.throw(l))}catch(d){s(d)}}function u(l){l.done?i(l.value):o(l.value).then(a,c)}u((r=r.apply(e,t||[])).next())})}function Tl(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 jt(e){return this instanceof jt?(this.v=e,this):new jt(e)}function Ml(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(E){return new Promise(function(v,I){i.push([f,E,v,I])>1||c(f,E)})},h&&(o[f]=h(o[f])))}function c(f,h){try{u(r[f](h))}catch(E){p(i[0][3],E)}}function u(f){f.value instanceof jt?Promise.resolve(f.value.v).then(l,d):p(i[0][2],f)}function l(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 Sl(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 Tl=="function"?Tl(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(u){i({value:u,done:a})},s)}}var Io=e=>e&&typeof e.length=="number"&&typeof e!="function";function Co(e){return T(e?.then)}function wo(e){return T(e[mn])}function bo(e){return Symbol.asyncIterator&&T(e?.[Symbol.asyncIterator])}function To(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 $m(){return typeof Symbol!="function"||!Symbol.iterator?"@@iterator":Symbol.iterator}var _o=$m();function Mo(e){return T(e?.[_o])}function So(e){return Ml(this,arguments,function*(){let n=e.getReader();try{for(;;){let{value:r,done:o}=yield jt(n.read());if(o)return yield jt(void 0);yield yield jt(r)}}finally{n.releaseLock()}})}function No(e){return T(e?.getReader)}function B(e){if(e instanceof S)return e;if(e!=null){if(wo(e))return Um(e);if(Io(e))return Gm(e);if(Co(e))return zm(e);if(bo(e))return Nl(e);if(Mo(e))return Wm(e);if(No(e))return qm(e)}throw To(e)}function Um(e){return new S(t=>{let n=e[mn]();if(T(n.subscribe))return n.subscribe(t);throw new TypeError("Provided object does not correctly implement Symbol.observable")})}function Gm(e){return new S(t=>{for(let n=0;n<e.length&&!t.closed;n++)t.next(e[n]);t.complete()})}function zm(e){return new S(t=>{e.then(n=>{t.closed||(t.next(n),t.complete())},n=>t.error(n)).then(null,po)})}function Wm(e){return new S(t=>{for(let n of e)if(t.next(n),t.closed)return;t.complete()})}function Nl(e){return new S(t=>{Zm(e,t).catch(n=>t.error(n))})}function qm(e){return Nl(So(e))}function Zm(e,t){var n,r,o,i;return _l(this,void 0,void 0,function*(){try{for(n=Sl(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 ue(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 Ao(e,t=0){return x((n,r)=>{n.subscribe(N(r,o=>ue(r,e,()=>r.next(o),t),()=>ue(r,e,()=>r.complete(),t),o=>ue(r,e,()=>r.error(o),t)))})}function xo(e,t=0){return x((n,r)=>{r.add(e.schedule(()=>n.subscribe(r),t))})}function Al(e,t){return B(e).pipe(xo(t),Ao(t))}function xl(e,t){return B(e).pipe(xo(t),Ao(t))}function Rl(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 Ol(e,t){return new S(n=>{let r;return ue(n,t,()=>{r=e[_o](),ue(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)}),()=>T(r?.return)&&r.return()})}function Ro(e,t){if(!e)throw new Error("Iterable cannot be null");return new S(n=>{ue(n,t,()=>{let r=e[Symbol.asyncIterator]();ue(n,t,()=>{r.next().then(o=>{o.done?n.complete():n.next(o.value)})},0,!0)})})}function kl(e,t){return Ro(So(e),t)}function Fl(e,t){if(e!=null){if(wo(e))return Al(e,t);if(Io(e))return Rl(e,t);if(Co(e))return xl(e,t);if(bo(e))return Ro(e,t);if(Mo(e))return Ol(e,t);if(No(e))return kl(e,t)}throw To(e)}function Le(e,t){return t?Fl(e,t):B(e)}function Oo(...e){let t=Pe(e);return Le(e,t)}function Qm(e,t){let n=T(e)?e:()=>e,r=o=>o.error(n());return new S(t?o=>t.schedule(r,0,o):r)}function Ym(e){return!!e&&(e instanceof S||T(e.lift)&&T(e.subscribe))}var Bt=pn(e=>function(){e(this),this.name="EmptyError",this.message="no elements in sequence"});function R(e,t){let n=typeof t=="object";return new Promise((r,o)=>{let i=new mt({next:s=>{r(s),i.unsubscribe()},error:o,complete:()=>{n?r(t.defaultValue):o(new Bt)}});e.subscribe(i)})}function Pl(e){return e instanceof Date&&!isNaN(e)}function he(e,t){return x((n,r)=>{let o=0;n.subscribe(N(r,i=>{r.next(e.call(t,i,o++))}))})}var{isArray:Km}=Array;function Jm(e,t){return Km(t)?e(...t):e(t)}function ko(e){return he(t=>Jm(e,t))}var{isArray:Xm}=Array,{getPrototypeOf:ey,prototype:ty,keys:ny}=Object;function Fo(e){if(e.length===1){let t=e[0];if(Xm(t))return{args:t,keys:null};if(ry(t)){let n=ny(t);return{args:n.map(r=>t[r]),keys:n}}}return{args:e,keys:null}}function ry(e){return e&&typeof e=="object"&&ey(e)===ty}function Po(e,t){return e.reduce((n,r,o)=>(n[r]=t[o],n),{})}function oy(...e){let t=Pe(e),n=Eo(e),{args:r,keys:o}=Fo(e);if(r.length===0)return Le([],t);let i=new S(iy(r,t,o?s=>Po(o,s):we));return n?i.pipe(ko(n)):i}function iy(e,t,n=we){return r=>{Ll(t,()=>{let{length:o}=e,i=new Array(o),s=o,a=o;for(let c=0;c<o;c++)Ll(t,()=>{let u=Le(e[c],t),l=!1;u.subscribe(N(r,d=>{i[c]=d,l||(l=!0,a--),a||r.next(n(i.slice()))},()=>{--s||r.complete()}))},r)},r)}}function Ll(e,t,n){e?ue(n,e,t):t()}function jl(e,t,n,r,o,i,s,a){let c=[],u=0,l=0,d=!1,p=()=>{d&&!c.length&&!u&&t.complete()},f=E=>u<r?h(E):c.push(E),h=E=>{i&&t.next(E),u++;let v=!1;B(n(E,l++)).subscribe(N(t,I=>{o?.(I),i?f(I):t.next(I)},()=>{v=!0},void 0,()=>{if(v)try{for(u--;c.length&&u<r;){let I=c.shift();s?ue(t,s,()=>h(I)):h(I)}p()}catch(I){t.error(I)}}))};return e.subscribe(N(t,f,()=>{d=!0,p()})),()=>{a?.()}}function Vt(e,t,n=1/0){return T(t)?Vt((r,o)=>he((i,s)=>t(r,i,o,s))(B(e(r,o))),n):(typeof t=="number"&&(n=t),x((r,o)=>jl(r,o,e,n)))}function cr(e=1/0){return Vt(we,e)}function Bl(){return cr(1)}function Lo(...e){return Bl()(Le(e,Pe(e)))}function sy(e){return new S(t=>{B(e()).subscribe(t)})}function ay(...e){let t=Eo(e),{args:n,keys:r}=Fo(e),o=new S(i=>{let{length:s}=n;if(!s){i.complete();return}let a=new Array(s),c=s,u=s;for(let l=0;l<s;l++){let d=!1;B(n[l]).subscribe(N(i,p=>{d||(d=!0,u--),a[l]=p},()=>c--,void 0,()=>{(!c||!d)&&(u||i.next(r?Po(r,a):a),i.complete())}))}});return t?o.pipe(ko(t)):o}function jo(e=0,t,n=wl){let r=-1;return t!=null&&(Do(t)?n=t:r=t),new S(o=>{let i=Pl(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 cy(e=0,t=ar){return e<0&&(e=0),jo(e,e,t)}function uy(...e){let t=Pe(e),n=bl(e,1/0),r=e;return r.length?r.length===1?B(r[0]):cr(n)(Le(r,t)):Lt}function ur(e,t){return x((n,r)=>{let o=0;n.subscribe(N(r,i=>e.call(t,i,o++)&&r.next(i)))})}function Vl(e){return x((t,n)=>{let r=!1,o=null,i=null,s=!1,a=()=>{if(i?.unsubscribe(),i=null,r){r=!1;let u=o;o=null,n.next(u)}s&&n.complete()},c=()=>{i=null,s&&n.complete()};t.subscribe(N(n,u=>{r=!0,o=u,i||B(e(u)).subscribe(i=N(n,a,c))},()=>{s=!0,(!r||!i||i.closed)&&n.complete()}))})}function ly(e,t=ar){return Vl(()=>jo(e,t))}function Hl(e){return x((t,n)=>{let r=null,o=!1,i;r=t.subscribe(N(n,void 0,void 0,s=>{i=B(e(s,Hl(e)(t))),r?(r.unsubscribe(),r=null,i.subscribe(n)):o=!0})),o&&(r.unsubscribe(),r=null,i.subscribe(n))})}function Ws(e,t){return T(t)?Vt(e,t,1):Vt(e,1)}function $l(e){return x((t,n)=>{let r=!1;t.subscribe(N(n,o=>{r=!0,n.next(o)},()=>{r||n.next(e),n.complete()}))})}function qs(e){return e<=0?()=>Lt:x((t,n)=>{let r=0;t.subscribe(N(n,o=>{++r<=e&&(n.next(o),e<=r&&n.complete())}))})}function Ul(e=dy){return x((t,n)=>{let r=!1;t.subscribe(N(n,o=>{r=!0,n.next(o)},()=>r?n.complete():n.error(e())))})}function dy(){return new Bt}function Zs(e){return x((t,n)=>{try{t.subscribe(n)}finally{n.add(e)}})}function fy(e,t){let n=arguments.length>=2;return r=>r.pipe(e?ur((o,i)=>e(o,i,r)):we,qs(1),n?$l(t):Ul(()=>new Bt))}function py(e){return e<=0?()=>Lt:x((t,n)=>{let r=[];t.subscribe(N(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 hy(...e){let t=Pe(e);return x((n,r)=>{(t?Lo(e,n,t):Lo(e,n)).subscribe(r)})}function Qs(e,t){return x((n,r)=>{let o=null,i=0,s=!1,a=()=>s&&!o&&r.complete();n.subscribe(N(r,c=>{o?.unsubscribe();let u=0,l=i++;B(e(c,l)).subscribe(o=N(r,d=>r.next(t?t(c,d,l,u++):d),()=>{o=null,a()}))},()=>{s=!0,a()}))})}function gy(e){return x((t,n)=>{B(e).subscribe(N(n,()=>n.complete(),or)),!n.closed&&t.subscribe(n)})}function my(e,t,n){let r=T(e)||t||n?{next:e,error:t,complete:n}:e;return r?x((o,i)=>{var s;(s=r.subscribe)===null||s===void 0||s.call(r);let a=!0;o.subscribe(N(i,c=>{var u;(u=r.next)===null||u===void 0||u.call(r,c),i.next(c)},()=>{var c;a=!1,(c=r.complete)===null||c===void 0||c.call(r),i.complete()},c=>{var u;a=!1,(u=r.error)===null||u===void 0||u.call(r,c),i.error(c)},()=>{var c,u;a&&((c=r.unsubscribe)===null||c===void 0||c.call(r)),(u=r.finalize)===null||u===void 0||u.call(r)}))}):we}var Ys;function Bo(){return Ys}function je(e){let t=Ys;return Ys=e,t}var Gl=Symbol("NotFound");function In(e){return e===Gl||e?.name==="\u0275NotFound"}function Ks(e,t,n){let r=Object.create(yy);r.source=e,r.computation=t,n!=null&&(r.equal=n);let i=()=>{if(Ot(r),Qe(r),r.value===Fe)throw r.error;return r.value};return i[U]=r,er(r),i}function zl(e,t){Ot(e),gt(e,t),ln(e)}function Wl(e,t){if(Ot(e),e.value===Fe)throw e.error;uo(e,t),ln(e)}var yy=$(j({},ft),{value:xt,dirty:!0,error:null,equal:tr,kind:"linkedSignal",producerMustRecompute(e){return e.value===xt||e.value===Rt},producerRecomputeValue(e){if(e.value===Rt)throw new Error("");let t=e.value;e.value=Rt;let n=Ye(e),r,o=!1;try{let i=e.source(),s=t!==xt&&t!==Fe,a=s?{source:e.sourceValue,value:t}:void 0;r=e.computation(i,a),e.sourceValue=i,y(null),o=s&&r!==Fe&&e.equal(t,r)}catch(i){r=Fe,e.error=i}finally{pt(e,n)}if(o){e.value=t;return}e.value=r,e.version++}});function ql(e){let t=y(null);try{return e()}finally{y(t)}}var Wo="https://angular.dev/best-practices/security#preventing-cross-site-scripting-xss",C=class extends Error{code;constructor(t,n){super(et(t,n)),this.code=t}};function vy(e){return`NG0${Math.abs(e)}`}function et(e,t){return`${vy(e)}${t?": "+t:""}`}var wn=globalThis;function k(e){for(let t in e)if(e[t]===k)return t;throw Error("")}function Jl(e,t){for(let n in t)t.hasOwnProperty(n)&&!e.hasOwnProperty(n)&&(e[n]=t[n])}function mr(e){if(typeof e=="string")return e;if(Array.isArray(e))return`[${e.map(mr).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 qo(e,t){return e?t?`${e} ${t}`:e:t||""}var Dy=k({__forward_ref__:k});function Zo(e){return e.__forward_ref__=Zo,e}function Y(e){return la(e)?e():e}function la(e){return typeof e=="function"&&e.hasOwnProperty(Dy)&&e.__forward_ref__===Zo}function _(e){return{token:e.token,providedIn:e.providedIn||null,factory:e.factory,value:void 0}}function yr(e){return{providers:e.providers||[],imports:e.imports||[]}}function vr(e){return Iy(e,Qo)}function Ey(e){return vr(e)!==null}function Iy(e,t){return e.hasOwnProperty(t)&&e[t]||null}function Cy(e){let t=e?.[Qo]??null;return t||null}function Xs(e){return e&&e.hasOwnProperty(Ho)?e[Ho]:null}var Qo=k({\u0275prov:k}),Ho=k({\u0275inj:k}),b=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=_({token:this,providedIn:n.providedIn||"root",factory:n.factory}))}get multi(){return this}toString(){return`InjectionToken ${this._desc}`}};function da(e){return e&&!!e.\u0275providers}var fa=k({\u0275cmp:k}),pa=k({\u0275dir:k}),ha=k({\u0275pipe:k}),ga=k({\u0275mod:k}),dr=k({\u0275fac:k}),zt=k({__NG_ELEMENT_ID__:k}),Zl=k({__NG_ENV_ID__:k});function ma(e){return Ko(e,"@NgModule"),e[ga]||null}function Be(e){return Ko(e,"@Component"),e[fa]||null}function Yo(e){return Ko(e,"@Directive"),e[pa]||null}function Xl(e){return Ko(e,"@Pipe"),e[ha]||null}function Ko(e,t){if(e==null)throw new C(-919,!1)}function ge(e){return typeof e=="string"?e:e==null?"":String(e)}var ed=k({ngErrorCode:k}),wy=k({ngErrorMessage:k}),by=k({ngTokenPath:k});function ya(e,t){return td("",-200,t)}function Jo(e,t){throw new C(-201,!1)}function td(e,t,n){let r=new C(t,e);return r[ed]=t,r[wy]=e,n&&(r[by]=n),r}function Ty(e){return e[ed]}var ea;function nd(){return ea}function oe(e){let t=ea;return ea=e,t}function va(e,t,n){let r=vr(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;Jo(e,"")}var _y={},Ht=_y,My="__NG_DI_FLAG__",ta=class{injector;constructor(t){this.injector=t}retrieve(t,n){let r=$t(n)||0;try{return this.injector.get(t,r&8?null:Ht,r)}catch(o){if(In(o))return o;throw o}}};function Sy(e,t=0){let n=Bo();if(n===void 0)throw new C(-203,!1);if(n===null)return va(e,void 0,t);{let r=Ny(t),o=n.retrieve(e,r);if(In(o)){if(r.optional)return null;throw o}return o}}function P(e,t=0){return(nd()||Sy)(Y(e),t)}function g(e,t){return P(e,$t(t))}function $t(e){return typeof e>"u"||typeof e=="number"?e:0|(e.optional&&8)|(e.host&&1)|(e.self&&2)|(e.skipSelf&&4)}function Ny(e){return{optional:!!(e&8),host:!!(e&1),self:!!(e&2),skipSelf:!!(e&4)}}function na(e){let t=[];for(let n=0;n<e.length;n++){let r=Y(e[n]);if(Array.isArray(r)){if(r.length===0)throw new C(900,!1);let o,i=0;for(let s=0;s<r.length;s++){let a=r[s],c=Ay(a);typeof c=="number"?c===-1?o=a.token:i|=c:o=a}t.push(P(o,i))}else t.push(P(r))}return t}function Ay(e){return e[My]}function yt(e,t){let n=e.hasOwnProperty(dr);return n?e[dr]:null}function rd(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 od(e){return e.flat(Number.POSITIVE_INFINITY)}function Xo(e,t){e.forEach(n=>Array.isArray(n)?Xo(n,t):t(n))}function Da(e,t,n){t>=e.length?e.push(n):e.splice(t,0,n)}function Dr(e,t){return t>=e.length-1?e.pop():e.splice(t,1)[0]}function id(e,t){let n=[];for(let r=0;r<e;r++)n.push(t);return n}function sd(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 Er(e,t,n){let r=bn(e,t);return r>=0?e[r|1]=n:(r=~r,sd(e,r,t,n)),r}function ei(e,t){let n=bn(e,t);if(n>=0)return e[n|1]}function bn(e,t){return xy(e,t,1)}function xy(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 _e={},ne=[],Wt=new b(""),Ea=new b("",-1),Ia=new b(""),fr=class{get(t,n=Ht){if(n===Ht){let o=td("",-201);throw o.name="\u0275NotFound",o}return n}};function Tn(e){return{\u0275providers:e}}function ad(...e){return{\u0275providers:Ca(!0,e),\u0275fromNgModule:!0}}function Ca(e,...t){let n=[],r=new Set,o,i=s=>{n.push(s)};return Xo(t,s=>{let a=s;$o(a,i,[],r)&&(o||=[],o.push(a))}),o!==void 0&&cd(o,i),n}function cd(e,t){for(let n=0;n<e.length;n++){let{ngModule:r,providers:o}=e[n];wa(o,i=>{t(i,r)})}}function $o(e,t,n,r){if(e=Y(e),!e)return!1;let o=null,i=Xs(e),s=!i&&Be(e);if(!i&&!s){let c=e.ngModule;if(i=Xs(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 u of c)$o(u,t,n,r)}}else if(i){if(i.imports!=null&&!a){r.add(o);let u;Xo(i.imports,l=>{$o(l,t,n,r)&&(u||=[],u.push(l))}),u!==void 0&&cd(u,t)}if(!a){let u=yt(o)||(()=>new o);t({provide:o,useFactory:u,deps:ne},o),t({provide:Ia,useValue:o,multi:!0},o),t({provide:Wt,useValue:()=>P(o),multi:!0},o)}let c=i.providers;if(c!=null&&!a){let u=e;wa(c,l=>{t(l,u)})}}else return!1;return o!==e&&e.providers!==void 0}function wa(e,t){for(let n of e)da(n)&&(n=n.\u0275providers),Array.isArray(n)?wa(n,t):t(n)}var Ry=k({provide:String,useValue:k});function ud(e){return e!==null&&typeof e=="object"&&Ry in e}function Oy(e){return!!(e&&e.useExisting)}function ky(e){return!!(e&&e.useFactory)}function Ut(e){return typeof e=="function"}function ld(e){return!!e.useClass}var ba=new b(""),Vo={},Ql={},Js;function _n(){return Js===void 0&&(Js=new fr),Js}var ie=class{},Gt=class extends ie{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,oa(t,s=>this.processProvider(s)),this.records.set(Ea,Cn(void 0,this)),o.has("environment")&&this.records.set(ie,Cn(void 0,this));let i=this.records.get(ba);i!=null&&typeof i.value=="string"&&this.scopes.add(i.value),this.injectorDefTypes=new Set(this.get(Ia,ne,{self:!0}))}retrieve(t,n){let r=$t(n)||0;try{return this.get(t,Ht,r)}catch(o){if(In(o))return o;throw o}}destroy(){lr(this),this._destroyed=!0;let t=y(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(),y(t)}}onDestroy(t){return lr(this),this._onDestroyHooks.push(t),()=>this.removeOnDestroy(t)}runInContext(t){lr(this);let n=je(this),r=oe(void 0),o;try{return t()}finally{je(n),oe(r)}}get(t,n=Ht,r){if(lr(this),t.hasOwnProperty(Zl))return t[Zl](this);let o=$t(r),i,s=je(this),a=oe(void 0);try{if(!(o&4)){let u=this.records.get(t);if(u===void 0){let l=By(t)&&vr(t);l&&this.injectableDefInScope(l)?u=Cn(ra(t),Vo):u=null,this.records.set(t,u)}if(u!=null)return this.hydrate(t,u,o)}let c=o&2?_n():this.parent;return n=o&8&&n===Ht?null:n,c.get(t,n)}catch(c){let u=Ty(c);throw u===-200||u===-201?new C(u,null):c}finally{oe(a),je(s)}}resolveInjectorInitializers(){let t=y(null),n=je(this),r=oe(void 0),o;try{let i=this.get(Wt,ne,{self:!0});for(let s of i)s()}finally{je(n),oe(r),y(t)}}toString(){return"R3Injector[...]"}processProvider(t){t=Y(t);let n=Ut(t)?t:Y(t&&t.provide),r=Py(t);if(!Ut(t)&&t.multi===!0){let o=this.records.get(n);o||(o=Cn(void 0,Vo,!0),o.factory=()=>na(o.multi),this.records.set(n,o)),n=t,o.multi.push(t)}this.records.set(n,r)}hydrate(t,n,r){let o=y(null);try{if(n.value===Ql)throw ya("");return n.value===Vo&&(n.value=Ql,n.value=n.factory(void 0,r)),typeof n.value=="object"&&n.value&&jy(n.value)&&this._ngOnDestroyHooks.add(n.value),n.value}finally{y(o)}}injectableDefInScope(t){if(!t.providedIn)return!1;let n=Y(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 ra(e){let t=vr(e),n=t!==null?t.factory:yt(e);if(n!==null)return n;if(e instanceof b)throw new C(-204,!1);if(e instanceof Function)return Fy(e);throw new C(-204,!1)}function Fy(e){if(e.length>0)throw new C(-204,!1);let n=Cy(e);return n!==null?()=>n.factory(e):()=>new e}function Py(e){if(ud(e))return Cn(void 0,e.useValue);{let t=Ta(e);return Cn(t,Vo)}}function Ta(e,t,n){let r;if(Ut(e)){let o=Y(e);return yt(o)||ra(o)}else if(ud(e))r=()=>Y(e.useValue);else if(ky(e))r=()=>e.useFactory(...na(e.deps||[]));else if(Oy(e))r=(o,i)=>P(Y(e.useExisting),i!==void 0&&i&8?8:void 0);else{let o=Y(e&&(e.useClass||e.provide));if(Ly(e))r=()=>new o(...na(e.deps));else return yt(o)||ra(o)}return r}function lr(e){if(e.destroyed)throw new C(-205,!1)}function Cn(e,t,n=!1){return{factory:e,value:t,multi:n?[]:void 0}}function Ly(e){return!!e.deps}function jy(e){return e!==null&&typeof e=="object"&&typeof e.ngOnDestroy=="function"}function By(e){return typeof e=="function"||typeof e=="object"&&e.ngMetadataName==="InjectionToken"}function oa(e,t){for(let n of e)Array.isArray(n)?oa(n,t):n&&da(n)?oa(n.\u0275providers,t):t(n)}function Mn(e,t){let n;e instanceof Gt?(lr(e),n=e):n=new ta(e);let r,o=je(n),i=oe(void 0);try{return t()}finally{je(o),oe(i)}}function dd(){return nd()!==void 0||Bo()!=null}var Me=0,D=1,w=2,K=3,me=4,se=5,qt=6,Sn=7,q=8,ae=9,Se=10,O=11,Nn=12,_a=13,Zt=14,ce=15,Et=16,Qt=17,Ve=18,He=19,Ma=20,Je=21,ti=22,vt=23,fe=24,Yt=25,$e=26,V=27,fd=1,Sa=6,It=7,Ir=8,Kt=9,G=10;function tt(e){return Array.isArray(e)&&typeof e[fd]=="object"}function Ne(e){return Array.isArray(e)&&e[fd]===!0}function Na(e){return(e.flags&4)!==0}function Ue(e){return e.componentOffset>-1}function An(e){return(e.flags&1)===1}function Ae(e){return!!e.template}function xn(e){return(e[w]&512)!==0}function Jt(e){return(e[w]&256)===256}var Aa="svg",pd="math";function ye(e){for(;Array.isArray(e);)e=e[Me];return e}function xa(e,t){return ye(t[e])}function de(e,t){return ye(t[e.index])}function ni(e,t){return e.data[t]}function Ra(e,t){return e[t]}function Oa(e,t,n,r){n>=e.data.length&&(e.data[n]=null,e.blueprint[n]=null),t[n]=r}function ve(e,t){let n=t[e];return tt(n)?n:n[Me]}function hd(e){return(e[w]&4)===4}function ri(e){return(e[w]&128)===128}function gd(e){return Ne(e[K])}function De(e,t){return t==null?null:e[t]}function ka(e){e[Qt]=0}function Fa(e){e[w]&1024||(e[w]|=1024,ri(e)&&Xt(e))}function md(e,t){for(;e>0;)t=t[Zt],e--;return t}function Cr(e){return!!(e[w]&9216||e[fe]?.dirty)}function oi(e){e[Se].changeDetectionScheduler?.notify(8),e[w]&64&&(e[w]|=1024),Cr(e)&&Xt(e)}function Xt(e){e[Se].changeDetectionScheduler?.notify(0);let t=Dt(e);for(;t!==null&&!(t[w]&8192||(t[w]|=8192,!ri(t)));)t=Dt(t)}function Pa(e,t){if(Jt(e))throw new C(911,!1);e[Je]===null&&(e[Je]=[]),e[Je].push(t)}function yd(e,t){if(e[Je]===null)return;let n=e[Je].indexOf(t);n!==-1&&e[Je].splice(n,1)}function Dt(e){let t=e[K];return Ne(t)?t[K]:t}function La(e){return e[Sn]??=[]}function ja(e){return e.cleanup??=[]}function vd(e,t,n,r){let o=La(t);o.push(n),e.firstCreatePass&&ja(e).push(r,o.length-1)}var M={lFrame:xd(null),bindingsEnabled:!0,skipHydrationRootTNode:null};var ia=!1;function Dd(){return M.lFrame.elementDepthCount}function Ed(){M.lFrame.elementDepthCount++}function Ba(){M.lFrame.elementDepthCount--}function ii(){return M.bindingsEnabled}function Va(){return M.skipHydrationRootTNode!==null}function Ha(e){return M.skipHydrationRootTNode===e}function $a(){M.skipHydrationRootTNode=null}function m(){return M.lFrame.lView}function L(){return M.lFrame.tView}function Id(e){return M.lFrame.contextLView=e,e[q]}function Cd(e){return M.lFrame.contextLView=null,e}function Z(){let e=Ua();for(;e!==null&&e.type===64;)e=e.parent;return e}function Ua(){return M.lFrame.currentTNode}function wd(){let e=M.lFrame,t=e.currentTNode;return e.isParent?t:t.parent}function Rn(e,t){let n=M.lFrame;n.currentTNode=e,n.isParent=t}function Ga(){return M.lFrame.isParent}function za(){M.lFrame.isParent=!1}function bd(){return M.lFrame.contextLView}function Wa(){return ia}function pr(e){let t=ia;return ia=e,t}function Ge(){let e=M.lFrame,t=e.bindingRootIndex;return t===-1&&(t=e.bindingRootIndex=e.tView.bindingStartIndex),t}function qa(){return M.lFrame.bindingIndex}function Td(e){return M.lFrame.bindingIndex=e}function nt(){return M.lFrame.bindingIndex++}function wr(e){let t=M.lFrame,n=t.bindingIndex;return t.bindingIndex=t.bindingIndex+e,n}function _d(){return M.lFrame.inI18n}function Md(e,t){let n=M.lFrame;n.bindingIndex=n.bindingRootIndex=e,si(t)}function Sd(){return M.lFrame.currentDirectiveIndex}function si(e){M.lFrame.currentDirectiveIndex=e}function Nd(e){let t=M.lFrame.currentDirectiveIndex;return t===-1?null:e[t]}function ai(){return M.lFrame.currentQueryIndex}function br(e){M.lFrame.currentQueryIndex=e}function Vy(e){let t=e[D];return t.type===2?t.declTNode:t.type===1?e[se]:null}function Za(e,t,n){if(n&4){let o=t,i=e;for(;o=o.parent,o===null&&!(n&1);)if(o=Vy(i),o===null||(i=i[Zt],o.type&10))break;if(o===null)return!1;t=o,e=i}let r=M.lFrame=Ad();return r.currentTNode=t,r.lView=e,!0}function ci(e){let t=Ad(),n=e[D];M.lFrame=t,t.currentTNode=n.firstChild,t.lView=e,t.tView=n,t.contextLView=e,t.bindingIndex=n.bindingStartIndex,t.inI18n=!1}function Ad(){let e=M.lFrame,t=e===null?null:e.child;return t===null?xd(e):t}function xd(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 Rd(){let e=M.lFrame;return M.lFrame=e.parent,e.currentTNode=null,e.lView=null,e}var Qa=Rd;function ui(){let e=Rd();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 Od(e){return(M.lFrame.contextLView=md(e,M.lFrame.contextLView))[q]}function xe(){return M.lFrame.selectedIndex}function Ct(e){M.lFrame.selectedIndex=e}function On(){let e=M.lFrame;return ni(e.tView,e.selectedIndex)}function kd(){M.lFrame.currentNamespace=Aa}function Fd(){return M.lFrame.currentNamespace}var Pd=!0;function li(){return Pd}function Tr(e){Pd=e}function sa(e,t=null,n=null,r){let o=Ya(e,t,n,r);return o.resolveInjectorInitializers(),o}function Ya(e,t=null,n=null,r,o=new Set){let i=[n||ne,ad(e)],s;return new Gt(i,t||_n(),s||null,o)}var le=class e{static THROW_IF_NOT_FOUND=Ht;static NULL=new fr;static create(t,n){if(Array.isArray(t))return sa({name:""},n,t,"");{let r=t.name??"";return sa({name:r},t.parent,t.providers,r)}}static \u0275prov=_({token:e,providedIn:"any",factory:()=>P(Ea)});static __NG_ELEMENT_ID__=-1},Ee=new b(""),Ie=(()=>{class e{static __NG_ELEMENT_ID__=Hy;static __NG_ENV_ID__=n=>n}return e})(),Uo=class extends Ie{_lView;constructor(t){super(),this._lView=t}get destroyed(){return Jt(this._lView)}onDestroy(t){let n=this._lView;return Pa(n,t),()=>yd(n,t)}};function Hy(){return new Uo(m())}var Ka=!1,Ld=new b(""),wt=(()=>{class e{taskId=0;pendingTasks=new Set;destroyed=!1;pendingTask=new ir(!1);debugTaskTracker=g(Ld,{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=_({token:e,providedIn:"root",factory:()=>new e})}return e})(),aa=class extends be{__isAsync;destroyRef=void 0;pendingTasks=void 0;constructor(t=!1){super(),this.__isAsync=t,dd()&&(this.destroyRef=g(Ie,{optional:!0})??void 0,this.pendingTasks=g(wt,{optional:!0})??void 0)}emit(t){let n=y(null);try{super.next(t)}finally{y(n)}}subscribe(t,n,r){let o=t,i=n||(()=>null),s=r;if(t&&typeof t=="object"){let c=t;o=c.next?.bind(c),i=c.error?.bind(c),s=c.complete?.bind(c)}this.__isAsync&&(i=this.wrapInTimeout(i),o&&(o=this.wrapInTimeout(o)),s&&(s=this.wrapInTimeout(s)));let a=super.subscribe({next:o,error:i,complete:s});return t instanceof z&&t.add(a),a}wrapInTimeout(t){return n=>{let r=this.pendingTasks?.add();setTimeout(()=>{try{t(n)}finally{r!==void 0&&this.pendingTasks?.remove(r)}})}}},Ke=aa;function Go(...e){}function Ja(e){let t,n;function r(){e=Go;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 jd(e){return queueMicrotask(()=>e()),()=>{e=Go}}var Xa="isAngularZone",hr=Xa+"_ID",$y=0,W=class e{hasPendingMacrotasks=!1;hasPendingMicrotasks=!1;isStable=!0;onUnstable=new Ke(!1);onMicrotaskEmpty=new Ke(!1);onStable=new Ke(!1);onError=new Ke(!1);constructor(t){let{enableLongStackTrace:n=!1,shouldCoalesceEventChangeDetection:r=!1,shouldCoalesceRunChangeDetection:o=!1,scheduleInRootZone:i=Ka}=t;if(typeof Zone>"u")throw new C(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,zy(s)}static isInAngularZone(){return typeof Zone<"u"&&Zone.current.get(Xa)===!0}static assertInAngularZone(){if(!e.isInAngularZone())throw new C(909,!1)}static assertNotInAngularZone(){if(e.isInAngularZone())throw new C(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,Uy,Go,Go);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)}},Uy={};function ec(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 Gy(e){if(e.isCheckStableRunning||e.callbackScheduled)return;e.callbackScheduled=!0;function t(){Ja(()=>{e.callbackScheduled=!1,ca(e),e.isCheckStableRunning=!0,ec(e),e.isCheckStableRunning=!1})}e.scheduleInRootZone?Zone.root.run(()=>{t()}):e._outer.run(()=>{t()}),ca(e)}function zy(e){let t=()=>{Gy(e)},n=$y++;e._inner=e._inner.fork({name:"angular",properties:{[Xa]:!0,[hr]:n,[hr+n]:!0},onInvokeTask:(r,o,i,s,a,c)=>{if(Wy(c))return r.invokeTask(i,s,a,c);try{return Yl(e),r.invokeTask(i,s,a,c)}finally{(e.shouldCoalesceEventChangeDetection&&s.type==="eventTask"||e.shouldCoalesceRunChangeDetection)&&t(),Kl(e)}},onInvoke:(r,o,i,s,a,c,u)=>{try{return Yl(e),r.invoke(i,s,a,c,u)}finally{e.shouldCoalesceRunChangeDetection&&!e.callbackScheduled&&!qy(c)&&t(),Kl(e)}},onHasTask:(r,o,i,s)=>{r.hasTask(i,s),o===i&&(s.change=="microTask"?(e._hasPendingMicrotasks=s.microTask,ca(e),ec(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 ca(e){e._hasPendingMicrotasks||(e.shouldCoalesceEventChangeDetection||e.shouldCoalesceRunChangeDetection)&&e.callbackScheduled===!0?e.hasPendingMicrotasks=!0:e.hasPendingMicrotasks=!1}function Yl(e){e._nesting++,e.isStable&&(e.isStable=!1,e.onUnstable.emit(null))}function Kl(e){e._nesting--,ec(e)}var gr=class{hasPendingMicrotasks=!1;hasPendingMacrotasks=!1;isStable=!0;onUnstable=new Ke;onMicrotaskEmpty=new Ke;onStable=new Ke;onError=new Ke;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 Wy(e){return Bd(e,"__ignore_ng_zone__")}function qy(e){return Bd(e,"__scheduler_tick__")}function Bd(e,t){return!Array.isArray(e)||e.length!==1?!1:e[0]?.data?.[t]===!0}var Xe=class{_console=console;handleError(t){this._console.error("ERROR",t)}},rt=new b("",{factory:()=>{let e=g(W),t=g(ie),n;return r=>{e.runOutsideAngular(()=>{t.destroyed&&!n?setTimeout(()=>{throw r}):(n??=t.get(Xe),n.handleError(r))})}}}),Vd={provide:Wt,useValue:()=>{let e=g(Xe,{optional:!0})},multi:!0};function di(e,t){let[n,r,o]=ks(e,t?.equal),i=n,s=i[U];return i.set=r,i.update=o,i.asReadonly=_r.bind(i),i}function _r(){let e=this[U];if(e.readonlyFn===void 0){let t=()=>this();t[U]=e,e.readonlyFn=t}return e.readonlyFn}var kn=(()=>{class e{view;node;constructor(n,r){this.view=n,this.node=r}static __NG_ELEMENT_ID__=Zy}return e})();function Zy(){return new kn(m(),Z())}var Te=class{},Fn=new b("",{factory:()=>!0});var fi=new b(""),Mr=(()=>{class e{internalPendingTasks=g(wt);scheduler=g(Te);errorHandler=g(rt);add(){let n=this.internalPendingTasks.add();return()=>{this.internalPendingTasks.has(n)&&(this.scheduler.notify(11),this.internalPendingTasks.remove(n))}}run(n){let r=this.add();n().catch(this.errorHandler).finally(r)}static \u0275prov=_({token:e,providedIn:"root",factory:()=>new e})}return e})(),pi=(()=>{class e{static \u0275prov=_({token:e,providedIn:"root",factory:()=>new ua})}return e})(),ua=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}},zo=class{[U];constructor(t){this[U]=t}destroy(){this[U].destroy()}};function Hd(e,t){let n=t?.injector??g(le),r=t?.manualCleanup!==!0?n.get(Ie):null,o,i=n.get(kn,null,{optional:!0}),s=n.get(Te);return i!==null?(o=Ky(i.view,s,e),r instanceof Uo&&r._lView===i.view&&(r=null)):o=Jy(e,n.get(pi),s),o.injector=n,r!==null&&(o.onDestroyFns=[r.onDestroy(()=>o.destroy())]),new zo(o)}var $d=$(j({},Fs),{cleanupFns:void 0,zone:null,onDestroyFns:null,run(){let e=pr(!1);try{Ps(this)}finally{pr(e)}},cleanup(){if(!this.cleanupFns?.length)return;let e=y(null);try{for(;this.cleanupFns.length;)this.cleanupFns.pop()()}finally{this.cleanupFns=[],y(e)}}}),Qy=$(j({},$d),{consumerMarkedDirty(){this.scheduler.schedule(this),this.notifier.notify(12)},destroy(){if(ht(this),this.onDestroyFns!==null)for(let e of this.onDestroyFns)e();this.cleanup(),this.scheduler.remove(this)}}),Yy=$(j({},$d),{consumerMarkedDirty(){this.view[w]|=8192,Xt(this.view),this.notifier.notify(13)},destroy(){if(ht(this),this.onDestroyFns!==null)for(let e of this.onDestroyFns)e();this.cleanup(),this.view[vt]?.delete(this)}});function Ky(e,t,n){let r=Object.create(Yy);return r.view=e,r.zone=typeof Zone<"u"?Zone.current:null,r.notifier=t,r.fn=Ud(r,n),e[vt]??=new Set,e[vt].add(r),r.consumerMarkedDirty(r),r}function Jy(e,t,n){let r=Object.create(Qy);return r.fn=Ud(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 Ud(e,t){return()=>{t(n=>(e.cleanupFns??=[]).push(n))}}function Hr(e){return{toString:e}.toString()}function av(e){return typeof e=="function"}function Rf(e,t,n,r){t!==null?t.applyValueToInputSignal(t,r):e[n]=r}var Ti=class{previousValue;currentValue;firstChange;constructor(t,n,r){this.previousValue=t,this.currentValue=n,this.firstChange=r}isFirstChange(){return this.firstChange}},Zc=(()=>{let e=()=>Of;return e.ngInherit=!0,e})();function Of(e){return e.type.prototype.ngOnChanges&&(e.setInput=uv),cv}function cv(){let e=Ff(this),t=e?.current;if(t){let n=e.previous;if(n===_e)e.previous=t;else for(let r in t)n[r]=t[r];e.current=null,this.ngOnChanges(t)}}function uv(e,t,n,r,o){let i=this.declaredInputs[r],s=Ff(e)||lv(e,{previous:_e,current:null}),a=s.current||(s.current={}),c=s.previous,u=c[i];a[i]=new Ti(u&&u.currentValue,n,c===_e),Rf(e,t,o,n)}var kf="__ngSimpleChanges__";function Ff(e){return e[kf]||null}function lv(e,t){return e[kf]=t}var Gd=[];var F=function(e,t=null,n){for(let r=0;r<Gd.length;r++){let o=Gd[r];o(e,t,n)}},A=(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})(A||{});function dv(e,t,n){let{ngOnChanges:r,ngOnInit:o,ngDoCheck:i}=t.type.prototype;if(r){let s=Of(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 Pf(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:u,ngOnDestroy:l}=i;s&&(e.contentHooks??=[]).push(-n,s),a&&((e.contentHooks??=[]).push(n,a),(e.contentCheckHooks??=[]).push(n,a)),c&&(e.viewHooks??=[]).push(-n,c),u&&((e.viewHooks??=[]).push(n,u),(e.viewCheckHooks??=[]).push(n,u)),l!=null&&(e.destroyHooks??=[]).push(n,l)}}function vi(e,t,n){Lf(e,t,3,n)}function Di(e,t,n,r){(e[w]&3)===n&&Lf(e,t,n,r)}function tc(e,t){let n=e[w];(n&3)===t&&(n&=16383,n+=1,e[w]=n)}function Lf(e,t,n,r){let o=r!==void 0?e[Qt]&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[Qt]+=65536),(a<i||i==-1)&&(fv(e,n,t,c),e[Qt]=(e[Qt]&4294901760)+c+2),c++}function zd(e,t){F(A.LifecycleHookStart,e,t);let n=y(null);try{t.call(e)}finally{y(n),F(A.LifecycleHookEnd,e,t)}}function fv(e,t,n,r){let o=n[r]<0,i=n[r+1],s=o?-n[r]:n[r],a=e[s];o?e[w]>>14<e[Qt]>>16&&(e[w]&3)===t&&(e[w]+=16384,zd(a,i)):zd(a,i)}var Ln=-1,rn=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 pv(e){return(e.flags&8)!==0}function hv(e){return(e.flags&16)!==0}function gv(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];mv(i)?e.setProperty(t,i,s):e.setAttribute(t,i,s),r++}}return r}function jf(e){return e===3||e===4||e===6}function mv(e){return e.charCodeAt(0)===64}function jn(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?Wd(e,n,o,null,t[++r]):Wd(e,n,o,null,null))}}return e}function Wd(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 Bf(e){return e!==Ln}function _i(e){return e&32767}function yv(e){return e>>16}function Mi(e,t){let n=yv(e),r=t;for(;n>0;)r=r[Zt],n--;return r}var dc=!0;function Si(e){let t=dc;return dc=e,t}var vv=256,Vf=vv-1,Hf=5,Dv=0,ze={};function Ev(e,t,n){let r;typeof n=="string"?r=n.charCodeAt(0)||0:n.hasOwnProperty(zt)&&(r=n[zt]),r==null&&(r=n[zt]=Dv++);let o=r&Vf,i=1<<o;t.data[e+(o>>Hf)]|=i}function Ni(e,t){let n=$f(e,t);if(n!==-1)return n;let r=t[D];r.firstCreatePass&&(e.injectorIndex=t.length,nc(r.data,e),nc(t,null),nc(r.blueprint,null));let o=Qc(e,t),i=e.injectorIndex;if(Bf(o)){let s=_i(o),a=Mi(o,t),c=a[D].data;for(let u=0;u<8;u++)t[i+u]=a[s+u]|c[s+u]}return t[i+8]=o,i}function nc(e,t){e.push(0,0,0,0,0,0,0,0,t)}function $f(e,t){return e.injectorIndex===-1||e.parent&&e.parent.injectorIndex===e.injectorIndex||t[e.injectorIndex+8]===null?-1:e.injectorIndex}function Qc(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=Zf(o),r===null)return Ln;if(n++,o=o[Zt],r.injectorIndex!==-1)return r.injectorIndex|n<<16}return Ln}function fc(e,t,n){Ev(e,t,n)}function Iv(e,t){if(t==="class")return e.classes;if(t==="style")return e.styles;let n=e.attrs;if(n){let r=n.length,o=0;for(;o<r;){let i=n[o];if(jf(i))break;if(i===0)o=o+2;else if(typeof i=="number")for(o++;o<r&&typeof n[o]=="string";)o++;else{if(i===t)return n[o+1];o=o+2}}}return null}function Uf(e,t,n){if(n&8||e!==void 0)return e;Jo(t,"NodeInjector")}function Gf(e,t,n,r){if(n&8&&r===void 0&&(r=null),(n&3)===0){let o=e[ae],i=oe(void 0);try{return o?o.get(t,r,n&8):va(t,r,n&8)}finally{oe(i)}}return Uf(r,t,n)}function zf(e,t,n,r=0,o){if(e!==null){if(t[w]&2048&&!(r&2)){let s=Tv(e,t,n,r,ze);if(s!==ze)return s}let i=Wf(e,t,n,r,ze);if(i!==ze)return i}return Gf(t,n,r,o)}function Wf(e,t,n,r,o){let i=wv(n);if(typeof i=="function"){if(!Za(t,e,r))return r&1?Uf(o,n,r):Gf(t,n,r,o);try{let s;if(s=i(r),s==null&&!(r&8))Jo(n);else return s}finally{Qa()}}else if(typeof i=="number"){let s=null,a=$f(e,t),c=Ln,u=r&1?t[ce][se]:null;for((a===-1||r&4)&&(c=a===-1?Qc(e,t):t[a+8],c===Ln||!Zd(r,!1)?a=-1:(s=t[D],a=_i(c),t=Mi(c,t)));a!==-1;){let l=t[D];if(qd(i,a,l.data)){let d=Cv(a,t,n,s,r,u);if(d!==ze)return d}c=t[a+8],c!==Ln&&Zd(r,t[D].data[a+8]===u)&&qd(i,a,t)?(s=l,a=_i(c),t=Mi(c,t)):a=-1}}return o}function Cv(e,t,n,r,o,i){let s=t[D],a=s.data[e+8],c=r==null?Ue(a)&&dc:r!=s&&(a.type&3)!==0,u=o&1&&i===a,l=Ei(a,s,n,c,u);return l!==null?xr(t,s,l,a,o):ze}function Ei(e,t,n,r,o){let i=e.providerIndexes,s=t.data,a=i&1048575,c=e.directiveStart,u=e.directiveEnd,l=i>>20,d=r?a:a+l,p=o?a+l:u;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&&Ae(f)&&f.type===n)return c}return null}function xr(e,t,n,r,o){let i=e[n],s=t.data;if(i instanceof rn){let a=i;if(a.resolving)throw ya("");let c=Si(a.canSeeViewProviders);a.resolving=!0;let u=s[n].type||s[n],l,d=a.injectImpl?oe(a.injectImpl):null,p=Za(e,r,0);try{i=e[n]=a.factory(void 0,o,s,e,r),t.firstCreatePass&&n>=r.directiveStart&&dv(n,s[n],t)}finally{d!==null&&oe(d),Si(c),a.resolving=!1,Qa()}}return i}function wv(e){if(typeof e=="string")return e.charCodeAt(0)||0;let t=e.hasOwnProperty(zt)?e[zt]:void 0;return typeof t=="number"?t>=0?t&Vf:bv:t}function qd(e,t,n){let r=1<<e;return!!(n[t+(e>>Hf)]&r)}function Zd(e,t){return!(e&2)&&!(e&1&&t)}var tn=class{_tNode;_lView;constructor(t,n){this._tNode=t,this._lView=n}get(t,n,r){return zf(this._tNode,this._lView,t,$t(r),n)}};function bv(){return new tn(Z(),m())}function qf(e){return Hr(()=>{let t=e.prototype.constructor,n=t[dr]||pc(t),r=Object.prototype,o=Object.getPrototypeOf(e.prototype).constructor;for(;o&&o!==r;){let i=o[dr]||pc(o);if(i&&i!==n)return i;o=Object.getPrototypeOf(o)}return i=>new i})}function pc(e){return la(e)?()=>{let t=pc(Y(e));return t&&t()}:yt(e)}function Tv(e,t,n,r,o){let i=e,s=t;for(;i!==null&&s!==null&&s[w]&2048&&!xn(s);){let a=Wf(i,s,n,r|2,ze);if(a!==ze)return a;let c=i.parent;if(!c){let u=s[Ma];if(u){let l=u.get(n,ze,r&-5);if(l!==ze)return l}c=Zf(s),s=s[Zt]}i=c}return o}function Zf(e){let t=e[D],n=t.type;return n===2?t.declTNode:n===1?e[se]:null}function Yc(e){return Iv(Z(),e)}function _v(){return qn(Z(),m())}function qn(e,t){return new it(de(e,t))}var it=(()=>{class e{nativeElement;constructor(n){this.nativeElement=n}static __NG_ELEMENT_ID__=_v}return e})();function Qf(e){return e instanceof it?e.nativeElement:e}function Mv(){return this._results[Symbol.iterator]()}var Ai=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 be}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=od(t);(this._changesDetected=!rd(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]=Mv};function Yf(e){return(e.flags&128)===128}var Kc=(function(e){return e[e.OnPush=0]="OnPush",e[e.Eager=1]="Eager",e[e.Default=1]="Default",e})(Kc||{}),Kf=new Map,Sv=0;function Nv(){return Sv++}function Av(e){Kf.set(e[He],e)}function hc(e){Kf.delete(e[He])}var Qd="__ngContext__";function Bn(e,t){tt(t)?(e[Qd]=t[He],Av(t)):e[Qd]=t}function Jf(e){return ep(e[Nn])}function Xf(e){return ep(e[me])}function ep(e){for(;e!==null&&!Ne(e);)e=e[me];return e}var gc;function xv(e){gc=e}function tp(){if(gc!==void 0)return gc;if(typeof document<"u")return document;throw new C(210,!1)}var Rv=new b("",{factory:()=>Ov}),Ov="ng";var np=new b(""),kv=new b("",{providedIn:"platform",factory:()=>"unknown"});var rp=new b("",{factory:()=>g(Ee).body?.querySelector("[ngCspNonce]")?.getAttribute("ngCspNonce")||null});var op="r";var ip="di";var sp=!1,ap=new b("",{factory:()=>sp});var Fv=new b("");var Yd=new WeakMap;function Pv(e,t){if(e==null||typeof e!="object")return;let n=Yd.get(e);n||(n=new WeakSet,Yd.set(e,n)),n.add(t)}var Lv=(e,t,n,r)=>{};function jv(e,t,n,r){Lv(e,t,n,r)}function zi(e){return(e.flags&32)===32}var Bv=()=>null;function cp(e,t,n=!1){return Bv(e,t,n)}function up(e,t){let n=e.contentQueries;if(n!==null){let r=y(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];br(i),a.contentQueries(2,t[s],s)}}}finally{y(r)}}}function mc(e,t,n){br(0);let r=y(null);try{t(e,n)}finally{y(r)}}function Jc(e,t,n){if(Na(t)){let r=y(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{y(r)}}}var on=(function(e){return e[e.Emulated=0]="Emulated",e[e.None=2]="None",e[e.ShadowDom=3]="ShadowDom",e[e.ExperimentalIsolatedShadowDom=4]="ExperimentalIsolatedShadowDom",e})(on||{});var hi;function Vv(){if(hi===void 0&&(hi=null,wn.trustedTypes))try{hi=wn.trustedTypes.createPolicy("angular",{createHTML:e=>e,createScript:e=>e,createScriptURL:e=>e})}catch(e){}return hi}function Wi(e){return Vv()?.createHTML(e)||e}var gi;function lp(){if(gi===void 0&&(gi=null,wn.trustedTypes))try{gi=wn.trustedTypes.createPolicy("angular#unsafe-bypass",{createHTML:e=>e,createScript:e=>e,createScriptURL:e=>e})}catch(e){}return gi}function Kd(e){return lp()?.createHTML(e)||e}function Jd(e){return lp()?.createScriptURL(e)||e}var ot=class{changingThisBreaksApplicationSecurity;constructor(t){this.changingThisBreaksApplicationSecurity=t}toString(){return`SafeValue must use [property]=binding: ${this.changingThisBreaksApplicationSecurity} (see ${Wo})`}},yc=class extends ot{getTypeName(){return"HTML"}},vc=class extends ot{getTypeName(){return"Style"}},Dc=class extends ot{getTypeName(){return"Script"}},Ec=class extends ot{getTypeName(){return"URL"}},Ic=class extends ot{getTypeName(){return"ResourceURL"}};function Mt(e){return e instanceof ot?e.changingThisBreaksApplicationSecurity:e}function qi(e,t){let n=dp(e);if(n!=null&&n!==t){if(n==="ResourceURL"&&t==="URL")return!0;throw new Error(`Required a safe ${t}, got a ${n} (see ${Wo})`)}return n===t}function dp(e){return e instanceof ot&&e.getTypeName()||null}function Hv(e){return new yc(e)}function $v(e){return new vc(e)}function Uv(e){return new Dc(e)}function Gv(e){return new Ec(e)}function zv(e){return new Ic(e)}function Wv(e){let t=new wc(e);return qv()?new Cc(t):t}var Cc=class{inertDocumentHelper;constructor(t){this.inertDocumentHelper=t}getInertBodyElement(t){t="<body><remove></remove>"+t;try{let n=new window.DOMParser().parseFromString(Wi(t),"text/html").body;return n===null?this.inertDocumentHelper.getInertBodyElement(t):(n.firstChild?.remove(),n)}catch(n){return null}}},wc=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=Wi(t),n}};function qv(){try{return!!new window.DOMParser().parseFromString(Wi(""),"text/html")}catch(e){return!1}}var Zv=/^(?!javascript:)(?:[a-z0-9+.-]+:|[^&:\/?#]*(?:[\/?#]|$))/i;function Xc(e){return e=String(e),e.match(Zv)?e:"unsafe:"+e}function st(e){let t={};for(let n of e.split(","))t[n]=!0;return t}function $r(...e){let t={};for(let n of e)for(let r in n)n.hasOwnProperty(r)&&(t[r]=!0);return t}var fp=st("area,br,col,hr,img,wbr"),pp=st("colgroup,dd,dt,li,p,tbody,td,tfoot,th,thead,tr"),hp=st("rp,rt"),Qv=$r(hp,pp),Yv=$r(pp,st("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")),Kv=$r(hp,st("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")),Xd=$r(fp,Yv,Kv,Qv),gp=st("background,cite,href,itemtype,longdesc,poster,src,xlink:href"),Jv=st("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"),Xv=st("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"),eD=$r(gp,Jv,Xv),tD=st("script,style,template");var bc=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=oD(n);continue}for(;n;){n.nodeType===Node.ELEMENT_NODE&&this.endElement(n);let i=rD(n);if(i){n=i;break}n=o.pop()}}return this.buf.join("")}startElement(t){let n=ef(t).toLowerCase();if(!Xd.hasOwnProperty(n))return this.sanitizedSomething=!0,!tD.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(!eD.hasOwnProperty(a)){this.sanitizedSomething=!0;continue}let c=i.value;gp[a]&&(c=Xc(c)),this.buf.push(" ",s,'="',tf(c),'"')}return this.buf.push(">"),!0}endElement(t){let n=ef(t).toLowerCase();Xd.hasOwnProperty(n)&&!fp.hasOwnProperty(n)&&(this.buf.push("</"),this.buf.push(n),this.buf.push(">"))}chars(t){this.buf.push(tf(t))}};function nD(e,t){return(e.compareDocumentPosition(t)&Node.DOCUMENT_POSITION_CONTAINED_BY)!==Node.DOCUMENT_POSITION_CONTAINED_BY}function rD(e){let t=e.nextSibling;if(t&&e!==t.previousSibling)throw mp(t);return t}function oD(e){let t=e.firstChild;if(t&&nD(e,t))throw mp(t);return t}function ef(e){let t=e.nodeName;return typeof t=="string"?t:"FORM"}function mp(e){return new Error(`Failed to sanitize html because the element is clobbered: ${e.outerHTML}`)}var iD=/[\uD800-\uDBFF][\uDC00-\uDFFF]/g,sD=/([^\#-~ |!])/g;function tf(e){return e.replace(/&/g,"&").replace(iD,function(t){let n=t.charCodeAt(0),r=t.charCodeAt(1);return"&#"+((n-55296)*1024+(r-56320)+65536)+";"}).replace(sD,function(t){return"&#"+t.charCodeAt(0)+";"}).replace(/</g,"<").replace(/>/g,">")}var mi;function yp(e,t){let n=null;try{mi=mi||Wv(e);let r=t?String(t):"";n=mi.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=mi.getInertBodyElement(r)}while(r!==i);let a=new bc().sanitizeChildren(nf(n)||n);return Wi(a)}finally{if(n){let r=nf(n)||n;for(;r.firstChild;)r.firstChild.remove()}}}function nf(e){return"content"in e&&aD(e)?e.content:null}function aD(e){return e.nodeType===Node.ELEMENT_NODE&&e.nodeName==="TEMPLATE"}var cD=/^>|^->|<!--|-->|--!>|<!-$/g,uD=/(<|>)/g,lD="\u200B$1\u200B";function dD(e){return e.replace(cD,t=>t.replace(uD,lD))}function fD(e,t){return e.createText(t)}function pD(e,t,n){e.setValue(t,n)}function hD(e,t){return e.createComment(dD(t))}function vp(e,t,n){return e.createElement(t,n)}function xi(e,t,n,r,o){e.insertBefore(t,n,r,o)}function Dp(e,t,n){e.appendChild(t,n)}function rf(e,t,n,r,o){r!==null?xi(e,t,n,r,o):Dp(e,t,n)}function Ep(e,t,n,r){e.removeChild(null,t,n,r)}function gD(e,t,n){e.setAttribute(t,"style",n)}function mD(e,t,n){n===""?e.removeAttribute(t,"class"):e.setAttribute(t,"class",n)}function Ip(e,t,n){let{mergedAttrs:r,classes:o,styles:i}=n;r!==null&&gv(e,t,r),o!==null&&mD(e,t,o),i!==null&&gD(e,t,i)}var Ur=(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})(Ur||{});function yD(e){let t=eu();return t?Kd(t.sanitize(Ur.HTML,e)||""):qi(e,"HTML")?Kd(Mt(e)):yp(tp(),ge(e))}function Cp(e){let t=eu();return t?t.sanitize(Ur.URL,e)||"":qi(e,"URL")?Mt(e):Xc(ge(e))}function wp(e){let t=eu();if(t)return Jd(t.sanitize(Ur.RESOURCE_URL,e)||"");if(qi(e,"ResourceURL"))return Jd(Mt(e));throw new C(904,!1)}var vD={embed:{src:!0},frame:{src:!0},iframe:{src:!0},media:{src:!0},script:{src:!0,href:!0,"xlink:href":!0},base:{href:!0},link:{href:!0},object:{data:!0,codebase:!0}};function DD(e,t){return vD[e]?.[t]===!0?wp:Cp}function ED(e,t,n){return DD(t,n)(e)}function eu(){let e=m();return e&&e[Se].sanitizer}function ID(e){return e.ownerDocument}function bp(e){return e instanceof Function?e():e}function CD(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 Tp="ng-template";function wD(e,t,n,r){let o=0;if(r){for(;o<t.length&&typeof t[o]=="string";o+=2)if(t[o]==="class"&&CD(t[o+1].toLowerCase(),n,0)!==-1)return!0}else if(tu(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 tu(e){return e.type===4&&e.value!==Tp}function bD(e,t,n){let r=e.type===4&&!n?Tp:e.value;return t===r}function TD(e,t,n){let r=4,o=e.attrs,i=o!==null?SD(o):0,s=!1;for(let a=0;a<t.length;a++){let c=t[a];if(typeof c=="number"){if(!s&&!Re(r)&&!Re(c))return!1;if(s&&Re(c))continue;s=!1,r=c|r&1;continue}if(!s)if(r&4){if(r=2|r&1,c!==""&&!bD(e,c,n)||c===""&&t.length===1){if(Re(r))return!1;s=!0}}else if(r&8){if(o===null||!wD(e,o,c,n)){if(Re(r))return!1;s=!0}}else{let u=t[++a],l=_D(c,o,tu(e),n);if(l===-1){if(Re(r))return!1;s=!0;continue}if(u!==""){let d;if(l>i?d="":d=o[l+1].toLowerCase(),r&2&&u!==d){if(Re(r))return!1;s=!0}}}}return Re(r)||s}function Re(e){return(e&1)===0}function _D(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 ND(t,e)}function _p(e,t,n=!1){for(let r=0;r<t.length;r++)if(TD(e,t[r],n))return!0;return!1}function MD(e){let t=e.attrs;if(t!=null){let n=t.indexOf(5);if((n&1)===0)return t[n+1]}return null}function SD(e){for(let t=0;t<e.length;t++){let n=e[t];if(jf(n))return t}return e.length}function ND(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 AD(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 of(e,t){return e?":not("+t.trim()+")":t}function xD(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!==""&&!Re(s)&&(t+=of(i,o),o=""),r=s,i=i||!Re(r);n++}return o!==""&&(t+=of(i,o)),t}function RD(e){return e.map(xD).join(",")}function OD(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(!Re(o))break;o=i}r++}return n.length&&t.push(1,...n),t}var X={};function nu(e,t,n,r,o,i,s,a,c,u,l){let d=V+r,p=d+o,f=kD(d,p),h=typeof u=="function"?u():u;return f[D]={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:l}}function kD(e,t){let n=[];for(let r=0;r<t;r++)n.push(r<e?null:X);return n}function FD(e){let t=e.tView;return t===null||t.incompleteFirstPass?e.tView=nu(1,null,e.template,e.decls,e.vars,e.directiveDefs,e.pipeDefs,e.viewQuery,e.schemas,e.consts,e.id):t}function ru(e,t,n,r,o,i,s,a,c,u,l){let d=t.blueprint.slice();return d[Me]=o,d[w]=r|4|128|8|64|1024,(u!==null||e&&e[w]&2048)&&(d[w]|=2048),ka(d),d[K]=d[Zt]=e,d[q]=n,d[Se]=s||e&&e[Se],d[O]=a||e&&e[O],d[ae]=c||e&&e[ae]||null,d[se]=i,d[He]=Nv(),d[qt]=l,d[Ma]=u,d[ce]=t.type==2?e[ce]:d,d}function PD(e,t,n){let r=de(t,e),o=FD(n),i=e[Se].rendererFactory,s=ou(e,ru(e,o,null,Mp(n),r,t,null,i.createRenderer(r,n),null,null,null));return e[t.index]=s}function Mp(e){let t=16;return e.signals?t=4096:e.onPush&&(t=64),t}function Sp(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 ou(e,t){return e[Nn]?e[_a][me]=t:e[Nn]=t,e[_a]=t,t}function LD(e=1){Np(L(),m(),xe()+e,!1)}function Np(e,t,n,r){if(!r)if((t[w]&3)===3){let i=e.preOrderCheckHooks;i!==null&&vi(t,i,n)}else{let i=e.preOrderHooks;i!==null&&Di(t,i,0,n)}Ct(n)}var Zi=(function(e){return e[e.None=0]="None",e[e.SignalBased=1]="SignalBased",e[e.HasDecoratorInputTransform=2]="HasDecoratorInputTransform",e})(Zi||{});function Tc(e,t,n,r){let o=y(null);try{let[i,s,a]=e.inputs[n],c=null;(s&Zi.SignalBased)!==0&&(c=t[i][U]),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):Rf(t,c,i,r)}finally{y(o)}}var Vn=(function(e){return e[e.Important=1]="Important",e[e.DashCase=2]="DashCase",e})(Vn||{}),jD;function iu(e,t){return jD(e,t)}var Ap=new b("",{factory:()=>!1});var BD=!1,Gr=typeof document<"u"&&typeof document?.documentElement?.getAnimations=="function";function xp(e){return e[ae].get(Ap,BD)}function VD(e,t,n){let r=Hn.get(e);if(r){for(let o of t)r.classList.push(o);for(let o of n)r.cleanupFns.push(o)}else Hn.set(e,{classList:t,cleanupFns:n})}function su(e){let t=Hn.get(e);if(t){for(let n of t.cleanupFns)n();Hn.delete(e)}nn.delete(e)}var Hn=new WeakMap,nn=new WeakMap,Rr=new WeakMap,Sr=new WeakSet;function sf(e,t){let n=Rr.get(e);if(n&&n.length>0){let r=n.findIndex(o=>o===t);r>-1&&n.splice(r,1)}n?.length===0&&Rr.delete(e)}function HD(e,t){let n=Rr.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),Sr.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 Rp(e,t){let n=Rr.get(e);n?n.includes(t)||n.push(t):Rr.set(e,[t])}function af(e){let t=e[$e]??={};return t.enter??=new Map}function Qi(e){let t=e[$e]??={};return t.leave??=new Map}function Op(e){let t=typeof e=="function"?e():e,n=Array.isArray(t)?t:null;return typeof t=="string"&&(n=t.trim().split(/\s+/).filter(r=>r)),n}function $D(e,t){if(!Gr)return;let n=Hn.get(e);if(n&&n.classList.length>0&&UD(e,n.classList))for(let r of n.classList)t.removeClass(e,r);su(e)}function UD(e,t){for(let n of t)if(e.classList.contains(n))return!0;return!1}function Or(e){return e.composedPath?e.composedPath()[0]:e.target}function au(e,t){let n=nn.get(t);return n===void 0?!0:t===Or(e)&&(n.animationName!==void 0&&e.animationName===n.animationName||n.propertyName!==void 0&&(n.propertyName==="all"||e.propertyName===n.propertyName))}function kp(e,t,n){let r=e.get(t.index)??{animateFns:[]};r.animateFns.push(n),e.set(t.index,r)}function cf(e,t){if(e)for(let n of e)n();for(let n of t)n()}function uf(e,t){let n=Qi(e).get(t.index);n&&(n.resolvers=void 0)}function Ri(e){if(!e)return 0;let t=e.toLowerCase().indexOf("ms")>-1?1:1e3;return parseFloat(e)*t}function en(e,t){return e.getPropertyValue(t).split(",").map(r=>r.trim())}function GD(e){let t=en(e,"transition-property"),n=en(e,"transition-duration"),r=en(e,"transition-delay"),o={propertyName:"",duration:0,animationName:void 0};for(let i=0;i<t.length;i++){let s=Ri(r[i])+Ri(n[i]);s>o.duration&&(o.propertyName=t[i],o.duration=s)}return o}function zD(e){let t=en(e,"animation-name"),n=en(e,"animation-delay"),r=en(e,"animation-duration"),o=en(e,"animation-iteration-count"),i={animationName:"",propertyName:void 0,duration:0};for(let s=0;s<t.length;s++){let a=Ri(n[s])+Ri(r[s]),c=o[s];a>i.duration&&c!=="infinite"&&(i.animationName=t[s],i.duration=a)}return i}function Fp(e,t){return e!==void 0&&e.duration>t.duration}function Pp(e){return(e.animationName!=null||e.propertyName!=null)&&e.duration>0}function WD(e,t){let n=getComputedStyle(e),r=zD(n),o=GD(n),i=r.duration>o.duration?r:o;Fp(t.get(e),i)||Pp(i)&&t.set(e,i)}function Lp(e,t,n){if(!n)return;let r=e.getAnimations();return r.length===0?WD(e,t):qD(e,t,r)}function qD(e,t,n){let r={animationName:void 0,propertyName:void 0,duration:0};for(let o of n){let i=o.effect?.getTiming();if(i?.iterations===1/0)continue;let s=typeof i?.duration=="number"?i.duration:0,a=(i?.delay??0)+s,c=o.playbackRate;c!==void 0&&c!==0&&c!==1&&(a/=Math.abs(c));let u,l;o.animationName?l=o.animationName:u=o.transitionProperty,a>=r.duration&&(r={animationName:l,propertyName:u,duration:a})}Fp(t.get(e),r)||Pp(r)&&t.set(e,r)}var $n=new Set,Yi=(function(e){return e[e.CHANGE_DETECTION=0]="CHANGE_DETECTION",e[e.AFTER_NEXT_RENDER=1]="AFTER_NEXT_RENDER",e})(Yi||{}),at=new b(""),lf=new Set;function Oe(e){lf.has(e)||(lf.add(e),performance?.mark?.("mark_feature_usage",{detail:{feature:e}}))}var Ki=(()=>{class e{impl=null;execute(){this.impl?.execute()}static \u0275prov=_({token:e,providedIn:"root",factory:()=>new e})}return e})(),cu=[0,1,2,3],uu=(()=>{class e{ngZone=g(W);scheduler=g(Te);errorHandler=g(Xe,{optional:!0});sequences=new Set;deferredRegistrations=new Set;executing=!1;constructor(){g(at,{optional:!0})}execute(){let n=this.sequences.size>0;n&&F(A.AfterRenderHooksStart),this.executing=!0;for(let r of cu)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&&F(A.AfterRenderHooksEnd)}register(n){let{view:r}=n;r!==void 0?((r[Yt]??=[]).push(n),Xt(r),r[w]|=8192):this.executing?this.deferredRegistrations.add(n):this.addSequence(n)}addSequence(n){this.sequences.add(n),this.scheduler.notify(7)}unregister(n){this.executing&&this.sequences.has(n)?(n.erroredOrDestroyed=!0,n.pipelinedValue=void 0,n.once=!0):(this.sequences.delete(n),this.deferredRegistrations.delete(n))}maybeTrace(n,r){return r?r.run(Yi.AFTER_NEXT_RENDER,n):n()}static \u0275prov=_({token:e,providedIn:"root",factory:()=>new e})}return e})(),kr=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?.[Yt];t&&(this.view[Yt]=t.filter(n=>n!==this))}};function jp(e,t){let n=t?.injector??g(le);return Oe("NgAfterNextRender"),QD(e,n,t,!0)}function ZD(e){return e instanceof Function?[void 0,void 0,e,void 0]:[e.earlyRead,e.write,e.mixedReadWrite,e.read]}function QD(e,t,n,r){let o=t.get(Ki);o.impl??=t.get(uu);let i=t.get(at,null,{optional:!0}),s=n?.manualCleanup!==!0?t.get(Ie):null,a=t.get(kn,null,{optional:!0}),c=new kr(o.impl,ZD(e),a?.view,r,s,i?.snapshot(null));return o.impl.register(c),c}var Ji=new b("",{factory:()=>({queue:new Set,isScheduled:!1,scheduler:null,injector:g(ie)})});function Bp(e,t,n){let r=e.get(Ji);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 YD(e,t){let n=e.get(Ji);if(t.detachedLeaveAnimationFns){for(let r of t.detachedLeaveAnimationFns)n.queue.delete(r);t.detachedLeaveAnimationFns=void 0}}function KD(e){let t=e.get(Ji);t.isScheduled||(jp(()=>{t.isScheduled=!1;for(let n of t.queue)n();t.queue.clear()},{injector:t.injector}),t.isScheduled=!0)}function Vp(e){let t=e.get(Ji);t.scheduler=KD,t.scheduler(e)}function Hp(e,t){for(let[n,r]of t)Bp(e,r.animateFns)}function df(e,t,n,r){let o=e?.[$e]?.enter;t!==null&&o&&o.has(n.index)&&Hp(r,o)}function Pn(e,t,n,r,o,i,s,a){if(o!=null){let c,u=!1;Ne(o)?c=o:tt(o)&&(u=!0,o=o[Me]);let l=ye(o);e===0&&r!==null?(df(a,r,i,n),s==null?Dp(t,r,l):xi(t,r,l,s||null,!0)):e===1&&r!==null?(df(a,r,i,n),xi(t,r,l,s||null,!0),HD(i,l)):e===2?(a?.[$e]?.leave?.has(i.index)&&Rp(i,l),Sr.delete(l),ff(a,i,n,d=>{if(Sr.has(l)){Sr.delete(l);return}Ep(t,l,u,d)})):e===3&&(Sr.delete(l),ff(a,i,n,()=>{t.destroyNode(l)})),c!=null&&cE(t,e,n,c,i,r,s)}}function JD(e,t){$p(e,t),t[Me]=null,t[se]=null}function XD(e,t,n,r,o,i){r[Me]=o,r[se]=t,es(e,r,n,1,o,i)}function $p(e,t){t[Se].changeDetectionScheduler?.notify(9),es(e,t,t[O],2,null,null)}function eE(e){let t=e[Nn];if(!t)return rc(e[D],e);for(;t;){let n=null;if(tt(t))n=t[Nn];else{let r=t[G];r&&(n=r)}if(!n){for(;t&&!t[me]&&t!==e;)tt(t)&&rc(t[D],t),t=t[K];t===null&&(t=e),tt(t)&&rc(t[D],t),n=t&&t[me]}t=n}}function lu(e,t){let n=e[Kt],r=n.indexOf(t);n.splice(r,1)}function Xi(e,t){if(Jt(t))return;let n=t[O];n.destroyNode&&es(e,t,n,3,null,null),eE(t)}function rc(e,t){if(Jt(t))return;let n=y(null);try{t[w]&=-129,t[w]|=256,t[fe]&&ht(t[fe]),rE(e,t),nE(e,t),t[D].type===1&&t[O].destroy();let r=t[Et];if(r!==null&&Ne(t[K])){r!==t[K]&&lu(r,t);let o=t[Ve];o!==null&&o.detachView(e)}hc(t)}finally{y(n)}}function ff(e,t,n,r){let o=e?.[$e];if(o==null||o.leave==null||!o.leave.has(t.index))return r(!1);e&&$n.add(e[He]),Bp(n,()=>{if(o.leave&&o.leave.has(t.index)){let s=o.leave.get(t.index),a=[];if(s){for(let c=0;c<s.animateFns.length;c++){let u=s.animateFns[c],{promise:l}=u();a.push(l)}o.detachedLeaveAnimationFns=void 0}o.running=Promise.allSettled(a),tE(e,r)}else e&&$n.delete(e[He]),r(!1)},o)}function tE(e,t){let n=e[$e]?.running;if(n){n.then(()=>{e[$e].running=void 0,$n.delete(e[He]),t(!0)});return}t(!1)}function nE(e,t){let n=e.cleanup,r=t[Sn];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[Sn]=null);let o=t[Je];if(o!==null){t[Je]=null;for(let s=0;s<o.length;s++){let a=o[s];a()}}let i=t[vt];if(i!==null){t[vt]=null;for(let s of i)s.destroy()}}function rE(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 rn)){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];F(A.LifecycleHookStart,a,c);try{c.call(a)}finally{F(A.LifecycleHookEnd,a,c)}}else{F(A.LifecycleHookStart,o,i);try{i.call(o)}finally{F(A.LifecycleHookEnd,o,i)}}}}}function Up(e,t,n){return oE(e,t.parent,n)}function oE(e,t,n){let r=t;for(;r!==null&&r.type&168;)t=r,r=t.parent;if(r===null)return n[Me];if(Ue(r)){let{encapsulation:o}=e.data[r.directiveStart+r.componentOffset];if(o===on.None||o===on.Emulated)return null}return de(r,n)}function Gp(e,t,n){return sE(e,t,n)}function iE(e,t,n){return e.type&40?de(e,n):null}var sE=iE,pf;function du(e,t,n,r){let o=Up(e,r,t),i=t[O],s=r.parent||t[se],a=Gp(s,r,t);if(o!=null)if(Array.isArray(n))for(let c=0;c<n.length;c++)rf(i,o,n[c],a,!1);else rf(i,o,n,a,!1);pf!==void 0&&pf(i,r,t,n,o)}function Nr(e,t){if(t!==null){let n=t.type;if(n&3)return de(t,e);if(n&4)return _c(-1,e[t.index]);if(n&8){let r=t.child;if(r!==null)return Nr(e,r);{let o=e[t.index];return Ne(o)?_c(-1,o):ye(o)}}else{if(n&128)return Nr(e,t.next);if(n&32)return iu(t,e)()||ye(e[t.index]);{let r=zp(e,t);if(r!==null){if(Array.isArray(r))return r[0];let o=Dt(e[ce]);return Nr(o,r)}else return Nr(e,t.next)}}}return null}function zp(e,t){if(t!==null){let r=e[ce][se],o=t.projection;return r.projection[o]}return null}function _c(e,t){let n=G+e+1;if(n<t.length){let r=t[n],o=r[D].firstChild;if(o!==null)return Nr(r,o)}return t[It]}function fu(e,t,n,r,o,i,s){for(;n!=null;){let a=r[ae];if(n.type===128){n=n.next;continue}let c=r[n.index],u=n.type;if(s&&t===0&&(c&&Bn(ye(c),r),n.flags|=2),!zi(n))if(u&8)fu(e,t,n.child,r,o,i,!1),Pn(t,e,a,o,c,n,i,r);else if(u&32){let l=iu(n,r),d;for(;d=l();)Pn(t,e,a,o,d,n,i,r);Pn(t,e,a,o,c,n,i,r)}else u&16?Wp(e,t,r,n,o,i):Pn(t,e,a,o,c,n,i,r);n=s?n.projectionNext:n.next}}function es(e,t,n,r,o,i){fu(n,r,e.firstChild,t,o,i,!1)}function aE(e,t,n){let r=t[O],o=Up(e,n,t),i=n.parent||t[se],s=Gp(i,n,t);Wp(r,0,t,n,o,s)}function Wp(e,t,n,r,o,i){let s=n[ce],c=s[se].projection[r.projection];if(Array.isArray(c))for(let u=0;u<c.length;u++){let l=c[u];Pn(t,e,n[ae],o,l,r,i,n)}else{let u=c,l=s[K];Yf(r)&&(u.flags|=128),fu(e,t,u,l,o,i,!0)}}function cE(e,t,n,r,o,i,s){let a=r[It],c=ye(r);a!==c&&Pn(t,e,n,i,a,o,s);for(let u=G;u<r.length;u++){let l=r[u];es(l[D],l,e,t,i,a)}}function uE(e,t,n,r,o){if(t)o?e.addClass(n,r):e.removeClass(n,r);else{let i=r.indexOf("-")===-1?void 0:Vn.DashCase;o==null?e.removeStyle(n,r,i):(typeof o=="string"&&o.endsWith("!important")&&(o=o.slice(0,-10),i|=Vn.Important),e.setStyle(n,r,o,i))}}function qp(e,t,n,r,o){let i=xe(),s=r&2;try{Ct(-1),s&&t.length>V&&Np(e,t,V,!1);let a=s?A.TemplateUpdateStart:A.TemplateCreateStart;F(a,o,n),n(r,o)}finally{Ct(i);let a=s?A.TemplateUpdateEnd:A.TemplateCreateEnd;F(a,o,n)}}function ts(e,t,n){hE(e,t,n),(n.flags&64)===64&&gE(e,t,n)}function zr(e,t,n=de){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 lE(e,t,n,r){let i=r.get(ap,sp)||n===on.ShadowDom||n===on.ExperimentalIsolatedShadowDom,s=e.selectRootElement(t,i);return dE(s),s}function dE(e){fE(e)}var fE=()=>null;function pE(e){return e==="class"?"className":e==="for"?"htmlFor":e==="formaction"?"formAction":e==="innerHtml"?"innerHTML":e==="readonly"?"readOnly":e==="tabindex"?"tabIndex":e}function Zp(e,t,n,r,o,i){let s=t[D];if(ns(e,s,t,n,r)){Ue(e)&&Yp(t,e.index);return}e.type&3&&(n=pE(n)),Qp(e,t,n,r,o,i)}function Qp(e,t,n,r,o,i){if(e.type&3){let s=de(e,t);r=i!=null?i(r,e.value||"",n):r,o.setProperty(s,n,r)}else e.type&12}function Yp(e,t){let n=ve(t,e);n[w]&16||(n[w]|=64)}function hE(e,t,n){let r=n.directiveStart,o=n.directiveEnd;Ue(n)&&PD(t,n,e.data[r+n.componentOffset]),e.firstCreatePass||Ni(n,t);let i=n.initialInputs;for(let s=r;s<o;s++){let a=e.data[s],c=xr(t,e,s,n);if(Bn(c,t),i!==null&&vE(t,s-r,c,a,n,i),Ae(a)){let u=ve(n.index,t);u[q]=xr(t,e,s,n)}}}function gE(e,t,n){let r=n.directiveStart,o=n.directiveEnd,i=n.index,s=Sd();try{Ct(i);for(let a=r;a<o;a++){let c=e.data[a],u=t[a];si(a),(c.hostBindings!==null||c.hostVars!==0||c.hostAttrs!==null)&&mE(c,u)}}finally{Ct(-1),si(s)}}function mE(e,t){e.hostBindings!==null&&e.hostBindings(1,t)}function pu(e,t){let n=e.directiveRegistry,r=null;if(n)for(let o=0;o<n.length;o++){let i=n[o];_p(t,i.selectors,!1)&&(r??=[],Ae(i)?r.unshift(i):r.push(i))}return r}function yE(e,t,n,r,o,i){let s=de(e,t);Kp(t[O],s,i,e.value,n,r,o)}function Kp(e,t,n,r,o,i,s){if(i==null)e.removeAttribute(t,o,n);else{let a=s==null?ge(i):s(i,r||"",o);e.setAttribute(t,o,a,n)}}function vE(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],u=s[a+1];Tc(r,n,c,u)}}function hu(e,t,n,r,o){let i=V+n,s=t[D],a=o(s,t,e,r,n);t[i]=a,Rn(e,!0);let c=e.type===2;return c?(Ip(t[O],a,e),(Dd()===0||An(e))&&Bn(a,t),Ed()):Bn(a,t),li()&&(!c||!zi(e))&&du(s,t,a,e),e}function gu(e){let t=e;return Ga()?za():(t=t.parent,Rn(t,!1)),t}function DE(e,t){let n=e[ae];if(!n)return;let r;try{r=n.get(rt,null)}catch(o){r=null}r?.(t)}function ns(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 u=s[c],l=s[c+1],d=t.data[u];Tc(d,n[u],l,o),a=!0}if(i)for(let c of i){let u=n[c],l=t.data[c];Tc(l,u,r,o),a=!0}return a}function EE(e,t){let n=ve(t,e),r=n[D];IE(r,n);let o=n[Me];o!==null&&n[qt]===null&&(n[qt]=cp(o,n[ae])),F(A.ComponentStart);try{mu(r,n,n[q])}finally{F(A.ComponentEnd,n[q])}}function IE(e,t){for(let n=t.length;n<e.blueprint.length;n++)t.push(e.blueprint[n])}function mu(e,t,n){ci(t);try{let r=e.viewQuery;r!==null&&mc(1,r,n);let o=e.template;o!==null&&qp(e,t,o,1,n),e.firstCreatePass&&(e.firstCreatePass=!1),t[Ve]?.finishViewCreation(e),e.staticContentQueries&&up(e,t),e.staticViewQueries&&mc(2,e.viewQuery,n);let i=e.components;i!==null&&CE(t,i)}catch(r){throw e.firstCreatePass&&(e.incompleteFirstPass=!0,e.firstCreatePass=!1),r}finally{t[w]&=-5,ui()}}function CE(e,t){for(let n=0;n<t.length;n++)EE(e,t[n])}function Wr(e,t,n,r){let o=y(null);try{let i=t.tView,a=e[w]&4096?4096:16,c=ru(e,i,n,a,null,t,null,null,r?.injector??null,r?.embeddedViewInjector??null,r?.dehydratedView??null),u=e[t.index];c[Et]=u;let l=e[Ve];return l!==null&&(c[Ve]=l.createEmbeddedView(i)),mu(i,c,n),c}finally{y(o)}}function Un(e,t){return!t||t.firstChild===null||Yf(e)}function Fr(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(ye(i)),Ne(i)&&Jp(i,r);let s=n.type;if(s&8)Fr(e,t,n.child,r);else if(s&32){let a=iu(n,t),c;for(;c=a();)r.push(c)}else if(s&16){let a=zp(t,n);if(Array.isArray(a))r.push(...a);else{let c=Dt(t[ce]);Fr(c[D],c,a,r,!0)}}n=o?n.projectionNext:n.next}return r}function Jp(e,t){for(let n=G;n<e.length;n++){let r=e[n],o=r[D].firstChild;o!==null&&Fr(r[D],r,o,t)}e[It]!==e[Me]&&t.push(e[It])}function Xp(e){if(e[Yt]!==null){for(let t of e[Yt])t.impl.addSequence(t);e[Yt].length=0}}var eh=[];function wE(e){return e[fe]??bE(e)}function bE(e){let t=eh.pop()??Object.create(_E);return t.lView=e,t}function TE(e){e.lView[fe]!==e&&(e.lView=null,eh.push(e))}var _E=$(j({},ft),{consumerIsAlwaysLive:!0,kind:"template",consumerMarkedDirty:e=>{Xt(e.lView)},consumerOnSignalRead(){this.lView[fe]=this}});function ME(e){let t=e[fe]??Object.create(SE);return t.lView=e,t}var SE=$(j({},ft),{consumerIsAlwaysLive:!0,kind:"template",consumerMarkedDirty:e=>{let t=Dt(e.lView);for(;t&&!th(t[D]);)t=Dt(t);t&&Fa(t)},consumerOnSignalRead(){this.lView[fe]=this}});function th(e){return e.type!==2}function nh(e){if(e[vt]===null)return;let t=!0;for(;t;){let n=!1;for(let r of e[vt])r.dirty&&(n=!0,r.zone===null||Zone.current===r.zone?r.run():r.zone.run(()=>r.run()));t=n&&!!(e[w]&8192)}}var NE=100;function rh(e,t=0){let r=e[Se].rendererFactory,o=!1;o||r.begin?.();try{AE(e,t)}finally{o||r.end?.()}}function AE(e,t){let n=Wa();try{pr(!0),Mc(e,t);let r=0;for(;Cr(e);){if(r===NE)throw new C(103,!1);r++,Mc(e,1)}}finally{pr(n)}}function xE(e,t,n,r){if(Jt(t))return;let o=t[w],i=!1,s=!1;ci(t);let a=!0,c=null,u=null;i||(th(e)?(u=wE(t),c=Ye(u)):co()===null?(a=!1,u=ME(t),c=Ye(u)):t[fe]&&(ht(t[fe]),t[fe]=null));try{ka(t),Td(e.bindingStartIndex),n!==null&&qp(e,t,n,2,r);let l=(o&3)===3;if(!i)if(l){let f=e.preOrderCheckHooks;f!==null&&vi(t,f,null)}else{let f=e.preOrderHooks;f!==null&&Di(t,f,0,null),tc(t,0)}if(s||RE(t),nh(t),oh(t,0),e.contentQueries!==null&&up(e,t),!i)if(l){let f=e.contentCheckHooks;f!==null&&vi(t,f)}else{let f=e.contentHooks;f!==null&&Di(t,f,1),tc(t,1)}kE(e,t);let d=e.components;d!==null&&sh(t,d,0);let p=e.viewQuery;if(p!==null&&mc(2,p,r),!i)if(l){let f=e.viewCheckHooks;f!==null&&vi(t,f)}else{let f=e.viewHooks;f!==null&&Di(t,f,2),tc(t,2)}if(e.firstUpdatePass===!0&&(e.firstUpdatePass=!1),t[ti]){for(let f of t[ti])f();t[ti]=null}i||(Xp(t),t[w]&=-73)}catch(l){throw i||Xt(t),l}finally{u!==null&&(pt(u,c),a&&TE(u)),ui()}}function oh(e,t){for(let n=Jf(e);n!==null;n=Xf(n))for(let r=G;r<n.length;r++){let o=n[r];ih(o,t)}}function RE(e){for(let t=Jf(e);t!==null;t=Xf(t)){if(!(t[w]&2))continue;let n=t[Kt];for(let r=0;r<n.length;r++){let o=n[r];Fa(o)}}}function OE(e,t,n){F(A.ComponentStart);let r=ve(t,e);try{ih(r,n)}finally{F(A.ComponentEnd,r[q])}}function ih(e,t){ri(e)&&Mc(e,t)}function Mc(e,t){let r=e[D],o=e[w],i=e[fe],s=!!(t===0&&o&16);if(s||=!!(o&64&&t===0),s||=!!(o&1024),s||=!!(i?.dirty&&dn(i)),s||=!1,i&&(i.dirty=!1),e[w]&=-9217,s)xE(r,e,r.template,e[q]);else if(o&8192){let a=y(null);try{nh(e),oh(e,1);let c=r.components;c!==null&&sh(e,c,1),Xp(e)}finally{y(a)}}}function sh(e,t,n){for(let r=0;r<t.length;r++)OE(e,t[r],n)}function kE(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)Ct(~o);else{let i=o,s=n[++r],a=n[++r];Md(s,i);let c=t[i];F(A.HostBindingsUpdateStart,c);try{a(2,c)}finally{F(A.HostBindingsUpdateEnd,c)}}}}finally{Ct(-1)}}function yu(e,t){let n=Wa()?64:1088;for(e[Se].changeDetectionScheduler?.notify(t);e;){e[w]|=n;let r=Dt(e);if(xn(e)&&!r)return e;e=r}return null}function ah(e,t,n,r){return[e,!0,0,t,null,r,null,n,null,null]}function ch(e,t){let n=G+t;if(n<e.length)return e[n]}function qr(e,t,n,r=!0){let o=t[D];if(FE(o,t,e,n),r){let s=_c(n,e),a=t[O],c=a.parentNode(e[It]);c!==null&&XD(o,e[se],a,t,c,s)}let i=t[qt];i!==null&&i.firstChild!==null&&(i.firstChild=null)}function uh(e,t){let n=Pr(e,t);return n!==void 0&&Xi(n[D],n),n}function Pr(e,t){if(e.length<=G)return;let n=G+t,r=e[n];if(r){let o=r[Et];o!==null&&o!==e&&lu(o,r),t>0&&(e[n-1][me]=r[me]);let i=Dr(e,G+t);JD(r[D],r);let s=i[Ve];s!==null&&s.detachView(i[D]),r[K]=null,r[me]=null,r[w]&=-129}return r}function FE(e,t,n,r){let o=G+r,i=n.length;r>0&&(n[o-1][me]=t),r<i-G?(t[me]=n[o],Da(n,G+r,t)):(n.push(t),t[me]=null),t[K]=n;let s=t[Et];s!==null&&n!==s&&lh(s,t);let a=t[Ve];a!==null&&a.insertView(e),oi(t),t[w]|=128}function lh(e,t){let n=e[Kt],r=t[K];if(tt(r))e[w]|=2;else{let o=r[K][ce];t[ce]!==o&&(e[w]|=2)}n===null?e[Kt]=[t]:n.push(t)}var bt=class{_lView;_cdRefInjectingView;_appRef=null;_attachedToViewContainer=!1;exhaustive;get rootNodes(){let t=this._lView,n=t[D];return Fr(n,t,n.firstChild,[])}constructor(t,n){this._lView=t,this._cdRefInjectingView=n}get context(){return this._lView[q]}set context(t){this._lView[q]=t}get destroyed(){return Jt(this._lView)}destroy(){if(this._appRef)this._appRef.detachView(this);else if(this._attachedToViewContainer){let t=this._lView[K];if(Ne(t)){let n=t[Ir],r=n?n.indexOf(this):-1;r>-1&&(Pr(t,r),Dr(n,r))}this._attachedToViewContainer=!1}Xi(this._lView[D],this._lView)}onDestroy(t){Pa(this._lView,t)}markForCheck(){yu(this._cdRefInjectingView||this._lView,4)}detach(){this._lView[w]&=-129}reattach(){oi(this._lView),this._lView[w]|=128}detectChanges(){this._lView[w]|=1024,rh(this._lView)}checkNoChanges(){}attachToViewContainerRef(){if(this._appRef)throw new C(902,!1);this._attachedToViewContainer=!0}detachFromAppRef(){this._appRef=null;let t=xn(this._lView),n=this._lView[Et];n!==null&&!t&&lu(n,this._lView),$p(this._lView[D],this._lView)}attachToAppRef(t){if(this._attachedToViewContainer)throw new C(902,!1);this._appRef=t;let n=xn(this._lView),r=this._lView[Et];r!==null&&!n&&lh(r,this._lView),oi(this._lView)}};var Tt=(()=>{class e{_declarationLView;_declarationTContainer;elementRef;static __NG_ELEMENT_ID__=PE;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=Wr(this._declarationLView,this._declarationTContainer,n,{embeddedViewInjector:r,dehydratedView:o});return new bt(i)}}return e})();function PE(){return rs(Z(),m())}function rs(e,t){return e.type&4?new Tt(t,e,qn(e,t)):null}function Zn(e,t,n,r,o){let i=e.data[t];if(i===null)i=LE(e,t,n,r,o),_d()&&(i.flags|=32);else if(i.type&64){i.type=n,i.value=r,i.attrs=o;let s=wd();i.injectorIndex=s===null?-1:s.injectorIndex}return Rn(i,!0),i}function LE(e,t,n,r,o){let i=Ua(),s=Ga(),a=s?i:i&&i.parent,c=e.data[t]=BE(e,a,n,t,r,o);return jE(e,c,i,s),c}function jE(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 BE(e,t,n,r,o,i){let s=t?t.injectorIndex:-1,a=0;return Va()&&(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,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 VE(e){let t=e[Sa]??[],r=e[K][O],o=[];for(let i of t)i.data[ip]!==void 0?o.push(i):HE(i,r);e[Sa]=o}function HE(e,t){let n=0,r=e.firstChild;if(r){let o=e.data[op];for(;n<o;){let i=r.nextSibling;Ep(t,r,!1),r=i,n++}}}var $E=()=>null,UE=()=>null;function Oi(e,t){return $E(e,t)}function dh(e,t,n){return UE(e,t,n)}var fh=class{},os=class{},Sc=class{resolveComponentFactory(t){throw new C(917,!1)}},Zr=class{static NULL=new Sc},Lr=class{},Qr=(()=>{class e{destroyNode=null;static __NG_ELEMENT_ID__=()=>GE()}return e})();function GE(){let e=m(),t=Z(),n=ve(t.index,e);return(tt(n)?n:e)[O]}var ph=(()=>{class e{static \u0275prov=_({token:e,providedIn:"root",factory:()=>null})}return e})();var Ii={},Nc=class{injector;parentInjector;constructor(t,n){this.injector=t,this.parentInjector=n}get(t,n,r){let o=this.injector.get(t,Ii,r);return o!==Ii||n===Ii?o:this.parentInjector.get(t,n,r)}};function ki(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=qo(o,a);else if(i==2){let c=a,u=t[++s];r=qo(r,c+": "+u+";")}}n?e.styles=r:e.stylesWithoutHost=r,n?e.classes=o:e.classesWithoutHost=o}function ee(e,t=0){let n=m();if(n===null)return P(e,t);let r=Z();return zf(r,n,Y(e),t)}function zE(){let e="invalid";throw new Error(e)}function hh(e,t,n,r,o){let i=r===null?null:{"":-1},s=o(e,n);if(s!==null){let a=s,c=null,u=null;for(let l of s)if(l.resolveHostDirectives!==null){[a,c,u]=l.resolveHostDirectives(s);break}ZE(e,t,n,a,i,c,u)}i!==null&&r!==null&&WE(n,r,i)}function WE(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 C(-301,!1);r.push(t[o],i)}}function qE(e,t,n){t.componentOffset=n,(e.components??=[]).push(t.index)}function ZE(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&&Ae(f)&&(c=f,qE(e,n,p)),fc(Ni(n,t),e,f.type)}eI(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 u=!1,l=!1,d=Sp(e,t,a,null);a>0&&(n.directiveToIndex=new Map);for(let p=0;p<a;p++){let f=r[p];if(n.mergedAttrs=jn(n.mergedAttrs,f.hostAttrs),YE(e,n,t,d,f),XE(d,f,o),s!==null&&s.has(f)){let[E,v]=s.get(f);n.directiveToIndex.set(f.type,[d,E+n.directiveStart,v+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;!u&&(h.ngOnChanges||h.ngOnInit||h.ngDoCheck)&&((e.preOrderHooks??=[]).push(n.index),u=!0),!l&&(h.ngOnChanges||h.ngDoCheck)&&((e.preOrderCheckHooks??=[]).push(n.index),l=!0),d++}QE(e,n,i)}function QE(e,t,n){for(let r=t.directiveStart;r<t.directiveEnd;r++){let o=e.data[r];if(n===null||!n.has(o))hf(0,t,o,r),hf(1,t,o,r),mf(t,r,!1);else{let i=n.get(o);gf(0,t,i,r),gf(1,t,i,r),mf(t,r,!0)}}}function hf(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),gh(t,i)}}function gf(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),gh(t,s)}}function gh(e,t){t==="class"?e.flags|=8:t==="style"&&(e.flags|=16)}function mf(e,t,n){let{attrs:r,inputs:o,hostDirectiveInputs:i}=e;if(r===null||!n&&o===null||n&&i===null||tu(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 u=o[c];for(let l of u)if(l===t){s??=[],s.push(c,r[a+1]);break}}else if(n&&i.hasOwnProperty(c)){let u=i[c];for(let l=0;l<u.length;l+=2)if(u[l]===t){s??=[],s.push(u[l+1],r[a+1]);break}}a+=2}e.initialInputs??=[],e.initialInputs.push(s)}function YE(e,t,n,r,o){e.data[r]=o;let i=o.factory||(o.factory=yt(o.type,!0)),s=new rn(i,Ae(o),ee,null);e.blueprint[r]=s,n[r]=s,KE(e,t,r,Sp(e,n,o.hostVars,X),o)}function KE(e,t,n,r,o){let i=o.hostBindings;if(i){let s=e.hostBindingOpCodes;s===null&&(s=e.hostBindingOpCodes=[]);let a=~t.index;JE(s)!=a&&s.push(a),s.push(n,r,i)}}function JE(e){let t=e.length;for(;t>0;){let n=e[--t];if(typeof n=="number"&&n<0)return n}return 0}function XE(e,t,n){if(n){if(t.exportAs)for(let r=0;r<t.exportAs.length;r++)n[t.exportAs[r]]=e;Ae(t)&&(n[""]=e)}}function eI(e,t,n){e.flags|=1,e.directiveStart=t,e.directiveEnd=t+n,e.providerIndexes=t}function vu(e,t,n,r,o,i,s,a){let c=t[D],u=c.consts,l=De(u,s),d=Zn(c,e,n,r,l);return i&&hh(c,t,d,De(u,a),o),d.mergedAttrs=jn(d.mergedAttrs,d.attrs),d.attrs!==null&&ki(d,d.attrs,!1),d.mergedAttrs!==null&&ki(d,d.mergedAttrs,!0),c.queries!==null&&c.queries.elementStart(c,d),d}function Du(e,t){Pf(e,t),Na(t)&&e.queries.elementEnd(t)}function tI(e,t,n,r,o,i){let s=t.consts,a=De(s,o),c=Zn(t,e,n,r,a);if(c.mergedAttrs=jn(c.mergedAttrs,c.attrs),i!=null){let u=De(s,i);c.localNames=[];for(let l=0;l<u.length;l+=2)c.localNames.push(u[l],-1)}return c.attrs!==null&&ki(c,c.attrs,!1),c.mergedAttrs!==null&&ki(c,c.mergedAttrs,!0),t.queries!==null&&t.queries.elementStart(t,c),c}function Eu(e){return is(e)?Array.isArray(e)||!(e instanceof Map)&&Symbol.iterator in e:!1}function mh(e,t){if(Array.isArray(e))for(let n=0;n<e.length;n++)t(e[n]);else{let n=e[Symbol.iterator](),r;for(;!(r=n.next()).done;)t(r.value)}}function is(e){return e!==null&&(typeof e=="function"||typeof e=="object")}function St(e,t,n){return e[t]=n}function ss(e,t){return e[t]}function re(e,t,n){if(n===X)return!1;let r=e[t];return Object.is(r,n)?!1:(e[t]=n,!0)}function Gn(e,t,n,r){let o=re(e,t,n);return re(e,t+1,r)||o}function yh(e,t,n,r,o){let i=Gn(e,t,n,r);return re(e,t+2,o)||i}function Yr(e,t,n,r,o,i){let s=Gn(e,t,n,r);return Gn(e,t+2,o,i)||s}function Ci(e,t,n){return function r(o){let i=r.__ngNativeEl__;i!==void 0&&Pv(o,i);let s=Ue(e)?ve(e.index,t):t;yu(s,5);let a=t[q],c=yf(t,a,n,o),u=r.__ngNextListenerFn__;for(;u;)c=yf(t,a,u,o)&&c,u=u.__ngNextListenerFn__;return c}}function yf(e,t,n,r){let o=y(null);try{return F(A.OutputStart,t,n),n(r)!==!1}catch(i){return DE(e,i),!1}finally{F(A.OutputEnd,t,n),y(o)}}function vh(e,t,n,r,o,i,s,a){let c=An(e),u=!1,l=null;if(!r&&c&&(l=rI(t,n,i,e.index)),l!==null){let d=l.__ngLastListenerFn__||l;d.__ngNextListenerFn__=s,l.__ngLastListenerFn__=s,u=!0}else{let d=de(e,n),p=r?r(d):d;jv(n,p,i,a),r||(a.__ngNativeEl__=d);let f=o.listen(p,i,a);if(!nI(i)){let h=r?E=>r(ye(E[e.index])):e.index;Dh(h,t,n,i,a,f,!1)}}return u}function nI(e){return e.startsWith("animation")||e.startsWith("transition")}function rI(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[Sn],c=o[i+2];return a&&a.length>c?a[c]:null}typeof s=="string"&&(i+=2)}return null}function Dh(e,t,n,r,o,i,s){let a=t.firstCreatePass?ja(t):null,c=La(n),u=c.length;c.push(o,i),a&&a.push(r,e,u,(u+1)*(s?-1:1))}function vf(e,t,n,r,o,i){let s=t[n],a=t[D],u=a.data[n].outputs[r],d=s[u].subscribe(i);Dh(e.index,a,t,o,i,d,!0)}var Ac=Symbol("BINDING");function Eh(e){return e.debugInfo?.className||e.type.name||null}var Fi=class extends Zr{ngModule;constructor(t){super(),this.ngModule=t}resolveComponentFactory(t){let n=Be(t);return new _t(n,this.ngModule)}};function oI(e){return Object.keys(e).map(t=>{let[n,r,o]=e[t],i={propName:n,templateName:t,isSignal:(r&Zi.SignalBased)!==0};return o&&(i.transform=o),i})}function iI(e){return Object.keys(e).map(t=>({propName:e[t],templateName:t}))}function sI(e,t,n){let r=t instanceof ie?t:t?.injector;return r&&e.getStandaloneInjector!==null&&(r=e.getStandaloneInjector(r)||r),r?new Nc(n,r):n}function aI(e){let t=e.get(Lr,null);if(t===null)throw new C(407,!1);let n=e.get(ph,null),r=e.get(Te,null),o=e.get(at,null,{optional:!0});return{rendererFactory:t,sanitizer:n,changeDetectionScheduler:r,ngReflect:!1,tracingService:o}}function cI(e,t){let n=Ih(e);return vp(t,n,n==="svg"?Aa:n==="math"?pd:null)}function Ih(e){return(e.selectors[0][0]||"div").toLowerCase()}var _t=class extends os{componentDef;ngModule;selector;componentType;ngContentSelectors;isBoundToModule;cachedInputs=null;cachedOutputs=null;get inputs(){return this.cachedInputs??=oI(this.componentDef.inputs),this.cachedInputs}get outputs(){return this.cachedOutputs??=iI(this.componentDef.outputs),this.cachedOutputs}constructor(t,n){super(),this.componentDef=t,this.ngModule=n,this.componentType=t.type,this.selector=RD(t.selectors),this.ngContentSelectors=t.ngContentSelectors??[],this.isBoundToModule=!!n}create(t,n,r,o,i,s){F(A.DynamicComponentStart);let a=y(null);try{let c=this.componentDef,u=sI(c,o||this.ngModule,t),l=aI(u),d=l.tracingService;return d&&d.componentCreate?d.componentCreate(Eh(c),()=>this.createComponentRef(l,u,n,r,i,s)):this.createComponentRef(l,u,n,r,i,s)}finally{y(a)}}createComponentRef(t,n,r,o,i,s){let a=this.componentDef,c=uI(o,a,s,i),u=t.rendererFactory.createRenderer(null,a),l=o?lE(u,o,a.encapsulation,n):cI(a,u),d=s?.some(Df)||i?.some(h=>typeof h!="function"&&h.bindings.some(Df)),p=ru(null,c,null,512|Mp(a),null,null,t,u,n,null,cp(l,n,!0));p[V]=l,ci(p);let f=null;try{let h=vu(V,p,2,"#host",()=>c.directiveRegistry,!0,0);Ip(u,l,h),Bn(l,p),ts(c,p,h),Jc(c,h,p),Du(c,h),r!==void 0&&dI(h,this.ngContentSelectors,r),f=ve(h.index,p),p[q]=f[q],mu(c,p,null)}catch(h){throw f!==null&&hc(f),hc(p),h}finally{F(A.DynamicComponentEnd),ui()}return new Pi(this.componentType,p,!!d)}};function uI(e,t,n,r){let o=e?["ng-version","21.2.12"]:OD(t.selectors[0]),i=null,s=null,a=0;if(n)for(let l of n)a+=l[Ac].requiredVars,l.create&&(l.targetIdx=0,(i??=[]).push(l)),l.update&&(l.targetIdx=0,(s??=[]).push(l));if(r)for(let l=0;l<r.length;l++){let d=r[l];if(typeof d!="function")for(let p of d.bindings){a+=p[Ac].requiredVars;let f=l+1;p.create&&(p.targetIdx=f,(i??=[]).push(p)),p.update&&(p.targetIdx=f,(s??=[]).push(p))}}let c=[t];if(r)for(let l of r){let d=typeof l=="function"?l:l.type,p=Yo(d);c.push(p)}return nu(0,null,lI(i,s),1,a,c,null,null,null,[o],null)}function lI(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 Df(e){let t=e[Ac].kind;return t==="input"||t==="twoWay"}var Pi=class extends fh{_rootLView;_hasInputBindings;instance;hostView;changeDetectorRef;componentType;location;previousInputValues=null;_tNode;constructor(t,n,r){super(),this._rootLView=n,this._hasInputBindings=r,this._tNode=ni(n[D],V),this.location=qn(this._tNode,n),this.instance=ve(this._tNode.index,n)[q],this.hostView=this.changeDetectorRef=new bt(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=ns(r,o[D],o,t,n);this.previousInputValues.set(t,n);let s=ve(r.index,o);yu(s,1)}get injector(){return new tn(this._tNode,this._rootLView)}destroy(){this.hostView.destroy()}onDestroy(t){this.hostView.onDestroy(t)}};function dI(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 Nt=(()=>{class e{static __NG_ELEMENT_ID__=fI}return e})();function fI(){let e=Z();return Ch(e,m())}var xc=class e extends Nt{_lContainer;_hostTNode;_hostLView;constructor(t,n,r){super(),this._lContainer=t,this._hostTNode=n,this._hostLView=r}get element(){return qn(this._hostTNode,this._hostLView)}get injector(){return new tn(this._hostTNode,this._hostLView)}get parentInjector(){let t=Qc(this._hostTNode,this._hostLView);if(Bf(t)){let n=Mi(t,this._hostLView),r=_i(t),o=n[D].data[r+8];return new tn(o,n)}else return new tn(null,this._hostLView)}clear(){for(;this.length>0;)this.remove(this.length-1)}get(t){let n=Ef(this._lContainer);return n!==null&&n[t]||null}get length(){return this._lContainer.length-G}createEmbeddedView(t,n,r){let o,i;typeof r=="number"?o=r:r!=null&&(o=r.index,i=r.injector);let s=Oi(this._lContainer,t.ssrId),a=t.createEmbeddedViewImpl(n||{},i,s);return this.insertImpl(a,o,Un(this._hostTNode,s)),a}createComponent(t,n,r,o,i,s,a){let c=t&&!av(t),u;if(c)u=n;else{let v=n||{};u=v.index,r=v.injector,o=v.projectableNodes,i=v.environmentInjector||v.ngModuleRef,s=v.directives,a=v.bindings}let l=c?t:new _t(Be(t)),d=r||this.parentInjector;if(!i&&l.ngModule==null){let I=(c?d:this.parentInjector).get(ie,null);I&&(i=I)}let p=Be(l.componentType??{}),f=Oi(this._lContainer,p?.id??null),h=f?.firstChild??null,E=l.create(d,o,h,i,s,a);return this.insertImpl(E.hostView,u,Un(this._hostTNode,f)),E}insert(t,n){return this.insertImpl(t,n,!0)}insertImpl(t,n,r){let o=t._lView;if(gd(o)){let a=this.indexOf(t);if(a!==-1)this.detach(a);else{let c=o[K],u=new e(c,c[se],c[K]);u.detach(u.indexOf(t))}}let i=this._adjustIndex(n),s=this._lContainer;return qr(s,o,i,r),t.attachToViewContainerRef(),Da(oc(s),i,t),t}move(t,n){return this.insert(t,n)}indexOf(t){let n=Ef(this._lContainer);return n!==null?n.indexOf(t):-1}remove(t){let n=this._adjustIndex(t,-1),r=Pr(this._lContainer,n);r&&(Dr(oc(this._lContainer),n),Xi(r[D],r))}detach(t){let n=this._adjustIndex(t,-1),r=Pr(this._lContainer,n);return r&&Dr(oc(this._lContainer),n)!=null?new bt(r):null}_adjustIndex(t,n=0){return t??this.length+n}};function Ef(e){return e[Ir]}function oc(e){return e[Ir]||(e[Ir]=[])}function Ch(e,t){let n,r=t[e.index];return Ne(r)?n=r:(n=ah(r,t,null,e),t[e.index]=n,ou(t,n)),hI(n,t,e,r),new xc(n,e,t)}function pI(e,t){let n=e[O],r=n.createComment(""),o=de(t,e),i=n.parentNode(o);return xi(n,i,r,n.nextSibling(o),!1),r}var hI=yI,gI=()=>!1;function mI(e,t,n){return gI(e,t,n)}function yI(e,t,n,r){if(e[It])return;let o;n.type&8?o=ye(r):o=pI(t,n),e[It]=o}var Rc=class e{queryList;matches=null;constructor(t){this.queryList=t}clone(){return new e(this.queryList)}setDirty(){this.queryList.setDirty()}},Oc=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++)Cu(t,n).matches!==null&&this.queries[n].setDirty()}},Li=class{flags;read;predicate;constructor(t,n,r=null){this.flags=n,this.read=r,typeof t=="string"?this.predicate=CI(t):this.predicate=t}},kc=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)}},Fc=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,vI(n,i)),this.matchTNodeWithReadOption(t,n,Ei(n,t,i,!1,!1))}else r===Tt?n.type&4&&this.matchTNodeWithReadOption(t,n,-1):this.matchTNodeWithReadOption(t,n,Ei(n,t,r,!1,!1))}matchTNodeWithReadOption(t,n,r){if(r!==null){let o=this.metadata.read;if(o!==null)if(o===it||o===Nt||o===Tt&&n.type&4)this.addMatch(n.index,-2);else{let i=Ei(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 vI(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 DI(e,t){return e.type&11?qn(e,t):e.type&4?rs(e,t):null}function EI(e,t,n,r){return n===-1?DI(t,e):n===-2?II(e,t,r):xr(e,e[D],n,t)}function II(e,t,n){if(n===it)return qn(t,e);if(n===Tt)return rs(t,e);if(n===Nt)return Ch(t,e)}function wh(e,t,n,r){let o=t[Ve].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 u=s[c];if(u<0)a.push(null);else{let l=i[u];a.push(EI(t,l,s[c+1],n.metadata.read))}}o.matches=a}return o.matches}function Pc(e,t,n,r){let o=e.queries.getByIndex(n),i=o.matches;if(i!==null){let s=wh(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 u=i[a+1],l=t[-c];for(let d=G;d<l.length;d++){let p=l[d];p[Et]===p[K]&&Pc(p[D],p,u,r)}if(l[Kt]!==null){let d=l[Kt];for(let p=0;p<d.length;p++){let f=d[p];Pc(f[D],f,u,r)}}}}}return r}function Iu(e,t){return e[Ve].queries[t].queryList}function bh(e,t,n){let r=new Ai((n&4)===4);return vd(e,t,r,r.destroy),(t[Ve]??=new Oc).queries.push(new Rc(r))-1}function Th(e,t,n){let r=L();return r.firstCreatePass&&(Mh(r,new Li(e,t,n),-1),(t&2)===2&&(r.staticViewQueries=!0)),bh(r,m(),t)}function _h(e,t,n,r){let o=L();if(o.firstCreatePass){let i=Z();Mh(o,new Li(t,n,r),i.index),wI(o,e),(n&2)===2&&(o.staticContentQueries=!0)}return bh(o,m(),n)}function CI(e){return e.split(",").map(t=>t.trim())}function Mh(e,t,n){e.queries===null&&(e.queries=new kc),e.queries.track(new Fc(t,n))}function wI(e,t){let n=e.contentQueries||(e.contentQueries=[]),r=n.length?n[n.length-1]:-1;t!==r&&n.push(e.queries.length-1,t)}function Cu(e,t){return e.queries.getByIndex(t)}function Sh(e,t){let n=e[D],r=Cu(n,t);return r.crossesNgTemplate?Pc(n,e,t,[]):wh(n,e,r,t)}function Nh(e,t,n){let r,o=nr(()=>{r._dirtyCounter();let i=bI(r,e);if(t&&i===void 0)throw new C(-951,!1);return i});return r=o[U],r._dirtyCounter=di(0),r._flatValue=void 0,o}function wu(e){return Nh(!0,!1,e)}function bu(e){return Nh(!0,!0,e)}function Ah(e,t){let n=e[U];n._lView=m(),n._queryIndex=t,n._queryList=Iu(n._lView,t),n._queryList.onDirty(()=>n._dirtyCounter.update(r=>r+1))}function bI(e,t){let n=e._lView,r=e._queryIndex;if(n===void 0||r===void 0||n[w]&4)return t?void 0:ne;let o=Iu(n,r),i=Sh(n,r);return o.reset(i,Qf),t?o.first:o._changesDetected||e._flatValue===void 0?e._flatValue=o.toArray():e._flatValue}var sn=class{},xh=class{};var ji=class extends sn{ngModuleType;_parent;_bootstrapComponents=[];_r3Injector;instance;destroyCbs=[];componentFactoryResolver=new Fi(this);constructor(t,n,r,o=!0){super(),this.ngModuleType=t,this._parent=n;let i=ma(t);this._bootstrapComponents=bp(i.bootstrap),this._r3Injector=Ya(t,n,[{provide:sn,useValue:this},{provide:Zr,useValue:this.componentFactoryResolver},...r],mr(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)}},Bi=class extends xh{moduleType;constructor(t){super(),this.moduleType=t}create(t){return new ji(this.moduleType,t,[])}};var jr=class extends sn{injector;componentFactoryResolver=new Fi(this);instance=null;constructor(t){super();let n=new Gt([...t.providers,{provide:sn,useValue:this},{provide:Zr,useValue:this.componentFactoryResolver}],t.parent||_n(),t.debugName,new Set(["environment"]));this.injector=n,t.runEnvironmentInitializers&&n.resolveInjectorInitializers()}destroy(){this.injector.destroy()}onDestroy(t){this.injector.onDestroy(t)}};function Rh(e,t,n=null){return new jr({providers:e,parent:t,debugName:n,runEnvironmentInitializers:!0}).injector}var TI=(()=>{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=Ca(!1,n.type),o=r.length>0?Rh([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=_({token:e,providedIn:"environment",factory:()=>new e(P(ie))})}return e})();function _I(e){return Hr(()=>{let t=kh(e),n=$(j({},t),{decls:e.decls,vars:e.vars,template:e.template,consts:e.consts||null,ngContentSelectors:e.ngContentSelectors,onPush:e.changeDetection===Kc.OnPush,directiveDefs:null,pipeDefs:null,dependencies:t.standalone&&e.dependencies||null,getStandaloneInjector:t.standalone?o=>o.get(TI).getOrCreateStandaloneInjector(n):null,getExternalStyles:null,signals:e.signals??!1,data:e.data||{},encapsulation:e.encapsulation||on.Emulated,styles:e.styles||ne,_:null,schemas:e.schemas||null,tView:null,id:""});t.standalone&&Oe("NgStandalone"),Fh(n);let r=e.dependencies;return n.directiveDefs=If(r,MI),n.pipeDefs=If(r,Xl),n.id=AI(n),n})}function MI(e){return Be(e)||Yo(e)}function as(e){return Hr(()=>({type:e.type,bootstrap:e.bootstrap||ne,declarations:e.declarations||ne,imports:e.imports||ne,exports:e.exports||ne,transitiveCompileScopes:null,schemas:e.schemas||null,id:e.id||null}))}function SI(e,t){if(e==null)return _e;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=Zi.None,c=null),n[i]=[r,a,c],t[i]=s}return n}function NI(e){if(e==null)return _e;let t={};for(let n in e)e.hasOwnProperty(n)&&(t[e[n]]=n);return t}function cn(e){return Hr(()=>{let t=kh(e);return Fh(t),t})}function Oh(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 kh(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||_e,exportAs:e.exportAs||null,standalone:e.standalone??!0,signals:e.signals===!0,selectors:e.selectors||ne,viewQuery:e.viewQuery||null,features:e.features||null,setInput:null,resolveHostDirectives:null,hostDirectives:null,controlDef:null,inputs:SI(e.inputs,t),outputs:NI(e.outputs),debugInfo:null}}function Fh(e){e.features?.forEach(t=>t(e))}function If(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 AI(e){let t=0,n=typeof e.consts=="function"?"":e.consts,r=[e.selectors,e.ngContentSelectors,e.hostVars,e.hostAttrs,n,e.vars,e.decls,e.encapsulation,e.standalone,e.signals,e.exportAs,JSON.stringify(e.inputs),JSON.stringify(e.outputs),Object.getOwnPropertyNames(e.type.prototype),!!e.contentQueries,!!e.viewQuery];for(let i of r.join("|"))t=Math.imul(31,t)+i.charCodeAt(0)<<0;return t+=2147483648,"c"+t}function xI(e){let t=n=>{let r=Array.isArray(e);n.hostDirectives===null?(n.resolveHostDirectives=RI,n.hostDirectives=r?e.map(Lc):[e]):r?n.hostDirectives.unshift(...e.map(Lc)):n.hostDirectives.unshift(e)};return t.ngInherit=!0,t}function RI(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,Ph(s,t,r),o.set(s,[a,t.length-1])}i===0&&Ae(s)&&(n=!0,t.push(s))}for(let i=n?1:0;i<e.length;i++)t.push(e[i]);return[t,r,o]}function Ph(e,t,n){if(e.hostDirectives!==null)for(let r of e.hostDirectives)if(typeof r=="function"){let o=r();for(let i of o)Cf(Lc(i),t,n)}else Cf(r,t,n)}function Cf(e,t,n){let r=Yo(e.directive);OI(r.declaredInputs,e.inputs),Ph(r,t,n),n.set(r,e),t.push(r)}function Lc(e){return typeof e=="function"?{directive:Y(e),inputs:_e,outputs:_e}:{directive:Y(e.directive),inputs:wf(e.inputs),outputs:wf(e.outputs)}}function wf(e){if(e===void 0||e.length===0)return _e;let t={};for(let n=0;n<e.length;n+=2)t[e[n]]=e[n+1];return t}function OI(e,t){for(let n in t)if(t.hasOwnProperty(n)){let r=t[n],o=e[n];e[r]=o}}function kI(e){return Object.getPrototypeOf(e.prototype).constructor}function Lh(e){let t=kI(e.type),n=!0,r=[e];for(;t;){let o;if(Ae(e))o=t.\u0275cmp||t.\u0275dir;else{if(t.\u0275cmp)throw new C(903,!1);o=t.\u0275dir}if(o){if(n){r.push(o);let s=e;s.inputs=ic(e.inputs),s.declaredInputs=ic(e.declaredInputs),s.outputs=ic(e.outputs);let a=o.hostBindings;a&&BI(e,a);let c=o.viewQuery,u=o.contentQueries;if(c&&LI(e,c),u&&jI(e,u),FI(e,o),Jl(e.outputs,o.outputs),Ae(o)&&o.data.animation){let l=e.data;l.animation=(l.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===Lh&&(n=!1)}}t=Object.getPrototypeOf(t)}PI(r)}function FI(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 PI(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=jn(o.hostAttrs,n=jn(n,o.hostAttrs))}}function ic(e){return e===_e?{}:e===ne?[]:e}function LI(e,t){let n=e.viewQuery;n?e.viewQuery=(r,o)=>{t(r,o),n(r,o)}:e.viewQuery=t}function jI(e,t){let n=e.contentQueries;n?e.contentQueries=(r,o,i)=>{t(r,o,i),n(r,o,i)}:e.contentQueries=t}function BI(e,t){let n=e.hostBindings;n?e.hostBindings=(r,o)=>{t(r,o),n(r,o)}:e.hostBindings=t}function jh(e,t,n,r,o,i,s,a){if(n.firstCreatePass){e.mergedAttrs=jn(e.mergedAttrs,e.attrs);let l=e.tView=nu(2,e,o,i,s,n.directiveRegistry,n.pipeRegistry,null,n.schemas,n.consts,null);n.queries!==null&&(n.queries.template(n,e),l.queries=n.queries.embeddedTView(e))}a&&(e.flags|=a),Rn(e,!1);let c=HI(n,t,e,r);li()&&du(n,t,c,e),Bn(c,t);let u=ah(c,t,c,e);t[r+V]=u,ou(t,u),mI(u,e,t)}function VI(e,t,n,r,o,i,s,a,c,u,l){let d=n+V,p;return t.firstCreatePass?(p=Zn(t,d,4,s||null,a||null),ii()&&hh(t,e,p,De(t.consts,u),pu),Pf(t,p)):p=t.data[d],jh(p,e,t,n,r,o,i,c),An(p)&&ts(t,e,p),u!=null&&zr(e,p,l),p}function Br(e,t,n,r,o,i,s,a,c,u,l){let d=n+V,p;if(t.firstCreatePass){if(p=Zn(t,d,4,s||null,a||null),u!=null){let f=De(t.consts,u);p.localNames=[];for(let h=0;h<f.length;h+=2)p.localNames.push(f[h],-1)}}else p=t.data[d];return jh(p,e,t,n,r,o,i,c),u!=null&&zr(e,p,l),p}function Bh(e,t,n,r,o,i,s,a){let c=m(),u=L(),l=De(u.consts,i);return VI(c,u,e,t,n,r,o,l,void 0,s,a),Bh}var HI=$I;function $I(e,t,n,r){return Tr(!0),t[O].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=_({token:e,factory:e.\u0275fac,providedIn:"platform"})}return e})();function Tu(e){return typeof e=="function"&&e[U]!==void 0}function _u(e){return Tu(e)&&typeof e.set=="function"}var Vh=new b("");function cs(e){return!!e&&typeof e.then=="function"}function Mu(e){return!!e&&typeof e.subscribe=="function"}var Su=new b("");function GI(e){return Tn([{provide:Su,multi:!0,useValue:e}])}var Nu=(()=>{class e{resolve;reject;initialized=!1;done=!1;donePromise=new Promise((n,r)=>{this.resolve=n,this.reject=r});appInits=g(Su,{optional:!0})??[];injector=g(le);constructor(){}runInitializers(){if(this.initialized)return;let n=[];for(let o of this.appInits){let i=Mn(this.injector,o);if(cs(i))n.push(i);else if(Mu(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=_({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})(),Hh=new b("");function $h(){Os(()=>{let e="";throw new C(600,e)})}function Uh(e){return e.isBoundToModule}var zI=10;var Kr=(()=>{class e{_runningTick=!1;_destroyed=!1;_destroyListeners=[];_views=[];internalErrorHandler=g(rt);afterRenderManager=g(Ki);zonelessEnabled=g(Fn);rootEffectScheduler=g(pi);dirtyFlags=0;tracingSnapshot=null;allTestViews=new Set;autoDetectTestViews=new Set;includeAllTestViews=!1;afterTick=new be;get allViews(){return[...(this.includeAllTestViews?this.allTestViews:this.autoDetectTestViews).keys(),...this._views]}get destroyed(){return this._destroyed}componentTypes=[];components=[];internalPendingTask=g(wt);get isStable(){return this.internalPendingTask.hasPendingTasksObservable.pipe(he(n=>!n))}constructor(){g(at,{optional:!0})}whenStable(){let n;return new Promise(r=>{n=this.isStable.subscribe({next:o=>{o&&r()}})}).finally(()=>{n.unsubscribe()})}_injector=g(ie);_rendererFactory=null;get injector(){return this._injector}bootstrap(n,r){return this.bootstrapImpl(n,r)}bootstrapImpl(n,r,o=le.NULL){return this._injector.get(W).run(()=>{F(A.BootstrapComponentStart);let s=n instanceof os;if(!this._injector.get(Nu).done){let h="";throw new C(405,h)}let c;s?c=n:c=this._injector.get(Zr).resolveComponentFactory(n),this.componentTypes.push(c.componentType);let u=Uh(c)?void 0:this._injector.get(sn),l=r||c.selector,d=c.create(o,[],l,u),p=d.location.nativeElement,f=d.injector.get(Vh,null);return f?.registerApplication(p),d.onDestroy(()=>{this.detachView(d.hostView),Ar(this.components,d),f?.unregisterApplication(p)}),this._loadComponent(d),F(A.BootstrapComponentEnd,d),d})}tick(){this.zonelessEnabled||(this.dirtyFlags|=1),this._tick()}_tick(){F(A.ChangeDetectionStart),this.tracingSnapshot!==null?this.tracingSnapshot.run(Yi.CHANGE_DETECTION,this.tickImpl):this.tickImpl()}tickImpl=()=>{if(this._runningTick)throw F(A.ChangeDetectionEnd),new C(101,!1);let n=y(null);try{this._runningTick=!0,this.synchronize()}finally{this._runningTick=!1,this.tracingSnapshot?.dispose(),this.tracingSnapshot=null,y(n),this.afterTick.next(),F(A.ChangeDetectionEnd)}};synchronize(){this._rendererFactory===null&&!this._injector.destroyed&&(this._rendererFactory=this._injector.get(Lr,null,{optional:!0}));let n=0;for(;this.dirtyFlags!==0&&n++<zI;){F(A.ChangeDetectionSyncStart);try{this.synchronizeOnce()}finally{F(A.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&&!Cr(o))continue;let i=r&&!this.zonelessEnabled?0:1;rh(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})=>Cr(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;Ar(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(Hh,[]).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),()=>Ar(this._destroyListeners,n)}destroy(){if(this._destroyed)throw new C(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=_({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();function Ar(e,t){let n=e.indexOf(t);n>-1&&e.splice(n,1)}function Gh(){let e,t;return{promise:new Promise((r,o)=>{e=r,t=o}),resolve:e,reject:t}}function zh(e,t){let n=m(),r=nt();if(re(n,r,t)){let o=L(),i=On();if(ns(i,o,n,e,t))Ue(i)&&Yp(n,i.index);else{let a=de(i,n);Kp(n[O],a,null,i.value,e,t,null)}}return zh}function Wh(e,t,n,r){let o=m(),i=nt();if(re(o,i,t)){let s=L(),a=On();yE(a,o,e,t,n,r)}return Wh}function wi(e){if(Oe("NgAnimateEnter"),!Gr)return wi;let t=m();if(xp(t))return wi;let n=Z(),r=t[ae].get(W);return kp(af(t),n,()=>WI(t,n,e,r)),Vp(t[ae]),Hp(t[ae],af(t)),wi}function WI(e,t,n,r){let o=de(t,e),i=e[O],s=Op(n),a=[],c=!1,u=d=>{if(Or(d)!==o)return;let p=d instanceof AnimationEvent?"animationend":"transitionend";r.runOutsideAngular(()=>{i.listen(o,p,l)})},l=d=>{Or(d)===o&&(au(d,o)&&(c=!0),qI(d,o,i))};if(s&&s.length>0){r.runOutsideAngular(()=>{a.push(i.listen(o,"animationstart",u)),a.push(i.listen(o,"transitionstart",u))}),VD(o,s,a);for(let d of s)i.addClass(o,d);r.runOutsideAngular(()=>{requestAnimationFrame(()=>{if(!c&&(Lp(o,nn,Gr),!nn.has(o))){for(let d of s)i.removeClass(o,d);su(o)}})})}}function qI(e,t,n){let r=Hn.get(t);if(!(Or(e)!==t||!r)&&au(e,t)){e.stopPropagation();for(let o of r.classList)n.removeClass(t,o);su(t)}}function bi(e){if(Oe("NgAnimateLeave"),!Gr)return bi;let t=m();if(xp(t))return bi;let r=Z(),o=t[ae].get(W);return kp(Qi(t),r,()=>ZI(t,r,e,o)),Vp(t[ae]),bi}function ZI(e,t,n,r){let{promise:o,resolve:i}=Gh(),s=de(t,e),a=e[O];$n.add(e[He]),(Qi(e).get(t.index).resolvers??=[]).push(i);let c=Op(n);return c&&c.length>0?QI(s,t,e,c,a,r):i(),{promise:o,resolve:i}}function QI(e,t,n,r,o,i){$D(e,o);let s=[],a=Qi(n).get(t.index)?.resolvers,c,u=!1,l=d=>{if(!(Or(d)!==e&&d.type!=="animation-fallback")&&(d.type==="animation-fallback"||au(d,e))){if(u=!0,c&&clearTimeout(c),d.type!=="animation-fallback"&&d.stopPropagation(),nn.delete(e),sf(t,e),Array.isArray(t.projection))for(let f of r)o.removeClass(e,f);cf(a,s),uf(n,t)}};i.runOutsideAngular(()=>{s.push(o.listen(e,"animationend",l)),s.push(o.listen(e,"transitionend",l))}),Rp(t,e);for(let d of r)o.addClass(e,d);i.runOutsideAngular(()=>{requestAnimationFrame(()=>{if(u)return;Lp(e,nn,Gr);let d=nn.get(e);d?(c=setTimeout(()=>{l(new CustomEvent("animation-fallback"))},d.duration+50),s.push(()=>clearTimeout(c))):(sf(t,e),cf(a,s),uf(n,t))})})}var jc=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 sc(e,t,n,r,o){return e===n&&Object.is(t,r)?1:Object.is(o(e,t),o(n,r))?-1:0}function YI(e,t,n,r){let o,i,s=0,a=e.length-1,c=void 0;if(Array.isArray(t)){y(r);let u=t.length-1;for(y(null);s<=a&&s<=u;){let l=e.at(s),d=t[s],p=sc(s,l,s,d,n);if(p!==0){p<0&&e.updateValue(s,d),s++;continue}let f=e.at(a),h=t[u],E=sc(a,f,u,h,n);if(E!==0){E<0&&e.updateValue(a,h),a--,u--;continue}let v=n(s,l),I=n(a,f),Q=n(s,d);if(Object.is(Q,I)){let pe=n(u,h);Object.is(pe,v)?(e.swap(s,a),e.updateValue(a,h),u--,a--):e.move(a,s),e.updateValue(s,d),s++;continue}if(o??=new Vi,i??=Tf(e,s,a,n),Bc(e,o,s,Q))e.updateValue(s,d),s++,a++;else if(i.has(Q))o.set(v,e.detach(s)),a--;else{let pe=e.create(s,t[s]);e.attach(s,pe),s++,a++}}for(;s<=u;)bf(e,o,n,s,t[s]),s++}else if(t!=null){y(r);let u=t[Symbol.iterator]();y(null);let l=u.next();for(;!l.done&&s<=a;){let d=e.at(s),p=l.value,f=sc(s,d,s,p,n);if(f!==0)f<0&&e.updateValue(s,p),s++,l=u.next();else{o??=new Vi,i??=Tf(e,s,a,n);let h=n(s,p);if(Bc(e,o,s,h))e.updateValue(s,p),s++,a++,l=u.next();else if(!i.has(h))e.attach(s,e.create(s,p)),s++,a++,l=u.next();else{let E=n(s,d);o.set(E,e.detach(s)),a--}}}for(;!l.done;)bf(e,o,n,e.length,l.value),l=u.next()}for(;s<=a;)e.destroy(e.detach(a--));o?.forEach(u=>{e.destroy(u)})}function Bc(e,t,n,r){return t!==void 0&&t.has(r)?(e.attach(n,t.get(r)),t.delete(r),!0):!1}function bf(e,t,n,r,o){if(Bc(e,t,r,n(r,o)))e.updateValue(r,o);else{let i=e.create(r,o);e.attach(r,i)}}function Tf(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 Vi=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 KI(e,t,n,r,o,i,s,a){Oe("NgControlFlow");let c=m(),u=L(),l=De(u.consts,i);return Br(c,u,e,t,n,r,o,l,256,s,a),Au}function Au(e,t,n,r,o,i,s,a){Oe("NgControlFlow");let c=m(),u=L(),l=De(u.consts,i);return Br(c,u,e,t,n,r,o,l,512,s,a),Au}function JI(e,t){Oe("NgControlFlow");let n=m(),r=nt(),o=n[r]!==X?n[r]:-1,i=o!==-1?Hi(n,V+o):void 0,s=0;if(re(n,r,e)){let a=y(null);try{if(i!==void 0&&uh(i,s),e!==-1){let c=V+e,u=Hi(n,c),l=Uc(n[D],c),d=dh(u,l,n),p=Wr(n,l,t,{dehydratedView:d});qr(u,p,s,Un(l,d))}}finally{y(a)}}else if(i!==void 0){let a=ch(i,s);a!==void 0&&(a[q]=t)}}var Vc=class{lContainer;$implicit;$index;constructor(t,n,r){this.lContainer=t,this.$implicit=n,this.$index=r}get $count(){return this.lContainer.length-G}};function XI(e){return e}function eC(e,t){return t}var Hc=class{hasEmptyBlock;trackByFn;liveCollection;constructor(t,n,r){this.hasEmptyBlock=t,this.trackByFn=n,this.liveCollection=r}};function tC(e,t,n,r,o,i,s,a,c,u,l,d,p){Oe("NgControlFlow");let f=m(),h=L(),E=c!==void 0,v=m(),I=a?s.bind(v[ce][q]):s,Q=new Hc(E,I);v[V+e]=Q,Br(f,h,e+1,t,n,r,o,De(h.consts,i),256),E&&Br(f,h,e+2,c,u,l,d,De(h.consts,p),512)}var $c=class extends jc{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-G}at(t){return this.getLView(t)[q].$implicit}attach(t,n){let r=n[qt];this.needsIndexUpdate||=t!==this.length,qr(this.lContainer,n,t,Un(this.templateTNode,r)),rC(this.lContainer,t)}detach(t){return this.needsIndexUpdate||=t!==this.length-1,oC(this.lContainer,t),iC(this.lContainer,t)}create(t,n){let r=Oi(this.lContainer,this.templateTNode.tView.ssrId);return Wr(this.hostLView,this.templateTNode,new Vc(this.lContainer,n,t),{dehydratedView:r})}destroy(t){Xi(t[D],t)}updateValue(t,n){this.getLView(t)[q].$implicit=n}reset(){this.needsIndexUpdate=!1}updateIndexes(){if(this.needsIndexUpdate)for(let t=0;t<this.length;t++)this.getLView(t)[q].$index=t}getLView(t){return sC(this.lContainer,t)}};function nC(e){let t=y(null),n=xe();try{let r=m(),o=r[D],i=r[n],s=n+1,a=Hi(r,s);if(i.liveCollection===void 0){let u=Uc(o,s);i.liveCollection=new $c(a,r,u)}else i.liveCollection.reset();let c=i.liveCollection;if(YI(c,e,i.trackByFn,t),c.updateIndexes(),i.hasEmptyBlock){let u=nt(),l=c.length===0;if(re(r,u,l)){let d=n+2,p=Hi(r,d);if(l){let f=Uc(o,d),h=dh(p,f,r),E=Wr(r,f,void 0,{dehydratedView:h});qr(p,E,0,Un(f,h))}else o.firstUpdatePass&&VE(p),uh(p,0)}}}finally{y(t)}}function Hi(e,t){return e[t]}function rC(e,t){if(e.length<=G)return;let n=G+t,r=e[n],o=r?r[$e]:void 0;if(r&&o&&o.detachedLeaveAnimationFns&&o.detachedLeaveAnimationFns.length>0){let i=r[ae];YD(i,o),$n.delete(r[He]),o.detachedLeaveAnimationFns=void 0}}function oC(e,t){if(e.length<=G)return;let n=G+t,r=e[n],o=r?r[$e]:void 0;o&&o.leave&&o.leave.size>0&&(o.detachedLeaveAnimationFns=[])}function iC(e,t){return Pr(e,t)}function sC(e,t){return ch(e,t)}function Uc(e,t){return ni(e,t)}function qh(e,t,n){let r=m(),o=nt();if(re(r,o,t)){let i=L(),s=On();Zp(s,r,e,t,r[O],n)}return qh}function Gc(e,t,n,r,o){ns(t,e,n,o?"class":"style",r)}function $i(e,t,n,r){let o=m(),i=o[D],s=e+V,a=i.firstCreatePass?vu(s,o,2,t,pu,ii(),n,r):i.data[s];if(Ue(a)){let c=o[Se].tracingService;if(c&&c.componentCreate){let u=i.data[a.directiveStart+a.componentOffset];return c.componentCreate(Eh(u),()=>(_f(e,t,o,a,r),$i))}}return _f(e,t,o,a,r),$i}function _f(e,t,n,r,o){if(hu(r,n,e,t,Yh),An(r)){let i=n[D];ts(i,n,r),Jc(i,r,n)}o!=null&&zr(n,r)}function xu(){let e=L(),t=Z(),n=gu(t);return e.firstCreatePass&&Du(e,n),Ha(n)&&$a(),Ba(),n.classesWithoutHost!=null&&pv(n)&&Gc(e,n,m(),n.classesWithoutHost,!0),n.stylesWithoutHost!=null&&hv(n)&&Gc(e,n,m(),n.stylesWithoutHost,!1),xu}function Zh(e,t,n,r){return $i(e,t,n,r),xu(),Zh}function Ru(e,t,n,r){let o=m(),i=o[D],s=e+V,a=i.firstCreatePass?tI(s,i,2,t,n,r):i.data[s];return hu(a,o,e,t,Yh),r!=null&&zr(o,a),Ru}function Ou(){let e=Z(),t=gu(e);return Ha(t)&&$a(),Ba(),Ou}function Qh(e,t,n,r){return Ru(e,t,n,r),Ou(),Qh}var Yh=(e,t,n,r,o)=>(Tr(!0),vp(t[O],r,Fd()));function ku(e,t,n){let r=m(),o=r[D],i=e+V,s=o.firstCreatePass?vu(i,r,8,"ng-container",pu,ii(),t,n):o.data[i];if(hu(s,r,e,"ng-container",aC),An(s)){let a=r[D];ts(a,r,s),Jc(a,s,r)}return n!=null&&zr(r,s),ku}function Fu(){let e=L(),t=Z(),n=gu(t);return e.firstCreatePass&&Du(e,n),Fu}function Kh(e,t,n){return ku(e,t,n),Fu(),Kh}var aC=(e,t,n,r,o)=>(Tr(!0),hD(t[O],""));function cC(){return m()}function Jh(e,t,n){let r=m(),o=nt();if(re(r,o,t)){let i=L(),s=On();Qp(s,r,e,t,r[O],n)}return Jh}var Jr="en-US";var uC=Jr;function Xh(e){typeof e=="string"&&(uC=e.toLowerCase().replace(/_/g,"-"))}function eg(e,t,n){let r=m(),o=L(),i=Z();return ng(o,r,r[O],i,e,t,n),eg}function tg(e,t,n){let r=m(),o=L(),i=Z();return(i.type&3||n)&&vh(i,o,r,n,r[O],e,t,Ci(i,r,t)),tg}function ng(e,t,n,r,o,i,s){let a=!0,c=null;if((r.type&3||s)&&(c??=Ci(r,t,i),vh(r,e,t,s,n,o,i,c)&&(a=!1)),a){let u=r.outputs?.[o],l=r.hostDirectiveOutputs?.[o];if(l&&l.length)for(let d=0;d<l.length;d+=2){let p=l[d],f=l[d+1];c??=Ci(r,t,i),vf(r,t,p,f,o,c)}if(u&&u.length)for(let d of u)c??=Ci(r,t,i),vf(r,t,d,o,o,c)}}function lC(e=1){return Od(e)}function dC(e,t){let n=null,r=MD(e);for(let o=0;o<t.length;o++){let i=t[o];if(i==="*"){n=o;continue}if(r===null?_p(e,i,!0):AD(r,i))return o}return n}function fC(e){let t=m()[ce][se];if(!t.projection){let n=e?e.length:1,r=t.projection=id(n,null),o=r.slice(),i=t.child;for(;i!==null;){if(i.type!==128){let s=e?dC(i,e):0;s!==null&&(o[s]?o[s].projectionNext=i:r[s]=i,o[s]=i)}i=i.next}}}function pC(e,t=0,n,r,o,i){let s=m(),a=L(),c=r?e+1:null;c!==null&&Br(s,a,c,r,o,i,null,n);let u=Zn(a,V+e,16,null,n||null);u.projection===null&&(u.projection=t),za();let d=!s[qt]||Va();s[ce][se].projection[u.projection]===null&&c!==null?hC(s,a,c):d&&!zi(u)&&aE(a,s,u)}function hC(e,t,n){let r=V+n,o=t.data[r],i=e[r],s=Oi(i,o.tView.ssrId),a=Wr(e,o,void 0,{dehydratedView:s});qr(i,a,0,Un(o,s))}function rg(e,t,n,r){return _h(e,t,n,r),rg}function og(e,t,n){return Th(e,t,n),og}function gC(e){let t=m(),n=L(),r=ai();br(r+1);let o=Cu(n,r);if(e.dirty&&hd(t)===((o.metadata.flags&2)===2)){if(o.matches===null)e.reset([]);else{let i=Sh(t,r);e.reset(i,Qf),e.notifyOnChanges()}return!0}return!1}function mC(){return Iu(m(),ai())}function ig(e,t,n,r,o){return Ah(t,_h(e,n,r,o)),ig}function sg(e,t,n,r){return Ah(e,Th(t,n,r)),sg}function yC(e=1){br(ai()+e)}function vC(e){let t=bd();return Ra(t,V+e)}function yi(e,t){return e<<17|t<<2}function an(e){return e>>17&32767}function DC(e){return(e&2)==2}function EC(e,t){return e&131071|t<<17}function zc(e){return e|2}function zn(e){return(e&131068)>>2}function ac(e,t){return e&-131069|t<<2}function IC(e){return(e&1)===1}function Wc(e){return e|1}function CC(e,t,n,r,o,i){let s=i?t.classBindings:t.styleBindings,a=an(s),c=zn(s);e[r]=n;let u=!1,l;if(Array.isArray(n)){let d=n;l=d[1],(l===null||bn(d,l)>0)&&(u=!0)}else l=n;if(o)if(c!==0){let p=an(e[a+1]);e[r+1]=yi(p,a),p!==0&&(e[p+1]=ac(e[p+1],r)),e[a+1]=EC(e[a+1],r)}else e[r+1]=yi(a,0),a!==0&&(e[a+1]=ac(e[a+1],r)),a=r;else e[r+1]=yi(c,0),a===0?a=r:e[c+1]=ac(e[c+1],r),c=r;u&&(e[r+1]=zc(e[r+1])),Mf(e,l,r,!0),Mf(e,l,r,!1),wC(t,l,e,r,i),s=yi(a,c),i?t.classBindings=s:t.styleBindings=s}function wC(e,t,n,r,o){let i=o?e.residualClasses:e.residualStyles;i!=null&&typeof t=="string"&&bn(i,t)>=0&&(n[r+1]=Wc(n[r+1]))}function Mf(e,t,n,r){let o=e[n+1],i=t===null,s=r?an(o):zn(o),a=!1;for(;s!==0&&(a===!1||i);){let c=e[s],u=e[s+1];bC(c,t)&&(a=!0,e[s+1]=r?Wc(u):zc(u)),s=r?an(u):zn(u)}a&&(e[n+1]=r?zc(o):Wc(o))}function bC(e,t){return e===null||t==null||(Array.isArray(e)?e[1]:e)===t?!0:Array.isArray(e)&&typeof t=="string"?bn(e,t)>=0:!1}var J={textEnd:0,key:0,keyEnd:0,value:0,valueEnd:0};function ag(e){return e.substring(J.key,J.keyEnd)}function TC(e){return e.substring(J.value,J.valueEnd)}function _C(e){return lg(e),cg(e,Wn(e,0,J.textEnd))}function cg(e,t){let n=J.textEnd;return n===t?-1:(t=J.keyEnd=SC(e,J.key=t,n),Wn(e,t,n))}function MC(e){return lg(e),ug(e,Wn(e,0,J.textEnd))}function ug(e,t){let n=J.textEnd,r=J.key=Wn(e,t,n);return n===r?-1:(r=J.keyEnd=NC(e,r,n),r=Sf(e,r,n,58),r=J.value=Wn(e,r,n),r=J.valueEnd=AC(e,r,n),Sf(e,r,n,59))}function lg(e){J.key=0,J.keyEnd=0,J.value=0,J.valueEnd=0,J.textEnd=e.length}function Wn(e,t,n){for(;t<n&&e.charCodeAt(t)<=32;)t++;return t}function SC(e,t,n){for(;t<n&&e.charCodeAt(t)>32;)t++;return t}function NC(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 Sf(e,t,n,r){return t=Wn(e,t,n),t<n&&t++,t}function AC(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=Nf(e,c,s,n):t===s-4&&i===85&&o===82&&r===76&&c===40?a=s=Nf(e,41,s,n):c>32&&(a=s),i=o,o=r,r=c&-33}return a}function Nf(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 dg(e,t,n){return pg(e,t,n,!1),dg}function fg(e,t){return pg(e,t,null,!0),fg}function xC(e){hg(yg,RC,e,!1)}function RC(e,t){for(let n=MC(t);n>=0;n=ug(t,n))yg(e,ag(t),TC(t))}function OC(e){hg(VC,kC,e,!0)}function kC(e,t){for(let n=_C(t);n>=0;n=cg(t,n))Er(e,ag(t),!0)}function pg(e,t,n,r){let o=m(),i=L(),s=wr(2);if(i.firstUpdatePass&&mg(i,e,s,r),t!==X&&re(o,s,t)){let a=i.data[xe()];vg(i,a,o,o[O],e,o[s+1]=$C(t,n),r,s)}}function hg(e,t,n,r){let o=L(),i=wr(2);o.firstUpdatePass&&mg(o,null,i,r);let s=m();if(n!==X&&re(s,i,n)){let a=o.data[xe()];if(Dg(a,r)&&!gg(o,i)){let c=r?a.classesWithoutHost:a.stylesWithoutHost;c!==null&&(n=qo(c,n||"")),Gc(o,a,s,n,r)}else HC(o,a,s,s[O],s[i+1],s[i+1]=BC(e,t,n),r,i)}}function gg(e,t){return t>=e.expandoStartIndex}function mg(e,t,n,r){let o=e.data;if(o[n+1]===null){let i=o[xe()],s=gg(e,n);Dg(i,r)&&t===null&&!s&&(t=!1),t=FC(o,i,t,r),CC(o,i,t,n,s,r)}}function FC(e,t,n,r){let o=Nd(e),i=r?t.residualClasses:t.residualStyles;if(o===null)(r?t.classBindings:t.styleBindings)===0&&(n=cc(null,e,t,n,r),n=Vr(n,t.attrs,r),i=null);else{let s=t.directiveStylingLast;if(s===-1||e[s]!==o)if(n=cc(o,e,t,n,r),i===null){let c=PC(e,t,r);c!==void 0&&Array.isArray(c)&&(c=cc(null,e,t,c[1],r),c=Vr(c,t.attrs,r),LC(e,t,r,c))}else i=jC(e,t,r)}return i!==void 0&&(r?t.residualClasses=i:t.residualStyles=i),n}function PC(e,t,n){let r=n?t.classBindings:t.styleBindings;if(zn(r)!==0)return e[an(r)]}function LC(e,t,n,r){let o=n?t.classBindings:t.styleBindings;e[an(o)]=r}function jC(e,t,n){let r,o=t.directiveEnd;for(let i=1+t.directiveStylingLast;i<o;i++){let s=e[i].hostAttrs;r=Vr(r,s,n)}return Vr(r,t.attrs,n)}function cc(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=Vr(r,i.hostAttrs,o),i!==e);)a++;return e!==null&&(n.directiveStylingLast=a),r}function Vr(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]),Er(e,s,n?!0:t[++i]))}return e===void 0?null:e}function BC(e,t,n){if(n==null||n==="")return ne;let r=[],o=Mt(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)o.hasOwnProperty(i)&&e(r,i,o[i]);else typeof o=="string"&&t(r,o);return r}function yg(e,t,n){Er(e,t,Mt(n))}function VC(e,t,n){let r=String(t);r!==""&&!r.includes(" ")&&Er(e,r,n)}function HC(e,t,n,r,o,i,s,a){o===X&&(o=ne);let c=0,u=0,l=0<o.length?o[0]:null,d=0<i.length?i[0]:null;for(;l!==null||d!==null;){let p=c<o.length?o[c+1]:void 0,f=u<i.length?i[u+1]:void 0,h=null,E;l===d?(c+=2,u+=2,p!==f&&(h=d,E=f)):d===null||l!==null&&l<d?(c+=2,h=l):(u+=2,h=d,E=f),h!==null&&vg(e,t,n,r,h,E,s,a),l=c<o.length?o[c]:null,d=u<i.length?i[u]:null}}function vg(e,t,n,r,o,i,s,a){if(!(t.type&3))return;let c=e.data,u=c[a+1],l=IC(u)?Af(c,t,n,o,zn(u),s):void 0;if(!Ui(l)){Ui(i)||DC(u)&&(i=Af(c,null,n,o,a,s));let d=xa(xe(),n);uE(r,s,d,o,i)}}function Af(e,t,n,r,o,i){let s=t===null,a;for(;o>0;){let c=e[o],u=Array.isArray(c),l=u?c[1]:c,d=l===null,p=n[o+1];p===X&&(p=d?ne:void 0);let f=d?ei(p,r):l===r?p:void 0;if(u&&!Ui(f)&&(f=ei(c,r)),Ui(f)&&(a=f,s))return a;let h=e[o+1];o=s?an(h):zn(h)}if(t!==null){let c=i?t.residualClasses:t.residualStyles;c!=null&&(a=ei(c,r))}return a}function Ui(e){return e!==void 0}function $C(e,t){return e==null||e===""||(typeof t=="string"?e=e+t:typeof e=="object"&&(e=mr(Mt(e)))),e}function Dg(e,t){return(e.flags&(t?8:16))!==0}function UC(e,t=""){let n=m(),r=L(),o=e+V,i=r.firstCreatePass?Zn(r,o,1,t,null):r.data[o],s=GC(r,n,i,t);n[o]=s,li()&&du(r,n,s,i),Rn(i,!1)}var GC=(e,t,n,r)=>(Tr(!0),fD(t[O],r));function Eg(e,t,n,r=""){return re(e,nt(),n)?t+ge(n)+r:X}function zC(e,t,n,r,o,i=""){let s=qa(),a=Gn(e,s,n,o);return wr(2),a?t+ge(n)+r+ge(o)+i:X}function WC(e,t,n,r,o,i,s,a,c,u,l,d=""){let p=qa(),f=Yr(e,p,n,o,s,c);return f=re(e,p+4,l)||f,wr(5),f?t+ge(n)+r+ge(o)+i+ge(s)+a+ge(c)+u+ge(l)+d:X}function Ig(e){return Pu("",e),Ig}function Pu(e,t,n){let r=m(),o=Eg(r,e,t,n);return o!==X&&Lu(r,xe(),o),Pu}function Cg(e,t,n,r,o){let i=m(),s=zC(i,e,t,n,r,o);return s!==X&&Lu(i,xe(),s),Cg}function wg(e,t,n,r,o,i,s,a,c,u,l){let d=m(),p=WC(d,e,t,n,r,o,i,s,a,c,u,l);return p!==X&&Lu(d,xe(),p),wg}function Lu(e,t,n){let r=xa(t,e);pD(e[O],r,n)}function bg(e,t,n){_u(t)&&(t=t());let r=m(),o=nt();if(re(r,o,t)){let i=L(),s=On();Zp(s,r,e,t,r[O],n)}return bg}function qC(e,t){let n=_u(e);return n&&e.set(t),n}function Tg(e,t){let n=m(),r=L(),o=Z();return ng(r,n,n[O],o,e,t),Tg}function ZC(e,t,n=""){return Eg(m(),e,t,n)}function xf(e,t,n){let r=L();r.firstCreatePass&&_g(t,r.data,r.blueprint,Ae(e),n)}function _g(e,t,n,r,o){if(e=Y(e),Array.isArray(e))for(let i=0;i<e.length;i++)_g(e[i],t,n,r,o);else{let i=L(),s=m(),a=Z(),c=Ut(e)?e:Y(e.provide),u=Ta(e),l=a.providerIndexes&1048575,d=a.directiveStart,p=a.providerIndexes>>20;if(Ut(e)||!e.multi){let f=new rn(u,o,ee,null),h=lc(c,t,o?l:l+p,d);h===-1?(fc(Ni(a,s),i,c),uc(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=lc(c,t,l+p,d),h=lc(c,t,l,l+p),E=f>=0&&n[f],v=h>=0&&n[h];if(o&&!v||!o&&!E){fc(Ni(a,s),i,c);let I=KC(o?YC:QC,n.length,o,r,u,e);!o&&v&&(n[h].providerFactory=I),uc(i,e,t.length,0),t.push(c),a.directiveStart++,a.directiveEnd++,o&&(a.providerIndexes+=1048576),n.push(I),s.push(I)}else{let I=Mg(n[o?h:f],u,!o&&r);uc(i,e,f>-1?f:h,I)}!o&&r&&v&&n[h].componentProviders++}}}function uc(e,t,n,r){let o=Ut(t),i=ld(t);if(o||i){let c=(i?Y(t.useClass):t).prototype.ngOnDestroy;if(c){let u=e.destroyHooks||(e.destroyHooks=[]);if(!o&&t.multi){let l=u.indexOf(n);l===-1?u.push(n,[r,c]):u[l+1].push(r,c)}else u.push(n,c)}}}function Mg(e,t,n){return n&&e.componentProviders++,e.multi.push(t)-1}function lc(e,t,n,r){for(let o=n;o<r;o++)if(t[o]===e)return o;return-1}function QC(e,t,n,r,o){return qc(this.multi,[])}function YC(e,t,n,r,o){let i=this.multi,s;if(this.providerFactory){let a=this.providerFactory.componentProviders,c=xr(r,r[D],this.providerFactory.index,o);s=c.slice(0,a),qc(i,s);for(let u=a;u<c.length;u++)s.push(c[u])}else s=[],qc(i,s);return s}function qc(e,t){for(let n=0;n<e.length;n++){let r=e[n];t.push(r())}return t}function KC(e,t,n,r,o,i){let s=new rn(e,n,ee,null);return s.multi=[],s.index=t,s.componentProviders=0,Mg(s,o,r&&!n),s}function JC(e,t){return n=>{n.providersResolver=(r,o)=>xf(r,o?o(e):e,!1),t&&(n.viewProvidersResolver=(r,o)=>xf(r,o?o(t):t,!0))}}function XC(e,t){let n=Ge()+e,r=m();return r[n]===X?St(r,n,t()):ss(r,n)}function ew(e,t,n){return Sg(m(),Ge(),e,t,n)}function tw(e,t,n,r){return aw(m(),Ge(),e,t,n,r)}function nw(e,t,n,r,o){return cw(m(),Ge(),e,t,n,r,o)}function rw(e,t,n,r,o,i,s){return uw(m(),Ge(),e,t,n,r,o,i)}function ow(e,t,n,r,o,i,s){let a=Ge()+e,c=m(),u=Yr(c,a,n,r,o,i);return re(c,a+4,s)||u?St(c,a+5,t(n,r,o,i,s)):ss(c,a+5)}function iw(e,t,n,r,o,i,s,a){let c=Ge()+e,u=m(),l=Yr(u,c,n,r,o,i);return Gn(u,c+4,s,a)||l?St(u,c+6,t(n,r,o,i,s,a)):ss(u,c+6)}function sw(e,t,n,r,o,i,s,a,c){let u=Ge()+e,l=m(),d=Yr(l,u,n,r,o,i);return yh(l,u+4,s,a,c)||d?St(l,u+7,t(n,r,o,i,s,a,c)):ss(l,u+7)}function us(e,t){let n=e[t];return n===X?void 0:n}function Sg(e,t,n,r,o,i){let s=t+n;return re(e,s,o)?St(e,s+1,i?r.call(i,o):r(o)):us(e,s+1)}function aw(e,t,n,r,o,i,s){let a=t+n;return Gn(e,a,o,i)?St(e,a+2,s?r.call(s,o,i):r(o,i)):us(e,a+2)}function cw(e,t,n,r,o,i,s,a){let c=t+n;return yh(e,c,o,i,s)?St(e,c+3,a?r.call(a,o,i,s):r(o,i,s)):us(e,c+3)}function uw(e,t,n,r,o,i,s,a,c){let u=t+n;return Yr(e,u,o,i,s,a)?St(e,u+4,c?r.call(c,o,i,s,a):r(o,i,s,a)):us(e,u+4)}function lw(e,t){let n=L(),r,o=e+V;n.firstCreatePass?(r=dw(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=yt(r.type,!0)),s,a=oe(ee);try{let c=Si(!1),u=i();return Si(c),Oa(n,m(),o,u),u}finally{oe(a)}}function dw(e,t){if(t)for(let n=t.length-1;n>=0;n--){let r=t[n];if(e===r.name)return r}}function fw(e,t,n){let r=e+V,o=m(),i=Ra(o,r);return pw(o,r)?Sg(o,Ge(),t,i.transform,n,i):i.transform(n)}function pw(e,t){return e[D].data[t].pure}function hw(e,t){return rs(e,t)}var Gi=class{ngModuleFactory;componentFactories;constructor(t,n){this.ngModuleFactory=t,this.componentFactories=n}},gw=(()=>{class e{compileModuleSync(n){return new Bi(n)}compileModuleAsync(n){return Promise.resolve(this.compileModuleSync(n))}compileModuleAndAllComponentsSync(n){let r=this.compileModuleSync(n),o=ma(n),i=bp(o.declarations).reduce((s,a)=>{let c=Be(a);return c&&s.push(new _t(c)),s},[]);return new Gi(r,i)}compileModuleAndAllComponentsAsync(n){return Promise.resolve(this.compileModuleAndAllComponentsSync(n))}clearCache(){}clearCacheFor(n){}getModuleId(n){}static \u0275fac=function(r){return new(r||e)};static \u0275prov=_({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();var Ng=(()=>{class e{applicationErrorHandler=g(rt);appRef=g(Kr);taskService=g(wt);ngZone=g(W);zonelessEnabled=g(Fn);tracing=g(at,{optional:!0});zoneIsDefined=typeof Zone<"u"&&!!Zone.root.run;schedulerTickApplyArgs=[{data:{__scheduler_tick__:!0}}];subscriptions=new z;angularZoneId=this.zoneIsDefined?this.ngZone._inner?.get(hr):null;scheduleInRootZone=!this.zonelessEnabled&&this.zoneIsDefined&&(g(fi,{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:{this.appRef.dirtyFlags|=2;break}case 3:case 2:case 4:case 5:case 1:{this.appRef.dirtyFlags|=4;break}case 6:{this.appRef.dirtyFlags|=2;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?jd:Ja;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(hr+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=_({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();function Ag(){return[{provide:Te,useExisting:Ng},{provide:W,useClass:gr},{provide:Fn,useValue:!0}]}function mw(){return typeof $localize<"u"&&$localize.locale||Jr}var ls=new b("",{factory:()=>g(ls,{optional:!0,skipSelf:!0})||mw()});var Xr=class{destroyed=!1;listeners=null;errorHandler=g(Xe,{optional:!0});destroyRef=g(Ie);constructor(){this.destroyRef.onDestroy(()=>{this.destroyed=!0,this.listeners=null})}subscribe(t){if(this.destroyed)throw new C(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(et(953,!1));return}if(this.listeners===null)return;let n=y(null);try{for(let r of this.listeners)try{r(t)}catch(o){this.errorHandler?.handleError(o)}}finally{y(n)}}};function Rg(e){return ql(e)}function yw(e,t){return nr(e,t?.equal)}var vw=e=>e;function Dw(e,t){if(typeof e=="function"){let n=Ks(e,vw,t?.equal);return xg(n,t?.debugName)}else{let n=Ks(e.source,e.computation,e.equal);return xg(n,e.debugName)}}function xg(e,t){let n=e[U],r=e;return r.set=o=>zl(n,o),r.update=o=>Wl(n,o),r.asReadonly=_r.bind(e),r}var ps=Symbol("InputSignalNode#UNSET"),Ug=$(j({},rr),{transformFn:void 0,applyValueToInputSignal(e,t){gt(e,t)}});function Gg(e,t){let n=Object.create(Ug);n.value=e,n.transformFn=t?.transform;function r(){if(Qe(n),n.value===ps){let o=null;throw new C(-950,o)}return n.value}return r[U]=n,r}var Og=class{attributeName;constructor(t){this.attributeName=t}__NG_ELEMENT_ID__=()=>Yc(this.attributeName);toString(){return`HostAttributeToken ${this.attributeName}`}};function pL(e){return new Xr}function kg(e,t){return Gg(e,t)}function Nw(e){return Gg(ps,e)}var hL=(kg.required=Nw,kg);function Fg(e,t){return wu(t)}function Aw(e,t){return bu(t)}var gL=(Fg.required=Aw,Fg);function Pg(e,t){return wu(t)}function xw(e,t){return bu(t)}var mL=(Pg.required=xw,Pg);function zg(e,t){let n=Object.create(Ug),r=new Xr;n.value=e;function o(){return Qe(n),Lg(n.value),n.value}return o[U]=n,o.asReadonly=_r.bind(o),o.set=i=>{n.equal(n.value,i)||(gt(n,i),r.emit(i))},o.update=i=>{Lg(n.value),o.set(i(n.value))},o.subscribe=r.subscribe.bind(r),o.destroyRef=r.destroyRef,o}function Lg(e){if(e===ps)throw new C(952,!1)}function jg(e,t){return zg(e,t)}function Rw(e){return zg(ps,e)}var yL=(jg.required=Rw,jg);var Ow=(()=>{class e{zone=g(W);changeDetectionScheduler=g(Te);applicationRef=g(Kr);applicationErrorHandler=g(rt);_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=_({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})(),kw=new b("",{factory:()=>!1});function Fw({ngZoneFactory:e,scheduleInRootZone:t}){return e??=()=>new W($(j({},Wg()),{scheduleInRootZone:t})),[{provide:Fn,useValue:!1},{provide:W,useFactory:e},{provide:Wt,multi:!0,useFactory:()=>{let n=g(Ow,{optional:!0});return()=>n.initialize()}},{provide:Wt,multi:!0,useFactory:()=>{let n=g(Pw);return()=>{n.initialize()}}},{provide:fi,useValue:t??Ka}]}function vL(e){let t=e?.scheduleInRootZone,n=Fw({ngZoneFactory:()=>{let r=Wg(e);return r.scheduleInRootZone=t,r.shouldCoalesceEventChangeDetection&&Oe("NgZone_CoalesceEvent"),new W(r)},scheduleInRootZone:t});return Tn([{provide:kw,useValue:!0},n])}function Wg(e){return{enableLongStackTrace:!1,shouldCoalesceEventChangeDetection:e?.eventCoalescing??!1,shouldCoalesceRunChangeDetection:e?.runCoalescing??!1}}var Pw=(()=>{class e{subscription=new z;initialized=!1;zone=g(W);pendingTasks=g(wt);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(()=>{W.assertNotInAngularZone(),queueMicrotask(()=>{n!==null&&!this.zone.hasPendingMacrotasks&&!this.zone.hasPendingMicrotasks&&(this.pendingTasks.remove(n),n=null)})}))}),this.subscription.add(this.zone.onUnstable.subscribe(()=>{W.assertInAngularZone(),n??=this.pendingTasks.add()}))}ngOnDestroy(){this.subscription.unsubscribe()}static \u0275fac=function(r){return new(r||e)};static \u0275prov=_({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();var Bu=new b(""),Lw=new b("");function eo(e){return!e.moduleRef}function jw(e){let t=eo(e)?e.r3Injector:e.moduleRef.injector,n=t.get(W);return n.run(()=>{eo(e)?e.r3Injector.resolveInjectorInitializers():e.moduleRef.resolveInjectorInitializers();let r=t.get(rt),o;if(n.runOutsideAngular(()=>{o=n.onError.subscribe({next:r})}),eo(e)){let i=()=>t.destroy(),s=e.platformInjector.get(Bu);s.add(i),t.onDestroy(()=>{o.unsubscribe(),s.delete(i)})}else{let i=()=>e.moduleRef.destroy(),s=e.platformInjector.get(Bu);s.add(i),e.moduleRef.onDestroy(()=>{Ar(e.allPlatformModules,e.moduleRef),o.unsubscribe(),s.delete(i)})}return Vw(r,n,()=>{let i=t.get(wt),s=i.add(),a=t.get(Nu);return a.runInitializers(),a.donePromise.then(()=>{let c=t.get(ls,Jr);if(Xh(c||Jr),!t.get(Lw,!0))return eo(e)?t.get(Kr):(e.allPlatformModules.push(e.moduleRef),e.moduleRef);if(eo(e)){let l=t.get(Kr);return e.rootComponent!==void 0&&l.bootstrap(e.rootComponent),l}else return Bw?.(e.moduleRef,e.allPlatformModules),e.moduleRef}).finally(()=>{i.remove(s)})})})}var Bw;function Vw(e,t,n){try{let r=n();return cs(r)?r.catch(o=>{throw t.runOutsideAngular(()=>e(o)),o}):r}catch(r){throw t.runOutsideAngular(()=>e(r)),r}}var ds=null;function Hw(e=[],t){return le.create({name:t,providers:[{provide:ba,useValue:"platform"},{provide:Bu,useValue:new Set([()=>ds=null])},...e]})}function $w(e=[]){if(ds)return ds;let t=Hw(e);return ds=t,$h(),Uw(t),t}function Uw(e){let t=e.get(np,null);Mn(e,()=>{t?.forEach(n=>n())})}var Gw=1e4;var DL=Gw-1e3;var qg=(()=>{class e{static __NG_ELEMENT_ID__=zw}return e})();function zw(e){return Ww(Z(),m(),(e&16)===16)}function Ww(e,t,n){if(Ue(e)&&!n){let r=ve(e.index,t);return new bt(r,r)}else if(e.type&175){let r=t[ce];return new bt(r,t)}return null}var Vu=class{supports(t){return Eu(t)}create(t){return new Hu(t)}},qw=(e,t)=>t,Hu=class{length=0;collection;_linkedRecords=null;_unlinkedRecords=null;_previousItHead=null;_itHead=null;_itTail=null;_additionsHead=null;_additionsTail=null;_movesHead=null;_movesTail=null;_removalsHead=null;_removalsTail=null;_identityChangesHead=null;_identityChangesTail=null;_trackByFn;constructor(t){this._trackByFn=t||qw}forEachItem(t){let n;for(n=this._itHead;n!==null;n=n._next)t(n)}forEachOperation(t){let n=this._itHead,r=this._removalsHead,o=0,i=null;for(;n||r;){let s=!r||n&&n.currentIndex<Bg(r,o,i)?n:r,a=Bg(s,o,i),c=s.currentIndex;if(s===r)o--,r=r._nextRemoved;else if(n=n._next,s.previousIndex==null)o++;else{i||(i=[]);let u=a-o,l=c-o;if(u!=l){for(let p=0;p<u;p++){let f=p<i.length?i[p]:i[p]=0,h=f+p;l<=h&&h<u&&(i[p]=f+1)}let d=s.previousIndex;i[d]=l-u}}a!==c&&t(s,a,c)}}forEachPreviousItem(t){let n;for(n=this._previousItHead;n!==null;n=n._nextPrevious)t(n)}forEachAddedItem(t){let n;for(n=this._additionsHead;n!==null;n=n._nextAdded)t(n)}forEachMovedItem(t){let n;for(n=this._movesHead;n!==null;n=n._nextMoved)t(n)}forEachRemovedItem(t){let n;for(n=this._removalsHead;n!==null;n=n._nextRemoved)t(n)}forEachIdentityChange(t){let n;for(n=this._identityChangesHead;n!==null;n=n._nextIdentityChange)t(n)}diff(t){if(t==null&&(t=[]),!Eu(t))throw new C(900,!1);return this.check(t)?this:null}onDestroy(){}check(t){this._reset();let n=this._itHead,r=!1,o,i,s;if(Array.isArray(t)){this.length=t.length;for(let a=0;a<this.length;a++)i=t[a],s=this._trackByFn(a,i),n===null||!Object.is(n.trackById,s)?(n=this._mismatch(n,i,s,a),r=!0):(r&&(n=this._verifyReinsertion(n,i,s,a)),Object.is(n.item,i)||this._addIdentityChange(n,i)),n=n._next}else o=0,mh(t,a=>{s=this._trackByFn(o,a),n===null||!Object.is(n.trackById,s)?(n=this._mismatch(n,a,s,o),r=!0):(r&&(n=this._verifyReinsertion(n,a,s,o)),Object.is(n.item,a)||this._addIdentityChange(n,a)),n=n._next,o++}),this.length=o;return this._truncate(n),this.collection=t,this.isDirty}get isDirty(){return this._additionsHead!==null||this._movesHead!==null||this._removalsHead!==null||this._identityChangesHead!==null}_reset(){if(this.isDirty){let t;for(t=this._previousItHead=this._itHead;t!==null;t=t._next)t._nextPrevious=t._next;for(t=this._additionsHead;t!==null;t=t._nextAdded)t.previousIndex=t.currentIndex;for(this._additionsHead=this._additionsTail=null,t=this._movesHead;t!==null;t=t._nextMoved)t.previousIndex=t.currentIndex;this._movesHead=this._movesTail=null,this._removalsHead=this._removalsTail=null,this._identityChangesHead=this._identityChangesTail=null}}_mismatch(t,n,r,o){let i;return t===null?i=this._itTail:(i=t._prev,this._remove(t)),t=this._unlinkedRecords===null?null:this._unlinkedRecords.get(r,null),t!==null?(Object.is(t.item,n)||this._addIdentityChange(t,n),this._reinsertAfter(t,i,o)):(t=this._linkedRecords===null?null:this._linkedRecords.get(r,o),t!==null?(Object.is(t.item,n)||this._addIdentityChange(t,n),this._moveAfter(t,i,o)):t=this._addAfter(new $u(n,r),i,o)),t}_verifyReinsertion(t,n,r,o){let i=this._unlinkedRecords===null?null:this._unlinkedRecords.get(r,null);return i!==null?t=this._reinsertAfter(i,t._prev,o):t.currentIndex!=o&&(t.currentIndex=o,this._addToMoves(t,o)),t}_truncate(t){for(;t!==null;){let n=t._next;this._addToRemovals(this._unlink(t)),t=n}this._unlinkedRecords!==null&&this._unlinkedRecords.clear(),this._additionsTail!==null&&(this._additionsTail._nextAdded=null),this._movesTail!==null&&(this._movesTail._nextMoved=null),this._itTail!==null&&(this._itTail._next=null),this._removalsTail!==null&&(this._removalsTail._nextRemoved=null),this._identityChangesTail!==null&&(this._identityChangesTail._nextIdentityChange=null)}_reinsertAfter(t,n,r){this._unlinkedRecords!==null&&this._unlinkedRecords.remove(t);let o=t._prevRemoved,i=t._nextRemoved;return o===null?this._removalsHead=i:o._nextRemoved=i,i===null?this._removalsTail=o:i._prevRemoved=o,this._insertAfter(t,n,r),this._addToMoves(t,r),t}_moveAfter(t,n,r){return this._unlink(t),this._insertAfter(t,n,r),this._addToMoves(t,r),t}_addAfter(t,n,r){return this._insertAfter(t,n,r),this._additionsTail===null?this._additionsTail=this._additionsHead=t:this._additionsTail=this._additionsTail._nextAdded=t,t}_insertAfter(t,n,r){let o=n===null?this._itHead:n._next;return t._next=o,t._prev=n,o===null?this._itTail=t:o._prev=t,n===null?this._itHead=t:n._next=t,this._linkedRecords===null&&(this._linkedRecords=new fs),this._linkedRecords.put(t),t.currentIndex=r,t}_remove(t){return this._addToRemovals(this._unlink(t))}_unlink(t){this._linkedRecords!==null&&this._linkedRecords.remove(t);let n=t._prev,r=t._next;return n===null?this._itHead=r:n._next=r,r===null?this._itTail=n:r._prev=n,t}_addToMoves(t,n){return t.previousIndex===n||(this._movesTail===null?this._movesTail=this._movesHead=t:this._movesTail=this._movesTail._nextMoved=t),t}_addToRemovals(t){return this._unlinkedRecords===null&&(this._unlinkedRecords=new fs),this._unlinkedRecords.put(t),t.currentIndex=null,t._nextRemoved=null,this._removalsTail===null?(this._removalsTail=this._removalsHead=t,t._prevRemoved=null):(t._prevRemoved=this._removalsTail,this._removalsTail=this._removalsTail._nextRemoved=t),t}_addIdentityChange(t,n){return t.item=n,this._identityChangesTail===null?this._identityChangesTail=this._identityChangesHead=t:this._identityChangesTail=this._identityChangesTail._nextIdentityChange=t,t}},$u=class{item;trackById;currentIndex=null;previousIndex=null;_nextPrevious=null;_prev=null;_next=null;_prevDup=null;_nextDup=null;_prevRemoved=null;_nextRemoved=null;_nextAdded=null;_nextMoved=null;_nextIdentityChange=null;constructor(t,n){this.item=t,this.trackById=n}},Uu=class{_head=null;_tail=null;add(t){this._head===null?(this._head=this._tail=t,t._nextDup=null,t._prevDup=null):(this._tail._nextDup=t,t._prevDup=this._tail,t._nextDup=null,this._tail=t)}get(t,n){let r;for(r=this._head;r!==null;r=r._nextDup)if((n===null||n<=r.currentIndex)&&Object.is(r.trackById,t))return r;return null}remove(t){let n=t._prevDup,r=t._nextDup;return n===null?this._head=r:n._nextDup=r,r===null?this._tail=n:r._prevDup=n,this._head===null}},fs=class{map=new Map;put(t){let n=t.trackById,r=this.map.get(n);r||(r=new Uu,this.map.set(n,r)),r.add(t)}get(t,n){let r=t,o=this.map.get(r);return o?o.get(t,n):null}remove(t){let n=t.trackById;return this.map.get(n).remove(t)&&this.map.delete(n),t}get isEmpty(){return this.map.size===0}clear(){this.map.clear()}};function Bg(e,t,n){let r=e.previousIndex;if(r===null)return r;let o=0;return n&&r<n.length&&(o=n[r]),r+t+o}var Gu=class{supports(t){return t instanceof Map||is(t)}create(){return new zu}},zu=class{_records=new Map;_mapHead=null;_appendAfter=null;_previousMapHead=null;_changesHead=null;_changesTail=null;_additionsHead=null;_additionsTail=null;_removalsHead=null;get isDirty(){return this._additionsHead!==null||this._changesHead!==null||this._removalsHead!==null}forEachItem(t){let n;for(n=this._mapHead;n!==null;n=n._next)t(n)}forEachPreviousItem(t){let n;for(n=this._previousMapHead;n!==null;n=n._nextPrevious)t(n)}forEachChangedItem(t){let n;for(n=this._changesHead;n!==null;n=n._nextChanged)t(n)}forEachAddedItem(t){let n;for(n=this._additionsHead;n!==null;n=n._nextAdded)t(n)}forEachRemovedItem(t){let n;for(n=this._removalsHead;n!==null;n=n._nextRemoved)t(n)}diff(t){if(!t)t=new Map;else if(!(t instanceof Map||is(t)))throw new C(900,!1);return this.check(t)?this:null}check(t){this._reset();let n=this._mapHead;if(this._appendAfter=null,this._forEach(t,(r,o)=>{if(n&&n.key===o)this._maybeAddToChanges(n,r),this._appendAfter=n,n=n._next;else{let i=this._getOrCreateRecordForKey(o,r);n=this._insertBeforeOrAppend(n,i)}}),n){n._prev&&(n._prev._next=null),this._removalsHead=n;for(let r=n;r!==null;r=r._nextRemoved)r===this._mapHead&&(this._mapHead=null),this._records.delete(r.key),r._nextRemoved=r._next,r.previousValue=r.currentValue,r.currentValue=null,r._prev=null,r._next=null}return this._changesTail&&(this._changesTail._nextChanged=null),this._additionsTail&&(this._additionsTail._nextAdded=null),this.isDirty}_insertBeforeOrAppend(t,n){if(t){let r=t._prev;return n._next=t,n._prev=r,t._prev=n,r&&(r._next=n),t===this._mapHead&&(this._mapHead=n),this._appendAfter=t,t}return this._appendAfter?(this._appendAfter._next=n,n._prev=this._appendAfter):this._mapHead=n,this._appendAfter=n,null}_getOrCreateRecordForKey(t,n){if(this._records.has(t)){let o=this._records.get(t);this._maybeAddToChanges(o,n);let i=o._prev,s=o._next;return i&&(i._next=s),s&&(s._prev=i),o._next=null,o._prev=null,o}let r=new Wu(t);return this._records.set(t,r),r.currentValue=n,this._addToAdditions(r),r}_reset(){if(this.isDirty){let t;for(this._previousMapHead=this._mapHead,t=this._previousMapHead;t!==null;t=t._next)t._nextPrevious=t._next;for(t=this._changesHead;t!==null;t=t._nextChanged)t.previousValue=t.currentValue;for(t=this._additionsHead;t!=null;t=t._nextAdded)t.previousValue=t.currentValue;this._changesHead=this._changesTail=null,this._additionsHead=this._additionsTail=null,this._removalsHead=null}}_maybeAddToChanges(t,n){Object.is(n,t.currentValue)||(t.previousValue=t.currentValue,t.currentValue=n,this._addToChanges(t))}_addToAdditions(t){this._additionsHead===null?this._additionsHead=this._additionsTail=t:(this._additionsTail._nextAdded=t,this._additionsTail=t)}_addToChanges(t){this._changesHead===null?this._changesHead=this._changesTail=t:(this._changesTail._nextChanged=t,this._changesTail=t)}_forEach(t,n){t instanceof Map?t.forEach(n):Object.keys(t).forEach(r=>n(t[r],r))}},Wu=class{key;previousValue=null;currentValue=null;_nextPrevious=null;_next=null;_prev=null;_nextAdded=null;_nextRemoved=null;_nextChanged=null;constructor(t){this.key=t}};function Vg(){return new Zu([new Vu])}var Zu=(()=>{class e{factories;static \u0275prov=_({token:e,providedIn:"root",factory:Vg});constructor(n){this.factories=n}static create(n,r){if(r!=null){let o=r.factories.slice();n=n.concat(o)}return new e(n)}static extend(n){return{provide:e,useFactory:()=>{let r=g(e,{optional:!0,skipSelf:!0});return e.create(n,r||Vg())}}}find(n){let r=this.factories.find(o=>o.supports(n));if(r!=null)return r;throw new C(901,!1)}}return e})();function Hg(){return new Qu([new Gu])}var Qu=(()=>{class e{static \u0275prov=_({token:e,providedIn:"root",factory:Hg});factories;constructor(n){this.factories=n}static create(n,r){if(r){let o=r.factories.slice();n=n.concat(o)}return new e(n)}static extend(n){return{provide:e,useFactory:()=>{let r=g(e,{optional:!0,skipSelf:!0});return e.create(n,r||Hg())}}}find(n){let r=this.factories.find(o=>o.supports(n));if(r)return r;throw new C(901,!1)}}return e})();function EL(e){let{rootComponent:t,appProviders:n,platformProviders:r,platformRef:o}=e;F(A.BootstrapApplicationStart);try{let i=o?.injector??$w(r),s=[Ag(),Vd,...n||[]],a=new jr({providers:s,parent:i,debugName:"",runEnvironmentInitializers:!1});return jw({r3Injector:a.injector,platformInjector:i,rootComponent:t})}catch(i){return Promise.reject(i)}finally{F(A.BootstrapApplicationEnd)}}function Zw(e){return typeof e=="boolean"?e:e!=null&&e!=="false"}function Qw(e,t=NaN){return!isNaN(parseFloat(e))&&!isNaN(Number(e))?Number(e):t}var ju=Symbol("NOT_SET"),Zg=new Set,Yw=$(j({},rr),{kind:"afterRenderEffectPhase",consumerIsAlwaysLive:!0,consumerAllowSignalWrites:!0,value:ju,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!==ju&&!dn(this))return this.signal;try{for(let o of this.cleanup??Zg)o()}finally{this.cleanup?.clear()}let t=[];e!==void 0&&t.push(e),t.push(this.registerCleanupFn);let n=Ye(this),r;try{r=this.userFn.apply(null,t)}finally{pt(this,n)}return(this.value===ju||!this.equal(this.value,r))&&(this.value=r,this.version++),this.signal}}),qu=class extends kr{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(Ie),s),this.scheduler=o;for(let a of cu){let c=n[a];if(c===void 0)continue;let u=Object.create(Yw);u.sequence=this,u.phase=a,u.userFn=c,u.dirty=!0,u.signal=()=>(Qe(u),u.value),u.signal[U]=u,u.registerCleanupFn=l=>(u.cleanup??=new Set).add(l),this.nodes[a]=u,this.hooks[a]=l=>u.phaseFn(l)}}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??Zg)n()}finally{ht(t)}}};function IL(e,t){let n=t?.injector??g(le),r=n.get(Te),o=n.get(Ki),i=n.get(at,null,{optional:!0});o.impl??=n.get(uu);let s=e;typeof s=="function"&&(s={mixedReadWrite:e});let a=n.get(kn,null,{optional:!0}),c=new qu(o.impl,[s.earlyRead,s.write,s.mixedReadWrite,s.read],a?.view,r,n,i?.snapshot(null));return o.impl.register(c),c}function CL(e,t){let n=Be(e),r=t.elementInjector||_n();return new _t(n).create(r,t.projectableNodes,t.hostElement,t.environmentInjector,t.directives,t.bindings)}function wL(e){let t=Be(e);if(!t)return null;let n=new _t(t);return{get selector(){return n.selector},get type(){return n.componentType},get inputs(){return n.inputs},get outputs(){return n.outputs},get ngContentSelectors(){return n.ngContentSelectors},get isStandalone(){return t.standalone},get isSignal(){return t.signals}}}function Yu(e,t){t=encodeURIComponent(t);for(let n of e.split(";")){let r=n.indexOf("="),[o,i]=r==-1?[n,""]:[n.slice(0,r),n.slice(r+1)];if(o.trim()===t)return decodeURIComponent(i)}return null}var no=class{};var Qg=null;function hs(){return Qg}function Kw(e){Qg??=e}var Ku=class{},At=(()=>{class e{historyGo(n){throw new Error("")}static \u0275fac=function(r){return new(r||e)};static \u0275prov=_({token:e,factory:()=>g(Yg),providedIn:"platform"})}return e})(),Jw=new b(""),Yg=(()=>{class e extends At{_location;_history;_doc=g(Ee);constructor(){super(),this._location=window.location,this._history=window.history}getBaseHrefFromDOM(){return hs().getBaseHref(this._doc)}onPopState(n){let r=hs().getGlobalEventTarget(this._doc,"window");return r.addEventListener("popstate",n,!1),()=>r.removeEventListener("popstate",n)}onHashChange(n){let r=hs().getGlobalEventTarget(this._doc,"window");return r.addEventListener("hashchange",n,!1),()=>r.removeEventListener("hashchange",n)}get href(){return this._location.href}get protocol(){return this._location.protocol}get hostname(){return this._location.hostname}get port(){return this._location.port}get pathname(){return this._location.pathname}get search(){return this._location.search}get hash(){return this._location.hash}set pathname(n){this._location.pathname=n}pushState(n,r,o){this._history.pushState(n,r,o)}replaceState(n,r,o){this._history.replaceState(n,r,o)}forward(){this._history.forward()}back(){this._history.back()}historyGo(n=0){this._history.go(n)}getState(){return this._history.state}static \u0275fac=function(r){return new(r||e)};static \u0275prov=_({token:e,factory:()=>new e,providedIn:"platform"})}return e})();var qe=class e{headers;normalizedNames=new Map;lazyInit;lazyUpdate=null;constructor(t){t?typeof t=="string"?this.lazyInit=()=>{this.headers=new Map,t.split(`
|
|
5
|
-
`).forEach(n=>{let r=n.indexOf(":");if(r>0){let o=n.slice(0,r),i=n.slice(r+1).trim();this.addHeaderEntry(o,i)}})}:typeof Headers<"u"&&t instanceof Headers?(this.headers=new Map,t.forEach((n,r)=>{this.addHeaderEntry(r,n)})):this.lazyInit=()=>{this.headers=new Map,Object.entries(t).forEach(([n,r])=>{this.setHeaderEntries(n,r)})}:this.headers=new Map}has(t){return this.init(),this.headers.has(t.toLowerCase())}get(t){this.init();let n=this.headers.get(t.toLowerCase());return n&&n.length>0?n[0]:null}keys(){return this.init(),Array.from(this.normalizedNames.values())}getAll(t){return this.init(),this.headers.get(t.toLowerCase())||null}append(t,n){return this.clone({name:t,value:n,op:"a"})}set(t,n){return this.clone({name:t,value:n,op:"s"})}delete(t,n){return this.clone({name:t,value:n,op:"d"})}maybeSetNormalizedName(t,n){this.normalizedNames.has(n)||this.normalizedNames.set(n,t)}init(){this.lazyInit&&(this.lazyInit instanceof e?this.copyFrom(this.lazyInit):this.lazyInit(),this.lazyInit=null,this.lazyUpdate&&(this.lazyUpdate.forEach(t=>this.applyUpdate(t)),this.lazyUpdate=null))}copyFrom(t){t.init(),Array.from(t.headers.keys()).forEach(n=>{this.headers.set(n,t.headers.get(n)),this.normalizedNames.set(n,t.normalizedNames.get(n))})}clone(t){let n=new e;return n.lazyInit=this.lazyInit&&this.lazyInit instanceof e?this.lazyInit:this,n.lazyUpdate=(this.lazyUpdate||[]).concat([t]),n}applyUpdate(t){let n=t.name.toLowerCase();switch(t.op){case"a":case"s":let r=t.value;if(typeof r=="string"&&(r=[r]),r.length===0)return;this.maybeSetNormalizedName(t.name,n);let o=(t.op==="a"?this.headers.get(n):void 0)||[];o.push(...r),this.headers.set(n,o);break;case"d":let i=t.value;if(!i)this.headers.delete(n),this.normalizedNames.delete(n);else{let s=this.headers.get(n);if(!s)return;s=s.filter(a=>i.indexOf(a)===-1),s.length===0?(this.headers.delete(n),this.normalizedNames.delete(n)):this.headers.set(n,s)}break}}addHeaderEntry(t,n){let r=t.toLowerCase();this.maybeSetNormalizedName(t,r),this.headers.has(r)?this.headers.get(r).push(n):this.headers.set(r,[n])}setHeaderEntries(t,n){let r=(Array.isArray(n)?n:[n]).map(i=>i.toString()),o=t.toLowerCase();this.headers.set(o,r),this.maybeSetNormalizedName(t,o)}forEach(t){this.init(),Array.from(this.normalizedNames.keys()).forEach(n=>t(this.normalizedNames.get(n),this.headers.get(n)))}};var ys=class{map=new Map;set(t,n){return this.map.set(t,n),this}get(t){return this.map.has(t)||this.map.set(t,t.defaultValue()),this.map.get(t)}delete(t){return this.map.delete(t),this}has(t){return this.map.has(t)}keys(){return this.map.keys()}},vs=class{encodeKey(t){return Kg(t)}encodeValue(t){return Kg(t)}decodeKey(t){return decodeURIComponent(t)}decodeValue(t){return decodeURIComponent(t)}};function Xw(e,t){let n=new Map;return e.length>0&&e.replace(/^\?/,"").split("&").forEach(o=>{let i=o.indexOf("="),[s,a]=i==-1?[t.decodeKey(o),""]:[t.decodeKey(o.slice(0,i)),t.decodeValue(o.slice(i+1))],c=n.get(s)||[];c.push(a),n.set(s,c)}),n}var eb=/%(\d[a-f0-9])/gi,tb={40:"@","3A":":",24:"$","2C":",","3B":";","3D":"=","3F":"?","2F":"/"};function Kg(e){return encodeURIComponent(e).replace(eb,(t,n)=>tb[n]??t)}function gs(e){return`${e}`}var ct=class e{map;encoder;updates=null;cloneFrom=null;constructor(t={}){if(this.encoder=t.encoder||new vs,t.fromString){if(t.fromObject)throw new C(2805,!1);this.map=Xw(t.fromString,this.encoder)}else t.fromObject?(this.map=new Map,Object.keys(t.fromObject).forEach(n=>{let r=t.fromObject[n],o=Array.isArray(r)?r.map(gs):[gs(r)];this.map.set(n,o)})):this.map=null}has(t){return this.init(),this.map.has(t)}get(t){this.init();let n=this.map.get(t);return n?n[0]:null}getAll(t){return this.init(),this.map.get(t)||null}keys(){return this.init(),Array.from(this.map.keys())}append(t,n){return this.clone({param:t,value:n,op:"a"})}appendAll(t){let n=[];return Object.keys(t).forEach(r=>{let o=t[r];Array.isArray(o)?o.forEach(i=>{n.push({param:r,value:i,op:"a"})}):n.push({param:r,value:o,op:"a"})}),this.clone(n)}set(t,n){return this.clone({param:t,value:n,op:"s"})}delete(t,n){return this.clone({param:t,value:n,op:"d"})}toString(){return this.init(),this.keys().map(t=>{let n=this.encoder.encodeKey(t);return this.map.get(t).map(r=>n+"="+this.encoder.encodeValue(r)).join("&")}).filter(t=>t!=="").join("&")}clone(t){let n=new e({encoder:this.encoder});return n.cloneFrom=this.cloneFrom||this,n.updates=(this.updates||[]).concat(t),n}init(){this.map===null&&(this.map=new Map),this.cloneFrom!==null&&(this.cloneFrom.init(),this.cloneFrom.keys().forEach(t=>this.map.set(t,this.cloneFrom.map.get(t))),this.updates.forEach(t=>{switch(t.op){case"a":case"s":let n=(t.op==="a"?this.map.get(t.param):void 0)||[];n.push(gs(t.value)),this.map.set(t.param,n);break;case"d":if(t.value!==void 0){let r=this.map.get(t.param)||[],o=r.indexOf(gs(t.value));o!==-1&&r.splice(o,1),r.length>0?this.map.set(t.param,r):this.map.delete(t.param)}else{this.map.delete(t.param);break}}}),this.cloneFrom=this.updates=null)}};function nb(e){switch(e){case"DELETE":case"GET":case"HEAD":case"OPTIONS":case"JSONP":return!1;default:return!0}}function Jg(e){return typeof ArrayBuffer<"u"&&e instanceof ArrayBuffer}function Xg(e){return typeof Blob<"u"&&e instanceof Blob}function em(e){return typeof FormData<"u"&&e instanceof FormData}function rb(e){return typeof URLSearchParams<"u"&&e instanceof URLSearchParams}var ro="Content-Type",Ds="Accept",tm="text/plain",nm="application/json",rm=`${nm}, ${tm}, */*`,Qn=class e{url;body=null;headers;context;reportProgress=!1;withCredentials=!1;credentials;keepalive=!1;cache;priority;mode;redirect;referrer;integrity;referrerPolicy;responseType="json";method;params;urlWithParams;transferCache;timeout;constructor(t,n,r,o){this.url=n,this.method=t.toUpperCase();let i;if(nb(this.method)||o?(this.body=r!==void 0?r:null,i=o):i=r,i){if(this.reportProgress=!!i.reportProgress,this.withCredentials=!!i.withCredentials,this.keepalive=!!i.keepalive,i.responseType&&(this.responseType=i.responseType),i.headers&&(this.headers=i.headers),i.context&&(this.context=i.context),i.params&&(this.params=i.params),i.priority&&(this.priority=i.priority),i.cache&&(this.cache=i.cache),i.credentials&&(this.credentials=i.credentials),typeof i.timeout=="number"){if(i.timeout<1||!Number.isInteger(i.timeout))throw new C(2822,"");this.timeout=i.timeout}i.mode&&(this.mode=i.mode),i.redirect&&(this.redirect=i.redirect),i.integrity&&(this.integrity=i.integrity),i.referrer&&(this.referrer=i.referrer),i.referrerPolicy&&(this.referrerPolicy=i.referrerPolicy),this.transferCache=i.transferCache}if(this.headers??=new qe,this.context??=new ys,!this.params)this.params=new ct,this.urlWithParams=n;else{let s=this.params.toString();if(s.length===0)this.urlWithParams=n;else{let a=n.indexOf("?"),c=a===-1?"?":a<n.length-1?"&":"";this.urlWithParams=n+c+s}}}serializeBody(){return this.body===null?null:typeof this.body=="string"||Jg(this.body)||Xg(this.body)||em(this.body)||rb(this.body)?this.body:this.body instanceof ct?this.body.toString():typeof this.body=="object"||typeof this.body=="boolean"||Array.isArray(this.body)?JSON.stringify(this.body):this.body.toString()}detectContentTypeHeader(){return this.body===null||em(this.body)?null:Xg(this.body)?this.body.type||null:Jg(this.body)?null:typeof this.body=="string"?tm:this.body instanceof ct?"application/x-www-form-urlencoded;charset=UTF-8":typeof this.body=="object"||typeof this.body=="number"||typeof this.body=="boolean"?nm:null}clone(t={}){let n=t.method||this.method,r=t.url||this.url,o=t.responseType||this.responseType,i=t.keepalive??this.keepalive,s=t.priority||this.priority,a=t.cache||this.cache,c=t.mode||this.mode,u=t.redirect||this.redirect,l=t.credentials||this.credentials,d=t.referrer||this.referrer,p=t.integrity||this.integrity,f=t.referrerPolicy||this.referrerPolicy,h=t.transferCache??this.transferCache,E=t.timeout??this.timeout,v=t.body!==void 0?t.body:this.body,I=t.withCredentials??this.withCredentials,Q=t.reportProgress??this.reportProgress,pe=t.headers||this.headers,H=t.params||this.params,lt=t.context??this.context;return t.setHeaders!==void 0&&(pe=Object.keys(t.setHeaders).reduce((dt,Ze)=>dt.set(Ze,t.setHeaders[Ze]),pe)),t.setParams&&(H=Object.keys(t.setParams).reduce((dt,Ze)=>dt.set(Ze,t.setParams[Ze]),H)),new e(n,r,v,{params:H,headers:pe,context:lt,reportProgress:Q,responseType:o,withCredentials:I,transferCache:h,keepalive:i,cache:a,priority:s,timeout:E,mode:c,redirect:u,credentials:l,referrer:d,integrity:p,referrerPolicy:f})}},ut=(function(e){return e[e.Sent=0]="Sent",e[e.UploadProgress=1]="UploadProgress",e[e.ResponseHeader=2]="ResponseHeader",e[e.DownloadProgress=3]="DownloadProgress",e[e.Response=4]="Response",e[e.User=5]="User",e})(ut||{}),Yn=class{headers;status;statusText;url;ok;type;redirected;responseType;constructor(t,n=200,r="OK"){this.headers=t.headers||new qe,this.status=t.status!==void 0?t.status:n,this.statusText=t.statusText||r,this.url=t.url||null,this.redirected=t.redirected,this.responseType=t.responseType,this.ok=this.status>=200&&this.status<300}},oo=class e extends Yn{constructor(t={}){super(t)}type=ut.ResponseHeader;clone(t={}){return new e({headers:t.headers||this.headers,status:t.status!==void 0?t.status:this.status,statusText:t.statusText||this.statusText,url:t.url||this.url||void 0})}},Kn=class e extends Yn{body;constructor(t={}){super(t),this.body=t.body!==void 0?t.body:null}type=ut.Response;clone(t={}){return new e({body:t.body!==void 0?t.body:this.body,headers:t.headers||this.headers,status:t.status!==void 0?t.status:this.status,statusText:t.statusText||this.statusText,url:t.url||this.url||void 0,redirected:t.redirected??this.redirected,responseType:t.responseType??this.responseType})}},We=class extends Yn{name="HttpErrorResponse";message;error;ok=!1;constructor(t){super(t,0,"Unknown Error"),this.status>=200&&this.status<300?this.message=`Http failure during parsing for ${t.url||"(unknown url)"}`:this.message=`Http failure response for ${t.url||"(unknown url)"}: ${t.status} ${t.statusText}`,this.error=t.error||null}},om=200,ob=204;var ib=/^\)\]\}',?\n/,im=new b(""),ms=(()=>{class e{fetchImpl=g(Xu,{optional:!0})?.fetch??((...n)=>globalThis.fetch(...n));ngZone=g(W);destroyRef=g(Ie);handle(n){return new S(r=>{let o=new AbortController;this.doRequest(n,o.signal,r).then(el,s=>r.error(new We({error:s})));let i;return n.timeout&&(i=this.ngZone.runOutsideAngular(()=>setTimeout(()=>{o.signal.aborted||o.abort(new DOMException("signal timed out","TimeoutError"))},n.timeout))),()=>{i!==void 0&&clearTimeout(i),o.abort()}})}doRequest(n,r,o){return un(this,null,function*(){let i=this.createRequestInit(n),s;try{let E=this.ngZone.runOutsideAngular(()=>this.fetchImpl(n.urlWithParams,j({signal:r},i)));sb(E),o.next({type:ut.Sent}),s=yield E}catch(E){o.error(new We({error:E,status:E.status??0,statusText:E.statusText,url:n.urlWithParams,headers:E.headers}));return}let a=new qe(s.headers),c=s.statusText,u=s.url||n.urlWithParams,l=s.status,d=null;if(n.reportProgress&&o.next(new oo({headers:a,status:l,statusText:c,url:u})),s.body){let E=s.headers.get("content-length"),v=[],I=s.body.getReader(),Q=0,pe,H,lt=typeof Zone<"u"&&Zone.current,dt=!1;if(yield this.ngZone.runOutsideAngular(()=>un(this,null,function*(){for(;;){if(this.destroyRef.destroyed){yield I.cancel(),dt=!0;break}let{done:Xn,value:Ms}=yield I.read();if(Xn)break;if(v.push(Ms),Q+=Ms.length,n.reportProgress){H=n.responseType==="text"?(H??"")+(pe??=new TextDecoder).decode(Ms,{stream:!0}):void 0;let sl=()=>o.next({type:ut.DownloadProgress,total:E?+E:void 0,loaded:Q,partialText:H});lt?lt.run(sl):sl()}}})),dt){o.complete();return}let Ze=this.concatChunks(v,Q);try{let Xn=s.headers.get(ro)??"";d=this.parseBody(n,Ze,Xn,l)}catch(Xn){o.error(new We({error:Xn,headers:new qe(s.headers),status:s.status,statusText:s.statusText,url:s.url||n.urlWithParams}));return}}l===0&&(l=d?om:0);let p=l>=200&&l<300,f=s.redirected,h=s.type;p?(o.next(new Kn({body:d,headers:a,status:l,statusText:c,url:u,redirected:f,responseType:h})),o.complete()):o.error(new We({error:d,headers:a,status:l,statusText:c,url:u,redirected:f,responseType:h}))})}parseBody(n,r,o,i){switch(n.responseType){case"json":let s=new TextDecoder().decode(r).replace(ib,"");if(s==="")return null;try{return JSON.parse(s)}catch(a){if(i<200||i>=300)return s;throw a}case"text":return new TextDecoder().decode(r);case"blob":return new Blob([r],{type:o});case"arraybuffer":return r.buffer}}createRequestInit(n){let r={},o;if(o=n.credentials,n.withCredentials&&(o="include"),n.headers.forEach((i,s)=>r[i]=s.join(",")),n.headers.has(Ds)||(r[Ds]=rm),!n.headers.has(ro)){let i=n.detectContentTypeHeader();i!==null&&(r[ro]=i)}return{body:n.serializeBody(),method:n.method,headers:r,credentials:o,keepalive:n.keepalive,cache:n.cache,priority:n.priority,mode:n.mode,redirect:n.redirect,referrer:n.referrer,integrity:n.integrity,referrerPolicy:n.referrerPolicy}}concatChunks(n,r){let o=new Uint8Array(r),i=0;for(let s of n)o.set(s,i),i+=s.length;return o}static \u0275fac=function(r){return new(r||e)};static \u0275prov=_({token:e,factory:e.\u0275fac})}return e})(),Xu=class{};function el(){}function sb(e){e.then(el,el)}var ab=/^\)\]\}',?\n/;var tl=(()=>{class e{xhrFactory;tracingService=g(at,{optional:!0});constructor(n){this.xhrFactory=n}maybePropagateTrace(n){return this.tracingService?.propagate?this.tracingService.propagate(n):n}handle(n){if(n.method==="JSONP")throw new C(-2800,!1);let r=this.xhrFactory;return Oo(null).pipe(Qs(()=>new S(i=>{let s=r.build();if(s.open(n.method,n.urlWithParams),n.withCredentials&&(s.withCredentials=!0),n.headers.forEach((v,I)=>s.setRequestHeader(v,I.join(","))),n.headers.has(Ds)||s.setRequestHeader(Ds,rm),!n.headers.has(ro)){let v=n.detectContentTypeHeader();v!==null&&s.setRequestHeader(ro,v)}if(n.timeout&&(s.timeout=n.timeout),n.responseType){let v=n.responseType.toLowerCase();s.responseType=v!=="json"?v:"text"}let a=n.serializeBody(),c=null,u=()=>{if(c!==null)return c;let v=s.statusText||"OK",I=new qe(s.getAllResponseHeaders()),Q=s.responseURL||n.url;return c=new oo({headers:I,status:s.status,statusText:v,url:Q}),c},l=this.maybePropagateTrace(()=>{let{headers:v,status:I,statusText:Q,url:pe}=u(),H=null;I!==ob&&(H=typeof s.response>"u"?s.responseText:s.response),I===0&&(I=H?om:0);let lt=I>=200&&I<300;if(n.responseType==="json"&&typeof H=="string"){let dt=H;H=H.replace(ab,"");try{H=H!==""?JSON.parse(H):null}catch(Ze){H=dt,lt&&(lt=!1,H={error:Ze,text:H})}}lt?(i.next(new Kn({body:H,headers:v,status:I,statusText:Q,url:pe||void 0})),i.complete()):i.error(new We({error:H,headers:v,status:I,statusText:Q,url:pe||void 0}))}),d=this.maybePropagateTrace(v=>{let{url:I}=u(),Q=new We({error:v,status:s.status||0,statusText:s.statusText||"Unknown Error",url:I||void 0});i.error(Q)}),p=d;n.timeout&&(p=this.maybePropagateTrace(v=>{let{url:I}=u(),Q=new We({error:new DOMException("Request timed out","TimeoutError"),status:s.status||0,statusText:s.statusText||"Request timeout",url:I||void 0});i.error(Q)}));let f=!1,h=this.maybePropagateTrace(v=>{f||(i.next(u()),f=!0);let I={type:ut.DownloadProgress,loaded:v.loaded};v.lengthComputable&&(I.total=v.total),n.responseType==="text"&&s.responseText&&(I.partialText=s.responseText),i.next(I)}),E=this.maybePropagateTrace(v=>{let I={type:ut.UploadProgress,loaded:v.loaded};v.lengthComputable&&(I.total=v.total),i.next(I)});return s.addEventListener("load",l),s.addEventListener("error",d),s.addEventListener("timeout",p),s.addEventListener("abort",d),n.reportProgress&&(s.addEventListener("progress",h),a!==null&&s.upload&&s.upload.addEventListener("progress",E)),s.send(a),i.next({type:ut.Sent}),()=>{s.removeEventListener("error",d),s.removeEventListener("abort",d),s.removeEventListener("load",l),s.removeEventListener("timeout",p),n.reportProgress&&(s.removeEventListener("progress",h),a!==null&&s.upload&&s.upload.removeEventListener("progress",E)),s.readyState!==s.DONE&&s.abort()}})))}static \u0275fac=function(r){return new(r||e)(P(no))};static \u0275prov=_({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();function cb(e,t){return t(e)}function ub(e,t,n){return(r,o)=>Mn(n,()=>t(r,i=>e(i,o)))}var sm=new b("",{factory:()=>[]}),am=new b(""),cm=new b("",{factory:()=>!0});var Is=(()=>{class e{static \u0275fac=function(r){return new(r||e)};static \u0275prov=_({token:e,factory:function(r){let o=null;return r?o=new(r||e):o=P(tl),o},providedIn:"root"})}return e})();var Es=(()=>{class e{backend;injector;chain=null;pendingTasks=g(Mr);contributeToStability=g(cm);constructor(n,r){this.backend=n,this.injector=r}handle(n){if(this.chain===null){let r=Array.from(new Set([...this.injector.get(sm),...this.injector.get(am,[])]));this.chain=r.reduceRight((o,i)=>ub(o,i,this.injector),cb)}if(this.contributeToStability){let r=this.pendingTasks.add();return this.chain(n,o=>this.backend.handle(o)).pipe(Zs(r))}else return this.chain(n,r=>this.backend.handle(r))}static \u0275fac=function(r){return new(r||e)(P(Is),P(ie))};static \u0275prov=_({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})(),nl=(()=>{class e{static \u0275fac=function(r){return new(r||e)};static \u0275prov=_({token:e,factory:function(r){let o=null;return r?o=new(r||e):o=P(Es),o},providedIn:"root"})}return e})();function Ju(e,t){return{body:t,headers:e.headers,context:e.context,observe:e.observe,params:e.params,reportProgress:e.reportProgress,responseType:e.responseType,withCredentials:e.withCredentials,credentials:e.credentials,transferCache:e.transferCache,timeout:e.timeout,keepalive:e.keepalive,priority:e.priority,cache:e.cache,mode:e.mode,redirect:e.redirect,integrity:e.integrity,referrer:e.referrer,referrerPolicy:e.referrerPolicy}}var Cs=(()=>{class e{handler;constructor(n){this.handler=n}request(n,r,o={}){let i;if(n instanceof Qn)i=n;else{let c;o.headers instanceof qe?c=o.headers:c=new qe(o.headers);let u;o.params&&(o.params instanceof ct?u=o.params:u=new ct({fromObject:o.params})),i=new Qn(n,r,o.body!==void 0?o.body:null,{headers:c,context:o.context,params:u,reportProgress:o.reportProgress,responseType:o.responseType||"json",withCredentials:o.withCredentials,transferCache:o.transferCache,keepalive:o.keepalive,priority:o.priority,cache:o.cache,mode:o.mode,redirect:o.redirect,credentials:o.credentials,referrer:o.referrer,referrerPolicy:o.referrerPolicy,integrity:o.integrity,timeout:o.timeout})}let s=Oo(i).pipe(Ws(c=>this.handler.handle(c)));if(n instanceof Qn||o.observe==="events")return s;let a=s.pipe(ur(c=>c instanceof Kn));switch(o.observe||"body"){case"body":switch(i.responseType){case"arraybuffer":return a.pipe(he(c=>{if(c.body!==null&&!(c.body instanceof ArrayBuffer))throw new C(2806,!1);return c.body}));case"blob":return a.pipe(he(c=>{if(c.body!==null&&!(c.body instanceof Blob))throw new C(2807,!1);return c.body}));case"text":return a.pipe(he(c=>{if(c.body!==null&&typeof c.body!="string")throw new C(2808,!1);return c.body}));default:return a.pipe(he(c=>c.body))}case"response":return a;default:throw new C(2809,!1)}}delete(n,r={}){return this.request("DELETE",n,r)}get(n,r={}){return this.request("GET",n,r)}head(n,r={}){return this.request("HEAD",n,r)}jsonp(n,r){return this.request("JSONP",n,{params:new ct().append(r,"JSONP_CALLBACK"),observe:"body",responseType:"json"})}options(n,r={}){return this.request("OPTIONS",n,r)}patch(n,r,o={}){return this.request("PATCH",n,Ju(o,r))}post(n,r,o={}){return this.request("POST",n,Ju(o,r))}put(n,r,o={}){return this.request("PUT",n,Ju(o,r))}static \u0275fac=function(r){return new(r||e)(P(nl))};static \u0275prov=_({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();var lb=new b("",{factory:()=>!0}),db="XSRF-TOKEN",fb=new b("",{factory:()=>db}),pb="X-XSRF-TOKEN",hb=new b("",{factory:()=>pb}),gb=(()=>{class e{cookieName=g(fb);doc=g(Ee);lastCookieString="";lastToken=null;parseCount=0;getToken(){let n=this.doc.cookie||"";return n!==this.lastCookieString&&(this.parseCount++,this.lastToken=Yu(n,this.cookieName),this.lastCookieString=n),this.lastToken}static \u0275fac=function(r){return new(r||e)};static \u0275prov=_({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})(),um=(()=>{class e{static \u0275fac=function(r){return new(r||e)};static \u0275prov=_({token:e,factory:function(r){let o=null;return r?o=new(r||e):o=P(gb),o},providedIn:"root"})}return e})();function mb(e,t){if(!g(lb)||e.method==="GET"||e.method==="HEAD")return t(e);try{let o=g(At).href,{origin:i}=new URL(o),{origin:s}=new URL(e.url,i);if(i!==s)return t(e)}catch(o){return t(e)}let n=g(um).getToken(),r=g(hb);return n!=null&&!e.headers.has(r)&&(e=e.clone({headers:e.headers.set(r,n)})),t(e)}var rl=(function(e){return e[e.Interceptors=0]="Interceptors",e[e.LegacyInterceptors=1]="LegacyInterceptors",e[e.CustomXsrfConfiguration=2]="CustomXsrfConfiguration",e[e.NoXsrfProtection=3]="NoXsrfProtection",e[e.JsonpSupport=4]="JsonpSupport",e[e.RequestsMadeViaParent=5]="RequestsMadeViaParent",e[e.Fetch=6]="Fetch",e})(rl||{});function yb(e,t){return{\u0275kind:e,\u0275providers:t}}function vb(...e){let t=[Cs,Es,{provide:nl,useExisting:Es},{provide:Is,useFactory:()=>g(im,{optional:!0})??g(tl)},{provide:sm,useValue:mb,multi:!0}];for(let n of e)t.push(...n.\u0275providers);return Tn(t)}function Db(){return yb(rl.Fetch,[ms,{provide:im,useExisting:ms},{provide:Is,useExisting:ms}])}var lm=class e{http=g(Cs);listConfigurations(){return R(this.http.get("/api/configurations"))}getSession(){return R(this.http.get("/api/session")).catch(t=>{if(t?.status===404)return null;throw t})}bindConfiguration(t){return R(this.http.post("/api/session",{configAlias:t}))}listQueries(){return R(this.http.get("/api/queries")).then(t=>t.queries)}getQuery(t){return R(this.http.get(`/api/queries/${encodeURIComponent(t)}`))}createQuery(t){return R(this.http.post("/api/queries",t))}updateQuery(t,n){return R(this.http.patch(`/api/queries/${encodeURIComponent(t)}`,n))}deleteQuery(t){return R(this.http.delete(`/api/queries/${encodeURIComponent(t)}`))}listFolders(){return R(this.http.get("/api/folders")).then(t=>t.folders)}createFolder(t){return R(this.http.post("/api/folders",{name:t}))}moveQuery(t,n){return R(this.http.post(`/api/queries/${encodeURIComponent(t)}/move`,{folder:n}))}runAdhoc(t,n){return R(this.http.post("/api/queries/run",{type:t,payload:n}))}runPartial(t){return R(this.http.post("/api/queries/run-partial",t))}runSaved(t){return R(this.http.post(`/api/queries/${encodeURIComponent(t)}/run`,{}))}getLayers(t=!1){let n=t?"/api/discovery/layers?refresh=1":"/api/discovery/layers";return R(this.http.get(n))}getServices(t=!1){let n=t?"/api/discovery/services?refresh=1":"/api/discovery/services";return R(this.http.get(n))}getMetrics(t=!1){let n=t?"/api/discovery/metrics?refresh=1":"/api/discovery/metrics";return R(this.http.get(n))}getAttributesForLayer(t,n=!1){let r=new URLSearchParams({layer:t});return n&&r.set("refresh","1"),R(this.http.get(`/api/discovery/attributes?${r.toString()}`))}getAttributeValues(t,n,r=!1){let o=new URLSearchParams({layer:t,attribute:n});return r&&o.set("refresh","1"),R(this.http.get(`/api/discovery/attribute-values?${o.toString()}`))}refreshDiscovery(){return R(this.http.post("/api/discovery/refresh",{}))}getHomeGraphStyles(){return R(this.http.get("/api/home-graph/styles"))}saveHomeGraphStyles(t){return R(this.http.put("/api/home-graph/styles",{rules:t}))}getTasGraph(t={}){let n=new URLSearchParams;t.vertexLimit!==void 0&&n.set("vertexLimit",String(t.vertexLimit)),t.edgeLimit!==void 0&&n.set("edgeLimit",String(t.edgeLimit)),t.serviceNames&&t.serviceNames.length>0&&n.set("serviceNames",t.serviceNames.join(","));let r=n.toString(),o=r?`/api/graph/tas?${r}`:"/api/graph/tas";return R(this.http.get(o))}getHomeGraphServices(t){let n="/api/home-graph/services";if(t&&t.length>0){let r=new URLSearchParams;r.set("names",t.join(",")),n=`${n}?${r.toString()}`}return R(this.http.get(n))}getHomeGraphEntityCount(){return R(this.http.get("/api/home-graph/entity-count"))}getHomeGraphServiceCounts(){return R(this.http.get("/api/home-graph/service-counts"))}getHomeGraphSettings(){return R(this.http.get("/api/home-graph/settings"))}saveHomeGraphSettings(t){return R(this.http.put("/api/home-graph/settings",t))}probeNassqlStepColumns(t){return R(this.http.post("/api/discovery/nassql-step-columns",t))}getServiceDiagnostics(){return R(this.http.get("/api/service-diagnostics"))}static \u0275fac=function(n){return new(n||e)};static \u0275prov=_({token:e,factory:e.\u0275fac,providedIn:"root"})};function ws(e,t){return e?t?e.endsWith("/")?t.startsWith("/")?e+t.slice(1):e+t:t.startsWith("/")?e+t:`${e}/${t}`:e:t}function dm(e){let t=e.search(/#|\?|$/);return e[t-1]==="/"?e.slice(0,t-1)+e.slice(t):e}function ke(e){return e&&e[0]!=="?"?`?${e}`:e}var Jn=(()=>{class e{historyGo(n){throw new Error("")}static \u0275fac=function(r){return new(r||e)};static \u0275prov=_({token:e,factory:()=>g(pm),providedIn:"root"})}return e})(),bs=new b(""),pm=(()=>{class e extends Jn{_platformLocation;_baseHref;_removeListenerFns=[];constructor(n,r){super(),this._platformLocation=n,this._baseHref=r??this._platformLocation.getBaseHrefFromDOM()??g(Ee).location?.origin??""}ngOnDestroy(){for(;this._removeListenerFns.length;)this._removeListenerFns.pop()()}onPopState(n){this._removeListenerFns.push(this._platformLocation.onPopState(n),this._platformLocation.onHashChange(n))}getBaseHref(){return this._baseHref}prepareExternalUrl(n){return ws(this._baseHref,n)}path(n=!1){let r=this._platformLocation.pathname+ke(this._platformLocation.search),o=this._platformLocation.hash;return o&&n?`${r}${o}`:r}pushState(n,r,o,i){let s=this.prepareExternalUrl(o+ke(i));this._platformLocation.pushState(n,r,s)}replaceState(n,r,o,i){let s=this.prepareExternalUrl(o+ke(i));this._platformLocation.replaceState(n,r,s)}forward(){this._platformLocation.forward()}back(){this._platformLocation.back()}getState(){return this._platformLocation.getState()}historyGo(n=0){this._platformLocation.historyGo?.(n)}static \u0275fac=function(r){return new(r||e)(P(At),P(bs,8))};static \u0275prov=_({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();var hm=(()=>{class e{_subject=new be;_basePath;_locationStrategy;_urlChangeListeners=[];_urlChangeSubscription=null;constructor(n){this._locationStrategy=n;let r=this._locationStrategy.getBaseHref();this._basePath=Cb(dm(fm(r))),this._locationStrategy.onPopState(o=>{this._subject.next({url:this.path(!0),pop:!0,state:o.state,type:o.type})})}ngOnDestroy(){this._urlChangeSubscription?.unsubscribe(),this._urlChangeListeners=[]}path(n=!1){return this.normalize(this._locationStrategy.path(n))}getState(){return this._locationStrategy.getState()}isCurrentPathEqualTo(n,r=""){return this.path()==this.normalize(n+ke(r))}normalize(n){return e.stripTrailingSlash(Ib(this._basePath,fm(n)))}prepareExternalUrl(n){return n&&n[0]!=="/"&&(n="/"+n),this._locationStrategy.prepareExternalUrl(n)}go(n,r="",o=null){this._locationStrategy.pushState(o,"",n,r),this._notifyUrlChangeListeners(this.prepareExternalUrl(n+ke(r)),o)}replaceState(n,r="",o=null){this._locationStrategy.replaceState(o,"",n,r),this._notifyUrlChangeListeners(this.prepareExternalUrl(n+ke(r)),o)}forward(){this._locationStrategy.forward()}back(){this._locationStrategy.back()}historyGo(n=0){this._locationStrategy.historyGo?.(n)}onUrlChange(n){return this._urlChangeListeners.push(n),this._urlChangeSubscription??=this.subscribe(r=>{this._notifyUrlChangeListeners(r.url,r.state)}),()=>{let r=this._urlChangeListeners.indexOf(n);this._urlChangeListeners.splice(r,1),this._urlChangeListeners.length===0&&(this._urlChangeSubscription?.unsubscribe(),this._urlChangeSubscription=null)}}_notifyUrlChangeListeners(n="",r){this._urlChangeListeners.forEach(o=>o(n,r))}subscribe(n,r,o){return this._subject.subscribe({next:n,error:r??void 0,complete:o??void 0})}static normalizeQueryParams=ke;static joinWithSlash=ws;static stripTrailingSlash=dm;static \u0275fac=function(r){return new(r||e)(P(Jn))};static \u0275prov=_({token:e,factory:()=>Eb(),providedIn:"root"})}return e})();function Eb(){return new hm(P(Jn))}function Ib(e,t){if(!e||!t.startsWith(e))return t;let n=t.substring(e.length);return n===""||["/",";","?","#"].includes(n[0])?n:t}function fm(e){return e.replace(/\/index.html$/,"")}function Cb(e){if(new RegExp("^(https?:)?//").test(e)){let[,n]=e.split(/\/\/[^\/]+/);return n}return e}var wb=(()=>{class e extends Jn{_platformLocation;_baseHref="";_removeListenerFns=[];constructor(n,r){super(),this._platformLocation=n,r!=null&&(this._baseHref=r)}ngOnDestroy(){for(;this._removeListenerFns.length;)this._removeListenerFns.pop()()}onPopState(n){this._removeListenerFns.push(this._platformLocation.onPopState(n),this._platformLocation.onHashChange(n))}getBaseHref(){return this._baseHref}path(n=!1){let r=this._platformLocation.hash??"#";return r.length>0?r.substring(1):r}prepareExternalUrl(n){let r=ws(this._baseHref,n);return r.length>0?"#"+r:r}pushState(n,r,o,i){let s=this.prepareExternalUrl(o+ke(i))||this._platformLocation.pathname;this._platformLocation.pushState(n,r,s)}replaceState(n,r,o,i){let s=this.prepareExternalUrl(o+ke(i))||this._platformLocation.pathname;this._platformLocation.replaceState(n,r,s)}forward(){this._platformLocation.forward()}back(){this._platformLocation.back()}getState(){return this._platformLocation.getState()}historyGo(n=0){this._platformLocation.historyGo?.(n)}static \u0275fac=function(r){return new(r||e)(P(At),P(bs,8))};static \u0275prov=_({token:e,factory:e.\u0275fac})}return e})();var ol=/\s+/,gm=[],bb=(()=>{class e{_ngEl;_renderer;initialClasses=gm;rawClass;stateMap=new Map;constructor(n,r){this._ngEl=n,this._renderer=r}set klass(n){this.initialClasses=n!=null?n.trim().split(ol):gm}set ngClass(n){this.rawClass=typeof n=="string"?n.trim().split(ol):n}ngDoCheck(){for(let r of this.initialClasses)this._updateState(r,!0);let n=this.rawClass;if(Array.isArray(n)||n instanceof Set)for(let r of n)this._updateState(r,!0);else if(n!=null)for(let r of Object.keys(n))this._updateState(r,!!n[r]);this._applyStateDiff()}_updateState(n,r){let o=this.stateMap.get(n);o!==void 0?(o.enabled!==r&&(o.changed=!0,o.enabled=r),o.touched=!0):this.stateMap.set(n,{enabled:r,changed:!0,touched:!0})}_applyStateDiff(){for(let n of this.stateMap){let r=n[0],o=n[1];o.changed?(this._toggleClass(r,o.enabled),o.changed=!1):o.touched||(o.enabled&&this._toggleClass(r,!1),this.stateMap.delete(r)),o.touched=!1}}_toggleClass(n,r){n=n.trim(),n.length>0&&n.split(ol).forEach(o=>{r?this._renderer.addClass(this._ngEl.nativeElement,o):this._renderer.removeClass(this._ngEl.nativeElement,o)})}static \u0275fac=function(r){return new(r||e)(ee(it),ee(Qr))};static \u0275dir=cn({type:e,selectors:[["","ngClass",""]],inputs:{klass:[0,"class","klass"],ngClass:"ngClass"}})}return e})();var Ts=class{$implicit;ngForOf;index;count;constructor(t,n,r,o){this.$implicit=t,this.ngForOf=n,this.index=r,this.count=o}get first(){return this.index===0}get last(){return this.index===this.count-1}get even(){return this.index%2===0}get odd(){return!this.even}},vm=(()=>{class e{_viewContainer;_template;_differs;set ngForOf(n){this._ngForOf=n,this._ngForOfDirty=!0}set ngForTrackBy(n){this._trackByFn=n}get ngForTrackBy(){return this._trackByFn}_ngForOf=null;_ngForOfDirty=!0;_differ=null;_trackByFn;constructor(n,r,o){this._viewContainer=n,this._template=r,this._differs=o}set ngForTemplate(n){n&&(this._template=n)}ngDoCheck(){if(this._ngForOfDirty){this._ngForOfDirty=!1;let n=this._ngForOf;!this._differ&&n&&(this._differ=this._differs.find(n).create(this.ngForTrackBy))}if(this._differ){let n=this._differ.diff(this._ngForOf);n&&this._applyChanges(n)}}_applyChanges(n){let r=this._viewContainer;n.forEachOperation((o,i,s)=>{if(o.previousIndex==null)r.createEmbeddedView(this._template,new Ts(o.item,this._ngForOf,-1,-1),s===null?void 0:s);else if(s==null)r.remove(i===null?void 0:i);else if(i!==null){let a=r.get(i);r.move(a,s),mm(a,o)}});for(let o=0,i=r.length;o<i;o++){let a=r.get(o).context;a.index=o,a.count=i,a.ngForOf=this._ngForOf}n.forEachIdentityChange(o=>{let i=r.get(o.currentIndex);mm(i,o)})}static ngTemplateContextGuard(n,r){return!0}static \u0275fac=function(r){return new(r||e)(ee(Nt),ee(Tt),ee(Zu))};static \u0275dir=cn({type:e,selectors:[["","ngFor","","ngForOf",""]],inputs:{ngForOf:"ngForOf",ngForTrackBy:"ngForTrackBy",ngForTemplate:"ngForTemplate"}})}return e})();function mm(e,t){e.context.$implicit=t.item}var Tb=(()=>{class e{_viewContainer;_context=new _s;_thenTemplateRef=null;_elseTemplateRef=null;_thenViewRef=null;_elseViewRef=null;constructor(n,r){this._viewContainer=n,this._thenTemplateRef=r}set ngIf(n){this._context.$implicit=this._context.ngIf=n,this._updateView()}set ngIfThen(n){ym(n,!1),this._thenTemplateRef=n,this._thenViewRef=null,this._updateView()}set ngIfElse(n){ym(n,!1),this._elseTemplateRef=n,this._elseViewRef=null,this._updateView()}_updateView(){this._context.$implicit?this._thenViewRef||(this._viewContainer.clear(),this._elseViewRef=null,this._thenTemplateRef&&(this._thenViewRef=this._viewContainer.createEmbeddedView(this._thenTemplateRef,this._context))):this._elseViewRef||(this._viewContainer.clear(),this._thenViewRef=null,this._elseTemplateRef&&(this._elseViewRef=this._viewContainer.createEmbeddedView(this._elseTemplateRef,this._context)))}static ngIfUseIfTypeGuard;static ngTemplateGuard_ngIf;static ngTemplateContextGuard(n,r){return!0}static \u0275fac=function(r){return new(r||e)(ee(Nt),ee(Tt))};static \u0275dir=cn({type:e,selectors:[["","ngIf",""]],inputs:{ngIf:"ngIf",ngIfThen:"ngIfThen",ngIfElse:"ngIfElse"}})}return e})(),_s=class{$implicit=null;ngIf=null};function ym(e,t){if(e&&!e.createEmbeddedView)throw new C(2020,!1)}var _b=(()=>{class e{_ngEl;_differs;_renderer;_ngStyle=null;_differ=null;constructor(n,r,o){this._ngEl=n,this._differs=r,this._renderer=o}set ngStyle(n){this._ngStyle=n,!this._differ&&n&&(this._differ=this._differs.find(n).create())}ngDoCheck(){if(this._differ){let n=this._differ.diff(this._ngStyle);n&&this._applyChanges(n)}}_setStyle(n,r){let[o,i]=n.split("."),s=o.indexOf("-")===-1?void 0:Vn.DashCase;r!=null?this._renderer.setStyle(this._ngEl.nativeElement,o,i?`${r}${i}`:r,s):this._renderer.removeStyle(this._ngEl.nativeElement,o,s)}_applyChanges(n){n.forEachRemovedItem(r=>this._setStyle(r.key,null)),n.forEachAddedItem(r=>this._setStyle(r.key,r.currentValue)),n.forEachChangedItem(r=>this._setStyle(r.key,r.currentValue))}static \u0275fac=function(r){return new(r||e)(ee(it),ee(Qu),ee(Qr))};static \u0275dir=cn({type:e,selectors:[["","ngStyle",""]],inputs:{ngStyle:"ngStyle"}})}return e})(),Mb=(()=>{class e{_viewContainerRef;_viewRef=null;ngTemplateOutletContext=null;ngTemplateOutlet=null;ngTemplateOutletInjector=null;injector=g(le);constructor(n){this._viewContainerRef=n}ngOnChanges(n){if(this._shouldRecreateView(n)){let r=this._viewContainerRef;if(this._viewRef&&r.remove(r.indexOf(this._viewRef)),!this.ngTemplateOutlet){this._viewRef=null;return}let o=this._createContextForwardProxy();this._viewRef=r.createEmbeddedView(this.ngTemplateOutlet,o,{injector:this._getInjector()})}}_getInjector(){return this.ngTemplateOutletInjector==="outlet"?this.injector:this.ngTemplateOutletInjector??void 0}_shouldRecreateView(n){return!!n.ngTemplateOutlet||!!n.ngTemplateOutletInjector}_createContextForwardProxy(){return new Proxy({},{set:(n,r,o)=>this.ngTemplateOutletContext?Reflect.set(this.ngTemplateOutletContext,r,o):!1,get:(n,r,o)=>{if(this.ngTemplateOutletContext)return Reflect.get(this.ngTemplateOutletContext,r,o)}})}static \u0275fac=function(r){return new(r||e)(ee(Nt))};static \u0275dir=cn({type:e,selectors:[["","ngTemplateOutlet",""]],inputs:{ngTemplateOutletContext:"ngTemplateOutletContext",ngTemplateOutlet:"ngTemplateOutlet",ngTemplateOutletInjector:"ngTemplateOutletInjector"},features:[Zc]})}return e})();var Sb=(()=>{class e{static \u0275fac=function(r){return new(r||e)};static \u0275mod=as({type:e});static \u0275inj=yr({})}return e})();var Nb="browser",Ab="server";function Gj(e){return e===Nb}function zj(e){return e===Ab}var Wj=(()=>{class e{static \u0275prov=_({token:e,providedIn:"root",factory:()=>new il(g(Ee),window)})}return e})(),il=class{document;window;offset=()=>[0,0];constructor(t,n){this.document=t,this.window=n}setOffset(t){Array.isArray(t)?this.offset=()=>t:this.offset=t}getScrollPosition(){return[this.window.scrollX,this.window.scrollY]}scrollToPosition(t,n){this.window.scrollTo($(j({},n),{left:t[0],top:t[1]}))}scrollToAnchor(t,n){let r=xb(this.document,t);r&&(this.scrollToElement(r,n),r.focus({preventScroll:!0}))}setHistoryScrollRestoration(t){try{this.window.history.scrollRestoration=t}catch(n){console.warn(et(2400,!1))}}scrollToElement(t,n){let r=t.getBoundingClientRect(),o=r.left+this.window.pageXOffset,i=r.top+this.window.pageYOffset,s=this.offset();this.window.scrollTo($(j({},n),{left:o-s[0],top:i-s[1]}))}};function xb(e,t){let n=e.getElementById(t)||e.getElementsByName(t)[0];if(n)return n;if(typeof e.createTreeWalker=="function"&&e.body&&typeof e.body.attachShadow=="function"){let r=e.createTreeWalker(e.body,NodeFilter.SHOW_ELEMENT),o=r.currentNode;for(;o;){let i=o.shadowRoot;if(i){let s=i.getElementById(t)||i.querySelector(`[name="${t}"]`);if(s)return s}o=r.nextNode()}}return null}export{j as a,$ as b,Tm as c,Rb as d,Ob as e,kb as f,un as g,z as h,Lm as i,S as j,be as k,ir as l,Hm as m,Lt as n,Le as o,Oo as p,Qm as q,Ym as r,Bt as s,he as t,oy as u,Vt as v,cr as w,Lo as x,sy as y,ay as z,cy as A,uy as B,ur as C,ly as D,Hl as E,Ws as F,qs as G,Zs as H,fy as I,py as J,hy as K,Qs as L,gy as M,my as N,C as O,et as P,Zo as Q,_ as R,yr as S,Ey as T,b as U,P as V,g as W,Tn as X,ba as Y,ie as Z,Mn as _,Id as $,Cd as aa,kd as ba,le as ca,Ee as da,Ie as ea,wt as fa,Ke as ga,W as ha,Xe as ia,rt as ja,di as ka,Hd as la,Zc as ma,qf as na,Yc as oa,it as pa,xv as qa,Rv as ra,np as sa,kv as ta,rp as ua,Fv as va,on as wa,Mt as xa,qi as ya,Hv as za,$v as Aa,Uv as Ba,Gv as Ca,zv as Da,Xc as Ea,yp as Fa,Ur as Ga,yD as Ha,Cp as Ia,ED as Ja,ID as Ka,LD as La,Vn as Ma,$n as Na,at as Oa,Oe as Pa,jp as Qa,Tt as Ra,Lr as Sa,Qr as Ta,ee as Ua,zE as Va,Nt as Wa,xh as Xa,Rh as Ya,_I as Za,as as _a,cn as $a,Oh as ab,xI as bb,Lh as cb,Bh as db,UI as eb,cs as fb,GI as gb,Hh as hb,Kr as ib,zh as jb,Wh as kb,wi as lb,bi as mb,KI as nb,JI as ob,XI as pb,eC as qb,tC as rb,nC as sb,qh as tb,$i as ub,xu as vb,Zh as wb,Ru as xb,Ou as yb,Qh as zb,ku as Ab,Fu as Bb,Kh as Cb,cC as Db,Jh as Eb,eg as Fb,tg as Gb,lC as Hb,fC as Ib,pC as Jb,rg as Kb,og as Lb,gC as Mb,mC as Nb,ig as Ob,sg as Pb,yC as Qb,vC as Rb,dg as Sb,fg as Tb,xC as Ub,OC as Vb,UC as Wb,Ig as Xb,Pu as Yb,Cg as Zb,wg as _b,bg as $b,qC as ac,Tg as bc,ZC as cc,JC as dc,XC as ec,ew as fc,tw as gc,nw as hc,rw as ic,ow as jc,iw as kc,sw as lc,lw as mc,fw as nc,hw as oc,gw as pc,Rg as qc,yw as rc,Dw as sc,Og as tc,pL as uc,hL as vc,gL as wc,mL as xc,yL as yc,vL as zc,qg as Ac,EL as Bc,Zw as Cc,Qw as Dc,IL as Ec,CL as Fc,wL as Gc,hs as Hc,Kw as Ic,Ku as Jc,Jw as Kc,Jn as Lc,pm as Mc,hm as Nc,wb as Oc,bb as Pc,vm as Qc,Tb as Rc,_b as Sc,Mb as Tc,Sb as Uc,Yu as Vc,no as Wc,Nb as Xc,Gj as Yc,zj as Zc,Wj as _c,vb as $c,Db as ad,lm as bd};
|
|
3
|
+
`)}`:"",this.name="UnsubscriptionError",this.errors=n});function kt(e,t){if(e){let n=e.indexOf(t);0<=n&&e.splice(n,1)}}var z=class e{constructor(t){this.initialTeardown=t,this.closed=!1,this._parentage=null,this._finalizers=null}unsubscribe(){let t;if(!this.closed){this.closed=!0;let{_parentage:n}=this;if(n)if(this._parentage=null,Array.isArray(n))for(let i of n)i.remove(this);else n.remove(this);let{initialTeardown:r}=this;if(T(r))try{r()}catch(i){t=i instanceof lo?i.errors:[i]}let{_finalizers:o}=this;if(o){this._finalizers=null;for(let i of o)try{ml(i)}catch(s){t=t??[],s instanceof lo?t=[...t,...s.errors]:t.push(s)}}if(t)throw new lo(t)}}add(t){var n;if(t&&t!==this)if(this.closed)ml(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)&&kt(n,t)}remove(t){let{_finalizers:n}=this;n&&kt(n,t),t instanceof e&&t._removeParent(this)}};z.EMPTY=(()=>{let e=new z;return e.closed=!0,e})();var Ls=z.EMPTY;function fo(e){return e instanceof z||e&&"closed"in e&&T(e.remove)&&T(e.add)&&T(e.unsubscribe)}function ml(e){T(e)?e():e.unsubscribe()}var Ce={onUnhandledError:null,onStoppedNotification:null,Promise:void 0,useDeprecatedSynchronousErrorHandling:!1,useDeprecatedNextContext:!1};var hn={setTimeout(e,t,...n){let{delegate:r}=hn;return r?.setTimeout?r.setTimeout(e,t,...n):setTimeout(e,t,...n)},clearTimeout(e){let{delegate:t}=hn;return(t?.clearTimeout||clearTimeout)(e)},delegate:void 0};function po(e){hn.setTimeout(()=>{let{onUnhandledError:t}=Ce;if(t)t(e);else throw e})}function or(){}var yl=js("C",void 0,void 0);function vl(e){return js("E",void 0,e)}function Dl(e){return js("N",e,void 0)}function js(e,t,n){return{kind:e,value:t,error:n}}var Ft=null;function gn(e){if(Ce.useDeprecatedSynchronousErrorHandling){let t=!Ft;if(t&&(Ft={errorThrown:!1,error:null}),e(),t){let{errorThrown:n,error:r}=Ft;if(Ft=null,n)throw r}}else e()}function El(e){Ce.useDeprecatedSynchronousErrorHandling&&Ft&&(Ft.errorThrown=!0,Ft.error=e)}var Pt=class extends z{constructor(t){super(),this.isStopped=!1,t?(this.destination=t,fo(t)&&t.add(this)):this.destination=Pm}static create(t,n,r){return new mt(t,n,r)}next(t){this.isStopped?Vs(Dl(t),this):this._next(t)}error(t){this.isStopped?Vs(vl(t),this):(this.isStopped=!0,this._error(t))}complete(){this.isStopped?Vs(yl,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()}}},km=Function.prototype.bind;function Bs(e,t){return km.call(e,t)}var Hs=class{constructor(t){this.partialObserver=t}next(t){let{partialObserver:n}=this;if(n.next)try{n.next(t)}catch(r){ho(r)}}error(t){let{partialObserver:n}=this;if(n.error)try{n.error(t)}catch(r){ho(r)}else ho(t)}complete(){let{partialObserver:t}=this;if(t.complete)try{t.complete()}catch(n){ho(n)}}},mt=class extends Pt{constructor(t,n,r){super();let o;if(T(t)||!t)o={next:t??void 0,error:n??void 0,complete:r??void 0};else{let i;this&&Ce.useDeprecatedNextContext?(i=Object.create(t),i.unsubscribe=()=>this.unsubscribe(),o={next:t.next&&Bs(t.next,i),error:t.error&&Bs(t.error,i),complete:t.complete&&Bs(t.complete,i)}):o=t}this.destination=new Hs(o)}};function ho(e){Ce.useDeprecatedSynchronousErrorHandling?El(e):po(e)}function Fm(e){throw e}function Vs(e,t){let{onStoppedNotification:n}=Ce;n&&hn.setTimeout(()=>n(e,t))}var Pm={closed:!0,next:or,error:Fm,complete:or};var mn=typeof Symbol=="function"&&Symbol.observable||"@@observable";function we(e){return e}function Lm(...e){return $s(e)}function $s(e){return e.length===0?we: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=Bm(n)?n:new mt(n,r,o);return gn(()=>{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=Il(r),new r((o,i)=>{let s=new mt({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)}[mn](){return this}pipe(...n){return $s(n)(this)}toPromise(n){return n=Il(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 Il(e){var t;return(t=e??Ce.Promise)!==null&&t!==void 0?t:Promise}function jm(e){return e&&T(e.next)&&T(e.error)&&T(e.complete)}function Bm(e){return e&&e instanceof Pt||jm(e)&&fo(e)}function Vm(e){return T(e?.lift)}function R(e){return t=>{if(Vm(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 N(e,t,n,r,o){return new Us(e,t,n,r,o)}var Us=class extends Pt{constructor(t,n,r,o,i,s){super(t),this.onFinalize=i,this.shouldUnsubscribe=s,this._next=n?function(a){try{n(a)}catch(c){t.error(c)}}:super._next,this._error=o?function(a){try{o(a)}catch(c){t.error(c)}finally{this.unsubscribe()}}:super._error,this._complete=r?function(){try{r()}catch(a){t.error(a)}finally{this.unsubscribe()}}:super._complete}unsubscribe(){var t;if(!this.shouldUnsubscribe||this.shouldUnsubscribe()){let{closed:n}=this;super.unsubscribe(),!n&&((t=this.onFinalize)===null||t===void 0||t.call(this))}}};var yn={schedule(e){let t=requestAnimationFrame,n=cancelAnimationFrame,{delegate:r}=yn;r&&(t=r.requestAnimationFrame,n=r.cancelAnimationFrame);let o=t(i=>{n=void 0,e(i)});return new z(()=>n?.(o))},requestAnimationFrame(...e){let{delegate:t}=yn;return(t?.requestAnimationFrame||requestAnimationFrame)(...e)},cancelAnimationFrame(...e){let{delegate:t}=yn;return(t?.cancelAnimationFrame||cancelAnimationFrame)(...e)},delegate:void 0};var Cl=pn(e=>function(){e(this),this.name="ObjectUnsubscribedError",this.message="object unsubscribed"});var be=(()=>{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 go(this,this);return r.operator=n,r}_throwIfClosed(){if(this.closed)throw new Cl}next(n){gn(()=>{if(this._throwIfClosed(),!this.isStopped){this.currentObservers||(this.currentObservers=Array.from(this.observers));for(let r of this.currentObservers)r.next(n)}})}error(n){gn(()=>{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(){gn(()=>{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?Ls:(this.currentObservers=null,i.push(n),new z(()=>{this.currentObservers=null,kt(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 go(t,n),e})(),go=class extends be{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:Ls}};var ir=class extends be{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 Gs={now(){return(Gs.delegate||Date).now()},delegate:void 0};var mo=class extends z{constructor(t,n){super()}schedule(t,n=0){return this}};var sr={setInterval(e,t,...n){let{delegate:r}=sr;return r?.setInterval?r.setInterval(e,t,...n):setInterval(e,t,...n)},clearInterval(e){let{delegate:t}=sr;return(t?.clearInterval||clearInterval)(e)},delegate:void 0};var vn=class extends mo{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 sr.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&&sr.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,kt(r,this),t!=null&&(this.id=this.recycleAsyncId(n,t,null)),this.delay=null,super.unsubscribe()}}};var Dn=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)}};Dn.now=Gs.now;var En=class extends Dn{constructor(t,n=Dn.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 ar=new En(vn),wl=ar;var yo=class extends vn{constructor(t,n){super(t,n),this.scheduler=t,this.work=n}requestAsyncId(t,n,r=0){return r!==null&&r>0?super.requestAsyncId(t,n,r):(t.actions.push(this),t._scheduled||(t._scheduled=yn.requestAnimationFrame(()=>t.flush(void 0))))}recycleAsyncId(t,n,r=0){var o;if(r!=null?r>0:this.delay>0)return super.recycleAsyncId(t,n,r);let{actions:i}=t;n!=null&&n===t._scheduled&&((o=i[i.length-1])===null||o===void 0?void 0:o.id)!==n&&(yn.cancelAnimationFrame(n),t._scheduled=void 0)}};var vo=class extends En{flush(t){this._active=!0;let n;t?n=t.id:(n=this._scheduled,this._scheduled=void 0);let{actions:r}=this,o;t=t||r.shift();do if(o=t.execute(t.state,t.delay))break;while((t=r[0])&&t.id===n&&r.shift());if(this._active=!1,o){for(;(t=r[0])&&t.id===n&&r.shift();)t.unsubscribe();throw o}}};var Hm=new vo(yo);var Lt=new S(e=>e.complete());function Do(e){return e&&T(e.schedule)}function zs(e){return e[e.length-1]}function Eo(e){return T(zs(e))?e.pop():void 0}function Pe(e){return Do(zs(e))?e.pop():void 0}function bl(e,t){return typeof zs(e)=="number"?e.pop():t}function _l(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(l){try{u(r.next(l))}catch(d){s(d)}}function c(l){try{u(r.throw(l))}catch(d){s(d)}}function u(l){l.done?i(l.value):o(l.value).then(a,c)}u((r=r.apply(e,t||[])).next())})}function Tl(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 jt(e){return this instanceof jt?(this.v=e,this):new jt(e)}function Ml(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(E){return new Promise(function(v,I){i.push([f,E,v,I])>1||c(f,E)})},h&&(o[f]=h(o[f])))}function c(f,h){try{u(r[f](h))}catch(E){p(i[0][3],E)}}function u(f){f.value instanceof jt?Promise.resolve(f.value.v).then(l,d):p(i[0][2],f)}function l(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 Sl(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 Tl=="function"?Tl(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(u){i({value:u,done:a})},s)}}var Io=e=>e&&typeof e.length=="number"&&typeof e!="function";function Co(e){return T(e?.then)}function wo(e){return T(e[mn])}function bo(e){return Symbol.asyncIterator&&T(e?.[Symbol.asyncIterator])}function To(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 $m(){return typeof Symbol!="function"||!Symbol.iterator?"@@iterator":Symbol.iterator}var _o=$m();function Mo(e){return T(e?.[_o])}function So(e){return Ml(this,arguments,function*(){let n=e.getReader();try{for(;;){let{value:r,done:o}=yield jt(n.read());if(o)return yield jt(void 0);yield yield jt(r)}}finally{n.releaseLock()}})}function No(e){return T(e?.getReader)}function B(e){if(e instanceof S)return e;if(e!=null){if(wo(e))return Um(e);if(Io(e))return Gm(e);if(Co(e))return zm(e);if(bo(e))return Nl(e);if(Mo(e))return Wm(e);if(No(e))return qm(e)}throw To(e)}function Um(e){return new S(t=>{let n=e[mn]();if(T(n.subscribe))return n.subscribe(t);throw new TypeError("Provided object does not correctly implement Symbol.observable")})}function Gm(e){return new S(t=>{for(let n=0;n<e.length&&!t.closed;n++)t.next(e[n]);t.complete()})}function zm(e){return new S(t=>{e.then(n=>{t.closed||(t.next(n),t.complete())},n=>t.error(n)).then(null,po)})}function Wm(e){return new S(t=>{for(let n of e)if(t.next(n),t.closed)return;t.complete()})}function Nl(e){return new S(t=>{Zm(e,t).catch(n=>t.error(n))})}function qm(e){return Nl(So(e))}function Zm(e,t){var n,r,o,i;return _l(this,void 0,void 0,function*(){try{for(n=Sl(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 ue(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 Ao(e,t=0){return R((n,r)=>{n.subscribe(N(r,o=>ue(r,e,()=>r.next(o),t),()=>ue(r,e,()=>r.complete(),t),o=>ue(r,e,()=>r.error(o),t)))})}function xo(e,t=0){return R((n,r)=>{r.add(e.schedule(()=>n.subscribe(r),t))})}function Al(e,t){return B(e).pipe(xo(t),Ao(t))}function xl(e,t){return B(e).pipe(xo(t),Ao(t))}function Rl(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 Ol(e,t){return new S(n=>{let r;return ue(n,t,()=>{r=e[_o](),ue(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)}),()=>T(r?.return)&&r.return()})}function Ro(e,t){if(!e)throw new Error("Iterable cannot be null");return new S(n=>{ue(n,t,()=>{let r=e[Symbol.asyncIterator]();ue(n,t,()=>{r.next().then(o=>{o.done?n.complete():n.next(o.value)})},0,!0)})})}function kl(e,t){return Ro(So(e),t)}function Fl(e,t){if(e!=null){if(wo(e))return Al(e,t);if(Io(e))return Rl(e,t);if(Co(e))return xl(e,t);if(bo(e))return Ro(e,t);if(Mo(e))return Ol(e,t);if(No(e))return kl(e,t)}throw To(e)}function Le(e,t){return t?Fl(e,t):B(e)}function Oo(...e){let t=Pe(e);return Le(e,t)}function Qm(e,t){let n=T(e)?e:()=>e,r=o=>o.error(n());return new S(t?o=>t.schedule(r,0,o):r)}function Ym(e){return!!e&&(e instanceof S||T(e.lift)&&T(e.subscribe))}var Bt=pn(e=>function(){e(this),this.name="EmptyError",this.message="no elements in sequence"});function A(e,t){let n=typeof t=="object";return new Promise((r,o)=>{let i=new mt({next:s=>{r(s),i.unsubscribe()},error:o,complete:()=>{n?r(t.defaultValue):o(new Bt)}});e.subscribe(i)})}function Pl(e){return e instanceof Date&&!isNaN(e)}function he(e,t){return R((n,r)=>{let o=0;n.subscribe(N(r,i=>{r.next(e.call(t,i,o++))}))})}var{isArray:Km}=Array;function Jm(e,t){return Km(t)?e(...t):e(t)}function ko(e){return he(t=>Jm(e,t))}var{isArray:Xm}=Array,{getPrototypeOf:ey,prototype:ty,keys:ny}=Object;function Fo(e){if(e.length===1){let t=e[0];if(Xm(t))return{args:t,keys:null};if(ry(t)){let n=ny(t);return{args:n.map(r=>t[r]),keys:n}}}return{args:e,keys:null}}function ry(e){return e&&typeof e=="object"&&ey(e)===ty}function Po(e,t){return e.reduce((n,r,o)=>(n[r]=t[o],n),{})}function oy(...e){let t=Pe(e),n=Eo(e),{args:r,keys:o}=Fo(e);if(r.length===0)return Le([],t);let i=new S(iy(r,t,o?s=>Po(o,s):we));return n?i.pipe(ko(n)):i}function iy(e,t,n=we){return r=>{Ll(t,()=>{let{length:o}=e,i=new Array(o),s=o,a=o;for(let c=0;c<o;c++)Ll(t,()=>{let u=Le(e[c],t),l=!1;u.subscribe(N(r,d=>{i[c]=d,l||(l=!0,a--),a||r.next(n(i.slice()))},()=>{--s||r.complete()}))},r)},r)}}function Ll(e,t,n){e?ue(n,e,t):t()}function jl(e,t,n,r,o,i,s,a){let c=[],u=0,l=0,d=!1,p=()=>{d&&!c.length&&!u&&t.complete()},f=E=>u<r?h(E):c.push(E),h=E=>{i&&t.next(E),u++;let v=!1;B(n(E,l++)).subscribe(N(t,I=>{o?.(I),i?f(I):t.next(I)},()=>{v=!0},void 0,()=>{if(v)try{for(u--;c.length&&u<r;){let I=c.shift();s?ue(t,s,()=>h(I)):h(I)}p()}catch(I){t.error(I)}}))};return e.subscribe(N(t,f,()=>{d=!0,p()})),()=>{a?.()}}function Vt(e,t,n=1/0){return T(t)?Vt((r,o)=>he((i,s)=>t(r,i,o,s))(B(e(r,o))),n):(typeof t=="number"&&(n=t),R((r,o)=>jl(r,o,e,n)))}function cr(e=1/0){return Vt(we,e)}function Bl(){return cr(1)}function Lo(...e){return Bl()(Le(e,Pe(e)))}function sy(e){return new S(t=>{B(e()).subscribe(t)})}function ay(...e){let t=Eo(e),{args:n,keys:r}=Fo(e),o=new S(i=>{let{length:s}=n;if(!s){i.complete();return}let a=new Array(s),c=s,u=s;for(let l=0;l<s;l++){let d=!1;B(n[l]).subscribe(N(i,p=>{d||(d=!0,u--),a[l]=p},()=>c--,void 0,()=>{(!c||!d)&&(u||i.next(r?Po(r,a):a),i.complete())}))}});return t?o.pipe(ko(t)):o}function jo(e=0,t,n=wl){let r=-1;return t!=null&&(Do(t)?n=t:r=t),new S(o=>{let i=Pl(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 cy(e=0,t=ar){return e<0&&(e=0),jo(e,e,t)}function uy(...e){let t=Pe(e),n=bl(e,1/0),r=e;return r.length?r.length===1?B(r[0]):cr(n)(Le(r,t)):Lt}function ur(e,t){return R((n,r)=>{let o=0;n.subscribe(N(r,i=>e.call(t,i,o++)&&r.next(i)))})}function Vl(e){return R((t,n)=>{let r=!1,o=null,i=null,s=!1,a=()=>{if(i?.unsubscribe(),i=null,r){r=!1;let u=o;o=null,n.next(u)}s&&n.complete()},c=()=>{i=null,s&&n.complete()};t.subscribe(N(n,u=>{r=!0,o=u,i||B(e(u)).subscribe(i=N(n,a,c))},()=>{s=!0,(!r||!i||i.closed)&&n.complete()}))})}function ly(e,t=ar){return Vl(()=>jo(e,t))}function Hl(e){return R((t,n)=>{let r=null,o=!1,i;r=t.subscribe(N(n,void 0,void 0,s=>{i=B(e(s,Hl(e)(t))),r?(r.unsubscribe(),r=null,i.subscribe(n)):o=!0})),o&&(r.unsubscribe(),r=null,i.subscribe(n))})}function Ws(e,t){return T(t)?Vt(e,t,1):Vt(e,1)}function $l(e){return R((t,n)=>{let r=!1;t.subscribe(N(n,o=>{r=!0,n.next(o)},()=>{r||n.next(e),n.complete()}))})}function qs(e){return e<=0?()=>Lt:R((t,n)=>{let r=0;t.subscribe(N(n,o=>{++r<=e&&(n.next(o),e<=r&&n.complete())}))})}function Ul(e=dy){return R((t,n)=>{let r=!1;t.subscribe(N(n,o=>{r=!0,n.next(o)},()=>r?n.complete():n.error(e())))})}function dy(){return new Bt}function Zs(e){return R((t,n)=>{try{t.subscribe(n)}finally{n.add(e)}})}function fy(e,t){let n=arguments.length>=2;return r=>r.pipe(e?ur((o,i)=>e(o,i,r)):we,qs(1),n?$l(t):Ul(()=>new Bt))}function py(e){return e<=0?()=>Lt:R((t,n)=>{let r=[];t.subscribe(N(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 hy(...e){let t=Pe(e);return R((n,r)=>{(t?Lo(e,n,t):Lo(e,n)).subscribe(r)})}function Qs(e,t){return R((n,r)=>{let o=null,i=0,s=!1,a=()=>s&&!o&&r.complete();n.subscribe(N(r,c=>{o?.unsubscribe();let u=0,l=i++;B(e(c,l)).subscribe(o=N(r,d=>r.next(t?t(c,d,l,u++):d),()=>{o=null,a()}))},()=>{s=!0,a()}))})}function gy(e){return R((t,n)=>{B(e).subscribe(N(n,()=>n.complete(),or)),!n.closed&&t.subscribe(n)})}function my(e,t,n){let r=T(e)||t||n?{next:e,error:t,complete:n}:e;return r?R((o,i)=>{var s;(s=r.subscribe)===null||s===void 0||s.call(r);let a=!0;o.subscribe(N(i,c=>{var u;(u=r.next)===null||u===void 0||u.call(r,c),i.next(c)},()=>{var c;a=!1,(c=r.complete)===null||c===void 0||c.call(r),i.complete()},c=>{var u;a=!1,(u=r.error)===null||u===void 0||u.call(r,c),i.error(c)},()=>{var c,u;a&&((c=r.unsubscribe)===null||c===void 0||c.call(r)),(u=r.finalize)===null||u===void 0||u.call(r)}))}):we}var Ys;function Bo(){return Ys}function je(e){let t=Ys;return Ys=e,t}var Gl=Symbol("NotFound");function In(e){return e===Gl||e?.name==="\u0275NotFound"}function Ks(e,t,n){let r=Object.create(yy);r.source=e,r.computation=t,n!=null&&(r.equal=n);let i=()=>{if(Ot(r),Qe(r),r.value===Fe)throw r.error;return r.value};return i[U]=r,er(r),i}function zl(e,t){Ot(e),gt(e,t),ln(e)}function Wl(e,t){if(Ot(e),e.value===Fe)throw e.error;uo(e,t),ln(e)}var yy=$(j({},ft),{value:xt,dirty:!0,error:null,equal:tr,kind:"linkedSignal",producerMustRecompute(e){return e.value===xt||e.value===Rt},producerRecomputeValue(e){if(e.value===Rt)throw new Error("");let t=e.value;e.value=Rt;let n=Ye(e),r,o=!1;try{let i=e.source(),s=t!==xt&&t!==Fe,a=s?{source:e.sourceValue,value:t}:void 0;r=e.computation(i,a),e.sourceValue=i,y(null),o=s&&r!==Fe&&e.equal(t,r)}catch(i){r=Fe,e.error=i}finally{pt(e,n)}if(o){e.value=t;return}e.value=r,e.version++}});function ql(e){let t=y(null);try{return e()}finally{y(t)}}var Wo="https://angular.dev/best-practices/security#preventing-cross-site-scripting-xss",C=class extends Error{code;constructor(t,n){super(et(t,n)),this.code=t}};function vy(e){return`NG0${Math.abs(e)}`}function et(e,t){return`${vy(e)}${t?": "+t:""}`}var wn=globalThis;function k(e){for(let t in e)if(e[t]===k)return t;throw Error("")}function Jl(e,t){for(let n in t)t.hasOwnProperty(n)&&!e.hasOwnProperty(n)&&(e[n]=t[n])}function mr(e){if(typeof e=="string")return e;if(Array.isArray(e))return`[${e.map(mr).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 qo(e,t){return e?t?`${e} ${t}`:e:t||""}var Dy=k({__forward_ref__:k});function Zo(e){return e.__forward_ref__=Zo,e}function Y(e){return la(e)?e():e}function la(e){return typeof e=="function"&&e.hasOwnProperty(Dy)&&e.__forward_ref__===Zo}function _(e){return{token:e.token,providedIn:e.providedIn||null,factory:e.factory,value:void 0}}function yr(e){return{providers:e.providers||[],imports:e.imports||[]}}function vr(e){return Iy(e,Qo)}function Ey(e){return vr(e)!==null}function Iy(e,t){return e.hasOwnProperty(t)&&e[t]||null}function Cy(e){let t=e?.[Qo]??null;return t||null}function Xs(e){return e&&e.hasOwnProperty(Ho)?e[Ho]:null}var Qo=k({\u0275prov:k}),Ho=k({\u0275inj:k}),b=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=_({token:this,providedIn:n.providedIn||"root",factory:n.factory}))}get multi(){return this}toString(){return`InjectionToken ${this._desc}`}};function da(e){return e&&!!e.\u0275providers}var fa=k({\u0275cmp:k}),pa=k({\u0275dir:k}),ha=k({\u0275pipe:k}),ga=k({\u0275mod:k}),dr=k({\u0275fac:k}),zt=k({__NG_ELEMENT_ID__:k}),Zl=k({__NG_ENV_ID__:k});function ma(e){return Ko(e,"@NgModule"),e[ga]||null}function Be(e){return Ko(e,"@Component"),e[fa]||null}function Yo(e){return Ko(e,"@Directive"),e[pa]||null}function Xl(e){return Ko(e,"@Pipe"),e[ha]||null}function Ko(e,t){if(e==null)throw new C(-919,!1)}function ge(e){return typeof e=="string"?e:e==null?"":String(e)}var ed=k({ngErrorCode:k}),wy=k({ngErrorMessage:k}),by=k({ngTokenPath:k});function ya(e,t){return td("",-200,t)}function Jo(e,t){throw new C(-201,!1)}function td(e,t,n){let r=new C(t,e);return r[ed]=t,r[wy]=e,n&&(r[by]=n),r}function Ty(e){return e[ed]}var ea;function nd(){return ea}function oe(e){let t=ea;return ea=e,t}function va(e,t,n){let r=vr(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;Jo(e,"")}var _y={},Ht=_y,My="__NG_DI_FLAG__",ta=class{injector;constructor(t){this.injector=t}retrieve(t,n){let r=$t(n)||0;try{return this.injector.get(t,r&8?null:Ht,r)}catch(o){if(In(o))return o;throw o}}};function Sy(e,t=0){let n=Bo();if(n===void 0)throw new C(-203,!1);if(n===null)return va(e,void 0,t);{let r=Ny(t),o=n.retrieve(e,r);if(In(o)){if(r.optional)return null;throw o}return o}}function P(e,t=0){return(nd()||Sy)(Y(e),t)}function g(e,t){return P(e,$t(t))}function $t(e){return typeof e>"u"||typeof e=="number"?e:0|(e.optional&&8)|(e.host&&1)|(e.self&&2)|(e.skipSelf&&4)}function Ny(e){return{optional:!!(e&8),host:!!(e&1),self:!!(e&2),skipSelf:!!(e&4)}}function na(e){let t=[];for(let n=0;n<e.length;n++){let r=Y(e[n]);if(Array.isArray(r)){if(r.length===0)throw new C(900,!1);let o,i=0;for(let s=0;s<r.length;s++){let a=r[s],c=Ay(a);typeof c=="number"?c===-1?o=a.token:i|=c:o=a}t.push(P(o,i))}else t.push(P(r))}return t}function Ay(e){return e[My]}function yt(e,t){let n=e.hasOwnProperty(dr);return n?e[dr]:null}function rd(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 od(e){return e.flat(Number.POSITIVE_INFINITY)}function Xo(e,t){e.forEach(n=>Array.isArray(n)?Xo(n,t):t(n))}function Da(e,t,n){t>=e.length?e.push(n):e.splice(t,0,n)}function Dr(e,t){return t>=e.length-1?e.pop():e.splice(t,1)[0]}function id(e,t){let n=[];for(let r=0;r<e;r++)n.push(t);return n}function sd(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 Er(e,t,n){let r=bn(e,t);return r>=0?e[r|1]=n:(r=~r,sd(e,r,t,n)),r}function ei(e,t){let n=bn(e,t);if(n>=0)return e[n|1]}function bn(e,t){return xy(e,t,1)}function xy(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 _e={},ne=[],Wt=new b(""),Ea=new b("",-1),Ia=new b(""),fr=class{get(t,n=Ht){if(n===Ht){let o=td("",-201);throw o.name="\u0275NotFound",o}return n}};function Tn(e){return{\u0275providers:e}}function ad(...e){return{\u0275providers:Ca(!0,e),\u0275fromNgModule:!0}}function Ca(e,...t){let n=[],r=new Set,o,i=s=>{n.push(s)};return Xo(t,s=>{let a=s;$o(a,i,[],r)&&(o||=[],o.push(a))}),o!==void 0&&cd(o,i),n}function cd(e,t){for(let n=0;n<e.length;n++){let{ngModule:r,providers:o}=e[n];wa(o,i=>{t(i,r)})}}function $o(e,t,n,r){if(e=Y(e),!e)return!1;let o=null,i=Xs(e),s=!i&&Be(e);if(!i&&!s){let c=e.ngModule;if(i=Xs(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 u of c)$o(u,t,n,r)}}else if(i){if(i.imports!=null&&!a){r.add(o);let u;Xo(i.imports,l=>{$o(l,t,n,r)&&(u||=[],u.push(l))}),u!==void 0&&cd(u,t)}if(!a){let u=yt(o)||(()=>new o);t({provide:o,useFactory:u,deps:ne},o),t({provide:Ia,useValue:o,multi:!0},o),t({provide:Wt,useValue:()=>P(o),multi:!0},o)}let c=i.providers;if(c!=null&&!a){let u=e;wa(c,l=>{t(l,u)})}}else return!1;return o!==e&&e.providers!==void 0}function wa(e,t){for(let n of e)da(n)&&(n=n.\u0275providers),Array.isArray(n)?wa(n,t):t(n)}var Ry=k({provide:String,useValue:k});function ud(e){return e!==null&&typeof e=="object"&&Ry in e}function Oy(e){return!!(e&&e.useExisting)}function ky(e){return!!(e&&e.useFactory)}function Ut(e){return typeof e=="function"}function ld(e){return!!e.useClass}var ba=new b(""),Vo={},Ql={},Js;function _n(){return Js===void 0&&(Js=new fr),Js}var ie=class{},Gt=class extends ie{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,oa(t,s=>this.processProvider(s)),this.records.set(Ea,Cn(void 0,this)),o.has("environment")&&this.records.set(ie,Cn(void 0,this));let i=this.records.get(ba);i!=null&&typeof i.value=="string"&&this.scopes.add(i.value),this.injectorDefTypes=new Set(this.get(Ia,ne,{self:!0}))}retrieve(t,n){let r=$t(n)||0;try{return this.get(t,Ht,r)}catch(o){if(In(o))return o;throw o}}destroy(){lr(this),this._destroyed=!0;let t=y(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(),y(t)}}onDestroy(t){return lr(this),this._onDestroyHooks.push(t),()=>this.removeOnDestroy(t)}runInContext(t){lr(this);let n=je(this),r=oe(void 0),o;try{return t()}finally{je(n),oe(r)}}get(t,n=Ht,r){if(lr(this),t.hasOwnProperty(Zl))return t[Zl](this);let o=$t(r),i,s=je(this),a=oe(void 0);try{if(!(o&4)){let u=this.records.get(t);if(u===void 0){let l=By(t)&&vr(t);l&&this.injectableDefInScope(l)?u=Cn(ra(t),Vo):u=null,this.records.set(t,u)}if(u!=null)return this.hydrate(t,u,o)}let c=o&2?_n():this.parent;return n=o&8&&n===Ht?null:n,c.get(t,n)}catch(c){let u=Ty(c);throw u===-200||u===-201?new C(u,null):c}finally{oe(a),je(s)}}resolveInjectorInitializers(){let t=y(null),n=je(this),r=oe(void 0),o;try{let i=this.get(Wt,ne,{self:!0});for(let s of i)s()}finally{je(n),oe(r),y(t)}}toString(){return"R3Injector[...]"}processProvider(t){t=Y(t);let n=Ut(t)?t:Y(t&&t.provide),r=Py(t);if(!Ut(t)&&t.multi===!0){let o=this.records.get(n);o||(o=Cn(void 0,Vo,!0),o.factory=()=>na(o.multi),this.records.set(n,o)),n=t,o.multi.push(t)}this.records.set(n,r)}hydrate(t,n,r){let o=y(null);try{if(n.value===Ql)throw ya("");return n.value===Vo&&(n.value=Ql,n.value=n.factory(void 0,r)),typeof n.value=="object"&&n.value&&jy(n.value)&&this._ngOnDestroyHooks.add(n.value),n.value}finally{y(o)}}injectableDefInScope(t){if(!t.providedIn)return!1;let n=Y(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 ra(e){let t=vr(e),n=t!==null?t.factory:yt(e);if(n!==null)return n;if(e instanceof b)throw new C(-204,!1);if(e instanceof Function)return Fy(e);throw new C(-204,!1)}function Fy(e){if(e.length>0)throw new C(-204,!1);let n=Cy(e);return n!==null?()=>n.factory(e):()=>new e}function Py(e){if(ud(e))return Cn(void 0,e.useValue);{let t=Ta(e);return Cn(t,Vo)}}function Ta(e,t,n){let r;if(Ut(e)){let o=Y(e);return yt(o)||ra(o)}else if(ud(e))r=()=>Y(e.useValue);else if(ky(e))r=()=>e.useFactory(...na(e.deps||[]));else if(Oy(e))r=(o,i)=>P(Y(e.useExisting),i!==void 0&&i&8?8:void 0);else{let o=Y(e&&(e.useClass||e.provide));if(Ly(e))r=()=>new o(...na(e.deps));else return yt(o)||ra(o)}return r}function lr(e){if(e.destroyed)throw new C(-205,!1)}function Cn(e,t,n=!1){return{factory:e,value:t,multi:n?[]:void 0}}function Ly(e){return!!e.deps}function jy(e){return e!==null&&typeof e=="object"&&typeof e.ngOnDestroy=="function"}function By(e){return typeof e=="function"||typeof e=="object"&&e.ngMetadataName==="InjectionToken"}function oa(e,t){for(let n of e)Array.isArray(n)?oa(n,t):n&&da(n)?oa(n.\u0275providers,t):t(n)}function Mn(e,t){let n;e instanceof Gt?(lr(e),n=e):n=new ta(e);let r,o=je(n),i=oe(void 0);try{return t()}finally{je(o),oe(i)}}function dd(){return nd()!==void 0||Bo()!=null}var Me=0,D=1,w=2,K=3,me=4,se=5,qt=6,Sn=7,q=8,ae=9,Se=10,O=11,Nn=12,_a=13,Zt=14,ce=15,Et=16,Qt=17,Ve=18,He=19,Ma=20,Je=21,ti=22,vt=23,fe=24,Yt=25,$e=26,V=27,fd=1,Sa=6,It=7,Ir=8,Kt=9,G=10;function tt(e){return Array.isArray(e)&&typeof e[fd]=="object"}function Ne(e){return Array.isArray(e)&&e[fd]===!0}function Na(e){return(e.flags&4)!==0}function Ue(e){return e.componentOffset>-1}function An(e){return(e.flags&1)===1}function Ae(e){return!!e.template}function xn(e){return(e[w]&512)!==0}function Jt(e){return(e[w]&256)===256}var Aa="svg",pd="math";function ye(e){for(;Array.isArray(e);)e=e[Me];return e}function xa(e,t){return ye(t[e])}function de(e,t){return ye(t[e.index])}function ni(e,t){return e.data[t]}function Ra(e,t){return e[t]}function Oa(e,t,n,r){n>=e.data.length&&(e.data[n]=null,e.blueprint[n]=null),t[n]=r}function ve(e,t){let n=t[e];return tt(n)?n:n[Me]}function hd(e){return(e[w]&4)===4}function ri(e){return(e[w]&128)===128}function gd(e){return Ne(e[K])}function De(e,t){return t==null?null:e[t]}function ka(e){e[Qt]=0}function Fa(e){e[w]&1024||(e[w]|=1024,ri(e)&&Xt(e))}function md(e,t){for(;e>0;)t=t[Zt],e--;return t}function Cr(e){return!!(e[w]&9216||e[fe]?.dirty)}function oi(e){e[Se].changeDetectionScheduler?.notify(8),e[w]&64&&(e[w]|=1024),Cr(e)&&Xt(e)}function Xt(e){e[Se].changeDetectionScheduler?.notify(0);let t=Dt(e);for(;t!==null&&!(t[w]&8192||(t[w]|=8192,!ri(t)));)t=Dt(t)}function Pa(e,t){if(Jt(e))throw new C(911,!1);e[Je]===null&&(e[Je]=[]),e[Je].push(t)}function yd(e,t){if(e[Je]===null)return;let n=e[Je].indexOf(t);n!==-1&&e[Je].splice(n,1)}function Dt(e){let t=e[K];return Ne(t)?t[K]:t}function La(e){return e[Sn]??=[]}function ja(e){return e.cleanup??=[]}function vd(e,t,n,r){let o=La(t);o.push(n),e.firstCreatePass&&ja(e).push(r,o.length-1)}var M={lFrame:xd(null),bindingsEnabled:!0,skipHydrationRootTNode:null};var ia=!1;function Dd(){return M.lFrame.elementDepthCount}function Ed(){M.lFrame.elementDepthCount++}function Ba(){M.lFrame.elementDepthCount--}function ii(){return M.bindingsEnabled}function Va(){return M.skipHydrationRootTNode!==null}function Ha(e){return M.skipHydrationRootTNode===e}function $a(){M.skipHydrationRootTNode=null}function m(){return M.lFrame.lView}function L(){return M.lFrame.tView}function Id(e){return M.lFrame.contextLView=e,e[q]}function Cd(e){return M.lFrame.contextLView=null,e}function Z(){let e=Ua();for(;e!==null&&e.type===64;)e=e.parent;return e}function Ua(){return M.lFrame.currentTNode}function wd(){let e=M.lFrame,t=e.currentTNode;return e.isParent?t:t.parent}function Rn(e,t){let n=M.lFrame;n.currentTNode=e,n.isParent=t}function Ga(){return M.lFrame.isParent}function za(){M.lFrame.isParent=!1}function bd(){return M.lFrame.contextLView}function Wa(){return ia}function pr(e){let t=ia;return ia=e,t}function Ge(){let e=M.lFrame,t=e.bindingRootIndex;return t===-1&&(t=e.bindingRootIndex=e.tView.bindingStartIndex),t}function qa(){return M.lFrame.bindingIndex}function Td(e){return M.lFrame.bindingIndex=e}function nt(){return M.lFrame.bindingIndex++}function wr(e){let t=M.lFrame,n=t.bindingIndex;return t.bindingIndex=t.bindingIndex+e,n}function _d(){return M.lFrame.inI18n}function Md(e,t){let n=M.lFrame;n.bindingIndex=n.bindingRootIndex=e,si(t)}function Sd(){return M.lFrame.currentDirectiveIndex}function si(e){M.lFrame.currentDirectiveIndex=e}function Nd(e){let t=M.lFrame.currentDirectiveIndex;return t===-1?null:e[t]}function ai(){return M.lFrame.currentQueryIndex}function br(e){M.lFrame.currentQueryIndex=e}function Vy(e){let t=e[D];return t.type===2?t.declTNode:t.type===1?e[se]:null}function Za(e,t,n){if(n&4){let o=t,i=e;for(;o=o.parent,o===null&&!(n&1);)if(o=Vy(i),o===null||(i=i[Zt],o.type&10))break;if(o===null)return!1;t=o,e=i}let r=M.lFrame=Ad();return r.currentTNode=t,r.lView=e,!0}function ci(e){let t=Ad(),n=e[D];M.lFrame=t,t.currentTNode=n.firstChild,t.lView=e,t.tView=n,t.contextLView=e,t.bindingIndex=n.bindingStartIndex,t.inI18n=!1}function Ad(){let e=M.lFrame,t=e===null?null:e.child;return t===null?xd(e):t}function xd(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 Rd(){let e=M.lFrame;return M.lFrame=e.parent,e.currentTNode=null,e.lView=null,e}var Qa=Rd;function ui(){let e=Rd();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 Od(e){return(M.lFrame.contextLView=md(e,M.lFrame.contextLView))[q]}function xe(){return M.lFrame.selectedIndex}function Ct(e){M.lFrame.selectedIndex=e}function On(){let e=M.lFrame;return ni(e.tView,e.selectedIndex)}function kd(){M.lFrame.currentNamespace=Aa}function Fd(){return M.lFrame.currentNamespace}var Pd=!0;function li(){return Pd}function Tr(e){Pd=e}function sa(e,t=null,n=null,r){let o=Ya(e,t,n,r);return o.resolveInjectorInitializers(),o}function Ya(e,t=null,n=null,r,o=new Set){let i=[n||ne,ad(e)],s;return new Gt(i,t||_n(),s||null,o)}var le=class e{static THROW_IF_NOT_FOUND=Ht;static NULL=new fr;static create(t,n){if(Array.isArray(t))return sa({name:""},n,t,"");{let r=t.name??"";return sa({name:r},t.parent,t.providers,r)}}static \u0275prov=_({token:e,providedIn:"any",factory:()=>P(Ea)});static __NG_ELEMENT_ID__=-1},Ee=new b(""),Ie=(()=>{class e{static __NG_ELEMENT_ID__=Hy;static __NG_ENV_ID__=n=>n}return e})(),Uo=class extends Ie{_lView;constructor(t){super(),this._lView=t}get destroyed(){return Jt(this._lView)}onDestroy(t){let n=this._lView;return Pa(n,t),()=>yd(n,t)}};function Hy(){return new Uo(m())}var Ka=!1,Ld=new b(""),wt=(()=>{class e{taskId=0;pendingTasks=new Set;destroyed=!1;pendingTask=new ir(!1);debugTaskTracker=g(Ld,{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=_({token:e,providedIn:"root",factory:()=>new e})}return e})(),aa=class extends be{__isAsync;destroyRef=void 0;pendingTasks=void 0;constructor(t=!1){super(),this.__isAsync=t,dd()&&(this.destroyRef=g(Ie,{optional:!0})??void 0,this.pendingTasks=g(wt,{optional:!0})??void 0)}emit(t){let n=y(null);try{super.next(t)}finally{y(n)}}subscribe(t,n,r){let o=t,i=n||(()=>null),s=r;if(t&&typeof t=="object"){let c=t;o=c.next?.bind(c),i=c.error?.bind(c),s=c.complete?.bind(c)}this.__isAsync&&(i=this.wrapInTimeout(i),o&&(o=this.wrapInTimeout(o)),s&&(s=this.wrapInTimeout(s)));let a=super.subscribe({next:o,error:i,complete:s});return t instanceof z&&t.add(a),a}wrapInTimeout(t){return n=>{let r=this.pendingTasks?.add();setTimeout(()=>{try{t(n)}finally{r!==void 0&&this.pendingTasks?.remove(r)}})}}},Ke=aa;function Go(...e){}function Ja(e){let t,n;function r(){e=Go;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 jd(e){return queueMicrotask(()=>e()),()=>{e=Go}}var Xa="isAngularZone",hr=Xa+"_ID",$y=0,W=class e{hasPendingMacrotasks=!1;hasPendingMicrotasks=!1;isStable=!0;onUnstable=new Ke(!1);onMicrotaskEmpty=new Ke(!1);onStable=new Ke(!1);onError=new Ke(!1);constructor(t){let{enableLongStackTrace:n=!1,shouldCoalesceEventChangeDetection:r=!1,shouldCoalesceRunChangeDetection:o=!1,scheduleInRootZone:i=Ka}=t;if(typeof Zone>"u")throw new C(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,zy(s)}static isInAngularZone(){return typeof Zone<"u"&&Zone.current.get(Xa)===!0}static assertInAngularZone(){if(!e.isInAngularZone())throw new C(909,!1)}static assertNotInAngularZone(){if(e.isInAngularZone())throw new C(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,Uy,Go,Go);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)}},Uy={};function ec(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 Gy(e){if(e.isCheckStableRunning||e.callbackScheduled)return;e.callbackScheduled=!0;function t(){Ja(()=>{e.callbackScheduled=!1,ca(e),e.isCheckStableRunning=!0,ec(e),e.isCheckStableRunning=!1})}e.scheduleInRootZone?Zone.root.run(()=>{t()}):e._outer.run(()=>{t()}),ca(e)}function zy(e){let t=()=>{Gy(e)},n=$y++;e._inner=e._inner.fork({name:"angular",properties:{[Xa]:!0,[hr]:n,[hr+n]:!0},onInvokeTask:(r,o,i,s,a,c)=>{if(Wy(c))return r.invokeTask(i,s,a,c);try{return Yl(e),r.invokeTask(i,s,a,c)}finally{(e.shouldCoalesceEventChangeDetection&&s.type==="eventTask"||e.shouldCoalesceRunChangeDetection)&&t(),Kl(e)}},onInvoke:(r,o,i,s,a,c,u)=>{try{return Yl(e),r.invoke(i,s,a,c,u)}finally{e.shouldCoalesceRunChangeDetection&&!e.callbackScheduled&&!qy(c)&&t(),Kl(e)}},onHasTask:(r,o,i,s)=>{r.hasTask(i,s),o===i&&(s.change=="microTask"?(e._hasPendingMicrotasks=s.microTask,ca(e),ec(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 ca(e){e._hasPendingMicrotasks||(e.shouldCoalesceEventChangeDetection||e.shouldCoalesceRunChangeDetection)&&e.callbackScheduled===!0?e.hasPendingMicrotasks=!0:e.hasPendingMicrotasks=!1}function Yl(e){e._nesting++,e.isStable&&(e.isStable=!1,e.onUnstable.emit(null))}function Kl(e){e._nesting--,ec(e)}var gr=class{hasPendingMicrotasks=!1;hasPendingMacrotasks=!1;isStable=!0;onUnstable=new Ke;onMicrotaskEmpty=new Ke;onStable=new Ke;onError=new Ke;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 Wy(e){return Bd(e,"__ignore_ng_zone__")}function qy(e){return Bd(e,"__scheduler_tick__")}function Bd(e,t){return!Array.isArray(e)||e.length!==1?!1:e[0]?.data?.[t]===!0}var Xe=class{_console=console;handleError(t){this._console.error("ERROR",t)}},rt=new b("",{factory:()=>{let e=g(W),t=g(ie),n;return r=>{e.runOutsideAngular(()=>{t.destroyed&&!n?setTimeout(()=>{throw r}):(n??=t.get(Xe),n.handleError(r))})}}}),Vd={provide:Wt,useValue:()=>{let e=g(Xe,{optional:!0})},multi:!0};function di(e,t){let[n,r,o]=ks(e,t?.equal),i=n,s=i[U];return i.set=r,i.update=o,i.asReadonly=_r.bind(i),i}function _r(){let e=this[U];if(e.readonlyFn===void 0){let t=()=>this();t[U]=e,e.readonlyFn=t}return e.readonlyFn}var kn=(()=>{class e{view;node;constructor(n,r){this.view=n,this.node=r}static __NG_ELEMENT_ID__=Zy}return e})();function Zy(){return new kn(m(),Z())}var Te=class{},Fn=new b("",{factory:()=>!0});var fi=new b(""),Mr=(()=>{class e{internalPendingTasks=g(wt);scheduler=g(Te);errorHandler=g(rt);add(){let n=this.internalPendingTasks.add();return()=>{this.internalPendingTasks.has(n)&&(this.scheduler.notify(11),this.internalPendingTasks.remove(n))}}run(n){let r=this.add();n().catch(this.errorHandler).finally(r)}static \u0275prov=_({token:e,providedIn:"root",factory:()=>new e})}return e})(),pi=(()=>{class e{static \u0275prov=_({token:e,providedIn:"root",factory:()=>new ua})}return e})(),ua=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}},zo=class{[U];constructor(t){this[U]=t}destroy(){this[U].destroy()}};function Hd(e,t){let n=t?.injector??g(le),r=t?.manualCleanup!==!0?n.get(Ie):null,o,i=n.get(kn,null,{optional:!0}),s=n.get(Te);return i!==null?(o=Ky(i.view,s,e),r instanceof Uo&&r._lView===i.view&&(r=null)):o=Jy(e,n.get(pi),s),o.injector=n,r!==null&&(o.onDestroyFns=[r.onDestroy(()=>o.destroy())]),new zo(o)}var $d=$(j({},Fs),{cleanupFns:void 0,zone:null,onDestroyFns:null,run(){let e=pr(!1);try{Ps(this)}finally{pr(e)}},cleanup(){if(!this.cleanupFns?.length)return;let e=y(null);try{for(;this.cleanupFns.length;)this.cleanupFns.pop()()}finally{this.cleanupFns=[],y(e)}}}),Qy=$(j({},$d),{consumerMarkedDirty(){this.scheduler.schedule(this),this.notifier.notify(12)},destroy(){if(ht(this),this.onDestroyFns!==null)for(let e of this.onDestroyFns)e();this.cleanup(),this.scheduler.remove(this)}}),Yy=$(j({},$d),{consumerMarkedDirty(){this.view[w]|=8192,Xt(this.view),this.notifier.notify(13)},destroy(){if(ht(this),this.onDestroyFns!==null)for(let e of this.onDestroyFns)e();this.cleanup(),this.view[vt]?.delete(this)}});function Ky(e,t,n){let r=Object.create(Yy);return r.view=e,r.zone=typeof Zone<"u"?Zone.current:null,r.notifier=t,r.fn=Ud(r,n),e[vt]??=new Set,e[vt].add(r),r.consumerMarkedDirty(r),r}function Jy(e,t,n){let r=Object.create(Qy);return r.fn=Ud(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 Ud(e,t){return()=>{t(n=>(e.cleanupFns??=[]).push(n))}}function Hr(e){return{toString:e}.toString()}function av(e){return typeof e=="function"}function Rf(e,t,n,r){t!==null?t.applyValueToInputSignal(t,r):e[n]=r}var Ti=class{previousValue;currentValue;firstChange;constructor(t,n,r){this.previousValue=t,this.currentValue=n,this.firstChange=r}isFirstChange(){return this.firstChange}},Zc=(()=>{let e=()=>Of;return e.ngInherit=!0,e})();function Of(e){return e.type.prototype.ngOnChanges&&(e.setInput=uv),cv}function cv(){let e=Ff(this),t=e?.current;if(t){let n=e.previous;if(n===_e)e.previous=t;else for(let r in t)n[r]=t[r];e.current=null,this.ngOnChanges(t)}}function uv(e,t,n,r,o){let i=this.declaredInputs[r],s=Ff(e)||lv(e,{previous:_e,current:null}),a=s.current||(s.current={}),c=s.previous,u=c[i];a[i]=new Ti(u&&u.currentValue,n,c===_e),Rf(e,t,o,n)}var kf="__ngSimpleChanges__";function Ff(e){return e[kf]||null}function lv(e,t){return e[kf]=t}var Gd=[];var F=function(e,t=null,n){for(let r=0;r<Gd.length;r++){let o=Gd[r];o(e,t,n)}},x=(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})(x||{});function dv(e,t,n){let{ngOnChanges:r,ngOnInit:o,ngDoCheck:i}=t.type.prototype;if(r){let s=Of(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 Pf(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:u,ngOnDestroy:l}=i;s&&(e.contentHooks??=[]).push(-n,s),a&&((e.contentHooks??=[]).push(n,a),(e.contentCheckHooks??=[]).push(n,a)),c&&(e.viewHooks??=[]).push(-n,c),u&&((e.viewHooks??=[]).push(n,u),(e.viewCheckHooks??=[]).push(n,u)),l!=null&&(e.destroyHooks??=[]).push(n,l)}}function vi(e,t,n){Lf(e,t,3,n)}function Di(e,t,n,r){(e[w]&3)===n&&Lf(e,t,n,r)}function tc(e,t){let n=e[w];(n&3)===t&&(n&=16383,n+=1,e[w]=n)}function Lf(e,t,n,r){let o=r!==void 0?e[Qt]&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[Qt]+=65536),(a<i||i==-1)&&(fv(e,n,t,c),e[Qt]=(e[Qt]&4294901760)+c+2),c++}function zd(e,t){F(x.LifecycleHookStart,e,t);let n=y(null);try{t.call(e)}finally{y(n),F(x.LifecycleHookEnd,e,t)}}function fv(e,t,n,r){let o=n[r]<0,i=n[r+1],s=o?-n[r]:n[r],a=e[s];o?e[w]>>14<e[Qt]>>16&&(e[w]&3)===t&&(e[w]+=16384,zd(a,i)):zd(a,i)}var Ln=-1,rn=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 pv(e){return(e.flags&8)!==0}function hv(e){return(e.flags&16)!==0}function gv(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];mv(i)?e.setProperty(t,i,s):e.setAttribute(t,i,s),r++}}return r}function jf(e){return e===3||e===4||e===6}function mv(e){return e.charCodeAt(0)===64}function jn(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?Wd(e,n,o,null,t[++r]):Wd(e,n,o,null,null))}}return e}function Wd(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 Bf(e){return e!==Ln}function _i(e){return e&32767}function yv(e){return e>>16}function Mi(e,t){let n=yv(e),r=t;for(;n>0;)r=r[Zt],n--;return r}var dc=!0;function Si(e){let t=dc;return dc=e,t}var vv=256,Vf=vv-1,Hf=5,Dv=0,ze={};function Ev(e,t,n){let r;typeof n=="string"?r=n.charCodeAt(0)||0:n.hasOwnProperty(zt)&&(r=n[zt]),r==null&&(r=n[zt]=Dv++);let o=r&Vf,i=1<<o;t.data[e+(o>>Hf)]|=i}function Ni(e,t){let n=$f(e,t);if(n!==-1)return n;let r=t[D];r.firstCreatePass&&(e.injectorIndex=t.length,nc(r.data,e),nc(t,null),nc(r.blueprint,null));let o=Qc(e,t),i=e.injectorIndex;if(Bf(o)){let s=_i(o),a=Mi(o,t),c=a[D].data;for(let u=0;u<8;u++)t[i+u]=a[s+u]|c[s+u]}return t[i+8]=o,i}function nc(e,t){e.push(0,0,0,0,0,0,0,0,t)}function $f(e,t){return e.injectorIndex===-1||e.parent&&e.parent.injectorIndex===e.injectorIndex||t[e.injectorIndex+8]===null?-1:e.injectorIndex}function Qc(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=Zf(o),r===null)return Ln;if(n++,o=o[Zt],r.injectorIndex!==-1)return r.injectorIndex|n<<16}return Ln}function fc(e,t,n){Ev(e,t,n)}function Iv(e,t){if(t==="class")return e.classes;if(t==="style")return e.styles;let n=e.attrs;if(n){let r=n.length,o=0;for(;o<r;){let i=n[o];if(jf(i))break;if(i===0)o=o+2;else if(typeof i=="number")for(o++;o<r&&typeof n[o]=="string";)o++;else{if(i===t)return n[o+1];o=o+2}}}return null}function Uf(e,t,n){if(n&8||e!==void 0)return e;Jo(t,"NodeInjector")}function Gf(e,t,n,r){if(n&8&&r===void 0&&(r=null),(n&3)===0){let o=e[ae],i=oe(void 0);try{return o?o.get(t,r,n&8):va(t,r,n&8)}finally{oe(i)}}return Uf(r,t,n)}function zf(e,t,n,r=0,o){if(e!==null){if(t[w]&2048&&!(r&2)){let s=Tv(e,t,n,r,ze);if(s!==ze)return s}let i=Wf(e,t,n,r,ze);if(i!==ze)return i}return Gf(t,n,r,o)}function Wf(e,t,n,r,o){let i=wv(n);if(typeof i=="function"){if(!Za(t,e,r))return r&1?Uf(o,n,r):Gf(t,n,r,o);try{let s;if(s=i(r),s==null&&!(r&8))Jo(n);else return s}finally{Qa()}}else if(typeof i=="number"){let s=null,a=$f(e,t),c=Ln,u=r&1?t[ce][se]:null;for((a===-1||r&4)&&(c=a===-1?Qc(e,t):t[a+8],c===Ln||!Zd(r,!1)?a=-1:(s=t[D],a=_i(c),t=Mi(c,t)));a!==-1;){let l=t[D];if(qd(i,a,l.data)){let d=Cv(a,t,n,s,r,u);if(d!==ze)return d}c=t[a+8],c!==Ln&&Zd(r,t[D].data[a+8]===u)&&qd(i,a,t)?(s=l,a=_i(c),t=Mi(c,t)):a=-1}}return o}function Cv(e,t,n,r,o,i){let s=t[D],a=s.data[e+8],c=r==null?Ue(a)&&dc:r!=s&&(a.type&3)!==0,u=o&1&&i===a,l=Ei(a,s,n,c,u);return l!==null?xr(t,s,l,a,o):ze}function Ei(e,t,n,r,o){let i=e.providerIndexes,s=t.data,a=i&1048575,c=e.directiveStart,u=e.directiveEnd,l=i>>20,d=r?a:a+l,p=o?a+l:u;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&&Ae(f)&&f.type===n)return c}return null}function xr(e,t,n,r,o){let i=e[n],s=t.data;if(i instanceof rn){let a=i;if(a.resolving)throw ya("");let c=Si(a.canSeeViewProviders);a.resolving=!0;let u=s[n].type||s[n],l,d=a.injectImpl?oe(a.injectImpl):null,p=Za(e,r,0);try{i=e[n]=a.factory(void 0,o,s,e,r),t.firstCreatePass&&n>=r.directiveStart&&dv(n,s[n],t)}finally{d!==null&&oe(d),Si(c),a.resolving=!1,Qa()}}return i}function wv(e){if(typeof e=="string")return e.charCodeAt(0)||0;let t=e.hasOwnProperty(zt)?e[zt]:void 0;return typeof t=="number"?t>=0?t&Vf:bv:t}function qd(e,t,n){let r=1<<e;return!!(n[t+(e>>Hf)]&r)}function Zd(e,t){return!(e&2)&&!(e&1&&t)}var tn=class{_tNode;_lView;constructor(t,n){this._tNode=t,this._lView=n}get(t,n,r){return zf(this._tNode,this._lView,t,$t(r),n)}};function bv(){return new tn(Z(),m())}function qf(e){return Hr(()=>{let t=e.prototype.constructor,n=t[dr]||pc(t),r=Object.prototype,o=Object.getPrototypeOf(e.prototype).constructor;for(;o&&o!==r;){let i=o[dr]||pc(o);if(i&&i!==n)return i;o=Object.getPrototypeOf(o)}return i=>new i})}function pc(e){return la(e)?()=>{let t=pc(Y(e));return t&&t()}:yt(e)}function Tv(e,t,n,r,o){let i=e,s=t;for(;i!==null&&s!==null&&s[w]&2048&&!xn(s);){let a=Wf(i,s,n,r|2,ze);if(a!==ze)return a;let c=i.parent;if(!c){let u=s[Ma];if(u){let l=u.get(n,ze,r&-5);if(l!==ze)return l}c=Zf(s),s=s[Zt]}i=c}return o}function Zf(e){let t=e[D],n=t.type;return n===2?t.declTNode:n===1?e[se]:null}function Yc(e){return Iv(Z(),e)}function _v(){return qn(Z(),m())}function qn(e,t){return new it(de(e,t))}var it=(()=>{class e{nativeElement;constructor(n){this.nativeElement=n}static __NG_ELEMENT_ID__=_v}return e})();function Qf(e){return e instanceof it?e.nativeElement:e}function Mv(){return this._results[Symbol.iterator]()}var Ai=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 be}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=od(t);(this._changesDetected=!rd(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]=Mv};function Yf(e){return(e.flags&128)===128}var Kc=(function(e){return e[e.OnPush=0]="OnPush",e[e.Eager=1]="Eager",e[e.Default=1]="Default",e})(Kc||{}),Kf=new Map,Sv=0;function Nv(){return Sv++}function Av(e){Kf.set(e[He],e)}function hc(e){Kf.delete(e[He])}var Qd="__ngContext__";function Bn(e,t){tt(t)?(e[Qd]=t[He],Av(t)):e[Qd]=t}function Jf(e){return ep(e[Nn])}function Xf(e){return ep(e[me])}function ep(e){for(;e!==null&&!Ne(e);)e=e[me];return e}var gc;function xv(e){gc=e}function tp(){if(gc!==void 0)return gc;if(typeof document<"u")return document;throw new C(210,!1)}var Rv=new b("",{factory:()=>Ov}),Ov="ng";var np=new b(""),kv=new b("",{providedIn:"platform",factory:()=>"unknown"});var rp=new b("",{factory:()=>g(Ee).body?.querySelector("[ngCspNonce]")?.getAttribute("ngCspNonce")||null});var op="r";var ip="di";var sp=!1,ap=new b("",{factory:()=>sp});var Fv=new b("");var Yd=new WeakMap;function Pv(e,t){if(e==null||typeof e!="object")return;let n=Yd.get(e);n||(n=new WeakSet,Yd.set(e,n)),n.add(t)}var Lv=(e,t,n,r)=>{};function jv(e,t,n,r){Lv(e,t,n,r)}function zi(e){return(e.flags&32)===32}var Bv=()=>null;function cp(e,t,n=!1){return Bv(e,t,n)}function up(e,t){let n=e.contentQueries;if(n!==null){let r=y(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];br(i),a.contentQueries(2,t[s],s)}}}finally{y(r)}}}function mc(e,t,n){br(0);let r=y(null);try{t(e,n)}finally{y(r)}}function Jc(e,t,n){if(Na(t)){let r=y(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{y(r)}}}var on=(function(e){return e[e.Emulated=0]="Emulated",e[e.None=2]="None",e[e.ShadowDom=3]="ShadowDom",e[e.ExperimentalIsolatedShadowDom=4]="ExperimentalIsolatedShadowDom",e})(on||{});var hi;function Vv(){if(hi===void 0&&(hi=null,wn.trustedTypes))try{hi=wn.trustedTypes.createPolicy("angular",{createHTML:e=>e,createScript:e=>e,createScriptURL:e=>e})}catch(e){}return hi}function Wi(e){return Vv()?.createHTML(e)||e}var gi;function lp(){if(gi===void 0&&(gi=null,wn.trustedTypes))try{gi=wn.trustedTypes.createPolicy("angular#unsafe-bypass",{createHTML:e=>e,createScript:e=>e,createScriptURL:e=>e})}catch(e){}return gi}function Kd(e){return lp()?.createHTML(e)||e}function Jd(e){return lp()?.createScriptURL(e)||e}var ot=class{changingThisBreaksApplicationSecurity;constructor(t){this.changingThisBreaksApplicationSecurity=t}toString(){return`SafeValue must use [property]=binding: ${this.changingThisBreaksApplicationSecurity} (see ${Wo})`}},yc=class extends ot{getTypeName(){return"HTML"}},vc=class extends ot{getTypeName(){return"Style"}},Dc=class extends ot{getTypeName(){return"Script"}},Ec=class extends ot{getTypeName(){return"URL"}},Ic=class extends ot{getTypeName(){return"ResourceURL"}};function Mt(e){return e instanceof ot?e.changingThisBreaksApplicationSecurity:e}function qi(e,t){let n=dp(e);if(n!=null&&n!==t){if(n==="ResourceURL"&&t==="URL")return!0;throw new Error(`Required a safe ${t}, got a ${n} (see ${Wo})`)}return n===t}function dp(e){return e instanceof ot&&e.getTypeName()||null}function Hv(e){return new yc(e)}function $v(e){return new vc(e)}function Uv(e){return new Dc(e)}function Gv(e){return new Ec(e)}function zv(e){return new Ic(e)}function Wv(e){let t=new wc(e);return qv()?new Cc(t):t}var Cc=class{inertDocumentHelper;constructor(t){this.inertDocumentHelper=t}getInertBodyElement(t){t="<body><remove></remove>"+t;try{let n=new window.DOMParser().parseFromString(Wi(t),"text/html").body;return n===null?this.inertDocumentHelper.getInertBodyElement(t):(n.firstChild?.remove(),n)}catch(n){return null}}},wc=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=Wi(t),n}};function qv(){try{return!!new window.DOMParser().parseFromString(Wi(""),"text/html")}catch(e){return!1}}var Zv=/^(?!javascript:)(?:[a-z0-9+.-]+:|[^&:\/?#]*(?:[\/?#]|$))/i;function Xc(e){return e=String(e),e.match(Zv)?e:"unsafe:"+e}function st(e){let t={};for(let n of e.split(","))t[n]=!0;return t}function $r(...e){let t={};for(let n of e)for(let r in n)n.hasOwnProperty(r)&&(t[r]=!0);return t}var fp=st("area,br,col,hr,img,wbr"),pp=st("colgroup,dd,dt,li,p,tbody,td,tfoot,th,thead,tr"),hp=st("rp,rt"),Qv=$r(hp,pp),Yv=$r(pp,st("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")),Kv=$r(hp,st("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")),Xd=$r(fp,Yv,Kv,Qv),gp=st("background,cite,href,itemtype,longdesc,poster,src,xlink:href"),Jv=st("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"),Xv=st("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"),eD=$r(gp,Jv,Xv),tD=st("script,style,template");var bc=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=oD(n);continue}for(;n;){n.nodeType===Node.ELEMENT_NODE&&this.endElement(n);let i=rD(n);if(i){n=i;break}n=o.pop()}}return this.buf.join("")}startElement(t){let n=ef(t).toLowerCase();if(!Xd.hasOwnProperty(n))return this.sanitizedSomething=!0,!tD.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(!eD.hasOwnProperty(a)){this.sanitizedSomething=!0;continue}let c=i.value;gp[a]&&(c=Xc(c)),this.buf.push(" ",s,'="',tf(c),'"')}return this.buf.push(">"),!0}endElement(t){let n=ef(t).toLowerCase();Xd.hasOwnProperty(n)&&!fp.hasOwnProperty(n)&&(this.buf.push("</"),this.buf.push(n),this.buf.push(">"))}chars(t){this.buf.push(tf(t))}};function nD(e,t){return(e.compareDocumentPosition(t)&Node.DOCUMENT_POSITION_CONTAINED_BY)!==Node.DOCUMENT_POSITION_CONTAINED_BY}function rD(e){let t=e.nextSibling;if(t&&e!==t.previousSibling)throw mp(t);return t}function oD(e){let t=e.firstChild;if(t&&nD(e,t))throw mp(t);return t}function ef(e){let t=e.nodeName;return typeof t=="string"?t:"FORM"}function mp(e){return new Error(`Failed to sanitize html because the element is clobbered: ${e.outerHTML}`)}var iD=/[\uD800-\uDBFF][\uDC00-\uDFFF]/g,sD=/([^\#-~ |!])/g;function tf(e){return e.replace(/&/g,"&").replace(iD,function(t){let n=t.charCodeAt(0),r=t.charCodeAt(1);return"&#"+((n-55296)*1024+(r-56320)+65536)+";"}).replace(sD,function(t){return"&#"+t.charCodeAt(0)+";"}).replace(/</g,"<").replace(/>/g,">")}var mi;function yp(e,t){let n=null;try{mi=mi||Wv(e);let r=t?String(t):"";n=mi.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=mi.getInertBodyElement(r)}while(r!==i);let a=new bc().sanitizeChildren(nf(n)||n);return Wi(a)}finally{if(n){let r=nf(n)||n;for(;r.firstChild;)r.firstChild.remove()}}}function nf(e){return"content"in e&&aD(e)?e.content:null}function aD(e){return e.nodeType===Node.ELEMENT_NODE&&e.nodeName==="TEMPLATE"}var cD=/^>|^->|<!--|-->|--!>|<!-$/g,uD=/(<|>)/g,lD="\u200B$1\u200B";function dD(e){return e.replace(cD,t=>t.replace(uD,lD))}function fD(e,t){return e.createText(t)}function pD(e,t,n){e.setValue(t,n)}function hD(e,t){return e.createComment(dD(t))}function vp(e,t,n){return e.createElement(t,n)}function xi(e,t,n,r,o){e.insertBefore(t,n,r,o)}function Dp(e,t,n){e.appendChild(t,n)}function rf(e,t,n,r,o){r!==null?xi(e,t,n,r,o):Dp(e,t,n)}function Ep(e,t,n,r){e.removeChild(null,t,n,r)}function gD(e,t,n){e.setAttribute(t,"style",n)}function mD(e,t,n){n===""?e.removeAttribute(t,"class"):e.setAttribute(t,"class",n)}function Ip(e,t,n){let{mergedAttrs:r,classes:o,styles:i}=n;r!==null&&gv(e,t,r),o!==null&&mD(e,t,o),i!==null&&gD(e,t,i)}var Ur=(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})(Ur||{});function yD(e){let t=eu();return t?Kd(t.sanitize(Ur.HTML,e)||""):qi(e,"HTML")?Kd(Mt(e)):yp(tp(),ge(e))}function Cp(e){let t=eu();return t?t.sanitize(Ur.URL,e)||"":qi(e,"URL")?Mt(e):Xc(ge(e))}function wp(e){let t=eu();if(t)return Jd(t.sanitize(Ur.RESOURCE_URL,e)||"");if(qi(e,"ResourceURL"))return Jd(Mt(e));throw new C(904,!1)}var vD={embed:{src:!0},frame:{src:!0},iframe:{src:!0},media:{src:!0},script:{src:!0,href:!0,"xlink:href":!0},base:{href:!0},link:{href:!0},object:{data:!0,codebase:!0}};function DD(e,t){return vD[e]?.[t]===!0?wp:Cp}function ED(e,t,n){return DD(t,n)(e)}function eu(){let e=m();return e&&e[Se].sanitizer}function ID(e){return e.ownerDocument}function bp(e){return e instanceof Function?e():e}function CD(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 Tp="ng-template";function wD(e,t,n,r){let o=0;if(r){for(;o<t.length&&typeof t[o]=="string";o+=2)if(t[o]==="class"&&CD(t[o+1].toLowerCase(),n,0)!==-1)return!0}else if(tu(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 tu(e){return e.type===4&&e.value!==Tp}function bD(e,t,n){let r=e.type===4&&!n?Tp:e.value;return t===r}function TD(e,t,n){let r=4,o=e.attrs,i=o!==null?SD(o):0,s=!1;for(let a=0;a<t.length;a++){let c=t[a];if(typeof c=="number"){if(!s&&!Re(r)&&!Re(c))return!1;if(s&&Re(c))continue;s=!1,r=c|r&1;continue}if(!s)if(r&4){if(r=2|r&1,c!==""&&!bD(e,c,n)||c===""&&t.length===1){if(Re(r))return!1;s=!0}}else if(r&8){if(o===null||!wD(e,o,c,n)){if(Re(r))return!1;s=!0}}else{let u=t[++a],l=_D(c,o,tu(e),n);if(l===-1){if(Re(r))return!1;s=!0;continue}if(u!==""){let d;if(l>i?d="":d=o[l+1].toLowerCase(),r&2&&u!==d){if(Re(r))return!1;s=!0}}}}return Re(r)||s}function Re(e){return(e&1)===0}function _D(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 ND(t,e)}function _p(e,t,n=!1){for(let r=0;r<t.length;r++)if(TD(e,t[r],n))return!0;return!1}function MD(e){let t=e.attrs;if(t!=null){let n=t.indexOf(5);if((n&1)===0)return t[n+1]}return null}function SD(e){for(let t=0;t<e.length;t++){let n=e[t];if(jf(n))return t}return e.length}function ND(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 AD(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 of(e,t){return e?":not("+t.trim()+")":t}function xD(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!==""&&!Re(s)&&(t+=of(i,o),o=""),r=s,i=i||!Re(r);n++}return o!==""&&(t+=of(i,o)),t}function RD(e){return e.map(xD).join(",")}function OD(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(!Re(o))break;o=i}r++}return n.length&&t.push(1,...n),t}var X={};function nu(e,t,n,r,o,i,s,a,c,u,l){let d=V+r,p=d+o,f=kD(d,p),h=typeof u=="function"?u():u;return f[D]={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:l}}function kD(e,t){let n=[];for(let r=0;r<t;r++)n.push(r<e?null:X);return n}function FD(e){let t=e.tView;return t===null||t.incompleteFirstPass?e.tView=nu(1,null,e.template,e.decls,e.vars,e.directiveDefs,e.pipeDefs,e.viewQuery,e.schemas,e.consts,e.id):t}function ru(e,t,n,r,o,i,s,a,c,u,l){let d=t.blueprint.slice();return d[Me]=o,d[w]=r|4|128|8|64|1024,(u!==null||e&&e[w]&2048)&&(d[w]|=2048),ka(d),d[K]=d[Zt]=e,d[q]=n,d[Se]=s||e&&e[Se],d[O]=a||e&&e[O],d[ae]=c||e&&e[ae]||null,d[se]=i,d[He]=Nv(),d[qt]=l,d[Ma]=u,d[ce]=t.type==2?e[ce]:d,d}function PD(e,t,n){let r=de(t,e),o=FD(n),i=e[Se].rendererFactory,s=ou(e,ru(e,o,null,Mp(n),r,t,null,i.createRenderer(r,n),null,null,null));return e[t.index]=s}function Mp(e){let t=16;return e.signals?t=4096:e.onPush&&(t=64),t}function Sp(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 ou(e,t){return e[Nn]?e[_a][me]=t:e[Nn]=t,e[_a]=t,t}function LD(e=1){Np(L(),m(),xe()+e,!1)}function Np(e,t,n,r){if(!r)if((t[w]&3)===3){let i=e.preOrderCheckHooks;i!==null&&vi(t,i,n)}else{let i=e.preOrderHooks;i!==null&&Di(t,i,0,n)}Ct(n)}var Zi=(function(e){return e[e.None=0]="None",e[e.SignalBased=1]="SignalBased",e[e.HasDecoratorInputTransform=2]="HasDecoratorInputTransform",e})(Zi||{});function Tc(e,t,n,r){let o=y(null);try{let[i,s,a]=e.inputs[n],c=null;(s&Zi.SignalBased)!==0&&(c=t[i][U]),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):Rf(t,c,i,r)}finally{y(o)}}var Vn=(function(e){return e[e.Important=1]="Important",e[e.DashCase=2]="DashCase",e})(Vn||{}),jD;function iu(e,t){return jD(e,t)}var Ap=new b("",{factory:()=>!1});var BD=!1,Gr=typeof document<"u"&&typeof document?.documentElement?.getAnimations=="function";function xp(e){return e[ae].get(Ap,BD)}function VD(e,t,n){let r=Hn.get(e);if(r){for(let o of t)r.classList.push(o);for(let o of n)r.cleanupFns.push(o)}else Hn.set(e,{classList:t,cleanupFns:n})}function su(e){let t=Hn.get(e);if(t){for(let n of t.cleanupFns)n();Hn.delete(e)}nn.delete(e)}var Hn=new WeakMap,nn=new WeakMap,Rr=new WeakMap,Sr=new WeakSet;function sf(e,t){let n=Rr.get(e);if(n&&n.length>0){let r=n.findIndex(o=>o===t);r>-1&&n.splice(r,1)}n?.length===0&&Rr.delete(e)}function HD(e,t){let n=Rr.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),Sr.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 Rp(e,t){let n=Rr.get(e);n?n.includes(t)||n.push(t):Rr.set(e,[t])}function af(e){let t=e[$e]??={};return t.enter??=new Map}function Qi(e){let t=e[$e]??={};return t.leave??=new Map}function Op(e){let t=typeof e=="function"?e():e,n=Array.isArray(t)?t:null;return typeof t=="string"&&(n=t.trim().split(/\s+/).filter(r=>r)),n}function $D(e,t){if(!Gr)return;let n=Hn.get(e);if(n&&n.classList.length>0&&UD(e,n.classList))for(let r of n.classList)t.removeClass(e,r);su(e)}function UD(e,t){for(let n of t)if(e.classList.contains(n))return!0;return!1}function Or(e){return e.composedPath?e.composedPath()[0]:e.target}function au(e,t){let n=nn.get(t);return n===void 0?!0:t===Or(e)&&(n.animationName!==void 0&&e.animationName===n.animationName||n.propertyName!==void 0&&(n.propertyName==="all"||e.propertyName===n.propertyName))}function kp(e,t,n){let r=e.get(t.index)??{animateFns:[]};r.animateFns.push(n),e.set(t.index,r)}function cf(e,t){if(e)for(let n of e)n();for(let n of t)n()}function uf(e,t){let n=Qi(e).get(t.index);n&&(n.resolvers=void 0)}function Ri(e){if(!e)return 0;let t=e.toLowerCase().indexOf("ms")>-1?1:1e3;return parseFloat(e)*t}function en(e,t){return e.getPropertyValue(t).split(",").map(r=>r.trim())}function GD(e){let t=en(e,"transition-property"),n=en(e,"transition-duration"),r=en(e,"transition-delay"),o={propertyName:"",duration:0,animationName:void 0};for(let i=0;i<t.length;i++){let s=Ri(r[i])+Ri(n[i]);s>o.duration&&(o.propertyName=t[i],o.duration=s)}return o}function zD(e){let t=en(e,"animation-name"),n=en(e,"animation-delay"),r=en(e,"animation-duration"),o=en(e,"animation-iteration-count"),i={animationName:"",propertyName:void 0,duration:0};for(let s=0;s<t.length;s++){let a=Ri(n[s])+Ri(r[s]),c=o[s];a>i.duration&&c!=="infinite"&&(i.animationName=t[s],i.duration=a)}return i}function Fp(e,t){return e!==void 0&&e.duration>t.duration}function Pp(e){return(e.animationName!=null||e.propertyName!=null)&&e.duration>0}function WD(e,t){let n=getComputedStyle(e),r=zD(n),o=GD(n),i=r.duration>o.duration?r:o;Fp(t.get(e),i)||Pp(i)&&t.set(e,i)}function Lp(e,t,n){if(!n)return;let r=e.getAnimations();return r.length===0?WD(e,t):qD(e,t,r)}function qD(e,t,n){let r={animationName:void 0,propertyName:void 0,duration:0};for(let o of n){let i=o.effect?.getTiming();if(i?.iterations===1/0)continue;let s=typeof i?.duration=="number"?i.duration:0,a=(i?.delay??0)+s,c=o.playbackRate;c!==void 0&&c!==0&&c!==1&&(a/=Math.abs(c));let u,l;o.animationName?l=o.animationName:u=o.transitionProperty,a>=r.duration&&(r={animationName:l,propertyName:u,duration:a})}Fp(t.get(e),r)||Pp(r)&&t.set(e,r)}var $n=new Set,Yi=(function(e){return e[e.CHANGE_DETECTION=0]="CHANGE_DETECTION",e[e.AFTER_NEXT_RENDER=1]="AFTER_NEXT_RENDER",e})(Yi||{}),at=new b(""),lf=new Set;function Oe(e){lf.has(e)||(lf.add(e),performance?.mark?.("mark_feature_usage",{detail:{feature:e}}))}var Ki=(()=>{class e{impl=null;execute(){this.impl?.execute()}static \u0275prov=_({token:e,providedIn:"root",factory:()=>new e})}return e})(),cu=[0,1,2,3],uu=(()=>{class e{ngZone=g(W);scheduler=g(Te);errorHandler=g(Xe,{optional:!0});sequences=new Set;deferredRegistrations=new Set;executing=!1;constructor(){g(at,{optional:!0})}execute(){let n=this.sequences.size>0;n&&F(x.AfterRenderHooksStart),this.executing=!0;for(let r of cu)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&&F(x.AfterRenderHooksEnd)}register(n){let{view:r}=n;r!==void 0?((r[Yt]??=[]).push(n),Xt(r),r[w]|=8192):this.executing?this.deferredRegistrations.add(n):this.addSequence(n)}addSequence(n){this.sequences.add(n),this.scheduler.notify(7)}unregister(n){this.executing&&this.sequences.has(n)?(n.erroredOrDestroyed=!0,n.pipelinedValue=void 0,n.once=!0):(this.sequences.delete(n),this.deferredRegistrations.delete(n))}maybeTrace(n,r){return r?r.run(Yi.AFTER_NEXT_RENDER,n):n()}static \u0275prov=_({token:e,providedIn:"root",factory:()=>new e})}return e})(),kr=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?.[Yt];t&&(this.view[Yt]=t.filter(n=>n!==this))}};function jp(e,t){let n=t?.injector??g(le);return Oe("NgAfterNextRender"),QD(e,n,t,!0)}function ZD(e){return e instanceof Function?[void 0,void 0,e,void 0]:[e.earlyRead,e.write,e.mixedReadWrite,e.read]}function QD(e,t,n,r){let o=t.get(Ki);o.impl??=t.get(uu);let i=t.get(at,null,{optional:!0}),s=n?.manualCleanup!==!0?t.get(Ie):null,a=t.get(kn,null,{optional:!0}),c=new kr(o.impl,ZD(e),a?.view,r,s,i?.snapshot(null));return o.impl.register(c),c}var Ji=new b("",{factory:()=>({queue:new Set,isScheduled:!1,scheduler:null,injector:g(ie)})});function Bp(e,t,n){let r=e.get(Ji);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 YD(e,t){let n=e.get(Ji);if(t.detachedLeaveAnimationFns){for(let r of t.detachedLeaveAnimationFns)n.queue.delete(r);t.detachedLeaveAnimationFns=void 0}}function KD(e){let t=e.get(Ji);t.isScheduled||(jp(()=>{t.isScheduled=!1;for(let n of t.queue)n();t.queue.clear()},{injector:t.injector}),t.isScheduled=!0)}function Vp(e){let t=e.get(Ji);t.scheduler=KD,t.scheduler(e)}function Hp(e,t){for(let[n,r]of t)Bp(e,r.animateFns)}function df(e,t,n,r){let o=e?.[$e]?.enter;t!==null&&o&&o.has(n.index)&&Hp(r,o)}function Pn(e,t,n,r,o,i,s,a){if(o!=null){let c,u=!1;Ne(o)?c=o:tt(o)&&(u=!0,o=o[Me]);let l=ye(o);e===0&&r!==null?(df(a,r,i,n),s==null?Dp(t,r,l):xi(t,r,l,s||null,!0)):e===1&&r!==null?(df(a,r,i,n),xi(t,r,l,s||null,!0),HD(i,l)):e===2?(a?.[$e]?.leave?.has(i.index)&&Rp(i,l),Sr.delete(l),ff(a,i,n,d=>{if(Sr.has(l)){Sr.delete(l);return}Ep(t,l,u,d)})):e===3&&(Sr.delete(l),ff(a,i,n,()=>{t.destroyNode(l)})),c!=null&&cE(t,e,n,c,i,r,s)}}function JD(e,t){$p(e,t),t[Me]=null,t[se]=null}function XD(e,t,n,r,o,i){r[Me]=o,r[se]=t,es(e,r,n,1,o,i)}function $p(e,t){t[Se].changeDetectionScheduler?.notify(9),es(e,t,t[O],2,null,null)}function eE(e){let t=e[Nn];if(!t)return rc(e[D],e);for(;t;){let n=null;if(tt(t))n=t[Nn];else{let r=t[G];r&&(n=r)}if(!n){for(;t&&!t[me]&&t!==e;)tt(t)&&rc(t[D],t),t=t[K];t===null&&(t=e),tt(t)&&rc(t[D],t),n=t&&t[me]}t=n}}function lu(e,t){let n=e[Kt],r=n.indexOf(t);n.splice(r,1)}function Xi(e,t){if(Jt(t))return;let n=t[O];n.destroyNode&&es(e,t,n,3,null,null),eE(t)}function rc(e,t){if(Jt(t))return;let n=y(null);try{t[w]&=-129,t[w]|=256,t[fe]&&ht(t[fe]),rE(e,t),nE(e,t),t[D].type===1&&t[O].destroy();let r=t[Et];if(r!==null&&Ne(t[K])){r!==t[K]&&lu(r,t);let o=t[Ve];o!==null&&o.detachView(e)}hc(t)}finally{y(n)}}function ff(e,t,n,r){let o=e?.[$e];if(o==null||o.leave==null||!o.leave.has(t.index))return r(!1);e&&$n.add(e[He]),Bp(n,()=>{if(o.leave&&o.leave.has(t.index)){let s=o.leave.get(t.index),a=[];if(s){for(let c=0;c<s.animateFns.length;c++){let u=s.animateFns[c],{promise:l}=u();a.push(l)}o.detachedLeaveAnimationFns=void 0}o.running=Promise.allSettled(a),tE(e,r)}else e&&$n.delete(e[He]),r(!1)},o)}function tE(e,t){let n=e[$e]?.running;if(n){n.then(()=>{e[$e].running=void 0,$n.delete(e[He]),t(!0)});return}t(!1)}function nE(e,t){let n=e.cleanup,r=t[Sn];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[Sn]=null);let o=t[Je];if(o!==null){t[Je]=null;for(let s=0;s<o.length;s++){let a=o[s];a()}}let i=t[vt];if(i!==null){t[vt]=null;for(let s of i)s.destroy()}}function rE(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 rn)){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];F(x.LifecycleHookStart,a,c);try{c.call(a)}finally{F(x.LifecycleHookEnd,a,c)}}else{F(x.LifecycleHookStart,o,i);try{i.call(o)}finally{F(x.LifecycleHookEnd,o,i)}}}}}function Up(e,t,n){return oE(e,t.parent,n)}function oE(e,t,n){let r=t;for(;r!==null&&r.type&168;)t=r,r=t.parent;if(r===null)return n[Me];if(Ue(r)){let{encapsulation:o}=e.data[r.directiveStart+r.componentOffset];if(o===on.None||o===on.Emulated)return null}return de(r,n)}function Gp(e,t,n){return sE(e,t,n)}function iE(e,t,n){return e.type&40?de(e,n):null}var sE=iE,pf;function du(e,t,n,r){let o=Up(e,r,t),i=t[O],s=r.parent||t[se],a=Gp(s,r,t);if(o!=null)if(Array.isArray(n))for(let c=0;c<n.length;c++)rf(i,o,n[c],a,!1);else rf(i,o,n,a,!1);pf!==void 0&&pf(i,r,t,n,o)}function Nr(e,t){if(t!==null){let n=t.type;if(n&3)return de(t,e);if(n&4)return _c(-1,e[t.index]);if(n&8){let r=t.child;if(r!==null)return Nr(e,r);{let o=e[t.index];return Ne(o)?_c(-1,o):ye(o)}}else{if(n&128)return Nr(e,t.next);if(n&32)return iu(t,e)()||ye(e[t.index]);{let r=zp(e,t);if(r!==null){if(Array.isArray(r))return r[0];let o=Dt(e[ce]);return Nr(o,r)}else return Nr(e,t.next)}}}return null}function zp(e,t){if(t!==null){let r=e[ce][se],o=t.projection;return r.projection[o]}return null}function _c(e,t){let n=G+e+1;if(n<t.length){let r=t[n],o=r[D].firstChild;if(o!==null)return Nr(r,o)}return t[It]}function fu(e,t,n,r,o,i,s){for(;n!=null;){let a=r[ae];if(n.type===128){n=n.next;continue}let c=r[n.index],u=n.type;if(s&&t===0&&(c&&Bn(ye(c),r),n.flags|=2),!zi(n))if(u&8)fu(e,t,n.child,r,o,i,!1),Pn(t,e,a,o,c,n,i,r);else if(u&32){let l=iu(n,r),d;for(;d=l();)Pn(t,e,a,o,d,n,i,r);Pn(t,e,a,o,c,n,i,r)}else u&16?Wp(e,t,r,n,o,i):Pn(t,e,a,o,c,n,i,r);n=s?n.projectionNext:n.next}}function es(e,t,n,r,o,i){fu(n,r,e.firstChild,t,o,i,!1)}function aE(e,t,n){let r=t[O],o=Up(e,n,t),i=n.parent||t[se],s=Gp(i,n,t);Wp(r,0,t,n,o,s)}function Wp(e,t,n,r,o,i){let s=n[ce],c=s[se].projection[r.projection];if(Array.isArray(c))for(let u=0;u<c.length;u++){let l=c[u];Pn(t,e,n[ae],o,l,r,i,n)}else{let u=c,l=s[K];Yf(r)&&(u.flags|=128),fu(e,t,u,l,o,i,!0)}}function cE(e,t,n,r,o,i,s){let a=r[It],c=ye(r);a!==c&&Pn(t,e,n,i,a,o,s);for(let u=G;u<r.length;u++){let l=r[u];es(l[D],l,e,t,i,a)}}function uE(e,t,n,r,o){if(t)o?e.addClass(n,r):e.removeClass(n,r);else{let i=r.indexOf("-")===-1?void 0:Vn.DashCase;o==null?e.removeStyle(n,r,i):(typeof o=="string"&&o.endsWith("!important")&&(o=o.slice(0,-10),i|=Vn.Important),e.setStyle(n,r,o,i))}}function qp(e,t,n,r,o){let i=xe(),s=r&2;try{Ct(-1),s&&t.length>V&&Np(e,t,V,!1);let a=s?x.TemplateUpdateStart:x.TemplateCreateStart;F(a,o,n),n(r,o)}finally{Ct(i);let a=s?x.TemplateUpdateEnd:x.TemplateCreateEnd;F(a,o,n)}}function ts(e,t,n){hE(e,t,n),(n.flags&64)===64&&gE(e,t,n)}function zr(e,t,n=de){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 lE(e,t,n,r){let i=r.get(ap,sp)||n===on.ShadowDom||n===on.ExperimentalIsolatedShadowDom,s=e.selectRootElement(t,i);return dE(s),s}function dE(e){fE(e)}var fE=()=>null;function pE(e){return e==="class"?"className":e==="for"?"htmlFor":e==="formaction"?"formAction":e==="innerHtml"?"innerHTML":e==="readonly"?"readOnly":e==="tabindex"?"tabIndex":e}function Zp(e,t,n,r,o,i){let s=t[D];if(ns(e,s,t,n,r)){Ue(e)&&Yp(t,e.index);return}e.type&3&&(n=pE(n)),Qp(e,t,n,r,o,i)}function Qp(e,t,n,r,o,i){if(e.type&3){let s=de(e,t);r=i!=null?i(r,e.value||"",n):r,o.setProperty(s,n,r)}else e.type&12}function Yp(e,t){let n=ve(t,e);n[w]&16||(n[w]|=64)}function hE(e,t,n){let r=n.directiveStart,o=n.directiveEnd;Ue(n)&&PD(t,n,e.data[r+n.componentOffset]),e.firstCreatePass||Ni(n,t);let i=n.initialInputs;for(let s=r;s<o;s++){let a=e.data[s],c=xr(t,e,s,n);if(Bn(c,t),i!==null&&vE(t,s-r,c,a,n,i),Ae(a)){let u=ve(n.index,t);u[q]=xr(t,e,s,n)}}}function gE(e,t,n){let r=n.directiveStart,o=n.directiveEnd,i=n.index,s=Sd();try{Ct(i);for(let a=r;a<o;a++){let c=e.data[a],u=t[a];si(a),(c.hostBindings!==null||c.hostVars!==0||c.hostAttrs!==null)&&mE(c,u)}}finally{Ct(-1),si(s)}}function mE(e,t){e.hostBindings!==null&&e.hostBindings(1,t)}function pu(e,t){let n=e.directiveRegistry,r=null;if(n)for(let o=0;o<n.length;o++){let i=n[o];_p(t,i.selectors,!1)&&(r??=[],Ae(i)?r.unshift(i):r.push(i))}return r}function yE(e,t,n,r,o,i){let s=de(e,t);Kp(t[O],s,i,e.value,n,r,o)}function Kp(e,t,n,r,o,i,s){if(i==null)e.removeAttribute(t,o,n);else{let a=s==null?ge(i):s(i,r||"",o);e.setAttribute(t,o,a,n)}}function vE(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],u=s[a+1];Tc(r,n,c,u)}}function hu(e,t,n,r,o){let i=V+n,s=t[D],a=o(s,t,e,r,n);t[i]=a,Rn(e,!0);let c=e.type===2;return c?(Ip(t[O],a,e),(Dd()===0||An(e))&&Bn(a,t),Ed()):Bn(a,t),li()&&(!c||!zi(e))&&du(s,t,a,e),e}function gu(e){let t=e;return Ga()?za():(t=t.parent,Rn(t,!1)),t}function DE(e,t){let n=e[ae];if(!n)return;let r;try{r=n.get(rt,null)}catch(o){r=null}r?.(t)}function ns(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 u=s[c],l=s[c+1],d=t.data[u];Tc(d,n[u],l,o),a=!0}if(i)for(let c of i){let u=n[c],l=t.data[c];Tc(l,u,r,o),a=!0}return a}function EE(e,t){let n=ve(t,e),r=n[D];IE(r,n);let o=n[Me];o!==null&&n[qt]===null&&(n[qt]=cp(o,n[ae])),F(x.ComponentStart);try{mu(r,n,n[q])}finally{F(x.ComponentEnd,n[q])}}function IE(e,t){for(let n=t.length;n<e.blueprint.length;n++)t.push(e.blueprint[n])}function mu(e,t,n){ci(t);try{let r=e.viewQuery;r!==null&&mc(1,r,n);let o=e.template;o!==null&&qp(e,t,o,1,n),e.firstCreatePass&&(e.firstCreatePass=!1),t[Ve]?.finishViewCreation(e),e.staticContentQueries&&up(e,t),e.staticViewQueries&&mc(2,e.viewQuery,n);let i=e.components;i!==null&&CE(t,i)}catch(r){throw e.firstCreatePass&&(e.incompleteFirstPass=!0,e.firstCreatePass=!1),r}finally{t[w]&=-5,ui()}}function CE(e,t){for(let n=0;n<t.length;n++)EE(e,t[n])}function Wr(e,t,n,r){let o=y(null);try{let i=t.tView,a=e[w]&4096?4096:16,c=ru(e,i,n,a,null,t,null,null,r?.injector??null,r?.embeddedViewInjector??null,r?.dehydratedView??null),u=e[t.index];c[Et]=u;let l=e[Ve];return l!==null&&(c[Ve]=l.createEmbeddedView(i)),mu(i,c,n),c}finally{y(o)}}function Un(e,t){return!t||t.firstChild===null||Yf(e)}function Fr(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(ye(i)),Ne(i)&&Jp(i,r);let s=n.type;if(s&8)Fr(e,t,n.child,r);else if(s&32){let a=iu(n,t),c;for(;c=a();)r.push(c)}else if(s&16){let a=zp(t,n);if(Array.isArray(a))r.push(...a);else{let c=Dt(t[ce]);Fr(c[D],c,a,r,!0)}}n=o?n.projectionNext:n.next}return r}function Jp(e,t){for(let n=G;n<e.length;n++){let r=e[n],o=r[D].firstChild;o!==null&&Fr(r[D],r,o,t)}e[It]!==e[Me]&&t.push(e[It])}function Xp(e){if(e[Yt]!==null){for(let t of e[Yt])t.impl.addSequence(t);e[Yt].length=0}}var eh=[];function wE(e){return e[fe]??bE(e)}function bE(e){let t=eh.pop()??Object.create(_E);return t.lView=e,t}function TE(e){e.lView[fe]!==e&&(e.lView=null,eh.push(e))}var _E=$(j({},ft),{consumerIsAlwaysLive:!0,kind:"template",consumerMarkedDirty:e=>{Xt(e.lView)},consumerOnSignalRead(){this.lView[fe]=this}});function ME(e){let t=e[fe]??Object.create(SE);return t.lView=e,t}var SE=$(j({},ft),{consumerIsAlwaysLive:!0,kind:"template",consumerMarkedDirty:e=>{let t=Dt(e.lView);for(;t&&!th(t[D]);)t=Dt(t);t&&Fa(t)},consumerOnSignalRead(){this.lView[fe]=this}});function th(e){return e.type!==2}function nh(e){if(e[vt]===null)return;let t=!0;for(;t;){let n=!1;for(let r of e[vt])r.dirty&&(n=!0,r.zone===null||Zone.current===r.zone?r.run():r.zone.run(()=>r.run()));t=n&&!!(e[w]&8192)}}var NE=100;function rh(e,t=0){let r=e[Se].rendererFactory,o=!1;o||r.begin?.();try{AE(e,t)}finally{o||r.end?.()}}function AE(e,t){let n=Wa();try{pr(!0),Mc(e,t);let r=0;for(;Cr(e);){if(r===NE)throw new C(103,!1);r++,Mc(e,1)}}finally{pr(n)}}function xE(e,t,n,r){if(Jt(t))return;let o=t[w],i=!1,s=!1;ci(t);let a=!0,c=null,u=null;i||(th(e)?(u=wE(t),c=Ye(u)):co()===null?(a=!1,u=ME(t),c=Ye(u)):t[fe]&&(ht(t[fe]),t[fe]=null));try{ka(t),Td(e.bindingStartIndex),n!==null&&qp(e,t,n,2,r);let l=(o&3)===3;if(!i)if(l){let f=e.preOrderCheckHooks;f!==null&&vi(t,f,null)}else{let f=e.preOrderHooks;f!==null&&Di(t,f,0,null),tc(t,0)}if(s||RE(t),nh(t),oh(t,0),e.contentQueries!==null&&up(e,t),!i)if(l){let f=e.contentCheckHooks;f!==null&&vi(t,f)}else{let f=e.contentHooks;f!==null&&Di(t,f,1),tc(t,1)}kE(e,t);let d=e.components;d!==null&&sh(t,d,0);let p=e.viewQuery;if(p!==null&&mc(2,p,r),!i)if(l){let f=e.viewCheckHooks;f!==null&&vi(t,f)}else{let f=e.viewHooks;f!==null&&Di(t,f,2),tc(t,2)}if(e.firstUpdatePass===!0&&(e.firstUpdatePass=!1),t[ti]){for(let f of t[ti])f();t[ti]=null}i||(Xp(t),t[w]&=-73)}catch(l){throw i||Xt(t),l}finally{u!==null&&(pt(u,c),a&&TE(u)),ui()}}function oh(e,t){for(let n=Jf(e);n!==null;n=Xf(n))for(let r=G;r<n.length;r++){let o=n[r];ih(o,t)}}function RE(e){for(let t=Jf(e);t!==null;t=Xf(t)){if(!(t[w]&2))continue;let n=t[Kt];for(let r=0;r<n.length;r++){let o=n[r];Fa(o)}}}function OE(e,t,n){F(x.ComponentStart);let r=ve(t,e);try{ih(r,n)}finally{F(x.ComponentEnd,r[q])}}function ih(e,t){ri(e)&&Mc(e,t)}function Mc(e,t){let r=e[D],o=e[w],i=e[fe],s=!!(t===0&&o&16);if(s||=!!(o&64&&t===0),s||=!!(o&1024),s||=!!(i?.dirty&&dn(i)),s||=!1,i&&(i.dirty=!1),e[w]&=-9217,s)xE(r,e,r.template,e[q]);else if(o&8192){let a=y(null);try{nh(e),oh(e,1);let c=r.components;c!==null&&sh(e,c,1),Xp(e)}finally{y(a)}}}function sh(e,t,n){for(let r=0;r<t.length;r++)OE(e,t[r],n)}function kE(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)Ct(~o);else{let i=o,s=n[++r],a=n[++r];Md(s,i);let c=t[i];F(x.HostBindingsUpdateStart,c);try{a(2,c)}finally{F(x.HostBindingsUpdateEnd,c)}}}}finally{Ct(-1)}}function yu(e,t){let n=Wa()?64:1088;for(e[Se].changeDetectionScheduler?.notify(t);e;){e[w]|=n;let r=Dt(e);if(xn(e)&&!r)return e;e=r}return null}function ah(e,t,n,r){return[e,!0,0,t,null,r,null,n,null,null]}function ch(e,t){let n=G+t;if(n<e.length)return e[n]}function qr(e,t,n,r=!0){let o=t[D];if(FE(o,t,e,n),r){let s=_c(n,e),a=t[O],c=a.parentNode(e[It]);c!==null&&XD(o,e[se],a,t,c,s)}let i=t[qt];i!==null&&i.firstChild!==null&&(i.firstChild=null)}function uh(e,t){let n=Pr(e,t);return n!==void 0&&Xi(n[D],n),n}function Pr(e,t){if(e.length<=G)return;let n=G+t,r=e[n];if(r){let o=r[Et];o!==null&&o!==e&&lu(o,r),t>0&&(e[n-1][me]=r[me]);let i=Dr(e,G+t);JD(r[D],r);let s=i[Ve];s!==null&&s.detachView(i[D]),r[K]=null,r[me]=null,r[w]&=-129}return r}function FE(e,t,n,r){let o=G+r,i=n.length;r>0&&(n[o-1][me]=t),r<i-G?(t[me]=n[o],Da(n,G+r,t)):(n.push(t),t[me]=null),t[K]=n;let s=t[Et];s!==null&&n!==s&&lh(s,t);let a=t[Ve];a!==null&&a.insertView(e),oi(t),t[w]|=128}function lh(e,t){let n=e[Kt],r=t[K];if(tt(r))e[w]|=2;else{let o=r[K][ce];t[ce]!==o&&(e[w]|=2)}n===null?e[Kt]=[t]:n.push(t)}var bt=class{_lView;_cdRefInjectingView;_appRef=null;_attachedToViewContainer=!1;exhaustive;get rootNodes(){let t=this._lView,n=t[D];return Fr(n,t,n.firstChild,[])}constructor(t,n){this._lView=t,this._cdRefInjectingView=n}get context(){return this._lView[q]}set context(t){this._lView[q]=t}get destroyed(){return Jt(this._lView)}destroy(){if(this._appRef)this._appRef.detachView(this);else if(this._attachedToViewContainer){let t=this._lView[K];if(Ne(t)){let n=t[Ir],r=n?n.indexOf(this):-1;r>-1&&(Pr(t,r),Dr(n,r))}this._attachedToViewContainer=!1}Xi(this._lView[D],this._lView)}onDestroy(t){Pa(this._lView,t)}markForCheck(){yu(this._cdRefInjectingView||this._lView,4)}detach(){this._lView[w]&=-129}reattach(){oi(this._lView),this._lView[w]|=128}detectChanges(){this._lView[w]|=1024,rh(this._lView)}checkNoChanges(){}attachToViewContainerRef(){if(this._appRef)throw new C(902,!1);this._attachedToViewContainer=!0}detachFromAppRef(){this._appRef=null;let t=xn(this._lView),n=this._lView[Et];n!==null&&!t&&lu(n,this._lView),$p(this._lView[D],this._lView)}attachToAppRef(t){if(this._attachedToViewContainer)throw new C(902,!1);this._appRef=t;let n=xn(this._lView),r=this._lView[Et];r!==null&&!n&&lh(r,this._lView),oi(this._lView)}};var Tt=(()=>{class e{_declarationLView;_declarationTContainer;elementRef;static __NG_ELEMENT_ID__=PE;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=Wr(this._declarationLView,this._declarationTContainer,n,{embeddedViewInjector:r,dehydratedView:o});return new bt(i)}}return e})();function PE(){return rs(Z(),m())}function rs(e,t){return e.type&4?new Tt(t,e,qn(e,t)):null}function Zn(e,t,n,r,o){let i=e.data[t];if(i===null)i=LE(e,t,n,r,o),_d()&&(i.flags|=32);else if(i.type&64){i.type=n,i.value=r,i.attrs=o;let s=wd();i.injectorIndex=s===null?-1:s.injectorIndex}return Rn(i,!0),i}function LE(e,t,n,r,o){let i=Ua(),s=Ga(),a=s?i:i&&i.parent,c=e.data[t]=BE(e,a,n,t,r,o);return jE(e,c,i,s),c}function jE(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 BE(e,t,n,r,o,i){let s=t?t.injectorIndex:-1,a=0;return Va()&&(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,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 VE(e){let t=e[Sa]??[],r=e[K][O],o=[];for(let i of t)i.data[ip]!==void 0?o.push(i):HE(i,r);e[Sa]=o}function HE(e,t){let n=0,r=e.firstChild;if(r){let o=e.data[op];for(;n<o;){let i=r.nextSibling;Ep(t,r,!1),r=i,n++}}}var $E=()=>null,UE=()=>null;function Oi(e,t){return $E(e,t)}function dh(e,t,n){return UE(e,t,n)}var fh=class{},os=class{},Sc=class{resolveComponentFactory(t){throw new C(917,!1)}},Zr=class{static NULL=new Sc},Lr=class{},Qr=(()=>{class e{destroyNode=null;static __NG_ELEMENT_ID__=()=>GE()}return e})();function GE(){let e=m(),t=Z(),n=ve(t.index,e);return(tt(n)?n:e)[O]}var ph=(()=>{class e{static \u0275prov=_({token:e,providedIn:"root",factory:()=>null})}return e})();var Ii={},Nc=class{injector;parentInjector;constructor(t,n){this.injector=t,this.parentInjector=n}get(t,n,r){let o=this.injector.get(t,Ii,r);return o!==Ii||n===Ii?o:this.parentInjector.get(t,n,r)}};function ki(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=qo(o,a);else if(i==2){let c=a,u=t[++s];r=qo(r,c+": "+u+";")}}n?e.styles=r:e.stylesWithoutHost=r,n?e.classes=o:e.classesWithoutHost=o}function ee(e,t=0){let n=m();if(n===null)return P(e,t);let r=Z();return zf(r,n,Y(e),t)}function zE(){let e="invalid";throw new Error(e)}function hh(e,t,n,r,o){let i=r===null?null:{"":-1},s=o(e,n);if(s!==null){let a=s,c=null,u=null;for(let l of s)if(l.resolveHostDirectives!==null){[a,c,u]=l.resolveHostDirectives(s);break}ZE(e,t,n,a,i,c,u)}i!==null&&r!==null&&WE(n,r,i)}function WE(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 C(-301,!1);r.push(t[o],i)}}function qE(e,t,n){t.componentOffset=n,(e.components??=[]).push(t.index)}function ZE(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&&Ae(f)&&(c=f,qE(e,n,p)),fc(Ni(n,t),e,f.type)}eI(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 u=!1,l=!1,d=Sp(e,t,a,null);a>0&&(n.directiveToIndex=new Map);for(let p=0;p<a;p++){let f=r[p];if(n.mergedAttrs=jn(n.mergedAttrs,f.hostAttrs),YE(e,n,t,d,f),XE(d,f,o),s!==null&&s.has(f)){let[E,v]=s.get(f);n.directiveToIndex.set(f.type,[d,E+n.directiveStart,v+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;!u&&(h.ngOnChanges||h.ngOnInit||h.ngDoCheck)&&((e.preOrderHooks??=[]).push(n.index),u=!0),!l&&(h.ngOnChanges||h.ngDoCheck)&&((e.preOrderCheckHooks??=[]).push(n.index),l=!0),d++}QE(e,n,i)}function QE(e,t,n){for(let r=t.directiveStart;r<t.directiveEnd;r++){let o=e.data[r];if(n===null||!n.has(o))hf(0,t,o,r),hf(1,t,o,r),mf(t,r,!1);else{let i=n.get(o);gf(0,t,i,r),gf(1,t,i,r),mf(t,r,!0)}}}function hf(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),gh(t,i)}}function gf(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),gh(t,s)}}function gh(e,t){t==="class"?e.flags|=8:t==="style"&&(e.flags|=16)}function mf(e,t,n){let{attrs:r,inputs:o,hostDirectiveInputs:i}=e;if(r===null||!n&&o===null||n&&i===null||tu(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 u=o[c];for(let l of u)if(l===t){s??=[],s.push(c,r[a+1]);break}}else if(n&&i.hasOwnProperty(c)){let u=i[c];for(let l=0;l<u.length;l+=2)if(u[l]===t){s??=[],s.push(u[l+1],r[a+1]);break}}a+=2}e.initialInputs??=[],e.initialInputs.push(s)}function YE(e,t,n,r,o){e.data[r]=o;let i=o.factory||(o.factory=yt(o.type,!0)),s=new rn(i,Ae(o),ee,null);e.blueprint[r]=s,n[r]=s,KE(e,t,r,Sp(e,n,o.hostVars,X),o)}function KE(e,t,n,r,o){let i=o.hostBindings;if(i){let s=e.hostBindingOpCodes;s===null&&(s=e.hostBindingOpCodes=[]);let a=~t.index;JE(s)!=a&&s.push(a),s.push(n,r,i)}}function JE(e){let t=e.length;for(;t>0;){let n=e[--t];if(typeof n=="number"&&n<0)return n}return 0}function XE(e,t,n){if(n){if(t.exportAs)for(let r=0;r<t.exportAs.length;r++)n[t.exportAs[r]]=e;Ae(t)&&(n[""]=e)}}function eI(e,t,n){e.flags|=1,e.directiveStart=t,e.directiveEnd=t+n,e.providerIndexes=t}function vu(e,t,n,r,o,i,s,a){let c=t[D],u=c.consts,l=De(u,s),d=Zn(c,e,n,r,l);return i&&hh(c,t,d,De(u,a),o),d.mergedAttrs=jn(d.mergedAttrs,d.attrs),d.attrs!==null&&ki(d,d.attrs,!1),d.mergedAttrs!==null&&ki(d,d.mergedAttrs,!0),c.queries!==null&&c.queries.elementStart(c,d),d}function Du(e,t){Pf(e,t),Na(t)&&e.queries.elementEnd(t)}function tI(e,t,n,r,o,i){let s=t.consts,a=De(s,o),c=Zn(t,e,n,r,a);if(c.mergedAttrs=jn(c.mergedAttrs,c.attrs),i!=null){let u=De(s,i);c.localNames=[];for(let l=0;l<u.length;l+=2)c.localNames.push(u[l],-1)}return c.attrs!==null&&ki(c,c.attrs,!1),c.mergedAttrs!==null&&ki(c,c.mergedAttrs,!0),t.queries!==null&&t.queries.elementStart(t,c),c}function Eu(e){return is(e)?Array.isArray(e)||!(e instanceof Map)&&Symbol.iterator in e:!1}function mh(e,t){if(Array.isArray(e))for(let n=0;n<e.length;n++)t(e[n]);else{let n=e[Symbol.iterator](),r;for(;!(r=n.next()).done;)t(r.value)}}function is(e){return e!==null&&(typeof e=="function"||typeof e=="object")}function St(e,t,n){return e[t]=n}function ss(e,t){return e[t]}function re(e,t,n){if(n===X)return!1;let r=e[t];return Object.is(r,n)?!1:(e[t]=n,!0)}function Gn(e,t,n,r){let o=re(e,t,n);return re(e,t+1,r)||o}function yh(e,t,n,r,o){let i=Gn(e,t,n,r);return re(e,t+2,o)||i}function Yr(e,t,n,r,o,i){let s=Gn(e,t,n,r);return Gn(e,t+2,o,i)||s}function Ci(e,t,n){return function r(o){let i=r.__ngNativeEl__;i!==void 0&&Pv(o,i);let s=Ue(e)?ve(e.index,t):t;yu(s,5);let a=t[q],c=yf(t,a,n,o),u=r.__ngNextListenerFn__;for(;u;)c=yf(t,a,u,o)&&c,u=u.__ngNextListenerFn__;return c}}function yf(e,t,n,r){let o=y(null);try{return F(x.OutputStart,t,n),n(r)!==!1}catch(i){return DE(e,i),!1}finally{F(x.OutputEnd,t,n),y(o)}}function vh(e,t,n,r,o,i,s,a){let c=An(e),u=!1,l=null;if(!r&&c&&(l=rI(t,n,i,e.index)),l!==null){let d=l.__ngLastListenerFn__||l;d.__ngNextListenerFn__=s,l.__ngLastListenerFn__=s,u=!0}else{let d=de(e,n),p=r?r(d):d;jv(n,p,i,a),r||(a.__ngNativeEl__=d);let f=o.listen(p,i,a);if(!nI(i)){let h=r?E=>r(ye(E[e.index])):e.index;Dh(h,t,n,i,a,f,!1)}}return u}function nI(e){return e.startsWith("animation")||e.startsWith("transition")}function rI(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[Sn],c=o[i+2];return a&&a.length>c?a[c]:null}typeof s=="string"&&(i+=2)}return null}function Dh(e,t,n,r,o,i,s){let a=t.firstCreatePass?ja(t):null,c=La(n),u=c.length;c.push(o,i),a&&a.push(r,e,u,(u+1)*(s?-1:1))}function vf(e,t,n,r,o,i){let s=t[n],a=t[D],u=a.data[n].outputs[r],d=s[u].subscribe(i);Dh(e.index,a,t,o,i,d,!0)}var Ac=Symbol("BINDING");function Eh(e){return e.debugInfo?.className||e.type.name||null}var Fi=class extends Zr{ngModule;constructor(t){super(),this.ngModule=t}resolveComponentFactory(t){let n=Be(t);return new _t(n,this.ngModule)}};function oI(e){return Object.keys(e).map(t=>{let[n,r,o]=e[t],i={propName:n,templateName:t,isSignal:(r&Zi.SignalBased)!==0};return o&&(i.transform=o),i})}function iI(e){return Object.keys(e).map(t=>({propName:e[t],templateName:t}))}function sI(e,t,n){let r=t instanceof ie?t:t?.injector;return r&&e.getStandaloneInjector!==null&&(r=e.getStandaloneInjector(r)||r),r?new Nc(n,r):n}function aI(e){let t=e.get(Lr,null);if(t===null)throw new C(407,!1);let n=e.get(ph,null),r=e.get(Te,null),o=e.get(at,null,{optional:!0});return{rendererFactory:t,sanitizer:n,changeDetectionScheduler:r,ngReflect:!1,tracingService:o}}function cI(e,t){let n=Ih(e);return vp(t,n,n==="svg"?Aa:n==="math"?pd:null)}function Ih(e){return(e.selectors[0][0]||"div").toLowerCase()}var _t=class extends os{componentDef;ngModule;selector;componentType;ngContentSelectors;isBoundToModule;cachedInputs=null;cachedOutputs=null;get inputs(){return this.cachedInputs??=oI(this.componentDef.inputs),this.cachedInputs}get outputs(){return this.cachedOutputs??=iI(this.componentDef.outputs),this.cachedOutputs}constructor(t,n){super(),this.componentDef=t,this.ngModule=n,this.componentType=t.type,this.selector=RD(t.selectors),this.ngContentSelectors=t.ngContentSelectors??[],this.isBoundToModule=!!n}create(t,n,r,o,i,s){F(x.DynamicComponentStart);let a=y(null);try{let c=this.componentDef,u=sI(c,o||this.ngModule,t),l=aI(u),d=l.tracingService;return d&&d.componentCreate?d.componentCreate(Eh(c),()=>this.createComponentRef(l,u,n,r,i,s)):this.createComponentRef(l,u,n,r,i,s)}finally{y(a)}}createComponentRef(t,n,r,o,i,s){let a=this.componentDef,c=uI(o,a,s,i),u=t.rendererFactory.createRenderer(null,a),l=o?lE(u,o,a.encapsulation,n):cI(a,u),d=s?.some(Df)||i?.some(h=>typeof h!="function"&&h.bindings.some(Df)),p=ru(null,c,null,512|Mp(a),null,null,t,u,n,null,cp(l,n,!0));p[V]=l,ci(p);let f=null;try{let h=vu(V,p,2,"#host",()=>c.directiveRegistry,!0,0);Ip(u,l,h),Bn(l,p),ts(c,p,h),Jc(c,h,p),Du(c,h),r!==void 0&&dI(h,this.ngContentSelectors,r),f=ve(h.index,p),p[q]=f[q],mu(c,p,null)}catch(h){throw f!==null&&hc(f),hc(p),h}finally{F(x.DynamicComponentEnd),ui()}return new Pi(this.componentType,p,!!d)}};function uI(e,t,n,r){let o=e?["ng-version","21.2.12"]:OD(t.selectors[0]),i=null,s=null,a=0;if(n)for(let l of n)a+=l[Ac].requiredVars,l.create&&(l.targetIdx=0,(i??=[]).push(l)),l.update&&(l.targetIdx=0,(s??=[]).push(l));if(r)for(let l=0;l<r.length;l++){let d=r[l];if(typeof d!="function")for(let p of d.bindings){a+=p[Ac].requiredVars;let f=l+1;p.create&&(p.targetIdx=f,(i??=[]).push(p)),p.update&&(p.targetIdx=f,(s??=[]).push(p))}}let c=[t];if(r)for(let l of r){let d=typeof l=="function"?l:l.type,p=Yo(d);c.push(p)}return nu(0,null,lI(i,s),1,a,c,null,null,null,[o],null)}function lI(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 Df(e){let t=e[Ac].kind;return t==="input"||t==="twoWay"}var Pi=class extends fh{_rootLView;_hasInputBindings;instance;hostView;changeDetectorRef;componentType;location;previousInputValues=null;_tNode;constructor(t,n,r){super(),this._rootLView=n,this._hasInputBindings=r,this._tNode=ni(n[D],V),this.location=qn(this._tNode,n),this.instance=ve(this._tNode.index,n)[q],this.hostView=this.changeDetectorRef=new bt(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=ns(r,o[D],o,t,n);this.previousInputValues.set(t,n);let s=ve(r.index,o);yu(s,1)}get injector(){return new tn(this._tNode,this._rootLView)}destroy(){this.hostView.destroy()}onDestroy(t){this.hostView.onDestroy(t)}};function dI(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 Nt=(()=>{class e{static __NG_ELEMENT_ID__=fI}return e})();function fI(){let e=Z();return Ch(e,m())}var xc=class e extends Nt{_lContainer;_hostTNode;_hostLView;constructor(t,n,r){super(),this._lContainer=t,this._hostTNode=n,this._hostLView=r}get element(){return qn(this._hostTNode,this._hostLView)}get injector(){return new tn(this._hostTNode,this._hostLView)}get parentInjector(){let t=Qc(this._hostTNode,this._hostLView);if(Bf(t)){let n=Mi(t,this._hostLView),r=_i(t),o=n[D].data[r+8];return new tn(o,n)}else return new tn(null,this._hostLView)}clear(){for(;this.length>0;)this.remove(this.length-1)}get(t){let n=Ef(this._lContainer);return n!==null&&n[t]||null}get length(){return this._lContainer.length-G}createEmbeddedView(t,n,r){let o,i;typeof r=="number"?o=r:r!=null&&(o=r.index,i=r.injector);let s=Oi(this._lContainer,t.ssrId),a=t.createEmbeddedViewImpl(n||{},i,s);return this.insertImpl(a,o,Un(this._hostTNode,s)),a}createComponent(t,n,r,o,i,s,a){let c=t&&!av(t),u;if(c)u=n;else{let v=n||{};u=v.index,r=v.injector,o=v.projectableNodes,i=v.environmentInjector||v.ngModuleRef,s=v.directives,a=v.bindings}let l=c?t:new _t(Be(t)),d=r||this.parentInjector;if(!i&&l.ngModule==null){let I=(c?d:this.parentInjector).get(ie,null);I&&(i=I)}let p=Be(l.componentType??{}),f=Oi(this._lContainer,p?.id??null),h=f?.firstChild??null,E=l.create(d,o,h,i,s,a);return this.insertImpl(E.hostView,u,Un(this._hostTNode,f)),E}insert(t,n){return this.insertImpl(t,n,!0)}insertImpl(t,n,r){let o=t._lView;if(gd(o)){let a=this.indexOf(t);if(a!==-1)this.detach(a);else{let c=o[K],u=new e(c,c[se],c[K]);u.detach(u.indexOf(t))}}let i=this._adjustIndex(n),s=this._lContainer;return qr(s,o,i,r),t.attachToViewContainerRef(),Da(oc(s),i,t),t}move(t,n){return this.insert(t,n)}indexOf(t){let n=Ef(this._lContainer);return n!==null?n.indexOf(t):-1}remove(t){let n=this._adjustIndex(t,-1),r=Pr(this._lContainer,n);r&&(Dr(oc(this._lContainer),n),Xi(r[D],r))}detach(t){let n=this._adjustIndex(t,-1),r=Pr(this._lContainer,n);return r&&Dr(oc(this._lContainer),n)!=null?new bt(r):null}_adjustIndex(t,n=0){return t??this.length+n}};function Ef(e){return e[Ir]}function oc(e){return e[Ir]||(e[Ir]=[])}function Ch(e,t){let n,r=t[e.index];return Ne(r)?n=r:(n=ah(r,t,null,e),t[e.index]=n,ou(t,n)),hI(n,t,e,r),new xc(n,e,t)}function pI(e,t){let n=e[O],r=n.createComment(""),o=de(t,e),i=n.parentNode(o);return xi(n,i,r,n.nextSibling(o),!1),r}var hI=yI,gI=()=>!1;function mI(e,t,n){return gI(e,t,n)}function yI(e,t,n,r){if(e[It])return;let o;n.type&8?o=ye(r):o=pI(t,n),e[It]=o}var Rc=class e{queryList;matches=null;constructor(t){this.queryList=t}clone(){return new e(this.queryList)}setDirty(){this.queryList.setDirty()}},Oc=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++)Cu(t,n).matches!==null&&this.queries[n].setDirty()}},Li=class{flags;read;predicate;constructor(t,n,r=null){this.flags=n,this.read=r,typeof t=="string"?this.predicate=CI(t):this.predicate=t}},kc=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)}},Fc=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,vI(n,i)),this.matchTNodeWithReadOption(t,n,Ei(n,t,i,!1,!1))}else r===Tt?n.type&4&&this.matchTNodeWithReadOption(t,n,-1):this.matchTNodeWithReadOption(t,n,Ei(n,t,r,!1,!1))}matchTNodeWithReadOption(t,n,r){if(r!==null){let o=this.metadata.read;if(o!==null)if(o===it||o===Nt||o===Tt&&n.type&4)this.addMatch(n.index,-2);else{let i=Ei(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 vI(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 DI(e,t){return e.type&11?qn(e,t):e.type&4?rs(e,t):null}function EI(e,t,n,r){return n===-1?DI(t,e):n===-2?II(e,t,r):xr(e,e[D],n,t)}function II(e,t,n){if(n===it)return qn(t,e);if(n===Tt)return rs(t,e);if(n===Nt)return Ch(t,e)}function wh(e,t,n,r){let o=t[Ve].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 u=s[c];if(u<0)a.push(null);else{let l=i[u];a.push(EI(t,l,s[c+1],n.metadata.read))}}o.matches=a}return o.matches}function Pc(e,t,n,r){let o=e.queries.getByIndex(n),i=o.matches;if(i!==null){let s=wh(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 u=i[a+1],l=t[-c];for(let d=G;d<l.length;d++){let p=l[d];p[Et]===p[K]&&Pc(p[D],p,u,r)}if(l[Kt]!==null){let d=l[Kt];for(let p=0;p<d.length;p++){let f=d[p];Pc(f[D],f,u,r)}}}}}return r}function Iu(e,t){return e[Ve].queries[t].queryList}function bh(e,t,n){let r=new Ai((n&4)===4);return vd(e,t,r,r.destroy),(t[Ve]??=new Oc).queries.push(new Rc(r))-1}function Th(e,t,n){let r=L();return r.firstCreatePass&&(Mh(r,new Li(e,t,n),-1),(t&2)===2&&(r.staticViewQueries=!0)),bh(r,m(),t)}function _h(e,t,n,r){let o=L();if(o.firstCreatePass){let i=Z();Mh(o,new Li(t,n,r),i.index),wI(o,e),(n&2)===2&&(o.staticContentQueries=!0)}return bh(o,m(),n)}function CI(e){return e.split(",").map(t=>t.trim())}function Mh(e,t,n){e.queries===null&&(e.queries=new kc),e.queries.track(new Fc(t,n))}function wI(e,t){let n=e.contentQueries||(e.contentQueries=[]),r=n.length?n[n.length-1]:-1;t!==r&&n.push(e.queries.length-1,t)}function Cu(e,t){return e.queries.getByIndex(t)}function Sh(e,t){let n=e[D],r=Cu(n,t);return r.crossesNgTemplate?Pc(n,e,t,[]):wh(n,e,r,t)}function Nh(e,t,n){let r,o=nr(()=>{r._dirtyCounter();let i=bI(r,e);if(t&&i===void 0)throw new C(-951,!1);return i});return r=o[U],r._dirtyCounter=di(0),r._flatValue=void 0,o}function wu(e){return Nh(!0,!1,e)}function bu(e){return Nh(!0,!0,e)}function Ah(e,t){let n=e[U];n._lView=m(),n._queryIndex=t,n._queryList=Iu(n._lView,t),n._queryList.onDirty(()=>n._dirtyCounter.update(r=>r+1))}function bI(e,t){let n=e._lView,r=e._queryIndex;if(n===void 0||r===void 0||n[w]&4)return t?void 0:ne;let o=Iu(n,r),i=Sh(n,r);return o.reset(i,Qf),t?o.first:o._changesDetected||e._flatValue===void 0?e._flatValue=o.toArray():e._flatValue}var sn=class{},xh=class{};var ji=class extends sn{ngModuleType;_parent;_bootstrapComponents=[];_r3Injector;instance;destroyCbs=[];componentFactoryResolver=new Fi(this);constructor(t,n,r,o=!0){super(),this.ngModuleType=t,this._parent=n;let i=ma(t);this._bootstrapComponents=bp(i.bootstrap),this._r3Injector=Ya(t,n,[{provide:sn,useValue:this},{provide:Zr,useValue:this.componentFactoryResolver},...r],mr(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)}},Bi=class extends xh{moduleType;constructor(t){super(),this.moduleType=t}create(t){return new ji(this.moduleType,t,[])}};var jr=class extends sn{injector;componentFactoryResolver=new Fi(this);instance=null;constructor(t){super();let n=new Gt([...t.providers,{provide:sn,useValue:this},{provide:Zr,useValue:this.componentFactoryResolver}],t.parent||_n(),t.debugName,new Set(["environment"]));this.injector=n,t.runEnvironmentInitializers&&n.resolveInjectorInitializers()}destroy(){this.injector.destroy()}onDestroy(t){this.injector.onDestroy(t)}};function Rh(e,t,n=null){return new jr({providers:e,parent:t,debugName:n,runEnvironmentInitializers:!0}).injector}var TI=(()=>{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=Ca(!1,n.type),o=r.length>0?Rh([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=_({token:e,providedIn:"environment",factory:()=>new e(P(ie))})}return e})();function _I(e){return Hr(()=>{let t=kh(e),n=$(j({},t),{decls:e.decls,vars:e.vars,template:e.template,consts:e.consts||null,ngContentSelectors:e.ngContentSelectors,onPush:e.changeDetection===Kc.OnPush,directiveDefs:null,pipeDefs:null,dependencies:t.standalone&&e.dependencies||null,getStandaloneInjector:t.standalone?o=>o.get(TI).getOrCreateStandaloneInjector(n):null,getExternalStyles:null,signals:e.signals??!1,data:e.data||{},encapsulation:e.encapsulation||on.Emulated,styles:e.styles||ne,_:null,schemas:e.schemas||null,tView:null,id:""});t.standalone&&Oe("NgStandalone"),Fh(n);let r=e.dependencies;return n.directiveDefs=If(r,MI),n.pipeDefs=If(r,Xl),n.id=AI(n),n})}function MI(e){return Be(e)||Yo(e)}function as(e){return Hr(()=>({type:e.type,bootstrap:e.bootstrap||ne,declarations:e.declarations||ne,imports:e.imports||ne,exports:e.exports||ne,transitiveCompileScopes:null,schemas:e.schemas||null,id:e.id||null}))}function SI(e,t){if(e==null)return _e;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=Zi.None,c=null),n[i]=[r,a,c],t[i]=s}return n}function NI(e){if(e==null)return _e;let t={};for(let n in e)e.hasOwnProperty(n)&&(t[e[n]]=n);return t}function cn(e){return Hr(()=>{let t=kh(e);return Fh(t),t})}function Oh(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 kh(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||_e,exportAs:e.exportAs||null,standalone:e.standalone??!0,signals:e.signals===!0,selectors:e.selectors||ne,viewQuery:e.viewQuery||null,features:e.features||null,setInput:null,resolveHostDirectives:null,hostDirectives:null,controlDef:null,inputs:SI(e.inputs,t),outputs:NI(e.outputs),debugInfo:null}}function Fh(e){e.features?.forEach(t=>t(e))}function If(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 AI(e){let t=0,n=typeof e.consts=="function"?"":e.consts,r=[e.selectors,e.ngContentSelectors,e.hostVars,e.hostAttrs,n,e.vars,e.decls,e.encapsulation,e.standalone,e.signals,e.exportAs,JSON.stringify(e.inputs),JSON.stringify(e.outputs),Object.getOwnPropertyNames(e.type.prototype),!!e.contentQueries,!!e.viewQuery];for(let i of r.join("|"))t=Math.imul(31,t)+i.charCodeAt(0)<<0;return t+=2147483648,"c"+t}function xI(e){let t=n=>{let r=Array.isArray(e);n.hostDirectives===null?(n.resolveHostDirectives=RI,n.hostDirectives=r?e.map(Lc):[e]):r?n.hostDirectives.unshift(...e.map(Lc)):n.hostDirectives.unshift(e)};return t.ngInherit=!0,t}function RI(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,Ph(s,t,r),o.set(s,[a,t.length-1])}i===0&&Ae(s)&&(n=!0,t.push(s))}for(let i=n?1:0;i<e.length;i++)t.push(e[i]);return[t,r,o]}function Ph(e,t,n){if(e.hostDirectives!==null)for(let r of e.hostDirectives)if(typeof r=="function"){let o=r();for(let i of o)Cf(Lc(i),t,n)}else Cf(r,t,n)}function Cf(e,t,n){let r=Yo(e.directive);OI(r.declaredInputs,e.inputs),Ph(r,t,n),n.set(r,e),t.push(r)}function Lc(e){return typeof e=="function"?{directive:Y(e),inputs:_e,outputs:_e}:{directive:Y(e.directive),inputs:wf(e.inputs),outputs:wf(e.outputs)}}function wf(e){if(e===void 0||e.length===0)return _e;let t={};for(let n=0;n<e.length;n+=2)t[e[n]]=e[n+1];return t}function OI(e,t){for(let n in t)if(t.hasOwnProperty(n)){let r=t[n],o=e[n];e[r]=o}}function kI(e){return Object.getPrototypeOf(e.prototype).constructor}function Lh(e){let t=kI(e.type),n=!0,r=[e];for(;t;){let o;if(Ae(e))o=t.\u0275cmp||t.\u0275dir;else{if(t.\u0275cmp)throw new C(903,!1);o=t.\u0275dir}if(o){if(n){r.push(o);let s=e;s.inputs=ic(e.inputs),s.declaredInputs=ic(e.declaredInputs),s.outputs=ic(e.outputs);let a=o.hostBindings;a&&BI(e,a);let c=o.viewQuery,u=o.contentQueries;if(c&&LI(e,c),u&&jI(e,u),FI(e,o),Jl(e.outputs,o.outputs),Ae(o)&&o.data.animation){let l=e.data;l.animation=(l.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===Lh&&(n=!1)}}t=Object.getPrototypeOf(t)}PI(r)}function FI(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 PI(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=jn(o.hostAttrs,n=jn(n,o.hostAttrs))}}function ic(e){return e===_e?{}:e===ne?[]:e}function LI(e,t){let n=e.viewQuery;n?e.viewQuery=(r,o)=>{t(r,o),n(r,o)}:e.viewQuery=t}function jI(e,t){let n=e.contentQueries;n?e.contentQueries=(r,o,i)=>{t(r,o,i),n(r,o,i)}:e.contentQueries=t}function BI(e,t){let n=e.hostBindings;n?e.hostBindings=(r,o)=>{t(r,o),n(r,o)}:e.hostBindings=t}function jh(e,t,n,r,o,i,s,a){if(n.firstCreatePass){e.mergedAttrs=jn(e.mergedAttrs,e.attrs);let l=e.tView=nu(2,e,o,i,s,n.directiveRegistry,n.pipeRegistry,null,n.schemas,n.consts,null);n.queries!==null&&(n.queries.template(n,e),l.queries=n.queries.embeddedTView(e))}a&&(e.flags|=a),Rn(e,!1);let c=HI(n,t,e,r);li()&&du(n,t,c,e),Bn(c,t);let u=ah(c,t,c,e);t[r+V]=u,ou(t,u),mI(u,e,t)}function VI(e,t,n,r,o,i,s,a,c,u,l){let d=n+V,p;return t.firstCreatePass?(p=Zn(t,d,4,s||null,a||null),ii()&&hh(t,e,p,De(t.consts,u),pu),Pf(t,p)):p=t.data[d],jh(p,e,t,n,r,o,i,c),An(p)&&ts(t,e,p),u!=null&&zr(e,p,l),p}function Br(e,t,n,r,o,i,s,a,c,u,l){let d=n+V,p;if(t.firstCreatePass){if(p=Zn(t,d,4,s||null,a||null),u!=null){let f=De(t.consts,u);p.localNames=[];for(let h=0;h<f.length;h+=2)p.localNames.push(f[h],-1)}}else p=t.data[d];return jh(p,e,t,n,r,o,i,c),u!=null&&zr(e,p,l),p}function Bh(e,t,n,r,o,i,s,a){let c=m(),u=L(),l=De(u.consts,i);return VI(c,u,e,t,n,r,o,l,void 0,s,a),Bh}var HI=$I;function $I(e,t,n,r){return Tr(!0),t[O].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=_({token:e,factory:e.\u0275fac,providedIn:"platform"})}return e})();function Tu(e){return typeof e=="function"&&e[U]!==void 0}function _u(e){return Tu(e)&&typeof e.set=="function"}var Vh=new b("");function cs(e){return!!e&&typeof e.then=="function"}function Mu(e){return!!e&&typeof e.subscribe=="function"}var Su=new b("");function GI(e){return Tn([{provide:Su,multi:!0,useValue:e}])}var Nu=(()=>{class e{resolve;reject;initialized=!1;done=!1;donePromise=new Promise((n,r)=>{this.resolve=n,this.reject=r});appInits=g(Su,{optional:!0})??[];injector=g(le);constructor(){}runInitializers(){if(this.initialized)return;let n=[];for(let o of this.appInits){let i=Mn(this.injector,o);if(cs(i))n.push(i);else if(Mu(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=_({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})(),Hh=new b("");function $h(){Os(()=>{let e="";throw new C(600,e)})}function Uh(e){return e.isBoundToModule}var zI=10;var Kr=(()=>{class e{_runningTick=!1;_destroyed=!1;_destroyListeners=[];_views=[];internalErrorHandler=g(rt);afterRenderManager=g(Ki);zonelessEnabled=g(Fn);rootEffectScheduler=g(pi);dirtyFlags=0;tracingSnapshot=null;allTestViews=new Set;autoDetectTestViews=new Set;includeAllTestViews=!1;afterTick=new be;get allViews(){return[...(this.includeAllTestViews?this.allTestViews:this.autoDetectTestViews).keys(),...this._views]}get destroyed(){return this._destroyed}componentTypes=[];components=[];internalPendingTask=g(wt);get isStable(){return this.internalPendingTask.hasPendingTasksObservable.pipe(he(n=>!n))}constructor(){g(at,{optional:!0})}whenStable(){let n;return new Promise(r=>{n=this.isStable.subscribe({next:o=>{o&&r()}})}).finally(()=>{n.unsubscribe()})}_injector=g(ie);_rendererFactory=null;get injector(){return this._injector}bootstrap(n,r){return this.bootstrapImpl(n,r)}bootstrapImpl(n,r,o=le.NULL){return this._injector.get(W).run(()=>{F(x.BootstrapComponentStart);let s=n instanceof os;if(!this._injector.get(Nu).done){let h="";throw new C(405,h)}let c;s?c=n:c=this._injector.get(Zr).resolveComponentFactory(n),this.componentTypes.push(c.componentType);let u=Uh(c)?void 0:this._injector.get(sn),l=r||c.selector,d=c.create(o,[],l,u),p=d.location.nativeElement,f=d.injector.get(Vh,null);return f?.registerApplication(p),d.onDestroy(()=>{this.detachView(d.hostView),Ar(this.components,d),f?.unregisterApplication(p)}),this._loadComponent(d),F(x.BootstrapComponentEnd,d),d})}tick(){this.zonelessEnabled||(this.dirtyFlags|=1),this._tick()}_tick(){F(x.ChangeDetectionStart),this.tracingSnapshot!==null?this.tracingSnapshot.run(Yi.CHANGE_DETECTION,this.tickImpl):this.tickImpl()}tickImpl=()=>{if(this._runningTick)throw F(x.ChangeDetectionEnd),new C(101,!1);let n=y(null);try{this._runningTick=!0,this.synchronize()}finally{this._runningTick=!1,this.tracingSnapshot?.dispose(),this.tracingSnapshot=null,y(n),this.afterTick.next(),F(x.ChangeDetectionEnd)}};synchronize(){this._rendererFactory===null&&!this._injector.destroyed&&(this._rendererFactory=this._injector.get(Lr,null,{optional:!0}));let n=0;for(;this.dirtyFlags!==0&&n++<zI;){F(x.ChangeDetectionSyncStart);try{this.synchronizeOnce()}finally{F(x.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&&!Cr(o))continue;let i=r&&!this.zonelessEnabled?0:1;rh(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})=>Cr(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;Ar(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(Hh,[]).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),()=>Ar(this._destroyListeners,n)}destroy(){if(this._destroyed)throw new C(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=_({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();function Ar(e,t){let n=e.indexOf(t);n>-1&&e.splice(n,1)}function Gh(){let e,t;return{promise:new Promise((r,o)=>{e=r,t=o}),resolve:e,reject:t}}function zh(e,t){let n=m(),r=nt();if(re(n,r,t)){let o=L(),i=On();if(ns(i,o,n,e,t))Ue(i)&&Yp(n,i.index);else{let a=de(i,n);Kp(n[O],a,null,i.value,e,t,null)}}return zh}function Wh(e,t,n,r){let o=m(),i=nt();if(re(o,i,t)){let s=L(),a=On();yE(a,o,e,t,n,r)}return Wh}function wi(e){if(Oe("NgAnimateEnter"),!Gr)return wi;let t=m();if(xp(t))return wi;let n=Z(),r=t[ae].get(W);return kp(af(t),n,()=>WI(t,n,e,r)),Vp(t[ae]),Hp(t[ae],af(t)),wi}function WI(e,t,n,r){let o=de(t,e),i=e[O],s=Op(n),a=[],c=!1,u=d=>{if(Or(d)!==o)return;let p=d instanceof AnimationEvent?"animationend":"transitionend";r.runOutsideAngular(()=>{i.listen(o,p,l)})},l=d=>{Or(d)===o&&(au(d,o)&&(c=!0),qI(d,o,i))};if(s&&s.length>0){r.runOutsideAngular(()=>{a.push(i.listen(o,"animationstart",u)),a.push(i.listen(o,"transitionstart",u))}),VD(o,s,a);for(let d of s)i.addClass(o,d);r.runOutsideAngular(()=>{requestAnimationFrame(()=>{if(!c&&(Lp(o,nn,Gr),!nn.has(o))){for(let d of s)i.removeClass(o,d);su(o)}})})}}function qI(e,t,n){let r=Hn.get(t);if(!(Or(e)!==t||!r)&&au(e,t)){e.stopPropagation();for(let o of r.classList)n.removeClass(t,o);su(t)}}function bi(e){if(Oe("NgAnimateLeave"),!Gr)return bi;let t=m();if(xp(t))return bi;let r=Z(),o=t[ae].get(W);return kp(Qi(t),r,()=>ZI(t,r,e,o)),Vp(t[ae]),bi}function ZI(e,t,n,r){let{promise:o,resolve:i}=Gh(),s=de(t,e),a=e[O];$n.add(e[He]),(Qi(e).get(t.index).resolvers??=[]).push(i);let c=Op(n);return c&&c.length>0?QI(s,t,e,c,a,r):i(),{promise:o,resolve:i}}function QI(e,t,n,r,o,i){$D(e,o);let s=[],a=Qi(n).get(t.index)?.resolvers,c,u=!1,l=d=>{if(!(Or(d)!==e&&d.type!=="animation-fallback")&&(d.type==="animation-fallback"||au(d,e))){if(u=!0,c&&clearTimeout(c),d.type!=="animation-fallback"&&d.stopPropagation(),nn.delete(e),sf(t,e),Array.isArray(t.projection))for(let f of r)o.removeClass(e,f);cf(a,s),uf(n,t)}};i.runOutsideAngular(()=>{s.push(o.listen(e,"animationend",l)),s.push(o.listen(e,"transitionend",l))}),Rp(t,e);for(let d of r)o.addClass(e,d);i.runOutsideAngular(()=>{requestAnimationFrame(()=>{if(u)return;Lp(e,nn,Gr);let d=nn.get(e);d?(c=setTimeout(()=>{l(new CustomEvent("animation-fallback"))},d.duration+50),s.push(()=>clearTimeout(c))):(sf(t,e),cf(a,s),uf(n,t))})})}var jc=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 sc(e,t,n,r,o){return e===n&&Object.is(t,r)?1:Object.is(o(e,t),o(n,r))?-1:0}function YI(e,t,n,r){let o,i,s=0,a=e.length-1,c=void 0;if(Array.isArray(t)){y(r);let u=t.length-1;for(y(null);s<=a&&s<=u;){let l=e.at(s),d=t[s],p=sc(s,l,s,d,n);if(p!==0){p<0&&e.updateValue(s,d),s++;continue}let f=e.at(a),h=t[u],E=sc(a,f,u,h,n);if(E!==0){E<0&&e.updateValue(a,h),a--,u--;continue}let v=n(s,l),I=n(a,f),Q=n(s,d);if(Object.is(Q,I)){let pe=n(u,h);Object.is(pe,v)?(e.swap(s,a),e.updateValue(a,h),u--,a--):e.move(a,s),e.updateValue(s,d),s++;continue}if(o??=new Vi,i??=Tf(e,s,a,n),Bc(e,o,s,Q))e.updateValue(s,d),s++,a++;else if(i.has(Q))o.set(v,e.detach(s)),a--;else{let pe=e.create(s,t[s]);e.attach(s,pe),s++,a++}}for(;s<=u;)bf(e,o,n,s,t[s]),s++}else if(t!=null){y(r);let u=t[Symbol.iterator]();y(null);let l=u.next();for(;!l.done&&s<=a;){let d=e.at(s),p=l.value,f=sc(s,d,s,p,n);if(f!==0)f<0&&e.updateValue(s,p),s++,l=u.next();else{o??=new Vi,i??=Tf(e,s,a,n);let h=n(s,p);if(Bc(e,o,s,h))e.updateValue(s,p),s++,a++,l=u.next();else if(!i.has(h))e.attach(s,e.create(s,p)),s++,a++,l=u.next();else{let E=n(s,d);o.set(E,e.detach(s)),a--}}}for(;!l.done;)bf(e,o,n,e.length,l.value),l=u.next()}for(;s<=a;)e.destroy(e.detach(a--));o?.forEach(u=>{e.destroy(u)})}function Bc(e,t,n,r){return t!==void 0&&t.has(r)?(e.attach(n,t.get(r)),t.delete(r),!0):!1}function bf(e,t,n,r,o){if(Bc(e,t,r,n(r,o)))e.updateValue(r,o);else{let i=e.create(r,o);e.attach(r,i)}}function Tf(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 Vi=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 KI(e,t,n,r,o,i,s,a){Oe("NgControlFlow");let c=m(),u=L(),l=De(u.consts,i);return Br(c,u,e,t,n,r,o,l,256,s,a),Au}function Au(e,t,n,r,o,i,s,a){Oe("NgControlFlow");let c=m(),u=L(),l=De(u.consts,i);return Br(c,u,e,t,n,r,o,l,512,s,a),Au}function JI(e,t){Oe("NgControlFlow");let n=m(),r=nt(),o=n[r]!==X?n[r]:-1,i=o!==-1?Hi(n,V+o):void 0,s=0;if(re(n,r,e)){let a=y(null);try{if(i!==void 0&&uh(i,s),e!==-1){let c=V+e,u=Hi(n,c),l=Uc(n[D],c),d=dh(u,l,n),p=Wr(n,l,t,{dehydratedView:d});qr(u,p,s,Un(l,d))}}finally{y(a)}}else if(i!==void 0){let a=ch(i,s);a!==void 0&&(a[q]=t)}}var Vc=class{lContainer;$implicit;$index;constructor(t,n,r){this.lContainer=t,this.$implicit=n,this.$index=r}get $count(){return this.lContainer.length-G}};function XI(e){return e}function eC(e,t){return t}var Hc=class{hasEmptyBlock;trackByFn;liveCollection;constructor(t,n,r){this.hasEmptyBlock=t,this.trackByFn=n,this.liveCollection=r}};function tC(e,t,n,r,o,i,s,a,c,u,l,d,p){Oe("NgControlFlow");let f=m(),h=L(),E=c!==void 0,v=m(),I=a?s.bind(v[ce][q]):s,Q=new Hc(E,I);v[V+e]=Q,Br(f,h,e+1,t,n,r,o,De(h.consts,i),256),E&&Br(f,h,e+2,c,u,l,d,De(h.consts,p),512)}var $c=class extends jc{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-G}at(t){return this.getLView(t)[q].$implicit}attach(t,n){let r=n[qt];this.needsIndexUpdate||=t!==this.length,qr(this.lContainer,n,t,Un(this.templateTNode,r)),rC(this.lContainer,t)}detach(t){return this.needsIndexUpdate||=t!==this.length-1,oC(this.lContainer,t),iC(this.lContainer,t)}create(t,n){let r=Oi(this.lContainer,this.templateTNode.tView.ssrId);return Wr(this.hostLView,this.templateTNode,new Vc(this.lContainer,n,t),{dehydratedView:r})}destroy(t){Xi(t[D],t)}updateValue(t,n){this.getLView(t)[q].$implicit=n}reset(){this.needsIndexUpdate=!1}updateIndexes(){if(this.needsIndexUpdate)for(let t=0;t<this.length;t++)this.getLView(t)[q].$index=t}getLView(t){return sC(this.lContainer,t)}};function nC(e){let t=y(null),n=xe();try{let r=m(),o=r[D],i=r[n],s=n+1,a=Hi(r,s);if(i.liveCollection===void 0){let u=Uc(o,s);i.liveCollection=new $c(a,r,u)}else i.liveCollection.reset();let c=i.liveCollection;if(YI(c,e,i.trackByFn,t),c.updateIndexes(),i.hasEmptyBlock){let u=nt(),l=c.length===0;if(re(r,u,l)){let d=n+2,p=Hi(r,d);if(l){let f=Uc(o,d),h=dh(p,f,r),E=Wr(r,f,void 0,{dehydratedView:h});qr(p,E,0,Un(f,h))}else o.firstUpdatePass&&VE(p),uh(p,0)}}}finally{y(t)}}function Hi(e,t){return e[t]}function rC(e,t){if(e.length<=G)return;let n=G+t,r=e[n],o=r?r[$e]:void 0;if(r&&o&&o.detachedLeaveAnimationFns&&o.detachedLeaveAnimationFns.length>0){let i=r[ae];YD(i,o),$n.delete(r[He]),o.detachedLeaveAnimationFns=void 0}}function oC(e,t){if(e.length<=G)return;let n=G+t,r=e[n],o=r?r[$e]:void 0;o&&o.leave&&o.leave.size>0&&(o.detachedLeaveAnimationFns=[])}function iC(e,t){return Pr(e,t)}function sC(e,t){return ch(e,t)}function Uc(e,t){return ni(e,t)}function qh(e,t,n){let r=m(),o=nt();if(re(r,o,t)){let i=L(),s=On();Zp(s,r,e,t,r[O],n)}return qh}function Gc(e,t,n,r,o){ns(t,e,n,o?"class":"style",r)}function $i(e,t,n,r){let o=m(),i=o[D],s=e+V,a=i.firstCreatePass?vu(s,o,2,t,pu,ii(),n,r):i.data[s];if(Ue(a)){let c=o[Se].tracingService;if(c&&c.componentCreate){let u=i.data[a.directiveStart+a.componentOffset];return c.componentCreate(Eh(u),()=>(_f(e,t,o,a,r),$i))}}return _f(e,t,o,a,r),$i}function _f(e,t,n,r,o){if(hu(r,n,e,t,Yh),An(r)){let i=n[D];ts(i,n,r),Jc(i,r,n)}o!=null&&zr(n,r)}function xu(){let e=L(),t=Z(),n=gu(t);return e.firstCreatePass&&Du(e,n),Ha(n)&&$a(),Ba(),n.classesWithoutHost!=null&&pv(n)&&Gc(e,n,m(),n.classesWithoutHost,!0),n.stylesWithoutHost!=null&&hv(n)&&Gc(e,n,m(),n.stylesWithoutHost,!1),xu}function Zh(e,t,n,r){return $i(e,t,n,r),xu(),Zh}function Ru(e,t,n,r){let o=m(),i=o[D],s=e+V,a=i.firstCreatePass?tI(s,i,2,t,n,r):i.data[s];return hu(a,o,e,t,Yh),r!=null&&zr(o,a),Ru}function Ou(){let e=Z(),t=gu(e);return Ha(t)&&$a(),Ba(),Ou}function Qh(e,t,n,r){return Ru(e,t,n,r),Ou(),Qh}var Yh=(e,t,n,r,o)=>(Tr(!0),vp(t[O],r,Fd()));function ku(e,t,n){let r=m(),o=r[D],i=e+V,s=o.firstCreatePass?vu(i,r,8,"ng-container",pu,ii(),t,n):o.data[i];if(hu(s,r,e,"ng-container",aC),An(s)){let a=r[D];ts(a,r,s),Jc(a,s,r)}return n!=null&&zr(r,s),ku}function Fu(){let e=L(),t=Z(),n=gu(t);return e.firstCreatePass&&Du(e,n),Fu}function Kh(e,t,n){return ku(e,t,n),Fu(),Kh}var aC=(e,t,n,r,o)=>(Tr(!0),hD(t[O],""));function cC(){return m()}function Jh(e,t,n){let r=m(),o=nt();if(re(r,o,t)){let i=L(),s=On();Qp(s,r,e,t,r[O],n)}return Jh}var Jr="en-US";var uC=Jr;function Xh(e){typeof e=="string"&&(uC=e.toLowerCase().replace(/_/g,"-"))}function eg(e,t,n){let r=m(),o=L(),i=Z();return ng(o,r,r[O],i,e,t,n),eg}function tg(e,t,n){let r=m(),o=L(),i=Z();return(i.type&3||n)&&vh(i,o,r,n,r[O],e,t,Ci(i,r,t)),tg}function ng(e,t,n,r,o,i,s){let a=!0,c=null;if((r.type&3||s)&&(c??=Ci(r,t,i),vh(r,e,t,s,n,o,i,c)&&(a=!1)),a){let u=r.outputs?.[o],l=r.hostDirectiveOutputs?.[o];if(l&&l.length)for(let d=0;d<l.length;d+=2){let p=l[d],f=l[d+1];c??=Ci(r,t,i),vf(r,t,p,f,o,c)}if(u&&u.length)for(let d of u)c??=Ci(r,t,i),vf(r,t,d,o,o,c)}}function lC(e=1){return Od(e)}function dC(e,t){let n=null,r=MD(e);for(let o=0;o<t.length;o++){let i=t[o];if(i==="*"){n=o;continue}if(r===null?_p(e,i,!0):AD(r,i))return o}return n}function fC(e){let t=m()[ce][se];if(!t.projection){let n=e?e.length:1,r=t.projection=id(n,null),o=r.slice(),i=t.child;for(;i!==null;){if(i.type!==128){let s=e?dC(i,e):0;s!==null&&(o[s]?o[s].projectionNext=i:r[s]=i,o[s]=i)}i=i.next}}}function pC(e,t=0,n,r,o,i){let s=m(),a=L(),c=r?e+1:null;c!==null&&Br(s,a,c,r,o,i,null,n);let u=Zn(a,V+e,16,null,n||null);u.projection===null&&(u.projection=t),za();let d=!s[qt]||Va();s[ce][se].projection[u.projection]===null&&c!==null?hC(s,a,c):d&&!zi(u)&&aE(a,s,u)}function hC(e,t,n){let r=V+n,o=t.data[r],i=e[r],s=Oi(i,o.tView.ssrId),a=Wr(e,o,void 0,{dehydratedView:s});qr(i,a,0,Un(o,s))}function rg(e,t,n,r){return _h(e,t,n,r),rg}function og(e,t,n){return Th(e,t,n),og}function gC(e){let t=m(),n=L(),r=ai();br(r+1);let o=Cu(n,r);if(e.dirty&&hd(t)===((o.metadata.flags&2)===2)){if(o.matches===null)e.reset([]);else{let i=Sh(t,r);e.reset(i,Qf),e.notifyOnChanges()}return!0}return!1}function mC(){return Iu(m(),ai())}function ig(e,t,n,r,o){return Ah(t,_h(e,n,r,o)),ig}function sg(e,t,n,r){return Ah(e,Th(t,n,r)),sg}function yC(e=1){br(ai()+e)}function vC(e){let t=bd();return Ra(t,V+e)}function yi(e,t){return e<<17|t<<2}function an(e){return e>>17&32767}function DC(e){return(e&2)==2}function EC(e,t){return e&131071|t<<17}function zc(e){return e|2}function zn(e){return(e&131068)>>2}function ac(e,t){return e&-131069|t<<2}function IC(e){return(e&1)===1}function Wc(e){return e|1}function CC(e,t,n,r,o,i){let s=i?t.classBindings:t.styleBindings,a=an(s),c=zn(s);e[r]=n;let u=!1,l;if(Array.isArray(n)){let d=n;l=d[1],(l===null||bn(d,l)>0)&&(u=!0)}else l=n;if(o)if(c!==0){let p=an(e[a+1]);e[r+1]=yi(p,a),p!==0&&(e[p+1]=ac(e[p+1],r)),e[a+1]=EC(e[a+1],r)}else e[r+1]=yi(a,0),a!==0&&(e[a+1]=ac(e[a+1],r)),a=r;else e[r+1]=yi(c,0),a===0?a=r:e[c+1]=ac(e[c+1],r),c=r;u&&(e[r+1]=zc(e[r+1])),Mf(e,l,r,!0),Mf(e,l,r,!1),wC(t,l,e,r,i),s=yi(a,c),i?t.classBindings=s:t.styleBindings=s}function wC(e,t,n,r,o){let i=o?e.residualClasses:e.residualStyles;i!=null&&typeof t=="string"&&bn(i,t)>=0&&(n[r+1]=Wc(n[r+1]))}function Mf(e,t,n,r){let o=e[n+1],i=t===null,s=r?an(o):zn(o),a=!1;for(;s!==0&&(a===!1||i);){let c=e[s],u=e[s+1];bC(c,t)&&(a=!0,e[s+1]=r?Wc(u):zc(u)),s=r?an(u):zn(u)}a&&(e[n+1]=r?zc(o):Wc(o))}function bC(e,t){return e===null||t==null||(Array.isArray(e)?e[1]:e)===t?!0:Array.isArray(e)&&typeof t=="string"?bn(e,t)>=0:!1}var J={textEnd:0,key:0,keyEnd:0,value:0,valueEnd:0};function ag(e){return e.substring(J.key,J.keyEnd)}function TC(e){return e.substring(J.value,J.valueEnd)}function _C(e){return lg(e),cg(e,Wn(e,0,J.textEnd))}function cg(e,t){let n=J.textEnd;return n===t?-1:(t=J.keyEnd=SC(e,J.key=t,n),Wn(e,t,n))}function MC(e){return lg(e),ug(e,Wn(e,0,J.textEnd))}function ug(e,t){let n=J.textEnd,r=J.key=Wn(e,t,n);return n===r?-1:(r=J.keyEnd=NC(e,r,n),r=Sf(e,r,n,58),r=J.value=Wn(e,r,n),r=J.valueEnd=AC(e,r,n),Sf(e,r,n,59))}function lg(e){J.key=0,J.keyEnd=0,J.value=0,J.valueEnd=0,J.textEnd=e.length}function Wn(e,t,n){for(;t<n&&e.charCodeAt(t)<=32;)t++;return t}function SC(e,t,n){for(;t<n&&e.charCodeAt(t)>32;)t++;return t}function NC(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 Sf(e,t,n,r){return t=Wn(e,t,n),t<n&&t++,t}function AC(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=Nf(e,c,s,n):t===s-4&&i===85&&o===82&&r===76&&c===40?a=s=Nf(e,41,s,n):c>32&&(a=s),i=o,o=r,r=c&-33}return a}function Nf(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 dg(e,t,n){return pg(e,t,n,!1),dg}function fg(e,t){return pg(e,t,null,!0),fg}function xC(e){hg(yg,RC,e,!1)}function RC(e,t){for(let n=MC(t);n>=0;n=ug(t,n))yg(e,ag(t),TC(t))}function OC(e){hg(VC,kC,e,!0)}function kC(e,t){for(let n=_C(t);n>=0;n=cg(t,n))Er(e,ag(t),!0)}function pg(e,t,n,r){let o=m(),i=L(),s=wr(2);if(i.firstUpdatePass&&mg(i,e,s,r),t!==X&&re(o,s,t)){let a=i.data[xe()];vg(i,a,o,o[O],e,o[s+1]=$C(t,n),r,s)}}function hg(e,t,n,r){let o=L(),i=wr(2);o.firstUpdatePass&&mg(o,null,i,r);let s=m();if(n!==X&&re(s,i,n)){let a=o.data[xe()];if(Dg(a,r)&&!gg(o,i)){let c=r?a.classesWithoutHost:a.stylesWithoutHost;c!==null&&(n=qo(c,n||"")),Gc(o,a,s,n,r)}else HC(o,a,s,s[O],s[i+1],s[i+1]=BC(e,t,n),r,i)}}function gg(e,t){return t>=e.expandoStartIndex}function mg(e,t,n,r){let o=e.data;if(o[n+1]===null){let i=o[xe()],s=gg(e,n);Dg(i,r)&&t===null&&!s&&(t=!1),t=FC(o,i,t,r),CC(o,i,t,n,s,r)}}function FC(e,t,n,r){let o=Nd(e),i=r?t.residualClasses:t.residualStyles;if(o===null)(r?t.classBindings:t.styleBindings)===0&&(n=cc(null,e,t,n,r),n=Vr(n,t.attrs,r),i=null);else{let s=t.directiveStylingLast;if(s===-1||e[s]!==o)if(n=cc(o,e,t,n,r),i===null){let c=PC(e,t,r);c!==void 0&&Array.isArray(c)&&(c=cc(null,e,t,c[1],r),c=Vr(c,t.attrs,r),LC(e,t,r,c))}else i=jC(e,t,r)}return i!==void 0&&(r?t.residualClasses=i:t.residualStyles=i),n}function PC(e,t,n){let r=n?t.classBindings:t.styleBindings;if(zn(r)!==0)return e[an(r)]}function LC(e,t,n,r){let o=n?t.classBindings:t.styleBindings;e[an(o)]=r}function jC(e,t,n){let r,o=t.directiveEnd;for(let i=1+t.directiveStylingLast;i<o;i++){let s=e[i].hostAttrs;r=Vr(r,s,n)}return Vr(r,t.attrs,n)}function cc(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=Vr(r,i.hostAttrs,o),i!==e);)a++;return e!==null&&(n.directiveStylingLast=a),r}function Vr(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]),Er(e,s,n?!0:t[++i]))}return e===void 0?null:e}function BC(e,t,n){if(n==null||n==="")return ne;let r=[],o=Mt(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)o.hasOwnProperty(i)&&e(r,i,o[i]);else typeof o=="string"&&t(r,o);return r}function yg(e,t,n){Er(e,t,Mt(n))}function VC(e,t,n){let r=String(t);r!==""&&!r.includes(" ")&&Er(e,r,n)}function HC(e,t,n,r,o,i,s,a){o===X&&(o=ne);let c=0,u=0,l=0<o.length?o[0]:null,d=0<i.length?i[0]:null;for(;l!==null||d!==null;){let p=c<o.length?o[c+1]:void 0,f=u<i.length?i[u+1]:void 0,h=null,E;l===d?(c+=2,u+=2,p!==f&&(h=d,E=f)):d===null||l!==null&&l<d?(c+=2,h=l):(u+=2,h=d,E=f),h!==null&&vg(e,t,n,r,h,E,s,a),l=c<o.length?o[c]:null,d=u<i.length?i[u]:null}}function vg(e,t,n,r,o,i,s,a){if(!(t.type&3))return;let c=e.data,u=c[a+1],l=IC(u)?Af(c,t,n,o,zn(u),s):void 0;if(!Ui(l)){Ui(i)||DC(u)&&(i=Af(c,null,n,o,a,s));let d=xa(xe(),n);uE(r,s,d,o,i)}}function Af(e,t,n,r,o,i){let s=t===null,a;for(;o>0;){let c=e[o],u=Array.isArray(c),l=u?c[1]:c,d=l===null,p=n[o+1];p===X&&(p=d?ne:void 0);let f=d?ei(p,r):l===r?p:void 0;if(u&&!Ui(f)&&(f=ei(c,r)),Ui(f)&&(a=f,s))return a;let h=e[o+1];o=s?an(h):zn(h)}if(t!==null){let c=i?t.residualClasses:t.residualStyles;c!=null&&(a=ei(c,r))}return a}function Ui(e){return e!==void 0}function $C(e,t){return e==null||e===""||(typeof t=="string"?e=e+t:typeof e=="object"&&(e=mr(Mt(e)))),e}function Dg(e,t){return(e.flags&(t?8:16))!==0}function UC(e,t=""){let n=m(),r=L(),o=e+V,i=r.firstCreatePass?Zn(r,o,1,t,null):r.data[o],s=GC(r,n,i,t);n[o]=s,li()&&du(r,n,s,i),Rn(i,!1)}var GC=(e,t,n,r)=>(Tr(!0),fD(t[O],r));function Eg(e,t,n,r=""){return re(e,nt(),n)?t+ge(n)+r:X}function zC(e,t,n,r,o,i=""){let s=qa(),a=Gn(e,s,n,o);return wr(2),a?t+ge(n)+r+ge(o)+i:X}function WC(e,t,n,r,o,i,s,a,c,u,l,d=""){let p=qa(),f=Yr(e,p,n,o,s,c);return f=re(e,p+4,l)||f,wr(5),f?t+ge(n)+r+ge(o)+i+ge(s)+a+ge(c)+u+ge(l)+d:X}function Ig(e){return Pu("",e),Ig}function Pu(e,t,n){let r=m(),o=Eg(r,e,t,n);return o!==X&&Lu(r,xe(),o),Pu}function Cg(e,t,n,r,o){let i=m(),s=zC(i,e,t,n,r,o);return s!==X&&Lu(i,xe(),s),Cg}function wg(e,t,n,r,o,i,s,a,c,u,l){let d=m(),p=WC(d,e,t,n,r,o,i,s,a,c,u,l);return p!==X&&Lu(d,xe(),p),wg}function Lu(e,t,n){let r=xa(t,e);pD(e[O],r,n)}function bg(e,t,n){_u(t)&&(t=t());let r=m(),o=nt();if(re(r,o,t)){let i=L(),s=On();Zp(s,r,e,t,r[O],n)}return bg}function qC(e,t){let n=_u(e);return n&&e.set(t),n}function Tg(e,t){let n=m(),r=L(),o=Z();return ng(r,n,n[O],o,e,t),Tg}function ZC(e,t,n=""){return Eg(m(),e,t,n)}function xf(e,t,n){let r=L();r.firstCreatePass&&_g(t,r.data,r.blueprint,Ae(e),n)}function _g(e,t,n,r,o){if(e=Y(e),Array.isArray(e))for(let i=0;i<e.length;i++)_g(e[i],t,n,r,o);else{let i=L(),s=m(),a=Z(),c=Ut(e)?e:Y(e.provide),u=Ta(e),l=a.providerIndexes&1048575,d=a.directiveStart,p=a.providerIndexes>>20;if(Ut(e)||!e.multi){let f=new rn(u,o,ee,null),h=lc(c,t,o?l:l+p,d);h===-1?(fc(Ni(a,s),i,c),uc(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=lc(c,t,l+p,d),h=lc(c,t,l,l+p),E=f>=0&&n[f],v=h>=0&&n[h];if(o&&!v||!o&&!E){fc(Ni(a,s),i,c);let I=KC(o?YC:QC,n.length,o,r,u,e);!o&&v&&(n[h].providerFactory=I),uc(i,e,t.length,0),t.push(c),a.directiveStart++,a.directiveEnd++,o&&(a.providerIndexes+=1048576),n.push(I),s.push(I)}else{let I=Mg(n[o?h:f],u,!o&&r);uc(i,e,f>-1?f:h,I)}!o&&r&&v&&n[h].componentProviders++}}}function uc(e,t,n,r){let o=Ut(t),i=ld(t);if(o||i){let c=(i?Y(t.useClass):t).prototype.ngOnDestroy;if(c){let u=e.destroyHooks||(e.destroyHooks=[]);if(!o&&t.multi){let l=u.indexOf(n);l===-1?u.push(n,[r,c]):u[l+1].push(r,c)}else u.push(n,c)}}}function Mg(e,t,n){return n&&e.componentProviders++,e.multi.push(t)-1}function lc(e,t,n,r){for(let o=n;o<r;o++)if(t[o]===e)return o;return-1}function QC(e,t,n,r,o){return qc(this.multi,[])}function YC(e,t,n,r,o){let i=this.multi,s;if(this.providerFactory){let a=this.providerFactory.componentProviders,c=xr(r,r[D],this.providerFactory.index,o);s=c.slice(0,a),qc(i,s);for(let u=a;u<c.length;u++)s.push(c[u])}else s=[],qc(i,s);return s}function qc(e,t){for(let n=0;n<e.length;n++){let r=e[n];t.push(r())}return t}function KC(e,t,n,r,o,i){let s=new rn(e,n,ee,null);return s.multi=[],s.index=t,s.componentProviders=0,Mg(s,o,r&&!n),s}function JC(e,t){return n=>{n.providersResolver=(r,o)=>xf(r,o?o(e):e,!1),t&&(n.viewProvidersResolver=(r,o)=>xf(r,o?o(t):t,!0))}}function XC(e,t){let n=Ge()+e,r=m();return r[n]===X?St(r,n,t()):ss(r,n)}function ew(e,t,n){return Sg(m(),Ge(),e,t,n)}function tw(e,t,n,r){return aw(m(),Ge(),e,t,n,r)}function nw(e,t,n,r,o){return cw(m(),Ge(),e,t,n,r,o)}function rw(e,t,n,r,o,i,s){return uw(m(),Ge(),e,t,n,r,o,i)}function ow(e,t,n,r,o,i,s){let a=Ge()+e,c=m(),u=Yr(c,a,n,r,o,i);return re(c,a+4,s)||u?St(c,a+5,t(n,r,o,i,s)):ss(c,a+5)}function iw(e,t,n,r,o,i,s,a){let c=Ge()+e,u=m(),l=Yr(u,c,n,r,o,i);return Gn(u,c+4,s,a)||l?St(u,c+6,t(n,r,o,i,s,a)):ss(u,c+6)}function sw(e,t,n,r,o,i,s,a,c){let u=Ge()+e,l=m(),d=Yr(l,u,n,r,o,i);return yh(l,u+4,s,a,c)||d?St(l,u+7,t(n,r,o,i,s,a,c)):ss(l,u+7)}function us(e,t){let n=e[t];return n===X?void 0:n}function Sg(e,t,n,r,o,i){let s=t+n;return re(e,s,o)?St(e,s+1,i?r.call(i,o):r(o)):us(e,s+1)}function aw(e,t,n,r,o,i,s){let a=t+n;return Gn(e,a,o,i)?St(e,a+2,s?r.call(s,o,i):r(o,i)):us(e,a+2)}function cw(e,t,n,r,o,i,s,a){let c=t+n;return yh(e,c,o,i,s)?St(e,c+3,a?r.call(a,o,i,s):r(o,i,s)):us(e,c+3)}function uw(e,t,n,r,o,i,s,a,c){let u=t+n;return Yr(e,u,o,i,s,a)?St(e,u+4,c?r.call(c,o,i,s,a):r(o,i,s,a)):us(e,u+4)}function lw(e,t){let n=L(),r,o=e+V;n.firstCreatePass?(r=dw(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=yt(r.type,!0)),s,a=oe(ee);try{let c=Si(!1),u=i();return Si(c),Oa(n,m(),o,u),u}finally{oe(a)}}function dw(e,t){if(t)for(let n=t.length-1;n>=0;n--){let r=t[n];if(e===r.name)return r}}function fw(e,t,n){let r=e+V,o=m(),i=Ra(o,r);return pw(o,r)?Sg(o,Ge(),t,i.transform,n,i):i.transform(n)}function pw(e,t){return e[D].data[t].pure}function hw(e,t){return rs(e,t)}var Gi=class{ngModuleFactory;componentFactories;constructor(t,n){this.ngModuleFactory=t,this.componentFactories=n}},gw=(()=>{class e{compileModuleSync(n){return new Bi(n)}compileModuleAsync(n){return Promise.resolve(this.compileModuleSync(n))}compileModuleAndAllComponentsSync(n){let r=this.compileModuleSync(n),o=ma(n),i=bp(o.declarations).reduce((s,a)=>{let c=Be(a);return c&&s.push(new _t(c)),s},[]);return new Gi(r,i)}compileModuleAndAllComponentsAsync(n){return Promise.resolve(this.compileModuleAndAllComponentsSync(n))}clearCache(){}clearCacheFor(n){}getModuleId(n){}static \u0275fac=function(r){return new(r||e)};static \u0275prov=_({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();var Ng=(()=>{class e{applicationErrorHandler=g(rt);appRef=g(Kr);taskService=g(wt);ngZone=g(W);zonelessEnabled=g(Fn);tracing=g(at,{optional:!0});zoneIsDefined=typeof Zone<"u"&&!!Zone.root.run;schedulerTickApplyArgs=[{data:{__scheduler_tick__:!0}}];subscriptions=new z;angularZoneId=this.zoneIsDefined?this.ngZone._inner?.get(hr):null;scheduleInRootZone=!this.zonelessEnabled&&this.zoneIsDefined&&(g(fi,{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:{this.appRef.dirtyFlags|=2;break}case 3:case 2:case 4:case 5:case 1:{this.appRef.dirtyFlags|=4;break}case 6:{this.appRef.dirtyFlags|=2;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?jd:Ja;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(hr+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=_({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();function Ag(){return[{provide:Te,useExisting:Ng},{provide:W,useClass:gr},{provide:Fn,useValue:!0}]}function mw(){return typeof $localize<"u"&&$localize.locale||Jr}var ls=new b("",{factory:()=>g(ls,{optional:!0,skipSelf:!0})||mw()});var Xr=class{destroyed=!1;listeners=null;errorHandler=g(Xe,{optional:!0});destroyRef=g(Ie);constructor(){this.destroyRef.onDestroy(()=>{this.destroyed=!0,this.listeners=null})}subscribe(t){if(this.destroyed)throw new C(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(et(953,!1));return}if(this.listeners===null)return;let n=y(null);try{for(let r of this.listeners)try{r(t)}catch(o){this.errorHandler?.handleError(o)}}finally{y(n)}}};function Rg(e){return ql(e)}function yw(e,t){return nr(e,t?.equal)}var vw=e=>e;function Dw(e,t){if(typeof e=="function"){let n=Ks(e,vw,t?.equal);return xg(n,t?.debugName)}else{let n=Ks(e.source,e.computation,e.equal);return xg(n,e.debugName)}}function xg(e,t){let n=e[U],r=e;return r.set=o=>zl(n,o),r.update=o=>Wl(n,o),r.asReadonly=_r.bind(e),r}var ps=Symbol("InputSignalNode#UNSET"),Ug=$(j({},rr),{transformFn:void 0,applyValueToInputSignal(e,t){gt(e,t)}});function Gg(e,t){let n=Object.create(Ug);n.value=e,n.transformFn=t?.transform;function r(){if(Qe(n),n.value===ps){let o=null;throw new C(-950,o)}return n.value}return r[U]=n,r}var Og=class{attributeName;constructor(t){this.attributeName=t}__NG_ELEMENT_ID__=()=>Yc(this.attributeName);toString(){return`HostAttributeToken ${this.attributeName}`}};function pL(e){return new Xr}function kg(e,t){return Gg(e,t)}function Nw(e){return Gg(ps,e)}var hL=(kg.required=Nw,kg);function Fg(e,t){return wu(t)}function Aw(e,t){return bu(t)}var gL=(Fg.required=Aw,Fg);function Pg(e,t){return wu(t)}function xw(e,t){return bu(t)}var mL=(Pg.required=xw,Pg);function zg(e,t){let n=Object.create(Ug),r=new Xr;n.value=e;function o(){return Qe(n),Lg(n.value),n.value}return o[U]=n,o.asReadonly=_r.bind(o),o.set=i=>{n.equal(n.value,i)||(gt(n,i),r.emit(i))},o.update=i=>{Lg(n.value),o.set(i(n.value))},o.subscribe=r.subscribe.bind(r),o.destroyRef=r.destroyRef,o}function Lg(e){if(e===ps)throw new C(952,!1)}function jg(e,t){return zg(e,t)}function Rw(e){return zg(ps,e)}var yL=(jg.required=Rw,jg);var Ow=(()=>{class e{zone=g(W);changeDetectionScheduler=g(Te);applicationRef=g(Kr);applicationErrorHandler=g(rt);_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=_({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})(),kw=new b("",{factory:()=>!1});function Fw({ngZoneFactory:e,scheduleInRootZone:t}){return e??=()=>new W($(j({},Wg()),{scheduleInRootZone:t})),[{provide:Fn,useValue:!1},{provide:W,useFactory:e},{provide:Wt,multi:!0,useFactory:()=>{let n=g(Ow,{optional:!0});return()=>n.initialize()}},{provide:Wt,multi:!0,useFactory:()=>{let n=g(Pw);return()=>{n.initialize()}}},{provide:fi,useValue:t??Ka}]}function vL(e){let t=e?.scheduleInRootZone,n=Fw({ngZoneFactory:()=>{let r=Wg(e);return r.scheduleInRootZone=t,r.shouldCoalesceEventChangeDetection&&Oe("NgZone_CoalesceEvent"),new W(r)},scheduleInRootZone:t});return Tn([{provide:kw,useValue:!0},n])}function Wg(e){return{enableLongStackTrace:!1,shouldCoalesceEventChangeDetection:e?.eventCoalescing??!1,shouldCoalesceRunChangeDetection:e?.runCoalescing??!1}}var Pw=(()=>{class e{subscription=new z;initialized=!1;zone=g(W);pendingTasks=g(wt);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(()=>{W.assertNotInAngularZone(),queueMicrotask(()=>{n!==null&&!this.zone.hasPendingMacrotasks&&!this.zone.hasPendingMicrotasks&&(this.pendingTasks.remove(n),n=null)})}))}),this.subscription.add(this.zone.onUnstable.subscribe(()=>{W.assertInAngularZone(),n??=this.pendingTasks.add()}))}ngOnDestroy(){this.subscription.unsubscribe()}static \u0275fac=function(r){return new(r||e)};static \u0275prov=_({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();var Bu=new b(""),Lw=new b("");function eo(e){return!e.moduleRef}function jw(e){let t=eo(e)?e.r3Injector:e.moduleRef.injector,n=t.get(W);return n.run(()=>{eo(e)?e.r3Injector.resolveInjectorInitializers():e.moduleRef.resolveInjectorInitializers();let r=t.get(rt),o;if(n.runOutsideAngular(()=>{o=n.onError.subscribe({next:r})}),eo(e)){let i=()=>t.destroy(),s=e.platformInjector.get(Bu);s.add(i),t.onDestroy(()=>{o.unsubscribe(),s.delete(i)})}else{let i=()=>e.moduleRef.destroy(),s=e.platformInjector.get(Bu);s.add(i),e.moduleRef.onDestroy(()=>{Ar(e.allPlatformModules,e.moduleRef),o.unsubscribe(),s.delete(i)})}return Vw(r,n,()=>{let i=t.get(wt),s=i.add(),a=t.get(Nu);return a.runInitializers(),a.donePromise.then(()=>{let c=t.get(ls,Jr);if(Xh(c||Jr),!t.get(Lw,!0))return eo(e)?t.get(Kr):(e.allPlatformModules.push(e.moduleRef),e.moduleRef);if(eo(e)){let l=t.get(Kr);return e.rootComponent!==void 0&&l.bootstrap(e.rootComponent),l}else return Bw?.(e.moduleRef,e.allPlatformModules),e.moduleRef}).finally(()=>{i.remove(s)})})})}var Bw;function Vw(e,t,n){try{let r=n();return cs(r)?r.catch(o=>{throw t.runOutsideAngular(()=>e(o)),o}):r}catch(r){throw t.runOutsideAngular(()=>e(r)),r}}var ds=null;function Hw(e=[],t){return le.create({name:t,providers:[{provide:ba,useValue:"platform"},{provide:Bu,useValue:new Set([()=>ds=null])},...e]})}function $w(e=[]){if(ds)return ds;let t=Hw(e);return ds=t,$h(),Uw(t),t}function Uw(e){let t=e.get(np,null);Mn(e,()=>{t?.forEach(n=>n())})}var Gw=1e4;var DL=Gw-1e3;var qg=(()=>{class e{static __NG_ELEMENT_ID__=zw}return e})();function zw(e){return Ww(Z(),m(),(e&16)===16)}function Ww(e,t,n){if(Ue(e)&&!n){let r=ve(e.index,t);return new bt(r,r)}else if(e.type&175){let r=t[ce];return new bt(r,t)}return null}var Vu=class{supports(t){return Eu(t)}create(t){return new Hu(t)}},qw=(e,t)=>t,Hu=class{length=0;collection;_linkedRecords=null;_unlinkedRecords=null;_previousItHead=null;_itHead=null;_itTail=null;_additionsHead=null;_additionsTail=null;_movesHead=null;_movesTail=null;_removalsHead=null;_removalsTail=null;_identityChangesHead=null;_identityChangesTail=null;_trackByFn;constructor(t){this._trackByFn=t||qw}forEachItem(t){let n;for(n=this._itHead;n!==null;n=n._next)t(n)}forEachOperation(t){let n=this._itHead,r=this._removalsHead,o=0,i=null;for(;n||r;){let s=!r||n&&n.currentIndex<Bg(r,o,i)?n:r,a=Bg(s,o,i),c=s.currentIndex;if(s===r)o--,r=r._nextRemoved;else if(n=n._next,s.previousIndex==null)o++;else{i||(i=[]);let u=a-o,l=c-o;if(u!=l){for(let p=0;p<u;p++){let f=p<i.length?i[p]:i[p]=0,h=f+p;l<=h&&h<u&&(i[p]=f+1)}let d=s.previousIndex;i[d]=l-u}}a!==c&&t(s,a,c)}}forEachPreviousItem(t){let n;for(n=this._previousItHead;n!==null;n=n._nextPrevious)t(n)}forEachAddedItem(t){let n;for(n=this._additionsHead;n!==null;n=n._nextAdded)t(n)}forEachMovedItem(t){let n;for(n=this._movesHead;n!==null;n=n._nextMoved)t(n)}forEachRemovedItem(t){let n;for(n=this._removalsHead;n!==null;n=n._nextRemoved)t(n)}forEachIdentityChange(t){let n;for(n=this._identityChangesHead;n!==null;n=n._nextIdentityChange)t(n)}diff(t){if(t==null&&(t=[]),!Eu(t))throw new C(900,!1);return this.check(t)?this:null}onDestroy(){}check(t){this._reset();let n=this._itHead,r=!1,o,i,s;if(Array.isArray(t)){this.length=t.length;for(let a=0;a<this.length;a++)i=t[a],s=this._trackByFn(a,i),n===null||!Object.is(n.trackById,s)?(n=this._mismatch(n,i,s,a),r=!0):(r&&(n=this._verifyReinsertion(n,i,s,a)),Object.is(n.item,i)||this._addIdentityChange(n,i)),n=n._next}else o=0,mh(t,a=>{s=this._trackByFn(o,a),n===null||!Object.is(n.trackById,s)?(n=this._mismatch(n,a,s,o),r=!0):(r&&(n=this._verifyReinsertion(n,a,s,o)),Object.is(n.item,a)||this._addIdentityChange(n,a)),n=n._next,o++}),this.length=o;return this._truncate(n),this.collection=t,this.isDirty}get isDirty(){return this._additionsHead!==null||this._movesHead!==null||this._removalsHead!==null||this._identityChangesHead!==null}_reset(){if(this.isDirty){let t;for(t=this._previousItHead=this._itHead;t!==null;t=t._next)t._nextPrevious=t._next;for(t=this._additionsHead;t!==null;t=t._nextAdded)t.previousIndex=t.currentIndex;for(this._additionsHead=this._additionsTail=null,t=this._movesHead;t!==null;t=t._nextMoved)t.previousIndex=t.currentIndex;this._movesHead=this._movesTail=null,this._removalsHead=this._removalsTail=null,this._identityChangesHead=this._identityChangesTail=null}}_mismatch(t,n,r,o){let i;return t===null?i=this._itTail:(i=t._prev,this._remove(t)),t=this._unlinkedRecords===null?null:this._unlinkedRecords.get(r,null),t!==null?(Object.is(t.item,n)||this._addIdentityChange(t,n),this._reinsertAfter(t,i,o)):(t=this._linkedRecords===null?null:this._linkedRecords.get(r,o),t!==null?(Object.is(t.item,n)||this._addIdentityChange(t,n),this._moveAfter(t,i,o)):t=this._addAfter(new $u(n,r),i,o)),t}_verifyReinsertion(t,n,r,o){let i=this._unlinkedRecords===null?null:this._unlinkedRecords.get(r,null);return i!==null?t=this._reinsertAfter(i,t._prev,o):t.currentIndex!=o&&(t.currentIndex=o,this._addToMoves(t,o)),t}_truncate(t){for(;t!==null;){let n=t._next;this._addToRemovals(this._unlink(t)),t=n}this._unlinkedRecords!==null&&this._unlinkedRecords.clear(),this._additionsTail!==null&&(this._additionsTail._nextAdded=null),this._movesTail!==null&&(this._movesTail._nextMoved=null),this._itTail!==null&&(this._itTail._next=null),this._removalsTail!==null&&(this._removalsTail._nextRemoved=null),this._identityChangesTail!==null&&(this._identityChangesTail._nextIdentityChange=null)}_reinsertAfter(t,n,r){this._unlinkedRecords!==null&&this._unlinkedRecords.remove(t);let o=t._prevRemoved,i=t._nextRemoved;return o===null?this._removalsHead=i:o._nextRemoved=i,i===null?this._removalsTail=o:i._prevRemoved=o,this._insertAfter(t,n,r),this._addToMoves(t,r),t}_moveAfter(t,n,r){return this._unlink(t),this._insertAfter(t,n,r),this._addToMoves(t,r),t}_addAfter(t,n,r){return this._insertAfter(t,n,r),this._additionsTail===null?this._additionsTail=this._additionsHead=t:this._additionsTail=this._additionsTail._nextAdded=t,t}_insertAfter(t,n,r){let o=n===null?this._itHead:n._next;return t._next=o,t._prev=n,o===null?this._itTail=t:o._prev=t,n===null?this._itHead=t:n._next=t,this._linkedRecords===null&&(this._linkedRecords=new fs),this._linkedRecords.put(t),t.currentIndex=r,t}_remove(t){return this._addToRemovals(this._unlink(t))}_unlink(t){this._linkedRecords!==null&&this._linkedRecords.remove(t);let n=t._prev,r=t._next;return n===null?this._itHead=r:n._next=r,r===null?this._itTail=n:r._prev=n,t}_addToMoves(t,n){return t.previousIndex===n||(this._movesTail===null?this._movesTail=this._movesHead=t:this._movesTail=this._movesTail._nextMoved=t),t}_addToRemovals(t){return this._unlinkedRecords===null&&(this._unlinkedRecords=new fs),this._unlinkedRecords.put(t),t.currentIndex=null,t._nextRemoved=null,this._removalsTail===null?(this._removalsTail=this._removalsHead=t,t._prevRemoved=null):(t._prevRemoved=this._removalsTail,this._removalsTail=this._removalsTail._nextRemoved=t),t}_addIdentityChange(t,n){return t.item=n,this._identityChangesTail===null?this._identityChangesTail=this._identityChangesHead=t:this._identityChangesTail=this._identityChangesTail._nextIdentityChange=t,t}},$u=class{item;trackById;currentIndex=null;previousIndex=null;_nextPrevious=null;_prev=null;_next=null;_prevDup=null;_nextDup=null;_prevRemoved=null;_nextRemoved=null;_nextAdded=null;_nextMoved=null;_nextIdentityChange=null;constructor(t,n){this.item=t,this.trackById=n}},Uu=class{_head=null;_tail=null;add(t){this._head===null?(this._head=this._tail=t,t._nextDup=null,t._prevDup=null):(this._tail._nextDup=t,t._prevDup=this._tail,t._nextDup=null,this._tail=t)}get(t,n){let r;for(r=this._head;r!==null;r=r._nextDup)if((n===null||n<=r.currentIndex)&&Object.is(r.trackById,t))return r;return null}remove(t){let n=t._prevDup,r=t._nextDup;return n===null?this._head=r:n._nextDup=r,r===null?this._tail=n:r._prevDup=n,this._head===null}},fs=class{map=new Map;put(t){let n=t.trackById,r=this.map.get(n);r||(r=new Uu,this.map.set(n,r)),r.add(t)}get(t,n){let r=t,o=this.map.get(r);return o?o.get(t,n):null}remove(t){let n=t.trackById;return this.map.get(n).remove(t)&&this.map.delete(n),t}get isEmpty(){return this.map.size===0}clear(){this.map.clear()}};function Bg(e,t,n){let r=e.previousIndex;if(r===null)return r;let o=0;return n&&r<n.length&&(o=n[r]),r+t+o}var Gu=class{supports(t){return t instanceof Map||is(t)}create(){return new zu}},zu=class{_records=new Map;_mapHead=null;_appendAfter=null;_previousMapHead=null;_changesHead=null;_changesTail=null;_additionsHead=null;_additionsTail=null;_removalsHead=null;get isDirty(){return this._additionsHead!==null||this._changesHead!==null||this._removalsHead!==null}forEachItem(t){let n;for(n=this._mapHead;n!==null;n=n._next)t(n)}forEachPreviousItem(t){let n;for(n=this._previousMapHead;n!==null;n=n._nextPrevious)t(n)}forEachChangedItem(t){let n;for(n=this._changesHead;n!==null;n=n._nextChanged)t(n)}forEachAddedItem(t){let n;for(n=this._additionsHead;n!==null;n=n._nextAdded)t(n)}forEachRemovedItem(t){let n;for(n=this._removalsHead;n!==null;n=n._nextRemoved)t(n)}diff(t){if(!t)t=new Map;else if(!(t instanceof Map||is(t)))throw new C(900,!1);return this.check(t)?this:null}check(t){this._reset();let n=this._mapHead;if(this._appendAfter=null,this._forEach(t,(r,o)=>{if(n&&n.key===o)this._maybeAddToChanges(n,r),this._appendAfter=n,n=n._next;else{let i=this._getOrCreateRecordForKey(o,r);n=this._insertBeforeOrAppend(n,i)}}),n){n._prev&&(n._prev._next=null),this._removalsHead=n;for(let r=n;r!==null;r=r._nextRemoved)r===this._mapHead&&(this._mapHead=null),this._records.delete(r.key),r._nextRemoved=r._next,r.previousValue=r.currentValue,r.currentValue=null,r._prev=null,r._next=null}return this._changesTail&&(this._changesTail._nextChanged=null),this._additionsTail&&(this._additionsTail._nextAdded=null),this.isDirty}_insertBeforeOrAppend(t,n){if(t){let r=t._prev;return n._next=t,n._prev=r,t._prev=n,r&&(r._next=n),t===this._mapHead&&(this._mapHead=n),this._appendAfter=t,t}return this._appendAfter?(this._appendAfter._next=n,n._prev=this._appendAfter):this._mapHead=n,this._appendAfter=n,null}_getOrCreateRecordForKey(t,n){if(this._records.has(t)){let o=this._records.get(t);this._maybeAddToChanges(o,n);let i=o._prev,s=o._next;return i&&(i._next=s),s&&(s._prev=i),o._next=null,o._prev=null,o}let r=new Wu(t);return this._records.set(t,r),r.currentValue=n,this._addToAdditions(r),r}_reset(){if(this.isDirty){let t;for(this._previousMapHead=this._mapHead,t=this._previousMapHead;t!==null;t=t._next)t._nextPrevious=t._next;for(t=this._changesHead;t!==null;t=t._nextChanged)t.previousValue=t.currentValue;for(t=this._additionsHead;t!=null;t=t._nextAdded)t.previousValue=t.currentValue;this._changesHead=this._changesTail=null,this._additionsHead=this._additionsTail=null,this._removalsHead=null}}_maybeAddToChanges(t,n){Object.is(n,t.currentValue)||(t.previousValue=t.currentValue,t.currentValue=n,this._addToChanges(t))}_addToAdditions(t){this._additionsHead===null?this._additionsHead=this._additionsTail=t:(this._additionsTail._nextAdded=t,this._additionsTail=t)}_addToChanges(t){this._changesHead===null?this._changesHead=this._changesTail=t:(this._changesTail._nextChanged=t,this._changesTail=t)}_forEach(t,n){t instanceof Map?t.forEach(n):Object.keys(t).forEach(r=>n(t[r],r))}},Wu=class{key;previousValue=null;currentValue=null;_nextPrevious=null;_next=null;_prev=null;_nextAdded=null;_nextRemoved=null;_nextChanged=null;constructor(t){this.key=t}};function Vg(){return new Zu([new Vu])}var Zu=(()=>{class e{factories;static \u0275prov=_({token:e,providedIn:"root",factory:Vg});constructor(n){this.factories=n}static create(n,r){if(r!=null){let o=r.factories.slice();n=n.concat(o)}return new e(n)}static extend(n){return{provide:e,useFactory:()=>{let r=g(e,{optional:!0,skipSelf:!0});return e.create(n,r||Vg())}}}find(n){let r=this.factories.find(o=>o.supports(n));if(r!=null)return r;throw new C(901,!1)}}return e})();function Hg(){return new Qu([new Gu])}var Qu=(()=>{class e{static \u0275prov=_({token:e,providedIn:"root",factory:Hg});factories;constructor(n){this.factories=n}static create(n,r){if(r){let o=r.factories.slice();n=n.concat(o)}return new e(n)}static extend(n){return{provide:e,useFactory:()=>{let r=g(e,{optional:!0,skipSelf:!0});return e.create(n,r||Hg())}}}find(n){let r=this.factories.find(o=>o.supports(n));if(r)return r;throw new C(901,!1)}}return e})();function EL(e){let{rootComponent:t,appProviders:n,platformProviders:r,platformRef:o}=e;F(x.BootstrapApplicationStart);try{let i=o?.injector??$w(r),s=[Ag(),Vd,...n||[]],a=new jr({providers:s,parent:i,debugName:"",runEnvironmentInitializers:!1});return jw({r3Injector:a.injector,platformInjector:i,rootComponent:t})}catch(i){return Promise.reject(i)}finally{F(x.BootstrapApplicationEnd)}}function Zw(e){return typeof e=="boolean"?e:e!=null&&e!=="false"}function Qw(e,t=NaN){return!isNaN(parseFloat(e))&&!isNaN(Number(e))?Number(e):t}var ju=Symbol("NOT_SET"),Zg=new Set,Yw=$(j({},rr),{kind:"afterRenderEffectPhase",consumerIsAlwaysLive:!0,consumerAllowSignalWrites:!0,value:ju,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!==ju&&!dn(this))return this.signal;try{for(let o of this.cleanup??Zg)o()}finally{this.cleanup?.clear()}let t=[];e!==void 0&&t.push(e),t.push(this.registerCleanupFn);let n=Ye(this),r;try{r=this.userFn.apply(null,t)}finally{pt(this,n)}return(this.value===ju||!this.equal(this.value,r))&&(this.value=r,this.version++),this.signal}}),qu=class extends kr{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(Ie),s),this.scheduler=o;for(let a of cu){let c=n[a];if(c===void 0)continue;let u=Object.create(Yw);u.sequence=this,u.phase=a,u.userFn=c,u.dirty=!0,u.signal=()=>(Qe(u),u.value),u.signal[U]=u,u.registerCleanupFn=l=>(u.cleanup??=new Set).add(l),this.nodes[a]=u,this.hooks[a]=l=>u.phaseFn(l)}}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??Zg)n()}finally{ht(t)}}};function IL(e,t){let n=t?.injector??g(le),r=n.get(Te),o=n.get(Ki),i=n.get(at,null,{optional:!0});o.impl??=n.get(uu);let s=e;typeof s=="function"&&(s={mixedReadWrite:e});let a=n.get(kn,null,{optional:!0}),c=new qu(o.impl,[s.earlyRead,s.write,s.mixedReadWrite,s.read],a?.view,r,n,i?.snapshot(null));return o.impl.register(c),c}function CL(e,t){let n=Be(e),r=t.elementInjector||_n();return new _t(n).create(r,t.projectableNodes,t.hostElement,t.environmentInjector,t.directives,t.bindings)}function wL(e){let t=Be(e);if(!t)return null;let n=new _t(t);return{get selector(){return n.selector},get type(){return n.componentType},get inputs(){return n.inputs},get outputs(){return n.outputs},get ngContentSelectors(){return n.ngContentSelectors},get isStandalone(){return t.standalone},get isSignal(){return t.signals}}}function Yu(e,t){t=encodeURIComponent(t);for(let n of e.split(";")){let r=n.indexOf("="),[o,i]=r==-1?[n,""]:[n.slice(0,r),n.slice(r+1)];if(o.trim()===t)return decodeURIComponent(i)}return null}var no=class{};var Qg=null;function hs(){return Qg}function Kw(e){Qg??=e}var Ku=class{},At=(()=>{class e{historyGo(n){throw new Error("")}static \u0275fac=function(r){return new(r||e)};static \u0275prov=_({token:e,factory:()=>g(Yg),providedIn:"platform"})}return e})(),Jw=new b(""),Yg=(()=>{class e extends At{_location;_history;_doc=g(Ee);constructor(){super(),this._location=window.location,this._history=window.history}getBaseHrefFromDOM(){return hs().getBaseHref(this._doc)}onPopState(n){let r=hs().getGlobalEventTarget(this._doc,"window");return r.addEventListener("popstate",n,!1),()=>r.removeEventListener("popstate",n)}onHashChange(n){let r=hs().getGlobalEventTarget(this._doc,"window");return r.addEventListener("hashchange",n,!1),()=>r.removeEventListener("hashchange",n)}get href(){return this._location.href}get protocol(){return this._location.protocol}get hostname(){return this._location.hostname}get port(){return this._location.port}get pathname(){return this._location.pathname}get search(){return this._location.search}get hash(){return this._location.hash}set pathname(n){this._location.pathname=n}pushState(n,r,o){this._history.pushState(n,r,o)}replaceState(n,r,o){this._history.replaceState(n,r,o)}forward(){this._history.forward()}back(){this._history.back()}historyGo(n=0){this._history.go(n)}getState(){return this._history.state}static \u0275fac=function(r){return new(r||e)};static \u0275prov=_({token:e,factory:()=>new e,providedIn:"platform"})}return e})();var qe=class e{headers;normalizedNames=new Map;lazyInit;lazyUpdate=null;constructor(t){t?typeof t=="string"?this.lazyInit=()=>{this.headers=new Map,t.split(`
|
|
5
|
+
`).forEach(n=>{let r=n.indexOf(":");if(r>0){let o=n.slice(0,r),i=n.slice(r+1).trim();this.addHeaderEntry(o,i)}})}:typeof Headers<"u"&&t instanceof Headers?(this.headers=new Map,t.forEach((n,r)=>{this.addHeaderEntry(r,n)})):this.lazyInit=()=>{this.headers=new Map,Object.entries(t).forEach(([n,r])=>{this.setHeaderEntries(n,r)})}:this.headers=new Map}has(t){return this.init(),this.headers.has(t.toLowerCase())}get(t){this.init();let n=this.headers.get(t.toLowerCase());return n&&n.length>0?n[0]:null}keys(){return this.init(),Array.from(this.normalizedNames.values())}getAll(t){return this.init(),this.headers.get(t.toLowerCase())||null}append(t,n){return this.clone({name:t,value:n,op:"a"})}set(t,n){return this.clone({name:t,value:n,op:"s"})}delete(t,n){return this.clone({name:t,value:n,op:"d"})}maybeSetNormalizedName(t,n){this.normalizedNames.has(n)||this.normalizedNames.set(n,t)}init(){this.lazyInit&&(this.lazyInit instanceof e?this.copyFrom(this.lazyInit):this.lazyInit(),this.lazyInit=null,this.lazyUpdate&&(this.lazyUpdate.forEach(t=>this.applyUpdate(t)),this.lazyUpdate=null))}copyFrom(t){t.init(),Array.from(t.headers.keys()).forEach(n=>{this.headers.set(n,t.headers.get(n)),this.normalizedNames.set(n,t.normalizedNames.get(n))})}clone(t){let n=new e;return n.lazyInit=this.lazyInit&&this.lazyInit instanceof e?this.lazyInit:this,n.lazyUpdate=(this.lazyUpdate||[]).concat([t]),n}applyUpdate(t){let n=t.name.toLowerCase();switch(t.op){case"a":case"s":let r=t.value;if(typeof r=="string"&&(r=[r]),r.length===0)return;this.maybeSetNormalizedName(t.name,n);let o=(t.op==="a"?this.headers.get(n):void 0)||[];o.push(...r),this.headers.set(n,o);break;case"d":let i=t.value;if(!i)this.headers.delete(n),this.normalizedNames.delete(n);else{let s=this.headers.get(n);if(!s)return;s=s.filter(a=>i.indexOf(a)===-1),s.length===0?(this.headers.delete(n),this.normalizedNames.delete(n)):this.headers.set(n,s)}break}}addHeaderEntry(t,n){let r=t.toLowerCase();this.maybeSetNormalizedName(t,r),this.headers.has(r)?this.headers.get(r).push(n):this.headers.set(r,[n])}setHeaderEntries(t,n){let r=(Array.isArray(n)?n:[n]).map(i=>i.toString()),o=t.toLowerCase();this.headers.set(o,r),this.maybeSetNormalizedName(t,o)}forEach(t){this.init(),Array.from(this.normalizedNames.keys()).forEach(n=>t(this.normalizedNames.get(n),this.headers.get(n)))}};var ys=class{map=new Map;set(t,n){return this.map.set(t,n),this}get(t){return this.map.has(t)||this.map.set(t,t.defaultValue()),this.map.get(t)}delete(t){return this.map.delete(t),this}has(t){return this.map.has(t)}keys(){return this.map.keys()}},vs=class{encodeKey(t){return Kg(t)}encodeValue(t){return Kg(t)}decodeKey(t){return decodeURIComponent(t)}decodeValue(t){return decodeURIComponent(t)}};function Xw(e,t){let n=new Map;return e.length>0&&e.replace(/^\?/,"").split("&").forEach(o=>{let i=o.indexOf("="),[s,a]=i==-1?[t.decodeKey(o),""]:[t.decodeKey(o.slice(0,i)),t.decodeValue(o.slice(i+1))],c=n.get(s)||[];c.push(a),n.set(s,c)}),n}var eb=/%(\d[a-f0-9])/gi,tb={40:"@","3A":":",24:"$","2C":",","3B":";","3D":"=","3F":"?","2F":"/"};function Kg(e){return encodeURIComponent(e).replace(eb,(t,n)=>tb[n]??t)}function gs(e){return`${e}`}var ct=class e{map;encoder;updates=null;cloneFrom=null;constructor(t={}){if(this.encoder=t.encoder||new vs,t.fromString){if(t.fromObject)throw new C(2805,!1);this.map=Xw(t.fromString,this.encoder)}else t.fromObject?(this.map=new Map,Object.keys(t.fromObject).forEach(n=>{let r=t.fromObject[n],o=Array.isArray(r)?r.map(gs):[gs(r)];this.map.set(n,o)})):this.map=null}has(t){return this.init(),this.map.has(t)}get(t){this.init();let n=this.map.get(t);return n?n[0]:null}getAll(t){return this.init(),this.map.get(t)||null}keys(){return this.init(),Array.from(this.map.keys())}append(t,n){return this.clone({param:t,value:n,op:"a"})}appendAll(t){let n=[];return Object.keys(t).forEach(r=>{let o=t[r];Array.isArray(o)?o.forEach(i=>{n.push({param:r,value:i,op:"a"})}):n.push({param:r,value:o,op:"a"})}),this.clone(n)}set(t,n){return this.clone({param:t,value:n,op:"s"})}delete(t,n){return this.clone({param:t,value:n,op:"d"})}toString(){return this.init(),this.keys().map(t=>{let n=this.encoder.encodeKey(t);return this.map.get(t).map(r=>n+"="+this.encoder.encodeValue(r)).join("&")}).filter(t=>t!=="").join("&")}clone(t){let n=new e({encoder:this.encoder});return n.cloneFrom=this.cloneFrom||this,n.updates=(this.updates||[]).concat(t),n}init(){this.map===null&&(this.map=new Map),this.cloneFrom!==null&&(this.cloneFrom.init(),this.cloneFrom.keys().forEach(t=>this.map.set(t,this.cloneFrom.map.get(t))),this.updates.forEach(t=>{switch(t.op){case"a":case"s":let n=(t.op==="a"?this.map.get(t.param):void 0)||[];n.push(gs(t.value)),this.map.set(t.param,n);break;case"d":if(t.value!==void 0){let r=this.map.get(t.param)||[],o=r.indexOf(gs(t.value));o!==-1&&r.splice(o,1),r.length>0?this.map.set(t.param,r):this.map.delete(t.param)}else{this.map.delete(t.param);break}}}),this.cloneFrom=this.updates=null)}};function nb(e){switch(e){case"DELETE":case"GET":case"HEAD":case"OPTIONS":case"JSONP":return!1;default:return!0}}function Jg(e){return typeof ArrayBuffer<"u"&&e instanceof ArrayBuffer}function Xg(e){return typeof Blob<"u"&&e instanceof Blob}function em(e){return typeof FormData<"u"&&e instanceof FormData}function rb(e){return typeof URLSearchParams<"u"&&e instanceof URLSearchParams}var ro="Content-Type",Ds="Accept",tm="text/plain",nm="application/json",rm=`${nm}, ${tm}, */*`,Qn=class e{url;body=null;headers;context;reportProgress=!1;withCredentials=!1;credentials;keepalive=!1;cache;priority;mode;redirect;referrer;integrity;referrerPolicy;responseType="json";method;params;urlWithParams;transferCache;timeout;constructor(t,n,r,o){this.url=n,this.method=t.toUpperCase();let i;if(nb(this.method)||o?(this.body=r!==void 0?r:null,i=o):i=r,i){if(this.reportProgress=!!i.reportProgress,this.withCredentials=!!i.withCredentials,this.keepalive=!!i.keepalive,i.responseType&&(this.responseType=i.responseType),i.headers&&(this.headers=i.headers),i.context&&(this.context=i.context),i.params&&(this.params=i.params),i.priority&&(this.priority=i.priority),i.cache&&(this.cache=i.cache),i.credentials&&(this.credentials=i.credentials),typeof i.timeout=="number"){if(i.timeout<1||!Number.isInteger(i.timeout))throw new C(2822,"");this.timeout=i.timeout}i.mode&&(this.mode=i.mode),i.redirect&&(this.redirect=i.redirect),i.integrity&&(this.integrity=i.integrity),i.referrer&&(this.referrer=i.referrer),i.referrerPolicy&&(this.referrerPolicy=i.referrerPolicy),this.transferCache=i.transferCache}if(this.headers??=new qe,this.context??=new ys,!this.params)this.params=new ct,this.urlWithParams=n;else{let s=this.params.toString();if(s.length===0)this.urlWithParams=n;else{let a=n.indexOf("?"),c=a===-1?"?":a<n.length-1?"&":"";this.urlWithParams=n+c+s}}}serializeBody(){return this.body===null?null:typeof this.body=="string"||Jg(this.body)||Xg(this.body)||em(this.body)||rb(this.body)?this.body:this.body instanceof ct?this.body.toString():typeof this.body=="object"||typeof this.body=="boolean"||Array.isArray(this.body)?JSON.stringify(this.body):this.body.toString()}detectContentTypeHeader(){return this.body===null||em(this.body)?null:Xg(this.body)?this.body.type||null:Jg(this.body)?null:typeof this.body=="string"?tm:this.body instanceof ct?"application/x-www-form-urlencoded;charset=UTF-8":typeof this.body=="object"||typeof this.body=="number"||typeof this.body=="boolean"?nm:null}clone(t={}){let n=t.method||this.method,r=t.url||this.url,o=t.responseType||this.responseType,i=t.keepalive??this.keepalive,s=t.priority||this.priority,a=t.cache||this.cache,c=t.mode||this.mode,u=t.redirect||this.redirect,l=t.credentials||this.credentials,d=t.referrer||this.referrer,p=t.integrity||this.integrity,f=t.referrerPolicy||this.referrerPolicy,h=t.transferCache??this.transferCache,E=t.timeout??this.timeout,v=t.body!==void 0?t.body:this.body,I=t.withCredentials??this.withCredentials,Q=t.reportProgress??this.reportProgress,pe=t.headers||this.headers,H=t.params||this.params,lt=t.context??this.context;return t.setHeaders!==void 0&&(pe=Object.keys(t.setHeaders).reduce((dt,Ze)=>dt.set(Ze,t.setHeaders[Ze]),pe)),t.setParams&&(H=Object.keys(t.setParams).reduce((dt,Ze)=>dt.set(Ze,t.setParams[Ze]),H)),new e(n,r,v,{params:H,headers:pe,context:lt,reportProgress:Q,responseType:o,withCredentials:I,transferCache:h,keepalive:i,cache:a,priority:s,timeout:E,mode:c,redirect:u,credentials:l,referrer:d,integrity:p,referrerPolicy:f})}},ut=(function(e){return e[e.Sent=0]="Sent",e[e.UploadProgress=1]="UploadProgress",e[e.ResponseHeader=2]="ResponseHeader",e[e.DownloadProgress=3]="DownloadProgress",e[e.Response=4]="Response",e[e.User=5]="User",e})(ut||{}),Yn=class{headers;status;statusText;url;ok;type;redirected;responseType;constructor(t,n=200,r="OK"){this.headers=t.headers||new qe,this.status=t.status!==void 0?t.status:n,this.statusText=t.statusText||r,this.url=t.url||null,this.redirected=t.redirected,this.responseType=t.responseType,this.ok=this.status>=200&&this.status<300}},oo=class e extends Yn{constructor(t={}){super(t)}type=ut.ResponseHeader;clone(t={}){return new e({headers:t.headers||this.headers,status:t.status!==void 0?t.status:this.status,statusText:t.statusText||this.statusText,url:t.url||this.url||void 0})}},Kn=class e extends Yn{body;constructor(t={}){super(t),this.body=t.body!==void 0?t.body:null}type=ut.Response;clone(t={}){return new e({body:t.body!==void 0?t.body:this.body,headers:t.headers||this.headers,status:t.status!==void 0?t.status:this.status,statusText:t.statusText||this.statusText,url:t.url||this.url||void 0,redirected:t.redirected??this.redirected,responseType:t.responseType??this.responseType})}},We=class extends Yn{name="HttpErrorResponse";message;error;ok=!1;constructor(t){super(t,0,"Unknown Error"),this.status>=200&&this.status<300?this.message=`Http failure during parsing for ${t.url||"(unknown url)"}`:this.message=`Http failure response for ${t.url||"(unknown url)"}: ${t.status} ${t.statusText}`,this.error=t.error||null}},om=200,ob=204;var ib=/^\)\]\}',?\n/,im=new b(""),ms=(()=>{class e{fetchImpl=g(Xu,{optional:!0})?.fetch??((...n)=>globalThis.fetch(...n));ngZone=g(W);destroyRef=g(Ie);handle(n){return new S(r=>{let o=new AbortController;this.doRequest(n,o.signal,r).then(el,s=>r.error(new We({error:s})));let i;return n.timeout&&(i=this.ngZone.runOutsideAngular(()=>setTimeout(()=>{o.signal.aborted||o.abort(new DOMException("signal timed out","TimeoutError"))},n.timeout))),()=>{i!==void 0&&clearTimeout(i),o.abort()}})}doRequest(n,r,o){return un(this,null,function*(){let i=this.createRequestInit(n),s;try{let E=this.ngZone.runOutsideAngular(()=>this.fetchImpl(n.urlWithParams,j({signal:r},i)));sb(E),o.next({type:ut.Sent}),s=yield E}catch(E){o.error(new We({error:E,status:E.status??0,statusText:E.statusText,url:n.urlWithParams,headers:E.headers}));return}let a=new qe(s.headers),c=s.statusText,u=s.url||n.urlWithParams,l=s.status,d=null;if(n.reportProgress&&o.next(new oo({headers:a,status:l,statusText:c,url:u})),s.body){let E=s.headers.get("content-length"),v=[],I=s.body.getReader(),Q=0,pe,H,lt=typeof Zone<"u"&&Zone.current,dt=!1;if(yield this.ngZone.runOutsideAngular(()=>un(this,null,function*(){for(;;){if(this.destroyRef.destroyed){yield I.cancel(),dt=!0;break}let{done:Xn,value:Ms}=yield I.read();if(Xn)break;if(v.push(Ms),Q+=Ms.length,n.reportProgress){H=n.responseType==="text"?(H??"")+(pe??=new TextDecoder).decode(Ms,{stream:!0}):void 0;let sl=()=>o.next({type:ut.DownloadProgress,total:E?+E:void 0,loaded:Q,partialText:H});lt?lt.run(sl):sl()}}})),dt){o.complete();return}let Ze=this.concatChunks(v,Q);try{let Xn=s.headers.get(ro)??"";d=this.parseBody(n,Ze,Xn,l)}catch(Xn){o.error(new We({error:Xn,headers:new qe(s.headers),status:s.status,statusText:s.statusText,url:s.url||n.urlWithParams}));return}}l===0&&(l=d?om:0);let p=l>=200&&l<300,f=s.redirected,h=s.type;p?(o.next(new Kn({body:d,headers:a,status:l,statusText:c,url:u,redirected:f,responseType:h})),o.complete()):o.error(new We({error:d,headers:a,status:l,statusText:c,url:u,redirected:f,responseType:h}))})}parseBody(n,r,o,i){switch(n.responseType){case"json":let s=new TextDecoder().decode(r).replace(ib,"");if(s==="")return null;try{return JSON.parse(s)}catch(a){if(i<200||i>=300)return s;throw a}case"text":return new TextDecoder().decode(r);case"blob":return new Blob([r],{type:o});case"arraybuffer":return r.buffer}}createRequestInit(n){let r={},o;if(o=n.credentials,n.withCredentials&&(o="include"),n.headers.forEach((i,s)=>r[i]=s.join(",")),n.headers.has(Ds)||(r[Ds]=rm),!n.headers.has(ro)){let i=n.detectContentTypeHeader();i!==null&&(r[ro]=i)}return{body:n.serializeBody(),method:n.method,headers:r,credentials:o,keepalive:n.keepalive,cache:n.cache,priority:n.priority,mode:n.mode,redirect:n.redirect,referrer:n.referrer,integrity:n.integrity,referrerPolicy:n.referrerPolicy}}concatChunks(n,r){let o=new Uint8Array(r),i=0;for(let s of n)o.set(s,i),i+=s.length;return o}static \u0275fac=function(r){return new(r||e)};static \u0275prov=_({token:e,factory:e.\u0275fac})}return e})(),Xu=class{};function el(){}function sb(e){e.then(el,el)}var ab=/^\)\]\}',?\n/;var tl=(()=>{class e{xhrFactory;tracingService=g(at,{optional:!0});constructor(n){this.xhrFactory=n}maybePropagateTrace(n){return this.tracingService?.propagate?this.tracingService.propagate(n):n}handle(n){if(n.method==="JSONP")throw new C(-2800,!1);let r=this.xhrFactory;return Oo(null).pipe(Qs(()=>new S(i=>{let s=r.build();if(s.open(n.method,n.urlWithParams),n.withCredentials&&(s.withCredentials=!0),n.headers.forEach((v,I)=>s.setRequestHeader(v,I.join(","))),n.headers.has(Ds)||s.setRequestHeader(Ds,rm),!n.headers.has(ro)){let v=n.detectContentTypeHeader();v!==null&&s.setRequestHeader(ro,v)}if(n.timeout&&(s.timeout=n.timeout),n.responseType){let v=n.responseType.toLowerCase();s.responseType=v!=="json"?v:"text"}let a=n.serializeBody(),c=null,u=()=>{if(c!==null)return c;let v=s.statusText||"OK",I=new qe(s.getAllResponseHeaders()),Q=s.responseURL||n.url;return c=new oo({headers:I,status:s.status,statusText:v,url:Q}),c},l=this.maybePropagateTrace(()=>{let{headers:v,status:I,statusText:Q,url:pe}=u(),H=null;I!==ob&&(H=typeof s.response>"u"?s.responseText:s.response),I===0&&(I=H?om:0);let lt=I>=200&&I<300;if(n.responseType==="json"&&typeof H=="string"){let dt=H;H=H.replace(ab,"");try{H=H!==""?JSON.parse(H):null}catch(Ze){H=dt,lt&&(lt=!1,H={error:Ze,text:H})}}lt?(i.next(new Kn({body:H,headers:v,status:I,statusText:Q,url:pe||void 0})),i.complete()):i.error(new We({error:H,headers:v,status:I,statusText:Q,url:pe||void 0}))}),d=this.maybePropagateTrace(v=>{let{url:I}=u(),Q=new We({error:v,status:s.status||0,statusText:s.statusText||"Unknown Error",url:I||void 0});i.error(Q)}),p=d;n.timeout&&(p=this.maybePropagateTrace(v=>{let{url:I}=u(),Q=new We({error:new DOMException("Request timed out","TimeoutError"),status:s.status||0,statusText:s.statusText||"Request timeout",url:I||void 0});i.error(Q)}));let f=!1,h=this.maybePropagateTrace(v=>{f||(i.next(u()),f=!0);let I={type:ut.DownloadProgress,loaded:v.loaded};v.lengthComputable&&(I.total=v.total),n.responseType==="text"&&s.responseText&&(I.partialText=s.responseText),i.next(I)}),E=this.maybePropagateTrace(v=>{let I={type:ut.UploadProgress,loaded:v.loaded};v.lengthComputable&&(I.total=v.total),i.next(I)});return s.addEventListener("load",l),s.addEventListener("error",d),s.addEventListener("timeout",p),s.addEventListener("abort",d),n.reportProgress&&(s.addEventListener("progress",h),a!==null&&s.upload&&s.upload.addEventListener("progress",E)),s.send(a),i.next({type:ut.Sent}),()=>{s.removeEventListener("error",d),s.removeEventListener("abort",d),s.removeEventListener("load",l),s.removeEventListener("timeout",p),n.reportProgress&&(s.removeEventListener("progress",h),a!==null&&s.upload&&s.upload.removeEventListener("progress",E)),s.readyState!==s.DONE&&s.abort()}})))}static \u0275fac=function(r){return new(r||e)(P(no))};static \u0275prov=_({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();function cb(e,t){return t(e)}function ub(e,t,n){return(r,o)=>Mn(n,()=>t(r,i=>e(i,o)))}var sm=new b("",{factory:()=>[]}),am=new b(""),cm=new b("",{factory:()=>!0});var Is=(()=>{class e{static \u0275fac=function(r){return new(r||e)};static \u0275prov=_({token:e,factory:function(r){let o=null;return r?o=new(r||e):o=P(tl),o},providedIn:"root"})}return e})();var Es=(()=>{class e{backend;injector;chain=null;pendingTasks=g(Mr);contributeToStability=g(cm);constructor(n,r){this.backend=n,this.injector=r}handle(n){if(this.chain===null){let r=Array.from(new Set([...this.injector.get(sm),...this.injector.get(am,[])]));this.chain=r.reduceRight((o,i)=>ub(o,i,this.injector),cb)}if(this.contributeToStability){let r=this.pendingTasks.add();return this.chain(n,o=>this.backend.handle(o)).pipe(Zs(r))}else return this.chain(n,r=>this.backend.handle(r))}static \u0275fac=function(r){return new(r||e)(P(Is),P(ie))};static \u0275prov=_({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})(),nl=(()=>{class e{static \u0275fac=function(r){return new(r||e)};static \u0275prov=_({token:e,factory:function(r){let o=null;return r?o=new(r||e):o=P(Es),o},providedIn:"root"})}return e})();function Ju(e,t){return{body:t,headers:e.headers,context:e.context,observe:e.observe,params:e.params,reportProgress:e.reportProgress,responseType:e.responseType,withCredentials:e.withCredentials,credentials:e.credentials,transferCache:e.transferCache,timeout:e.timeout,keepalive:e.keepalive,priority:e.priority,cache:e.cache,mode:e.mode,redirect:e.redirect,integrity:e.integrity,referrer:e.referrer,referrerPolicy:e.referrerPolicy}}var Cs=(()=>{class e{handler;constructor(n){this.handler=n}request(n,r,o={}){let i;if(n instanceof Qn)i=n;else{let c;o.headers instanceof qe?c=o.headers:c=new qe(o.headers);let u;o.params&&(o.params instanceof ct?u=o.params:u=new ct({fromObject:o.params})),i=new Qn(n,r,o.body!==void 0?o.body:null,{headers:c,context:o.context,params:u,reportProgress:o.reportProgress,responseType:o.responseType||"json",withCredentials:o.withCredentials,transferCache:o.transferCache,keepalive:o.keepalive,priority:o.priority,cache:o.cache,mode:o.mode,redirect:o.redirect,credentials:o.credentials,referrer:o.referrer,referrerPolicy:o.referrerPolicy,integrity:o.integrity,timeout:o.timeout})}let s=Oo(i).pipe(Ws(c=>this.handler.handle(c)));if(n instanceof Qn||o.observe==="events")return s;let a=s.pipe(ur(c=>c instanceof Kn));switch(o.observe||"body"){case"body":switch(i.responseType){case"arraybuffer":return a.pipe(he(c=>{if(c.body!==null&&!(c.body instanceof ArrayBuffer))throw new C(2806,!1);return c.body}));case"blob":return a.pipe(he(c=>{if(c.body!==null&&!(c.body instanceof Blob))throw new C(2807,!1);return c.body}));case"text":return a.pipe(he(c=>{if(c.body!==null&&typeof c.body!="string")throw new C(2808,!1);return c.body}));default:return a.pipe(he(c=>c.body))}case"response":return a;default:throw new C(2809,!1)}}delete(n,r={}){return this.request("DELETE",n,r)}get(n,r={}){return this.request("GET",n,r)}head(n,r={}){return this.request("HEAD",n,r)}jsonp(n,r){return this.request("JSONP",n,{params:new ct().append(r,"JSONP_CALLBACK"),observe:"body",responseType:"json"})}options(n,r={}){return this.request("OPTIONS",n,r)}patch(n,r,o={}){return this.request("PATCH",n,Ju(o,r))}post(n,r,o={}){return this.request("POST",n,Ju(o,r))}put(n,r,o={}){return this.request("PUT",n,Ju(o,r))}static \u0275fac=function(r){return new(r||e)(P(nl))};static \u0275prov=_({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();var lb=new b("",{factory:()=>!0}),db="XSRF-TOKEN",fb=new b("",{factory:()=>db}),pb="X-XSRF-TOKEN",hb=new b("",{factory:()=>pb}),gb=(()=>{class e{cookieName=g(fb);doc=g(Ee);lastCookieString="";lastToken=null;parseCount=0;getToken(){let n=this.doc.cookie||"";return n!==this.lastCookieString&&(this.parseCount++,this.lastToken=Yu(n,this.cookieName),this.lastCookieString=n),this.lastToken}static \u0275fac=function(r){return new(r||e)};static \u0275prov=_({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})(),um=(()=>{class e{static \u0275fac=function(r){return new(r||e)};static \u0275prov=_({token:e,factory:function(r){let o=null;return r?o=new(r||e):o=P(gb),o},providedIn:"root"})}return e})();function mb(e,t){if(!g(lb)||e.method==="GET"||e.method==="HEAD")return t(e);try{let o=g(At).href,{origin:i}=new URL(o),{origin:s}=new URL(e.url,i);if(i!==s)return t(e)}catch(o){return t(e)}let n=g(um).getToken(),r=g(hb);return n!=null&&!e.headers.has(r)&&(e=e.clone({headers:e.headers.set(r,n)})),t(e)}var rl=(function(e){return e[e.Interceptors=0]="Interceptors",e[e.LegacyInterceptors=1]="LegacyInterceptors",e[e.CustomXsrfConfiguration=2]="CustomXsrfConfiguration",e[e.NoXsrfProtection=3]="NoXsrfProtection",e[e.JsonpSupport=4]="JsonpSupport",e[e.RequestsMadeViaParent=5]="RequestsMadeViaParent",e[e.Fetch=6]="Fetch",e})(rl||{});function yb(e,t){return{\u0275kind:e,\u0275providers:t}}function vb(...e){let t=[Cs,Es,{provide:nl,useExisting:Es},{provide:Is,useFactory:()=>g(im,{optional:!0})??g(tl)},{provide:sm,useValue:mb,multi:!0}];for(let n of e)t.push(...n.\u0275providers);return Tn(t)}function Db(){return yb(rl.Fetch,[ms,{provide:im,useExisting:ms},{provide:Is,useExisting:ms}])}var lm=class e{http=g(Cs);listConfigurations(){return A(this.http.get("/api/configurations"))}getSession(){return A(this.http.get("/api/session")).catch(t=>{if(t?.status===404)return null;throw t})}bindConfiguration(t){return A(this.http.post("/api/session",{configAlias:t}))}getBuildInfo(){return A(this.http.get("/api/build-info"))}listQueries(){return A(this.http.get("/api/queries")).then(t=>t.queries)}getQuery(t){return A(this.http.get(`/api/queries/${encodeURIComponent(t)}`))}createQuery(t){return A(this.http.post("/api/queries",t))}updateQuery(t,n){return A(this.http.patch(`/api/queries/${encodeURIComponent(t)}`,n))}deleteQuery(t){return A(this.http.delete(`/api/queries/${encodeURIComponent(t)}`))}listFolders(){return A(this.http.get("/api/folders")).then(t=>t.folders)}createFolder(t){return A(this.http.post("/api/folders",{name:t}))}moveQuery(t,n){return A(this.http.post(`/api/queries/${encodeURIComponent(t)}/move`,{folder:n}))}runAdhoc(t,n){return A(this.http.post("/api/queries/run",{type:t,payload:n}))}runPartial(t){return A(this.http.post("/api/queries/run-partial",t))}runSaved(t){return A(this.http.post(`/api/queries/${encodeURIComponent(t)}/run`,{}))}getLayers(t=!1){let n=t?"/api/discovery/layers?refresh=1":"/api/discovery/layers";return A(this.http.get(n))}getServices(t=!1){let n=t?"/api/discovery/services?refresh=1":"/api/discovery/services";return A(this.http.get(n))}getMetrics(t=!1){let n=t?"/api/discovery/metrics?refresh=1":"/api/discovery/metrics";return A(this.http.get(n))}getAttributesForLayer(t,n=!1){let r=new URLSearchParams({layer:t});return n&&r.set("refresh","1"),A(this.http.get(`/api/discovery/attributes?${r.toString()}`))}getAttributeValues(t,n,r=!1){let o=new URLSearchParams({layer:t,attribute:n});return r&&o.set("refresh","1"),A(this.http.get(`/api/discovery/attribute-values?${o.toString()}`))}refreshDiscovery(){return A(this.http.post("/api/discovery/refresh",{}))}getHomeGraphStyles(){return A(this.http.get("/api/home-graph/styles"))}saveHomeGraphStyles(t){return A(this.http.put("/api/home-graph/styles",{rules:t}))}getTasGraph(t={}){let n=new URLSearchParams;t.vertexLimit!==void 0&&n.set("vertexLimit",String(t.vertexLimit)),t.edgeLimit!==void 0&&n.set("edgeLimit",String(t.edgeLimit)),t.serviceNames&&t.serviceNames.length>0&&n.set("serviceNames",t.serviceNames.join(","));let r=n.toString(),o=r?`/api/graph/tas?${r}`:"/api/graph/tas";return A(this.http.get(o))}getHomeGraphServices(t){let n="/api/home-graph/services";if(t&&t.length>0){let r=new URLSearchParams;r.set("names",t.join(",")),n=`${n}?${r.toString()}`}return A(this.http.get(n))}getHomeGraphEntityCount(){return A(this.http.get("/api/home-graph/entity-count"))}getHomeGraphServiceCounts(){return A(this.http.get("/api/home-graph/service-counts"))}getHomeGraphSettings(){return A(this.http.get("/api/home-graph/settings"))}saveHomeGraphSettings(t){return A(this.http.put("/api/home-graph/settings",t))}probeNassqlStepColumns(t){return A(this.http.post("/api/discovery/nassql-step-columns",t))}getServiceDiagnostics(){return A(this.http.get("/api/service-diagnostics"))}static \u0275fac=function(n){return new(n||e)};static \u0275prov=_({token:e,factory:e.\u0275fac,providedIn:"root"})};function ws(e,t){return e?t?e.endsWith("/")?t.startsWith("/")?e+t.slice(1):e+t:t.startsWith("/")?e+t:`${e}/${t}`:e:t}function dm(e){let t=e.search(/#|\?|$/);return e[t-1]==="/"?e.slice(0,t-1)+e.slice(t):e}function ke(e){return e&&e[0]!=="?"?`?${e}`:e}var Jn=(()=>{class e{historyGo(n){throw new Error("")}static \u0275fac=function(r){return new(r||e)};static \u0275prov=_({token:e,factory:()=>g(pm),providedIn:"root"})}return e})(),bs=new b(""),pm=(()=>{class e extends Jn{_platformLocation;_baseHref;_removeListenerFns=[];constructor(n,r){super(),this._platformLocation=n,this._baseHref=r??this._platformLocation.getBaseHrefFromDOM()??g(Ee).location?.origin??""}ngOnDestroy(){for(;this._removeListenerFns.length;)this._removeListenerFns.pop()()}onPopState(n){this._removeListenerFns.push(this._platformLocation.onPopState(n),this._platformLocation.onHashChange(n))}getBaseHref(){return this._baseHref}prepareExternalUrl(n){return ws(this._baseHref,n)}path(n=!1){let r=this._platformLocation.pathname+ke(this._platformLocation.search),o=this._platformLocation.hash;return o&&n?`${r}${o}`:r}pushState(n,r,o,i){let s=this.prepareExternalUrl(o+ke(i));this._platformLocation.pushState(n,r,s)}replaceState(n,r,o,i){let s=this.prepareExternalUrl(o+ke(i));this._platformLocation.replaceState(n,r,s)}forward(){this._platformLocation.forward()}back(){this._platformLocation.back()}getState(){return this._platformLocation.getState()}historyGo(n=0){this._platformLocation.historyGo?.(n)}static \u0275fac=function(r){return new(r||e)(P(At),P(bs,8))};static \u0275prov=_({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();var hm=(()=>{class e{_subject=new be;_basePath;_locationStrategy;_urlChangeListeners=[];_urlChangeSubscription=null;constructor(n){this._locationStrategy=n;let r=this._locationStrategy.getBaseHref();this._basePath=Cb(dm(fm(r))),this._locationStrategy.onPopState(o=>{this._subject.next({url:this.path(!0),pop:!0,state:o.state,type:o.type})})}ngOnDestroy(){this._urlChangeSubscription?.unsubscribe(),this._urlChangeListeners=[]}path(n=!1){return this.normalize(this._locationStrategy.path(n))}getState(){return this._locationStrategy.getState()}isCurrentPathEqualTo(n,r=""){return this.path()==this.normalize(n+ke(r))}normalize(n){return e.stripTrailingSlash(Ib(this._basePath,fm(n)))}prepareExternalUrl(n){return n&&n[0]!=="/"&&(n="/"+n),this._locationStrategy.prepareExternalUrl(n)}go(n,r="",o=null){this._locationStrategy.pushState(o,"",n,r),this._notifyUrlChangeListeners(this.prepareExternalUrl(n+ke(r)),o)}replaceState(n,r="",o=null){this._locationStrategy.replaceState(o,"",n,r),this._notifyUrlChangeListeners(this.prepareExternalUrl(n+ke(r)),o)}forward(){this._locationStrategy.forward()}back(){this._locationStrategy.back()}historyGo(n=0){this._locationStrategy.historyGo?.(n)}onUrlChange(n){return this._urlChangeListeners.push(n),this._urlChangeSubscription??=this.subscribe(r=>{this._notifyUrlChangeListeners(r.url,r.state)}),()=>{let r=this._urlChangeListeners.indexOf(n);this._urlChangeListeners.splice(r,1),this._urlChangeListeners.length===0&&(this._urlChangeSubscription?.unsubscribe(),this._urlChangeSubscription=null)}}_notifyUrlChangeListeners(n="",r){this._urlChangeListeners.forEach(o=>o(n,r))}subscribe(n,r,o){return this._subject.subscribe({next:n,error:r??void 0,complete:o??void 0})}static normalizeQueryParams=ke;static joinWithSlash=ws;static stripTrailingSlash=dm;static \u0275fac=function(r){return new(r||e)(P(Jn))};static \u0275prov=_({token:e,factory:()=>Eb(),providedIn:"root"})}return e})();function Eb(){return new hm(P(Jn))}function Ib(e,t){if(!e||!t.startsWith(e))return t;let n=t.substring(e.length);return n===""||["/",";","?","#"].includes(n[0])?n:t}function fm(e){return e.replace(/\/index.html$/,"")}function Cb(e){if(new RegExp("^(https?:)?//").test(e)){let[,n]=e.split(/\/\/[^\/]+/);return n}return e}var wb=(()=>{class e extends Jn{_platformLocation;_baseHref="";_removeListenerFns=[];constructor(n,r){super(),this._platformLocation=n,r!=null&&(this._baseHref=r)}ngOnDestroy(){for(;this._removeListenerFns.length;)this._removeListenerFns.pop()()}onPopState(n){this._removeListenerFns.push(this._platformLocation.onPopState(n),this._platformLocation.onHashChange(n))}getBaseHref(){return this._baseHref}path(n=!1){let r=this._platformLocation.hash??"#";return r.length>0?r.substring(1):r}prepareExternalUrl(n){let r=ws(this._baseHref,n);return r.length>0?"#"+r:r}pushState(n,r,o,i){let s=this.prepareExternalUrl(o+ke(i))||this._platformLocation.pathname;this._platformLocation.pushState(n,r,s)}replaceState(n,r,o,i){let s=this.prepareExternalUrl(o+ke(i))||this._platformLocation.pathname;this._platformLocation.replaceState(n,r,s)}forward(){this._platformLocation.forward()}back(){this._platformLocation.back()}getState(){return this._platformLocation.getState()}historyGo(n=0){this._platformLocation.historyGo?.(n)}static \u0275fac=function(r){return new(r||e)(P(At),P(bs,8))};static \u0275prov=_({token:e,factory:e.\u0275fac})}return e})();var ol=/\s+/,gm=[],bb=(()=>{class e{_ngEl;_renderer;initialClasses=gm;rawClass;stateMap=new Map;constructor(n,r){this._ngEl=n,this._renderer=r}set klass(n){this.initialClasses=n!=null?n.trim().split(ol):gm}set ngClass(n){this.rawClass=typeof n=="string"?n.trim().split(ol):n}ngDoCheck(){for(let r of this.initialClasses)this._updateState(r,!0);let n=this.rawClass;if(Array.isArray(n)||n instanceof Set)for(let r of n)this._updateState(r,!0);else if(n!=null)for(let r of Object.keys(n))this._updateState(r,!!n[r]);this._applyStateDiff()}_updateState(n,r){let o=this.stateMap.get(n);o!==void 0?(o.enabled!==r&&(o.changed=!0,o.enabled=r),o.touched=!0):this.stateMap.set(n,{enabled:r,changed:!0,touched:!0})}_applyStateDiff(){for(let n of this.stateMap){let r=n[0],o=n[1];o.changed?(this._toggleClass(r,o.enabled),o.changed=!1):o.touched||(o.enabled&&this._toggleClass(r,!1),this.stateMap.delete(r)),o.touched=!1}}_toggleClass(n,r){n=n.trim(),n.length>0&&n.split(ol).forEach(o=>{r?this._renderer.addClass(this._ngEl.nativeElement,o):this._renderer.removeClass(this._ngEl.nativeElement,o)})}static \u0275fac=function(r){return new(r||e)(ee(it),ee(Qr))};static \u0275dir=cn({type:e,selectors:[["","ngClass",""]],inputs:{klass:[0,"class","klass"],ngClass:"ngClass"}})}return e})();var Ts=class{$implicit;ngForOf;index;count;constructor(t,n,r,o){this.$implicit=t,this.ngForOf=n,this.index=r,this.count=o}get first(){return this.index===0}get last(){return this.index===this.count-1}get even(){return this.index%2===0}get odd(){return!this.even}},vm=(()=>{class e{_viewContainer;_template;_differs;set ngForOf(n){this._ngForOf=n,this._ngForOfDirty=!0}set ngForTrackBy(n){this._trackByFn=n}get ngForTrackBy(){return this._trackByFn}_ngForOf=null;_ngForOfDirty=!0;_differ=null;_trackByFn;constructor(n,r,o){this._viewContainer=n,this._template=r,this._differs=o}set ngForTemplate(n){n&&(this._template=n)}ngDoCheck(){if(this._ngForOfDirty){this._ngForOfDirty=!1;let n=this._ngForOf;!this._differ&&n&&(this._differ=this._differs.find(n).create(this.ngForTrackBy))}if(this._differ){let n=this._differ.diff(this._ngForOf);n&&this._applyChanges(n)}}_applyChanges(n){let r=this._viewContainer;n.forEachOperation((o,i,s)=>{if(o.previousIndex==null)r.createEmbeddedView(this._template,new Ts(o.item,this._ngForOf,-1,-1),s===null?void 0:s);else if(s==null)r.remove(i===null?void 0:i);else if(i!==null){let a=r.get(i);r.move(a,s),mm(a,o)}});for(let o=0,i=r.length;o<i;o++){let a=r.get(o).context;a.index=o,a.count=i,a.ngForOf=this._ngForOf}n.forEachIdentityChange(o=>{let i=r.get(o.currentIndex);mm(i,o)})}static ngTemplateContextGuard(n,r){return!0}static \u0275fac=function(r){return new(r||e)(ee(Nt),ee(Tt),ee(Zu))};static \u0275dir=cn({type:e,selectors:[["","ngFor","","ngForOf",""]],inputs:{ngForOf:"ngForOf",ngForTrackBy:"ngForTrackBy",ngForTemplate:"ngForTemplate"}})}return e})();function mm(e,t){e.context.$implicit=t.item}var Tb=(()=>{class e{_viewContainer;_context=new _s;_thenTemplateRef=null;_elseTemplateRef=null;_thenViewRef=null;_elseViewRef=null;constructor(n,r){this._viewContainer=n,this._thenTemplateRef=r}set ngIf(n){this._context.$implicit=this._context.ngIf=n,this._updateView()}set ngIfThen(n){ym(n,!1),this._thenTemplateRef=n,this._thenViewRef=null,this._updateView()}set ngIfElse(n){ym(n,!1),this._elseTemplateRef=n,this._elseViewRef=null,this._updateView()}_updateView(){this._context.$implicit?this._thenViewRef||(this._viewContainer.clear(),this._elseViewRef=null,this._thenTemplateRef&&(this._thenViewRef=this._viewContainer.createEmbeddedView(this._thenTemplateRef,this._context))):this._elseViewRef||(this._viewContainer.clear(),this._thenViewRef=null,this._elseTemplateRef&&(this._elseViewRef=this._viewContainer.createEmbeddedView(this._elseTemplateRef,this._context)))}static ngIfUseIfTypeGuard;static ngTemplateGuard_ngIf;static ngTemplateContextGuard(n,r){return!0}static \u0275fac=function(r){return new(r||e)(ee(Nt),ee(Tt))};static \u0275dir=cn({type:e,selectors:[["","ngIf",""]],inputs:{ngIf:"ngIf",ngIfThen:"ngIfThen",ngIfElse:"ngIfElse"}})}return e})(),_s=class{$implicit=null;ngIf=null};function ym(e,t){if(e&&!e.createEmbeddedView)throw new C(2020,!1)}var _b=(()=>{class e{_ngEl;_differs;_renderer;_ngStyle=null;_differ=null;constructor(n,r,o){this._ngEl=n,this._differs=r,this._renderer=o}set ngStyle(n){this._ngStyle=n,!this._differ&&n&&(this._differ=this._differs.find(n).create())}ngDoCheck(){if(this._differ){let n=this._differ.diff(this._ngStyle);n&&this._applyChanges(n)}}_setStyle(n,r){let[o,i]=n.split("."),s=o.indexOf("-")===-1?void 0:Vn.DashCase;r!=null?this._renderer.setStyle(this._ngEl.nativeElement,o,i?`${r}${i}`:r,s):this._renderer.removeStyle(this._ngEl.nativeElement,o,s)}_applyChanges(n){n.forEachRemovedItem(r=>this._setStyle(r.key,null)),n.forEachAddedItem(r=>this._setStyle(r.key,r.currentValue)),n.forEachChangedItem(r=>this._setStyle(r.key,r.currentValue))}static \u0275fac=function(r){return new(r||e)(ee(it),ee(Qu),ee(Qr))};static \u0275dir=cn({type:e,selectors:[["","ngStyle",""]],inputs:{ngStyle:"ngStyle"}})}return e})(),Mb=(()=>{class e{_viewContainerRef;_viewRef=null;ngTemplateOutletContext=null;ngTemplateOutlet=null;ngTemplateOutletInjector=null;injector=g(le);constructor(n){this._viewContainerRef=n}ngOnChanges(n){if(this._shouldRecreateView(n)){let r=this._viewContainerRef;if(this._viewRef&&r.remove(r.indexOf(this._viewRef)),!this.ngTemplateOutlet){this._viewRef=null;return}let o=this._createContextForwardProxy();this._viewRef=r.createEmbeddedView(this.ngTemplateOutlet,o,{injector:this._getInjector()})}}_getInjector(){return this.ngTemplateOutletInjector==="outlet"?this.injector:this.ngTemplateOutletInjector??void 0}_shouldRecreateView(n){return!!n.ngTemplateOutlet||!!n.ngTemplateOutletInjector}_createContextForwardProxy(){return new Proxy({},{set:(n,r,o)=>this.ngTemplateOutletContext?Reflect.set(this.ngTemplateOutletContext,r,o):!1,get:(n,r,o)=>{if(this.ngTemplateOutletContext)return Reflect.get(this.ngTemplateOutletContext,r,o)}})}static \u0275fac=function(r){return new(r||e)(ee(Nt))};static \u0275dir=cn({type:e,selectors:[["","ngTemplateOutlet",""]],inputs:{ngTemplateOutletContext:"ngTemplateOutletContext",ngTemplateOutlet:"ngTemplateOutlet",ngTemplateOutletInjector:"ngTemplateOutletInjector"},features:[Zc]})}return e})();var Sb=(()=>{class e{static \u0275fac=function(r){return new(r||e)};static \u0275mod=as({type:e});static \u0275inj=yr({})}return e})();var Nb="browser",Ab="server";function Gj(e){return e===Nb}function zj(e){return e===Ab}var Wj=(()=>{class e{static \u0275prov=_({token:e,providedIn:"root",factory:()=>new il(g(Ee),window)})}return e})(),il=class{document;window;offset=()=>[0,0];constructor(t,n){this.document=t,this.window=n}setOffset(t){Array.isArray(t)?this.offset=()=>t:this.offset=t}getScrollPosition(){return[this.window.scrollX,this.window.scrollY]}scrollToPosition(t,n){this.window.scrollTo($(j({},n),{left:t[0],top:t[1]}))}scrollToAnchor(t,n){let r=xb(this.document,t);r&&(this.scrollToElement(r,n),r.focus({preventScroll:!0}))}setHistoryScrollRestoration(t){try{this.window.history.scrollRestoration=t}catch(n){console.warn(et(2400,!1))}}scrollToElement(t,n){let r=t.getBoundingClientRect(),o=r.left+this.window.pageXOffset,i=r.top+this.window.pageYOffset,s=this.offset();this.window.scrollTo($(j({},n),{left:o-s[0],top:i-s[1]}))}};function xb(e,t){let n=e.getElementById(t)||e.getElementsByName(t)[0];if(n)return n;if(typeof e.createTreeWalker=="function"&&e.body&&typeof e.body.attachShadow=="function"){let r=e.createTreeWalker(e.body,NodeFilter.SHOW_ELEMENT),o=r.currentNode;for(;o;){let i=o.shadowRoot;if(i){let s=i.getElementById(t)||i.querySelector(`[name="${t}"]`);if(s)return s}o=r.nextNode()}}return null}export{j as a,$ as b,Tm as c,Rb as d,Ob as e,kb as f,un as g,z as h,Lm as i,S as j,be as k,ir as l,Hm as m,Lt as n,Le as o,Oo as p,Qm as q,Ym as r,Bt as s,he as t,oy as u,Vt as v,cr as w,Lo as x,sy as y,ay as z,cy as A,uy as B,ur as C,ly as D,Hl as E,Ws as F,qs as G,Zs as H,fy as I,py as J,hy as K,Qs as L,gy as M,my as N,C as O,et as P,Zo as Q,_ as R,yr as S,Ey as T,b as U,P as V,g as W,Tn as X,ba as Y,ie as Z,Mn as _,Id as $,Cd as aa,kd as ba,le as ca,Ee as da,Ie as ea,wt as fa,Ke as ga,W as ha,Xe as ia,rt as ja,di as ka,Hd as la,Zc as ma,qf as na,Yc as oa,it as pa,xv as qa,Rv as ra,np as sa,kv as ta,rp as ua,Fv as va,on as wa,Mt as xa,qi as ya,Hv as za,$v as Aa,Uv as Ba,Gv as Ca,zv as Da,Xc as Ea,yp as Fa,Ur as Ga,yD as Ha,Cp as Ia,ED as Ja,ID as Ka,LD as La,Vn as Ma,$n as Na,at as Oa,Oe as Pa,jp as Qa,Tt as Ra,Lr as Sa,Qr as Ta,ee as Ua,zE as Va,Nt as Wa,xh as Xa,Rh as Ya,_I as Za,as as _a,cn as $a,Oh as ab,xI as bb,Lh as cb,Bh as db,UI as eb,cs as fb,GI as gb,Hh as hb,Kr as ib,zh as jb,Wh as kb,wi as lb,bi as mb,KI as nb,JI as ob,XI as pb,eC as qb,tC as rb,nC as sb,qh as tb,$i as ub,xu as vb,Zh as wb,Ru as xb,Ou as yb,Qh as zb,ku as Ab,Fu as Bb,Kh as Cb,cC as Db,Jh as Eb,eg as Fb,tg as Gb,lC as Hb,fC as Ib,pC as Jb,rg as Kb,og as Lb,gC as Mb,mC as Nb,ig as Ob,sg as Pb,yC as Qb,vC as Rb,dg as Sb,fg as Tb,xC as Ub,OC as Vb,UC as Wb,Ig as Xb,Pu as Yb,Cg as Zb,wg as _b,bg as $b,qC as ac,Tg as bc,ZC as cc,JC as dc,XC as ec,ew as fc,tw as gc,nw as hc,rw as ic,ow as jc,iw as kc,sw as lc,lw as mc,fw as nc,hw as oc,gw as pc,Rg as qc,yw as rc,Dw as sc,Og as tc,pL as uc,hL as vc,gL as wc,mL as xc,yL as yc,vL as zc,qg as Ac,EL as Bc,Zw as Cc,Qw as Dc,IL as Ec,CL as Fc,wL as Gc,hs as Hc,Kw as Ic,Ku as Jc,Jw as Kc,Jn as Lc,pm as Mc,hm as Nc,wb as Oc,bb as Pc,vm as Qc,Tb as Rc,_b as Sc,Mb as Tc,Sb as Uc,Yu as Vc,no as Wc,Nb as Xc,Gj as Yc,zj as Zc,Wj as _c,vb as $c,Db as ad,lm as bd};
|