var kd=Object.create;var yo=Object.defineProperty,Ld=Object.defineProperties,jd=Object.getOwnPropertyDescriptor,Vd=Object.getOwnPropertyDescriptors,Bd=Object.getOwnPropertyNames,Nn=Object.getOwnPropertySymbols,$d=Object.getPrototypeOf,Do=Object.prototype.hasOwnProperty,da=Object.prototype.propertyIsEnumerable;var la=(e,t,n)=>t in e?yo(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,Jt=(e,t)=>{for(var n in t||={})Do.call(t,n)&&la(e,n,t[n]);if(Nn)for(var n of Nn(t))da.call(t,n)&&la(e,n,t[n]);return e},Xt=(e,t)=>Ld(e,Vd(t));var Zv=(e,t)=>{var n={};for(var r in e)Do.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&Nn)for(var r of Nn(e))t.indexOf(r)<0&&da.call(e,r)&&(n[r]=e[r]);return n};var Kv=(e,t)=>()=>(t||e((t={exports:{}}).exports,t),t.exports);var Hd=(e,t,n,r)=>{if(t&&typeof t=="object"||typeof t=="function")for(let o of Bd(t))!Do.call(e,o)&&o!==n&&yo(e,o,{get:()=>t[o],enumerable:!(r=jd(t,o))||r.enumerable});return e};var Jv=(e,t,n)=>(n=e!=null?kd($d(e)):{},Hd(t||!e||!e.__esModule?yo(n,"default",{value:e,enumerable:!0}):n,e));var Ud=(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())});var fa=null;var vo=1,Io=Symbol("SIGNAL");function M(e){let t=fa;return fa=e,t}var pa={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 Gd(e){if(!(Co(e)&&!e.dirty)&&!(!e.dirty&&e.lastCleanEpoch===vo)){if(!e.producerMustRecompute(e)&&!wo(e)){e.dirty=!1,e.lastCleanEpoch=vo;return}e.producerRecomputeValue(e),e.dirty=!1,e.lastCleanEpoch=vo}}function ha(e){return e&&(e.nextProducerIndex=0),M(e)}function ga(e,t){if(M(t),!(!e||e.producerNode===void 0||e.producerIndexOfThis===void 0||e.producerLastReadVersion===void 0)){if(Co(e))for(let n=e.nextProducerIndex;ne.nextProducerIndex;)e.producerNode.pop(),e.producerLastReadVersion.pop(),e.producerIndexOfThis.pop()}}function wo(e){An(e);for(let t=0;t0}function An(e){e.producerNode??=[],e.producerIndexOfThis??=[],e.producerLastReadVersion??=[]}function zd(e){e.liveConsumerNode??=[],e.liveConsumerIndexOfThis??=[]}function Wd(){throw new Error}var qd=Wd;function ya(e){qd=e}function g(e){return typeof e=="function"}function _t(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 On=_t(e=>function(n){e(this),this.message=n?`${n.length} errors occurred during unsubscription: ${n.map((r,o)=>`${o+1}) ${r.toString()}`).join(` `)}`:"",this.name="UnsubscriptionError",this.errors=n});function tt(e,t){if(e){let n=e.indexOf(t);0<=n&&e.splice(n,1)}}var U=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(g(r))try{r()}catch(i){t=i instanceof On?i.errors:[i]}let{_finalizers:o}=this;if(o){this._finalizers=null;for(let i of o)try{Da(i)}catch(s){t=t??[],s instanceof On?t=[...t,...s.errors]:t.push(s)}}if(t)throw new On(t)}}add(t){var n;if(t&&t!==this)if(this.closed)Da(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)&&tt(n,t)}remove(t){let{_finalizers:n}=this;n&&tt(n,t),t instanceof e&&t._removeParent(this)}};U.EMPTY=(()=>{let e=new U;return e.closed=!0,e})();var bo=U.EMPTY;function Fn(e){return e instanceof U||e&&"closed"in e&&g(e.remove)&&g(e.add)&&g(e.unsubscribe)}function Da(e){g(e)?e():e.unsubscribe()}var he={onUnhandledError:null,onStoppedNotification:null,Promise:void 0,useDeprecatedSynchronousErrorHandling:!1,useDeprecatedNextContext:!1};var Mt={setTimeout(e,t,...n){let{delegate:r}=Mt;return r?.setTimeout?r.setTimeout(e,t,...n):setTimeout(e,t,...n)},clearTimeout(e){let{delegate:t}=Mt;return(t?.clearTimeout||clearTimeout)(e)},delegate:void 0};function Rn(e){Mt.setTimeout(()=>{let{onUnhandledError:t}=he;if(t)t(e);else throw e})}function en(){}var va=_o("C",void 0,void 0);function Ia(e){return _o("E",void 0,e)}function wa(e){return _o("N",e,void 0)}function _o(e,t,n){return{kind:e,value:t,error:n}}var nt=null;function xt(e){if(he.useDeprecatedSynchronousErrorHandling){let t=!nt;if(t&&(nt={errorThrown:!1,error:null}),e(),t){let{errorThrown:n,error:r}=nt;if(nt=null,n)throw r}}else e()}function Ea(e){he.useDeprecatedSynchronousErrorHandling&&nt&&(nt.errorThrown=!0,nt.error=e)}var rt=class extends U{constructor(t){super(),this.isStopped=!1,t?(this.destination=t,Fn(t)&&t.add(this)):this.destination=Zd}static create(t,n,r){return new St(t,n,r)}next(t){this.isStopped?xo(wa(t),this):this._next(t)}error(t){this.isStopped?xo(Ia(t),this):(this.isStopped=!0,this._error(t))}complete(){this.isStopped?xo(va,this):(this.isStopped=!0,this._complete())}unsubscribe(){this.closed||(this.isStopped=!0,super.unsubscribe(),this.destination=null)}_next(t){this.destination.next(t)}_error(t){try{this.destination.error(t)}finally{this.unsubscribe()}}_complete(){try{this.destination.complete()}finally{this.unsubscribe()}}},Yd=Function.prototype.bind;function Mo(e,t){return Yd.call(e,t)}var So=class{constructor(t){this.partialObserver=t}next(t){let{partialObserver:n}=this;if(n.next)try{n.next(t)}catch(r){Pn(r)}}error(t){let{partialObserver:n}=this;if(n.error)try{n.error(t)}catch(r){Pn(r)}else Pn(t)}complete(){let{partialObserver:t}=this;if(t.complete)try{t.complete()}catch(n){Pn(n)}}},St=class extends rt{constructor(t,n,r){super();let o;if(g(t)||!t)o={next:t??void 0,error:n??void 0,complete:r??void 0};else{let i;this&&he.useDeprecatedNextContext?(i=Object.create(t),i.unsubscribe=()=>this.unsubscribe(),o={next:t.next&&Mo(t.next,i),error:t.error&&Mo(t.error,i),complete:t.complete&&Mo(t.complete,i)}):o=t}this.destination=new So(o)}};function Pn(e){he.useDeprecatedSynchronousErrorHandling?Ea(e):Rn(e)}function Qd(e){throw e}function xo(e,t){let{onStoppedNotification:n}=he;n&&Mt.setTimeout(()=>n(e,t))}var Zd={closed:!0,next:en,error:Qd,complete:en};var Tt=typeof Symbol=="function"&&Symbol.observable||"@@observable";function q(e){return e}function Kd(...e){return To(e)}function To(e){return e.length===0?q:e.length===1?e[0]:function(n){return e.reduce((r,o)=>o(r),n)}}var C=(()=>{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=Xd(n)?n:new St(n,r,o);return xt(()=>{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=Ca(r),new r((o,i)=>{let s=new St({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)}[Tt](){return this}pipe(...n){return To(n)(this)}toPromise(n){return n=Ca(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 Ca(e){var t;return(t=e??he.Promise)!==null&&t!==void 0?t:Promise}function Jd(e){return e&&g(e.next)&&g(e.error)&&g(e.complete)}function Xd(e){return e&&e instanceof rt||Jd(e)&&Fn(e)}function No(e){return g(e?.lift)}function w(e){return t=>{if(No(t))return t.lift(function(n){try{return e(n,this)}catch(r){this.error(r)}});throw new TypeError("Unable to lift unknown Observable type")}}function D(e,t,n,r,o){return new Ao(e,t,n,r,o)}var Ao=class extends rt{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 Oo(){return w((e,t)=>{let n=null;e._refCount++;let r=D(t,void 0,void 0,void 0,()=>{if(!e||e._refCount<=0||0<--e._refCount){n=null;return}let o=e._connection,i=n;n=null,o&&(!i||o===i)&&o.unsubscribe(),t.unsubscribe()});e.subscribe(r),r.closed||(n=e.connect())})}var Fo=class extends C{constructor(t,n){super(),this.source=t,this.subjectFactory=n,this._subject=null,this._refCount=0,this._connection=null,No(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 U;let n=this.getSubject();t.add(this.source.subscribe(D(n,void 0,()=>{this._teardown(),n.complete()},r=>{this._teardown(),n.error(r)},()=>this._teardown()))),t.closed&&(this._connection=null,t=U.EMPTY)}return t}refCount(){return Oo()(this)}};var ba=_t(e=>function(){e(this),this.name="ObjectUnsubscribedError",this.message="object unsubscribed"});var He=(()=>{class e extends C{constructor(){super(),this.closed=!1,this.currentObservers=null,this.observers=[],this.isStopped=!1,this.hasError=!1,this.thrownError=null}lift(n){let r=new kn(this,this);return r.operator=n,r}_throwIfClosed(){if(this.closed)throw new ba}next(n){xt(()=>{if(this._throwIfClosed(),!this.isStopped){this.currentObservers||(this.currentObservers=Array.from(this.observers));for(let r of this.currentObservers)r.next(n)}})}error(n){xt(()=>{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(){xt(()=>{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?bo:(this.currentObservers=null,i.push(n),new U(()=>{this.currentObservers=null,tt(i,n)}))}_checkFinalizedStatuses(n){let{hasError:r,thrownError:o,isStopped:i}=this;r?n.error(o):i&&n.complete()}asObservable(){let n=new C;return n.source=this,n}}return e.create=(t,n)=>new kn(t,n),e})(),kn=class extends He{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:bo}};var tn=class extends He{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 Ro={now(){return(Ro.delegate||Date).now()},delegate:void 0};var Ln=class extends U{constructor(t,n){super()}schedule(t,n=0){return this}};var nn={setInterval(e,t,...n){let{delegate:r}=nn;return r?.setInterval?r.setInterval(e,t,...n):setInterval(e,t,...n)},clearInterval(e){let{delegate:t}=nn;return(t?.clearInterval||clearInterval)(e)},delegate:void 0};var jn=class extends Ln{constructor(t,n){super(t,n),this.scheduler=t,this.work=n,this.pending=!1}schedule(t,n=0){var r;if(this.closed)return this;this.state=t;let o=this.id,i=this.scheduler;return o!=null&&(this.id=this.recycleAsyncId(i,o,n)),this.pending=!0,this.delay=n,this.id=(r=this.id)!==null&&r!==void 0?r:this.requestAsyncId(i,this.id,n),this}requestAsyncId(t,n,r=0){return nn.setInterval(t.flush.bind(t,this),r)}recycleAsyncId(t,n,r=0){if(r!=null&&this.delay===r&&this.pending===!1)return n;n!=null&&nn.clearInterval(n)}execute(t,n){if(this.closed)return new Error("executing a cancelled action");this.pending=!1;let r=this._execute(t,n);if(r)return r;this.pending===!1&&this.id!=null&&(this.id=this.recycleAsyncId(this.scheduler,this.id,null))}_execute(t,n){let r=!1,o;try{this.work(t)}catch(i){r=!0,o=i||new Error("Scheduled action threw falsy error")}if(r)return this.unsubscribe(),o}unsubscribe(){if(!this.closed){let{id:t,scheduler:n}=this,{actions:r}=n;this.work=this.state=this.scheduler=null,this.pending=!1,tt(r,this),t!=null&&(this.id=this.recycleAsyncId(n,t,null)),this.delay=null,super.unsubscribe()}}};var Nt=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)}};Nt.now=Ro.now;var Vn=class extends Nt{constructor(t,n=Nt.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 rn=new Vn(jn),_a=rn;var ot=new C(e=>e.complete());function Bn(e){return e&&g(e.schedule)}function Po(e){return e[e.length-1]}function $n(e){return g(Po(e))?e.pop():void 0}function Ce(e){return Bn(Po(e))?e.pop():void 0}function Ma(e,t){return typeof Po(e)=="number"?e.pop():t}function Sa(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 xa(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 it(e){return this instanceof it?(this.v=e,this):new it(e)}function Ta(e,t,n){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var r=n.apply(e,t||[]),o,i=[];return o={},s("next"),s("throw"),s("return"),o[Symbol.asyncIterator]=function(){return this},o;function s(f){r[f]&&(o[f]=function(p){return new Promise(function(h,v){i.push([f,p,h,v])>1||a(f,p)})})}function a(f,p){try{u(r[f](p))}catch(h){d(i[0][3],h)}}function u(f){f.value instanceof it?Promise.resolve(f.value.v).then(c,l):d(i[0][2],f)}function c(f){a("next",f)}function l(f){a("throw",f)}function d(f,p){f(p),i.shift(),i.length&&a(i[0][0],i[0][1])}}function Na(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 xa=="function"?xa(e):e[Symbol.iterator](),n={},r("next"),r("throw"),r("return"),n[Symbol.asyncIterator]=function(){return this},n);function r(i){n[i]=e[i]&&function(s){return new Promise(function(a,u){s=e[i](s),o(a,u,s.done,s.value)})}}function o(i,s,a,u){Promise.resolve(u).then(function(c){i({value:c,done:a})},s)}}var At=e=>e&&typeof e.length=="number"&&typeof e!="function";function Hn(e){return g(e?.then)}function Un(e){return g(e[Tt])}function Gn(e){return Symbol.asyncIterator&&g(e?.[Symbol.asyncIterator])}function zn(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 ef(){return typeof Symbol!="function"||!Symbol.iterator?"@@iterator":Symbol.iterator}var Wn=ef();function qn(e){return g(e?.[Wn])}function Yn(e){return Ta(this,arguments,function*(){let n=e.getReader();try{for(;;){let{value:r,done:o}=yield it(n.read());if(o)return yield it(void 0);yield yield it(r)}}finally{n.releaseLock()}})}function Qn(e){return g(e?.getReader)}function P(e){if(e instanceof C)return e;if(e!=null){if(Un(e))return tf(e);if(At(e))return nf(e);if(Hn(e))return rf(e);if(Gn(e))return Aa(e);if(qn(e))return of(e);if(Qn(e))return sf(e)}throw zn(e)}function tf(e){return new C(t=>{let n=e[Tt]();if(g(n.subscribe))return n.subscribe(t);throw new TypeError("Provided object does not correctly implement Symbol.observable")})}function nf(e){return new C(t=>{for(let n=0;n{e.then(n=>{t.closed||(t.next(n),t.complete())},n=>t.error(n)).then(null,Rn)})}function of(e){return new C(t=>{for(let n of e)if(t.next(n),t.closed)return;t.complete()})}function Aa(e){return new C(t=>{af(e,t).catch(n=>t.error(n))})}function sf(e){return Aa(Yn(e))}function af(e,t){var n,r,o,i;return Sa(this,void 0,void 0,function*(){try{for(n=Na(e);r=yield n.next(),!r.done;){let s=r.value;if(t.next(s),t.closed)return}}catch(s){o={error:s}}finally{try{r&&!r.done&&(i=n.return)&&(yield i.call(n))}finally{if(o)throw o.error}}t.complete()})}function ee(e,t,n,r=0,o=!1){let i=t.schedule(function(){n(),o?e.add(this.schedule(null,r)):this.unsubscribe()},r);if(e.add(i),!o)return i}function Zn(e,t=0){return w((n,r)=>{n.subscribe(D(r,o=>ee(r,e,()=>r.next(o),t),()=>ee(r,e,()=>r.complete(),t),o=>ee(r,e,()=>r.error(o),t)))})}function Kn(e,t=0){return w((n,r)=>{r.add(e.schedule(()=>n.subscribe(r),t))})}function Oa(e,t){return P(e).pipe(Kn(t),Zn(t))}function Fa(e,t){return P(e).pipe(Kn(t),Zn(t))}function Ra(e,t){return new C(n=>{let r=0;return t.schedule(function(){r===e.length?n.complete():(n.next(e[r++]),n.closed||this.schedule())})})}function Pa(e,t){return new C(n=>{let r;return ee(n,t,()=>{r=e[Wn](),ee(n,t,()=>{let o,i;try{({value:o,done:i}=r.next())}catch(s){n.error(s);return}i?n.complete():n.next(o)},0,!0)}),()=>g(r?.return)&&r.return()})}function Jn(e,t){if(!e)throw new Error("Iterable cannot be null");return new C(n=>{ee(n,t,()=>{let r=e[Symbol.asyncIterator]();ee(n,t,()=>{r.next().then(o=>{o.done?n.complete():n.next(o.value)})},0,!0)})})}function ka(e,t){return Jn(Yn(e),t)}function La(e,t){if(e!=null){if(Un(e))return Oa(e,t);if(At(e))return Ra(e,t);if(Hn(e))return Fa(e,t);if(Gn(e))return Jn(e,t);if(qn(e))return Pa(e,t);if(Qn(e))return ka(e,t)}throw zn(e)}function be(e,t){return t?La(e,t):P(e)}function uf(...e){let t=Ce(e);return be(e,t)}function cf(e,t){let n=g(e)?e:()=>e,r=o=>o.error(n());return new C(t?o=>t.schedule(r,0,o):r)}function lf(e){return!!e&&(e instanceof C||g(e.lift)&&g(e.subscribe))}var st=_t(e=>function(){e(this),this.name="EmptyError",this.message="no elements in sequence"});function ja(e){return e instanceof Date&&!isNaN(e)}function _e(e,t){return w((n,r)=>{let o=0;n.subscribe(D(r,i=>{r.next(e.call(t,i,o++))}))})}var{isArray:df}=Array;function ff(e,t){return df(t)?e(...t):e(t)}function Ot(e){return _e(t=>ff(e,t))}var{isArray:pf}=Array,{getPrototypeOf:hf,prototype:gf,keys:mf}=Object;function Xn(e){if(e.length===1){let t=e[0];if(pf(t))return{args:t,keys:null};if(yf(t)){let n=mf(t);return{args:n.map(r=>t[r]),keys:n}}}return{args:e,keys:null}}function yf(e){return e&&typeof e=="object"&&hf(e)===gf}function er(e,t){return e.reduce((n,r,o)=>(n[r]=t[o],n),{})}function Df(...e){let t=Ce(e),n=$n(e),{args:r,keys:o}=Xn(e);if(r.length===0)return be([],t);let i=new C(vf(r,t,o?s=>er(o,s):q));return n?i.pipe(Ot(n)):i}function vf(e,t,n=q){return r=>{Va(t,()=>{let{length:o}=e,i=new Array(o),s=o,a=o;for(let u=0;u{let c=be(e[u],t),l=!1;c.subscribe(D(r,d=>{i[u]=d,l||(l=!0,a--),a||r.next(n(i.slice()))},()=>{--s||r.complete()}))},r)},r)}}function Va(e,t,n){e?ee(n,e,t):t()}function Ba(e,t,n,r,o,i,s,a){let u=[],c=0,l=0,d=!1,f=()=>{d&&!u.length&&!c&&t.complete()},p=v=>c{i&&t.next(v),c++;let R=!1;P(n(v,l++)).subscribe(D(t,N=>{o?.(N),i?p(N):t.next(N)},()=>{R=!0},void 0,()=>{if(R)try{for(c--;u.length&&ch(N)):h(N)}f()}catch(N){t.error(N)}}))};return e.subscribe(D(t,p,()=>{d=!0,f()})),()=>{a?.()}}function Oe(e,t,n=1/0){return g(t)?Oe((r,o)=>_e((i,s)=>t(r,i,o,s))(P(e(r,o))),n):(typeof t=="number"&&(n=t),w((r,o)=>Ba(r,o,e,n)))}function on(e=1/0){return Oe(q,e)}function $a(){return on(1)}function tr(...e){return $a()(be(e,Ce(e)))}function If(e){return new C(t=>{P(e()).subscribe(t)})}function wf(...e){let t=$n(e),{args:n,keys:r}=Xn(e),o=new C(i=>{let{length:s}=n;if(!s){i.complete();return}let a=new Array(s),u=s,c=s;for(let l=0;l{d||(d=!0,c--),a[l]=f},()=>u--,void 0,()=>{(!u||!d)&&(c||i.next(r?er(r,a):a),i.complete())}))}});return t?o.pipe(Ot(t)):o}var Ef=["addListener","removeListener"],Cf=["addEventListener","removeEventListener"],bf=["on","off"];function ko(e,t,n,r){if(g(n)&&(r=n,n=void 0),r)return ko(e,t,n).pipe(Ot(r));let[o,i]=xf(e)?Cf.map(s=>a=>e[s](t,a,n)):_f(e)?Ef.map(Ha(e,t)):Mf(e)?bf.map(Ha(e,t)):[];if(!o&&At(e))return Oe(s=>ko(s,t,n))(P(e));if(!o)throw new TypeError("Invalid event target");return new C(s=>{let a=(...u)=>s.next(1i(a)})}function Ha(e,t){return n=>r=>e[n](t,r)}function _f(e){return g(e.addListener)&&g(e.removeListener)}function Mf(e){return g(e.on)&&g(e.off)}function xf(e){return g(e.addEventListener)&&g(e.removeEventListener)}function Ua(e=0,t,n=_a){let r=-1;return t!=null&&(Bn(t)?n=t:r=t),new C(o=>{let i=ja(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 Sf(...e){let t=Ce(e),n=Ma(e,1/0),r=e;return r.length?r.length===1?P(r[0]):on(n)(be(r,t)):ot}function at(e,t){return w((n,r)=>{let o=0;n.subscribe(D(r,i=>e.call(t,i,o++)&&r.next(i)))})}function Ga(e){return w((t,n)=>{let r=!1,o=null,i=null,s=!1,a=()=>{if(i?.unsubscribe(),i=null,r){r=!1;let c=o;o=null,n.next(c)}s&&n.complete()},u=()=>{i=null,s&&n.complete()};t.subscribe(D(n,c=>{r=!0,o=c,i||P(e(c)).subscribe(i=D(n,a,u))},()=>{s=!0,(!r||!i||i.closed)&&n.complete()}))})}function Tf(e,t=rn){return Ga(()=>Ua(e,t))}function za(e){return w((t,n)=>{let r=null,o=!1,i;r=t.subscribe(D(n,void 0,void 0,s=>{i=P(e(s,za(e)(t))),r?(r.unsubscribe(),r=null,i.subscribe(n)):o=!0})),o&&(r.unsubscribe(),r=null,i.subscribe(n))})}function Wa(e,t,n,r,o){return(i,s)=>{let a=n,u=t,c=0;i.subscribe(D(s,l=>{let d=c++;u=a?e(u,l,d):(a=!0,l),r&&s.next(u)},o&&(()=>{a&&s.next(u),s.complete()})))}}function Nf(e,t){return g(t)?Oe(e,t,1):Oe(e,1)}function Af(e,t=rn){return w((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{i=c,s=t.now(),o||(o=t.schedule(u,e),r.add(o))},()=>{a(),r.complete()},void 0,()=>{i=o=null}))})}function sn(e){return w((t,n)=>{let r=!1;t.subscribe(D(n,o=>{r=!0,n.next(o)},()=>{r||n.next(e),n.complete()}))})}function Lo(e){return e<=0?()=>ot:w((t,n)=>{let r=0;t.subscribe(D(n,o=>{++r<=e&&(n.next(o),e<=r&&n.complete())}))})}function Of(e){return _e(()=>e)}function Ff(e,t=q){return e=e??Rf,w((n,r)=>{let o,i=!0;n.subscribe(D(r,s=>{let a=t(s);(i||!e(o,a))&&(i=!1,o=a,r.next(s))}))})}function Rf(e,t){return e===t}function nr(e=Pf){return w((t,n)=>{let r=!1;t.subscribe(D(n,o=>{r=!0,n.next(o)},()=>r?n.complete():n.error(e())))})}function Pf(){return new st}function kf(e){return w((t,n)=>{try{t.subscribe(n)}finally{n.add(e)}})}function qa(e,t){let n=arguments.length>=2;return r=>r.pipe(e?at((o,i)=>e(o,i,r)):q,Lo(1),n?sn(t):nr(()=>new st))}function jo(e){return e<=0?()=>ot:w((t,n)=>{let r=[];t.subscribe(D(n,o=>{r.push(o),e{for(let o of r)n.next(o);n.complete()},void 0,()=>{r=null}))})}function Lf(e,t){let n=arguments.length>=2;return r=>r.pipe(e?at((o,i)=>e(o,i,r)):q,jo(1),n?sn(t):nr(()=>new st))}function jf(e,t){return w(Wa(e,t,arguments.length>=2,!0))}function Vf(e){return at((t,n)=>e<=n)}function Bf(...e){let t=Ce(e);return w((n,r)=>{(t?tr(e,n,t):tr(e,n)).subscribe(r)})}function Ya(e,t){return w((n,r)=>{let o=null,i=0,s=!1,a=()=>s&&!o&&r.complete();n.subscribe(D(r,u=>{o?.unsubscribe();let c=0,l=i++;P(e(u,l)).subscribe(o=D(r,d=>r.next(t?t(u,d,l,c++):d),()=>{o=null,a()}))},()=>{s=!0,a()}))})}function $f(e){return w((t,n)=>{P(e).subscribe(D(n,()=>n.complete(),en)),!n.closed&&t.subscribe(n)})}function Hf(e,t,n){let r=g(e)||t||n?{next:e,error:t,complete:n}:e;return r?w((o,i)=>{var s;(s=r.subscribe)===null||s===void 0||s.call(r);let a=!0;o.subscribe(D(i,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)}))}):q}var Lu="https://g.co/ng/security#xss",_=class extends Error{constructor(t,n){super(ju(t,n)),this.code=t}};function ju(e,t){return`${`NG0${Math.abs(e)}`}${t?": "+t:""}`}function Dn(e){return{toString:e}.toString()}var rr="__parameters__";function Uf(e){return function(...n){if(e){let r=e(...n);for(let o in r)this[o]=r[o]}}}function Vu(e,t,n){return Dn(()=>{let r=Uf(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(rr)?u[rr]:Object.defineProperty(u,rr,{value:[]})[rr];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 ce=globalThis;function A(e){for(let t in e)if(e[t]===A)return t;throw Error("Could not find renamed property on target object.")}function Gf(e,t){for(let n in t)t.hasOwnProperty(n)&&!e.hasOwnProperty(n)&&(e[n]=t[n])}function Q(e){if(typeof e=="string")return e;if(Array.isArray(e))return"["+e.map(Q).join(", ")+"]";if(e==null)return""+e;if(e.overriddenName)return`${e.overriddenName}`;if(e.name)return`${e.name}`;let t=e.toString();if(t==null)return""+t;let n=t.indexOf(` `);return n===-1?t:t.substring(0,n)}function ti(e,t){return e==null||e===""?t===null?"":t:t==null||t===""?e:e+" "+t}var zf=A({__forward_ref__:A});function Bu(e){return e.__forward_ref__=Bu,e.toString=function(){return Q(this())},e}function Y(e){return $u(e)?e():e}function $u(e){return typeof e=="function"&&e.hasOwnProperty(zf)&&e.__forward_ref__===Bu}function j(e){return{token:e.token,providedIn:e.providedIn||null,factory:e.factory,value:void 0}}function Hu(e){return{providers:e.providers||[],imports:e.imports||[]}}function kr(e){return Qa(e,Uu)||Qa(e,Gu)}function tM(e){return kr(e)!==null}function Qa(e,t){return e.hasOwnProperty(t)?e[t]:null}function Wf(e){let t=e&&(e[Uu]||e[Gu]);return t||null}function Za(e){return e&&(e.hasOwnProperty(Ka)||e.hasOwnProperty(qf))?e[Ka]:null}var Uu=A({\u0275prov:A}),Ka=A({\u0275inj:A}),Gu=A({ngInjectableDef:A}),qf=A({ngInjectorDef:A}),O=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 zu(e){return e&&!!e.\u0275providers}var Yf=A({\u0275cmp:A}),Qf=A({\u0275dir:A}),Zf=A({\u0275pipe:A}),Kf=A({\u0275mod:A}),gr=A({\u0275fac:A}),an=A({__NG_ELEMENT_ID__:A}),Ja=A({__NG_ENV_ID__:A});function Se(e){return typeof e=="string"?e:e==null?"":String(e)}function Jf(e){return typeof e=="function"?e.name||e.toString():typeof e=="object"&&e!=null&&typeof e.type=="function"?e.type.name||e.type.toString():Se(e)}function Xf(e,t){let n=t?`. Dependency path: ${t.join(" > ")} > ${e}`:"";throw new _(-200,e)}function cs(e,t){throw new _(-201,!1)}var b=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}(b||{}),ni;function Wu(){return ni}function te(e){let t=ni;return ni=e,t}function qu(e,t,n){let r=kr(e);if(r&&r.providedIn=="root")return r.value===void 0?r.value=r.factory():r.value;if(n&b.Optional)return null;if(t!==void 0)return t;cs(e,"Injector")}var ep={},un=ep,ri="__NG_DI_FLAG__",mr="ngTempTokenPath",tp="ngTokenPath",np=/\n/gm,rp="\u0275",Xa="__source",Lt;function op(){return Lt}function Ue(e){let t=Lt;return Lt=e,t}function ip(e,t=b.Default){if(Lt===void 0)throw new _(-203,!1);return Lt===null?qu(e,void 0,t):Lt.get(e,t&b.Optional?null:void 0,t)}function W(e,t=b.Default){return(Wu()||ip)(Y(e),t)}function T(e,t=b.Default){return W(e,Lr(t))}function Lr(e){return typeof e>"u"||typeof e=="number"?e:0|(e.optional&&8)|(e.host&&1)|(e.self&&2)|(e.skipSelf&&4)}function oi(e){let t=[];for(let n=0;n ");else if(typeof t=="object"){let i=[];for(let s in t)if(t.hasOwnProperty(s)){let a=t[s];i.push(s+":"+(typeof a=="string"?JSON.stringify(a):Q(a)))}o=`{${i.join(", ")}}`}return`${n}${r?"("+r+")":""}[${o}]: ${e.replace(np,` `)}`}var Qu=Yu(Vu("Optional"),8);var Zu=Yu(Vu("SkipSelf"),4);function ft(e,t){let n=e.hasOwnProperty(gr);return n?e[gr]:null}function cp(e,t,n){if(e.length!==t.length)return!1;for(let r=0;rArray.isArray(n)?ls(n,t):t(n))}function Ku(e,t,n){t>=e.length?e.push(n):e.splice(t,0,n)}function yr(e,t){return t>=e.length-1?e.pop():e.splice(t,1)[0]}function dp(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 jr(e,t,n){let r=vn(e,t);return r>=0?e[r|1]=n:(r=~r,dp(e,r,t,n)),r}function Vo(e,t){let n=vn(e,t);if(n>=0)return e[n|1]}function vn(e,t){return fp(e,t,1)}function fp(e,t,n){let r=0,o=e.length>>n;for(;o!==r;){let i=r+(o-r>>1),s=e[i<t?o=i:r=i+1}return~(o<t){s=i-1;break}}}for(;i-1){let i;for(;++oi?d="":d=o[l+1].toLowerCase(),r&2&&c!==d){if(ge(r))return!1;s=!0}}}}return ge(r)||s}function ge(e){return(e&1)===0}function Dp(e,t,n,r){if(t===null)return-1;let o=0;if(r||!n){let i=!1;for(;o-1)for(n++;n0?'="'+a+'"':"")+"]"}else r&8?o+="."+s:r&4&&(o+=" "+s);else o!==""&&!ge(s)&&(t+=tu(i,o),o=""),r=s,i=i||!ge(r);n++}return o!==""&&(t+=tu(i,o)),t}function Cp(e){return e.map(Ep).join(",")}function bp(e){let t=[],n=[],r=1,o=2;for(;r{let t=ac(e),n=Xt(Jt({},t),{decls:e.decls,vars:e.vars,template:e.template,consts:e.consts||null,ngContentSelectors:e.ngContentSelectors,onPush:e.changeDetection===ec.OnPush,directiveDefs:null,pipeDefs:null,dependencies:t.standalone&&e.dependencies||null,getStandaloneInjector:null,signals:e.signals??!1,data:e.data||{},encapsulation:e.encapsulation||cn.Emulated,styles:e.styles||ne,_:null,schemas:e.schemas||null,tView:null,id:""});uc(n);let r=e.dependencies;return n.directiveDefs=ru(r,!1),n.pipeDefs=ru(r,!0),n.id=Sp(n),n})}function _p(e){return We(e)||oc(e)}function Mp(e){return e!==null}function rc(e){return Dn(()=>({type:e.type,bootstrap:e.bootstrap||ne,declarations:e.declarations||ne,imports:e.imports||ne,exports:e.exports||ne,transitiveCompileScopes:null,schemas:e.schemas||null,id:e.id||null}))}function nu(e,t){if(e==null)return Vt;let n={};for(let r in e)if(e.hasOwnProperty(r)){let o=e[r],i,s,a=ze.None;Array.isArray(o)?(a=o[0],i=o[1],s=o[2]??i):(i=o,s=o),t?(n[i]=a!==ze.None?[r,a]:r,t[i]=s):n[i]=r}return n}function In(e){return Dn(()=>{let t=ac(e);return uc(t),t})}function Vr(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 We(e){return e[Yf]||null}function oc(e){return e[Qf]||null}function ic(e){return e[Zf]||null}function xp(e){let t=We(e)||oc(e)||ic(e);return t!==null?t.standalone:!1}function sc(e,t){let n=e[Kf]||null;if(!n&&t===!0)throw new Error(`Type ${Q(e)} does not have '\u0275mod' property.`);return n}function ac(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||Vt,exportAs:e.exportAs||null,standalone:e.standalone===!0,signals:e.signals===!0,selectors:e.selectors||ne,viewQuery:e.viewQuery||null,features:e.features||null,setInput:null,findHostDirectiveDefs:null,hostDirectives:null,inputs:nu(e.inputs,t),outputs:nu(e.outputs),debugInfo:null}}function uc(e){e.features?.forEach(t=>t(e))}function ru(e,t){if(!e)return null;let n=t?ic:_p;return()=>(typeof e=="function"?e():e).map(r=>n(r)).filter(Mp)}function Sp(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 Tp(e){return{\u0275providers:e}}function Np(...e){return{\u0275providers:cc(!0,e),\u0275fromNgModule:!0}}function cc(e,...t){let n=[],r=new Set,o,i=s=>{n.push(s)};return ls(t,s=>{let a=s;si(a,i,[],r)&&(o||=[],o.push(a))}),o!==void 0&&lc(o,i),n}function lc(e,t){for(let n=0;n{t(i,r)})}}function si(e,t,n,r){if(e=Y(e),!e)return!1;let o=null,i=Za(e),s=!i&&We(e);if(!i&&!s){let u=e.ngModule;if(i=Za(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)si(c,t,n,r)}}else if(i){if(i.imports!=null&&!a){r.add(o);let c;try{ls(i.imports,l=>{si(l,t,n,r)&&(c||=[],c.push(l))})}finally{}c!==void 0&&lc(c,t)}if(!a){let c=ft(o)||(()=>new o);t({provide:o,useFactory:c,deps:ne},o),t({provide:Xu,useValue:o,multi:!0},o),t({provide:Dr,useValue:()=>W(o),multi:!0},o)}let u=i.providers;if(u!=null&&!a){let c=e;fs(u,l=>{t(l,c)})}}else return!1;return o!==e&&e.providers!==void 0}function fs(e,t){for(let n of e)zu(n)&&(n=n.\u0275providers),Array.isArray(n)?fs(n,t):t(n)}var Ap=A({provide:String,useValue:A});function dc(e){return e!==null&&typeof e=="object"&&Ap in e}function Op(e){return!!(e&&e.useExisting)}function Fp(e){return!!(e&&e.useFactory)}function Bt(e){return typeof e=="function"}function Rp(e){return!!e.useClass}var fc=new O(""),cr={},Pp={},Bo;function ps(){return Bo===void 0&&(Bo=new vr),Bo}var qe=class{},dn=class extends qe{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,ui(t,s=>this.processProvider(s)),this.records.set(Ju,Ft(void 0,this)),o.has("environment")&&this.records.set(qe,Ft(void 0,this));let i=this.records.get(fc);i!=null&&typeof i.value=="string"&&this.scopes.add(i.value),this.injectorDefTypes=new Set(this.get(Xu,ne,b.Self))}destroy(){this.assertNotDestroyed(),this._destroyed=!0;let t=M(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(),M(t)}}onDestroy(t){return this.assertNotDestroyed(),this._onDestroyHooks.push(t),()=>this.removeOnDestroy(t)}runInContext(t){this.assertNotDestroyed();let n=Ue(this),r=te(void 0),o;try{return t()}finally{Ue(n),te(r)}}get(t,n=un,r=b.Default){if(this.assertNotDestroyed(),t.hasOwnProperty(Ja))return t[Ja](this);r=Lr(r);let o,i=Ue(this),s=te(void 0);try{if(!(r&b.SkipSelf)){let u=this.records.get(t);if(u===void 0){let c=Bp(t)&&kr(t);c&&this.injectableDefInScope(c)?u=Ft(ai(t),cr):u=null,this.records.set(t,u)}if(u!=null)return this.hydrate(t,u)}let a=r&b.Self?ps():this.parent;return n=r&b.Optional&&n===un?null:n,a.get(t,n)}catch(a){if(a.name==="NullInjectorError"){if((a[mr]=a[mr]||[]).unshift(Q(t)),i)throw a;return ap(a,t,"R3InjectorError",this.source)}else throw a}finally{te(s),Ue(i)}}resolveInjectorInitializers(){let t=M(null),n=Ue(this),r=te(void 0),o;try{let i=this.get(Dr,ne,b.Self);for(let s of i)s()}finally{Ue(n),te(r),M(t)}}toString(){let t=[],n=this.records;for(let r of n.keys())t.push(Q(r));return`R3Injector[${t.join(", ")}]`}assertNotDestroyed(){if(this._destroyed)throw new _(205,!1)}processProvider(t){t=Y(t);let n=Bt(t)?t:Y(t&&t.provide),r=Lp(t);if(!Bt(t)&&t.multi===!0){let o=this.records.get(n);o||(o=Ft(void 0,cr,!0),o.factory=()=>oi(o.multi),this.records.set(n,o)),n=t,o.multi.push(t)}this.records.set(n,r)}hydrate(t,n){let r=M(null);try{return n.value===cr&&(n.value=Pp,n.value=n.factory()),typeof n.value=="object"&&n.value&&Vp(n.value)&&this._ngOnDestroyHooks.add(n.value),n.value}finally{M(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 ai(e){let t=kr(e),n=t!==null?t.factory:ft(e);if(n!==null)return n;if(e instanceof O)throw new _(204,!1);if(e instanceof Function)return kp(e);throw new _(204,!1)}function kp(e){if(e.length>0)throw new _(204,!1);let n=Wf(e);return n!==null?()=>n.factory(e):()=>new e}function Lp(e){if(dc(e))return Ft(void 0,e.useValue);{let t=pc(e);return Ft(t,cr)}}function pc(e,t,n){let r;if(Bt(e)){let o=Y(e);return ft(o)||ai(o)}else if(dc(e))r=()=>Y(e.useValue);else if(Fp(e))r=()=>e.useFactory(...oi(e.deps||[]));else if(Op(e))r=()=>W(Y(e.useExisting));else{let o=Y(e&&(e.useClass||e.provide));if(jp(e))r=()=>new o(...oi(e.deps));else return ft(o)||ai(o)}return r}function Ft(e,t,n=!1){return{factory:e,value:t,multi:n?[]:void 0}}function jp(e){return!!e.deps}function Vp(e){return e!==null&&typeof e=="object"&&typeof e.ngOnDestroy=="function"}function Bp(e){return typeof e=="function"||typeof e=="object"&&e instanceof O}function ui(e,t){for(let n of e)Array.isArray(n)?ui(n,t):n&&zu(n)?ui(n.\u0275providers,t):t(n)}function $p(e,t){e instanceof dn&&e.assertNotDestroyed();let n,r=Ue(e),o=te(void 0);try{return t()}finally{Ue(r),te(o)}}function hc(){return Wu()!==void 0||op()!=null}function Hp(e){if(!hc())throw new _(-203,!1)}function Up(e){return typeof e=="function"}var Pe=0,E=1,m=2,z=3,ye=4,we=5,Ir=6,fn=7,De=8,$t=9,ve=10,L=11,pn=12,ou=13,qt=14,Te=15,wn=16,Rt=17,Fe=18,Br=19,gc=20,Ge=21,$o=22,pt=23,Z=25,mc=1;var ht=7,wr=8,Ht=9,se=10,hs=function(e){return e[e.None=0]="None",e[e.HasTransplantedViews=2]="HasTransplantedViews",e}(hs||{});function lt(e){return Array.isArray(e)&&typeof e[mc]=="object"}function ke(e){return Array.isArray(e)&&e[mc]===!0}function gs(e){return(e.flags&4)!==0}function $r(e){return e.componentOffset>-1}function Hr(e){return(e.flags&1)===1}function Ye(e){return!!e.template}function Gp(e){return(e[m]&512)!==0}var ci=class{constructor(t,n,r){this.previousValue=t,this.currentValue=n,this.firstChange=r}isFirstChange(){return this.firstChange}};function yc(e,t,n,r){t!==null?t.applyValueToInputSignal(t,r):e[n]=r}function Dc(){return vc}function vc(e){return e.type.prototype.ngOnChanges&&(e.setInput=Wp),zp}Dc.ngInherit=!0;function zp(){let e=wc(this),t=e?.current;if(t){let n=e.previous;if(n===Vt)e.previous=t;else for(let r in t)n[r]=t[r];e.current=null,this.ngOnChanges(t)}}function Wp(e,t,n,r,o){let i=this.declaredInputs[r],s=wc(e)||qp(e,{previous:Vt,current:null}),a=s.current||(s.current={}),u=s.previous,c=u[i];a[i]=new ci(c&&c.currentValue,n,u===Vt),yc(e,t,o,n)}var Ic="__ngSimpleChanges__";function wc(e){return e[Ic]||null}function qp(e,t){return e[Ic]=t}var iu=null;var Me=function(e,t,n){iu?.(e,t,n)},Ec="svg",Yp="math",Qp=!1;function Zp(){return Qp}function Ne(e){for(;Array.isArray(e);)e=e[Pe];return e}function Cc(e,t){return Ne(t[e])}function de(e,t){return Ne(t[e.index])}function bc(e,t){return e.data[t]}function En(e,t){return e[t]}function Ke(e,t){let n=t[e];return lt(n)?n:n[Pe]}function Kp(e){return(e[m]&4)===4}function ms(e){return(e[m]&128)===128}function Jp(e){return ke(e[z])}function Ut(e,t){return t==null?null:e[t]}function _c(e){e[Rt]=0}function Xp(e){e[m]&1024||(e[m]|=1024,ms(e)&&hn(e))}function eh(e,t){for(;e>0;)t=t[qt],e--;return t}function ys(e){return!!(e[m]&9216||e[pt]?.dirty)}function li(e){e[ve].changeDetectionScheduler?.notify(1),ys(e)?hn(e):e[m]&64&&(Zp()?(e[m]|=1024,hn(e)):e[ve].changeDetectionScheduler?.notify())}function hn(e){e[ve].changeDetectionScheduler?.notify();let t=gn(e);for(;t!==null&&!(t[m]&8192||(t[m]|=8192,!ms(t)));)t=gn(t)}function Mc(e,t){if((e[m]&256)===256)throw new _(911,!1);e[Ge]===null&&(e[Ge]=[]),e[Ge].push(t)}function th(e,t){if(e[Ge]===null)return;let n=e[Ge].indexOf(t);n!==-1&&e[Ge].splice(n,1)}function gn(e){let t=e[z];return ke(t)?t[z]:t}var I={lFrame:Rc(null),bindingsEnabled:!0,skipHydrationRootTNode:null};function nh(){return I.lFrame.elementDepthCount}function rh(){I.lFrame.elementDepthCount++}function oh(){I.lFrame.elementDepthCount--}function xc(){return I.bindingsEnabled}function ih(){return I.skipHydrationRootTNode!==null}function sh(e){return I.skipHydrationRootTNode===e}function ah(){I.skipHydrationRootTNode=null}function y(){return I.lFrame.lView}function B(){return I.lFrame.tView}function rM(e){return I.lFrame.contextLView=e,e[De]}function oM(e){return I.lFrame.contextLView=null,e}function K(){let e=Sc();for(;e!==null&&e.type===64;)e=e.parent;return e}function Sc(){return I.lFrame.currentTNode}function uh(){let e=I.lFrame,t=e.currentTNode;return e.isParent?t:t.parent}function Et(e,t){let n=I.lFrame;n.currentTNode=e,n.isParent=t}function Ds(){return I.lFrame.isParent}function Tc(){I.lFrame.isParent=!1}function ch(){return I.lFrame.contextLView}function Je(){let e=I.lFrame,t=e.bindingRootIndex;return t===-1&&(t=e.bindingRootIndex=e.tView.bindingStartIndex),t}function Nc(){return I.lFrame.bindingIndex}function lh(e){return I.lFrame.bindingIndex=e}function Cn(){return I.lFrame.bindingIndex++}function Ur(e){let t=I.lFrame,n=t.bindingIndex;return t.bindingIndex=t.bindingIndex+e,n}function dh(){return I.lFrame.inI18n}function fh(e,t){let n=I.lFrame;n.bindingIndex=n.bindingRootIndex=e,di(t)}function ph(){return I.lFrame.currentDirectiveIndex}function di(e){I.lFrame.currentDirectiveIndex=e}function hh(e){let t=I.lFrame.currentDirectiveIndex;return t===-1?null:e[t]}function Ac(){return I.lFrame.currentQueryIndex}function vs(e){I.lFrame.currentQueryIndex=e}function gh(e){let t=e[E];return t.type===2?t.declTNode:t.type===1?e[we]:null}function Oc(e,t,n){if(n&b.SkipSelf){let o=t,i=e;for(;o=o.parent,o===null&&!(n&b.Host);)if(o=gh(i),o===null||(i=i[qt],o.type&10))break;if(o===null)return!1;t=o,e=i}let r=I.lFrame=Fc();return r.currentTNode=t,r.lView=e,!0}function Is(e){let t=Fc(),n=e[E];I.lFrame=t,t.currentTNode=n.firstChild,t.lView=e,t.tView=n,t.contextLView=e,t.bindingIndex=n.bindingStartIndex,t.inI18n=!1}function Fc(){let e=I.lFrame,t=e===null?null:e.child;return t===null?Rc(e):t}function Rc(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 Pc(){let e=I.lFrame;return I.lFrame=e.parent,e.currentTNode=null,e.lView=null,e}var kc=Pc;function ws(){let e=Pc();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 mh(e){return(I.lFrame.contextLView=eh(e,I.lFrame.contextLView))[De]}function Xe(){return I.lFrame.selectedIndex}function gt(e){I.lFrame.selectedIndex=e}function bn(){let e=I.lFrame;return bc(e.tView,e.selectedIndex)}function iM(){I.lFrame.currentNamespace=Ec}function yh(){return I.lFrame.currentNamespace}var Lc=!0;function Gr(){return Lc}function zr(e){Lc=e}function Dh(e,t,n){let{ngOnChanges:r,ngOnInit:o,ngDoCheck:i}=t.type.prototype;if(r){let s=vc(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 Wr(e,t){for(let n=t.directiveStart,r=t.directiveEnd;n=r)break}else t[u]<0&&(e[Rt]+=65536),(a>14>16&&(e[m]&3)===t&&(e[m]+=16384,su(a,i)):su(a,i)}var jt=-1,mt=class{constructor(t,n,r){this.factory=t,this.resolving=!1,this.canSeeViewProviders=n,this.injectImpl=r}};function Ih(e){return e instanceof mt}function wh(e){return(e.flags&8)!==0}function Eh(e){return(e.flags&16)!==0}function Vc(e){return e!==jt}function Er(e){return e&32767}function Ch(e){return e>>16}function Cr(e,t){let n=Ch(e),r=t;for(;n>0;)r=r[qt],n--;return r}var fi=!0;function br(e){let t=fi;return fi=e,t}var bh=256,Bc=bh-1,$c=5,_h=0,xe={};function Mh(e,t,n){let r;typeof n=="string"?r=n.charCodeAt(0)||0:n.hasOwnProperty(an)&&(r=n[an]),r==null&&(r=n[an]=_h++);let o=r&Bc,i=1<>$c)]|=i}function _r(e,t){let n=Hc(e,t);if(n!==-1)return n;let r=t[E];r.firstCreatePass&&(e.injectorIndex=t.length,Uo(r.data,e),Uo(t,null),Uo(r.blueprint,null));let o=Es(e,t),i=e.injectorIndex;if(Vc(o)){let s=Er(o),a=Cr(o,t),u=a[E].data;for(let c=0;c<8;c++)t[i+c]=a[s+c]|u[s+c]}return t[i+8]=o,i}function Uo(e,t){e.push(0,0,0,0,0,0,0,0,t)}function Hc(e,t){return e.injectorIndex===-1||e.parent&&e.parent.injectorIndex===e.injectorIndex||t[e.injectorIndex+8]===null?-1:e.injectorIndex}function Es(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=qc(o),r===null)return jt;if(n++,o=o[qt],r.injectorIndex!==-1)return r.injectorIndex|n<<16}return jt}function pi(e,t,n){Mh(e,t,n)}function xh(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>20,d=r?a:a+l,f=o?a+l:c;for(let p=d;p=u&&h.type===n)return p}if(o){let p=s[u];if(p&&Ye(p)&&p.type===n)return u}return null}function yt(e,t,n,r){let o=e[n],i=t.data;if(Ih(o)){let s=o;s.resolving&&Xf(Jf(i[n]));let a=br(s.canSeeViewProviders);s.resolving=!0;let u,c=s.injectImpl?te(s.injectImpl):null,l=Oc(e,r,b.Default);try{o=e[n]=s.factory(void 0,i,e,r),t.firstCreatePass&&n>=r.directiveStart&&Dh(n,i[n],t)}finally{c!==null&&te(c),br(a),s.resolving=!1,kc()}}return o}function Th(e){if(typeof e=="string")return e.charCodeAt(0)||0;let t=e.hasOwnProperty(an)?e[an]:void 0;return typeof t=="number"?t>=0?t&Bc:Nh:t}function au(e,t,n){let r=1<>$c)]&r)}function uu(e,t){return!(e&b.Self)&&!(e&b.Host&&t)}var dt=class{constructor(t,n){this._tNode=t,this._lView=n}get(t,n,r){return zc(this._tNode,this._lView,t,Lr(r),n)}};function Nh(){return new dt(K(),y())}function sM(e){return Dn(()=>{let t=e.prototype.constructor,n=t[gr]||hi(t),r=Object.prototype,o=Object.getPrototypeOf(e.prototype).constructor;for(;o&&o!==r;){let i=o[gr]||hi(o);if(i&&i!==n)return i;o=Object.getPrototypeOf(o)}return i=>new i})}function hi(e){return $u(e)?()=>{let t=hi(Y(e));return t&&t()}:ft(e)}function Ah(e,t,n,r,o){let i=e,s=t;for(;i!==null&&s!==null&&s[m]&2048&&!(s[m]&512);){let a=Wc(i,s,n,r|b.Self,xe);if(a!==xe)return a;let u=i.parent;if(!u){let c=s[gc];if(c){let l=c.get(n,xe,r);if(l!==xe)return l}u=qc(s),s=s[qt]}i=u}return o}function qc(e){let t=e[E],n=t.type;return n===2?t.declTNode:n===1?e[we]:null}function Oh(e){return xh(K(),e)}function cu(e,t=null,n=null,r){let o=Yc(e,t,n,r);return o.resolveInjectorInitializers(),o}function Yc(e,t=null,n=null,r,o=new Set){let i=[n||ne,Np(e)];return r=r||(typeof e=="object"?void 0:Q(e)),new dn(i,t||ps(),r||null,o)}var _n=(()=>{let t=class t{static create(r,o){if(Array.isArray(r))return cu({name:""},o,r,"");{let i=r.name??"";return cu({name:i},r.parent,r.providers,i)}}};t.THROW_IF_NOT_FOUND=un,t.NULL=new vr,t.\u0275prov=j({token:t,providedIn:"any",factory:()=>W(Ju)}),t.__NG_ELEMENT_ID__=-1;let e=t;return e})();var Fh="ngOriginalError";function Go(e){return e[Fh]}var Dt=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&&Go(t);for(;n&&Go(n);)n=Go(n);return n||null}},Qc=new O("",{providedIn:"root",factory:()=>T(Dt).handleError.bind(void 0)}),Cs=(()=>{let t=class t{};t.__NG_ELEMENT_ID__=Rh,t.__NG_ENV_ID__=r=>r;let e=t;return e})(),gi=class extends Cs{constructor(t){super(),this._lView=t}onDestroy(t){return Mc(this._lView,t),()=>th(this._lView,t)}};function Rh(){return new gi(y())}function Ph(){return Yt(K(),y())}function Yt(e,t){return new et(de(e,t))}var et=(()=>{let t=class t{constructor(r){this.nativeElement=r}};t.__NG_ELEMENT_ID__=Ph;let e=t;return e})();function kh(e){return e instanceof et?e.nativeElement:e}var mi=class extends He{constructor(t=!1){super(),this.destroyRef=void 0,this.__isAsync=t,hc()&&(this.destroyRef=T(Cs,{optional:!0})??void 0)}emit(t){let n=M(null);try{super.next(t)}finally{M(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=zo(i),o&&(o=zo(o)),s&&(s=zo(s)));let a=super.subscribe({next:o,error:i,complete:s});return t instanceof U&&t.add(a),a}};function zo(e){return t=>{setTimeout(e,void 0,t)}}var ct=mi;function Lh(){return this._results[Symbol.iterator]()}var yi=class e{get changes(){return this._changes??=new ct}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]=Lh)}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=lp(t);(this._changesDetected=!cp(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 Zc(e){return(e.flags&128)===128}var Kc=new Map,jh=0;function Vh(){return jh++}function Bh(e){Kc.set(e[Br],e)}function $h(e){Kc.delete(e[Br])}var lu="__ngContext__";function Qe(e,t){lt(t)?(e[lu]=t[Br],Bh(t)):e[lu]=t}function Jc(e){return el(e[pn])}function Xc(e){return el(e[ye])}function el(e){for(;e!==null&&!ke(e);)e=e[ye];return e}var Di;function aM(e){Di=e}function tl(){if(Di!==void 0)return Di;if(typeof document<"u")return document;throw new _(210,!1)}var uM=new O("",{providedIn:"root",factory:()=>Hh}),Hh="ng",Uh=new O(""),bs=new O("",{providedIn:"platform",factory:()=>"unknown"});var cM=new O(""),lM=new O("",{providedIn:"root",factory:()=>tl().body?.querySelector("[ngCspNonce]")?.getAttribute("ngCspNonce")||null});var Gh="h",zh="b";var Wh=()=>null;function _s(e,t,n=!1){return Wh(e,t,n)}var nl=!1,qh=new O("",{providedIn:"root",factory:()=>nl});var or;function Yh(){if(or===void 0&&(or=null,ce.trustedTypes))try{or=ce.trustedTypes.createPolicy("angular",{createHTML:e=>e,createScript:e=>e,createScriptURL:e=>e})}catch{}return or}function qr(e){return Yh()?.createHTML(e)||e}var ir;function rl(){if(ir===void 0&&(ir=null,ce.trustedTypes))try{ir=ce.trustedTypes.createPolicy("angular#unsafe-bypass",{createHTML:e=>e,createScript:e=>e,createScriptURL:e=>e})}catch{}return ir}function du(e){return rl()?.createHTML(e)||e}function fu(e){return rl()?.createScriptURL(e)||e}var Re=class{constructor(t){this.changingThisBreaksApplicationSecurity=t}toString(){return`SafeValue must use [property]=binding: ${this.changingThisBreaksApplicationSecurity} (see ${Lu})`}},vi=class extends Re{getTypeName(){return"HTML"}},Ii=class extends Re{getTypeName(){return"Style"}},wi=class extends Re{getTypeName(){return"Script"}},Ei=class extends Re{getTypeName(){return"URL"}},Ci=class extends Re{getTypeName(){return"ResourceURL"}};function Qt(e){return e instanceof Re?e.changingThisBreaksApplicationSecurity:e}function Ms(e,t){let n=Qh(e);if(n!=null&&n!==t){if(n==="ResourceURL"&&t==="URL")return!0;throw new Error(`Required a safe ${t}, got a ${n} (see ${Lu})`)}return n===t}function Qh(e){return e instanceof Re&&e.getTypeName()||null}function dM(e){return new vi(e)}function fM(e){return new Ii(e)}function pM(e){return new wi(e)}function hM(e){return new Ei(e)}function gM(e){return new Ci(e)}function Zh(e){let t=new _i(e);return Kh()?new bi(t):t}var bi=class{constructor(t){this.inertDocumentHelper=t}getInertBodyElement(t){t=""+t;try{let n=new window.DOMParser().parseFromString(qr(t),"text/html").body;return n===null?this.inertDocumentHelper.getInertBodyElement(t):(n.removeChild(n.firstChild),n)}catch{return null}}},_i=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=qr(t),n}};function Kh(){try{return!!new window.DOMParser().parseFromString(qr(""),"text/html")}catch{return!1}}var Jh=/^(?!javascript:)(?:[a-z0-9+.-]+:|[^&:\/?#]*(?:[\/?#]|$))/i;function ol(e){return e=String(e),e.match(Jh)?e:"unsafe:"+e}function Le(e){let t={};for(let n of e.split(","))t[n]=!0;return t}function Mn(...e){let t={};for(let n of e)for(let r in n)n.hasOwnProperty(r)&&(t[r]=!0);return t}var il=Le("area,br,col,hr,img,wbr"),sl=Le("colgroup,dd,dt,li,p,tbody,td,tfoot,th,thead,tr"),al=Le("rp,rt"),Xh=Mn(al,sl),eg=Mn(sl,Le("address,article,aside,blockquote,caption,center,del,details,dialog,dir,div,dl,figure,figcaption,footer,h1,h2,h3,h4,h5,h6,header,hgroup,hr,ins,main,map,menu,nav,ol,pre,section,summary,table,ul")),tg=Mn(al,Le("a,abbr,acronym,audio,b,bdi,bdo,big,br,cite,code,del,dfn,em,font,i,img,ins,kbd,label,map,mark,picture,q,ruby,rp,rt,s,samp,small,source,span,strike,strong,sub,sup,time,track,tt,u,var,video")),pu=Mn(il,eg,tg,Xh),ul=Le("background,cite,href,itemtype,longdesc,poster,src,xlink:href"),ng=Le("abbr,accesskey,align,alt,autoplay,axis,bgcolor,border,cellpadding,cellspacing,class,clear,color,cols,colspan,compact,controls,coords,datetime,default,dir,download,face,headers,height,hidden,hreflang,hspace,ismap,itemscope,itemprop,kind,label,lang,language,loop,media,muted,nohref,nowrap,open,preload,rel,rev,role,rows,rowspan,rules,scope,scrolling,shape,size,sizes,span,srclang,srcset,start,summary,tabindex,target,title,translate,type,usemap,valign,value,vspace,width"),rg=Le("aria-activedescendant,aria-atomic,aria-autocomplete,aria-busy,aria-checked,aria-colcount,aria-colindex,aria-colspan,aria-controls,aria-current,aria-describedby,aria-details,aria-disabled,aria-dropeffect,aria-errormessage,aria-expanded,aria-flowto,aria-grabbed,aria-haspopup,aria-hidden,aria-invalid,aria-keyshortcuts,aria-label,aria-labelledby,aria-level,aria-live,aria-modal,aria-multiline,aria-multiselectable,aria-orientation,aria-owns,aria-placeholder,aria-posinset,aria-pressed,aria-readonly,aria-relevant,aria-required,aria-roledescription,aria-rowcount,aria-rowindex,aria-rowspan,aria-selected,aria-setsize,aria-sort,aria-valuemax,aria-valuemin,aria-valuenow,aria-valuetext"),og=Mn(ul,ng,rg),ig=Le("script,style,template"),Mi=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=ug(n);continue}for(;n;){n.nodeType===Node.ELEMENT_NODE&&this.endElement(n);let i=ag(n);if(i){n=i;break}n=o.pop()}}return this.buf.join("")}startElement(t){let n=hu(t).toLowerCase();if(!pu.hasOwnProperty(n))return this.sanitizedSomething=!0,!ig.hasOwnProperty(n);this.buf.push("<"),this.buf.push(n);let r=t.attributes;for(let o=0;o"),!0}endElement(t){let n=hu(t).toLowerCase();pu.hasOwnProperty(n)&&!il.hasOwnProperty(n)&&(this.buf.push(""))}chars(t){this.buf.push(gu(t))}};function sg(e,t){return(e.compareDocumentPosition(t)&Node.DOCUMENT_POSITION_CONTAINED_BY)!==Node.DOCUMENT_POSITION_CONTAINED_BY}function ag(e){let t=e.nextSibling;if(t&&e!==t.previousSibling)throw cl(t);return t}function ug(e){let t=e.firstChild;if(t&&sg(e,t))throw cl(t);return t}function hu(e){let t=e.nodeName;return typeof t=="string"?t:"FORM"}function cl(e){return new Error(`Failed to sanitize html because the element is clobbered: ${e.outerHTML}`)}var cg=/[\uD800-\uDBFF][\uDC00-\uDFFF]/g,lg=/([^\#-~ |!])/g;function gu(e){return e.replace(/&/g,"&").replace(cg,function(t){let n=t.charCodeAt(0),r=t.charCodeAt(1);return"&#"+((n-55296)*1024+(r-56320)+65536)+";"}).replace(lg,function(t){return"&#"+t.charCodeAt(0)+";"}).replace(//g,">")}var sr;function dg(e,t){let n=null;try{sr=sr||Zh(e);let r=t?String(t):"";n=sr.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=sr.getInertBodyElement(r)}while(r!==i);let a=new Mi().sanitizeChildren(mu(n)||n);return qr(a)}finally{if(n){let r=mu(n)||n;for(;r.firstChild;)r.removeChild(r.firstChild)}}}function mu(e){return"content"in e&&fg(e)?e.content:null}function fg(e){return e.nodeType===Node.ELEMENT_NODE&&e.nodeName==="TEMPLATE"}var Yr=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}(Yr||{});function mM(e){let t=xs();return t?du(t.sanitize(Yr.HTML,e)||""):Ms(e,"HTML")?du(Qt(e)):dg(tl(),Se(e))}function pg(e){let t=xs();return t?t.sanitize(Yr.URL,e)||"":Ms(e,"URL")?Qt(e):ol(Se(e))}function hg(e){let t=xs();if(t)return fu(t.sanitize(Yr.RESOURCE_URL,e)||"");if(Ms(e,"ResourceURL"))return fu(Qt(e));throw new _(904,!1)}function gg(e,t){return t==="src"&&(e==="embed"||e==="frame"||e==="iframe"||e==="media"||e==="script")||t==="href"&&(e==="base"||e==="link")?hg:pg}function yM(e,t,n){return gg(t,n)(e)}function xs(){let e=y();return e&&e[ve].sanitizer}var mg=/^>|^->||--!>|)/g,Dg="\u200B$1\u200B";function vg(e){return e.replace(mg,t=>t.replace(yg,Dg))}function DM(e){return e.ownerDocument.defaultView}function vM(e){return e.ownerDocument}function ll(e){return e instanceof Function?e():e}function Ig(e){return(e??T(_n)).get(bs)==="browser"}var mn=function(e){return e[e.Important=1]="Important",e[e.DashCase=2]="DashCase",e}(mn||{}),wg;function Ss(e,t){return wg(e,t)}function Pt(e,t,n,r,o){if(r!=null){let i,s=!1;ke(r)?i=r:lt(r)&&(s=!0,r=r[Pe]);let a=Ne(r);e===0&&n!==null?o==null?gl(t,n,a):Mr(t,n,a,o||null,!0):e===1&&n!==null?Mr(t,n,a,o||null,!0):e===2?Vg(t,a,s):e===3&&t.destroyNode(a),i!=null&&$g(t,e,i,n,o)}}function Eg(e,t){return e.createText(t)}function Cg(e,t,n){e.setValue(t,n)}function bg(e,t){return e.createComment(vg(t))}function dl(e,t,n){return e.createElement(t,n)}function _g(e,t){fl(e,t),t[Pe]=null,t[we]=null}function Mg(e,t,n,r,o,i){r[Pe]=o,r[we]=t,Zr(e,r,n,1,o,i)}function fl(e,t){t[ve].changeDetectionScheduler?.notify(1),Zr(e,t,t[L],2,null,null)}function xg(e){let t=e[pn];if(!t)return Wo(e[E],e);for(;t;){let n=null;if(lt(t))n=t[pn];else{let r=t[se];r&&(n=r)}if(!n){for(;t&&!t[ye]&&t!==e;)lt(t)&&Wo(t[E],t),t=t[z];t===null&&(t=e),lt(t)&&Wo(t[E],t),n=t&&t[ye]}t=n}}function Sg(e,t,n,r){let o=se+r,i=n.length;r>0&&(n[o-1][ye]=t),r0&&(e[n-1][ye]=r[ye]);let i=yr(e,se+t);_g(r[E],r);let s=i[Fe];s!==null&&s.detachView(i[E]),r[z]=null,r[ye]=null,r[m]&=-129}return r}function hl(e,t){if(!(t[m]&256)){let n=t[L];n.destroyNode&&Zr(e,t,n,3,null,null),xg(t)}}function Wo(e,t){if(t[m]&256)return;let n=M(null);try{t[m]&=-129,t[m]|=256,t[pt]&&ma(t[pt]),Ag(e,t),Ng(e,t),t[E].type===1&&t[L].destroy();let r=t[wn];if(r!==null&&ke(t[z])){r!==t[z]&&pl(r,t);let o=t[Fe];o!==null&&o.detachView(e)}$h(t)}finally{M(n)}}function Ng(e,t){let n=e.cleanup,r=t[fn];if(n!==null)for(let i=0;i=0?r[s]():r[-s].unsubscribe(),i+=2}else{let s=r[n[i+1]];n[i].call(s)}r!==null&&(t[fn]=null);let o=t[Ge];if(o!==null){t[Ge]=null;for(let i=0;i-1){let{encapsulation:i}=e.data[r.directiveStart+o];if(i===cn.None||i===cn.Emulated)return null}return de(r,n)}}function Mr(e,t,n,r,o){e.insertBefore(t,n,r,o)}function gl(e,t,n){e.appendChild(t,n)}function yu(e,t,n,r,o){r!==null?Mr(e,t,n,r,o):gl(e,t,n)}function Rg(e,t,n,r){e.removeChild(t,n,r)}function Ts(e,t){return e.parentNode(t)}function Pg(e,t){return e.nextSibling(t)}function kg(e,t,n){return jg(e,t,n)}function Lg(e,t,n){return e.type&40?de(e,n):null}var jg=Lg,Du;function Qr(e,t,n,r){let o=Og(e,r,t),i=t[L],s=r.parent||t[we],a=kg(s,r,t);if(o!=null)if(Array.isArray(n))for(let u=0;uZ&&vl(e,t,Z,!1),Me(s?2:0,o),n(r,o)}finally{gt(i),Me(s?3:1,o)}}function As(e,t,n){if(gs(t)){let r=M(null);try{let o=t.directiveStart,i=t.directiveEnd;for(let s=o;snull;function Zg(e,t,n,r){let o=Sl(t);o.push(n),e.firstCreatePass&&Tl(e).push(r,o.length-1)}function Kg(e,t,n,r,o,i){let s=t?t.injectorIndex:-1,a=0;return ih()&&(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 vu(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=ze.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?Iu(r,n,c,a,u):Iu(r,n,c,a)}return r}function Iu(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 Jg(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;l0;){let n=e[--t];if(typeof n=="number"&&n<0)return n}return 0}function rm(e,t,n,r){let o=n.directiveStart,i=n.directiveEnd;$r(n)&&lm(t,n,e.data[o+n.componentOffset]),e.firstCreatePass||_r(n,t),Qe(r,t);let s=n.initialInputs;for(let a=o;a{hn(e.lView)},consumerOnSignalRead(){this.lView[pt]=this}}),Fl=100;function Rl(e,t=!0,n=0){let r=e[ve],o=r.rendererFactory,i=!1;i||o.begin?.();try{_m(e,n)}catch(s){throw t&&Nl(e,s),s}finally{i||(o.end?.(),r.inlineEffectRunner?.flush())}}function _m(e,t){Ai(e,t);let n=0;for(;ys(e);){if(n===Fl)throw new _(103,!1);n++,Ai(e,1)}}function Mm(e,t,n,r){let o=t[m];if((o&256)===256)return;let i=!1;!i&&t[ve].inlineEffectRunner?.flush(),Is(t);let s=null,a=null;!i&&xm(e)&&(a=wm(t),s=ha(a));try{_c(t),lh(e.bindingStartIndex),n!==null&&El(e,t,n,2,r);let u=(o&3)===3;if(!i)if(u){let d=e.preOrderCheckHooks;d!==null&&lr(t,d,null)}else{let d=e.preOrderHooks;d!==null&&dr(t,d,0,null),Ho(t,0)}if(Sm(t),Pl(t,0),e.contentQueries!==null&&xl(e,t),!i)if(u){let d=e.contentCheckHooks;d!==null&&lr(t,d)}else{let d=e.contentHooks;d!==null&&dr(t,d,1),Ho(t,1)}Gg(e,t);let c=e.components;c!==null&&Ll(t,c,0);let l=e.viewQuery;if(l!==null&&Ni(2,l,r),!i)if(u){let d=e.viewCheckHooks;d!==null&&lr(t,d)}else{let d=e.viewHooks;d!==null&&dr(t,d,2),Ho(t,2)}if(e.firstUpdatePass===!0&&(e.firstUpdatePass=!1),t[$o]){for(let d of t[$o])d();t[$o]=null}i||(t[m]&=-73)}catch(u){throw hn(t),u}finally{a!==null&&(ga(a,s),Cm(a)),ws()}}function xm(e){return e.type!==2}function Pl(e,t){for(let n=Jc(e);n!==null;n=Xc(n))for(let r=se;r-1&&(xi(t,r),yr(n,r))}this._attachedToViewContainer=!1}hl(this._lView[E],this._lView)}onDestroy(t){Mc(this._lView,t)}markForCheck(){js(this._cdRefInjectingView||this._lView)}detach(){this._lView[m]&=-129}reattach(){li(this._lView),this._lView[m]|=128}detectChanges(){this._lView[m]|=1024,Rl(this._lView,this.notifyErrorHandler)}checkNoChanges(){}attachToViewContainerRef(){if(this._appRef)throw new _(902,!1);this._attachedToViewContainer=!0}detachFromAppRef(){this._appRef=null,fl(this._lView[E],this._lView)}attachToAppRef(t){if(this._attachedToViewContainer)throw new _(902,!1);this._appRef=t,li(this._lView)}},It=(()=>{let t=class t{};t.__NG_ELEMENT_ID__=Om;let e=t;return e})(),Nm=It,Am=class extends Nm{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=Dm(this._declarationLView,this._declarationTContainer,t,{embeddedViewInjector:n,dehydratedView:r});return new vt(o)}};function Om(){return Vs(K(),y())}function Vs(e,t){return e.type&4?new Am(t,e,Yt(e,t)):null}var CM=new RegExp(`^(\\d+)*(${zh}|${Gh})*(.*)`);var Fm=()=>null;function Eu(e,t){return Fm(e,t)}var Sr=class{},Oi=class{},Tr=class{};function Rm(e){let t=Error(`No component factory found for ${Q(e)}.`);return t[Pm]=e,t}var Pm="ngComponent";var Fi=class{resolveComponentFactory(t){throw Rm(t)}},eo=(()=>{let t=class t{};t.NULL=new Fi;let e=t;return e})(),Ri=class{},to=(()=>{let t=class t{constructor(){this.destroyNode=null}};t.__NG_ELEMENT_ID__=()=>km();let e=t;return e})();function km(){let e=y(),t=K(),n=Ke(t.index,e);return(lt(n)?n:e)[L]}var Lm=(()=>{let t=class t{};t.\u0275prov=j({token:t,providedIn:"root",factory:()=>null});let e=t;return e})(),qo={};var Cu=new Set;function Bs(e){Cu.has(e)||(Cu.add(e),performance?.mark?.("mark_feature_usage",{detail:{feature:e}}))}function bu(...e){}function jm(){let e=typeof ce.requestAnimationFrame=="function",t=ce[e?"requestAnimationFrame":"setTimeout"],n=ce[e?"cancelAnimationFrame":"clearTimeout"];if(typeof Zone<"u"&&t&&n){let r=t[Zone.__symbol__("OriginalDelegate")];r&&(t=r);let o=n[Zone.__symbol__("OriginalDelegate")];o&&(n=o)}return{nativeRequestAnimationFrame:t,nativeCancelAnimationFrame:n}}var le=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 ct(!1),this.onMicrotaskEmpty=new ct(!1),this.onStable=new ct(!1),this.onError=new ct(!1),typeof Zone>"u")throw new _(908,!1);Zone.assertZonePatched();let o=this;o._nesting=0,o._outer=o._inner=Zone.current,Zone.TaskTrackingZoneSpec&&(o._inner=o._inner.fork(new Zone.TaskTrackingZoneSpec)),t&&Zone.longStackTraceZoneSpec&&(o._inner=o._inner.fork(Zone.longStackTraceZoneSpec)),o.shouldCoalesceEventChangeDetection=!r&&n,o.shouldCoalesceRunChangeDetection=r,o.lastRequestAnimationFrameId=-1,o.nativeRequestAnimationFrame=jm().nativeRequestAnimationFrame,$m(o)}static isInAngularZone(){return typeof Zone<"u"&&Zone.current.get("isAngularZone")===!0}static assertInAngularZone(){if(!e.isInAngularZone())throw new _(909,!1)}static assertNotInAngularZone(){if(e.isInAngularZone())throw new _(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,Vm,bu,bu);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)}},Vm={};function $s(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 Bm(e){e.isCheckStableRunning||e.lastRequestAnimationFrameId!==-1||(e.lastRequestAnimationFrameId=e.nativeRequestAnimationFrame.call(ce,()=>{e.fakeTopEventTask||(e.fakeTopEventTask=Zone.root.scheduleEventTask("fakeTopEventTask",()=>{e.lastRequestAnimationFrameId=-1,Pi(e),e.isCheckStableRunning=!0,$s(e),e.isCheckStableRunning=!1},void 0,()=>{},()=>{})),e.fakeTopEventTask.invoke()}),Pi(e))}function $m(e){let t=()=>{Bm(e)};e._inner=e._inner.fork({name:"angular",properties:{isAngularZone:!0},onInvokeTask:(n,r,o,i,s,a)=>{if(Hm(a))return n.invokeTask(o,i,s,a);try{return _u(e),n.invokeTask(o,i,s,a)}finally{(e.shouldCoalesceEventChangeDetection&&i.type==="eventTask"||e.shouldCoalesceRunChangeDetection)&&t(),Mu(e)}},onInvoke:(n,r,o,i,s,a,u)=>{try{return _u(e),n.invoke(o,i,s,a,u)}finally{e.shouldCoalesceRunChangeDetection&&t(),Mu(e)}},onHasTask:(n,r,o,i)=>{n.hasTask(o,i),r===o&&(i.change=="microTask"?(e._hasPendingMicrotasks=i.microTask,Pi(e),$s(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 Pi(e){e._hasPendingMicrotasks||(e.shouldCoalesceEventChangeDetection||e.shouldCoalesceRunChangeDetection)&&e.lastRequestAnimationFrameId!==-1?e.hasPendingMicrotasks=!0:e.hasPendingMicrotasks=!1}function _u(e){e._nesting++,e.isStable&&(e.isStable=!1,e.onUnstable.emit(null))}function Mu(e){e._nesting--,$s(e)}function Hm(e){return!Array.isArray(e)||e.length!==1?!1:e[0].data?.__ignore_ng_zone__===!0}var kt=function(e){return e[e.EarlyRead=0]="EarlyRead",e[e.Write=1]="Write",e[e.MixedReadWrite=2]="MixedReadWrite",e[e.Read=3]="Read",e}(kt||{}),Um={destroy(){}};function Gm(e,t){!t&&Hp(Gm);let n=t?.injector??T(_n);if(!Ig(n))return Um;Bs("NgAfterNextRender");let r=n.get(Hs),o=r.handler??=new Li,i=t?.phase??kt.MixedReadWrite,s=()=>{o.unregister(u),a()},a=n.get(Cs).onDestroy(s),u=$p(n,()=>new ki(i,()=>{s(),e()}));return o.register(u),{destroy:s}}var ki=class{constructor(t,n){this.phase=t,this.callbackFn=n,this.zone=T(le),this.errorHandler=T(Dt,{optional:!0}),T(Sr,{optional:!0})?.notify(1)}invoke(){try{this.zone.runOutsideAngular(this.callbackFn)}catch(t){this.errorHandler?.handleError(t)}}},Li=class{constructor(){this.executingCallbacks=!1,this.buckets={[kt.EarlyRead]:new Set,[kt.Write]:new Set,[kt.MixedReadWrite]:new Set,[kt.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()}},Hs=(()=>{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 Nr(e,t,n){let r=n?e.styles:null,o=n?e.classes:null,i=0;if(t!==null)for(let s=0;s0&&yl(e,n,i.join(" "))}}function Km(e,t,n){let r=e.projection=[];for(let o=0;o{let t=class t{};t.__NG_ELEMENT_ID__=Xm;let e=t;return e})();function Xm(){let e=K();return Vl(e,y())}var ey=Zt,jl=class extends ey{constructor(t,n,r){super(),this._lContainer=t,this._hostTNode=n,this._hostLView=r}get element(){return Yt(this._hostTNode,this._hostLView)}get injector(){return new dt(this._hostTNode,this._hostLView)}get parentInjector(){let t=Es(this._hostTNode,this._hostLView);if(Vc(t)){let n=Cr(t,this._hostLView),r=Er(t),o=n[E].data[r+8];return new dt(o,n)}else return new dt(null,this._hostLView)}clear(){for(;this.length>0;)this.remove(this.length-1)}get(t){let n=Su(this._lContainer);return n!==null&&n[t]||null}get length(){return this._lContainer.length-se}createEmbeddedView(t,n,r){let o,i;typeof r=="number"?o=r:r!=null&&(o=r.index,i=r.injector);let s=Eu(this._lContainer,t.ssrId),a=t.createEmbeddedViewImpl(n||{},i,s);return this.insertImpl(a,o,wu(this._hostTNode,s)),a}createComponent(t,n,r,o,i){let s=t&&!Up(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 Gt(We(t)),c=r||this.parentInjector;if(!i&&u.ngModule==null){let v=(s?c:this.parentInjector).get(qe,null);v&&(i=v)}let l=We(u.componentType??{}),d=Eu(this._lContainer,l?.id??null),f=d?.firstChild??null,p=u.create(c,o,f,i);return this.insertImpl(p.hostView,a,wu(this._hostTNode,d)),p}insert(t,n){return this.insertImpl(t,n,!0)}insertImpl(t,n,r){let o=t._lView;if(Jp(o)){let a=this.indexOf(t);if(a!==-1)this.detach(a);else{let u=o[z],c=new jl(u,u[we],u[z]);c.detach(c.indexOf(t))}}let i=this._adjustIndex(n),s=this._lContainer;return vm(s,o,i,r),t.attachToViewContainerRef(),Ku(Yo(s),i,t),t}move(t,n){return this.insert(t,n)}indexOf(t){let n=Su(this._lContainer);return n!==null?n.indexOf(t):-1}remove(t){let n=this._adjustIndex(t,-1),r=xi(this._lContainer,n);r&&(yr(Yo(this._lContainer),n),hl(r[E],r))}detach(t){let n=this._adjustIndex(t,-1),r=xi(this._lContainer,n);return r&&yr(Yo(this._lContainer),n)!=null?new vt(r):null}_adjustIndex(t,n=0){return t??this.length+n}};function Su(e){return e[wr]}function Yo(e){return e[wr]||(e[wr]=[])}function Vl(e,t){let n,r=t[e.index];return ke(r)?n=r:(n=Ml(r,t,null,e),t[e.index]=n,Xr(t,n)),ny(n,t,e,r),new jl(n,e,t)}function ty(e,t){let n=e[L],r=n.createComment(""),o=de(t,e),i=Ts(n,o);return Mr(n,i,r,Pg(n,o),!1),r}var ny=iy,ry=()=>!1;function oy(e,t,n){return ry(e,t,n)}function iy(e,t,n,r){if(e[ht])return;let o;n.type&8?o=Ne(r):o=ty(t,n),e[ht]=o}var Bi=class e{constructor(t){this.queryList=t,this.matches=null}clone(){return new e(this.queryList)}setDirty(){this.queryList.setDirty()}},$i=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;i0)r.push(s[a/2]);else{let c=i[a+1],l=t[-u];for(let d=se;dt.trim())}function hy(e,t,n){e.queries===null&&(e.queries=new Ui),e.queries.track(new Gi(t,n))}function Us(e,t){return e.queries.getByIndex(t)}function gy(e,t){let n=e[E],r=Us(n,t);return r.crossesNgTemplate?zi(n,e,t,[]):Bl(n,e,r,t)}function my(e){return typeof e=="function"&&e[Io]!==void 0}function $l(e){return my(e)&&typeof e.set=="function"}function yy(e){return Object.getPrototypeOf(e.prototype).constructor}function Dy(e){let t=yy(e.type),n=!0,r=[e];for(;t;){let o;if(Ye(e))o=t.\u0275cmp||t.\u0275dir;else{if(t.\u0275cmp)throw new _(903,!1);o=t.\u0275dir}if(o){if(n){r.push(o);let s=e;s.inputs=ar(e.inputs),s.inputTransforms=ar(e.inputTransforms),s.declaredInputs=ar(e.declaredInputs),s.outputs=ar(e.outputs);let a=o.hostBindings;a&&Cy(e,a);let u=o.viewQuery,c=o.contentQueries;if(u&&wy(e,u),c&&Ey(e,c),vy(e,o),Gf(e.outputs,o.outputs),Ye(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=0;r--){let o=e[r];o.hostVars=t+=o.hostVars,o.hostAttrs=ln(o.hostAttrs,n=ln(n,o.hostAttrs))}}function ar(e){return e===Vt?{}:e===ne?[]:e}function wy(e,t){let n=e.viewQuery;n?e.viewQuery=(r,o)=>{t(r,o),n(r,o)}:e.viewQuery=t}function Ey(e,t){let n=e.contentQueries;n?e.contentQueries=(r,o,i)=>{t(r,o,i),n(r,o,i)}:e.contentQueries=t}function Cy(e,t){let n=e.hostBindings;n?e.hostBindings=(r,o)=>{t(r,o),n(r,o)}:e.hostBindings=t}function by(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 Ze=class{},Wi=class{};var qi=class extends Ze{constructor(t,n,r){super(),this._parent=n,this._bootstrapComponents=[],this.destroyCbs=[],this.componentFactoryResolver=new Ar(this);let o=sc(t);this._bootstrapComponents=ll(o.bootstrap),this._r3Injector=Yc(t,n,[{provide:Ze,useValue:this},{provide:eo,useValue:this.componentFactoryResolver},...r],Q(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)}},Yi=class extends Wi{constructor(t){super(),this.moduleType=t}create(t){return new qi(this.moduleType,t,[])}};var Or=class extends Ze{constructor(t){super(),this.componentFactoryResolver=new Ar(this),this.instance=null;let n=new dn([...t.providers,{provide:Ze,useValue:this},{provide:eo,useValue:this.componentFactoryResolver}],t.parent||ps(),t.debugName,new Set(["environment"]));this.injector=n,t.runEnvironmentInitializers&&n.resolveInjectorInitializers()}destroy(){this.injector.destroy()}onDestroy(t){this.injector.onDestroy(t)}};function _y(e,t,n=null){return new Or({providers:e,parent:t,debugName:n,runEnvironmentInitializers:!0}).injector}var Hl=(()=>{let t=class t{constructor(){this.taskId=0,this.pendingTasks=new Set,this.hasPendingTasks=new tn(!1)}get _hasPendingTasks(){return this.hasPendingTasks.value}add(){this._hasPendingTasks||this.hasPendingTasks.next(!0);let r=this.taskId++;return this.pendingTasks.add(r),r}remove(r){this.pendingTasks.delete(r),this.pendingTasks.size===0&&this._hasPendingTasks&&this.hasPendingTasks.next(!1)}ngOnDestroy(){this.pendingTasks.clear(),this._hasPendingTasks&&this.hasPendingTasks.next(!1)}};t.\u0275fac=function(o){return new(o||t)},t.\u0275prov=j({token:t,factory:t.\u0275fac,providedIn:"root"});let e=t;return e})();function Ul(e){return Gs(e)?Array.isArray(e)||!(e instanceof Map)&&Symbol.iterator in e:!1}function My(e,t){if(Array.isArray(e))for(let n=0;n>17&32767}function Py(e){return(e&2)==2}function ky(e,t){return e&131071|t<<17}function Qi(e){return e|2}function Wt(e){return(e&131068)>>2}function Qo(e,t){return e&-131069|t<<2}function Ly(e){return(e&1)===1}function Zi(e){return e|1}function jy(e,t,n,r,o,i){let s=i?t.classBindings:t.styleBindings,a=wt(s),u=Wt(s);e[r]=n;let c=!1,l;if(Array.isArray(n)){let d=n;l=d[1],(l===null||vn(d,l)>0)&&(c=!0)}else l=n;if(o)if(u!==0){let f=wt(e[a+1]);e[r+1]=ur(f,a),f!==0&&(e[f+1]=Qo(e[f+1],r)),e[a+1]=ky(e[a+1],r)}else e[r+1]=ur(a,0),a!==0&&(e[a+1]=Qo(e[a+1],r)),a=r;else e[r+1]=ur(u,0),a===0?a=r:e[u+1]=Qo(e[u+1],r),u=r;c&&(e[r+1]=Qi(e[r+1])),Tu(e,l,r,!0),Tu(e,l,r,!1),Vy(t,l,e,r,i),s=ur(a,u),i?t.classBindings=s:t.styleBindings=s}function Vy(e,t,n,r,o){let i=o?e.residualClasses:e.residualStyles;i!=null&&typeof t=="string"&&vn(i,t)>=0&&(n[r+1]=Zi(n[r+1]))}function Tu(e,t,n,r){let o=e[n+1],i=t===null,s=r?wt(o):Wt(o),a=!1;for(;s!==0&&(a===!1||i);){let u=e[s],c=e[s+1];By(u,t)&&(a=!0,e[s+1]=r?Zi(c):Qi(c)),s=r?wt(c):Wt(c)}a&&(e[n+1]=r?Qi(o):Zi(o))}function By(e,t){return e===null||t==null||(Array.isArray(e)?e[1]:e)===t?!0:Array.isArray(e)&&typeof t=="string"?vn(e,t)>=0:!1}var me={textEnd:0,key:0,keyEnd:0,value:0,valueEnd:0};function $y(e){return e.substring(me.key,me.keyEnd)}function Hy(e){return Uy(e),ql(e,Yl(e,0,me.textEnd))}function ql(e,t){let n=me.textEnd;return n===t?-1:(t=me.keyEnd=Gy(e,me.key=t,n),Yl(e,t,n))}function Uy(e){me.key=0,me.keyEnd=0,me.value=0,me.valueEnd=0,me.textEnd=e.length}function Yl(e,t,n){for(;t32;)t++;return t}function zy(e,t,n){let r=y(),o=Cn();if(Ie(r,o,t)){let i=B(),s=bn();Jr(i,s,r,e,t,r[L],n,!1)}return zy}function Ki(e,t,n,r,o){let i=t.inputs,s=o?"class":"style";ks(e,n,i[s],s,r)}function Wy(e,t){return qy(e,t,null,!0),Wy}function Ql(e,t){for(let n=Hy(t);n>=0;n=ql(t,n))jr(e,$y(t),!0)}function qy(e,t,n,r){let o=y(),i=B(),s=Ur(2);if(i.firstUpdatePass&&Jl(i,e,s,r),t!==re&&Ie(o,s,t)){let a=i.data[Xe()];Xl(i,a,o,o[L],e,o[s+1]=eD(t,n),r,s)}}function Zl(e,t,n,r){let o=B(),i=Ur(2);o.firstUpdatePass&&Jl(o,null,i,r);let s=y();if(n!==re&&Ie(s,i,n)){let a=o.data[Xe()];if(ed(a,r)&&!Kl(o,i)){let u=r?a.classesWithoutHost:a.stylesWithoutHost;u!==null&&(n=ti(u,n||"")),Ki(o,a,s,n,r)}else Xy(o,a,s,s[L],s[i+1],s[i+1]=Jy(e,t,n),r,i)}}function Kl(e,t){return t>=e.expandoStartIndex}function Jl(e,t,n,r){let o=e.data;if(o[n+1]===null){let i=o[Xe()],s=Kl(e,n);ed(i,r)&&t===null&&!s&&(t=!1),t=Yy(o,i,t,r),jy(o,i,t,n,s,r)}}function Yy(e,t,n,r){let o=hh(e),i=r?t.residualClasses:t.residualStyles;if(o===null)(r?t.classBindings:t.styleBindings)===0&&(n=Zo(null,e,t,n,r),n=yn(n,t.attrs,r),i=null);else{let s=t.directiveStylingLast;if(s===-1||e[s]!==o)if(n=Zo(o,e,t,n,r),i===null){let u=Qy(e,t,r);u!==void 0&&Array.isArray(u)&&(u=Zo(null,e,t,u[1],r),u=yn(u,t.attrs,r),Zy(e,t,r,u))}else i=Ky(e,t,r)}return i!==void 0&&(r?t.residualClasses=i:t.residualStyles=i),n}function Qy(e,t,n){let r=n?t.classBindings:t.styleBindings;if(Wt(r)!==0)return e[wt(r)]}function Zy(e,t,n,r){let o=n?t.classBindings:t.styleBindings;e[wt(o)]=r}function Ky(e,t,n){let r,o=t.directiveEnd;for(let i=1+t.directiveStylingLast;i0;){let u=e[o],c=Array.isArray(u),l=c?u[1]:u,d=l===null,f=n[o+1];f===re&&(f=d?ne:void 0);let p=d?Vo(f,r):l===r?f:void 0;if(c&&!Fr(p)&&(p=Vo(u,r)),Fr(p)&&(a=p,s))return a;let h=e[o+1];o=s?wt(h):Wt(h)}if(t!==null){let u=i?t.residualClasses:t.residualStyles;u!=null&&(a=Vo(u,r))}return a}function Fr(e){return e!==void 0}function eD(e,t){return e==null||e===""||(typeof t=="string"?e=e+t:typeof e=="object"&&(e=Q(Qt(e)))),e}function ed(e,t){return(e.flags&(t?8:16))!==0}function _M(e,t,n){let r=y(),o=zs(r,e,t,n);Zl(jr,Ql,o,!0)}function MM(e,t,n,r,o,i,s){let a=y(),u=Ry(a,e,t,n,r,o,i,s);Zl(jr,Ql,u,!0)}function tD(e,t,n,r,o,i){let s=t.consts,a=Ut(s,o),u=xn(t,e,2,r,a);return Ps(t,n,u,Ut(s,i)),u.attrs!==null&&Nr(u,u.attrs,!1),u.mergedAttrs!==null&&Nr(u,u.mergedAttrs,!0),t.queries!==null&&t.queries.elementStart(t,u),u}function td(e,t,n,r){let o=y(),i=B(),s=Z+e,a=o[L],u=i.firstCreatePass?tD(s,i,o,t,n,r):i.data[s],c=rD(i,o,u,a,t,e);o[s]=c;let l=Hr(u);return Et(u,!0),Dl(a,c,u),!xy(u)&&Gr()&&Qr(i,o,c,u),nh()===0&&Qe(c,o),rh(),l&&(Os(i,o,u),As(i,u,o)),r!==null&&Fs(o,u),td}function nd(){let e=K();Ds()?Tc():(e=e.parent,Et(e,!1));let t=e;sh(t)&&ah(),oh();let n=B();return n.firstCreatePass&&(Wr(n,e),gs(e)&&n.queries.elementEnd(e)),t.classesWithoutHost!=null&&wh(t)&&Ki(n,t,y(),t.classesWithoutHost,!0),t.stylesWithoutHost!=null&&Eh(t)&&Ki(n,t,y(),t.stylesWithoutHost,!1),nd}function nD(e,t,n,r){return td(e,t,n,r),nd(),nD}var rD=(e,t,n,r,o,i)=>(zr(!0),dl(r,o,yh()));function oD(e,t,n,r,o){let i=t.consts,s=Ut(i,r),a=xn(t,e,8,"ng-container",s);s!==null&&Nr(a,s,!0);let u=Ut(i,o);return Ps(t,n,a,u),t.queries!==null&&t.queries.elementStart(t,a),a}function iD(e,t,n){let r=y(),o=B(),i=e+Z,s=o.firstCreatePass?oD(i,o,r,t,n):o.data[i];Et(s,!0);let a=aD(o,r,s,e);return r[i]=a,Gr()&&Qr(o,r,a,s),Qe(a,r),Hr(s)&&(Os(o,r,s),As(o,s,r)),n!=null&&Fs(r,s),iD}function sD(){let e=K(),t=B();return Ds()?Tc():(e=e.parent,Et(e,!1)),t.firstCreatePass&&(Wr(t,e),gs(e)&&t.queries.elementEnd(e)),sD}var aD=(e,t,n,r)=>(zr(!0),bg(t[L],""));function xM(){return y()}function uD(e,t,n){let r=y(),o=Cn();if(Ie(r,o,t)){let i=B(),s=bn();Jr(i,s,r,e,t,r[L],n,!0)}return uD}var ut=void 0;function cD(e){let t=e,n=Math.floor(Math.abs(e)),r=e.toString().replace(/^[^.]*\.?/,"").length;return n===1&&r===0?1:5}var lD=["en",[["a","p"],["AM","PM"],ut],[["AM","PM"],ut,ut],[["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"]],ut,[["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"]],ut,[["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}",ut,"{1} 'at' {0}",ut],[".",",",";","%","+","-","E","\xD7","\u2030","\u221E","NaN",":"],["#,##0.###","#,##0%","\xA4#,##0.00","#E0"],"USD","$","US Dollar",{},"ltr",cD],Ko={};function oe(e){let t=dD(e),n=Au(t);if(n)return n;let r=t.split("-")[0];if(n=Au(r),n)return n;if(r==="en")return lD;throw new _(701,!1)}function Au(e){return e in Ko||(Ko[e]=ce.ng&&ce.ng.common&&ce.ng.common.locales&&ce.ng.common.locales[e]),Ko[e]}var V=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}(V||{});function dD(e){return e.toLowerCase().replace(/_/g,"-")}var Rr="en-US",fD="USD";var pD=Rr;function hD(e){typeof e=="string"&&(pD=e.toLowerCase().replace(/_/g,"-"))}function gD(e,t,n,r){let o=y(),i=B(),s=K();return rd(i,o,o[L],s,e,t,r),gD}function mD(e,t,n,r){let o=e.cleanup;if(o!=null)for(let i=0;iu?a[u]:null}typeof s=="string"&&(i+=2)}return null}function rd(e,t,n,r,o,i,s){let a=Hr(r),c=e.firstCreatePass&&Tl(e),l=t[De],d=Sl(t),f=!0;if(r.type&3||s){let v=de(r,t),R=s?s(v):v,N=d.length,X=s?ie=>s(Ne(ie[r.index])):r.index,G=null;if(!s&&a&&(G=mD(e,t,o,r.index)),G!==null){let ie=G.__ngLastListenerFn__||G;ie.__ngNextListenerFn__=i,G.__ngLastListenerFn__=i,f=!1}else{i=Fu(r,t,l,i,!1);let ie=n.listen(R,o,i);d.push(i,ie),c&&c.push(o,X,N,N+1)}}else i=Fu(r,t,l,i,!1);let p=r.outputs,h;if(f&&p!==null&&(h=p[o])){let v=h.length;if(v)for(let R=0;R-1?Ke(e.index,t):t;js(a);let u=Ou(t,n,r,s),c=i.__ngNextListenerFn__;for(;c;)u=Ou(t,n,c,s)&&u,c=c.__ngNextListenerFn__;return o&&u===!1&&s.preventDefault(),u}}function SM(e=1){return mh(e)}function yD(e,t,n){return od(e,"",t,"",n),yD}function od(e,t,n,r,o){let i=y(),s=zs(i,t,n,r);if(s!==re){let a=B(),u=bn();Jr(a,u,i,e,s,i[L],o,!1)}return od}function TM(e,t,n){fy(e,t,n)}function NM(e){let t=y(),n=B(),r=Ac();vs(r+1);let o=Us(n,r);if(e.dirty&&Kp(t)===((o.metadata.flags&2)===2)){if(o.matches===null)e.reset([]);else{let i=gy(t,r);e.reset(i,kh),e.notifyOnChanges()}return!0}return!1}function AM(){return ly(y(),Ac())}function DD(e,t,n,r){n>=e.data.length&&(e.data[n]=null,e.blueprint[n]=null),t[n]=r}function OM(e){let t=ch();return En(t,Z+e)}function FM(e,t=""){let n=y(),r=B(),o=e+Z,i=r.firstCreatePass?xn(r,o,1,t,null):r.data[o],s=vD(r,n,i,t,e);n[o]=s,Gr()&&Qr(r,n,s,i),Et(i,!1)}var vD=(e,t,n,r,o)=>(zr(!0),Eg(t[L],r));function ID(e){return id("",e,""),ID}function id(e,t,n){let r=y(),o=zs(r,e,t,n);return o!==re&&Al(r,Xe(),o),id}function wD(e,t,n,r,o){let i=y(),s=Fy(i,e,t,n,r,o);return s!==re&&Al(i,Xe(),s),wD}function ED(e,t,n){$l(t)&&(t=t());let r=y(),o=Cn();if(Ie(r,o,t)){let i=B(),s=bn();Jr(i,s,r,e,t,r[L],n,!1)}return ED}function RM(e,t){let n=$l(e);return n&&e.set(t),n}function CD(e,t){let n=y(),r=B(),o=K();return rd(r,n,n[L],o,e,t),CD}function bD(e,t,n){let r=B();if(r.firstCreatePass){let o=Ye(e);Ji(n,r.data,r.blueprint,o,!0),Ji(t,r.data,r.blueprint,o,!1)}}function Ji(e,t,n,r,o){if(e=Y(e),Array.isArray(e))for(let i=0;i>20;if(Bt(e)||!e.multi){let p=new mt(c,o,$),h=Xo(u,t,o?l:l+f,d);h===-1?(pi(_r(a,s),i,u),Jo(i,e,t.length),t.push(u),a.directiveStart++,a.directiveEnd++,o&&(a.providerIndexes+=1048576),n.push(p),s.push(p)):(n[h]=p,s[h]=p)}else{let p=Xo(u,t,l+f,d),h=Xo(u,t,l,l+f),v=p>=0&&n[p],R=h>=0&&n[h];if(o&&!R||!o&&!v){pi(_r(a,s),i,u);let N=xD(o?MD:_D,n.length,o,r,c);!o&&R&&(n[h].providerFactory=N),Jo(i,e,t.length,0),t.push(u),a.directiveStart++,a.directiveEnd++,o&&(a.providerIndexes+=1048576),n.push(N),s.push(N)}else{let N=sd(n[o?h:p],c,!o&&r);Jo(i,e,p>-1?p:h,N)}!o&&r&&R&&n[h].componentProviders++}}}function Jo(e,t,n,r){let o=Bt(t),i=Rp(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 sd(e,t,n){return n&&e.componentProviders++,e.multi.push(t)-1}function Xo(e,t,n,r){for(let o=n;o{n.providersResolver=(r,o)=>bD(r,o?o(e):e,t)}}var SD=(()=>{let t=class t{constructor(r){this._injector=r,this.cachedInjectors=new Map}getOrCreateStandaloneInjector(r){if(!r.standalone)return null;if(!this.cachedInjectors.has(r)){let o=cc(!1,r.type),i=o.length>0?_y([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(W(qe))});let e=t;return e})();function kM(e){Bs("NgStandalone"),e.getStandaloneInjector=t=>t.get(SD).getOrCreateStandaloneInjector(e)}function LM(e,t,n){let r=Je()+e,o=y();return o[r]===re?Kt(o,r,n?t.call(n):t()):Gl(o,r)}function jM(e,t,n,r){return ad(y(),Je(),e,t,n,r)}function VM(e,t,n,r,o,i){return ud(y(),Je(),e,t,n,r,o,i)}function BM(e,t,n,r,o,i,s,a,u){let c=Je()+e,l=y(),d=Wl(l,c,n,r,o,i);return zt(l,c+4,s,a)||d?Kt(l,c+6,u?t.call(u,n,r,o,i,s,a):t(n,r,o,i,s,a)):Gl(l,c+6)}function no(e,t){let n=e[t];return n===re?void 0:n}function ad(e,t,n,r,o,i){let s=t+n;return Ie(e,s,o)?Kt(e,s+1,i?r.call(i,o):r(o)):no(e,s+1)}function TD(e,t,n,r,o,i,s){let a=t+n;return zt(e,a,o,i)?Kt(e,a+2,s?r.call(s,o,i):r(o,i)):no(e,a+2)}function ud(e,t,n,r,o,i,s,a){let u=t+n;return zl(e,u,o,i,s)?Kt(e,u+3,a?r.call(a,o,i,s):r(o,i,s)):no(e,u+3)}function ND(e,t,n,r,o,i,s,a,u){let c=t+n;return Wl(e,c,o,i,s,a)?Kt(e,c+4,u?r.call(u,o,i,s,a):r(o,i,s,a)):no(e,c+4)}function $M(e,t){let n=B(),r,o=e+Z;n.firstCreatePass?(r=AD(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=ft(r.type,!0)),s,a=te($);try{let u=br(!1),c=i();return br(u),DD(n,y(),o,c),c}finally{te(a)}}function AD(e,t){if(t)for(let n=t.length-1;n>=0;n--){let r=t[n];if(e===r.name)return r}}function HM(e,t,n){let r=e+Z,o=y(),i=En(o,r);return ro(o,r)?ad(o,Je(),t,i.transform,n,i):i.transform(n)}function UM(e,t,n,r){let o=e+Z,i=y(),s=En(i,o);return ro(i,o)?TD(i,Je(),t,s.transform,n,r,s):s.transform(n,r)}function GM(e,t,n,r,o){let i=e+Z,s=y(),a=En(s,i);return ro(s,i)?ud(s,Je(),t,a.transform,n,r,o,a):a.transform(n,r,o)}function zM(e,t,n,r,o,i){let s=e+Z,a=y(),u=En(a,s);return ro(a,s)?ND(a,Je(),t,u.transform,n,r,o,i,u):u.transform(n,r,o,i)}function ro(e,t){return e[E].data[t].pure}var WM=(()=>{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 OD=new O("");function Ws(e){return!!e&&typeof e.then=="function"}function cd(e){return!!e&&typeof e.subscribe=="function"}var FD=new O(""),ld=(()=>{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=T(FD,{optional:!0})??[]}runInitializers(){if(this.initialized)return;let r=[];for(let i of this.appInits){let s=i();if(Ws(s))r.push(s);else if(cd(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})(),RD=new O("");function PD(){ya(()=>{throw new _(600,!1)})}function kD(e){return e.isBoundToModule}function LD(e,t,n){try{let r=n();return Ws(r)?r.catch(o=>{throw t.runOutsideAngular(()=>e.handleError(o)),o}):r}catch(r){throw t.runOutsideAngular(()=>e.handleError(r)),r}}var dd=(()=>{let t=class t{constructor(){this._bootstrapListeners=[],this._runningTick=!1,this._destroyed=!1,this._destroyListeners=[],this._views=[],this.internalErrorHandler=T(Qc),this.afterRenderEffectManager=T(Hs),this.externalTestViews=new Set,this.beforeRender=new He,this.afterTick=new He,this.componentTypes=[],this.components=[],this.isStable=T(Hl).hasPendingTasks.pipe(_e(r=>!r)),this._injector=T(qe)}get destroyed(){return this._destroyed}get injector(){return this._injector}bootstrap(r,o){let i=r instanceof Tr;if(!this._injector.get(ld).done){let p=!i&&xp(r),h=!1;throw new _(405,h)}let a;i?a=r:a=this._injector.get(eo).resolveComponentFactory(r),this.componentTypes.push(a.componentType);let u=kD(a)?void 0:this._injector.get(Ze),c=o||a.selector,l=a.create(_n.NULL,[],c,u),d=l.location.nativeElement,f=l.injector.get(OD,null);return f?.registerApplication(d),l.onDestroy(()=>{this.detachView(l.hostView),ei(this.components,l),f?.unregisterApplication(d)}),this._loadComponent(l),l}tick(){this._tick(!0)}_tick(r){if(this._runningTick)throw new _(101,!1);let o=M(null);try{this._runningTick=!0,this.detectChangesInAttachedViews(r)}catch(i){this.internalErrorHandler(i)}finally{this.afterTick.next(),this._runningTick=!1,M(o)}}detectChangesInAttachedViews(r){let o=0,i=this.afterRenderEffectManager;for(;;){if(o===Fl)throw new _(103,!1);if(r){let s=o===0;this.beforeRender.next(s);for(let{_lView:a,notifyErrorHandler:u}of this._views)jD(a,s,u)}if(o++,i.executeInternalCallbacks(),![...this.externalTestViews.keys(),...this._views].some(({_lView:s})=>es(s))&&(i.execute(),![...this.externalTestViews.keys(),...this._views].some(({_lView:s})=>es(s))))break}}attachView(r){let o=r;this._views.push(o),o.attachToAppRef(this)}detachView(r){let o=r;ei(this._views,o),o.detachFromAppRef()}_loadComponent(r){this.attachView(r.hostView),this.tick(),this.components.push(r);let o=this._injector.get(RD,[]);[...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),()=>ei(this._destroyListeners,r)}destroy(){if(this._destroyed)throw new _(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 ei(e,t){let n=e.indexOf(t);n>-1&&e.splice(n,1)}function jD(e,t,n){!t&&!es(e)||VD(e,n,t)}function es(e){return ys(e)}function VD(e,t,n){let r;n?(r=0,e[m]|=1024):e[m]&64?r=0:r=1,Rl(e,t,r)}var ts=class{constructor(t,n){this.ngModuleFactory=t,this.componentFactories=n}},qM=(()=>{let t=class t{compileModuleSync(r){return new Yi(r)}compileModuleAsync(r){return Promise.resolve(this.compileModuleSync(r))}compileModuleAndAllComponentsSync(r){let o=this.compileModuleSync(r),i=sc(r),s=ll(i.declarations).reduce((a,u)=>{let c=We(u);return c&&a.push(new Gt(c)),a},[]);return new ts(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 BD=(()=>{let t=class t{constructor(){this.zone=T(le),this.applicationRef=T(dd)}initialize(){this._onMicrotaskEmptySubscription||(this._onMicrotaskEmptySubscription=this.zone.onMicrotaskEmpty.subscribe({next:()=>{this.zone.run(()=>{this.applicationRef.tick()})}}))}ngOnDestroy(){this._onMicrotaskEmptySubscription?.unsubscribe()}};t.\u0275fac=function(o){return new(o||t)},t.\u0275prov=j({token:t,factory:t.\u0275fac,providedIn:"root"});let e=t;return e})();function $D(e){return[{provide:le,useFactory:e},{provide:Dr,multi:!0,useFactory:()=>{let t=T(BD,{optional:!0});return()=>t.initialize()}},{provide:Dr,multi:!0,useFactory:()=>{let t=T(zD);return()=>{t.initialize()}}},{provide:Qc,useFactory:HD}]}function HD(){let e=T(le),t=T(Dt);return n=>e.runOutsideAngular(()=>t.handleError(n))}function UD(e){let t=$D(()=>new le(GD(e)));return Tp([[],t])}function GD(e){return{enableLongStackTrace:!1,shouldCoalesceEventChangeDetection:e?.eventCoalescing??!1,shouldCoalesceRunChangeDetection:e?.runCoalescing??!1}}var zD=(()=>{let t=class t{constructor(){this.subscription=new U,this.initialized=!1,this.zone=T(le),this.pendingTasks=T(Hl)}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(()=>{le.assertNotInAngularZone(),queueMicrotask(()=>{r!==null&&!this.zone.hasPendingMacrotasks&&!this.zone.hasPendingMicrotasks&&(this.pendingTasks.remove(r),r=null)})}))}),this.subscription.add(this.zone.onUnstable.subscribe(()=>{le.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})();function WD(){return typeof $localize<"u"&&$localize.locale||Rr}var Sn=new O("",{providedIn:"root",factory:()=>T(Sn,b.Optional|b.SkipSelf)||WD()}),fd=new O("",{providedIn:"root",factory:()=>fD});var pd=new O("");var hr=null;function qD(e=[],t){return _n.create({name:t,providers:[{provide:fc,useValue:"platform"},{provide:pd,useValue:new Set([()=>hr=null])},...e]})}function YD(e=[]){if(hr)return hr;let t=qD(e);return hr=t,PD(),QD(t),t}function QD(e){e.get(Uh,null)?.forEach(n=>n())}var hd=(()=>{let t=class t{};t.__NG_ELEMENT_ID__=ZD;let e=t;return e})();function ZD(e){return KD(K(),y(),(e&16)===16)}function KD(e,t,n){if($r(e)&&!n){let r=Ke(e.index,t);return new vt(r,r)}else if(e.type&47){let r=t[Te];return new vt(r,t)}return null}var ns=class{constructor(){}supports(t){return Ul(t)}create(t){return new rs(t)}},JD=(e,t)=>t,rs=class{constructor(t){this.length=0,this._linkedRecords=null,this._unlinkedRecords=null,this._previousItHead=null,this._itHead=null,this._itTail=null,this._additionsHead=null,this._additionsTail=null,this._movesHead=null,this._movesTail=null,this._removalsHead=null,this._removalsTail=null,this._identityChangesHead=null,this._identityChangesTail=null,this._trackByFn=t||JD}forEachItem(t){let n;for(n=this._itHead;n!==null;n=n._next)t(n)}forEachOperation(t){let n=this._itHead,r=this._removalsHead,o=0,i=null;for(;n||r;){let s=!r||n&&n.currentIndex{s=this._trackByFn(o,a),n===null||!Object.is(n.trackById,s)?(n=this._mismatch(n,a,s,o),r=!0):(r&&(n=this._verifyReinsertion(n,a,s,o)),Object.is(n.item,a)||this._addIdentityChange(n,a)),n=n._next,o++}),this.length=o;return this._truncate(n),this.collection=t,this.isDirty}get isDirty(){return this._additionsHead!==null||this._movesHead!==null||this._removalsHead!==null||this._identityChangesHead!==null}_reset(){if(this.isDirty){let t;for(t=this._previousItHead=this._itHead;t!==null;t=t._next)t._nextPrevious=t._next;for(t=this._additionsHead;t!==null;t=t._nextAdded)t.previousIndex=t.currentIndex;for(this._additionsHead=this._additionsTail=null,t=this._movesHead;t!==null;t=t._nextMoved)t.previousIndex=t.currentIndex;this._movesHead=this._movesTail=null,this._removalsHead=this._removalsTail=null,this._identityChangesHead=this._identityChangesTail=null}}_mismatch(t,n,r,o){let i;return t===null?i=this._itTail:(i=t._prev,this._remove(t)),t=this._unlinkedRecords===null?null:this._unlinkedRecords.get(r,null),t!==null?(Object.is(t.item,n)||this._addIdentityChange(t,n),this._reinsertAfter(t,i,o)):(t=this._linkedRecords===null?null:this._linkedRecords.get(r,o),t!==null?(Object.is(t.item,n)||this._addIdentityChange(t,n),this._moveAfter(t,i,o)):t=this._addAfter(new os(n,r),i,o)),t}_verifyReinsertion(t,n,r,o){let i=this._unlinkedRecords===null?null:this._unlinkedRecords.get(r,null);return i!==null?t=this._reinsertAfter(i,t._prev,o):t.currentIndex!=o&&(t.currentIndex=o,this._addToMoves(t,o)),t}_truncate(t){for(;t!==null;){let n=t._next;this._addToRemovals(this._unlink(t)),t=n}this._unlinkedRecords!==null&&this._unlinkedRecords.clear(),this._additionsTail!==null&&(this._additionsTail._nextAdded=null),this._movesTail!==null&&(this._movesTail._nextMoved=null),this._itTail!==null&&(this._itTail._next=null),this._removalsTail!==null&&(this._removalsTail._nextRemoved=null),this._identityChangesTail!==null&&(this._identityChangesTail._nextIdentityChange=null)}_reinsertAfter(t,n,r){this._unlinkedRecords!==null&&this._unlinkedRecords.remove(t);let o=t._prevRemoved,i=t._nextRemoved;return o===null?this._removalsHead=i:o._nextRemoved=i,i===null?this._removalsTail=o:i._prevRemoved=o,this._insertAfter(t,n,r),this._addToMoves(t,r),t}_moveAfter(t,n,r){return this._unlink(t),this._insertAfter(t,n,r),this._addToMoves(t,r),t}_addAfter(t,n,r){return this._insertAfter(t,n,r),this._additionsTail===null?this._additionsTail=this._additionsHead=t:this._additionsTail=this._additionsTail._nextAdded=t,t}_insertAfter(t,n,r){let o=n===null?this._itHead:n._next;return t._next=o,t._prev=n,o===null?this._itTail=t:o._prev=t,n===null?this._itHead=t:n._next=t,this._linkedRecords===null&&(this._linkedRecords=new Pr),this._linkedRecords.put(t),t.currentIndex=r,t}_remove(t){return this._addToRemovals(this._unlink(t))}_unlink(t){this._linkedRecords!==null&&this._linkedRecords.remove(t);let n=t._prev,r=t._next;return n===null?this._itHead=r:n._next=r,r===null?this._itTail=n:r._prev=n,t}_addToMoves(t,n){return t.previousIndex===n||(this._movesTail===null?this._movesTail=this._movesHead=t:this._movesTail=this._movesTail._nextMoved=t),t}_addToRemovals(t){return this._unlinkedRecords===null&&(this._unlinkedRecords=new Pr),this._unlinkedRecords.put(t),t.currentIndex=null,t._nextRemoved=null,this._removalsTail===null?(this._removalsTail=this._removalsHead=t,t._prevRemoved=null):(t._prevRemoved=this._removalsTail,this._removalsTail=this._removalsTail._nextRemoved=t),t}_addIdentityChange(t,n){return t.item=n,this._identityChangesTail===null?this._identityChangesTail=this._identityChangesHead=t:this._identityChangesTail=this._identityChangesTail._nextIdentityChange=t,t}},os=class{constructor(t,n){this.item=t,this.trackById=n,this.currentIndex=null,this.previousIndex=null,this._nextPrevious=null,this._prev=null,this._next=null,this._prevDup=null,this._nextDup=null,this._prevRemoved=null,this._nextRemoved=null,this._nextAdded=null,this._nextMoved=null,this._nextIdentityChange=null}},is=class{constructor(){this._head=null,this._tail=null}add(t){this._head===null?(this._head=this._tail=t,t._nextDup=null,t._prevDup=null):(this._tail._nextDup=t,t._prevDup=this._tail,t._nextDup=null,this._tail=t)}get(t,n){let r;for(r=this._head;r!==null;r=r._nextDup)if((n===null||n<=r.currentIndex)&&Object.is(r.trackById,t))return r;return null}remove(t){let n=t._prevDup,r=t._nextDup;return n===null?this._head=r:n._nextDup=r,r===null?this._tail=n:r._prevDup=n,this._head===null}},Pr=class{constructor(){this.map=new Map}put(t){let n=t.trackById,r=this.map.get(n);r||(r=new is,this.map.set(n,r)),r.add(t)}get(t,n){let r=t,o=this.map.get(r);return o?o.get(t,n):null}remove(t){let n=t.trackById;return this.map.get(n).remove(t)&&this.map.delete(n),t}get isEmpty(){return this.map.size===0}clear(){this.map.clear()}};function Ru(e,t,n){let r=e.previousIndex;if(r===null)return r;let o=0;return n&&r{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 us(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))}},us=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 Pu(){return new qs([new ns])}var qs=(()=>{let t=class t{constructor(r){this.factories=r}static create(r,o){if(o!=null){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||Pu()),deps:[[t,new Zu,new Qu]]}}find(r){let o=this.factories.find(i=>i.supports(r));if(o!=null)return o;throw new _(901,!1)}};t.\u0275prov=j({token:t,providedIn:"root",factory:Pu});let e=t;return e})();function ku(){return new Ys([new ss])}var Ys=(()=>{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||ku()),deps:[[t,new Zu,new Qu]]}}find(r){let o=this.factories.find(i=>i.supports(r));if(o)return o;throw new _(901,!1)}};t.\u0275prov=j({token:t,providedIn:"root",factory:ku});let e=t;return e})();function YM(e){try{let{rootComponent:t,appProviders:n,platformProviders:r}=e,o=YD(r),i=[UD(),...n||[]],a=new Or({providers:i,parent:o,debugName:"",runEnvironmentInitializers:!1}).injector,u=a.get(le);return u.run(()=>{a.resolveInjectorInitializers();let c=a.get(Dt,null),l;u.runOutsideAngular(()=>{l=u.onError.subscribe({next:p=>{c.handleError(p)}})});let d=()=>a.destroy(),f=o.get(pd);return f.add(d),a.onDestroy(()=>{l.unsubscribe(),f.delete(d)}),LD(c,u,()=>{let p=a.get(ld);return p.runInitializers(),p.donePromise.then(()=>{let h=a.get(Sn,Rr);hD(h||Rr);let v=a.get(dd);return t!==void 0&&v.bootstrap(t),v})})})}catch(t){return Promise.reject(t)}}function XD(e){return typeof e=="boolean"?e:e!=null&&e!=="false"}function QM(e){let t=We(e);if(!t)return null;let n=new Gt(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 _d=null;function Qs(){return _d}function yx(e){_d??=e}var gd=class{};var sa=new O(""),aa=(()=>{let t=class t{historyGo(r){throw new Error("")}};t.\u0275fac=function(o){return new(o||t)},t.\u0275prov=j({token:t,factory:()=>T(tv),providedIn:"platform"});let e=t;return e})(),Dx=new O(""),tv=(()=>{let t=class t extends aa{constructor(){super(),this._doc=T(sa),this._location=window.location,this._history=window.history}getBaseHrefFromDOM(){return Qs().getBaseHref(this._doc)}onPopState(r){let o=Qs().getGlobalEventTarget(this._doc,"window");return o.addEventListener("popstate",r,!1),()=>o.removeEventListener("popstate",r)}onHashChange(r){let o=Qs().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 ua(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 md(e){let t=e.match(/#|\?|$/),n=t&&t.index||e.length,r=n-(e[n-1]==="/"?1:0);return e.slice(0,r)+e.slice(n)}function Ve(e){return e&&e[0]!=="?"?"?"+e:e}var go=(()=>{let t=class t{historyGo(r){throw new Error("")}};t.\u0275fac=function(o){return new(o||t)},t.\u0275prov=j({token:t,factory:()=>T(nv),providedIn:"root"});let e=t;return e})(),Md=new O(""),nv=(()=>{let t=class t extends go{constructor(r,o){super(),this._platformLocation=r,this._removeListenerFns=[],this._baseHref=o??this._platformLocation.getBaseHrefFromDOM()??T(sa).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 ua(this._baseHref,r)}path(r=!1){let o=this._platformLocation.pathname+Ve(this._platformLocation.search),i=this._platformLocation.hash;return i&&r?`${o}${i}`:o}pushState(r,o,i,s){let a=this.prepareExternalUrl(i+Ve(s));this._platformLocation.pushState(r,o,a)}replaceState(r,o,i,s){let a=this.prepareExternalUrl(i+Ve(s));this._platformLocation.replaceState(r,o,a)}forward(){this._platformLocation.forward()}back(){this._platformLocation.back()}getState(){return this._platformLocation.getState()}historyGo(r=0){this._platformLocation.historyGo?.(r)}};t.\u0275fac=function(o){return new(o||t)(W(aa),W(Md,8))},t.\u0275prov=j({token:t,factory:t.\u0275fac,providedIn:"root"});let e=t;return e})(),vx=(()=>{let t=class t extends go{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=ua(this._baseHref,r);return o.length>0?"#"+o:o}pushState(r,o,i,s){let a=this.prepareExternalUrl(i+Ve(s));a.length==0&&(a=this._platformLocation.pathname),this._platformLocation.pushState(r,o,a)}replaceState(r,o,i,s){let a=this.prepareExternalUrl(i+Ve(s));a.length==0&&(a=this._platformLocation.pathname),this._platformLocation.replaceState(r,o,a)}forward(){this._platformLocation.forward()}back(){this._platformLocation.back()}getState(){return this._platformLocation.getState()}historyGo(r=0){this._platformLocation.historyGo?.(r)}};t.\u0275fac=function(o){return new(o||t)(W(aa),W(Md,8))},t.\u0275prov=j({token:t,factory:t.\u0275fac});let e=t;return e})(),rv=(()=>{let t=class t{constructor(r){this._subject=new ct,this._urlChangeListeners=[],this._urlChangeSubscription=null,this._locationStrategy=r;let o=this._locationStrategy.getBaseHref();this._basePath=sv(md(yd(o))),this._locationStrategy.onPopState(i=>{this._subject.emit({url:this.path(!0),pop:!0,state:i.state,type:i.type})})}ngOnDestroy(){this._urlChangeSubscription?.unsubscribe(),this._urlChangeListeners=[]}path(r=!1){return this.normalize(this._locationStrategy.path(r))}getState(){return this._locationStrategy.getState()}isCurrentPathEqualTo(r,o=""){return this.path()==this.normalize(r+Ve(o))}normalize(r){return t.stripTrailingSlash(iv(this._basePath,yd(r)))}prepareExternalUrl(r){return r&&r[0]!=="/"&&(r="/"+r),this._locationStrategy.prepareExternalUrl(r)}go(r,o="",i=null){this._locationStrategy.pushState(i,"",r,o),this._notifyUrlChangeListeners(this.prepareExternalUrl(r+Ve(o)),i)}replaceState(r,o="",i=null){this._locationStrategy.replaceState(i,"",r,o),this._notifyUrlChangeListeners(this.prepareExternalUrl(r+Ve(o)),i)}forward(){this._locationStrategy.forward()}back(){this._locationStrategy.back()}historyGo(r=0){this._locationStrategy.historyGo?.(r)}onUrlChange(r){return this._urlChangeListeners.push(r),this._urlChangeSubscription??=this.subscribe(o=>{this._notifyUrlChangeListeners(o.url,o.state)}),()=>{let o=this._urlChangeListeners.indexOf(r);this._urlChangeListeners.splice(o,1),this._urlChangeListeners.length===0&&(this._urlChangeSubscription?.unsubscribe(),this._urlChangeSubscription=null)}}_notifyUrlChangeListeners(r="",o){this._urlChangeListeners.forEach(i=>i(r,o))}subscribe(r,o,i){return this._subject.subscribe({next:r,error:o,complete:i})}};t.normalizeQueryParams=Ve,t.joinWithSlash=ua,t.stripTrailingSlash=md,t.\u0275fac=function(o){return new(o||t)(W(go))},t.\u0275prov=j({token:t,factory:()=>ov(),providedIn:"root"});let e=t;return e})();function ov(){return new rv(W(go))}function iv(e,t){if(!e||!t.startsWith(e))return t;let n=t.substring(e.length);return n===""||["/",";","?","#"].includes(n[0])?n:t}function yd(e){return e.replace(/\/index.html$/,"")}function sv(e){if(new RegExp("^(https?:)?//").test(e)){let[,n]=e.split(/\/\/[^\/]+/);return n}return e}var xd={ADP:[void 0,void 0,0],AFN:[void 0,"\u060B",0],ALL:[void 0,void 0,0],AMD:[void 0,"\u058F",2],AOA:[void 0,"Kz"],ARS:[void 0,"$"],AUD:["A$","$"],AZN:[void 0,"\u20BC"],BAM:[void 0,"KM"],BBD:[void 0,"$"],BDT:[void 0,"\u09F3"],BHD:[void 0,void 0,3],BIF:[void 0,void 0,0],BMD:[void 0,"$"],BND:[void 0,"$"],BOB:[void 0,"Bs"],BRL:["R$"],BSD:[void 0,"$"],BWP:[void 0,"P"],BYN:[void 0,void 0,2],BYR:[void 0,void 0,0],BZD:[void 0,"$"],CAD:["CA$","$",2],CHF:[void 0,void 0,2],CLF:[void 0,void 0,4],CLP:[void 0,"$",0],CNY:["CN\xA5","\xA5"],COP:[void 0,"$",2],CRC:[void 0,"\u20A1",2],CUC:[void 0,"$"],CUP:[void 0,"$"],CZK:[void 0,"K\u010D",2],DJF:[void 0,void 0,0],DKK:[void 0,"kr",2],DOP:[void 0,"$"],EGP:[void 0,"E\xA3"],ESP:[void 0,"\u20A7",0],EUR:["\u20AC"],FJD:[void 0,"$"],FKP:[void 0,"\xA3"],GBP:["\xA3"],GEL:[void 0,"\u20BE"],GHS:[void 0,"GH\u20B5"],GIP:[void 0,"\xA3"],GNF:[void 0,"FG",0],GTQ:[void 0,"Q"],GYD:[void 0,"$",2],HKD:["HK$","$"],HNL:[void 0,"L"],HRK:[void 0,"kn"],HUF:[void 0,"Ft",2],IDR:[void 0,"Rp",2],ILS:["\u20AA"],INR:["\u20B9"],IQD:[void 0,void 0,0],IRR:[void 0,void 0,0],ISK:[void 0,"kr",0],ITL:[void 0,void 0,0],JMD:[void 0,"$"],JOD:[void 0,void 0,3],JPY:["\xA5",void 0,0],KHR:[void 0,"\u17DB"],KMF:[void 0,"CF",0],KPW:[void 0,"\u20A9",0],KRW:["\u20A9",void 0,0],KWD:[void 0,void 0,3],KYD:[void 0,"$"],KZT:[void 0,"\u20B8"],LAK:[void 0,"\u20AD",0],LBP:[void 0,"L\xA3",0],LKR:[void 0,"Rs"],LRD:[void 0,"$"],LTL:[void 0,"Lt"],LUF:[void 0,void 0,0],LVL:[void 0,"Ls"],LYD:[void 0,void 0,3],MGA:[void 0,"Ar",0],MGF:[void 0,void 0,0],MMK:[void 0,"K",0],MNT:[void 0,"\u20AE",2],MRO:[void 0,void 0,0],MUR:[void 0,"Rs",2],MXN:["MX$","$"],MYR:[void 0,"RM"],NAD:[void 0,"$"],NGN:[void 0,"\u20A6"],NIO:[void 0,"C$"],NOK:[void 0,"kr",2],NPR:[void 0,"Rs"],NZD:["NZ$","$"],OMR:[void 0,void 0,3],PHP:["\u20B1"],PKR:[void 0,"Rs",2],PLN:[void 0,"z\u0142"],PYG:[void 0,"\u20B2",0],RON:[void 0,"lei"],RSD:[void 0,void 0,0],RUB:[void 0,"\u20BD"],RWF:[void 0,"RF",0],SBD:[void 0,"$"],SEK:[void 0,"kr",2],SGD:[void 0,"$"],SHP:[void 0,"\xA3"],SLE:[void 0,void 0,2],SLL:[void 0,void 0,0],SOS:[void 0,void 0,0],SRD:[void 0,"$"],SSP:[void 0,"\xA3"],STD:[void 0,void 0,0],STN:[void 0,"Db"],SYP:[void 0,"\xA3",0],THB:[void 0,"\u0E3F"],TMM:[void 0,void 0,0],TND:[void 0,void 0,3],TOP:[void 0,"T$"],TRL:[void 0,void 0,0],TRY:[void 0,"\u20BA"],TTD:[void 0,"$"],TWD:["NT$","$",2],TZS:[void 0,void 0,2],UAH:[void 0,"\u20B4"],UGX:[void 0,void 0,0],USD:["$"],UYI:[void 0,void 0,0],UYU:[void 0,"$"],UYW:[void 0,void 0,4],UZS:[void 0,void 0,2],VEF:[void 0,"Bs",2],VND:["\u20AB",void 0,0],VUV:[void 0,void 0,0],XAF:["FCFA",void 0,0],XCD:["EC$","$"],XOF:["F\u202FCFA",void 0,0],XPF:["CFPF",void 0,0],XXX:["\xA4"],YER:[void 0,void 0,0],ZAR:[void 0,"R"],ZMK:[void 0,void 0,0],ZMW:[void 0,"ZK"],ZWD:[void 0,void 0,0]},Sd=function(e){return e[e.Decimal=0]="Decimal",e[e.Percent=1]="Percent",e[e.Currency=2]="Currency",e[e.Scientific=3]="Scientific",e}(Sd||{});var J=function(e){return e[e.Format=0]="Format",e[e.Standalone=1]="Standalone",e}(J||{}),F=function(e){return e[e.Narrow=0]="Narrow",e[e.Abbreviated=1]="Abbreviated",e[e.Wide=2]="Wide",e[e.Short=3]="Short",e}(F||{}),ae=function(e){return e[e.Short=0]="Short",e[e.Medium=1]="Medium",e[e.Long=2]="Long",e[e.Full=3]="Full",e}(ae||{}),ue={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 av(e){return oe(e)[V.LocaleId]}function uv(e,t,n){let r=oe(e),o=[r[V.DayPeriodsFormat],r[V.DayPeriodsStandalone]],i=fe(o,t);return fe(i,n)}function cv(e,t,n){let r=oe(e),o=[r[V.DaysFormat],r[V.DaysStandalone]],i=fe(o,t);return fe(i,n)}function lv(e,t,n){let r=oe(e),o=[r[V.MonthsFormat],r[V.MonthsStandalone]],i=fe(o,t);return fe(i,n)}function dv(e,t){let r=oe(e)[V.Eras];return fe(r,t)}function oo(e,t){let n=oe(e);return fe(n[V.DateFormat],t)}function io(e,t){let n=oe(e);return fe(n[V.TimeFormat],t)}function so(e,t){let r=oe(e)[V.DateTimeFormat];return fe(r,t)}function Be(e,t){let n=oe(e),r=n[V.NumberSymbols][t];if(typeof r>"u"){if(t===ue.CurrencyDecimal)return n[V.NumberSymbols][ue.Decimal];if(t===ue.CurrencyGroup)return n[V.NumberSymbols][ue.Group]}return r}function fv(e,t){return oe(e)[V.NumberFormats][t]}function pv(e){return oe(e)[V.Currencies]}function Td(e){if(!e[V.ExtraData])throw new Error(`Missing extra locale data for the locale "${e[V.LocaleId]}". Use "registerLocaleData" to load new data. See the "I18n guide" on angular.io to know more.`)}function hv(e){let t=oe(e);return Td(t),(t[V.ExtraData][2]||[]).map(r=>typeof r=="string"?Zs(r):[Zs(r[0]),Zs(r[1])])}function gv(e,t,n){let r=oe(e);Td(r);let o=[r[V.ExtraData][0],r[V.ExtraData][1]],i=fe(o,t)||[];return fe(i,n)||[]}function fe(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 Zs(e){let[t,n]=e.split(":");return{hours:+t,minutes:+n}}function mv(e,t,n="en"){let r=pv(n)[e]||xd[e]||[],o=r[1];return t==="narrow"&&typeof o=="string"?o:r[0]||e}var yv=2;function Dv(e){let t,n=xd[e];return n&&(t=n[2]),typeof t=="number"?t:yv}var vv=/^(\d{4,})-?(\d\d)-?(\d\d)(?:T(\d\d)(?::?(\d\d)(?::?(\d\d)(?:\.(\d+))?)?)?(Z|([+-])(\d\d):?(\d\d))?)?$/,ao={},Iv=/((?:[^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]*)/,$e=function(e){return e[e.Short=0]="Short",e[e.ShortGMT=1]="ShortGMT",e[e.Long=2]="Long",e[e.Extended=3]="Extended",e}($e||{}),S=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}(S||{}),x=function(e){return e[e.DayPeriods=0]="DayPeriods",e[e.Days=1]="Days",e[e.Months=2]="Months",e[e.Eras=3]="Eras",e}(x||{});function wv(e,t,n,r){let o=Nv(e);t=je(n,t)||t;let s=[],a;for(;t;)if(a=Iv.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=Ad(r,u),o=Tv(o,r,!0));let c="";return s.forEach(l=>{let d=xv(l);c+=d?d(o,n,u):l==="''"?"'":l.replace(/(^'|'$)/g,"").replace(/''/g,"'")}),c}function po(e,t,n){let r=new Date(0);return r.setFullYear(e,t,n),r.setHours(0,0,0),r}function je(e,t){let n=av(e);if(ao[n]??={},ao[n][t])return ao[n][t];let r="";switch(t){case"shortDate":r=oo(e,ae.Short);break;case"mediumDate":r=oo(e,ae.Medium);break;case"longDate":r=oo(e,ae.Long);break;case"fullDate":r=oo(e,ae.Full);break;case"shortTime":r=io(e,ae.Short);break;case"mediumTime":r=io(e,ae.Medium);break;case"longTime":r=io(e,ae.Long);break;case"fullTime":r=io(e,ae.Full);break;case"short":let o=je(e,"shortTime"),i=je(e,"shortDate");r=uo(so(e,ae.Short),[o,i]);break;case"medium":let s=je(e,"mediumTime"),a=je(e,"mediumDate");r=uo(so(e,ae.Medium),[s,a]);break;case"long":let u=je(e,"longTime"),c=je(e,"longDate");r=uo(so(e,ae.Long),[u,c]);break;case"full":let l=je(e,"fullTime"),d=je(e,"fullDate");r=uo(so(e,ae.Full),[l,d]);break}return r&&(ao[n][t]=r),r}function uo(e,t){return t&&(e=e.replace(/\{([^}]+)}/g,function(n,r){return t!=null&&r in t?t[r]:n})),e}function Ee(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.length0||a>-n)&&(a+=n),e===S.Hours)a===0&&n===-12&&(a=12);else if(e===S.FractionalSeconds)return Ev(a,t);let u=Be(s,ue.MinusSign);return Ee(a,t,u,r,o)}}function Cv(e,t){switch(e){case S.FullYear:return t.getFullYear();case S.Month:return t.getMonth();case S.Date:return t.getDate();case S.Hours:return t.getHours();case S.Minutes:return t.getMinutes();case S.Seconds:return t.getSeconds();case S.FractionalSeconds:return t.getMilliseconds();case S.Day:return t.getDay();default:throw new Error(`Unknown DateType value "${e}".`)}}function k(e,t,n=J.Format,r=!1){return function(o,i){return bv(o,i,e,t,n,r)}}function bv(e,t,n,r,o,i){switch(n){case x.Months:return lv(t,o,r)[e.getMonth()];case x.Days:return cv(t,o,r)[e.getDay()];case x.DayPeriods:let s=e.getHours(),a=e.getMinutes();if(i){let c=hv(t),l=gv(t,o,r),d=c.findIndex(f=>{if(Array.isArray(f)){let[p,h]=f,v=s>=p.hours&&a>=p.minutes,R=s0?Math.floor(o/60):Math.ceil(o/60);switch(e){case $e.Short:return(o>=0?"+":"")+Ee(s,2,i)+Ee(Math.abs(o%60),2,i);case $e.ShortGMT:return"GMT"+(o>=0?"+":"")+Ee(s,1,i);case $e.Long:return"GMT"+(o>=0?"+":"")+Ee(s,2,i)+":"+Ee(Math.abs(o%60),2,i);case $e.Extended:return r===0?"Z":(o>=0?"+":"")+Ee(s,2,i)+":"+Ee(Math.abs(o%60),2,i);default:throw new Error(`Unknown zone width "${e}"`)}}}var _v=0,fo=4;function Mv(e){let t=po(e,_v,1).getDay();return po(e,0,1+(t<=fo?fo:fo+7)-t)}function Nd(e){let t=e.getDay(),n=t===0?-3:fo-t;return po(e.getFullYear(),e.getMonth(),e.getDate()+n)}function Ks(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=Nd(n),s=Mv(i.getFullYear()),a=i.getTime()-s.getTime();o=1+Math.round(a/6048e5)}return Ee(o,e,Be(r,ue.MinusSign))}}function lo(e,t=!1){return function(n,r){let i=Nd(n).getFullYear();return Ee(i,e,Be(r,ue.MinusSign),t)}}var Js={};function xv(e){if(Js[e])return Js[e];let t;switch(e){case"G":case"GG":case"GGG":t=k(x.Eras,F.Abbreviated);break;case"GGGG":t=k(x.Eras,F.Wide);break;case"GGGGG":t=k(x.Eras,F.Narrow);break;case"y":t=H(S.FullYear,1,0,!1,!0);break;case"yy":t=H(S.FullYear,2,0,!0,!0);break;case"yyy":t=H(S.FullYear,3,0,!1,!0);break;case"yyyy":t=H(S.FullYear,4,0,!1,!0);break;case"Y":t=lo(1);break;case"YY":t=lo(2,!0);break;case"YYY":t=lo(3);break;case"YYYY":t=lo(4);break;case"M":case"L":t=H(S.Month,1,1);break;case"MM":case"LL":t=H(S.Month,2,1);break;case"MMM":t=k(x.Months,F.Abbreviated);break;case"MMMM":t=k(x.Months,F.Wide);break;case"MMMMM":t=k(x.Months,F.Narrow);break;case"LLL":t=k(x.Months,F.Abbreviated,J.Standalone);break;case"LLLL":t=k(x.Months,F.Wide,J.Standalone);break;case"LLLLL":t=k(x.Months,F.Narrow,J.Standalone);break;case"w":t=Ks(1);break;case"ww":t=Ks(2);break;case"W":t=Ks(1,!0);break;case"d":t=H(S.Date,1);break;case"dd":t=H(S.Date,2);break;case"c":case"cc":t=H(S.Day,1);break;case"ccc":t=k(x.Days,F.Abbreviated,J.Standalone);break;case"cccc":t=k(x.Days,F.Wide,J.Standalone);break;case"ccccc":t=k(x.Days,F.Narrow,J.Standalone);break;case"cccccc":t=k(x.Days,F.Short,J.Standalone);break;case"E":case"EE":case"EEE":t=k(x.Days,F.Abbreviated);break;case"EEEE":t=k(x.Days,F.Wide);break;case"EEEEE":t=k(x.Days,F.Narrow);break;case"EEEEEE":t=k(x.Days,F.Short);break;case"a":case"aa":case"aaa":t=k(x.DayPeriods,F.Abbreviated);break;case"aaaa":t=k(x.DayPeriods,F.Wide);break;case"aaaaa":t=k(x.DayPeriods,F.Narrow);break;case"b":case"bb":case"bbb":t=k(x.DayPeriods,F.Abbreviated,J.Standalone,!0);break;case"bbbb":t=k(x.DayPeriods,F.Wide,J.Standalone,!0);break;case"bbbbb":t=k(x.DayPeriods,F.Narrow,J.Standalone,!0);break;case"B":case"BB":case"BBB":t=k(x.DayPeriods,F.Abbreviated,J.Format,!0);break;case"BBBB":t=k(x.DayPeriods,F.Wide,J.Format,!0);break;case"BBBBB":t=k(x.DayPeriods,F.Narrow,J.Format,!0);break;case"h":t=H(S.Hours,1,-12);break;case"hh":t=H(S.Hours,2,-12);break;case"H":t=H(S.Hours,1);break;case"HH":t=H(S.Hours,2);break;case"m":t=H(S.Minutes,1);break;case"mm":t=H(S.Minutes,2);break;case"s":t=H(S.Seconds,1);break;case"ss":t=H(S.Seconds,2);break;case"S":t=H(S.FractionalSeconds,1);break;case"SS":t=H(S.FractionalSeconds,2);break;case"SSS":t=H(S.FractionalSeconds,3);break;case"Z":case"ZZ":case"ZZZ":t=co($e.Short);break;case"ZZZZZ":t=co($e.Extended);break;case"O":case"OO":case"OOO":case"z":case"zz":case"zzz":t=co($e.ShortGMT);break;case"OOOO":case"ZZZZ":case"zzzz":t=co($e.Long);break;default:return null}return Js[e]=t,t}function Ad(e,t){e=e.replace(/:/g,"");let n=Date.parse("Jan 01, 1970 00:00:00 "+e)/6e4;return isNaN(n)?t:n}function Sv(e,t){return e=new Date(e.getTime()),e.setMinutes(e.getMinutes()+t),e}function Tv(e,t,n){let r=n?-1:1,o=e.getTimezoneOffset(),i=Ad(t,o);return Sv(e,r*(i-o))}function Nv(e){if(Dd(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 po(o,i-1,s)}let n=parseFloat(e);if(!isNaN(e-n))return new Date(n);let r;if(r=e.match(vv))return Av(r)}let t=new Date(e);if(!Dd(t))throw new Error(`Unable to convert "${e}" into a date`);return t}function Av(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 Dd(e){return e instanceof Date&&!isNaN(e.valueOf())}var Ov=/^(\d+)?\.((\d+)(-(\d+))?)?$/,vd=22,ho=".",Tn="0",Fv=";",Rv=",",Xs="#",Id="\xA4";function Pv(e,t,n,r,o,i,s=!1){let a="",u=!1;if(!isFinite(e))a=Be(n,ue.Infinity);else{let c=Vv(e);s&&(c=jv(c));let l=t.minInt,d=t.minFrac,f=t.maxFrac;if(i){let X=i.match(Ov);if(X===null)throw new Error(`${i} is not a valid digit info`);let G=X[1],ie=X[3],Ae=X[5];G!=null&&(l=ea(G)),ie!=null&&(d=ea(ie)),Ae!=null?f=ea(Ae):ie!=null&&d>f&&(f=d)}Bv(c,d,f);let p=c.digits,h=c.integerLen,v=c.exponent,R=[];for(u=p.every(X=>!X);h0?R=p.splice(h,p.length):(R=p,p=[0]);let N=[];for(p.length>=t.lgSize&&N.unshift(p.splice(-t.lgSize,p.length).join(""));p.length>t.gSize;)N.unshift(p.splice(-t.gSize,p.length).join(""));p.length&&N.unshift(p.join("")),a=N.join(Be(n,r)),R.length&&(a+=Be(n,o)+R.join("")),v&&(a+=Be(n,ue.Exponential)+"+"+v)}return e<0&&!u?a=t.negPre+a+t.negSuf:a=t.posPre+a+t.posSuf,a}function kv(e,t,n,r,o){let i=fv(t,Sd.Currency),s=Lv(i,Be(t,ue.MinusSign));return s.minFrac=Dv(r),s.maxFrac=s.minFrac,Pv(e,s,t,ue.CurrencyGroup,ue.CurrencyDecimal,o).replace(Id,n).replace(Id,"").trim()}function Lv(e,t="-"){let n={minInt:1,minFrac:0,maxFrac:0,posPre:"",posSuf:"",negPre:"",negSuf:"",gSize:0,lgSize:0},r=e.split(Fv),o=r[0],i=r[1],s=o.indexOf(ho)!==-1?o.split(ho):[o.substring(0,o.lastIndexOf(Tn)+1),o.substring(o.lastIndexOf(Tn)+1)],a=s[0],u=s[1]||"";n.posPre=a.substring(0,a.indexOf(Xs));for(let l=0;l-1&&(t=t.replace(ho,"")),(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)===Tn;i++);if(i===(a=t.length))r=[0],o=1;else{for(a--;t.charAt(a)===Tn;)a--;for(o-=i,r=[],s=0;i<=a;i++,s++)r[s]=Number(t.charAt(i))}return o>vd&&(r=r.splice(0,vd-1),n=o-1,o=1),{digits:r,exponent:n,integerLen:o}}function Bv(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=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=c?h.pop():u=!1),f>=10?1:0},0);l&&(r.unshift(l),e.integerLen++)}function ea(e){let t=parseInt(e);if(isNaN(t))throw new Error("Invalid integer literal when parsing "+e);return t}function Ix(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 ta=/\s+/,wd=[],wx=(()=>{let t=class t{constructor(r,o){this._ngEl=r,this._renderer=o,this.initialClasses=wd,this.stateMap=new Map}set klass(r){this.initialClasses=r!=null?r.trim().split(ta):wd}set ngClass(r){this.rawClass=typeof r=="string"?r.trim().split(ta):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(ta).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)($(et),$(to))},t.\u0275dir=In({type:t,selectors:[["","ngClass",""]],inputs:{klass:[ze.None,"class","klass"],ngClass:"ngClass"},standalone:!0});let e=t;return e})();var na=class{constructor(t,n,r,o){this.$implicit=t,this.ngForOf=n,this.index=r,this.count=o}get first(){return this.index===0}get last(){return this.index===this.count-1}get even(){return this.index%2===0}get odd(){return!this.even}},Ex=(()=>{let t=class t{set ngForOf(r){this._ngForOf=r,this._ngForOfDirty=!0}set ngForTrackBy(r){this._trackByFn=r}get ngForTrackBy(){return this._trackByFn}constructor(r,o,i){this._viewContainer=r,this._template=o,this._differs=i,this._ngForOf=null,this._ngForOfDirty=!0,this._differ=null}set ngForTemplate(r){r&&(this._template=r)}ngDoCheck(){if(this._ngForOfDirty){this._ngForOfDirty=!1;let r=this._ngForOf;if(!this._differ&&r)if(0)try{}catch{}else this._differ=this._differs.find(r).create(this.ngForTrackBy)}if(this._differ){let r=this._differ.diff(this._ngForOf);r&&this._applyChanges(r)}}_applyChanges(r){let o=this._viewContainer;r.forEachOperation((i,s,a)=>{if(i.previousIndex==null)o.createEmbeddedView(this._template,new na(i.item,this._ngForOf,-1,-1),a===null?void 0:a);else if(a==null)o.remove(s===null?void 0:s);else if(s!==null){let u=o.get(s);o.move(u,a),Ed(u,i)}});for(let i=0,s=o.length;i{let s=o.get(i.currentIndex);Ed(s,i)})}static ngTemplateContextGuard(r,o){return!0}};t.\u0275fac=function(o){return new(o||t)($(Zt),$(It),$(qs))},t.\u0275dir=In({type:t,selectors:[["","ngFor","","ngForOf",""]],inputs:{ngForOf:"ngForOf",ngForTrackBy:"ngForTrackBy",ngForTemplate:"ngForTemplate"},standalone:!0});let e=t;return e})();function Ed(e,t){e.context.$implicit=t.item}var Cx=(()=>{let t=class t{constructor(r,o){this._viewContainer=r,this._context=new ra,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){Cd("ngIfThen",r),this._thenTemplateRef=r,this._thenViewRef=null,this._updateView()}set ngIfElse(r){Cd("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)($(Zt),$(It))},t.\u0275dir=In({type:t,selectors:[["","ngIf",""]],inputs:{ngIf:"ngIf",ngIfThen:"ngIfThen",ngIfElse:"ngIfElse"},standalone:!0});let e=t;return e})(),ra=class{constructor(){this.$implicit=null,this.ngIf=null}};function Cd(e,t){if(!!!(!t||t.createEmbeddedView))throw new Error(`${e} must be a TemplateRef, but received '${Q(t)}'.`)}var bx=(()=>{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:mn.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)($(et),$(Ys),$(to))},t.\u0275dir=In({type:t,selectors:[["","ngStyle",""]],inputs:{ngStyle:"ngStyle"},standalone:!0});let e=t;return e})();function ca(e,t){return new _(2100,!1)}var _x=(()=>{let t=class t{transform(r){if(r==null)return null;if(typeof r!="string")throw ca(t,r);return r.toUpperCase()}};t.\u0275fac=function(o){return new(o||t)},t.\u0275pipe=Vr({name:"uppercase",type:t,pure:!0,standalone:!0});let e=t;return e})(),$v="mediumDate",Hv=new O(""),Uv=new O(""),Mx=(()=>{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??$v,u=i??this.defaultOptions?.timezone??this.defaultTimezone??void 0;return wv(r,a,s||this.locale,u)}catch(a){throw ca(t,a.message)}}};t.\u0275fac=function(o){return new(o||t)($(Sn,16),$(Hv,24),$(Uv,24))},t.\u0275pipe=Vr({name:"date",type:t,pure:!0,standalone:!0});let e=t;return e})();var xx=(()=>{let t=class t{constructor(r,o="USD"){this._locale=r,this._defaultCurrencyCode=o}transform(r,o=this._defaultCurrencyCode,i="symbol",s,a){if(!Gv(r))return null;a||=this._locale,typeof i=="boolean"&&(i=i?"symbol":"code");let u=o||this._defaultCurrencyCode;i!=="code"&&(i==="symbol"||i==="symbol-narrow"?u=mv(u,i==="symbol"?"wide":"narrow",a):u=i);try{let c=zv(r);return kv(c,a,u,o,s)}catch(c){throw ca(t,c.message)}}};t.\u0275fac=function(o){return new(o||t)($(Sn,16),$(fd,16))},t.\u0275pipe=Vr({name:"currency",type:t,pure:!0,standalone:!0});let e=t;return e})();function Gv(e){return!(e==null||e===""||e!==e)}function zv(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 Sx=(()=>{let t=class t{};t.\u0275fac=function(o){return new(o||t)},t.\u0275mod=rc({type:t}),t.\u0275inj=Hu({});let e=t;return e})(),Wv="browser",qv="server";function Yv(e){return e===Wv}function Tx(e){return e===qv}var Nx=(()=>{let t=class t{};t.\u0275prov=j({token:t,providedIn:"root",factory:()=>Yv(T(bs))?new oa(T(sa),window):new ia});let e=t;return e})(),oa=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=Qv(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 Qv(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 ia=class{setOffset(t){}getScrollPosition(){return[0,0]}scrollToPosition(t){}scrollToAnchor(t){}setHistoryScrollRestoration(t){}},bd=class{};var Ct=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}(Ct||{}),Fx="*";function Rx(e,t){return{type:Ct.Trigger,name:e,definitions:t,options:{}}}function Px(e,t=null){return{type:Ct.Animate,styles:t,timings:e}}function kx(e,t=null){return{type:Ct.Sequence,steps:e,options:t}}function Lx(e){return{type:Ct.Style,styles:e,offset:null}}function jx(e,t,n){return{type:Ct.State,name:e,styles:t,options:n}}function Vx(e,t,n=null){return{type:Ct.Transition,expr:e,animation:t,options:n}}var Od=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}},Fd=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}},Bx="!";export{Jt as a,Xt as b,Zv as c,Kv as d,Jv as e,Ud as f,U as g,Kd as h,C as i,Oo as j,Fo as k,He as l,tn as m,ot as n,be as o,uf as p,cf as q,lf as r,st as s,_e as t,Df as u,Oe as v,on as w,tr as x,If as y,wf as z,ko as A,Sf as B,at as C,Tf as D,za as E,Nf as F,Af as G,sn as H,Lo as I,Of as J,Ff as K,kf as L,qa as M,jo as N,Lf as O,jf as P,Vf as Q,Bf as R,Ya as S,$f as T,Hf as U,_ as V,Bu as W,j as X,Hu as Y,tM as Z,O as _,b as $,W as aa,T as ba,Qu as ca,Zu as da,cn as ea,ze as fa,nM as ga,rc as ha,In as ia,Vr as ja,Tp as ka,fc as la,qe as ma,$p as na,Dc as oa,rM as pa,oM as qa,iM as ra,sM as sa,Oh as ta,_n as ua,Dt as va,et as wa,ct as xa,aM as ya,uM as za,Uh as Aa,bs as Ba,cM as Ca,lM as Da,Qt as Ea,Ms as Fa,dM as Ga,fM as Ha,pM as Ia,hM as Ja,gM as Ka,ol as La,dg as Ma,Yr as Na,mM as Oa,pg as Pa,yM as Qa,DM as Ra,vM as Sa,mn as Ta,IM as Ua,$ as Va,wM as Wa,It as Xa,Sr as Ya,eo as Za,Ri as _a,to as $a,Bs as ab,le as bb,Gm as cb,Zt as db,Dy as eb,by as fb,Wi as gb,_y as hb,Hl as ib,Ty as jb,Oy as kb,zy as lb,Wy as mb,_M as nb,MM as ob,td as pb,nd as qb,nD as rb,iD as sb,sD as tb,xM as ub,uD as vb,gD as wb,SM as xb,yD as yb,TM as zb,NM as Ab,AM as Bb,OM as Cb,FM as Db,ID as Eb,id as Fb,wD as Gb,ED as Hb,RM as Ib,CD as Jb,PM as Kb,kM as Lb,LM as Mb,jM as Nb,VM as Ob,BM as Pb,$M as Qb,HM as Rb,UM as Sb,GM as Tb,zM as Ub,WM as Vb,Ws as Wb,FD as Xb,RD as Yb,dd as Zb,qM as _b,hd as $b,YM as ac,XD as bc,QM as cc,Qs as dc,yx as ec,gd as fc,sa as gc,Dx as hc,go as ic,nv as jc,vx as kc,rv as lc,Ix as mc,wx as nc,Ex as oc,Cx as pc,bx as qc,_x as rc,Mx as sc,xx as tc,Sx as uc,Wv as vc,Yv as wc,Tx as xc,Nx as yc,bd as zc,Ct as Ac,Fx as Bc,Rx as Cc,Px as Dc,kx as Ec,Lx as Fc,jx as Gc,Vx as Hc,Od as Ic,Fd as Jc,Bx as Kc};