import './polyfills.server.mjs'; import{a as Ne,b as Kt}from"./chunk-VVCT4QZE.mjs";var Yi=null;var Nr=1,Sr=Symbol("SIGNAL");function R(e){let t=Yi;return Yi=e,t}var Ji={version:0,lastCleanEpoch:0,dirty:!1,producerNode:void 0,producerLastReadVersion:void 0,producerIndexOfThis:void 0,nextProducerIndex:0,liveConsumerNode:void 0,liveConsumerIndexOfThis:void 0,consumerAllowSignalWrites:!1,consumerIsAlwaysLive:!1,producerMustRecompute:()=>!1,producerRecomputeValue:()=>{},consumerMarkedDirty:()=>{},consumerOnSignalRead:()=>{}};function su(e){if(!(Pr(e)&&!e.dirty)&&!(!e.dirty&&e.lastCleanEpoch===Nr)){if(!e.producerMustRecompute(e)&&!Ar(e)){e.dirty=!1,e.lastCleanEpoch=Nr;return}e.producerRecomputeValue(e),e.dirty=!1,e.lastCleanEpoch=Nr}}function Ki(e){return e&&(e.nextProducerIndex=0),R(e)}function Xi(e,t){if(R(t),!(!e||e.producerNode===void 0||e.producerIndexOfThis===void 0||e.producerLastReadVersion===void 0)){if(Pr(e))for(let n=e.nextProducerIndex;ne.nextProducerIndex;)e.producerNode.pop(),e.producerLastReadVersion.pop(),e.producerIndexOfThis.pop()}}function Ar(e){Xt(e);for(let t=0;t0}function Xt(e){e.producerNode??=[],e.producerIndexOfThis??=[],e.producerLastReadVersion??=[]}function au(e){e.liveConsumerNode??=[],e.liveConsumerIndexOfThis??=[]}function cu(){throw new Error}var lu=cu;function ts(e){lu=e}function v(e){return typeof e=="function"}function ze(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 en=ze(e=>function(n){e(this),this.message=n?`${n.length} errors occurred during unsubscription: ${n.map((r,o)=>`${o+1}) ${r.toString()}`).join(` `)}`:"",this.name="UnsubscriptionError",this.errors=n});function vt(e,t){if(e){let n=e.indexOf(t);0<=n&&e.splice(n,1)}}var j=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(v(r))try{r()}catch(i){t=i instanceof en?i.errors:[i]}let{_finalizers:o}=this;if(o){this._finalizers=null;for(let i of o)try{ns(i)}catch(s){t=t??[],s instanceof en?t=[...t,...s.errors]:t.push(s)}}if(t)throw new en(t)}}add(t){var n;if(t&&t!==this)if(this.closed)ns(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)&&vt(n,t)}remove(t){let{_finalizers:n}=this;n&&vt(n,t),t instanceof e&&t._removeParent(this)}};j.EMPTY=(()=>{let e=new j;return e.closed=!0,e})();var Rr=j.EMPTY;function tn(e){return e instanceof j||e&&"closed"in e&&v(e.remove)&&v(e.add)&&v(e.unsubscribe)}function ns(e){v(e)?e():e.unsubscribe()}var oe={onUnhandledError:null,onStoppedNotification:null,Promise:void 0,useDeprecatedSynchronousErrorHandling:!1,useDeprecatedNextContext:!1};var Qe={setTimeout(e,t,...n){let{delegate:r}=Qe;return r?.setTimeout?r.setTimeout(e,t,...n):setTimeout(e,t,...n)},clearTimeout(e){let{delegate:t}=Qe;return(t?.clearTimeout||clearTimeout)(e)},delegate:void 0};function nn(e){Qe.setTimeout(()=>{let{onUnhandledError:t}=oe;if(t)t(e);else throw e})}function yt(){}var rs=kr("C",void 0,void 0);function os(e){return kr("E",void 0,e)}function is(e){return kr("N",e,void 0)}function kr(e,t,n){return{kind:e,value:t,error:n}}var Se=null;function Ze(e){if(oe.useDeprecatedSynchronousErrorHandling){let t=!Se;if(t&&(Se={errorThrown:!1,error:null}),e(),t){let{errorThrown:n,error:r}=Se;if(Se=null,n)throw r}}else e()}function ss(e){oe.useDeprecatedSynchronousErrorHandling&&Se&&(Se.errorThrown=!0,Se.error=e)}var Ae=class extends j{constructor(t){super(),this.isStopped=!1,t?(this.destination=t,tn(t)&&t.add(this)):this.destination=fu}static create(t,n,r){return new Ye(t,n,r)}next(t){this.isStopped?Fr(is(t),this):this._next(t)}error(t){this.isStopped?Fr(os(t),this):(this.isStopped=!0,this._error(t))}complete(){this.isStopped?Fr(rs,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()}}},uu=Function.prototype.bind;function Lr(e,t){return uu.call(e,t)}var jr=class{constructor(t){this.partialObserver=t}next(t){let{partialObserver:n}=this;if(n.next)try{n.next(t)}catch(r){rn(r)}}error(t){let{partialObserver:n}=this;if(n.error)try{n.error(t)}catch(r){rn(r)}else rn(t)}complete(){let{partialObserver:t}=this;if(t.complete)try{t.complete()}catch(n){rn(n)}}},Ye=class extends Ae{constructor(t,n,r){super();let o;if(v(t)||!t)o={next:t??void 0,error:n??void 0,complete:r??void 0};else{let i;this&&oe.useDeprecatedNextContext?(i=Object.create(t),i.unsubscribe=()=>this.unsubscribe(),o={next:t.next&&Lr(t.next,i),error:t.error&&Lr(t.error,i),complete:t.complete&&Lr(t.complete,i)}):o=t}this.destination=new jr(o)}};function rn(e){oe.useDeprecatedSynchronousErrorHandling?ss(e):nn(e)}function du(e){throw e}function Fr(e,t){let{onStoppedNotification:n}=oe;n&&Qe.setTimeout(()=>n(e,t))}var fu={closed:!0,next:yt,error:du,complete:yt};var Je=typeof Symbol=="function"&&Symbol.observable||"@@observable";function Q(e){return e}function pu(...e){return Vr(e)}function Vr(e){return e.length===0?Q:e.length===1?e[0]:function(n){return e.reduce((r,o)=>o(r),n)}}var x=(()=>{class e{constructor(n){n&&(this._subscribe=n)}lift(n){let r=new e;return r.source=this,r.operator=n,r}subscribe(n,r,o){let i=mu(n)?n:new Ye(n,r,o);return Ze(()=>{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=as(r),new r((o,i)=>{let s=new Ye({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)}[Je](){return this}pipe(...n){return Vr(n)(this)}toPromise(n){return n=as(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 as(e){var t;return(t=e??oe.Promise)!==null&&t!==void 0?t:Promise}function hu(e){return e&&v(e.next)&&v(e.error)&&v(e.complete)}function mu(e){return e&&e instanceof Ae||hu(e)&&tn(e)}function Hr(e){return v(e?.lift)}function w(e){return t=>{if(Hr(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 D(e,t,n,r,o){return new $r(e,t,n,r,o)}var $r=class extends Ae{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))}}};function Br(){return w((e,t)=>{let n=null;e._refCount++;let r=D(t,void 0,void 0,void 0,()=>{if(!e||e._refCount<=0||0<--e._refCount){n=null;return}let o=e._connection,i=n;n=null,o&&(!i||o===i)&&o.unsubscribe(),t.unsubscribe()});e.subscribe(r),r.closed||(n=e.connect())})}var Ur=class extends x{constructor(t,n){super(),this.source=t,this.subjectFactory=n,this._subject=null,this._refCount=0,this._connection=null,Hr(t)&&(this.lift=t.lift)}_subscribe(t){return this.getSubject().subscribe(t)}getSubject(){let t=this._subject;return(!t||t.isStopped)&&(this._subject=this.subjectFactory()),this._subject}_teardown(){this._refCount=0;let{_connection:t}=this;this._subject=this._connection=null,t?.unsubscribe()}connect(){let t=this._connection;if(!t){t=this._connection=new j;let n=this.getSubject();t.add(this.source.subscribe(D(n,void 0,()=>{this._teardown(),n.complete()},r=>{this._teardown(),n.error(r)},()=>this._teardown()))),t.closed&&(this._connection=null,t=j.EMPTY)}return t}refCount(){return Br()(this)}};var cs=ze(e=>function(){e(this),this.name="ObjectUnsubscribedError",this.message="object unsubscribed"});var Ke=(()=>{class e extends x{constructor(){super(),this.closed=!1,this.currentObservers=null,this.observers=[],this.isStopped=!1,this.hasError=!1,this.thrownError=null}lift(n){let r=new on(this,this);return r.operator=n,r}_throwIfClosed(){if(this.closed)throw new cs}next(n){Ze(()=>{if(this._throwIfClosed(),!this.isStopped){this.currentObservers||(this.currentObservers=Array.from(this.observers));for(let r of this.currentObservers)r.next(n)}})}error(n){Ze(()=>{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(){Ze(()=>{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?Rr:(this.currentObservers=null,i.push(n),new j(()=>{this.currentObservers=null,vt(i,n)}))}_checkFinalizedStatuses(n){let{hasError:r,thrownError:o,isStopped:i}=this;r?n.error(o):i&&n.complete()}asObservable(){let n=new x;return n.source=this,n}}return e.create=(t,n)=>new on(t,n),e})(),on=class extends Ke{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:Rr}};var It=class extends Ke{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 wt=new x(e=>e.complete());function ls(e){return e&&v(e.schedule)}function us(e){return e[e.length-1]}function ds(e){return v(us(e))?e.pop():void 0}function we(e){return ls(us(e))?e.pop():void 0}function ps(e,t,n,r){function o(i){return i instanceof n?i:new n(function(s){s(i)})}return new(n||(n=Promise))(function(i,s){function a(u){try{l(r.next(u))}catch(d){s(d)}}function c(u){try{l(r.throw(u))}catch(d){s(d)}}function l(u){u.done?i(u.value):o(u.value).then(a,c)}l((r=r.apply(e,t||[])).next())})}function fs(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 Oe(e){return this instanceof Oe?(this.v=e,this):new Oe(e)}function hs(e,t,n){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var r=n.apply(e,t||[]),o,i=[];return o={},s("next"),s("throw"),s("return"),o[Symbol.asyncIterator]=function(){return this},o;function s(f){r[f]&&(o[f]=function(p){return new Promise(function(h,b){i.push([f,p,h,b])>1||a(f,p)})})}function a(f,p){try{c(r[f](p))}catch(h){d(i[0][3],h)}}function c(f){f.value instanceof Oe?Promise.resolve(f.value.v).then(l,u):d(i[0][2],f)}function l(f){a("next",f)}function u(f){a("throw",f)}function d(f,p){f(p),i.shift(),i.length&&a(i[0][0],i[0][1])}}function ms(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 fs=="function"?fs(e):e[Symbol.iterator](),n={},r("next"),r("throw"),r("return"),n[Symbol.asyncIterator]=function(){return this},n);function r(i){n[i]=e[i]&&function(s){return new Promise(function(a,c){s=e[i](s),o(a,c,s.done,s.value)})}}function o(i,s,a,c){Promise.resolve(c).then(function(l){i({value:l,done:a})},s)}}var sn=e=>e&&typeof e.length=="number"&&typeof e!="function";function an(e){return v(e?.then)}function cn(e){return v(e[Je])}function ln(e){return Symbol.asyncIterator&&v(e?.[Symbol.asyncIterator])}function un(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 gu(){return typeof Symbol!="function"||!Symbol.iterator?"@@iterator":Symbol.iterator}var dn=gu();function fn(e){return v(e?.[dn])}function pn(e){return hs(this,arguments,function*(){let n=e.getReader();try{for(;;){let{value:r,done:o}=yield Oe(n.read());if(o)return yield Oe(void 0);yield yield Oe(r)}}finally{n.releaseLock()}})}function hn(e){return v(e?.getReader)}function L(e){if(e instanceof x)return e;if(e!=null){if(cn(e))return vu(e);if(sn(e))return yu(e);if(an(e))return Iu(e);if(ln(e))return gs(e);if(fn(e))return wu(e);if(hn(e))return Du(e)}throw un(e)}function vu(e){return new x(t=>{let n=e[Je]();if(v(n.subscribe))return n.subscribe(t);throw new TypeError("Provided object does not correctly implement Symbol.observable")})}function yu(e){return new x(t=>{for(let n=0;n{e.then(n=>{t.closed||(t.next(n),t.complete())},n=>t.error(n)).then(null,nn)})}function wu(e){return new x(t=>{for(let n of e)if(t.next(n),t.closed)return;t.complete()})}function gs(e){return new x(t=>{Eu(e,t).catch(n=>t.error(n))})}function Du(e){return gs(pn(e))}function Eu(e,t){var n,r,o,i;return ps(this,void 0,void 0,function*(){try{for(n=ms(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 U(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 mn(e,t=0){return w((n,r)=>{n.subscribe(D(r,o=>U(r,e,()=>r.next(o),t),()=>U(r,e,()=>r.complete(),t),o=>U(r,e,()=>r.error(o),t)))})}function gn(e,t=0){return w((n,r)=>{r.add(e.schedule(()=>n.subscribe(r),t))})}function vs(e,t){return L(e).pipe(gn(t),mn(t))}function ys(e,t){return L(e).pipe(gn(t),mn(t))}function Is(e,t){return new x(n=>{let r=0;return t.schedule(function(){r===e.length?n.complete():(n.next(e[r++]),n.closed||this.schedule())})})}function ws(e,t){return new x(n=>{let r;return U(n,t,()=>{r=e[dn](),U(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)}),()=>v(r?.return)&&r.return()})}function vn(e,t){if(!e)throw new Error("Iterable cannot be null");return new x(n=>{U(n,t,()=>{let r=e[Symbol.asyncIterator]();U(n,t,()=>{r.next().then(o=>{o.done?n.complete():n.next(o.value)})},0,!0)})})}function Ds(e,t){return vn(pn(e),t)}function Es(e,t){if(e!=null){if(cn(e))return vs(e,t);if(sn(e))return Is(e,t);if(an(e))return ys(e,t);if(ln(e))return vn(e,t);if(fn(e))return ws(e,t);if(hn(e))return Ds(e,t)}throw un(e)}function De(e,t){return t?Es(e,t):L(e)}function bu(...e){let t=we(e);return De(e,t)}function Cu(e,t){let n=v(e)?e:()=>e,r=o=>o.error(n());return new x(t?o=>t.schedule(r,0,o):r)}function xu(e){return!!e&&(e instanceof x||v(e.lift)&&v(e.subscribe))}var Pe=ze(e=>function(){e(this),this.name="EmptyError",this.message="no elements in sequence"});function pe(e,t){return w((n,r)=>{let o=0;n.subscribe(D(r,i=>{r.next(e.call(t,i,o++))}))})}var{isArray:Mu}=Array;function _u(e,t){return Mu(t)?e(...t):e(t)}function bs(e){return pe(t=>_u(e,t))}var{isArray:Tu}=Array,{getPrototypeOf:Nu,prototype:Su,keys:Au}=Object;function Cs(e){if(e.length===1){let t=e[0];if(Tu(t))return{args:t,keys:null};if(Ou(t)){let n=Au(t);return{args:n.map(r=>t[r]),keys:n}}}return{args:e,keys:null}}function Ou(e){return e&&typeof e=="object"&&Nu(e)===Su}function xs(e,t){return e.reduce((n,r,o)=>(n[r]=t[o],n),{})}function Pu(...e){let t=we(e),n=ds(e),{args:r,keys:o}=Cs(e);if(r.length===0)return De([],t);let i=new x(Ru(r,t,o?s=>xs(o,s):Q));return n?i.pipe(bs(n)):i}function Ru(e,t,n=Q){return r=>{Ms(t,()=>{let{length:o}=e,i=new Array(o),s=o,a=o;for(let c=0;c{let l=De(e[c],t),u=!1;l.subscribe(D(r,d=>{i[c]=d,u||(u=!0,a--),a||r.next(n(i.slice()))},()=>{--s||r.complete()}))},r)},r)}}function Ms(e,t,n){e?U(n,e,t):t()}function _s(e,t,n,r,o,i,s,a){let c=[],l=0,u=0,d=!1,f=()=>{d&&!c.length&&!l&&t.complete()},p=b=>l{i&&t.next(b),l++;let O=!1;L(n(b,u++)).subscribe(D(t,M=>{o?.(M),i?p(M):t.next(M)},()=>{O=!0},void 0,()=>{if(O)try{for(l--;c.length&&lh(M)):h(M)}f()}catch(M){t.error(M)}}))};return e.subscribe(D(t,p,()=>{d=!0,f()})),()=>{a?.()}}function Re(e,t,n=1/0){return v(t)?Re((r,o)=>pe((i,s)=>t(r,i,o,s))(L(e(r,o))),n):(typeof t=="number"&&(n=t),w((r,o)=>_s(r,o,e,n)))}function Ts(e=1/0){return Re(Q,e)}function Ns(){return Ts(1)}function yn(...e){return Ns()(De(e,we(e)))}function ku(e){return new x(t=>{L(e()).subscribe(t)})}function Dt(e,t){return w((n,r)=>{let o=0;n.subscribe(D(r,i=>e.call(t,i,o++)&&r.next(i)))})}function Ss(e){return w((t,n)=>{let r=null,o=!1,i;r=t.subscribe(D(n,void 0,void 0,s=>{i=L(e(s,Ss(e)(t))),r?(r.unsubscribe(),r=null,i.subscribe(n)):o=!0})),o&&(r.unsubscribe(),r=null,i.subscribe(n))})}function As(e,t,n,r,o){return(i,s)=>{let a=n,c=t,l=0;i.subscribe(D(s,u=>{let d=l++;c=a?e(c,u,d):(a=!0,u),r&&s.next(c)},o&&(()=>{a&&s.next(c),s.complete()})))}}function Lu(e,t){return v(t)?Re(e,t,1):Re(e,1)}function Et(e){return w((t,n)=>{let r=!1;t.subscribe(D(n,o=>{r=!0,n.next(o)},()=>{r||n.next(e),n.complete()}))})}function qr(e){return e<=0?()=>wt:w((t,n)=>{let r=0;t.subscribe(D(n,o=>{++r<=e&&(n.next(o),e<=r&&n.complete())}))})}function Fu(e){return pe(()=>e)}function In(e=ju){return w((t,n)=>{let r=!1;t.subscribe(D(n,o=>{r=!0,n.next(o)},()=>r?n.complete():n.error(e())))})}function ju(){return new Pe}function Vu(e){return w((t,n)=>{try{t.subscribe(n)}finally{n.add(e)}})}function Wr(e,t){let n=arguments.length>=2;return r=>r.pipe(e?Dt((o,i)=>e(o,i,r)):Q,qr(1),n?Et(t):In(()=>new Pe))}function Gr(e){return e<=0?()=>wt:w((t,n)=>{let r=[];t.subscribe(D(n,o=>{r.push(o),e{for(let o of r)n.next(o);n.complete()},void 0,()=>{r=null}))})}function Hu(e,t){let n=arguments.length>=2;return r=>r.pipe(e?Dt((o,i)=>e(o,i,r)):Q,Gr(1),n?Et(t):In(()=>new Pe))}function $u(e,t){return w(As(e,t,arguments.length>=2,!0))}function Bu(...e){let t=we(e);return w((n,r)=>{(t?yn(e,n,t):yn(e,n)).subscribe(r)})}function Uu(e,t){return w((n,r)=>{let o=null,i=0,s=!1,a=()=>s&&!o&&r.complete();n.subscribe(D(r,c=>{o?.unsubscribe();let l=0,u=i++;L(e(c,u)).subscribe(o=D(r,d=>r.next(t?t(c,d,u,l++):d),()=>{o=null,a()}))},()=>{s=!0,a()}))})}function qu(e){return w((t,n)=>{L(e).subscribe(D(n,()=>n.complete(),yt)),!n.closed&&t.subscribe(n)})}function Os(e,t,n){let r=v(e)||t||n?{next:e,error:t,complete:n}:e;return r?w((o,i)=>{var s;(s=r.subscribe)===null||s===void 0||s.call(r);let a=!0;o.subscribe(D(i,c=>{var l;(l=r.next)===null||l===void 0||l.call(r,c),i.next(c)},()=>{var c;a=!1,(c=r.complete)===null||c===void 0||c.call(r),i.complete()},c=>{var l;a=!1,(l=r.error)===null||l===void 0||l.call(r,c),i.error(c)},()=>{var c,l;a&&((c=r.unsubscribe)===null||c===void 0||c.call(r)),(l=r.finalize)===null||l===void 0||l.call(r)}))}):Q}var Ia="https://g.co/ng/security#xss",E=class extends Error{constructor(t,n){super(Wu(t,n)),this.code=t}};function Wu(e,t){return`${`NG0${Math.abs(e)}`}${t?": "+t:""}`}var fo=class extends Ke{constructor(t=!1){super(),this.__isAsync=t}emit(t){super.next(t)}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=zr(i),o&&(o=zr(o)),s&&(s=zr(s)));let a=super.subscribe({next:o,error:i,complete:s});return t instanceof j&&t.add(a),a}};function zr(e){return t=>{setTimeout(e,void 0,t)}}var be=fo;var I=function(e){return e[e.Default=0]="Default",e[e.Host=1]="Host",e[e.Self=2]="Self",e[e.SkipSelf=4]="SkipSelf",e[e.Optional=8]="Optional",e}(I||{});function Z(e){if(typeof e=="string")return e;if(Array.isArray(e))return"["+e.map(Z).join(", ")+"]";if(e==null)return""+e;if(e.overriddenName)return`${e.overriddenName}`;if(e.name)return`${e.name}`;let t=e.toString();if(t==null)return""+t;let n=t.indexOf(` `);return n===-1?t:t.substring(0,n)}function Ps(e,t){return e==null||e===""?t===null?"":t:t==null||t===""?e:e+" "+t}var wa=function(e){return e[e.OnPush=0]="OnPush",e[e.Default=1]="Default",e}(wa||{}),rt=function(e){return e[e.Emulated=0]="Emulated",e[e.None=2]="None",e[e.ShadowDom=3]="ShadowDom",e}(rt||{});function zt(e){return{toString:e}.toString()}var he=globalThis;var Tt={},K=[];function _(e){for(let t in e)if(e[t]===_)return t;throw Error("Could not find renamed property on target object.")}var Gu=_({\u0275cmp:_}),zu=_({\u0275dir:_}),Qu=_({\u0275pipe:_}),Zu=_({\u0275mod:_}),On=_({\u0275fac:_}),bt=_({__NG_ELEMENT_ID__:_}),Rs=_({__NG_ENV_ID__:_}),ot=function(e){return e[e.None=0]="None",e[e.SignalBased=1]="SignalBased",e[e.HasDecoratorInputTransform=2]="HasDecoratorInputTransform",e}(ot||{});function Da(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}}function po(e,t,n){let r=0;for(;rt){s=i-1;break}}}for(;ii?f="":f=o[d+1].toLowerCase();let p=r&8?f:null;if(p&&Da(p,l,0)!==-1||r&2&&l!==f){if(ie(r))return!1;s=!0}}}}return ie(r)||s}function ie(e){return(e&1)===0}function td(e,t,n,r){if(t===null)return-1;let o=0;if(r||!n){let i=!1;for(;o-1)for(n++;n0?'="'+a+'"':"")+"]"}else r&8?o+="."+s:r&4&&(o+=" "+s);else o!==""&&!ie(s)&&(t+=Ls(i,o),o=""),r=s,i=i||!ie(r);n++}return o!==""&&(t+=Ls(i,o)),t}function sd(e){return e.map(id).join(",")}function ad(e){let t=[],n=[],r=1,o=2;for(;r{let t=_a(e),n=Kt(Ne({},t),{decls:e.decls,vars:e.vars,template:e.template,consts:e.consts||null,ngContentSelectors:e.ngContentSelectors,onPush:e.changeDetection===wa.OnPush,directiveDefs:null,pipeDefs:null,dependencies:t.standalone&&e.dependencies||null,getStandaloneInjector:null,signals:e.signals??!1,data:e.data||{},encapsulation:e.encapsulation||rt.Emulated,styles:e.styles||K,_:null,schemas:e.schemas||null,tView:null,id:""});Ta(n);let r=e.dependencies;return n.directiveDefs=js(r,!1),n.pipeDefs=js(r,!0),n.id=dd(n),n})}function cd(e){return xe(e)||Ca(e)}function ld(e){return e!==null}function QE(e){return zt(()=>({type:e.type,bootstrap:e.bootstrap||K,declarations:e.declarations||K,imports:e.imports||K,exports:e.exports||K,transitiveCompileScopes:null,schemas:e.schemas||null,id:e.id||null}))}function Fs(e,t){if(e==null)return Tt;let n={};for(let r in e)if(e.hasOwnProperty(r)){let o=e[r],i,s,a=ot.None;Array.isArray(o)?(a=o[0],i=o[1],s=o[2]??i):(i=o,s=o),t?(n[i]=a!==ot.None?[r,a]:r,t[i]=s):n[i]=r}return n}function ZE(e){return zt(()=>{let t=_a(e);return Ta(t),t})}function YE(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 xe(e){return e[Gu]||null}function Ca(e){return e[zu]||null}function xa(e){return e[Qu]||null}function ud(e){let t=xe(e)||Ca(e)||xa(e);return t!==null?t.standalone:!1}function Ma(e,t){let n=e[Zu]||null;if(!n&&t===!0)throw new Error(`Type ${Z(e)} does not have '\u0275mod' property.`);return n}function _a(e){let t={};return{type:e.type,providersResolver:null,factory:null,hostBindings:e.hostBindings||null,hostVars:e.hostVars||0,hostAttrs:e.hostAttrs||null,contentQueries:e.contentQueries||null,declaredInputs:t,inputTransforms:null,inputConfig:e.inputs||Tt,exportAs:e.exportAs||null,standalone:e.standalone===!0,signals:e.signals===!0,selectors:e.selectors||K,viewQuery:e.viewQuery||null,features:e.features||null,setInput:null,findHostDirectiveDefs:null,hostDirectives:null,inputs:Fs(e.inputs,t),outputs:Fs(e.outputs),debugInfo:null}}function Ta(e){e.features?.forEach(t=>t(e))}function js(e,t){if(!e)return null;let n=t?xa:cd;return()=>(typeof e=="function"?e():e).map(r=>n(r)).filter(ld)}function dd(e){let t=0,n=[e.selectors,e.ngContentSelectors,e.hostVars,e.hostAttrs,e.consts,e.vars,e.decls,e.encapsulation,e.standalone,e.signals,e.exportAs,JSON.stringify(e.inputs),JSON.stringify(e.outputs),Object.getOwnPropertyNames(e.type.prototype),!!e.contentQueries,!!e.viewQuery].join("|");for(let o of n)t=Math.imul(31,t)+o.charCodeAt(0)<<0;return t+=2147483648,"c"+t}var P=0,g=1,m=2,F=3,se=4,ae=5,de=6,Nt=7,V=8,it=9,ge=10,T=11,St=12,Vs=13,ft=14,G=15,sr=16,Xe=17,st=18,ar=19,Na=20,Ct=21,Qr=22,Fe=23,N=25,ui=1,At=6,ve=7,Pn=8,Rn=9,H=10,di=function(e){return e[e.None=0]="None",e[e.HasTransplantedViews=2]="HasTransplantedViews",e}(di||{});function me(e){return Array.isArray(e)&&typeof e[ui]=="object"}function Y(e){return Array.isArray(e)&&e[ui]===!0}function Sa(e){return(e.flags&4)!==0}function pt(e){return e.componentOffset>-1}function fi(e){return(e.flags&1)===1}function ht(e){return!!e.template}function pi(e){return(e[m]&512)!==0}function fd(e){return(e.type&16)===16}function pd(e){return(e[m]&32)===32}var hd="svg",md="math",gd=!1;function vd(){return gd}function k(e){for(;Array.isArray(e);)e=e[P];return e}function Aa(e){for(;Array.isArray(e);){if(typeof e[ui]=="object")return e;e=e[P]}return null}function Oa(e,t){return k(t[e])}function ee(e,t){return k(t[e.index])}function hi(e,t){return e.data[t]}function Pa(e,t){return e[t]}function _e(e,t){let n=t[e];return me(n)?n:n[P]}function mi(e){return(e[m]&128)===128}function yd(e){return Y(e[F])}function kn(e,t){return t==null?null:e[t]}function Ra(e){e[Xe]=0}function Id(e){e[m]&1024||(e[m]|=1024,mi(e)&&Ot(e))}function wd(e,t){for(;e>0;)t=t[ft],e--;return t}function gi(e){return!!(e[m]&9216||e[Fe]?.dirty)}function ho(e){gi(e)?Ot(e):e[m]&64&&(vd()?(e[m]|=1024,Ot(e)):e[ge].changeDetectionScheduler?.notify())}function Ot(e){e[ge].changeDetectionScheduler?.notify();let t=Pt(e);for(;t!==null&&!(t[m]&8192||(t[m]|=8192,!mi(t)));)t=Pt(t)}function Dd(e,t){if((e[m]&256)===256)throw new E(911,!1);e[Ct]===null&&(e[Ct]=[]),e[Ct].push(t)}function Pt(e){let t=e[F];return Y(t)?t[F]:t}var y={lFrame:$a(null),bindingsEnabled:!0,skipHydrationRootTNode:null};function Ed(){return y.lFrame.elementDepthCount}function bd(){y.lFrame.elementDepthCount++}function Cd(){y.lFrame.elementDepthCount--}function ka(){return y.bindingsEnabled}function Qt(){return y.skipHydrationRootTNode!==null}function xd(e){return y.skipHydrationRootTNode===e}function Md(e){y.skipHydrationRootTNode=e}function _d(){y.skipHydrationRootTNode=null}function C(){return y.lFrame.lView}function z(){return y.lFrame.tView}function JE(e){return y.lFrame.contextLView=e,e[V]}function KE(e){return y.lFrame.contextLView=null,e}function J(){let e=La();for(;e!==null&&e.type===64;)e=e.parent;return e}function La(){return y.lFrame.currentTNode}function Td(){let e=y.lFrame,t=e.currentTNode;return e.isParent?t:t.parent}function Zt(e,t){let n=y.lFrame;n.currentTNode=e,n.isParent=t}function Fa(){return y.lFrame.isParent}function Nd(){y.lFrame.isParent=!1}function vi(){let e=y.lFrame,t=e.bindingRootIndex;return t===-1&&(t=e.bindingRootIndex=e.tView.bindingStartIndex),t}function Sd(e){return y.lFrame.bindingIndex=e}function Yt(){return y.lFrame.bindingIndex++}function Ad(e){let t=y.lFrame,n=t.bindingIndex;return t.bindingIndex=t.bindingIndex+e,n}function Od(){return y.lFrame.inI18n}function Pd(e,t){let n=y.lFrame;n.bindingIndex=n.bindingRootIndex=e,mo(t)}function Rd(){return y.lFrame.currentDirectiveIndex}function mo(e){y.lFrame.currentDirectiveIndex=e}function kd(e){let t=y.lFrame.currentDirectiveIndex;return t===-1?null:e[t]}function ja(e){y.lFrame.currentQueryIndex=e}function Ld(e){let t=e[g];return t.type===2?t.declTNode:t.type===1?e[ae]:null}function Va(e,t,n){if(n&I.SkipSelf){let o=t,i=e;for(;o=o.parent,o===null&&!(n&I.Host);)if(o=Ld(i),o===null||(i=i[ft],o.type&10))break;if(o===null)return!1;t=o,e=i}let r=y.lFrame=Ha();return r.currentTNode=t,r.lView=e,!0}function yi(e){let t=Ha(),n=e[g];y.lFrame=t,t.currentTNode=n.firstChild,t.lView=e,t.tView=n,t.contextLView=e,t.bindingIndex=n.bindingStartIndex,t.inI18n=!1}function Ha(){let e=y.lFrame,t=e===null?null:e.child;return t===null?$a(e):t}function $a(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 Ba(){let e=y.lFrame;return y.lFrame=e.parent,e.currentTNode=null,e.lView=null,e}var Ua=Ba;function Ii(){let e=Ba();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 Fd(e){return(y.lFrame.contextLView=wd(e,y.lFrame.contextLView))[V]}function Ge(){return y.lFrame.selectedIndex}function je(e){y.lFrame.selectedIndex=e}function wi(){let e=y.lFrame;return hi(e.tView,e.selectedIndex)}function qa(){return y.lFrame.currentNamespace}var Wa=!0;function Di(){return Wa}function Te(e){Wa=e}function jd(){return cr(J(),C())}function cr(e,t){return new Vd(ee(e,t))}var Vd=(()=>{let t=class t{constructor(r){this.nativeElement=r}};t.__NG_ELEMENT_ID__=jd;let e=t;return e})();function Ei(e,t){e.forEach(n=>Array.isArray(n)?Ei(n,t):t(n))}function Ga(e,t,n){t>=e.length?e.push(n):e.splice(t,0,n)}function Ln(e,t){return t>=e.length-1?e.pop():e.splice(t,1)[0]}function Hd(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 $d(e,t,n){let r=Jt(e,t);return r>=0?e[r|1]=n:(r=~r,Hd(e,r,t,n)),r}function Zr(e,t){let n=Jt(e,t);if(n>=0)return e[n|1]}function Jt(e,t){return Bd(e,t,1)}function Bd(e,t,n){let r=0,o=e.length>>n;for(;o!==r;){let i=r+(o-r>>1),s=e[i<t?o=i:r=i+1}return~(o<zd}),zd="ng",Qd=new S(""),Ja=new S("",{providedIn:"platform",factory:()=>"unknown"});var nb=new S(""),rb=new S("",{providedIn:"root",factory:()=>lr().body?.querySelector("[ngCspNonce]")?.getAttribute("ngCspNonce")||null});var Zd=_({__forward_ref__:_});function Ka(e){return e.__forward_ref__=Ka,e.toString=function(){return Z(this())},e}function B(e){return Xa(e)?e():e}function Xa(e){return typeof e=="function"&&e.hasOwnProperty(Zd)&&e.__forward_ref__===Ka}function ec(e){return e&&!!e.\u0275providers}function dr(e){return typeof e=="string"?e:e==null?"":String(e)}function Yd(e){return typeof e=="function"?e.name||e.toString():typeof e=="object"&&e!=null&&typeof e.type=="function"?e.type.name||e.type.toString():dr(e)}function Jd(e,t){let n=t?`. Dependency path: ${t.join(" > ")} > ${e}`:"";throw new E(-200,e)}function bi(e,t){throw new E(-201,!1)}var vo;function Kd(){return vo}function q(e){let t=vo;return vo=e,t}function tc(e,t,n){let r=ur(e);if(r&&r.providedIn=="root")return r.value===void 0?r.value=r.factory():r.value;if(n&I.Optional)return null;if(t!==void 0)return t;bi(e,"Injector")}var Xd={},kt=Xd,yo="__NG_DI_FLAG__",Vn="ngTempTokenPath",ef="ngTokenPath",tf=/\n/gm,nf="\u0275",Us="__source",xt;function Ee(e){let t=xt;return xt=e,t}function rf(e,t=I.Default){if(xt===void 0)throw new E(-203,!1);return xt===null?tc(e,void 0,t):xt.get(e,t&I.Optional?null:void 0,t)}function X(e,t=I.Default){return(Kd()||rf)(B(e),t)}function A(e,t=I.Default){return X(e,fr(t))}function fr(e){return typeof e>"u"||typeof e=="number"?e:0|(e.optional&&8)|(e.host&&1)|(e.self&&2)|(e.skipSelf&&4)}function Io(e){let t=[];for(let n=0;n ");else if(typeof t=="object"){let i=[];for(let s in t)if(t.hasOwnProperty(s)){let a=t[s];i.push(s+":"+(typeof a=="string"?JSON.stringify(a):Z(a)))}o=`{${i.join(", ")}}`}return`${n}${r?"("+r+")":""}[${o}]: ${e.replace(tf,` `)}`}function lf(){let e=new pr;return A(Ja)==="browser"&&(e.store=uf(lr(),A(Gd))),e}var pr=(()=>{let t=class t{constructor(){this.store={},this.onSerializeCallbacks={}}get(r,o){return this.store[r]!==void 0?this.store[r]:o}set(r,o){this.store[r]=o}remove(r){delete this.store[r]}hasKey(r){return this.store.hasOwnProperty(r)}get isEmpty(){return Object.keys(this.store).length===0}onSerialize(r,o){this.onSerializeCallbacks[r]=o}toJson(){for(let r in this.onSerializeCallbacks)if(this.onSerializeCallbacks.hasOwnProperty(r))try{this.store[r]=this.onSerializeCallbacks[r]()}catch(o){console.warn("Exception in onSerialize callback: ",o)}return JSON.stringify(this.store).replace(/null;function pf(e,t,n=!1){let r=e.getAttribute(Mt);if(r==null)return null;let[o,i]=r.split("|");if(r=n?i:o,!r)return null;let s=i?`|${i}`:"",a=n?o:s,c={};if(r!==""){let u=t.get(pr,null,{optional:!0});u!==null&&(c=u.get(Mi,[])[Number(r)])}let l={data:c,firstChild:e.firstChild??null};return n&&(l.firstChild=e,hr(l,0,e.nextSibling)),a?e.setAttribute(Mt,a):e.removeAttribute(Mt),l}function hf(){nc=pf}function _i(e,t,n=!1){return nc(e,t,n)}function rc(e){let t=e._lView;return t[g].type===2?null:(pi(t)&&(t=t[N]),t)}function mf(e){return e.textContent?.replace(/\s/gm,"")}function gf(e){let t=lr(),n=t.createNodeIterator(e,NodeFilter.SHOW_COMMENT,{acceptNode(i){let s=mf(i);return s==="ngetn"||s==="ngtns"?NodeFilter.FILTER_ACCEPT:NodeFilter.FILTER_REJECT}}),r,o=[];for(;r=n.nextNode();)o.push(r);for(let i of o)i.textContent==="ngetn"?i.replaceWith(t.createTextNode("")):i.remove()}function hr(e,t,n){e.segmentHeads??={},e.segmentHeads[t]=n}function Co(e,t){return e.segmentHeads?.[t]??null}function vf(e,t){let n=e.data,r=n[wo]?.[t]??null;return r===null&&n[Ft]?.[t]&&(r=Ti(e,t)),r}function oc(e,t){return e.data[Ft]?.[t]??null}function Ti(e,t){let n=oc(e,t)??[],r=0;for(let o of n)r+=o[at]*(o[Hn]??1);return r}function mr(e,t){if(typeof e.disconnectedNodes>"u"){let n=e.data[Mn];e.disconnectedNodes=n?new Set(n):null}return!!e.disconnectedNodes?.has(t)}var wn="__parameters__";function yf(e){return function(...n){if(e){let r=e(...n);for(let o in r)this[o]=r[o]}}}function If(e,t,n){return zt(()=>{let r=yf(t);function o(...i){if(this instanceof o)return r.apply(this,i),this;let s=new o(...i);return a.annotation=s,a;function a(c,l,u){let d=c.hasOwnProperty(wn)?c[wn]:Object.defineProperty(c,wn,{value:[]})[wn];for(;d.length<=u;)d.push(null);return(d[u]=d[u]||[]).push(s),c}}return n&&(o.prototype=Object.create(n.prototype)),o.prototype.ngMetadataName=e,o.annotationCls=o,o})}var ob=of(If("Optional"),8);function Ve(e,t){let n=e.hasOwnProperty(On);return n?e[On]:null}var jt=new S(""),ic=new S("",-1),sc=new S(""),$n=class{get(t,n=kt){if(n===kt){let r=new Error(`NullInjectorError: No provider for ${Z(t)}!`);throw r.name="NullInjectorError",r}return n}};function ac(e){return{\u0275providers:e}}function wf(...e){return{\u0275providers:cc(!0,e),\u0275fromNgModule:!0}}function cc(e,...t){let n=[],r=new Set,o,i=s=>{n.push(s)};return Ei(t,s=>{let a=s;xo(a,i,[],r)&&(o||=[],o.push(a))}),o!==void 0&&lc(o,i),n}function lc(e,t){for(let n=0;n{t(i,r)})}}function xo(e,t,n,r){if(e=B(e),!e)return!1;let o=null,i=$s(e),s=!i&&xe(e);if(!i&&!s){let c=e.ngModule;if(i=$s(c),i)o=c;else return!1}else{if(s&&!s.standalone)return!1;o=e}let a=r.has(o);if(s){if(a)return!1;if(r.add(o),s.dependencies){let c=typeof s.dependencies=="function"?s.dependencies():s.dependencies;for(let l of c)xo(l,t,n,r)}}else if(i){if(i.imports!=null&&!a){r.add(o);let l;try{Ei(i.imports,u=>{xo(u,t,n,r)&&(l||=[],l.push(u))})}finally{}l!==void 0&&lc(l,t)}if(!a){let l=Ve(o)||(()=>new o);t({provide:o,useFactory:l,deps:K},o),t({provide:sc,useValue:o,multi:!0},o),t({provide:jt,useValue:()=>X(o),multi:!0},o)}let c=i.providers;if(c!=null&&!a){let l=e;Ni(c,u=>{t(u,l)})}}else return!1;return o!==e&&e.providers!==void 0}function Ni(e,t){for(let n of e)ec(n)&&(n=n.\u0275providers),Array.isArray(n)?Ni(n,t):t(n)}var Df=_({provide:String,useValue:_});function uc(e){return e!==null&&typeof e=="object"&&Df in e}function Ef(e){return!!(e&&e.useExisting)}function bf(e){return!!(e&&e.useFactory)}function ct(e){return typeof e=="function"}function Cf(e){return!!e.useClass}var dc=new S(""),_n={},xf={},Yr;function Si(){return Yr===void 0&&(Yr=new $n),Yr}var Me=class{},Vt=class extends Me{get destroyed(){return this._destroyed}constructor(t,n,r,o){super(),this.parent=n,this.source=r,this.scopes=o,this.records=new Map,this._ngOnDestroyHooks=new Set,this._onDestroyHooks=[],this._destroyed=!1,_o(t,s=>this.processProvider(s)),this.records.set(ic,et(void 0,this)),o.has("environment")&&this.records.set(Me,et(void 0,this));let i=this.records.get(dc);i!=null&&typeof i.value=="string"&&this.scopes.add(i.value),this.injectorDefTypes=new Set(this.get(sc,K,I.Self))}destroy(){this.assertNotDestroyed(),this._destroyed=!0;try{for(let n of this._ngOnDestroyHooks)n.ngOnDestroy();let t=this._onDestroyHooks;this._onDestroyHooks=[];for(let n of t)n()}finally{this.records.clear(),this._ngOnDestroyHooks.clear(),this.injectorDefTypes.clear()}}onDestroy(t){return this.assertNotDestroyed(),this._onDestroyHooks.push(t),()=>this.removeOnDestroy(t)}runInContext(t){this.assertNotDestroyed();let n=Ee(this),r=q(void 0),o;try{return t()}finally{Ee(n),q(r)}}get(t,n=kt,r=I.Default){if(this.assertNotDestroyed(),t.hasOwnProperty(Rs))return t[Rs](this);r=fr(r);let o,i=Ee(this),s=q(void 0);try{if(!(r&I.SkipSelf)){let c=this.records.get(t);if(c===void 0){let l=Sf(t)&&ur(t);l&&this.injectableDefInScope(l)?c=et(Mo(t),_n):c=null,this.records.set(t,c)}if(c!=null)return this.hydrate(t,c)}let a=r&I.Self?Si():this.parent;return n=r&I.Optional&&n===kt?null:n,a.get(t,n)}catch(a){if(a.name==="NullInjectorError"){if((a[Vn]=a[Vn]||[]).unshift(Z(t)),i)throw a;return af(a,t,"R3InjectorError",this.source)}else throw a}finally{q(s),Ee(i)}}resolveInjectorInitializers(){let t=Ee(this),n=q(void 0),r;try{let o=this.get(jt,K,I.Self);for(let i of o)i()}finally{Ee(t),q(n)}}toString(){let t=[],n=this.records;for(let r of n.keys())t.push(Z(r));return`R3Injector[${t.join(", ")}]`}assertNotDestroyed(){if(this._destroyed)throw new E(205,!1)}processProvider(t){t=B(t);let n=ct(t)?t:B(t&&t.provide),r=_f(t);if(!ct(t)&&t.multi===!0){let o=this.records.get(n);o||(o=et(void 0,_n,!0),o.factory=()=>Io(o.multi),this.records.set(n,o)),n=t,o.multi.push(t)}this.records.set(n,r)}hydrate(t,n){return n.value===_n&&(n.value=xf,n.value=n.factory()),typeof n.value=="object"&&n.value&&Nf(n.value)&&this._ngOnDestroyHooks.add(n.value),n.value}injectableDefInScope(t){if(!t.providedIn)return!1;let n=B(t.providedIn);return typeof n=="string"?n==="any"||this.scopes.has(n):this.injectorDefTypes.has(n)}removeOnDestroy(t){let n=this._onDestroyHooks.indexOf(t);n!==-1&&this._onDestroyHooks.splice(n,1)}};function Mo(e){let t=ur(e),n=t!==null?t.factory:Ve(e);if(n!==null)return n;if(e instanceof S)throw new E(204,!1);if(e instanceof Function)return Mf(e);throw new E(204,!1)}function Mf(e){if(e.length>0)throw new E(204,!1);let n=qd(e);return n!==null?()=>n.factory(e):()=>new e}function _f(e){if(uc(e))return et(void 0,e.useValue);{let t=fc(e);return et(t,_n)}}function fc(e,t,n){let r;if(ct(e)){let o=B(e);return Ve(o)||Mo(o)}else if(uc(e))r=()=>B(e.useValue);else if(bf(e))r=()=>e.useFactory(...Io(e.deps||[]));else if(Ef(e))r=()=>X(B(e.useExisting));else{let o=B(e&&(e.useClass||e.provide));if(Tf(e))r=()=>new o(...Io(e.deps));else return Ve(o)||Mo(o)}return r}function et(e,t,n=!1){return{factory:e,value:t,multi:n?[]:void 0}}function Tf(e){return!!e.deps}function Nf(e){return e!==null&&typeof e=="object"&&typeof e.ngOnDestroy=="function"}function Sf(e){return typeof e=="function"||typeof e=="object"&&e instanceof S}function _o(e,t){for(let n of e)Array.isArray(n)?_o(n,t):n&&ec(n)?_o(n.\u0275providers,t):t(n)}function ib(e,t){e instanceof Vt&&e.assertNotDestroyed();let n,r=Ee(e),o=q(void 0);try{return t()}finally{Ee(r),q(o)}}function Af(e){let t=he.ng;if(t&&t.\u0275compilerFacade)return t.\u0275compilerFacade;throw new Error("JIT compiler unavailable")}function Of(e){return typeof e=="function"}var To=class{constructor(t,n,r){this.previousValue=t,this.currentValue=n,this.firstChange=r}isFirstChange(){return this.firstChange}};function pc(e,t,n,r){t!==null?t.applyValueToInputSignal(t,r):e[n]=r}function Pf(){return hc}function hc(e){return e.type.prototype.ngOnChanges&&(e.setInput=kf),Rf}Pf.ngInherit=!0;function Rf(){let e=gc(this),t=e?.current;if(t){let n=e.previous;if(n===Tt)e.previous=t;else for(let r in t)n[r]=t[r];e.current=null,this.ngOnChanges(t)}}function kf(e,t,n,r,o){let i=this.declaredInputs[r],s=gc(e)||Lf(e,{previous:Tt,current:null}),a=s.current||(s.current={}),c=s.previous,l=c[i];a[i]=new To(l&&l.currentValue,n,c===Tt),pc(e,t,o,n)}var mc="__ngSimpleChanges__";function gc(e){return e[mc]||null}function Lf(e,t){return e[mc]=t}var qs=null;var le=function(e,t,n){qs?.(e,t,n)};function Ff(e,t,n){let{ngOnChanges:r,ngOnInit:o,ngDoCheck:i}=t.type.prototype;if(r){let s=hc(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 Ai(e,t){for(let n=t.directiveStart,r=t.directiveEnd;n=r)break}else t[c]<0&&(e[Xe]+=65536),(a>14>16&&(e[m]&3)===t&&(e[m]+=16384,Ws(a,i)):Ws(a,i)}var nt=-1,He=class{constructor(t,n,r){this.factory=t,this.resolving=!1,this.canSeeViewProviders=n,this.injectImpl=r}};function Vf(e){return e instanceof He}function Hf(e){return e!=null&&typeof e=="object"&&(e.insertBeforeIndex===null||typeof e.insertBeforeIndex=="number"||Array.isArray(e.insertBeforeIndex))}function $f(e){return(e.flags&8)!==0}function Bf(e){return(e.flags&16)!==0}function yc(e){return e!==nt}function Bn(e){return e&32767}function Uf(e){return e>>16}function Un(e,t){let n=Uf(e),r=t;for(;n>0;)r=r[ft],n--;return r}var No=!0;function qn(e){let t=No;return No=e,t}var qf=256,Ic=qf-1,wc=5,Wf=0,ue={};function Gf(e,t,n){let r;typeof n=="string"?r=n.charCodeAt(0)||0:n.hasOwnProperty(bt)&&(r=n[bt]),r==null&&(r=n[bt]=Wf++);let o=r&Ic,i=1<>wc)]|=i}function Wn(e,t){let n=Dc(e,t);if(n!==-1)return n;let r=t[g];r.firstCreatePass&&(e.injectorIndex=t.length,Kr(r.data,e),Kr(t,null),Kr(r.blueprint,null));let o=Oi(e,t),i=e.injectorIndex;if(yc(o)){let s=Bn(o),a=Un(o,t),c=a[g].data;for(let l=0;l<8;l++)t[i+l]=a[s+l]|c[s+l]}return t[i+8]=o,i}function Kr(e,t){e.push(0,0,0,0,0,0,0,0,t)}function Dc(e,t){return e.injectorIndex===-1||e.parent&&e.parent.injectorIndex===e.injectorIndex||t[e.injectorIndex+8]===null?-1:e.injectorIndex}function Oi(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=Mc(o),r===null)return nt;if(n++,o=o[ft],r.injectorIndex!==-1)return r.injectorIndex|n<<16}return nt}function So(e,t,n){Gf(e,t,n)}function Ec(e,t,n){if(n&I.Optional||e!==void 0)return e;bi(t,"NodeInjector")}function bc(e,t,n,r){if(n&I.Optional&&r===void 0&&(r=null),!(n&(I.Self|I.Host))){let o=e[it],i=q(void 0);try{return o?o.get(t,r,n&I.Optional):tc(t,r,n&I.Optional)}finally{q(i)}}return Ec(r,t,n)}function Cc(e,t,n,r=I.Default,o){if(e!==null){if(t[m]&2048&&!(r&I.Self)){let s=Jf(e,t,n,r,ue);if(s!==ue)return s}let i=xc(e,t,n,r,ue);if(i!==ue)return i}return bc(t,n,r,o)}function xc(e,t,n,r,o){let i=Zf(n);if(typeof i=="function"){if(!Va(t,e,r))return r&I.Host?Ec(o,n,r):bc(t,n,r,o);try{let s;if(s=i(r),s==null&&!(r&I.Optional))bi(n);else return s}finally{Ua()}}else if(typeof i=="number"){let s=null,a=Dc(e,t),c=nt,l=r&I.Host?t[G][ae]:null;for((a===-1||r&I.SkipSelf)&&(c=a===-1?Oi(e,t):t[a+8],c===nt||!zs(r,!1)?a=-1:(s=t[g],a=Bn(c),t=Un(c,t)));a!==-1;){let u=t[g];if(Gs(i,a,u.data)){let d=zf(a,t,n,s,r,l);if(d!==ue)return d}c=t[a+8],c!==nt&&zs(r,t[g].data[a+8]===l)&&Gs(i,a,t)?(s=u,a=Bn(c),t=Un(c,t)):a=-1}}return o}function zf(e,t,n,r,o,i){let s=t[g],a=s.data[e+8],c=r==null?pt(a)&&No:r!=s&&(a.type&3)!==0,l=o&I.Host&&i===a,u=Qf(a,s,n,c,l);return u!==null?lt(t,s,u,a):ue}function Qf(e,t,n,r,o){let i=e.providerIndexes,s=t.data,a=i&1048575,c=e.directiveStart,l=e.directiveEnd,u=i>>20,d=r?a:a+u,f=o?a+u:l;for(let p=d;p=c&&h.type===n)return p}if(o){let p=s[c];if(p&&ht(p)&&p.type===n)return c}return null}function lt(e,t,n,r){let o=e[n],i=t.data;if(Vf(o)){let s=o;s.resolving&&Jd(Yd(i[n]));let a=qn(s.canSeeViewProviders);s.resolving=!0;let c,l=s.injectImpl?q(s.injectImpl):null,u=Va(e,r,I.Default);try{o=e[n]=s.factory(void 0,i,e,r),t.firstCreatePass&&n>=r.directiveStart&&Ff(n,i[n],t)}finally{l!==null&&q(l),qn(a),s.resolving=!1,Ua()}}return o}function Zf(e){if(typeof e=="string")return e.charCodeAt(0)||0;let t=e.hasOwnProperty(bt)?e[bt]:void 0;return typeof t=="number"?t>=0?t&Ic:Yf:t}function Gs(e,t,n){let r=1<>wc)]&r)}function zs(e,t){return!(e&I.Self)&&!(e&I.Host&&t)}var Le=class{constructor(t,n){this._tNode=t,this._lView=n}get(t,n,r){return Cc(this._tNode,this._lView,t,fr(r),n)}};function Yf(){return new Le(J(),C())}function sb(e){return zt(()=>{let t=e.prototype.constructor,n=t[On]||Ao(t),r=Object.prototype,o=Object.getPrototypeOf(e.prototype).constructor;for(;o&&o!==r;){let i=o[On]||Ao(o);if(i&&i!==n)return i;o=Object.getPrototypeOf(o)}return i=>new i})}function Ao(e){return Xa(e)?()=>{let t=Ao(B(e));return t&&t()}:Ve(e)}function Jf(e,t,n,r,o){let i=e,s=t;for(;i!==null&&s!==null&&s[m]&2048&&!(s[m]&512);){let a=xc(i,s,n,r|I.Self,ue);if(a!==ue)return a;let c=i.parent;if(!c){let l=s[Na];if(l){let u=l.get(n,ue,r);if(u!==ue)return u}c=Mc(s),s=s[ft]}i=c}return o}function Mc(e){let t=e[g],n=t.type;return n===2?t.declTNode:n===1?e[ae]:null}function Qs(e,t=null,n=null,r){let o=_c(e,t,n,r);return o.resolveInjectorInitializers(),o}function _c(e,t=null,n=null,r,o=new Set){let i=[n||K,wf(e)];return r=r||(typeof e=="object"?void 0:Z(e)),new Vt(i,t||Si(),r||null,o)}var mt=(()=>{let t=class t{static create(r,o){if(Array.isArray(r))return Qs({name:""},o,r,"");{let i=r.name??"";return Qs({name:i},r.parent,r.providers,i)}}};t.THROW_IF_NOT_FOUND=kt,t.NULL=new $n,t.\u0275prov=$({token:t,providedIn:"any",factory:()=>X(ic)}),t.__NG_ELEMENT_ID__=-1;let e=t;return e})(),Kf="ngOriginalError";function Xr(e){return e[Kf]}var $e=class{constructor(){this._console=console}handleError(t){let n=this._findOriginalError(t);this._console.error("ERROR",t),n&&this._console.error("ORIGINAL ERROR",n)}_findOriginalError(t){let n=t&&Xr(t);for(;n&&Xr(n);)n=Xr(n);return n||null}},Tc=new S("",{providedIn:"root",factory:()=>A($e).handleError.bind(void 0)}),Dn=new S(""),Nc=!1,Sc=new S("",{providedIn:"root",factory:()=>Nc});var Gn=class{constructor(t){this.changingThisBreaksApplicationSecurity=t}toString(){return`SafeValue must use [property]=binding: ${this.changingThisBreaksApplicationSecurity} (see ${Ia})`}};function Ac(e){return e instanceof Gn?e.changingThisBreaksApplicationSecurity:e}function Xf(e,t){let n=ep(e);if(n!=null&&n!==t){if(n==="ResourceURL"&&t==="URL")return!0;throw new Error(`Required a safe ${t}, got a ${n} (see ${Ia})`)}return n===t}function ep(e){return e instanceof Gn&&e.getTypeName()||null}var tp=/^(?!javascript:)(?:[a-z0-9+.-]+:|[^&:\/?#]*(?:[\/?#]|$))/i;function np(e){return e=String(e),e.match(tp)?e:"unsafe:"+e}var Oc=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}(Oc||{});function ab(e){let t=rp();return t?t.sanitize(Oc.URL,e)||"":Xf(e,"URL")?Ac(e):np(dr(e))}function rp(){let e=C();return e&&e[ge].sanitizer}var op=/^>|^->||--!>|)/g,sp="\u200B$1\u200B";function ap(e){return e.replace(op,t=>t.replace(ip,sp))}var Pc=new Map,cp=0;function lp(){return cp++}function up(e){Pc.set(e[ar],e)}function dp(e){Pc.delete(e[ar])}var Zs="__ngContext__";function Be(e,t){me(t)?(e[Zs]=t[ar],up(t)):e[Zs]=t}function fp(e){return e.ownerDocument.body}function Rc(e){return e instanceof Function?e():e}function En(e){return(e??A(mt)).get(Ja)==="browser"}var Oo=function(e){return e[e.Important=1]="Important",e[e.DashCase=2]="DashCase",e}(Oo||{}),pp;function Pi(e,t){return pp(e,t)}function tt(e,t,n,r,o){if(r!=null){let i,s=!1;Y(r)?i=r:me(r)&&(s=!0,r=r[P]);let a=k(r);e===0&&n!==null?o==null?Hc(t,n,a):zn(t,n,a,o||null,!0):e===1&&n!==null?zn(t,n,a,o||null,!0):e===2?Bc(t,a,s):e===3&&t.destroyNode(a),i!=null&&Np(t,e,i,n,o)}}function kc(e,t){return e.createText(t)}function hp(e,t,n){e.setValue(t,n)}function Lc(e,t){return e.createComment(ap(t))}function Ri(e,t,n){return e.createElement(t,n)}function mp(e,t){Fc(e,t),t[P]=null,t[ae]=null}function gp(e,t,n,r,o,i){r[P]=o,r[ae]=t,vr(e,r,n,1,o,i)}function Fc(e,t){vr(e,t,t[T],2,null,null)}function vp(e){let t=e[St];if(!t)return eo(e[g],e);for(;t;){let n=null;if(me(t))n=t[St];else{let r=t[H];r&&(n=r)}if(!n){for(;t&&!t[se]&&t!==e;)me(t)&&eo(t[g],t),t=t[F];t===null&&(t=e),me(t)&&eo(t[g],t),n=t&&t[se]}t=n}}function yp(e,t,n,r){let o=H+r,i=n.length;r>0&&(n[o-1][se]=t),r0&&(e[n-1][se]=r[se]);let i=Ln(e,H+t);mp(r[g],r);let s=i[st];s!==null&&s.detachView(i[g]),r[F]=null,r[se]=null,r[m]&=-129}return r}function gr(e,t){if(!(t[m]&256)){let n=t[T];n.destroyNode&&vr(e,t,n,3,null,null),vp(t)}}function eo(e,t){if(!(t[m]&256)){t[m]&=-129,t[m]|=256,t[Fe]&&es(t[Fe]),Dp(e,t),wp(e,t),t[g].type===1&&t[T].destroy();let n=t[sr];if(n!==null&&Y(t[F])){n!==t[F]&&jc(n,t);let r=t[st];r!==null&&r.detachView(e)}dp(t)}}function wp(e,t){let n=e.cleanup,r=t[Nt];if(n!==null)for(let i=0;i=0?r[s]():r[-s].unsubscribe(),i+=2}else{let s=r[n[i+1]];n[i].call(s)}r!==null&&(t[Nt]=null);let o=t[Ct];if(o!==null){t[Ct]=null;for(let i=0;i-1){let{encapsulation:i}=e.data[r.directiveStart+o];if(i===rt.None||i===rt.Emulated)return null}return ee(r,n)}}function zn(e,t,n,r,o){e.insertBefore(t,n,r,o)}function Hc(e,t,n){e.appendChild(t,n)}function Ys(e,t,n,r,o){r!==null?zn(e,t,n,r,o):Hc(e,t,n)}function bp(e,t,n,r){e.removeChild(t,n,r)}function ki(e,t){return e.parentNode(t)}function Cp(e,t){return e.nextSibling(t)}function xp(e,t,n){return _p(e,t,n)}function Mp(e,t,n){return e.type&40?ee(e,n):null}var _p=Mp,Js;function Li(e,t,n,r){let o=Vc(e,r,t),i=t[T],s=r.parent||t[ae],a=xp(s,r,t);if(o!=null)if(Array.isArray(n))for(let c=0;cN&&Gc(e,t,N,!1),le(s?2:0,o),n(r,o)}finally{je(i),le(s?3:1,o)}}function Yc(e,t,n){if(Sa(t)){let r=R(null);try{let o=t.directiveStart,i=t.directiveEnd;for(let s=o;snull;function Fp(e){Qa(e)?Uc(e):gf(e)}function jp(){el=Fp}function Vp(e,t,n,r,o,i){let s=t?t.injectorIndex:-1,a=0;return Qt()&&(a|=128),{type:n,index:r,insertBeforeIndex:null,injectorIndex:s,directiveStart:-1,directiveEnd:-1,directiveStylingLast:-1,componentOffset:-1,propertyBindings:null,flags:a,providerIndexes:0,value:o,attrs:i,mergedAttrs:null,localNames:null,initialInputs:void 0,inputs:null,outputs:null,tView:null,next:null,prev:null,projectionNext:null,child:null,parent:t,projection:null,styles:null,stylesWithoutHost:null,residualStyles:void 0,classes:null,classesWithoutHost:null,residualClasses:void 0,classBindings:0,styleBindings:0}}function Ks(e,t,n,r,o){for(let i in t){if(!t.hasOwnProperty(i))continue;let s=t[i];if(s===void 0)continue;r??={};let a,c=ot.None;Array.isArray(s)?(a=s[0],c=s[1]):a=s;let l=i;if(o!==null){if(!o.hasOwnProperty(i))continue;l=o[i]}e===0?Xs(r,n,l,a,c):Xs(r,n,l,a)}return r}function Xs(e,t,n,r,o){let i;e.hasOwnProperty(n)?(i=e[n]).push(t,r):i=e[n]=[t,r],o!==void 0&&i.push(o)}function Hp(e,t,n){let r=t.directiveStart,o=t.directiveEnd,i=e.data,s=t.attrs,a=[],c=null,l=null;for(let u=r;u0;){let n=e[--t];if(typeof n=="number"&&n<0)return n}return 0}function Wp(e,t,n,r){let o=n.directiveStart,i=n.directiveEnd;pt(n)&&Kp(t,n,e.data[o+n.componentOffset]),e.firstCreatePass||Wn(n,t),Be(r,t);let s=n.initialInputs;for(let a=o;a{Ot(e.lView)},consumerOnSignalRead(){this.lView[Fe]=this}});function dl(e){return pl(e[St])}function fl(e){return pl(e[se])}function pl(e){for(;e!==null&&!Y(e);)e=e[se];return e}var hl=100;function ml(e,t=!0,n=0){let r=e[ge],o=r.rendererFactory,i=!1;i||o.begin?.();try{dh(e,n)}catch(s){throw t&&sl(e,s),s}finally{i||(o.end?.(),r.inlineEffectRunner?.flush())}}function dh(e,t){Lo(e,t);let n=0;for(;gi(e);){if(n===hl)throw new E(103,!1);n++,Lo(e,1)}}function fh(e,t,n,r){let o=t[m];if((o&256)===256)return;let i=!1;!i&&t[ge].inlineEffectRunner?.flush(),yi(t);let s=null,a=null;!i&&ph(e)&&(a=ah(t),s=Ki(a));try{Ra(t),Sd(e.bindingStartIndex),n!==null&&Zc(e,t,n,2,r);let c=(o&3)===3;if(!i)if(c){let d=e.preOrderCheckHooks;d!==null&&Tn(t,d,null)}else{let d=e.preOrderHooks;d!==null&&Nn(t,d,0,null),Jr(t,0)}if(hh(t),gl(t,0),e.contentQueries!==null&&il(e,t),!i)if(c){let d=e.contentCheckHooks;d!==null&&Tn(t,d)}else{let d=e.contentHooks;d!==null&&Nn(t,d,1),Jr(t,1)}Op(e,t);let l=e.components;l!==null&&yl(t,l,0);let u=e.viewQuery;if(u!==null&&ko(2,u,r),!i)if(c){let d=e.viewCheckHooks;d!==null&&Tn(t,d)}else{let d=e.viewHooks;d!==null&&Nn(t,d,2),Jr(t,2)}if(e.firstUpdatePass===!0&&(e.firstUpdatePass=!1),t[Qr]){for(let d of t[Qr])d();t[Qr]=null}i||(t[m]&=-73)}catch(c){throw Ot(t),c}finally{a!==null&&(Xi(a,s),lh(a)),Ii()}}function ph(e){return e.type!==2}function gl(e,t){for(let n=dl(e);n!==null;n=fl(n))for(let r=H;r-1&&(Ht(t,r),Ln(n,r))}this._attachedToViewContainer=!1}gr(this._lView[g],this._lView)}onDestroy(t){Dd(this._lView,t)}markForCheck(){Bi(this._cdRefInjectingView||this._lView)}detach(){this._lView[m]&=-129}reattach(){ho(this._lView),this._lView[m]|=128}detectChanges(){this._lView[m]|=1024,ml(this._lView,this.notifyErrorHandler)}checkNoChanges(){}attachToViewContainerRef(){if(this._appRef)throw new E(902,!1);this._attachedToViewContainer=!0}detachFromAppRef(){this._appRef=null,Fc(this._lView[g],this._lView)}attachToAppRef(t){if(this._attachedToViewContainer)throw new E(902,!1);this._appRef=t,ho(this._lView)}},gh=(()=>{let t=class t{};t.__NG_ELEMENT_ID__=Ih;let e=t;return e})(),vh=gh,yh=class extends vh{constructor(t,n,r){super(),this._declarationLView=t,this._declarationTContainer=n,this.elementRef=r}get ssrId(){return this._declarationTContainer.tView?.ssrId||null}createEmbeddedView(t,n){return this.createEmbeddedViewImpl(t,n)}createEmbeddedViewImpl(t,n,r){let o=Er(this._declarationLView,this._declarationTContainer,t,{injector:n,dehydratedView:r});return new Ue(o)}};function Ih(){return wh(J(),C())}function wh(e,t){return e.type&4?new yh(t,e,cr(e,t)):null}var Fo="<-- AT THIS LOCATION";function Dh(e){switch(e){case 4:return"view container";case 2:return"element";case 8:return"ng-container";case 32:return"icu";case 64:return"i18n";case 16:return"projection";case 1:return"text";default:return""}}function Eh(e,t){let n=`During serialization, Angular was unable to find an element in the DOM: `,r=`${_h(e,t,!1)} `,o=Nh();throw new E(-502,n+r+o)}function bh(e){let t="During serialization, Angular detected DOM nodes that were created outside of Angular context and provided as projectable nodes (likely via `ViewContainerRef.createComponent` or `createComponent` APIs). Hydration is not supported for such cases, consider refactoring the code to avoid this pattern or using `ngSkipHydration` on the host element of the component.\n\n",n=`${Th(e)} `,r=t+n+Sh();return new E(-503,r)}function Ch(e){let t=[];if(e.attrs)for(let n=0;n${t}`;case 8:return"";case 4:return"";default:return`#node(${Dh(e.type)})`}}function Sn(e,t="\u2026"){let n=e;switch(n.nodeType){case Node.ELEMENT_NODE:let r=n.tagName.toLowerCase(),o=Mh(n);return`<${r}${o?" "+o:""}>${t}`;case Node.TEXT_NODE:let i=n.textContent?Qn(n.textContent):"";return`#text${i?`(${i})`:""}`;case Node.COMMENT_NODE:return``;default:return`#node(${n.nodeType})`}}function _h(e,t,n){let r=" ",o="";t.prev?(o+=r+`\u2026 `,o+=r+to(t.prev)+` `):t.type&&t.type&12&&(o+=r+`\u2026 `),n?(o+=r+to(t)+` `,o+=r+` ${Fo} `):o+=r+to(t)+` ${Fo} `,o+=r+`\u2026 `;let i=t.type?Vc(e[g],t,e):null;return i&&(o=Sn(i,` `+o)),o}function Th(e){let t=" ",n="",r=e;return r.previousSibling&&(n+=t+`\u2026 `,n+=t+Sn(r.previousSibling)+` `),n+=t+Sn(r)+` ${Fo} `,e.nextSibling&&(n+=t+`\u2026 `),e.parentNode&&(n=Sn(r.parentNode,` `+n)),n}function Nh(e){return`To fix this problem: * check ${e?`the "${e}"`:"corresponding"} component for hydration-related issues * check to see if your template has valid HTML structure * or skip hydration by adding the \`ngSkipHydration\` attribute to its host node in a template `}function Sh(){return`Note: attributes are only displayed to better represent the DOM but have no effect on hydration mismatches. `}function Ah(e){return e.replace(/\s+/gm,"")}function Qn(e,t=50){return e?(e=Ah(e),e.length>t?`${e.substring(0,t-1)}\u2026`:e):""}function Il(e){let t=e[At]??[],r=e[F][T];for(let o of t)Oh(o,r);e[At]=K}function Oh(e,t){let n=0,r=e.firstChild;if(r){let o=e.data[at];for(;n0&&n[o-1]===r){let i=n[o]||1;n[o]=i+1}else n.push(r,"")}return n.join("")}function Lh(e){let t=e.match(Rh),[n,r,o,i]=t,s=r?parseInt(r,10):o,a=[];for(let[c,l,u]of i.matchAll(/(f|n)(\d*)/g)){let d=parseInt(u,10)||1;a.push(l,d)}return[s,...a]}function Fh(e){return!e.prev&&e.parent?.type===8}function no(e){return e.index-N}function Ut(e,t){return!(e.type&16)&&!!t[e.index]&&!k(t[e.index])?.isConnected}function Cr(e,t,n,r){let o=null,i=no(r),s=e.data[bo];if(s?.[i])o=Vh(s[i],n);else if(t.firstChild===r)o=e.firstChild;else{let a=r.prev===null,c=r.prev??r.parent;if(Fh(r)){let l=no(r.parent);o=Co(e,l)}else{let l=ee(c,n);if(a)o=l.firstChild;else{let u=no(c),d=Co(e,u);if(c.type===2&&d){let p=Ti(e,u)+1;o=xr(p,d)}else o=l.nextSibling}}}return o}function xr(e,t){let n=t;for(let r=0;r0&&(i.firstChild=e,e=xr(r[at],e)),n.push(i)}return[e,n]}var Dl=()=>null;function Uh(e,t){let n=e[At];return!t||n===null||n.length===0?null:n[0].data[Eo]===t?n.shift():(Il(e),null)}function qh(){Dl=Uh}function qt(e,t){return Dl(e,t)}var Vo=class{},Ho=class{},Yn=class{};function Wh(e){let t=Error(`No component factory found for ${Z(e)}.`);return t[Gh]=e,t}var Gh="ngComponent";var $o=class{resolveComponentFactory(t){throw Wh(t)}},Mr=(()=>{let t=class t{};t.NULL=new $o;let e=t;return e})(),Bo=class{},ub=(()=>{let t=class t{constructor(){this.destroyNode=null}};t.__NG_ELEMENT_ID__=()=>zh();let e=t;return e})();function zh(){let e=C(),t=J(),n=_e(t.index,e);return(me(n)?n:e)[T]}var Qh=(()=>{let t=class t{};t.\u0275prov=$({token:t,providedIn:"root",factory:()=>null});let e=t;return e})(),ro={};function Zh(e){return typeof e=="function"&&e[Sr]!==void 0}function El(e){return Zh(e)&&typeof e.set=="function"}function db(e){let t=R(null);try{return e()}finally{R(t)}}var fb=(()=>{let t=class t{};t.__NG_ELEMENT_ID__=Yh;let e=t;return e})();function Yh(e){return Jh(J(),C(),(e&16)===16)}function Jh(e,t,n){if(pt(e)&&!n){let r=_e(e.index,t);return new Ue(r,r)}else if(e.type&47){let r=t[G];return new Ue(r,t)}return null}var ta=new Set;function _r(e){ta.has(e)||(ta.add(e),performance?.mark?.("mark_feature_usage",{detail:{feature:e}}))}function na(...e){}function Kh(){let e=typeof he.requestAnimationFrame=="function",t=he[e?"requestAnimationFrame":"setTimeout"],n=he[e?"cancelAnimationFrame":"clearTimeout"];if(typeof Zone<"u"&&t&&n){let r=t[Zone.__symbol__("OriginalDelegate")];r&&(t=r);let o=n[Zone.__symbol__("OriginalDelegate")];o&&(n=o)}return{nativeRequestAnimationFrame:t,nativeCancelAnimationFrame:n}}var W=class e{constructor({enableLongStackTrace:t=!1,shouldCoalesceEventChangeDetection:n=!1,shouldCoalesceRunChangeDetection:r=!1}){if(this.hasPendingMacrotasks=!1,this.hasPendingMicrotasks=!1,this.isStable=!0,this.onUnstable=new be(!1),this.onMicrotaskEmpty=new be(!1),this.onStable=new be(!1),this.onError=new be(!1),typeof Zone>"u")throw new E(908,!1);Zone.assertZonePatched();let o=this;o._nesting=0,o._outer=o._inner=Zone.current,Zone.TaskTrackingZoneSpec&&(o._inner=o._inner.fork(new Zone.TaskTrackingZoneSpec)),t&&Zone.longStackTraceZoneSpec&&(o._inner=o._inner.fork(Zone.longStackTraceZoneSpec)),o.shouldCoalesceEventChangeDetection=!r&&n,o.shouldCoalesceRunChangeDetection=r,o.lastRequestAnimationFrameId=-1,o.nativeRequestAnimationFrame=Kh().nativeRequestAnimationFrame,tm(o)}static isInAngularZone(){return typeof Zone<"u"&&Zone.current.get("isAngularZone")===!0}static assertInAngularZone(){if(!e.isInAngularZone())throw new E(909,!1)}static assertNotInAngularZone(){if(e.isInAngularZone())throw new E(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,Xh,na,na);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)}},Xh={};function Ui(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 em(e){e.isCheckStableRunning||e.lastRequestAnimationFrameId!==-1||(e.lastRequestAnimationFrameId=e.nativeRequestAnimationFrame.call(he,()=>{e.fakeTopEventTask||(e.fakeTopEventTask=Zone.root.scheduleEventTask("fakeTopEventTask",()=>{e.lastRequestAnimationFrameId=-1,Uo(e),e.isCheckStableRunning=!0,Ui(e),e.isCheckStableRunning=!1},void 0,()=>{},()=>{})),e.fakeTopEventTask.invoke()}),Uo(e))}function tm(e){let t=()=>{em(e)};e._inner=e._inner.fork({name:"angular",properties:{isAngularZone:!0},onInvokeTask:(n,r,o,i,s,a)=>{if(nm(a))return n.invokeTask(o,i,s,a);try{return ra(e),n.invokeTask(o,i,s,a)}finally{(e.shouldCoalesceEventChangeDetection&&i.type==="eventTask"||e.shouldCoalesceRunChangeDetection)&&t(),oa(e)}},onInvoke:(n,r,o,i,s,a,c)=>{try{return ra(e),n.invoke(o,i,s,a,c)}finally{e.shouldCoalesceRunChangeDetection&&t(),oa(e)}},onHasTask:(n,r,o,i)=>{n.hasTask(o,i),r===o&&(i.change=="microTask"?(e._hasPendingMicrotasks=i.microTask,Uo(e),Ui(e)):i.change=="macroTask"&&(e.hasPendingMacrotasks=i.macroTask))},onHandleError:(n,r,o,i)=>(n.handleError(o,i),e.runOutsideAngular(()=>e.onError.emit(i)),!1)})}function Uo(e){e._hasPendingMicrotasks||(e.shouldCoalesceEventChangeDetection||e.shouldCoalesceRunChangeDetection)&&e.lastRequestAnimationFrameId!==-1?e.hasPendingMicrotasks=!0:e.hasPendingMicrotasks=!1}function ra(e){e._nesting++,e.isStable&&(e.isStable=!1,e.onUnstable.emit(null))}function oa(e){e._nesting--,Ui(e)}var qo=class{constructor(){this.hasPendingMicrotasks=!1,this.hasPendingMacrotasks=!1,this.isStable=!0,this.onUnstable=new be,this.onMicrotaskEmpty=new be,this.onStable=new be,this.onError=new be}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 nm(e){return!Array.isArray(e)||e.length!==1?!1:e[0].data?.__ignore_ng_zone__===!0}function rm(e="zone.js",t){return e==="noop"?new qo:e==="zone.js"?new W(t):e}var bl=(()=>{let t=class t{constructor(){this.handler=null,this.internalCallbacks=[]}execute(){let r=[...this.internalCallbacks];this.internalCallbacks.length=0;for(let o of r)o();this.handler?.execute()}ngOnDestroy(){this.handler?.destroy(),this.handler=null,this.internalCallbacks.length=0}};t.\u0275prov=$({token:t,providedIn:"root",factory:()=>new t});let e=t;return e})();function Wo(e,t,n){let r=n?e.styles:null,o=n?e.classes:null,i=0;if(t!==null)for(let s=0;s0&&qc(e,n,i.join(" "))}}function um(e,t,n){let r=e.projection=[];for(let o=0;o{let t=class t{};t.__NG_ELEMENT_ID__=pm;let e=t;return e})();function pm(){let e=J();return mm(e,C())}var hm=fm,Cl=class extends hm{constructor(t,n,r){super(),this._lContainer=t,this._hostTNode=n,this._hostLView=r}get element(){return cr(this._hostTNode,this._hostLView)}get injector(){return new Le(this._hostTNode,this._hostLView)}get parentInjector(){let t=Oi(this._hostTNode,this._hostLView);if(yc(t)){let n=Un(t,this._hostLView),r=Bn(t),o=n[g].data[r+8];return new Le(o,n)}else return new Le(null,this._hostLView)}clear(){for(;this.length>0;)this.remove(this.length-1)}get(t){let n=sa(this._lContainer);return n!==null&&n[t]||null}get length(){return this._lContainer.length-H}createEmbeddedView(t,n,r){let o,i;typeof r=="number"?o=r:r!=null&&(o=r.index,i=r.injector);let s=qt(this._lContainer,t.ssrId),a=t.createEmbeddedViewImpl(n||{},i,s);return this.insertImpl(a,o,$t(this._hostTNode,s)),a}createComponent(t,n,r,o,i){let s=t&&!Of(t),a;if(s)a=n;else{let h=n||{};a=h.index,r=h.injector,o=h.projectableNodes,i=h.environmentInjector||h.ngModuleRef}let c=s?t:new Wt(xe(t)),l=r||this.parentInjector;if(!i&&c.ngModule==null){let b=(s?l:this.parentInjector).get(Me,null);b&&(i=b)}let u=xe(c.componentType??{}),d=qt(this._lContainer,u?.id??null),f=d?.firstChild??null,p=c.create(l,o,f,i);return this.insertImpl(p.hostView,a,$t(this._hostTNode,d)),p}insert(t,n){return this.insertImpl(t,n,!0)}insertImpl(t,n,r){let o=t._lView;if(yd(o)){let a=this.indexOf(t);if(a!==-1)this.detach(a);else{let c=o[F],l=new Cl(c,c[ae],c[F]);l.detach(l.indexOf(t))}}let i=this._adjustIndex(n),s=this._lContainer;return br(s,o,i,r),t.attachToViewContainerRef(),Ga(oo(s),i,t),t}move(t,n){return this.insert(t,n)}indexOf(t){let n=sa(this._lContainer);return n!==null?n.indexOf(t):-1}remove(t){let n=this._adjustIndex(t,-1),r=Ht(this._lContainer,n);r&&(Ln(oo(this._lContainer),n),gr(r[g],r))}detach(t){let n=this._adjustIndex(t,-1),r=Ht(this._lContainer,n);return r&&Ln(oo(this._lContainer),n)!=null?new Ue(r):null}_adjustIndex(t,n=0){return t??this.length+n}};function sa(e){return e[Pn]}function oo(e){return e[Pn]||(e[Pn]=[])}function mm(e,t){let n,r=t[e.index];return Y(r)?n=r:(n=ol(r,t,null,e),t[e.index]=n,Dr(t,n)),xl(n,t,e,r),new Cl(n,e,t)}function gm(e,t){let n=e[T],r=n.createComment(""),o=ee(t,e),i=ki(n,o);return zn(n,i,r,Cp(n,o),!1),r}var xl=Ml,qi=()=>!1;function vm(e,t,n){return qi(e,t,n)}function Ml(e,t,n,r){if(e[ve])return;let o;n.type&8?o=k(r):o=gm(t,n),e[ve]=o}function ym(e,t,n){if(e[ve]&&e[At])return!0;let r=n[de],o=t.index-N;if(!r||jn(t)||mr(r,o))return!1;let s=Co(r,o),a=r.data[Ft]?.[o],[c,l]=Bh(s,a);return e[ve]=c,e[At]=l,!0}function Im(e,t,n,r){qi(e,n,t)||Ml(e,t,n,r)}function wm(){xl=Im,qi=ym}function Dm(e){let t=[],n=new Map;function r(o){let i=n.get(o);if(!i){let s=e(o);n.set(o,i=s.then(xm))}return i}return Kn.forEach((o,i)=>{let s=[];o.templateUrl&&s.push(r(o.templateUrl).then(l=>{o.template=l}));let a=typeof o.styles=="string"?[o.styles]:o.styles||[];if(o.styles=a,o.styleUrl&&o.styleUrls?.length)throw new Error("@Component cannot define both `styleUrl` and `styleUrls`. Use `styleUrl` if the component has one stylesheet, or `styleUrls` if it has multiple");if(o.styleUrls?.length){let l=o.styles.length,u=o.styleUrls;o.styleUrls.forEach((d,f)=>{a.push(""),s.push(r(d).then(p=>{a[l+f]=p,u.splice(u.indexOf(d),1),u.length==0&&(o.styleUrls=void 0)}))})}else o.styleUrl&&s.push(r(o.styleUrl).then(l=>{a.push(l),o.styleUrl=void 0}));let c=Promise.all(s).then(()=>Mm(i));t.push(c)}),bm(),Promise.all(t).then(()=>{})}var Kn=new Map,Em=new Set;function bm(){let e=Kn;return Kn=new Map,e}function Cm(){return Kn.size===0}function xm(e){return typeof e=="string"?e:e.text()}function Mm(e){Em.delete(e)}var qe=class{},Qo=class{};var Xn=class extends qe{constructor(t,n,r){super(),this._parent=n,this._bootstrapComponents=[],this.destroyCbs=[],this.componentFactoryResolver=new Jn(this);let o=Ma(t);this._bootstrapComponents=Rc(o.bootstrap),this._r3Injector=_c(t,n,[{provide:qe,useValue:this},{provide:Mr,useValue:this.componentFactoryResolver},...r],Z(t),new Set(["environment"])),this._r3Injector.resolveInjectorInitializers(),this.instance=this._r3Injector.get(t)}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)}},er=class extends Qo{constructor(t){super(),this.moduleType=t}create(t){return new Xn(this.moduleType,t,[])}};function _m(e,t,n){return new Xn(e,t,n)}var tr=class extends qe{constructor(t){super(),this.componentFactoryResolver=new Jn(this),this.instance=null;let n=new Vt([...t.providers,{provide:qe,useValue:this},{provide:Mr,useValue:this.componentFactoryResolver}],t.parent||Si(),t.debugName,new Set(["environment"]));this.injector=n,t.runEnvironmentInitializers&&n.resolveInjectorInitializers()}destroy(){this.injector.destroy()}onDestroy(t){this.injector.onDestroy(t)}};function Tm(e,t,n=null){return new tr({providers:e,parent:t,debugName:n,runEnvironmentInitializers:!0}).injector}var _l=(()=>{let t=class t{constructor(){this.taskId=0,this.pendingTasks=new Set,this.hasPendingTasks=new It(!1)}get _hasPendingTasks(){return this.hasPendingTasks.value}add(){this._hasPendingTasks||this.hasPendingTasks.next(!0);let r=this.taskId++;return this.pendingTasks.add(r),r}remove(r){this.pendingTasks.delete(r),this.pendingTasks.size===0&&this._hasPendingTasks&&this.hasPendingTasks.next(!1)}ngOnDestroy(){this.pendingTasks.clear(),this._hasPendingTasks&&this.hasPendingTasks.next(!1)}};t.\u0275fac=function(o){return new(o||t)},t.\u0275prov=$({token:t,factory:t.\u0275fac,providedIn:"root"});let e=t;return e})();function Wi(e,t,n){return e[t]=n}function Nm(e,t){return e[t]}function ye(e,t,n){let r=e[t];return Object.is(r,n)?!1:(e[t]=n,!0)}function Sm(e,t,n,r){let o=ye(e,t,n);return ye(e,t+1,r)||o}function Am(e,t,n,r,o,i,s,a,c){let l=t.consts,u=wr(t,e,4,s||null,kn(l,a));tl(t,n,u,kn(l,c)),Ai(t,u);let d=u.tView=ji(2,u,r,o,i,t.directiveRegistry,t.pipeRegistry,null,t.schemas,l,null);return t.queries!==null&&(t.queries.template(t,u),d.queries=t.queries.embeddedTView(u)),u}function Zo(e,t,n,r,o,i,s,a){let c=C(),l=z(),u=e+N,d=l.firstCreatePass?Am(u,l,c,t,n,r,o,i,s):l.data[u];Zt(d,!1);let f=Tl(l,c,d,e);Di()&&Li(l,c,f,d),Be(f,c);let p=ol(f,c,f,d);return c[u]=p,Dr(c,p),vm(p,d,c),fi(d)&&Jc(l,c,d),s!=null&&Kc(c,d,a),Zo}var Tl=Nl;function Nl(e,t,n,r){return Te(!0),t[T].createComment("")}function Om(e,t,n,r){let o=t[de],i=!o||Qt()||mr(o,r);if(Te(i),i)return Nl(e,t,n,r);let s=o.data[Do]?.[r]??null;s!==null&&n.tView!==null&&n.tView.ssrId===null&&(n.tView.ssrId=s);let a=Cr(o,e,t,n);hr(o,r,a);let c=Ti(o,r);return xr(c,a)}function Pm(){Tl=Om}function Sl(e,t,n,r){return ye(e,Yt(),n)?t+dr(n)+r:Ie}function bn(e,t){return e<<17|t<<2}function We(e){return e>>17&32767}function Rm(e){return(e&2)==2}function km(e,t){return e&131071|t<<17}function Yo(e){return e|2}function ut(e){return(e&131068)>>2}function io(e,t){return e&-131069|t<<2}function Lm(e){return(e&1)===1}function Jo(e){return e|1}function Fm(e,t,n,r,o,i){let s=i?t.classBindings:t.styleBindings,a=We(s),c=ut(s);e[r]=n;let l=!1,u;if(Array.isArray(n)){let d=n;u=d[1],(u===null||Jt(d,u)>0)&&(l=!0)}else u=n;if(o)if(c!==0){let f=We(e[a+1]);e[r+1]=bn(f,a),f!==0&&(e[f+1]=io(e[f+1],r)),e[a+1]=km(e[a+1],r)}else e[r+1]=bn(a,0),a!==0&&(e[a+1]=io(e[a+1],r)),a=r;else e[r+1]=bn(c,0),a===0?a=r:e[c+1]=io(e[c+1],r),c=r;l&&(e[r+1]=Yo(e[r+1])),aa(e,u,r,!0),aa(e,u,r,!1),jm(t,u,e,r,i),s=bn(a,c),i?t.classBindings=s:t.styleBindings=s}function jm(e,t,n,r,o){let i=o?e.residualClasses:e.residualStyles;i!=null&&typeof t=="string"&&Jt(i,t)>=0&&(n[r+1]=Jo(n[r+1]))}function aa(e,t,n,r){let o=e[n+1],i=t===null,s=r?We(o):ut(o),a=!1;for(;s!==0&&(a===!1||i);){let c=e[s],l=e[s+1];Vm(c,t)&&(a=!0,e[s+1]=r?Jo(l):Yo(l)),s=r?We(l):ut(l)}a&&(e[n+1]=r?Yo(o):Jo(o))}function Vm(e,t){return e===null||t==null||(Array.isArray(e)?e[1]:e)===t?!0:Array.isArray(e)&&typeof t=="string"?Jt(e,t)>=0:!1}function Hm(e,t,n){let r=C(),o=Yt();if(ye(r,o,t)){let i=z(),s=wi();Vi(i,s,r,e,t,r[T],n,!1)}return Hm}function ca(e,t,n,r,o){let i=t.inputs,s=o?"class":"style";Hi(e,n,i[s],s,r)}function $m(e,t){return Bm(e,t,null,!0),$m}function Bm(e,t,n,r){let o=C(),i=z(),s=Ad(2);if(i.firstUpdatePass&&qm(i,e,s,r),t!==Ie&&ye(o,s,t)){let a=i.data[Ge()];Zm(i,a,o,o[T],e,o[s+1]=Ym(t,n),r,s)}}function Um(e,t){return t>=e.expandoStartIndex}function qm(e,t,n,r){let o=e.data;if(o[n+1]===null){let i=o[Ge()],s=Um(e,n);Jm(i,r)&&t===null&&!s&&(t=!1),t=Wm(o,i,t,r),Fm(o,i,t,n,s,r)}}function Wm(e,t,n,r){let o=kd(e),i=r?t.residualClasses:t.residualStyles;if(o===null)(r?t.classBindings:t.styleBindings)===0&&(n=so(null,e,t,n,r),n=Gt(n,t.attrs,r),i=null);else{let s=t.directiveStylingLast;if(s===-1||e[s]!==o)if(n=so(o,e,t,n,r),i===null){let c=Gm(e,t,r);c!==void 0&&Array.isArray(c)&&(c=so(null,e,t,c[1],r),c=Gt(c,t.attrs,r),zm(e,t,r,c))}else i=Qm(e,t,r)}return i!==void 0&&(r?t.residualClasses=i:t.residualStyles=i),n}function Gm(e,t,n){let r=n?t.classBindings:t.styleBindings;if(ut(r)!==0)return e[We(r)]}function zm(e,t,n,r){let o=n?t.classBindings:t.styleBindings;e[We(o)]=r}function Qm(e,t,n){let r,o=t.directiveEnd;for(let i=1+t.directiveStylingLast;i0;){let c=e[o],l=Array.isArray(c),u=l?c[1]:c,d=u===null,f=n[o+1];f===Ie&&(f=d?K:void 0);let p=d?Zr(f,r):u===r?f:void 0;if(l&&!nr(p)&&(p=Zr(c,r)),nr(p)&&(a=p,s))return a;let h=e[o+1];o=s?We(h):ut(h)}if(t!==null){let c=i?t.residualClasses:t.residualStyles;c!=null&&(a=Zr(c,r))}return a}function nr(e){return e!==void 0}function Ym(e,t){return e==null||e===""||(typeof t=="string"?e=e+t:typeof e=="object"&&(e=Z(Ac(e)))),e}function Jm(e,t){return(e.flags&(t?8:16))!==0}var Ko=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 ao(e,t,n,r,o){return e===n&&Object.is(t,r)?1:Object.is(o(e,t),o(n,r))?-1:0}function Km(e,t,n){let r,o,i=0,s=e.length-1;if(Array.isArray(t)){let a=t.length-1;for(;i<=s&&i<=a;){let c=e.at(i),l=t[i],u=ao(i,c,i,l,n);if(u!==0){u<0&&e.updateValue(i,l),i++;continue}let d=e.at(s),f=t[a],p=ao(s,d,a,f,n);if(p!==0){p<0&&e.updateValue(s,f),s--,a--;continue}let h=n(i,c),b=n(s,d),O=n(i,l);if(Object.is(O,b)){let M=n(a,f);Object.is(M,h)?(e.swap(i,s),e.updateValue(s,f),a--,s--):e.move(s,i),e.updateValue(i,l),i++;continue}if(r??=new rr,o??=da(e,i,s,n),Xo(e,r,i,O))e.updateValue(i,l),i++,s++;else if(o.has(O))r.set(h,e.detach(i)),s--;else{let M=e.create(i,t[i]);e.attach(i,M),i++,s++}}for(;i<=a;)ua(e,r,n,i,t[i]),i++}else if(t!=null){let a=t[Symbol.iterator](),c=a.next();for(;!c.done&&i<=s;){let l=e.at(i),u=c.value,d=ao(i,l,i,u,n);if(d!==0)d<0&&e.updateValue(i,u),i++,c=a.next();else{r??=new rr,o??=da(e,i,s,n);let f=n(i,u);if(Xo(e,r,i,f))e.updateValue(i,u),i++,s++,c=a.next();else if(!o.has(f))e.attach(i,e.create(i,u)),i++,s++,c=a.next();else{let p=n(i,l);r.set(p,e.detach(i)),s--}}}for(;!c.done;)ua(e,r,n,e.length,c.value),c=a.next()}for(;i<=s;)e.destroy(e.detach(s--));r?.forEach(a=>{e.destroy(a)})}function Xo(e,t,n,r){return t!==void 0&&t.has(r)?(e.attach(n,t.get(r)),t.delete(r),!0):!1}function ua(e,t,n,r,o){if(Xo(e,t,r,n(r,o)))e.updateValue(r,o);else{let i=e.create(r,o);e.attach(r,i)}}function da(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 rr=class{constructor(){this.kvMap=new Map,this._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 hb(e,t,n){_r("NgControlFlow");let r=C(),o=Yt(),i=ri(r,N+e),s=0;if(ye(r,o,t)){let a=R(null);try{if(cl(i,s),t!==-1){let c=oi(r[g],N+t),l=qt(i,c.tView.ssrId),u=Er(r,c,n,{dehydratedView:l});br(i,u,s,$t(c,l))}}finally{R(a)}}else{let a=al(i,s);a!==void 0&&(a[V]=n)}}var ei=class{constructor(t,n,r){this.lContainer=t,this.$implicit=n,this.$index=r}get $count(){return this.lContainer.length-H}};function mb(e,t){return t}var ti=class{constructor(t,n,r){this.hasEmptyBlock=t,this.trackByFn=n,this.liveCollection=r}};function gb(e,t,n,r,o,i,s,a,c,l,u,d,f){_r("NgControlFlow");let p=c!==void 0,h=C(),b=a?s.bind(h[G][V]):s,O=new ti(p,b);h[N+e]=O,Zo(e+1,t,n,r,o,i),p&&Zo(e+2,c,l,u,d,f)}var ni=class extends Ko{constructor(t,n,r){super(),this.lContainer=t,this.hostLView=n,this.templateTNode=r,this.needsIndexUpdate=!1}get length(){return this.lContainer.length-H}at(t){return this.getLView(t)[V].$implicit}attach(t,n){let r=n[de];this.needsIndexUpdate||=t!==this.length,br(this.lContainer,n,t,$t(this.templateTNode,r))}detach(t){return this.needsIndexUpdate||=t!==this.length-1,Xm(this.lContainer,t)}create(t,n){let r=qt(this.lContainer,this.templateTNode.tView.ssrId);return Er(this.hostLView,this.templateTNode,new ei(this.lContainer,n,t),{dehydratedView:r})}destroy(t){gr(t[g],t)}updateValue(t,n){this.getLView(t)[V].$implicit=n}reset(){this.needsIndexUpdate=!1}updateIndexes(){if(this.needsIndexUpdate)for(let t=0;t(Te(!0),Ri(r,o,qa()));function rg(e,t,n,r,o,i){let s=t[de],a=!s||Qt()||mr(s,i);if(Te(a),a)return Ri(r,o,qa());let c=Cr(s,e,t,n);return oc(s,i)&&hr(s,i,c.nextSibling),s&&(za(n)||Qa(c))&&pt(n)&&(Md(n),Uc(c)),c}function og(){Pl=rg}var ig=(e,t,n,r)=>(Te(!0),Lc(t[T],""));function sg(e,t,n,r){let o,i=t[de],s=!i||Qt();if(Te(s),s)return Lc(t[T],"");let a=Cr(i,e,t,n),c=vf(i,r);return hr(i,r,a),o=xr(c,a),o}function ag(){ig=sg}function yb(){return C()}var ke=void 0;function cg(e){let t=e,n=Math.floor(Math.abs(e)),r=e.toString().replace(/^[^.]*\.?/,"").length;return n===1&&r===0?1:5}var lg=["en",[["a","p"],["AM","PM"],ke],[["AM","PM"],ke,ke],[["S","M","T","W","T","F","S"],["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"],["Su","Mo","Tu","We","Th","Fr","Sa"]],ke,[["J","F","M","A","M","J","J","A","S","O","N","D"],["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],["January","February","March","April","May","June","July","August","September","October","November","December"]],ke,[["B","A"],["BC","AD"],["Before Christ","Anno Domini"]],0,[6,0],["M/d/yy","MMM d, y","MMMM d, y","EEEE, MMMM d, y"],["h:mm a","h:mm:ss a","h:mm:ss a z","h:mm:ss a zzzz"],["{1}, {0}",ke,"{1} 'at' {0}",ke],[".",",",";","%","+","-","E","\xD7","\u2030","\u221E","NaN",":"],["#,##0.###","#,##0%","\xA4#,##0.00","#E0"],"USD","$","US Dollar",{},"ltr",cg],co={};function Ib(e){let t=dg(e),n=fa(t);if(n)return n;let r=t.split("-")[0];if(n=fa(r),n)return n;if(r==="en")return lg;throw new E(701,!1)}function fa(e){return e in co||(co[e]=he.ng&&he.ng.common&&he.ng.common.locales&&he.ng.common.locales[e]),co[e]}var ug=function(e){return e[e.LocaleId=0]="LocaleId",e[e.DayPeriodsFormat=1]="DayPeriodsFormat",e[e.DayPeriodsStandalone=2]="DayPeriodsStandalone",e[e.DaysFormat=3]="DaysFormat",e[e.DaysStandalone=4]="DaysStandalone",e[e.MonthsFormat=5]="MonthsFormat",e[e.MonthsStandalone=6]="MonthsStandalone",e[e.Eras=7]="Eras",e[e.FirstDayOfWeek=8]="FirstDayOfWeek",e[e.WeekendRange=9]="WeekendRange",e[e.DateFormat=10]="DateFormat",e[e.TimeFormat=11]="TimeFormat",e[e.DateTimeFormat=12]="DateTimeFormat",e[e.NumberSymbols=13]="NumberSymbols",e[e.NumberFormats=14]="NumberFormats",e[e.CurrencyCode=15]="CurrencyCode",e[e.CurrencySymbol=16]="CurrencySymbol",e[e.CurrencyName=17]="CurrencyName",e[e.Currencies=18]="Currencies",e[e.Directionality=19]="Directionality",e[e.PluralCase=20]="PluralCase",e[e.ExtraData=21]="ExtraData",e}(ug||{});function dg(e){return e.toLowerCase().replace(/_/g,"-")}var dt="en-US";var fg=dt;function Rl(e){typeof e=="string"&&(fg=e.toLowerCase().replace(/_/g,"-"))}function pg(e,t,n,r){let o=C(),i=z(),s=J();return kl(i,o,o[T],s,e,t,r),pg}function hg(e,t,n,r){let o=e.cleanup;if(o!=null)for(let i=0;ic?a[c]:null}typeof s=="string"&&(i+=2)}return null}function kl(e,t,n,r,o,i,s){let a=fi(r),l=e.firstCreatePass&&nh(e),u=t[V],d=th(t),f=!0;if(r.type&3||s){let b=ee(r,t),O=s?s(b):b,M=d.length,te=s?ne=>s(k(ne[r.index])):r.index,fe=null;if(!s&&a&&(fe=hg(e,t,o,r.index)),fe!==null){let ne=fe.__ngLastListenerFn__||fe;ne.__ngNextListenerFn__=i,fe.__ngLastListenerFn__=i,f=!1}else{i=ha(r,t,u,i,!1);let ne=n.listen(O,o,i);d.push(i,ne),l&&l.push(o,te,M,M+1)}}else i=ha(r,t,u,i,!1);let p=r.outputs,h;if(f&&p!==null&&(h=p[o])){let b=h.length;if(b)for(let O=0;O-1?_e(e.index,t):t;Bi(a);let c=pa(t,n,r,s),l=i.__ngNextListenerFn__;for(;l;)c=pa(t,n,l,s)&&c,l=l.__ngNextListenerFn__;return o&&c===!1&&s.preventDefault(),c}}function wb(e=1){return Fd(e)}function mg(e,t,n,r,o){let i=C(),s=Sl(i,t,n,r);if(s!==Ie){let a=z(),c=wi();Vi(a,c,i,e,s,i[T],o,!1)}return mg}function gg(e,t,n,r){n>=e.data.length&&(e.data[n]=null,e.blueprint[n]=null),t[n]=r}function Db(e,t=""){let n=C(),r=z(),o=e+N,i=r.firstCreatePass?wr(r,o,1,t,null):r.data[o],s=Ll(r,n,i,t,e);n[o]=s,Di()&&Li(r,n,s,i),Zt(i,!1)}var Ll=(e,t,n,r,o)=>(Te(!0),kc(t[T],r));function vg(e,t,n,r,o){let i=t[de],s=!i||Qt()||mr(i,o);return Te(s),s?kc(t[T],r):Cr(i,e,t,n)}function yg(){Ll=vg}function Ig(e){return Fl("",e,""),Ig}function Fl(e,t,n){let r=C(),o=Sl(r,e,t,n);return o!==Ie&&rh(r,Ge(),o),Fl}function wg(e,t,n){El(t)&&(t=t());let r=C(),o=Yt();if(ye(r,o,t)){let i=z(),s=wi();Vi(i,s,r,e,t,r[T],n,!1)}return wg}function Eb(e,t){let n=El(e);return n&&e.set(t),n}function Dg(e,t){let n=C(),r=z(),o=J();return kl(r,n,n[T],o,e,t),Dg}function Eg(e,t,n){let r=z();if(r.firstCreatePass){let o=ht(e);ii(n,r.data,r.blueprint,o,!0),ii(t,r.data,r.blueprint,o,!1)}}function ii(e,t,n,r,o){if(e=B(e),Array.isArray(e))for(let i=0;i>20;if(ct(e)||!e.multi){let p=new He(l,o,yr),h=uo(c,t,o?u:u+f,d);h===-1?(So(Wn(a,s),i,c),lo(i,e,t.length),t.push(c),a.directiveStart++,a.directiveEnd++,o&&(a.providerIndexes+=1048576),n.push(p),s.push(p)):(n[h]=p,s[h]=p)}else{let p=uo(c,t,u+f,d),h=uo(c,t,u,u+f),b=p>=0&&n[p],O=h>=0&&n[h];if(o&&!O||!o&&!b){So(Wn(a,s),i,c);let M=xg(o?Cg:bg,n.length,o,r,l);!o&&O&&(n[h].providerFactory=M),lo(i,e,t.length,0),t.push(c),a.directiveStart++,a.directiveEnd++,o&&(a.providerIndexes+=1048576),n.push(M),s.push(M)}else{let M=jl(n[o?h:p],l,!o&&r);lo(i,e,p>-1?p:h,M)}!o&&r&&O&&n[h].componentProviders++}}}function lo(e,t,n,r){let o=ct(t),i=Cf(t);if(o||i){let c=(i?B(t.useClass):t).prototype.ngOnDestroy;if(c){let l=e.destroyHooks||(e.destroyHooks=[]);if(!o&&t.multi){let u=l.indexOf(n);u===-1?l.push(n,[r,c]):l[u+1].push(r,c)}else l.push(n,c)}}}function jl(e,t,n){return n&&e.componentProviders++,e.multi.push(t)-1}function uo(e,t,n,r){for(let o=n;o{n.providersResolver=(r,o)=>Eg(r,o?o(e):e,t)}}var Mg=(()=>{let t=class t{constructor(r){this._injector=r,this.cachedInjectors=new Map}getOrCreateStandaloneInjector(r){if(!r.standalone)return null;if(!this.cachedInjectors.has(r)){let o=cc(!1,r.type),i=o.length>0?Tm([o],this._injector,`Standalone[${r.type.name}]`):null;this.cachedInjectors.set(r,i)}return this.cachedInjectors.get(r)}ngOnDestroy(){try{for(let r of this.cachedInjectors.values())r!==null&&r.destroy()}finally{this.cachedInjectors.clear()}}};t.\u0275prov=$({token:t,providedIn:"environment",factory:()=>new t(X(Me))});let e=t;return e})();function Cb(e){_r("NgStandalone"),e.getStandaloneInjector=t=>t.get(Mg).getOrCreateStandaloneInjector(e)}function xb(e,t,n){let r=vi()+e,o=C();return o[r]===Ie?Wi(o,r,n?t.call(n):t()):Nm(o,r)}function Vl(e,t){let n=e[t];return n===Ie?void 0:n}function _g(e,t,n,r,o,i){let s=t+n;return ye(e,s,o)?Wi(e,s+1,i?r.call(i,o):r(o)):Vl(e,s+1)}function Tg(e,t,n,r,o,i,s){let a=t+n;return Sm(e,a,o,i)?Wi(e,a+2,s?r.call(s,o,i):r(o,i)):Vl(e,a+2)}function Mb(e,t){let n=z(),r,o=e+N;n.firstCreatePass?(r=Ng(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=Ve(r.type,!0)),s,a=q(yr);try{let c=qn(!1),l=i();return qn(c),gg(n,C(),o,l),l}finally{q(a)}}function Ng(e,t){if(t)for(let n=t.length-1;n>=0;n--){let r=t[n];if(e===r.name)return r}}function _b(e,t,n){let r=e+N,o=C(),i=Pa(o,r);return Hl(o,r)?_g(o,vi(),t,i.transform,n,i):i.transform(n)}function Tb(e,t,n,r){let o=e+N,i=C(),s=Pa(i,o);return Hl(i,o)?Tg(i,vi(),t,s.transform,n,r,s):s.transform(n,r)}function Hl(e,t){return e[g].data[t].pure}var Cn=null;function Sg(e){Cn!==null&&(e.defaultEncapsulation!==Cn.defaultEncapsulation||e.preserveWhitespaces!==Cn.preserveWhitespaces)||(Cn=e)}var Nb=(()=>{let t=class t{log(r){console.log(r)}warn(r){console.warn(r)}};t.\u0275fac=function(o){return new(o||t)},t.\u0275prov=$({token:t,factory:t.\u0275fac,providedIn:"platform"});let e=t;return e})();var Ag=new S(""),Og=new S(""),Sb=(()=>{let t=class t{constructor(r,o,i){this._ngZone=r,this.registry=o,this._pendingCount=0,this._isZoneStable=!0,this._callbacks=[],this.taskTrackingZone=null,Gi||(Rg(i),i.addToWindow(o)),this._watchAngularEvents(),r.run(()=>{this.taskTrackingZone=typeof Zone>"u"?null:Zone.current.get("TaskTrackingZone")})}_watchAngularEvents(){this._ngZone.onUnstable.subscribe({next:()=>{this._isZoneStable=!1}}),this._ngZone.runOutsideAngular(()=>{this._ngZone.onStable.subscribe({next:()=>{W.assertNotInAngularZone(),queueMicrotask(()=>{this._isZoneStable=!0,this._runCallbacksIfReady()})}})})}increasePendingRequestCount(){return this._pendingCount+=1,this._pendingCount}decreasePendingRequestCount(){if(this._pendingCount-=1,this._pendingCount<0)throw new Error("pending async requests below zero");return this._runCallbacksIfReady(),this._pendingCount}isStable(){return this._isZoneStable&&this._pendingCount===0&&!this._ngZone.hasPendingMacrotasks}_runCallbacksIfReady(){if(this.isStable())queueMicrotask(()=>{for(;this._callbacks.length!==0;){let r=this._callbacks.pop();clearTimeout(r.timeoutId),r.doneCb()}});else{let r=this.getPendingTasks();this._callbacks=this._callbacks.filter(o=>o.updateCb&&o.updateCb(r)?(clearTimeout(o.timeoutId),!1):!0)}}getPendingTasks(){return this.taskTrackingZone?this.taskTrackingZone.macroTasks.map(r=>({source:r.source,creationLocation:r.creationLocation,data:r.data})):[]}addCallback(r,o,i){let s=-1;o&&o>0&&(s=setTimeout(()=>{this._callbacks=this._callbacks.filter(a=>a.timeoutId!==s),r()},o)),this._callbacks.push({doneCb:r,timeoutId:s,updateCb:i})}whenStable(r,o,i){if(i&&!this.taskTrackingZone)throw new Error('Task tracking zone is required when passing an update callback to whenStable(). Is "zone.js/plugins/task-tracking" loaded?');this.addCallback(r,o,i),this._runCallbacksIfReady()}getPendingRequestCount(){return this._pendingCount}registerApplication(r){this.registry.registerApplication(r,this)}unregisterApplication(r){this.registry.unregisterApplication(r)}findProviders(r,o,i){return[]}};t.\u0275fac=function(o){return new(o||t)(X(W),X(Pg),X(Og))},t.\u0275prov=$({token:t,factory:t.\u0275fac});let e=t;return e})(),Pg=(()=>{let t=class t{constructor(){this._applications=new Map}registerApplication(r,o){this._applications.set(r,o)}unregisterApplication(r){this._applications.delete(r)}unregisterAllApplications(){this._applications.clear()}getTestability(r){return this._applications.get(r)||null}getAllTestabilities(){return Array.from(this._applications.values())}getAllRootElements(){return Array.from(this._applications.keys())}findTestabilityInTree(r,o=!0){return Gi?.findTestabilityInTree(this,r,o)??null}};t.\u0275fac=function(o){return new(o||t)},t.\u0275prov=$({token:t,factory:t.\u0275fac,providedIn:"platform"});let e=t;return e})();function Rg(e){Gi=e}var Gi;function $l(e){return!!e&&typeof e.then=="function"}function kg(e){return!!e&&typeof e.subscribe=="function"}var Lg=new S(""),zi=(()=>{let t=class t{constructor(){this.initialized=!1,this.done=!1,this.donePromise=new Promise((r,o)=>{this.resolve=r,this.reject=o}),this.appInits=A(Lg,{optional:!0})??[]}runInitializers(){if(this.initialized)return;let r=[];for(let i of this.appInits){let s=i();if($l(s))r.push(s);else if(kg(s)){let a=new Promise((c,l)=>{s.subscribe({complete:c,error:l})});r.push(a)}}let o=()=>{this.done=!0,this.resolve()};Promise.all(r).then(()=>{o()}).catch(i=>{this.reject(i)}),r.length===0&&o(),this.initialized=!0}};t.\u0275fac=function(o){return new(o||t)},t.\u0275prov=$({token:t,factory:t.\u0275fac,providedIn:"root"});let e=t;return e})(),Bl=new S("");function Ul(){ts(()=>{throw new E(600,!1)})}function Fg(e){return e.isBoundToModule}function ql(e,t,n){try{let r=n();return $l(r)?r.catch(o=>{throw t.runOutsideAngular(()=>e.handleError(o)),o}):r}catch(r){throw t.runOutsideAngular(()=>e.handleError(r)),r}}function Wl(e,t){return Array.isArray(t)?t.reduce(Wl,e):Ne(Ne({},e),t)}var Tr=(()=>{let t=class t{constructor(){this._bootstrapListeners=[],this._runningTick=!1,this._destroyed=!1,this._destroyListeners=[],this._views=[],this.internalErrorHandler=A(Tc),this.afterRenderEffectManager=A(bl),this.componentTypes=[],this.components=[],this.isStable=A(_l).hasPendingTasks.pipe(pe(r=>!r)),this._injector=A(Me)}get destroyed(){return this._destroyed}get injector(){return this._injector}bootstrap(r,o){let i=r instanceof Yn;if(!this._injector.get(zi).done){let p=!i&&ud(r),h=!1;throw new E(405,h)}let a;i?a=r:a=this._injector.get(Mr).resolveComponentFactory(r),this.componentTypes.push(a.componentType);let c=Fg(a)?void 0:this._injector.get(qe),l=o||a.selector,u=a.create(mt.NULL,[],l,c),d=u.location.nativeElement,f=u.injector.get(Ag,null);return f?.registerApplication(d),u.onDestroy(()=>{this.detachView(u.hostView),An(this.components,u),f?.unregisterApplication(d)}),this._loadComponent(u),u}tick(){if(this._runningTick)throw new E(101,!1);try{this._runningTick=!0,this.detectChangesInAttachedViews()}catch(r){this.internalErrorHandler(r)}finally{this._runningTick=!1}}detectChangesInAttachedViews(){let r=0;do{if(r===hl)throw new E(103,!1);let o=r===0;for(let{_lView:i,notifyErrorHandler:s}of this._views)!o&&!ma(i)||this.detectChangesInView(i,s,o);this.afterRenderEffectManager.execute(),r++}while(this._views.some(({_lView:o})=>ma(o)))}detectChangesInView(r,o,i){let s;i?(s=0,r[m]|=1024):r[m]&64?s=0:s=1,ml(r,o,s)}attachView(r){let o=r;this._views.push(o),o.attachToAppRef(this)}detachView(r){let o=r;An(this._views,o),o.detachFromAppRef()}_loadComponent(r){this.attachView(r.hostView),this.tick(),this.components.push(r);let o=this._injector.get(Bl,[]);[...this._bootstrapListeners,...o].forEach(i=>i(r))}ngOnDestroy(){if(!this._destroyed)try{this._destroyListeners.forEach(r=>r()),this._views.slice().forEach(r=>r.destroy())}finally{this._destroyed=!0,this._views=[],this._bootstrapListeners=[],this._destroyListeners=[]}}onDestroy(r){return this._destroyListeners.push(r),()=>An(this._destroyListeners,r)}destroy(){if(this._destroyed)throw new E(406,!1);let r=this._injector;r.destroy&&!r.destroyed&&r.destroy()}get viewCount(){return this._views.length}warnIfDestroyed(){}};t.\u0275fac=function(o){return new(o||t)},t.\u0275prov=$({token:t,factory:t.\u0275fac,providedIn:"root"});let e=t;return e})();function An(e,t){let n=e.indexOf(t);n>-1&&e.splice(n,1)}var xn;function jg(e){xn??=new WeakMap;let t=xn.get(e);if(t)return t;let n=e.isStable.pipe(Wr(r=>r)).toPromise().then(()=>{});return xn.set(e,n),e.onDestroy(()=>xn?.delete(e)),n}function ma(e){return gi(e)}var ai=class{constructor(t,n){this.ngModuleFactory=t,this.componentFactories=n}},Ab=(()=>{let t=class t{compileModuleSync(r){return new er(r)}compileModuleAsync(r){return Promise.resolve(this.compileModuleSync(r))}compileModuleAndAllComponentsSync(r){let o=this.compileModuleSync(r),i=Ma(r),s=Rc(i.declarations).reduce((a,c)=>{let l=xe(c);return l&&a.push(new Wt(l)),a},[]);return new ai(o,s)}compileModuleAndAllComponentsAsync(r){return Promise.resolve(this.compileModuleAndAllComponentsSync(r))}clearCache(){}clearCacheFor(r){}getModuleId(r){}};t.\u0275fac=function(o){return new(o||t)},t.\u0275prov=$({token:t,factory:t.\u0275fac,providedIn:"root"});let e=t;return e})(),Vg=new S("");function Hg(e,t,n){let r=new er(n);return Promise.resolve(r)}function ga(e){for(let t=e.length-1;t>=0;t--)if(e[t]!==void 0)return e[t]}var $g=(()=>{let t=class t{constructor(){this.zone=A(W),this.applicationRef=A(Tr)}initialize(){this._onMicrotaskEmptySubscription||(this._onMicrotaskEmptySubscription=this.zone.onMicrotaskEmpty.subscribe({next:()=>{this.zone.run(()=>{this.applicationRef.tick()})}}))}ngOnDestroy(){this._onMicrotaskEmptySubscription?.unsubscribe()}};t.\u0275fac=function(o){return new(o||t)},t.\u0275prov=$({token:t,factory:t.\u0275fac,providedIn:"root"});let e=t;return e})();function Gl(e){return[{provide:W,useFactory:e},{provide:jt,multi:!0,useFactory:()=>{let t=A($g,{optional:!0});return()=>t.initialize()}},{provide:jt,multi:!0,useFactory:()=>{let t=A(qg);return()=>{t.initialize()}}},{provide:Tc,useFactory:Bg}]}function Bg(){let e=A(W),t=A($e);return n=>e.runOutsideAngular(()=>t.handleError(n))}function Ug(e){let t=Gl(()=>new W(zl(e)));return ac([[],t])}function zl(e){return{enableLongStackTrace:!1,shouldCoalesceEventChangeDetection:e?.eventCoalescing??!1,shouldCoalesceRunChangeDetection:e?.runCoalescing??!1}}var qg=(()=>{let t=class t{constructor(){this.subscription=new j,this.initialized=!1,this.zone=A(W),this.pendingTasks=A(_l)}initialize(){if(this.initialized)return;this.initialized=!0;let r=null;!this.zone.isStable&&!this.zone.hasPendingMacrotasks&&!this.zone.hasPendingMicrotasks&&(r=this.pendingTasks.add()),this.zone.runOutsideAngular(()=>{this.subscription.add(this.zone.onStable.subscribe(()=>{W.assertNotInAngularZone(),queueMicrotask(()=>{r!==null&&!this.zone.hasPendingMacrotasks&&!this.zone.hasPendingMicrotasks&&(this.pendingTasks.remove(r),r=null)})}))}),this.subscription.add(this.zone.onUnstable.subscribe(()=>{W.assertInAngularZone(),r??=this.pendingTasks.add()}))}ngOnDestroy(){this.subscription.unsubscribe()}};t.\u0275fac=function(o){return new(o||t)},t.\u0275prov=$({token:t,factory:t.\u0275fac,providedIn:"root"});let e=t;return e})();function Wg(){return typeof $localize<"u"&&$localize.locale||dt}var Qi=new S("",{providedIn:"root",factory:()=>A(Qi,I.Optional|I.SkipSelf)||Wg()});var Zi=new S(""),Ql=(()=>{let t=class t{constructor(r){this._injector=r,this._modules=[],this._destroyListeners=[],this._destroyed=!1}bootstrapModuleFactory(r,o){let i=rm(o?.ngZone,zl({eventCoalescing:o?.ngZoneEventCoalescing,runCoalescing:o?.ngZoneRunCoalescing}));return i.run(()=>{let s=_m(r.moduleType,this.injector,Gl(()=>i)),a=s.injector.get($e,null);return i.runOutsideAngular(()=>{let c=i.onError.subscribe({next:l=>{a.handleError(l)}});s.onDestroy(()=>{An(this._modules,s),c.unsubscribe()})}),ql(a,i,()=>{let c=s.injector.get(zi);return c.runInitializers(),c.donePromise.then(()=>{let l=s.injector.get(Qi,dt);return Rl(l||dt),this._moduleDoBootstrap(s),s})})})}bootstrapModule(r,o=[]){let i=Wl({},o);return Hg(this.injector,i,r).then(s=>this.bootstrapModuleFactory(s,i))}_moduleDoBootstrap(r){let o=r.injector.get(Tr);if(r._bootstrapComponents.length>0)r._bootstrapComponents.forEach(i=>o.bootstrap(i));else if(r.instance.ngDoBootstrap)r.instance.ngDoBootstrap(o);else throw new E(-403,!1);this._modules.push(r)}onDestroy(r){this._destroyListeners.push(r)}get injector(){return this._injector}destroy(){if(this._destroyed)throw new E(404,!1);this._modules.slice().forEach(o=>o.destroy()),this._destroyListeners.forEach(o=>o());let r=this._injector.get(Zi,null);r&&(r.forEach(o=>o()),r.clear()),this._destroyed=!0}get destroyed(){return this._destroyed}};t.\u0275fac=function(o){return new(o||t)(X(mt))},t.\u0275prov=$({token:t,factory:t.\u0275fac,providedIn:"platform"});let e=t;return e})(),Ce=null,Zl=new S("");function Gg(e){if(Ce&&!Ce.get(Zl,!1))throw new E(400,!1);Ul(),Ce=e;let t=e.get(Ql);return Kl(e),t}function zg(e,t,n=[]){let r=`Platform: ${t}`,o=new S(r);return(i=[])=>{let s=Jl();if(!s||s.injector.get(Zl,!1)){let a=[...n,...i,{provide:o,useValue:!0}];e?e(a):Gg(Yl(a,r))}return Qg(o)}}function Yl(e=[],t){return mt.create({name:t,providers:[{provide:dc,useValue:"platform"},{provide:Zi,useValue:new Set([()=>Ce=null])},...e]})}function Qg(e){let t=Jl();if(!t)throw new E(401,!1);return t}function Jl(){return Ce?.get(Ql)??null}function Zg(e=[]){if(Ce)return Ce;let t=Yl(e);return Ce=t,Ul(),Kl(t),t}function Kl(e){e.get(Qd,null)?.forEach(n=>n())}var Ob=zg(null,"core",[]);function Pb(e){try{let{rootComponent:t,appProviders:n,platformProviders:r}=e,o=Zg(r),i=[Ug(),...n||[]],a=new tr({providers:i,parent:o,debugName:"",runEnvironmentInitializers:!1}).injector,c=a.get(W);return c.run(()=>{a.resolveInjectorInitializers();let l=a.get($e,null),u;c.runOutsideAngular(()=>{u=c.onError.subscribe({next:p=>{l.handleError(p)}})});let d=()=>a.destroy(),f=o.get(Zi);return f.add(d),a.onDestroy(()=>{u.unsubscribe(),f.delete(d)}),ql(l,c,()=>{let p=a.get(zi);return p.runInitializers(),p.donePromise.then(()=>{let h=a.get(Qi,dt);Rl(h||dt);let b=a.get(Tr);return t!==void 0&&b.bootstrap(t),b})})})}catch(t){return Promise.reject(t)}}var ci=class{constructor(){this.views=[],this.indexByContent=new Map}add(t){let n=JSON.stringify(t);if(!this.indexByContent.has(n)){let r=this.views.length;return this.views.push(t),this.indexByContent.set(n,r),r}return this.indexByContent.get(n)}getAll(){return this.views}},Yg=0;function Xl(e){return e.ssrId||(e.ssrId=`t${Yg++}`),e.ssrId}function eu(e,t,n){let r=[];return Bt(e,t,n,r),r.length}function Jg(e){let t=[];return ll(e,t),t.length}function tu(e,t){let n=e[P];return n&&!n.hasAttribute(Rt)?ir(n,e,t):null}function nu(e,t){let n=Aa(e[P]),r=tu(n,t),o=k(n[P]),i=e[F],s=ir(o,i,t),a=n[T],c=`${r}|${s}`;a.setAttribute(o,Mt,c)}function Rb(e,t){let n=new ci,r=new Map,o=e._views;for(let a of o){let c=rc(a);if(c!==null){let l={serializedViewCollection:n,corruptedTextNodes:r};Y(c)?nu(c,l):tu(c,l),tv(r,t)}}let i=n.getAll();e.injector.get(pr).set(Mi,i)}function Kg(e,t){let n=[],r="";for(let o=H;o0&&l===r){let u=n[n.length-1];u[Hn]??=1,u[Hn]++}else r=l,n.push(c)}return n}function or(e,t,n){let r=t.index-N;e[bo]??={},e[bo][r]=$h(t,n)}function va(e,t){let n=t.index-N;e[Mn]??=[],e[Mn].includes(n)||e[Mn].push(n)}function ru(e,t){let n={},r=e[g];for(let o=N;o{let e=!0;return En()&&(e=!!A(pr,{optional:!0})?.get(Mi,null)),e&&_r("NgHydration"),e}},{provide:jt,useValue:()=>{En()&&A(Dn)&&(iv(),rv())},multi:!0},{provide:Sc,useFactory:()=>En()&&A(Dn)},{provide:Bl,useFactory:()=>{if(En()&&A(Dn)){let e=A(Tr),t=A(mt);return()=>{ov(e,t).then(()=>{W.assertInAngularZone(),Ph(e)})}}return()=>{}},multi:!0}])}function iv(){let e=lr(),t;for(let n of e.body.childNodes)if(n.nodeType===Node.COMMENT_NODE&&n.textContent?.trim()===ff){t=n;break}if(!t)throw new E(-507,!1)}function Lb(...e){return e.reduce((t,n)=>Object.assign(t,n,{providers:[...t.providers,...n.providers]}),{providers:[]})}export{j as a,pu as b,x as c,Br as d,Ur as e,Ke as f,It as g,wt as h,De as i,bu as j,Cu as k,xu as l,Pe as m,pe as n,Pu as o,Re as p,yn as q,ku as r,Dt as s,Ss as t,Lu as u,Et as v,qr as w,Fu as x,Vu as y,Wr as z,Gr as A,Hu as B,$u as C,Bu as D,Uu as E,qu as F,Os as G,E as H,be as I,I as J,Z as K,rt as L,zE as M,QE as N,ZE as O,YE as P,JE as Q,KE as R,XE as S,$ as T,eb as U,tb as V,S as W,Gd as X,Qd as Y,Ja as Z,nb as _,rb as $,X as aa,A as ba,pr as ca,ff as da,ob as ea,ac as fa,dc as ga,Me as ha,ib as ia,Pf as ja,sb as ka,mt as la,$e as ma,Dn as na,ab as oa,Oo as pa,cb as qa,yr as ra,gh as sa,Vo as ta,Bo as ua,ub as va,db as wa,fb as xa,_r as ya,W as za,fm as Aa,Qo as Ba,Tm as Ca,_l as Da,Zo as Ea,Hm as Fa,$m as Ga,hb as Ha,mb as Ia,gb as Ja,vb as Ka,Al as La,Ol as Ma,ng as Na,yb as Oa,Ib as Pa,ug as Qa,pg as Ra,wb as Sa,mg as Ta,Db as Ua,Ig as Va,Fl as Wa,wg as Xa,Eb as Ya,Dg as Za,bb as _a,Cb as $a,xb as ab,Mb as bb,_b as cb,Tb as db,Nb as eb,Ag as fb,Sb as gb,$l as hb,kg as ib,Bl as jb,Tr as kb,jg as lb,Ab as mb,Qi as nb,Zl as ob,zg as pb,Ob as qb,Pb as rb,Rb as sb,kb as tb,Lb as ub};