File: /var/www/html/achiver_ai_production/angular_app/dist/browser/chunk-6VSL23XL.js
import{a as J,b as X,h as Rt}from"./chunk-WWX6BADO.js";function ar(e,t){return Object.is(e,t)}var H=null,sr=!1,Ii=1,z=Symbol("SIGNAL");function C(e){let t=H;return H=e,t}function Ei(){return H}var ct={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,kind:"unknown",producerMustRecompute:()=>!1,producerRecomputeValue:()=>{},consumerMarkedDirty:()=>{},consumerOnSignalRead:()=>{}};function kt(e){if(sr)throw new Error("");if(H===null)return;H.consumerOnSignalRead(e);let t=H.nextProducerIndex++;if(ur(H),t<H.producerNode.length&&H.producerNode[t]!==e&&Dn(H)){let n=H.producerNode[t];lr(n,H.producerIndexOfThis[t])}H.producerNode[t]!==e&&(H.producerNode[t]=e,H.producerIndexOfThis[t]=Dn(H)?qc(e,H,t):0),H.producerLastReadVersion[t]=e.version}function Uc(){Ii++}function Pt(e){if(!(Dn(e)&&!e.dirty)&&!(!e.dirty&&e.lastCleanEpoch===Ii)){if(!e.producerMustRecompute(e)&&!cr(e)){wn(e);return}e.producerRecomputeValue(e),wn(e)}}function wi(e){if(e.liveConsumerNode===void 0)return;let t=sr;sr=!0;try{for(let n of e.liveConsumerNode)n.dirty||Fh(n)}finally{sr=t}}function Di(){return H?.consumerAllowSignalWrites!==!1}function Fh(e){e.dirty=!0,wi(e),e.consumerMarkedDirty?.(e)}function wn(e){e.dirty=!1,e.lastCleanEpoch=Ii}function Lt(e){return e&&(e.nextProducerIndex=0),C(e)}function bn(e,t){if(C(t),!(!e||e.producerNode===void 0||e.producerIndexOfThis===void 0||e.producerLastReadVersion===void 0)){if(Dn(e))for(let n=e.nextProducerIndex;n<e.producerNode.length;n++)lr(e.producerNode[n],e.producerIndexOfThis[n]);for(;e.producerNode.length>e.nextProducerIndex;)e.producerNode.pop(),e.producerLastReadVersion.pop(),e.producerIndexOfThis.pop()}}function cr(e){ur(e);for(let t=0;t<e.producerNode.length;t++){let n=e.producerNode[t],r=e.producerLastReadVersion[t];if(r!==n.version||(Pt(n),r!==n.version))return!0}return!1}function Mn(e){if(ur(e),Dn(e))for(let t=0;t<e.producerNode.length;t++)lr(e.producerNode[t],e.producerIndexOfThis[t]);e.producerNode.length=e.producerLastReadVersion.length=e.producerIndexOfThis.length=0,e.liveConsumerNode&&(e.liveConsumerNode.length=e.liveConsumerIndexOfThis.length=0)}function qc(e,t,n){if(Wc(e),e.liveConsumerNode.length===0&&zc(e))for(let r=0;r<e.producerNode.length;r++)e.producerIndexOfThis[r]=qc(e.producerNode[r],e,r);return e.liveConsumerIndexOfThis.push(n),e.liveConsumerNode.push(t)-1}function lr(e,t){if(Wc(e),e.liveConsumerNode.length===1&&zc(e))for(let r=0;r<e.producerNode.length;r++)lr(e.producerNode[r],e.producerIndexOfThis[r]);let n=e.liveConsumerNode.length-1;if(e.liveConsumerNode[t]=e.liveConsumerNode[n],e.liveConsumerIndexOfThis[t]=e.liveConsumerIndexOfThis[n],e.liveConsumerNode.length--,e.liveConsumerIndexOfThis.length--,t<e.liveConsumerNode.length){let r=e.liveConsumerIndexOfThis[t],o=e.liveConsumerNode[t];ur(o),o.producerIndexOfThis[r]=t}}function Dn(e){return e.consumerIsAlwaysLive||(e?.liveConsumerNode?.length??0)>0}function ur(e){e.producerNode??=[],e.producerIndexOfThis??=[],e.producerLastReadVersion??=[]}function Wc(e){e.liveConsumerNode??=[],e.liveConsumerIndexOfThis??=[]}function zc(e){return e.producerNode!==void 0}function dr(e,t){let n=Object.create(Vh);n.computation=e,t!==void 0&&(n.equal=t);let r=()=>{if(Pt(n),kt(n),n.value===Ue)throw n.error;return n.value};return r[z]=n,r}var at=Symbol("UNSET"),At=Symbol("COMPUTING"),Ue=Symbol("ERRORED"),Vh=X(J({},ct),{value:at,dirty:!0,error:null,equal:ar,kind:"computed",producerMustRecompute(e){return e.value===at||e.value===At},producerRecomputeValue(e){if(e.value===At)throw new Error("Detected cycle in computations.");let t=e.value;e.value=At;let n=Lt(e),r,o=!1;try{r=e.computation(),C(null),o=t!==at&&t!==Ue&&r!==Ue&&e.equal(t,r)}catch(i){r=Ue,e.error=i}finally{bn(e,n)}if(o){e.value=t;return}e.value=r,e.version++}});function jh(){throw new Error}var Gc=jh;function Qc(e){Gc(e)}function bi(e){Gc=e}var Hh=null;function Mi(e,t){let n=Object.create(pr);n.value=e,t!==void 0&&(n.equal=t);let r=()=>(kt(n),n.value);return r[z]=n,r}function Ft(e,t){Di()||Qc(e),e.equal(e.value,t)||(e.value=t,Bh(e))}function fr(e,t){Di()||Qc(e),Ft(e,t(e.value))}var pr=X(J({},ct),{equal:ar,value:void 0,kind:"signal"});function Bh(e){e.version++,Uc(),wi(e),Hh?.()}function hr(e,t,n){let r=Object.create($h);r.source=e,r.computation=t,n!=null&&(r.equal=n);let i=()=>{if(Pt(r),kt(r),r.value===Ue)throw r.error;return r.value};return i[z]=r,i}function Ci(e,t){Pt(e),Ft(e,t),wn(e)}function Ti(e,t){Pt(e),fr(e,t),wn(e)}var $h=X(J({},ct),{value:at,dirty:!0,error:null,equal:ar,kind:"linkedSignal",producerMustRecompute(e){return e.value===at||e.value===At},producerRecomputeValue(e){if(e.value===At)throw new Error("Detected cycle in computations.");let t=e.value;e.value=At;let n=Lt(e),r;try{let o=e.source(),i=t===at||t===Ue?void 0:{source:e.sourceValue,value:t};r=e.computation(o,i),e.sourceValue=o}catch(o){r=Ue,e.error=o}finally{bn(e,n)}if(t!==at&&r!==Ue&&e.equal(t,r)){e.value=t;return}e.value=r,e.version++}});function _i(e){let t=C(null);try{return e()}finally{C(t)}}var xi;function Cn(){return xi}function Re(e){let t=xi;return xi=e,t}var gr=Symbol("NotFound");function I(e){return typeof e=="function"}function Vt(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 mr=Vt(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 lt(e,t){if(e){let n=e.indexOf(t);0<=n&&e.splice(n,1)}}var V=class e{constructor(t){this.initialTeardown=t,this.closed=!1,this._parentage=null,this._finalizers=null}unsubscribe(){let t;if(!this.closed){this.closed=!0;let{_parentage:n}=this;if(n)if(this._parentage=null,Array.isArray(n))for(let i of n)i.remove(this);else n.remove(this);let{initialTeardown:r}=this;if(I(r))try{r()}catch(i){t=i instanceof mr?i.errors:[i]}let{_finalizers:o}=this;if(o){this._finalizers=null;for(let i of o)try{Zc(i)}catch(s){t=t??[],s instanceof mr?t=[...t,...s.errors]:t.push(s)}}if(t)throw new mr(t)}}add(t){var n;if(t&&t!==this)if(this.closed)Zc(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)&<(n,t)}remove(t){let{_finalizers:n}=this;n&<(n,t),t instanceof e&&t._removeParent(this)}};V.EMPTY=(()=>{let e=new V;return e.closed=!0,e})();var Ni=V.EMPTY;function yr(e){return e instanceof V||e&&"closed"in e&&I(e.remove)&&I(e.add)&&I(e.unsubscribe)}function Zc(e){I(e)?e():e.unsubscribe()}var fe={onUnhandledError:null,onStoppedNotification:null,Promise:void 0,useDeprecatedSynchronousErrorHandling:!1,useDeprecatedNextContext:!1};var jt={setTimeout(e,t,...n){let{delegate:r}=jt;return r?.setTimeout?r.setTimeout(e,t,...n):setTimeout(e,t,...n)},clearTimeout(e){let{delegate:t}=jt;return(t?.clearTimeout||clearTimeout)(e)},delegate:void 0};function vr(e){jt.setTimeout(()=>{let{onUnhandledError:t}=fe;if(t)t(e);else throw e})}function ut(){}var Yc=Si("C",void 0,void 0);function Kc(e){return Si("E",void 0,e)}function Jc(e){return Si("N",e,void 0)}function Si(e,t,n){return{kind:e,value:t,error:n}}var dt=null;function Ht(e){if(fe.useDeprecatedSynchronousErrorHandling){let t=!dt;if(t&&(dt={errorThrown:!1,error:null}),e(),t){let{errorThrown:n,error:r}=dt;if(dt=null,n)throw r}}else e()}function Xc(e){fe.useDeprecatedSynchronousErrorHandling&&dt&&(dt.errorThrown=!0,dt.error=e)}var ft=class extends V{constructor(t){super(),this.isStopped=!1,t?(this.destination=t,yr(t)&&t.add(this)):this.destination=Wh}static create(t,n,r){return new pe(t,n,r)}next(t){this.isStopped?Ri(Jc(t),this):this._next(t)}error(t){this.isStopped?Ri(Kc(t),this):(this.isStopped=!0,this._error(t))}complete(){this.isStopped?Ri(Yc,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()}}},Uh=Function.prototype.bind;function Oi(e,t){return Uh.call(e,t)}var Ai=class{constructor(t){this.partialObserver=t}next(t){let{partialObserver:n}=this;if(n.next)try{n.next(t)}catch(r){Ir(r)}}error(t){let{partialObserver:n}=this;if(n.error)try{n.error(t)}catch(r){Ir(r)}else Ir(t)}complete(){let{partialObserver:t}=this;if(t.complete)try{t.complete()}catch(n){Ir(n)}}},pe=class extends ft{constructor(t,n,r){super();let o;if(I(t)||!t)o={next:t??void 0,error:n??void 0,complete:r??void 0};else{let i;this&&fe.useDeprecatedNextContext?(i=Object.create(t),i.unsubscribe=()=>this.unsubscribe(),o={next:t.next&&Oi(t.next,i),error:t.error&&Oi(t.error,i),complete:t.complete&&Oi(t.complete,i)}):o=t}this.destination=new Ai(o)}};function Ir(e){fe.useDeprecatedSynchronousErrorHandling?Xc(e):vr(e)}function qh(e){throw e}function Ri(e,t){let{onStoppedNotification:n}=fe;n&&jt.setTimeout(()=>n(e,t))}var Wh={closed:!0,next:ut,error:qh,complete:ut};var Bt=typeof Symbol=="function"&&Symbol.observable||"@@observable";function Z(e){return e}function zh(...e){return ki(e)}function ki(e){return e.length===0?Z: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=Qh(n)?n:new pe(n,r,o);return Ht(()=>{let{operator:s,source:a}=this;i.add(s?s.call(i,a):a?this._subscribe(i):this._trySubscribe(i))}),i}_trySubscribe(n){try{return this._subscribe(n)}catch(r){n.error(r)}}forEach(n,r){return r=el(r),new r((o,i)=>{let s=new pe({next:a=>{try{n(a)}catch(c){i(c),s.unsubscribe()}},error:i,complete:o});this.subscribe(s)})}_subscribe(n){var r;return(r=this.source)===null||r===void 0?void 0:r.subscribe(n)}[Bt](){return this}pipe(...n){return ki(n)(this)}toPromise(n){return n=el(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 el(e){var t;return(t=e??fe.Promise)!==null&&t!==void 0?t:Promise}function Gh(e){return e&&I(e.next)&&I(e.error)&&I(e.complete)}function Qh(e){return e&&e instanceof ft||Gh(e)&&yr(e)}function Pi(e){return I(e?.lift)}function y(e){return t=>{if(Pi(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 E(e,t,n,r,o){return new Li(e,t,n,r,o)}var Li=class extends ft{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 Fi(){return y((e,t)=>{let n=null;e._refCount++;let r=E(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 Vi=class extends x{constructor(t,n){super(),this.source=t,this.subjectFactory=n,this._subject=null,this._refCount=0,this._connection=null,Pi(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 V;let n=this.getSubject();t.add(this.source.subscribe(E(n,void 0,()=>{this._teardown(),n.complete()},r=>{this._teardown(),n.error(r)},()=>this._teardown()))),t.closed&&(this._connection=null,t=V.EMPTY)}return t}refCount(){return Fi()(this)}};var $t={schedule(e){let t=requestAnimationFrame,n=cancelAnimationFrame,{delegate:r}=$t;r&&(t=r.requestAnimationFrame,n=r.cancelAnimationFrame);let o=t(i=>{n=void 0,e(i)});return new V(()=>n?.(o))},requestAnimationFrame(...e){let{delegate:t}=$t;return(t?.requestAnimationFrame||requestAnimationFrame)(...e)},cancelAnimationFrame(...e){let{delegate:t}=$t;return(t?.cancelAnimationFrame||cancelAnimationFrame)(...e)},delegate:void 0};var tl=Vt(e=>function(){e(this),this.name="ObjectUnsubscribedError",this.message="object unsubscribed"});var ce=(()=>{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 Er(this,this);return r.operator=n,r}_throwIfClosed(){if(this.closed)throw new tl}next(n){Ht(()=>{if(this._throwIfClosed(),!this.isStopped){this.currentObservers||(this.currentObservers=Array.from(this.observers));for(let r of this.currentObservers)r.next(n)}})}error(n){Ht(()=>{if(this._throwIfClosed(),!this.isStopped){this.hasError=this.isStopped=!0,this.thrownError=n;let{observers:r}=this;for(;r.length;)r.shift().error(n)}})}complete(){Ht(()=>{if(this._throwIfClosed(),!this.isStopped){this.isStopped=!0;let{observers:n}=this;for(;n.length;)n.shift().complete()}})}unsubscribe(){this.isStopped=this.closed=!0,this.observers=this.currentObservers=null}get observed(){var n;return((n=this.observers)===null||n===void 0?void 0:n.length)>0}_trySubscribe(n){return this._throwIfClosed(),super._trySubscribe(n)}_subscribe(n){return this._throwIfClosed(),this._checkFinalizedStatuses(n),this._innerSubscribe(n)}_innerSubscribe(n){let{hasError:r,isStopped:o,observers:i}=this;return r||o?Ni:(this.currentObservers=null,i.push(n),new V(()=>{this.currentObservers=null,lt(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 Er(t,n),e})(),Er=class extends ce{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:Ni}};var Tn=class extends ce{constructor(t){super(),this._value=t}get value(){return this.getValue()}_subscribe(t){let n=super._subscribe(t);return!n.closed&&t.next(this._value),n}getValue(){let{hasError:t,thrownError:n,_value:r}=this;if(t)throw n;return this._throwIfClosed(),r}next(t){super.next(this._value=t)}};var _n={now(){return(_n.delegate||Date).now()},delegate:void 0};var xn=class extends ce{constructor(t=1/0,n=1/0,r=_n){super(),this._bufferSize=t,this._windowTime=n,this._timestampProvider=r,this._buffer=[],this._infiniteTimeWindow=!0,this._infiniteTimeWindow=n===1/0,this._bufferSize=Math.max(1,t),this._windowTime=Math.max(1,n)}next(t){let{isStopped:n,_buffer:r,_infiniteTimeWindow:o,_timestampProvider:i,_windowTime:s}=this;n||(r.push(t),!o&&r.push(i.now()+s)),this._trimBuffer(),super.next(t)}_subscribe(t){this._throwIfClosed(),this._trimBuffer();let n=this._innerSubscribe(t),{_infiniteTimeWindow:r,_buffer:o}=this,i=o.slice();for(let s=0;s<i.length&&!t.closed;s+=r?1:2)t.next(i[s]);return this._checkFinalizedStatuses(t),n}_trimBuffer(){let{_bufferSize:t,_timestampProvider:n,_buffer:r,_infiniteTimeWindow:o}=this,i=(o?1:2)*t;if(t<1/0&&i<r.length&&r.splice(0,r.length-i),!o){let s=n.now(),a=0;for(let c=1;c<r.length&&r[c]<=s;c+=2)a=c;a&&r.splice(0,a+1)}}};var wr=class extends V{constructor(t,n){super()}schedule(t,n=0){return this}};var Nn={setInterval(e,t,...n){let{delegate:r}=Nn;return r?.setInterval?r.setInterval(e,t,...n):setInterval(e,t,...n)},clearInterval(e){let{delegate:t}=Nn;return(t?.clearInterval||clearInterval)(e)},delegate:void 0};var qe=class extends wr{constructor(t,n){super(t,n),this.scheduler=t,this.work=n,this.pending=!1}schedule(t,n=0){var r;if(this.closed)return this;this.state=t;let o=this.id,i=this.scheduler;return o!=null&&(this.id=this.recycleAsyncId(i,o,n)),this.pending=!0,this.delay=n,this.id=(r=this.id)!==null&&r!==void 0?r:this.requestAsyncId(i,this.id,n),this}requestAsyncId(t,n,r=0){return Nn.setInterval(t.flush.bind(t,this),r)}recycleAsyncId(t,n,r=0){if(r!=null&&this.delay===r&&this.pending===!1)return n;n!=null&&Nn.clearInterval(n)}execute(t,n){if(this.closed)return new Error("executing a cancelled action");this.pending=!1;let r=this._execute(t,n);if(r)return r;this.pending===!1&&this.id!=null&&(this.id=this.recycleAsyncId(this.scheduler,this.id,null))}_execute(t,n){let r=!1,o;try{this.work(t)}catch(i){r=!0,o=i||new Error("Scheduled action threw falsy error")}if(r)return this.unsubscribe(),o}unsubscribe(){if(!this.closed){let{id:t,scheduler:n}=this,{actions:r}=n;this.work=this.state=this.scheduler=null,this.pending=!1,lt(r,this),t!=null&&(this.id=this.recycleAsyncId(n,t,null)),this.delay=null,super.unsubscribe()}}};var Zh=1,ji,Hi={};function nl(e){return e in Hi?(delete Hi[e],!0):!1}var rl={setImmediate(e){let t=Zh++;return Hi[t]=!0,ji||(ji=Promise.resolve()),ji.then(()=>nl(t)&&e()),t},clearImmediate(e){nl(e)}};var{setImmediate:Yh,clearImmediate:Kh}=rl,Sn={setImmediate(...e){let{delegate:t}=Sn;return(t?.setImmediate||Yh)(...e)},clearImmediate(e){let{delegate:t}=Sn;return(t?.clearImmediate||Kh)(e)},delegate:void 0};var Dr=class extends qe{constructor(t,n){super(t,n),this.scheduler=t,this.work=n}requestAsyncId(t,n,r=0){return r!==null&&r>0?super.requestAsyncId(t,n,r):(t.actions.push(this),t._scheduled||(t._scheduled=Sn.setImmediate(t.flush.bind(t,void 0))))}recycleAsyncId(t,n,r=0){var o;if(r!=null?r>0:this.delay>0)return super.recycleAsyncId(t,n,r);let{actions:i}=t;n!=null&&((o=i[i.length-1])===null||o===void 0?void 0:o.id)!==n&&(Sn.clearImmediate(n),t._scheduled=void 0)}};var Ut=class e{constructor(t,n=e.now){this.schedulerActionCtor=t,this.now=n}schedule(t,n=0,r){return new this.schedulerActionCtor(this,t).schedule(r,n)}};Ut.now=_n.now;var We=class extends Ut{constructor(t,n=Ut.now){super(t,n),this.actions=[],this._active=!1}flush(t){let{actions:n}=this;if(this._active){n.push(t);return}let r;this._active=!0;do if(r=t.execute(t.state,t.delay))break;while(t=n.shift());if(this._active=!1,r){for(;t=n.shift();)t.unsubscribe();throw r}}};var br=class extends We{flush(t){this._active=!0;let n=this._scheduled;this._scheduled=void 0;let{actions:r}=this,o;t=t||r.shift();do if(o=t.execute(t.state,t.delay))break;while((t=r[0])&&t.id===n&&r.shift());if(this._active=!1,o){for(;(t=r[0])&&t.id===n&&r.shift();)t.unsubscribe();throw o}}};var Jh=new br(Dr);var pt=new We(qe),ol=pt;var Mr=class extends qe{constructor(t,n){super(t,n),this.scheduler=t,this.work=n}requestAsyncId(t,n,r=0){return r!==null&&r>0?super.requestAsyncId(t,n,r):(t.actions.push(this),t._scheduled||(t._scheduled=$t.requestAnimationFrame(()=>t.flush(void 0))))}recycleAsyncId(t,n,r=0){var o;if(r!=null?r>0:this.delay>0)return super.recycleAsyncId(t,n,r);let{actions:i}=t;n!=null&&((o=i[i.length-1])===null||o===void 0?void 0:o.id)!==n&&($t.cancelAnimationFrame(n),t._scheduled=void 0)}};var Cr=class extends We{flush(t){this._active=!0;let n=this._scheduled;this._scheduled=void 0;let{actions:r}=this,o;t=t||r.shift();do if(o=t.execute(t.state,t.delay))break;while((t=r[0])&&t.id===n&&r.shift());if(this._active=!1,o){for(;(t=r[0])&&t.id===n&&r.shift();)t.unsubscribe();throw o}}};var Xh=new Cr(Mr);var ht=new x(e=>e.complete());function Tr(e){return e&&I(e.schedule)}function Bi(e){return e[e.length-1]}function _r(e){return I(Bi(e))?e.pop():void 0}function Me(e){return Tr(Bi(e))?e.pop():void 0}function il(e,t){return typeof Bi(e)=="number"?e.pop():t}var sl=function(){return sl=Object.assign||function(t){for(var n,r=1,o=arguments.length;r<o;r++){n=arguments[r];for(var i in n)Object.prototype.hasOwnProperty.call(n,i)&&(t[i]=n[i])}return t},sl.apply(this,arguments)};function cl(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(f){s(f)}}function c(u){try{l(r.throw(u))}catch(f){s(f)}}function l(u){u.done?i(u.value):o(u.value).then(a,c)}l((r=r.apply(e,t||[])).next())})}function al(e){var t=typeof Symbol=="function"&&Symbol.iterator,n=t&&e[t],r=0;if(n)return n.call(e);if(e&&typeof e.length=="number")return{next:function(){return e&&r>=e.length&&(e=void 0),{value:e&&e[r++],done:!e}}};throw new TypeError(t?"Object is not iterable.":"Symbol.iterator is not defined.")}function gt(e){return this instanceof gt?(this.v=e,this):new gt(e)}function ll(e,t,n){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var r=n.apply(e,t||[]),o,i=[];return o=Object.create((typeof AsyncIterator=="function"?AsyncIterator:Object).prototype),a("next"),a("throw"),a("return",s),o[Symbol.asyncIterator]=function(){return this},o;function s(d){return function(h){return Promise.resolve(h).then(d,f)}}function a(d,h){r[d]&&(o[d]=function(g){return new Promise(function(O,S){i.push([d,g,O,S])>1||c(d,g)})},h&&(o[d]=h(o[d])))}function c(d,h){try{l(r[d](h))}catch(g){p(i[0][3],g)}}function l(d){d.value instanceof gt?Promise.resolve(d.value.v).then(u,f):p(i[0][2],d)}function u(d){c("next",d)}function f(d){c("throw",d)}function p(d,h){d(h),i.shift(),i.length&&c(i[0][0],i[0][1])}}function ul(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 al=="function"?al(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 qt=e=>e&&typeof e.length=="number"&&typeof e!="function";function xr(e){return I(e?.then)}function Nr(e){return I(e[Bt])}function Sr(e){return Symbol.asyncIterator&&I(e?.[Symbol.asyncIterator])}function Or(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 eg(){return typeof Symbol!="function"||!Symbol.iterator?"@@iterator":Symbol.iterator}var Rr=eg();function Ar(e){return I(e?.[Rr])}function kr(e){return ll(this,arguments,function*(){let n=e.getReader();try{for(;;){let{value:r,done:o}=yield gt(n.read());if(o)return yield gt(void 0);yield yield gt(r)}}finally{n.releaseLock()}})}function Pr(e){return I(e?.getReader)}function P(e){if(e instanceof x)return e;if(e!=null){if(Nr(e))return tg(e);if(qt(e))return ng(e);if(xr(e))return rg(e);if(Sr(e))return dl(e);if(Ar(e))return og(e);if(Pr(e))return ig(e)}throw Or(e)}function tg(e){return new x(t=>{let n=e[Bt]();if(I(n.subscribe))return n.subscribe(t);throw new TypeError("Provided object does not correctly implement Symbol.observable")})}function ng(e){return new x(t=>{for(let n=0;n<e.length&&!t.closed;n++)t.next(e[n]);t.complete()})}function rg(e){return new x(t=>{e.then(n=>{t.closed||(t.next(n),t.complete())},n=>t.error(n)).then(null,vr)})}function og(e){return new x(t=>{for(let n of e)if(t.next(n),t.closed)return;t.complete()})}function dl(e){return new x(t=>{sg(e,t).catch(n=>t.error(n))})}function ig(e){return dl(kr(e))}function sg(e,t){var n,r,o,i;return cl(this,void 0,void 0,function*(){try{for(n=ul(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 ee(e,t,n,r=0,o=!1){let i=t.schedule(function(){n(),o?e.add(this.schedule(null,r)):this.unsubscribe()},r);if(e.add(i),!o)return i}function Lr(e,t=0){return y((n,r)=>{n.subscribe(E(r,o=>ee(r,e,()=>r.next(o),t),()=>ee(r,e,()=>r.complete(),t),o=>ee(r,e,()=>r.error(o),t)))})}function Fr(e,t=0){return y((n,r)=>{r.add(e.schedule(()=>n.subscribe(r),t))})}function fl(e,t){return P(e).pipe(Fr(t),Lr(t))}function pl(e,t){return P(e).pipe(Fr(t),Lr(t))}function hl(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 gl(e,t){return new x(n=>{let r;return ee(n,t,()=>{r=e[Rr](),ee(n,t,()=>{let o,i;try{({value:o,done:i}=r.next())}catch(s){n.error(s);return}i?n.complete():n.next(o)},0,!0)}),()=>I(r?.return)&&r.return()})}function Vr(e,t){if(!e)throw new Error("Iterable cannot be null");return new x(n=>{ee(n,t,()=>{let r=e[Symbol.asyncIterator]();ee(n,t,()=>{r.next().then(o=>{o.done?n.complete():n.next(o.value)})},0,!0)})})}function ml(e,t){return Vr(kr(e),t)}function yl(e,t){if(e!=null){if(Nr(e))return fl(e,t);if(qt(e))return hl(e,t);if(xr(e))return pl(e,t);if(Sr(e))return Vr(e,t);if(Ar(e))return gl(e,t);if(Pr(e))return ml(e,t)}throw Or(e)}function Ce(e,t){return t?yl(e,t):P(e)}function ag(...e){let t=Me(e);return Ce(e,t)}function cg(e,t){let n=I(e)?e:()=>e,r=o=>o.error(n());return new x(t?o=>t.schedule(r,0,o):r)}function lg(e){return!!e&&(e instanceof x||I(e.lift)&&I(e.subscribe))}var Ae=Vt(e=>function(){e(this),this.name="EmptyError",this.message="no elements in sequence"});function ug(e,t){let n=typeof t=="object";return new Promise((r,o)=>{let i=new pe({next:s=>{r(s),i.unsubscribe()},error:o,complete:()=>{n?r(t.defaultValue):o(new Ae)}});e.subscribe(i)})}function vl(e){return e instanceof Date&&!isNaN(e)}function le(e,t){return y((n,r)=>{let o=0;n.subscribe(E(r,i=>{r.next(e.call(t,i,o++))}))})}var{isArray:dg}=Array;function fg(e,t){return dg(t)?e(...t):e(t)}function Wt(e){return le(t=>fg(e,t))}var{isArray:pg}=Array,{getPrototypeOf:hg,prototype:gg,keys:mg}=Object;function jr(e){if(e.length===1){let t=e[0];if(pg(t))return{args:t,keys:null};if(yg(t)){let n=mg(t);return{args:n.map(r=>t[r]),keys:n}}}return{args:e,keys:null}}function yg(e){return e&&typeof e=="object"&&hg(e)===gg}function Hr(e,t){return e.reduce((n,r,o)=>(n[r]=t[o],n),{})}function vg(...e){let t=Me(e),n=_r(e),{args:r,keys:o}=jr(e);if(r.length===0)return Ce([],t);let i=new x(Ig(r,t,o?s=>Hr(o,s):Z));return n?i.pipe(Wt(n)):i}function Ig(e,t,n=Z){return r=>{Il(t,()=>{let{length:o}=e,i=new Array(o),s=o,a=o;for(let c=0;c<o;c++)Il(t,()=>{let l=Ce(e[c],t),u=!1;l.subscribe(E(r,f=>{i[c]=f,u||(u=!0,a--),a||r.next(n(i.slice()))},()=>{--s||r.complete()}))},r)},r)}}function Il(e,t,n){e?ee(n,e,t):t()}function Br(e,t,n,r,o,i,s,a){let c=[],l=0,u=0,f=!1,p=()=>{f&&!c.length&&!l&&t.complete()},d=g=>l<r?h(g):c.push(g),h=g=>{i&&t.next(g),l++;let O=!1;P(n(g,u++)).subscribe(E(t,S=>{o?.(S),i?d(S):t.next(S)},()=>{O=!0},void 0,()=>{if(O)try{for(l--;c.length&&l<r;){let S=c.shift();s?ee(t,s,()=>h(S)):h(S)}p()}catch(S){t.error(S)}}))};return e.subscribe(E(t,d,()=>{f=!0,p()})),()=>{a?.()}}function he(e,t,n=1/0){return I(t)?he((r,o)=>le((i,s)=>t(r,i,o,s))(P(e(r,o))),n):(typeof t=="number"&&(n=t),y((r,o)=>Br(r,o,e,n)))}function On(e=1/0){return he(Z,e)}function El(){return On(1)}function zt(...e){return El()(Ce(e,Me(e)))}function Eg(e){return new x(t=>{P(e()).subscribe(t)})}function wg(...e){let t=_r(e),{args:n,keys:r}=jr(e),o=new x(i=>{let{length:s}=n;if(!s){i.complete();return}let a=new Array(s),c=s,l=s;for(let u=0;u<s;u++){let f=!1;P(n[u]).subscribe(E(i,p=>{f||(f=!0,l--),a[u]=p},()=>c--,void 0,()=>{(!c||!f)&&(l||i.next(r?Hr(r,a):a),i.complete())}))}});return t?o.pipe(Wt(t)):o}var Dg=["addListener","removeListener"],bg=["addEventListener","removeEventListener"],Mg=["on","off"];function $i(e,t,n,r){if(I(n)&&(r=n,n=void 0),r)return $i(e,t,n).pipe(Wt(r));let[o,i]=_g(e)?bg.map(s=>a=>e[s](t,a,n)):Cg(e)?Dg.map(wl(e,t)):Tg(e)?Mg.map(wl(e,t)):[];if(!o&&qt(e))return he(s=>$i(s,t,n))(P(e));if(!o)throw new TypeError("Invalid event target");return new x(s=>{let a=(...c)=>s.next(1<c.length?c:c[0]);return o(a),()=>i(a)})}function wl(e,t){return n=>r=>e[n](t,r)}function Cg(e){return I(e.addListener)&&I(e.removeListener)}function Tg(e){return I(e.on)&&I(e.off)}function _g(e){return I(e.addEventListener)&&I(e.removeEventListener)}function Rn(e=0,t,n=ol){let r=-1;return t!=null&&(Tr(t)?n=t:r=t),new x(o=>{let i=vl(e)?+e-n.now():e;i<0&&(i=0);let s=0;return n.schedule(function(){o.closed||(o.next(s++),0<=r?this.schedule(void 0,r):o.complete())},i)})}function xg(...e){let t=Me(e),n=il(e,1/0),r=e;return r.length?r.length===1?P(r[0]):On(n)(Ce(r,t)):ht}function ze(e,t){return y((n,r)=>{let o=0;n.subscribe(E(r,i=>e.call(t,i,o++)&&r.next(i)))})}function Dl(e){return y((t,n)=>{let r=!1,o=null,i=null,s=!1,a=()=>{if(i?.unsubscribe(),i=null,r){r=!1;let l=o;o=null,n.next(l)}s&&n.complete()},c=()=>{i=null,s&&n.complete()};t.subscribe(E(n,l=>{r=!0,o=l,i||P(e(l)).subscribe(i=E(n,a,c))},()=>{s=!0,(!r||!i||i.closed)&&n.complete()}))})}function Ng(e,t=pt){return Dl(()=>Rn(e,t))}function Ui(e){return y((t,n)=>{let r=null,o=!1,i;r=t.subscribe(E(n,void 0,void 0,s=>{i=P(e(s,Ui(e)(t))),r?(r.unsubscribe(),r=null,i.subscribe(n)):o=!0})),o&&(r.unsubscribe(),r=null,i.subscribe(n))})}function bl(e,t,n,r,o){return(i,s)=>{let a=n,c=t,l=0;i.subscribe(E(s,u=>{let f=l++;c=a?e(c,u,f):(a=!0,u),r&&s.next(c)},o&&(()=>{a&&s.next(c),s.complete()})))}}function Sg(e,t){return I(t)?he(e,t,1):he(e,1)}function Ml(e,t=pt){return y((n,r)=>{let o=null,i=null,s=null,a=()=>{if(o){o.unsubscribe(),o=null;let l=i;i=null,r.next(l)}};function c(){let l=s+e,u=t.now();if(u<l){o=this.schedule(void 0,l-u),r.add(o);return}a()}n.subscribe(E(r,l=>{i=l,s=t.now(),o||(o=t.schedule(c,e),r.add(o))},()=>{a(),r.complete()},void 0,()=>{i=o=null}))})}function An(e){return y((t,n)=>{let r=!1;t.subscribe(E(n,o=>{r=!0,n.next(o)},()=>{r||n.next(e),n.complete()}))})}function Gt(e){return e<=0?()=>ht:y((t,n)=>{let r=0;t.subscribe(E(n,o=>{++r<=e&&(n.next(o),e<=r&&n.complete())}))})}function Cl(){return y((e,t)=>{e.subscribe(E(t,ut))})}function qi(e){return le(()=>e)}function Wi(e,t){return t?n=>zt(t.pipe(Gt(1),Cl()),n.pipe(Wi(e))):he((n,r)=>e(n,r).pipe(Gt(1),qi(n)))}function Og(e,t=pt){let n=Rn(e,t);return Wi(()=>n)}function Tl(e,t=Z){return e=e??Rg,y((n,r)=>{let o,i=!0;n.subscribe(E(r,s=>{let a=t(s);(i||!e(o,a))&&(i=!1,o=a,r.next(s))}))})}function Rg(e,t){return e===t}function $r(e=Ag){return y((t,n)=>{let r=!1;t.subscribe(E(n,o=>{r=!0,n.next(o)},()=>r?n.complete():n.error(e())))})}function Ag(){return new Ae}function kg(e,t){return y((n,r)=>{let o=0;n.subscribe(E(r,i=>{e.call(t,i,o++,n)||(r.next(!1),r.complete())},()=>{r.next(!0),r.complete()}))})}function Pg(e,t=1/0,n){return t=(t||0)<1?1/0:t,y((r,o)=>Br(r,o,e,t,void 0,!0,n))}function _l(e){return y((t,n)=>{try{t.subscribe(n)}finally{n.add(e)}})}function Lg(e,t){let n=arguments.length>=2;return r=>r.pipe(e?ze((o,i)=>e(o,i,r)):Z,Gt(1),n?An(t):$r(()=>new Ae))}function zi(e){return e<=0?()=>ht:y((t,n)=>{let r=[];t.subscribe(E(n,o=>{r.push(o),e<r.length&&r.shift()},()=>{for(let o of r)n.next(o);n.complete()},void 0,()=>{r=null}))})}function Fg(e,t){let n=arguments.length>=2;return r=>r.pipe(e?ze((o,i)=>e(o,i,r)):Z,zi(1),n?An(t):$r(()=>new Ae))}function Vg(){return y((e,t)=>{let n,r=!1;e.subscribe(E(t,o=>{let i=n;n=o,r&&t.next([i,o]),r=!0}))})}function jg(...e){let t=e.length;if(t===0)throw new Error("list of properties cannot be empty.");return le(n=>{let r=n;for(let o=0;o<t;o++){let i=r?.[e[o]];if(typeof i<"u")r=i;else return}return r})}function Hg(e,t){return y(bl(e,t,arguments.length>=2,!0))}function Qi(e={}){let{connector:t=()=>new ce,resetOnError:n=!0,resetOnComplete:r=!0,resetOnRefCountZero:o=!0}=e;return i=>{let s,a,c,l=0,u=!1,f=!1,p=()=>{a?.unsubscribe(),a=void 0},d=()=>{p(),s=c=void 0,u=f=!1},h=()=>{let g=s;d(),g?.unsubscribe()};return y((g,O)=>{l++,!f&&!u&&p();let S=c=c??t();O.add(()=>{l--,l===0&&!f&&!u&&(a=Gi(h,o))}),S.subscribe(O),!s&&l>0&&(s=new pe({next:be=>S.next(be),error:be=>{f=!0,p(),a=Gi(d,n,be),S.error(be)},complete:()=>{u=!0,p(),a=Gi(d,r),S.complete()}}),P(g).subscribe(s))})(i)}}function Gi(e,t,...n){if(t===!0){e();return}if(t===!1)return;let r=new pe({next:()=>{r.unsubscribe(),e()}});return t(...n).subscribe(r)}function Bg(e,t,n){let r,o=!1;return e&&typeof e=="object"?{bufferSize:r=1/0,windowTime:t=1/0,refCount:o=!1,scheduler:n}=e:r=e??1/0,Qi({connector:()=>new xn(r,t,n),resetOnError:!0,resetOnComplete:!1,resetOnRefCountZero:o})}function $g(e){return ze((t,n)=>e<=n)}function xl(...e){let t=Me(e);return y((n,r)=>{(t?zt(e,n,t):zt(e,n)).subscribe(r)})}function Nl(e,t){return y((n,r)=>{let o=null,i=0,s=!1,a=()=>s&&!o&&r.complete();n.subscribe(E(r,c=>{o?.unsubscribe();let l=0,u=i++;P(e(c,u)).subscribe(o=E(r,f=>r.next(t?t(c,f,u,l++):f),()=>{o=null,a()}))},()=>{s=!0,a()}))})}function Sl(e){return y((t,n)=>{P(e).subscribe(E(n,()=>n.complete(),ut)),!n.closed&&t.subscribe(n)})}function Ug(e,t=!1){return y((n,r)=>{let o=0;n.subscribe(E(r,i=>{let s=e(i,o++);(s||t)&&r.next(i),!s&&r.complete()}))})}function Ol(e,t,n){let r=I(e)||t||n?{next:e,error:t,complete:n}:e;return r?y((o,i)=>{var s;(s=r.subscribe)===null||s===void 0||s.call(r);let a=!0;o.subscribe(E(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)}))}):Z}var Xi={JSACTION:"jsaction"},es={JSACTION:"__jsaction",OWNER:"__owner"},Pl={};function qg(e){return e[es.JSACTION]}function Rl(e,t){e[es.JSACTION]=t}function Wg(e){return Pl[e]}function zg(e,t){Pl[e]=t}var v={CLICK:"click",CLICKMOD:"clickmod",DBLCLICK:"dblclick",FOCUS:"focus",FOCUSIN:"focusin",BLUR:"blur",FOCUSOUT:"focusout",SUBMIT:"submit",KEYDOWN:"keydown",KEYPRESS:"keypress",KEYUP:"keyup",MOUSEOVER:"mouseover",MOUSEOUT:"mouseout",MOUSEENTER:"mouseenter",MOUSELEAVE:"mouseleave",POINTEROVER:"pointerover",POINTEROUT:"pointerout",POINTERENTER:"pointerenter",POINTERLEAVE:"pointerleave",ERROR:"error",LOAD:"load",TOUCHSTART:"touchstart",TOUCHEND:"touchend",TOUCHMOVE:"touchmove",TOGGLE:"toggle"},Gg=[v.MOUSEENTER,v.MOUSELEAVE,"pointerenter","pointerleave"],IR=[v.CLICK,v.DBLCLICK,v.FOCUSIN,v.FOCUSOUT,v.KEYDOWN,v.KEYUP,v.KEYPRESS,v.MOUSEOVER,v.MOUSEOUT,v.SUBMIT,v.TOUCHSTART,v.TOUCHEND,v.TOUCHMOVE,"touchcancel","auxclick","change","compositionstart","compositionupdate","compositionend","beforeinput","input","select","copy","cut","paste","mousedown","mouseup","wheel","contextmenu","dragover","dragenter","dragleave","drop","dragstart","dragend","pointerdown","pointermove","pointerup","pointercancel","pointerover","pointerout","gotpointercapture","lostpointercapture","ended","loadedmetadata","pagehide","pageshow","visibilitychange","beforematch"],Qg=[v.FOCUS,v.BLUR,v.ERROR,v.LOAD,v.TOGGLE],ts=e=>Qg.indexOf(e)>=0;function Zg(e){return e===v.MOUSEENTER?v.MOUSEOVER:e===v.MOUSELEAVE?v.MOUSEOUT:e===v.POINTERENTER?v.POINTEROVER:e===v.POINTERLEAVE?v.POINTEROUT:e}function Yg(e,t,n,r){let o=!1;ts(t)&&(o=!0);let i=typeof r=="boolean"?{capture:o,passive:r}:o;return e.addEventListener(t,n,i),{eventType:t,handler:n,capture:o,passive:r}}function Kg(e,t){if(e.removeEventListener){let n=typeof t.passive=="boolean"?{capture:t.capture}:t.capture;e.removeEventListener(t.eventType,t.handler,n)}else e.detachEvent&&e.detachEvent(`on${t.eventType}`,t.handler)}function Jg(e){e.preventDefault?e.preventDefault():e.returnValue=!1}var Al=typeof navigator<"u"&&/Macintosh/.test(navigator.userAgent);function Xg(e){return e.which===2||e.which==null&&e.button===4}function em(e){return Al&&e.metaKey||!Al&&e.ctrlKey||Xg(e)||e.shiftKey}function tm(e,t,n){let r=e.relatedTarget;return(e.type===v.MOUSEOVER&&t===v.MOUSEENTER||e.type===v.MOUSEOUT&&t===v.MOUSELEAVE||e.type===v.POINTEROVER&&t===v.POINTERENTER||e.type===v.POINTEROUT&&t===v.POINTERLEAVE)&&(!r||r!==n&&!n.contains(r))}function nm(e,t){let n={};for(let r in e){if(r==="srcElement"||r==="target")continue;let o=r,i=e[o];typeof i!="function"&&(n[o]=i)}return e.type===v.MOUSEOVER?n.type=v.MOUSEENTER:e.type===v.MOUSEOUT?n.type=v.MOUSELEAVE:e.type===v.POINTEROVER?n.type=v.POINTERENTER:n.type=v.POINTERLEAVE,n.target=n.srcElement=t,n.bubbles=!1,n._originalEvent=e,n}var rm=typeof navigator<"u"&&/iPhone|iPad|iPod/.test(navigator.userAgent),zr=class{element;handlerInfos=[];constructor(t){this.element=t}addEventListener(t,n,r){rm&&(this.element.style.cursor="pointer"),this.handlerInfos.push(Yg(this.element,t,n(this.element),r))}cleanUp(){for(let t=0;t<this.handlerInfos.length;t++)Kg(this.element,this.handlerInfos[t]);this.handlerInfos=[]}},om={EVENT_ACTION_SEPARATOR:":"};function Ge(e){return e.eventType}function ns(e,t){e.eventType=t}function qr(e){return e.event}function Ll(e,t){e.event=t}function Fl(e){return e.targetElement}function Vl(e,t){e.targetElement=t}function jl(e){return e.eic}function im(e,t){e.eic=t}function sm(e){return e.timeStamp}function am(e,t){e.timeStamp=t}function Wr(e){return e.eia}function Hl(e,t,n){e.eia=[t,n]}function Zi(e){e.eia=void 0}function Ur(e){return e[1]}function cm(e){return e.eirp}function Bl(e,t){e.eirp=t}function $l(e){return e.eir}function Ul(e,t){e.eir=t}function ql(e){return{eventType:e.eventType,event:e.event,targetElement:e.targetElement,eic:e.eic,eia:e.eia,timeStamp:e.timeStamp,eirp:e.eirp,eiack:e.eiack,eir:e.eir}}function lm(e,t,n,r,o,i,s,a){return{eventType:e,event:t,targetElement:n,eic:r,timeStamp:o,eia:i,eirp:s,eiack:a}}var Yi=class e{eventInfo;constructor(t){this.eventInfo=t}getEventType(){return Ge(this.eventInfo)}setEventType(t){ns(this.eventInfo,t)}getEvent(){return qr(this.eventInfo)}setEvent(t){Ll(this.eventInfo,t)}getTargetElement(){return Fl(this.eventInfo)}setTargetElement(t){Vl(this.eventInfo,t)}getContainer(){return jl(this.eventInfo)}setContainer(t){im(this.eventInfo,t)}getTimestamp(){return sm(this.eventInfo)}setTimestamp(t){am(this.eventInfo,t)}getAction(){let t=Wr(this.eventInfo);if(t)return{name:t[0],element:t[1]}}setAction(t){if(!t){Zi(this.eventInfo);return}Hl(this.eventInfo,t.name,t.element)}getIsReplay(){return cm(this.eventInfo)}setIsReplay(t){Bl(this.eventInfo,t)}getResolved(){return $l(this.eventInfo)}setResolved(t){Ul(this.eventInfo,t)}clone(){return new e(ql(this.eventInfo))}},um={},dm=/\s*;\s*/,fm=v.CLICK,Ki=class{a11yClickSupport=!1;clickModSupport=!0;syntheticMouseEventSupport;updateEventInfoForA11yClick=void 0;preventDefaultForA11yClick=void 0;populateClickOnlyAction=void 0;constructor({syntheticMouseEventSupport:t=!1,clickModSupport:n=!0}={}){this.syntheticMouseEventSupport=t,this.clickModSupport=n}resolveEventType(t){this.clickModSupport&&Ge(t)===v.CLICK&&em(qr(t))?ns(t,v.CLICKMOD):this.a11yClickSupport&&this.updateEventInfoForA11yClick(t)}resolveAction(t){$l(t)||(this.populateAction(t,Fl(t)),Ul(t,!0))}resolveParentAction(t){let n=Wr(t),r=n&&Ur(n);Zi(t);let o=r&&this.getParentNode(r);o&&this.populateAction(t,o)}populateAction(t,n){let r=n;for(;r&&r!==jl(t)&&(r.nodeType===Node.ELEMENT_NODE&&this.populateActionOnElement(r,t),!Wr(t));)r=this.getParentNode(r);let o=Wr(t);if(o&&(this.a11yClickSupport&&this.preventDefaultForA11yClick(t),this.syntheticMouseEventSupport&&(Ge(t)===v.MOUSEENTER||Ge(t)===v.MOUSELEAVE||Ge(t)===v.POINTERENTER||Ge(t)===v.POINTERLEAVE)))if(tm(qr(t),Ge(t),Ur(o))){let i=nm(qr(t),Ur(o));Ll(t,i),Vl(t,Ur(o))}else Zi(t)}getParentNode(t){let n=t[es.OWNER];if(n)return n;let r=t.parentNode;return r?.nodeName==="#document-fragment"?r?.host??null:r}populateActionOnElement(t,n){let r=this.parseActions(t),o=r[Ge(n)];o!==void 0&&Hl(n,o,t),this.a11yClickSupport&&this.populateClickOnlyAction(t,n,r)}parseActions(t){let n=qg(t);if(!n){let r=t.getAttribute(Xi.JSACTION);if(!r)n=um,Rl(t,n);else{if(n=Wg(r),!n){n={};let o=r.split(dm);for(let i=0;i<o.length;i++){let s=o[i];if(!s)continue;let a=s.indexOf(om.EVENT_ACTION_SEPARATOR),c=a!==-1,l=c?s.substr(0,a).trim():fm,u=c?s.substr(a+1).trim():s;n[l]=u}zg(r,n)}Rl(t,n)}}return n}addA11yClickSupport(t,n,r){this.a11yClickSupport=!0,this.updateEventInfoForA11yClick=t,this.preventDefaultForA11yClick=n,this.populateClickOnlyAction=r}},Wl=function(e){return e[e.I_AM_THE_JSACTION_FRAMEWORK=0]="I_AM_THE_JSACTION_FRAMEWORK",e}(Wl||{}),Ji=class{dispatchDelegate;actionResolver;eventReplayer;eventReplayScheduled=!1;replayEventInfoWrappers=[];constructor(t,{actionResolver:n,eventReplayer:r}={}){this.dispatchDelegate=t,this.actionResolver=n,this.eventReplayer=r}dispatch(t){let n=new Yi(t);this.actionResolver?.resolveEventType(t),this.actionResolver?.resolveAction(t);let r=n.getAction();if(r&&pm(r.element,n)&&Jg(n.getEvent()),this.eventReplayer&&n.getIsReplay()){this.scheduleEventInfoWrapperReplay(n);return}this.dispatchDelegate(n)}scheduleEventInfoWrapperReplay(t){this.replayEventInfoWrappers.push(t),!this.eventReplayScheduled&&(this.eventReplayScheduled=!0,Promise.resolve().then(()=>{this.eventReplayScheduled=!1,this.eventReplayer(this.replayEventInfoWrappers)}))}};function pm(e,t){return e.tagName==="A"&&(t.getEventType()===v.CLICK||t.getEventType()===v.CLICKMOD)}var zl=Symbol.for("propagationStopped"),rs={REPLAY:101};var hm="`preventDefault` called during event replay.";var gm="`composedPath` called during event replay.",Gr=class{dispatchDelegate;clickModSupport;actionResolver;dispatcher;constructor(t,n=!0){this.dispatchDelegate=t,this.clickModSupport=n,this.actionResolver=new Ki({clickModSupport:n}),this.dispatcher=new Ji(r=>{this.dispatchToDelegate(r)},{actionResolver:this.actionResolver})}dispatch(t){this.dispatcher.dispatch(t)}dispatchToDelegate(t){for(t.getIsReplay()&&vm(t),mm(t);t.getAction();){if(Im(t),ts(t.getEventType())&&t.getAction().element!==t.getTargetElement()||(this.dispatchDelegate(t.getEvent(),t.getAction().name),ym(t)))return;this.actionResolver.resolveParentAction(t.eventInfo)}}};function mm(e){let t=e.getEvent(),n=e.getEvent().stopPropagation.bind(t),r=()=>{t[zl]=!0,n()};mt(t,"stopPropagation",r),mt(t,"stopImmediatePropagation",r)}function ym(e){return!!e.getEvent()[zl]}function vm(e){let t=e.getEvent(),n=e.getTargetElement(),r=t.preventDefault.bind(t);mt(t,"target",n),mt(t,"eventPhase",rs.REPLAY),mt(t,"preventDefault",()=>{throw r(),new Error(hm+"")}),mt(t,"composedPath",()=>{throw new Error(gm+"")})}function Im(e){let t=e.getEvent(),n=e.getAction()?.element;n&&mt(t,"currentTarget",n,{configurable:!0})}function mt(e,t,n,{configurable:r=!1}={}){Object.defineProperty(e,t,{value:n,configurable:r})}function Gl(e,t){e.ecrd(n=>{t.dispatch(n)},Wl.I_AM_THE_JSACTION_FRAMEWORK)}function Em(e){return e?.q??[]}function wm(e){e&&(kl(e.c,e.et,e.h),kl(e.c,e.etc,e.h,!0))}function kl(e,t,n,r){for(let o=0;o<t.length;o++)e.removeEventListener(t[o],n,r)}var Dm=!1,Ql=(()=>{class e{static MOUSE_SPECIAL_SUPPORT=Dm;containerManager;eventHandlers={};browserEventTypeToExtraEventTypes={};dispatcher=null;queuedEventInfos=[];constructor(n){this.containerManager=n}handleEvent(n,r,o){let i=lm(n,r,r.target,o,Date.now());this.handleEventInfo(i)}handleEventInfo(n){if(!this.dispatcher){Bl(n,!0),this.queuedEventInfos?.push(n);return}this.dispatcher(n)}addEvent(n,r,o){if(n in this.eventHandlers||!this.containerManager||!e.MOUSE_SPECIAL_SUPPORT&&Gg.indexOf(n)>=0)return;let i=(a,c,l)=>{this.handleEvent(a,c,l)};this.eventHandlers[n]=i;let s=Zg(r||n);if(s!==n){let a=this.browserEventTypeToExtraEventTypes[s]||[];a.push(n),this.browserEventTypeToExtraEventTypes[s]=a}this.containerManager.addEventListener(s,a=>c=>{i(n,c,a)},o)}replayEarlyEvents(n=window._ejsa){n&&(this.replayEarlyEventInfos(n.q),wm(n),delete window._ejsa)}replayEarlyEventInfos(n){for(let r=0;r<n.length;r++){let o=n[r],i=this.getEventTypesForBrowserEventType(o.eventType);for(let s=0;s<i.length;s++){let a=ql(o);ns(a,i[s]),this.handleEventInfo(a)}}}getEventTypesForBrowserEventType(n){let r=[];return this.eventHandlers[n]&&r.push(n),this.browserEventTypeToExtraEventTypes[n]&&r.push(...this.browserEventTypeToExtraEventTypes[n]),r}handler(n){return this.eventHandlers[n]}cleanUp(){this.containerManager?.cleanUp(),this.containerManager=null,this.eventHandlers={},this.browserEventTypeToExtraEventTypes={},this.dispatcher=null,this.queuedEventInfos=[]}registerDispatcher(n,r){this.ecrd(n,r)}ecrd(n,r){if(this.dispatcher=n,this.queuedEventInfos?.length){for(let o=0;o<this.queuedEventInfos.length;o++)this.handleEventInfo(this.queuedEventInfos[o]);this.queuedEventInfos=null}}}return e})();function Zl(e,t=window){return Em(t._ejsas?.[e])}function os(e,t=window){t._ejsas&&(t._ejsas[e]=void 0)}var id="https://angular.dev/best-practices/security#preventing-cross-site-scripting-xss",T=class extends Error{code;constructor(t,n){super(sd(t,n)),this.code=t}};function bm(e){return`NG0${Math.abs(e)}`}function sd(e,t){return`${bm(e)}${t?": "+t:""}`}var ad=Symbol("InputSignalNode#UNSET"),Mm=X(J({},pr),{transformFn:void 0,applyValueToInputSignal(e,t){Ft(e,t)}});function cd(e,t){let n=Object.create(Mm);n.value=e,n.transformFn=t?.transform;function r(){if(kt(n),n.value===ad){let o=null;throw new T(-950,o)}return n.value}return r[z]=n,r}function Zn(e){return{toString:e}.toString()}var Qr="__parameters__";function Cm(e){return function(...n){if(e){let r=e(...n);for(let o in r)this[o]=r[o]}}}function ld(e,t,n){return Zn(()=>{let r=Cm(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 f=c.hasOwnProperty(Qr)?c[Qr]:Object.defineProperty(c,Qr,{value:[]})[Qr];for(;f.length<=u;)f.push(null);return(f[u]=f[u]||[]).push(s),c}}return o.prototype.ngMetadataName=e,o.annotationCls=o,o})}var Qe=globalThis;function L(e){for(let t in e)if(e[t]===L)return t;throw Error("Could not find renamed property on target object.")}function Tm(e,t){for(let n in t)t.hasOwnProperty(n)&&!e.hasOwnProperty(n)&&(e[n]=t[n])}function ne(e){if(typeof e=="string")return e;if(Array.isArray(e))return`[${e.map(ne).join(", ")}]`;if(e==null)return""+e;let t=e.overriddenName||e.name;if(t)return`${t}`;let n=e.toString();if(n==null)return""+n;let r=n.indexOf(`
`);return r>=0?n.slice(0,r):n}function Ms(e,t){return e?t?`${e} ${t}`:e:t||""}var _m=L({__forward_ref__:L});function ud(e){return e.__forward_ref__=ud,e.toString=function(){return ne(this())},e}function q(e){return dd(e)?e():e}function dd(e){return typeof e=="function"&&e.hasOwnProperty(_m)&&e.__forward_ref__===ud}function j(e){return{token:e.token,providedIn:e.providedIn||null,factory:e.factory,value:void 0}}function lA(e){return{providers:e.providers||[],imports:e.imports||[]}}function Ho(e){return Yl(e,fd)||Yl(e,pd)}function uA(e){return Ho(e)!==null}function Yl(e,t){return e.hasOwnProperty(t)?e[t]:null}function xm(e){let t=e&&(e[fd]||e[pd]);return t||null}function Kl(e){return e&&(e.hasOwnProperty(Jl)||e.hasOwnProperty(Nm))?e[Jl]:null}var fd=L({\u0275prov:L}),Jl=L({\u0275inj:L}),pd=L({ngInjectableDef:L}),Nm=L({ngInjectorDef:L}),N=class{_desc;ngMetadataName="InjectionToken";\u0275prov;constructor(t,n){this._desc=t,this.\u0275prov=void 0,typeof n=="number"?this.__NG_ELEMENT_ID__=n:n!==void 0&&(this.\u0275prov=j({token:this,providedIn:n.providedIn||"root",factory:n.factory}))}get multi(){return this}toString(){return`InjectionToken ${this._desc}`}};function hd(e){return e&&!!e.\u0275providers}var Sm=L({\u0275cmp:L}),Om=L({\u0275dir:L}),Rm=L({\u0275pipe:L}),Am=L({\u0275mod:L}),lo=L({\u0275fac:L}),Fn=L({__NG_ELEMENT_ID__:L}),Xl=L({__NG_ENV_ID__:L});function ye(e){return typeof e=="string"?e:e==null?"":String(e)}function km(e){return typeof e=="function"?e.name||e.toString():typeof e=="object"&&e!=null&&typeof e.type=="function"?e.type.name||e.type.toString():ye(e)}function gd(e,t){throw new T(-200,e)}function Ba(e,t){throw new T(-201,!1)}var _=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}(_||{}),Cs;function md(){return Cs}function te(e){let t=Cs;return Cs=e,t}function yd(e,t,n){let r=Ho(e);if(r&&r.providedIn=="root")return r.value===void 0?r.value=r.factory():r.value;if(n&_.Optional)return null;if(t!==void 0)return t;Ba(e,"Injector")}var Pm={},vt=Pm,Ts="__NG_DI_FLAG__",uo=class{injector;constructor(t){this.injector=t}retrieve(t,n){let r=n;return this.injector.get(t,r.optional?gr:vt,r)}},fo="ngTempTokenPath",Lm="ngTokenPath",Fm=/\n/gm,Vm="\u0275",eu="__source";function jm(e,t=_.Default){if(Cn()===void 0)throw new T(-203,!1);if(Cn()===null)return yd(e,void 0,t);{let n=Cn(),r;return n instanceof uo?r=n.injector:r=n,r.get(e,t&_.Optional?null:void 0,t)}}function Ke(e,t=_.Default){return(md()||jm)(q(e),t)}function D(e,t=_.Default){return Ke(e,Bo(t))}function Bo(e){return typeof e>"u"||typeof e=="number"?e:0|(e.optional&&8)|(e.host&&1)|(e.self&&2)|(e.skipSelf&&4)}function _s(e){let t=[];for(let n=0;n<e.length;n++){let r=q(e[n]);if(Array.isArray(r)){if(r.length===0)throw new T(900,!1);let o,i=_.Default;for(let s=0;s<r.length;s++){let a=r[s],c=Hm(a);typeof c=="number"?c===-1?o=a.token:i|=c:o=a}t.push(Ke(o,i))}else t.push(Ke(r))}return t}function vd(e,t){return e[Ts]=t,e.prototype[Ts]=t,e}function Hm(e){return e[Ts]}function Bm(e,t,n,r){let o=e[fo];throw t[eu]&&o.unshift(t[eu]),e.message=$m(`
`+e.message,o,n,r),e[Lm]=o,e[fo]=null,e}function $m(e,t,n,r=null){e=e&&e.charAt(0)===`
`&&e.charAt(1)==Vm?e.slice(2):e;let o=ne(t);if(Array.isArray(t))o=t.map(ne).join(" -> ");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):ne(a)))}o=`{${i.join(", ")}}`}return`${n}${r?"("+r+")":""}[${o}]: ${e.replace(Fm,`
`)}`}var Id=vd(ld("Optional"),8);var Ed=vd(ld("SkipSelf"),4);function Et(e,t){let n=e.hasOwnProperty(lo);return n?e[lo]:null}function Um(e,t,n){if(e.length!==t.length)return!1;for(let r=0;r<e.length;r++){let o=e[r],i=t[r];if(n&&(o=n(o),i=n(i)),i!==o)return!1}return!0}function qm(e){return e.flat(Number.POSITIVE_INFINITY)}function $a(e,t){e.forEach(n=>Array.isArray(n)?$a(n,t):t(n))}function wd(e,t,n){t>=e.length?e.push(n):e.splice(t,0,n)}function po(e,t){return t>=e.length-1?e.pop():e.splice(t,1)[0]}function Wm(e,t){let n=[];for(let r=0;r<e;r++)n.push(t);return n}function zm(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 $o(e,t,n){let r=Yn(e,t);return r>=0?e[r|1]=n:(r=~r,zm(e,r,t,n)),r}function is(e,t){let n=Yn(e,t);if(n>=0)return e[n|1]}function Yn(e,t){return Gm(e,t,1)}function Gm(e,t,n){let r=0,o=e.length>>n;for(;o!==r;){let i=r+(o-r>>1),s=e[i<<n];if(t===s)return i<<n;s>t?o=i:r=i+1}return~(o<<n)}var _e={},Y=[],on=new N(""),Dd=new N("",-1),bd=new N(""),ho=class{get(t,n=vt){if(n===vt){let r=new Error(`NullInjectorError: No provider for ${ne(t)}!`);throw r.name="NullInjectorError",r}return n}};function Md(e,t){let n=e[Am]||null;if(!n&&t===!0)throw new Error(`Type ${ne(e)} does not have '\u0275mod' property.`);return n}function ke(e){return e[Sm]||null}function Ua(e){return e[Om]||null}function Cd(e){return e[Rm]||null}function qa(e){return{\u0275providers:e}}function Qm(...e){return{\u0275providers:Wa(!0,e),\u0275fromNgModule:!0}}function Wa(e,...t){let n=[],r=new Set,o,i=s=>{n.push(s)};return $a(t,s=>{let a=s;xs(a,i,[],r)&&(o||=[],o.push(a))}),o!==void 0&&Td(o,i),n}function Td(e,t){for(let n=0;n<e.length;n++){let{ngModule:r,providers:o}=e[n];za(o,i=>{t(i,r)})}}function xs(e,t,n,r){if(e=q(e),!e)return!1;let o=null,i=Kl(e),s=!i&&ke(e);if(!i&&!s){let c=e.ngModule;if(i=Kl(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)xs(l,t,n,r)}}else if(i){if(i.imports!=null&&!a){r.add(o);let l;try{$a(i.imports,u=>{xs(u,t,n,r)&&(l||=[],l.push(u))})}finally{}l!==void 0&&Td(l,t)}if(!a){let l=Et(o)||(()=>new o);t({provide:o,useFactory:l,deps:Y},o),t({provide:bd,useValue:o,multi:!0},o),t({provide:on,useValue:()=>Ke(o),multi:!0},o)}let c=i.providers;if(c!=null&&!a){let l=e;za(c,u=>{t(u,l)})}}else return!1;return o!==e&&e.providers!==void 0}function za(e,t){for(let n of e)hd(n)&&(n=n.\u0275providers),Array.isArray(n)?za(n,t):t(n)}var Zm=L({provide:String,useValue:L});function _d(e){return e!==null&&typeof e=="object"&&Zm in e}function Ym(e){return!!(e&&e.useExisting)}function Km(e){return!!(e&&e.useFactory)}function sn(e){return typeof e=="function"}function Jm(e){return!!e.useClass}var xd=new N(""),to={},tu={},ss;function Uo(){return ss===void 0&&(ss=new ho),ss}var Pe=class{},Vn=class extends Pe{parent;source;scopes;records=new Map;_ngOnDestroyHooks=new Set;_onDestroyHooks=[];get destroyed(){return this._destroyed}_destroyed=!1;injectorDefTypes;constructor(t,n,r,o){super(),this.parent=n,this.source=r,this.scopes=o,Ss(t,s=>this.processProvider(s)),this.records.set(Dd,Qt(void 0,this)),o.has("environment")&&this.records.set(Pe,Qt(void 0,this));let i=this.records.get(xd);i!=null&&typeof i.value=="string"&&this.scopes.add(i.value),this.injectorDefTypes=new Set(this.get(bd,Y,_.Self))}retrieve(t,n){let r=n;return this.get(t,r.optional?gr:vt,r)}destroy(){Pn(this),this._destroyed=!0;let t=C(null);try{for(let r of this._ngOnDestroyHooks)r.ngOnDestroy();let n=this._onDestroyHooks;this._onDestroyHooks=[];for(let r of n)r()}finally{this.records.clear(),this._ngOnDestroyHooks.clear(),this.injectorDefTypes.clear(),C(t)}}onDestroy(t){return Pn(this),this._onDestroyHooks.push(t),()=>this.removeOnDestroy(t)}runInContext(t){Pn(this);let n=Re(this),r=te(void 0),o;try{return t()}finally{Re(n),te(r)}}get(t,n=vt,r=_.Default){if(Pn(this),t.hasOwnProperty(Xl))return t[Xl](this);r=Bo(r);let o,i=Re(this),s=te(void 0);try{if(!(r&_.SkipSelf)){let c=this.records.get(t);if(c===void 0){let l=ry(t)&&Ho(t);l&&this.injectableDefInScope(l)?c=Qt(Ns(t),to):c=null,this.records.set(t,c)}if(c!=null)return this.hydrate(t,c,r)}let a=r&_.Self?Uo():this.parent;return n=r&_.Optional&&n===vt?null:n,a.get(t,n)}catch(a){if(a.name==="NullInjectorError"){if((a[fo]=a[fo]||[]).unshift(ne(t)),i)throw a;return Bm(a,t,"R3InjectorError",this.source)}else throw a}finally{te(s),Re(i)}}resolveInjectorInitializers(){let t=C(null),n=Re(this),r=te(void 0),o;try{let i=this.get(on,Y,_.Self);for(let s of i)s()}finally{Re(n),te(r),C(t)}}toString(){let t=[],n=this.records;for(let r of n.keys())t.push(ne(r));return`R3Injector[${t.join(", ")}]`}processProvider(t){t=q(t);let n=sn(t)?t:q(t&&t.provide),r=ey(t);if(!sn(t)&&t.multi===!0){let o=this.records.get(n);o||(o=Qt(void 0,to,!0),o.factory=()=>_s(o.multi),this.records.set(n,o)),n=t,o.multi.push(t)}this.records.set(n,r)}hydrate(t,n,r){let o=C(null);try{return n.value===tu?gd(ne(t)):n.value===to&&(n.value=tu,n.value=n.factory(void 0,r)),typeof n.value=="object"&&n.value&&ny(n.value)&&this._ngOnDestroyHooks.add(n.value),n.value}finally{C(o)}}injectableDefInScope(t){if(!t.providedIn)return!1;let n=q(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 Ns(e){let t=Ho(e),n=t!==null?t.factory:Et(e);if(n!==null)return n;if(e instanceof N)throw new T(204,!1);if(e instanceof Function)return Xm(e);throw new T(204,!1)}function Xm(e){if(e.length>0)throw new T(204,!1);let n=xm(e);return n!==null?()=>n.factory(e):()=>new e}function ey(e){if(_d(e))return Qt(void 0,e.useValue);{let t=Nd(e);return Qt(t,to)}}function Nd(e,t,n){let r;if(sn(e)){let o=q(e);return Et(o)||Ns(o)}else if(_d(e))r=()=>q(e.useValue);else if(Km(e))r=()=>e.useFactory(..._s(e.deps||[]));else if(Ym(e))r=(o,i)=>Ke(q(e.useExisting),i!==void 0&&i&_.Optional?_.Optional:void 0);else{let o=q(e&&(e.useClass||e.provide));if(ty(e))r=()=>new o(..._s(e.deps));else return Et(o)||Ns(o)}return r}function Pn(e){if(e.destroyed)throw new T(205,!1)}function Qt(e,t,n=!1){return{factory:e,value:t,multi:n?[]:void 0}}function ty(e){return!!e.deps}function ny(e){return e!==null&&typeof e=="object"&&typeof e.ngOnDestroy=="function"}function ry(e){return typeof e=="function"||typeof e=="object"&&e instanceof N}function Ss(e,t){for(let n of e)Array.isArray(n)?Ss(n,t):n&&hd(n)?Ss(n.\u0275providers,t):t(n)}function Sd(e,t){let n;e instanceof Vn?(Pn(e),n=e):n=new uo(e);let r,o=Re(n),i=te(void 0);try{return t()}finally{Re(o),te(i)}}function Od(){return md()!==void 0||Cn()!=null}function Ga(e){if(!Od())throw new T(-203,!1)}function oy(e){return typeof e=="function"}var re=0,w=1,b=2,U=3,ve=4,ie=5,de=6,go=7,$=8,xe=9,Le=10,A=11,jn=12,nu=13,dn=14,K=15,wt=16,Zt=17,Fe=18,qo=19,Rd=20,Ye=21,as=22,Dt=23,ue=24,Xt=25,k=26,Qa=1,Ve=6,je=7,mo=8,an=9,W=10;function Ie(e){return Array.isArray(e)&&typeof e[Qa]=="object"}function Se(e){return Array.isArray(e)&&e[Qa]===!0}function Za(e){return(e.flags&4)!==0}function Nt(e){return e.componentOffset>-1}function Wo(e){return(e.flags&1)===1}function Ee(e){return!!e.template}function Hn(e){return(e[b]&512)!==0}function St(e){return(e[b]&256)===256}var Os=class{previousValue;currentValue;firstChange;constructor(t,n,r){this.previousValue=t,this.currentValue=n,this.firstChange=r}isFirstChange(){return this.firstChange}};function Ad(e,t,n,r){t!==null?t.applyValueToInputSignal(t,r):e[n]=r}var dA=(()=>{let e=()=>kd;return e.ngInherit=!0,e})();function kd(e){return e.type.prototype.ngOnChanges&&(e.setInput=sy),iy}function iy(){let e=Ld(this),t=e?.current;if(t){let n=e.previous;if(n===_e)e.previous=t;else for(let r in t)n[r]=t[r];e.current=null,this.ngOnChanges(t)}}function sy(e,t,n,r,o){let i=this.declaredInputs[r],s=Ld(e)||ay(e,{previous:_e,current:null}),a=s.current||(s.current={}),c=s.previous,l=c[i];a[i]=new Os(l&&l.currentValue,n,c===_e),Ad(e,t,o,n)}var Pd="__ngSimpleChanges__";function Ld(e){return e[Pd]||null}function ay(e,t){return e[Pd]=t}var ru=null;var R=function(e,t=null,n){ru?.(e,t,n)},Fd="svg",cy="math";function we(e){for(;Array.isArray(e);)e=e[re];return e}function ly(e){for(;Array.isArray(e);){if(typeof e[Qa]=="object")return e;e=e[re]}return null}function Vd(e,t){return we(t[e])}function De(e,t){return we(t[e.index])}function Kn(e,t){return e.data[t]}function zo(e,t){return e[t]}function jd(e,t,n,r){n>=e.data.length&&(e.data[n]=null,e.blueprint[n]=null),t[n]=r}function Ne(e,t){let n=t[e];return Ie(n)?n:n[re]}function uy(e){return(e[b]&4)===4}function Ya(e){return(e[b]&128)===128}function dy(e){return Se(e[U])}function Je(e,t){return t==null?null:e[t]}function Hd(e){e[Zt]=0}function Bd(e){e[b]&1024||(e[b]|=1024,Ya(e)&&fn(e))}function fy(e,t){for(;e>0;)t=t[dn],e--;return t}function Go(e){return!!(e[b]&9216||e[ue]?.dirty)}function Rs(e){e[Le].changeDetectionScheduler?.notify(8),e[b]&64&&(e[b]|=1024),Go(e)&&fn(e)}function fn(e){e[Le].changeDetectionScheduler?.notify(0);let t=bt(e);for(;t!==null&&!(t[b]&8192||(t[b]|=8192,!Ya(t)));)t=bt(t)}function $d(e,t){if(St(e))throw new T(911,!1);e[Ye]===null&&(e[Ye]=[]),e[Ye].push(t)}function py(e,t){if(e[Ye]===null)return;let n=e[Ye].indexOf(t);n!==-1&&e[Ye].splice(n,1)}function bt(e){let t=e[U];return Se(t)?t[U]:t}function Ka(e){return e[go]??=[]}function Ja(e){return e.cleanup??=[]}function hy(e,t,n,r){let o=Ka(t);o.push(n),e.firstCreatePass&&Ja(e).push(r,o.length-1)}var M={lFrame:Zd(null),bindingsEnabled:!0,skipHydrationRootTNode:null};var As=!1;function gy(){return M.lFrame.elementDepthCount}function my(){M.lFrame.elementDepthCount++}function yy(){M.lFrame.elementDepthCount--}function Xa(){return M.bindingsEnabled}function pn(){return M.skipHydrationRootTNode!==null}function vy(e){return M.skipHydrationRootTNode===e}function Iy(e){M.skipHydrationRootTNode=e}function Ey(){M.skipHydrationRootTNode=null}function m(){return M.lFrame.lView}function F(){return M.lFrame.tView}function fA(e){return M.lFrame.contextLView=e,e[$]}function pA(e){return M.lFrame.contextLView=null,e}function G(){let e=Ud();for(;e!==null&&e.type===64;)e=e.parent;return e}function Ud(){return M.lFrame.currentTNode}function wy(){let e=M.lFrame,t=e.currentTNode;return e.isParent?t:t.parent}function nt(e,t){let n=M.lFrame;n.currentTNode=e,n.isParent=t}function ec(){return M.lFrame.isParent}function tc(){M.lFrame.isParent=!1}function Dy(){return M.lFrame.contextLView}function qd(){return As}function yo(e){let t=As;return As=e,t}function rt(){let e=M.lFrame,t=e.bindingRootIndex;return t===-1&&(t=e.bindingRootIndex=e.tView.bindingStartIndex),t}function Wd(){return M.lFrame.bindingIndex}function by(e){return M.lFrame.bindingIndex=e}function ot(){return M.lFrame.bindingIndex++}function Qo(e){let t=M.lFrame,n=t.bindingIndex;return t.bindingIndex=t.bindingIndex+e,n}function My(){return M.lFrame.inI18n}function Cy(e,t){let n=M.lFrame;n.bindingIndex=n.bindingRootIndex=e,ks(t)}function Ty(){return M.lFrame.currentDirectiveIndex}function ks(e){M.lFrame.currentDirectiveIndex=e}function zd(e){let t=M.lFrame.currentDirectiveIndex;return t===-1?null:e[t]}function nc(){return M.lFrame.currentQueryIndex}function Zo(e){M.lFrame.currentQueryIndex=e}function _y(e){let t=e[w];return t.type===2?t.declTNode:t.type===1?e[ie]:null}function Gd(e,t,n){if(n&_.SkipSelf){let o=t,i=e;for(;o=o.parent,o===null&&!(n&_.Host);)if(o=_y(i),o===null||(i=i[dn],o.type&10))break;if(o===null)return!1;t=o,e=i}let r=M.lFrame=Qd();return r.currentTNode=t,r.lView=e,!0}function rc(e){let t=Qd(),n=e[w];M.lFrame=t,t.currentTNode=n.firstChild,t.lView=e,t.tView=n,t.contextLView=e,t.bindingIndex=n.bindingStartIndex,t.inI18n=!1}function Qd(){let e=M.lFrame,t=e===null?null:e.child;return t===null?Zd(e):t}function Zd(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 Yd(){let e=M.lFrame;return M.lFrame=e.parent,e.currentTNode=null,e.lView=null,e}var Kd=Yd;function oc(){let e=Yd();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 xy(e){return(M.lFrame.contextLView=fy(e,M.lFrame.contextLView))[$]}function Oe(){return M.lFrame.selectedIndex}function Mt(e){M.lFrame.selectedIndex=e}function hn(){let e=M.lFrame;return Kn(e.tView,e.selectedIndex)}function hA(){M.lFrame.currentNamespace=Fd}function gA(){Ny()}function Ny(){M.lFrame.currentNamespace=null}function Jd(){return M.lFrame.currentNamespace}var Xd=!0;function Yo(){return Xd}function it(e){Xd=e}function Sy(e,t,n){let{ngOnChanges:r,ngOnInit:o,ngDoCheck:i}=t.type.prototype;if(r){let s=kd(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 ic(e,t){for(let n=t.directiveStart,r=t.directiveEnd;n<r;n++){let i=e.data[n].type.prototype,{ngAfterContentInit:s,ngAfterContentChecked:a,ngAfterViewInit:c,ngAfterViewChecked:l,ngOnDestroy:u}=i;s&&(e.contentHooks??=[]).push(-n,s),a&&((e.contentHooks??=[]).push(n,a),(e.contentCheckHooks??=[]).push(n,a)),c&&(e.viewHooks??=[]).push(-n,c),l&&((e.viewHooks??=[]).push(n,l),(e.viewCheckHooks??=[]).push(n,l)),u!=null&&(e.destroyHooks??=[]).push(n,u)}}function no(e,t,n){ef(e,t,3,n)}function ro(e,t,n,r){(e[b]&3)===n&&ef(e,t,n,r)}function cs(e,t){let n=e[b];(n&3)===t&&(n&=16383,n+=1,e[b]=n)}function ef(e,t,n,r){let o=r!==void 0?e[Zt]&65535:0,i=r??-1,s=t.length-1,a=0;for(let c=o;c<s;c++)if(typeof t[c+1]=="number"){if(a=t[c],r!=null&&a>=r)break}else t[c]<0&&(e[Zt]+=65536),(a<i||i==-1)&&(Oy(e,n,t,c),e[Zt]=(e[Zt]&4294901760)+c+2),c++}function ou(e,t){R(4,e,t);let n=C(null);try{t.call(e)}finally{C(n),R(5,e,t)}}function Oy(e,t,n,r){let o=n[r]<0,i=n[r+1],s=o?-n[r]:n[r],a=e[s];o?e[b]>>14<e[Zt]>>16&&(e[b]&3)===t&&(e[b]+=16384,ou(a,i)):ou(a,i)}var en=-1,Ct=class{factory;injectImpl;resolving=!1;canSeeViewProviders;multi;componentProviders;index;providerFactory;constructor(t,n,r){this.factory=t,this.canSeeViewProviders=n,this.injectImpl=r}};function Ry(e){return(e.flags&8)!==0}function Ay(e){return(e.flags&16)!==0}function ky(e,t,n){let r=0;for(;r<n.length;){let o=n[r];if(typeof o=="number"){if(o!==0)break;r++;let i=n[r++],s=n[r++],a=n[r++];e.setAttribute(t,s,a,i)}else{let i=o,s=n[++r];Py(i)?e.setProperty(t,i,s):e.setAttribute(t,i,s),r++}}return r}function tf(e){return e===3||e===4||e===6}function Py(e){return e.charCodeAt(0)===64}function cn(e,t){if(!(t===null||t.length===0))if(e===null||e.length===0)e=t.slice();else{let n=-1;for(let r=0;r<t.length;r++){let o=t[r];typeof o=="number"?n=o:n===0||(n===-1||n===2?iu(e,n,o,null,t[++r]):iu(e,n,o,null,null))}}return e}function iu(e,t,n,r,o){let i=0,s=e.length;if(t===-1)s=-1;else for(;i<e.length;){let a=e[i++];if(typeof a=="number"){if(a===t){s=-1;break}else if(a>t){s=i-1;break}}}for(;i<e.length;){let a=e[i];if(typeof a=="number")break;if(a===n){o!==null&&(e[i+1]=o);return}i++,o!==null&&i++}s!==-1&&(e.splice(s,0,t),i=s+1),e.splice(i++,0,n),o!==null&&e.splice(i++,0,o)}function nf(e){return e!==en}function vo(e){return e&32767}function Ly(e){return e>>16}function Io(e,t){let n=Ly(e),r=t;for(;n>0;)r=r[dn],n--;return r}var Ps=!0;function Eo(e){let t=Ps;return Ps=e,t}var Fy=256,rf=Fy-1,of=5,Vy=0,Te={};function jy(e,t,n){let r;typeof n=="string"?r=n.charCodeAt(0)||0:n.hasOwnProperty(Fn)&&(r=n[Fn]),r==null&&(r=n[Fn]=Vy++);let o=r&rf,i=1<<o;t.data[e+(o>>of)]|=i}function wo(e,t){let n=sf(e,t);if(n!==-1)return n;let r=t[w];r.firstCreatePass&&(e.injectorIndex=t.length,ls(r.data,e),ls(t,null),ls(r.blueprint,null));let o=sc(e,t),i=e.injectorIndex;if(nf(o)){let s=vo(o),a=Io(o,t),c=a[w].data;for(let l=0;l<8;l++)t[i+l]=a[s+l]|c[s+l]}return t[i+8]=o,i}function ls(e,t){e.push(0,0,0,0,0,0,0,0,t)}function sf(e,t){return e.injectorIndex===-1||e.parent&&e.parent.injectorIndex===e.injectorIndex||t[e.injectorIndex+8]===null?-1:e.injectorIndex}function sc(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=df(o),r===null)return en;if(n++,o=o[dn],r.injectorIndex!==-1)return r.injectorIndex|n<<16}return en}function Ls(e,t,n){jy(e,t,n)}function Hy(e,t){if(t==="class")return e.classes;if(t==="style")return e.styles;let n=e.attrs;if(n){let r=n.length,o=0;for(;o<r;){let i=n[o];if(tf(i))break;if(i===0)o=o+2;else if(typeof i=="number")for(o++;o<r&&typeof n[o]=="string";)o++;else{if(i===t)return n[o+1];o=o+2}}}return null}function af(e,t,n){if(n&_.Optional||e!==void 0)return e;Ba(t,"NodeInjector")}function cf(e,t,n,r){if(n&_.Optional&&r===void 0&&(r=null),(n&(_.Self|_.Host))===0){let o=e[xe],i=te(void 0);try{return o?o.get(t,r,n&_.Optional):yd(t,r,n&_.Optional)}finally{te(i)}}return af(r,t,n)}function lf(e,t,n,r=_.Default,o){if(e!==null){if(t[b]&2048&&!(r&_.Self)){let s=qy(e,t,n,r,Te);if(s!==Te)return s}let i=uf(e,t,n,r,Te);if(i!==Te)return i}return cf(t,n,r,o)}function uf(e,t,n,r,o){let i=$y(n);if(typeof i=="function"){if(!Gd(t,e,r))return r&_.Host?af(o,n,r):cf(t,n,r,o);try{let s;if(s=i(r),s==null&&!(r&_.Optional))Ba(n);else return s}finally{Kd()}}else if(typeof i=="number"){let s=null,a=sf(e,t),c=en,l=r&_.Host?t[K][ie]:null;for((a===-1||r&_.SkipSelf)&&(c=a===-1?sc(e,t):t[a+8],c===en||!au(r,!1)?a=-1:(s=t[w],a=vo(c),t=Io(c,t)));a!==-1;){let u=t[w];if(su(i,a,u.data)){let f=By(a,t,n,s,r,l);if(f!==Te)return f}c=t[a+8],c!==en&&au(r,t[w].data[a+8]===l)&&su(i,a,t)?(s=u,a=vo(c),t=Io(c,t)):a=-1}}return o}function By(e,t,n,r,o,i){let s=t[w],a=s.data[e+8],c=r==null?Nt(a)&&Ps:r!=s&&(a.type&3)!==0,l=o&_.Host&&i===a,u=oo(a,s,n,c,l);return u!==null?Bn(t,s,u,a,o):Te}function oo(e,t,n,r,o){let i=e.providerIndexes,s=t.data,a=i&1048575,c=e.directiveStart,l=e.directiveEnd,u=i>>20,f=r?a:a+u,p=o?a+u:l;for(let d=f;d<p;d++){let h=s[d];if(d<c&&n===h||d>=c&&h.type===n)return d}if(o){let d=s[c];if(d&&Ee(d)&&d.type===n)return c}return null}function Bn(e,t,n,r,o){let i=e[n],s=t.data;if(i instanceof Ct){let a=i;a.resolving&&gd(km(s[n]));let c=Eo(a.canSeeViewProviders);a.resolving=!0;let l,u=a.injectImpl?te(a.injectImpl):null,f=Gd(e,r,_.Default);try{i=e[n]=a.factory(void 0,o,s,e,r),t.firstCreatePass&&n>=r.directiveStart&&Sy(n,s[n],t)}finally{u!==null&&te(u),Eo(c),a.resolving=!1,Kd()}}return i}function $y(e){if(typeof e=="string")return e.charCodeAt(0)||0;let t=e.hasOwnProperty(Fn)?e[Fn]:void 0;return typeof t=="number"?t>=0?t&rf:Uy:t}function su(e,t,n){let r=1<<e;return!!(n[t+(e>>of)]&r)}function au(e,t){return!(e&_.Self)&&!(e&_.Host&&t)}var It=class{_tNode;_lView;constructor(t,n){this._tNode=t,this._lView=n}get(t,n,r){return lf(this._tNode,this._lView,t,Bo(r),n)}};function Uy(){return new It(G(),m())}function mA(e){return Zn(()=>{let t=e.prototype.constructor,n=t[lo]||Fs(t),r=Object.prototype,o=Object.getPrototypeOf(e.prototype).constructor;for(;o&&o!==r;){let i=o[lo]||Fs(o);if(i&&i!==n)return i;o=Object.getPrototypeOf(o)}return i=>new i})}function Fs(e){return dd(e)?()=>{let t=Fs(q(e));return t&&t()}:Et(e)}function qy(e,t,n,r,o){let i=e,s=t;for(;i!==null&&s!==null&&s[b]&2048&&!Hn(s);){let a=uf(i,s,n,r|_.Self,Te);if(a!==Te)return a;let c=i.parent;if(!c){let l=s[Rd];if(l){let u=l.get(n,Te,r);if(u!==Te)return u}c=df(s),s=s[dn]}i=c}return o}function df(e){let t=e[w],n=t.type;return n===2?t.declTNode:n===1?e[ie]:null}function Wy(e){return Hy(G(),e)}function cu(e,t=null,n=null,r){let o=ff(e,t,n,r);return o.resolveInjectorInitializers(),o}function ff(e,t=null,n=null,r,o=new Set){let i=[n||Y,Qm(e)];return r=r||(typeof e=="object"?void 0:ne(e)),new Vn(i,t||Uo(),r||null,o)}var Xe=class e{static THROW_IF_NOT_FOUND=vt;static NULL=new ho;static create(t,n){if(Array.isArray(t))return cu({name:""},n,t,"");{let r=t.name??"";return cu({name:r},t.parent,t.providers,r)}}static \u0275prov=j({token:e,providedIn:"any",factory:()=>Ke(Dd)});static __NG_ELEMENT_ID__=-1};var lu=class{attributeName;constructor(t){this.attributeName=t}__NG_ELEMENT_ID__=()=>Wy(this.attributeName);toString(){return`HostAttributeToken ${this.attributeName}`}},zy=new N("");zy.__NG_ELEMENT_ID__=e=>{let t=G();if(t===null)throw new T(204,!1);if(t.type&2)return t.value;if(e&_.Optional)return null;throw new T(204,!1)};var pf=!1,Jn=(()=>{class e{static __NG_ELEMENT_ID__=Gy;static __NG_ENV_ID__=n=>n}return e})(),Do=class extends Jn{_lView;constructor(t){super(),this._lView=t}onDestroy(t){let n=this._lView;return St(n)?(t(),()=>{}):($d(n,t),()=>py(n,t))}};function Gy(){return new Do(m())}var et=class{},ac=new N("",{providedIn:"root",factory:()=>!1});var hf=new N(""),gf=new N(""),gn=(()=>{class e{taskId=0;pendingTasks=new Set;get _hasPendingTasks(){return this.hasPendingTasks.value}hasPendingTasks=new Tn(!1);add(){this._hasPendingTasks||this.hasPendingTasks.next(!0);let n=this.taskId++;return this.pendingTasks.add(n),n}has(n){return this.pendingTasks.has(n)}remove(n){this.pendingTasks.delete(n),this.pendingTasks.size===0&&this._hasPendingTasks&&this.hasPendingTasks.next(!1)}ngOnDestroy(){this.pendingTasks.clear(),this._hasPendingTasks&&this.hasPendingTasks.next(!1)}static \u0275prov=j({token:e,providedIn:"root",factory:()=>new e})}return e})(),Qy=(()=>{class e{internalPendingTasks=D(gn);scheduler=D(et);add(){let n=this.internalPendingTasks.add();return()=>{this.internalPendingTasks.has(n)&&(this.scheduler.notify(11),this.internalPendingTasks.remove(n))}}run(n){return Rt(this,null,function*(){let r=this.add();try{return yield n()}finally{r()}})}static \u0275prov=j({token:e,providedIn:"root",factory:()=>new e})}return e})(),Vs=class extends ce{__isAsync;destroyRef=void 0;pendingTasks=void 0;constructor(t=!1){super(),this.__isAsync=t,Od()&&(this.destroyRef=D(Jn,{optional:!0})??void 0,this.pendingTasks=D(gn,{optional:!0})??void 0)}emit(t){let n=C(null);try{super.next(t)}finally{C(n)}}subscribe(t,n,r){let o=t,i=n||(()=>null),s=r;if(t&&typeof t=="object"){let c=t;o=c.next?.bind(c),i=c.error?.bind(c),s=c.complete?.bind(c)}this.__isAsync&&(i=this.wrapInTimeout(i),o&&(o=this.wrapInTimeout(o)),s&&(s=this.wrapInTimeout(s)));let a=super.subscribe({next:o,error:i,complete:s});return t instanceof V&&t.add(a),a}wrapInTimeout(t){return n=>{let r=this.pendingTasks?.add();setTimeout(()=>{try{t(n)}finally{r!==void 0&&this.pendingTasks?.remove(r)}})}}},Ze=Vs;function $n(...e){}function mf(e){let t,n;function r(){e=$n;try{n!==void 0&&typeof cancelAnimationFrame=="function"&&cancelAnimationFrame(n),t!==void 0&&clearTimeout(t)}catch{}}return t=setTimeout(()=>{e(),r()}),typeof requestAnimationFrame=="function"&&(n=requestAnimationFrame(()=>{e(),r()})),()=>r()}function uu(e){return queueMicrotask(()=>e()),()=>{e=$n}}var cc="isAngularZone",bo=cc+"_ID",Zy=0,ae=class e{hasPendingMacrotasks=!1;hasPendingMicrotasks=!1;isStable=!0;onUnstable=new Ze(!1);onMicrotaskEmpty=new Ze(!1);onStable=new Ze(!1);onError=new Ze(!1);constructor(t){let{enableLongStackTrace:n=!1,shouldCoalesceEventChangeDetection:r=!1,shouldCoalesceRunChangeDetection:o=!1,scheduleInRootZone:i=pf}=t;if(typeof Zone>"u")throw new T(908,!1);Zone.assertZonePatched();let s=this;s._nesting=0,s._outer=s._inner=Zone.current,Zone.TaskTrackingZoneSpec&&(s._inner=s._inner.fork(new Zone.TaskTrackingZoneSpec)),n&&Zone.longStackTraceZoneSpec&&(s._inner=s._inner.fork(Zone.longStackTraceZoneSpec)),s.shouldCoalesceEventChangeDetection=!o&&r,s.shouldCoalesceRunChangeDetection=o,s.callbackScheduled=!1,s.scheduleInRootZone=i,Jy(s)}static isInAngularZone(){return typeof Zone<"u"&&Zone.current.get(cc)===!0}static assertInAngularZone(){if(!e.isInAngularZone())throw new T(909,!1)}static assertNotInAngularZone(){if(e.isInAngularZone())throw new T(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,Yy,$n,$n);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)}},Yy={};function lc(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 Ky(e){if(e.isCheckStableRunning||e.callbackScheduled)return;e.callbackScheduled=!0;function t(){mf(()=>{e.callbackScheduled=!1,js(e),e.isCheckStableRunning=!0,lc(e),e.isCheckStableRunning=!1})}e.scheduleInRootZone?Zone.root.run(()=>{t()}):e._outer.run(()=>{t()}),js(e)}function Jy(e){let t=()=>{Ky(e)},n=Zy++;e._inner=e._inner.fork({name:"angular",properties:{[cc]:!0,[bo]:n,[bo+n]:!0},onInvokeTask:(r,o,i,s,a,c)=>{if(Xy(c))return r.invokeTask(i,s,a,c);try{return du(e),r.invokeTask(i,s,a,c)}finally{(e.shouldCoalesceEventChangeDetection&&s.type==="eventTask"||e.shouldCoalesceRunChangeDetection)&&t(),fu(e)}},onInvoke:(r,o,i,s,a,c,l)=>{try{return du(e),r.invoke(i,s,a,c,l)}finally{e.shouldCoalesceRunChangeDetection&&!e.callbackScheduled&&!ev(c)&&t(),fu(e)}},onHasTask:(r,o,i,s)=>{r.hasTask(i,s),o===i&&(s.change=="microTask"?(e._hasPendingMicrotasks=s.microTask,js(e),lc(e)):s.change=="macroTask"&&(e.hasPendingMacrotasks=s.macroTask))},onHandleError:(r,o,i,s)=>(r.handleError(i,s),e.runOutsideAngular(()=>e.onError.emit(s)),!1)})}function js(e){e._hasPendingMicrotasks||(e.shouldCoalesceEventChangeDetection||e.shouldCoalesceRunChangeDetection)&&e.callbackScheduled===!0?e.hasPendingMicrotasks=!0:e.hasPendingMicrotasks=!1}function du(e){e._nesting++,e.isStable&&(e.isStable=!1,e.onUnstable.emit(null))}function fu(e){e._nesting--,lc(e)}var Hs=class{hasPendingMicrotasks=!1;hasPendingMacrotasks=!1;isStable=!0;onUnstable=new Ze;onMicrotaskEmpty=new Ze;onStable=new Ze;onError=new Ze;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 Xy(e){return yf(e,"__ignore_ng_zone__")}function ev(e){return yf(e,"__scheduler_tick__")}function yf(e,t){return!Array.isArray(e)||e.length!==1?!1:e[0]?.data?.[t]===!0}var tt=class{_console=console;handleError(t){this._console.error("ERROR",t)}},tv=new N("",{providedIn:"root",factory:()=>{let e=D(ae),t=D(tt);return n=>e.runOutsideAngular(()=>t.handleError(n))}}),Bs=class{destroyed=!1;listeners=null;errorHandler=D(tt,{optional:!0});destroyRef=D(Jn);constructor(){this.destroyRef.onDestroy(()=>{this.destroyed=!0,this.listeners=null})}subscribe(t){if(this.destroyed)throw new T(953,!1);return(this.listeners??=[]).push(t),{unsubscribe:()=>{let n=this.listeners?.indexOf(t);n!==void 0&&n!==-1&&this.listeners?.splice(n,1)}}}emit(t){if(this.destroyed){console.warn(sd(953,!1));return}if(this.listeners===null)return;let n=C(null);try{for(let r of this.listeners)try{r(t)}catch(o){this.errorHandler?.handleError(o)}}finally{C(n)}}};function yA(e){return new Bs}function pu(e,t){return cd(e,t)}function nv(e){return cd(ad,e)}var vA=(pu.required=nv,pu);function rv(){return mn(G(),m())}function mn(e,t){return new Ko(De(e,t))}var Ko=(()=>{class e{nativeElement;constructor(n){this.nativeElement=n}static __NG_ELEMENT_ID__=rv}return e})();function vf(e){return e instanceof Ko?e.nativeElement:e}function ov(e){return typeof e=="function"&&e[z]!==void 0}function iv(e,t){let n=Mi(e,t?.equal),r=n[z];return n.set=o=>Ft(r,o),n.update=o=>fr(r,o),n.asReadonly=If.bind(n),n}function If(){let e=this[z];if(e.readonlyFn===void 0){let t=()=>this();t[z]=e,e.readonlyFn=t}return e.readonlyFn}function Ef(e){return ov(e)&&typeof e.set=="function"}function sv(){return this._results[Symbol.iterator]()}var $s=class{_emitDistinctChangesOnly;dirty=!0;_onDirty=void 0;_results=[];_changesDetected=!1;_changes=void 0;length=0;first=void 0;last=void 0;get changes(){return this._changes??=new ce}constructor(t=!1){this._emitDistinctChangesOnly=t}get(t){return this._results[t]}map(t){return this._results.map(t)}filter(t){return this._results.filter(t)}find(t){return this._results.find(t)}reduce(t,n){return this._results.reduce(t,n)}forEach(t){this._results.forEach(t)}some(t){return this._results.some(t)}toArray(){return this._results.slice()}toString(){return this._results.toString()}reset(t,n){this.dirty=!1;let r=qm(t);(this._changesDetected=!Um(this._results,r,n))&&(this._results=r,this.length=r.length,this.last=r[this.length-1],this.first=r[0])}notifyOnChanges(){this._changes!==void 0&&(this._changesDetected||!this._emitDistinctChangesOnly)&&this._changes.next(this)}onDirty(t){this._onDirty=t}setDirty(){this.dirty=!0,this._onDirty?.()}destroy(){this._changes!==void 0&&(this._changes.complete(),this._changes.unsubscribe())}[Symbol.iterator]=sv},av="ngSkipHydration",cv="ngskiphydration";function wf(e){let t=e.mergedAttrs;if(t===null)return!1;for(let n=0;n<t.length;n+=2){let r=t[n];if(typeof r=="number")return!1;if(typeof r=="string"&&r.toLowerCase()===cv)return!0}return!1}function Df(e){return e.hasAttribute(av)}function Mo(e){return(e.flags&128)===128}function lv(e){if(Mo(e))return!0;let t=e.parent;for(;t;){if(Mo(e)||wf(t))return!0;t=t.parent}return!1}var bf=function(e){return e[e.OnPush=0]="OnPush",e[e.Default=1]="Default",e}(bf||{}),Mf=new Map,uv=0;function dv(){return uv++}function fv(e){Mf.set(e[qo],e)}function Us(e){Mf.delete(e[qo])}var hu="__ngContext__";function yn(e,t){Ie(t)?(e[hu]=t[qo],fv(t)):e[hu]=t}function Cf(e){return _f(e[jn])}function Tf(e){return _f(e[ve])}function _f(e){for(;e!==null&&!Se(e);)e=e[ve];return e}var qs;function IA(e){qs=e}function Xn(){if(qs!==void 0)return qs;if(typeof document<"u")return document;throw new T(210,!1)}var tn=new N("",{providedIn:"root",factory:()=>pv}),pv="ng",hv=new N(""),EA=new N("",{providedIn:"platform",factory:()=>"unknown"});var wA=new N(""),DA=new N("",{providedIn:"root",factory:()=>Xn().body?.querySelector("[ngCspNonce]")?.getAttribute("ngCspNonce")||null});function gv(){let e=new Jo;return e.store=mv(Xn(),D(tn)),e}var Jo=(()=>{class e{static \u0275prov=j({token:e,providedIn:"root",factory:gv});store={};onSerializeCallbacks={};get(n,r){return this.store[n]!==void 0?this.store[n]:r}set(n,r){this.store[n]=r}remove(n){delete this.store[n]}hasKey(n){return this.store.hasOwnProperty(n)}get isEmpty(){return Object.keys(this.store).length===0}onSerialize(n,r){this.onSerializeCallbacks[n]=r}toJson(){for(let n in this.onSerializeCallbacks)if(this.onSerializeCallbacks.hasOwnProperty(n))try{this.store[n]=this.onSerializeCallbacks[n]()}catch(r){console.warn("Exception in onSerialize callback: ",r)}return JSON.stringify(this.store).replace(/</g,"\\u003C")}}return e})();function mv(e,t){let n=e.getElementById(t+"-state");if(n?.textContent)try{return JSON.parse(n.textContent)}catch(r){console.warn("Exception while restoring TransferState for app "+t,r)}return{}}var xf="h",Nf="b",yv="f",vv="n",Iv="e",Ev="t",uc="c",Sf="x",Co="r",wv="i",Dv="n",Of="d";var bv="di",Mv="s",Cv="p";var Zr=new N(""),Rf=!1,Af=new N("",{providedIn:"root",factory:()=>Rf});var kf=new N(""),Tv=!1,_v=new N(""),gu=new N("",{providedIn:"root",factory:()=>new Map}),dc=function(e){return e[e.CHANGE_DETECTION=0]="CHANGE_DETECTION",e[e.AFTER_NEXT_RENDER=1]="AFTER_NEXT_RENDER",e}(dc||{}),Xo=new N(""),mu=new Set;function st(e){mu.has(e)||(mu.add(e),performance?.mark?.("mark_feature_usage",{detail:{feature:e}}))}var fc=(()=>{class e{view;node;constructor(n,r){this.view=n,this.node=r}static __NG_ELEMENT_ID__=xv}return e})();function xv(){return new fc(m(),G())}var Yt=function(e){return e[e.EarlyRead=0]="EarlyRead",e[e.Write=1]="Write",e[e.MixedReadWrite=2]="MixedReadWrite",e[e.Read=3]="Read",e}(Yt||{}),Pf=(()=>{class e{impl=null;execute(){this.impl?.execute()}static \u0275prov=j({token:e,providedIn:"root",factory:()=>new e})}return e})(),Nv=[Yt.EarlyRead,Yt.Write,Yt.MixedReadWrite,Yt.Read],Sv=(()=>{class e{ngZone=D(ae);scheduler=D(et);errorHandler=D(tt,{optional:!0});sequences=new Set;deferredRegistrations=new Set;executing=!1;constructor(){D(Xo,{optional:!0})}execute(){let n=this.sequences.size>0;n&&R(16),this.executing=!0;for(let r of Nv)for(let o of this.sequences)if(!(o.erroredOrDestroyed||!o.hooks[r]))try{o.pipelinedValue=this.ngZone.runOutsideAngular(()=>this.maybeTrace(()=>{let i=o.hooks[r];return i(o.pipelinedValue)},o.snapshot))}catch(i){o.erroredOrDestroyed=!0,this.errorHandler?.handleError(i)}this.executing=!1;for(let r of this.sequences)r.afterRun(),r.once&&(this.sequences.delete(r),r.destroy());for(let r of this.deferredRegistrations)this.sequences.add(r);this.deferredRegistrations.size>0&&this.scheduler.notify(7),this.deferredRegistrations.clear(),n&&R(17)}register(n){let{view:r}=n;r!==void 0?((r[Xt]??=[]).push(n),fn(r),r[b]|=8192):this.executing?this.deferredRegistrations.add(n):this.addSequence(n)}addSequence(n){this.sequences.add(n),this.scheduler.notify(7)}unregister(n){this.executing&&this.sequences.has(n)?(n.erroredOrDestroyed=!0,n.pipelinedValue=void 0,n.once=!0):(this.sequences.delete(n),this.deferredRegistrations.delete(n))}maybeTrace(n,r){return r?r.run(dc.AFTER_NEXT_RENDER,n):n()}static \u0275prov=j({token:e,providedIn:"root",factory:()=>new e})}return e})(),Ws=class{impl;hooks;view;once;snapshot;erroredOrDestroyed=!1;pipelinedValue=void 0;unregisterOnDestroy;constructor(t,n,r,o,i,s=null){this.impl=t,this.hooks=n,this.view=r,this.once=o,this.snapshot=s,this.unregisterOnDestroy=i?.onDestroy(()=>this.destroy())}afterRun(){this.erroredOrDestroyed=!1,this.pipelinedValue=void 0,this.snapshot?.dispose(),this.snapshot=null}destroy(){this.impl.unregister(this),this.unregisterOnDestroy?.();let t=this.view?.[Xt];t&&(this.view[Xt]=t.filter(n=>n!==this))}};function Ov(e,t){!t?.injector&&Ga(Ov);let n=t?.injector??D(Xe);return st("NgAfterRender"),Ff(e,n,t,!1)}function Lf(e,t){!t?.injector&&Ga(Lf);let n=t?.injector??D(Xe);return st("NgAfterNextRender"),Ff(e,n,t,!0)}function Rv(e,t){if(e instanceof Function){let n=[void 0,void 0,void 0,void 0];return n[t]=e,n}else return[e.earlyRead,e.write,e.mixedReadWrite,e.read]}function Ff(e,t,n,r){let o=t.get(Pf);o.impl??=t.get(Sv);let i=t.get(Xo,null,{optional:!0}),s=n?.phase??Yt.MixedReadWrite,a=n?.manualCleanup!==!0?t.get(Jn):null,c=t.get(fc,null,{optional:!0}),l=new Ws(o.impl,Rv(e,s),c?.view,r,a,i?.snapshot(null));return o.impl.register(l),l}var se=function(e){return e[e.NOT_STARTED=0]="NOT_STARTED",e[e.IN_PROGRESS=1]="IN_PROGRESS",e[e.COMPLETE=2]="COMPLETE",e[e.FAILED=3]="FAILED",e}(se||{}),yu=0,Av=1,B=function(e){return e[e.Placeholder=0]="Placeholder",e[e.Loading=1]="Loading",e[e.Complete=2]="Complete",e[e.Error=3]="Error",e}(B||{});var kv=0,ei=1;var Pv=4,Lv=5;var Fv=7,nn=8,Vv=9,Vf=function(e){return e[e.Manual=0]="Manual",e[e.Playthrough=1]="Playthrough",e}(Vf||{});function io(e,t){let n=Hv(e),r=t[n];if(r!==null){for(let o of r)o();t[n]=null}}function jv(e){io(1,e),io(0,e),io(2,e)}function Hv(e){let t=Pv;return e===1?t=Lv:e===2&&(t=Vv),t}function jf(e){return e+1}function er(e,t){let n=e[w],r=jf(t.index);return e[r]}function ti(e,t){let n=jf(t.index);return e.data[n]}function Bv(e,t,n){let r=t[w],o=ti(r,n);switch(e){case B.Complete:return o.primaryTmplIndex;case B.Loading:return o.loadingTmplIndex;case B.Error:return o.errorTmplIndex;case B.Placeholder:return o.placeholderTmplIndex;default:return null}}function vu(e,t){return t===B.Placeholder?e.placeholderBlockConfig?.[yu]??null:t===B.Loading?e.loadingBlockConfig?.[yu]??null:null}function $v(e){return e.loadingBlockConfig?.[Av]??null}function Iu(e,t){if(!e||e.length===0)return t;let n=new Set(e);for(let r of t)n.add(r);return e.length===n.size?e:Array.from(n)}function Uv(e,t){let n=t.primaryTmplIndex+k;return Kn(e,n)}var ni="ngb";var qv=(e,t,n)=>{let r=e,o=r.__jsaction_fns??new Map,i=o.get(t)??[];i.push(n),o.set(t,i),r.__jsaction_fns=o},Wv=(e,t)=>{let n=e,r=n.getAttribute(ni)??"",o=t.get(r)??new Set;o.has(n)||o.add(n),t.set(r,o)};var zv=e=>{e.removeAttribute(Xi.JSACTION),e.removeAttribute(ni),e.__jsaction_fns=void 0},Gv=new N("",{providedIn:"root",factory:()=>({})});function Hf(e,t){let n=t?.__jsaction_fns?.get(e.type);if(!(!n||!t?.isConnected))for(let r of n)r(e)}var zs=new Map;function Qv(e,t){return zs.set(e,t),()=>zs.delete(e)}var Eu=!1,Bf=(e,t,n,r)=>{};function Zv(e,t,n,r){Bf(e,t,n,r)}function Yv(){Eu||(Bf=(e,t,n,r)=>{let o=e[xe].get(tn);zs.get(o)?.(t,n,r)},Eu=!0)}var pc=new N("");var Kv="__nghData__",$f=Kv,Jv="__nghDeferData__",Xv=Jv,us="ngh",eI="nghm",Uf=()=>null;function tI(e,t,n=!1){let r=e.getAttribute(us);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(Jo,null,{optional:!0});u!==null&&(c=u.get($f,[])[Number(r)])}let l={data:c,firstChild:e.firstChild??null};return n&&(l.firstChild=e,ri(l,0,e.nextSibling)),a?e.setAttribute(us,a):e.removeAttribute(us),l}function nI(){Uf=tI}function qf(e,t,n=!1){return Uf(e,t,n)}function rI(e){let t=e._lView;return t[w].type===2?null:(Hn(t)&&(t=t[k]),t)}function oI(e){return e.textContent?.replace(/\s/gm,"")}function iI(e){let t=Xn(),n=t.createNodeIterator(e,NodeFilter.SHOW_COMMENT,{acceptNode(i){let s=oI(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 ri(e,t,n){e.segmentHeads??={},e.segmentHeads[t]=n}function Gs(e,t){return e.segmentHeads?.[t]??null}function sI(e){return e.get(_v,!1,{optional:!0})}function aI(e,t){let n=e.data,r=n[Iv]?.[t]??null;return r===null&&n[uc]?.[t]&&(r=hc(e,t)),r}function Wf(e,t){return e.data[uc]?.[t]??null}function hc(e,t){let n=Wf(e,t)??[],r=0;for(let o of n)r+=o[Co]*(o[Sf]??1);return r}function cI(e){if(typeof e.disconnectedNodes>"u"){let t=e.data[Of];e.disconnectedNodes=t?new Set(t):null}return e.disconnectedNodes}function tr(e,t){if(typeof e.disconnectedNodes>"u"){let n=e.data[Of];e.disconnectedNodes=n?new Set(n):null}return!!cI(e)?.has(t)}function lI(e,t){let n=t.get(pc),o=t.get(Jo).get(Xv,{}),i=!1,s=e,a=null,c=[];for(;!i&&s;){i=n.has(s);let l=n.hydrating.get(s);if(a===null&&l!=null){a=l.promise;break}c.unshift(s),s=o[s][Cv]}return{parentBlockPromise:a,hydrationQueue:c}}function ds(e){return!!e&&e.nodeType===Node.COMMENT_NODE&&e.textContent?.trim()===eI}function wu(e){for(;e&&e.nodeType===Node.TEXT_NODE;)e=e.previousSibling;return e}function uI(e){for(let r of e.body.childNodes)if(ds(r))return;let t=wu(e.body.previousSibling);if(ds(t))return;let n=wu(e.head.lastChild);if(!ds(n))throw new T(-507,!1)}function zf(e,t){let n=e.contentQueries;if(n!==null){let r=C(null);try{for(let o=0;o<n.length;o+=2){let i=n[o],s=n[o+1];if(s!==-1){let a=e.data[s];Zo(i),a.contentQueries(2,t[s],s)}}}finally{C(r)}}}function Qs(e,t,n){Zo(0);let r=C(null);try{t(e,n)}finally{C(r)}}function gc(e,t,n){if(Za(t)){let r=C(null);try{let o=t.directiveStart,i=t.directiveEnd;for(let s=o;s<i;s++){let a=e.data[s];if(a.contentQueries){let c=n[s];a.contentQueries(1,c,s)}}}finally{C(r)}}}var Un=function(e){return e[e.Emulated=0]="Emulated",e[e.None=2]="None",e[e.ShadowDom=3]="ShadowDom",e}(Un||{}),Yr;function dI(){if(Yr===void 0&&(Yr=null,Qe.trustedTypes))try{Yr=Qe.trustedTypes.createPolicy("angular",{createHTML:e=>e,createScript:e=>e,createScriptURL:e=>e})}catch{}return Yr}function oi(e){return dI()?.createHTML(e)||e}var Kr;function Gf(){if(Kr===void 0&&(Kr=null,Qe.trustedTypes))try{Kr=Qe.trustedTypes.createPolicy("angular#unsafe-bypass",{createHTML:e=>e,createScript:e=>e,createScriptURL:e=>e})}catch{}return Kr}function Du(e){return Gf()?.createHTML(e)||e}function bu(e){return Gf()?.createScriptURL(e)||e}var He=class{changingThisBreaksApplicationSecurity;constructor(t){this.changingThisBreaksApplicationSecurity=t}toString(){return`SafeValue must use [property]=binding: ${this.changingThisBreaksApplicationSecurity} (see ${id})`}},Zs=class extends He{getTypeName(){return"HTML"}},Ys=class extends He{getTypeName(){return"Style"}},Ks=class extends He{getTypeName(){return"Script"}},Js=class extends He{getTypeName(){return"URL"}},Xs=class extends He{getTypeName(){return"ResourceURL"}};function nr(e){return e instanceof He?e.changingThisBreaksApplicationSecurity:e}function mc(e,t){let n=fI(e);if(n!=null&&n!==t){if(n==="ResourceURL"&&t==="URL")return!0;throw new Error(`Required a safe ${t}, got a ${n} (see ${id})`)}return n===t}function fI(e){return e instanceof He&&e.getTypeName()||null}function bA(e){return new Zs(e)}function MA(e){return new Ys(e)}function CA(e){return new Ks(e)}function TA(e){return new Js(e)}function _A(e){return new Xs(e)}function pI(e){let t=new ta(e);return hI()?new ea(t):t}var ea=class{inertDocumentHelper;constructor(t){this.inertDocumentHelper=t}getInertBodyElement(t){t="<body><remove></remove>"+t;try{let n=new window.DOMParser().parseFromString(oi(t),"text/html").body;return n===null?this.inertDocumentHelper.getInertBodyElement(t):(n.firstChild?.remove(),n)}catch{return null}}},ta=class{defaultDoc;inertDocument;constructor(t){this.defaultDoc=t,this.inertDocument=this.defaultDoc.implementation.createHTMLDocument("sanitization-inert")}getInertBodyElement(t){let n=this.inertDocument.createElement("template");return n.innerHTML=oi(t),n}};function hI(){try{return!!new window.DOMParser().parseFromString(oi(""),"text/html")}catch{return!1}}var gI=/^(?!javascript:)(?:[a-z0-9+.-]+:|[^&:\/?#]*(?:[\/?#]|$))/i;function Qf(e){return e=String(e),e.match(gI)?e:"unsafe:"+e}function $e(e){let t={};for(let n of e.split(","))t[n]=!0;return t}function rr(...e){let t={};for(let n of e)for(let r in n)n.hasOwnProperty(r)&&(t[r]=!0);return t}var Zf=$e("area,br,col,hr,img,wbr"),Yf=$e("colgroup,dd,dt,li,p,tbody,td,tfoot,th,thead,tr"),Kf=$e("rp,rt"),mI=rr(Kf,Yf),yI=rr(Yf,$e("address,article,aside,blockquote,caption,center,del,details,dialog,dir,div,dl,figure,figcaption,footer,h1,h2,h3,h4,h5,h6,header,hgroup,hr,ins,main,map,menu,nav,ol,pre,section,summary,table,ul")),vI=rr(Kf,$e("a,abbr,acronym,audio,b,bdi,bdo,big,br,cite,code,del,dfn,em,font,i,img,ins,kbd,label,map,mark,picture,q,ruby,rp,rt,s,samp,small,source,span,strike,strong,sub,sup,time,track,tt,u,var,video")),Mu=rr(Zf,yI,vI,mI),Jf=$e("background,cite,href,itemtype,longdesc,poster,src,xlink:href"),II=$e("abbr,accesskey,align,alt,autoplay,axis,bgcolor,border,cellpadding,cellspacing,class,clear,color,cols,colspan,compact,controls,coords,datetime,default,dir,download,face,headers,height,hidden,hreflang,hspace,ismap,itemscope,itemprop,kind,label,lang,language,loop,media,muted,nohref,nowrap,open,preload,rel,rev,role,rows,rowspan,rules,scope,scrolling,shape,size,sizes,span,srclang,srcset,start,summary,tabindex,target,title,translate,type,usemap,valign,value,vspace,width"),EI=$e("aria-activedescendant,aria-atomic,aria-autocomplete,aria-busy,aria-checked,aria-colcount,aria-colindex,aria-colspan,aria-controls,aria-current,aria-describedby,aria-details,aria-disabled,aria-dropeffect,aria-errormessage,aria-expanded,aria-flowto,aria-grabbed,aria-haspopup,aria-hidden,aria-invalid,aria-keyshortcuts,aria-label,aria-labelledby,aria-level,aria-live,aria-modal,aria-multiline,aria-multiselectable,aria-orientation,aria-owns,aria-placeholder,aria-posinset,aria-pressed,aria-readonly,aria-relevant,aria-required,aria-roledescription,aria-rowcount,aria-rowindex,aria-rowspan,aria-selected,aria-setsize,aria-sort,aria-valuemax,aria-valuemin,aria-valuenow,aria-valuetext"),wI=rr(Jf,II,EI),DI=$e("script,style,template"),na=class{sanitizedSomething=!1;buf=[];sanitizeChildren(t){let n=t.firstChild,r=!0,o=[];for(;n;){if(n.nodeType===Node.ELEMENT_NODE?r=this.startElement(n):n.nodeType===Node.TEXT_NODE?this.chars(n.nodeValue):this.sanitizedSomething=!0,r&&n.firstChild){o.push(n),n=CI(n);continue}for(;n;){n.nodeType===Node.ELEMENT_NODE&&this.endElement(n);let i=MI(n);if(i){n=i;break}n=o.pop()}}return this.buf.join("")}startElement(t){let n=Cu(t).toLowerCase();if(!Mu.hasOwnProperty(n))return this.sanitizedSomething=!0,!DI.hasOwnProperty(n);this.buf.push("<"),this.buf.push(n);let r=t.attributes;for(let o=0;o<r.length;o++){let i=r.item(o),s=i.name,a=s.toLowerCase();if(!wI.hasOwnProperty(a)){this.sanitizedSomething=!0;continue}let c=i.value;Jf[a]&&(c=Qf(c)),this.buf.push(" ",s,'="',Tu(c),'"')}return this.buf.push(">"),!0}endElement(t){let n=Cu(t).toLowerCase();Mu.hasOwnProperty(n)&&!Zf.hasOwnProperty(n)&&(this.buf.push("</"),this.buf.push(n),this.buf.push(">"))}chars(t){this.buf.push(Tu(t))}};function bI(e,t){return(e.compareDocumentPosition(t)&Node.DOCUMENT_POSITION_CONTAINED_BY)!==Node.DOCUMENT_POSITION_CONTAINED_BY}function MI(e){let t=e.nextSibling;if(t&&e!==t.previousSibling)throw Xf(t);return t}function CI(e){let t=e.firstChild;if(t&&bI(e,t))throw Xf(t);return t}function Cu(e){let t=e.nodeName;return typeof t=="string"?t:"FORM"}function Xf(e){return new Error(`Failed to sanitize html because the element is clobbered: ${e.outerHTML}`)}var TI=/[\uD800-\uDBFF][\uDC00-\uDFFF]/g,_I=/([^\#-~ |!])/g;function Tu(e){return e.replace(/&/g,"&").replace(TI,function(t){let n=t.charCodeAt(0),r=t.charCodeAt(1);return"&#"+((n-55296)*1024+(r-56320)+65536)+";"}).replace(_I,function(t){return"&#"+t.charCodeAt(0)+";"}).replace(/</g,"<").replace(/>/g,">")}var Jr;function xI(e,t){let n=null;try{Jr=Jr||pI(e);let r=t?String(t):"";n=Jr.getInertBodyElement(r);let o=5,i=r;do{if(o===0)throw new Error("Failed to sanitize html because the input is unstable");o--,r=i,i=n.innerHTML,n=Jr.getInertBodyElement(r)}while(r!==i);let a=new na().sanitizeChildren(_u(n)||n);return oi(a)}finally{if(n){let r=_u(n)||n;for(;r.firstChild;)r.firstChild.remove()}}}function _u(e){return"content"in e&&NI(e)?e.content:null}function NI(e){return e.nodeType===Node.ELEMENT_NODE&&e.nodeName==="TEMPLATE"}var ii=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}(ii||{});function xA(e){let t=yc();return t?Du(t.sanitize(ii.HTML,e)||""):mc(e,"HTML")?Du(nr(e)):xI(Xn(),ye(e))}function SI(e){let t=yc();return t?t.sanitize(ii.URL,e)||"":mc(e,"URL")?nr(e):Qf(ye(e))}function OI(e){let t=yc();if(t)return bu(t.sanitize(ii.RESOURCE_URL,e)||"");if(mc(e,"ResourceURL"))return bu(nr(e));throw new T(904,!1)}function RI(e,t){return t==="src"&&(e==="embed"||e==="frame"||e==="iframe"||e==="media"||e==="script")||t==="href"&&(e==="base"||e==="link")?OI:SI}function NA(e,t,n){return RI(t,n)(e)}function yc(){let e=m();return e&&e[Le].sanitizer}var AI=/^>|^->|<!--|-->|--!>|<!-$/g,kI=/(<|>)/g,PI="\u200B$1\u200B";function LI(e){return e.replace(AI,t=>t.replace(kI,PI))}function SA(e){return e.ownerDocument}function FI(e){return e.ownerDocument.body}function ep(e){return e instanceof Function?e():e}function VI(e,t,n){let r=e.length;for(;;){let o=e.indexOf(t,n);if(o===-1)return o;if(o===0||e.charCodeAt(o-1)<=32){let i=t.length;if(o+i===r||e.charCodeAt(o+i)<=32)return o}n=o+1}}var tp="ng-template";function jI(e,t,n,r){let o=0;if(r){for(;o<t.length&&typeof t[o]=="string";o+=2)if(t[o]==="class"&&VI(t[o+1].toLowerCase(),n,0)!==-1)return!0}else if(vc(e))return!1;if(o=t.indexOf(1,o),o>-1){let i;for(;++o<t.length&&typeof(i=t[o])=="string";)if(i.toLowerCase()===n)return!0}return!1}function vc(e){return e.type===4&&e.value!==tp}function HI(e,t,n){let r=e.type===4&&!n?tp:e.value;return t===r}function BI(e,t,n){let r=4,o=e.attrs,i=o!==null?qI(o):0,s=!1;for(let a=0;a<t.length;a++){let c=t[a];if(typeof c=="number"){if(!s&&!ge(r)&&!ge(c))return!1;if(s&&ge(c))continue;s=!1,r=c|r&1;continue}if(!s)if(r&4){if(r=2|r&1,c!==""&&!HI(e,c,n)||c===""&&t.length===1){if(ge(r))return!1;s=!0}}else if(r&8){if(o===null||!jI(e,o,c,n)){if(ge(r))return!1;s=!0}}else{let l=t[++a],u=$I(c,o,vc(e),n);if(u===-1){if(ge(r))return!1;s=!0;continue}if(l!==""){let f;if(u>i?f="":f=o[u+1].toLowerCase(),r&2&&l!==f){if(ge(r))return!1;s=!0}}}}return ge(r)||s}function ge(e){return(e&1)===0}function $I(e,t,n,r){if(t===null)return-1;let o=0;if(r||!n){let i=!1;for(;o<t.length;){let s=t[o];if(s===e)return o;if(s===3||s===6)i=!0;else if(s===1||s===2){let a=t[++o];for(;typeof a=="string";)a=t[++o];continue}else{if(s===4)break;if(s===0){o+=4;continue}}o+=i?1:2}return-1}else return WI(t,e)}function np(e,t,n=!1){for(let r=0;r<t.length;r++)if(BI(e,t[r],n))return!0;return!1}function UI(e){let t=e.attrs;if(t!=null){let n=t.indexOf(5);if((n&1)===0)return t[n+1]}return null}function qI(e){for(let t=0;t<e.length;t++){let n=e[t];if(tf(n))return t}return e.length}function WI(e,t){let n=e.indexOf(4);if(n>-1)for(n++;n<e.length;){let r=e[n];if(typeof r=="number")return-1;if(r===t)return n;n++}return-1}function zI(e,t){e:for(let n=0;n<t.length;n++){let r=t[n];if(e.length===r.length){for(let o=0;o<e.length;o++)if(e[o]!==r[o])continue e;return!0}}return!1}function xu(e,t){return e?":not("+t.trim()+")":t}function GI(e){let t=e[0],n=1,r=2,o="",i=!1;for(;n<e.length;){let s=e[n];if(typeof s=="string")if(r&2){let a=e[++n];o+="["+s+(a.length>0?'="'+a+'"':"")+"]"}else r&8?o+="."+s:r&4&&(o+=" "+s);else o!==""&&!ge(s)&&(t+=xu(i,o),o=""),r=s,i=i||!ge(r);n++}return o!==""&&(t+=xu(i,o)),t}function QI(e){return e.map(GI).join(",")}function ZI(e){let t=[],n=[],r=1,o=2;for(;r<e.length;){let i=e[r];if(typeof i=="string")o===2?i!==""&&t.push(i,e[++r]):o===8&&n.push(i);else{if(!ge(o))break;o=i}r++}return n.length&&t.push(1,...n),t}var Q={};function rp(e,t){return e.createText(t)}function YI(e,t,n){e.setValue(t,n)}function op(e,t){return e.createComment(LI(t))}function Ic(e,t,n){return e.createElement(t,n)}function To(e,t,n,r,o){e.insertBefore(t,n,r,o)}function ip(e,t,n){e.appendChild(t,n)}function Nu(e,t,n,r,o){r!==null?To(e,t,n,r,o):ip(e,t,n)}function Ec(e,t,n){e.removeChild(null,t,n)}function sp(e){e.textContent=""}function KI(e,t,n){e.setAttribute(t,"style",n)}function JI(e,t,n){n===""?e.removeAttribute(t,"class"):e.setAttribute(t,"class",n)}function ap(e,t,n){let{mergedAttrs:r,classes:o,styles:i}=n;r!==null&&ky(e,t,r),o!==null&&JI(e,t,o),i!==null&&KI(e,t,i)}function wc(e,t,n,r,o,i,s,a,c,l,u){let f=k+r,p=f+o,d=XI(f,p),h=typeof l=="function"?l():l;return d[w]={type:e,blueprint:d,template:n,queries:null,viewQuery:a,declTNode:t,data:d.slice().fill(null,f),bindingStartIndex:f,expandoStartIndex:p,hostBindingOpCodes:null,firstCreatePass:!0,firstUpdatePass:!0,staticViewQueries:!1,staticContentQueries:!1,preOrderHooks:null,preOrderCheckHooks:null,contentHooks:null,contentCheckHooks:null,viewHooks:null,viewCheckHooks:null,destroyHooks:null,cleanup:null,contentQueries:null,components:null,directiveRegistry:typeof i=="function"?i():i,pipeRegistry:typeof s=="function"?s():s,firstChild:null,schemas:c,consts:h,incompleteFirstPass:!1,ssrId:u}}function XI(e,t){let n=[];for(let r=0;r<t;r++)n.push(r<e?null:Q);return n}function eE(e){let t=e.tView;return t===null||t.incompleteFirstPass?e.tView=wc(1,null,e.template,e.decls,e.vars,e.directiveDefs,e.pipeDefs,e.viewQuery,e.schemas,e.consts,e.id):t}function Dc(e,t,n,r,o,i,s,a,c,l,u){let f=t.blueprint.slice();return f[re]=o,f[b]=r|4|128|8|64|1024,(l!==null||e&&e[b]&2048)&&(f[b]|=2048),Hd(f),f[U]=f[dn]=e,f[$]=n,f[Le]=s||e&&e[Le],f[A]=a||e&&e[A],f[xe]=c||e&&e[xe]||null,f[ie]=i,f[qo]=dv(),f[de]=u,f[Rd]=l,f[K]=t.type==2?e[K]:f,f}function tE(e,t,n){let r=De(t,e),o=eE(n),i=e[Le].rendererFactory,s=bc(e,Dc(e,o,null,cp(n),r,t,null,i.createRenderer(r,n),null,null,null));return e[t.index]=s}function cp(e){let t=16;return e.signals?t=4096:e.onPush&&(t=64),t}function lp(e,t,n,r){if(n===0)return-1;let o=t.length;for(let i=0;i<n;i++)t.push(r),e.blueprint.push(r),e.data.push(null);return o}function bc(e,t){return e[jn]?e[nu][ve]=t:e[jn]=t,e[nu]=t,t}function OA(e=1){up(F(),m(),Oe()+e,!1)}function up(e,t,n,r){if(!r)if((t[b]&3)===3){let i=e.preOrderCheckHooks;i!==null&&no(t,i,n)}else{let i=e.preOrderHooks;i!==null&&ro(t,i,0,n)}Mt(n)}var si=function(e){return e[e.None=0]="None",e[e.SignalBased=1]="SignalBased",e[e.HasDecoratorInputTransform=2]="HasDecoratorInputTransform",e}(si||{});function ra(e,t,n,r){let o=C(null);try{let[i,s,a]=e.inputs[n],c=null;(s&si.SignalBased)!==0&&(c=t[i][z]),c!==null&&c.transformFn!==void 0?r=c.transformFn(r):a!==null&&(r=a.call(t,r)),e.setInput!==null?e.setInput(t,c,r,n,i):Ad(t,c,i,r)}finally{C(o)}}function dp(e,t,n,r,o){let i=Oe(),s=r&2;try{Mt(-1),s&&t.length>k&&up(e,t,k,!1),R(s?2:0,o),n(r,o)}finally{Mt(i),R(s?3:1,o)}}function ai(e,t,n){cE(e,t,n),(n.flags&64)===64&&lE(e,t,n)}function Mc(e,t,n=De){let r=t.localNames;if(r!==null){let o=t.index+1;for(let i=0;i<r.length;i+=2){let s=r[i+1],a=s===-1?n(t,e):e[s];e[o++]=a}}}function nE(e,t,n,r){let i=r.get(Af,Rf)||n===Un.ShadowDom,s=e.selectRootElement(t,i);return rE(s),s}function rE(e){fp(e)}var fp=()=>null;function oE(e){Df(e)?sp(e):iI(e)}function iE(){fp=oE}function sE(e){return e==="class"?"className":e==="for"?"htmlFor":e==="formaction"?"formAction":e==="innerHtml"?"innerHTML":e==="readonly"?"readOnly":e==="tabindex"?"tabIndex":e}function or(e,t,n,r,o,i,s,a){if(!a&&_c(t,e,n,r,o)){Nt(t)&&aE(n,t.index);return}if(t.type&3){let c=De(t,n);r=sE(r),o=s!=null?s(o,t.value||"",r):o,i.setProperty(c,r,o)}else t.type&12}function aE(e,t){let n=Ne(t,e);n[b]&16||(n[b]|=64)}function cE(e,t,n){let r=n.directiveStart,o=n.directiveEnd;Nt(n)&&tE(t,n,e.data[r+n.componentOffset]),e.firstCreatePass||wo(n,t);let i=n.initialInputs;for(let s=r;s<o;s++){let a=e.data[s],c=Bn(t,e,s,n);if(yn(c,t),i!==null&&pE(t,s-r,c,a,n,i),Ee(a)){let l=Ne(n.index,t);l[$]=Bn(t,e,s,n)}}}function lE(e,t,n){let r=n.directiveStart,o=n.directiveEnd,i=n.index,s=Ty();try{Mt(i);for(let a=r;a<o;a++){let c=e.data[a],l=t[a];ks(a),(c.hostBindings!==null||c.hostVars!==0||c.hostAttrs!==null)&&uE(c,l)}}finally{Mt(-1),ks(s)}}function uE(e,t){e.hostBindings!==null&&e.hostBindings(1,t)}function Cc(e,t){let n=e.directiveRegistry,r=null;if(n)for(let o=0;o<n.length;o++){let i=n[o];np(t,i.selectors,!1)&&(r??=[],Ee(i)?r.unshift(i):r.push(i))}return r}function dE(e,t,n,r,o,i){let s=De(e,t);fE(t[A],s,i,e.value,n,r,o)}function fE(e,t,n,r,o,i,s){if(i==null)e.removeAttribute(t,o,n);else{let a=s==null?ye(i):s(i,r||"",o);e.setAttribute(t,o,a,n)}}function pE(e,t,n,r,o,i){let s=i[t];if(s!==null)for(let a=0;a<s.length;a+=2){let c=s[a],l=s[a+1];ra(r,n,c,l)}}function hE(e,t,n){return(e===null||Ee(e))&&(n=ly(n[t.index])),n[A]}function Tc(e,t){let n=e[xe],r=n?n.get(tt,null):null;r&&r.handleError(t)}function _c(e,t,n,r,o){let i=e.inputs?.[r],s=e.hostDirectiveInputs?.[r],a=!1;if(s)for(let c=0;c<s.length;c+=2){let l=s[c],u=s[c+1],f=t.data[l];ra(f,n[l],u,o),a=!0}if(i)for(let c of i){let l=n[c],u=t.data[c];ra(u,l,r,o),a=!0}return a}function gE(e,t){let n=Ne(t,e),r=n[w];mE(r,n);let o=n[re];o!==null&&n[de]===null&&(n[de]=qf(o,n[xe])),R(18),xc(r,n,n[$]),R(19,n[$])}function mE(e,t){for(let n=t.length;n<e.blueprint.length;n++)t.push(e.blueprint[n])}function xc(e,t,n){rc(t);try{let r=e.viewQuery;r!==null&&Qs(1,r,n);let o=e.template;o!==null&&dp(e,t,o,1,n),e.firstCreatePass&&(e.firstCreatePass=!1),t[Fe]?.finishViewCreation(e),e.staticContentQueries&&zf(e,t),e.staticViewQueries&&Qs(2,e.viewQuery,n);let i=e.components;i!==null&&yE(t,i)}catch(r){throw e.firstCreatePass&&(e.incompleteFirstPass=!0,e.firstCreatePass=!1),r}finally{t[b]&=-5,oc()}}function yE(e,t){for(let n=0;n<t.length;n++)gE(e,t[n])}function vn(e,t,n,r){let o=C(null);try{let i=t.tView,a=e[b]&4096?4096:16,c=Dc(e,i,n,a,null,t,null,null,r?.injector??null,r?.embeddedViewInjector??null,r?.dehydratedView??null),l=e[t.index];c[wt]=l;let u=e[Fe];return u!==null&&(c[Fe]=u.createEmbeddedView(i)),xc(i,c,n),c}finally{C(o)}}function Tt(e,t){return!t||t.firstChild===null||Mo(e)}var vE;function Nc(e,t){return vE(e,t)}var oa=function(e){return e[e.Important=1]="Important",e[e.DashCase=2]="DashCase",e}(oa||{});function Ot(e){return(e.flags&32)===32}function Kt(e,t,n,r,o){if(r!=null){let i,s=!1;Se(r)?i=r:Ie(r)&&(s=!0,r=r[re]);let a=we(r);e===0&&n!==null?o==null?ip(t,n,a):To(t,n,a,o||null,!0):e===1&&n!==null?To(t,n,a,o||null,!0):e===2?Ec(t,a,s):e===3&&t.destroyNode(a),i!=null&&xE(t,e,i,n,o)}}function IE(e,t){pp(e,t),t[re]=null,t[ie]=null}function EE(e,t,n,r,o,i){r[re]=o,r[ie]=t,ui(e,r,n,1,o,i)}function pp(e,t){t[Le].changeDetectionScheduler?.notify(9),ui(e,t,t[A],2,null,null)}function wE(e){let t=e[jn];if(!t)return fs(e[w],e);for(;t;){let n=null;if(Ie(t))n=t[jn];else{let r=t[W];r&&(n=r)}if(!n){for(;t&&!t[ve]&&t!==e;)Ie(t)&&fs(t[w],t),t=t[U];t===null&&(t=e),Ie(t)&&fs(t[w],t),n=t&&t[ve]}t=n}}function Sc(e,t){let n=e[an],r=n.indexOf(t);n.splice(r,1)}function ci(e,t){if(St(t))return;let n=t[A];n.destroyNode&&ui(e,t,n,3,null,null),wE(t)}function fs(e,t){if(St(t))return;let n=C(null);try{t[b]&=-129,t[b]|=256,t[ue]&&Mn(t[ue]),bE(e,t),DE(e,t),t[w].type===1&&t[A].destroy();let r=t[wt];if(r!==null&&Se(t[U])){r!==t[U]&&Sc(r,t);let o=t[Fe];o!==null&&o.detachView(e)}Us(t)}finally{C(n)}}function DE(e,t){let n=e.cleanup,r=t[go];if(n!==null)for(let s=0;s<n.length-1;s+=2)if(typeof n[s]=="string"){let a=n[s+3];a>=0?r[a]():r[-a].unsubscribe(),s+=2}else{let a=r[n[s+1]];n[s].call(a)}r!==null&&(t[go]=null);let o=t[Ye];if(o!==null){t[Ye]=null;for(let s=0;s<o.length;s++){let a=o[s];a()}}let i=t[Dt];if(i!==null){t[Dt]=null;for(let s of i)s.destroy()}}function bE(e,t){let n;if(e!=null&&(n=e.destroyHooks)!=null)for(let r=0;r<n.length;r+=2){let o=t[n[r]];if(!(o instanceof Ct)){let i=n[r+1];if(Array.isArray(i))for(let s=0;s<i.length;s+=2){let a=o[i[s]],c=i[s+1];R(4,a,c);try{c.call(a)}finally{R(5,a,c)}}else{R(4,o,i);try{i.call(o)}finally{R(5,o,i)}}}}}function hp(e,t,n){return ME(e,t.parent,n)}function ME(e,t,n){let r=t;for(;r!==null&&r.type&168;)t=r,r=t.parent;if(r===null)return n[re];if(Nt(r)){let{encapsulation:o}=e.data[r.directiveStart+r.componentOffset];if(o===Un.None||o===Un.Emulated)return null}return De(r,n)}function gp(e,t,n){return TE(e,t,n)}function CE(e,t,n){return e.type&40?De(e,n):null}var TE=CE,Su;function li(e,t,n,r){let o=hp(e,r,t),i=t[A],s=r.parent||t[ie],a=gp(s,r,t);if(o!=null)if(Array.isArray(n))for(let c=0;c<n.length;c++)Nu(i,o,n[c],a,!1);else Nu(i,o,n,a,!1);Su!==void 0&&Su(i,r,t,n,o)}function Ln(e,t){if(t!==null){let n=t.type;if(n&3)return De(t,e);if(n&4)return ia(-1,e[t.index]);if(n&8){let r=t.child;if(r!==null)return Ln(e,r);{let o=e[t.index];return Se(o)?ia(-1,o):we(o)}}else{if(n&128)return Ln(e,t.next);if(n&32)return Nc(t,e)()||we(e[t.index]);{let r=mp(e,t);if(r!==null){if(Array.isArray(r))return r[0];let o=bt(e[K]);return Ln(o,r)}else return Ln(e,t.next)}}}return null}function mp(e,t){if(t!==null){let r=e[K][ie],o=t.projection;return r.projection[o]}return null}function ia(e,t){let n=W+e+1;if(n<t.length){let r=t[n],o=r[w].firstChild;if(o!==null)return Ln(r,o)}return t[je]}function Oc(e,t,n,r,o,i,s){for(;n!=null;){if(n.type===128){n=n.next;continue}let a=r[n.index],c=n.type;if(s&&t===0&&(a&&yn(we(a),r),n.flags|=2),!Ot(n))if(c&8)Oc(e,t,n.child,r,o,i,!1),Kt(t,e,o,a,i);else if(c&32){let l=Nc(n,r),u;for(;u=l();)Kt(t,e,o,u,i);Kt(t,e,o,a,i)}else c&16?yp(e,t,r,n,o,i):Kt(t,e,o,a,i);n=s?n.projectionNext:n.next}}function ui(e,t,n,r,o,i){Oc(n,r,e.firstChild,t,o,i,!1)}function _E(e,t,n){let r=t[A],o=hp(e,n,t),i=n.parent||t[ie],s=gp(i,n,t);yp(r,0,t,n,o,s)}function yp(e,t,n,r,o,i){let s=n[K],c=s[ie].projection[r.projection];if(Array.isArray(c))for(let l=0;l<c.length;l++){let u=c[l];Kt(t,e,o,u,i)}else{let l=c,u=s[U];Mo(r)&&(l.flags|=128),Oc(e,t,l,u,o,i,!0)}}function xE(e,t,n,r,o){let i=n[je],s=we(n);i!==s&&Kt(t,e,r,i,o);for(let a=W;a<n.length;a++){let c=n[a];ui(c[w],c,e,t,r,i)}}function NE(e,t,n,r,o){if(t)o?e.addClass(n,r):e.removeClass(n,r);else{let i=r.indexOf("-")===-1?void 0:oa.DashCase;o==null?e.removeStyle(n,r,i):(typeof o=="string"&&o.endsWith("!important")&&(o=o.slice(0,-10),i|=oa.Important),e.setStyle(n,r,o,i))}}function _o(e,t,n,r,o=!1){for(;n!==null;){if(n.type===128){n=o?n.projectionNext:n.next;continue}let i=t[n.index];i!==null&&r.push(we(i)),Se(i)&&SE(i,r);let s=n.type;if(s&8)_o(e,t,n.child,r);else if(s&32){let a=Nc(n,t),c;for(;c=a();)r.push(c)}else if(s&16){let a=mp(t,n);if(Array.isArray(a))r.push(...a);else{let c=bt(t[K]);_o(c[w],c,a,r,!0)}}n=o?n.projectionNext:n.next}return r}function SE(e,t){for(let n=W;n<e.length;n++){let r=e[n],o=r[w].firstChild;o!==null&&_o(r[w],r,o,t)}e[je]!==e[re]&&t.push(e[je])}function vp(e){if(e[Xt]!==null){for(let t of e[Xt])t.impl.addSequence(t);e[Xt].length=0}}var Ip=[];function OE(e){return e[ue]??RE(e)}function RE(e){let t=Ip.pop()??Object.create(kE);return t.lView=e,t}function AE(e){e.lView[ue]!==e&&(e.lView=null,Ip.push(e))}var kE=X(J({},ct),{consumerIsAlwaysLive:!0,kind:"template",consumerMarkedDirty:e=>{fn(e.lView)},consumerOnSignalRead(){this.lView[ue]=this}});function PE(e){let t=e[ue]??Object.create(LE);return t.lView=e,t}var LE=X(J({},ct),{consumerIsAlwaysLive:!0,kind:"template",consumerMarkedDirty:e=>{let t=bt(e.lView);for(;t&&!Ep(t[w]);)t=bt(t);t&&Bd(t)},consumerOnSignalRead(){this.lView[ue]=this}});function Ep(e){return e.type!==2}function wp(e){if(e[Dt]===null)return;let t=!0;for(;t;){let n=!1;for(let r of e[Dt])r.dirty&&(n=!0,r.zone===null||Zone.current===r.zone?r.run():r.zone.run(()=>r.run()));t=n&&!!(e[b]&8192)}}var FE=100;function Dp(e,t=!0,n=0){let o=e[Le].rendererFactory,i=!1;i||o.begin?.();try{VE(e,n)}catch(s){throw t&&Tc(e,s),s}finally{i||o.end?.()}}function VE(e,t){let n=qd();try{yo(!0),sa(e,t);let r=0;for(;Go(e);){if(r===FE)throw new T(103,!1);r++,sa(e,1)}}finally{yo(n)}}function jE(e,t,n,r){if(St(t))return;let o=t[b],i=!1,s=!1;rc(t);let a=!0,c=null,l=null;i||(Ep(e)?(l=OE(t),c=Lt(l)):Ei()===null?(a=!1,l=PE(t),c=Lt(l)):t[ue]&&(Mn(t[ue]),t[ue]=null));try{Hd(t),by(e.bindingStartIndex),n!==null&&dp(e,t,n,2,r);let u=(o&3)===3;if(!i)if(u){let d=e.preOrderCheckHooks;d!==null&&no(t,d,null)}else{let d=e.preOrderHooks;d!==null&&ro(t,d,0,null),cs(t,0)}if(s||HE(t),wp(t),bp(t,0),e.contentQueries!==null&&zf(e,t),!i)if(u){let d=e.contentCheckHooks;d!==null&&no(t,d)}else{let d=e.contentHooks;d!==null&&ro(t,d,1),cs(t,1)}$E(e,t);let f=e.components;f!==null&&Cp(t,f,0);let p=e.viewQuery;if(p!==null&&Qs(2,p,r),!i)if(u){let d=e.viewCheckHooks;d!==null&&no(t,d)}else{let d=e.viewHooks;d!==null&&ro(t,d,2),cs(t,2)}if(e.firstUpdatePass===!0&&(e.firstUpdatePass=!1),t[as]){for(let d of t[as])d();t[as]=null}i||(vp(t),t[b]&=-73)}catch(u){throw i||fn(t),u}finally{l!==null&&(bn(l,c),a&&AE(l)),oc()}}function bp(e,t){for(let n=Cf(e);n!==null;n=Tf(n))for(let r=W;r<n.length;r++){let o=n[r];Mp(o,t)}}function HE(e){for(let t=Cf(e);t!==null;t=Tf(t)){if(!(t[b]&2))continue;let n=t[an];for(let r=0;r<n.length;r++){let o=n[r];Bd(o)}}}function BE(e,t,n){R(18);let r=Ne(t,e);Mp(r,n),R(19,r[$])}function Mp(e,t){Ya(e)&&sa(e,t)}function sa(e,t){let r=e[w],o=e[b],i=e[ue],s=!!(t===0&&o&16);if(s||=!!(o&64&&t===0),s||=!!(o&1024),s||=!!(i?.dirty&&cr(i)),s||=!1,i&&(i.dirty=!1),e[b]&=-9217,s)jE(r,e,r.template,e[$]);else if(o&8192){wp(e),bp(e,1);let a=r.components;a!==null&&Cp(e,a,1),vp(e)}}function Cp(e,t,n){for(let r=0;r<t.length;r++)BE(e,t[r],n)}function $E(e,t){let n=e.hostBindingOpCodes;if(n!==null)try{for(let r=0;r<n.length;r++){let o=n[r];if(o<0)Mt(~o);else{let i=o,s=n[++r],a=n[++r];Cy(s,i);let c=t[i];R(24,c),a(2,c),R(25,c)}}}finally{Mt(-1)}}function di(e,t){let n=qd()?64:1088;for(e[Le].changeDetectionScheduler?.notify(t);e;){e[b]|=n;let r=bt(e);if(Hn(e)&&!r)return e;e=r}return null}function Tp(e,t,n,r){return[e,!0,0,t,null,r,null,n,null,null]}function _p(e,t){let n=W+t;if(n<e.length)return e[n]}function In(e,t,n,r=!0){let o=t[w];if(UE(o,t,e,n),r){let s=ia(n,e),a=t[A],c=a.parentNode(e[je]);c!==null&&EE(o,e[ie],a,t,c,s)}let i=t[de];i!==null&&i.firstChild!==null&&(i.firstChild=null)}function Rc(e,t){let n=qn(e,t);return n!==void 0&&ci(n[w],n),n}function qn(e,t){if(e.length<=W)return;let n=W+t,r=e[n];if(r){let o=r[wt];o!==null&&o!==e&&Sc(o,r),t>0&&(e[n-1][ve]=r[ve]);let i=po(e,W+t);IE(r[w],r);let s=i[Fe];s!==null&&s.detachView(i[w]),r[U]=null,r[ve]=null,r[b]&=-129}return r}function UE(e,t,n,r){let o=W+r,i=n.length;r>0&&(n[o-1][ve]=t),r<i-W?(t[ve]=n[o],wd(n,W+r,t)):(n.push(t),t[ve]=null),t[U]=n;let s=t[wt];s!==null&&n!==s&&xp(s,t);let a=t[Fe];a!==null&&a.insertView(e),Rs(t),t[b]|=128}function xp(e,t){let n=e[an],r=t[U];if(Ie(r))e[b]|=2;else{let o=r[U][K];t[K]!==o&&(e[b]|=2)}n===null?e[an]=[t]:n.push(t)}var Wn=class{_lView;_cdRefInjectingView;notifyErrorHandler;_appRef=null;_attachedToViewContainer=!1;get rootNodes(){let t=this._lView,n=t[w];return _o(n,t,n.firstChild,[])}constructor(t,n,r=!0){this._lView=t,this._cdRefInjectingView=n,this.notifyErrorHandler=r}get context(){return this._lView[$]}set context(t){this._lView[$]=t}get destroyed(){return St(this._lView)}destroy(){if(this._appRef)this._appRef.detachView(this);else if(this._attachedToViewContainer){let t=this._lView[U];if(Se(t)){let n=t[mo],r=n?n.indexOf(this):-1;r>-1&&(qn(t,r),po(n,r))}this._attachedToViewContainer=!1}ci(this._lView[w],this._lView)}onDestroy(t){$d(this._lView,t)}markForCheck(){di(this._cdRefInjectingView||this._lView,4)}detach(){this._lView[b]&=-129}reattach(){Rs(this._lView),this._lView[b]|=128}detectChanges(){this._lView[b]|=1024,Dp(this._lView,this.notifyErrorHandler)}checkNoChanges(){}attachToViewContainerRef(){if(this._appRef)throw new T(902,!1);this._attachedToViewContainer=!0}detachFromAppRef(){this._appRef=null;let t=Hn(this._lView),n=this._lView[wt];n!==null&&!t&&Sc(n,this._lView),pp(this._lView[w],this._lView)}attachToAppRef(t){if(this._attachedToViewContainer)throw new T(902,!1);this._appRef=t;let n=Hn(this._lView),r=this._lView[wt];r!==null&&!n&&xp(r,this._lView),Rs(this._lView)}};var xo=(()=>{class e{static __NG_ELEMENT_ID__=zE}return e})(),qE=xo,WE=class extends qE{_declarationLView;_declarationTContainer;elementRef;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=vn(this._declarationLView,this._declarationTContainer,t,{embeddedViewInjector:n,dehydratedView:r});return new Wn(o)}};function zE(){return fi(G(),m())}function fi(e,t){return e.type&4?new WE(t,e,mn(e,t)):null}function En(e,t,n,r,o){let i=e.data[t];if(i===null)i=GE(e,t,n,r,o),My()&&(i.flags|=32);else if(i.type&64){i.type=n,i.value=r,i.attrs=o;let s=wy();i.injectorIndex=s===null?-1:s.injectorIndex}return nt(i,!0),i}function GE(e,t,n,r,o){let i=Ud(),s=ec(),a=s?i:i&&i.parent,c=e.data[t]=ZE(e,a,n,t,r,o);return QE(e,c,i,s),c}function QE(e,t,n,r){e.firstChild===null&&(e.firstChild=t),n!==null&&(r?n.child==null&&t.parent!==null&&(n.child=t):n.next===null&&(n.next=t,t.prev=n))}function ZE(e,t,n,r,o,i){let s=t?t.injectorIndex:-1,a=0;return pn()&&(a|=128),{type:n,index:r,insertBeforeIndex:null,injectorIndex:s,directiveStart:-1,directiveEnd:-1,directiveStylingLast:-1,componentOffset:-1,propertyBindings:null,flags:a,providerIndexes:0,value:o,attrs:i,mergedAttrs:null,localNames:null,initialInputs:null,inputs:null,hostDirectiveInputs:null,outputs:null,hostDirectiveOutputs:null,directiveToIndex:null,tView:null,next:null,prev:null,projectionNext:null,child:null,parent:t,projection:null,styles:null,stylesWithoutHost:null,residualStyles:void 0,classes:null,classesWithoutHost:null,residualClasses:void 0,classBindings:0,styleBindings:0}}var YE=new RegExp(`^(\\d+)*(${Nf}|${xf})*(.*)`);function KE(e){let t=e.match(YE),[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 f=parseInt(u,10)||1;a.push(l,f)}return[s,...a]}function JE(e){return!e.prev&&e.parent?.type===8}function ps(e){return e.index-k}function XE(e,t){let n=e.i18nNodes;if(n)return n.get(t)}function pi(e,t,n,r){let o=ps(r),i=XE(e,o);if(i===void 0){let s=e.data[Dv];if(s?.[o])i=tw(s[o],n);else if(t.firstChild===r)i=e.firstChild;else{let a=r.prev===null,c=r.prev??r.parent;if(JE(r)){let l=ps(r.parent);i=Gs(e,l)}else{let l=De(c,n);if(a)i=l.firstChild;else{let u=ps(c),f=Gs(e,u);if(c.type===2&&f){let d=hc(e,u)+1;i=hi(d,f)}else i=l.nextSibling}}}}return i}function hi(e,t){let n=t;for(let r=0;r<e;r++)n=n.nextSibling;return n}function ew(e,t){let n=e;for(let r=0;r<t.length;r+=2){let o=t[r],i=t[r+1];for(let s=0;s<i;s++)switch(o){case yv:n=n.firstChild;break;case vv:n=n.nextSibling;break}}return n}function tw(e,t){let[n,...r]=KE(e),o;if(n===xf)o=t[K][re];else if(n===Nf)o=FI(t[K][re]);else{let i=Number(n);o=we(t[i+k])}return ew(o,r)}var nw=!1;function rw(e){nw=e}function ow(e){let t=e[de];if(t){let{i18nNodes:n,dehydratedIcuData:r}=t;if(n&&r){let o=e[A];for(let i of r.values())iw(o,n,i)}t.i18nNodes=void 0,t.dehydratedIcuData=void 0}}function iw(e,t,n){for(let r of n.node.cases[n.case]){let o=t.get(r.index-k);o&&Ec(e,o,!1)}}function Np(e){let t=e[Ve]??[],r=e[U][A],o=[];for(let i of t)i.data[bv]!==void 0?o.push(i):Sp(i,r);e[Ve]=o}function sw(e){let{lContainer:t}=e,n=t[Ve];if(n===null)return;let o=t[U][A];for(let i of n)Sp(i,o)}function Sp(e,t){let n=0,r=e.firstChild;if(r){let o=e.data[Co];for(;n<o;){let i=r.nextSibling;Ec(t,r,!1),r=i,n++}}}function gi(e){Np(e);let t=e[re];Ie(t)&&No(t);for(let n=W;n<e.length;n++)No(e[n])}function No(e){ow(e);let t=e[w];for(let n=k;n<t.bindingStartIndex;n++)if(Se(e[n])){let r=e[n];gi(r)}else Ie(e[n])&&No(e[n])}function Op(e){let t=e._views;for(let n of t){let r=rI(n);r!==null&&r[re]!==null&&(Ie(r)?No(r):gi(r))}}function aw(e,t,n,r){e!==null&&(n.cleanup(t),gi(e.lContainer),Op(r))}function cw(e,t){let n=[];for(let r of t)for(let o=0;o<(r[Sf]??1);o++){let i={data:r,firstChild:null};r[Co]>0&&(i.firstChild=e,e=hi(r[Co],e)),n.push(i)}return[e,n]}var Rp=()=>null;function lw(e,t){let n=e[Ve];return!t||n===null||n.length===0?null:n[0].data[wv]===t?n.shift():(Np(e),null)}function uw(){Rp=lw}function ln(e,t){return Rp(e,t)}var dw=class{},Ap=class{},aa=class{resolveComponentFactory(t){throw Error(`No component factory found for ${ne(t)}.`)}},mi=class{static NULL=new aa},So=class{},FA=(()=>{class e{destroyNode=null;static __NG_ELEMENT_ID__=()=>fw()}return e})();function fw(){let e=m(),t=G(),n=Ne(t.index,e);return(Ie(n)?n:e)[A]}var pw=(()=>{class e{static \u0275prov=j({token:e,providedIn:"root",factory:()=>null})}return e})();var hs={},rn=class{injector;parentInjector;constructor(t,n){this.injector=t,this.parentInjector=n}get(t,n,r){r=Bo(r);let o=this.injector.get(t,hs,r);return o!==hs||n===hs?o:this.parentInjector.get(t,n,r)}};function ca(e,t,n){let r=n?e.styles:null,o=n?e.classes:null,i=0;if(t!==null)for(let s=0;s<t.length;s++){let a=t[s];if(typeof a=="number")i=a;else if(i==1)o=Ms(o,a);else if(i==2){let c=a,l=t[++s];r=Ms(r,c+": "+l+";")}}n?e.styles=r:e.stylesWithoutHost=r,n?e.classes=o:e.classesWithoutHost=o}function yi(e,t=_.Default){let n=m();if(n===null)return Ke(e,t);let r=G();return lf(r,n,q(e),t)}function VA(){let e="invalid";throw new Error(e)}function Ac(e,t,n,r,o){let i=r===null?null:{"":-1},s=o(e,n);if(s!==null){let a,c=null,l=null,u=gw(s);u===null?a=s:[a,c,l]=u,vw(e,t,n,a,i,c,l)}i!==null&&r!==null&&hw(n,r,i)}function hw(e,t,n){let r=e.localNames=[];for(let o=0;o<t.length;o+=2){let i=n[t[o+1]];if(i==null)throw new T(-301,!1);r.push(t[o],i)}}function gw(e){let t=null,n=!1;for(let s=0;s<e.length;s++){let a=e[s];if(s===0&&Ee(a)&&(t=a),a.findHostDirectiveDefs!==null){n=!0;break}}if(!n)return null;let r=null,o=null,i=null;for(let s of e)s.findHostDirectiveDefs!==null&&(r??=[],o??=new Map,i??=new Map,mw(s,r,i,o)),s===t&&(r??=[],r.push(s));return r!==null?(r.push(...t===null?e:e.slice(1)),[r,o,i]):null}function mw(e,t,n,r){let o=t.length;e.findHostDirectiveDefs(e,t,r),n.set(e,[o,t.length-1])}function yw(e,t,n){t.componentOffset=n,(e.components??=[]).push(t.index)}function vw(e,t,n,r,o,i,s){let a=r.length,c=!1;for(let p=0;p<a;p++){let d=r[p];!c&&Ee(d)&&(c=!0,yw(e,n,p)),Ls(wo(n,t),e,d.type)}Mw(n,e.data.length,a);for(let p=0;p<a;p++){let d=r[p];d.providersResolver&&d.providersResolver(d)}let l=!1,u=!1,f=lp(e,t,a,null);a>0&&(n.directiveToIndex=new Map);for(let p=0;p<a;p++){let d=r[p];if(n.mergedAttrs=cn(n.mergedAttrs,d.hostAttrs),Ew(e,n,t,f,d),bw(f,d,o),s!==null&&s.has(d)){let[g,O]=s.get(d);n.directiveToIndex.set(d.type,[f,g+n.directiveStart,O+n.directiveStart])}else(i===null||!i.has(d))&&n.directiveToIndex.set(d.type,f);d.contentQueries!==null&&(n.flags|=4),(d.hostBindings!==null||d.hostAttrs!==null||d.hostVars!==0)&&(n.flags|=64);let h=d.type.prototype;!l&&(h.ngOnChanges||h.ngOnInit||h.ngDoCheck)&&((e.preOrderHooks??=[]).push(n.index),l=!0),!u&&(h.ngOnChanges||h.ngDoCheck)&&((e.preOrderCheckHooks??=[]).push(n.index),u=!0),f++}Iw(e,n,i)}function Iw(e,t,n){for(let r=t.directiveStart;r<t.directiveEnd;r++){let o=e.data[r];if(n===null||!n.has(o))Ou(0,t,o,r),Ou(1,t,o,r),Au(t,r,!1);else{let i=n.get(o);Ru(0,t,i,r),Ru(1,t,i,r),Au(t,r,!0)}}}function Ou(e,t,n,r){let o=e===0?n.inputs:n.outputs;for(let i in o)if(o.hasOwnProperty(i)){let s;e===0?s=t.inputs??={}:s=t.outputs??={},s[i]??=[],s[i].push(r),kp(t,i)}}function Ru(e,t,n,r){let o=e===0?n.inputs:n.outputs;for(let i in o)if(o.hasOwnProperty(i)){let s=o[i],a;e===0?a=t.hostDirectiveInputs??={}:a=t.hostDirectiveOutputs??={},a[s]??=[],a[s].push(r,i),kp(t,s)}}function kp(e,t){t==="class"?e.flags|=8:t==="style"&&(e.flags|=16)}function Au(e,t,n){let{attrs:r,inputs:o,hostDirectiveInputs:i}=e;if(r===null||!n&&o===null||n&&i===null||vc(e)){e.initialInputs??=[],e.initialInputs.push(null);return}let s=null,a=0;for(;a<r.length;){let c=r[a];if(c===0){a+=4;continue}else if(c===5){a+=2;continue}else if(typeof c=="number")break;if(!n&&o.hasOwnProperty(c)){let l=o[c];for(let u of l)if(u===t){s??=[],s.push(c,r[a+1]);break}}else if(n&&i.hasOwnProperty(c)){let l=i[c];for(let u=0;u<l.length;u+=2)if(l[u]===t){s??=[],s.push(l[u+1],r[a+1]);break}}a+=2}e.initialInputs??=[],e.initialInputs.push(s)}function Ew(e,t,n,r,o){e.data[r]=o;let i=o.factory||(o.factory=Et(o.type,!0)),s=new Ct(i,Ee(o),yi);e.blueprint[r]=s,n[r]=s,ww(e,t,r,lp(e,n,o.hostVars,Q),o)}function ww(e,t,n,r,o){let i=o.hostBindings;if(i){let s=e.hostBindingOpCodes;s===null&&(s=e.hostBindingOpCodes=[]);let a=~t.index;Dw(s)!=a&&s.push(a),s.push(n,r,i)}}function Dw(e){let t=e.length;for(;t>0;){let n=e[--t];if(typeof n=="number"&&n<0)return n}return 0}function bw(e,t,n){if(n){if(t.exportAs)for(let r=0;r<t.exportAs.length;r++)n[t.exportAs[r]]=e;Ee(t)&&(n[""]=e)}}function Mw(e,t,n){e.flags|=1,e.directiveStart=t,e.directiveEnd=t+n,e.providerIndexes=t}function Pp(e,t,n,r,o,i,s,a){let c=t.consts,l=Je(c,s),u=En(t,e,2,r,l);return i&&Ac(t,n,u,Je(c,a),o),u.mergedAttrs=cn(u.mergedAttrs,u.attrs),u.attrs!==null&&ca(u,u.attrs,!1),u.mergedAttrs!==null&&ca(u,u.mergedAttrs,!0),t.queries!==null&&t.queries.elementStart(t,u),u}function Lp(e,t){ic(e,t),Za(t)&&e.queries.elementEnd(t)}var Oo=class extends mi{ngModule;constructor(t){super(),this.ngModule=t}resolveComponentFactory(t){let n=ke(t);return new _t(n,this.ngModule)}};function Cw(e){return Object.keys(e).map(t=>{let[n,r,o]=e[t],i={propName:n,templateName:t,isSignal:(r&si.SignalBased)!==0};return o&&(i.transform=o),i})}function Tw(e){return Object.keys(e).map(t=>({propName:e[t],templateName:t}))}function _w(e,t,n){let r=t instanceof Pe?t:t?.injector;return r&&e.getStandaloneInjector!==null&&(r=e.getStandaloneInjector(r)||r),r?new rn(n,r):n}function xw(e){let t=e.get(So,null);if(t===null)throw new T(407,!1);let n=e.get(pw,null),r=e.get(et,null);return{rendererFactory:t,sanitizer:n,changeDetectionScheduler:r}}function Nw(e,t){let n=(e.selectors[0][0]||"div").toLowerCase();return Ic(t,n,n==="svg"?Fd:n==="math"?cy:null)}var _t=class extends Ap{componentDef;ngModule;selector;componentType;ngContentSelectors;isBoundToModule;cachedInputs=null;cachedOutputs=null;get inputs(){return this.cachedInputs??=Cw(this.componentDef.inputs),this.cachedInputs}get outputs(){return this.cachedOutputs??=Tw(this.componentDef.outputs),this.cachedOutputs}constructor(t,n){super(),this.componentDef=t,this.ngModule=n,this.componentType=t.type,this.selector=QI(t.selectors),this.ngContentSelectors=t.ngContentSelectors??[],this.isBoundToModule=!!n}create(t,n,r,o){R(22);let i=C(null);try{let s=this.componentDef,a=r?["ng-version","19.2.14"]:ZI(this.componentDef.selectors[0]),c=wc(0,null,null,1,0,null,null,null,null,[a],null),l=_w(s,o||this.ngModule,t),u=xw(l),f=u.rendererFactory.createRenderer(null,s),p=r?nE(f,r,s.encapsulation,l):Nw(s,f),d=Dc(null,c,null,512|cp(s),null,null,u,f,l,null,qf(p,l,!0));d[k]=p,rc(d);let h=null;try{let g=Pp(k,c,d,"#host",()=>[this.componentDef],!0,0);p&&(ap(f,p,g),yn(p,d)),ai(c,d,g),gc(c,g,d),Lp(c,g),n!==void 0&&Sw(g,this.ngContentSelectors,n),h=Ne(g.index,d),d[$]=h[$],xc(c,d,null)}catch(g){throw h!==null&&Us(h),Us(d),g}finally{R(23),oc()}return new la(this.componentType,d)}finally{C(i)}}},la=class extends dw{_rootLView;instance;hostView;changeDetectorRef;componentType;location;previousInputValues=null;_tNode;constructor(t,n){super(),this._rootLView=n,this._tNode=Kn(n[w],k),this.location=mn(this._tNode,n),this.instance=Ne(this._tNode.index,n)[$],this.hostView=this.changeDetectorRef=new Wn(n,void 0,!1),this.componentType=t}setInput(t,n){let r=this._tNode;if(this.previousInputValues??=new Map,this.previousInputValues.has(t)&&Object.is(this.previousInputValues.get(t),n))return;let o=this._rootLView,i=_c(r,o[w],o,t,n);this.previousInputValues.set(t,n);let s=Ne(r.index,o);di(s,1)}get injector(){return new It(this._tNode,this._rootLView)}destroy(){this.hostView.destroy()}onDestroy(t){this.hostView.onDestroy(t)}};function Sw(e,t,n){let r=e.projection=[];for(let o=0;o<t.length;o++){let i=n[o];r.push(i!=null&&i.length?Array.from(i):null)}}var kc=(()=>{class e{static __NG_ELEMENT_ID__=Ow}return e})();function Ow(){let e=G();return Vp(e,m())}var Rw=kc,Fp=class extends Rw{_lContainer;_hostTNode;_hostLView;constructor(t,n,r){super(),this._lContainer=t,this._hostTNode=n,this._hostLView=r}get element(){return mn(this._hostTNode,this._hostLView)}get injector(){return new It(this._hostTNode,this._hostLView)}get parentInjector(){let t=sc(this._hostTNode,this._hostLView);if(nf(t)){let n=Io(t,this._hostLView),r=vo(t),o=n[w].data[r+8];return new It(o,n)}else return new It(null,this._hostLView)}clear(){for(;this.length>0;)this.remove(this.length-1)}get(t){let n=ku(this._lContainer);return n!==null&&n[t]||null}get length(){return this._lContainer.length-W}createEmbeddedView(t,n,r){let o,i;typeof r=="number"?o=r:r!=null&&(o=r.index,i=r.injector);let s=ln(this._lContainer,t.ssrId),a=t.createEmbeddedViewImpl(n||{},i,s);return this.insertImpl(a,o,Tt(this._hostTNode,s)),a}createComponent(t,n,r,o,i){let s=t&&!oy(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 _t(ke(t)),l=r||this.parentInjector;if(!i&&c.ngModule==null){let g=(s?l:this.parentInjector).get(Pe,null);g&&(i=g)}let u=ke(c.componentType??{}),f=ln(this._lContainer,u?.id??null),p=f?.firstChild??null,d=c.create(l,o,p,i);return this.insertImpl(d.hostView,a,Tt(this._hostTNode,f)),d}insert(t,n){return this.insertImpl(t,n,!0)}insertImpl(t,n,r){let o=t._lView;if(dy(o)){let a=this.indexOf(t);if(a!==-1)this.detach(a);else{let c=o[U],l=new Fp(c,c[ie],c[U]);l.detach(l.indexOf(t))}}let i=this._adjustIndex(n),s=this._lContainer;return In(s,o,i,r),t.attachToViewContainerRef(),wd(gs(s),i,t),t}move(t,n){return this.insert(t,n)}indexOf(t){let n=ku(this._lContainer);return n!==null?n.indexOf(t):-1}remove(t){let n=this._adjustIndex(t,-1),r=qn(this._lContainer,n);r&&(po(gs(this._lContainer),n),ci(r[w],r))}detach(t){let n=this._adjustIndex(t,-1),r=qn(this._lContainer,n);return r&&po(gs(this._lContainer),n)!=null?new Wn(r):null}_adjustIndex(t,n=0){return t??this.length+n}};function ku(e){return e[mo]}function gs(e){return e[mo]||(e[mo]=[])}function Vp(e,t){let n,r=t[e.index];return Se(r)?n=r:(n=Tp(r,t,null,e),t[e.index]=n,bc(t,n)),jp(n,t,e,r),new Fp(n,e,t)}function Aw(e,t){let n=e[A],r=n.createComment(""),o=De(t,e),i=n.parentNode(o);return To(n,i,r,n.nextSibling(o),!1),r}var jp=Hp,Pc=()=>!1;function kw(e,t,n){return Pc(e,t,n)}function Hp(e,t,n,r){if(e[je])return;let o;n.type&8?o=we(r):o=Aw(t,n),e[je]=o}function Pw(e,t,n){if(e[je]&&e[Ve])return!0;let r=n[de],o=t.index-k;if(!r||lv(t)||tr(r,o))return!1;let s=Gs(r,o),a=r.data[uc]?.[o],[c,l]=cw(s,a);return e[je]=c,e[Ve]=l,!0}function Lw(e,t,n,r){Pc(e,n,t)||Hp(e,t,n,r)}function Fw(){jp=Lw,Pc=Pw}var ua=class e{queryList;matches=null;constructor(t){this.queryList=t}clone(){return new e(this.queryList)}setDirty(){this.queryList.setDirty()}},da=class e{queries;constructor(t=[]){this.queries=t}createEmbeddedView(t){let n=t.queries;if(n!==null){let r=t.contentQueries!==null?t.contentQueries[0]:n.length,o=[];for(let i=0;i<r;i++){let s=n.getByIndex(i),a=this.queries[s.indexInDeclarationView];o.push(a.clone())}return new e(o)}return null}insertView(t){this.dirtyQueriesWithMatches(t)}detachView(t){this.dirtyQueriesWithMatches(t)}finishViewCreation(t){this.dirtyQueriesWithMatches(t)}dirtyQueriesWithMatches(t){for(let n=0;n<this.queries.length;n++)Fc(t,n).matches!==null&&this.queries[n].setDirty()}},Ro=class{flags;read;predicate;constructor(t,n,r=null){this.flags=n,this.read=r,typeof t=="string"?this.predicate=$w(t):this.predicate=t}},fa=class e{queries;constructor(t=[]){this.queries=t}elementStart(t,n){for(let r=0;r<this.queries.length;r++)this.queries[r].elementStart(t,n)}elementEnd(t){for(let n=0;n<this.queries.length;n++)this.queries[n].elementEnd(t)}embeddedTView(t){let n=null;for(let r=0;r<this.length;r++){let o=n!==null?n.length:0,i=this.getByIndex(r).embeddedTView(t,o);i&&(i.indexInDeclarationView=r,n!==null?n.push(i):n=[i])}return n!==null?new e(n):null}template(t,n){for(let r=0;r<this.queries.length;r++)this.queries[r].template(t,n)}getByIndex(t){return this.queries[t]}get length(){return this.queries.length}track(t){this.queries.push(t)}},pa=class e{metadata;matches=null;indexInDeclarationView=-1;crossesNgTemplate=!1;_declarationNodeIndex;_appliesToNextNode=!0;constructor(t,n=-1){this.metadata=t,this._declarationNodeIndex=n}elementStart(t,n){this.isApplyingToNode(n)&&this.matchTNode(t,n)}elementEnd(t){this._declarationNodeIndex===t.index&&(this._appliesToNextNode=!1)}template(t,n){this.elementStart(t,n)}embeddedTView(t,n){return this.isApplyingToNode(t)?(this.crossesNgTemplate=!0,this.addMatch(-t.index,n),new e(this.metadata)):null}isApplyingToNode(t){if(this._appliesToNextNode&&(this.metadata.flags&1)!==1){let n=this._declarationNodeIndex,r=t.parent;for(;r!==null&&r.type&8&&r.index!==n;)r=r.parent;return n===(r!==null?r.index:-1)}return this._appliesToNextNode}matchTNode(t,n){let r=this.metadata.predicate;if(Array.isArray(r))for(let o=0;o<r.length;o++){let i=r[o];this.matchTNodeWithReadOption(t,n,Vw(n,i)),this.matchTNodeWithReadOption(t,n,oo(n,t,i,!1,!1))}else r===xo?n.type&4&&this.matchTNodeWithReadOption(t,n,-1):this.matchTNodeWithReadOption(t,n,oo(n,t,r,!1,!1))}matchTNodeWithReadOption(t,n,r){if(r!==null){let o=this.metadata.read;if(o!==null)if(o===Ko||o===kc||o===xo&&n.type&4)this.addMatch(n.index,-2);else{let i=oo(n,t,o,!1,!1);i!==null&&this.addMatch(n.index,i)}else this.addMatch(n.index,r)}}addMatch(t,n){this.matches===null?this.matches=[t,n]:this.matches.push(t,n)}};function Vw(e,t){let n=e.localNames;if(n!==null){for(let r=0;r<n.length;r+=2)if(n[r]===t)return n[r+1]}return null}function jw(e,t){return e.type&11?mn(e,t):e.type&4?fi(e,t):null}function Hw(e,t,n,r){return n===-1?jw(t,e):n===-2?Bw(e,t,r):Bn(e,e[w],n,t)}function Bw(e,t,n){if(n===Ko)return mn(t,e);if(n===xo)return fi(t,e);if(n===kc)return Vp(t,e)}function Bp(e,t,n,r){let o=t[Fe].queries[r];if(o.matches===null){let i=e.data,s=n.matches,a=[];for(let c=0;s!==null&&c<s.length;c+=2){let l=s[c];if(l<0)a.push(null);else{let u=i[l];a.push(Hw(t,u,s[c+1],n.metadata.read))}}o.matches=a}return o.matches}function ha(e,t,n,r){let o=e.queries.getByIndex(n),i=o.matches;if(i!==null){let s=Bp(e,t,o,n);for(let a=0;a<i.length;a+=2){let c=i[a];if(c>0)r.push(s[a/2]);else{let l=i[a+1],u=t[-c];for(let f=W;f<u.length;f++){let p=u[f];p[wt]===p[U]&&ha(p[w],p,l,r)}if(u[an]!==null){let f=u[an];for(let p=0;p<f.length;p++){let d=f[p];ha(d[w],d,l,r)}}}}}return r}function Lc(e,t){return e[Fe].queries[t].queryList}function $p(e,t,n){let r=new $s((n&4)===4);return hy(e,t,r,r.destroy),(t[Fe]??=new da).queries.push(new ua(r))-1}function Up(e,t,n){let r=F();return r.firstCreatePass&&(Wp(r,new Ro(e,t,n),-1),(t&2)===2&&(r.staticViewQueries=!0)),$p(r,m(),t)}function qp(e,t,n,r){let o=F();if(o.firstCreatePass){let i=G();Wp(o,new Ro(t,n,r),i.index),Uw(o,e),(n&2)===2&&(o.staticContentQueries=!0)}return $p(o,m(),n)}function $w(e){return e.split(",").map(t=>t.trim())}function Wp(e,t,n){e.queries===null&&(e.queries=new fa),e.queries.track(new pa(t,n))}function Uw(e,t){let n=e.contentQueries||(e.contentQueries=[]),r=n.length?n[n.length-1]:-1;t!==r&&n.push(e.queries.length-1,t)}function Fc(e,t){return e.queries.getByIndex(t)}function zp(e,t){let n=e[w],r=Fc(n,t);return r.crossesNgTemplate?ha(n,e,t,[]):Bp(n,e,r,t)}function Gp(e,t,n){let r,o=dr(()=>{r._dirtyCounter();let i=qw(r,e);if(t&&i===void 0)throw new T(-951,!1);return i});return r=o[z],r._dirtyCounter=iv(0),r._flatValue=void 0,o}function Qp(e){return Gp(!0,!1,e)}function Zp(e){return Gp(!0,!0,e)}function Yp(e,t){let n=e[z];n._lView=m(),n._queryIndex=t,n._queryList=Lc(n._lView,t),n._queryList.onDirty(()=>n._dirtyCounter.update(r=>r+1))}function qw(e,t){let n=e._lView,r=e._queryIndex;if(n===void 0||r===void 0||n[b]&4)return t?void 0:Y;let o=Lc(n,r),i=zp(n,r);return o.reset(i,vf),t?o.first:o._changesDetected||e._flatValue===void 0?e._flatValue=o.toArray():e._flatValue}function Pu(e,t){return Qp(t)}function Ww(e,t){return Zp(t)}var HA=(Pu.required=Ww,Pu);function Lu(e,t){return Qp(t)}function zw(e,t){return Zp(t)}var BA=(Lu.required=zw,Lu);var zn=class{},Gw=class{};var ga=class extends zn{ngModuleType;_parent;_bootstrapComponents=[];_r3Injector;instance;destroyCbs=[];componentFactoryResolver=new Oo(this);constructor(t,n,r,o=!0){super(),this.ngModuleType=t,this._parent=n;let i=Md(t);this._bootstrapComponents=ep(i.bootstrap),this._r3Injector=ff(t,n,[{provide:zn,useValue:this},{provide:mi,useValue:this.componentFactoryResolver},...r],ne(t),new Set(["environment"])),o&&this.resolveInjectorInitializers()}resolveInjectorInitializers(){this._r3Injector.resolveInjectorInitializers(),this.instance=this._r3Injector.get(this.ngModuleType)}get injector(){return this._r3Injector}destroy(){let t=this._r3Injector;!t.destroyed&&t.destroy(),this.destroyCbs.forEach(n=>n()),this.destroyCbs=null}onDestroy(t){this.destroyCbs.push(t)}},ma=class extends Gw{moduleType;constructor(t){super(),this.moduleType=t}create(t){return new ga(this.moduleType,t,[])}};var Ao=class extends zn{injector;componentFactoryResolver=new Oo(this);instance=null;constructor(t){super();let n=new Vn([...t.providers,{provide:zn,useValue:this},{provide:mi,useValue:this.componentFactoryResolver}],t.parent||Uo(),t.debugName,new Set(["environment"]));this.injector=n,t.runEnvironmentInitializers&&n.resolveInjectorInitializers()}destroy(){this.injector.destroy()}onDestroy(t){this.injector.onDestroy(t)}};function Kp(e,t,n=null){return new Ao({providers:e,parent:t,debugName:n,runEnvironmentInitializers:!0}).injector}var Qw=(()=>{class e{_injector;cachedInjectors=new Map;constructor(n){this._injector=n}getOrCreateStandaloneInjector(n){if(!n.standalone)return null;if(!this.cachedInjectors.has(n)){let r=Wa(!1,n.type),o=r.length>0?Kp([r],this._injector,`Standalone[${n.type.name}]`):null;this.cachedInjectors.set(n,o)}return this.cachedInjectors.get(n)}ngOnDestroy(){try{for(let n of this.cachedInjectors.values())n!==null&&n.destroy()}finally{this.cachedInjectors.clear()}}static \u0275prov=j({token:e,providedIn:"environment",factory:()=>new e(Ke(Pe))})}return e})();function qA(e){return Zn(()=>{let t=Jp(e),n=X(J({},t),{decls:e.decls,vars:e.vars,template:e.template,consts:e.consts||null,ngContentSelectors:e.ngContentSelectors,onPush:e.changeDetection===bf.OnPush,directiveDefs:null,pipeDefs:null,dependencies:t.standalone&&e.dependencies||null,getStandaloneInjector:t.standalone?o=>o.get(Qw).getOrCreateStandaloneInjector(n):null,getExternalStyles:null,signals:e.signals??!1,data:e.data||{},encapsulation:e.encapsulation||Un.Emulated,styles:e.styles||Y,_:null,schemas:e.schemas||null,tView:null,id:""});t.standalone&&st("NgStandalone"),Xp(n);let r=e.dependencies;return n.directiveDefs=Fu(r,!1),n.pipeDefs=Fu(r,!0),n.id=Xw(n),n})}function Zw(e){return ke(e)||Ua(e)}function Yw(e){return e!==null}function WA(e){return Zn(()=>({type:e.type,bootstrap:e.bootstrap||Y,declarations:e.declarations||Y,imports:e.imports||Y,exports:e.exports||Y,transitiveCompileScopes:null,schemas:e.schemas||null,id:e.id||null}))}function Kw(e,t){if(e==null)return _e;let n={};for(let r in e)if(e.hasOwnProperty(r)){let o=e[r],i,s,a,c;Array.isArray(o)?(a=o[0],i=o[1],s=o[2]??i,c=o[3]||null):(i=o,s=o,a=si.None,c=null),n[i]=[r,a,c],t[i]=s}return n}function Jw(e){if(e==null)return _e;let t={};for(let n in e)e.hasOwnProperty(n)&&(t[e[n]]=n);return t}function zA(e){return Zn(()=>{let t=Jp(e);return Xp(t),t})}function GA(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 Jp(e){let t={};return{type:e.type,providersResolver:null,factory:null,hostBindings:e.hostBindings||null,hostVars:e.hostVars||0,hostAttrs:e.hostAttrs||null,contentQueries:e.contentQueries||null,declaredInputs:t,inputConfig:e.inputs||_e,exportAs:e.exportAs||null,standalone:e.standalone??!0,signals:e.signals===!0,selectors:e.selectors||Y,viewQuery:e.viewQuery||null,features:e.features||null,setInput:null,findHostDirectiveDefs:null,hostDirectives:null,inputs:Kw(e.inputs,t),outputs:Jw(e.outputs),debugInfo:null}}function Xp(e){e.features?.forEach(t=>t(e))}function Fu(e,t){if(!e)return null;let n=t?Cd:Zw;return()=>(typeof e=="function"?e():e).map(r=>n(r)).filter(Yw)}function Xw(e){let t=0,n=typeof e.consts=="function"?"":e.consts,r=[e.selectors,e.ngContentSelectors,e.hostVars,e.hostAttrs,n,e.vars,e.decls,e.encapsulation,e.standalone,e.signals,e.exportAs,JSON.stringify(e.inputs),JSON.stringify(e.outputs),Object.getOwnPropertyNames(e.type.prototype),!!e.contentQueries,!!e.viewQuery];for(let i of r.join("|"))t=Math.imul(31,t)+i.charCodeAt(0)<<0;return t+=2147483648,"c"+t}function eD(e){return Object.getPrototypeOf(e.prototype).constructor}function tD(e){let t=eD(e.type),n=!0,r=[e];for(;t;){let o;if(Ee(e))o=t.\u0275cmp||t.\u0275dir;else{if(t.\u0275cmp)throw new T(903,!1);o=t.\u0275dir}if(o){if(n){r.push(o);let s=e;s.inputs=ms(e.inputs),s.declaredInputs=ms(e.declaredInputs),s.outputs=ms(e.outputs);let a=o.hostBindings;a&&sD(e,a);let c=o.viewQuery,l=o.contentQueries;if(c&&oD(e,c),l&&iD(e,l),nD(e,o),Tm(e.outputs,o.outputs),Ee(o)&&o.data.animation){let u=e.data;u.animation=(u.animation||[]).concat(o.data.animation)}}let i=o.features;if(i)for(let s=0;s<i.length;s++){let a=i[s];a&&a.ngInherit&&a(e),a===tD&&(n=!1)}}t=Object.getPrototypeOf(t)}rD(r)}function nD(e,t){for(let n in t.inputs){if(!t.inputs.hasOwnProperty(n)||e.inputs.hasOwnProperty(n))continue;let r=t.inputs[n];r!==void 0&&(e.inputs[n]=r,e.declaredInputs[n]=t.declaredInputs[n])}}function rD(e){let t=0,n=null;for(let r=e.length-1;r>=0;r--){let o=e[r];o.hostVars=t+=o.hostVars,o.hostAttrs=cn(o.hostAttrs,n=cn(n,o.hostAttrs))}}function ms(e){return e===_e?{}:e===Y?[]:e}function oD(e,t){let n=e.viewQuery;n?e.viewQuery=(r,o)=>{t(r,o),n(r,o)}:e.viewQuery=t}function iD(e,t){let n=e.contentQueries;n?e.contentQueries=(r,o,i)=>{t(r,o,i),n(r,o,i)}:e.contentQueries=t}function sD(e,t){let n=e.hostBindings;n?e.hostBindings=(r,o)=>{t(r,o),n(r,o)}:e.hostBindings=t}function QA(e){let t=n=>{let r=Array.isArray(e);n.hostDirectives===null?(n.findHostDirectiveDefs=eh,n.hostDirectives=r?e.map(ya):[e]):r?n.hostDirectives.unshift(...e.map(ya)):n.hostDirectives.unshift(e)};return t.ngInherit=!0,t}function eh(e,t,n){if(e.hostDirectives!==null)for(let r of e.hostDirectives)if(typeof r=="function"){let o=r();for(let i of o)Vu(ya(i),t,n)}else Vu(r,t,n)}function Vu(e,t,n){let r=Ua(e.directive);aD(r.declaredInputs,e.inputs),eh(r,t,n),n.set(r,e),t.push(r)}function ya(e){return typeof e=="function"?{directive:q(e),inputs:_e,outputs:_e}:{directive:q(e.directive),inputs:ju(e.inputs),outputs:ju(e.outputs)}}function ju(e){if(e===void 0||e.length===0)return _e;let t={};for(let n=0;n<e.length;n+=2)t[e[n]]=e[n+1];return t}function aD(e,t){for(let n in t)if(t.hasOwnProperty(n)){let r=t[n],o=e[n];e[r]=o}}function th(e){return Vc(e)?Array.isArray(e)||!(e instanceof Map)&&Symbol.iterator in e:!1}function cD(e,t){if(Array.isArray(e))for(let n=0;n<e.length;n++)t(e[n]);else{let n=e[Symbol.iterator](),r;for(;!(r=n.next()).done;)t(r.value)}}function Vc(e){return e!==null&&(typeof e=="function"||typeof e=="object")}function ir(e,t,n){return e[t]=n}function lD(e,t){return e[t]}function oe(e,t,n){let r=e[t];return Object.is(r,n)?!1:(e[t]=n,!0)}function Gn(e,t,n,r){let o=oe(e,t,n);return oe(e,t+1,r)||o}function uD(e,t,n,r,o){let i=Gn(e,t,n,r);return oe(e,t+2,o)||i}function nh(e,t,n,r,o,i){let s=Gn(e,t,n,r);return Gn(e,t+2,o,i)||s}function dD(e,t,n,r,o,i,s,a,c){let l=t.consts,u=En(t,e,4,s||null,a||null);Xa()&&Ac(t,n,u,Je(l,c),Cc),u.mergedAttrs=cn(u.mergedAttrs,u.attrs),ic(t,u);let f=u.tView=wc(2,u,r,o,i,t.directiveRegistry,t.pipeRegistry,null,t.schemas,l,null);return t.queries!==null&&(t.queries.template(t,u),f.queries=t.queries.embeddedTView(u)),u}function ko(e,t,n,r,o,i,s,a,c,l){let u=n+k,f=t.firstCreatePass?dD(u,t,e,r,o,i,s,a,c):t.data[u];nt(f,!1);let p=rh(t,e,f,n);Yo()&&li(t,e,p,f),yn(p,e);let d=Tp(p,e,p,f);return e[u]=d,bc(e,d),kw(d,f,e),Wo(f)&&ai(t,e,f),c!=null&&Mc(e,f,l),f}function fD(e,t,n,r,o,i,s,a){let c=m(),l=F(),u=Je(l.consts,i);return ko(c,l,e,t,n,r,o,u,s,a),fD}var rh=oh;function oh(e,t,n,r){return it(!0),t[A].createComment("")}function pD(e,t,n,r){let o=t[de],i=!o||pn()||Ot(n)||tr(o,r);if(it(i),i)return oh(e,t);let s=o.data[Ev]?.[r]??null;s!==null&&n.tView!==null&&n.tView.ssrId===null&&(n.tView.ssrId=s);let a=pi(o,e,t,n);ri(o,r,a);let c=hc(o,r);return hi(c,a)}function hD(){rh=pD}var gD=(()=>{class e{cachedInjectors=new Map;getOrCreateInjector(n,r,o,i){if(!this.cachedInjectors.has(n)){let s=o.length>0?Kp(o,r,i):null;this.cachedInjectors.set(n,s)}return this.cachedInjectors.get(n)}ngOnDestroy(){try{for(let n of this.cachedInjectors.values())n!==null&&n.destroy()}finally{this.cachedInjectors.clear()}}static \u0275prov=j({token:e,providedIn:"environment",factory:()=>new e})}return e})();var mD=new N("");function ys(e,t,n){return e.get(gD).getOrCreateInjector(t,e,n,"")}function yD(e,t,n){if(e instanceof rn){let o=e.injector,i=e.parentInjector,s=ys(i,t,n);return new rn(o,s)}let r=e.get(Pe);if(r!==e){let o=ys(r,t,n);return new rn(e,o)}return ys(e,t,n)}function Jt(e,t,n,r=!1){let o=n[U],i=o[w];if(St(o))return;let s=er(o,t),a=s[ei],c=s[Fv];if(!(c!==null&&e<c)&&Hu(a,e)&&Hu(s[kv]??-1,e)){let l=ti(i,t),f=!r&&!0&&($v(l)!==null||vu(l,B.Loading)!==null||vu(l,B.Placeholder))?ED:ID;try{f(e,s,n,t,o)}catch(p){Tc(o,p)}}}function vD(e,t){let n=e[Ve]?.findIndex(o=>o.data[Mv]===t[ei])??-1;return{dehydratedView:n>-1?e[Ve][n]:null,dehydratedViewIx:n}}function ID(e,t,n,r,o){R(20);let i=Bv(e,o,r);if(i!==null){t[ei]=e;let s=o[w],a=i+k,c=Kn(s,a),l=0;Rc(n,l);let u;if(e===B.Complete){let h=ti(s,r),g=h.providers;g&&g.length>0&&(u=yD(o[xe],h,g))}let{dehydratedView:f,dehydratedViewIx:p}=vD(n,t),d=vn(o,c,null,{injector:u,dehydratedView:f});if(In(n,d,l,Tt(c,f)),di(d,2),p>-1&&n[Ve]?.splice(p,1),(e===B.Complete||e===B.Error)&&Array.isArray(t[nn])){for(let h of t[nn])h();t[nn]=null}}R(21)}function Hu(e,t){return e<t}function Bu(e,t,n){e.loadingPromise.then(()=>{e.loadingState===se.COMPLETE?Jt(B.Complete,t,n):e.loadingState===se.FAILED&&Jt(B.Error,t,n)})}var ED=null;var ZA=(()=>{class e{log(n){console.log(n)}warn(n){console.warn(n)}static \u0275fac=function(r){return new(r||e)};static \u0275prov=j({token:e,factory:e.\u0275fac,providedIn:"platform"})}return e})();var wD=new N("");var ih=(()=>{class e{static \u0275prov=j({token:e,providedIn:"root",factory:()=>new va})}return e})(),va=class{queuedEffectCount=0;queues=new Map;schedule(t){this.enqueue(t)}remove(t){let n=t.zone,r=this.queues.get(n);r.has(t)&&(r.delete(t),this.queuedEffectCount--)}enqueue(t){let n=t.zone;this.queues.has(n)||this.queues.set(n,new Set);let r=this.queues.get(n);r.has(t)||(this.queuedEffectCount++,r.add(t))}flush(){for(;this.queuedEffectCount>0;)for(let[t,n]of this.queues)t===null?this.flushQueue(n):t.run(()=>this.flushQueue(n))}flushQueue(t){for(let n of t)t.delete(n),this.queuedEffectCount--,n.run()}};function sh(e){return!!e&&typeof e.then=="function"}function DD(e){return!!e&&typeof e.subscribe=="function"}var ah=new N("");function YA(e){return qa([{provide:ah,multi:!0,useValue:e}])}var ch=(()=>{class e{resolve;reject;initialized=!1;done=!1;donePromise=new Promise((n,r)=>{this.resolve=n,this.reject=r});appInits=D(ah,{optional:!0})??[];injector=D(Xe);constructor(){}runInitializers(){if(this.initialized)return;let n=[];for(let o of this.appInits){let i=Sd(this.injector,o);if(sh(i))n.push(i);else if(DD(i)){let s=new Promise((a,c)=>{i.subscribe({complete:a,error:c})});n.push(s)}}let r=()=>{this.done=!0,this.resolve()};Promise.all(n).then(()=>{r()}).catch(o=>{this.reject(o)}),n.length===0&&r(),this.initialized=!0}static \u0275fac=function(r){return new(r||e)};static \u0275prov=j({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})(),jc=new N("");function bD(){bi(()=>{throw new T(600,!1)})}function MD(e){return e.isBoundToModule}var CD=10;var Be=(()=>{class e{_runningTick=!1;_destroyed=!1;_destroyListeners=[];_views=[];internalErrorHandler=D(tv);afterRenderManager=D(Pf);zonelessEnabled=D(ac);rootEffectScheduler=D(ih);dirtyFlags=0;tracingSnapshot=null;externalTestViews=new Set;afterTick=new ce;get allViews(){return[...this.externalTestViews.keys(),...this._views]}get destroyed(){return this._destroyed}componentTypes=[];components=[];isStable=D(gn).hasPendingTasks.pipe(le(n=>!n));constructor(){D(Xo,{optional:!0})}whenStable(){let n;return new Promise(r=>{n=this.isStable.subscribe({next:o=>{o&&r()}})}).finally(()=>{n.unsubscribe()})}_injector=D(Pe);_rendererFactory=null;get injector(){return this._injector}bootstrap(n,r){return this.bootstrapImpl(n,r)}bootstrapImpl(n,r,o=Xe.NULL){R(10);let i=n instanceof Ap;if(!this._injector.get(ch).done){let d="";throw new T(405,d)}let a;i?a=n:a=this._injector.get(mi).resolveComponentFactory(n),this.componentTypes.push(a.componentType);let c=MD(a)?void 0:this._injector.get(zn),l=r||a.selector,u=a.create(o,[],l,c),f=u.location.nativeElement,p=u.injector.get(wD,null);return p?.registerApplication(f),u.onDestroy(()=>{this.detachView(u.hostView),so(this.components,u),p?.unregisterApplication(f)}),this._loadComponent(u),R(11,u),u}tick(){this.zonelessEnabled||(this.dirtyFlags|=1),this._tick()}_tick(){R(12),this.tracingSnapshot!==null?this.tracingSnapshot.run(dc.CHANGE_DETECTION,this.tickImpl):this.tickImpl()}tickImpl=()=>{if(this._runningTick)throw new T(101,!1);let n=C(null);try{this._runningTick=!0,this.synchronize()}catch(r){this.internalErrorHandler(r)}finally{this._runningTick=!1,this.tracingSnapshot?.dispose(),this.tracingSnapshot=null,C(n),this.afterTick.next(),R(13)}};synchronize(){this._rendererFactory===null&&!this._injector.destroyed&&(this._rendererFactory=this._injector.get(So,null,{optional:!0}));let n=0;for(;this.dirtyFlags!==0&&n++<CD;)R(14),this.synchronizeOnce(),R(15)}synchronizeOnce(){if(this.dirtyFlags&16&&(this.dirtyFlags&=-17,this.rootEffectScheduler.flush()),this.dirtyFlags&7){let n=!!(this.dirtyFlags&1);this.dirtyFlags&=-8,this.dirtyFlags|=8;for(let{_lView:r,notifyErrorHandler:o}of this.allViews)TD(r,o,n,this.zonelessEnabled);if(this.dirtyFlags&=-5,this.syncDirtyFlagsWithViews(),this.dirtyFlags&23)return}else this._rendererFactory?.begin?.(),this._rendererFactory?.end?.();this.dirtyFlags&8&&(this.dirtyFlags&=-9,this.afterRenderManager.execute()),this.syncDirtyFlagsWithViews()}syncDirtyFlagsWithViews(){if(this.allViews.some(({_lView:n})=>Go(n))){this.dirtyFlags|=2;return}else this.dirtyFlags&=-8}attachView(n){let r=n;this._views.push(r),r.attachToAppRef(this)}detachView(n){let r=n;so(this._views,r),r.detachFromAppRef()}_loadComponent(n){this.attachView(n.hostView),this.tick(),this.components.push(n),this._injector.get(jc,[]).forEach(o=>o(n))}ngOnDestroy(){if(!this._destroyed)try{this._destroyListeners.forEach(n=>n()),this._views.slice().forEach(n=>n.destroy())}finally{this._destroyed=!0,this._views=[],this._destroyListeners=[]}}onDestroy(n){return this._destroyListeners.push(n),()=>so(this._destroyListeners,n)}destroy(){if(this._destroyed)throw new T(406,!1);let n=this._injector;n.destroy&&!n.destroyed&&n.destroy()}get viewCount(){return this._views.length}static \u0275fac=function(r){return new(r||e)};static \u0275prov=j({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();function so(e,t){let n=e.indexOf(t);n>-1&&e.splice(n,1)}function TD(e,t,n,r){if(!n&&!Go(e))return;Dp(e,t,n&&!r?0:1)}function _D(e,t,n){let r=t[xe],o=t[w];if(e.loadingState!==se.NOT_STARTED)return e.loadingPromise??Promise.resolve();let i=er(t,n),s=Uv(o,e);e.loadingState=se.IN_PROGRESS,io(1,i);let a=e.dependencyResolverFn,c=r.get(Qy).add();return a?(e.loadingPromise=Promise.allSettled(a()).then(l=>{let u=!1,f=[],p=[];for(let d of l)if(d.status==="fulfilled"){let h=d.value,g=ke(h)||Ua(h);if(g)f.push(g);else{let O=Cd(h);O&&p.push(O)}}else{u=!0;break}if(u){if(e.loadingState=se.FAILED,e.errorTmplIndex===null){let d="",h=new T(-750,!1);Tc(t,h)}}else{e.loadingState=se.COMPLETE;let d=s.tView;if(f.length>0){d.directiveRegistry=Iu(d.directiveRegistry,f);let h=f.map(O=>O.type),g=Wa(!1,...h);e.providers=g}p.length>0&&(d.pipeRegistry=Iu(d.pipeRegistry,p))}}),e.loadingPromise.finally(()=>{e.loadingPromise=null,c()})):(e.loadingPromise=Promise.resolve().then(()=>{e.loadingPromise=null,e.loadingState=se.COMPLETE,c()}),e.loadingPromise)}function xD(e,t){return t[xe].get(mD,null,{optional:!0})?.behavior!==Vf.Manual}function ND(e,t,n){let r=t[w],o=t[n.index];if(!xD(e,t))return;let i=er(t,n),s=ti(r,n);switch(jv(i),s.loadingState){case se.NOT_STARTED:Jt(B.Loading,n,o),_D(s,t,n),s.loadingState===se.IN_PROGRESS&&Bu(s,n,o);break;case se.IN_PROGRESS:Jt(B.Loading,n,o),Bu(s,n,o);break;case se.COMPLETE:Jt(B.Complete,n,o);break;case se.FAILED:Jt(B.Error,n,o);break;default:}}function SD(e,t,n){return Rt(this,null,function*(){let r=e.get(pc);if(r.hydrating.has(t))return;let{parentBlockPromise:i,hydrationQueue:s}=lI(t,e);if(s.length===0)return;i!==null&&s.shift(),AD(r,s),i!==null&&(yield i);let a=s[0];r.has(a)?yield $u(e,s,n):r.awaitParentBlock(a,()=>Rt(null,null,function*(){return yield $u(e,s,n)}))})}function $u(e,t,n){return Rt(this,null,function*(){let r=e.get(pc),o=r.hydrating,i=e.get(gn),s=i.add();for(let c=0;c<t.length;c++){let l=t[c],u=r.get(l);if(u!=null){if(yield PD(u),yield kD(e),OD(u)){sw(u),Uu(t.slice(c),r);break}o.get(l).resolve()}else{RD(c,t,r),Uu(t.slice(c),r);break}}let a=t[t.length-1];yield o.get(a)?.promise,i.remove(s),n&&n(t),aw(r.get(a),t,r,e.get(Be))})}function OD(e){return er(e.lView,e.tNode)[ei]===B.Error}function RD(e,t,n){let r=e-1,o=r>-1?n.get(t[r]):null;o&&gi(o.lContainer)}function Uu(e,t){let n=t.hydrating;for(let r in e)n.get(r)?.reject();t.cleanup(e)}function AD(e,t){for(let n of t)e.hydrating.set(n,Promise.withResolvers())}function kD(e){return new Promise(t=>Lf(t,{injector:e}))}function PD(e){return Rt(this,null,function*(){let{tNode:t,lView:n}=e,r=er(n,t);return new Promise(o=>{LD(r,o),ND(2,n,t)})})}function LD(e,t){Array.isArray(e[nn])||(e[nn]=[]),e[nn].push(t)}function FD(e,t,n,r){let o=m(),i=ot();if(oe(o,i,t)){let s=F(),a=hn();dE(a,o,e,t,n,r)}return FD}function Hc(e,t,n,r){return oe(e,ot(),n)?t+ye(n)+r:Q}function VD(e,t,n,r,o,i){let s=Wd(),a=Gn(e,s,n,o);return Qo(2),a?t+ye(n)+r+ye(o)+i:Q}function jD(e,t,n,r,o,i,s,a,c,l){let u=Wd(),f=nh(e,u,n,o,s,c);return Qo(4),f?t+ye(n)+r+ye(o)+i+ye(s)+a+ye(c)+l:Q}function Xr(e,t){return e<<17|t<<2}function xt(e){return e>>17&32767}function HD(e){return(e&2)==2}function BD(e,t){return e&131071|t<<17}function Ia(e){return e|2}function un(e){return(e&131068)>>2}function vs(e,t){return e&-131069|t<<2}function $D(e){return(e&1)===1}function Ea(e){return e|1}function UD(e,t,n,r,o,i){let s=i?t.classBindings:t.styleBindings,a=xt(s),c=un(s);e[r]=n;let l=!1,u;if(Array.isArray(n)){let f=n;u=f[1],(u===null||Yn(f,u)>0)&&(l=!0)}else u=n;if(o)if(c!==0){let p=xt(e[a+1]);e[r+1]=Xr(p,a),p!==0&&(e[p+1]=vs(e[p+1],r)),e[a+1]=BD(e[a+1],r)}else e[r+1]=Xr(a,0),a!==0&&(e[a+1]=vs(e[a+1],r)),a=r;else e[r+1]=Xr(c,0),a===0?a=r:e[c+1]=vs(e[c+1],r),c=r;l&&(e[r+1]=Ia(e[r+1])),qu(e,u,r,!0),qu(e,u,r,!1),qD(t,u,e,r,i),s=Xr(a,c),i?t.classBindings=s:t.styleBindings=s}function qD(e,t,n,r,o){let i=o?e.residualClasses:e.residualStyles;i!=null&&typeof t=="string"&&Yn(i,t)>=0&&(n[r+1]=Ea(n[r+1]))}function qu(e,t,n,r){let o=e[n+1],i=t===null,s=r?xt(o):un(o),a=!1;for(;s!==0&&(a===!1||i);){let c=e[s],l=e[s+1];WD(c,t)&&(a=!0,e[s+1]=r?Ea(l):Ia(l)),s=r?xt(l):un(l)}a&&(e[n+1]=r?Ia(o):Ea(o))}function WD(e,t){return e===null||t==null||(Array.isArray(e)?e[1]:e)===t?!0:Array.isArray(e)&&typeof t=="string"?Yn(e,t)>=0:!1}var me={textEnd:0,key:0,keyEnd:0,value:0,valueEnd:0};function zD(e){return e.substring(me.key,me.keyEnd)}function GD(e){return QD(e),lh(e,uh(e,0,me.textEnd))}function lh(e,t){let n=me.textEnd;return n===t?-1:(t=me.keyEnd=ZD(e,me.key=t,n),uh(e,t,n))}function QD(e){me.key=0,me.keyEnd=0,me.value=0,me.valueEnd=0,me.textEnd=e.length}function uh(e,t,n){for(;t<n&&e.charCodeAt(t)<=32;)t++;return t}function ZD(e,t,n){for(;t<n&&e.charCodeAt(t)>32;)t++;return t}function YD(e,t,n){let r=m(),o=ot();if(oe(r,o,t)){let i=F(),s=hn();or(i,s,r,e,t,r[A],n,!1)}return YD}function wa(e,t,n,r,o){_c(t,e,n,o?"class":"style",r)}function KD(e,t,n){return fh(e,t,n,!1),KD}function JD(e,t){return fh(e,t,null,!0),JD}function KA(e){ph(ob,dh,e,!0)}function dh(e,t){for(let n=GD(t);n>=0;n=lh(t,n))$o(e,zD(t),!0)}function fh(e,t,n,r){let o=m(),i=F(),s=Qo(2);if(i.firstUpdatePass&&gh(i,e,s,r),t!==Q&&oe(o,s,t)){let a=i.data[Oe()];mh(i,a,o,o[A],e,o[s+1]=sb(t,n),r,s)}}function ph(e,t,n,r){let o=F(),i=Qo(2);o.firstUpdatePass&&gh(o,null,i,r);let s=m();if(n!==Q&&oe(s,i,n)){let a=o.data[Oe()];if(yh(a,r)&&!hh(o,i)){let c=r?a.classesWithoutHost:a.stylesWithoutHost;c!==null&&(n=Ms(c,n||"")),wa(o,a,s,n,r)}else ib(o,a,s,s[A],s[i+1],s[i+1]=rb(e,t,n),r,i)}}function hh(e,t){return t>=e.expandoStartIndex}function gh(e,t,n,r){let o=e.data;if(o[n+1]===null){let i=o[Oe()],s=hh(e,n);yh(i,r)&&t===null&&!s&&(t=!1),t=XD(o,i,t,r),UD(o,i,t,n,s,r)}}function XD(e,t,n,r){let o=zd(e),i=r?t.residualClasses:t.residualStyles;if(o===null)(r?t.classBindings:t.styleBindings)===0&&(n=Is(null,e,t,n,r),n=Qn(n,t.attrs,r),i=null);else{let s=t.directiveStylingLast;if(s===-1||e[s]!==o)if(n=Is(o,e,t,n,r),i===null){let c=eb(e,t,r);c!==void 0&&Array.isArray(c)&&(c=Is(null,e,t,c[1],r),c=Qn(c,t.attrs,r),tb(e,t,r,c))}else i=nb(e,t,r)}return i!==void 0&&(r?t.residualClasses=i:t.residualStyles=i),n}function eb(e,t,n){let r=n?t.classBindings:t.styleBindings;if(un(r)!==0)return e[xt(r)]}function tb(e,t,n,r){let o=n?t.classBindings:t.styleBindings;e[xt(o)]=r}function nb(e,t,n){let r,o=t.directiveEnd;for(let i=1+t.directiveStylingLast;i<o;i++){let s=e[i].hostAttrs;r=Qn(r,s,n)}return Qn(r,t.attrs,n)}function Is(e,t,n,r,o){let i=null,s=n.directiveEnd,a=n.directiveStylingLast;for(a===-1?a=n.directiveStart:a++;a<s&&(i=t[a],r=Qn(r,i.hostAttrs,o),i!==e);)a++;return e!==null&&(n.directiveStylingLast=a),r}function Qn(e,t,n){let r=n?1:2,o=-1;if(t!==null)for(let i=0;i<t.length;i++){let s=t[i];typeof s=="number"?o=s:o===r&&(Array.isArray(e)||(e=e===void 0?[]:["",e]),$o(e,s,n?!0:t[++i]))}return e===void 0?null:e}function rb(e,t,n){if(n==null||n==="")return Y;let r=[],o=nr(n);if(Array.isArray(o))for(let i=0;i<o.length;i++)e(r,o[i],!0);else if(typeof o=="object")for(let i in o)o.hasOwnProperty(i)&&e(r,i,o[i]);else typeof o=="string"&&t(r,o);return r}function ob(e,t,n){let r=String(t);r!==""&&!r.includes(" ")&&$o(e,r,n)}function ib(e,t,n,r,o,i,s,a){o===Q&&(o=Y);let c=0,l=0,u=0<o.length?o[0]:null,f=0<i.length?i[0]:null;for(;u!==null||f!==null;){let p=c<o.length?o[c+1]:void 0,d=l<i.length?i[l+1]:void 0,h=null,g;u===f?(c+=2,l+=2,p!==d&&(h=f,g=d)):f===null||u!==null&&u<f?(c+=2,h=u):(l+=2,h=f,g=d),h!==null&&mh(e,t,n,r,h,g,s,a),u=c<o.length?o[c]:null,f=l<i.length?i[l]:null}}function mh(e,t,n,r,o,i,s,a){if(!(t.type&3))return;let c=e.data,l=c[a+1],u=$D(l)?Wu(c,t,n,o,un(l),s):void 0;if(!Po(u)){Po(i)||HD(l)&&(i=Wu(c,null,n,o,a,s));let f=Vd(Oe(),n);NE(r,s,f,o,i)}}function Wu(e,t,n,r,o,i){let s=t===null,a;for(;o>0;){let c=e[o],l=Array.isArray(c),u=l?c[1]:c,f=u===null,p=n[o+1];p===Q&&(p=f?Y:void 0);let d=f?is(p,r):u===r?p:void 0;if(l&&!Po(d)&&(d=is(c,r)),Po(d)&&(a=d,s))return a;let h=e[o+1];o=s?xt(h):un(h)}if(t!==null){let c=i?t.residualClasses:t.residualStyles;c!=null&&(a=is(c,r))}return a}function Po(e){return e!==void 0}function sb(e,t){return e==null||e===""||(typeof t=="string"?e=e+t:typeof e=="object"&&(e=ne(nr(e)))),e}function yh(e,t){return(e.flags&(t?8:16))!==0}function JA(e,t,n){let r=m(),o=Hc(r,e,t,n);ph($o,dh,o,!0)}var Da=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 Es(e,t,n,r,o){return e===n&&Object.is(t,r)?1:Object.is(o(e,t),o(n,r))?-1:0}function ab(e,t,n){let r,o,i=0,s=e.length-1,a=void 0;if(Array.isArray(t)){let c=t.length-1;for(;i<=s&&i<=c;){let l=e.at(i),u=t[i],f=Es(i,l,i,u,n);if(f!==0){f<0&&e.updateValue(i,u),i++;continue}let p=e.at(s),d=t[c],h=Es(s,p,c,d,n);if(h!==0){h<0&&e.updateValue(s,d),s--,c--;continue}let g=n(i,l),O=n(s,p),S=n(i,u);if(Object.is(S,O)){let be=n(c,d);Object.is(be,g)?(e.swap(i,s),e.updateValue(s,d),c--,s--):e.move(s,i),e.updateValue(i,u),i++;continue}if(r??=new Lo,o??=Gu(e,i,s,n),ba(e,r,i,S))e.updateValue(i,u),i++,s++;else if(o.has(S))r.set(g,e.detach(i)),s--;else{let be=e.create(i,t[i]);e.attach(i,be),i++,s++}}for(;i<=c;)zu(e,r,n,i,t[i]),i++}else if(t!=null){let c=t[Symbol.iterator](),l=c.next();for(;!l.done&&i<=s;){let u=e.at(i),f=l.value,p=Es(i,u,i,f,n);if(p!==0)p<0&&e.updateValue(i,f),i++,l=c.next();else{r??=new Lo,o??=Gu(e,i,s,n);let d=n(i,f);if(ba(e,r,i,d))e.updateValue(i,f),i++,s++,l=c.next();else if(!o.has(d))e.attach(i,e.create(i,f)),i++,s++,l=c.next();else{let h=n(i,u);r.set(h,e.detach(i)),s--}}}for(;!l.done;)zu(e,r,n,e.length,l.value),l=c.next()}for(;i<=s;)e.destroy(e.detach(s--));r?.forEach(c=>{e.destroy(c)})}function ba(e,t,n,r){return t!==void 0&&t.has(r)?(e.attach(n,t.get(r)),t.delete(r),!0):!1}function zu(e,t,n,r,o){if(ba(e,t,r,n(r,o)))e.updateValue(r,o);else{let i=e.create(r,o);e.attach(r,i)}}function Gu(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 Lo=class{kvMap=new Map;_vMap=void 0;has(t){return this.kvMap.has(t)}delete(t){if(!this.has(t))return!1;let n=this.kvMap.get(t);return this._vMap!==void 0&&this._vMap.has(n)?(this.kvMap.set(t,this._vMap.get(n)),this._vMap.delete(n)):this.kvMap.delete(t),!0}get(t){return this.kvMap.get(t)}set(t,n){if(this.kvMap.has(t)){let r=this.kvMap.get(t);this._vMap===void 0&&(this._vMap=new Map);let o=this._vMap;for(;o.has(r);)r=o.get(r);o.set(r,n)}else this.kvMap.set(t,n)}forEach(t){for(let[n,r]of this.kvMap)if(t(r,n),this._vMap!==void 0){let o=this._vMap;for(;o.has(r);)r=o.get(r),t(r,n)}}};function XA(e,t){st("NgControlFlow");let n=m(),r=ot(),o=n[r]!==Q?n[r]:-1,i=o!==-1?Fo(n,k+o):void 0,s=0;if(oe(n,r,e)){let a=C(null);try{if(i!==void 0&&Rc(i,s),e!==-1){let c=k+e,l=Fo(n,c),u=_a(n[w],c),f=ln(l,u.tView.ssrId),p=vn(n,u,t,{dehydratedView:f});In(l,p,s,Tt(u,f))}}finally{C(a)}}else if(i!==void 0){let a=_p(i,s);a!==void 0&&(a[$]=t)}}var Ma=class{lContainer;$implicit;$index;constructor(t,n,r){this.lContainer=t,this.$implicit=n,this.$index=r}get $count(){return this.lContainer.length-W}};function ek(e){return e}function tk(e,t){return t}var Ca=class{hasEmptyBlock;trackByFn;liveCollection;constructor(t,n,r){this.hasEmptyBlock=t,this.trackByFn=n,this.liveCollection=r}};function nk(e,t,n,r,o,i,s,a,c,l,u,f,p){st("NgControlFlow");let d=m(),h=F(),g=c!==void 0,O=m(),S=a?s.bind(O[K][$]):s,be=new Ca(g,S);O[k+e]=be,ko(d,h,e+1,t,n,r,o,Je(h.consts,i)),g&&ko(d,h,e+2,c,l,u,f,Je(h.consts,p))}var Ta=class extends Da{lContainer;hostLView;templateTNode;operationsCounter=void 0;needsIndexUpdate=!1;constructor(t,n,r){super(),this.lContainer=t,this.hostLView=n,this.templateTNode=r}get length(){return this.lContainer.length-W}at(t){return this.getLView(t)[$].$implicit}attach(t,n){let r=n[de];this.needsIndexUpdate||=t!==this.length,In(this.lContainer,n,t,Tt(this.templateTNode,r))}detach(t){return this.needsIndexUpdate||=t!==this.length-1,cb(this.lContainer,t)}create(t,n){let r=ln(this.lContainer,this.templateTNode.tView.ssrId),o=vn(this.hostLView,this.templateTNode,new Ma(this.lContainer,n,t),{dehydratedView:r});return this.operationsCounter?.recordCreate(),o}destroy(t){ci(t[w],t),this.operationsCounter?.recordDestroy()}updateValue(t,n){this.getLView(t)[$].$implicit=n}reset(){this.needsIndexUpdate=!1,this.operationsCounter?.reset()}updateIndexes(){if(this.needsIndexUpdate)for(let t=0;t<this.length;t++)this.getLView(t)[$].$index=t}getLView(t){return lb(this.lContainer,t)}};function rk(e){let t=C(null),n=Oe();try{let r=m(),o=r[w],i=r[n],s=n+1,a=Fo(r,s);if(i.liveCollection===void 0){let l=_a(o,s);i.liveCollection=new Ta(a,r,l)}else i.liveCollection.reset();let c=i.liveCollection;if(ab(c,e,i.trackByFn),c.updateIndexes(),i.hasEmptyBlock){let l=ot(),u=c.length===0;if(oe(r,l,u)){let f=n+2,p=Fo(r,f);if(u){let d=_a(o,f),h=ln(p,d.tView.ssrId),g=vn(r,d,void 0,{dehydratedView:h});In(p,g,0,Tt(d,h))}else Rc(p,0)}}}finally{C(t)}}function Fo(e,t){return e[t]}function cb(e,t){return qn(e,t)}function lb(e,t){return _p(e,t)}function _a(e,t){return Kn(e,t)}function vh(e,t,n,r){let o=m(),i=F(),s=k+e,a=o[A],c=i.firstCreatePass?Pp(s,i,o,t,Cc,Xa(),n,r):i.data[s],l=Eh(i,o,c,a,t,e);o[s]=l;let u=Wo(c);return nt(c,!0),ap(a,l,c),!Ot(c)&&Yo()&&li(i,o,l,c),(gy()===0||u)&&yn(l,o),my(),u&&(ai(i,o,c),gc(i,c,o)),r!==null&&Mc(o,c),vh}function Ih(){let e=G();ec()?tc():(e=e.parent,nt(e,!1));let t=e;vy(t)&&Ey(),yy();let n=F();return n.firstCreatePass&&Lp(n,t),t.classesWithoutHost!=null&&Ry(t)&&wa(n,t,m(),t.classesWithoutHost,!0),t.stylesWithoutHost!=null&&Ay(t)&&wa(n,t,m(),t.stylesWithoutHost,!1),Ih}function ub(e,t,n,r){return vh(e,t,n,r),Ih(),ub}var Eh=(e,t,n,r,o,i)=>(it(!0),Ic(r,o,Jd()));function db(e,t,n,r,o,i){let s=t[de],a=!s||pn()||Ot(n)||tr(s,i);if(it(a),a)return Ic(r,o,Jd());let c=pi(s,e,t,n);return Wf(s,i)&&ri(s,i,c.nextSibling),s&&(wf(n)||Df(c))&&Nt(n)&&(Iy(n),sp(c)),c}function fb(){Eh=db}function pb(e,t,n,r,o){let i=t.consts,s=Je(i,r),a=En(t,e,8,"ng-container",s);s!==null&&ca(a,s,!0);let c=Je(i,o);return Xa()&&Ac(t,n,a,c,Cc),a.mergedAttrs=cn(a.mergedAttrs,a.attrs),t.queries!==null&&t.queries.elementStart(t,a),a}function wh(e,t,n){let r=m(),o=F(),i=e+k,s=o.firstCreatePass?pb(i,o,r,t,n):o.data[i];nt(s,!0);let a=bh(o,r,s,e);return r[i]=a,Yo()&&li(o,r,a,s),yn(a,r),Wo(s)&&(ai(o,r,s),gc(o,s,r)),n!=null&&Mc(r,s),wh}function Dh(){let e=G(),t=F();return ec()?tc():(e=e.parent,nt(e,!1)),t.firstCreatePass&&(ic(t,e),Za(e)&&t.queries.elementEnd(e)),Dh}function hb(e,t,n){return wh(e,t,n),Dh(),hb}var bh=(e,t,n,r)=>(it(!0),op(t[A],""));function gb(e,t,n,r){let o,i=t[de],s=!i||pn()||tr(i,r)||Ot(n);if(it(s),s)return op(t[A],"");let a=pi(i,e,t,n),c=aI(i,r);return ri(i,r,a),o=hi(c,a),o}function mb(){bh=gb}function ok(){return m()}function yb(e,t,n){let r=m(),o=ot();if(oe(r,o,t)){let i=F(),s=hn();or(i,s,r,e,t,r[A],n,!0)}return yb}function vb(e,t,n){let r=m(),o=ot();if(oe(r,o,t)){let i=F(),s=hn(),a=zd(i.data),c=hE(a,s,r);or(i,s,r,e,t,c,n,!0)}return vb}var yt=void 0;function Ib(e){let t=Math.floor(Math.abs(e)),n=e.toString().replace(/^[^.]*\.?/,"").length;return t===1&&n===0?1:5}var Eb=["en",[["a","p"],["AM","PM"],yt],[["AM","PM"],yt,yt],[["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"]],yt,[["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"]],yt,[["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}",yt,"{1} 'at' {0}",yt],[".",",",";","%","+","-","E","\xD7","\u2030","\u221E","NaN",":"],["#,##0.###","#,##0%","\xA4#,##0.00","#E0"],"USD","$","US Dollar",{},"ltr",Ib],ws={};function wb(e){let t=Db(e),n=Qu(t);if(n)return n;let r=t.split("-")[0];if(n=Qu(r),n)return n;if(r==="en")return Eb;throw new T(701,!1)}function ik(e){return wb(e)[Mh.PluralCase]}function Qu(e){return e in ws||(ws[e]=Qe.ng&&Qe.ng.common&&Qe.ng.common.locales&&Qe.ng.common.locales[e]),ws[e]}var Mh=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}(Mh||{});function Db(e){return e.toLowerCase().replace(/_/g,"-")}var Vo="en-US";var bb=Vo;function Mb(e){typeof e=="string"&&(bb=e.toLowerCase().replace(/_/g,"-"))}function Zu(e,t,n){return function r(o){if(o===Function)return n;let i=Nt(e)?Ne(e.index,t):t;di(i,5);let s=t[$],a=Yu(t,s,n,o),c=r.__ngNextListenerFn__;for(;c;)a=Yu(t,s,c,o)&&a,c=c.__ngNextListenerFn__;return a}}function Yu(e,t,n,r){let o=C(null);try{return R(6,t,n),n(r)!==!1}catch(i){return Cb(e,i),!1}finally{R(7,t,n),C(o)}}function Cb(e,t){let n=e[xe],r=n?n.get(tt,null):null;r&&r.handleError(t)}function Ku(e,t,n,r,o,i){let s=t[n],a=t[w],l=a.data[n].outputs[r],u=s[l],f=a.firstCreatePass?Ja(a):null,p=Ka(t),d=u.subscribe(i),h=p.length;p.push(i,d),f&&f.push(o,e.index,h,-(h+1))}function Tb(e,t,n,r){let o=m(),i=F(),s=G();return Ch(i,o,o[A],s,e,t,r),Tb}function _b(e,t,n,r){let o=e.cleanup;if(o!=null)for(let i=0;i<o.length-1;i+=2){let s=o[i];if(s===n&&o[i+1]===r){let a=t[go],c=o[i+2];return a.length>c?a[c]:null}typeof s=="string"&&(i+=2)}return null}function Ch(e,t,n,r,o,i,s){let a=Wo(r),l=e.firstCreatePass?Ja(e):null,u=Ka(t),f=!0;if(r.type&3||s){let p=De(r,t),d=s?s(p):p,h=u.length,g=s?S=>s(we(S[r.index])):r.index,O=null;if(!s&&a&&(O=_b(e,t,o,r.index)),O!==null){let S=O.__ngLastListenerFn__||O;S.__ngNextListenerFn__=i,O.__ngLastListenerFn__=i,f=!1}else{i=Zu(r,t,i),Zv(t,d,o,i);let S=n.listen(d,o,i);u.push(i,S),l&&l.push(o,g,h,h+1)}}else i=Zu(r,t,i);if(f){let p=r.outputs?.[o],d=r.hostDirectiveOutputs?.[o];if(d&&d.length)for(let h=0;h<d.length;h+=2){let g=d[h],O=d[h+1];Ku(r,t,g,O,o,i)}if(p&&p.length)for(let h of p)Ku(r,t,h,o,o,i)}}function sk(e=1){return xy(e)}function xb(e,t){let n=null,r=UI(e);for(let o=0;o<t.length;o++){let i=t[o];if(i==="*"){n=o;continue}if(r===null?np(e,i,!0):zI(r,i))return o}return n}function ak(e){let t=m()[K][ie];if(!t.projection){let n=e?e.length:1,r=t.projection=Wm(n,null),o=r.slice(),i=t.child;for(;i!==null;){if(i.type!==128){let s=e?xb(i,e):0;s!==null&&(o[s]?o[s].projectionNext=i:r[s]=i,o[s]=i)}i=i.next}}}function ck(e,t=0,n,r,o,i){let s=m(),a=F(),c=r?e+1:null;c!==null&&ko(s,a,c,r,o,i,null,n);let l=En(a,k+e,16,null,n||null);l.projection===null&&(l.projection=t),tc();let f=!s[de]||pn();s[K][ie].projection[l.projection]===null&&c!==null?Nb(s,a,c):f&&!Ot(l)&&_E(a,s,l)}function Nb(e,t,n){let r=k+n,o=t.data[r],i=e[r],s=ln(i,o.tView.ssrId),a=vn(e,o,void 0,{dehydratedView:s});In(i,a,0,Tt(o,s))}function Sb(e,t,n){return Th(e,"",t,"",n),Sb}function Th(e,t,n,r,o){let i=m(),s=Hc(i,t,n,r);if(s!==Q){let a=F(),c=hn();or(a,c,i,e,s,i[A],o,!1)}return Th}function lk(e,t,n,r){qp(e,t,n,r)}function uk(e,t,n){Up(e,t,n)}function dk(e){let t=m(),n=F(),r=nc();Zo(r+1);let o=Fc(n,r);if(e.dirty&&uy(t)===((o.metadata.flags&2)===2)){if(o.matches===null)e.reset([]);else{let i=zp(t,r);e.reset(i,vf),e.notifyOnChanges()}return!0}return!1}function fk(){return Lc(m(),nc())}function pk(e,t,n,r,o){Yp(t,qp(e,n,r,o))}function hk(e,t,n,r){Yp(e,Up(t,n,r))}function gk(e=1){Zo(nc()+e)}function mk(e){let t=Dy();return zo(t,k+e)}function yk(e,t=""){let n=m(),r=F(),o=e+k,i=r.firstCreatePass?En(r,o,1,t,null):r.data[o],s=_h(r,n,i,t,e);n[o]=s,Yo()&&li(r,n,s,i),nt(i,!1)}var _h=(e,t,n,r,o)=>(it(!0),rp(t[A],r));function Ob(e,t,n,r,o){let i=t[de],s=!i||pn()||Ot(n)||tr(i,o);return it(s),s?rp(t[A],r):pi(i,e,t,n)}function Rb(){_h=Ob}function Ab(e){return xh("",e,""),Ab}function xh(e,t,n){let r=m(),o=Hc(r,e,t,n);return o!==Q&&Bc(r,Oe(),o),xh}function kb(e,t,n,r,o){let i=m(),s=VD(i,e,t,n,r,o);return s!==Q&&Bc(i,Oe(),s),kb}function Pb(e,t,n,r,o,i,s,a,c){let l=m(),u=jD(l,e,t,n,r,o,i,s,a,c);return u!==Q&&Bc(l,Oe(),u),Pb}function Bc(e,t,n){let r=Vd(t,e);YI(e[A],r,n)}function Lb(e,t,n){Ef(t)&&(t=t());let r=m(),o=ot();if(oe(r,o,t)){let i=F(),s=hn();or(i,s,r,e,t,r[A],n,!1)}return Lb}function vk(e,t){let n=Ef(e);return n&&e.set(t),n}function Fb(e,t){let n=m(),r=F(),o=G();return Ch(r,n,n[A],o,e,t),Fb}var Vb={};function jb(e){let t=F(),n=m(),r=e+k,o=En(t,r,128,null,null);return nt(o,!1),jd(t,n,r,Vb),jb}function Hb(e,t,n){let r=F();if(r.firstCreatePass){let o=Ee(e);xa(n,r.data,r.blueprint,o,!0),xa(t,r.data,r.blueprint,o,!1)}}function xa(e,t,n,r,o){if(e=q(e),Array.isArray(e))for(let i=0;i<e.length;i++)xa(e[i],t,n,r,o);else{let i=F(),s=m(),a=G(),c=sn(e)?e:q(e.provide),l=Nd(e),u=a.providerIndexes&1048575,f=a.directiveStart,p=a.providerIndexes>>20;if(sn(e)||!e.multi){let d=new Ct(l,o,yi),h=bs(c,t,o?u:u+p,f);h===-1?(Ls(wo(a,s),i,c),Ds(i,e,t.length),t.push(c),a.directiveStart++,a.directiveEnd++,o&&(a.providerIndexes+=1048576),n.push(d),s.push(d)):(n[h]=d,s[h]=d)}else{let d=bs(c,t,u+p,f),h=bs(c,t,u,u+p),g=d>=0&&n[d],O=h>=0&&n[h];if(o&&!O||!o&&!g){Ls(wo(a,s),i,c);let S=Ub(o?$b:Bb,n.length,o,r,l);!o&&O&&(n[h].providerFactory=S),Ds(i,e,t.length,0),t.push(c),a.directiveStart++,a.directiveEnd++,o&&(a.providerIndexes+=1048576),n.push(S),s.push(S)}else{let S=Nh(n[o?h:d],l,!o&&r);Ds(i,e,d>-1?d:h,S)}!o&&r&&O&&n[h].componentProviders++}}}function Ds(e,t,n,r){let o=sn(t),i=Jm(t);if(o||i){let c=(i?q(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 Nh(e,t,n){return n&&e.componentProviders++,e.multi.push(t)-1}function bs(e,t,n,r){for(let o=n;o<r;o++)if(t[o]===e)return o;return-1}function Bb(e,t,n,r,o){return Na(this.multi,[])}function $b(e,t,n,r,o){let i=this.multi,s;if(this.providerFactory){let a=this.providerFactory.componentProviders,c=Bn(r,r[w],this.providerFactory.index,o);s=c.slice(0,a),Na(i,s);for(let l=a;l<c.length;l++)s.push(c[l])}else s=[],Na(i,s);return s}function Na(e,t){for(let n=0;n<e.length;n++){let r=e[n];t.push(r())}return t}function Ub(e,t,n,r,o){let i=new Ct(e,n,yi);return i.multi=[],i.index=t,i.componentProviders=0,Nh(i,o,r&&!n),i}function Ik(e,t=[]){return n=>{n.providersResolver=(r,o)=>Hb(r,o?o(e):e,t)}}function Ek(e,t,n){let r=rt()+e,o=m();return o[r]===Q?ir(o,r,n?t.call(n):t()):lD(o,r)}function wk(e,t,n,r){return Sh(m(),rt(),e,t,n,r)}function Dk(e,t,n,r,o){return Oh(m(),rt(),e,t,n,r,o)}function bk(e,t,n,r,o,i){return Rh(m(),rt(),e,t,n,r,o,i)}function Mk(e,t,n,r,o,i,s){return qb(m(),rt(),e,t,n,r,o,i,s)}function vi(e,t){let n=e[t];return n===Q?void 0:n}function Sh(e,t,n,r,o,i){let s=t+n;return oe(e,s,o)?ir(e,s+1,i?r.call(i,o):r(o)):vi(e,s+1)}function Oh(e,t,n,r,o,i,s){let a=t+n;return Gn(e,a,o,i)?ir(e,a+2,s?r.call(s,o,i):r(o,i)):vi(e,a+2)}function Rh(e,t,n,r,o,i,s,a){let c=t+n;return uD(e,c,o,i,s)?ir(e,c+3,a?r.call(a,o,i,s):r(o,i,s)):vi(e,c+3)}function qb(e,t,n,r,o,i,s,a,c){let l=t+n;return nh(e,l,o,i,s,a)?ir(e,l+4,c?r.call(c,o,i,s,a):r(o,i,s,a)):vi(e,l+4)}function Ck(e,t){let n=F(),r,o=e+k;n.firstCreatePass?(r=Wb(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=Et(r.type,!0)),s,a=te(yi);try{let c=Eo(!1),l=i();return Eo(c),jd(n,m(),o,l),l}finally{te(a)}}function Wb(e,t){if(t)for(let n=t.length-1;n>=0;n--){let r=t[n];if(e===r.name)return r}}function Tk(e,t,n){let r=e+k,o=m(),i=zo(o,r);return $c(o,r)?Sh(o,rt(),t,i.transform,n,i):i.transform(n)}function _k(e,t,n,r){let o=e+k,i=m(),s=zo(i,o);return $c(i,o)?Oh(i,rt(),t,s.transform,n,r,s):s.transform(n,r)}function xk(e,t,n,r,o){let i=e+k,s=m(),a=zo(s,i);return $c(s,i)?Rh(s,rt(),t,a.transform,n,r,o,a):a.transform(n,r,o)}function $c(e,t){return e[w].data[t].pure}function Nk(e,t){return fi(e,t)}var Sa=class{full;major;minor;patch;constructor(t){this.full=t;let n=t.split(".");this.major=n[0],this.minor=n[1],this.patch=n.slice(2).join(".")}},Sk=new Sa("19.2.14"),Oa=class{ngModuleFactory;componentFactories;constructor(t,n){this.ngModuleFactory=t,this.componentFactories=n}},Ok=(()=>{class e{compileModuleSync(n){return new ma(n)}compileModuleAsync(n){return Promise.resolve(this.compileModuleSync(n))}compileModuleAndAllComponentsSync(n){let r=this.compileModuleSync(n),o=Md(n),i=ep(o.declarations).reduce((s,a)=>{let c=ke(a);return c&&s.push(new _t(c)),s},[]);return new Oa(r,i)}compileModuleAndAllComponentsAsync(n){return Promise.resolve(this.compileModuleAndAllComponentsSync(n))}clearCache(){}clearCacheFor(n){}getModuleId(n){}static \u0275fac=function(r){return new(r||e)};static \u0275prov=j({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();var zb=(()=>{class e{zone=D(ae);changeDetectionScheduler=D(et);applicationRef=D(Be);_onMicrotaskEmptySubscription;initialize(){this._onMicrotaskEmptySubscription||(this._onMicrotaskEmptySubscription=this.zone.onMicrotaskEmpty.subscribe({next:()=>{this.changeDetectionScheduler.runningTick||this.zone.run(()=>{this.applicationRef.tick()})}}))}ngOnDestroy(){this._onMicrotaskEmptySubscription?.unsubscribe()}static \u0275fac=function(r){return new(r||e)};static \u0275prov=j({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})(),Gb=new N("",{factory:()=>!1});function Ah({ngZoneFactory:e,ignoreChangesOutsideZone:t,scheduleInRootZone:n}){return e??=()=>new ae(X(J({},kh()),{scheduleInRootZone:n})),[{provide:ae,useFactory:e},{provide:on,multi:!0,useFactory:()=>{let r=D(zb,{optional:!0});return()=>r.initialize()}},{provide:on,multi:!0,useFactory:()=>{let r=D(Qb);return()=>{r.initialize()}}},t===!0?{provide:hf,useValue:!0}:[],{provide:gf,useValue:n??pf}]}function Rk(e){let t=e?.ignoreChangesOutsideZone,n=e?.scheduleInRootZone,r=Ah({ngZoneFactory:()=>{let o=kh(e);return o.scheduleInRootZone=n,o.shouldCoalesceEventChangeDetection&&st("NgZone_CoalesceEvent"),new ae(o)},ignoreChangesOutsideZone:t,scheduleInRootZone:n});return qa([{provide:Gb,useValue:!0},{provide:ac,useValue:!1},r])}function kh(e){return{enableLongStackTrace:!1,shouldCoalesceEventChangeDetection:e?.eventCoalescing??!1,shouldCoalesceRunChangeDetection:e?.runCoalescing??!1}}var Qb=(()=>{class e{subscription=new V;initialized=!1;zone=D(ae);pendingTasks=D(gn);initialize(){if(this.initialized)return;this.initialized=!0;let n=null;!this.zone.isStable&&!this.zone.hasPendingMacrotasks&&!this.zone.hasPendingMicrotasks&&(n=this.pendingTasks.add()),this.zone.runOutsideAngular(()=>{this.subscription.add(this.zone.onStable.subscribe(()=>{ae.assertNotInAngularZone(),queueMicrotask(()=>{n!==null&&!this.zone.hasPendingMacrotasks&&!this.zone.hasPendingMicrotasks&&(this.pendingTasks.remove(n),n=null)})}))}),this.subscription.add(this.zone.onUnstable.subscribe(()=>{ae.assertInAngularZone(),n??=this.pendingTasks.add()}))}ngOnDestroy(){this.subscription.unsubscribe()}static \u0275fac=function(r){return new(r||e)};static \u0275prov=j({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();var Zb=(()=>{class e{appRef=D(Be);taskService=D(gn);ngZone=D(ae);zonelessEnabled=D(ac);tracing=D(Xo,{optional:!0});disableScheduling=D(hf,{optional:!0})??!1;zoneIsDefined=typeof Zone<"u"&&!!Zone.root.run;schedulerTickApplyArgs=[{data:{__scheduler_tick__:!0}}];subscriptions=new V;angularZoneId=this.zoneIsDefined?this.ngZone._inner?.get(bo):null;scheduleInRootZone=!this.zonelessEnabled&&this.zoneIsDefined&&(D(gf,{optional:!0})??!1);cancelScheduledCallback=null;useMicrotaskScheduler=!1;runningTick=!1;pendingRenderTaskId=null;constructor(){this.subscriptions.add(this.appRef.afterTick.subscribe(()=>{this.runningTick||this.cleanup()})),this.subscriptions.add(this.ngZone.onUnstable.subscribe(()=>{this.runningTick||this.cleanup()})),this.disableScheduling||=!this.zonelessEnabled&&(this.ngZone instanceof Hs||!this.zoneIsDefined)}notify(n){if(!this.zonelessEnabled&&n===5)return;let r=!1;switch(n){case 0:{this.appRef.dirtyFlags|=2;break}case 3:case 2:case 4:case 5:case 1:{this.appRef.dirtyFlags|=4;break}case 6:{this.appRef.dirtyFlags|=2,r=!0;break}case 12:{this.appRef.dirtyFlags|=16,r=!0;break}case 13:{this.appRef.dirtyFlags|=2,r=!0;break}case 11:{r=!0;break}case 9:case 8:case 7:case 10:default:this.appRef.dirtyFlags|=8}if(this.appRef.tracingSnapshot=this.tracing?.snapshot(this.appRef.tracingSnapshot)??null,!this.shouldScheduleTick(r))return;let o=this.useMicrotaskScheduler?uu:mf;this.pendingRenderTaskId=this.taskService.add(),this.scheduleInRootZone?this.cancelScheduledCallback=Zone.root.run(()=>o(()=>this.tick())):this.cancelScheduledCallback=this.ngZone.runOutsideAngular(()=>o(()=>this.tick()))}shouldScheduleTick(n){return!(this.disableScheduling&&!n||this.appRef.destroyed||this.pendingRenderTaskId!==null||this.runningTick||this.appRef._runningTick||!this.zonelessEnabled&&this.zoneIsDefined&&Zone.current.get(bo+this.angularZoneId))}tick(){if(this.runningTick||this.appRef.destroyed)return;if(this.appRef.dirtyFlags===0){this.cleanup();return}!this.zonelessEnabled&&this.appRef.dirtyFlags&7&&(this.appRef.dirtyFlags|=1);let n=this.taskService.add();try{this.ngZone.run(()=>{this.runningTick=!0,this.appRef._tick()},void 0,this.schedulerTickApplyArgs)}catch(r){throw this.taskService.remove(n),r}finally{this.cleanup()}this.useMicrotaskScheduler=!0,uu(()=>{this.useMicrotaskScheduler=!1,this.taskService.remove(n)})}ngOnDestroy(){this.subscriptions.unsubscribe(),this.cleanup()}cleanup(){if(this.runningTick=!1,this.cancelScheduledCallback?.(),this.cancelScheduledCallback=null,this.pendingRenderTaskId!==null){let n=this.pendingRenderTaskId;this.pendingRenderTaskId=null,this.taskService.remove(n)}}static \u0275fac=function(r){return new(r||e)};static \u0275prov=j({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();function Yb(){return typeof $localize<"u"&&$localize.locale||Vo}var Ph=new N("",{providedIn:"root",factory:()=>D(Ph,_.Optional|_.SkipSelf)||Yb()});var Ra=new N(""),Kb=new N("");function kn(e){return!e.moduleRef}function Jb(e){let t=kn(e)?e.r3Injector:e.moduleRef.injector,n=t.get(ae);return n.run(()=>{kn(e)?e.r3Injector.resolveInjectorInitializers():e.moduleRef.resolveInjectorInitializers();let r=t.get(tt,null),o;if(n.runOutsideAngular(()=>{o=n.onError.subscribe({next:i=>{r.handleError(i)}})}),kn(e)){let i=()=>t.destroy(),s=e.platformInjector.get(Ra);s.add(i),t.onDestroy(()=>{o.unsubscribe(),s.delete(i)})}else{let i=()=>e.moduleRef.destroy(),s=e.platformInjector.get(Ra);s.add(i),e.moduleRef.onDestroy(()=>{so(e.allPlatformModules,e.moduleRef),o.unsubscribe(),s.delete(i)})}return eM(r,n,()=>{let i=t.get(ch);return i.runInitializers(),i.donePromise.then(()=>{let s=t.get(Ph,Vo);if(Mb(s||Vo),!t.get(Kb,!0))return kn(e)?t.get(Be):(e.allPlatformModules.push(e.moduleRef),e.moduleRef);if(kn(e)){let c=t.get(Be);return e.rootComponent!==void 0&&c.bootstrap(e.rootComponent),c}else return Xb(e.moduleRef,e.allPlatformModules),e.moduleRef})})})}function Xb(e,t){let n=e.injector.get(Be);if(e._bootstrapComponents.length>0)e._bootstrapComponents.forEach(r=>n.bootstrap(r));else if(e.instance.ngDoBootstrap)e.instance.ngDoBootstrap(n);else throw new T(-403,!1);t.push(e)}function eM(e,t,n){try{let r=n();return sh(r)?r.catch(o=>{throw t.runOutsideAngular(()=>e.handleError(o)),o}):r}catch(r){throw t.runOutsideAngular(()=>e.handleError(r)),r}}var ao=null;function tM(e=[],t){return Xe.create({name:t,providers:[{provide:xd,useValue:"platform"},{provide:Ra,useValue:new Set([()=>ao=null])},...e]})}function nM(e=[]){if(ao)return ao;let t=tM(e);return ao=t,bD(),rM(t),t}function rM(e){let t=e.get(hv,null);Sd(e,()=>{t?.forEach(n=>n())})}var Ak=(()=>{class e{static __NG_ELEMENT_ID__=oM}return e})();function oM(e){return iM(G(),m(),(e&16)===16)}function iM(e,t,n){if(Nt(e)&&!n){let r=Ne(e.index,t);return new Wn(r,r)}else if(e.type&175){let r=t[K];return new Wn(r,t)}return null}var Aa=class{constructor(){}supports(t){return th(t)}create(t){return new ka(t)}},sM=(e,t)=>t,ka=class{length=0;collection;_linkedRecords=null;_unlinkedRecords=null;_previousItHead=null;_itHead=null;_itTail=null;_additionsHead=null;_additionsTail=null;_movesHead=null;_movesTail=null;_removalsHead=null;_removalsTail=null;_identityChangesHead=null;_identityChangesTail=null;_trackByFn;constructor(t){this._trackByFn=t||sM}forEachItem(t){let n;for(n=this._itHead;n!==null;n=n._next)t(n)}forEachOperation(t){let n=this._itHead,r=this._removalsHead,o=0,i=null;for(;n||r;){let s=!r||n&&n.currentIndex<Ju(r,o,i)?n:r,a=Ju(s,o,i),c=s.currentIndex;if(s===r)o--,r=r._nextRemoved;else if(n=n._next,s.previousIndex==null)o++;else{i||(i=[]);let l=a-o,u=c-o;if(l!=u){for(let p=0;p<l;p++){let d=p<i.length?i[p]:i[p]=0,h=d+p;u<=h&&h<l&&(i[p]=d+1)}let f=s.previousIndex;i[f]=u-l}}a!==c&&t(s,a,c)}}forEachPreviousItem(t){let n;for(n=this._previousItHead;n!==null;n=n._nextPrevious)t(n)}forEachAddedItem(t){let n;for(n=this._additionsHead;n!==null;n=n._nextAdded)t(n)}forEachMovedItem(t){let n;for(n=this._movesHead;n!==null;n=n._nextMoved)t(n)}forEachRemovedItem(t){let n;for(n=this._removalsHead;n!==null;n=n._nextRemoved)t(n)}forEachIdentityChange(t){let n;for(n=this._identityChangesHead;n!==null;n=n._nextIdentityChange)t(n)}diff(t){if(t==null&&(t=[]),!th(t))throw new T(900,!1);return this.check(t)?this:null}onDestroy(){}check(t){this._reset();let n=this._itHead,r=!1,o,i,s;if(Array.isArray(t)){this.length=t.length;for(let a=0;a<this.length;a++)i=t[a],s=this._trackByFn(a,i),n===null||!Object.is(n.trackById,s)?(n=this._mismatch(n,i,s,a),r=!0):(r&&(n=this._verifyReinsertion(n,i,s,a)),Object.is(n.item,i)||this._addIdentityChange(n,i)),n=n._next}else o=0,cD(t,a=>{s=this._trackByFn(o,a),n===null||!Object.is(n.trackById,s)?(n=this._mismatch(n,a,s,o),r=!0):(r&&(n=this._verifyReinsertion(n,a,s,o)),Object.is(n.item,a)||this._addIdentityChange(n,a)),n=n._next,o++}),this.length=o;return this._truncate(n),this.collection=t,this.isDirty}get isDirty(){return this._additionsHead!==null||this._movesHead!==null||this._removalsHead!==null||this._identityChangesHead!==null}_reset(){if(this.isDirty){let t;for(t=this._previousItHead=this._itHead;t!==null;t=t._next)t._nextPrevious=t._next;for(t=this._additionsHead;t!==null;t=t._nextAdded)t.previousIndex=t.currentIndex;for(this._additionsHead=this._additionsTail=null,t=this._movesHead;t!==null;t=t._nextMoved)t.previousIndex=t.currentIndex;this._movesHead=this._movesTail=null,this._removalsHead=this._removalsTail=null,this._identityChangesHead=this._identityChangesTail=null}}_mismatch(t,n,r,o){let i;return t===null?i=this._itTail:(i=t._prev,this._remove(t)),t=this._unlinkedRecords===null?null:this._unlinkedRecords.get(r,null),t!==null?(Object.is(t.item,n)||this._addIdentityChange(t,n),this._reinsertAfter(t,i,o)):(t=this._linkedRecords===null?null:this._linkedRecords.get(r,o),t!==null?(Object.is(t.item,n)||this._addIdentityChange(t,n),this._moveAfter(t,i,o)):t=this._addAfter(new Pa(n,r),i,o)),t}_verifyReinsertion(t,n,r,o){let i=this._unlinkedRecords===null?null:this._unlinkedRecords.get(r,null);return i!==null?t=this._reinsertAfter(i,t._prev,o):t.currentIndex!=o&&(t.currentIndex=o,this._addToMoves(t,o)),t}_truncate(t){for(;t!==null;){let n=t._next;this._addToRemovals(this._unlink(t)),t=n}this._unlinkedRecords!==null&&this._unlinkedRecords.clear(),this._additionsTail!==null&&(this._additionsTail._nextAdded=null),this._movesTail!==null&&(this._movesTail._nextMoved=null),this._itTail!==null&&(this._itTail._next=null),this._removalsTail!==null&&(this._removalsTail._nextRemoved=null),this._identityChangesTail!==null&&(this._identityChangesTail._nextIdentityChange=null)}_reinsertAfter(t,n,r){this._unlinkedRecords!==null&&this._unlinkedRecords.remove(t);let o=t._prevRemoved,i=t._nextRemoved;return o===null?this._removalsHead=i:o._nextRemoved=i,i===null?this._removalsTail=o:i._prevRemoved=o,this._insertAfter(t,n,r),this._addToMoves(t,r),t}_moveAfter(t,n,r){return this._unlink(t),this._insertAfter(t,n,r),this._addToMoves(t,r),t}_addAfter(t,n,r){return this._insertAfter(t,n,r),this._additionsTail===null?this._additionsTail=this._additionsHead=t:this._additionsTail=this._additionsTail._nextAdded=t,t}_insertAfter(t,n,r){let o=n===null?this._itHead:n._next;return t._next=o,t._prev=n,o===null?this._itTail=t:o._prev=t,n===null?this._itHead=t:n._next=t,this._linkedRecords===null&&(this._linkedRecords=new jo),this._linkedRecords.put(t),t.currentIndex=r,t}_remove(t){return this._addToRemovals(this._unlink(t))}_unlink(t){this._linkedRecords!==null&&this._linkedRecords.remove(t);let n=t._prev,r=t._next;return n===null?this._itHead=r:n._next=r,r===null?this._itTail=n:r._prev=n,t}_addToMoves(t,n){return t.previousIndex===n||(this._movesTail===null?this._movesTail=this._movesHead=t:this._movesTail=this._movesTail._nextMoved=t),t}_addToRemovals(t){return this._unlinkedRecords===null&&(this._unlinkedRecords=new jo),this._unlinkedRecords.put(t),t.currentIndex=null,t._nextRemoved=null,this._removalsTail===null?(this._removalsTail=this._removalsHead=t,t._prevRemoved=null):(t._prevRemoved=this._removalsTail,this._removalsTail=this._removalsTail._nextRemoved=t),t}_addIdentityChange(t,n){return t.item=n,this._identityChangesTail===null?this._identityChangesTail=this._identityChangesHead=t:this._identityChangesTail=this._identityChangesTail._nextIdentityChange=t,t}},Pa=class{item;trackById;currentIndex=null;previousIndex=null;_nextPrevious=null;_prev=null;_next=null;_prevDup=null;_nextDup=null;_prevRemoved=null;_nextRemoved=null;_nextAdded=null;_nextMoved=null;_nextIdentityChange=null;constructor(t,n){this.item=t,this.trackById=n}},La=class{_head=null;_tail=null;add(t){this._head===null?(this._head=this._tail=t,t._nextDup=null,t._prevDup=null):(this._tail._nextDup=t,t._prevDup=this._tail,t._nextDup=null,this._tail=t)}get(t,n){let r;for(r=this._head;r!==null;r=r._nextDup)if((n===null||n<=r.currentIndex)&&Object.is(r.trackById,t))return r;return null}remove(t){let n=t._prevDup,r=t._nextDup;return n===null?this._head=r:n._nextDup=r,r===null?this._tail=n:r._prevDup=n,this._head===null}},jo=class{map=new Map;put(t){let n=t.trackById,r=this.map.get(n);r||(r=new La,this.map.set(n,r)),r.add(t)}get(t,n){let r=t,o=this.map.get(r);return o?o.get(t,n):null}remove(t){let n=t.trackById;return this.map.get(n).remove(t)&&this.map.delete(n),t}get isEmpty(){return this.map.size===0}clear(){this.map.clear()}};function Ju(e,t,n){let r=e.previousIndex;if(r===null)return r;let o=0;return n&&r<n.length&&(o=n[r]),r+t+o}var Fa=class{constructor(){}supports(t){return t instanceof Map||Vc(t)}create(){return new Va}},Va=class{_records=new Map;_mapHead=null;_appendAfter=null;_previousMapHead=null;_changesHead=null;_changesTail=null;_additionsHead=null;_additionsTail=null;_removalsHead=null;_removalsTail=null;get isDirty(){return this._additionsHead!==null||this._changesHead!==null||this._removalsHead!==null}forEachItem(t){let n;for(n=this._mapHead;n!==null;n=n._next)t(n)}forEachPreviousItem(t){let n;for(n=this._previousMapHead;n!==null;n=n._nextPrevious)t(n)}forEachChangedItem(t){let n;for(n=this._changesHead;n!==null;n=n._nextChanged)t(n)}forEachAddedItem(t){let n;for(n=this._additionsHead;n!==null;n=n._nextAdded)t(n)}forEachRemovedItem(t){let n;for(n=this._removalsHead;n!==null;n=n._nextRemoved)t(n)}diff(t){if(!t)t=new Map;else if(!(t instanceof Map||Vc(t)))throw new T(900,!1);return this.check(t)?this:null}onDestroy(){}check(t){this._reset();let n=this._mapHead;if(this._appendAfter=null,this._forEach(t,(r,o)=>{if(n&&n.key===o)this._maybeAddToChanges(n,r),this._appendAfter=n,n=n._next;else{let i=this._getOrCreateRecordForKey(o,r);n=this._insertBeforeOrAppend(n,i)}}),n){n._prev&&(n._prev._next=null),this._removalsHead=n;for(let r=n;r!==null;r=r._nextRemoved)r===this._mapHead&&(this._mapHead=null),this._records.delete(r.key),r._nextRemoved=r._next,r.previousValue=r.currentValue,r.currentValue=null,r._prev=null,r._next=null}return this._changesTail&&(this._changesTail._nextChanged=null),this._additionsTail&&(this._additionsTail._nextAdded=null),this.isDirty}_insertBeforeOrAppend(t,n){if(t){let r=t._prev;return n._next=t,n._prev=r,t._prev=n,r&&(r._next=n),t===this._mapHead&&(this._mapHead=n),this._appendAfter=t,t}return this._appendAfter?(this._appendAfter._next=n,n._prev=this._appendAfter):this._mapHead=n,this._appendAfter=n,null}_getOrCreateRecordForKey(t,n){if(this._records.has(t)){let o=this._records.get(t);this._maybeAddToChanges(o,n);let i=o._prev,s=o._next;return i&&(i._next=s),s&&(s._prev=i),o._next=null,o._prev=null,o}let r=new ja(t);return this._records.set(t,r),r.currentValue=n,this._addToAdditions(r),r}_reset(){if(this.isDirty){let t;for(this._previousMapHead=this._mapHead,t=this._previousMapHead;t!==null;t=t._next)t._nextPrevious=t._next;for(t=this._changesHead;t!==null;t=t._nextChanged)t.previousValue=t.currentValue;for(t=this._additionsHead;t!=null;t=t._nextAdded)t.previousValue=t.currentValue;this._changesHead=this._changesTail=null,this._additionsHead=this._additionsTail=null,this._removalsHead=null}}_maybeAddToChanges(t,n){Object.is(n,t.currentValue)||(t.previousValue=t.currentValue,t.currentValue=n,this._addToChanges(t))}_addToAdditions(t){this._additionsHead===null?this._additionsHead=this._additionsTail=t:(this._additionsTail._nextAdded=t,this._additionsTail=t)}_addToChanges(t){this._changesHead===null?this._changesHead=this._changesTail=t:(this._changesTail._nextChanged=t,this._changesTail=t)}_forEach(t,n){t instanceof Map?t.forEach(n):Object.keys(t).forEach(r=>n(t[r],r))}},ja=class{key;previousValue=null;currentValue=null;_nextPrevious=null;_next=null;_prev=null;_nextAdded=null;_nextRemoved=null;_nextChanged=null;constructor(t){this.key=t}};function Xu(){return new aM([new Aa])}var aM=(()=>{class e{factories;static \u0275prov=j({token:e,providedIn:"root",factory:Xu});constructor(n){this.factories=n}static create(n,r){if(r!=null){let o=r.factories.slice();n=n.concat(o)}return new e(n)}static extend(n){return{provide:e,useFactory:r=>e.create(n,r||Xu()),deps:[[e,new Ed,new Id]]}}find(n){let r=this.factories.find(o=>o.supports(n));if(r!=null)return r;throw new T(901,!1)}}return e})();function ed(){return new cM([new Fa])}var cM=(()=>{class e{static \u0275prov=j({token:e,providedIn:"root",factory:ed});factories;constructor(n){this.factories=n}static create(n,r){if(r){let o=r.factories.slice();n=n.concat(o)}return new e(n)}static extend(n){return{provide:e,useFactory:r=>e.create(n,r||ed()),deps:[[e,new Ed,new Id]]}}find(n){let r=this.factories.find(o=>o.supports(n));if(r)return r;throw new T(901,!1)}}return e})();function kk(e){R(8);try{let{rootComponent:t,appProviders:n,platformProviders:r}=e,o=nM(r),i=[Ah({}),{provide:et,useExisting:Zb},...n||[]],s=new Ao({providers:i,parent:o,debugName:"",runEnvironmentInitializers:!1});return Jb({r3Injector:s.injector,platformInjector:o,rootComponent:t})}catch(t){return Promise.reject(t)}finally{R(9)}}var eo=new WeakSet,td="",co=[];function nd(e){return e.get(kf,Tv)}function Pk(){let e=[{provide:kf,useFactory:()=>{let t=!0;{let n=D(tn);t=!!window._ejsas?.[n]}return t&&st("NgEventReplay"),t}}];return e.push({provide:on,useValue:()=>{let t=D(Be),{injector:n}=t;if(!eo.has(t)){let r=D(gu);if(nd(n)){Yv();let o=n.get(tn),i=Qv(o,(s,a,c)=>{s.nodeType===Node.ELEMENT_NODE&&(qv(s,a,c),Wv(s,r))});t.onDestroy(i)}}},multi:!0},{provide:jc,useFactory:()=>{let t=D(Be),{injector:n}=t;return()=>{!nd(n)||eo.has(t)||(eo.add(t),t.onDestroy(()=>{eo.delete(t);{let r=n.get(tn);os(r)}}),t.whenStable().then(()=>{if(t.destroyed)return;let r=n.get(Gv);lM(r,n);let o=n.get(gu);o.get(td)?.forEach(zv),o.delete(td);let i=r.instance;sI(n)?t.onDestroy(()=>i.cleanUp()):i.cleanUp()}))}},multi:!0}),e}var lM=(e,t)=>{let n=t.get(tn),r=window._ejsas[n],o=e.instance=new Ql(new zr(r.c));for(let a of r.et)o.addEvent(a);for(let a of r.etc)o.addEvent(a);let i=Zl(n);o.replayEarlyEventInfos(i),os(n);let s=new Gr(a=>{uM(t,a,a.currentTarget)});Gl(o,s)};function uM(e,t,n){let r=(n&&n.getAttribute(ni))??"";/d\d+/.test(r)?dM(r,e,t,n):t.eventPhase===rs.REPLAY&&Hf(t,n)}function dM(e,t,n,r){co.push({event:n,currentTarget:r}),SD(t,e,fM)}function fM(e){let t=[...co],n=new Set(e);co=[];for(let{event:r,currentTarget:o}of t){let i=o.getAttribute(ni);n.has(i)?Hf(r,o):co.push({event:r,currentTarget:o})}}var rd=!1;function pM(){rd||(rd=!0,nI(),fb(),Rb(),mb(),hD(),Fw(),uw(),iE())}function hM(e){return e.whenStable()}function Lk(){let e=[{provide:Zr,useFactory:()=>{let t=!0;return t=!!D(Jo,{optional:!0})?.get($f,null),t&&st("NgHydration"),t}},{provide:on,useValue:()=>{rw(!1),D(Zr)&&(uI(Xn()),pM())},multi:!0}];return e.push({provide:Af,useFactory:()=>D(Zr)},{provide:jc,useFactory:()=>{if(D(Zr)){let t=D(Be);return()=>{hM(t).then(()=>{t.destroyed||Op(t)})}}return()=>{}},multi:!0}),qa(e)}function Fk(e){return typeof e=="boolean"?e:e!=null&&e!=="false"}function Vk(e,t=NaN){return!isNaN(parseFloat(e))&&!isNaN(Number(e))?Number(e):t}function jk(e){return _i(e)}function Hk(e,t){return dr(e,t?.equal)}var Ha=class{[z];constructor(t){this[z]=t}destroy(){this[z].destroy()}};function gM(e,t){!t?.injector&&Ga(gM);let n=t?.injector??D(Xe),r=t?.manualCleanup!==!0?n.get(Jn):null,o,i=n.get(fc,null,{optional:!0}),s=n.get(et);return i!==null&&!t?.forceRoot?(o=vM(i.view,s,e),r instanceof Do&&r._lView===i.view&&(r=null)):o=IM(e,n.get(ih),s),o.injector=n,r!==null&&(o.onDestroyFn=r.onDestroy(()=>o.destroy())),new Ha(o)}var Lh=X(J({},ct),{consumerIsAlwaysLive:!0,consumerAllowSignalWrites:!0,dirty:!0,hasRun:!1,cleanupFns:void 0,zone:null,kind:"effect",onDestroyFn:$n,run(){if(this.dirty=!1,this.hasRun&&!cr(this))return;this.hasRun=!0;let e=r=>(this.cleanupFns??=[]).push(r),t=Lt(this),n=yo(!1);try{this.maybeCleanup(),this.fn(e)}finally{yo(n),bn(this,t)}},maybeCleanup(){if(this.cleanupFns?.length)try{for(;this.cleanupFns.length;)this.cleanupFns.pop()()}finally{this.cleanupFns=[]}}}),mM=X(J({},Lh),{consumerMarkedDirty(){this.scheduler.schedule(this),this.notifier.notify(12)},destroy(){Mn(this),this.onDestroyFn(),this.maybeCleanup(),this.scheduler.remove(this)}}),yM=X(J({},Lh),{consumerMarkedDirty(){this.view[b]|=8192,fn(this.view),this.notifier.notify(13)},destroy(){Mn(this),this.onDestroyFn(),this.maybeCleanup(),this.view[Dt]?.delete(this)}});function vM(e,t,n){let r=Object.create(yM);return r.view=e,r.zone=typeof Zone<"u"?Zone.current:null,r.notifier=t,r.fn=n,e[Dt]??=new Set,e[Dt].add(r),r.consumerMarkedDirty(r),r}function IM(e,t,n){let r=Object.create(mM);return r.fn=e,r.scheduler=t,r.notifier=n,r.zone=typeof Zone<"u"?Zone.current:null,r.scheduler.schedule(r),r.notifier.notify(12),r}var EM=e=>e;function Bk(e,t){if(typeof e=="function"){let n=hr(e,EM,t?.equal);return od(n)}else{let n=hr(e.source,e.computation,e.equal);return od(n)}}function od(e){let t=e[z],n=e;return n.set=r=>Ci(t,r),n.update=r=>Ti(t,r),n.asReadonly=If.bind(e),n}function $k(e,t){let n=ke(e),r=t.elementInjector||Uo();return new _t(n).create(r,t.projectableNodes,t.hostElement,t.environmentInjector)}function Uk(e){let t=ke(e);if(!t)return null;let n=new _t(t);return{get selector(){return n.selector},get type(){return n.componentType},get inputs(){return n.inputs},get outputs(){return n.outputs},get ngContentSelectors(){return n.ngContentSelectors},get isStandalone(){return t.standalone},get isSignal(){return t.signals}}}export{V as a,zh as b,x as c,Fi as d,Vi as e,ce as f,Tn as g,xn as h,Jh as i,Xh as j,ht as k,sl as l,Ce as m,ag as n,cg as o,lg as p,Ae as q,ug as r,le as s,vg as t,he as u,On as v,zt as w,Eg as x,wg as y,$i as z,Rn as A,xg as B,ze as C,Ng as D,Ui as E,Sg as F,Ml as G,An as H,Gt as I,qi as J,Og as K,Tl as L,kg as M,Pg as N,_l as O,Lg as P,zi as Q,Fg as R,Vg as S,jg as T,Hg as U,Qi as V,Bg as W,$g as X,xl as Y,Nl as Z,Sl as _,Ug as $,Ol as aa,T as ba,ud as ca,j as da,lA as ea,uA as fa,N as ga,_ as ha,Ke as ia,D as ja,Id as ka,Ed as la,qa as ma,Qm as na,xd as oa,Pe as pa,Sd as qa,dA as ra,fA as sa,pA as ta,hA as ua,gA as va,mA as wa,Wy as xa,Xe as ya,lu as za,Jn as Aa,et as Ba,gn as Ca,Ze as Da,ae as Ea,tt as Fa,yA as Ga,vA as Ha,Ko as Ia,ov as Ja,iv as Ka,$s as La,IA as Ma,tn as Na,hv as Oa,EA as Pa,wA as Qa,DA as Ra,Jo as Sa,Xo as Ta,st as Ua,Ov as Va,Lf as Wa,Un as Xa,nr as Ya,mc as Za,bA as _a,MA as $a,CA as ab,TA as bb,_A as cb,Qf as db,xI as eb,ii as fb,xA as gb,SI as hb,OI as ib,NA as jb,SA as kb,OA as lb,oa as mb,xo as nb,mi as ob,So as pb,FA as qb,yi as rb,VA as sb,kc as tb,HA as ub,BA as vb,zn as wb,Gw as xb,Kp as yb,qA as zb,WA as Ab,zA as Bb,GA as Cb,tD as Db,QA as Eb,fD as Fb,ZA as Gb,sh as Hb,DD as Ib,YA as Jb,jc as Kb,Be as Lb,FD as Mb,YD as Nb,KD as Ob,JD as Pb,KA as Qb,JA as Rb,XA as Sb,ek as Tb,tk as Ub,nk as Vb,rk as Wb,vh as Xb,Ih as Yb,ub as Zb,wh as _b,Dh as $b,hb as ac,ok as bc,yb as cc,vb as dc,wb as ec,ik as fc,Mh as gc,Tb as hc,sk as ic,ak as jc,ck as kc,Sb as lc,Th as mc,lk as nc,uk as oc,dk as pc,fk as qc,pk as rc,hk as sc,gk as tc,mk as uc,yk as vc,Ab as wc,xh as xc,kb as yc,Pb as zc,Lb as Ac,vk as Bc,Fb as Cc,jb as Dc,Ik as Ec,Ek as Fc,wk as Gc,Dk as Hc,bk as Ic,Mk as Jc,Ck as Kc,Tk as Lc,_k as Mc,xk as Nc,Nk as Oc,Sk as Pc,Ok as Qc,Rk as Rc,Ph as Sc,Ak as Tc,aM as Uc,cM as Vc,kk as Wc,Pk as Xc,Lk as Yc,Fk as Zc,Vk as _c,jk as $c,Hk as ad,gM as bd,Bk as cd,$k as dd,Uk as ed};