5 lines
162 KiB
JavaScript
5 lines
162 KiB
JavaScript
var dp=Object.defineProperty,fp=Object.defineProperties;var pp=Object.getOwnPropertyDescriptors;var Yn=Object.getOwnPropertySymbols;var ic=Object.prototype.hasOwnProperty,sc=Object.prototype.propertyIsEnumerable;var oc=(e,t,n)=>t in e?dp(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,q=(e,t)=>{for(var n in t||={})ic.call(t,n)&&oc(e,n,t[n]);if(Yn)for(var n of Yn(t))sc.call(t,n)&&oc(e,n,t[n]);return e},W=(e,t)=>fp(e,pp(t));var yI=(e,t)=>{var n={};for(var r in e)ic.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&Yn)for(var r of Yn(e))t.indexOf(r)<0&&sc.call(e,r)&&(n[r]=e[r]);return n};var ac=(e,t,n)=>new Promise((r,o)=>{var i=c=>{try{a(n.next(c))}catch(l){o(l)}},s=c=>{try{a(n.throw(c))}catch(l){o(l)}},a=c=>c.done?r(c.value):Promise.resolve(c.value).then(i,s);a((n=n.apply(e,t)).next())});var G=null,Kn=!1,Zo=1,hp=null,Q=Symbol("SIGNAL");function E(e){let t=G;return G=e,t}function Xn(){return G}var _t={version:0,lastCleanEpoch:0,dirty:!1,producers:void 0,producersTail:void 0,consumers:void 0,consumersTail:void 0,recomputing:!1,consumerAllowSignalWrites:!1,consumerIsAlwaysLive:!1,kind:"unknown",producerMustRecompute:()=>!1,producerRecomputeValue:()=>{},consumerMarkedDirty:()=>{},consumerOnSignalRead:()=>{}};function on(e){if(Kn)throw new Error("");if(G===null)return;G.consumerOnSignalRead(e);let t=G.producersTail;if(t!==void 0&&t.producer===e)return;let n,r=G.recomputing;if(r&&(n=t!==void 0?t.nextProducer:G.producers,n!==void 0&&n.producer===e)){G.producersTail=n,n.lastReadVersion=e.version;return}let o=e.consumersTail;if(o!==void 0&&o.consumer===G&&(!r||mp(o,G)))return;let i=Nt(G),s={producer:e,consumer:G,nextProducer:n,prevConsumer:o,lastReadVersion:e.version,nextConsumer:void 0};G.producersTail=s,t!==void 0?t.nextProducer=s:G.producers=s,i&&dc(e,s)}function cc(){Zo++}function Yo(e){if(!(Nt(e)&&!e.dirty)&&!(!e.dirty&&e.lastCleanEpoch===Zo)){if(!e.producerMustRecompute(e)&&!an(e)){Qo(e);return}e.producerRecomputeValue(e),Qo(e)}}function Ko(e){if(e.consumers===void 0)return;let t=Kn;Kn=!0;try{for(let n=e.consumers;n!==void 0;n=n.nextConsumer){let r=n.consumer;r.dirty||gp(r)}}finally{Kn=t}}function Jo(){return G?.consumerAllowSignalWrites!==!1}function gp(e){e.dirty=!0,Ko(e),e.consumerMarkedDirty?.(e)}function Qo(e){e.dirty=!1,e.lastCleanEpoch=Zo}function Mt(e){return e&&lc(e),E(e)}function lc(e){e.producersTail=void 0,e.recomputing=!0}function sn(e,t){E(t),e&&uc(e)}function uc(e){e.recomputing=!1;let t=e.producersTail,n=t!==void 0?t.nextProducer:e.producers;if(n!==void 0){if(Nt(e))do n=Xo(n);while(n!==void 0);t!==void 0?t.nextProducer=void 0:e.producers=void 0}}function an(e){for(let t=e.producers;t!==void 0;t=t.nextProducer){let n=t.producer,r=t.lastReadVersion;if(r!==n.version||(Yo(n),r!==n.version))return!0}return!1}function Je(e){if(Nt(e)){let t=e.producers;for(;t!==void 0;)t=Xo(t)}e.producers=void 0,e.producersTail=void 0,e.consumers=void 0,e.consumersTail=void 0}function dc(e,t){let n=e.consumersTail,r=Nt(e);if(n!==void 0?(t.nextConsumer=n.nextConsumer,n.nextConsumer=t):(t.nextConsumer=void 0,e.consumers=t),t.prevConsumer=n,e.consumersTail=t,!r)for(let o=e.producers;o!==void 0;o=o.nextProducer)dc(o.producer,o)}function Xo(e){let t=e.producer,n=e.nextProducer,r=e.nextConsumer,o=e.prevConsumer;if(e.nextConsumer=void 0,e.prevConsumer=void 0,r!==void 0?r.prevConsumer=o:t.consumersTail=o,o!==void 0)o.nextConsumer=r;else if(t.consumers=r,!Nt(t)){let i=t.producers;for(;i!==void 0;)i=Xo(i)}return n}function Nt(e){return e.consumerIsAlwaysLive||e.consumers!==void 0}function ei(e){hp?.(e)}function mp(e,t){let n=t.producersTail;if(n!==void 0){let r=t.producers;do{if(r===e)return!0;if(r===n)break;r=r.nextProducer}while(r!==void 0)}return!1}function ti(e,t){return Object.is(e,t)}function er(e,t){let n=Object.create(yp);n.computation=e,t!==void 0&&(n.equal=t);let r=()=>{if(Yo(n),on(n),n.value===Jn)throw n.error;return n.value};return r[Q]=n,ei(n),r}var Go=Symbol("UNSET"),zo=Symbol("COMPUTING"),Jn=Symbol("ERRORED"),yp=W(q({},_t),{value:Go,dirty:!0,error:null,equal:ti,kind:"computed",producerMustRecompute(e){return e.value===Go||e.value===zo},producerRecomputeValue(e){if(e.value===zo)throw new Error("");let t=e.value;e.value=zo;let n=Mt(e),r,o=!1;try{r=e.computation(),E(null),o=t!==Go&&t!==Jn&&r!==Jn&&e.equal(t,r)}catch(i){r=Jn,e.error=i}finally{sn(e,n)}if(o){e.value=t;return}e.value=r,e.version++}});function vp(){throw new Error}var fc=vp;function pc(e){fc(e)}function ni(e){fc=e}var Ep=null;function ri(e,t){let n=Object.create(tr);n.value=e,t!==void 0&&(n.equal=t);let r=()=>hc(n);return r[Q]=n,ei(n),[r,s=>cn(n,s),s=>gc(n,s)]}function hc(e){return on(e),e.value}function cn(e,t){Jo()||pc(e),e.equal(e.value,t)||(e.value=t,Ip(e))}function gc(e,t){Jo()||pc(e),cn(e,t(e.value))}var tr=W(q({},_t),{equal:ti,value:void 0,kind:"signal"});function Ip(e){e.version++,cc(),Ko(e),Ep?.(e)}function oi(e){let t=E(null);try{return e()}finally{E(t)}}var ii=W(q({},_t),{consumerIsAlwaysLive:!0,consumerAllowSignalWrites:!0,dirty:!0,kind:"effect"});function si(e){if(e.dirty=!1,e.version>0&&!an(e))return;e.version++;let t=Mt(e);try{e.cleanup(),e.fn()}finally{sn(e,t)}}function I(e){return typeof e=="function"}function St(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 nr=St(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 Xe(e,t){if(e){let n=e.indexOf(t);0<=n&&e.splice(n,1)}}var j=class e{constructor(t){this.initialTeardown=t,this.closed=!1,this._parentage=null,this._finalizers=null}unsubscribe(){let t;if(!this.closed){this.closed=!0;let{_parentage:n}=this;if(n)if(this._parentage=null,Array.isArray(n))for(let i of n)i.remove(this);else n.remove(this);let{initialTeardown:r}=this;if(I(r))try{r()}catch(i){t=i instanceof nr?i.errors:[i]}let{_finalizers:o}=this;if(o){this._finalizers=null;for(let i of o)try{mc(i)}catch(s){t=t??[],s instanceof nr?t=[...t,...s.errors]:t.push(s)}}if(t)throw new nr(t)}}add(t){var n;if(t&&t!==this)if(this.closed)mc(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)&&Xe(n,t)}remove(t){let{_finalizers:n}=this;n&&Xe(n,t),t instanceof e&&t._removeParent(this)}};j.EMPTY=(()=>{let e=new j;return e.closed=!0,e})();var ai=j.EMPTY;function rr(e){return e instanceof j||e&&"closed"in e&&I(e.remove)&&I(e.add)&&I(e.unsubscribe)}function mc(e){I(e)?e():e.unsubscribe()}var ue={onUnhandledError:null,onStoppedNotification:null,Promise:void 0,useDeprecatedSynchronousErrorHandling:!1,useDeprecatedNextContext:!1};var xt={setTimeout(e,t,...n){let{delegate:r}=xt;return r?.setTimeout?r.setTimeout(e,t,...n):setTimeout(e,t,...n)},clearTimeout(e){let{delegate:t}=xt;return(t?.clearTimeout||clearTimeout)(e)},delegate:void 0};function or(e){xt.setTimeout(()=>{let{onUnhandledError:t}=ue;if(t)t(e);else throw e})}function et(){}var yc=ci("C",void 0,void 0);function vc(e){return ci("E",void 0,e)}function Ec(e){return ci("N",e,void 0)}function ci(e,t,n){return{kind:e,value:t,error:n}}var tt=null;function At(e){if(ue.useDeprecatedSynchronousErrorHandling){let t=!tt;if(t&&(tt={errorThrown:!1,error:null}),e(),t){let{errorThrown:n,error:r}=tt;if(tt=null,n)throw r}}else e()}function Ic(e){ue.useDeprecatedSynchronousErrorHandling&&tt&&(tt.errorThrown=!0,tt.error=e)}var nt=class extends j{constructor(t){super(),this.isStopped=!1,t?(this.destination=t,rr(t)&&t.add(this)):this.destination=bp}static create(t,n,r){return new Rt(t,n,r)}next(t){this.isStopped?ui(Ec(t),this):this._next(t)}error(t){this.isStopped?ui(vc(t),this):(this.isStopped=!0,this._error(t))}complete(){this.isStopped?ui(yc,this):(this.isStopped=!0,this._complete())}unsubscribe(){this.closed||(this.isStopped=!0,super.unsubscribe(),this.destination=null)}_next(t){this.destination.next(t)}_error(t){try{this.destination.error(t)}finally{this.unsubscribe()}}_complete(){try{this.destination.complete()}finally{this.unsubscribe()}}},Dp=Function.prototype.bind;function li(e,t){return Dp.call(e,t)}var di=class{constructor(t){this.partialObserver=t}next(t){let{partialObserver:n}=this;if(n.next)try{n.next(t)}catch(r){ir(r)}}error(t){let{partialObserver:n}=this;if(n.error)try{n.error(t)}catch(r){ir(r)}else ir(t)}complete(){let{partialObserver:t}=this;if(t.complete)try{t.complete()}catch(n){ir(n)}}},Rt=class extends nt{constructor(t,n,r){super();let o;if(I(t)||!t)o={next:t??void 0,error:n??void 0,complete:r??void 0};else{let i;this&&ue.useDeprecatedNextContext?(i=Object.create(t),i.unsubscribe=()=>this.unsubscribe(),o={next:t.next&&li(t.next,i),error:t.error&&li(t.error,i),complete:t.complete&&li(t.complete,i)}):o=t}this.destination=new di(o)}};function ir(e){ue.useDeprecatedSynchronousErrorHandling?Ic(e):or(e)}function Cp(e){throw e}function ui(e,t){let{onStoppedNotification:n}=ue;n&&xt.setTimeout(()=>n(e,t))}var bp={closed:!0,next:et,error:Cp,complete:et};var kt=typeof Symbol=="function"&&Symbol.observable||"@@observable";function de(e){return e}function Tp(...e){return fi(e)}function fi(e){return e.length===0?de:e.length===1?e[0]:function(n){return e.reduce((r,o)=>o(r),n)}}var T=(()=>{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=_p(n)?n:new Rt(n,r,o);return At(()=>{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=Dc(r),new r((o,i)=>{let s=new Rt({next:a=>{try{n(a)}catch(c){i(c),s.unsubscribe()}},error:i,complete:o});this.subscribe(s)})}_subscribe(n){var r;return(r=this.source)===null||r===void 0?void 0:r.subscribe(n)}[kt](){return this}pipe(...n){return fi(n)(this)}toPromise(n){return n=Dc(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 Dc(e){var t;return(t=e??ue.Promise)!==null&&t!==void 0?t:Promise}function wp(e){return e&&I(e.next)&&I(e.error)&&I(e.complete)}function _p(e){return e&&e instanceof nt||wp(e)&&rr(e)}function Mp(e){return I(e?.lift)}function M(e){return t=>{if(Mp(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 w(e,t,n,r,o){return new pi(e,t,n,r,o)}var pi=class extends nt{constructor(t,n,r,o,i,s){super(t),this.onFinalize=i,this.shouldUnsubscribe=s,this._next=n?function(a){try{n(a)}catch(c){t.error(c)}}:super._next,this._error=o?function(a){try{o(a)}catch(c){t.error(c)}finally{this.unsubscribe()}}:super._error,this._complete=r?function(){try{r()}catch(a){t.error(a)}finally{this.unsubscribe()}}:super._complete}unsubscribe(){var t;if(!this.shouldUnsubscribe||this.shouldUnsubscribe()){let{closed:n}=this;super.unsubscribe(),!n&&((t=this.onFinalize)===null||t===void 0||t.call(this))}}};var Cc=St(e=>function(){e(this),this.name="ObjectUnsubscribedError",this.message="object unsubscribed"});var _e=(()=>{class e extends T{constructor(){super(),this.closed=!1,this.currentObservers=null,this.observers=[],this.isStopped=!1,this.hasError=!1,this.thrownError=null}lift(n){let r=new sr(this,this);return r.operator=n,r}_throwIfClosed(){if(this.closed)throw new Cc}next(n){At(()=>{if(this._throwIfClosed(),!this.isStopped){this.currentObservers||(this.currentObservers=Array.from(this.observers));for(let r of this.currentObservers)r.next(n)}})}error(n){At(()=>{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(){At(()=>{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?ai:(this.currentObservers=null,i.push(n),new j(()=>{this.currentObservers=null,Xe(i,n)}))}_checkFinalizedStatuses(n){let{hasError:r,thrownError:o,isStopped:i}=this;r?n.error(o):i&&n.complete()}asObservable(){let n=new T;return n.source=this,n}}return e.create=(t,n)=>new sr(t,n),e})(),sr=class extends _e{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:ai}};var ln=class extends _e{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 hi={now(){return(hi.delegate||Date).now()},delegate:void 0};var ar=class extends j{constructor(t,n){super()}schedule(t,n=0){return this}};var un={setInterval(e,t,...n){let{delegate:r}=un;return r?.setInterval?r.setInterval(e,t,...n):setInterval(e,t,...n)},clearInterval(e){let{delegate:t}=un;return(t?.clearInterval||clearInterval)(e)},delegate:void 0};var cr=class extends ar{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 un.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&&un.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,Xe(r,this),t!=null&&(this.id=this.recycleAsyncId(n,t,null)),this.delay=null,super.unsubscribe()}}};var Ot=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)}};Ot.now=hi.now;var lr=class extends Ot{constructor(t,n=Ot.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 gi=new lr(cr),bc=gi;var dn=new T(e=>e.complete());function ur(e){return e&&I(e.schedule)}function Tc(e){return e[e.length-1]}function dr(e){return I(Tc(e))?e.pop():void 0}function Le(e){return ur(Tc(e))?e.pop():void 0}function _c(e,t,n,r){function o(i){return i instanceof n?i:new n(function(s){s(i)})}return new(n||(n=Promise))(function(i,s){function a(u){try{l(r.next(u))}catch(d){s(d)}}function c(u){try{l(r.throw(u))}catch(d){s(d)}}function l(u){u.done?i(u.value):o(u.value).then(a,c)}l((r=r.apply(e,t||[])).next())})}function wc(e){var t=typeof Symbol=="function"&&Symbol.iterator,n=t&&e[t],r=0;if(n)return n.call(e);if(e&&typeof e.length=="number")return{next:function(){return e&&r>=e.length&&(e=void 0),{value:e&&e[r++],done:!e}}};throw new TypeError(t?"Object is not iterable.":"Symbol.iterator is not defined.")}function rt(e){return this instanceof rt?(this.v=e,this):new rt(e)}function Mc(e,t,n){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var r=n.apply(e,t||[]),o,i=[];return o=Object.create((typeof AsyncIterator=="function"?AsyncIterator:Object).prototype),a("next"),a("throw"),a("return",s),o[Symbol.asyncIterator]=function(){return this},o;function s(f){return function(h){return Promise.resolve(h).then(f,d)}}function a(f,h){r[f]&&(o[f]=function(C){return new Promise(function(k,N){i.push([f,C,k,N])>1||c(f,C)})},h&&(o[f]=h(o[f])))}function c(f,h){try{l(r[f](h))}catch(C){p(i[0][3],C)}}function l(f){f.value instanceof rt?Promise.resolve(f.value.v).then(u,d):p(i[0][2],f)}function u(f){c("next",f)}function d(f){c("throw",f)}function p(f,h){f(h),i.shift(),i.length&&c(i[0][0],i[0][1])}}function Nc(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 wc=="function"?wc(e):e[Symbol.iterator](),n={},r("next"),r("throw"),r("return"),n[Symbol.asyncIterator]=function(){return this},n);function r(i){n[i]=e[i]&&function(s){return new Promise(function(a,c){s=e[i](s),o(a,c,s.done,s.value)})}}function o(i,s,a,c){Promise.resolve(c).then(function(l){i({value:l,done:a})},s)}}var fr=e=>e&&typeof e.length=="number"&&typeof e!="function";function pr(e){return I(e?.then)}function hr(e){return I(e[kt])}function gr(e){return Symbol.asyncIterator&&I(e?.[Symbol.asyncIterator])}function mr(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 Np(){return typeof Symbol!="function"||!Symbol.iterator?"@@iterator":Symbol.iterator}var yr=Np();function vr(e){return I(e?.[yr])}function Er(e){return Mc(this,arguments,function*(){let n=e.getReader();try{for(;;){let{value:r,done:o}=yield rt(n.read());if(o)return yield rt(void 0);yield yield rt(r)}}finally{n.releaseLock()}})}function Ir(e){return I(e?.getReader)}function O(e){if(e instanceof T)return e;if(e!=null){if(hr(e))return Sp(e);if(fr(e))return xp(e);if(pr(e))return Ap(e);if(gr(e))return Sc(e);if(vr(e))return Rp(e);if(Ir(e))return kp(e)}throw mr(e)}function Sp(e){return new T(t=>{let n=e[kt]();if(I(n.subscribe))return n.subscribe(t);throw new TypeError("Provided object does not correctly implement Symbol.observable")})}function xp(e){return new T(t=>{for(let n=0;n<e.length&&!t.closed;n++)t.next(e[n]);t.complete()})}function Ap(e){return new T(t=>{e.then(n=>{t.closed||(t.next(n),t.complete())},n=>t.error(n)).then(null,or)})}function Rp(e){return new T(t=>{for(let n of e)if(t.next(n),t.closed)return;t.complete()})}function Sc(e){return new T(t=>{Op(e,t).catch(n=>t.error(n))})}function kp(e){return Sc(Er(e))}function Op(e,t){var n,r,o,i;return _c(this,void 0,void 0,function*(){try{for(n=Nc(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 X(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 Dr(e,t=0){return M((n,r)=>{n.subscribe(w(r,o=>X(r,e,()=>r.next(o),t),()=>X(r,e,()=>r.complete(),t),o=>X(r,e,()=>r.error(o),t)))})}function Cr(e,t=0){return M((n,r)=>{r.add(e.schedule(()=>n.subscribe(r),t))})}function xc(e,t){return O(e).pipe(Cr(t),Dr(t))}function Ac(e,t){return O(e).pipe(Cr(t),Dr(t))}function Rc(e,t){return new T(n=>{let r=0;return t.schedule(function(){r===e.length?n.complete():(n.next(e[r++]),n.closed||this.schedule())})})}function kc(e,t){return new T(n=>{let r;return X(n,t,()=>{r=e[yr](),X(n,t,()=>{let o,i;try{({value:o,done:i}=r.next())}catch(s){n.error(s);return}i?n.complete():n.next(o)},0,!0)}),()=>I(r?.return)&&r.return()})}function br(e,t){if(!e)throw new Error("Iterable cannot be null");return new T(n=>{X(n,t,()=>{let r=e[Symbol.asyncIterator]();X(n,t,()=>{r.next().then(o=>{o.done?n.complete():n.next(o.value)})},0,!0)})})}function Oc(e,t){return br(Er(e),t)}function Pc(e,t){if(e!=null){if(hr(e))return xc(e,t);if(fr(e))return Rc(e,t);if(pr(e))return Ac(e,t);if(gr(e))return br(e,t);if(vr(e))return kc(e,t);if(Ir(e))return Oc(e,t)}throw mr(e)}function Fe(e,t){return t?Pc(e,t):O(e)}function Pp(...e){let t=Le(e);return Fe(e,t)}function Lp(e,t){let n=I(e)?e:()=>e,r=o=>o.error(n());return new T(t?o=>t.schedule(r,0,o):r)}function Fp(e){return!!e&&(e instanceof T||I(e.lift)&&I(e.subscribe))}var fn=St(e=>function(){e(this),this.name="EmptyError",this.message="no elements in sequence"});function Lc(e){return e instanceof Date&&!isNaN(e)}function ot(e,t){return M((n,r)=>{let o=0;n.subscribe(w(r,i=>{r.next(e.call(t,i,o++))}))})}var{isArray:jp}=Array;function Vp(e,t){return jp(t)?e(...t):e(t)}function Tr(e){return ot(t=>Vp(e,t))}var{isArray:Hp}=Array,{getPrototypeOf:Bp,prototype:$p,keys:Up}=Object;function wr(e){if(e.length===1){let t=e[0];if(Hp(t))return{args:t,keys:null};if(qp(t)){let n=Up(t);return{args:n.map(r=>t[r]),keys:n}}}return{args:e,keys:null}}function qp(e){return e&&typeof e=="object"&&Bp(e)===$p}function _r(e,t){return e.reduce((n,r,o)=>(n[r]=t[o],n),{})}function Wp(...e){let t=Le(e),n=dr(e),{args:r,keys:o}=wr(e);if(r.length===0)return Fe([],t);let i=new T(Gp(r,t,o?s=>_r(o,s):de));return n?i.pipe(Tr(n)):i}function Gp(e,t,n=de){return r=>{Fc(t,()=>{let{length:o}=e,i=new Array(o),s=o,a=o;for(let c=0;c<o;c++)Fc(t,()=>{let l=Fe(e[c],t),u=!1;l.subscribe(w(r,d=>{i[c]=d,u||(u=!0,a--),a||r.next(n(i.slice()))},()=>{--s||r.complete()}))},r)},r)}}function Fc(e,t,n){e?X(n,e,t):t()}function jc(e,t,n,r,o,i,s,a){let c=[],l=0,u=0,d=!1,p=()=>{d&&!c.length&&!l&&t.complete()},f=C=>l<r?h(C):c.push(C),h=C=>{i&&t.next(C),l++;let k=!1;O(n(C,u++)).subscribe(w(t,N=>{o?.(N),i?f(N):t.next(N)},()=>{k=!0},void 0,()=>{if(k)try{for(l--;c.length&&l<r;){let N=c.shift();s?X(t,s,()=>h(N)):h(N)}p()}catch(N){t.error(N)}}))};return e.subscribe(w(t,f,()=>{d=!0,p()})),()=>{a?.()}}function it(e,t,n=1/0){return I(t)?it((r,o)=>ot((i,s)=>t(r,i,o,s))(O(e(r,o))),n):(typeof t=="number"&&(n=t),M((r,o)=>jc(r,o,e,n)))}function mi(e=1/0){return it(de,e)}function Vc(){return mi(1)}function Mr(...e){return Vc()(Fe(e,Le(e)))}function zp(e){return new T(t=>{O(e()).subscribe(t)})}function Qp(...e){let t=dr(e),{args:n,keys:r}=wr(e),o=new T(i=>{let{length:s}=n;if(!s){i.complete();return}let a=new Array(s),c=s,l=s;for(let u=0;u<s;u++){let d=!1;O(n[u]).subscribe(w(i,p=>{d||(d=!0,l--),a[u]=p},()=>c--,void 0,()=>{(!c||!d)&&(l||i.next(r?_r(r,a):a),i.complete())}))}});return t?o.pipe(Tr(t)):o}function yi(e=0,t,n=bc){let r=-1;return t!=null&&(ur(t)?n=t:r=t),new T(o=>{let i=Lc(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 Zp(e=0,t=gi){return e<0&&(e=0),yi(e,e,t)}function vi(e,t){return M((n,r)=>{let o=0;n.subscribe(w(r,i=>e.call(t,i,o++)&&r.next(i)))})}function Hc(e){return M((t,n)=>{let r=null,o=!1,i;r=t.subscribe(w(n,void 0,void 0,s=>{i=O(e(s,Hc(e)(t))),r?(r.unsubscribe(),r=null,i.subscribe(n)):o=!0})),o&&(r.unsubscribe(),r=null,i.subscribe(n))})}function Yp(e,t){return I(t)?it(e,t,1):it(e,1)}function Kp(e){return M((t,n)=>{let r=!1,o=null,i=null,s=()=>{if(i?.unsubscribe(),i=null,r){r=!1;let a=o;o=null,n.next(a)}};t.subscribe(w(n,a=>{i?.unsubscribe(),r=!0,o=a,i=w(n,s,et),O(e(a)).subscribe(i)},()=>{s(),n.complete()},void 0,()=>{o=i=null}))})}function Bc(e){return M((t,n)=>{let r=!1;t.subscribe(w(n,o=>{r=!0,n.next(o)},()=>{r||n.next(e),n.complete()}))})}function Ei(e){return e<=0?()=>dn:M((t,n)=>{let r=0;t.subscribe(w(n,o=>{++r<=e&&(n.next(o),e<=r&&n.complete())}))})}function $c(e=Jp){return M((t,n)=>{let r=!1;t.subscribe(w(n,o=>{r=!0,n.next(o)},()=>r?n.complete():n.error(e())))})}function Jp(){return new fn}function Xp(e){return M((t,n)=>{try{t.subscribe(n)}finally{n.add(e)}})}function eh(e,t){let n=arguments.length>=2;return r=>r.pipe(e?vi((o,i)=>e(o,i,r)):de,Ei(1),n?Bc(t):$c(()=>new fn))}function th(e){return e<=0?()=>dn:M((t,n)=>{let r=[];t.subscribe(w(n,o=>{r.push(o),e<r.length&&r.shift()},()=>{for(let o of r)n.next(o);n.complete()},void 0,()=>{r=null}))})}function nh(...e){let t=Le(e);return M((n,r)=>{(t?Mr(e,n,t):Mr(e,n)).subscribe(r)})}function rh(e,t){return M((n,r)=>{let o=null,i=0,s=!1,a=()=>s&&!o&&r.complete();n.subscribe(w(r,c=>{o?.unsubscribe();let l=0,u=i++;O(e(c,u)).subscribe(o=w(r,d=>r.next(t?t(c,d,u,l++):d),()=>{o=null,a()}))},()=>{s=!0,a()}))})}function oh(e){return M((t,n)=>{O(e).subscribe(w(n,()=>n.complete(),et)),!n.closed&&t.subscribe(n)})}function Uc(e,t,n){let r=I(e)||t||n?{next:e,error:t,complete:n}:e;return r?M((o,i)=>{var s;(s=r.subscribe)===null||s===void 0||s.call(r);let a=!0;o.subscribe(w(i,c=>{var l;(l=r.next)===null||l===void 0||l.call(r,c),i.next(c)},()=>{var c;a=!1,(c=r.complete)===null||c===void 0||c.call(r),i.complete()},c=>{var l;a=!1,(l=r.error)===null||l===void 0||l.call(r,c),i.error(c)},()=>{var c,l;a&&((c=r.unsubscribe)===null||c===void 0||c.call(r)),(l=r.finalize)===null||l===void 0||l.call(r)}))}):de}var Ii;function Nr(){return Ii}function me(e){let t=Ii;return Ii=e,t}var qc=Symbol("NotFound");function Pt(e){return e===qc||e?.name==="\u0275NotFound"}var Pr="https://angular.dev/best-practices/security#preventing-cross-site-scripting-xss",b=class extends Error{code;constructor(t,n){super(ki(t,n)),this.code=t}};function ih(e){return`NG0${Math.abs(e)}`}function ki(e,t){return`${ih(e)}${t?": "+t:""}`}var Ee=globalThis;function S(e){for(let t in e)if(e[t]===S)return t;throw Error("")}function Zc(e,t){for(let n in t)t.hasOwnProperty(n)&&!e.hasOwnProperty(n)&&(e[n]=t[n])}function Se(e){if(typeof e=="string")return e;if(Array.isArray(e))return`[${e.map(Se).join(", ")}]`;if(e==null)return""+e;let t=e.overriddenName||e.name;if(t)return`${t}`;let n=e.toString();if(n==null)return""+n;let r=n.indexOf(`
|
|
`);return r>=0?n.slice(0,r):n}function Lr(e,t){return e?t?`${e} ${t}`:e:t||""}var sh=S({__forward_ref__:S});function Fr(e){return e.__forward_ref__=Fr,e.toString=function(){return Se(this())},e}function $(e){return Oi(e)?e():e}function Oi(e){return typeof e=="function"&&e.hasOwnProperty(sh)&&e.__forward_ref__===Fr}function F(e){return{token:e.token,providedIn:e.providedIn||null,factory:e.factory,value:void 0}}function Yc(e){return{providers:e.providers||[],imports:e.imports||[]}}function En(e){return ch(e,jr)}function ah(e){return En(e)!==null}function ch(e,t){return e.hasOwnProperty(t)&&e[t]||null}function lh(e){let t=e?.[jr]??null;return t||null}function Ci(e){return e&&e.hasOwnProperty(xr)?e[xr]:null}var jr=S({\u0275prov:S}),xr=S({\u0275inj:S}),x=class{_desc;ngMetadataName="InjectionToken";\u0275prov;constructor(t,n){this._desc=t,this.\u0275prov=void 0,typeof n=="number"?this.__NG_ELEMENT_ID__=n:n!==void 0&&(this.\u0275prov=F({token:this,providedIn:n.providedIn||"root",factory:n.factory}))}get multi(){return this}toString(){return`InjectionToken ${this._desc}`}};function Pi(e){return e&&!!e.\u0275providers}var Li=S({\u0275cmp:S}),Fi=S({\u0275dir:S}),ji=S({\u0275pipe:S}),Vi=S({\u0275mod:S}),hn=S({\u0275fac:S}),dt=S({__NG_ELEMENT_ID__:S}),Wc=S({__NG_ENV_ID__:S});function Hi(e){return Vr(e,"@NgModule"),e[Vi]||null}function Ae(e){return Vr(e,"@Component"),e[Li]||null}function Bi(e){return Vr(e,"@Directive"),e[Fi]||null}function Kc(e){return Vr(e,"@Pipe"),e[ji]||null}function Vr(e,t){if(e==null)throw new b(-919,!1)}function Be(e){return typeof e=="string"?e:e==null?"":String(e)}function Jc(e){return typeof e=="function"?e.name||e.toString():typeof e=="object"&&e!=null&&typeof e.type=="function"?e.type.name||e.type.toString():Be(e)}var Xc=S({ngErrorCode:S}),uh=S({ngErrorMessage:S}),dh=S({ngTokenPath:S});function $i(e,t){return el("",-200,t)}function Hr(e,t){throw new b(-201,!1)}function el(e,t,n){let r=new b(t,e);return r[Xc]=t,r[uh]=e,n&&(r[dh]=n),r}function fh(e){return e[Xc]}var bi;function tl(){return bi}function Z(e){let t=bi;return bi=e,t}function Ui(e,t,n){let r=En(e);if(r&&r.providedIn=="root")return r.value===void 0?r.value=r.factory():r.value;if(n&8)return null;if(t!==void 0)return t;Hr(e,"")}var ph={},st=ph,hh="__NG_DI_FLAG__",Ti=class{injector;constructor(t){this.injector=t}retrieve(t,n){let r=at(n)||0;try{return this.injector.get(t,r&8?null:st,r)}catch(o){if(Pt(o))return o;throw o}}};function gh(e,t=0){let n=Nr();if(n===void 0)throw new b(-203,!1);if(n===null)return Ui(e,void 0,t);{let r=mh(t),o=n.retrieve(e,r);if(Pt(o)){if(r.optional)return null;throw o}return o}}function ye(e,t=0){return(tl()||gh)($(e),t)}function y(e,t){return ye(e,at(t))}function at(e){return typeof e>"u"||typeof e=="number"?e:0|(e.optional&&8)|(e.host&&1)|(e.self&&2)|(e.skipSelf&&4)}function mh(e){return{optional:!!(e&8),host:!!(e&1),self:!!(e&2),skipSelf:!!(e&4)}}function wi(e){let t=[];for(let n=0;n<e.length;n++){let r=$(e[n]);if(Array.isArray(r)){if(r.length===0)throw new b(900,!1);let o,i=0;for(let s=0;s<r.length;s++){let a=r[s],c=yh(a);typeof c=="number"?c===-1?o=a.token:i|=c:o=a}t.push(ye(o,i))}else t.push(ye(r))}return t}function yh(e){return e[hh]}function je(e,t){let n=e.hasOwnProperty(hn);return n?e[hn]:null}function nl(e,t,n){if(e.length!==t.length)return!1;for(let r=0;r<e.length;r++){let o=e[r],i=t[r];if(n&&(o=n(o),i=n(i)),i!==o)return!1}return!0}function rl(e){return e.flat(Number.POSITIVE_INFINITY)}function Br(e,t){e.forEach(n=>Array.isArray(n)?Br(n,t):t(n))}function qi(e,t,n){t>=e.length?e.push(n):e.splice(t,0,n)}function In(e,t){return t>=e.length-1?e.pop():e.splice(t,1)[0]}function ol(e,t){let n=[];for(let r=0;r<e;r++)n.push(t);return n}function il(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 Dn(e,t,n){let r=Ft(e,t);return r>=0?e[r|1]=n:(r=~r,il(e,r,t,n)),r}function $r(e,t){let n=Ft(e,t);if(n>=0)return e[n|1]}function Ft(e,t){return vh(e,t,1)}function vh(e,t,n){let r=0,o=e.length>>n;for(;o!==r;){let i=r+(o-r>>1),s=e[i<<n];if(t===s)return i<<n;s>t?o=i:r=i+1}return~(o<<n)}var $e={},Y=[],ft=new x(""),Wi=new x("",-1),Gi=new x(""),gn=class{get(t,n=st){if(n===st){let o=el("",-201);throw o.name="\u0275NotFound",o}return n}};function Ur(e){return{\u0275providers:e}}function sl(...e){return{\u0275providers:zi(!0,e),\u0275fromNgModule:!0}}function zi(e,...t){let n=[],r=new Set,o,i=s=>{n.push(s)};return Br(t,s=>{let a=s;Ar(a,i,[],r)&&(o||=[],o.push(a))}),o!==void 0&&al(o,i),n}function al(e,t){for(let n=0;n<e.length;n++){let{ngModule:r,providers:o}=e[n];Qi(o,i=>{t(i,r)})}}function Ar(e,t,n,r){if(e=$(e),!e)return!1;let o=null,i=Ci(e),s=!i&&Ae(e);if(!i&&!s){let c=e.ngModule;if(i=Ci(c),i)o=c;else return!1}else{if(s&&!s.standalone)return!1;o=e}let a=r.has(o);if(s){if(a)return!1;if(r.add(o),s.dependencies){let c=typeof s.dependencies=="function"?s.dependencies():s.dependencies;for(let l of c)Ar(l,t,n,r)}}else if(i){if(i.imports!=null&&!a){r.add(o);let l;Br(i.imports,u=>{Ar(u,t,n,r)&&(l||=[],l.push(u))}),l!==void 0&&al(l,t)}if(!a){let l=je(o)||(()=>new o);t({provide:o,useFactory:l,deps:Y},o),t({provide:Gi,useValue:o,multi:!0},o),t({provide:ft,useValue:()=>ye(o),multi:!0},o)}let c=i.providers;if(c!=null&&!a){let l=e;Qi(c,u=>{t(u,l)})}}else return!1;return o!==e&&e.providers!==void 0}function Qi(e,t){for(let n of e)Pi(n)&&(n=n.\u0275providers),Array.isArray(n)?Qi(n,t):t(n)}var Eh=S({provide:String,useValue:S});function cl(e){return e!==null&&typeof e=="object"&&Eh in e}function Ih(e){return!!(e&&e.useExisting)}function Dh(e){return!!(e&&e.useFactory)}function ct(e){return typeof e=="function"}function ll(e){return!!e.useClass}var Zi=new x(""),Sr={},Gc={},Di;function Cn(){return Di===void 0&&(Di=new gn),Di}var oe=class{},lt=class extends oe{parent;source;scopes;records=new Map;_ngOnDestroyHooks=new Set;_onDestroyHooks=[];get destroyed(){return this._destroyed}_destroyed=!1;injectorDefTypes;constructor(t,n,r,o){super(),this.parent=n,this.source=r,this.scopes=o,Mi(t,s=>this.processProvider(s)),this.records.set(Wi,Lt(void 0,this)),o.has("environment")&&this.records.set(oe,Lt(void 0,this));let i=this.records.get(Zi);i!=null&&typeof i.value=="string"&&this.scopes.add(i.value),this.injectorDefTypes=new Set(this.get(Gi,Y,{self:!0}))}retrieve(t,n){let r=at(n)||0;try{return this.get(t,st,r)}catch(o){if(Pt(o))return o;throw o}}destroy(){pn(this),this._destroyed=!0;let t=E(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(),E(t)}}onDestroy(t){return pn(this),this._onDestroyHooks.push(t),()=>this.removeOnDestroy(t)}runInContext(t){pn(this);let n=me(this),r=Z(void 0),o;try{return t()}finally{me(n),Z(r)}}get(t,n=st,r){if(pn(this),t.hasOwnProperty(Wc))return t[Wc](this);let o=at(r),i,s=me(this),a=Z(void 0);try{if(!(o&4)){let l=this.records.get(t);if(l===void 0){let u=_h(t)&&En(t);u&&this.injectableDefInScope(u)?l=Lt(_i(t),Sr):l=null,this.records.set(t,l)}if(l!=null)return this.hydrate(t,l,o)}let c=o&2?Cn():this.parent;return n=o&8&&n===st?null:n,c.get(t,n)}catch(c){let l=fh(c);throw l===-200||l===-201?new b(l,null):c}finally{Z(a),me(s)}}resolveInjectorInitializers(){let t=E(null),n=me(this),r=Z(void 0),o;try{let i=this.get(ft,Y,{self:!0});for(let s of i)s()}finally{me(n),Z(r),E(t)}}toString(){let t=[],n=this.records;for(let r of n.keys())t.push(Se(r));return`R3Injector[${t.join(", ")}]`}processProvider(t){t=$(t);let n=ct(t)?t:$(t&&t.provide),r=bh(t);if(!ct(t)&&t.multi===!0){let o=this.records.get(n);o||(o=Lt(void 0,Sr,!0),o.factory=()=>wi(o.multi),this.records.set(n,o)),n=t,o.multi.push(t)}this.records.set(n,r)}hydrate(t,n,r){let o=E(null);try{if(n.value===Gc)throw $i(Se(t));return n.value===Sr&&(n.value=Gc,n.value=n.factory(void 0,r)),typeof n.value=="object"&&n.value&&wh(n.value)&&this._ngOnDestroyHooks.add(n.value),n.value}finally{E(o)}}injectableDefInScope(t){if(!t.providedIn)return!1;let n=$(t.providedIn);return typeof n=="string"?n==="any"||this.scopes.has(n):this.injectorDefTypes.has(n)}removeOnDestroy(t){let n=this._onDestroyHooks.indexOf(t);n!==-1&&this._onDestroyHooks.splice(n,1)}};function _i(e){let t=En(e),n=t!==null?t.factory:je(e);if(n!==null)return n;if(e instanceof x)throw new b(204,!1);if(e instanceof Function)return Ch(e);throw new b(204,!1)}function Ch(e){if(e.length>0)throw new b(204,!1);let n=lh(e);return n!==null?()=>n.factory(e):()=>new e}function bh(e){if(cl(e))return Lt(void 0,e.useValue);{let t=Yi(e);return Lt(t,Sr)}}function Yi(e,t,n){let r;if(ct(e)){let o=$(e);return je(o)||_i(o)}else if(cl(e))r=()=>$(e.useValue);else if(Dh(e))r=()=>e.useFactory(...wi(e.deps||[]));else if(Ih(e))r=(o,i)=>ye($(e.useExisting),i!==void 0&&i&8?8:void 0);else{let o=$(e&&(e.useClass||e.provide));if(Th(e))r=()=>new o(...wi(e.deps));else return je(o)||_i(o)}return r}function pn(e){if(e.destroyed)throw new b(205,!1)}function Lt(e,t,n=!1){return{factory:e,value:t,multi:n?[]:void 0}}function Th(e){return!!e.deps}function wh(e){return e!==null&&typeof e=="object"&&typeof e.ngOnDestroy=="function"}function _h(e){return typeof e=="function"||typeof e=="object"&&e.ngMetadataName==="InjectionToken"}function Mi(e,t){for(let n of e)Array.isArray(n)?Mi(n,t):n&&Pi(n)?Mi(n.\u0275providers,t):t(n)}function qr(e,t){let n;e instanceof lt?(pn(e),n=e):n=new Ti(e);let r,o=me(n),i=Z(void 0);try{return t()}finally{me(o),Z(i)}}function ul(){return tl()!==void 0||Nr()!=null}var fe=0,m=1,v=2,H=3,ie=4,K=5,jt=6,Vt=7,z=8,Ue=9,Ie=10,R=11,Ht=12,Ki=13,pt=14,ee=15,qe=16,ht=17,De=18,We=19,Ji=20,Ne=21,Wr=22,Ve=23,re=24,gt=25,bn=26,L=27,dl=1;var Ge=7,Tn=8,mt=9,J=10;function Ce(e){return Array.isArray(e)&&typeof e[dl]=="object"}function pe(e){return Array.isArray(e)&&e[dl]===!0}function Xi(e){return(e.flags&4)!==0}function Re(e){return e.componentOffset>-1}function Bt(e){return(e.flags&1)===1}function be(e){return!!e.template}function $t(e){return(e[v]&512)!==0}function yt(e){return(e[v]&256)===256}var es="svg",fl="math";function se(e){for(;Array.isArray(e);)e=e[fe];return e}function ts(e,t){return se(t[e])}function ae(e,t){return se(t[e.index])}function Gr(e,t){return e.data[t]}function ns(e,t){return e[t]}function rs(e,t,n,r){n>=e.data.length&&(e.data[n]=null,e.blueprint[n]=null),t[n]=r}function ce(e,t){let n=t[e];return Ce(n)?n:n[fe]}function pl(e){return(e[v]&4)===4}function zr(e){return(e[v]&128)===128}function hl(e){return pe(e[H])}function ze(e,t){return t==null?null:e[t]}function os(e){e[ht]=0}function is(e){e[v]&1024||(e[v]|=1024,zr(e)&&vt(e))}function gl(e,t){for(;e>0;)t=t[pt],e--;return t}function wn(e){return!!(e[v]&9216||e[re]?.dirty)}function Qr(e){e[Ie].changeDetectionScheduler?.notify(8),e[v]&64&&(e[v]|=1024),wn(e)&&vt(e)}function vt(e){e[Ie].changeDetectionScheduler?.notify(0);let t=He(e);for(;t!==null&&!(t[v]&8192||(t[v]|=8192,!zr(t)));)t=He(t)}function ss(e,t){if(yt(e))throw new b(911,!1);e[Ne]===null&&(e[Ne]=[]),e[Ne].push(t)}function ml(e,t){if(e[Ne]===null)return;let n=e[Ne].indexOf(t);n!==-1&&e[Ne].splice(n,1)}function He(e){let t=e[H];return pe(t)?t[H]:t}function as(e){return e[Vt]??=[]}function cs(e){return e.cleanup??=[]}function yl(e,t,n,r){let o=as(t);o.push(n),e.firstCreatePass&&cs(e).push(r,o.length-1)}var D={lFrame:Al(null),bindingsEnabled:!0,skipHydrationRootTNode:null};var Ni=!1;function vl(){return D.lFrame.elementDepthCount}function El(){D.lFrame.elementDepthCount++}function ls(){D.lFrame.elementDepthCount--}function Zr(){return D.bindingsEnabled}function us(){return D.skipHydrationRootTNode!==null}function ds(e){return D.skipHydrationRootTNode===e}function fs(){D.skipHydrationRootTNode=null}function g(){return D.lFrame.lView}function P(){return D.lFrame.tView}function Il(e){return D.lFrame.contextLView=e,e[z]}function Dl(e){return D.lFrame.contextLView=null,e}function B(){let e=ps();for(;e!==null&&e.type===64;)e=e.parent;return e}function ps(){return D.lFrame.currentTNode}function Cl(){let e=D.lFrame,t=e.currentTNode;return e.isParent?t:t.parent}function Ut(e,t){let n=D.lFrame;n.currentTNode=e,n.isParent=t}function hs(){return D.lFrame.isParent}function gs(){D.lFrame.isParent=!1}function bl(){return D.lFrame.contextLView}function ms(){return Ni}function mn(e){let t=Ni;return Ni=e,t}function le(){let e=D.lFrame,t=e.bindingRootIndex;return t===-1&&(t=e.bindingRootIndex=e.tView.bindingStartIndex),t}function Tl(){return D.lFrame.bindingIndex}function wl(e){return D.lFrame.bindingIndex=e}function Et(){return D.lFrame.bindingIndex++}function Yr(e){let t=D.lFrame,n=t.bindingIndex;return t.bindingIndex=t.bindingIndex+e,n}function _l(){return D.lFrame.inI18n}function Ml(e,t){let n=D.lFrame;n.bindingIndex=n.bindingRootIndex=e,Kr(t)}function Nl(){return D.lFrame.currentDirectiveIndex}function Kr(e){D.lFrame.currentDirectiveIndex=e}function Sl(e){let t=D.lFrame.currentDirectiveIndex;return t===-1?null:e[t]}function ys(){return D.lFrame.currentQueryIndex}function Jr(e){D.lFrame.currentQueryIndex=e}function Mh(e){let t=e[m];return t.type===2?t.declTNode:t.type===1?e[K]:null}function vs(e,t,n){if(n&4){let o=t,i=e;for(;o=o.parent,o===null&&!(n&1);)if(o=Mh(i),o===null||(i=i[pt],o.type&10))break;if(o===null)return!1;t=o,e=i}let r=D.lFrame=xl();return r.currentTNode=t,r.lView=e,!0}function Xr(e){let t=xl(),n=e[m];D.lFrame=t,t.currentTNode=n.firstChild,t.lView=e,t.tView=n,t.contextLView=e,t.bindingIndex=n.bindingStartIndex,t.inI18n=!1}function xl(){let e=D.lFrame,t=e===null?null:e.child;return t===null?Al(e):t}function Al(e){let t={currentTNode:null,isParent:!0,lView:null,tView:null,selectedIndex:-1,contextLView:null,elementDepthCount:0,currentNamespace:null,currentDirectiveIndex:-1,bindingRootIndex:-1,bindingIndex:-1,currentQueryIndex:0,parent:e,child:null,inI18n:!1};return e!==null&&(e.child=t),t}function Rl(){let e=D.lFrame;return D.lFrame=e.parent,e.currentTNode=null,e.lView=null,e}var Es=Rl;function eo(){let e=Rl();e.isParent=!0,e.tView=null,e.selectedIndex=-1,e.contextLView=null,e.elementDepthCount=0,e.currentDirectiveIndex=-1,e.currentNamespace=null,e.bindingRootIndex=-1,e.bindingIndex=-1,e.currentQueryIndex=0}function kl(e){return(D.lFrame.contextLView=gl(e,D.lFrame.contextLView))[z]}function ke(){return D.lFrame.selectedIndex}function Qe(e){D.lFrame.selectedIndex=e}function qt(){let e=D.lFrame;return Gr(e.tView,e.selectedIndex)}function Ol(){D.lFrame.currentNamespace=es}function Pl(){return D.lFrame.currentNamespace}var Ll=!0;function to(){return Ll}function _n(e){Ll=e}function Si(e,t=null,n=null,r){let o=Is(e,t,n,r);return o.resolveInjectorInitializers(),o}function Is(e,t=null,n=null,r,o=new Set){let i=[n||Y,sl(e)];return r=r||(typeof e=="object"?void 0:Se(e)),new lt(i,t||Cn(),r||null,o)}var xe=class e{static THROW_IF_NOT_FOUND=st;static NULL=new gn;static create(t,n){if(Array.isArray(t))return Si({name:""},n,t,"");{let r=t.name??"";return Si({name:r},t.parent,t.providers,r)}}static \u0275prov=F({token:e,providedIn:"any",factory:()=>ye(Wi)});static __NG_ELEMENT_ID__=-1},Ds=new x(""),Wt=(()=>{class e{static __NG_ELEMENT_ID__=Nh;static __NG_ENV_ID__=n=>n}return e})(),Rr=class extends Wt{_lView;constructor(t){super(),this._lView=t}get destroyed(){return yt(this._lView)}onDestroy(t){let n=this._lView;return ss(n,t),()=>ml(n,t)}};function Nh(){return new Rr(g())}var Cs=!1,Fl=new x(""),Ze=(()=>{class e{taskId=0;pendingTasks=new Set;destroyed=!1;pendingTask=new ln(!1);debugTaskTracker=y(Fl,{optional:!0});get hasPendingTasks(){return this.destroyed?!1:this.pendingTask.value}get hasPendingTasksObservable(){return this.destroyed?new T(n=>{n.next(!1),n.complete()}):this.pendingTask}add(){!this.hasPendingTasks&&!this.destroyed&&this.pendingTask.next(!0);let n=this.taskId++;return this.pendingTasks.add(n),this.debugTaskTracker?.add(n),n}has(n){return this.pendingTasks.has(n)}remove(n){this.pendingTasks.delete(n),this.debugTaskTracker?.remove(n),this.pendingTasks.size===0&&this.hasPendingTasks&&this.pendingTask.next(!1)}ngOnDestroy(){this.pendingTasks.clear(),this.hasPendingTasks&&this.pendingTask.next(!1),this.destroyed=!0,this.pendingTask.unsubscribe()}static \u0275prov=F({token:e,providedIn:"root",factory:()=>new e})}return e})(),xi=class extends _e{__isAsync;destroyRef=void 0;pendingTasks=void 0;constructor(t=!1){super(),this.__isAsync=t,ul()&&(this.destroyRef=y(Wt,{optional:!0})??void 0,this.pendingTasks=y(Ze,{optional:!0})??void 0)}emit(t){let n=E(null);try{super.next(t)}finally{E(n)}}subscribe(t,n,r){let o=t,i=n||(()=>null),s=r;if(t&&typeof t=="object"){let c=t;o=c.next?.bind(c),i=c.error?.bind(c),s=c.complete?.bind(c)}this.__isAsync&&(i=this.wrapInTimeout(i),o&&(o=this.wrapInTimeout(o)),s&&(s=this.wrapInTimeout(s)));let a=super.subscribe({next:o,error:i,complete:s});return t instanceof j&&t.add(a),a}wrapInTimeout(t){return n=>{let r=this.pendingTasks?.add();setTimeout(()=>{try{t(n)}finally{r!==void 0&&this.pendingTasks?.remove(r)}})}}},Me=xi;function kr(...e){}function bs(e){let t,n;function r(){e=kr;try{n!==void 0&&typeof cancelAnimationFrame=="function"&&cancelAnimationFrame(n),t!==void 0&&clearTimeout(t)}catch{}}return t=setTimeout(()=>{e(),r()}),typeof requestAnimationFrame=="function"&&(n=requestAnimationFrame(()=>{e(),r()})),()=>r()}function jl(e){return queueMicrotask(()=>e()),()=>{e=kr}}var Ts="isAngularZone",yn=Ts+"_ID",Sh=0,U=class e{hasPendingMacrotasks=!1;hasPendingMicrotasks=!1;isStable=!0;onUnstable=new Me(!1);onMicrotaskEmpty=new Me(!1);onStable=new Me(!1);onError=new Me(!1);constructor(t){let{enableLongStackTrace:n=!1,shouldCoalesceEventChangeDetection:r=!1,shouldCoalesceRunChangeDetection:o=!1,scheduleInRootZone:i=Cs}=t;if(typeof Zone>"u")throw new b(908,!1);Zone.assertZonePatched();let s=this;s._nesting=0,s._outer=s._inner=Zone.current,Zone.TaskTrackingZoneSpec&&(s._inner=s._inner.fork(new Zone.TaskTrackingZoneSpec)),n&&Zone.longStackTraceZoneSpec&&(s._inner=s._inner.fork(Zone.longStackTraceZoneSpec)),s.shouldCoalesceEventChangeDetection=!o&&r,s.shouldCoalesceRunChangeDetection=o,s.callbackScheduled=!1,s.scheduleInRootZone=i,Rh(s)}static isInAngularZone(){return typeof Zone<"u"&&Zone.current.get(Ts)===!0}static assertInAngularZone(){if(!e.isInAngularZone())throw new b(909,!1)}static assertNotInAngularZone(){if(e.isInAngularZone())throw new b(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,xh,kr,kr);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)}},xh={};function ws(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 Ah(e){if(e.isCheckStableRunning||e.callbackScheduled)return;e.callbackScheduled=!0;function t(){bs(()=>{e.callbackScheduled=!1,Ai(e),e.isCheckStableRunning=!0,ws(e),e.isCheckStableRunning=!1})}e.scheduleInRootZone?Zone.root.run(()=>{t()}):e._outer.run(()=>{t()}),Ai(e)}function Rh(e){let t=()=>{Ah(e)},n=Sh++;e._inner=e._inner.fork({name:"angular",properties:{[Ts]:!0,[yn]:n,[yn+n]:!0},onInvokeTask:(r,o,i,s,a,c)=>{if(kh(c))return r.invokeTask(i,s,a,c);try{return zc(e),r.invokeTask(i,s,a,c)}finally{(e.shouldCoalesceEventChangeDetection&&s.type==="eventTask"||e.shouldCoalesceRunChangeDetection)&&t(),Qc(e)}},onInvoke:(r,o,i,s,a,c,l)=>{try{return zc(e),r.invoke(i,s,a,c,l)}finally{e.shouldCoalesceRunChangeDetection&&!e.callbackScheduled&&!Oh(c)&&t(),Qc(e)}},onHasTask:(r,o,i,s)=>{r.hasTask(i,s),o===i&&(s.change=="microTask"?(e._hasPendingMicrotasks=s.microTask,Ai(e),ws(e)):s.change=="macroTask"&&(e.hasPendingMacrotasks=s.macroTask))},onHandleError:(r,o,i,s)=>(r.handleError(i,s),e.runOutsideAngular(()=>e.onError.emit(s)),!1)})}function Ai(e){e._hasPendingMicrotasks||(e.shouldCoalesceEventChangeDetection||e.shouldCoalesceRunChangeDetection)&&e.callbackScheduled===!0?e.hasPendingMicrotasks=!0:e.hasPendingMicrotasks=!1}function zc(e){e._nesting++,e.isStable&&(e.isStable=!1,e.onUnstable.emit(null))}function Qc(e){e._nesting--,ws(e)}var vn=class{hasPendingMicrotasks=!1;hasPendingMacrotasks=!1;isStable=!0;onUnstable=new Me;onMicrotaskEmpty=new Me;onStable=new Me;onError=new Me;run(t,n,r){return t.apply(n,r)}runGuarded(t,n,r){return t.apply(n,r)}runOutsideAngular(t){return t()}runTask(t,n,r,o){return t.apply(n,r)}};function kh(e){return Vl(e,"__ignore_ng_zone__")}function Oh(e){return Vl(e,"__scheduler_tick__")}function Vl(e,t){return!Array.isArray(e)||e.length!==1?!1:e[0]?.data?.[t]===!0}var ut=class{_console=console;handleError(t){this._console.error("ERROR",t)}},Ye=new x("",{factory:()=>{let e=y(U),t=y(oe),n;return r=>{e.runOutsideAngular(()=>{t.destroyed&&!n?setTimeout(()=>{throw r}):(n??=t.get(ut),n.handleError(r))})}}}),Hl={provide:ft,useValue:()=>{let e=y(ut,{optional:!0})},multi:!0};function Bl(e,t){let[n,r,o]=ri(e,t?.equal),i=n,s=i[Q];return i.set=r,i.update=o,i.asReadonly=$l.bind(i),i}function $l(){let e=this[Q];if(e.readonlyFn===void 0){let t=()=>this();t[Q]=e,e.readonlyFn=t}return e.readonlyFn}var Mn=(()=>{class e{view;node;constructor(n,r){this.view=n,this.node=r}static __NG_ELEMENT_ID__=Ph}return e})();function Ph(){return new Mn(g(),B())}var ve=class{},Gt=new x("",{factory:()=>!0});var no=new x(""),Ul=(()=>{class e{internalPendingTasks=y(Ze);scheduler=y(ve);errorHandler=y(Ye);add(){let n=this.internalPendingTasks.add();return()=>{this.internalPendingTasks.has(n)&&(this.scheduler.notify(11),this.internalPendingTasks.remove(n))}}run(n){let r=this.add();n().catch(this.errorHandler).finally(r)}static \u0275prov=F({token:e,providedIn:"root",factory:()=>new e})}return e})(),ro=(()=>{class e{static \u0275prov=F({token:e,providedIn:"root",factory:()=>new Ri})}return e})(),Ri=class{dirtyEffectCount=0;queues=new Map;add(t){this.enqueue(t),this.schedule(t)}schedule(t){t.dirty&&this.dirtyEffectCount++}remove(t){let n=t.zone,r=this.queues.get(n);r.has(t)&&(r.delete(t),t.dirty&&this.dirtyEffectCount--)}enqueue(t){let n=t.zone;this.queues.has(n)||this.queues.set(n,new Set);let r=this.queues.get(n);r.has(t)||r.add(t)}flush(){for(;this.dirtyEffectCount>0;){let t=!1;for(let[n,r]of this.queues)n===null?t||=this.flushQueue(r):t||=n.run(()=>this.flushQueue(r));t||(this.dirtyEffectCount=0)}}flushQueue(t){let n=!1;for(let r of t)r.dirty&&(this.dirtyEffectCount--,n=!0,r.run());return n}},Or=class{[Q];constructor(t){this[Q]=t}destroy(){this[Q].destroy()}};function Lh(e,t){let n=t?.injector??y(xe),r=t?.manualCleanup!==!0?n.get(Wt):null,o,i=n.get(Mn,null,{optional:!0}),s=n.get(ve);return i!==null?(o=Vh(i.view,s,e),r instanceof Rr&&r._lView===i.view&&(r=null)):o=Hh(e,n.get(ro),s),o.injector=n,r!==null&&(o.onDestroyFns=[r.onDestroy(()=>o.destroy())]),new Or(o)}var ql=W(q({},ii),{cleanupFns:void 0,zone:null,onDestroyFns:null,run(){let e=mn(!1);try{si(this)}finally{mn(e)}},cleanup(){if(!this.cleanupFns?.length)return;let e=E(null);try{for(;this.cleanupFns.length;)this.cleanupFns.pop()()}finally{this.cleanupFns=[],E(e)}}}),Fh=W(q({},ql),{consumerMarkedDirty(){this.scheduler.schedule(this),this.notifier.notify(12)},destroy(){if(Je(this),this.onDestroyFns!==null)for(let e of this.onDestroyFns)e();this.cleanup(),this.scheduler.remove(this)}}),jh=W(q({},ql),{consumerMarkedDirty(){this.view[v]|=8192,vt(this.view),this.notifier.notify(13)},destroy(){if(Je(this),this.onDestroyFns!==null)for(let e of this.onDestroyFns)e();this.cleanup(),this.view[Ve]?.delete(this)}});function Vh(e,t,n){let r=Object.create(jh);return r.view=e,r.zone=typeof Zone<"u"?Zone.current:null,r.notifier=t,r.fn=Wl(r,n),e[Ve]??=new Set,e[Ve].add(r),r.consumerMarkedDirty(r),r}function Hh(e,t,n){let r=Object.create(Fh);return r.fn=Wl(r,e),r.scheduler=t,r.notifier=n,r.zone=typeof Zone<"u"?Zone.current:null,r.scheduler.add(r),r.notifier.notify(12),r}function Wl(e,t){return()=>{t(n=>(e.cleanupFns??=[]).push(n))}}function Gl(e){return oi(e)}function Fn(e){return{toString:e}.toString()}function Qh(e){return typeof e=="function"}function wu(e,t,n,r){t!==null?t.applyValueToInputSignal(t,r):e[n]=r}var po=class{previousValue;currentValue;firstChange;constructor(t,n,r){this.previousValue=t,this.currentValue=n,this.firstChange=r}isFirstChange(){return this.firstChange}},Zh=(()=>{let e=()=>_u;return e.ngInherit=!0,e})();function _u(e){return e.type.prototype.ngOnChanges&&(e.setInput=Kh),Yh}function Yh(){let e=Nu(this),t=e?.current;if(t){let n=e.previous;if(n===$e)e.previous=t;else for(let r in t)n[r]=t[r];e.current=null,this.ngOnChanges(t)}}function Kh(e,t,n,r,o){let i=this.declaredInputs[r],s=Nu(e)||Jh(e,{previous:$e,current:null}),a=s.current||(s.current={}),c=s.previous,l=c[i];a[i]=new po(l&&l.currentValue,n,c===$e),wu(e,t,o,n)}var Mu="__ngSimpleChanges__";function Nu(e){return e[Mu]||null}function Jh(e,t){return e[Mu]=t}var zl=[];var A=function(e,t=null,n){for(let r=0;r<zl.length;r++){let o=zl[r];o(e,t,n)}},_=(function(e){return e[e.TemplateCreateStart=0]="TemplateCreateStart",e[e.TemplateCreateEnd=1]="TemplateCreateEnd",e[e.TemplateUpdateStart=2]="TemplateUpdateStart",e[e.TemplateUpdateEnd=3]="TemplateUpdateEnd",e[e.LifecycleHookStart=4]="LifecycleHookStart",e[e.LifecycleHookEnd=5]="LifecycleHookEnd",e[e.OutputStart=6]="OutputStart",e[e.OutputEnd=7]="OutputEnd",e[e.BootstrapApplicationStart=8]="BootstrapApplicationStart",e[e.BootstrapApplicationEnd=9]="BootstrapApplicationEnd",e[e.BootstrapComponentStart=10]="BootstrapComponentStart",e[e.BootstrapComponentEnd=11]="BootstrapComponentEnd",e[e.ChangeDetectionStart=12]="ChangeDetectionStart",e[e.ChangeDetectionEnd=13]="ChangeDetectionEnd",e[e.ChangeDetectionSyncStart=14]="ChangeDetectionSyncStart",e[e.ChangeDetectionSyncEnd=15]="ChangeDetectionSyncEnd",e[e.AfterRenderHooksStart=16]="AfterRenderHooksStart",e[e.AfterRenderHooksEnd=17]="AfterRenderHooksEnd",e[e.ComponentStart=18]="ComponentStart",e[e.ComponentEnd=19]="ComponentEnd",e[e.DeferBlockStateStart=20]="DeferBlockStateStart",e[e.DeferBlockStateEnd=21]="DeferBlockStateEnd",e[e.DynamicComponentStart=22]="DynamicComponentStart",e[e.DynamicComponentEnd=23]="DynamicComponentEnd",e[e.HostBindingsUpdateStart=24]="HostBindingsUpdateStart",e[e.HostBindingsUpdateEnd=25]="HostBindingsUpdateEnd",e})(_||{});function Xh(e,t,n){let{ngOnChanges:r,ngOnInit:o,ngDoCheck:i}=t.type.prototype;if(r){let s=_u(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 Su(e,t){for(let n=t.directiveStart,r=t.directiveEnd;n<r;n++){let i=e.data[n].type.prototype,{ngAfterContentInit:s,ngAfterContentChecked:a,ngAfterViewInit:c,ngAfterViewChecked:l,ngOnDestroy:u}=i;s&&(e.contentHooks??=[]).push(-n,s),a&&((e.contentHooks??=[]).push(n,a),(e.contentCheckHooks??=[]).push(n,a)),c&&(e.viewHooks??=[]).push(-n,c),l&&((e.viewHooks??=[]).push(n,l),(e.viewCheckHooks??=[]).push(n,l)),u!=null&&(e.destroyHooks??=[]).push(n,u)}}function co(e,t,n){xu(e,t,3,n)}function lo(e,t,n,r){(e[v]&3)===n&&xu(e,t,n,r)}function _s(e,t){let n=e[v];(n&3)===t&&(n&=16383,n+=1,e[v]=n)}function xu(e,t,n,r){let o=r!==void 0?e[ht]&65535:0,i=r??-1,s=t.length-1,a=0;for(let c=o;c<s;c++)if(typeof t[c+1]=="number"){if(a=t[c],r!=null&&a>=r)break}else t[c]<0&&(e[ht]+=65536),(a<i||i==-1)&&(eg(e,n,t,c),e[ht]=(e[ht]&4294901760)+c+2),c++}function Ql(e,t){A(_.LifecycleHookStart,e,t);let n=E(null);try{t.call(e)}finally{E(n),A(_.LifecycleHookEnd,e,t)}}function eg(e,t,n,r){let o=n[r]<0,i=n[r+1],s=o?-n[r]:n[r],a=e[s];o?e[v]>>14<e[ht]>>16&&(e[v]&3)===t&&(e[v]+=16384,Ql(a,i)):Ql(a,i)}var Qt=-1,Dt=class{factory;name;injectImpl;resolving=!1;canSeeViewProviders;multi;componentProviders;index;providerFactory;constructor(t,n,r,o){this.factory=t,this.name=o,this.canSeeViewProviders=n,this.injectImpl=r}};function tg(e){return(e.flags&8)!==0}function ng(e){return(e.flags&16)!==0}function rg(e,t,n){let r=0;for(;r<n.length;){let o=n[r];if(typeof o=="number"){if(o!==0)break;r++;let i=n[r++],s=n[r++],a=n[r++];e.setAttribute(t,s,a,i)}else{let i=o,s=n[++r];og(i)?e.setProperty(t,i,s):e.setAttribute(t,i,s),r++}}return r}function Au(e){return e===3||e===4||e===6}function og(e){return e.charCodeAt(0)===64}function Zt(e,t){if(!(t===null||t.length===0))if(e===null||e.length===0)e=t.slice();else{let n=-1;for(let r=0;r<t.length;r++){let o=t[r];typeof o=="number"?n=o:n===0||(n===-1||n===2?Zl(e,n,o,null,t[++r]):Zl(e,n,o,null,null))}}return e}function Zl(e,t,n,r,o){let i=0,s=e.length;if(t===-1)s=-1;else for(;i<e.length;){let a=e[i++];if(typeof a=="number"){if(a===t){s=-1;break}else if(a>t){s=i-1;break}}}for(;i<e.length;){let a=e[i];if(typeof a=="number")break;if(a===n){o!==null&&(e[i+1]=o);return}i++,o!==null&&i++}s!==-1&&(e.splice(s,0,t),i=s+1),e.splice(i++,0,n),o!==null&&e.splice(i++,0,o)}function Ru(e){return e!==Qt}function ho(e){return e&32767}function ig(e){return e>>16}function go(e,t){let n=ig(e),r=t;for(;n>0;)r=r[pt],n--;return r}var Fs=!0;function mo(e){let t=Fs;return Fs=e,t}var sg=256,ku=sg-1,Ou=5,ag=0,Te={};function cg(e,t,n){let r;typeof n=="string"?r=n.charCodeAt(0)||0:n.hasOwnProperty(dt)&&(r=n[dt]),r==null&&(r=n[dt]=ag++);let o=r&ku,i=1<<o;t.data[e+(o>>Ou)]|=i}function yo(e,t){let n=Pu(e,t);if(n!==-1)return n;let r=t[m];r.firstCreatePass&&(e.injectorIndex=t.length,Ms(r.data,e),Ms(t,null),Ms(r.blueprint,null));let o=ga(e,t),i=e.injectorIndex;if(Ru(o)){let s=ho(o),a=go(o,t),c=a[m].data;for(let l=0;l<8;l++)t[i+l]=a[s+l]|c[s+l]}return t[i+8]=o,i}function Ms(e,t){e.push(0,0,0,0,0,0,0,0,t)}function Pu(e,t){return e.injectorIndex===-1||e.parent&&e.parent.injectorIndex===e.injectorIndex||t[e.injectorIndex+8]===null?-1:e.injectorIndex}function ga(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=Hu(o),r===null)return Qt;if(n++,o=o[pt],r.injectorIndex!==-1)return r.injectorIndex|n<<16}return Qt}function js(e,t,n){cg(e,t,n)}function lg(e,t){if(t==="class")return e.classes;if(t==="style")return e.styles;let n=e.attrs;if(n){let r=n.length,o=0;for(;o<r;){let i=n[o];if(Au(i))break;if(i===0)o=o+2;else if(typeof i=="number")for(o++;o<r&&typeof n[o]=="string";)o++;else{if(i===t)return n[o+1];o=o+2}}}return null}function Lu(e,t,n){if(n&8||e!==void 0)return e;Hr(t,"NodeInjector")}function Fu(e,t,n,r){if(n&8&&r===void 0&&(r=null),(n&3)===0){let o=e[Ue],i=Z(void 0);try{return o?o.get(t,r,n&8):Ui(t,r,n&8)}finally{Z(i)}}return Lu(r,t,n)}function ju(e,t,n,r=0,o){if(e!==null){if(t[v]&2048&&!(r&2)){let s=hg(e,t,n,r,Te);if(s!==Te)return s}let i=Vu(e,t,n,r,Te);if(i!==Te)return i}return Fu(t,n,r,o)}function Vu(e,t,n,r,o){let i=dg(n);if(typeof i=="function"){if(!vs(t,e,r))return r&1?Lu(o,n,r):Fu(t,n,r,o);try{let s;if(s=i(r),s==null&&!(r&8))Hr(n);else return s}finally{Es()}}else if(typeof i=="number"){let s=null,a=Pu(e,t),c=Qt,l=r&1?t[ee][K]:null;for((a===-1||r&4)&&(c=a===-1?ga(e,t):t[a+8],c===Qt||!Kl(r,!1)?a=-1:(s=t[m],a=ho(c),t=go(c,t)));a!==-1;){let u=t[m];if(Yl(i,a,u.data)){let d=ug(a,t,n,s,r,l);if(d!==Te)return d}c=t[a+8],c!==Qt&&Kl(r,t[m].data[a+8]===l)&&Yl(i,a,t)?(s=u,a=ho(c),t=go(c,t)):a=-1}}return o}function ug(e,t,n,r,o,i){let s=t[m],a=s.data[e+8],c=r==null?Re(a)&&Fs:r!=s&&(a.type&3)!==0,l=o&1&&i===a,u=uo(a,s,n,c,l);return u!==null?An(t,s,u,a,o):Te}function uo(e,t,n,r,o){let i=e.providerIndexes,s=t.data,a=i&1048575,c=e.directiveStart,l=e.directiveEnd,u=i>>20,d=r?a:a+u,p=o?a+u:l;for(let f=d;f<p;f++){let h=s[f];if(f<c&&n===h||f>=c&&h.type===n)return f}if(o){let f=s[c];if(f&&be(f)&&f.type===n)return c}return null}function An(e,t,n,r,o){let i=e[n],s=t.data;if(i instanceof Dt){let a=i;if(a.resolving){let f=Jc(s[n]);throw $i(f)}let c=mo(a.canSeeViewProviders);a.resolving=!0;let l=s[n].type||s[n],u,d=a.injectImpl?Z(a.injectImpl):null,p=vs(e,r,0);try{i=e[n]=a.factory(void 0,o,s,e,r),t.firstCreatePass&&n>=r.directiveStart&&Xh(n,s[n],t)}finally{d!==null&&Z(d),mo(c),a.resolving=!1,Es()}}return i}function dg(e){if(typeof e=="string")return e.charCodeAt(0)||0;let t=e.hasOwnProperty(dt)?e[dt]:void 0;return typeof t=="number"?t>=0?t&ku:fg:t}function Yl(e,t,n){let r=1<<e;return!!(n[t+(e>>Ou)]&r)}function Kl(e,t){return!(e&2)&&!(e&1&&t)}var It=class{_tNode;_lView;constructor(t,n){this._tNode=t,this._lView=n}get(t,n,r){return ju(this._tNode,this._lView,t,at(r),n)}};function fg(){return new It(B(),g())}function pg(e){return Fn(()=>{let t=e.prototype.constructor,n=t[hn]||Vs(t),r=Object.prototype,o=Object.getPrototypeOf(e.prototype).constructor;for(;o&&o!==r;){let i=o[hn]||Vs(o);if(i&&i!==n)return i;o=Object.getPrototypeOf(o)}return i=>new i})}function Vs(e){return Oi(e)?()=>{let t=Vs($(e));return t&&t()}:je(e)}function hg(e,t,n,r,o){let i=e,s=t;for(;i!==null&&s!==null&&s[v]&2048&&!$t(s);){let a=Vu(i,s,n,r|2,Te);if(a!==Te)return a;let c=i.parent;if(!c){let l=s[Ji];if(l){let u=l.get(n,Te,r);if(u!==Te)return u}c=Hu(s),s=s[pt]}i=c}return o}function Hu(e){let t=e[m],n=t.type;return n===2?t.declTNode:n===1?e[K]:null}function Bu(e){return lg(B(),e)}function gg(){return nn(B(),g())}function nn(e,t){return new jn(ae(e,t))}var jn=(()=>{class e{nativeElement;constructor(n){this.nativeElement=n}static __NG_ELEMENT_ID__=gg}return e})();function mg(e){return e instanceof jn?e.nativeElement:e}function yg(){return this._results[Symbol.iterator]()}var vo=class{_emitDistinctChangesOnly;dirty=!0;_onDirty=void 0;_results=[];_changesDetected=!1;_changes=void 0;length=0;first=void 0;last=void 0;get changes(){return this._changes??=new _e}constructor(t=!1){this._emitDistinctChangesOnly=t}get(t){return this._results[t]}map(t){return this._results.map(t)}filter(t){return this._results.filter(t)}find(t){return this._results.find(t)}reduce(t,n){return this._results.reduce(t,n)}forEach(t){this._results.forEach(t)}some(t){return this._results.some(t)}toArray(){return this._results.slice()}toString(){return this._results.toString()}reset(t,n){this.dirty=!1;let r=rl(t);(this._changesDetected=!nl(this._results,r,n))&&(this._results=r,this.length=r.length,this.last=r[this.length-1],this.first=r[0])}notifyOnChanges(){this._changes!==void 0&&(this._changesDetected||!this._emitDistinctChangesOnly)&&this._changes.next(this)}onDirty(t){this._onDirty=t}setDirty(){this.dirty=!0,this._onDirty?.()}destroy(){this._changes!==void 0&&(this._changes.complete(),this._changes.unsubscribe())}[Symbol.iterator]=yg};function $u(e){return(e.flags&128)===128}var ma=(function(e){return e[e.OnPush=0]="OnPush",e[e.Default=1]="Default",e})(ma||{}),Uu=new Map,vg=0;function Eg(){return vg++}function Ig(e){Uu.set(e[We],e)}function Hs(e){Uu.delete(e[We])}var Jl="__ngContext__";function Yt(e,t){Ce(t)?(e[Jl]=t[We],Ig(t)):e[Jl]=t}function qu(e){return Gu(e[Ht])}function Wu(e){return Gu(e[ie])}function Gu(e){for(;e!==null&&!pe(e);)e=e[ie];return e}var Bs;function Dg(e){Bs=e}function zu(){if(Bs!==void 0)return Bs;if(typeof document<"u")return document;throw new b(210,!1)}var Cg=new x("",{factory:()=>bg}),bg="ng";var Qu=new x(""),Tg=new x("",{providedIn:"platform",factory:()=>"unknown"}),wg=new x(""),_g=new x("",{factory:()=>y(Ds).body?.querySelector("[ngCspNonce]")?.getAttribute("ngCspNonce")||null});var Zu=!1,Yu=new x("",{factory:()=>Zu});var Mg=new x("");var Ng=(e,t,n,r)=>{};function Sg(e,t,n,r){Ng(e,t,n,r)}function Ao(e){return(e.flags&32)===32}var xg=()=>null;function Ku(e,t,n=!1){return xg(e,t,n)}function Ju(e,t){let n=e.contentQueries;if(n!==null){let r=E(null);try{for(let o=0;o<n.length;o+=2){let i=n[o],s=n[o+1];if(s!==-1){let a=e.data[s];Jr(i),a.contentQueries(2,t[s],s)}}}finally{E(r)}}}function $s(e,t,n){Jr(0);let r=E(null);try{t(e,n)}finally{E(r)}}function ya(e,t,n){if(Xi(t)){let r=E(null);try{let o=t.directiveStart,i=t.directiveEnd;for(let s=o;s<i;s++){let a=e.data[s];if(a.contentQueries){let c=n[s];a.contentQueries(1,c,s)}}}finally{E(r)}}}var Ct=(function(e){return e[e.Emulated=0]="Emulated",e[e.None=2]="None",e[e.ShadowDom=3]="ShadowDom",e[e.ExperimentalIsolatedShadowDom=4]="ExperimentalIsolatedShadowDom",e})(Ct||{});var oo;function Ag(){if(oo===void 0&&(oo=null,Ee.trustedTypes))try{oo=Ee.trustedTypes.createPolicy("angular",{createHTML:e=>e,createScript:e=>e,createScriptURL:e=>e})}catch{}return oo}function Ro(e){return Ag()?.createHTML(e)||e}var io;function Xu(){if(io===void 0&&(io=null,Ee.trustedTypes))try{io=Ee.trustedTypes.createPolicy("angular#unsafe-bypass",{createHTML:e=>e,createScript:e=>e,createScriptURL:e=>e})}catch{}return io}function Xl(e){return Xu()?.createHTML(e)||e}function eu(e){return Xu()?.createScriptURL(e)||e}var Oe=class{changingThisBreaksApplicationSecurity;constructor(t){this.changingThisBreaksApplicationSecurity=t}toString(){return`SafeValue must use [property]=binding: ${this.changingThisBreaksApplicationSecurity} (see ${Pr})`}},Us=class extends Oe{getTypeName(){return"HTML"}},qs=class extends Oe{getTypeName(){return"Style"}},Ws=class extends Oe{getTypeName(){return"Script"}},Gs=class extends Oe{getTypeName(){return"URL"}},zs=class extends Oe{getTypeName(){return"ResourceURL"}};function wt(e){return e instanceof Oe?e.changingThisBreaksApplicationSecurity:e}function ko(e,t){let n=ed(e);if(n!=null&&n!==t){if(n==="ResourceURL"&&t==="URL")return!0;throw new Error(`Required a safe ${t}, got a ${n} (see ${Pr})`)}return n===t}function ed(e){return e instanceof Oe&&e.getTypeName()||null}function Rg(e){return new Us(e)}function kg(e){return new qs(e)}function Og(e){return new Ws(e)}function Pg(e){return new Gs(e)}function Lg(e){return new zs(e)}function Fg(e){let t=new Zs(e);return jg()?new Qs(t):t}var Qs=class{inertDocumentHelper;constructor(t){this.inertDocumentHelper=t}getInertBodyElement(t){t="<body><remove></remove>"+t;try{let n=new window.DOMParser().parseFromString(Ro(t),"text/html").body;return n===null?this.inertDocumentHelper.getInertBodyElement(t):(n.firstChild?.remove(),n)}catch{return null}}},Zs=class{defaultDoc;inertDocument;constructor(t){this.defaultDoc=t,this.inertDocument=this.defaultDoc.implementation.createHTMLDocument("sanitization-inert")}getInertBodyElement(t){let n=this.inertDocument.createElement("template");return n.innerHTML=Ro(t),n}};function jg(){try{return!!new window.DOMParser().parseFromString(Ro(""),"text/html")}catch{return!1}}var Vg=/^(?!javascript:)(?:[a-z0-9+.-]+:|[^&:\/?#]*(?:[\/?#]|$))/i;function va(e){return e=String(e),e.match(Vg)?e:"unsafe:"+e}function Pe(e){let t={};for(let n of e.split(","))t[n]=!0;return t}function Vn(...e){let t={};for(let n of e)for(let r in n)n.hasOwnProperty(r)&&(t[r]=!0);return t}var td=Pe("area,br,col,hr,img,wbr"),nd=Pe("colgroup,dd,dt,li,p,tbody,td,tfoot,th,thead,tr"),rd=Pe("rp,rt"),Hg=Vn(rd,nd),Bg=Vn(nd,Pe("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")),$g=Vn(rd,Pe("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")),tu=Vn(td,Bg,$g,Hg),od=Pe("background,cite,href,itemtype,longdesc,poster,src,xlink:href"),Ug=Pe("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"),qg=Pe("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"),Wg=Vn(od,Ug,qg),Gg=Pe("script,style,template"),Ys=class{sanitizedSomething=!1;buf=[];sanitizeChildren(t){let n=t.firstChild,r=!0,o=[];for(;n;){if(n.nodeType===Node.ELEMENT_NODE?r=this.startElement(n):n.nodeType===Node.TEXT_NODE?this.chars(n.nodeValue):this.sanitizedSomething=!0,r&&n.firstChild){o.push(n),n=Zg(n);continue}for(;n;){n.nodeType===Node.ELEMENT_NODE&&this.endElement(n);let i=Qg(n);if(i){n=i;break}n=o.pop()}}return this.buf.join("")}startElement(t){let n=nu(t).toLowerCase();if(!tu.hasOwnProperty(n))return this.sanitizedSomething=!0,!Gg.hasOwnProperty(n);this.buf.push("<"),this.buf.push(n);let r=t.attributes;for(let o=0;o<r.length;o++){let i=r.item(o),s=i.name,a=s.toLowerCase();if(!Wg.hasOwnProperty(a)){this.sanitizedSomething=!0;continue}let c=i.value;od[a]&&(c=va(c)),this.buf.push(" ",s,'="',ru(c),'"')}return this.buf.push(">"),!0}endElement(t){let n=nu(t).toLowerCase();tu.hasOwnProperty(n)&&!td.hasOwnProperty(n)&&(this.buf.push("</"),this.buf.push(n),this.buf.push(">"))}chars(t){this.buf.push(ru(t))}};function zg(e,t){return(e.compareDocumentPosition(t)&Node.DOCUMENT_POSITION_CONTAINED_BY)!==Node.DOCUMENT_POSITION_CONTAINED_BY}function Qg(e){let t=e.nextSibling;if(t&&e!==t.previousSibling)throw id(t);return t}function Zg(e){let t=e.firstChild;if(t&&zg(e,t))throw id(t);return t}function nu(e){let t=e.nodeName;return typeof t=="string"?t:"FORM"}function id(e){return new Error(`Failed to sanitize html because the element is clobbered: ${e.outerHTML}`)}var Yg=/[\uD800-\uDBFF][\uDC00-\uDFFF]/g,Kg=/([^\#-~ |!])/g;function ru(e){return e.replace(/&/g,"&").replace(Yg,function(t){let n=t.charCodeAt(0),r=t.charCodeAt(1);return"&#"+((n-55296)*1024+(r-56320)+65536)+";"}).replace(Kg,function(t){return"&#"+t.charCodeAt(0)+";"}).replace(/</g,"<").replace(/>/g,">")}var so;function sd(e,t){let n=null;try{so=so||Fg(e);let r=t?String(t):"";n=so.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=so.getInertBodyElement(r)}while(r!==i);let a=new Ys().sanitizeChildren(ou(n)||n);return Ro(a)}finally{if(n){let r=ou(n)||n;for(;r.firstChild;)r.firstChild.remove()}}}function ou(e){return"content"in e&&Jg(e)?e.content:null}function Jg(e){return e.nodeType===Node.ELEMENT_NODE&&e.nodeName==="TEMPLATE"}var Xg=/^>|^->|<!--|-->|--!>|<!-$/g,em=/(<|>)/g,tm="\u200B$1\u200B";function nm(e){return e.replace(Xg,t=>t.replace(em,tm))}function rm(e,t){return e.createText(t)}function om(e,t,n){e.setValue(t,n)}function im(e,t){return e.createComment(nm(t))}function ad(e,t,n){return e.createElement(t,n)}function Eo(e,t,n,r,o){e.insertBefore(t,n,r,o)}function cd(e,t,n){e.appendChild(t,n)}function iu(e,t,n,r,o){r!==null?Eo(e,t,n,r,o):cd(e,t,n)}function sm(e,t,n,r){e.removeChild(null,t,n,r)}function am(e,t,n){e.setAttribute(t,"style",n)}function cm(e,t,n){n===""?e.removeAttribute(t,"class"):e.setAttribute(t,"class",n)}function ld(e,t,n){let{mergedAttrs:r,classes:o,styles:i}=n;r!==null&&rg(e,t,r),o!==null&&cm(e,t,o),i!==null&&am(e,t,i)}var Hn=(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})(Hn||{});function lm(e){let t=Ea();return t?Xl(t.sanitize(Hn.HTML,e)||""):ko(e,"HTML")?Xl(wt(e)):sd(zu(),Be(e))}function ud(e){let t=Ea();return t?t.sanitize(Hn.URL,e)||"":ko(e,"URL")?wt(e):va(Be(e))}function dd(e){let t=Ea();if(t)return eu(t.sanitize(Hn.RESOURCE_URL,e)||"");if(ko(e,"ResourceURL"))return eu(wt(e));throw new b(904,!1)}var um=new Set(["embed","frame","iframe","media","script"]),dm=new Set(["base","link","script"]);function fm(e,t){return t==="src"&&um.has(e)||t==="href"&&dm.has(e)||t==="xlink:href"&&e==="script"?dd:ud}function pm(e,t,n){return fm(t,n)(e)}function Ea(){let e=g();return e&&e[Ie].sanitizer}function hm(e){return e.ownerDocument}function fd(e){return e instanceof Function?e():e}function gm(e,t,n){let r=e.length;for(;;){let o=e.indexOf(t,n);if(o===-1)return o;if(o===0||e.charCodeAt(o-1)<=32){let i=t.length;if(o+i===r||e.charCodeAt(o+i)<=32)return o}n=o+1}}var pd="ng-template";function mm(e,t,n,r){let o=0;if(r){for(;o<t.length&&typeof t[o]=="string";o+=2)if(t[o]==="class"&&gm(t[o+1].toLowerCase(),n,0)!==-1)return!0}else if(Ia(e))return!1;if(o=t.indexOf(1,o),o>-1){let i;for(;++o<t.length&&typeof(i=t[o])=="string";)if(i.toLowerCase()===n)return!0}return!1}function Ia(e){return e.type===4&&e.value!==pd}function ym(e,t,n){let r=e.type===4&&!n?pd:e.value;return t===r}function vm(e,t,n){let r=4,o=e.attrs,i=o!==null?Dm(o):0,s=!1;for(let a=0;a<t.length;a++){let c=t[a];if(typeof c=="number"){if(!s&&!he(r)&&!he(c))return!1;if(s&&he(c))continue;s=!1,r=c|r&1;continue}if(!s)if(r&4){if(r=2|r&1,c!==""&&!ym(e,c,n)||c===""&&t.length===1){if(he(r))return!1;s=!0}}else if(r&8){if(o===null||!mm(e,o,c,n)){if(he(r))return!1;s=!0}}else{let l=t[++a],u=Em(c,o,Ia(e),n);if(u===-1){if(he(r))return!1;s=!0;continue}if(l!==""){let d;if(u>i?d="":d=o[u+1].toLowerCase(),r&2&&l!==d){if(he(r))return!1;s=!0}}}}return he(r)||s}function he(e){return(e&1)===0}function Em(e,t,n,r){if(t===null)return-1;let o=0;if(r||!n){let i=!1;for(;o<t.length;){let s=t[o];if(s===e)return o;if(s===3||s===6)i=!0;else if(s===1||s===2){let a=t[++o];for(;typeof a=="string";)a=t[++o];continue}else{if(s===4)break;if(s===0){o+=4;continue}}o+=i?1:2}return-1}else return Cm(t,e)}function hd(e,t,n=!1){for(let r=0;r<t.length;r++)if(vm(e,t[r],n))return!0;return!1}function Im(e){let t=e.attrs;if(t!=null){let n=t.indexOf(5);if((n&1)===0)return t[n+1]}return null}function Dm(e){for(let t=0;t<e.length;t++){let n=e[t];if(Au(n))return t}return e.length}function Cm(e,t){let n=e.indexOf(4);if(n>-1)for(n++;n<e.length;){let r=e[n];if(typeof r=="number")return-1;if(r===t)return n;n++}return-1}function bm(e,t){e:for(let n=0;n<t.length;n++){let r=t[n];if(e.length===r.length){for(let o=0;o<e.length;o++)if(e[o]!==r[o])continue e;return!0}}return!1}function su(e,t){return e?":not("+t.trim()+")":t}function Tm(e){let t=e[0],n=1,r=2,o="",i=!1;for(;n<e.length;){let s=e[n];if(typeof s=="string")if(r&2){let a=e[++n];o+="["+s+(a.length>0?'="'+a+'"':"")+"]"}else r&8?o+="."+s:r&4&&(o+=" "+s);else o!==""&&!he(s)&&(t+=su(i,o),o=""),r=s,i=i||!he(r);n++}return o!==""&&(t+=su(i,o)),t}function wm(e){return e.map(Tm).join(",")}function _m(e){let t=[],n=[],r=1,o=2;for(;r<e.length;){let i=e[r];if(typeof i=="string")o===2?i!==""&&t.push(i,e[++r]):o===8&&n.push(i);else{if(!he(o))break;o=i}r++}return n.length&&t.push(1,...n),t}var ne={};function Da(e,t,n,r,o,i,s,a,c,l,u){let d=L+r,p=d+o,f=Mm(d,p),h=typeof l=="function"?l():l;return f[m]={type:e,blueprint:f,template:n,queries:null,viewQuery:a,declTNode:t,data:f.slice().fill(null,d),bindingStartIndex:d,expandoStartIndex:p,hostBindingOpCodes:null,firstCreatePass:!0,firstUpdatePass:!0,staticViewQueries:!1,staticContentQueries:!1,preOrderHooks:null,preOrderCheckHooks:null,contentHooks:null,contentCheckHooks:null,viewHooks:null,viewCheckHooks:null,destroyHooks:null,cleanup:null,contentQueries:null,components:null,directiveRegistry:typeof i=="function"?i():i,pipeRegistry:typeof s=="function"?s():s,firstChild:null,schemas:c,consts:h,incompleteFirstPass:!1,ssrId:u}}function Mm(e,t){let n=[];for(let r=0;r<t;r++)n.push(r<e?null:ne);return n}function Nm(e){let t=e.tView;return t===null||t.incompleteFirstPass?e.tView=Da(1,null,e.template,e.decls,e.vars,e.directiveDefs,e.pipeDefs,e.viewQuery,e.schemas,e.consts,e.id):t}function Ca(e,t,n,r,o,i,s,a,c,l,u){let d=t.blueprint.slice();return d[fe]=o,d[v]=r|4|128|8|64|1024,(l!==null||e&&e[v]&2048)&&(d[v]|=2048),os(d),d[H]=d[pt]=e,d[z]=n,d[Ie]=s||e&&e[Ie],d[R]=a||e&&e[R],d[Ue]=c||e&&e[Ue]||null,d[K]=i,d[We]=Eg(),d[jt]=u,d[Ji]=l,d[ee]=t.type==2?e[ee]:d,d}function Sm(e,t,n){let r=ae(t,e),o=Nm(n),i=e[Ie].rendererFactory,s=ba(e,Ca(e,o,null,gd(n),r,t,null,i.createRenderer(r,n),null,null,null));return e[t.index]=s}function gd(e){let t=16;return e.signals?t=4096:e.onPush&&(t=64),t}function md(e,t,n,r){if(n===0)return-1;let o=t.length;for(let i=0;i<n;i++)t.push(r),e.blueprint.push(r),e.data.push(null);return o}function ba(e,t){return e[Ht]?e[Ki][ie]=t:e[Ht]=t,e[Ki]=t,t}function xm(e=1){yd(P(),g(),ke()+e,!1)}function yd(e,t,n,r){if(!r)if((t[v]&3)===3){let i=e.preOrderCheckHooks;i!==null&&co(t,i,n)}else{let i=e.preOrderHooks;i!==null&&lo(t,i,0,n)}Qe(n)}var Oo=(function(e){return e[e.None=0]="None",e[e.SignalBased=1]="SignalBased",e[e.HasDecoratorInputTransform=2]="HasDecoratorInputTransform",e})(Oo||{});function Ks(e,t,n,r){let o=E(null);try{let[i,s,a]=e.inputs[n],c=null;(s&Oo.SignalBased)!==0&&(c=t[i][Q]),c!==null&&c.transformFn!==void 0?r=c.transformFn(r):a!==null&&(r=a.call(t,r)),e.setInput!==null?e.setInput(t,c,r,n,i):wu(t,c,i,r)}finally{E(o)}}var Io=(function(e){return e[e.Important=1]="Important",e[e.DashCase=2]="DashCase",e})(Io||{}),Am;function Ta(e,t){return Am(e,t)}var Do=new Set,Po=(function(e){return e[e.CHANGE_DETECTION=0]="CHANGE_DETECTION",e[e.AFTER_NEXT_RENDER=1]="AFTER_NEXT_RENDER",e})(Po||{}),Bn=new x(""),au=new Set;function Lo(e){au.has(e)||(au.add(e),performance?.mark?.("mark_feature_usage",{detail:{feature:e}}))}var wa=(()=>{class e{impl=null;execute(){this.impl?.execute()}static \u0275prov=F({token:e,providedIn:"root",factory:()=>new e})}return e})(),vd=[0,1,2,3],Ed=(()=>{class e{ngZone=y(U);scheduler=y(ve);errorHandler=y(ut,{optional:!0});sequences=new Set;deferredRegistrations=new Set;executing=!1;constructor(){y(Bn,{optional:!0})}execute(){let n=this.sequences.size>0;n&&A(_.AfterRenderHooksStart),this.executing=!0;for(let r of vd)for(let o of this.sequences)if(!(o.erroredOrDestroyed||!o.hooks[r]))try{o.pipelinedValue=this.ngZone.runOutsideAngular(()=>this.maybeTrace(()=>{let i=o.hooks[r];return i(o.pipelinedValue)},o.snapshot))}catch(i){o.erroredOrDestroyed=!0,this.errorHandler?.handleError(i)}this.executing=!1;for(let r of this.sequences)r.afterRun(),r.once&&(this.sequences.delete(r),r.destroy());for(let r of this.deferredRegistrations)this.sequences.add(r);this.deferredRegistrations.size>0&&this.scheduler.notify(7),this.deferredRegistrations.clear(),n&&A(_.AfterRenderHooksEnd)}register(n){let{view:r}=n;r!==void 0?((r[gt]??=[]).push(n),vt(r),r[v]|=8192):this.executing?this.deferredRegistrations.add(n):this.addSequence(n)}addSequence(n){this.sequences.add(n),this.scheduler.notify(7)}unregister(n){this.executing&&this.sequences.has(n)?(n.erroredOrDestroyed=!0,n.pipelinedValue=void 0,n.once=!0):(this.sequences.delete(n),this.deferredRegistrations.delete(n))}maybeTrace(n,r){return r?r.run(Po.AFTER_NEXT_RENDER,n):n()}static \u0275prov=F({token:e,providedIn:"root",factory:()=>new e})}return e})(),Co=class{impl;hooks;view;once;snapshot;erroredOrDestroyed=!1;pipelinedValue=void 0;unregisterOnDestroy;constructor(t,n,r,o,i,s=null){this.impl=t,this.hooks=n,this.view=r,this.once=o,this.snapshot=s,this.unregisterOnDestroy=i?.onDestroy(()=>this.destroy())}afterRun(){this.erroredOrDestroyed=!1,this.pipelinedValue=void 0,this.snapshot?.dispose(),this.snapshot=null}destroy(){this.impl.unregister(this),this.unregisterOnDestroy?.();let t=this.view?.[gt];t&&(this.view[gt]=t.filter(n=>n!==this))}};function Rm(e,t){let n=t?.injector??y(xe);return Lo("NgAfterNextRender"),Om(e,n,t,!0)}function km(e){return e instanceof Function?[void 0,void 0,e,void 0]:[e.earlyRead,e.write,e.mixedReadWrite,e.read]}function Om(e,t,n,r){let o=t.get(wa);o.impl??=t.get(Ed);let i=t.get(Bn,null,{optional:!0}),s=n?.manualCleanup!==!0?t.get(Wt):null,a=t.get(Mn,null,{optional:!0}),c=new Co(o.impl,km(e),a?.view,r,s,i?.snapshot(null));return o.impl.register(c),c}var Pm=new x("",{factory:()=>({queue:new Set,isScheduled:!1,scheduler:null,injector:y(oe)})});function Id(e,t,n){let r=e.get(Pm);if(Array.isArray(t))for(let o of t)r.queue.add(o),n?.detachedLeaveAnimationFns?.push(o);else r.queue.add(t),n?.detachedLeaveAnimationFns?.push(t);r.scheduler&&r.scheduler(e)}function Lm(e,t){for(let[n,r]of t)Id(e,r.animateFns)}function cu(e,t,n,r){let o=e?.[bn]?.enter;t!==null&&o&&o.has(n.index)&&Lm(r,o)}function zt(e,t,n,r,o,i,s,a){if(o!=null){let c,l=!1;pe(o)?c=o:Ce(o)&&(l=!0,o=o[fe]);let u=se(o);e===0&&r!==null?(cu(a,r,i,n),s==null?cd(t,r,u):Eo(t,r,u,s||null,!0)):e===1&&r!==null?(cu(a,r,i,n),Eo(t,r,u,s||null,!0)):e===2?lu(a,i,n,d=>{sm(t,u,l,d)}):e===3&&lu(a,i,n,()=>{t.destroyNode(u)}),c!=null&&zm(t,e,n,c,i,r,s)}}function Fm(e,t){Dd(e,t),t[fe]=null,t[K]=null}function jm(e,t,n,r,o,i){r[fe]=o,r[K]=t,Fo(e,r,n,1,o,i)}function Dd(e,t){t[Ie].changeDetectionScheduler?.notify(9),Fo(e,t,t[R],2,null,null)}function Vm(e){let t=e[Ht];if(!t)return Ns(e[m],e);for(;t;){let n=null;if(Ce(t))n=t[Ht];else{let r=t[J];r&&(n=r)}if(!n){for(;t&&!t[ie]&&t!==e;)Ce(t)&&Ns(t[m],t),t=t[H];t===null&&(t=e),Ce(t)&&Ns(t[m],t),n=t&&t[ie]}t=n}}function _a(e,t){let n=e[mt],r=n.indexOf(t);n.splice(r,1)}function Cd(e,t){if(yt(t))return;let n=t[R];n.destroyNode&&Fo(e,t,n,3,null,null),Vm(t)}function Ns(e,t){if(yt(t))return;let n=E(null);try{t[v]&=-129,t[v]|=256,t[re]&&Je(t[re]),$m(e,t),Bm(e,t),t[m].type===1&&t[R].destroy();let r=t[qe];if(r!==null&&pe(t[H])){r!==t[H]&&_a(r,t);let o=t[De];o!==null&&o.detachView(e)}Hs(t)}finally{E(n)}}function lu(e,t,n,r){let o=e?.[bn];if(o==null||o.leave==null||!o.leave.has(t.index))return r(!1);e&&Do.add(e[We]),Id(n,()=>{if(o.leave&&o.leave.has(t.index)){let s=o.leave.get(t.index),a=[];if(s){for(let c=0;c<s.animateFns.length;c++){let l=s.animateFns[c],{promise:u}=l();a.push(u)}o.detachedLeaveAnimationFns=void 0}o.running=Promise.allSettled(a),Hm(e,r)}else e&&Do.delete(e[We]),r(!1)},o)}function Hm(e,t){let n=e[bn]?.running;if(n){n.then(()=>{e[bn].running=void 0,Do.delete(e[We]),t(!0)});return}t(!1)}function Bm(e,t){let n=e.cleanup,r=t[Vt];if(n!==null)for(let s=0;s<n.length-1;s+=2)if(typeof n[s]=="string"){let a=n[s+3];a>=0?r[a]():r[-a].unsubscribe(),s+=2}else{let a=r[n[s+1]];n[s].call(a)}r!==null&&(t[Vt]=null);let o=t[Ne];if(o!==null){t[Ne]=null;for(let s=0;s<o.length;s++){let a=o[s];a()}}let i=t[Ve];if(i!==null){t[Ve]=null;for(let s of i)s.destroy()}}function $m(e,t){let n;if(e!=null&&(n=e.destroyHooks)!=null)for(let r=0;r<n.length;r+=2){let o=t[n[r]];if(!(o instanceof Dt)){let i=n[r+1];if(Array.isArray(i))for(let s=0;s<i.length;s+=2){let a=o[i[s]],c=i[s+1];A(_.LifecycleHookStart,a,c);try{c.call(a)}finally{A(_.LifecycleHookEnd,a,c)}}else{A(_.LifecycleHookStart,o,i);try{i.call(o)}finally{A(_.LifecycleHookEnd,o,i)}}}}}function bd(e,t,n){return Um(e,t.parent,n)}function Um(e,t,n){let r=t;for(;r!==null&&r.type&168;)t=r,r=t.parent;if(r===null)return n[fe];if(Re(r)){let{encapsulation:o}=e.data[r.directiveStart+r.componentOffset];if(o===Ct.None||o===Ct.Emulated)return null}return ae(r,n)}function Td(e,t,n){return Wm(e,t,n)}function qm(e,t,n){return e.type&40?ae(e,n):null}var Wm=qm,uu;function Ma(e,t,n,r){let o=bd(e,r,t),i=t[R],s=r.parent||t[K],a=Td(s,r,t);if(o!=null)if(Array.isArray(n))for(let c=0;c<n.length;c++)iu(i,o,n[c],a,!1);else iu(i,o,n,a,!1);uu!==void 0&&uu(i,r,t,n,o)}function Sn(e,t){if(t!==null){let n=t.type;if(n&3)return ae(t,e);if(n&4)return Js(-1,e[t.index]);if(n&8){let r=t.child;if(r!==null)return Sn(e,r);{let o=e[t.index];return pe(o)?Js(-1,o):se(o)}}else{if(n&128)return Sn(e,t.next);if(n&32)return Ta(t,e)()||se(e[t.index]);{let r=wd(e,t);if(r!==null){if(Array.isArray(r))return r[0];let o=He(e[ee]);return Sn(o,r)}else return Sn(e,t.next)}}}return null}function wd(e,t){if(t!==null){let r=e[ee][K],o=t.projection;return r.projection[o]}return null}function Js(e,t){let n=J+e+1;if(n<t.length){let r=t[n],o=r[m].firstChild;if(o!==null)return Sn(r,o)}return t[Ge]}function Na(e,t,n,r,o,i,s){for(;n!=null;){let a=r[Ue];if(n.type===128){n=n.next;continue}let c=r[n.index],l=n.type;if(s&&t===0&&(c&&Yt(se(c),r),n.flags|=2),!Ao(n))if(l&8)Na(e,t,n.child,r,o,i,!1),zt(t,e,a,o,c,n,i,r);else if(l&32){let u=Ta(n,r),d;for(;d=u();)zt(t,e,a,o,d,n,i,r);zt(t,e,a,o,c,n,i,r)}else l&16?_d(e,t,r,n,o,i):zt(t,e,a,o,c,n,i,r);n=s?n.projectionNext:n.next}}function Fo(e,t,n,r,o,i){Na(n,r,e.firstChild,t,o,i,!1)}function Gm(e,t,n){let r=t[R],o=bd(e,n,t),i=n.parent||t[K],s=Td(i,n,t);_d(r,0,t,n,o,s)}function _d(e,t,n,r,o,i){let s=n[ee],c=s[K].projection[r.projection];if(Array.isArray(c))for(let l=0;l<c.length;l++){let u=c[l];zt(t,e,n[Ue],o,u,r,i,n)}else{let l=c,u=s[H];$u(r)&&(l.flags|=128),Na(e,t,l,u,o,i,!0)}}function zm(e,t,n,r,o,i,s){let a=r[Ge],c=se(r);a!==c&&zt(t,e,n,i,a,o,s);for(let l=J;l<r.length;l++){let u=r[l];Fo(u[m],u,e,t,i,a)}}function Qm(e,t,n,r,o){if(t)o?e.addClass(n,r):e.removeClass(n,r);else{let i=r.indexOf("-")===-1?void 0:Io.DashCase;o==null?e.removeStyle(n,r,i):(typeof o=="string"&&o.endsWith("!important")&&(o=o.slice(0,-10),i|=Io.Important),e.setStyle(n,r,o,i))}}function Md(e,t,n,r,o){let i=ke(),s=r&2;try{Qe(-1),s&&t.length>L&&yd(e,t,L,!1);let a=s?_.TemplateUpdateStart:_.TemplateCreateStart;A(a,o,n),n(r,o)}finally{Qe(i);let a=s?_.TemplateUpdateEnd:_.TemplateCreateEnd;A(a,o,n)}}function jo(e,t,n){Xm(e,t,n),(n.flags&64)===64&&ey(e,t,n)}function $n(e,t,n=ae){let r=t.localNames;if(r!==null){let o=t.index+1;for(let i=0;i<r.length;i+=2){let s=r[i+1],a=s===-1?n(t,e):e[s];e[o++]=a}}}function Zm(e,t,n,r){let i=r.get(Yu,Zu)||n===Ct.ShadowDom||n===Ct.ExperimentalIsolatedShadowDom,s=e.selectRootElement(t,i);return Ym(s),s}function Ym(e){Km(e)}var Km=()=>null;function Jm(e){return e==="class"?"className":e==="for"?"htmlFor":e==="formaction"?"formAction":e==="innerHtml"?"innerHTML":e==="readonly"?"readOnly":e==="tabindex"?"tabIndex":e}function Nd(e,t,n,r,o,i){let s=t[m];if(Vo(e,s,t,n,r)){Re(e)&&xd(t,e.index);return}e.type&3&&(n=Jm(n)),Sd(e,t,n,r,o,i)}function Sd(e,t,n,r,o,i){if(e.type&3){let s=ae(e,t);r=i!=null?i(r,e.value||"",n):r,o.setProperty(s,n,r)}else e.type&12}function xd(e,t){let n=ce(t,e);n[v]&16||(n[v]|=64)}function Xm(e,t,n){let r=n.directiveStart,o=n.directiveEnd;Re(n)&&Sm(t,n,e.data[r+n.componentOffset]),e.firstCreatePass||yo(n,t);let i=n.initialInputs;for(let s=r;s<o;s++){let a=e.data[s],c=An(t,e,s,n);if(Yt(c,t),i!==null&&ry(t,s-r,c,a,n,i),be(a)){let l=ce(n.index,t);l[z]=An(t,e,s,n)}}}function ey(e,t,n){let r=n.directiveStart,o=n.directiveEnd,i=n.index,s=Nl();try{Qe(i);for(let a=r;a<o;a++){let c=e.data[a],l=t[a];Kr(a),(c.hostBindings!==null||c.hostVars!==0||c.hostAttrs!==null)&&ty(c,l)}}finally{Qe(-1),Kr(s)}}function ty(e,t){e.hostBindings!==null&&e.hostBindings(1,t)}function Sa(e,t){let n=e.directiveRegistry,r=null;if(n)for(let o=0;o<n.length;o++){let i=n[o];hd(t,i.selectors,!1)&&(r??=[],be(i)?r.unshift(i):r.push(i))}return r}function ny(e,t,n,r,o,i){let s=ae(e,t);Ad(t[R],s,i,e.value,n,r,o)}function Ad(e,t,n,r,o,i,s){if(i==null)e.removeAttribute(t,o,n);else{let a=s==null?Be(i):s(i,r||"",o);e.setAttribute(t,o,a,n)}}function ry(e,t,n,r,o,i){let s=i[t];if(s!==null)for(let a=0;a<s.length;a+=2){let c=s[a],l=s[a+1];Ks(r,n,c,l)}}function xa(e,t,n,r,o){let i=L+n,s=t[m],a=o(s,t,e,r,n);t[i]=a,Ut(e,!0);let c=e.type===2;return c?(ld(t[R],a,e),(vl()===0||Bt(e))&&Yt(a,t),El()):Yt(a,t),to()&&(!c||!Ao(e))&&Ma(s,t,a,e),e}function Aa(e){let t=e;return hs()?gs():(t=t.parent,Ut(t,!1)),t}function oy(e,t){let n=e[Ue];if(!n)return;let r;try{r=n.get(Ye,null)}catch{r=null}r?.(t)}function Vo(e,t,n,r,o){let i=e.inputs?.[r],s=e.hostDirectiveInputs?.[r],a=!1;if(s)for(let c=0;c<s.length;c+=2){let l=s[c],u=s[c+1],d=t.data[l];Ks(d,n[l],u,o),a=!0}if(i)for(let c of i){let l=n[c],u=t.data[c];Ks(u,l,r,o),a=!0}return a}function iy(e,t){let n=ce(t,e),r=n[m];sy(r,n);let o=n[fe];o!==null&&n[jt]===null&&(n[jt]=Ku(o,n[Ue])),A(_.ComponentStart);try{Ra(r,n,n[z])}finally{A(_.ComponentEnd,n[z])}}function sy(e,t){for(let n=t.length;n<e.blueprint.length;n++)t.push(e.blueprint[n])}function Ra(e,t,n){Xr(t);try{let r=e.viewQuery;r!==null&&$s(1,r,n);let o=e.template;o!==null&&Md(e,t,o,1,n),e.firstCreatePass&&(e.firstCreatePass=!1),t[De]?.finishViewCreation(e),e.staticContentQueries&&Ju(e,t),e.staticViewQueries&&$s(2,e.viewQuery,n);let i=e.components;i!==null&&ay(t,i)}catch(r){throw e.firstCreatePass&&(e.incompleteFirstPass=!0,e.firstCreatePass=!1),r}finally{t[v]&=-5,eo()}}function ay(e,t){for(let n=0;n<t.length;n++)iy(e,t[n])}function Rd(e,t,n,r){let o=E(null);try{let i=t.tView,a=e[v]&4096?4096:16,c=Ca(e,i,n,a,null,t,null,null,r?.injector??null,r?.embeddedViewInjector??null,r?.dehydratedView??null),l=e[t.index];c[qe]=l;let u=e[De];return u!==null&&(c[De]=u.createEmbeddedView(i)),Ra(i,c,n),c}finally{E(o)}}function Xs(e,t){return!t||t.firstChild===null||$u(e)}function Rn(e,t,n,r,o=!1){for(;n!==null;){if(n.type===128){n=o?n.projectionNext:n.next;continue}let i=t[n.index];i!==null&&r.push(se(i)),pe(i)&&kd(i,r);let s=n.type;if(s&8)Rn(e,t,n.child,r);else if(s&32){let a=Ta(n,t),c;for(;c=a();)r.push(c)}else if(s&16){let a=wd(t,n);if(Array.isArray(a))r.push(...a);else{let c=He(t[ee]);Rn(c[m],c,a,r,!0)}}n=o?n.projectionNext:n.next}return r}function kd(e,t){for(let n=J;n<e.length;n++){let r=e[n],o=r[m].firstChild;o!==null&&Rn(r[m],r,o,t)}e[Ge]!==e[fe]&&t.push(e[Ge])}function Od(e){if(e[gt]!==null){for(let t of e[gt])t.impl.addSequence(t);e[gt].length=0}}var Pd=[];function cy(e){return e[re]??ly(e)}function ly(e){let t=Pd.pop()??Object.create(dy);return t.lView=e,t}function uy(e){e.lView[re]!==e&&(e.lView=null,Pd.push(e))}var dy=W(q({},_t),{consumerIsAlwaysLive:!0,kind:"template",consumerMarkedDirty:e=>{vt(e.lView)},consumerOnSignalRead(){this.lView[re]=this}});function fy(e){let t=e[re]??Object.create(py);return t.lView=e,t}var py=W(q({},_t),{consumerIsAlwaysLive:!0,kind:"template",consumerMarkedDirty:e=>{let t=He(e.lView);for(;t&&!Ld(t[m]);)t=He(t);t&&is(t)},consumerOnSignalRead(){this.lView[re]=this}});function Ld(e){return e.type!==2}function Fd(e){if(e[Ve]===null)return;let t=!0;for(;t;){let n=!1;for(let r of e[Ve])r.dirty&&(n=!0,r.zone===null||Zone.current===r.zone?r.run():r.zone.run(()=>r.run()));t=n&&!!(e[v]&8192)}}var hy=100;function jd(e,t=0){let r=e[Ie].rendererFactory,o=!1;o||r.begin?.();try{gy(e,t)}finally{o||r.end?.()}}function gy(e,t){let n=ms();try{mn(!0),ea(e,t);let r=0;for(;wn(e);){if(r===hy)throw new b(103,!1);r++,ea(e,1)}}finally{mn(n)}}function my(e,t,n,r){if(yt(t))return;let o=t[v],i=!1,s=!1;Xr(t);let a=!0,c=null,l=null;i||(Ld(e)?(l=cy(t),c=Mt(l)):Xn()===null?(a=!1,l=fy(t),c=Mt(l)):t[re]&&(Je(t[re]),t[re]=null));try{os(t),wl(e.bindingStartIndex),n!==null&&Md(e,t,n,2,r);let u=(o&3)===3;if(!i)if(u){let f=e.preOrderCheckHooks;f!==null&&co(t,f,null)}else{let f=e.preOrderHooks;f!==null&&lo(t,f,0,null),_s(t,0)}if(s||yy(t),Fd(t),Vd(t,0),e.contentQueries!==null&&Ju(e,t),!i)if(u){let f=e.contentCheckHooks;f!==null&&co(t,f)}else{let f=e.contentHooks;f!==null&&lo(t,f,1),_s(t,1)}Ey(e,t);let d=e.components;d!==null&&Bd(t,d,0);let p=e.viewQuery;if(p!==null&&$s(2,p,r),!i)if(u){let f=e.viewCheckHooks;f!==null&&co(t,f)}else{let f=e.viewHooks;f!==null&&lo(t,f,2),_s(t,2)}if(e.firstUpdatePass===!0&&(e.firstUpdatePass=!1),t[Wr]){for(let f of t[Wr])f();t[Wr]=null}i||(Od(t),t[v]&=-73)}catch(u){throw i||vt(t),u}finally{l!==null&&(sn(l,c),a&&uy(l)),eo()}}function Vd(e,t){for(let n=qu(e);n!==null;n=Wu(n))for(let r=J;r<n.length;r++){let o=n[r];Hd(o,t)}}function yy(e){for(let t=qu(e);t!==null;t=Wu(t)){if(!(t[v]&2))continue;let n=t[mt];for(let r=0;r<n.length;r++){let o=n[r];is(o)}}}function vy(e,t,n){A(_.ComponentStart);let r=ce(t,e);try{Hd(r,n)}finally{A(_.ComponentEnd,r[z])}}function Hd(e,t){zr(e)&&ea(e,t)}function ea(e,t){let r=e[m],o=e[v],i=e[re],s=!!(t===0&&o&16);if(s||=!!(o&64&&t===0),s||=!!(o&1024),s||=!!(i?.dirty&&an(i)),s||=!1,i&&(i.dirty=!1),e[v]&=-9217,s)my(r,e,r.template,e[z]);else if(o&8192){let a=E(null);try{Fd(e),Vd(e,1);let c=r.components;c!==null&&Bd(e,c,1),Od(e)}finally{E(a)}}}function Bd(e,t,n){for(let r=0;r<t.length;r++)vy(e,t[r],n)}function Ey(e,t){let n=e.hostBindingOpCodes;if(n!==null)try{for(let r=0;r<n.length;r++){let o=n[r];if(o<0)Qe(~o);else{let i=o,s=n[++r],a=n[++r];Ml(s,i);let c=t[i];A(_.HostBindingsUpdateStart,c);try{a(2,c)}finally{A(_.HostBindingsUpdateEnd,c)}}}}finally{Qe(-1)}}function ka(e,t){let n=ms()?64:1088;for(e[Ie].changeDetectionScheduler?.notify(t);e;){e[v]|=n;let r=He(e);if($t(e)&&!r)return e;e=r}return null}function $d(e,t,n,r){return[e,!0,0,t,null,r,null,n,null,null]}function Ud(e,t,n,r=!0){let o=t[m];if(Iy(o,t,e,n),r){let s=Js(n,e),a=t[R],c=a.parentNode(e[Ge]);c!==null&&jm(o,e[K],a,t,c,s)}let i=t[jt];i!==null&&i.firstChild!==null&&(i.firstChild=null)}function ta(e,t){if(e.length<=J)return;let n=J+t,r=e[n];if(r){let o=r[qe];o!==null&&o!==e&&_a(o,r),t>0&&(e[n-1][ie]=r[ie]);let i=In(e,J+t);Fm(r[m],r);let s=i[De];s!==null&&s.detachView(i[m]),r[H]=null,r[ie]=null,r[v]&=-129}return r}function Iy(e,t,n,r){let o=J+r,i=n.length;r>0&&(n[o-1][ie]=t),r<i-J?(t[ie]=n[o],qi(n,J+r,t)):(n.push(t),t[ie]=null),t[H]=n;let s=t[qe];s!==null&&n!==s&&qd(s,t);let a=t[De];a!==null&&a.insertView(e),Qr(t),t[v]|=128}function qd(e,t){let n=e[mt],r=t[H];if(Ce(r))e[v]|=2;else{let o=r[H][ee];t[ee]!==o&&(e[v]|=2)}n===null?e[mt]=[t]:n.push(t)}var Ke=class{_lView;_cdRefInjectingView;_appRef=null;_attachedToViewContainer=!1;exhaustive;get rootNodes(){let t=this._lView,n=t[m];return Rn(n,t,n.firstChild,[])}constructor(t,n){this._lView=t,this._cdRefInjectingView=n}get context(){return this._lView[z]}set context(t){this._lView[z]=t}get destroyed(){return yt(this._lView)}destroy(){if(this._appRef)this._appRef.detachView(this);else if(this._attachedToViewContainer){let t=this._lView[H];if(pe(t)){let n=t[Tn],r=n?n.indexOf(this):-1;r>-1&&(ta(t,r),In(n,r))}this._attachedToViewContainer=!1}Cd(this._lView[m],this._lView)}onDestroy(t){ss(this._lView,t)}markForCheck(){ka(this._cdRefInjectingView||this._lView,4)}detach(){this._lView[v]&=-129}reattach(){Qr(this._lView),this._lView[v]|=128}detectChanges(){this._lView[v]|=1024,jd(this._lView)}checkNoChanges(){}attachToViewContainerRef(){if(this._appRef)throw new b(902,!1);this._attachedToViewContainer=!0}detachFromAppRef(){this._appRef=null;let t=$t(this._lView),n=this._lView[qe];n!==null&&!t&&_a(n,this._lView),Dd(this._lView[m],this._lView)}attachToAppRef(t){if(this._attachedToViewContainer)throw new b(902,!1);this._appRef=t;let n=$t(this._lView),r=this._lView[qe];r!==null&&!n&&qd(r,this._lView),Qr(this._lView)}};var kn=(()=>{class e{_declarationLView;_declarationTContainer;elementRef;static __NG_ELEMENT_ID__=Dy;constructor(n,r,o){this._declarationLView=n,this._declarationTContainer=r,this.elementRef=o}get ssrId(){return this._declarationTContainer.tView?.ssrId||null}createEmbeddedView(n,r){return this.createEmbeddedViewImpl(n,r)}createEmbeddedViewImpl(n,r,o){let i=Rd(this._declarationLView,this._declarationTContainer,n,{embeddedViewInjector:r,dehydratedView:o});return new Ke(i)}}return e})();function Dy(){return Ho(B(),g())}function Ho(e,t){return e.type&4?new kn(t,e,nn(e,t)):null}function rn(e,t,n,r,o){let i=e.data[t];if(i===null)i=Cy(e,t,n,r,o),_l()&&(i.flags|=32);else if(i.type&64){i.type=n,i.value=r,i.attrs=o;let s=Cl();i.injectorIndex=s===null?-1:s.injectorIndex}return Ut(i,!0),i}function Cy(e,t,n,r,o){let i=ps(),s=hs(),a=s?i:i&&i.parent,c=e.data[t]=Ty(e,a,n,t,r,o);return by(e,c,i,s),c}function by(e,t,n,r){e.firstChild===null&&(e.firstChild=t),n!==null&&(r?n.child==null&&t.parent!==null&&(n.child=t):n.next===null&&(n.next=t,t.prev=n))}function Ty(e,t,n,r,o,i){let s=t?t.injectorIndex:-1,a=0;return us()&&(a|=128),{type:n,index:r,insertBeforeIndex:null,injectorIndex:s,directiveStart:-1,directiveEnd:-1,directiveStylingLast:-1,componentOffset:-1,fieldIndex:-1,customControlIndex:-1,propertyBindings:null,flags:a,providerIndexes:0,value:o,attrs:i,mergedAttrs:null,localNames:null,initialInputs:null,inputs:null,hostDirectiveInputs:null,outputs:null,hostDirectiveOutputs:null,directiveToIndex:null,tView:null,next:null,prev:null,projectionNext:null,child:null,parent:t,projection:null,styles:null,stylesWithoutHost:null,residualStyles:void 0,classes:null,classesWithoutHost:null,residualClasses:void 0,classBindings:0,styleBindings:0}}var wy=()=>null;function na(e,t){return wy(e,t)}var Wd=class{},Bo=class{},ra=class{resolveComponentFactory(t){throw new b(917,!1)}},Un=class{static NULL=new ra},On=class{},_y=(()=>{class e{destroyNode=null;static __NG_ELEMENT_ID__=()=>My()}return e})();function My(){let e=g(),t=B(),n=ce(t.index,e);return(Ce(n)?n:e)[R]}var Gd=(()=>{class e{static \u0275prov=F({token:e,providedIn:"root",factory:()=>null})}return e})();var fo={},oa=class{injector;parentInjector;constructor(t,n){this.injector=t,this.parentInjector=n}get(t,n,r){let o=this.injector.get(t,fo,r);return o!==fo||n===fo?o:this.parentInjector.get(t,n,r)}};function bo(e,t,n){let r=n?e.styles:null,o=n?e.classes:null,i=0;if(t!==null)for(let s=0;s<t.length;s++){let a=t[s];if(typeof a=="number")i=a;else if(i==1)o=Lr(o,a);else if(i==2){let c=a,l=t[++s];r=Lr(r,c+": "+l+";")}}n?e.styles=r:e.stylesWithoutHost=r,n?e.classes=o:e.classesWithoutHost=o}function qn(e,t=0){let n=g();if(n===null)return ye(e,t);let r=B();return ju(r,n,$(e),t)}function Ny(){let e="invalid";throw new Error(e)}function zd(e,t,n,r,o){let i=r===null?null:{"":-1},s=o(e,n);if(s!==null){let a=s,c=null,l=null;for(let u of s)if(u.resolveHostDirectives!==null){[a,c,l]=u.resolveHostDirectives(s);break}Ay(e,t,n,a,i,c,l)}i!==null&&r!==null&&Sy(n,r,i)}function Sy(e,t,n){let r=e.localNames=[];for(let o=0;o<t.length;o+=2){let i=n[t[o+1]];if(i==null)throw new b(-301,!1);r.push(t[o],i)}}function xy(e,t,n){t.componentOffset=n,(e.components??=[]).push(t.index)}function Ay(e,t,n,r,o,i,s){let a=r.length,c=null;for(let p=0;p<a;p++){let f=r[p];c===null&&be(f)&&(c=f,xy(e,n,p)),js(yo(n,t),e,f.type)}Fy(n,e.data.length,a),c?.viewProvidersResolver&&c.viewProvidersResolver(c);for(let p=0;p<a;p++){let f=r[p];f.providersResolver&&f.providersResolver(f)}let l=!1,u=!1,d=md(e,t,a,null);a>0&&(n.directiveToIndex=new Map);for(let p=0;p<a;p++){let f=r[p];if(n.mergedAttrs=Zt(n.mergedAttrs,f.hostAttrs),ky(e,n,t,d,f),Ly(d,f,o),s!==null&&s.has(f)){let[C,k]=s.get(f);n.directiveToIndex.set(f.type,[d,C+n.directiveStart,k+n.directiveStart])}else(i===null||!i.has(f))&&n.directiveToIndex.set(f.type,d);f.contentQueries!==null&&(n.flags|=4),(f.hostBindings!==null||f.hostAttrs!==null||f.hostVars!==0)&&(n.flags|=64);let h=f.type.prototype;!l&&(h.ngOnChanges||h.ngOnInit||h.ngDoCheck)&&((e.preOrderHooks??=[]).push(n.index),l=!0),!u&&(h.ngOnChanges||h.ngDoCheck)&&((e.preOrderCheckHooks??=[]).push(n.index),u=!0),d++}Ry(e,n,i)}function Ry(e,t,n){for(let r=t.directiveStart;r<t.directiveEnd;r++){let o=e.data[r];if(n===null||!n.has(o))du(0,t,o,r),du(1,t,o,r),pu(t,r,!1);else{let i=n.get(o);fu(0,t,i,r),fu(1,t,i,r),pu(t,r,!0)}}}function du(e,t,n,r){let o=e===0?n.inputs:n.outputs;for(let i in o)if(o.hasOwnProperty(i)){let s;e===0?s=t.inputs??={}:s=t.outputs??={},s[i]??=[],s[i].push(r),Qd(t,i)}}function fu(e,t,n,r){let o=e===0?n.inputs:n.outputs;for(let i in o)if(o.hasOwnProperty(i)){let s=o[i],a;e===0?a=t.hostDirectiveInputs??={}:a=t.hostDirectiveOutputs??={},a[s]??=[],a[s].push(r,i),Qd(t,s)}}function Qd(e,t){t==="class"?e.flags|=8:t==="style"&&(e.flags|=16)}function pu(e,t,n){let{attrs:r,inputs:o,hostDirectiveInputs:i}=e;if(r===null||!n&&o===null||n&&i===null||Ia(e)){e.initialInputs??=[],e.initialInputs.push(null);return}let s=null,a=0;for(;a<r.length;){let c=r[a];if(c===0){a+=4;continue}else if(c===5){a+=2;continue}else if(typeof c=="number")break;if(!n&&o.hasOwnProperty(c)){let l=o[c];for(let u of l)if(u===t){s??=[],s.push(c,r[a+1]);break}}else if(n&&i.hasOwnProperty(c)){let l=i[c];for(let u=0;u<l.length;u+=2)if(l[u]===t){s??=[],s.push(l[u+1],r[a+1]);break}}a+=2}e.initialInputs??=[],e.initialInputs.push(s)}function ky(e,t,n,r,o){e.data[r]=o;let i=o.factory||(o.factory=je(o.type,!0)),s=new Dt(i,be(o),qn,null);e.blueprint[r]=s,n[r]=s,Oy(e,t,r,md(e,n,o.hostVars,ne),o)}function Oy(e,t,n,r,o){let i=o.hostBindings;if(i){let s=e.hostBindingOpCodes;s===null&&(s=e.hostBindingOpCodes=[]);let a=~t.index;Py(s)!=a&&s.push(a),s.push(n,r,i)}}function Py(e){let t=e.length;for(;t>0;){let n=e[--t];if(typeof n=="number"&&n<0)return n}return 0}function Ly(e,t,n){if(n){if(t.exportAs)for(let r=0;r<t.exportAs.length;r++)n[t.exportAs[r]]=e;be(t)&&(n[""]=e)}}function Fy(e,t,n){e.flags|=1,e.directiveStart=t,e.directiveEnd=t+n,e.providerIndexes=t}function Oa(e,t,n,r,o,i,s,a){let c=t[m],l=c.consts,u=ze(l,s),d=rn(c,e,n,r,u);return i&&zd(c,t,d,ze(l,a),o),d.mergedAttrs=Zt(d.mergedAttrs,d.attrs),d.attrs!==null&&bo(d,d.attrs,!1),d.mergedAttrs!==null&&bo(d,d.mergedAttrs,!0),c.queries!==null&&c.queries.elementStart(c,d),d}function Pa(e,t){Su(e,t),Xi(t)&&e.queries.elementEnd(t)}function jy(e,t,n,r,o,i){let s=t.consts,a=ze(s,o),c=rn(t,e,n,r,a);if(c.mergedAttrs=Zt(c.mergedAttrs,c.attrs),i!=null){let l=ze(s,i);c.localNames=[];for(let u=0;u<l.length;u+=2)c.localNames.push(l[u],-1)}return c.attrs!==null&&bo(c,c.attrs,!1),c.mergedAttrs!==null&&bo(c,c.mergedAttrs,!0),t.queries!==null&&t.queries.elementStart(t,c),c}function La(e){return $o(e)?Array.isArray(e)||!(e instanceof Map)&&Symbol.iterator in e:!1}function Zd(e,t){if(Array.isArray(e))for(let n=0;n<e.length;n++)t(e[n]);else{let n=e[Symbol.iterator](),r;for(;!(r=n.next()).done;)t(r.value)}}function $o(e){return e!==null&&(typeof e=="function"||typeof e=="object")}function we(e,t,n){return e[t]=n}function Wn(e,t){return e[t]}function te(e,t,n){if(n===ne)return!1;let r=e[t];return Object.is(r,n)?!1:(e[t]=n,!0)}function Kt(e,t,n,r){let o=te(e,t,n);return te(e,t+1,r)||o}function Yd(e,t,n,r,o){let i=Kt(e,t,n,r);return te(e,t+2,o)||i}function Jt(e,t,n,r,o,i){let s=Kt(e,t,n,r);return Kt(e,t+2,o,i)||s}function Ss(e,t,n){return function r(o){let i=Re(e)?ce(e.index,t):t;ka(i,5);let s=t[z],a=hu(t,s,n,o),c=r.__ngNextListenerFn__;for(;c;)a=hu(t,s,c,o)&&a,c=c.__ngNextListenerFn__;return a}}function hu(e,t,n,r){let o=E(null);try{return A(_.OutputStart,t,n),n(r)!==!1}catch(i){return oy(e,i),!1}finally{A(_.OutputEnd,t,n),E(o)}}function Vy(e,t,n,r,o,i,s,a){let c=Bt(e),l=!1,u=null;if(!r&&c&&(u=By(t,n,i,e.index)),u!==null){let d=u.__ngLastListenerFn__||u;d.__ngNextListenerFn__=s,u.__ngLastListenerFn__=s,l=!0}else{let d=ae(e,n),p=r?r(d):d;Sg(n,p,i,a);let f=o.listen(p,i,a);if(!Hy(i)){let h=r?C=>r(se(C[e.index])):e.index;Kd(h,t,n,i,a,f,!1)}}return l}function Hy(e){return e.startsWith("animation")||e.startsWith("transition")}function By(e,t,n,r){let o=e.cleanup;if(o!=null)for(let i=0;i<o.length-1;i+=2){let s=o[i];if(s===n&&o[i+1]===r){let a=t[Vt],c=o[i+2];return a&&a.length>c?a[c]:null}typeof s=="string"&&(i+=2)}return null}function Kd(e,t,n,r,o,i,s){let a=t.firstCreatePass?cs(t):null,c=as(n),l=c.length;c.push(o,i),a&&a.push(r,e,l,(l+1)*(s?-1:1))}function gu(e,t,n,r,o,i){let s=t[n],a=t[m],l=a.data[n].outputs[r],d=s[l].subscribe(i);Kd(e.index,a,t,o,i,d,!0)}var ia=Symbol("BINDING");var To=class extends Un{ngModule;constructor(t){super(),this.ngModule=t}resolveComponentFactory(t){let n=Ae(t);return new bt(n,this.ngModule)}};function $y(e){return Object.keys(e).map(t=>{let[n,r,o]=e[t],i={propName:n,templateName:t,isSignal:(r&Oo.SignalBased)!==0};return o&&(i.transform=o),i})}function Uy(e){return Object.keys(e).map(t=>({propName:e[t],templateName:t}))}function qy(e,t,n){let r=t instanceof oe?t:t?.injector;return r&&e.getStandaloneInjector!==null&&(r=e.getStandaloneInjector(r)||r),r?new oa(n,r):n}function Wy(e){let t=e.get(On,null);if(t===null)throw new b(407,!1);let n=e.get(Gd,null),r=e.get(ve,null);return{rendererFactory:t,sanitizer:n,changeDetectionScheduler:r,ngReflect:!1}}function Gy(e,t){let n=Jd(e);return ad(t,n,n==="svg"?es:n==="math"?fl:null)}function Jd(e){return(e.selectors[0][0]||"div").toLowerCase()}var bt=class extends Bo{componentDef;ngModule;selector;componentType;ngContentSelectors;isBoundToModule;cachedInputs=null;cachedOutputs=null;get inputs(){return this.cachedInputs??=$y(this.componentDef.inputs),this.cachedInputs}get outputs(){return this.cachedOutputs??=Uy(this.componentDef.outputs),this.cachedOutputs}constructor(t,n){super(),this.componentDef=t,this.ngModule=n,this.componentType=t.type,this.selector=wm(t.selectors),this.ngContentSelectors=t.ngContentSelectors??[],this.isBoundToModule=!!n}create(t,n,r,o,i,s){A(_.DynamicComponentStart);let a=E(null);try{let c=this.componentDef,l=zy(r,c,s,i),u=qy(c,o||this.ngModule,t),d=Wy(u),p=d.rendererFactory.createRenderer(null,c),f=r?Zm(p,r,c.encapsulation,u):Gy(c,p),h=s?.some(mu)||i?.some(N=>typeof N!="function"&&N.bindings.some(mu)),C=Ca(null,l,null,512|gd(c),null,null,d,p,u,null,Ku(f,u,!0));C[L]=f,Xr(C);let k=null;try{let N=Oa(L,C,2,"#host",()=>l.directiveRegistry,!0,0);ld(p,f,N),Yt(f,C),jo(l,C,N),ya(l,N,C),Pa(l,N),n!==void 0&&Zy(N,this.ngContentSelectors,n),k=ce(N.index,C),C[z]=k[z],Ra(l,C,null)}catch(N){throw k!==null&&Hs(k),Hs(C),N}finally{A(_.DynamicComponentEnd),eo()}return new wo(this.componentType,C,!!h)}finally{E(a)}}};function zy(e,t,n,r){let o=e?["ng-version","21.1.0"]:_m(t.selectors[0]),i=null,s=null,a=0;if(n)for(let u of n)a+=u[ia].requiredVars,u.create&&(u.targetIdx=0,(i??=[]).push(u)),u.update&&(u.targetIdx=0,(s??=[]).push(u));if(r)for(let u=0;u<r.length;u++){let d=r[u];if(typeof d!="function")for(let p of d.bindings){a+=p[ia].requiredVars;let f=u+1;p.create&&(p.targetIdx=f,(i??=[]).push(p)),p.update&&(p.targetIdx=f,(s??=[]).push(p))}}let c=[t];if(r)for(let u of r){let d=typeof u=="function"?u:u.type,p=Bi(d);c.push(p)}return Da(0,null,Qy(i,s),1,a,c,null,null,null,[o],null)}function Qy(e,t){return!e&&!t?null:n=>{if(n&1&&e)for(let r of e)r.create();if(n&2&&t)for(let r of t)r.update()}}function mu(e){let t=e[ia].kind;return t==="input"||t==="twoWay"}var wo=class extends Wd{_rootLView;_hasInputBindings;instance;hostView;changeDetectorRef;componentType;location;previousInputValues=null;_tNode;constructor(t,n,r){super(),this._rootLView=n,this._hasInputBindings=r,this._tNode=Gr(n[m],L),this.location=nn(this._tNode,n),this.instance=ce(this._tNode.index,n)[z],this.hostView=this.changeDetectorRef=new Ke(n,void 0),this.componentType=t}setInput(t,n){this._hasInputBindings;let r=this._tNode;if(this.previousInputValues??=new Map,this.previousInputValues.has(t)&&Object.is(this.previousInputValues.get(t),n))return;let o=this._rootLView,i=Vo(r,o[m],o,t,n);this.previousInputValues.set(t,n);let s=ce(r.index,o);ka(s,1)}get injector(){return new It(this._tNode,this._rootLView)}destroy(){this.hostView.destroy()}onDestroy(t){this.hostView.onDestroy(t)}};function Zy(e,t,n){let r=e.projection=[];for(let o=0;o<t.length;o++){let i=n[o];r.push(i!=null&&i.length?Array.from(i):null)}}var Uo=(()=>{class e{static __NG_ELEMENT_ID__=Yy}return e})();function Yy(){let e=B();return ef(e,g())}var Ky=Uo,Xd=class extends Ky{_lContainer;_hostTNode;_hostLView;constructor(t,n,r){super(),this._lContainer=t,this._hostTNode=n,this._hostLView=r}get element(){return nn(this._hostTNode,this._hostLView)}get injector(){return new It(this._hostTNode,this._hostLView)}get parentInjector(){let t=ga(this._hostTNode,this._hostLView);if(Ru(t)){let n=go(t,this._hostLView),r=ho(t),o=n[m].data[r+8];return new It(o,n)}else return new It(null,this._hostLView)}clear(){for(;this.length>0;)this.remove(this.length-1)}get(t){let n=yu(this._lContainer);return n!==null&&n[t]||null}get length(){return this._lContainer.length-J}createEmbeddedView(t,n,r){let o,i;typeof r=="number"?o=r:r!=null&&(o=r.index,i=r.injector);let s=na(this._lContainer,t.ssrId),a=t.createEmbeddedViewImpl(n||{},i,s);return this.insertImpl(a,o,Xs(this._hostTNode,s)),a}createComponent(t,n,r,o,i,s,a){let c=t&&!Qh(t),l;if(c)l=n;else{let k=n||{};l=k.index,r=k.injector,o=k.projectableNodes,i=k.environmentInjector||k.ngModuleRef,s=k.directives,a=k.bindings}let u=c?t:new bt(Ae(t)),d=r||this.parentInjector;if(!i&&u.ngModule==null){let N=(c?d:this.parentInjector).get(oe,null);N&&(i=N)}let p=Ae(u.componentType??{}),f=na(this._lContainer,p?.id??null),h=f?.firstChild??null,C=u.create(d,o,h,i,s,a);return this.insertImpl(C.hostView,l,Xs(this._hostTNode,f)),C}insert(t,n){return this.insertImpl(t,n,!0)}insertImpl(t,n,r){let o=t._lView;if(hl(o)){let a=this.indexOf(t);if(a!==-1)this.detach(a);else{let c=o[H],l=new Xd(c,c[K],c[H]);l.detach(l.indexOf(t))}}let i=this._adjustIndex(n),s=this._lContainer;return Ud(s,o,i,r),t.attachToViewContainerRef(),qi(xs(s),i,t),t}move(t,n){return this.insert(t,n)}indexOf(t){let n=yu(this._lContainer);return n!==null?n.indexOf(t):-1}remove(t){let n=this._adjustIndex(t,-1),r=ta(this._lContainer,n);r&&(In(xs(this._lContainer),n),Cd(r[m],r))}detach(t){let n=this._adjustIndex(t,-1),r=ta(this._lContainer,n);return r&&In(xs(this._lContainer),n)!=null?new Ke(r):null}_adjustIndex(t,n=0){return t??this.length+n}};function yu(e){return e[Tn]}function xs(e){return e[Tn]||(e[Tn]=[])}function ef(e,t){let n,r=t[e.index];return pe(r)?n=r:(n=$d(r,t,null,e),t[e.index]=n,ba(t,n)),Xy(n,t,e,r),new Xd(n,e,t)}function Jy(e,t){let n=e[R],r=n.createComment(""),o=ae(t,e),i=n.parentNode(o);return Eo(n,i,r,n.nextSibling(o),!1),r}var Xy=nv,ev=()=>!1;function tv(e,t,n){return ev(e,t,n)}function nv(e,t,n,r){if(e[Ge])return;let o;n.type&8?o=se(r):o=Jy(t,n),e[Ge]=o}var sa=class e{queryList;matches=null;constructor(t){this.queryList=t}clone(){return new e(this.queryList)}setDirty(){this.queryList.setDirty()}},aa=class e{queries;constructor(t=[]){this.queries=t}createEmbeddedView(t){let n=t.queries;if(n!==null){let r=t.contentQueries!==null?t.contentQueries[0]:n.length,o=[];for(let i=0;i<r;i++){let s=n.getByIndex(i),a=this.queries[s.indexInDeclarationView];o.push(a.clone())}return new e(o)}return null}insertView(t){this.dirtyQueriesWithMatches(t)}detachView(t){this.dirtyQueriesWithMatches(t)}finishViewCreation(t){this.dirtyQueriesWithMatches(t)}dirtyQueriesWithMatches(t){for(let n=0;n<this.queries.length;n++)Fa(t,n).matches!==null&&this.queries[n].setDirty()}},_o=class{flags;read;predicate;constructor(t,n,r=null){this.flags=n,this.read=r,typeof t=="string"?this.predicate=uv(t):this.predicate=t}},ca=class e{queries;constructor(t=[]){this.queries=t}elementStart(t,n){for(let r=0;r<this.queries.length;r++)this.queries[r].elementStart(t,n)}elementEnd(t){for(let n=0;n<this.queries.length;n++)this.queries[n].elementEnd(t)}embeddedTView(t){let n=null;for(let r=0;r<this.length;r++){let o=n!==null?n.length:0,i=this.getByIndex(r).embeddedTView(t,o);i&&(i.indexInDeclarationView=r,n!==null?n.push(i):n=[i])}return n!==null?new e(n):null}template(t,n){for(let r=0;r<this.queries.length;r++)this.queries[r].template(t,n)}getByIndex(t){return this.queries[t]}get length(){return this.queries.length}track(t){this.queries.push(t)}},la=class e{metadata;matches=null;indexInDeclarationView=-1;crossesNgTemplate=!1;_declarationNodeIndex;_appliesToNextNode=!0;constructor(t,n=-1){this.metadata=t,this._declarationNodeIndex=n}elementStart(t,n){this.isApplyingToNode(n)&&this.matchTNode(t,n)}elementEnd(t){this._declarationNodeIndex===t.index&&(this._appliesToNextNode=!1)}template(t,n){this.elementStart(t,n)}embeddedTView(t,n){return this.isApplyingToNode(t)?(this.crossesNgTemplate=!0,this.addMatch(-t.index,n),new e(this.metadata)):null}isApplyingToNode(t){if(this._appliesToNextNode&&(this.metadata.flags&1)!==1){let n=this._declarationNodeIndex,r=t.parent;for(;r!==null&&r.type&8&&r.index!==n;)r=r.parent;return n===(r!==null?r.index:-1)}return this._appliesToNextNode}matchTNode(t,n){let r=this.metadata.predicate;if(Array.isArray(r))for(let o=0;o<r.length;o++){let i=r[o];this.matchTNodeWithReadOption(t,n,rv(n,i)),this.matchTNodeWithReadOption(t,n,uo(n,t,i,!1,!1))}else r===kn?n.type&4&&this.matchTNodeWithReadOption(t,n,-1):this.matchTNodeWithReadOption(t,n,uo(n,t,r,!1,!1))}matchTNodeWithReadOption(t,n,r){if(r!==null){let o=this.metadata.read;if(o!==null)if(o===jn||o===Uo||o===kn&&n.type&4)this.addMatch(n.index,-2);else{let i=uo(n,t,o,!1,!1);i!==null&&this.addMatch(n.index,i)}else this.addMatch(n.index,r)}}addMatch(t,n){this.matches===null?this.matches=[t,n]:this.matches.push(t,n)}};function rv(e,t){let n=e.localNames;if(n!==null){for(let r=0;r<n.length;r+=2)if(n[r]===t)return n[r+1]}return null}function ov(e,t){return e.type&11?nn(e,t):e.type&4?Ho(e,t):null}function iv(e,t,n,r){return n===-1?ov(t,e):n===-2?sv(e,t,r):An(e,e[m],n,t)}function sv(e,t,n){if(n===jn)return nn(t,e);if(n===kn)return Ho(t,e);if(n===Uo)return ef(t,e)}function tf(e,t,n,r){let o=t[De].queries[r];if(o.matches===null){let i=e.data,s=n.matches,a=[];for(let c=0;s!==null&&c<s.length;c+=2){let l=s[c];if(l<0)a.push(null);else{let u=i[l];a.push(iv(t,u,s[c+1],n.metadata.read))}}o.matches=a}return o.matches}function ua(e,t,n,r){let o=e.queries.getByIndex(n),i=o.matches;if(i!==null){let s=tf(e,t,o,n);for(let a=0;a<i.length;a+=2){let c=i[a];if(c>0)r.push(s[a/2]);else{let l=i[a+1],u=t[-c];for(let d=J;d<u.length;d++){let p=u[d];p[qe]===p[H]&&ua(p[m],p,l,r)}if(u[mt]!==null){let d=u[mt];for(let p=0;p<d.length;p++){let f=d[p];ua(f[m],f,l,r)}}}}}return r}function av(e,t){return e[De].queries[t].queryList}function nf(e,t,n){let r=new vo((n&4)===4);return yl(e,t,r,r.destroy),(t[De]??=new aa).queries.push(new sa(r))-1}function cv(e,t,n){let r=P();return r.firstCreatePass&&(rf(r,new _o(e,t,n),-1),(t&2)===2&&(r.staticViewQueries=!0)),nf(r,g(),t)}function lv(e,t,n,r){let o=P();if(o.firstCreatePass){let i=B();rf(o,new _o(t,n,r),i.index),dv(o,e),(n&2)===2&&(o.staticContentQueries=!0)}return nf(o,g(),n)}function uv(e){return e.split(",").map(t=>t.trim())}function rf(e,t,n){e.queries===null&&(e.queries=new ca),e.queries.track(new la(t,n))}function dv(e,t){let n=e.contentQueries||(e.contentQueries=[]),r=n.length?n[n.length-1]:-1;t!==r&&n.push(e.queries.length-1,t)}function Fa(e,t){return e.queries.getByIndex(t)}function fv(e,t){let n=e[m],r=Fa(n,t);return r.crossesNgTemplate?ua(n,e,t,[]):tf(n,e,r,t)}var Xt=class{},of=class{};var Mo=class extends Xt{ngModuleType;_parent;_bootstrapComponents=[];_r3Injector;instance;destroyCbs=[];componentFactoryResolver=new To(this);constructor(t,n,r,o=!0){super(),this.ngModuleType=t,this._parent=n;let i=Hi(t);this._bootstrapComponents=fd(i.bootstrap),this._r3Injector=Is(t,n,[{provide:Xt,useValue:this},{provide:Un,useValue:this.componentFactoryResolver},...r],Se(t),new Set(["environment"])),o&&this.resolveInjectorInitializers()}resolveInjectorInitializers(){this._r3Injector.resolveInjectorInitializers(),this.instance=this._r3Injector.get(this.ngModuleType)}get injector(){return this._r3Injector}destroy(){let t=this._r3Injector;!t.destroyed&&t.destroy(),this.destroyCbs.forEach(n=>n()),this.destroyCbs=null}onDestroy(t){this.destroyCbs.push(t)}},No=class extends of{moduleType;constructor(t){super(),this.moduleType=t}create(t){return new Mo(this.moduleType,t,[])}};var Pn=class extends Xt{injector;componentFactoryResolver=new To(this);instance=null;constructor(t){super();let n=new lt([...t.providers,{provide:Xt,useValue:this},{provide:Un,useValue:this.componentFactoryResolver}],t.parent||Cn(),t.debugName,new Set(["environment"]));this.injector=n,t.runEnvironmentInitializers&&n.resolveInjectorInitializers()}destroy(){this.injector.destroy()}onDestroy(t){this.injector.onDestroy(t)}};function sf(e,t,n=null){return new Pn({providers:e,parent:t,debugName:n,runEnvironmentInitializers:!0}).injector}var pv=(()=>{class e{_injector;cachedInjectors=new Map;constructor(n){this._injector=n}getOrCreateStandaloneInjector(n){if(!n.standalone)return null;if(!this.cachedInjectors.has(n)){let r=zi(!1,n.type),o=r.length>0?sf([r],this._injector,""):null;this.cachedInjectors.set(n,o)}return this.cachedInjectors.get(n)}ngOnDestroy(){try{for(let n of this.cachedInjectors.values())n!==null&&n.destroy()}finally{this.cachedInjectors.clear()}}static \u0275prov=F({token:e,providedIn:"environment",factory:()=>new e(ye(oe))})}return e})();function hv(e){return Fn(()=>{let t=af(e),n=W(q({},t),{decls:e.decls,vars:e.vars,template:e.template,consts:e.consts||null,ngContentSelectors:e.ngContentSelectors,onPush:e.changeDetection===ma.OnPush,directiveDefs:null,pipeDefs:null,dependencies:t.standalone&&e.dependencies||null,getStandaloneInjector:t.standalone?o=>o.get(pv).getOrCreateStandaloneInjector(n):null,getExternalStyles:null,signals:e.signals??!1,data:e.data||{},encapsulation:e.encapsulation||Ct.Emulated,styles:e.styles||Y,_:null,schemas:e.schemas||null,tView:null,id:""});t.standalone&&Lo("NgStandalone"),cf(n);let r=e.dependencies;return n.directiveDefs=vu(r,gv),n.pipeDefs=vu(r,Kc),n.id=Dv(n),n})}function gv(e){return Ae(e)||Bi(e)}function mv(e){return Fn(()=>({type:e.type,bootstrap:e.bootstrap||Y,declarations:e.declarations||Y,imports:e.imports||Y,exports:e.exports||Y,transitiveCompileScopes:null,schemas:e.schemas||null,id:e.id||null}))}function yv(e,t){if(e==null)return $e;let n={};for(let r in e)if(e.hasOwnProperty(r)){let o=e[r],i,s,a,c;Array.isArray(o)?(a=o[0],i=o[1],s=o[2]??i,c=o[3]||null):(i=o,s=o,a=Oo.None,c=null),n[i]=[r,a,c],t[i]=s}return n}function vv(e){if(e==null)return $e;let t={};for(let n in e)e.hasOwnProperty(n)&&(t[e[n]]=n);return t}function Ev(e){return Fn(()=>{let t=af(e);return cf(t),t})}function Iv(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 af(e){let t={};return{type:e.type,providersResolver:null,viewProvidersResolver:null,factory:null,hostBindings:e.hostBindings||null,hostVars:e.hostVars||0,hostAttrs:e.hostAttrs||null,contentQueries:e.contentQueries||null,declaredInputs:t,inputConfig:e.inputs||$e,exportAs:e.exportAs||null,standalone:e.standalone??!0,signals:e.signals===!0,selectors:e.selectors||Y,viewQuery:e.viewQuery||null,features:e.features||null,setInput:null,resolveHostDirectives:null,hostDirectives:null,inputs:yv(e.inputs,t),outputs:vv(e.outputs),debugInfo:null}}function cf(e){e.features?.forEach(t=>t(e))}function vu(e,t){return e?()=>{let n=typeof e=="function"?e():e,r=[];for(let o of n){let i=t(o);i!==null&&r.push(i)}return r}:null}function Dv(e){let t=0,n=typeof e.consts=="function"?"":e.consts,r=[e.selectors,e.ngContentSelectors,e.hostVars,e.hostAttrs,n,e.vars,e.decls,e.encapsulation,e.standalone,e.signals,e.exportAs,JSON.stringify(e.inputs),JSON.stringify(e.outputs),Object.getOwnPropertyNames(e.type.prototype),!!e.contentQueries,!!e.viewQuery];for(let i of r.join("|"))t=Math.imul(31,t)+i.charCodeAt(0)<<0;return t+=2147483648,"c"+t}function Cv(e){return Object.getPrototypeOf(e.prototype).constructor}function lf(e){let t=Cv(e.type),n=!0,r=[e];for(;t;){let o;if(be(e))o=t.\u0275cmp||t.\u0275dir;else{if(t.\u0275cmp)throw new b(903,!1);o=t.\u0275dir}if(o){if(n){r.push(o);let s=e;s.inputs=As(e.inputs),s.declaredInputs=As(e.declaredInputs),s.outputs=As(e.outputs);let a=o.hostBindings;a&&Mv(e,a);let c=o.viewQuery,l=o.contentQueries;if(c&&wv(e,c),l&&_v(e,l),bv(e,o),Zc(e.outputs,o.outputs),be(o)&&o.data.animation){let u=e.data;u.animation=(u.animation||[]).concat(o.data.animation)}}let i=o.features;if(i)for(let s=0;s<i.length;s++){let a=i[s];a&&a.ngInherit&&a(e),a===lf&&(n=!1)}}t=Object.getPrototypeOf(t)}Tv(r)}function bv(e,t){for(let n in t.inputs){if(!t.inputs.hasOwnProperty(n)||e.inputs.hasOwnProperty(n))continue;let r=t.inputs[n];r!==void 0&&(e.inputs[n]=r,e.declaredInputs[n]=t.declaredInputs[n])}}function Tv(e){let t=0,n=null;for(let r=e.length-1;r>=0;r--){let o=e[r];o.hostVars=t+=o.hostVars,o.hostAttrs=Zt(o.hostAttrs,n=Zt(n,o.hostAttrs))}}function As(e){return e===$e?{}:e===Y?[]:e}function wv(e,t){let n=e.viewQuery;n?e.viewQuery=(r,o)=>{t(r,o),n(r,o)}:e.viewQuery=t}function _v(e,t){let n=e.contentQueries;n?e.contentQueries=(r,o,i)=>{t(r,o,i),n(r,o,i)}:e.contentQueries=t}function Mv(e,t){let n=e.hostBindings;n?e.hostBindings=(r,o)=>{t(r,o),n(r,o)}:e.hostBindings=t}function uf(e,t,n,r,o,i,s,a){if(n.firstCreatePass){e.mergedAttrs=Zt(e.mergedAttrs,e.attrs);let u=e.tView=Da(2,e,o,i,s,n.directiveRegistry,n.pipeRegistry,null,n.schemas,n.consts,null);n.queries!==null&&(n.queries.template(n,e),u.queries=n.queries.embeddedTView(e))}a&&(e.flags|=a),Ut(e,!1);let c=xv(n,t,e,r);to()&&Ma(n,t,c,e),Yt(c,t);let l=$d(c,t,c,e);t[r+L]=l,ba(t,l),tv(l,e,t)}function Nv(e,t,n,r,o,i,s,a,c,l,u){let d=n+L,p;return t.firstCreatePass?(p=rn(t,d,4,s||null,a||null),Zr()&&zd(t,e,p,ze(t.consts,l),Sa),Su(t,p)):p=t.data[d],uf(p,e,t,n,r,o,i,c),Bt(p)&&jo(t,e,p),l!=null&&$n(e,p,u),p}function Sv(e,t,n,r,o,i,s,a,c,l,u){let d=n+L,p;if(t.firstCreatePass){if(p=rn(t,d,4,s||null,a||null),l!=null){let f=ze(t.consts,l);p.localNames=[];for(let h=0;h<f.length;h+=2)p.localNames.push(f[h],-1)}}else p=t.data[d];return uf(p,e,t,n,r,o,i,c),l!=null&&$n(e,p,u),p}function df(e,t,n,r,o,i,s,a){let c=g(),l=P(),u=ze(l.consts,i);return Nv(c,l,e,t,n,r,o,u,void 0,s,a),df}var xv=Av;function Av(e,t,n,r){return _n(!0),t[R].createComment("")}var Rv=(()=>{class e{log(n){console.log(n)}warn(n){console.warn(n)}static \u0275fac=function(r){return new(r||e)};static \u0275prov=F({token:e,factory:e.\u0275fac,providedIn:"platform"})}return e})();function ff(e){return typeof e=="function"&&e[Q]!==void 0}function ja(e){return ff(e)&&typeof e.set=="function"}var pf=new x("");function Va(e){return!!e&&typeof e.then=="function"}function hf(e){return!!e&&typeof e.subscribe=="function"}var Ha=new x("");function kv(e){return Ur([{provide:Ha,multi:!0,useValue:e}])}var Ba=(()=>{class e{resolve;reject;initialized=!1;done=!1;donePromise=new Promise((n,r)=>{this.resolve=n,this.reject=r});appInits=y(Ha,{optional:!0})??[];injector=y(xe);constructor(){}runInitializers(){if(this.initialized)return;let n=[];for(let o of this.appInits){let i=qr(this.injector,o);if(Va(i))n.push(i);else if(hf(i)){let s=new Promise((a,c)=>{i.subscribe({complete:a,error:c})});n.push(s)}}let r=()=>{this.done=!0,this.resolve()};Promise.all(n).then(()=>{r()}).catch(o=>{this.reject(o)}),n.length===0&&r(),this.initialized=!0}static \u0275fac=function(r){return new(r||e)};static \u0275prov=F({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})(),gf=new x("");function mf(){ni(()=>{let e="";throw new b(600,e)})}function yf(e){return e.isBoundToModule}var Ov=10;var Gn=(()=>{class e{_runningTick=!1;_destroyed=!1;_destroyListeners=[];_views=[];internalErrorHandler=y(Ye);afterRenderManager=y(wa);zonelessEnabled=y(Gt);rootEffectScheduler=y(ro);dirtyFlags=0;tracingSnapshot=null;allTestViews=new Set;autoDetectTestViews=new Set;includeAllTestViews=!1;afterTick=new _e;get allViews(){return[...(this.includeAllTestViews?this.allTestViews:this.autoDetectTestViews).keys(),...this._views]}get destroyed(){return this._destroyed}componentTypes=[];components=[];internalPendingTask=y(Ze);get isStable(){return this.internalPendingTask.hasPendingTasksObservable.pipe(ot(n=>!n))}constructor(){y(Bn,{optional:!0})}whenStable(){let n;return new Promise(r=>{n=this.isStable.subscribe({next:o=>{o&&r()}})}).finally(()=>{n.unsubscribe()})}_injector=y(oe);_rendererFactory=null;get injector(){return this._injector}bootstrap(n,r){return this.bootstrapImpl(n,r)}bootstrapImpl(n,r,o=xe.NULL){return this._injector.get(U).run(()=>{A(_.BootstrapComponentStart);let s=n instanceof Bo;if(!this._injector.get(Ba).done){let h="";throw new b(405,h)}let c;s?c=n:c=this._injector.get(Un).resolveComponentFactory(n),this.componentTypes.push(c.componentType);let l=yf(c)?void 0:this._injector.get(Xt),u=r||c.selector,d=c.create(o,[],u,l),p=d.location.nativeElement,f=d.injector.get(pf,null);return f?.registerApplication(p),d.onDestroy(()=>{this.detachView(d.hostView),xn(this.components,d),f?.unregisterApplication(p)}),this._loadComponent(d),A(_.BootstrapComponentEnd,d),d})}tick(){this.zonelessEnabled||(this.dirtyFlags|=1),this._tick()}_tick(){A(_.ChangeDetectionStart),this.tracingSnapshot!==null?this.tracingSnapshot.run(Po.CHANGE_DETECTION,this.tickImpl):this.tickImpl()}tickImpl=()=>{if(this._runningTick)throw A(_.ChangeDetectionEnd),new b(101,!1);let n=E(null);try{this._runningTick=!0,this.synchronize()}finally{this._runningTick=!1,this.tracingSnapshot?.dispose(),this.tracingSnapshot=null,E(n),this.afterTick.next(),A(_.ChangeDetectionEnd)}};synchronize(){this._rendererFactory===null&&!this._injector.destroyed&&(this._rendererFactory=this._injector.get(On,null,{optional:!0}));let n=0;for(;this.dirtyFlags!==0&&n++<Ov;){A(_.ChangeDetectionSyncStart);try{this.synchronizeOnce()}finally{A(_.ChangeDetectionSyncEnd)}}}synchronizeOnce(){this.dirtyFlags&16&&(this.dirtyFlags&=-17,this.rootEffectScheduler.flush());let n=!1;if(this.dirtyFlags&7){let r=!!(this.dirtyFlags&1);this.dirtyFlags&=-8,this.dirtyFlags|=8;for(let{_lView:o}of this.allViews){if(!r&&!wn(o))continue;let i=r&&!this.zonelessEnabled?0:1;jd(o,i),n=!0}if(this.dirtyFlags&=-5,this.syncDirtyFlagsWithViews(),this.dirtyFlags&23)return}n||(this._rendererFactory?.begin?.(),this._rendererFactory?.end?.()),this.dirtyFlags&8&&(this.dirtyFlags&=-9,this.afterRenderManager.execute()),this.syncDirtyFlagsWithViews()}syncDirtyFlagsWithViews(){if(this.allViews.some(({_lView:n})=>wn(n))){this.dirtyFlags|=2;return}else this.dirtyFlags&=-8}attachView(n){let r=n;this._views.push(r),r.attachToAppRef(this)}detachView(n){let r=n;xn(this._views,r),r.detachFromAppRef()}_loadComponent(n){this.attachView(n.hostView);try{this.tick()}catch(o){this.internalErrorHandler(o)}this.components.push(n),this._injector.get(gf,[]).forEach(o=>o(n))}ngOnDestroy(){if(!this._destroyed)try{this._destroyListeners.forEach(n=>n()),this._views.slice().forEach(n=>n.destroy())}finally{this._destroyed=!0,this._views=[],this._destroyListeners=[]}}onDestroy(n){return this._destroyListeners.push(n),()=>xn(this._destroyListeners,n)}destroy(){if(this._destroyed)throw new b(406,!1);let n=this._injector;n.destroy&&!n.destroyed&&n.destroy()}get viewCount(){return this._views.length}static \u0275fac=function(r){return new(r||e)};static \u0275prov=F({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();function xn(e,t){let n=e.indexOf(t);n>-1&&e.splice(n,1)}function vf(e,t){let n=g(),r=Et();if(te(n,r,t)){let o=P(),i=qt();if(Vo(i,o,n,e,t))Re(i)&&xd(n,i.index);else{let a=ae(i,n);Ad(n[R],a,null,i.value,e,t,null)}}return vf}function Ef(e,t,n,r){let o=g(),i=Et();if(te(o,i,t)){let s=P(),a=qt();ny(a,o,e,t,n,r)}return Ef}var GM=typeof document<"u"&&typeof document?.documentElement?.getAnimations=="function";function If(e,t,n){let r=g(),o=Et();if(te(r,o,t)){let i=P(),s=qt();Nd(s,r,e,t,r[R],n)}return If}function da(e,t,n,r,o){Vo(t,e,n,o?"class":"style",r)}function $a(e,t,n,r){let o=g(),i=o[m],s=e+L,a=i.firstCreatePass?Oa(s,o,2,t,Sa,Zr(),n,r):i.data[s];if(xa(a,o,e,t,bf),Bt(a)){let c=o[m];jo(c,o,a),ya(c,a,o)}return r!=null&&$n(o,a),$a}function Ua(){let e=P(),t=B(),n=Aa(t);return e.firstCreatePass&&Pa(e,n),ds(n)&&fs(),ls(),n.classesWithoutHost!=null&&tg(n)&&da(e,n,g(),n.classesWithoutHost,!0),n.stylesWithoutHost!=null&&ng(n)&&da(e,n,g(),n.stylesWithoutHost,!1),Ua}function Df(e,t,n,r){return $a(e,t,n,r),Ua(),Df}function qa(e,t,n,r){let o=g(),i=o[m],s=e+L,a=i.firstCreatePass?jy(s,i,2,t,n,r):i.data[s];return xa(a,o,e,t,bf),r!=null&&$n(o,a),qa}function Wa(){let e=B(),t=Aa(e);return ds(t)&&fs(),ls(),Wa}function Cf(e,t,n,r){return qa(e,t,n,r),Wa(),Cf}var bf=(e,t,n,r,o)=>(_n(!0),ad(t[R],r,Pl()));function Ga(e,t,n){let r=g(),o=r[m],i=e+L,s=o.firstCreatePass?Oa(i,r,8,"ng-container",Sa,Zr(),t,n):o.data[i];if(xa(s,r,e,"ng-container",Pv),Bt(s)){let a=r[m];jo(a,r,s),ya(a,s,r)}return n!=null&&$n(r,s),Ga}function za(){let e=P(),t=B(),n=Aa(t);return e.firstCreatePass&&Pa(e,n),za}function Tf(e,t,n){return Ga(e,t,n),za(),Tf}var Pv=(e,t,n,r,o)=>(_n(!0),im(t[R],""));function Lv(){return g()}function wf(e,t,n){let r=g(),o=Et();if(te(r,o,t)){let i=P(),s=qt();Sd(s,r,e,t,r[R],n)}return wf}var Nn=void 0;function Fv(e){let t=Math.floor(Math.abs(e)),n=e.toString().replace(/^[^.]*\.?/,"").length;return t===1&&n===0?1:5}var jv=["en",[["a","p"],["AM","PM"]],[["AM","PM"]],[["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"]],Nn,[["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"]],Nn,[["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\u202Fa","h:mm:ss\u202Fa","h:mm:ss\u202Fa z","h:mm:ss\u202Fa zzzz"],["{1}, {0}",Nn,Nn,Nn],[".",",",";","%","+","-","E","\xD7","\u2030","\u221E","NaN",":"],["#,##0.###","#,##0%","\xA4#,##0.00","#E0"],"USD","$","US Dollar",{},"ltr",Fv],Rs={};function Vv(e){let t=Hv(e),n=Eu(t);if(n)return n;let r=t.split("-")[0];if(n=Eu(r),n)return n;if(r==="en")return jv;throw new b(701,!1)}function Eu(e){return e in Rs||(Rs[e]=Ee.ng&&Ee.ng.common&&Ee.ng.common.locales&&Ee.ng.common.locales[e]),Rs[e]}var _f=(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})(_f||{});function Hv(e){return e.toLowerCase().replace(/_/g,"-")}var zn="en-US";var Bv=zn;function Mf(e){typeof e=="string"&&(Bv=e.toLowerCase().replace(/_/g,"-"))}function Nf(e,t,n){let r=g(),o=P(),i=B();return Sf(o,r,r[R],i,e,t,n),Nf}function Sf(e,t,n,r,o,i,s){let a=!0,c=null;if((r.type&3||s)&&(c??=Ss(r,t,i),Vy(r,e,t,s,n,o,i,c)&&(a=!1)),a){let l=r.outputs?.[o],u=r.hostDirectiveOutputs?.[o];if(u&&u.length)for(let d=0;d<u.length;d+=2){let p=u[d],f=u[d+1];c??=Ss(r,t,i),gu(r,t,p,f,o,c)}if(l&&l.length)for(let d of l)c??=Ss(r,t,i),gu(r,t,d,o,o,c)}}function $v(e=1){return kl(e)}function Uv(e,t){let n=null,r=Im(e);for(let o=0;o<t.length;o++){let i=t[o];if(i==="*"){n=o;continue}if(r===null?hd(e,i,!0):bm(r,i))return o}return n}function qv(e){let t=g()[ee][K];if(!t.projection){let n=e?e.length:1,r=t.projection=ol(n,null),o=r.slice(),i=t.child;for(;i!==null;){if(i.type!==128){let s=e?Uv(i,e):0;s!==null&&(o[s]?o[s].projectionNext=i:r[s]=i,o[s]=i)}i=i.next}}}function Wv(e,t=0,n,r,o,i){let s=g(),a=P(),c=r?e+1:null;c!==null&&Sv(s,a,c,r,o,i,null,n);let l=rn(a,L+e,16,null,n||null);l.projection===null&&(l.projection=t),gs();let d=!s[jt]||us();s[ee][K].projection[l.projection]===null&&c!==null?Gv(s,a,c):d&&!Ao(l)&&Gm(a,s,l)}function Gv(e,t,n){let r=L+n,o=t.data[r],i=e[r],s=na(i,o.tView.ssrId),a=Rd(e,o,void 0,{dehydratedView:s});Ud(i,a,0,Xs(o,s))}function xf(e,t,n,r){return lv(e,t,n,r),xf}function Af(e,t,n){return cv(e,t,n),Af}function zv(e){let t=g(),n=P(),r=ys();Jr(r+1);let o=Fa(n,r);if(e.dirty&&pl(t)===((o.metadata.flags&2)===2)){if(o.matches===null)e.reset([]);else{let i=fv(t,r);e.reset(i,mg),e.notifyOnChanges()}return!0}return!1}function Qv(){return av(g(),ys())}function Zv(e){let t=bl();return ns(t,L+e)}function ao(e,t){return e<<17|t<<2}function Tt(e){return e>>17&32767}function Yv(e){return(e&2)==2}function Kv(e,t){return e&131071|t<<17}function fa(e){return e|2}function en(e){return(e&131068)>>2}function ks(e,t){return e&-131069|t<<2}function Jv(e){return(e&1)===1}function pa(e){return e|1}function Xv(e,t,n,r,o,i){let s=i?t.classBindings:t.styleBindings,a=Tt(s),c=en(s);e[r]=n;let l=!1,u;if(Array.isArray(n)){let d=n;u=d[1],(u===null||Ft(d,u)>0)&&(l=!0)}else u=n;if(o)if(c!==0){let p=Tt(e[a+1]);e[r+1]=ao(p,a),p!==0&&(e[p+1]=ks(e[p+1],r)),e[a+1]=Kv(e[a+1],r)}else e[r+1]=ao(a,0),a!==0&&(e[a+1]=ks(e[a+1],r)),a=r;else e[r+1]=ao(c,0),a===0?a=r:e[c+1]=ks(e[c+1],r),c=r;l&&(e[r+1]=fa(e[r+1])),Iu(e,u,r,!0),Iu(e,u,r,!1),eE(t,u,e,r,i),s=ao(a,c),i?t.classBindings=s:t.styleBindings=s}function eE(e,t,n,r,o){let i=o?e.residualClasses:e.residualStyles;i!=null&&typeof t=="string"&&Ft(i,t)>=0&&(n[r+1]=pa(n[r+1]))}function Iu(e,t,n,r){let o=e[n+1],i=t===null,s=r?Tt(o):en(o),a=!1;for(;s!==0&&(a===!1||i);){let c=e[s],l=e[s+1];tE(c,t)&&(a=!0,e[s+1]=r?pa(l):fa(l)),s=r?Tt(l):en(l)}a&&(e[n+1]=r?fa(o):pa(o))}function tE(e,t){return e===null||t==null||(Array.isArray(e)?e[1]:e)===t?!0:Array.isArray(e)&&typeof t=="string"?Ft(e,t)>=0:!1}var V={textEnd:0,key:0,keyEnd:0,value:0,valueEnd:0};function Rf(e){return e.substring(V.key,V.keyEnd)}function nE(e){return e.substring(V.value,V.valueEnd)}function rE(e){return Pf(e),kf(e,tn(e,0,V.textEnd))}function kf(e,t){let n=V.textEnd;return n===t?-1:(t=V.keyEnd=iE(e,V.key=t,n),tn(e,t,n))}function oE(e){return Pf(e),Of(e,tn(e,0,V.textEnd))}function Of(e,t){let n=V.textEnd,r=V.key=tn(e,t,n);return n===r?-1:(r=V.keyEnd=sE(e,r,n),r=Du(e,r,n,58),r=V.value=tn(e,r,n),r=V.valueEnd=aE(e,r,n),Du(e,r,n,59))}function Pf(e){V.key=0,V.keyEnd=0,V.value=0,V.valueEnd=0,V.textEnd=e.length}function tn(e,t,n){for(;t<n&&e.charCodeAt(t)<=32;)t++;return t}function iE(e,t,n){for(;t<n&&e.charCodeAt(t)>32;)t++;return t}function sE(e,t,n){let r;for(;t<n&&((r=e.charCodeAt(t))===45||r===95||(r&-33)>=65&&(r&-33)<=90||r>=48&&r<=57);)t++;return t}function Du(e,t,n,r){return t=tn(e,t,n),t<n&&t++,t}function aE(e,t,n){let r=-1,o=-1,i=-1,s=t,a=s;for(;s<n;){let c=e.charCodeAt(s++);if(c===59)return a;c===34||c===39?a=s=Cu(e,c,s,n):t===s-4&&i===85&&o===82&&r===76&&c===40?a=s=Cu(e,41,s,n):c>32&&(a=s),i=o,o=r,r=c&-33}return a}function Cu(e,t,n,r){let o=-1,i=n;for(;i<r;){let s=e.charCodeAt(i++);if(s==t&&o!==92)return i;s==92&&o===92?o=0:o=s}throw new Error}function Lf(e,t,n){return jf(e,t,n,!1),Lf}function Ff(e,t){return jf(e,t,null,!0),Ff}function cE(e){Vf($f,lE,e,!1)}function lE(e,t){for(let n=oE(t);n>=0;n=Of(t,n))$f(e,Rf(t),nE(t))}function uE(e){Vf(yE,dE,e,!0)}function dE(e,t){for(let n=rE(t);n>=0;n=kf(t,n))Dn(e,Rf(t),!0)}function jf(e,t,n,r){let o=g(),i=P(),s=Yr(2);if(i.firstUpdatePass&&Bf(i,e,s,r),t!==ne&&te(o,s,t)){let a=i.data[ke()];Uf(i,a,o,o[R],e,o[s+1]=EE(t,n),r,s)}}function Vf(e,t,n,r){let o=P(),i=Yr(2);o.firstUpdatePass&&Bf(o,null,i,r);let s=g();if(n!==ne&&te(s,i,n)){let a=o.data[ke()];if(qf(a,r)&&!Hf(o,i)){let c=r?a.classesWithoutHost:a.stylesWithoutHost;c!==null&&(n=Lr(c,n||"")),da(o,a,s,n,r)}else vE(o,a,s,s[R],s[i+1],s[i+1]=mE(e,t,n),r,i)}}function Hf(e,t){return t>=e.expandoStartIndex}function Bf(e,t,n,r){let o=e.data;if(o[n+1]===null){let i=o[ke()],s=Hf(e,n);qf(i,r)&&t===null&&!s&&(t=!1),t=fE(o,i,t,r),Xv(o,i,t,n,s,r)}}function fE(e,t,n,r){let o=Sl(e),i=r?t.residualClasses:t.residualStyles;if(o===null)(r?t.classBindings:t.styleBindings)===0&&(n=Os(null,e,t,n,r),n=Ln(n,t.attrs,r),i=null);else{let s=t.directiveStylingLast;if(s===-1||e[s]!==o)if(n=Os(o,e,t,n,r),i===null){let c=pE(e,t,r);c!==void 0&&Array.isArray(c)&&(c=Os(null,e,t,c[1],r),c=Ln(c,t.attrs,r),hE(e,t,r,c))}else i=gE(e,t,r)}return i!==void 0&&(r?t.residualClasses=i:t.residualStyles=i),n}function pE(e,t,n){let r=n?t.classBindings:t.styleBindings;if(en(r)!==0)return e[Tt(r)]}function hE(e,t,n,r){let o=n?t.classBindings:t.styleBindings;e[Tt(o)]=r}function gE(e,t,n){let r,o=t.directiveEnd;for(let i=1+t.directiveStylingLast;i<o;i++){let s=e[i].hostAttrs;r=Ln(r,s,n)}return Ln(r,t.attrs,n)}function Os(e,t,n,r,o){let i=null,s=n.directiveEnd,a=n.directiveStylingLast;for(a===-1?a=n.directiveStart:a++;a<s&&(i=t[a],r=Ln(r,i.hostAttrs,o),i!==e);)a++;return e!==null&&(n.directiveStylingLast=a),r}function Ln(e,t,n){let r=n?1:2,o=-1;if(t!==null)for(let i=0;i<t.length;i++){let s=t[i];typeof s=="number"?o=s:o===r&&(Array.isArray(e)||(e=e===void 0?[]:["",e]),Dn(e,s,n?!0:t[++i]))}return e===void 0?null:e}function mE(e,t,n){if(n==null||n==="")return Y;let r=[],o=wt(n);if(Array.isArray(o))for(let i=0;i<o.length;i++)e(r,o[i],!0);else if(typeof o=="object")for(let i in o)o.hasOwnProperty(i)&&e(r,i,o[i]);else typeof o=="string"&&t(r,o);return r}function $f(e,t,n){Dn(e,t,wt(n))}function yE(e,t,n){let r=String(t);r!==""&&!r.includes(" ")&&Dn(e,r,n)}function vE(e,t,n,r,o,i,s,a){o===ne&&(o=Y);let c=0,l=0,u=0<o.length?o[0]:null,d=0<i.length?i[0]:null;for(;u!==null||d!==null;){let p=c<o.length?o[c+1]:void 0,f=l<i.length?i[l+1]:void 0,h=null,C;u===d?(c+=2,l+=2,p!==f&&(h=d,C=f)):d===null||u!==null&&u<d?(c+=2,h=u):(l+=2,h=d,C=f),h!==null&&Uf(e,t,n,r,h,C,s,a),u=c<o.length?o[c]:null,d=l<i.length?i[l]:null}}function Uf(e,t,n,r,o,i,s,a){if(!(t.type&3))return;let c=e.data,l=c[a+1],u=Jv(l)?bu(c,t,n,o,en(l),s):void 0;if(!So(u)){So(i)||Yv(l)&&(i=bu(c,null,n,o,a,s));let d=ts(ke(),n);Qm(r,s,d,o,i)}}function bu(e,t,n,r,o,i){let s=t===null,a;for(;o>0;){let c=e[o],l=Array.isArray(c),u=l?c[1]:c,d=u===null,p=n[o+1];p===ne&&(p=d?Y:void 0);let f=d?$r(p,r):u===r?p:void 0;if(l&&!So(f)&&(f=$r(c,r)),So(f)&&(a=f,s))return a;let h=e[o+1];o=s?Tt(h):en(h)}if(t!==null){let c=i?t.residualClasses:t.residualStyles;c!=null&&(a=$r(c,r))}return a}function So(e){return e!==void 0}function EE(e,t){return e==null||e===""||(typeof t=="string"?e=e+t:typeof e=="object"&&(e=Se(wt(e)))),e}function qf(e,t){return(e.flags&(t?8:16))!==0}function IE(e,t=""){let n=g(),r=P(),o=e+L,i=r.firstCreatePass?rn(r,o,1,t,null):r.data[o],s=DE(r,n,i,t,e);n[o]=s,to()&&Ma(r,n,s,i),Ut(i,!1)}var DE=(e,t,n,r,o)=>(_n(!0),rm(t[R],r));function CE(e,t,n,r=""){return te(e,Et(),n)?t+Be(n)+r:ne}function bE(e,t,n,r,o,i=""){let s=Tl(),a=Kt(e,s,n,o);return Yr(2),a?t+Be(n)+r+Be(o)+i:ne}function Wf(e){return Qa("",e),Wf}function Qa(e,t,n){let r=g(),o=CE(r,e,t,n);return o!==ne&&zf(r,ke(),o),Qa}function Gf(e,t,n,r,o){let i=g(),s=bE(i,e,t,n,r,o);return s!==ne&&zf(i,ke(),s),Gf}function zf(e,t,n){let r=ts(t,e);om(e[R],r,n)}function Qf(e,t,n){ja(t)&&(t=t());let r=g(),o=Et();if(te(r,o,t)){let i=P(),s=qt();Nd(s,r,e,t,r[R],n)}return Qf}function TE(e,t){let n=ja(e);return n&&e.set(t),n}function Zf(e,t){let n=g(),r=P(),o=B();return Sf(r,n,n[R],o,e,t),Zf}function Tu(e,t,n){let r=P();r.firstCreatePass&&Yf(t,r.data,r.blueprint,be(e),n)}function Yf(e,t,n,r,o){if(e=$(e),Array.isArray(e))for(let i=0;i<e.length;i++)Yf(e[i],t,n,r,o);else{let i=P(),s=g(),a=B(),c=ct(e)?e:$(e.provide),l=Yi(e),u=a.providerIndexes&1048575,d=a.directiveStart,p=a.providerIndexes>>20;if(ct(e)||!e.multi){let f=new Dt(l,o,qn,null),h=Ls(c,t,o?u:u+p,d);h===-1?(js(yo(a,s),i,c),Ps(i,e,t.length),t.push(c),a.directiveStart++,a.directiveEnd++,o&&(a.providerIndexes+=1048576),n.push(f),s.push(f)):(n[h]=f,s[h]=f)}else{let f=Ls(c,t,u+p,d),h=Ls(c,t,u,u+p),C=f>=0&&n[f],k=h>=0&&n[h];if(o&&!k||!o&&!C){js(yo(a,s),i,c);let N=ME(o?_E:wE,n.length,o,r,l,e);!o&&k&&(n[h].providerFactory=N),Ps(i,e,t.length,0),t.push(c),a.directiveStart++,a.directiveEnd++,o&&(a.providerIndexes+=1048576),n.push(N),s.push(N)}else{let N=Kf(n[o?h:f],l,!o&&r);Ps(i,e,f>-1?f:h,N)}!o&&r&&k&&n[h].componentProviders++}}}function Ps(e,t,n,r){let o=ct(t),i=ll(t);if(o||i){let c=(i?$(t.useClass):t).prototype.ngOnDestroy;if(c){let l=e.destroyHooks||(e.destroyHooks=[]);if(!o&&t.multi){let u=l.indexOf(n);u===-1?l.push(n,[r,c]):l[u+1].push(r,c)}else l.push(n,c)}}}function Kf(e,t,n){return n&&e.componentProviders++,e.multi.push(t)-1}function Ls(e,t,n,r){for(let o=n;o<r;o++)if(t[o]===e)return o;return-1}function wE(e,t,n,r,o){return ha(this.multi,[])}function _E(e,t,n,r,o){let i=this.multi,s;if(this.providerFactory){let a=this.providerFactory.componentProviders,c=An(r,r[m],this.providerFactory.index,o);s=c.slice(0,a),ha(i,s);for(let l=a;l<c.length;l++)s.push(c[l])}else s=[],ha(i,s);return s}function ha(e,t){for(let n=0;n<e.length;n++){let r=e[n];t.push(r())}return t}function ME(e,t,n,r,o,i){let s=new Dt(e,n,qn,null);return s.multi=[],s.index=t,s.componentProviders=0,Kf(s,o,r&&!n),s}function NE(e,t){return n=>{n.providersResolver=(r,o)=>Tu(r,o?o(e):e,!1),t&&(n.viewProvidersResolver=(r,o)=>Tu(r,o?o(t):t,!0))}}function SE(e,t){let n=le()+e,r=g();return r[n]===ne?we(r,n,t()):Wn(r,n)}function xE(e,t,n){return VE(g(),le(),e,t,n)}function AE(e,t,n,r){return Jf(g(),le(),e,t,n,r)}function RE(e,t,n,r,o){return HE(g(),le(),e,t,n,r,o)}function kE(e,t,n,r,o,i,s){return BE(g(),le(),e,t,n,r,o,i)}function OE(e,t,n,r,o,i,s){let a=le()+e,c=g(),l=Jt(c,a,n,r,o,i);return te(c,a+4,s)||l?we(c,a+5,t(n,r,o,i,s)):Wn(c,a+5)}function PE(e,t,n,r,o,i,s,a){let c=le()+e,l=g(),u=Jt(l,c,n,r,o,i);return Kt(l,c+4,s,a)||u?we(l,c+6,t(n,r,o,i,s,a)):Wn(l,c+6)}function LE(e,t,n,r,o,i,s,a,c){let l=le()+e,u=g(),d=Jt(u,l,n,r,o,i);return Yd(u,l+4,s,a,c)||d?we(u,l+7,t(n,r,o,i,s,a,c)):Wn(u,l+7)}function FE(e,t,n,r,o,i,s,a,c,l){let u=le()+e,d=g(),p=Jt(d,u,n,r,o,i);return Jt(d,u+4,s,a,c,l)||p?we(d,u+8,t(n,r,o,i,s,a,c,l)):Wn(d,u+8)}function jE(e,t,n){return $E(g(),le(),e,t,n)}function Qn(e,t){let n=e[t];return n===ne?void 0:n}function VE(e,t,n,r,o,i){let s=t+n;return te(e,s,o)?we(e,s+1,i?r.call(i,o):r(o)):Qn(e,s+1)}function Jf(e,t,n,r,o,i,s){let a=t+n;return Kt(e,a,o,i)?we(e,a+2,s?r.call(s,o,i):r(o,i)):Qn(e,a+2)}function HE(e,t,n,r,o,i,s,a){let c=t+n;return Yd(e,c,o,i,s)?we(e,c+3,a?r.call(a,o,i,s):r(o,i,s)):Qn(e,c+3)}function BE(e,t,n,r,o,i,s,a,c){let l=t+n;return Jt(e,l,o,i,s,a)?we(e,l+4,c?r.call(c,o,i,s,a):r(o,i,s,a)):Qn(e,l+4)}function $E(e,t,n,r,o,i){let s=t+n,a=!1;for(let c=0;c<o.length;c++)te(e,s++,o[c])&&(a=!0);return a?we(e,s,r.apply(i,o)):Qn(e,s)}function UE(e,t){let n=P(),r,o=e+L;n.firstCreatePass?(r=qE(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=je(r.type,!0)),s,a=Z(qn);try{let c=mo(!1),l=i();return mo(c),rs(n,g(),o,l),l}finally{Z(a)}}function qE(e,t){if(t)for(let n=t.length-1;n>=0;n--){let r=t[n];if(e===r.name)return r}}function WE(e,t,n,r){let o=e+L,i=g(),s=ns(i,o);return GE(i,o)?Jf(i,le(),t,s.transform,n,r,s):s.transform(n,r)}function GE(e,t){return e[m].data[t].pure}function zE(e,t){return Ho(e,t)}var xo=class{ngModuleFactory;componentFactories;constructor(t,n){this.ngModuleFactory=t,this.componentFactories=n}},QE=(()=>{class e{compileModuleSync(n){return new No(n)}compileModuleAsync(n){return Promise.resolve(this.compileModuleSync(n))}compileModuleAndAllComponentsSync(n){let r=this.compileModuleSync(n),o=Hi(n),i=fd(o.declarations).reduce((s,a)=>{let c=Ae(a);return c&&s.push(new bt(c)),s},[]);return new xo(r,i)}compileModuleAndAllComponentsAsync(n){return Promise.resolve(this.compileModuleAndAllComponentsSync(n))}clearCache(){}clearCacheFor(n){}getModuleId(n){}static \u0275fac=function(r){return new(r||e)};static \u0275prov=F({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();var Xf=(()=>{class e{applicationErrorHandler=y(Ye);appRef=y(Gn);taskService=y(Ze);ngZone=y(U);zonelessEnabled=y(Gt);tracing=y(Bn,{optional:!0});zoneIsDefined=typeof Zone<"u"&&!!Zone.root.run;schedulerTickApplyArgs=[{data:{__scheduler_tick__:!0}}];subscriptions=new j;angularZoneId=this.zoneIsDefined?this.ngZone._inner?.get(yn):null;scheduleInRootZone=!this.zonelessEnabled&&this.zoneIsDefined&&(y(no,{optional:!0})??!1);cancelScheduledCallback=null;useMicrotaskScheduler=!1;runningTick=!1;pendingRenderTaskId=null;constructor(){this.subscriptions.add(this.appRef.afterTick.subscribe(()=>{let n=this.taskService.add();if(!this.runningTick&&(this.cleanup(),!this.zonelessEnabled||this.appRef.includeAllTestViews)){this.taskService.remove(n);return}this.switchToMicrotaskScheduler(),this.taskService.remove(n)})),this.subscriptions.add(this.ngZone.onUnstable.subscribe(()=>{this.runningTick||this.cleanup()}))}switchToMicrotaskScheduler(){this.ngZone.runOutsideAngular(()=>{let n=this.taskService.add();this.useMicrotaskScheduler=!0,queueMicrotask(()=>{this.useMicrotaskScheduler=!1,this.taskService.remove(n)})})}notify(n){if(!this.zonelessEnabled&&n===5)return;switch(n){case 0:{this.appRef.dirtyFlags|=2;break}case 3:case 2:case 4:case 5:case 1:{this.appRef.dirtyFlags|=4;break}case 6:{this.appRef.dirtyFlags|=2;break}case 12:{this.appRef.dirtyFlags|=16;break}case 13:{this.appRef.dirtyFlags|=2;break}case 11:break;default:this.appRef.dirtyFlags|=8}if(this.appRef.tracingSnapshot=this.tracing?.snapshot(this.appRef.tracingSnapshot)??null,!this.shouldScheduleTick())return;let r=this.useMicrotaskScheduler?jl:bs;this.pendingRenderTaskId=this.taskService.add(),this.scheduleInRootZone?this.cancelScheduledCallback=Zone.root.run(()=>r(()=>this.tick())):this.cancelScheduledCallback=this.ngZone.runOutsideAngular(()=>r(()=>this.tick()))}shouldScheduleTick(){return!(this.appRef.destroyed||this.pendingRenderTaskId!==null||this.runningTick||this.appRef._runningTick||!this.zonelessEnabled&&this.zoneIsDefined&&Zone.current.get(yn+this.angularZoneId))}tick(){if(this.runningTick||this.appRef.destroyed)return;if(this.appRef.dirtyFlags===0){this.cleanup();return}!this.zonelessEnabled&&this.appRef.dirtyFlags&7&&(this.appRef.dirtyFlags|=1);let n=this.taskService.add();try{this.ngZone.run(()=>{this.runningTick=!0,this.appRef._tick()},void 0,this.schedulerTickApplyArgs)}catch(r){this.applicationErrorHandler(r)}finally{this.taskService.remove(n),this.cleanup()}}ngOnDestroy(){this.subscriptions.unsubscribe(),this.cleanup()}cleanup(){if(this.runningTick=!1,this.cancelScheduledCallback?.(),this.cancelScheduledCallback=null,this.pendingRenderTaskId!==null){let n=this.pendingRenderTaskId;this.pendingRenderTaskId=null,this.taskService.remove(n)}}static \u0275fac=function(r){return new(r||e)};static \u0275prov=F({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();function ep(){return[{provide:ve,useExisting:Xf},{provide:U,useClass:vn},{provide:Gt,useValue:!0}]}function ZE(){return typeof $localize<"u"&&$localize.locale||zn}var Za=new x("",{factory:()=>y(Za,{optional:!0,skipSelf:!0})||ZE()});function YE(e,t){return er(e,t?.equal)}var sp=Symbol("InputSignalNode#UNSET"),JE=W(q({},tr),{transformFn:void 0,applyValueToInputSignal(e,t){cn(e,t)}});function ap(e,t){let n=Object.create(JE);n.value=e,n.transformFn=t?.transform;function r(){if(on(n),n.value===sp){let o=null;throw new b(-950,o)}return n.value}return r[Q]=n,r}var tp=class{attributeName;constructor(t){this.attributeName=t}__NG_ELEMENT_ID__=()=>Bu(this.attributeName);toString(){return`HostAttributeToken ${this.attributeName}`}};function np(e,t){return ap(e,t)}function XE(e){return ap(sp,e)}var Qk=(np.required=XE,np);var eI=(()=>{class e{zone=y(U);changeDetectionScheduler=y(ve);applicationRef=y(Gn);applicationErrorHandler=y(Ye);_onMicrotaskEmptySubscription;initialize(){this._onMicrotaskEmptySubscription||(this._onMicrotaskEmptySubscription=this.zone.onMicrotaskEmpty.subscribe({next:()=>{this.changeDetectionScheduler.runningTick||this.zone.run(()=>{try{this.applicationRef.dirtyFlags|=1,this.applicationRef._tick()}catch(n){this.applicationErrorHandler(n)}})}}))}ngOnDestroy(){this._onMicrotaskEmptySubscription?.unsubscribe()}static \u0275fac=function(r){return new(r||e)};static \u0275prov=F({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})(),tI=new x("",{factory:()=>!1});function nI({ngZoneFactory:e,scheduleInRootZone:t}){return e??=()=>new U(W(q({},cp()),{scheduleInRootZone:t})),[{provide:Gt,useValue:!1},{provide:U,useFactory:e},{provide:ft,multi:!0,useFactory:()=>{let n=y(eI,{optional:!0});return()=>n.initialize()}},{provide:ft,multi:!0,useFactory:()=>{let n=y(rI);return()=>{n.initialize()}}},{provide:no,useValue:t??Cs}]}function Zk(e){let t=e?.scheduleInRootZone,n=nI({ngZoneFactory:()=>{let r=cp(e);return r.scheduleInRootZone=t,r.shouldCoalesceEventChangeDetection&&Lo("NgZone_CoalesceEvent"),new U(r)},scheduleInRootZone:t});return Ur([{provide:tI,useValue:!0},n])}function cp(e){return{enableLongStackTrace:!1,shouldCoalesceEventChangeDetection:e?.eventCoalescing??!1,shouldCoalesceRunChangeDetection:e?.runCoalescing??!1}}var rI=(()=>{class e{subscription=new j;initialized=!1;zone=y(U);pendingTasks=y(Ze);initialize(){if(this.initialized)return;this.initialized=!0;let n=null;!this.zone.isStable&&!this.zone.hasPendingMacrotasks&&!this.zone.hasPendingMicrotasks&&(n=this.pendingTasks.add()),this.zone.runOutsideAngular(()=>{this.subscription.add(this.zone.onStable.subscribe(()=>{U.assertNotInAngularZone(),queueMicrotask(()=>{n!==null&&!this.zone.hasPendingMacrotasks&&!this.zone.hasPendingMicrotasks&&(this.pendingTasks.remove(n),n=null)})}))}),this.subscription.add(this.zone.onUnstable.subscribe(()=>{U.assertInAngularZone(),n??=this.pendingTasks.add()}))}ngOnDestroy(){this.subscription.unsubscribe()}static \u0275fac=function(r){return new(r||e)};static \u0275prov=F({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();var Ya=new x(""),oI=new x("");function Zn(e){return!e.moduleRef}function iI(e){let t=Zn(e)?e.r3Injector:e.moduleRef.injector,n=t.get(U);return n.run(()=>{Zn(e)?e.r3Injector.resolveInjectorInitializers():e.moduleRef.resolveInjectorInitializers();let r=t.get(Ye),o;if(n.runOutsideAngular(()=>{o=n.onError.subscribe({next:r})}),Zn(e)){let i=()=>t.destroy(),s=e.platformInjector.get(Ya);s.add(i),t.onDestroy(()=>{o.unsubscribe(),s.delete(i)})}else{let i=()=>e.moduleRef.destroy(),s=e.platformInjector.get(Ya);s.add(i),e.moduleRef.onDestroy(()=>{xn(e.allPlatformModules,e.moduleRef),o.unsubscribe(),s.delete(i)})}return aI(r,n,()=>{let i=t.get(Ze),s=i.add(),a=t.get(Ba);return a.runInitializers(),a.donePromise.then(()=>{let c=t.get(Za,zn);if(Mf(c||zn),!t.get(oI,!0))return Zn(e)?t.get(Gn):(e.allPlatformModules.push(e.moduleRef),e.moduleRef);if(Zn(e)){let u=t.get(Gn);return e.rootComponent!==void 0&&u.bootstrap(e.rootComponent),u}else return sI?.(e.moduleRef,e.allPlatformModules),e.moduleRef}).finally(()=>{i.remove(s)})})})}var sI;function aI(e,t,n){try{let r=n();return Va(r)?r.catch(o=>{throw t.runOutsideAngular(()=>e(o)),o}):r}catch(r){throw t.runOutsideAngular(()=>e(r)),r}}var qo=null;function cI(e=[],t){return xe.create({name:t,providers:[{provide:Zi,useValue:"platform"},{provide:Ya,useValue:new Set([()=>qo=null])},...e]})}function lI(e=[]){if(qo)return qo;let t=cI(e);return qo=t,mf(),uI(t),t}function uI(e){let t=e.get(Qu,null);qr(e,()=>{t?.forEach(n=>n())})}var dI=1e4;var Yk=dI-1e3;var Kk=(()=>{class e{static __NG_ELEMENT_ID__=fI}return e})();function fI(e){return pI(B(),g(),(e&16)===16)}function pI(e,t,n){if(Re(e)&&!n){let r=ce(e.index,t);return new Ke(r,r)}else if(e.type&175){let r=t[ee];return new Ke(r,t)}return null}var Ka=class{constructor(){}supports(t){return La(t)}create(t){return new Ja(t)}},hI=(e,t)=>t,Ja=class{length=0;collection;_linkedRecords=null;_unlinkedRecords=null;_previousItHead=null;_itHead=null;_itTail=null;_additionsHead=null;_additionsTail=null;_movesHead=null;_movesTail=null;_removalsHead=null;_removalsTail=null;_identityChangesHead=null;_identityChangesTail=null;_trackByFn;constructor(t){this._trackByFn=t||hI}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<rp(r,o,i)?n:r,a=rp(s,o,i),c=s.currentIndex;if(s===r)o--,r=r._nextRemoved;else if(n=n._next,s.previousIndex==null)o++;else{i||(i=[]);let l=a-o,u=c-o;if(l!=u){for(let p=0;p<l;p++){let f=p<i.length?i[p]:i[p]=0,h=f+p;u<=h&&h<l&&(i[p]=f+1)}let d=s.previousIndex;i[d]=u-l}}a!==c&&t(s,a,c)}}forEachPreviousItem(t){let n;for(n=this._previousItHead;n!==null;n=n._nextPrevious)t(n)}forEachAddedItem(t){let n;for(n=this._additionsHead;n!==null;n=n._nextAdded)t(n)}forEachMovedItem(t){let n;for(n=this._movesHead;n!==null;n=n._nextMoved)t(n)}forEachRemovedItem(t){let n;for(n=this._removalsHead;n!==null;n=n._nextRemoved)t(n)}forEachIdentityChange(t){let n;for(n=this._identityChangesHead;n!==null;n=n._nextIdentityChange)t(n)}diff(t){if(t==null&&(t=[]),!La(t))throw new b(900,!1);return this.check(t)?this:null}onDestroy(){}check(t){this._reset();let n=this._itHead,r=!1,o,i,s;if(Array.isArray(t)){this.length=t.length;for(let a=0;a<this.length;a++)i=t[a],s=this._trackByFn(a,i),n===null||!Object.is(n.trackById,s)?(n=this._mismatch(n,i,s,a),r=!0):(r&&(n=this._verifyReinsertion(n,i,s,a)),Object.is(n.item,i)||this._addIdentityChange(n,i)),n=n._next}else o=0,Zd(t,a=>{s=this._trackByFn(o,a),n===null||!Object.is(n.trackById,s)?(n=this._mismatch(n,a,s,o),r=!0):(r&&(n=this._verifyReinsertion(n,a,s,o)),Object.is(n.item,a)||this._addIdentityChange(n,a)),n=n._next,o++}),this.length=o;return this._truncate(n),this.collection=t,this.isDirty}get isDirty(){return this._additionsHead!==null||this._movesHead!==null||this._removalsHead!==null||this._identityChangesHead!==null}_reset(){if(this.isDirty){let t;for(t=this._previousItHead=this._itHead;t!==null;t=t._next)t._nextPrevious=t._next;for(t=this._additionsHead;t!==null;t=t._nextAdded)t.previousIndex=t.currentIndex;for(this._additionsHead=this._additionsTail=null,t=this._movesHead;t!==null;t=t._nextMoved)t.previousIndex=t.currentIndex;this._movesHead=this._movesTail=null,this._removalsHead=this._removalsTail=null,this._identityChangesHead=this._identityChangesTail=null}}_mismatch(t,n,r,o){let i;return t===null?i=this._itTail:(i=t._prev,this._remove(t)),t=this._unlinkedRecords===null?null:this._unlinkedRecords.get(r,null),t!==null?(Object.is(t.item,n)||this._addIdentityChange(t,n),this._reinsertAfter(t,i,o)):(t=this._linkedRecords===null?null:this._linkedRecords.get(r,o),t!==null?(Object.is(t.item,n)||this._addIdentityChange(t,n),this._moveAfter(t,i,o)):t=this._addAfter(new Xa(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 Wo),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 Wo),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}},Xa=class{item;trackById;currentIndex=null;previousIndex=null;_nextPrevious=null;_prev=null;_next=null;_prevDup=null;_nextDup=null;_prevRemoved=null;_nextRemoved=null;_nextAdded=null;_nextMoved=null;_nextIdentityChange=null;constructor(t,n){this.item=t,this.trackById=n}},ec=class{_head=null;_tail=null;add(t){this._head===null?(this._head=this._tail=t,t._nextDup=null,t._prevDup=null):(this._tail._nextDup=t,t._prevDup=this._tail,t._nextDup=null,this._tail=t)}get(t,n){let r;for(r=this._head;r!==null;r=r._nextDup)if((n===null||n<=r.currentIndex)&&Object.is(r.trackById,t))return r;return null}remove(t){let n=t._prevDup,r=t._nextDup;return n===null?this._head=r:n._nextDup=r,r===null?this._tail=n:r._prevDup=n,this._head===null}},Wo=class{map=new Map;put(t){let n=t.trackById,r=this.map.get(n);r||(r=new ec,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 rp(e,t,n){let r=e.previousIndex;if(r===null)return r;let o=0;return n&&r<n.length&&(o=n[r]),r+t+o}var tc=class{constructor(){}supports(t){return t instanceof Map||$o(t)}create(){return new nc}},nc=class{_records=new Map;_mapHead=null;_appendAfter=null;_previousMapHead=null;_changesHead=null;_changesTail=null;_additionsHead=null;_additionsTail=null;_removalsHead=null;_removalsTail=null;get isDirty(){return this._additionsHead!==null||this._changesHead!==null||this._removalsHead!==null}forEachItem(t){let n;for(n=this._mapHead;n!==null;n=n._next)t(n)}forEachPreviousItem(t){let n;for(n=this._previousMapHead;n!==null;n=n._nextPrevious)t(n)}forEachChangedItem(t){let n;for(n=this._changesHead;n!==null;n=n._nextChanged)t(n)}forEachAddedItem(t){let n;for(n=this._additionsHead;n!==null;n=n._nextAdded)t(n)}forEachRemovedItem(t){let n;for(n=this._removalsHead;n!==null;n=n._nextRemoved)t(n)}diff(t){if(!t)t=new Map;else if(!(t instanceof Map||$o(t)))throw new b(900,!1);return this.check(t)?this:null}onDestroy(){}check(t){this._reset();let n=this._mapHead;if(this._appendAfter=null,this._forEach(t,(r,o)=>{if(n&&n.key===o)this._maybeAddToChanges(n,r),this._appendAfter=n,n=n._next;else{let i=this._getOrCreateRecordForKey(o,r);n=this._insertBeforeOrAppend(n,i)}}),n){n._prev&&(n._prev._next=null),this._removalsHead=n;for(let r=n;r!==null;r=r._nextRemoved)r===this._mapHead&&(this._mapHead=null),this._records.delete(r.key),r._nextRemoved=r._next,r.previousValue=r.currentValue,r.currentValue=null,r._prev=null,r._next=null}return this._changesTail&&(this._changesTail._nextChanged=null),this._additionsTail&&(this._additionsTail._nextAdded=null),this.isDirty}_insertBeforeOrAppend(t,n){if(t){let r=t._prev;return n._next=t,n._prev=r,t._prev=n,r&&(r._next=n),t===this._mapHead&&(this._mapHead=n),this._appendAfter=t,t}return this._appendAfter?(this._appendAfter._next=n,n._prev=this._appendAfter):this._mapHead=n,this._appendAfter=n,null}_getOrCreateRecordForKey(t,n){if(this._records.has(t)){let o=this._records.get(t);this._maybeAddToChanges(o,n);let i=o._prev,s=o._next;return i&&(i._next=s),s&&(s._prev=i),o._next=null,o._prev=null,o}let r=new rc(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))}},rc=class{key;previousValue=null;currentValue=null;_nextPrevious=null;_next=null;_prev=null;_nextAdded=null;_nextRemoved=null;_nextChanged=null;constructor(t){this.key=t}};function op(){return new gI([new Ka])}var gI=(()=>{class e{factories;static \u0275prov=F({token:e,providedIn:"root",factory:op});constructor(n){this.factories=n}static create(n,r){if(r!=null){let o=r.factories.slice();n=n.concat(o)}return new e(n)}static extend(n){return{provide:e,useFactory:()=>{let r=y(e,{optional:!0,skipSelf:!0});return e.create(n,r||op())}}}find(n){let r=this.factories.find(o=>o.supports(n));if(r!=null)return r;throw new b(901,!1)}}return e})();function ip(){return new mI([new tc])}var mI=(()=>{class e{static \u0275prov=F({token:e,providedIn:"root",factory:ip});factories;constructor(n){this.factories=n}static create(n,r){if(r){let o=r.factories.slice();n=n.concat(o)}return new e(n)}static extend(n){return{provide:e,useFactory:()=>{let r=y(e,{optional:!0,skipSelf:!0});return e.create(n,r||ip())}}}find(n){let r=this.factories.find(o=>o.supports(n));if(r)return r;throw new b(901,!1)}}return e})();function Jk(e){let{rootComponent:t,appProviders:n,platformProviders:r,platformRef:o}=e;A(_.BootstrapApplicationStart);try{let i=o?.injector??lI(r),s=[ep(),Hl,...n||[]],a=new Pn({providers:s,parent:i,debugName:"",runEnvironmentInitializers:!1});return iI({r3Injector:a.injector,platformInjector:i,rootComponent:t})}catch(i){return Promise.reject(i)}finally{A(_.BootstrapApplicationEnd)}}function Xk(e){return typeof e=="boolean"?e:e!=null&&e!=="false"}function eO(e,t=NaN){return!isNaN(parseFloat(e))&&!isNaN(Number(e))?Number(e):t}function tO(e){let t=Ae(e);if(!t)return null;let n=new bt(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 ge=(function(e){return e[e.State=0]="State",e[e.Transition=1]="Transition",e[e.Sequence=2]="Sequence",e[e.Group=3]="Group",e[e.Animate=4]="Animate",e[e.Keyframes=5]="Keyframes",e[e.Style=6]="Style",e[e.Trigger=7]="Trigger",e[e.Reference=8]="Reference",e[e.AnimateChild=9]="AnimateChild",e[e.AnimateRef=10]="AnimateRef",e[e.Query=11]="Query",e[e.Stagger=12]="Stagger",e})(ge||{}),aO="*";function cO(e,t){return{type:ge.Trigger,name:e,definitions:t,options:{}}}function lO(e,t=null){return{type:ge.Animate,styles:t,timings:e}}function uO(e,t=null){return{type:ge.Sequence,steps:e,options:t}}function dO(e){return{type:ge.Style,styles:e,offset:null}}function fO(e,t,n){return{type:ge.State,name:e,styles:t,options:n}}function pO(e,t,n=null){return{type:ge.Transition,expr:e,animation:t,options:n}}function hO(e,t=null){return{type:ge.Reference,animation:e,options:t}}function gO(e=null){return{type:ge.AnimateChild,options:e}}function mO(e,t=null){return{type:ge.AnimateRef,animation:e,options:t}}function yO(e,t,n=null){return{type:ge.Query,selector:e,animation:t,options:n}}var lp=class{_onDoneFns=[];_onStartFns=[];_onDestroyFns=[];_originalOnDoneFns=[];_originalOnStartFns=[];_started=!1;_destroyed=!1;_finished=!1;_position=0;parentPlayer=null;totalTime;constructor(t=0,n=0){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}},up=class{_onDoneFns=[];_onStartFns=[];_finished=!1;_started=!1;_destroyed=!1;_onDestroyFns=[];parentPlayer=null;totalTime=0;players;constructor(t){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}},vO="!";export{q as a,W as b,yI as c,ac as d,j as e,Tp as f,T as g,_e as h,ln as i,dn as j,Fe as k,Pp as l,Lp as m,Fp as n,fn as o,ot as p,Wp as q,it as r,mi as s,Mr as t,zp as u,Qp as v,yi as w,Zp as x,vi as y,Hc as z,Yp as A,Kp as B,Ei as C,Xp as D,eh as E,th as F,nh as G,rh as H,oh as I,Uc as J,b as K,ki as L,Fr as M,F as N,Yc as O,ah as P,x as Q,ye as R,y as S,Ur as T,Zi as U,oe as V,qr as W,Il as X,Dl as Y,Ol as Z,xe as _,Ds as $,Wt as aa,Ze as ba,Me as ca,U as da,ut as ea,Ye as fa,Bl as ga,ve as ha,Ul as ia,Lh as ja,Gl as ka,Zh as la,pg as ma,Bu as na,jn as oa,Dg as pa,Cg as qa,Qu as ra,Tg as sa,wg as ta,_g as ua,Mg as va,Ct as wa,wt as xa,ko as ya,Rg as za,kg as Aa,Og as Ba,Pg as Ca,Lg as Da,va as Ea,sd as Fa,Hn as Ga,lm as Ha,ud as Ia,pm as Ja,hm as Ka,xm as La,Io as Ma,Do as Na,Bn as Oa,Lo as Pa,Rm as Qa,kn as Ra,On as Sa,_y as Ta,qn as Ua,Ny as Va,Uo as Wa,of as Xa,sf as Ya,hv as Za,mv as _a,Ev as $a,Iv as ab,lf as bb,df as cb,Rv as db,Va as eb,kv as fb,gf as gb,Gn as hb,vf as ib,Ef as jb,If as kb,$a as lb,Ua as mb,Df as nb,qa as ob,Wa as pb,Cf as qb,Ga as rb,za as sb,Tf as tb,Lv as ub,wf as vb,Vv as wb,_f as xb,Nf as yb,$v as zb,qv as Ab,Wv as Bb,xf as Cb,Af as Db,zv as Eb,Qv as Fb,Zv as Gb,Lf as Hb,Ff as Ib,cE as Jb,uE as Kb,IE as Lb,Wf as Mb,Qa as Nb,Gf as Ob,Qf as Pb,TE as Qb,Zf as Rb,NE as Sb,SE as Tb,xE as Ub,AE as Vb,RE as Wb,kE as Xb,OE as Yb,PE as Zb,LE as _b,FE as $b,jE as ac,UE as bc,WE as cc,zE as dc,QE as ec,Za as fc,YE as gc,tp as hc,Qk as ic,Zk as jc,Kk as kc,gI as lc,mI as mc,Jk as nc,Xk as oc,eO as pc,tO as qc,ge as rc,aO as sc,cO as tc,lO as uc,uO as vc,dO as wc,fO as xc,pO as yc,hO as zc,gO as Ac,mO as Bc,yO as Cc,lp as Dc,up as Ec,vO as Fc};
|