-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathmain-R2XUXZZO.js
7 lines (7 loc) · 167 KB
/
main-R2XUXZZO.js
1
2
3
4
5
6
7
var ud=Object.defineProperty,cd=Object.defineProperties;var ld=Object.getOwnPropertyDescriptors;var Qs=Object.getOwnPropertySymbols;var dd=Object.prototype.hasOwnProperty,fd=Object.prototype.propertyIsEnumerable;var Ks=(e,t,n)=>t in e?ud(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,g=(e,t)=>{for(var n in t||={})dd.call(t,n)&&Ks(e,n,t[n]);if(Qs)for(var n of Qs(t))fd.call(t,n)&&Ks(e,n,t[n]);return e},k=(e,t)=>cd(e,ld(t));var Js=null;var fo=1;function W(e){let t=Js;return Js=e,t}var Xs={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 hd(e){if(!(go(e)&&!e.dirty)&&!(!e.dirty&&e.lastCleanEpoch===fo)){if(!e.producerMustRecompute(e)&&!ho(e)){e.dirty=!1,e.lastCleanEpoch=fo;return}e.producerRecomputeValue(e),e.dirty=!1,e.lastCleanEpoch=fo}}function ea(e){return e&&(e.nextProducerIndex=0),W(e)}function ta(e,t){if(W(t),!(!e||e.producerNode===void 0||e.producerIndexOfThis===void 0||e.producerLastReadVersion===void 0)){if(go(e))for(let n=e.nextProducerIndex;n<e.producerNode.length;n++)po(e.producerNode[n],e.producerIndexOfThis[n]);for(;e.producerNode.length>e.nextProducerIndex;)e.producerNode.pop(),e.producerLastReadVersion.pop(),e.producerIndexOfThis.pop()}}function ho(e){Pn(e);for(let t=0;t<e.producerNode.length;t++){let n=e.producerNode[t],r=e.producerLastReadVersion[t];if(r!==n.version||(hd(n),r!==n.version))return!0}return!1}function na(e){if(Pn(e),go(e))for(let t=0;t<e.producerNode.length;t++)po(e.producerNode[t],e.producerIndexOfThis[t]);e.producerNode.length=e.producerLastReadVersion.length=e.producerIndexOfThis.length=0,e.liveConsumerNode&&(e.liveConsumerNode.length=e.liveConsumerIndexOfThis.length=0)}function po(e,t){if(pd(e),Pn(e),e.liveConsumerNode.length===1)for(let r=0;r<e.producerNode.length;r++)po(e.producerNode[r],e.producerIndexOfThis[r]);let n=e.liveConsumerNode.length-1;if(e.liveConsumerNode[t]=e.liveConsumerNode[n],e.liveConsumerIndexOfThis[t]=e.liveConsumerIndexOfThis[n],e.liveConsumerNode.length--,e.liveConsumerIndexOfThis.length--,t<e.liveConsumerNode.length){let r=e.liveConsumerIndexOfThis[t],o=e.liveConsumerNode[t];Pn(o),o.producerIndexOfThis[r]=t}}function go(e){return e.consumerIsAlwaysLive||(e?.liveConsumerNode?.length??0)>0}function Pn(e){e.producerNode??=[],e.producerIndexOfThis??=[],e.producerLastReadVersion??=[]}function pd(e){e.liveConsumerNode??=[],e.liveConsumerIndexOfThis??=[]}function gd(){throw new Error}var md=gd;function ra(e){md=e}function m(e){return typeof e=="function"}function at(e){let n=e(r=>{Error.call(r),r.stack=new Error().stack});return n.prototype=Object.create(Error.prototype),n.prototype.constructor=n,n}var Fn=at(e=>function(n){e(this),this.message=n?`${n.length} errors occurred during unsubscription:
${n.map((r,o)=>`${o+1}) ${r.toString()}`).join(`
`)}`:"",this.name="UnsubscriptionError",this.errors=n});function Ut(e,t){if(e){let n=e.indexOf(t);0<=n&&e.splice(n,1)}}var j=class e{constructor(t){this.initialTeardown=t,this.closed=!1,this._parentage=null,this._finalizers=null}unsubscribe(){let t;if(!this.closed){this.closed=!0;let{_parentage:n}=this;if(n)if(this._parentage=null,Array.isArray(n))for(let i of n)i.remove(this);else n.remove(this);let{initialTeardown:r}=this;if(m(r))try{r()}catch(i){t=i instanceof Fn?i.errors:[i]}let{_finalizers:o}=this;if(o){this._finalizers=null;for(let i of o)try{oa(i)}catch(s){t=t??[],s instanceof Fn?t=[...t,...s.errors]:t.push(s)}}if(t)throw new Fn(t)}}add(t){var n;if(t&&t!==this)if(this.closed)oa(t);else{if(t instanceof e){if(t.closed||t._hasParent(this))return;t._addParent(this)}(this._finalizers=(n=this._finalizers)!==null&&n!==void 0?n:[]).push(t)}}_hasParent(t){let{_parentage:n}=this;return n===t||Array.isArray(n)&&n.includes(t)}_addParent(t){let{_parentage:n}=this;this._parentage=Array.isArray(n)?(n.push(t),n):n?[n,t]:t}_removeParent(t){let{_parentage:n}=this;n===t?this._parentage=null:Array.isArray(n)&&Ut(n,t)}remove(t){let{_finalizers:n}=this;n&&Ut(n,t),t instanceof e&&t._removeParent(this)}};j.EMPTY=(()=>{let e=new j;return e.closed=!0,e})();var mo=j.EMPTY;function kn(e){return e instanceof j||e&&"closed"in e&&m(e.remove)&&m(e.add)&&m(e.unsubscribe)}function oa(e){m(e)?e():e.unsubscribe()}var ie={onUnhandledError:null,onStoppedNotification:null,Promise:void 0,useDeprecatedSynchronousErrorHandling:!1,useDeprecatedNextContext:!1};var ut={setTimeout(e,t,...n){let{delegate:r}=ut;return r?.setTimeout?r.setTimeout(e,t,...n):setTimeout(e,t,...n)},clearTimeout(e){let{delegate:t}=ut;return(t?.clearTimeout||clearTimeout)(e)},delegate:void 0};function Ln(e){ut.setTimeout(()=>{let{onUnhandledError:t}=ie;if(t)t(e);else throw e})}function Ht(){}var ia=(()=>vo("C",void 0,void 0))();function sa(e){return vo("E",void 0,e)}function aa(e){return vo("N",e,void 0)}function vo(e,t,n){return{kind:e,value:t,error:n}}var ze=null;function ct(e){if(ie.useDeprecatedSynchronousErrorHandling){let t=!ze;if(t&&(ze={errorThrown:!1,error:null}),e(),t){let{errorThrown:n,error:r}=ze;if(ze=null,n)throw r}}else e()}function ua(e){ie.useDeprecatedSynchronousErrorHandling&&ze&&(ze.errorThrown=!0,ze.error=e)}var Ge=class extends j{constructor(t){super(),this.isStopped=!1,t?(this.destination=t,kn(t)&&t.add(this)):this.destination=Dd}static create(t,n,r){return new lt(t,n,r)}next(t){this.isStopped?Do(aa(t),this):this._next(t)}error(t){this.isStopped?Do(sa(t),this):(this.isStopped=!0,this._error(t))}complete(){this.isStopped?Do(ia,this):(this.isStopped=!0,this._complete())}unsubscribe(){this.closed||(this.isStopped=!0,super.unsubscribe(),this.destination=null)}_next(t){this.destination.next(t)}_error(t){try{this.destination.error(t)}finally{this.unsubscribe()}}_complete(){try{this.destination.complete()}finally{this.unsubscribe()}}},vd=Function.prototype.bind;function yo(e,t){return vd.call(e,t)}var wo=class{constructor(t){this.partialObserver=t}next(t){let{partialObserver:n}=this;if(n.next)try{n.next(t)}catch(r){jn(r)}}error(t){let{partialObserver:n}=this;if(n.error)try{n.error(t)}catch(r){jn(r)}else jn(t)}complete(){let{partialObserver:t}=this;if(t.complete)try{t.complete()}catch(n){jn(n)}}},lt=class extends Ge{constructor(t,n,r){super();let o;if(m(t)||!t)o={next:t??void 0,error:n??void 0,complete:r??void 0};else{let i;this&&ie.useDeprecatedNextContext?(i=Object.create(t),i.unsubscribe=()=>this.unsubscribe(),o={next:t.next&&yo(t.next,i),error:t.error&&yo(t.error,i),complete:t.complete&&yo(t.complete,i)}):o=t}this.destination=new wo(o)}};function jn(e){ie.useDeprecatedSynchronousErrorHandling?ua(e):Ln(e)}function yd(e){throw e}function Do(e,t){let{onStoppedNotification:n}=ie;n&&ut.setTimeout(()=>n(e,t))}var Dd={closed:!0,next:Ht,error:yd,complete:Ht};var dt=(()=>typeof Symbol=="function"&&Symbol.observable||"@@observable")();function q(e){return e}function Co(...e){return Eo(e)}function Eo(e){return e.length===0?q:e.length===1?e[0]:function(n){return e.reduce((r,o)=>o(r),n)}}var R=(()=>{class e{constructor(n){n&&(this._subscribe=n)}lift(n){let r=new e;return r.source=this,r.operator=n,r}subscribe(n,r,o){let i=Cd(n)?n:new lt(n,r,o);return ct(()=>{let{operator:s,source:a}=this;i.add(s?s.call(i,a):a?this._subscribe(i):this._trySubscribe(i))}),i}_trySubscribe(n){try{return this._subscribe(n)}catch(r){n.error(r)}}forEach(n,r){return r=ca(r),new r((o,i)=>{let s=new lt({next:a=>{try{n(a)}catch(u){i(u),s.unsubscribe()}},error:i,complete:o});this.subscribe(s)})}_subscribe(n){var r;return(r=this.source)===null||r===void 0?void 0:r.subscribe(n)}[dt](){return this}pipe(...n){return Eo(n)(this)}toPromise(n){return n=ca(n),new n((r,o)=>{let i;this.subscribe(s=>i=s,s=>o(s),()=>r(i))})}}return e.create=t=>new e(t),e})();function ca(e){var t;return(t=e??ie.Promise)!==null&&t!==void 0?t:Promise}function wd(e){return e&&m(e.next)&&m(e.error)&&m(e.complete)}function Cd(e){return e&&e instanceof Ge||wd(e)&&kn(e)}function Io(e){return m(e?.lift)}function M(e){return t=>{if(Io(t))return t.lift(function(n){try{return e(n,this)}catch(r){this.error(r)}});throw new TypeError("Unable to lift unknown Observable type")}}function S(e,t,n,r,o){return new bo(e,t,n,r,o)}var bo=class extends Ge{constructor(t,n,r,o,i,s){super(t),this.onFinalize=i,this.shouldUnsubscribe=s,this._next=n?function(a){try{n(a)}catch(u){t.error(u)}}:super._next,this._error=o?function(a){try{o(a)}catch(u){t.error(u)}finally{this.unsubscribe()}}:super._error,this._complete=r?function(){try{r()}catch(a){t.error(a)}finally{this.unsubscribe()}}:super._complete}unsubscribe(){var t;if(!this.shouldUnsubscribe||this.shouldUnsubscribe()){let{closed:n}=this;super.unsubscribe(),!n&&((t=this.onFinalize)===null||t===void 0||t.call(this))}}};function ft(){return M((e,t)=>{let n=null;e._refCount++;let r=S(t,void 0,void 0,void 0,()=>{if(!e||e._refCount<=0||0<--e._refCount){n=null;return}let o=e._connection,i=n;n=null,o&&(!i||o===i)&&o.unsubscribe(),t.unsubscribe()});e.subscribe(r),r.closed||(n=e.connect())})}var ht=class extends R{constructor(t,n){super(),this.source=t,this.subjectFactory=n,this._subject=null,this._refCount=0,this._connection=null,Io(t)&&(this.lift=t.lift)}_subscribe(t){return this.getSubject().subscribe(t)}getSubject(){let t=this._subject;return(!t||t.isStopped)&&(this._subject=this.subjectFactory()),this._subject}_teardown(){this._refCount=0;let{_connection:t}=this;this._subject=this._connection=null,t?.unsubscribe()}connect(){let t=this._connection;if(!t){t=this._connection=new j;let n=this.getSubject();t.add(this.source.subscribe(S(n,void 0,()=>{this._teardown(),n.complete()},r=>{this._teardown(),n.error(r)},()=>this._teardown()))),t.closed&&(this._connection=null,t=j.EMPTY)}return t}refCount(){return ft()(this)}};var la=at(e=>function(){e(this),this.name="ObjectUnsubscribedError",this.message="object unsubscribed"});var Z=(()=>{class e extends R{constructor(){super(),this.closed=!1,this.currentObservers=null,this.observers=[],this.isStopped=!1,this.hasError=!1,this.thrownError=null}lift(n){let r=new Vn(this,this);return r.operator=n,r}_throwIfClosed(){if(this.closed)throw new la}next(n){ct(()=>{if(this._throwIfClosed(),!this.isStopped){this.currentObservers||(this.currentObservers=Array.from(this.observers));for(let r of this.currentObservers)r.next(n)}})}error(n){ct(()=>{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(){ct(()=>{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?mo:(this.currentObservers=null,i.push(n),new j(()=>{this.currentObservers=null,Ut(i,n)}))}_checkFinalizedStatuses(n){let{hasError:r,thrownError:o,isStopped:i}=this;r?n.error(o):i&&n.complete()}asObservable(){let n=new R;return n.source=this,n}}return e.create=(t,n)=>new Vn(t,n),e})(),Vn=class extends Z{constructor(t,n){super(),this.destination=t,this.source=n}next(t){var n,r;(r=(n=this.destination)===null||n===void 0?void 0:n.next)===null||r===void 0||r.call(n,t)}error(t){var n,r;(r=(n=this.destination)===null||n===void 0?void 0:n.error)===null||r===void 0||r.call(n,t)}complete(){var t,n;(n=(t=this.destination)===null||t===void 0?void 0:t.complete)===null||n===void 0||n.call(t)}_subscribe(t){var n,r;return(r=(n=this.source)===null||n===void 0?void 0:n.subscribe(t))!==null&&r!==void 0?r:mo}};var H=class extends Z{constructor(t){super(),this._value=t}get value(){return this.getValue()}_subscribe(t){let n=super._subscribe(t);return!n.closed&&t.next(this._value),n}getValue(){let{hasError:t,thrownError:n,_value:r}=this;if(t)throw n;return this._throwIfClosed(),r}next(t){super.next(this._value=t)}};var J=new R(e=>e.complete());function da(e){return e&&m(e.schedule)}function fa(e){return e[e.length-1]}function ha(e){return m(fa(e))?e.pop():void 0}function Re(e){return da(fa(e))?e.pop():void 0}function ga(e,t,n,r){function o(i){return i instanceof n?i:new n(function(s){s(i)})}return new(n||(n=Promise))(function(i,s){function a(l){try{c(r.next(l))}catch(d){s(d)}}function u(l){try{c(r.throw(l))}catch(d){s(d)}}function c(l){l.done?i(l.value):o(l.value).then(a,u)}c((r=r.apply(e,t||[])).next())})}function pa(e){var t=typeof Symbol=="function"&&Symbol.iterator,n=t&&e[t],r=0;if(n)return n.call(e);if(e&&typeof e.length=="number")return{next:function(){return e&&r>=e.length&&(e=void 0),{value:e&&e[r++],done:!e}}};throw new TypeError(t?"Object is not iterable.":"Symbol.iterator is not defined.")}function We(e){return this instanceof We?(this.v=e,this):new We(e)}function ma(e,t,n){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var r=n.apply(e,t||[]),o,i=[];return o={},s("next"),s("throw"),s("return"),o[Symbol.asyncIterator]=function(){return this},o;function s(f){r[f]&&(o[f]=function(h){return new Promise(function(E,P){i.push([f,h,E,P])>1||a(f,h)})})}function a(f,h){try{u(r[f](h))}catch(E){d(i[0][3],E)}}function u(f){f.value instanceof We?Promise.resolve(f.value.v).then(c,l):d(i[0][2],f)}function c(f){a("next",f)}function l(f){a("throw",f)}function d(f,h){f(h),i.shift(),i.length&&a(i[0][0],i[0][1])}}function va(e){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var t=e[Symbol.asyncIterator],n;return t?t.call(e):(e=typeof pa=="function"?pa(e):e[Symbol.iterator](),n={},r("next"),r("throw"),r("return"),n[Symbol.asyncIterator]=function(){return this},n);function r(i){n[i]=e[i]&&function(s){return new Promise(function(a,u){s=e[i](s),o(a,u,s.done,s.value)})}}function o(i,s,a,u){Promise.resolve(u).then(function(c){i({value:c,done:a})},s)}}var $n=e=>e&&typeof e.length=="number"&&typeof e!="function";function Bn(e){return m(e?.then)}function Un(e){return m(e[dt])}function Hn(e){return Symbol.asyncIterator&&m(e?.[Symbol.asyncIterator])}function zn(e){return new TypeError(`You provided ${e!==null&&typeof e=="object"?"an invalid object":`'${e}'`} where a stream was expected. You can provide an Observable, Promise, ReadableStream, Array, AsyncIterable, or Iterable.`)}function Ed(){return typeof Symbol!="function"||!Symbol.iterator?"@@iterator":Symbol.iterator}var Gn=Ed();function Wn(e){return m(e?.[Gn])}function qn(e){return ma(this,arguments,function*(){let n=e.getReader();try{for(;;){let{value:r,done:o}=yield We(n.read());if(o)return yield We(void 0);yield yield We(r)}}finally{n.releaseLock()}})}function Zn(e){return m(e?.getReader)}function B(e){if(e instanceof R)return e;if(e!=null){if(Un(e))return Id(e);if($n(e))return bd(e);if(Bn(e))return Md(e);if(Hn(e))return ya(e);if(Wn(e))return Sd(e);if(Zn(e))return Td(e)}throw zn(e)}function Id(e){return new R(t=>{let n=e[dt]();if(m(n.subscribe))return n.subscribe(t);throw new TypeError("Provided object does not correctly implement Symbol.observable")})}function bd(e){return new R(t=>{for(let n=0;n<e.length&&!t.closed;n++)t.next(e[n]);t.complete()})}function Md(e){return new R(t=>{e.then(n=>{t.closed||(t.next(n),t.complete())},n=>t.error(n)).then(null,Ln)})}function Sd(e){return new R(t=>{for(let n of e)if(t.next(n),t.closed)return;t.complete()})}function ya(e){return new R(t=>{xd(e,t).catch(n=>t.error(n))})}function Td(e){return ya(qn(e))}function xd(e,t){var n,r,o,i;return ga(this,void 0,void 0,function*(){try{for(n=va(e);r=yield n.next(),!r.done;){let s=r.value;if(t.next(s),t.closed)return}}catch(s){o={error:s}}finally{try{r&&!r.done&&(i=n.return)&&(yield i.call(n))}finally{if(o)throw o.error}}t.complete()})}function G(e,t,n,r=0,o=!1){let i=t.schedule(function(){n(),o?e.add(this.schedule(null,r)):this.unsubscribe()},r);if(e.add(i),!o)return i}function Yn(e,t=0){return M((n,r)=>{n.subscribe(S(r,o=>G(r,e,()=>r.next(o),t),()=>G(r,e,()=>r.complete(),t),o=>G(r,e,()=>r.error(o),t)))})}function Qn(e,t=0){return M((n,r)=>{r.add(e.schedule(()=>n.subscribe(r),t))})}function Da(e,t){return B(e).pipe(Qn(t),Yn(t))}function wa(e,t){return B(e).pipe(Qn(t),Yn(t))}function Ca(e,t){return new R(n=>{let r=0;return t.schedule(function(){r===e.length?n.complete():(n.next(e[r++]),n.closed||this.schedule())})})}function Ea(e,t){return new R(n=>{let r;return G(n,t,()=>{r=e[Gn](),G(n,t,()=>{let o,i;try{({value:o,done:i}=r.next())}catch(s){n.error(s);return}i?n.complete():n.next(o)},0,!0)}),()=>m(r?.return)&&r.return()})}function Kn(e,t){if(!e)throw new Error("Iterable cannot be null");return new R(n=>{G(n,t,()=>{let r=e[Symbol.asyncIterator]();G(n,t,()=>{r.next().then(o=>{o.done?n.complete():n.next(o.value)})},0,!0)})})}function Ia(e,t){return Kn(qn(e),t)}function ba(e,t){if(e!=null){if(Un(e))return Da(e,t);if($n(e))return Ca(e,t);if(Bn(e))return wa(e,t);if(Hn(e))return Kn(e,t);if(Wn(e))return Ea(e,t);if(Zn(e))return Ia(e,t)}throw zn(e)}function V(e,t){return t?ba(e,t):B(e)}function y(...e){let t=Re(e);return V(e,t)}function pt(e,t){let n=m(e)?e:()=>e,r=o=>o.error(n());return new R(t?o=>t.schedule(r,0,o):r)}function Mo(e){return!!e&&(e instanceof R||m(e.lift)&&m(e.subscribe))}var Ie=at(e=>function(){e(this),this.name="EmptyError",this.message="no elements in sequence"});function T(e,t){return M((n,r)=>{let o=0;n.subscribe(S(r,i=>{r.next(e.call(t,i,o++))}))})}var{isArray:_d}=Array;function Ad(e,t){return _d(t)?e(...t):e(t)}function Ma(e){return T(t=>Ad(e,t))}var{isArray:Nd}=Array,{getPrototypeOf:Rd,prototype:Od,keys:Pd}=Object;function Sa(e){if(e.length===1){let t=e[0];if(Nd(t))return{args:t,keys:null};if(Fd(t)){let n=Pd(t);return{args:n.map(r=>t[r]),keys:n}}}return{args:e,keys:null}}function Fd(e){return e&&typeof e=="object"&&Rd(e)===Od}function Ta(e,t){return e.reduce((n,r,o)=>(n[r]=t[o],n),{})}function Jn(...e){let t=Re(e),n=ha(e),{args:r,keys:o}=Sa(e);if(r.length===0)return V([],t);let i=new R(kd(r,t,o?s=>Ta(o,s):q));return n?i.pipe(Ma(n)):i}function kd(e,t,n=q){return r=>{xa(t,()=>{let{length:o}=e,i=new Array(o),s=o,a=o;for(let u=0;u<o;u++)xa(t,()=>{let c=V(e[u],t),l=!1;c.subscribe(S(r,d=>{i[u]=d,l||(l=!0,a--),a||r.next(n(i.slice()))},()=>{--s||r.complete()}))},r)},r)}}function xa(e,t,n){e?G(n,e,t):t()}function _a(e,t,n,r,o,i,s,a){let u=[],c=0,l=0,d=!1,f=()=>{d&&!u.length&&!c&&t.complete()},h=P=>c<r?E(P):u.push(P),E=P=>{i&&t.next(P),c++;let he=!1;B(n(P,l++)).subscribe(S(t,F=>{o?.(F),i?h(F):t.next(F)},()=>{he=!0},void 0,()=>{if(he)try{for(c--;u.length&&c<r;){let F=u.shift();s?G(t,s,()=>E(F)):E(F)}f()}catch(F){t.error(F)}}))};return e.subscribe(S(t,h,()=>{d=!0,f()})),()=>{a?.()}}function $(e,t,n=1/0){return m(t)?$((r,o)=>T((i,s)=>t(r,i,o,s))(B(e(r,o))),n):(typeof t=="number"&&(n=t),M((r,o)=>_a(r,o,e,n)))}function So(e=1/0){return $(q,e)}function Aa(){return So(1)}function gt(...e){return Aa()(V(e,Re(e)))}function Xn(e){return new R(t=>{B(e()).subscribe(t)})}function se(e,t){return M((n,r)=>{let o=0;n.subscribe(S(r,i=>e.call(t,i,o++)&&r.next(i)))})}function Oe(e){return M((t,n)=>{let r=null,o=!1,i;r=t.subscribe(S(n,void 0,void 0,s=>{i=B(e(s,Oe(e)(t))),r?(r.unsubscribe(),r=null,i.subscribe(n)):o=!0})),o&&(r.unsubscribe(),r=null,i.subscribe(n))})}function Na(e,t,n,r,o){return(i,s)=>{let a=n,u=t,c=0;i.subscribe(S(s,l=>{let d=c++;u=a?e(u,l,d):(a=!0,l),r&&s.next(u)},o&&(()=>{a&&s.next(u),s.complete()})))}}function mt(e,t){return m(t)?$(e,t,1):$(e,1)}function Pe(e){return M((t,n)=>{let r=!1;t.subscribe(S(n,o=>{r=!0,n.next(o)},()=>{r||n.next(e),n.complete()}))})}function be(e){return e<=0?()=>J:M((t,n)=>{let r=0;t.subscribe(S(n,o=>{++r<=e&&(n.next(o),e<=r&&n.complete())}))})}function To(e){return T(()=>e)}function er(e=Ld){return M((t,n)=>{let r=!1;t.subscribe(S(n,o=>{r=!0,n.next(o)},()=>r?n.complete():n.error(e())))})}function Ld(){return new Ie}function zt(e){return M((t,n)=>{try{t.subscribe(n)}finally{n.add(e)}})}function pe(e,t){let n=arguments.length>=2;return r=>r.pipe(e?se((o,i)=>e(o,i,r)):q,be(1),n?Pe(t):er(()=>new Ie))}function vt(e){return e<=0?()=>J:M((t,n)=>{let r=[];t.subscribe(S(n,o=>{r.push(o),e<r.length&&r.shift()},()=>{for(let o of r)n.next(o);n.complete()},void 0,()=>{r=null}))})}function xo(e,t){let n=arguments.length>=2;return r=>r.pipe(e?se((o,i)=>e(o,i,r)):q,vt(1),n?Pe(t):er(()=>new Ie))}function _o(e,t){return M(Na(e,t,arguments.length>=2,!0))}function Ao(...e){let t=Re(e);return M((n,r)=>{(t?gt(e,n,t):gt(e,n)).subscribe(r)})}function ae(e,t){return M((n,r)=>{let o=null,i=0,s=!1,a=()=>s&&!o&&r.complete();n.subscribe(S(r,u=>{o?.unsubscribe();let c=0,l=i++;B(e(u,l)).subscribe(o=S(r,d=>r.next(t?t(u,d,l,c++):d),()=>{o=null,a()}))},()=>{s=!0,a()}))})}function No(e){return M((t,n)=>{B(e).subscribe(S(n,()=>n.complete(),Ht)),!n.closed&&t.subscribe(n)})}function U(e,t,n){let r=m(e)||t||n?{next:e,error:t,complete:n}:e;return r?M((o,i)=>{var s;(s=r.subscribe)===null||s===void 0||s.call(r);let a=!0;o.subscribe(S(i,u=>{var c;(c=r.next)===null||c===void 0||c.call(r,u),i.next(u)},()=>{var u;a=!1,(u=r.complete)===null||u===void 0||u.call(r),i.complete()},u=>{var c;a=!1,(c=r.error)===null||c===void 0||c.call(r,u),i.error(u)},()=>{var u,c;a&&((u=r.unsubscribe)===null||u===void 0||u.call(r)),(c=r.finalize)===null||c===void 0||c.call(r)}))}):q}function O(e){for(let t in e)if(e[t]===O)return t;throw Error("Could not find renamed property on target object.")}function Y(e){if(typeof e=="string")return e;if(Array.isArray(e))return"["+e.map(Y).join(", ")+"]";if(e==null)return""+e;if(e.overriddenName)return`${e.overriddenName}`;if(e.name)return`${e.name}`;let t=e.toString();if(t==null)return""+t;let n=t.indexOf(`
`);return n===-1?t:t.substring(0,n)}function Ra(e,t){return e==null||e===""?t===null?"":t:t==null||t===""?e:e+" "+t}var jd=O({__forward_ref__:O});function fu(e){return e.__forward_ref__=fu,e.toString=function(){return Y(this())},e}function ee(e){return hu(e)?e():e}function hu(e){return typeof e=="function"&&e.hasOwnProperty(jd)&&e.__forward_ref__===fu}function pu(e){return e&&!!e.\u0275providers}var v=class extends Error{constructor(t,n){super(yi(t,n)),this.code=t}};function yi(e,t){return`${`NG0${Math.abs(e)}`}${t?": "+t:""}`}var Vd=O({\u0275cmp:O}),$d=O({\u0275dir:O}),Bd=O({\u0275pipe:O}),Ud=O({\u0275mod:O}),sr=O({\u0275fac:O}),Gt=O({__NG_ELEMENT_ID__:O}),Oa=O({__NG_ENV_ID__:O});function Uo(e){return typeof e=="string"?e:e==null?"":String(e)}function Hd(e){return typeof e=="function"?e.name||e.toString():typeof e=="object"&&e!=null&&typeof e.type=="function"?e.type.name||e.type.toString():Uo(e)}function zd(e,t){let n=t?`. Dependency path: ${t.join(" > ")} > ${e}`:"";throw new v(-200,`Circular dependency in DI detected for ${e}${n}`)}function Di(e,t){throw new v(-201,!1)}function Gd(e,t){e==null&&Wd(t,e,null,"!=")}function Wd(e,t,n,r){throw new Error(`ASSERTION ERROR: ${e}`+(r==null?"":` [Expected=> ${n} ${r} ${t} <=Actual]`))}function w(e){return{token:e.token,providedIn:e.providedIn||null,factory:e.factory,value:void 0}}function Cr(e){return{providers:e.providers||[],imports:e.imports||[]}}function Er(e){return Pa(e,mu)||Pa(e,vu)}function gu(e){return Er(e)!==null}function Pa(e,t){return e.hasOwnProperty(t)?e[t]:null}function qd(e){let t=e&&(e[mu]||e[vu]);return t||null}function Fa(e){return e&&(e.hasOwnProperty(ka)||e.hasOwnProperty(Zd))?e[ka]:null}var mu=O({\u0275prov:O}),ka=O({\u0275inj:O}),vu=O({ngInjectableDef:O}),Zd=O({ngInjectorDef:O}),I=function(e){return e[e.Default=0]="Default",e[e.Host=1]="Host",e[e.Self=2]="Self",e[e.SkipSelf=4]="SkipSelf",e[e.Optional=8]="Optional",e}(I||{}),Ho;function Yd(){return Ho}function X(e){let t=Ho;return Ho=e,t}function yu(e,t,n){let r=Er(e);if(r&&r.providedIn=="root")return r.value===void 0?r.value=r.factory():r.value;if(n&I.Optional)return null;if(t!==void 0)return t;Di(e,"Injector")}var Wt=globalThis;var _=class{constructor(t,n){this._desc=t,this.ngMetadataName="InjectionToken",this.\u0275prov=void 0,typeof n=="number"?this.__NG_ELEMENT_ID__=n:n!==void 0&&(this.\u0275prov=w({token:this,providedIn:n.providedIn||"root",factory:n.factory}))}get multi(){return this}toString(){return`InjectionToken ${this._desc}`}};var Qd={},Yt=Qd,Kd="__NG_DI_FLAG__",ar="ngTempTokenPath",Jd="ngTokenPath",Xd=/\n/gm,ef="\u0275",La="__source",qt;function Fe(e){let t=qt;return qt=e,t}function tf(e,t=I.Default){if(qt===void 0)throw new v(-203,!1);return qt===null?yu(e,void 0,t):qt.get(e,t&I.Optional?null:void 0,t)}function b(e,t=I.Default){return(Yd()||tf)(ee(e),t)}function p(e,t=I.Default){return b(e,Ir(t))}function Ir(e){return typeof e>"u"||typeof e=="number"?e:0|(e.optional&&8)|(e.host&&1)|(e.self&&2)|(e.skipSelf&&4)}function zo(e){let t=[];for(let n=0;n<e.length;n++){let r=ee(e[n]);if(Array.isArray(r)){if(r.length===0)throw new v(900,!1);let o,i=I.Default;for(let s=0;s<r.length;s++){let a=r[s],u=nf(a);typeof u=="number"?u===-1?o=a.token:i|=u:o=a}t.push(b(o,i))}else t.push(b(r))}return t}function nf(e){return e[Kd]}function rf(e,t,n,r){let o=e[ar];throw t[La]&&o.unshift(t[La]),e.message=of(`
`+e.message,o,n,r),e[Jd]=o,e[ar]=null,e}function of(e,t,n,r=null){e=e&&e.charAt(0)===`
`&&e.charAt(1)==ef?e.slice(2):e;let o=Y(t);if(Array.isArray(t))o=t.map(Y).join(" -> ");else if(typeof t=="object"){let i=[];for(let s in t)if(t.hasOwnProperty(s)){let a=t[s];i.push(s+":"+(typeof a=="string"?JSON.stringify(a):Y(a)))}o=`{${i.join(", ")}}`}return`${n}${r?"("+r+")":""}[${o}]: ${e.replace(Xd,`
`)}`}function br(e){return{toString:e}.toString()}var Du=function(e){return e[e.OnPush=0]="OnPush",e[e.Default=1]="Default",e}(Du||{}),ve=function(e){return e[e.Emulated=0]="Emulated",e[e.None=2]="None",e[e.ShadowDom=3]="ShadowDom",e}(ve||{}),Qt={},ge=[];function wu(e,t,n){let r=e.length;for(;;){let o=e.indexOf(t,n);if(o===-1)return o;if(o===0||e.charCodeAt(o-1)<=32){let i=t.length;if(o+i===r||e.charCodeAt(o+i)<=32)return o}n=o+1}}function Go(e,t,n){let r=0;for(;r<n.length;){let o=n[r];if(typeof o=="number"){if(o!==0)break;r++;let i=n[r++],s=n[r++],a=n[r++];e.setAttribute(t,s,a,i)}else{let i=o,s=n[++r];af(i)?e.setProperty(t,i,s):e.setAttribute(t,i,s),r++}}return r}function sf(e){return e===3||e===4||e===6}function af(e){return e.charCodeAt(0)===64}function wi(e,t){if(!(t===null||t.length===0))if(e===null||e.length===0)e=t.slice();else{let n=-1;for(let r=0;r<t.length;r++){let o=t[r];typeof o=="number"?n=o:n===0||(n===-1||n===2?ja(e,n,o,null,t[++r]):ja(e,n,o,null,null))}}return e}function ja(e,t,n,r,o){let i=0,s=e.length;if(t===-1)s=-1;else for(;i<e.length;){let a=e[i++];if(typeof a=="number"){if(a===t){s=-1;break}else if(a>t){s=i-1;break}}}for(;i<e.length;){let a=e[i];if(typeof a=="number")break;if(a===n){if(r===null){o!==null&&(e[i+1]=o);return}else if(r===e[i+1]){e[i+2]=o;return}}i++,r!==null&&i++,o!==null&&i++}s!==-1&&(e.splice(s,0,t),i=s+1),e.splice(i++,0,n),r!==null&&e.splice(i++,0,r),o!==null&&e.splice(i++,0,o)}var Cu="ng-template";function uf(e,t,n){let r=0,o=!0;for(;r<e.length;){let i=e[r++];if(typeof i=="string"&&o){let s=e[r++];if(n&&i==="class"&&wu(s.toLowerCase(),t,0)!==-1)return!0}else if(i===1){for(;r<e.length&&typeof(i=e[r++])=="string";)if(i.toLowerCase()===t)return!0;return!1}else typeof i=="number"&&(o=!1)}return!1}function Eu(e){return e.type===4&&e.value!==Cu}function cf(e,t,n){let r=e.type===4&&!n?Cu:e.value;return t===r}function lf(e,t,n){let r=4,o=e.attrs||[],i=hf(o),s=!1;for(let a=0;a<t.length;a++){let u=t[a];if(typeof u=="number"){if(!s&&!ue(r)&&!ue(u))return!1;if(s&&ue(u))continue;s=!1,r=u|r&1;continue}if(!s)if(r&4){if(r=2|r&1,u!==""&&!cf(e,u,n)||u===""&&t.length===1){if(ue(r))return!1;s=!0}}else{let c=r&8?u:t[++a];if(r&8&&e.attrs!==null){if(!uf(e.attrs,c,n)){if(ue(r))return!1;s=!0}continue}let l=r&8?"class":u,d=df(l,o,Eu(e),n);if(d===-1){if(ue(r))return!1;s=!0;continue}if(c!==""){let f;d>i?f="":f=o[d+1].toLowerCase();let h=r&8?f:null;if(h&&wu(h,c,0)!==-1||r&2&&c!==f){if(ue(r))return!1;s=!0}}}}return ue(r)||s}function ue(e){return(e&1)===0}function df(e,t,n,r){if(t===null)return-1;let o=0;if(r||!n){let i=!1;for(;o<t.length;){let s=t[o];if(s===e)return o;if(s===3||s===6)i=!0;else if(s===1||s===2){let a=t[++o];for(;typeof a=="string";)a=t[++o];continue}else{if(s===4)break;if(s===0){o+=4;continue}}o+=i?1:2}return-1}else return pf(t,e)}function ff(e,t,n=!1){for(let r=0;r<t.length;r++)if(lf(e,t[r],n))return!0;return!1}function hf(e){for(let t=0;t<e.length;t++){let n=e[t];if(sf(n))return t}return e.length}function pf(e,t){let n=e.indexOf(4);if(n>-1)for(n++;n<e.length;){let r=e[n];if(typeof r=="number")return-1;if(r===t)return n;n++}return-1}function Va(e,t){return e?":not("+t.trim()+")":t}function gf(e){let t=e[0],n=1,r=2,o="",i=!1;for(;n<e.length;){let s=e[n];if(typeof s=="string")if(r&2){let a=e[++n];o+="["+s+(a.length>0?'="'+a+'"':"")+"]"}else r&8?o+="."+s:r&4&&(o+=" "+s);else o!==""&&!ue(s)&&(t+=Va(i,o),o=""),r=s,i=i||!ue(r);n++}return o!==""&&(t+=Va(i,o)),t}function mf(e){return e.map(gf).join(",")}function vf(e){let t=[],n=[],r=1,o=2;for(;r<e.length;){let i=e[r];if(typeof i=="string")o===2?i!==""&&t.push(i,e[++r]):o===8&&n.push(i);else{if(!ue(o))break;o=i}r++}return{attrs:t,classes:n}}function Mr(e){return br(()=>{let t=Tu(e),n=k(g({},t),{decls:e.decls,vars:e.vars,template:e.template,consts:e.consts||null,ngContentSelectors:e.ngContentSelectors,onPush:e.changeDetection===Du.OnPush,directiveDefs:null,pipeDefs:null,dependencies:t.standalone&&e.dependencies||null,getStandaloneInjector:null,signals:e.signals??!1,data:e.data||{},encapsulation:e.encapsulation||ve.Emulated,styles:e.styles||ge,_:null,schemas:e.schemas||null,tView:null,id:""});xu(n);let r=e.dependencies;return n.directiveDefs=Ba(r,!1),n.pipeDefs=Ba(r,!0),n.id=wf(n),n})}function yf(e){return Ze(e)||Iu(e)}function Df(e){return e!==null}function Sr(e){return br(()=>({type:e.type,bootstrap:e.bootstrap||ge,declarations:e.declarations||ge,imports:e.imports||ge,exports:e.exports||ge,transitiveCompileScopes:null,schemas:e.schemas||null,id:e.id||null}))}function $a(e,t){if(e==null)return Qt;let n={};for(let r in e)if(e.hasOwnProperty(r)){let o=e[r],i=o;Array.isArray(o)&&(i=o[1],o=o[0]),n[o]=r,t&&(t[o]=i)}return n}function Ci(e){return br(()=>{let t=Tu(e);return xu(t),t})}function Ze(e){return e[Vd]||null}function Iu(e){return e[$d]||null}function bu(e){return e[Bd]||null}function Mu(e){let t=Ze(e)||Iu(e)||bu(e);return t!==null?t.standalone:!1}function Su(e,t){let n=e[Ud]||null;if(!n&&t===!0)throw new Error(`Type ${Y(e)} does not have '\u0275mod' property.`);return n}function Tu(e){let t={};return{type:e.type,providersResolver:null,factory:null,hostBindings:e.hostBindings||null,hostVars:e.hostVars||0,hostAttrs:e.hostAttrs||null,contentQueries:e.contentQueries||null,declaredInputs:t,inputTransforms:null,inputConfig:e.inputs||Qt,exportAs:e.exportAs||null,standalone:e.standalone===!0,signals:e.signals===!0,selectors:e.selectors||ge,viewQuery:e.viewQuery||null,features:e.features||null,setInput:null,findHostDirectiveDefs:null,hostDirectives:null,inputs:$a(e.inputs,t),outputs:$a(e.outputs),debugInfo:null}}function xu(e){e.features?.forEach(t=>t(e))}function Ba(e,t){if(!e)return null;let n=t?bu:yf;return()=>(typeof e=="function"?e():e).map(r=>n(r)).filter(Df)}function wf(e){let t=0,n=[e.selectors,e.ngContentSelectors,e.hostVars,e.hostAttrs,e.consts,e.vars,e.decls,e.encapsulation,e.standalone,e.signals,e.exportAs,JSON.stringify(e.inputs),JSON.stringify(e.outputs),Object.getOwnPropertyNames(e.type.prototype),!!e.contentQueries,!!e.viewQuery].join("|");for(let o of n)t=Math.imul(31,t)+o.charCodeAt(0)<<0;return t+=2147483647+1,"c"+t}var xe=0,x=1,D=2,z=3,le=4,fe=5,ur=6,Ua=7,Le=8,It=9,Me=10,de=11,Kt=12,Ha=13,an=14,ye=15,Ei=16,yt=17,Ii=18,Tr=19,_u=20,Zt=21,Ro=22,Ye=23,Qe=25,Au=1;var Ke=7,cr=8,lr=9,te=10,bi=function(e){return e[e.None=0]="None",e[e.HasTransplantedViews=2]="HasTransplantedViews",e}(bi||{});function Ct(e){return Array.isArray(e)&&typeof e[Au]=="object"}function _e(e){return Array.isArray(e)&&e[Au]===!0}function Nu(e){return(e.flags&4)!==0}function Mi(e){return e.componentOffset>-1}function Cf(e){return(e.flags&1)===1}function un(e){return!!e.template}function Ef(e){return(e[D]&512)!==0}function bt(e,t){let n=e.hasOwnProperty(sr);return n?e[sr]:null}var Wo=class{constructor(t,n,r){this.previousValue=t,this.currentValue=n,this.firstChange=r}isFirstChange(){return this.firstChange}};function xr(){return Ru}function Ru(e){return e.type.prototype.ngOnChanges&&(e.setInput=bf),If}xr.ngInherit=!0;function If(){let e=Pu(this),t=e?.current;if(t){let n=e.previous;if(n===Qt)e.previous=t;else for(let r in t)n[r]=t[r];e.current=null,this.ngOnChanges(t)}}function bf(e,t,n,r){let o=this.declaredInputs[n],i=Pu(e)||Mf(e,{previous:Qt,current:null}),s=i.current||(i.current={}),a=i.previous,u=a[o];s[o]=new Wo(u&&u.currentValue,t,a===Qt),e[r]=t}var Ou="__ngSimpleChanges__";function Pu(e){return e[Ou]||null}function Mf(e,t){return e[Ou]=t}var za=null;var ke=function(e,t,n){za?.(e,t,n)},Sf="svg",Tf="math",xf=!1;function _f(){return xf}function Se(e){for(;Array.isArray(e);)e=e[xe];return e}function Af(e,t){return Se(t[e])}function Ae(e,t){return Se(t[e.index])}function Nf(e,t){return e.data[t]}function cn(e,t){let n=t[e];return Ct(n)?n:n[xe]}function Si(e){return(e[D]&128)===128}function Rf(e){return _e(e[z])}function Ga(e,t){return t==null?null:e[t]}function Fu(e){e[yt]=0}function Of(e){e[D]&1024||(e[D]|=1024,Si(e)&&Jt(e))}function ku(e){return e[D]&9216||e[Ye]?.dirty}function qo(e){ku(e)?Jt(e):e[D]&64&&(_f()?(e[D]|=1024,Jt(e)):e[Me].changeDetectionScheduler?.notify())}function Jt(e){e[Me].changeDetectionScheduler?.notify();let t=Xt(e);for(;t!==null&&!(t[D]&8192||(t[D]|=8192,!Si(t)));)t=Xt(t)}function Pf(e,t){if((e[D]&256)===256)throw new v(911,!1);e[Zt]===null&&(e[Zt]=[]),e[Zt].push(t)}function Xt(e){let t=e[z];return _e(t)?t[z]:t}var A={lFrame:Hu(null),bindingsEnabled:!0,skipHydrationRootTNode:null};function Ff(){return A.lFrame.elementDepthCount}function kf(){A.lFrame.elementDepthCount++}function Lf(){A.lFrame.elementDepthCount--}function Lu(){return A.bindingsEnabled}function jf(){return A.skipHydrationRootTNode!==null}function Vf(e){return A.skipHydrationRootTNode===e}function $f(){A.skipHydrationRootTNode=null}function ne(){return A.lFrame.lView}function _r(){return A.lFrame.tView}function Ve(){let e=ju();for(;e!==null&&e.type===64;)e=e.parent;return e}function ju(){return A.lFrame.currentTNode}function Bf(){let e=A.lFrame,t=e.currentTNode;return e.isParent?t:t.parent}function Ar(e,t){let n=A.lFrame;n.currentTNode=e,n.isParent=t}function Vu(){return A.lFrame.isParent}function Uf(){A.lFrame.isParent=!1}function Hf(){return A.lFrame.bindingIndex}function zf(e){return A.lFrame.bindingIndex=e}function Gf(e){let t=A.lFrame,n=t.bindingIndex;return t.bindingIndex=t.bindingIndex+e,n}function Wf(){return A.lFrame.inI18n}function qf(e,t){let n=A.lFrame;n.bindingIndex=n.bindingRootIndex=e,Zo(t)}function Zf(){return A.lFrame.currentDirectiveIndex}function Zo(e){A.lFrame.currentDirectiveIndex=e}function $u(e){A.lFrame.currentQueryIndex=e}function Yf(e){let t=e[x];return t.type===2?t.declTNode:t.type===1?e[fe]:null}function Bu(e,t,n){if(n&I.SkipSelf){let o=t,i=e;for(;o=o.parent,o===null&&!(n&I.Host);)if(o=Yf(i),o===null||(i=i[an],o.type&10))break;if(o===null)return!1;t=o,e=i}let r=A.lFrame=Uu();return r.currentTNode=t,r.lView=e,!0}function Ti(e){let t=Uu(),n=e[x];A.lFrame=t,t.currentTNode=n.firstChild,t.lView=e,t.tView=n,t.contextLView=e,t.bindingIndex=n.bindingStartIndex,t.inI18n=!1}function Uu(){let e=A.lFrame,t=e===null?null:e.child;return t===null?Hu(e):t}function Hu(e){let t={currentTNode:null,isParent:!0,lView:null,tView:null,selectedIndex:-1,contextLView:null,elementDepthCount:0,currentNamespace:null,currentDirectiveIndex:-1,bindingRootIndex:-1,bindingIndex:-1,currentQueryIndex:0,parent:e,child:null,inI18n:!1};return e!==null&&(e.child=t),t}function zu(){let e=A.lFrame;return A.lFrame=e.parent,e.currentTNode=null,e.lView=null,e}var Gu=zu;function xi(){let e=zu();e.isParent=!0,e.tView=null,e.selectedIndex=-1,e.contextLView=null,e.elementDepthCount=0,e.currentDirectiveIndex=-1,e.currentNamespace=null,e.bindingRootIndex=-1,e.bindingIndex=-1,e.currentQueryIndex=0}function _i(){return A.lFrame.selectedIndex}function Je(e){A.lFrame.selectedIndex=e}function Qf(){return A.lFrame.currentNamespace}var Wu=!0;function qu(){return Wu}function Zu(e){Wu=e}function Kf(e,t,n){let{ngOnChanges:r,ngOnInit:o,ngDoCheck:i}=t.type.prototype;if(r){let s=Ru(t);(n.preOrderHooks??=[]).push(e,s),(n.preOrderCheckHooks??=[]).push(e,s)}o&&(n.preOrderHooks??=[]).push(0-e,o),i&&((n.preOrderHooks??=[]).push(e,i),(n.preOrderCheckHooks??=[]).push(e,i))}function Yu(e,t){for(let n=t.directiveStart,r=t.directiveEnd;n<r;n++){let i=e.data[n].type.prototype,{ngAfterContentInit:s,ngAfterContentChecked:a,ngAfterViewInit:u,ngAfterViewChecked:c,ngOnDestroy:l}=i;s&&(e.contentHooks??=[]).push(-n,s),a&&((e.contentHooks??=[]).push(n,a),(e.contentCheckHooks??=[]).push(n,a)),u&&(e.viewHooks??=[]).push(-n,u),c&&((e.viewHooks??=[]).push(n,c),(e.viewCheckHooks??=[]).push(n,c)),l!=null&&(e.destroyHooks??=[]).push(n,l)}}function tr(e,t,n){Qu(e,t,3,n)}function nr(e,t,n,r){(e[D]&3)===n&&Qu(e,t,n,r)}function Oo(e,t){let n=e[D];(n&3)===t&&(n&=16383,n+=1,e[D]=n)}function Qu(e,t,n,r){let o=r!==void 0?e[yt]&65535:0,i=r??-1,s=t.length-1,a=0;for(let u=o;u<s;u++)if(typeof t[u+1]=="number"){if(a=t[u],r!=null&&a>=r)break}else t[u]<0&&(e[yt]+=65536),(a<i||i==-1)&&(Jf(e,n,t,u),e[yt]=(e[yt]&4294901760)+u+2),u++}function Wa(e,t){ke(4,e,t);let n=W(null);try{t.call(e)}finally{W(n),ke(5,e,t)}}function Jf(e,t,n,r){let o=n[r]<0,i=n[r+1],s=o?-n[r]:n[r],a=e[s];o?e[D]>>14<e[yt]>>16&&(e[D]&3)===t&&(e[D]+=16384,Wa(a,i)):Wa(a,i)}var Et=-1,en=class{constructor(t,n,r){this.factory=t,this.resolving=!1,this.canSeeViewProviders=n,this.injectImpl=r}};function Xf(e){return e instanceof en}function eh(e){return(e.flags&8)!==0}function th(e){return(e.flags&16)!==0}function Ku(e){return e!==Et}function dr(e){return e&32767}function nh(e){return e>>16}function fr(e,t){let n=nh(e),r=t;for(;n>0;)r=r[an],n--;return r}var Yo=!0;function qa(e){let t=Yo;return Yo=e,t}var rh=256,Ju=rh-1,Xu=5,oh=0,me={};function ih(e,t,n){let r;typeof n=="string"?r=n.charCodeAt(0)||0:n.hasOwnProperty(Gt)&&(r=n[Gt]),r==null&&(r=n[Gt]=oh++);let o=r&Ju,i=1<<o;t.data[e+(o>>Xu)]|=i}function ec(e,t){let n=tc(e,t);if(n!==-1)return n;let r=t[x];r.firstCreatePass&&(e.injectorIndex=t.length,Po(r.data,e),Po(t,null),Po(r.blueprint,null));let o=Ai(e,t),i=e.injectorIndex;if(Ku(o)){let s=dr(o),a=fr(o,t),u=a[x].data;for(let c=0;c<8;c++)t[i+c]=a[s+c]|u[s+c]}return t[i+8]=o,i}function Po(e,t){e.push(0,0,0,0,0,0,0,0,t)}function tc(e,t){return e.injectorIndex===-1||e.parent&&e.parent.injectorIndex===e.injectorIndex||t[e.injectorIndex+8]===null?-1:e.injectorIndex}function Ai(e,t){if(e.parent&&e.parent.injectorIndex!==-1)return e.parent.injectorIndex;let n=0,r=null,o=t;for(;o!==null;){if(r=sc(o),r===null)return Et;if(n++,o=o[an],r.injectorIndex!==-1)return r.injectorIndex|n<<16}return Et}function sh(e,t,n){ih(e,t,n)}function nc(e,t,n){if(n&I.Optional||e!==void 0)return e;Di(t,"NodeInjector")}function rc(e,t,n,r){if(n&I.Optional&&r===void 0&&(r=null),!(n&(I.Self|I.Host))){let o=e[It],i=X(void 0);try{return o?o.get(t,r,n&I.Optional):yu(t,r,n&I.Optional)}finally{X(i)}}return nc(r,t,n)}function oc(e,t,n,r=I.Default,o){if(e!==null){if(t[D]&2048&&!(r&I.Self)){let s=dh(e,t,n,r,me);if(s!==me)return s}let i=ic(e,t,n,r,me);if(i!==me)return i}return rc(t,n,r,o)}function ic(e,t,n,r,o){let i=ch(n);if(typeof i=="function"){if(!Bu(t,e,r))return r&I.Host?nc(o,n,r):rc(t,n,r,o);try{let s;if(s=i(r),s==null&&!(r&I.Optional))Di(n);else return s}finally{Gu()}}else if(typeof i=="number"){let s=null,a=tc(e,t),u=Et,c=r&I.Host?t[ye][fe]:null;for((a===-1||r&I.SkipSelf)&&(u=a===-1?Ai(e,t):t[a+8],u===Et||!Ya(r,!1)?a=-1:(s=t[x],a=dr(u),t=fr(u,t)));a!==-1;){let l=t[x];if(Za(i,a,l.data)){let d=ah(a,t,n,s,r,c);if(d!==me)return d}u=t[a+8],u!==Et&&Ya(r,t[x].data[a+8]===c)&&Za(i,a,t)?(s=l,a=dr(u),t=fr(u,t)):a=-1}}return o}function ah(e,t,n,r,o,i){let s=t[x],a=s.data[e+8],u=r==null?Mi(a)&&Yo:r!=s&&(a.type&3)!==0,c=o&I.Host&&i===a,l=uh(a,s,n,u,c);return l!==null?tn(t,s,l,a):me}function uh(e,t,n,r,o){let i=e.providerIndexes,s=t.data,a=i&1048575,u=e.directiveStart,c=e.directiveEnd,l=i>>20,d=r?a:a+l,f=o?a+l:c;for(let h=d;h<f;h++){let E=s[h];if(h<u&&n===E||h>=u&&E.type===n)return h}if(o){let h=s[u];if(h&&un(h)&&h.type===n)return u}return null}function tn(e,t,n,r){let o=e[n],i=t.data;if(Xf(o)){let s=o;s.resolving&&zd(Hd(i[n]));let a=qa(s.canSeeViewProviders);s.resolving=!0;let u,c=s.injectImpl?X(s.injectImpl):null,l=Bu(e,r,I.Default);try{o=e[n]=s.factory(void 0,i,e,r),t.firstCreatePass&&n>=r.directiveStart&&Kf(n,i[n],t)}finally{c!==null&&X(c),qa(a),s.resolving=!1,Gu()}}return o}function ch(e){if(typeof e=="string")return e.charCodeAt(0)||0;let t=e.hasOwnProperty(Gt)?e[Gt]:void 0;return typeof t=="number"?t>=0?t&Ju:lh:t}function Za(e,t,n){let r=1<<e;return!!(n[t+(e>>Xu)]&r)}function Ya(e,t){return!(e&I.Self)&&!(e&I.Host&&t)}var qe=class{constructor(t,n){this._tNode=t,this._lView=n}get(t,n,r){return oc(this._tNode,this._lView,t,Ir(r),n)}};function lh(){return new qe(Ve(),ne())}function Ni(e){return br(()=>{let t=e.prototype.constructor,n=t[sr]||Qo(t),r=Object.prototype,o=Object.getPrototypeOf(e.prototype).constructor;for(;o&&o!==r;){let i=o[sr]||Qo(o);if(i&&i!==n)return i;o=Object.getPrototypeOf(o)}return i=>new i})}function Qo(e){return hu(e)?()=>{let t=Qo(ee(e));return t&&t()}:bt(e)}function dh(e,t,n,r,o){let i=e,s=t;for(;i!==null&&s!==null&&s[D]&2048&&!(s[D]&512);){let a=ic(i,s,n,r|I.Self,me);if(a!==me)return a;let u=i.parent;if(!u){let c=s[_u];if(c){let l=c.get(n,me,r);if(l!==me)return l}u=sc(s),s=s[an]}i=u}return o}function sc(e){let t=e[x],n=t.type;return n===2?t.declTNode:n===1?e[fe]:null}function fh(e){return typeof e=="function"}function Ri(e,t){e.forEach(n=>Array.isArray(n)?Ri(n,t):t(n))}function ac(e,t,n){t>=e.length?e.push(n):e.splice(t,0,n)}function hr(e,t){return t>=e.length-1?e.pop():e.splice(t,1)[0]}var Mt=new _("ENVIRONMENT_INITIALIZER"),uc=new _("INJECTOR",-1),cc=new _("INJECTOR_DEF_TYPES"),pr=class{get(t,n=Yt){if(n===Yt){let r=new Error(`NullInjectorError: No provider for ${Y(t)}!`);throw r.name="NullInjectorError",r}return n}};function Nr(e){return{\u0275providers:e}}function hh(...e){return{\u0275providers:lc(!0,e),\u0275fromNgModule:!0}}function lc(e,...t){let n=[],r=new Set,o,i=s=>{n.push(s)};return Ri(t,s=>{let a=s;Ko(a,i,[],r)&&(o||=[],o.push(a))}),o!==void 0&&dc(o,i),n}function dc(e,t){for(let n=0;n<e.length;n++){let{ngModule:r,providers:o}=e[n];Oi(o,i=>{t(i,r)})}}function Ko(e,t,n,r){if(e=ee(e),!e)return!1;let o=null,i=Fa(e),s=!i&&Ze(e);if(!i&&!s){let u=e.ngModule;if(i=Fa(u),i)o=u;else return!1}else{if(s&&!s.standalone)return!1;o=e}let a=r.has(o);if(s){if(a)return!1;if(r.add(o),s.dependencies){let u=typeof s.dependencies=="function"?s.dependencies():s.dependencies;for(let c of u)Ko(c,t,n,r)}}else if(i){if(i.imports!=null&&!a){r.add(o);let c;try{Ri(i.imports,l=>{Ko(l,t,n,r)&&(c||=[],c.push(l))})}finally{}c!==void 0&&dc(c,t)}if(!a){let c=bt(o)||(()=>new o);t({provide:o,useFactory:c,deps:ge},o),t({provide:cc,useValue:o,multi:!0},o),t({provide:Mt,useValue:()=>b(o),multi:!0},o)}let u=i.providers;if(u!=null&&!a){let c=e;Oi(u,l=>{t(l,c)})}}else return!1;return o!==e&&e.providers!==void 0}function Oi(e,t){for(let n of e)pu(n)&&(n=n.\u0275providers),Array.isArray(n)?Oi(n,t):t(n)}var ph=O({provide:String,useValue:O});function fc(e){return e!==null&&typeof e=="object"&&ph in e}function gh(e){return!!(e&&e.useExisting)}function mh(e){return!!(e&&e.useFactory)}function Jo(e){return typeof e=="function"}var Rr=new _("Set Injector scope."),rr={},vh={},Fo;function Pi(){return Fo===void 0&&(Fo=new pr),Fo}var re=class{},nn=class extends re{get destroyed(){return this._destroyed}constructor(t,n,r,o){super(),this.parent=n,this.source=r,this.scopes=o,this.records=new Map,this._ngOnDestroyHooks=new Set,this._onDestroyHooks=[],this._destroyed=!1,ei(t,s=>this.processProvider(s)),this.records.set(uc,Dt(void 0,this)),o.has("environment")&&this.records.set(re,Dt(void 0,this));let i=this.records.get(Rr);i!=null&&typeof i.value=="string"&&this.scopes.add(i.value),this.injectorDefTypes=new Set(this.get(cc,ge,I.Self))}destroy(){this.assertNotDestroyed(),this._destroyed=!0;try{for(let n of this._ngOnDestroyHooks)n.ngOnDestroy();let t=this._onDestroyHooks;this._onDestroyHooks=[];for(let n of t)n()}finally{this.records.clear(),this._ngOnDestroyHooks.clear(),this.injectorDefTypes.clear()}}onDestroy(t){return this.assertNotDestroyed(),this._onDestroyHooks.push(t),()=>this.removeOnDestroy(t)}runInContext(t){this.assertNotDestroyed();let n=Fe(this),r=X(void 0),o;try{return t()}finally{Fe(n),X(r)}}get(t,n=Yt,r=I.Default){if(this.assertNotDestroyed(),t.hasOwnProperty(Oa))return t[Oa](this);r=Ir(r);let o,i=Fe(this),s=X(void 0);try{if(!(r&I.SkipSelf)){let u=this.records.get(t);if(u===void 0){let c=Ih(t)&&Er(t);c&&this.injectableDefInScope(c)?u=Dt(Xo(t),rr):u=null,this.records.set(t,u)}if(u!=null)return this.hydrate(t,u)}let a=r&I.Self?Pi():this.parent;return n=r&I.Optional&&n===Yt?null:n,a.get(t,n)}catch(a){if(a.name==="NullInjectorError"){if((a[ar]=a[ar]||[]).unshift(Y(t)),i)throw a;return rf(a,t,"R3InjectorError",this.source)}else throw a}finally{X(s),Fe(i)}}resolveInjectorInitializers(){let t=Fe(this),n=X(void 0),r;try{let o=this.get(Mt,ge,I.Self);for(let i of o)i()}finally{Fe(t),X(n)}}toString(){let t=[],n=this.records;for(let r of n.keys())t.push(Y(r));return`R3Injector[${t.join(", ")}]`}assertNotDestroyed(){if(this._destroyed)throw new v(205,!1)}processProvider(t){t=ee(t);let n=Jo(t)?t:ee(t&&t.provide),r=Dh(t);if(!Jo(t)&&t.multi===!0){let o=this.records.get(n);o||(o=Dt(void 0,rr,!0),o.factory=()=>zo(o.multi),this.records.set(n,o)),n=t,o.multi.push(t)}this.records.set(n,r)}hydrate(t,n){return n.value===rr&&(n.value=vh,n.value=n.factory()),typeof n.value=="object"&&n.value&&Eh(n.value)&&this._ngOnDestroyHooks.add(n.value),n.value}injectableDefInScope(t){if(!t.providedIn)return!1;let n=ee(t.providedIn);return typeof n=="string"?n==="any"||this.scopes.has(n):this.injectorDefTypes.has(n)}removeOnDestroy(t){let n=this._onDestroyHooks.indexOf(t);n!==-1&&this._onDestroyHooks.splice(n,1)}};function Xo(e){let t=Er(e),n=t!==null?t.factory:bt(e);if(n!==null)return n;if(e instanceof _)throw new v(204,!1);if(e instanceof Function)return yh(e);throw new v(204,!1)}function yh(e){if(e.length>0)throw new v(204,!1);let n=qd(e);return n!==null?()=>n.factory(e):()=>new e}function Dh(e){if(fc(e))return Dt(void 0,e.useValue);{let t=wh(e);return Dt(t,rr)}}function wh(e,t,n){let r;if(Jo(e)){let o=ee(e);return bt(o)||Xo(o)}else if(fc(e))r=()=>ee(e.useValue);else if(mh(e))r=()=>e.useFactory(...zo(e.deps||[]));else if(gh(e))r=()=>b(ee(e.useExisting));else{let o=ee(e&&(e.useClass||e.provide));if(Ch(e))r=()=>new o(...zo(e.deps));else return bt(o)||Xo(o)}return r}function Dt(e,t,n=!1){return{factory:e,value:t,multi:n?[]:void 0}}function Ch(e){return!!e.deps}function Eh(e){return e!==null&&typeof e=="object"&&typeof e.ngOnDestroy=="function"}function Ih(e){return typeof e=="function"||typeof e=="object"&&e instanceof _}function ei(e,t){for(let n of e)Array.isArray(n)?ei(n,t):n&&pu(n)?ei(n.\u0275providers,t):t(n)}function Xe(e,t){e instanceof nn&&e.assertNotDestroyed();let n,r=Fe(e),o=X(void 0);try{return t()}finally{Fe(r),X(o)}}function Qa(e,t=null,n=null,r){let o=hc(e,t,n,r);return o.resolveInjectorInitializers(),o}function hc(e,t=null,n=null,r,o=new Set){let i=[n||ge,hh(e)];return r=r||(typeof e=="object"?void 0:Y(e)),new nn(i,t||Pi(),r||null,o)}var xt=(()=>{let t=class t{static create(r,o){if(Array.isArray(r))return Qa({name:""},o,r,"");{let i=r.name??"";return Qa({name:i},r.parent,r.providers,i)}}};t.THROW_IF_NOT_FOUND=Yt,t.NULL=new pr,t.\u0275prov=w({token:t,providedIn:"any",factory:()=>b(uc)}),t.__NG_ELEMENT_ID__=-1;let e=t;return e})();var ti;function pc(e){ti=e}function bh(){if(ti!==void 0)return ti;if(typeof document<"u")return document;throw new v(210,!1)}var Fi=new _("AppId",{providedIn:"root",factory:()=>Mh}),Mh="ng",ki=new _("Platform Initializer"),_t=new _("Platform ID",{providedIn:"platform",factory:()=>"unknown"});var Li=new _("CSP nonce",{providedIn:"root",factory:()=>bh().body?.querySelector("[ngCspNonce]")?.getAttribute("ngCspNonce")||null});function gc(e){return e instanceof Function?e():e}function mc(e){return(e.flags&128)===128}var et=function(e){return e[e.Important=1]="Important",e[e.DashCase=2]="DashCase",e}(et||{});var vc=new Map,Sh=0;function Th(){return Sh++}function xh(e){vc.set(e[Tr],e)}function _h(e){vc.delete(e[Tr])}var Ka="__ngContext__";function St(e,t){Ct(t)?(e[Ka]=t[Tr],xh(t)):e[Ka]=t}var Ah;function ji(e,t){return Ah(e,t)}function wt(e,t,n,r,o){if(r!=null){let i,s=!1;_e(r)?i=r:Ct(r)&&(s=!0,r=r[xe]);let a=Se(r);e===0&&n!==null?o==null?Ec(t,n,a):gr(t,n,a,o||null,!0):e===1&&n!==null?gr(t,n,a,o||null,!0):e===2?qh(t,a,s):e===3&&t.destroyNode(a),i!=null&&Yh(t,e,i,n,o)}}function Nh(e,t){return e.createText(t)}function Rh(e,t,n){e.setValue(t,n)}function yc(e,t,n){return e.createElement(t,n)}function Oh(e,t){Dc(e,t),t[xe]=null,t[fe]=null}function Ph(e,t,n,r,o,i){r[xe]=o,r[fe]=t,Or(e,r,n,1,o,i)}function Dc(e,t){t[Me].changeDetectionScheduler?.notify(),Or(e,t,t[de],2,null,null)}function Fh(e){let t=e[Kt];if(!t)return ko(e[x],e);for(;t;){let n=null;if(Ct(t))n=t[Kt];else{let r=t[te];r&&(n=r)}if(!n){for(;t&&!t[le]&&t!==e;)Ct(t)&&ko(t[x],t),t=t[z];t===null&&(t=e),Ct(t)&&ko(t[x],t),n=t&&t[le]}t=n}}function kh(e,t,n,r){let o=te+r,i=n.length;r>0&&(n[o-1][le]=t),r<i-te?(t[le]=n[o],ac(n,te+r,t)):(n.push(t),t[le]=null),t[z]=n;let s=t[Ei];s!==null&&n!==s&&Lh(s,t);let a=t[Ii];a!==null&&a.insertView(e),qo(t),t[D]|=128}function Lh(e,t){let n=e[lr],o=t[z][z][ye];t[ye]!==o&&(e[D]|=bi.HasTransplantedViews),n===null?e[lr]=[t]:n.push(t)}function wc(e,t){let n=e[lr],r=n.indexOf(t);n.splice(r,1)}function ni(e,t){if(e.length<=te)return;let n=te+t,r=e[n];if(r){let o=r[Ei];o!==null&&o!==e&&wc(o,r),t>0&&(e[n-1][le]=r[le]);let i=hr(e,te+t);Oh(r[x],r);let s=i[Ii];s!==null&&s.detachView(i[x]),r[z]=null,r[le]=null,r[D]&=-129}return r}function Cc(e,t){if(!(t[D]&256)){let n=t[de];n.destroyNode&&Or(e,t,n,3,null,null),Fh(t)}}function ko(e,t){if(!(t[D]&256)){t[D]&=-129,t[D]|=256,t[Ye]&&na(t[Ye]),Vh(e,t),jh(e,t),t[x].type===1&&t[de].destroy();let n=t[Ei];if(n!==null&&_e(t[z])){n!==t[z]&&wc(n,t);let r=t[Ii];r!==null&&r.detachView(e)}_h(t)}}function jh(e,t){let n=e.cleanup,r=t[Ua];if(n!==null)for(let i=0;i<n.length-1;i+=2)if(typeof n[i]=="string"){let s=n[i+3];s>=0?r[s]():r[-s].unsubscribe(),i+=2}else{let s=r[n[i+1]];n[i].call(s)}r!==null&&(t[Ua]=null);let o=t[Zt];if(o!==null){t[Zt]=null;for(let i=0;i<o.length;i++){let s=o[i];s()}}}function Vh(e,t){let n;if(e!=null&&(n=e.destroyHooks)!=null)for(let r=0;r<n.length;r+=2){let o=t[n[r]];if(!(o instanceof en)){let i=n[r+1];if(Array.isArray(i))for(let s=0;s<i.length;s+=2){let a=o[i[s]],u=i[s+1];ke(4,a,u);try{u.call(a)}finally{ke(5,a,u)}}else{ke(4,o,i);try{i.call(o)}finally{ke(5,o,i)}}}}}function $h(e,t,n){return Bh(e,t.parent,n)}function Bh(e,t,n){let r=t;for(;r!==null&&r.type&40;)t=r,r=t.parent;if(r===null)return n[xe];{let{componentOffset:o}=r;if(o>-1){let{encapsulation:i}=e.data[r.directiveStart+o];if(i===ve.None||i===ve.Emulated)return null}return Ae(r,n)}}function gr(e,t,n,r,o){e.insertBefore(t,n,r,o)}function Ec(e,t,n){e.appendChild(t,n)}function Ja(e,t,n,r,o){r!==null?gr(e,t,n,r,o):Ec(e,t,n)}function Uh(e,t,n,r){e.removeChild(t,n,r)}function Vi(e,t){return e.parentNode(t)}function Hh(e,t){return e.nextSibling(t)}function zh(e,t,n){return Wh(e,t,n)}function Gh(e,t,n){return e.type&40?Ae(e,n):null}var Wh=Gh,Xa;function Ic(e,t,n,r){let o=$h(e,r,t),i=t[de],s=r.parent||t[fe],a=zh(s,r,t);if(o!=null)if(Array.isArray(n))for(let u=0;u<n.length;u++)Ja(i,o,n[u],a,!1);else Ja(i,o,n,a,!1);Xa!==void 0&&Xa(i,r,t,n,o)}function or(e,t){if(t!==null){let n=t.type;if(n&3)return Ae(t,e);if(n&4)return ri(-1,e[t.index]);if(n&8){let r=t.child;if(r!==null)return or(e,r);{let o=e[t.index];return _e(o)?ri(-1,o):Se(o)}}else{if(n&32)return ji(t,e)()||Se(e[t.index]);{let r=bc(e,t);if(r!==null){if(Array.isArray(r))return r[0];let o=Xt(e[ye]);return or(o,r)}else return or(e,t.next)}}}return null}function bc(e,t){if(t!==null){let r=e[ye][fe],o=t.projection;return r.projection[o]}return null}function ri(e,t){let n=te+e+1;if(n<t.length){let r=t[n],o=r[x].firstChild;if(o!==null)return or(r,o)}return t[Ke]}function qh(e,t,n){let r=Vi(e,t);r&&Uh(e,r,t,n)}function $i(e,t,n,r,o,i,s){for(;n!=null;){let a=r[n.index],u=n.type;if(s&&t===0&&(a&&St(Se(a),r),n.flags|=2),(n.flags&32)!==32)if(u&8)$i(e,t,n.child,r,o,i,!1),wt(t,e,o,a,i);else if(u&32){let c=ji(n,r),l;for(;l=c();)wt(t,e,o,l,i);wt(t,e,o,a,i)}else u&16?Zh(e,t,r,n,o,i):wt(t,e,o,a,i);n=s?n.projectionNext:n.next}}function Or(e,t,n,r,o,i){$i(n,r,e.firstChild,t,o,i,!1)}function Zh(e,t,n,r,o,i){let s=n[ye],u=s[fe].projection[r.projection];if(Array.isArray(u))for(let c=0;c<u.length;c++){let l=u[c];wt(t,e,o,l,i)}else{let c=u,l=s[z];mc(r)&&(c.flags|=128),$i(e,t,c,l,o,i,!0)}}function Yh(e,t,n,r,o){let i=n[Ke],s=Se(n);i!==s&&wt(t,e,r,i,o);for(let a=te;a<n.length;a++){let u=n[a];Or(u[x],u,e,t,r,i)}}function Qh(e,t,n){e.setAttribute(t,"style",n)}function Mc(e,t,n){n===""?e.removeAttribute(t,"class"):e.setAttribute(t,"class",n)}function Sc(e,t,n){let{mergedAttrs:r,classes:o,styles:i}=n;r!==null&&Go(e,t,r),o!==null&&Mc(e,t,o),i!==null&&Qh(e,t,i)}var oi=class{};var Kh="h",Jh="b";var Xh=()=>null;function Bi(e,t,n=!1){return Xh(e,t,n)}var ii=class{},mr=class{};function ep(e){let t=Error(`No component factory found for ${Y(e)}.`);return t[tp]=e,t}var tp="ngComponent";var si=class{resolveComponentFactory(t){throw ep(t)}},Pr=(()=>{let t=class t{};t.NULL=new si;let e=t;return e})();function np(){return Ui(Ve(),ne())}function Ui(e,t){return new Fr(Ae(e,t))}var Fr=(()=>{let t=class t{constructor(r){this.nativeElement=r}};t.__NG_ELEMENT_ID__=np;let e=t;return e})();var rn=class{};var rp=(()=>{let t=class t{};t.\u0275prov=w({token:t,providedIn:"root",factory:()=>null});let e=t;return e})(),Lo={};function vr(e,t,n,r,o=!1){for(;n!==null;){let i=t[n.index];i!==null&&r.push(Se(i)),_e(i)&&op(i,r);let s=n.type;if(s&8)vr(e,t,n.child,r);else if(s&32){let a=ji(n,t),u;for(;u=a();)r.push(u)}else if(s&16){let a=bc(t,n);if(Array.isArray(a))r.push(...a);else{let u=Xt(t[ye]);vr(u[x],u,a,r,!0)}}n=o?n.projectionNext:n.next}return r}function op(e,t){for(let n=te;n<e.length;n++){let r=e[n],o=r[x].firstChild;o!==null&&vr(r[x],r,o,t)}e[Ke]!==e[xe]&&t.push(e[Ke])}var Tc=[];function ip(e){return e[Ye]??sp(e)}function sp(e){let t=Tc.pop()??Object.create(up);return t.lView=e,t}function ap(e){e.lView[Ye]!==e&&(e.lView=null,Tc.push(e))}var up=k(g({},Xs),{consumerIsAlwaysLive:!0,consumerMarkedDirty:e=>{Jt(e.lView)},consumerOnSignalRead(){this.lView[Ye]=this}});function xc(e){return Ac(e[Kt])}function _c(e){return Ac(e[le])}function Ac(e){for(;e!==null&&!_e(e);)e=e[le];return e}var cp="ngOriginalError";function jo(e){return e[cp]}var Te=class{constructor(){this._console=console}handleError(t){let n=this._findOriginalError(t);this._console.error("ERROR",t),n&&this._console.error("ORIGINAL ERROR",n)}_findOriginalError(t){let n=t&&jo(t);for(;n&&jo(n);)n=jo(n);return n||null}},Nc=new _("",{providedIn:"root",factory:()=>p(Te).handleError.bind(void 0)});var Rc=!1,lp=new _("",{providedIn:"root",factory:()=>Rc});var kr={};function Oc(e=1){Pc(_r(),ne(),_i()+e,!1)}function Pc(e,t,n,r){if(!r)if((t[D]&3)===3){let i=e.preOrderCheckHooks;i!==null&&tr(t,i,n)}else{let i=e.preOrderHooks;i!==null&&nr(t,i,0,n)}Je(n)}function Hi(e,t=I.Default){let n=ne();if(n===null)return b(e,t);let r=Ve();return oc(r,n,ee(e),t)}function dp(e,t){let n=e.hostBindingOpCodes;if(n!==null)try{for(let r=0;r<n.length;r++){let o=n[r];if(o<0)Je(~o);else{let i=o,s=n[++r],a=n[++r];qf(s,i);let u=t[i];a(2,u)}}}finally{Je(-1)}}function zi(e,t,n,r,o,i,s,a,u,c,l){let d=t.blueprint.slice();return d[xe]=o,d[D]=r|4|128|8|64,(c!==null||e&&e[D]&2048)&&(d[D]|=2048),Fu(d),d[z]=d[an]=e,d[Le]=n,d[Me]=s||e&&e[Me],d[de]=a||e&&e[de],d[It]=u||e&&e[It]||null,d[fe]=i,d[Tr]=Th(),d[ur]=l,d[_u]=c,d[ye]=t.type==2?e[ye]:d,d}function Gi(e,t,n,r,o){let i=e.data[t];if(i===null)i=fp(e,t,n,r,o),Wf()&&(i.flags|=32);else if(i.type&64){i.type=n,i.value=r,i.attrs=o;let s=Bf();i.injectorIndex=s===null?-1:s.injectorIndex}return Ar(i,!0),i}function fp(e,t,n,r,o){let i=ju(),s=Vu(),a=s?i:i&&i.parent,u=e.data[t]=Dp(e,a,n,t,r,o);return e.firstChild===null&&(e.firstChild=u),i!==null&&(s?i.child==null&&u.parent!==null&&(i.child=u):i.next===null&&(i.next=u,u.prev=i)),u}function Fc(e,t,n,r){if(n===0)return-1;let o=t.length;for(let i=0;i<n;i++)t.push(r),e.blueprint.push(r),e.data.push(null);return o}function kc(e,t,n,r,o){let i=_i(),s=r&2;try{Je(-1),s&&t.length>Qe&&Pc(e,t,Qe,!1),ke(s?2:0,o),n(r,o)}finally{Je(i),ke(s?3:1,o)}}function Lc(e,t,n){if(Nu(t)){let r=W(null);try{let o=t.directiveStart,i=t.directiveEnd;for(let s=o;s<i;s++){let a=e.data[s];a.contentQueries&&a.contentQueries(1,n[s],s)}}finally{W(r)}}}function hp(e,t,n){Lu()&&(bp(e,t,n,Ae(n,t)),(n.flags&64)===64&&Bc(e,t,n))}function pp(e,t,n=Ae){let r=t.localNames;if(r!==null){let o=t.index+1;for(let i=0;i<r.length;i+=2){let s=r[i+1],a=s===-1?n(t,e):e[s];e[o++]=a}}}function jc(e){let t=e.tView;return t===null||t.incompleteFirstPass?e.tView=Vc(1,null,e.template,e.decls,e.vars,e.directiveDefs,e.pipeDefs,e.viewQuery,e.schemas,e.consts,e.id):t}function Vc(e,t,n,r,o,i,s,a,u,c,l){let d=Qe+r,f=d+o,h=gp(d,f),E=typeof c=="function"?c():c;return h[x]={type:e,blueprint:h,template:n,queries:null,viewQuery:a,declTNode:t,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:u,consts:E,incompleteFirstPass:!1,ssrId:l}}function gp(e,t){let n=[];for(let r=0;r<t;r++)n.push(r<e?null:kr);return n}function mp(e,t,n,r){let i=r.get(lp,Rc)||n===ve.ShadowDom,s=e.selectRootElement(t,i);return vp(s),s}function vp(e){yp(e)}var yp=()=>null;function Dp(e,t,n,r,o,i){let s=t?t.injectorIndex:-1,a=0;return jf()&&(a|=128),{type:n,index:r,insertBeforeIndex:null,injectorIndex:s,directiveStart:-1,directiveEnd:-1,directiveStylingLast:-1,componentOffset:-1,propertyBindings:null,flags:a,providerIndexes:0,value:o,attrs:i,mergedAttrs:null,localNames:null,initialInputs:void 0,inputs:null,outputs:null,tView:null,next:null,prev:null,projectionNext:null,child:null,parent:t,projection:null,styles:null,stylesWithoutHost:null,residualStyles:void 0,classes:null,classesWithoutHost:null,residualClasses:void 0,classBindings:0,styleBindings:0}}function eu(e,t,n,r){for(let o in e)if(e.hasOwnProperty(o)){n=n===null?{}:n;let i=e[o];r===null?tu(n,t,o,i):r.hasOwnProperty(o)&&tu(n,t,r[o],i)}return n}function tu(e,t,n,r){e.hasOwnProperty(n)?e[n].push(t,r):e[n]=[t,r]}function wp(e,t,n){let r=t.directiveStart,o=t.directiveEnd,i=e.data,s=t.attrs,a=[],u=null,c=null;for(let l=r;l<o;l++){let d=i[l],f=n?n.get(d):null,h=f?f.inputs:null,E=f?f.outputs:null;u=eu(d.inputs,l,u,h),c=eu(d.outputs,l,c,E);let P=u!==null&&s!==null&&!Eu(t)?Op(u,l,s):null;a.push(P)}u!==null&&(u.hasOwnProperty("class")&&(t.flags|=8),u.hasOwnProperty("style")&&(t.flags|=16)),t.initialInputs=a,t.inputs=u,t.outputs=c}function Cp(e,t,n,r){if(Lu()){let o=r===null?null:{"":-1},i=Sp(e,n),s,a;i===null?s=a=null:[s,a]=i,s!==null&&$c(e,t,n,s,o,a),o&&Tp(n,r,o)}n.mergedAttrs=wi(n.mergedAttrs,n.attrs)}function $c(e,t,n,r,o,i){for(let c=0;c<r.length;c++)sh(ec(n,t),e,r[c].type);_p(n,e.data.length,r.length);for(let c=0;c<r.length;c++){let l=r[c];l.providersResolver&&l.providersResolver(l)}let s=!1,a=!1,u=Fc(e,t,r.length,null);for(let c=0;c<r.length;c++){let l=r[c];n.mergedAttrs=wi(n.mergedAttrs,l.hostAttrs),Ap(e,n,t,u,l),xp(u,l,o),l.contentQueries!==null&&(n.flags|=4),(l.hostBindings!==null||l.hostAttrs!==null||l.hostVars!==0)&&(n.flags|=64);let d=l.type.prototype;!s&&(d.ngOnChanges||d.ngOnInit||d.ngDoCheck)&&((e.preOrderHooks??=[]).push(n.index),s=!0),!a&&(d.ngOnChanges||d.ngDoCheck)&&((e.preOrderCheckHooks??=[]).push(n.index),a=!0),u++}wp(e,n,i)}function Ep(e,t,n,r,o){let i=o.hostBindings;if(i){let s=e.hostBindingOpCodes;s===null&&(s=e.hostBindingOpCodes=[]);let a=~t.index;Ip(s)!=a&&s.push(a),s.push(n,r,i)}}function Ip(e){let t=e.length;for(;t>0;){let n=e[--t];if(typeof n=="number"&&n<0)return n}return 0}function bp(e,t,n,r){let o=n.directiveStart,i=n.directiveEnd;Mi(n)&&Np(t,n,e.data[o+n.componentOffset]),e.firstCreatePass||ec(n,t),St(r,t);let s=n.initialInputs;for(let a=o;a<i;a++){let u=e.data[a],c=tn(t,e,a,n);if(St(c,t),s!==null&&Rp(t,a-o,c,u,n,s),un(u)){let l=cn(n.index,t);l[Le]=tn(t,e,a,n)}}}function Bc(e,t,n){let r=n.directiveStart,o=n.directiveEnd,i=n.index,s=Zf();try{Je(i);for(let a=r;a<o;a++){let u=e.data[a],c=t[a];Zo(a),(u.hostBindings!==null||u.hostVars!==0||u.hostAttrs!==null)&&Mp(u,c)}}finally{Je(-1),Zo(s)}}function Mp(e,t){e.hostBindings!==null&&e.hostBindings(1,t)}function Sp(e,t){let n=e.directiveRegistry,r=null,o=null;if(n)for(let i=0;i<n.length;i++){let s=n[i];if(ff(t,s.selectors,!1))if(r||(r=[]),un(s))if(s.findHostDirectiveDefs!==null){let a=[];o=o||new Map,s.findHostDirectiveDefs(s,a,o),r.unshift(...a,s);let u=a.length;ai(e,t,u)}else r.unshift(s),ai(e,t,0);else o=o||new Map,s.findHostDirectiveDefs?.(s,r,o),r.push(s)}return r===null?null:[r,o]}function ai(e,t,n){t.componentOffset=n,(e.components??=[]).push(t.index)}function Tp(e,t,n){if(t){let r=e.localNames=[];for(let o=0;o<t.length;o+=2){let i=n[t[o+1]];if(i==null)throw new v(-301,!1);r.push(t[o],i)}}}function xp(e,t,n){if(n){if(t.exportAs)for(let r=0;r<t.exportAs.length;r++)n[t.exportAs[r]]=e;un(t)&&(n[""]=e)}}function _p(e,t,n){e.flags|=1,e.directiveStart=t,e.directiveEnd=t+n,e.providerIndexes=t}function Ap(e,t,n,r,o){e.data[r]=o;let i=o.factory||(o.factory=bt(o.type,!0)),s=new en(i,un(o),Hi);e.blueprint[r]=s,n[r]=s,Ep(e,t,r,Fc(e,n,o.hostVars,kr),o)}function Np(e,t,n){let r=Ae(t,e),o=jc(n),i=e[Me].rendererFactory,s=16;n.signals?s=4096:n.onPush&&(s=64);let a=Wi(e,zi(e,o,null,s,r,t,null,i.createRenderer(r,n),null,null,null));e[t.index]=a}function Rp(e,t,n,r,o,i){let s=i[t];if(s!==null)for(let a=0;a<s.length;){let u=s[a++],c=s[a++],l=s[a++];Uc(r,n,u,c,l)}}function Uc(e,t,n,r,o){let i=W(null);try{let s=e.inputTransforms;s!==null&&s.hasOwnProperty(r)&&(o=s[r].call(t,o)),e.setInput!==null?e.setInput(t,o,n,r):t[r]=o}finally{W(i)}}function Op(e,t,n){let r=null,o=0;for(;o<n.length;){let i=n[o];if(i===0){o+=4;continue}else if(i===5){o+=2;continue}if(typeof i=="number")break;if(e.hasOwnProperty(i)){r===null&&(r=[]);let s=e[i];for(let a=0;a<s.length;a+=2)if(s[a]===t){r.push(i,s[a+1],n[o+1]);break}}o+=2}return r}function Pp(e,t,n,r){return[e,!0,0,t,null,r,null,n,null,null]}function Hc(e,t){let n=e.contentQueries;if(n!==null){let r=W(null);try{for(let o=0;o<n.length;o+=2){let i=n[o],s=n[o+1];if(s!==-1){let a=e.data[s];$u(i),a.contentQueries(2,t[s],s)}}}finally{W(r)}}}function Wi(e,t){return e[Kt]?e[Ha][le]=t:e[Kt]=t,e[Ha]=t,t}function ui(e,t,n){$u(0);let r=W(null);try{t(e,n)}finally{W(r)}}function Fp(e,t){let n=e[It],r=n?n.get(Te,null):null;r&&r.handleError(t)}function zc(e,t,n,r,o){for(let i=0;i<n.length;){let s=n[i++],a=n[i++],u=t[s],c=e.data[s];Uc(c,u,r,a,o)}}function kp(e,t,n){let r=Af(t,e);Rh(e[de],r,n)}var Lp=100;function jp(e,t=!0){let n=e[Me],r=n.rendererFactory,o=!1;o||r.begin?.();try{Vp(e)}catch(i){throw t&&Fp(e,i),i}finally{o||(r.end?.(),n.inlineEffectRunner?.flush())}}function Vp(e){ci(e,0);let t=0;for(;ku(e);){if(t===Lp)throw new v(103,!1);t++,ci(e,1)}}function $p(e,t,n,r){let o=t[D];if((o&256)===256)return;let i=!1;!i&&t[Me].inlineEffectRunner?.flush(),Ti(t);let s=null,a=null;!i&&Bp(e)&&(a=ip(t),s=ea(a));try{Fu(t),zf(e.bindingStartIndex),n!==null&&kc(e,t,n,2,r);let u=(o&3)===3;if(!i)if(u){let d=e.preOrderCheckHooks;d!==null&&tr(t,d,null)}else{let d=e.preOrderHooks;d!==null&&nr(t,d,0,null),Oo(t,0)}if(Up(t),Gc(t,0),e.contentQueries!==null&&Hc(e,t),!i)if(u){let d=e.contentCheckHooks;d!==null&&tr(t,d)}else{let d=e.contentHooks;d!==null&&nr(t,d,1),Oo(t,1)}dp(e,t);let c=e.components;c!==null&&qc(t,c,0);let l=e.viewQuery;if(l!==null&&ui(2,l,r),!i)if(u){let d=e.viewCheckHooks;d!==null&&tr(t,d)}else{let d=e.viewHooks;d!==null&&nr(t,d,2),Oo(t,2)}if(e.firstUpdatePass===!0&&(e.firstUpdatePass=!1),t[Ro]){for(let d of t[Ro])d();t[Ro]=null}i||(t[D]&=-73)}catch(u){throw Jt(t),u}finally{a!==null&&(ta(a,s),ap(a)),xi()}}function Bp(e){return e.type!==2}function Gc(e,t){for(let n=xc(e);n!==null;n=_c(n))for(let r=te;r<n.length;r++){let o=n[r];Wc(o,t)}}function Up(e){for(let t=xc(e);t!==null;t=_c(t)){if(!(t[D]&bi.HasTransplantedViews))continue;let n=t[lr];for(let r=0;r<n.length;r++){let o=n[r],i=o[z];Of(o)}}}function Hp(e,t,n){let r=cn(t,e);Wc(r,n)}function Wc(e,t){Si(e)&&ci(e,t)}function ci(e,t){let r=e[x],o=e[D],i=e[Ye],s=!!(t===0&&o&16);if(s||=!!(o&64&&t===0),s||=!!(o&1024),s||=!!(i?.dirty&&ho(i)),i&&(i.dirty=!1),e[D]&=-9217,s)$p(r,e,r.template,e[Le]);else if(o&8192){Gc(e,1);let a=r.components;a!==null&&qc(e,a,1)}}function qc(e,t,n){for(let r=0;r<t.length;r++)Hp(e,t[r],n)}function Zc(e){for(e[Me].changeDetectionScheduler?.notify();e;){e[D]|=64;let t=Xt(e);if(Ef(e)&&!t)return e;e=t}return null}var Tt=class{get rootNodes(){let t=this._lView,n=t[x];return vr(n,t,n.firstChild,[])}constructor(t,n,r=!0){this._lView=t,this._cdRefInjectingView=n,this.notifyErrorHandler=r,this._appRef=null,this._attachedToViewContainer=!1}get context(){return this._lView[Le]}set context(t){this._lView[Le]=t}get destroyed(){return(this._lView[D]&256)===256}destroy(){if(this._appRef)this._appRef.detachView(this);else if(this._attachedToViewContainer){let t=this._lView[z];if(_e(t)){let n=t[cr],r=n?n.indexOf(this):-1;r>-1&&(ni(t,r),hr(n,r))}this._attachedToViewContainer=!1}Cc(this._lView[x],this._lView)}onDestroy(t){Pf(this._lView,t)}markForCheck(){Zc(this._cdRefInjectingView||this._lView)}detach(){this._lView[D]&=-129}reattach(){qo(this._lView),this._lView[D]|=128}detectChanges(){this._lView[D]|=1024,jp(this._lView,this.notifyErrorHandler)}checkNoChanges(){}attachToViewContainerRef(){if(this._appRef)throw new v(902,!1);this._attachedToViewContainer=!0}detachFromAppRef(){this._appRef=null,Dc(this._lView[x],this._lView)}attachToAppRef(t){if(this._attachedToViewContainer)throw new v(902,!1);this._appRef=t,qo(this._lView)}},Lr=(()=>{let t=class t{};t.__NG_ELEMENT_ID__=zp;let e=t;return e})();function zp(e){return Gp(Ve(),ne(),(e&16)===16)}function Gp(e,t,n){if(Mi(e)&&!n){let r=cn(e.index,t);return new Tt(r,r)}else if(e.type&47){let r=t[ye];return new Tt(r,t)}return null}var nu=new Set;function Yc(e){nu.has(e)||(nu.add(e),performance?.mark?.("mark_feature_usage",{detail:{feature:e}}))}var li=class extends Z{constructor(t=!1){super(),this.__isAsync=t}emit(t){super.next(t)}subscribe(t,n,r){let o=t,i=n||(()=>null),s=r;if(t&&typeof t=="object"){let u=t;o=u.next?.bind(u),i=u.error?.bind(u),s=u.complete?.bind(u)}this.__isAsync&&(i=Vo(i),o&&(o=Vo(o)),s&&(s=Vo(s)));let a=super.subscribe({next:o,error:i,complete:s});return t instanceof j&&t.add(a),a}};function Vo(e){return t=>{setTimeout(e,void 0,t)}}var ce=li;function ru(...e){}function Wp(){let e=typeof Wt.requestAnimationFrame=="function",t=Wt[e?"requestAnimationFrame":"setTimeout"],n=Wt[e?"cancelAnimationFrame":"clearTimeout"];if(typeof Zone<"u"&&t&&n){let r=t[Zone.__symbol__("OriginalDelegate")];r&&(t=r);let o=n[Zone.__symbol__("OriginalDelegate")];o&&(n=o)}return{nativeRequestAnimationFrame:t,nativeCancelAnimationFrame:n}}var L=class e{constructor({enableLongStackTrace:t=!1,shouldCoalesceEventChangeDetection:n=!1,shouldCoalesceRunChangeDetection:r=!1}){if(this.hasPendingMacrotasks=!1,this.hasPendingMicrotasks=!1,this.isStable=!0,this.onUnstable=new ce(!1),this.onMicrotaskEmpty=new ce(!1),this.onStable=new ce(!1),this.onError=new ce(!1),typeof Zone>"u")throw new v(908,!1);Zone.assertZonePatched();let o=this;o._nesting=0,o._outer=o._inner=Zone.current,Zone.TaskTrackingZoneSpec&&(o._inner=o._inner.fork(new Zone.TaskTrackingZoneSpec)),t&&Zone.longStackTraceZoneSpec&&(o._inner=o._inner.fork(Zone.longStackTraceZoneSpec)),o.shouldCoalesceEventChangeDetection=!r&&n,o.shouldCoalesceRunChangeDetection=r,o.lastRequestAnimationFrameId=-1,o.nativeRequestAnimationFrame=Wp().nativeRequestAnimationFrame,Yp(o)}static isInAngularZone(){return typeof Zone<"u"&&Zone.current.get("isAngularZone")===!0}static assertInAngularZone(){if(!e.isInAngularZone())throw new v(909,!1)}static assertNotInAngularZone(){if(e.isInAngularZone())throw new v(909,!1)}run(t,n,r){return this._inner.run(t,n,r)}runTask(t,n,r,o){let i=this._inner,s=i.scheduleEventTask("NgZoneEvent: "+o,t,qp,ru,ru);try{return i.runTask(s,n,r)}finally{i.cancelTask(s)}}runGuarded(t,n,r){return this._inner.runGuarded(t,n,r)}runOutsideAngular(t){return this._outer.run(t)}},qp={};function qi(e){if(e._nesting==0&&!e.hasPendingMicrotasks&&!e.isStable)try{e._nesting++,e.onMicrotaskEmpty.emit(null)}finally{if(e._nesting--,!e.hasPendingMicrotasks)try{e.runOutsideAngular(()=>e.onStable.emit(null))}finally{e.isStable=!0}}}function Zp(e){e.isCheckStableRunning||e.lastRequestAnimationFrameId!==-1||(e.lastRequestAnimationFrameId=e.nativeRequestAnimationFrame.call(Wt,()=>{e.fakeTopEventTask||(e.fakeTopEventTask=Zone.root.scheduleEventTask("fakeTopEventTask",()=>{e.lastRequestAnimationFrameId=-1,di(e),e.isCheckStableRunning=!0,qi(e),e.isCheckStableRunning=!1},void 0,()=>{},()=>{})),e.fakeTopEventTask.invoke()}),di(e))}function Yp(e){let t=()=>{Zp(e)};e._inner=e._inner.fork({name:"angular",properties:{isAngularZone:!0},onInvokeTask:(n,r,o,i,s,a)=>{if(Qp(a))return n.invokeTask(o,i,s,a);try{return ou(e),n.invokeTask(o,i,s,a)}finally{(e.shouldCoalesceEventChangeDetection&&i.type==="eventTask"||e.shouldCoalesceRunChangeDetection)&&t(),iu(e)}},onInvoke:(n,r,o,i,s,a,u)=>{try{return ou(e),n.invoke(o,i,s,a,u)}finally{e.shouldCoalesceRunChangeDetection&&t(),iu(e)}},onHasTask:(n,r,o,i)=>{n.hasTask(o,i),r===o&&(i.change=="microTask"?(e._hasPendingMicrotasks=i.microTask,di(e),qi(e)):i.change=="macroTask"&&(e.hasPendingMacrotasks=i.macroTask))},onHandleError:(n,r,o,i)=>(n.handleError(o,i),e.runOutsideAngular(()=>e.onError.emit(i)),!1)})}function di(e){e._hasPendingMicrotasks||(e.shouldCoalesceEventChangeDetection||e.shouldCoalesceRunChangeDetection)&&e.lastRequestAnimationFrameId!==-1?e.hasPendingMicrotasks=!0:e.hasPendingMicrotasks=!1}function ou(e){e._nesting++,e.isStable&&(e.isStable=!1,e.onUnstable.emit(null))}function iu(e){e._nesting--,qi(e)}function Qp(e){return!Array.isArray(e)||e.length!==1?!1:e[0].data?.__ignore_ng_zone__===!0}var Qc=(()=>{let t=class t{constructor(){this.handler=null,this.internalCallbacks=[]}execute(){let r=[...this.internalCallbacks];this.internalCallbacks.length=0;for(let i of r)i();return!!this.handler?.execute()||r.length>0}ngOnDestroy(){this.handler?.destroy(),this.handler=null,this.internalCallbacks.length=0}};t.\u0275prov=w({token:t,providedIn:"root",factory:()=>new t});let e=t;return e})();function Kp(e,t){let n=cn(t,e),r=n[x];Jp(r,n);let o=n[xe];o!==null&&n[ur]===null&&(n[ur]=Bi(o,n[It])),Kc(r,n,n[Le])}function Jp(e,t){for(let n=t.length;n<e.blueprint.length;n++)t.push(e.blueprint[n])}function Kc(e,t,n){Ti(t);try{let r=e.viewQuery;r!==null&&ui(1,r,n);let o=e.template;o!==null&&kc(e,t,o,1,n),e.firstCreatePass&&(e.firstCreatePass=!1),e.staticContentQueries&&Hc(e,t),e.staticViewQueries&&ui(2,e.viewQuery,n);let i=e.components;i!==null&&Xp(t,i)}catch(r){throw e.firstCreatePass&&(e.incompleteFirstPass=!0,e.firstCreatePass=!1),r}finally{t[D]&=-5,xi()}}function Xp(e,t){for(let n=0;n<t.length;n++)Kp(e,t[n])}function fi(e,t,n){let r=n?e.styles:null,o=n?e.classes:null,i=0;if(t!==null)for(let s=0;s<t.length;s++){let a=t[s];if(typeof a=="number")i=a;else if(i==1)o=Ra(o,a);else if(i==2){let u=a,c=t[++s];r=Ra(r,u+": "+c+";")}}n?e.styles=r:e.stylesWithoutHost=r,n?e.classes=o:e.classesWithoutHost=o}var yr=class extends Pr{constructor(t){super(),this.ngModule=t}resolveComponentFactory(t){let n=Ze(t);return new on(n,this.ngModule)}};function su(e){let t=[];for(let n in e)if(e.hasOwnProperty(n)){let r=e[n];t.push({propName:r,templateName:n})}return t}function eg(e){let t=e.toLowerCase();return t==="svg"?Sf:t==="math"?Tf:null}var hi=class{constructor(t,n){this.injector=t,this.parentInjector=n}get(t,n,r){r=Ir(r);let o=this.injector.get(t,Lo,r);return o!==Lo||n===Lo?o:this.parentInjector.get(t,n,r)}},on=class extends mr{get inputs(){let t=this.componentDef,n=t.inputTransforms,r=su(t.inputs);if(n!==null)for(let o of r)n.hasOwnProperty(o.propName)&&(o.transform=n[o.propName]);return r}get outputs(){return su(this.componentDef.outputs)}constructor(t,n){super(),this.componentDef=t,this.ngModule=n,this.componentType=t.type,this.selector=mf(t.selectors),this.ngContentSelectors=t.ngContentSelectors?t.ngContentSelectors:[],this.isBoundToModule=!!n}create(t,n,r,o){o=o||this.ngModule;let i=o instanceof re?o:o?.injector;i&&this.componentDef.getStandaloneInjector!==null&&(i=this.componentDef.getStandaloneInjector(i)||i);let s=i?new hi(t,i):t,a=s.get(rn,null);if(a===null)throw new v(407,!1);let u=s.get(rp,null),c=s.get(Qc,null),l=s.get(oi,null),d={rendererFactory:a,sanitizer:u,inlineEffectRunner:null,afterRenderEventManager:c,changeDetectionScheduler:l},f=a.createRenderer(null,this.componentDef),h=this.componentDef.selectors[0][0]||"div",E=r?mp(f,r,this.componentDef.encapsulation,s):yc(f,h,eg(h)),P=512;this.componentDef.signals?P|=4096:this.componentDef.onPush||(P|=16);let he=null;E!==null&&(he=Bi(E,s,!0));let F=Vc(0,null,null,1,0,null,null,null,null,null,null),Ee=zi(null,F,null,P,null,null,d,f,s,null,he);Ti(Ee);let Ys,On;try{let Ne=this.componentDef,st,lo=null;Ne.findHostDirectiveDefs?(st=[],lo=new Map,Ne.findHostDirectiveDefs(Ne,st,lo),st.push(Ne)):st=[Ne];let sd=tg(Ee,E),ad=ng(sd,E,Ne,st,Ee,d,f);On=Nf(F,Qe),E&&ig(f,Ne,E,r),n!==void 0&&sg(On,this.ngContentSelectors,n),Ys=og(ad,Ne,st,lo,Ee,[ag]),Kc(F,Ee,null)}finally{xi()}return new pi(this.componentType,Ys,Ui(On,Ee),Ee,On)}},pi=class extends ii{constructor(t,n,r,o,i){super(),this.location=r,this._rootLView=o,this._tNode=i,this.previousInputValues=null,this.instance=n,this.hostView=this.changeDetectorRef=new Tt(o,void 0,!1),this.componentType=t}setInput(t,n){let r=this._tNode.inputs,o;if(r!==null&&(o=r[t])){if(this.previousInputValues??=new Map,this.previousInputValues.has(t)&&Object.is(this.previousInputValues.get(t),n))return;let i=this._rootLView;zc(i[x],i,o,t,n),this.previousInputValues.set(t,n);let s=cn(this._tNode.index,i);Zc(s)}}get injector(){return new qe(this._tNode,this._rootLView)}destroy(){this.hostView.destroy()}onDestroy(t){this.hostView.onDestroy(t)}};function tg(e,t){let n=e[x],r=Qe;return e[r]=t,Gi(n,r,2,"#host",null)}function ng(e,t,n,r,o,i,s){let a=o[x];rg(r,e,t,s);let u=null;t!==null&&(u=Bi(t,o[It]));let c=i.rendererFactory.createRenderer(t,n),l=16;n.signals?l=4096:n.onPush&&(l=64);let d=zi(o,jc(n),null,l,o[e.index],e,i,c,null,null,u);return a.firstCreatePass&&ai(a,e,r.length-1),Wi(o,d),o[e.index]=d}function rg(e,t,n,r){for(let o of e)t.mergedAttrs=wi(t.mergedAttrs,o.hostAttrs);t.mergedAttrs!==null&&(fi(t,t.mergedAttrs,!0),n!==null&&Sc(r,n,t))}function og(e,t,n,r,o,i){let s=Ve(),a=o[x],u=Ae(s,o);$c(a,o,s,n,null,r);for(let l=0;l<n.length;l++){let d=s.directiveStart+l,f=tn(o,a,d,s);St(f,o)}Bc(a,o,s),u&&St(u,o);let c=tn(o,a,s.directiveStart+s.componentOffset,s);if(e[Le]=o[Le]=c,i!==null)for(let l of i)l(c,t);return Lc(a,s,e),c}function ig(e,t,n,r){if(r)Go(e,n,["ng-version","17.0.9"]);else{let{attrs:o,classes:i}=vf(t.selectors[0]);o&&Go(e,n,o),i&&i.length>0&&Mc(e,n,i.join(" "))}}function sg(e,t,n){let r=e.projection=[];for(let o=0;o<t.length;o++){let i=n[o];r.push(i!=null?Array.from(i):null)}}function ag(){let e=Ve();Yu(ne()[x],e)}function au(e,t,n){let r=e[t];return Object.is(r,n)?!1:(e[t]=n,!0)}function ug(e,t,n,r){let o=au(e,t,n);return au(e,t+1,r)||o}function cg(e,t,n,r,o,i){let s=Hf(),a=ug(e,s,n,o);return Gf(2),a?t+Uo(n)+r+Uo(o)+i:kr}function uu(e,t,n,r,o){let i=t.inputs,s=o?"class":"style";zc(e,n,i[s],s,r)}var GI=new RegExp(`^(\\d+)*(${Jh}|${Kh})*(.*)`);var lg=()=>null;function cu(e,t){return lg(e,t)}function lu(e,t){return!t||t.firstChild===null||mc(e)}function dg(e,t,n,r=!0){let o=t[x];if(kh(o,t,e,n),r){let s=ri(n,e),a=t[de],u=Vi(a,e[Ke]);u!==null&&Ph(o,e[fe],a,t,u,s)}let i=t[ur];i!==null&&i.firstChild!==null&&(i.firstChild=null)}var jr=(()=>{let t=class t{};t.__NG_ELEMENT_ID__=fg;let e=t;return e})();function fg(){let e=Ve();return pg(e,ne())}var hg=jr,Jc=class extends hg{constructor(t,n,r){super(),this._lContainer=t,this._hostTNode=n,this._hostLView=r}get element(){return Ui(this._hostTNode,this._hostLView)}get injector(){return new qe(this._hostTNode,this._hostLView)}get parentInjector(){let t=Ai(this._hostTNode,this._hostLView);if(Ku(t)){let n=fr(t,this._hostLView),r=dr(t),o=n[x].data[r+8];return new qe(o,n)}else return new qe(null,this._hostLView)}clear(){for(;this.length>0;)this.remove(this.length-1)}get(t){let n=du(this._lContainer);return n!==null&&n[t]||null}get length(){return this._lContainer.length-te}createEmbeddedView(t,n,r){let o,i;typeof r=="number"?o=r:r!=null&&(o=r.index,i=r.injector);let s=cu(this._lContainer,t.ssrId),a=t.createEmbeddedViewImpl(n||{},i,s);return this.insertImpl(a,o,lu(this._hostTNode,s)),a}createComponent(t,n,r,o,i){let s=t&&!fh(t),a;if(s)a=n;else{let E=n||{};a=E.index,r=E.injector,o=E.projectableNodes,i=E.environmentInjector||E.ngModuleRef}let u=s?t:new on(Ze(t)),c=r||this.parentInjector;if(!i&&u.ngModule==null){let P=(s?c:this.parentInjector).get(re,null);P&&(i=P)}let l=Ze(u.componentType??{}),d=cu(this._lContainer,l?.id??null),f=d?.firstChild??null,h=u.create(c,o,f,i);return this.insertImpl(h.hostView,a,lu(this._hostTNode,d)),h}insert(t,n){return this.insertImpl(t,n,!0)}insertImpl(t,n,r){let o=t._lView;if(Rf(o)){let a=this.indexOf(t);if(a!==-1)this.detach(a);else{let u=o[z],c=new Jc(u,u[fe],u[z]);c.detach(c.indexOf(t))}}let i=this._adjustIndex(n),s=this._lContainer;return dg(s,o,i,r),t.attachToViewContainerRef(),ac($o(s),i,t),t}move(t,n){return this.insert(t,n)}indexOf(t){let n=du(this._lContainer);return n!==null?n.indexOf(t):-1}remove(t){let n=this._adjustIndex(t,-1),r=ni(this._lContainer,n);r&&(hr($o(this._lContainer),n),Cc(r[x],r))}detach(t){let n=this._adjustIndex(t,-1),r=ni(this._lContainer,n);return r&&hr($o(this._lContainer),n)!=null?new Tt(r):null}_adjustIndex(t,n=0){return t??this.length+n}};function du(e){return e[cr]}function $o(e){return e[cr]||(e[cr]=[])}function pg(e,t){let n,r=t[e.index];return _e(r)?n=r:(n=Pp(r,t,null,e),t[e.index]=n,Wi(t,n)),mg(n,t,e,r),new Jc(n,e,t)}function gg(e,t){let n=e[de],r=n.createComment(""),o=Ae(t,e),i=Vi(n,o);return gr(n,i,r,Hh(n,o),!1),r}var mg=vg;function vg(e,t,n,r){if(e[Ke])return;let o;n.type&8?o=Se(r):o=gg(t,n),e[Ke]=o}function yg(e,t,n,r,o,i){let s=t.consts,a=Ga(s,o),u=Gi(t,e,2,r,a);return Cp(t,n,u,Ga(s,i)),u.attrs!==null&&fi(u,u.attrs,!1),u.mergedAttrs!==null&&fi(u,u.mergedAttrs,!0),t.queries!==null&&t.queries.elementStart(t,u),u}function De(e,t,n,r){let o=ne(),i=_r(),s=Qe+e,a=o[de],u=i.firstCreatePass?yg(s,i,o,t,n,r):i.data[s],c=Dg(i,o,u,a,t,e);o[s]=c;let l=Cf(u);return Ar(u,!0),Sc(a,c,u),(u.flags&32)!==32&&qu()&&Ic(i,o,c,u),Ff()===0&&St(c,o),kf(),l&&(hp(i,o,u),Lc(i,u,o)),r!==null&&pp(o,u),De}function $e(){let e=Ve();Vu()?Uf():(e=e.parent,Ar(e,!1));let t=e;Vf(t)&&$f(),Lf();let n=_r();return n.firstCreatePass&&(Yu(n,e),Nu(e)&&n.queries.elementEnd(e)),t.classesWithoutHost!=null&&eh(t)&&uu(n,t,ne(),t.classesWithoutHost,!0),t.stylesWithoutHost!=null&&th(t)&&uu(n,t,ne(),t.stylesWithoutHost,!1),$e}function At(e,t,n,r){return De(e,t,n,r),$e(),At}var Dg=(e,t,n,r,o,i)=>(Zu(!0),yc(r,o,Qf()));var Dr="en-US";var wg=Dr;function Cg(e){Gd(e,"Expected localeId to be defined"),typeof e=="string"&&(wg=e.toLowerCase().replace(/_/g,"-"))}function ln(e){return!!e&&typeof e.then=="function"}function Xc(e){return!!e&&typeof e.subscribe=="function"}function Nt(e,t=""){let n=ne(),r=_r(),o=e+Qe,i=r.firstCreatePass?Gi(r,o,1,t,null):r.data[o],s=Eg(r,n,i,t,e);n[o]=s,qu()&&Ic(r,n,s,i),Ar(i,!1)}var Eg=(e,t,n,r,o)=>(Zu(!0),Nh(t[de],r));function Zi(e,t,n,r,o){let i=ne(),s=cg(i,e,t,n,r,o);return s!==kr&&kp(i,_i(),s),Zi}var je=class{},sn=class{};var gi=class extends je{constructor(t,n,r){super(),this._parent=n,this._bootstrapComponents=[],this.destroyCbs=[],this.componentFactoryResolver=new yr(this);let o=Su(t);this._bootstrapComponents=gc(o.bootstrap),this._r3Injector=hc(t,n,[{provide:je,useValue:this},{provide:Pr,useValue:this.componentFactoryResolver},...r],Y(t),new Set(["environment"])),this._r3Injector.resolveInjectorInitializers(),this.instance=this._r3Injector.get(t)}get injector(){return this._r3Injector}destroy(){let t=this._r3Injector;!t.destroyed&&t.destroy(),this.destroyCbs.forEach(n=>n()),this.destroyCbs=null}onDestroy(t){this.destroyCbs.push(t)}},mi=class extends sn{constructor(t){super(),this.moduleType=t}create(t){return new gi(this.moduleType,t,[])}};var wr=class extends je{constructor(t){super(),this.componentFactoryResolver=new yr(this),this.instance=null;let n=new nn([...t.providers,{provide:je,useValue:this},{provide:Pr,useValue:this.componentFactoryResolver}],t.parent||Pi(),t.debugName,new Set(["environment"]));this.injector=n,t.runEnvironmentInitializers&&n.resolveInjectorInitializers()}destroy(){this.injector.destroy()}onDestroy(t){this.injector.onDestroy(t)}};function Yi(e,t,n=null){return new wr({providers:e,parent:t,debugName:n,runEnvironmentInitializers:!0}).injector}var Ig=(()=>{let t=class t{constructor(r){this._injector=r,this.cachedInjectors=new Map}getOrCreateStandaloneInjector(r){if(!r.standalone)return null;if(!this.cachedInjectors.has(r)){let o=lc(!1,r.type),i=o.length>0?Yi([o],this._injector,`Standalone[${r.type.name}]`):null;this.cachedInjectors.set(r,i)}return this.cachedInjectors.get(r)}ngOnDestroy(){try{for(let r of this.cachedInjectors.values())r!==null&&r.destroy()}finally{this.cachedInjectors.clear()}}};t.\u0275prov=w({token:t,providedIn:"environment",factory:()=>new t(b(re))});let e=t;return e})();function Vr(e){Yc("NgStandalone"),e.getStandaloneInjector=t=>t.get(Ig).getOrCreateStandaloneInjector(e)}var $r=(()=>{let t=class t{log(r){console.log(r)}warn(r){console.warn(r)}};t.\u0275fac=function(o){return new(o||t)},t.\u0275prov=w({token:t,factory:t.\u0275fac,providedIn:"platform"});let e=t;return e})(),vi=class{constructor(t,n){this.ngModuleFactory=t,this.componentFactories=n}},Qi=(()=>{let t=class t{compileModuleSync(r){return new mi(r)}compileModuleAsync(r){return Promise.resolve(this.compileModuleSync(r))}compileModuleAndAllComponentsSync(r){let o=this.compileModuleSync(r),i=Su(r),s=gc(i.declarations).reduce((a,u)=>{let c=Ze(u);return c&&a.push(new on(c)),a},[]);return new vi(o,s)}compileModuleAndAllComponentsAsync(r){return Promise.resolve(this.compileModuleAndAllComponentsSync(r))}clearCache(){}clearCacheFor(r){}getModuleId(r){}};t.\u0275fac=function(o){return new(o||t)},t.\u0275prov=w({token:t,factory:t.\u0275fac,providedIn:"root"});let e=t;return e})();var Br=(()=>{let t=class t{constructor(){this.taskId=0,this.pendingTasks=new Set,this.hasPendingTasks=new H(!1)}get _hasPendingTasks(){return this.hasPendingTasks.value}add(){this._hasPendingTasks||this.hasPendingTasks.next(!0);let r=this.taskId++;return this.pendingTasks.add(r),r}remove(r){this.pendingTasks.delete(r),this.pendingTasks.size===0&&this._hasPendingTasks&&this.hasPendingTasks.next(!1)}ngOnDestroy(){this.pendingTasks.clear(),this._hasPendingTasks&&this.hasPendingTasks.next(!1)}};t.\u0275fac=function(o){return new(o||t)},t.\u0275prov=w({token:t,factory:t.\u0275fac,providedIn:"root"});let e=t;return e})();var el=new _("");var tl=new _("Application Initializer"),nl=(()=>{let t=class t{constructor(){this.initialized=!1,this.done=!1,this.donePromise=new Promise((r,o)=>{this.resolve=r,this.reject=o}),this.appInits=p(tl,{optional:!0})??[]}runInitializers(){if(this.initialized)return;let r=[];for(let i of this.appInits){let s=i();if(ln(s))r.push(s);else if(Xc(s)){let a=new Promise((u,c)=>{s.subscribe({complete:u,error:c})});r.push(a)}}let o=()=>{this.done=!0,this.resolve()};Promise.all(r).then(()=>{o()}).catch(i=>{this.reject(i)}),r.length===0&&o(),this.initialized=!0}};t.\u0275fac=function(o){return new(o||t)},t.\u0275prov=w({token:t,factory:t.\u0275fac,providedIn:"root"});let e=t;return e})(),Ki=new _("appBootstrapListener");function bg(){ra(()=>{throw new v(600,!1)})}function Mg(e){return e.isBoundToModule}function Sg(e,t,n){try{let r=n();return ln(r)?r.catch(o=>{throw t.runOutsideAngular(()=>e.handleError(o)),o}):r}catch(r){throw t.runOutsideAngular(()=>e.handleError(r)),r}}var dn=(()=>{let t=class t{constructor(){this._bootstrapListeners=[],this._runningTick=!1,this._destroyed=!1,this._destroyListeners=[],this._views=[],this.internalErrorHandler=p(Nc),this.afterRenderEffectManager=p(Qc),this.componentTypes=[],this.components=[],this.isStable=p(Br).hasPendingTasks.pipe(T(r=>!r)),this._injector=p(re)}get destroyed(){return this._destroyed}get injector(){return this._injector}bootstrap(r,o){let i=r instanceof mr;if(!this._injector.get(nl).done){let h=!i&&Mu(r),E=!1;throw new v(405,E)}let a;i?a=r:a=this._injector.get(Pr).resolveComponentFactory(r),this.componentTypes.push(a.componentType);let u=Mg(a)?void 0:this._injector.get(je),c=o||a.selector,l=a.create(xt.NULL,[],c,u),d=l.location.nativeElement,f=l.injector.get(el,null);return f?.registerApplication(d),l.onDestroy(()=>{this.detachView(l.hostView),Bo(this.components,l),f?.unregisterApplication(d)}),this._loadComponent(l),l}tick(){if(this._runningTick)throw new v(101,!1);try{this._runningTick=!0;for(let r of this._views)r.detectChanges()}catch(r){this.internalErrorHandler(r)}finally{try{let r=this.afterRenderEffectManager.execute()}catch(r){this.internalErrorHandler(r)}this._runningTick=!1}}attachView(r){let o=r;this._views.push(o),o.attachToAppRef(this)}detachView(r){let o=r;Bo(this._views,o),o.detachFromAppRef()}_loadComponent(r){this.attachView(r.hostView),this.tick(),this.components.push(r);let o=this._injector.get(Ki,[]);[...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),()=>Bo(this._destroyListeners,r)}destroy(){if(this._destroyed)throw new v(406,!1);let r=this._injector;r.destroy&&!r.destroyed&&r.destroy()}get viewCount(){return this._views.length}warnIfDestroyed(){}};t.\u0275fac=function(o){return new(o||t)},t.\u0275prov=w({token:t,factory:t.\u0275fac,providedIn:"root"});let e=t;return e})();function Bo(e,t){let n=e.indexOf(t);n>-1&&e.splice(n,1)}var Tg=(()=>{let t=class t{constructor(){this.zone=p(L),this.applicationRef=p(dn)}initialize(){this._onMicrotaskEmptySubscription||(this._onMicrotaskEmptySubscription=this.zone.onMicrotaskEmpty.subscribe({next:()=>{this.zone.run(()=>{this.applicationRef.tick()})}}))}ngOnDestroy(){this._onMicrotaskEmptySubscription?.unsubscribe()}};t.\u0275fac=function(o){return new(o||t)},t.\u0275prov=w({token:t,factory:t.\u0275fac,providedIn:"root"});let e=t;return e})();function xg(e){return[{provide:L,useFactory:e},{provide:Mt,multi:!0,useFactory:()=>{let t=p(Tg,{optional:!0});return()=>t.initialize()}},{provide:Mt,multi:!0,useFactory:()=>{let t=p(Rg);return()=>{t.initialize()}}},{provide:Nc,useFactory:_g}]}function _g(){let e=p(L),t=p(Te);return n=>e.runOutsideAngular(()=>t.handleError(n))}function Ag(e){let t=xg(()=>new L(Ng(e)));return Nr([[],t])}function Ng(e){return{enableLongStackTrace:!1,shouldCoalesceEventChangeDetection:e?.eventCoalescing??!1,shouldCoalesceRunChangeDetection:e?.runCoalescing??!1}}var Rg=(()=>{let t=class t{constructor(){this.subscription=new j,this.initialized=!1,this.zone=p(L),this.pendingTasks=p(Br)}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(()=>{L.assertNotInAngularZone(),queueMicrotask(()=>{r!==null&&!this.zone.hasPendingMacrotasks&&!this.zone.hasPendingMicrotasks&&(this.pendingTasks.remove(r),r=null)})}))}),this.subscription.add(this.zone.onUnstable.subscribe(()=>{L.assertInAngularZone(),r??=this.pendingTasks.add()}))}ngOnDestroy(){this.subscription.unsubscribe()}};t.\u0275fac=function(o){return new(o||t)},t.\u0275prov=w({token:t,factory:t.\u0275fac,providedIn:"root"});let e=t;return e})();function Og(){return typeof $localize<"u"&&$localize.locale||Dr}var Ji=new _("LocaleId",{providedIn:"root",factory:()=>p(Ji,I.Optional|I.SkipSelf)||Og()});var rl=new _("PlatformDestroyListeners");var ir=null;function Pg(e=[],t){return xt.create({name:t,providers:[{provide:Rr,useValue:"platform"},{provide:rl,useValue:new Set([()=>ir=null])},...e]})}function Fg(e=[]){if(ir)return ir;let t=Pg(e);return ir=t,bg(),kg(t),t}function kg(e){e.get(ki,null)?.forEach(n=>n())}function ol(e){try{let{rootComponent:t,appProviders:n,platformProviders:r}=e,o=Fg(r),i=[Ag(),...n||[]],a=new wr({providers:i,parent:o,debugName:"",runEnvironmentInitializers:!1}).injector,u=a.get(L);return u.run(()=>{a.resolveInjectorInitializers();let c=a.get(Te,null),l;u.runOutsideAngular(()=>{l=u.onError.subscribe({next:h=>{c.handleError(h)}})});let d=()=>a.destroy(),f=o.get(rl);return f.add(d),a.onDestroy(()=>{l.unsubscribe(),f.delete(d)}),Sg(c,u,()=>{let h=a.get(nl);return h.runInitializers(),h.donePromise.then(()=>{let E=a.get(Ji,Dr);Cg(E||Dr);let P=a.get(dn);return t!==void 0&&P.bootstrap(t),P})})})}catch(t){return Promise.reject(t)}}var Xi=null;function Rt(){return Xi}function cl(e){Xi||(Xi=e)}var Hr=class{},Q=new _("DocumentToken"),ll=(()=>{let t=class t{historyGo(r){throw new Error("Not implemented")}};t.\u0275fac=function(o){return new(o||t)},t.\u0275prov=w({token:t,factory:()=>(()=>p(Bg))(),providedIn:"platform"});let e=t;return e})();var Bg=(()=>{let t=class t extends ll{constructor(){super(),this._doc=p(Q),this._location=window.location,this._history=window.history}getBaseHrefFromDOM(){return Rt().getBaseHref(this._doc)}onPopState(r){let o=Rt().getGlobalEventTarget(this._doc,"window");return o.addEventListener("popstate",r,!1),()=>o.removeEventListener("popstate",r)}onHashChange(r){let o=Rt().getGlobalEventTarget(this._doc,"window");return o.addEventListener("hashchange",r,!1),()=>o.removeEventListener("hashchange",r)}get href(){return this._location.href}get protocol(){return this._location.protocol}get hostname(){return this._location.hostname}get port(){return this._location.port}get pathname(){return this._location.pathname}get search(){return this._location.search}get hash(){return this._location.hash}set pathname(r){this._location.pathname=r}pushState(r,o,i){this._history.pushState(r,o,i)}replaceState(r,o,i){this._history.replaceState(r,o,i)}forward(){this._history.forward()}back(){this._history.back()}historyGo(r=0){this._history.go(r)}getState(){return this._history.state}};t.\u0275fac=function(o){return new(o||t)},t.\u0275prov=w({token:t,factory:()=>(()=>new t)(),providedIn:"platform"});let e=t;return e})();function dl(e,t){if(e.length==0)return t;if(t.length==0)return e;let n=0;return e.endsWith("/")&&n++,t.startsWith("/")&&n++,n==2?e+t.substring(1):n==1?e+t:e+"/"+t}function il(e){let t=e.match(/#|\?|$/),n=t&&t.index||e.length,r=n-(e[n-1]==="/"?1:0);return e.slice(0,r)+e.slice(n)}function tt(e){return e&&e[0]!=="?"?"?"+e:e}var Gr=(()=>{let t=class t{historyGo(r){throw new Error("Not implemented")}};t.\u0275fac=function(o){return new(o||t)},t.\u0275prov=w({token:t,factory:()=>(()=>p(fl))(),providedIn:"root"});let e=t;return e})(),Ug=new _("appBaseHref"),fl=(()=>{let t=class t extends Gr{constructor(r,o){super(),this._platformLocation=r,this._removeListenerFns=[],this._baseHref=o??this._platformLocation.getBaseHrefFromDOM()??p(Q).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 dl(this._baseHref,r)}path(r=!1){let o=this._platformLocation.pathname+tt(this._platformLocation.search),i=this._platformLocation.hash;return i&&r?`${o}${i}`:o}pushState(r,o,i,s){let a=this.prepareExternalUrl(i+tt(s));this._platformLocation.pushState(r,o,a)}replaceState(r,o,i,s){let a=this.prepareExternalUrl(i+tt(s));this._platformLocation.replaceState(r,o,a)}forward(){this._platformLocation.forward()}back(){this._platformLocation.back()}getState(){return this._platformLocation.getState()}historyGo(r=0){this._platformLocation.historyGo?.(r)}};t.\u0275fac=function(o){return new(o||t)(b(ll),b(Ug,8))},t.\u0275prov=w({token:t,factory:t.\u0275fac,providedIn:"root"});let e=t;return e})();var fn=(()=>{let t=class t{constructor(r){this._subject=new ce,this._urlChangeListeners=[],this._urlChangeSubscription=null,this._locationStrategy=r;let o=this._locationStrategy.getBaseHref();this._basePath=Gg(il(sl(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+tt(o))}normalize(r){return t.stripTrailingSlash(zg(this._basePath,sl(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+tt(o)),i)}replaceState(r,o="",i=null){this._locationStrategy.replaceState(i,"",r,o),this._notifyUrlChangeListeners(this.prepareExternalUrl(r+tt(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._urlChangeSubscription=this.subscribe(o=>{this._notifyUrlChangeListeners(o.url,o.state)})),()=>{let o=this._urlChangeListeners.indexOf(r);this._urlChangeListeners.splice(o,1),this._urlChangeListeners.length===0&&(this._urlChangeSubscription?.unsubscribe(),this._urlChangeSubscription=null)}}_notifyUrlChangeListeners(r="",o){this._urlChangeListeners.forEach(i=>i(r,o))}subscribe(r,o,i){return this._subject.subscribe({next:r,error:o,complete:i})}};t.normalizeQueryParams=tt,t.joinWithSlash=dl,t.stripTrailingSlash=il,t.\u0275fac=function(o){return new(o||t)(b(Gr))},t.\u0275prov=w({token:t,factory:()=>Hg(),providedIn:"root"});let e=t;return e})();function Hg(){return new fn(b(Gr))}function zg(e,t){if(!e||!t.startsWith(e))return t;let n=t.substring(e.length);return n===""||["/",";","?","#"].includes(n[0])?n:t}function sl(e){return e.replace(/\/index.html$/,"")}function Gg(e){if(new RegExp("^(https?:)?//").test(e)){let[,n]=e.split(/\/\/[^\/]+/);return n}return e}function hl(e,t){t=encodeURIComponent(t);for(let n of e.split(";")){let r=n.indexOf("="),[o,i]=r==-1?[n,""]:[n.slice(0,r),n.slice(r+1)];if(o.trim()===t)return decodeURIComponent(i)}return null}var es=(()=>{let t=class t{};t.\u0275fac=function(o){return new(o||t)},t.\u0275mod=Sr({type:t}),t.\u0275inj=Cr({});let e=t;return e})(),pl="browser",Wg="server";function ts(e){return e===Wg}var zr=class{};var os=class extends Hr{constructor(){super(...arguments),this.supportsDOMEvents=!0}},is=class e extends os{static makeCurrent(){cl(new e)}onAndCancel(t,n,r){return t.addEventListener(n,r),()=>{t.removeEventListener(n,r)}}dispatchEvent(t,n){t.dispatchEvent(n)}remove(t){t.parentNode&&t.parentNode.removeChild(t)}createElement(t,n){return n=n||this.getDefaultDocument(),n.createElement(t)}createHtmlDocument(){return document.implementation.createHTMLDocument("fakeTitle")}getDefaultDocument(){return document}isElementNode(t){return t.nodeType===Node.ELEMENT_NODE}isShadowRoot(t){return t instanceof DocumentFragment}getGlobalEventTarget(t,n){return n==="window"?window:n==="document"?t:n==="body"?t.body:null}getBaseHref(t){let n=Zg();return n==null?null:Yg(n)}resetBaseElement(){hn=null}getUserAgent(){return window.navigator.userAgent}getCookie(t){return hl(document.cookie,t)}},hn=null;function Zg(){return hn=hn||document.querySelector("base"),hn?hn.getAttribute("href"):null}function Yg(e){return new URL(e,document.baseURI).pathname}var Qg=(()=>{let t=class t{build(){return new XMLHttpRequest}};t.\u0275fac=function(o){return new(o||t)},t.\u0275prov=w({token:t,factory:t.\u0275fac});let e=t;return e})(),ss=new _("EventManagerPlugins"),yl=(()=>{let t=class t{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 v(5101,!1);return this._eventNameToPlugin.set(r,o),o}};t.\u0275fac=function(o){return new(o||t)(b(ss),b(L))},t.\u0275prov=w({token:t,factory:t.\u0275fac});let e=t;return e})(),Wr=class{constructor(t){this._doc=t}},ns="ng-app-id",Dl=(()=>{let t=class t{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=ts(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[${ns}="${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(ns),s;{let a=this.doc.createElement("style");return this.nonce&&a.setAttribute("nonce",this.nonce),a.textContent=o,this.platformIsServer&&a.setAttribute(ns,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)}};t.\u0275fac=function(o){return new(o||t)(b(Q),b(Fi),b(Li,8),b(_t))},t.\u0275prov=w({token:t,factory:t.\u0275fac});let e=t;return e})(),rs={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/"},us=/%COMP%/g,wl="%COMP%",Kg=`_nghost-${wl}`,Jg=`_ngcontent-${wl}`,Xg=!0,em=new _("RemoveStylesOnCompDestroy",{providedIn:"root",factory:()=>Xg});function tm(e){return Jg.replace(us,e)}function nm(e){return Kg.replace(us,e)}function Cl(e,t){return t.map(n=>n.replace(us,e))}var gl=(()=>{let t=class t{constructor(r,o,i,s,a,u,c,l=null){this.eventManager=r,this.sharedStylesHost=o,this.appId=i,this.removeStylesOnCompDestroy=s,this.doc=a,this.platformId=u,this.ngZone=c,this.nonce=l,this.rendererByCompId=new Map,this.platformIsServer=ts(u),this.defaultRenderer=new pn(r,a,c,this.platformIsServer)}createRenderer(r,o){if(!r||!o)return this.defaultRenderer;this.platformIsServer&&o.encapsulation===ve.ShadowDom&&(o=k(g({},o),{encapsulation:ve.Emulated}));let i=this.getOrCreateRenderer(r,o);return i instanceof qr?i.applyToHost(r):i instanceof gn&&i.applyStyles(),i}getOrCreateRenderer(r,o){let i=this.rendererByCompId,s=i.get(o.id);if(!s){let a=this.doc,u=this.ngZone,c=this.eventManager,l=this.sharedStylesHost,d=this.removeStylesOnCompDestroy,f=this.platformIsServer;switch(o.encapsulation){case ve.Emulated:s=new qr(c,l,o,this.appId,d,a,u,f);break;case ve.ShadowDom:return new as(c,l,r,o,a,u,this.nonce,f);default:s=new gn(c,l,o,d,a,u,f);break}i.set(o.id,s)}return s}ngOnDestroy(){this.rendererByCompId.clear()}};t.\u0275fac=function(o){return new(o||t)(b(yl),b(Dl),b(Fi),b(em),b(Q),b(_t),b(L),b(Li))},t.\u0275prov=w({token:t,factory:t.\u0275fac});let e=t;return e})(),pn=class{constructor(t,n,r,o){this.eventManager=t,this.doc=n,this.ngZone=r,this.platformIsServer=o,this.data=Object.create(null),this.throwOnSyntheticProps=!0,this.destroyNode=null}destroy(){}createElement(t,n){return n?this.doc.createElementNS(rs[n]||n,t):this.doc.createElement(t)}createComment(t){return this.doc.createComment(t)}createText(t){return this.doc.createTextNode(t)}appendChild(t,n){(ml(t)?t.content:t).appendChild(n)}insertBefore(t,n,r){t&&(ml(t)?t.content:t).insertBefore(n,r)}removeChild(t,n){t&&t.removeChild(n)}selectRootElement(t,n){let r=typeof t=="string"?this.doc.querySelector(t):t;if(!r)throw new v(-5104,!1);return n||(r.textContent=""),r}parentNode(t){return t.parentNode}nextSibling(t){return t.nextSibling}setAttribute(t,n,r,o){if(o){n=o+":"+n;let i=rs[o];i?t.setAttributeNS(i,n,r):t.setAttribute(n,r)}else t.setAttribute(n,r)}removeAttribute(t,n,r){if(r){let o=rs[r];o?t.removeAttributeNS(o,n):t.removeAttribute(`${r}:${n}`)}else t.removeAttribute(n)}addClass(t,n){t.classList.add(n)}removeClass(t,n){t.classList.remove(n)}setStyle(t,n,r,o){o&(et.DashCase|et.Important)?t.style.setProperty(n,r,o&et.Important?"important":""):t.style[n]=r}removeStyle(t,n,r){r&et.DashCase?t.style.removeProperty(n):t.style[n]=""}setProperty(t,n,r){t!=null&&(t[n]=r)}setValue(t,n){t.nodeValue=n}listen(t,n,r){if(typeof t=="string"&&(t=Rt().getGlobalEventTarget(this.doc,t),!t))throw new Error(`Unsupported event target ${t} for event ${n}`);return this.eventManager.addEventListener(t,n,this.decoratePreventDefault(r))}decoratePreventDefault(t){return n=>{if(n==="__ngUnwrap__")return t;(this.platformIsServer?this.ngZone.runGuarded(()=>t(n)):t(n))===!1&&n.preventDefault()}}};function ml(e){return e.tagName==="TEMPLATE"&&e.content!==void 0}var as=class extends pn{constructor(t,n,r,o,i,s,a,u){super(t,i,s,u),this.sharedStylesHost=n,this.hostEl=r,this.shadowRoot=r.attachShadow({mode:"open"}),this.sharedStylesHost.addHost(this.shadowRoot);let c=Cl(o.id,o.styles);for(let l of c){let d=document.createElement("style");a&&d.setAttribute("nonce",a),d.textContent=l,this.shadowRoot.appendChild(d)}}nodeOrShadowRoot(t){return t===this.hostEl?this.shadowRoot:t}appendChild(t,n){return super.appendChild(this.nodeOrShadowRoot(t),n)}insertBefore(t,n,r){return super.insertBefore(this.nodeOrShadowRoot(t),n,r)}removeChild(t,n){return super.removeChild(this.nodeOrShadowRoot(t),n)}parentNode(t){return this.nodeOrShadowRoot(super.parentNode(this.nodeOrShadowRoot(t)))}destroy(){this.sharedStylesHost.removeHost(this.shadowRoot)}},gn=class extends pn{constructor(t,n,r,o,i,s,a,u){super(t,i,s,a),this.sharedStylesHost=n,this.removeStylesOnCompDestroy=o,this.styles=u?Cl(u,r.styles):r.styles}applyStyles(){this.sharedStylesHost.addStyles(this.styles)}destroy(){this.removeStylesOnCompDestroy&&this.sharedStylesHost.removeStyles(this.styles)}},qr=class extends gn{constructor(t,n,r,o,i,s,a,u){let c=o+"-"+r.id;super(t,n,r,i,s,a,u,c),this.contentAttr=tm(c),this.hostAttr=nm(c)}applyToHost(t){this.applyStyles(),this.setAttribute(t,this.hostAttr,"")}createElement(t,n){let r=super.createElement(t,n);return super.setAttribute(r,this.contentAttr,""),r}},rm=(()=>{let t=class t extends Wr{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)}};t.\u0275fac=function(o){return new(o||t)(b(Q))},t.\u0275prov=w({token:t,factory:t.\u0275fac});let e=t;return e})(),vl=["alt","control","meta","shift"],om={"\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"},im={alt:e=>e.altKey,control:e=>e.ctrlKey,meta:e=>e.metaKey,shift:e=>e.shiftKey},sm=(()=>{let t=class t extends Wr{constructor(r){super(r)}supports(r){return t.parseEventName(r)!=null}addEventListener(r,o,i){let s=t.parseEventName(o),a=t.eventCallback(s.fullKey,i,this.manager.getZone());return this.manager.getZone().runOutsideAngular(()=>Rt().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=t._normalizeKey(o.pop()),a="",u=o.indexOf("code");if(u>-1&&(o.splice(u,1),a="code."),vl.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 c={};return c.domEventName=i,c.fullKey=a,c}static matchEventFullKeyCode(r,o){let i=om[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"),vl.forEach(a=>{if(a!==i){let u=im[a];u(r)&&(s+=a+".")}}),s+=i,s===o)}static eventCallback(r,o,i){return s=>{t.matchEventFullKeyCode(s,r)&&i.runGuarded(()=>o(s))}}static _normalizeKey(r){return r==="esc"?"escape":r}};t.\u0275fac=function(o){return new(o||t)(b(Q))},t.\u0275prov=w({token:t,factory:t.\u0275fac});let e=t;return e})();function El(e,t){return ol(g({rootComponent:e},am(t)))}function am(e){return{appProviders:[...fm,...e?.providers??[]],platformProviders:dm}}function um(){is.makeCurrent()}function cm(){return new Te}function lm(){return pc(document),document}var dm=[{provide:_t,useValue:pl},{provide:ki,useValue:um,multi:!0},{provide:Q,useFactory:lm,deps:[]}];var fm=[{provide:Rr,useValue:"root"},{provide:Te,useFactory:cm,deps:[]},{provide:ss,useClass:rm,multi:!0,deps:[Q,L,_t]},{provide:ss,useClass:sm,multi:!0,deps:[Q]},gl,Dl,yl,{provide:rn,useExisting:gl},{provide:zr,useClass:Qg,deps:[]},[]];function hm(){return new cs(b(Q))}var cs=(()=>{let t=class t{constructor(r){this._doc=r}getTitle(){return this._doc.title}setTitle(r){this._doc.title=r||""}};t.\u0275fac=function(o){return new(o||t)(b(Q))},t.\u0275prov=w({token:t,factory:function(o){let i=null;return o?i=new o:i=hm(),i},providedIn:"root"});let e=t;return e})();var C="primary",An=Symbol("RouteTitle"),ps=class{constructor(t){this.params=t||{}}has(t){return Object.prototype.hasOwnProperty.call(this.params,t)}get(t){if(this.has(t)){let n=this.params[t];return Array.isArray(n)?n[0]:n}return null}getAll(t){if(this.has(t)){let n=this.params[t];return Array.isArray(n)?n:[n]}return[]}get keys(){return Object.keys(this.params)}};function Lt(e){return new ps(e)}function gm(e,t,n){let r=n.path.split("/");if(r.length>e.length||n.pathMatch==="full"&&(t.hasChildren()||r.length<e.length))return null;let o={};for(let i=0;i<r.length;i++){let s=r[i],a=e[i];if(s.startsWith(":"))o[s.substring(1)]=a;else if(s!==a.path)return null}return{consumed:e.slice(0,r.length),posParams:o}}function mm(e,t){if(e.length!==t.length)return!1;for(let n=0;n<e.length;++n)if(!we(e[n],t[n]))return!1;return!0}function we(e,t){let n=e?gs(e):void 0,r=t?gs(t):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],!xl(e[o],t[o]))return!1;return!0}function gs(e){return[...Object.keys(e),...Object.getOwnPropertySymbols(e)]}function xl(e,t){if(Array.isArray(e)&&Array.isArray(t)){if(e.length!==t.length)return!1;let n=[...e].sort(),r=[...t].sort();return n.every((o,i)=>r[i]===o)}else return e===t}function He(e){return Mo(e)?e:ln(e)?V(Promise.resolve(e)):y(e)}var vm={exact:Al,subset:Nl},_l={exact:ym,subset:Dm,ignored:()=>!0};function Il(e,t,n){return vm[n.paths](e.root,t.root,n.matrixParams)&&_l[n.queryParams](e.queryParams,t.queryParams)&&!(n.fragment==="exact"&&e.fragment!==t.fragment)}function ym(e,t){return we(e,t)}function Al(e,t,n){if(!rt(e.segments,t.segments)||!Qr(e.segments,t.segments,n)||e.numberOfChildren!==t.numberOfChildren)return!1;for(let r in t.children)if(!e.children[r]||!Al(e.children[r],t.children[r],n))return!1;return!0}function Dm(e,t){return Object.keys(t).length<=Object.keys(e).length&&Object.keys(t).every(n=>xl(e[n],t[n]))}function Nl(e,t,n){return Rl(e,t,t.segments,n)}function Rl(e,t,n,r){if(e.segments.length>n.length){let o=e.segments.slice(0,n.length);return!(!rt(o,n)||t.hasChildren()||!Qr(o,n,r))}else if(e.segments.length===n.length){if(!rt(e.segments,n)||!Qr(e.segments,n,r))return!1;for(let o in t.children)if(!e.children[o]||!Nl(e.children[o],t.children[o],r))return!1;return!0}else{let o=n.slice(0,e.segments.length),i=n.slice(e.segments.length);return!rt(e.segments,o)||!Qr(e.segments,o,r)||!e.children[C]?!1:Rl(e.children[C],t,i,r)}}function Qr(e,t,n){return t.every((r,o)=>_l[n](e[o].parameters,r.parameters))}var Be=class{constructor(t=new N([],{}),n={},r=null){this.root=t,this.queryParams=n,this.fragment=r}get queryParamMap(){return this._queryParamMap||(this._queryParamMap=Lt(this.queryParams)),this._queryParamMap}toString(){return Em.serialize(this)}},N=class{constructor(t,n){this.segments=t,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 Kr(this)}},nt=class{constructor(t,n){this.path=t,this.parameters=n}get parameterMap(){return this._parameterMap||(this._parameterMap=Lt(this.parameters)),this._parameterMap}toString(){return Pl(this)}};function wm(e,t){return rt(e,t)&&e.every((n,r)=>we(n.parameters,t[r].parameters))}function rt(e,t){return e.length!==t.length?!1:e.every((n,r)=>n.path===t[r].path)}function Cm(e,t){let n=[];return Object.entries(e.children).forEach(([r,o])=>{r===C&&(n=n.concat(t(o,r)))}),Object.entries(e.children).forEach(([r,o])=>{r!==C&&(n=n.concat(t(o,r)))}),n}var $s=(()=>{let t=class t{};t.\u0275fac=function(o){return new(o||t)},t.\u0275prov=w({token:t,factory:()=>(()=>new Xr)(),providedIn:"root"});let e=t;return e})(),Xr=class{parse(t){let n=new vs(t);return new Be(n.parseRootSegment(),n.parseQueryParams(),n.parseFragment())}serialize(t){let n=`/${mn(t.root,!0)}`,r=Mm(t.queryParams),o=typeof t.fragment=="string"?`#${Im(t.fragment)}`:"";return`${n}${r}${o}`}},Em=new Xr;function Kr(e){return e.segments.map(t=>Pl(t)).join("/")}function mn(e,t){if(!e.hasChildren())return Kr(e);if(t){let n=e.children[C]?mn(e.children[C],!1):"",r=[];return Object.entries(e.children).forEach(([o,i])=>{o!==C&&r.push(`${o}:${mn(i,!1)}`)}),r.length>0?`${n}(${r.join("//")})`:n}else{let n=Cm(e,(r,o)=>o===C?[mn(e.children[C],!1)]:[`${o}:${mn(r,!1)}`]);return Object.keys(e.children).length===1&&e.children[C]!=null?`${Kr(e)}/${n[0]}`:`${Kr(e)}/(${n.join("//")})`}}function Ol(e){return encodeURIComponent(e).replace(/%40/g,"@").replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",")}function Zr(e){return Ol(e).replace(/%3B/gi,";")}function Im(e){return encodeURI(e)}function ms(e){return Ol(e).replace(/\(/g,"%28").replace(/\)/g,"%29").replace(/%26/gi,"&")}function Jr(e){return decodeURIComponent(e)}function bl(e){return Jr(e.replace(/\+/g,"%20"))}function Pl(e){return`${ms(e.path)}${bm(e.parameters)}`}function bm(e){return Object.entries(e).map(([t,n])=>`;${ms(t)}=${ms(n)}`).join("")}function Mm(e){let t=Object.entries(e).map(([n,r])=>Array.isArray(r)?r.map(o=>`${Zr(n)}=${Zr(o)}`).join("&"):`${Zr(n)}=${Zr(r)}`).filter(n=>n);return t.length?`?${t.join("&")}`:""}var Sm=/^[^\/()?;#]+/;function ls(e){let t=e.match(Sm);return t?t[0]:""}var Tm=/^[^\/()?;=#]+/;function xm(e){let t=e.match(Tm);return t?t[0]:""}var _m=/^[^=?&#]+/;function Am(e){let t=e.match(_m);return t?t[0]:""}var Nm=/^[^&#]+/;function Rm(e){let t=e.match(Nm);return t?t[0]:""}var vs=class{constructor(t){this.url=t,this.remaining=t}parseRootSegment(){return this.consumeOptional("/"),this.remaining===""||this.peekStartsWith("?")||this.peekStartsWith("#")?new N([],{}):new N([],this.parseChildren())}parseQueryParams(){let t={};if(this.consumeOptional("?"))do this.parseQueryParam(t);while(this.consumeOptional("&"));return t}parseFragment(){return this.consumeOptional("#")?decodeURIComponent(this.remaining):null}parseChildren(){if(this.remaining==="")return{};this.consumeOptional("/");let t=[];for(this.peekStartsWith("(")||t.push(this.parseSegment());this.peekStartsWith("/")&&!this.peekStartsWith("//")&&!this.peekStartsWith("/(");)this.capture("/"),t.push(this.parseSegment());let n={};this.peekStartsWith("/(")&&(this.capture("/"),n=this.parseParens(!0));let r={};return this.peekStartsWith("(")&&(r=this.parseParens(!1)),(t.length>0||Object.keys(n).length>0)&&(r[C]=new N(t,n)),r}parseSegment(){let t=ls(this.remaining);if(t===""&&this.peekStartsWith(";"))throw new v(4009,!1);return this.capture(t),new nt(Jr(t),this.parseMatrixParams())}parseMatrixParams(){let t={};for(;this.consumeOptional(";");)this.parseParam(t);return t}parseParam(t){let n=xm(this.remaining);if(!n)return;this.capture(n);let r="";if(this.consumeOptional("=")){let o=ls(this.remaining);o&&(r=o,this.capture(r))}t[Jr(n)]=Jr(r)}parseQueryParam(t){let n=Am(this.remaining);if(!n)return;this.capture(n);let r="";if(this.consumeOptional("=")){let s=Rm(this.remaining);s&&(r=s,this.capture(r))}let o=bl(n),i=bl(r);if(t.hasOwnProperty(o)){let s=t[o];Array.isArray(s)||(s=[s],t[o]=s),s.push(i)}else t[o]=i}parseParens(t){let n={};for(this.capture("(");!this.consumeOptional(")")&&this.remaining.length>0;){let r=ls(this.remaining),o=this.remaining[r.length];if(o!=="/"&&o!==")"&&o!==";")throw new v(4010,!1);let i;r.indexOf(":")>-1?(i=r.slice(0,r.indexOf(":")),this.capture(i),this.capture(":")):t&&(i=C);let s=this.parseChildren();n[i]=Object.keys(s).length===1?s[C]:new N([],s),this.consumeOptional("//")}return n}peekStartsWith(t){return this.remaining.startsWith(t)}consumeOptional(t){return this.peekStartsWith(t)?(this.remaining=this.remaining.substring(t.length),!0):!1}capture(t){if(!this.consumeOptional(t))throw new v(4011,!1)}};function Fl(e){return e.segments.length>0?new N([],{[C]:e}):e}function kl(e){let t={};for(let[r,o]of Object.entries(e.children)){let i=kl(o);if(r===C&&i.segments.length===0&&i.hasChildren())for(let[s,a]of Object.entries(i.children))t[s]=a;else(i.segments.length>0||i.hasChildren())&&(t[r]=i)}let n=new N(e.segments,t);return Om(n)}function Om(e){if(e.numberOfChildren===1&&e.children[C]){let t=e.children[C];return new N(e.segments.concat(t.segments),t.children)}return e}function jt(e){return e instanceof Be}function Pm(e,t,n=null,r=null){let o=Ll(e);return jl(o,t,n,r)}function Ll(e){let t;function n(i){let s={};for(let u of i.children){let c=n(u);s[u.outlet]=c}let a=new N(i.url,s);return i===e&&(t=a),a}let r=n(e.root),o=Fl(r);return t??o}function jl(e,t,n,r){let o=e;for(;o.parent;)o=o.parent;if(t.length===0)return ds(o,o,o,n,r);let i=Fm(t);if(i.toRoot())return ds(o,o,new N([],{}),n,r);let s=km(i,o,e),a=s.processChildren?Dn(s.segmentGroup,s.index,i.commands):$l(s.segmentGroup,s.index,i.commands);return ds(o,s.segmentGroup,a,n,r)}function eo(e){return typeof e=="object"&&e!=null&&!e.outlets&&!e.segmentPath}function En(e){return typeof e=="object"&&e!=null&&e.outlets}function ds(e,t,n,r,o){let i={};r&&Object.entries(r).forEach(([u,c])=>{i[u]=Array.isArray(c)?c.map(l=>`${l}`):`${c}`});let s;e===t?s=n:s=Vl(e,t,n);let a=Fl(kl(s));return new Be(a,i,o)}function Vl(e,t,n){let r={};return Object.entries(e.children).forEach(([o,i])=>{i===t?r[o]=n:r[o]=Vl(i,t,n)}),new N(e.segments,r)}var to=class{constructor(t,n,r){if(this.isAbsolute=t,this.numberOfDoubleDots=n,this.commands=r,t&&r.length>0&&eo(r[0]))throw new v(4003,!1);let o=r.find(En);if(o&&o!==r.at(-1))throw new v(4004,!1)}toRoot(){return this.isAbsolute&&this.commands.length===1&&this.commands[0]=="/"}};function Fm(e){if(typeof e[0]=="string"&&e.length===1&&e[0]==="/")return new to(!0,0,e);let t=0,n=!1,r=e.reduce((o,i,s)=>{if(typeof i=="object"&&i!=null){if(i.outlets){let a={};return Object.entries(i.outlets).forEach(([u,c])=>{a[u]=typeof c=="string"?c.split("/"):c}),[...o,{outlets:a}]}if(i.segmentPath)return[...o,i.segmentPath]}return typeof i!="string"?[...o,i]:s===0?(i.split("/").forEach((a,u)=>{u==0&&a==="."||(u==0&&a===""?n=!0:a===".."?t++:a!=""&&o.push(a))}),o):[...o,i]},[]);return new to(n,t,r)}var Ft=class{constructor(t,n,r){this.segmentGroup=t,this.processChildren=n,this.index=r}};function km(e,t,n){if(e.isAbsolute)return new Ft(t,!0,0);if(!n)return new Ft(t,!1,NaN);if(n.parent===null)return new Ft(n,!0,0);let r=eo(e.commands[0])?0:1,o=n.segments.length-1+r;return Lm(n,o,e.numberOfDoubleDots)}function Lm(e,t,n){let r=e,o=t,i=n;for(;i>o;){if(i-=o,r=r.parent,!r)throw new v(4005,!1);o=r.segments.length}return new Ft(r,!1,o-i)}function jm(e){return En(e[0])?e[0].outlets:{[C]:e}}function $l(e,t,n){if(e||(e=new N([],{})),e.segments.length===0&&e.hasChildren())return Dn(e,t,n);let r=Vm(e,t,n),o=n.slice(r.commandIndex);if(r.match&&r.pathIndex<e.segments.length){let i=new N(e.segments.slice(0,r.pathIndex),{});return i.children[C]=new N(e.segments.slice(r.pathIndex),e.children),Dn(i,0,o)}else return r.match&&o.length===0?new N(e.segments,{}):r.match&&!e.hasChildren()?ys(e,t,n):r.match?Dn(e,0,o):ys(e,t,n)}function Dn(e,t,n){if(n.length===0)return new N(e.segments,{});{let r=jm(n),o={};if(Object.keys(r).some(i=>i!==C)&&e.children[C]&&e.numberOfChildren===1&&e.children[C].segments.length===0){let i=Dn(e.children[C],t,n);return new N(e.segments,i.children)}return Object.entries(r).forEach(([i,s])=>{typeof s=="string"&&(s=[s]),s!==null&&(o[i]=$l(e.children[i],t,s))}),Object.entries(e.children).forEach(([i,s])=>{r[i]===void 0&&(o[i]=s)}),new N(e.segments,o)}}function Vm(e,t,n){let r=0,o=t,i={match:!1,pathIndex:0,commandIndex:0};for(;o<e.segments.length;){if(r>=n.length)return i;let s=e.segments[o],a=n[r];if(En(a))break;let u=`${a}`,c=r<n.length-1?n[r+1]:null;if(o>0&&u===void 0)break;if(u&&c&&typeof c=="object"&&c.outlets===void 0){if(!Sl(u,c,s))return i;r+=2}else{if(!Sl(u,{},s))return i;r++}o++}return{match:!0,pathIndex:o,commandIndex:r}}function ys(e,t,n){let r=e.segments.slice(0,t),o=0;for(;o<n.length;){let i=n[o];if(En(i)){let u=$m(i.outlets);return new N(r,u)}if(o===0&&eo(n[0])){let u=e.segments[t];r.push(new nt(u.path,Ml(n[0]))),o++;continue}let s=En(i)?i.outlets[C]:`${i}`,a=o<n.length-1?n[o+1]:null;s&&a&&eo(a)?(r.push(new nt(s,Ml(a))),o+=2):(r.push(new nt(s,{})),o++)}return new N(r,{})}function $m(e){let t={};return Object.entries(e).forEach(([n,r])=>{typeof r=="string"&&(r=[r]),r!==null&&(t[n]=ys(new N([],{}),0,r))}),t}function Ml(e){let t={};return Object.entries(e).forEach(([n,r])=>t[n]=`${r}`),t}function Sl(e,t,n){return e==n.path&&we(t,n.parameters)}var wn="imperative",oe=class{constructor(t,n){this.id=t,this.url=n}},In=class extends oe{constructor(t,n,r="imperative",o=null){super(t,n),this.type=0,this.navigationTrigger=r,this.restoredState=o}toString(){return`NavigationStart(id: ${this.id}, url: '${this.url}')`}},ot=class extends oe{constructor(t,n,r){super(t,n),this.urlAfterRedirects=r,this.type=1}toString(){return`NavigationEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}')`}},Ue=class extends oe{constructor(t,n,r,o){super(t,n),this.reason=r,this.code=o,this.type=2}toString(){return`NavigationCancel(id: ${this.id}, url: '${this.url}')`}},it=class extends oe{constructor(t,n,r,o){super(t,n),this.reason=r,this.code=o,this.type=16}},bn=class extends oe{constructor(t,n,r,o){super(t,n),this.error=r,this.target=o,this.type=3}toString(){return`NavigationError(id: ${this.id}, url: '${this.url}', error: ${this.error})`}},no=class extends oe{constructor(t,n,r,o){super(t,n),this.urlAfterRedirects=r,this.state=o,this.type=4}toString(){return`RoutesRecognized(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}},Ds=class extends oe{constructor(t,n,r,o){super(t,n),this.urlAfterRedirects=r,this.state=o,this.type=7}toString(){return`GuardsCheckStart(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}},ws=class extends oe{constructor(t,n,r,o,i){super(t,n),this.urlAfterRedirects=r,this.state=o,this.shouldActivate=i,this.type=8}toString(){return`GuardsCheckEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state}, shouldActivate: ${this.shouldActivate})`}},Cs=class extends oe{constructor(t,n,r,o){super(t,n),this.urlAfterRedirects=r,this.state=o,this.type=5}toString(){return`ResolveStart(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}},Es=class extends oe{constructor(t,n,r,o){super(t,n),this.urlAfterRedirects=r,this.state=o,this.type=6}toString(){return`ResolveEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}},Is=class{constructor(t){this.route=t,this.type=9}toString(){return`RouteConfigLoadStart(path: ${this.route.path})`}},bs=class{constructor(t){this.route=t,this.type=10}toString(){return`RouteConfigLoadEnd(path: ${this.route.path})`}},Ms=class{constructor(t){this.snapshot=t,this.type=11}toString(){return`ChildActivationStart(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}},Ss=class{constructor(t){this.snapshot=t,this.type=12}toString(){return`ChildActivationEnd(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}},Ts=class{constructor(t){this.snapshot=t,this.type=13}toString(){return`ActivationStart(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}},xs=class{constructor(t){this.snapshot=t,this.type=14}toString(){return`ActivationEnd(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}};var Mn=class{},Sn=class{constructor(t){this.url=t}};var _s=class{constructor(){this.outlet=null,this.route=null,this.injector=null,this.children=new uo,this.attachRef=null}},uo=(()=>{let t=class t{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 _s,this.contexts.set(r,o)),o}getContext(r){return this.contexts.get(r)||null}};t.\u0275fac=function(o){return new(o||t)},t.\u0275prov=w({token:t,factory:t.\u0275fac,providedIn:"root"});let e=t;return e})(),ro=class{constructor(t){this._root=t}get root(){return this._root.value}parent(t){let n=this.pathFromRoot(t);return n.length>1?n[n.length-2]:null}children(t){let n=As(t,this._root);return n?n.children.map(r=>r.value):[]}firstChild(t){let n=As(t,this._root);return n&&n.children.length>0?n.children[0].value:null}siblings(t){let n=Ns(t,this._root);return n.length<2?[]:n[n.length-2].children.map(o=>o.value).filter(o=>o!==t)}pathFromRoot(t){return Ns(t,this._root).map(n=>n.value)}};function As(e,t){if(e===t.value)return t;for(let n of t.children){let r=As(e,n);if(r)return r}return null}function Ns(e,t){if(e===t.value)return[t];for(let n of t.children){let r=Ns(e,n);if(r.length)return r.unshift(t),r}return[]}var K=class{constructor(t,n){this.value=t,this.children=n}toString(){return`TreeNode(${this.value})`}};function Pt(e){let t={};return e&&e.children.forEach(n=>t[n.value.outlet]=n),t}var oo=class extends ro{constructor(t,n){super(t),this.snapshot=n,Us(this,t)}toString(){return this.snapshot.toString()}};function Bl(e){let t=Bm(e),n=new H([new nt("",{})]),r=new H({}),o=new H({}),i=new H({}),s=new H(""),a=new Vt(n,r,i,s,o,C,e,t.root);return a.snapshot=t.root,new oo(new K(a,[]),t)}function Bm(e){let t={},n={},r={},o="",i=new Tn([],t,r,o,n,C,e,null,{});return new io("",new K(i,[]))}var Vt=class{constructor(t,n,r,o,i,s,a,u){this.urlSubject=t,this.paramsSubject=n,this.queryParamsSubject=r,this.fragmentSubject=o,this.dataSubject=i,this.outlet=s,this.component=a,this._futureSnapshot=u,this.title=this.dataSubject?.pipe(T(c=>c[An]))??y(void 0),this.url=t,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._paramMap=this.params.pipe(T(t=>Lt(t)))),this._paramMap}get queryParamMap(){return this._queryParamMap||(this._queryParamMap=this.queryParams.pipe(T(t=>Lt(t)))),this._queryParamMap}toString(){return this.snapshot?this.snapshot.toString():`Future(${this._futureSnapshot})`}};function Bs(e,t,n="emptyOnly"){let r,{routeConfig:o}=e;return t!==null&&(n==="always"||o?.path===""||!t.component&&!t.routeConfig?.loadComponent)?r={params:g(g({},t.params),e.params),data:g(g({},t.data),e.data),resolve:g(g(g(g({},e.data),t.data),o?.data),e._resolvedData)}:r={params:g({},e.params),data:g({},e.data),resolve:g(g({},e.data),e._resolvedData??{})},o&&Hl(o)&&(r.resolve[An]=o.title),r}var Tn=class{get title(){return this.data?.[An]}constructor(t,n,r,o,i,s,a,u,c){this.url=t,this.params=n,this.queryParams=r,this.fragment=o,this.data=i,this.outlet=s,this.component=a,this.routeConfig=u,this._resolve=c}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._paramMap=Lt(this.params)),this._paramMap}get queryParamMap(){return this._queryParamMap||(this._queryParamMap=Lt(this.queryParams)),this._queryParamMap}toString(){let t=this.url.map(r=>r.toString()).join("/"),n=this.routeConfig?this.routeConfig.path:"";return`Route(url:'${t}', path:'${n}')`}},io=class extends ro{constructor(t,n){super(n),this.url=t,Us(this,n)}toString(){return Ul(this._root)}};function Us(e,t){t.value._routerState=e,t.children.forEach(n=>Us(e,n))}function Ul(e){let t=e.children.length>0?` { ${e.children.map(Ul).join(", ")} } `:"";return`${e.value}${t}`}function fs(e){if(e.snapshot){let t=e.snapshot,n=e._futureSnapshot;e.snapshot=n,we(t.queryParams,n.queryParams)||e.queryParamsSubject.next(n.queryParams),t.fragment!==n.fragment&&e.fragmentSubject.next(n.fragment),we(t.params,n.params)||e.paramsSubject.next(n.params),mm(t.url,n.url)||e.urlSubject.next(n.url),we(t.data,n.data)||e.dataSubject.next(n.data)}else e.snapshot=e._futureSnapshot,e.dataSubject.next(e._futureSnapshot.data)}function Rs(e,t){let n=we(e.params,t.params)&&wm(e.url,t.url),r=!e.parent!=!t.parent;return n&&!r&&(!e.parent||Rs(e.parent,t.parent))}function Hl(e){return typeof e.title=="string"||e.title===null}var Um=(()=>{let t=class t{constructor(){this.activated=null,this._activatedRoute=null,this.name=C,this.activateEvents=new ce,this.deactivateEvents=new ce,this.attachEvents=new ce,this.detachEvents=new ce,this.parentContexts=p(uo),this.location=p(jr),this.changeDetector=p(Lr),this.environmentInjector=p(re),this.inputBinder=p(Hs,{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 v(4012,!1);return this.activated.instance}get activatedRoute(){if(!this.activated)throw new v(4012,!1);return this._activatedRoute}get activatedRouteData(){return this._activatedRoute?this._activatedRoute.snapshot.data:{}}detach(){if(!this.activated)throw new v(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 v(4013,!1);this._activatedRoute=r;let i=this.location,a=r.snapshot.component,u=this.parentContexts.getOrCreateContext(this.name).children,c=new Os(r,u,i.injector);this.activated=i.createComponent(a,{index:i.length,injector:c,environmentInjector:o??this.environmentInjector}),this.changeDetector.markForCheck(),this.inputBinder?.bindActivatedRouteToOutletComponent(this),this.activateEvents.emit(this.activated.instance)}};t.\u0275fac=function(o){return new(o||t)},t.\u0275dir=Ci({type:t,selectors:[["router-outlet"]],inputs:{name:"name"},outputs:{activateEvents:"activate",deactivateEvents:"deactivate",attachEvents:"attach",detachEvents:"detach"},exportAs:["outlet"],standalone:!0,features:[xr]});let e=t;return e})(),Os=class{constructor(t,n,r){this.route=t,this.childContexts=n,this.parent=r}get(t,n){return t===Vt?this.route:t===uo?this.childContexts:this.parent.get(t,n)}},Hs=new _("");function Hm(e,t,n){let r=xn(e,t._root,n?n._root:void 0);return new oo(r,t)}function xn(e,t,n){if(n&&e.shouldReuseRoute(t.value,n.value.snapshot)){let r=n.value;r._futureSnapshot=t.value;let o=zm(e,t,n);return new K(r,o)}else{if(e.shouldAttach(t.value)){let i=e.retrieve(t.value);if(i!==null){let s=i.route;return s.value._futureSnapshot=t.value,s.children=t.children.map(a=>xn(e,a)),s}}let r=Gm(t.value),o=t.children.map(i=>xn(e,i));return new K(r,o)}}function zm(e,t,n){return t.children.map(r=>{for(let o of n.children)if(e.shouldReuseRoute(r.value,o.value.snapshot))return xn(e,r,o);return xn(e,r)})}function Gm(e){return new Vt(new H(e.url),new H(e.params),new H(e.queryParams),new H(e.fragment),new H(e.data),e.outlet,e.component,e)}var zl="ngNavigationCancelingError";function Gl(e,t){let{redirectTo:n,navigationBehaviorOptions:r}=jt(t)?{redirectTo:t,navigationBehaviorOptions:void 0}:t,o=Wl(!1,0,t);return o.url=n,o.navigationBehaviorOptions=r,o}function Wl(e,t,n){let r=new Error("NavigationCancelingError: "+(e||""));return r[zl]=!0,r.cancellationCode=t,n&&(r.url=n),r}function Wm(e){return ql(e)&&jt(e.url)}function ql(e){return e&&e[zl]}var qm=(()=>{let t=class t{};t.\u0275fac=function(o){return new(o||t)},t.\u0275cmp=Mr({type:t,selectors:[["ng-component"]],standalone:!0,features:[Vr],decls:1,vars:0,template:function(o,i){o&1&&At(0,"router-outlet")},dependencies:[Um],encapsulation:2});let e=t;return e})();function Zm(e,t){return e.providers&&!e._injector&&(e._injector=Yi(e.providers,t,`Route: ${e.path}`)),e._injector??t}function zs(e){let t=e.children&&e.children.map(zs),n=t?k(g({},e),{children:t}):g({},e);return!n.component&&!n.loadComponent&&(t||n.loadChildren)&&n.outlet&&n.outlet!==C&&(n.component=qm),n}function Ce(e){return e.outlet||C}function Ym(e,t){let n=e.filter(r=>Ce(r)===t);return n.push(...e.filter(r=>Ce(r)!==t)),n}function Nn(e){if(!e)return null;if(e.routeConfig?._injector)return e.routeConfig._injector;for(let t=e.parent;t;t=t.parent){let n=t.routeConfig;if(n?._loadedInjector)return n._loadedInjector;if(n?._injector)return n._injector}return null}var Qm=(e,t,n,r)=>T(o=>(new Ps(t,o.targetRouterState,o.currentRouterState,n,r).activate(e),o)),Ps=class{constructor(t,n,r,o,i){this.routeReuseStrategy=t,this.futureState=n,this.currState=r,this.forwardEvent=o,this.inputBindingEnabled=i}activate(t){let n=this.futureState._root,r=this.currState?this.currState._root:null;this.deactivateChildRoutes(n,r,t),fs(this.futureState.root),this.activateChildRoutes(n,r,t)}deactivateChildRoutes(t,n,r){let o=Pt(n);t.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(t,n,r){let o=t.value,i=n?n.value:null;if(o===i)if(o.component){let s=r.getContext(o.outlet);s&&this.deactivateChildRoutes(t,n,s.children)}else this.deactivateChildRoutes(t,n,r);else i&&this.deactivateRouteAndItsChildren(n,r)}deactivateRouteAndItsChildren(t,n){t.value.component&&this.routeReuseStrategy.shouldDetach(t.value.snapshot)?this.detachAndStoreRouteSubtree(t,n):this.deactivateRouteAndOutlet(t,n)}detachAndStoreRouteSubtree(t,n){let r=n.getContext(t.value.outlet),o=r&&t.value.component?r.children:n,i=Pt(t);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(t.value.snapshot,{componentRef:s,route:t,contexts:a})}}deactivateRouteAndOutlet(t,n){let r=n.getContext(t.value.outlet),o=r&&t.value.component?r.children:n,i=Pt(t);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(t,n,r){let o=Pt(n);t.children.forEach(i=>{this.activateRoutes(i,o[i.value.outlet],r),this.forwardEvent(new xs(i.value.snapshot))}),t.children.length&&this.forwardEvent(new Ss(t.value.snapshot))}activateRoutes(t,n,r){let o=t.value,i=n?n.value:null;if(fs(o),o===i)if(o.component){let s=r.getOrCreateContext(o.outlet);this.activateChildRoutes(t,n,s.children)}else this.activateChildRoutes(t,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),fs(a.route.value),this.activateChildRoutes(t,null,s.children)}else{let a=Nn(o.snapshot);s.attachRef=null,s.route=o,s.injector=a,s.outlet&&s.outlet.activateWith(o,s.injector),this.activateChildRoutes(t,null,s.children)}}else this.activateChildRoutes(t,null,r)}},so=class{constructor(t){this.path=t,this.route=this.path[this.path.length-1]}},kt=class{constructor(t,n){this.component=t,this.route=n}};function Km(e,t,n){let r=e._root,o=t?t._root:null;return vn(r,o,n,[r.value])}function Jm(e){let t=e.routeConfig?e.routeConfig.canActivateChild:null;return!t||t.length===0?null:{node:e,guards:t}}function Bt(e,t){let n=Symbol(),r=t.get(e,n);return r===n?typeof e=="function"&&!gu(e)?e:t.get(e):r}function vn(e,t,n,r,o={canDeactivateChecks:[],canActivateChecks:[]}){let i=Pt(t);return e.children.forEach(s=>{Xm(s,i[s.value.outlet],n,r.concat([s.value]),o),delete i[s.value.outlet]}),Object.entries(i).forEach(([s,a])=>Cn(a,n.getContext(s),o)),o}function Xm(e,t,n,r,o={canDeactivateChecks:[],canActivateChecks:[]}){let i=e.value,s=t?t.value:null,a=n?n.getContext(e.value.outlet):null;if(s&&i.routeConfig===s.routeConfig){let u=ev(s,i,i.routeConfig.runGuardsAndResolvers);u?o.canActivateChecks.push(new so(r)):(i.data=s.data,i._resolvedData=s._resolvedData),i.component?vn(e,t,a?a.children:null,r,o):vn(e,t,n,r,o),u&&a&&a.outlet&&a.outlet.isActivated&&o.canDeactivateChecks.push(new kt(a.outlet.component,s))}else s&&Cn(t,a,o),o.canActivateChecks.push(new so(r)),i.component?vn(e,null,a?a.children:null,r,o):vn(e,null,n,r,o);return o}function ev(e,t,n){if(typeof n=="function")return n(e,t);switch(n){case"pathParamsChange":return!rt(e.url,t.url);case"pathParamsOrQueryParamsChange":return!rt(e.url,t.url)||!we(e.queryParams,t.queryParams);case"always":return!0;case"paramsOrQueryParamsChange":return!Rs(e,t)||!we(e.queryParams,t.queryParams);case"paramsChange":default:return!Rs(e,t)}}function Cn(e,t,n){let r=Pt(e),o=e.value;Object.entries(r).forEach(([i,s])=>{o.component?t?Cn(s,t.children.getContext(i),n):Cn(s,null,n):Cn(s,t,n)}),o.component?t&&t.outlet&&t.outlet.isActivated?n.canDeactivateChecks.push(new kt(t.outlet.component,o)):n.canDeactivateChecks.push(new kt(null,o)):n.canDeactivateChecks.push(new kt(null,o))}function Rn(e){return typeof e=="function"}function tv(e){return typeof e=="boolean"}function nv(e){return e&&Rn(e.canLoad)}function rv(e){return e&&Rn(e.canActivate)}function ov(e){return e&&Rn(e.canActivateChild)}function iv(e){return e&&Rn(e.canDeactivate)}function sv(e){return e&&Rn(e.canMatch)}function Zl(e){return e instanceof Ie||e?.name==="EmptyError"}var Yr=Symbol("INITIAL_VALUE");function $t(){return ae(e=>Jn(e.map(t=>t.pipe(be(1),Ao(Yr)))).pipe(T(t=>{for(let n of t)if(n!==!0){if(n===Yr)return Yr;if(n===!1||n instanceof Be)return n}return!0}),se(t=>t!==Yr),be(1)))}function av(e,t){return $(n=>{let{targetSnapshot:r,currentSnapshot:o,guards:{canActivateChecks:i,canDeactivateChecks:s}}=n;return s.length===0&&i.length===0?y(k(g({},n),{guardsResult:!0})):uv(s,r,o,e).pipe($(a=>a&&tv(a)?cv(r,i,e,t):y(a)),T(a=>k(g({},n),{guardsResult:a})))})}function uv(e,t,n,r){return V(e).pipe($(o=>pv(o.component,o.route,n,t,r)),pe(o=>o!==!0,!0))}function cv(e,t,n,r){return V(t).pipe(mt(o=>gt(dv(o.route.parent,r),lv(o.route,r),hv(e,o.path,n),fv(e,o.route,n))),pe(o=>o!==!0,!0))}function lv(e,t){return e!==null&&t&&t(new Ts(e)),y(!0)}function dv(e,t){return e!==null&&t&&t(new Ms(e)),y(!0)}function fv(e,t,n){let r=t.routeConfig?t.routeConfig.canActivate:null;if(!r||r.length===0)return y(!0);let o=r.map(i=>Xn(()=>{let s=Nn(t)??n,a=Bt(i,s),u=rv(a)?a.canActivate(t,e):Xe(s,()=>a(t,e));return He(u).pipe(pe())}));return y(o).pipe($t())}function hv(e,t,n){let r=t[t.length-1],i=t.slice(0,t.length-1).reverse().map(s=>Jm(s)).filter(s=>s!==null).map(s=>Xn(()=>{let a=s.guards.map(u=>{let c=Nn(s.node)??n,l=Bt(u,c),d=ov(l)?l.canActivateChild(r,e):Xe(c,()=>l(r,e));return He(d).pipe(pe())});return y(a).pipe($t())}));return y(i).pipe($t())}function pv(e,t,n,r,o){let i=t&&t.routeConfig?t.routeConfig.canDeactivate:null;if(!i||i.length===0)return y(!0);let s=i.map(a=>{let u=Nn(t)??o,c=Bt(a,u),l=iv(c)?c.canDeactivate(e,t,n,r):Xe(u,()=>c(e,t,n,r));return He(l).pipe(pe())});return y(s).pipe($t())}function gv(e,t,n,r){let o=t.canLoad;if(o===void 0||o.length===0)return y(!0);let i=o.map(s=>{let a=Bt(s,e),u=nv(a)?a.canLoad(t,n):Xe(e,()=>a(t,n));return He(u)});return y(i).pipe($t(),Yl(r))}function Yl(e){return Co(U(t=>{if(jt(t))throw Gl(e,t)}),T(t=>t===!0))}function mv(e,t,n,r){let o=t.canMatch;if(!o||o.length===0)return y(!0);let i=o.map(s=>{let a=Bt(s,e),u=sv(a)?a.canMatch(t,n):Xe(e,()=>a(t,n));return He(u)});return y(i).pipe($t(),Yl(r))}var _n=class{constructor(t){this.segmentGroup=t||null}},ao=class extends Error{constructor(t){super(),this.urlTree=t}};function Ot(e){return pt(new _n(e))}function vv(e){return pt(new v(4e3,!1))}function yv(e){return pt(Wl(!1,3))}var Fs=class{constructor(t,n){this.urlSerializer=t,this.urlTree=n}lineralizeSegments(t,n){let r=[],o=n.root;for(;;){if(r=r.concat(o.segments),o.numberOfChildren===0)return y(r);if(o.numberOfChildren>1||!o.children[C])return vv(t.redirectTo);o=o.children[C]}}applyRedirectCommands(t,n,r){let o=this.applyRedirectCreateUrlTree(n,this.urlSerializer.parse(n),t,r);if(n.startsWith("/"))throw new ao(o);return o}applyRedirectCreateUrlTree(t,n,r,o){let i=this.createSegmentGroup(t,n.root,r,o);return new Be(i,this.createQueryParams(n.queryParams,this.urlTree.queryParams),n.fragment)}createQueryParams(t,n){let r={};return Object.entries(t).forEach(([o,i])=>{if(typeof i=="string"&&i.startsWith(":")){let a=i.substring(1);r[o]=n[a]}else r[o]=i}),r}createSegmentGroup(t,n,r,o){let i=this.createSegments(t,n.segments,r,o),s={};return Object.entries(n.children).forEach(([a,u])=>{s[a]=this.createSegmentGroup(t,u,r,o)}),new N(i,s)}createSegments(t,n,r,o){return n.map(i=>i.path.startsWith(":")?this.findPosParam(t,i,o):this.findOrReturn(i,r))}findPosParam(t,n,r){let o=r[n.path.substring(1)];if(!o)throw new v(4001,!1);return o}findOrReturn(t,n){let r=0;for(let o of n){if(o.path===t.path)return n.splice(r),o;r++}return t}},ks={matched:!1,consumedSegments:[],remainingSegments:[],parameters:{},positionalParamSegments:{}};function Dv(e,t,n,r,o){let i=Gs(e,t,n);return i.matched?(r=Zm(t,r),mv(r,t,n,o).pipe(T(s=>s===!0?i:g({},ks)))):y(i)}function Gs(e,t,n){if(t.path==="**")return wv(n);if(t.path==="")return t.pathMatch==="full"&&(e.hasChildren()||n.length>0)?g({},ks):{matched:!0,consumedSegments:[],remainingSegments:n,parameters:{},positionalParamSegments:{}};let o=(t.matcher||gm)(n,e,t);if(!o)return g({},ks);let i={};Object.entries(o.posParams??{}).forEach(([a,u])=>{i[a]=u.path});let s=o.consumed.length>0?g(g({},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 wv(e){return{matched:!0,parameters:e.at(-1)?.parameters??{},consumedSegments:e,remainingSegments:[],positionalParamSegments:{}}}function Tl(e,t,n,r){return n.length>0&&Iv(e,n,r)?{segmentGroup:new N(t,Ev(r,new N(n,e.children))),slicedSegments:[]}:n.length===0&&bv(e,n,r)?{segmentGroup:new N(e.segments,Cv(e,n,r,e.children)),slicedSegments:n}:{segmentGroup:new N(e.segments,e.children),slicedSegments:n}}function Cv(e,t,n,r){let o={};for(let i of n)if(co(e,t,i)&&!r[Ce(i)]){let s=new N([],{});o[Ce(i)]=s}return g(g({},r),o)}function Ev(e,t){let n={};n[C]=t;for(let r of e)if(r.path===""&&Ce(r)!==C){let o=new N([],{});n[Ce(r)]=o}return n}function Iv(e,t,n){return n.some(r=>co(e,t,r)&&Ce(r)!==C)}function bv(e,t,n){return n.some(r=>co(e,t,r))}function co(e,t,n){return(e.hasChildren()||t.length>0)&&n.pathMatch==="full"?!1:n.path===""}function Mv(e,t,n,r){return Ce(e)!==r&&(r===C||!co(t,n,e))?!1:Gs(t,e,n).matched}function Sv(e,t,n){return t.length===0&&!e.children[n]}var Ls=class{};function Tv(e,t,n,r,o,i,s="emptyOnly"){return new js(e,t,n,r,o,s,i).recognize()}var xv=31,js=class{constructor(t,n,r,o,i,s,a){this.injector=t,this.configLoader=n,this.rootComponentType=r,this.config=o,this.urlTree=i,this.paramsInheritanceStrategy=s,this.urlSerializer=a,this.applyRedirects=new Fs(this.urlSerializer,this.urlTree),this.absoluteRedirectCount=0,this.allowRedirects=!0}noMatchError(t){return new v(4002,`'${t.segmentGroup}'`)}recognize(){let t=Tl(this.urlTree.root,[],[],this.config).segmentGroup;return this.match(t).pipe(T(n=>{let r=new Tn([],Object.freeze({}),Object.freeze(g({},this.urlTree.queryParams)),this.urlTree.fragment,{},C,this.rootComponentType,null,{}),o=new K(r,n),i=new io("",o),s=Pm(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(t){return this.processSegmentGroup(this.injector,this.config,t,C).pipe(Oe(r=>{if(r instanceof ao)return this.urlTree=r.urlTree,this.match(r.urlTree.root);throw r instanceof _n?this.noMatchError(r):r}))}inheritParamsAndData(t,n){let r=t.value,o=Bs(r,n,this.paramsInheritanceStrategy);r.params=Object.freeze(o.params),r.data=Object.freeze(o.data),t.children.forEach(i=>this.inheritParamsAndData(i,r))}processSegmentGroup(t,n,r,o){return r.segments.length===0&&r.hasChildren()?this.processChildren(t,n,r):this.processSegment(t,n,r,r.segments,o,!0).pipe(T(i=>i instanceof K?[i]:[]))}processChildren(t,n,r){let o=[];for(let i of Object.keys(r.children))i==="primary"?o.unshift(i):o.push(i);return V(o).pipe(mt(i=>{let s=r.children[i],a=Ym(n,i);return this.processSegmentGroup(t,a,s,i)}),_o((i,s)=>(i.push(...s),i)),Pe(null),xo(),$(i=>{if(i===null)return Ot(r);let s=Ql(i);return _v(s),y(s)}))}processSegment(t,n,r,o,i,s){return V(n).pipe(mt(a=>this.processSegmentAgainstRoute(a._injector??t,n,a,r,o,i,s).pipe(Oe(u=>{if(u instanceof _n)return y(null);throw u}))),pe(a=>!!a),Oe(a=>{if(Zl(a))return Sv(r,o,i)?y(new Ls):Ot(r);throw a}))}processSegmentAgainstRoute(t,n,r,o,i,s,a){return Mv(r,o,i,s)?r.redirectTo===void 0?this.matchSegmentAgainstRoute(t,o,r,i,s):this.allowRedirects&&a?this.expandSegmentAgainstRouteUsingRedirect(t,o,n,r,i,s):Ot(o):Ot(o)}expandSegmentAgainstRouteUsingRedirect(t,n,r,o,i,s){let{matched:a,consumedSegments:u,positionalParamSegments:c,remainingSegments:l}=Gs(n,o,i);if(!a)return Ot(n);o.redirectTo.startsWith("/")&&(this.absoluteRedirectCount++,this.absoluteRedirectCount>xv&&(this.allowRedirects=!1));let d=this.applyRedirects.applyRedirectCommands(u,o.redirectTo,c);return this.applyRedirects.lineralizeSegments(o,d).pipe($(f=>this.processSegment(t,r,n,f.concat(l),s,!1)))}matchSegmentAgainstRoute(t,n,r,o,i){let s=Dv(n,r,o,t,this.urlSerializer);return r.path==="**"&&(n.children={}),s.pipe(ae(a=>a.matched?(t=r._injector??t,this.getChildConfig(t,r,o).pipe(ae(({routes:u})=>{let c=r._loadedInjector??t,{consumedSegments:l,remainingSegments:d,parameters:f}=a,h=new Tn(l,f,Object.freeze(g({},this.urlTree.queryParams)),this.urlTree.fragment,Nv(r),Ce(r),r.component??r._loadedComponent??null,r,Rv(r)),{segmentGroup:E,slicedSegments:P}=Tl(n,l,d,u);if(P.length===0&&E.hasChildren())return this.processChildren(c,u,E).pipe(T(F=>F===null?null:new K(h,F)));if(u.length===0&&P.length===0)return y(new K(h,[]));let he=Ce(r)===i;return this.processSegment(c,u,E,P,he?C:i,!0).pipe(T(F=>new K(h,F instanceof K?[F]:[])))}))):Ot(n)))}getChildConfig(t,n,r){return n.children?y({routes:n.children,injector:t}):n.loadChildren?n._loadedRoutes!==void 0?y({routes:n._loadedRoutes,injector:n._loadedInjector}):gv(t,n,r,this.urlSerializer).pipe($(o=>o?this.configLoader.loadChildren(t,n).pipe(U(i=>{n._loadedRoutes=i.routes,n._loadedInjector=i.injector})):yv(n))):y({routes:[],injector:t})}};function _v(e){e.sort((t,n)=>t.value.outlet===C?-1:n.value.outlet===C?1:t.value.outlet.localeCompare(n.value.outlet))}function Av(e){let t=e.value.routeConfig;return t&&t.path===""}function Ql(e){let t=[],n=new Set;for(let r of e){if(!Av(r)){t.push(r);continue}let o=t.find(i=>r.value.routeConfig===i.value.routeConfig);o!==void 0?(o.children.push(...r.children),n.add(o)):t.push(r)}for(let r of n){let o=Ql(r.children);t.push(new K(r.value,o))}return t.filter(r=>!n.has(r))}function Nv(e){return e.data||{}}function Rv(e){return e.resolve||{}}function Ov(e,t,n,r,o,i){return $(s=>Tv(e,t,n,r,s.extractedUrl,o,i).pipe(T(({state:a,tree:u})=>k(g({},s),{targetSnapshot:a,urlAfterRedirects:u}))))}function Pv(e,t){return $(n=>{let{targetSnapshot:r,guards:{canActivateChecks:o}}=n;if(!o.length)return y(n);let i=new Set(o.map(u=>u.route)),s=new Set;for(let u of i)if(!s.has(u))for(let c of Kl(u))s.add(c);let a=0;return V(s).pipe(mt(u=>i.has(u)?Fv(u,r,e,t):(u.data=Bs(u,u.parent,e).resolve,y(void 0))),U(()=>a++),vt(1),$(u=>a===s.size?y(n):J))})}function Kl(e){let t=e.children.map(n=>Kl(n)).flat();return[e,...t]}function Fv(e,t,n,r){let o=e.routeConfig,i=e._resolve;return o?.title!==void 0&&!Hl(o)&&(i[An]=o.title),kv(i,e,t,r).pipe(T(s=>(e._resolvedData=s,e.data=Bs(e,e.parent,n).resolve,null)))}function kv(e,t,n,r){let o=gs(e);if(o.length===0)return y({});let i={};return V(o).pipe($(s=>Lv(e[s],t,n,r).pipe(pe(),U(a=>{i[s]=a}))),vt(1),To(i),Oe(s=>Zl(s)?J:pt(s)))}function Lv(e,t,n,r){let o=Nn(t)??r,i=Bt(e,o),s=i.resolve?i.resolve(t,n):Xe(o,()=>i(t,n));return He(s)}function hs(e){return ae(t=>{let n=e(t);return n?V(n).pipe(T(()=>t)):y(t)})}var Jl=(()=>{let t=class t{buildTitle(r){let o,i=r.root;for(;i!==void 0;)o=this.getResolvedTitleForRoute(i)??o,i=i.children.find(s=>s.outlet===C);return o}getResolvedTitleForRoute(r){return r.data[An]}};t.\u0275fac=function(o){return new(o||t)},t.\u0275prov=w({token:t,factory:()=>(()=>p(jv))(),providedIn:"root"});let e=t;return e})(),jv=(()=>{let t=class t extends Jl{constructor(r){super(),this.title=r}updateTitle(r){let o=this.buildTitle(r);o!==void 0&&this.title.setTitle(o)}};t.\u0275fac=function(o){return new(o||t)(b(cs))},t.\u0275prov=w({token:t,factory:t.\u0275fac,providedIn:"root"});let e=t;return e})(),Ws=new _("",{providedIn:"root",factory:()=>({})}),qs=new _("ROUTES"),Vv=(()=>{let t=class t{constructor(){this.componentLoaders=new WeakMap,this.childrenLoaders=new WeakMap,this.compiler=p(Qi)}loadComponent(r){if(this.componentLoaders.get(r))return this.componentLoaders.get(r);if(r._loadedComponent)return y(r._loadedComponent);this.onLoadStartListener&&this.onLoadStartListener(r);let o=He(r.loadComponent()).pipe(T(Xl),U(s=>{this.onLoadEndListener&&this.onLoadEndListener(r),r._loadedComponent=s}),zt(()=>{this.componentLoaders.delete(r)})),i=new ht(o,()=>new Z).pipe(ft());return this.componentLoaders.set(r,i),i}loadChildren(r,o){if(this.childrenLoaders.get(o))return this.childrenLoaders.get(o);if(o._loadedRoutes)return y({routes:o._loadedRoutes,injector:o._loadedInjector});this.onLoadStartListener&&this.onLoadStartListener(o);let s=$v(o,this.compiler,r,this.onLoadEndListener).pipe(zt(()=>{this.childrenLoaders.delete(o)})),a=new ht(s,()=>new Z).pipe(ft());return this.childrenLoaders.set(o,a),a}};t.\u0275fac=function(o){return new(o||t)},t.\u0275prov=w({token:t,factory:t.\u0275fac,providedIn:"root"});let e=t;return e})();function $v(e,t,n,r){return He(e.loadChildren()).pipe(T(Xl),$(o=>o instanceof sn||Array.isArray(o)?y(o):V(t.compileModuleAsync(o))),T(o=>{r&&r(e);let i,s,a=!1;return Array.isArray(o)?(s=o,a=!0):(i=o.create(n).injector,s=i.get(qs,[],{optional:!0,self:!0}).flat()),{routes:s.map(zs),injector:i}}))}function Bv(e){return e&&typeof e=="object"&&"default"in e}function Xl(e){return Bv(e)?e.default:e}var Zs=(()=>{let t=class t{};t.\u0275fac=function(o){return new(o||t)},t.\u0275prov=w({token:t,factory:()=>(()=>p(Uv))(),providedIn:"root"});let e=t;return e})(),Uv=(()=>{let t=class t{shouldProcessUrl(r){return!0}extract(r){return r}merge(r,o){return r}};t.\u0275fac=function(o){return new(o||t)},t.\u0275prov=w({token:t,factory:t.\u0275fac,providedIn:"root"});let e=t;return e})(),Hv=new _("");var zv=(()=>{let t=class t{get hasRequestedNavigation(){return this.navigationId!==0}constructor(){this.currentNavigation=null,this.currentTransition=null,this.lastSuccessfulNavigation=null,this.events=new Z,this.transitionAbortSubject=new Z,this.configLoader=p(Vv),this.environmentInjector=p(re),this.urlSerializer=p($s),this.rootContexts=p(uo),this.location=p(fn),this.inputBindingEnabled=p(Hs,{optional:!0})!==null,this.titleStrategy=p(Jl),this.options=p(Ws,{optional:!0})||{},this.paramsInheritanceStrategy=this.options.paramsInheritanceStrategy||"emptyOnly",this.urlHandlingStrategy=p(Zs),this.createViewTransition=p(Hv,{optional:!0}),this.navigationId=0,this.afterPreactivation=()=>y(void 0),this.rootComponentType=null;let r=i=>this.events.next(new Is(i)),o=i=>this.events.next(new bs(i));this.configLoader.onLoadEndListener=o,this.configLoader.onLoadStartListener=r}complete(){this.transitions?.complete()}handleNavigationRequest(r){let o=++this.navigationId;this.transitions?.next(k(g(g({},this.transitions.value),r),{id:o}))}setupNavigations(r,o,i){return this.transitions=new H({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:wn,restoredState:null,currentSnapshot:i.snapshot,targetSnapshot:null,currentRouterState:i,targetRouterState:null,guards:{canActivateChecks:[],canDeactivateChecks:[]},guardsResult:null}),this.transitions.pipe(se(s=>s.id!==0),T(s=>k(g({},s),{extractedUrl:this.urlHandlingStrategy.extract(s.rawUrl)})),ae(s=>{this.currentTransition=s;let a=!1,u=!1;return y(s).pipe(U(c=>{this.currentNavigation={id:c.id,initialUrl:c.rawUrl,extractedUrl:c.extractedUrl,trigger:c.source,extras:c.extras,previousNavigation:this.lastSuccessfulNavigation?k(g({},this.lastSuccessfulNavigation),{previousNavigation:null}):null}}),ae(c=>{let l=!r.navigated||this.isUpdatingInternalState()||this.isUpdatedBrowserUrl(),d=c.extras.onSameUrlNavigation??r.onSameUrlNavigation;if(!l&&d!=="reload"){let f="";return this.events.next(new it(c.id,this.urlSerializer.serialize(c.rawUrl),f,0)),c.resolve(null),J}if(this.urlHandlingStrategy.shouldProcessUrl(c.rawUrl))return y(c).pipe(ae(f=>{let h=this.transitions?.getValue();return this.events.next(new In(f.id,this.urlSerializer.serialize(f.extractedUrl),f.source,f.restoredState)),h!==this.transitions?.getValue()?J:Promise.resolve(f)}),Ov(this.environmentInjector,this.configLoader,this.rootComponentType,r.config,this.urlSerializer,this.paramsInheritanceStrategy),U(f=>{s.targetSnapshot=f.targetSnapshot,s.urlAfterRedirects=f.urlAfterRedirects,this.currentNavigation=k(g({},this.currentNavigation),{finalUrl:f.urlAfterRedirects});let h=new no(f.id,this.urlSerializer.serialize(f.extractedUrl),this.urlSerializer.serialize(f.urlAfterRedirects),f.targetSnapshot);this.events.next(h)}));if(l&&this.urlHandlingStrategy.shouldProcessUrl(c.currentRawUrl)){let{id:f,extractedUrl:h,source:E,restoredState:P,extras:he}=c,F=new In(f,this.urlSerializer.serialize(h),E,P);this.events.next(F);let Ee=Bl(this.rootComponentType).snapshot;return this.currentTransition=s=k(g({},c),{targetSnapshot:Ee,urlAfterRedirects:h,extras:k(g({},he),{skipLocationChange:!1,replaceUrl:!1})}),this.currentNavigation.finalUrl=h,y(s)}else{let f="";return this.events.next(new it(c.id,this.urlSerializer.serialize(c.extractedUrl),f,1)),c.resolve(null),J}}),U(c=>{let l=new Ds(c.id,this.urlSerializer.serialize(c.extractedUrl),this.urlSerializer.serialize(c.urlAfterRedirects),c.targetSnapshot);this.events.next(l)}),T(c=>(this.currentTransition=s=k(g({},c),{guards:Km(c.targetSnapshot,c.currentSnapshot,this.rootContexts)}),s)),av(this.environmentInjector,c=>this.events.next(c)),U(c=>{if(s.guardsResult=c.guardsResult,jt(c.guardsResult))throw Gl(this.urlSerializer,c.guardsResult);let l=new ws(c.id,this.urlSerializer.serialize(c.extractedUrl),this.urlSerializer.serialize(c.urlAfterRedirects),c.targetSnapshot,!!c.guardsResult);this.events.next(l)}),se(c=>c.guardsResult?!0:(this.cancelNavigationTransition(c,"",3),!1)),hs(c=>{if(c.guards.canActivateChecks.length)return y(c).pipe(U(l=>{let d=new Cs(l.id,this.urlSerializer.serialize(l.extractedUrl),this.urlSerializer.serialize(l.urlAfterRedirects),l.targetSnapshot);this.events.next(d)}),ae(l=>{let d=!1;return y(l).pipe(Pv(this.paramsInheritanceStrategy,this.environmentInjector),U({next:()=>d=!0,complete:()=>{d||this.cancelNavigationTransition(l,"",2)}}))}),U(l=>{let d=new Es(l.id,this.urlSerializer.serialize(l.extractedUrl),this.urlSerializer.serialize(l.urlAfterRedirects),l.targetSnapshot);this.events.next(d)}))}),hs(c=>{let l=d=>{let f=[];d.routeConfig?.loadComponent&&!d.routeConfig._loadedComponent&&f.push(this.configLoader.loadComponent(d.routeConfig).pipe(U(h=>{d.component=h}),T(()=>{})));for(let h of d.children)f.push(...l(h));return f};return Jn(l(c.targetSnapshot.root)).pipe(Pe(null),be(1))}),hs(()=>this.afterPreactivation()),ae(()=>{let{currentSnapshot:c,targetSnapshot:l}=s,d=this.createViewTransition?.(this.environmentInjector,c.root,l.root);return d?V(d).pipe(T(()=>s)):y(s)}),T(c=>{let l=Hm(r.routeReuseStrategy,c.targetSnapshot,c.currentRouterState);return this.currentTransition=s=k(g({},c),{targetRouterState:l}),this.currentNavigation.targetRouterState=l,s}),U(()=>{this.events.next(new Mn)}),Qm(this.rootContexts,r.routeReuseStrategy,c=>this.events.next(c),this.inputBindingEnabled),be(1),U({next:c=>{a=!0,this.lastSuccessfulNavigation=this.currentNavigation,this.events.next(new ot(c.id,this.urlSerializer.serialize(c.extractedUrl),this.urlSerializer.serialize(c.urlAfterRedirects))),this.titleStrategy?.updateTitle(c.targetRouterState.snapshot),c.resolve(!0)},complete:()=>{a=!0}}),No(this.transitionAbortSubject.pipe(U(c=>{throw c}))),zt(()=>{if(!a&&!u){let c="";this.cancelNavigationTransition(s,c,1)}this.currentNavigation?.id===s.id&&(this.currentNavigation=null)}),Oe(c=>{if(u=!0,ql(c))this.events.next(new Ue(s.id,this.urlSerializer.serialize(s.extractedUrl),c.message,c.cancellationCode)),Wm(c)?this.events.next(new Sn(c.url)):s.resolve(!1);else{this.events.next(new bn(s.id,this.urlSerializer.serialize(s.extractedUrl),c,s.targetSnapshot??void 0));try{s.resolve(r.errorHandler(c))}catch(l){s.reject(l)}}return J}))}))}cancelNavigationTransition(r,o,i){let s=new Ue(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}};t.\u0275fac=function(o){return new(o||t)},t.\u0275prov=w({token:t,factory:t.\u0275fac,providedIn:"root"});let e=t;return e})();function Gv(e){return e!==wn}var Wv=(()=>{let t=class t{};t.\u0275fac=function(o){return new(o||t)},t.\u0275prov=w({token:t,factory:()=>(()=>p(qv))(),providedIn:"root"});let e=t;return e})(),Vs=class{shouldDetach(t){return!1}store(t,n){}shouldAttach(t){return!1}retrieve(t){return null}shouldReuseRoute(t,n){return t.routeConfig===n.routeConfig}},qv=(()=>{let t=class t extends Vs{};t.\u0275fac=(()=>{let r;return function(i){return(r||(r=Ni(t)))(i||t)}})(),t.\u0275prov=w({token:t,factory:t.\u0275fac,providedIn:"root"});let e=t;return e})(),ed=(()=>{let t=class t{};t.\u0275fac=function(o){return new(o||t)},t.\u0275prov=w({token:t,factory:()=>(()=>p(Zv))(),providedIn:"root"});let e=t;return e})(),Zv=(()=>{let t=class t extends ed{constructor(){super(...arguments),this.location=p(fn),this.urlSerializer=p($s),this.options=p(Ws,{optional:!0})||{},this.canceledNavigationResolution=this.options.canceledNavigationResolution||"replace",this.urlHandlingStrategy=p(Zs),this.urlUpdateStrategy=this.options.urlUpdateStrategy||"deferred",this.currentUrlTree=new Be,this.rawUrlTree=this.currentUrlTree,this.currentPageId=0,this.lastSuccessfulId=-1,this.routerState=Bl(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 In)this.stateMemento=this.createStateMemento();else if(r instanceof it)this.rawUrlTree=o.initialUrl;else if(r instanceof no){if(this.urlUpdateStrategy==="eager"&&!o.extras.skipLocationChange){let i=this.urlHandlingStrategy.merge(o.finalUrl,o.initialUrl);this.setBrowserUrl(i,o)}}else r instanceof Mn?(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 Ue&&(r.code===3||r.code===2)?this.restoreHistory(o):r instanceof bn?this.restoreHistory(o,!0):r instanceof ot&&(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=g(g({},o.extras.state),this.generateNgRouterState(o.id,s));this.location.replaceState(i,"",a)}else{let s=g(g({},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}}};t.\u0275fac=(()=>{let r;return function(i){return(r||(r=Ni(t)))(i||t)}})(),t.\u0275prov=w({token:t,factory:t.\u0275fac,providedIn:"root"});let e=t;return e})(),yn=function(e){return e[e.COMPLETE=0]="COMPLETE",e[e.FAILED=1]="FAILED",e[e.REDIRECTING=2]="REDIRECTING",e}(yn||{});function Yv(e,t){e.events.pipe(se(n=>n instanceof ot||n instanceof Ue||n instanceof bn||n instanceof it),T(n=>n instanceof ot||n instanceof it?yn.COMPLETE:(n instanceof Ue?n.code===0||n.code===1:!1)?yn.REDIRECTING:yn.FAILED),se(n=>n!==yn.REDIRECTING),be(1)).subscribe(()=>{t()})}function Qv(e){throw e}var Kv={paths:"exact",fragment:"ignored",matrixParams:"ignored",queryParams:"exact"},Jv={paths:"subset",fragment:"ignored",matrixParams:"ignored",queryParams:"subset"},td=(()=>{let t=class t{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=p($r),this.stateManager=p(ed),this.options=p(Ws,{optional:!0})||{},this.pendingTasks=p(Br),this.urlUpdateStrategy=this.options.urlUpdateStrategy||"deferred",this.navigationTransitions=p(zv),this.urlSerializer=p($s),this.location=p(fn),this.urlHandlingStrategy=p(Zs),this._events=new Z,this.errorHandler=this.options.errorHandler||Qv,this.navigated=!1,this.routeReuseStrategy=p(Wv),this.onSameUrlNavigation=this.options.onSameUrlNavigation||"ignore",this.config=p(qs,{optional:!0})?.flat()??[],this.componentInputBindingEnabled=!!p(Hs,{optional:!0}),this.eventsSubscription=new j,this.isNgZoneEnabled=p(L)instanceof L&&L.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 Ue&&o.code!==0&&o.code!==1)this.navigated=!0;else if(o instanceof ot)this.navigated=!0;else if(o instanceof Sn){let a=this.urlHandlingStrategy.merge(o.url,i.currentRawUrl),u={skipLocationChange:i.extras.skipLocationChange,replaceUrl:this.urlUpdateStrategy==="eager"||Gv(i.source)};this.scheduleNavigation(a,wn,null,u,{resolve:i.resolve,reject:i.reject,promise:i.promise})}}ey(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),wn,this.stateManager.restoredState())}setUpLocationChangeListener(){this.nonRouterCurrentEntryChangeSubscription||(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 c=g({},i);delete c.navigationId,delete c.\u0275routerPageId,Object.keys(c).length!==0&&(s.state=c)}let u=this.parseUrl(r);this.scheduleNavigation(u,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(zs),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:u,preserveFragment:c}=o,l=c?this.currentUrlTree.fragment:a,d=null;switch(u){case"merge":d=g(g({},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=Ll(h)}catch{(typeof r[0]!="string"||!r[0].startsWith("/"))&&(r=[]),f=this.currentUrlTree.root}return jl(f,r,d,l??null)}navigateByUrl(r,o={skipLocationChange:!1}){let i=jt(r)?r:this.parseUrl(r),s=this.urlHandlingStrategy.merge(i,this.rawUrlTree);return this.scheduleNavigation(s,wn,null,o)}navigate(r,o={skipLocationChange:!1}){return Xv(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=g({},Kv):o===!1?i=g({},Jv):i=o,jt(r))return Il(this.currentUrlTree,r,i);let s=this.parseUrl(r);return Il(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 u,c,l;a?(u=a.resolve,c=a.reject,l=a.promise):l=new Promise((f,h)=>{u=f,c=h});let d=this.pendingTasks.add();return Yv(this,()=>{queueMicrotask(()=>this.pendingTasks.remove(d))}),this.navigationTransitions.handleNavigationRequest({source:o,restoredState:i,currentUrlTree:this.currentUrlTree,currentRawUrl:this.currentUrlTree,rawUrl:r,extras:s,resolve:u,reject:c,promise:l,currentSnapshot:this.routerState.snapshot,currentRouterState:this.routerState}),l.catch(f=>Promise.reject(f))}};t.\u0275fac=function(o){return new(o||t)},t.\u0275prov=w({token:t,factory:t.\u0275fac,providedIn:"root"});let e=t;return e})();function Xv(e){for(let t=0;t<e.length;t++)if(e[t]==null)throw new v(4008,!1)}function ey(e){return!(e instanceof Mn)&&!(e instanceof Sn)}var ty=new _("");function nd(e,...t){return Nr([{provide:qs,multi:!0,useValue:e},[],{provide:Vt,useFactory:ny,deps:[td]},{provide:Ki,multi:!0,useFactory:ry},t.map(n=>n.\u0275providers)])}function ny(e){return e.routerState.root}function ry(){let e=p(xt);return t=>{let n=e.get(dn);if(t!==n.components[0])return;let r=e.get(td),o=e.get(oy);e.get(iy)===1&&r.initialNavigation(),e.get(sy,null,I.Optional)?.setUpPreloading(),e.get(ty,null,I.Optional)?.init(),r.resetRootComponentType(n.componentTypes[0]),o.closed||(o.next(),o.complete(),o.unsubscribe())}}var oy=new _("",{factory:()=>new Z}),iy=new _("",{providedIn:"root",factory:()=>1});var sy=new _("");var rd=[];var od={providers:[nd(rd)]};var id=(()=>{let t=class t{constructor(){this.title="WIREMID CLUB",this.currentYear=new Date().getFullYear()}};t.\u0275fac=function(o){return new(o||t)},t.\u0275cmp=Mr({type:t,selectors:[["app-root"]],standalone:!0,features:[Vr],decls:21,vars:2,consts:[[1,"relative","flex","justify-center","items-center","h-screen","bg-center","bg-no-repeat","bg-cover","bg-[url(assets/images/bg.webp)]"],[1,"absolute","inset-0","w-full","h-full","bg-black/60"],[1,"container"],[1,""],[1,"relative","flex","flex-col","items-center","justify-center","text-center","text-white","py-9"],[1,"flex","items-center","justify-center","mb-10"],["src","assets/images/logo-sm.png","alt","",1,"h-16"],[1,"max-w-3xl","mx-auto"],[1,"mb-4","text-4xl","font-bold","capitalize","font-maven"],[1,"text-base","font-medium","text-gray-300","font-maven"],[1,"max-w-xl","mt-10"],[1,"text-2xl","font-bold","text-gray-300","font-maven"],[1,"fixed","bottom-0","py-3","start-0","end-0"],[1,"text-base","font-medium","text-center","text-gray-400","font-maven"],["href","https://athendat.site","target","_blank","rel","noopener noreferrer"]],template:function(o,i){o&1&&(De(0,"section",0),At(1,"div",1),De(2,"div",2)(3,"div",3)(4,"div",4)(5,"a",5),At(6,"img",6),$e(),De(7,"div",7)(8,"h1",8),Nt(9,"MPQ INTERNATIONAL L.L.C"),$e(),De(10,"p",9),Nt(11," WIREMID CLUB "),$e()(),De(12,"div",10)(13,"h3",11),Nt(14," En estos momentos estamos realizando redise\xF1o de nuestro sitio para agregar nuevas funcionalidades y mejorar su experiencia como usuario. "),$e()()()()()(),De(15,"footer",12)(16,"div",2)(17,"p",13),Nt(18),De(19,"a",14),Nt(20," Dise\xF1ado y mantenido por ATHENDAT "),$e()()()()),o&2&&(Oc(18),Zi(" ",i.currentYear," \xA9 ",i.title," - "))},dependencies:[es],encapsulation:2});let e=t;return e})();El(id,od).catch(e=>console.error(e));