-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathchunk-SLW2AXWZ.js
7 lines (7 loc) · 166 KB
/
chunk-SLW2AXWZ.js
1
2
3
4
5
6
7
var ff=Object.defineProperty,pf=Object.defineProperties;var hf=Object.getOwnPropertyDescriptors;var Fn=Object.getOwnPropertySymbols;var Ia=Object.prototype.hasOwnProperty,wa=Object.prototype.propertyIsEnumerable;var Ea=(e,t,n)=>t in e?ff(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,me=(e,t)=>{for(var n in t||={})Ia.call(t,n)&&Ea(e,n,t[n]);if(Fn)for(var n of Fn(t))wa.call(t,n)&&Ea(e,n,t[n]);return e},ye=(e,t)=>pf(e,hf(t));var YD=(e,t)=>{var n={};for(var r in e)Ia.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&Fn)for(var r of Fn(e))t.indexOf(r)<0&&wa.call(e,r)&&(n[r]=e[r]);return n};var gf=(e,t,n)=>new Promise((r,o)=>{var i=u=>{try{a(n.next(u))}catch(c){o(c)}},s=u=>{try{a(n.throw(u))}catch(c){o(c)}},a=u=>u.done?r(u.value):Promise.resolve(u.value).then(i,s);a((n=n.apply(e,t)).next())});function Ca(e,t){return Object.is(e,t)}var L=null,Xt=!1,Rn=1,te=Symbol("SIGNAL");function b(e){let t=L;return L=e,t}function ba(){return L}function mf(){return Xt}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,producerMustRecompute:()=>!1,producerRecomputeValue:()=>{},consumerMarkedDirty:()=>{},consumerOnSignalRead:()=>{}};function Pn(e){if(Xt)throw new Error("");if(L===null)return;L.consumerOnSignalRead(e);let t=L.nextProducerIndex++;if($n(L),t<L.producerNode.length&&L.producerNode[t]!==e&&en(L)){let n=L.producerNode[t];Bn(n,L.producerIndexOfThis[t])}L.producerNode[t]!==e&&(L.producerNode[t]=e,L.producerIndexOfThis[t]=en(L)?Ta(e,L,t):0),L.producerLastReadVersion[t]=e.version}function yf(){Rn++}function _a(e){if(!(en(e)&&!e.dirty)&&!(!e.dirty&&e.lastCleanEpoch===Rn)){if(!e.producerMustRecompute(e)&&!jn(e)){e.dirty=!1,e.lastCleanEpoch=Rn;return}e.producerRecomputeValue(e),e.dirty=!1,e.lastCleanEpoch=Rn}}function Ma(e){if(e.liveConsumerNode===void 0)return;let t=Xt;Xt=!0;try{for(let n of e.liveConsumerNode)n.dirty||Sa(n)}finally{Xt=t}}function xa(){return L?.consumerAllowSignalWrites!==!1}function Sa(e){e.dirty=!0,Ma(e),e.consumerMarkedDirty?.(e)}function tn(e){return e&&(e.nextProducerIndex=0),b(e)}function Ln(e,t){if(b(t),!(!e||e.producerNode===void 0||e.producerIndexOfThis===void 0||e.producerLastReadVersion===void 0)){if(en(e))for(let n=e.nextProducerIndex;n<e.producerNode.length;n++)Bn(e.producerNode[n],e.producerIndexOfThis[n]);for(;e.producerNode.length>e.nextProducerIndex;)e.producerNode.pop(),e.producerLastReadVersion.pop(),e.producerIndexOfThis.pop()}}function jn(e){$n(e);for(let t=0;t<e.producerNode.length;t++){let n=e.producerNode[t],r=e.producerLastReadVersion[t];if(r!==n.version||(_a(n),r!==n.version))return!0}return!1}function Vn(e){if($n(e),en(e))for(let t=0;t<e.producerNode.length;t++)Bn(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 Ta(e,t,n){if(Na(e),e.liveConsumerNode.length===0&&Aa(e))for(let r=0;r<e.producerNode.length;r++)e.producerIndexOfThis[r]=Ta(e.producerNode[r],e,r);return e.liveConsumerIndexOfThis.push(n),e.liveConsumerNode.push(t)-1}function Bn(e,t){if(Na(e),e.liveConsumerNode.length===1&&Aa(e))for(let r=0;r<e.producerNode.length;r++)Bn(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];$n(o),o.producerIndexOfThis[r]=t}}function en(e){return e.consumerIsAlwaysLive||(e?.liveConsumerNode?.length??0)>0}function $n(e){e.producerNode??=[],e.producerIndexOfThis??=[],e.producerLastReadVersion??=[]}function Na(e){e.liveConsumerNode??=[],e.liveConsumerIndexOfThis??=[]}function Aa(e){return e.producerNode!==void 0}function Mo(e){let t=Object.create(vf);t.computation=e;let n=()=>{if(_a(t),Pn(t),t.value===kn)throw t.error;return t.value};return n[te]=t,n}var Co=Symbol("UNSET"),bo=Symbol("COMPUTING"),kn=Symbol("ERRORED"),vf=ye(me({},Ct),{value:Co,dirty:!0,error:null,equal:Ca,producerMustRecompute(e){return e.value===Co||e.value===bo},producerRecomputeValue(e){if(e.value===bo)throw new Error("Detected cycle in computations.");let t=e.value;e.value=bo;let n=tn(e),r;try{r=e.computation()}catch(o){r=kn,e.error=o}finally{Ln(e,n)}if(t!==Co&&t!==kn&&r!==kn&&e.equal(t,r)){e.value=t;return}e.value=r,e.version++}});function Df(){throw new Error}var Oa=Df;function Fa(){Oa()}function Ra(e){Oa=e}var Ef=null;function ka(e){let t=Object.create(xo);t.value=e;let n=()=>(Pn(t),t.value);return n[te]=t,n}function nn(e,t){xa()||Fa(),e.equal(e.value,t)||(e.value=t,If(e))}function Pa(e,t){xa()||Fa(),nn(e,t(e.value))}var xo=ye(me({},Ct),{equal:Ca,value:void 0});function If(e){e.version++,yf(),Ma(e),Ef?.()}function La(e,t,n){let r=Object.create(wf);n&&(r.consumerAllowSignalWrites=!0),r.fn=e,r.schedule=t;let o=u=>{r.cleanupFn=u};function i(u){return u.fn===null&&u.schedule===null}function s(u){i(u)||(Vn(u),u.cleanupFn(),u.fn=null,u.schedule=null,u.cleanupFn=_o)}let a=()=>{if(r.fn===null)return;if(mf())throw new Error("Schedulers cannot synchronously execute watches while scheduling.");if(r.dirty=!1,r.hasRun&&!jn(r))return;r.hasRun=!0;let u=tn(r);try{r.cleanupFn(),r.cleanupFn=_o,r.fn(o)}finally{Ln(r,u)}};return r.ref={notify:()=>Sa(r),run:a,cleanup:()=>r.cleanupFn(),destroy:()=>s(r),[te]:r},r.ref}var _o=()=>{},wf=ye(me({},Ct),{consumerIsAlwaysLive:!0,consumerAllowSignalWrites:!1,consumerMarkedDirty:e=>{e.schedule!==null&&e.schedule(e.ref)},hasRun:!1,cleanupFn:_o});function m(e){return typeof e=="function"}function bt(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 Hn=bt(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 Ke(e,t){if(e){let n=e.indexOf(t);0<=n&&e.splice(n,1)}}var P=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(m(r))try{r()}catch(i){t=i instanceof Hn?i.errors:[i]}let{_finalizers:o}=this;if(o){this._finalizers=null;for(let i of o)try{ja(i)}catch(s){t=t??[],s instanceof Hn?t=[...t,...s.errors]:t.push(s)}}if(t)throw new Hn(t)}}add(t){var n;if(t&&t!==this)if(this.closed)ja(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)&&Ke(n,t)}remove(t){let{_finalizers:n}=this;n&&Ke(n,t),t instanceof e&&t._removeParent(this)}};P.EMPTY=(()=>{let e=new P;return e.closed=!0,e})();var So=P.EMPTY;function Un(e){return e instanceof P||e&&"closed"in e&&m(e.remove)&&m(e.add)&&m(e.unsubscribe)}function ja(e){m(e)?e():e.unsubscribe()}var ue={onUnhandledError:null,onStoppedNotification:null,Promise:void 0,useDeprecatedSynchronousErrorHandling:!1,useDeprecatedNextContext:!1};var _t={setTimeout(e,t,...n){let{delegate:r}=_t;return r?.setTimeout?r.setTimeout(e,t,...n):setTimeout(e,t,...n)},clearTimeout(e){let{delegate:t}=_t;return(t?.clearTimeout||clearTimeout)(e)},delegate:void 0};function Gn(e){_t.setTimeout(()=>{let{onUnhandledError:t}=ue;if(t)t(e);else throw e})}function Je(){}var Va=To("C",void 0,void 0);function Ba(e){return To("E",void 0,e)}function $a(e){return To("N",e,void 0)}function To(e,t,n){return{kind:e,value:t,error:n}}var Xe=null;function Mt(e){if(ue.useDeprecatedSynchronousErrorHandling){let t=!Xe;if(t&&(Xe={errorThrown:!1,error:null}),e(),t){let{errorThrown:n,error:r}=Xe;if(Xe=null,n)throw r}}else e()}function Ha(e){ue.useDeprecatedSynchronousErrorHandling&&Xe&&(Xe.errorThrown=!0,Xe.error=e)}var et=class extends P{constructor(t){super(),this.isStopped=!1,t?(this.destination=t,Un(t)&&t.add(this)):this.destination=_f}static create(t,n,r){return new Se(t,n,r)}next(t){this.isStopped?Ao($a(t),this):this._next(t)}error(t){this.isStopped?Ao(Ba(t),this):(this.isStopped=!0,this._error(t))}complete(){this.isStopped?Ao(Va,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()}}},Cf=Function.prototype.bind;function No(e,t){return Cf.call(e,t)}var Oo=class{constructor(t){this.partialObserver=t}next(t){let{partialObserver:n}=this;if(n.next)try{n.next(t)}catch(r){zn(r)}}error(t){let{partialObserver:n}=this;if(n.error)try{n.error(t)}catch(r){zn(r)}else zn(t)}complete(){let{partialObserver:t}=this;if(t.complete)try{t.complete()}catch(n){zn(n)}}},Se=class extends et{constructor(t,n,r){super();let o;if(m(t)||!t)o={next:t??void 0,error:n??void 0,complete:r??void 0};else{let i;this&&ue.useDeprecatedNextContext?(i=Object.create(t),i.unsubscribe=()=>this.unsubscribe(),o={next:t.next&&No(t.next,i),error:t.error&&No(t.error,i),complete:t.complete&&No(t.complete,i)}):o=t}this.destination=new Oo(o)}};function zn(e){ue.useDeprecatedSynchronousErrorHandling?Ha(e):Gn(e)}function bf(e){throw e}function Ao(e,t){let{onStoppedNotification:n}=ue;n&&_t.setTimeout(()=>n(e,t))}var _f={closed:!0,next:Je,error:bf,complete:Je};var xt=typeof Symbol=="function"&&Symbol.observable||"@@observable";function W(e){return e}function Mf(...e){return Fo(e)}function Fo(e){return e.length===0?W: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=Sf(n)?n:new Se(n,r,o);return Mt(()=>{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=Ua(r),new r((o,i)=>{let s=new Se({next:a=>{try{n(a)}catch(u){i(u),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)}[xt](){return this}pipe(...n){return Fo(n)(this)}toPromise(n){return n=Ua(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 Ua(e){var t;return(t=e??ue.Promise)!==null&&t!==void 0?t:Promise}function xf(e){return e&&m(e.next)&&m(e.error)&&m(e.complete)}function Sf(e){return e&&e instanceof et||xf(e)&&Un(e)}function Ro(e){return m(e?.lift)}function E(e){return t=>{if(Ro(t))return t.lift(function(n){try{return e(n,this)}catch(r){this.error(r)}});throw new TypeError("Unable to lift unknown Observable type")}}function D(e,t,n,r,o){return new ko(e,t,n,r,o)}var ko=class extends et{constructor(t,n,r,o,i,s){super(t),this.onFinalize=i,this.shouldUnsubscribe=s,this._next=n?function(a){try{n(a)}catch(u){t.error(u)}}:super._next,this._error=o?function(a){try{o(a)}catch(u){t.error(u)}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 Po(){return E((e,t)=>{let n=null;e._refCount++;let r=D(t,void 0,void 0,void 0,()=>{if(!e||e._refCount<=0||0<--e._refCount){n=null;return}let o=e._connection,i=n;n=null,o&&(!i||o===i)&&o.unsubscribe(),t.unsubscribe()});e.subscribe(r),r.closed||(n=e.connect())})}var Lo=class extends x{constructor(t,n){super(),this.source=t,this.subjectFactory=n,this._subject=null,this._refCount=0,this._connection=null,Ro(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 P;let n=this.getSubject();t.add(this.source.subscribe(D(n,void 0,()=>{this._teardown(),n.complete()},r=>{this._teardown(),n.error(r)},()=>this._teardown()))),t.closed&&(this._connection=null,t=P.EMPTY)}return t}refCount(){return Po()(this)}};var Ga=bt(e=>function(){e(this),this.name="ObjectUnsubscribedError",this.message="object unsubscribed"});var oe=(()=>{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 Wn(this,this);return r.operator=n,r}_throwIfClosed(){if(this.closed)throw new Ga}next(n){Mt(()=>{if(this._throwIfClosed(),!this.isStopped){this.currentObservers||(this.currentObservers=Array.from(this.observers));for(let r of this.currentObservers)r.next(n)}})}error(n){Mt(()=>{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(){Mt(()=>{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?So:(this.currentObservers=null,i.push(n),new P(()=>{this.currentObservers=null,Ke(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 Wn(t,n),e})(),Wn=class extends oe{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:So}};var rn=class extends oe{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 on={now(){return(on.delegate||Date).now()},delegate:void 0};var sn=class extends oe{constructor(t=1/0,n=1/0,r=on){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 u=1;u<r.length&&r[u]<=s;u+=2)a=u;a&&r.splice(0,a+1)}}};var qn=class extends P{constructor(t,n){super()}schedule(t,n=0){return this}};var an={setInterval(e,t,...n){let{delegate:r}=an;return r?.setInterval?r.setInterval(e,t,...n):setInterval(e,t,...n)},clearInterval(e){let{delegate:t}=an;return(t?.clearInterval||clearInterval)(e)},delegate:void 0};var St=class extends qn{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 an.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&&an.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,Ke(r,this),t!=null&&(this.id=this.recycleAsyncId(n,t,null)),this.delay=null,super.unsubscribe()}}};var Tf=1,jo,Vo={};function za(e){return e in Vo?(delete Vo[e],!0):!1}var Wa={setImmediate(e){let t=Tf++;return Vo[t]=!0,jo||(jo=Promise.resolve()),jo.then(()=>za(t)&&e()),t},clearImmediate(e){za(e)}};var{setImmediate:Nf,clearImmediate:Af}=Wa,un={setImmediate(...e){let{delegate:t}=un;return(t?.setImmediate||Nf)(...e)},clearImmediate(e){let{delegate:t}=un;return(t?.clearImmediate||Af)(e)},delegate:void 0};var Zn=class extends St{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=un.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&&(un.clearImmediate(n),t._scheduled===n&&(t._scheduled=void 0))}};var Tt=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)}};Tt.now=on.now;var Nt=class extends Tt{constructor(t,n=Tt.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 Yn=class extends Nt{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 Of=new Yn(Zn);var tt=new Nt(St),qa=tt;var nt=new x(e=>e.complete());function Qn(e){return e&&m(e.schedule)}function Bo(e){return e[e.length-1]}function Kn(e){return m(Bo(e))?e.pop():void 0}function ve(e){return Qn(Bo(e))?e.pop():void 0}function Za(e,t){return typeof Bo(e)=="number"?e.pop():t}function Qa(e,t,n,r){function o(i){return i instanceof n?i:new n(function(s){s(i)})}return new(n||(n=Promise))(function(i,s){function a(l){try{c(r.next(l))}catch(d){s(d)}}function u(l){try{c(r.throw(l))}catch(d){s(d)}}function c(l){l.done?i(l.value):o(l.value).then(a,u)}c((r=r.apply(e,t||[])).next())})}function Ya(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 rt(e){return this instanceof rt?(this.v=e,this):new rt(e)}function Ka(e,t,n){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var r=n.apply(e,t||[]),o,i=[];return o={},a("next"),a("throw"),a("return",s),o[Symbol.asyncIterator]=function(){return this},o;function s(f){return function(h){return Promise.resolve(h).then(f,d)}}function a(f,h){r[f]&&(o[f]=function(g){return new Promise(function(T,_){i.push([f,g,T,_])>1||u(f,g)})},h&&(o[f]=h(o[f])))}function u(f,h){try{c(r[f](h))}catch(g){p(i[0][3],g)}}function c(f){f.value instanceof rt?Promise.resolve(f.value.v).then(l,d):p(i[0][2],f)}function l(f){u("next",f)}function d(f){u("throw",f)}function p(f,h){f(h),i.shift(),i.length&&u(i[0][0],i[0][1])}}function Ja(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 Ya=="function"?Ya(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,u){s=e[i](s),o(a,u,s.done,s.value)})}}function o(i,s,a,u){Promise.resolve(u).then(function(c){i({value:c,done:a})},s)}}var At=e=>e&&typeof e.length=="number"&&typeof e!="function";function Jn(e){return m(e?.then)}function Xn(e){return m(e[xt])}function er(e){return Symbol.asyncIterator&&m(e?.[Symbol.asyncIterator])}function tr(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 Ff(){return typeof Symbol!="function"||!Symbol.iterator?"@@iterator":Symbol.iterator}var nr=Ff();function rr(e){return m(e?.[nr])}function or(e){return Ka(this,arguments,function*(){let n=e.getReader();try{for(;;){let{value:r,done:o}=yield rt(n.read());if(o)return yield rt(void 0);yield yield rt(r)}}finally{n.releaseLock()}})}function ir(e){return m(e?.getReader)}function N(e){if(e instanceof x)return e;if(e!=null){if(Xn(e))return Rf(e);if(At(e))return kf(e);if(Jn(e))return Pf(e);if(er(e))return Xa(e);if(rr(e))return Lf(e);if(ir(e))return jf(e)}throw tr(e)}function Rf(e){return new x(t=>{let n=e[xt]();if(m(n.subscribe))return n.subscribe(t);throw new TypeError("Provided object does not correctly implement Symbol.observable")})}function kf(e){return new x(t=>{for(let n=0;n<e.length&&!t.closed;n++)t.next(e[n]);t.complete()})}function Pf(e){return new x(t=>{e.then(n=>{t.closed||(t.next(n),t.complete())},n=>t.error(n)).then(null,Gn)})}function Lf(e){return new x(t=>{for(let n of e)if(t.next(n),t.closed)return;t.complete()})}function Xa(e){return new x(t=>{Vf(e,t).catch(n=>t.error(n))})}function jf(e){return Xa(or(e))}function Vf(e,t){var n,r,o,i;return Qa(this,void 0,void 0,function*(){try{for(n=Ja(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 K(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 sr(e,t=0){return E((n,r)=>{n.subscribe(D(r,o=>K(r,e,()=>r.next(o),t),()=>K(r,e,()=>r.complete(),t),o=>K(r,e,()=>r.error(o),t)))})}function ar(e,t=0){return E((n,r)=>{r.add(e.schedule(()=>n.subscribe(r),t))})}function eu(e,t){return N(e).pipe(ar(t),sr(t))}function tu(e,t){return N(e).pipe(ar(t),sr(t))}function nu(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 ru(e,t){return new x(n=>{let r;return K(n,t,()=>{r=e[nr](),K(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)}),()=>m(r?.return)&&r.return()})}function ur(e,t){if(!e)throw new Error("Iterable cannot be null");return new x(n=>{K(n,t,()=>{let r=e[Symbol.asyncIterator]();K(n,t,()=>{r.next().then(o=>{o.done?n.complete():n.next(o.value)})},0,!0)})})}function ou(e,t){return ur(or(e),t)}function iu(e,t){if(e!=null){if(Xn(e))return eu(e,t);if(At(e))return nu(e,t);if(Jn(e))return tu(e,t);if(er(e))return ur(e,t);if(rr(e))return ru(e,t);if(ir(e))return ou(e,t)}throw tr(e)}function De(e,t){return t?iu(e,t):N(e)}function Bf(...e){let t=ve(e);return De(e,t)}function $f(e,t){let n=m(e)?e:()=>e,r=o=>o.error(n());return new x(t?o=>t.schedule(r,0,o):r)}function Hf(e){return!!e&&(e instanceof x||m(e.lift)&&m(e.subscribe))}var ot=bt(e=>function(){e(this),this.name="EmptyError",this.message="no elements in sequence"});function su(e){return e instanceof Date&&!isNaN(e)}function Ee(e,t){return E((n,r)=>{let o=0;n.subscribe(D(r,i=>{r.next(e.call(t,i,o++))}))})}var{isArray:Uf}=Array;function Gf(e,t){return Uf(t)?e(...t):e(t)}function Ot(e){return Ee(t=>Gf(e,t))}var{isArray:zf}=Array,{getPrototypeOf:Wf,prototype:qf,keys:Zf}=Object;function cr(e){if(e.length===1){let t=e[0];if(zf(t))return{args:t,keys:null};if(Yf(t)){let n=Zf(t);return{args:n.map(r=>t[r]),keys:n}}}return{args:e,keys:null}}function Yf(e){return e&&typeof e=="object"&&Wf(e)===qf}function lr(e,t){return e.reduce((n,r,o)=>(n[r]=t[o],n),{})}function Qf(...e){let t=ve(e),n=Kn(e),{args:r,keys:o}=cr(e);if(r.length===0)return De([],t);let i=new x(Kf(r,t,o?s=>lr(o,s):W));return n?i.pipe(Ot(n)):i}function Kf(e,t,n=W){return r=>{au(t,()=>{let{length:o}=e,i=new Array(o),s=o,a=o;for(let u=0;u<o;u++)au(t,()=>{let c=De(e[u],t),l=!1;c.subscribe(D(r,d=>{i[u]=d,l||(l=!0,a--),a||r.next(n(i.slice()))},()=>{--s||r.complete()}))},r)},r)}}function au(e,t,n){e?K(n,e,t):t()}function uu(e,t,n,r,o,i,s,a){let u=[],c=0,l=0,d=!1,p=()=>{d&&!u.length&&!c&&t.complete()},f=g=>c<r?h(g):u.push(g),h=g=>{i&&t.next(g),c++;let T=!1;N(n(g,l++)).subscribe(D(t,_=>{o?.(_),i?f(_):t.next(_)},()=>{T=!0},void 0,()=>{if(T)try{for(c--;u.length&&c<r;){let _=u.shift();s?K(t,s,()=>h(_)):h(_)}p()}catch(_){t.error(_)}}))};return e.subscribe(D(t,f,()=>{d=!0,p()})),()=>{a?.()}}function ce(e,t,n=1/0){return m(t)?ce((r,o)=>Ee((i,s)=>t(r,i,o,s))(N(e(r,o))),n):(typeof t=="number"&&(n=t),E((r,o)=>uu(r,o,e,n)))}function cn(e=1/0){return ce(W,e)}function cu(){return cn(1)}function Ft(...e){return cu()(De(e,ve(e)))}function Jf(e){return new x(t=>{N(e()).subscribe(t)})}function Xf(...e){let t=Kn(e),{args:n,keys:r}=cr(e),o=new x(i=>{let{length:s}=n;if(!s){i.complete();return}let a=new Array(s),u=s,c=s;for(let l=0;l<s;l++){let d=!1;N(n[l]).subscribe(D(i,p=>{d||(d=!0,c--),a[l]=p},()=>u--,void 0,()=>{(!u||!d)&&(c||i.next(r?lr(r,a):a),i.complete())}))}});return t?o.pipe(Ot(t)):o}var ep=["addListener","removeListener"],tp=["addEventListener","removeEventListener"],np=["on","off"];function $o(e,t,n,r){if(m(n)&&(r=n,n=void 0),r)return $o(e,t,n).pipe(Ot(r));let[o,i]=ip(e)?tp.map(s=>a=>e[s](t,a,n)):rp(e)?ep.map(lu(e,t)):op(e)?np.map(lu(e,t)):[];if(!o&&At(e))return ce(s=>$o(s,t,n))(N(e));if(!o)throw new TypeError("Invalid event target");return new x(s=>{let a=(...u)=>s.next(1<u.length?u:u[0]);return o(a),()=>i(a)})}function lu(e,t){return n=>r=>e[n](t,r)}function rp(e){return m(e.addListener)&&m(e.removeListener)}function op(e){return m(e.on)&&m(e.off)}function ip(e){return m(e.addEventListener)&&m(e.removeEventListener)}function ln(e=0,t,n=qa){let r=-1;return t!=null&&(Qn(t)?n=t:r=t),new x(o=>{let i=su(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 sp(...e){let t=ve(e),n=Za(e,1/0),r=e;return r.length?r.length===1?N(r[0]):cn(n)(De(r,t)):nt}function it(e,t){return E((n,r)=>{let o=0;n.subscribe(D(r,i=>e.call(t,i,o++)&&r.next(i)))})}function du(e){return E((t,n)=>{let r=!1,o=null,i=null,s=!1,a=()=>{if(i?.unsubscribe(),i=null,r){r=!1;let c=o;o=null,n.next(c)}s&&n.complete()},u=()=>{i=null,s&&n.complete()};t.subscribe(D(n,c=>{r=!0,o=c,i||N(e(c)).subscribe(i=D(n,a,u))},()=>{s=!0,(!r||!i||i.closed)&&n.complete()}))})}function ap(e,t=tt){return du(()=>ln(e,t))}function Ho(e){return E((t,n)=>{let r=null,o=!1,i;r=t.subscribe(D(n,void 0,void 0,s=>{i=N(e(s,Ho(e)(t))),r?(r.unsubscribe(),r=null,i.subscribe(n)):o=!0})),o&&(r.unsubscribe(),r=null,i.subscribe(n))})}function fu(e,t,n,r,o){return(i,s)=>{let a=n,u=t,c=0;i.subscribe(D(s,l=>{let d=c++;u=a?e(u,l,d):(a=!0,l),r&&s.next(u)},o&&(()=>{a&&s.next(u),s.complete()})))}}function up(e,t){return m(t)?ce(e,t,1):ce(e,1)}function cp(e,t=tt){return E((n,r)=>{let o=null,i=null,s=null,a=()=>{if(o){o.unsubscribe(),o=null;let c=i;i=null,r.next(c)}};function u(){let c=s+e,l=t.now();if(l<c){o=this.schedule(void 0,c-l),r.add(o);return}a()}n.subscribe(D(r,c=>{i=c,s=t.now(),o||(o=t.schedule(u,e),r.add(o))},()=>{a(),r.complete()},void 0,()=>{i=o=null}))})}function dn(e){return E((t,n)=>{let r=!1;t.subscribe(D(n,o=>{r=!0,n.next(o)},()=>{r||n.next(e),n.complete()}))})}function st(e){return e<=0?()=>nt:E((t,n)=>{let r=0;t.subscribe(D(n,o=>{++r<=e&&(n.next(o),e<=r&&n.complete())}))})}function pu(){return E((e,t)=>{e.subscribe(D(t,Je))})}function Uo(e){return Ee(()=>e)}function Go(e,t){return t?n=>Ft(t.pipe(st(1),pu()),n.pipe(Go(e))):ce((n,r)=>N(e(n,r)).pipe(st(1),Uo(n)))}function lp(e,t=tt){let n=ln(e,t);return Go(()=>n)}function dp(e,t=W){return e=e??fp,E((n,r)=>{let o,i=!0;n.subscribe(D(r,s=>{let a=t(s);(i||!e(o,a))&&(i=!1,o=a,r.next(s))}))})}function fp(e,t){return e===t}function dr(e=pp){return E((t,n)=>{let r=!1;t.subscribe(D(n,o=>{r=!0,n.next(o)},()=>r?n.complete():n.error(e())))})}function pp(){return new ot}function hp(e){return E((t,n)=>{try{t.subscribe(n)}finally{n.add(e)}})}function hu(e,t){let n=arguments.length>=2;return r=>r.pipe(e?it((o,i)=>e(o,i,r)):W,st(1),n?dn(t):dr(()=>new ot))}function zo(e){return e<=0?()=>nt:E((t,n)=>{let r=[];t.subscribe(D(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 gp(e,t){let n=arguments.length>=2;return r=>r.pipe(e?it((o,i)=>e(o,i,r)):W,zo(1),n?dn(t):dr(()=>new ot))}function mp(e,t){return E(fu(e,t,arguments.length>=2,!0))}function qo(e={}){let{connector:t=()=>new oe,resetOnError:n=!0,resetOnComplete:r=!0,resetOnRefCountZero:o=!0}=e;return i=>{let s,a,u,c=0,l=!1,d=!1,p=()=>{a?.unsubscribe(),a=void 0},f=()=>{p(),s=u=void 0,l=d=!1},h=()=>{let g=s;f(),g?.unsubscribe()};return E((g,T)=>{c++,!d&&!l&&p();let _=u=u??t();T.add(()=>{c--,c===0&&!d&&!l&&(a=Wo(h,o))}),_.subscribe(T),!s&&c>0&&(s=new Se({next:j=>_.next(j),error:j=>{d=!0,p(),a=Wo(f,n,j),_.error(j)},complete:()=>{l=!0,p(),a=Wo(f,r),_.complete()}}),N(g).subscribe(s))})(i)}}function Wo(e,t,...n){if(t===!0){e();return}if(t===!1)return;let r=new Se({next:()=>{r.unsubscribe(),e()}});return N(t(...n)).subscribe(r)}function yp(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,qo({connector:()=>new sn(r,t,n),resetOnError:!0,resetOnComplete:!1,resetOnRefCountZero:o})}function vp(e){return it((t,n)=>e<=n)}function gu(...e){let t=ve(e);return E((n,r)=>{(t?Ft(e,n,t):Ft(e,n)).subscribe(r)})}function Dp(e,t){return E((n,r)=>{let o=null,i=0,s=!1,a=()=>s&&!o&&r.complete();n.subscribe(D(r,u=>{o?.unsubscribe();let c=0,l=i++;N(e(u,l)).subscribe(o=D(r,d=>r.next(t?t(u,d,l,c++):d),()=>{o=null,a()}))},()=>{s=!0,a()}))})}function Ep(e){return E((t,n)=>{N(e).subscribe(D(n,()=>n.complete(),Je)),!n.closed&&t.subscribe(n)})}function Ip(e,t=!1){return E((n,r)=>{let o=0;n.subscribe(D(r,i=>{let s=e(i,o++);(s||t)&&r.next(i),!s&&r.complete()}))})}function wp(e,t,n){let r=m(e)||t||n?{next:e,error:t,complete:n}:e;return r?E((o,i)=>{var s;(s=r.subscribe)===null||s===void 0||s.call(r);let a=!0;o.subscribe(D(i,u=>{var c;(c=r.next)===null||c===void 0||c.call(r,u),i.next(u)},()=>{var u;a=!1,(u=r.complete)===null||u===void 0||u.call(r),i.complete()},u=>{var c;a=!1,(c=r.error)===null||c===void 0||c.call(r,u),i.error(u)},()=>{var u,c;a&&((u=r.unsubscribe)===null||u===void 0||u.call(r)),(c=r.finalize)===null||c===void 0||c.call(r)}))}):W}var sc="https://g.co/ng/security#xss",S=class extends Error{constructor(t,n){super(ac(t,n)),this.code=t}};function ac(e,t){return`${`NG0${Math.abs(e)}`}${t?": "+t:""}`}var uc=Symbol("InputSignalNode#UNSET"),Cp=ye(me({},xo),{transformFn:void 0,applyValueToInputSignal(e,t){nn(e,t)}});function wn(e){return{toString:e}.toString()}var fr="__parameters__";function bp(e){return function(...n){if(e){let r=e(...n);for(let o in r)this[o]=r[o]}}}function cc(e,t,n){return wn(()=>{let r=bp(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(u,c,l){let d=u.hasOwnProperty(fr)?u[fr]:Object.defineProperty(u,fr,{value:[]})[fr];for(;d.length<=l;)d.push(null);return(d[l]=d[l]||[]).push(s),u}}return n&&(o.prototype=Object.create(n.prototype)),o.prototype.ngMetadataName=e,o.annotationCls=o,o})}var Vt=globalThis;function O(e){for(let t in e)if(e[t]===O)return t;throw Error("Could not find renamed property on target object.")}function _p(e,t){for(let n in t)t.hasOwnProperty(n)&&!e.hasOwnProperty(n)&&(e[n]=t[n])}function X(e){if(typeof e=="string")return e;if(Array.isArray(e))return"["+e.map(X).join(", ")+"]";if(e==null)return""+e;if(e.overriddenName)return`${e.overriddenName}`;if(e.name)return`${e.name}`;let t=e.toString();if(t==null)return""+t;let n=t.indexOf(`
`);return n===-1?t:t.substring(0,n)}function ui(e,t){return e==null||e===""?t===null?"":t:t==null||t===""?e:e+" "+t}var Mp=O({__forward_ref__:O});function lc(e){return e.__forward_ref__=lc,e.toString=function(){return X(this())},e}function $(e){return dc(e)?e():e}function dc(e){return typeof e=="function"&&e.hasOwnProperty(Mp)&&e.__forward_ref__===lc}function k(e){return{token:e.token,providedIn:e.providedIn||null,factory:e.factory,value:void 0}}function fc(e){return{providers:e.providers||[],imports:e.imports||[]}}function Kr(e){return mu(e,pc)||mu(e,hc)}function BM(e){return Kr(e)!==null}function mu(e,t){return e.hasOwnProperty(t)?e[t]:null}function xp(e){let t=e&&(e[pc]||e[hc]);return t||null}function yu(e){return e&&(e.hasOwnProperty(vu)||e.hasOwnProperty(Sp))?e[vu]:null}var pc=O({\u0275prov:O}),vu=O({\u0275inj:O}),hc=O({ngInjectableDef:O}),Sp=O({ngInjectorDef:O}),A=class{constructor(t,n){this._desc=t,this.ngMetadataName="InjectionToken",this.\u0275prov=void 0,typeof n=="number"?this.__NG_ELEMENT_ID__=n:n!==void 0&&(this.\u0275prov=k({token:this,providedIn:n.providedIn||"root",factory:n.factory}))}get multi(){return this}toString(){return`InjectionToken ${this._desc}`}};function gc(e){return e&&!!e.\u0275providers}var Tp=O({\u0275cmp:O}),Np=O({\u0275dir:O}),Ap=O({\u0275pipe:O}),Op=O({\u0275mod:O}),_r=O({\u0275fac:O}),fn=O({__NG_ELEMENT_ID__:O}),Du=O({__NG_ENV_ID__:O});function Cn(e){return typeof e=="string"?e:e==null?"":String(e)}function Fp(e){return typeof e=="function"?e.name||e.toString():typeof e=="object"&&e!=null&&typeof e.type=="function"?e.type.name||e.type.toString():Cn(e)}function Rp(e,t){let n=t?`. Dependency path: ${t.join(" > ")} > ${e}`:"";throw new S(-200,e)}function ms(e,t){throw new S(-201,!1)}var M=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}(M||{}),ci;function mc(){return ci}function J(e){let t=ci;return ci=e,t}function yc(e,t,n){let r=Kr(e);if(r&&r.providedIn=="root")return r.value===void 0?r.value=r.factory():r.value;if(n&M.Optional)return null;if(t!==void 0)return t;ms(e,"Injector")}var kp={},pn=kp,li="__NG_DI_FLAG__",Mr="ngTempTokenPath",Pp="ngTokenPath",Lp=/\n/gm,jp="\u0275",Eu="__source",Lt;function Vp(){return Lt}function Be(e){let t=Lt;return Lt=e,t}function Bp(e,t=M.Default){if(Lt===void 0)throw new S(-203,!1);return Lt===null?yc(e,void 0,t):Lt.get(e,t&M.Optional?null:void 0,t)}function G(e,t=M.Default){return(mc()||Bp)($(e),t)}function w(e,t=M.Default){return G(e,Jr(t))}function Jr(e){return typeof e>"u"||typeof e=="number"?e:0|(e.optional&&8)|(e.host&&1)|(e.self&&2)|(e.skipSelf&&4)}function di(e){let t=[];for(let n=0;n<e.length;n++){let r=$(e[n]);if(Array.isArray(r)){if(r.length===0)throw new S(900,!1);let o,i=M.Default;for(let s=0;s<r.length;s++){let a=r[s],u=$p(a);typeof u=="number"?u===-1?o=a.token:i|=u:o=a}t.push(G(o,i))}else t.push(G(r))}return t}function vc(e,t){return e[li]=t,e.prototype[li]=t,e}function $p(e){return e[li]}function Hp(e,t,n,r){let o=e[Mr];throw t[Eu]&&o.unshift(t[Eu]),e.message=Up(`
`+e.message,o,n,r),e[Pp]=o,e[Mr]=null,e}function Up(e,t,n,r=null){e=e&&e.charAt(0)===`
`&&e.charAt(1)==jp?e.slice(2):e;let o=X(t);if(Array.isArray(t))o=t.map(X).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):X(a)))}o=`{${i.join(", ")}}`}return`${n}${r?"("+r+")":""}[${o}]: ${e.replace(Lp,`
`)}`}var $M=vc(cc("Optional"),8);var HM=vc(cc("SkipSelf"),4);function ct(e,t){let n=e.hasOwnProperty(_r);return n?e[_r]:null}function Gp(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 zp(e){return e.flat(Number.POSITIVE_INFINITY)}function ys(e,t){e.forEach(n=>Array.isArray(n)?ys(n,t):t(n))}function Dc(e,t,n){t>=e.length?e.push(n):e.splice(t,0,n)}function xr(e,t){return t>=e.length-1?e.pop():e.splice(t,1)[0]}function Wp(e,t){let n=[];for(let r=0;r<e;r++)n.push(t);return n}function qp(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 Xr(e,t,n){let r=bn(e,t);return r>=0?e[r|1]=n:(r=~r,qp(e,r,t,n)),r}function Zo(e,t){let n=bn(e,t);if(n>=0)return e[n|1]}function bn(e,t){return Zp(e,t,1)}function Zp(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 Te={},q=[],Sr=new A(""),Ec=new A("",-1),Ic=new A(""),Tr=class{get(t,n=pn){if(n===pn){let r=new Error(`NullInjectorError: No provider for ${X(t)}!`);throw r.name="NullInjectorError",r}return n}},wc=function(e){return e[e.OnPush=0]="OnPush",e[e.Default=1]="Default",e}(wc||{}),hn=function(e){return e[e.Emulated=0]="Emulated",e[e.None=2]="None",e[e.ShadowDom=3]="ShadowDom",e}(hn||{}),Ue=function(e){return e[e.None=0]="None",e[e.SignalBased=1]="SignalBased",e[e.HasDecoratorInputTransform=2]="HasDecoratorInputTransform",e}(Ue||{});function Yp(e,t,n){let r=e.length;for(;;){let o=e.indexOf(t,n);if(o===-1)return o;if(o===0||e.charCodeAt(o-1)<=32){let i=t.length;if(o+i===r||e.charCodeAt(o+i)<=32)return o}n=o+1}}function fi(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];Qp(i)?e.setProperty(t,i,s):e.setAttribute(t,i,s),r++}}return r}function Cc(e){return e===3||e===4||e===6}function Qp(e){return e.charCodeAt(0)===64}function gn(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){if(r===null){o!==null&&(e[i+1]=o);return}else if(r===e[i+1]){e[i+2]=o;return}}i++,r!==null&&i++,o!==null&&i++}s!==-1&&(e.splice(s,0,t),i=s+1),e.splice(i++,0,n),r!==null&&e.splice(i++,0,r),o!==null&&e.splice(i++,0,o)}var bc="ng-template";function Kp(e,t,n,r){let o=0;if(r){for(;o<t.length&&typeof t[o]=="string";o+=2)if(t[o]==="class"&&Yp(t[o+1].toLowerCase(),n,0)!==-1)return!0}else if(vs(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 vs(e){return e.type===4&&e.value!==bc}function Jp(e,t,n){let r=e.type===4&&!n?bc:e.value;return t===r}function Xp(e,t,n){let r=4,o=e.attrs,i=o!==null?nh(o):0,s=!1;for(let a=0;a<t.length;a++){let u=t[a];if(typeof u=="number"){if(!s&&!le(r)&&!le(u))return!1;if(s&&le(u))continue;s=!1,r=u|r&1;continue}if(!s)if(r&4){if(r=2|r&1,u!==""&&!Jp(e,u,n)||u===""&&t.length===1){if(le(r))return!1;s=!0}}else if(r&8){if(o===null||!Kp(e,o,u,n)){if(le(r))return!1;s=!0}}else{let c=t[++a],l=eh(u,o,vs(e),n);if(l===-1){if(le(r))return!1;s=!0;continue}if(c!==""){let d;if(l>i?d="":d=o[l+1].toLowerCase(),r&2&&c!==d){if(le(r))return!1;s=!0}}}}return le(r)||s}function le(e){return(e&1)===0}function eh(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 rh(t,e)}function _c(e,t,n=!1){for(let r=0;r<t.length;r++)if(Xp(e,t[r],n))return!0;return!1}function th(e){let t=e.attrs;if(t!=null){let n=t.indexOf(5);if(!(n&1))return t[n+1]}return null}function nh(e){for(let t=0;t<e.length;t++){let n=e[t];if(Cc(n))return t}return e.length}function rh(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 oh(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 wu(e,t){return e?":not("+t.trim()+")":t}function ih(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!==""&&!le(s)&&(t+=wu(i,o),o=""),r=s,i=i||!le(r);n++}return o!==""&&(t+=wu(i,o)),t}function sh(e){return e.map(ih).join(",")}function ah(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(!le(o))break;o=i}r++}return{attrs:t,classes:n}}function UM(e){return wn(()=>{let t=Nc(e),n=ye(me({},t),{decls:e.decls,vars:e.vars,template:e.template,consts:e.consts||null,ngContentSelectors:e.ngContentSelectors,onPush:e.changeDetection===wc.OnPush,directiveDefs:null,pipeDefs:null,dependencies:t.standalone&&e.dependencies||null,getStandaloneInjector:null,signals:e.signals??!1,data:e.data||{},encapsulation:e.encapsulation||hn.Emulated,styles:e.styles||q,_:null,schemas:e.schemas||null,tView:null,id:""});Ac(n);let r=e.dependencies;return n.directiveDefs=bu(r,!1),n.pipeDefs=bu(r,!0),n.id=dh(n),n})}function uh(e){return Ne(e)||Es(e)}function ch(e){return e!==null}function Mc(e){return wn(()=>({type:e.type,bootstrap:e.bootstrap||q,declarations:e.declarations||q,imports:e.imports||q,exports:e.exports||q,transitiveCompileScopes:null,schemas:e.schemas||null,id:e.id||null}))}function Cu(e,t){if(e==null)return Te;let n={};for(let r in e)if(e.hasOwnProperty(r)){let o=e[r],i,s,a=Ue.None;Array.isArray(o)?(a=o[0],i=o[1],s=o[2]??i):(i=o,s=o),t?(n[i]=a!==Ue.None?[r,a]:r,t[i]=s):n[i]=r}return n}function Ds(e){return wn(()=>{let t=Nc(e);return Ac(t),t})}function xc(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 Ne(e){return e[Tp]||null}function Es(e){return e[Np]||null}function Sc(e){return e[Ap]||null}function lh(e){let t=Ne(e)||Es(e)||Sc(e);return t!==null?t.standalone:!1}function Tc(e,t){let n=e[Op]||null;if(!n&&t===!0)throw new Error(`Type ${X(e)} does not have '\u0275mod' property.`);return n}function Nc(e){let t={};return{type:e.type,providersResolver:null,factory:null,hostBindings:e.hostBindings||null,hostVars:e.hostVars||0,hostAttrs:e.hostAttrs||null,contentQueries:e.contentQueries||null,declaredInputs:t,inputTransforms:null,inputConfig:e.inputs||Te,exportAs:e.exportAs||null,standalone:e.standalone===!0,signals:e.signals===!0,selectors:e.selectors||q,viewQuery:e.viewQuery||null,features:e.features||null,setInput:null,findHostDirectiveDefs:null,hostDirectives:null,inputs:Cu(e.inputs,t),outputs:Cu(e.outputs),debugInfo:null}}function Ac(e){e.features?.forEach(t=>t(e))}function bu(e,t){if(!e)return null;let n=t?Sc:uh;return()=>(typeof e=="function"?e():e).map(r=>n(r)).filter(ch)}function dh(e){let t=0,n=[e.selectors,e.ngContentSelectors,e.hostVars,e.hostAttrs,e.consts,e.vars,e.decls,e.encapsulation,e.standalone,e.signals,e.exportAs,JSON.stringify(e.inputs),JSON.stringify(e.outputs),Object.getOwnPropertyNames(e.type.prototype),!!e.contentQueries,!!e.viewQuery].join("|");for(let o of n)t=Math.imul(31,t)+o.charCodeAt(0)<<0;return t+=2147483648,"c"+t}function fh(e){return{\u0275providers:e}}function ph(...e){return{\u0275providers:Oc(!0,e),\u0275fromNgModule:!0}}function Oc(e,...t){let n=[],r=new Set,o,i=s=>{n.push(s)};return ys(t,s=>{let a=s;pi(a,i,[],r)&&(o||=[],o.push(a))}),o!==void 0&&Fc(o,i),n}function Fc(e,t){for(let n=0;n<e.length;n++){let{ngModule:r,providers:o}=e[n];Is(o,i=>{t(i,r)})}}function pi(e,t,n,r){if(e=$(e),!e)return!1;let o=null,i=yu(e),s=!i&&Ne(e);if(!i&&!s){let u=e.ngModule;if(i=yu(u),i)o=u;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 u=typeof s.dependencies=="function"?s.dependencies():s.dependencies;for(let c of u)pi(c,t,n,r)}}else if(i){if(i.imports!=null&&!a){r.add(o);let c;try{ys(i.imports,l=>{pi(l,t,n,r)&&(c||=[],c.push(l))})}finally{}c!==void 0&&Fc(c,t)}if(!a){let c=ct(o)||(()=>new o);t({provide:o,useFactory:c,deps:q},o),t({provide:Ic,useValue:o,multi:!0},o),t({provide:Sr,useValue:()=>G(o),multi:!0},o)}let u=i.providers;if(u!=null&&!a){let c=e;Is(u,l=>{t(l,c)})}}else return!1;return o!==e&&e.providers!==void 0}function Is(e,t){for(let n of e)gc(n)&&(n=n.\u0275providers),Array.isArray(n)?Is(n,t):t(n)}var hh=O({provide:String,useValue:O});function Rc(e){return e!==null&&typeof e=="object"&&hh in e}function gh(e){return!!(e&&e.useExisting)}function mh(e){return!!(e&&e.useFactory)}function Bt(e){return typeof e=="function"}function yh(e){return!!e.useClass}var kc=new A(""),vr={},vh={},Yo;function eo(){return Yo===void 0&&(Yo=new Tr),Yo}var Ge=class{},mn=class extends Ge{get destroyed(){return this._destroyed}constructor(t,n,r,o){super(),this.parent=n,this.source=r,this.scopes=o,this.records=new Map,this._ngOnDestroyHooks=new Set,this._onDestroyHooks=[],this._destroyed=!1,gi(t,s=>this.processProvider(s)),this.records.set(Ec,Rt(void 0,this)),o.has("environment")&&this.records.set(Ge,Rt(void 0,this));let i=this.records.get(kc);i!=null&&typeof i.value=="string"&&this.scopes.add(i.value),this.injectorDefTypes=new Set(this.get(Ic,q,M.Self))}destroy(){this.assertNotDestroyed(),this._destroyed=!0;let t=b(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(),b(t)}}onDestroy(t){return this.assertNotDestroyed(),this._onDestroyHooks.push(t),()=>this.removeOnDestroy(t)}runInContext(t){this.assertNotDestroyed();let n=Be(this),r=J(void 0),o;try{return t()}finally{Be(n),J(r)}}get(t,n=pn,r=M.Default){if(this.assertNotDestroyed(),t.hasOwnProperty(Du))return t[Du](this);r=Jr(r);let o,i=Be(this),s=J(void 0);try{if(!(r&M.SkipSelf)){let u=this.records.get(t);if(u===void 0){let c=Ch(t)&&Kr(t);c&&this.injectableDefInScope(c)?u=Rt(hi(t),vr):u=null,this.records.set(t,u)}if(u!=null)return this.hydrate(t,u)}let a=r&M.Self?eo():this.parent;return n=r&M.Optional&&n===pn?null:n,a.get(t,n)}catch(a){if(a.name==="NullInjectorError"){if((a[Mr]=a[Mr]||[]).unshift(X(t)),i)throw a;return Hp(a,t,"R3InjectorError",this.source)}else throw a}finally{J(s),Be(i)}}resolveInjectorInitializers(){let t=b(null),n=Be(this),r=J(void 0),o;try{let i=this.get(Sr,q,M.Self);for(let s of i)s()}finally{Be(n),J(r),b(t)}}toString(){let t=[],n=this.records;for(let r of n.keys())t.push(X(r));return`R3Injector[${t.join(", ")}]`}assertNotDestroyed(){if(this._destroyed)throw new S(205,!1)}processProvider(t){t=$(t);let n=Bt(t)?t:$(t&&t.provide),r=Eh(t);if(!Bt(t)&&t.multi===!0){let o=this.records.get(n);o||(o=Rt(void 0,vr,!0),o.factory=()=>di(o.multi),this.records.set(n,o)),n=t,o.multi.push(t)}this.records.set(n,r)}hydrate(t,n){let r=b(null);try{return n.value===vr&&(n.value=vh,n.value=n.factory()),typeof n.value=="object"&&n.value&&wh(n.value)&&this._ngOnDestroyHooks.add(n.value),n.value}finally{b(r)}}injectableDefInScope(t){if(!t.providedIn)return!1;let n=$(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 hi(e){let t=Kr(e),n=t!==null?t.factory:ct(e);if(n!==null)return n;if(e instanceof A)throw new S(204,!1);if(e instanceof Function)return Dh(e);throw new S(204,!1)}function Dh(e){if(e.length>0)throw new S(204,!1);let n=xp(e);return n!==null?()=>n.factory(e):()=>new e}function Eh(e){if(Rc(e))return Rt(void 0,e.useValue);{let t=Pc(e);return Rt(t,vr)}}function Pc(e,t,n){let r;if(Bt(e)){let o=$(e);return ct(o)||hi(o)}else if(Rc(e))r=()=>$(e.useValue);else if(mh(e))r=()=>e.useFactory(...di(e.deps||[]));else if(gh(e))r=()=>G($(e.useExisting));else{let o=$(e&&(e.useClass||e.provide));if(Ih(e))r=()=>new o(...di(e.deps));else return ct(o)||hi(o)}return r}function Rt(e,t,n=!1){return{factory:e,value:t,multi:n?[]:void 0}}function Ih(e){return!!e.deps}function wh(e){return e!==null&&typeof e=="object"&&typeof e.ngOnDestroy=="function"}function Ch(e){return typeof e=="function"||typeof e=="object"&&e instanceof A}function gi(e,t){for(let n of e)Array.isArray(n)?gi(n,t):n&&gc(n)?gi(n.\u0275providers,t):t(n)}function bh(e,t){e instanceof mn&&e.assertNotDestroyed();let n,r=Be(e),o=J(void 0);try{return t()}finally{Be(r),J(o)}}function Lc(){return mc()!==void 0||Vp()!=null}function ws(e){if(!Lc())throw new S(-203,!1)}function _h(e){return typeof e=="function"}var _e=0,I=1,y=2,z=3,pe=4,ee=5,$t=6,Nr=7,H=8,Ht=9,Ce=10,R=11,yn=12,_u=13,Yt=14,ne=15,lt=16,kt=17,Ae=18,to=19,jc=20,$e=21,Dr=22,ie=23,V=25,Cs=1;var dt=7,Ar=8,Ut=9,U=10,Or=function(e){return e[e.None=0]="None",e[e.HasTransplantedViews=2]="HasTransplantedViews",e}(Or||{});function He(e){return Array.isArray(e)&&typeof e[Cs]=="object"}function Pe(e){return Array.isArray(e)&&e[Cs]===!0}function bs(e){return(e.flags&4)!==0}function no(e){return e.componentOffset>-1}function ro(e){return(e.flags&1)===1}function Oe(e){return!!e.template}function mi(e){return(e[y]&512)!==0}var yi=class{constructor(t,n,r){this.previousValue=t,this.currentValue=n,this.firstChange=r}isFirstChange(){return this.firstChange}};function Vc(e,t,n,r){t!==null?t.applyValueToInputSignal(t,r):e[n]=r}function _s(){return Bc}function Bc(e){return e.type.prototype.ngOnChanges&&(e.setInput=xh),Mh}_s.ngInherit=!0;function Mh(){let e=Hc(this),t=e?.current;if(t){let n=e.previous;if(n===Te)e.previous=t;else for(let r in t)n[r]=t[r];e.current=null,this.ngOnChanges(t)}}function xh(e,t,n,r,o){let i=this.declaredInputs[r],s=Hc(e)||Sh(e,{previous:Te,current:null}),a=s.current||(s.current={}),u=s.previous,c=u[i];a[i]=new yi(c&&c.currentValue,n,u===Te),Vc(e,t,o,n)}var $c="__ngSimpleChanges__";function Hc(e){return e[$c]||null}function Sh(e,t){return e[$c]=t}var Mu=null;var Ie=function(e,t,n){Mu?.(e,t,n)},Uc="svg",Th="math";function be(e){for(;Array.isArray(e);)e=e[_e];return e}function Nh(e){for(;Array.isArray(e);){if(typeof e[Cs]=="object")return e;e=e[_e]}return null}function Gc(e,t){return be(t[e])}function se(e,t){return be(t[e.index])}function Ms(e,t){return e.data[t]}function xs(e,t){return e[t]}function Ze(e,t){let n=t[e];return He(n)?n:n[_e]}function Ah(e){return(e[y]&4)===4}function Ss(e){return(e[y]&128)===128}function Oh(e){return Pe(e[z])}function ze(e,t){return t==null?null:e[t]}function zc(e){e[kt]=0}function Wc(e){e[y]&1024||(e[y]|=1024,Ss(e)&&oo(e))}function Fh(e,t){for(;e>0;)t=t[Yt],e--;return t}function vn(e){return!!(e[y]&9216||e[ie]?.dirty)}function vi(e){e[Ce].changeDetectionScheduler?.notify(7),e[y]&64&&(e[y]|=1024),vn(e)&&oo(e)}function oo(e){e[Ce].changeDetectionScheduler?.notify(0);let t=ft(e);for(;t!==null&&!(t[y]&8192||(t[y]|=8192,!Ss(t)));)t=ft(t)}function qc(e,t){if((e[y]&256)===256)throw new S(911,!1);e[$e]===null&&(e[$e]=[]),e[$e].push(t)}function Rh(e,t){if(e[$e]===null)return;let n=e[$e].indexOf(t);n!==-1&&e[$e].splice(n,1)}function ft(e){let t=e[z];return Pe(t)?t[z]:t}var C={lFrame:nl(null),bindingsEnabled:!0,skipHydrationRootTNode:null};var Zc=!1;function kh(){return C.lFrame.elementDepthCount}function Ph(){C.lFrame.elementDepthCount++}function Lh(){C.lFrame.elementDepthCount--}function Yc(){return C.bindingsEnabled}function Qc(){return C.skipHydrationRootTNode!==null}function jh(e){return C.skipHydrationRootTNode===e}function Vh(){C.skipHydrationRootTNode=null}function v(){return C.lFrame.lView}function F(){return C.lFrame.tView}function GM(e){return C.lFrame.contextLView=e,e[H]}function zM(e){return C.lFrame.contextLView=null,e}function B(){let e=Kc();for(;e!==null&&e.type===64;)e=e.parent;return e}function Kc(){return C.lFrame.currentTNode}function Bh(){let e=C.lFrame,t=e.currentTNode;return e.isParent?t:t.parent}function Dt(e,t){let n=C.lFrame;n.currentTNode=e,n.isParent=t}function Ts(){return C.lFrame.isParent}function Ns(){C.lFrame.isParent=!1}function $h(){return C.lFrame.contextLView}function Jc(){return Zc}function xu(e){Zc=e}function _n(){let e=C.lFrame,t=e.bindingRootIndex;return t===-1&&(t=e.bindingRootIndex=e.tView.bindingStartIndex),t}function Hh(e){return C.lFrame.bindingIndex=e}function Ye(){return C.lFrame.bindingIndex++}function Xc(e){let t=C.lFrame,n=t.bindingIndex;return t.bindingIndex=t.bindingIndex+e,n}function Uh(){return C.lFrame.inI18n}function Gh(e,t){let n=C.lFrame;n.bindingIndex=n.bindingRootIndex=e,Di(t)}function zh(){return C.lFrame.currentDirectiveIndex}function Di(e){C.lFrame.currentDirectiveIndex=e}function As(e){let t=C.lFrame.currentDirectiveIndex;return t===-1?null:e[t]}function Os(){return C.lFrame.currentQueryIndex}function io(e){C.lFrame.currentQueryIndex=e}function Wh(e){let t=e[I];return t.type===2?t.declTNode:t.type===1?e[ee]:null}function el(e,t,n){if(n&M.SkipSelf){let o=t,i=e;for(;o=o.parent,o===null&&!(n&M.Host);)if(o=Wh(i),o===null||(i=i[Yt],o.type&10))break;if(o===null)return!1;t=o,e=i}let r=C.lFrame=tl();return r.currentTNode=t,r.lView=e,!0}function Fs(e){let t=tl(),n=e[I];C.lFrame=t,t.currentTNode=n.firstChild,t.lView=e,t.tView=n,t.contextLView=e,t.bindingIndex=n.bindingStartIndex,t.inI18n=!1}function tl(){let e=C.lFrame,t=e===null?null:e.child;return t===null?nl(e):t}function nl(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 rl(){let e=C.lFrame;return C.lFrame=e.parent,e.currentTNode=null,e.lView=null,e}var ol=rl;function Rs(){let e=rl();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 qh(e){return(C.lFrame.contextLView=Fh(e,C.lFrame.contextLView))[H]}function Qe(){return C.lFrame.selectedIndex}function pt(e){C.lFrame.selectedIndex=e}function Mn(){let e=C.lFrame;return Ms(e.tView,e.selectedIndex)}function WM(){C.lFrame.currentNamespace=Uc}function qM(){Zh()}function Zh(){C.lFrame.currentNamespace=null}function Yh(){return C.lFrame.currentNamespace}var il=!0;function so(){return il}function ao(e){il=e}function Qh(e,t,n){let{ngOnChanges:r,ngOnInit:o,ngDoCheck:i}=t.type.prototype;if(r){let s=Bc(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 uo(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:u,ngAfterViewChecked:c,ngOnDestroy:l}=i;s&&(e.contentHooks??=[]).push(-n,s),a&&((e.contentHooks??=[]).push(n,a),(e.contentCheckHooks??=[]).push(n,a)),u&&(e.viewHooks??=[]).push(-n,u),c&&((e.viewHooks??=[]).push(n,c),(e.viewCheckHooks??=[]).push(n,c)),l!=null&&(e.destroyHooks??=[]).push(n,l)}}function Er(e,t,n){sl(e,t,3,n)}function Ir(e,t,n,r){(e[y]&3)===n&&sl(e,t,n,r)}function Qo(e,t){let n=e[y];(n&3)===t&&(n&=16383,n+=1,e[y]=n)}function sl(e,t,n,r){let o=r!==void 0?e[kt]&65535:0,i=r??-1,s=t.length-1,a=0;for(let u=o;u<s;u++)if(typeof t[u+1]=="number"){if(a=t[u],r!=null&&a>=r)break}else t[u]<0&&(e[kt]+=65536),(a<i||i==-1)&&(Kh(e,n,t,u),e[kt]=(e[kt]&4294901760)+u+2),u++}function Su(e,t){Ie(4,e,t);let n=b(null);try{t.call(e)}finally{b(n),Ie(5,e,t)}}function Kh(e,t,n,r){let o=n[r]<0,i=n[r+1],s=o?-n[r]:n[r],a=e[s];o?e[y]>>14<e[kt]>>16&&(e[y]&3)===t&&(e[y]+=16384,Su(a,i)):Su(a,i)}var jt=-1,ht=class{constructor(t,n,r){this.factory=t,this.resolving=!1,this.canSeeViewProviders=n,this.injectImpl=r}};function Jh(e){return e instanceof ht}function Xh(e){return(e.flags&8)!==0}function eg(e){return(e.flags&16)!==0}var Ko={},Ei=class{constructor(t,n){this.injector=t,this.parentInjector=n}get(t,n,r){r=Jr(r);let o=this.injector.get(t,Ko,r);return o!==Ko||n===Ko?o:this.parentInjector.get(t,n,r)}};function al(e){return e!==jt}function Fr(e){return e&32767}function tg(e){return e>>16}function Rr(e,t){let n=tg(e),r=t;for(;n>0;)r=r[Yt],n--;return r}var Ii=!0;function kr(e){let t=Ii;return Ii=e,t}var ng=256,ul=ng-1,cl=5,rg=0,we={};function og(e,t,n){let r;typeof n=="string"?r=n.charCodeAt(0)||0:n.hasOwnProperty(fn)&&(r=n[fn]),r==null&&(r=n[fn]=rg++);let o=r&ul,i=1<<o;t.data[e+(o>>cl)]|=i}function Pr(e,t){let n=ll(e,t);if(n!==-1)return n;let r=t[I];r.firstCreatePass&&(e.injectorIndex=t.length,Jo(r.data,e),Jo(t,null),Jo(r.blueprint,null));let o=ks(e,t),i=e.injectorIndex;if(al(o)){let s=Fr(o),a=Rr(o,t),u=a[I].data;for(let c=0;c<8;c++)t[i+c]=a[s+c]|u[s+c]}return t[i+8]=o,i}function Jo(e,t){e.push(0,0,0,0,0,0,0,0,t)}function ll(e,t){return e.injectorIndex===-1||e.parent&&e.parent.injectorIndex===e.injectorIndex||t[e.injectorIndex+8]===null?-1:e.injectorIndex}function ks(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=gl(o),r===null)return jt;if(n++,o=o[Yt],r.injectorIndex!==-1)return r.injectorIndex|n<<16}return jt}function wi(e,t,n){og(e,t,n)}function ig(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(Cc(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 dl(e,t,n){if(n&M.Optional||e!==void 0)return e;ms(t,"NodeInjector")}function fl(e,t,n,r){if(n&M.Optional&&r===void 0&&(r=null),!(n&(M.Self|M.Host))){let o=e[Ht],i=J(void 0);try{return o?o.get(t,r,n&M.Optional):yc(t,r,n&M.Optional)}finally{J(i)}}return dl(r,t,n)}function pl(e,t,n,r=M.Default,o){if(e!==null){if(t[y]&2048&&!(r&M.Self)){let s=cg(e,t,n,r,we);if(s!==we)return s}let i=hl(e,t,n,r,we);if(i!==we)return i}return fl(t,n,r,o)}function hl(e,t,n,r,o){let i=ag(n);if(typeof i=="function"){if(!el(t,e,r))return r&M.Host?dl(o,n,r):fl(t,n,r,o);try{let s;if(s=i(r),s==null&&!(r&M.Optional))ms(n);else return s}finally{ol()}}else if(typeof i=="number"){let s=null,a=ll(e,t),u=jt,c=r&M.Host?t[ne][ee]:null;for((a===-1||r&M.SkipSelf)&&(u=a===-1?ks(e,t):t[a+8],u===jt||!Nu(r,!1)?a=-1:(s=t[I],a=Fr(u),t=Rr(u,t)));a!==-1;){let l=t[I];if(Tu(i,a,l.data)){let d=sg(a,t,n,s,r,c);if(d!==we)return d}u=t[a+8],u!==jt&&Nu(r,t[I].data[a+8]===c)&&Tu(i,a,t)?(s=l,a=Fr(u),t=Rr(u,t)):a=-1}}return o}function sg(e,t,n,r,o,i){let s=t[I],a=s.data[e+8],u=r==null?no(a)&&Ii:r!=s&&(a.type&3)!==0,c=o&M.Host&&i===a,l=wr(a,s,n,u,c);return l!==null?gt(t,s,l,a):we}function wr(e,t,n,r,o){let i=e.providerIndexes,s=t.data,a=i&1048575,u=e.directiveStart,c=e.directiveEnd,l=i>>20,d=r?a:a+l,p=o?a+l:c;for(let f=d;f<p;f++){let h=s[f];if(f<u&&n===h||f>=u&&h.type===n)return f}if(o){let f=s[u];if(f&&Oe(f)&&f.type===n)return u}return null}function gt(e,t,n,r){let o=e[n],i=t.data;if(Jh(o)){let s=o;s.resolving&&Rp(Fp(i[n]));let a=kr(s.canSeeViewProviders);s.resolving=!0;let u,c=s.injectImpl?J(s.injectImpl):null,l=el(e,r,M.Default);try{o=e[n]=s.factory(void 0,i,e,r),t.firstCreatePass&&n>=r.directiveStart&&Qh(n,i[n],t)}finally{c!==null&&J(c),kr(a),s.resolving=!1,ol()}}return o}function ag(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&ul:ug:t}function Tu(e,t,n){let r=1<<e;return!!(n[t+(e>>cl)]&r)}function Nu(e,t){return!(e&M.Self)&&!(e&M.Host&&t)}var ut=class{constructor(t,n){this._tNode=t,this._lView=n}get(t,n,r){return pl(this._tNode,this._lView,t,Jr(r),n)}};function ug(){return new ut(B(),v())}function ZM(e){return wn(()=>{let t=e.prototype.constructor,n=t[_r]||Ci(t),r=Object.prototype,o=Object.getPrototypeOf(e.prototype).constructor;for(;o&&o!==r;){let i=o[_r]||Ci(o);if(i&&i!==n)return i;o=Object.getPrototypeOf(o)}return i=>new i})}function Ci(e){return dc(e)?()=>{let t=Ci($(e));return t&&t()}:ct(e)}function cg(e,t,n,r,o){let i=e,s=t;for(;i!==null&&s!==null&&s[y]&2048&&!(s[y]&512);){let a=hl(i,s,n,r|M.Self,we);if(a!==we)return a;let u=i.parent;if(!u){let c=s[jc];if(c){let l=c.get(n,we,r);if(l!==we)return l}u=gl(s),s=s[Yt]}i=u}return o}function gl(e){let t=e[I],n=t.type;return n===2?t.declTNode:n===1?e[ee]:null}function lg(e){return ig(B(),e)}function Au(e,t=null,n=null,r){let o=ml(e,t,n,r);return o.resolveInjectorInitializers(),o}function ml(e,t=null,n=null,r,o=new Set){let i=[n||q,ph(e)];return r=r||(typeof e=="object"?void 0:X(e)),new mn(i,t||eo(),r||null,o)}var at=class at{static create(t,n){if(Array.isArray(t))return Au({name:""},n,t,"");{let r=t.name??"";return Au({name:r},t.parent,t.providers,r)}}};at.THROW_IF_NOT_FOUND=pn,at.NULL=new Tr,at.\u0275prov=k({token:at,providedIn:"any",factory:()=>G(Ec)}),at.__NG_ELEMENT_ID__=-1;var Fe=at;var dg=new A("");dg.__NG_ELEMENT_ID__=e=>{let t=B();if(t===null)throw new S(204,!1);if(t.type&2)return t.value;if(e&M.Optional)return null;throw new S(204,!1)};var fg="ngOriginalError";function Xo(e){return e[fg]}var Re=class{constructor(){this._console=console}handleError(t){let n=this._findOriginalError(t);this._console.error("ERROR",t),n&&this._console.error("ORIGINAL ERROR",n)}_findOriginalError(t){let n=t&&Xo(t);for(;n&&Xo(n);)n=Xo(n);return n||null}},yl=new A("",{providedIn:"root",factory:()=>w(Re).handleError.bind(void 0)}),xn=(()=>{let t=class t{};t.__NG_ELEMENT_ID__=pg,t.__NG_ENV_ID__=r=>r;let e=t;return e})(),bi=class extends xn{constructor(t){super(),this._lView=t}onDestroy(t){return qc(this._lView,t),()=>Rh(this._lView,t)}};function pg(){return new bi(v())}var _i=class{constructor(){this.destroyed=!1,this.listeners=null,this.errorHandler=w(Re,{optional:!0}),this.destroyRef=w(xn),this.destroyRef.onDestroy(()=>{this.destroyed=!0,this.listeners=null})}subscribe(t){if(this.destroyed)throw new S(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)throw new S(953,!1);if(this.listeners===null)return;let n=b(null);try{for(let r of this.listeners)try{r(t)}catch(o){this.errorHandler?.handleError(o)}}finally{b(n)}}};function hg(){return Qt(B(),v())}function Qt(e,t){return new Et(se(e,t))}var Et=(()=>{let t=class t{constructor(r){this.nativeElement=r}};t.__NG_ELEMENT_ID__=hg;let e=t;return e})();function vl(e){return e instanceof Et?e.nativeElement:e}var Sn=(()=>{let t=class t{constructor(){this.taskId=0,this.pendingTasks=new Set,this.hasPendingTasks=new rn(!1)}get _hasPendingTasks(){return this.hasPendingTasks.value}add(){this._hasPendingTasks||this.hasPendingTasks.next(!0);let r=this.taskId++;return this.pendingTasks.add(r),r}remove(r){this.pendingTasks.delete(r),this.pendingTasks.size===0&&this._hasPendingTasks&&this.hasPendingTasks.next(!1)}ngOnDestroy(){this.pendingTasks.clear(),this._hasPendingTasks&&this.hasPendingTasks.next(!1)}};t.\u0275prov=k({token:t,providedIn:"root",factory:()=>new t});let e=t;return e})();var Mi=class extends oe{constructor(t=!1){super(),this.destroyRef=void 0,this.pendingTasks=void 0,this.__isAsync=t,Lc()&&(this.destroyRef=w(xn,{optional:!0})??void 0,this.pendingTasks=w(Sn,{optional:!0})??void 0)}emit(t){let n=b(null);try{super.next(t)}finally{b(n)}}subscribe(t,n,r){let o=t,i=n||(()=>null),s=r;if(t&&typeof t=="object"){let u=t;o=u.next?.bind(u),i=u.error?.bind(u),s=u.complete?.bind(u)}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 P&&t.add(a),a}wrapInTimeout(t){return n=>{let r=this.pendingTasks?.add();setTimeout(()=>{t(n),r!==void 0&&this.pendingTasks?.remove(r)})}}},fe=Mi;function gg(){return this._results[Symbol.iterator]()}var xi=class e{get changes(){return this._changes??=new fe}constructor(t=!1){this._emitDistinctChangesOnly=t,this.dirty=!0,this._onDirty=void 0,this._results=[],this._changesDetected=!1,this._changes=void 0,this.length=0,this.first=void 0,this.last=void 0;let n=e.prototype;n[Symbol.iterator]||(n[Symbol.iterator]=gg)}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=zp(t);(this._changesDetected=!Gp(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.emit(this)}onDirty(t){this._onDirty=t}setDirty(){this.dirty=!0,this._onDirty?.()}destroy(){this._changes!==void 0&&(this._changes.complete(),this._changes.unsubscribe())}};function Dl(e){return(e.flags&128)===128}var El=new Map,mg=0;function yg(){return mg++}function vg(e){El.set(e[to],e)}function Dg(e){El.delete(e[to])}var Ou="__ngContext__";function We(e,t){He(t)?(e[Ou]=t[to],vg(t)):e[Ou]=t}function Il(e){return Cl(e[yn])}function wl(e){return Cl(e[pe])}function Cl(e){for(;e!==null&&!Pe(e);)e=e[pe];return e}var Si;function YM(e){Si=e}function bl(){if(Si!==void 0)return Si;if(typeof document<"u")return document;throw new S(210,!1)}var QM=new A("",{providedIn:"root",factory:()=>Eg}),Eg="ng",Ig=new A(""),Ps=new A("",{providedIn:"platform",factory:()=>"unknown"});var KM=new A(""),JM=new A("",{providedIn:"root",factory:()=>bl().body?.querySelector("[ngCspNonce]")?.getAttribute("ngCspNonce")||null});var wg="h",Cg="b";var bg=()=>null;function Ls(e,t,n=!1){return bg(e,t,n)}var _l=!1,_g=new A("",{providedIn:"root",factory:()=>_l});var pr;function Mg(){if(pr===void 0&&(pr=null,Vt.trustedTypes))try{pr=Vt.trustedTypes.createPolicy("angular",{createHTML:e=>e,createScript:e=>e,createScriptURL:e=>e})}catch{}return pr}function co(e){return Mg()?.createHTML(e)||e}var hr;function Ml(){if(hr===void 0&&(hr=null,Vt.trustedTypes))try{hr=Vt.trustedTypes.createPolicy("angular#unsafe-bypass",{createHTML:e=>e,createScript:e=>e,createScriptURL:e=>e})}catch{}return hr}function Fu(e){return Ml()?.createHTML(e)||e}function Ru(e){return Ml()?.createScriptURL(e)||e}var ke=class{constructor(t){this.changingThisBreaksApplicationSecurity=t}toString(){return`SafeValue must use [property]=binding: ${this.changingThisBreaksApplicationSecurity} (see ${sc})`}},Ti=class extends ke{getTypeName(){return"HTML"}},Ni=class extends ke{getTypeName(){return"Style"}},Ai=class extends ke{getTypeName(){return"Script"}},Oi=class extends ke{getTypeName(){return"URL"}},Fi=class extends ke{getTypeName(){return"ResourceURL"}};function Kt(e){return e instanceof ke?e.changingThisBreaksApplicationSecurity:e}function js(e,t){let n=xg(e);if(n!=null&&n!==t){if(n==="ResourceURL"&&t==="URL")return!0;throw new Error(`Required a safe ${t}, got a ${n} (see ${sc})`)}return n===t}function xg(e){return e instanceof ke&&e.getTypeName()||null}function XM(e){return new Ti(e)}function ex(e){return new Ni(e)}function tx(e){return new Ai(e)}function nx(e){return new Oi(e)}function rx(e){return new Fi(e)}function Sg(e){let t=new ki(e);return Tg()?new Ri(t):t}var Ri=class{constructor(t){this.inertDocumentHelper=t}getInertBodyElement(t){t="<body><remove></remove>"+t;try{let n=new window.DOMParser().parseFromString(co(t),"text/html").body;return n===null?this.inertDocumentHelper.getInertBodyElement(t):(n.removeChild(n.firstChild),n)}catch{return null}}},ki=class{constructor(t){this.defaultDoc=t,this.inertDocument=this.defaultDoc.implementation.createHTMLDocument("sanitization-inert")}getInertBodyElement(t){let n=this.inertDocument.createElement("template");return n.innerHTML=co(t),n}};function Tg(){try{return!!new window.DOMParser().parseFromString(co(""),"text/html")}catch{return!1}}var Ng=/^(?!javascript:)(?:[a-z0-9+.-]+:|[^&:\/?#]*(?:[\/?#]|$))/i;function xl(e){return e=String(e),e.match(Ng)?e:"unsafe:"+e}function Le(e){let t={};for(let n of e.split(","))t[n]=!0;return t}function Tn(...e){let t={};for(let n of e)for(let r in n)n.hasOwnProperty(r)&&(t[r]=!0);return t}var Sl=Le("area,br,col,hr,img,wbr"),Tl=Le("colgroup,dd,dt,li,p,tbody,td,tfoot,th,thead,tr"),Nl=Le("rp,rt"),Ag=Tn(Nl,Tl),Og=Tn(Tl,Le("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")),Fg=Tn(Nl,Le("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")),ku=Tn(Sl,Og,Fg,Ag),Al=Le("background,cite,href,itemtype,longdesc,poster,src,xlink:href"),Rg=Le("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"),kg=Le("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"),Pg=Tn(Al,Rg,kg),Lg=Le("script,style,template"),Pi=class{constructor(){this.sanitizedSomething=!1,this.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=Bg(n);continue}for(;n;){n.nodeType===Node.ELEMENT_NODE&&this.endElement(n);let i=Vg(n);if(i){n=i;break}n=o.pop()}}return this.buf.join("")}startElement(t){let n=Pu(t).toLowerCase();if(!ku.hasOwnProperty(n))return this.sanitizedSomething=!0,!Lg.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(!Pg.hasOwnProperty(a)){this.sanitizedSomething=!0;continue}let u=i.value;Al[a]&&(u=xl(u)),this.buf.push(" ",s,'="',Lu(u),'"')}return this.buf.push(">"),!0}endElement(t){let n=Pu(t).toLowerCase();ku.hasOwnProperty(n)&&!Sl.hasOwnProperty(n)&&(this.buf.push("</"),this.buf.push(n),this.buf.push(">"))}chars(t){this.buf.push(Lu(t))}};function jg(e,t){return(e.compareDocumentPosition(t)&Node.DOCUMENT_POSITION_CONTAINED_BY)!==Node.DOCUMENT_POSITION_CONTAINED_BY}function Vg(e){let t=e.nextSibling;if(t&&e!==t.previousSibling)throw Ol(t);return t}function Bg(e){let t=e.firstChild;if(t&&jg(e,t))throw Ol(t);return t}function Pu(e){let t=e.nodeName;return typeof t=="string"?t:"FORM"}function Ol(e){return new Error(`Failed to sanitize html because the element is clobbered: ${e.outerHTML}`)}var $g=/[\uD800-\uDBFF][\uDC00-\uDFFF]/g,Hg=/([^\#-~ |!])/g;function Lu(e){return e.replace(/&/g,"&").replace($g,function(t){let n=t.charCodeAt(0),r=t.charCodeAt(1);return"&#"+((n-55296)*1024+(r-56320)+65536)+";"}).replace(Hg,function(t){return"&#"+t.charCodeAt(0)+";"}).replace(/</g,"<").replace(/>/g,">")}var gr;function Ug(e,t){let n=null;try{gr=gr||Sg(e);let r=t?String(t):"";n=gr.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=gr.getInertBodyElement(r)}while(r!==i);let a=new Pi().sanitizeChildren(ju(n)||n);return co(a)}finally{if(n){let r=ju(n)||n;for(;r.firstChild;)r.removeChild(r.firstChild)}}}function ju(e){return"content"in e&&Gg(e)?e.content:null}function Gg(e){return e.nodeType===Node.ELEMENT_NODE&&e.nodeName==="TEMPLATE"}var lo=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}(lo||{});function ox(e){let t=Vs();return t?Fu(t.sanitize(lo.HTML,e)||""):js(e,"HTML")?Fu(Kt(e)):Ug(bl(),Cn(e))}function zg(e){let t=Vs();return t?t.sanitize(lo.URL,e)||"":js(e,"URL")?Kt(e):xl(Cn(e))}function Wg(e){let t=Vs();if(t)return Ru(t.sanitize(lo.RESOURCE_URL,e)||"");if(js(e,"ResourceURL"))return Ru(Kt(e));throw new S(904,!1)}function qg(e,t){return t==="src"&&(e==="embed"||e==="frame"||e==="iframe"||e==="media"||e==="script")||t==="href"&&(e==="base"||e==="link")?Wg:zg}function ix(e,t,n){return qg(t,n)(e)}function Vs(){let e=v();return e&&e[Ce].sanitizer}var Zg=/^>|^->|<!--|-->|--!>|<!-$/g,Yg=/(<|>)/g,Qg="\u200B$1\u200B";function Kg(e){return e.replace(Zg,t=>t.replace(Yg,Qg))}function Fl(e){return e instanceof Function?e():e}function Rl(e){return(e??w(Fe)).get(Ps)==="browser"}var Lr=function(e){return e[e.Important=1]="Important",e[e.DashCase=2]="DashCase",e}(Lr||{}),Jg;function Bs(e,t){return Jg(e,t)}function Pt(e,t,n,r,o){if(r!=null){let i,s=!1;Pe(r)?i=r:He(r)&&(s=!0,r=r[_e]);let a=be(r);e===0&&n!==null?o==null?Vl(t,n,a):jr(t,n,a,o||null,!0):e===1&&n!==null?jr(t,n,a,o||null,!0):e===2?pm(t,a,s):e===3&&t.destroyNode(a),i!=null&&gm(t,e,i,n,o)}}function Xg(e,t){return e.createText(t)}function em(e,t,n){e.setValue(t,n)}function tm(e,t){return e.createComment(Kg(t))}function kl(e,t,n){return e.createElement(t,n)}function nm(e,t){Pl(e,t),t[_e]=null,t[ee]=null}function rm(e,t,n,r,o,i){r[_e]=o,r[ee]=t,ho(e,r,n,1,o,i)}function Pl(e,t){t[Ce].changeDetectionScheduler?.notify(8),ho(e,t,t[R],2,null,null)}function om(e){let t=e[yn];if(!t)return ei(e[I],e);for(;t;){let n=null;if(He(t))n=t[yn];else{let r=t[U];r&&(n=r)}if(!n){for(;t&&!t[pe]&&t!==e;)He(t)&&ei(t[I],t),t=t[z];t===null&&(t=e),He(t)&&ei(t[I],t),n=t&&t[pe]}t=n}}function im(e,t,n,r){let o=U+r,i=n.length;r>0&&(n[o-1][pe]=t),r<i-U?(t[pe]=n[o],Dc(n,U+r,t)):(n.push(t),t[pe]=null),t[z]=n;let s=t[lt];s!==null&&n!==s&&Ll(s,t);let a=t[Ae];a!==null&&a.insertView(e),vi(t),t[y]|=128}function Ll(e,t){let n=e[Ut],r=t[z];if(He(r))e[y]|=Or.HasTransplantedViews;else{let o=r[z][ne];t[ne]!==o&&(e[y]|=Or.HasTransplantedViews)}n===null?e[Ut]=[t]:n.push(t)}function $s(e,t){let n=e[Ut],r=n.indexOf(t);n.splice(r,1)}function Dn(e,t){if(e.length<=U)return;let n=U+t,r=e[n];if(r){let o=r[lt];o!==null&&o!==e&&$s(o,r),t>0&&(e[n-1][pe]=r[pe]);let i=xr(e,U+t);nm(r[I],r);let s=i[Ae];s!==null&&s.detachView(i[I]),r[z]=null,r[pe]=null,r[y]&=-129}return r}function fo(e,t){if(!(t[y]&256)){let n=t[R];n.destroyNode&&ho(e,t,n,3,null,null),om(t)}}function ei(e,t){if(t[y]&256)return;let n=b(null);try{t[y]&=-129,t[y]|=256,t[ie]&&Vn(t[ie]),am(e,t),sm(e,t),t[I].type===1&&t[R].destroy();let r=t[lt];if(r!==null&&Pe(t[z])){r!==t[z]&&$s(r,t);let o=t[Ae];o!==null&&o.detachView(e)}Dg(t)}finally{b(n)}}function sm(e,t){let n=e.cleanup,r=t[Nr];if(n!==null)for(let i=0;i<n.length-1;i+=2)if(typeof n[i]=="string"){let s=n[i+3];s>=0?r[s]():r[-s].unsubscribe(),i+=2}else{let s=r[n[i+1]];n[i].call(s)}r!==null&&(t[Nr]=null);let o=t[$e];if(o!==null){t[$e]=null;for(let i=0;i<o.length;i++){let s=o[i];s()}}}function am(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 ht)){let i=n[r+1];if(Array.isArray(i))for(let s=0;s<i.length;s+=2){let a=o[i[s]],u=i[s+1];Ie(4,a,u);try{u.call(a)}finally{Ie(5,a,u)}}else{Ie(4,o,i);try{i.call(o)}finally{Ie(5,o,i)}}}}}function jl(e,t,n){return um(e,t.parent,n)}function um(e,t,n){let r=t;for(;r!==null&&r.type&168;)t=r,r=t.parent;if(r===null)return n[_e];{let{componentOffset:o}=r;if(o>-1){let{encapsulation:i}=e.data[r.directiveStart+o];if(i===hn.None||i===hn.Emulated)return null}return se(r,n)}}function jr(e,t,n,r,o){e.insertBefore(t,n,r,o)}function Vl(e,t,n){e.appendChild(t,n)}function Vu(e,t,n,r,o){r!==null?jr(e,t,n,r,o):Vl(e,t,n)}function cm(e,t,n,r){e.removeChild(t,n,r)}function Hs(e,t){return e.parentNode(t)}function lm(e,t){return e.nextSibling(t)}function Bl(e,t,n){return fm(e,t,n)}function dm(e,t,n){return e.type&40?se(e,n):null}var fm=dm,Bu;function po(e,t,n,r){let o=jl(e,r,t),i=t[R],s=r.parent||t[ee],a=Bl(s,r,t);if(o!=null)if(Array.isArray(n))for(let u=0;u<n.length;u++)Vu(i,o,n[u],a,!1);else Vu(i,o,n,a,!1);Bu!==void 0&&Bu(i,r,t,n,o)}function Cr(e,t){if(t!==null){let n=t.type;if(n&3)return se(t,e);if(n&4)return Li(-1,e[t.index]);if(n&8){let r=t.child;if(r!==null)return Cr(e,r);{let o=e[t.index];return Pe(o)?Li(-1,o):be(o)}}else{if(n&32)return Bs(t,e)()||be(e[t.index]);{let r=$l(e,t);if(r!==null){if(Array.isArray(r))return r[0];let o=ft(e[ne]);return Cr(o,r)}else return Cr(e,t.next)}}}return null}function $l(e,t){if(t!==null){let r=e[ne][ee],o=t.projection;return r.projection[o]}return null}function Li(e,t){let n=U+e+1;if(n<t.length){let r=t[n],o=r[I].firstChild;if(o!==null)return Cr(r,o)}return t[dt]}function pm(e,t,n){let r=Hs(e,t);r&&cm(e,r,t,n)}function Us(e,t,n,r,o,i,s){for(;n!=null;){if(n.type===128){n=n.next;continue}let a=r[n.index],u=n.type;if(s&&t===0&&(a&&We(be(a),r),n.flags|=2),(n.flags&32)!==32)if(u&8)Us(e,t,n.child,r,o,i,!1),Pt(t,e,o,a,i);else if(u&32){let c=Bs(n,r),l;for(;l=c();)Pt(t,e,o,l,i);Pt(t,e,o,a,i)}else u&16?Hl(e,t,r,n,o,i):Pt(t,e,o,a,i);n=s?n.projectionNext:n.next}}function ho(e,t,n,r,o,i){Us(n,r,e.firstChild,t,o,i,!1)}function hm(e,t,n){let r=t[R],o=jl(e,n,t),i=n.parent||t[ee],s=Bl(i,n,t);Hl(r,0,t,n,o,s)}function Hl(e,t,n,r,o,i){let s=n[ne],u=s[ee].projection[r.projection];if(Array.isArray(u))for(let c=0;c<u.length;c++){let l=u[c];Pt(t,e,o,l,i)}else{let c=u,l=s[z];Dl(r)&&(c.flags|=128),Us(e,t,c,l,o,i,!0)}}function gm(e,t,n,r,o){let i=n[dt],s=be(n);i!==s&&Pt(t,e,r,i,o);for(let a=U;a<n.length;a++){let u=n[a];ho(u[I],u,e,t,r,i)}}function mm(e,t,n,r,o){if(t)o?e.addClass(n,r):e.removeClass(n,r);else{let i=r.indexOf("-")===-1?void 0:Lr.DashCase;o==null?e.removeStyle(n,r,i):(typeof o=="string"&&o.endsWith("!important")&&(o=o.slice(0,-10),i|=Lr.Important),e.setStyle(n,r,o,i))}}function ym(e,t,n){e.setAttribute(t,"style",n)}function Ul(e,t,n){n===""?e.removeAttribute(t,"class"):e.setAttribute(t,"class",n)}function Gl(e,t,n){let{mergedAttrs:r,classes:o,styles:i}=n;r!==null&&fi(e,t,r),o!==null&&Ul(e,t,o),i!==null&&ym(e,t,i)}var he={};function sx(e=1){zl(F(),v(),Qe()+e,!1)}function zl(e,t,n,r){if(!r)if((t[y]&3)===3){let i=e.preOrderCheckHooks;i!==null&&Er(t,i,n)}else{let i=e.preOrderHooks;i!==null&&Ir(t,i,0,n)}pt(n)}function je(e,t=M.Default){let n=v();if(n===null)return G(e,t);let r=B();return pl(r,n,$(e),t)}function ax(){let e="invalid";throw new Error(e)}function Wl(e,t,n,r,o,i){let s=b(null);try{let a=null;o&Ue.SignalBased&&(a=t[r][te]),a!==null&&a.transformFn!==void 0&&(i=a.transformFn(i)),o&Ue.HasDecoratorInputTransform&&(i=e.inputTransforms[r].call(t,i)),e.setInput!==null?e.setInput(t,a,i,n,r):Vc(t,a,r,i)}finally{b(s)}}function vm(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)pt(~o);else{let i=o,s=n[++r],a=n[++r];Gh(s,i);let u=t[i];a(2,u)}}}finally{pt(-1)}}function go(e,t,n,r,o,i,s,a,u,c,l){let d=t.blueprint.slice();return d[_e]=o,d[y]=r|4|128|8|64,(c!==null||e&&e[y]&2048)&&(d[y]|=2048),zc(d),d[z]=d[Yt]=e,d[H]=n,d[Ce]=s||e&&e[Ce],d[R]=a||e&&e[R],d[Ht]=u||e&&e[Ht]||null,d[ee]=i,d[to]=yg(),d[$t]=l,d[jc]=c,d[ne]=t.type==2?e[ne]:d,d}function Jt(e,t,n,r,o){let i=e.data[t];if(i===null)i=Dm(e,t,n,r,o),Uh()&&(i.flags|=32);else if(i.type&64){i.type=n,i.value=r,i.attrs=o;let s=Bh();i.injectorIndex=s===null?-1:s.injectorIndex}return Dt(i,!0),i}function Dm(e,t,n,r,o){let i=Kc(),s=Ts(),a=s?i:i&&i.parent,u=e.data[t]=_m(e,a,n,t,r,o);return e.firstChild===null&&(e.firstChild=u),i!==null&&(s?i.child==null&&u.parent!==null&&(i.child=u):i.next===null&&(i.next=u,u.prev=i)),u}function ql(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 Zl(e,t,n,r,o){let i=Qe(),s=r&2;try{pt(-1),s&&t.length>V&&zl(e,t,V,!1),Ie(s?2:0,o),n(r,o)}finally{pt(i),Ie(s?3:1,o)}}function Gs(e,t,n){if(bs(t)){let r=b(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 u=n[s];a.contentQueries(1,u,s)}}}finally{b(r)}}}function zs(e,t,n){Yc()&&(Am(e,t,n,se(n,t)),(n.flags&64)===64&&Kl(e,t,n))}function Ws(e,t,n=se){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 Yl(e){let t=e.tView;return t===null||t.incompleteFirstPass?e.tView=qs(1,null,e.template,e.decls,e.vars,e.directiveDefs,e.pipeDefs,e.viewQuery,e.schemas,e.consts,e.id):t}function qs(e,t,n,r,o,i,s,a,u,c,l){let d=V+r,p=d+o,f=Em(d,p),h=typeof c=="function"?c():c;return f[I]={type:e,blueprint:f,template:n,queries:null,viewQuery:a,declTNode:t,data:f.slice().fill(null,d),bindingStartIndex:d,expandoStartIndex:p,hostBindingOpCodes:null,firstCreatePass:!0,firstUpdatePass:!0,staticViewQueries:!1,staticContentQueries:!1,preOrderHooks:null,preOrderCheckHooks:null,contentHooks:null,contentCheckHooks:null,viewHooks:null,viewCheckHooks:null,destroyHooks:null,cleanup:null,contentQueries:null,components:null,directiveRegistry:typeof i=="function"?i():i,pipeRegistry:typeof s=="function"?s():s,firstChild:null,schemas:u,consts:h,incompleteFirstPass:!1,ssrId:l}}function Em(e,t){let n=[];for(let r=0;r<t;r++)n.push(r<e?null:he);return n}function Im(e,t,n,r){let i=r.get(_g,_l)||n===hn.ShadowDom,s=e.selectRootElement(t,i);return wm(s),s}function wm(e){Cm(e)}var Cm=()=>null;function bm(e,t,n,r){let o=ed(t);o.push(n),e.firstCreatePass&&td(e).push(r,o.length-1)}function _m(e,t,n,r,o,i){let s=t?t.injectorIndex:-1,a=0;return Qc()&&(a|=128),{type:n,index:r,insertBeforeIndex:null,injectorIndex:s,directiveStart:-1,directiveEnd:-1,directiveStylingLast:-1,componentOffset:-1,propertyBindings:null,flags:a,providerIndexes:0,value:o,attrs:i,mergedAttrs:null,localNames:null,initialInputs:void 0,inputs:null,outputs:null,tView:null,next:null,prev:null,projectionNext:null,child:null,parent:t,projection:null,styles:null,stylesWithoutHost:null,residualStyles:void 0,classes:null,classesWithoutHost:null,residualClasses:void 0,classBindings:0,styleBindings:0}}function $u(e,t,n,r,o){for(let i in t){if(!t.hasOwnProperty(i))continue;let s=t[i];if(s===void 0)continue;r??={};let a,u=Ue.None;Array.isArray(s)?(a=s[0],u=s[1]):a=s;let c=i;if(o!==null){if(!o.hasOwnProperty(i))continue;c=o[i]}e===0?Hu(r,n,c,a,u):Hu(r,n,c,a)}return r}function Hu(e,t,n,r,o){let i;e.hasOwnProperty(n)?(i=e[n]).push(t,r):i=e[n]=[t,r],o!==void 0&&i.push(o)}function Mm(e,t,n){let r=t.directiveStart,o=t.directiveEnd,i=e.data,s=t.attrs,a=[],u=null,c=null;for(let l=r;l<o;l++){let d=i[l],p=n?n.get(d):null,f=p?p.inputs:null,h=p?p.outputs:null;u=$u(0,d.inputs,l,u,f),c=$u(1,d.outputs,l,c,h);let g=u!==null&&s!==null&&!vs(t)?Hm(u,l,s):null;a.push(g)}u!==null&&(u.hasOwnProperty("class")&&(t.flags|=8),u.hasOwnProperty("style")&&(t.flags|=16)),t.initialInputs=a,t.inputs=u,t.outputs=c}function xm(e){return e==="class"?"className":e==="for"?"htmlFor":e==="formaction"?"formAction":e==="innerHtml"?"innerHTML":e==="readonly"?"readOnly":e==="tabindex"?"tabIndex":e}function mo(e,t,n,r,o,i,s,a){let u=se(t,n),c=t.inputs,l;!a&&c!=null&&(l=c[r])?(Ys(e,n,l,r,o),no(t)&&Sm(n,t.index)):t.type&3?(r=xm(r),o=s!=null?s(o,t.value||"",r):o,i.setProperty(u,r,o)):t.type&12}function Sm(e,t){let n=Ze(t,e);n[y]&16||(n[y]|=64)}function Zs(e,t,n,r){if(Yc()){let o=r===null?null:{"":-1},i=Fm(e,n),s,a;i===null?s=a=null:[s,a]=i,s!==null&&Ql(e,t,n,s,o,a),o&&Rm(n,r,o)}n.mergedAttrs=gn(n.mergedAttrs,n.attrs)}function Ql(e,t,n,r,o,i){for(let c=0;c<r.length;c++)wi(Pr(n,t),e,r[c].type);Pm(n,e.data.length,r.length);for(let c=0;c<r.length;c++){let l=r[c];l.providersResolver&&l.providersResolver(l)}let s=!1,a=!1,u=ql(e,t,r.length,null);for(let c=0;c<r.length;c++){let l=r[c];n.mergedAttrs=gn(n.mergedAttrs,l.hostAttrs),Lm(e,n,t,u,l),km(u,l,o),l.contentQueries!==null&&(n.flags|=4),(l.hostBindings!==null||l.hostAttrs!==null||l.hostVars!==0)&&(n.flags|=64);let d=l.type.prototype;!s&&(d.ngOnChanges||d.ngOnInit||d.ngDoCheck)&&((e.preOrderHooks??=[]).push(n.index),s=!0),!a&&(d.ngOnChanges||d.ngDoCheck)&&((e.preOrderCheckHooks??=[]).push(n.index),a=!0),u++}Mm(e,n,i)}function Tm(e,t,n,r,o){let i=o.hostBindings;if(i){let s=e.hostBindingOpCodes;s===null&&(s=e.hostBindingOpCodes=[]);let a=~t.index;Nm(s)!=a&&s.push(a),s.push(n,r,i)}}function Nm(e){let t=e.length;for(;t>0;){let n=e[--t];if(typeof n=="number"&&n<0)return n}return 0}function Am(e,t,n,r){let o=n.directiveStart,i=n.directiveEnd;no(n)&&jm(t,n,e.data[o+n.componentOffset]),e.firstCreatePass||Pr(n,t),We(r,t);let s=n.initialInputs;for(let a=o;a<i;a++){let u=e.data[a],c=gt(t,e,a,n);if(We(c,t),s!==null&&$m(t,a-o,c,u,n,s),Oe(u)){let l=Ze(n.index,t);l[H]=gt(t,e,a,n)}}}function Kl(e,t,n){let r=n.directiveStart,o=n.directiveEnd,i=n.index,s=zh();try{pt(i);for(let a=r;a<o;a++){let u=e.data[a],c=t[a];Di(a),(u.hostBindings!==null||u.hostVars!==0||u.hostAttrs!==null)&&Om(u,c)}}finally{pt(-1),Di(s)}}function Om(e,t){e.hostBindings!==null&&e.hostBindings(1,t)}function Fm(e,t){let n=e.directiveRegistry,r=null,o=null;if(n)for(let i=0;i<n.length;i++){let s=n[i];if(_c(t,s.selectors,!1))if(r||(r=[]),Oe(s))if(s.findHostDirectiveDefs!==null){let a=[];o=o||new Map,s.findHostDirectiveDefs(s,a,o),r.unshift(...a,s);let u=a.length;ji(e,t,u)}else r.unshift(s),ji(e,t,0);else o=o||new Map,s.findHostDirectiveDefs?.(s,r,o),r.push(s)}return r===null?null:[r,o]}function ji(e,t,n){t.componentOffset=n,(e.components??=[]).push(t.index)}function Rm(e,t,n){if(t){let r=e.localNames=[];for(let o=0;o<t.length;o+=2){let i=n[t[o+1]];if(i==null)throw new S(-301,!1);r.push(t[o],i)}}}function km(e,t,n){if(n){if(t.exportAs)for(let r=0;r<t.exportAs.length;r++)n[t.exportAs[r]]=e;Oe(t)&&(n[""]=e)}}function Pm(e,t,n){e.flags|=1,e.directiveStart=t,e.directiveEnd=t+n,e.providerIndexes=t}function Lm(e,t,n,r,o){e.data[r]=o;let i=o.factory||(o.factory=ct(o.type,!0)),s=new ht(i,Oe(o),je);e.blueprint[r]=s,n[r]=s,Tm(e,t,r,ql(e,n,o.hostVars,he),o)}function jm(e,t,n){let r=se(t,e),o=Yl(n),i=e[Ce].rendererFactory,s=16;n.signals?s=4096:n.onPush&&(s=64);let a=yo(e,go(e,o,null,s,r,t,null,i.createRenderer(r,n),null,null,null));e[t.index]=a}function Vm(e,t,n,r,o,i){let s=se(e,t);Bm(t[R],s,i,e.value,n,r,o)}function Bm(e,t,n,r,o,i,s){if(i==null)e.removeAttribute(t,o,n);else{let a=s==null?Cn(i):s(i,r||"",o);e.setAttribute(t,o,a,n)}}function $m(e,t,n,r,o,i){let s=i[t];if(s!==null)for(let a=0;a<s.length;){let u=s[a++],c=s[a++],l=s[a++],d=s[a++];Wl(r,n,u,c,l,d)}}function Hm(e,t,n){let r=null,o=0;for(;o<n.length;){let i=n[o];if(i===0){o+=4;continue}else if(i===5){o+=2;continue}if(typeof i=="number")break;if(e.hasOwnProperty(i)){r===null&&(r=[]);let s=e[i];for(let a=0;a<s.length;a+=3)if(s[a]===t){r.push(i,s[a+1],s[a+2],n[o+1]);break}}o+=2}return r}function Jl(e,t,n,r){return[e,!0,0,t,null,r,null,n,null,null]}function Xl(e,t){let n=e.contentQueries;if(n!==null){let r=b(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];io(i),a.contentQueries(2,t[s],s)}}}finally{b(r)}}}function yo(e,t){return e[yn]?e[_u][pe]=t:e[yn]=t,e[_u]=t,t}function Vi(e,t,n){io(0);let r=b(null);try{t(e,n)}finally{b(r)}}function ed(e){return e[Nr]??=[]}function td(e){return e.cleanup??=[]}function nd(e,t,n){return(e===null||Oe(e))&&(n=Nh(n[t.index])),n[R]}function rd(e,t){let n=e[Ht],r=n?n.get(Re,null):null;r&&r.handleError(t)}function Ys(e,t,n,r,o){for(let i=0;i<n.length;){let s=n[i++],a=n[i++],u=n[i++],c=t[s],l=e.data[s];Wl(l,c,r,a,u,o)}}function Um(e,t,n){let r=Gc(t,e);em(e[R],r,n)}function Gm(e,t){let n=Ze(t,e),r=n[I];zm(r,n);let o=n[_e];o!==null&&n[$t]===null&&(n[$t]=Ls(o,n[Ht])),Qs(r,n,n[H])}function zm(e,t){for(let n=t.length;n<e.blueprint.length;n++)t.push(e.blueprint[n])}function Qs(e,t,n){Fs(t);try{let r=e.viewQuery;r!==null&&Vi(1,r,n);let o=e.template;o!==null&&Zl(e,t,o,1,n),e.firstCreatePass&&(e.firstCreatePass=!1),t[Ae]?.finishViewCreation(e),e.staticContentQueries&&Xl(e,t),e.staticViewQueries&&Vi(2,e.viewQuery,n);let i=e.components;i!==null&&Wm(t,i)}catch(r){throw e.firstCreatePass&&(e.incompleteFirstPass=!0,e.firstCreatePass=!1),r}finally{t[y]&=-5,Rs()}}function Wm(e,t){for(let n=0;n<t.length;n++)Gm(e,t[n])}function Nn(e,t,n,r){let o=b(null);try{let i=t.tView,a=e[y]&4096?4096:16,u=go(e,i,n,a,null,t,null,null,r?.injector??null,r?.embeddedViewInjector??null,r?.dehydratedView??null),c=e[t.index];u[lt]=c;let l=e[Ae];return l!==null&&(u[Ae]=l.createEmbeddedView(i)),Qs(i,u,n),u}finally{b(o)}}function od(e,t){let n=U+t;if(n<e.length)return e[n]}function Gt(e,t){return!t||t.firstChild===null||Dl(e)}function An(e,t,n,r=!0){let o=t[I];if(im(o,t,e,n),r){let s=Li(n,e),a=t[R],u=Hs(a,e[dt]);u!==null&&rm(o,e[ee],a,t,u,s)}let i=t[$t];i!==null&&i.firstChild!==null&&(i.firstChild=null)}function id(e,t){let n=Dn(e,t);return n!==void 0&&fo(n[I],n),n}function Vr(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(be(i)),Pe(i)&&qm(i,r);let s=n.type;if(s&8)Vr(e,t,n.child,r);else if(s&32){let a=Bs(n,t),u;for(;u=a();)r.push(u)}else if(s&16){let a=$l(t,n);if(Array.isArray(a))r.push(...a);else{let u=ft(t[ne]);Vr(u[I],u,a,r,!0)}}n=o?n.projectionNext:n.next}return r}function qm(e,t){for(let n=U;n<e.length;n++){let r=e[n],o=r[I].firstChild;o!==null&&Vr(r[I],r,o,t)}e[dt]!==e[_e]&&t.push(e[dt])}var sd=[];function Zm(e){return e[ie]??Ym(e)}function Ym(e){let t=sd.pop()??Object.create(Km);return t.lView=e,t}function Qm(e){e.lView[ie]!==e&&(e.lView=null,sd.push(e))}var Km=ye(me({},Ct),{consumerIsAlwaysLive:!0,consumerMarkedDirty:e=>{oo(e.lView)},consumerOnSignalRead(){this.lView[ie]=this}});function Jm(e){let t=e[ie]??Object.create(Xm);return t.lView=e,t}var Xm=ye(me({},Ct),{consumerIsAlwaysLive:!0,consumerMarkedDirty:e=>{let t=ft(e.lView);for(;t&&!ad(t[I]);)t=ft(t);t&&Wc(t)},consumerOnSignalRead(){this.lView[ie]=this}});function ad(e){return e.type!==2}var ey=100;function ud(e,t=!0,n=0){let r=e[Ce],o=r.rendererFactory,i=!1;i||o.begin?.();try{ty(e,n)}catch(s){throw t&&rd(e,s),s}finally{i||(o.end?.(),r.inlineEffectRunner?.flush())}}function ty(e,t){let n=Jc();try{xu(!0),Bi(e,t);let r=0;for(;vn(e);){if(r===ey)throw new S(103,!1);r++,Bi(e,1)}}finally{xu(n)}}function ny(e,t,n,r){let o=t[y];if((o&256)===256)return;let i=!1,s=!1;!i&&t[Ce].inlineEffectRunner?.flush(),Fs(t);let a=!0,u=null,c=null;i||(ad(e)?(c=Zm(t),u=tn(c)):ba()===null?(a=!1,c=Jm(t),u=tn(c)):t[ie]&&(Vn(t[ie]),t[ie]=null));try{zc(t),Hh(e.bindingStartIndex),n!==null&&Zl(e,t,n,2,r);let l=(o&3)===3;if(!i)if(l){let f=e.preOrderCheckHooks;f!==null&&Er(t,f,null)}else{let f=e.preOrderHooks;f!==null&&Ir(t,f,0,null),Qo(t,0)}if(s||ry(t),cd(t,0),e.contentQueries!==null&&Xl(e,t),!i)if(l){let f=e.contentCheckHooks;f!==null&&Er(t,f)}else{let f=e.contentHooks;f!==null&&Ir(t,f,1),Qo(t,1)}vm(e,t);let d=e.components;d!==null&&dd(t,d,0);let p=e.viewQuery;if(p!==null&&Vi(2,p,r),!i)if(l){let f=e.viewCheckHooks;f!==null&&Er(t,f)}else{let f=e.viewHooks;f!==null&&Ir(t,f,2),Qo(t,2)}if(e.firstUpdatePass===!0&&(e.firstUpdatePass=!1),t[Dr]){for(let f of t[Dr])f();t[Dr]=null}i||(t[y]&=-73)}catch(l){throw i||oo(t),l}finally{c!==null&&(Ln(c,u),a&&Qm(c)),Rs()}}function cd(e,t){for(let n=Il(e);n!==null;n=wl(n))for(let r=U;r<n.length;r++){let o=n[r];ld(o,t)}}function ry(e){for(let t=Il(e);t!==null;t=wl(t)){if(!(t[y]&Or.HasTransplantedViews))continue;let n=t[Ut];for(let r=0;r<n.length;r++){let o=n[r];Wc(o)}}}function oy(e,t,n){let r=Ze(t,e);ld(r,n)}function ld(e,t){Ss(e)&&Bi(e,t)}function Bi(e,t){let r=e[I],o=e[y],i=e[ie],s=!!(t===0&&o&16);if(s||=!!(o&64&&t===0),s||=!!(o&1024),s||=!!(i?.dirty&&jn(i)),s||=!1,i&&(i.dirty=!1),e[y]&=-9217,s)ny(r,e,r.template,e[H]);else if(o&8192){cd(e,1);let a=r.components;a!==null&&dd(e,a,1)}}function dd(e,t,n){for(let r=0;r<t.length;r++)oy(e,t[r],n)}function Ks(e,t){let n=Jc()?64:1088;for(e[Ce].changeDetectionScheduler?.notify(t);e;){e[y]|=n;let r=ft(e);if(mi(e)&&!r)return e;e=r}return null}var mt=class{get rootNodes(){let t=this._lView,n=t[I];return Vr(n,t,n.firstChild,[])}constructor(t,n,r=!0){this._lView=t,this._cdRefInjectingView=n,this.notifyErrorHandler=r,this._appRef=null,this._attachedToViewContainer=!1}get context(){return this._lView[H]}set context(t){this._lView[H]=t}get destroyed(){return(this._lView[y]&256)===256}destroy(){if(this._appRef)this._appRef.detachView(this);else if(this._attachedToViewContainer){let t=this._lView[z];if(Pe(t)){let n=t[Ar],r=n?n.indexOf(this):-1;r>-1&&(Dn(t,r),xr(n,r))}this._attachedToViewContainer=!1}fo(this._lView[I],this._lView)}onDestroy(t){qc(this._lView,t)}markForCheck(){Ks(this._cdRefInjectingView||this._lView,4)}detach(){this._lView[y]&=-129}reattach(){vi(this._lView),this._lView[y]|=128}detectChanges(){this._lView[y]|=1024,ud(this._lView,this.notifyErrorHandler)}checkNoChanges(){}attachToViewContainerRef(){if(this._appRef)throw new S(902,!1);this._attachedToViewContainer=!0}detachFromAppRef(){this._appRef=null;let t=mi(this._lView),n=this._lView[lt];n!==null&&!t&&$s(n,this._lView),Pl(this._lView[I],this._lView)}attachToAppRef(t){if(this._attachedToViewContainer)throw new S(902,!1);this._appRef=t;let n=mi(this._lView),r=this._lView[lt];r!==null&&!n&&Ll(r,this._lView),vi(this._lView)}},En=(()=>{let t=class t{};t.__NG_ELEMENT_ID__=ay;let e=t;return e})(),iy=En,sy=class extends iy{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=Nn(this._declarationLView,this._declarationTContainer,t,{embeddedViewInjector:n,dehydratedView:r});return new mt(o)}};function ay(){return vo(B(),v())}function vo(e,t){return e.type&4?new sy(t,e,Qt(e,t)):null}var cx=new RegExp(`^(\\d+)*(${Cg}|${wg})*(.*)`);var uy=()=>null;function zt(e,t){return uy(e,t)}var Wt=class{},Js=new A("",{providedIn:"root",factory:()=>!1});var fd=new A(""),$i=class{},Br=class{};function cy(e){let t=Error(`No component factory found for ${X(e)}.`);return t[ly]=e,t}var ly="ngComponent";var Hi=class{resolveComponentFactory(t){throw cy(t)}},la=class la{};la.NULL=new Hi;var qt=la,$r=class{},Xs=(()=>{let t=class t{constructor(){this.destroyNode=null}};t.__NG_ELEMENT_ID__=()=>dy();let e=t;return e})();function dy(){let e=v(),t=B(),n=Ze(t.index,e);return(He(n)?n:e)[R]}var fy=(()=>{let t=class t{};t.\u0275prov=k({token:t,providedIn:"root",factory:()=>null});let e=t;return e})();var Uu=new Set;function Me(e){Uu.has(e)||(Uu.add(e),performance?.mark?.("mark_feature_usage",{detail:{feature:e}}))}function pd(e){let t=!0;return setTimeout(()=>{t&&(t=!1,e())}),typeof Vt.requestAnimationFrame=="function"&&Vt.requestAnimationFrame(()=>{t&&(t=!1,e())}),()=>{t=!1}}function Gu(e){let t=!0;return queueMicrotask(()=>{t&&e()}),()=>{t=!1}}function zu(...e){}var Y=class e{constructor({enableLongStackTrace:t=!1,shouldCoalesceEventChangeDetection:n=!1,shouldCoalesceRunChangeDetection:r=!1}){if(this.hasPendingMacrotasks=!1,this.hasPendingMicrotasks=!1,this.isStable=!0,this.onUnstable=new fe(!1),this.onMicrotaskEmpty=new fe(!1),this.onStable=new fe(!1),this.onError=new fe(!1),typeof Zone>"u")throw new S(908,!1);Zone.assertZonePatched();let o=this;o._nesting=0,o._outer=o._inner=Zone.current,Zone.TaskTrackingZoneSpec&&(o._inner=o._inner.fork(new Zone.TaskTrackingZoneSpec)),t&&Zone.longStackTraceZoneSpec&&(o._inner=o._inner.fork(Zone.longStackTraceZoneSpec)),o.shouldCoalesceEventChangeDetection=!r&&n,o.shouldCoalesceRunChangeDetection=r,o.callbackScheduled=!1,gy(o)}static isInAngularZone(){return typeof Zone<"u"&&Zone.current.get("isAngularZone")===!0}static assertInAngularZone(){if(!e.isInAngularZone())throw new S(909,!1)}static assertNotInAngularZone(){if(e.isInAngularZone())throw new S(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,py,zu,zu);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)}},py={};function ea(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 hy(e){e.isCheckStableRunning||e.callbackScheduled||(e.callbackScheduled=!0,Zone.root.run(()=>{pd(()=>{e.callbackScheduled=!1,Ui(e),e.isCheckStableRunning=!0,ea(e),e.isCheckStableRunning=!1})}),Ui(e))}function gy(e){let t=()=>{hy(e)};e._inner=e._inner.fork({name:"angular",properties:{isAngularZone:!0},onInvokeTask:(n,r,o,i,s,a)=>{if(my(a))return n.invokeTask(o,i,s,a);try{return Wu(e),n.invokeTask(o,i,s,a)}finally{(e.shouldCoalesceEventChangeDetection&&i.type==="eventTask"||e.shouldCoalesceRunChangeDetection)&&t(),qu(e)}},onInvoke:(n,r,o,i,s,a,u)=>{try{return Wu(e),n.invoke(o,i,s,a,u)}finally{e.shouldCoalesceRunChangeDetection&&!e.callbackScheduled&&!yy(a)&&t(),qu(e)}},onHasTask:(n,r,o,i)=>{n.hasTask(o,i),r===o&&(i.change=="microTask"?(e._hasPendingMicrotasks=i.microTask,Ui(e),ea(e)):i.change=="macroTask"&&(e.hasPendingMacrotasks=i.macroTask))},onHandleError:(n,r,o,i)=>(n.handleError(o,i),e.runOutsideAngular(()=>e.onError.emit(i)),!1)})}function Ui(e){e._hasPendingMicrotasks||(e.shouldCoalesceEventChangeDetection||e.shouldCoalesceRunChangeDetection)&&e.callbackScheduled===!0?e.hasPendingMicrotasks=!0:e.hasPendingMicrotasks=!1}function Wu(e){e._nesting++,e.isStable&&(e.isStable=!1,e.onUnstable.emit(null))}function qu(e){e._nesting--,ea(e)}var Gi=class{constructor(){this.hasPendingMicrotasks=!1,this.hasPendingMacrotasks=!1,this.isStable=!0,this.onUnstable=new fe,this.onMicrotaskEmpty=new fe,this.onStable=new fe,this.onError=new fe}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 my(e){return hd(e,"__ignore_ng_zone__")}function yy(e){return hd(e,"__scheduler_tick__")}function hd(e,t){return!Array.isArray(e)||e.length!==1?!1:e[0]?.data?.[t]===!0}var Z=function(e){return e[e.EarlyRead=0]="EarlyRead",e[e.Write=1]="Write",e[e.MixedReadWrite=2]="MixedReadWrite",e[e.Read=3]="Read",e}(Z||{}),gd={destroy(){}};function vy(e,t){!t&&ws(vy);let n=t?.injector??w(Fe);return Rl(n)?(Me("NgAfterRender"),md(e,n,!1,t?.phase??Z.MixedReadWrite)):gd}function Dy(e,t){!t&&ws(Dy);let n=t?.injector??w(Fe);return Rl(n)?(Me("NgAfterNextRender"),md(e,n,!0,t?.phase??Z.MixedReadWrite)):gd}function Ey(e,t){if(e instanceof Function)switch(t){case Z.EarlyRead:return{earlyRead:e};case Z.Write:return{write:e};case Z.MixedReadWrite:return{mixedReadWrite:e};case Z.Read:return{read:e}}return e}function md(e,t,n,r){let o=Ey(e,r),i=t.get(ta),s=i.handler??=new Wi,a=[],u=[],c=()=>{for(let f of u)s.unregister(f);l()},l=t.get(xn).onDestroy(c),d=0,p=(f,h)=>{if(!h)return;let g=n?(..._)=>(d--,d<1&&c(),h(..._)):h,T=bh(t,()=>new zi(f,a,g));s.register(T),u.push(T),d++};return p(Z.EarlyRead,o.earlyRead),p(Z.Write,o.write),p(Z.MixedReadWrite,o.mixedReadWrite),p(Z.Read,o.read),{destroy:c}}var zi=class{constructor(t,n,r){this.phase=t,this.pipelinedArgs=n,this.callbackFn=r,this.zone=w(Y),this.errorHandler=w(Re,{optional:!0}),w(Wt,{optional:!0})?.notify(6)}invoke(){try{let t=this.zone.runOutsideAngular(()=>this.callbackFn.apply(null,this.pipelinedArgs));this.pipelinedArgs.splice(0,this.pipelinedArgs.length,t)}catch(t){this.errorHandler?.handleError(t)}}},Wi=class{constructor(){this.executingCallbacks=!1,this.buckets={[Z.EarlyRead]:new Set,[Z.Write]:new Set,[Z.MixedReadWrite]:new Set,[Z.Read]:new Set},this.deferredCallbacks=new Set}register(t){(this.executingCallbacks?this.deferredCallbacks:this.buckets[t.phase]).add(t)}unregister(t){this.buckets[t.phase].delete(t),this.deferredCallbacks.delete(t)}execute(){this.executingCallbacks=!0;for(let t of Object.values(this.buckets))for(let n of t)n.invoke();this.executingCallbacks=!1;for(let t of this.deferredCallbacks)this.buckets[t.phase].add(t);this.deferredCallbacks.clear()}destroy(){for(let t of Object.values(this.buckets))t.clear();this.deferredCallbacks.clear()}},ta=(()=>{let t=class t{constructor(){this.handler=null,this.internalCallbacks=[]}execute(){this.executeInternalCallbacks(),this.handler?.execute()}executeInternalCallbacks(){let r=[...this.internalCallbacks];this.internalCallbacks.length=0;for(let o of r)o()}ngOnDestroy(){this.handler?.destroy(),this.handler=null,this.internalCallbacks.length=0}};t.\u0275prov=k({token:t,providedIn:"root",factory:()=>new t});let e=t;return e})();function Hr(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=ui(o,a);else if(i==2){let u=a,c=t[++s];r=ui(r,u+": "+c+";")}}n?e.styles=r:e.stylesWithoutHost=r,n?e.classes=o:e.classesWithoutHost=o}var Ur=class extends qt{constructor(t){super(),this.ngModule=t}resolveComponentFactory(t){let n=Ne(t);return new yt(n,this.ngModule)}};function Zu(e,t){let n=[];for(let r in e){if(!e.hasOwnProperty(r))continue;let o=e[r];if(o===void 0)continue;let i=Array.isArray(o),s=i?o[0]:o,a=i?o[1]:Ue.None;t?n.push({propName:s,templateName:r,isSignal:(a&Ue.SignalBased)!==0}):n.push({propName:s,templateName:r})}return n}function Iy(e){let t=e.toLowerCase();return t==="svg"?Uc:t==="math"?Th:null}var yt=class extends Br{get inputs(){let t=this.componentDef,n=t.inputTransforms,r=Zu(t.inputs,!0);if(n!==null)for(let o of r)n.hasOwnProperty(o.propName)&&(o.transform=n[o.propName]);return r}get outputs(){return Zu(this.componentDef.outputs,!1)}constructor(t,n){super(),this.componentDef=t,this.ngModule=n,this.componentType=t.type,this.selector=sh(t.selectors),this.ngContentSelectors=t.ngContentSelectors?t.ngContentSelectors:[],this.isBoundToModule=!!n}create(t,n,r,o){let i=b(null);try{o=o||this.ngModule;let s=o instanceof Ge?o:o?.injector;s&&this.componentDef.getStandaloneInjector!==null&&(s=this.componentDef.getStandaloneInjector(s)||s);let a=s?new Ei(t,s):t,u=a.get($r,null);if(u===null)throw new S(407,!1);let c=a.get(fy,null),l=a.get(ta,null),d=a.get(Wt,null),p={rendererFactory:u,sanitizer:c,inlineEffectRunner:null,afterRenderEventManager:l,changeDetectionScheduler:d},f=u.createRenderer(null,this.componentDef),h=this.componentDef.selectors[0][0]||"div",g=r?Im(f,r,this.componentDef.encapsulation,a):kl(f,h,Iy(h)),T=512;this.componentDef.signals?T|=4096:this.componentDef.onPush||(T|=16);let _=null;g!==null&&(_=Ls(g,a,!0));let j=qs(0,null,null,1,0,null,null,null,null,null,null),Q=go(null,j,null,T,null,null,p,f,a,null,_);Fs(Q);let xe,It;try{let ae=this.componentDef,wt,wo=null;ae.findHostDirectiveDefs?(wt=[],wo=new Map,ae.findHostDirectiveDefs(ae,wt,wo),wt.push(ae)):wt=[ae];let lf=wy(Q,g),df=Cy(lf,g,ae,wt,Q,p,f);It=Ms(j,V),g&&My(f,ae,g,r),n!==void 0&&xy(It,this.ngContentSelectors,n),xe=_y(df,ae,wt,wo,Q,[Sy]),Qs(j,Q,null)}finally{Rs()}return new qi(this.componentType,xe,Qt(It,Q),Q,It)}finally{b(i)}}},qi=class extends $i{constructor(t,n,r,o,i){super(),this.location=r,this._rootLView=o,this._tNode=i,this.previousInputValues=null,this.instance=n,this.hostView=this.changeDetectorRef=new mt(o,void 0,!1),this.componentType=t}setInput(t,n){let r=this._tNode.inputs,o;if(r!==null&&(o=r[t])){if(this.previousInputValues??=new Map,this.previousInputValues.has(t)&&Object.is(this.previousInputValues.get(t),n))return;let i=this._rootLView;Ys(i[I],i,o,t,n),this.previousInputValues.set(t,n);let s=Ze(this._tNode.index,i);Ks(s,1)}}get injector(){return new ut(this._tNode,this._rootLView)}destroy(){this.hostView.destroy()}onDestroy(t){this.hostView.onDestroy(t)}};function wy(e,t){let n=e[I],r=V;return e[r]=t,Jt(n,r,2,"#host",null)}function Cy(e,t,n,r,o,i,s){let a=o[I];by(r,e,t,s);let u=null;t!==null&&(u=Ls(t,o[Ht]));let c=i.rendererFactory.createRenderer(t,n),l=16;n.signals?l=4096:n.onPush&&(l=64);let d=go(o,Yl(n),null,l,o[e.index],e,i,c,null,null,u);return a.firstCreatePass&&ji(a,e,r.length-1),yo(o,d),o[e.index]=d}function by(e,t,n,r){for(let o of e)t.mergedAttrs=gn(t.mergedAttrs,o.hostAttrs);t.mergedAttrs!==null&&(Hr(t,t.mergedAttrs,!0),n!==null&&Gl(r,n,t))}function _y(e,t,n,r,o,i){let s=B(),a=o[I],u=se(s,o);Ql(a,o,s,n,null,r);for(let l=0;l<n.length;l++){let d=s.directiveStart+l,p=gt(o,a,d,s);We(p,o)}Kl(a,o,s),u&&We(u,o);let c=gt(o,a,s.directiveStart+s.componentOffset,s);if(e[H]=o[H]=c,i!==null)for(let l of i)l(c,t);return Gs(a,s,o),c}function My(e,t,n,r){if(r)fi(e,n,["ng-version","18.1.2"]);else{let{attrs:o,classes:i}=ah(t.selectors[0]);o&&fi(e,n,o),i&&i.length>0&&Ul(e,n,i.join(" "))}}function xy(e,t,n){let r=e.projection=[];for(let o=0;o<t.length;o++){let i=n[o];r.push(i!=null?Array.from(i):null)}}function Sy(){let e=B();uo(v()[I],e)}var On=(()=>{let t=class t{};t.__NG_ELEMENT_ID__=Ty;let e=t;return e})();function Ty(){let e=B();return vd(e,v())}var Ny=On,yd=class extends Ny{constructor(t,n,r){super(),this._lContainer=t,this._hostTNode=n,this._hostLView=r}get element(){return Qt(this._hostTNode,this._hostLView)}get injector(){return new ut(this._hostTNode,this._hostLView)}get parentInjector(){let t=ks(this._hostTNode,this._hostLView);if(al(t)){let n=Rr(t,this._hostLView),r=Fr(t),o=n[I].data[r+8];return new ut(o,n)}else return new ut(null,this._hostLView)}clear(){for(;this.length>0;)this.remove(this.length-1)}get(t){let n=Yu(this._lContainer);return n!==null&&n[t]||null}get length(){return this._lContainer.length-U}createEmbeddedView(t,n,r){let o,i;typeof r=="number"?o=r:r!=null&&(o=r.index,i=r.injector);let s=zt(this._lContainer,t.ssrId),a=t.createEmbeddedViewImpl(n||{},i,s);return this.insertImpl(a,o,Gt(this._hostTNode,s)),a}createComponent(t,n,r,o,i){let s=t&&!_h(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 u=s?t:new yt(Ne(t)),c=r||this.parentInjector;if(!i&&u.ngModule==null){let g=(s?c:this.parentInjector).get(Ge,null);g&&(i=g)}let l=Ne(u.componentType??{}),d=zt(this._lContainer,l?.id??null),p=d?.firstChild??null,f=u.create(c,o,p,i);return this.insertImpl(f.hostView,a,Gt(this._hostTNode,d)),f}insert(t,n){return this.insertImpl(t,n,!0)}insertImpl(t,n,r){let o=t._lView;if(Oh(o)){let a=this.indexOf(t);if(a!==-1)this.detach(a);else{let u=o[z],c=new yd(u,u[ee],u[z]);c.detach(c.indexOf(t))}}let i=this._adjustIndex(n),s=this._lContainer;return An(s,o,i,r),t.attachToViewContainerRef(),Dc(ti(s),i,t),t}move(t,n){return this.insert(t,n)}indexOf(t){let n=Yu(this._lContainer);return n!==null?n.indexOf(t):-1}remove(t){let n=this._adjustIndex(t,-1),r=Dn(this._lContainer,n);r&&(xr(ti(this._lContainer),n),fo(r[I],r))}detach(t){let n=this._adjustIndex(t,-1),r=Dn(this._lContainer,n);return r&&xr(ti(this._lContainer),n)!=null?new mt(r):null}_adjustIndex(t,n=0){return t??this.length+n}};function Yu(e){return e[Ar]}function ti(e){return e[Ar]||(e[Ar]=[])}function vd(e,t){let n,r=t[e.index];return Pe(r)?n=r:(n=Jl(r,t,null,e),t[e.index]=n,yo(t,n)),Oy(n,t,e,r),new yd(n,e,t)}function Ay(e,t){let n=e[R],r=n.createComment(""),o=se(t,e),i=Hs(n,o);return jr(n,i,r,lm(n,o),!1),r}var Oy=ky,Fy=()=>!1;function Ry(e,t,n){return Fy(e,t,n)}function ky(e,t,n,r){if(e[dt])return;let o;n.type&8?o=be(r):o=Ay(t,n),e[dt]=o}var Zi=class e{constructor(t){this.queryList=t,this.matches=null}clone(){return new e(this.queryList)}setDirty(){this.queryList.setDirty()}},Yi=class e{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++)ra(t,n).matches!==null&&this.queries[n].setDirty()}},Gr=class{constructor(t,n,r=null){this.flags=n,this.read=r,typeof t=="string"?this.predicate=$y(t):this.predicate=t}},Qi=class e{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)}},Ki=class e{constructor(t,n=-1){this.metadata=t,this.matches=null,this.indexInDeclarationView=-1,this.crossesNgTemplate=!1,this._appliesToNextNode=!0,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,Py(n,i)),this.matchTNodeWithReadOption(t,n,wr(n,t,i,!1,!1))}else r===En?n.type&4&&this.matchTNodeWithReadOption(t,n,-1):this.matchTNodeWithReadOption(t,n,wr(n,t,r,!1,!1))}matchTNodeWithReadOption(t,n,r){if(r!==null){let o=this.metadata.read;if(o!==null)if(o===Et||o===On||o===En&&n.type&4)this.addMatch(n.index,-2);else{let i=wr(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 Py(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 Ly(e,t){return e.type&11?Qt(e,t):e.type&4?vo(e,t):null}function jy(e,t,n,r){return n===-1?Ly(t,e):n===-2?Vy(e,t,r):gt(e,e[I],n,t)}function Vy(e,t,n){if(n===Et)return Qt(t,e);if(n===En)return vo(t,e);if(n===On)return vd(t,e)}function Dd(e,t,n,r){let o=t[Ae].queries[r];if(o.matches===null){let i=e.data,s=n.matches,a=[];for(let u=0;s!==null&&u<s.length;u+=2){let c=s[u];if(c<0)a.push(null);else{let l=i[c];a.push(jy(t,l,s[u+1],n.metadata.read))}}o.matches=a}return o.matches}function Ji(e,t,n,r){let o=e.queries.getByIndex(n),i=o.matches;if(i!==null){let s=Dd(e,t,o,n);for(let a=0;a<i.length;a+=2){let u=i[a];if(u>0)r.push(s[a/2]);else{let c=i[a+1],l=t[-u];for(let d=U;d<l.length;d++){let p=l[d];p[lt]===p[z]&&Ji(p[I],p,c,r)}if(l[Ut]!==null){let d=l[Ut];for(let p=0;p<d.length;p++){let f=d[p];Ji(f[I],f,c,r)}}}}}return r}function na(e,t){return e[Ae].queries[t].queryList}function Ed(e,t,n){let r=new xi((n&4)===4);return bm(e,t,r,r.destroy),(t[Ae]??=new Yi).queries.push(new Zi(r))-1}function By(e,t,n){let r=F();return r.firstCreatePass&&(wd(r,new Gr(e,t,n),-1),(t&2)===2&&(r.staticViewQueries=!0)),Ed(r,v(),t)}function Id(e,t,n,r){let o=F();if(o.firstCreatePass){let i=B();wd(o,new Gr(t,n,r),i.index),Hy(o,e),(n&2)===2&&(o.staticContentQueries=!0)}return Ed(o,v(),n)}function $y(e){return e.split(",").map(t=>t.trim())}function wd(e,t,n){e.queries===null&&(e.queries=new Qi),e.queries.track(new Ki(t,n))}function Hy(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 ra(e,t){return e.queries.getByIndex(t)}function Cd(e,t){let n=e[I],r=ra(n,t);return r.crossesNgTemplate?Ji(n,e,t,[]):Dd(n,e,r,t)}function Uy(e){return typeof e=="function"&&e[te]!==void 0}function Gy(e,t){Me("NgSignals");let n=ka(e),r=n[te];return t?.equal&&(r.equal=t.equal),n.set=o=>nn(r,o),n.update=o=>Pa(r,o),n.asReadonly=bd.bind(n),n}function bd(){let e=this[te];if(e.readonlyFn===void 0){let t=()=>this();t[te]=e,e.readonlyFn=t}return e.readonlyFn}function _d(e){return Uy(e)&&typeof e.set=="function"}function Md(e,t){let n,r=Mo(()=>{n._dirtyCounter();let o=Zy(n,e);if(t&&o===void 0)throw new S(-951,!1);return o});return n=r[te],n._dirtyCounter=Gy(0),n._flatValue=void 0,r}function zy(){return Md(!0,!1)}function Wy(){return Md(!0,!0)}function qy(e,t){let n=e[te];n._lView=v(),n._queryIndex=t,n._queryList=na(n._lView,t),n._queryList.onDirty(()=>n._dirtyCounter.update(r=>r+1))}function Zy(e,t){let n=e._lView,r=e._queryIndex;if(n===void 0||r===void 0||n[y]&4)return t?void 0:q;let o=na(n,r),i=Cd(n,r);return o.reset(i,vl),t?o.first:o._changesDetected||e._flatValue===void 0?e._flatValue=o.toArray():e._flatValue}function Qu(e,t){return zy()}function Yy(e,t){return Wy()}var dx=(Qu.required=Yy,Qu);function xd(e){let t=Object.create(Cp),n=new _i;t.value=e;function r(){return Pn(t),Ku(t.value),t.value}return r[te]=t,r.asReadonly=bd.bind(r),r.set=o=>{t.equal(t.value,o)||(nn(t,o),n.emit(o))},r.update=o=>{Ku(t.value),r.set(o(t.value))},r.subscribe=n.subscribe.bind(n),r.destroyRef=n.destroyRef,r}function Ku(e){if(e===uc)throw new S(952,!1)}function Ju(e){return xd(e)}function Qy(){return xd(uc)}var fx=(Ju.required=Qy,Ju);function Ky(e){return Object.getPrototypeOf(e.prototype).constructor}function Jy(e){let t=Ky(e.type),n=!0,r=[e];for(;t;){let o;if(Oe(e))o=t.\u0275cmp||t.\u0275dir;else{if(t.\u0275cmp)throw new S(903,!1);o=t.\u0275dir}if(o){if(n){r.push(o);let s=e;s.inputs=mr(e.inputs),s.inputTransforms=mr(e.inputTransforms),s.declaredInputs=mr(e.declaredInputs),s.outputs=mr(e.outputs);let a=o.hostBindings;a&&rv(e,a);let u=o.viewQuery,c=o.contentQueries;if(u&&tv(e,u),c&&nv(e,c),Xy(e,o),_p(e.outputs,o.outputs),Oe(o)&&o.data.animation){let l=e.data;l.animation=(l.animation||[]).concat(o.data.animation)}}let i=o.features;if(i)for(let s=0;s<i.length;s++){let a=i[s];a&&a.ngInherit&&a(e),a===Jy&&(n=!1)}}t=Object.getPrototypeOf(t)}ev(r)}function Xy(e,t){for(let n in t.inputs){if(!t.inputs.hasOwnProperty(n)||e.inputs.hasOwnProperty(n))continue;let r=t.inputs[n];if(r!==void 0&&(e.inputs[n]=r,e.declaredInputs[n]=t.declaredInputs[n],t.inputTransforms!==null)){let o=Array.isArray(r)?r[0]:r;if(!t.inputTransforms.hasOwnProperty(o))continue;e.inputTransforms??={},e.inputTransforms[o]=t.inputTransforms[o]}}}function ev(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=gn(o.hostAttrs,n=gn(n,o.hostAttrs))}}function mr(e){return e===Te?{}:e===q?[]:e}function tv(e,t){let n=e.viewQuery;n?e.viewQuery=(r,o)=>{t(r,o),n(r,o)}:e.viewQuery=t}function nv(e,t){let n=e.contentQueries;n?e.contentQueries=(r,o,i)=>{t(r,o,i),n(r,o,i)}:e.contentQueries=t}function rv(e,t){let n=e.hostBindings;n?e.hostBindings=(r,o)=>{t(r,o),n(r,o)}:e.hostBindings=t}function px(e){let t=n=>{let r=(Array.isArray(e)?e:e()).map(o=>typeof o=="function"?{directive:$(o),inputs:Te,outputs:Te}:{directive:$(o.directive),inputs:Xu(o.inputs),outputs:Xu(o.outputs)});n.hostDirectives===null?(n.findHostDirectiveDefs=Sd,n.hostDirectives=r):n.hostDirectives.unshift(...r)};return t.ngInherit=!0,t}function Sd(e,t,n){if(e.hostDirectives!==null)for(let r of e.hostDirectives){let o=Es(r.directive);ov(o.declaredInputs,r.inputs),Sd(o,t,n),n.set(o,r),t.push(o)}}function Xu(e){if(e===void 0||e.length===0)return Te;let t={};for(let n=0;n<e.length;n+=2)t[e[n]]=e[n+1];return t}function ov(e,t){for(let n in t)if(t.hasOwnProperty(n)){let r=t[n],o=e[n];e[r]=o}}function iv(e){let t=e.inputConfig,n={};for(let r in t)if(t.hasOwnProperty(r)){let o=t[r];Array.isArray(o)&&o[3]&&(n[r]=o[3])}e.inputTransforms=n}var qe=class{},Xi=class{};var es=class extends qe{constructor(t,n,r){super(),this._parent=n,this._bootstrapComponents=[],this.destroyCbs=[],this.componentFactoryResolver=new Ur(this);let o=Tc(t);this._bootstrapComponents=Fl(o.bootstrap),this._r3Injector=ml(t,n,[{provide:qe,useValue:this},{provide:qt,useValue:this.componentFactoryResolver},...r],X(t),new Set(["environment"])),this._r3Injector.resolveInjectorInitializers(),this.instance=this._r3Injector.get(t)}get injector(){return this._r3Injector}destroy(){let t=this._r3Injector;!t.destroyed&&t.destroy(),this.destroyCbs.forEach(n=>n()),this.destroyCbs=null}onDestroy(t){this.destroyCbs.push(t)}},ts=class extends Xi{constructor(t){super(),this.moduleType=t}create(t){return new es(this.moduleType,t,[])}};var zr=class extends qe{constructor(t){super(),this.componentFactoryResolver=new Ur(this),this.instance=null;let n=new mn([...t.providers,{provide:qe,useValue:this},{provide:qt,useValue:this.componentFactoryResolver}],t.parent||eo(),t.debugName,new Set(["environment"]));this.injector=n,t.runEnvironmentInitializers&&n.resolveInjectorInitializers()}destroy(){this.injector.destroy()}onDestroy(t){this.injector.onDestroy(t)}};function sv(e,t,n=null){return new zr({providers:e,parent:t,debugName:n,runEnvironmentInitializers:!0}).injector}function oa(e,t,n){return e[t]=n}function av(e,t){return e[t]}function re(e,t,n){let r=e[t];return Object.is(r,n)?!1:(e[t]=n,!0)}function uv(e,t,n,r){let o=re(e,t,n);return re(e,t+1,r)||o}function cv(e){return(e.flags&32)===32}function lv(e,t,n,r,o,i,s,a,u){let c=t.consts,l=Jt(t,e,4,s||null,a||null);Zs(t,n,l,ze(c,u)),uo(t,l);let d=l.tView=qs(2,l,r,o,i,t.directiveRegistry,t.pipeRegistry,null,t.schemas,c,null);return t.queries!==null&&(t.queries.template(t,l),d.queries=t.queries.embeddedTView(l)),l}function Wr(e,t,n,r,o,i,s,a,u,c){let l=n+V,d=t.firstCreatePass?lv(l,t,e,r,o,i,s,a,u):t.data[l];Dt(d,!1);let p=fv(t,e,d,n);so()&&po(t,e,p,d),We(p,e);let f=Jl(p,e,p,d);return e[l]=f,yo(e,f),Ry(f,d,e),ro(d)&&zs(t,e,d),u!=null&&Ws(e,d,c),d}function dv(e,t,n,r,o,i,s,a){let u=v(),c=F(),l=ze(c.consts,i);return Wr(u,c,e,t,n,r,o,l,s,a),dv}var fv=pv;function pv(e,t,n,r){return ao(!0),t[R].createComment("")}function hv(e,t,n,r){let o=v(),i=Ye();if(re(o,i,t)){let s=F(),a=Mn();Vm(a,o,e,t,n,r)}return hv}function Td(e,t,n,r){return re(e,Ye(),n)?t+Cn(n)+r:he}function yr(e,t){return e<<17|t<<2}function vt(e){return e>>17&32767}function gv(e){return(e&2)==2}function mv(e,t){return e&131071|t<<17}function ns(e){return e|2}function Zt(e){return(e&131068)>>2}function ni(e,t){return e&-131069|t<<2}function yv(e){return(e&1)===1}function rs(e){return e|1}function vv(e,t,n,r,o,i){let s=i?t.classBindings:t.styleBindings,a=vt(s),u=Zt(s);e[r]=n;let c=!1,l;if(Array.isArray(n)){let d=n;l=d[1],(l===null||bn(d,l)>0)&&(c=!0)}else l=n;if(o)if(u!==0){let p=vt(e[a+1]);e[r+1]=yr(p,a),p!==0&&(e[p+1]=ni(e[p+1],r)),e[a+1]=mv(e[a+1],r)}else e[r+1]=yr(a,0),a!==0&&(e[a+1]=ni(e[a+1],r)),a=r;else e[r+1]=yr(u,0),a===0?a=r:e[u+1]=ni(e[u+1],r),u=r;c&&(e[r+1]=ns(e[r+1])),ec(e,l,r,!0),ec(e,l,r,!1),Dv(t,l,e,r,i),s=yr(a,u),i?t.classBindings=s:t.styleBindings=s}function Dv(e,t,n,r,o){let i=o?e.residualClasses:e.residualStyles;i!=null&&typeof t=="string"&&bn(i,t)>=0&&(n[r+1]=rs(n[r+1]))}function ec(e,t,n,r){let o=e[n+1],i=t===null,s=r?vt(o):Zt(o),a=!1;for(;s!==0&&(a===!1||i);){let u=e[s],c=e[s+1];Ev(u,t)&&(a=!0,e[s+1]=r?rs(c):ns(c)),s=r?vt(c):Zt(c)}a&&(e[n+1]=r?ns(o):rs(o))}function Ev(e,t){return e===null||t==null||(Array.isArray(e)?e[1]:e)===t?!0:Array.isArray(e)&&typeof t=="string"?bn(e,t)>=0:!1}var de={textEnd:0,key:0,keyEnd:0,value:0,valueEnd:0};function Iv(e){return e.substring(de.key,de.keyEnd)}function wv(e){return Cv(e),Nd(e,Ad(e,0,de.textEnd))}function Nd(e,t){let n=de.textEnd;return n===t?-1:(t=de.keyEnd=bv(e,de.key=t,n),Ad(e,t,n))}function Cv(e){de.key=0,de.keyEnd=0,de.value=0,de.valueEnd=0,de.textEnd=e.length}function Ad(e,t,n){for(;t<n&&e.charCodeAt(t)<=32;)t++;return t}function bv(e,t,n){for(;t<n&&e.charCodeAt(t)>32;)t++;return t}function _v(e,t,n){let r=v(),o=Ye();if(re(r,o,t)){let i=F(),s=Mn();mo(i,s,r,e,t,r[R],n,!1)}return _v}function os(e,t,n,r,o){let i=t.inputs,s=o?"class":"style";Ys(e,n,i[s],s,r)}function Od(e,t,n){return Rd(e,t,n,!1),Od}function Mv(e,t){return Rd(e,t,null,!0),Mv}function hx(e){kd(Ov,Fd,e,!0)}function Fd(e,t){for(let n=wv(t);n>=0;n=Nd(t,n))Xr(e,Iv(t),!0)}function Rd(e,t,n,r){let o=v(),i=F(),s=Xc(2);if(i.firstUpdatePass&&Ld(i,e,s,r),t!==he&&re(o,s,t)){let a=i.data[Qe()];jd(i,a,o,o[R],e,o[s+1]=Rv(t,n),r,s)}}function kd(e,t,n,r){let o=F(),i=Xc(2);o.firstUpdatePass&&Ld(o,null,i,r);let s=v();if(n!==he&&re(s,i,n)){let a=o.data[Qe()];if(Vd(a,r)&&!Pd(o,i)){let u=r?a.classesWithoutHost:a.stylesWithoutHost;u!==null&&(n=ui(u,n||"")),os(o,a,s,n,r)}else Fv(o,a,s,s[R],s[i+1],s[i+1]=Av(e,t,n),r,i)}}function Pd(e,t){return t>=e.expandoStartIndex}function Ld(e,t,n,r){let o=e.data;if(o[n+1]===null){let i=o[Qe()],s=Pd(e,n);Vd(i,r)&&t===null&&!s&&(t=!1),t=xv(o,i,t,r),vv(o,i,t,n,s,r)}}function xv(e,t,n,r){let o=As(e),i=r?t.residualClasses:t.residualStyles;if(o===null)(r?t.classBindings:t.styleBindings)===0&&(n=ri(null,e,t,n,r),n=In(n,t.attrs,r),i=null);else{let s=t.directiveStylingLast;if(s===-1||e[s]!==o)if(n=ri(o,e,t,n,r),i===null){let u=Sv(e,t,r);u!==void 0&&Array.isArray(u)&&(u=ri(null,e,t,u[1],r),u=In(u,t.attrs,r),Tv(e,t,r,u))}else i=Nv(e,t,r)}return i!==void 0&&(r?t.residualClasses=i:t.residualStyles=i),n}function Sv(e,t,n){let r=n?t.classBindings:t.styleBindings;if(Zt(r)!==0)return e[vt(r)]}function Tv(e,t,n,r){let o=n?t.classBindings:t.styleBindings;e[vt(o)]=r}function Nv(e,t,n){let r,o=t.directiveEnd;for(let i=1+t.directiveStylingLast;i<o;i++){let s=e[i].hostAttrs;r=In(r,s,n)}return In(r,t.attrs,n)}function ri(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=In(r,i.hostAttrs,o),i!==e);)a++;return e!==null&&(n.directiveStylingLast=a),r}function In(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]),Xr(e,s,n?!0:t[++i]))}return e===void 0?null:e}function Av(e,t,n){if(n==null||n==="")return q;let r=[],o=Kt(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 Ov(e,t,n){let r=String(t);r!==""&&!r.includes(" ")&&Xr(e,r,n)}function Fv(e,t,n,r,o,i,s,a){o===he&&(o=q);let u=0,c=0,l=0<o.length?o[0]:null,d=0<i.length?i[0]:null;for(;l!==null||d!==null;){let p=u<o.length?o[u+1]:void 0,f=c<i.length?i[c+1]:void 0,h=null,g;l===d?(u+=2,c+=2,p!==f&&(h=d,g=f)):d===null||l!==null&&l<d?(u+=2,h=l):(c+=2,h=d,g=f),h!==null&&jd(e,t,n,r,h,g,s,a),l=u<o.length?o[u]:null,d=c<i.length?i[c]:null}}function jd(e,t,n,r,o,i,s,a){if(!(t.type&3))return;let u=e.data,c=u[a+1],l=yv(c)?tc(u,t,n,o,Zt(c),s):void 0;if(!qr(l)){qr(i)||gv(c)&&(i=tc(u,null,n,o,a,s));let d=Gc(Qe(),n);mm(r,s,d,o,i)}}function tc(e,t,n,r,o,i){let s=t===null,a;for(;o>0;){let u=e[o],c=Array.isArray(u),l=c?u[1]:u,d=l===null,p=n[o+1];p===he&&(p=d?q:void 0);let f=d?Zo(p,r):l===r?p:void 0;if(c&&!qr(f)&&(f=Zo(u,r)),qr(f)&&(a=f,s))return a;let h=e[o+1];o=s?vt(h):Zt(h)}if(t!==null){let u=i?t.residualClasses:t.residualStyles;u!=null&&(a=Zo(u,r))}return a}function qr(e){return e!==void 0}function Rv(e,t){return e==null||e===""||(typeof t=="string"?e=e+t:typeof e=="object"&&(e=X(Kt(e)))),e}function Vd(e,t){return(e.flags&(t?8:16))!==0}function gx(e,t,n){let r=v(),o=Td(r,e,t,n);kd(Xr,Fd,o,!0)}var is=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 oi(e,t,n,r,o){return e===n&&Object.is(t,r)?1:Object.is(o(e,t),o(n,r))?-1:0}function kv(e,t,n){let r,o,i=0,s=e.length-1,a=void 0;if(Array.isArray(t)){let u=t.length-1;for(;i<=s&&i<=u;){let c=e.at(i),l=t[i],d=oi(i,c,i,l,n);if(d!==0){d<0&&e.updateValue(i,l),i++;continue}let p=e.at(s),f=t[u],h=oi(s,p,u,f,n);if(h!==0){h<0&&e.updateValue(s,f),s--,u--;continue}let g=n(i,c),T=n(s,p),_=n(i,l);if(Object.is(_,T)){let j=n(u,f);Object.is(j,g)?(e.swap(i,s),e.updateValue(s,f),u--,s--):e.move(s,i),e.updateValue(i,l),i++;continue}if(r??=new Zr,o??=rc(e,i,s,n),ss(e,r,i,_))e.updateValue(i,l),i++,s++;else if(o.has(_))r.set(g,e.detach(i)),s--;else{let j=e.create(i,t[i]);e.attach(i,j),i++,s++}}for(;i<=u;)nc(e,r,n,i,t[i]),i++}else if(t!=null){let u=t[Symbol.iterator](),c=u.next();for(;!c.done&&i<=s;){let l=e.at(i),d=c.value,p=oi(i,l,i,d,n);if(p!==0)p<0&&e.updateValue(i,d),i++,c=u.next();else{r??=new Zr,o??=rc(e,i,s,n);let f=n(i,d);if(ss(e,r,i,f))e.updateValue(i,d),i++,s++,c=u.next();else if(!o.has(f))e.attach(i,e.create(i,d)),i++,s++,c=u.next();else{let h=n(i,l);r.set(h,e.detach(i)),s--}}}for(;!c.done;)nc(e,r,n,e.length,c.value),c=u.next()}for(;i<=s;)e.destroy(e.detach(s--));r?.forEach(u=>{e.destroy(u)})}function ss(e,t,n,r){return t!==void 0&&t.has(r)?(e.attach(n,t.get(r)),t.delete(r),!0):!1}function nc(e,t,n,r,o){if(ss(e,t,r,n(r,o)))e.updateValue(r,o);else{let i=e.create(r,o);e.attach(r,i)}}function rc(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 Zr=class{constructor(){this.kvMap=new Map,this._vMap=void 0}has(t){return this.kvMap.has(t)}delete(t){if(!this.has(t))return!1;let n=this.kvMap.get(t);return this._vMap!==void 0&&this._vMap.has(n)?(this.kvMap.set(t,this._vMap.get(n)),this._vMap.delete(n)):this.kvMap.delete(t),!0}get(t){return this.kvMap.get(t)}set(t,n){if(this.kvMap.has(t)){let r=this.kvMap.get(t);this._vMap===void 0&&(this._vMap=new Map);let o=this._vMap;for(;o.has(r);)r=o.get(r);o.set(r,n)}else this.kvMap.set(t,n)}forEach(t){for(let[n,r]of this.kvMap)if(t(r,n),this._vMap!==void 0){let o=this._vMap;for(;o.has(r);)r=o.get(r),t(r,n)}}};function mx(e,t){Me("NgControlFlow");let n=v(),r=Ye(),o=n[r]!==he?n[r]:-1,i=o!==-1?Yr(n,V+o):void 0,s=0;if(re(n,r,e)){let a=b(null);try{if(i!==void 0&&id(i,s),e!==-1){let u=V+e,c=Yr(n,u),l=ls(n[I],u),d=zt(c,l.tView.ssrId),p=Nn(n,l,t,{dehydratedView:d});An(c,p,s,Gt(l,d))}}finally{b(a)}}else if(i!==void 0){let a=od(i,s);a!==void 0&&(a[H]=t)}}var as=class{constructor(t,n,r){this.lContainer=t,this.$implicit=n,this.$index=r}get $count(){return this.lContainer.length-U}};function yx(e){return e}function vx(e,t){return t}var us=class{constructor(t,n,r){this.hasEmptyBlock=t,this.trackByFn=n,this.liveCollection=r}};function Dx(e,t,n,r,o,i,s,a,u,c,l,d,p){Me("NgControlFlow");let f=v(),h=F(),g=u!==void 0,T=v(),_=a?s.bind(T[ne][H]):s,j=new us(g,_);T[V+e]=j,Wr(f,h,e+1,t,n,r,o,ze(h.consts,i)),g&&Wr(f,h,e+2,u,c,l,d,ze(h.consts,p))}var cs=class extends is{constructor(t,n,r){super(),this.lContainer=t,this.hostLView=n,this.templateTNode=r,this.operationsCounter=void 0,this.needsIndexUpdate=!1}get length(){return this.lContainer.length-U}at(t){return this.getLView(t)[H].$implicit}attach(t,n){let r=n[$t];this.needsIndexUpdate||=t!==this.length,An(this.lContainer,n,t,Gt(this.templateTNode,r))}detach(t){return this.needsIndexUpdate||=t!==this.length-1,Pv(this.lContainer,t)}create(t,n){let r=zt(this.lContainer,this.templateTNode.tView.ssrId),o=Nn(this.hostLView,this.templateTNode,new as(this.lContainer,n,t),{dehydratedView:r});return this.operationsCounter?.recordCreate(),o}destroy(t){fo(t[I],t),this.operationsCounter?.recordDestroy()}updateValue(t,n){this.getLView(t)[H].$implicit=n}reset(){this.needsIndexUpdate=!1,this.operationsCounter?.reset()}updateIndexes(){if(this.needsIndexUpdate)for(let t=0;t<this.length;t++)this.getLView(t)[H].$index=t}getLView(t){return Lv(this.lContainer,t)}};function Ex(e){let t=b(null),n=Qe();try{let r=v(),o=r[I],i=r[n],s=n+1,a=Yr(r,s);if(i.liveCollection===void 0){let c=ls(o,s);i.liveCollection=new cs(a,r,c)}else i.liveCollection.reset();let u=i.liveCollection;if(kv(u,e,i.trackByFn),u.updateIndexes(),i.hasEmptyBlock){let c=Ye(),l=u.length===0;if(re(r,c,l)){let d=n+2,p=Yr(r,d);if(l){let f=ls(o,d),h=zt(p,f.tView.ssrId),g=Nn(r,f,void 0,{dehydratedView:h});An(p,g,0,Gt(f,h))}else id(p,0)}}}finally{b(t)}}function Yr(e,t){return e[t]}function Pv(e,t){return Dn(e,t)}function Lv(e,t){return od(e,t)}function ls(e,t){return Ms(e,t)}function jv(e,t,n,r,o,i){let s=t.consts,a=ze(s,o),u=Jt(t,e,2,r,a);return Zs(t,n,u,ze(s,i)),u.attrs!==null&&Hr(u,u.attrs,!1),u.mergedAttrs!==null&&Hr(u,u.mergedAttrs,!0),t.queries!==null&&t.queries.elementStart(t,u),u}function Bd(e,t,n,r){let o=v(),i=F(),s=V+e,a=o[R],u=i.firstCreatePass?jv(s,i,o,t,n,r):i.data[s],c=Bv(i,o,u,a,t,e);o[s]=c;let l=ro(u);return Dt(u,!0),Gl(a,c,u),!cv(u)&&so()&&po(i,o,c,u),kh()===0&&We(c,o),Ph(),l&&(zs(i,o,u),Gs(i,u,o)),r!==null&&Ws(o,u),Bd}function $d(){let e=B();Ts()?Ns():(e=e.parent,Dt(e,!1));let t=e;jh(t)&&Vh(),Lh();let n=F();return n.firstCreatePass&&(uo(n,e),bs(e)&&n.queries.elementEnd(e)),t.classesWithoutHost!=null&&Xh(t)&&os(n,t,v(),t.classesWithoutHost,!0),t.stylesWithoutHost!=null&&eg(t)&&os(n,t,v(),t.stylesWithoutHost,!1),$d}function Vv(e,t,n,r){return Bd(e,t,n,r),$d(),Vv}var Bv=(e,t,n,r,o,i)=>(ao(!0),kl(r,o,Yh()));function $v(e,t,n,r,o){let i=t.consts,s=ze(i,r),a=Jt(t,e,8,"ng-container",s);s!==null&&Hr(a,s,!0);let u=ze(i,o);return Zs(t,n,a,u),t.queries!==null&&t.queries.elementStart(t,a),a}function Hd(e,t,n){let r=v(),o=F(),i=e+V,s=o.firstCreatePass?$v(i,o,r,t,n):o.data[i];Dt(s,!0);let a=Uv(o,r,s,e);return r[i]=a,so()&&po(o,r,a,s),We(a,r),ro(s)&&(zs(o,r,s),Gs(o,s,r)),n!=null&&Ws(r,s),Hd}function Ud(){let e=B(),t=F();return Ts()?Ns():(e=e.parent,Dt(e,!1)),t.firstCreatePass&&(uo(t,e),bs(e)&&t.queries.elementEnd(e)),Ud}function Hv(e,t,n){return Hd(e,t,n),Ud(),Hv}var Uv=(e,t,n,r)=>(ao(!0),tm(t[R],""));function Ix(){return v()}function Gv(e,t,n){let r=v(),o=Ye();if(re(r,o,t)){let i=F(),s=Mn();mo(i,s,r,e,t,r[R],n,!0)}return Gv}function zv(e,t,n){let r=v(),o=Ye();if(re(r,o,t)){let i=F(),s=Mn(),a=As(i.data),u=nd(a,s,r);mo(i,s,r,e,t,u,n,!0)}return zv}var Qr="en-US";var Wv=Qr;function qv(e){typeof e=="string"&&(Wv=e.toLowerCase().replace(/_/g,"-"))}var Zv=(e,t,n)=>{};function Yv(e,t,n,r){let o=v(),i=F(),s=B();return ia(i,o,o[R],s,e,t,r),Yv}function Qv(e,t){let n=B(),r=v(),o=F(),i=As(o.data),s=nd(i,n,r);return ia(o,r,s,n,e,t),Qv}function Kv(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[Nr],u=o[i+2];return a.length>u?a[u]:null}typeof s=="string"&&(i+=2)}return null}function ia(e,t,n,r,o,i,s){let a=ro(r),c=e.firstCreatePass&&td(e),l=t[H],d=ed(t),p=!0;if(r.type&3||s){let g=se(r,t),T=s?s(g):g,_=d.length,j=s?xe=>s(be(xe[r.index])):r.index,Q=null;if(!s&&a&&(Q=Kv(e,t,o,r.index)),Q!==null){let xe=Q.__ngLastListenerFn__||Q;xe.__ngNextListenerFn__=i,Q.__ngLastListenerFn__=i,p=!1}else{i=ic(r,t,l,i),Zv(g,o,i);let xe=n.listen(T,o,i);d.push(i,xe),c&&c.push(o,j,_,_+1)}}else i=ic(r,t,l,i);let f=r.outputs,h;if(p&&f!==null&&(h=f[o])){let g=h.length;if(g)for(let T=0;T<g;T+=2){let _=h[T],j=h[T+1],It=t[_][j].subscribe(i),ae=d.length;d.push(i,It),c&&c.push(o,r.index,ae,-(ae+1))}}}function oc(e,t,n,r){let o=b(null);try{return Ie(6,t,n),n(r)!==!1}catch(i){return rd(e,i),!1}finally{Ie(7,t,n),b(o)}}function ic(e,t,n,r){return function o(i){if(i===Function)return r;let s=e.componentOffset>-1?Ze(e.index,t):t;Ks(s,5);let a=oc(t,n,r,i),u=o.__ngNextListenerFn__;for(;u;)a=oc(t,n,u,i)&&a,u=u.__ngNextListenerFn__;return a}}function wx(e=1){return qh(e)}function Jv(e,t){let n=null,r=th(e);for(let o=0;o<t.length;o++){let i=t[o];if(i==="*"){n=o;continue}if(r===null?_c(e,i,!0):oh(r,i))return o}return n}function Cx(e){let t=v()[ne][ee];if(!t.projection){let n=e?e.length:1,r=t.projection=Wp(n,null),o=r.slice(),i=t.child;for(;i!==null;){if(i.type!==128){let s=e?Jv(i,e):0;s!==null&&(o[s]?o[s].projectionNext=i:r[s]=i,o[s]=i)}i=i.next}}}function bx(e,t=0,n,r,o,i){let s=v(),a=F(),u=r?e+1:null;u!==null&&Wr(s,a,u,r,o,i,null,n);let c=Jt(a,V+e,16,null,n||null);c.projection===null&&(c.projection=t),Ns();let d=!s[$t]||Qc();s[ne][ee].projection[c.projection]===null&&u!==null?Xv(s,a,u):d&&(c.flags&32)!==32&&hm(a,s,c)}function Xv(e,t,n){let r=V+n,o=t.data[r],i=e[r],s=zt(i,o.tView.ssrId),a=Nn(e,o,void 0,{dehydratedView:s});An(i,a,0,Gt(o,s))}function _x(e,t,n,r){Id(e,t,n,r)}function Mx(e,t,n){By(e,t,n)}function xx(e){let t=v(),n=F(),r=Os();io(r+1);let o=ra(n,r);if(e.dirty&&Ah(t)===((o.metadata.flags&2)===2)){if(o.matches===null)e.reset([]);else{let i=Cd(t,r);e.reset(i,vl),e.notifyOnChanges()}return!0}return!1}function Sx(){return na(v(),Os())}function Tx(e,t,n,r,o){qy(t,Id(e,n,r,o))}function Nx(e=1){io(Os()+e)}function eD(e,t,n,r){n>=e.data.length&&(e.data[n]=null,e.blueprint[n]=null),t[n]=r}function Ax(e){let t=$h();return xs(t,V+e)}function Ox(e,t=""){let n=v(),r=F(),o=e+V,i=r.firstCreatePass?Jt(r,o,1,t,null):r.data[o],s=tD(r,n,i,t,e);n[o]=s,so()&&po(r,n,s,i),Dt(i,!1)}var tD=(e,t,n,r,o)=>(ao(!0),Xg(t[R],r));function nD(e){return Gd("",e,""),nD}function Gd(e,t,n){let r=v(),o=Td(r,e,t,n);return o!==he&&Um(r,Qe(),o),Gd}function rD(e,t,n){_d(t)&&(t=t());let r=v(),o=Ye();if(re(r,o,t)){let i=F(),s=Mn();mo(i,s,r,e,t,r[R],n,!1)}return rD}function Fx(e,t){let n=_d(e);return n&&e.set(t),n}function oD(e,t){let n=v(),r=F(),o=B();return ia(r,n,n[R],o,e,t),oD}function iD(e,t,n){let r=F();if(r.firstCreatePass){let o=Oe(e);ds(n,r.data,r.blueprint,o,!0),ds(t,r.data,r.blueprint,o,!1)}}function ds(e,t,n,r,o){if(e=$(e),Array.isArray(e))for(let i=0;i<e.length;i++)ds(e[i],t,n,r,o);else{let i=F(),s=v(),a=B(),u=Bt(e)?e:$(e.provide),c=Pc(e),l=a.providerIndexes&1048575,d=a.directiveStart,p=a.providerIndexes>>20;if(Bt(e)||!e.multi){let f=new ht(c,o,je),h=si(u,t,o?l:l+p,d);h===-1?(wi(Pr(a,s),i,u),ii(i,e,t.length),t.push(u),a.directiveStart++,a.directiveEnd++,o&&(a.providerIndexes+=1048576),n.push(f),s.push(f)):(n[h]=f,s[h]=f)}else{let f=si(u,t,l+p,d),h=si(u,t,l,l+p),g=f>=0&&n[f],T=h>=0&&n[h];if(o&&!T||!o&&!g){wi(Pr(a,s),i,u);let _=uD(o?aD:sD,n.length,o,r,c);!o&&T&&(n[h].providerFactory=_),ii(i,e,t.length,0),t.push(u),a.directiveStart++,a.directiveEnd++,o&&(a.providerIndexes+=1048576),n.push(_),s.push(_)}else{let _=zd(n[o?h:f],c,!o&&r);ii(i,e,f>-1?f:h,_)}!o&&r&&T&&n[h].componentProviders++}}}function ii(e,t,n,r){let o=Bt(t),i=yh(t);if(o||i){let u=(i?$(t.useClass):t).prototype.ngOnDestroy;if(u){let c=e.destroyHooks||(e.destroyHooks=[]);if(!o&&t.multi){let l=c.indexOf(n);l===-1?c.push(n,[r,u]):c[l+1].push(r,u)}else c.push(n,u)}}}function zd(e,t,n){return n&&e.componentProviders++,e.multi.push(t)-1}function si(e,t,n,r){for(let o=n;o<r;o++)if(t[o]===e)return o;return-1}function sD(e,t,n,r){return fs(this.multi,[])}function aD(e,t,n,r){let o=this.multi,i;if(this.providerFactory){let s=this.providerFactory.componentProviders,a=gt(n,n[I],this.providerFactory.index,r);i=a.slice(0,s),fs(o,i);for(let u=s;u<a.length;u++)i.push(a[u])}else i=[],fs(o,i);return i}function fs(e,t){for(let n=0;n<e.length;n++){let r=e[n];t.push(r())}return t}function uD(e,t,n,r,o){let i=new ht(e,n,je);return i.multi=[],i.index=t,i.componentProviders=0,zd(i,o,r&&!n),i}function Rx(e,t=[]){return n=>{n.providersResolver=(r,o)=>iD(r,o?o(e):e,t)}}var cD=(()=>{let t=class t{constructor(r){this._injector=r,this.cachedInjectors=new Map}getOrCreateStandaloneInjector(r){if(!r.standalone)return null;if(!this.cachedInjectors.has(r)){let o=Oc(!1,r.type),i=o.length>0?sv([o],this._injector,`Standalone[${r.type.name}]`):null;this.cachedInjectors.set(r,i)}return this.cachedInjectors.get(r)}ngOnDestroy(){try{for(let r of this.cachedInjectors.values())r!==null&&r.destroy()}finally{this.cachedInjectors.clear()}}};t.\u0275prov=k({token:t,providedIn:"environment",factory:()=>new t(G(Ge))});let e=t;return e})();function kx(e){Me("NgStandalone"),e.getStandaloneInjector=t=>t.get(cD).getOrCreateStandaloneInjector(e)}function Px(e,t,n){let r=_n()+e,o=v();return o[r]===he?oa(o,r,n?t.call(n):t()):av(o,r)}function Lx(e,t,n,r){return qd(v(),_n(),e,t,n,r)}function jx(e,t,n,r,o){return Zd(v(),_n(),e,t,n,r,o)}function Wd(e,t){let n=e[t];return n===he?void 0:n}function qd(e,t,n,r,o,i){let s=t+n;return re(e,s,o)?oa(e,s+1,i?r.call(i,o):r(o)):Wd(e,s+1)}function Zd(e,t,n,r,o,i,s){let a=t+n;return uv(e,a,o,i)?oa(e,a+2,s?r.call(s,o,i):r(o,i)):Wd(e,a+2)}function Vx(e,t){let n=F(),r,o=e+V;n.firstCreatePass?(r=lD(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=ct(r.type,!0)),s,a=J(je);try{let u=kr(!1),c=i();return kr(u),eD(n,v(),o,c),c}finally{J(a)}}function lD(e,t){if(t)for(let n=t.length-1;n>=0;n--){let r=t[n];if(e===r.name)return r}}function Bx(e,t,n){let r=e+V,o=v(),i=xs(o,r);return Yd(o,r)?qd(o,_n(),t,i.transform,n,i):i.transform(n)}function $x(e,t,n,r){let o=e+V,i=v(),s=xs(i,o);return Yd(i,o)?Zd(i,_n(),t,s.transform,n,r,s):s.transform(n,r)}function Yd(e,t){return e[I].data[t].pure}function Hx(e,t){return vo(e,t)}var Ux=(()=>{let t=class t{log(r){console.log(r)}warn(r){console.warn(r)}};t.\u0275fac=function(o){return new(o||t)},t.\u0275prov=k({token:t,factory:t.\u0275fac,providedIn:"platform"});let e=t;return e})();var dD=new A("");function Do(e){return!!e&&typeof e.then=="function"}function sa(e){return!!e&&typeof e.subscribe=="function"}var fD=new A(""),Qd=(()=>{let t=class t{constructor(){this.initialized=!1,this.done=!1,this.donePromise=new Promise((r,o)=>{this.resolve=r,this.reject=o}),this.appInits=w(fD,{optional:!0})??[]}runInitializers(){if(this.initialized)return;let r=[];for(let i of this.appInits){let s=i();if(Do(s))r.push(s);else if(sa(s)){let a=new Promise((u,c)=>{s.subscribe({complete:u,error:c})});r.push(a)}}let o=()=>{this.done=!0,this.resolve()};Promise.all(r).then(()=>{o()}).catch(i=>{this.reject(i)}),r.length===0&&o(),this.initialized=!0}};t.\u0275fac=function(o){return new(o||t)},t.\u0275prov=k({token:t,factory:t.\u0275fac,providedIn:"root"});let e=t;return e})(),pD=new A("");function hD(){Ra(()=>{throw new S(600,!1)})}function gD(e){return e.isBoundToModule}var mD=10;function yD(e,t,n){try{let r=n();return Do(r)?r.catch(o=>{throw t.runOutsideAngular(()=>e.handleError(o)),o}):r}catch(r){throw t.runOutsideAngular(()=>e.handleError(r)),r}}var aa=(()=>{let t=class t{constructor(){this._bootstrapListeners=[],this._runningTick=!1,this._destroyed=!1,this._destroyListeners=[],this._views=[],this.internalErrorHandler=w(yl),this.afterRenderEffectManager=w(ta),this.zonelessEnabled=w(Js),this.externalTestViews=new Set,this.beforeRender=new oe,this.afterTick=new oe,this.componentTypes=[],this.components=[],this.isStable=w(Sn).hasPendingTasks.pipe(Ee(r=>!r)),this._injector=w(Ge)}get allViews(){return[...this.externalTestViews.keys(),...this._views]}get destroyed(){return this._destroyed}get injector(){return this._injector}bootstrap(r,o){let i=r instanceof Br;if(!this._injector.get(Qd).done){let f=!i&&lh(r),h=!1;throw new S(405,h)}let a;i?a=r:a=this._injector.get(qt).resolveComponentFactory(r),this.componentTypes.push(a.componentType);let u=gD(a)?void 0:this._injector.get(qe),c=o||a.selector,l=a.create(Fe.NULL,[],c,u),d=l.location.nativeElement,p=l.injector.get(dD,null);return p?.registerApplication(d),l.onDestroy(()=>{this.detachView(l.hostView),ai(this.components,l),p?.unregisterApplication(d)}),this._loadComponent(l),l}tick(){this._tick(!0)}_tick(r){if(this._runningTick)throw new S(101,!1);let o=b(null);try{this._runningTick=!0,this.detectChangesInAttachedViews(r)}catch(i){this.internalErrorHandler(i)}finally{this._runningTick=!1,b(o),this.afterTick.next()}}detectChangesInAttachedViews(r){let o=null;this._injector.destroyed||(o=this._injector.get($r,null,{optional:!0}));let i=0,s=this.afterRenderEffectManager;for(;i<mD;){let a=i===0;if(r||!a){this.beforeRender.next(a);for(let{_lView:u,notifyErrorHandler:c}of this._views)vD(u,c,a,this.zonelessEnabled)}else o?.begin?.(),o?.end?.();if(i++,s.executeInternalCallbacks(),!this.allViews.some(({_lView:u})=>vn(u))&&(s.execute(),!this.allViews.some(({_lView:u})=>vn(u))))break}}attachView(r){let o=r;this._views.push(o),o.attachToAppRef(this)}detachView(r){let o=r;ai(this._views,o),o.detachFromAppRef()}_loadComponent(r){this.attachView(r.hostView),this.tick(),this.components.push(r);let o=this._injector.get(pD,[]);[...this._bootstrapListeners,...o].forEach(i=>i(r))}ngOnDestroy(){if(!this._destroyed)try{this._destroyListeners.forEach(r=>r()),this._views.slice().forEach(r=>r.destroy())}finally{this._destroyed=!0,this._views=[],this._bootstrapListeners=[],this._destroyListeners=[]}}onDestroy(r){return this._destroyListeners.push(r),()=>ai(this._destroyListeners,r)}destroy(){if(this._destroyed)throw new S(406,!1);let r=this._injector;r.destroy&&!r.destroyed&&r.destroy()}get viewCount(){return this._views.length}warnIfDestroyed(){}};t.\u0275fac=function(o){return new(o||t)},t.\u0275prov=k({token:t,factory:t.\u0275fac,providedIn:"root"});let e=t;return e})();function ai(e,t){let n=e.indexOf(t);n>-1&&e.splice(n,1)}function vD(e,t,n,r){if(!n&&!vn(e))return;ud(e,t,n&&!r?0:1)}var ps=class{constructor(t,n){this.ngModuleFactory=t,this.componentFactories=n}},Gx=(()=>{let t=class t{compileModuleSync(r){return new ts(r)}compileModuleAsync(r){return Promise.resolve(this.compileModuleSync(r))}compileModuleAndAllComponentsSync(r){let o=this.compileModuleSync(r),i=Tc(r),s=Fl(i.declarations).reduce((a,u)=>{let c=Ne(u);return c&&a.push(new yt(c)),a},[]);return new ps(o,s)}compileModuleAndAllComponentsAsync(r){return Promise.resolve(this.compileModuleAndAllComponentsSync(r))}clearCache(){}clearCacheFor(r){}getModuleId(r){}};t.\u0275fac=function(o){return new(o||t)},t.\u0275prov=k({token:t,factory:t.\u0275fac,providedIn:"root"});let e=t;return e})();var DD=(()=>{let t=class t{constructor(){this.zone=w(Y),this.changeDetectionScheduler=w(Wt),this.applicationRef=w(aa)}initialize(){this._onMicrotaskEmptySubscription||(this._onMicrotaskEmptySubscription=this.zone.onMicrotaskEmpty.subscribe({next:()=>{this.changeDetectionScheduler.runningTick||this.zone.run(()=>{this.applicationRef.tick()})}}))}ngOnDestroy(){this._onMicrotaskEmptySubscription?.unsubscribe()}};t.\u0275fac=function(o){return new(o||t)},t.\u0275prov=k({token:t,factory:t.\u0275fac,providedIn:"root"});let e=t;return e})(),ED=new A("",{factory:()=>!1});function Kd({ngZoneFactory:e,ignoreChangesOutsideZone:t}){return e??=()=>new Y(Jd()),[{provide:Y,useFactory:e},{provide:Sr,multi:!0,useFactory:()=>{let n=w(DD,{optional:!0});return()=>n.initialize()}},{provide:Sr,multi:!0,useFactory:()=>{let n=w(wD);return()=>{n.initialize()}}},{provide:yl,useFactory:ID},t===!0?{provide:fd,useValue:!0}:[]]}function ID(){let e=w(Y),t=w(Re);return n=>e.runOutsideAngular(()=>t.handleError(n))}function zx(e){let t=e?.ignoreChangesOutsideZone,n=Kd({ngZoneFactory:()=>{let r=Jd(e);return r.shouldCoalesceEventChangeDetection&&Me("NgZone_CoalesceEvent"),new Y(r)},ignoreChangesOutsideZone:t});return fh([{provide:ED,useValue:!0},{provide:Js,useValue:!1},n])}function Jd(e){return{enableLongStackTrace:!1,shouldCoalesceEventChangeDetection:e?.eventCoalescing??!1,shouldCoalesceRunChangeDetection:e?.runCoalescing??!1}}var wD=(()=>{let t=class t{constructor(){this.subscription=new P,this.initialized=!1,this.zone=w(Y),this.pendingTasks=w(Sn)}initialize(){if(this.initialized)return;this.initialized=!0;let r=null;!this.zone.isStable&&!this.zone.hasPendingMacrotasks&&!this.zone.hasPendingMicrotasks&&(r=this.pendingTasks.add()),this.zone.runOutsideAngular(()=>{this.subscription.add(this.zone.onStable.subscribe(()=>{Y.assertNotInAngularZone(),queueMicrotask(()=>{r!==null&&!this.zone.hasPendingMacrotasks&&!this.zone.hasPendingMicrotasks&&(this.pendingTasks.remove(r),r=null)})}))}),this.subscription.add(this.zone.onUnstable.subscribe(()=>{Y.assertInAngularZone(),r??=this.pendingTasks.add()}))}ngOnDestroy(){this.subscription.unsubscribe()}};t.\u0275fac=function(o){return new(o||t)},t.\u0275prov=k({token:t,factory:t.\u0275fac,providedIn:"root"});let e=t;return e})();var CD=(()=>{let t=class t{constructor(){this.appRef=w(aa),this.taskService=w(Sn),this.ngZone=w(Y),this.zonelessEnabled=w(Js),this.disableScheduling=w(fd,{optional:!0})??!1,this.zoneIsDefined=typeof Zone<"u"&&!!Zone.root.run,this.schedulerTickApplyArgs=[{data:{__scheduler_tick__:!0}}],this.subscriptions=new P,this.cancelScheduledCallback=null,this.shouldRefreshViews=!1,this.useMicrotaskScheduler=!1,this.runningTick=!1,this.pendingRenderTaskId=null,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 Gi||!this.zoneIsDefined)}notify(r){if(!this.zonelessEnabled&&r===5)return;switch(r){case 3:case 2:case 0:case 4:case 5:case 1:{this.shouldRefreshViews=!0;break}case 8:case 7:case 6:case 9:default:}if(!this.shouldScheduleTick())return;let o=this.useMicrotaskScheduler?Gu:pd;this.pendingRenderTaskId=this.taskService.add(),this.zoneIsDefined?Zone.root.run(()=>{this.cancelScheduledCallback=o(()=>{this.tick(this.shouldRefreshViews)})}):this.cancelScheduledCallback=o(()=>{this.tick(this.shouldRefreshViews)})}shouldScheduleTick(){return!(this.disableScheduling||this.pendingRenderTaskId!==null||this.runningTick||this.appRef._runningTick||!this.zonelessEnabled&&this.zoneIsDefined&&Y.isInAngularZone())}tick(r){if(this.runningTick||this.appRef.destroyed)return;let o=this.taskService.add();try{this.ngZone.run(()=>{this.runningTick=!0,this.appRef._tick(r)},void 0,this.schedulerTickApplyArgs)}catch(i){throw this.taskService.remove(o),i}finally{this.cleanup()}this.useMicrotaskScheduler=!0,Gu(()=>{this.useMicrotaskScheduler=!1,this.taskService.remove(o)})}ngOnDestroy(){this.subscriptions.unsubscribe(),this.cleanup()}cleanup(){if(this.shouldRefreshViews=!1,this.runningTick=!1,this.cancelScheduledCallback?.(),this.cancelScheduledCallback=null,this.pendingRenderTaskId!==null){let r=this.pendingRenderTaskId;this.pendingRenderTaskId=null,this.taskService.remove(r)}}};t.\u0275fac=function(o){return new(o||t)},t.\u0275prov=k({token:t,factory:t.\u0275fac,providedIn:"root"});let e=t;return e})();function bD(){return typeof $localize<"u"&&$localize.locale||Qr}var ua=new A("",{providedIn:"root",factory:()=>w(ua,M.Optional|M.SkipSelf)||bD()});var Xd=new A("");var br=null;function _D(e=[],t){return Fe.create({name:t,providers:[{provide:kc,useValue:"platform"},{provide:Xd,useValue:new Set([()=>br=null])},...e]})}function MD(e=[]){if(br)return br;let t=_D(e);return br=t,hD(),xD(t),t}function xD(e){e.get(Ig,null)?.forEach(n=>n())}var Eo=(()=>{let t=class t{};t.__NG_ELEMENT_ID__=SD;let e=t;return e})();function SD(e){return TD(B(),v(),(e&16)===16)}function TD(e,t,n){if(no(e)&&!n){let r=Ze(e.index,t);return new mt(r,r)}else if(e.type&175){let r=t[ne];return new mt(r,t)}return null}function Wx(e){try{let{rootComponent:t,appProviders:n,platformProviders:r}=e,o=MD(r),i=[Kd({}),{provide:Wt,useExisting:CD},...n||[]],a=new zr({providers:i,parent:o,debugName:"",runEnvironmentInitializers:!1}).injector,u=a.get(Y);return u.run(()=>{a.resolveInjectorInitializers();let c=a.get(Re,null),l;u.runOutsideAngular(()=>{l=u.onError.subscribe({next:f=>{c.handleError(f)}})});let d=()=>a.destroy(),p=o.get(Xd);return p.add(d),a.onDestroy(()=>{l.unsubscribe(),p.delete(d)}),yD(c,u,()=>{let f=a.get(Qd);return f.runInitializers(),f.donePromise.then(()=>{let h=a.get(ua,Qr);qv(h||Qr);let g=a.get(aa);return t!==void 0&&g.bootstrap(t),g})})})}catch(t){return Promise.reject(t)}}var qx=new A("");function ND(e){return typeof e=="boolean"?e:e!=null&&e!=="false"}function AD(e,t=NaN){return!isNaN(parseFloat(e))&&!isNaN(Number(e))?Number(e):t}function Zx(e,t){Me("NgSignals");let n=Mo(e);return t?.equal&&(n[te].equal=t.equal),n}function ca(e){let t=b(null);try{return e()}finally{b(t)}}var OD=new A("",{providedIn:"root",factory:()=>w(FD)}),FD=(()=>{let t=class t{};t.\u0275prov=k({token:t,providedIn:"root",factory:()=>new hs});let e=t;return e})(),hs=class{constructor(){this.queuedEffectCount=0,this.queues=new Map,this.pendingTasks=w(Sn),this.taskId=null}scheduleEffect(t){if(this.enqueue(t),this.taskId===null){let n=this.taskId=this.pendingTasks.add();queueMicrotask(()=>{this.flush(),this.pendingTasks.remove(n),this.taskId=null})}}enqueue(t){let n=t.creationZone;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()}},gs=class{constructor(t,n,r,o,i,s){this.scheduler=t,this.effectFn=n,this.creationZone=r,this.injector=i,this.watcher=La(a=>this.runEffect(a),()=>this.schedule(),s),this.unregisterOnDestroy=o?.onDestroy(()=>this.destroy())}runEffect(t){try{this.effectFn(t)}catch(n){this.injector.get(Re,null,{optional:!0})?.handleError(n)}}run(){this.watcher.run()}schedule(){this.scheduler.scheduleEffect(this)}destroy(){this.watcher.destroy(),this.unregisterOnDestroy?.()}};function RD(e,t){Me("NgSignals"),!t?.injector&&ws(RD);let n=t?.injector??w(Fe),r=t?.manualCleanup!==!0?n.get(xn):null,o=new gs(n.get(OD),e,typeof Zone>"u"?null:Zone.current,r,n,t?.allowSignalWrites??!1),i=n.get(Eo,null,{optional:!0});return!i||!(i._lView[y]&8)?o.watcher.notify():(i._lView[Dr]??=[]).push(o.watcher.notify),o}function Yx(e,t){let n=Ne(e),r=t.elementInjector||eo();return new yt(n).create(r,t.projectableNodes,t.hostElement,t.environmentInjector)}function Qx(e){let t=Ne(e);if(!t)return null;let n=new yt(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}}}var sf=null;function da(){return sf}function wS(e){sf??=e}var ef=class{};var ya=new A(""),va=(()=>{let t=class t{historyGo(r){throw new Error("")}};t.\u0275fac=function(o){return new(o||t)},t.\u0275prov=k({token:t,factory:()=>w(PD),providedIn:"platform"});let e=t;return e})(),CS=new A(""),PD=(()=>{let t=class t extends va{constructor(){super(),this._doc=w(ya),this._location=window.location,this._history=window.history}getBaseHrefFromDOM(){return da().getBaseHref(this._doc)}onPopState(r){let o=da().getGlobalEventTarget(this._doc,"window");return o.addEventListener("popstate",r,!1),()=>o.removeEventListener("popstate",r)}onHashChange(r){let o=da().getGlobalEventTarget(this._doc,"window");return o.addEventListener("hashchange",r,!1),()=>o.removeEventListener("hashchange",r)}get href(){return this._location.href}get protocol(){return this._location.protocol}get hostname(){return this._location.hostname}get port(){return this._location.port}get pathname(){return this._location.pathname}get search(){return this._location.search}get hash(){return this._location.hash}set pathname(r){this._location.pathname=r}pushState(r,o,i){this._history.pushState(r,o,i)}replaceState(r,o,i){this._history.replaceState(r,o,i)}forward(){this._history.forward()}back(){this._history.back()}historyGo(r=0){this._history.go(r)}getState(){return this._history.state}};t.\u0275fac=function(o){return new(o||t)},t.\u0275prov=k({token:t,factory:()=>new t,providedIn:"platform"});let e=t;return e})();function Da(e,t){if(e.length==0)return t;if(t.length==0)return e;let n=0;return e.endsWith("/")&&n++,t.startsWith("/")&&n++,n==2?e+t.substring(1):n==1?e+t:e+"/"+t}function tf(e){let t=e.match(/#|\?|$/),n=t&&t.index||e.length,r=n-(e[n-1]==="/"?1:0);return e.slice(0,r)+e.slice(n)}function Ve(e){return e&&e[0]!=="?"?"?"+e:e}var Io=(()=>{let t=class t{historyGo(r){throw new Error("")}};t.\u0275fac=function(o){return new(o||t)},t.\u0275prov=k({token:t,factory:()=>w(LD),providedIn:"root"});let e=t;return e})(),af=new A(""),LD=(()=>{let t=class t extends Io{constructor(r,o){super(),this._platformLocation=r,this._removeListenerFns=[],this._baseHref=o??this._platformLocation.getBaseHrefFromDOM()??w(ya).location?.origin??""}ngOnDestroy(){for(;this._removeListenerFns.length;)this._removeListenerFns.pop()()}onPopState(r){this._removeListenerFns.push(this._platformLocation.onPopState(r),this._platformLocation.onHashChange(r))}getBaseHref(){return this._baseHref}prepareExternalUrl(r){return Da(this._baseHref,r)}path(r=!1){let o=this._platformLocation.pathname+Ve(this._platformLocation.search),i=this._platformLocation.hash;return i&&r?`${o}${i}`:o}pushState(r,o,i,s){let a=this.prepareExternalUrl(i+Ve(s));this._platformLocation.pushState(r,o,a)}replaceState(r,o,i,s){let a=this.prepareExternalUrl(i+Ve(s));this._platformLocation.replaceState(r,o,a)}forward(){this._platformLocation.forward()}back(){this._platformLocation.back()}getState(){return this._platformLocation.getState()}historyGo(r=0){this._platformLocation.historyGo?.(r)}};t.\u0275fac=function(o){return new(o||t)(G(va),G(af,8))},t.\u0275prov=k({token:t,factory:t.\u0275fac,providedIn:"root"});let e=t;return e})(),bS=(()=>{let t=class t extends Io{constructor(r,o){super(),this._platformLocation=r,this._baseHref="",this._removeListenerFns=[],o!=null&&(this._baseHref=o)}ngOnDestroy(){for(;this._removeListenerFns.length;)this._removeListenerFns.pop()()}onPopState(r){this._removeListenerFns.push(this._platformLocation.onPopState(r),this._platformLocation.onHashChange(r))}getBaseHref(){return this._baseHref}path(r=!1){let o=this._platformLocation.hash??"#";return o.length>0?o.substring(1):o}prepareExternalUrl(r){let o=Da(this._baseHref,r);return o.length>0?"#"+o:o}pushState(r,o,i,s){let a=this.prepareExternalUrl(i+Ve(s));a.length==0&&(a=this._platformLocation.pathname),this._platformLocation.pushState(r,o,a)}replaceState(r,o,i,s){let a=this.prepareExternalUrl(i+Ve(s));a.length==0&&(a=this._platformLocation.pathname),this._platformLocation.replaceState(r,o,a)}forward(){this._platformLocation.forward()}back(){this._platformLocation.back()}getState(){return this._platformLocation.getState()}historyGo(r=0){this._platformLocation.historyGo?.(r)}};t.\u0275fac=function(o){return new(o||t)(G(va),G(af,8))},t.\u0275prov=k({token:t,factory:t.\u0275fac});let e=t;return e})(),jD=(()=>{let t=class t{constructor(r){this._subject=new fe,this._urlChangeListeners=[],this._urlChangeSubscription=null,this._locationStrategy=r;let o=this._locationStrategy.getBaseHref();this._basePath=$D(tf(nf(o))),this._locationStrategy.onPopState(i=>{this._subject.emit({url:this.path(!0),pop:!0,state:i.state,type:i.type})})}ngOnDestroy(){this._urlChangeSubscription?.unsubscribe(),this._urlChangeListeners=[]}path(r=!1){return this.normalize(this._locationStrategy.path(r))}getState(){return this._locationStrategy.getState()}isCurrentPathEqualTo(r,o=""){return this.path()==this.normalize(r+Ve(o))}normalize(r){return t.stripTrailingSlash(BD(this._basePath,nf(r)))}prepareExternalUrl(r){return r&&r[0]!=="/"&&(r="/"+r),this._locationStrategy.prepareExternalUrl(r)}go(r,o="",i=null){this._locationStrategy.pushState(i,"",r,o),this._notifyUrlChangeListeners(this.prepareExternalUrl(r+Ve(o)),i)}replaceState(r,o="",i=null){this._locationStrategy.replaceState(i,"",r,o),this._notifyUrlChangeListeners(this.prepareExternalUrl(r+Ve(o)),i)}forward(){this._locationStrategy.forward()}back(){this._locationStrategy.back()}historyGo(r=0){this._locationStrategy.historyGo?.(r)}onUrlChange(r){return this._urlChangeListeners.push(r),this._urlChangeSubscription??=this.subscribe(o=>{this._notifyUrlChangeListeners(o.url,o.state)}),()=>{let o=this._urlChangeListeners.indexOf(r);this._urlChangeListeners.splice(o,1),this._urlChangeListeners.length===0&&(this._urlChangeSubscription?.unsubscribe(),this._urlChangeSubscription=null)}}_notifyUrlChangeListeners(r="",o){this._urlChangeListeners.forEach(i=>i(r,o))}subscribe(r,o,i){return this._subject.subscribe({next:r,error:o,complete:i})}};t.normalizeQueryParams=Ve,t.joinWithSlash=Da,t.stripTrailingSlash=tf,t.\u0275fac=function(o){return new(o||t)(G(Io))},t.\u0275prov=k({token:t,factory:()=>VD(),providedIn:"root"});let e=t;return e})();function VD(){return new jD(G(Io))}function BD(e,t){if(!e||!t.startsWith(e))return t;let n=t.substring(e.length);return n===""||["/",";","?","#"].includes(n[0])?n:t}function nf(e){return e.replace(/\/index.html$/,"")}function $D(e){if(new RegExp("^(https?:)?//").test(e)){let[,n]=e.split(/\/\/[^\/]+/);return n}return e}function _S(e,t){t=encodeURIComponent(t);for(let n of e.split(";")){let r=n.indexOf("="),[o,i]=r==-1?[n,""]:[n.slice(0,r),n.slice(r+1)];if(o.trim()===t)return decodeURIComponent(i)}return null}var fa=/\s+/,rf=[],MS=(()=>{let t=class t{constructor(r,o){this._ngEl=r,this._renderer=o,this.initialClasses=rf,this.stateMap=new Map}set klass(r){this.initialClasses=r!=null?r.trim().split(fa):rf}set ngClass(r){this.rawClass=typeof r=="string"?r.trim().split(fa):r}ngDoCheck(){for(let o of this.initialClasses)this._updateState(o,!0);let r=this.rawClass;if(Array.isArray(r)||r instanceof Set)for(let o of r)this._updateState(o,!0);else if(r!=null)for(let o of Object.keys(r))this._updateState(o,!!r[o]);this._applyStateDiff()}_updateState(r,o){let i=this.stateMap.get(r);i!==void 0?(i.enabled!==o&&(i.changed=!0,i.enabled=o),i.touched=!0):this.stateMap.set(r,{enabled:o,changed:!0,touched:!0})}_applyStateDiff(){for(let r of this.stateMap){let o=r[0],i=r[1];i.changed?(this._toggleClass(o,i.enabled),i.changed=!1):i.touched||(i.enabled&&this._toggleClass(o,!1),this.stateMap.delete(o)),i.touched=!1}}_toggleClass(r,o){r=r.trim(),r.length>0&&r.split(fa).forEach(i=>{o?this._renderer.addClass(this._ngEl.nativeElement,i):this._renderer.removeClass(this._ngEl.nativeElement,i)})}};t.\u0275fac=function(o){return new(o||t)(je(Et),je(Xs))},t.\u0275dir=Ds({type:t,selectors:[["","ngClass",""]],inputs:{klass:[0,"class","klass"],ngClass:"ngClass"},standalone:!0});let e=t;return e})();var xS=(()=>{let t=class t{constructor(r){this._viewContainerRef=r,this._viewRef=null,this.ngTemplateOutletContext=null,this.ngTemplateOutlet=null,this.ngTemplateOutletInjector=null}ngOnChanges(r){if(this._shouldRecreateView(r)){let o=this._viewContainerRef;if(this._viewRef&&o.remove(o.indexOf(this._viewRef)),!this.ngTemplateOutlet){this._viewRef=null;return}let i=this._createContextForwardProxy();this._viewRef=o.createEmbeddedView(this.ngTemplateOutlet,i,{injector:this.ngTemplateOutletInjector??void 0})}}_shouldRecreateView(r){return!!r.ngTemplateOutlet||!!r.ngTemplateOutletInjector}_createContextForwardProxy(){return new Proxy({},{set:(r,o,i)=>this.ngTemplateOutletContext?Reflect.set(this.ngTemplateOutletContext,o,i):!1,get:(r,o,i)=>{if(this.ngTemplateOutletContext)return Reflect.get(this.ngTemplateOutletContext,o,i)}})}};t.\u0275fac=function(o){return new(o||t)(je(On))},t.\u0275dir=Ds({type:t,selectors:[["","ngTemplateOutlet",""]],inputs:{ngTemplateOutletContext:"ngTemplateOutletContext",ngTemplateOutlet:"ngTemplateOutlet",ngTemplateOutletInjector:"ngTemplateOutletInjector"},standalone:!0,features:[_s]});let e=t;return e})();function HD(e,t){return new S(2100,!1)}var pa=class{createSubscription(t,n){return ca(()=>t.subscribe({next:n,error:r=>{throw r}}))}dispose(t){ca(()=>t.unsubscribe())}},ha=class{createSubscription(t,n){return t.then(n,r=>{throw r})}dispose(t){}},UD=new ha,GD=new pa,SS=(()=>{let t=class t{constructor(r){this._latestValue=null,this.markForCheckOnValueUpdate=!0,this._subscription=null,this._obj=null,this._strategy=null,this._ref=r}ngOnDestroy(){this._subscription&&this._dispose(),this._ref=null}transform(r){if(!this._obj){if(r)try{this.markForCheckOnValueUpdate=!1,this._subscribe(r)}finally{this.markForCheckOnValueUpdate=!0}return this._latestValue}return r!==this._obj?(this._dispose(),this.transform(r)):this._latestValue}_subscribe(r){this._obj=r,this._strategy=this._selectStrategy(r),this._subscription=this._strategy.createSubscription(r,o=>this._updateLatestValue(r,o))}_selectStrategy(r){if(Do(r))return UD;if(sa(r))return GD;throw HD(t,r)}_dispose(){this._strategy.dispose(this._subscription),this._latestValue=null,this._subscription=null,this._obj=null}_updateLatestValue(r,o){r===this._obj&&(this._latestValue=o,this.markForCheckOnValueUpdate&&this._ref?.markForCheck())}};t.\u0275fac=function(o){return new(o||t)(je(Eo,16))},t.\u0275pipe=xc({name:"async",type:t,pure:!1,standalone:!0});let e=t;return e})();var TS=(()=>{let t=class t{};t.\u0275fac=function(o){return new(o||t)},t.\u0275mod=Mc({type:t}),t.\u0275inj=fc({});let e=t;return e})(),zD="browser",WD="server";function qD(e){return e===zD}function NS(e){return e===WD}var AS=(()=>{let t=class t{};t.\u0275prov=k({token:t,providedIn:"root",factory:()=>qD(w(Ps))?new ga(w(ya),window):new ma});let e=t;return e})(),ga=class{constructor(t,n){this.document=t,this.window=n,this.offset=()=>[0,0]}setOffset(t){Array.isArray(t)?this.offset=()=>t:this.offset=t}getScrollPosition(){return[this.window.scrollX,this.window.scrollY]}scrollToPosition(t){this.window.scrollTo(t[0],t[1])}scrollToAnchor(t){let n=ZD(this.document,t);n&&(this.scrollToElement(n),n.focus())}setHistoryScrollRestoration(t){this.window.history.scrollRestoration=t}scrollToElement(t){let n=t.getBoundingClientRect(),r=n.left+this.window.pageXOffset,o=n.top+this.window.pageYOffset,i=this.offset();this.window.scrollTo(r-i[0],o-i[1])}};function ZD(e,t){let n=e.getElementById(t)||e.getElementsByName(t)[0];if(n)return n;if(typeof e.createTreeWalker=="function"&&e.body&&typeof e.body.attachShadow=="function"){let r=e.createTreeWalker(e.body,NodeFilter.SHOW_ELEMENT),o=r.currentNode;for(;o;){let i=o.shadowRoot;if(i){let s=i.getElementById(t)||i.querySelector(`[name="${t}"]`);if(s)return s}o=r.nextNode()}}return null}var ma=class{setOffset(t){}getScrollPosition(){return[0,0]}scrollToPosition(t){}scrollToAnchor(t){}setHistoryScrollRestoration(t){}},of=class{};var ge=function(e){return e[e.State=0]="State",e[e.Transition=1]="Transition",e[e.Sequence=2]="Sequence",e[e.Group=3]="Group",e[e.Animate=4]="Animate",e[e.Keyframes=5]="Keyframes",e[e.Style=6]="Style",e[e.Trigger=7]="Trigger",e[e.Reference=8]="Reference",e[e.AnimateChild=9]="AnimateChild",e[e.AnimateRef=10]="AnimateRef",e[e.Query=11]="Query",e[e.Stagger=12]="Stagger",e}(ge||{}),RS="*";function kS(e,t){return{type:ge.Trigger,name:e,definitions:t,options:{}}}function PS(e,t=null){return{type:ge.Animate,styles:t,timings:e}}function LS(e,t=null){return{type:ge.Group,steps:e,options:t}}function jS(e,t=null){return{type:ge.Sequence,steps:e,options:t}}function VS(e){return{type:ge.Style,styles:e,offset:null}}function BS(e,t,n){return{type:ge.State,name:e,styles:t,options:n}}function $S(e){return{type:ge.Keyframes,steps:e}}function HS(e,t,n=null){return{type:ge.Transition,expr:e,animation:t,options:n}}function US(e=null){return{type:ge.AnimateChild,options:e}}function GS(e,t,n=null){return{type:ge.Query,selector:e,animation:t,options:n}}var uf=class{constructor(t=0,n=0){this._onDoneFns=[],this._onStartFns=[],this._onDestroyFns=[],this._originalOnDoneFns=[],this._originalOnStartFns=[],this._started=!1,this._destroyed=!1,this._finished=!1,this._position=0,this.parentPlayer=null,this.totalTime=t+n}_onFinish(){this._finished||(this._finished=!0,this._onDoneFns.forEach(t=>t()),this._onDoneFns=[])}onStart(t){this._originalOnStartFns.push(t),this._onStartFns.push(t)}onDone(t){this._originalOnDoneFns.push(t),this._onDoneFns.push(t)}onDestroy(t){this._onDestroyFns.push(t)}hasStarted(){return this._started}init(){}play(){this.hasStarted()||(this._onStart(),this.triggerMicrotask()),this._started=!0}triggerMicrotask(){queueMicrotask(()=>this._onFinish())}_onStart(){this._onStartFns.forEach(t=>t()),this._onStartFns=[]}pause(){}restart(){}finish(){this._onFinish()}destroy(){this._destroyed||(this._destroyed=!0,this.hasStarted()||this._onStart(),this.finish(),this._onDestroyFns.forEach(t=>t()),this._onDestroyFns=[])}reset(){this._started=!1,this._finished=!1,this._onStartFns=this._originalOnStartFns,this._onDoneFns=this._originalOnDoneFns}setPosition(t){this._position=this.totalTime?t*this.totalTime:1}getPosition(){return this.totalTime?this._position/this.totalTime:1}triggerCallback(t){let n=t=="start"?this._onStartFns:this._onDoneFns;n.forEach(r=>r()),n.length=0}},cf=class{constructor(t){this._onDoneFns=[],this._onStartFns=[],this._finished=!1,this._started=!1,this._destroyed=!1,this._onDestroyFns=[],this.parentPlayer=null,this.totalTime=0,this.players=t;let n=0,r=0,o=0,i=this.players.length;i==0?queueMicrotask(()=>this._onFinish()):this.players.forEach(s=>{s.onDone(()=>{++n==i&&this._onFinish()}),s.onDestroy(()=>{++r==i&&this._onDestroy()}),s.onStart(()=>{++o==i&&this._onStart()})}),this.totalTime=this.players.reduce((s,a)=>Math.max(s,a.totalTime),0)}_onFinish(){this._finished||(this._finished=!0,this._onDoneFns.forEach(t=>t()),this._onDoneFns=[])}init(){this.players.forEach(t=>t.init())}onStart(t){this._onStartFns.push(t)}_onStart(){this.hasStarted()||(this._started=!0,this._onStartFns.forEach(t=>t()),this._onStartFns=[])}onDone(t){this._onDoneFns.push(t)}onDestroy(t){this._onDestroyFns.push(t)}hasStarted(){return this._started}play(){this.parentPlayer||this.init(),this._onStart(),this.players.forEach(t=>t.play())}pause(){this.players.forEach(t=>t.pause())}restart(){this.players.forEach(t=>t.restart())}finish(){this._onFinish(),this.players.forEach(t=>t.finish())}destroy(){this._onDestroy()}_onDestroy(){this._destroyed||(this._destroyed=!0,this._onFinish(),this.players.forEach(t=>t.destroy()),this._onDestroyFns.forEach(t=>t()),this._onDestroyFns=[])}reset(){this.players.forEach(t=>t.reset()),this._destroyed=!1,this._finished=!1,this._started=!1}setPosition(t){let n=t*this.totalTime;this.players.forEach(r=>{let o=r.totalTime?Math.min(1,n/r.totalTime):1;r.setPosition(o)})}getPosition(){let t=this.players.reduce((n,r)=>n===null||r.totalTime>n.totalTime?r:n,null);return t!=null?t.getPosition():0}beforeDestroy(){this.players.forEach(t=>{t.beforeDestroy&&t.beforeDestroy()})}triggerCallback(t){let n=t=="start"?this._onStartFns:this._onDoneFns;n.forEach(r=>r()),n.length=0}},zS="!";export{me as a,ye as b,YD as c,gf as d,P as e,Mf as f,x as g,Po as h,Lo as i,oe as j,rn as k,sn as l,Of as m,nt as n,De as o,Bf as p,$f as q,Hf as r,ot as s,Ee as t,Qf as u,ce as v,cn as w,Ft as x,Jf as y,Xf as z,$o as A,ln as B,sp as C,it as D,ap as E,Ho as F,up as G,cp as H,dn as I,st as J,Uo as K,lp as L,dp as M,hp as N,hu as O,zo as P,gp as Q,mp as R,qo as S,yp as T,vp as U,gu as V,Dp as W,Ep as X,Ip as Y,wp as Z,S as _,lc as $,k as aa,fc as ba,BM as ca,A as da,M as ea,G as fa,w as ga,$M as ha,HM as ia,hn as ja,UM as ka,Mc as la,Ds as ma,xc as na,fh as oa,ph as pa,kc as qa,Ge as ra,bh as sa,_s as ta,GM as ua,zM as va,WM as wa,qM as xa,ZM as ya,lg as za,Fe as Aa,Re as Ba,Et as Ca,Sn as Da,fe as Ea,xi as Fa,YM as Ga,QM as Ha,Ig as Ia,Ps as Ja,KM as Ka,JM as La,Kt as Ma,js as Na,XM as Oa,ex as Pa,tx as Qa,nx as Ra,rx as Sa,xl as Ta,Ug as Ua,lo as Va,ox as Wa,ix as Xa,Lr as Ya,sx as Za,je as _a,ax as $a,En as ab,Wt as bb,qt as cb,$r as db,Xs as eb,Me as fb,Y as gb,vy as hb,Dy as ib,On as jb,Uy as kb,Gy as lb,dx as mb,fx as nb,Jy as ob,px as pb,iv as qb,Xi as rb,sv as sb,dv as tb,hv as ub,_v as vb,Od as wb,Mv as xb,hx as yb,gx as zb,mx as Ab,yx as Bb,vx as Cb,Dx as Db,Ex as Eb,Bd as Fb,$d as Gb,Vv as Hb,Hd as Ib,Ud as Jb,Hv as Kb,Ix as Lb,Gv as Mb,zv as Nb,Yv as Ob,Qv as Pb,wx as Qb,Cx as Rb,bx as Sb,_x as Tb,Mx as Ub,xx as Vb,Sx as Wb,Tx as Xb,Nx as Yb,Ax as Zb,Ox as _b,nD as $b,Gd as ac,rD as bc,Fx as cc,oD as dc,Rx as ec,kx as fc,Px as gc,Lx as hc,jx as ic,Vx as jc,Bx as kc,$x as lc,Hx as mc,Ux as nc,Do as oc,fD as pc,pD as qc,aa as rc,Gx as sc,zx as tc,Eo as uc,Wx as vc,qx as wc,ND as xc,AD as yc,Zx as zc,ca as Ac,RD as Bc,Yx as Cc,Qx as Dc,da as Ec,wS as Fc,ef as Gc,ya as Hc,CS as Ic,Io as Jc,LD as Kc,bS as Lc,jD as Mc,_S as Nc,MS as Oc,xS as Pc,SS as Qc,TS as Rc,zD as Sc,qD as Tc,NS as Uc,AS as Vc,of as Wc,ge as Xc,RS as Yc,kS as Zc,PS as _c,LS as $c,jS as ad,VS as bd,BS as cd,$S as dd,HS as ed,US as fd,GS as gd,uf as hd,cf as id,zS as jd};