-
Notifications
You must be signed in to change notification settings - Fork 0
/
chunk-4ABEXS3U.js
8 lines (8 loc) · 264 KB
/
chunk-4ABEXS3U.js
1
2
3
4
5
6
7
8
var Dm=Object.defineProperty,wm=Object.defineProperties;var Im=Object.getOwnPropertyDescriptors;var eo=Object.getOwnPropertySymbols;var Al=Object.prototype.hasOwnProperty,_l=Object.prototype.propertyIsEnumerable;var xl=(t,e,n)=>e in t?Dm(t,e,{enumerable:!0,configurable:!0,writable:!0,value:n}):t[e]=n,D=(t,e)=>{for(var n in e||={})Al.call(e,n)&&xl(t,n,e[n]);if(eo)for(var n of eo(e))_l.call(e,n)&&xl(t,n,e[n]);return t},U=(t,e)=>wm(t,Im(e));var Em=(t,e)=>{var n={};for(var r in t)Al.call(t,r)&&e.indexOf(r)<0&&(n[r]=t[r]);if(t!=null&&eo)for(var r of eo(t))e.indexOf(r)<0&&_l.call(t,r)&&(n[r]=t[r]);return n};var bs=(t,e,n)=>new Promise((r,o)=>{var i=c=>{try{a(n.next(c))}catch(u){o(u)}},s=c=>{try{a(n.throw(c))}catch(u){o(u)}},a=c=>c.done?r(c.value):Promise.resolve(c.value).then(i,s);a((n=n.apply(t,e)).next())});function x(t){return typeof t=="function"}function to(t){return t&&x(t.schedule)}function Nl(t){return t[t.length-1]}function no(t){return x(Nl(t))?t.pop():void 0}function vt(t){return to(Nl(t))?t.pop():void 0}function Ol(t,e,n,r){function o(i){return i instanceof n?i:new n(function(s){s(i)})}return new(n||(n=Promise))(function(i,s){function a(l){try{u(r.next(l))}catch(d){s(d)}}function c(l){try{u(r.throw(l))}catch(d){s(d)}}function u(l){l.done?i(l.value):o(l.value).then(a,c)}u((r=r.apply(t,e||[])).next())})}function Rl(t){var e=typeof Symbol=="function"&&Symbol.iterator,n=e&&t[e],r=0;if(n)return n.call(t);if(t&&typeof t.length=="number")return{next:function(){return t&&r>=t.length&&(t=void 0),{value:t&&t[r++],done:!t}}};throw new TypeError(e?"Object is not iterable.":"Symbol.iterator is not defined.")}function Pt(t){return this instanceof Pt?(this.v=t,this):new Pt(t)}function Pl(t,e,n){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var r=n.apply(t,e||[]),o,i=[];return o={},s("next"),s("throw"),s("return"),o[Symbol.asyncIterator]=function(){return this},o;function s(f){r[f]&&(o[f]=function(h){return new Promise(function(p,m){i.push([f,h,p,m])>1||a(f,h)})})}function a(f,h){try{c(r[f](h))}catch(p){d(i[0][3],p)}}function c(f){f.value instanceof Pt?Promise.resolve(f.value.v).then(u,l):d(i[0][2],f)}function u(f){a("next",f)}function l(f){a("throw",f)}function d(f,h){f(h),i.shift(),i.length&&a(i[0][0],i[0][1])}}function Fl(t){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var e=t[Symbol.asyncIterator],n;return e?e.call(t):(t=typeof Rl=="function"?Rl(t):t[Symbol.iterator](),n={},r("next"),r("throw"),r("return"),n[Symbol.asyncIterator]=function(){return this},n);function r(i){n[i]=t[i]&&function(s){return new Promise(function(a,c){s=t[i](s),o(a,c,s.done,s.value)})}}function o(i,s,a,c){Promise.resolve(c).then(function(u){i({value:u,done:a})},s)}}var ro=t=>t&&typeof t.length=="number"&&typeof t!="function";function oo(t){return x(t?.then)}function an(t){let n=t(r=>{Error.call(r),r.stack=new Error().stack});return n.prototype=Object.create(Error.prototype),n.prototype.constructor=n,n}var io=an(t=>function(n){t(this),this.message=n?`${n.length} errors occurred during unsubscription:
${n.map((r,o)=>`${o+1}) ${r.toString()}`).join(`
`)}`:"",this.name="UnsubscriptionError",this.errors=n});function Ft(t,e){if(t){let n=t.indexOf(e);0<=n&&t.splice(n,1)}}var W=class t{constructor(e){this.initialTeardown=e,this.closed=!1,this._parentage=null,this._finalizers=null}unsubscribe(){let e;if(!this.closed){this.closed=!0;let{_parentage:n}=this;if(n)if(this._parentage=null,Array.isArray(n))for(let i of n)i.remove(this);else n.remove(this);let{initialTeardown:r}=this;if(x(r))try{r()}catch(i){e=i instanceof io?i.errors:[i]}let{_finalizers:o}=this;if(o){this._finalizers=null;for(let i of o)try{kl(i)}catch(s){e=e??[],s instanceof io?e=[...e,...s.errors]:e.push(s)}}if(e)throw new io(e)}}add(e){var n;if(e&&e!==this)if(this.closed)kl(e);else{if(e instanceof t){if(e.closed||e._hasParent(this))return;e._addParent(this)}(this._finalizers=(n=this._finalizers)!==null&&n!==void 0?n:[]).push(e)}}_hasParent(e){let{_parentage:n}=this;return n===e||Array.isArray(n)&&n.includes(e)}_addParent(e){let{_parentage:n}=this;this._parentage=Array.isArray(n)?(n.push(e),n):n?[n,e]:e}_removeParent(e){let{_parentage:n}=this;n===e?this._parentage=null:Array.isArray(n)&&Ft(n,e)}remove(e){let{_finalizers:n}=this;n&&Ft(n,e),e instanceof t&&e._removeParent(this)}};W.EMPTY=(()=>{let t=new W;return t.closed=!0,t})();var Ms=W.EMPTY;function so(t){return t instanceof W||t&&"closed"in t&&x(t.remove)&&x(t.add)&&x(t.unsubscribe)}function kl(t){x(t)?t():t.unsubscribe()}var Re={onUnhandledError:null,onStoppedNotification:null,Promise:void 0,useDeprecatedSynchronousErrorHandling:!1,useDeprecatedNextContext:!1};var cn={setTimeout(t,e,...n){let{delegate:r}=cn;return r?.setTimeout?r.setTimeout(t,e,...n):setTimeout(t,e,...n)},clearTimeout(t){let{delegate:e}=cn;return(e?.clearTimeout||clearTimeout)(t)},delegate:void 0};function ao(t){cn.setTimeout(()=>{let{onUnhandledError:e}=Re;if(e)e(t);else throw t})}function Xn(){}var Ll=Ts("C",void 0,void 0);function jl(t){return Ts("E",void 0,t)}function Vl(t){return Ts("N",t,void 0)}function Ts(t,e,n){return{kind:t,value:e,error:n}}var kt=null;function un(t){if(Re.useDeprecatedSynchronousErrorHandling){let e=!kt;if(e&&(kt={errorThrown:!1,error:null}),t(),e){let{errorThrown:n,error:r}=kt;if(kt=null,n)throw r}}else t()}function $l(t){Re.useDeprecatedSynchronousErrorHandling&&kt&&(kt.errorThrown=!0,kt.error=t)}var Lt=class extends W{constructor(e){super(),this.isStopped=!1,e?(this.destination=e,so(e)&&e.add(this)):this.destination=Mm}static create(e,n,r){return new ln(e,n,r)}next(e){this.isStopped?xs(Vl(e),this):this._next(e)}error(e){this.isStopped?xs(jl(e),this):(this.isStopped=!0,this._error(e))}complete(){this.isStopped?xs(Ll,this):(this.isStopped=!0,this._complete())}unsubscribe(){this.closed||(this.isStopped=!0,super.unsubscribe(),this.destination=null)}_next(e){this.destination.next(e)}_error(e){try{this.destination.error(e)}finally{this.unsubscribe()}}_complete(){try{this.destination.complete()}finally{this.unsubscribe()}}},Cm=Function.prototype.bind;function Ss(t,e){return Cm.call(t,e)}var As=class{constructor(e){this.partialObserver=e}next(e){let{partialObserver:n}=this;if(n.next)try{n.next(e)}catch(r){co(r)}}error(e){let{partialObserver:n}=this;if(n.error)try{n.error(e)}catch(r){co(r)}else co(e)}complete(){let{partialObserver:e}=this;if(e.complete)try{e.complete()}catch(n){co(n)}}},ln=class extends Lt{constructor(e,n,r){super();let o;if(x(e)||!e)o={next:e??void 0,error:n??void 0,complete:r??void 0};else{let i;this&&Re.useDeprecatedNextContext?(i=Object.create(e),i.unsubscribe=()=>this.unsubscribe(),o={next:e.next&&Ss(e.next,i),error:e.error&&Ss(e.error,i),complete:e.complete&&Ss(e.complete,i)}):o=e}this.destination=new As(o)}};function co(t){Re.useDeprecatedSynchronousErrorHandling?$l(t):ao(t)}function bm(t){throw t}function xs(t,e){let{onStoppedNotification:n}=Re;n&&cn.setTimeout(()=>n(t,e))}var Mm={closed:!0,next:Xn,error:bm,complete:Xn};var dn=typeof Symbol=="function"&&Symbol.observable||"@@observable";function ue(t){return t}function _s(...t){return Ns(t)}function Ns(t){return t.length===0?ue:t.length===1?t[0]:function(n){return t.reduce((r,o)=>o(r),n)}}var F=(()=>{class t{constructor(n){n&&(this._subscribe=n)}lift(n){let r=new t;return r.source=this,r.operator=n,r}subscribe(n,r,o){let i=Sm(n)?n:new ln(n,r,o);return un(()=>{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=Ul(r),new r((o,i)=>{let s=new ln({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)}[dn](){return this}pipe(...n){return Ns(n)(this)}toPromise(n){return n=Ul(n),new n((r,o)=>{let i;this.subscribe(s=>i=s,s=>o(s),()=>r(i))})}}return t.create=e=>new t(e),t})();function Ul(t){var e;return(e=t??Re.Promise)!==null&&e!==void 0?e:Promise}function Tm(t){return t&&x(t.next)&&x(t.error)&&x(t.complete)}function Sm(t){return t&&t instanceof Lt||Tm(t)&&so(t)}function uo(t){return x(t[dn])}function lo(t){return Symbol.asyncIterator&&x(t?.[Symbol.asyncIterator])}function fo(t){return new TypeError(`You provided ${t!==null&&typeof t=="object"?"an invalid object":`'${t}'`} where a stream was expected. You can provide an Observable, Promise, ReadableStream, Array, AsyncIterable, or Iterable.`)}function xm(){return typeof Symbol!="function"||!Symbol.iterator?"@@iterator":Symbol.iterator}var ho=xm();function po(t){return x(t?.[ho])}function go(t){return Pl(this,arguments,function*(){let n=t.getReader();try{for(;;){let{value:r,done:o}=yield Pt(n.read());if(o)return yield Pt(void 0);yield yield Pt(r)}}finally{n.releaseLock()}})}function mo(t){return x(t?.getReader)}function z(t){if(t instanceof F)return t;if(t!=null){if(uo(t))return Am(t);if(ro(t))return _m(t);if(oo(t))return Nm(t);if(lo(t))return Bl(t);if(po(t))return Rm(t);if(mo(t))return Om(t)}throw fo(t)}function Am(t){return new F(e=>{let n=t[dn]();if(x(n.subscribe))return n.subscribe(e);throw new TypeError("Provided object does not correctly implement Symbol.observable")})}function _m(t){return new F(e=>{for(let n=0;n<t.length&&!e.closed;n++)e.next(t[n]);e.complete()})}function Nm(t){return new F(e=>{t.then(n=>{e.closed||(e.next(n),e.complete())},n=>e.error(n)).then(null,ao)})}function Rm(t){return new F(e=>{for(let n of t)if(e.next(n),e.closed)return;e.complete()})}function Bl(t){return new F(e=>{Pm(t,e).catch(n=>e.error(n))})}function Om(t){return Bl(go(t))}function Pm(t,e){var n,r,o,i;return Ol(this,void 0,void 0,function*(){try{for(n=Fl(t);r=yield n.next(),!r.done;){let s=r.value;if(e.next(s),e.closed)return}}catch(s){o={error:s}}finally{try{r&&!r.done&&(i=n.return)&&(yield i.call(n))}finally{if(o)throw o.error}}e.complete()})}function pe(t,e,n,r=0,o=!1){let i=e.schedule(function(){n(),o?t.add(this.schedule(null,r)):this.unsubscribe()},r);if(t.add(i),!o)return i}function Rs(t){return x(t?.lift)}function O(t){return e=>{if(Rs(e))return e.lift(function(n){try{return t(n,this)}catch(r){this.error(r)}});throw new TypeError("Unable to lift unknown Observable type")}}function A(t,e,n,r,o){return new Os(t,e,n,r,o)}var Os=class extends Lt{constructor(e,n,r,o,i,s){super(e),this.onFinalize=i,this.shouldUnsubscribe=s,this._next=n?function(a){try{n(a)}catch(c){e.error(c)}}:super._next,this._error=o?function(a){try{o(a)}catch(c){e.error(c)}finally{this.unsubscribe()}}:super._error,this._complete=r?function(){try{r()}catch(a){e.error(a)}finally{this.unsubscribe()}}:super._complete}unsubscribe(){var e;if(!this.shouldUnsubscribe||this.shouldUnsubscribe()){let{closed:n}=this;super.unsubscribe(),!n&&((e=this.onFinalize)===null||e===void 0||e.call(this))}}};function vo(t,e=0){return O((n,r)=>{n.subscribe(A(r,o=>pe(r,t,()=>r.next(o),e),()=>pe(r,t,()=>r.complete(),e),o=>pe(r,t,()=>r.error(o),e)))})}function yo(t,e=0){return O((n,r)=>{r.add(t.schedule(()=>n.subscribe(r),e))})}function Hl(t,e){return z(t).pipe(yo(e),vo(e))}function zl(t,e){return z(t).pipe(yo(e),vo(e))}function ql(t,e){return new F(n=>{let r=0;return e.schedule(function(){r===t.length?n.complete():(n.next(t[r++]),n.closed||this.schedule())})})}function Gl(t,e){return new F(n=>{let r;return pe(n,e,()=>{r=t[ho](),pe(n,e,()=>{let o,i;try{({value:o,done:i}=r.next())}catch(s){n.error(s);return}i?n.complete():n.next(o)},0,!0)}),()=>x(r?.return)&&r.return()})}function Do(t,e){if(!t)throw new Error("Iterable cannot be null");return new F(n=>{pe(n,e,()=>{let r=t[Symbol.asyncIterator]();pe(n,e,()=>{r.next().then(o=>{o.done?n.complete():n.next(o.value)})},0,!0)})})}function Wl(t,e){return Do(go(t),e)}function Zl(t,e){if(t!=null){if(uo(t))return Hl(t,e);if(ro(t))return ql(t,e);if(oo(t))return zl(t,e);if(lo(t))return Do(t,e);if(po(t))return Gl(t,e);if(mo(t))return Wl(t,e)}throw fo(t)}function q(t,e){return e?Zl(t,e):z(t)}function b(...t){let e=vt(t);return q(t,e)}function fn(t,e){let n=x(t)?t:()=>t,r=o=>o.error(n());return new F(e?o=>e.schedule(r,0,o):r)}function R(t,e){return O((n,r)=>{let o=0;n.subscribe(A(r,i=>{r.next(t.call(e,i,o++))}))})}function Je(t){return O((e,n)=>{let r=null,o=!1,i;r=e.subscribe(A(n,void 0,void 0,s=>{i=z(t(s,Je(t)(e))),r?(r.unsubscribe(),r=null,i.subscribe(n)):o=!0})),o&&(r.unsubscribe(),r=null,i.subscribe(n))})}var wo=class extends W{constructor(e,n){super()}schedule(e,n=0){return this}};var er={setInterval(t,e,...n){let{delegate:r}=er;return r?.setInterval?r.setInterval(t,e,...n):setInterval(t,e,...n)},clearInterval(t){let{delegate:e}=er;return(e?.clearInterval||clearInterval)(t)},delegate:void 0};var Io=class extends wo{constructor(e,n){super(e,n),this.scheduler=e,this.work=n,this.pending=!1}schedule(e,n=0){var r;if(this.closed)return this;this.state=e;let o=this.id,i=this.scheduler;return o!=null&&(this.id=this.recycleAsyncId(i,o,n)),this.pending=!0,this.delay=n,this.id=(r=this.id)!==null&&r!==void 0?r:this.requestAsyncId(i,this.id,n),this}requestAsyncId(e,n,r=0){return er.setInterval(e.flush.bind(e,this),r)}recycleAsyncId(e,n,r=0){if(r!=null&&this.delay===r&&this.pending===!1)return n;n!=null&&er.clearInterval(n)}execute(e,n){if(this.closed)return new Error("executing a cancelled action");this.pending=!1;let r=this._execute(e,n);if(r)return r;this.pending===!1&&this.id!=null&&(this.id=this.recycleAsyncId(this.scheduler,this.id,null))}_execute(e,n){let r=!1,o;try{this.work(e)}catch(i){r=!0,o=i||new Error("Scheduled action threw falsy error")}if(r)return this.unsubscribe(),o}unsubscribe(){if(!this.closed){let{id:e,scheduler:n}=this,{actions:r}=n;this.work=this.state=this.scheduler=null,this.pending=!1,Ft(r,this),e!=null&&(this.id=this.recycleAsyncId(n,e,null)),this.delay=null,super.unsubscribe()}}};var Ps={now(){return(Ps.delegate||Date).now()},delegate:void 0};var hn=class t{constructor(e,n=t.now){this.schedulerActionCtor=e,this.now=n}schedule(e,n=0,r){return new this.schedulerActionCtor(this,e).schedule(r,n)}};hn.now=Ps.now;var Eo=class extends hn{constructor(e,n=hn.now){super(e,n),this.actions=[],this._active=!1}flush(e){let{actions:n}=this;if(this._active){n.push(e);return}let r;this._active=!0;do if(r=e.execute(e.state,e.delay))break;while(e=n.shift());if(this._active=!1,r){for(;e=n.shift();)e.unsubscribe();throw r}}};var Fs=new Eo(Io),Yl=Fs;function Ql(t){return t instanceof Date&&!isNaN(t)}function Kl(t=0,e,n=Yl){let r=-1;return e!=null&&(to(e)?n=e:r=e),new F(o=>{let i=Ql(t)?+t-n.now():t;i<0&&(i=0);let s=0;return n.schedule(function(){o.closed||(o.next(s++),0<=r?this.schedule(void 0,r):o.complete())},i)})}function Jl(t=1/0){let e;t&&typeof t=="object"?e=t:e={count:t};let{count:n=1/0,delay:r,resetOnSuccess:o=!1}=e;return n<=0?ue:O((i,s)=>{let a=0,c,u=()=>{let l=!1;c=i.subscribe(A(s,d=>{o&&(a=0),s.next(d)},void 0,d=>{if(a++<n){let f=()=>{c?(c.unsubscribe(),c=null,u()):l=!0};if(r!=null){let h=typeof r=="number"?Kl(r):z(r(d,a)),p=A(s,()=>{p.unsubscribe(),f()},()=>{s.complete()});h.subscribe(p)}else f()}else s.error(d)})),l&&(c.unsubscribe(),c=null,u())};u()})}function ge(t,e){return O((n,r)=>{let o=null,i=0,s=!1,a=()=>s&&!o&&r.complete();n.subscribe(A(r,c=>{o?.unsubscribe();let u=0,l=i++;z(t(c,l)).subscribe(o=A(r,d=>r.next(e?e(c,d,l,u++):d),()=>{o=null,a()}))},()=>{s=!0,a()}))})}function pn(){return O((t,e)=>{let n=null;t._refCount++;let r=A(e,void 0,void 0,void 0,()=>{if(!t||t._refCount<=0||0<--t._refCount){n=null;return}let o=t._connection,i=n;n=null,o&&(!i||o===i)&&o.unsubscribe(),e.unsubscribe()});t.subscribe(r),r.closed||(n=t.connect())})}var gn=class extends F{constructor(e,n){super(),this.source=e,this.subjectFactory=n,this._subject=null,this._refCount=0,this._connection=null,Rs(e)&&(this.lift=e.lift)}_subscribe(e){return this.getSubject().subscribe(e)}getSubject(){let e=this._subject;return(!e||e.isStopped)&&(this._subject=this.subjectFactory()),this._subject}_teardown(){this._refCount=0;let{_connection:e}=this;this._subject=this._connection=null,e?.unsubscribe()}connect(){let e=this._connection;if(!e){e=this._connection=new W;let n=this.getSubject();e.add(this.source.subscribe(A(n,void 0,()=>{this._teardown(),n.complete()},r=>{this._teardown(),n.error(r)},()=>this._teardown()))),e.closed&&(this._connection=null,e=W.EMPTY)}return e}refCount(){return pn()(this)}};var Xl=an(t=>function(){t(this),this.name="ObjectUnsubscribedError",this.message="object unsubscribed"});var se=(()=>{class t extends F{constructor(){super(),this.closed=!1,this.currentObservers=null,this.observers=[],this.isStopped=!1,this.hasError=!1,this.thrownError=null}lift(n){let r=new Co(this,this);return r.operator=n,r}_throwIfClosed(){if(this.closed)throw new Xl}next(n){un(()=>{if(this._throwIfClosed(),!this.isStopped){this.currentObservers||(this.currentObservers=Array.from(this.observers));for(let r of this.currentObservers)r.next(n)}})}error(n){un(()=>{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(){un(()=>{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?Ms:(this.currentObservers=null,i.push(n),new W(()=>{this.currentObservers=null,Ft(i,n)}))}_checkFinalizedStatuses(n){let{hasError:r,thrownError:o,isStopped:i}=this;r?n.error(o):i&&n.complete()}asObservable(){let n=new F;return n.source=this,n}}return t.create=(e,n)=>new Co(e,n),t})(),Co=class extends se{constructor(e,n){super(),this.destination=e,this.source=n}next(e){var n,r;(r=(n=this.destination)===null||n===void 0?void 0:n.next)===null||r===void 0||r.call(n,e)}error(e){var n,r;(r=(n=this.destination)===null||n===void 0?void 0:n.error)===null||r===void 0||r.call(n,e)}complete(){var e,n;(n=(e=this.destination)===null||e===void 0?void 0:e.complete)===null||n===void 0||n.call(e)}_subscribe(e){var n,r;return(r=(n=this.source)===null||n===void 0?void 0:n.subscribe(e))!==null&&r!==void 0?r:Ms}};var ne=class extends se{constructor(e){super(),this._value=e}get value(){return this.getValue()}_subscribe(e){let n=super._subscribe(e);return!n.closed&&e.next(this._value),n}getValue(){let{hasError:e,thrownError:n,_value:r}=this;if(e)throw n;return this._throwIfClosed(),r}next(e){super.next(this._value=e)}};var we=new F(t=>t.complete());function ks(t){return!!t&&(t instanceof F||x(t.lift)&&x(t.subscribe))}var Xe=an(t=>function(){t(this),this.name="EmptyError",this.message="no elements in sequence"});var{isArray:Fm}=Array;function km(t,e){return Fm(e)?t(...e):t(e)}function bo(t){return R(e=>km(t,e))}var{isArray:Lm}=Array,{getPrototypeOf:jm,prototype:Vm,keys:$m}=Object;function Mo(t){if(t.length===1){let e=t[0];if(Lm(e))return{args:e,keys:null};if(Um(e)){let n=$m(e);return{args:n.map(r=>e[r]),keys:n}}}return{args:t,keys:null}}function Um(t){return t&&typeof t=="object"&&jm(t)===Vm}function To(t,e){return t.reduce((n,r,o)=>(n[r]=e[o],n),{})}function So(...t){let e=vt(t),n=no(t),{args:r,keys:o}=Mo(t);if(r.length===0)return q([],e);let i=new F(Bm(r,e,o?s=>To(o,s):ue));return n?i.pipe(bo(n)):i}function Bm(t,e,n=ue){return r=>{ed(e,()=>{let{length:o}=t,i=new Array(o),s=o,a=o;for(let c=0;c<o;c++)ed(e,()=>{let u=q(t[c],e),l=!1;u.subscribe(A(r,d=>{i[c]=d,l||(l=!0,a--),a||r.next(n(i.slice()))},()=>{--s||r.complete()}))},r)},r)}}function ed(t,e,n){t?pe(n,t,e):e()}function td(t,e,n,r,o,i,s,a){let c=[],u=0,l=0,d=!1,f=()=>{d&&!c.length&&!u&&e.complete()},h=m=>u<r?p(m):c.push(m),p=m=>{i&&e.next(m),u++;let y=!1;z(n(m,l++)).subscribe(A(e,v=>{o?.(v),i?h(v):e.next(v)},()=>{y=!0},void 0,()=>{if(y)try{for(u--;c.length&&u<r;){let v=c.shift();s?pe(e,s,()=>p(v)):p(v)}f()}catch(v){e.error(v)}}))};return t.subscribe(A(e,h,()=>{d=!0,f()})),()=>{a?.()}}function Z(t,e,n=1/0){return x(e)?Z((r,o)=>R((i,s)=>e(r,i,o,s))(z(t(r,o))),n):(typeof e=="number"&&(n=e),O((r,o)=>td(r,o,t,n)))}function mn(t=1/0){return Z(ue,t)}function nd(){return mn(1)}function vn(...t){return nd()(q(t,vt(t)))}function xo(t){return new F(e=>{z(t()).subscribe(e)})}function Hm(...t){let e=no(t),{args:n,keys:r}=Mo(t),o=new F(i=>{let{length:s}=n;if(!s){i.complete();return}let a=new Array(s),c=s,u=s;for(let l=0;l<s;l++){let d=!1;z(n[l]).subscribe(A(i,f=>{d||(d=!0,u--),a[l]=f},()=>c--,void 0,()=>{(!c||!d)&&(u||i.next(r?To(r,a):a),i.complete())}))}});return e?o.pipe(bo(e)):o}function ae(t,e){return O((n,r)=>{let o=0;n.subscribe(A(r,i=>t.call(e,i,o++)&&r.next(i)))})}function rd(t,e,n,r,o){return(i,s)=>{let a=n,c=e,u=0;i.subscribe(A(s,l=>{let d=u++;c=a?t(c,l,d):(a=!0,l),r&&s.next(c)},o&&(()=>{a&&s.next(c),s.complete()})))}}function yt(t,e){return x(e)?Z(t,e,1):Z(t,1)}function zm(t,e=Fs){return O((n,r)=>{let o=null,i=null,s=null,a=()=>{if(o){o.unsubscribe(),o=null;let u=i;i=null,r.next(u)}};function c(){let u=s+t,l=e.now();if(l<u){o=this.schedule(void 0,u-l),r.add(o);return}a()}n.subscribe(A(r,u=>{i=u,s=e.now(),o||(o=e.schedule(c,t),r.add(o))},()=>{a(),r.complete()},void 0,()=>{i=o=null}))})}function Dt(t){return O((e,n)=>{let r=!1;e.subscribe(A(n,o=>{r=!0,n.next(o)},()=>{r||n.next(t),n.complete()}))})}function et(t){return t<=0?()=>we:O((e,n)=>{let r=0;e.subscribe(A(n,o=>{++r<=t&&(n.next(o),t<=r&&n.complete())}))})}function Ls(t){return R(()=>t)}function Ao(t=qm){return O((e,n)=>{let r=!1;e.subscribe(A(n,o=>{r=!0,n.next(o)},()=>r?n.complete():n.error(t())))})}function qm(){return new Xe}function wt(t){return O((e,n)=>{try{e.subscribe(n)}finally{n.add(t)}})}function $e(t,e){let n=arguments.length>=2;return r=>r.pipe(t?ae((o,i)=>t(o,i,r)):ue,et(1),n?Dt(e):Ao(()=>new Xe))}function yn(t){return t<=0?()=>we:O((e,n)=>{let r=[];e.subscribe(A(n,o=>{r.push(o),t<r.length&&r.shift()},()=>{for(let o of r)n.next(o);n.complete()},void 0,()=>{r=null}))})}function js(t,e){let n=arguments.length>=2;return r=>r.pipe(t?ae((o,i)=>t(o,i,r)):ue,yn(1),n?Dt(e):Ao(()=>new Xe))}function Vs(t,e){return O(rd(t,e,arguments.length>=2,!0))}function Gm(t){return ae((e,n)=>t<=n)}function $s(...t){let e=vt(t);return O((n,r)=>{(e?vn(t,n,e):vn(t,n)).subscribe(r)})}function _o(t){return O((e,n)=>{z(t).subscribe(A(n,()=>n.complete(),Xn)),!n.closed&&e.subscribe(n)})}function K(t,e,n){let r=x(t)||e||n?{next:t,error:e,complete:n}:t;return r?O((o,i)=>{var s;(s=r.subscribe)===null||s===void 0||s.call(r);let a=!0;o.subscribe(A(i,c=>{var u;(u=r.next)===null||u===void 0||u.call(r,c),i.next(c)},()=>{var c;a=!1,(c=r.complete)===null||c===void 0||c.call(r),i.complete()},c=>{var u;a=!1,(u=r.error)===null||u===void 0||u.call(r,c),i.error(c)},()=>{var c,u;a&&((c=r.unsubscribe)===null||c===void 0||c.call(r)),(u=r.finalize)===null||u===void 0||u.call(r)}))}):ue}function od(t,e){return Object.is(t,e)}var J=null,tr=!1,No=1,Ue=Symbol("SIGNAL");function k(t){let e=J;return J=t,e}function Wm(){return tr}var rr={version:0,lastCleanEpoch:0,dirty:!1,producerNode:void 0,producerLastReadVersion:void 0,producerIndexOfThis:void 0,nextProducerIndex:0,liveConsumerNode:void 0,liveConsumerIndexOfThis:void 0,consumerAllowSignalWrites:!1,consumerIsAlwaysLive:!1,producerMustRecompute:()=>!1,producerRecomputeValue:()=>{},consumerMarkedDirty:()=>{},consumerOnSignalRead:()=>{}};function zs(t){if(tr)throw new Error("");if(J===null)return;J.consumerOnSignalRead(t);let e=J.nextProducerIndex++;if(Dn(J),e<J.producerNode.length&&J.producerNode[e]!==t&&nr(J)){let n=J.producerNode[e];ko(n,J.producerIndexOfThis[e])}J.producerNode[e]!==t&&(J.producerNode[e]=t,J.producerIndexOfThis[e]=nr(J)?ud(t,J,e):0),J.producerLastReadVersion[e]=t.version}function Zm(){No++}function id(t){if(!(nr(t)&&!t.dirty)&&!(!t.dirty&&t.lastCleanEpoch===No)){if(!t.producerMustRecompute(t)&&!Fo(t)){t.dirty=!1,t.lastCleanEpoch=No;return}t.producerRecomputeValue(t),t.dirty=!1,t.lastCleanEpoch=No}}function sd(t){if(t.liveConsumerNode===void 0)return;let e=tr;tr=!0;try{for(let n of t.liveConsumerNode)n.dirty||cd(n)}finally{tr=e}}function ad(){return J?.consumerAllowSignalWrites!==!1}function cd(t){t.dirty=!0,sd(t),t.consumerMarkedDirty?.(t)}function Oo(t){return t&&(t.nextProducerIndex=0),k(t)}function Po(t,e){if(k(e),!(!t||t.producerNode===void 0||t.producerIndexOfThis===void 0||t.producerLastReadVersion===void 0)){if(nr(t))for(let n=t.nextProducerIndex;n<t.producerNode.length;n++)ko(t.producerNode[n],t.producerIndexOfThis[n]);for(;t.producerNode.length>t.nextProducerIndex;)t.producerNode.pop(),t.producerLastReadVersion.pop(),t.producerIndexOfThis.pop()}}function Fo(t){Dn(t);for(let e=0;e<t.producerNode.length;e++){let n=t.producerNode[e],r=t.producerLastReadVersion[e];if(r!==n.version||(id(n),r!==n.version))return!0}return!1}function qs(t){if(Dn(t),nr(t))for(let e=0;e<t.producerNode.length;e++)ko(t.producerNode[e],t.producerIndexOfThis[e]);t.producerNode.length=t.producerLastReadVersion.length=t.producerIndexOfThis.length=0,t.liveConsumerNode&&(t.liveConsumerNode.length=t.liveConsumerIndexOfThis.length=0)}function ud(t,e,n){if(ld(t),Dn(t),t.liveConsumerNode.length===0)for(let r=0;r<t.producerNode.length;r++)t.producerIndexOfThis[r]=ud(t.producerNode[r],t,r);return t.liveConsumerIndexOfThis.push(n),t.liveConsumerNode.push(e)-1}function ko(t,e){if(ld(t),Dn(t),t.liveConsumerNode.length===1)for(let r=0;r<t.producerNode.length;r++)ko(t.producerNode[r],t.producerIndexOfThis[r]);let n=t.liveConsumerNode.length-1;if(t.liveConsumerNode[e]=t.liveConsumerNode[n],t.liveConsumerIndexOfThis[e]=t.liveConsumerIndexOfThis[n],t.liveConsumerNode.length--,t.liveConsumerIndexOfThis.length--,e<t.liveConsumerNode.length){let r=t.liveConsumerIndexOfThis[e],o=t.liveConsumerNode[e];Dn(o),o.producerIndexOfThis[r]=e}}function nr(t){return t.consumerIsAlwaysLive||(t?.liveConsumerNode?.length??0)>0}function Dn(t){t.producerNode??=[],t.producerIndexOfThis??=[],t.producerLastReadVersion??=[]}function ld(t){t.liveConsumerNode??=[],t.liveConsumerIndexOfThis??=[]}function dd(t){let e=Object.create(Ym);e.computation=t;let n=()=>{if(id(e),zs(e),e.value===Ro)throw e.error;return e.value};return n[Ue]=e,n}var Us=Symbol("UNSET"),Bs=Symbol("COMPUTING"),Ro=Symbol("ERRORED"),Ym=U(D({},rr),{value:Us,dirty:!0,error:null,equal:od,producerMustRecompute(t){return t.value===Us||t.value===Bs},producerRecomputeValue(t){if(t.value===Bs)throw new Error("Detected cycle in computations.");let e=t.value;t.value=Bs;let n=Oo(t),r;try{r=t.computation()}catch(o){r=Ro,t.error=o}finally{Po(t,n)}if(e!==Us&&e!==Ro&&r!==Ro&&t.equal(e,r)){t.value=e;return}t.value=r,t.version++}});function Qm(){throw new Error}var fd=Qm;function hd(){fd()}function pd(t){fd=t}var Km=null;function gd(t){let e=Object.create(vd);e.value=t;let n=()=>(zs(e),e.value);return n[Ue]=e,n}function Gs(t,e){ad()||hd(),t.equal(t.value,e)||(t.value=e,Jm(t))}function md(t,e){ad()||hd(),Gs(t,e(t.value))}var vd=U(D({},rr),{equal:od,value:void 0});function Jm(t){t.version++,Zm(),sd(t),Km?.()}function yd(t,e,n){let r=Object.create(Xm);n&&(r.consumerAllowSignalWrites=!0),r.fn=t,r.schedule=e;let o=c=>{r.cleanupFn=c};function i(c){return c.fn===null&&c.schedule===null}function s(c){i(c)||(qs(c),c.cleanupFn(),c.fn=null,c.schedule=null,c.cleanupFn=Hs)}let a=()=>{if(r.fn===null)return;if(Wm())throw new Error("Schedulers cannot synchronously execute watches while scheduling.");if(r.dirty=!1,r.hasRun&&!Fo(r))return;r.hasRun=!0;let c=Oo(r);try{r.cleanupFn(),r.cleanupFn=Hs,r.fn(o)}finally{Po(r,c)}};return r.ref={notify:()=>cd(r),run:a,cleanup:()=>r.cleanupFn(),destroy:()=>s(r),[Ue]:r},r.ref}var Hs=()=>{},Xm=U(D({},rr),{consumerIsAlwaysLive:!0,consumerAllowSignalWrites:!1,consumerMarkedDirty:t=>{t.schedule!==null&&t.schedule(t.ref)},hasRun:!1,cleanupFn:Hs});var hf="https://g.co/ng/security#xss",w=class extends Error{constructor(e,n){super(Di(e,n)),this.code=e}};function Di(t,e){return`${`NG0${Math.abs(t)}`}${e?": "+e:""}`}function yr(t){return{toString:t}.toString()}var Lo="__parameters__";function ev(t){return function(...n){if(t){let r=t(...n);for(let o in r)this[o]=r[o]}}}function pf(t,e,n){return yr(()=>{let r=ev(e);function o(...i){if(this instanceof o)return r.apply(this,i),this;let s=new o(...i);return a.annotation=s,a;function a(c,u,l){let d=c.hasOwnProperty(Lo)?c[Lo]:Object.defineProperty(c,Lo,{value:[]})[Lo];for(;d.length<=l;)d.push(null);return(d[l]=d[l]||[]).push(s),c}}return n&&(o.prototype=Object.create(n.prototype)),o.prototype.ngMetadataName=t,o.annotationCls=o,o})}var tt=globalThis;function j(t){for(let e in t)if(t[e]===j)return e;throw Error("Could not find renamed property on target object.")}function tv(t,e){for(let n in e)e.hasOwnProperty(n)&&!t.hasOwnProperty(n)&&(t[n]=e[n])}function de(t){if(typeof t=="string")return t;if(Array.isArray(t))return"["+t.map(de).join(", ")+"]";if(t==null)return""+t;if(t.overriddenName)return`${t.overriddenName}`;if(t.name)return`${t.name}`;let e=t.toString();if(e==null)return""+e;let n=e.indexOf(`
`);return n===-1?e:e.substring(0,n)}function ca(t,e){return t==null||t===""?e===null?"":e:e==null||e===""?t:t+" "+e}var nv=j({__forward_ref__:j});function gf(t){return t.__forward_ref__=gf,t.toString=function(){return de(this())},t}function le(t){return mf(t)?t():t}function mf(t){return typeof t=="function"&&t.hasOwnProperty(nv)&&t.__forward_ref__===gf}function vf(t,e,n,r){throw new Error(`ASSERTION ERROR: ${t}`+(r==null?"":` [Expected=> ${n} ${r} ${e} <=Actual]`))}function I(t){return{token:t.token,providedIn:t.providedIn||null,factory:t.factory,value:void 0}}function Pn(t){return{providers:t.providers||[],imports:t.imports||[]}}function wi(t){return Dd(t,Df)||Dd(t,wf)}function yf(t){return wi(t)!==null}function Dd(t,e){return t.hasOwnProperty(e)?t[e]:null}function rv(t){let e=t&&(t[Df]||t[wf]);return e||null}function wd(t){return t&&(t.hasOwnProperty(Id)||t.hasOwnProperty(ov))?t[Id]:null}var Df=j({\u0275prov:j}),Id=j({\u0275inj:j}),wf=j({ngInjectableDef:j}),ov=j({ngInjectorDef:j}),M=class{constructor(e,n){this._desc=e,this.ngMetadataName="InjectionToken",this.\u0275prov=void 0,typeof n=="number"?this.__NG_ELEMENT_ID__=n:n!==void 0&&(this.\u0275prov=I({token:this,providedIn:n.providedIn||"root",factory:n.factory}))}get multi(){return this}toString(){return`InjectionToken ${this._desc}`}};function If(t){return t&&!!t.\u0275providers}var iv=j({\u0275cmp:j}),sv=j({\u0275dir:j}),av=j({\u0275pipe:j}),cv=j({\u0275mod:j}),Ko=j({\u0275fac:j}),ir=j({__NG_ELEMENT_ID__:j}),Ed=j({__NG_ENV_ID__:j});function Dr(t){return typeof t=="string"?t:t==null?"":String(t)}function uv(t){return typeof t=="function"?t.name||t.toString():typeof t=="object"&&t!=null&&typeof t.type=="function"?t.type.name||t.type.toString():Dr(t)}function lv(t,e){let n=e?`. Dependency path: ${e.join(" > ")} > ${t}`:"";throw new w(-200,t)}function Cc(t,e){throw new w(-201,!1)}var P=function(t){return t[t.Default=0]="Default",t[t.Host=1]="Host",t[t.Self=2]="Self",t[t.SkipSelf=4]="SkipSelf",t[t.Optional=8]="Optional",t}(P||{}),ua;function Ef(){return ua}function me(t){let e=ua;return ua=t,e}function Cf(t,e,n){let r=wi(t);if(r&&r.providedIn=="root")return r.value===void 0?r.value=r.factory():r.value;if(n&P.Optional)return null;if(e!==void 0)return e;Cc(t,"Injector")}var dv={},sr=dv,la="__NG_DI_FLAG__",Jo="ngTempTokenPath",fv="ngTokenPath",hv=/\n/gm,pv="\u0275",Cd="__source",Cn;function gv(){return Cn}function It(t){let e=Cn;return Cn=t,e}function mv(t,e=P.Default){if(Cn===void 0)throw new w(-203,!1);return Cn===null?Cf(t,void 0,e):Cn.get(t,e&P.Optional?null:void 0,e)}function T(t,e=P.Default){return(Ef()||mv)(le(t),e)}function g(t,e=P.Default){return T(t,Ii(e))}function Ii(t){return typeof t>"u"||typeof t=="number"?t:0|(t.optional&&8)|(t.host&&1)|(t.self&&2)|(t.skipSelf&&4)}function da(t){let e=[];for(let n=0;n<t.length;n++){let r=le(t[n]);if(Array.isArray(r)){if(r.length===0)throw new w(900,!1);let o,i=P.Default;for(let s=0;s<r.length;s++){let a=r[s],c=vv(a);typeof c=="number"?c===-1?o=a.token:i|=c:o=a}e.push(T(o,i))}else e.push(T(r))}return e}function bf(t,e){return t[la]=e,t.prototype[la]=e,t}function vv(t){return t[la]}function yv(t,e,n,r){let o=t[Jo];throw e[Cd]&&o.unshift(e[Cd]),t.message=Dv(`
`+t.message,o,n,r),t[fv]=o,t[Jo]=null,t}function Dv(t,e,n,r=null){t=t&&t.charAt(0)===`
`&&t.charAt(1)==pv?t.slice(2):t;let o=de(e);if(Array.isArray(e))o=e.map(de).join(" -> ");else if(typeof e=="object"){let i=[];for(let s in e)if(e.hasOwnProperty(s)){let a=e[s];i.push(s+":"+(typeof a=="string"?JSON.stringify(a):de(a)))}o=`{${i.join(", ")}}`}return`${n}${r?"("+r+")":""}[${o}]: ${t.replace(hv,`
`)}`}var Ei=bf(pf("Optional"),8);var bc=bf(pf("SkipSelf"),4);function $t(t,e){let n=t.hasOwnProperty(Ko);return n?t[Ko]:null}function wv(t,e,n){if(t.length!==e.length)return!1;for(let r=0;r<t.length;r++){let o=t[r],i=e[r];if(n&&(o=n(o),i=n(i)),i!==o)return!1}return!0}function Iv(t){return t.flat(Number.POSITIVE_INFINITY)}function Mc(t,e){t.forEach(n=>Array.isArray(n)?Mc(n,e):e(n))}function Mf(t,e,n){e>=t.length?t.push(n):t.splice(e,0,n)}function Xo(t,e){return e>=t.length-1?t.pop():t.splice(e,1)[0]}function Ev(t,e){let n=[];for(let r=0;r<t;r++)n.push(e);return n}function bd(t,e,n){let r=t.length-n;for(;e<r;)t[e]=t[e+n],e++;for(;n--;)t.pop()}function Tf(t,e,n,r){let o=t.length;if(o==e)t.push(n,r);else if(o===1)t.push(r,t[0]),t[0]=n;else{for(o--,t.push(t[o-1],t[o]);o>e;){let i=o-2;t[o]=t[i],o--}t[e]=n,t[e+1]=r}}function Tc(t,e,n){let r=wr(t,e);return r>=0?t[r|1]=n:(r=~r,Tf(t,r,e,n)),r}function Ws(t,e){let n=wr(t,e);if(n>=0)return t[n|1]}function wr(t,e){return Cv(t,e,1)}function Cv(t,e,n){let r=0,o=t.length>>n;for(;o!==r;){let i=r+(o-r>>1),s=t[i<<n];if(e===s)return i<<n;s>e?o=i:r=i+1}return~(o<<n)}var Tn={},ye=[],Sn=new M(""),Sf=new M("",-1),xf=new M(""),ei=class{get(e,n=sr){if(n===sr){let r=new Error(`NullInjectorError: No provider for ${de(e)}!`);throw r.name="NullInjectorError",r}return n}},Af=function(t){return t[t.OnPush=0]="OnPush",t[t.Default=1]="Default",t}(Af||{}),ze=function(t){return t[t.Emulated=0]="Emulated",t[t.None=2]="None",t[t.ShadowDom=3]="ShadowDom",t}(ze||{}),Se=function(t){return t[t.None=0]="None",t[t.SignalBased=1]="SignalBased",t[t.HasDecoratorInputTransform=2]="HasDecoratorInputTransform",t}(Se||{});function bv(t,e,n){let r=t.length;for(;;){let o=t.indexOf(e,n);if(o===-1)return o;if(o===0||t.charCodeAt(o-1)<=32){let i=e.length;if(o+i===r||t.charCodeAt(o+i)<=32)return o}n=o+1}}function fa(t,e,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++];t.setAttribute(e,s,a,i)}else{let i=o,s=n[++r];Mv(i)?t.setProperty(e,i,s):t.setAttribute(e,i,s),r++}}return r}function _f(t){return t===3||t===4||t===6}function Mv(t){return t.charCodeAt(0)===64}function ar(t,e){if(!(e===null||e.length===0))if(t===null||t.length===0)t=e.slice();else{let n=-1;for(let r=0;r<e.length;r++){let o=e[r];typeof o=="number"?n=o:n===0||(n===-1||n===2?Md(t,n,o,null,e[++r]):Md(t,n,o,null,null))}}return t}function Md(t,e,n,r,o){let i=0,s=t.length;if(e===-1)s=-1;else for(;i<t.length;){let a=t[i++];if(typeof a=="number"){if(a===e){s=-1;break}else if(a>e){s=i-1;break}}}for(;i<t.length;){let a=t[i];if(typeof a=="number")break;if(a===n){if(r===null){o!==null&&(t[i+1]=o);return}else if(r===t[i+1]){t[i+2]=o;return}}i++,r!==null&&i++,o!==null&&i++}s!==-1&&(t.splice(s,0,e),i=s+1),t.splice(i++,0,n),r!==null&&t.splice(i++,0,r),o!==null&&t.splice(i++,0,o)}var Nf="ng-template";function Tv(t,e,n,r){let o=0;if(r){for(;o<e.length&&typeof e[o]=="string";o+=2)if(e[o]==="class"&&bv(e[o+1].toLowerCase(),n,0)!==-1)return!0}else if(Sc(t))return!1;if(o=e.indexOf(1,o),o>-1){let i;for(;++o<e.length&&typeof(i=e[o])=="string";)if(i.toLowerCase()===n)return!0}return!1}function Sc(t){return t.type===4&&t.value!==Nf}function Sv(t,e,n){let r=t.type===4&&!n?Nf:t.value;return e===r}function xv(t,e,n){let r=4,o=t.attrs,i=o!==null?Nv(o):0,s=!1;for(let a=0;a<e.length;a++){let c=e[a];if(typeof c=="number"){if(!s&&!Oe(r)&&!Oe(c))return!1;if(s&&Oe(c))continue;s=!1,r=c|r&1;continue}if(!s)if(r&4){if(r=2|r&1,c!==""&&!Sv(t,c,n)||c===""&&e.length===1){if(Oe(r))return!1;s=!0}}else if(r&8){if(o===null||!Tv(t,o,c,n)){if(Oe(r))return!1;s=!0}}else{let u=e[++a],l=Av(c,o,Sc(t),n);if(l===-1){if(Oe(r))return!1;s=!0;continue}if(u!==""){let d;if(l>i?d="":d=o[l+1].toLowerCase(),r&2&&u!==d){if(Oe(r))return!1;s=!0}}}}return Oe(r)||s}function Oe(t){return(t&1)===0}function Av(t,e,n,r){if(e===null)return-1;let o=0;if(r||!n){let i=!1;for(;o<e.length;){let s=e[o];if(s===t)return o;if(s===3||s===6)i=!0;else if(s===1||s===2){let a=e[++o];for(;typeof a=="string";)a=e[++o];continue}else{if(s===4)break;if(s===0){o+=4;continue}}o+=i?1:2}return-1}else return Rv(e,t)}function Rf(t,e,n=!1){for(let r=0;r<e.length;r++)if(xv(t,e[r],n))return!0;return!1}function _v(t){let e=t.attrs;if(e!=null){let n=e.indexOf(5);if(!(n&1))return e[n+1]}return null}function Nv(t){for(let e=0;e<t.length;e++){let n=t[e];if(_f(n))return e}return t.length}function Rv(t,e){let n=t.indexOf(4);if(n>-1)for(n++;n<t.length;){let r=t[n];if(typeof r=="number")return-1;if(r===e)return n;n++}return-1}function Ov(t,e){e:for(let n=0;n<e.length;n++){let r=e[n];if(t.length===r.length){for(let o=0;o<t.length;o++)if(t[o]!==r[o])continue e;return!0}}return!1}function Td(t,e){return t?":not("+e.trim()+")":e}function Pv(t){let e=t[0],n=1,r=2,o="",i=!1;for(;n<t.length;){let s=t[n];if(typeof s=="string")if(r&2){let a=t[++n];o+="["+s+(a.length>0?'="'+a+'"':"")+"]"}else r&8?o+="."+s:r&4&&(o+=" "+s);else o!==""&&!Oe(s)&&(e+=Td(i,o),o=""),r=s,i=i||!Oe(r);n++}return o!==""&&(e+=Td(i,o)),e}function Fv(t){return t.map(Pv).join(",")}function kv(t){let e=[],n=[],r=1,o=2;for(;r<t.length;){let i=t[r];if(typeof i=="string")o===2?i!==""&&e.push(i,t[++r]):o===8&&n.push(i);else{if(!Oe(o))break;o=i}r++}return{attrs:e,classes:n}}function Of(t){return yr(()=>{let e=kf(t),n=U(D({},e),{decls:t.decls,vars:t.vars,template:t.template,consts:t.consts||null,ngContentSelectors:t.ngContentSelectors,onPush:t.changeDetection===Af.OnPush,directiveDefs:null,pipeDefs:null,dependencies:e.standalone&&t.dependencies||null,getStandaloneInjector:null,signals:t.signals??!1,data:t.data||{},encapsulation:t.encapsulation||ze.Emulated,styles:t.styles||ye,_:null,schemas:t.schemas||null,tView:null,id:""});Lf(n);let r=t.dependencies;return n.directiveDefs=xd(r,!1),n.pipeDefs=xd(r,!0),n.id=$v(n),n})}function Lv(t){return nt(t)||xc(t)}function jv(t){return t!==null}function Fn(t){return yr(()=>({type:t.type,bootstrap:t.bootstrap||ye,declarations:t.declarations||ye,imports:t.imports||ye,exports:t.exports||ye,transitiveCompileScopes:null,schemas:t.schemas||null,id:t.id||null}))}function Sd(t,e){if(t==null)return Tn;let n={};for(let r in t)if(t.hasOwnProperty(r)){let o=t[r],i,s,a=Se.None;Array.isArray(o)?(a=o[0],i=o[1],s=o[2]??i):(i=o,s=o),e?(n[i]=a!==Se.None?[r,a]:r,e[i]=s):n[i]=r}return n}function st(t){return yr(()=>{let e=kf(t);return Lf(e),e})}function Vv(t){return{type:t.type,name:t.name,factory:null,pure:t.pure!==!1,standalone:t.standalone===!0,onDestroy:t.type.prototype.ngOnDestroy||null}}function nt(t){return t[iv]||null}function xc(t){return t[sv]||null}function Ac(t){return t[av]||null}function Pf(t){let e=nt(t)||xc(t)||Ac(t);return e!==null?e.standalone:!1}function Ff(t,e){let n=t[cv]||null;if(!n&&e===!0)throw new Error(`Type ${de(t)} does not have '\u0275mod' property.`);return n}function kf(t){let e={};return{type:t.type,providersResolver:null,factory:null,hostBindings:t.hostBindings||null,hostVars:t.hostVars||0,hostAttrs:t.hostAttrs||null,contentQueries:t.contentQueries||null,declaredInputs:e,inputTransforms:null,inputConfig:t.inputs||Tn,exportAs:t.exportAs||null,standalone:t.standalone===!0,signals:t.signals===!0,selectors:t.selectors||ye,viewQuery:t.viewQuery||null,features:t.features||null,setInput:null,findHostDirectiveDefs:null,hostDirectives:null,inputs:Sd(t.inputs,e),outputs:Sd(t.outputs),debugInfo:null}}function Lf(t){t.features?.forEach(e=>e(t))}function xd(t,e){if(!t)return null;let n=e?Ac:Lv;return()=>(typeof t=="function"?t():t).map(r=>n(r)).filter(jv)}function $v(t){let e=0,n=[t.selectors,t.ngContentSelectors,t.hostVars,t.hostAttrs,t.consts,t.vars,t.decls,t.encapsulation,t.standalone,t.signals,t.exportAs,JSON.stringify(t.inputs),JSON.stringify(t.outputs),Object.getOwnPropertyNames(t.type.prototype),!!t.contentQueries,!!t.viewQuery].join("|");for(let o of n)e=Math.imul(31,e)+o.charCodeAt(0)<<0;return e+=2147483648,"c"+e}function kn(t){return{\u0275providers:t}}function Uv(...t){return{\u0275providers:_c(!0,t),\u0275fromNgModule:!0}}function _c(t,...e){let n=[],r=new Set,o,i=s=>{n.push(s)};return Mc(e,s=>{let a=s;ha(a,i,[],r)&&(o||=[],o.push(a))}),o!==void 0&&jf(o,i),n}function jf(t,e){for(let n=0;n<t.length;n++){let{ngModule:r,providers:o}=t[n];Nc(o,i=>{e(i,r)})}}function ha(t,e,n,r){if(t=le(t),!t)return!1;let o=null,i=wd(t),s=!i&&nt(t);if(!i&&!s){let c=t.ngModule;if(i=wd(c),i)o=c;else return!1}else{if(s&&!s.standalone)return!1;o=t}let a=r.has(o);if(s){if(a)return!1;if(r.add(o),s.dependencies){let c=typeof s.dependencies=="function"?s.dependencies():s.dependencies;for(let u of c)ha(u,e,n,r)}}else if(i){if(i.imports!=null&&!a){r.add(o);let u;try{Mc(i.imports,l=>{ha(l,e,n,r)&&(u||=[],u.push(l))})}finally{}u!==void 0&&jf(u,e)}if(!a){let u=$t(o)||(()=>new o);e({provide:o,useFactory:u,deps:ye},o),e({provide:xf,useValue:o,multi:!0},o),e({provide:Sn,useValue:()=>T(o),multi:!0},o)}let c=i.providers;if(c!=null&&!a){let u=t;Nc(c,l=>{e(l,u)})}}else return!1;return o!==t&&t.providers!==void 0}function Nc(t,e){for(let n of t)If(n)&&(n=n.\u0275providers),Array.isArray(n)?Nc(n,e):e(n)}var Bv=j({provide:String,useValue:j});function Vf(t){return t!==null&&typeof t=="object"&&Bv in t}function Hv(t){return!!(t&&t.useExisting)}function zv(t){return!!(t&&t.useFactory)}function xn(t){return typeof t=="function"}function qv(t){return!!t.useClass}var Ci=new M(""),zo={},Gv={},Zs;function Rc(){return Zs===void 0&&(Zs=new ei),Zs}var fe=class{},cr=class extends fe{get destroyed(){return this._destroyed}constructor(e,n,r,o){super(),this.parent=n,this.source=r,this.scopes=o,this.records=new Map,this._ngOnDestroyHooks=new Set,this._onDestroyHooks=[],this._destroyed=!1,ga(e,s=>this.processProvider(s)),this.records.set(Sf,wn(void 0,this)),o.has("environment")&&this.records.set(fe,wn(void 0,this));let i=this.records.get(Ci);i!=null&&typeof i.value=="string"&&this.scopes.add(i.value),this.injectorDefTypes=new Set(this.get(xf,ye,P.Self))}destroy(){this.assertNotDestroyed(),this._destroyed=!0;let e=k(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(),k(e)}}onDestroy(e){return this.assertNotDestroyed(),this._onDestroyHooks.push(e),()=>this.removeOnDestroy(e)}runInContext(e){this.assertNotDestroyed();let n=It(this),r=me(void 0),o;try{return e()}finally{It(n),me(r)}}get(e,n=sr,r=P.Default){if(this.assertNotDestroyed(),e.hasOwnProperty(Ed))return e[Ed](this);r=Ii(r);let o,i=It(this),s=me(void 0);try{if(!(r&P.SkipSelf)){let c=this.records.get(e);if(c===void 0){let u=Kv(e)&&wi(e);u&&this.injectableDefInScope(u)?c=wn(pa(e),zo):c=null,this.records.set(e,c)}if(c!=null)return this.hydrate(e,c)}let a=r&P.Self?Rc():this.parent;return n=r&P.Optional&&n===sr?null:n,a.get(e,n)}catch(a){if(a.name==="NullInjectorError"){if((a[Jo]=a[Jo]||[]).unshift(de(e)),i)throw a;return yv(a,e,"R3InjectorError",this.source)}else throw a}finally{me(s),It(i)}}resolveInjectorInitializers(){let e=k(null),n=It(this),r=me(void 0),o;try{let i=this.get(Sn,ye,P.Self);for(let s of i)s()}finally{It(n),me(r),k(e)}}toString(){let e=[],n=this.records;for(let r of n.keys())e.push(de(r));return`R3Injector[${e.join(", ")}]`}assertNotDestroyed(){if(this._destroyed)throw new w(205,!1)}processProvider(e){e=le(e);let n=xn(e)?e:le(e&&e.provide),r=Zv(e);if(!xn(e)&&e.multi===!0){let o=this.records.get(n);o||(o=wn(void 0,zo,!0),o.factory=()=>da(o.multi),this.records.set(n,o)),n=e,o.multi.push(e)}this.records.set(n,r)}hydrate(e,n){let r=k(null);try{return n.value===zo&&(n.value=Gv,n.value=n.factory()),typeof n.value=="object"&&n.value&&Qv(n.value)&&this._ngOnDestroyHooks.add(n.value),n.value}finally{k(r)}}injectableDefInScope(e){if(!e.providedIn)return!1;let n=le(e.providedIn);return typeof n=="string"?n==="any"||this.scopes.has(n):this.injectorDefTypes.has(n)}removeOnDestroy(e){let n=this._onDestroyHooks.indexOf(e);n!==-1&&this._onDestroyHooks.splice(n,1)}};function pa(t){let e=wi(t),n=e!==null?e.factory:$t(t);if(n!==null)return n;if(t instanceof M)throw new w(204,!1);if(t instanceof Function)return Wv(t);throw new w(204,!1)}function Wv(t){if(t.length>0)throw new w(204,!1);let n=rv(t);return n!==null?()=>n.factory(t):()=>new t}function Zv(t){if(Vf(t))return wn(void 0,t.useValue);{let e=$f(t);return wn(e,zo)}}function $f(t,e,n){let r;if(xn(t)){let o=le(t);return $t(o)||pa(o)}else if(Vf(t))r=()=>le(t.useValue);else if(zv(t))r=()=>t.useFactory(...da(t.deps||[]));else if(Hv(t))r=()=>T(le(t.useExisting));else{let o=le(t&&(t.useClass||t.provide));if(Yv(t))r=()=>new o(...da(t.deps));else return $t(o)||pa(o)}return r}function wn(t,e,n=!1){return{factory:t,value:e,multi:n?[]:void 0}}function Yv(t){return!!t.deps}function Qv(t){return t!==null&&typeof t=="object"&&typeof t.ngOnDestroy=="function"}function Kv(t){return typeof t=="function"||typeof t=="object"&&t instanceof M}function ga(t,e){for(let n of t)Array.isArray(n)?ga(n,e):n&&If(n)?ga(n.\u0275providers,e):e(n)}function at(t,e){t instanceof cr&&t.assertNotDestroyed();let n,r=It(t),o=me(void 0);try{return e()}finally{It(r),me(o)}}function Uf(){return Ef()!==void 0||gv()!=null}function Jv(t){if(!Uf())throw new w(-203,!1)}function Xv(t){return typeof t=="function"}var Ze=0,E=1,C=2,X=3,Fe=4,be=5,An=6,ur=7,re=8,Ee=9,ke=10,B=11,lr=12,Ad=13,Ln=14,Ce=15,Ir=16,In=17,rt=18,bi=19,Bf=20,Ct=21,qo=22,Ut=23,Q=25,Oc=1;var Bt=7,ti=8,_n=9,ce=10,Pc=function(t){return t[t.None=0]="None",t[t.HasTransplantedViews=2]="HasTransplantedViews",t}(Pc||{});function jt(t){return Array.isArray(t)&&typeof t[Oc]=="object"}function ct(t){return Array.isArray(t)&&t[Oc]===!0}function Fc(t){return(t.flags&4)!==0}function Mi(t){return t.componentOffset>-1}function Ti(t){return(t.flags&1)===1}function ot(t){return!!t.template}function ey(t){return(t[C]&512)!==0}function ty(t){return(t[C]&256)===256}var ma=class{constructor(e,n,r){this.previousValue=e,this.currentValue=n,this.firstChange=r}isFirstChange(){return this.firstChange}};function Hf(t,e,n,r){e!==null?e.applyValueToInputSignal(e,r):t[n]=r}function jn(){return zf}function zf(t){return t.type.prototype.ngOnChanges&&(t.setInput=ry),ny}jn.ngInherit=!0;function ny(){let t=Gf(this),e=t?.current;if(e){let n=t.previous;if(n===Tn)t.previous=e;else for(let r in e)n[r]=e[r];t.current=null,this.ngOnChanges(e)}}function ry(t,e,n,r,o){let i=this.declaredInputs[r],s=Gf(t)||oy(t,{previous:Tn,current:null}),a=s.current||(s.current={}),c=s.previous,u=c[i];a[i]=new ma(u&&u.currentValue,n,c===Tn),Hf(t,e,o,n)}var qf="__ngSimpleChanges__";function Gf(t){return t[qf]||null}function oy(t,e){return t[qf]=e}var _d=null;var Be=function(t,e,n){_d?.(t,e,n)},Wf="svg",iy="math",sy=!1;function ay(){return sy}function qe(t){for(;Array.isArray(t);)t=t[Ze];return t}function cy(t){for(;Array.isArray(t);){if(typeof t[Oc]=="object")return t;t=t[Ze]}return null}function Zf(t,e){return qe(e[t])}function Ae(t,e){return qe(e[t.index])}function Er(t,e){return t.data[e]}function Yf(t,e){return t[e]}function St(t,e){let n=e[t];return jt(n)?n:n[Ze]}function uy(t){return(t[C]&4)===4}function kc(t){return(t[C]&128)===128}function ly(t){return ct(t[X])}function bt(t,e){return e==null?null:t[e]}function Qf(t){t[In]=0}function dy(t){t[C]&1024||(t[C]|=1024,kc(t)&&dr(t))}function fy(t,e){for(;t>0;)e=e[Ln],t--;return e}function Lc(t){return!!(t[C]&9216||t[Ut]?.dirty)}function va(t){t[ke].changeDetectionScheduler?.notify(1),Lc(t)?dr(t):t[C]&64&&(ay()?(t[C]|=1024,dr(t)):t[ke].changeDetectionScheduler?.notify())}function dr(t){t[ke].changeDetectionScheduler?.notify();let e=fr(t);for(;e!==null&&!(e[C]&8192||(e[C]|=8192,!kc(e)));)e=fr(e)}function jc(t,e){if((t[C]&256)===256)throw new w(911,!1);t[Ct]===null&&(t[Ct]=[]),t[Ct].push(e)}function Kf(t,e){if(t[Ct]===null)return;let n=t[Ct].indexOf(e);n!==-1&&t[Ct].splice(n,1)}function fr(t){let e=t[X];return ct(e)?e[X]:e}var _={lFrame:sh(null),bindingsEnabled:!0,skipHydrationRootTNode:null};function hy(){return _.lFrame.elementDepthCount}function py(){_.lFrame.elementDepthCount++}function gy(){_.lFrame.elementDepthCount--}function Jf(){return _.bindingsEnabled}function Xf(){return _.skipHydrationRootTNode!==null}function my(t){return _.skipHydrationRootTNode===t}function vy(){_.skipHydrationRootTNode=null}function S(){return _.lFrame.lView}function H(){return _.lFrame.tView}function zN(t){return _.lFrame.contextLView=t,t[re]}function qN(t){return _.lFrame.contextLView=null,t}function ee(){let t=eh();for(;t!==null&&t.type===64;)t=t.parent;return t}function eh(){return _.lFrame.currentTNode}function yy(){let t=_.lFrame,e=t.currentTNode;return t.isParent?e:e.parent}function Yt(t,e){let n=_.lFrame;n.currentTNode=t,n.isParent=e}function Vc(){return _.lFrame.isParent}function $c(){_.lFrame.isParent=!1}function Dy(){return _.lFrame.contextLView}function Cr(){let t=_.lFrame,e=t.bindingRootIndex;return e===-1&&(e=t.bindingRootIndex=t.tView.bindingStartIndex),e}function wy(t){return _.lFrame.bindingIndex=t}function Qt(){return _.lFrame.bindingIndex++}function th(t){let e=_.lFrame,n=e.bindingIndex;return e.bindingIndex=e.bindingIndex+t,n}function Iy(){return _.lFrame.inI18n}function Ey(t,e){let n=_.lFrame;n.bindingIndex=n.bindingRootIndex=t,ya(e)}function Cy(){return _.lFrame.currentDirectiveIndex}function ya(t){_.lFrame.currentDirectiveIndex=t}function nh(t){let e=_.lFrame.currentDirectiveIndex;return e===-1?null:t[e]}function rh(){return _.lFrame.currentQueryIndex}function Uc(t){_.lFrame.currentQueryIndex=t}function by(t){let e=t[E];return e.type===2?e.declTNode:e.type===1?t[be]:null}function oh(t,e,n){if(n&P.SkipSelf){let o=e,i=t;for(;o=o.parent,o===null&&!(n&P.Host);)if(o=by(i),o===null||(i=i[Ln],o.type&10))break;if(o===null)return!1;e=o,t=i}let r=_.lFrame=ih();return r.currentTNode=e,r.lView=t,!0}function Bc(t){let e=ih(),n=t[E];_.lFrame=e,e.currentTNode=n.firstChild,e.lView=t,e.tView=n,e.contextLView=t,e.bindingIndex=n.bindingStartIndex,e.inI18n=!1}function ih(){let t=_.lFrame,e=t===null?null:t.child;return e===null?sh(t):e}function sh(t){let e={currentTNode:null,isParent:!0,lView:null,tView:null,selectedIndex:-1,contextLView:null,elementDepthCount:0,currentNamespace:null,currentDirectiveIndex:-1,bindingRootIndex:-1,bindingIndex:-1,currentQueryIndex:0,parent:t,child:null,inI18n:!1};return t!==null&&(t.child=e),e}function ah(){let t=_.lFrame;return _.lFrame=t.parent,t.currentTNode=null,t.lView=null,t}var ch=ah;function Hc(){let t=ah();t.isParent=!0,t.tView=null,t.selectedIndex=-1,t.contextLView=null,t.elementDepthCount=0,t.currentDirectiveIndex=-1,t.currentNamespace=null,t.bindingRootIndex=-1,t.bindingIndex=-1,t.currentQueryIndex=0}function My(t){return(_.lFrame.contextLView=fy(t,_.lFrame.contextLView))[re]}function xt(){return _.lFrame.selectedIndex}function Ht(t){_.lFrame.selectedIndex=t}function Si(){let t=_.lFrame;return Er(t.tView,t.selectedIndex)}function GN(){_.lFrame.currentNamespace=Wf}function WN(){Ty()}function Ty(){_.lFrame.currentNamespace=null}function Sy(){return _.lFrame.currentNamespace}var uh=!0;function xi(){return uh}function Ai(t){uh=t}function xy(t,e,n){let{ngOnChanges:r,ngOnInit:o,ngDoCheck:i}=e.type.prototype;if(r){let s=zf(e);(n.preOrderHooks??=[]).push(t,s),(n.preOrderCheckHooks??=[]).push(t,s)}o&&(n.preOrderHooks??=[]).push(0-t,o),i&&((n.preOrderHooks??=[]).push(t,i),(n.preOrderCheckHooks??=[]).push(t,i))}function _i(t,e){for(let n=e.directiveStart,r=e.directiveEnd;n<r;n++){let i=t.data[n].type.prototype,{ngAfterContentInit:s,ngAfterContentChecked:a,ngAfterViewInit:c,ngAfterViewChecked:u,ngOnDestroy:l}=i;s&&(t.contentHooks??=[]).push(-n,s),a&&((t.contentHooks??=[]).push(n,a),(t.contentCheckHooks??=[]).push(n,a)),c&&(t.viewHooks??=[]).push(-n,c),u&&((t.viewHooks??=[]).push(n,u),(t.viewCheckHooks??=[]).push(n,u)),l!=null&&(t.destroyHooks??=[]).push(n,l)}}function Go(t,e,n){lh(t,e,3,n)}function Wo(t,e,n,r){(t[C]&3)===n&&lh(t,e,n,r)}function Ys(t,e){let n=t[C];(n&3)===e&&(n&=16383,n+=1,t[C]=n)}function lh(t,e,n,r){let o=r!==void 0?t[In]&65535:0,i=r??-1,s=e.length-1,a=0;for(let c=o;c<s;c++)if(typeof e[c+1]=="number"){if(a=e[c],r!=null&&a>=r)break}else e[c]<0&&(t[In]+=65536),(a<i||i==-1)&&(Ay(t,n,e,c),t[In]=(t[In]&4294901760)+c+2),c++}function Nd(t,e){Be(4,t,e);let n=k(null);try{e.call(t)}finally{k(n),Be(5,t,e)}}function Ay(t,e,n,r){let o=n[r]<0,i=n[r+1],s=o?-n[r]:n[r],a=t[s];o?t[C]>>14<t[In]>>16&&(t[C]&3)===e&&(t[C]+=16384,Nd(a,i)):Nd(a,i)}var bn=-1,zt=class{constructor(e,n,r){this.factory=e,this.resolving=!1,this.canSeeViewProviders=n,this.injectImpl=r}};function _y(t){return t instanceof zt}function Ny(t){return(t.flags&8)!==0}function Ry(t){return(t.flags&16)!==0}function dh(t){return t!==bn}function ni(t){return t&32767}function Oy(t){return t>>16}function ri(t,e){let n=Oy(t),r=e;for(;n>0;)r=r[Ln],n--;return r}var Da=!0;function oi(t){let e=Da;return Da=t,e}var Py=256,fh=Py-1,hh=5,Fy=0,He={};function ky(t,e,n){let r;typeof n=="string"?r=n.charCodeAt(0)||0:n.hasOwnProperty(ir)&&(r=n[ir]),r==null&&(r=n[ir]=Fy++);let o=r&fh,i=1<<o;e.data[t+(o>>hh)]|=i}function ii(t,e){let n=ph(t,e);if(n!==-1)return n;let r=e[E];r.firstCreatePass&&(t.injectorIndex=e.length,Qs(r.data,t),Qs(e,null),Qs(r.blueprint,null));let o=zc(t,e),i=t.injectorIndex;if(dh(o)){let s=ni(o),a=ri(o,e),c=a[E].data;for(let u=0;u<8;u++)e[i+u]=a[s+u]|c[s+u]}return e[i+8]=o,i}function Qs(t,e){t.push(0,0,0,0,0,0,0,0,e)}function ph(t,e){return t.injectorIndex===-1||t.parent&&t.parent.injectorIndex===t.injectorIndex||e[t.injectorIndex+8]===null?-1:t.injectorIndex}function zc(t,e){if(t.parent&&t.parent.injectorIndex!==-1)return t.parent.injectorIndex;let n=0,r=null,o=e;for(;o!==null;){if(r=Dh(o),r===null)return bn;if(n++,o=o[Ln],r.injectorIndex!==-1)return r.injectorIndex|n<<16}return bn}function wa(t,e,n){ky(t,e,n)}function Ly(t,e){if(e==="class")return t.classes;if(e==="style")return t.styles;let n=t.attrs;if(n){let r=n.length,o=0;for(;o<r;){let i=n[o];if(_f(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===e)return n[o+1];o=o+2}}}return null}function gh(t,e,n){if(n&P.Optional||t!==void 0)return t;Cc(e,"NodeInjector")}function mh(t,e,n,r){if(n&P.Optional&&r===void 0&&(r=null),!(n&(P.Self|P.Host))){let o=t[Ee],i=me(void 0);try{return o?o.get(e,r,n&P.Optional):Cf(e,r,n&P.Optional)}finally{me(i)}}return gh(r,e,n)}function vh(t,e,n,r=P.Default,o){if(t!==null){if(e[C]&2048&&!(r&P.Self)){let s=Uy(t,e,n,r,He);if(s!==He)return s}let i=yh(t,e,n,r,He);if(i!==He)return i}return mh(e,n,r,o)}function yh(t,e,n,r,o){let i=Vy(n);if(typeof i=="function"){if(!oh(e,t,r))return r&P.Host?gh(o,n,r):mh(e,n,r,o);try{let s;if(s=i(r),s==null&&!(r&P.Optional))Cc(n);else return s}finally{ch()}}else if(typeof i=="number"){let s=null,a=ph(t,e),c=bn,u=r&P.Host?e[Ce][be]:null;for((a===-1||r&P.SkipSelf)&&(c=a===-1?zc(t,e):e[a+8],c===bn||!Od(r,!1)?a=-1:(s=e[E],a=ni(c),e=ri(c,e)));a!==-1;){let l=e[E];if(Rd(i,a,l.data)){let d=jy(a,e,n,s,r,u);if(d!==He)return d}c=e[a+8],c!==bn&&Od(r,e[E].data[a+8]===u)&&Rd(i,a,e)?(s=l,a=ni(c),e=ri(c,e)):a=-1}}return o}function jy(t,e,n,r,o,i){let s=e[E],a=s.data[t+8],c=r==null?Mi(a)&&Da:r!=s&&(a.type&3)!==0,u=o&P.Host&&i===a,l=Zo(a,s,n,c,u);return l!==null?qt(e,s,l,a):He}function Zo(t,e,n,r,o){let i=t.providerIndexes,s=e.data,a=i&1048575,c=t.directiveStart,u=t.directiveEnd,l=i>>20,d=r?a:a+l,f=o?a+l:u;for(let h=d;h<f;h++){let p=s[h];if(h<c&&n===p||h>=c&&p.type===n)return h}if(o){let h=s[c];if(h&&ot(h)&&h.type===n)return c}return null}function qt(t,e,n,r){let o=t[n],i=e.data;if(_y(o)){let s=o;s.resolving&&lv(uv(i[n]));let a=oi(s.canSeeViewProviders);s.resolving=!0;let c,u=s.injectImpl?me(s.injectImpl):null,l=oh(t,r,P.Default);try{o=t[n]=s.factory(void 0,i,t,r),e.firstCreatePass&&n>=r.directiveStart&&xy(n,i[n],e)}finally{u!==null&&me(u),oi(a),s.resolving=!1,ch()}}return o}function Vy(t){if(typeof t=="string")return t.charCodeAt(0)||0;let e=t.hasOwnProperty(ir)?t[ir]:void 0;return typeof e=="number"?e>=0?e&fh:$y:e}function Rd(t,e,n){let r=1<<t;return!!(n[e+(t>>hh)]&r)}function Od(t,e){return!(t&P.Self)&&!(t&P.Host&&e)}var Vt=class{constructor(e,n){this._tNode=e,this._lView=n}get(e,n,r){return vh(this._tNode,this._lView,e,Ii(r),n)}};function $y(){return new Vt(ee(),S())}function qc(t){return yr(()=>{let e=t.prototype.constructor,n=e[Ko]||Ia(e),r=Object.prototype,o=Object.getPrototypeOf(t.prototype).constructor;for(;o&&o!==r;){let i=o[Ko]||Ia(o);if(i&&i!==n)return i;o=Object.getPrototypeOf(o)}return i=>new i})}function Ia(t){return mf(t)?()=>{let e=Ia(le(t));return e&&e()}:$t(t)}function Uy(t,e,n,r,o){let i=t,s=e;for(;i!==null&&s!==null&&s[C]&2048&&!(s[C]&512);){let a=yh(i,s,n,r|P.Self,He);if(a!==He)return a;let c=i.parent;if(!c){let u=s[Bf];if(u){let l=u.get(n,He,r);if(l!==He)return l}c=Dh(s),s=s[Ln]}i=c}return o}function Dh(t){let e=t[E],n=e.type;return n===2?e.declTNode:n===1?t[be]:null}function Gc(t){return Ly(ee(),t)}function Pd(t,e=null,n=null,r){let o=wh(t,e,n,r);return o.resolveInjectorInitializers(),o}function wh(t,e=null,n=null,r,o=new Set){let i=[n||ye,Uv(t)];return r=r||(typeof t=="object"?void 0:de(t)),new cr(i,e||Rc(),r||null,o)}var Kt=(()=>{let e=class e{static create(r,o){if(Array.isArray(r))return Pd({name:""},o,r,"");{let i=r.name??"";return Pd({name:i},r.parent,r.providers,i)}}};e.THROW_IF_NOT_FOUND=sr,e.NULL=new ei,e.\u0275prov=I({token:e,providedIn:"any",factory:()=>T(Sf)}),e.__NG_ELEMENT_ID__=-1;let t=e;return t})();var By="ngOriginalError";function Ks(t){return t[By]}var Ge=class{constructor(){this._console=console}handleError(e){let n=this._findOriginalError(e);this._console.error("ERROR",e),n&&this._console.error("ORIGINAL ERROR",n)}_findOriginalError(e){let n=e&&Ks(e);for(;n&&Ks(n);)n=Ks(n);return n||null}},Ih=new M("",{providedIn:"root",factory:()=>g(Ge).handleError.bind(void 0)}),Wc=(()=>{let e=class e{};e.__NG_ELEMENT_ID__=Hy,e.__NG_ENV_ID__=r=>r;let t=e;return t})(),Ea=class extends Wc{constructor(e){super(),this._lView=e}onDestroy(e){return jc(this._lView,e),()=>Kf(this._lView,e)}};function Hy(){return new Ea(S())}function zy(){return Vn(ee(),S())}function Vn(t,e){return new Le(Ae(t,e))}var Le=(()=>{let e=class e{constructor(r){this.nativeElement=r}};e.__NG_ELEMENT_ID__=zy;let t=e;return t})();function qy(t){return t instanceof Le?t.nativeElement:t}var Ca=class extends se{constructor(e=!1){super(),this.destroyRef=void 0,this.__isAsync=e,Uf()&&(this.destroyRef=g(Wc,{optional:!0})??void 0)}emit(e){let n=k(null);try{super.next(e)}finally{k(n)}}subscribe(e,n,r){let o=e,i=n||(()=>null),s=r;if(e&&typeof e=="object"){let c=e;o=c.next?.bind(c),i=c.error?.bind(c),s=c.complete?.bind(c)}this.__isAsync&&(i=Js(i),o&&(o=Js(o)),s&&(s=Js(s)));let a=super.subscribe({next:o,error:i,complete:s});return e instanceof W&&e.add(a),a}};function Js(t){return e=>{setTimeout(t,void 0,e)}}var Ie=Ca;function Gy(){return this._results[Symbol.iterator]()}var ba=class t{get changes(){return this._changes??=new Ie}constructor(e=!1){this._emitDistinctChangesOnly=e,this.dirty=!0,this._onDirty=void 0,this._results=[],this._changesDetected=!1,this._changes=void 0,this.length=0,this.first=void 0,this.last=void 0;let n=t.prototype;n[Symbol.iterator]||(n[Symbol.iterator]=Gy)}get(e){return this._results[e]}map(e){return this._results.map(e)}filter(e){return this._results.filter(e)}find(e){return this._results.find(e)}reduce(e,n){return this._results.reduce(e,n)}forEach(e){this._results.forEach(e)}some(e){return this._results.some(e)}toArray(){return this._results.slice()}toString(){return this._results.toString()}reset(e,n){this.dirty=!1;let r=Iv(e);(this._changesDetected=!wv(this._results,r,n))&&(this._results=r,this.length=r.length,this.last=r[this.length-1],this.first=r[0])}notifyOnChanges(){this._changes!==void 0&&(this._changesDetected||!this._emitDistinctChangesOnly)&&this._changes.emit(this)}onDirty(e){this._onDirty=e}setDirty(){this.dirty=!0,this._onDirty?.()}destroy(){this._changes!==void 0&&(this._changes.complete(),this._changes.unsubscribe())}};function Eh(t){return(t.flags&128)===128}var Ch=new Map,Wy=0;function Zy(){return Wy++}function Yy(t){Ch.set(t[bi],t)}function Qy(t){Ch.delete(t[bi])}var Fd="__ngContext__";function Mt(t,e){jt(e)?(t[Fd]=e[bi],Yy(e)):t[Fd]=e}function bh(t){return Th(t[lr])}function Mh(t){return Th(t[Fe])}function Th(t){for(;t!==null&&!ct(t);)t=t[Fe];return t}var Ma;function Sh(t){Ma=t}function xh(){if(Ma!==void 0)return Ma;if(typeof document<"u")return document;throw new w(210,!1)}var Zc=new M("",{providedIn:"root",factory:()=>Ky}),Ky="ng",Yc=new M(""),ut=new M("",{providedIn:"platform",factory:()=>"unknown"});var ZN=new M(""),Qc=new M("",{providedIn:"root",factory:()=>xh().body?.querySelector("[ngCspNonce]")?.getAttribute("ngCspNonce")||null}),Ah={breakpoints:[16,32,48,64,96,128,256,384,640,750,828,1080,1200,1920,2048,3840],placeholderResolution:30,disableImageSizeWarning:!1,disableImageLazyLoadWarning:!1},_h=new M("",{providedIn:"root",factory:()=>Ah});var Jy="h",Xy="b";var eD=()=>null;function Kc(t,e,n=!1){return eD(t,e,n)}var Nh=!1,tD=new M("",{providedIn:"root",factory:()=>Nh});var jo;function nD(){if(jo===void 0&&(jo=null,tt.trustedTypes))try{jo=tt.trustedTypes.createPolicy("angular",{createHTML:t=>t,createScript:t=>t,createScriptURL:t=>t})}catch{}return jo}function Ni(t){return nD()?.createHTML(t)||t}var Vo;function Rh(){if(Vo===void 0&&(Vo=null,tt.trustedTypes))try{Vo=tt.trustedTypes.createPolicy("angular#unsafe-bypass",{createHTML:t=>t,createScript:t=>t,createScriptURL:t=>t})}catch{}return Vo}function kd(t){return Rh()?.createHTML(t)||t}function Ld(t){return Rh()?.createScriptURL(t)||t}var it=class{constructor(e){this.changingThisBreaksApplicationSecurity=e}toString(){return`SafeValue must use [property]=binding: ${this.changingThisBreaksApplicationSecurity} (see ${hf})`}},Ta=class extends it{getTypeName(){return"HTML"}},Sa=class extends it{getTypeName(){return"Style"}},xa=class extends it{getTypeName(){return"Script"}},Aa=class extends it{getTypeName(){return"URL"}},_a=class extends it{getTypeName(){return"ResourceURL"}};function _e(t){return t instanceof it?t.changingThisBreaksApplicationSecurity:t}function lt(t,e){let n=rD(t);if(n!=null&&n!==e){if(n==="ResourceURL"&&e==="URL")return!0;throw new Error(`Required a safe ${e}, got a ${n} (see ${hf})`)}return n===e}function rD(t){return t instanceof it&&t.getTypeName()||null}function Oh(t){return new Ta(t)}function Ph(t){return new Sa(t)}function Fh(t){return new xa(t)}function kh(t){return new Aa(t)}function Lh(t){return new _a(t)}function oD(t){let e=new Ra(t);return iD()?new Na(e):e}var Na=class{constructor(e){this.inertDocumentHelper=e}getInertBodyElement(e){e="<body><remove></remove>"+e;try{let n=new window.DOMParser().parseFromString(Ni(e),"text/html").body;return n===null?this.inertDocumentHelper.getInertBodyElement(e):(n.removeChild(n.firstChild),n)}catch{return null}}},Ra=class{constructor(e){this.defaultDoc=e,this.inertDocument=this.defaultDoc.implementation.createHTMLDocument("sanitization-inert")}getInertBodyElement(e){let n=this.inertDocument.createElement("template");return n.innerHTML=Ni(e),n}};function iD(){try{return!!new window.DOMParser().parseFromString(Ni(""),"text/html")}catch{return!1}}var sD=/^(?!javascript:)(?:[a-z0-9+.-]+:|[^&:\/?#]*(?:[\/?#]|$))/i;function Ri(t){return t=String(t),t.match(sD)?t:"unsafe:"+t}function dt(t){let e={};for(let n of t.split(","))e[n]=!0;return e}function br(...t){let e={};for(let n of t)for(let r in n)n.hasOwnProperty(r)&&(e[r]=!0);return e}var jh=dt("area,br,col,hr,img,wbr"),Vh=dt("colgroup,dd,dt,li,p,tbody,td,tfoot,th,thead,tr"),$h=dt("rp,rt"),aD=br($h,Vh),cD=br(Vh,dt("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")),uD=br($h,dt("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")),jd=br(jh,cD,uD,aD),Uh=dt("background,cite,href,itemtype,longdesc,poster,src,xlink:href"),lD=dt("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"),dD=dt("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"),fD=br(Uh,lD,dD),hD=dt("script,style,template"),Oa=class{constructor(){this.sanitizedSomething=!1,this.buf=[]}sanitizeChildren(e){let n=e.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=mD(n);continue}for(;n;){n.nodeType===Node.ELEMENT_NODE&&this.endElement(n);let i=gD(n);if(i){n=i;break}n=o.pop()}}return this.buf.join("")}startElement(e){let n=Vd(e).toLowerCase();if(!jd.hasOwnProperty(n))return this.sanitizedSomething=!0,!hD.hasOwnProperty(n);this.buf.push("<"),this.buf.push(n);let r=e.attributes;for(let o=0;o<r.length;o++){let i=r.item(o),s=i.name,a=s.toLowerCase();if(!fD.hasOwnProperty(a)){this.sanitizedSomething=!0;continue}let c=i.value;Uh[a]&&(c=Ri(c)),this.buf.push(" ",s,'="',$d(c),'"')}return this.buf.push(">"),!0}endElement(e){let n=Vd(e).toLowerCase();jd.hasOwnProperty(n)&&!jh.hasOwnProperty(n)&&(this.buf.push("</"),this.buf.push(n),this.buf.push(">"))}chars(e){this.buf.push($d(e))}};function pD(t,e){return(t.compareDocumentPosition(e)&Node.DOCUMENT_POSITION_CONTAINED_BY)!==Node.DOCUMENT_POSITION_CONTAINED_BY}function gD(t){let e=t.nextSibling;if(e&&t!==e.previousSibling)throw Bh(e);return e}function mD(t){let e=t.firstChild;if(e&&pD(t,e))throw Bh(e);return e}function Vd(t){let e=t.nodeName;return typeof e=="string"?e:"FORM"}function Bh(t){return new Error(`Failed to sanitize html because the element is clobbered: ${t.outerHTML}`)}var vD=/[\uD800-\uDBFF][\uDC00-\uDFFF]/g,yD=/([^\#-~ |!])/g;function $d(t){return t.replace(/&/g,"&").replace(vD,function(e){let n=e.charCodeAt(0),r=e.charCodeAt(1);return"&#"+((n-55296)*1024+(r-56320)+65536)+";"}).replace(yD,function(e){return"&#"+e.charCodeAt(0)+";"}).replace(/</g,"<").replace(/>/g,">")}var $o;function Jc(t,e){let n=null;try{$o=$o||oD(t);let r=e?String(e):"";n=$o.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=$o.getInertBodyElement(r)}while(r!==i);let a=new Oa().sanitizeChildren(Ud(n)||n);return Ni(a)}finally{if(n){let r=Ud(n)||n;for(;r.firstChild;)r.removeChild(r.firstChild)}}}function Ud(t){return"content"in t&&DD(t)?t.content:null}function DD(t){return t.nodeType===Node.ELEMENT_NODE&&t.nodeName==="TEMPLATE"}var je=function(t){return t[t.NONE=0]="NONE",t[t.HTML=1]="HTML",t[t.STYLE=2]="STYLE",t[t.SCRIPT=3]="SCRIPT",t[t.URL=4]="URL",t[t.RESOURCE_URL=5]="RESOURCE_URL",t}(je||{});function YN(t){let e=Xc();return e?kd(e.sanitize(je.HTML,t)||""):lt(t,"HTML")?kd(_e(t)):Jc(xh(),Dr(t))}function wD(t){let e=Xc();return e?e.sanitize(je.URL,t)||"":lt(t,"URL")?_e(t):Ri(Dr(t))}function ID(t){let e=Xc();if(e)return Ld(e.sanitize(je.RESOURCE_URL,t)||"");if(lt(t,"ResourceURL"))return Ld(_e(t));throw new w(904,!1)}function ED(t,e){return e==="src"&&(t==="embed"||t==="frame"||t==="iframe"||t==="media"||t==="script")||e==="href"&&(t==="base"||t==="link")?ID:wD}function Hh(t,e,n){return ED(e,n)(t)}function Xc(){let t=S();return t&&t[ke].sanitizer}var CD=/^>|^->|<!--|-->|--!>|<!-$/g,bD=/(<|>)/g,MD="\u200B$1\u200B";function TD(t){return t.replace(CD,e=>e.replace(bD,MD))}function SD(t){vf("Must never be called in production mode");let n=t[Ce][re];return n&&n.constructor?nt(n.constructor):null}function xD(t){vf("Must never be called in production mode");let n=SD(t)?.type?.name;return n?` (used in the '${n}' component template)`:""}function QN(t){return t.ownerDocument.defaultView}function KN(t){return t.ownerDocument}function zh(t){return t instanceof Function?t():t}function eu(t){return(t??g(Kt)).get(ut)==="browser"}var We=function(t){return t[t.Important=1]="Important",t[t.DashCase=2]="DashCase",t}(We||{}),AD;function tu(t,e){return AD(t,e)}function En(t,e,n,r,o){if(r!=null){let i,s=!1;ct(r)?i=r:jt(r)&&(s=!0,r=r[Ze]);let a=qe(r);t===0&&n!==null?o==null?Yh(e,n,a):si(e,n,a,o||null,!0):t===1&&n!==null?si(e,n,a,o||null,!0):t===2?qD(e,a,s):t===3&&e.destroyNode(a),i!=null&&WD(e,t,i,n,o)}}function _D(t,e){return t.createText(e)}function ND(t,e,n){t.setValue(e,n)}function RD(t,e){return t.createComment(TD(e))}function qh(t,e,n){return t.createElement(e,n)}function OD(t,e){Gh(t,e),e[Ze]=null,e[be]=null}function PD(t,e,n,r,o,i){r[Ze]=o,r[be]=e,Fi(t,r,n,1,o,i)}function Gh(t,e){e[ke].changeDetectionScheduler?.notify(1),Fi(t,e,e[B],2,null,null)}function FD(t){let e=t[lr];if(!e)return Xs(t[E],t);for(;e;){let n=null;if(jt(e))n=e[lr];else{let r=e[ce];r&&(n=r)}if(!n){for(;e&&!e[Fe]&&e!==t;)jt(e)&&Xs(e[E],e),e=e[X];e===null&&(e=t),jt(e)&&Xs(e[E],e),n=e&&e[Fe]}e=n}}function kD(t,e,n,r){let o=ce+r,i=n.length;r>0&&(n[o-1][Fe]=e),r<i-ce?(e[Fe]=n[o],Mf(n,ce+r,e)):(n.push(e),e[Fe]=null),e[X]=n;let s=e[Ir];s!==null&&n!==s&&LD(s,e);let a=e[rt];a!==null&&a.insertView(t),va(e),e[C]|=128}function LD(t,e){let n=t[_n],o=e[X][X][Ce];e[Ce]!==o&&(t[C]|=Pc.HasTransplantedViews),n===null?t[_n]=[e]:n.push(e)}function Wh(t,e){let n=t[_n],r=n.indexOf(e);n.splice(r,1)}function hr(t,e){if(t.length<=ce)return;let n=ce+e,r=t[n];if(r){let o=r[Ir];o!==null&&o!==t&&Wh(o,r),e>0&&(t[n-1][Fe]=r[Fe]);let i=Xo(t,ce+e);OD(r[E],r);let s=i[rt];s!==null&&s.detachView(i[E]),r[X]=null,r[Fe]=null,r[C]&=-129}return r}function Oi(t,e){if(!(e[C]&256)){let n=e[B];n.destroyNode&&Fi(t,e,n,3,null,null),FD(e)}}function Xs(t,e){if(e[C]&256)return;let n=k(null);try{e[C]&=-129,e[C]|=256,e[Ut]&&qs(e[Ut]),VD(t,e),jD(t,e),e[E].type===1&&e[B].destroy();let r=e[Ir];if(r!==null&&ct(e[X])){r!==e[X]&&Wh(r,e);let o=e[rt];o!==null&&o.detachView(t)}Qy(e)}finally{k(n)}}function jD(t,e){let n=t.cleanup,r=e[ur];if(n!==null)for(let i=0;i<n.length-1;i+=2)if(typeof n[i]=="string"){let s=n[i+3];s>=0?r[s]():r[-s].unsubscribe(),i+=2}else{let s=r[n[i+1]];n[i].call(s)}r!==null&&(e[ur]=null);let o=e[Ct];if(o!==null){e[Ct]=null;for(let i=0;i<o.length;i++){let s=o[i];s()}}}function VD(t,e){let n;if(t!=null&&(n=t.destroyHooks)!=null)for(let r=0;r<n.length;r+=2){let o=e[n[r]];if(!(o instanceof zt)){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];Be(4,a,c);try{c.call(a)}finally{Be(5,a,c)}}else{Be(4,o,i);try{i.call(o)}finally{Be(5,o,i)}}}}}function Zh(t,e,n){return $D(t,e.parent,n)}function $D(t,e,n){let r=e;for(;r!==null&&r.type&40;)e=r,r=e.parent;if(r===null)return n[Ze];{let{componentOffset:o}=r;if(o>-1){let{encapsulation:i}=t.data[r.directiveStart+o];if(i===ze.None||i===ze.Emulated)return null}return Ae(r,n)}}function si(t,e,n,r,o){t.insertBefore(e,n,r,o)}function Yh(t,e,n){t.appendChild(e,n)}function Bd(t,e,n,r,o){r!==null?si(t,e,n,r,o):Yh(t,e,n)}function UD(t,e,n,r){t.removeChild(e,n,r)}function nu(t,e){return t.parentNode(e)}function BD(t,e){return t.nextSibling(e)}function Qh(t,e,n){return zD(t,e,n)}function HD(t,e,n){return t.type&40?Ae(t,n):null}var zD=HD,Hd;function Pi(t,e,n,r){let o=Zh(t,r,e),i=e[B],s=r.parent||e[be],a=Qh(s,r,e);if(o!=null)if(Array.isArray(n))for(let c=0;c<n.length;c++)Bd(i,o,n[c],a,!1);else Bd(i,o,n,a,!1);Hd!==void 0&&Hd(i,r,e,n,o)}function Yo(t,e){if(e!==null){let n=e.type;if(n&3)return Ae(e,t);if(n&4)return Pa(-1,t[e.index]);if(n&8){let r=e.child;if(r!==null)return Yo(t,r);{let o=t[e.index];return ct(o)?Pa(-1,o):qe(o)}}else{if(n&32)return tu(e,t)()||qe(t[e.index]);{let r=Kh(t,e);if(r!==null){if(Array.isArray(r))return r[0];let o=fr(t[Ce]);return Yo(o,r)}else return Yo(t,e.next)}}}return null}function Kh(t,e){if(e!==null){let r=t[Ce][be],o=e.projection;return r.projection[o]}return null}function Pa(t,e){let n=ce+t+1;if(n<e.length){let r=e[n],o=r[E].firstChild;if(o!==null)return Yo(r,o)}return e[Bt]}function qD(t,e,n){let r=nu(t,e);r&&UD(t,r,e,n)}function ru(t,e,n,r,o,i,s){for(;n!=null;){let a=r[n.index],c=n.type;if(s&&e===0&&(a&&Mt(qe(a),r),n.flags|=2),(n.flags&32)!==32)if(c&8)ru(t,e,n.child,r,o,i,!1),En(e,t,o,a,i);else if(c&32){let u=tu(n,r),l;for(;l=u();)En(e,t,o,l,i);En(e,t,o,a,i)}else c&16?Jh(t,e,r,n,o,i):En(e,t,o,a,i);n=s?n.projectionNext:n.next}}function Fi(t,e,n,r,o,i){ru(n,r,t.firstChild,e,o,i,!1)}function GD(t,e,n){let r=e[B],o=Zh(t,n,e),i=n.parent||e[be],s=Qh(i,n,e);Jh(r,0,e,n,o,s)}function Jh(t,e,n,r,o,i){let s=n[Ce],c=s[be].projection[r.projection];if(Array.isArray(c))for(let u=0;u<c.length;u++){let l=c[u];En(e,t,o,l,i)}else{let u=c,l=s[X];Eh(r)&&(u.flags|=128),ru(t,e,u,l,o,i,!0)}}function WD(t,e,n,r,o){let i=n[Bt],s=qe(n);i!==s&&En(e,t,r,i,o);for(let a=ce;a<n.length;a++){let c=n[a];Fi(c[E],c,t,e,r,i)}}function ZD(t,e,n,r,o){if(e)o?t.addClass(n,r):t.removeClass(n,r);else{let i=r.indexOf("-")===-1?void 0:We.DashCase;o==null?t.removeStyle(n,r,i):(typeof o=="string"&&o.endsWith("!important")&&(o=o.slice(0,-10),i|=We.Important),t.setStyle(n,r,o,i))}}function YD(t,e,n){t.setAttribute(e,"style",n)}function Xh(t,e,n){n===""?t.removeAttribute(e,"class"):t.setAttribute(e,"class",n)}function ep(t,e,n){let{mergedAttrs:r,classes:o,styles:i}=n;r!==null&&fa(t,e,r),o!==null&&Xh(t,e,o),i!==null&&YD(t,e,i)}var Ye={};function JN(t=1){tp(H(),S(),xt()+t,!1)}function tp(t,e,n,r){if(!r)if((e[C]&3)===3){let i=t.preOrderCheckHooks;i!==null&&Go(e,i,n)}else{let i=t.preOrderHooks;i!==null&&Wo(e,i,0,n)}Ht(n)}function V(t,e=P.Default){let n=S();if(n===null)return T(t,e);let r=ee();return vh(r,n,le(t),e)}function np(t,e,n,r,o,i){let s=k(null);try{let a=null;o&Se.SignalBased&&(a=e[r][Ue]),a!==null&&a.transformFn!==void 0&&(i=a.transformFn(i)),o&Se.HasDecoratorInputTransform&&(i=t.inputTransforms[r].call(e,i)),t.setInput!==null?t.setInput(e,a,i,n,r):Hf(e,a,r,i)}finally{k(s)}}function QD(t,e){let n=t.hostBindingOpCodes;if(n!==null)try{for(let r=0;r<n.length;r++){let o=n[r];if(o<0)Ht(~o);else{let i=o,s=n[++r],a=n[++r];Ey(s,i);let c=e[i];a(2,c)}}}finally{Ht(-1)}}function ki(t,e,n,r,o,i,s,a,c,u,l){let d=e.blueprint.slice();return d[Ze]=o,d[C]=r|4|128|8|64,(u!==null||t&&t[C]&2048)&&(d[C]|=2048),Qf(d),d[X]=d[Ln]=t,d[re]=n,d[ke]=s||t&&t[ke],d[B]=a||t&&t[B],d[Ee]=c||t&&t[Ee]||null,d[be]=i,d[bi]=Zy(),d[An]=l,d[Bf]=u,d[Ce]=e.type==2?t[Ce]:d,d}function $n(t,e,n,r,o){let i=t.data[e];if(i===null)i=KD(t,e,n,r,o),Iy()&&(i.flags|=32);else if(i.type&64){i.type=n,i.value=r,i.attrs=o;let s=yy();i.injectorIndex=s===null?-1:s.injectorIndex}return Yt(i,!0),i}function KD(t,e,n,r,o){let i=eh(),s=Vc(),a=s?i:i&&i.parent,c=t.data[e]=rw(t,a,n,e,r,o);return t.firstChild===null&&(t.firstChild=c),i!==null&&(s?i.child==null&&c.parent!==null&&(i.child=c):i.next===null&&(i.next=c,c.prev=i)),c}function rp(t,e,n,r){if(n===0)return-1;let o=e.length;for(let i=0;i<n;i++)e.push(r),t.blueprint.push(r),t.data.push(null);return o}function op(t,e,n,r,o){let i=xt(),s=r&2;try{Ht(-1),s&&e.length>Q&&tp(t,e,Q,!1),Be(s?2:0,o),n(r,o)}finally{Ht(i),Be(s?3:1,o)}}function ou(t,e,n){if(Fc(e)){let r=k(null);try{let o=e.directiveStart,i=e.directiveEnd;for(let s=o;s<i;s++){let a=t.data[s];if(a.contentQueries){let c=n[s];a.contentQueries(1,c,s)}}}finally{k(r)}}}function iu(t,e,n){Jf()&&(uw(t,e,n,Ae(n,e)),(n.flags&64)===64&&ap(t,e,n))}function su(t,e,n=Ae){let r=e.localNames;if(r!==null){let o=e.index+1;for(let i=0;i<r.length;i+=2){let s=r[i+1],a=s===-1?n(e,t):t[s];t[o++]=a}}}function ip(t){let e=t.tView;return e===null||e.incompleteFirstPass?t.tView=au(1,null,t.template,t.decls,t.vars,t.directiveDefs,t.pipeDefs,t.viewQuery,t.schemas,t.consts,t.id):e}function au(t,e,n,r,o,i,s,a,c,u,l){let d=Q+r,f=d+o,h=JD(d,f),p=typeof u=="function"?u():u;return h[E]={type:t,blueprint:h,template:n,queries:null,viewQuery:a,declTNode:e,data:h.slice().fill(null,d),bindingStartIndex:d,expandoStartIndex:f,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:p,incompleteFirstPass:!1,ssrId:l}}function JD(t,e){let n=[];for(let r=0;r<e;r++)n.push(r<t?null:Ye);return n}function XD(t,e,n,r){let i=r.get(tD,Nh)||n===ze.ShadowDom,s=t.selectRootElement(e,i);return ew(s),s}function ew(t){tw(t)}var tw=()=>null;function nw(t,e,n,r){let o=lp(e);o.push(n),t.firstCreatePass&&dp(t).push(r,o.length-1)}function rw(t,e,n,r,o,i){let s=e?e.injectorIndex:-1,a=0;return Xf()&&(a|=128),{type:n,index:r,insertBeforeIndex:null,injectorIndex:s,directiveStart:-1,directiveEnd:-1,directiveStylingLast:-1,componentOffset:-1,propertyBindings:null,flags:a,providerIndexes:0,value:o,attrs:i,mergedAttrs:null,localNames:null,initialInputs:void 0,inputs:null,outputs:null,tView:null,next:null,prev:null,projectionNext:null,child:null,parent:e,projection:null,styles:null,stylesWithoutHost:null,residualStyles:void 0,classes:null,classesWithoutHost:null,residualClasses:void 0,classBindings:0,styleBindings:0}}function zd(t,e,n,r,o){for(let i in e){if(!e.hasOwnProperty(i))continue;let s=e[i];if(s===void 0)continue;r??={};let a,c=Se.None;Array.isArray(s)?(a=s[0],c=s[1]):a=s;let u=i;if(o!==null){if(!o.hasOwnProperty(i))continue;u=o[i]}t===0?qd(r,n,u,a,c):qd(r,n,u,a)}return r}function qd(t,e,n,r,o){let i;t.hasOwnProperty(n)?(i=t[n]).push(e,r):i=t[n]=[e,r],o!==void 0&&i.push(o)}function ow(t,e,n){let r=e.directiveStart,o=e.directiveEnd,i=t.data,s=e.attrs,a=[],c=null,u=null;for(let l=r;l<o;l++){let d=i[l],f=n?n.get(d):null,h=f?f.inputs:null,p=f?f.outputs:null;c=zd(0,d.inputs,l,c,h),u=zd(1,d.outputs,l,u,p);let m=c!==null&&s!==null&&!Sc(e)?ww(c,l,s):null;a.push(m)}c!==null&&(c.hasOwnProperty("class")&&(e.flags|=8),c.hasOwnProperty("style")&&(e.flags|=16)),e.initialInputs=a,e.inputs=c,e.outputs=u}function iw(t){return t==="class"?"className":t==="for"?"htmlFor":t==="formaction"?"formAction":t==="innerHtml"?"innerHTML":t==="readonly"?"readOnly":t==="tabindex"?"tabIndex":t}function cu(t,e,n,r,o,i,s,a){let c=Ae(e,n),u=e.inputs,l;!a&&u!=null&&(l=u[r])?(lu(t,n,l,r,o),Mi(e)&&sw(n,e.index)):e.type&3?(r=iw(r),o=s!=null?s(o,e.value||"",r):o,i.setProperty(c,r,o)):e.type&12}function sw(t,e){let n=St(e,t);n[C]&16||(n[C]|=64)}function uu(t,e,n,r){if(Jf()){let o=r===null?null:{"":-1},i=dw(t,n),s,a;i===null?s=a=null:[s,a]=i,s!==null&&sp(t,e,n,s,o,a),o&&fw(n,r,o)}n.mergedAttrs=ar(n.mergedAttrs,n.attrs)}function sp(t,e,n,r,o,i){for(let u=0;u<r.length;u++)wa(ii(n,e),t,r[u].type);pw(n,t.data.length,r.length);for(let u=0;u<r.length;u++){let l=r[u];l.providersResolver&&l.providersResolver(l)}let s=!1,a=!1,c=rp(t,e,r.length,null);for(let u=0;u<r.length;u++){let l=r[u];n.mergedAttrs=ar(n.mergedAttrs,l.hostAttrs),gw(t,n,e,c,l),hw(c,l,o),l.contentQueries!==null&&(n.flags|=4),(l.hostBindings!==null||l.hostAttrs!==null||l.hostVars!==0)&&(n.flags|=64);let d=l.type.prototype;!s&&(d.ngOnChanges||d.ngOnInit||d.ngDoCheck)&&((t.preOrderHooks??=[]).push(n.index),s=!0),!a&&(d.ngOnChanges||d.ngDoCheck)&&((t.preOrderCheckHooks??=[]).push(n.index),a=!0),c++}ow(t,n,i)}function aw(t,e,n,r,o){let i=o.hostBindings;if(i){let s=t.hostBindingOpCodes;s===null&&(s=t.hostBindingOpCodes=[]);let a=~e.index;cw(s)!=a&&s.push(a),s.push(n,r,i)}}function cw(t){let e=t.length;for(;e>0;){let n=t[--e];if(typeof n=="number"&&n<0)return n}return 0}function uw(t,e,n,r){let o=n.directiveStart,i=n.directiveEnd;Mi(n)&&mw(e,n,t.data[o+n.componentOffset]),t.firstCreatePass||ii(n,e),Mt(r,e);let s=n.initialInputs;for(let a=o;a<i;a++){let c=t.data[a],u=qt(e,t,a,n);if(Mt(u,e),s!==null&&Dw(e,a-o,u,c,n,s),ot(c)){let l=St(n.index,e);l[re]=qt(e,t,a,n)}}}function ap(t,e,n){let r=n.directiveStart,o=n.directiveEnd,i=n.index,s=Cy();try{Ht(i);for(let a=r;a<o;a++){let c=t.data[a],u=e[a];ya(a),(c.hostBindings!==null||c.hostVars!==0||c.hostAttrs!==null)&&lw(c,u)}}finally{Ht(-1),ya(s)}}function lw(t,e){t.hostBindings!==null&&t.hostBindings(1,e)}function dw(t,e){let n=t.directiveRegistry,r=null,o=null;if(n)for(let i=0;i<n.length;i++){let s=n[i];if(Rf(e,s.selectors,!1))if(r||(r=[]),ot(s))if(s.findHostDirectiveDefs!==null){let a=[];o=o||new Map,s.findHostDirectiveDefs(s,a,o),r.unshift(...a,s);let c=a.length;Fa(t,e,c)}else r.unshift(s),Fa(t,e,0);else o=o||new Map,s.findHostDirectiveDefs?.(s,r,o),r.push(s)}return r===null?null:[r,o]}function Fa(t,e,n){e.componentOffset=n,(t.components??=[]).push(e.index)}function fw(t,e,n){if(e){let r=t.localNames=[];for(let o=0;o<e.length;o+=2){let i=n[e[o+1]];if(i==null)throw new w(-301,!1);r.push(e[o],i)}}}function hw(t,e,n){if(n){if(e.exportAs)for(let r=0;r<e.exportAs.length;r++)n[e.exportAs[r]]=t;ot(e)&&(n[""]=t)}}function pw(t,e,n){t.flags|=1,t.directiveStart=e,t.directiveEnd=e+n,t.providerIndexes=e}function gw(t,e,n,r,o){t.data[r]=o;let i=o.factory||(o.factory=$t(o.type,!0)),s=new zt(i,ot(o),V);t.blueprint[r]=s,n[r]=s,aw(t,e,r,rp(t,n,o.hostVars,Ye),o)}function mw(t,e,n){let r=Ae(e,t),o=ip(n),i=t[ke].rendererFactory,s=16;n.signals?s=4096:n.onPush&&(s=64);let a=Li(t,ki(t,o,null,s,r,e,null,i.createRenderer(r,n),null,null,null));t[e.index]=a}function vw(t,e,n,r,o,i){let s=Ae(t,e);yw(e[B],s,i,t.value,n,r,o)}function yw(t,e,n,r,o,i,s){if(i==null)t.removeAttribute(e,o,n);else{let a=s==null?Dr(i):s(i,r||"",o);t.setAttribute(e,o,a,n)}}function Dw(t,e,n,r,o,i){let s=i[e];if(s!==null)for(let a=0;a<s.length;){let c=s[a++],u=s[a++],l=s[a++],d=s[a++];np(r,n,c,u,l,d)}}function ww(t,e,n){let r=null,o=0;for(;o<n.length;){let i=n[o];if(i===0){o+=4;continue}else if(i===5){o+=2;continue}if(typeof i=="number")break;if(t.hasOwnProperty(i)){r===null&&(r=[]);let s=t[i];for(let a=0;a<s.length;a+=3)if(s[a]===e){r.push(i,s[a+1],s[a+2],n[o+1]);break}}o+=2}return r}function cp(t,e,n,r){return[t,!0,0,e,null,r,null,n,null,null]}function up(t,e){let n=t.contentQueries;if(n!==null){let r=k(null);try{for(let o=0;o<n.length;o+=2){let i=n[o],s=n[o+1];if(s!==-1){let a=t.data[s];Uc(i),a.contentQueries(2,e[s],s)}}}finally{k(r)}}}function Li(t,e){return t[lr]?t[Ad][Fe]=e:t[lr]=e,t[Ad]=e,e}function ka(t,e,n){Uc(0);let r=k(null);try{e(t,n)}finally{k(r)}}function lp(t){return t[ur]||(t[ur]=[])}function dp(t){return t.cleanup||(t.cleanup=[])}function Iw(t,e,n){return(t===null||ot(t))&&(n=cy(n[e.index])),n[B]}function ji(t,e){let n=t[Ee],r=n?n.get(Ge,null):null;r&&r.handleError(e)}function lu(t,e,n,r,o){for(let i=0;i<n.length;){let s=n[i++],a=n[i++],c=n[i++],u=e[s],l=t.data[s];np(l,u,r,a,c,o)}}function Ew(t,e,n){let r=Zf(e,t);ND(t[B],r,n)}function Cw(t,e){let n=St(e,t),r=n[E];bw(r,n);let o=n[Ze];o!==null&&n[An]===null&&(n[An]=Kc(o,n[Ee])),du(r,n,n[re])}function bw(t,e){for(let n=e.length;n<t.blueprint.length;n++)e.push(t.blueprint[n])}function du(t,e,n){Bc(e);try{let r=t.viewQuery;r!==null&&ka(1,r,n);let o=t.template;o!==null&&op(t,e,o,1,n),t.firstCreatePass&&(t.firstCreatePass=!1),e[rt]?.finishViewCreation(t),t.staticContentQueries&&up(t,e),t.staticViewQueries&&ka(2,t.viewQuery,n);let i=t.components;i!==null&&Mw(e,i)}catch(r){throw t.firstCreatePass&&(t.incompleteFirstPass=!0,t.firstCreatePass=!1),r}finally{e[C]&=-5,Hc()}}function Mw(t,e){for(let n=0;n<e.length;n++)Cw(t,e[n])}function Mr(t,e,n,r){let o=k(null);try{let i=e.tView,a=t[C]&4096?4096:16,c=ki(t,i,n,a,null,e,null,null,r?.injector??null,r?.embeddedViewInjector??null,r?.dehydratedView??null),u=t[e.index];c[Ir]=u;let l=t[rt];return l!==null&&(c[rt]=l.createEmbeddedView(i)),du(i,c,n),c}finally{k(o)}}function fp(t,e){let n=ce+e;if(n<t.length)return t[n]}function Nn(t,e){return!e||e.firstChild===null||Eh(t)}function Tr(t,e,n,r=!0){let o=e[E];if(kD(o,e,t,n),r){let s=Pa(n,t),a=e[B],c=nu(a,t[Bt]);c!==null&&PD(o,t[be],a,e,c,s)}let i=e[An];i!==null&&i.firstChild!==null&&(i.firstChild=null)}function fu(t,e){let n=hr(t,e);return n!==void 0&&Oi(n[E],n),n}function ai(t,e,n,r,o=!1){for(;n!==null;){let i=e[n.index];i!==null&&r.push(qe(i)),ct(i)&&Tw(i,r);let s=n.type;if(s&8)ai(t,e,n.child,r);else if(s&32){let a=tu(n,e),c;for(;c=a();)r.push(c)}else if(s&16){let a=Kh(e,n);if(Array.isArray(a))r.push(...a);else{let c=fr(e[Ce]);ai(c[E],c,a,r,!0)}}n=o?n.projectionNext:n.next}return r}function Tw(t,e){for(let n=ce;n<t.length;n++){let r=t[n],o=r[E].firstChild;o!==null&&ai(r[E],r,o,e)}t[Bt]!==t[Ze]&&e.push(t[Bt])}var hp=[];function Sw(t){return t[Ut]??xw(t)}function xw(t){let e=hp.pop()??Object.create(_w);return e.lView=t,e}function Aw(t){t.lView[Ut]!==t&&(t.lView=null,hp.push(t))}var _w=U(D({},rr),{consumerIsAlwaysLive:!0,consumerMarkedDirty:t=>{dr(t.lView)},consumerOnSignalRead(){this.lView[Ut]=this}}),pp=100;function gp(t,e=!0,n=0){let r=t[ke],o=r.rendererFactory,i=!1;i||o.begin?.();try{Nw(t,n)}catch(s){throw e&&ji(t,s),s}finally{i||(o.end?.(),r.inlineEffectRunner?.flush())}}function Nw(t,e){La(t,e);let n=0;for(;Lc(t);){if(n===pp)throw new w(103,!1);n++,La(t,1)}}function Rw(t,e,n,r){let o=e[C];if((o&256)===256)return;let i=!1;!i&&e[ke].inlineEffectRunner?.flush(),Bc(e);let s=null,a=null;!i&&Ow(t)&&(a=Sw(e),s=Oo(a));try{Qf(e),wy(t.bindingStartIndex),n!==null&&op(t,e,n,2,r);let c=(o&3)===3;if(!i)if(c){let d=t.preOrderCheckHooks;d!==null&&Go(e,d,null)}else{let d=t.preOrderHooks;d!==null&&Wo(e,d,0,null),Ys(e,0)}if(Pw(e),mp(e,0),t.contentQueries!==null&&up(t,e),!i)if(c){let d=t.contentCheckHooks;d!==null&&Go(e,d)}else{let d=t.contentHooks;d!==null&&Wo(e,d,1),Ys(e,1)}QD(t,e);let u=t.components;u!==null&&yp(e,u,0);let l=t.viewQuery;if(l!==null&&ka(2,l,r),!i)if(c){let d=t.viewCheckHooks;d!==null&&Go(e,d)}else{let d=t.viewHooks;d!==null&&Wo(e,d,2),Ys(e,2)}if(t.firstUpdatePass===!0&&(t.firstUpdatePass=!1),e[qo]){for(let d of e[qo])d();e[qo]=null}i||(e[C]&=-73)}catch(c){throw dr(e),c}finally{a!==null&&(Po(a,s),Aw(a)),Hc()}}function Ow(t){return t.type!==2}function mp(t,e){for(let n=bh(t);n!==null;n=Mh(n))for(let r=ce;r<n.length;r++){let o=n[r];vp(o,e)}}function Pw(t){for(let e=bh(t);e!==null;e=Mh(e)){if(!(e[C]&Pc.HasTransplantedViews))continue;let n=e[_n];for(let r=0;r<n.length;r++){let o=n[r],i=o[X];dy(o)}}}function Fw(t,e,n){let r=St(e,t);vp(r,n)}function vp(t,e){kc(t)&&La(t,e)}function La(t,e){let r=t[E],o=t[C],i=t[Ut],s=!!(e===0&&o&16);if(s||=!!(o&64&&e===0),s||=!!(o&1024),s||=!!(i?.dirty&&Fo(i)),i&&(i.dirty=!1),t[C]&=-9217,s)Rw(r,t,r.template,t[re]);else if(o&8192){mp(t,1);let a=r.components;a!==null&&yp(t,a,1)}}function yp(t,e,n){for(let r=0;r<e.length;r++)Fw(t,e[r],n)}function Vi(t){for(t[ke].changeDetectionScheduler?.notify();t;){t[C]|=64;let e=fr(t);if(ey(t)&&!e)return t;t=e}return null}var Gt=class{get rootNodes(){let e=this._lView,n=e[E];return ai(n,e,n.firstChild,[])}constructor(e,n,r=!0){this._lView=e,this._cdRefInjectingView=n,this.notifyErrorHandler=r,this._appRef=null,this._attachedToViewContainer=!1}get context(){return this._lView[re]}set context(e){this._lView[re]=e}get destroyed(){return(this._lView[C]&256)===256}destroy(){if(this._appRef)this._appRef.detachView(this);else if(this._attachedToViewContainer){let e=this._lView[X];if(ct(e)){let n=e[ti],r=n?n.indexOf(this):-1;r>-1&&(hr(e,r),Xo(n,r))}this._attachedToViewContainer=!1}Oi(this._lView[E],this._lView)}onDestroy(e){jc(this._lView,e)}markForCheck(){Vi(this._cdRefInjectingView||this._lView)}detach(){this._lView[C]&=-129}reattach(){va(this._lView),this._lView[C]|=128}detectChanges(){this._lView[C]|=1024,gp(this._lView,this.notifyErrorHandler)}checkNoChanges(){}attachToViewContainerRef(){if(this._appRef)throw new w(902,!1);this._attachedToViewContainer=!0}detachFromAppRef(){this._appRef=null,Gh(this._lView[E],this._lView)}attachToAppRef(e){if(this._attachedToViewContainer)throw new w(902,!1);this._appRef=e,va(this._lView)}},Wt=(()=>{let e=class e{};e.__NG_ELEMENT_ID__=jw;let t=e;return t})(),kw=Wt,Lw=class extends kw{constructor(e,n,r){super(),this._declarationLView=e,this._declarationTContainer=n,this.elementRef=r}get ssrId(){return this._declarationTContainer.tView?.ssrId||null}createEmbeddedView(e,n){return this.createEmbeddedViewImpl(e,n)}createEmbeddedViewImpl(e,n,r){let o=Mr(this._declarationLView,this._declarationTContainer,e,{embeddedViewInjector:n,dehydratedView:r});return new Gt(o)}};function jw(){return $i(ee(),S())}function $i(t,e){return t.type&4?new Lw(e,t,Vn(t,e)):null}var eR=new RegExp(`^(\\d+)*(${Xy}|${Jy})*(.*)`);var Vw=()=>null;function Rn(t,e){return Vw(t,e)}var ja=class{},Va=class{},ci=class{};function $w(t){let e=Error(`No component factory found for ${de(t)}.`);return e[Uw]=t,e}var Uw="ngComponent";var $a=class{resolveComponentFactory(e){throw $w(e)}},Ui=(()=>{let e=class e{};e.NULL=new $a;let t=e;return t})(),pr=class{},Jt=(()=>{let e=class e{constructor(){this.destroyNode=null}};e.__NG_ELEMENT_ID__=()=>Bw();let t=e;return t})();function Bw(){let t=S(),e=ee(),n=St(e.index,t);return(jt(n)?n:t)[B]}var Hw=(()=>{let e=class e{};e.\u0275prov=I({token:e,providedIn:"root",factory:()=>null});let t=e;return t})(),ea={};var Gd=new Set;function ft(t){Gd.has(t)||(Gd.add(t),performance?.mark?.("mark_feature_usage",{detail:{feature:t}}))}function Wd(...t){}function zw(){let t=typeof tt.requestAnimationFrame=="function",e=tt[t?"requestAnimationFrame":"setTimeout"],n=tt[t?"cancelAnimationFrame":"clearTimeout"];if(typeof Zone<"u"&&e&&n){let r=e[Zone.__symbol__("OriginalDelegate")];r&&(e=r);let o=n[Zone.__symbol__("OriginalDelegate")];o&&(n=o)}return{nativeRequestAnimationFrame:e,nativeCancelAnimationFrame:n}}var G=class t{constructor({enableLongStackTrace:e=!1,shouldCoalesceEventChangeDetection:n=!1,shouldCoalesceRunChangeDetection:r=!1}){if(this.hasPendingMacrotasks=!1,this.hasPendingMicrotasks=!1,this.isStable=!0,this.onUnstable=new Ie(!1),this.onMicrotaskEmpty=new Ie(!1),this.onStable=new Ie(!1),this.onError=new Ie(!1),typeof Zone>"u")throw new w(908,!1);Zone.assertZonePatched();let o=this;o._nesting=0,o._outer=o._inner=Zone.current,Zone.TaskTrackingZoneSpec&&(o._inner=o._inner.fork(new Zone.TaskTrackingZoneSpec)),e&&Zone.longStackTraceZoneSpec&&(o._inner=o._inner.fork(Zone.longStackTraceZoneSpec)),o.shouldCoalesceEventChangeDetection=!r&&n,o.shouldCoalesceRunChangeDetection=r,o.lastRequestAnimationFrameId=-1,o.nativeRequestAnimationFrame=zw().nativeRequestAnimationFrame,Ww(o)}static isInAngularZone(){return typeof Zone<"u"&&Zone.current.get("isAngularZone")===!0}static assertInAngularZone(){if(!t.isInAngularZone())throw new w(909,!1)}static assertNotInAngularZone(){if(t.isInAngularZone())throw new w(909,!1)}run(e,n,r){return this._inner.run(e,n,r)}runTask(e,n,r,o){let i=this._inner,s=i.scheduleEventTask("NgZoneEvent: "+o,e,qw,Wd,Wd);try{return i.runTask(s,n,r)}finally{i.cancelTask(s)}}runGuarded(e,n,r){return this._inner.runGuarded(e,n,r)}runOutsideAngular(e){return this._outer.run(e)}},qw={};function hu(t){if(t._nesting==0&&!t.hasPendingMicrotasks&&!t.isStable)try{t._nesting++,t.onMicrotaskEmpty.emit(null)}finally{if(t._nesting--,!t.hasPendingMicrotasks)try{t.runOutsideAngular(()=>t.onStable.emit(null))}finally{t.isStable=!0}}}function Gw(t){t.isCheckStableRunning||t.lastRequestAnimationFrameId!==-1||(t.lastRequestAnimationFrameId=t.nativeRequestAnimationFrame.call(tt,()=>{t.fakeTopEventTask||(t.fakeTopEventTask=Zone.root.scheduleEventTask("fakeTopEventTask",()=>{t.lastRequestAnimationFrameId=-1,Ua(t),t.isCheckStableRunning=!0,hu(t),t.isCheckStableRunning=!1},void 0,()=>{},()=>{})),t.fakeTopEventTask.invoke()}),Ua(t))}function Ww(t){let e=()=>{Gw(t)};t._inner=t._inner.fork({name:"angular",properties:{isAngularZone:!0},onInvokeTask:(n,r,o,i,s,a)=>{if(Zw(a))return n.invokeTask(o,i,s,a);try{return Zd(t),n.invokeTask(o,i,s,a)}finally{(t.shouldCoalesceEventChangeDetection&&i.type==="eventTask"||t.shouldCoalesceRunChangeDetection)&&e(),Yd(t)}},onInvoke:(n,r,o,i,s,a,c)=>{try{return Zd(t),n.invoke(o,i,s,a,c)}finally{t.shouldCoalesceRunChangeDetection&&e(),Yd(t)}},onHasTask:(n,r,o,i)=>{n.hasTask(o,i),r===o&&(i.change=="microTask"?(t._hasPendingMicrotasks=i.microTask,Ua(t),hu(t)):i.change=="macroTask"&&(t.hasPendingMacrotasks=i.macroTask))},onHandleError:(n,r,o,i)=>(n.handleError(o,i),t.runOutsideAngular(()=>t.onError.emit(i)),!1)})}function Ua(t){t._hasPendingMicrotasks||(t.shouldCoalesceEventChangeDetection||t.shouldCoalesceRunChangeDetection)&&t.lastRequestAnimationFrameId!==-1?t.hasPendingMicrotasks=!0:t.hasPendingMicrotasks=!1}function Zd(t){t._nesting++,t.isStable&&(t.isStable=!1,t.onUnstable.emit(null))}function Yd(t){t._nesting--,hu(t)}function Zw(t){return!Array.isArray(t)||t.length!==1?!1:t[0].data?.__ignore_ng_zone__===!0}var Dp=(()=>{let e=class e{constructor(){this.handler=null,this.internalCallbacks=[]}execute(){this.executeInternalCallbacks(),this.handler?.execute()}executeInternalCallbacks(){let r=[...this.internalCallbacks];this.internalCallbacks.length=0;for(let o of r)o()}ngOnDestroy(){this.handler?.destroy(),this.handler=null,this.internalCallbacks.length=0}};e.\u0275prov=I({token:e,providedIn:"root",factory:()=>new e});let t=e;return t})();function ui(t,e,n){let r=n?t.styles:null,o=n?t.classes:null,i=0;if(e!==null)for(let s=0;s<e.length;s++){let a=e[s];if(typeof a=="number")i=a;else if(i==1)o=ca(o,a);else if(i==2){let c=a,u=e[++s];r=ca(r,c+": "+u+";")}}n?t.styles=r:t.stylesWithoutHost=r,n?t.classes=o:t.classesWithoutHost=o}var li=class extends Ui{constructor(e){super(),this.ngModule=e}resolveComponentFactory(e){let n=nt(e);return new gr(n,this.ngModule)}};function Qd(t){let e=[];for(let n in t){if(!t.hasOwnProperty(n))continue;let r=t[n];r!==void 0&&e.push({propName:Array.isArray(r)?r[0]:r,templateName:n})}return e}function Yw(t){let e=t.toLowerCase();return e==="svg"?Wf:e==="math"?iy:null}var di=class{constructor(e,n){this.injector=e,this.parentInjector=n}get(e,n,r){r=Ii(r);let o=this.injector.get(e,ea,r);return o!==ea||n===ea?o:this.parentInjector.get(e,n,r)}},gr=class extends ci{get inputs(){let e=this.componentDef,n=e.inputTransforms,r=Qd(e.inputs);if(n!==null)for(let o of r)n.hasOwnProperty(o.propName)&&(o.transform=n[o.propName]);return r}get outputs(){return Qd(this.componentDef.outputs)}constructor(e,n){super(),this.componentDef=e,this.ngModule=n,this.componentType=e.type,this.selector=Fv(e.selectors),this.ngContentSelectors=e.ngContentSelectors?e.ngContentSelectors:[],this.isBoundToModule=!!n}create(e,n,r,o){let i=k(null);try{o=o||this.ngModule;let s=o instanceof fe?o:o?.injector;s&&this.componentDef.getStandaloneInjector!==null&&(s=this.componentDef.getStandaloneInjector(s)||s);let a=s?new di(e,s):e,c=a.get(pr,null);if(c===null)throw new w(407,!1);let u=a.get(Hw,null),l=a.get(Dp,null),d=a.get(ja,null),f={rendererFactory:c,sanitizer:u,inlineEffectRunner:null,afterRenderEventManager:l,changeDetectionScheduler:d},h=c.createRenderer(null,this.componentDef),p=this.componentDef.selectors[0][0]||"div",m=r?XD(h,r,this.componentDef.encapsulation,a):qh(h,p,Yw(p)),y=512;this.componentDef.signals?y|=4096:this.componentDef.onPush||(y|=16);let v=null;m!==null&&(v=Kc(m,a,!0));let ie=au(0,null,null,1,0,null,null,null,null,null,null),te=ki(null,ie,null,y,null,null,f,h,a,null,v);Bc(te);let $,Ve;try{let De=this.componentDef,mt,Cs=null;De.findHostDirectiveDefs?(mt=[],Cs=new Map,De.findHostDirectiveDefs(De,mt,Cs),mt.push(De)):mt=[De];let vm=Qw(te,m),ym=Kw(vm,m,De,mt,te,f,h);Ve=Er(ie,Q),m&&eI(h,De,m,r),n!==void 0&&tI(Ve,this.ngContentSelectors,n),$=Xw(ym,De,mt,Cs,te,[nI]),du(ie,te,null)}finally{Hc()}return new Ba(this.componentType,$,Vn(Ve,te),te,Ve)}finally{k(i)}}},Ba=class extends Va{constructor(e,n,r,o,i){super(),this.location=r,this._rootLView=o,this._tNode=i,this.previousInputValues=null,this.instance=n,this.hostView=this.changeDetectorRef=new Gt(o,void 0,!1),this.componentType=e}setInput(e,n){let r=this._tNode.inputs,o;if(r!==null&&(o=r[e])){if(this.previousInputValues??=new Map,this.previousInputValues.has(e)&&Object.is(this.previousInputValues.get(e),n))return;let i=this._rootLView;lu(i[E],i,o,e,n),this.previousInputValues.set(e,n);let s=St(this._tNode.index,i);Vi(s)}}get injector(){return new Vt(this._tNode,this._rootLView)}destroy(){this.hostView.destroy()}onDestroy(e){this.hostView.onDestroy(e)}};function Qw(t,e){let n=t[E],r=Q;return t[r]=e,$n(n,r,2,"#host",null)}function Kw(t,e,n,r,o,i,s){let a=o[E];Jw(r,t,e,s);let c=null;e!==null&&(c=Kc(e,o[Ee]));let u=i.rendererFactory.createRenderer(e,n),l=16;n.signals?l=4096:n.onPush&&(l=64);let d=ki(o,ip(n),null,l,o[t.index],t,i,u,null,null,c);return a.firstCreatePass&&Fa(a,t,r.length-1),Li(o,d),o[t.index]=d}function Jw(t,e,n,r){for(let o of t)e.mergedAttrs=ar(e.mergedAttrs,o.hostAttrs);e.mergedAttrs!==null&&(ui(e,e.mergedAttrs,!0),n!==null&&ep(r,n,e))}function Xw(t,e,n,r,o,i){let s=ee(),a=o[E],c=Ae(s,o);sp(a,o,s,n,null,r);for(let l=0;l<n.length;l++){let d=s.directiveStart+l,f=qt(o,a,d,s);Mt(f,o)}ap(a,o,s),c&&Mt(c,o);let u=qt(o,a,s.directiveStart+s.componentOffset,s);if(t[re]=o[re]=u,i!==null)for(let l of i)l(u,e);return ou(a,s,o),u}function eI(t,e,n,r){if(r)fa(t,n,["ng-version","17.3.10"]);else{let{attrs:o,classes:i}=kv(e.selectors[0]);o&&fa(t,n,o),i&&i.length>0&&Xh(t,n,i.join(" "))}}function tI(t,e,n){let r=t.projection=[];for(let o=0;o<e.length;o++){let i=n[o];r.push(i!=null?Array.from(i):null)}}function nI(){let t=ee();_i(S()[E],t)}var At=(()=>{let e=class e{};e.__NG_ELEMENT_ID__=rI;let t=e;return t})();function rI(){let t=ee();return Ip(t,S())}var oI=At,wp=class extends oI{constructor(e,n,r){super(),this._lContainer=e,this._hostTNode=n,this._hostLView=r}get element(){return Vn(this._hostTNode,this._hostLView)}get injector(){return new Vt(this._hostTNode,this._hostLView)}get parentInjector(){let e=zc(this._hostTNode,this._hostLView);if(dh(e)){let n=ri(e,this._hostLView),r=ni(e),o=n[E].data[r+8];return new Vt(o,n)}else return new Vt(null,this._hostLView)}clear(){for(;this.length>0;)this.remove(this.length-1)}get(e){let n=Kd(this._lContainer);return n!==null&&n[e]||null}get length(){return this._lContainer.length-ce}createEmbeddedView(e,n,r){let o,i;typeof r=="number"?o=r:r!=null&&(o=r.index,i=r.injector);let s=Rn(this._lContainer,e.ssrId),a=e.createEmbeddedViewImpl(n||{},i,s);return this.insertImpl(a,o,Nn(this._hostTNode,s)),a}createComponent(e,n,r,o,i){let s=e&&!Xv(e),a;if(s)a=n;else{let p=n||{};a=p.index,r=p.injector,o=p.projectableNodes,i=p.environmentInjector||p.ngModuleRef}let c=s?e:new gr(nt(e)),u=r||this.parentInjector;if(!i&&c.ngModule==null){let m=(s?u:this.parentInjector).get(fe,null);m&&(i=m)}let l=nt(c.componentType??{}),d=Rn(this._lContainer,l?.id??null),f=d?.firstChild??null,h=c.create(u,o,f,i);return this.insertImpl(h.hostView,a,Nn(this._hostTNode,d)),h}insert(e,n){return this.insertImpl(e,n,!0)}insertImpl(e,n,r){let o=e._lView;if(ly(o)){let a=this.indexOf(e);if(a!==-1)this.detach(a);else{let c=o[X],u=new wp(c,c[be],c[X]);u.detach(u.indexOf(e))}}let i=this._adjustIndex(n),s=this._lContainer;return Tr(s,o,i,r),e.attachToViewContainerRef(),Mf(ta(s),i,e),e}move(e,n){return this.insert(e,n)}indexOf(e){let n=Kd(this._lContainer);return n!==null?n.indexOf(e):-1}remove(e){let n=this._adjustIndex(e,-1),r=hr(this._lContainer,n);r&&(Xo(ta(this._lContainer),n),Oi(r[E],r))}detach(e){let n=this._adjustIndex(e,-1),r=hr(this._lContainer,n);return r&&Xo(ta(this._lContainer),n)!=null?new Gt(r):null}_adjustIndex(e,n=0){return e??this.length+n}};function Kd(t){return t[ti]}function ta(t){return t[ti]||(t[ti]=[])}function Ip(t,e){let n,r=e[t.index];return ct(r)?n=r:(n=cp(r,e,null,t),e[t.index]=n,Li(e,n)),sI(n,e,t,r),new wp(n,t,e)}function iI(t,e){let n=t[B],r=n.createComment(""),o=Ae(e,t),i=nu(n,o);return si(n,i,r,BD(n,o),!1),r}var sI=cI,aI=()=>!1;function Ep(t,e,n){return aI(t,e,n)}function cI(t,e,n,r){if(t[Bt])return;let o;n.type&8?o=qe(r):o=iI(e,n),t[Bt]=o}var Ha=class t{constructor(e){this.queryList=e,this.matches=null}clone(){return new t(this.queryList)}setDirty(){this.queryList.setDirty()}},za=class t{constructor(e=[]){this.queries=e}createEmbeddedView(e){let n=e.queries;if(n!==null){let r=e.contentQueries!==null?e.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 t(o)}return null}insertView(e){this.dirtyQueriesWithMatches(e)}detachView(e){this.dirtyQueriesWithMatches(e)}finishViewCreation(e){this.dirtyQueriesWithMatches(e)}dirtyQueriesWithMatches(e){for(let n=0;n<this.queries.length;n++)pu(e,n).matches!==null&&this.queries[n].setDirty()}},fi=class{constructor(e,n,r=null){this.flags=n,this.read=r,typeof e=="string"?this.predicate=mI(e):this.predicate=e}},qa=class t{constructor(e=[]){this.queries=e}elementStart(e,n){for(let r=0;r<this.queries.length;r++)this.queries[r].elementStart(e,n)}elementEnd(e){for(let n=0;n<this.queries.length;n++)this.queries[n].elementEnd(e)}embeddedTView(e){let n=null;for(let r=0;r<this.length;r++){let o=n!==null?n.length:0,i=this.getByIndex(r).embeddedTView(e,o);i&&(i.indexInDeclarationView=r,n!==null?n.push(i):n=[i])}return n!==null?new t(n):null}template(e,n){for(let r=0;r<this.queries.length;r++)this.queries[r].template(e,n)}getByIndex(e){return this.queries[e]}get length(){return this.queries.length}track(e){this.queries.push(e)}},Ga=class t{constructor(e,n=-1){this.metadata=e,this.matches=null,this.indexInDeclarationView=-1,this.crossesNgTemplate=!1,this._appliesToNextNode=!0,this._declarationNodeIndex=n}elementStart(e,n){this.isApplyingToNode(n)&&this.matchTNode(e,n)}elementEnd(e){this._declarationNodeIndex===e.index&&(this._appliesToNextNode=!1)}template(e,n){this.elementStart(e,n)}embeddedTView(e,n){return this.isApplyingToNode(e)?(this.crossesNgTemplate=!0,this.addMatch(-e.index,n),new t(this.metadata)):null}isApplyingToNode(e){if(this._appliesToNextNode&&(this.metadata.flags&1)!==1){let n=this._declarationNodeIndex,r=e.parent;for(;r!==null&&r.type&8&&r.index!==n;)r=r.parent;return n===(r!==null?r.index:-1)}return this._appliesToNextNode}matchTNode(e,n){let r=this.metadata.predicate;if(Array.isArray(r))for(let o=0;o<r.length;o++){let i=r[o];this.matchTNodeWithReadOption(e,n,uI(n,i)),this.matchTNodeWithReadOption(e,n,Zo(n,e,i,!1,!1))}else r===Wt?n.type&4&&this.matchTNodeWithReadOption(e,n,-1):this.matchTNodeWithReadOption(e,n,Zo(n,e,r,!1,!1))}matchTNodeWithReadOption(e,n,r){if(r!==null){let o=this.metadata.read;if(o!==null)if(o===Le||o===At||o===Wt&&n.type&4)this.addMatch(n.index,-2);else{let i=Zo(n,e,o,!1,!1);i!==null&&this.addMatch(n.index,i)}else this.addMatch(n.index,r)}}addMatch(e,n){this.matches===null?this.matches=[e,n]:this.matches.push(e,n)}};function uI(t,e){let n=t.localNames;if(n!==null){for(let r=0;r<n.length;r+=2)if(n[r]===e)return n[r+1]}return null}function lI(t,e){return t.type&11?Vn(t,e):t.type&4?$i(t,e):null}function dI(t,e,n,r){return n===-1?lI(e,t):n===-2?fI(t,e,r):qt(t,t[E],n,e)}function fI(t,e,n){if(n===Le)return Vn(e,t);if(n===Wt)return $i(e,t);if(n===At)return Ip(e,t)}function Cp(t,e,n,r){let o=e[rt].queries[r];if(o.matches===null){let i=t.data,s=n.matches,a=[];for(let c=0;s!==null&&c<s.length;c+=2){let u=s[c];if(u<0)a.push(null);else{let l=i[u];a.push(dI(e,l,s[c+1],n.metadata.read))}}o.matches=a}return o.matches}function Wa(t,e,n,r){let o=t.queries.getByIndex(n),i=o.matches;if(i!==null){let s=Cp(t,e,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 u=i[a+1],l=e[-c];for(let d=ce;d<l.length;d++){let f=l[d];f[Ir]===f[X]&&Wa(f[E],f,u,r)}if(l[_n]!==null){let d=l[_n];for(let f=0;f<d.length;f++){let h=d[f];Wa(h[E],h,u,r)}}}}}return r}function hI(t,e){return t[rt].queries[e].queryList}function bp(t,e,n){let r=new ba((n&4)===4);return nw(t,e,r,r.destroy),(e[rt]??=new za).queries.push(new Ha(r))-1}function pI(t,e,n){let r=H();return r.firstCreatePass&&(Mp(r,new fi(t,e,n),-1),(e&2)===2&&(r.staticViewQueries=!0)),bp(r,S(),e)}function gI(t,e,n,r){let o=H();if(o.firstCreatePass){let i=ee();Mp(o,new fi(e,n,r),i.index),vI(o,t),(n&2)===2&&(o.staticContentQueries=!0)}return bp(o,S(),n)}function mI(t){return t.split(",").map(e=>e.trim())}function Mp(t,e,n){t.queries===null&&(t.queries=new qa),t.queries.track(new Ga(e,n))}function vI(t,e){let n=t.contentQueries||(t.contentQueries=[]),r=n.length?n[n.length-1]:-1;e!==r&&n.push(t.queries.length-1,e)}function pu(t,e){return t.queries.getByIndex(e)}function yI(t,e){let n=t[E],r=pu(n,e);return r.crossesNgTemplate?Wa(n,t,e,[]):Cp(n,t,r,e)}function DI(t){return typeof t=="function"&&t[Ue]!==void 0}function nR(t,e){ft("NgSignals");let n=gd(t),r=n[Ue];return e?.equal&&(r.equal=e.equal),n.set=o=>Gs(r,o),n.update=o=>md(r,o),n.asReadonly=wI.bind(n),n}function wI(){let t=this[Ue];if(t.readonlyFn===void 0){let e=()=>this();e[Ue]=t,t.readonlyFn=e}return t.readonlyFn}function Tp(t){return DI(t)&&typeof t.set=="function"}function II(t){return Object.getPrototypeOf(t.prototype).constructor}function EI(t){let e=II(t.type),n=!0,r=[t];for(;e;){let o;if(ot(t))o=e.\u0275cmp||e.\u0275dir;else{if(e.\u0275cmp)throw new w(903,!1);o=e.\u0275dir}if(o){if(n){r.push(o);let s=t;s.inputs=Uo(t.inputs),s.inputTransforms=Uo(t.inputTransforms),s.declaredInputs=Uo(t.declaredInputs),s.outputs=Uo(t.outputs);let a=o.hostBindings;a&&SI(t,a);let c=o.viewQuery,u=o.contentQueries;if(c&&MI(t,c),u&&TI(t,u),CI(t,o),tv(t.outputs,o.outputs),ot(o)&&o.data.animation){let l=t.data;l.animation=(l.animation||[]).concat(o.data.animation)}}let i=o.features;if(i)for(let s=0;s<i.length;s++){let a=i[s];a&&a.ngInherit&&a(t),a===EI&&(n=!1)}}e=Object.getPrototypeOf(e)}bI(r)}function CI(t,e){for(let n in e.inputs){if(!e.inputs.hasOwnProperty(n)||t.inputs.hasOwnProperty(n))continue;let r=e.inputs[n];if(r!==void 0&&(t.inputs[n]=r,t.declaredInputs[n]=e.declaredInputs[n],e.inputTransforms!==null)){let o=Array.isArray(r)?r[0]:r;if(!e.inputTransforms.hasOwnProperty(o))continue;t.inputTransforms??={},t.inputTransforms[o]=e.inputTransforms[o]}}}function bI(t){let e=0,n=null;for(let r=t.length-1;r>=0;r--){let o=t[r];o.hostVars=e+=o.hostVars,o.hostAttrs=ar(o.hostAttrs,n=ar(n,o.hostAttrs))}}function Uo(t){return t===Tn?{}:t===ye?[]:t}function MI(t,e){let n=t.viewQuery;n?t.viewQuery=(r,o)=>{e(r,o),n(r,o)}:t.viewQuery=e}function TI(t,e){let n=t.contentQueries;n?t.contentQueries=(r,o,i)=>{e(r,o,i),n(r,o,i)}:t.contentQueries=e}function SI(t,e){let n=t.hostBindings;n?t.hostBindings=(r,o)=>{e(r,o),n(r,o)}:t.hostBindings=e}function gu(t){let e=t.inputConfig,n={};for(let r in e)if(e.hasOwnProperty(r)){let o=e[r];Array.isArray(o)&&o[3]&&(n[r]=o[3])}t.inputTransforms=n}var Tt=class{},mr=class{};var Za=class extends Tt{constructor(e,n,r){super(),this._parent=n,this._bootstrapComponents=[],this.destroyCbs=[],this.componentFactoryResolver=new li(this);let o=Ff(e);this._bootstrapComponents=zh(o.bootstrap),this._r3Injector=wh(e,n,[{provide:Tt,useValue:this},{provide:Ui,useValue:this.componentFactoryResolver},...r],de(e),new Set(["environment"])),this._r3Injector.resolveInjectorInitializers(),this.instance=this._r3Injector.get(e)}get injector(){return this._r3Injector}destroy(){let e=this._r3Injector;!e.destroyed&&e.destroy(),this.destroyCbs.forEach(n=>n()),this.destroyCbs=null}onDestroy(e){this.destroyCbs.push(e)}},Ya=class extends mr{constructor(e){super(),this.moduleType=e}create(e){return new Za(this.moduleType,e,[])}};var hi=class extends Tt{constructor(e){super(),this.componentFactoryResolver=new li(this),this.instance=null;let n=new cr([...e.providers,{provide:Tt,useValue:this},{provide:Ui,useValue:this.componentFactoryResolver}],e.parent||Rc(),e.debugName,new Set(["environment"]));this.injector=n,e.runEnvironmentInitializers&&n.resolveInjectorInitializers()}destroy(){this.injector.destroy()}onDestroy(e){this.injector.onDestroy(e)}};function Bi(t,e,n=null){return new hi({providers:t,parent:e,debugName:n,runEnvironmentInitializers:!0}).injector}var xI=(()=>{let e=class e{constructor(){this.cachedInjectors=new Map}getOrCreateInjector(r,o,i,s){if(!this.cachedInjectors.has(r)){let a=i.length>0?Bi(i,o,s):null;this.cachedInjectors.set(r,a)}return this.cachedInjectors.get(r)}ngOnDestroy(){try{for(let r of this.cachedInjectors.values())r!==null&&r.destroy()}finally{this.cachedInjectors.clear()}}};e.\u0275prov=I({token:e,providedIn:"environment",factory:()=>new e});let t=e;return t})();var ht=(()=>{let e=class e{constructor(){this.taskId=0,this.pendingTasks=new Set,this.hasPendingTasks=new ne(!1)}get _hasPendingTasks(){return this.hasPendingTasks.value}add(){this._hasPendingTasks||this.hasPendingTasks.next(!0);let r=this.taskId++;return this.pendingTasks.add(r),r}remove(r){this.pendingTasks.delete(r),this.pendingTasks.size===0&&this._hasPendingTasks&&this.hasPendingTasks.next(!1)}ngOnDestroy(){this.pendingTasks.clear(),this._hasPendingTasks&&this.hasPendingTasks.next(!1)}};e.\u0275fac=function(o){return new(o||e)},e.\u0275prov=I({token:e,factory:e.\u0275fac,providedIn:"root"});let t=e;return t})();function Sp(t){return mu(t)?Array.isArray(t)||!(t instanceof Map)&&Symbol.iterator in t:!1}function AI(t,e){if(Array.isArray(t))for(let n=0;n<t.length;n++)e(t[n]);else{let n=t[Symbol.iterator](),r;for(;!(r=n.next()).done;)e(r.value)}}function mu(t){return t!==null&&(typeof t=="function"||typeof t=="object")}function Hi(t,e,n){return t[e]=n}function _I(t,e){return t[e]}function xe(t,e,n){let r=t[e];return Object.is(r,n)?!1:(t[e]=n,!0)}function Qa(t,e,n,r){let o=xe(t,e,n);return xe(t,e+1,r)||o}function NI(t,e,n,r,o,i){let s=Qa(t,e,n,r);return Qa(t,e+2,o,i)||s}function RI(t){return(t.flags&32)===32}function OI(t,e,n,r,o,i,s,a,c){let u=e.consts,l=$n(e,t,4,s||null,bt(u,a));uu(e,n,l,bt(u,c)),_i(e,l);let d=l.tView=au(2,l,r,o,i,e.directiveRegistry,e.pipeRegistry,null,e.schemas,u,null);return e.queries!==null&&(e.queries.template(e,l),d.queries=e.queries.embeddedTView(l)),l}function pi(t,e,n,r,o,i,s,a){let c=S(),u=H(),l=t+Q,d=u.firstCreatePass?OI(l,u,c,e,n,r,o,i,s):u.data[l];Yt(d,!1);let f=PI(u,c,d,t);xi()&&Pi(u,c,f,d),Mt(f,c);let h=cp(f,c,f,d);return c[l]=h,Li(c,h),Ep(h,d,c),Ti(d)&&iu(u,c,d),s!=null&&su(c,d,a),pi}var PI=FI;function FI(t,e,n,r){return Ai(!0),e[B].createComment("")}var ve=function(t){return t[t.NOT_STARTED=0]="NOT_STARTED",t[t.IN_PROGRESS=1]="IN_PROGRESS",t[t.COMPLETE=2]="COMPLETE",t[t.FAILED=3]="FAILED",t}(ve||{}),Jd=0,kI=1,Y=function(t){return t[t.Placeholder=0]="Placeholder",t[t.Loading=1]="Loading",t[t.Complete=2]="Complete",t[t.Error=3]="Error",t}(Y||{}),xp=function(t){return t[t.Initial=-1]="Initial",t}(xp||{}),Mn=0,Ap=1,or=2,Bo=3,_p=4,Np=5,Rp=function(t){return t[t.Manual=0]="Manual",t[t.Playthrough=1]="Playthrough",t}(Rp||{});function Op(t,e,n){let r=t===1?Np:_p;e[r]===null&&(e[r]=[]),e[r].push(n)}function Ka(t,e){let n=t===1?Np:_p,r=e[n];if(r!==null){for(let o of r)o();e[n]=null}}function Pp(t){Ka(1,t),Ka(0,t)}function zi(t){return t+1}function qi(t,e){let n=t[E],r=zi(e.index);return t[r]}function LI(t,e,n){let r=t[E],o=zi(e);t[o]=n}function Sr(t,e){let n=zi(e.index);return t.data[n]}function jI(t,e,n){let r=zi(e);t.data[r]=n}function VI(t,e,n){let r=e[E],o=Sr(r,n);switch(t){case Y.Complete:return o.primaryTmplIndex;case Y.Loading:return o.loadingTmplIndex;case Y.Error:return o.errorTmplIndex;case Y.Placeholder:return o.placeholderTmplIndex;default:return null}}function Ja(t,e){return e===Y.Placeholder?t.placeholderBlockConfig?.[Jd]??null:e===Y.Loading?t.loadingBlockConfig?.[Jd]??null:null}function Fp(t){return t.loadingBlockConfig?.[kI]??null}function Xd(t,e){if(!t||t.length===0)return e;let n=new Set(t);for(let r of e)n.add(r);return t.length===n.size?t:Array.from(n)}function $I(t,e){let n=e.primaryTmplIndex+Q;return Er(t,n)}function UI(t,e){let r=e[Ee].get(zI),o=()=>r.remove(t);return r.add(t),o}var BI=()=>typeof requestIdleCallback<"u"?requestIdleCallback:setTimeout,HI=()=>typeof requestIdleCallback<"u"?cancelIdleCallback:clearTimeout,zI=(()=>{let e=class e{constructor(){this.executingCallbacks=!1,this.idleId=null,this.current=new Set,this.deferred=new Set,this.ngZone=g(G),this.requestIdleCallbackFn=BI().bind(globalThis),this.cancelIdleCallbackFn=HI().bind(globalThis)}add(r){(this.executingCallbacks?this.deferred:this.current).add(r),this.idleId===null&&this.scheduleIdleCallback()}remove(r){let{current:o,deferred:i}=this;o.delete(r),i.delete(r),o.size===0&&i.size===0&&this.cancelIdleCallback()}scheduleIdleCallback(){let r=()=>{this.cancelIdleCallback(),this.executingCallbacks=!0;for(let o of this.current)o();if(this.current.clear(),this.executingCallbacks=!1,this.deferred.size>0){for(let o of this.deferred)this.current.add(o);this.deferred.clear(),this.scheduleIdleCallback()}};this.idleId=this.requestIdleCallbackFn(()=>this.ngZone.run(r))}cancelIdleCallback(){this.idleId!==null&&(this.cancelIdleCallbackFn(this.idleId),this.idleId=null)}ngOnDestroy(){this.cancelIdleCallback(),this.current.clear(),this.deferred.clear()}};e.\u0275prov=I({token:e,providedIn:"root",factory:()=>new e});let t=e;return t})();function qI(t,e,n){let o=n[Ee].get(GI),i=()=>o.remove(e);return o.add(t,e),i}var GI=(()=>{let e=class e{constructor(){this.executingCallbacks=!1,this.timeoutId=null,this.invokeTimerAt=null,this.current=[],this.deferred=[]}add(r,o){let i=this.executingCallbacks?this.deferred:this.current;this.addToQueue(i,Date.now()+r,o),this.scheduleTimer()}remove(r){let{current:o,deferred:i}=this;this.removeFromQueue(o,r)===-1&&this.removeFromQueue(i,r),o.length===0&&i.length===0&&this.clearTimeout()}addToQueue(r,o,i){let s=r.length;for(let a=0;a<r.length;a+=2)if(r[a]>o){s=a;break}Tf(r,s,o,i)}removeFromQueue(r,o){let i=-1;for(let s=0;s<r.length;s+=2)if(r[s+1]===o){i=s;break}return i>-1&&bd(r,i,2),i}scheduleTimer(){let r=()=>{this.clearTimeout(),this.executingCallbacks=!0;let i=[...this.current],s=Date.now();for(let c=0;c<i.length;c+=2){let u=i[c],l=i[c+1];if(u<=s)l();else break}let a=-1;for(let c=0;c<this.current.length&&this.current[c]<=s;c+=2)a=c+1;if(a>=0&&bd(this.current,0,a+1),this.executingCallbacks=!1,this.deferred.length>0){for(let c=0;c<this.deferred.length;c+=2){let u=this.deferred[c],l=this.deferred[c+1];this.addToQueue(this.current,u,l)}this.deferred.length=0}this.scheduleTimer()};if(this.current.length>0){let i=Date.now(),s=this.current[0];if(this.timeoutId===null||this.invokeTimerAt&&this.invokeTimerAt-s>16){this.clearTimeout();let a=Math.max(s-i,16);this.invokeTimerAt=s,this.timeoutId=setTimeout(r,a)}}}clearTimeout(){this.timeoutId!==null&&(clearTimeout(this.timeoutId),this.timeoutId=null)}ngOnDestroy(){this.clearTimeout(),this.current.length=0,this.deferred.length=0}};e.\u0275prov=I({token:e,providedIn:"root",factory:()=>new e});let t=e;return t})();var WI=new M("");function ZI(t){return t.get(WI,null,{optional:!0})?.behavior===Rp.Manual?!1:eu(t)}var Xa=null;function rR(t,e,n,r){let o=t.consts;n!=null&&(e.placeholderBlockConfig=bt(o,n)),r!=null&&(e.loadingBlockConfig=bt(o,r)),Xa===null&&(Xa=JI)}function oR(t,e,n,r,o,i,s,a,c){let u=S(),l=H(),d=t+Q;if(pi(t,null,0,0),l.firstCreatePass){ft("NgDefer");let y={primaryTmplIndex:e,loadingTmplIndex:r??null,placeholderTmplIndex:o??null,errorTmplIndex:i??null,placeholderBlockConfig:null,loadingBlockConfig:null,dependencyResolverFn:n??null,loadingState:ve.NOT_STARTED,loadingPromise:null,providers:null};c?.(l,y,a,s),jI(l,d,y)}let f=ee(),h=u[d];Ep(h,f,u);let p=[null,xp.Initial,null,null,null,null];LI(u,d,p);let m=()=>Pp(p);Op(0,p,()=>Kf(u,m)),jc(u,m)}function iR(){YI(UI)}function YI(t){let e=S(),n=ee();if(eE(e,n),eu(e[Ee])){let r=t(()=>tE(e,n),e),o=qi(e,n);Op(0,o,r)}}function Et(t,e,n,r=!1){let o=n[X],i=o[E];if(ty(o))return;let s=qi(o,e),a=s[Ap];if(tf(a,t)&&tf(s[Mn]??-1,t)){let c=o[Ee],u=Sr(i,e),d=!r&&eu(c)&&(Fp(u)!==null||Ja(u,Y.Loading)!==null||Ja(u,Y.Placeholder))?Xa:kp;try{d(t,s,n,e,o)}catch(f){ji(o,f)}}}function QI(t){return t instanceof di&&typeof t.injector.__ngOutletInjector=="function"}function KI(t,e){return t.injector.__ngOutletInjector(e)}function kp(t,e,n,r,o){let i=VI(t,o,r);if(i!==null){e[Ap]=t;let s=o[E],a=i+Q,c=Er(s,a),u=0;fu(n,u);let l;if(t===Y.Complete){let h=Sr(s,r),p=h.providers;if(p&&p.length>0){let m=o[Ee],y=QI(m),v=y?m:m.get(fe);l=v.get(xI).getOrCreateInjector(h,v,p,""),y&&(l=KI(m,l))}}let d=Rn(n,c.tView.ssrId),f=Mr(o,c,null,{dehydratedView:d,injector:l});Tr(n,f,u,Nn(c,d)),Vi(f)}}function JI(t,e,n,r,o){let i=Date.now(),s=o[E],a=Sr(s,r);if(e[or]===null||e[or]<=i){e[or]=null;let c=Fp(a),u=e[Bo]!==null;if(t===Y.Loading&&c!==null&&!u){e[Mn]=t;let l=ef(c,e,r,n,o);e[Bo]=l}else{t>Y.Loading&&u&&(e[Bo](),e[Bo]=null,e[Mn]=null),kp(t,e,n,r,o);let l=Ja(a,t);l!==null&&(e[or]=i+l,ef(l,e,r,n,o))}}else e[Mn]=t}function ef(t,e,n,r,o){return qI(t,()=>{let s=e[Mn];e[or]=null,e[Mn]=null,s!==null&&Et(s,n,r)},o)}function tf(t,e){return t<e}function XI(t,e,n){let r=e[Ee],o=e[E];if(t.loadingState!==ve.NOT_STARTED)return t.loadingPromise??Promise.resolve();let i=qi(e,n),s=$I(o,t);t.loadingState=ve.IN_PROGRESS,Ka(1,i);let a=t.dependencyResolverFn,c=r.get(ht),u=c.add();return a?(t.loadingPromise=Promise.allSettled(a()).then(l=>{let d=!1,f=[],h=[];for(let p of l)if(p.status==="fulfilled"){let m=p.value,y=nt(m)||xc(m);if(y)f.push(y);else{let v=Ac(m);v&&h.push(v)}}else{d=!0;break}if(t.loadingPromise=null,c.remove(u),d){if(t.loadingState=ve.FAILED,t.errorTmplIndex===null){let p=xD(e),m=new w(750,!1);ji(e,m)}}else{t.loadingState=ve.COMPLETE;let p=s.tView;if(f.length>0){p.directiveRegistry=Xd(p.directiveRegistry,f);let m=f.map(v=>v.type),y=_c(!1,...m);t.providers=y}h.length>0&&(p.pipeRegistry=Xd(p.pipeRegistry,h))}}),t.loadingPromise):(t.loadingPromise=Promise.resolve().then(()=>{t.loadingPromise=null,t.loadingState=ve.COMPLETE,c.remove(u)}),t.loadingPromise)}function eE(t,e){let n=t[e.index];Et(Y.Placeholder,e,n)}function nf(t,e,n){t.loadingPromise.then(()=>{t.loadingState===ve.COMPLETE?Et(Y.Complete,e,n):t.loadingState===ve.FAILED&&Et(Y.Error,e,n)})}function tE(t,e){let n=t[E],r=t[e.index],o=t[Ee];if(!ZI(o))return;let i=qi(t,e),s=Sr(n,e);switch(Pp(i),s.loadingState){case ve.NOT_STARTED:Et(Y.Loading,e,r),XI(s,t,e),s.loadingState===ve.IN_PROGRESS&&nf(s,e,r);break;case ve.IN_PROGRESS:Et(Y.Loading,e,r),nf(s,e,r);break;case ve.COMPLETE:Et(Y.Complete,e,r);break;case ve.FAILED:Et(Y.Error,e,r);break;default:}}function vu(t,e,n,r){let o=S(),i=Qt();if(xe(o,i,e)){let s=H(),a=Si();vw(a,o,t,e,n,r)}return vu}function nE(t,e,n,r){return xe(t,Qt(),n)?e+Dr(n)+r:Ye}function Ho(t,e){return t<<17|e<<2}function Zt(t){return t>>17&32767}function rE(t){return(t&2)==2}function oE(t,e){return t&131071|e<<17}function ec(t){return t|2}function On(t){return(t&131068)>>2}function na(t,e){return t&-131069|e<<2}function iE(t){return(t&1)===1}function tc(t){return t|1}function sE(t,e,n,r,o,i){let s=i?e.classBindings:e.styleBindings,a=Zt(s),c=On(s);t[r]=n;let u=!1,l;if(Array.isArray(n)){let d=n;l=d[1],(l===null||wr(d,l)>0)&&(u=!0)}else l=n;if(o)if(c!==0){let f=Zt(t[a+1]);t[r+1]=Ho(f,a),f!==0&&(t[f+1]=na(t[f+1],r)),t[a+1]=oE(t[a+1],r)}else t[r+1]=Ho(a,0),a!==0&&(t[a+1]=na(t[a+1],r)),a=r;else t[r+1]=Ho(c,0),a===0?a=r:t[c+1]=na(t[c+1],r),c=r;u&&(t[r+1]=ec(t[r+1])),rf(t,l,r,!0),rf(t,l,r,!1),aE(e,l,t,r,i),s=Ho(a,c),i?e.classBindings=s:e.styleBindings=s}function aE(t,e,n,r,o){let i=o?t.residualClasses:t.residualStyles;i!=null&&typeof e=="string"&&wr(i,e)>=0&&(n[r+1]=tc(n[r+1]))}function rf(t,e,n,r){let o=t[n+1],i=e===null,s=r?Zt(o):On(o),a=!1;for(;s!==0&&(a===!1||i);){let c=t[s],u=t[s+1];cE(c,e)&&(a=!0,t[s+1]=r?tc(u):ec(u)),s=r?Zt(u):On(u)}a&&(t[n+1]=r?ec(o):tc(o))}function cE(t,e){return t===null||e==null||(Array.isArray(t)?t[1]:t)===e?!0:Array.isArray(t)&&typeof e=="string"?wr(t,e)>=0:!1}var Pe={textEnd:0,key:0,keyEnd:0,value:0,valueEnd:0};function uE(t){return t.substring(Pe.key,Pe.keyEnd)}function lE(t){return dE(t),Lp(t,jp(t,0,Pe.textEnd))}function Lp(t,e){let n=Pe.textEnd;return n===e?-1:(e=Pe.keyEnd=fE(t,Pe.key=e,n),jp(t,e,n))}function dE(t){Pe.key=0,Pe.keyEnd=0,Pe.value=0,Pe.valueEnd=0,Pe.textEnd=t.length}function jp(t,e,n){for(;e<n&&t.charCodeAt(e)<=32;)e++;return e}function fE(t,e,n){for(;e<n&&t.charCodeAt(e)>32;)e++;return e}function hE(t,e,n){let r=S(),o=Qt();if(xe(r,o,e)){let i=H(),s=Si();cu(i,s,r,t,e,r[B],n,!1)}return hE}function nc(t,e,n,r,o){let i=e.inputs,s=o?"class":"style";lu(t,n,i[s],s,r)}function Vp(t,e,n){return $p(t,e,n,!1),Vp}function pE(t,e){return $p(t,e,null,!0),pE}function sR(t){mE(EE,gE,t,!0)}function gE(t,e){for(let n=lE(e);n>=0;n=Lp(e,n))Tc(t,uE(e),!0)}function $p(t,e,n,r){let o=S(),i=H(),s=th(2);if(i.firstUpdatePass&&Bp(i,t,s,r),e!==Ye&&xe(o,s,e)){let a=i.data[xt()];Hp(i,a,o,o[B],t,o[s+1]=bE(e,n),r,s)}}function mE(t,e,n,r){let o=H(),i=th(2);o.firstUpdatePass&&Bp(o,null,i,r);let s=S();if(n!==Ye&&xe(s,i,n)){let a=o.data[xt()];if(zp(a,r)&&!Up(o,i)){let c=r?a.classesWithoutHost:a.stylesWithoutHost;c!==null&&(n=ca(c,n||"")),nc(o,a,s,n,r)}else CE(o,a,s,s[B],s[i+1],s[i+1]=IE(t,e,n),r,i)}}function Up(t,e){return e>=t.expandoStartIndex}function Bp(t,e,n,r){let o=t.data;if(o[n+1]===null){let i=o[xt()],s=Up(t,n);zp(i,r)&&e===null&&!s&&(e=!1),e=vE(o,i,e,r),sE(o,i,e,n,s,r)}}function vE(t,e,n,r){let o=nh(t),i=r?e.residualClasses:e.residualStyles;if(o===null)(r?e.classBindings:e.styleBindings)===0&&(n=ra(null,t,e,n,r),n=vr(n,e.attrs,r),i=null);else{let s=e.directiveStylingLast;if(s===-1||t[s]!==o)if(n=ra(o,t,e,n,r),i===null){let c=yE(t,e,r);c!==void 0&&Array.isArray(c)&&(c=ra(null,t,e,c[1],r),c=vr(c,e.attrs,r),DE(t,e,r,c))}else i=wE(t,e,r)}return i!==void 0&&(r?e.residualClasses=i:e.residualStyles=i),n}function yE(t,e,n){let r=n?e.classBindings:e.styleBindings;if(On(r)!==0)return t[Zt(r)]}function DE(t,e,n,r){let o=n?e.classBindings:e.styleBindings;t[Zt(o)]=r}function wE(t,e,n){let r,o=e.directiveEnd;for(let i=1+e.directiveStylingLast;i<o;i++){let s=t[i].hostAttrs;r=vr(r,s,n)}return vr(r,e.attrs,n)}function ra(t,e,n,r,o){let i=null,s=n.directiveEnd,a=n.directiveStylingLast;for(a===-1?a=n.directiveStart:a++;a<s&&(i=e[a],r=vr(r,i.hostAttrs,o),i!==t);)a++;return t!==null&&(n.directiveStylingLast=a),r}function vr(t,e,n){let r=n?1:2,o=-1;if(e!==null)for(let i=0;i<e.length;i++){let s=e[i];typeof s=="number"?o=s:o===r&&(Array.isArray(t)||(t=t===void 0?[]:["",t]),Tc(t,s,n?!0:e[++i]))}return t===void 0?null:t}function IE(t,e,n){if(n==null||n==="")return ye;let r=[],o=_e(n);if(Array.isArray(o))for(let i=0;i<o.length;i++)t(r,o[i],!0);else if(typeof o=="object")for(let i in o)o.hasOwnProperty(i)&&t(r,i,o[i]);else typeof o=="string"&&e(r,o);return r}function EE(t,e,n){let r=String(e);r!==""&&!r.includes(" ")&&Tc(t,r,n)}function CE(t,e,n,r,o,i,s,a){o===Ye&&(o=ye);let c=0,u=0,l=0<o.length?o[0]:null,d=0<i.length?i[0]:null;for(;l!==null||d!==null;){let f=c<o.length?o[c+1]:void 0,h=u<i.length?i[u+1]:void 0,p=null,m;l===d?(c+=2,u+=2,f!==h&&(p=d,m=h)):d===null||l!==null&&l<d?(c+=2,p=l):(u+=2,p=d,m=h),p!==null&&Hp(t,e,n,r,p,m,s,a),l=c<o.length?o[c]:null,d=u<i.length?i[u]:null}}function Hp(t,e,n,r,o,i,s,a){if(!(e.type&3))return;let c=t.data,u=c[a+1],l=iE(u)?of(c,e,n,o,On(u),s):void 0;if(!gi(l)){gi(i)||rE(u)&&(i=of(c,null,n,o,a,s));let d=Zf(xt(),n);ZD(r,s,d,o,i)}}function of(t,e,n,r,o,i){let s=e===null,a;for(;o>0;){let c=t[o],u=Array.isArray(c),l=u?c[1]:c,d=l===null,f=n[o+1];f===Ye&&(f=d?ye:void 0);let h=d?Ws(f,r):l===r?f:void 0;if(u&&!gi(h)&&(h=Ws(c,r)),gi(h)&&(a=h,s))return a;let p=t[o+1];o=s?Zt(p):On(p)}if(e!==null){let c=i?e.residualClasses:e.residualStyles;c!=null&&(a=Ws(c,r))}return a}function gi(t){return t!==void 0}function bE(t,e){return t==null||t===""||(typeof e=="string"?t=t+e:typeof t=="object"&&(t=de(_e(t)))),t}function zp(t,e){return(t.flags&(e?8:16))!==0}var rc=class{destroy(e){}updateValue(e,n){}swap(e,n){let r=Math.min(e,n),o=Math.max(e,n),i=this.detach(o);if(o-r>1){let s=this.detach(r);this.attach(r,i),this.attach(o,s)}else this.attach(r,i)}move(e,n){this.attach(n,this.detach(e))}};function oa(t,e,n,r,o){return t===n&&Object.is(e,r)?1:Object.is(o(t,e),o(n,r))?-1:0}function ME(t,e,n){let r,o,i=0,s=t.length-1;if(Array.isArray(e)){let a=e.length-1;for(;i<=s&&i<=a;){let c=t.at(i),u=e[i],l=oa(i,c,i,u,n);if(l!==0){l<0&&t.updateValue(i,u),i++;continue}let d=t.at(s),f=e[a],h=oa(s,d,a,f,n);if(h!==0){h<0&&t.updateValue(s,f),s--,a--;continue}let p=n(i,c),m=n(s,d),y=n(i,u);if(Object.is(y,m)){let v=n(a,f);Object.is(v,p)?(t.swap(i,s),t.updateValue(s,f),a--,s--):t.move(s,i),t.updateValue(i,u),i++;continue}if(r??=new mi,o??=af(t,i,s,n),oc(t,r,i,y))t.updateValue(i,u),i++,s++;else if(o.has(y))r.set(p,t.detach(i)),s--;else{let v=t.create(i,e[i]);t.attach(i,v),i++,s++}}for(;i<=a;)sf(t,r,n,i,e[i]),i++}else if(e!=null){let a=e[Symbol.iterator](),c=a.next();for(;!c.done&&i<=s;){let u=t.at(i),l=c.value,d=oa(i,u,i,l,n);if(d!==0)d<0&&t.updateValue(i,l),i++,c=a.next();else{r??=new mi,o??=af(t,i,s,n);let f=n(i,l);if(oc(t,r,i,f))t.updateValue(i,l),i++,s++,c=a.next();else if(!o.has(f))t.attach(i,t.create(i,l)),i++,s++,c=a.next();else{let h=n(i,u);r.set(h,t.detach(i)),s--}}}for(;!c.done;)sf(t,r,n,t.length,c.value),c=a.next()}for(;i<=s;)t.destroy(t.detach(s--));r?.forEach(a=>{t.destroy(a)})}function oc(t,e,n,r){return e!==void 0&&e.has(r)?(t.attach(n,e.get(r)),e.delete(r),!0):!1}function sf(t,e,n,r,o){if(oc(t,e,r,n(r,o)))t.updateValue(r,o);else{let i=t.create(r,o);t.attach(r,i)}}function af(t,e,n,r){let o=new Set;for(let i=e;i<=n;i++)o.add(r(i,t.at(i)));return o}var mi=class{constructor(){this.kvMap=new Map,this._vMap=void 0}has(e){return this.kvMap.has(e)}delete(e){if(!this.has(e))return!1;let n=this.kvMap.get(e);return this._vMap!==void 0&&this._vMap.has(n)?(this.kvMap.set(e,this._vMap.get(n)),this._vMap.delete(n)):this.kvMap.delete(e),!0}get(e){return this.kvMap.get(e)}set(e,n){if(this.kvMap.has(e)){let r=this.kvMap.get(e);this._vMap===void 0&&(this._vMap=new Map);let o=this._vMap;for(;o.has(r);)r=o.get(r);o.set(r,n)}else this.kvMap.set(e,n)}forEach(e){for(let[n,r]of this.kvMap)if(e(r,n),this._vMap!==void 0){let o=this._vMap;for(;o.has(r);)r=o.get(r),e(r,n)}}};function aR(t,e,n){ft("NgControlFlow");let r=S(),o=Qt(),i=cc(r,Q+t),s=0;if(xe(r,o,e)){let a=k(null);try{if(fu(i,s),e!==-1){let c=uc(r[E],Q+e),u=Rn(i,c.tView.ssrId),l=Mr(r,c,n,{dehydratedView:u});Tr(i,l,s,Nn(c,u))}}finally{k(a)}}else{let a=fp(i,s);a!==void 0&&(a[re]=n)}}var ic=class{constructor(e,n,r){this.lContainer=e,this.$implicit=n,this.$index=r}get $count(){return this.lContainer.length-ce}};var sc=class{constructor(e,n,r){this.hasEmptyBlock=e,this.trackByFn=n,this.liveCollection=r}};function cR(t,e,n,r,o,i,s,a,c,u,l,d,f){ft("NgControlFlow");let h=c!==void 0,p=S(),m=a?s.bind(p[Ce][re]):s,y=new sc(h,m);p[Q+t]=y,pi(t+1,e,n,r,o,i),h&&pi(t+2,c,u,l,d,f)}var ac=class extends rc{constructor(e,n,r){super(),this.lContainer=e,this.hostLView=n,this.templateTNode=r,this.needsIndexUpdate=!1}get length(){return this.lContainer.length-ce}at(e){return this.getLView(e)[re].$implicit}attach(e,n){let r=n[An];this.needsIndexUpdate||=e!==this.length,Tr(this.lContainer,n,e,Nn(this.templateTNode,r))}detach(e){return this.needsIndexUpdate||=e!==this.length-1,TE(this.lContainer,e)}create(e,n){let r=Rn(this.lContainer,this.templateTNode.tView.ssrId);return Mr(this.hostLView,this.templateTNode,new ic(this.lContainer,n,e),{dehydratedView:r})}destroy(e){Oi(e[E],e)}updateValue(e,n){this.getLView(e)[re].$implicit=n}reset(){this.needsIndexUpdate=!1}updateIndexes(){if(this.needsIndexUpdate)for(let e=0;e<this.length;e++)this.getLView(e)[re].$index=e}getLView(e){return SE(this.lContainer,e)}};function uR(t){let e=k(null),n=xt();try{let r=S(),o=r[E],i=r[n];if(i.liveCollection===void 0){let a=n+1,c=cc(r,a),u=uc(o,a);i.liveCollection=new ac(c,r,u)}else i.liveCollection.reset();let s=i.liveCollection;if(ME(s,t,i.trackByFn),s.updateIndexes(),i.hasEmptyBlock){let a=Qt(),c=s.length===0;if(xe(r,a,c)){let u=n+2,l=cc(r,u);if(c){let d=uc(o,u),f=Rn(l,d.tView.ssrId),h=Mr(r,d,void 0,{dehydratedView:f});Tr(l,h,0,Nn(d,f))}else fu(l,0)}}}finally{k(e)}}function cc(t,e){return t[e]}function TE(t,e){return hr(t,e)}function SE(t,e){return fp(t,e)}function uc(t,e){return Er(t,e)}function xE(t,e,n,r,o,i){let s=e.consts,a=bt(s,o),c=$n(e,t,2,r,a);return uu(e,n,c,bt(s,i)),c.attrs!==null&&ui(c,c.attrs,!1),c.mergedAttrs!==null&&ui(c,c.mergedAttrs,!0),e.queries!==null&&e.queries.elementStart(e,c),c}function qp(t,e,n,r){let o=S(),i=H(),s=Q+t,a=o[B],c=i.firstCreatePass?xE(s,i,o,e,n,r):i.data[s],u=AE(i,o,c,a,e,t);o[s]=u;let l=Ti(c);return Yt(c,!0),ep(a,u,c),!RI(c)&&xi()&&Pi(i,o,u,c),hy()===0&&Mt(u,o),py(),l&&(iu(i,o,c),ou(i,c,o)),r!==null&&su(o,c),qp}function Gp(){let t=ee();Vc()?$c():(t=t.parent,Yt(t,!1));let e=t;my(e)&&vy(),gy();let n=H();return n.firstCreatePass&&(_i(n,t),Fc(t)&&n.queries.elementEnd(t)),e.classesWithoutHost!=null&&Ny(e)&&nc(n,e,S(),e.classesWithoutHost,!0),e.stylesWithoutHost!=null&&Ry(e)&&nc(n,e,S(),e.stylesWithoutHost,!1),Gp}function yu(t,e,n,r){return qp(t,e,n,r),Gp(),yu}var AE=(t,e,n,r,o,i)=>(Ai(!0),qh(r,o,Sy()));function _E(t,e,n,r,o){let i=e.consts,s=bt(i,r),a=$n(e,t,8,"ng-container",s);s!==null&&ui(a,s,!0);let c=bt(i,o);return uu(e,n,a,c),e.queries!==null&&e.queries.elementStart(e,a),a}function NE(t,e,n){let r=S(),o=H(),i=t+Q,s=o.firstCreatePass?_E(i,o,r,e,n):o.data[i];Yt(s,!0);let a=OE(o,r,s,t);return r[i]=a,xi()&&Pi(o,r,a,s),Mt(a,r),Ti(s)&&(iu(o,r,s),ou(o,s,r)),n!=null&&su(r,s),NE}function RE(){let t=ee(),e=H();return Vc()?$c():(t=t.parent,Yt(t,!1)),e.firstCreatePass&&(_i(e,t),Fc(t)&&e.queries.elementEnd(t)),RE}var OE=(t,e,n,r)=>(Ai(!0),RD(e[B],""));function lR(){return S()}function PE(t,e,n){let r=S(),o=Qt();if(xe(r,o,e)){let i=H(),s=Si(),a=nh(i.data),c=Iw(a,s,r);cu(i,s,r,t,e,c,n,!0)}return PE}var vi="en-US";var FE=vi;function kE(t){typeof t=="string"&&(FE=t.toLowerCase().replace(/_/g,"-"))}function Du(t,e,n,r){let o=S(),i=H(),s=ee();return Wp(i,o,o[B],s,t,e,r),Du}function LE(t,e,n,r){let o=t.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=e[ur],c=o[i+2];return a.length>c?a[c]:null}typeof s=="string"&&(i+=2)}return null}function Wp(t,e,n,r,o,i,s){let a=Ti(r),u=t.firstCreatePass&&dp(t),l=e[re],d=lp(e),f=!0;if(r.type&3||s){let m=Ae(r,e),y=s?s(m):m,v=d.length,ie=s?$=>s(qe($[r.index])):r.index,te=null;if(!s&&a&&(te=LE(t,e,o,r.index)),te!==null){let $=te.__ngLastListenerFn__||te;$.__ngNextListenerFn__=i,te.__ngLastListenerFn__=i,f=!1}else{i=uf(r,e,l,i,!1);let $=n.listen(y,o,i);d.push(i,$),u&&u.push(o,ie,v,v+1)}}else i=uf(r,e,l,i,!1);let h=r.outputs,p;if(f&&h!==null&&(p=h[o])){let m=p.length;if(m)for(let y=0;y<m;y+=2){let v=p[y],ie=p[y+1],Ve=e[v][ie].subscribe(i),De=d.length;d.push(i,Ve),u&&u.push(o,r.index,De,-(De+1))}}}function cf(t,e,n,r){let o=k(null);try{return Be(6,e,n),n(r)!==!1}catch(i){return ji(t,i),!1}finally{Be(7,e,n),k(o)}}function uf(t,e,n,r,o){return function i(s){if(s===Function)return r;let a=t.componentOffset>-1?St(t.index,e):e;Vi(a);let c=cf(e,n,r,s),u=i.__ngNextListenerFn__;for(;u;)c=cf(e,n,u,s)&&c,u=u.__ngNextListenerFn__;return o&&c===!1&&s.preventDefault(),c}}function dR(t=1){return My(t)}function jE(t,e){let n=null,r=_v(t);for(let o=0;o<e.length;o++){let i=e[o];if(i==="*"){n=o;continue}if(r===null?Rf(t,i,!0):Ov(r,i))return o}return n}function fR(t){let e=S()[Ce][be];if(!e.projection){let n=t?t.length:1,r=e.projection=Ev(n,null),o=r.slice(),i=e.child;for(;i!==null;){let s=t?jE(i,t):0;s!==null&&(o[s]?o[s].projectionNext=i:r[s]=i,o[s]=i),i=i.next}}}function hR(t,e=0,n){let r=S(),o=H(),i=$n(o,Q+t,16,null,n||null);i.projection===null&&(i.projection=e),$c(),(!r[An]||Xf())&&(i.flags&32)!==32&&GD(o,r,i)}function Zp(t,e,n,r){gI(t,e,n,r)}function pR(t,e,n){pI(t,e,n)}function Yp(t){let e=S(),n=H(),r=rh();Uc(r+1);let o=pu(n,r);if(t.dirty&&uy(e)===((o.metadata.flags&2)===2)){if(o.matches===null)t.reset([]);else{let i=yI(e,r);t.reset(i,qy),t.notifyOnChanges()}return!0}return!1}function Qp(){return hI(S(),rh())}function VE(t,e,n,r){n>=t.data.length&&(t.data[n]=null,t.blueprint[n]=null),e[n]=r}function gR(t){let e=Dy();return Yf(e,Q+t)}function mR(t,e=""){let n=S(),r=H(),o=t+Q,i=r.firstCreatePass?$n(r,o,1,e,null):r.data[o],s=$E(r,n,i,e,t);n[o]=s,xi()&&Pi(r,n,s,i),Yt(i,!1)}var $E=(t,e,n,r,o)=>(Ai(!0),_D(e[B],r));function UE(t){return Kp("",t,""),UE}function Kp(t,e,n){let r=S(),o=nE(r,t,e,n);return o!==Ye&&Ew(r,xt(),o),Kp}function BE(t,e,n){Tp(e)&&(e=e());let r=S(),o=Qt();if(xe(r,o,e)){let i=H(),s=Si();cu(i,s,r,t,e,r[B],n,!1)}return BE}function vR(t,e){let n=Tp(t);return n&&t.set(e),n}function HE(t,e){let n=S(),r=H(),o=ee();return Wp(r,n,n[B],o,t,e),HE}function zE(t,e,n){let r=H();if(r.firstCreatePass){let o=ot(t);lc(n,r.data,r.blueprint,o,!0),lc(e,r.data,r.blueprint,o,!1)}}function lc(t,e,n,r,o){if(t=le(t),Array.isArray(t))for(let i=0;i<t.length;i++)lc(t[i],e,n,r,o);else{let i=H(),s=S(),a=ee(),c=xn(t)?t:le(t.provide),u=$f(t),l=a.providerIndexes&1048575,d=a.directiveStart,f=a.providerIndexes>>20;if(xn(t)||!t.multi){let h=new zt(u,o,V),p=sa(c,e,o?l:l+f,d);p===-1?(wa(ii(a,s),i,c),ia(i,t,e.length),e.push(c),a.directiveStart++,a.directiveEnd++,o&&(a.providerIndexes+=1048576),n.push(h),s.push(h)):(n[p]=h,s[p]=h)}else{let h=sa(c,e,l+f,d),p=sa(c,e,l,l+f),m=h>=0&&n[h],y=p>=0&&n[p];if(o&&!y||!o&&!m){wa(ii(a,s),i,c);let v=WE(o?GE:qE,n.length,o,r,u);!o&&y&&(n[p].providerFactory=v),ia(i,t,e.length,0),e.push(c),a.directiveStart++,a.directiveEnd++,o&&(a.providerIndexes+=1048576),n.push(v),s.push(v)}else{let v=Jp(n[o?p:h],u,!o&&r);ia(i,t,h>-1?h:p,v)}!o&&r&&y&&n[p].componentProviders++}}}function ia(t,e,n,r){let o=xn(e),i=qv(e);if(o||i){let c=(i?le(e.useClass):e).prototype.ngOnDestroy;if(c){let u=t.destroyHooks||(t.destroyHooks=[]);if(!o&&e.multi){let l=u.indexOf(n);l===-1?u.push(n,[r,c]):u[l+1].push(r,c)}else u.push(n,c)}}}function Jp(t,e,n){return n&&t.componentProviders++,t.multi.push(e)-1}function sa(t,e,n,r){for(let o=n;o<r;o++)if(e[o]===t)return o;return-1}function qE(t,e,n,r){return dc(this.multi,[])}function GE(t,e,n,r){let o=this.multi,i;if(this.providerFactory){let s=this.providerFactory.componentProviders,a=qt(n,n[E],this.providerFactory.index,r);i=a.slice(0,s),dc(o,i);for(let c=s;c<a.length;c++)i.push(a[c])}else i=[],dc(o,i);return i}function dc(t,e){for(let n=0;n<t.length;n++){let r=t[n];e.push(r())}return e}function WE(t,e,n,r,o){let i=new zt(t,n,V);return i.multi=[],i.index=e,i.componentProviders=0,Jp(i,o,r&&!n),i}function yR(t,e=[]){return n=>{n.providersResolver=(r,o)=>zE(r,o?o(t):t,e)}}var ZE=(()=>{let e=class e{constructor(r){this._injector=r,this.cachedInjectors=new Map}getOrCreateStandaloneInjector(r){if(!r.standalone)return null;if(!this.cachedInjectors.has(r)){let o=_c(!1,r.type),i=o.length>0?Bi([o],this._injector,`Standalone[${r.type.name}]`):null;this.cachedInjectors.set(r,i)}return this.cachedInjectors.get(r)}ngOnDestroy(){try{for(let r of this.cachedInjectors.values())r!==null&&r.destroy()}finally{this.cachedInjectors.clear()}}};e.\u0275prov=I({token:e,providedIn:"environment",factory:()=>new e(T(fe))});let t=e;return t})();function Xp(t){ft("NgStandalone"),t.getStandaloneInjector=e=>e.get(ZE).getOrCreateStandaloneInjector(t)}function DR(t,e,n){let r=Cr()+t,o=S();return o[r]===Ye?Hi(o,r,n?e.call(n):e()):_I(o,r)}function wR(t,e,n,r){return eg(S(),Cr(),t,e,n,r)}function IR(t,e,n,r,o){return YE(S(),Cr(),t,e,n,r,o)}function ER(t,e,n,r,o,i,s){return QE(S(),Cr(),t,e,n,r,o,i,s)}function wu(t,e){let n=t[e];return n===Ye?void 0:n}function eg(t,e,n,r,o,i){let s=e+n;return xe(t,s,o)?Hi(t,s+1,i?r.call(i,o):r(o)):wu(t,s+1)}function YE(t,e,n,r,o,i,s){let a=e+n;return Qa(t,a,o,i)?Hi(t,a+2,s?r.call(s,o,i):r(o,i)):wu(t,a+2)}function QE(t,e,n,r,o,i,s,a,c){let u=e+n;return NI(t,u,o,i,s,a)?Hi(t,u+4,c?r.call(c,o,i,s,a):r(o,i,s,a)):wu(t,u+4)}function CR(t,e){let n=H(),r,o=t+Q;n.firstCreatePass?(r=KE(e,n.pipeRegistry),n.data[o]=r,r.onDestroy&&(n.destroyHooks??=[]).push(o,r.onDestroy)):r=n.data[o];let i=r.factory||(r.factory=$t(r.type,!0)),s,a=me(V);try{let c=oi(!1),u=i();return oi(c),VE(n,S(),o,u),u}finally{me(a)}}function KE(t,e){if(e)for(let n=e.length-1;n>=0;n--){let r=e[n];if(t===r.name)return r}}function bR(t,e,n){let r=t+Q,o=S(),i=Yf(o,r);return JE(o,r)?eg(o,Cr(),e,i.transform,n,i):i.transform(n)}function JE(t,e){return t[E].data[e].pure}function MR(t,e){return $i(t,e)}var Gi=(()=>{let e=class e{log(r){console.log(r)}warn(r){console.warn(r)}};e.\u0275fac=function(o){return new(o||e)},e.\u0275prov=I({token:e,factory:e.\u0275fac,providedIn:"platform"});let t=e;return t})();var tg=new M("");function xr(t){return!!t&&typeof t.then=="function"}function ng(t){return!!t&&typeof t.subscribe=="function"}var rg=new M(""),og=(()=>{let e=class e{constructor(){this.initialized=!1,this.done=!1,this.donePromise=new Promise((r,o)=>{this.resolve=r,this.reject=o}),this.appInits=g(rg,{optional:!0})??[]}runInitializers(){if(this.initialized)return;let r=[];for(let i of this.appInits){let s=i();if(xr(s))r.push(s);else if(ng(s)){let a=new Promise((c,u)=>{s.subscribe({complete:c,error:u})});r.push(a)}}let o=()=>{this.done=!0,this.resolve()};Promise.all(r).then(()=>{o()}).catch(i=>{this.reject(i)}),r.length===0&&o(),this.initialized=!0}};e.\u0275fac=function(o){return new(o||e)},e.\u0275prov=I({token:e,factory:e.\u0275fac,providedIn:"root"});let t=e;return t})(),Wi=new M("");function XE(){pd(()=>{throw new w(600,!1)})}function eC(t){return t.isBoundToModule}function tC(t,e,n){try{let r=n();return xr(r)?r.catch(o=>{throw e.runOutsideAngular(()=>t.handleError(o)),o}):r}catch(r){throw e.runOutsideAngular(()=>t.handleError(r)),r}}var Un=(()=>{let e=class e{constructor(){this._bootstrapListeners=[],this._runningTick=!1,this._destroyed=!1,this._destroyListeners=[],this._views=[],this.internalErrorHandler=g(Ih),this.afterRenderEffectManager=g(Dp),this.externalTestViews=new Set,this.beforeRender=new se,this.afterTick=new se,this.componentTypes=[],this.components=[],this.isStable=g(ht).hasPendingTasks.pipe(R(r=>!r)),this._injector=g(fe)}get destroyed(){return this._destroyed}get injector(){return this._injector}bootstrap(r,o){let i=r instanceof ci;if(!this._injector.get(og).done){let h=!i&&Pf(r),p=!1;throw new w(405,p)}let a;i?a=r:a=this._injector.get(Ui).resolveComponentFactory(r),this.componentTypes.push(a.componentType);let c=eC(a)?void 0:this._injector.get(Tt),u=o||a.selector,l=a.create(Kt.NULL,[],u,c),d=l.location.nativeElement,f=l.injector.get(tg,null);return f?.registerApplication(d),l.onDestroy(()=>{this.detachView(l.hostView),aa(this.components,l),f?.unregisterApplication(d)}),this._loadComponent(l),l}tick(){this._tick(!0)}_tick(r){if(this._runningTick)throw new w(101,!1);let o=k(null);try{this._runningTick=!0,this.detectChangesInAttachedViews(r)}catch(i){this.internalErrorHandler(i)}finally{this.afterTick.next(),this._runningTick=!1,k(o)}}detectChangesInAttachedViews(r){let o=0,i=this.afterRenderEffectManager;for(;;){if(o===pp)throw new w(103,!1);if(r){let s=o===0;this.beforeRender.next(s);for(let{_lView:a,notifyErrorHandler:c}of this._views)nC(a,s,c)}if(o++,i.executeInternalCallbacks(),![...this.externalTestViews.keys(),...this._views].some(({_lView:s})=>fc(s))&&(i.execute(),![...this.externalTestViews.keys(),...this._views].some(({_lView:s})=>fc(s))))break}}attachView(r){let o=r;this._views.push(o),o.attachToAppRef(this)}detachView(r){let o=r;aa(this._views,o),o.detachFromAppRef()}_loadComponent(r){this.attachView(r.hostView),this.tick(),this.components.push(r);let o=this._injector.get(Wi,[]);[...this._bootstrapListeners,...o].forEach(i=>i(r))}ngOnDestroy(){if(!this._destroyed)try{this._destroyListeners.forEach(r=>r()),this._views.slice().forEach(r=>r.destroy())}finally{this._destroyed=!0,this._views=[],this._bootstrapListeners=[],this._destroyListeners=[]}}onDestroy(r){return this._destroyListeners.push(r),()=>aa(this._destroyListeners,r)}destroy(){if(this._destroyed)throw new w(406,!1);let r=this._injector;r.destroy&&!r.destroyed&&r.destroy()}get viewCount(){return this._views.length}warnIfDestroyed(){}};e.\u0275fac=function(o){return new(o||e)},e.\u0275prov=I({token:e,factory:e.\u0275fac,providedIn:"root"});let t=e;return t})();function aa(t,e){let n=t.indexOf(e);n>-1&&t.splice(n,1)}function nC(t,e,n){!e&&!fc(t)||rC(t,n,e)}function fc(t){return Lc(t)}function rC(t,e,n){let r;n?(r=0,t[C]|=1024):t[C]&64?r=0:r=1,gp(t,e,r)}var hc=class{constructor(e,n){this.ngModuleFactory=e,this.componentFactories=n}},Iu=(()=>{let e=class e{compileModuleSync(r){return new Ya(r)}compileModuleAsync(r){return Promise.resolve(this.compileModuleSync(r))}compileModuleAndAllComponentsSync(r){let o=this.compileModuleSync(r),i=Ff(r),s=zh(i.declarations).reduce((a,c)=>{let u=nt(c);return u&&a.push(new gr(u)),a},[]);return new hc(o,s)}compileModuleAndAllComponentsAsync(r){return Promise.resolve(this.compileModuleAndAllComponentsSync(r))}clearCache(){}clearCacheFor(r){}getModuleId(r){}};e.\u0275fac=function(o){return new(o||e)},e.\u0275prov=I({token:e,factory:e.\u0275fac,providedIn:"root"});let t=e;return t})();var oC=(()=>{let e=class e{constructor(){this.zone=g(G),this.applicationRef=g(Un)}initialize(){this._onMicrotaskEmptySubscription||(this._onMicrotaskEmptySubscription=this.zone.onMicrotaskEmpty.subscribe({next:()=>{this.zone.run(()=>{this.applicationRef.tick()})}}))}ngOnDestroy(){this._onMicrotaskEmptySubscription?.unsubscribe()}};e.\u0275fac=function(o){return new(o||e)},e.\u0275prov=I({token:e,factory:e.\u0275fac,providedIn:"root"});let t=e;return t})();function iC(t){return[{provide:G,useFactory:t},{provide:Sn,multi:!0,useFactory:()=>{let e=g(oC,{optional:!0});return()=>e.initialize()}},{provide:Sn,multi:!0,useFactory:()=>{let e=g(uC);return()=>{e.initialize()}}},{provide:Ih,useFactory:sC}]}function sC(){let t=g(G),e=g(Ge);return n=>t.runOutsideAngular(()=>e.handleError(n))}function aC(t){let e=iC(()=>new G(cC(t)));return kn([[],e])}function cC(t){return{enableLongStackTrace:!1,shouldCoalesceEventChangeDetection:t?.eventCoalescing??!1,shouldCoalesceRunChangeDetection:t?.runCoalescing??!1}}var uC=(()=>{let e=class e{constructor(){this.subscription=new W,this.initialized=!1,this.zone=g(G),this.pendingTasks=g(ht)}initialize(){if(this.initialized)return;this.initialized=!0;let r=null;!this.zone.isStable&&!this.zone.hasPendingMacrotasks&&!this.zone.hasPendingMicrotasks&&(r=this.pendingTasks.add()),this.zone.runOutsideAngular(()=>{this.subscription.add(this.zone.onStable.subscribe(()=>{G.assertNotInAngularZone(),queueMicrotask(()=>{r!==null&&!this.zone.hasPendingMacrotasks&&!this.zone.hasPendingMicrotasks&&(this.pendingTasks.remove(r),r=null)})}))}),this.subscription.add(this.zone.onUnstable.subscribe(()=>{G.assertInAngularZone(),r??=this.pendingTasks.add()}))}ngOnDestroy(){this.subscription.unsubscribe()}};e.\u0275fac=function(o){return new(o||e)},e.\u0275prov=I({token:e,factory:e.\u0275fac,providedIn:"root"});let t=e;return t})();function lC(){return typeof $localize<"u"&&$localize.locale||vi}var Eu=new M("",{providedIn:"root",factory:()=>g(Eu,P.Optional|P.SkipSelf)||lC()});var ig=new M("");var Qo=null;function dC(t=[],e){return Kt.create({name:e,providers:[{provide:Ci,useValue:"platform"},{provide:ig,useValue:new Set([()=>Qo=null])},...t]})}function fC(t=[]){if(Qo)return Qo;let e=dC(t);return Qo=e,XE(),hC(e),e}function hC(t){t.get(Yc,null)?.forEach(n=>n())}var Xt=(()=>{let e=class e{};e.__NG_ELEMENT_ID__=pC;let t=e;return t})();function pC(t){return gC(ee(),S(),(t&16)===16)}function gC(t,e,n){if(Mi(t)&&!n){let r=St(t.index,e);return new Gt(r,r)}else if(t.type&47){let r=e[Ce];return new Gt(r,e)}return null}var pc=class{constructor(){}supports(e){return Sp(e)}create(e){return new gc(e)}},mC=(t,e)=>e,gc=class{constructor(e){this.length=0,this._linkedRecords=null,this._unlinkedRecords=null,this._previousItHead=null,this._itHead=null,this._itTail=null,this._additionsHead=null,this._additionsTail=null,this._movesHead=null,this._movesTail=null,this._removalsHead=null,this._removalsTail=null,this._identityChangesHead=null,this._identityChangesTail=null,this._trackByFn=e||mC}forEachItem(e){let n;for(n=this._itHead;n!==null;n=n._next)e(n)}forEachOperation(e){let n=this._itHead,r=this._removalsHead,o=0,i=null;for(;n||r;){let s=!r||n&&n.currentIndex<lf(r,o,i)?n:r,a=lf(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 u=a-o,l=c-o;if(u!=l){for(let f=0;f<u;f++){let h=f<i.length?i[f]:i[f]=0,p=h+f;l<=p&&p<u&&(i[f]=h+1)}let d=s.previousIndex;i[d]=l-u}}a!==c&&e(s,a,c)}}forEachPreviousItem(e){let n;for(n=this._previousItHead;n!==null;n=n._nextPrevious)e(n)}forEachAddedItem(e){let n;for(n=this._additionsHead;n!==null;n=n._nextAdded)e(n)}forEachMovedItem(e){let n;for(n=this._movesHead;n!==null;n=n._nextMoved)e(n)}forEachRemovedItem(e){let n;for(n=this._removalsHead;n!==null;n=n._nextRemoved)e(n)}forEachIdentityChange(e){let n;for(n=this._identityChangesHead;n!==null;n=n._nextIdentityChange)e(n)}diff(e){if(e==null&&(e=[]),!Sp(e))throw new w(900,!1);return this.check(e)?this:null}onDestroy(){}check(e){this._reset();let n=this._itHead,r=!1,o,i,s;if(Array.isArray(e)){this.length=e.length;for(let a=0;a<this.length;a++)i=e[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,AI(e,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=e,this.isDirty}get isDirty(){return this._additionsHead!==null||this._movesHead!==null||this._removalsHead!==null||this._identityChangesHead!==null}_reset(){if(this.isDirty){let e;for(e=this._previousItHead=this._itHead;e!==null;e=e._next)e._nextPrevious=e._next;for(e=this._additionsHead;e!==null;e=e._nextAdded)e.previousIndex=e.currentIndex;for(this._additionsHead=this._additionsTail=null,e=this._movesHead;e!==null;e=e._nextMoved)e.previousIndex=e.currentIndex;this._movesHead=this._movesTail=null,this._removalsHead=this._removalsTail=null,this._identityChangesHead=this._identityChangesTail=null}}_mismatch(e,n,r,o){let i;return e===null?i=this._itTail:(i=e._prev,this._remove(e)),e=this._unlinkedRecords===null?null:this._unlinkedRecords.get(r,null),e!==null?(Object.is(e.item,n)||this._addIdentityChange(e,n),this._reinsertAfter(e,i,o)):(e=this._linkedRecords===null?null:this._linkedRecords.get(r,o),e!==null?(Object.is(e.item,n)||this._addIdentityChange(e,n),this._moveAfter(e,i,o)):e=this._addAfter(new mc(n,r),i,o)),e}_verifyReinsertion(e,n,r,o){let i=this._unlinkedRecords===null?null:this._unlinkedRecords.get(r,null);return i!==null?e=this._reinsertAfter(i,e._prev,o):e.currentIndex!=o&&(e.currentIndex=o,this._addToMoves(e,o)),e}_truncate(e){for(;e!==null;){let n=e._next;this._addToRemovals(this._unlink(e)),e=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(e,n,r){this._unlinkedRecords!==null&&this._unlinkedRecords.remove(e);let o=e._prevRemoved,i=e._nextRemoved;return o===null?this._removalsHead=i:o._nextRemoved=i,i===null?this._removalsTail=o:i._prevRemoved=o,this._insertAfter(e,n,r),this._addToMoves(e,r),e}_moveAfter(e,n,r){return this._unlink(e),this._insertAfter(e,n,r),this._addToMoves(e,r),e}_addAfter(e,n,r){return this._insertAfter(e,n,r),this._additionsTail===null?this._additionsTail=this._additionsHead=e:this._additionsTail=this._additionsTail._nextAdded=e,e}_insertAfter(e,n,r){let o=n===null?this._itHead:n._next;return e._next=o,e._prev=n,o===null?this._itTail=e:o._prev=e,n===null?this._itHead=e:n._next=e,this._linkedRecords===null&&(this._linkedRecords=new yi),this._linkedRecords.put(e),e.currentIndex=r,e}_remove(e){return this._addToRemovals(this._unlink(e))}_unlink(e){this._linkedRecords!==null&&this._linkedRecords.remove(e);let n=e._prev,r=e._next;return n===null?this._itHead=r:n._next=r,r===null?this._itTail=n:r._prev=n,e}_addToMoves(e,n){return e.previousIndex===n||(this._movesTail===null?this._movesTail=this._movesHead=e:this._movesTail=this._movesTail._nextMoved=e),e}_addToRemovals(e){return this._unlinkedRecords===null&&(this._unlinkedRecords=new yi),this._unlinkedRecords.put(e),e.currentIndex=null,e._nextRemoved=null,this._removalsTail===null?(this._removalsTail=this._removalsHead=e,e._prevRemoved=null):(e._prevRemoved=this._removalsTail,this._removalsTail=this._removalsTail._nextRemoved=e),e}_addIdentityChange(e,n){return e.item=n,this._identityChangesTail===null?this._identityChangesTail=this._identityChangesHead=e:this._identityChangesTail=this._identityChangesTail._nextIdentityChange=e,e}},mc=class{constructor(e,n){this.item=e,this.trackById=n,this.currentIndex=null,this.previousIndex=null,this._nextPrevious=null,this._prev=null,this._next=null,this._prevDup=null,this._nextDup=null,this._prevRemoved=null,this._nextRemoved=null,this._nextAdded=null,this._nextMoved=null,this._nextIdentityChange=null}},vc=class{constructor(){this._head=null,this._tail=null}add(e){this._head===null?(this._head=this._tail=e,e._nextDup=null,e._prevDup=null):(this._tail._nextDup=e,e._prevDup=this._tail,e._nextDup=null,this._tail=e)}get(e,n){let r;for(r=this._head;r!==null;r=r._nextDup)if((n===null||n<=r.currentIndex)&&Object.is(r.trackById,e))return r;return null}remove(e){let n=e._prevDup,r=e._nextDup;return n===null?this._head=r:n._nextDup=r,r===null?this._tail=n:r._prevDup=n,this._head===null}},yi=class{constructor(){this.map=new Map}put(e){let n=e.trackById,r=this.map.get(n);r||(r=new vc,this.map.set(n,r)),r.add(e)}get(e,n){let r=e,o=this.map.get(r);return o?o.get(e,n):null}remove(e){let n=e.trackById;return this.map.get(n).remove(e)&&this.map.delete(n),e}get isEmpty(){return this.map.size===0}clear(){this.map.clear()}};function lf(t,e,n){let r=t.previousIndex;if(r===null)return r;let o=0;return n&&r<n.length&&(o=n[r]),r+e+o}var yc=class{constructor(){}supports(e){return e instanceof Map||mu(e)}create(){return new Dc}},Dc=class{constructor(){this._records=new Map,this._mapHead=null,this._appendAfter=null,this._previousMapHead=null,this._changesHead=null,this._changesTail=null,this._additionsHead=null,this._additionsTail=null,this._removalsHead=null,this._removalsTail=null}get isDirty(){return this._additionsHead!==null||this._changesHead!==null||this._removalsHead!==null}forEachItem(e){let n;for(n=this._mapHead;n!==null;n=n._next)e(n)}forEachPreviousItem(e){let n;for(n=this._previousMapHead;n!==null;n=n._nextPrevious)e(n)}forEachChangedItem(e){let n;for(n=this._changesHead;n!==null;n=n._nextChanged)e(n)}forEachAddedItem(e){let n;for(n=this._additionsHead;n!==null;n=n._nextAdded)e(n)}forEachRemovedItem(e){let n;for(n=this._removalsHead;n!==null;n=n._nextRemoved)e(n)}diff(e){if(!e)e=new Map;else if(!(e instanceof Map||mu(e)))throw new w(900,!1);return this.check(e)?this:null}onDestroy(){}check(e){this._reset();let n=this._mapHead;if(this._appendAfter=null,this._forEach(e,(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(e,n){if(e){let r=e._prev;return n._next=e,n._prev=r,e._prev=n,r&&(r._next=n),e===this._mapHead&&(this._mapHead=n),this._appendAfter=e,e}return this._appendAfter?(this._appendAfter._next=n,n._prev=this._appendAfter):this._mapHead=n,this._appendAfter=n,null}_getOrCreateRecordForKey(e,n){if(this._records.has(e)){let o=this._records.get(e);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 wc(e);return this._records.set(e,r),r.currentValue=n,this._addToAdditions(r),r}_reset(){if(this.isDirty){let e;for(this._previousMapHead=this._mapHead,e=this._previousMapHead;e!==null;e=e._next)e._nextPrevious=e._next;for(e=this._changesHead;e!==null;e=e._nextChanged)e.previousValue=e.currentValue;for(e=this._additionsHead;e!=null;e=e._nextAdded)e.previousValue=e.currentValue;this._changesHead=this._changesTail=null,this._additionsHead=this._additionsTail=null,this._removalsHead=null}}_maybeAddToChanges(e,n){Object.is(n,e.currentValue)||(e.previousValue=e.currentValue,e.currentValue=n,this._addToChanges(e))}_addToAdditions(e){this._additionsHead===null?this._additionsHead=this._additionsTail=e:(this._additionsTail._nextAdded=e,this._additionsTail=e)}_addToChanges(e){this._changesHead===null?this._changesHead=this._changesTail=e:(this._changesTail._nextChanged=e,this._changesTail=e)}_forEach(e,n){e instanceof Map?e.forEach(n):Object.keys(e).forEach(r=>n(e[r],r))}},wc=class{constructor(e){this.key=e,this.previousValue=null,this.currentValue=null,this._nextPrevious=null,this._next=null,this._prev=null,this._nextAdded=null,this._nextRemoved=null,this._nextChanged=null}};function df(){return new Cu([new pc])}var Cu=(()=>{let e=class e{constructor(r){this.factories=r}static create(r,o){if(o!=null){let i=o.factories.slice();r=r.concat(i)}return new e(r)}static extend(r){return{provide:e,useFactory:o=>e.create(r,o||df()),deps:[[e,new bc,new Ei]]}}find(r){let o=this.factories.find(i=>i.supports(r));if(o!=null)return o;throw new w(901,!1)}};e.\u0275prov=I({token:e,providedIn:"root",factory:df});let t=e;return t})();function ff(){return new bu([new yc])}var bu=(()=>{let e=class e{constructor(r){this.factories=r}static create(r,o){if(o){let i=o.factories.slice();r=r.concat(i)}return new e(r)}static extend(r){return{provide:e,useFactory:o=>e.create(r,o||ff()),deps:[[e,new bc,new Ei]]}}find(r){let o=this.factories.find(i=>i.supports(r));if(o)return o;throw new w(901,!1)}};e.\u0275prov=I({token:e,providedIn:"root",factory:ff});let t=e;return t})();function sg(t){try{let{rootComponent:e,appProviders:n,platformProviders:r}=t,o=fC(r),i=[aC(),...n||[]],a=new hi({providers:i,parent:o,debugName:"",runEnvironmentInitializers:!1}).injector,c=a.get(G);return c.run(()=>{a.resolveInjectorInitializers();let u=a.get(Ge,null),l;c.runOutsideAngular(()=>{l=c.onError.subscribe({next:h=>{u.handleError(h)}})});let d=()=>a.destroy(),f=o.get(ig);return f.add(d),a.onDestroy(()=>{l.unsubscribe(),f.delete(d)}),tC(u,c,()=>{let h=a.get(og);return h.runInitializers(),h.donePromise.then(()=>{let p=a.get(Eu,vi);kE(p||vi);let m=a.get(Un);return e!==void 0&&m.bootstrap(e),m})})})}catch(e){return Promise.reject(e)}}function Ar(t){return typeof t=="boolean"?t:t!=null&&t!=="false"}function TR(t,e){ft("NgSignals");let n=dd(t);return e?.equal&&(n[Ue].equal=e.equal),n}var vC=new M("",{providedIn:"root",factory:()=>g(yC)}),yC=(()=>{let e=class e{};e.\u0275prov=I({token:e,providedIn:"root",factory:()=>new Ic});let t=e;return t})(),Ic=class{constructor(){this.queuedEffectCount=0,this.queues=new Map,this.pendingTasks=g(ht),this.taskId=null}scheduleEffect(e){if(this.enqueue(e),this.taskId===null){let n=this.taskId=this.pendingTasks.add();queueMicrotask(()=>{this.flush(),this.pendingTasks.remove(n),this.taskId=null})}}enqueue(e){let n=e.creationZone;this.queues.has(n)||this.queues.set(n,new Set);let r=this.queues.get(n);r.has(e)||(this.queuedEffectCount++,r.add(e))}flush(){for(;this.queuedEffectCount>0;)for(let[e,n]of this.queues)e===null?this.flushQueue(n):e.run(()=>this.flushQueue(n))}flushQueue(e){for(let n of e)e.delete(n),this.queuedEffectCount--,n.run()}},Ec=class{constructor(e,n,r,o,i,s){this.scheduler=e,this.effectFn=n,this.creationZone=r,this.injector=i,this.watcher=yd(a=>this.runEffect(a),()=>this.schedule(),s),this.unregisterOnDestroy=o?.onDestroy(()=>this.destroy())}runEffect(e){try{this.effectFn(e)}catch(n){this.injector.get(Ge,null,{optional:!0})?.handleError(n)}}run(){this.watcher.run()}schedule(){this.scheduler.scheduleEffect(this)}destroy(){this.watcher.destroy(),this.unregisterOnDestroy?.()}};function DC(t,e){ft("NgSignals"),!e?.injector&&Jv(DC);let n=e?.injector??g(Kt),r=e?.manualCleanup!==!0?n.get(Wc):null,o=new Ec(n.get(vC),t,typeof Zone>"u"?null:Zone.current,r,n,e?.allowSignalWrites??!1),i=n.get(Xt,null,{optional:!0});return!i||!(i._lView[C]&8)?o.watcher.notify():(i._lView[qo]??=[]).push(o.watcher.notify),o}var hg=null;function Bn(){return hg}function pg(t){hg??=t}var Yi=class{};var he=new M(""),xu=(()=>{let e=class e{historyGo(r){throw new Error("")}};e.\u0275fac=function(o){return new(o||e)},e.\u0275prov=I({token:e,factory:()=>g(wC),providedIn:"platform"});let t=e;return t})();var wC=(()=>{let e=class e extends xu{constructor(){super(),this._doc=g(he),this._location=window.location,this._history=window.history}getBaseHrefFromDOM(){return Bn().getBaseHref(this._doc)}onPopState(r){let o=Bn().getGlobalEventTarget(this._doc,"window");return o.addEventListener("popstate",r,!1),()=>o.removeEventListener("popstate",r)}onHashChange(r){let o=Bn().getGlobalEventTarget(this._doc,"window");return o.addEventListener("hashchange",r,!1),()=>o.removeEventListener("hashchange",r)}get href(){return this._location.href}get protocol(){return this._location.protocol}get hostname(){return this._location.hostname}get port(){return this._location.port}get pathname(){return this._location.pathname}get search(){return this._location.search}get hash(){return this._location.hash}set pathname(r){this._location.pathname=r}pushState(r,o,i){this._history.pushState(r,o,i)}replaceState(r,o,i){this._history.replaceState(r,o,i)}forward(){this._history.forward()}back(){this._history.back()}historyGo(r=0){this._history.go(r)}getState(){return this._history.state}};e.\u0275fac=function(o){return new(o||e)},e.\u0275prov=I({token:e,factory:()=>new e,providedIn:"platform"});let t=e;return t})();function Au(t,e){if(t.length==0)return e;if(e.length==0)return t;let n=0;return t.endsWith("/")&&n++,e.startsWith("/")&&n++,n==2?t+e.substring(1):n==1?t+e:t+"/"+e}function ag(t){let e=t.match(/#|\?|$/),n=e&&e.index||t.length,r=n-(t[n-1]==="/"?1:0);return t.slice(0,r)+t.slice(n)}function pt(t){return t&&t[0]!=="?"?"?"+t:t}var en=(()=>{let e=class e{historyGo(r){throw new Error("")}};e.\u0275fac=function(o){return new(o||e)},e.\u0275prov=I({token:e,factory:()=>g(mg),providedIn:"root"});let t=e;return t})(),gg=new M(""),mg=(()=>{let e=class e extends en{constructor(r,o){super(),this._platformLocation=r,this._removeListenerFns=[],this._baseHref=o??this._platformLocation.getBaseHrefFromDOM()??g(he).location?.origin??""}ngOnDestroy(){for(;this._removeListenerFns.length;)this._removeListenerFns.pop()()}onPopState(r){this._removeListenerFns.push(this._platformLocation.onPopState(r),this._platformLocation.onHashChange(r))}getBaseHref(){return this._baseHref}prepareExternalUrl(r){return Au(this._baseHref,r)}path(r=!1){let o=this._platformLocation.pathname+pt(this._platformLocation.search),i=this._platformLocation.hash;return i&&r?`${o}${i}`:o}pushState(r,o,i,s){let a=this.prepareExternalUrl(i+pt(s));this._platformLocation.pushState(r,o,a)}replaceState(r,o,i,s){let a=this.prepareExternalUrl(i+pt(s));this._platformLocation.replaceState(r,o,a)}forward(){this._platformLocation.forward()}back(){this._platformLocation.back()}getState(){return this._platformLocation.getState()}historyGo(r=0){this._platformLocation.historyGo?.(r)}};e.\u0275fac=function(o){return new(o||e)(T(xu),T(gg,8))},e.\u0275prov=I({token:e,factory:e.\u0275fac,providedIn:"root"});let t=e;return t})(),IC=(()=>{let e=class e extends en{constructor(r,o){super(),this._platformLocation=r,this._baseHref="",this._removeListenerFns=[],o!=null&&(this._baseHref=o)}ngOnDestroy(){for(;this._removeListenerFns.length;)this._removeListenerFns.pop()()}onPopState(r){this._removeListenerFns.push(this._platformLocation.onPopState(r),this._platformLocation.onHashChange(r))}getBaseHref(){return this._baseHref}path(r=!1){let o=this._platformLocation.hash??"#";return o.length>0?o.substring(1):o}prepareExternalUrl(r){let o=Au(this._baseHref,r);return o.length>0?"#"+o:o}pushState(r,o,i,s){let a=this.prepareExternalUrl(i+pt(s));a.length==0&&(a=this._platformLocation.pathname),this._platformLocation.pushState(r,o,a)}replaceState(r,o,i,s){let a=this.prepareExternalUrl(i+pt(s));a.length==0&&(a=this._platformLocation.pathname),this._platformLocation.replaceState(r,o,a)}forward(){this._platformLocation.forward()}back(){this._platformLocation.back()}getState(){return this._platformLocation.getState()}historyGo(r=0){this._platformLocation.historyGo?.(r)}};e.\u0275fac=function(o){return new(o||e)(T(xu),T(gg,8))},e.\u0275prov=I({token:e,factory:e.\u0275fac});let t=e;return t})(),_r=(()=>{let e=class e{constructor(r){this._subject=new Ie,this._urlChangeListeners=[],this._urlChangeSubscription=null,this._locationStrategy=r;let o=this._locationStrategy.getBaseHref();this._basePath=bC(ag(cg(o))),this._locationStrategy.onPopState(i=>{this._subject.emit({url:this.path(!0),pop:!0,state:i.state,type:i.type})})}ngOnDestroy(){this._urlChangeSubscription?.unsubscribe(),this._urlChangeListeners=[]}path(r=!1){return this.normalize(this._locationStrategy.path(r))}getState(){return this._locationStrategy.getState()}isCurrentPathEqualTo(r,o=""){return this.path()==this.normalize(r+pt(o))}normalize(r){return e.stripTrailingSlash(CC(this._basePath,cg(r)))}prepareExternalUrl(r){return r&&r[0]!=="/"&&(r="/"+r),this._locationStrategy.prepareExternalUrl(r)}go(r,o="",i=null){this._locationStrategy.pushState(i,"",r,o),this._notifyUrlChangeListeners(this.prepareExternalUrl(r+pt(o)),i)}replaceState(r,o="",i=null){this._locationStrategy.replaceState(i,"",r,o),this._notifyUrlChangeListeners(this.prepareExternalUrl(r+pt(o)),i)}forward(){this._locationStrategy.forward()}back(){this._locationStrategy.back()}historyGo(r=0){this._locationStrategy.historyGo?.(r)}onUrlChange(r){return this._urlChangeListeners.push(r),this._urlChangeSubscription??=this.subscribe(o=>{this._notifyUrlChangeListeners(o.url,o.state)}),()=>{let o=this._urlChangeListeners.indexOf(r);this._urlChangeListeners.splice(o,1),this._urlChangeListeners.length===0&&(this._urlChangeSubscription?.unsubscribe(),this._urlChangeSubscription=null)}}_notifyUrlChangeListeners(r="",o){this._urlChangeListeners.forEach(i=>i(r,o))}subscribe(r,o,i){return this._subject.subscribe({next:r,error:o,complete:i})}};e.normalizeQueryParams=pt,e.joinWithSlash=Au,e.stripTrailingSlash=ag,e.\u0275fac=function(o){return new(o||e)(T(en))},e.\u0275prov=I({token:e,factory:()=>EC(),providedIn:"root"});let t=e;return t})();function EC(){return new _r(T(en))}function CC(t,e){if(!t||!e.startsWith(t))return e;let n=e.substring(t.length);return n===""||["/",";","?","#"].includes(n[0])?n:e}function cg(t){return t.replace(/\/index.html$/,"")}function bC(t){if(new RegExp("^(https?:)?//").test(t)){let[,n]=t.split(/\/\/[^\/]+/);return n}return t}function Qi(t,e){e=encodeURIComponent(e);for(let n of t.split(";")){let r=n.indexOf("="),[o,i]=r==-1?[n,""]:[n.slice(0,r),n.slice(r+1)];if(o.trim()===e)return decodeURIComponent(i)}return null}var Mu=/\s+/,ug=[],WR=(()=>{let e=class e{constructor(r,o){this._ngEl=r,this._renderer=o,this.initialClasses=ug,this.stateMap=new Map}set klass(r){this.initialClasses=r!=null?r.trim().split(Mu):ug}set ngClass(r){this.rawClass=typeof r=="string"?r.trim().split(Mu):r}ngDoCheck(){for(let o of this.initialClasses)this._updateState(o,!0);let r=this.rawClass;if(Array.isArray(r)||r instanceof Set)for(let o of r)this._updateState(o,!0);else if(r!=null)for(let o of Object.keys(r))this._updateState(o,!!r[o]);this._applyStateDiff()}_updateState(r,o){let i=this.stateMap.get(r);i!==void 0?(i.enabled!==o&&(i.changed=!0,i.enabled=o),i.touched=!0):this.stateMap.set(r,{enabled:o,changed:!0,touched:!0})}_applyStateDiff(){for(let r of this.stateMap){let o=r[0],i=r[1];i.changed?(this._toggleClass(o,i.enabled),i.changed=!1):i.touched||(i.enabled&&this._toggleClass(o,!1),this.stateMap.delete(o)),i.touched=!1}}_toggleClass(r,o){r=r.trim(),r.length>0&&r.split(Mu).forEach(i=>{o?this._renderer.addClass(this._ngEl.nativeElement,i):this._renderer.removeClass(this._ngEl.nativeElement,i)})}};e.\u0275fac=function(o){return new(o||e)(V(Le),V(Jt))},e.\u0275dir=st({type:e,selectors:[["","ngClass",""]],inputs:{klass:[Se.None,"class","klass"],ngClass:"ngClass"},standalone:!0});let t=e;return t})();var Tu=class{constructor(e,n,r,o){this.$implicit=e,this.ngForOf=n,this.index=r,this.count=o}get first(){return this.index===0}get last(){return this.index===this.count-1}get even(){return this.index%2===0}get odd(){return!this.even}},ZR=(()=>{let e=class e{set ngForOf(r){this._ngForOf=r,this._ngForOfDirty=!0}set ngForTrackBy(r){this._trackByFn=r}get ngForTrackBy(){return this._trackByFn}constructor(r,o,i){this._viewContainer=r,this._template=o,this._differs=i,this._ngForOf=null,this._ngForOfDirty=!0,this._differ=null}set ngForTemplate(r){r&&(this._template=r)}ngDoCheck(){if(this._ngForOfDirty){this._ngForOfDirty=!1;let r=this._ngForOf;if(!this._differ&&r)if(0)try{}catch{}else this._differ=this._differs.find(r).create(this.ngForTrackBy)}if(this._differ){let r=this._differ.diff(this._ngForOf);r&&this._applyChanges(r)}}_applyChanges(r){let o=this._viewContainer;r.forEachOperation((i,s,a)=>{if(i.previousIndex==null)o.createEmbeddedView(this._template,new Tu(i.item,this._ngForOf,-1,-1),a===null?void 0:a);else if(a==null)o.remove(s===null?void 0:s);else if(s!==null){let c=o.get(s);o.move(c,a),lg(c,i)}});for(let i=0,s=o.length;i<s;i++){let c=o.get(i).context;c.index=i,c.count=s,c.ngForOf=this._ngForOf}r.forEachIdentityChange(i=>{let s=o.get(i.currentIndex);lg(s,i)})}static ngTemplateContextGuard(r,o){return!0}};e.\u0275fac=function(o){return new(o||e)(V(At),V(Wt),V(Cu))},e.\u0275dir=st({type:e,selectors:[["","ngFor","","ngForOf",""]],inputs:{ngForOf:"ngForOf",ngForTrackBy:"ngForTrackBy",ngForTemplate:"ngForTemplate"},standalone:!0});let t=e;return t})();function lg(t,e){t.context.$implicit=e.item}var YR=(()=>{let e=class e{constructor(r,o){this._viewContainer=r,this._context=new Su,this._thenTemplateRef=null,this._elseTemplateRef=null,this._thenViewRef=null,this._elseViewRef=null,this._thenTemplateRef=o}set ngIf(r){this._context.$implicit=this._context.ngIf=r,this._updateView()}set ngIfThen(r){dg("ngIfThen",r),this._thenTemplateRef=r,this._thenViewRef=null,this._updateView()}set ngIfElse(r){dg("ngIfElse",r),this._elseTemplateRef=r,this._elseViewRef=null,this._updateView()}_updateView(){this._context.$implicit?this._thenViewRef||(this._viewContainer.clear(),this._elseViewRef=null,this._thenTemplateRef&&(this._thenViewRef=this._viewContainer.createEmbeddedView(this._thenTemplateRef,this._context))):this._elseViewRef||(this._viewContainer.clear(),this._thenViewRef=null,this._elseTemplateRef&&(this._elseViewRef=this._viewContainer.createEmbeddedView(this._elseTemplateRef,this._context)))}static ngTemplateContextGuard(r,o){return!0}};e.\u0275fac=function(o){return new(o||e)(V(At),V(Wt))},e.\u0275dir=st({type:e,selectors:[["","ngIf",""]],inputs:{ngIf:"ngIf",ngIfThen:"ngIfThen",ngIfElse:"ngIfElse"},standalone:!0});let t=e;return t})(),Su=class{constructor(){this.$implicit=null,this.ngIf=null}};function dg(t,e){if(!!!(!e||e.createEmbeddedView))throw new Error(`${t} must be a TemplateRef, but received '${de(e)}'.`)}var QR=(()=>{let e=class e{constructor(r,o,i){this._ngEl=r,this._differs=o,this._renderer=i,this._ngStyle=null,this._differ=null}set ngStyle(r){this._ngStyle=r,!this._differ&&r&&(this._differ=this._differs.find(r).create())}ngDoCheck(){if(this._differ){let r=this._differ.diff(this._ngStyle);r&&this._applyChanges(r)}}_setStyle(r,o){let[i,s]=r.split("."),a=i.indexOf("-")===-1?void 0:We.DashCase;o!=null?this._renderer.setStyle(this._ngEl.nativeElement,i,s?`${o}${s}`:o,a):this._renderer.removeStyle(this._ngEl.nativeElement,i,a)}_applyChanges(r){r.forEachRemovedItem(o=>this._setStyle(o.key,null)),r.forEachAddedItem(o=>this._setStyle(o.key,o.currentValue)),r.forEachChangedItem(o=>this._setStyle(o.key,o.currentValue))}};e.\u0275fac=function(o){return new(o||e)(V(Le),V(bu),V(Jt))},e.\u0275dir=st({type:e,selectors:[["","ngStyle",""]],inputs:{ngStyle:"ngStyle"},standalone:!0});let t=e;return t})();var MC=(()=>{let e=class e{};e.\u0275fac=function(o){return new(o||e)},e.\u0275mod=Fn({type:e}),e.\u0275inj=Pn({});let t=e;return t})(),vg="browser",TC="server";function Ki(t){return t===TC}var Hn=class{};var Rr=class{},Xi=class{},tn=class t{constructor(e){this.normalizedNames=new Map,this.lazyUpdate=null,e?typeof e=="string"?this.lazyInit=()=>{this.headers=new Map,e.split(`
`).forEach(n=>{let r=n.indexOf(":");if(r>0){let o=n.slice(0,r),i=o.toLowerCase(),s=n.slice(r+1).trim();this.maybeSetNormalizedName(o,i),this.headers.has(i)?this.headers.get(i).push(s):this.headers.set(i,[s])}})}:typeof Headers<"u"&&e instanceof Headers?(this.headers=new Map,e.forEach((n,r)=>{this.setHeaderEntries(r,n)})):this.lazyInit=()=>{this.headers=new Map,Object.entries(e).forEach(([n,r])=>{this.setHeaderEntries(n,r)})}:this.headers=new Map}has(e){return this.init(),this.headers.has(e.toLowerCase())}get(e){this.init();let n=this.headers.get(e.toLowerCase());return n&&n.length>0?n[0]:null}keys(){return this.init(),Array.from(this.normalizedNames.values())}getAll(e){return this.init(),this.headers.get(e.toLowerCase())||null}append(e,n){return this.clone({name:e,value:n,op:"a"})}set(e,n){return this.clone({name:e,value:n,op:"s"})}delete(e,n){return this.clone({name:e,value:n,op:"d"})}maybeSetNormalizedName(e,n){this.normalizedNames.has(n)||this.normalizedNames.set(n,e)}init(){this.lazyInit&&(this.lazyInit instanceof t?this.copyFrom(this.lazyInit):this.lazyInit(),this.lazyInit=null,this.lazyUpdate&&(this.lazyUpdate.forEach(e=>this.applyUpdate(e)),this.lazyUpdate=null))}copyFrom(e){e.init(),Array.from(e.headers.keys()).forEach(n=>{this.headers.set(n,e.headers.get(n)),this.normalizedNames.set(n,e.normalizedNames.get(n))})}clone(e){let n=new t;return n.lazyInit=this.lazyInit&&this.lazyInit instanceof t?this.lazyInit:this,n.lazyUpdate=(this.lazyUpdate||[]).concat([e]),n}applyUpdate(e){let n=e.name.toLowerCase();switch(e.op){case"a":case"s":let r=e.value;if(typeof r=="string"&&(r=[r]),r.length===0)return;this.maybeSetNormalizedName(e.name,n);let o=(e.op==="a"?this.headers.get(n):void 0)||[];o.push(...r),this.headers.set(n,o);break;case"d":let i=e.value;if(!i)this.headers.delete(n),this.normalizedNames.delete(n);else{let s=this.headers.get(n);if(!s)return;s=s.filter(a=>i.indexOf(a)===-1),s.length===0?(this.headers.delete(n),this.normalizedNames.delete(n)):this.headers.set(n,s)}break}}setHeaderEntries(e,n){let r=(Array.isArray(n)?n:[n]).map(i=>i.toString()),o=e.toLowerCase();this.headers.set(o,r),this.maybeSetNormalizedName(e,o)}forEach(e){this.init(),Array.from(this.normalizedNames.keys()).forEach(n=>e(this.normalizedNames.get(n),this.headers.get(n)))}};var Nu=class{encodeKey(e){return Dg(e)}encodeValue(e){return Dg(e)}decodeKey(e){return decodeURIComponent(e)}decodeValue(e){return decodeURIComponent(e)}};function AC(t,e){let n=new Map;return t.length>0&&t.replace(/^\?/,"").split("&").forEach(o=>{let i=o.indexOf("="),[s,a]=i==-1?[e.decodeKey(o),""]:[e.decodeKey(o.slice(0,i)),e.decodeValue(o.slice(i+1))],c=n.get(s)||[];c.push(a),n.set(s,c)}),n}var _C=/%(\d[a-f0-9])/gi,NC={40:"@","3A":":",24:"$","2C":",","3B":";","3D":"=","3F":"?","2F":"/"};function Dg(t){return encodeURIComponent(t).replace(_C,(e,n)=>NC[n]??e)}function Ji(t){return`${t}`}var _t=class t{constructor(e={}){if(this.updates=null,this.cloneFrom=null,this.encoder=e.encoder||new Nu,e.fromString){if(e.fromObject)throw new Error("Cannot specify both fromString and fromObject.");this.map=AC(e.fromString,this.encoder)}else e.fromObject?(this.map=new Map,Object.keys(e.fromObject).forEach(n=>{let r=e.fromObject[n],o=Array.isArray(r)?r.map(Ji):[Ji(r)];this.map.set(n,o)})):this.map=null}has(e){return this.init(),this.map.has(e)}get(e){this.init();let n=this.map.get(e);return n?n[0]:null}getAll(e){return this.init(),this.map.get(e)||null}keys(){return this.init(),Array.from(this.map.keys())}append(e,n){return this.clone({param:e,value:n,op:"a"})}appendAll(e){let n=[];return Object.keys(e).forEach(r=>{let o=e[r];Array.isArray(o)?o.forEach(i=>{n.push({param:r,value:i,op:"a"})}):n.push({param:r,value:o,op:"a"})}),this.clone(n)}set(e,n){return this.clone({param:e,value:n,op:"s"})}delete(e,n){return this.clone({param:e,value:n,op:"d"})}toString(){return this.init(),this.keys().map(e=>{let n=this.encoder.encodeKey(e);return this.map.get(e).map(r=>n+"="+this.encoder.encodeValue(r)).join("&")}).filter(e=>e!=="").join("&")}clone(e){let n=new t({encoder:this.encoder});return n.cloneFrom=this.cloneFrom||this,n.updates=(this.updates||[]).concat(e),n}init(){this.map===null&&(this.map=new Map),this.cloneFrom!==null&&(this.cloneFrom.init(),this.cloneFrom.keys().forEach(e=>this.map.set(e,this.cloneFrom.map.get(e))),this.updates.forEach(e=>{switch(e.op){case"a":case"s":let n=(e.op==="a"?this.map.get(e.param):void 0)||[];n.push(Ji(e.value)),this.map.set(e.param,n);break;case"d":if(e.value!==void 0){let r=this.map.get(e.param)||[],o=r.indexOf(Ji(e.value));o!==-1&&r.splice(o,1),r.length>0?this.map.set(e.param,r):this.map.delete(e.param)}else{this.map.delete(e.param);break}}}),this.cloneFrom=this.updates=null)}};var Ru=class{constructor(){this.map=new Map}set(e,n){return this.map.set(e,n),this}get(e){return this.map.has(e)||this.map.set(e,e.defaultValue()),this.map.get(e)}delete(e){return this.map.delete(e),this}has(e){return this.map.has(e)}keys(){return this.map.keys()}};function RC(t){switch(t){case"DELETE":case"GET":case"HEAD":case"OPTIONS":case"JSONP":return!1;default:return!0}}function wg(t){return typeof ArrayBuffer<"u"&&t instanceof ArrayBuffer}function Ig(t){return typeof Blob<"u"&&t instanceof Blob}function Eg(t){return typeof FormData<"u"&&t instanceof FormData}function OC(t){return typeof URLSearchParams<"u"&&t instanceof URLSearchParams}var Nr=class t{constructor(e,n,r,o){this.url=n,this.body=null,this.reportProgress=!1,this.withCredentials=!1,this.responseType="json",this.method=e.toUpperCase();let i;if(RC(this.method)||o?(this.body=r!==void 0?r:null,i=o):i=r,i&&(this.reportProgress=!!i.reportProgress,this.withCredentials=!!i.withCredentials,i.responseType&&(this.responseType=i.responseType),i.headers&&(this.headers=i.headers),i.context&&(this.context=i.context),i.params&&(this.params=i.params),this.transferCache=i.transferCache),this.headers??=new tn,this.context??=new Ru,!this.params)this.params=new _t,this.urlWithParams=n;else{let s=this.params.toString();if(s.length===0)this.urlWithParams=n;else{let a=n.indexOf("?"),c=a===-1?"?":a<n.length-1?"&":"";this.urlWithParams=n+c+s}}}serializeBody(){return this.body===null?null:typeof this.body=="string"||wg(this.body)||Ig(this.body)||Eg(this.body)||OC(this.body)?this.body:this.body instanceof _t?this.body.toString():typeof this.body=="object"||typeof this.body=="boolean"||Array.isArray(this.body)?JSON.stringify(this.body):this.body.toString()}detectContentTypeHeader(){return this.body===null||Eg(this.body)?null:Ig(this.body)?this.body.type||null:wg(this.body)?null:typeof this.body=="string"?"text/plain":this.body instanceof _t?"application/x-www-form-urlencoded;charset=UTF-8":typeof this.body=="object"||typeof this.body=="number"||typeof this.body=="boolean"?"application/json":null}clone(e={}){let n=e.method||this.method,r=e.url||this.url,o=e.responseType||this.responseType,i=e.transferCache??this.transferCache,s=e.body!==void 0?e.body:this.body,a=e.withCredentials??this.withCredentials,c=e.reportProgress??this.reportProgress,u=e.headers||this.headers,l=e.params||this.params,d=e.context??this.context;return e.setHeaders!==void 0&&(u=Object.keys(e.setHeaders).reduce((f,h)=>f.set(h,e.setHeaders[h]),u)),e.setParams&&(l=Object.keys(e.setParams).reduce((f,h)=>f.set(h,e.setParams[h]),l)),new t(n,r,s,{params:l,headers:u,context:d,reportProgress:c,responseType:o,withCredentials:a,transferCache:i})}},zn=function(t){return t[t.Sent=0]="Sent",t[t.UploadProgress=1]="UploadProgress",t[t.ResponseHeader=2]="ResponseHeader",t[t.DownloadProgress=3]="DownloadProgress",t[t.Response=4]="Response",t[t.User=5]="User",t}(zn||{}),Or=class{constructor(e,n=ns.Ok,r="OK"){this.headers=e.headers||new tn,this.status=e.status!==void 0?e.status:n,this.statusText=e.statusText||r,this.url=e.url||null,this.ok=this.status>=200&&this.status<300}},Ou=class t extends Or{constructor(e={}){super(e),this.type=zn.ResponseHeader}clone(e={}){return new t({headers:e.headers||this.headers,status:e.status!==void 0?e.status:this.status,statusText:e.statusText||this.statusText,url:e.url||this.url||void 0})}},es=class t extends Or{constructor(e={}){super(e),this.type=zn.Response,this.body=e.body!==void 0?e.body:null}clone(e={}){return new t({body:e.body!==void 0?e.body:this.body,headers:e.headers||this.headers,status:e.status!==void 0?e.status:this.status,statusText:e.statusText||this.statusText,url:e.url||this.url||void 0})}},ts=class extends Or{constructor(e){super(e,0,"Unknown Error"),this.name="HttpErrorResponse",this.ok=!1,this.status>=200&&this.status<300?this.message=`Http failure during parsing for ${e.url||"(unknown url)"}`:this.message=`Http failure response for ${e.url||"(unknown url)"}: ${e.status} ${e.statusText}`,this.error=e.error||null}},ns=function(t){return t[t.Continue=100]="Continue",t[t.SwitchingProtocols=101]="SwitchingProtocols",t[t.Processing=102]="Processing",t[t.EarlyHints=103]="EarlyHints",t[t.Ok=200]="Ok",t[t.Created=201]="Created",t[t.Accepted=202]="Accepted",t[t.NonAuthoritativeInformation=203]="NonAuthoritativeInformation",t[t.NoContent=204]="NoContent",t[t.ResetContent=205]="ResetContent",t[t.PartialContent=206]="PartialContent",t[t.MultiStatus=207]="MultiStatus",t[t.AlreadyReported=208]="AlreadyReported",t[t.ImUsed=226]="ImUsed",t[t.MultipleChoices=300]="MultipleChoices",t[t.MovedPermanently=301]="MovedPermanently",t[t.Found=302]="Found",t[t.SeeOther=303]="SeeOther",t[t.NotModified=304]="NotModified",t[t.UseProxy=305]="UseProxy",t[t.Unused=306]="Unused",t[t.TemporaryRedirect=307]="TemporaryRedirect",t[t.PermanentRedirect=308]="PermanentRedirect",t[t.BadRequest=400]="BadRequest",t[t.Unauthorized=401]="Unauthorized",t[t.PaymentRequired=402]="PaymentRequired",t[t.Forbidden=403]="Forbidden",t[t.NotFound=404]="NotFound",t[t.MethodNotAllowed=405]="MethodNotAllowed",t[t.NotAcceptable=406]="NotAcceptable",t[t.ProxyAuthenticationRequired=407]="ProxyAuthenticationRequired",t[t.RequestTimeout=408]="RequestTimeout",t[t.Conflict=409]="Conflict",t[t.Gone=410]="Gone",t[t.LengthRequired=411]="LengthRequired",t[t.PreconditionFailed=412]="PreconditionFailed",t[t.PayloadTooLarge=413]="PayloadTooLarge",t[t.UriTooLong=414]="UriTooLong",t[t.UnsupportedMediaType=415]="UnsupportedMediaType",t[t.RangeNotSatisfiable=416]="RangeNotSatisfiable",t[t.ExpectationFailed=417]="ExpectationFailed",t[t.ImATeapot=418]="ImATeapot",t[t.MisdirectedRequest=421]="MisdirectedRequest",t[t.UnprocessableEntity=422]="UnprocessableEntity",t[t.Locked=423]="Locked",t[t.FailedDependency=424]="FailedDependency",t[t.TooEarly=425]="TooEarly",t[t.UpgradeRequired=426]="UpgradeRequired",t[t.PreconditionRequired=428]="PreconditionRequired",t[t.TooManyRequests=429]="TooManyRequests",t[t.RequestHeaderFieldsTooLarge=431]="RequestHeaderFieldsTooLarge",t[t.UnavailableForLegalReasons=451]="UnavailableForLegalReasons",t[t.InternalServerError=500]="InternalServerError",t[t.NotImplemented=501]="NotImplemented",t[t.BadGateway=502]="BadGateway",t[t.ServiceUnavailable=503]="ServiceUnavailable",t[t.GatewayTimeout=504]="GatewayTimeout",t[t.HttpVersionNotSupported=505]="HttpVersionNotSupported",t[t.VariantAlsoNegotiates=506]="VariantAlsoNegotiates",t[t.InsufficientStorage=507]="InsufficientStorage",t[t.LoopDetected=508]="LoopDetected",t[t.NotExtended=510]="NotExtended",t[t.NetworkAuthenticationRequired=511]="NetworkAuthenticationRequired",t}(ns||{});function _u(t,e){return{body:e,headers:t.headers,context:t.context,observe:t.observe,params:t.params,reportProgress:t.reportProgress,responseType:t.responseType,withCredentials:t.withCredentials,transferCache:t.transferCache}}var PC=(()=>{let e=class e{constructor(r){this.handler=r}request(r,o,i={}){let s;if(r instanceof Nr)s=r;else{let u;i.headers instanceof tn?u=i.headers:u=new tn(i.headers);let l;i.params&&(i.params instanceof _t?l=i.params:l=new _t({fromObject:i.params})),s=new Nr(r,o,i.body!==void 0?i.body:null,{headers:u,context:i.context,params:l,reportProgress:i.reportProgress,responseType:i.responseType||"json",withCredentials:i.withCredentials,transferCache:i.transferCache})}let a=b(s).pipe(yt(u=>this.handler.handle(u)));if(r instanceof Nr||i.observe==="events")return a;let c=a.pipe(ae(u=>u instanceof es));switch(i.observe||"body"){case"body":switch(s.responseType){case"arraybuffer":return c.pipe(R(u=>{if(u.body!==null&&!(u.body instanceof ArrayBuffer))throw new Error("Response is not an ArrayBuffer.");return u.body}));case"blob":return c.pipe(R(u=>{if(u.body!==null&&!(u.body instanceof Blob))throw new Error("Response is not a Blob.");return u.body}));case"text":return c.pipe(R(u=>{if(u.body!==null&&typeof u.body!="string")throw new Error("Response is not a string.");return u.body}));case"json":default:return c.pipe(R(u=>u.body))}case"response":return c;default:throw new Error(`Unreachable: unhandled observe type ${i.observe}}`)}}delete(r,o={}){return this.request("DELETE",r,o)}get(r,o={}){return this.request("GET",r,o)}head(r,o={}){return this.request("HEAD",r,o)}jsonp(r,o){return this.request("JSONP",r,{params:new _t().append(o,"JSONP_CALLBACK"),observe:"body",responseType:"json"})}options(r,o={}){return this.request("OPTIONS",r,o)}patch(r,o,i={}){return this.request("PATCH",r,_u(i,o))}post(r,o,i={}){return this.request("POST",r,_u(i,o))}put(r,o,i={}){return this.request("PUT",r,_u(i,o))}};e.\u0275fac=function(o){return new(o||e)(T(Rr))},e.\u0275prov=I({token:e,factory:e.\u0275fac});let t=e;return t})();function Tg(t,e){return e(t)}function FC(t,e){return(n,r)=>e.intercept(n,{handle:o=>t(o,r)})}function kC(t,e,n){return(r,o)=>at(n,()=>e(r,i=>t(i,o)))}var LC=new M(""),Pu=new M(""),jC=new M(""),VC=new M("");function $C(){let t=null;return(e,n)=>{t===null&&(t=(g(LC,{optional:!0})??[]).reduceRight(FC,Tg));let r=g(ht),o=r.add();return t(e,n).pipe(wt(()=>r.remove(o)))}}var Cg=(()=>{let e=class e extends Rr{constructor(r,o){super(),this.backend=r,this.injector=o,this.chain=null,this.pendingTasks=g(ht);let i=g(VC,{optional:!0});this.backend=i??r}handle(r){if(this.chain===null){let i=Array.from(new Set([...this.injector.get(Pu),...this.injector.get(jC,[])]));this.chain=i.reduceRight((s,a)=>kC(s,a,this.injector),Tg)}let o=this.pendingTasks.add();return this.chain(r,i=>this.backend.handle(i)).pipe(wt(()=>this.pendingTasks.remove(o)))}};e.\u0275fac=function(o){return new(o||e)(T(Xi),T(fe))},e.\u0275prov=I({token:e,factory:e.\u0275fac});let t=e;return t})();var UC=/^\)\]\}',?\n/;function BC(t){return"responseURL"in t&&t.responseURL?t.responseURL:/^X-Request-URL:/m.test(t.getAllResponseHeaders())?t.getResponseHeader("X-Request-URL"):null}var bg=(()=>{let e=class e{constructor(r){this.xhrFactory=r}handle(r){if(r.method==="JSONP")throw new w(-2800,!1);let o=this.xhrFactory;return(o.\u0275loadImpl?q(o.\u0275loadImpl()):b(null)).pipe(ge(()=>new F(s=>{let a=o.build();if(a.open(r.method,r.urlWithParams),r.withCredentials&&(a.withCredentials=!0),r.headers.forEach((y,v)=>a.setRequestHeader(y,v.join(","))),r.headers.has("Accept")||a.setRequestHeader("Accept","application/json, text/plain, */*"),!r.headers.has("Content-Type")){let y=r.detectContentTypeHeader();y!==null&&a.setRequestHeader("Content-Type",y)}if(r.responseType){let y=r.responseType.toLowerCase();a.responseType=y!=="json"?y:"text"}let c=r.serializeBody(),u=null,l=()=>{if(u!==null)return u;let y=a.statusText||"OK",v=new tn(a.getAllResponseHeaders()),ie=BC(a)||r.url;return u=new Ou({headers:v,status:a.status,statusText:y,url:ie}),u},d=()=>{let{headers:y,status:v,statusText:ie,url:te}=l(),$=null;v!==ns.NoContent&&($=typeof a.response>"u"?a.responseText:a.response),v===0&&(v=$?ns.Ok:0);let Ve=v>=200&&v<300;if(r.responseType==="json"&&typeof $=="string"){let De=$;$=$.replace(UC,"");try{$=$!==""?JSON.parse($):null}catch(mt){$=De,Ve&&(Ve=!1,$={error:mt,text:$})}}Ve?(s.next(new es({body:$,headers:y,status:v,statusText:ie,url:te||void 0})),s.complete()):s.error(new ts({error:$,headers:y,status:v,statusText:ie,url:te||void 0}))},f=y=>{let{url:v}=l(),ie=new ts({error:y,status:a.status||0,statusText:a.statusText||"Unknown Error",url:v||void 0});s.error(ie)},h=!1,p=y=>{h||(s.next(l()),h=!0);let v={type:zn.DownloadProgress,loaded:y.loaded};y.lengthComputable&&(v.total=y.total),r.responseType==="text"&&a.responseText&&(v.partialText=a.responseText),s.next(v)},m=y=>{let v={type:zn.UploadProgress,loaded:y.loaded};y.lengthComputable&&(v.total=y.total),s.next(v)};return a.addEventListener("load",d),a.addEventListener("error",f),a.addEventListener("timeout",f),a.addEventListener("abort",f),r.reportProgress&&(a.addEventListener("progress",p),c!==null&&a.upload&&a.upload.addEventListener("progress",m)),a.send(c),s.next({type:zn.Sent}),()=>{a.removeEventListener("error",f),a.removeEventListener("abort",f),a.removeEventListener("load",d),a.removeEventListener("timeout",f),r.reportProgress&&(a.removeEventListener("progress",p),c!==null&&a.upload&&a.upload.removeEventListener("progress",m)),a.readyState!==a.DONE&&a.abort()}})))}};e.\u0275fac=function(o){return new(o||e)(T(Hn))},e.\u0275prov=I({token:e,factory:e.\u0275fac});let t=e;return t})(),Sg=new M(""),HC="XSRF-TOKEN",zC=new M("",{providedIn:"root",factory:()=>HC}),qC="X-XSRF-TOKEN",GC=new M("",{providedIn:"root",factory:()=>qC}),rs=class{},WC=(()=>{let e=class e{constructor(r,o,i){this.doc=r,this.platform=o,this.cookieName=i,this.lastCookieString="",this.lastToken=null,this.parseCount=0}getToken(){if(this.platform==="server")return null;let r=this.doc.cookie||"";return r!==this.lastCookieString&&(this.parseCount++,this.lastToken=Qi(r,this.cookieName),this.lastCookieString=r),this.lastToken}};e.\u0275fac=function(o){return new(o||e)(T(he),T(ut),T(zC))},e.\u0275prov=I({token:e,factory:e.\u0275fac});let t=e;return t})();function ZC(t,e){let n=t.url.toLowerCase();if(!g(Sg)||t.method==="GET"||t.method==="HEAD"||n.startsWith("http://")||n.startsWith("https://"))return e(t);let r=g(rs).getToken(),o=g(GC);return r!=null&&!t.headers.has(o)&&(t=t.clone({headers:t.headers.set(o,r)})),e(t)}var xg=function(t){return t[t.Interceptors=0]="Interceptors",t[t.LegacyInterceptors=1]="LegacyInterceptors",t[t.CustomXsrfConfiguration=2]="CustomXsrfConfiguration",t[t.NoXsrfProtection=3]="NoXsrfProtection",t[t.JsonpSupport=4]="JsonpSupport",t[t.RequestsMadeViaParent=5]="RequestsMadeViaParent",t[t.Fetch=6]="Fetch",t}(xg||{});function YC(t,e){return{\u0275kind:t,\u0275providers:e}}function QC(...t){let e=[PC,bg,Cg,{provide:Rr,useExisting:Cg},{provide:Xi,useExisting:bg},{provide:Pu,useValue:ZC,multi:!0},{provide:Sg,useValue:!0},{provide:rs,useClass:WC}];for(let n of t)e.push(...n.\u0275providers);return kn(e)}var Mg=new M("");function KC(){return YC(xg.LegacyInterceptors,[{provide:Mg,useFactory:$C},{provide:Pu,useExisting:Mg,multi:!0}])}var uO=(()=>{let e=class e{};e.\u0275fac=function(o){return new(o||e)},e.\u0275mod=Fn({type:e}),e.\u0275inj=Pn({providers:[QC(KC())]});let t=e;return t})();var Lu=class extends Yi{constructor(){super(...arguments),this.supportsDOMEvents=!0}},ju=class t extends Lu{static makeCurrent(){pg(new t)}onAndCancel(e,n,r){return e.addEventListener(n,r),()=>{e.removeEventListener(n,r)}}dispatchEvent(e,n){e.dispatchEvent(n)}remove(e){e.parentNode&&e.parentNode.removeChild(e)}createElement(e,n){return n=n||this.getDefaultDocument(),n.createElement(e)}createHtmlDocument(){return document.implementation.createHTMLDocument("fakeTitle")}getDefaultDocument(){return document}isElementNode(e){return e.nodeType===Node.ELEMENT_NODE}isShadowRoot(e){return e instanceof DocumentFragment}getGlobalEventTarget(e,n){return n==="window"?window:n==="document"?e:n==="body"?e.body:null}getBaseHref(e){let n=JC();return n==null?null:XC(n)}resetBaseElement(){Pr=null}getUserAgent(){return window.navigator.userAgent}getCookie(e){return Qi(document.cookie,e)}},Pr=null;function JC(){return Pr=Pr||document.querySelector("base"),Pr?Pr.getAttribute("href"):null}function XC(t){return new URL(t,document.baseURI).pathname}var eb=(()=>{let e=class e{build(){return new XMLHttpRequest}};e.\u0275fac=function(o){return new(o||e)},e.\u0275prov=I({token:e,factory:e.\u0275fac});let t=e;return t})(),Vu=new M(""),Rg=(()=>{let e=class e{constructor(r,o){this._zone=o,this._eventNameToPlugin=new Map,r.forEach(i=>{i.manager=this}),this._plugins=r.slice().reverse()}addEventListener(r,o,i){return this._findPluginFor(o).addEventListener(r,o,i)}getZone(){return this._zone}_findPluginFor(r){let o=this._eventNameToPlugin.get(r);if(o)return o;if(o=this._plugins.find(s=>s.supports(r)),!o)throw new w(5101,!1);return this._eventNameToPlugin.set(r,o),o}};e.\u0275fac=function(o){return new(o||e)(T(Vu),T(G))},e.\u0275prov=I({token:e,factory:e.\u0275fac});let t=e;return t})(),os=class{constructor(e){this._doc=e}},Fu="ng-app-id",Og=(()=>{let e=class e{constructor(r,o,i,s={}){this.doc=r,this.appId=o,this.nonce=i,this.platformId=s,this.styleRef=new Map,this.hostNodes=new Set,this.styleNodesInDOM=this.collectServerRenderedStyles(),this.platformIsServer=Ki(s),this.resetHostNodes()}addStyles(r){for(let o of r)this.changeUsageCount(o,1)===1&&this.onStyleAdded(o)}removeStyles(r){for(let o of r)this.changeUsageCount(o,-1)<=0&&this.onStyleRemoved(o)}ngOnDestroy(){let r=this.styleNodesInDOM;r&&(r.forEach(o=>o.remove()),r.clear());for(let o of this.getAllStyles())this.onStyleRemoved(o);this.resetHostNodes()}addHost(r){this.hostNodes.add(r);for(let o of this.getAllStyles())this.addStyleToHost(r,o)}removeHost(r){this.hostNodes.delete(r)}getAllStyles(){return this.styleRef.keys()}onStyleAdded(r){for(let o of this.hostNodes)this.addStyleToHost(o,r)}onStyleRemoved(r){let o=this.styleRef;o.get(r)?.elements?.forEach(i=>i.remove()),o.delete(r)}collectServerRenderedStyles(){let r=this.doc.head?.querySelectorAll(`style[${Fu}="${this.appId}"]`);if(r?.length){let o=new Map;return r.forEach(i=>{i.textContent!=null&&o.set(i.textContent,i)}),o}return null}changeUsageCount(r,o){let i=this.styleRef;if(i.has(r)){let s=i.get(r);return s.usage+=o,s.usage}return i.set(r,{usage:o,elements:[]}),o}getStyleElement(r,o){let i=this.styleNodesInDOM,s=i?.get(o);if(s?.parentNode===r)return i.delete(o),s.removeAttribute(Fu),s;{let a=this.doc.createElement("style");return this.nonce&&a.setAttribute("nonce",this.nonce),a.textContent=o,this.platformIsServer&&a.setAttribute(Fu,this.appId),r.appendChild(a),a}}addStyleToHost(r,o){let i=this.getStyleElement(r,o),s=this.styleRef,a=s.get(o)?.elements;a?a.push(i):s.set(o,{elements:[i],usage:1})}resetHostNodes(){let r=this.hostNodes;r.clear(),r.add(this.doc.head)}};e.\u0275fac=function(o){return new(o||e)(T(he),T(Zc),T(Qc,8),T(ut))},e.\u0275prov=I({token:e,factory:e.\u0275fac});let t=e;return t})(),ku={svg:"http://www.w3.org/2000/svg",xhtml:"http://www.w3.org/1999/xhtml",xlink:"http://www.w3.org/1999/xlink",xml:"http://www.w3.org/XML/1998/namespace",xmlns:"http://www.w3.org/2000/xmlns/",math:"http://www.w3.org/1998/MathML/"},Uu=/%COMP%/g,Pg="%COMP%",tb=`_nghost-${Pg}`,nb=`_ngcontent-${Pg}`,rb=!0,ob=new M("",{providedIn:"root",factory:()=>rb});function ib(t){return nb.replace(Uu,t)}function sb(t){return tb.replace(Uu,t)}function Fg(t,e){return e.map(n=>n.replace(Uu,t))}var Ag=(()=>{let e=class e{constructor(r,o,i,s,a,c,u,l=null){this.eventManager=r,this.sharedStylesHost=o,this.appId=i,this.removeStylesOnCompDestroy=s,this.doc=a,this.platformId=c,this.ngZone=u,this.nonce=l,this.rendererByCompId=new Map,this.platformIsServer=Ki(c),this.defaultRenderer=new Fr(r,a,u,this.platformIsServer)}createRenderer(r,o){if(!r||!o)return this.defaultRenderer;this.platformIsServer&&o.encapsulation===ze.ShadowDom&&(o=U(D({},o),{encapsulation:ze.Emulated}));let i=this.getOrCreateRenderer(r,o);return i instanceof is?i.applyToHost(r):i instanceof kr&&i.applyStyles(),i}getOrCreateRenderer(r,o){let i=this.rendererByCompId,s=i.get(o.id);if(!s){let a=this.doc,c=this.ngZone,u=this.eventManager,l=this.sharedStylesHost,d=this.removeStylesOnCompDestroy,f=this.platformIsServer;switch(o.encapsulation){case ze.Emulated:s=new is(u,l,o,this.appId,d,a,c,f);break;case ze.ShadowDom:return new $u(u,l,r,o,a,c,this.nonce,f);default:s=new kr(u,l,o,d,a,c,f);break}i.set(o.id,s)}return s}ngOnDestroy(){this.rendererByCompId.clear()}};e.\u0275fac=function(o){return new(o||e)(T(Rg),T(Og),T(Zc),T(ob),T(he),T(ut),T(G),T(Qc))},e.\u0275prov=I({token:e,factory:e.\u0275fac});let t=e;return t})(),Fr=class{constructor(e,n,r,o){this.eventManager=e,this.doc=n,this.ngZone=r,this.platformIsServer=o,this.data=Object.create(null),this.throwOnSyntheticProps=!0,this.destroyNode=null}destroy(){}createElement(e,n){return n?this.doc.createElementNS(ku[n]||n,e):this.doc.createElement(e)}createComment(e){return this.doc.createComment(e)}createText(e){return this.doc.createTextNode(e)}appendChild(e,n){(_g(e)?e.content:e).appendChild(n)}insertBefore(e,n,r){e&&(_g(e)?e.content:e).insertBefore(n,r)}removeChild(e,n){e&&e.removeChild(n)}selectRootElement(e,n){let r=typeof e=="string"?this.doc.querySelector(e):e;if(!r)throw new w(-5104,!1);return n||(r.textContent=""),r}parentNode(e){return e.parentNode}nextSibling(e){return e.nextSibling}setAttribute(e,n,r,o){if(o){n=o+":"+n;let i=ku[o];i?e.setAttributeNS(i,n,r):e.setAttribute(n,r)}else e.setAttribute(n,r)}removeAttribute(e,n,r){if(r){let o=ku[r];o?e.removeAttributeNS(o,n):e.removeAttribute(`${r}:${n}`)}else e.removeAttribute(n)}addClass(e,n){e.classList.add(n)}removeClass(e,n){e.classList.remove(n)}setStyle(e,n,r,o){o&(We.DashCase|We.Important)?e.style.setProperty(n,r,o&We.Important?"important":""):e.style[n]=r}removeStyle(e,n,r){r&We.DashCase?e.style.removeProperty(n):e.style[n]=""}setProperty(e,n,r){e!=null&&(e[n]=r)}setValue(e,n){e.nodeValue=n}listen(e,n,r){if(typeof e=="string"&&(e=Bn().getGlobalEventTarget(this.doc,e),!e))throw new Error(`Unsupported event target ${e} for event ${n}`);return this.eventManager.addEventListener(e,n,this.decoratePreventDefault(r))}decoratePreventDefault(e){return n=>{if(n==="__ngUnwrap__")return e;(this.platformIsServer?this.ngZone.runGuarded(()=>e(n)):e(n))===!1&&n.preventDefault()}}};function _g(t){return t.tagName==="TEMPLATE"&&t.content!==void 0}var $u=class extends Fr{constructor(e,n,r,o,i,s,a,c){super(e,i,s,c),this.sharedStylesHost=n,this.hostEl=r,this.shadowRoot=r.attachShadow({mode:"open"}),this.sharedStylesHost.addHost(this.shadowRoot);let u=Fg(o.id,o.styles);for(let l of u){let d=document.createElement("style");a&&d.setAttribute("nonce",a),d.textContent=l,this.shadowRoot.appendChild(d)}}nodeOrShadowRoot(e){return e===this.hostEl?this.shadowRoot:e}appendChild(e,n){return super.appendChild(this.nodeOrShadowRoot(e),n)}insertBefore(e,n,r){return super.insertBefore(this.nodeOrShadowRoot(e),n,r)}removeChild(e,n){return super.removeChild(this.nodeOrShadowRoot(e),n)}parentNode(e){return this.nodeOrShadowRoot(super.parentNode(this.nodeOrShadowRoot(e)))}destroy(){this.sharedStylesHost.removeHost(this.shadowRoot)}},kr=class extends Fr{constructor(e,n,r,o,i,s,a,c){super(e,i,s,a),this.sharedStylesHost=n,this.removeStylesOnCompDestroy=o,this.styles=c?Fg(c,r.styles):r.styles}applyStyles(){this.sharedStylesHost.addStyles(this.styles)}destroy(){this.removeStylesOnCompDestroy&&this.sharedStylesHost.removeStyles(this.styles)}},is=class extends kr{constructor(e,n,r,o,i,s,a,c){let u=o+"-"+r.id;super(e,n,r,i,s,a,c,u),this.contentAttr=ib(u),this.hostAttr=sb(u)}applyToHost(e){this.applyStyles(),this.setAttribute(e,this.hostAttr,"")}createElement(e,n){let r=super.createElement(e,n);return super.setAttribute(r,this.contentAttr,""),r}},ab=(()=>{let e=class e extends os{constructor(r){super(r)}supports(r){return!0}addEventListener(r,o,i){return r.addEventListener(o,i,!1),()=>this.removeEventListener(r,o,i)}removeEventListener(r,o,i){return r.removeEventListener(o,i)}};e.\u0275fac=function(o){return new(o||e)(T(he))},e.\u0275prov=I({token:e,factory:e.\u0275fac});let t=e;return t})(),Ng=["alt","control","meta","shift"],cb={"\b":"Backspace"," ":"Tab","\x7F":"Delete","\x1B":"Escape",Del:"Delete",Esc:"Escape",Left:"ArrowLeft",Right:"ArrowRight",Up:"ArrowUp",Down:"ArrowDown",Menu:"ContextMenu",Scroll:"ScrollLock",Win:"OS"},ub={alt:t=>t.altKey,control:t=>t.ctrlKey,meta:t=>t.metaKey,shift:t=>t.shiftKey},lb=(()=>{let e=class e extends os{constructor(r){super(r)}supports(r){return e.parseEventName(r)!=null}addEventListener(r,o,i){let s=e.parseEventName(o),a=e.eventCallback(s.fullKey,i,this.manager.getZone());return this.manager.getZone().runOutsideAngular(()=>Bn().onAndCancel(r,s.domEventName,a))}static parseEventName(r){let o=r.toLowerCase().split("."),i=o.shift();if(o.length===0||!(i==="keydown"||i==="keyup"))return null;let s=e._normalizeKey(o.pop()),a="",c=o.indexOf("code");if(c>-1&&(o.splice(c,1),a="code."),Ng.forEach(l=>{let d=o.indexOf(l);d>-1&&(o.splice(d,1),a+=l+".")}),a+=s,o.length!=0||s.length===0)return null;let u={};return u.domEventName=i,u.fullKey=a,u}static matchEventFullKeyCode(r,o){let i=cb[r.key]||r.key,s="";return o.indexOf("code.")>-1&&(i=r.code,s="code."),i==null||!i?!1:(i=i.toLowerCase(),i===" "?i="space":i==="."&&(i="dot"),Ng.forEach(a=>{if(a!==i){let c=ub[a];c(r)&&(s+=a+".")}}),s+=i,s===o)}static eventCallback(r,o,i){return s=>{e.matchEventFullKeyCode(s,r)&&i.runGuarded(()=>o(s))}}static _normalizeKey(r){return r==="esc"?"escape":r}};e.\u0275fac=function(o){return new(o||e)(T(he))},e.\u0275prov=I({token:e,factory:e.\u0275fac});let t=e;return t})();function SO(t,e){return sg(D({rootComponent:t},db(e)))}function db(t){return{appProviders:[...mb,...t?.providers??[]],platformProviders:gb}}function fb(){ju.makeCurrent()}function hb(){return new Ge}function pb(){return Sh(document),document}var gb=[{provide:ut,useValue:vg},{provide:Yc,useValue:fb,multi:!0},{provide:he,useFactory:pb,deps:[]}];var mb=[{provide:Ci,useValue:"root"},{provide:Ge,useFactory:hb,deps:[]},{provide:Vu,useClass:ab,multi:!0,deps:[he,G,ut]},{provide:Vu,useClass:lb,multi:!0,deps:[he]},Ag,Og,Rg,{provide:pr,useExisting:Ag},{provide:Hn,useClass:eb,deps:[]},[]];var kg=(()=>{let e=class e{constructor(r){this._doc=r}getTitle(){return this._doc.title}setTitle(r){this._doc.title=r||""}};e.\u0275fac=function(o){return new(o||e)(T(he))},e.\u0275prov=I({token:e,factory:e.\u0275fac,providedIn:"root"});let t=e;return t})();var vb=(()=>{let e=class e{};e.\u0275fac=function(o){return new(o||e)},e.\u0275prov=I({token:e,factory:function(o){let i=null;return o?i=new(o||e):i=T(yb),i},providedIn:"root"});let t=e;return t})(),yb=(()=>{let e=class e extends vb{constructor(r){super(),this._doc=r}sanitize(r,o){if(o==null)return null;switch(r){case je.NONE:return o;case je.HTML:return lt(o,"HTML")?_e(o):Jc(this._doc,String(o)).toString();case je.STYLE:return lt(o,"Style")?_e(o):o;case je.SCRIPT:if(lt(o,"Script"))return _e(o);throw new w(5200,!1);case je.URL:return lt(o,"URL")?_e(o):Ri(String(o));case je.RESOURCE_URL:if(lt(o,"ResourceURL"))return _e(o);throw new w(5201,!1);default:throw new w(5202,!1)}}bypassSecurityTrustHtml(r){return Oh(r)}bypassSecurityTrustStyle(r){return Ph(r)}bypassSecurityTrustScript(r){return Fh(r)}bypassSecurityTrustUrl(r){return kh(r)}bypassSecurityTrustResourceUrl(r){return Lh(r)}};e.\u0275fac=function(o){return new(o||e)(T(he))},e.\u0275prov=I({token:e,factory:e.\u0275fac,providedIn:"root"});let t=e;return t})();var N="primary",Kr=Symbol("RouteTitle"),Gu=class{constructor(e){this.params=e||{}}has(e){return Object.prototype.hasOwnProperty.call(this.params,e)}get(e){if(this.has(e)){let n=this.params[e];return Array.isArray(n)?n[0]:n}return null}getAll(e){if(this.has(e)){let n=this.params[e];return Array.isArray(n)?n:[n]}return[]}get keys(){return Object.keys(this.params)}};function Yn(t){return new Gu(t)}function wb(t,e,n){let r=n.path.split("/");if(r.length>t.length||n.pathMatch==="full"&&(e.hasChildren()||r.length<t.length))return null;let o={};for(let i=0;i<r.length;i++){let s=r[i],a=t[i];if(s.startsWith(":"))o[s.substring(1)]=a;else if(s!==a.path)return null}return{consumed:t.slice(0,r.length),posParams:o}}function Ib(t,e){if(t.length!==e.length)return!1;for(let n=0;n<t.length;++n)if(!Qe(t[n],e[n]))return!1;return!0}function Qe(t,e){let n=t?Wu(t):void 0,r=e?Wu(e):void 0;if(!n||!r||n.length!=r.length)return!1;let o;for(let i=0;i<n.length;i++)if(o=n[i],!Hg(t[o],e[o]))return!1;return!0}function Wu(t){return[...Object.keys(t),...Object.getOwnPropertySymbols(t)]}function Hg(t,e){if(Array.isArray(t)&&Array.isArray(e)){if(t.length!==e.length)return!1;let n=[...t].sort(),r=[...e].sort();return n.every((o,i)=>r[i]===o)}else return t===e}function zg(t){return t.length>0?t[t.length-1]:null}function Ot(t){return ks(t)?t:xr(t)?q(Promise.resolve(t)):b(t)}var Eb={exact:Gg,subset:Wg},qg={exact:Cb,subset:bb,ignored:()=>!0};function Lg(t,e,n){return Eb[n.paths](t.root,e.root,n.matrixParams)&&qg[n.queryParams](t.queryParams,e.queryParams)&&!(n.fragment==="exact"&&t.fragment!==e.fragment)}function Cb(t,e){return Qe(t,e)}function Gg(t,e,n){if(!rn(t.segments,e.segments)||!cs(t.segments,e.segments,n)||t.numberOfChildren!==e.numberOfChildren)return!1;for(let r in e.children)if(!t.children[r]||!Gg(t.children[r],e.children[r],n))return!1;return!0}function bb(t,e){return Object.keys(e).length<=Object.keys(t).length&&Object.keys(e).every(n=>Hg(t[n],e[n]))}function Wg(t,e,n){return Zg(t,e,e.segments,n)}function Zg(t,e,n,r){if(t.segments.length>n.length){let o=t.segments.slice(0,n.length);return!(!rn(o,n)||e.hasChildren()||!cs(o,n,r))}else if(t.segments.length===n.length){if(!rn(t.segments,n)||!cs(t.segments,n,r))return!1;for(let o in e.children)if(!t.children[o]||!Wg(t.children[o],e.children[o],r))return!1;return!0}else{let o=n.slice(0,t.segments.length),i=n.slice(t.segments.length);return!rn(t.segments,o)||!cs(t.segments,o,r)||!t.children[N]?!1:Zg(t.children[N],e,i,r)}}function cs(t,e,n){return e.every((r,o)=>qg[n](t[o].parameters,r.parameters))}var Nt=class{constructor(e=new L([],{}),n={},r=null){this.root=e,this.queryParams=n,this.fragment=r}get queryParamMap(){return this._queryParamMap??=Yn(this.queryParams),this._queryParamMap}toString(){return Sb.serialize(this)}},L=class{constructor(e,n){this.segments=e,this.children=n,this.parent=null,Object.values(n).forEach(r=>r.parent=this)}hasChildren(){return this.numberOfChildren>0}get numberOfChildren(){return Object.keys(this.children).length}toString(){return us(this)}},nn=class{constructor(e,n){this.path=e,this.parameters=n}get parameterMap(){return this._parameterMap??=Yn(this.parameters),this._parameterMap}toString(){return Qg(this)}};function Mb(t,e){return rn(t,e)&&t.every((n,r)=>Qe(n.parameters,e[r].parameters))}function rn(t,e){return t.length!==e.length?!1:t.every((n,r)=>n.path===e[r].path)}function Tb(t,e){let n=[];return Object.entries(t.children).forEach(([r,o])=>{r===N&&(n=n.concat(e(o,r)))}),Object.entries(t.children).forEach(([r,o])=>{r!==N&&(n=n.concat(e(o,r)))}),n}var Dl=(()=>{let e=class e{};e.\u0275fac=function(o){return new(o||e)},e.\u0275prov=I({token:e,factory:()=>new ds,providedIn:"root"});let t=e;return t})(),ds=class{parse(e){let n=new Yu(e);return new Nt(n.parseRootSegment(),n.parseQueryParams(),n.parseFragment())}serialize(e){let n=`/${Lr(e.root,!0)}`,r=_b(e.queryParams),o=typeof e.fragment=="string"?`#${xb(e.fragment)}`:"";return`${n}${r}${o}`}},Sb=new ds;function us(t){return t.segments.map(e=>Qg(e)).join("/")}function Lr(t,e){if(!t.hasChildren())return us(t);if(e){let n=t.children[N]?Lr(t.children[N],!1):"",r=[];return Object.entries(t.children).forEach(([o,i])=>{o!==N&&r.push(`${o}:${Lr(i,!1)}`)}),r.length>0?`${n}(${r.join("//")})`:n}else{let n=Tb(t,(r,o)=>o===N?[Lr(t.children[N],!1)]:[`${o}:${Lr(r,!1)}`]);return Object.keys(t.children).length===1&&t.children[N]!=null?`${us(t)}/${n[0]}`:`${us(t)}/(${n.join("//")})`}}function Yg(t){return encodeURIComponent(t).replace(/%40/g,"@").replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",")}function ss(t){return Yg(t).replace(/%3B/gi,";")}function xb(t){return encodeURI(t)}function Zu(t){return Yg(t).replace(/\(/g,"%28").replace(/\)/g,"%29").replace(/%26/gi,"&")}function ls(t){return decodeURIComponent(t)}function jg(t){return ls(t.replace(/\+/g,"%20"))}function Qg(t){return`${Zu(t.path)}${Ab(t.parameters)}`}function Ab(t){return Object.entries(t).map(([e,n])=>`;${Zu(e)}=${Zu(n)}`).join("")}function _b(t){let e=Object.entries(t).map(([n,r])=>Array.isArray(r)?r.map(o=>`${ss(n)}=${ss(o)}`).join("&"):`${ss(n)}=${ss(r)}`).filter(n=>n);return e.length?`?${e.join("&")}`:""}var Nb=/^[^\/()?;#]+/;function Bu(t){let e=t.match(Nb);return e?e[0]:""}var Rb=/^[^\/()?;=#]+/;function Ob(t){let e=t.match(Rb);return e?e[0]:""}var Pb=/^[^=?&#]+/;function Fb(t){let e=t.match(Pb);return e?e[0]:""}var kb=/^[^&#]+/;function Lb(t){let e=t.match(kb);return e?e[0]:""}var Yu=class{constructor(e){this.url=e,this.remaining=e}parseRootSegment(){return this.consumeOptional("/"),this.remaining===""||this.peekStartsWith("?")||this.peekStartsWith("#")?new L([],{}):new L([],this.parseChildren())}parseQueryParams(){let e={};if(this.consumeOptional("?"))do this.parseQueryParam(e);while(this.consumeOptional("&"));return e}parseFragment(){return this.consumeOptional("#")?decodeURIComponent(this.remaining):null}parseChildren(){if(this.remaining==="")return{};this.consumeOptional("/");let e=[];for(this.peekStartsWith("(")||e.push(this.parseSegment());this.peekStartsWith("/")&&!this.peekStartsWith("//")&&!this.peekStartsWith("/(");)this.capture("/"),e.push(this.parseSegment());let n={};this.peekStartsWith("/(")&&(this.capture("/"),n=this.parseParens(!0));let r={};return this.peekStartsWith("(")&&(r=this.parseParens(!1)),(e.length>0||Object.keys(n).length>0)&&(r[N]=new L(e,n)),r}parseSegment(){let e=Bu(this.remaining);if(e===""&&this.peekStartsWith(";"))throw new w(4009,!1);return this.capture(e),new nn(ls(e),this.parseMatrixParams())}parseMatrixParams(){let e={};for(;this.consumeOptional(";");)this.parseParam(e);return e}parseParam(e){let n=Ob(this.remaining);if(!n)return;this.capture(n);let r="";if(this.consumeOptional("=")){let o=Bu(this.remaining);o&&(r=o,this.capture(r))}e[ls(n)]=ls(r)}parseQueryParam(e){let n=Fb(this.remaining);if(!n)return;this.capture(n);let r="";if(this.consumeOptional("=")){let s=Lb(this.remaining);s&&(r=s,this.capture(r))}let o=jg(n),i=jg(r);if(e.hasOwnProperty(o)){let s=e[o];Array.isArray(s)||(s=[s],e[o]=s),s.push(i)}else e[o]=i}parseParens(e){let n={};for(this.capture("(");!this.consumeOptional(")")&&this.remaining.length>0;){let r=Bu(this.remaining),o=this.remaining[r.length];if(o!=="/"&&o!==")"&&o!==";")throw new w(4010,!1);let i;r.indexOf(":")>-1?(i=r.slice(0,r.indexOf(":")),this.capture(i),this.capture(":")):e&&(i=N);let s=this.parseChildren();n[i]=Object.keys(s).length===1?s[N]:new L([],s),this.consumeOptional("//")}return n}peekStartsWith(e){return this.remaining.startsWith(e)}consumeOptional(e){return this.peekStartsWith(e)?(this.remaining=this.remaining.substring(e.length),!0):!1}capture(e){if(!this.consumeOptional(e))throw new w(4011,!1)}};function Kg(t){return t.segments.length>0?new L([],{[N]:t}):t}function Jg(t){let e={};for(let[r,o]of Object.entries(t.children)){let i=Jg(o);if(r===N&&i.segments.length===0&&i.hasChildren())for(let[s,a]of Object.entries(i.children))e[s]=a;else(i.segments.length>0||i.hasChildren())&&(e[r]=i)}let n=new L(t.segments,e);return jb(n)}function jb(t){if(t.numberOfChildren===1&&t.children[N]){let e=t.children[N];return new L(t.segments.concat(e.segments),e.children)}return t}function Qn(t){return t instanceof Nt}function Vb(t,e,n=null,r=null){let o=Xg(t);return em(o,e,n,r)}function Xg(t){let e;function n(i){let s={};for(let c of i.children){let u=n(c);s[c.outlet]=u}let a=new L(i.url,s);return i===t&&(e=a),a}let r=n(t.root),o=Kg(r);return e??o}function em(t,e,n,r){let o=t;for(;o.parent;)o=o.parent;if(e.length===0)return Hu(o,o,o,n,r);let i=$b(e);if(i.toRoot())return Hu(o,o,new L([],{}),n,r);let s=Ub(i,o,t),a=s.processChildren?$r(s.segmentGroup,s.index,i.commands):nm(s.segmentGroup,s.index,i.commands);return Hu(o,s.segmentGroup,a,n,r)}function fs(t){return typeof t=="object"&&t!=null&&!t.outlets&&!t.segmentPath}function Hr(t){return typeof t=="object"&&t!=null&&t.outlets}function Hu(t,e,n,r,o){let i={};r&&Object.entries(r).forEach(([c,u])=>{i[c]=Array.isArray(u)?u.map(l=>`${l}`):`${u}`});let s;t===e?s=n:s=tm(t,e,n);let a=Kg(Jg(s));return new Nt(a,i,o)}function tm(t,e,n){let r={};return Object.entries(t.children).forEach(([o,i])=>{i===e?r[o]=n:r[o]=tm(i,e,n)}),new L(t.segments,r)}var hs=class{constructor(e,n,r){if(this.isAbsolute=e,this.numberOfDoubleDots=n,this.commands=r,e&&r.length>0&&fs(r[0]))throw new w(4003,!1);let o=r.find(Hr);if(o&&o!==zg(r))throw new w(4004,!1)}toRoot(){return this.isAbsolute&&this.commands.length===1&&this.commands[0]=="/"}};function $b(t){if(typeof t[0]=="string"&&t.length===1&&t[0]==="/")return new hs(!0,0,t);let e=0,n=!1,r=t.reduce((o,i,s)=>{if(typeof i=="object"&&i!=null){if(i.outlets){let a={};return Object.entries(i.outlets).forEach(([c,u])=>{a[c]=typeof u=="string"?u.split("/"):u}),[...o,{outlets:a}]}if(i.segmentPath)return[...o,i.segmentPath]}return typeof i!="string"?[...o,i]:s===0?(i.split("/").forEach((a,c)=>{c==0&&a==="."||(c==0&&a===""?n=!0:a===".."?e++:a!=""&&o.push(a))}),o):[...o,i]},[]);return new hs(n,e,r)}var Wn=class{constructor(e,n,r){this.segmentGroup=e,this.processChildren=n,this.index=r}};function Ub(t,e,n){if(t.isAbsolute)return new Wn(e,!0,0);if(!n)return new Wn(e,!1,NaN);if(n.parent===null)return new Wn(n,!0,0);let r=fs(t.commands[0])?0:1,o=n.segments.length-1+r;return Bb(n,o,t.numberOfDoubleDots)}function Bb(t,e,n){let r=t,o=e,i=n;for(;i>o;){if(i-=o,r=r.parent,!r)throw new w(4005,!1);o=r.segments.length}return new Wn(r,!1,o-i)}function Hb(t){return Hr(t[0])?t[0].outlets:{[N]:t}}function nm(t,e,n){if(t??=new L([],{}),t.segments.length===0&&t.hasChildren())return $r(t,e,n);let r=zb(t,e,n),o=n.slice(r.commandIndex);if(r.match&&r.pathIndex<t.segments.length){let i=new L(t.segments.slice(0,r.pathIndex),{});return i.children[N]=new L(t.segments.slice(r.pathIndex),t.children),$r(i,0,o)}else return r.match&&o.length===0?new L(t.segments,{}):r.match&&!t.hasChildren()?Qu(t,e,n):r.match?$r(t,0,o):Qu(t,e,n)}function $r(t,e,n){if(n.length===0)return new L(t.segments,{});{let r=Hb(n),o={};if(Object.keys(r).some(i=>i!==N)&&t.children[N]&&t.numberOfChildren===1&&t.children[N].segments.length===0){let i=$r(t.children[N],e,n);return new L(t.segments,i.children)}return Object.entries(r).forEach(([i,s])=>{typeof s=="string"&&(s=[s]),s!==null&&(o[i]=nm(t.children[i],e,s))}),Object.entries(t.children).forEach(([i,s])=>{r[i]===void 0&&(o[i]=s)}),new L(t.segments,o)}}function zb(t,e,n){let r=0,o=e,i={match:!1,pathIndex:0,commandIndex:0};for(;o<t.segments.length;){if(r>=n.length)return i;let s=t.segments[o],a=n[r];if(Hr(a))break;let c=`${a}`,u=r<n.length-1?n[r+1]:null;if(o>0&&c===void 0)break;if(c&&u&&typeof u=="object"&&u.outlets===void 0){if(!$g(c,u,s))return i;r+=2}else{if(!$g(c,{},s))return i;r++}o++}return{match:!0,pathIndex:o,commandIndex:r}}function Qu(t,e,n){let r=t.segments.slice(0,e),o=0;for(;o<n.length;){let i=n[o];if(Hr(i)){let c=qb(i.outlets);return new L(r,c)}if(o===0&&fs(n[0])){let c=t.segments[e];r.push(new nn(c.path,Vg(n[0]))),o++;continue}let s=Hr(i)?i.outlets[N]:`${i}`,a=o<n.length-1?n[o+1]:null;s&&a&&fs(a)?(r.push(new nn(s,Vg(a))),o+=2):(r.push(new nn(s,{})),o++)}return new L(r,{})}function qb(t){let e={};return Object.entries(t).forEach(([n,r])=>{typeof r=="string"&&(r=[r]),r!==null&&(e[n]=Qu(new L([],{}),0,r))}),e}function Vg(t){let e={};return Object.entries(t).forEach(([n,r])=>e[n]=`${r}`),e}function $g(t,e,n){return t==n.path&&Qe(e,n.parameters)}var Ur="imperative",oe=function(t){return t[t.NavigationStart=0]="NavigationStart",t[t.NavigationEnd=1]="NavigationEnd",t[t.NavigationCancel=2]="NavigationCancel",t[t.NavigationError=3]="NavigationError",t[t.RoutesRecognized=4]="RoutesRecognized",t[t.ResolveStart=5]="ResolveStart",t[t.ResolveEnd=6]="ResolveEnd",t[t.GuardsCheckStart=7]="GuardsCheckStart",t[t.GuardsCheckEnd=8]="GuardsCheckEnd",t[t.RouteConfigLoadStart=9]="RouteConfigLoadStart",t[t.RouteConfigLoadEnd=10]="RouteConfigLoadEnd",t[t.ChildActivationStart=11]="ChildActivationStart",t[t.ChildActivationEnd=12]="ChildActivationEnd",t[t.ActivationStart=13]="ActivationStart",t[t.ActivationEnd=14]="ActivationEnd",t[t.Scroll=15]="Scroll",t[t.NavigationSkipped=16]="NavigationSkipped",t}(oe||{}),Ne=class{constructor(e,n){this.id=e,this.url=n}},zr=class extends Ne{constructor(e,n,r="imperative",o=null){super(e,n),this.type=oe.NavigationStart,this.navigationTrigger=r,this.restoredState=o}toString(){return`NavigationStart(id: ${this.id}, url: '${this.url}')`}},gt=class extends Ne{constructor(e,n,r){super(e,n),this.urlAfterRedirects=r,this.type=oe.NavigationEnd}toString(){return`NavigationEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}')`}},Te=function(t){return t[t.Redirect=0]="Redirect",t[t.SupersededByNewNavigation=1]="SupersededByNewNavigation",t[t.NoDataFromResolver=2]="NoDataFromResolver",t[t.GuardRejected=3]="GuardRejected",t}(Te||{}),Ku=function(t){return t[t.IgnoredSameUrlNavigation=0]="IgnoredSameUrlNavigation",t[t.IgnoredByUrlHandlingStrategy=1]="IgnoredByUrlHandlingStrategy",t}(Ku||{}),Rt=class extends Ne{constructor(e,n,r,o){super(e,n),this.reason=r,this.code=o,this.type=oe.NavigationCancel}toString(){return`NavigationCancel(id: ${this.id}, url: '${this.url}')`}},on=class extends Ne{constructor(e,n,r,o){super(e,n),this.reason=r,this.code=o,this.type=oe.NavigationSkipped}},qr=class extends Ne{constructor(e,n,r,o){super(e,n),this.error=r,this.target=o,this.type=oe.NavigationError}toString(){return`NavigationError(id: ${this.id}, url: '${this.url}', error: ${this.error})`}},ps=class extends Ne{constructor(e,n,r,o){super(e,n),this.urlAfterRedirects=r,this.state=o,this.type=oe.RoutesRecognized}toString(){return`RoutesRecognized(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}},Ju=class extends Ne{constructor(e,n,r,o){super(e,n),this.urlAfterRedirects=r,this.state=o,this.type=oe.GuardsCheckStart}toString(){return`GuardsCheckStart(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}},Xu=class extends Ne{constructor(e,n,r,o,i){super(e,n),this.urlAfterRedirects=r,this.state=o,this.shouldActivate=i,this.type=oe.GuardsCheckEnd}toString(){return`GuardsCheckEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state}, shouldActivate: ${this.shouldActivate})`}},el=class extends Ne{constructor(e,n,r,o){super(e,n),this.urlAfterRedirects=r,this.state=o,this.type=oe.ResolveStart}toString(){return`ResolveStart(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}},tl=class extends Ne{constructor(e,n,r,o){super(e,n),this.urlAfterRedirects=r,this.state=o,this.type=oe.ResolveEnd}toString(){return`ResolveEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}},nl=class{constructor(e){this.route=e,this.type=oe.RouteConfigLoadStart}toString(){return`RouteConfigLoadStart(path: ${this.route.path})`}},rl=class{constructor(e){this.route=e,this.type=oe.RouteConfigLoadEnd}toString(){return`RouteConfigLoadEnd(path: ${this.route.path})`}},ol=class{constructor(e){this.snapshot=e,this.type=oe.ChildActivationStart}toString(){return`ChildActivationStart(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}},il=class{constructor(e){this.snapshot=e,this.type=oe.ChildActivationEnd}toString(){return`ChildActivationEnd(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}},sl=class{constructor(e){this.snapshot=e,this.type=oe.ActivationStart}toString(){return`ActivationStart(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}},al=class{constructor(e){this.snapshot=e,this.type=oe.ActivationEnd}toString(){return`ActivationEnd(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}};var Gr=class{},Wr=class{constructor(e){this.url=e}};var cl=class{constructor(){this.outlet=null,this.route=null,this.injector=null,this.children=new ws,this.attachRef=null}},ws=(()=>{let e=class e{constructor(){this.contexts=new Map}onChildOutletCreated(r,o){let i=this.getOrCreateContext(r);i.outlet=o,this.contexts.set(r,i)}onChildOutletDestroyed(r){let o=this.getContext(r);o&&(o.outlet=null,o.attachRef=null)}onOutletDeactivated(){let r=this.contexts;return this.contexts=new Map,r}onOutletReAttached(r){this.contexts=r}getOrCreateContext(r){let o=this.getContext(r);return o||(o=new cl,this.contexts.set(r,o)),o}getContext(r){return this.contexts.get(r)||null}};e.\u0275fac=function(o){return new(o||e)},e.\u0275prov=I({token:e,factory:e.\u0275fac,providedIn:"root"});let t=e;return t})(),gs=class{constructor(e){this._root=e}get root(){return this._root.value}parent(e){let n=this.pathFromRoot(e);return n.length>1?n[n.length-2]:null}children(e){let n=ul(e,this._root);return n?n.children.map(r=>r.value):[]}firstChild(e){let n=ul(e,this._root);return n&&n.children.length>0?n.children[0].value:null}siblings(e){let n=ll(e,this._root);return n.length<2?[]:n[n.length-2].children.map(o=>o.value).filter(o=>o!==e)}pathFromRoot(e){return ll(e,this._root).map(n=>n.value)}};function ul(t,e){if(t===e.value)return e;for(let n of e.children){let r=ul(t,n);if(r)return r}return null}function ll(t,e){if(t===e.value)return[e];for(let n of e.children){let r=ll(t,n);if(r.length)return r.unshift(e),r}return[]}var Me=class{constructor(e,n){this.value=e,this.children=n}toString(){return`TreeNode(${this.value})`}};function Gn(t){let e={};return t&&t.children.forEach(n=>e[n.value.outlet]=n),e}var ms=class extends gs{constructor(e,n){super(e),this.snapshot=n,Il(this,e)}toString(){return this.snapshot.toString()}};function rm(t){let e=Gb(t),n=new ne([new nn("",{})]),r=new ne({}),o=new ne({}),i=new ne({}),s=new ne(""),a=new sn(n,r,i,s,o,N,t,e.root);return a.snapshot=e.root,new ms(new Me(a,[]),e)}function Gb(t){let e={},n={},r={},o="",i=new Zr([],e,r,o,n,N,t,null,{});return new vs("",new Me(i,[]))}var sn=class{constructor(e,n,r,o,i,s,a,c){this.urlSubject=e,this.paramsSubject=n,this.queryParamsSubject=r,this.fragmentSubject=o,this.dataSubject=i,this.outlet=s,this.component=a,this._futureSnapshot=c,this.title=this.dataSubject?.pipe(R(u=>u[Kr]))??b(void 0),this.url=e,this.params=n,this.queryParams=r,this.fragment=o,this.data=i}get routeConfig(){return this._futureSnapshot.routeConfig}get root(){return this._routerState.root}get parent(){return this._routerState.parent(this)}get firstChild(){return this._routerState.firstChild(this)}get children(){return this._routerState.children(this)}get pathFromRoot(){return this._routerState.pathFromRoot(this)}get paramMap(){return this._paramMap??=this.params.pipe(R(e=>Yn(e))),this._paramMap}get queryParamMap(){return this._queryParamMap??=this.queryParams.pipe(R(e=>Yn(e))),this._queryParamMap}toString(){return this.snapshot?this.snapshot.toString():`Future(${this._futureSnapshot})`}};function wl(t,e,n="emptyOnly"){let r,{routeConfig:o}=t;return e!==null&&(n==="always"||o?.path===""||!e.component&&!e.routeConfig?.loadComponent)?r={params:D(D({},e.params),t.params),data:D(D({},e.data),t.data),resolve:D(D(D(D({},t.data),e.data),o?.data),t._resolvedData)}:r={params:D({},t.params),data:D({},t.data),resolve:D(D({},t.data),t._resolvedData??{})},o&&im(o)&&(r.resolve[Kr]=o.title),r}var Zr=class{get title(){return this.data?.[Kr]}constructor(e,n,r,o,i,s,a,c,u){this.url=e,this.params=n,this.queryParams=r,this.fragment=o,this.data=i,this.outlet=s,this.component=a,this.routeConfig=c,this._resolve=u}get root(){return this._routerState.root}get parent(){return this._routerState.parent(this)}get firstChild(){return this._routerState.firstChild(this)}get children(){return this._routerState.children(this)}get pathFromRoot(){return this._routerState.pathFromRoot(this)}get paramMap(){return this._paramMap??=Yn(this.params),this._paramMap}get queryParamMap(){return this._queryParamMap??=Yn(this.queryParams),this._queryParamMap}toString(){let e=this.url.map(r=>r.toString()).join("/"),n=this.routeConfig?this.routeConfig.path:"";return`Route(url:'${e}', path:'${n}')`}},vs=class extends gs{constructor(e,n){super(n),this.url=e,Il(this,n)}toString(){return om(this._root)}};function Il(t,e){e.value._routerState=t,e.children.forEach(n=>Il(t,n))}function om(t){let e=t.children.length>0?` { ${t.children.map(om).join(", ")} } `:"";return`${t.value}${e}`}function zu(t){if(t.snapshot){let e=t.snapshot,n=t._futureSnapshot;t.snapshot=n,Qe(e.queryParams,n.queryParams)||t.queryParamsSubject.next(n.queryParams),e.fragment!==n.fragment&&t.fragmentSubject.next(n.fragment),Qe(e.params,n.params)||t.paramsSubject.next(n.params),Ib(e.url,n.url)||t.urlSubject.next(n.url),Qe(e.data,n.data)||t.dataSubject.next(n.data)}else t.snapshot=t._futureSnapshot,t.dataSubject.next(t._futureSnapshot.data)}function dl(t,e){let n=Qe(t.params,e.params)&&Mb(t.url,e.url),r=!t.parent!=!e.parent;return n&&!r&&(!t.parent||dl(t.parent,e.parent))}function im(t){return typeof t.title=="string"||t.title===null}var Wb=(()=>{let e=class e{constructor(){this.activated=null,this._activatedRoute=null,this.name=N,this.activateEvents=new Ie,this.deactivateEvents=new Ie,this.attachEvents=new Ie,this.detachEvents=new Ie,this.parentContexts=g(ws),this.location=g(At),this.changeDetector=g(Xt),this.environmentInjector=g(fe),this.inputBinder=g(El,{optional:!0}),this.supportsBindingToComponentInputs=!0}get activatedComponentRef(){return this.activated}ngOnChanges(r){if(r.name){let{firstChange:o,previousValue:i}=r.name;if(o)return;this.isTrackedInParentContexts(i)&&(this.deactivate(),this.parentContexts.onChildOutletDestroyed(i)),this.initializeOutletWithName()}}ngOnDestroy(){this.isTrackedInParentContexts(this.name)&&this.parentContexts.onChildOutletDestroyed(this.name),this.inputBinder?.unsubscribeFromRouteData(this)}isTrackedInParentContexts(r){return this.parentContexts.getContext(r)?.outlet===this}ngOnInit(){this.initializeOutletWithName()}initializeOutletWithName(){if(this.parentContexts.onChildOutletCreated(this.name,this),this.activated)return;let r=this.parentContexts.getContext(this.name);r?.route&&(r.attachRef?this.attach(r.attachRef,r.route):this.activateWith(r.route,r.injector))}get isActivated(){return!!this.activated}get component(){if(!this.activated)throw new w(4012,!1);return this.activated.instance}get activatedRoute(){if(!this.activated)throw new w(4012,!1);return this._activatedRoute}get activatedRouteData(){return this._activatedRoute?this._activatedRoute.snapshot.data:{}}detach(){if(!this.activated)throw new w(4012,!1);this.location.detach();let r=this.activated;return this.activated=null,this._activatedRoute=null,this.detachEvents.emit(r.instance),r}attach(r,o){this.activated=r,this._activatedRoute=o,this.location.insert(r.hostView),this.inputBinder?.bindActivatedRouteToOutletComponent(this),this.attachEvents.emit(r.instance)}deactivate(){if(this.activated){let r=this.component;this.activated.destroy(),this.activated=null,this._activatedRoute=null,this.deactivateEvents.emit(r)}}activateWith(r,o){if(this.isActivated)throw new w(4013,!1);this._activatedRoute=r;let i=this.location,a=r.snapshot.component,c=this.parentContexts.getOrCreateContext(this.name).children,u=new fl(r,c,i.injector);this.activated=i.createComponent(a,{index:i.length,injector:u,environmentInjector:o??this.environmentInjector}),this.changeDetector.markForCheck(),this.inputBinder?.bindActivatedRouteToOutletComponent(this),this.activateEvents.emit(this.activated.instance)}};e.\u0275fac=function(o){return new(o||e)},e.\u0275dir=st({type:e,selectors:[["router-outlet"]],inputs:{name:"name"},outputs:{activateEvents:"activate",deactivateEvents:"deactivate",attachEvents:"attach",detachEvents:"detach"},exportAs:["outlet"],standalone:!0,features:[jn]});let t=e;return t})(),fl=class t{__ngOutletInjector(e){return new t(this.route,this.childContexts,e)}constructor(e,n,r){this.route=e,this.childContexts=n,this.parent=r}get(e,n){return e===sn?this.route:e===ws?this.childContexts:this.parent.get(e,n)}},El=new M("");function Zb(t,e,n){let r=Yr(t,e._root,n?n._root:void 0);return new ms(r,e)}function Yr(t,e,n){if(n&&t.shouldReuseRoute(e.value,n.value.snapshot)){let r=n.value;r._futureSnapshot=e.value;let o=Yb(t,e,n);return new Me(r,o)}else{if(t.shouldAttach(e.value)){let i=t.retrieve(e.value);if(i!==null){let s=i.route;return s.value._futureSnapshot=e.value,s.children=e.children.map(a=>Yr(t,a)),s}}let r=Qb(e.value),o=e.children.map(i=>Yr(t,i));return new Me(r,o)}}function Yb(t,e,n){return e.children.map(r=>{for(let o of n.children)if(t.shouldReuseRoute(r.value,o.value.snapshot))return Yr(t,r,o);return Yr(t,r)})}function Qb(t){return new sn(new ne(t.url),new ne(t.params),new ne(t.queryParams),new ne(t.fragment),new ne(t.data),t.outlet,t.component,t)}var sm="ngNavigationCancelingError";function am(t,e){let{redirectTo:n,navigationBehaviorOptions:r}=Qn(e)?{redirectTo:e,navigationBehaviorOptions:void 0}:e,o=cm(!1,Te.Redirect);return o.url=n,o.navigationBehaviorOptions=r,o}function cm(t,e){let n=new Error(`NavigationCancelingError: ${t||""}`);return n[sm]=!0,n.cancellationCode=e,n}function Kb(t){return um(t)&&Qn(t.url)}function um(t){return!!t&&t[sm]}var Jb=(()=>{let e=class e{};e.\u0275fac=function(o){return new(o||e)},e.\u0275cmp=Of({type:e,selectors:[["ng-component"]],standalone:!0,features:[Xp],decls:1,vars:0,template:function(o,i){o&1&&yu(0,"router-outlet")},dependencies:[Wb],encapsulation:2});let t=e;return t})();function Xb(t,e){return t.providers&&!t._injector&&(t._injector=Bi(t.providers,e,`Route: ${t.path}`)),t._injector??e}function Cl(t){let e=t.children&&t.children.map(Cl),n=e?U(D({},t),{children:e}):D({},t);return!n.component&&!n.loadComponent&&(e||n.loadChildren)&&n.outlet&&n.outlet!==N&&(n.component=Jb),n}function Ke(t){return t.outlet||N}function e0(t,e){let n=t.filter(r=>Ke(r)===e);return n.push(...t.filter(r=>Ke(r)!==e)),n}function Jr(t){if(!t)return null;if(t.routeConfig?._injector)return t.routeConfig._injector;for(let e=t.parent;e;e=e.parent){let n=e.routeConfig;if(n?._loadedInjector)return n._loadedInjector;if(n?._injector)return n._injector}return null}var t0=(t,e,n,r)=>R(o=>(new hl(e,o.targetRouterState,o.currentRouterState,n,r).activate(t),o)),hl=class{constructor(e,n,r,o,i){this.routeReuseStrategy=e,this.futureState=n,this.currState=r,this.forwardEvent=o,this.inputBindingEnabled=i}activate(e){let n=this.futureState._root,r=this.currState?this.currState._root:null;this.deactivateChildRoutes(n,r,e),zu(this.futureState.root),this.activateChildRoutes(n,r,e)}deactivateChildRoutes(e,n,r){let o=Gn(n);e.children.forEach(i=>{let s=i.value.outlet;this.deactivateRoutes(i,o[s],r),delete o[s]}),Object.values(o).forEach(i=>{this.deactivateRouteAndItsChildren(i,r)})}deactivateRoutes(e,n,r){let o=e.value,i=n?n.value:null;if(o===i)if(o.component){let s=r.getContext(o.outlet);s&&this.deactivateChildRoutes(e,n,s.children)}else this.deactivateChildRoutes(e,n,r);else i&&this.deactivateRouteAndItsChildren(n,r)}deactivateRouteAndItsChildren(e,n){e.value.component&&this.routeReuseStrategy.shouldDetach(e.value.snapshot)?this.detachAndStoreRouteSubtree(e,n):this.deactivateRouteAndOutlet(e,n)}detachAndStoreRouteSubtree(e,n){let r=n.getContext(e.value.outlet),o=r&&e.value.component?r.children:n,i=Gn(e);for(let s of Object.values(i))this.deactivateRouteAndItsChildren(s,o);if(r&&r.outlet){let s=r.outlet.detach(),a=r.children.onOutletDeactivated();this.routeReuseStrategy.store(e.value.snapshot,{componentRef:s,route:e,contexts:a})}}deactivateRouteAndOutlet(e,n){let r=n.getContext(e.value.outlet),o=r&&e.value.component?r.children:n,i=Gn(e);for(let s of Object.values(i))this.deactivateRouteAndItsChildren(s,o);r&&(r.outlet&&(r.outlet.deactivate(),r.children.onOutletDeactivated()),r.attachRef=null,r.route=null)}activateChildRoutes(e,n,r){let o=Gn(n);e.children.forEach(i=>{this.activateRoutes(i,o[i.value.outlet],r),this.forwardEvent(new al(i.value.snapshot))}),e.children.length&&this.forwardEvent(new il(e.value.snapshot))}activateRoutes(e,n,r){let o=e.value,i=n?n.value:null;if(zu(o),o===i)if(o.component){let s=r.getOrCreateContext(o.outlet);this.activateChildRoutes(e,n,s.children)}else this.activateChildRoutes(e,n,r);else if(o.component){let s=r.getOrCreateContext(o.outlet);if(this.routeReuseStrategy.shouldAttach(o.snapshot)){let a=this.routeReuseStrategy.retrieve(o.snapshot);this.routeReuseStrategy.store(o.snapshot,null),s.children.onOutletReAttached(a.contexts),s.attachRef=a.componentRef,s.route=a.route.value,s.outlet&&s.outlet.attach(a.componentRef,a.route.value),zu(a.route.value),this.activateChildRoutes(e,null,s.children)}else{let a=Jr(o.snapshot);s.attachRef=null,s.route=o,s.injector=a,s.outlet&&s.outlet.activateWith(o,s.injector),this.activateChildRoutes(e,null,s.children)}}else this.activateChildRoutes(e,null,r)}},ys=class{constructor(e){this.path=e,this.route=this.path[this.path.length-1]}},Zn=class{constructor(e,n){this.component=e,this.route=n}};function n0(t,e,n){let r=t._root,o=e?e._root:null;return jr(r,o,n,[r.value])}function r0(t){let e=t.routeConfig?t.routeConfig.canActivateChild:null;return!e||e.length===0?null:{node:t,guards:e}}function Jn(t,e){let n=Symbol(),r=e.get(t,n);return r===n?typeof t=="function"&&!yf(t)?t:e.get(t):r}function jr(t,e,n,r,o={canDeactivateChecks:[],canActivateChecks:[]}){let i=Gn(e);return t.children.forEach(s=>{o0(s,i[s.value.outlet],n,r.concat([s.value]),o),delete i[s.value.outlet]}),Object.entries(i).forEach(([s,a])=>Br(a,n.getContext(s),o)),o}function o0(t,e,n,r,o={canDeactivateChecks:[],canActivateChecks:[]}){let i=t.value,s=e?e.value:null,a=n?n.getContext(t.value.outlet):null;if(s&&i.routeConfig===s.routeConfig){let c=i0(s,i,i.routeConfig.runGuardsAndResolvers);c?o.canActivateChecks.push(new ys(r)):(i.data=s.data,i._resolvedData=s._resolvedData),i.component?jr(t,e,a?a.children:null,r,o):jr(t,e,n,r,o),c&&a&&a.outlet&&a.outlet.isActivated&&o.canDeactivateChecks.push(new Zn(a.outlet.component,s))}else s&&Br(e,a,o),o.canActivateChecks.push(new ys(r)),i.component?jr(t,null,a?a.children:null,r,o):jr(t,null,n,r,o);return o}function i0(t,e,n){if(typeof n=="function")return n(t,e);switch(n){case"pathParamsChange":return!rn(t.url,e.url);case"pathParamsOrQueryParamsChange":return!rn(t.url,e.url)||!Qe(t.queryParams,e.queryParams);case"always":return!0;case"paramsOrQueryParamsChange":return!dl(t,e)||!Qe(t.queryParams,e.queryParams);case"paramsChange":default:return!dl(t,e)}}function Br(t,e,n){let r=Gn(t),o=t.value;Object.entries(r).forEach(([i,s])=>{o.component?e?Br(s,e.children.getContext(i),n):Br(s,null,n):Br(s,e,n)}),o.component?e&&e.outlet&&e.outlet.isActivated?n.canDeactivateChecks.push(new Zn(e.outlet.component,o)):n.canDeactivateChecks.push(new Zn(null,o)):n.canDeactivateChecks.push(new Zn(null,o))}function Xr(t){return typeof t=="function"}function s0(t){return typeof t=="boolean"}function a0(t){return t&&Xr(t.canLoad)}function c0(t){return t&&Xr(t.canActivate)}function u0(t){return t&&Xr(t.canActivateChild)}function l0(t){return t&&Xr(t.canDeactivate)}function d0(t){return t&&Xr(t.canMatch)}function lm(t){return t instanceof Xe||t?.name==="EmptyError"}var as=Symbol("INITIAL_VALUE");function Kn(){return ge(t=>So(t.map(e=>e.pipe(et(1),$s(as)))).pipe(R(e=>{for(let n of e)if(n!==!0){if(n===as)return as;if(n===!1||n instanceof Nt)return n}return!0}),ae(e=>e!==as),et(1)))}function f0(t,e){return Z(n=>{let{targetSnapshot:r,currentSnapshot:o,guards:{canActivateChecks:i,canDeactivateChecks:s}}=n;return s.length===0&&i.length===0?b(U(D({},n),{guardsResult:!0})):h0(s,r,o,t).pipe(Z(a=>a&&s0(a)?p0(r,i,t,e):b(a)),R(a=>U(D({},n),{guardsResult:a})))})}function h0(t,e,n,r){return q(t).pipe(Z(o=>D0(o.component,o.route,n,e,r)),$e(o=>o!==!0,!0))}function p0(t,e,n,r){return q(e).pipe(yt(o=>vn(m0(o.route.parent,r),g0(o.route,r),y0(t,o.path,n),v0(t,o.route,n))),$e(o=>o!==!0,!0))}function g0(t,e){return t!==null&&e&&e(new sl(t)),b(!0)}function m0(t,e){return t!==null&&e&&e(new ol(t)),b(!0)}function v0(t,e,n){let r=e.routeConfig?e.routeConfig.canActivate:null;if(!r||r.length===0)return b(!0);let o=r.map(i=>xo(()=>{let s=Jr(e)??n,a=Jn(i,s),c=c0(a)?a.canActivate(e,t):at(s,()=>a(e,t));return Ot(c).pipe($e())}));return b(o).pipe(Kn())}function y0(t,e,n){let r=e[e.length-1],i=e.slice(0,e.length-1).reverse().map(s=>r0(s)).filter(s=>s!==null).map(s=>xo(()=>{let a=s.guards.map(c=>{let u=Jr(s.node)??n,l=Jn(c,u),d=u0(l)?l.canActivateChild(r,t):at(u,()=>l(r,t));return Ot(d).pipe($e())});return b(a).pipe(Kn())}));return b(i).pipe(Kn())}function D0(t,e,n,r,o){let i=e&&e.routeConfig?e.routeConfig.canDeactivate:null;if(!i||i.length===0)return b(!0);let s=i.map(a=>{let c=Jr(e)??o,u=Jn(a,c),l=l0(u)?u.canDeactivate(t,e,n,r):at(c,()=>u(t,e,n,r));return Ot(l).pipe($e())});return b(s).pipe(Kn())}function w0(t,e,n,r){let o=e.canLoad;if(o===void 0||o.length===0)return b(!0);let i=o.map(s=>{let a=Jn(s,t),c=a0(a)?a.canLoad(e,n):at(t,()=>a(e,n));return Ot(c)});return b(i).pipe(Kn(),dm(r))}function dm(t){return _s(K(e=>{if(Qn(e))throw am(t,e)}),R(e=>e===!0))}function I0(t,e,n,r){let o=e.canMatch;if(!o||o.length===0)return b(!0);let i=o.map(s=>{let a=Jn(s,t),c=d0(a)?a.canMatch(e,n):at(t,()=>a(e,n));return Ot(c)});return b(i).pipe(Kn(),dm(r))}var Qr=class{constructor(e){this.segmentGroup=e||null}},Ds=class extends Error{constructor(e){super(),this.urlTree=e}};function qn(t){return fn(new Qr(t))}function E0(t){return fn(new w(4e3,!1))}function C0(t){return fn(cm(!1,Te.GuardRejected))}var pl=class{constructor(e,n){this.urlSerializer=e,this.urlTree=n}lineralizeSegments(e,n){let r=[],o=n.root;for(;;){if(r=r.concat(o.segments),o.numberOfChildren===0)return b(r);if(o.numberOfChildren>1||!o.children[N])return E0(e.redirectTo);o=o.children[N]}}applyRedirectCommands(e,n,r){let o=this.applyRedirectCreateUrlTree(n,this.urlSerializer.parse(n),e,r);if(n.startsWith("/"))throw new Ds(o);return o}applyRedirectCreateUrlTree(e,n,r,o){let i=this.createSegmentGroup(e,n.root,r,o);return new Nt(i,this.createQueryParams(n.queryParams,this.urlTree.queryParams),n.fragment)}createQueryParams(e,n){let r={};return Object.entries(e).forEach(([o,i])=>{if(typeof i=="string"&&i.startsWith(":")){let a=i.substring(1);r[o]=n[a]}else r[o]=i}),r}createSegmentGroup(e,n,r,o){let i=this.createSegments(e,n.segments,r,o),s={};return Object.entries(n.children).forEach(([a,c])=>{s[a]=this.createSegmentGroup(e,c,r,o)}),new L(i,s)}createSegments(e,n,r,o){return n.map(i=>i.path.startsWith(":")?this.findPosParam(e,i,o):this.findOrReturn(i,r))}findPosParam(e,n,r){let o=r[n.path.substring(1)];if(!o)throw new w(4001,!1);return o}findOrReturn(e,n){let r=0;for(let o of n){if(o.path===e.path)return n.splice(r),o;r++}return e}},gl={matched:!1,consumedSegments:[],remainingSegments:[],parameters:{},positionalParamSegments:{}};function b0(t,e,n,r,o){let i=bl(t,e,n);return i.matched?(r=Xb(e,r),I0(r,e,n,o).pipe(R(s=>s===!0?i:D({},gl)))):b(i)}function bl(t,e,n){if(e.path==="**")return M0(n);if(e.path==="")return e.pathMatch==="full"&&(t.hasChildren()||n.length>0)?D({},gl):{matched:!0,consumedSegments:[],remainingSegments:n,parameters:{},positionalParamSegments:{}};let o=(e.matcher||wb)(n,t,e);if(!o)return D({},gl);let i={};Object.entries(o.posParams??{}).forEach(([a,c])=>{i[a]=c.path});let s=o.consumed.length>0?D(D({},i),o.consumed[o.consumed.length-1].parameters):i;return{matched:!0,consumedSegments:o.consumed,remainingSegments:n.slice(o.consumed.length),parameters:s,positionalParamSegments:o.posParams??{}}}function M0(t){return{matched:!0,parameters:t.length>0?zg(t).parameters:{},consumedSegments:t,remainingSegments:[],positionalParamSegments:{}}}function Ug(t,e,n,r){return n.length>0&&x0(t,n,r)?{segmentGroup:new L(e,S0(r,new L(n,t.children))),slicedSegments:[]}:n.length===0&&A0(t,n,r)?{segmentGroup:new L(t.segments,T0(t,n,r,t.children)),slicedSegments:n}:{segmentGroup:new L(t.segments,t.children),slicedSegments:n}}function T0(t,e,n,r){let o={};for(let i of n)if(Is(t,e,i)&&!r[Ke(i)]){let s=new L([],{});o[Ke(i)]=s}return D(D({},r),o)}function S0(t,e){let n={};n[N]=e;for(let r of t)if(r.path===""&&Ke(r)!==N){let o=new L([],{});n[Ke(r)]=o}return n}function x0(t,e,n){return n.some(r=>Is(t,e,r)&&Ke(r)!==N)}function A0(t,e,n){return n.some(r=>Is(t,e,r))}function Is(t,e,n){return(t.hasChildren()||e.length>0)&&n.pathMatch==="full"?!1:n.path===""}function _0(t,e,n,r){return Ke(t)!==r&&(r===N||!Is(e,n,t))?!1:bl(e,t,n).matched}function N0(t,e,n){return e.length===0&&!t.children[n]}var ml=class{};function R0(t,e,n,r,o,i,s="emptyOnly"){return new vl(t,e,n,r,o,s,i).recognize()}var O0=31,vl=class{constructor(e,n,r,o,i,s,a){this.injector=e,this.configLoader=n,this.rootComponentType=r,this.config=o,this.urlTree=i,this.paramsInheritanceStrategy=s,this.urlSerializer=a,this.applyRedirects=new pl(this.urlSerializer,this.urlTree),this.absoluteRedirectCount=0,this.allowRedirects=!0}noMatchError(e){return new w(4002,`'${e.segmentGroup}'`)}recognize(){let e=Ug(this.urlTree.root,[],[],this.config).segmentGroup;return this.match(e).pipe(R(n=>{let r=new Zr([],Object.freeze({}),Object.freeze(D({},this.urlTree.queryParams)),this.urlTree.fragment,{},N,this.rootComponentType,null,{}),o=new Me(r,n),i=new vs("",o),s=Vb(r,[],this.urlTree.queryParams,this.urlTree.fragment);return s.queryParams=this.urlTree.queryParams,i.url=this.urlSerializer.serialize(s),this.inheritParamsAndData(i._root,null),{state:i,tree:s}}))}match(e){return this.processSegmentGroup(this.injector,this.config,e,N).pipe(Je(r=>{if(r instanceof Ds)return this.urlTree=r.urlTree,this.match(r.urlTree.root);throw r instanceof Qr?this.noMatchError(r):r}))}inheritParamsAndData(e,n){let r=e.value,o=wl(r,n,this.paramsInheritanceStrategy);r.params=Object.freeze(o.params),r.data=Object.freeze(o.data),e.children.forEach(i=>this.inheritParamsAndData(i,r))}processSegmentGroup(e,n,r,o){return r.segments.length===0&&r.hasChildren()?this.processChildren(e,n,r):this.processSegment(e,n,r,r.segments,o,!0).pipe(R(i=>i instanceof Me?[i]:[]))}processChildren(e,n,r){let o=[];for(let i of Object.keys(r.children))i==="primary"?o.unshift(i):o.push(i);return q(o).pipe(yt(i=>{let s=r.children[i],a=e0(n,i);return this.processSegmentGroup(e,a,s,i)}),Vs((i,s)=>(i.push(...s),i)),Dt(null),js(),Z(i=>{if(i===null)return qn(r);let s=fm(i);return P0(s),b(s)}))}processSegment(e,n,r,o,i,s){return q(n).pipe(yt(a=>this.processSegmentAgainstRoute(a._injector??e,n,a,r,o,i,s).pipe(Je(c=>{if(c instanceof Qr)return b(null);throw c}))),$e(a=>!!a),Je(a=>{if(lm(a))return N0(r,o,i)?b(new ml):qn(r);throw a}))}processSegmentAgainstRoute(e,n,r,o,i,s,a){return _0(r,o,i,s)?r.redirectTo===void 0?this.matchSegmentAgainstRoute(e,o,r,i,s):this.allowRedirects&&a?this.expandSegmentAgainstRouteUsingRedirect(e,o,n,r,i,s):qn(o):qn(o)}expandSegmentAgainstRouteUsingRedirect(e,n,r,o,i,s){let{matched:a,consumedSegments:c,positionalParamSegments:u,remainingSegments:l}=bl(n,o,i);if(!a)return qn(n);o.redirectTo.startsWith("/")&&(this.absoluteRedirectCount++,this.absoluteRedirectCount>O0&&(this.allowRedirects=!1));let d=this.applyRedirects.applyRedirectCommands(c,o.redirectTo,u);return this.applyRedirects.lineralizeSegments(o,d).pipe(Z(f=>this.processSegment(e,r,n,f.concat(l),s,!1)))}matchSegmentAgainstRoute(e,n,r,o,i){let s=b0(n,r,o,e,this.urlSerializer);return r.path==="**"&&(n.children={}),s.pipe(ge(a=>a.matched?(e=r._injector??e,this.getChildConfig(e,r,o).pipe(ge(({routes:c})=>{let u=r._loadedInjector??e,{consumedSegments:l,remainingSegments:d,parameters:f}=a,h=new Zr(l,f,Object.freeze(D({},this.urlTree.queryParams)),this.urlTree.fragment,k0(r),Ke(r),r.component??r._loadedComponent??null,r,L0(r)),{segmentGroup:p,slicedSegments:m}=Ug(n,l,d,c);if(m.length===0&&p.hasChildren())return this.processChildren(u,c,p).pipe(R(v=>v===null?null:new Me(h,v)));if(c.length===0&&m.length===0)return b(new Me(h,[]));let y=Ke(r)===i;return this.processSegment(u,c,p,m,y?N:i,!0).pipe(R(v=>new Me(h,v instanceof Me?[v]:[])))}))):qn(n)))}getChildConfig(e,n,r){return n.children?b({routes:n.children,injector:e}):n.loadChildren?n._loadedRoutes!==void 0?b({routes:n._loadedRoutes,injector:n._loadedInjector}):w0(e,n,r,this.urlSerializer).pipe(Z(o=>o?this.configLoader.loadChildren(e,n).pipe(K(i=>{n._loadedRoutes=i.routes,n._loadedInjector=i.injector})):C0(n))):b({routes:[],injector:e})}};function P0(t){t.sort((e,n)=>e.value.outlet===N?-1:n.value.outlet===N?1:e.value.outlet.localeCompare(n.value.outlet))}function F0(t){let e=t.value.routeConfig;return e&&e.path===""}function fm(t){let e=[],n=new Set;for(let r of t){if(!F0(r)){e.push(r);continue}let o=e.find(i=>r.value.routeConfig===i.value.routeConfig);o!==void 0?(o.children.push(...r.children),n.add(o)):e.push(r)}for(let r of n){let o=fm(r.children);e.push(new Me(r.value,o))}return e.filter(r=>!n.has(r))}function k0(t){return t.data||{}}function L0(t){return t.resolve||{}}function j0(t,e,n,r,o,i){return Z(s=>R0(t,e,n,r,s.extractedUrl,o,i).pipe(R(({state:a,tree:c})=>U(D({},s),{targetSnapshot:a,urlAfterRedirects:c}))))}function V0(t,e){return Z(n=>{let{targetSnapshot:r,guards:{canActivateChecks:o}}=n;if(!o.length)return b(n);let i=new Set(o.map(c=>c.route)),s=new Set;for(let c of i)if(!s.has(c))for(let u of hm(c))s.add(u);let a=0;return q(s).pipe(yt(c=>i.has(c)?$0(c,r,t,e):(c.data=wl(c,c.parent,t).resolve,b(void 0))),K(()=>a++),yn(1),Z(c=>a===s.size?b(n):we))})}function hm(t){let e=t.children.map(n=>hm(n)).flat();return[t,...e]}function $0(t,e,n,r){let o=t.routeConfig,i=t._resolve;return o?.title!==void 0&&!im(o)&&(i[Kr]=o.title),U0(i,t,e,r).pipe(R(s=>(t._resolvedData=s,t.data=wl(t,t.parent,n).resolve,null)))}function U0(t,e,n,r){let o=Wu(t);if(o.length===0)return b({});let i={};return q(o).pipe(Z(s=>B0(t[s],e,n,r).pipe($e(),K(a=>{i[s]=a}))),yn(1),Ls(i),Je(s=>lm(s)?we:fn(s)))}function B0(t,e,n,r){let o=Jr(e)??r,i=Jn(t,o),s=i.resolve?i.resolve(e,n):at(o,()=>i(e,n));return Ot(s)}function qu(t){return ge(e=>{let n=t(e);return n?q(n).pipe(R(()=>e)):b(e)})}var pm=(()=>{let e=class e{buildTitle(r){let o,i=r.root;for(;i!==void 0;)o=this.getResolvedTitleForRoute(i)??o,i=i.children.find(s=>s.outlet===N);return o}getResolvedTitleForRoute(r){return r.data[Kr]}};e.\u0275fac=function(o){return new(o||e)},e.\u0275prov=I({token:e,factory:()=>g(H0),providedIn:"root"});let t=e;return t})(),H0=(()=>{let e=class e extends pm{constructor(r){super(),this.title=r}updateTitle(r){let o=this.buildTitle(r);o!==void 0&&this.title.setTitle(o)}};e.\u0275fac=function(o){return new(o||e)(T(kg))},e.\u0275prov=I({token:e,factory:e.\u0275fac,providedIn:"root"});let t=e;return t})(),Ml=new M("",{providedIn:"root",factory:()=>({})}),Tl=new M(""),z0=(()=>{let e=class e{constructor(){this.componentLoaders=new WeakMap,this.childrenLoaders=new WeakMap,this.compiler=g(Iu)}loadComponent(r){if(this.componentLoaders.get(r))return this.componentLoaders.get(r);if(r._loadedComponent)return b(r._loadedComponent);this.onLoadStartListener&&this.onLoadStartListener(r);let o=Ot(r.loadComponent()).pipe(R(gm),K(s=>{this.onLoadEndListener&&this.onLoadEndListener(r),r._loadedComponent=s}),wt(()=>{this.componentLoaders.delete(r)})),i=new gn(o,()=>new se).pipe(pn());return this.componentLoaders.set(r,i),i}loadChildren(r,o){if(this.childrenLoaders.get(o))return this.childrenLoaders.get(o);if(o._loadedRoutes)return b({routes:o._loadedRoutes,injector:o._loadedInjector});this.onLoadStartListener&&this.onLoadStartListener(o);let s=q0(o,this.compiler,r,this.onLoadEndListener).pipe(wt(()=>{this.childrenLoaders.delete(o)})),a=new gn(s,()=>new se).pipe(pn());return this.childrenLoaders.set(o,a),a}};e.\u0275fac=function(o){return new(o||e)},e.\u0275prov=I({token:e,factory:e.\u0275fac,providedIn:"root"});let t=e;return t})();function q0(t,e,n,r){return Ot(t.loadChildren()).pipe(R(gm),Z(o=>o instanceof mr||Array.isArray(o)?b(o):q(e.compileModuleAsync(o))),R(o=>{r&&r(t);let i,s,a=!1;return Array.isArray(o)?(s=o,a=!0):(i=o.create(n).injector,s=i.get(Tl,[],{optional:!0,self:!0}).flat()),{routes:s.map(Cl),injector:i}}))}function G0(t){return t&&typeof t=="object"&&"default"in t}function gm(t){return G0(t)?t.default:t}var Sl=(()=>{let e=class e{};e.\u0275fac=function(o){return new(o||e)},e.\u0275prov=I({token:e,factory:()=>g(W0),providedIn:"root"});let t=e;return t})(),W0=(()=>{let e=class e{shouldProcessUrl(r){return!0}extract(r){return r}merge(r,o){return r}};e.\u0275fac=function(o){return new(o||e)},e.\u0275prov=I({token:e,factory:e.\u0275fac,providedIn:"root"});let t=e;return t})(),Z0=new M("");var Y0=(()=>{let e=class e{get hasRequestedNavigation(){return this.navigationId!==0}constructor(){this.currentNavigation=null,this.currentTransition=null,this.lastSuccessfulNavigation=null,this.events=new se,this.transitionAbortSubject=new se,this.configLoader=g(z0),this.environmentInjector=g(fe),this.urlSerializer=g(Dl),this.rootContexts=g(ws),this.location=g(_r),this.inputBindingEnabled=g(El,{optional:!0})!==null,this.titleStrategy=g(pm),this.options=g(Ml,{optional:!0})||{},this.paramsInheritanceStrategy=this.options.paramsInheritanceStrategy||"emptyOnly",this.urlHandlingStrategy=g(Sl),this.createViewTransition=g(Z0,{optional:!0}),this.navigationId=0,this.afterPreactivation=()=>b(void 0),this.rootComponentType=null;let r=i=>this.events.next(new nl(i)),o=i=>this.events.next(new rl(i));this.configLoader.onLoadEndListener=o,this.configLoader.onLoadStartListener=r}complete(){this.transitions?.complete()}handleNavigationRequest(r){let o=++this.navigationId;this.transitions?.next(U(D(D({},this.transitions.value),r),{id:o}))}setupNavigations(r,o,i){return this.transitions=new ne({id:0,currentUrlTree:o,currentRawUrl:o,extractedUrl:this.urlHandlingStrategy.extract(o),urlAfterRedirects:this.urlHandlingStrategy.extract(o),rawUrl:o,extras:{},resolve:null,reject:null,promise:Promise.resolve(!0),source:Ur,restoredState:null,currentSnapshot:i.snapshot,targetSnapshot:null,currentRouterState:i,targetRouterState:null,guards:{canActivateChecks:[],canDeactivateChecks:[]},guardsResult:null}),this.transitions.pipe(ae(s=>s.id!==0),R(s=>U(D({},s),{extractedUrl:this.urlHandlingStrategy.extract(s.rawUrl)})),ge(s=>{let a=!1,c=!1;return b(s).pipe(ge(u=>{if(this.navigationId>s.id)return this.cancelNavigationTransition(s,"",Te.SupersededByNewNavigation),we;this.currentTransition=s,this.currentNavigation={id:u.id,initialUrl:u.rawUrl,extractedUrl:u.extractedUrl,trigger:u.source,extras:u.extras,previousNavigation:this.lastSuccessfulNavigation?U(D({},this.lastSuccessfulNavigation),{previousNavigation:null}):null};let l=!r.navigated||this.isUpdatingInternalState()||this.isUpdatedBrowserUrl(),d=u.extras.onSameUrlNavigation??r.onSameUrlNavigation;if(!l&&d!=="reload"){let f="";return this.events.next(new on(u.id,this.urlSerializer.serialize(u.rawUrl),f,Ku.IgnoredSameUrlNavigation)),u.resolve(null),we}if(this.urlHandlingStrategy.shouldProcessUrl(u.rawUrl))return b(u).pipe(ge(f=>{let h=this.transitions?.getValue();return this.events.next(new zr(f.id,this.urlSerializer.serialize(f.extractedUrl),f.source,f.restoredState)),h!==this.transitions?.getValue()?we:Promise.resolve(f)}),j0(this.environmentInjector,this.configLoader,this.rootComponentType,r.config,this.urlSerializer,this.paramsInheritanceStrategy),K(f=>{s.targetSnapshot=f.targetSnapshot,s.urlAfterRedirects=f.urlAfterRedirects,this.currentNavigation=U(D({},this.currentNavigation),{finalUrl:f.urlAfterRedirects});let h=new ps(f.id,this.urlSerializer.serialize(f.extractedUrl),this.urlSerializer.serialize(f.urlAfterRedirects),f.targetSnapshot);this.events.next(h)}));if(l&&this.urlHandlingStrategy.shouldProcessUrl(u.currentRawUrl)){let{id:f,extractedUrl:h,source:p,restoredState:m,extras:y}=u,v=new zr(f,this.urlSerializer.serialize(h),p,m);this.events.next(v);let ie=rm(this.rootComponentType).snapshot;return this.currentTransition=s=U(D({},u),{targetSnapshot:ie,urlAfterRedirects:h,extras:U(D({},y),{skipLocationChange:!1,replaceUrl:!1})}),this.currentNavigation.finalUrl=h,b(s)}else{let f="";return this.events.next(new on(u.id,this.urlSerializer.serialize(u.extractedUrl),f,Ku.IgnoredByUrlHandlingStrategy)),u.resolve(null),we}}),K(u=>{let l=new Ju(u.id,this.urlSerializer.serialize(u.extractedUrl),this.urlSerializer.serialize(u.urlAfterRedirects),u.targetSnapshot);this.events.next(l)}),R(u=>(this.currentTransition=s=U(D({},u),{guards:n0(u.targetSnapshot,u.currentSnapshot,this.rootContexts)}),s)),f0(this.environmentInjector,u=>this.events.next(u)),K(u=>{if(s.guardsResult=u.guardsResult,Qn(u.guardsResult))throw am(this.urlSerializer,u.guardsResult);let l=new Xu(u.id,this.urlSerializer.serialize(u.extractedUrl),this.urlSerializer.serialize(u.urlAfterRedirects),u.targetSnapshot,!!u.guardsResult);this.events.next(l)}),ae(u=>u.guardsResult?!0:(this.cancelNavigationTransition(u,"",Te.GuardRejected),!1)),qu(u=>{if(u.guards.canActivateChecks.length)return b(u).pipe(K(l=>{let d=new el(l.id,this.urlSerializer.serialize(l.extractedUrl),this.urlSerializer.serialize(l.urlAfterRedirects),l.targetSnapshot);this.events.next(d)}),ge(l=>{let d=!1;return b(l).pipe(V0(this.paramsInheritanceStrategy,this.environmentInjector),K({next:()=>d=!0,complete:()=>{d||this.cancelNavigationTransition(l,"",Te.NoDataFromResolver)}}))}),K(l=>{let d=new tl(l.id,this.urlSerializer.serialize(l.extractedUrl),this.urlSerializer.serialize(l.urlAfterRedirects),l.targetSnapshot);this.events.next(d)}))}),qu(u=>{let l=d=>{let f=[];d.routeConfig?.loadComponent&&!d.routeConfig._loadedComponent&&f.push(this.configLoader.loadComponent(d.routeConfig).pipe(K(h=>{d.component=h}),R(()=>{})));for(let h of d.children)f.push(...l(h));return f};return So(l(u.targetSnapshot.root)).pipe(Dt(null),et(1))}),qu(()=>this.afterPreactivation()),ge(()=>{let{currentSnapshot:u,targetSnapshot:l}=s,d=this.createViewTransition?.(this.environmentInjector,u.root,l.root);return d?q(d).pipe(R(()=>s)):b(s)}),R(u=>{let l=Zb(r.routeReuseStrategy,u.targetSnapshot,u.currentRouterState);return this.currentTransition=s=U(D({},u),{targetRouterState:l}),this.currentNavigation.targetRouterState=l,s}),K(()=>{this.events.next(new Gr)}),t0(this.rootContexts,r.routeReuseStrategy,u=>this.events.next(u),this.inputBindingEnabled),et(1),K({next:u=>{a=!0,this.lastSuccessfulNavigation=this.currentNavigation,this.events.next(new gt(u.id,this.urlSerializer.serialize(u.extractedUrl),this.urlSerializer.serialize(u.urlAfterRedirects))),this.titleStrategy?.updateTitle(u.targetRouterState.snapshot),u.resolve(!0)},complete:()=>{a=!0}}),_o(this.transitionAbortSubject.pipe(K(u=>{throw u}))),wt(()=>{!a&&!c&&this.cancelNavigationTransition(s,"",Te.SupersededByNewNavigation),this.currentTransition?.id===s.id&&(this.currentNavigation=null,this.currentTransition=null)}),Je(u=>{if(c=!0,um(u))this.events.next(new Rt(s.id,this.urlSerializer.serialize(s.extractedUrl),u.message,u.cancellationCode)),Kb(u)?this.events.next(new Wr(u.url)):s.resolve(!1);else{this.events.next(new qr(s.id,this.urlSerializer.serialize(s.extractedUrl),u,s.targetSnapshot??void 0));try{s.resolve(r.errorHandler(u))}catch(l){this.options.resolveNavigationPromiseOnError?s.resolve(!1):s.reject(l)}}return we}))}))}cancelNavigationTransition(r,o,i){let s=new Rt(r.id,this.urlSerializer.serialize(r.extractedUrl),o,i);this.events.next(s),r.resolve(!1)}isUpdatingInternalState(){return this.currentTransition?.extractedUrl.toString()!==this.currentTransition?.currentUrlTree.toString()}isUpdatedBrowserUrl(){return this.urlHandlingStrategy.extract(this.urlSerializer.parse(this.location.path(!0))).toString()!==this.currentTransition?.extractedUrl.toString()&&!this.currentTransition?.extras.skipLocationChange}};e.\u0275fac=function(o){return new(o||e)},e.\u0275prov=I({token:e,factory:e.\u0275fac,providedIn:"root"});let t=e;return t})();function Q0(t){return t!==Ur}var K0=(()=>{let e=class e{};e.\u0275fac=function(o){return new(o||e)},e.\u0275prov=I({token:e,factory:()=>g(J0),providedIn:"root"});let t=e;return t})(),yl=class{shouldDetach(e){return!1}store(e,n){}shouldAttach(e){return!1}retrieve(e){return null}shouldReuseRoute(e,n){return e.routeConfig===n.routeConfig}},J0=(()=>{let e=class e extends yl{};e.\u0275fac=(()=>{let r;return function(i){return(r||(r=qc(e)))(i||e)}})(),e.\u0275prov=I({token:e,factory:e.\u0275fac,providedIn:"root"});let t=e;return t})(),mm=(()=>{let e=class e{};e.\u0275fac=function(o){return new(o||e)},e.\u0275prov=I({token:e,factory:()=>g(X0),providedIn:"root"});let t=e;return t})(),X0=(()=>{let e=class e extends mm{constructor(){super(...arguments),this.location=g(_r),this.urlSerializer=g(Dl),this.options=g(Ml,{optional:!0})||{},this.canceledNavigationResolution=this.options.canceledNavigationResolution||"replace",this.urlHandlingStrategy=g(Sl),this.urlUpdateStrategy=this.options.urlUpdateStrategy||"deferred",this.currentUrlTree=new Nt,this.rawUrlTree=this.currentUrlTree,this.currentPageId=0,this.lastSuccessfulId=-1,this.routerState=rm(null),this.stateMemento=this.createStateMemento()}getCurrentUrlTree(){return this.currentUrlTree}getRawUrlTree(){return this.rawUrlTree}restoredState(){return this.location.getState()}get browserPageId(){return this.canceledNavigationResolution!=="computed"?this.currentPageId:this.restoredState()?.\u0275routerPageId??this.currentPageId}getRouterState(){return this.routerState}createStateMemento(){return{rawUrlTree:this.rawUrlTree,currentUrlTree:this.currentUrlTree,routerState:this.routerState}}registerNonRouterCurrentEntryChangeListener(r){return this.location.subscribe(o=>{o.type==="popstate"&&r(o.url,o.state)})}handleRouterEvent(r,o){if(r instanceof zr)this.stateMemento=this.createStateMemento();else if(r instanceof on)this.rawUrlTree=o.initialUrl;else if(r instanceof ps){if(this.urlUpdateStrategy==="eager"&&!o.extras.skipLocationChange){let i=this.urlHandlingStrategy.merge(o.finalUrl,o.initialUrl);this.setBrowserUrl(i,o)}}else r instanceof Gr?(this.currentUrlTree=o.finalUrl,this.rawUrlTree=this.urlHandlingStrategy.merge(o.finalUrl,o.initialUrl),this.routerState=o.targetRouterState,this.urlUpdateStrategy==="deferred"&&(o.extras.skipLocationChange||this.setBrowserUrl(this.rawUrlTree,o))):r instanceof Rt&&(r.code===Te.GuardRejected||r.code===Te.NoDataFromResolver)?this.restoreHistory(o):r instanceof qr?this.restoreHistory(o,!0):r instanceof gt&&(this.lastSuccessfulId=r.id,this.currentPageId=this.browserPageId)}setBrowserUrl(r,o){let i=this.urlSerializer.serialize(r);if(this.location.isCurrentPathEqualTo(i)||o.extras.replaceUrl){let s=this.browserPageId,a=D(D({},o.extras.state),this.generateNgRouterState(o.id,s));this.location.replaceState(i,"",a)}else{let s=D(D({},o.extras.state),this.generateNgRouterState(o.id,this.browserPageId+1));this.location.go(i,"",s)}}restoreHistory(r,o=!1){if(this.canceledNavigationResolution==="computed"){let i=this.browserPageId,s=this.currentPageId-i;s!==0?this.location.historyGo(s):this.currentUrlTree===r.finalUrl&&s===0&&(this.resetState(r),this.resetUrlToCurrentUrlTree())}else this.canceledNavigationResolution==="replace"&&(o&&this.resetState(r),this.resetUrlToCurrentUrlTree())}resetState(r){this.routerState=this.stateMemento.routerState,this.currentUrlTree=this.stateMemento.currentUrlTree,this.rawUrlTree=this.urlHandlingStrategy.merge(this.currentUrlTree,r.finalUrl??this.rawUrlTree)}resetUrlToCurrentUrlTree(){this.location.replaceState(this.urlSerializer.serialize(this.rawUrlTree),"",this.generateNgRouterState(this.lastSuccessfulId,this.currentPageId))}generateNgRouterState(r,o){return this.canceledNavigationResolution==="computed"?{navigationId:r,\u0275routerPageId:o}:{navigationId:r}}};e.\u0275fac=(()=>{let r;return function(i){return(r||(r=qc(e)))(i||e)}})(),e.\u0275prov=I({token:e,factory:e.\u0275fac,providedIn:"root"});let t=e;return t})(),Vr=function(t){return t[t.COMPLETE=0]="COMPLETE",t[t.FAILED=1]="FAILED",t[t.REDIRECTING=2]="REDIRECTING",t}(Vr||{});function eM(t,e){t.events.pipe(ae(n=>n instanceof gt||n instanceof Rt||n instanceof qr||n instanceof on),R(n=>n instanceof gt||n instanceof on?Vr.COMPLETE:(n instanceof Rt?n.code===Te.Redirect||n.code===Te.SupersededByNewNavigation:!1)?Vr.REDIRECTING:Vr.FAILED),ae(n=>n!==Vr.REDIRECTING),et(1)).subscribe(()=>{e()})}function tM(t){throw t}var nM={paths:"exact",fragment:"ignored",matrixParams:"ignored",queryParams:"exact"},rM={paths:"subset",fragment:"ignored",matrixParams:"ignored",queryParams:"subset"},Es=(()=>{let e=class e{get currentUrlTree(){return this.stateManager.getCurrentUrlTree()}get rawUrlTree(){return this.stateManager.getRawUrlTree()}get events(){return this._events}get routerState(){return this.stateManager.getRouterState()}constructor(){this.disposed=!1,this.isNgZoneEnabled=!1,this.console=g(Gi),this.stateManager=g(mm),this.options=g(Ml,{optional:!0})||{},this.pendingTasks=g(ht),this.urlUpdateStrategy=this.options.urlUpdateStrategy||"deferred",this.navigationTransitions=g(Y0),this.urlSerializer=g(Dl),this.location=g(_r),this.urlHandlingStrategy=g(Sl),this._events=new se,this.errorHandler=this.options.errorHandler||tM,this.navigated=!1,this.routeReuseStrategy=g(K0),this.onSameUrlNavigation=this.options.onSameUrlNavigation||"ignore",this.config=g(Tl,{optional:!0})?.flat()??[],this.componentInputBindingEnabled=!!g(El,{optional:!0}),this.eventsSubscription=new W,this.isNgZoneEnabled=g(G)instanceof G&&G.isInAngularZone(),this.resetConfig(this.config),this.navigationTransitions.setupNavigations(this,this.currentUrlTree,this.routerState).subscribe({error:r=>{this.console.warn(r)}}),this.subscribeToNavigationEvents()}subscribeToNavigationEvents(){let r=this.navigationTransitions.events.subscribe(o=>{try{let i=this.navigationTransitions.currentTransition,s=this.navigationTransitions.currentNavigation;if(i!==null&&s!==null){if(this.stateManager.handleRouterEvent(o,s),o instanceof Rt&&o.code!==Te.Redirect&&o.code!==Te.SupersededByNewNavigation)this.navigated=!0;else if(o instanceof gt)this.navigated=!0;else if(o instanceof Wr){let a=this.urlHandlingStrategy.merge(o.url,i.currentRawUrl),c={info:i.extras.info,skipLocationChange:i.extras.skipLocationChange,replaceUrl:this.urlUpdateStrategy==="eager"||Q0(i.source)};this.scheduleNavigation(a,Ur,null,c,{resolve:i.resolve,reject:i.reject,promise:i.promise})}}iM(o)&&this._events.next(o)}catch(i){this.navigationTransitions.transitionAbortSubject.next(i)}});this.eventsSubscription.add(r)}resetRootComponentType(r){this.routerState.root.component=r,this.navigationTransitions.rootComponentType=r}initialNavigation(){this.setUpLocationChangeListener(),this.navigationTransitions.hasRequestedNavigation||this.navigateToSyncWithBrowser(this.location.path(!0),Ur,this.stateManager.restoredState())}setUpLocationChangeListener(){this.nonRouterCurrentEntryChangeSubscription??=this.stateManager.registerNonRouterCurrentEntryChangeListener((r,o)=>{setTimeout(()=>{this.navigateToSyncWithBrowser(r,"popstate",o)},0)})}navigateToSyncWithBrowser(r,o,i){let s={replaceUrl:!0},a=i?.navigationId?i:null;if(i){let u=D({},i);delete u.navigationId,delete u.\u0275routerPageId,Object.keys(u).length!==0&&(s.state=u)}let c=this.parseUrl(r);this.scheduleNavigation(c,o,a,s)}get url(){return this.serializeUrl(this.currentUrlTree)}getCurrentNavigation(){return this.navigationTransitions.currentNavigation}get lastSuccessfulNavigation(){return this.navigationTransitions.lastSuccessfulNavigation}resetConfig(r){this.config=r.map(Cl),this.navigated=!1}ngOnDestroy(){this.dispose()}dispose(){this.navigationTransitions.complete(),this.nonRouterCurrentEntryChangeSubscription&&(this.nonRouterCurrentEntryChangeSubscription.unsubscribe(),this.nonRouterCurrentEntryChangeSubscription=void 0),this.disposed=!0,this.eventsSubscription.unsubscribe()}createUrlTree(r,o={}){let{relativeTo:i,queryParams:s,fragment:a,queryParamsHandling:c,preserveFragment:u}=o,l=u?this.currentUrlTree.fragment:a,d=null;switch(c){case"merge":d=D(D({},this.currentUrlTree.queryParams),s);break;case"preserve":d=this.currentUrlTree.queryParams;break;default:d=s||null}d!==null&&(d=this.removeEmptyProps(d));let f;try{let h=i?i.snapshot:this.routerState.snapshot.root;f=Xg(h)}catch{(typeof r[0]!="string"||!r[0].startsWith("/"))&&(r=[]),f=this.currentUrlTree.root}return em(f,r,d,l??null)}navigateByUrl(r,o={skipLocationChange:!1}){let i=Qn(r)?r:this.parseUrl(r),s=this.urlHandlingStrategy.merge(i,this.rawUrlTree);return this.scheduleNavigation(s,Ur,null,o)}navigate(r,o={skipLocationChange:!1}){return oM(r),this.navigateByUrl(this.createUrlTree(r,o),o)}serializeUrl(r){return this.urlSerializer.serialize(r)}parseUrl(r){try{return this.urlSerializer.parse(r)}catch{return this.urlSerializer.parse("/")}}isActive(r,o){let i;if(o===!0?i=D({},nM):o===!1?i=D({},rM):i=o,Qn(r))return Lg(this.currentUrlTree,r,i);let s=this.parseUrl(r);return Lg(this.currentUrlTree,s,i)}removeEmptyProps(r){return Object.entries(r).reduce((o,[i,s])=>(s!=null&&(o[i]=s),o),{})}scheduleNavigation(r,o,i,s,a){if(this.disposed)return Promise.resolve(!1);let c,u,l;a?(c=a.resolve,u=a.reject,l=a.promise):l=new Promise((f,h)=>{c=f,u=h});let d=this.pendingTasks.add();return eM(this,()=>{queueMicrotask(()=>this.pendingTasks.remove(d))}),this.navigationTransitions.handleNavigationRequest({source:o,restoredState:i,currentUrlTree:this.currentUrlTree,currentRawUrl:this.currentUrlTree,rawUrl:r,extras:s,resolve:c,reject:u,promise:l,currentSnapshot:this.routerState.snapshot,currentRouterState:this.routerState}),l.catch(f=>Promise.reject(f))}};e.\u0275fac=function(o){return new(o||e)},e.\u0275prov=I({token:e,factory:e.\u0275fac,providedIn:"root"});let t=e;return t})();function oM(t){for(let e=0;e<t.length;e++)if(t[e]==null)throw new w(4008,!1)}function iM(t){return!(t instanceof Gr)&&!(t instanceof Wr)}var Bg=(()=>{let e=class e{constructor(r,o,i,s,a,c){this.router=r,this.route=o,this.tabIndexAttribute=i,this.renderer=s,this.el=a,this.locationStrategy=c,this.href=null,this.commands=null,this.onChanges=new se,this.preserveFragment=!1,this.skipLocationChange=!1,this.replaceUrl=!1;let u=a.nativeElement.tagName?.toLowerCase();this.isAnchorElement=u==="a"||u==="area",this.isAnchorElement?this.subscription=r.events.subscribe(l=>{l instanceof gt&&this.updateHref()}):this.setTabIndexIfNotOnNativeEl("0")}setTabIndexIfNotOnNativeEl(r){this.tabIndexAttribute!=null||this.isAnchorElement||this.applyAttributeValue("tabindex",r)}ngOnChanges(r){this.isAnchorElement&&this.updateHref(),this.onChanges.next(this)}set routerLink(r){r!=null?(this.commands=Array.isArray(r)?r:[r],this.setTabIndexIfNotOnNativeEl("0")):(this.commands=null,this.setTabIndexIfNotOnNativeEl(null))}onClick(r,o,i,s,a){let c=this.urlTree;if(c===null||this.isAnchorElement&&(r!==0||o||i||s||a||typeof this.target=="string"&&this.target!="_self"))return!0;let u={skipLocationChange:this.skipLocationChange,replaceUrl:this.replaceUrl,state:this.state,info:this.info};return this.router.navigateByUrl(c,u),!this.isAnchorElement}ngOnDestroy(){this.subscription?.unsubscribe()}updateHref(){let r=this.urlTree;this.href=r!==null&&this.locationStrategy?this.locationStrategy?.prepareExternalUrl(this.router.serializeUrl(r)):null;let o=this.href===null?null:Hh(this.href,this.el.nativeElement.tagName.toLowerCase(),"href");this.applyAttributeValue("href",o)}applyAttributeValue(r,o){let i=this.renderer,s=this.el.nativeElement;o!==null?i.setAttribute(s,r,o):i.removeAttribute(s,r)}get urlTree(){return this.commands===null?null:this.router.createUrlTree(this.commands,{relativeTo:this.relativeTo!==void 0?this.relativeTo:this.route,queryParams:this.queryParams,fragment:this.fragment,queryParamsHandling:this.queryParamsHandling,preserveFragment:this.preserveFragment})}};e.\u0275fac=function(o){return new(o||e)(V(Es),V(sn),Gc("tabindex"),V(Jt),V(Le),V(en))},e.\u0275dir=st({type:e,selectors:[["","routerLink",""]],hostVars:1,hostBindings:function(o,i){o&1&&Du("click",function(a){return i.onClick(a.button,a.ctrlKey,a.shiftKey,a.altKey,a.metaKey)}),o&2&&vu("target",i.target)},inputs:{target:"target",queryParams:"queryParams",fragment:"fragment",queryParamsHandling:"queryParamsHandling",state:"state",info:"info",relativeTo:"relativeTo",preserveFragment:[Se.HasDecoratorInputTransform,"preserveFragment","preserveFragment",Ar],skipLocationChange:[Se.HasDecoratorInputTransform,"skipLocationChange","skipLocationChange",Ar],replaceUrl:[Se.HasDecoratorInputTransform,"replaceUrl","replaceUrl",Ar],routerLink:"routerLink"},standalone:!0,features:[gu,jn]});let t=e;return t})(),QO=(()=>{let e=class e{get isActive(){return this._isActive}constructor(r,o,i,s,a){this.router=r,this.element=o,this.renderer=i,this.cdr=s,this.link=a,this.classes=[],this._isActive=!1,this.routerLinkActiveOptions={exact:!1},this.isActiveChange=new Ie,this.routerEventsSubscription=r.events.subscribe(c=>{c instanceof gt&&this.update()})}ngAfterContentInit(){b(this.links.changes,b(null)).pipe(mn()).subscribe(r=>{this.update(),this.subscribeToEachLinkOnChanges()})}subscribeToEachLinkOnChanges(){this.linkInputChangesSubscription?.unsubscribe();let r=[...this.links.toArray(),this.link].filter(o=>!!o).map(o=>o.onChanges);this.linkInputChangesSubscription=q(r).pipe(mn()).subscribe(o=>{this._isActive!==this.isLinkActive(this.router)(o)&&this.update()})}set routerLinkActive(r){let o=Array.isArray(r)?r:r.split(" ");this.classes=o.filter(i=>!!i)}ngOnChanges(r){this.update()}ngOnDestroy(){this.routerEventsSubscription.unsubscribe(),this.linkInputChangesSubscription?.unsubscribe()}update(){!this.links||!this.router.navigated||queueMicrotask(()=>{let r=this.hasActiveLinks();this.classes.forEach(o=>{r?this.renderer.addClass(this.element.nativeElement,o):this.renderer.removeClass(this.element.nativeElement,o)}),r&&this.ariaCurrentWhenActive!==void 0?this.renderer.setAttribute(this.element.nativeElement,"aria-current",this.ariaCurrentWhenActive.toString()):this.renderer.removeAttribute(this.element.nativeElement,"aria-current"),this._isActive!==r&&(this._isActive=r,this.cdr.markForCheck(),this.isActiveChange.emit(r))})}isLinkActive(r){let o=sM(this.routerLinkActiveOptions)?this.routerLinkActiveOptions:this.routerLinkActiveOptions.exact||!1;return i=>{let s=i.urlTree;return s?r.isActive(s,o):!1}}hasActiveLinks(){let r=this.isLinkActive(this.router);return this.link&&r(this.link)||this.links.some(r)}};e.\u0275fac=function(o){return new(o||e)(V(Es),V(Le),V(Jt),V(Xt),V(Bg,8))},e.\u0275dir=st({type:e,selectors:[["","routerLinkActive",""]],contentQueries:function(o,i,s){if(o&1&&Zp(s,Bg,5),o&2){let a;Yp(a=Qp())&&(i.links=a)}},inputs:{routerLinkActiveOptions:"routerLinkActiveOptions",ariaCurrentWhenActive:"ariaCurrentWhenActive",routerLinkActive:"routerLinkActive"},outputs:{isActiveChange:"isActiveChange"},exportAs:["routerLinkActive"],standalone:!0,features:[jn]});let t=e;return t})();function sM(t){return!!t.paths}var aM=new M("");function KO(t,...e){return kn([{provide:Tl,multi:!0,useValue:t},[],{provide:sn,useFactory:cM,deps:[Es]},{provide:Wi,multi:!0,useFactory:uM},e.map(n=>n.\u0275providers)])}function cM(t){return t.routerState.root}function uM(){let t=g(Kt);return e=>{let n=t.get(Un);if(e!==n.components[0])return;let r=t.get(Es),o=t.get(lM);t.get(dM)===1&&r.initialNavigation(),t.get(fM,null,P.Optional)?.setUpPreloading(),t.get(aM,null,P.Optional)?.init(),r.resetRootComponentType(n.componentTypes[0]),o.closed||(o.next(),o.complete(),o.unsubscribe())}}var lM=new M("",{factory:()=>new se}),dM=new M("",{providedIn:"root",factory:()=>1});var fM=new M("");export{D as a,U as b,Em as c,bs as d,se as e,ne as f,q as g,b as h,fn as i,R as j,Hm as k,ae as l,Je as m,zm as n,et as o,Jl as p,Gm as q,ge as r,_o as s,w as t,gf as u,I as v,Pn as w,M as x,T as y,g as z,Se as A,Of as B,Fn as C,st as D,Vv as E,kn as F,jn as G,zN as H,qN as I,GN as J,WN as K,qc as L,Kt as M,Le as N,Ie as O,ut as P,ZN as Q,_h as R,je as S,YN as T,wD as U,QN as V,KN as W,JN as X,V as Y,ja as Z,Ui as _,pr as $,Jt as aa,ft as ba,G as ca,nR as da,EI as ea,pi as fa,rR as ga,oR as ha,iR as ia,vu as ja,hE as ka,Vp as la,pE as ma,sR as na,aR as oa,cR as pa,uR as qa,qp as ra,Gp as sa,yu as ta,NE as ua,RE as va,lR as wa,PE as xa,Du as ya,dR as za,fR as Aa,hR as Ba,pR as Ca,Yp as Da,Qp as Ea,gR as Fa,mR as Ga,UE as Ha,Kp as Ia,BE as Ja,vR as Ka,HE as La,yR as Ma,Xp as Na,DR as Oa,wR as Pa,IR as Qa,ER as Ra,CR as Sa,bR as Ta,MR as Ua,xr as Va,rg as Wa,Un as Xa,Xt as Ya,Ar as Za,TR as _a,DC as $a,Bn as ab,he as bb,en as cb,IC as db,WR as eb,ZR as fb,YR as gb,QR as hb,MC as ib,Ki as jb,PC as kb,QC as lb,uO as mb,Ag as nb,SO as ob,vb as pb,gt as qb,sn as rb,Wb as sb,Es as tb,Bg as ub,QO as vb,KO as wb};