dealposbarcode 1.7.0 → 1.7.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -0,0 +1,7 @@
1
+ var hp=Object.create;var hi=Object.defineProperty,gp=Object.defineProperties,mp=Object.getOwnPropertyDescriptor,yp=Object.getOwnPropertyDescriptors,vp=Object.getOwnPropertyNames,rr=Object.getOwnPropertySymbols,gu=Object.getPrototypeOf,gi=Object.prototype.hasOwnProperty,mu=Object.prototype.propertyIsEnumerable,Dp=Reflect.get;var Wt=(e,t)=>(t=Symbol[e])?t:Symbol.for("Symbol."+e),mi=e=>{throw TypeError(e)};var hu=(e,t,n)=>t in e?hi(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,Oe=(e,t)=>{for(var n in t||={})gi.call(t,n)&&hu(e,n,t[n]);if(rr)for(var n of rr(t))mu.call(t,n)&&hu(e,n,t[n]);return e},Fe=(e,t)=>gp(e,yp(t));var GI=(e,t)=>{var n={};for(var r in e)gi.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&rr)for(var r of rr(e))t.indexOf(r)<0&&mu.call(e,r)&&(n[r]=e[r]);return n};var zI=(e,t)=>()=>(t||e((t={exports:{}}).exports,t),t.exports);var Ep=(e,t,n,r)=>{if(t&&typeof t=="object"||typeof t=="function")for(let o of vp(t))!gi.call(e,o)&&o!==n&&hi(e,o,{get:()=>t[o],enumerable:!(r=mp(t,o))||r.enumerable});return e};var WI=(e,t,n)=>(n=e!=null?hp(gu(e)):{},Ep(t||!e||!e.__esModule?hi(n,"default",{value:e,enumerable:!0}):n,e));var yu=(e,t,n)=>t.has(e)||mi("Cannot "+n);var qI=(e,t,n)=>(yu(e,t,"read from private field"),n?n.call(e):t.get(e)),ZI=(e,t,n)=>t.has(e)?mi("Cannot add the same private member more than once"):t instanceof WeakSet?t.add(e):t.set(e,n),YI=(e,t,n,r)=>(yu(e,t,"write to private field"),r?r.call(e,n):t.set(e,n),n);var QI=(e,t,n)=>Dp(gu(e),n,t);var Ip=(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())}),vu=function(e,t){this[0]=e,this[1]=t},KI=(e,t,n)=>{var r=(s,a,u,c)=>{try{var l=n[s](a),d=(a=l.value)instanceof vu,p=l.done;Promise.resolve(d?a[0]:a).then(f=>d?r(s==="return"?s:"next",a[1]?{done:f.done,value:f.value}:f,u,c):u({value:f,done:p})).catch(f=>r("throw",f,u,c))}catch(f){c(f)}},o=s=>i[s]=a=>new Promise((u,c)=>r(s,a,u,c)),i={};return n=n.apply(e,t),i[Wt("asyncIterator")]=()=>i,o("next"),o("throw"),o("return"),i},JI=e=>{var t=e[Wt("asyncIterator")],n=!1,r,o={};return t==null?(t=e[Wt("iterator")](),r=i=>o[i]=s=>t[i](s)):(t=t.call(e),r=i=>o[i]=s=>{if(n){if(n=!1,i==="throw")throw s;return s}return n=!0,{done:!1,value:new vu(new Promise(a=>{var u=t[i](s);u instanceof Object||mi("Object expected"),a(u)}),1)}}),o[Wt("iterator")]=()=>o,r("next"),"throw"in t?r("throw"):o.throw=i=>{throw i},"return"in t&&r("return"),o},XI=(e,t,n)=>(t=e[Wt("asyncIterator")])?t.call(e):(e=e[Wt("iterator")](),t={},n=(r,o)=>(o=e[r])&&(t[r]=i=>new Promise((s,a,u)=>(i=o.call(e,i),u=i.done,Promise.resolve(i.value).then(c=>s({value:c,done:u}),a)))),n("next"),n("return"),t);function Du(e,t){return Object.is(e,t)}var G=null,wn=!1,or=1,Ee=Symbol("SIGNAL");function S(e){let t=G;return G=e,t}function Eu(){return G}function wp(){return wn}var qt={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 sr(e){if(wn)throw new Error("");if(G===null)return;G.consumerOnSignalRead(e);let t=G.nextProducerIndex++;if(dr(G),t<G.producerNode.length&&G.producerNode[t]!==e&&Cn(G)){let n=G.producerNode[t];lr(n,G.producerIndexOfThis[t])}G.producerNode[t]!==e&&(G.producerNode[t]=e,G.producerIndexOfThis[t]=Cn(G)?_u(e,G,t):0),G.producerLastReadVersion[t]=e.version}function Cp(){or++}function Iu(e){if(!(Cn(e)&&!e.dirty)&&!(!e.dirty&&e.lastCleanEpoch===or)){if(!e.producerMustRecompute(e)&&!ur(e)){e.dirty=!1,e.lastCleanEpoch=or;return}e.producerRecomputeValue(e),e.dirty=!1,e.lastCleanEpoch=or}}function wu(e){if(e.liveConsumerNode===void 0)return;let t=wn;wn=!0;try{for(let n of e.liveConsumerNode)n.dirty||bu(n)}finally{wn=t}}function Cu(){return G?.consumerAllowSignalWrites!==!1}function bu(e){e.dirty=!0,wu(e),e.consumerMarkedDirty?.(e)}function bn(e){return e&&(e.nextProducerIndex=0),S(e)}function ar(e,t){if(S(t),!(!e||e.producerNode===void 0||e.producerIndexOfThis===void 0||e.producerLastReadVersion===void 0)){if(Cn(e))for(let n=e.nextProducerIndex;n<e.producerNode.length;n++)lr(e.producerNode[n],e.producerIndexOfThis[n]);for(;e.producerNode.length>e.nextProducerIndex;)e.producerNode.pop(),e.producerLastReadVersion.pop(),e.producerIndexOfThis.pop()}}function ur(e){dr(e);for(let t=0;t<e.producerNode.length;t++){let n=e.producerNode[t],r=e.producerLastReadVersion[t];if(r!==n.version||(Iu(n),r!==n.version))return!0}return!1}function cr(e){if(dr(e),Cn(e))for(let t=0;t<e.producerNode.length;t++)lr(e.producerNode[t],e.producerIndexOfThis[t]);e.producerNode.length=e.producerLastReadVersion.length=e.producerIndexOfThis.length=0,e.liveConsumerNode&&(e.liveConsumerNode.length=e.liveConsumerIndexOfThis.length=0)}function _u(e,t,n){if(Mu(e),e.liveConsumerNode.length===0&&xu(e))for(let r=0;r<e.producerNode.length;r++)e.producerIndexOfThis[r]=_u(e.producerNode[r],e,r);return e.liveConsumerIndexOfThis.push(n),e.liveConsumerNode.push(t)-1}function lr(e,t){if(Mu(e),e.liveConsumerNode.length===1&&xu(e))for(let r=0;r<e.producerNode.length;r++)lr(e.producerNode[r],e.producerIndexOfThis[r]);let n=e.liveConsumerNode.length-1;if(e.liveConsumerNode[t]=e.liveConsumerNode[n],e.liveConsumerIndexOfThis[t]=e.liveConsumerIndexOfThis[n],e.liveConsumerNode.length--,e.liveConsumerIndexOfThis.length--,t<e.liveConsumerNode.length){let r=e.liveConsumerIndexOfThis[t],o=e.liveConsumerNode[t];dr(o),o.producerIndexOfThis[r]=t}}function Cn(e){return e.consumerIsAlwaysLive||(e?.liveConsumerNode?.length??0)>0}function dr(e){e.producerNode??=[],e.producerIndexOfThis??=[],e.producerLastReadVersion??=[]}function Mu(e){e.liveConsumerNode??=[],e.liveConsumerIndexOfThis??=[]}function xu(e){return e.producerNode!==void 0}function Su(e){let t=Object.create(bp);t.computation=e;let n=()=>{if(Iu(t),sr(t),t.value===ir)throw t.error;return t.value};return n[Ee]=t,n}var yi=Symbol("UNSET"),vi=Symbol("COMPUTING"),ir=Symbol("ERRORED"),bp=Fe(Oe({},qt),{value:yi,dirty:!0,error:null,equal:Du,producerMustRecompute(e){return e.value===yi||e.value===vi},producerRecomputeValue(e){if(e.value===vi)throw new Error("Detected cycle in computations.");let t=e.value;e.value=vi;let n=bn(e),r;try{r=e.computation()}catch(o){r=ir,e.error=o}finally{ar(e,n)}if(t!==yi&&t!==ir&&r!==ir&&e.equal(t,r)){e.value=t;return}e.value=r,e.version++}});function _p(){throw new Error}var Tu=_p;function Nu(){Tu()}function Au(e){Tu=e}var Mp=null;function Ou(e){let t=Object.create(Ei);t.value=e;let n=()=>(sr(t),t.value);return n[Ee]=t,n}function fr(e,t){Cu()||Nu(),e.equal(e.value,t)||(e.value=t,xp(e))}function Fu(e,t){Cu()||Nu(),fr(e,t(e.value))}var Ei=Fe(Oe({},qt),{equal:Du,value:void 0});function xp(e){e.version++,Cp(),wu(e),Mp?.()}function Ru(e,t,n){let r=Object.create(Sp);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)||(cr(u),u.cleanupFn(),u.fn=null,u.schedule=null,u.cleanupFn=Di)}let a=()=>{if(r.fn===null)return;if(wp())throw new Error("Schedulers cannot synchronously execute watches while scheduling.");if(r.dirty=!1,r.hasRun&&!ur(r))return;r.hasRun=!0;let u=bn(r);try{r.cleanupFn(),r.cleanupFn=Di,r.fn(o)}finally{ar(r,u)}};return r.ref={notify:()=>bu(r),run:a,cleanup:()=>r.cleanupFn(),destroy:()=>s(r),[Ee]:r},r.ref}var Di=()=>{},Sp=Fe(Oe({},qt),{consumerIsAlwaysLive:!0,consumerAllowSignalWrites:!1,consumerMarkedDirty:e=>{e.schedule!==null&&e.schedule(e.ref)},hasRun:!1,cleanupFn:Di});function y(e){return typeof e=="function"}function ct(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 pr=ct(e=>function(n){e(this),this.message=n?`${n.length} errors occurred during unsubscription:
2
+ ${n.map((r,o)=>`${o+1}) ${r.toString()}`).join(`
3
+ `)}`:"",this.name="UnsubscriptionError",this.errors=n});function Ct(e,t){if(e){let n=e.indexOf(t);0<=n&&e.splice(n,1)}}var $=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(y(r))try{r()}catch(i){t=i instanceof pr?i.errors:[i]}let{_finalizers:o}=this;if(o){this._finalizers=null;for(let i of o)try{ku(i)}catch(s){t=t??[],s instanceof pr?t=[...t,...s.errors]:t.push(s)}}if(t)throw new pr(t)}}add(t){var n;if(t&&t!==this)if(this.closed)ku(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)&&Ct(n,t)}remove(t){let{_finalizers:n}=this;n&&Ct(n,t),t instanceof e&&t._removeParent(this)}};$.EMPTY=(()=>{let e=new $;return e.closed=!0,e})();var Ii=$.EMPTY;function hr(e){return e instanceof $||e&&"closed"in e&&y(e.remove)&&y(e.add)&&y(e.unsubscribe)}function ku(e){y(e)?e():e.unsubscribe()}var Ie={onUnhandledError:null,onStoppedNotification:null,Promise:void 0,useDeprecatedSynchronousErrorHandling:!1,useDeprecatedNextContext:!1};var Zt={setTimeout(e,t,...n){let{delegate:r}=Zt;return r?.setTimeout?r.setTimeout(e,t,...n):setTimeout(e,t,...n)},clearTimeout(e){let{delegate:t}=Zt;return(t?.clearTimeout||clearTimeout)(e)},delegate:void 0};function gr(e){Zt.setTimeout(()=>{let{onUnhandledError:t}=Ie;if(t)t(e);else throw e})}function we(){}var Pu=wi("C",void 0,void 0);function Lu(e){return wi("E",void 0,e)}function ju(e){return wi("N",e,void 0)}function wi(e,t,n){return{kind:e,value:t,error:n}}var bt=null;function Yt(e){if(Ie.useDeprecatedSynchronousErrorHandling){let t=!bt;if(t&&(bt={errorThrown:!1,error:null}),e(),t){let{errorThrown:n,error:r}=bt;if(bt=null,n)throw r}}else e()}function Vu(e){Ie.useDeprecatedSynchronousErrorHandling&&bt&&(bt.errorThrown=!0,bt.error=e)}var _t=class extends ${constructor(t){super(),this.isStopped=!1,t?(this.destination=t,hr(t)&&t.add(this)):this.destination=Ap}static create(t,n,r){return new We(t,n,r)}next(t){this.isStopped?bi(ju(t),this):this._next(t)}error(t){this.isStopped?bi(Lu(t),this):(this.isStopped=!0,this._error(t))}complete(){this.isStopped?bi(Pu,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()}}},Tp=Function.prototype.bind;function Ci(e,t){return Tp.call(e,t)}var _i=class{constructor(t){this.partialObserver=t}next(t){let{partialObserver:n}=this;if(n.next)try{n.next(t)}catch(r){mr(r)}}error(t){let{partialObserver:n}=this;if(n.error)try{n.error(t)}catch(r){mr(r)}else mr(t)}complete(){let{partialObserver:t}=this;if(t.complete)try{t.complete()}catch(n){mr(n)}}},We=class extends _t{constructor(t,n,r){super();let o;if(y(t)||!t)o={next:t??void 0,error:n??void 0,complete:r??void 0};else{let i;this&&Ie.useDeprecatedNextContext?(i=Object.create(t),i.unsubscribe=()=>this.unsubscribe(),o={next:t.next&&Ci(t.next,i),error:t.error&&Ci(t.error,i),complete:t.complete&&Ci(t.complete,i)}):o=t}this.destination=new _i(o)}};function mr(e){Ie.useDeprecatedSynchronousErrorHandling?Vu(e):gr(e)}function Np(e){throw e}function bi(e,t){let{onStoppedNotification:n}=Ie;n&&Zt.setTimeout(()=>n(e,t))}var Ap={closed:!0,next:we,error:Np,complete:we};var Qt=typeof Symbol=="function"&&Symbol.observable||"@@observable";function Z(e){return e}function Op(...e){return Mi(e)}function Mi(e){return e.length===0?Z:e.length===1?e[0]:function(n){return e.reduce((r,o)=>o(r),n)}}var M=(()=>{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=Rp(n)?n:new We(n,r,o);return Yt(()=>{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=Bu(r),new r((o,i)=>{let s=new We({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)}[Qt](){return this}pipe(...n){return Mi(n)(this)}toPromise(n){return n=Bu(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 Bu(e){var t;return(t=e??Ie.Promise)!==null&&t!==void 0?t:Promise}function Fp(e){return e&&y(e.next)&&y(e.error)&&y(e.complete)}function Rp(e){return e&&e instanceof _t||Fp(e)&&hr(e)}function xi(e){return y(e?.lift)}function v(e){return t=>{if(xi(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 m(e,t,n,r,o){return new Si(e,t,n,r,o)}var Si=class extends _t{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 Ti(){return v((e,t)=>{let n=null;e._refCount++;let r=m(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 Ni=class extends M{constructor(t,n){super(),this.source=t,this.subjectFactory=n,this._subject=null,this._refCount=0,this._connection=null,xi(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 $;let n=this.getSubject();t.add(this.source.subscribe(m(n,void 0,()=>{this._teardown(),n.complete()},r=>{this._teardown(),n.error(r)},()=>this._teardown()))),t.closed&&(this._connection=null,t=$.EMPTY)}return t}refCount(){return Ti()(this)}};var Kt={schedule(e){let t=requestAnimationFrame,n=cancelAnimationFrame,{delegate:r}=Kt;r&&(t=r.requestAnimationFrame,n=r.cancelAnimationFrame);let o=t(i=>{n=void 0,e(i)});return new $(()=>n?.(o))},requestAnimationFrame(...e){let{delegate:t}=Kt;return(t?.requestAnimationFrame||requestAnimationFrame)(...e)},cancelAnimationFrame(...e){let{delegate:t}=Kt;return(t?.cancelAnimationFrame||cancelAnimationFrame)(...e)},delegate:void 0};var $u=ct(e=>function(){e(this),this.name="ObjectUnsubscribedError",this.message="object unsubscribed"});var ge=(()=>{class e extends M{constructor(){super(),this.closed=!1,this.currentObservers=null,this.observers=[],this.isStopped=!1,this.hasError=!1,this.thrownError=null}lift(n){let r=new yr(this,this);return r.operator=n,r}_throwIfClosed(){if(this.closed)throw new $u}next(n){Yt(()=>{if(this._throwIfClosed(),!this.isStopped){this.currentObservers||(this.currentObservers=Array.from(this.observers));for(let r of this.currentObservers)r.next(n)}})}error(n){Yt(()=>{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(){Yt(()=>{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?Ii:(this.currentObservers=null,i.push(n),new $(()=>{this.currentObservers=null,Ct(i,n)}))}_checkFinalizedStatuses(n){let{hasError:r,thrownError:o,isStopped:i}=this;r?n.error(o):i&&n.complete()}asObservable(){let n=new M;return n.source=this,n}}return e.create=(t,n)=>new yr(t,n),e})(),yr=class extends ge{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:Ii}};var _n=class extends ge{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 Mn={now(){return(Mn.delegate||Date).now()},delegate:void 0};var xn=class extends ge{constructor(t=1/0,n=1/0,r=Mn){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 vr=class extends ${constructor(t,n){super()}schedule(t,n=0){return this}};var Sn={setInterval(e,t,...n){let{delegate:r}=Sn;return r?.setInterval?r.setInterval(e,t,...n):setInterval(e,t,...n)},clearInterval(e){let{delegate:t}=Sn;return(t?.clearInterval||clearInterval)(e)},delegate:void 0};var Re=class extends vr{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 Sn.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&&Sn.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,Ct(r,this),t!=null&&(this.id=this.recycleAsyncId(n,t,null)),this.delay=null,super.unsubscribe()}}};var kp=1,Ai,Oi={};function Hu(e){return e in Oi?(delete Oi[e],!0):!1}var Uu={setImmediate(e){let t=kp++;return Oi[t]=!0,Ai||(Ai=Promise.resolve()),Ai.then(()=>Hu(t)&&e()),t},clearImmediate(e){Hu(e)}};var{setImmediate:Pp,clearImmediate:Lp}=Uu,Tn={setImmediate(...e){let{delegate:t}=Tn;return(t?.setImmediate||Pp)(...e)},clearImmediate(e){let{delegate:t}=Tn;return(t?.clearImmediate||Lp)(e)},delegate:void 0};var Dr=class extends Re{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=Tn.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&&(Tn.clearImmediate(n),t._scheduled===n&&(t._scheduled=void 0))}};var Jt=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)}};Jt.now=Mn.now;var ke=class extends Jt{constructor(t,n=Jt.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 Er=class extends ke{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 jp=new Er(Dr);var Pe=new ke(Re),Fi=Pe;var Ir=class extends Re{constructor(t,n){super(t,n),this.scheduler=t,this.work=n}schedule(t,n=0){return n>0?super.schedule(t,n):(this.delay=n,this.state=t,this.scheduler.flush(this),this)}execute(t,n){return n>0||this.closed?super.execute(t,n):this._execute(t,n)}requestAsyncId(t,n,r=0){return r!=null&&r>0||r==null&&this.delay>0?super.requestAsyncId(t,n,r):(t.flush(this),0)}};var wr=class extends ke{};var Vp=new wr(Ir);var Cr=class extends Re{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=Kt.requestAnimationFrame(()=>t.flush(void 0))))}recycleAsyncId(t,n,r=0){var o;if(r!=null?r>0:this.delay>0)return super.recycleAsyncId(t,n,r);let{actions:i}=t;n!=null&&((o=i[i.length-1])===null||o===void 0?void 0:o.id)!==n&&(Kt.cancelAnimationFrame(n),t._scheduled=void 0)}};var br=class extends ke{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 Bp=new br(Cr);var qe=new M(e=>e.complete());function _r(e){return e&&y(e.schedule)}function Ri(e){return e[e.length-1]}function lt(e){return y(Ri(e))?e.pop():void 0}function Le(e){return _r(Ri(e))?e.pop():void 0}function Gu(e,t){return typeof Ri(e)=="number"?e.pop():t}function lb(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var o=0,r=Object.getOwnPropertySymbols(e);o<r.length;o++)t.indexOf(r[o])<0&&Object.prototype.propertyIsEnumerable.call(e,r[o])&&(n[r[o]]=e[r[o]]);return n}function Wu(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 zu(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 Mt(e){return this instanceof Mt?(this.v=e,this):new Mt(e)}function qu(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(_,C){i.push([f,g,_,C])>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 Mt?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 Zu(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 zu=="function"?zu(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 Xt=e=>e&&typeof e.length=="number"&&typeof e!="function";function Mr(e){return y(e?.then)}function xr(e){return y(e[Qt])}function Sr(e){return Symbol.asyncIterator&&y(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 $p(){return typeof Symbol!="function"||!Symbol.iterator?"@@iterator":Symbol.iterator}var Nr=$p();function Ar(e){return y(e?.[Nr])}function Or(e){return qu(this,arguments,function*(){let n=e.getReader();try{for(;;){let{value:r,done:o}=yield Mt(n.read());if(o)return yield Mt(void 0);yield yield Mt(r)}}finally{n.releaseLock()}})}function Fr(e){return y(e?.getReader)}function I(e){if(e instanceof M)return e;if(e!=null){if(xr(e))return Hp(e);if(Xt(e))return Up(e);if(Mr(e))return Gp(e);if(Sr(e))return Yu(e);if(Ar(e))return zp(e);if(Fr(e))return Wp(e)}throw Tr(e)}function Hp(e){return new M(t=>{let n=e[Qt]();if(y(n.subscribe))return n.subscribe(t);throw new TypeError("Provided object does not correctly implement Symbol.observable")})}function Up(e){return new M(t=>{for(let n=0;n<e.length&&!t.closed;n++)t.next(e[n]);t.complete()})}function Gp(e){return new M(t=>{e.then(n=>{t.closed||(t.next(n),t.complete())},n=>t.error(n)).then(null,gr)})}function zp(e){return new M(t=>{for(let n of e)if(t.next(n),t.closed)return;t.complete()})}function Yu(e){return new M(t=>{qp(e,t).catch(n=>t.error(n))})}function Wp(e){return Yu(Or(e))}function qp(e,t){var n,r,o,i;return Wu(this,void 0,void 0,function*(){try{for(n=Zu(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 Nn(e,t=0){return v((n,r)=>{n.subscribe(m(r,o=>K(r,e,()=>r.next(o),t),()=>K(r,e,()=>r.complete(),t),o=>K(r,e,()=>r.error(o),t)))})}function An(e,t=0){return v((n,r)=>{r.add(e.schedule(()=>n.subscribe(r),t))})}function Qu(e,t){return I(e).pipe(An(t),Nn(t))}function Ku(e,t){return I(e).pipe(An(t),Nn(t))}function Ju(e,t){return new M(n=>{let r=0;return t.schedule(function(){r===e.length?n.complete():(n.next(e[r++]),n.closed||this.schedule())})})}function Xu(e,t){return new M(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)}),()=>y(r?.return)&&r.return()})}function Rr(e,t){if(!e)throw new Error("Iterable cannot be null");return new M(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 ec(e,t){return Rr(Or(e),t)}function tc(e,t){if(e!=null){if(xr(e))return Qu(e,t);if(Xt(e))return Ju(e,t);if(Mr(e))return Ku(e,t);if(Sr(e))return Rr(e,t);if(Ar(e))return Xu(e,t);if(Fr(e))return ec(e,t)}throw Tr(e)}function je(e,t){return t?tc(e,t):I(e)}function ki(...e){let t=Le(e);return je(e,t)}function Zp(e,t){let n=y(e)?e:()=>e,r=o=>o.error(n());return new M(t?o=>t.schedule(r,0,o):r)}function Yp(e){return!!e&&(e instanceof M||y(e.lift)&&y(e.subscribe))}var xt=ct(e=>function(){e(this),this.name="EmptyError",this.message="no elements in sequence"});function kr(e){return e instanceof Date&&!isNaN(e)}var nc=ct(e=>function(n=null){e(this),this.message="Timeout has occurred",this.name="TimeoutError",this.info=n});function rc(e,t){let{first:n,each:r,with:o=Qp,scheduler:i=t??Pe,meta:s=null}=kr(e)?{first:e}:typeof e=="number"?{each:e}:e;if(n==null&&r==null)throw new TypeError("No timeout provided.");return v((a,u)=>{let c,l,d=null,p=0,f=h=>{l=K(u,i,()=>{try{c.unsubscribe(),I(o({meta:s,lastValue:d,seen:p})).subscribe(u)}catch(g){u.error(g)}},h)};c=a.subscribe(m(u,h=>{l?.unsubscribe(),p++,u.next(d=h),r>0&&f(r)},void 0,void 0,()=>{l?.closed||l?.unsubscribe(),d=null})),!p&&f(n!=null?typeof n=="number"?n:+n-i.now():r)})}function Qp(e){throw new nc(e)}function Ze(e,t){return v((n,r)=>{let o=0;n.subscribe(m(r,i=>{r.next(e.call(t,i,o++))}))})}var{isArray:Kp}=Array;function Jp(e,t){return Kp(t)?e(...t):e(t)}function en(e){return Ze(t=>Jp(e,t))}var{isArray:Xp}=Array,{getPrototypeOf:eh,prototype:th,keys:nh}=Object;function Pr(e){if(e.length===1){let t=e[0];if(Xp(t))return{args:t,keys:null};if(rh(t)){let n=nh(t);return{args:n.map(r=>t[r]),keys:n}}}return{args:e,keys:null}}function rh(e){return e&&typeof e=="object"&&eh(e)===th}function Lr(e,t){return e.reduce((n,r,o)=>(n[r]=t[o],n),{})}function oh(...e){let t=Le(e),n=lt(e),{args:r,keys:o}=Pr(e);if(r.length===0)return je([],t);let i=new M(ih(r,t,o?s=>Lr(o,s):Z));return n?i.pipe(en(n)):i}function ih(e,t,n=Z){return r=>{oc(t,()=>{let{length:o}=e,i=new Array(o),s=o,a=o;for(let u=0;u<o;u++)oc(t,()=>{let c=je(e[u],t),l=!1;c.subscribe(m(r,d=>{i[u]=d,l||(l=!0,a--),a||r.next(n(i.slice()))},()=>{--s||r.complete()}))},r)},r)}}function oc(e,t,n){e?K(n,e,t):t()}function ic(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 _=!1;I(n(g,l++)).subscribe(m(t,C=>{o?.(C),i?f(C):t.next(C)},()=>{_=!0},void 0,()=>{if(_)try{for(c--;u.length&&c<r;){let C=u.shift();s?K(t,s,()=>h(C)):h(C)}p()}catch(C){t.error(C)}}))};return e.subscribe(m(t,f,()=>{d=!0,p()})),()=>{a?.()}}function Ce(e,t,n=1/0){return y(t)?Ce((r,o)=>Ze((i,s)=>t(r,i,o,s))(I(e(r,o))),n):(typeof t=="number"&&(n=t),v((r,o)=>ic(r,o,e,n)))}function On(e=1/0){return Ce(Z,e)}function sc(){return On(1)}function dt(...e){return sc()(je(e,Le(e)))}function sh(e){return new M(t=>{I(e()).subscribe(t)})}function ah(...e){let t=lt(e),{args:n,keys:r}=Pr(e),o=new M(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;I(n[l]).subscribe(m(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(en(t)):o}var uh=["addListener","removeListener"],ch=["addEventListener","removeEventListener"],lh=["on","off"];function Pi(e,t,n,r){if(y(n)&&(r=n,n=void 0),r)return Pi(e,t,n).pipe(en(r));let[o,i]=ph(e)?ch.map(s=>a=>e[s](t,a,n)):dh(e)?uh.map(ac(e,t)):fh(e)?lh.map(ac(e,t)):[];if(!o&&Xt(e))return Ce(s=>Pi(s,t,n))(I(e));if(!o)throw new TypeError("Invalid event target");return new M(s=>{let a=(...u)=>s.next(1<u.length?u:u[0]);return o(a),()=>i(a)})}function ac(e,t){return n=>r=>e[n](t,r)}function dh(e){return y(e.addListener)&&y(e.removeListener)}function fh(e){return y(e.on)&&y(e.off)}function ph(e){return y(e.addEventListener)&&y(e.removeEventListener)}function Fn(e=0,t,n=Fi){let r=-1;return t!=null&&(_r(t)?n=t:r=t),new M(o=>{let i=kr(e)?+e-n.now():e;i<0&&(i=0);let s=0;return n.schedule(function(){o.closed||(o.next(s++),0<=r?this.schedule(void 0,r):o.complete())},i)})}function hh(...e){let t=Le(e),n=Gu(e,1/0),r=e;return r.length?r.length===1?I(r[0]):On(n)(je(r,t)):qe}var{isArray:gh}=Array;function jr(e){return e.length===1&&gh(e[0])?e[0]:e}function uc(e,t){return(n,r)=>!e.call(t,n,r)}function be(e,t){return v((n,r)=>{let o=0;n.subscribe(m(r,i=>e.call(t,i,o++)&&r.next(i)))})}function mh(e,t,n){return[be(t,n)(I(e)),be(uc(t,n))(I(e))]}function yh(...e){return e=jr(e),e.length===1?I(e[0]):new M(vh(e))}function vh(e){return t=>{let n=[];for(let r=0;n&&!t.closed&&r<e.length;r++)n.push(I(e[r]).subscribe(m(t,o=>{if(n){for(let i=0;i<n.length;i++)i!==r&&n[i].unsubscribe();n=null}t.next(o)})))}}function Dh(...e){let t=lt(e),n=jr(e);return n.length?new M(r=>{let o=n.map(()=>[]),i=n.map(()=>!1);r.add(()=>{o=i=null});for(let s=0;!r.closed&&s<n.length;s++)I(n[s]).subscribe(m(r,a=>{if(o[s].push(a),o.every(u=>u.length)){let u=o.map(c=>c.shift());r.next(t?t(...u):u),o.some((c,l)=>!c.length&&i[l])&&r.complete()}},()=>{i[s]=!0,!o[s].length&&r.complete()}));return()=>{o=i=null}}):qe}function cc(e){return v((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(m(n,c=>{r=!0,o=c,i||I(e(c)).subscribe(i=m(n,a,u))},()=>{s=!0,(!r||!i||i.closed)&&n.complete()}))})}function Eh(e,t=Pe){return cc(()=>Fn(e,t))}function lc(e){return v((t,n)=>{let r=null,o=!1,i;r=t.subscribe(m(n,void 0,void 0,s=>{i=I(e(s,lc(e)(t))),r?(r.unsubscribe(),r=null,i.subscribe(n)):o=!0})),o&&(r.unsubscribe(),r=null,i.subscribe(n))})}function dc(e,t,n,r,o){return(i,s)=>{let a=n,u=t,c=0;i.subscribe(m(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 Ih(e,t){return y(t)?Ce(e,t,1):Ce(e,1)}function wh(e){return v((t,n)=>{let r=!1,o=null,i=null,s=()=>{if(i?.unsubscribe(),i=null,r){r=!1;let a=o;o=null,n.next(a)}};t.subscribe(m(n,a=>{i?.unsubscribe(),r=!0,o=a,i=m(n,s,we),I(e(a)).subscribe(i)},()=>{s(),n.complete()},void 0,()=>{o=i=null}))})}function Ch(e,t=Pe){return v((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(m(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 Rn(e){return v((t,n)=>{let r=!1;t.subscribe(m(n,o=>{r=!0,n.next(o)},()=>{r||n.next(e),n.complete()}))})}function tn(e){return e<=0?()=>qe:v((t,n)=>{let r=0;t.subscribe(m(n,o=>{++r<=e&&(n.next(o),e<=r&&n.complete())}))})}function fc(){return v((e,t)=>{e.subscribe(m(t,we))})}function Li(e){return Ze(()=>e)}function ji(e,t){return t?n=>dt(t.pipe(tn(1),fc()),n.pipe(ji(e))):Ce((n,r)=>I(e(n,r)).pipe(tn(1),Li(n)))}function bh(e,t=Pe){let n=Fn(e,t);return ji(()=>n)}function _h(e,t=Z){return e=e??Mh,v((n,r)=>{let o,i=!0;n.subscribe(m(r,s=>{let a=t(s);(i||!e(o,a))&&(i=!1,o=a,r.next(s))}))})}function Mh(e,t){return e===t}function Vr(e=xh){return v((t,n)=>{let r=!1;t.subscribe(m(n,o=>{r=!0,n.next(o)},()=>r?n.complete():n.error(e())))})}function xh(){return new xt}function Sh(...e){return t=>dt(t,ki(...e))}function Th(e){return v((t,n)=>{try{t.subscribe(n)}finally{n.add(e)}})}function pc(e,t){let n=arguments.length>=2;return r=>r.pipe(e?be((o,i)=>e(o,i,r)):Z,tn(1),n?Rn(t):Vr(()=>new xt))}function Vi(e){return e<=0?()=>qe:v((t,n)=>{let r=[];t.subscribe(m(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 Nh(e,t){let n=arguments.length>=2;return r=>r.pipe(e?be((o,i)=>e(o,i,r)):Z,Vi(1),n?Rn(t):Vr(()=>new xt))}function Ah(e,t){return v(dc(e,t,arguments.length>=2,!0))}function $i(e={}){let{connector:t=()=>new ge,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 v((g,_)=>{c++,!d&&!l&&p();let C=u=u??t();_.add(()=>{c--,c===0&&!d&&!l&&(a=Bi(h,o))}),C.subscribe(_),!s&&c>0&&(s=new We({next:L=>C.next(L),error:L=>{d=!0,p(),a=Bi(f,n,L),C.error(L)},complete:()=>{l=!0,p(),a=Bi(f,r),C.complete()}}),I(g).subscribe(s))})(i)}}function Bi(e,t,...n){if(t===!0){e();return}if(t===!1)return;let r=new We({next:()=>{r.unsubscribe(),e()}});return I(t(...n)).subscribe(r)}function hc(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,$i({connector:()=>new xn(r,t,n),resetOnError:!0,resetOnComplete:!1,resetOnRefCountZero:o})}function Oh(e){return be((t,n)=>e<=n)}function Fh(...e){let t=Le(e);return v((n,r)=>{(t?dt(e,n,t):dt(e,n)).subscribe(r)})}function Rh(e,t){return v((n,r)=>{let o=null,i=0,s=!1,a=()=>s&&!o&&r.complete();n.subscribe(m(r,u=>{o?.unsubscribe();let c=0,l=i++;I(e(u,l)).subscribe(o=m(r,d=>r.next(t?t(u,d,l,c++):d),()=>{o=null,a()}))},()=>{s=!0,a()}))})}function gc(e){return v((t,n)=>{I(e).subscribe(m(n,()=>n.complete(),we)),!n.closed&&t.subscribe(n)})}function mc(e,t,n){let r=y(e)||t||n?{next:e,error:t,complete:n}:e;return r?v((o,i)=>{var s;(s=r.subscribe)===null||s===void 0||s.call(r);let a=!0;o.subscribe(m(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)}))}):Z}function kh(...e){let t=lt(e);return v((n,r)=>{let o=e.length,i=new Array(o),s=e.map(()=>!1),a=!1;for(let u=0;u<o;u++)I(e[u]).subscribe(m(r,c=>{i[u]=c,!a&&!s[u]&&(s[u]=!0,(a=s.every(Z))&&(s=null))},we));n.subscribe(m(r,u=>{if(a){let c=[u,...i];r.next(t?t(...c):c)}}))})}var sl="https://g.co/ng/security#xss",N=class extends Error{constructor(t,n){super(al(t,n)),this.code=t}};function al(e,t){return`${`NG0${Math.abs(e)}`}${t?": "+t:""}`}var ul=Symbol("InputSignalNode#UNSET"),Ph=Fe(Oe({},Ei),{transformFn:void 0,applyValueToInputSignal(e,t){fr(e,t)}});function cl(e,t){let n=Object.create(Ph);n.value=e,n.transformFn=t?.transform;function r(){if(sr(n),n.value===ul)throw new N(-950,!1);return n.value}return r[Ee]=n,r}function zn(e){return{toString:e}.toString()}var Br="__parameters__";function Lh(e){return function(...n){if(e){let r=e(...n);for(let o in r)this[o]=r[o]}}}function ll(e,t,n){return zn(()=>{let r=Lh(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(Br)?u[Br]:Object.defineProperty(u,Br,{value:[]})[Br];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 Ve=globalThis;function R(e){for(let t in e)if(e[t]===R)return t;throw Error("Could not find renamed property on target object.")}function jh(e,t){for(let n in t)t.hasOwnProperty(n)&&!e.hasOwnProperty(n)&&(e[n]=t[n])}function re(e){if(typeof e=="string")return e;if(Array.isArray(e))return"["+e.map(re).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(`
4
+ `);return n===-1?t:t.substring(0,n)}function rs(e,t){return e==null||e===""?t===null?"":t:t==null||t===""?e:e+" "+t}var Vh=R({__forward_ref__:R});function dl(e){return e.__forward_ref__=dl,e.toString=function(){return re(this())},e}function Y(e){return fl(e)?e():e}function fl(e){return typeof e=="function"&&e.hasOwnProperty(Vh)&&e.__forward_ref__===dl}function j(e){return{token:e.token,providedIn:e.providedIn||null,factory:e.factory,value:void 0}}function pl(e){return{providers:e.providers||[],imports:e.imports||[]}}function So(e){return yc(e,hl)||yc(e,gl)}function aN(e){return So(e)!==null}function yc(e,t){return e.hasOwnProperty(t)?e[t]:null}function Bh(e){let t=e&&(e[hl]||e[gl]);return t||null}function vc(e){return e&&(e.hasOwnProperty(Dc)||e.hasOwnProperty($h))?e[Dc]:null}var hl=R({\u0275prov:R}),Dc=R({\u0275inj:R}),gl=R({ngInjectableDef:R}),$h=R({ngInjectorDef:R}),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=j({token:this,providedIn:n.providedIn||"root",factory:n.factory}))}get multi(){return this}toString(){return`InjectionToken ${this._desc}`}};function ml(e){return e&&!!e.\u0275providers}var Hh=R({\u0275cmp:R}),Uh=R({\u0275dir:R}),Gh=R({\u0275pipe:R}),zh=R({\u0275mod:R}),Xr=R({\u0275fac:R}),kn=R({__NG_ELEMENT_ID__:R}),Ec=R({__NG_ENV_ID__:R});function Wn(e){return typeof e=="string"?e:e==null?"":String(e)}function Wh(e){return typeof e=="function"?e.name||e.toString():typeof e=="object"&&e!=null&&typeof e.type=="function"?e.type.name||e.type.toString():Wn(e)}function qh(e,t){let n=t?`. Dependency path: ${t.join(" > ")} > ${e}`:"";throw new N(-200,e)}function fa(e,t){throw new N(-201,!1)}var T=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}(T||{}),os;function yl(){return os}function ie(e){let t=os;return os=e,t}function vl(e,t,n){let r=So(e);if(r&&r.providedIn=="root")return r.value===void 0?r.value=r.factory():r.value;if(n&T.Optional)return null;if(t!==void 0)return t;fa(e,"Injector")}var Zh={},Pn=Zh,is="__NG_DI_FLAG__",eo="ngTempTokenPath",Yh="ngTokenPath",Qh=/\n/gm,Kh="\u0275",Ic="__source",sn;function Jh(){return sn}function ft(e){let t=sn;return sn=e,t}function Xh(e,t=T.Default){if(sn===void 0)throw new N(-203,!1);return sn===null?vl(e,void 0,t):sn.get(e,t&T.Optional?null:void 0,t)}function X(e,t=T.Default){return(yl()||Xh)(Y(e),t)}function b(e,t=T.Default){return X(e,To(t))}function To(e){return typeof e>"u"||typeof e=="number"?e:0|(e.optional&&8)|(e.host&&1)|(e.self&&2)|(e.skipSelf&&4)}function ss(e){let t=[];for(let n=0;n<e.length;n++){let r=Y(e[n]);if(Array.isArray(r)){if(r.length===0)throw new N(900,!1);let o,i=T.Default;for(let s=0;s<r.length;s++){let a=r[s],u=eg(a);typeof u=="number"?u===-1?o=a.token:i|=u:o=a}t.push(X(o,i))}else t.push(X(r))}return t}function Dl(e,t){return e[is]=t,e.prototype[is]=t,e}function eg(e){return e[is]}function tg(e,t,n,r){let o=e[eo];throw t[Ic]&&o.unshift(t[Ic]),e.message=ng(`
5
+ `+e.message,o,n,r),e[Yh]=o,e[eo]=null,e}function ng(e,t,n,r=null){e=e&&e.charAt(0)===`
6
+ `&&e.charAt(1)==Kh?e.slice(2):e;let o=re(t);if(Array.isArray(t))o=t.map(re).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):re(a)))}o=`{${i.join(", ")}}`}return`${n}${r?"("+r+")":""}[${o}]: ${e.replace(Qh,`
7
+ `)}`}var rg=Dl(ll("Optional"),8);var og=Dl(ll("SkipSelf"),4);function At(e,t){let n=e.hasOwnProperty(Xr);return n?e[Xr]:null}function ig(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 sg(e){return e.flat(Number.POSITIVE_INFINITY)}function pa(e,t){e.forEach(n=>Array.isArray(n)?pa(n,t):t(n))}function El(e,t,n){t>=e.length?e.push(n):e.splice(t,0,n)}function to(e,t){return t>=e.length-1?e.pop():e.splice(t,1)[0]}function ag(e,t){let n=[];for(let r=0;r<e;r++)n.push(t);return n}function ug(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 No(e,t,n){let r=qn(e,t);return r>=0?e[r|1]=n:(r=~r,ug(e,r,t,n)),r}function Hi(e,t){let n=qn(e,t);if(n>=0)return e[n|1]}function qn(e,t){return cg(e,t,1)}function cg(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 Ye={},se=[],no=new A(""),Il=new A("",-1),wl=new A(""),ro=class{get(t,n=Pn){if(n===Pn){let r=new Error(`NullInjectorError: No provider for ${re(t)}!`);throw r.name="NullInjectorError",r}return n}},Cl=function(e){return e[e.OnPush=0]="OnPush",e[e.Default=1]="Default",e}(Cl||{}),Ln=function(e){return e[e.Emulated=0]="Emulated",e[e.None=2]="None",e[e.ShadowDom=3]="ShadowDom",e}(Ln||{}),gt=function(e){return e[e.None=0]="None",e[e.SignalBased=1]="SignalBased",e[e.HasDecoratorInputTransform=2]="HasDecoratorInputTransform",e}(gt||{});function lg(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 as(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];dg(i)?e.setProperty(t,i,s):e.setAttribute(t,i,s),r++}}return r}function bl(e){return e===3||e===4||e===6}function dg(e){return e.charCodeAt(0)===64}function jn(e,t){if(!(t===null||t.length===0))if(e===null||e.length===0)e=t.slice();else{let n=-1;for(let r=0;r<t.length;r++){let o=t[r];typeof o=="number"?n=o:n===0||(n===-1||n===2?wc(e,n,o,null,t[++r]):wc(e,n,o,null,null))}}return e}function wc(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 _l="ng-template";function fg(e,t,n,r){let o=0;if(r){for(;o<t.length&&typeof t[o]=="string";o+=2)if(t[o]==="class"&&lg(t[o+1].toLowerCase(),n,0)!==-1)return!0}else if(ha(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 ha(e){return e.type===4&&e.value!==_l}function pg(e,t,n){let r=e.type===4&&!n?_l:e.value;return t===r}function hg(e,t,n){let r=4,o=e.attrs,i=o!==null?yg(o):0,s=!1;for(let a=0;a<t.length;a++){let u=t[a];if(typeof u=="number"){if(!s&&!_e(r)&&!_e(u))return!1;if(s&&_e(u))continue;s=!1,r=u|r&1;continue}if(!s)if(r&4){if(r=2|r&1,u!==""&&!pg(e,u,n)||u===""&&t.length===1){if(_e(r))return!1;s=!0}}else if(r&8){if(o===null||!fg(e,o,u,n)){if(_e(r))return!1;s=!0}}else{let c=t[++a],l=gg(u,o,ha(e),n);if(l===-1){if(_e(r))return!1;s=!0;continue}if(c!==""){let d;if(l>i?d="":d=o[l+1].toLowerCase(),r&2&&c!==d){if(_e(r))return!1;s=!0}}}}return _e(r)||s}function _e(e){return(e&1)===0}function gg(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 vg(t,e)}function Ml(e,t,n=!1){for(let r=0;r<t.length;r++)if(hg(e,t[r],n))return!0;return!1}function mg(e){let t=e.attrs;if(t!=null){let n=t.indexOf(5);if(!(n&1))return t[n+1]}return null}function yg(e){for(let t=0;t<e.length;t++){let n=e[t];if(bl(n))return t}return e.length}function vg(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 Dg(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 Cc(e,t){return e?":not("+t.trim()+")":t}function Eg(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!==""&&!_e(s)&&(t+=Cc(i,o),o=""),r=s,i=i||!_e(r);n++}return o!==""&&(t+=Cc(i,o)),t}function Ig(e){return e.map(Eg).join(",")}function wg(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(!_e(o))break;o=i}r++}return{attrs:t,classes:n}}function uN(e){return zn(()=>{let t=Nl(e),n=Fe(Oe({},t),{decls:e.decls,vars:e.vars,template:e.template,consts:e.consts||null,ngContentSelectors:e.ngContentSelectors,onPush:e.changeDetection===Cl.OnPush,directiveDefs:null,pipeDefs:null,dependencies:t.standalone&&e.dependencies||null,getStandaloneInjector:null,signals:e.signals??!1,data:e.data||{},encapsulation:e.encapsulation||Ln.Emulated,styles:e.styles||se,_:null,schemas:e.schemas||null,tView:null,id:""});Al(n);let r=e.dependencies;return n.directiveDefs=_c(r,!1),n.pipeDefs=_c(r,!0),n.id=Mg(n),n})}function Cg(e){return Qe(e)||ga(e)}function bg(e){return e!==null}function xl(e){return zn(()=>({type:e.type,bootstrap:e.bootstrap||se,declarations:e.declarations||se,imports:e.imports||se,exports:e.exports||se,transitiveCompileScopes:null,schemas:e.schemas||null,id:e.id||null}))}function bc(e,t){if(e==null)return Ye;let n={};for(let r in e)if(e.hasOwnProperty(r)){let o=e[r],i,s,a=gt.None;Array.isArray(o)?(a=o[0],i=o[1],s=o[2]??i):(i=o,s=o),t?(n[i]=a!==gt.None?[r,a]:r,t[i]=s):n[i]=r}return n}function vn(e){return zn(()=>{let t=Nl(e);return Al(t),t})}function Zn(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 Qe(e){return e[Hh]||null}function ga(e){return e[Uh]||null}function Sl(e){return e[Gh]||null}function _g(e){let t=Qe(e)||ga(e)||Sl(e);return t!==null?t.standalone:!1}function Tl(e,t){let n=e[zh]||null;if(!n&&t===!0)throw new Error(`Type ${re(e)} does not have '\u0275mod' property.`);return n}function Nl(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||Ye,exportAs:e.exportAs||null,standalone:e.standalone===!0,signals:e.signals===!0,selectors:e.selectors||se,viewQuery:e.viewQuery||null,features:e.features||null,setInput:null,findHostDirectiveDefs:null,hostDirectives:null,inputs:bc(e.inputs,t),outputs:bc(e.outputs),debugInfo:null}}function Al(e){e.features?.forEach(t=>t(e))}function _c(e,t){if(!e)return null;let n=t?Sl:Cg;return()=>(typeof e=="function"?e():e).map(r=>n(r)).filter(bg)}function Mg(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 cN(e){return{\u0275providers:e}}function xg(...e){return{\u0275providers:Ol(!0,e),\u0275fromNgModule:!0}}function Ol(e,...t){let n=[],r=new Set,o,i=s=>{n.push(s)};return pa(t,s=>{let a=s;us(a,i,[],r)&&(o||=[],o.push(a))}),o!==void 0&&Fl(o,i),n}function Fl(e,t){for(let n=0;n<e.length;n++){let{ngModule:r,providers:o}=e[n];ma(o,i=>{t(i,r)})}}function us(e,t,n,r){if(e=Y(e),!e)return!1;let o=null,i=vc(e),s=!i&&Qe(e);if(!i&&!s){let u=e.ngModule;if(i=vc(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)us(c,t,n,r)}}else if(i){if(i.imports!=null&&!a){r.add(o);let c;try{pa(i.imports,l=>{us(l,t,n,r)&&(c||=[],c.push(l))})}finally{}c!==void 0&&Fl(c,t)}if(!a){let c=At(o)||(()=>new o);t({provide:o,useFactory:c,deps:se},o),t({provide:wl,useValue:o,multi:!0},o),t({provide:no,useValue:()=>X(o),multi:!0},o)}let u=i.providers;if(u!=null&&!a){let c=e;ma(u,l=>{t(l,c)})}}else return!1;return o!==e&&e.providers!==void 0}function ma(e,t){for(let n of e)ml(n)&&(n=n.\u0275providers),Array.isArray(n)?ma(n,t):t(n)}var Sg=R({provide:String,useValue:R});function Rl(e){return e!==null&&typeof e=="object"&&Sg in e}function Tg(e){return!!(e&&e.useExisting)}function Ng(e){return!!(e&&e.useFactory)}function un(e){return typeof e=="function"}function Ag(e){return!!e.useClass}var kl=new A(""),Wr={},Og={},Ui;function Ao(){return Ui===void 0&&(Ui=new ro),Ui}var mt=class{},Vn=class extends mt{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,ls(t,s=>this.processProvider(s)),this.records.set(Il,nn(void 0,this)),o.has("environment")&&this.records.set(mt,nn(void 0,this));let i=this.records.get(kl);i!=null&&typeof i.value=="string"&&this.scopes.add(i.value),this.injectorDefTypes=new Set(this.get(wl,se,T.Self))}destroy(){this.assertNotDestroyed(),this._destroyed=!0;let t=S(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(),S(t)}}onDestroy(t){return this.assertNotDestroyed(),this._onDestroyHooks.push(t),()=>this.removeOnDestroy(t)}runInContext(t){this.assertNotDestroyed();let n=ft(this),r=ie(void 0),o;try{return t()}finally{ft(n),ie(r)}}get(t,n=Pn,r=T.Default){if(this.assertNotDestroyed(),t.hasOwnProperty(Ec))return t[Ec](this);r=To(r);let o,i=ft(this),s=ie(void 0);try{if(!(r&T.SkipSelf)){let u=this.records.get(t);if(u===void 0){let c=Lg(t)&&So(t);c&&this.injectableDefInScope(c)?u=nn(cs(t),Wr):u=null,this.records.set(t,u)}if(u!=null)return this.hydrate(t,u)}let a=r&T.Self?Ao():this.parent;return n=r&T.Optional&&n===Pn?null:n,a.get(t,n)}catch(a){if(a.name==="NullInjectorError"){if((a[eo]=a[eo]||[]).unshift(re(t)),i)throw a;return tg(a,t,"R3InjectorError",this.source)}else throw a}finally{ie(s),ft(i)}}resolveInjectorInitializers(){let t=S(null),n=ft(this),r=ie(void 0),o;try{let i=this.get(no,se,T.Self);for(let s of i)s()}finally{ft(n),ie(r),S(t)}}toString(){let t=[],n=this.records;for(let r of n.keys())t.push(re(r));return`R3Injector[${t.join(", ")}]`}assertNotDestroyed(){if(this._destroyed)throw new N(205,!1)}processProvider(t){t=Y(t);let n=un(t)?t:Y(t&&t.provide),r=Rg(t);if(!un(t)&&t.multi===!0){let o=this.records.get(n);o||(o=nn(void 0,Wr,!0),o.factory=()=>ss(o.multi),this.records.set(n,o)),n=t,o.multi.push(t)}this.records.set(n,r)}hydrate(t,n){let r=S(null);try{return n.value===Wr&&(n.value=Og,n.value=n.factory()),typeof n.value=="object"&&n.value&&Pg(n.value)&&this._ngOnDestroyHooks.add(n.value),n.value}finally{S(r)}}injectableDefInScope(t){if(!t.providedIn)return!1;let n=Y(t.providedIn);return typeof n=="string"?n==="any"||this.scopes.has(n):this.injectorDefTypes.has(n)}removeOnDestroy(t){let n=this._onDestroyHooks.indexOf(t);n!==-1&&this._onDestroyHooks.splice(n,1)}};function cs(e){let t=So(e),n=t!==null?t.factory:At(e);if(n!==null)return n;if(e instanceof A)throw new N(204,!1);if(e instanceof Function)return Fg(e);throw new N(204,!1)}function Fg(e){if(e.length>0)throw new N(204,!1);let n=Bh(e);return n!==null?()=>n.factory(e):()=>new e}function Rg(e){if(Rl(e))return nn(void 0,e.useValue);{let t=Pl(e);return nn(t,Wr)}}function Pl(e,t,n){let r;if(un(e)){let o=Y(e);return At(o)||cs(o)}else if(Rl(e))r=()=>Y(e.useValue);else if(Ng(e))r=()=>e.useFactory(...ss(e.deps||[]));else if(Tg(e))r=()=>X(Y(e.useExisting));else{let o=Y(e&&(e.useClass||e.provide));if(kg(e))r=()=>new o(...ss(e.deps));else return At(o)||cs(o)}return r}function nn(e,t,n=!1){return{factory:e,value:t,multi:n?[]:void 0}}function kg(e){return!!e.deps}function Pg(e){return e!==null&&typeof e=="object"&&typeof e.ngOnDestroy=="function"}function Lg(e){return typeof e=="function"||typeof e=="object"&&e instanceof A}function ls(e,t){for(let n of e)Array.isArray(n)?ls(n,t):n&&ml(n)?ls(n.\u0275providers,t):t(n)}function jg(e,t){e instanceof Vn&&e.assertNotDestroyed();let n,r=ft(e),o=ie(void 0);try{return t()}finally{ft(r),ie(o)}}function Ll(){return yl()!==void 0||Jh()!=null}function ya(e){if(!Ll())throw new N(-203,!1)}function Vg(e){return typeof e=="function"}var Ge=0,w=1,E=2,ee=3,Se=4,ce=5,cn=6,oo=7,Q=8,ln=9,He=10,V=11,Bn=12,Mc=13,Dn=14,ue=15,Ot=16,rn=17,Ke=18,Oo=19,jl=20,pt=21,qr=22,me=23,z=25,va=1;var Ft=7,io=8,dn=9,J=10,so=function(e){return e[e.None=0]="None",e[e.HasTransplantedViews=2]="HasTransplantedViews",e}(so||{});function ht(e){return Array.isArray(e)&&typeof e[va]=="object"}function nt(e){return Array.isArray(e)&&e[va]===!0}function Da(e){return(e.flags&4)!==0}function Fo(e){return e.componentOffset>-1}function Ro(e){return(e.flags&1)===1}function Je(e){return!!e.template}function ds(e){return(e[E]&512)!==0}var fs=class{constructor(t,n,r){this.previousValue=t,this.currentValue=n,this.firstChange=r}isFirstChange(){return this.firstChange}};function Vl(e,t,n,r){t!==null?t.applyValueToInputSignal(t,r):e[n]=r}function ko(){return Bl}function Bl(e){return e.type.prototype.ngOnChanges&&(e.setInput=$g),Bg}ko.ngInherit=!0;function Bg(){let e=Hl(this),t=e?.current;if(t){let n=e.previous;if(n===Ye)e.previous=t;else for(let r in t)n[r]=t[r];e.current=null,this.ngOnChanges(t)}}function $g(e,t,n,r,o){let i=this.declaredInputs[r],s=Hl(e)||Hg(e,{previous:Ye,current:null}),a=s.current||(s.current={}),u=s.previous,c=u[i];a[i]=new fs(c&&c.currentValue,n,u===Ye),Vl(e,t,o,n)}var $l="__ngSimpleChanges__";function Hl(e){return e[$l]||null}function Hg(e,t){return e[$l]=t}var xc=null;var Be=function(e,t,n){xc?.(e,t,n)},Ug="svg",Gg="math";function Ue(e){for(;Array.isArray(e);)e=e[Ge];return e}function zg(e){for(;Array.isArray(e);){if(typeof e[va]=="object")return e;e=e[Ge]}return null}function Ul(e,t){return Ue(t[e])}function ye(e,t){return Ue(t[e.index])}function Ea(e,t){return e.data[t]}function Po(e,t){return e[t]}function Et(e,t){let n=t[e];return ht(n)?n:n[Ge]}function Wg(e){return(e[E]&4)===4}function Ia(e){return(e[E]&128)===128}function qg(e){return nt(e[ee])}function yt(e,t){return t==null?null:e[t]}function Gl(e){e[rn]=0}function zl(e){e[E]&1024||(e[E]|=1024,Ia(e)&&Lo(e))}function Zg(e,t){for(;e>0;)t=t[Dn],e--;return t}function $n(e){return!!(e[E]&9216||e[me]?.dirty)}function ps(e){e[He].changeDetectionScheduler?.notify(7),e[E]&64&&(e[E]|=1024),$n(e)&&Lo(e)}function Lo(e){e[He].changeDetectionScheduler?.notify(0);let t=Rt(e);for(;t!==null&&!(t[E]&8192||(t[E]|=8192,!Ia(t)));)t=Rt(t)}function Wl(e,t){if((e[E]&256)===256)throw new N(911,!1);e[pt]===null&&(e[pt]=[]),e[pt].push(t)}function Yg(e,t){if(e[pt]===null)return;let n=e[pt].indexOf(t);n!==-1&&e[pt].splice(n,1)}function Rt(e){let t=e[ee];return nt(t)?t[ee]:t}var x={lFrame:rd(null),bindingsEnabled:!0,skipHydrationRootTNode:null};var ql=!1;function Qg(){return x.lFrame.elementDepthCount}function Kg(){x.lFrame.elementDepthCount++}function Jg(){x.lFrame.elementDepthCount--}function Zl(){return x.bindingsEnabled}function Yl(){return x.skipHydrationRootTNode!==null}function Xg(e){return x.skipHydrationRootTNode===e}function em(){x.skipHydrationRootTNode=null}function D(){return x.lFrame.lView}function B(){return x.lFrame.tView}function lN(e){return x.lFrame.contextLView=e,e[Q]}function dN(e){return x.lFrame.contextLView=null,e}function te(){let e=Ql();for(;e!==null&&e.type===64;)e=e.parent;return e}function Ql(){return x.lFrame.currentTNode}function tm(){let e=x.lFrame,t=e.currentTNode;return e.isParent?t:t.parent}function $t(e,t){let n=x.lFrame;n.currentTNode=e,n.isParent=t}function wa(){return x.lFrame.isParent}function Ca(){x.lFrame.isParent=!1}function nm(){return x.lFrame.contextLView}function Kl(){return ql}function Sc(e){ql=e}function Ht(){let e=x.lFrame,t=e.bindingRootIndex;return t===-1&&(t=e.bindingRootIndex=e.tView.bindingStartIndex),t}function rm(e){return x.lFrame.bindingIndex=e}function Ut(){return x.lFrame.bindingIndex++}function Jl(e){let t=x.lFrame,n=t.bindingIndex;return t.bindingIndex=t.bindingIndex+e,n}function om(){return x.lFrame.inI18n}function im(e,t){let n=x.lFrame;n.bindingIndex=n.bindingRootIndex=e,hs(t)}function sm(){return x.lFrame.currentDirectiveIndex}function hs(e){x.lFrame.currentDirectiveIndex=e}function Xl(e){let t=x.lFrame.currentDirectiveIndex;return t===-1?null:e[t]}function ed(){return x.lFrame.currentQueryIndex}function ba(e){x.lFrame.currentQueryIndex=e}function am(e){let t=e[w];return t.type===2?t.declTNode:t.type===1?e[ce]:null}function td(e,t,n){if(n&T.SkipSelf){let o=t,i=e;for(;o=o.parent,o===null&&!(n&T.Host);)if(o=am(i),o===null||(i=i[Dn],o.type&10))break;if(o===null)return!1;t=o,e=i}let r=x.lFrame=nd();return r.currentTNode=t,r.lView=e,!0}function _a(e){let t=nd(),n=e[w];x.lFrame=t,t.currentTNode=n.firstChild,t.lView=e,t.tView=n,t.contextLView=e,t.bindingIndex=n.bindingStartIndex,t.inI18n=!1}function nd(){let e=x.lFrame,t=e===null?null:e.child;return t===null?rd(e):t}function rd(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 od(){let e=x.lFrame;return x.lFrame=e.parent,e.currentTNode=null,e.lView=null,e}var id=od;function Ma(){let e=od();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 um(e){return(x.lFrame.contextLView=Zg(e,x.lFrame.contextLView))[Q]}function It(){return x.lFrame.selectedIndex}function kt(e){x.lFrame.selectedIndex=e}function Yn(){let e=x.lFrame;return Ea(e.tView,e.selectedIndex)}function cm(){return x.lFrame.currentNamespace}var sd=!0;function jo(){return sd}function Vo(e){sd=e}function lm(e,t,n){let{ngOnChanges:r,ngOnInit:o,ngDoCheck:i}=t.type.prototype;if(r){let s=Bl(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 Bo(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 Zr(e,t,n){ad(e,t,3,n)}function Yr(e,t,n,r){(e[E]&3)===n&&ad(e,t,n,r)}function Gi(e,t){let n=e[E];(n&3)===t&&(n&=16383,n+=1,e[E]=n)}function ad(e,t,n,r){let o=r!==void 0?e[rn]&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[rn]+=65536),(a<i||i==-1)&&(dm(e,n,t,u),e[rn]=(e[rn]&4294901760)+u+2),u++}function Tc(e,t){Be(4,e,t);let n=S(null);try{t.call(e)}finally{S(n),Be(5,e,t)}}function dm(e,t,n,r){let o=n[r]<0,i=n[r+1],s=o?-n[r]:n[r],a=e[s];o?e[E]>>14<e[rn]>>16&&(e[E]&3)===t&&(e[E]+=16384,Tc(a,i)):Tc(a,i)}var an=-1,Pt=class{constructor(t,n,r){this.factory=t,this.resolving=!1,this.canSeeViewProviders=n,this.injectImpl=r}};function fm(e){return e instanceof Pt}function pm(e){return(e.flags&8)!==0}function hm(e){return(e.flags&16)!==0}var zi={},gs=class{constructor(t,n){this.injector=t,this.parentInjector=n}get(t,n,r){r=To(r);let o=this.injector.get(t,zi,r);return o!==zi||n===zi?o:this.parentInjector.get(t,n,r)}};function ud(e){return e!==an}function ao(e){return e&32767}function gm(e){return e>>16}function uo(e,t){let n=gm(e),r=t;for(;n>0;)r=r[Dn],n--;return r}var ms=!0;function co(e){let t=ms;return ms=e,t}var mm=256,cd=mm-1,ld=5,ym=0,$e={};function vm(e,t,n){let r;typeof n=="string"?r=n.charCodeAt(0)||0:n.hasOwnProperty(kn)&&(r=n[kn]),r==null&&(r=n[kn]=ym++);let o=r&cd,i=1<<o;t.data[e+(o>>ld)]|=i}function lo(e,t){let n=dd(e,t);if(n!==-1)return n;let r=t[w];r.firstCreatePass&&(e.injectorIndex=t.length,Wi(r.data,e),Wi(t,null),Wi(r.blueprint,null));let o=xa(e,t),i=e.injectorIndex;if(ud(o)){let s=ao(o),a=uo(o,t),u=a[w].data;for(let c=0;c<8;c++)t[i+c]=a[s+c]|u[s+c]}return t[i+8]=o,i}function Wi(e,t){e.push(0,0,0,0,0,0,0,0,t)}function dd(e,t){return e.injectorIndex===-1||e.parent&&e.parent.injectorIndex===e.injectorIndex||t[e.injectorIndex+8]===null?-1:e.injectorIndex}function xa(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=md(o),r===null)return an;if(n++,o=o[Dn],r.injectorIndex!==-1)return r.injectorIndex|n<<16}return an}function ys(e,t,n){vm(e,t,n)}function Dm(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(bl(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 fd(e,t,n){if(n&T.Optional||e!==void 0)return e;fa(t,"NodeInjector")}function pd(e,t,n,r){if(n&T.Optional&&r===void 0&&(r=null),!(n&(T.Self|T.Host))){let o=e[ln],i=ie(void 0);try{return o?o.get(t,r,n&T.Optional):vl(t,r,n&T.Optional)}finally{ie(i)}}return fd(r,t,n)}function hd(e,t,n,r=T.Default,o){if(e!==null){if(t[E]&2048&&!(r&T.Self)){let s=Cm(e,t,n,r,$e);if(s!==$e)return s}let i=gd(e,t,n,r,$e);if(i!==$e)return i}return pd(t,n,r,o)}function gd(e,t,n,r,o){let i=Im(n);if(typeof i=="function"){if(!td(t,e,r))return r&T.Host?fd(o,n,r):pd(t,n,r,o);try{let s;if(s=i(r),s==null&&!(r&T.Optional))fa(n);else return s}finally{id()}}else if(typeof i=="number"){let s=null,a=dd(e,t),u=an,c=r&T.Host?t[ue][ce]:null;for((a===-1||r&T.SkipSelf)&&(u=a===-1?xa(e,t):t[a+8],u===an||!Ac(r,!1)?a=-1:(s=t[w],a=ao(u),t=uo(u,t)));a!==-1;){let l=t[w];if(Nc(i,a,l.data)){let d=Em(a,t,n,s,r,c);if(d!==$e)return d}u=t[a+8],u!==an&&Ac(r,t[w].data[a+8]===c)&&Nc(i,a,t)?(s=l,a=ao(u),t=uo(u,t)):a=-1}}return o}function Em(e,t,n,r,o,i){let s=t[w],a=s.data[e+8],u=r==null?Fo(a)&&ms:r!=s&&(a.type&3)!==0,c=o&T.Host&&i===a,l=Qr(a,s,n,u,c);return l!==null?Lt(t,s,l,a):$e}function Qr(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&&Je(f)&&f.type===n)return u}return null}function Lt(e,t,n,r){let o=e[n],i=t.data;if(fm(o)){let s=o;s.resolving&&qh(Wh(i[n]));let a=co(s.canSeeViewProviders);s.resolving=!0;let u,c=s.injectImpl?ie(s.injectImpl):null,l=td(e,r,T.Default);try{o=e[n]=s.factory(void 0,i,e,r),t.firstCreatePass&&n>=r.directiveStart&&lm(n,i[n],t)}finally{c!==null&&ie(c),co(a),s.resolving=!1,id()}}return o}function Im(e){if(typeof e=="string")return e.charCodeAt(0)||0;let t=e.hasOwnProperty(kn)?e[kn]:void 0;return typeof t=="number"?t>=0?t&cd:wm:t}function Nc(e,t,n){let r=1<<e;return!!(n[t+(e>>ld)]&r)}function Ac(e,t){return!(e&T.Self)&&!(e&T.Host&&t)}var Nt=class{constructor(t,n){this._tNode=t,this._lView=n}get(t,n,r){return hd(this._tNode,this._lView,t,To(r),n)}};function wm(){return new Nt(te(),D())}function fN(e){return zn(()=>{let t=e.prototype.constructor,n=t[Xr]||vs(t),r=Object.prototype,o=Object.getPrototypeOf(e.prototype).constructor;for(;o&&o!==r;){let i=o[Xr]||vs(o);if(i&&i!==n)return i;o=Object.getPrototypeOf(o)}return i=>new i})}function vs(e){return fl(e)?()=>{let t=vs(Y(e));return t&&t()}:At(e)}function Cm(e,t,n,r,o){let i=e,s=t;for(;i!==null&&s!==null&&s[E]&2048&&!(s[E]&512);){let a=gd(i,s,n,r|T.Self,$e);if(a!==$e)return a;let u=i.parent;if(!u){let c=s[jl];if(c){let l=c.get(n,$e,r);if(l!==$e)return l}u=md(s),s=s[Dn]}i=u}return o}function md(e){let t=e[w],n=t.type;return n===2?t.declTNode:n===1?e[ce]:null}function bm(e){return Dm(te(),e)}function Oc(e,t=null,n=null,r){let o=yd(e,t,n,r);return o.resolveInjectorInitializers(),o}function yd(e,t=null,n=null,r,o=new Set){let i=[n||se,xg(e)];return r=r||(typeof e=="object"?void 0:re(e)),new Vn(i,t||Ao(),r||null,o)}var Tt=class Tt{static create(t,n){if(Array.isArray(t))return Oc({name:""},n,t,"");{let r=t.name??"";return Oc({name:r},t.parent,t.providers,r)}}};Tt.THROW_IF_NOT_FOUND=Pn,Tt.NULL=new ro,Tt.\u0275prov=j({token:Tt,providedIn:"any",factory:()=>X(Il)}),Tt.__NG_ELEMENT_ID__=-1;var Xe=Tt;var _m=new A("");_m.__NG_ELEMENT_ID__=e=>{let t=te();if(t===null)throw new N(204,!1);if(t.type&2)return t.value;if(e&T.Optional)return null;throw new N(204,!1)};var Mm="ngOriginalError";function qi(e){return e[Mm]}var vt=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&&qi(t);for(;n&&qi(n);)n=qi(n);return n||null}},vd=new A("",{providedIn:"root",factory:()=>b(vt).handleError.bind(void 0)}),$o=(()=>{let t=class t{};t.__NG_ELEMENT_ID__=xm,t.__NG_ENV_ID__=r=>r;let e=t;return e})(),Ds=class extends $o{constructor(t){super(),this._lView=t}onDestroy(t){return Wl(this._lView,t),()=>Yg(this._lView,t)}};function xm(){return new Ds(D())}function Fc(e,t){return cl(e,t)}function Sm(e){return cl(ul,e)}var pN=(Fc.required=Sm,Fc);function Tm(){return En(te(),D())}function En(e,t){return new wt(ye(e,t))}var wt=(()=>{let t=class t{constructor(r){this.nativeElement=r}};t.__NG_ELEMENT_ID__=Tm;let e=t;return e})();function Nm(e){return e instanceof wt?e.nativeElement:e}var Qn=(()=>{let t=class t{constructor(){this.taskId=0,this.pendingTasks=new Set,this.hasPendingTasks=new _n(!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=j({token:t,providedIn:"root",factory:()=>new t});let e=t;return e})();var Es=class extends ge{constructor(t=!1){super(),this.destroyRef=void 0,this.pendingTasks=void 0,this.__isAsync=t,Ll()&&(this.destroyRef=b($o,{optional:!0})??void 0,this.pendingTasks=b(Qn,{optional:!0})??void 0)}emit(t){let n=S(null);try{super.next(t)}finally{S(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 $&&t.add(a),a}wrapInTimeout(t){return n=>{let r=this.pendingTasks?.add();setTimeout(()=>{t(n),r!==void 0&&this.pendingTasks?.remove(r)})}}},xe=Es;function Am(){return this._results[Symbol.iterator]()}var Is=class e{get changes(){return this._changes??=new xe}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]=Am)}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=sg(t);(this._changesDetected=!ig(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 Dd(e){return(e.flags&128)===128}var Ed=new Map,Om=0;function Fm(){return Om++}function Rm(e){Ed.set(e[Oo],e)}function km(e){Ed.delete(e[Oo])}var Rc="__ngContext__";function Dt(e,t){ht(t)?(e[Rc]=t[Oo],Rm(t)):e[Rc]=t}function Id(e){return Cd(e[Bn])}function wd(e){return Cd(e[Se])}function Cd(e){for(;e!==null&&!nt(e);)e=e[Se];return e}var ws;function hN(e){ws=e}function bd(){if(ws!==void 0)return ws;if(typeof document<"u")return document;throw new N(210,!1)}var gN=new A("",{providedIn:"root",factory:()=>Pm}),Pm="ng",Lm=new A(""),Sa=new A("",{providedIn:"platform",factory:()=>"unknown"});var mN=new A(""),yN=new A("",{providedIn:"root",factory:()=>bd().body?.querySelector("[ngCspNonce]")?.getAttribute("ngCspNonce")||null});var jm="h",Vm="b";var Bm=()=>null;function Ta(e,t,n=!1){return Bm(e,t,n)}var _d=!1,$m=new A("",{providedIn:"root",factory:()=>_d});var $r;function Hm(){if($r===void 0&&($r=null,Ve.trustedTypes))try{$r=Ve.trustedTypes.createPolicy("angular",{createHTML:e=>e,createScript:e=>e,createScriptURL:e=>e})}catch{}return $r}function Ho(e){return Hm()?.createHTML(e)||e}var Hr;function Um(){if(Hr===void 0&&(Hr=null,Ve.trustedTypes))try{Hr=Ve.trustedTypes.createPolicy("angular#unsafe-bypass",{createHTML:e=>e,createScript:e=>e,createScriptURL:e=>e})}catch{}return Hr}function kc(e){return Um()?.createHTML(e)||e}var et=class{constructor(t){this.changingThisBreaksApplicationSecurity=t}toString(){return`SafeValue must use [property]=binding: ${this.changingThisBreaksApplicationSecurity} (see ${sl})`}},Cs=class extends et{getTypeName(){return"HTML"}},bs=class extends et{getTypeName(){return"Style"}},_s=class extends et{getTypeName(){return"Script"}},Ms=class extends et{getTypeName(){return"URL"}},xs=class extends et{getTypeName(){return"ResourceURL"}};function Kn(e){return e instanceof et?e.changingThisBreaksApplicationSecurity:e}function Md(e,t){let n=Gm(e);if(n!=null&&n!==t){if(n==="ResourceURL"&&t==="URL")return!0;throw new Error(`Required a safe ${t}, got a ${n} (see ${sl})`)}return n===t}function Gm(e){return e instanceof et&&e.getTypeName()||null}function vN(e){return new Cs(e)}function DN(e){return new bs(e)}function EN(e){return new _s(e)}function IN(e){return new Ms(e)}function wN(e){return new xs(e)}function zm(e){let t=new Ts(e);return Wm()?new Ss(t):t}var Ss=class{constructor(t){this.inertDocumentHelper=t}getInertBodyElement(t){t="<body><remove></remove>"+t;try{let n=new window.DOMParser().parseFromString(Ho(t),"text/html").body;return n===null?this.inertDocumentHelper.getInertBodyElement(t):(n.removeChild(n.firstChild),n)}catch{return null}}},Ts=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=Ho(t),n}};function Wm(){try{return!!new window.DOMParser().parseFromString(Ho(""),"text/html")}catch{return!1}}var qm=/^(?!javascript:)(?:[a-z0-9+.-]+:|[^&:\/?#]*(?:[\/?#]|$))/i;function xd(e){return e=String(e),e.match(qm)?e:"unsafe:"+e}function rt(e){let t={};for(let n of e.split(","))t[n]=!0;return t}function Jn(...e){let t={};for(let n of e)for(let r in n)n.hasOwnProperty(r)&&(t[r]=!0);return t}var Sd=rt("area,br,col,hr,img,wbr"),Td=rt("colgroup,dd,dt,li,p,tbody,td,tfoot,th,thead,tr"),Nd=rt("rp,rt"),Zm=Jn(Nd,Td),Ym=Jn(Td,rt("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")),Qm=Jn(Nd,rt("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")),Pc=Jn(Sd,Ym,Qm,Zm),Ad=rt("background,cite,href,itemtype,longdesc,poster,src,xlink:href"),Km=rt("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"),Jm=rt("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"),Xm=Jn(Ad,Km,Jm),ey=rt("script,style,template"),Ns=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=ry(n);continue}for(;n;){n.nodeType===Node.ELEMENT_NODE&&this.endElement(n);let i=ny(n);if(i){n=i;break}n=o.pop()}}return this.buf.join("")}startElement(t){let n=Lc(t).toLowerCase();if(!Pc.hasOwnProperty(n))return this.sanitizedSomething=!0,!ey.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(!Xm.hasOwnProperty(a)){this.sanitizedSomething=!0;continue}let u=i.value;Ad[a]&&(u=xd(u)),this.buf.push(" ",s,'="',jc(u),'"')}return this.buf.push(">"),!0}endElement(t){let n=Lc(t).toLowerCase();Pc.hasOwnProperty(n)&&!Sd.hasOwnProperty(n)&&(this.buf.push("</"),this.buf.push(n),this.buf.push(">"))}chars(t){this.buf.push(jc(t))}};function ty(e,t){return(e.compareDocumentPosition(t)&Node.DOCUMENT_POSITION_CONTAINED_BY)!==Node.DOCUMENT_POSITION_CONTAINED_BY}function ny(e){let t=e.nextSibling;if(t&&e!==t.previousSibling)throw Od(t);return t}function ry(e){let t=e.firstChild;if(t&&ty(e,t))throw Od(t);return t}function Lc(e){let t=e.nodeName;return typeof t=="string"?t:"FORM"}function Od(e){return new Error(`Failed to sanitize html because the element is clobbered: ${e.outerHTML}`)}var oy=/[\uD800-\uDBFF][\uDC00-\uDFFF]/g,iy=/([^\#-~ |!])/g;function jc(e){return e.replace(/&/g,"&amp;").replace(oy,function(t){let n=t.charCodeAt(0),r=t.charCodeAt(1);return"&#"+((n-55296)*1024+(r-56320)+65536)+";"}).replace(iy,function(t){return"&#"+t.charCodeAt(0)+";"}).replace(/</g,"&lt;").replace(/>/g,"&gt;")}var Ur;function sy(e,t){let n=null;try{Ur=Ur||zm(e);let r=t?String(t):"";n=Ur.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=Ur.getInertBodyElement(r)}while(r!==i);let a=new Ns().sanitizeChildren(Vc(n)||n);return Ho(a)}finally{if(n){let r=Vc(n)||n;for(;r.firstChild;)r.removeChild(r.firstChild)}}}function Vc(e){return"content"in e&&ay(e)?e.content:null}function ay(e){return e.nodeType===Node.ELEMENT_NODE&&e.nodeName==="TEMPLATE"}var Na=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}(Na||{});function CN(e){let t=Fd();return t?kc(t.sanitize(Na.HTML,e)||""):Md(e,"HTML")?kc(Kn(e)):sy(bd(),Wn(e))}function bN(e){let t=Fd();return t?t.sanitize(Na.URL,e)||"":Md(e,"URL")?Kn(e):xd(Wn(e))}function Fd(){let e=D();return e&&e[He].sanitizer}var uy=/^>|^->|<!--|-->|--!>|<!-$/g,cy=/(<|>)/g,ly="\u200B$1\u200B";function dy(e){return e.replace(uy,t=>t.replace(cy,ly))}function _N(e){return e.ownerDocument.defaultView}function MN(e){return e.ownerDocument}function Rd(e){return e instanceof Function?e():e}function kd(e){return(e??b(Xe)).get(Sa)==="browser"}var Hn=function(e){return e[e.Important=1]="Important",e[e.DashCase=2]="DashCase",e}(Hn||{}),fy;function Aa(e,t){return fy(e,t)}function on(e,t,n,r,o){if(r!=null){let i,s=!1;nt(r)?i=r:ht(r)&&(s=!0,r=r[Ge]);let a=Ue(r);e===0&&n!==null?o==null?Bd(t,n,a):fo(t,n,a,o||null,!0):e===1&&n!==null?fo(t,n,a,o||null,!0):e===2?xy(t,a,s):e===3&&t.destroyNode(a),i!=null&&Ty(t,e,i,n,o)}}function py(e,t){return e.createText(t)}function hy(e,t,n){e.setValue(t,n)}function gy(e,t){return e.createComment(dy(t))}function Pd(e,t,n){return e.createElement(t,n)}function my(e,t){Ld(e,t),t[Ge]=null,t[ce]=null}function yy(e,t,n,r,o,i){r[Ge]=o,r[ce]=t,zo(e,r,n,1,o,i)}function Ld(e,t){t[He].changeDetectionScheduler?.notify(8),zo(e,t,t[V],2,null,null)}function vy(e){let t=e[Bn];if(!t)return Zi(e[w],e);for(;t;){let n=null;if(ht(t))n=t[Bn];else{let r=t[J];r&&(n=r)}if(!n){for(;t&&!t[Se]&&t!==e;)ht(t)&&Zi(t[w],t),t=t[ee];t===null&&(t=e),ht(t)&&Zi(t[w],t),n=t&&t[Se]}t=n}}function Dy(e,t,n,r){let o=J+r,i=n.length;r>0&&(n[o-1][Se]=t),r<i-J?(t[Se]=n[o],El(n,J+r,t)):(n.push(t),t[Se]=null),t[ee]=n;let s=t[Ot];s!==null&&n!==s&&jd(s,t);let a=t[Ke];a!==null&&a.insertView(e),ps(t),t[E]|=128}function jd(e,t){let n=e[dn],r=t[ee];if(ht(r))e[E]|=so.HasTransplantedViews;else{let o=r[ee][ue];t[ue]!==o&&(e[E]|=so.HasTransplantedViews)}n===null?e[dn]=[t]:n.push(t)}function Oa(e,t){let n=e[dn],r=n.indexOf(t);n.splice(r,1)}function Un(e,t){if(e.length<=J)return;let n=J+t,r=e[n];if(r){let o=r[Ot];o!==null&&o!==e&&Oa(o,r),t>0&&(e[n-1][Se]=r[Se]);let i=to(e,J+t);my(r[w],r);let s=i[Ke];s!==null&&s.detachView(i[w]),r[ee]=null,r[Se]=null,r[E]&=-129}return r}function Uo(e,t){if(!(t[E]&256)){let n=t[V];n.destroyNode&&zo(e,t,n,3,null,null),vy(t)}}function Zi(e,t){if(t[E]&256)return;let n=S(null);try{t[E]&=-129,t[E]|=256,t[me]&&cr(t[me]),Iy(e,t),Ey(e,t),t[w].type===1&&t[V].destroy();let r=t[Ot];if(r!==null&&nt(t[ee])){r!==t[ee]&&Oa(r,t);let o=t[Ke];o!==null&&o.detachView(e)}km(t)}finally{S(n)}}function Ey(e,t){let n=e.cleanup,r=t[oo];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[oo]=null);let o=t[pt];if(o!==null){t[pt]=null;for(let i=0;i<o.length;i++){let s=o[i];s()}}}function Iy(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 Pt)){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];Be(4,a,u);try{u.call(a)}finally{Be(5,a,u)}}else{Be(4,o,i);try{i.call(o)}finally{Be(5,o,i)}}}}}function Vd(e,t,n){return wy(e,t.parent,n)}function wy(e,t,n){let r=t;for(;r!==null&&r.type&168;)t=r,r=t.parent;if(r===null)return n[Ge];{let{componentOffset:o}=r;if(o>-1){let{encapsulation:i}=e.data[r.directiveStart+o];if(i===Ln.None||i===Ln.Emulated)return null}return ye(r,n)}}function fo(e,t,n,r,o){e.insertBefore(t,n,r,o)}function Bd(e,t,n){e.appendChild(t,n)}function Bc(e,t,n,r,o){r!==null?fo(e,t,n,r,o):Bd(e,t,n)}function Cy(e,t,n,r){e.removeChild(t,n,r)}function Fa(e,t){return e.parentNode(t)}function by(e,t){return e.nextSibling(t)}function $d(e,t,n){return My(e,t,n)}function _y(e,t,n){return e.type&40?ye(e,n):null}var My=_y,$c;function Go(e,t,n,r){let o=Vd(e,r,t),i=t[V],s=r.parent||t[ce],a=$d(s,r,t);if(o!=null)if(Array.isArray(n))for(let u=0;u<n.length;u++)Bc(i,o,n[u],a,!1);else Bc(i,o,n,a,!1);$c!==void 0&&$c(i,r,t,n,o)}function Kr(e,t){if(t!==null){let n=t.type;if(n&3)return ye(t,e);if(n&4)return As(-1,e[t.index]);if(n&8){let r=t.child;if(r!==null)return Kr(e,r);{let o=e[t.index];return nt(o)?As(-1,o):Ue(o)}}else{if(n&32)return Aa(t,e)()||Ue(e[t.index]);{let r=Hd(e,t);if(r!==null){if(Array.isArray(r))return r[0];let o=Rt(e[ue]);return Kr(o,r)}else return Kr(e,t.next)}}}return null}function Hd(e,t){if(t!==null){let r=e[ue][ce],o=t.projection;return r.projection[o]}return null}function As(e,t){let n=J+e+1;if(n<t.length){let r=t[n],o=r[w].firstChild;if(o!==null)return Kr(r,o)}return t[Ft]}function xy(e,t,n){let r=Fa(e,t);r&&Cy(e,r,t,n)}function Ra(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&&Dt(Ue(a),r),n.flags|=2),(n.flags&32)!==32)if(u&8)Ra(e,t,n.child,r,o,i,!1),on(t,e,o,a,i);else if(u&32){let c=Aa(n,r),l;for(;l=c();)on(t,e,o,l,i);on(t,e,o,a,i)}else u&16?Ud(e,t,r,n,o,i):on(t,e,o,a,i);n=s?n.projectionNext:n.next}}function zo(e,t,n,r,o,i){Ra(n,r,e.firstChild,t,o,i,!1)}function Sy(e,t,n){let r=t[V],o=Vd(e,n,t),i=n.parent||t[ce],s=$d(i,n,t);Ud(r,0,t,n,o,s)}function Ud(e,t,n,r,o,i){let s=n[ue],u=s[ce].projection[r.projection];if(Array.isArray(u))for(let c=0;c<u.length;c++){let l=u[c];on(t,e,o,l,i)}else{let c=u,l=s[ee];Dd(r)&&(c.flags|=128),Ra(e,t,c,l,o,i,!0)}}function Ty(e,t,n,r,o){let i=n[Ft],s=Ue(n);i!==s&&on(t,e,r,i,o);for(let a=J;a<n.length;a++){let u=n[a];zo(u[w],u,e,t,r,i)}}function Ny(e,t,n,r,o){if(t)o?e.addClass(n,r):e.removeClass(n,r);else{let i=r.indexOf("-")===-1?void 0:Hn.DashCase;o==null?e.removeStyle(n,r,i):(typeof o=="string"&&o.endsWith("!important")&&(o=o.slice(0,-10),i|=Hn.Important),e.setStyle(n,r,o,i))}}function Ay(e,t,n){e.setAttribute(t,"style",n)}function Gd(e,t,n){n===""?e.removeAttribute(t,"class"):e.setAttribute(t,"class",n)}function zd(e,t,n){let{mergedAttrs:r,classes:o,styles:i}=n;r!==null&&as(e,t,r),o!==null&&Gd(e,t,o),i!==null&&Ay(e,t,i)}var Te={};function xN(e=1){Wd(B(),D(),It()+e,!1)}function Wd(e,t,n,r){if(!r)if((t[E]&3)===3){let i=e.preOrderCheckHooks;i!==null&&Zr(t,i,n)}else{let i=e.preOrderHooks;i!==null&&Yr(t,i,0,n)}kt(n)}function W(e,t=T.Default){let n=D();if(n===null)return X(e,t);let r=te();return hd(r,n,Y(e),t)}function SN(){let e="invalid";throw new Error(e)}function qd(e,t,n,r,o,i){let s=S(null);try{let a=null;o&gt.SignalBased&&(a=t[r][Ee]),a!==null&&a.transformFn!==void 0&&(i=a.transformFn(i)),o&gt.HasDecoratorInputTransform&&(i=e.inputTransforms[r].call(t,i)),e.setInput!==null?e.setInput(t,a,i,n,r):Vl(t,a,r,i)}finally{S(s)}}function Oy(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)kt(~o);else{let i=o,s=n[++r],a=n[++r];im(s,i);let u=t[i];a(2,u)}}}finally{kt(-1)}}function Wo(e,t,n,r,o,i,s,a,u,c,l){let d=t.blueprint.slice();return d[Ge]=o,d[E]=r|4|128|8|64,(c!==null||e&&e[E]&2048)&&(d[E]|=2048),Gl(d),d[ee]=d[Dn]=e,d[Q]=n,d[He]=s||e&&e[He],d[V]=a||e&&e[V],d[ln]=u||e&&e[ln]||null,d[ce]=i,d[Oo]=Fm(),d[cn]=l,d[jl]=c,d[ue]=t.type==2?e[ue]:d,d}function In(e,t,n,r,o){let i=e.data[t];if(i===null)i=Fy(e,t,n,r,o),om()&&(i.flags|=32);else if(i.type&64){i.type=n,i.value=r,i.attrs=o;let s=tm();i.injectorIndex=s===null?-1:s.injectorIndex}return $t(i,!0),i}function Fy(e,t,n,r,o){let i=Ql(),s=wa(),a=s?i:i&&i.parent,u=e.data[t]=Vy(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 Zd(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 Yd(e,t,n,r,o){let i=It(),s=r&2;try{kt(-1),s&&t.length>z&&Wd(e,t,z,!1),Be(s?2:0,o),n(r,o)}finally{kt(i),Be(s?3:1,o)}}function ka(e,t,n){if(Da(t)){let r=S(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{S(r)}}}function Pa(e,t,n){Zl()&&(zy(e,t,n,ye(n,t)),(n.flags&64)===64&&Jd(e,t,n))}function La(e,t,n=ye){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 Qd(e){let t=e.tView;return t===null||t.incompleteFirstPass?e.tView=ja(1,null,e.template,e.decls,e.vars,e.directiveDefs,e.pipeDefs,e.viewQuery,e.schemas,e.consts,e.id):t}function ja(e,t,n,r,o,i,s,a,u,c,l){let d=z+r,p=d+o,f=Ry(d,p),h=typeof c=="function"?c():c;return f[w]={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 Ry(e,t){let n=[];for(let r=0;r<t;r++)n.push(r<e?null:Te);return n}function ky(e,t,n,r){let i=r.get($m,_d)||n===Ln.ShadowDom,s=e.selectRootElement(t,i);return Py(s),s}function Py(e){Ly(e)}var Ly=()=>null;function jy(e,t,n,r){let o=tf(t);o.push(n),e.firstCreatePass&&nf(e).push(r,o.length-1)}function Vy(e,t,n,r,o,i){let s=t?t.injectorIndex:-1,a=0;return Yl()&&(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 Hc(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=gt.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?Uc(r,n,c,a,u):Uc(r,n,c,a)}return r}function Uc(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 By(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=Hc(0,d.inputs,l,u,f),c=Hc(1,d.outputs,l,c,h);let g=u!==null&&s!==null&&!ha(t)?nv(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 $y(e){return e==="class"?"className":e==="for"?"htmlFor":e==="formaction"?"formAction":e==="innerHtml"?"innerHTML":e==="readonly"?"readOnly":e==="tabindex"?"tabIndex":e}function qo(e,t,n,r,o,i,s,a){let u=ye(t,n),c=t.inputs,l;!a&&c!=null&&(l=c[r])?(Ba(e,n,l,r,o),Fo(t)&&Hy(n,t.index)):t.type&3?(r=$y(r),o=s!=null?s(o,t.value||"",r):o,i.setProperty(u,r,o)):t.type&12}function Hy(e,t){let n=Et(t,e);n[E]&16||(n[E]|=64)}function Va(e,t,n,r){if(Zl()){let o=r===null?null:{"":-1},i=qy(e,n),s,a;i===null?s=a=null:[s,a]=i,s!==null&&Kd(e,t,n,s,o,a),o&&Zy(n,r,o)}n.mergedAttrs=jn(n.mergedAttrs,n.attrs)}function Kd(e,t,n,r,o,i){for(let c=0;c<r.length;c++)ys(lo(n,t),e,r[c].type);Qy(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=Zd(e,t,r.length,null);for(let c=0;c<r.length;c++){let l=r[c];n.mergedAttrs=jn(n.mergedAttrs,l.hostAttrs),Ky(e,n,t,u,l),Yy(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++}By(e,n,i)}function Uy(e,t,n,r,o){let i=o.hostBindings;if(i){let s=e.hostBindingOpCodes;s===null&&(s=e.hostBindingOpCodes=[]);let a=~t.index;Gy(s)!=a&&s.push(a),s.push(n,r,i)}}function Gy(e){let t=e.length;for(;t>0;){let n=e[--t];if(typeof n=="number"&&n<0)return n}return 0}function zy(e,t,n,r){let o=n.directiveStart,i=n.directiveEnd;Fo(n)&&Jy(t,n,e.data[o+n.componentOffset]),e.firstCreatePass||lo(n,t),Dt(r,t);let s=n.initialInputs;for(let a=o;a<i;a++){let u=e.data[a],c=Lt(t,e,a,n);if(Dt(c,t),s!==null&&tv(t,a-o,c,u,n,s),Je(u)){let l=Et(n.index,t);l[Q]=Lt(t,e,a,n)}}}function Jd(e,t,n){let r=n.directiveStart,o=n.directiveEnd,i=n.index,s=sm();try{kt(i);for(let a=r;a<o;a++){let u=e.data[a],c=t[a];hs(a),(u.hostBindings!==null||u.hostVars!==0||u.hostAttrs!==null)&&Wy(u,c)}}finally{kt(-1),hs(s)}}function Wy(e,t){e.hostBindings!==null&&e.hostBindings(1,t)}function qy(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(Ml(t,s.selectors,!1))if(r||(r=[]),Je(s))if(s.findHostDirectiveDefs!==null){let a=[];o=o||new Map,s.findHostDirectiveDefs(s,a,o),r.unshift(...a,s);let u=a.length;Os(e,t,u)}else r.unshift(s),Os(e,t,0);else o=o||new Map,s.findHostDirectiveDefs?.(s,r,o),r.push(s)}return r===null?null:[r,o]}function Os(e,t,n){t.componentOffset=n,(e.components??=[]).push(t.index)}function Zy(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 N(-301,!1);r.push(t[o],i)}}}function Yy(e,t,n){if(n){if(t.exportAs)for(let r=0;r<t.exportAs.length;r++)n[t.exportAs[r]]=e;Je(t)&&(n[""]=e)}}function Qy(e,t,n){e.flags|=1,e.directiveStart=t,e.directiveEnd=t+n,e.providerIndexes=t}function Ky(e,t,n,r,o){e.data[r]=o;let i=o.factory||(o.factory=At(o.type,!0)),s=new Pt(i,Je(o),W);e.blueprint[r]=s,n[r]=s,Uy(e,t,r,Zd(e,n,o.hostVars,Te),o)}function Jy(e,t,n){let r=ye(t,e),o=Qd(n),i=e[He].rendererFactory,s=16;n.signals?s=4096:n.onPush&&(s=64);let a=Zo(e,Wo(e,o,null,s,r,t,null,i.createRenderer(r,n),null,null,null));e[t.index]=a}function Xy(e,t,n,r,o,i){let s=ye(e,t);ev(t[V],s,i,e.value,n,r,o)}function ev(e,t,n,r,o,i,s){if(i==null)e.removeAttribute(t,o,n);else{let a=s==null?Wn(i):s(i,r||"",o);e.setAttribute(t,o,a,n)}}function tv(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++];qd(r,n,u,c,l,d)}}function nv(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 Xd(e,t,n,r){return[e,!0,0,t,null,r,null,n,null,null]}function ef(e,t){let n=e.contentQueries;if(n!==null){let r=S(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];ba(i),a.contentQueries(2,t[s],s)}}}finally{S(r)}}}function Zo(e,t){return e[Bn]?e[Mc][Se]=t:e[Bn]=t,e[Mc]=t,t}function Fs(e,t,n){ba(0);let r=S(null);try{t(e,n)}finally{S(r)}}function tf(e){return e[oo]??=[]}function nf(e){return e.cleanup??=[]}function rv(e,t,n){return(e===null||Je(e))&&(n=zg(n[t.index])),n[V]}function rf(e,t){let n=e[ln],r=n?n.get(vt,null):null;r&&r.handleError(t)}function Ba(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];qd(l,c,r,a,u,o)}}function ov(e,t,n){let r=Ul(t,e);hy(e[V],r,n)}function iv(e,t){let n=Et(t,e),r=n[w];sv(r,n);let o=n[Ge];o!==null&&n[cn]===null&&(n[cn]=Ta(o,n[ln])),$a(r,n,n[Q])}function sv(e,t){for(let n=t.length;n<e.blueprint.length;n++)t.push(e.blueprint[n])}function $a(e,t,n){_a(t);try{let r=e.viewQuery;r!==null&&Fs(1,r,n);let o=e.template;o!==null&&Yd(e,t,o,1,n),e.firstCreatePass&&(e.firstCreatePass=!1),t[Ke]?.finishViewCreation(e),e.staticContentQueries&&ef(e,t),e.staticViewQueries&&Fs(2,e.viewQuery,n);let i=e.components;i!==null&&av(t,i)}catch(r){throw e.firstCreatePass&&(e.incompleteFirstPass=!0,e.firstCreatePass=!1),r}finally{t[E]&=-5,Ma()}}function av(e,t){for(let n=0;n<t.length;n++)iv(e,t[n])}function Xn(e,t,n,r){let o=S(null);try{let i=t.tView,a=e[E]&4096?4096:16,u=Wo(e,i,n,a,null,t,null,null,r?.injector??null,r?.embeddedViewInjector??null,r?.dehydratedView??null),c=e[t.index];u[Ot]=c;let l=e[Ke];return l!==null&&(u[Ke]=l.createEmbeddedView(i)),$a(i,u,n),u}finally{S(o)}}function of(e,t){let n=J+t;if(n<e.length)return e[n]}function fn(e,t){return!t||t.firstChild===null||Dd(e)}function er(e,t,n,r=!0){let o=t[w];if(Dy(o,t,e,n),r){let s=As(n,e),a=t[V],u=Fa(a,e[Ft]);u!==null&&yy(o,e[ce],a,t,u,s)}let i=t[cn];i!==null&&i.firstChild!==null&&(i.firstChild=null)}function sf(e,t){let n=Un(e,t);return n!==void 0&&Uo(n[w],n),n}function po(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(Ue(i)),nt(i)&&uv(i,r);let s=n.type;if(s&8)po(e,t,n.child,r);else if(s&32){let a=Aa(n,t),u;for(;u=a();)r.push(u)}else if(s&16){let a=Hd(t,n);if(Array.isArray(a))r.push(...a);else{let u=Rt(t[ue]);po(u[w],u,a,r,!0)}}n=o?n.projectionNext:n.next}return r}function uv(e,t){for(let n=J;n<e.length;n++){let r=e[n],o=r[w].firstChild;o!==null&&po(r[w],r,o,t)}e[Ft]!==e[Ge]&&t.push(e[Ft])}var af=[];function cv(e){return e[me]??lv(e)}function lv(e){let t=af.pop()??Object.create(fv);return t.lView=e,t}function dv(e){e.lView[me]!==e&&(e.lView=null,af.push(e))}var fv=Fe(Oe({},qt),{consumerIsAlwaysLive:!0,consumerMarkedDirty:e=>{Lo(e.lView)},consumerOnSignalRead(){this.lView[me]=this}});function pv(e){let t=e[me]??Object.create(hv);return t.lView=e,t}var hv=Fe(Oe({},qt),{consumerIsAlwaysLive:!0,consumerMarkedDirty:e=>{let t=Rt(e.lView);for(;t&&!uf(t[w]);)t=Rt(t);t&&zl(t)},consumerOnSignalRead(){this.lView[me]=this}});function uf(e){return e.type!==2}var gv=100;function cf(e,t=!0,n=0){let r=e[He],o=r.rendererFactory,i=!1;i||o.begin?.();try{mv(e,n)}catch(s){throw t&&rf(e,s),s}finally{i||(o.end?.(),r.inlineEffectRunner?.flush())}}function mv(e,t){let n=Kl();try{Sc(!0),Rs(e,t);let r=0;for(;$n(e);){if(r===gv)throw new N(103,!1);r++,Rs(e,1)}}finally{Sc(n)}}function yv(e,t,n,r){let o=t[E];if((o&256)===256)return;let i=!1,s=!1;!i&&t[He].inlineEffectRunner?.flush(),_a(t);let a=!0,u=null,c=null;i||(uf(e)?(c=cv(t),u=bn(c)):Eu()===null?(a=!1,c=pv(t),u=bn(c)):t[me]&&(cr(t[me]),t[me]=null));try{Gl(t),rm(e.bindingStartIndex),n!==null&&Yd(e,t,n,2,r);let l=(o&3)===3;if(!i)if(l){let f=e.preOrderCheckHooks;f!==null&&Zr(t,f,null)}else{let f=e.preOrderHooks;f!==null&&Yr(t,f,0,null),Gi(t,0)}if(s||vv(t),lf(t,0),e.contentQueries!==null&&ef(e,t),!i)if(l){let f=e.contentCheckHooks;f!==null&&Zr(t,f)}else{let f=e.contentHooks;f!==null&&Yr(t,f,1),Gi(t,1)}Oy(e,t);let d=e.components;d!==null&&ff(t,d,0);let p=e.viewQuery;if(p!==null&&Fs(2,p,r),!i)if(l){let f=e.viewCheckHooks;f!==null&&Zr(t,f)}else{let f=e.viewHooks;f!==null&&Yr(t,f,2),Gi(t,2)}if(e.firstUpdatePass===!0&&(e.firstUpdatePass=!1),t[qr]){for(let f of t[qr])f();t[qr]=null}i||(t[E]&=-73)}catch(l){throw i||Lo(t),l}finally{c!==null&&(ar(c,u),a&&dv(c)),Ma()}}function lf(e,t){for(let n=Id(e);n!==null;n=wd(n))for(let r=J;r<n.length;r++){let o=n[r];df(o,t)}}function vv(e){for(let t=Id(e);t!==null;t=wd(t)){if(!(t[E]&so.HasTransplantedViews))continue;let n=t[dn];for(let r=0;r<n.length;r++){let o=n[r];zl(o)}}}function Dv(e,t,n){let r=Et(t,e);df(r,n)}function df(e,t){Ia(e)&&Rs(e,t)}function Rs(e,t){let r=e[w],o=e[E],i=e[me],s=!!(t===0&&o&16);if(s||=!!(o&64&&t===0),s||=!!(o&1024),s||=!!(i?.dirty&&ur(i)),s||=!1,i&&(i.dirty=!1),e[E]&=-9217,s)yv(r,e,r.template,e[Q]);else if(o&8192){lf(e,1);let a=r.components;a!==null&&ff(e,a,1)}}function ff(e,t,n){for(let r=0;r<t.length;r++)Dv(e,t[r],n)}function Ha(e,t){let n=Kl()?64:1088;for(e[He].changeDetectionScheduler?.notify(t);e;){e[E]|=n;let r=Rt(e);if(ds(e)&&!r)return e;e=r}return null}var jt=class{get rootNodes(){let t=this._lView,n=t[w];return po(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[Q]}set context(t){this._lView[Q]=t}get destroyed(){return(this._lView[E]&256)===256}destroy(){if(this._appRef)this._appRef.detachView(this);else if(this._attachedToViewContainer){let t=this._lView[ee];if(nt(t)){let n=t[io],r=n?n.indexOf(this):-1;r>-1&&(Un(t,r),to(n,r))}this._attachedToViewContainer=!1}Uo(this._lView[w],this._lView)}onDestroy(t){Wl(this._lView,t)}markForCheck(){Ha(this._cdRefInjectingView||this._lView,4)}detach(){this._lView[E]&=-129}reattach(){ps(this._lView),this._lView[E]|=128}detectChanges(){this._lView[E]|=1024,cf(this._lView,this.notifyErrorHandler)}checkNoChanges(){}attachToViewContainerRef(){if(this._appRef)throw new N(902,!1);this._attachedToViewContainer=!0}detachFromAppRef(){this._appRef=null;let t=ds(this._lView),n=this._lView[Ot];n!==null&&!t&&Oa(n,this._lView),Ld(this._lView[w],this._lView)}attachToAppRef(t){if(this._attachedToViewContainer)throw new N(902,!1);this._appRef=t;let n=ds(this._lView),r=this._lView[Ot];r!==null&&!n&&jd(r,this._lView),ps(this._lView)}},pn=(()=>{let t=class t{};t.__NG_ELEMENT_ID__=wv;let e=t;return e})(),Ev=pn,Iv=class extends Ev{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=Xn(this._declarationLView,this._declarationTContainer,t,{embeddedViewInjector:n,dehydratedView:r});return new jt(o)}};function wv(){return Yo(te(),D())}function Yo(e,t){return e.type&4?new Iv(t,e,En(e,t)):null}var NN=new RegExp(`^(\\d+)*(${Vm}|${jm})*(.*)`);var Cv=()=>null;function hn(e,t){return Cv(e,t)}var gn=class{},pf=new A("",{providedIn:"root",factory:()=>!1});var hf=new A(""),ks=class{},ho=class{};function bv(e){let t=Error(`No component factory found for ${re(e)}.`);return t[_v]=e,t}var _v="ngComponent";var Ps=class{resolveComponentFactory(t){throw bv(t)}},Ja=class Ja{};Ja.NULL=new Ps;var mn=Ja,go=class{},Qo=(()=>{let t=class t{constructor(){this.destroyNode=null}};t.__NG_ELEMENT_ID__=()=>Mv();let e=t;return e})();function Mv(){let e=D(),t=te(),n=Et(t.index,e);return(ht(n)?n:e)[V]}var xv=(()=>{let t=class t{};t.\u0275prov=j({token:t,providedIn:"root",factory:()=>null});let e=t;return e})();var Gc=new Set;function ot(e){Gc.has(e)||(Gc.add(e),performance?.mark?.("mark_feature_usage",{detail:{feature:e}}))}function gf(e){let t=!0;return setTimeout(()=>{t&&(t=!1,e())}),typeof Ve.requestAnimationFrame=="function"&&Ve.requestAnimationFrame(()=>{t&&(t=!1,e())}),()=>{t=!1}}function zc(e){let t=!0;return queueMicrotask(()=>{t&&e()}),()=>{t=!1}}function Wc(...e){}var ae=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 xe(!1),this.onMicrotaskEmpty=new xe(!1),this.onStable=new xe(!1),this.onError=new xe(!1),typeof Zone>"u")throw new N(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,Nv(o)}static isInAngularZone(){return typeof Zone<"u"&&Zone.current.get("isAngularZone")===!0}static assertInAngularZone(){if(!e.isInAngularZone())throw new N(909,!1)}static assertNotInAngularZone(){if(e.isInAngularZone())throw new N(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,Sv,Wc,Wc);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)}},Sv={};function Ua(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 Tv(e){e.isCheckStableRunning||e.callbackScheduled||(e.callbackScheduled=!0,Zone.root.run(()=>{gf(()=>{e.callbackScheduled=!1,Ls(e),e.isCheckStableRunning=!0,Ua(e),e.isCheckStableRunning=!1})}),Ls(e))}function Nv(e){let t=()=>{Tv(e)};e._inner=e._inner.fork({name:"angular",properties:{isAngularZone:!0},onInvokeTask:(n,r,o,i,s,a)=>{if(Av(a))return n.invokeTask(o,i,s,a);try{return qc(e),n.invokeTask(o,i,s,a)}finally{(e.shouldCoalesceEventChangeDetection&&i.type==="eventTask"||e.shouldCoalesceRunChangeDetection)&&t(),Zc(e)}},onInvoke:(n,r,o,i,s,a,u)=>{try{return qc(e),n.invoke(o,i,s,a,u)}finally{e.shouldCoalesceRunChangeDetection&&!e.callbackScheduled&&!Ov(a)&&t(),Zc(e)}},onHasTask:(n,r,o,i)=>{n.hasTask(o,i),r===o&&(i.change=="microTask"?(e._hasPendingMicrotasks=i.microTask,Ls(e),Ua(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 Ls(e){e._hasPendingMicrotasks||(e.shouldCoalesceEventChangeDetection||e.shouldCoalesceRunChangeDetection)&&e.callbackScheduled===!0?e.hasPendingMicrotasks=!0:e.hasPendingMicrotasks=!1}function qc(e){e._nesting++,e.isStable&&(e.isStable=!1,e.onUnstable.emit(null))}function Zc(e){e._nesting--,Ua(e)}var js=class{constructor(){this.hasPendingMicrotasks=!1,this.hasPendingMacrotasks=!1,this.isStable=!0,this.onUnstable=new xe,this.onMicrotaskEmpty=new xe,this.onStable=new xe,this.onError=new xe}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 Av(e){return mf(e,"__ignore_ng_zone__")}function Ov(e){return mf(e,"__scheduler_tick__")}function mf(e,t){return!Array.isArray(e)||e.length!==1?!1:e[0]?.data?.[t]===!0}var ne=function(e){return e[e.EarlyRead=0]="EarlyRead",e[e.Write=1]="Write",e[e.MixedReadWrite=2]="MixedReadWrite",e[e.Read=3]="Read",e}(ne||{}),yf={destroy(){}};function Fv(e,t){!t&&ya(Fv);let n=t?.injector??b(Xe);return kd(n)?(ot("NgAfterRender"),vf(e,n,!1,t?.phase??ne.MixedReadWrite)):yf}function Rv(e,t){!t&&ya(Rv);let n=t?.injector??b(Xe);return kd(n)?(ot("NgAfterNextRender"),vf(e,n,!0,t?.phase??ne.MixedReadWrite)):yf}function kv(e,t){if(e instanceof Function)switch(t){case ne.EarlyRead:return{earlyRead:e};case ne.Write:return{write:e};case ne.MixedReadWrite:return{mixedReadWrite:e};case ne.Read:return{read:e}}return e}function vf(e,t,n,r){let o=kv(e,r),i=t.get(Ga),s=i.handler??=new Bs,a=[],u=[],c=()=>{for(let f of u)s.unregister(f);l()},l=t.get($o).onDestroy(c),d=0,p=(f,h)=>{if(!h)return;let g=n?(...C)=>(d--,d<1&&c(),h(...C)):h,_=jg(t,()=>new Vs(f,a,g));s.register(_),u.push(_),d++};return p(ne.EarlyRead,o.earlyRead),p(ne.Write,o.write),p(ne.MixedReadWrite,o.mixedReadWrite),p(ne.Read,o.read),{destroy:c}}var Vs=class{constructor(t,n,r){this.phase=t,this.pipelinedArgs=n,this.callbackFn=r,this.zone=b(ae),this.errorHandler=b(vt,{optional:!0}),b(gn,{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)}}},Bs=class{constructor(){this.executingCallbacks=!1,this.buckets={[ne.EarlyRead]:new Set,[ne.Write]:new Set,[ne.MixedReadWrite]:new Set,[ne.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()}},Ga=(()=>{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=j({token:t,providedIn:"root",factory:()=>new t});let e=t;return e})();function mo(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=rs(o,a);else if(i==2){let u=a,c=t[++s];r=rs(r,u+": "+c+";")}}n?e.styles=r:e.stylesWithoutHost=r,n?e.classes=o:e.classesWithoutHost=o}var yo=class extends mn{constructor(t){super(),this.ngModule=t}resolveComponentFactory(t){let n=Qe(t);return new Vt(n,this.ngModule)}};function Yc(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]:gt.None;t?n.push({propName:s,templateName:r,isSignal:(a&gt.SignalBased)!==0}):n.push({propName:s,templateName:r})}return n}function Pv(e){let t=e.toLowerCase();return t==="svg"?Ug:t==="math"?Gg:null}var Vt=class extends ho{get inputs(){let t=this.componentDef,n=t.inputTransforms,r=Yc(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 Yc(this.componentDef.outputs,!1)}constructor(t,n){super(),this.componentDef=t,this.ngModule=n,this.componentType=t.type,this.selector=Ig(t.selectors),this.ngContentSelectors=t.ngContentSelectors?t.ngContentSelectors:[],this.isBoundToModule=!!n}create(t,n,r,o){let i=S(null);try{o=o||this.ngModule;let s=o instanceof mt?o:o?.injector;s&&this.componentDef.getStandaloneInjector!==null&&(s=this.componentDef.getStandaloneInjector(s)||s);let a=s?new gs(t,s):t,u=a.get(go,null);if(u===null)throw new N(407,!1);let c=a.get(xv,null),l=a.get(Ga,null),d=a.get(gn,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?ky(f,r,this.componentDef.encapsulation,a):Pd(f,h,Pv(h)),_=512;this.componentDef.signals?_|=4096:this.componentDef.onPush||(_|=16);let C=null;g!==null&&(C=Ta(g,a,!0));let L=ja(0,null,null,1,0,null,null,null,null,null,null),q=Wo(null,L,null,_,null,null,p,f,a,null,C);_a(q);let le,ze;try{let De=this.componentDef,zt,pi=null;De.findHostDirectiveDefs?(zt=[],pi=new Map,De.findHostDirectiveDefs(De,zt,pi),zt.push(De)):zt=[De];let fp=Lv(q,g),pp=jv(fp,g,De,zt,q,p,f);ze=Ea(L,z),g&&$v(f,De,g,r),n!==void 0&&Hv(ze,this.ngContentSelectors,n),le=Bv(pp,De,zt,pi,q,[Uv]),$a(L,q,null)}finally{Ma()}return new $s(this.componentType,le,En(ze,q),q,ze)}finally{S(i)}}},$s=class extends ks{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 jt(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;Ba(i[w],i,o,t,n),this.previousInputValues.set(t,n);let s=Et(this._tNode.index,i);Ha(s,1)}}get injector(){return new Nt(this._tNode,this._rootLView)}destroy(){this.hostView.destroy()}onDestroy(t){this.hostView.onDestroy(t)}};function Lv(e,t){let n=e[w],r=z;return e[r]=t,In(n,r,2,"#host",null)}function jv(e,t,n,r,o,i,s){let a=o[w];Vv(r,e,t,s);let u=null;t!==null&&(u=Ta(t,o[ln]));let c=i.rendererFactory.createRenderer(t,n),l=16;n.signals?l=4096:n.onPush&&(l=64);let d=Wo(o,Qd(n),null,l,o[e.index],e,i,c,null,null,u);return a.firstCreatePass&&Os(a,e,r.length-1),Zo(o,d),o[e.index]=d}function Vv(e,t,n,r){for(let o of e)t.mergedAttrs=jn(t.mergedAttrs,o.hostAttrs);t.mergedAttrs!==null&&(mo(t,t.mergedAttrs,!0),n!==null&&zd(r,n,t))}function Bv(e,t,n,r,o,i){let s=te(),a=o[w],u=ye(s,o);Kd(a,o,s,n,null,r);for(let l=0;l<n.length;l++){let d=s.directiveStart+l,p=Lt(o,a,d,s);Dt(p,o)}Jd(a,o,s),u&&Dt(u,o);let c=Lt(o,a,s.directiveStart+s.componentOffset,s);if(e[Q]=o[Q]=c,i!==null)for(let l of i)l(c,t);return ka(a,s,o),c}function $v(e,t,n,r){if(r)as(e,n,["ng-version","18.1.2"]);else{let{attrs:o,classes:i}=wg(t.selectors[0]);o&&as(e,n,o),i&&i.length>0&&Gd(e,n,i.join(" "))}}function Hv(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 Uv(){let e=te();Bo(D()[w],e)}var Gt=(()=>{let t=class t{};t.__NG_ELEMENT_ID__=Gv;let e=t;return e})();function Gv(){let e=te();return Ef(e,D())}var zv=Gt,Df=class extends zv{constructor(t,n,r){super(),this._lContainer=t,this._hostTNode=n,this._hostLView=r}get element(){return En(this._hostTNode,this._hostLView)}get injector(){return new Nt(this._hostTNode,this._hostLView)}get parentInjector(){let t=xa(this._hostTNode,this._hostLView);if(ud(t)){let n=uo(t,this._hostLView),r=ao(t),o=n[w].data[r+8];return new Nt(o,n)}else return new Nt(null,this._hostLView)}clear(){for(;this.length>0;)this.remove(this.length-1)}get(t){let n=Qc(this._lContainer);return n!==null&&n[t]||null}get length(){return this._lContainer.length-J}createEmbeddedView(t,n,r){let o,i;typeof r=="number"?o=r:r!=null&&(o=r.index,i=r.injector);let s=hn(this._lContainer,t.ssrId),a=t.createEmbeddedViewImpl(n||{},i,s);return this.insertImpl(a,o,fn(this._hostTNode,s)),a}createComponent(t,n,r,o,i){let s=t&&!Vg(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 Vt(Qe(t)),c=r||this.parentInjector;if(!i&&u.ngModule==null){let g=(s?c:this.parentInjector).get(mt,null);g&&(i=g)}let l=Qe(u.componentType??{}),d=hn(this._lContainer,l?.id??null),p=d?.firstChild??null,f=u.create(c,o,p,i);return this.insertImpl(f.hostView,a,fn(this._hostTNode,d)),f}insert(t,n){return this.insertImpl(t,n,!0)}insertImpl(t,n,r){let o=t._lView;if(qg(o)){let a=this.indexOf(t);if(a!==-1)this.detach(a);else{let u=o[ee],c=new Df(u,u[ce],u[ee]);c.detach(c.indexOf(t))}}let i=this._adjustIndex(n),s=this._lContainer;return er(s,o,i,r),t.attachToViewContainerRef(),El(Yi(s),i,t),t}move(t,n){return this.insert(t,n)}indexOf(t){let n=Qc(this._lContainer);return n!==null?n.indexOf(t):-1}remove(t){let n=this._adjustIndex(t,-1),r=Un(this._lContainer,n);r&&(to(Yi(this._lContainer),n),Uo(r[w],r))}detach(t){let n=this._adjustIndex(t,-1),r=Un(this._lContainer,n);return r&&to(Yi(this._lContainer),n)!=null?new jt(r):null}_adjustIndex(t,n=0){return t??this.length+n}};function Qc(e){return e[io]}function Yi(e){return e[io]||(e[io]=[])}function Ef(e,t){let n,r=t[e.index];return nt(r)?n=r:(n=Xd(r,t,null,e),t[e.index]=n,Zo(t,n)),qv(n,t,e,r),new Df(n,e,t)}function Wv(e,t){let n=e[V],r=n.createComment(""),o=ye(t,e),i=Fa(n,o);return fo(n,i,r,by(n,o),!1),r}var qv=Qv,Zv=()=>!1;function Yv(e,t,n){return Zv(e,t,n)}function Qv(e,t,n,r){if(e[Ft])return;let o;n.type&8?o=Ue(r):o=Wv(t,n),e[Ft]=o}var Hs=class e{constructor(t){this.queryList=t,this.matches=null}clone(){return new e(this.queryList)}setDirty(){this.queryList.setDirty()}},Us=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++)za(t,n).matches!==null&&this.queries[n].setDirty()}},vo=class{constructor(t,n,r=null){this.flags=n,this.read=r,typeof t=="string"?this.predicate=oD(t):this.predicate=t}},Gs=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)}},zs=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,Kv(n,i)),this.matchTNodeWithReadOption(t,n,Qr(n,t,i,!1,!1))}else r===pn?n.type&4&&this.matchTNodeWithReadOption(t,n,-1):this.matchTNodeWithReadOption(t,n,Qr(n,t,r,!1,!1))}matchTNodeWithReadOption(t,n,r){if(r!==null){let o=this.metadata.read;if(o!==null)if(o===wt||o===Gt||o===pn&&n.type&4)this.addMatch(n.index,-2);else{let i=Qr(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 Kv(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 Jv(e,t){return e.type&11?En(e,t):e.type&4?Yo(e,t):null}function Xv(e,t,n,r){return n===-1?Jv(t,e):n===-2?eD(e,t,r):Lt(e,e[w],n,t)}function eD(e,t,n){if(n===wt)return En(t,e);if(n===pn)return Yo(t,e);if(n===Gt)return Ef(t,e)}function If(e,t,n,r){let o=t[Ke].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(Xv(t,l,s[u+1],n.metadata.read))}}o.matches=a}return o.matches}function Ws(e,t,n,r){let o=e.queries.getByIndex(n),i=o.matches;if(i!==null){let s=If(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=J;d<l.length;d++){let p=l[d];p[Ot]===p[ee]&&Ws(p[w],p,c,r)}if(l[dn]!==null){let d=l[dn];for(let p=0;p<d.length;p++){let f=d[p];Ws(f[w],f,c,r)}}}}}return r}function tD(e,t){return e[Ke].queries[t].queryList}function wf(e,t,n){let r=new Is((n&4)===4);return jy(e,t,r,r.destroy),(t[Ke]??=new Us).queries.push(new Hs(r))-1}function nD(e,t,n){let r=B();return r.firstCreatePass&&(Cf(r,new vo(e,t,n),-1),(t&2)===2&&(r.staticViewQueries=!0)),wf(r,D(),t)}function rD(e,t,n,r){let o=B();if(o.firstCreatePass){let i=te();Cf(o,new vo(t,n,r),i.index),iD(o,e),(n&2)===2&&(o.staticContentQueries=!0)}return wf(o,D(),n)}function oD(e){return e.split(",").map(t=>t.trim())}function Cf(e,t,n){e.queries===null&&(e.queries=new Gs),e.queries.track(new zs(t,n))}function iD(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 za(e,t){return e.queries.getByIndex(t)}function sD(e,t){let n=e[w],r=za(n,t);return r.crossesNgTemplate?Ws(n,e,t,[]):If(n,e,r,t)}function ON(e){return typeof e=="function"&&e[Ee]!==void 0}function FN(e,t){ot("NgSignals");let n=Ou(e),r=n[Ee];return t?.equal&&(r.equal=t.equal),n.set=o=>fr(r,o),n.update=o=>Fu(r,o),n.asReadonly=aD.bind(n),n}function aD(){let e=this[Ee];if(e.readonlyFn===void 0){let t=()=>this();t[Ee]=e,e.readonlyFn=t}return e.readonlyFn}function uD(e){return Object.getPrototypeOf(e.prototype).constructor}function cD(e){let t=uD(e.type),n=!0,r=[e];for(;t;){let o;if(Je(e))o=t.\u0275cmp||t.\u0275dir;else{if(t.\u0275cmp)throw new N(903,!1);o=t.\u0275dir}if(o){if(n){r.push(o);let s=e;s.inputs=Gr(e.inputs),s.inputTransforms=Gr(e.inputTransforms),s.declaredInputs=Gr(e.declaredInputs),s.outputs=Gr(e.outputs);let a=o.hostBindings;a&&hD(e,a);let u=o.viewQuery,c=o.contentQueries;if(u&&fD(e,u),c&&pD(e,c),lD(e,o),jh(e.outputs,o.outputs),Je(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===cD&&(n=!1)}}t=Object.getPrototypeOf(t)}dD(r)}function lD(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 dD(e){let t=0,n=null;for(let r=e.length-1;r>=0;r--){let o=e[r];o.hostVars=t+=o.hostVars,o.hostAttrs=jn(o.hostAttrs,n=jn(n,o.hostAttrs))}}function Gr(e){return e===Ye?{}:e===se?[]:e}function fD(e,t){let n=e.viewQuery;n?e.viewQuery=(r,o)=>{t(r,o),n(r,o)}:e.viewQuery=t}function pD(e,t){let n=e.contentQueries;n?e.contentQueries=(r,o,i)=>{t(r,o,i),n(r,o,i)}:e.contentQueries=t}function hD(e,t){let n=e.hostBindings;n?e.hostBindings=(r,o)=>{t(r,o),n(r,o)}:e.hostBindings=t}function RN(e){let t=n=>{let r=(Array.isArray(e)?e:e()).map(o=>typeof o=="function"?{directive:Y(o),inputs:Ye,outputs:Ye}:{directive:Y(o.directive),inputs:Kc(o.inputs),outputs:Kc(o.outputs)});n.hostDirectives===null?(n.findHostDirectiveDefs=bf,n.hostDirectives=r):n.hostDirectives.unshift(...r)};return t.ngInherit=!0,t}function bf(e,t,n){if(e.hostDirectives!==null)for(let r of e.hostDirectives){let o=ga(r.directive);gD(o.declaredInputs,r.inputs),bf(o,t,n),n.set(o,r),t.push(o)}}function Kc(e){if(e===void 0||e.length===0)return Ye;let t={};for(let n=0;n<e.length;n+=2)t[e[n]]=e[n+1];return t}function gD(e,t){for(let n in t)if(t.hasOwnProperty(n)){let r=t[n],o=e[n];e[r]=o}}function mD(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 tt=class{},qs=class{};function _f(e,t){return new Do(e,t??null,[])}var Do=class extends tt{constructor(t,n,r){super(),this._parent=n,this._bootstrapComponents=[],this.destroyCbs=[],this.componentFactoryResolver=new yo(this);let o=Tl(t);this._bootstrapComponents=Rd(o.bootstrap),this._r3Injector=yd(t,n,[{provide:tt,useValue:this},{provide:mn,useValue:this.componentFactoryResolver},...r],re(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)}},Zs=class extends qs{constructor(t){super(),this.moduleType=t}create(t){return new Do(this.moduleType,t,[])}};var Eo=class extends tt{constructor(t){super(),this.componentFactoryResolver=new yo(this),this.instance=null;let n=new Vn([...t.providers,{provide:tt,useValue:this},{provide:mn,useValue:this.componentFactoryResolver}],t.parent||Ao(),t.debugName,new Set(["environment"]));this.injector=n,t.runEnvironmentInitializers&&n.resolveInjectorInitializers()}destroy(){this.injector.destroy()}onDestroy(t){this.injector.onDestroy(t)}};function yD(e,t,n=null){return new Eo({providers:e,parent:t,debugName:n,runEnvironmentInitializers:!0}).injector}function Mf(e){return e!==null&&(typeof e=="function"||typeof e=="object")}function Ko(e,t,n){return e[t]=n}function de(e,t,n){let r=e[t];return Object.is(r,n)?!1:(e[t]=n,!0)}function Io(e,t,n,r){let o=de(e,t,n);return de(e,t+1,r)||o}function vD(e,t,n,r,o){let i=Io(e,t,n,r);return de(e,t+2,o)||i}function DD(e,t,n,r,o,i){let s=Io(e,t,n,r);return Io(e,t+2,o,i)||s}function ED(e){return(e.flags&32)===32}function ID(e,t,n,r,o,i,s,a,u){let c=t.consts,l=In(t,e,4,s||null,a||null);Va(t,n,l,yt(c,u)),Bo(t,l);let d=l.tView=ja(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 wo(e,t,n,r,o,i,s,a,u,c){let l=n+z,d=t.firstCreatePass?ID(l,t,e,r,o,i,s,a,u):t.data[l];$t(d,!1);let p=CD(t,e,d,n);jo()&&Go(t,e,p,d),Dt(p,e);let f=Xd(p,e,p,d);return e[l]=f,Zo(e,f),Yv(f,d,e),Ro(d)&&Pa(t,e,d),u!=null&&La(e,d,c),d}function wD(e,t,n,r,o,i,s,a){let u=D(),c=B(),l=yt(c.consts,i);return wo(u,c,e,t,n,r,o,l,s,a),wD}var CD=bD;function bD(e,t,n,r){return Vo(!0),t[V].createComment("")}function _D(e,t,n,r){let o=D(),i=Ut();if(de(o,i,t)){let s=B(),a=Yn();Xy(a,o,e,t,n,r)}return _D}function Wa(e,t,n,r){return de(e,Ut(),n)?t+Wn(n)+r:Te}function zr(e,t){return e<<17|t<<2}function Bt(e){return e>>17&32767}function MD(e){return(e&2)==2}function xD(e,t){return e&131071|t<<17}function Ys(e){return e|2}function yn(e){return(e&131068)>>2}function Qi(e,t){return e&-131069|t<<2}function SD(e){return(e&1)===1}function Qs(e){return e|1}function TD(e,t,n,r,o,i){let s=i?t.classBindings:t.styleBindings,a=Bt(s),u=yn(s);e[r]=n;let c=!1,l;if(Array.isArray(n)){let d=n;l=d[1],(l===null||qn(d,l)>0)&&(c=!0)}else l=n;if(o)if(u!==0){let p=Bt(e[a+1]);e[r+1]=zr(p,a),p!==0&&(e[p+1]=Qi(e[p+1],r)),e[a+1]=xD(e[a+1],r)}else e[r+1]=zr(a,0),a!==0&&(e[a+1]=Qi(e[a+1],r)),a=r;else e[r+1]=zr(u,0),a===0?a=r:e[u+1]=Qi(e[u+1],r),u=r;c&&(e[r+1]=Ys(e[r+1])),Jc(e,l,r,!0),Jc(e,l,r,!1),ND(t,l,e,r,i),s=zr(a,u),i?t.classBindings=s:t.styleBindings=s}function ND(e,t,n,r,o){let i=o?e.residualClasses:e.residualStyles;i!=null&&typeof t=="string"&&qn(i,t)>=0&&(n[r+1]=Qs(n[r+1]))}function Jc(e,t,n,r){let o=e[n+1],i=t===null,s=r?Bt(o):yn(o),a=!1;for(;s!==0&&(a===!1||i);){let u=e[s],c=e[s+1];AD(u,t)&&(a=!0,e[s+1]=r?Qs(c):Ys(c)),s=r?Bt(c):yn(c)}a&&(e[n+1]=r?Ys(o):Qs(o))}function AD(e,t){return e===null||t==null||(Array.isArray(e)?e[1]:e)===t?!0:Array.isArray(e)&&typeof t=="string"?qn(e,t)>=0:!1}var Me={textEnd:0,key:0,keyEnd:0,value:0,valueEnd:0};function OD(e){return e.substring(Me.key,Me.keyEnd)}function FD(e){return RD(e),xf(e,Sf(e,0,Me.textEnd))}function xf(e,t){let n=Me.textEnd;return n===t?-1:(t=Me.keyEnd=kD(e,Me.key=t,n),Sf(e,t,n))}function RD(e){Me.key=0,Me.keyEnd=0,Me.value=0,Me.valueEnd=0,Me.textEnd=e.length}function Sf(e,t,n){for(;t<n&&e.charCodeAt(t)<=32;)t++;return t}function kD(e,t,n){for(;t<n&&e.charCodeAt(t)>32;)t++;return t}function PD(e,t,n){let r=D(),o=Ut();if(de(r,o,t)){let i=B(),s=Yn();qo(i,s,r,e,t,r[V],n,!1)}return PD}function Ks(e,t,n,r,o){let i=t.inputs,s=o?"class":"style";Ba(e,n,i[s],s,r)}function Tf(e,t,n){return Af(e,t,n,!1),Tf}function LD(e,t){return Af(e,t,null,!0),LD}function kN(e){Of(UD,Nf,e,!0)}function Nf(e,t){for(let n=FD(t);n>=0;n=xf(t,n))No(e,OD(t),!0)}function Af(e,t,n,r){let o=D(),i=B(),s=Jl(2);if(i.firstUpdatePass&&Rf(i,e,s,r),t!==Te&&de(o,s,t)){let a=i.data[It()];kf(i,a,o,o[V],e,o[s+1]=zD(t,n),r,s)}}function Of(e,t,n,r){let o=B(),i=Jl(2);o.firstUpdatePass&&Rf(o,null,i,r);let s=D();if(n!==Te&&de(s,i,n)){let a=o.data[It()];if(Pf(a,r)&&!Ff(o,i)){let u=r?a.classesWithoutHost:a.stylesWithoutHost;u!==null&&(n=rs(u,n||"")),Ks(o,a,s,n,r)}else GD(o,a,s,s[V],s[i+1],s[i+1]=HD(e,t,n),r,i)}}function Ff(e,t){return t>=e.expandoStartIndex}function Rf(e,t,n,r){let o=e.data;if(o[n+1]===null){let i=o[It()],s=Ff(e,n);Pf(i,r)&&t===null&&!s&&(t=!1),t=jD(o,i,t,r),TD(o,i,t,n,s,r)}}function jD(e,t,n,r){let o=Xl(e),i=r?t.residualClasses:t.residualStyles;if(o===null)(r?t.classBindings:t.styleBindings)===0&&(n=Ki(null,e,t,n,r),n=Gn(n,t.attrs,r),i=null);else{let s=t.directiveStylingLast;if(s===-1||e[s]!==o)if(n=Ki(o,e,t,n,r),i===null){let u=VD(e,t,r);u!==void 0&&Array.isArray(u)&&(u=Ki(null,e,t,u[1],r),u=Gn(u,t.attrs,r),BD(e,t,r,u))}else i=$D(e,t,r)}return i!==void 0&&(r?t.residualClasses=i:t.residualStyles=i),n}function VD(e,t,n){let r=n?t.classBindings:t.styleBindings;if(yn(r)!==0)return e[Bt(r)]}function BD(e,t,n,r){let o=n?t.classBindings:t.styleBindings;e[Bt(o)]=r}function $D(e,t,n){let r,o=t.directiveEnd;for(let i=1+t.directiveStylingLast;i<o;i++){let s=e[i].hostAttrs;r=Gn(r,s,n)}return Gn(r,t.attrs,n)}function Ki(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=Gn(r,i.hostAttrs,o),i!==e);)a++;return e!==null&&(n.directiveStylingLast=a),r}function Gn(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]),No(e,s,n?!0:t[++i]))}return e===void 0?null:e}function HD(e,t,n){if(n==null||n==="")return se;let r=[],o=Kn(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 UD(e,t,n){let r=String(t);r!==""&&!r.includes(" ")&&No(e,r,n)}function GD(e,t,n,r,o,i,s,a){o===Te&&(o=se);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&&kf(e,t,n,r,h,g,s,a),l=u<o.length?o[u]:null,d=c<i.length?i[c]:null}}function kf(e,t,n,r,o,i,s,a){if(!(t.type&3))return;let u=e.data,c=u[a+1],l=SD(c)?Xc(u,t,n,o,yn(c),s):void 0;if(!Co(l)){Co(i)||MD(c)&&(i=Xc(u,null,n,o,a,s));let d=Ul(It(),n);Ny(r,s,d,o,i)}}function Xc(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===Te&&(p=d?se:void 0);let f=d?Hi(p,r):l===r?p:void 0;if(c&&!Co(f)&&(f=Hi(u,r)),Co(f)&&(a=f,s))return a;let h=e[o+1];o=s?Bt(h):yn(h)}if(t!==null){let u=i?t.residualClasses:t.residualStyles;u!=null&&(a=Hi(u,r))}return a}function Co(e){return e!==void 0}function zD(e,t){return e==null||e===""||(typeof t=="string"?e=e+t:typeof e=="object"&&(e=re(Kn(e)))),e}function Pf(e,t){return(e.flags&(t?8:16))!==0}function PN(e,t,n){let r=D(),o=Wa(r,e,t,n);Of(No,Nf,o,!0)}function LN(){return D()[ue][Q]}var Js=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 Ji(e,t,n,r,o){return e===n&&Object.is(t,r)?1:Object.is(o(e,t),o(n,r))?-1:0}function WD(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=Ji(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=Ji(s,p,u,f,n);if(h!==0){h<0&&e.updateValue(s,f),s--,u--;continue}let g=n(i,c),_=n(s,p),C=n(i,l);if(Object.is(C,_)){let L=n(u,f);Object.is(L,g)?(e.swap(i,s),e.updateValue(s,f),u--,s--):e.move(s,i),e.updateValue(i,l),i++;continue}if(r??=new bo,o??=tl(e,i,s,n),Xs(e,r,i,C))e.updateValue(i,l),i++,s++;else if(o.has(C))r.set(g,e.detach(i)),s--;else{let L=e.create(i,t[i]);e.attach(i,L),i++,s++}}for(;i<=u;)el(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=Ji(i,l,i,d,n);if(p!==0)p<0&&e.updateValue(i,d),i++,c=u.next();else{r??=new bo,o??=tl(e,i,s,n);let f=n(i,d);if(Xs(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;)el(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 Xs(e,t,n,r){return t!==void 0&&t.has(r)?(e.attach(n,t.get(r)),t.delete(r),!0):!1}function el(e,t,n,r,o){if(Xs(e,t,r,n(r,o)))e.updateValue(r,o);else{let i=e.create(r,o);e.attach(r,i)}}function tl(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 bo=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 jN(e,t){ot("NgControlFlow");let n=D(),r=Ut(),o=n[r]!==Te?n[r]:-1,i=o!==-1?_o(n,z+o):void 0,s=0;if(de(n,r,e)){let a=S(null);try{if(i!==void 0&&sf(i,s),e!==-1){let u=z+e,c=_o(n,u),l=ra(n[w],u),d=hn(c,l.tView.ssrId),p=Xn(n,l,t,{dehydratedView:d});er(c,p,s,fn(l,d))}}finally{S(a)}}else if(i!==void 0){let a=of(i,s);a!==void 0&&(a[Q]=t)}}var ea=class{constructor(t,n,r){this.lContainer=t,this.$implicit=n,this.$index=r}get $count(){return this.lContainer.length-J}};function VN(e){return e}function BN(e,t){return t}var ta=class{constructor(t,n,r){this.hasEmptyBlock=t,this.trackByFn=n,this.liveCollection=r}};function $N(e,t,n,r,o,i,s,a,u,c,l,d,p){ot("NgControlFlow");let f=D(),h=B(),g=u!==void 0,_=D(),C=a?s.bind(_[ue][Q]):s,L=new ta(g,C);_[z+e]=L,wo(f,h,e+1,t,n,r,o,yt(h.consts,i)),g&&wo(f,h,e+2,u,c,l,d,yt(h.consts,p))}var na=class extends Js{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-J}at(t){return this.getLView(t)[Q].$implicit}attach(t,n){let r=n[cn];this.needsIndexUpdate||=t!==this.length,er(this.lContainer,n,t,fn(this.templateTNode,r))}detach(t){return this.needsIndexUpdate||=t!==this.length-1,qD(this.lContainer,t)}create(t,n){let r=hn(this.lContainer,this.templateTNode.tView.ssrId),o=Xn(this.hostLView,this.templateTNode,new ea(this.lContainer,n,t),{dehydratedView:r});return this.operationsCounter?.recordCreate(),o}destroy(t){Uo(t[w],t),this.operationsCounter?.recordDestroy()}updateValue(t,n){this.getLView(t)[Q].$implicit=n}reset(){this.needsIndexUpdate=!1,this.operationsCounter?.reset()}updateIndexes(){if(this.needsIndexUpdate)for(let t=0;t<this.length;t++)this.getLView(t)[Q].$index=t}getLView(t){return ZD(this.lContainer,t)}};function HN(e){let t=S(null),n=It();try{let r=D(),o=r[w],i=r[n],s=n+1,a=_o(r,s);if(i.liveCollection===void 0){let c=ra(o,s);i.liveCollection=new na(a,r,c)}else i.liveCollection.reset();let u=i.liveCollection;if(WD(u,e,i.trackByFn),u.updateIndexes(),i.hasEmptyBlock){let c=Ut(),l=u.length===0;if(de(r,c,l)){let d=n+2,p=_o(r,d);if(l){let f=ra(o,d),h=hn(p,f.tView.ssrId),g=Xn(r,f,void 0,{dehydratedView:h});er(p,g,0,fn(f,h))}else sf(p,0)}}}finally{S(t)}}function _o(e,t){return e[t]}function qD(e,t){return Un(e,t)}function ZD(e,t){return of(e,t)}function ra(e,t){return Ea(e,t)}function YD(e,t,n,r,o,i){let s=t.consts,a=yt(s,o),u=In(t,e,2,r,a);return Va(t,n,u,yt(s,i)),u.attrs!==null&&mo(u,u.attrs,!1),u.mergedAttrs!==null&&mo(u,u.mergedAttrs,!0),t.queries!==null&&t.queries.elementStart(t,u),u}function Lf(e,t,n,r){let o=D(),i=B(),s=z+e,a=o[V],u=i.firstCreatePass?YD(s,i,o,t,n,r):i.data[s],c=KD(i,o,u,a,t,e);o[s]=c;let l=Ro(u);return $t(u,!0),zd(a,c,u),!ED(u)&&jo()&&Go(i,o,c,u),Qg()===0&&Dt(c,o),Kg(),l&&(Pa(i,o,u),ka(i,u,o)),r!==null&&La(o,u),Lf}function jf(){let e=te();wa()?Ca():(e=e.parent,$t(e,!1));let t=e;Xg(t)&&em(),Jg();let n=B();return n.firstCreatePass&&(Bo(n,e),Da(e)&&n.queries.elementEnd(e)),t.classesWithoutHost!=null&&pm(t)&&Ks(n,t,D(),t.classesWithoutHost,!0),t.stylesWithoutHost!=null&&hm(t)&&Ks(n,t,D(),t.stylesWithoutHost,!1),jf}function QD(e,t,n,r){return Lf(e,t,n,r),jf(),QD}var KD=(e,t,n,r,o,i)=>(Vo(!0),Pd(r,o,cm()));function JD(e,t,n,r,o){let i=t.consts,s=yt(i,r),a=In(t,e,8,"ng-container",s);s!==null&&mo(a,s,!0);let u=yt(i,o);return Va(t,n,a,u),t.queries!==null&&t.queries.elementStart(t,a),a}function Vf(e,t,n){let r=D(),o=B(),i=e+z,s=o.firstCreatePass?JD(i,o,r,t,n):o.data[i];$t(s,!0);let a=eE(o,r,s,e);return r[i]=a,jo()&&Go(o,r,a,s),Dt(a,r),Ro(s)&&(Pa(o,r,s),ka(o,s,r)),n!=null&&La(r,s),Vf}function Bf(){let e=te(),t=B();return wa()?Ca():(e=e.parent,$t(e,!1)),t.firstCreatePass&&(Bo(t,e),Da(e)&&t.queries.elementEnd(e)),Bf}function XD(e,t,n){return Vf(e,t,n),Bf(),XD}var eE=(e,t,n,r)=>(Vo(!0),gy(t[V],""));function UN(){return D()}function tE(e,t,n){let r=D(),o=Ut();if(de(r,o,t)){let i=B(),s=Yn();qo(i,s,r,e,t,r[V],n,!0)}return tE}function nE(e,t,n){let r=D(),o=Ut();if(de(r,o,t)){let i=B(),s=Yn(),a=Xl(i.data),u=rv(a,s,r);qo(i,s,r,e,t,u,n,!0)}return nE}var St=void 0;function rE(e){let t=e,n=Math.floor(Math.abs(e)),r=e.toString().replace(/^[^.]*\.?/,"").length;return n===1&&r===0?1:5}var oE=["en",[["a","p"],["AM","PM"],St],[["AM","PM"],St,St],[["S","M","T","W","T","F","S"],["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"],["Su","Mo","Tu","We","Th","Fr","Sa"]],St,[["J","F","M","A","M","J","J","A","S","O","N","D"],["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],["January","February","March","April","May","June","July","August","September","October","November","December"]],St,[["B","A"],["BC","AD"],["Before Christ","Anno Domini"]],0,[6,0],["M/d/yy","MMM d, y","MMMM d, y","EEEE, MMMM d, y"],["h:mm a","h:mm:ss a","h:mm:ss a z","h:mm:ss a zzzz"],["{1}, {0}",St,"{1} 'at' {0}",St],[".",",",";","%","+","-","E","\xD7","\u2030","\u221E","NaN",":"],["#,##0.###","#,##0%","\xA4#,##0.00","#E0"],"USD","$","US Dollar",{},"ltr",rE],Xi={};function fe(e){let t=iE(e),n=nl(t);if(n)return n;let r=t.split("-")[0];if(n=nl(r),n)return n;if(r==="en")return oE;throw new N(701,!1)}function nl(e){return e in Xi||(Xi[e]=Ve.ng&&Ve.ng.common&&Ve.ng.common.locales&&Ve.ng.common.locales[e]),Xi[e]}var H=function(e){return e[e.LocaleId=0]="LocaleId",e[e.DayPeriodsFormat=1]="DayPeriodsFormat",e[e.DayPeriodsStandalone=2]="DayPeriodsStandalone",e[e.DaysFormat=3]="DaysFormat",e[e.DaysStandalone=4]="DaysStandalone",e[e.MonthsFormat=5]="MonthsFormat",e[e.MonthsStandalone=6]="MonthsStandalone",e[e.Eras=7]="Eras",e[e.FirstDayOfWeek=8]="FirstDayOfWeek",e[e.WeekendRange=9]="WeekendRange",e[e.DateFormat=10]="DateFormat",e[e.TimeFormat=11]="TimeFormat",e[e.DateTimeFormat=12]="DateTimeFormat",e[e.NumberSymbols=13]="NumberSymbols",e[e.NumberFormats=14]="NumberFormats",e[e.CurrencyCode=15]="CurrencyCode",e[e.CurrencySymbol=16]="CurrencySymbol",e[e.CurrencyName=17]="CurrencyName",e[e.Currencies=18]="Currencies",e[e.Directionality=19]="Directionality",e[e.PluralCase=20]="PluralCase",e[e.ExtraData=21]="ExtraData",e}(H||{});function iE(e){return e.toLowerCase().replace(/_/g,"-")}var Mo="en-US";var sE=Mo;function aE(e){typeof e=="string"&&(sE=e.toLowerCase().replace(/_/g,"-"))}var uE=(e,t,n)=>{};function cE(e,t,n,r){let o=D(),i=B(),s=te();return dE(i,o,o[V],s,e,t,r),cE}function lE(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[oo],u=o[i+2];return a.length>u?a[u]:null}typeof s=="string"&&(i+=2)}return null}function dE(e,t,n,r,o,i,s){let a=Ro(r),c=e.firstCreatePass&&nf(e),l=t[Q],d=tf(t),p=!0;if(r.type&3||s){let g=ye(r,t),_=s?s(g):g,C=d.length,L=s?le=>s(Ue(le[r.index])):r.index,q=null;if(!s&&a&&(q=lE(e,t,o,r.index)),q!==null){let le=q.__ngLastListenerFn__||q;le.__ngNextListenerFn__=i,q.__ngLastListenerFn__=i,p=!1}else{i=ol(r,t,l,i),uE(g,o,i);let le=n.listen(_,o,i);d.push(i,le),c&&c.push(o,L,C,C+1)}}else i=ol(r,t,l,i);let f=r.outputs,h;if(p&&f!==null&&(h=f[o])){let g=h.length;if(g)for(let _=0;_<g;_+=2){let C=h[_],L=h[_+1],ze=t[C][L].subscribe(i),De=d.length;d.push(i,ze),c&&c.push(o,r.index,De,-(De+1))}}}function rl(e,t,n,r){let o=S(null);try{return Be(6,t,n),n(r)!==!1}catch(i){return rf(e,i),!1}finally{Be(7,t,n),S(o)}}function ol(e,t,n,r){return function o(i){if(i===Function)return r;let s=e.componentOffset>-1?Et(e.index,t):t;Ha(s,5);let a=rl(t,n,r,i),u=o.__ngNextListenerFn__;for(;u;)a=rl(t,n,u,i)&&a,u=u.__ngNextListenerFn__;return a}}function GN(e=1){return um(e)}function fE(e,t){let n=null,r=mg(e);for(let o=0;o<t.length;o++){let i=t[o];if(i==="*"){n=o;continue}if(r===null?Ml(e,i,!0):Dg(r,i))return o}return n}function zN(e){let t=D()[ue][ce];if(!t.projection){let n=e?e.length:1,r=t.projection=ag(n,null),o=r.slice(),i=t.child;for(;i!==null;){if(i.type!==128){let s=e?fE(i,e):0;s!==null&&(o[s]?o[s].projectionNext=i:r[s]=i,o[s]=i)}i=i.next}}}function WN(e,t=0,n,r,o,i){let s=D(),a=B(),u=r?e+1:null;u!==null&&wo(s,a,u,r,o,i,null,n);let c=In(a,z+e,16,null,n||null);c.projection===null&&(c.projection=t),Ca();let d=!s[cn]||Yl();s[ue][ce].projection[c.projection]===null&&u!==null?pE(s,a,u):d&&(c.flags&32)!==32&&Sy(a,s,c)}function pE(e,t,n){let r=z+n,o=t.data[r],i=e[r],s=hn(i,o.tView.ssrId),a=Xn(e,o,void 0,{dehydratedView:s});er(i,a,0,fn(o,s))}function hE(e,t,n){return $f(e,"",t,"",n),hE}function $f(e,t,n,r,o){let i=D(),s=Wa(i,t,n,r);if(s!==Te){let a=B(),u=Yn();qo(a,u,i,e,s,i[V],o,!1)}return $f}function qN(e,t,n,r){rD(e,t,n,r)}function ZN(e,t,n){nD(e,t,n)}function YN(e){let t=D(),n=B(),r=ed();ba(r+1);let o=za(n,r);if(e.dirty&&Wg(t)===((o.metadata.flags&2)===2)){if(o.matches===null)e.reset([]);else{let i=sD(t,r);e.reset(i,Nm),e.notifyOnChanges()}return!0}return!1}function QN(){return tD(D(),ed())}function gE(e,t,n,r){n>=e.data.length&&(e.data[n]=null,e.blueprint[n]=null),t[n]=r}function KN(e){let t=nm();return Po(t,z+e)}function JN(e,t=""){let n=D(),r=B(),o=e+z,i=r.firstCreatePass?In(r,o,1,t,null):r.data[o],s=mE(r,n,i,t,e);n[o]=s,jo()&&Go(r,n,s,i),$t(i,!1)}var mE=(e,t,n,r,o)=>(Vo(!0),py(t[V],r));function yE(e){return Hf("",e,""),yE}function Hf(e,t,n){let r=D(),o=Wa(r,e,t,n);return o!==Te&&ov(r,It(),o),Hf}function vE(e,t,n){let r=B();if(r.firstCreatePass){let o=Je(e);oa(n,r.data,r.blueprint,o,!0),oa(t,r.data,r.blueprint,o,!1)}}function oa(e,t,n,r,o){if(e=Y(e),Array.isArray(e))for(let i=0;i<e.length;i++)oa(e[i],t,n,r,o);else{let i=B(),s=D(),a=te(),u=un(e)?e:Y(e.provide),c=Pl(e),l=a.providerIndexes&1048575,d=a.directiveStart,p=a.providerIndexes>>20;if(un(e)||!e.multi){let f=new Pt(c,o,W),h=ts(u,t,o?l:l+p,d);h===-1?(ys(lo(a,s),i,u),es(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=ts(u,t,l+p,d),h=ts(u,t,l,l+p),g=f>=0&&n[f],_=h>=0&&n[h];if(o&&!_||!o&&!g){ys(lo(a,s),i,u);let C=IE(o?EE:DE,n.length,o,r,c);!o&&_&&(n[h].providerFactory=C),es(i,e,t.length,0),t.push(u),a.directiveStart++,a.directiveEnd++,o&&(a.providerIndexes+=1048576),n.push(C),s.push(C)}else{let C=Uf(n[o?h:f],c,!o&&r);es(i,e,f>-1?f:h,C)}!o&&r&&_&&n[h].componentProviders++}}}function es(e,t,n,r){let o=un(t),i=Ag(t);if(o||i){let u=(i?Y(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 Uf(e,t,n){return n&&e.componentProviders++,e.multi.push(t)-1}function ts(e,t,n,r){for(let o=n;o<r;o++)if(t[o]===e)return o;return-1}function DE(e,t,n,r){return ia(this.multi,[])}function EE(e,t,n,r){let o=this.multi,i;if(this.providerFactory){let s=this.providerFactory.componentProviders,a=Lt(n,n[w],this.providerFactory.index,r);i=a.slice(0,s),ia(o,i);for(let u=s;u<a.length;u++)i.push(a[u])}else i=[],ia(o,i);return i}function ia(e,t){for(let n=0;n<e.length;n++){let r=e[n];t.push(r())}return t}function IE(e,t,n,r,o){let i=new Pt(e,n,W);return i.multi=[],i.index=t,i.componentProviders=0,Uf(i,o,r&&!n),i}function XN(e,t=[]){return n=>{n.providersResolver=(r,o)=>vE(r,o?o(e):e,t)}}var wE=(()=>{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=Ol(!1,r.type),i=o.length>0?yD([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=j({token:t,providedIn:"environment",factory:()=>new t(X(mt))});let e=t;return e})();function eA(e){ot("NgStandalone"),e.getStandaloneInjector=t=>t.get(wE).getOrCreateStandaloneInjector(e)}function tA(e,t,n,r){return Gf(D(),Ht(),e,t,n,r)}function nA(e,t,n,r,o){return zf(D(),Ht(),e,t,n,r,o)}function rA(e,t,n,r,o,i){return Wf(D(),Ht(),e,t,n,r,o,i)}function oA(e,t,n,r,o,i,s){return CE(D(),Ht(),e,t,n,r,o,i,s)}function Jo(e,t){let n=e[t];return n===Te?void 0:n}function Gf(e,t,n,r,o,i){let s=t+n;return de(e,s,o)?Ko(e,s+1,i?r.call(i,o):r(o)):Jo(e,s+1)}function zf(e,t,n,r,o,i,s){let a=t+n;return Io(e,a,o,i)?Ko(e,a+2,s?r.call(s,o,i):r(o,i)):Jo(e,a+2)}function Wf(e,t,n,r,o,i,s,a){let u=t+n;return vD(e,u,o,i,s)?Ko(e,u+3,a?r.call(a,o,i,s):r(o,i,s)):Jo(e,u+3)}function CE(e,t,n,r,o,i,s,a,u){let c=t+n;return DD(e,c,o,i,s,a)?Ko(e,c+4,u?r.call(u,o,i,s,a):r(o,i,s,a)):Jo(e,c+4)}function iA(e,t){let n=B(),r,o=e+z;n.firstCreatePass?(r=bE(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=At(r.type,!0)),s,a=ie(W);try{let u=co(!1),c=i();return co(u),gE(n,D(),o,c),c}finally{ie(a)}}function bE(e,t){if(t)for(let n=t.length-1;n>=0;n--){let r=t[n];if(e===r.name)return r}}function sA(e,t,n){let r=e+z,o=D(),i=Po(o,r);return qa(o,r)?Gf(o,Ht(),t,i.transform,n,i):i.transform(n)}function aA(e,t,n,r){let o=e+z,i=D(),s=Po(i,o);return qa(i,o)?zf(i,Ht(),t,s.transform,n,r,s):s.transform(n,r)}function uA(e,t,n,r,o){let i=e+z,s=D(),a=Po(s,i);return qa(s,i)?Wf(s,Ht(),t,a.transform,n,r,o,a):a.transform(n,r,o)}function qa(e,t){return e[w].data[t].pure}function cA(e,t){return Yo(e,t)}var xo=class{constructor(t){this.full=t;let n=t.split(".");this.major=n[0],this.minor=n[1],this.patch=n.slice(2).join(".")}},lA=new xo("18.1.2");var dA=(()=>{let t=class t{log(r){console.log(r)}warn(r){console.warn(r)}};t.\u0275fac=function(o){return new(o||t)},t.\u0275prov=j({token:t,factory:t.\u0275fac,providedIn:"platform"});let e=t;return e})();var _E=new A("");function Xo(e){return!!e&&typeof e.then=="function"}function Za(e){return!!e&&typeof e.subscribe=="function"}var ME=new A(""),qf=(()=>{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=b(ME,{optional:!0})??[]}runInitializers(){if(this.initialized)return;let r=[];for(let i of this.appInits){let s=i();if(Xo(s))r.push(s);else if(Za(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=j({token:t,factory:t.\u0275fac,providedIn:"root"});let e=t;return e})(),xE=new A("");function SE(){Au(()=>{throw new N(600,!1)})}function TE(e){return e.isBoundToModule}var NE=10;function AE(e,t,n){try{let r=n();return Xo(r)?r.catch(o=>{throw t.runOutsideAngular(()=>e.handleError(o)),o}):r}catch(r){throw t.runOutsideAngular(()=>e.handleError(r)),r}}var Ya=(()=>{let t=class t{constructor(){this._bootstrapListeners=[],this._runningTick=!1,this._destroyed=!1,this._destroyListeners=[],this._views=[],this.internalErrorHandler=b(vd),this.afterRenderEffectManager=b(Ga),this.zonelessEnabled=b(pf),this.externalTestViews=new Set,this.beforeRender=new ge,this.afterTick=new ge,this.componentTypes=[],this.components=[],this.isStable=b(Qn).hasPendingTasks.pipe(Ze(r=>!r)),this._injector=b(mt)}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 ho;if(!this._injector.get(qf).done){let f=!i&&_g(r),h=!1;throw new N(405,h)}let a;i?a=r:a=this._injector.get(mn).resolveComponentFactory(r),this.componentTypes.push(a.componentType);let u=TE(a)?void 0:this._injector.get(tt),c=o||a.selector,l=a.create(Xe.NULL,[],c,u),d=l.location.nativeElement,p=l.injector.get(_E,null);return p?.registerApplication(d),l.onDestroy(()=>{this.detachView(l.hostView),ns(this.components,l),p?.unregisterApplication(d)}),this._loadComponent(l),l}tick(){this._tick(!0)}_tick(r){if(this._runningTick)throw new N(101,!1);let o=S(null);try{this._runningTick=!0,this.detectChangesInAttachedViews(r)}catch(i){this.internalErrorHandler(i)}finally{this._runningTick=!1,S(o),this.afterTick.next()}}detectChangesInAttachedViews(r){let o=null;this._injector.destroyed||(o=this._injector.get(go,null,{optional:!0}));let i=0,s=this.afterRenderEffectManager;for(;i<NE;){let a=i===0;if(r||!a){this.beforeRender.next(a);for(let{_lView:u,notifyErrorHandler:c}of this._views)OE(u,c,a,this.zonelessEnabled)}else o?.begin?.(),o?.end?.();if(i++,s.executeInternalCallbacks(),!this.allViews.some(({_lView:u})=>$n(u))&&(s.execute(),!this.allViews.some(({_lView:u})=>$n(u))))break}}attachView(r){let o=r;this._views.push(o),o.attachToAppRef(this)}detachView(r){let o=r;ns(this._views,o),o.detachFromAppRef()}_loadComponent(r){this.attachView(r.hostView),this.tick(),this.components.push(r);let o=this._injector.get(xE,[]);[...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),()=>ns(this._destroyListeners,r)}destroy(){if(this._destroyed)throw new N(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=j({token:t,factory:t.\u0275fac,providedIn:"root"});let e=t;return e})();function ns(e,t){let n=e.indexOf(t);n>-1&&e.splice(n,1)}function OE(e,t,n,r){if(!n&&!$n(e))return;cf(e,t,n&&!r?0:1)}var sa=class{constructor(t,n){this.ngModuleFactory=t,this.componentFactories=n}},fA=(()=>{let t=class t{compileModuleSync(r){return new Zs(r)}compileModuleAsync(r){return Promise.resolve(this.compileModuleSync(r))}compileModuleAndAllComponentsSync(r){let o=this.compileModuleSync(r),i=Tl(r),s=Rd(i.declarations).reduce((a,u)=>{let c=Qe(u);return c&&a.push(new Vt(c)),a},[]);return new sa(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=j({token:t,factory:t.\u0275fac,providedIn:"root"});let e=t;return e})();var FE=(()=>{let t=class t{constructor(){this.zone=b(ae),this.changeDetectionScheduler=b(gn),this.applicationRef=b(Ya)}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=j({token:t,factory:t.\u0275fac,providedIn:"root"});let e=t;return e})();function RE({ngZoneFactory:e,ignoreChangesOutsideZone:t}){return e??=()=>new ae(PE()),[{provide:ae,useFactory:e},{provide:no,multi:!0,useFactory:()=>{let n=b(FE,{optional:!0});return()=>n.initialize()}},{provide:no,multi:!0,useFactory:()=>{let n=b(LE);return()=>{n.initialize()}}},{provide:vd,useFactory:kE},t===!0?{provide:hf,useValue:!0}:[]]}function kE(){let e=b(ae),t=b(vt);return n=>e.runOutsideAngular(()=>t.handleError(n))}function PE(e){return{enableLongStackTrace:!1,shouldCoalesceEventChangeDetection:e?.eventCoalescing??!1,shouldCoalesceRunChangeDetection:e?.runCoalescing??!1}}var LE=(()=>{let t=class t{constructor(){this.subscription=new $,this.initialized=!1,this.zone=b(ae),this.pendingTasks=b(Qn)}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(()=>{ae.assertNotInAngularZone(),queueMicrotask(()=>{r!==null&&!this.zone.hasPendingMacrotasks&&!this.zone.hasPendingMicrotasks&&(this.pendingTasks.remove(r),r=null)})}))}),this.subscription.add(this.zone.onUnstable.subscribe(()=>{ae.assertInAngularZone(),r??=this.pendingTasks.add()}))}ngOnDestroy(){this.subscription.unsubscribe()}};t.\u0275fac=function(o){return new(o||t)},t.\u0275prov=j({token:t,factory:t.\u0275fac,providedIn:"root"});let e=t;return e})();var jE=(()=>{let t=class t{constructor(){this.appRef=b(Ya),this.taskService=b(Qn),this.ngZone=b(ae),this.zonelessEnabled=b(pf),this.disableScheduling=b(hf,{optional:!0})??!1,this.zoneIsDefined=typeof Zone<"u"&&!!Zone.root.run,this.schedulerTickApplyArgs=[{data:{__scheduler_tick__:!0}}],this.subscriptions=new $,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 js||!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?zc:gf;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&&ae.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,zc(()=>{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=j({token:t,factory:t.\u0275fac,providedIn:"root"});let e=t;return e})();function VE(){return typeof $localize<"u"&&$localize.locale||Mo}var tr=new A("",{providedIn:"root",factory:()=>b(tr,T.Optional|T.SkipSelf)||VE()});var Zf=new A("");var Jr=null;function BE(e=[],t){return Xe.create({name:t,providers:[{provide:kl,useValue:"platform"},{provide:Zf,useValue:new Set([()=>Jr=null])},...e]})}function $E(e=[]){if(Jr)return Jr;let t=BE(e);return Jr=t,SE(),HE(t),t}function HE(e){e.get(Lm,null)?.forEach(n=>n())}var ei=(()=>{let t=class t{};t.__NG_ELEMENT_ID__=UE;let e=t;return e})();function UE(e){return GE(te(),D(),(e&16)===16)}function GE(e,t,n){if(Fo(e)&&!n){let r=Et(e.index,t);return new jt(r,r)}else if(e.type&175){let r=t[ue];return new jt(r,t)}return null}var aa=class{constructor(){}supports(t){return t instanceof Map||Mf(t)}create(){return new ua}},ua=class{constructor(){this._records=new Map,this._mapHead=null,this._appendAfter=null,this._previousMapHead=null,this._changesHead=null,this._changesTail=null,this._additionsHead=null,this._additionsTail=null,this._removalsHead=null,this._removalsTail=null}get isDirty(){return this._additionsHead!==null||this._changesHead!==null||this._removalsHead!==null}forEachItem(t){let n;for(n=this._mapHead;n!==null;n=n._next)t(n)}forEachPreviousItem(t){let n;for(n=this._previousMapHead;n!==null;n=n._nextPrevious)t(n)}forEachChangedItem(t){let n;for(n=this._changesHead;n!==null;n=n._nextChanged)t(n)}forEachAddedItem(t){let n;for(n=this._additionsHead;n!==null;n=n._nextAdded)t(n)}forEachRemovedItem(t){let n;for(n=this._removalsHead;n!==null;n=n._nextRemoved)t(n)}diff(t){if(!t)t=new Map;else if(!(t instanceof Map||Mf(t)))throw new N(900,!1);return this.check(t)?this:null}onDestroy(){}check(t){this._reset();let n=this._mapHead;if(this._appendAfter=null,this._forEach(t,(r,o)=>{if(n&&n.key===o)this._maybeAddToChanges(n,r),this._appendAfter=n,n=n._next;else{let i=this._getOrCreateRecordForKey(o,r);n=this._insertBeforeOrAppend(n,i)}}),n){n._prev&&(n._prev._next=null),this._removalsHead=n;for(let r=n;r!==null;r=r._nextRemoved)r===this._mapHead&&(this._mapHead=null),this._records.delete(r.key),r._nextRemoved=r._next,r.previousValue=r.currentValue,r.currentValue=null,r._prev=null,r._next=null}return this._changesTail&&(this._changesTail._nextChanged=null),this._additionsTail&&(this._additionsTail._nextAdded=null),this.isDirty}_insertBeforeOrAppend(t,n){if(t){let r=t._prev;return n._next=t,n._prev=r,t._prev=n,r&&(r._next=n),t===this._mapHead&&(this._mapHead=n),this._appendAfter=t,t}return this._appendAfter?(this._appendAfter._next=n,n._prev=this._appendAfter):this._mapHead=n,this._appendAfter=n,null}_getOrCreateRecordForKey(t,n){if(this._records.has(t)){let o=this._records.get(t);this._maybeAddToChanges(o,n);let i=o._prev,s=o._next;return i&&(i._next=s),s&&(s._prev=i),o._next=null,o._prev=null,o}let r=new ca(t);return this._records.set(t,r),r.currentValue=n,this._addToAdditions(r),r}_reset(){if(this.isDirty){let t;for(this._previousMapHead=this._mapHead,t=this._previousMapHead;t!==null;t=t._next)t._nextPrevious=t._next;for(t=this._changesHead;t!==null;t=t._nextChanged)t.previousValue=t.currentValue;for(t=this._additionsHead;t!=null;t=t._nextAdded)t.previousValue=t.currentValue;this._changesHead=this._changesTail=null,this._additionsHead=this._additionsTail=null,this._removalsHead=null}}_maybeAddToChanges(t,n){Object.is(n,t.currentValue)||(t.previousValue=t.currentValue,t.currentValue=n,this._addToChanges(t))}_addToAdditions(t){this._additionsHead===null?this._additionsHead=this._additionsTail=t:(this._additionsTail._nextAdded=t,this._additionsTail=t)}_addToChanges(t){this._changesHead===null?this._changesHead=this._changesTail=t:(this._changesTail._nextChanged=t,this._changesTail=t)}_forEach(t,n){t instanceof Map?t.forEach(n):Object.keys(t).forEach(r=>n(t[r],r))}},ca=class{constructor(t){this.key=t,this.previousValue=null,this.currentValue=null,this._nextPrevious=null,this._next=null,this._prev=null,this._nextAdded=null,this._nextRemoved=null,this._nextChanged=null}};function il(){return new Qa([new aa])}var Qa=(()=>{let t=class t{constructor(r){this.factories=r}static create(r,o){if(o){let i=o.factories.slice();r=r.concat(i)}return new t(r)}static extend(r){return{provide:t,useFactory:o=>t.create(r,o||il()),deps:[[t,new og,new rg]]}}find(r){let o=this.factories.find(i=>i.supports(r));if(o)return o;throw new N(901,!1)}};t.\u0275prov=j({token:t,providedIn:"root",factory:il});let e=t;return e})();function pA(e){try{let{rootComponent:t,appProviders:n,platformProviders:r}=e,o=$E(r),i=[RE({}),{provide:gn,useExisting:jE},...n||[]],a=new Eo({providers:i,parent:o,debugName:"",runEnvironmentInitializers:!1}).injector,u=a.get(ae);return u.run(()=>{a.resolveInjectorInitializers();let c=a.get(vt,null),l;u.runOutsideAngular(()=>{l=u.onError.subscribe({next:f=>{c.handleError(f)}})});let d=()=>a.destroy(),p=o.get(Zf);return p.add(d),a.onDestroy(()=>{l.unsubscribe(),p.delete(d)}),AE(c,u,()=>{let f=a.get(qf);return f.runInitializers(),f.donePromise.then(()=>{let h=a.get(tr,Mo);aE(h||Mo);let g=a.get(Ya);return t!==void 0&&g.bootstrap(t),g})})})}catch(t){return Promise.reject(t)}}var hA=new A("");function zE(e){return typeof e=="boolean"?e:e!=null&&e!=="false"}function WE(e,t=NaN){return!isNaN(parseFloat(e))&&!isNaN(Number(e))?Number(e):t}function gA(e,t){ot("NgSignals");let n=Su(e);return t?.equal&&(n[Ee].equal=t.equal),n}function Ka(e){let t=S(null);try{return e()}finally{S(t)}}var qE=new A("",{providedIn:"root",factory:()=>b(ZE)}),ZE=(()=>{let t=class t{};t.\u0275prov=j({token:t,providedIn:"root",factory:()=>new la});let e=t;return e})(),la=class{constructor(){this.queuedEffectCount=0,this.queues=new Map,this.pendingTasks=b(Qn),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()}},da=class{constructor(t,n,r,o,i,s){this.scheduler=t,this.effectFn=n,this.creationZone=r,this.injector=i,this.watcher=Ru(a=>this.runEffect(a),()=>this.schedule(),s),this.unregisterOnDestroy=o?.onDestroy(()=>this.destroy())}runEffect(t){try{this.effectFn(t)}catch(n){this.injector.get(vt,null,{optional:!0})?.handleError(n)}}run(){this.watcher.run()}schedule(){this.scheduler.scheduleEffect(this)}destroy(){this.watcher.destroy(),this.unregisterOnDestroy?.()}};function YE(e,t){ot("NgSignals"),!t?.injector&&ya(YE);let n=t?.injector??b(Xe),r=t?.manualCleanup!==!0?n.get($o):null,o=new da(n.get(qE),e,typeof Zone>"u"?null:Zone.current,r,n,t?.allowSignalWrites??!1),i=n.get(ei,null,{optional:!0});return!i||!(i._lView[E]&8)?o.watcher.notify():(i._lView[qr]??=[]).push(o.watcher.notify),o}function mA(e,t){let n=Qe(e),r=t.elementInjector||Ao();return new Vt(n).create(r,t.projectableNodes,t.hostElement,t.environmentInjector)}function yA(e){let t=Qe(e);if(!t)return null;let n=new Vt(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 op=null;function Xa(){return op}function jA(e){op??=e}var Yf=class{};var du=new A(""),fu=(()=>{let t=class t{historyGo(r){throw new Error("")}};t.\u0275fac=function(o){return new(o||t)},t.\u0275prov=j({token:t,factory:()=>b(KE),providedIn:"platform"});let e=t;return e})(),VA=new A(""),KE=(()=>{let t=class t extends fu{constructor(){super(),this._doc=b(du),this._location=window.location,this._history=window.history}getBaseHrefFromDOM(){return Xa().getBaseHref(this._doc)}onPopState(r){let o=Xa().getGlobalEventTarget(this._doc,"window");return o.addEventListener("popstate",r,!1),()=>o.removeEventListener("popstate",r)}onHashChange(r){let o=Xa().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=j({token:t,factory:()=>new t,providedIn:"platform"});let e=t;return e})();function pu(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 Qf(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 st(e){return e&&e[0]!=="?"?"?"+e:e}var di=(()=>{let t=class t{historyGo(r){throw new Error("")}};t.\u0275fac=function(o){return new(o||t)},t.\u0275prov=j({token:t,factory:()=>b(JE),providedIn:"root"});let e=t;return e})(),ip=new A(""),JE=(()=>{let t=class t extends di{constructor(r,o){super(),this._platformLocation=r,this._removeListenerFns=[],this._baseHref=o??this._platformLocation.getBaseHrefFromDOM()??b(du).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 pu(this._baseHref,r)}path(r=!1){let o=this._platformLocation.pathname+st(this._platformLocation.search),i=this._platformLocation.hash;return i&&r?`${o}${i}`:o}pushState(r,o,i,s){let a=this.prepareExternalUrl(i+st(s));this._platformLocation.pushState(r,o,a)}replaceState(r,o,i,s){let a=this.prepareExternalUrl(i+st(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)(X(fu),X(ip,8))},t.\u0275prov=j({token:t,factory:t.\u0275fac,providedIn:"root"});let e=t;return e})(),BA=(()=>{let t=class t extends di{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=pu(this._baseHref,r);return o.length>0?"#"+o:o}pushState(r,o,i,s){let a=this.prepareExternalUrl(i+st(s));a.length==0&&(a=this._platformLocation.pathname),this._platformLocation.pushState(r,o,a)}replaceState(r,o,i,s){let a=this.prepareExternalUrl(i+st(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)(X(fu),X(ip,8))},t.\u0275prov=j({token:t,factory:t.\u0275fac});let e=t;return e})(),XE=(()=>{let t=class t{constructor(r){this._subject=new xe,this._urlChangeListeners=[],this._urlChangeSubscription=null,this._locationStrategy=r;let o=this._locationStrategy.getBaseHref();this._basePath=nI(Qf(Kf(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+st(o))}normalize(r){return t.stripTrailingSlash(tI(this._basePath,Kf(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+st(o)),i)}replaceState(r,o="",i=null){this._locationStrategy.replaceState(i,"",r,o),this._notifyUrlChangeListeners(this.prepareExternalUrl(r+st(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=st,t.joinWithSlash=pu,t.stripTrailingSlash=Qf,t.\u0275fac=function(o){return new(o||t)(X(di))},t.\u0275prov=j({token:t,factory:()=>eI(),providedIn:"root"});let e=t;return e})();function eI(){return new XE(X(di))}function tI(e,t){if(!e||!t.startsWith(e))return t;let n=t.substring(e.length);return n===""||["/",";","?","#"].includes(n[0])?n:t}function Kf(e){return e.replace(/\/index.html$/,"")}function nI(e){if(new RegExp("^(https?:)?//").test(e)){let[,n]=e.split(/\/\/[^\/]+/);return n}return e}var sp=function(e){return e[e.Decimal=0]="Decimal",e[e.Percent=1]="Percent",e[e.Currency=2]="Currency",e[e.Scientific=3]="Scientific",e}(sp||{});var oe=function(e){return e[e.Format=0]="Format",e[e.Standalone=1]="Standalone",e}(oe||{}),k=function(e){return e[e.Narrow=0]="Narrow",e[e.Abbreviated=1]="Abbreviated",e[e.Wide=2]="Wide",e[e.Short=3]="Short",e}(k||{}),pe=function(e){return e[e.Short=0]="Short",e[e.Medium=1]="Medium",e[e.Long=2]="Long",e[e.Full=3]="Full",e}(pe||{}),he={Decimal:0,Group:1,List:2,PercentSign:3,PlusSign:4,MinusSign:5,Exponential:6,SuperscriptingExponent:7,PerMille:8,Infinity:9,NaN:10,TimeSeparator:11,CurrencyDecimal:12,CurrencyGroup:13};function rI(e){return fe(e)[H.LocaleId]}function oI(e,t,n){let r=fe(e),o=[r[H.DayPeriodsFormat],r[H.DayPeriodsStandalone]],i=ve(o,t);return ve(i,n)}function iI(e,t,n){let r=fe(e),o=[r[H.DaysFormat],r[H.DaysStandalone]],i=ve(o,t);return ve(i,n)}function sI(e,t,n){let r=fe(e),o=[r[H.MonthsFormat],r[H.MonthsStandalone]],i=ve(o,t);return ve(i,n)}function aI(e,t){let r=fe(e)[H.Eras];return ve(r,t)}function ti(e,t){let n=fe(e);return ve(n[H.DateFormat],t)}function ni(e,t){let n=fe(e);return ve(n[H.TimeFormat],t)}function ri(e,t){let r=fe(e)[H.DateTimeFormat];return ve(r,t)}function at(e,t){let n=fe(e),r=n[H.NumberSymbols][t];if(typeof r>"u"){if(t===he.CurrencyDecimal)return n[H.NumberSymbols][he.Decimal];if(t===he.CurrencyGroup)return n[H.NumberSymbols][he.Group]}return r}function uI(e,t){return fe(e)[H.NumberFormats][t]}function ap(e){if(!e[H.ExtraData])throw new Error(`Missing extra locale data for the locale "${e[H.LocaleId]}". Use "registerLocaleData" to load new data. See the "I18n guide" on angular.io to know more.`)}function cI(e){let t=fe(e);return ap(t),(t[H.ExtraData][2]||[]).map(r=>typeof r=="string"?eu(r):[eu(r[0]),eu(r[1])])}function lI(e,t,n){let r=fe(e);ap(r);let o=[r[H.ExtraData][0],r[H.ExtraData][1]],i=ve(o,t)||[];return ve(i,n)||[]}function ve(e,t){for(let n=t;n>-1;n--)if(typeof e[n]<"u")return e[n];throw new Error("Locale data API: locale data undefined")}function eu(e){let[t,n]=e.split(":");return{hours:+t,minutes:+n}}var dI=/^(\d{4,})-?(\d\d)-?(\d\d)(?:T(\d\d)(?::?(\d\d)(?::?(\d\d)(?:\.(\d+))?)?)?(Z|([+-])(\d\d):?(\d\d))?)?$/,oi={},fI=/((?:[^BEGHLMOSWYZabcdhmswyz']+)|(?:'(?:[^']|'')*')|(?:G{1,5}|y{1,4}|Y{1,4}|M{1,5}|L{1,5}|w{1,2}|W{1}|d{1,2}|E{1,6}|c{1,6}|a{1,5}|b{1,5}|B{1,5}|h{1,2}|H{1,2}|m{1,2}|s{1,2}|S{1,3}|z{1,4}|Z{1,5}|O{1,4}))([\s\S]*)/,ut=function(e){return e[e.Short=0]="Short",e[e.ShortGMT=1]="ShortGMT",e[e.Long=2]="Long",e[e.Extended=3]="Extended",e}(ut||{}),F=function(e){return e[e.FullYear=0]="FullYear",e[e.Month=1]="Month",e[e.Date=2]="Date",e[e.Hours=3]="Hours",e[e.Minutes=4]="Minutes",e[e.Seconds=5]="Seconds",e[e.FractionalSeconds=6]="FractionalSeconds",e[e.Day=7]="Day",e}(F||{}),O=function(e){return e[e.DayPeriods=0]="DayPeriods",e[e.Days=1]="Days",e[e.Months=2]="Months",e[e.Eras=3]="Eras",e}(O||{});function pI(e,t,n,r){let o=wI(e);t=it(n,t)||t;let s=[],a;for(;t;)if(a=fI.exec(t),a){s=s.concat(a.slice(1));let l=s.pop();if(!l)break;t=l}else{s.push(t);break}let u=o.getTimezoneOffset();r&&(u=cp(r,u),o=II(o,r,!0));let c="";return s.forEach(l=>{let d=DI(l);c+=d?d(o,n,u):l==="''"?"'":l.replace(/(^'|'$)/g,"").replace(/''/g,"'")}),c}function ci(e,t,n){let r=new Date(0);return r.setFullYear(e,t,n),r.setHours(0,0,0),r}function it(e,t){let n=rI(e);if(oi[n]??={},oi[n][t])return oi[n][t];let r="";switch(t){case"shortDate":r=ti(e,pe.Short);break;case"mediumDate":r=ti(e,pe.Medium);break;case"longDate":r=ti(e,pe.Long);break;case"fullDate":r=ti(e,pe.Full);break;case"shortTime":r=ni(e,pe.Short);break;case"mediumTime":r=ni(e,pe.Medium);break;case"longTime":r=ni(e,pe.Long);break;case"fullTime":r=ni(e,pe.Full);break;case"short":let o=it(e,"shortTime"),i=it(e,"shortDate");r=ii(ri(e,pe.Short),[o,i]);break;case"medium":let s=it(e,"mediumTime"),a=it(e,"mediumDate");r=ii(ri(e,pe.Medium),[s,a]);break;case"long":let u=it(e,"longTime"),c=it(e,"longDate");r=ii(ri(e,pe.Long),[u,c]);break;case"full":let l=it(e,"fullTime"),d=it(e,"fullDate");r=ii(ri(e,pe.Full),[l,d]);break}return r&&(oi[n][t]=r),r}function ii(e,t){return t&&(e=e.replace(/\{([^}]+)}/g,function(n,r){return t!=null&&r in t?t[r]:n})),e}function Ne(e,t,n="-",r,o){let i="";(e<0||o&&e<=0)&&(o?e=-e+1:(e=-e,i=n));let s=String(e);for(;s.length<t;)s="0"+s;return r&&(s=s.slice(s.length-t)),i+s}function hI(e,t){return Ne(e,3).substring(0,t)}function U(e,t,n=0,r=!1,o=!1){return function(i,s){let a=gI(e,i);if((n>0||a>-n)&&(a+=n),e===F.Hours)a===0&&n===-12&&(a=12);else if(e===F.FractionalSeconds)return hI(a,t);let u=at(s,he.MinusSign);return Ne(a,t,u,r,o)}}function gI(e,t){switch(e){case F.FullYear:return t.getFullYear();case F.Month:return t.getMonth();case F.Date:return t.getDate();case F.Hours:return t.getHours();case F.Minutes:return t.getMinutes();case F.Seconds:return t.getSeconds();case F.FractionalSeconds:return t.getMilliseconds();case F.Day:return t.getDay();default:throw new Error(`Unknown DateType value "${e}".`)}}function P(e,t,n=oe.Format,r=!1){return function(o,i){return mI(o,i,e,t,n,r)}}function mI(e,t,n,r,o,i){switch(n){case O.Months:return sI(t,o,r)[e.getMonth()];case O.Days:return iI(t,o,r)[e.getDay()];case O.DayPeriods:let s=e.getHours(),a=e.getMinutes();if(i){let c=cI(t),l=lI(t,o,r),d=c.findIndex(p=>{if(Array.isArray(p)){let[f,h]=p,g=s>=f.hours&&a>=f.minutes,_=s<h.hours||s===h.hours&&a<h.minutes;if(f.hours<h.hours){if(g&&_)return!0}else if(g||_)return!0}else if(p.hours===s&&p.minutes===a)return!0;return!1});if(d!==-1)return l[d]}return oI(t,o,r)[s<12?0:1];case O.Eras:return aI(t,r)[e.getFullYear()<=0?0:1];default:let u=n;throw new Error(`unexpected translation type ${u}`)}}function si(e){return function(t,n,r){let o=-1*r,i=at(n,he.MinusSign),s=o>0?Math.floor(o/60):Math.ceil(o/60);switch(e){case ut.Short:return(o>=0?"+":"")+Ne(s,2,i)+Ne(Math.abs(o%60),2,i);case ut.ShortGMT:return"GMT"+(o>=0?"+":"")+Ne(s,1,i);case ut.Long:return"GMT"+(o>=0?"+":"")+Ne(s,2,i)+":"+Ne(Math.abs(o%60),2,i);case ut.Extended:return r===0?"Z":(o>=0?"+":"")+Ne(s,2,i)+":"+Ne(Math.abs(o%60),2,i);default:throw new Error(`Unknown zone width "${e}"`)}}}var yI=0,ui=4;function vI(e){let t=ci(e,yI,1).getDay();return ci(e,0,1+(t<=ui?ui:ui+7)-t)}function up(e){let t=e.getDay(),n=t===0?-3:ui-t;return ci(e.getFullYear(),e.getMonth(),e.getDate()+n)}function tu(e,t=!1){return function(n,r){let o;if(t){let i=new Date(n.getFullYear(),n.getMonth(),1).getDay()-1,s=n.getDate();o=1+Math.floor((s+i)/7)}else{let i=up(n),s=vI(i.getFullYear()),a=i.getTime()-s.getTime();o=1+Math.round(a/6048e5)}return Ne(o,e,at(r,he.MinusSign))}}function ai(e,t=!1){return function(n,r){let i=up(n).getFullYear();return Ne(i,e,at(r,he.MinusSign),t)}}var nu={};function DI(e){if(nu[e])return nu[e];let t;switch(e){case"G":case"GG":case"GGG":t=P(O.Eras,k.Abbreviated);break;case"GGGG":t=P(O.Eras,k.Wide);break;case"GGGGG":t=P(O.Eras,k.Narrow);break;case"y":t=U(F.FullYear,1,0,!1,!0);break;case"yy":t=U(F.FullYear,2,0,!0,!0);break;case"yyy":t=U(F.FullYear,3,0,!1,!0);break;case"yyyy":t=U(F.FullYear,4,0,!1,!0);break;case"Y":t=ai(1);break;case"YY":t=ai(2,!0);break;case"YYY":t=ai(3);break;case"YYYY":t=ai(4);break;case"M":case"L":t=U(F.Month,1,1);break;case"MM":case"LL":t=U(F.Month,2,1);break;case"MMM":t=P(O.Months,k.Abbreviated);break;case"MMMM":t=P(O.Months,k.Wide);break;case"MMMMM":t=P(O.Months,k.Narrow);break;case"LLL":t=P(O.Months,k.Abbreviated,oe.Standalone);break;case"LLLL":t=P(O.Months,k.Wide,oe.Standalone);break;case"LLLLL":t=P(O.Months,k.Narrow,oe.Standalone);break;case"w":t=tu(1);break;case"ww":t=tu(2);break;case"W":t=tu(1,!0);break;case"d":t=U(F.Date,1);break;case"dd":t=U(F.Date,2);break;case"c":case"cc":t=U(F.Day,1);break;case"ccc":t=P(O.Days,k.Abbreviated,oe.Standalone);break;case"cccc":t=P(O.Days,k.Wide,oe.Standalone);break;case"ccccc":t=P(O.Days,k.Narrow,oe.Standalone);break;case"cccccc":t=P(O.Days,k.Short,oe.Standalone);break;case"E":case"EE":case"EEE":t=P(O.Days,k.Abbreviated);break;case"EEEE":t=P(O.Days,k.Wide);break;case"EEEEE":t=P(O.Days,k.Narrow);break;case"EEEEEE":t=P(O.Days,k.Short);break;case"a":case"aa":case"aaa":t=P(O.DayPeriods,k.Abbreviated);break;case"aaaa":t=P(O.DayPeriods,k.Wide);break;case"aaaaa":t=P(O.DayPeriods,k.Narrow);break;case"b":case"bb":case"bbb":t=P(O.DayPeriods,k.Abbreviated,oe.Standalone,!0);break;case"bbbb":t=P(O.DayPeriods,k.Wide,oe.Standalone,!0);break;case"bbbbb":t=P(O.DayPeriods,k.Narrow,oe.Standalone,!0);break;case"B":case"BB":case"BBB":t=P(O.DayPeriods,k.Abbreviated,oe.Format,!0);break;case"BBBB":t=P(O.DayPeriods,k.Wide,oe.Format,!0);break;case"BBBBB":t=P(O.DayPeriods,k.Narrow,oe.Format,!0);break;case"h":t=U(F.Hours,1,-12);break;case"hh":t=U(F.Hours,2,-12);break;case"H":t=U(F.Hours,1);break;case"HH":t=U(F.Hours,2);break;case"m":t=U(F.Minutes,1);break;case"mm":t=U(F.Minutes,2);break;case"s":t=U(F.Seconds,1);break;case"ss":t=U(F.Seconds,2);break;case"S":t=U(F.FractionalSeconds,1);break;case"SS":t=U(F.FractionalSeconds,2);break;case"SSS":t=U(F.FractionalSeconds,3);break;case"Z":case"ZZ":case"ZZZ":t=si(ut.Short);break;case"ZZZZZ":t=si(ut.Extended);break;case"O":case"OO":case"OOO":case"z":case"zz":case"zzz":t=si(ut.ShortGMT);break;case"OOOO":case"ZZZZ":case"zzzz":t=si(ut.Long);break;default:return null}return nu[e]=t,t}function cp(e,t){e=e.replace(/:/g,"");let n=Date.parse("Jan 01, 1970 00:00:00 "+e)/6e4;return isNaN(n)?t:n}function EI(e,t){return e=new Date(e.getTime()),e.setMinutes(e.getMinutes()+t),e}function II(e,t,n){let r=n?-1:1,o=e.getTimezoneOffset(),i=cp(t,o);return EI(e,r*(i-o))}function wI(e){if(Jf(e))return e;if(typeof e=="number"&&!isNaN(e))return new Date(e);if(typeof e=="string"){if(e=e.trim(),/^(\d{4}(-\d{1,2}(-\d{1,2})?)?)$/.test(e)){let[o,i=1,s=1]=e.split("-").map(a=>+a);return ci(o,i-1,s)}let n=parseFloat(e);if(!isNaN(e-n))return new Date(n);let r;if(r=e.match(dI))return CI(r)}let t=new Date(e);if(!Jf(t))throw new Error(`Unable to convert "${e}" into a date`);return t}function CI(e){let t=new Date(0),n=0,r=0,o=e[8]?t.setUTCFullYear:t.setFullYear,i=e[8]?t.setUTCHours:t.setHours;e[9]&&(n=Number(e[9]+e[10]),r=Number(e[9]+e[11])),o.call(t,Number(e[1]),Number(e[2])-1,Number(e[3]));let s=Number(e[4]||0)-n,a=Number(e[5]||0)-r,u=Number(e[6]||0),c=Math.floor(parseFloat("0."+(e[7]||0))*1e3);return i.call(t,s,a,u,c),t}function Jf(e){return e instanceof Date&&!isNaN(e.valueOf())}var bI=/^(\d+)?\.((\d+)(-(\d+))?)?$/,Xf=22,li=".",nr="0",_I=";",MI=",",ru="#";function xI(e,t,n,r,o,i,s=!1){let a="",u=!1;if(!isFinite(e))a=at(n,he.Infinity);else{let c=AI(e);s&&(c=NI(c));let l=t.minInt,d=t.minFrac,p=t.maxFrac;if(i){let L=i.match(bI);if(L===null)throw new Error(`${i} is not a valid digit info`);let q=L[1],le=L[3],ze=L[5];q!=null&&(l=ou(q)),le!=null&&(d=ou(le)),ze!=null?p=ou(ze):le!=null&&d>p&&(p=d)}OI(c,d,p);let f=c.digits,h=c.integerLen,g=c.exponent,_=[];for(u=f.every(L=>!L);h<l;h++)f.unshift(0);for(;h<0;h++)f.unshift(0);h>0?_=f.splice(h,f.length):(_=f,f=[0]);let C=[];for(f.length>=t.lgSize&&C.unshift(f.splice(-t.lgSize,f.length).join(""));f.length>t.gSize;)C.unshift(f.splice(-t.gSize,f.length).join(""));f.length&&C.unshift(f.join("")),a=C.join(at(n,r)),_.length&&(a+=at(n,o)+_.join("")),g&&(a+=at(n,he.Exponential)+"+"+g)}return e<0&&!u?a=t.negPre+a+t.negSuf:a=t.posPre+a+t.posSuf,a}function SI(e,t,n){let r=uI(t,sp.Decimal),o=TI(r,at(t,he.MinusSign));return xI(e,o,t,he.Group,he.Decimal,n)}function TI(e,t="-"){let n={minInt:1,minFrac:0,maxFrac:0,posPre:"",posSuf:"",negPre:"",negSuf:"",gSize:0,lgSize:0},r=e.split(_I),o=r[0],i=r[1],s=o.indexOf(li)!==-1?o.split(li):[o.substring(0,o.lastIndexOf(nr)+1),o.substring(o.lastIndexOf(nr)+1)],a=s[0],u=s[1]||"";n.posPre=a.substring(0,a.indexOf(ru));for(let l=0;l<u.length;l++){let d=u.charAt(l);d===nr?n.minFrac=n.maxFrac=l+1:d===ru?n.maxFrac=l+1:n.posSuf+=d}let c=a.split(MI);if(n.gSize=c[1]?c[1].length:0,n.lgSize=c[2]||c[1]?(c[2]||c[1]).length:0,i){let l=o.length-n.posPre.length-n.posSuf.length,d=i.indexOf(ru);n.negPre=i.substring(0,d).replace(/'/g,""),n.negSuf=i.slice(d+l).replace(/'/g,"")}else n.negPre=t+n.posPre,n.negSuf=n.posSuf;return n}function NI(e){if(e.digits[0]===0)return e;let t=e.digits.length-e.integerLen;return e.exponent?e.exponent+=2:(t===0?e.digits.push(0,0):t===1&&e.digits.push(0),e.integerLen+=2),e}function AI(e){let t=Math.abs(e)+"",n=0,r,o,i,s,a;for((o=t.indexOf(li))>-1&&(t=t.replace(li,"")),(i=t.search(/e/i))>0?(o<0&&(o=i),o+=+t.slice(i+1),t=t.substring(0,i)):o<0&&(o=t.length),i=0;t.charAt(i)===nr;i++);if(i===(a=t.length))r=[0],o=1;else{for(a--;t.charAt(a)===nr;)a--;for(o-=i,r=[],s=0;i<=a;i++,s++)r[s]=Number(t.charAt(i))}return o>Xf&&(r=r.splice(0,Xf-1),n=o-1,o=1),{digits:r,exponent:n,integerLen:o}}function OI(e,t,n){if(t>n)throw new Error(`The minimum number of digits after fraction (${t}) is higher than the maximum (${n}).`);let r=e.digits,o=r.length-e.integerLen,i=Math.min(Math.max(t,o),n),s=i+e.integerLen,a=r[s];if(s>0){r.splice(Math.max(e.integerLen,s));for(let d=s;d<r.length;d++)r[d]=0}else{o=Math.max(0,o),e.integerLen=1,r.length=Math.max(1,s=i+1),r[0]=0;for(let d=1;d<s;d++)r[d]=0}if(a>=5)if(s-1<0){for(let d=0;d>s;d--)r.unshift(0),e.integerLen++;r.unshift(1),e.integerLen++}else r[s-1]++;for(;o<Math.max(0,i);o++)r.push(0);let u=i!==0,c=t+e.integerLen,l=r.reduceRight(function(d,p,f,h){return p=p+d,h[f]=p<10?p:p-10,u&&(h[f]===0&&f>=c?h.pop():u=!1),p>=10?1:0},0);l&&(r.unshift(l),e.integerLen++)}function ou(e){let t=parseInt(e);if(isNaN(t))throw new Error("Invalid integer literal when parsing "+e);return t}function $A(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 iu=/\s+/,ep=[],HA=(()=>{let t=class t{constructor(r,o){this._ngEl=r,this._renderer=o,this.initialClasses=ep,this.stateMap=new Map}set klass(r){this.initialClasses=r!=null?r.trim().split(iu):ep}set ngClass(r){this.rawClass=typeof r=="string"?r.trim().split(iu):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(iu).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)(W(wt),W(Qo))},t.\u0275dir=vn({type:t,selectors:[["","ngClass",""]],inputs:{klass:[0,"class","klass"],ngClass:"ngClass"},standalone:!0});let e=t;return e})(),UA=(()=>{let t=class t{constructor(r){this._viewContainerRef=r,this.ngComponentOutlet=null,this._inputsUsed=new Map}_needToReCreateNgModuleInstance(r){return r.ngComponentOutletNgModule!==void 0||r.ngComponentOutletNgModuleFactory!==void 0}_needToReCreateComponentInstance(r){return r.ngComponentOutlet!==void 0||r.ngComponentOutletContent!==void 0||r.ngComponentOutletInjector!==void 0||this._needToReCreateNgModuleInstance(r)}ngOnChanges(r){if(this._needToReCreateComponentInstance(r)&&(this._viewContainerRef.clear(),this._inputsUsed.clear(),this._componentRef=void 0,this.ngComponentOutlet)){let o=this.ngComponentOutletInjector||this._viewContainerRef.parentInjector;this._needToReCreateNgModuleInstance(r)&&(this._moduleRef?.destroy(),this.ngComponentOutletNgModule?this._moduleRef=_f(this.ngComponentOutletNgModule,tp(o)):this.ngComponentOutletNgModuleFactory?this._moduleRef=this.ngComponentOutletNgModuleFactory.create(tp(o)):this._moduleRef=void 0),this._componentRef=this._viewContainerRef.createComponent(this.ngComponentOutlet,{injector:o,ngModuleRef:this._moduleRef,projectableNodes:this.ngComponentOutletContent})}}ngDoCheck(){if(this._componentRef){if(this.ngComponentOutletInputs)for(let r of Object.keys(this.ngComponentOutletInputs))this._inputsUsed.set(r,!0);this._applyInputStateDiff(this._componentRef)}}ngOnDestroy(){this._moduleRef?.destroy()}_applyInputStateDiff(r){for(let[o,i]of this._inputsUsed)i?(r.setInput(o,this.ngComponentOutletInputs[o]),this._inputsUsed.set(o,!1)):(r.setInput(o,void 0),this._inputsUsed.delete(o))}};t.\u0275fac=function(o){return new(o||t)(W(Gt))},t.\u0275dir=vn({type:t,selectors:[["","ngComponentOutlet",""]],inputs:{ngComponentOutlet:"ngComponentOutlet",ngComponentOutletInputs:"ngComponentOutletInputs",ngComponentOutletInjector:"ngComponentOutletInjector",ngComponentOutletContent:"ngComponentOutletContent",ngComponentOutletNgModule:"ngComponentOutletNgModule",ngComponentOutletNgModuleFactory:"ngComponentOutletNgModuleFactory"},standalone:!0,features:[ko]});let e=t;return e})();function tp(e){return e.get(tt).injector}var GA=(()=>{let t=class t{constructor(r,o){this._viewContainer=r,this._context=new su,this._thenTemplateRef=null,this._elseTemplateRef=null,this._thenViewRef=null,this._elseViewRef=null,this._thenTemplateRef=o}set ngIf(r){this._context.$implicit=this._context.ngIf=r,this._updateView()}set ngIfThen(r){np("ngIfThen",r),this._thenTemplateRef=r,this._thenViewRef=null,this._updateView()}set ngIfElse(r){np("ngIfElse",r),this._elseTemplateRef=r,this._elseViewRef=null,this._updateView()}_updateView(){this._context.$implicit?this._thenViewRef||(this._viewContainer.clear(),this._elseViewRef=null,this._thenTemplateRef&&(this._thenViewRef=this._viewContainer.createEmbeddedView(this._thenTemplateRef,this._context))):this._elseViewRef||(this._viewContainer.clear(),this._thenViewRef=null,this._elseTemplateRef&&(this._elseViewRef=this._viewContainer.createEmbeddedView(this._elseTemplateRef,this._context)))}static ngTemplateContextGuard(r,o){return!0}};t.\u0275fac=function(o){return new(o||t)(W(Gt),W(pn))},t.\u0275dir=vn({type:t,selectors:[["","ngIf",""]],inputs:{ngIf:"ngIf",ngIfThen:"ngIfThen",ngIfElse:"ngIfElse"},standalone:!0});let e=t;return e})(),su=class{constructor(){this.$implicit=null,this.ngIf=null}};function np(e,t){if(!!!(!t||t.createEmbeddedView))throw new Error(`${e} must be a TemplateRef, but received '${re(t)}'.`)}var zA=(()=>{let t=class t{constructor(r,o,i){this._ngEl=r,this._differs=o,this._renderer=i,this._ngStyle=null,this._differ=null}set ngStyle(r){this._ngStyle=r,!this._differ&&r&&(this._differ=this._differs.find(r).create())}ngDoCheck(){if(this._differ){let r=this._differ.diff(this._ngStyle);r&&this._applyChanges(r)}}_setStyle(r,o){let[i,s]=r.split("."),a=i.indexOf("-")===-1?void 0:Hn.DashCase;o!=null?this._renderer.setStyle(this._ngEl.nativeElement,i,s?`${o}${s}`:o,a):this._renderer.removeStyle(this._ngEl.nativeElement,i,a)}_applyChanges(r){r.forEachRemovedItem(o=>this._setStyle(o.key,null)),r.forEachAddedItem(o=>this._setStyle(o.key,o.currentValue)),r.forEachChangedItem(o=>this._setStyle(o.key,o.currentValue))}};t.\u0275fac=function(o){return new(o||t)(W(wt),W(Qa),W(Qo))},t.\u0275dir=vn({type:t,selectors:[["","ngStyle",""]],inputs:{ngStyle:"ngStyle"},standalone:!0});let e=t;return e})(),WA=(()=>{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)(W(Gt))},t.\u0275dir=vn({type:t,selectors:[["","ngTemplateOutlet",""]],inputs:{ngTemplateOutletContext:"ngTemplateOutletContext",ngTemplateOutlet:"ngTemplateOutlet",ngTemplateOutletInjector:"ngTemplateOutletInjector"},standalone:!0,features:[ko]});let e=t;return e})();function fi(e,t){return new N(2100,!1)}var au=class{createSubscription(t,n){return Ka(()=>t.subscribe({next:n,error:r=>{throw r}}))}dispose(t){Ka(()=>t.unsubscribe())}},uu=class{createSubscription(t,n){return t.then(n,r=>{throw r})}dispose(t){}},FI=new uu,RI=new au,qA=(()=>{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(Xo(r))return FI;if(Za(r))return RI;throw fi(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)(W(ei,16))},t.\u0275pipe=Zn({name:"async",type:t,pure:!1,standalone:!0});let e=t;return e})();var kI="mediumDate",PI=new A(""),LI=new A(""),ZA=(()=>{let t=class t{constructor(r,o,i){this.locale=r,this.defaultTimezone=o,this.defaultOptions=i}transform(r,o,i,s){if(r==null||r===""||r!==r)return null;try{let a=o??this.defaultOptions?.dateFormat??kI,u=i??this.defaultOptions?.timezone??this.defaultTimezone??void 0;return pI(r,a,s||this.locale,u)}catch(a){throw fi(t,a.message)}}};t.\u0275fac=function(o){return new(o||t)(W(tr,16),W(PI,24),W(LI,24))},t.\u0275pipe=Zn({name:"date",type:t,pure:!0,standalone:!0});let e=t;return e})();var YA=(()=>{let t=class t{constructor(r){this._locale=r}transform(r,o,i){if(!jI(r))return null;i||=this._locale;try{let s=VI(r);return SI(s,i,o)}catch(s){throw fi(t,s.message)}}};t.\u0275fac=function(o){return new(o||t)(W(tr,16))},t.\u0275pipe=Zn({name:"number",type:t,pure:!0,standalone:!0});let e=t;return e})();function jI(e){return!(e==null||e===""||e!==e)}function VI(e){if(typeof e=="string"&&!isNaN(Number(e)-parseFloat(e)))return Number(e);if(typeof e!="number")throw new Error(`${e} is not a number`);return e}var QA=(()=>{let t=class t{transform(r,o,i){if(r==null)return null;if(!this.supports(r))throw fi(t,r);return r.slice(o,i)}supports(r){return typeof r=="string"||Array.isArray(r)}};t.\u0275fac=function(o){return new(o||t)},t.\u0275pipe=Zn({name:"slice",type:t,pure:!1,standalone:!0});let e=t;return e})();var KA=(()=>{let t=class t{};t.\u0275fac=function(o){return new(o||t)},t.\u0275mod=xl({type:t}),t.\u0275inj=pl({});let e=t;return e})(),BI="browser",$I="server";function HI(e){return e===BI}function JA(e){return e===$I}var XA=(()=>{let t=class t{};t.\u0275prov=j({token:t,providedIn:"root",factory:()=>HI(b(Sa))?new cu(b(du),window):new lu});let e=t;return e})(),cu=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=UI(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 UI(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 lu=class{setOffset(t){}getScrollPosition(){return[0,0]}scrollToPosition(t){}scrollToAnchor(t){}setHistoryScrollRestoration(t){}},rp=class{};var Ae=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}(Ae||{}),nO="*";function rO(e,t){return{type:Ae.Trigger,name:e,definitions:t,options:{}}}function oO(e,t=null){return{type:Ae.Animate,styles:t,timings:e}}function iO(e,t=null){return{type:Ae.Group,steps:e,options:t}}function sO(e,t=null){return{type:Ae.Sequence,steps:e,options:t}}function aO(e){return{type:Ae.Style,styles:e,offset:null}}function uO(e,t,n){return{type:Ae.State,name:e,styles:t,options:n}}function cO(e){return{type:Ae.Keyframes,steps:e}}function lO(e,t,n=null){return{type:Ae.Transition,expr:e,animation:t,options:n}}function dO(e=null){return{type:Ae.AnimateChild,options:e}}function fO(e,t,n=null){return{type:Ae.Query,selector:e,animation:t,options:n}}var lp=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}},dp=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}},pO="!";export{Oe as a,Fe as b,GI as c,zI as d,WI as e,qI as f,ZI as g,YI as h,QI as i,Ip as j,vu as k,KI as l,JI as m,XI as n,$ as o,Op as p,M as q,Ti as r,Ni as s,ge as t,_n as u,xn as v,jp as w,Pe as x,Vp as y,Bp as z,qe as A,lb as B,Nn as C,An as D,je as E,ki as F,Zp as G,Yp as H,xt as I,nc as J,rc as K,Ze as L,oh as M,Ce as N,On as O,dt as P,sh as Q,ah as R,Pi as S,Fn as T,hh as U,be as V,mh as W,yh as X,Dh as Y,Eh as Z,lc as _,Ih as $,wh as aa,Ch as ba,Rn as ca,tn as da,Li as ea,bh as fa,_h as ga,Sh as ha,Th as ia,pc as ja,Vi as ka,Nh as la,Ah as ma,$i as na,hc as oa,Oh as pa,Fh as qa,Rh as ra,gc as sa,mc as ta,kh as ua,N as va,dl as wa,j as xa,pl as ya,aN as za,A as Aa,T as Ba,X as Ca,b as Da,rg as Ea,og as Fa,Ln as Ga,uN as Ha,xl as Ia,vn as Ja,Zn as Ka,cN as La,xg as Ma,kl as Na,mt as Oa,jg as Pa,ya as Qa,ko as Ra,lN as Sa,dN as Ta,fN as Ua,bm as Va,Xe as Wa,vt as Xa,$o as Ya,pN as Za,wt as _a,Qn as $a,xe as ab,Is as bb,hN as cb,gN as db,Lm as eb,Sa as fb,mN as gb,yN as hb,Kn as ib,Md as jb,vN as kb,DN as lb,EN as mb,IN as nb,wN as ob,xd as pb,sy as qb,Na as rb,CN as sb,bN as tb,_N as ub,MN as vb,Hn as wb,xN as xb,W as yb,SN as zb,pn as Ab,gn as Bb,mn as Cb,go as Db,Qo as Eb,ot as Fb,ae as Gb,Fv as Hb,Rv as Ib,Gt as Jb,ON as Kb,FN as Lb,cD as Mb,RN as Nb,mD as Ob,qs as Pb,yD as Qb,wD as Rb,_D as Sb,PD as Tb,Tf as Ub,LD as Vb,kN as Wb,PN as Xb,LN as Yb,jN as Zb,VN as _b,BN as $b,$N as ac,HN as bc,Lf as cc,jf as dc,QD as ec,Vf as fc,Bf as gc,XD as hc,UN as ic,tE as jc,nE as kc,cE as lc,GN as mc,zN as nc,WN as oc,hE as pc,qN as qc,ZN as rc,YN as sc,QN as tc,KN as uc,JN as vc,yE as wc,Hf as xc,XN as yc,eA as zc,tA as Ac,nA as Bc,rA as Cc,oA as Dc,iA as Ec,sA as Fc,aA as Gc,uA as Hc,cA as Ic,xo as Jc,lA as Kc,dA as Lc,Xo as Mc,ME as Nc,xE as Oc,Ya as Pc,fA as Qc,ei as Rc,pA as Sc,hA as Tc,zE as Uc,WE as Vc,gA as Wc,Ka as Xc,YE as Yc,mA as Zc,yA as _c,Xa as $c,jA as ad,Yf as bd,du as cd,VA as dd,di as ed,JE as fd,BA as gd,XE as hd,$A as id,HA as jd,UA as kd,GA as ld,zA as md,WA as nd,qA as od,ZA as pd,YA as qd,QA as rd,KA as sd,BI as td,HI as ud,JA as vd,XA as wd,rp as xd,Ae as yd,nO as zd,rO as Ad,oO as Bd,iO as Cd,sO as Dd,aO as Ed,uO as Fd,cO as Gd,lO as Hd,dO as Id,fO as Jd,lp as Kd,dp as Ld,pO as Md};