UNPKG

@rero/rero-ils-ui

Version:

User interface for RERO integrated library system (RERO ILS).

7 lines 244 kB
var _g=Object.create;var qi=Object.defineProperty,wg=Object.defineProperties,bg=Object.getOwnPropertyDescriptor,Dg=Object.getOwnPropertyDescriptors,Tg=Object.getOwnPropertyNames,Tr=Object.getOwnPropertySymbols,Mg=Object.getPrototypeOf,zi=Object.prototype.hasOwnProperty,Cc=Object.prototype.propertyIsEnumerable;var Sc=(t,e,n)=>e in t?qi(t,e,{enumerable:!0,configurable:!0,writable:!0,value:n}):t[e]=n,W=(t,e)=>{for(var n in e||={})zi.call(e,n)&&Sc(t,n,e[n]);if(Tr)for(var n of Tr(e))Cc.call(e,n)&&Sc(t,n,e[n]);return t},fe=(t,e)=>wg(t,Dg(e));var pD=(t=>typeof require<"u"?require:typeof Proxy<"u"?new Proxy(t,{get:(e,n)=>(typeof require<"u"?require:e)[n]}):t)(function(t){if(typeof require<"u")return require.apply(this,arguments);throw Error('Dynamic require of "'+t+'" is not supported')});var hD=t=>typeof t=="symbol"?t:t+"",Nc=(t,e)=>{var n={};for(var r in t)zi.call(t,r)&&e.indexOf(r)<0&&(n[r]=t[r]);if(t!=null&&Tr)for(var r of Tr(t))e.indexOf(r)<0&&Cc.call(t,r)&&(n[r]=t[r]);return n};var gD=(t,e)=>()=>(e||t((e={exports:{}}).exports,e),e.exports);var Sg=(t,e,n,r)=>{if(e&&typeof e=="object"||typeof e=="function")for(let o of Tg(e))!zi.call(t,o)&&o!==n&&qi(t,o,{get:()=>e[o],enumerable:!(r=bg(e,o))||r.enumerable});return t};var mD=(t,e,n)=>(n=t!=null?_g(Mg(t)):{},Sg(e||!t||!t.__esModule?qi(n,"default",{value:t,enumerable:!0}):n,t));function Ki(t,e){return Object.is(t,e)}var G=null,Mr=!1,Zi=1,ie=Symbol("SIGNAL");function C(t){let e=G;return G=t,e}function Yi(){return G}var Ut={version:0,lastCleanEpoch:0,dirty:!1,producerNode:void 0,producerLastReadVersion:void 0,producerIndexOfThis:void 0,nextProducerIndex:0,liveConsumerNode:void 0,liveConsumerIndexOfThis:void 0,consumerAllowSignalWrites:!1,consumerIsAlwaysLive:!1,kind:"unknown",producerMustRecompute:()=>!1,producerRecomputeValue:()=>{},consumerMarkedDirty:()=>{},consumerOnSignalRead:()=>{}};function qt(t){if(Mr)throw new Error("");if(G===null)return;G.consumerOnSignalRead(t);let e=G.nextProducerIndex++;if(Ar(G),e<G.producerNode.length&&G.producerNode[e]!==t&&Rn(G)){let n=G.producerNode[e];xr(n,G.producerIndexOfThis[e])}G.producerNode[e]!==t&&(G.producerNode[e]=t,G.producerIndexOfThis[e]=Rn(G)?Ac(t,G,e):0),G.producerLastReadVersion[e]=t.version}function xc(){Zi++}function Ji(t){if(!(Rn(t)&&!t.dirty)&&!(!t.dirty&&t.lastCleanEpoch===Zi)){if(!t.producerMustRecompute(t)&&!Nr(t)){Qi(t);return}t.producerRecomputeValue(t),Qi(t)}}function Xi(t){if(t.liveConsumerNode===void 0)return;let e=Mr;Mr=!0;try{for(let n of t.liveConsumerNode)n.dirty||Cg(n)}finally{Mr=e}}function es(){return G?.consumerAllowSignalWrites!==!1}function Cg(t){t.dirty=!0,Xi(t),t.consumerMarkedDirty?.(t)}function Qi(t){t.dirty=!1,t.lastCleanEpoch=Zi}function On(t){return t&&(t.nextProducerIndex=0),C(t)}function Cr(t,e){if(C(e),!(!t||t.producerNode===void 0||t.producerIndexOfThis===void 0||t.producerLastReadVersion===void 0)){if(Rn(t))for(let n=t.nextProducerIndex;n<t.producerNode.length;n++)xr(t.producerNode[n],t.producerIndexOfThis[n]);for(;t.producerNode.length>t.nextProducerIndex;)t.producerNode.pop(),t.producerLastReadVersion.pop(),t.producerIndexOfThis.pop()}}function Nr(t){Ar(t);for(let e=0;e<t.producerNode.length;e++){let n=t.producerNode[e],r=t.producerLastReadVersion[e];if(r!==n.version||(Ji(n),r!==n.version))return!0}return!1}function Pn(t){if(Ar(t),Rn(t))for(let e=0;e<t.producerNode.length;e++)xr(t.producerNode[e],t.producerIndexOfThis[e]);t.producerNode.length=t.producerLastReadVersion.length=t.producerIndexOfThis.length=0,t.liveConsumerNode&&(t.liveConsumerNode.length=t.liveConsumerIndexOfThis.length=0)}function Ac(t,e,n){if(kc(t),t.liveConsumerNode.length===0&&Rc(t))for(let r=0;r<t.producerNode.length;r++)t.producerIndexOfThis[r]=Ac(t.producerNode[r],t,r);return t.liveConsumerIndexOfThis.push(n),t.liveConsumerNode.push(e)-1}function xr(t,e){if(kc(t),t.liveConsumerNode.length===1&&Rc(t))for(let r=0;r<t.producerNode.length;r++)xr(t.producerNode[r],t.producerIndexOfThis[r]);let n=t.liveConsumerNode.length-1;if(t.liveConsumerNode[e]=t.liveConsumerNode[n],t.liveConsumerIndexOfThis[e]=t.liveConsumerIndexOfThis[n],t.liveConsumerNode.length--,t.liveConsumerIndexOfThis.length--,e<t.liveConsumerNode.length){let r=t.liveConsumerIndexOfThis[e],o=t.liveConsumerNode[e];Ar(o),o.producerIndexOfThis[r]=e}}function Rn(t){return t.consumerIsAlwaysLive||(t?.liveConsumerNode?.length??0)>0}function Ar(t){t.producerNode??=[],t.producerIndexOfThis??=[],t.producerLastReadVersion??=[]}function kc(t){t.liveConsumerNode??=[],t.liveConsumerIndexOfThis??=[]}function Rc(t){return t.producerNode!==void 0}function kr(t,e){let n=Object.create(Ng);n.computation=t,e!==void 0&&(n.equal=e);let r=()=>{if(Ji(n),qt(n),n.value===Sr)throw n.error;return n.value};return r[ie]=n,r}var Wi=Symbol("UNSET"),Gi=Symbol("COMPUTING"),Sr=Symbol("ERRORED"),Ng=fe(W({},Ut),{value:Wi,dirty:!0,error:null,equal:Ki,kind:"computed",producerMustRecompute(t){return t.value===Wi||t.value===Gi},producerRecomputeValue(t){if(t.value===Gi)throw new Error("Detected cycle in computations.");let e=t.value;t.value=Gi;let n=On(t),r,o=!1;try{r=t.computation(),C(null),o=e!==Wi&&e!==Sr&&r!==Sr&&t.equal(e,r)}catch(i){r=Sr,t.error=i}finally{Cr(t,n)}if(o){t.value=e;return}t.value=r,t.version++}});function xg(){throw new Error}var Oc=xg;function Pc(t){Oc(t)}function ts(t){Oc=t}var Ag=null;function ns(t,e){let n=Object.create(Rr);n.value=t,e!==void 0&&(n.equal=e);let r=()=>(qt(n),n.value);return r[ie]=n,r}function zt(t,e){es()||Pc(t),t.equal(t.value,e)||(t.value=e,kg(t))}function rs(t,e){es()||Pc(t),zt(t,e(t.value))}var Rr=fe(W({},Ut),{equal:Ki,value:void 0,kind:"signal"});function kg(t){t.version++,xc(),Xi(t),Ag?.()}function os(t){let e=C(null);try{return t()}finally{C(e)}}var is;function Fn(){return is}function qe(t){let e=is;return is=t,e}var Or=Symbol("NotFound");function T(t){return typeof t=="function"}function Wt(t){let n=t(r=>{Error.call(r),r.stack=new Error().stack});return n.prototype=Object.create(Error.prototype),n.prototype.constructor=n,n}var Pr=Wt(t=>function(n){t(this),this.message=n?`${n.length} errors occurred during unsubscription: ${n.map((r,o)=>`${o+1}) ${r.toString()}`).join(` `)}`:"",this.name="UnsubscriptionError",this.errors=n});function mt(t,e){if(t){let n=t.indexOf(e);0<=n&&t.splice(n,1)}}var U=class t{constructor(e){this.initialTeardown=e,this.closed=!1,this._parentage=null,this._finalizers=null}unsubscribe(){let e;if(!this.closed){this.closed=!0;let{_parentage:n}=this;if(n)if(this._parentage=null,Array.isArray(n))for(let i of n)i.remove(this);else n.remove(this);let{initialTeardown:r}=this;if(T(r))try{r()}catch(i){e=i instanceof Pr?i.errors:[i]}let{_finalizers:o}=this;if(o){this._finalizers=null;for(let i of o)try{Fc(i)}catch(s){e=e??[],s instanceof Pr?e=[...e,...s.errors]:e.push(s)}}if(e)throw new Pr(e)}}add(e){var n;if(e&&e!==this)if(this.closed)Fc(e);else{if(e instanceof t){if(e.closed||e._hasParent(this))return;e._addParent(this)}(this._finalizers=(n=this._finalizers)!==null&&n!==void 0?n:[]).push(e)}}_hasParent(e){let{_parentage:n}=this;return n===e||Array.isArray(n)&&n.includes(e)}_addParent(e){let{_parentage:n}=this;this._parentage=Array.isArray(n)?(n.push(e),n):n?[n,e]:e}_removeParent(e){let{_parentage:n}=this;n===e?this._parentage=null:Array.isArray(n)&&mt(n,e)}remove(e){let{_finalizers:n}=this;n&&mt(n,e),e instanceof t&&e._removeParent(this)}};U.EMPTY=(()=>{let t=new U;return t.closed=!0,t})();var ss=U.EMPTY;function Fr(t){return t instanceof U||t&&"closed"in t&&T(t.remove)&&T(t.add)&&T(t.unsubscribe)}function Fc(t){T(t)?t():t.unsubscribe()}var Me={onUnhandledError:null,onStoppedNotification:null,Promise:void 0,useDeprecatedSynchronousErrorHandling:!1,useDeprecatedNextContext:!1};var Gt={setTimeout(t,e,...n){let{delegate:r}=Gt;return r?.setTimeout?r.setTimeout(t,e,...n):setTimeout(t,e,...n)},clearTimeout(t){let{delegate:e}=Gt;return(e?.clearTimeout||clearTimeout)(t)},delegate:void 0};function Lr(t){Gt.setTimeout(()=>{let{onUnhandledError:e}=Me;if(e)e(t);else throw t})}function Ln(){}var Lc=as("C",void 0,void 0);function Vc(t){return as("E",void 0,t)}function jc(t){return as("N",t,void 0)}function as(t,e,n){return{kind:t,value:e,error:n}}var yt=null;function Qt(t){if(Me.useDeprecatedSynchronousErrorHandling){let e=!yt;if(e&&(yt={errorThrown:!1,error:null}),t(),e){let{errorThrown:n,error:r}=yt;if(yt=null,n)throw r}}else t()}function Hc(t){Me.useDeprecatedSynchronousErrorHandling&&yt&&(yt.errorThrown=!0,yt.error=t)}var vt=class extends U{constructor(e){super(),this.isStopped=!1,e?(this.destination=e,Fr(e)&&e.add(this)):this.destination=Vg}static create(e,n,r){return new ze(e,n,r)}next(e){this.isStopped?cs(jc(e),this):this._next(e)}error(e){this.isStopped?cs(Vc(e),this):(this.isStopped=!0,this._error(e))}complete(){this.isStopped?cs(Lc,this):(this.isStopped=!0,this._complete())}unsubscribe(){this.closed||(this.isStopped=!0,super.unsubscribe(),this.destination=null)}_next(e){this.destination.next(e)}_error(e){try{this.destination.error(e)}finally{this.unsubscribe()}}_complete(){try{this.destination.complete()}finally{this.unsubscribe()}}},Fg=Function.prototype.bind;function ls(t,e){return Fg.call(t,e)}var us=class{constructor(e){this.partialObserver=e}next(e){let{partialObserver:n}=this;if(n.next)try{n.next(e)}catch(r){Vr(r)}}error(e){let{partialObserver:n}=this;if(n.error)try{n.error(e)}catch(r){Vr(r)}else Vr(e)}complete(){let{partialObserver:e}=this;if(e.complete)try{e.complete()}catch(n){Vr(n)}}},ze=class extends vt{constructor(e,n,r){super();let o;if(T(e)||!e)o={next:e??void 0,error:n??void 0,complete:r??void 0};else{let i;this&&Me.useDeprecatedNextContext?(i=Object.create(e),i.unsubscribe=()=>this.unsubscribe(),o={next:e.next&&ls(e.next,i),error:e.error&&ls(e.error,i),complete:e.complete&&ls(e.complete,i)}):o=e}this.destination=new us(o)}};function Vr(t){Me.useDeprecatedSynchronousErrorHandling?Hc(t):Lr(t)}function Lg(t){throw t}function cs(t,e){let{onStoppedNotification:n}=Me;n&&Gt.setTimeout(()=>n(t,e))}var Vg={closed:!0,next:Ln,error:Lg,complete:Ln};var Kt=typeof Symbol=="function"&&Symbol.observable||"@@observable";function se(t){return t}function jg(...t){return ds(t)}function ds(t){return t.length===0?se:t.length===1?t[0]:function(n){return t.reduce((r,o)=>o(r),n)}}var O=(()=>{class t{constructor(n){n&&(this._subscribe=n)}lift(n){let r=new t;return r.source=this,r.operator=n,r}subscribe(n,r,o){let i=Bg(n)?n:new ze(n,r,o);return Qt(()=>{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=Bc(r),new r((o,i)=>{let s=new ze({next:a=>{try{n(a)}catch(l){i(l),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)}[Kt](){return this}pipe(...n){return ds(n)(this)}toPromise(n){return n=Bc(n),new n((r,o)=>{let i;this.subscribe(s=>i=s,s=>o(s),()=>r(i))})}}return t.create=e=>new t(e),t})();function Bc(t){var e;return(e=t??Me.Promise)!==null&&e!==void 0?e:Promise}function Hg(t){return t&&T(t.next)&&T(t.error)&&T(t.complete)}function Bg(t){return t&&t instanceof vt||Hg(t)&&Fr(t)}function fs(t){return T(t?.lift)}function N(t){return e=>{if(fs(e))return e.lift(function(n){try{return t(n,this)}catch(r){this.error(r)}});throw new TypeError("Unable to lift unknown Observable type")}}function M(t,e,n,r,o){return new ps(t,e,n,r,o)}var ps=class extends vt{constructor(e,n,r,o,i,s){super(e),this.onFinalize=i,this.shouldUnsubscribe=s,this._next=n?function(a){try{n(a)}catch(l){e.error(l)}}:super._next,this._error=o?function(a){try{o(a)}catch(l){e.error(l)}finally{this.unsubscribe()}}:super._error,this._complete=r?function(){try{r()}catch(a){e.error(a)}finally{this.unsubscribe()}}:super._complete}unsubscribe(){var e;if(!this.shouldUnsubscribe||this.shouldUnsubscribe()){let{closed:n}=this;super.unsubscribe(),!n&&((e=this.onFinalize)===null||e===void 0||e.call(this))}}};function hs(){return N((t,e)=>{let n=null;t._refCount++;let r=M(e,void 0,void 0,void 0,()=>{if(!t||t._refCount<=0||0<--t._refCount){n=null;return}let o=t._connection,i=n;n=null,o&&(!i||o===i)&&o.unsubscribe(),e.unsubscribe()});t.subscribe(r),r.closed||(n=t.connect())})}var gs=class extends O{constructor(e,n){super(),this.source=e,this.subjectFactory=n,this._subject=null,this._refCount=0,this._connection=null,fs(e)&&(this.lift=e.lift)}_subscribe(e){return this.getSubject().subscribe(e)}getSubject(){let e=this._subject;return(!e||e.isStopped)&&(this._subject=this.subjectFactory()),this._subject}_teardown(){this._refCount=0;let{_connection:e}=this;this._subject=this._connection=null,e?.unsubscribe()}connect(){let e=this._connection;if(!e){e=this._connection=new U;let n=this.getSubject();e.add(this.source.subscribe(M(n,void 0,()=>{this._teardown(),n.complete()},r=>{this._teardown(),n.error(r)},()=>this._teardown()))),e.closed&&(this._connection=null,e=U.EMPTY)}return e}refCount(){return hs()(this)}};var Zt={schedule(t){let e=requestAnimationFrame,n=cancelAnimationFrame,{delegate:r}=Zt;r&&(e=r.requestAnimationFrame,n=r.cancelAnimationFrame);let o=e(i=>{n=void 0,t(i)});return new U(()=>n?.(o))},requestAnimationFrame(...t){let{delegate:e}=Zt;return(e?.requestAnimationFrame||requestAnimationFrame)(...t)},cancelAnimationFrame(...t){let{delegate:e}=Zt;return(e?.cancelAnimationFrame||cancelAnimationFrame)(...t)},delegate:void 0};var $c=Wt(t=>function(){t(this),this.name="ObjectUnsubscribedError",this.message="object unsubscribed"});var be=(()=>{class t extends O{constructor(){super(),this.closed=!1,this.currentObservers=null,this.observers=[],this.isStopped=!1,this.hasError=!1,this.thrownError=null}lift(n){let r=new jr(this,this);return r.operator=n,r}_throwIfClosed(){if(this.closed)throw new $c}next(n){Qt(()=>{if(this._throwIfClosed(),!this.isStopped){this.currentObservers||(this.currentObservers=Array.from(this.observers));for(let r of this.currentObservers)r.next(n)}})}error(n){Qt(()=>{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(){Qt(()=>{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?ss:(this.currentObservers=null,i.push(n),new U(()=>{this.currentObservers=null,mt(i,n)}))}_checkFinalizedStatuses(n){let{hasError:r,thrownError:o,isStopped:i}=this;r?n.error(o):i&&n.complete()}asObservable(){let n=new O;return n.source=this,n}}return t.create=(e,n)=>new jr(e,n),t})(),jr=class extends be{constructor(e,n){super(),this.destination=e,this.source=n}next(e){var n,r;(r=(n=this.destination)===null||n===void 0?void 0:n.next)===null||r===void 0||r.call(n,e)}error(e){var n,r;(r=(n=this.destination)===null||n===void 0?void 0:n.error)===null||r===void 0||r.call(n,e)}complete(){var e,n;(n=(e=this.destination)===null||e===void 0?void 0:e.complete)===null||n===void 0||n.call(e)}_subscribe(e){var n,r;return(r=(n=this.source)===null||n===void 0?void 0:n.subscribe(e))!==null&&r!==void 0?r:ss}};var Vn=class extends be{constructor(e){super(),this._value=e}get value(){return this.getValue()}_subscribe(e){let n=super._subscribe(e);return!n.closed&&e.next(this._value),n}getValue(){let{hasError:e,thrownError:n,_value:r}=this;if(e)throw n;return this._throwIfClosed(),r}next(e){super.next(this._value=e)}};var jn={now(){return(jn.delegate||Date).now()},delegate:void 0};var Hn=class extends be{constructor(e=1/0,n=1/0,r=jn){super(),this._bufferSize=e,this._windowTime=n,this._timestampProvider=r,this._buffer=[],this._infiniteTimeWindow=!0,this._infiniteTimeWindow=n===1/0,this._bufferSize=Math.max(1,e),this._windowTime=Math.max(1,n)}next(e){let{isStopped:n,_buffer:r,_infiniteTimeWindow:o,_timestampProvider:i,_windowTime:s}=this;n||(r.push(e),!o&&r.push(i.now()+s)),this._trimBuffer(),super.next(e)}_subscribe(e){this._throwIfClosed(),this._trimBuffer();let n=this._innerSubscribe(e),{_infiniteTimeWindow:r,_buffer:o}=this,i=o.slice();for(let s=0;s<i.length&&!e.closed;s+=r?1:2)e.next(i[s]);return this._checkFinalizedStatuses(e),n}_trimBuffer(){let{_bufferSize:e,_timestampProvider:n,_buffer:r,_infiniteTimeWindow:o}=this,i=(o?1:2)*e;if(e<1/0&&i<r.length&&r.splice(0,r.length-i),!o){let s=n.now(),a=0;for(let l=1;l<r.length&&r[l]<=s;l+=2)a=l;a&&r.splice(0,a+1)}}};var Hr=class extends U{constructor(e,n){super()}schedule(e,n=0){return this}};var Bn={setInterval(t,e,...n){let{delegate:r}=Bn;return r?.setInterval?r.setInterval(t,e,...n):setInterval(t,e,...n)},clearInterval(t){let{delegate:e}=Bn;return(e?.clearInterval||clearInterval)(t)},delegate:void 0};var Yt=class extends Hr{constructor(e,n){super(e,n),this.scheduler=e,this.work=n,this.pending=!1}schedule(e,n=0){var r;if(this.closed)return this;this.state=e;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(e,n,r=0){return Bn.setInterval(e.flush.bind(e,this),r)}recycleAsyncId(e,n,r=0){if(r!=null&&this.delay===r&&this.pending===!1)return n;n!=null&&Bn.clearInterval(n)}execute(e,n){if(this.closed)return new Error("executing a cancelled action");this.pending=!1;let r=this._execute(e,n);if(r)return r;this.pending===!1&&this.id!=null&&(this.id=this.recycleAsyncId(this.scheduler,this.id,null))}_execute(e,n){let r=!1,o;try{this.work(e)}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:e,scheduler:n}=this,{actions:r}=n;this.work=this.state=this.scheduler=null,this.pending=!1,mt(r,this),e!=null&&(this.id=this.recycleAsyncId(n,e,null)),this.delay=null,super.unsubscribe()}}};var Jt=class t{constructor(e,n=t.now){this.schedulerActionCtor=e,this.now=n}schedule(e,n=0,r){return new this.schedulerActionCtor(this,e).schedule(r,n)}};Jt.now=jn.now;var Xt=class extends Jt{constructor(e,n=Jt.now){super(e,n),this.actions=[],this._active=!1}flush(e){let{actions:n}=this;if(this._active){n.push(e);return}let r;this._active=!0;do if(r=e.execute(e.state,e.delay))break;while(e=n.shift());if(this._active=!1,r){for(;e=n.shift();)e.unsubscribe();throw r}}};var Et=new Xt(Yt),Uc=Et;var Br=class extends Yt{constructor(e,n){super(e,n),this.scheduler=e,this.work=n}requestAsyncId(e,n,r=0){return r!==null&&r>0?super.requestAsyncId(e,n,r):(e.actions.push(this),e._scheduled||(e._scheduled=Zt.requestAnimationFrame(()=>e.flush(void 0))))}recycleAsyncId(e,n,r=0){var o;if(r!=null?r>0:this.delay>0)return super.recycleAsyncId(e,n,r);let{actions:i}=e;n!=null&&n===e._scheduled&&((o=i[i.length-1])===null||o===void 0?void 0:o.id)!==n&&(Zt.cancelAnimationFrame(n),e._scheduled=void 0)}};var $r=class extends Xt{flush(e){this._active=!0;let n;e?n=e.id:(n=this._scheduled,this._scheduled=void 0);let{actions:r}=this,o;e=e||r.shift();do if(o=e.execute(e.state,e.delay))break;while((e=r[0])&&e.id===n&&r.shift());if(this._active=!1,o){for(;(e=r[0])&&e.id===n&&r.shift();)e.unsubscribe();throw o}}};var $g=new $r(Br);var It=new O(t=>t.complete());function Ur(t){return t&&T(t.schedule)}function ms(t){return t[t.length-1]}function qr(t){return T(ms(t))?t.pop():void 0}function Oe(t){return Ur(ms(t))?t.pop():void 0}function qc(t,e){return typeof ms(t)=="number"?t.pop():e}function Wc(t,e,n,r){function o(i){return i instanceof n?i:new n(function(s){s(i)})}return new(n||(n=Promise))(function(i,s){function a(u){try{c(r.next(u))}catch(d){s(d)}}function l(u){try{c(r.throw(u))}catch(d){s(d)}}function c(u){u.done?i(u.value):o(u.value).then(a,l)}c((r=r.apply(t,e||[])).next())})}function zc(t){var e=typeof Symbol=="function"&&Symbol.iterator,n=e&&t[e],r=0;if(n)return n.call(t);if(t&&typeof t.length=="number")return{next:function(){return t&&r>=t.length&&(t=void 0),{value:t&&t[r++],done:!t}}};throw new TypeError(e?"Object is not iterable.":"Symbol.iterator is not defined.")}function _t(t){return this instanceof _t?(this.v=t,this):new _t(t)}function Gc(t,e,n){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var r=n.apply(t,e||[]),o,i=[];return o=Object.create((typeof AsyncIterator=="function"?AsyncIterator:Object).prototype),a("next"),a("throw"),a("return",s),o[Symbol.asyncIterator]=function(){return this},o;function s(f){return function(h){return Promise.resolve(h).then(f,d)}}function a(f,h){r[f]&&(o[f]=function(g){return new Promise(function(_,E){i.push([f,g,_,E])>1||l(f,g)})},h&&(o[f]=h(o[f])))}function l(f,h){try{c(r[f](h))}catch(g){p(i[0][3],g)}}function c(f){f.value instanceof _t?Promise.resolve(f.value.v).then(u,d):p(i[0][2],f)}function u(f){l("next",f)}function d(f){l("throw",f)}function p(f,h){f(h),i.shift(),i.length&&l(i[0][0],i[0][1])}}function Qc(t){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var e=t[Symbol.asyncIterator],n;return e?e.call(t):(t=typeof zc=="function"?zc(t):t[Symbol.iterator](),n={},r("next"),r("throw"),r("return"),n[Symbol.asyncIterator]=function(){return this},n);function r(i){n[i]=t[i]&&function(s){return new Promise(function(a,l){s=t[i](s),o(a,l,s.done,s.value)})}}function o(i,s,a,l){Promise.resolve(l).then(function(c){i({value:c,done:a})},s)}}var zr=t=>t&&typeof t.length=="number"&&typeof t!="function";function Wr(t){return T(t?.then)}function Gr(t){return T(t[Kt])}function Qr(t){return Symbol.asyncIterator&&T(t?.[Symbol.asyncIterator])}function Kr(t){return new TypeError(`You provided ${t!==null&&typeof t=="object"?"an invalid object":`'${t}'`} where a stream was expected. You can provide an Observable, Promise, ReadableStream, Array, AsyncIterable, or Iterable.`)}function Ug(){return typeof Symbol!="function"||!Symbol.iterator?"@@iterator":Symbol.iterator}var Zr=Ug();function Yr(t){return T(t?.[Zr])}function Jr(t){return Gc(this,arguments,function*(){let n=t.getReader();try{for(;;){let{value:r,done:o}=yield _t(n.read());if(o)return yield _t(void 0);yield yield _t(r)}}finally{n.releaseLock()}})}function Xr(t){return T(t?.getReader)}function L(t){if(t instanceof O)return t;if(t!=null){if(Gr(t))return qg(t);if(zr(t))return zg(t);if(Wr(t))return Wg(t);if(Qr(t))return Kc(t);if(Yr(t))return Gg(t);if(Xr(t))return Qg(t)}throw Kr(t)}function qg(t){return new O(e=>{let n=t[Kt]();if(T(n.subscribe))return n.subscribe(e);throw new TypeError("Provided object does not correctly implement Symbol.observable")})}function zg(t){return new O(e=>{for(let n=0;n<t.length&&!e.closed;n++)e.next(t[n]);e.complete()})}function Wg(t){return new O(e=>{t.then(n=>{e.closed||(e.next(n),e.complete())},n=>e.error(n)).then(null,Lr)})}function Gg(t){return new O(e=>{for(let n of t)if(e.next(n),e.closed)return;e.complete()})}function Kc(t){return new O(e=>{Kg(t,e).catch(n=>e.error(n))})}function Qg(t){return Kc(Jr(t))}function Kg(t,e){var n,r,o,i;return Wc(this,void 0,void 0,function*(){try{for(n=Qc(t);r=yield n.next(),!r.done;){let s=r.value;if(e.next(s),e.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}}e.complete()})}function pe(t,e,n,r=0,o=!1){let i=e.schedule(function(){n(),o?t.add(this.schedule(null,r)):this.unsubscribe()},r);if(t.add(i),!o)return i}function eo(t,e=0){return N((n,r)=>{n.subscribe(M(r,o=>pe(r,t,()=>r.next(o),e),()=>pe(r,t,()=>r.complete(),e),o=>pe(r,t,()=>r.error(o),e)))})}function to(t,e=0){return N((n,r)=>{r.add(t.schedule(()=>n.subscribe(r),e))})}function Zc(t,e){return L(t).pipe(to(e),eo(e))}function Yc(t,e){return L(t).pipe(to(e),eo(e))}function Jc(t,e){return new O(n=>{let r=0;return e.schedule(function(){r===t.length?n.complete():(n.next(t[r++]),n.closed||this.schedule())})})}function Xc(t,e){return new O(n=>{let r;return pe(n,e,()=>{r=t[Zr](),pe(n,e,()=>{let o,i;try{({value:o,done:i}=r.next())}catch(s){n.error(s);return}i?n.complete():n.next(o)},0,!0)}),()=>T(r?.return)&&r.return()})}function no(t,e){if(!t)throw new Error("Iterable cannot be null");return new O(n=>{pe(n,e,()=>{let r=t[Symbol.asyncIterator]();pe(n,e,()=>{r.next().then(o=>{o.done?n.complete():n.next(o.value)})},0,!0)})})}function eu(t,e){return no(Jr(t),e)}function tu(t,e){if(t!=null){if(Gr(t))return Zc(t,e);if(zr(t))return Jc(t,e);if(Wr(t))return Yc(t,e);if(Qr(t))return no(t,e);if(Yr(t))return Xc(t,e);if(Xr(t))return eu(t,e)}throw Kr(t)}function Pe(t,e){return e?tu(t,e):L(t)}function Zg(...t){let e=Oe(t);return Pe(t,e)}function Yg(t,e){let n=T(t)?t:()=>t,r=o=>o.error(n());return new O(e?o=>e.schedule(r,0,o):r)}function Jg(t){return!!t&&(t instanceof O||T(t.lift)&&T(t.subscribe))}var wt=Wt(t=>function(){t(this),this.name="EmptyError",this.message="no elements in sequence"});function nu(t){return t instanceof Date&&!isNaN(t)}function rt(t,e){return N((n,r)=>{let o=0;n.subscribe(M(r,i=>{r.next(t.call(e,i,o++))}))})}var{isArray:Xg}=Array;function em(t,e){return Xg(e)?t(...e):t(e)}function ro(t){return rt(e=>em(t,e))}var{isArray:tm}=Array,{getPrototypeOf:nm,prototype:rm,keys:om}=Object;function oo(t){if(t.length===1){let e=t[0];if(tm(e))return{args:e,keys:null};if(im(e)){let n=om(e);return{args:n.map(r=>e[r]),keys:n}}}return{args:t,keys:null}}function im(t){return t&&typeof t=="object"&&nm(t)===rm}function io(t,e){return t.reduce((n,r,o)=>(n[r]=e[o],n),{})}function sm(...t){let e=Oe(t),n=qr(t),{args:r,keys:o}=oo(t);if(r.length===0)return Pe([],e);let i=new O(am(r,e,o?s=>io(o,s):se));return n?i.pipe(ro(n)):i}function am(t,e,n=se){return r=>{ru(e,()=>{let{length:o}=t,i=new Array(o),s=o,a=o;for(let l=0;l<o;l++)ru(e,()=>{let c=Pe(t[l],e),u=!1;c.subscribe(M(r,d=>{i[l]=d,u||(u=!0,a--),a||r.next(n(i.slice()))},()=>{--s||r.complete()}))},r)},r)}}function ru(t,e,n){t?pe(n,t,e):e()}function ou(t,e,n,r,o,i,s,a){let l=[],c=0,u=0,d=!1,p=()=>{d&&!l.length&&!c&&e.complete()},f=g=>c<r?h(g):l.push(g),h=g=>{i&&e.next(g),c++;let _=!1;L(n(g,u++)).subscribe(M(e,E=>{o?.(E),i?f(E):e.next(E)},()=>{_=!0},void 0,()=>{if(_)try{for(c--;l.length&&c<r;){let E=l.shift();s?pe(e,s,()=>h(E)):h(E)}p()}catch(E){e.error(E)}}))};return t.subscribe(M(e,f,()=>{d=!0,p()})),()=>{a?.()}}function bt(t,e,n=1/0){return T(e)?bt((r,o)=>rt((i,s)=>e(r,i,o,s))(L(t(r,o))),n):(typeof e=="number"&&(n=e),N((r,o)=>ou(r,o,t,n)))}function $n(t=1/0){return bt(se,t)}function iu(){return $n(1)}function so(...t){return iu()(Pe(t,Oe(t)))}function lm(t){return new O(e=>{L(t()).subscribe(e)})}function cm(...t){let e=qr(t),{args:n,keys:r}=oo(t),o=new O(i=>{let{length:s}=n;if(!s){i.complete();return}let a=new Array(s),l=s,c=s;for(let u=0;u<s;u++){let d=!1;L(n[u]).subscribe(M(i,p=>{d||(d=!0,c--),a[u]=p},()=>l--,void 0,()=>{(!l||!d)&&(c||i.next(r?io(r,a):a),i.complete())}))}});return e?o.pipe(ro(e)):o}function ao(t=0,e,n=Uc){let r=-1;return e!=null&&(Ur(e)?n=e:r=e),new O(o=>{let i=nu(t)?+t-n.now():t;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 um(t=0,e=Et){return t<0&&(t=0),ao(t,t,e)}function dm(...t){let e=Oe(t),n=qc(t,1/0),r=t;return r.length?r.length===1?L(r[0]):$n(n)(Pe(r,e)):It}function en(t,e){return N((n,r)=>{let o=0;n.subscribe(M(r,i=>t.call(e,i,o++)&&r.next(i)))})}function su(t){return N((e,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()},l=()=>{i=null,s&&n.complete()};e.subscribe(M(n,c=>{r=!0,o=c,i||L(t(c)).subscribe(i=M(n,a,l))},()=>{s=!0,(!r||!i||i.closed)&&n.complete()}))})}function fm(t,e=Et){return su(()=>ao(t,e))}function ys(t){return N((e,n)=>{let r=null,o=!1,i;r=e.subscribe(M(n,void 0,void 0,s=>{i=L(t(s,ys(t)(e))),r?(r.unsubscribe(),r=null,i.subscribe(n)):o=!0})),o&&(r.unsubscribe(),r=null,i.subscribe(n))})}function au(t,e,n,r,o){return(i,s)=>{let a=n,l=e,c=0;i.subscribe(M(s,u=>{let d=c++;l=a?t(l,u,d):(a=!0,u),r&&s.next(l)},o&&(()=>{a&&s.next(l),s.complete()})))}}function pm(t,e){return T(e)?bt(t,e,1):bt(t,1)}function hm(t,e=Et){return N((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 l(){let c=s+t,u=e.now();if(u<c){o=this.schedule(void 0,c-u),r.add(o);return}a()}n.subscribe(M(r,c=>{i=c,s=e.now(),o||(o=e.schedule(l,t),r.add(o))},()=>{a(),r.complete()},void 0,()=>{i=o=null}))})}function Un(t){return N((e,n)=>{let r=!1;e.subscribe(M(n,o=>{r=!0,n.next(o)},()=>{r||n.next(t),n.complete()}))})}function vs(t){return t<=0?()=>It:N((e,n)=>{let r=0;e.subscribe(M(n,o=>{++r<=t&&(n.next(o),t<=r&&n.complete())}))})}function gm(t,e=se){return t=t??mm,N((n,r)=>{let o,i=!0;n.subscribe(M(r,s=>{let a=e(s);(i||!t(o,a))&&(i=!1,o=a,r.next(s))}))})}function mm(t,e){return t===e}function lo(t=ym){return N((e,n)=>{let r=!1;e.subscribe(M(n,o=>{r=!0,n.next(o)},()=>r?n.complete():n.error(t())))})}function ym(){return new wt}function vm(t){return N((e,n)=>{try{e.subscribe(n)}finally{n.add(t)}})}function Em(t,e){let n=arguments.length>=2;return r=>r.pipe(t?en((o,i)=>t(o,i,r)):se,vs(1),n?Un(e):lo(()=>new wt))}function Es(t){return t<=0?()=>It:N((e,n)=>{let r=[];e.subscribe(M(n,o=>{r.push(o),t<r.length&&r.shift()},()=>{for(let o of r)n.next(o);n.complete()},void 0,()=>{r=null}))})}function Im(t,e){let n=arguments.length>=2;return r=>r.pipe(t?en((o,i)=>t(o,i,r)):se,Es(1),n?Un(e):lo(()=>new wt))}function _m(t,e){return N(au(t,e,arguments.length>=2,!0))}function lu(t={}){let{connector:e=()=>new be,resetOnError:n=!0,resetOnComplete:r=!0,resetOnRefCountZero:o=!0}=t;return i=>{let s,a,l,c=0,u=!1,d=!1,p=()=>{a?.unsubscribe(),a=void 0},f=()=>{p(),s=l=void 0,u=d=!1},h=()=>{let g=s;f(),g?.unsubscribe()};return N((g,_)=>{c++,!d&&!u&&p();let E=l=l??e();_.add(()=>{c--,c===0&&!d&&!u&&(a=Is(h,o))}),E.subscribe(_),!s&&c>0&&(s=new ze({next:F=>E.next(F),error:F=>{d=!0,p(),a=Is(f,n,F),E.error(F)},complete:()=>{u=!0,p(),a=Is(f,r),E.complete()}}),L(g).subscribe(s))})(i)}}function Is(t,e,...n){if(e===!0){t();return}if(e===!1)return;let r=new ze({next:()=>{r.unsubscribe(),t()}});return L(e(...n)).subscribe(r)}function wm(t,e,n){let r,o=!1;return t&&typeof t=="object"?{bufferSize:r=1/0,windowTime:e=1/0,refCount:o=!1,scheduler:n}=t:r=t??1/0,lu({connector:()=>new Hn(r,e,n),resetOnError:!0,resetOnComplete:!1,resetOnRefCountZero:o})}function bm(...t){let e=Oe(t);return N((n,r)=>{(e?so(t,n,e):so(t,n)).subscribe(r)})}function cu(t,e){return N((n,r)=>{let o=null,i=0,s=!1,a=()=>s&&!o&&r.complete();n.subscribe(M(r,l=>{o?.unsubscribe();let c=0,u=i++;L(t(l,u)).subscribe(o=M(r,d=>r.next(e?e(l,d,u,c++):d),()=>{o=null,a()}))},()=>{s=!0,a()}))})}function Dm(t){return N((e,n)=>{L(t).subscribe(M(n,()=>n.complete(),Ln)),!n.closed&&e.subscribe(n)})}function uu(t,e,n){let r=T(t)||e||n?{next:t,error:e,complete:n}:t;return r?N((o,i)=>{var s;(s=r.subscribe)===null||s===void 0||s.call(r);let a=!0;o.subscribe(M(i,l=>{var c;(c=r.next)===null||c===void 0||c.call(r,l),i.next(l)},()=>{var l;a=!1,(l=r.complete)===null||l===void 0||l.call(r),i.complete()},l=>{var c;a=!1,(c=r.error)===null||c===void 0||c.call(r,l),i.error(l)},()=>{var l,c;a&&((l=r.unsubscribe)===null||l===void 0||l.call(r)),(c=r.finalize)===null||c===void 0||c.call(r)}))}):se}var ud="https://angular.dev/best-practices/security#preventing-cross-site-scripting-xss",m=class extends Error{code;constructor(e,n){super(dd(e,n)),this.code=e}};function Tm(t){return`NG0${Math.abs(t)}`}function dd(t,e){return`${Tm(t)}${e?": "+e:""}`}var ei=Symbol("InputSignalNode#UNSET"),fd=fe(W({},Rr),{transformFn:void 0,applyValueToInputSignal(t,e){zt(t,e)}});function pd(t,e){let n=Object.create(fd);n.value=t,n.transformFn=e?.transform;function r(){if(qt(n),n.value===ei){let o=null;throw new m(-950,o)}return n.value}return r[ie]=n,r}function ar(t){return{toString:t}.toString()}var co="__parameters__";function Mm(t){return function(...n){if(t){let r=t(...n);for(let o in r)this[o]=r[o]}}}function hd(t,e,n){return ar(()=>{let r=Mm(e);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(l,c,u){let d=l.hasOwnProperty(co)?l[co]:Object.defineProperty(l,co,{value:[]})[co];for(;d.length<=u;)d.push(null);return(d[u]=d[u]||[]).push(s),l}}return o.prototype.ngMetadataName=t,o.annotationCls=o,o})}var Kn=globalThis;function V(t){for(let e in t)if(t[e]===V)return e;throw Error("Could not find renamed property on target object.")}function Sm(t,e){for(let n in e)e.hasOwnProperty(n)&&!t.hasOwnProperty(n)&&(t[n]=e[n])}function ge(t){if(typeof t=="string")return t;if(Array.isArray(t))return`[${t.map(ge).join(", ")}]`;if(t==null)return""+t;let e=t.overriddenName||t.name;if(e)return`${e}`;let n=t.toString();if(n==null)return""+n;let r=n.indexOf(` `);return r>=0?n.slice(0,r):n}function Ps(t,e){return t?e?`${t} ${e}`:t:e||""}var Cm=V({__forward_ref__:V});function gd(t){return t.__forward_ref__=gd,t.toString=function(){return ge(this())},t}function J(t){return md(t)?t():t}function md(t){return typeof t=="function"&&t.hasOwnProperty(Cm)&&t.__forward_ref__===gd}function q(t){return{token:t.token,providedIn:t.providedIn||null,factory:t.factory,value:void 0}}function Nm(t){return{providers:t.providers||[],imports:t.imports||[]}}function ti(t){return du(t,yd)||du(t,vd)}function UA(t){return ti(t)!==null}function du(t,e){return t.hasOwnProperty(e)?t[e]:null}function xm(t){let e=t&&(t[yd]||t[vd]);return e||null}function fu(t){return t&&(t.hasOwnProperty(pu)||t.hasOwnProperty(Am))?t[pu]:null}var yd=V({\u0275prov:V}),pu=V({\u0275inj:V}),vd=V({ngInjectableDef:V}),Am=V({ngInjectorDef:V}),P=class{_desc;ngMetadataName="InjectionToken";\u0275prov;constructor(e,n){this._desc=e,this.\u0275prov=void 0,typeof n=="number"?this.__NG_ELEMENT_ID__=n:n!==void 0&&(this.\u0275prov=q({token:this,providedIn:n.providedIn||"root",factory:n.factory}))}get multi(){return this}toString(){return`InjectionToken ${this._desc}`}};function Ed(t){return t&&!!t.\u0275providers}var km=V({\u0275cmp:V}),Rm=V({\u0275dir:V}),Om=V({\u0275pipe:V}),Pm=V({\u0275mod:V}),_o=V({\u0275fac:V}),Gn=V({__NG_ELEMENT_ID__:V}),hu=V({__NG_ENV_ID__:V});function Mt(t){return typeof t=="string"?t:t==null?"":String(t)}function Fm(t){return typeof t=="function"?t.name||t.toString():typeof t=="object"&&t!=null&&typeof t.type=="function"?t.type.name||t.type.toString():Mt(t)}function Id(t,e){throw new m(-200,t)}function Qa(t,e){throw new m(-201,!1)}var A=function(t){return t[t.Default=0]="Default",t[t.Host=1]="Host",t[t.Self=2]="Self",t[t.SkipSelf=4]="SkipSelf",t[t.Optional=8]="Optional",t}(A||{}),Fs;function _d(){return Fs}function he(t){let e=Fs;return Fs=t,e}function wd(t,e,n){let r=ti(t);if(r&&r.providedIn=="root")return r.value===void 0?r.value=r.factory():r.value;if(n&A.Optional)return null;if(e!==void 0)return e;Qa(t,"Injector")}var Lm={},Dt=Lm,Ls="__NG_DI_FLAG__",wo=class{injector;constructor(e){this.injector=e}retrieve(e,n){let r=n;return this.injector.get(e,r.optional?Or:Dt,r)}},bo="ngTempTokenPath",Vm="ngTokenPath",jm=/\n/gm,Hm="\u0275",gu="__source";function Bm(t,e=A.Default){if(Fn()===void 0)throw new m(-203,!1);if(Fn()===null)return wd(t,void 0,e);{let n=Fn(),r;return n instanceof wo?r=n.injector:r=n,r.get(t,e&A.Optional?null:void 0,e)}}function Ie(t,e=A.Default){return(_d()||Bm)(J(t),e)}function k(t,e=A.Default){return Ie(t,ni(e))}function ni(t){return typeof t>"u"||typeof t=="number"?t:0|(t.optional&&8)|(t.host&&1)|(t.self&&2)|(t.skipSelf&&4)}function Vs(t){let e=[];for(let n=0;n<t.length;n++){let r=J(t[n]);if(Array.isArray(r)){if(r.length===0)throw new m(900,!1);let o,i=A.Default;for(let s=0;s<r.length;s++){let a=r[s],l=$m(a);typeof l=="number"?l===-1?o=a.token:i|=l:o=a}e.push(Ie(o,i))}else e.push(Ie(r))}return e}function bd(t,e){return t[Ls]=e,t.prototype[Ls]=e,t}function $m(t){return t[Ls]}function Um(t,e,n,r){let o=t[bo];throw e[gu]&&o.unshift(e[gu]),t.message=qm(` `+t.message,o,n,r),t[Vm]=o,t[bo]=null,t}function qm(t,e,n,r=null){t=t&&t.charAt(0)===` `&&t.charAt(1)==Hm?t.slice(2):t;let o=ge(e);if(Array.isArray(e))o=e.map(ge).join(" -> ");else if(typeof e=="object"){let i=[];for(let s in e)if(e.hasOwnProperty(s)){let a=e[s];i.push(s+":"+(typeof a=="string"?JSON.stringify(a):ge(a)))}o=`{${i.join(", ")}}`}return`${n}${r?"("+r+")":""}[${o}]: ${t.replace(jm,` `)}`}var Dd=bd(hd("Optional"),8);var Td=bd(hd("SkipSelf"),4);function St(t,e){let n=t.hasOwnProperty(_o);return n?t[_o]:null}function zm(t,e,n){if(t.length!==e.length)return!1;for(let r=0;r<t.length;r++){let o=t[r],i=e[r];if(n&&(o=n(o),i=n(i)),i!==o)return!1}return!0}function Wm(t){return t.flat(Number.POSITIVE_INFINITY)}function Ka(t,e){t.forEach(n=>Array.isArray(n)?Ka(n,e):e(n))}function Md(t,e,n){e>=t.length?t.push(n):t.splice(e,0,n)}function Do(t,e){return e>=t.length-1?t.pop():t.splice(e,1)[0]}function Gm(t,e){let n=[];for(let r=0;r<t;r++)n.push(e);return n}function Qm(t,e,n,r){let o=t.length;if(o==e)t.push(n,r);else if(o===1)t.push(r,t[0]),t[0]=n;else{for(o--,t.push(t[o-1],t[o]);o>e;){let i=o-2;t[o]=t[i],o--}t[e]=n,t[e+1]=r}}function lr(t,e,n){let r=cr(t,e);return r>=0?t[r|1]=n:(r=~r,Qm(t,r,e,n)),r}function _s(t,e){let n=cr(t,e);if(n>=0)return t[n|1]}function cr(t,e){return Km(t,e,1)}function Km(t,e,n){let r=0,o=t.length>>n;for(;o!==r;){let i=r+(o-r>>1),s=t[i<<n];if(e===s)return i<<n;s>e?o=i:r=i+1}return~(o<<n)}var Le={},ae=[],To=new P(""),Sd=new P("",-1),Cd=new P(""),Mo=class{get(e,n=Dt){if(n===Dt){let r=new Error(`NullInjectorError: No provider for ${ge(e)}!`);throw r.name="NullInjectorError",r}return n}};function Nd(t,e){let n=t[Pm]||null;if(!n&&e===!0)throw new Error(`Type ${ge(t)} does not have '\u0275mod' property.`);return n}function at(t){return t[km]||null}function xd(t){return t[Rm]||null}function Zm(t){return t[Om]||null}function Ym(t){return{\u0275providers:t}}function Jm(...t){return{\u0275providers:Ad(!0,t),\u0275fromNgModule:!0}}function Ad(t,...e){let n=[],r=new Set,o,i=s=>{n.push(s)};return Ka(e,s=>{let a=s;js(a,i,[],r)&&(o||=[],o.push(a))}),o!==void 0&&kd(o,i),n}function kd(t,e){for(let n=0;n<t.length;n++){let{ngModule:r,providers:o}=t[n];Za(o,i=>{e(i,r)})}}function js(t,e,n,r){if(t=J(t),!t)return!1;let o=null,i=fu(t),s=!i&&at(t);if(!i&&!s){let l=t.ngModule;if(i=fu(l),i)o=l;else return!1}else{if(s&&!s.standalone)return!1;o=t}let a=r.has(o);if(s){if(a)return!1;if(r.add(o),s.dependencies){let l=typeof s.dependencies=="function"?s.dependencies():s.dependencies;for(let c of l)js(c,e,n,r)}}else if(i){if(i.imports!=null&&!a){r.add(o);let c;try{Ka(i.imports,u=>{js(u,e,n,r)&&(c||=[],c.push(u))})}finally{}c!==void 0&&kd(c,e)}if(!a){let c=St(o)||(()=>new o);e({provide:o,useFactory:c,deps:ae},o),e({provide:Cd,useValue:o,multi:!0},o),e({provide:To,useValue:()=>Ie(o),multi:!0},o)}let l=i.providers;if(l!=null&&!a){let c=t;Za(l,u=>{e(u,c)})}}else return!1;return o!==t&&t.providers!==void 0}function Za(t,e){for(let n of t)Ed(n)&&(n=n.\u0275providers),Array.isArray(n)?Za(n,e):e(n)}var Xm=V({provide:String,useValue:V});function Rd(t){return t!==null&&typeof t=="object"&&Xm in t}function ey(t){return!!(t&&t.useExisting)}function ty(t){return!!(t&&t.useFactory)}function ln(t){return typeof t=="function"}function ny(t){return!!t.useClass}var Od=new P(""),mo={},mu={},ws;function ri(){return ws===void 0&&(ws=new Mo),ws}var lt=class{},Zn=class extends lt{parent;source;scopes;records=new Map;_ngOnDestroyHooks=new Set;_onDestroyHooks=[];get destroyed(){return this._destroyed}_destroyed=!1;injectorDefTypes;constructor(e,n,r,o){super(),this.parent=n,this.source=r,this.scopes=o,Bs(e,s=>this.processProvider(s)),this.records.set(Sd,tn(void 0,this)),o.has("environment")&&this.records.set(lt,tn(void 0,this));let i=this.records.get(Od);i!=null&&typeof i.value=="string"&&this.scopes.add(i.value),this.injectorDefTypes=new Set(this.get(Cd,ae,A.Self))}retrieve(e,n){let r=n;return this.get(e,r.optional?Or:Dt,r)}destroy(){zn(this),this._destroyed=!0;let e=C(null);try{for(let r of this._ngOnDestroyHooks)r.ngOnDestroy();let n=this._onDestroyHooks;this._onDestroyHooks=[];for(let r of n)r()}finally{this.records.clear(),this._ngOnDestroyHooks.clear(),this.injectorDefTypes.clear(),C(e)}}onDestroy(e){return zn(this),this._onDestroyHooks.push(e),()=>this.removeOnDestroy(e)}runInContext(e){zn(this);let n=qe(this),r=he(void 0),o;try{return e()}finally{qe(n),he(r)}}get(e,n=Dt,r=A.Default){if(zn(this),e.hasOwnProperty(hu))return e[hu](this);r=ni(r);let o,i=qe(this),s=he(void 0);try{if(!(r&A.SkipSelf)){let l=this.records.get(e);if(l===void 0){let c=ay(e)&&ti(e);c&&this.injectableDefInScope(c)?l=tn(Hs(e),mo):l=null,this.records.set(e,l)}if(l!=null)return this.hydrate(e,l,r)}let a=r&A.Self?ri():this.parent;return n=r&A.Optional&&n===Dt?null:n,a.get(e,n)}catch(a){if(a.name==="NullInjectorError"){if((a[bo]=a[bo]||[]).unshift(ge(e)),i)throw a;return Um(a,e,"R3InjectorError",this.source)}else throw a}finally{he(s),qe(i)}}resolveInjectorInitializers(){let e=C(null),n=qe(this),r=he(void 0),o;try{let i=this.get(To,ae,A.Self);for(let s of i)s()}finally{qe(n),he(r),C(e)}}toString(){let e=[],n=this.records;for(let r of n.keys())e.push(ge(r));return`R3Injector[${e.join(", ")}]`}processProvider(e){e=J(e);let n=ln(e)?e:J(e&&e.provide),r=oy(e);if(!ln(e)&&e.multi===!0){let o=this.records.get(n);o||(o=tn(void 0,mo,!0),o.factory=()=>Vs(o.multi),this.records.set(n,o)),n=e,o.multi.push(e)}this.records.set(n,r)}hydrate(e,n,r){let o=C(null);try{return n.value===mu?Id(ge(e)):n.value===mo&&(n.value=mu,n.value=n.factory(void 0,r)),typeof n.value=="object"&&n.value&&sy(n.value)&&this._ngOnDestroyHooks.add(n.value),n.value}finally{C(o)}}injectableDefInScope(e){if(!e.providedIn)return!1;let n=J(e.providedIn);return typeof n=="string"?n==="any"||this.scopes.has(n):this.injectorDefTypes.has(n)}removeOnDestroy(e){let n=this._onDestroyHooks.indexOf(e);n!==-1&&this._onDestroyHooks.splice(n,1)}};function Hs(t){let e=ti(t),n=e!==null?e.factory:St(t);if(n!==null)return n;if(t instanceof P)throw new m(204,!1);if(t instanceof Function)return ry(t);throw new m(204,!1)}function ry(t){if(t.length>0)throw new m(204,!1);let n=xm(t);return n!==null?()=>n.factory(t):()=>new t}function oy(t){if(Rd(t))return tn(void 0,t.useValue);{let e=Pd(t);return tn(e,mo)}}function Pd(t,e,n){let r;if(ln(t)){let o=J(t);return St(o)||Hs(o)}else if(Rd(t))r=()=>J(t.useValue);else if(ty(t))r=()=>t.useFactory(...Vs(t.deps||[]));else if(ey(t))r=(o,i)=>Ie(J(t.useExisting),i!==void 0&&i&A.Optional?A.Optional:void 0);else{let o=J(t&&(t.useClass||t.provide));if(iy(t))r=()=>new o(...Vs(t.deps));else return St(o)||Hs(o)}return r}function zn(t){if(t.destroyed)throw new m(205,!1)}function tn(t,e,n=!1){return{factory:t,value:e,multi:n?[]:void 0}}function iy(t){return!!t.deps}function sy(t){return t!==null&&typeof t=="object"&&typeof t.ngOnDestroy=="function"}function ay(t){return typeof t=="function"||typeof t=="object"&&t instanceof P}function Bs(t,e){for(let n of t)Array.isArray(n)?Bs(n,e):n&&Ed(n)?Bs(n.\u0275providers,e):e(n)}function Fd(t,e){let n;t instanceof Zn?(zn(t),n=t):n=new wo(t);let r,o=qe(n),i=he(void 0);try{return e()}finally{qe(o),he(i)}}function Ya(){return _d()!==void 0||Fn()!=null}function Ld(t){if(!Ya())throw new m(-203,!1)}function ly(t){let e=Kn.ng;if(e&&e.\u0275compilerFacade)return e.\u0275compilerFacade;throw new Error("JIT compiler unavailable")}var qA=Function;function cy(t){return typeof t=="function"}var Ze=0,S=1,b=2,te=3,Ce=4,me=5,cn=6,So=7,K=8,un=9,We=10,B=11,Yn=12,yu=13,vn=14,_e=15,Ct=16,nn=17,Ge=18,oi=19,Vd=20,it=21,bs=22,Nt=23,De=24,sn=25,z=26,jd=1;var xt=7,Co=8,dn=9,ee=10;function st(t){return Array.isArray(t)&&typeof t[jd]=="object"}function Ye(t){return Array.isArray(t)&&t[jd]===!0}function Ja(t){return(t.flags&4)!==0}function En(t){return t.componentOffset>-1}function ii(t){return(t.flags&1)===1}function Ve(t){return!!t.template}function No(t){return(t[b]&512)!==0}function In(t){return(t[b]&256)===256}var $s=class{previousValue;currentValue;firstChange;constructor(e,n,r){this.previousValue=e,this.currentValue=n,this.firstChange=r}isFirstChange(){return this.firstChange}};function Hd(t,e,n,r){e!==null?e.applyValueToInputSignal(e,r):t[n]=r}var zA=(()=>{let t=()=>Bd;return t.ngInherit=!0,t})();function Bd(t){return t.type.prototype.ngOnChanges&&(t.setInput=dy),uy}function uy(){let t=Ud(this),e=t?.current;if(e){let n=t.previous;if(n===Le)t.previous=e;else for(let r in e)n[r]=e[r];t.current=null,this.ngOnChanges(e)}}function dy(t,e,n,r,o){let i=this.declaredInputs[r],s=Ud(t)||fy(t,{previous:Le,current:null}),a=s.current||(s.current={}),l=s.previous,c=l[i];a[i]=new $s(c&&c.currentValue,n,l===Le),Hd(t,e,o,n)}var $d="__ngSimpleChanges__";function Ud(t){return t[$d]||null}function fy(t,e){return t[$d]=e}var vu=null;var j=function(t,e=null,n){vu?.(t,e,n)},qd="svg",py="math";function je(t){for(;Array.isArray(t);)t=t[Ze];return t}function zd(t,e){return je(e[t])}function Be(t,e){return je(e[t.index])}function Xa(t,e){return t.data[e]}function si(t,e){return t[e]}function Wd(t,e,n,r){n>=t.data.length&&(t.data[n]=null,t.blueprint[n]=null),e[n]=r}function He(t,e){let n=e[t];return st(n)?n:n[Ze]}function hy(t){return(t[b]&4)===4}function el(t){return(t[b]&128)===128}function gy(t){return Ye(t[te])}function ct(t,e){return e==null?null:t[e]}function Gd(t){t[nn]=0}function tl(t){t[b]&1024||(t[b]|=1024,el(t)&&_n(t))}function my(t,e){for(;t>0;)e=e[vn],t--;return e}function ur(t){return!!(t[b]&9216||t[De]?.dirty)}function Us(t){t[We].changeDetectionScheduler?.notify(8),t[b]&64&&(t[b]|=1024),ur(t)&&_n(t)}function _n(t){t[We].changeDetectionScheduler?.notify(0);let e=At(t);for(;e!==null&&!(e[b]&8192||(e[b]|=8192,!el(e)));)e=At(e)}function Qd(t,e){if(In(t))throw new m(911,!1);t[it]===null&&(t[it]=[]),t[it].push(e)}function yy(t,e){if(t[it]===null)return;let n=t[it].indexOf(e);n!==-1&&t[it].splice(n,1)}function At(t){let e=t[te];return Ye(e)?e[te]:e}function nl(t){return t[So]??=[]}function rl(t){return t.cleanup??=[]}function vy(t,e,n,r){let o=nl(e);o.push(n),t.firstCreatePass&&rl(t).push(r,o.length-1)}var x={lFrame:ef(null),bindingsEnabled:!0,skipHydrationRootTNode:null};var qs=!1;function Ey(){return x.lFrame.elementDepthCount}function Iy(){x.lFrame.elementDepthCount++}function _y(){x.lFrame.elementDepthCount--}function ol(){return x.bindingsEnabled}function Kd(){return x.skipHydrationRootTNode!==null}function wy(t){return x.skipHydrationRootTNode===t}function by(){x.skipHydrationRootTNode=null}function v(){return x.lFrame.lView}function H(){return x.lFrame.tView}function WA(t){return x.lFrame.contextLView=t,t[K]}function GA(t){return x.lFrame.contextLView=null,t}function ne(){let t=Zd();for(;t!==null&&t.type===64;)t=t.parent;return t}function Zd(){return x.lFrame.currentTNode}function Dy(){let t=x.lFrame,e=t.currentTNode;return t.isParent?e:e.parent}function dt(t,e){let n=x.lFrame;n.currentTNode=t,n.isParent=e}function il(){return x.lFrame.isParent}function sl(){x.lFrame.isParent=!1}function Ty(){return x.lFrame.contextLView}function Yd(){return qs}function xo(t){let e=qs;return qs=t,e}function $e(){let t=x.lFrame,e=t.bindingRootIndex;return e===-1&&(e=t.bindingRootIndex=t.tView.bindingStartIndex),e}function My(){return x.lFrame.bindingIndex}function Sy(t){return x.lFrame.bindingIndex=t}function Lt(){return x.lFrame.bindingIndex++}function al(t){let e=x.lFrame,n=e.bindingIndex;return e.bindingIndex=e.bindingIndex+t,n}function Cy(){return x.lFrame.inI18n}function Ny(t,e){let n=x.lFrame;n.bindingIndex=n.bindingRootIndex=t,zs(e)}function xy(){return x.lFrame.currentDirectiveIndex}function zs(t){x.lFrame.currentDirectiveIndex=t}function Ay(t){let e=x.lFrame.currentDirectiveIndex;return e===-1?null:t[e]}function ll(){return x.lFrame.currentQueryIndex}function ai(t){x.lFrame.currentQueryIndex=t}function ky(t){let e=t[S];return e.type===2?e.declTNode:e.type===1?t[me]:null}function Jd(t,e,n){if(n&A.SkipSelf){let o=e,i=t;for(;o=o.parent,o===null&&!(n&A.Host);)if(o=ky(i),o===null||(i=i[vn],o.type&10))break;if(o===null)return!1;e=o,t=i}let r=x.lFrame=Xd();return r.currentTNode=e,r.lView=t,!0}function cl(t){let e=Xd(),n=t[S];x.lFrame=e,e.currentTNode=n.firstChild,e.lView=t,e.tView=n,e.contextLView=t,e.bindingIndex=n.bindingStartIndex,e.inI18n=!1}function Xd(){let t=x.lFrame,e=t===null?null:t.child;return e===null?ef(t):e}function ef(t){let e={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:t,child:null,inI18n:!1};return t!==null&&(t.child=e),e}function tf(){let t=x.lFrame;return x.lFrame=t.parent,t.currentTNode=null,t.lView=null,t}var nf=tf;function ul(){let t=tf();t.isParent=!0,t.tView=null,t.selectedIndex=-1,t.contextLView=null,t.elementDepthCount=0,t.currentDirectiveIndex=-1,t.currentNamespace=null,t.bindingRootIndex=-1,t.bindingIndex=-1,t.currentQueryIndex=0}function Ry(t){return(x.lFrame.contextLView=my(t,x.lFrame.contextLView))[K]}function Je(){return x.lFrame.selectedIndex}function kt(t){x.lFrame.selectedIndex=t}function wn(){let t=x.lFrame;return Xa(t.tView,t.selectedIndex)}function QA(){x.lFrame.currentNamespace=qd}function Oy(){return x.lFrame.currentNamespace}var rf=!0;function li(){return rf}function ci(t){rf=t}function Py(t,e,n){let{ngOnChanges:r,ngOnInit:o,ngDoCheck:i}=e.type.prototype;if(r){let s=Bd(e);(n.preOrderHooks??=[]).push(t,s),(n.preOrderCheckHooks??=[]).push(t,s)}o&&(n.preOrderHooks??=[]).push(0-t,o),i&&((n.preOrderHooks??=[]).push(t,i),(n.preOrderCheckHooks??=[]).push(t,i))}function dl(t,e){for(let n=e.directiveStart,r=e.directiveEnd;n<r;n++){let i=t.data[n].type.prototype,{ngAfterContentInit:s,ngAfterContentChecked:a,ngAfterViewInit:l,ngAfterViewChecked:c,ngOnDestroy:u}=i;s&&(t.contentHooks??=[]).push(-n,s),a&&((t.contentHooks??=[]).push(n,a),(t.contentCheckHooks??=